[2026-08-11 00:00:30] local.INFO: TCP Data received {"connection_id":153218,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecef46a0012d4bf0800654eb480009009831..."} 
[2026-08-11 00:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecef46a0012d4bf0800654eb480009009831..."} 
[2026-08-11 00:00:30] local.INFO: Processing buffer {"connection_id":153218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecef46a0012d4bf0800654eb480009009831..."} 
[2026-08-11 00:00:30] local.INFO: Packet analysis {"connection_id":153218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecef"} 
[2026-08-11 00:00:30] local.INFO: Extracted packet for processing {"connection_id":153218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecef"} 
[2026-08-11 00:00:30] local.INFO: GPS Element Parsed {"raw_longitude":759951488,"raw_latitude":106228552,"longitude_deg":75.9951488,"latitude_deg":10.6228552,"altitude":9,"angle":152,"satellites":49,"speed":52,"hex_longitude":"2d4bf080","hex_latitude":"0654eb48","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314950400001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376854844461285376,"note":"Value kept but may cause issues"} 
[2026-08-11 00:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5467229237336010752,"note":"Value kept but may cause issues"} 
[2026-08-11 00:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786386532000,"timestamp_ms":1786386532000,"timestamp_seconds":1786386532,"priority":1,"record_length":96,"hex_timestamp":"0000019fecef46a0"} 
[2026-08-11 00:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 00:00:30] 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-08-11 00: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-08-11 00:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:00:30] 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-08-11 00:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314950400001,"66":27267,"145":206,"78":62464,"24":52,"16":376854844461285376,"45":5467229237336010752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-08-11 00:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314950400001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:00:30] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-11 00:00:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376854844461285376,"km_value":376854844461285.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5467229237336010752,"description":"Unknown IO ID 45"} 
[2026-08-11 00:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314950400001,"power":27267,"unknown_145":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5467229237336010752}} 
[2026-08-11 00:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":153218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:00:30] local.INFO: GPS data processed {"connection_id":153218,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:00:30] local.INFO: Acknowledgment sent {"connection_id":153218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:00:54] local.INFO: TCP Data received {"connection_id":151898,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:00:54] local.INFO: Processing buffer {"connection_id":151898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:00:54] local.INFO: IMEI packet received {"connection_id":151898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":151898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:00:58] local.INFO: TCP Data received {"connection_id":151898,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:00:58] local.INFO: Processing buffer {"connection_id":151898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:00:58] local.INFO: IMEI packet received {"connection_id":151898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":151898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:00:59] local.INFO: TCP Data received {"connection_id":151898,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecef61f8012d4c01800654cc180009009732..."} 
[2026-08-11 00:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecef61f8012d4c01800654cc180009009732..."} 
[2026-08-11 00:00:59] local.INFO: Processing buffer {"connection_id":151898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecef61f8012d4c01800654cc180009009732..."} 
[2026-08-11 00:00:59] local.INFO: Packet analysis {"connection_id":151898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecef"} 
[2026-08-11 00:00:59] local.INFO: Extracted packet for processing {"connection_id":151898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecef"} 
[2026-08-11 00:00:59] local.INFO: GPS Element Parsed {"raw_longitude":759955840,"raw_latitude":106220568,"longitude_deg":75.995584,"latitude_deg":10.6220568,"altitude":9,"angle":151,"satellites":50,"speed":51,"hex_longitude":"2d4c0180","hex_latitude":"0654cc18","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314952192001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376855282547949568,"note":"Value kept but may cause issues"} 
[2026-08-11 00:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5472014311938017280,"note":"Value kept but may cause issues"} 
[2026-08-11 00:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786386539000,"timestamp_ms":1786386539000,"timestamp_seconds":1786386539,"priority":1,"record_length":96,"hex_timestamp":"0000019fecef61f8"} 
[2026-08-11 00:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 00:00:59] 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-08-11 00: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-08-11 00:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:00:59] 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-08-11 00:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314952192001,"66":27300,"145":206,"78":62464,"24":51,"16":376855282547949568,"45":5472014311938017280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-08-11 00:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314952192001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:00:59] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-11 00:00:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376855282547949568,"km_value":376855282547949.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5472014311938017280,"description":"Unknown IO ID 45"} 
[2026-08-11 00:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314952192001,"power":27300,"unknown_145":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5472014311938017280}} 
[2026-08-11 00:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":151898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:00:59] local.INFO: GPS data processed {"connection_id":151898,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:00:59] local.INFO: Acknowledgment sent {"connection_id":151898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:01:34] local.INFO: TCP Data received {"connection_id":151898,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf0d510012d4d068006533968000a008f32..."} 
[2026-08-11 00:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf0d510012d4d068006533968000a008f32..."} 
[2026-08-11 00:01:34] local.INFO: Processing buffer {"connection_id":151898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf0d510012d4d068006533968000a008f32..."} 
[2026-08-11 00:01:34] local.INFO: Packet analysis {"connection_id":151898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf0"} 
[2026-08-11 00:01:34] local.INFO: Extracted packet for processing {"connection_id":151898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf0"} 
[2026-08-11 00:01:34] local.INFO: GPS Element Parsed {"raw_longitude":760022656,"raw_latitude":106117480,"longitude_deg":76.0022656,"latitude_deg":10.611748,"altitude":10,"angle":143,"satellites":50,"speed":51,"hex_longitude":"2d4d0680","hex_latitude":"06533968","is_valid_coordinates":true} 
[2026-08-11 00:01: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-08-11 00:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314976512001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376861243962556416,"note":"Value kept but may cause issues"} 
[2026-08-11 00:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5543860799716896768,"note":"Value kept but may cause issues"} 
[2026-08-11 00:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786386634000,"timestamp_ms":1786386634000,"timestamp_seconds":1786386634,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf0d510"} 
[2026-08-11 00:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:01: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":185,"data_length":795,"current_offset":136} 
[2026-08-11 00:01:34] 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-08-11 00:01: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-08-11 00:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:01:34] 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-08-11 00:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314976512001,"66":27365,"219":206,"78":62464,"24":51,"16":376861243962556416,"45":5543860799716896768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,78,24,16,45]} 
[2026-08-11 00:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314976512001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:01:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 00:01:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376861243962556416,"km_value":376861243962556.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5543860799716896768,"description":"Unknown IO ID 45"} 
[2026-08-11 00:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314976512001,"power":27365,"unknown_219":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5543860799716896768}} 
[2026-08-11 00:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":151898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:01:34] local.INFO: GPS data processed {"connection_id":151898,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:01:34] local.INFO: Acknowledgment sent {"connection_id":151898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:01:54] local.INFO: TCP Data received {"connection_id":151899,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:01:54] local.INFO: Processing buffer {"connection_id":151899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:01:54] local.INFO: IMEI packet received {"connection_id":151899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":151899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:01:55] local.INFO: TCP Data received {"connection_id":151899,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:01:55] local.INFO: Processing buffer {"connection_id":151899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:01:55] local.INFO: IMEI packet received {"connection_id":151899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":151899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:02:00] local.INFO: TCP Data received {"connection_id":151899,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:02:00] local.INFO: Processing buffer {"connection_id":151899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:02:00] local.INFO: IMEI packet received {"connection_id":151899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":151899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:02:01] local.INFO: TCP Data received {"connection_id":151899,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf0f450012d4d1d4006531918000a009533..."} 
[2026-08-11 00:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf0f450012d4d1d4006531918000a009533..."} 
[2026-08-11 00:02:01] local.INFO: Processing buffer {"connection_id":151899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf0f450012d4d1d4006531918000a009533..."} 
[2026-08-11 00:02:01] local.INFO: Packet analysis {"connection_id":151899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf0"} 
[2026-08-11 00:02:01] local.INFO: Extracted packet for processing {"connection_id":151899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf0"} 
[2026-08-11 00:02:01] local.INFO: GPS Element Parsed {"raw_longitude":760028480,"raw_latitude":106109208,"longitude_deg":76.002848,"latitude_deg":10.6109208,"altitude":10,"angle":149,"satellites":51,"speed":50,"hex_longitude":"2d4d1d40","hex_latitude":"06531918","is_valid_coordinates":true} 
[2026-08-11 00:02: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-08-11 00:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314978304001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376861733588828160,"note":"Value kept but may cause issues"} 
[2026-08-11 00:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5550264355435145216,"note":"Value kept but may cause issues"} 
[2026-08-11 00:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786386642000,"timestamp_ms":1786386642000,"timestamp_seconds":1786386642,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf0f450"} 
[2026-08-11 00:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:02: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-08-11 00:02: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-08-11 00:02: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-08-11 00:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:02:01] 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-08-11 00:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314978304001,"66":27267,"219":206,"78":62464,"24":50,"16":376861733588828160,"45":5550264355435145216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,78,24,16,45]} 
[2026-08-11 00:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314978304001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:02:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 00:02:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376861733588828160,"km_value":376861733588828.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5550264355435145216,"description":"Unknown IO ID 45"} 
[2026-08-11 00:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314978304001,"power":27267,"unknown_219":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5550264355435145216}} 
[2026-08-11 00:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":151899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:02:01] local.INFO: GPS data processed {"connection_id":151899,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:02:01] local.INFO: Acknowledgment sent {"connection_id":151899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:02:32] local.INFO: TCP Data received {"connection_id":151899,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf10fa8012d4d2ec00652fa700009009733..."} 
[2026-08-11 00:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf10fa8012d4d2ec00652fa700009009733..."} 
[2026-08-11 00:02:32] local.INFO: Processing buffer {"connection_id":151899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf10fa8012d4d2ec00652fa700009009733..."} 
[2026-08-11 00:02:32] local.INFO: Packet analysis {"connection_id":151899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf1"} 
[2026-08-11 00:02:32] local.INFO: Extracted packet for processing {"connection_id":151899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf1"} 
[2026-08-11 00:02:32] local.INFO: GPS Element Parsed {"raw_longitude":760032960,"raw_latitude":106101360,"longitude_deg":76.003296,"latitude_deg":10.610136,"altitude":9,"angle":151,"satellites":51,"speed":52,"hex_longitude":"2d4d2ec0","hex_latitude":"0652fa70","is_valid_coordinates":true} 
[2026-08-11 00:02: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-08-11 00:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314980352001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376862171675492352,"note":"Value kept but may cause issues"} 
[2026-08-11 00:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5556667911153195008,"note":"Value kept but may cause issues"} 
[2026-08-11 00:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786386649000,"timestamp_ms":1786386649000,"timestamp_seconds":1786386649,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf10fa8"} 
[2026-08-11 00:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:02: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":131,"data_length":795,"current_offset":136} 
[2026-08-11 00:02:32] 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-08-11 00:02: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-08-11 00:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:02:32] 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-08-11 00:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314980352001,"66":27343,"219":206,"78":62464,"24":52,"16":376862171675492352,"45":5556667911153195008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,78,24,16,45]} 
[2026-08-11 00:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314980352001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:02:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 00:02:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376862171675492352,"km_value":376862171675492.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5556667911153195008,"description":"Unknown IO ID 45"} 
[2026-08-11 00:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314980352001,"power":27343,"unknown_219":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5556667911153195008}} 
[2026-08-11 00:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":151899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:02:32] local.INFO: GPS data processed {"connection_id":151899,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:02:32] local.INFO: Acknowledgment sent {"connection_id":151899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:02:57] local.INFO: TCP Data received {"connection_id":152278,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:02:57] local.INFO: Processing buffer {"connection_id":152278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:02:57] local.INFO: IMEI packet received {"connection_id":152278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":152278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:02:59] local.INFO: TCP Data received {"connection_id":152278,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:02:59] local.INFO: Processing buffer {"connection_id":152278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:02:59] local.INFO: IMEI packet received {"connection_id":152278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":152278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:03:04] local.INFO: TCP Data received {"connection_id":152278,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:03:04] local.INFO: Processing buffer {"connection_id":152278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:03:04] local.INFO: IMEI packet received {"connection_id":152278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":152278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:03:05] local.INFO: TCP Data received {"connection_id":152278,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf12b00012d4d40000652da300009009733..."} 
[2026-08-11 00:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf12b00012d4d40000652da300009009733..."} 
[2026-08-11 00:03:05] local.INFO: Processing buffer {"connection_id":152278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf12b00012d4d40000652da300009009733..."} 
[2026-08-11 00:03:05] local.INFO: Packet analysis {"connection_id":152278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf1"} 
[2026-08-11 00:03:05] local.INFO: Extracted packet for processing {"connection_id":152278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf1"} 
[2026-08-11 00:03:05] local.INFO: GPS Element Parsed {"raw_longitude":760037376,"raw_latitude":106093104,"longitude_deg":76.0037376,"latitude_deg":10.6093104,"altitude":9,"angle":151,"satellites":51,"speed":53,"hex_longitude":"2d4d4000","hex_latitude":"0652da30","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314982144001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376862622647058432,"note":"Value kept but may cause issues"} 
[2026-08-11 00:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5561593723243622400,"note":"Value kept but may cause issues"} 
[2026-08-11 00:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786386656000,"timestamp_ms":1786386656000,"timestamp_seconds":1786386656,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf12b00"} 
[2026-08-11 00:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":207,"data_length":795,"current_offset":136} 
[2026-08-11 00:03: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-08-11 00: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-08-11 00:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:03: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-08-11 00:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314982144001,"66":27332,"219":206,"78":62464,"24":53,"16":376862622647058432,"45":5561593723243622400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,78,24,16,45]} 
[2026-08-11 00:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314982144001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:03:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 00:03:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376862622647058432,"km_value":376862622647058.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5561593723243622400,"description":"Unknown IO ID 45"} 
[2026-08-11 00:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314982144001,"power":27332,"unknown_219":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5561593723243622400}} 
[2026-08-11 00:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":152278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:03:05] local.INFO: GPS data processed {"connection_id":152278,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:03:05] local.INFO: Acknowledgment sent {"connection_id":152278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:03:05] local.INFO: TCP Data received {"connection_id":152278,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf14658012d4d51400652ba700009009731..."} 
[2026-08-11 00:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf14658012d4d51400652ba700009009731..."} 
[2026-08-11 00:03:05] local.INFO: Processing buffer {"connection_id":152278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf14658012d4d51400652ba700009009731..."} 
[2026-08-11 00:03:05] local.INFO: Packet analysis {"connection_id":152278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf1"} 
[2026-08-11 00:03:05] local.INFO: Extracted packet for processing {"connection_id":152278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf1"} 
[2026-08-11 00:03:05] local.INFO: GPS Element Parsed {"raw_longitude":760041792,"raw_latitude":106084976,"longitude_deg":76.0041792,"latitude_deg":10.6084976,"altitude":9,"angle":151,"satellites":49,"speed":52,"hex_longitude":"2d4d5140","hex_latitude":"0652ba70","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457314983936001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376863069323657216,"note":"Value kept but may cause issues"} 
[2026-08-11 00:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5566449166589767680,"note":"Value kept but may cause issues"} 
[2026-08-11 00:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786386663000,"timestamp_ms":1786386663000,"timestamp_seconds":1786386663,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf14658"} 
[2026-08-11 00:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":196,"data_length":795,"current_offset":136} 
[2026-08-11 00:03: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-08-11 00: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-08-11 00:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:03: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-08-11 00:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457314983936001,"66":26310,"219":206,"78":62464,"24":52,"16":376863069323657216,"45":5566449166589767680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,78,24,16,45]} 
[2026-08-11 00:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457314983936001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:03:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 00:03:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376863069323657216,"km_value":376863069323657.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5566449166589767680,"description":"Unknown IO ID 45"} 
[2026-08-11 00:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457314983936001,"power":26310,"unknown_219":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5566449166589767680}} 
[2026-08-11 00:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":152278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:03:05] local.INFO: GPS data processed {"connection_id":152278,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:03:05] local.INFO: Acknowledgment sent {"connection_id":152278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:03:37] local.INFO: TCP Data received {"connection_id":152278,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf2c910012d4e1f00065108b0000b009e31..."} 
[2026-08-11 00:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf2c910012d4e1f00065108b0000b009e31..."} 
[2026-08-11 00:03:37] local.INFO: Processing buffer {"connection_id":152278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf2c910012d4e1f00065108b0000b009e31..."} 
[2026-08-11 00:03:37] local.INFO: Packet analysis {"connection_id":152278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf2"} 
[2026-08-11 00:03:37] local.INFO: Extracted packet for processing {"connection_id":152278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf2"} 
[2026-08-11 00:03:37] local.INFO: GPS Element Parsed {"raw_longitude":760094464,"raw_latitude":105973936,"longitude_deg":76.0094464,"latitude_deg":10.5973936,"altitude":11,"angle":158,"satellites":49,"speed":47,"hex_longitude":"2d4e1f00","hex_latitude":"065108b0","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315009024001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376869017853362176,"note":"Value kept but may cause issues"} 
[2026-08-11 00:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5625347805438154752,"note":"Value kept but may cause issues"} 
[2026-08-11 00:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786386762000,"timestamp_ms":1786386762000,"timestamp_seconds":1786386762,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf2c910"} 
[2026-08-11 00:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 00:03:37] 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-08-11 00: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-08-11 00:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:03: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-08-11 00:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315009024001,"66":27343,"61":206,"78":62464,"24":47,"16":376869017853362176,"45":5625347805438154752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-08-11 00:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315009024001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:03:37] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-11 00:03:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376869017853362176,"km_value":376869017853362.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5625347805438154752,"description":"Unknown IO ID 45"} 
[2026-08-11 00:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315009024001,"power":27343,"unknown_61":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5625347805438154752}} 
[2026-08-11 00:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":152278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:03:37] local.INFO: GPS data processed {"connection_id":152278,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:03:37] local.INFO: Acknowledgment sent {"connection_id":152278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:03:54] local.INFO: TCP Data received {"connection_id":153219,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:03:54] local.INFO: Processing buffer {"connection_id":153219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:03:54] local.INFO: IMEI packet received {"connection_id":153219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":153219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:03:55] local.INFO: TCP Data received {"connection_id":153219,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:03:55] local.INFO: Processing buffer {"connection_id":153219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:03:55] local.INFO: IMEI packet received {"connection_id":153219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":153219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:03:59] local.INFO: TCP Data received {"connection_id":153219,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:03:59] local.INFO: Processing buffer {"connection_id":153219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:03:59] local.INFO: IMEI packet received {"connection_id":153219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":153219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:04:00] local.INFO: TCP Data received {"connection_id":153219,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf2e850012d4e2dc00650e4e0000a009d33..."} 
[2026-08-11 00:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf2e850012d4e2dc00650e4e0000a009d33..."} 
[2026-08-11 00:04:00] local.INFO: Processing buffer {"connection_id":153219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf2e850012d4e2dc00650e4e0000a009d33..."} 
[2026-08-11 00:04:00] local.INFO: Packet analysis {"connection_id":153219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf2"} 
[2026-08-11 00:04:00] local.INFO: Extracted packet for processing {"connection_id":153219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf2"} 
[2026-08-11 00:04:00] local.INFO: GPS Element Parsed {"raw_longitude":760098240,"raw_latitude":105964768,"longitude_deg":76.009824,"latitude_deg":10.5964768,"altitude":10,"angle":157,"satellites":51,"speed":51,"hex_longitude":"2d4e2dc0","hex_latitude":"0650e4e0","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315011072001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376869498889699328,"note":"Value kept but may cause issues"} 
[2026-08-11 00:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5629218086365736960,"note":"Value kept but may cause issues"} 
[2026-08-11 00:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786386770000,"timestamp_ms":1786386770000,"timestamp_seconds":1786386770,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf2e850"} 
[2026-08-11 00:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 00:04:00] 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-08-11 00: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-08-11 00:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:04:00] 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-08-11 00:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315011072001,"66":26517,"61":206,"78":62464,"24":51,"16":376869498889699328,"45":5629218086365736960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-08-11 00:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315011072001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:04:00] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-11 00:04:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376869498889699328,"km_value":376869498889699.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5629218086365736960,"description":"Unknown IO ID 45"} 
[2026-08-11 00:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315011072001,"power":26517,"unknown_61":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5629218086365736960}} 
[2026-08-11 00:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":153219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:04:00] local.INFO: GPS data processed {"connection_id":153219,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:04:00] local.INFO: Acknowledgment sent {"connection_id":153219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:04:01] local.INFO: TCP Data received {"connection_id":153219,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf303a8012d4e3b800650c338000a009d32..."} 
[2026-08-11 00:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf303a8012d4e3b800650c338000a009d32..."} 
[2026-08-11 00:04:01] local.INFO: Processing buffer {"connection_id":153219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf303a8012d4e3b800650c338000a009d32..."} 
[2026-08-11 00:04:01] local.INFO: Packet analysis {"connection_id":153219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf3"} 
[2026-08-11 00:04:01] local.INFO: Extracted packet for processing {"connection_id":153219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf3"} 
[2026-08-11 00:04:01] local.INFO: GPS Element Parsed {"raw_longitude":760101760,"raw_latitude":105956152,"longitude_deg":76.010176,"latitude_deg":10.5956152,"altitude":10,"angle":157,"satellites":50,"speed":54,"hex_longitude":"2d4e3b80","hex_latitude":"0650c338","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315013120001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376869945566298112,"note":"Value kept but may cause issues"} 
[2026-08-11 00:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5633369842269872128,"note":"Value kept but may cause issues"} 
[2026-08-11 00:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786386777000,"timestamp_ms":1786386777000,"timestamp_seconds":1786386777,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf303a8"} 
[2026-08-11 00:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-11 00:04:01] 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-08-11 00: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-08-11 00:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:04:01] 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-08-11 00:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315013120001,"66":27365,"61":206,"78":62464,"24":54,"16":376869945566298112,"45":5633369842269872128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-08-11 00:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315013120001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:04:01] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-11 00:04:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376869945566298112,"km_value":376869945566298.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5633369842269872128,"description":"Unknown IO ID 45"} 
[2026-08-11 00:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315013120001,"power":27365,"unknown_61":206,"unknown_78":62464,"ignition":54,"odometer":null,"unknown_45":5633369842269872128}} 
[2026-08-11 00:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":153219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:04:01] local.INFO: GPS data processed {"connection_id":153219,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:04:01] local.INFO: Acknowledgment sent {"connection_id":153219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:04:05] local.INFO: TCP Data received {"connection_id":153219,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf31f00012d4e4a4006509f78000a009e32..."} 
[2026-08-11 00:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf31f00012d4e4a4006509f78000a009e32..."} 
[2026-08-11 00:04:05] local.INFO: Processing buffer {"connection_id":153219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf31f00012d4e4a4006509f78000a009e32..."} 
[2026-08-11 00:04:05] local.INFO: Packet analysis {"connection_id":153219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf3"} 
[2026-08-11 00:04:05] local.INFO: Extracted packet for processing {"connection_id":153219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf3"} 
[2026-08-11 00:04:05] local.INFO: GPS Element Parsed {"raw_longitude":760105536,"raw_latitude":105947000,"longitude_deg":76.0105536,"latitude_deg":10.5947,"altitude":10,"angle":158,"satellites":50,"speed":57,"hex_longitude":"2d4e4a40","hex_latitude":"06509f78","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315014912001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376870426602635264,"note":"Value kept but may cause issues"} 
[2026-08-11 00:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5637240123197437952,"note":"Value kept but may cause issues"} 
[2026-08-11 00:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786386784000,"timestamp_ms":1786386784000,"timestamp_seconds":1786386784,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf31f00"} 
[2026-08-11 00:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 00:04: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-08-11 00: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-08-11 00:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:04: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-08-11 00:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315014912001,"66":27267,"60":206,"78":62464,"24":57,"16":376870426602635264,"45":5637240123197437952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-08-11 00:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315014912001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:04:05] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-11 00:04:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376870426602635264,"km_value":376870426602635.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5637240123197437952,"description":"Unknown IO ID 45"} 
[2026-08-11 00:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315014912001,"power":27267,"unknown_60":206,"unknown_78":62464,"ignition":57,"odometer":null,"unknown_45":5637240123197437952}} 
[2026-08-11 00:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":153219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:04:05] local.INFO: GPS data processed {"connection_id":153219,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:04:05] local.INFO: Acknowledgment sent {"connection_id":153219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:04:40] local.INFO: TCP Data received {"connection_id":153219,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf33a58012d4e594006507a78000b009d32..."} 
[2026-08-11 00:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf33a58012d4e594006507a78000b009d32..."} 
[2026-08-11 00:04:40] local.INFO: Processing buffer {"connection_id":153219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf33a58012d4e594006507a78000b009d32..."} 
[2026-08-11 00:04:40] local.INFO: Packet analysis {"connection_id":153219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf3"} 
[2026-08-11 00:04:40] local.INFO: Extracted packet for processing {"connection_id":153219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf3"} 
[2026-08-11 00:04:40] local.INFO: GPS Element Parsed {"raw_longitude":760109376,"raw_latitude":105937528,"longitude_deg":76.0109376,"latitude_deg":10.5937528,"altitude":11,"angle":157,"satellites":50,"speed":58,"hex_longitude":"2d4e5940","hex_latitude":"06507a78","is_valid_coordinates":true} 
[2026-08-11 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-08-11 00:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315016704001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376870920523874304,"note":"Value kept but may cause issues"} 
[2026-08-11 00:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5641391879101577216,"note":"Value kept but may cause issues"} 
[2026-08-11 00:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786386791000,"timestamp_ms":1786386791000,"timestamp_seconds":1786386791,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf33a58"} 
[2026-08-11 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-08-11 00:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":131,"data_length":795,"current_offset":136} 
[2026-08-11 00:04: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-08-11 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-08-11 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-08-11 00:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:04: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-08-11 00:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315016704001,"66":27267,"60":206,"78":62464,"24":58,"16":376870920523874304,"45":5641391879101577216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-08-11 00:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315016704001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:04:40] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-11 00:04:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376870920523874304,"km_value":376870920523874.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5641391879101577216,"description":"Unknown IO ID 45"} 
[2026-08-11 00:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315016704001,"power":27267,"unknown_60":206,"unknown_78":62464,"ignition":58,"odometer":null,"unknown_45":5641391879101577216}} 
[2026-08-11 00:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":153219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:04:40] local.INFO: GPS data processed {"connection_id":153219,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:04:40] local.INFO: Acknowledgment sent {"connection_id":153219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:04:59] local.INFO: TCP Data received {"connection_id":152279,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:04:59] local.INFO: Processing buffer {"connection_id":152279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:04:59] local.INFO: IMEI packet received {"connection_id":152279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":152279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:04:59] local.INFO: TCP Data received {"connection_id":152279,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:04:59] local.INFO: Processing buffer {"connection_id":152279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:04:59] local.INFO: IMEI packet received {"connection_id":152279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":152279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:05:04] local.INFO: TCP Data received {"connection_id":152279,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:05:04] local.INFO: Processing buffer {"connection_id":152279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:05:04] local.INFO: IMEI packet received {"connection_id":152279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":152279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:05:22] local.INFO: TCP Data received {"connection_id":152279,"ip":"42.106.6.15","data_length":1348,"data_hex":"000000000000030f8e0a0000019fecf351c8012d4e670006505a98000b009d31..."} 
[2026-08-11 00:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152279,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019fecf351c8012d4e670006505a98000b009d31..."} 
[2026-08-11 00:05:22] local.INFO: Processing buffer {"connection_id":152279,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019fecf351c8012d4e670006505a98000b009d31..."} 
[2026-08-11 00:05:22] local.INFO: Packet analysis {"connection_id":152279,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019fecf3"} 
[2026-08-11 00:05:22] local.INFO: Extracted packet for processing {"connection_id":152279,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fecf3"} 
[2026-08-11 00:05:22] local.INFO: GPS Element Parsed {"raw_longitude":760112896,"raw_latitude":105929368,"longitude_deg":76.0112896,"latitude_deg":10.5929368,"altitude":11,"angle":157,"satellites":49,"speed":59,"hex_longitude":"2d4e6700","hex_latitude":"06505a98","is_valid_coordinates":true} 
[2026-08-11 00:05: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-08-11 00:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315018496001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376871350020603904,"note":"Value kept but may cause issues"} 
[2026-08-11 00:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5645614003749812224,"note":"Value kept but may cause issues"} 
[2026-08-11 00:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786386797000,"timestamp_ms":1786386797000,"timestamp_seconds":1786386797,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf351c8"} 
[2026-08-11 00:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:05: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":131,"data_length":795,"current_offset":136} 
[2026-08-11 00:05:22] 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-08-11 00:05: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-08-11 00:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:05:22] 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-08-11 00:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315018496001,"66":27310,"60":206,"78":62464,"24":59,"16":376871350020603904,"45":5645614003749812224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-08-11 00:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315018496001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:05:22] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-11 00:05:22] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376871350020603904,"km_value":376871350020603.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5645614003749812224,"description":"Unknown IO ID 45"} 
[2026-08-11 00:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315018496001,"power":27310,"unknown_60":206,"unknown_78":62464,"ignition":59,"odometer":null,"unknown_45":5645614003749812224}} 
[2026-08-11 00:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":152279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:05:22] local.INFO: GPS data processed {"connection_id":152279,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:05:22] local.INFO: Acknowledgment sent {"connection_id":152279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:05:22] local.INFO: Packet analysis {"connection_id":152279,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fecf3"} 
[2026-08-11 00:05:22] local.INFO: Incomplete packet, waiting for more data {"connection_id":152279,"needed":795,"available":553} 
[2026-08-11 00:05:23] local.INFO: TCP Data received {"connection_id":152279,"ip":"42.106.6.15","data_length":242,"data_hex":"0000000000019fecf2a9d0012d4e114006512a18000b009d32002e0000000a00..."} 
[2026-08-11 00:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152279,"packet_length":242,"packet_hex":"0000000000019fecf2a9d0012d4e114006512a18000b009d32002e0000000a00..."} 
[2026-08-11 00:05:23] local.INFO: Processing buffer {"connection_id":152279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf36938012d4e75c006503aa0000b009a32..."} 
[2026-08-11 00:05:23] local.INFO: Packet analysis {"connection_id":152279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf3"} 
[2026-08-11 00:05:23] local.INFO: Extracted packet for processing {"connection_id":152279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf3"} 
[2026-08-11 00:05:23] local.INFO: GPS Element Parsed {"raw_longitude":760116672,"raw_latitude":105921184,"longitude_deg":76.0116672,"latitude_deg":10.5921184,"altitude":11,"angle":154,"satellites":50,"speed":59,"hex_longitude":"2d4e75c0","hex_latitude":"06503aa0","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315020032001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376871783812300800,"note":"Value kept but may cause issues"} 
[2026-08-11 00:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5649484284677494784,"note":"Value kept but may cause issues"} 
[2026-08-11 00:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786386803000,"timestamp_ms":1786386803000,"timestamp_seconds":1786386803,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf36938"} 
[2026-08-11 00:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":174,"data_length":795,"current_offset":136} 
[2026-08-11 00:05:23] 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-08-11 00: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-08-11 00:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:05:23] 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-08-11 00:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315020032001,"66":27213,"60":206,"78":62464,"24":59,"16":376871783812300800,"45":5649484284677494784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-08-11 00:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315020032001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:05:23] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-11 00:05:23] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376871783812300800,"km_value":376871783812300.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5649484284677494784,"description":"Unknown IO ID 45"} 
[2026-08-11 00:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315020032001,"power":27213,"unknown_60":206,"unknown_78":62464,"ignition":59,"odometer":null,"unknown_45":5649484284677494784}} 
[2026-08-11 00:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":152279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:05:23] local.INFO: GPS data processed {"connection_id":152279,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:05:23] local.INFO: Acknowledgment sent {"connection_id":152279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:05:24] local.INFO: TCP Data received {"connection_id":152279,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf380a8012d4e844006501b00000c009a31..."} 
[2026-08-11 00:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf380a8012d4e844006501b00000c009a31..."} 
[2026-08-11 00:05:24] local.INFO: Processing buffer {"connection_id":152279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf380a8012d4e844006501b00000c009a31..."} 
[2026-08-11 00:05:24] local.INFO: Packet analysis {"connection_id":152279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf3"} 
[2026-08-11 00:05:24] local.INFO: Extracted packet for processing {"connection_id":152279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf3"} 
[2026-08-11 00:05:24] local.INFO: GPS Element Parsed {"raw_longitude":760120384,"raw_latitude":105913088,"longitude_deg":76.0120384,"latitude_deg":10.5913088,"altitude":12,"angle":154,"satellites":49,"speed":57,"hex_longitude":"2d4e8440","hex_latitude":"06501b00","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315021568001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376872217603997696,"note":"Value kept but may cause issues"} 
[2026-08-11 00:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5653636040581881856,"note":"Value kept but may cause issues"} 
[2026-08-11 00:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786386809000,"timestamp_ms":1786386809000,"timestamp_seconds":1786386809,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf380a8"} 
[2026-08-11 00:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 00:05:24] 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-08-11 00: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-08-11 00:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:05:24] 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-08-11 00:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315021568001,"66":27343,"60":206,"78":62464,"24":57,"16":376872217603997696,"45":5653636040581881856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-08-11 00:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315021568001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:05:24] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-11 00:05:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376872217603997696,"km_value":376872217603997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5653636040581881856,"description":"Unknown IO ID 45"} 
[2026-08-11 00:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315021568001,"power":27343,"unknown_60":206,"unknown_78":62464,"ignition":57,"odometer":null,"unknown_45":5653636040581881856}} 
[2026-08-11 00:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":152279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:05:24] local.INFO: GPS data processed {"connection_id":152279,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:05:24] local.INFO: Acknowledgment sent {"connection_id":152279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:05:54] local.INFO: TCP Data received {"connection_id":154614,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:05:54] local.INFO: Processing buffer {"connection_id":154614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:05:54] local.INFO: IMEI packet received {"connection_id":154614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":154614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:05:59] local.INFO: TCP Data received {"connection_id":154614,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:05:59] local.INFO: Processing buffer {"connection_id":154614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:05:59] local.INFO: IMEI packet received {"connection_id":154614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":154614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:06:03] local.INFO: TCP Data received {"connection_id":154614,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf4b928012d4f4a80064eb830000a009630..."} 
[2026-08-11 00:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf4b928012d4f4a80064eb830000a009630..."} 
[2026-08-11 00:06:03] local.INFO: Processing buffer {"connection_id":154614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf4b928012d4f4a80064eb830000a009630..."} 
[2026-08-11 00:06:03] local.INFO: Packet analysis {"connection_id":154614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf4"} 
[2026-08-11 00:06:03] local.INFO: Extracted packet for processing {"connection_id":154614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf4"} 
[2026-08-11 00:06:03] local.INFO: GPS Element Parsed {"raw_longitude":760171136,"raw_latitude":105822256,"longitude_deg":76.0171136,"latitude_deg":10.5822256,"altitude":10,"angle":150,"satellites":48,"speed":33,"hex_longitude":"2d4f4a80","hex_latitude":"064eb830","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315040512001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376877242715734016,"note":"Value kept but may cause issues"} 
[2026-08-11 00:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5708312554784747520,"note":"Value kept but may cause issues"} 
[2026-08-11 00:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786386889000,"timestamp_ms":1786386889000,"timestamp_seconds":1786386889,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf4b928"} 
[2026-08-11 00:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 00:06: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-08-11 00: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-08-11 00:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":154614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":154614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":154614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:06:03] 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-08-11 00:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315040512001,"66":27343,"54":206,"78":62464,"24":33,"16":376877242715734016,"45":5708312554784747520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,78,24,16,45]} 
[2026-08-11 00:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315040512001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:06:03] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-11 00:06:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376877242715734016,"km_value":376877242715734.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5708312554784747520,"description":"Unknown IO ID 45"} 
[2026-08-11 00:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315040512001,"power":27343,"unknown_54":206,"unknown_78":62464,"ignition":33,"odometer":null,"unknown_45":5708312554784747520}} 
[2026-08-11 00:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":154614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:06:03] local.INFO: GPS data processed {"connection_id":154614,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:06:03] local.INFO: Acknowledgment sent {"connection_id":154614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:06:35] local.INFO: TCP Data received {"connection_id":154614,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf4ff78012d4f5dc0064e9a98000a009133..."} 
[2026-08-11 00:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf4ff78012d4f5dc0064e9a98000a009133..."} 
[2026-08-11 00:06:35] local.INFO: Processing buffer {"connection_id":154614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf4ff78012d4f5dc0064e9a98000a009133..."} 
[2026-08-11 00:06:35] local.INFO: Packet analysis {"connection_id":154614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf4"} 
[2026-08-11 00:06:35] local.INFO: Extracted packet for processing {"connection_id":154614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf4"} 
[2026-08-11 00:06:35] local.INFO: GPS Element Parsed {"raw_longitude":760176064,"raw_latitude":105814680,"longitude_deg":76.0176064,"latitude_deg":10.581468,"altitude":10,"angle":145,"satellites":51,"speed":19,"hex_longitude":"2d4f5dc0","hex_latitude":"064e9a98","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315043584001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376877680802398208,"note":"Value kept but may cause issues"} 
[2026-08-11 00:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5713519841851748352,"note":"Value kept but may cause issues"} 
[2026-08-11 00:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786386907000,"timestamp_ms":1786386907000,"timestamp_seconds":1786386907,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf4ff78"} 
[2026-08-11 00:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00: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-08-11 00: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-08-11 00:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:06: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-08-11 00:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315043584001,"66":27234,"7":206,"78":62464,"24":19,"16":376877680802398208,"45":5713519841851748352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-08-11 00:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315043584001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:06:35] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-11 00:06:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376877680802398208,"km_value":376877680802398.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5713519841851748352,"description":"Unknown IO ID 45"} 
[2026-08-11 00:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315043584001,"power":27234,"unknown_7":206,"unknown_78":62464,"ignition":19,"odometer":null,"unknown_45":5713519841851748352}} 
[2026-08-11 00:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":154614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:06:35] local.INFO: GPS data processed {"connection_id":154614,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:06:35] local.INFO: Acknowledgment sent {"connection_id":154614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:06:54] local.INFO: TCP Data received {"connection_id":151900,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:06:54] local.INFO: Processing buffer {"connection_id":151900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:06:54] local.INFO: IMEI packet received {"connection_id":151900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":151900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:06:59] local.INFO: TCP Data received {"connection_id":151900,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:06:59] local.INFO: Processing buffer {"connection_id":151900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:06:59] local.INFO: IMEI packet received {"connection_id":151900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":151900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:07:00] local.INFO: TCP Data received {"connection_id":151900,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf53240012d4f7300064e7c18000a009333..."} 
[2026-08-11 00:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf53240012d4f7300064e7c18000a009333..."} 
[2026-08-11 00:07:00] local.INFO: Processing buffer {"connection_id":151900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf53240012d4f7300064e7c18000a009333..."} 
[2026-08-11 00:07:00] local.INFO: Packet analysis {"connection_id":151900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf5"} 
[2026-08-11 00:07:00] local.INFO: Extracted packet for processing {"connection_id":151900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf5"} 
[2026-08-11 00:07:00] local.INFO: GPS Element Parsed {"raw_longitude":760181504,"raw_latitude":105806872,"longitude_deg":76.0181504,"latitude_deg":10.5806872,"altitude":10,"angle":147,"satellites":51,"speed":34,"hex_longitude":"2d4f7300","hex_latitude":"064e7c18","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315048192001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376878136068931584,"note":"Value kept but may cause issues"} 
[2026-08-11 00:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5718938235151489024,"note":"Value kept but may cause issues"} 
[2026-08-11 00:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786386920000,"timestamp_ms":1786386920000,"timestamp_seconds":1786386920,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf53240"} 
[2026-08-11 00:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 00:07:00] 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-08-11 00: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-08-11 00:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:07:00] 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-08-11 00:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315048192001,"66":27245,"7":206,"78":62464,"24":34,"16":376878136068931584,"45":5718938235151489024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-08-11 00:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315048192001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:07:00] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-11 00:07:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376878136068931584,"km_value":376878136068931.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5718938235151489024,"description":"Unknown IO ID 45"} 
[2026-08-11 00:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315048192001,"power":27245,"unknown_7":206,"unknown_78":62464,"ignition":34,"odometer":null,"unknown_45":5718938235151489024}} 
[2026-08-11 00:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":151900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:07:00] local.INFO: GPS data processed {"connection_id":151900,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:07:00] local.INFO: Acknowledgment sent {"connection_id":151900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:07:31] local.INFO: TCP Data received {"connection_id":151900,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf55d38012d4f85c0064e5e80000a00962e..."} 
[2026-08-11 00:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf55d38012d4f85c0064e5e80000a00962e..."} 
[2026-08-11 00:07:31] local.INFO: Processing buffer {"connection_id":151900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf55d38012d4f85c0064e5e80000a00962e..."} 
[2026-08-11 00:07:31] local.INFO: Packet analysis {"connection_id":151900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf5"} 
[2026-08-11 00:07:31] local.INFO: Extracted packet for processing {"connection_id":151900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf5"} 
[2026-08-11 00:07:31] local.INFO: GPS Element Parsed {"raw_longitude":760186304,"raw_latitude":105799296,"longitude_deg":76.0186304,"latitude_deg":10.5799296,"altitude":10,"angle":150,"satellites":46,"speed":31,"hex_longitude":"2d4f85c0","hex_latitude":"064e5e80","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315051520001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376878569860628480,"note":"Value kept but may cause issues"} 
[2026-08-11 00:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5724919578404591616,"note":"Value kept but may cause issues"} 
[2026-08-11 00:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786386931000,"timestamp_ms":1786386931000,"timestamp_seconds":1786386931,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf55d38"} 
[2026-08-11 00:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 00:07:31] 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-08-11 00: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-08-11 00:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:07:31] 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-08-11 00:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315051520001,"66":27115,"7":206,"78":62464,"24":31,"16":376878569860628480,"45":5724919578404591616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-08-11 00:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315051520001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:07:31] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-11 00:07:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376878569860628480,"km_value":376878569860628.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5724919578404591616,"description":"Unknown IO ID 45"} 
[2026-08-11 00:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315051520001,"power":27115,"unknown_7":206,"unknown_78":62464,"ignition":31,"odometer":null,"unknown_45":5724919578404591616}} 
[2026-08-11 00:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":151900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:07:31] local.INFO: GPS data processed {"connection_id":151900,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:07:31] local.INFO: Acknowledgment sent {"connection_id":151900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:07:54] local.INFO: TCP Data received {"connection_id":152280,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:07:54] local.INFO: Processing buffer {"connection_id":152280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:07:54] local.INFO: IMEI packet received {"connection_id":152280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":152280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:07:59] local.INFO: TCP Data received {"connection_id":152280,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:07:59] local.INFO: Processing buffer {"connection_id":152280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:07:59] local.INFO: IMEI packet received {"connection_id":152280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":152280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:08:00] local.INFO: TCP Data received {"connection_id":152280,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf59000012d4f9800064e3e58000900982d..."} 
[2026-08-11 00:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf59000012d4f9800064e3e58000900982d..."} 
[2026-08-11 00:08:00] local.INFO: Processing buffer {"connection_id":152280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf59000012d4f9800064e3e58000900982d..."} 
[2026-08-11 00:08:00] local.INFO: Packet analysis {"connection_id":152280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf5"} 
[2026-08-11 00:08:00] local.INFO: Extracted packet for processing {"connection_id":152280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf5"} 
[2026-08-11 00:08:00] local.INFO: GPS Element Parsed {"raw_longitude":760190976,"raw_latitude":105791064,"longitude_deg":76.0190976,"latitude_deg":10.5791064,"altitude":9,"angle":152,"satellites":45,"speed":25,"hex_longitude":"2d4f9800","hex_latitude":"064e3e58","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315054336001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376879029422129152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5730197234215976960,"note":"Value kept but may cause issues"} 
[2026-08-11 00:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786386944000,"timestamp_ms":1786386944000,"timestamp_seconds":1786386944,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf59000"} 
[2026-08-11 00:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-11 00:08:00] 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-08-11 00: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-08-11 00:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:08:00] 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-08-11 00:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315054336001,"66":27180,"7":206,"78":62464,"24":25,"16":376879029422129152,"45":5730197234215976960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-08-11 00:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315054336001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:08:00] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-11 00:08:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376879029422129152,"km_value":376879029422129.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5730197234215976960,"description":"Unknown IO ID 45"} 
[2026-08-11 00:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315054336001,"power":27180,"unknown_7":206,"unknown_78":62464,"ignition":25,"odometer":null,"unknown_45":5730197234215976960}} 
[2026-08-11 00:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":152280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:08:00] local.INFO: GPS data processed {"connection_id":152280,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:08:00] local.INFO: Acknowledgment sent {"connection_id":152280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:08:31] local.INFO: TCP Data received {"connection_id":152280,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf716a0012d4fd680064e3160000a003e2e..."} 
[2026-08-11 00:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf716a0012d4fd680064e3160000a003e2e..."} 
[2026-08-11 00:08:31] local.INFO: Processing buffer {"connection_id":152280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf716a0012d4fd680064e3160000a003e2e..."} 
[2026-08-11 00:08:31] local.INFO: Packet analysis {"connection_id":152280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:08:31] local.INFO: Extracted packet for processing {"connection_id":152280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:08:31] local.INFO: GPS Element Parsed {"raw_longitude":760206976,"raw_latitude":105787744,"longitude_deg":76.0206976,"latitude_deg":10.5787744,"altitude":10,"angle":62,"satellites":46,"speed":29,"hex_longitude":"2d4fd680","hex_latitude":"064e3160","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315080192001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880043034411008,"note":"Value kept but may cause issues"} 
[2026-08-11 00:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5744552458024624128,"note":"Value kept but may cause issues"} 
[2026-08-11 00:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786387044000,"timestamp_ms":1786387044000,"timestamp_seconds":1786387044,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf716a0"} 
[2026-08-11 00:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 00:08:31] 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-08-11 00: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-08-11 00:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:08:31] 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-08-11 00:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315080192001,"66":27397,"7":206,"78":62464,"24":29,"16":376880043034411008,"45":5744552458024624128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-08-11 00:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315080192001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:08:31] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-11 00:08:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880043034411008,"km_value":376880043034411.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5744552458024624128,"description":"Unknown IO ID 45"} 
[2026-08-11 00:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315080192001,"power":27397,"unknown_7":206,"unknown_78":62464,"ignition":29,"odometer":null,"unknown_45":5744552458024624128}} 
[2026-08-11 00:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":152280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:08:31] local.INFO: GPS data processed {"connection_id":152280,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:08:31] local.INFO: Acknowledgment sent {"connection_id":152280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:08:54] local.INFO: TCP Data received {"connection_id":153220,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:08:54] local.INFO: Processing buffer {"connection_id":153220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:08:54] local.INFO: IMEI packet received {"connection_id":153220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":153220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:08:59] local.INFO: TCP Data received {"connection_id":153220,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:08:59] local.INFO: Processing buffer {"connection_id":153220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:08:59] local.INFO: IMEI packet received {"connection_id":153220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":153220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:09:00] local.INFO: TCP Data received {"connection_id":153220,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf74968012d4ff500064e4580000b00372e..."} 
[2026-08-11 00:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf74968012d4ff500064e4580000b00372e..."} 
[2026-08-11 00:09:00] local.INFO: Processing buffer {"connection_id":153220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf74968012d4ff500064e4580000b00372e..."} 
[2026-08-11 00:09:00] local.INFO: Packet analysis {"connection_id":153220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:09:00] local.INFO: Extracted packet for processing {"connection_id":153220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:09:00] local.INFO: GPS Element Parsed {"raw_longitude":760214784,"raw_latitude":105792896,"longitude_deg":76.0214784,"latitude_deg":10.5792896,"altitude":11,"angle":55,"satellites":46,"speed":26,"hex_longitude":"2d4ff500","hex_latitude":"064e4580","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315083264001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880489711009792,"note":"Value kept but may cause issues"} 
[2026-08-11 00:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5752926338582405120,"note":"Value kept but may cause issues"} 
[2026-08-11 00:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786387057000,"timestamp_ms":1786387057000,"timestamp_seconds":1786387057,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf74968"} 
[2026-08-11 00:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 00:09:00] 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-08-11 00: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-08-11 00:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:09:00] 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-08-11 00:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315083264001,"66":27604,"7":206,"78":62464,"24":26,"16":376880489711009792,"45":5752926338582405120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-08-11 00:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315083264001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:09:00] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-11 00:09:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880489711009792,"km_value":376880489711009.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5752926338582405120,"description":"Unknown IO ID 45"} 
[2026-08-11 00:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315083264001,"power":27604,"unknown_7":206,"unknown_78":62464,"ignition":26,"odometer":null,"unknown_45":5752926338582405120}} 
[2026-08-11 00:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":153220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:09:00] local.INFO: GPS data processed {"connection_id":153220,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:09:00] local.INFO: Acknowledgment sent {"connection_id":153220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:09:31] local.INFO: TCP Data received {"connection_id":153220,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:09:31] local.INFO: Processing buffer {"connection_id":153220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:09:31] local.INFO: Packet analysis {"connection_id":153220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:09:31] local.INFO: Extracted packet for processing {"connection_id":153220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:09:31] local.INFO: GPS Element Parsed {"raw_longitude":760217280,"raw_latitude":105794792,"longitude_deg":76.021728,"latitude_deg":10.5794792,"altitude":11,"angle":52,"satellites":48,"speed":22,"hex_longitude":"2d4ffec0","hex_latitude":"064e4ce8","is_valid_coordinates":true} 
[2026-08-11 00:09:31] 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-08-11 00:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315086592001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5761511325373399040,"note":"Value kept but may cause issues"} 
[2026-08-11 00:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786387062000,"timestamp_ms":1786387062000,"timestamp_seconds":1786387062,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf75cf0"} 
[2026-08-11 00:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:09:31] 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-08-11 00: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-08-11 00:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:09:31] 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-08-11 00:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315086592001,"66":27604,"7":206,"78":62464,"24":22,"16":376880640034865152,"45":5761511325373399040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-08-11 00:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315086592001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:09:31] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-11 00:09:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5761511325373399040,"description":"Unknown IO ID 45"} 
[2026-08-11 00:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315086592001,"power":27604,"unknown_7":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5761511325373399040}} 
[2026-08-11 00:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":153220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:09:31] local.INFO: GPS data processed {"connection_id":153220,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:09:31] local.INFO: Acknowledgment sent {"connection_id":153220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:09:54] local.INFO: TCP Data received {"connection_id":154615,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:09:54] local.INFO: Processing buffer {"connection_id":154615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:09:54] local.INFO: IMEI packet received {"connection_id":154615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":154615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:09:59] local.INFO: TCP Data received {"connection_id":154615,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:09:59] local.INFO: Processing buffer {"connection_id":154615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:09:59] local.INFO: IMEI packet received {"connection_id":154615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":154615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:10:00] local.INFO: TCP Data received {"connection_id":154615,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:10:00] local.INFO: Processing buffer {"connection_id":154615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:10:00] local.INFO: Packet analysis {"connection_id":154615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:10:00] local.INFO: Extracted packet for processing {"connection_id":154615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:10:00] local.INFO: GPS Element Parsed {"raw_longitude":760217280,"raw_latitude":105794792,"longitude_deg":76.021728,"latitude_deg":10.5794792,"altitude":11,"angle":52,"satellites":48,"speed":22,"hex_longitude":"2d4ffec0","hex_latitude":"064e4ce8","is_valid_coordinates":true} 
[2026-08-11 00:10:00] 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-08-11 00:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315086592001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5761511325373399040,"note":"Value kept but may cause issues"} 
[2026-08-11 00:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786387062000,"timestamp_ms":1786387062000,"timestamp_seconds":1786387062,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf75cf0"} 
[2026-08-11 00:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:10:00] 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-08-11 00: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-08-11 00:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:10:00] 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-08-11 00:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315086592001,"66":27604,"7":206,"78":62464,"24":22,"16":376880640034865152,"45":5761511325373399040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-08-11 00:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315086592001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:10:00] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-11 00:10:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5761511325373399040,"description":"Unknown IO ID 45"} 
[2026-08-11 00:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315086592001,"power":27604,"unknown_7":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5761511325373399040}} 
[2026-08-11 00:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":154615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:10:00] local.INFO: GPS data processed {"connection_id":154615,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:10:00] local.INFO: Acknowledgment sent {"connection_id":154615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:10:32] local.INFO: TCP Data received {"connection_id":154615,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:10:32] local.INFO: Processing buffer {"connection_id":154615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:10:32] local.INFO: Packet analysis {"connection_id":154615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:10:32] local.INFO: Extracted packet for processing {"connection_id":154615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:10:32] local.INFO: GPS Element Parsed {"raw_longitude":760217280,"raw_latitude":105794792,"longitude_deg":76.021728,"latitude_deg":10.5794792,"altitude":11,"angle":52,"satellites":48,"speed":22,"hex_longitude":"2d4ffec0","hex_latitude":"064e4ce8","is_valid_coordinates":true} 
[2026-08-11 00:10:32] 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-08-11 00:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315086592001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5761511325373399040,"note":"Value kept but may cause issues"} 
[2026-08-11 00:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786387062000,"timestamp_ms":1786387062000,"timestamp_seconds":1786387062,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf75cf0"} 
[2026-08-11 00:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:10:32] 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-08-11 00: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-08-11 00:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:10:32] 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-08-11 00:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315086592001,"66":27604,"7":206,"78":62464,"24":22,"16":376880640034865152,"45":5761511325373399040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-08-11 00:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315086592001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:10:32] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-11 00:10:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5761511325373399040,"description":"Unknown IO ID 45"} 
[2026-08-11 00:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315086592001,"power":27604,"unknown_7":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5761511325373399040}} 
[2026-08-11 00:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":154615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:10:32] local.INFO: GPS data processed {"connection_id":154615,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:10:32] local.INFO: Acknowledgment sent {"connection_id":154615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:10:54] local.INFO: TCP Data received {"connection_id":153221,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:10:54] local.INFO: Processing buffer {"connection_id":153221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:10:54] local.INFO: IMEI packet received {"connection_id":153221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":153221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:10:59] local.INFO: TCP Data received {"connection_id":153221,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:10:59] local.INFO: Processing buffer {"connection_id":153221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:10:59] local.INFO: IMEI packet received {"connection_id":153221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":153221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:11:00] local.INFO: TCP Data received {"connection_id":153221,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:11:00] local.INFO: Processing buffer {"connection_id":153221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:11:00] local.INFO: Packet analysis {"connection_id":153221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:11:00] local.INFO: Extracted packet for processing {"connection_id":153221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:11:00] local.INFO: GPS Element Parsed {"raw_longitude":760217280,"raw_latitude":105794792,"longitude_deg":76.021728,"latitude_deg":10.5794792,"altitude":11,"angle":52,"satellites":48,"speed":22,"hex_longitude":"2d4ffec0","hex_latitude":"064e4ce8","is_valid_coordinates":true} 
[2026-08-11 00:11:00] 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-08-11 00:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315086592001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5761511325373399040,"note":"Value kept but may cause issues"} 
[2026-08-11 00:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786387062000,"timestamp_ms":1786387062000,"timestamp_seconds":1786387062,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf75cf0"} 
[2026-08-11 00:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:11:00] 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-08-11 00: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-08-11 00:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:11:00] 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-08-11 00:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315086592001,"66":27604,"7":206,"78":62464,"24":22,"16":376880640034865152,"45":5761511325373399040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-08-11 00:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315086592001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:11:00] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-11 00:11:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5761511325373399040,"description":"Unknown IO ID 45"} 
[2026-08-11 00:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315086592001,"power":27604,"unknown_7":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5761511325373399040}} 
[2026-08-11 00:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":153221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:11:00] local.INFO: GPS data processed {"connection_id":153221,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:11:00] local.INFO: Acknowledgment sent {"connection_id":153221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:11:31] local.INFO: TCP Data received {"connection_id":153221,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:11:31] local.INFO: Processing buffer {"connection_id":153221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:11:31] local.INFO: Packet analysis {"connection_id":153221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:11:31] local.INFO: Extracted packet for processing {"connection_id":153221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:11:31] local.INFO: GPS Element Parsed {"raw_longitude":760217280,"raw_latitude":105794792,"longitude_deg":76.021728,"latitude_deg":10.5794792,"altitude":11,"angle":52,"satellites":48,"speed":22,"hex_longitude":"2d4ffec0","hex_latitude":"064e4ce8","is_valid_coordinates":true} 
[2026-08-11 00:11:31] 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-08-11 00:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315086592001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5761511325373399040,"note":"Value kept but may cause issues"} 
[2026-08-11 00:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786387062000,"timestamp_ms":1786387062000,"timestamp_seconds":1786387062,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf75cf0"} 
[2026-08-11 00:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:11:31] 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-08-11 00: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-08-11 00:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:11:31] 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-08-11 00:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315086592001,"66":27604,"7":206,"78":62464,"24":22,"16":376880640034865152,"45":5761511325373399040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-08-11 00:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315086592001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:11:31] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-11 00:11:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5761511325373399040,"description":"Unknown IO ID 45"} 
[2026-08-11 00:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315086592001,"power":27604,"unknown_7":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5761511325373399040}} 
[2026-08-11 00:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":153221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:11:31] local.INFO: GPS data processed {"connection_id":153221,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:11:31] local.INFO: Acknowledgment sent {"connection_id":153221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:11:59] local.INFO: TCP Data received {"connection_id":154616,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:11:59] local.INFO: Processing buffer {"connection_id":154616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:11:59] local.INFO: IMEI packet received {"connection_id":154616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":154616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:12:04] local.INFO: TCP Data received {"connection_id":154616,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:12:04] local.INFO: Processing buffer {"connection_id":154616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:12:04] local.INFO: IMEI packet received {"connection_id":154616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":154616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:12:05] local.INFO: TCP Data received {"connection_id":154616,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:12:05] local.INFO: Processing buffer {"connection_id":154616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:12:05] local.INFO: Packet analysis {"connection_id":154616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:12:05] local.INFO: Extracted packet for processing {"connection_id":154616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:12:05] local.INFO: GPS Element Parsed {"raw_longitude":760217280,"raw_latitude":105794792,"longitude_deg":76.021728,"latitude_deg":10.5794792,"altitude":11,"angle":52,"satellites":48,"speed":22,"hex_longitude":"2d4ffec0","hex_latitude":"064e4ce8","is_valid_coordinates":true} 
[2026-08-11 00:12: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-08-11 00:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315086592001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5761511325373399040,"note":"Value kept but may cause issues"} 
[2026-08-11 00:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786387062000,"timestamp_ms":1786387062000,"timestamp_seconds":1786387062,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf75cf0"} 
[2026-08-11 00:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:12: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-08-11 00: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-08-11 00:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:12: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-08-11 00:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315086592001,"66":27604,"7":206,"78":62464,"24":22,"16":376880640034865152,"45":5761511325373399040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-08-11 00:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315086592001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:12:05] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-11 00:12:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5761511325373399040,"description":"Unknown IO ID 45"} 
[2026-08-11 00:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315086592001,"power":27604,"unknown_7":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5761511325373399040}} 
[2026-08-11 00:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":154616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:12:05] local.INFO: GPS data processed {"connection_id":154616,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:12:05] local.INFO: Acknowledgment sent {"connection_id":154616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:12:09] local.INFO: TCP Data received {"connection_id":154616,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:12:09] local.INFO: Processing buffer {"connection_id":154616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:12:09] local.INFO: Packet analysis {"connection_id":154616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:12:09] local.INFO: Extracted packet for processing {"connection_id":154616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:12:09] local.INFO: GPS Element Parsed {"raw_longitude":760217280,"raw_latitude":105794792,"longitude_deg":76.021728,"latitude_deg":10.5794792,"altitude":11,"angle":52,"satellites":48,"speed":22,"hex_longitude":"2d4ffec0","hex_latitude":"064e4ce8","is_valid_coordinates":true} 
[2026-08-11 00:12: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-08-11 00:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315086592001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5761511325373399040,"note":"Value kept but may cause issues"} 
[2026-08-11 00:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786387062000,"timestamp_ms":1786387062000,"timestamp_seconds":1786387062,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf75cf0"} 
[2026-08-11 00:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:12:09] 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-08-11 00: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-08-11 00:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:12: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-08-11 00:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315086592001,"66":27604,"7":206,"78":62464,"24":22,"16":376880640034865152,"45":5761511325373399040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-08-11 00:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315086592001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:12:09] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-11 00:12:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5761511325373399040,"description":"Unknown IO ID 45"} 
[2026-08-11 00:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315086592001,"power":27604,"unknown_7":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5761511325373399040}} 
[2026-08-11 00:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":154616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:12:09] local.INFO: GPS data processed {"connection_id":154616,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:12:09] local.INFO: Acknowledgment sent {"connection_id":154616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:12:54] local.INFO: TCP Data received {"connection_id":152281,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:12:54] local.INFO: Processing buffer {"connection_id":152281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:12:54] local.INFO: IMEI packet received {"connection_id":152281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":152281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:12:59] local.INFO: TCP Data received {"connection_id":152281,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:12:59] local.INFO: Processing buffer {"connection_id":152281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:12:59] local.INFO: IMEI packet received {"connection_id":152281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":152281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:13:00] local.INFO: TCP Data received {"connection_id":152281,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:13:00] local.INFO: Processing buffer {"connection_id":152281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecf75cf0012d4ffec0064e4ce8000b003430..."} 
[2026-08-11 00:13:00] local.INFO: Packet analysis {"connection_id":152281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:13:00] local.INFO: Extracted packet for processing {"connection_id":152281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecf7"} 
[2026-08-11 00:13:00] local.INFO: GPS Element Parsed {"raw_longitude":760217280,"raw_latitude":105794792,"longitude_deg":76.021728,"latitude_deg":10.5794792,"altitude":11,"angle":52,"satellites":48,"speed":22,"hex_longitude":"2d4ffec0","hex_latitude":"064e4ce8","is_valid_coordinates":true} 
[2026-08-11 00:13:00] 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-08-11 00:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315086592001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5761511325373399040,"note":"Value kept but may cause issues"} 
[2026-08-11 00:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786387062000,"timestamp_ms":1786387062000,"timestamp_seconds":1786387062,"priority":1,"record_length":96,"hex_timestamp":"0000019fecf75cf0"} 
[2026-08-11 00:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:13:00] 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-08-11 00: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-08-11 00:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:13:00] 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-08-11 00:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315086592001,"66":27604,"7":206,"78":62464,"24":22,"16":376880640034865152,"45":5761511325373399040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-08-11 00:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315086592001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:13:00] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-11 00:13:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5761511325373399040,"description":"Unknown IO ID 45"} 
[2026-08-11 00:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315086592001,"power":27604,"unknown_7":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5761511325373399040}} 
[2026-08-11 00:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":152281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:13:00] local.INFO: GPS data processed {"connection_id":152281,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:13:00] local.INFO: Acknowledgment sent {"connection_id":152281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:13:32] local.INFO: TCP Data received {"connection_id":152281,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:13:32] local.INFO: Processing buffer {"connection_id":152281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:13:32] local.INFO: Packet analysis {"connection_id":152281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:13:32] local.INFO: Extracted packet for processing {"connection_id":152281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:13:32] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":50,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315087872001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5764255706396813312,"note":"Value kept but may cause issues"} 
[2026-08-11 00:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786387367000,"timestamp_ms":1786387367000,"timestamp_seconds":1786387367,"priority":1,"record_length":96,"hex_timestamp":"0000019fecfc0458"} 
[2026-08-11 00:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:13:32] 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-08-11 00: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-08-11 00:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:13:32] 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-08-11 00:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315087872001,"66":25897,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5764255706396813312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315087872001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:13:32] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:13:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5764255706396813312,"description":"Unknown IO ID 45"} 
[2026-08-11 00:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315087872001,"power":25897,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5764255706396813312}} 
[2026-08-11 00:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":152281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:13:32] local.INFO: GPS data processed {"connection_id":152281,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:13:32] local.INFO: Acknowledgment sent {"connection_id":152281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:13:54] local.INFO: TCP Data received {"connection_id":152282,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:13:54] local.INFO: Processing buffer {"connection_id":152282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:13:54] local.INFO: IMEI packet received {"connection_id":152282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":152282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:13:59] local.INFO: TCP Data received {"connection_id":152282,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:13:59] local.INFO: Processing buffer {"connection_id":152282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:13:59] local.INFO: IMEI packet received {"connection_id":152282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":152282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:14:00] local.INFO: TCP Data received {"connection_id":152282,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:14:00] local.INFO: Processing buffer {"connection_id":152282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:14:00] local.INFO: Packet analysis {"connection_id":152282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:14:00] local.INFO: Extracted packet for processing {"connection_id":152282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:14:00] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":50,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315087872001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5764255706396813312,"note":"Value kept but may cause issues"} 
[2026-08-11 00:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786387367000,"timestamp_ms":1786387367000,"timestamp_seconds":1786387367,"priority":1,"record_length":96,"hex_timestamp":"0000019fecfc0458"} 
[2026-08-11 00:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:14:00] 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-08-11 00: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-08-11 00:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:14:00] 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-08-11 00:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315087872001,"66":25897,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5764255706396813312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315087872001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:14:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:14:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5764255706396813312,"description":"Unknown IO ID 45"} 
[2026-08-11 00:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315087872001,"power":25897,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5764255706396813312}} 
[2026-08-11 00:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":152282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:14:00] local.INFO: GPS data processed {"connection_id":152282,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:14:00] local.INFO: Acknowledgment sent {"connection_id":152282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:14:32] local.INFO: TCP Data received {"connection_id":152282,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:14:32] local.INFO: Processing buffer {"connection_id":152282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:14:32] local.INFO: Packet analysis {"connection_id":152282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:14:32] local.INFO: Extracted packet for processing {"connection_id":152282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:14:32] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":50,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315087872001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5764255706396813312,"note":"Value kept but may cause issues"} 
[2026-08-11 00:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786387367000,"timestamp_ms":1786387367000,"timestamp_seconds":1786387367,"priority":1,"record_length":96,"hex_timestamp":"0000019fecfc0458"} 
[2026-08-11 00:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:14:32] 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-08-11 00: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-08-11 00:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:14:32] 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-08-11 00:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315087872001,"66":25897,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5764255706396813312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315087872001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:14:32] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:14:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5764255706396813312,"description":"Unknown IO ID 45"} 
[2026-08-11 00:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315087872001,"power":25897,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5764255706396813312}} 
[2026-08-11 00:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":152282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:14:32] local.INFO: GPS data processed {"connection_id":152282,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:14:32] local.INFO: Acknowledgment sent {"connection_id":152282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:14:54] local.INFO: TCP Data received {"connection_id":153222,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:14:54] local.INFO: Processing buffer {"connection_id":153222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:14:54] local.INFO: IMEI packet received {"connection_id":153222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":153222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:14:59] local.INFO: TCP Data received {"connection_id":153222,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:14:59] local.INFO: Processing buffer {"connection_id":153222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:14:59] local.INFO: IMEI packet received {"connection_id":153222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":153222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:15:03] local.INFO: TCP Data received {"connection_id":153222,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:15:03] local.INFO: Processing buffer {"connection_id":153222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:15:03] local.INFO: Packet analysis {"connection_id":153222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:15:03] local.INFO: Extracted packet for processing {"connection_id":153222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:15:03] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":50,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315087872001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5764255706396813312,"note":"Value kept but may cause issues"} 
[2026-08-11 00:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786387367000,"timestamp_ms":1786387367000,"timestamp_seconds":1786387367,"priority":1,"record_length":96,"hex_timestamp":"0000019fecfc0458"} 
[2026-08-11 00:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:15:03] 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-08-11 00: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-08-11 00:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":153222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":153222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":153222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:15:03] 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-08-11 00:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315087872001,"66":25897,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5764255706396813312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315087872001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:15:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:15:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5764255706396813312,"description":"Unknown IO ID 45"} 
[2026-08-11 00:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315087872001,"power":25897,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5764255706396813312}} 
[2026-08-11 00:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":153222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:15:03] local.INFO: GPS data processed {"connection_id":153222,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:15:03] local.INFO: Acknowledgment sent {"connection_id":153222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:15:35] local.INFO: TCP Data received {"connection_id":153222,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:15:35] local.INFO: Processing buffer {"connection_id":153222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:15:35] local.INFO: Packet analysis {"connection_id":153222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:15:35] local.INFO: Extracted packet for processing {"connection_id":153222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:15:35] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":50,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315087872001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5764255706396813312,"note":"Value kept but may cause issues"} 
[2026-08-11 00:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786387367000,"timestamp_ms":1786387367000,"timestamp_seconds":1786387367,"priority":1,"record_length":96,"hex_timestamp":"0000019fecfc0458"} 
[2026-08-11 00:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:15:35] 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-08-11 00: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-08-11 00:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:15: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-08-11 00:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315087872001,"66":25897,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5764255706396813312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315087872001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:15:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:15:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5764255706396813312,"description":"Unknown IO ID 45"} 
[2026-08-11 00:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315087872001,"power":25897,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5764255706396813312}} 
[2026-08-11 00:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":153222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:15:35] local.INFO: GPS data processed {"connection_id":153222,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:15:35] local.INFO: Acknowledgment sent {"connection_id":153222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:15:54] local.INFO: TCP Data received {"connection_id":153223,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:15:54] local.INFO: Processing buffer {"connection_id":153223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:15:54] local.INFO: IMEI packet received {"connection_id":153223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":153223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:15:59] local.INFO: TCP Data received {"connection_id":153223,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:15:59] local.INFO: Processing buffer {"connection_id":153223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:15:59] local.INFO: IMEI packet received {"connection_id":153223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":153223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:16:00] local.INFO: TCP Data received {"connection_id":153223,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:16:00] local.INFO: Processing buffer {"connection_id":153223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:16:00] local.INFO: Packet analysis {"connection_id":153223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:16:00] local.INFO: Extracted packet for processing {"connection_id":153223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:16:00] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":50,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315087872001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5764255706396813312,"note":"Value kept but may cause issues"} 
[2026-08-11 00:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786387367000,"timestamp_ms":1786387367000,"timestamp_seconds":1786387367,"priority":1,"record_length":96,"hex_timestamp":"0000019fecfc0458"} 
[2026-08-11 00:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:16:00] 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-08-11 00: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-08-11 00:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 00:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315087872001,"66":25897,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5764255706396813312},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315087872001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:16:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:16:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5764255706396813312,"description":"Unknown IO ID 45"} 
[2026-08-11 00:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315087872001,"power":25897,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5764255706396813312}} 
[2026-08-11 00:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":153223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:16:00] local.INFO: GPS data processed {"connection_id":153223,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:16:00] local.INFO: Acknowledgment sent {"connection_id":153223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:16:31] local.INFO: TCP Data received {"connection_id":153223,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:16:31] local.INFO: Processing buffer {"connection_id":153223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:16:31] local.INFO: Packet analysis {"connection_id":153223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:16:31] local.INFO: Extracted packet for processing {"connection_id":153223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:16:31] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":50,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315087872001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5764255706396813312,"note":"Value kept but may cause issues"} 
[2026-08-11 00:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786387367000,"timestamp_ms":1786387367000,"timestamp_seconds":1786387367,"priority":1,"record_length":96,"hex_timestamp":"0000019fecfc0458"} 
[2026-08-11 00:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:16:31] 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-08-11 00: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-08-11 00:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 00:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315087872001,"66":25897,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5764255706396813312},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315087872001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:16:31] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:16:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5764255706396813312,"description":"Unknown IO ID 45"} 
[2026-08-11 00:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315087872001,"power":25897,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5764255706396813312}} 
[2026-08-11 00:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":153223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:16:31] local.INFO: GPS data processed {"connection_id":153223,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:16:31] local.INFO: Acknowledgment sent {"connection_id":153223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:16:59] local.INFO: TCP Data received {"connection_id":154617,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:16:59] local.INFO: Processing buffer {"connection_id":154617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:16:59] local.INFO: IMEI packet received {"connection_id":154617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":154617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:17:04] local.INFO: TCP Data received {"connection_id":154617,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:17:04] local.INFO: Processing buffer {"connection_id":154617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:17:04] local.INFO: IMEI packet received {"connection_id":154617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":154617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:17:05] local.INFO: TCP Data received {"connection_id":154617,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:17:05] local.INFO: Processing buffer {"connection_id":154617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:17:05] local.INFO: Packet analysis {"connection_id":154617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:17:05] local.INFO: Extracted packet for processing {"connection_id":154617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:17:05] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":50,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315087872001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5764255706396813312,"note":"Value kept but may cause issues"} 
[2026-08-11 00:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786387367000,"timestamp_ms":1786387367000,"timestamp_seconds":1786387367,"priority":1,"record_length":96,"hex_timestamp":"0000019fecfc0458"} 
[2026-08-11 00:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:17: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-08-11 00: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-08-11 00:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:17:05] 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-08-11 00:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315087872001,"66":25897,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5764255706396813312},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315087872001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:17:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:17:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5764255706396813312,"description":"Unknown IO ID 45"} 
[2026-08-11 00:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315087872001,"power":25897,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5764255706396813312}} 
[2026-08-11 00:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":154617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:17:05] local.INFO: GPS data processed {"connection_id":154617,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:17:05] local.INFO: Acknowledgment sent {"connection_id":154617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:17:09] local.INFO: TCP Data received {"connection_id":154617,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:17:09] local.INFO: Processing buffer {"connection_id":154617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:17:09] local.INFO: Packet analysis {"connection_id":154617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:17:09] local.INFO: Extracted packet for processing {"connection_id":154617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:17:09] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":50,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315087872001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5764255706396813312,"note":"Value kept but may cause issues"} 
[2026-08-11 00:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786387367000,"timestamp_ms":1786387367000,"timestamp_seconds":1786387367,"priority":1,"record_length":96,"hex_timestamp":"0000019fecfc0458"} 
[2026-08-11 00:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:17:09] 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-08-11 00: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-08-11 00:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:17:09] 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-08-11 00:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315087872001,"66":25897,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5764255706396813312},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315087872001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:17:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:17:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5764255706396813312,"description":"Unknown IO ID 45"} 
[2026-08-11 00:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315087872001,"power":25897,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5764255706396813312}} 
[2026-08-11 00:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":154617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:17:09] local.INFO: GPS data processed {"connection_id":154617,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:17:09] local.INFO: Acknowledgment sent {"connection_id":154617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:17:54] local.INFO: TCP Data received {"connection_id":154618,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:17:54] local.INFO: Processing buffer {"connection_id":154618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:17:54] local.INFO: IMEI packet received {"connection_id":154618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":154618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:17:59] local.INFO: TCP Data received {"connection_id":154618,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:17:59] local.INFO: Processing buffer {"connection_id":154618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:17:59] local.INFO: IMEI packet received {"connection_id":154618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":154618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:18:00] local.INFO: TCP Data received {"connection_id":154618,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:18:00] local.INFO: Processing buffer {"connection_id":154618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:18:00] local.INFO: Packet analysis {"connection_id":154618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:18:00] local.INFO: Extracted packet for processing {"connection_id":154618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:18:00] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":50,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315087872001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5764255706396813312,"note":"Value kept but may cause issues"} 
[2026-08-11 00:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786387367000,"timestamp_ms":1786387367000,"timestamp_seconds":1786387367,"priority":1,"record_length":96,"hex_timestamp":"0000019fecfc0458"} 
[2026-08-11 00:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:18:00] 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-08-11 00: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-08-11 00:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:18:00] 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-08-11 00:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315087872001,"66":25897,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5764255706396813312},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315087872001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:18:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:18:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5764255706396813312,"description":"Unknown IO ID 45"} 
[2026-08-11 00:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315087872001,"power":25897,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5764255706396813312}} 
[2026-08-11 00:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":154618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:18:00] local.INFO: GPS data processed {"connection_id":154618,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:18:00] local.INFO: Acknowledgment sent {"connection_id":154618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:18:04] local.INFO: TCP Data received {"connection_id":154618,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:18:04] local.INFO: Processing buffer {"connection_id":154618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fecfc0458012d5011c0064e5d08000f003232..."} 
[2026-08-11 00:18:04] local.INFO: Packet analysis {"connection_id":154618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:18:04] local.INFO: Extracted packet for processing {"connection_id":154618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fecfc"} 
[2026-08-11 00:18:04] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":50,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315087872001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5764255706396813312,"note":"Value kept but may cause issues"} 
[2026-08-11 00:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786387367000,"timestamp_ms":1786387367000,"timestamp_seconds":1786387367,"priority":1,"record_length":96,"hex_timestamp":"0000019fecfc0458"} 
[2026-08-11 00:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 00: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":212,"data_length":795,"current_offset":136} 
[2026-08-11 00:18:04] 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-08-11 00: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-08-11 00:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:18:04] 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-08-11 00:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315087872001,"66":25897,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5764255706396813312},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315087872001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:18:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:18:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5764255706396813312,"description":"Unknown IO ID 45"} 
[2026-08-11 00:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315087872001,"power":25897,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5764255706396813312}} 
[2026-08-11 00:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":154618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:18:04] local.INFO: GPS data processed {"connection_id":154618,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:18:04] local.INFO: Acknowledgment sent {"connection_id":154618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:18:36] local.INFO: TCP Data received {"connection_id":154618,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:18:36] local.INFO: Processing buffer {"connection_id":154618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:18:36] local.INFO: Packet analysis {"connection_id":154618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed00"} 
[2026-08-11 00:18:36] local.INFO: Extracted packet for processing {"connection_id":154618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed00"} 
[2026-08-11 00:18:36] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":49,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315165952001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769603730955372544,"note":"Value kept but may cause issues"} 
[2026-08-11 00:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786387668000,"timestamp_ms":1786387668000,"timestamp_seconds":1786387668,"priority":1,"record_length":96,"hex_timestamp":"0000019fed009c20"} 
[2026-08-11 00:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:18:36] 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-08-11 00: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 00:18: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-08-11 00: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-08-11 00:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:18:36] 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-08-11 00:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315165952001,"66":25647,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5769603730955372544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315165952001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:18:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:18:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769603730955372544,"description":"Unknown IO ID 45"} 
[2026-08-11 00:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315165952001,"power":25647,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5769603730955372544}} 
[2026-08-11 00:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":154618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:18:36] local.INFO: GPS data processed {"connection_id":154618,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:18:36] local.INFO: Acknowledgment sent {"connection_id":154618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:18:54] local.INFO: TCP Data received {"connection_id":151901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:18:54] local.INFO: Processing buffer {"connection_id":151901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:18:54] local.INFO: IMEI packet received {"connection_id":151901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":151901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:18:59] local.INFO: TCP Data received {"connection_id":151901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:18:59] local.INFO: Processing buffer {"connection_id":151901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:18:59] local.INFO: IMEI packet received {"connection_id":151901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":151901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:19:00] local.INFO: TCP Data received {"connection_id":151901,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:19:00] local.INFO: Processing buffer {"connection_id":151901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:19:00] local.INFO: Packet analysis {"connection_id":151901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed00"} 
[2026-08-11 00:19:00] local.INFO: Extracted packet for processing {"connection_id":151901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed00"} 
[2026-08-11 00:19:00] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":49,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315165952001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769603730955372544,"note":"Value kept but may cause issues"} 
[2026-08-11 00:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786387668000,"timestamp_ms":1786387668000,"timestamp_seconds":1786387668,"priority":1,"record_length":96,"hex_timestamp":"0000019fed009c20"} 
[2026-08-11 00:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:19:00] 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-08-11 00: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 00:19:00] 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-08-11 00: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-08-11 00:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:19:00] 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-08-11 00:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315165952001,"66":25647,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5769603730955372544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315165952001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:19:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:19:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769603730955372544,"description":"Unknown IO ID 45"} 
[2026-08-11 00:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315165952001,"power":25647,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5769603730955372544}} 
[2026-08-11 00:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":151901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:19:00] local.INFO: GPS data processed {"connection_id":151901,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:19:00] local.INFO: Acknowledgment sent {"connection_id":151901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:19:32] local.INFO: TCP Data received {"connection_id":151901,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:19:32] local.INFO: Processing buffer {"connection_id":151901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:19:32] local.INFO: Packet analysis {"connection_id":151901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed00"} 
[2026-08-11 00:19:32] local.INFO: Extracted packet for processing {"connection_id":151901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed00"} 
[2026-08-11 00:19:32] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":49,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315165952001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769603730955372544,"note":"Value kept but may cause issues"} 
[2026-08-11 00:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786387668000,"timestamp_ms":1786387668000,"timestamp_seconds":1786387668,"priority":1,"record_length":96,"hex_timestamp":"0000019fed009c20"} 
[2026-08-11 00:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:19:32] 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-08-11 00: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 00:19: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-08-11 00: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-08-11 00:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:19:32] 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-08-11 00:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315165952001,"66":25647,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5769603730955372544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315165952001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:19:32] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:19:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769603730955372544,"description":"Unknown IO ID 45"} 
[2026-08-11 00:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315165952001,"power":25647,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5769603730955372544}} 
[2026-08-11 00:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":151901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:19:32] local.INFO: GPS data processed {"connection_id":151901,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:19:32] local.INFO: Acknowledgment sent {"connection_id":151901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:19:54] local.INFO: TCP Data received {"connection_id":154619,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:19:54] local.INFO: Processing buffer {"connection_id":154619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:19:54] local.INFO: IMEI packet received {"connection_id":154619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":154619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:19:59] local.INFO: TCP Data received {"connection_id":154619,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:19:59] local.INFO: Processing buffer {"connection_id":154619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:19:59] local.INFO: IMEI packet received {"connection_id":154619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":154619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:20:00] local.INFO: TCP Data received {"connection_id":154619,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:20:00] local.INFO: Processing buffer {"connection_id":154619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:20:00] local.INFO: Packet analysis {"connection_id":154619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed00"} 
[2026-08-11 00:20:00] local.INFO: Extracted packet for processing {"connection_id":154619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed00"} 
[2026-08-11 00:20:00] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":49,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315165952001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769603730955372544,"note":"Value kept but may cause issues"} 
[2026-08-11 00:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786387668000,"timestamp_ms":1786387668000,"timestamp_seconds":1786387668,"priority":1,"record_length":96,"hex_timestamp":"0000019fed009c20"} 
[2026-08-11 00:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:20:00] 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-08-11 00: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 00:20:00] 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-08-11 00: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-08-11 00:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:20:00] 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-08-11 00:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315165952001,"66":25647,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5769603730955372544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315165952001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:20:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:20:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769603730955372544,"description":"Unknown IO ID 45"} 
[2026-08-11 00:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315165952001,"power":25647,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5769603730955372544}} 
[2026-08-11 00:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":154619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:20:00] local.INFO: GPS data processed {"connection_id":154619,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:20:00] local.INFO: Acknowledgment sent {"connection_id":154619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:20:31] local.INFO: TCP Data received {"connection_id":154619,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:20:31] local.INFO: Processing buffer {"connection_id":154619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:20:31] local.INFO: Packet analysis {"connection_id":154619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed00"} 
[2026-08-11 00:20:31] local.INFO: Extracted packet for processing {"connection_id":154619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed00"} 
[2026-08-11 00:20:31] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":49,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315165952001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769603730955372544,"note":"Value kept but may cause issues"} 
[2026-08-11 00:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786387668000,"timestamp_ms":1786387668000,"timestamp_seconds":1786387668,"priority":1,"record_length":96,"hex_timestamp":"0000019fed009c20"} 
[2026-08-11 00:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:20:31] 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-08-11 00: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 00:20: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-08-11 00: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-08-11 00:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:20:31] 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-08-11 00:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315165952001,"66":25647,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5769603730955372544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315165952001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:20:31] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:20:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769603730955372544,"description":"Unknown IO ID 45"} 
[2026-08-11 00:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315165952001,"power":25647,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5769603730955372544}} 
[2026-08-11 00:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":154619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:20:31] local.INFO: GPS data processed {"connection_id":154619,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:20:31] local.INFO: Acknowledgment sent {"connection_id":154619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:20:54] local.INFO: TCP Data received {"connection_id":151902,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:20:54] local.INFO: Processing buffer {"connection_id":151902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:20:54] local.INFO: IMEI packet received {"connection_id":151902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":151902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:20:59] local.INFO: TCP Data received {"connection_id":151902,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:20:59] local.INFO: Processing buffer {"connection_id":151902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:20:59] local.INFO: IMEI packet received {"connection_id":151902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":151902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:21:03] local.INFO: TCP Data received {"connection_id":151902,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:21:03] local.INFO: Processing buffer {"connection_id":151902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:21:03] local.INFO: Packet analysis {"connection_id":151902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed00"} 
[2026-08-11 00:21:03] local.INFO: Extracted packet for processing {"connection_id":151902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed00"} 
[2026-08-11 00:21:03] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":49,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00:21: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-08-11 00:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315165952001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769603730955372544,"note":"Value kept but may cause issues"} 
[2026-08-11 00:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786387668000,"timestamp_ms":1786387668000,"timestamp_seconds":1786387668,"priority":1,"record_length":96,"hex_timestamp":"0000019fed009c20"} 
[2026-08-11 00:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:21: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-08-11 00:21: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-08-11 00:21: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-08-11 00:21: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-08-11 00:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":151902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":151902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":151902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:21:03] 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-08-11 00:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315165952001,"66":25647,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5769603730955372544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315165952001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:21:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:21:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769603730955372544,"description":"Unknown IO ID 45"} 
[2026-08-11 00:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315165952001,"power":25647,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5769603730955372544}} 
[2026-08-11 00:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":151902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:21:03] local.INFO: GPS data processed {"connection_id":151902,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:21:03] local.INFO: Acknowledgment sent {"connection_id":151902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:21:35] local.INFO: TCP Data received {"connection_id":151902,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:21:35] local.INFO: Processing buffer {"connection_id":151902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed009c20012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:21:35] local.INFO: Packet analysis {"connection_id":151902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed00"} 
[2026-08-11 00:21:35] local.INFO: Extracted packet for processing {"connection_id":151902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed00"} 
[2026-08-11 00:21:35] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":49,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315165952001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769603730955372544,"note":"Value kept but may cause issues"} 
[2026-08-11 00:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786387668000,"timestamp_ms":1786387668000,"timestamp_seconds":1786387668,"priority":1,"record_length":96,"hex_timestamp":"0000019fed009c20"} 
[2026-08-11 00:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:21:35] 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-08-11 00: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 00:21:35] 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-08-11 00: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-08-11 00:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:21: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-08-11 00:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315165952001,"66":25647,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5769603730955372544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315165952001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:21:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:21:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769603730955372544,"description":"Unknown IO ID 45"} 
[2026-08-11 00:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315165952001,"power":25647,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5769603730955372544}} 
[2026-08-11 00:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":151902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:21:35] local.INFO: GPS data processed {"connection_id":151902,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:21:35] local.INFO: Acknowledgment sent {"connection_id":151902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:21:54] local.INFO: TCP Data received {"connection_id":154620,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:21:54] local.INFO: Processing buffer {"connection_id":154620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:21:54] local.INFO: IMEI packet received {"connection_id":154620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":154620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:21:59] local.INFO: TCP Data received {"connection_id":154620,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:21:59] local.INFO: Processing buffer {"connection_id":154620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:21:59] local.INFO: IMEI packet received {"connection_id":154620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":154620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:22:00] local.INFO: TCP Data received {"connection_id":154620,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed03b518012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed03b518012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:22:00] local.INFO: Processing buffer {"connection_id":154620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed03b518012d5011c0064e5d08000f003231..."} 
[2026-08-11 00:22:00] local.INFO: Packet analysis {"connection_id":154620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed03"} 
[2026-08-11 00:22:00] local.INFO: Extracted packet for processing {"connection_id":154620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed03"} 
[2026-08-11 00:22:00] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798920,"longitude_deg":76.0222144,"latitude_deg":10.579892,"altitude":15,"angle":50,"satellites":49,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e5d08","is_valid_coordinates":true} 
[2026-08-11 00:22:00] 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-08-11 00:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315243008001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769603730955372544,"note":"Value kept but may cause issues"} 
[2026-08-11 00:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786387871000,"timestamp_ms":1786387871000,"timestamp_seconds":1786387871,"priority":1,"record_length":96,"hex_timestamp":"0000019fed03b518"} 
[2026-08-11 00:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 00:22: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-08-11 00: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-08-11 00:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:22:00] 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-08-11 00:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315243008001,"66":25625,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5769603730955372544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315243008001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:22:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:22:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769603730955372544,"description":"Unknown IO ID 45"} 
[2026-08-11 00:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315243008001,"power":25625,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5769603730955372544}} 
[2026-08-11 00:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":154620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:22:00] local.INFO: GPS data processed {"connection_id":154620,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:22:00] local.INFO: Acknowledgment sent {"connection_id":154620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:22:32] local.INFO: TCP Data received {"connection_id":154620,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed041aa8012d501640064e5dd0000f002e33..."} 
[2026-08-11 00:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed041aa8012d501640064e5dd0000f002e33..."} 
[2026-08-11 00:22:32] local.INFO: Processing buffer {"connection_id":154620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed041aa8012d501640064e5dd0000f002e33..."} 
[2026-08-11 00:22:32] local.INFO: Packet analysis {"connection_id":154620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed04"} 
[2026-08-11 00:22:32] local.INFO: Extracted packet for processing {"connection_id":154620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed04"} 
[2026-08-11 00:22:32] local.INFO: GPS Element Parsed {"raw_longitude":760223296,"raw_latitude":105799120,"longitude_deg":76.0223296,"latitude_deg":10.579912,"altitude":15,"angle":46,"satellites":51,"speed":0,"hex_longitude":"2d501640","hex_latitude":"064e5dd0","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315294976001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769603730955372544,"note":"Value kept but may cause issues"} 
[2026-08-11 00:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786387897000,"timestamp_ms":1786387897000,"timestamp_seconds":1786387897,"priority":1,"record_length":96,"hex_timestamp":"0000019fed041aa8"} 
[2026-08-11 00:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:22:32] 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-08-11 00: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":25,"data_length":795,"current_offset":136} 
[2026-08-11 00:22:32] 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-08-11 00: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-08-11 00:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:22:32] 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-08-11 00:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315294976001,"66":26984,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5769603730955372544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315294976001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:22:32] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:22:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769603730955372544,"description":"Unknown IO ID 45"} 
[2026-08-11 00:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315294976001,"power":26984,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5769603730955372544}} 
[2026-08-11 00:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":154620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:22:32] local.INFO: GPS data processed {"connection_id":154620,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:22:32] local.INFO: Acknowledgment sent {"connection_id":154620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:22:54] local.INFO: TCP Data received {"connection_id":152283,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:22:54] local.INFO: Processing buffer {"connection_id":152283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:22:54] local.INFO: IMEI packet received {"connection_id":152283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":152283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:22:59] local.INFO: TCP Data received {"connection_id":152283,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:22:59] local.INFO: Processing buffer {"connection_id":152283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:22:59] local.INFO: IMEI packet received {"connection_id":152283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":152283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:23:00] local.INFO: TCP Data received {"connection_id":152283,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed046cb0012d501640064e5dd0000f002e31..."} 
[2026-08-11 00:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed046cb0012d501640064e5dd0000f002e31..."} 
[2026-08-11 00:23:00] local.INFO: Processing buffer {"connection_id":152283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed046cb0012d501640064e5dd0000f002e31..."} 
[2026-08-11 00:23:00] local.INFO: Packet analysis {"connection_id":152283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed04"} 
[2026-08-11 00:23:00] local.INFO: Extracted packet for processing {"connection_id":152283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed04"} 
[2026-08-11 00:23:00] local.INFO: GPS Element Parsed {"raw_longitude":760223296,"raw_latitude":105799120,"longitude_deg":76.0223296,"latitude_deg":10.579912,"altitude":15,"angle":46,"satellites":49,"speed":0,"hex_longitude":"2d501640","hex_latitude":"064e5dd0","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315301632001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880640034865152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5770870368350621696,"note":"Value kept but may cause issues"} 
[2026-08-11 00:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786387918000,"timestamp_ms":1786387918000,"timestamp_seconds":1786387918,"priority":1,"record_length":96,"hex_timestamp":"0000019fed046cb0"} 
[2026-08-11 00:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-11 00:23:00] 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-08-11 00: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-08-11 00:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:23:00] 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-08-11 00:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315301632001,"66":27321,"8":206,"78":62464,"24":0,"16":376880640034865152,"45":5770870368350621696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315301632001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:23:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:23:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880640034865152,"km_value":376880640034865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5770870368350621696,"description":"Unknown IO ID 45"} 
[2026-08-11 00:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315301632001,"power":27321,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5770870368350621696}} 
[2026-08-11 00:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":152283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:23:00] local.INFO: GPS data processed {"connection_id":152283,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:23:00] local.INFO: Acknowledgment sent {"connection_id":152283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:23:31] local.INFO: TCP Data received {"connection_id":152283,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed048bf0012d5017c0064e5e280012004a32..."} 
[2026-08-11 00:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed048bf0012d5017c0064e5e280012004a32..."} 
[2026-08-11 00:23:31] local.INFO: Processing buffer {"connection_id":152283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed048bf0012d5017c0064e5e280012004a32..."} 
[2026-08-11 00:23:31] local.INFO: Packet analysis {"connection_id":152283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed04"} 
[2026-08-11 00:23:31] local.INFO: Extracted packet for processing {"connection_id":152283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed04"} 
[2026-08-11 00:23:31] local.INFO: GPS Element Parsed {"raw_longitude":760223680,"raw_latitude":105799208,"longitude_deg":76.022368,"latitude_deg":10.5799208,"altitude":18,"angle":74,"satellites":50,"speed":4,"hex_longitude":"2d5017c0","hex_latitude":"064e5e28","is_valid_coordinates":true} 
[2026-08-11 00:23: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-08-11 00:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315307008001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880661509701632,"note":"Value kept but may cause issues"} 
[2026-08-11 00:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5770870368350621696,"note":"Value kept but may cause issues"} 
[2026-08-11 00:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786387926000,"timestamp_ms":1786387926000,"timestamp_seconds":1786387926,"priority":1,"record_length":96,"hex_timestamp":"0000019fed048bf0"} 
[2026-08-11 00:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 00:23:31] 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-08-11 00:23: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-08-11 00:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:23:31] 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-08-11 00:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315307008001,"66":27213,"8":206,"78":62464,"24":4,"16":376880661509701632,"45":5770870368350621696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315307008001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:23:31] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:23:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880661509701632,"km_value":376880661509701.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5770870368350621696,"description":"Unknown IO ID 45"} 
[2026-08-11 00:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315307008001,"power":27213,"unknown_8":206,"unknown_78":62464,"ignition":4,"odometer":null,"unknown_45":5770870368350621696}} 
[2026-08-11 00:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":152283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:23:31] local.INFO: GPS data processed {"connection_id":152283,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:23:31] local.INFO: Acknowledgment sent {"connection_id":152283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:23:55] local.INFO: TCP Data received {"connection_id":153224,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:23:55] local.INFO: Processing buffer {"connection_id":153224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:23:55] local.INFO: IMEI packet received {"connection_id":153224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":153224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:24:02] local.INFO: TCP Data received {"connection_id":153224,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:24:02] local.INFO: Processing buffer {"connection_id":153224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:24:02] local.INFO: IMEI packet received {"connection_id":153224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":153224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:24:03] local.INFO: TCP Data received {"connection_id":153224,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0497a8012d501980064e5ed00011003a33..."} 
[2026-08-11 00:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0497a8012d501980064e5ed00011003a33..."} 
[2026-08-11 00:24:03] local.INFO: Processing buffer {"connection_id":153224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0497a8012d501980064e5ed00011003a33..."} 
[2026-08-11 00:24:03] local.INFO: Packet analysis {"connection_id":153224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed04"} 
[2026-08-11 00:24:03] local.INFO: Extracted packet for processing {"connection_id":153224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed04"} 
[2026-08-11 00:24:03] local.INFO: GPS Element Parsed {"raw_longitude":760224128,"raw_latitude":105799376,"longitude_deg":76.0224128,"latitude_deg":10.5799376,"altitude":17,"angle":58,"satellites":51,"speed":8,"hex_longitude":"2d501980","hex_latitude":"064e5ed0","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315309056001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376880682984538112,"note":"Value kept but may cause issues"} 
[2026-08-11 00:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5771292580815710208,"note":"Value kept but may cause issues"} 
[2026-08-11 00:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786387929000,"timestamp_ms":1786387929000,"timestamp_seconds":1786387929,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0497a8"} 
[2026-08-11 00:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 00:24: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-08-11 00: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-08-11 00:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":153224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":153224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":153224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:24:03] 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-08-11 00:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315309056001,"66":27321,"8":206,"78":62464,"24":8,"16":376880682984538112,"45":5771292580815710208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-08-11 00:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315309056001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:24:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 00:24:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376880682984538112,"km_value":376880682984538.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5771292580815710208,"description":"Unknown IO ID 45"} 
[2026-08-11 00:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315309056001,"power":27321,"unknown_8":206,"unknown_78":62464,"ignition":8,"odometer":null,"unknown_45":5771292580815710208}} 
[2026-08-11 00:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":153224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:24:03] local.INFO: GPS data processed {"connection_id":153224,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:24:03] local.INFO: Acknowledgment sent {"connection_id":153224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:24:34] local.INFO: TCP Data received {"connection_id":153224,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed05c858012d5071c0064e34e8000800872d..."} 
[2026-08-11 00:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed05c858012d5071c0064e34e8000800872d..."} 
[2026-08-11 00:24:34] local.INFO: Processing buffer {"connection_id":153224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed05c858012d5071c0064e34e8000800872d..."} 
[2026-08-11 00:24:34] local.INFO: Packet analysis {"connection_id":153224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed05"} 
[2026-08-11 00:24:34] local.INFO: Extracted packet for processing {"connection_id":153224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed05"} 
[2026-08-11 00:24:34] local.INFO: GPS Element Parsed {"raw_longitude":760246720,"raw_latitude":105788648,"longitude_deg":76.024672,"latitude_deg":10.5788648,"altitude":8,"angle":135,"satellites":45,"speed":24,"hex_longitude":"2d5071c0","hex_latitude":"064e34e8","is_valid_coordinates":true} 
[2026-08-11 00:24: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-08-11 00:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315329792001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376882181928124416,"note":"Value kept but may cause issues"} 
[2026-08-11 00:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5796625328716965888,"note":"Value kept but may cause issues"} 
[2026-08-11 00:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786388007000,"timestamp_ms":1786388007000,"timestamp_seconds":1786388007,"priority":1,"record_length":96,"hex_timestamp":"0000019fed05c858"} 
[2026-08-11 00:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:24: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":125,"data_length":795,"current_offset":136} 
[2026-08-11 00:24:34] 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-08-11 00:24: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-08-11 00:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:24:34] 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-08-11 00:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315329792001,"66":27517,"53":206,"78":62464,"24":24,"16":376882181928124416,"45":5796625328716965888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-08-11 00:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315329792001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:24:34] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 00:24:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376882181928124416,"km_value":376882181928124.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5796625328716965888,"description":"Unknown IO ID 45"} 
[2026-08-11 00:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315329792001,"power":27517,"unknown_53":206,"unknown_78":62464,"ignition":24,"odometer":null,"unknown_45":5796625328716965888}} 
[2026-08-11 00:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":153224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:24:34] local.INFO: GPS data processed {"connection_id":153224,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:24:34] local.INFO: Acknowledgment sent {"connection_id":153224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:25:00] local.INFO: TCP Data received {"connection_id":152284,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:25:00] local.INFO: Processing buffer {"connection_id":152284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:25:00] local.INFO: IMEI packet received {"connection_id":152284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":152284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:25:04] local.INFO: TCP Data received {"connection_id":152284,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:25:04] local.INFO: Processing buffer {"connection_id":152284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:25:04] local.INFO: IMEI packet received {"connection_id":152284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":152284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:25:05] local.INFO: TCP Data received {"connection_id":152284,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed05e3b0012d507c00064e29c00006009331..."} 
[2026-08-11 00:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed05e3b0012d507c00064e29c00006009331..."} 
[2026-08-11 00:25:05] local.INFO: Processing buffer {"connection_id":152284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed05e3b0012d507c00064e29c00006009331..."} 
[2026-08-11 00:25:05] local.INFO: Packet analysis {"connection_id":152284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed05"} 
[2026-08-11 00:25:05] local.INFO: Extracted packet for processing {"connection_id":152284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed05"} 
[2026-08-11 00:25:05] local.INFO: GPS Element Parsed {"raw_longitude":760249344,"raw_latitude":105785792,"longitude_deg":76.0249344,"latitude_deg":10.5785792,"altitude":6,"angle":147,"satellites":49,"speed":18,"hex_longitude":"2d507c00","hex_latitude":"064e29c0","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315329792001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376882366611718144,"note":"Value kept but may cause issues"} 
[2026-08-11 00:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5796625328716965888,"note":"Value kept but may cause issues"} 
[2026-08-11 00:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786388014000,"timestamp_ms":1786388014000,"timestamp_seconds":1786388014,"priority":1,"record_length":96,"hex_timestamp":"0000019fed05e3b0"} 
[2026-08-11 00:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 00:25:05] 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-08-11 00: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-08-11 00:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:25:05] 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-08-11 00:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315329792001,"66":27321,"53":206,"78":62464,"24":18,"16":376882366611718144,"45":5796625328716965888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-08-11 00:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315329792001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:25:05] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 00:25:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376882366611718144,"km_value":376882366611718.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5796625328716965888,"description":"Unknown IO ID 45"} 
[2026-08-11 00:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315329792001,"power":27321,"unknown_53":206,"unknown_78":62464,"ignition":18,"odometer":null,"unknown_45":5796625328716965888}} 
[2026-08-11 00:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":152284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:25:05] local.INFO: GPS data processed {"connection_id":152284,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:25:05] local.INFO: Acknowledgment sent {"connection_id":152284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:25:10] local.INFO: TCP Data received {"connection_id":152284,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0635b8012d508b80064e10600006009733..."} 
[2026-08-11 00:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0635b8012d508b80064e10600006009733..."} 
[2026-08-11 00:25:10] local.INFO: Processing buffer {"connection_id":152284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0635b8012d508b80064e10600006009733..."} 
[2026-08-11 00:25:10] local.INFO: Packet analysis {"connection_id":152284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed06"} 
[2026-08-11 00:25:10] local.INFO: Extracted packet for processing {"connection_id":152284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed06"} 
[2026-08-11 00:25:10] local.INFO: GPS Element Parsed {"raw_longitude":760253312,"raw_latitude":105779296,"longitude_deg":76.0253312,"latitude_deg":10.5779296,"altitude":6,"angle":151,"satellites":51,"speed":17,"hex_longitude":"2d508b80","hex_latitude":"064e1060","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315331584001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376882735978905600,"note":"Value kept but may cause issues"} 
[2026-08-11 00:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5799510447227518976,"note":"Value kept but may cause issues"} 
[2026-08-11 00:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786388035000,"timestamp_ms":1786388035000,"timestamp_seconds":1786388035,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0635b8"} 
[2026-08-11 00:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00: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-08-11 00: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-08-11 00:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:25:10] 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-08-11 00:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315331584001,"66":27234,"53":206,"78":62464,"24":17,"16":376882735978905600,"45":5799510447227518976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-08-11 00:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315331584001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:25:10] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 00:25:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376882735978905600,"km_value":376882735978905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5799510447227518976,"description":"Unknown IO ID 45"} 
[2026-08-11 00:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315331584001,"power":27234,"unknown_53":206,"unknown_78":62464,"ignition":17,"odometer":null,"unknown_45":5799510447227518976}} 
[2026-08-11 00:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":152284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:25:10] local.INFO: GPS data processed {"connection_id":152284,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:25:10] local.INFO: Acknowledgment sent {"connection_id":152284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:25:53] local.INFO: TCP Data received {"connection_id":154621,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:25:53] local.INFO: Processing buffer {"connection_id":154621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:25:53] local.INFO: IMEI packet received {"connection_id":154621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":154621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:25:54] local.INFO: TCP Data received {"connection_id":154621,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:25:54] local.INFO: Processing buffer {"connection_id":154621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:25:54] local.INFO: IMEI packet received {"connection_id":154621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":154621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:25:57] local.INFO: TCP Data received {"connection_id":154621,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:25:57] local.INFO: Processing buffer {"connection_id":154621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:25:57] local.INFO: IMEI packet received {"connection_id":154621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":154621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:25:58] local.INFO: TCP Data received {"connection_id":154621,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0687c0012d509880064df8500007009933..."} 
[2026-08-11 00:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0687c0012d509880064df8500007009933..."} 
[2026-08-11 00:25:58] local.INFO: Processing buffer {"connection_id":154621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0687c0012d509880064df8500007009933..."} 
[2026-08-11 00:25:58] local.INFO: Packet analysis {"connection_id":154621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed06"} 
[2026-08-11 00:25:58] local.INFO: Extracted packet for processing {"connection_id":154621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed06"} 
[2026-08-11 00:25:58] local.INFO: GPS Element Parsed {"raw_longitude":760256640,"raw_latitude":105773136,"longitude_deg":76.025664,"latitude_deg":10.5773136,"altitude":7,"angle":153,"satellites":51,"speed":15,"hex_longitude":"2d509880","hex_latitude":"064df850","is_valid_coordinates":true} 
[2026-08-11 00:25: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-08-11 00:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315336960001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376883075281321984,"note":"Value kept but may cause issues"} 
[2026-08-11 00:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5803873309364871168,"note":"Value kept but may cause issues"} 
[2026-08-11 00:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786388056000,"timestamp_ms":1786388056000,"timestamp_seconds":1786388056,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0687c0"} 
[2026-08-11 00:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:25: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 00:25:58] 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-08-11 00:25: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-08-11 00:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":154621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":154621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":154621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:25:58] 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-08-11 00:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315336960001,"66":27332,"53":206,"78":62464,"24":15,"16":376883075281321984,"45":5803873309364871168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-08-11 00:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315336960001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:25:58] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 00:25:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376883075281321984,"km_value":376883075281322.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5803873309364871168,"description":"Unknown IO ID 45"} 
[2026-08-11 00:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315336960001,"power":27332,"unknown_53":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":5803873309364871168}} 
[2026-08-11 00:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":154621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:25:58] local.INFO: GPS data processed {"connection_id":154621,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:25:58] local.INFO: Acknowledgment sent {"connection_id":154621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:26:29] local.INFO: TCP Data received {"connection_id":154621,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed06c258012d509f80064de7d8000800a433..."} 
[2026-08-11 00:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed06c258012d509f80064de7d8000800a433..."} 
[2026-08-11 00:26:29] local.INFO: Processing buffer {"connection_id":154621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed06c258012d509f80064de7d8000800a433..."} 
[2026-08-11 00:26:29] local.INFO: Packet analysis {"connection_id":154621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed06"} 
[2026-08-11 00:26:29] local.INFO: Extracted packet for processing {"connection_id":154621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed06"} 
[2026-08-11 00:26:29] local.INFO: GPS Element Parsed {"raw_longitude":760258432,"raw_latitude":105768920,"longitude_deg":76.0258432,"latitude_deg":10.576892,"altitude":8,"angle":164,"satellites":51,"speed":10,"hex_longitude":"2d509f80","hex_latitude":"064de7d8","is_valid_coordinates":true} 
[2026-08-11 00:26: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-08-11 00:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315342336001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376883298619621376,"note":"Value kept but may cause issues"} 
[2026-08-11 00:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5807532484060532736,"note":"Value kept but may cause issues"} 
[2026-08-11 00:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786388071000,"timestamp_ms":1786388071000,"timestamp_seconds":1786388071,"priority":1,"record_length":96,"hex_timestamp":"0000019fed06c258"} 
[2026-08-11 00:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:26: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":196,"data_length":795,"current_offset":136} 
[2026-08-11 00:26:29] 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-08-11 00:26: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-08-11 00:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":154621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":154621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":154621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:26:29] 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-08-11 00:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315342336001,"66":27310,"239":206,"78":62464,"24":10,"16":376883298619621376,"45":5807532484060532736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-08-11 00:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315342336001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:26:29] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-11 00:26:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376883298619621376,"km_value":376883298619621.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5807532484060532736,"description":"Unknown IO ID 45"} 
[2026-08-11 00:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315342336001,"power":27310,"unknown_239":206,"unknown_78":62464,"ignition":10,"odometer":null,"unknown_45":5807532484060532736}} 
[2026-08-11 00:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":154621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:26:29] local.INFO: GPS data processed {"connection_id":154621,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:26:29] local.INFO: Acknowledgment sent {"connection_id":154621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:26:54] local.INFO: TCP Data received {"connection_id":151903,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:26:54] local.INFO: Processing buffer {"connection_id":151903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:26:54] local.INFO: IMEI packet received {"connection_id":151903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":151903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:26:59] local.INFO: TCP Data received {"connection_id":151903,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:26:59] local.INFO: Processing buffer {"connection_id":151903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:26:59] local.INFO: IMEI packet received {"connection_id":151903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":151903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:27:01] local.INFO: TCP Data received {"connection_id":151903,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed06ce10012d50a080064de4b00008009833..."} 
[2026-08-11 00:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed06ce10012d50a080064de4b00008009833..."} 
[2026-08-11 00:27:01] local.INFO: Processing buffer {"connection_id":151903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed06ce10012d50a080064de4b00008009833..."} 
[2026-08-11 00:27:01] local.INFO: Packet analysis {"connection_id":151903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed06"} 
[2026-08-11 00:27:01] local.INFO: Extracted packet for processing {"connection_id":151903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed06"} 
[2026-08-11 00:27:01] local.INFO: GPS Element Parsed {"raw_longitude":760258688,"raw_latitude":105768112,"longitude_deg":76.0258688,"latitude_deg":10.5768112,"altitude":8,"angle":152,"satellites":51,"speed":11,"hex_longitude":"2d50a080","hex_latitude":"064de4b0","is_valid_coordinates":true} 
[2026-08-11 00:27: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-08-11 00:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315346176001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376883341569294336,"note":"Value kept but may cause issues"} 
[2026-08-11 00:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5809502808896428032,"note":"Value kept but may cause issues"} 
[2026-08-11 00:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786388074000,"timestamp_ms":1786388074000,"timestamp_seconds":1786388074,"priority":1,"record_length":96,"hex_timestamp":"0000019fed06ce10"} 
[2026-08-11 00:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:27: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":174,"data_length":795,"current_offset":136} 
[2026-08-11 00:27:01] 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-08-11 00:27: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-08-11 00:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:27:01] 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-08-11 00:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315346176001,"66":27365,"239":206,"78":62464,"24":11,"16":376883341569294336,"45":5809502808896428032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-08-11 00:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315346176001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:27:01] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-11 00:27:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376883341569294336,"km_value":376883341569294.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5809502808896428032,"description":"Unknown IO ID 45"} 
[2026-08-11 00:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315346176001,"power":27365,"unknown_239":206,"unknown_78":62464,"ignition":11,"odometer":null,"unknown_45":5809502808896428032}} 
[2026-08-11 00:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":151903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:27:01] local.INFO: GPS data processed {"connection_id":151903,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:27:01] local.INFO: Acknowledgment sent {"connection_id":151903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:27:32] local.INFO: TCP Data received {"connection_id":151903,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed072018012d50af00064dcb980008009233..."} 
[2026-08-11 00:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed072018012d50af00064dcb980008009233..."} 
[2026-08-11 00:27:32] local.INFO: Processing buffer {"connection_id":151903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed072018012d50af00064dcb980008009233..."} 
[2026-08-11 00:27:32] local.INFO: Packet analysis {"connection_id":151903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed07"} 
[2026-08-11 00:27:32] local.INFO: Extracted packet for processing {"connection_id":151903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed07"} 
[2026-08-11 00:27:32] local.INFO: GPS Element Parsed {"raw_longitude":760262400,"raw_latitude":105761688,"longitude_deg":76.02624,"latitude_deg":10.5761688,"altitude":8,"angle":146,"satellites":51,"speed":9,"hex_longitude":"2d50af00","hex_latitude":"064dcb98","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315346944001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376883698051579904,"note":"Value kept but may cause issues"} 
[2026-08-11 00:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5809784283872931840,"note":"Value kept but may cause issues"} 
[2026-08-11 00:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786388095000,"timestamp_ms":1786388095000,"timestamp_seconds":1786388095,"priority":1,"record_length":96,"hex_timestamp":"0000019fed072018"} 
[2026-08-11 00:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 00:27:32] 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-08-11 00: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-08-11 00:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:27:32] 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-08-11 00:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315346944001,"66":27397,"239":206,"78":62464,"24":9,"16":376883698051579904,"45":5809784283872931840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-08-11 00:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315346944001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:27:32] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-11 00:27:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376883698051579904,"km_value":376883698051579.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5809784283872931840,"description":"Unknown IO ID 45"} 
[2026-08-11 00:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315346944001,"power":27397,"unknown_239":206,"unknown_78":62464,"ignition":9,"odometer":null,"unknown_45":5809784283872931840}} 
[2026-08-11 00:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":151903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:27:32] local.INFO: GPS data processed {"connection_id":151903,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:27:32] local.INFO: Acknowledgment sent {"connection_id":151903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:27:54] local.INFO: TCP Data received {"connection_id":154622,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:27:54] local.INFO: Processing buffer {"connection_id":154622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:27:54] local.INFO: IMEI packet received {"connection_id":154622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":154622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:27:56] local.INFO: TCP Data received {"connection_id":154622,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:27:56] local.INFO: Processing buffer {"connection_id":154622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:27:56] local.INFO: IMEI packet received {"connection_id":154622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":154622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:27:59] local.INFO: TCP Data received {"connection_id":154622,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:27:59] local.INFO: Processing buffer {"connection_id":154622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:27:59] local.INFO: IMEI packet received {"connection_id":154622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":154622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:28:00] local.INFO: TCP Data received {"connection_id":154622,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed076e38012d50c080064db3580007008432..."} 
[2026-08-11 00:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed076e38012d50c080064db3580007008432..."} 
[2026-08-11 00:28:00] local.INFO: Processing buffer {"connection_id":154622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed076e38012d50c080064db3580007008432..."} 
[2026-08-11 00:28:00] local.INFO: Packet analysis {"connection_id":154622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed07"} 
[2026-08-11 00:28:00] local.INFO: Extracted packet for processing {"connection_id":154622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed07"} 
[2026-08-11 00:28:00] local.INFO: GPS Element Parsed {"raw_longitude":760266880,"raw_latitude":105755480,"longitude_deg":76.026688,"latitude_deg":10.575548,"altitude":7,"angle":132,"satellites":50,"speed":12,"hex_longitude":"2d50c080","hex_latitude":"064db358","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315352320001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376884067418767360,"note":"Value kept but may cause issues"} 
[2026-08-11 00:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5813865671033591808,"note":"Value kept but may cause issues"} 
[2026-08-11 00:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786388115000,"timestamp_ms":1786388115000,"timestamp_seconds":1786388115,"priority":1,"record_length":96,"hex_timestamp":"0000019fed076e38"} 
[2026-08-11 00:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 00:28:00] 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-08-11 00: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-08-11 00:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:28:00] 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-08-11 00:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315352320001,"66":27321,"239":206,"78":62464,"24":12,"16":376884067418767360,"45":5813865671033591808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-08-11 00:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315352320001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:28:00] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-11 00:28:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376884067418767360,"km_value":376884067418767.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5813865671033591808,"description":"Unknown IO ID 45"} 
[2026-08-11 00:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315352320001,"power":27321,"unknown_239":206,"unknown_78":62464,"ignition":12,"odometer":null,"unknown_45":5813865671033591808}} 
[2026-08-11 00:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":154622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:28:00] local.INFO: GPS data processed {"connection_id":154622,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:28:00] local.INFO: Acknowledgment sent {"connection_id":154622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:28:30] local.INFO: TCP Data received {"connection_id":154622,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed077dd8012d50c3c0064daf180008009233..."} 
[2026-08-11 00:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed077dd8012d50c3c0064daf180008009233..."} 
[2026-08-11 00:28:30] local.INFO: Processing buffer {"connection_id":154622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed077dd8012d50c3c0064daf180008009233..."} 
[2026-08-11 00:28:30] local.INFO: Packet analysis {"connection_id":154622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed07"} 
[2026-08-11 00:28:30] local.INFO: Extracted packet for processing {"connection_id":154622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed07"} 
[2026-08-11 00:28:30] local.INFO: GPS Element Parsed {"raw_longitude":760267712,"raw_latitude":105754392,"longitude_deg":76.0267712,"latitude_deg":10.5754392,"altitude":8,"angle":146,"satellites":51,"speed":13,"hex_longitude":"2d50c3c0","hex_latitude":"064daf18","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315357440001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376884136138244096,"note":"Value kept but may cause issues"} 
[2026-08-11 00:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5818791483124439040,"note":"Value kept but may cause issues"} 
[2026-08-11 00:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786388119000,"timestamp_ms":1786388119000,"timestamp_seconds":1786388119,"priority":1,"record_length":96,"hex_timestamp":"0000019fed077dd8"} 
[2026-08-11 00:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 00:28:30] 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-08-11 00: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-08-11 00:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:28:30] 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-08-11 00:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315357440001,"66":27234,"239":206,"78":62464,"24":13,"16":376884136138244096,"45":5818791483124439040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-08-11 00:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315357440001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:28:30] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-11 00:28:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376884136138244096,"km_value":376884136138244.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5818791483124439040,"description":"Unknown IO ID 45"} 
[2026-08-11 00:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315357440001,"power":27234,"unknown_239":206,"unknown_78":62464,"ignition":13,"odometer":null,"unknown_45":5818791483124439040}} 
[2026-08-11 00:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":154622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:28:30] local.INFO: GPS data processed {"connection_id":154622,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:28:30] local.INFO: Acknowledgment sent {"connection_id":154622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:28:59] local.INFO: TCP Data received {"connection_id":153225,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:28:59] local.INFO: Processing buffer {"connection_id":153225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:28:59] local.INFO: IMEI packet received {"connection_id":153225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":153225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:29:00] local.INFO: TCP Data received {"connection_id":153225,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:29:00] local.INFO: Processing buffer {"connection_id":153225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:29:00] local.INFO: IMEI packet received {"connection_id":153225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":153225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:29:03] local.INFO: TCP Data received {"connection_id":153225,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed09e320012d512740064cc590000b009b30..."} 
[2026-08-11 00:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed09e320012d512740064cc590000b009b30..."} 
[2026-08-11 00:29:03] local.INFO: Processing buffer {"connection_id":153225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed09e320012d512740064cc590000b009b30..."} 
[2026-08-11 00:29:03] local.INFO: Packet analysis {"connection_id":153225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed09"} 
[2026-08-11 00:29:03] local.INFO: Extracted packet for processing {"connection_id":153225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed09"} 
[2026-08-11 00:29:03] local.INFO: GPS Element Parsed {"raw_longitude":760293184,"raw_latitude":105694608,"longitude_deg":76.0293184,"latitude_deg":10.5694608,"altitude":11,"angle":155,"satellites":48,"speed":22,"hex_longitude":"2d512740","hex_latitude":"064cc590","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315394304001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376887305824108544,"note":"Value kept but may cause issues"} 
[2026-08-11 00:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5843420543573168128,"note":"Value kept but may cause issues"} 
[2026-08-11 00:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786388276000,"timestamp_ms":1786388276000,"timestamp_seconds":1786388276,"priority":1,"record_length":96,"hex_timestamp":"0000019fed09e320"} 
[2026-08-11 00:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 00:29:03] 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-08-11 00: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-08-11 00:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":153225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":153225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":153225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:29:03] 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-08-11 00:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315394304001,"66":27332,"49":206,"78":62464,"24":22,"16":376887305824108544,"45":5843420543573168128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-08-11 00:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315394304001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:29:03] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-11 00:29:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376887305824108544,"km_value":376887305824108.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5843420543573168128,"description":"Unknown IO ID 45"} 
[2026-08-11 00:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315394304001,"power":27332,"unknown_49":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5843420543573168128}} 
[2026-08-11 00:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":153225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:29:03] local.INFO: GPS data processed {"connection_id":153225,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:29:03] local.INFO: Acknowledgment sent {"connection_id":153225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:29:05] local.INFO: TCP Data received {"connection_id":153225,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0a19d0012d513880064ca518000b00922f..."} 
[2026-08-11 00:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0a19d0012d513880064ca518000b00922f..."} 
[2026-08-11 00:29:05] local.INFO: Processing buffer {"connection_id":153225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0a19d0012d513880064ca518000b00922f..."} 
[2026-08-11 00:29:05] local.INFO: Packet analysis {"connection_id":153225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed0a"} 
[2026-08-11 00:29:05] local.INFO: Extracted packet for processing {"connection_id":153225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed0a"} 
[2026-08-11 00:29:05] local.INFO: GPS Element Parsed {"raw_longitude":760297600,"raw_latitude":105686296,"longitude_deg":76.02976,"latitude_deg":10.5686296,"altitude":11,"angle":146,"satellites":47,"speed":29,"hex_longitude":"2d513880","hex_latitude":"064ca518","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315398656001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376887761090641920,"note":"Value kept but may cause issues"} 
[2026-08-11 00:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5847713036965875712,"note":"Value kept but may cause issues"} 
[2026-08-11 00:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786388290000,"timestamp_ms":1786388290000,"timestamp_seconds":1786388290,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0a19d0"} 
[2026-08-11 00:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 00:29: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-08-11 00: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-08-11 00:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:29:05] 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-08-11 00:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315398656001,"66":27245,"50":206,"78":62464,"24":29,"16":376887761090641920,"45":5847713036965875712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-08-11 00:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315398656001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:29:05] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-11 00:29:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376887761090641920,"km_value":376887761090641.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5847713036965875712,"description":"Unknown IO ID 45"} 
[2026-08-11 00:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315398656001,"power":27245,"unknown_50":206,"unknown_78":62464,"ignition":29,"odometer":null,"unknown_45":5847713036965875712}} 
[2026-08-11 00:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":153225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:29:05] local.INFO: GPS data processed {"connection_id":153225,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:29:05] local.INFO: Acknowledgment sent {"connection_id":153225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:29:36] local.INFO: TCP Data received {"connection_id":153225,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0a48b0012d514f40064c8720000900902e..."} 
[2026-08-11 00:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0a48b0012d514f40064c8720000900902e..."} 
[2026-08-11 00:29:36] local.INFO: Processing buffer {"connection_id":153225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0a48b0012d514f40064c8720000900902e..."} 
[2026-08-11 00:29:36] local.INFO: Packet analysis {"connection_id":153225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed0a"} 
[2026-08-11 00:29:36] local.INFO: Extracted packet for processing {"connection_id":153225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed0a"} 
[2026-08-11 00:29:36] local.INFO: GPS Element Parsed {"raw_longitude":760303424,"raw_latitude":105678624,"longitude_deg":76.0303424,"latitude_deg":10.5678624,"altitude":9,"angle":144,"satellites":46,"speed":34,"hex_longitude":"2d514f40","hex_latitude":"064c8720","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315402240001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376888224947109888,"note":"Value kept but may cause issues"} 
[2026-08-11 00:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5852568480312006656,"note":"Value kept but may cause issues"} 
[2026-08-11 00:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786388302000,"timestamp_ms":1786388302000,"timestamp_seconds":1786388302,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0a48b0"} 
[2026-08-11 00:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 00:29: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-08-11 00: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-08-11 00:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:29:36] 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-08-11 00:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315402240001,"66":27332,"50":206,"78":62464,"24":34,"16":376888224947109888,"45":5852568480312006656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-08-11 00:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315402240001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:29:36] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-11 00:29:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376888224947109888,"km_value":376888224947109.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5852568480312006656,"description":"Unknown IO ID 45"} 
[2026-08-11 00:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315402240001,"power":27332,"unknown_50":206,"unknown_78":62464,"ignition":34,"odometer":null,"unknown_45":5852568480312006656}} 
[2026-08-11 00:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":153225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:29:36] local.INFO: GPS data processed {"connection_id":153225,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:29:36] local.INFO: Acknowledgment sent {"connection_id":153225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:29:54] local.INFO: TCP Data received {"connection_id":151904,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:29:54] local.INFO: Processing buffer {"connection_id":151904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:29:54] local.INFO: IMEI packet received {"connection_id":151904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":151904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:29:55] local.INFO: TCP Data received {"connection_id":151904,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:29:55] local.INFO: Processing buffer {"connection_id":151904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:29:55] local.INFO: IMEI packet received {"connection_id":151904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":151904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:29:59] local.INFO: TCP Data received {"connection_id":151904,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:29:59] local.INFO: Processing buffer {"connection_id":151904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:29:59] local.INFO: IMEI packet received {"connection_id":151904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":151904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:30:00] local.INFO: TCP Data received {"connection_id":151904,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0a7790012d516200064c6720000800952f..."} 
[2026-08-11 00:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0a7790012d516200064c6720000800952f..."} 
[2026-08-11 00:30:00] local.INFO: Processing buffer {"connection_id":151904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0a7790012d516200064c6720000800952f..."} 
[2026-08-11 00:30:00] local.INFO: Packet analysis {"connection_id":151904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed0a"} 
[2026-08-11 00:30:00] local.INFO: Extracted packet for processing {"connection_id":151904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed0a"} 
[2026-08-11 00:30:00] local.INFO: GPS Element Parsed {"raw_longitude":760308224,"raw_latitude":105670432,"longitude_deg":76.0308224,"latitude_deg":10.5670432,"altitude":8,"angle":149,"satellites":47,"speed":28,"hex_longitude":"2d516200","hex_latitude":"064c6720","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315405312001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376888684508610560,"note":"Value kept but may cause issues"} 
[2026-08-11 00:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5858972036030210048,"note":"Value kept but may cause issues"} 
[2026-08-11 00:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786388314000,"timestamp_ms":1786388314000,"timestamp_seconds":1786388314,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0a7790"} 
[2026-08-11 00:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 00:30: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-08-11 00: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-08-11 00:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:30:00] 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-08-11 00:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315405312001,"66":27365,"50":206,"78":62464,"24":28,"16":376888684508610560,"45":5858972036030210048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-08-11 00:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315405312001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:30:00] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-11 00:30:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376888684508610560,"km_value":376888684508610.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5858972036030210048,"description":"Unknown IO ID 45"} 
[2026-08-11 00:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315405312001,"power":27365,"unknown_50":206,"unknown_78":62464,"ignition":28,"odometer":null,"unknown_45":5858972036030210048}} 
[2026-08-11 00:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":151904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:30:00] local.INFO: GPS data processed {"connection_id":151904,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:30:00] local.INFO: Acknowledgment sent {"connection_id":151904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:30:04] local.INFO: TCP Data received {"connection_id":151904,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0aa288012d516fc0064c4a28000800a12e..."} 
[2026-08-11 00:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0aa288012d516fc0064c4a28000800a12e..."} 
[2026-08-11 00:30:04] local.INFO: Processing buffer {"connection_id":151904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0aa288012d516fc0064c4a28000800a12e..."} 
[2026-08-11 00:30:04] local.INFO: Packet analysis {"connection_id":151904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed0a"} 
[2026-08-11 00:30:04] local.INFO: Extracted packet for processing {"connection_id":151904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed0a"} 
[2026-08-11 00:30:04] local.INFO: GPS Element Parsed {"raw_longitude":760311744,"raw_latitude":105663016,"longitude_deg":76.0311744,"latitude_deg":10.5663016,"altitude":8,"angle":161,"satellites":46,"speed":27,"hex_longitude":"2d516fc0","hex_latitude":"064c4a28","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315408384001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376889079645601792,"note":"Value kept but may cause issues"} 
[2026-08-11 00:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5864249691841437696,"note":"Value kept but may cause issues"} 
[2026-08-11 00:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786388325000,"timestamp_ms":1786388325000,"timestamp_seconds":1786388325,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0aa288"} 
[2026-08-11 00:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":229,"data_length":795,"current_offset":136} 
[2026-08-11 00:30: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-08-11 00: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-08-11 00:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:30: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-08-11 00:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315408384001,"66":27365,"50":206,"78":62464,"24":27,"16":376889079645601792,"45":5864249691841437696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-08-11 00:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315408384001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:30:04] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-11 00:30:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376889079645601792,"km_value":376889079645601.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5864249691841437696,"description":"Unknown IO ID 45"} 
[2026-08-11 00:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315408384001,"power":27365,"unknown_50":206,"unknown_78":62464,"ignition":27,"odometer":null,"unknown_45":5864249691841437696}} 
[2026-08-11 00:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":151904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:30:04] local.INFO: GPS data processed {"connection_id":151904,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:30:04] local.INFO: Acknowledgment sent {"connection_id":151904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:30:35] local.INFO: TCP Data received {"connection_id":151904,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0ad550012d517e00064c28a80007009930..."} 
[2026-08-11 00:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0ad550012d517e00064c28a80007009930..."} 
[2026-08-11 00:30:35] local.INFO: Processing buffer {"connection_id":151904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0ad550012d517e00064c28a80007009930..."} 
[2026-08-11 00:30:35] local.INFO: Packet analysis {"connection_id":151904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed0a"} 
[2026-08-11 00:30:35] local.INFO: Extracted packet for processing {"connection_id":151904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed0a"} 
[2026-08-11 00:30:35] local.INFO: GPS Element Parsed {"raw_longitude":760315392,"raw_latitude":105654440,"longitude_deg":76.0315392,"latitude_deg":10.565444,"altitude":7,"angle":153,"satellites":48,"speed":33,"hex_longitude":"2d517e00","hex_latitude":"064c28a8","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315411200001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376889534912135168,"note":"Value kept but may cause issues"} 
[2026-08-11 00:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868119972769310720,"note":"Value kept but may cause issues"} 
[2026-08-11 00:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786388338000,"timestamp_ms":1786388338000,"timestamp_seconds":1786388338,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0ad550"} 
[2026-08-11 00:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":229,"data_length":795,"current_offset":136} 
[2026-08-11 00:30: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-08-11 00: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-08-11 00:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:30: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-08-11 00:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315411200001,"66":27310,"50":206,"78":62464,"24":33,"16":376889534912135168,"45":5868119972769310720},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-08-11 00:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315411200001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:30:35] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-11 00:30:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-11 00:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376889534912135168,"km_value":376889534912135.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868119972769310720,"description":"Unknown IO ID 45"} 
[2026-08-11 00:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315411200001,"power":27310,"unknown_50":206,"unknown_78":62464,"ignition":33,"odometer":null,"unknown_45":5868119972769310720}} 
[2026-08-11 00:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":151904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:30:35] local.INFO: GPS data processed {"connection_id":151904,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:30:35] local.INFO: Acknowledgment sent {"connection_id":151904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:30:54] local.INFO: TCP Data received {"connection_id":153226,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:30:54] local.INFO: Processing buffer {"connection_id":153226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:30:54] local.INFO: IMEI packet received {"connection_id":153226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":153226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:30:58] local.INFO: TCP Data received {"connection_id":153226,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:30:58] local.INFO: Processing buffer {"connection_id":153226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:30:58] local.INFO: IMEI packet received {"connection_id":153226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":153226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:30:59] local.INFO: TCP Data received {"connection_id":153226,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0afc60012d518c00064c07d00007009f2e..."} 
[2026-08-11 00:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0afc60012d518c00064c07d00007009f2e..."} 
[2026-08-11 00:30:59] local.INFO: Processing buffer {"connection_id":153226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0afc60012d518c00064c07d00007009f2e..."} 
[2026-08-11 00:30:59] local.INFO: Packet analysis {"connection_id":153226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed0a"} 
[2026-08-11 00:30:59] local.INFO: Extracted packet for processing {"connection_id":153226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed0a"} 
[2026-08-11 00:30:59] local.INFO: GPS Element Parsed {"raw_longitude":760318976,"raw_latitude":105646032,"longitude_deg":76.0318976,"latitude_deg":10.5646032,"altitude":7,"angle":159,"satellites":46,"speed":37,"hex_longitude":"2d518c00","hex_latitude":"064c07d0","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315414528001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376889977293766656,"note":"Value kept but may cause issues"} 
[2026-08-11 00:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5872130991185242112,"note":"Value kept but may cause issues"} 
[2026-08-11 00:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786388348000,"timestamp_ms":1786388348000,"timestamp_seconds":1786388348,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0afc60"} 
[2026-08-11 00:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-11 00:30:59] 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-08-11 00: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-08-11 00:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:30:59] 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-08-11 00:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315414528001,"66":27343,"95":206,"78":38912,"24":37,"16":376889977293766656,"45":5872130991185242112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-08-11 00:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315414528001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:30:59] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 00:30:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376889977293766656,"km_value":376889977293766.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5872130991185242112,"description":"Unknown IO ID 45"} 
[2026-08-11 00:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315414528001,"power":27343,"unknown_95":206,"unknown_78":38912,"ignition":37,"odometer":null,"unknown_45":5872130991185242112}} 
[2026-08-11 00:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":153226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:30:59] local.INFO: GPS data processed {"connection_id":153226,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:30:59] local.INFO: Acknowledgment sent {"connection_id":153226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:31:31] local.INFO: TCP Data received {"connection_id":153226,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0b1f88012d519940064be7b0000a009d30..."} 
[2026-08-11 00:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0b1f88012d519940064be7b0000a009d30..."} 
[2026-08-11 00:31:31] local.INFO: Processing buffer {"connection_id":153226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0b1f88012d519940064be7b0000a009d30..."} 
[2026-08-11 00:31:31] local.INFO: Packet analysis {"connection_id":153226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed0b"} 
[2026-08-11 00:31:31] local.INFO: Extracted packet for processing {"connection_id":153226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed0b"} 
[2026-08-11 00:31:31] local.INFO: GPS Element Parsed {"raw_longitude":760322368,"raw_latitude":105637808,"longitude_deg":76.0322368,"latitude_deg":10.5637808,"altitude":10,"angle":157,"satellites":48,"speed":38,"hex_longitude":"2d519940","hex_latitude":"064be7b0","is_valid_coordinates":true} 
[2026-08-11 00:31: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-08-11 00:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315417088001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376890406790496256,"note":"Value kept but may cause issues"} 
[2026-08-11 00:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5876071640857038848,"note":"Value kept but may cause issues"} 
[2026-08-11 00:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786388357000,"timestamp_ms":1786388357000,"timestamp_seconds":1786388357,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0b1f88"} 
[2026-08-11 00:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:31: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 00:31:31] 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-08-11 00:31: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-08-11 00:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:31:31] 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-08-11 00:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315417088001,"66":27093,"95":206,"78":38912,"24":38,"16":376890406790496256,"45":5876071640857038848},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-08-11 00:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315417088001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:31:31] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 00:31:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376890406790496256,"km_value":376890406790496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5876071640857038848,"description":"Unknown IO ID 45"} 
[2026-08-11 00:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315417088001,"power":27093,"unknown_95":206,"unknown_78":38912,"ignition":38,"odometer":null,"unknown_45":5876071640857038848}} 
[2026-08-11 00:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":153226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:31:31] local.INFO: GPS data processed {"connection_id":153226,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:31:31] local.INFO: Acknowledgment sent {"connection_id":153226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:31:54] local.INFO: TCP Data received {"connection_id":151905,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:31:54] local.INFO: Processing buffer {"connection_id":151905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:31:54] local.INFO: IMEI packet received {"connection_id":151905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":151905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:31:57] local.INFO: TCP Data received {"connection_id":151905,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:31:57] local.INFO: Processing buffer {"connection_id":151905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:31:57] local.INFO: IMEI packet received {"connection_id":151905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":151905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:31:58] local.INFO: TCP Data received {"connection_id":151905,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0c8eb8012d525e40064a8400000a009831..."} 
[2026-08-11 00:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0c8eb8012d525e40064a8400000a009831..."} 
[2026-08-11 00:31:58] local.INFO: Processing buffer {"connection_id":151905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0c8eb8012d525e40064a8400000a009831..."} 
[2026-08-11 00:31:58] local.INFO: Packet analysis {"connection_id":151905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed0c"} 
[2026-08-11 00:31:58] local.INFO: Extracted packet for processing {"connection_id":151905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed0c"} 
[2026-08-11 00:31:58] local.INFO: GPS Element Parsed {"raw_longitude":760372800,"raw_latitude":105546752,"longitude_deg":76.03728,"latitude_deg":10.5546752,"altitude":10,"angle":152,"satellites":49,"speed":59,"hex_longitude":"2d525e40","hex_latitude":"064a8400","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315441664001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376895440492167168,"note":"Value kept but may cause issues"} 
[2026-08-11 00:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5930044467618191360,"note":"Value kept but may cause issues"} 
[2026-08-11 00:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786388451000,"timestamp_ms":1786388451000,"timestamp_seconds":1786388451,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0c8eb8"} 
[2026-08-11 00:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 00:31:58] 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-08-11 00: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-08-11 00:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":151905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":151905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":151905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:31:58] 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-08-11 00:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315441664001,"66":27343,"93":206,"78":38912,"24":59,"16":376895440492167168,"45":5930044467618191360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-08-11 00:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315441664001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:31:58] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-11 00:31:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376895440492167168,"km_value":376895440492167.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5930044467618191360,"description":"Unknown IO ID 45"} 
[2026-08-11 00:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315441664001,"power":27343,"unknown_93":206,"unknown_78":38912,"ignition":59,"odometer":null,"unknown_45":5930044467618191360}} 
[2026-08-11 00:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":151905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:31:58] local.INFO: GPS data processed {"connection_id":151905,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:31:58] local.INFO: Acknowledgment sent {"connection_id":151905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:32:29] local.INFO: TCP Data received {"connection_id":151905,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0caa10012d527140064a60f00008009731..."} 
[2026-08-11 00:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0caa10012d527140064a60f00008009731..."} 
[2026-08-11 00:32:29] local.INFO: Processing buffer {"connection_id":151905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0caa10012d527140064a60f00008009731..."} 
[2026-08-11 00:32:29] local.INFO: Packet analysis {"connection_id":151905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed0c"} 
[2026-08-11 00:32:29] local.INFO: Extracted packet for processing {"connection_id":151905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed0c"} 
[2026-08-11 00:32:29] local.INFO: GPS Element Parsed {"raw_longitude":760377664,"raw_latitude":105537776,"longitude_deg":76.0377664,"latitude_deg":10.5537776,"altitude":8,"angle":151,"satellites":49,"speed":58,"hex_longitude":"2d527140","hex_latitude":"064a60f0","is_valid_coordinates":true} 
[2026-08-11 00:32: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-08-11 00:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315443456001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376895934413406208,"note":"Value kept but may cause issues"} 
[2026-08-11 00:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5935251754685038592,"note":"Value kept but may cause issues"} 
[2026-08-11 00:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786388458000,"timestamp_ms":1786388458000,"timestamp_seconds":1786388458,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0caa10"} 
[2026-08-11 00:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:32: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-08-11 00:32: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-08-11 00:32: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-08-11 00:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:32:29] 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-08-11 00:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315443456001,"66":27321,"93":206,"78":38912,"24":58,"16":376895934413406208,"45":5935251754685038592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-08-11 00:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315443456001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:32:29] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-11 00:32:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376895934413406208,"km_value":376895934413406.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5935251754685038592,"description":"Unknown IO ID 45"} 
[2026-08-11 00:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315443456001,"power":27321,"unknown_93":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":5935251754685038592}} 
[2026-08-11 00:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":151905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:32:29] local.INFO: GPS data processed {"connection_id":151905,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:32:29] local.INFO: Acknowledgment sent {"connection_id":151905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:32:54] local.INFO: TCP Data received {"connection_id":154623,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:32:54] local.INFO: Processing buffer {"connection_id":154623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:32:54] local.INFO: IMEI packet received {"connection_id":154623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":154623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:32:55] local.INFO: TCP Data received {"connection_id":154623,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:32:55] local.INFO: Processing buffer {"connection_id":154623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:32:55] local.INFO: IMEI packet received {"connection_id":154623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":154623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:32:59] local.INFO: TCP Data received {"connection_id":154623,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:32:59] local.INFO: Processing buffer {"connection_id":154623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:32:59] local.INFO: IMEI packet received {"connection_id":154623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":154623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:33:00] local.INFO: TCP Data received {"connection_id":154623,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0cc568012d528400064a3ea00008009630..."} 
[2026-08-11 00:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0cc568012d528400064a3ea00008009630..."} 
[2026-08-11 00:33:00] local.INFO: Processing buffer {"connection_id":154623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0cc568012d528400064a3ea00008009630..."} 
[2026-08-11 00:33:00] local.INFO: Packet analysis {"connection_id":154623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed0c"} 
[2026-08-11 00:33:00] local.INFO: Extracted packet for processing {"connection_id":154623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed0c"} 
[2026-08-11 00:33:00] local.INFO: GPS Element Parsed {"raw_longitude":760382464,"raw_latitude":105528992,"longitude_deg":76.0382464,"latitude_deg":10.5528992,"altitude":8,"angle":150,"satellites":48,"speed":55,"hex_longitude":"2d528400","hex_latitude":"064a3ea0","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315445248001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376896415449743360,"note":"Value kept but may cause issues"} 
[2026-08-11 00:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5940599779240243200,"note":"Value kept but may cause issues"} 
[2026-08-11 00:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786388465000,"timestamp_ms":1786388465000,"timestamp_seconds":1786388465,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0cc568"} 
[2026-08-11 00:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 00:33:00] 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-08-11 00: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-08-11 00:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:33:00] 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-08-11 00:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315445248001,"66":27223,"93":206,"78":38912,"24":55,"16":376896415449743360,"45":5940599779240243200},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-08-11 00:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315445248001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:33:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-11 00:33:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376896415449743360,"km_value":376896415449743.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5940599779240243200,"description":"Unknown IO ID 45"} 
[2026-08-11 00:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315445248001,"power":27223,"unknown_93":206,"unknown_78":38912,"ignition":55,"odometer":null,"unknown_45":5940599779240243200}} 
[2026-08-11 00:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":154623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:33:00] local.INFO: GPS data processed {"connection_id":154623,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:33:00] local.INFO: Acknowledgment sent {"connection_id":154623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:33:35] local.INFO: TCP Data received {"connection_id":154623,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0e2110012d538c400648db90000d009a30..."} 
[2026-08-11 00:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0e2110012d538c400648db90000d009a30..."} 
[2026-08-11 00:33:35] local.INFO: Processing buffer {"connection_id":154623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0e2110012d538c400648db90000d009a30..."} 
[2026-08-11 00:33:35] local.INFO: Packet analysis {"connection_id":154623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed0e"} 
[2026-08-11 00:33:35] local.INFO: Extracted packet for processing {"connection_id":154623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed0e"} 
[2026-08-11 00:33:35] local.INFO: GPS Element Parsed {"raw_longitude":760450112,"raw_latitude":105438096,"longitude_deg":76.0450112,"latitude_deg":10.5438096,"altitude":13,"angle":154,"satellites":48,"speed":40,"hex_longitude":"2d538c40","hex_latitude":"0648db90","is_valid_coordinates":true} 
[2026-08-11 00:33: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-08-11 00:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315467520001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376901908712914944,"note":"Value kept but may cause issues"} 
[2026-08-11 00:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6015472123021932544,"note":"Value kept but may cause issues"} 
[2026-08-11 00:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786388554000,"timestamp_ms":1786388554000,"timestamp_seconds":1786388554,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0e2110"} 
[2026-08-11 00:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:33: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-08-11 00:33: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-08-11 00:33: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-08-11 00:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:33: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-08-11 00:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315467520001,"66":27441,"193":206,"78":38912,"24":40,"16":376901908712914944,"45":6015472123021932544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-08-11 00:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315467520001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:33:35] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-11 00:33:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376901908712914944,"km_value":376901908712914.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6015472123021932544,"description":"Unknown IO ID 45"} 
[2026-08-11 00:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315467520001,"power":27441,"unknown_193":206,"unknown_78":38912,"ignition":40,"odometer":null,"unknown_45":6015472123021932544}} 
[2026-08-11 00:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":154623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:33:35] local.INFO: GPS data processed {"connection_id":154623,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:33:35] local.INFO: Acknowledgment sent {"connection_id":154623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:33:54] local.INFO: TCP Data received {"connection_id":152285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:33:54] local.INFO: Processing buffer {"connection_id":152285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:33:54] local.INFO: IMEI packet received {"connection_id":152285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":152285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:33:55] local.INFO: TCP Data received {"connection_id":152285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:33:55] local.INFO: Processing buffer {"connection_id":152285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:33:55] local.INFO: IMEI packet received {"connection_id":152285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":152285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:33:55] local.INFO: TCP Data received {"connection_id":152285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:33:55] local.INFO: Processing buffer {"connection_id":152285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:33:55] local.INFO: IMEI packet received {"connection_id":152285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":152285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:33:59] local.INFO: TCP Data received {"connection_id":152285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:33:59] local.INFO: Processing buffer {"connection_id":152285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:33:59] local.INFO: IMEI packet received {"connection_id":152285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":152285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:34:00] local.INFO: TCP Data received {"connection_id":152285,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0e4438012d539bc00648bb30000e009a30..."} 
[2026-08-11 00:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0e4438012d539bc00648bb30000e009a30..."} 
[2026-08-11 00:34:00] local.INFO: Processing buffer {"connection_id":152285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0e4438012d539bc00648bb30000e009a30..."} 
[2026-08-11 00:34:00] local.INFO: Packet analysis {"connection_id":152285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed0e"} 
[2026-08-11 00:34:00] local.INFO: Extracted packet for processing {"connection_id":152285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed0e"} 
[2026-08-11 00:34:00] local.INFO: GPS Element Parsed {"raw_longitude":760454080,"raw_latitude":105429808,"longitude_deg":76.045408,"latitude_deg":10.5429808,"altitude":14,"angle":154,"satellites":48,"speed":41,"hex_longitude":"2d539bc0","hex_latitude":"0648bb30","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315469824001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376902351094546432,"note":"Value kept but may cause issues"} 
[2026-08-11 00:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6020257197623840768,"note":"Value kept but may cause issues"} 
[2026-08-11 00:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786388563000,"timestamp_ms":1786388563000,"timestamp_seconds":1786388563,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0e4438"} 
[2026-08-11 00:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-08-11 00:34:00] 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-08-11 00: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-08-11 00:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:34:00] 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-08-11 00:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315469824001,"66":27267,"193":206,"78":38912,"24":41,"16":376902351094546432,"45":6020257197623840768},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-08-11 00:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315469824001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:34:00] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-11 00:34:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376902351094546432,"km_value":376902351094546.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6020257197623840768,"description":"Unknown IO ID 45"} 
[2026-08-11 00:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315469824001,"power":27267,"unknown_193":206,"unknown_78":38912,"ignition":41,"odometer":null,"unknown_45":6020257197623840768}} 
[2026-08-11 00:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":152285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:34:00] local.INFO: GPS data processed {"connection_id":152285,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:34:00] local.INFO: Acknowledgment sent {"connection_id":152285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:34:31] local.INFO: TCP Data received {"connection_id":152285,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0e6760012d53ac40064899e0000e009a2f..."} 
[2026-08-11 00:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0e6760012d53ac40064899e0000e009a2f..."} 
[2026-08-11 00:34:31] local.INFO: Processing buffer {"connection_id":152285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0e6760012d53ac40064899e0000e009a2f..."} 
[2026-08-11 00:34:31] local.INFO: Packet analysis {"connection_id":152285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed0e"} 
[2026-08-11 00:34:31] local.INFO: Extracted packet for processing {"connection_id":152285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed0e"} 
[2026-08-11 00:34:31] local.INFO: GPS Element Parsed {"raw_longitude":760458304,"raw_latitude":105421280,"longitude_deg":76.0458304,"latitude_deg":10.542128,"altitude":14,"angle":154,"satellites":47,"speed":42,"hex_longitude":"2d53ac40","hex_latitude":"064899e0","is_valid_coordinates":true} 
[2026-08-11 00:34: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-08-11 00:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315472128001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376902810656047104,"note":"Value kept but may cause issues"} 
[2026-08-11 00:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6024620059760734208,"note":"Value kept but may cause issues"} 
[2026-08-11 00:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786388572000,"timestamp_ms":1786388572000,"timestamp_seconds":1786388572,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0e6760"} 
[2026-08-11 00:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:34: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 00:34:31] 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-08-11 00:34: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-08-11 00:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:34:31] 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-08-11 00:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315472128001,"66":27300,"193":206,"78":38912,"24":42,"16":376902810656047104,"45":6024620059760734208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-08-11 00:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315472128001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:34:31] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-11 00:34:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376902810656047104,"km_value":376902810656047.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6024620059760734208,"description":"Unknown IO ID 45"} 
[2026-08-11 00:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315472128001,"power":27300,"unknown_193":206,"unknown_78":38912,"ignition":42,"odometer":null,"unknown_45":6024620059760734208}} 
[2026-08-11 00:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":152285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:34:31] local.INFO: GPS data processed {"connection_id":152285,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:34:31] local.INFO: Acknowledgment sent {"connection_id":152285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:35:04] local.INFO: TCP Data received {"connection_id":154624,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:35:04] local.INFO: Processing buffer {"connection_id":154624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:35:04] local.INFO: IMEI packet received {"connection_id":154624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":154624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:35:09] local.INFO: TCP Data received {"connection_id":154624,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:35:09] local.INFO: Processing buffer {"connection_id":154624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:35:09] local.INFO: IMEI packet received {"connection_id":154624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":154624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:35:10] local.INFO: TCP Data received {"connection_id":154624,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0e8a88012d53bd0006487720000e009931..."} 
[2026-08-11 00:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0e8a88012d53bd0006487720000e009931..."} 
[2026-08-11 00:35:10] local.INFO: Processing buffer {"connection_id":154624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0e8a88012d53bd0006487720000e009931..."} 
[2026-08-11 00:35:10] local.INFO: Packet analysis {"connection_id":154624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed0e"} 
[2026-08-11 00:35:10] local.INFO: Extracted packet for processing {"connection_id":154624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed0e"} 
[2026-08-11 00:35:10] local.INFO: GPS Element Parsed {"raw_longitude":760462592,"raw_latitude":105412384,"longitude_deg":76.0462592,"latitude_deg":10.5412384,"altitude":14,"angle":153,"satellites":49,"speed":45,"hex_longitude":"2d53bd00","hex_latitude":"06487720","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315474432001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376903287397416960,"note":"Value kept but may cause issues"} 
[2026-08-11 00:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6029264396874276864,"note":"Value kept but may cause issues"} 
[2026-08-11 00:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786388581000,"timestamp_ms":1786388581000,"timestamp_seconds":1786388581,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0e8a88"} 
[2026-08-11 00:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 00:35: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-08-11 00: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-08-11 00:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:35:10] 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-08-11 00:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315474432001,"66":27343,"193":206,"78":38912,"24":45,"16":376903287397416960,"45":6029264396874276864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-08-11 00:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315474432001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:35:10] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-11 00:35:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376903287397416960,"km_value":376903287397416.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6029264396874276864,"description":"Unknown IO ID 45"} 
[2026-08-11 00:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315474432001,"power":27343,"unknown_193":206,"unknown_78":38912,"ignition":45,"odometer":null,"unknown_45":6029264396874276864}} 
[2026-08-11 00:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":154624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:35:10] local.INFO: GPS data processed {"connection_id":154624,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:35:10] local.INFO: Acknowledgment sent {"connection_id":154624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:36:12] local.INFO: TCP Data received {"connection_id":152286,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:36:12] local.INFO: Processing buffer {"connection_id":152286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:36:12] local.INFO: IMEI packet received {"connection_id":152286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":152286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:36:13] local.INFO: TCP Data received {"connection_id":152286,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:36:13] local.INFO: Processing buffer {"connection_id":152286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:36:13] local.INFO: IMEI packet received {"connection_id":152286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":152286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:36:14] local.INFO: TCP Data received {"connection_id":152286,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0ea9c8012d53cc0006485668000d009c31..."} 
[2026-08-11 00:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0ea9c8012d53cc0006485668000d009c31..."} 
[2026-08-11 00:36:14] local.INFO: Processing buffer {"connection_id":152286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0ea9c8012d53cc0006485668000d009c31..."} 
[2026-08-11 00:36:14] local.INFO: Packet analysis {"connection_id":152286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed0e"} 
[2026-08-11 00:36:14] local.INFO: Extracted packet for processing {"connection_id":152286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed0e"} 
[2026-08-11 00:36:14] local.INFO: GPS Element Parsed {"raw_longitude":760466432,"raw_latitude":105404008,"longitude_deg":76.0466432,"latitude_deg":10.5404008,"altitude":13,"angle":156,"satellites":49,"speed":47,"hex_longitude":"2d53cc00","hex_latitude":"06485668","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315476736001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376903734074015744,"note":"Value kept but may cause issues"} 
[2026-08-11 00:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6033979102731902976,"note":"Value kept but may cause issues"} 
[2026-08-11 00:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786388589000,"timestamp_ms":1786388589000,"timestamp_seconds":1786388589,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0ea9c8"} 
[2026-08-11 00:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 00:36: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-08-11 00: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-08-11 00:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:36:14] 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-08-11 00:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315476736001,"66":27343,"99":206,"78":38912,"24":47,"16":376903734074015744,"45":6033979102731902976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-08-11 00:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315476736001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:36:14] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 00:36:14] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376903734074015744,"km_value":376903734074015.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":6033979102731902976,"description":"Unknown IO ID 45"} 
[2026-08-11 00:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315476736001,"power":27343,"unknown_99":206,"unknown_78":38912,"ignition":47,"odometer":null,"unknown_45":6033979102731902976}} 
[2026-08-11 00:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":152286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:36:14] local.INFO: GPS data processed {"connection_id":152286,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:36:14] local.INFO: Acknowledgment sent {"connection_id":152286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:36:14] local.INFO: TCP Data received {"connection_id":152286,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed0ec908012d53d8c006483270000a00a731..."} 
[2026-08-11 00:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed0ec908012d53d8c006483270000a00a731..."} 
[2026-08-11 00:36:14] local.INFO: Processing buffer {"connection_id":152286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed0ec908012d53d8c006483270000a00a731..."} 
[2026-08-11 00:36:14] local.INFO: Packet analysis {"connection_id":152286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed0e"} 
[2026-08-11 00:36:14] local.INFO: Extracted packet for processing {"connection_id":152286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed0e"} 
[2026-08-11 00:36:14] local.INFO: GPS Element Parsed {"raw_longitude":760469696,"raw_latitude":105394800,"longitude_deg":76.0469696,"latitude_deg":10.53948,"altitude":10,"angle":167,"satellites":49,"speed":50,"hex_longitude":"2d53d8c0","hex_latitude":"06483270","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315478784001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376904206520418304,"note":"Value kept but may cause issues"} 
[2026-08-11 00:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6038201227380418560,"note":"Value kept but may cause issues"} 
[2026-08-11 00:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786388597000,"timestamp_ms":1786388597000,"timestamp_seconds":1786388597,"priority":1,"record_length":96,"hex_timestamp":"0000019fed0ec908"} 
[2026-08-11 00:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 00:36: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-08-11 00: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-08-11 00:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:36:14] 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-08-11 00:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315478784001,"66":27376,"99":206,"78":38912,"24":50,"16":376904206520418304,"45":6038201227380418560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-08-11 00:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315478784001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:36:14] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 00:36:14] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376904206520418304,"km_value":376904206520418.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":6038201227380418560,"description":"Unknown IO ID 45"} 
[2026-08-11 00:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315478784001,"power":27376,"unknown_99":206,"unknown_78":38912,"ignition":50,"odometer":null,"unknown_45":6038201227380418560}} 
[2026-08-11 00:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":152286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:36:14] local.INFO: GPS data processed {"connection_id":152286,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:36:14] local.INFO: Acknowledgment sent {"connection_id":152286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:36:54] local.INFO: TCP Data received {"connection_id":154625,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:36:54] local.INFO: Processing buffer {"connection_id":154625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:36:54] local.INFO: IMEI packet received {"connection_id":154625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":154625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:36:55] local.INFO: TCP Data received {"connection_id":154625,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:36:55] local.INFO: Processing buffer {"connection_id":154625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:36:55] local.INFO: IMEI packet received {"connection_id":154625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":154625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:36:59] local.INFO: TCP Data received {"connection_id":154625,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:36:59] local.INFO: Processing buffer {"connection_id":154625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:36:59] local.INFO: IMEI packet received {"connection_id":154625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":154625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:37:01] local.INFO: TCP Data received {"connection_id":154625,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed112a68012d53e3000646aa18000900a731..."} 
[2026-08-11 00:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed112a68012d53e3000646aa18000900a731..."} 
[2026-08-11 00:37:01] local.INFO: Processing buffer {"connection_id":154625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed112a68012d53e3000646aa18000900a731..."} 
[2026-08-11 00:37:01] local.INFO: Packet analysis {"connection_id":154625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed11"} 
[2026-08-11 00:37:01] local.INFO: Extracted packet for processing {"connection_id":154625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed11"} 
[2026-08-11 00:37:01] local.INFO: GPS Element Parsed {"raw_longitude":760472320,"raw_latitude":105294360,"longitude_deg":76.047232,"latitude_deg":10.529436,"altitude":9,"angle":167,"satellites":49,"speed":30,"hex_longitude":"2d53e300","hex_latitude":"0646aa18","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315517952001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376909094193201152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042986301958686720,"note":"Value kept but may cause issues"} 
[2026-08-11 00:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786388753000,"timestamp_ms":1786388753000,"timestamp_seconds":1786388753,"priority":1,"record_length":96,"hex_timestamp":"0000019fed112a68"} 
[2026-08-11 00:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 00:37: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-08-11 00: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-08-11 00:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:37:01] 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-08-11 00:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315517952001,"66":27321,"217":206,"78":38912,"24":30,"16":376909094193201152,"45":6042986301958686720},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-08-11 00:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315517952001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:37:01] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-11 00:37:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376909094193201152,"km_value":376909094193201.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042986301958686720,"description":"Unknown IO ID 45"} 
[2026-08-11 00:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315517952001,"power":27321,"unknown_217":206,"unknown_78":38912,"ignition":30,"odometer":null,"unknown_45":6042986301958686720}} 
[2026-08-11 00:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":154625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:37:01] local.INFO: GPS data processed {"connection_id":154625,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:37:01] local.INFO: Acknowledgment sent {"connection_id":154625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:37:32] local.INFO: TCP Data received {"connection_id":154625,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed115948012d53eec0064689700009009b30..."} 
[2026-08-11 00:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed115948012d53eec0064689700009009b30..."} 
[2026-08-11 00:37:32] local.INFO: Processing buffer {"connection_id":154625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed115948012d53eec0064689700009009b30..."} 
[2026-08-11 00:37:32] local.INFO: Packet analysis {"connection_id":154625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed11"} 
[2026-08-11 00:37:32] local.INFO: Extracted packet for processing {"connection_id":154625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed11"} 
[2026-08-11 00:37:32] local.INFO: GPS Element Parsed {"raw_longitude":760475328,"raw_latitude":105286000,"longitude_deg":76.0475328,"latitude_deg":10.5286,"altitude":9,"angle":155,"satellites":48,"speed":31,"hex_longitude":"2d53eec0","hex_latitude":"06468970","is_valid_coordinates":true} 
[2026-08-11 00:37: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-08-11 00:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315520768001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376909523689930752,"note":"Value kept but may cause issues"} 
[2026-08-11 00:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6044675151816693760,"note":"Value kept but may cause issues"} 
[2026-08-11 00:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786388765000,"timestamp_ms":1786388765000,"timestamp_seconds":1786388765,"priority":1,"record_length":96,"hex_timestamp":"0000019fed115948"} 
[2026-08-11 00:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:37: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":185,"data_length":795,"current_offset":136} 
[2026-08-11 00:37:32] 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-08-11 00:37: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-08-11 00:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:37:32] 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-08-11 00:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315520768001,"66":27267,"217":206,"78":38912,"24":31,"16":376909523689930752,"45":6044675151816693760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-08-11 00:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315520768001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:37:32] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-11 00:37:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376909523689930752,"km_value":376909523689930.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6044675151816693760,"description":"Unknown IO ID 45"} 
[2026-08-11 00:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315520768001,"power":27267,"unknown_217":206,"unknown_78":38912,"ignition":31,"odometer":null,"unknown_45":6044675151816693760}} 
[2026-08-11 00:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":154625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:37:32] local.INFO: GPS data processed {"connection_id":154625,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:37:32] local.INFO: Acknowledgment sent {"connection_id":154625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:37:54] local.INFO: TCP Data received {"connection_id":152287,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:37:54] local.INFO: Processing buffer {"connection_id":152287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:37:54] local.INFO: IMEI packet received {"connection_id":152287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":152287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:37:54] local.INFO: TCP Data received {"connection_id":152287,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:37:54] local.INFO: Processing buffer {"connection_id":152287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:37:54] local.INFO: IMEI packet received {"connection_id":152287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":152287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:37:59] local.INFO: TCP Data received {"connection_id":152287,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:37:59] local.INFO: Processing buffer {"connection_id":152287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:37:59] local.INFO: IMEI packet received {"connection_id":152287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":152287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:38:01] local.INFO: TCP Data received {"connection_id":152287,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed115948012d53eec0064689700009009b30..."} 
[2026-08-11 00:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed115948012d53eec0064689700009009b30..."} 
[2026-08-11 00:38:01] local.INFO: Processing buffer {"connection_id":152287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed115948012d53eec0064689700009009b30..."} 
[2026-08-11 00:38:01] local.INFO: Packet analysis {"connection_id":152287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed11"} 
[2026-08-11 00:38:01] local.INFO: Extracted packet for processing {"connection_id":152287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed11"} 
[2026-08-11 00:38:01] local.INFO: GPS Element Parsed {"raw_longitude":760475328,"raw_latitude":105286000,"longitude_deg":76.0475328,"latitude_deg":10.5286,"altitude":9,"angle":155,"satellites":48,"speed":31,"hex_longitude":"2d53eec0","hex_latitude":"06468970","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315523840001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376909523689930752,"note":"Value kept but may cause issues"} 
[2026-08-11 00:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6047982482790903808,"note":"Value kept but may cause issues"} 
[2026-08-11 00:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786388765000,"timestamp_ms":1786388765000,"timestamp_seconds":1786388765,"priority":1,"record_length":96,"hex_timestamp":"0000019fed115948"} 
[2026-08-11 00:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 00:38:01] 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-08-11 00: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-08-11 00:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:38:01] 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-08-11 00:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315523840001,"66":27267,"217":206,"78":38912,"24":31,"16":376909523689930752,"45":6047982482790903808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-08-11 00:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315523840001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:38:01] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-11 00:38:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376909523689930752,"km_value":376909523689930.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6047982482790903808,"description":"Unknown IO ID 45"} 
[2026-08-11 00:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315523840001,"power":27267,"unknown_217":206,"unknown_78":38912,"ignition":31,"odometer":null,"unknown_45":6047982482790903808}} 
[2026-08-11 00:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":152287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:38:01] local.INFO: GPS data processed {"connection_id":152287,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:38:01] local.INFO: Acknowledgment sent {"connection_id":152287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:38:31] local.INFO: TCP Data received {"connection_id":152287,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed118440012d54000006466a380009009132..."} 
[2026-08-11 00:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed118440012d54000006466a380009009132..."} 
[2026-08-11 00:38:31] local.INFO: Processing buffer {"connection_id":152287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed118440012d54000006466a380009009132..."} 
[2026-08-11 00:38:31] local.INFO: Packet analysis {"connection_id":152287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed11"} 
[2026-08-11 00:38:31] local.INFO: Extracted packet for processing {"connection_id":152287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed11"} 
[2026-08-11 00:38:31] local.INFO: GPS Element Parsed {"raw_longitude":760479744,"raw_latitude":105278008,"longitude_deg":76.0479744,"latitude_deg":10.5278008,"altitude":9,"angle":145,"satellites":50,"speed":31,"hex_longitude":"2d540000","hex_latitude":"06466a38","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315523840001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376909966071562240,"note":"Value kept but may cause issues"} 
[2026-08-11 00:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6047982482790903808,"note":"Value kept but may cause issues"} 
[2026-08-11 00:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786388776000,"timestamp_ms":1786388776000,"timestamp_seconds":1786388776,"priority":1,"record_length":96,"hex_timestamp":"0000019fed118440"} 
[2026-08-11 00:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 00:38:31] 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-08-11 00: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-08-11 00:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:38:31] 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-08-11 00:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315523840001,"66":27310,"217":206,"78":38912,"24":31,"16":376909966071562240,"45":6047982482790903808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-08-11 00:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315523840001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:38:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-11 00:38:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376909966071562240,"km_value":376909966071562.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6047982482790903808,"description":"Unknown IO ID 45"} 
[2026-08-11 00:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315523840001,"power":27310,"unknown_217":206,"unknown_78":38912,"ignition":31,"odometer":null,"unknown_45":6047982482790903808}} 
[2026-08-11 00:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":152287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:38:31] local.INFO: GPS data processed {"connection_id":152287,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:38:31] local.INFO: Acknowledgment sent {"connection_id":152287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:39:00] local.INFO: TCP Data received {"connection_id":153227,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:00] local.INFO: Processing buffer {"connection_id":153227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:00] local.INFO: IMEI packet received {"connection_id":153227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":153227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:39:00] local.INFO: TCP Data received {"connection_id":153227,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:00] local.INFO: Processing buffer {"connection_id":153227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:00] local.INFO: IMEI packet received {"connection_id":153227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":153227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:39:04] local.INFO: TCP Data received {"connection_id":153227,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:04] local.INFO: Processing buffer {"connection_id":153227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:04] local.INFO: IMEI packet received {"connection_id":153227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":153227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:39:05] local.INFO: TCP Data received {"connection_id":153227,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed12e3d0012d54c80006450478000e009332..."} 
[2026-08-11 00:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed12e3d0012d54c80006450478000e009332..."} 
[2026-08-11 00:39:05] local.INFO: Processing buffer {"connection_id":153227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed12e3d0012d54c80006450478000e009332..."} 
[2026-08-11 00:39:05] local.INFO: Packet analysis {"connection_id":153227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed12"} 
[2026-08-11 00:39:05] local.INFO: Extracted packet for processing {"connection_id":153227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed12"} 
[2026-08-11 00:39:05] local.INFO: GPS Element Parsed {"raw_longitude":760530944,"raw_latitude":105186424,"longitude_deg":76.0530944,"latitude_deg":10.5186424,"altitude":14,"angle":147,"satellites":50,"speed":43,"hex_longitude":"2d54c800","hex_latitude":"06450478","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315547648001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376915038427938816,"note":"Value kept but may cause issues"} 
[2026-08-11 00:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6103714528156137472,"note":"Value kept but may cause issues"} 
[2026-08-11 00:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786388866000,"timestamp_ms":1786388866000,"timestamp_seconds":1786388866,"priority":1,"record_length":96,"hex_timestamp":"0000019fed12e3d0"} 
[2026-08-11 00:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00: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-08-11 00: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-08-11 00:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:39:05] 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-08-11 00:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315547648001,"66":27234,"217":206,"78":38912,"24":43,"16":376915038427938816,"45":6103714528156137472},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-08-11 00:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315547648001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:39:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-11 00:39:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376915038427938816,"km_value":376915038427938.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6103714528156137472,"description":"Unknown IO ID 45"} 
[2026-08-11 00:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315547648001,"power":27234,"unknown_217":206,"unknown_78":38912,"ignition":43,"odometer":null,"unknown_45":6103714528156137472}} 
[2026-08-11 00:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":153227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:39:05] local.INFO: GPS data processed {"connection_id":153227,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:39:05] local.INFO: Acknowledgment sent {"connection_id":153227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:39:36] local.INFO: TCP Data received {"connection_id":153227,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1306f8012d54dc800644e4e00010009333..."} 
[2026-08-11 00:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1306f8012d54dc800644e4e00010009333..."} 
[2026-08-11 00:39:36] local.INFO: Processing buffer {"connection_id":153227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1306f8012d54dc800644e4e00010009333..."} 
[2026-08-11 00:39:36] local.INFO: Packet analysis {"connection_id":153227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed13"} 
[2026-08-11 00:39:36] local.INFO: Extracted packet for processing {"connection_id":153227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed13"} 
[2026-08-11 00:39:36] local.INFO: GPS Element Parsed {"raw_longitude":760536192,"raw_latitude":105178336,"longitude_deg":76.0536192,"latitude_deg":10.5178336,"altitude":16,"angle":147,"satellites":51,"speed":42,"hex_longitude":"2d54dc80","hex_latitude":"0644e4e0","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315549696001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376915502284406784,"note":"Value kept but may cause issues"} 
[2026-08-11 00:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6109132921455802368,"note":"Value kept but may cause issues"} 
[2026-08-11 00:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786388875000,"timestamp_ms":1786388875000,"timestamp_seconds":1786388875,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1306f8"} 
[2026-08-11 00:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":98,"data_length":795,"current_offset":136} 
[2026-08-11 00:39: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-08-11 00: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-08-11 00:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:39:36] 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-08-11 00:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315549696001,"66":27267,"217":206,"78":38912,"24":42,"16":376915502284406784,"45":6109132921455802368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-08-11 00:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315549696001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:39:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-11 00:39:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376915502284406784,"km_value":376915502284406.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6109132921455802368,"description":"Unknown IO ID 45"} 
[2026-08-11 00:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315549696001,"power":27267,"unknown_217":206,"unknown_78":38912,"ignition":42,"odometer":null,"unknown_45":6109132921455802368}} 
[2026-08-11 00:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":153227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:39:36] local.INFO: GPS data processed {"connection_id":153227,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:39:36] local.INFO: Acknowledgment sent {"connection_id":153227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:39:53] local.INFO: TCP Data received {"connection_id":152288,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:53] local.INFO: Processing buffer {"connection_id":152288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:53] local.INFO: IMEI packet received {"connection_id":152288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":152288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:39:54] local.INFO: TCP Data received {"connection_id":152288,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:54] local.INFO: Processing buffer {"connection_id":152288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:54] local.INFO: IMEI packet received {"connection_id":152288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":152288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:39:59] local.INFO: TCP Data received {"connection_id":152288,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:59] local.INFO: Processing buffer {"connection_id":152288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:39:59] local.INFO: IMEI packet received {"connection_id":152288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":152288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:40:00] local.INFO: TCP Data received {"connection_id":152288,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed132a20012d54f0800644c5e00010009333..."} 
[2026-08-11 00:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed132a20012d54f0800644c5e00010009333..."} 
[2026-08-11 00:40:00] local.INFO: Processing buffer {"connection_id":152288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed132a20012d54f0800644c5e00010009333..."} 
[2026-08-11 00:40:00] local.INFO: Packet analysis {"connection_id":152288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed13"} 
[2026-08-11 00:40:00] local.INFO: Extracted packet for processing {"connection_id":152288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed13"} 
[2026-08-11 00:40:00] local.INFO: GPS Element Parsed {"raw_longitude":760541312,"raw_latitude":105170400,"longitude_deg":76.0541312,"latitude_deg":10.51704,"altitude":16,"angle":147,"satellites":51,"speed":41,"hex_longitude":"2d54f080","hex_latitude":"0644c5e0","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315552000001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376915957550940160,"note":"Value kept but may cause issues"} 
[2026-08-11 00:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6114903158476300288,"note":"Value kept but may cause issues"} 
[2026-08-11 00:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786388884000,"timestamp_ms":1786388884000,"timestamp_seconds":1786388884,"priority":1,"record_length":96,"hex_timestamp":"0000019fed132a20"} 
[2026-08-11 00:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 00:40:00] 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-08-11 00: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-08-11 00:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:40:00] 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-08-11 00:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315552000001,"66":27267,"217":206,"78":38912,"24":41,"16":376915957550940160,"45":6114903158476300288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-08-11 00:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315552000001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:40:00] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-11 00:40:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376915957550940160,"km_value":376915957550940.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6114903158476300288,"description":"Unknown IO ID 45"} 
[2026-08-11 00:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315552000001,"power":27267,"unknown_217":206,"unknown_78":38912,"ignition":41,"odometer":null,"unknown_45":6114903158476300288}} 
[2026-08-11 00:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":152288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:40:01] local.INFO: GPS data processed {"connection_id":152288,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:40:01] local.INFO: Acknowledgment sent {"connection_id":152288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:40:32] local.INFO: TCP Data received {"connection_id":152288,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1485c8012d55b100064362d0000d009b33..."} 
[2026-08-11 00:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1485c8012d55b100064362d0000d009b33..."} 
[2026-08-11 00:40:32] local.INFO: Processing buffer {"connection_id":152288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1485c8012d55b100064362d0000d009b33..."} 
[2026-08-11 00:40:32] local.INFO: Packet analysis {"connection_id":152288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed14"} 
[2026-08-11 00:40:32] local.INFO: Extracted packet for processing {"connection_id":152288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed14"} 
[2026-08-11 00:40:32] local.INFO: GPS Element Parsed {"raw_longitude":760590592,"raw_latitude":105079504,"longitude_deg":76.0590592,"latitude_deg":10.5079504,"altitude":13,"angle":155,"satellites":51,"speed":43,"hex_longitude":"2d55b100","hex_latitude":"064362d0","is_valid_coordinates":true} 
[2026-08-11 00:40: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-08-11 00:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315574784001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376920956892872704,"note":"Value kept but may cause issues"} 
[2026-08-11 00:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6170072253888466944,"note":"Value kept but may cause issues"} 
[2026-08-11 00:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786388973000,"timestamp_ms":1786388973000,"timestamp_seconds":1786388973,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1485c8"} 
[2026-08-11 00:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:40: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-11 00:40:32] 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-08-11 00:40: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-08-11 00:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:40:32] 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-08-11 00:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315574784001,"66":27213,"216":206,"78":38912,"24":43,"16":376920956892872704,"45":6170072253888466944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-08-11 00:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315574784001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:40:32] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 00:40:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376920956892872704,"km_value":376920956892872.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6170072253888466944,"description":"Unknown IO ID 45"} 
[2026-08-11 00:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315574784001,"power":27213,"unknown_216":206,"unknown_78":38912,"ignition":43,"odometer":null,"unknown_45":6170072253888466944}} 
[2026-08-11 00:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":152288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:40:32] local.INFO: GPS data processed {"connection_id":152288,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:40:32] local.INFO: Acknowledgment sent {"connection_id":152288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:40:54] local.INFO: TCP Data received {"connection_id":154626,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:40:54] local.INFO: Processing buffer {"connection_id":154626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:40:54] local.INFO: IMEI packet received {"connection_id":154626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":154626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:40:59] local.INFO: TCP Data received {"connection_id":154626,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:40:59] local.INFO: Processing buffer {"connection_id":154626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:40:59] local.INFO: IMEI packet received {"connection_id":154626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":154626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:41:00] local.INFO: TCP Data received {"connection_id":154626,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed14a8f0012d55c20006433fa8000d009a32..."} 
[2026-08-11 00:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed14a8f0012d55c20006433fa8000d009a32..."} 
[2026-08-11 00:41:00] local.INFO: Processing buffer {"connection_id":154626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed14a8f0012d55c20006433fa8000d009a32..."} 
[2026-08-11 00:41:00] local.INFO: Packet analysis {"connection_id":154626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed14"} 
[2026-08-11 00:41:00] local.INFO: Extracted packet for processing {"connection_id":154626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed14"} 
[2026-08-11 00:41:00] local.INFO: GPS Element Parsed {"raw_longitude":760594944,"raw_latitude":105070504,"longitude_deg":76.0594944,"latitude_deg":10.5070504,"altitude":13,"angle":154,"satellites":50,"speed":45,"hex_longitude":"2d55c200","hex_latitude":"06433fa8","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315577088001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376921442224177152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6174716591002013696,"note":"Value kept but may cause issues"} 
[2026-08-11 00:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786388982000,"timestamp_ms":1786388982000,"timestamp_seconds":1786388982,"priority":1,"record_length":96,"hex_timestamp":"0000019fed14a8f0"} 
[2026-08-11 00:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 00:41:00] 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-08-11 00: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-08-11 00:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:41:00] 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-08-11 00:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315577088001,"66":27310,"216":206,"78":38912,"24":45,"16":376921442224177152,"45":6174716591002013696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-08-11 00:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315577088001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:41:00] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 00:41:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376921442224177152,"km_value":376921442224177.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6174716591002013696,"description":"Unknown IO ID 45"} 
[2026-08-11 00:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315577088001,"power":27310,"unknown_216":206,"unknown_78":38912,"ignition":45,"odometer":null,"unknown_45":6174716591002013696}} 
[2026-08-11 00:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":154626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:41:00] local.INFO: GPS data processed {"connection_id":154626,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:41:00] local.INFO: Acknowledgment sent {"connection_id":154626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:41:31] local.INFO: TCP Data received {"connection_id":154626,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed14c830012d55d1c006431ea8000c009933..."} 
[2026-08-11 00:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed14c830012d55d1c006431ea8000c009933..."} 
[2026-08-11 00:41:31] local.INFO: Processing buffer {"connection_id":154626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed14c830012d55d1c006431ea8000c009933..."} 
[2026-08-11 00:41:31] local.INFO: Packet analysis {"connection_id":154626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed14"} 
[2026-08-11 00:41:31] local.INFO: Extracted packet for processing {"connection_id":154626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed14"} 
[2026-08-11 00:41:31] local.INFO: GPS Element Parsed {"raw_longitude":760598976,"raw_latitude":105062056,"longitude_deg":76.0598976,"latitude_deg":10.5062056,"altitude":12,"angle":153,"satellites":51,"speed":47,"hex_longitude":"2d55d1c0","hex_latitude":"06431ea8","is_valid_coordinates":true} 
[2026-08-11 00:41: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-08-11 00:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315579392001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376921893195743232,"note":"Value kept but may cause issues"} 
[2026-08-11 00:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6179501665603790848,"note":"Value kept but may cause issues"} 
[2026-08-11 00:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786388990000,"timestamp_ms":1786388990000,"timestamp_seconds":1786388990,"priority":1,"record_length":96,"hex_timestamp":"0000019fed14c830"} 
[2026-08-11 00:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:41: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-11 00:41:31] 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-08-11 00:41: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-08-11 00:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:41:31] 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-08-11 00:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315579392001,"66":27343,"216":206,"78":38912,"24":47,"16":376921893195743232,"45":6179501665603790848},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-08-11 00:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315579392001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:41:31] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 00:41:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376921893195743232,"km_value":376921893195743.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6179501665603790848,"description":"Unknown IO ID 45"} 
[2026-08-11 00:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315579392001,"power":27343,"unknown_216":206,"unknown_78":38912,"ignition":47,"odometer":null,"unknown_45":6179501665603790848}} 
[2026-08-11 00:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":154626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:41:31] local.INFO: GPS data processed {"connection_id":154626,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:41:31] local.INFO: Acknowledgment sent {"connection_id":154626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:41:54] local.INFO: TCP Data received {"connection_id":151906,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:41:54] local.INFO: Processing buffer {"connection_id":151906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:41:54] local.INFO: IMEI packet received {"connection_id":151906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":151906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:41:59] local.INFO: TCP Data received {"connection_id":151906,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:41:59] local.INFO: Processing buffer {"connection_id":151906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:41:59] local.INFO: IMEI packet received {"connection_id":151906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":151906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:42:00] local.INFO: TCP Data received {"connection_id":151906,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed14e770012d55e2400642fc90000a009a33..."} 
[2026-08-11 00:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed14e770012d55e2400642fc90000a009a33..."} 
[2026-08-11 00:42:00] local.INFO: Processing buffer {"connection_id":151906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed14e770012d55e2400642fc90000a009a33..."} 
[2026-08-11 00:42:00] local.INFO: Packet analysis {"connection_id":151906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed14"} 
[2026-08-11 00:42:00] local.INFO: Extracted packet for processing {"connection_id":151906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed14"} 
[2026-08-11 00:42:00] local.INFO: GPS Element Parsed {"raw_longitude":760603200,"raw_latitude":105053328,"longitude_deg":76.06032,"latitude_deg":10.5053328,"altitude":10,"angle":154,"satellites":51,"speed":48,"hex_longitude":"2d55e240","hex_latitude":"0642fc90","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315581440001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376922361347178496,"note":"Value kept but may cause issues"} 
[2026-08-11 00:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6183934896484820992,"note":"Value kept but may cause issues"} 
[2026-08-11 00:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786388998000,"timestamp_ms":1786388998000,"timestamp_seconds":1786388998,"priority":1,"record_length":96,"hex_timestamp":"0000019fed14e770"} 
[2026-08-11 00:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 00:42:00] 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-08-11 00: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-08-11 00:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:42:00] 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-08-11 00:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315581440001,"66":27267,"251":206,"78":38912,"24":48,"16":376922361347178496,"45":6183934896484820992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,78,24,16,45]} 
[2026-08-11 00:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315581440001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:42:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-11 00:42:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376922361347178496,"km_value":376922361347178.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6183934896484820992,"description":"Unknown IO ID 45"} 
[2026-08-11 00:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315581440001,"power":27267,"unknown_251":206,"unknown_78":38912,"ignition":48,"odometer":null,"unknown_45":6183934896484820992}} 
[2026-08-11 00:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":151906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:42:00] local.INFO: GPS data processed {"connection_id":151906,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:42:00] local.INFO: Acknowledgment sent {"connection_id":151906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:42:31] local.INFO: TCP Data received {"connection_id":151906,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1652b8012d56a30006419570000b009a31..."} 
[2026-08-11 00:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1652b8012d56a30006419570000b009a31..."} 
[2026-08-11 00:42:31] local.INFO: Processing buffer {"connection_id":151906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1652b8012d56a30006419570000b009a31..."} 
[2026-08-11 00:42:31] local.INFO: Packet analysis {"connection_id":151906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed16"} 
[2026-08-11 00:42:31] local.INFO: Extracted packet for processing {"connection_id":151906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed16"} 
[2026-08-11 00:42:31] local.INFO: GPS Element Parsed {"raw_longitude":760652544,"raw_latitude":104961392,"longitude_deg":76.0652544,"latitude_deg":10.4961392,"altitude":11,"angle":154,"satellites":49,"speed":39,"hex_longitude":"2d56a300","hex_latitude":"06419570","is_valid_coordinates":true} 
[2026-08-11 00:42: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-08-11 00:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315604992001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376927407933751296,"note":"Value kept but may cause issues"} 
[2026-08-11 00:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238400304454705152,"note":"Value kept but may cause issues"} 
[2026-08-11 00:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786389091000,"timestamp_ms":1786389091000,"timestamp_seconds":1786389091,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1652b8"} 
[2026-08-11 00:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:42: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 00:42:31] 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-08-11 00:42: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-08-11 00:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:42:31] 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-08-11 00:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315604992001,"66":27365,"111":206,"78":38912,"24":39,"16":376927407933751296,"45":6238400304454705152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-08-11 00:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315604992001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:42:31] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 00:42:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376927407933751296,"km_value":376927407933751.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238400304454705152,"description":"Unknown IO ID 45"} 
[2026-08-11 00:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315604992001,"power":27365,"unknown_111":206,"unknown_78":38912,"ignition":39,"odometer":null,"unknown_45":6238400304454705152}} 
[2026-08-11 00:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":151906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:42:31] local.INFO: GPS data processed {"connection_id":151906,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:42:31] local.INFO: Acknowledgment sent {"connection_id":151906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:43:01] local.INFO: TCP Data received {"connection_id":152289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:43:01] local.INFO: Processing buffer {"connection_id":152289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:43:01] local.INFO: IMEI packet received {"connection_id":152289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":152289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:43:02] local.INFO: TCP Data received {"connection_id":152289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:43:02] local.INFO: Processing buffer {"connection_id":152289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:43:02] local.INFO: IMEI packet received {"connection_id":152289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":152289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:43:04] local.INFO: TCP Data received {"connection_id":152289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:43:04] local.INFO: Processing buffer {"connection_id":152289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:43:04] local.INFO: IMEI packet received {"connection_id":152289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":152289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:43:05] local.INFO: TCP Data received {"connection_id":152289,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1679c8012d56b48006417410000e00962f..."} 
[2026-08-11 00:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1679c8012d56b48006417410000e00962f..."} 
[2026-08-11 00:43:05] local.INFO: Processing buffer {"connection_id":152289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1679c8012d56b48006417410000e00962f..."} 
[2026-08-11 00:43:05] local.INFO: Packet analysis {"connection_id":152289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed16"} 
[2026-08-11 00:43:05] local.INFO: Extracted packet for processing {"connection_id":152289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed16"} 
[2026-08-11 00:43:05] local.INFO: GPS Element Parsed {"raw_longitude":760657024,"raw_latitude":104952848,"longitude_deg":76.0657024,"latitude_deg":10.4952848,"altitude":14,"angle":150,"satellites":47,"speed":37,"hex_longitude":"2d56b480","hex_latitude":"06417410","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315607296001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376927876085186560,"note":"Value kept but may cause issues"} 
[2026-08-11 00:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6242833535335755776,"note":"Value kept but may cause issues"} 
[2026-08-11 00:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786389101000,"timestamp_ms":1786389101000,"timestamp_seconds":1786389101,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1679c8"} 
[2026-08-11 00:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 00:43: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-08-11 00: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-08-11 00:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:43:05] 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-08-11 00:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315607296001,"66":27310,"111":206,"78":38912,"24":37,"16":376927876085186560,"45":6242833535335755776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-08-11 00:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315607296001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:43:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 00:43:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376927876085186560,"km_value":376927876085186.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6242833535335755776,"description":"Unknown IO ID 45"} 
[2026-08-11 00:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315607296001,"power":27310,"unknown_111":206,"unknown_78":38912,"ignition":37,"odometer":null,"unknown_45":6242833535335755776}} 
[2026-08-11 00:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":152289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:43:05] local.INFO: GPS data processed {"connection_id":152289,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:43:05] local.INFO: Acknowledgment sent {"connection_id":152289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:43:09] local.INFO: TCP Data received {"connection_id":152289,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed16a0d8012d56c68006415588000f009431..."} 
[2026-08-11 00:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed16a0d8012d56c68006415588000f009431..."} 
[2026-08-11 00:43:09] local.INFO: Processing buffer {"connection_id":152289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed16a0d8012d56c68006415588000f009431..."} 
[2026-08-11 00:43:09] local.INFO: Packet analysis {"connection_id":152289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed16"} 
[2026-08-11 00:43:09] local.INFO: Extracted packet for processing {"connection_id":152289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed16"} 
[2026-08-11 00:43:09] local.INFO: GPS Element Parsed {"raw_longitude":760661632,"raw_latitude":104945032,"longitude_deg":76.0661632,"latitude_deg":10.4945032,"altitude":15,"angle":148,"satellites":49,"speed":34,"hex_longitude":"2d56c680","hex_latitude":"06415588","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315609856001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376928314171850752,"note":"Value kept but may cause issues"} 
[2026-08-11 00:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6247759347426004992,"note":"Value kept but may cause issues"} 
[2026-08-11 00:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786389111000,"timestamp_ms":1786389111000,"timestamp_seconds":1786389111,"priority":1,"record_length":96,"hex_timestamp":"0000019fed16a0d8"} 
[2026-08-11 00:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-11 00:43: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-08-11 00: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-08-11 00:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:43:09] 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-08-11 00:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315609856001,"66":27267,"111":206,"78":38912,"24":34,"16":376928314171850752,"45":6247759347426004992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-08-11 00:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315609856001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:43:09] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 00:43:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376928314171850752,"km_value":376928314171850.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6247759347426004992,"description":"Unknown IO ID 45"} 
[2026-08-11 00:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315609856001,"power":27267,"unknown_111":206,"unknown_78":38912,"ignition":34,"odometer":null,"unknown_45":6247759347426004992}} 
[2026-08-11 00:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":152289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:43:09] local.INFO: GPS data processed {"connection_id":152289,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:43:09] local.INFO: Acknowledgment sent {"connection_id":152289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:43:55] local.INFO: TCP Data received {"connection_id":153228,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:43:55] local.INFO: Processing buffer {"connection_id":153228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:43:55] local.INFO: IMEI packet received {"connection_id":153228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":153228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:43:58] local.INFO: TCP Data received {"connection_id":153228,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:43:58] local.INFO: Processing buffer {"connection_id":153228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:43:58] local.INFO: IMEI packet received {"connection_id":153228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":153228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:43:59] local.INFO: TCP Data received {"connection_id":153228,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed16cbd0012d56dac0064136580010009131..."} 
[2026-08-11 00:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed16cbd0012d56dac0064136580010009131..."} 
[2026-08-11 00:43:59] local.INFO: Processing buffer {"connection_id":153228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed16cbd0012d56dac0064136580010009131..."} 
[2026-08-11 00:43:59] local.INFO: Packet analysis {"connection_id":153228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed16"} 
[2026-08-11 00:43:59] local.INFO: Extracted packet for processing {"connection_id":153228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed16"} 
[2026-08-11 00:43:59] local.INFO: GPS Element Parsed {"raw_longitude":760666816,"raw_latitude":104937048,"longitude_deg":76.0666816,"latitude_deg":10.4937048,"altitude":16,"angle":145,"satellites":49,"speed":34,"hex_longitude":"2d56dac0","hex_latitude":"06413658","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315612416001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376928773733351424,"note":"Value kept but may cause issues"} 
[2026-08-11 00:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6252825897004795904,"note":"Value kept but may cause issues"} 
[2026-08-11 00:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786389122000,"timestamp_ms":1786389122000,"timestamp_seconds":1786389122,"priority":1,"record_length":96,"hex_timestamp":"0000019fed16cbd0"} 
[2026-08-11 00:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 00:43:59] 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-08-11 00: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-08-11 00:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:43:59] 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-08-11 00:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315612416001,"66":27310,"111":206,"78":38912,"24":34,"16":376928773733351424,"45":6252825897004795904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-08-11 00:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315612416001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:43:59] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 00:43:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-11 00:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376928773733351424,"km_value":376928773733351.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6252825897004795904,"description":"Unknown IO ID 45"} 
[2026-08-11 00:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315612416001,"power":27310,"unknown_111":206,"unknown_78":38912,"ignition":34,"odometer":null,"unknown_45":6252825897004795904}} 
[2026-08-11 00:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":153228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:43:59] local.INFO: GPS data processed {"connection_id":153228,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:43:59] local.INFO: Acknowledgment sent {"connection_id":153228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:44:30] local.INFO: TCP Data received {"connection_id":153228,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed181fa8012d581c80064086000005007231..."} 
[2026-08-11 00:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed181fa8012d581c80064086000005007231..."} 
[2026-08-11 00:44:31] local.INFO: Processing buffer {"connection_id":153228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed181fa8012d581c80064086000005007231..."} 
[2026-08-11 00:44:31] local.INFO: Packet analysis {"connection_id":153228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed18"} 
[2026-08-11 00:44:31] local.INFO: Extracted packet for processing {"connection_id":153228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed18"} 
[2026-08-11 00:44:31] local.INFO: GPS Element Parsed {"raw_longitude":760749184,"raw_latitude":104891904,"longitude_deg":76.0749184,"latitude_deg":10.4891904,"altitude":5,"angle":114,"satellites":49,"speed":41,"hex_longitude":"2d581c80","hex_latitude":"06408600","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315635200001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376933313513783296,"note":"Value kept but may cause issues"} 
[2026-08-11 00:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6339660927307393024,"note":"Value kept but may cause issues"} 
[2026-08-11 00:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786389209000,"timestamp_ms":1786389209000,"timestamp_seconds":1786389209,"priority":1,"record_length":96,"hex_timestamp":"0000019fed181fa8"} 
[2026-08-11 00:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 00:44:31] 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-08-11 00: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-08-11 00:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:44:31] 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-08-11 00:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315635200001,"66":27245,"11":206,"78":38656,"24":41,"16":376933313513783296,"45":6339660927307393024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-08-11 00:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315635200001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:44:31] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-11 00:44:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376933313513783296,"km_value":376933313513783.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6339660927307393024,"description":"Unknown IO ID 45"} 
[2026-08-11 00:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315635200001,"power":27245,"unknown_11":206,"unknown_78":38656,"ignition":41,"odometer":null,"unknown_45":6339660927307393024}} 
[2026-08-11 00:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":153228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:44:31] local.INFO: GPS data processed {"connection_id":153228,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:44:31] local.INFO: Acknowledgment sent {"connection_id":153228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:44:54] local.INFO: TCP Data received {"connection_id":154627,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:44:54] local.INFO: Processing buffer {"connection_id":154627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:44:54] local.INFO: IMEI packet received {"connection_id":154627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":154627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:44:59] local.INFO: TCP Data received {"connection_id":154627,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:44:59] local.INFO: Processing buffer {"connection_id":154627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:44:59] local.INFO: IMEI packet received {"connection_id":154627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":154627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:45:00] local.INFO: TCP Data received {"connection_id":154627,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1842d0012d583d00064076480005007732..."} 
[2026-08-11 00:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1842d0012d583d00064076480005007732..."} 
[2026-08-11 00:45:00] local.INFO: Processing buffer {"connection_id":154627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1842d0012d583d00064076480005007732..."} 
[2026-08-11 00:45:00] local.INFO: Packet analysis {"connection_id":154627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed18"} 
[2026-08-11 00:45:00] local.INFO: Extracted packet for processing {"connection_id":154627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed18"} 
[2026-08-11 00:45:00] local.INFO: GPS Element Parsed {"raw_longitude":760757504,"raw_latitude":104887880,"longitude_deg":76.0757504,"latitude_deg":10.488788,"altitude":5,"angle":119,"satellites":50,"speed":40,"hex_longitude":"2d583d00","hex_latitude":"06407648","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315637504001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376933755895414784,"note":"Value kept but may cause issues"} 
[2026-08-11 00:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6349090339026239488,"note":"Value kept but may cause issues"} 
[2026-08-11 00:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786389218000,"timestamp_ms":1786389218000,"timestamp_seconds":1786389218,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1842d0"} 
[2026-08-11 00:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 00:45:00] 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-08-11 00: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-08-11 00:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:45:00] 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-08-11 00:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315637504001,"66":27365,"11":206,"78":38656,"24":40,"16":376933755895414784,"45":6349090339026239488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-08-11 00:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315637504001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:45:00] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-11 00:45:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376933755895414784,"km_value":376933755895414.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6349090339026239488,"description":"Unknown IO ID 45"} 
[2026-08-11 00:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315637504001,"power":27365,"unknown_11":206,"unknown_78":38656,"ignition":40,"odometer":null,"unknown_45":6349090339026239488}} 
[2026-08-11 00:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":154627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:45:00] local.INFO: GPS data processed {"connection_id":154627,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:45:00] local.INFO: Acknowledgment sent {"connection_id":154627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:45:31] local.INFO: TCP Data received {"connection_id":154627,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1865f8012d585b80064062500005007f32..."} 
[2026-08-11 00:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1865f8012d585b80064062500005007f32..."} 
[2026-08-11 00:45:31] local.INFO: Processing buffer {"connection_id":154627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1865f8012d585b80064062500005007f32..."} 
[2026-08-11 00:45:31] local.INFO: Packet analysis {"connection_id":154627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed18"} 
[2026-08-11 00:45:31] local.INFO: Extracted packet for processing {"connection_id":154627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed18"} 
[2026-08-11 00:45:31] local.INFO: GPS Element Parsed {"raw_longitude":760765312,"raw_latitude":104882768,"longitude_deg":76.0765312,"latitude_deg":10.4882768,"altitude":5,"angle":127,"satellites":50,"speed":41,"hex_longitude":"2d585b80","hex_latitude":"06406250","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315639808001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376934202572013568,"note":"Value kept but may cause issues"} 
[2026-08-11 00:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6358238275768305664,"note":"Value kept but may cause issues"} 
[2026-08-11 00:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786389227000,"timestamp_ms":1786389227000,"timestamp_seconds":1786389227,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1865f8"} 
[2026-08-11 00:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 00:45:31] 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-08-11 00: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-08-11 00:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:45:31] 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-08-11 00:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315639808001,"66":27300,"11":206,"78":38656,"24":41,"16":376934202572013568,"45":6358238275768305664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-08-11 00:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315639808001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:45:31] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-11 00:45:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376934202572013568,"km_value":376934202572013.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6358238275768305664,"description":"Unknown IO ID 45"} 
[2026-08-11 00:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315639808001,"power":27300,"unknown_11":206,"unknown_78":38656,"ignition":41,"odometer":null,"unknown_45":6358238275768305664}} 
[2026-08-11 00:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":154627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:45:31] local.INFO: GPS data processed {"connection_id":154627,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:45:31] local.INFO: Acknowledgment sent {"connection_id":154627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:45:54] local.INFO: TCP Data received {"connection_id":152290,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:45:54] local.INFO: Processing buffer {"connection_id":152290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:45:54] local.INFO: IMEI packet received {"connection_id":152290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":152290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:45:59] local.INFO: TCP Data received {"connection_id":152290,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:45:59] local.INFO: Processing buffer {"connection_id":152290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:45:59] local.INFO: IMEI packet received {"connection_id":152290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":152290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:46:00] local.INFO: TCP Data received {"connection_id":152290,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed188920012d5875c0064049480006008a31..."} 
[2026-08-11 00:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed188920012d5875c0064049480006008a31..."} 
[2026-08-11 00:46:00] local.INFO: Processing buffer {"connection_id":152290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed188920012d5875c0064049480006008a31..."} 
[2026-08-11 00:46:00] local.INFO: Packet analysis {"connection_id":152290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed18"} 
[2026-08-11 00:46:00] local.INFO: Extracted packet for processing {"connection_id":152290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed18"} 
[2026-08-11 00:46:00] local.INFO: GPS Element Parsed {"raw_longitude":760772032,"raw_latitude":104876360,"longitude_deg":76.0772032,"latitude_deg":10.487636,"altitude":6,"angle":138,"satellites":49,"speed":40,"hex_longitude":"2d5875c0","hex_latitude":"06404948","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315642112001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376934649248612352,"note":"Value kept but may cause issues"} 
[2026-08-11 00:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6366823262556672000,"note":"Value kept but may cause issues"} 
[2026-08-11 00:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786389236000,"timestamp_ms":1786389236000,"timestamp_seconds":1786389236,"priority":1,"record_length":96,"hex_timestamp":"0000019fed188920"} 
[2026-08-11 00:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 00:46:00] 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-08-11 00: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-08-11 00:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:46:00] 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-08-11 00:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315642112001,"66":27213,"11":206,"78":38656,"24":40,"16":376934649248612352,"45":6366823262556672000},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-08-11 00:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315642112001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:46:00] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-11 00:46:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376934649248612352,"km_value":376934649248612.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6366823262556672000,"description":"Unknown IO ID 45"} 
[2026-08-11 00:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315642112001,"power":27213,"unknown_11":206,"unknown_78":38656,"ignition":40,"odometer":null,"unknown_45":6366823262556672000}} 
[2026-08-11 00:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":152290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:46:00] local.INFO: GPS data processed {"connection_id":152290,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:46:00] local.INFO: Acknowledgment sent {"connection_id":152290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:46:31] local.INFO: TCP Data received {"connection_id":152290,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed19f850012d5948c0063ef2600007009532..."} 
[2026-08-11 00:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed19f850012d5948c0063ef2600007009532..."} 
[2026-08-11 00:46:31] local.INFO: Processing buffer {"connection_id":152290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed19f850012d5948c0063ef2600007009532..."} 
[2026-08-11 00:46:31] local.INFO: Packet analysis {"connection_id":152290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed19"} 
[2026-08-11 00:46:31] local.INFO: Extracted packet for processing {"connection_id":152290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed19"} 
[2026-08-11 00:46:31] local.INFO: GPS Element Parsed {"raw_longitude":760826048,"raw_latitude":104788576,"longitude_deg":76.0826048,"latitude_deg":10.4788576,"altitude":7,"angle":149,"satellites":50,"speed":41,"hex_longitude":"2d5948c0","hex_latitude":"063ef260","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315666176001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376939627115708416,"note":"Value kept but may cause issues"} 
[2026-08-11 00:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6428184807457562624,"note":"Value kept but may cause issues"} 
[2026-08-11 00:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786389330000,"timestamp_ms":1786389330000,"timestamp_seconds":1786389330,"priority":1,"record_length":96,"hex_timestamp":"0000019fed19f850"} 
[2026-08-11 00:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 00:46:31] 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-08-11 00: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-08-11 00:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:46:31] 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-08-11 00:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315666176001,"66":27213,"103":206,"78":38656,"24":41,"16":376939627115708416,"45":6428184807457562624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,78,24,16,45]} 
[2026-08-11 00:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315666176001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:46:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 00:46:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376939627115708416,"km_value":376939627115708.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6428184807457562624,"description":"Unknown IO ID 45"} 
[2026-08-11 00:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315666176001,"power":27213,"unknown_103":206,"unknown_78":38656,"ignition":41,"odometer":null,"unknown_45":6428184807457562624}} 
[2026-08-11 00:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":152290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:46:31] local.INFO: GPS data processed {"connection_id":152290,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:46:31] local.INFO: Acknowledgment sent {"connection_id":152290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:46:58] local.INFO: TCP Data received {"connection_id":153229,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:46:58] local.INFO: Processing buffer {"connection_id":153229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:46:58] local.INFO: IMEI packet received {"connection_id":153229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":153229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:46:59] local.INFO: TCP Data received {"connection_id":153229,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:46:59] local.INFO: Processing buffer {"connection_id":153229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:46:59] local.INFO: IMEI packet received {"connection_id":153229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":153229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:47:04] local.INFO: TCP Data received {"connection_id":153229,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:47:04] local.INFO: Processing buffer {"connection_id":153229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:47:04] local.INFO: IMEI packet received {"connection_id":153229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":153229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:47:05] local.INFO: TCP Data received {"connection_id":153229,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1a1b78012d595b80063ed2580007009531..."} 
[2026-08-11 00:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1a1b78012d595b80063ed2580007009531..."} 
[2026-08-11 00:47:05] local.INFO: Processing buffer {"connection_id":153229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1a1b78012d595b80063ed2580007009531..."} 
[2026-08-11 00:47:05] local.INFO: Packet analysis {"connection_id":153229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed1a"} 
[2026-08-11 00:47:05] local.INFO: Extracted packet for processing {"connection_id":153229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed1a"} 
[2026-08-11 00:47:05] local.INFO: GPS Element Parsed {"raw_longitude":760830848,"raw_latitude":104780376,"longitude_deg":76.0830848,"latitude_deg":10.4780376,"altitude":7,"angle":149,"satellites":49,"speed":42,"hex_longitude":"2d595b80","hex_latitude":"063ed258","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315668480001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376940086677209088,"note":"Value kept but may cause issues"} 
[2026-08-11 00:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6433603200757161984,"note":"Value kept but may cause issues"} 
[2026-08-11 00:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786389339000,"timestamp_ms":1786389339000,"timestamp_seconds":1786389339,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1a1b78"} 
[2026-08-11 00:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 00:47: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-08-11 00: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-08-11 00:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:47:05] 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-08-11 00:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315668480001,"66":27234,"13":206,"78":38656,"24":42,"16":376940086677209088,"45":6433603200757161984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-11 00:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315668480001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:47:05] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-11 00:47:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376940086677209088,"km_value":376940086677209.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6433603200757161984,"description":"Unknown IO ID 45"} 
[2026-08-11 00:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315668480001,"power":27234,"unknown_13":206,"unknown_78":38656,"ignition":42,"odometer":null,"unknown_45":6433603200757161984}} 
[2026-08-11 00:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":153229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:47:05] local.INFO: GPS data processed {"connection_id":153229,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:47:05] local.INFO: Acknowledgment sent {"connection_id":153229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:47:09] local.INFO: TCP Data received {"connection_id":153229,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1a3ab8012d596d40063eb4800006009431..."} 
[2026-08-11 00:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1a3ab8012d596d40063eb4800006009431..."} 
[2026-08-11 00:47:09] local.INFO: Processing buffer {"connection_id":153229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1a3ab8012d596d40063eb4800006009431..."} 
[2026-08-11 00:47:09] local.INFO: Packet analysis {"connection_id":153229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed1a"} 
[2026-08-11 00:47:09] local.INFO: Extracted packet for processing {"connection_id":153229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed1a"} 
[2026-08-11 00:47:09] local.INFO: GPS Element Parsed {"raw_longitude":760835392,"raw_latitude":104772736,"longitude_deg":76.0835392,"latitude_deg":10.4772736,"altitude":6,"angle":148,"satellites":49,"speed":45,"hex_longitude":"2d596d40","hex_latitude":"063eb480","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315670784001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376940516173938688,"note":"Value kept but may cause issues"} 
[2026-08-11 00:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6438880856568387584,"note":"Value kept but may cause issues"} 
[2026-08-11 00:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786389347000,"timestamp_ms":1786389347000,"timestamp_seconds":1786389347,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1a3ab8"} 
[2026-08-11 00:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":98,"data_length":795,"current_offset":136} 
[2026-08-11 00:47: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-08-11 00: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-08-11 00:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:47:09] 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-08-11 00:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315670784001,"66":27267,"13":206,"78":38656,"24":45,"16":376940516173938688,"45":6438880856568387584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-11 00:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315670784001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:47:09] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-11 00:47:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376940516173938688,"km_value":376940516173938.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6438880856568387584,"description":"Unknown IO ID 45"} 
[2026-08-11 00:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315670784001,"power":27267,"unknown_13":206,"unknown_78":38656,"ignition":45,"odometer":null,"unknown_45":6438880856568387584}} 
[2026-08-11 00:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":153229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:47:09] local.INFO: GPS data processed {"connection_id":153229,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:47:09] local.INFO: Acknowledgment sent {"connection_id":153229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:48:29] local.INFO: TCP Data received {"connection_id":154628,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:48:29] local.INFO: Processing buffer {"connection_id":154628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:48:29] local.INFO: IMEI packet received {"connection_id":154628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":154628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:48:29] local.INFO: TCP Data received {"connection_id":154628,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:48:29] local.INFO: Processing buffer {"connection_id":154628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:48:29] local.INFO: IMEI packet received {"connection_id":154628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":154628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:48:34] local.INFO: TCP Data received {"connection_id":154628,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:48:34] local.INFO: Processing buffer {"connection_id":154628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:48:34] local.INFO: IMEI packet received {"connection_id":154628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":154628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:48:35] local.INFO: TCP Data received {"connection_id":154628,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1bd0f8012d5a2bc0063d6a480006009e2d..."} 
[2026-08-11 00:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1bd0f8012d5a2bc0063d6a480006009e2d..."} 
[2026-08-11 00:48:35] local.INFO: Processing buffer {"connection_id":154628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1bd0f8012d5a2bc0063d6a480006009e2d..."} 
[2026-08-11 00:48:35] local.INFO: Packet analysis {"connection_id":154628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed1b"} 
[2026-08-11 00:48:35] local.INFO: Extracted packet for processing {"connection_id":154628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed1b"} 
[2026-08-11 00:48:35] local.INFO: GPS Element Parsed {"raw_longitude":760884160,"raw_latitude":104688200,"longitude_deg":76.088416,"latitude_deg":10.46882,"altitude":6,"angle":158,"satellites":45,"speed":36,"hex_longitude":"2d5a2bc0","hex_latitude":"063d6a48","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315696640001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376945240637964288,"note":"Value kept but may cause issues"} 
[2026-08-11 00:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6493557370773100544,"note":"Value kept but may cause issues"} 
[2026-08-11 00:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786389451000,"timestamp_ms":1786389451000,"timestamp_seconds":1786389451,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1bd0f8"} 
[2026-08-11 00:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 00:48: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-08-11 00: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-08-11 00:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:48: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-08-11 00:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315696640001,"66":27332,"13":206,"78":38656,"24":36,"16":376945240637964288,"45":6493557370773100544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-11 00:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315696640001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:48:35] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-11 00:48:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376945240637964288,"km_value":376945240637964.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6493557370773100544,"description":"Unknown IO ID 45"} 
[2026-08-11 00:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315696640001,"power":27332,"unknown_13":206,"unknown_78":38656,"ignition":36,"odometer":null,"unknown_45":6493557370773100544}} 
[2026-08-11 00:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":154628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:48:35] local.INFO: GPS data processed {"connection_id":154628,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:48:35] local.INFO: Acknowledgment sent {"connection_id":154628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:48:59] local.INFO: TCP Data received {"connection_id":154629,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:48:59] local.INFO: Processing buffer {"connection_id":154629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:48:59] local.INFO: IMEI packet received {"connection_id":154629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":154629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:49:05] local.INFO: TCP Data received {"connection_id":154629,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:49:05] local.INFO: Processing buffer {"connection_id":154629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:49:05] local.INFO: IMEI packet received {"connection_id":154629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":154629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:49:05] local.INFO: TCP Data received {"connection_id":154629,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1bf808012d5a3980063d4680000600a02c..."} 
[2026-08-11 00:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1bf808012d5a3980063d4680000600a02c..."} 
[2026-08-11 00:49:05] local.INFO: Processing buffer {"connection_id":154629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1bf808012d5a3980063d4680000600a02c..."} 
[2026-08-11 00:49:05] local.INFO: Packet analysis {"connection_id":154629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed1b"} 
[2026-08-11 00:49:05] local.INFO: Extracted packet for processing {"connection_id":154629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed1b"} 
[2026-08-11 00:49:05] local.INFO: GPS Element Parsed {"raw_longitude":760887680,"raw_latitude":104679040,"longitude_deg":76.088768,"latitude_deg":10.467904,"altitude":6,"angle":160,"satellites":44,"speed":40,"hex_longitude":"2d5a3980","hex_latitude":"063d4680","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315699456001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376945717379334144,"note":"Value kept but may cause issues"} 
[2026-08-11 00:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6497498020444784640,"note":"Value kept but may cause issues"} 
[2026-08-11 00:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786389461000,"timestamp_ms":1786389461000,"timestamp_seconds":1786389461,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1bf808"} 
[2026-08-11 00:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":196,"data_length":795,"current_offset":136} 
[2026-08-11 00:49: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-08-11 00: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-08-11 00:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:49:05] 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-08-11 00:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315699456001,"66":27300,"13":206,"78":38656,"24":40,"16":376945717379334144,"45":6497498020444784640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-11 00:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315699456001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:49:06] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-11 00:49:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376945717379334144,"km_value":376945717379334.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6497498020444784640,"description":"Unknown IO ID 45"} 
[2026-08-11 00:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315699456001,"power":27300,"unknown_13":206,"unknown_78":38656,"ignition":40,"odometer":null,"unknown_45":6497498020444784640}} 
[2026-08-11 00:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":154629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:49:06] local.INFO: GPS data processed {"connection_id":154629,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:49:06] local.INFO: Acknowledgment sent {"connection_id":154629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:49:37] local.INFO: TCP Data received {"connection_id":154629,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1c1f18012d5a44c0063d2290000600a72f..."} 
[2026-08-11 00:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1c1f18012d5a44c0063d2290000600a72f..."} 
[2026-08-11 00:49:37] local.INFO: Processing buffer {"connection_id":154629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1c1f18012d5a44c0063d2290000600a72f..."} 
[2026-08-11 00:49:37] local.INFO: Packet analysis {"connection_id":154629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed1c"} 
[2026-08-11 00:49:37] local.INFO: Extracted packet for processing {"connection_id":154629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed1c"} 
[2026-08-11 00:49:37] local.INFO: GPS Element Parsed {"raw_longitude":760890560,"raw_latitude":104669840,"longitude_deg":76.089056,"latitude_deg":10.466984,"altitude":6,"angle":167,"satellites":47,"speed":39,"hex_longitude":"2d5a44c0","hex_latitude":"063d2290","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315702016001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376946185530769408,"note":"Value kept but may cause issues"} 
[2026-08-11 00:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6501368301372211200,"note":"Value kept but may cause issues"} 
[2026-08-11 00:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786389471000,"timestamp_ms":1786389471000,"timestamp_seconds":1786389471,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1c1f18"} 
[2026-08-11 00:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 00:49:37] 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-08-11 00: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-08-11 00:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:49: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-08-11 00:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315702016001,"66":27245,"13":206,"78":38656,"24":39,"16":376946185530769408,"45":6501368301372211200},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-11 00:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315702016001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:49:37] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-11 00:49:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376946185530769408,"km_value":376946185530769.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6501368301372211200,"description":"Unknown IO ID 45"} 
[2026-08-11 00:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315702016001,"power":27245,"unknown_13":206,"unknown_78":38656,"ignition":39,"odometer":null,"unknown_45":6501368301372211200}} 
[2026-08-11 00:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":154629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:49:37] local.INFO: GPS data processed {"connection_id":154629,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:49:37] local.INFO: Acknowledgment sent {"connection_id":154629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:49:54] local.INFO: TCP Data received {"connection_id":153230,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:49:54] local.INFO: Processing buffer {"connection_id":153230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:49:54] local.INFO: IMEI packet received {"connection_id":153230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":153230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:49:55] local.INFO: TCP Data received {"connection_id":153230,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:49:55] local.INFO: Processing buffer {"connection_id":153230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:49:55] local.INFO: IMEI packet received {"connection_id":153230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":153230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:49:59] local.INFO: TCP Data received {"connection_id":153230,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:49:59] local.INFO: Processing buffer {"connection_id":153230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:49:59] local.INFO: IMEI packet received {"connection_id":153230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":153230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:50:00] local.INFO: TCP Data received {"connection_id":153230,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1c4240012d5a4dc0063cff40000500a331..."} 
[2026-08-11 00:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1c4240012d5a4dc0063cff40000500a331..."} 
[2026-08-11 00:50:00] local.INFO: Processing buffer {"connection_id":153230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1c4240012d5a4dc0063cff40000500a331..."} 
[2026-08-11 00:50:00] local.INFO: Packet analysis {"connection_id":153230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed1c"} 
[2026-08-11 00:50:00] local.INFO: Extracted packet for processing {"connection_id":153230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed1c"} 
[2026-08-11 00:50:00] local.INFO: GPS Element Parsed {"raw_longitude":760892864,"raw_latitude":104660800,"longitude_deg":76.0892864,"latitude_deg":10.46608,"altitude":5,"angle":163,"satellites":49,"speed":43,"hex_longitude":"2d5a4dc0","hex_latitude":"063cff40","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315704576001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376946636502335488,"note":"Value kept but may cause issues"} 
[2026-08-11 00:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6504534894857850880,"note":"Value kept but may cause issues"} 
[2026-08-11 00:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786389480000,"timestamp_ms":1786389480000,"timestamp_seconds":1786389480,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1c4240"} 
[2026-08-11 00:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 00:50:00] 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-08-11 00: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-08-11 00:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:50:00] 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-08-11 00:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315704576001,"66":27267,"253":206,"78":38656,"24":43,"16":376946636502335488,"45":6504534894857850880},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,78,24,16,45]} 
[2026-08-11 00:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315704576001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:50:00] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-11 00:50:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376946636502335488,"km_value":376946636502335.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6504534894857850880,"description":"Unknown IO ID 45"} 
[2026-08-11 00:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315704576001,"power":27267,"unknown_253":206,"unknown_78":38656,"ignition":43,"odometer":null,"unknown_45":6504534894857850880}} 
[2026-08-11 00:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":153230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:50:00] local.INFO: GPS data processed {"connection_id":153230,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:50:00] local.INFO: Acknowledgment sent {"connection_id":153230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:50:31] local.INFO: TCP Data received {"connection_id":153230,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1ddc68012d5ae0c0063b1ea0000700b832..."} 
[2026-08-11 00:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1ddc68012d5ae0c0063b1ea0000700b832..."} 
[2026-08-11 00:50:31] local.INFO: Processing buffer {"connection_id":153230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1ddc68012d5ae0c0063b1ea0000700b832..."} 
[2026-08-11 00:50:31] local.INFO: Packet analysis {"connection_id":153230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed1d"} 
[2026-08-11 00:50:31] local.INFO: Extracted packet for processing {"connection_id":153230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed1d"} 
[2026-08-11 00:50:31] local.INFO: GPS Element Parsed {"raw_longitude":760930496,"raw_latitude":104537760,"longitude_deg":76.0930496,"latitude_deg":10.453776,"altitude":7,"angle":184,"satellites":50,"speed":50,"hex_longitude":"2d5ae0c0","hex_latitude":"063b1ea0","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315731968001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376952885679751168,"note":"Value kept but may cause issues"} 
[2026-08-11 00:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6548022778728105984,"note":"Value kept but may cause issues"} 
[2026-08-11 00:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786389585000,"timestamp_ms":1786389585000,"timestamp_seconds":1786389585,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1ddc68"} 
[2026-08-11 00:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 00:50:31] 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-08-11 00: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-08-11 00:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:50:31] 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-08-11 00:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315731968001,"66":27332,"23":206,"78":38656,"24":50,"16":376952885679751168,"45":6548022778728105984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-08-11 00:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315731968001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:50:31] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-11 00:50:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376952885679751168,"km_value":376952885679751.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6548022778728105984,"description":"Unknown IO ID 45"} 
[2026-08-11 00:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315731968001,"power":27332,"unknown_23":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6548022778728105984}} 
[2026-08-11 00:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":153230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:50:31] local.INFO: GPS data processed {"connection_id":153230,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:50:31] local.INFO: Acknowledgment sent {"connection_id":153230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:50:54] local.INFO: TCP Data received {"connection_id":154630,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:50:54] local.INFO: Processing buffer {"connection_id":154630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:50:54] local.INFO: IMEI packet received {"connection_id":154630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":154630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:50:54] local.INFO: TCP Data received {"connection_id":154630,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:50:54] local.INFO: Processing buffer {"connection_id":154630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:50:54] local.INFO: IMEI packet received {"connection_id":154630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":154630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:50:59] local.INFO: TCP Data received {"connection_id":154630,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:50:59] local.INFO: Processing buffer {"connection_id":154630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:50:59] local.INFO: IMEI packet received {"connection_id":154630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":154630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:51:00] local.INFO: TCP Data received {"connection_id":154630,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1ddc68012d5ae0c0063b1ea0000700b832..."} 
[2026-08-11 00:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1ddc68012d5ae0c0063b1ea0000700b832..."} 
[2026-08-11 00:51:00] local.INFO: Processing buffer {"connection_id":154630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1ddc68012d5ae0c0063b1ea0000700b832..."} 
[2026-08-11 00:51:00] local.INFO: Packet analysis {"connection_id":154630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed1d"} 
[2026-08-11 00:51:00] local.INFO: Extracted packet for processing {"connection_id":154630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed1d"} 
[2026-08-11 00:51:00] local.INFO: GPS Element Parsed {"raw_longitude":760930496,"raw_latitude":104537760,"longitude_deg":76.0930496,"latitude_deg":10.453776,"altitude":7,"angle":184,"satellites":50,"speed":50,"hex_longitude":"2d5ae0c0","hex_latitude":"063b1ea0","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315733760001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376952885679751168,"note":"Value kept but may cause issues"} 
[2026-08-11 00:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6548444991190900736,"note":"Value kept but may cause issues"} 
[2026-08-11 00:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786389585000,"timestamp_ms":1786389585000,"timestamp_seconds":1786389585,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1ddc68"} 
[2026-08-11 00:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 00:51: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-08-11 00: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-08-11 00:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:51:00] 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-08-11 00:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315733760001,"66":27332,"23":206,"78":38656,"24":50,"16":376952885679751168,"45":6548444991190900736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-08-11 00:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315733760001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:51:00] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-11 00:51:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376952885679751168,"km_value":376952885679751.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6548444991190900736,"description":"Unknown IO ID 45"} 
[2026-08-11 00:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315733760001,"power":27332,"unknown_23":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6548444991190900736}} 
[2026-08-11 00:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":154630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:51:00] local.INFO: GPS data processed {"connection_id":154630,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:51:00] local.INFO: Acknowledgment sent {"connection_id":154630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:51:31] local.INFO: TCP Data received {"connection_id":154630,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1df7c0012d5adac0063afc48000700c332..."} 
[2026-08-11 00:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1df7c0012d5adac0063afc48000700c332..."} 
[2026-08-11 00:51:31] local.INFO: Processing buffer {"connection_id":154630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1df7c0012d5adac0063afc48000700c332..."} 
[2026-08-11 00:51:31] local.INFO: Packet analysis {"connection_id":154630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed1d"} 
[2026-08-11 00:51:31] local.INFO: Extracted packet for processing {"connection_id":154630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed1d"} 
[2026-08-11 00:51:31] local.INFO: GPS Element Parsed {"raw_longitude":760928960,"raw_latitude":104528968,"longitude_deg":76.092896,"latitude_deg":10.4528968,"altitude":7,"angle":195,"satellites":50,"speed":51,"hex_longitude":"2d5adac0","hex_latitude":"063afc48","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315733760001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376953315176480768,"note":"Value kept but may cause issues"} 
[2026-08-11 00:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6548444991190900736,"note":"Value kept but may cause issues"} 
[2026-08-11 00:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786389592000,"timestamp_ms":1786389592000,"timestamp_seconds":1786389592,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1df7c0"} 
[2026-08-11 00:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 00:51:31] 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-08-11 00: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-08-11 00:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:51:31] 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-08-11 00:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315733760001,"66":27332,"23":206,"78":38656,"24":51,"16":376953315176480768,"45":6548444991190900736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-08-11 00:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315733760001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:51:31] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-11 00:51:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376953315176480768,"km_value":376953315176480.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6548444991190900736,"description":"Unknown IO ID 45"} 
[2026-08-11 00:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315733760001,"power":27332,"unknown_23":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6548444991190900736}} 
[2026-08-11 00:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":154630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:51:31] local.INFO: GPS data processed {"connection_id":154630,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:51:31] local.INFO: Acknowledgment sent {"connection_id":154630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:52:04] local.INFO: TCP Data received {"connection_id":151907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:52:04] local.INFO: Processing buffer {"connection_id":151907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:52:04] local.INFO: IMEI packet received {"connection_id":151907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":151907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:52:07] local.INFO: TCP Data received {"connection_id":151907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:52:07] local.INFO: Processing buffer {"connection_id":151907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:52:07] local.INFO: IMEI packet received {"connection_id":151907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":151907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:52:10] local.INFO: TCP Data received {"connection_id":151907,"ip":"42.106.6.17","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fed..."} 
[2026-08-11 00:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151907,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fed..."} 
[2026-08-11 00:52:10] local.INFO: Processing buffer {"connection_id":151907,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fed..."} 
[2026-08-11 00:52:10] local.INFO: IMEI packet received {"connection_id":151907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":151907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:52:12] local.INFO: TCP Data received {"connection_id":151907,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1f2c58012d5adac006399f68000b009b31..."} 
[2026-08-11 00:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1f2c58012d5adac006399f68000b009b31..."} 
[2026-08-11 00:52:12] local.INFO: Processing buffer {"connection_id":151907,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fed1f1100012d5aca400639c3b0000d009b30..."} 
[2026-08-11 00:52:12] local.INFO: Packet analysis {"connection_id":151907,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fed1f"} 
[2026-08-11 00:52:12] local.INFO: Extracted packet for processing {"connection_id":151907,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed1f"} 
[2026-08-11 00:52:12] local.INFO: GPS Element Parsed {"raw_longitude":760924736,"raw_latitude":104448944,"longitude_deg":76.0924736,"latitude_deg":10.4448944,"altitude":13,"angle":155,"satellites":48,"speed":56,"hex_longitude":"2d5aca40","hex_latitude":"0639c3b0","is_valid_coordinates":true} 
[2026-08-11 00:52: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-08-11 00:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315752192001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376957421165215744,"note":"Value kept but may cause issues"} 
[2026-08-11 00:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6537678573311266816,"note":"Value kept but may cause issues"} 
[2026-08-11 00:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786389664000,"timestamp_ms":1786389664000,"timestamp_seconds":1786389664,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1f1100"} 
[2026-08-11 00:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:52: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-08-11 00:52: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-08-11 00:52: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-08-11 00:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:52:12] 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-08-11 00:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315752192001,"66":27332,"85":206,"78":38656,"24":56,"16":376957421165215744,"45":6537678573311266816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,78,24,16,45]} 
[2026-08-11 00:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315752192001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-11 00:52:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376957421165215744,"km_value":376957421165215.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6537678573311266816,"description":"Unknown IO ID 45"} 
[2026-08-11 00:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315752192001,"power":27332,"unknown_85":206,"unknown_78":38656,"ignition":56,"odometer":null,"unknown_45":6537678573311266816}} 
[2026-08-11 00:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":151907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:52:12] local.INFO: GPS data processed {"connection_id":151907,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:52:12] local.INFO: Acknowledgment sent {"connection_id":151907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:52:12] local.INFO: Packet analysis {"connection_id":151907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed1f"} 
[2026-08-11 00:52:12] local.INFO: Extracted packet for processing {"connection_id":151907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed1f"} 
[2026-08-11 00:52:12] local.INFO: GPS Element Parsed {"raw_longitude":760928960,"raw_latitude":104439656,"longitude_deg":76.092896,"latitude_deg":10.4439656,"altitude":11,"angle":155,"satellites":49,"speed":58,"hex_longitude":"2d5adac0","hex_latitude":"06399f68","is_valid_coordinates":true} 
[2026-08-11 00:52: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-08-11 00:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315753984001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376957915086454784,"note":"Value kept but may cause issues"} 
[2026-08-11 00:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6542111804192174080,"note":"Value kept but may cause issues"} 
[2026-08-11 00:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786389671000,"timestamp_ms":1786389671000,"timestamp_seconds":1786389671,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1f2c58"} 
[2026-08-11 00:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:52: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-08-11 00:52: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-08-11 00:52: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-08-11 00:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:52:12] 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-08-11 00:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315753984001,"66":27365,"85":206,"78":38656,"24":58,"16":376957915086454784,"45":6542111804192174080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,78,24,16,45]} 
[2026-08-11 00:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315753984001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-11 00:52:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376957915086454784,"km_value":376957915086454.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6542111804192174080,"description":"Unknown IO ID 45"} 
[2026-08-11 00:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315753984001,"power":27365,"unknown_85":206,"unknown_78":38656,"ignition":58,"odometer":null,"unknown_45":6542111804192174080}} 
[2026-08-11 00:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":151907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:52:12] local.INFO: GPS data processed {"connection_id":151907,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:52:12] local.INFO: Acknowledgment sent {"connection_id":151907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:52:14] local.INFO: TCP Data received {"connection_id":151907,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1f47b0012d5aeac006397c40000b009b31..."} 
[2026-08-11 00:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1f47b0012d5aeac006397c40000b009b31..."} 
[2026-08-11 00:52:14] local.INFO: Processing buffer {"connection_id":151907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1f47b0012d5aeac006397c40000b009b31..."} 
[2026-08-11 00:52:14] local.INFO: Packet analysis {"connection_id":151907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed1f"} 
[2026-08-11 00:52:14] local.INFO: Extracted packet for processing {"connection_id":151907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed1f"} 
[2026-08-11 00:52:14] local.INFO: GPS Element Parsed {"raw_longitude":760933056,"raw_latitude":104430656,"longitude_deg":76.0933056,"latitude_deg":10.4430656,"altitude":11,"angle":155,"satellites":49,"speed":53,"hex_longitude":"2d5aeac0","hex_latitude":"06397c40","is_valid_coordinates":true} 
[2026-08-11 00:52: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-08-11 00:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315755776001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376958391827824640,"note":"Value kept but may cause issues"} 
[2026-08-11 00:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6546756141305522176,"note":"Value kept but may cause issues"} 
[2026-08-11 00:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786389678000,"timestamp_ms":1786389678000,"timestamp_seconds":1786389678,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1f47b0"} 
[2026-08-11 00:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:52: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-08-11 00:52: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-08-11 00:52: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-08-11 00:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:52:14] 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-08-11 00:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315755776001,"66":27332,"85":206,"78":38656,"24":53,"16":376958391827824640,"45":6546756141305522176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,78,24,16,45]} 
[2026-08-11 00:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315755776001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:52:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-11 00:52:14] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376958391827824640,"km_value":376958391827824.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":6546756141305522176,"description":"Unknown IO ID 45"} 
[2026-08-11 00:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315755776001,"power":27332,"unknown_85":206,"unknown_78":38656,"ignition":53,"odometer":null,"unknown_45":6546756141305522176}} 
[2026-08-11 00:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":151907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:52:14] local.INFO: GPS data processed {"connection_id":151907,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:52:14] local.INFO: Acknowledgment sent {"connection_id":151907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:52:54] local.INFO: TCP Data received {"connection_id":154631,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:52:54] local.INFO: Processing buffer {"connection_id":154631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:52:54] local.INFO: IMEI packet received {"connection_id":154631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":154631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:52:58] local.INFO: TCP Data received {"connection_id":154631,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:52:58] local.INFO: Processing buffer {"connection_id":154631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:52:58] local.INFO: IMEI packet received {"connection_id":154631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":154631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:52:59] local.INFO: TCP Data received {"connection_id":154631,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1f66f0012d5afa8006395958000d009b32..."} 
[2026-08-11 00:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1f66f0012d5afa8006395958000d009b32..."} 
[2026-08-11 00:52:59] local.INFO: Processing buffer {"connection_id":154631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1f66f0012d5afa8006395958000d009b32..."} 
[2026-08-11 00:52:59] local.INFO: Packet analysis {"connection_id":154631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed1f"} 
[2026-08-11 00:52:59] local.INFO: Extracted packet for processing {"connection_id":154631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed1f"} 
[2026-08-11 00:52:59] local.INFO: GPS Element Parsed {"raw_longitude":760937088,"raw_latitude":104421720,"longitude_deg":76.0937088,"latitude_deg":10.442172,"altitude":13,"angle":155,"satellites":50,"speed":44,"hex_longitude":"2d5afa80","hex_latitude":"06395958","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315757568001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376958864274227200,"note":"Value kept but may cause issues"} 
[2026-08-11 00:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6551259740930588672,"note":"Value kept but may cause issues"} 
[2026-08-11 00:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786389686000,"timestamp_ms":1786389686000,"timestamp_seconds":1786389686,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1f66f0"} 
[2026-08-11 00:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 00:52:59] 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-08-11 00: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-08-11 00:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:52:59] 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-08-11 00:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315757568001,"66":27234,"84":206,"78":38656,"24":44,"16":376958864274227200,"45":6551259740930588672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-08-11 00:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315757568001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:52:59] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-08-11 00:52:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376958864274227200,"km_value":376958864274227.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6551259740930588672,"description":"Unknown IO ID 45"} 
[2026-08-11 00:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315757568001,"power":27234,"unknown_84":206,"unknown_78":38656,"ignition":44,"odometer":null,"unknown_45":6551259740930588672}} 
[2026-08-11 00:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":154631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:52:59] local.INFO: GPS data processed {"connection_id":154631,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:52:59] local.INFO: Acknowledgment sent {"connection_id":154631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:53:30] local.INFO: TCP Data received {"connection_id":154631,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed1f8630012d5b0ac006393a30000f009633..."} 
[2026-08-11 00:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed1f8630012d5b0ac006393a30000f009633..."} 
[2026-08-11 00:53:30] local.INFO: Processing buffer {"connection_id":154631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed1f8630012d5b0ac006393a30000f009633..."} 
[2026-08-11 00:53:30] local.INFO: Packet analysis {"connection_id":154631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed1f"} 
[2026-08-11 00:53:30] local.INFO: Extracted packet for processing {"connection_id":154631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed1f"} 
[2026-08-11 00:53:30] local.INFO: GPS Element Parsed {"raw_longitude":760941248,"raw_latitude":104413744,"longitude_deg":76.0941248,"latitude_deg":10.4413744,"altitude":15,"angle":150,"satellites":51,"speed":44,"hex_longitude":"2d5b0ac0","hex_latitude":"06393a30","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315759616001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376959298065924096,"note":"Value kept but may cause issues"} 
[2026-08-11 00:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6555692971811493888,"note":"Value kept but may cause issues"} 
[2026-08-11 00:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786389694000,"timestamp_ms":1786389694000,"timestamp_seconds":1786389694,"priority":1,"record_length":96,"hex_timestamp":"0000019fed1f8630"} 
[2026-08-11 00:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 00:53:30] 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-08-11 00: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-08-11 00:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:53:30] 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-08-11 00:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315759616001,"66":27234,"84":206,"78":38656,"24":44,"16":376959298065924096,"45":6555692971811493888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-08-11 00:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315759616001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:53:30] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-08-11 00:53:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376959298065924096,"km_value":376959298065924.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6555692971811493888,"description":"Unknown IO ID 45"} 
[2026-08-11 00:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315759616001,"power":27234,"unknown_84":206,"unknown_78":38656,"ignition":44,"odometer":null,"unknown_45":6555692971811493888}} 
[2026-08-11 00:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":154631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:53:30] local.INFO: GPS data processed {"connection_id":154631,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:53:30] local.INFO: Acknowledgment sent {"connection_id":154631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:53:54] local.INFO: TCP Data received {"connection_id":151908,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:53:54] local.INFO: Processing buffer {"connection_id":151908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:53:54] local.INFO: IMEI packet received {"connection_id":151908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":151908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:53:54] local.INFO: TCP Data received {"connection_id":151908,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:53:54] local.INFO: Processing buffer {"connection_id":151908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:53:54] local.INFO: IMEI packet received {"connection_id":151908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":151908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:53:59] local.INFO: TCP Data received {"connection_id":151908,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:53:59] local.INFO: Processing buffer {"connection_id":151908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:53:59] local.INFO: IMEI packet received {"connection_id":151908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":151908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:54:00] local.INFO: TCP Data received {"connection_id":151908,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed20c298012d5bcec00637db700009009b32..."} 
[2026-08-11 00:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed20c298012d5bcec00637db700009009b32..."} 
[2026-08-11 00:54:00] local.INFO: Processing buffer {"connection_id":151908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed20c298012d5bcec00637db700009009b32..."} 
[2026-08-11 00:54:00] local.INFO: Packet analysis {"connection_id":151908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed20"} 
[2026-08-11 00:54:00] local.INFO: Extracted packet for processing {"connection_id":151908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed20"} 
[2026-08-11 00:54:00] local.INFO: GPS Element Parsed {"raw_longitude":760991424,"raw_latitude":104323952,"longitude_deg":76.0991424,"latitude_deg":10.4323952,"altitude":9,"angle":155,"satellites":50,"speed":53,"hex_longitude":"2d5bcec0","hex_latitude":"0637db70","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315780608001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376964293112889344,"note":"Value kept but may cause issues"} 
[2026-08-11 00:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6611073173456490496,"note":"Value kept but may cause issues"} 
[2026-08-11 00:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786389775000,"timestamp_ms":1786389775000,"timestamp_seconds":1786389775,"priority":1,"record_length":96,"hex_timestamp":"0000019fed20c298"} 
[2026-08-11 00:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 00:54:00] 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-08-11 00: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-08-11 00:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:54:00] 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-08-11 00:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315780608001,"66":27169,"175":206,"78":38656,"24":53,"16":376964293112889344,"45":6611073173456490496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-08-11 00:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315780608001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:54:00] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-11 00:54:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376964293112889344,"km_value":376964293112889.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6611073173456490496,"description":"Unknown IO ID 45"} 
[2026-08-11 00:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315780608001,"power":27169,"unknown_175":206,"unknown_78":38656,"ignition":53,"odometer":null,"unknown_45":6611073173456490496}} 
[2026-08-11 00:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":151908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:54:00] local.INFO: GPS data processed {"connection_id":151908,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:54:00] local.INFO: Acknowledgment sent {"connection_id":151908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:54:31] local.INFO: TCP Data received {"connection_id":151908,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed20ddf0012d5bddc00637ba880009009b34..."} 
[2026-08-11 00:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed20ddf0012d5bddc00637ba880009009b34..."} 
[2026-08-11 00:54:31] local.INFO: Processing buffer {"connection_id":151908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed20ddf0012d5bddc00637ba880009009b34..."} 
[2026-08-11 00:54:31] local.INFO: Packet analysis {"connection_id":151908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed20"} 
[2026-08-11 00:54:31] local.INFO: Extracted packet for processing {"connection_id":151908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed20"} 
[2026-08-11 00:54:31] local.INFO: GPS Element Parsed {"raw_longitude":760995264,"raw_latitude":104315528,"longitude_deg":76.0995264,"latitude_deg":10.4315528,"altitude":9,"angle":155,"satellites":52,"speed":52,"hex_longitude":"2d5bddc0","hex_latitude":"0637ba88","is_valid_coordinates":true} 
[2026-08-11 00:54: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-08-11 00:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315782400001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376964739789488128,"note":"Value kept but may cause issues"} 
[2026-08-11 00:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6615436035593302016,"note":"Value kept but may cause issues"} 
[2026-08-11 00:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786389782000,"timestamp_ms":1786389782000,"timestamp_seconds":1786389782,"priority":1,"record_length":96,"hex_timestamp":"0000019fed20ddf0"} 
[2026-08-11 00:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:54: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-11 00:54:31] 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-08-11 00:54: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-08-11 00:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:54:31] 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-08-11 00:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315782400001,"66":27180,"175":206,"78":38656,"24":52,"16":376964739789488128,"45":6615436035593302016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-08-11 00:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315782400001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:54:31] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-11 00:54:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376964739789488128,"km_value":376964739789488.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6615436035593302016,"description":"Unknown IO ID 45"} 
[2026-08-11 00:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315782400001,"power":27180,"unknown_175":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6615436035593302016}} 
[2026-08-11 00:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":151908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:54:31] local.INFO: GPS data processed {"connection_id":151908,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:54:31] local.INFO: Acknowledgment sent {"connection_id":151908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:54:57] local.INFO: TCP Data received {"connection_id":152291,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:54:57] local.INFO: Processing buffer {"connection_id":152291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:54:57] local.INFO: IMEI packet received {"connection_id":152291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":152291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:54:59] local.INFO: TCP Data received {"connection_id":152291,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:54:59] local.INFO: Processing buffer {"connection_id":152291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:54:59] local.INFO: IMEI packet received {"connection_id":152291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":152291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:55:06] local.INFO: TCP Data received {"connection_id":152291,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:55:06] local.INFO: Processing buffer {"connection_id":152291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:55:06] local.INFO: IMEI packet received {"connection_id":152291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":152291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:55:07] local.INFO: TCP Data received {"connection_id":152291,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed20f948012d5bed40063799e80009009b32..."} 
[2026-08-11 00:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed20f948012d5bed40063799e80009009b32..."} 
[2026-08-11 00:55:07] local.INFO: Processing buffer {"connection_id":152291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed20f948012d5bed40063799e80009009b32..."} 
[2026-08-11 00:55:07] local.INFO: Packet analysis {"connection_id":152291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed20"} 
[2026-08-11 00:55:07] local.INFO: Extracted packet for processing {"connection_id":152291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed20"} 
[2026-08-11 00:55:07] local.INFO: GPS Element Parsed {"raw_longitude":760999232,"raw_latitude":104307176,"longitude_deg":76.0999232,"latitude_deg":10.4307176,"altitude":9,"angle":155,"satellites":50,"speed":51,"hex_longitude":"2d5bed40","hex_latitude":"063799e8","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315784192001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376965186466086912,"note":"Value kept but may cause issues"} 
[2026-08-11 00:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6619658160241805312,"note":"Value kept but may cause issues"} 
[2026-08-11 00:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786389789000,"timestamp_ms":1786389789000,"timestamp_seconds":1786389789,"priority":1,"record_length":96,"hex_timestamp":"0000019fed20f948"} 
[2026-08-11 00:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-11 00:55: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-08-11 00: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-08-11 00:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:55:07] 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-08-11 00:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315784192001,"66":27321,"175":206,"78":38656,"24":51,"16":376965186466086912,"45":6619658160241805312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-08-11 00:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315784192001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:55:07] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-11 00:55:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376965186466086912,"km_value":376965186466086.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6619658160241805312,"description":"Unknown IO ID 45"} 
[2026-08-11 00:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315784192001,"power":27321,"unknown_175":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6619658160241805312}} 
[2026-08-11 00:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":152291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:55:07] local.INFO: GPS data processed {"connection_id":152291,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:55:07] local.INFO: Acknowledgment sent {"connection_id":152291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:55:09] local.INFO: TCP Data received {"connection_id":152291,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2114a0012d5bfc00063779c00009009b33..."} 
[2026-08-11 00:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2114a0012d5bfc00063779c00009009b33..."} 
[2026-08-11 00:55:09] local.INFO: Processing buffer {"connection_id":152291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2114a0012d5bfc00063779c00009009b33..."} 
[2026-08-11 00:55:09] local.INFO: Packet analysis {"connection_id":152291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed21"} 
[2026-08-11 00:55:09] local.INFO: Extracted packet for processing {"connection_id":152291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed21"} 
[2026-08-11 00:55:09] local.INFO: GPS Element Parsed {"raw_longitude":761003008,"raw_latitude":104298944,"longitude_deg":76.1003008,"latitude_deg":10.4298944,"altitude":9,"angle":155,"satellites":51,"speed":50,"hex_longitude":"2d5bfc00","hex_latitude":"063779c0","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315785984001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376965624552751104,"note":"Value kept but may cause issues"} 
[2026-08-11 00:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6624021022378682368,"note":"Value kept but may cause issues"} 
[2026-08-11 00:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786389796000,"timestamp_ms":1786389796000,"timestamp_seconds":1786389796,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2114a0"} 
[2026-08-11 00:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 00:55: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-08-11 00: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-08-11 00:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:55:09] 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-08-11 00:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315785984001,"66":26604,"220":206,"78":38656,"24":50,"16":376965624552751104,"45":6624021022378682368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,78,24,16,45]} 
[2026-08-11 00:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315785984001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:55:09] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-11 00:55:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376965624552751104,"km_value":376965624552751.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6624021022378682368,"description":"Unknown IO ID 45"} 
[2026-08-11 00:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315785984001,"power":26604,"unknown_220":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6624021022378682368}} 
[2026-08-11 00:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":152291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:55:09] local.INFO: GPS data processed {"connection_id":152291,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:55:09] local.INFO: Acknowledgment sent {"connection_id":152291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:55:54] local.INFO: TCP Data received {"connection_id":151909,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:55:54] local.INFO: Processing buffer {"connection_id":151909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:55:54] local.INFO: IMEI packet received {"connection_id":151909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":151909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:55:54] local.INFO: TCP Data received {"connection_id":151909,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:55:54] local.INFO: Processing buffer {"connection_id":151909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:55:54] local.INFO: IMEI packet received {"connection_id":151909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":151909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:55:59] local.INFO: TCP Data received {"connection_id":151909,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:55:59] local.INFO: Processing buffer {"connection_id":151909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:55:59] local.INFO: IMEI packet received {"connection_id":151909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":151909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:56:00] local.INFO: TCP Data received {"connection_id":151909,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed227c00012d5ca60006361e58000c009732..."} 
[2026-08-11 00:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed227c00012d5ca60006361e58000c009732..."} 
[2026-08-11 00:56:00] local.INFO: Processing buffer {"connection_id":151909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed227c00012d5ca60006361e58000c009732..."} 
[2026-08-11 00:56:00] local.INFO: Packet analysis {"connection_id":151909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed22"} 
[2026-08-11 00:56:00] local.INFO: Extracted packet for processing {"connection_id":151909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed22"} 
[2026-08-11 00:56:00] local.INFO: GPS Element Parsed {"raw_longitude":761046528,"raw_latitude":104210008,"longitude_deg":76.1046528,"latitude_deg":10.4210008,"altitude":12,"angle":151,"satellites":50,"speed":52,"hex_longitude":"2d5ca600","hex_latitude":"06361e58","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315809536001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376970417736253440,"note":"Value kept but may cause issues"} 
[2026-08-11 00:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6671379187187466240,"note":"Value kept but may cause issues"} 
[2026-08-11 00:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786389888000,"timestamp_ms":1786389888000,"timestamp_seconds":1786389888,"priority":1,"record_length":96,"hex_timestamp":"0000019fed227c00"} 
[2026-08-11 00:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-11 00:56:00] 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-08-11 00: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-08-11 00:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:56:00] 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-08-11 00:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315809536001,"66":27321,"174":206,"78":38656,"24":52,"16":376970417736253440,"45":6671379187187466240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-08-11 00:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315809536001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:56:00] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-11 00:56:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376970417736253440,"km_value":376970417736253.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6671379187187466240,"description":"Unknown IO ID 45"} 
[2026-08-11 00:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315809536001,"power":27321,"unknown_174":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6671379187187466240}} 
[2026-08-11 00:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":151909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:56:00] local.INFO: GPS data processed {"connection_id":151909,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:56:00] local.INFO: Acknowledgment sent {"connection_id":151909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:56:31] local.INFO: TCP Data received {"connection_id":151909,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed229758012d5cb7800635fef8000c009530..."} 
[2026-08-11 00:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed229758012d5cb7800635fef8000c009530..."} 
[2026-08-11 00:56:31] local.INFO: Processing buffer {"connection_id":151909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed229758012d5cb7800635fef8000c009530..."} 
[2026-08-11 00:56:31] local.INFO: Packet analysis {"connection_id":151909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed22"} 
[2026-08-11 00:56:31] local.INFO: Extracted packet for processing {"connection_id":151909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed22"} 
[2026-08-11 00:56:31] local.INFO: GPS Element Parsed {"raw_longitude":761051008,"raw_latitude":104201976,"longitude_deg":76.1051008,"latitude_deg":10.4201976,"altitude":12,"angle":149,"satellites":48,"speed":52,"hex_longitude":"2d5cb780","hex_latitude":"0635fef8","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315811328001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376970864412852224,"note":"Value kept but may cause issues"} 
[2026-08-11 00:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6676023524301101056,"note":"Value kept but may cause issues"} 
[2026-08-11 00:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786389895000,"timestamp_ms":1786389895000,"timestamp_seconds":1786389895,"priority":1,"record_length":96,"hex_timestamp":"0000019fed229758"} 
[2026-08-11 00:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 00:56:31] 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-08-11 00: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-08-11 00:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:56:31] 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-08-11 00:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315811328001,"66":27267,"174":206,"78":38656,"24":52,"16":376970864412852224,"45":6676023524301101056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-08-11 00:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315811328001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:56:31] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-11 00:56:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376970864412852224,"km_value":376970864412852.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6676023524301101056,"description":"Unknown IO ID 45"} 
[2026-08-11 00:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315811328001,"power":27267,"unknown_174":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6676023524301101056}} 
[2026-08-11 00:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":151909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:56:31] local.INFO: GPS data processed {"connection_id":151909,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:56:31] local.INFO: Acknowledgment sent {"connection_id":151909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:56:54] local.INFO: TCP Data received {"connection_id":152292,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:56:54] local.INFO: Processing buffer {"connection_id":152292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:56:54] local.INFO: IMEI packet received {"connection_id":152292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":152292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:56:56] local.INFO: TCP Data received {"connection_id":152292,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:56:56] local.INFO: Processing buffer {"connection_id":152292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:56:56] local.INFO: IMEI packet received {"connection_id":152292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":152292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:56:59] local.INFO: TCP Data received {"connection_id":152292,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:56:59] local.INFO: Processing buffer {"connection_id":152292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:56:59] local.INFO: IMEI packet received {"connection_id":152292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":152292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:57:00] local.INFO: TCP Data received {"connection_id":152292,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed22b2b0012d5ccb000635e090000c009231..."} 
[2026-08-11 00:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed22b2b0012d5ccb000635e090000c009231..."} 
[2026-08-11 00:57:00] local.INFO: Processing buffer {"connection_id":152292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed22b2b0012d5ccb000635e090000c009231..."} 
[2026-08-11 00:57:00] local.INFO: Packet analysis {"connection_id":152292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed22"} 
[2026-08-11 00:57:00] local.INFO: Extracted packet for processing {"connection_id":152292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed22"} 
[2026-08-11 00:57:00] local.INFO: GPS Element Parsed {"raw_longitude":761056000,"raw_latitude":104194192,"longitude_deg":76.1056,"latitude_deg":10.4194192,"altitude":12,"angle":146,"satellites":49,"speed":52,"hex_longitude":"2d5ccb00","hex_latitude":"0635e090","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315813120001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376971311089451008,"note":"Value kept but may cause issues"} 
[2026-08-11 00:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6680949336391481344,"note":"Value kept but may cause issues"} 
[2026-08-11 00:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786389902000,"timestamp_ms":1786389902000,"timestamp_seconds":1786389902,"priority":1,"record_length":96,"hex_timestamp":"0000019fed22b2b0"} 
[2026-08-11 00:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 00:57:00] 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-08-11 00: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-08-11 00:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:57:00] 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-08-11 00:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315813120001,"66":27300,"174":206,"78":38656,"24":52,"16":376971311089451008,"45":6680949336391481344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-08-11 00:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315813120001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:57:00] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-11 00:57:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376971311089451008,"km_value":376971311089451.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6680949336391481344,"description":"Unknown IO ID 45"} 
[2026-08-11 00:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315813120001,"power":27300,"unknown_174":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6680949336391481344}} 
[2026-08-11 00:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":152292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:57:00] local.INFO: GPS data processed {"connection_id":152292,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:57:00] local.INFO: Acknowledgment sent {"connection_id":152292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:57:04] local.INFO: TCP Data received {"connection_id":152292,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed22ce08012d5cdfc00635c240000b009132..."} 
[2026-08-11 00:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed22ce08012d5cdfc00635c240000b009132..."} 
[2026-08-11 00:57:04] local.INFO: Processing buffer {"connection_id":152292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed22ce08012d5cdfc00635c240000b009132..."} 
[2026-08-11 00:57:04] local.INFO: Packet analysis {"connection_id":152292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed22"} 
[2026-08-11 00:57:04] local.INFO: Extracted packet for processing {"connection_id":152292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed22"} 
[2026-08-11 00:57:04] local.INFO: GPS Element Parsed {"raw_longitude":761061312,"raw_latitude":104186432,"longitude_deg":76.1061312,"latitude_deg":10.4186432,"altitude":11,"angle":145,"satellites":50,"speed":53,"hex_longitude":"2d5cdfc0","hex_latitude":"0635c240","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315814912001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376971762061017088,"note":"Value kept but may cause issues"} 
[2026-08-11 00:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6686438098435346432,"note":"Value kept but may cause issues"} 
[2026-08-11 00:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786389909000,"timestamp_ms":1786389909000,"timestamp_seconds":1786389909,"priority":1,"record_length":96,"hex_timestamp":"0000019fed22ce08"} 
[2026-08-11 00:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":164,"data_length":795,"current_offset":136} 
[2026-08-11 00:57: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-08-11 00: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-08-11 00:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:57: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-08-11 00:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315814912001,"66":27365,"151":206,"78":38656,"24":53,"16":376971762061017088,"45":6686438098435346432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,78,24,16,45]} 
[2026-08-11 00:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315814912001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:57:04] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-11 00:57:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376971762061017088,"km_value":376971762061017.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6686438098435346432,"description":"Unknown IO ID 45"} 
[2026-08-11 00:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315814912001,"power":27365,"unknown_151":206,"unknown_78":38656,"ignition":53,"odometer":null,"unknown_45":6686438098435346432}} 
[2026-08-11 00:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":152292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:57:04] local.INFO: GPS data processed {"connection_id":152292,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:57:04] local.INFO: Acknowledgment sent {"connection_id":152292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:57:52] local.INFO: TCP Data received {"connection_id":152292,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed241df8012d5dc7c0063444380008009032..."} 
[2026-08-11 00:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed241df8012d5dc7c0063444380008009032..."} 
[2026-08-11 00:57:52] local.INFO: Processing buffer {"connection_id":152292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed241df8012d5dc7c0063444380008009032..."} 
[2026-08-11 00:57:52] local.INFO: Packet analysis {"connection_id":152292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed24"} 
[2026-08-11 00:57:52] local.INFO: Extracted packet for processing {"connection_id":152292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed24"} 
[2026-08-11 00:57:52] local.INFO: GPS Element Parsed {"raw_longitude":761120704,"raw_latitude":104088632,"longitude_deg":76.1120704,"latitude_deg":10.4088632,"altitude":8,"angle":144,"satellites":50,"speed":57,"hex_longitude":"2d5dc7c0","hex_latitude":"06344438","is_valid_coordinates":true} 
[2026-08-11 00:57: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-08-11 00:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315837184001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376977311158763520,"note":"Value kept but may cause issues"} 
[2026-08-11 00:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6752021767983800320,"note":"Value kept but may cause issues"} 
[2026-08-11 00:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786389995000,"timestamp_ms":1786389995000,"timestamp_seconds":1786389995,"priority":1,"record_length":96,"hex_timestamp":"0000019fed241df8"} 
[2026-08-11 00:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00:57: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 00:57:52] 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-08-11 00:57: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-08-11 00:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:57:52] 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-08-11 00:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315837184001,"66":27300,"190":206,"78":38656,"24":57,"16":376977311158763520,"45":6752021767983800320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-08-11 00:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315837184001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:57:52] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-11 00:57:52] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376977311158763520,"km_value":376977311158763.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6752021767983800320,"description":"Unknown IO ID 45"} 
[2026-08-11 00:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315837184001,"power":27300,"unknown_190":206,"unknown_78":38656,"ignition":57,"odometer":null,"unknown_45":6752021767983800320}} 
[2026-08-11 00:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":152292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:57:52] local.INFO: GPS data processed {"connection_id":152292,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:57:52] local.INFO: Acknowledgment sent {"connection_id":152292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:57:54] local.INFO: TCP Data received {"connection_id":153231,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:57:54] local.INFO: Processing buffer {"connection_id":153231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:57:54] local.INFO: IMEI packet received {"connection_id":153231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":153231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:57:56] local.INFO: TCP Data received {"connection_id":153231,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:57:56] local.INFO: Processing buffer {"connection_id":153231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:57:56] local.INFO: IMEI packet received {"connection_id":153231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":153231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:57:59] local.INFO: TCP Data received {"connection_id":153231,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:57:59] local.INFO: Processing buffer {"connection_id":153231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:57:59] local.INFO: IMEI packet received {"connection_id":153231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":153231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:58:04] local.INFO: TCP Data received {"connection_id":153231,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2454a8012d5ded40063405880008009b31..."} 
[2026-08-11 00:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2454a8012d5ded40063405880008009b31..."} 
[2026-08-11 00:58:04] local.INFO: Processing buffer {"connection_id":153231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2454a8012d5ded40063405880008009b31..."} 
[2026-08-11 00:58:04] local.INFO: Packet analysis {"connection_id":153231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed24"} 
[2026-08-11 00:58:04] local.INFO: Extracted packet for processing {"connection_id":153231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed24"} 
[2026-08-11 00:58:04] local.INFO: GPS Element Parsed {"raw_longitude":761130304,"raw_latitude":104072584,"longitude_deg":76.1130304,"latitude_deg":10.4072584,"altitude":8,"angle":155,"satellites":49,"speed":49,"hex_longitude":"2d5ded40","hex_latitude":"06340588","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315840512001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376978217396862976,"note":"Value kept but may cause issues"} 
[2026-08-11 00:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6763421504536612864,"note":"Value kept but may cause issues"} 
[2026-08-11 00:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786390009000,"timestamp_ms":1786390009000,"timestamp_seconds":1786390009,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2454a8"} 
[2026-08-11 00:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":77,"data_length":795,"current_offset":136} 
[2026-08-11 00:58: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-08-11 00: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-08-11 00:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:58: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-08-11 00:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315840512001,"66":27300,"190":206,"78":38656,"24":49,"16":376978217396862976,"45":6763421504536612864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-08-11 00:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315840512001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:58:04] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-11 00:58:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376978217396862976,"km_value":376978217396863.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6763421504536612864,"description":"Unknown IO ID 45"} 
[2026-08-11 00:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315840512001,"power":27300,"unknown_190":206,"unknown_78":38656,"ignition":49,"odometer":null,"unknown_45":6763421504536612864}} 
[2026-08-11 00:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":153231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:58:04] local.INFO: GPS data processed {"connection_id":153231,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:58:04] local.INFO: Acknowledgment sent {"connection_id":153231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:58:35] local.INFO: TCP Data received {"connection_id":153231,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2473e8012d5dfbc00633e1800007009f33..."} 
[2026-08-11 00:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2473e8012d5dfbc00633e1800007009f33..."} 
[2026-08-11 00:58:35] local.INFO: Processing buffer {"connection_id":153231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2473e8012d5dfbc00633e1800007009f33..."} 
[2026-08-11 00:58:35] local.INFO: Packet analysis {"connection_id":153231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed24"} 
[2026-08-11 00:58:35] local.INFO: Extracted packet for processing {"connection_id":153231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed24"} 
[2026-08-11 00:58:35] local.INFO: GPS Element Parsed {"raw_longitude":761134016,"raw_latitude":104063360,"longitude_deg":76.1134016,"latitude_deg":10.406336,"altitude":7,"angle":159,"satellites":51,"speed":51,"hex_longitude":"2d5dfbc0","hex_latitude":"0633e180","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315842304001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376978698433200128,"note":"Value kept but may cause issues"} 
[2026-08-11 00:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6768136210394482688,"note":"Value kept but may cause issues"} 
[2026-08-11 00:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786390017000,"timestamp_ms":1786390017000,"timestamp_seconds":1786390017,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2473e8"} 
[2026-08-11 00:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00: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-08-11 00: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-08-11 00:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:58: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-08-11 00:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315842304001,"66":27310,"190":206,"78":38656,"24":51,"16":376978698433200128,"45":6768136210394482688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-08-11 00:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315842304001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:58:35] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-11 00:58:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376978698433200128,"km_value":376978698433200.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6768136210394482688,"description":"Unknown IO ID 45"} 
[2026-08-11 00:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315842304001,"power":27310,"unknown_190":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6768136210394482688}} 
[2026-08-11 00:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":153231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:58:35] local.INFO: GPS data processed {"connection_id":153231,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:58:35] local.INFO: Acknowledgment sent {"connection_id":153231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:58:57] local.INFO: TCP Data received {"connection_id":154632,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:58:57] local.INFO: Processing buffer {"connection_id":154632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:58:57] local.INFO: IMEI packet received {"connection_id":154632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":154632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:58:59] local.INFO: TCP Data received {"connection_id":154632,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:58:59] local.INFO: Processing buffer {"connection_id":154632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:58:59] local.INFO: IMEI packet received {"connection_id":154632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":154632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:59:04] local.INFO: TCP Data received {"connection_id":154632,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:59:04] local.INFO: Processing buffer {"connection_id":154632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:59:04] local.INFO: IMEI packet received {"connection_id":154632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":154632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:59:05] local.INFO: TCP Data received {"connection_id":154632,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed248f40012d5e08000633c010000700a032..."} 
[2026-08-11 00:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed248f40012d5e08000633c010000700a032..."} 
[2026-08-11 00:59:05] local.INFO: Processing buffer {"connection_id":154632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed248f40012d5e08000633c010000700a032..."} 
[2026-08-11 00:59:05] local.INFO: Packet analysis {"connection_id":154632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed24"} 
[2026-08-11 00:59:05] local.INFO: Extracted packet for processing {"connection_id":154632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed24"} 
[2026-08-11 00:59:05] local.INFO: GPS Element Parsed {"raw_longitude":761137152,"raw_latitude":104054800,"longitude_deg":76.1137152,"latitude_deg":10.40548,"altitude":7,"angle":160,"satellites":50,"speed":52,"hex_longitude":"2d5e0800","hex_latitude":"0633c010","is_valid_coordinates":true} 
[2026-08-11 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-08-11 00:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315844352001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376979136519864320,"note":"Value kept but may cause issues"} 
[2026-08-11 00:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6772217597554425856,"note":"Value kept but may cause issues"} 
[2026-08-11 00:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786390024000,"timestamp_ms":1786390024000,"timestamp_seconds":1786390024,"priority":1,"record_length":96,"hex_timestamp":"0000019fed248f40"} 
[2026-08-11 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-08-11 00:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":174,"data_length":795,"current_offset":136} 
[2026-08-11 00: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-08-11 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-08-11 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-08-11 00:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:59:05] 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-08-11 00:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315844352001,"66":27213,"190":206,"78":38656,"24":52,"16":376979136519864320,"45":6772217597554425856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-08-11 00:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315844352001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:59:05] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-11 00:59:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376979136519864320,"km_value":376979136519864.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6772217597554425856,"description":"Unknown IO ID 45"} 
[2026-08-11 00:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315844352001,"power":27213,"unknown_190":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6772217597554425856}} 
[2026-08-11 00:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":154632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:59:05] local.INFO: GPS data processed {"connection_id":154632,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:59:05] local.INFO: Acknowledgment sent {"connection_id":154632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:59:07] local.INFO: TCP Data received {"connection_id":154632,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed24aa98012d5e154006339e700007009c30..."} 
[2026-08-11 00:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed24aa98012d5e154006339e700007009c30..."} 
[2026-08-11 00:59:07] local.INFO: Processing buffer {"connection_id":154632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed24aa98012d5e154006339e700007009c30..."} 
[2026-08-11 00:59:07] local.INFO: Packet analysis {"connection_id":154632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed24"} 
[2026-08-11 00:59:07] local.INFO: Extracted packet for processing {"connection_id":154632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed24"} 
[2026-08-11 00:59:07] local.INFO: GPS Element Parsed {"raw_longitude":761140544,"raw_latitude":104046192,"longitude_deg":76.1140544,"latitude_deg":10.4046192,"altitude":7,"angle":156,"satellites":48,"speed":52,"hex_longitude":"2d5e1540","hex_latitude":"06339e70","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315846144001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376979587491430400,"note":"Value kept but may cause issues"} 
[2026-08-11 00:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6775665666016940032,"note":"Value kept but may cause issues"} 
[2026-08-11 00:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786390031000,"timestamp_ms":1786390031000,"timestamp_seconds":1786390031,"priority":1,"record_length":96,"hex_timestamp":"0000019fed24aa98"} 
[2026-08-11 00:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 00:59: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-08-11 00: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-08-11 00:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:59:07] 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-08-11 00:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315846144001,"66":27376,"190":206,"78":38656,"24":52,"16":376979587491430400,"45":6775665666016940032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-08-11 00:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315846144001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:59:07] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-11 00:59:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376979587491430400,"km_value":376979587491430.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6775665666016940032,"description":"Unknown IO ID 45"} 
[2026-08-11 00:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315846144001,"power":27376,"unknown_190":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6775665666016940032}} 
[2026-08-11 00:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":154632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:59:07] local.INFO: GPS data processed {"connection_id":154632,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:59:07] local.INFO: Acknowledgment sent {"connection_id":154632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:59:38] local.INFO: TCP Data received {"connection_id":154632,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed260640012d5ed38006321568000a00a131..."} 
[2026-08-11 00:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed260640012d5ed38006321568000a00a131..."} 
[2026-08-11 00:59:38] local.INFO: Processing buffer {"connection_id":154632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed260640012d5ed38006321568000a00a131..."} 
[2026-08-11 00:59:38] local.INFO: Packet analysis {"connection_id":154632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed26"} 
[2026-08-11 00:59:38] local.INFO: Extracted packet for processing {"connection_id":154632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed26"} 
[2026-08-11 00:59:38] local.INFO: GPS Element Parsed {"raw_longitude":761189248,"raw_latitude":103945576,"longitude_deg":76.1189248,"latitude_deg":10.3945576,"altitude":10,"angle":161,"satellites":49,"speed":49,"hex_longitude":"2d5ed380","hex_latitude":"06321568","is_valid_coordinates":true} 
[2026-08-11 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-08-11 00:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315868928001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376984990560288768,"note":"Value kept but may cause issues"} 
[2026-08-11 00:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6829216280310294528,"note":"Value kept but may cause issues"} 
[2026-08-11 00:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786390120000,"timestamp_ms":1786390120000,"timestamp_seconds":1786390120,"priority":1,"record_length":96,"hex_timestamp":"0000019fed260640"} 
[2026-08-11 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-08-11 00:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":131,"data_length":795,"current_offset":136} 
[2026-08-11 00:59:38] 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-08-11 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-08-11 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-08-11 00:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:59:38] 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-08-11 00:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315868928001,"66":27365,"144":206,"78":38656,"24":49,"16":376984990560288768,"45":6829216280310294528},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-08-11 00:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315868928001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:59:38] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-11 00:59:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376984990560288768,"km_value":376984990560288.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6829216280310294528,"description":"Unknown IO ID 45"} 
[2026-08-11 00:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315868928001,"power":27365,"unknown_144":206,"unknown_78":38656,"ignition":49,"odometer":null,"unknown_45":6829216280310294528}} 
[2026-08-11 00:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":154632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:59:38] local.INFO: GPS data processed {"connection_id":154632,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:59:38] local.INFO: Acknowledgment sent {"connection_id":154632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 00:59:54] local.INFO: TCP Data received {"connection_id":151910,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:59:54] local.INFO: Processing buffer {"connection_id":151910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:59:54] local.INFO: IMEI packet received {"connection_id":151910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 00:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":151910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 00:59:57] local.INFO: TCP Data received {"connection_id":151910,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:59:57] local.INFO: Processing buffer {"connection_id":151910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 00:59:57] local.INFO: IMEI packet received {"connection_id":151910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 00:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":151910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 00:59:57] local.INFO: TCP Data received {"connection_id":151910,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed261db0012d5eda400631f9a8000b00ad31..."} 
[2026-08-11 00:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed261db0012d5eda400631f9a8000b00ad31..."} 
[2026-08-11 00:59:57] local.INFO: Processing buffer {"connection_id":151910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed261db0012d5eda400631f9a8000b00ad31..."} 
[2026-08-11 00:59:57] local.INFO: Packet analysis {"connection_id":151910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed26"} 
[2026-08-11 00:59:57] local.INFO: Extracted packet for processing {"connection_id":151910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed26"} 
[2026-08-11 00:59:57] local.INFO: GPS Element Parsed {"raw_longitude":761190976,"raw_latitude":103938472,"longitude_deg":76.1190976,"latitude_deg":10.3938472,"altitude":11,"angle":173,"satellites":49,"speed":46,"hex_longitude":"2d5eda40","hex_latitude":"0631f9a8","is_valid_coordinates":true} 
[2026-08-11 00: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-08-11 00:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315870720001,"note":"Value kept but may cause issues"} 
[2026-08-11 00:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376985347042574336,"note":"Value kept but may cause issues"} 
[2026-08-11 00:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6832945823749597184,"note":"Value kept but may cause issues"} 
[2026-08-11 00:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 00:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786390126000,"timestamp_ms":1786390126000,"timestamp_seconds":1786390126,"priority":1,"record_length":96,"hex_timestamp":"0000019fed261db0"} 
[2026-08-11 00:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 00:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 00:59:57] 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-08-11 00: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-08-11 00:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 00:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 00:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 00:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 00:59:57] 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-08-11 00:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 00:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 00:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315870720001,"66":27343,"144":206,"78":38656,"24":46,"16":376985347042574336,"45":6832945823749597184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-08-11 00:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 00:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 00:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315870720001,"description":"Unknown IO ID 0"} 
[2026-08-11 00:59:57] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-11 00:59:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 00:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376985347042574336,"km_value":376985347042574.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 00:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6832945823749597184,"description":"Unknown IO ID 45"} 
[2026-08-11 00:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315870720001,"power":27343,"unknown_144":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6832945823749597184}} 
[2026-08-11 00:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":151910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 00:59:57] local.INFO: GPS data processed {"connection_id":151910,"processed":1,"errors":0,"total":1} 
[2026-08-11 00:59:57] local.INFO: Acknowledgment sent {"connection_id":151910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:00:28] local.INFO: TCP Data received {"connection_id":151910,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed263cf0012d5eda800631d690000c00b531..."} 
[2026-08-11 01:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed263cf0012d5eda800631d690000c00b531..."} 
[2026-08-11 01:00:28] local.INFO: Processing buffer {"connection_id":151910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed263cf0012d5eda800631d690000c00b531..."} 
[2026-08-11 01:00:28] local.INFO: Packet analysis {"connection_id":151910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed26"} 
[2026-08-11 01:00:28] local.INFO: Extracted packet for processing {"connection_id":151910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed26"} 
[2026-08-11 01:00:28] local.INFO: GPS Element Parsed {"raw_longitude":761191040,"raw_latitude":103929488,"longitude_deg":76.119104,"latitude_deg":10.3929488,"altitude":12,"angle":181,"satellites":49,"speed":44,"hex_longitude":"2d5eda80","hex_latitude":"0631d690","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315872256001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376985780834271232,"note":"Value kept but may cause issues"} 
[2026-08-11 01:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6834845779840575488,"note":"Value kept but may cause issues"} 
[2026-08-11 01:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786390134000,"timestamp_ms":1786390134000,"timestamp_seconds":1786390134,"priority":1,"record_length":96,"hex_timestamp":"0000019fed263cf0"} 
[2026-08-11 01:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:00:28] 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-08-11 01: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-08-11 01:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":151910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":151910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":151910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:00: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-08-11 01:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315872256001,"66":27343,"144":206,"78":38656,"24":44,"16":376985780834271232,"45":6834845779840575488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-08-11 01:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315872256001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:00:28] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-11 01:00:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-11 01:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376985780834271232,"km_value":376985780834271.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6834845779840575488,"description":"Unknown IO ID 45"} 
[2026-08-11 01:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315872256001,"power":27343,"unknown_144":206,"unknown_78":38656,"ignition":44,"odometer":null,"unknown_45":6834845779840575488}} 
[2026-08-11 01:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":151910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:00:28] local.INFO: GPS data processed {"connection_id":151910,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:00:28] local.INFO: Acknowledgment sent {"connection_id":151910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:00:54] local.INFO: TCP Data received {"connection_id":152293,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:00:54] local.INFO: Processing buffer {"connection_id":152293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:00:54] local.INFO: IMEI packet received {"connection_id":152293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":152293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:00:55] local.INFO: TCP Data received {"connection_id":152293,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:00:55] local.INFO: Processing buffer {"connection_id":152293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:00:55] local.INFO: IMEI packet received {"connection_id":152293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":152293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:00:59] local.INFO: TCP Data received {"connection_id":152293,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:00:59] local.INFO: Processing buffer {"connection_id":152293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:00:59] local.INFO: IMEI packet received {"connection_id":152293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":152293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:01:00] local.INFO: TCP Data received {"connection_id":152293,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed266018012d5ed7400631b018000d00b831..."} 
[2026-08-11 01:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed266018012d5ed7400631b018000d00b831..."} 
[2026-08-11 01:01:00] local.INFO: Processing buffer {"connection_id":152293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed266018012d5ed7400631b018000d00b831..."} 
[2026-08-11 01:01:00] local.INFO: Packet analysis {"connection_id":152293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed26"} 
[2026-08-11 01:01:00] local.INFO: Extracted packet for processing {"connection_id":152293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed26"} 
[2026-08-11 01:01:00] local.INFO: GPS Element Parsed {"raw_longitude":761190208,"raw_latitude":103919640,"longitude_deg":76.1190208,"latitude_deg":10.391964,"altitude":13,"angle":184,"satellites":49,"speed":43,"hex_longitude":"2d5ed740","hex_latitude":"0631b018","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315874304001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376986261870608384,"note":"Value kept but may cause issues"} 
[2026-08-11 01:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6834916148582453248,"note":"Value kept but may cause issues"} 
[2026-08-11 01:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786390143000,"timestamp_ms":1786390143000,"timestamp_seconds":1786390143,"priority":1,"record_length":96,"hex_timestamp":"0000019fed266018"} 
[2026-08-11 01:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:01:00] 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-08-11 01: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-08-11 01:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:01:00] 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-08-11 01:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315874304001,"66":27343,"203":206,"79":20992,"24":43,"16":376986261870608384,"45":6834916148582453248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,79,24,16,45]} 
[2026-08-11 01:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315874304001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:01:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376986261870608384,"km_value":376986261870608.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6834916148582453248,"description":"Unknown IO ID 45"} 
[2026-08-11 01:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315874304001,"power":27343,"mnc":206,"unknown_79":20992,"ignition":43,"odometer":null,"unknown_45":6834916148582453248}} 
[2026-08-11 01:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":152293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:01:00] local.INFO: GPS data processed {"connection_id":152293,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:01:00] local.INFO: Acknowledgment sent {"connection_id":152293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:01:32] local.INFO: TCP Data received {"connection_id":152293,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed27c390012d5f364006300490000600a631..."} 
[2026-08-11 01:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed27c390012d5f364006300490000600a631..."} 
[2026-08-11 01:01:32] local.INFO: Processing buffer {"connection_id":152293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed27c390012d5f364006300490000600a631..."} 
[2026-08-11 01:01:32] local.INFO: Packet analysis {"connection_id":152293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed27"} 
[2026-08-11 01:01:32] local.INFO: Extracted packet for processing {"connection_id":152293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed27"} 
[2026-08-11 01:01:32] local.INFO: GPS Element Parsed {"raw_longitude":761214528,"raw_latitude":103810192,"longitude_deg":76.1214528,"latitude_deg":10.3810192,"altitude":6,"angle":166,"satellites":49,"speed":41,"hex_longitude":"2d5f3640","hex_latitude":"06300490","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315897600001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376991742248878080,"note":"Value kept but may cause issues"} 
[2026-08-11 01:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6858489677853788160,"note":"Value kept but may cause issues"} 
[2026-08-11 01:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786390234000,"timestamp_ms":1786390234000,"timestamp_seconds":1786390234,"priority":1,"record_length":96,"hex_timestamp":"0000019fed27c390"} 
[2026-08-11 01:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:01:32] 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-08-11 01: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-08-11 01:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:01:32] 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-08-11 01:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315897600001,"66":27169,"209":206,"79":20992,"24":41,"16":376991742248878080,"45":6858489677853788160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-08-11 01:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315897600001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:01:32] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-11 01:01:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376991742248878080,"km_value":376991742248878.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6858489677853788160,"description":"Unknown IO ID 45"} 
[2026-08-11 01:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315897600001,"power":27169,"unknown_209":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":6858489677853788160}} 
[2026-08-11 01:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":152293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:01:32] local.INFO: GPS data processed {"connection_id":152293,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:01:32] local.INFO: Acknowledgment sent {"connection_id":152293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:01:54] local.INFO: TCP Data received {"connection_id":152294,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:01:54] local.INFO: Processing buffer {"connection_id":152294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:01:54] local.INFO: IMEI packet received {"connection_id":152294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":152294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:01:59] local.INFO: TCP Data received {"connection_id":152294,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:01:59] local.INFO: Processing buffer {"connection_id":152294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:01:59] local.INFO: IMEI packet received {"connection_id":152294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":152294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:02:00] local.INFO: TCP Data received {"connection_id":152294,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed27e6b8012d5f3f80062fdf90000700a431..."} 
[2026-08-11 01:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed27e6b8012d5f3f80062fdf90000700a431..."} 
[2026-08-11 01:02:00] local.INFO: Processing buffer {"connection_id":152294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed27e6b8012d5f3f80062fdf90000700a431..."} 
[2026-08-11 01:02:00] local.INFO: Packet analysis {"connection_id":152294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed27"} 
[2026-08-11 01:02:00] local.INFO: Extracted packet for processing {"connection_id":152294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed27"} 
[2026-08-11 01:02:00] local.INFO: GPS Element Parsed {"raw_longitude":761216896,"raw_latitude":103800720,"longitude_deg":76.1216896,"latitude_deg":10.380072,"altitude":7,"angle":164,"satellites":49,"speed":44,"hex_longitude":"2d5f3f80","hex_latitude":"062fdf90","is_valid_coordinates":true} 
[2026-08-11 01:02: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-08-11 01:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315899904001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376992214695280640,"note":"Value kept but may cause issues"} 
[2026-08-11 01:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6860741477665116160,"note":"Value kept but may cause issues"} 
[2026-08-11 01:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786390243000,"timestamp_ms":1786390243000,"timestamp_seconds":1786390243,"priority":1,"record_length":96,"hex_timestamp":"0000019fed27e6b8"} 
[2026-08-11 01:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:02: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":33,"data_length":795,"current_offset":136} 
[2026-08-11 01:02:00] 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-08-11 01:02: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-08-11 01:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:02:00] 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-08-11 01:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315899904001,"66":27321,"209":206,"79":20992,"24":44,"16":376992214695280640,"45":6860741477665116160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-08-11 01:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315899904001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:02:00] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-11 01:02:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376992214695280640,"km_value":376992214695280.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6860741477665116160,"description":"Unknown IO ID 45"} 
[2026-08-11 01:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315899904001,"power":27321,"unknown_209":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":6860741477665116160}} 
[2026-08-11 01:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":152294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:02:00] local.INFO: GPS data processed {"connection_id":152294,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:02:00] local.INFO: Acknowledgment sent {"connection_id":152294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:02:32] local.INFO: TCP Data received {"connection_id":152294,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2805f8012d5f4a40062fbc98000700a130..."} 
[2026-08-11 01:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2805f8012d5f4a40062fbc98000700a130..."} 
[2026-08-11 01:02:32] local.INFO: Processing buffer {"connection_id":152294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2805f8012d5f4a40062fbc98000700a130..."} 
[2026-08-11 01:02:32] local.INFO: Packet analysis {"connection_id":152294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed28"} 
[2026-08-11 01:02:32] local.INFO: Extracted packet for processing {"connection_id":152294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed28"} 
[2026-08-11 01:02:32] local.INFO: GPS Element Parsed {"raw_longitude":761219648,"raw_latitude":103791768,"longitude_deg":76.1219648,"latitude_deg":10.3791768,"altitude":7,"angle":161,"satellites":48,"speed":47,"hex_longitude":"2d5f4a40","hex_latitude":"062fbc98","is_valid_coordinates":true} 
[2026-08-11 01:02: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-08-11 01:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315902208001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376992665666846720,"note":"Value kept but may cause issues"} 
[2026-08-11 01:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6863345121197264896,"note":"Value kept but may cause issues"} 
[2026-08-11 01:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786390251000,"timestamp_ms":1786390251000,"timestamp_seconds":1786390251,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2805f8"} 
[2026-08-11 01:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:02: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":185,"data_length":795,"current_offset":136} 
[2026-08-11 01:02:32] 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-08-11 01:02: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-08-11 01:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:02:32] 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-08-11 01:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315902208001,"66":27517,"209":206,"79":20992,"24":47,"16":376992665666846720,"45":6863345121197264896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-08-11 01:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315902208001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:02:32] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-11 01:02:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376992665666846720,"km_value":376992665666846.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6863345121197264896,"description":"Unknown IO ID 45"} 
[2026-08-11 01:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315902208001,"power":27517,"unknown_209":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":6863345121197264896}} 
[2026-08-11 01:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":152294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:02:32] local.INFO: GPS data processed {"connection_id":152294,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:02:32] local.INFO: Acknowledgment sent {"connection_id":152294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:02:58] local.INFO: TCP Data received {"connection_id":152295,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:02:58] local.INFO: Processing buffer {"connection_id":152295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:02:58] local.INFO: IMEI packet received {"connection_id":152295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":152295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:02:59] local.INFO: TCP Data received {"connection_id":152295,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:02:59] local.INFO: Processing buffer {"connection_id":152295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:02:59] local.INFO: IMEI packet received {"connection_id":152295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":152295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:03:04] local.INFO: TCP Data received {"connection_id":152295,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:03:04] local.INFO: Processing buffer {"connection_id":152295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:03:04] local.INFO: IMEI packet received {"connection_id":152295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":152295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:03:06] local.INFO: TCP Data received {"connection_id":152295,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed282538012d5f5740062f99000007009e32..."} 
[2026-08-11 01:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed282538012d5f5740062f99000007009e32..."} 
[2026-08-11 01:03:06] local.INFO: Processing buffer {"connection_id":152295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed282538012d5f5740062f99000007009e32..."} 
[2026-08-11 01:03:06] local.INFO: Packet analysis {"connection_id":152295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed28"} 
[2026-08-11 01:03:06] local.INFO: Extracted packet for processing {"connection_id":152295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed28"} 
[2026-08-11 01:03:06] local.INFO: GPS Element Parsed {"raw_longitude":761222976,"raw_latitude":103782656,"longitude_deg":76.1222976,"latitude_deg":10.3782656,"altitude":7,"angle":158,"satellites":50,"speed":49,"hex_longitude":"2d5f5740","hex_latitude":"062f9900","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315904256001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376993138113249280,"note":"Value kept but may cause issues"} 
[2026-08-11 01:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6866370977194612736,"note":"Value kept but may cause issues"} 
[2026-08-11 01:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786390259000,"timestamp_ms":1786390259000,"timestamp_seconds":1786390259,"priority":1,"record_length":96,"hex_timestamp":"0000019fed282538"} 
[2026-08-11 01:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 01:03:06] 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-08-11 01: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-08-11 01:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:03: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-08-11 01:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315904256001,"66":27310,"209":206,"79":20992,"24":49,"16":376993138113249280,"45":6866370977194612736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-08-11 01:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315904256001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:03:06] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-11 01:03:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376993138113249280,"km_value":376993138113249.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6866370977194612736,"description":"Unknown IO ID 45"} 
[2026-08-11 01:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315904256001,"power":27310,"unknown_209":206,"unknown_79":20992,"ignition":49,"odometer":null,"unknown_45":6866370977194612736}} 
[2026-08-11 01:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":152295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:03:06] local.INFO: GPS data processed {"connection_id":152295,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:03:06] local.INFO: Acknowledgment sent {"connection_id":152295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:03:09] local.INFO: TCP Data received {"connection_id":152295,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed284478012d5f6580062f74700007009e33..."} 
[2026-08-11 01:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed284478012d5f6580062f74700007009e33..."} 
[2026-08-11 01:03:09] local.INFO: Processing buffer {"connection_id":152295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed284478012d5f6580062f74700007009e33..."} 
[2026-08-11 01:03:09] local.INFO: Packet analysis {"connection_id":152295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed28"} 
[2026-08-11 01:03:09] local.INFO: Extracted packet for processing {"connection_id":152295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed28"} 
[2026-08-11 01:03:09] local.INFO: GPS Element Parsed {"raw_longitude":761226624,"raw_latitude":103773296,"longitude_deg":76.1226624,"latitude_deg":10.3773296,"altitude":7,"angle":158,"satellites":51,"speed":50,"hex_longitude":"2d5f6580","hex_latitude":"062f7470","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315906304001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376993623444553728,"note":"Value kept but may cause issues"} 
[2026-08-11 01:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6870030151889518592,"note":"Value kept but may cause issues"} 
[2026-08-11 01:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786390267000,"timestamp_ms":1786390267000,"timestamp_seconds":1786390267,"priority":1,"record_length":96,"hex_timestamp":"0000019fed284478"} 
[2026-08-11 01:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":174,"data_length":795,"current_offset":136} 
[2026-08-11 01:03: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-08-11 01: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-08-11 01:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:03:09] 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-08-11 01:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315906304001,"66":27321,"209":206,"79":20992,"24":50,"16":376993623444553728,"45":6870030151889518592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-08-11 01:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315906304001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:03:09] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-11 01:03:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376993623444553728,"km_value":376993623444553.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6870030151889518592,"description":"Unknown IO ID 45"} 
[2026-08-11 01:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315906304001,"power":27321,"unknown_209":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":6870030151889518592}} 
[2026-08-11 01:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":152295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:03:09] local.INFO: GPS data processed {"connection_id":152295,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:03:09] local.INFO: Acknowledgment sent {"connection_id":152295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:03:52] local.INFO: TCP Data received {"connection_id":154633,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:03:52] local.INFO: Processing buffer {"connection_id":154633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:03:52] local.INFO: IMEI packet received {"connection_id":154633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":154633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:03:54] local.INFO: TCP Data received {"connection_id":154633,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:03:54] local.INFO: Processing buffer {"connection_id":154633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:03:54] local.INFO: IMEI packet received {"connection_id":154633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":154633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:03:59] local.INFO: TCP Data received {"connection_id":154633,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:03:59] local.INFO: Processing buffer {"connection_id":154633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:03:59] local.INFO: IMEI packet received {"connection_id":154633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":154633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:04:00] local.INFO: TCP Data received {"connection_id":154633,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2863b8012d5f7280062f51d0000700a033..."} 
[2026-08-11 01:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2863b8012d5f7280062f51d0000700a033..."} 
[2026-08-11 01:04:00] local.INFO: Processing buffer {"connection_id":154633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2863b8012d5f7280062f51d0000700a033..."} 
[2026-08-11 01:04:00] local.INFO: Packet analysis {"connection_id":154633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed28"} 
[2026-08-11 01:04:00] local.INFO: Extracted packet for processing {"connection_id":154633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed28"} 
[2026-08-11 01:04:00] local.INFO: GPS Element Parsed {"raw_longitude":761229952,"raw_latitude":103764432,"longitude_deg":76.1229952,"latitude_deg":10.3764432,"altitude":7,"angle":160,"satellites":51,"speed":42,"hex_longitude":"2d5f7280","hex_latitude":"062f51d0","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315908352001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376994083006054400,"note":"Value kept but may cause issues"} 
[2026-08-11 01:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6874041170305249280,"note":"Value kept but may cause issues"} 
[2026-08-11 01:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786390275000,"timestamp_ms":1786390275000,"timestamp_seconds":1786390275,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2863b8"} 
[2026-08-11 01:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 01:04:00] 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-08-11 01: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-08-11 01:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:04:00] 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-08-11 01:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315908352001,"66":27137,"209":206,"79":20992,"24":42,"16":376994083006054400,"45":6874041170305249280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-08-11 01:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315908352001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:04:00] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-11 01:04:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376994083006054400,"km_value":376994083006054.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6874041170305249280,"description":"Unknown IO ID 45"} 
[2026-08-11 01:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315908352001,"power":27137,"unknown_209":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":6874041170305249280}} 
[2026-08-11 01:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":154633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:04:00] local.INFO: GPS data processed {"connection_id":154633,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:04:00] local.INFO: Acknowledgment sent {"connection_id":154633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:04:30] local.INFO: TCP Data received {"connection_id":154633,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2a8a80012d5ff700062d9880000a009b32..."} 
[2026-08-11 01:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2a8a80012d5ff700062d9880000a009b32..."} 
[2026-08-11 01:04:30] local.INFO: Processing buffer {"connection_id":154633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2a8a80012d5ff700062d9880000a009b32..."} 
[2026-08-11 01:04:30] local.INFO: Packet analysis {"connection_id":154633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed2a"} 
[2026-08-11 01:04:30] local.INFO: Extracted packet for processing {"connection_id":154633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed2a"} 
[2026-08-11 01:04:30] local.INFO: GPS Element Parsed {"raw_longitude":761263872,"raw_latitude":103651456,"longitude_deg":76.1263872,"latitude_deg":10.3651456,"altitude":10,"angle":155,"satellites":50,"speed":57,"hex_longitude":"2d5ff700","hex_latitude":"062d9880","is_valid_coordinates":true} 
[2026-08-11 01:04: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-08-11 01:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315944704001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376999838262231040,"note":"Value kept but may cause issues"} 
[2026-08-11 01:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6910562548504576000,"note":"Value kept but may cause issues"} 
[2026-08-11 01:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786390416000,"timestamp_ms":1786390416000,"timestamp_seconds":1786390416,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2a8a80"} 
[2026-08-11 01:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:04:30] 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-08-11 01:04: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-08-11 01:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:04:30] 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-08-11 01:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315944704001,"66":27463,"215":206,"79":20992,"24":57,"16":376999838262231040,"45":6910562548504576000},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,79,24,16,45]} 
[2026-08-11 01:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315944704001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:04:30] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 01:04:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376999838262231040,"km_value":376999838262231.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6910562548504576000,"description":"Unknown IO ID 45"} 
[2026-08-11 01:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315944704001,"power":27463,"unknown_215":206,"unknown_79":20992,"ignition":57,"odometer":null,"unknown_45":6910562548504576000}} 
[2026-08-11 01:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":154633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:04:30] local.INFO: GPS data processed {"connection_id":154633,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:04:30] local.INFO: Acknowledgment sent {"connection_id":154633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:04:54] local.INFO: TCP Data received {"connection_id":153232,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:04:54] local.INFO: Processing buffer {"connection_id":153232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:04:54] local.INFO: IMEI packet received {"connection_id":153232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":153232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:04:58] local.INFO: TCP Data received {"connection_id":153232,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:04:58] local.INFO: Processing buffer {"connection_id":153232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:04:58] local.INFO: IMEI packet received {"connection_id":153232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":153232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:04:58] local.INFO: TCP Data received {"connection_id":153232,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2aa5d8012d600740062d73b00007009c30..."} 
[2026-08-11 01:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2aa5d8012d600740062d73b00007009c30..."} 
[2026-08-11 01:04:58] local.INFO: Processing buffer {"connection_id":153232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2aa5d8012d600740062d73b00007009c30..."} 
[2026-08-11 01:04:58] local.INFO: Packet analysis {"connection_id":153232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed2a"} 
[2026-08-11 01:04:58] local.INFO: Extracted packet for processing {"connection_id":153232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed2a"} 
[2026-08-11 01:04:58] local.INFO: GPS Element Parsed {"raw_longitude":761268032,"raw_latitude":103642032,"longitude_deg":76.1268032,"latitude_deg":10.3642032,"altitude":7,"angle":156,"satellites":48,"speed":58,"hex_longitude":"2d600740","hex_latitude":"062d73b0","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315946496001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377000332183470080,"note":"Value kept but may cause issues"} 
[2026-08-11 01:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6914995779385458688,"note":"Value kept but may cause issues"} 
[2026-08-11 01:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786390423000,"timestamp_ms":1786390423000,"timestamp_seconds":1786390423,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2aa5d8"} 
[2026-08-11 01:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 01:04:58] 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-08-11 01: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-08-11 01:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":153232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":153232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":153232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:04:58] 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-08-11 01:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315946496001,"66":27376,"99":206,"79":20992,"24":58,"16":377000332183470080,"45":6914995779385458688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-08-11 01:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315946496001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:04:58] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 01:04:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377000332183470080,"km_value":377000332183470.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6914995779385458688,"description":"Unknown IO ID 45"} 
[2026-08-11 01:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315946496001,"power":27376,"unknown_99":206,"unknown_79":20992,"ignition":58,"odometer":null,"unknown_45":6914995779385458688}} 
[2026-08-11 01:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":153232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:04:58] local.INFO: GPS data processed {"connection_id":153232,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:04:58] local.INFO: Acknowledgment sent {"connection_id":153232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:05:31] local.INFO: TCP Data received {"connection_id":153232,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2ac130012d601700062d4fd00007009b31..."} 
[2026-08-11 01:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2ac130012d601700062d4fd00007009b31..."} 
[2026-08-11 01:05:31] local.INFO: Processing buffer {"connection_id":153232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2ac130012d601700062d4fd00007009b31..."} 
[2026-08-11 01:05:31] local.INFO: Packet analysis {"connection_id":153232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed2a"} 
[2026-08-11 01:05:31] local.INFO: Extracted packet for processing {"connection_id":153232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed2a"} 
[2026-08-11 01:05:31] local.INFO: GPS Element Parsed {"raw_longitude":761272064,"raw_latitude":103632848,"longitude_deg":76.1272064,"latitude_deg":10.3632848,"altitude":7,"angle":155,"satellites":49,"speed":55,"hex_longitude":"2d601700","hex_latitude":"062d4fd0","is_valid_coordinates":true} 
[2026-08-11 01:05: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-08-11 01:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315948288001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377000817514774528,"note":"Value kept but may cause issues"} 
[2026-08-11 01:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6919569747754594304,"note":"Value kept but may cause issues"} 
[2026-08-11 01:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786390430000,"timestamp_ms":1786390430000,"timestamp_seconds":1786390430,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2ac130"} 
[2026-08-11 01:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 01:05:31] 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-08-11 01:05: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-08-11 01:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:05:31] 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-08-11 01:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315948288001,"66":27484,"99":206,"79":20992,"24":55,"16":377000817514774528,"45":6919569747754594304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-08-11 01:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315948288001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:05:31] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 01:05:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377000817514774528,"km_value":377000817514774.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6919569747754594304,"description":"Unknown IO ID 45"} 
[2026-08-11 01:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315948288001,"power":27484,"unknown_99":206,"unknown_79":20992,"ignition":55,"odometer":null,"unknown_45":6919569747754594304}} 
[2026-08-11 01:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":153232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:05:31] local.INFO: GPS data processed {"connection_id":153232,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:05:31] local.INFO: Acknowledgment sent {"connection_id":153232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:05:54] local.INFO: TCP Data received {"connection_id":151911,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:05:54] local.INFO: Processing buffer {"connection_id":151911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:05:54] local.INFO: IMEI packet received {"connection_id":151911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":151911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:05:55] local.INFO: TCP Data received {"connection_id":151911,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:05:55] local.INFO: Processing buffer {"connection_id":151911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:05:55] local.INFO: IMEI packet received {"connection_id":151911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":151911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:05:59] local.INFO: TCP Data received {"connection_id":151911,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:05:59] local.INFO: Processing buffer {"connection_id":151911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:05:59] local.INFO: IMEI packet received {"connection_id":151911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":151911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:06:00] local.INFO: TCP Data received {"connection_id":151911,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2adc88012d602680062d2e480008009c31..."} 
[2026-08-11 01:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2adc88012d602680062d2e480008009c31..."} 
[2026-08-11 01:06:00] local.INFO: Processing buffer {"connection_id":151911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2adc88012d602680062d2e480008009c31..."} 
[2026-08-11 01:06:00] local.INFO: Packet analysis {"connection_id":151911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed2a"} 
[2026-08-11 01:06:00] local.INFO: Extracted packet for processing {"connection_id":151911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed2a"} 
[2026-08-11 01:06:00] local.INFO: GPS Element Parsed {"raw_longitude":761276032,"raw_latitude":103624264,"longitude_deg":76.1276032,"latitude_deg":10.3624264,"altitude":8,"angle":156,"satellites":49,"speed":51,"hex_longitude":"2d602680","hex_latitude":"062d2e48","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315950080001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377001277076275200,"note":"Value kept but may cause issues"} 
[2026-08-11 01:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6924002978635436032,"note":"Value kept but may cause issues"} 
[2026-08-11 01:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786390437000,"timestamp_ms":1786390437000,"timestamp_seconds":1786390437,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2adc88"} 
[2026-08-11 01:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 01:06:00] 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-08-11 01: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-08-11 01:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:06:00] 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-08-11 01:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315950080001,"66":27343,"99":206,"79":20992,"24":51,"16":377001277076275200,"45":6924002978635436032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-08-11 01:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315950080001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:06:00] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 01:06:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377001277076275200,"km_value":377001277076275.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6924002978635436032,"description":"Unknown IO ID 45"} 
[2026-08-11 01:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315950080001,"power":27343,"unknown_99":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":6924002978635436032}} 
[2026-08-11 01:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":151911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:06:00] local.INFO: GPS data processed {"connection_id":151911,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:06:00] local.INFO: Acknowledgment sent {"connection_id":151911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:06:31] local.INFO: TCP Data received {"connection_id":151911,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2c6710012d60d280062b4f38000b00a02f..."} 
[2026-08-11 01:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2c6710012d60d280062b4f38000b00a02f..."} 
[2026-08-11 01:06:31] local.INFO: Processing buffer {"connection_id":151911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2c6710012d60d280062b4f38000b00a02f..."} 
[2026-08-11 01:06:31] local.INFO: Packet analysis {"connection_id":151911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed2c"} 
[2026-08-11 01:06:31] local.INFO: Extracted packet for processing {"connection_id":151911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed2c"} 
[2026-08-11 01:06:31] local.INFO: GPS Element Parsed {"raw_longitude":761320064,"raw_latitude":103501624,"longitude_deg":76.1320064,"latitude_deg":10.3501624,"altitude":11,"angle":160,"satellites":47,"speed":51,"hex_longitude":"2d60d280","hex_latitude":"062b4f38","is_valid_coordinates":true} 
[2026-08-11 01:06: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-08-11 01:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315975936001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377007607858069504,"note":"Value kept but may cause issues"} 
[2026-08-11 01:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6974175893202751488,"note":"Value kept but may cause issues"} 
[2026-08-11 01:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786390538000,"timestamp_ms":1786390538000,"timestamp_seconds":1786390538,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2c6710"} 
[2026-08-11 01:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:06: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:06:31] 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-08-11 01:06: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-08-11 01:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:06:31] 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-08-11 01:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315975936001,"66":27376,"91":206,"79":20992,"24":51,"16":377007607858069504,"45":6974175893202751488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-08-11 01:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315975936001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:06:31] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-11 01:06:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377007607858069504,"km_value":377007607858069.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6974175893202751488,"description":"Unknown IO ID 45"} 
[2026-08-11 01:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315975936001,"power":27376,"unknown_91":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":6974175893202751488}} 
[2026-08-11 01:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":151911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:06:31] local.INFO: GPS data processed {"connection_id":151911,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:06:31] local.INFO: Acknowledgment sent {"connection_id":151911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:06:57] local.INFO: TCP Data received {"connection_id":153233,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:06:57] local.INFO: Processing buffer {"connection_id":153233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:06:57] local.INFO: IMEI packet received {"connection_id":153233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":153233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:07:02] local.INFO: TCP Data received {"connection_id":153233,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:07:02] local.INFO: Processing buffer {"connection_id":153233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:07:02] local.INFO: IMEI packet received {"connection_id":153233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":153233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:07:06] local.INFO: TCP Data received {"connection_id":153233,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2c8268012d60e180062b2e80000a00972f..."} 
[2026-08-11 01:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2c8268012d60e180062b2e80000a00972f..."} 
[2026-08-11 01:07:06] local.INFO: Processing buffer {"connection_id":153233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2c8268012d60e180062b2e80000a00972f..."} 
[2026-08-11 01:07:06] local.INFO: Packet analysis {"connection_id":153233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed2c"} 
[2026-08-11 01:07:06] local.INFO: Extracted packet for processing {"connection_id":153233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed2c"} 
[2026-08-11 01:07:06] local.INFO: GPS Element Parsed {"raw_longitude":761323904,"raw_latitude":103493248,"longitude_deg":76.1323904,"latitude_deg":10.3493248,"altitude":10,"angle":151,"satellites":47,"speed":53,"hex_longitude":"2d60e180","hex_latitude":"062b2e80","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315977728001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377008054534668288,"note":"Value kept but may cause issues"} 
[2026-08-11 01:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6976779536735090688,"note":"Value kept but may cause issues"} 
[2026-08-11 01:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786390545000,"timestamp_ms":1786390545000,"timestamp_seconds":1786390545,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2c8268"} 
[2026-08-11 01:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 01:07: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-08-11 01: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-08-11 01:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:07: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-08-11 01:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315977728001,"66":27343,"91":206,"79":20992,"24":53,"16":377008054534668288,"45":6976779536735090688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-08-11 01:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315977728001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:07:06] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-11 01:07:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377008054534668288,"km_value":377008054534668.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6976779536735090688,"description":"Unknown IO ID 45"} 
[2026-08-11 01:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315977728001,"power":27343,"unknown_91":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":6976779536735090688}} 
[2026-08-11 01:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":153233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:07:06] local.INFO: GPS data processed {"connection_id":153233,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:07:06] local.INFO: Acknowledgment sent {"connection_id":153233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:07:06] local.INFO: TCP Data received {"connection_id":153233,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2c9dc0012d60f500062b0ed8000700922f..."} 
[2026-08-11 01:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2c9dc0012d60f500062b0ed8000700922f..."} 
[2026-08-11 01:07:06] local.INFO: Processing buffer {"connection_id":153233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2c9dc0012d60f500062b0ed8000700922f..."} 
[2026-08-11 01:07:06] local.INFO: Packet analysis {"connection_id":153233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed2c"} 
[2026-08-11 01:07:06] local.INFO: Extracted packet for processing {"connection_id":153233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed2c"} 
[2026-08-11 01:07:06] local.INFO: GPS Element Parsed {"raw_longitude":761328896,"raw_latitude":103485144,"longitude_deg":76.1328896,"latitude_deg":10.3485144,"altitude":7,"angle":146,"satellites":47,"speed":55,"hex_longitude":"2d60f500","hex_latitude":"062b0ed8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315979520001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377008514096168960,"note":"Value kept but may cause issues"} 
[2026-08-11 01:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6981001661383606272,"note":"Value kept but may cause issues"} 
[2026-08-11 01:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786390552000,"timestamp_ms":1786390552000,"timestamp_seconds":1786390552,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2c9dc0"} 
[2026-08-11 01:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:07: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-08-11 01: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-08-11 01:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:07: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-08-11 01:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315979520001,"66":27376,"91":206,"79":20992,"24":55,"16":377008514096168960,"45":6981001661383606272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-08-11 01:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315979520001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:07:06] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-11 01:07:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377008514096168960,"km_value":377008514096168.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6981001661383606272,"description":"Unknown IO ID 45"} 
[2026-08-11 01:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315979520001,"power":27376,"unknown_91":206,"unknown_79":20992,"ignition":55,"odometer":null,"unknown_45":6981001661383606272}} 
[2026-08-11 01:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":153233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:07:06] local.INFO: GPS data processed {"connection_id":153233,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:07:06] local.INFO: Acknowledgment sent {"connection_id":153233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:07:38] local.INFO: TCP Data received {"connection_id":153233,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2cb918012d6108c0062af178000700922f..."} 
[2026-08-11 01:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2cb918012d6108c0062af178000700922f..."} 
[2026-08-11 01:07:38] local.INFO: Processing buffer {"connection_id":153233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2cb918012d6108c0062af178000700922f..."} 
[2026-08-11 01:07:38] local.INFO: Packet analysis {"connection_id":153233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed2c"} 
[2026-08-11 01:07:38] local.INFO: Extracted packet for processing {"connection_id":153233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed2c"} 
[2026-08-11 01:07:38] local.INFO: GPS Element Parsed {"raw_longitude":761333952,"raw_latitude":103477624,"longitude_deg":76.1333952,"latitude_deg":10.3477624,"altitude":7,"angle":146,"satellites":47,"speed":49,"hex_longitude":"2d6108c0","hex_latitude":"062af178","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315981312001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377008947887865856,"note":"Value kept but may cause issues"} 
[2026-08-11 01:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6986490423427389440,"note":"Value kept but may cause issues"} 
[2026-08-11 01:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786390559000,"timestamp_ms":1786390559000,"timestamp_seconds":1786390559,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2cb918"} 
[2026-08-11 01:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 01:07: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-08-11 01: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-08-11 01:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:07:38] 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-08-11 01:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315981312001,"66":27332,"91":206,"79":20992,"24":49,"16":377008947887865856,"45":6986490423427389440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-08-11 01:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315981312001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:07:38] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-11 01:07:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377008947887865856,"km_value":377008947887865.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6986490423427389440,"description":"Unknown IO ID 45"} 
[2026-08-11 01:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315981312001,"power":27332,"unknown_91":206,"unknown_79":20992,"ignition":49,"odometer":null,"unknown_45":6986490423427389440}} 
[2026-08-11 01:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":153233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:07:38] local.INFO: GPS data processed {"connection_id":153233,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:07:38] local.INFO: Acknowledgment sent {"connection_id":153233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:07:53] local.INFO: TCP Data received {"connection_id":154634,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:07:53] local.INFO: Processing buffer {"connection_id":154634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:07:53] local.INFO: IMEI packet received {"connection_id":154634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":154634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:07:59] local.INFO: TCP Data received {"connection_id":154634,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:07:59] local.INFO: Processing buffer {"connection_id":154634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:07:59] local.INFO: IMEI packet received {"connection_id":154634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":154634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:08:00] local.INFO: TCP Data received {"connection_id":154634,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2cd858012d611c80062ad1f8000800962e..."} 
[2026-08-11 01:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2cd858012d611c80062ad1f8000800962e..."} 
[2026-08-11 01:08:00] local.INFO: Processing buffer {"connection_id":154634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2cd858012d611c80062ad1f8000800962e..."} 
[2026-08-11 01:08:00] local.INFO: Packet analysis {"connection_id":154634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed2c"} 
[2026-08-11 01:08:00] local.INFO: Extracted packet for processing {"connection_id":154634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed2c"} 
[2026-08-11 01:08:00] local.INFO: GPS Element Parsed {"raw_longitude":761339008,"raw_latitude":103469560,"longitude_deg":76.1339008,"latitude_deg":10.346956,"altitude":8,"angle":150,"satellites":46,"speed":44,"hex_longitude":"2d611c80","hex_latitude":"062ad1f8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457315983104001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377009411744333824,"note":"Value kept but may cause issues"} 
[2026-08-11 01:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6992049554215499776,"note":"Value kept but may cause issues"} 
[2026-08-11 01:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786390567000,"timestamp_ms":1786390567000,"timestamp_seconds":1786390567,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2cd858"} 
[2026-08-11 01:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 01:08: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-08-11 01: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-08-11 01:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:08:00] 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-08-11 01:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457315983104001,"66":27397,"90":206,"79":20992,"24":44,"16":377009411744333824,"45":6992049554215499776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-08-11 01:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457315983104001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:08:00] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-11 01:08:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377009411744333824,"km_value":377009411744333.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6992049554215499776,"description":"Unknown IO ID 45"} 
[2026-08-11 01:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457315983104001,"power":27397,"unknown_90":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":6992049554215499776}} 
[2026-08-11 01:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":154634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:08:00] local.INFO: GPS data processed {"connection_id":154634,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:08:00] local.INFO: Acknowledgment sent {"connection_id":154634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:08:31] local.INFO: TCP Data received {"connection_id":154634,"ip":"42.106.6.17","data_length":93,"data_hex":"00000000000000518e010000019fed2e1c90012d61c180062963d8000800a12f..."} 
[2026-08-11 01:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154634,"packet_length":93,"packet_hex":"00000000000000518e010000019fed2e1c90012d61c180062963d8000800a12f..."} 
[2026-08-11 01:08:31] local.INFO: Processing buffer {"connection_id":154634,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fed2e1c90012d61c180062963d8000800a12f..."} 
[2026-08-11 01:08:31] local.INFO: Packet analysis {"connection_id":154634,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fed2e"} 
[2026-08-11 01:08:31] local.INFO: Extracted packet for processing {"connection_id":154634,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fed2e"} 
[2026-08-11 01:08:31] local.INFO: GPS Element Parsed {"raw_longitude":761381248,"raw_latitude":103375832,"longitude_deg":76.1381248,"latitude_deg":10.3375832,"altitude":8,"angle":161,"satellites":47,"speed":42,"hex_longitude":"2d61c180","hex_latitude":"062963d8","is_valid_coordinates":true} 
[2026-08-11 01: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":93,"current_offset":40} 
[2026-08-11 01:08:31] 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-08-11 01:08:31] 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-08-11 01:08:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:08:31] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 01:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154634,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-11 01:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154634,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-11 01:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154634,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-11 01:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 01:08:31] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 01:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":154634,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 01:08:31] local.ERROR: GPS data processing failed {"connection_id":154634,"error":"No valid data to process"} 
[2026-08-11 01:08:31] local.INFO: Acknowledgment sent {"connection_id":154634,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 01:08:58] local.INFO: TCP Data received {"connection_id":152296,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:08:58] local.INFO: Processing buffer {"connection_id":152296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:08:58] local.INFO: IMEI packet received {"connection_id":152296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":152296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:08:59] local.INFO: TCP Data received {"connection_id":152296,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:08:59] local.INFO: Processing buffer {"connection_id":152296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:08:59] local.INFO: IMEI packet received {"connection_id":152296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":152296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:09:04] local.INFO: TCP Data received {"connection_id":152296,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:09:04] local.INFO: Processing buffer {"connection_id":152296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:09:04] local.INFO: IMEI packet received {"connection_id":152296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":152296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:09:05] local.INFO: TCP Data received {"connection_id":152296,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2e3fb8012d61cec0062941900009009e2f..."} 
[2026-08-11 01:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2e3fb8012d61cec0062941900009009e2f..."} 
[2026-08-11 01:09:05] local.INFO: Processing buffer {"connection_id":152296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2e3fb8012d61cec0062941900009009e2f..."} 
[2026-08-11 01:09:05] local.INFO: Packet analysis {"connection_id":152296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed2e"} 
[2026-08-11 01:09:05] local.INFO: Extracted packet for processing {"connection_id":152296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed2e"} 
[2026-08-11 01:09:05] local.INFO: GPS Element Parsed {"raw_longitude":761384640,"raw_latitude":103367056,"longitude_deg":76.138464,"latitude_deg":10.3367056,"altitude":9,"angle":158,"satellites":47,"speed":41,"hex_longitude":"2d61cec0","hex_latitude":"06294190","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316006400001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377014844877963264,"note":"Value kept but may cause issues"} 
[2026-08-11 01:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7044052056136734720,"note":"Value kept but may cause issues"} 
[2026-08-11 01:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786390659000,"timestamp_ms":1786390659000,"timestamp_seconds":1786390659,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2e3fb8"} 
[2026-08-11 01:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":196,"data_length":795,"current_offset":136} 
[2026-08-11 01:09: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-08-11 01: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-08-11 01:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:09:05] 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-08-11 01:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316006400001,"66":27343,"229":206,"79":20992,"24":41,"16":377014844877963264,"45":7044052056136734720},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-08-11 01:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316006400001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:09:05] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 01:09:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377014844877963264,"km_value":377014844877963.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7044052056136734720,"description":"Unknown IO ID 45"} 
[2026-08-11 01:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316006400001,"power":27343,"unknown_229":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":7044052056136734720}} 
[2026-08-11 01:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":152296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:09:05] local.INFO: GPS data processed {"connection_id":152296,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:09:05] local.INFO: Acknowledgment sent {"connection_id":152296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:09:37] local.INFO: TCP Data received {"connection_id":152296,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2e62e0012d61ddc006292018000b009b2f..."} 
[2026-08-11 01:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2e62e0012d61ddc006292018000b009b2f..."} 
[2026-08-11 01:09:37] local.INFO: Processing buffer {"connection_id":152296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2e62e0012d61ddc006292018000b009b2f..."} 
[2026-08-11 01:09:37] local.INFO: Packet analysis {"connection_id":152296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed2e"} 
[2026-08-11 01:09:37] local.INFO: Extracted packet for processing {"connection_id":152296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed2e"} 
[2026-08-11 01:09:37] local.INFO: GPS Element Parsed {"raw_longitude":761388480,"raw_latitude":103358488,"longitude_deg":76.138848,"latitude_deg":10.3358488,"altitude":11,"angle":155,"satellites":47,"speed":42,"hex_longitude":"2d61ddc0","hex_latitude":"06292018","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316008704001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377015300144496640,"note":"Value kept but may cause issues"} 
[2026-08-11 01:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7047781599575904256,"note":"Value kept but may cause issues"} 
[2026-08-11 01:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786390668000,"timestamp_ms":1786390668000,"timestamp_seconds":1786390668,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2e62e0"} 
[2026-08-11 01:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:09: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-08-11 01: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-08-11 01:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01: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-08-11 01:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316008704001,"66":27300,"229":206,"79":20992,"24":42,"16":377015300144496640,"45":7047781599575904256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-08-11 01:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316008704001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:09:37] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 01:09:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377015300144496640,"km_value":377015300144496.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7047781599575904256,"description":"Unknown IO ID 45"} 
[2026-08-11 01:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316008704001,"power":27300,"unknown_229":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7047781599575904256}} 
[2026-08-11 01:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":152296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:09:37] local.INFO: GPS data processed {"connection_id":152296,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:09:37] local.INFO: Acknowledgment sent {"connection_id":152296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:09:54] local.INFO: TCP Data received {"connection_id":151912,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:09:54] local.INFO: Processing buffer {"connection_id":151912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:09:54] local.INFO: IMEI packet received {"connection_id":151912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":151912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:09:58] local.INFO: TCP Data received {"connection_id":151912,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:09:58] local.INFO: Processing buffer {"connection_id":151912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:09:58] local.INFO: IMEI packet received {"connection_id":151912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":151912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:09:58] local.INFO: TCP Data received {"connection_id":151912,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2e8608012d61ee800628fe38000b00992e..."} 
[2026-08-11 01:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2e8608012d61ee800628fe38000b00992e..."} 
[2026-08-11 01:09:58] local.INFO: Processing buffer {"connection_id":151912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2e8608012d61ee800628fe38000b00992e..."} 
[2026-08-11 01:09:58] local.INFO: Packet analysis {"connection_id":151912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed2e"} 
[2026-08-11 01:09:58] local.INFO: Extracted packet for processing {"connection_id":151912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed2e"} 
[2026-08-11 01:09:58] local.INFO: GPS Element Parsed {"raw_longitude":761392768,"raw_latitude":103349816,"longitude_deg":76.1392768,"latitude_deg":10.3349816,"altitude":11,"angle":153,"satellites":46,"speed":42,"hex_longitude":"2d61ee80","hex_latitude":"0628fe38","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316011008001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377015768295931904,"note":"Value kept but may cause issues"} 
[2026-08-11 01:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7052003724224370688,"note":"Value kept but may cause issues"} 
[2026-08-11 01:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786390677000,"timestamp_ms":1786390677000,"timestamp_seconds":1786390677,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2e8608"} 
[2026-08-11 01:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 01:09:58] 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-08-11 01: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-08-11 01:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":151912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":151912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":151912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:09:58] 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-08-11 01:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316011008001,"66":27343,"229":206,"79":20992,"24":42,"16":377015768295931904,"45":7052003724224370688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-08-11 01:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316011008001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:09:58] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 01:09:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377015768295931904,"km_value":377015768295931.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7052003724224370688,"description":"Unknown IO ID 45"} 
[2026-08-11 01:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316011008001,"power":27343,"unknown_229":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7052003724224370688}} 
[2026-08-11 01:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":151912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:09:58] local.INFO: GPS data processed {"connection_id":151912,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:09:58] local.INFO: Acknowledgment sent {"connection_id":151912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:10:30] local.INFO: TCP Data received {"connection_id":151912,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed2ea548012d61fe400628df50000c00992f..."} 
[2026-08-11 01:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed2ea548012d61fe400628df50000c00992f..."} 
[2026-08-11 01:10:30] local.INFO: Processing buffer {"connection_id":151912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed2ea548012d61fe400628df50000c00992f..."} 
[2026-08-11 01:10:30] local.INFO: Packet analysis {"connection_id":151912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed2e"} 
[2026-08-11 01:10:30] local.INFO: Extracted packet for processing {"connection_id":151912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed2e"} 
[2026-08-11 01:10:30] local.INFO: GPS Element Parsed {"raw_longitude":761396800,"raw_latitude":103341904,"longitude_deg":76.13968,"latitude_deg":10.3341904,"altitude":12,"angle":153,"satellites":47,"speed":45,"hex_longitude":"2d61fe40","hex_latitude":"0628df50","is_valid_coordinates":true} 
[2026-08-11 01:10: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-08-11 01:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316013312001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377016197792661504,"note":"Value kept but may cause issues"} 
[2026-08-11 01:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7056718430082054144,"note":"Value kept but may cause issues"} 
[2026-08-11 01:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786390685000,"timestamp_ms":1786390685000,"timestamp_seconds":1786390685,"priority":1,"record_length":96,"hex_timestamp":"0000019fed2ea548"} 
[2026-08-11 01:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:10: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:10:30] 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-08-11 01:10: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-08-11 01:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:10:30] 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-08-11 01:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316013312001,"66":27321,"229":206,"79":20992,"24":45,"16":377016197792661504,"45":7056718430082054144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-08-11 01:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316013312001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:10:30] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 01:10:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377016197792661504,"km_value":377016197792661.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7056718430082054144,"description":"Unknown IO ID 45"} 
[2026-08-11 01:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316013312001,"power":27321,"unknown_229":206,"unknown_79":20992,"ignition":45,"odometer":null,"unknown_45":7056718430082054144}} 
[2026-08-11 01:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":151912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:10:30] local.INFO: GPS data processed {"connection_id":151912,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:10:30] local.INFO: Acknowledgment sent {"connection_id":151912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:10:54] local.INFO: TCP Data received {"connection_id":154635,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:10:54] local.INFO: Processing buffer {"connection_id":154635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:10:54] local.INFO: IMEI packet received {"connection_id":154635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":154635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:10:58] local.INFO: TCP Data received {"connection_id":154635,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:10:58] local.INFO: Processing buffer {"connection_id":154635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:10:58] local.INFO: IMEI packet received {"connection_id":154635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":154635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:11:10] local.INFO: TCP Data received {"connection_id":154635,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed304b28012d629cc006277818000c00982c..."} 
[2026-08-11 01:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed304b28012d629cc006277818000c00982c..."} 
[2026-08-11 01:11:10] local.INFO: Processing buffer {"connection_id":154635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed304b28012d629cc006277818000c00982c..."} 
[2026-08-11 01:11:10] local.INFO: Packet analysis {"connection_id":154635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed30"} 
[2026-08-11 01:11:10] local.INFO: Extracted packet for processing {"connection_id":154635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed30"} 
[2026-08-11 01:11:10] local.INFO: GPS Element Parsed {"raw_longitude":761437376,"raw_latitude":103249944,"longitude_deg":76.1437376,"latitude_deg":10.3249944,"altitude":12,"angle":152,"satellites":44,"speed":34,"hex_longitude":"2d629cc0","hex_latitude":"06277818","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316039936001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377021068285575168,"note":"Value kept but may cause issues"} 
[2026-08-11 01:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7101121107634702336,"note":"Value kept but may cause issues"} 
[2026-08-11 01:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786390793000,"timestamp_ms":1786390793000,"timestamp_seconds":1786390793,"priority":1,"record_length":96,"hex_timestamp":"0000019fed304b28"} 
[2026-08-11 01:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 01:11:10] 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-08-11 01: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-08-11 01:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:11:10] 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-08-11 01:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316039936001,"66":27213,"89":206,"79":20992,"24":34,"16":377021068285575168,"45":7101121107634702336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-08-11 01:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316039936001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:11:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-11 01:11:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377021068285575168,"km_value":377021068285575.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7101121107634702336,"description":"Unknown IO ID 45"} 
[2026-08-11 01:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316039936001,"power":27213,"unknown_89":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7101121107634702336}} 
[2026-08-11 01:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":154635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:11:10] local.INFO: GPS data processed {"connection_id":154635,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:11:10] local.INFO: Acknowledgment sent {"connection_id":154635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:11:54] local.INFO: TCP Data received {"connection_id":152297,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:11:54] local.INFO: Processing buffer {"connection_id":152297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:11:54] local.INFO: IMEI packet received {"connection_id":152297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":152297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:11:55] local.INFO: TCP Data received {"connection_id":152297,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:11:55] local.INFO: Processing buffer {"connection_id":152297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:11:55] local.INFO: IMEI packet received {"connection_id":152297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":152297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:11:58] local.INFO: TCP Data received {"connection_id":152297,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:11:58] local.INFO: Processing buffer {"connection_id":152297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:11:58] local.INFO: IMEI packet received {"connection_id":152297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":152297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:12:00] local.INFO: TCP Data received {"connection_id":152297,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed307238012d62acc006275818000c009c2c..."} 
[2026-08-11 01:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed307238012d62acc006275818000c009c2c..."} 
[2026-08-11 01:12:00] local.INFO: Processing buffer {"connection_id":152297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed307238012d62acc006275818000c009c2c..."} 
[2026-08-11 01:12:00] local.INFO: Packet analysis {"connection_id":152297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed30"} 
[2026-08-11 01:12:00] local.INFO: Extracted packet for processing {"connection_id":152297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed30"} 
[2026-08-11 01:12:00] local.INFO: GPS Element Parsed {"raw_longitude":761441472,"raw_latitude":103241752,"longitude_deg":76.1441472,"latitude_deg":10.3241752,"altitude":12,"angle":156,"satellites":44,"speed":36,"hex_longitude":"2d62acc0","hex_latitude":"06275818","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316043008001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377021510667206656,"note":"Value kept but may cause issues"} 
[2026-08-11 01:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7105765444748318720,"note":"Value kept but may cause issues"} 
[2026-08-11 01:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786390803000,"timestamp_ms":1786390803000,"timestamp_seconds":1786390803,"priority":1,"record_length":96,"hex_timestamp":"0000019fed307238"} 
[2026-08-11 01:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 01:12:00] 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-08-11 01: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-08-11 01:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:12:00] 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-08-11 01:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316043008001,"66":27397,"89":206,"79":20992,"24":36,"16":377021510667206656,"45":7105765444748318720},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-08-11 01:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316043008001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:12:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-11 01:12:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377021510667206656,"km_value":377021510667206.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7105765444748318720,"description":"Unknown IO ID 45"} 
[2026-08-11 01:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316043008001,"power":27397,"unknown_89":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7105765444748318720}} 
[2026-08-11 01:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":152297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:12:00] local.INFO: GPS data processed {"connection_id":152297,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:12:00] local.INFO: Acknowledgment sent {"connection_id":152297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:12:32] local.INFO: TCP Data received {"connection_id":152297,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed31d5b0012d6337800626d9b0000a004327..."} 
[2026-08-11 01:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed31d5b0012d6337800626d9b0000a004327..."} 
[2026-08-11 01:12:32] local.INFO: Processing buffer {"connection_id":152297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed31d5b0012d6337800626d9b0000a004327..."} 
[2026-08-11 01:12:32] local.INFO: Packet analysis {"connection_id":152297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed31"} 
[2026-08-11 01:12:32] local.INFO: Extracted packet for processing {"connection_id":152297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed31"} 
[2026-08-11 01:12:32] local.INFO: GPS Element Parsed {"raw_longitude":761476992,"raw_latitude":103209392,"longitude_deg":76.1476992,"latitude_deg":10.3209392,"altitude":10,"angle":67,"satellites":39,"speed":38,"hex_longitude":"2d633780","hex_latitude":"0626d9b0","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316066048001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377024680353071104,"note":"Value kept but may cause issues"} 
[2026-08-11 01:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7139401704453857280,"note":"Value kept but may cause issues"} 
[2026-08-11 01:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786390894000,"timestamp_ms":1786390894000,"timestamp_seconds":1786390894,"priority":1,"record_length":96,"hex_timestamp":"0000019fed31d5b0"} 
[2026-08-11 01:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 01:12:32] 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-08-11 01: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-08-11 01:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:12:32] 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-08-11 01:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316066048001,"66":27321,"87":206,"79":20992,"24":38,"16":377024680353071104,"45":7139401704453857280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-08-11 01:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316066048001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:12:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-11 01:12:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377024680353071104,"km_value":377024680353071.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7139401704453857280,"description":"Unknown IO ID 45"} 
[2026-08-11 01:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316066048001,"power":27321,"unknown_87":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7139401704453857280}} 
[2026-08-11 01:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":152297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:12:32] local.INFO: GPS data processed {"connection_id":152297,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:12:32] local.INFO: Acknowledgment sent {"connection_id":152297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:13:01] local.INFO: TCP Data received {"connection_id":151913,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:13:01] local.INFO: Processing buffer {"connection_id":151913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:13:01] local.INFO: IMEI packet received {"connection_id":151913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":151913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:13:03] local.INFO: TCP Data received {"connection_id":151913,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:13:03] local.INFO: Processing buffer {"connection_id":151913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:13:03] local.INFO: IMEI packet received {"connection_id":151913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":151913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:13:05] local.INFO: TCP Data received {"connection_id":151913,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed31e550012d6344800626e0d8000a003628..."} 
[2026-08-11 01:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed31e550012d6344800626e0d8000a003628..."} 
[2026-08-11 01:13:05] local.INFO: Processing buffer {"connection_id":151913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed31e550012d6344800626e0d8000a003628..."} 
[2026-08-11 01:13:05] local.INFO: Packet analysis {"connection_id":151913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed31"} 
[2026-08-11 01:13:05] local.INFO: Extracted packet for processing {"connection_id":151913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed31"} 
[2026-08-11 01:13:05] local.INFO: GPS Element Parsed {"raw_longitude":761480320,"raw_latitude":103211224,"longitude_deg":76.148032,"latitude_deg":10.3211224,"altitude":10,"angle":54,"satellites":40,"speed":38,"hex_longitude":"2d634480","hex_latitude":"0626e0d8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316068864001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377024860741697536,"note":"Value kept but may cause issues"} 
[2026-08-11 01:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7149323697383911424,"note":"Value kept but may cause issues"} 
[2026-08-11 01:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786390898000,"timestamp_ms":1786390898000,"timestamp_seconds":1786390898,"priority":1,"record_length":96,"hex_timestamp":"0000019fed31e550"} 
[2026-08-11 01:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01: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-08-11 01: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-08-11 01:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:13:05] 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-08-11 01:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316068864001,"66":27365,"87":206,"79":20992,"24":38,"16":377024860741697536,"45":7149323697383911424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-08-11 01:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316068864001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:13:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-11 01:13:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377024860741697536,"km_value":377024860741697.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7149323697383911424,"description":"Unknown IO ID 45"} 
[2026-08-11 01:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316068864001,"power":27365,"unknown_87":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7149323697383911424}} 
[2026-08-11 01:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":151913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:13:05] local.INFO: GPS data processed {"connection_id":151913,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:13:05] local.INFO: Acknowledgment sent {"connection_id":151913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:13:07] local.INFO: TCP Data received {"connection_id":151913,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed320c60012d6360400626f8b00009003e2a..."} 
[2026-08-11 01:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed320c60012d6360400626f8b00009003e2a..."} 
[2026-08-11 01:13:07] local.INFO: Processing buffer {"connection_id":151913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed320c60012d6360400626f8b00009003e2a..."} 
[2026-08-11 01:13:07] local.INFO: Packet analysis {"connection_id":151913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed32"} 
[2026-08-11 01:13:07] local.INFO: Extracted packet for processing {"connection_id":151913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed32"} 
[2026-08-11 01:13:07] local.INFO: GPS Element Parsed {"raw_longitude":761487424,"raw_latitude":103217328,"longitude_deg":76.1487424,"latitude_deg":10.3217328,"altitude":9,"angle":62,"satellites":42,"speed":33,"hex_longitude":"2d636040","hex_latitude":"0626f8b0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 01:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316069888001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377025311713263616,"note":"Value kept but may cause issues"} 
[2026-08-11 01:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7152982872081618944,"note":"Value kept but may cause issues"} 
[2026-08-11 01:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786390908000,"timestamp_ms":1786390908000,"timestamp_seconds":1786390908,"priority":1,"record_length":96,"hex_timestamp":"0000019fed320c60"} 
[2026-08-11 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-08-11 01:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:13: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-08-11 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-08-11 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-08-11 01:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:13:07] 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-08-11 01:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316069888001,"66":27310,"87":206,"79":20992,"24":33,"16":377025311713263616,"45":7152982872081618944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-08-11 01:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316069888001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:13:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-11 01:13:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377025311713263616,"km_value":377025311713263.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7152982872081618944,"description":"Unknown IO ID 45"} 
[2026-08-11 01:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316069888001,"power":27310,"unknown_87":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7152982872081618944}} 
[2026-08-11 01:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":151913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:13:07] local.INFO: GPS data processed {"connection_id":151913,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:13:07] local.INFO: Acknowledgment sent {"connection_id":151913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:13:38] local.INFO: TCP Data received {"connection_id":151913,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3319e8012d63de8006275ff0000b00142c..."} 
[2026-08-11 01:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3319e8012d63de8006275ff0000b00142c..."} 
[2026-08-11 01:13:38] local.INFO: Processing buffer {"connection_id":151913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3319e8012d63de8006275ff0000b00142c..."} 
[2026-08-11 01:13:38] local.INFO: Packet analysis {"connection_id":151913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed33"} 
[2026-08-11 01:13:38] local.INFO: Extracted packet for processing {"connection_id":151913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed33"} 
[2026-08-11 01:13:38] local.INFO: GPS Element Parsed {"raw_longitude":761519744,"raw_latitude":103243760,"longitude_deg":76.1519744,"latitude_deg":10.324376,"altitude":11,"angle":20,"satellites":44,"speed":11,"hex_longitude":"2d63de80","hex_latitude":"06275ff0","is_valid_coordinates":true} 
[2026-08-11 01:13: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-08-11 01:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316089856001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377027467786846208,"note":"Value kept but may cause issues"} 
[2026-08-11 01:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7196259649759141888,"note":"Value kept but may cause issues"} 
[2026-08-11 01:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786390977000,"timestamp_ms":1786390977000,"timestamp_seconds":1786390977,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3319e8"} 
[2026-08-11 01:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:13: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-08-11 01:13: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-08-11 01:13: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-08-11 01:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:13:38] 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-08-11 01:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316089856001,"66":27267,"99":206,"79":20992,"24":11,"16":377027467786846208,"45":7196259649759141888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-08-11 01:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316089856001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:13:38] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 01:13:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377027467786846208,"km_value":377027467786846.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7196259649759141888,"description":"Unknown IO ID 45"} 
[2026-08-11 01:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316089856001,"power":27267,"unknown_99":206,"unknown_79":20992,"ignition":11,"odometer":null,"unknown_45":7196259649759141888}} 
[2026-08-11 01:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":151913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:13:38] local.INFO: GPS data processed {"connection_id":151913,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:13:38] local.INFO: Acknowledgment sent {"connection_id":151913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:13:51] local.INFO: TCP Data received {"connection_id":153234,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:13:51] local.INFO: Processing buffer {"connection_id":153234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:13:51] local.INFO: IMEI packet received {"connection_id":153234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":153234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:13:54] local.INFO: TCP Data received {"connection_id":153234,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:13:54] local.INFO: Processing buffer {"connection_id":153234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:13:54] local.INFO: IMEI packet received {"connection_id":153234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":153234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:13:59] local.INFO: TCP Data received {"connection_id":153234,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:13:59] local.INFO: Processing buffer {"connection_id":153234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:13:59] local.INFO: IMEI packet received {"connection_id":153234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":153234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:14:00] local.INFO: TCP Data received {"connection_id":153234,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3321b8012d63df80062761a8000b00242c..."} 
[2026-08-11 01:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3321b8012d63df80062761a8000b00242c..."} 
[2026-08-11 01:14:00] local.INFO: Processing buffer {"connection_id":153234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3321b8012d63df80062761a8000b00242c..."} 
[2026-08-11 01:14:00] local.INFO: Packet analysis {"connection_id":153234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed33"} 
[2026-08-11 01:14:00] local.INFO: Extracted packet for processing {"connection_id":153234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed33"} 
[2026-08-11 01:14:00] local.INFO: GPS Element Parsed {"raw_longitude":761520000,"raw_latitude":103244200,"longitude_deg":76.152,"latitude_deg":10.32442,"altitude":11,"angle":36,"satellites":44,"speed":9,"hex_longitude":"2d63df80","hex_latitude":"062761a8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316090112001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377027493556649984,"note":"Value kept but may cause issues"} 
[2026-08-11 01:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7196330018503389184,"note":"Value kept but may cause issues"} 
[2026-08-11 01:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786390979000,"timestamp_ms":1786390979000,"timestamp_seconds":1786390979,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3321b8"} 
[2026-08-11 01:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 01:14:00] 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-08-11 01: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-08-11 01:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:14:00] 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-08-11 01:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316090112001,"66":27343,"99":206,"79":20992,"24":9,"16":377027493556649984,"45":7196330018503389184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-08-11 01:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316090112001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:14:00] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 01:14:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377027493556649984,"km_value":377027493556650.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7196330018503389184,"description":"Unknown IO ID 45"} 
[2026-08-11 01:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316090112001,"power":27343,"unknown_99":206,"unknown_79":20992,"ignition":9,"odometer":null,"unknown_45":7196330018503389184}} 
[2026-08-11 01:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":153234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:14:00] local.INFO: GPS data processed {"connection_id":153234,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:14:00] local.INFO: Acknowledgment sent {"connection_id":153234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:14:43] local.INFO: TCP Data received {"connection_id":153234,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3325a0012d63e00006276268000b00332d..."} 
[2026-08-11 01:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3325a0012d63e00006276268000b00332d..."} 
[2026-08-11 01:14:43] local.INFO: Processing buffer {"connection_id":153234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3325a0012d63e00006276268000b00332d..."} 
[2026-08-11 01:14:43] local.INFO: Packet analysis {"connection_id":153234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed33"} 
[2026-08-11 01:14:43] local.INFO: Extracted packet for processing {"connection_id":153234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed33"} 
[2026-08-11 01:14:43] local.INFO: GPS Element Parsed {"raw_longitude":761520128,"raw_latitude":103244392,"longitude_deg":76.1520128,"latitude_deg":10.3244392,"altitude":11,"angle":51,"satellites":45,"speed":11,"hex_longitude":"2d63e000","hex_latitude":"06276268","is_valid_coordinates":true} 
[2026-08-11 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-08-11 01:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316090624001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377027506441551872,"note":"Value kept but may cause issues"} 
[2026-08-11 01:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7196611493480212480,"note":"Value kept but may cause issues"} 
[2026-08-11 01:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786390980000,"timestamp_ms":1786390980000,"timestamp_seconds":1786390980,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3325a0"} 
[2026-08-11 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-08-11 01:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:14: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-08-11 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-08-11 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-08-11 01:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:14: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-08-11 01:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316090624001,"66":27343,"99":206,"79":20992,"24":11,"16":377027506441551872,"45":7196611493480212480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-08-11 01:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316090624001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:14:43] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 01:14:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377027506441551872,"km_value":377027506441551.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":7196611493480212480,"description":"Unknown IO ID 45"} 
[2026-08-11 01:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316090624001,"power":27343,"unknown_99":206,"unknown_79":20992,"ignition":11,"odometer":null,"unknown_45":7196611493480212480}} 
[2026-08-11 01:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":153234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:14:43] local.INFO: GPS data processed {"connection_id":153234,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:14:43] local.INFO: Acknowledgment sent {"connection_id":153234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:14:54] local.INFO: TCP Data received {"connection_id":153235,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:14:54] local.INFO: Processing buffer {"connection_id":153235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:14:54] local.INFO: IMEI packet received {"connection_id":153235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":153235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:14:55] local.INFO: TCP Data received {"connection_id":153235,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:14:55] local.INFO: Processing buffer {"connection_id":153235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:14:55] local.INFO: IMEI packet received {"connection_id":153235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":153235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:14:57] local.INFO: TCP Data received {"connection_id":153235,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:14:57] local.INFO: Processing buffer {"connection_id":153235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:14:57] local.INFO: IMEI packet received {"connection_id":153235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":153235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:14:59] local.INFO: TCP Data received {"connection_id":153235,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:14:59] local.INFO: Processing buffer {"connection_id":153235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:14:59] local.INFO: IMEI packet received {"connection_id":153235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":153235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:14:59] local.INFO: TCP Data received {"connection_id":153235,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed342770012d64a5c0062785200008004d2e..."} 
[2026-08-11 01:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed342770012d64a5c0062785200008004d2e..."} 
[2026-08-11 01:14:59] local.INFO: Processing buffer {"connection_id":153235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed342770012d64a5c0062785200008004d2e..."} 
[2026-08-11 01:14:59] local.INFO: Packet analysis {"connection_id":153235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed34"} 
[2026-08-11 01:14:59] local.INFO: Extracted packet for processing {"connection_id":153235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed34"} 
[2026-08-11 01:14:59] local.INFO: GPS Element Parsed {"raw_longitude":761570752,"raw_latitude":103253280,"longitude_deg":76.1570752,"latitude_deg":10.325328,"altitude":8,"angle":77,"satellites":46,"speed":44,"hex_longitude":"2d64a5c0","hex_latitude":"06278520","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316106240001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377030023292387328,"note":"Value kept but may cause issues"} 
[2026-08-11 01:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7245588139429976064,"note":"Value kept but may cause issues"} 
[2026-08-11 01:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786391046000,"timestamp_ms":1786391046000,"timestamp_seconds":1786391046,"priority":1,"record_length":96,"hex_timestamp":"0000019fed342770"} 
[2026-08-11 01:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:14:59] 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-08-11 01: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-08-11 01:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:14:59] 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-08-11 01:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316106240001,"66":27343,"98":206,"79":20992,"24":44,"16":377030023292387328,"45":7245588139429976064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,79,24,16,45]} 
[2026-08-11 01:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316106240001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:14:59] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 01:14:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377030023292387328,"km_value":377030023292387.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7245588139429976064,"description":"Unknown IO ID 45"} 
[2026-08-11 01:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316106240001,"power":27343,"unknown_98":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7245588139429976064}} 
[2026-08-11 01:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":153235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:14:59] local.INFO: GPS data processed {"connection_id":153235,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:14:59] local.INFO: Acknowledgment sent {"connection_id":153235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:15:00] local.INFO: TCP Data received {"connection_id":153235,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3446b0012d64ca0006278e58000500482e..."} 
[2026-08-11 01:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3446b0012d64ca0006278e58000500482e..."} 
[2026-08-11 01:15:00] local.INFO: Processing buffer {"connection_id":153235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3446b0012d64ca0006278e58000500482e..."} 
[2026-08-11 01:15:00] local.INFO: Packet analysis {"connection_id":153235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed34"} 
[2026-08-11 01:15:00] local.INFO: Extracted packet for processing {"connection_id":153235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed34"} 
[2026-08-11 01:15:00] local.INFO: GPS Element Parsed {"raw_longitude":761580032,"raw_latitude":103255640,"longitude_deg":76.1580032,"latitude_deg":10.325564,"altitude":5,"angle":72,"satellites":46,"speed":49,"hex_longitude":"2d64ca00","hex_latitude":"06278e58","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316107776001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377030478558920704,"note":"Value kept but may cause issues"} 
[2026-08-11 01:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7252413907615424512,"note":"Value kept but may cause issues"} 
[2026-08-11 01:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786391054000,"timestamp_ms":1786391054000,"timestamp_seconds":1786391054,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3446b0"} 
[2026-08-11 01:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:15:00] 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-08-11 01: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-08-11 01:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:15:00] 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-08-11 01:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316107776001,"66":27321,"97":206,"79":20992,"24":49,"16":377030478558920704,"45":7252413907615424512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-08-11 01:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316107776001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:15:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 01:15:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377030478558920704,"km_value":377030478558920.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7252413907615424512,"description":"Unknown IO ID 45"} 
[2026-08-11 01:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316107776001,"power":27321,"unknown_97":206,"unknown_79":20992,"ignition":49,"odometer":null,"unknown_45":7252413907615424512}} 
[2026-08-11 01:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":153235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:15:00] local.INFO: GPS data processed {"connection_id":153235,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:15:00] local.INFO: Acknowledgment sent {"connection_id":153235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:15:31] local.INFO: TCP Data received {"connection_id":153235,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed345268012d64d7c0062793f00005003d2d..."} 
[2026-08-11 01:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed345268012d64d7c0062793f00005003d2d..."} 
[2026-08-11 01:15:31] local.INFO: Processing buffer {"connection_id":153235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed345268012d64d7c0062793f00005003d2d..."} 
[2026-08-11 01:15:31] local.INFO: Packet analysis {"connection_id":153235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed34"} 
[2026-08-11 01:15:31] local.INFO: Extracted packet for processing {"connection_id":153235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed34"} 
[2026-08-11 01:15:31] local.INFO: GPS Element Parsed {"raw_longitude":761583552,"raw_latitude":103257072,"longitude_deg":76.1583552,"latitude_deg":10.3257072,"altitude":5,"angle":61,"satellites":45,"speed":48,"hex_longitude":"2d64d7c0","hex_latitude":"062793f0","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316109824001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377030663242514432,"note":"Value kept but may cause issues"} 
[2026-08-11 01:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7262617375521789952,"note":"Value kept but may cause issues"} 
[2026-08-11 01:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786391057000,"timestamp_ms":1786391057000,"timestamp_seconds":1786391057,"priority":1,"record_length":96,"hex_timestamp":"0000019fed345268"} 
[2026-08-11 01:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 01:15:31] 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-08-11 01: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-08-11 01:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:15:31] 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-08-11 01:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316109824001,"66":27267,"97":206,"79":20992,"24":48,"16":377030663242514432,"45":7262617375521789952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-08-11 01:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316109824001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:15:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 01:15:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377030663242514432,"km_value":377030663242514.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7262617375521789952,"description":"Unknown IO ID 45"} 
[2026-08-11 01:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316109824001,"power":27267,"unknown_97":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7262617375521789952}} 
[2026-08-11 01:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":153235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:15:31] local.INFO: GPS data processed {"connection_id":153235,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:15:31] local.INFO: Acknowledgment sent {"connection_id":153235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:15:55] local.INFO: TCP Data received {"connection_id":151914,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:15:55] local.INFO: Processing buffer {"connection_id":151914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:15:55] local.INFO: IMEI packet received {"connection_id":151914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":151914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:16:00] local.INFO: TCP Data received {"connection_id":151914,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:16:00] local.INFO: Processing buffer {"connection_id":151914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:16:00] local.INFO: IMEI packet received {"connection_id":151914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":151914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:16:04] local.INFO: TCP Data received {"connection_id":151914,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:16:04] local.INFO: Processing buffer {"connection_id":151914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:16:04] local.INFO: IMEI packet received {"connection_id":151914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":151914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:16:06] local.INFO: TCP Data received {"connection_id":151914,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed345a38012d64df00062798f8000500302c..."} 
[2026-08-11 01:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed345a38012d64df00062798f8000500302c..."} 
[2026-08-11 01:16:06] local.INFO: Processing buffer {"connection_id":151914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed345a38012d64df00062798f8000500302c..."} 
[2026-08-11 01:16:06] local.INFO: Packet analysis {"connection_id":151914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed34"} 
[2026-08-11 01:16:06] local.INFO: Extracted packet for processing {"connection_id":151914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed34"} 
[2026-08-11 01:16:06] local.INFO: GPS Element Parsed {"raw_longitude":761585408,"raw_latitude":103258360,"longitude_deg":76.1585408,"latitude_deg":10.325836,"altitude":5,"angle":48,"satellites":44,"speed":42,"hex_longitude":"2d64df00","hex_latitude":"062798f8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316110592001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377030770616696832,"note":"Value kept but may cause issues"} 
[2026-08-11 01:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7266487656451928064,"note":"Value kept but may cause issues"} 
[2026-08-11 01:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786391059000,"timestamp_ms":1786391059000,"timestamp_seconds":1786391059,"priority":1,"record_length":96,"hex_timestamp":"0000019fed345a38"} 
[2026-08-11 01:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 01:16: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-08-11 01: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-08-11 01:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:16: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-08-11 01:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316110592001,"66":27397,"97":206,"79":20992,"24":42,"16":377030770616696832,"45":7266487656451928064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-08-11 01:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316110592001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:16:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 01:16:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377030770616696832,"km_value":377030770616696.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7266487656451928064,"description":"Unknown IO ID 45"} 
[2026-08-11 01:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316110592001,"power":27397,"unknown_97":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7266487656451928064}} 
[2026-08-11 01:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":151914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:16:06] local.INFO: GPS data processed {"connection_id":151914,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:16:06] local.INFO: Acknowledgment sent {"connection_id":151914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:16:18] local.INFO: TCP Data received {"connection_id":151914,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed346208012d64e44006279f10000500232b..."} 
[2026-08-11 01:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed346208012d64e44006279f10000500232b..."} 
[2026-08-11 01:16:18] local.INFO: Processing buffer {"connection_id":151914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed346208012d64e44006279f10000500232b..."} 
[2026-08-11 01:16:18] local.INFO: Packet analysis {"connection_id":151914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed34"} 
[2026-08-11 01:16:18] local.INFO: Extracted packet for processing {"connection_id":151914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed34"} 
[2026-08-11 01:16:18] local.INFO: GPS Element Parsed {"raw_longitude":761586752,"raw_latitude":103259920,"longitude_deg":76.1586752,"latitude_deg":10.325992,"altitude":5,"angle":35,"satellites":43,"speed":41,"hex_longitude":"2d64e440","hex_latitude":"06279f10","is_valid_coordinates":true} 
[2026-08-11 01:16: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-08-11 01:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316111104001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377030869400944640,"note":"Value kept but may cause issues"} 
[2026-08-11 01:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7268528350033410048,"note":"Value kept but may cause issues"} 
[2026-08-11 01:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786391061000,"timestamp_ms":1786391061000,"timestamp_seconds":1786391061,"priority":1,"record_length":96,"hex_timestamp":"0000019fed346208"} 
[2026-08-11 01:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:16: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 01:16:18] 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-08-11 01:16: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-08-11 01:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:16:18] 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-08-11 01:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316111104001,"66":27343,"97":206,"79":20992,"24":41,"16":377030869400944640,"45":7268528350033410048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-08-11 01:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316111104001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:16:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 01:16:18] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377030869400944640,"km_value":377030869400944.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":7268528350033410048,"description":"Unknown IO ID 45"} 
[2026-08-11 01:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316111104001,"power":27343,"unknown_97":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":7268528350033410048}} 
[2026-08-11 01:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":151914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:16:18] local.INFO: GPS data processed {"connection_id":151914,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:16:18] local.INFO: Acknowledgment sent {"connection_id":151914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:16:53] local.INFO: TCP Data received {"connection_id":154636,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:16:53] local.INFO: Processing buffer {"connection_id":154636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:16:53] local.INFO: IMEI packet received {"connection_id":154636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":154636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:16:54] local.INFO: TCP Data received {"connection_id":154636,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:16:54] local.INFO: Processing buffer {"connection_id":154636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:16:54] local.INFO: IMEI packet received {"connection_id":154636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":154636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:16:59] local.INFO: TCP Data received {"connection_id":154636,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:16:59] local.INFO: Processing buffer {"connection_id":154636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:16:59] local.INFO: IMEI packet received {"connection_id":154636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":154636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:17:01] local.INFO: TCP Data received {"connection_id":154636,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed358700012d65b3c006282d080004004c2d..."} 
[2026-08-11 01:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed358700012d65b3c006282d080004004c2d..."} 
[2026-08-11 01:17:01] local.INFO: Processing buffer {"connection_id":154636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed358700012d65b3c006282d080004004c2d..."} 
[2026-08-11 01:17:01] local.INFO: Packet analysis {"connection_id":154636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed35"} 
[2026-08-11 01:17:01] local.INFO: Extracted packet for processing {"connection_id":154636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed35"} 
[2026-08-11 01:17:01] local.INFO: GPS Element Parsed {"raw_longitude":761639872,"raw_latitude":103296264,"longitude_deg":76.1639872,"latitude_deg":10.3296264,"altitude":4,"angle":76,"satellites":45,"speed":44,"hex_longitude":"2d65b3c0","hex_latitude":"06282d08","is_valid_coordinates":true} 
[2026-08-11 01:17: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-08-11 01:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316128512001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377034528713080832,"note":"Value kept but may cause issues"} 
[2026-08-11 01:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7317927208455327744,"note":"Value kept but may cause issues"} 
[2026-08-11 01:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786391136000,"timestamp_ms":1786391136000,"timestamp_seconds":1786391136,"priority":1,"record_length":96,"hex_timestamp":"0000019fed358700"} 
[2026-08-11 01:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:17: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-08-11 01:17: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-08-11 01:17: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-08-11 01:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:17:01] 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-08-11 01:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316128512001,"66":27169,"97":206,"79":20992,"24":44,"16":377034528713080832,"45":7317927208455327744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-08-11 01:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316128512001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:17:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 01:17:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377034528713080832,"km_value":377034528713080.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7317927208455327744,"description":"Unknown IO ID 45"} 
[2026-08-11 01:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316128512001,"power":27169,"unknown_97":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7317927208455327744}} 
[2026-08-11 01:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":154636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:17:01] local.INFO: GPS data processed {"connection_id":154636,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:17:01] local.INFO: Acknowledgment sent {"connection_id":154636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:17:31] local.INFO: TCP Data received {"connection_id":154636,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed35aa28012d65d980062834b00005004f2c..."} 
[2026-08-11 01:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed35aa28012d65d980062834b00005004f2c..."} 
[2026-08-11 01:17:31] local.INFO: Processing buffer {"connection_id":154636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed35aa28012d65d980062834b00005004f2c..."} 
[2026-08-11 01:17:31] local.INFO: Packet analysis {"connection_id":154636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed35"} 
[2026-08-11 01:17:31] local.INFO: Extracted packet for processing {"connection_id":154636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed35"} 
[2026-08-11 01:17:31] local.INFO: GPS Element Parsed {"raw_longitude":761649536,"raw_latitude":103298224,"longitude_deg":76.1649536,"latitude_deg":10.3298224,"altitude":5,"angle":79,"satellites":44,"speed":38,"hex_longitude":"2d65d980","hex_latitude":"062834b0","is_valid_coordinates":true} 
[2026-08-11 01:17: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-08-11 01:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316130816001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377035001159483392,"note":"Value kept but may cause issues"} 
[2026-08-11 01:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7328412151338305536,"note":"Value kept but may cause issues"} 
[2026-08-11 01:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786391145000,"timestamp_ms":1786391145000,"timestamp_seconds":1786391145,"priority":1,"record_length":96,"hex_timestamp":"0000019fed35aa28"} 
[2026-08-11 01:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:17: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-11 01:17:31] 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-08-11 01:17: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-08-11 01:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:17:31] 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-08-11 01:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316130816001,"66":27397,"97":206,"79":20992,"24":38,"16":377035001159483392,"45":7328412151338305536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-08-11 01:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316130816001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:17:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 01:17:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-11 01:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377035001159483392,"km_value":377035001159483.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7328412151338305536,"description":"Unknown IO ID 45"} 
[2026-08-11 01:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316130816001,"power":27397,"unknown_97":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7328412151338305536}} 
[2026-08-11 01:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":154636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:17:31] local.INFO: GPS data processed {"connection_id":154636,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:17:31] local.INFO: Acknowledgment sent {"connection_id":154636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:17:56] local.INFO: TCP Data received {"connection_id":152298,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:17:56] local.INFO: Processing buffer {"connection_id":152298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:17:56] local.INFO: IMEI packet received {"connection_id":152298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":152298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:17:59] local.INFO: TCP Data received {"connection_id":152298,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:17:59] local.INFO: Processing buffer {"connection_id":152298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:17:59] local.INFO: IMEI packet received {"connection_id":152298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":152298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:18:00] local.INFO: TCP Data received {"connection_id":152298,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed35cd50012d65fd4006283be00005004f2d..."} 
[2026-08-11 01:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed35cd50012d65fd4006283be00005004f2d..."} 
[2026-08-11 01:18:00] local.INFO: Processing buffer {"connection_id":152298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed35cd50012d65fd4006283be00005004f2d..."} 
[2026-08-11 01:18:00] local.INFO: Packet analysis {"connection_id":152298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed35"} 
[2026-08-11 01:18:00] local.INFO: Extracted packet for processing {"connection_id":152298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed35"} 
[2026-08-11 01:18:00] local.INFO: GPS Element Parsed {"raw_longitude":761658688,"raw_latitude":103300064,"longitude_deg":76.1658688,"latitude_deg":10.3300064,"altitude":5,"angle":79,"satellites":45,"speed":43,"hex_longitude":"2d65fd40","hex_latitude":"06283be0","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316133120001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377035443541114880,"note":"Value kept but may cause issues"} 
[2026-08-11 01:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7339037831709634560,"note":"Value kept but may cause issues"} 
[2026-08-11 01:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786391154000,"timestamp_ms":1786391154000,"timestamp_seconds":1786391154,"priority":1,"record_length":96,"hex_timestamp":"0000019fed35cd50"} 
[2026-08-11 01:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 01:18:00] 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-08-11 01: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-08-11 01:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:18:00] 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-08-11 01:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316133120001,"66":27332,"33":206,"79":22016,"24":43,"16":377035443541114880,"45":7339037831709634560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,79,24,16,45]} 
[2026-08-11 01:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316133120001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:18:00] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-11 01:18:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377035443541114880,"km_value":377035443541114.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7339037831709634560,"description":"Unknown IO ID 45"} 
[2026-08-11 01:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316133120001,"power":27332,"unknown_33":206,"unknown_79":22016,"ignition":43,"odometer":null,"unknown_45":7339037831709634560}} 
[2026-08-11 01:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":152298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:18:00] local.INFO: GPS data processed {"connection_id":152298,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:18:00] local.INFO: Acknowledgment sent {"connection_id":152298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:18:02] local.INFO: TCP Data received {"connection_id":152298,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed35f460012d662240062842d8000500512d..."} 
[2026-08-11 01:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed35f460012d662240062842d8000500512d..."} 
[2026-08-11 01:18:02] local.INFO: Processing buffer {"connection_id":152298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed35f460012d662240062842d8000500512d..."} 
[2026-08-11 01:18:02] local.INFO: Packet analysis {"connection_id":152298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed35"} 
[2026-08-11 01:18:02] local.INFO: Extracted packet for processing {"connection_id":152298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed35"} 
[2026-08-11 01:18:02] local.INFO: GPS Element Parsed {"raw_longitude":761668160,"raw_latitude":103301848,"longitude_deg":76.166816,"latitude_deg":10.3301848,"altitude":5,"angle":81,"satellites":45,"speed":35,"hex_longitude":"2d662240","hex_latitude":"062842d8","is_valid_coordinates":true} 
[2026-08-11 01:18: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-08-11 01:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316135424001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377035903102615552,"note":"Value kept but may cause issues"} 
[2026-08-11 01:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7349100562127511552,"note":"Value kept but may cause issues"} 
[2026-08-11 01:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786391164000,"timestamp_ms":1786391164000,"timestamp_seconds":1786391164,"priority":1,"record_length":96,"hex_timestamp":"0000019fed35f460"} 
[2026-08-11 01:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:18: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":196,"data_length":795,"current_offset":136} 
[2026-08-11 01:18:02] 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-08-11 01:18: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-08-11 01:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":152298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":152298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":152298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:18:02] 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-08-11 01:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316135424001,"66":27376,"33":206,"79":22016,"24":35,"16":377035903102615552,"45":7349100562127511552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,79,24,16,45]} 
[2026-08-11 01:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316135424001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:18:02] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-11 01:18:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377035903102615552,"km_value":377035903102615.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7349100562127511552,"description":"Unknown IO ID 45"} 
[2026-08-11 01:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316135424001,"power":27376,"unknown_33":206,"unknown_79":22016,"ignition":35,"odometer":null,"unknown_45":7349100562127511552}} 
[2026-08-11 01:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":152298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:18:02] local.INFO: GPS data processed {"connection_id":152298,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:18:02] local.INFO: Acknowledgment sent {"connection_id":152298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:18:53] local.INFO: TCP Data received {"connection_id":151915,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:18:54] local.INFO: Processing buffer {"connection_id":151915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:18:54] local.INFO: IMEI packet received {"connection_id":151915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":151915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:18:58] local.INFO: TCP Data received {"connection_id":151915,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:18:58] local.INFO: Processing buffer {"connection_id":151915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:18:58] local.INFO: IMEI packet received {"connection_id":151915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":151915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:18:59] local.INFO: TCP Data received {"connection_id":151915,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3786b8012d6785400628add00007003f2e..."} 
[2026-08-11 01:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3786b8012d6785400628add00007003f2e..."} 
[2026-08-11 01:18:59] local.INFO: Processing buffer {"connection_id":151915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3786b8012d6785400628add00007003f2e..."} 
[2026-08-11 01:18:59] local.INFO: Packet analysis {"connection_id":151915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed37"} 
[2026-08-11 01:18:59] local.INFO: Extracted packet for processing {"connection_id":151915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed37"} 
[2026-08-11 01:18:59] local.INFO: GPS Element Parsed {"raw_longitude":761759040,"raw_latitude":103329232,"longitude_deg":76.175904,"latitude_deg":10.3329232,"altitude":7,"angle":63,"satellites":46,"speed":48,"hex_longitude":"2d678540","hex_latitude":"0628add0","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316162304001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377040455767949312,"note":"Value kept but may cause issues"} 
[2026-08-11 01:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7449868603796398080,"note":"Value kept but may cause issues"} 
[2026-08-11 01:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786391267000,"timestamp_ms":1786391267000,"timestamp_seconds":1786391267,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3786b8"} 
[2026-08-11 01:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-11 01:18:59] 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-08-11 01: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-08-11 01:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:18:59] 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-08-11 01:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316162304001,"66":27365,"32":206,"79":22016,"24":48,"16":377040455767949312,"45":7449868603796398080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,79,24,16,45]} 
[2026-08-11 01:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316162304001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:18:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-11 01:18:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377040455767949312,"km_value":377040455767949.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7449868603796398080,"description":"Unknown IO ID 45"} 
[2026-08-11 01:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316162304001,"power":27365,"unknown_32":206,"unknown_79":22016,"ignition":48,"odometer":null,"unknown_45":7449868603796398080}} 
[2026-08-11 01:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":151915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:18:59] local.INFO: GPS data processed {"connection_id":151915,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:18:59] local.INFO: Acknowledgment sent {"connection_id":151915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:19:12] local.INFO: TCP Data received {"connection_id":152298,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed376778012d67634006289ea0000700422e..."} 
[2026-08-11 01:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed376778012d67634006289ea0000700422e..."} 
[2026-08-11 01:19:12] local.INFO: Processing buffer {"connection_id":152298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed376778012d67634006289ea0000700422e..."} 
[2026-08-11 01:19:12] local.INFO: Packet analysis {"connection_id":152298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed37"} 
[2026-08-11 01:19:12] local.INFO: Extracted packet for processing {"connection_id":152298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed37"} 
[2026-08-11 01:19:12] local.INFO: GPS Element Parsed {"raw_longitude":761750336,"raw_latitude":103325344,"longitude_deg":76.1750336,"latitude_deg":10.3325344,"altitude":7,"angle":66,"satellites":46,"speed":45,"hex_longitude":"2d676340","hex_latitude":"06289ea0","is_valid_coordinates":true} 
[2026-08-11 01:19: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-08-11 01:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316160000001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377040000501415936,"note":"Value kept but may cause issues"} 
[2026-08-11 01:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7439524398401363968,"note":"Value kept but may cause issues"} 
[2026-08-11 01:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786391259000,"timestamp_ms":1786391259000,"timestamp_seconds":1786391259,"priority":1,"record_length":96,"hex_timestamp":"0000019fed376778"} 
[2026-08-11 01:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:19: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":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:19:12] 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-08-11 01:19: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-08-11 01:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:19:12] 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-08-11 01:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316160000001,"66":27289,"32":206,"79":22016,"24":45,"16":377040000501415936,"45":7439524398401363968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,79,24,16,45]} 
[2026-08-11 01:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316160000001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:19:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-11 01:19:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377040000501415936,"km_value":377040000501415.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7439524398401363968,"description":"Unknown IO ID 45"} 
[2026-08-11 01:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316160000001,"power":27289,"unknown_32":206,"unknown_79":22016,"ignition":45,"odometer":null,"unknown_45":7439524398401363968}} 
[2026-08-11 01:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":152298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:19:12] local.INFO: GPS data processed {"connection_id":152298,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:19:12] local.INFO: Acknowledgment sent {"connection_id":152298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:19:31] local.INFO: TCP Data received {"connection_id":151915,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed37a5f8012d67a7400628bf18000600382b..."} 
[2026-08-11 01:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed37a5f8012d67a7400628bf18000600382b..."} 
[2026-08-11 01:19:31] local.INFO: Processing buffer {"connection_id":151915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed37a5f8012d67a7400628bf18000600382b..."} 
[2026-08-11 01:19:31] local.INFO: Packet analysis {"connection_id":151915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed37"} 
[2026-08-11 01:19:31] local.INFO: Extracted packet for processing {"connection_id":151915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed37"} 
[2026-08-11 01:19:31] local.INFO: GPS Element Parsed {"raw_longitude":761767744,"raw_latitude":103333656,"longitude_deg":76.1767744,"latitude_deg":10.3333656,"altitude":6,"angle":56,"satellites":43,"speed":47,"hex_longitude":"2d67a740","hex_latitude":"0628bf18","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316164352001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377040923919384576,"note":"Value kept but may cause issues"} 
[2026-08-11 01:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7459438753005555712,"note":"Value kept but may cause issues"} 
[2026-08-11 01:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786391275000,"timestamp_ms":1786391275000,"timestamp_seconds":1786391275,"priority":1,"record_length":96,"hex_timestamp":"0000019fed37a5f8"} 
[2026-08-11 01:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:19:31] 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-08-11 01: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-08-11 01:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:19:31] 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-08-11 01:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316164352001,"66":27376,"31":206,"79":22016,"24":47,"16":377040923919384576,"45":7459438753005555712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,79,24,16,45]} 
[2026-08-11 01:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316164352001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:19:31] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-11 01:19:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377040923919384576,"km_value":377040923919384.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7459438753005555712,"description":"Unknown IO ID 45"} 
[2026-08-11 01:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316164352001,"power":27376,"unknown_31":206,"unknown_79":22016,"ignition":47,"odometer":null,"unknown_45":7459438753005555712}} 
[2026-08-11 01:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":151915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:19:31] local.INFO: GPS data processed {"connection_id":151915,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:19:31] local.INFO: Acknowledgment sent {"connection_id":151915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:19:53] local.INFO: TCP Data received {"connection_id":154637,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:19:53] local.INFO: Processing buffer {"connection_id":154637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:19:53] local.INFO: IMEI packet received {"connection_id":154637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":154637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:19:54] local.INFO: TCP Data received {"connection_id":154637,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:19:54] local.INFO: Processing buffer {"connection_id":154637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:19:54] local.INFO: IMEI packet received {"connection_id":154637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":154637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:19:59] local.INFO: TCP Data received {"connection_id":154637,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:19:59] local.INFO: Processing buffer {"connection_id":154637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:19:59] local.INFO: IMEI packet received {"connection_id":154637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":154637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:20:00] local.INFO: TCP Data received {"connection_id":154637,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed37c538012d67c6400628d408000400362a..."} 
[2026-08-11 01:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed37c538012d67c6400628d408000400362a..."} 
[2026-08-11 01:20:00] local.INFO: Processing buffer {"connection_id":154637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed37c538012d67c6400628d408000400362a..."} 
[2026-08-11 01:20:00] local.INFO: Packet analysis {"connection_id":154637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed37"} 
[2026-08-11 01:20:00] local.INFO: Extracted packet for processing {"connection_id":154637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed37"} 
[2026-08-11 01:20:00] local.INFO: GPS Element Parsed {"raw_longitude":761775680,"raw_latitude":103339016,"longitude_deg":76.177568,"latitude_deg":10.3339016,"altitude":4,"angle":54,"satellites":42,"speed":46,"hex_longitude":"2d67c640","hex_latitude":"0628d408","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316166400001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377041383480885248,"note":"Value kept but may cause issues"} 
[2026-08-11 01:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7469008902214850560,"note":"Value kept but may cause issues"} 
[2026-08-11 01:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786391283000,"timestamp_ms":1786391283000,"timestamp_seconds":1786391283,"priority":1,"record_length":96,"hex_timestamp":"0000019fed37c538"} 
[2026-08-11 01:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 01:20:00] 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-08-11 01: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-08-11 01:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:20:00] 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-08-11 01:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316166400001,"66":27289,"31":206,"79":22016,"24":46,"16":377041383480885248,"45":7469008902214850560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,79,24,16,45]} 
[2026-08-11 01:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316166400001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:20:00] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-11 01:20:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377041383480885248,"km_value":377041383480885.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7469008902214850560,"description":"Unknown IO ID 45"} 
[2026-08-11 01:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316166400001,"power":27289,"unknown_31":206,"unknown_79":22016,"ignition":46,"odometer":null,"unknown_45":7469008902214850560}} 
[2026-08-11 01:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":154637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:20:00] local.INFO: GPS data processed {"connection_id":154637,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:20:00] local.INFO: Acknowledgment sent {"connection_id":154637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:20:31] local.INFO: TCP Data received {"connection_id":154637,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed394fc0012d6920800629aee8000400462e..."} 
[2026-08-11 01:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed394fc0012d6920800629aee8000400462e..."} 
[2026-08-11 01:20:31] local.INFO: Processing buffer {"connection_id":154637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed394fc0012d6920800629aee8000400462e..."} 
[2026-08-11 01:20:31] local.INFO: Packet analysis {"connection_id":154637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed39"} 
[2026-08-11 01:20:31] local.INFO: Extracted packet for processing {"connection_id":154637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed39"} 
[2026-08-11 01:20:31] local.INFO: GPS Element Parsed {"raw_longitude":761864320,"raw_latitude":103395048,"longitude_deg":76.186432,"latitude_deg":10.3395048,"altitude":4,"angle":70,"satellites":46,"speed":38,"hex_longitude":"2d692080","hex_latitude":"0629aee8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316191744001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377046430067458048,"note":"Value kept but may cause issues"} 
[2026-08-11 01:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7564851131799734272,"note":"Value kept but may cause issues"} 
[2026-08-11 01:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786391384000,"timestamp_ms":1786391384000,"timestamp_seconds":1786391384,"priority":1,"record_length":96,"hex_timestamp":"0000019fed394fc0"} 
[2026-08-11 01:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 01:20:31] 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-08-11 01: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-08-11 01:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:20:31] 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-08-11 01:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316191744001,"66":27267,"80":206,"79":22016,"24":38,"16":377046430067458048,"45":7564851131799734272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,79,24,16,45]} 
[2026-08-11 01:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316191744001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:20:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-11 01:20:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377046430067458048,"km_value":377046430067458.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7564851131799734272,"description":"Unknown IO ID 45"} 
[2026-08-11 01:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316191744001,"power":27267,"unknown_80":206,"unknown_79":22016,"ignition":38,"odometer":null,"unknown_45":7564851131799734272}} 
[2026-08-11 01:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":154637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:20:31] local.INFO: GPS data processed {"connection_id":154637,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:20:31] local.INFO: Acknowledgment sent {"connection_id":154637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:20:55] local.INFO: TCP Data received {"connection_id":152299,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:20:55] local.INFO: Processing buffer {"connection_id":152299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:20:55] local.INFO: IMEI packet received {"connection_id":152299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":152299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:20:59] local.INFO: TCP Data received {"connection_id":152299,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:20:59] local.INFO: Processing buffer {"connection_id":152299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:20:59] local.INFO: IMEI packet received {"connection_id":152299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":152299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:21:04] local.INFO: TCP Data received {"connection_id":152299,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:21:04] local.INFO: Processing buffer {"connection_id":152299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:21:04] local.INFO: IMEI packet received {"connection_id":152299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":152299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:21:05] local.INFO: TCP Data received {"connection_id":152299,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed395b78012d692bc00629b160000400552e..."} 
[2026-08-11 01:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed395b78012d692bc00629b160000400552e..."} 
[2026-08-11 01:21:05] local.INFO: Processing buffer {"connection_id":152299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed395b78012d692bc00629b160000400552e..."} 
[2026-08-11 01:21:05] local.INFO: Packet analysis {"connection_id":152299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed39"} 
[2026-08-11 01:21:05] local.INFO: Extracted packet for processing {"connection_id":152299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed39"} 
[2026-08-11 01:21:05] local.INFO: GPS Element Parsed {"raw_longitude":761867200,"raw_latitude":103395680,"longitude_deg":76.18672,"latitude_deg":10.339568,"altitude":4,"angle":85,"satellites":46,"speed":38,"hex_longitude":"2d692bc0","hex_latitude":"0629b160","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316194304001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377046571801378816,"note":"Value kept but may cause issues"} 
[2026-08-11 01:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7575195337194661888,"note":"Value kept but may cause issues"} 
[2026-08-11 01:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786391387000,"timestamp_ms":1786391387000,"timestamp_seconds":1786391387,"priority":1,"record_length":96,"hex_timestamp":"0000019fed395b78"} 
[2026-08-11 01:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":131,"data_length":795,"current_offset":136} 
[2026-08-11 01:21: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-08-11 01: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-08-11 01:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:21:05] 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-08-11 01:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316194304001,"66":26984,"80":206,"79":22016,"24":38,"16":377046571801378816,"45":7575195337194661888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,79,24,16,45]} 
[2026-08-11 01:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316194304001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:21:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-11 01:21:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377046571801378816,"km_value":377046571801378.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7575195337194661888,"description":"Unknown IO ID 45"} 
[2026-08-11 01:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316194304001,"power":26984,"unknown_80":206,"unknown_79":22016,"ignition":38,"odometer":null,"unknown_45":7575195337194661888}} 
[2026-08-11 01:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":152299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:21:05] local.INFO: GPS data processed {"connection_id":152299,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:21:05] local.INFO: Acknowledgment sent {"connection_id":152299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:21:05] local.INFO: TCP Data received {"connection_id":152299,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed396348012d6933400629b0f0000400652e..."} 
[2026-08-11 01:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed396348012d6933400629b0f0000400652e..."} 
[2026-08-11 01:21:05] local.INFO: Processing buffer {"connection_id":152299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed396348012d6933400629b0f0000400652e..."} 
[2026-08-11 01:21:05] local.INFO: Packet analysis {"connection_id":152299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed39"} 
[2026-08-11 01:21:05] local.INFO: Extracted packet for processing {"connection_id":152299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed39"} 
[2026-08-11 01:21:05] local.INFO: GPS Element Parsed {"raw_longitude":761869120,"raw_latitude":103395568,"longitude_deg":76.186912,"latitude_deg":10.3395568,"altitude":4,"angle":101,"satellites":46,"speed":38,"hex_longitude":"2d693340","hex_latitude":"0629b0f0","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316195072001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377046661995692032,"note":"Value kept but may cause issues"} 
[2026-08-11 01:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7578361930682818560,"note":"Value kept but may cause issues"} 
[2026-08-11 01:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786391389000,"timestamp_ms":1786391389000,"timestamp_seconds":1786391389,"priority":1,"record_length":96,"hex_timestamp":"0000019fed396348"} 
[2026-08-11 01:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-11 01:21:05] 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-08-11 01: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-08-11 01:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:21:05] 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-08-11 01:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316195072001,"66":27463,"80":206,"79":22016,"24":38,"16":377046661995692032,"45":7578361930682818560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,79,24,16,45]} 
[2026-08-11 01:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316195072001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:21:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-11 01:21:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377046661995692032,"km_value":377046661995692.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7578361930682818560,"description":"Unknown IO ID 45"} 
[2026-08-11 01:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316195072001,"power":27463,"unknown_80":206,"unknown_79":22016,"ignition":38,"odometer":null,"unknown_45":7578361930682818560}} 
[2026-08-11 01:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":152299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:21:05] local.INFO: GPS data processed {"connection_id":152299,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:21:05] local.INFO: Acknowledgment sent {"connection_id":152299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:21:39] local.INFO: TCP Data received {"connection_id":152299,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed398a58012d6958000629a510000300712e..."} 
[2026-08-11 01:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed398a58012d6958000629a510000300712e..."} 
[2026-08-11 01:21:39] local.INFO: Processing buffer {"connection_id":152299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed398a58012d6958000629a510000300712e..."} 
[2026-08-11 01:21:39] local.INFO: Packet analysis {"connection_id":152299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed39"} 
[2026-08-11 01:21:39] local.INFO: Extracted packet for processing {"connection_id":152299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed39"} 
[2026-08-11 01:21:39] local.INFO: GPS Element Parsed {"raw_longitude":761878528,"raw_latitude":103392528,"longitude_deg":76.1878528,"latitude_deg":10.3392528,"altitude":3,"angle":113,"satellites":46,"speed":38,"hex_longitude":"2d695800","hex_latitude":"0629a510","is_valid_coordinates":true} 
[2026-08-11 01:21: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-08-11 01:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316195584001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377047134442094592,"note":"Value kept but may cause issues"} 
[2026-08-11 01:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7580472993008119808,"note":"Value kept but may cause issues"} 
[2026-08-11 01:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786391399000,"timestamp_ms":1786391399000,"timestamp_seconds":1786391399,"priority":1,"record_length":96,"hex_timestamp":"0000019fed398a58"} 
[2026-08-11 01:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:21: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":71,"data_length":795,"current_offset":136} 
[2026-08-11 01:21:39] 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-08-11 01:21: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-08-11 01:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:21:39] 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-08-11 01:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316195584001,"66":27343,"80":206,"79":22016,"24":38,"16":377047134442094592,"45":7580472993008119808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,79,24,16,45]} 
[2026-08-11 01:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316195584001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:21:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-11 01:21:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377047134442094592,"km_value":377047134442094.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7580472993008119808,"description":"Unknown IO ID 45"} 
[2026-08-11 01:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316195584001,"power":27343,"unknown_80":206,"unknown_79":22016,"ignition":38,"odometer":null,"unknown_45":7580472993008119808}} 
[2026-08-11 01:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":152299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:21:39] local.INFO: GPS data processed {"connection_id":152299,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:21:39] local.INFO: Acknowledgment sent {"connection_id":152299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:21:53] local.INFO: TCP Data received {"connection_id":153236,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:21:53] local.INFO: Processing buffer {"connection_id":153236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:21:53] local.INFO: IMEI packet received {"connection_id":153236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":153236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:21:54] local.INFO: TCP Data received {"connection_id":153236,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:21:54] local.INFO: Processing buffer {"connection_id":153236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:21:54] local.INFO: IMEI packet received {"connection_id":153236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":153236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:21:54] local.INFO: TCP Data received {"connection_id":153236,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:21:54] local.INFO: Processing buffer {"connection_id":153236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:21:54] local.INFO: IMEI packet received {"connection_id":153236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":153236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:21:58] local.INFO: TCP Data received {"connection_id":153236,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:21:58] local.INFO: Processing buffer {"connection_id":153236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:21:58] local.INFO: IMEI packet received {"connection_id":153236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":153236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:21:59] local.INFO: TCP Data received {"connection_id":153236,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed398a58012d6958000629a510000300712e..."} 
[2026-08-11 01:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed398a58012d6958000629a510000300712e..."} 
[2026-08-11 01:21:59] local.INFO: Processing buffer {"connection_id":153236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed398a58012d6958000629a510000300712e..."} 
[2026-08-11 01:21:59] local.INFO: Packet analysis {"connection_id":153236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed39"} 
[2026-08-11 01:21:59] local.INFO: Extracted packet for processing {"connection_id":153236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed39"} 
[2026-08-11 01:21:59] local.INFO: GPS Element Parsed {"raw_longitude":761878528,"raw_latitude":103392528,"longitude_deg":76.1878528,"latitude_deg":10.3392528,"altitude":3,"angle":113,"satellites":46,"speed":38,"hex_longitude":"2d695800","hex_latitude":"0629a510","is_valid_coordinates":true} 
[2026-08-11 01:21: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-08-11 01:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316198144001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377047134442094592,"note":"Value kept but may cause issues"} 
[2026-08-11 01:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7590817198401458176,"note":"Value kept but may cause issues"} 
[2026-08-11 01:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786391399000,"timestamp_ms":1786391399000,"timestamp_seconds":1786391399,"priority":1,"record_length":96,"hex_timestamp":"0000019fed398a58"} 
[2026-08-11 01:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:21:59] 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-08-11 01:21: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-08-11 01:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:21:59] 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-08-11 01:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316198144001,"66":27343,"80":206,"79":22016,"24":38,"16":377047134442094592,"45":7590817198401458176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,79,24,16,45]} 
[2026-08-11 01:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316198144001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:21:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-11 01:21:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377047134442094592,"km_value":377047134442094.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7590817198401458176,"description":"Unknown IO ID 45"} 
[2026-08-11 01:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316198144001,"power":27343,"unknown_80":206,"unknown_79":22016,"ignition":38,"odometer":null,"unknown_45":7590817198401458176}} 
[2026-08-11 01:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":153236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:21:59] local.INFO: GPS data processed {"connection_id":153236,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:21:59] local.INFO: Acknowledgment sent {"connection_id":153236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:22:00] local.INFO: TCP Data received {"connection_id":153236,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed39a5b0012d6970c006299ce8000400602e..."} 
[2026-08-11 01:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed39a5b0012d6970c006299ce8000400602e..."} 
[2026-08-11 01:22:00] local.INFO: Processing buffer {"connection_id":153236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed39a5b0012d6970c006299ce8000400602e..."} 
[2026-08-11 01:22:00] local.INFO: Packet analysis {"connection_id":153236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed39"} 
[2026-08-11 01:22:00] local.INFO: Extracted packet for processing {"connection_id":153236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed39"} 
[2026-08-11 01:22:00] local.INFO: GPS Element Parsed {"raw_longitude":761884864,"raw_latitude":103390440,"longitude_deg":76.1884864,"latitude_deg":10.339044,"altitude":4,"angle":96,"satellites":46,"speed":36,"hex_longitude":"2d6970c0","hex_latitude":"06299ce8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316198144001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377047452269674496,"note":"Value kept but may cause issues"} 
[2026-08-11 01:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7590817198401458176,"note":"Value kept but may cause issues"} 
[2026-08-11 01:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786391406000,"timestamp_ms":1786391406000,"timestamp_seconds":1786391406,"priority":1,"record_length":96,"hex_timestamp":"0000019fed39a5b0"} 
[2026-08-11 01:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:22:00] 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-08-11 01: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-08-11 01:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:22:00] 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-08-11 01:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316198144001,"66":27300,"80":206,"79":22016,"24":36,"16":377047452269674496,"45":7590817198401458176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,79,24,16,45]} 
[2026-08-11 01:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316198144001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:22:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-11 01:22:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377047452269674496,"km_value":377047452269674.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7590817198401458176,"description":"Unknown IO ID 45"} 
[2026-08-11 01:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316198144001,"power":27300,"unknown_80":206,"unknown_79":22016,"ignition":36,"odometer":null,"unknown_45":7590817198401458176}} 
[2026-08-11 01:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":153236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:22:00] local.INFO: GPS data processed {"connection_id":153236,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:22:00] local.INFO: Acknowledgment sent {"connection_id":153236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:22:31] local.INFO: TCP Data received {"connection_id":153236,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3afd70012d6aaf000629c0a00006004c2d..."} 
[2026-08-11 01:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3afd70012d6aaf000629c0a00006004c2d..."} 
[2026-08-11 01:22:31] local.INFO: Processing buffer {"connection_id":153236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3afd70012d6aaf000629c0a00006004c2d..."} 
[2026-08-11 01:22:31] local.INFO: Packet analysis {"connection_id":153236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed3a"} 
[2026-08-11 01:22:31] local.INFO: Extracted packet for processing {"connection_id":153236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed3a"} 
[2026-08-11 01:22:31] local.INFO: GPS Element Parsed {"raw_longitude":761966336,"raw_latitude":103399584,"longitude_deg":76.1966336,"latitude_deg":10.3399584,"altitude":6,"angle":76,"satellites":45,"speed":40,"hex_longitude":"2d6aaf00","hex_latitude":"0629c0a0","is_valid_coordinates":true} 
[2026-08-11 01:22: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-08-11 01:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316219904001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377051399344619520,"note":"Value kept but may cause issues"} 
[2026-08-11 01:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7676807803787827200,"note":"Value kept but may cause issues"} 
[2026-08-11 01:22:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 01:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786391494000,"timestamp_ms":1786391494000,"timestamp_seconds":1786391494,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3afd70"} 
[2026-08-11 01:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:22:31] 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-08-11 01:22: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-08-11 01:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:22:31] 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-08-11 01:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316219904001,"66":27397,"79":22016,"24":40,"16":377051399344619520,"45":7676807803787827200},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-08-11 01:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316219904001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:22:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377051399344619520,"km_value":377051399344619.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7676807803787827200,"description":"Unknown IO ID 45"} 
[2026-08-11 01:22:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457316219904001,"power":27397,"unknown_79":22016,"ignition":40,"odometer":null,"unknown_45":7676807803787827200}} 
[2026-08-11 01:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":153236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:22:31] local.INFO: GPS data processed {"connection_id":153236,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:22:31] local.INFO: Acknowledgment sent {"connection_id":153236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:22:54] local.INFO: TCP Data received {"connection_id":152300,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:22:54] local.INFO: Processing buffer {"connection_id":152300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:22:54] local.INFO: IMEI packet received {"connection_id":152300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":152300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:22:57] local.INFO: TCP Data received {"connection_id":152300,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:22:57] local.INFO: Processing buffer {"connection_id":152300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:22:57] local.INFO: IMEI packet received {"connection_id":152300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":152300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:22:58] local.INFO: TCP Data received {"connection_id":152300,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3b2098012d6ad3400629c550000600532d..."} 
[2026-08-11 01:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3b2098012d6ad3400629c550000600532d..."} 
[2026-08-11 01:22:58] local.INFO: Processing buffer {"connection_id":152300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3b2098012d6ad3400629c550000600532d..."} 
[2026-08-11 01:22:58] local.INFO: Packet analysis {"connection_id":152300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed3b"} 
[2026-08-11 01:22:58] local.INFO: Extracted packet for processing {"connection_id":152300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed3b"} 
[2026-08-11 01:22:58] local.INFO: GPS Element Parsed {"raw_longitude":761975616,"raw_latitude":103400784,"longitude_deg":76.1975616,"latitude_deg":10.3400784,"altitude":6,"angle":83,"satellites":45,"speed":42,"hex_longitude":"2d6ad340","hex_latitude":"0629c550","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316222464001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377051850316185600,"note":"Value kept but may cause issues"} 
[2026-08-11 01:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7687363115415019520,"note":"Value kept but may cause issues"} 
[2026-08-11 01:22:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 01:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786391503000,"timestamp_ms":1786391503000,"timestamp_seconds":1786391503,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3b2098"} 
[2026-08-11 01:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 01:22:58] 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-08-11 01: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-08-11 01:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:22:58] 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-08-11 01:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316222464001,"66":27376,"79":22016,"24":42,"16":377051850316185600,"45":7687363115415019520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-08-11 01:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316222464001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:22:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377051850316185600,"km_value":377051850316185.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7687363115415019520,"description":"Unknown IO ID 45"} 
[2026-08-11 01:22:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457316222464001,"power":27376,"unknown_79":22016,"ignition":42,"odometer":null,"unknown_45":7687363115415019520}} 
[2026-08-11 01:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":152300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:22:58] local.INFO: GPS data processed {"connection_id":152300,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:22:58] local.INFO: Acknowledgment sent {"connection_id":152300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:23:29] local.INFO: TCP Data received {"connection_id":152300,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3b43c0012d6afa000629c978000700552d..."} 
[2026-08-11 01:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3b43c0012d6afa000629c978000700552d..."} 
[2026-08-11 01:23:29] local.INFO: Processing buffer {"connection_id":152300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3b43c0012d6afa000629c978000700552d..."} 
[2026-08-11 01:23:29] local.INFO: Packet analysis {"connection_id":152300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed3b"} 
[2026-08-11 01:23:29] local.INFO: Extracted packet for processing {"connection_id":152300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed3b"} 
[2026-08-11 01:23:29] local.INFO: GPS Element Parsed {"raw_longitude":761985536,"raw_latitude":103401848,"longitude_deg":76.1985536,"latitude_deg":10.3401848,"altitude":7,"angle":85,"satellites":45,"speed":43,"hex_longitude":"2d6afa00","hex_latitude":"0629c978","is_valid_coordinates":true} 
[2026-08-11 01:23: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-08-11 01:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316224768001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377052327057555456,"note":"Value kept but may cause issues"} 
[2026-08-11 01:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7697566583321088000,"note":"Value kept but may cause issues"} 
[2026-08-11 01:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786391512000,"timestamp_ms":1786391512000,"timestamp_seconds":1786391512,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3b43c0"} 
[2026-08-11 01:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:23: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":240,"data_length":795,"current_offset":136} 
[2026-08-11 01:23:29] 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-08-11 01:23: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-08-11 01:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:23:29] 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-08-11 01:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316224768001,"66":27441,"117":206,"79":22016,"24":43,"16":377052327057555456,"45":7697566583321088000},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 01:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316224768001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:23:29] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 01:23:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377052327057555456,"km_value":377052327057555.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7697566583321088000,"description":"Unknown IO ID 45"} 
[2026-08-11 01:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316224768001,"power":27441,"unknown_117":206,"unknown_79":22016,"ignition":43,"odometer":null,"unknown_45":7697566583321088000}} 
[2026-08-11 01:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":152300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:23:29] local.INFO: GPS data processed {"connection_id":152300,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:23:29] local.INFO: Acknowledgment sent {"connection_id":152300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:23:53] local.INFO: TCP Data received {"connection_id":153237,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:23:53] local.INFO: Processing buffer {"connection_id":153237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:23:53] local.INFO: IMEI packet received {"connection_id":153237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":153237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:23:54] local.INFO: TCP Data received {"connection_id":153237,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:23:54] local.INFO: Processing buffer {"connection_id":153237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:23:54] local.INFO: IMEI packet received {"connection_id":153237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":153237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:23:59] local.INFO: TCP Data received {"connection_id":153237,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:23:59] local.INFO: Processing buffer {"connection_id":153237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:23:59] local.INFO: IMEI packet received {"connection_id":153237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":153237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:24:00] local.INFO: TCP Data received {"connection_id":153237,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3b66e8012d6b21000629cd78000700542e..."} 
[2026-08-11 01:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3b66e8012d6b21000629cd78000700542e..."} 
[2026-08-11 01:24:00] local.INFO: Processing buffer {"connection_id":153237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3b66e8012d6b21000629cd78000700542e..."} 
[2026-08-11 01:24:00] local.INFO: Packet analysis {"connection_id":153237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed3b"} 
[2026-08-11 01:24:00] local.INFO: Extracted packet for processing {"connection_id":153237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed3b"} 
[2026-08-11 01:24:00] local.INFO: GPS Element Parsed {"raw_longitude":761995520,"raw_latitude":103402872,"longitude_deg":76.199552,"latitude_deg":10.3402872,"altitude":7,"angle":84,"satellites":46,"speed":44,"hex_longitude":"2d6b2100","hex_latitude":"0629cd78","is_valid_coordinates":true} 
[2026-08-11 01:24: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-08-11 01:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316227072001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377052803798925312,"note":"Value kept but may cause issues"} 
[2026-08-11 01:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7708473738668898304,"note":"Value kept but may cause issues"} 
[2026-08-11 01:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786391521000,"timestamp_ms":1786391521000,"timestamp_seconds":1786391521,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3b66e8"} 
[2026-08-11 01:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:24: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-08-11 01:24:00] 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-08-11 01:24: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-08-11 01:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:24:00] 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-08-11 01:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316227072001,"66":27343,"117":206,"79":22016,"24":44,"16":377052803798925312,"45":7708473738668898304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 01:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316227072001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:24:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 01:24:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377052803798925312,"km_value":377052803798925.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7708473738668898304,"description":"Unknown IO ID 45"} 
[2026-08-11 01:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316227072001,"power":27343,"unknown_117":206,"unknown_79":22016,"ignition":44,"odometer":null,"unknown_45":7708473738668898304}} 
[2026-08-11 01:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":153237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:24:00] local.INFO: GPS data processed {"connection_id":153237,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:24:00] local.INFO: Acknowledgment sent {"connection_id":153237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:24:31] local.INFO: TCP Data received {"connection_id":153237,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3ce9a0012d6c9640062a2760000c00382d..."} 
[2026-08-11 01:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3ce9a0012d6c9640062a2760000c00382d..."} 
[2026-08-11 01:24:31] local.INFO: Processing buffer {"connection_id":153237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3ce9a0012d6c9640062a2760000c00382d..."} 
[2026-08-11 01:24:31] local.INFO: Packet analysis {"connection_id":153237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed3c"} 
[2026-08-11 01:24:31] local.INFO: Extracted packet for processing {"connection_id":153237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed3c"} 
[2026-08-11 01:24:31] local.INFO: GPS Element Parsed {"raw_longitude":762091072,"raw_latitude":103425888,"longitude_deg":76.2091072,"latitude_deg":10.3425888,"altitude":12,"angle":56,"satellites":45,"speed":30,"hex_longitude":"2d6c9640","hex_latitude":"062a2760","is_valid_coordinates":true} 
[2026-08-11 01:24: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-08-11 01:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316253184001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377057588392493056,"note":"Value kept but may cause issues"} 
[2026-08-11 01:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7820641516893341696,"note":"Value kept but may cause issues"} 
[2026-08-11 01:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786391620000,"timestamp_ms":1786391620000,"timestamp_seconds":1786391620,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3ce9a0"} 
[2026-08-11 01:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:24: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 01:24:31] 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-08-11 01:24: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-08-11 01:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:24:31] 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-08-11 01:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316253184001,"66":27310,"187":206,"79":22016,"24":30,"16":377057588392493056,"45":7820641516893341696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-08-11 01:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316253184001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:24:31] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-11 01:24:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377057588392493056,"km_value":377057588392493.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7820641516893341696,"description":"Unknown IO ID 45"} 
[2026-08-11 01:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316253184001,"power":27310,"unknown_187":206,"unknown_79":22016,"ignition":30,"odometer":null,"unknown_45":7820641516893341696}} 
[2026-08-11 01:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":153237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:24:31] local.INFO: GPS data processed {"connection_id":153237,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:24:31] local.INFO: Acknowledgment sent {"connection_id":153237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:25:29] local.INFO: TCP Data received {"connection_id":152301,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:25:29] local.INFO: Processing buffer {"connection_id":152301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:25:29] local.INFO: IMEI packet received {"connection_id":152301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":152301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:25:33] local.INFO: TCP Data received {"connection_id":152301,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:25:33] local.INFO: Processing buffer {"connection_id":152301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:25:33] local.INFO: IMEI packet received {"connection_id":152301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":152301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:25:34] local.INFO: TCP Data received {"connection_id":152301,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3cf170012d6c9b40062a29f8000d00442c..."} 
[2026-08-11 01:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3cf170012d6c9b40062a29f8000d00442c..."} 
[2026-08-11 01:25:34] local.INFO: Processing buffer {"connection_id":152301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3cf170012d6c9b40062a29f8000d00442c..."} 
[2026-08-11 01:25:34] local.INFO: Packet analysis {"connection_id":152301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed3c"} 
[2026-08-11 01:25:34] local.INFO: Extracted packet for processing {"connection_id":152301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed3c"} 
[2026-08-11 01:25:34] local.INFO: GPS Element Parsed {"raw_longitude":762092352,"raw_latitude":103426552,"longitude_deg":76.2092352,"latitude_deg":10.3426552,"altitude":13,"angle":68,"satellites":44,"speed":27,"hex_longitude":"2d6c9b40","hex_latitude":"062a29f8","is_valid_coordinates":true} 
[2026-08-11 01:25: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-08-11 01:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316254720001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377057657111969792,"note":"Value kept but may cause issues"} 
[2026-08-11 01:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7824511797824020480,"note":"Value kept but may cause issues"} 
[2026-08-11 01:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786391622000,"timestamp_ms":1786391622000,"timestamp_seconds":1786391622,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3cf170"} 
[2026-08-11 01:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:25: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":174,"data_length":795,"current_offset":136} 
[2026-08-11 01:25:34] 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-08-11 01:25: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-08-11 01:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:25:34] 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-08-11 01:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316254720001,"66":27213,"187":206,"79":22016,"24":27,"16":377057657111969792,"45":7824511797824020480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-08-11 01:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316254720001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:25:34] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-11 01:25:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377057657111969792,"km_value":377057657111969.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7824511797824020480,"description":"Unknown IO ID 45"} 
[2026-08-11 01:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316254720001,"power":27213,"unknown_187":206,"unknown_79":22016,"ignition":27,"odometer":null,"unknown_45":7824511797824020480}} 
[2026-08-11 01:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":152301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:25:34] local.INFO: GPS data processed {"connection_id":152301,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:25:34] local.INFO: Acknowledgment sent {"connection_id":152301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:25:34] local.INFO: TCP Data received {"connection_id":152301,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3d1498012d6cb040062a2f70000f004f2c..."} 
[2026-08-11 01:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3d1498012d6cb040062a2f70000f004f2c..."} 
[2026-08-11 01:25:34] local.INFO: Processing buffer {"connection_id":152301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3d1498012d6cb040062a2f70000f004f2c..."} 
[2026-08-11 01:25:34] local.INFO: Packet analysis {"connection_id":152301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed3d"} 
[2026-08-11 01:25:34] local.INFO: Extracted packet for processing {"connection_id":152301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed3d"} 
[2026-08-11 01:25:34] local.INFO: GPS Element Parsed {"raw_longitude":762097728,"raw_latitude":103427952,"longitude_deg":76.2097728,"latitude_deg":10.3427952,"altitude":15,"angle":79,"satellites":44,"speed":21,"hex_longitude":"2d6cb040","hex_latitude":"062a2f70","is_valid_coordinates":true} 
[2026-08-11 01:25: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-08-11 01:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316255232001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377057923399942144,"note":"Value kept but may cause issues"} 
[2026-08-11 01:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7825919172707743744,"note":"Value kept but may cause issues"} 
[2026-08-11 01:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786391631000,"timestamp_ms":1786391631000,"timestamp_seconds":1786391631,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3d1498"} 
[2026-08-11 01:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:25: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":77,"data_length":795,"current_offset":136} 
[2026-08-11 01:25:34] 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-08-11 01:25: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-08-11 01:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:25:34] 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-08-11 01:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316255232001,"66":27365,"187":206,"79":22016,"24":21,"16":377057923399942144,"45":7825919172707743744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-08-11 01:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316255232001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:25:34] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-11 01:25:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377057923399942144,"km_value":377057923399942.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7825919172707743744,"description":"Unknown IO ID 45"} 
[2026-08-11 01:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316255232001,"power":27365,"unknown_187":206,"unknown_79":22016,"ignition":21,"odometer":null,"unknown_45":7825919172707743744}} 
[2026-08-11 01:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":152301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:25:34] local.INFO: GPS data processed {"connection_id":152301,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:25:34] local.INFO: Acknowledgment sent {"connection_id":152301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:25:59] local.INFO: TCP Data received {"connection_id":151916,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:25:59] local.INFO: Processing buffer {"connection_id":151916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:25:59] local.INFO: IMEI packet received {"connection_id":151916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":151916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:26:04] local.INFO: TCP Data received {"connection_id":151916,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:26:04] local.INFO: Processing buffer {"connection_id":151916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:26:04] local.INFO: IMEI packet received {"connection_id":151916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":151916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:26:05] local.INFO: TCP Data received {"connection_id":151916,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3d2ff0012d6cbbc0062a30e00011005c2e..."} 
[2026-08-11 01:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3d2ff0012d6cbbc0062a30e00011005c2e..."} 
[2026-08-11 01:26:05] local.INFO: Processing buffer {"connection_id":151916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3d2ff0012d6cbbc0062a30e00011005c2e..."} 
[2026-08-11 01:26:05] local.INFO: Packet analysis {"connection_id":151916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed3d"} 
[2026-08-11 01:26:05] local.INFO: Extracted packet for processing {"connection_id":151916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed3d"} 
[2026-08-11 01:26:05] local.INFO: GPS Element Parsed {"raw_longitude":762100672,"raw_latitude":103428320,"longitude_deg":76.2100672,"latitude_deg":10.342832,"altitude":17,"angle":92,"satellites":46,"speed":10,"hex_longitude":"2d6cbbc0","hex_latitude":"062a30e0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 01:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316257536001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377058065133862912,"note":"Value kept but may cause issues"} 
[2026-08-11 01:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7831830147219025920,"note":"Value kept but may cause issues"} 
[2026-08-11 01:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786391638000,"timestamp_ms":1786391638000,"timestamp_seconds":1786391638,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3d2ff0"} 
[2026-08-11 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-08-11 01:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:26: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-08-11 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-08-11 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-08-11 01:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:26:05] 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-08-11 01:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316257536001,"66":27343,"187":206,"79":22016,"24":10,"16":377058065133862912,"45":7831830147219025920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-08-11 01:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316257536001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:26:05] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-11 01:26:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377058065133862912,"km_value":377058065133862.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7831830147219025920,"description":"Unknown IO ID 45"} 
[2026-08-11 01:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316257536001,"power":27343,"unknown_187":206,"unknown_79":22016,"ignition":10,"odometer":null,"unknown_45":7831830147219025920}} 
[2026-08-11 01:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":151916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:26:05] local.INFO: GPS data processed {"connection_id":151916,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:26:05] local.INFO: Acknowledgment sent {"connection_id":151916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:26:10] local.INFO: TCP Data received {"connection_id":151916,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3d81f8012d6cda80062a2e400014005b2e..."} 
[2026-08-11 01:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3d81f8012d6cda80062a2e400014005b2e..."} 
[2026-08-11 01:26:10] local.INFO: Processing buffer {"connection_id":151916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3d81f8012d6cda80062a2e400014005b2e..."} 
[2026-08-11 01:26:10] local.INFO: Packet analysis {"connection_id":151916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed3d"} 
[2026-08-11 01:26:10] local.INFO: Extracted packet for processing {"connection_id":151916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed3d"} 
[2026-08-11 01:26:10] local.INFO: GPS Element Parsed {"raw_longitude":762108544,"raw_latitude":103427648,"longitude_deg":76.2108544,"latitude_deg":10.3427648,"altitude":20,"angle":91,"satellites":46,"speed":13,"hex_longitude":"2d6cda80","hex_latitude":"062a2e40","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316259328001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377058443090984960,"note":"Value kept but may cause issues"} 
[2026-08-11 01:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7835067109451292672,"note":"Value kept but may cause issues"} 
[2026-08-11 01:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786391659000,"timestamp_ms":1786391659000,"timestamp_seconds":1786391659,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3d81f8"} 
[2026-08-11 01:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:26:10] 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-08-11 01: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-08-11 01:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:26:10] 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-08-11 01:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316259328001,"66":27332,"194":206,"79":22016,"24":13,"16":377058443090984960,"45":7835067109451292672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,79,24,16,45]} 
[2026-08-11 01:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316259328001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:26:10] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-11 01:26:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377058443090984960,"km_value":377058443090984.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7835067109451292672,"description":"Unknown IO ID 45"} 
[2026-08-11 01:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316259328001,"power":27332,"unknown_194":206,"unknown_79":22016,"ignition":13,"odometer":null,"unknown_45":7835067109451292672}} 
[2026-08-11 01:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":151916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:26:10] local.INFO: GPS data processed {"connection_id":151916,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:26:10] local.INFO: Acknowledgment sent {"connection_id":151916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:26:54] local.INFO: TCP Data received {"connection_id":154638,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:26:54] local.INFO: Processing buffer {"connection_id":154638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:26:54] local.INFO: IMEI packet received {"connection_id":154638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":154638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:26:59] local.INFO: TCP Data received {"connection_id":154638,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:26:59] local.INFO: Processing buffer {"connection_id":154638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:26:59] local.INFO: IMEI packet received {"connection_id":154638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":154638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:26:59] local.INFO: TCP Data received {"connection_id":154638,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3db0d8012d6cea80062a2ef8001300502e..."} 
[2026-08-11 01:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3db0d8012d6cea80062a2ef8001300502e..."} 
[2026-08-11 01:26:59] local.INFO: Processing buffer {"connection_id":154638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3db0d8012d6cea80062a2ef8001300502e..."} 
[2026-08-11 01:26:59] local.INFO: Packet analysis {"connection_id":154638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed3d"} 
[2026-08-11 01:26:59] local.INFO: Extracted packet for processing {"connection_id":154638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed3d"} 
[2026-08-11 01:26:59] local.INFO: GPS Element Parsed {"raw_longitude":762112640,"raw_latitude":103427832,"longitude_deg":76.211264,"latitude_deg":10.3427832,"altitude":19,"angle":80,"satellites":46,"speed":20,"hex_longitude":"2d6cea80","hex_latitude":"062a2ef8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316264704001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377058636364513280,"note":"Value kept but may cause issues"} 
[2026-08-11 01:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7843722464984973312,"note":"Value kept but may cause issues"} 
[2026-08-11 01:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786391671000,"timestamp_ms":1786391671000,"timestamp_seconds":1786391671,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3db0d8"} 
[2026-08-11 01:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 01:26:59] 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-08-11 01: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-08-11 01:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:26:59] 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-08-11 01:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316264704001,"66":27321,"194":206,"79":22016,"24":20,"16":377058636364513280,"45":7843722464984973312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,79,24,16,45]} 
[2026-08-11 01:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316264704001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:26:59] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-11 01:26:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377058636364513280,"km_value":377058636364513.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7843722464984973312,"description":"Unknown IO ID 45"} 
[2026-08-11 01:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316264704001,"power":27321,"unknown_194":206,"unknown_79":22016,"ignition":20,"odometer":null,"unknown_45":7843722464984973312}} 
[2026-08-11 01:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":154638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:26:59] local.INFO: GPS data processed {"connection_id":154638,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:26:59] local.INFO: Acknowledgment sent {"connection_id":154638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:27:34] local.INFO: TCP Data received {"connection_id":154638,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3de3a0012d6d0e40062a3290001300552d..."} 
[2026-08-11 01:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3de3a0012d6d0e40062a3290001300552d..."} 
[2026-08-11 01:27:34] local.INFO: Processing buffer {"connection_id":154638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3de3a0012d6d0e40062a3290001300552d..."} 
[2026-08-11 01:27:34] local.INFO: Packet analysis {"connection_id":154638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed3d"} 
[2026-08-11 01:27:34] local.INFO: Extracted packet for processing {"connection_id":154638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed3d"} 
[2026-08-11 01:27:34] local.INFO: GPS Element Parsed {"raw_longitude":762121792,"raw_latitude":103428752,"longitude_deg":76.2121792,"latitude_deg":10.3428752,"altitude":19,"angle":85,"satellites":45,"speed":32,"hex_longitude":"2d6d0e40","hex_latitude":"062a3290","is_valid_coordinates":true} 
[2026-08-11 01:27: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-08-11 01:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316267776001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377059078746144768,"note":"Value kept but may cause issues"} 
[2026-08-11 01:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7848226064612390912,"note":"Value kept but may cause issues"} 
[2026-08-11 01:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786391684000,"timestamp_ms":1786391684000,"timestamp_seconds":1786391684,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3de3a0"} 
[2026-08-11 01:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:27: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":185,"data_length":795,"current_offset":136} 
[2026-08-11 01:27:34] 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-08-11 01:27: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-08-11 01:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":154638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":154638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":154638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:27:34] 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-08-11 01:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316267776001,"66":27343,"194":206,"79":22016,"24":32,"16":377059078746144768,"45":7848226064612390912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,79,24,16,45]} 
[2026-08-11 01:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316267776001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:27:34] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-11 01:27:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377059078746144768,"km_value":377059078746144.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7848226064612390912,"description":"Unknown IO ID 45"} 
[2026-08-11 01:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316267776001,"power":27343,"unknown_194":206,"unknown_79":22016,"ignition":32,"odometer":null,"unknown_45":7848226064612390912}} 
[2026-08-11 01:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":154638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:27:34] local.INFO: GPS data processed {"connection_id":154638,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:27:34] local.INFO: Acknowledgment sent {"connection_id":154638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:27:54] local.INFO: TCP Data received {"connection_id":152302,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:27:54] local.INFO: Processing buffer {"connection_id":152302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:27:54] local.INFO: IMEI packet received {"connection_id":152302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":152302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:27:58] local.INFO: TCP Data received {"connection_id":152302,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:27:58] local.INFO: Processing buffer {"connection_id":152302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:27:58] local.INFO: IMEI packet received {"connection_id":152302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":152302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:28:00] local.INFO: TCP Data received {"connection_id":152302,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed3e0e98012d6d3380062a34f8001100542e..."} 
[2026-08-11 01:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed3e0e98012d6d3380062a34f8001100542e..."} 
[2026-08-11 01:28:00] local.INFO: Processing buffer {"connection_id":152302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed3e0e98012d6d3380062a34f8001100542e..."} 
[2026-08-11 01:28:00] local.INFO: Packet analysis {"connection_id":152302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed3e"} 
[2026-08-11 01:28:00] local.INFO: Extracted packet for processing {"connection_id":152302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed3e"} 
[2026-08-11 01:28:00] local.INFO: GPS Element Parsed {"raw_longitude":762131328,"raw_latitude":103429368,"longitude_deg":76.2131328,"latitude_deg":10.3429368,"altitude":17,"angle":84,"satellites":46,"speed":35,"hex_longitude":"2d6d3380","hex_latitude":"062a34f8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316271104001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377059534012678144,"note":"Value kept but may cause issues"} 
[2026-08-11 01:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7858288795030032384,"note":"Value kept but may cause issues"} 
[2026-08-11 01:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786391695000,"timestamp_ms":1786391695000,"timestamp_seconds":1786391695,"priority":1,"record_length":96,"hex_timestamp":"0000019fed3e0e98"} 
[2026-08-11 01:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:28:00] 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-08-11 01: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-08-11 01:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:28:00] 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-08-11 01:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316271104001,"66":27234,"194":206,"79":22016,"24":35,"16":377059534012678144,"45":7858288795030032384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,79,24,16,45]} 
[2026-08-11 01:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316271104001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:28:00] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-11 01:28:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377059534012678144,"km_value":377059534012678.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7858288795030032384,"description":"Unknown IO ID 45"} 
[2026-08-11 01:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316271104001,"power":27234,"unknown_194":206,"unknown_79":22016,"ignition":35,"odometer":null,"unknown_45":7858288795030032384}} 
[2026-08-11 01:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":152302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:28:00] local.INFO: GPS data processed {"connection_id":152302,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:28:00] local.INFO: Acknowledgment sent {"connection_id":152302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:28:31] local.INFO: TCP Data received {"connection_id":152302,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed408f38012d6ebbc0062a45300019000a2d..."} 
[2026-08-11 01:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed408f38012d6ebbc0062a45300019000a2d..."} 
[2026-08-11 01:28:31] local.INFO: Processing buffer {"connection_id":152302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed408f38012d6ebbc0062a45300019000a2d..."} 
[2026-08-11 01:28:31] local.INFO: Packet analysis {"connection_id":152302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed40"} 
[2026-08-11 01:28:31] local.INFO: Extracted packet for processing {"connection_id":152302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed40"} 
[2026-08-11 01:28:31] local.INFO: GPS Element Parsed {"raw_longitude":762231744,"raw_latitude":103433520,"longitude_deg":76.2231744,"latitude_deg":10.343352,"altitude":25,"angle":10,"satellites":45,"speed":16,"hex_longitude":"2d6ebbc0","hex_latitude":"062a4530","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316315392001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377064408800559104,"note":"Value kept but may cause issues"} 
[2026-08-11 01:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7978760085063188480,"note":"Value kept but may cause issues"} 
[2026-08-11 01:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786391859000,"timestamp_ms":1786391859000,"timestamp_seconds":1786391859,"priority":1,"record_length":96,"hex_timestamp":"0000019fed408f38"} 
[2026-08-11 01:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 01:28:31] 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-08-11 01: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-08-11 01:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:28:31] 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-08-11 01:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316315392001,"66":27234,"243":206,"79":22016,"24":16,"16":377064408800559104,"45":7978760085063188480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-11 01:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316315392001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:28:31] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-11 01:28:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377064408800559104,"km_value":377064408800559.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7978760085063188480,"description":"Unknown IO ID 45"} 
[2026-08-11 01:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316315392001,"power":27234,"unknown_243":206,"unknown_79":22016,"ignition":16,"odometer":null,"unknown_45":7978760085063188480}} 
[2026-08-11 01:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":152302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:28:31] local.INFO: GPS data processed {"connection_id":152302,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:28:31] local.INFO: Acknowledgment sent {"connection_id":152302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:28:53] local.INFO: TCP Data received {"connection_id":151917,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:28:53] local.INFO: Processing buffer {"connection_id":151917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:28:53] local.INFO: IMEI packet received {"connection_id":151917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":151917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:28:59] local.INFO: TCP Data received {"connection_id":151917,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:28:59] local.INFO: Processing buffer {"connection_id":151917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:28:59] local.INFO: IMEI packet received {"connection_id":151917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":151917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:29:00] local.INFO: TCP Data received {"connection_id":151917,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed40a6a8012d6ebc40062a4d38001901662d..."} 
[2026-08-11 01:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed40a6a8012d6ebc40062a4d38001901662d..."} 
[2026-08-11 01:29:00] local.INFO: Processing buffer {"connection_id":151917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed40a6a8012d6ebc40062a4d38001901662d..."} 
[2026-08-11 01:29:00] local.INFO: Packet analysis {"connection_id":151917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed40"} 
[2026-08-11 01:29:00] local.INFO: Extracted packet for processing {"connection_id":151917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed40"} 
[2026-08-11 01:29:00] local.INFO: GPS Element Parsed {"raw_longitude":762231872,"raw_latitude":103435576,"longitude_deg":76.2231872,"latitude_deg":10.3435576,"altitude":25,"angle":358,"satellites":45,"speed":10,"hex_longitude":"2d6ebc40","hex_latitude":"062a4d38","is_valid_coordinates":true} 
[2026-08-11 01:29: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-08-11 01:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316315904001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377064511879774208,"note":"Value kept but may cause issues"} 
[2026-08-11 01:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7979182297528479744,"note":"Value kept but may cause issues"} 
[2026-08-11 01:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786391865000,"timestamp_ms":1786391865000,"timestamp_seconds":1786391865,"priority":1,"record_length":96,"hex_timestamp":"0000019fed40a6a8"} 
[2026-08-11 01:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:29: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":98,"data_length":795,"current_offset":136} 
[2026-08-11 01:29:00] 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-08-11 01:29: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-08-11 01:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:29:00] 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-08-11 01:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316315904001,"66":27365,"243":206,"79":22016,"24":10,"16":377064511879774208,"45":7979182297528479744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-11 01:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316315904001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:29:00] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-11 01:29:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377064511879774208,"km_value":377064511879774.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7979182297528479744,"description":"Unknown IO ID 45"} 
[2026-08-11 01:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316315904001,"power":27365,"unknown_243":206,"unknown_79":22016,"ignition":10,"odometer":null,"unknown_45":7979182297528479744}} 
[2026-08-11 01:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":151917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:29:01] local.INFO: GPS data processed {"connection_id":151917,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:29:01] local.INFO: Acknowledgment sent {"connection_id":151917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:29:33] local.INFO: TCP Data received {"connection_id":151917,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed40b648012d6ebcc0062a5178001a00092d..."} 
[2026-08-11 01:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed40b648012d6ebcc0062a5178001a00092d..."} 
[2026-08-11 01:29:33] local.INFO: Processing buffer {"connection_id":151917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed40b648012d6ebcc0062a5178001a00092d..."} 
[2026-08-11 01:29:33] local.INFO: Packet analysis {"connection_id":151917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed40"} 
[2026-08-11 01:29:33] local.INFO: Extracted packet for processing {"connection_id":151917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed40"} 
[2026-08-11 01:29:33] local.INFO: GPS Element Parsed {"raw_longitude":762232000,"raw_latitude":103436664,"longitude_deg":76.2232,"latitude_deg":10.3436664,"altitude":26,"angle":9,"satellites":45,"speed":12,"hex_longitude":"2d6ebcc0","hex_latitude":"062a5178","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316317440001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377064563419381760,"note":"Value kept but may cause issues"} 
[2026-08-11 01:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7979323035017361408,"note":"Value kept but may cause issues"} 
[2026-08-11 01:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786391869000,"timestamp_ms":1786391869000,"timestamp_seconds":1786391869,"priority":1,"record_length":96,"hex_timestamp":"0000019fed40b648"} 
[2026-08-11 01:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:29:33] 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-08-11 01:29: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-08-11 01:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:29:33] 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-08-11 01:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316317440001,"66":27365,"243":206,"79":22016,"24":12,"16":377064563419381760,"45":7979323035017361408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-11 01:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316317440001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:29:33] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-11 01:29:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377064563419381760,"km_value":377064563419381.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7979323035017361408,"description":"Unknown IO ID 45"} 
[2026-08-11 01:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316317440001,"power":27365,"unknown_243":206,"unknown_79":22016,"ignition":12,"odometer":null,"unknown_45":7979323035017361408}} 
[2026-08-11 01:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":151917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:29:33] local.INFO: GPS data processed {"connection_id":151917,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:29:33] local.INFO: Acknowledgment sent {"connection_id":151917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:29:59] local.INFO: TCP Data received {"connection_id":151918,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:29:59] local.INFO: Processing buffer {"connection_id":151918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:29:59] local.INFO: IMEI packet received {"connection_id":151918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":151918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:30:00] local.INFO: TCP Data received {"connection_id":151918,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:30:00] local.INFO: Processing buffer {"connection_id":151918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:30:00] local.INFO: IMEI packet received {"connection_id":151918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":151918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:30:01] local.INFO: TCP Data received {"connection_id":151918,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed40d588012d6ec000062a5f20001a00152d..."} 
[2026-08-11 01:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed40d588012d6ec000062a5f20001a00152d..."} 
[2026-08-11 01:30:01] local.INFO: Processing buffer {"connection_id":151918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed40d588012d6ec000062a5f20001a00152d..."} 
[2026-08-11 01:30:01] local.INFO: Packet analysis {"connection_id":151918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed40"} 
[2026-08-11 01:30:01] local.INFO: Extracted packet for processing {"connection_id":151918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed40"} 
[2026-08-11 01:30:01] local.INFO: GPS Element Parsed {"raw_longitude":762232832,"raw_latitude":103440160,"longitude_deg":76.2232832,"latitude_deg":10.344016,"altitude":26,"angle":21,"satellites":45,"speed":22,"hex_longitude":"2d6ec000","hex_latitude":"062a5f20","is_valid_coordinates":true} 
[2026-08-11 01:30: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-08-11 01:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316318464001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377064739513040896,"note":"Value kept but may cause issues"} 
[2026-08-11 01:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7979463772505995264,"note":"Value kept but may cause issues"} 
[2026-08-11 01:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786391877000,"timestamp_ms":1786391877000,"timestamp_seconds":1786391877,"priority":1,"record_length":96,"hex_timestamp":"0000019fed40d588"} 
[2026-08-11 01:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:30: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-08-11 01:30: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-08-11 01:30: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-08-11 01:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:30:01] 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-08-11 01:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316318464001,"66":27300,"243":206,"79":22016,"24":22,"16":377064739513040896,"45":7979463772505995264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-11 01:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316318464001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:30:01] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-11 01:30:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377064739513040896,"km_value":377064739513040.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7979463772505995264,"description":"Unknown IO ID 45"} 
[2026-08-11 01:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316318464001,"power":27300,"unknown_243":206,"unknown_79":22016,"ignition":22,"odometer":null,"unknown_45":7979463772505995264}} 
[2026-08-11 01:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":151918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:30:01] local.INFO: GPS data processed {"connection_id":151918,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:30:01] local.INFO: Acknowledgment sent {"connection_id":151918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:30:04] local.INFO: TCP Data received {"connection_id":151918,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed411408012d6ecc40062a81a80017000f29..."} 
[2026-08-11 01:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed411408012d6ecc40062a81a80017000f29..."} 
[2026-08-11 01:30:04] local.INFO: Processing buffer {"connection_id":151918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed411408012d6ecc40062a81a80017000f29..."} 
[2026-08-11 01:30:04] local.INFO: Packet analysis {"connection_id":151918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed41"} 
[2026-08-11 01:30:04] local.INFO: Extracted packet for processing {"connection_id":151918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed41"} 
[2026-08-11 01:30:04] local.INFO: GPS Element Parsed {"raw_longitude":762235968,"raw_latitude":103449000,"longitude_deg":76.2235968,"latitude_deg":10.3449,"altitude":23,"angle":15,"satellites":41,"speed":26,"hex_longitude":"2d6ecc40","hex_latitude":"062a81a8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316320512001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377065194779574272,"note":"Value kept but may cause issues"} 
[2026-08-11 01:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7980378566181199872,"note":"Value kept but may cause issues"} 
[2026-08-11 01:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786391893000,"timestamp_ms":1786391893000,"timestamp_seconds":1786391893,"priority":1,"record_length":96,"hex_timestamp":"0000019fed411408"} 
[2026-08-11 01:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":164,"data_length":795,"current_offset":136} 
[2026-08-11 01:30: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-08-11 01: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-08-11 01:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:30: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-08-11 01:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316320512001,"66":27343,"243":206,"79":22016,"24":26,"16":377065194779574272,"45":7980378566181199872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-11 01:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316320512001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:30:04] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-11 01:30:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377065194779574272,"km_value":377065194779574.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7980378566181199872,"description":"Unknown IO ID 45"} 
[2026-08-11 01:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316320512001,"power":27343,"unknown_243":206,"unknown_79":22016,"ignition":26,"odometer":null,"unknown_45":7980378566181199872}} 
[2026-08-11 01:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":151918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:30:04] local.INFO: GPS data processed {"connection_id":151918,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:30:04] local.INFO: Acknowledgment sent {"connection_id":151918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:30:36] local.INFO: TCP Data received {"connection_id":151918,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4248a0012d6fad00062a80b00012005f2e..."} 
[2026-08-11 01:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4248a0012d6fad00062a80b00012005f2e..."} 
[2026-08-11 01:30:36] local.INFO: Processing buffer {"connection_id":151918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4248a0012d6fad00062a80b00012005f2e..."} 
[2026-08-11 01:30:36] local.INFO: Packet analysis {"connection_id":151918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed42"} 
[2026-08-11 01:30:36] local.INFO: Extracted packet for processing {"connection_id":151918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed42"} 
[2026-08-11 01:30:36] local.INFO: GPS Element Parsed {"raw_longitude":762293504,"raw_latitude":103448752,"longitude_deg":76.2293504,"latitude_deg":10.3448752,"altitude":18,"angle":95,"satellites":46,"speed":36,"hex_longitude":"2d6fad00","hex_latitude":"062a80b0","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316342272001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377068201256681472,"note":"Value kept but may cause issues"} 
[2026-08-11 01:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8036532824037216256,"note":"Value kept but may cause issues"} 
[2026-08-11 01:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786391972000,"timestamp_ms":1786391972000,"timestamp_seconds":1786391972,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4248a0"} 
[2026-08-11 01:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 01:30: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-08-11 01: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-08-11 01:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:30:36] 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-08-11 01:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316342272001,"66":27213,"241":206,"79":22016,"24":36,"16":377068201256681472,"45":8036532824037216256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,79,24,16,45]} 
[2026-08-11 01:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316342272001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:30:36] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-11 01:30:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377068201256681472,"km_value":377068201256681.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8036532824037216256,"description":"Unknown IO ID 45"} 
[2026-08-11 01:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316342272001,"power":27213,"unknown_241":206,"unknown_79":22016,"ignition":36,"odometer":null,"unknown_45":8036532824037216256}} 
[2026-08-11 01:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":151918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:30:36] local.INFO: GPS data processed {"connection_id":151918,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:30:36] local.INFO: Acknowledgment sent {"connection_id":151918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:30:54] local.INFO: TCP Data received {"connection_id":152303,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:30:54] local.INFO: Processing buffer {"connection_id":152303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:30:54] local.INFO: IMEI packet received {"connection_id":152303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":152303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:30:59] local.INFO: TCP Data received {"connection_id":152303,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:30:59] local.INFO: Processing buffer {"connection_id":152303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:30:59] local.INFO: IMEI packet received {"connection_id":152303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":152303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:31:00] local.INFO: TCP Data received {"connection_id":152303,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed427398012d6fd140062a7e980011005c2e..."} 
[2026-08-11 01:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed427398012d6fd140062a7e980011005c2e..."} 
[2026-08-11 01:31:00] local.INFO: Processing buffer {"connection_id":152303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed427398012d6fd140062a7e980011005c2e..."} 
[2026-08-11 01:31:00] local.INFO: Packet analysis {"connection_id":152303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed42"} 
[2026-08-11 01:31:00] local.INFO: Extracted packet for processing {"connection_id":152303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed42"} 
[2026-08-11 01:31:00] local.INFO: GPS Element Parsed {"raw_longitude":762302784,"raw_latitude":103448216,"longitude_deg":76.2302784,"latitude_deg":10.3448216,"altitude":17,"angle":92,"satellites":46,"speed":33,"hex_longitude":"2d6fd140","hex_latitude":"062a7e98","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316344832001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377068643638312960,"note":"Value kept but may cause issues"} 
[2026-08-11 01:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8047088135663824896,"note":"Value kept but may cause issues"} 
[2026-08-11 01:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786391983000,"timestamp_ms":1786391983000,"timestamp_seconds":1786391983,"priority":1,"record_length":96,"hex_timestamp":"0000019fed427398"} 
[2026-08-11 01:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 01:31:00] 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-08-11 01: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-08-11 01:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:31:00] 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-08-11 01:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316344832001,"66":27397,"242":206,"79":22016,"24":33,"16":377068643638312960,"45":8047088135663824896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-11 01:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316344832001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:31:00] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-11 01:31:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377068643638312960,"km_value":377068643638312.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8047088135663824896,"description":"Unknown IO ID 45"} 
[2026-08-11 01:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316344832001,"power":27397,"unknown_242":206,"unknown_79":22016,"ignition":33,"odometer":null,"unknown_45":8047088135663824896}} 
[2026-08-11 01:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":152303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:31:00] local.INFO: GPS data processed {"connection_id":152303,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:31:00] local.INFO: Acknowledgment sent {"connection_id":152303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:31:31] local.INFO: TCP Data received {"connection_id":152303,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed429aa8012d6ff680062a7e88000d005a2f..."} 
[2026-08-11 01:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed429aa8012d6ff680062a7e88000d005a2f..."} 
[2026-08-11 01:31:31] local.INFO: Processing buffer {"connection_id":152303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed429aa8012d6ff680062a7e88000d005a2f..."} 
[2026-08-11 01:31:31] local.INFO: Packet analysis {"connection_id":152303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed42"} 
[2026-08-11 01:31:31] local.INFO: Extracted packet for processing {"connection_id":152303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed42"} 
[2026-08-11 01:31:31] local.INFO: GPS Element Parsed {"raw_longitude":762312320,"raw_latitude":103448200,"longitude_deg":76.231232,"latitude_deg":10.34482,"altitude":13,"angle":90,"satellites":47,"speed":44,"hex_longitude":"2d6ff680","hex_latitude":"062a7e88","is_valid_coordinates":true} 
[2026-08-11 01:31: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-08-11 01:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316347648001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377069098904846336,"note":"Value kept but may cause issues"} 
[2026-08-11 01:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8057291603569448960,"note":"Value kept but may cause issues"} 
[2026-08-11 01:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786391993000,"timestamp_ms":1786391993000,"timestamp_seconds":1786391993,"priority":1,"record_length":96,"hex_timestamp":"0000019fed429aa8"} 
[2026-08-11 01:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:31: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 01:31:31] 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-08-11 01:31: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-08-11 01:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:31:31] 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-08-11 01:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316347648001,"66":27213,"242":206,"79":22016,"24":44,"16":377069098904846336,"45":8057291603569448960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-11 01:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316347648001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:31:31] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-11 01:31:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377069098904846336,"km_value":377069098904846.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8057291603569448960,"description":"Unknown IO ID 45"} 
[2026-08-11 01:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316347648001,"power":27213,"unknown_242":206,"unknown_79":22016,"ignition":44,"odometer":null,"unknown_45":8057291603569448960}} 
[2026-08-11 01:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":152303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:31:31] local.INFO: GPS data processed {"connection_id":152303,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:31:31] local.INFO: Acknowledgment sent {"connection_id":152303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:31:54] local.INFO: TCP Data received {"connection_id":151919,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:31:54] local.INFO: Processing buffer {"connection_id":151919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:31:54] local.INFO: IMEI packet received {"connection_id":151919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":151919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:31:55] local.INFO: TCP Data received {"connection_id":151919,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:31:55] local.INFO: Processing buffer {"connection_id":151919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:31:55] local.INFO: IMEI packet received {"connection_id":151919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":151919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:32:04] local.INFO: TCP Data received {"connection_id":151919,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:32:04] local.INFO: Processing buffer {"connection_id":151919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:32:04] local.INFO: IMEI packet received {"connection_id":151919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":151919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:32:05] local.INFO: TCP Data received {"connection_id":151919,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed43a448012d708e00062a6908000e00852e..."} 
[2026-08-11 01:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed43a448012d708e00062a6908000e00852e..."} 
[2026-08-11 01:32:05] local.INFO: Processing buffer {"connection_id":151919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed43a448012d708e00062a6908000e00852e..."} 
[2026-08-11 01:32:05] local.INFO: Packet analysis {"connection_id":151919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed43"} 
[2026-08-11 01:32:05] local.INFO: Extracted packet for processing {"connection_id":151919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed43"} 
[2026-08-11 01:32:05] local.INFO: GPS Element Parsed {"raw_longitude":762351104,"raw_latitude":103442696,"longitude_deg":76.2351104,"latitude_deg":10.3442696,"altitude":14,"angle":133,"satellites":46,"speed":24,"hex_longitude":"2d708e00","hex_latitude":"062a6908","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316367616001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377071151899213824,"note":"Value kept but may cause issues"} 
[2026-08-11 01:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8110420005422172160,"note":"Value kept but may cause issues"} 
[2026-08-11 01:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786392061000,"timestamp_ms":1786392061000,"timestamp_seconds":1786392061,"priority":1,"record_length":96,"hex_timestamp":"0000019fed43a448"} 
[2026-08-11 01:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 01:32: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-08-11 01: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-08-11 01:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:32:05] 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-08-11 01:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316367616001,"66":27397,"242":206,"79":22016,"24":24,"16":377071151899213824,"45":8110420005422172160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-11 01:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316367616001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:32:05] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-11 01:32:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377071151899213824,"km_value":377071151899213.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8110420005422172160,"description":"Unknown IO ID 45"} 
[2026-08-11 01:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316367616001,"power":27397,"unknown_242":206,"unknown_79":22016,"ignition":24,"odometer":null,"unknown_45":8110420005422172160}} 
[2026-08-11 01:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":151919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:32:05] local.INFO: GPS data processed {"connection_id":151919,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:32:05] local.INFO: Acknowledgment sent {"connection_id":151919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:32:05] local.INFO: TCP Data received {"connection_id":151919,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed43d710012d70a800062a52a8001000792d..."} 
[2026-08-11 01:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed43d710012d70a800062a52a8001000792d..."} 
[2026-08-11 01:32:05] local.INFO: Processing buffer {"connection_id":151919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed43d710012d70a800062a52a8001000792d..."} 
[2026-08-11 01:32:05] local.INFO: Packet analysis {"connection_id":151919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed43"} 
[2026-08-11 01:32:05] local.INFO: Extracted packet for processing {"connection_id":151919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed43"} 
[2026-08-11 01:32:05] local.INFO: GPS Element Parsed {"raw_longitude":762357760,"raw_latitude":103436968,"longitude_deg":76.235776,"latitude_deg":10.3436968,"altitude":16,"angle":121,"satellites":45,"speed":29,"hex_longitude":"2d70a800","hex_latitude":"062a52a8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316367616001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377071577100976128,"note":"Value kept but may cause issues"} 
[2026-08-11 01:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8110420005422172160,"note":"Value kept but may cause issues"} 
[2026-08-11 01:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786392074000,"timestamp_ms":1786392074000,"timestamp_seconds":1786392074,"priority":1,"record_length":96,"hex_timestamp":"0000019fed43d710"} 
[2026-08-11 01:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 01:32: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-08-11 01: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-08-11 01:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:32:05] 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-08-11 01:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316367616001,"66":27365,"242":206,"79":22016,"24":29,"16":377071577100976128,"45":8110420005422172160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-11 01:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316367616001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:32:05] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-11 01:32:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377071577100976128,"km_value":377071577100976.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8110420005422172160,"description":"Unknown IO ID 45"} 
[2026-08-11 01:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316367616001,"power":27365,"unknown_242":206,"unknown_79":22016,"ignition":29,"odometer":null,"unknown_45":8110420005422172160}} 
[2026-08-11 01:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":151919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:32:05] local.INFO: GPS data processed {"connection_id":151919,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:32:05] local.INFO: Acknowledgment sent {"connection_id":151919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:32:37] local.INFO: TCP Data received {"connection_id":151919,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed43e2c8012d70b080062a4ed80011006e2e..."} 
[2026-08-11 01:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed43e2c8012d70b080062a4ed80011006e2e..."} 
[2026-08-11 01:32:37] local.INFO: Processing buffer {"connection_id":151919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed43e2c8012d70b080062a4ed80011006e2e..."} 
[2026-08-11 01:32:37] local.INFO: Packet analysis {"connection_id":151919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed43"} 
[2026-08-11 01:32:37] local.INFO: Extracted packet for processing {"connection_id":151919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed43"} 
[2026-08-11 01:32:37] local.INFO: GPS Element Parsed {"raw_longitude":762359936,"raw_latitude":103435992,"longitude_deg":76.2359936,"latitude_deg":10.3435992,"altitude":17,"angle":110,"satellites":46,"speed":30,"hex_longitude":"2d70b080","hex_latitude":"062a4ed8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316370944001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377071688770125824,"note":"Value kept but may cause issues"} 
[2026-08-11 01:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8117738354815182848,"note":"Value kept but may cause issues"} 
[2026-08-11 01:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786392077000,"timestamp_ms":1786392077000,"timestamp_seconds":1786392077,"priority":1,"record_length":96,"hex_timestamp":"0000019fed43e2c8"} 
[2026-08-11 01:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:32: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-08-11 01: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-08-11 01:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:32: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-08-11 01:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316370944001,"66":27267,"242":206,"79":22016,"24":30,"16":377071688770125824,"45":8117738354815182848},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-11 01:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316370944001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:32:37] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-11 01:32:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-08-11 01:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377071688770125824,"km_value":377071688770125.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8117738354815182848,"description":"Unknown IO ID 45"} 
[2026-08-11 01:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316370944001,"power":27267,"unknown_242":206,"unknown_79":22016,"ignition":30,"odometer":null,"unknown_45":8117738354815182848}} 
[2026-08-11 01:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":151919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:32:37] local.INFO: GPS data processed {"connection_id":151919,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:32:37] local.INFO: Acknowledgment sent {"connection_id":151919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:32:53] local.INFO: TCP Data received {"connection_id":154639,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:32:53] local.INFO: Processing buffer {"connection_id":154639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:32:53] local.INFO: IMEI packet received {"connection_id":154639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":154639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:32:59] local.INFO: TCP Data received {"connection_id":154639,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:32:59] local.INFO: Processing buffer {"connection_id":154639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:32:59] local.INFO: IMEI packet received {"connection_id":154639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":154639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:33:00] local.INFO: TCP Data received {"connection_id":154639,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed440dc0012d70d1c0062a43600012006c2e..."} 
[2026-08-11 01:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed440dc0012d70d1c0062a43600012006c2e..."} 
[2026-08-11 01:33:00] local.INFO: Processing buffer {"connection_id":154639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed440dc0012d70d1c0062a43600012006c2e..."} 
[2026-08-11 01:33:00] local.INFO: Packet analysis {"connection_id":154639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed44"} 
[2026-08-11 01:33:00] local.INFO: Extracted packet for processing {"connection_id":154639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed44"} 
[2026-08-11 01:33:00] local.INFO: GPS Element Parsed {"raw_longitude":762368448,"raw_latitude":103433056,"longitude_deg":76.2368448,"latitude_deg":10.3433056,"altitude":18,"angle":108,"satellites":46,"speed":32,"hex_longitude":"2d70d1c0","hex_latitude":"062a4360","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316371712001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377072122561822720,"note":"Value kept but may cause issues"} 
[2026-08-11 01:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8120130892116973568,"note":"Value kept but may cause issues"} 
[2026-08-11 01:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786392088000,"timestamp_ms":1786392088000,"timestamp_seconds":1786392088,"priority":1,"record_length":96,"hex_timestamp":"0000019fed440dc0"} 
[2026-08-11 01:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 01:33:00] 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-08-11 01: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-08-11 01:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:33:00] 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-08-11 01:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316371712001,"66":27321,"7":206,"79":21248,"24":32,"16":377072122561822720,"45":8120130892116973568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,79,24,16,45]} 
[2026-08-11 01:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316371712001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:33:00] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-11 01:33:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21248,"description":"Unknown IO ID 79"} 
[2026-08-11 01:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377072122561822720,"km_value":377072122561822.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8120130892116973568,"description":"Unknown IO ID 45"} 
[2026-08-11 01:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316371712001,"power":27321,"unknown_7":206,"unknown_79":21248,"ignition":32,"odometer":null,"unknown_45":8120130892116973568}} 
[2026-08-11 01:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":154639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:33:00] local.INFO: GPS data processed {"connection_id":154639,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:33:00] local.INFO: Acknowledgment sent {"connection_id":154639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:33:31] local.INFO: TCP Data received {"connection_id":154639,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4438b8012d70f4c0062a3bf0001300622e..."} 
[2026-08-11 01:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4438b8012d70f4c0062a3bf0001300622e..."} 
[2026-08-11 01:33:31] local.INFO: Processing buffer {"connection_id":154639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4438b8012d70f4c0062a3bf0001300622e..."} 
[2026-08-11 01:33:31] local.INFO: Packet analysis {"connection_id":154639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed44"} 
[2026-08-11 01:33:31] local.INFO: Extracted packet for processing {"connection_id":154639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed44"} 
[2026-08-11 01:33:31] local.INFO: GPS Element Parsed {"raw_longitude":762377408,"raw_latitude":103431152,"longitude_deg":76.2377408,"latitude_deg":10.3431152,"altitude":19,"angle":98,"satellites":46,"speed":33,"hex_longitude":"2d70f4c0","hex_latitude":"062a3bf0","is_valid_coordinates":true} 
[2026-08-11 01:33: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-08-11 01:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316374528001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377072556353519616,"note":"Value kept but may cause issues"} 
[2026-08-11 01:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8129489935091851264,"note":"Value kept but may cause issues"} 
[2026-08-11 01:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786392099000,"timestamp_ms":1786392099000,"timestamp_seconds":1786392099,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4438b8"} 
[2026-08-11 01:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:33: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 01:33:31] 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-08-11 01:33: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-08-11 01:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:33:31] 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-08-11 01:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316374528001,"66":27267,"7":206,"79":21248,"24":33,"16":377072556353519616,"45":8129489935091851264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,79,24,16,45]} 
[2026-08-11 01:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316374528001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:33:31] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-11 01:33:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21248,"description":"Unknown IO ID 79"} 
[2026-08-11 01:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377072556353519616,"km_value":377072556353519.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8129489935091851264,"description":"Unknown IO ID 45"} 
[2026-08-11 01:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316374528001,"power":27267,"unknown_7":206,"unknown_79":21248,"ignition":33,"odometer":null,"unknown_45":8129489935091851264}} 
[2026-08-11 01:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":154639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:33:31] local.INFO: GPS data processed {"connection_id":154639,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:33:31] local.INFO: Acknowledgment sent {"connection_id":154639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:33:56] local.INFO: TCP Data received {"connection_id":151920,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:33:56] local.INFO: Processing buffer {"connection_id":151920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:33:56] local.INFO: IMEI packet received {"connection_id":151920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":151920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:33:59] local.INFO: TCP Data received {"connection_id":151920,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:33:59] local.INFO: Processing buffer {"connection_id":151920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:33:59] local.INFO: IMEI packet received {"connection_id":151920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":151920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:34:04] local.INFO: TCP Data received {"connection_id":151920,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:34:04] local.INFO: Processing buffer {"connection_id":151920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:34:04] local.INFO: IMEI packet received {"connection_id":151920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":151920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:34:05] local.INFO: TCP Data received {"connection_id":151920,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed457520012d721540062a7918000c00342b..."} 
[2026-08-11 01:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed457520012d721540062a7918000c00342b..."} 
[2026-08-11 01:34:05] local.INFO: Processing buffer {"connection_id":151920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed457520012d721540062a7918000c00342b..."} 
[2026-08-11 01:34:05] local.INFO: Packet analysis {"connection_id":151920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed45"} 
[2026-08-11 01:34:05] local.INFO: Extracted packet for processing {"connection_id":151920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed45"} 
[2026-08-11 01:34:05] local.INFO: GPS Element Parsed {"raw_longitude":762451264,"raw_latitude":103446808,"longitude_deg":76.2451264,"latitude_deg":10.3446808,"altitude":12,"angle":52,"satellites":43,"speed":34,"hex_longitude":"2d721540","hex_latitude":"062a7918","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316396544001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377076357399576576,"note":"Value kept but may cause issues"} 
[2026-08-11 01:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8216747177874651136,"note":"Value kept but may cause issues"} 
[2026-08-11 01:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786392180000,"timestamp_ms":1786392180000,"timestamp_seconds":1786392180,"priority":1,"record_length":96,"hex_timestamp":"0000019fed457520"} 
[2026-08-11 01:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 01:34: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-08-11 01: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-08-11 01:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:34:05] 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-08-11 01:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316396544001,"66":27223,"5":206,"79":21248,"24":34,"16":377076357399576576,"45":8216747177874651136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,79,24,16,45]} 
[2026-08-11 01:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316396544001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:34:05] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-11 01:34:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21248,"description":"Unknown IO ID 79"} 
[2026-08-11 01:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377076357399576576,"km_value":377076357399576.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8216747177874651136,"description":"Unknown IO ID 45"} 
[2026-08-11 01:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316396544001,"power":27223,"unknown_5":206,"unknown_79":21248,"ignition":34,"odometer":null,"unknown_45":8216747177874651136}} 
[2026-08-11 01:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":151920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:34:05] local.INFO: GPS data processed {"connection_id":151920,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:34:05] local.INFO: Acknowledgment sent {"connection_id":151920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:34:07] local.INFO: TCP Data received {"connection_id":151920,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4580d8012d721dc0062a7dc8000c00452d..."} 
[2026-08-11 01:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4580d8012d721dc0062a7dc8000c00452d..."} 
[2026-08-11 01:34:07] local.INFO: Processing buffer {"connection_id":151920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4580d8012d721dc0062a7dc8000c00452d..."} 
[2026-08-11 01:34:07] local.INFO: Packet analysis {"connection_id":151920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed45"} 
[2026-08-11 01:34:07] local.INFO: Extracted packet for processing {"connection_id":151920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed45"} 
[2026-08-11 01:34:07] local.INFO: GPS Element Parsed {"raw_longitude":762453440,"raw_latitude":103448008,"longitude_deg":76.245344,"latitude_deg":10.3448008,"altitude":12,"angle":69,"satellites":45,"speed":31,"hex_longitude":"2d721dc0","hex_latitude":"062a7dc8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316398080001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377076477658660864,"note":"Value kept but may cause issues"} 
[2026-08-11 01:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8220547090061268992,"note":"Value kept but may cause issues"} 
[2026-08-11 01:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786392183000,"timestamp_ms":1786392183000,"timestamp_seconds":1786392183,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4580d8"} 
[2026-08-11 01:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":87,"data_length":795,"current_offset":136} 
[2026-08-11 01:34:07] 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-08-11 01: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-08-11 01:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:34:07] 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-08-11 01:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316398080001,"66":27267,"5":206,"79":21248,"24":31,"16":377076477658660864,"45":8220547090061268992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,79,24,16,45]} 
[2026-08-11 01:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316398080001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:34:07] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-11 01:34:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21248,"description":"Unknown IO ID 79"} 
[2026-08-11 01:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377076477658660864,"km_value":377076477658660.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8220547090061268992,"description":"Unknown IO ID 45"} 
[2026-08-11 01:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316398080001,"power":27267,"unknown_5":206,"unknown_79":21248,"ignition":31,"odometer":null,"unknown_45":8220547090061268992}} 
[2026-08-11 01:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":151920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:34:07] local.INFO: GPS data processed {"connection_id":151920,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:34:07] local.INFO: Acknowledgment sent {"connection_id":151920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:35:02] local.INFO: TCP Data received {"connection_id":153238,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:35:02] local.INFO: Processing buffer {"connection_id":153238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:35:02] local.INFO: IMEI packet received {"connection_id":153238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":153238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:35:03] local.INFO: TCP Data received {"connection_id":153238,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 01:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153238,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 01:35:03] local.INFO: Processing buffer {"connection_id":153238,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 01:35:03] local.INFO: IMEI packet received {"connection_id":153238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":153238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:35:06] local.INFO: TCP Data received {"connection_id":153238,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed458c90012d7226c0062a8048000b00502c..."} 
[2026-08-11 01:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed458c90012d7226c0062a8048000b00502c..."} 
[2026-08-11 01:35:06] local.INFO: Processing buffer {"connection_id":153238,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fed..."} 
[2026-08-11 01:35:06] local.INFO: IMEI packet received {"connection_id":153238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":153238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:35:07] local.INFO: TCP Data received {"connection_id":153238,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed45a7e8012d723a80062a8190000b005c2d..."} 
[2026-08-11 01:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed45a7e8012d723a80062a8190000b005c2d..."} 
[2026-08-11 01:35:07] local.INFO: Processing buffer {"connection_id":153238,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fed458c90012d7226c0062a8048000b00502c..."} 
[2026-08-11 01:35:07] local.INFO: Packet analysis {"connection_id":153238,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fed45"} 
[2026-08-11 01:35:07] local.INFO: Extracted packet for processing {"connection_id":153238,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed45"} 
[2026-08-11 01:35:07] local.INFO: GPS Element Parsed {"raw_longitude":762455744,"raw_latitude":103448648,"longitude_deg":76.2455744,"latitude_deg":10.3448648,"altitude":11,"angle":80,"satellites":44,"speed":31,"hex_longitude":"2d7226c0","hex_latitude":"062a8048","is_valid_coordinates":true} 
[2026-08-11 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-08-11 01:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316398848001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377076589327810560,"note":"Value kept but may cause issues"} 
[2026-08-11 01:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8222939627363616768,"note":"Value kept but may cause issues"} 
[2026-08-11 01:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786392186000,"timestamp_ms":1786392186000,"timestamp_seconds":1786392186,"priority":1,"record_length":96,"hex_timestamp":"0000019fed458c90"} 
[2026-08-11 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-08-11 01:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":131,"data_length":795,"current_offset":136} 
[2026-08-11 01:35: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-08-11 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-08-11 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-08-11 01:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:35:07] 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-08-11 01:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316398848001,"66":27234,"5":206,"79":21248,"24":31,"16":377076589327810560,"45":8222939627363616768},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,79,24,16,45]} 
[2026-08-11 01:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316398848001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:35:07] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-11 01:35:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21248,"description":"Unknown IO ID 79"} 
[2026-08-11 01:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377076589327810560,"km_value":377076589327810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8222939627363616768,"description":"Unknown IO ID 45"} 
[2026-08-11 01:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316398848001,"power":27234,"unknown_5":206,"unknown_79":21248,"ignition":31,"odometer":null,"unknown_45":8222939627363616768}} 
[2026-08-11 01:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":153238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:35:07] local.INFO: GPS data processed {"connection_id":153238,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:35:07] local.INFO: Acknowledgment sent {"connection_id":153238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:35:07] local.INFO: Packet analysis {"connection_id":153238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed45"} 
[2026-08-11 01:35:07] local.INFO: Extracted packet for processing {"connection_id":153238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed45"} 
[2026-08-11 01:35:07] local.INFO: GPS Element Parsed {"raw_longitude":762460800,"raw_latitude":103448976,"longitude_deg":76.24608,"latitude_deg":10.3448976,"altitude":11,"angle":92,"satellites":45,"speed":24,"hex_longitude":"2d723a80","hex_latitude":"062a8190","is_valid_coordinates":true} 
[2026-08-11 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-08-11 01:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316399616001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377076829845979136,"note":"Value kept but may cause issues"} 
[2026-08-11 01:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8225472902154176512,"note":"Value kept but may cause issues"} 
[2026-08-11 01:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786392193000,"timestamp_ms":1786392193000,"timestamp_seconds":1786392193,"priority":1,"record_length":96,"hex_timestamp":"0000019fed45a7e8"} 
[2026-08-11 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-08-11 01:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":98,"data_length":795,"current_offset":136} 
[2026-08-11 01:35: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-08-11 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-08-11 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-08-11 01:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:35:07] 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-08-11 01:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316399616001,"66":27365,"5":206,"79":21248,"24":24,"16":377076829845979136,"45":8225472902154176512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,79,24,16,45]} 
[2026-08-11 01:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316399616001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:35:07] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-11 01:35:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21248,"description":"Unknown IO ID 79"} 
[2026-08-11 01:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377076829845979136,"km_value":377076829845979.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8225472902154176512,"description":"Unknown IO ID 45"} 
[2026-08-11 01:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316399616001,"power":27365,"unknown_5":206,"unknown_79":21248,"ignition":24,"odometer":null,"unknown_45":8225472902154176512}} 
[2026-08-11 01:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":153238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:35:07] local.INFO: GPS data processed {"connection_id":153238,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:35:07] local.INFO: Acknowledgment sent {"connection_id":153238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:35:08] local.INFO: TCP Data received {"connection_id":153238,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed45bb70012d724840062a7fa0000a00682e..."} 
[2026-08-11 01:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed45bb70012d724840062a7fa0000a00682e..."} 
[2026-08-11 01:35:08] local.INFO: Processing buffer {"connection_id":153238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed45bb70012d724840062a7fa0000a00682e..."} 
[2026-08-11 01:35:08] local.INFO: Packet analysis {"connection_id":153238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed45"} 
[2026-08-11 01:35:08] local.INFO: Extracted packet for processing {"connection_id":153238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed45"} 
[2026-08-11 01:35:08] local.INFO: GPS Element Parsed {"raw_longitude":762464320,"raw_latitude":103448480,"longitude_deg":76.246432,"latitude_deg":10.344848,"altitude":10,"angle":104,"satellites":46,"speed":31,"hex_longitude":"2d724840","hex_latitude":"062a7fa0","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316401408001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377077001644670976,"note":"Value kept but may cause issues"} 
[2026-08-11 01:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8231032032944295936,"note":"Value kept but may cause issues"} 
[2026-08-11 01:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786392198000,"timestamp_ms":1786392198000,"timestamp_seconds":1786392198,"priority":1,"record_length":96,"hex_timestamp":"0000019fed45bb70"} 
[2026-08-11 01:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:35: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-08-11 01: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-08-11 01:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:35:08] 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-08-11 01:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316401408001,"66":27300,"5":206,"79":21248,"24":31,"16":377077001644670976,"45":8231032032944295936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,79,24,16,45]} 
[2026-08-11 01:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316401408001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:35:08] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-11 01:35:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21248,"description":"Unknown IO ID 79"} 
[2026-08-11 01:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377077001644670976,"km_value":377077001644671.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8231032032944295936,"description":"Unknown IO ID 45"} 
[2026-08-11 01:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316401408001,"power":27300,"unknown_5":206,"unknown_79":21248,"ignition":31,"odometer":null,"unknown_45":8231032032944295936}} 
[2026-08-11 01:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":153238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:35:08] local.INFO: GPS data processed {"connection_id":153238,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:35:08] local.INFO: Acknowledgment sent {"connection_id":153238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:35:38] local.INFO: TCP Data received {"connection_id":153238,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed471718012d737b800629fec8000b005e2d..."} 
[2026-08-11 01:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed471718012d737b800629fec8000b005e2d..."} 
[2026-08-11 01:35:38] local.INFO: Processing buffer {"connection_id":153238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed471718012d737b800629fec8000b005e2d..."} 
[2026-08-11 01:35:38] local.INFO: Packet analysis {"connection_id":153238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed47"} 
[2026-08-11 01:35:38] local.INFO: Extracted packet for processing {"connection_id":153238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed47"} 
[2026-08-11 01:35:38] local.INFO: GPS Element Parsed {"raw_longitude":762542976,"raw_latitude":103415496,"longitude_deg":76.2542976,"latitude_deg":10.3415496,"altitude":11,"angle":94,"satellites":45,"speed":35,"hex_longitude":"2d737b80","hex_latitude":"0629fec8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316424960001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377081167762948096,"note":"Value kept but may cause issues"} 
[2026-08-11 01:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8319415175622961152,"note":"Value kept but may cause issues"} 
[2026-08-11 01:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786392287000,"timestamp_ms":1786392287000,"timestamp_seconds":1786392287,"priority":1,"record_length":96,"hex_timestamp":"0000019fed471718"} 
[2026-08-11 01:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":131,"data_length":795,"current_offset":136} 
[2026-08-11 01:35:38] 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-08-11 01: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-08-11 01:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:35:38] 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-08-11 01:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316424960001,"66":26984,"202":206,"79":21504,"24":35,"16":377081167762948096,"45":8319415175622961152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,79,24,16,45]} 
[2026-08-11 01:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316424960001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:35:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377081167762948096,"km_value":377081167762948.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8319415175622961152,"description":"Unknown IO ID 45"} 
[2026-08-11 01:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316424960001,"power":26984,"mcc":206,"unknown_79":21504,"ignition":35,"odometer":null,"unknown_45":8319415175622961152}} 
[2026-08-11 01:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":153238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:35:38] local.INFO: GPS data processed {"connection_id":153238,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:35:38] local.INFO: Acknowledgment sent {"connection_id":153238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:35:54] local.INFO: TCP Data received {"connection_id":152304,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:35:54] local.INFO: Processing buffer {"connection_id":152304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:35:54] local.INFO: IMEI packet received {"connection_id":152304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":152304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:35:54] local.INFO: TCP Data received {"connection_id":152304,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:35:54] local.INFO: Processing buffer {"connection_id":152304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:35:54] local.INFO: IMEI packet received {"connection_id":152304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":152304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:35:59] local.INFO: TCP Data received {"connection_id":152304,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:35:59] local.INFO: Processing buffer {"connection_id":152304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:35:59] local.INFO: IMEI packet received {"connection_id":152304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":152304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:36:00] local.INFO: TCP Data received {"connection_id":152304,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4726b8012d738a000629ffa0000900512d..."} 
[2026-08-11 01:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4726b8012d738a000629ffa0000900512d..."} 
[2026-08-11 01:36:00] local.INFO: Processing buffer {"connection_id":152304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4726b8012d738a000629ffa0000900512d..."} 
[2026-08-11 01:36:00] local.INFO: Packet analysis {"connection_id":152304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed47"} 
[2026-08-11 01:36:00] local.INFO: Extracted packet for processing {"connection_id":152304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed47"} 
[2026-08-11 01:36:00] local.INFO: GPS Element Parsed {"raw_longitude":762546688,"raw_latitude":103415712,"longitude_deg":76.2546688,"latitude_deg":10.3415712,"altitude":9,"angle":81,"satellites":45,"speed":38,"hex_longitude":"2d738a00","hex_latitude":"0629ffa0","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316425472001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377081348151574528,"note":"Value kept but may cause issues"} 
[2026-08-11 01:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8321385500459845632,"note":"Value kept but may cause issues"} 
[2026-08-11 01:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786392291000,"timestamp_ms":1786392291000,"timestamp_seconds":1786392291,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4726b8"} 
[2026-08-11 01:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-11 01:36:00] 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-08-11 01: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-08-11 01:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:36:00] 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-08-11 01:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316425472001,"66":26810,"202":206,"79":21504,"24":38,"16":377081348151574528,"45":8321385500459845632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,79,24,16,45]} 
[2026-08-11 01:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316425472001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:36:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377081348151574528,"km_value":377081348151574.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8321385500459845632,"description":"Unknown IO ID 45"} 
[2026-08-11 01:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316425472001,"power":26810,"mcc":206,"unknown_79":21504,"ignition":38,"odometer":null,"unknown_45":8321385500459845632}} 
[2026-08-11 01:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":152304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:36:00] local.INFO: GPS data processed {"connection_id":152304,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:36:00] local.INFO: Acknowledgment sent {"connection_id":152304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:36:31] local.INFO: TCP Data received {"connection_id":152304,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4749e0012d73af00062a0858000700492d..."} 
[2026-08-11 01:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4749e0012d73af00062a0858000700492d..."} 
[2026-08-11 01:36:31] local.INFO: Processing buffer {"connection_id":152304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4749e0012d73af00062a0858000700492d..."} 
[2026-08-11 01:36:31] local.INFO: Packet analysis {"connection_id":152304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed47"} 
[2026-08-11 01:36:31] local.INFO: Extracted packet for processing {"connection_id":152304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed47"} 
[2026-08-11 01:36:31] local.INFO: GPS Element Parsed {"raw_longitude":762556160,"raw_latitude":103417944,"longitude_deg":76.255616,"latitude_deg":10.3417944,"altitude":7,"angle":73,"satellites":45,"speed":45,"hex_longitude":"2d73af00","hex_latitude":"062a0858","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316426496001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377081812008042496,"note":"Value kept but may cause issues"} 
[2026-08-11 01:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8325466887622205440,"note":"Value kept but may cause issues"} 
[2026-08-11 01:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786392300000,"timestamp_ms":1786392300000,"timestamp_seconds":1786392300,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4749e0"} 
[2026-08-11 01:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":104,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-11 01:36:31] 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-08-11 01: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-08-11 01:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:36:31] 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-08-11 01:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316426496001,"66":27365,"202":206,"79":21504,"24":45,"16":377081812008042496,"45":8325466887622205440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,79,24,16,45]} 
[2026-08-11 01:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316426496001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:36:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377081812008042496,"km_value":377081812008042.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8325466887622205440,"description":"Unknown IO ID 45"} 
[2026-08-11 01:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316426496001,"power":27365,"mcc":206,"unknown_79":21504,"ignition":45,"odometer":null,"unknown_45":8325466887622205440}} 
[2026-08-11 01:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":152304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:36:31] local.INFO: GPS data processed {"connection_id":152304,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:36:31] local.INFO: Acknowledgment sent {"connection_id":152304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:36:54] local.INFO: TCP Data received {"connection_id":154640,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:36:54] local.INFO: Processing buffer {"connection_id":154640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:36:54] local.INFO: IMEI packet received {"connection_id":154640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":154640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:36:59] local.INFO: TCP Data received {"connection_id":154640,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:36:59] local.INFO: Processing buffer {"connection_id":154640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:36:59] local.INFO: IMEI packet received {"connection_id":154640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":154640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:37:00] local.INFO: TCP Data received {"connection_id":154640,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed476920012d73d140062a13280006004a2d..."} 
[2026-08-11 01:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed476920012d73d140062a13280006004a2d..."} 
[2026-08-11 01:37:00] local.INFO: Processing buffer {"connection_id":154640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed476920012d73d140062a13280006004a2d..."} 
[2026-08-11 01:37:00] local.INFO: Packet analysis {"connection_id":154640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed47"} 
[2026-08-11 01:37:00] local.INFO: Extracted packet for processing {"connection_id":154640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed47"} 
[2026-08-11 01:37:00] local.INFO: GPS Element Parsed {"raw_longitude":762564928,"raw_latitude":103420712,"longitude_deg":76.2564928,"latitude_deg":10.3420712,"altitude":6,"angle":74,"satellites":45,"speed":45,"hex_longitude":"2d73d140","hex_latitude":"062a1328","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316428800001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377082250094706688,"note":"Value kept but may cause issues"} 
[2026-08-11 01:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8335881461761071104,"note":"Value kept but may cause issues"} 
[2026-08-11 01:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786392308000,"timestamp_ms":1786392308000,"timestamp_seconds":1786392308,"priority":1,"record_length":96,"hex_timestamp":"0000019fed476920"} 
[2026-08-11 01:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:37:00] 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-08-11 01: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-08-11 01:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:37:00] 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-08-11 01:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316428800001,"66":27300,"202":206,"79":21504,"24":45,"16":377082250094706688,"45":8335881461761071104},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,79,24,16,45]} 
[2026-08-11 01:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316428800001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:37:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377082250094706688,"km_value":377082250094706.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8335881461761071104,"description":"Unknown IO ID 45"} 
[2026-08-11 01:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316428800001,"power":27300,"mcc":206,"unknown_79":21504,"ignition":45,"odometer":null,"unknown_45":8335881461761071104}} 
[2026-08-11 01:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":154640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:37:00] local.INFO: GPS data processed {"connection_id":154640,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:37:00] local.INFO: Acknowledgment sent {"connection_id":154640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:37:31] local.INFO: TCP Data received {"connection_id":154640,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed478860012d73f380062a1bc00007004c2e..."} 
[2026-08-11 01:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed478860012d73f380062a1bc00007004c2e..."} 
[2026-08-11 01:37:31] local.INFO: Processing buffer {"connection_id":154640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed478860012d73f380062a1bc00007004c2e..."} 
[2026-08-11 01:37:31] local.INFO: Packet analysis {"connection_id":154640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed47"} 
[2026-08-11 01:37:31] local.INFO: Extracted packet for processing {"connection_id":154640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed47"} 
[2026-08-11 01:37:31] local.INFO: GPS Element Parsed {"raw_longitude":762573696,"raw_latitude":103422912,"longitude_deg":76.2573696,"latitude_deg":10.3422912,"altitude":7,"angle":76,"satellites":46,"speed":42,"hex_longitude":"2d73f380","hex_latitude":"062a1bc0","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316430848001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377082683886403584,"note":"Value kept but may cause issues"} 
[2026-08-11 01:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8345521979714119680,"note":"Value kept but may cause issues"} 
[2026-08-11 01:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786392316000,"timestamp_ms":1786392316000,"timestamp_seconds":1786392316,"priority":1,"record_length":96,"hex_timestamp":"0000019fed478860"} 
[2026-08-11 01:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 01:37:31] 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-08-11 01: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-08-11 01:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:37:31] 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-08-11 01:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316430848001,"66":27267,"202":206,"79":21504,"24":42,"16":377082683886403584,"45":8345521979714119680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,79,24,16,45]} 
[2026-08-11 01:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316430848001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:37:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377082683886403584,"km_value":377082683886403.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8345521979714119680,"description":"Unknown IO ID 45"} 
[2026-08-11 01:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316430848001,"power":27267,"mcc":206,"unknown_79":21504,"ignition":42,"odometer":null,"unknown_45":8345521979714119680}} 
[2026-08-11 01:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":154640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:37:31] local.INFO: GPS data processed {"connection_id":154640,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:37:31] local.INFO: Acknowledgment sent {"connection_id":154640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:37:54] local.INFO: TCP Data received {"connection_id":152305,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:37:54] local.INFO: Processing buffer {"connection_id":152305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:37:54] local.INFO: IMEI packet received {"connection_id":152305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":152305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:37:59] local.INFO: TCP Data received {"connection_id":152305,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:37:59] local.INFO: Processing buffer {"connection_id":152305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:37:59] local.INFO: IMEI packet received {"connection_id":152305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":152305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:38:00] local.INFO: TCP Data received {"connection_id":152305,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed47ab88012d741740062a1fa8000900572d..."} 
[2026-08-11 01:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed47ab88012d741740062a1fa8000900572d..."} 
[2026-08-11 01:38:00] local.INFO: Processing buffer {"connection_id":152305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed47ab88012d741740062a1fa8000900572d..."} 
[2026-08-11 01:38:00] local.INFO: Packet analysis {"connection_id":152305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed47"} 
[2026-08-11 01:38:00] local.INFO: Extracted packet for processing {"connection_id":152305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed47"} 
[2026-08-11 01:38:00] local.INFO: GPS Element Parsed {"raw_longitude":762582848,"raw_latitude":103423912,"longitude_deg":76.2582848,"latitude_deg":10.3423912,"altitude":9,"angle":87,"satellites":45,"speed":35,"hex_longitude":"2d741740","hex_latitude":"062a1fa8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316432896001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377083121973067776,"note":"Value kept but may cause issues"} 
[2026-08-11 01:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8355162497667022848,"note":"Value kept but may cause issues"} 
[2026-08-11 01:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786392325000,"timestamp_ms":1786392325000,"timestamp_seconds":1786392325,"priority":1,"record_length":96,"hex_timestamp":"0000019fed47ab88"} 
[2026-08-11 01:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 01:38:00] 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-08-11 01: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-08-11 01:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:38:00] 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-08-11 01:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316432896001,"66":27234,"202":206,"79":21504,"24":35,"16":377083121973067776,"45":8355162497667022848},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,79,24,16,45]} 
[2026-08-11 01:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316432896001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:38:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377083121973067776,"km_value":377083121973067.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8355162497667022848,"description":"Unknown IO ID 45"} 
[2026-08-11 01:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316432896001,"power":27234,"mcc":206,"unknown_79":21504,"ignition":35,"odometer":null,"unknown_45":8355162497667022848}} 
[2026-08-11 01:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":152305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:38:00] local.INFO: GPS data processed {"connection_id":152305,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:38:00] local.INFO: Acknowledgment sent {"connection_id":152305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:38:31] local.INFO: TCP Data received {"connection_id":152305,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed49c2b0012d75ed80062a38e0000a00812d..."} 
[2026-08-11 01:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed49c2b0012d75ed80062a38e0000a00812d..."} 
[2026-08-11 01:38:31] local.INFO: Processing buffer {"connection_id":152305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed49c2b0012d75ed80062a38e0000a00812d..."} 
[2026-08-11 01:38:31] local.INFO: Packet analysis {"connection_id":152305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed49"} 
[2026-08-11 01:38:31] local.INFO: Extracted packet for processing {"connection_id":152305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed49"} 
[2026-08-11 01:38:31] local.INFO: GPS Element Parsed {"raw_longitude":762703232,"raw_latitude":103430368,"longitude_deg":76.2703232,"latitude_deg":10.3430368,"altitude":10,"angle":129,"satellites":45,"speed":38,"hex_longitude":"2d75ed80","hex_latitude":"062a38e0","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316469248001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377089040438001664,"note":"Value kept but may cause issues"} 
[2026-08-11 01:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8494351873652856832,"note":"Value kept but may cause issues"} 
[2026-08-11 01:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786392462000,"timestamp_ms":1786392462000,"timestamp_seconds":1786392462,"priority":1,"record_length":96,"hex_timestamp":"0000019fed49c2b0"} 
[2026-08-11 01:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 01:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 01: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-08-11 01:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:38:31] 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-08-11 01:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316469248001,"66":27365,"201":206,"79":21504,"24":38,"16":377089040438001664,"45":8494351873652856832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-11 01:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316469248001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:38:31] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 01:38:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377089040438001664,"km_value":377089040438001.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8494351873652856832,"description":"Unknown IO ID 45"} 
[2026-08-11 01:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316469248001,"power":27365,"unknown_201":206,"unknown_79":21504,"ignition":38,"odometer":null,"unknown_45":8494351873652856832}} 
[2026-08-11 01:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":152305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:38:31] local.INFO: GPS data processed {"connection_id":152305,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:38:31] local.INFO: Acknowledgment sent {"connection_id":152305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:38:53] local.INFO: TCP Data received {"connection_id":154641,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:38:53] local.INFO: Processing buffer {"connection_id":154641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:38:53] local.INFO: IMEI packet received {"connection_id":154641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":154641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:38:56] local.INFO: TCP Data received {"connection_id":154641,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:38:56] local.INFO: Processing buffer {"connection_id":154641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:38:56] local.INFO: IMEI packet received {"connection_id":154641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":154641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:38:59] local.INFO: TCP Data received {"connection_id":154641,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:38:59] local.INFO: Processing buffer {"connection_id":154641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:38:59] local.INFO: IMEI packet received {"connection_id":154641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":154641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:38:59] local.INFO: TCP Data received {"connection_id":154641,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed49da20012d75ff80062a27980007008f2b..."} 
[2026-08-11 01:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed49da20012d75ff80062a27980007008f2b..."} 
[2026-08-11 01:38:59] local.INFO: Processing buffer {"connection_id":154641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed49da20012d75ff80062a27980007008f2b..."} 
[2026-08-11 01:38:59] local.INFO: Packet analysis {"connection_id":154641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed49"} 
[2026-08-11 01:38:59] local.INFO: Extracted packet for processing {"connection_id":154641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed49"} 
[2026-08-11 01:38:59] local.INFO: GPS Element Parsed {"raw_longitude":762707840,"raw_latitude":103425944,"longitude_deg":76.270784,"latitude_deg":10.3425944,"altitude":7,"angle":143,"satellites":43,"speed":43,"hex_longitude":"2d75ff80","hex_latitude":"062a2798","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316470272001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377089349675646976,"note":"Value kept but may cause issues"} 
[2026-08-11 01:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8497588835884523520,"note":"Value kept but may cause issues"} 
[2026-08-11 01:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786392468000,"timestamp_ms":1786392468000,"timestamp_seconds":1786392468,"priority":1,"record_length":96,"hex_timestamp":"0000019fed49da20"} 
[2026-08-11 01:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:38:59] 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-08-11 01:38: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-08-11 01:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:38:59] 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-08-11 01:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316470272001,"66":27300,"201":206,"79":21504,"24":43,"16":377089349675646976,"45":8497588835884523520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-11 01:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316470272001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:38:59] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 01:38:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377089349675646976,"km_value":377089349675647.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8497588835884523520,"description":"Unknown IO ID 45"} 
[2026-08-11 01:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316470272001,"power":27300,"unknown_201":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":8497588835884523520}} 
[2026-08-11 01:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":154641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:38:59] local.INFO: GPS data processed {"connection_id":154641,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:38:59] local.INFO: Acknowledgment sent {"connection_id":154641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:39:30] local.INFO: TCP Data received {"connection_id":154641,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed49e9c0012d760780062a19880006009c2b..."} 
[2026-08-11 01:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed49e9c0012d760780062a19880006009c2b..."} 
[2026-08-11 01:39:30] local.INFO: Processing buffer {"connection_id":154641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed49e9c0012d760780062a19880006009c2b..."} 
[2026-08-11 01:39:30] local.INFO: Packet analysis {"connection_id":154641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed49"} 
[2026-08-11 01:39:30] local.INFO: Extracted packet for processing {"connection_id":154641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed49"} 
[2026-08-11 01:39:30] local.INFO: GPS Element Parsed {"raw_longitude":762709888,"raw_latitude":103422344,"longitude_deg":76.2709888,"latitude_deg":10.3422344,"altitude":6,"angle":156,"satellites":43,"speed":40,"hex_longitude":"2d760780","hex_latitude":"062a1988","is_valid_coordinates":true} 
[2026-08-11 01:39: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-08-11 01:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316471808001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377089551539109888,"note":"Value kept but may cause issues"} 
[2026-08-11 01:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8502655385464182784,"note":"Value kept but may cause issues"} 
[2026-08-11 01:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786392472000,"timestamp_ms":1786392472000,"timestamp_seconds":1786392472,"priority":1,"record_length":96,"hex_timestamp":"0000019fed49e9c0"} 
[2026-08-11 01:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:39: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 01:39:30] 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-08-11 01:39: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-08-11 01:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:39:30] 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-08-11 01:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316471808001,"66":27397,"201":206,"79":21504,"24":40,"16":377089551539109888,"45":8502655385464182784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-11 01:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316471808001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:39:30] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 01:39:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377089551539109888,"km_value":377089551539109.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8502655385464182784,"description":"Unknown IO ID 45"} 
[2026-08-11 01:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316471808001,"power":27397,"unknown_201":206,"unknown_79":21504,"ignition":40,"odometer":null,"unknown_45":8502655385464182784}} 
[2026-08-11 01:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":154641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:39:30] local.INFO: GPS data processed {"connection_id":154641,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:39:30] local.INFO: Acknowledgment sent {"connection_id":154641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:39:58] local.INFO: TCP Data received {"connection_id":154642,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:39:58] local.INFO: Processing buffer {"connection_id":154642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:39:58] local.INFO: IMEI packet received {"connection_id":154642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":154642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:40:04] local.INFO: TCP Data received {"connection_id":154642,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:40:04] local.INFO: Processing buffer {"connection_id":154642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:40:04] local.INFO: IMEI packet received {"connection_id":154642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":154642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:40:05] local.INFO: TCP Data received {"connection_id":154642,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4a10d0012d7615000629f780000500a12b..."} 
[2026-08-11 01:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4a10d0012d7615000629f780000500a12b..."} 
[2026-08-11 01:40:05] local.INFO: Processing buffer {"connection_id":154642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4a10d0012d7615000629f780000500a12b..."} 
[2026-08-11 01:40:05] local.INFO: Packet analysis {"connection_id":154642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed4a"} 
[2026-08-11 01:40:05] local.INFO: Extracted packet for processing {"connection_id":154642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed4a"} 
[2026-08-11 01:40:05] local.INFO: GPS Element Parsed {"raw_longitude":762713344,"raw_latitude":103413632,"longitude_deg":76.2713344,"latitude_deg":10.3413632,"altitude":5,"angle":161,"satellites":43,"speed":37,"hex_longitude":"2d761500","hex_latitude":"0629f780","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316472832001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377090002510675968,"note":"Value kept but may cause issues"} 
[2026-08-11 01:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8504907185276946432,"note":"Value kept but may cause issues"} 
[2026-08-11 01:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786392482000,"timestamp_ms":1786392482000,"timestamp_seconds":1786392482,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4a10d0"} 
[2026-08-11 01:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 01:40: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-08-11 01: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-08-11 01:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:40:05] 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-08-11 01:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316472832001,"66":27365,"201":206,"79":21504,"24":37,"16":377090002510675968,"45":8504907185276946432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-11 01:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316472832001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:40:05] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 01:40:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377090002510675968,"km_value":377090002510675.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8504907185276946432,"description":"Unknown IO ID 45"} 
[2026-08-11 01:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316472832001,"power":27365,"unknown_201":206,"unknown_79":21504,"ignition":37,"odometer":null,"unknown_45":8504907185276946432}} 
[2026-08-11 01:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":154642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:40:05] local.INFO: GPS data processed {"connection_id":154642,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:40:05] local.INFO: Acknowledgment sent {"connection_id":154642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:40:06] local.INFO: TCP Data received {"connection_id":154642,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4a1c88012d7619400629edc80005008f2c..."} 
[2026-08-11 01:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4a1c88012d7619400629edc80005008f2c..."} 
[2026-08-11 01:40:06] local.INFO: Processing buffer {"connection_id":154642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4a1c88012d7619400629edc80005008f2c..."} 
[2026-08-11 01:40:06] local.INFO: Packet analysis {"connection_id":154642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed4a"} 
[2026-08-11 01:40:06] local.INFO: Extracted packet for processing {"connection_id":154642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed4a"} 
[2026-08-11 01:40:06] local.INFO: GPS Element Parsed {"raw_longitude":762714432,"raw_latitude":103411144,"longitude_deg":76.2714432,"latitude_deg":10.3411144,"altitude":5,"angle":143,"satellites":44,"speed":34,"hex_longitude":"2d761940","hex_latitude":"0629edc8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316475392001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377090135654662144,"note":"Value kept but may cause issues"} 
[2026-08-11 01:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8508707097460310016,"note":"Value kept but may cause issues"} 
[2026-08-11 01:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786392485000,"timestamp_ms":1786392485000,"timestamp_seconds":1786392485,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4a1c88"} 
[2026-08-11 01:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:40: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-08-11 01: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-08-11 01:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:40: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-08-11 01:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316475392001,"66":27376,"201":206,"79":21504,"24":34,"16":377090135654662144,"45":8508707097460310016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-11 01:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316475392001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:40:06] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 01:40:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377090135654662144,"km_value":377090135654662.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8508707097460310016,"description":"Unknown IO ID 45"} 
[2026-08-11 01:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316475392001,"power":27376,"unknown_201":206,"unknown_79":21504,"ignition":34,"odometer":null,"unknown_45":8508707097460310016}} 
[2026-08-11 01:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":154642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:40:06] local.INFO: GPS data processed {"connection_id":154642,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:40:06] local.INFO: Acknowledgment sent {"connection_id":154642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:40:38] local.INFO: TCP Data received {"connection_id":154642,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4b83e8012d770f000629f9e00010001e2d..."} 
[2026-08-11 01:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4b83e8012d770f000629f9e00010001e2d..."} 
[2026-08-11 01:40:38] local.INFO: Processing buffer {"connection_id":154642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4b83e8012d770f000629f9e00010001e2d..."} 
[2026-08-11 01:40:38] local.INFO: Packet analysis {"connection_id":154642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed4b"} 
[2026-08-11 01:40:38] local.INFO: Extracted packet for processing {"connection_id":154642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed4b"} 
[2026-08-11 01:40:38] local.INFO: GPS Element Parsed {"raw_longitude":762777344,"raw_latitude":103414240,"longitude_deg":76.2777344,"latitude_deg":10.341424,"altitude":16,"angle":30,"satellites":45,"speed":24,"hex_longitude":"2d770f00","hex_latitude":"0629f9e0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 01:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316499456001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377093318225428480,"note":"Value kept but may cause issues"} 
[2026-08-11 01:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8578653629172936704,"note":"Value kept but may cause issues"} 
[2026-08-11 01:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786392577000,"timestamp_ms":1786392577000,"timestamp_seconds":1786392577,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4b83e8"} 
[2026-08-11 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-08-11 01:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 01:40: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-08-11 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-08-11 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-08-11 01:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:40:38] 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-08-11 01:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316499456001,"66":27376,"199":206,"79":21504,"24":24,"16":377093318225428480,"45":8578653629172936704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-08-11 01:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316499456001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:40:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-11 01:40:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377093318225428480,"km_value":377093318225428.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8578653629172936704,"description":"Unknown IO ID 45"} 
[2026-08-11 01:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316499456001,"power":27376,"trip_odometer":0.206,"unknown_79":21504,"ignition":24,"odometer":null,"unknown_45":8578653629172936704}} 
[2026-08-11 01:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":154642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:40:38] local.INFO: GPS data processed {"connection_id":154642,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:40:38] local.INFO: Acknowledgment sent {"connection_id":154642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:40:54] local.INFO: TCP Data received {"connection_id":153239,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:40:54] local.INFO: Processing buffer {"connection_id":153239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:40:54] local.INFO: IMEI packet received {"connection_id":153239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":153239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:40:59] local.INFO: TCP Data received {"connection_id":153239,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:40:59] local.INFO: Processing buffer {"connection_id":153239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:40:59] local.INFO: IMEI packet received {"connection_id":153239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":153239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:41:00] local.INFO: TCP Data received {"connection_id":153239,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4bc268012d771e40062a1948001500232c..."} 
[2026-08-11 01:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4bc268012d771e40062a1948001500232c..."} 
[2026-08-11 01:41:00] local.INFO: Processing buffer {"connection_id":153239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4bc268012d771e40062a1948001500232c..."} 
[2026-08-11 01:41:00] local.INFO: Packet analysis {"connection_id":153239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed4b"} 
[2026-08-11 01:41:00] local.INFO: Extracted packet for processing {"connection_id":153239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed4b"} 
[2026-08-11 01:41:00] local.INFO: GPS Element Parsed {"raw_longitude":762781248,"raw_latitude":103422280,"longitude_deg":76.2781248,"latitude_deg":10.342228,"altitude":21,"angle":35,"satellites":44,"speed":21,"hex_longitude":"2d771e40","hex_latitude":"062a1948","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316499712001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377093752017125376,"note":"Value kept but may cause issues"} 
[2026-08-11 01:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8579075841638129664,"note":"Value kept but may cause issues"} 
[2026-08-11 01:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786392593000,"timestamp_ms":1786392593000,"timestamp_seconds":1786392593,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4bc268"} 
[2026-08-11 01:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 01:41:00] 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-08-11 01: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-08-11 01:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:41:00] 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-08-11 01:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316499712001,"66":27365,"199":206,"79":21504,"24":21,"16":377093752017125376,"45":8579075841638129664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-08-11 01:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316499712001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:41:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-11 01:41:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377093752017125376,"km_value":377093752017125.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8579075841638129664,"description":"Unknown IO ID 45"} 
[2026-08-11 01:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316499712001,"power":27365,"trip_odometer":0.206,"unknown_79":21504,"ignition":21,"odometer":null,"unknown_45":8579075841638129664}} 
[2026-08-11 01:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":153239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:41:00] local.INFO: GPS data processed {"connection_id":153239,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:41:00] local.INFO: Acknowledgment sent {"connection_id":153239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:41:30] local.INFO: TCP Data received {"connection_id":153239,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4bddc0012d772780062a24000018002f2c..."} 
[2026-08-11 01:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4bddc0012d772780062a24000018002f2c..."} 
[2026-08-11 01:41:30] local.INFO: Processing buffer {"connection_id":153239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4bddc0012d772780062a24000018002f2c..."} 
[2026-08-11 01:41:30] local.INFO: Packet analysis {"connection_id":153239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed4b"} 
[2026-08-11 01:41:30] local.INFO: Extracted packet for processing {"connection_id":153239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed4b"} 
[2026-08-11 01:41:30] local.INFO: GPS Element Parsed {"raw_longitude":762783616,"raw_latitude":103425024,"longitude_deg":76.2783616,"latitude_deg":10.3425024,"altitude":24,"angle":47,"satellites":44,"speed":20,"hex_longitude":"2d772780","hex_latitude":"062a2400","is_valid_coordinates":true} 
[2026-08-11 01:41: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-08-11 01:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316503808001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377093928110784512,"note":"Value kept but may cause issues"} 
[2026-08-11 01:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8583368335035025408,"note":"Value kept but may cause issues"} 
[2026-08-11 01:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786392600000,"timestamp_ms":1786392600000,"timestamp_seconds":1786392600,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4bddc0"} 
[2026-08-11 01:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:41: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:41:30] 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-08-11 01:41: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-08-11 01:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:41:30] 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-08-11 01:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316503808001,"66":27234,"199":206,"79":21504,"24":20,"16":377093928110784512,"45":8583368335035025408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-08-11 01:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316503808001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:41:31] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-11 01:41:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377093928110784512,"km_value":377093928110784.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8583368335035025408,"description":"Unknown IO ID 45"} 
[2026-08-11 01:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316503808001,"power":27234,"trip_odometer":0.206,"unknown_79":21504,"ignition":20,"odometer":null,"unknown_45":8583368335035025408}} 
[2026-08-11 01:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":153239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:41:31] local.INFO: GPS data processed {"connection_id":153239,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:41:31] local.INFO: Acknowledgment sent {"connection_id":153239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:41:54] local.INFO: TCP Data received {"connection_id":154643,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:41:54] local.INFO: Processing buffer {"connection_id":154643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:41:54] local.INFO: IMEI packet received {"connection_id":154643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":154643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:42:05] local.INFO: TCP Data received {"connection_id":154643,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:42:05] local.INFO: Processing buffer {"connection_id":154643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:42:05] local.INFO: IMEI packet received {"connection_id":154643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":154643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:42:06] local.INFO: TCP Data received {"connection_id":154643,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4bfd00012d773440062a2d80001a003c2c..."} 
[2026-08-11 01:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4bfd00012d773440062a2d80001a003c2c..."} 
[2026-08-11 01:42:06] local.INFO: Processing buffer {"connection_id":154643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4bfd00012d773440062a2d80001a003c2c..."} 
[2026-08-11 01:42:06] local.INFO: Packet analysis {"connection_id":154643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed4b"} 
[2026-08-11 01:42:06] local.INFO: Extracted packet for processing {"connection_id":154643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed4b"} 
[2026-08-11 01:42:06] local.INFO: GPS Element Parsed {"raw_longitude":762786880,"raw_latitude":103427456,"longitude_deg":76.278688,"latitude_deg":10.3427456,"altitude":26,"angle":60,"satellites":44,"speed":20,"hex_longitude":"2d773440","hex_latitude":"062a2d80","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316505600001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377094125679280128,"note":"Value kept but may cause issues"} 
[2026-08-11 01:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8585971978570301440,"note":"Value kept but may cause issues"} 
[2026-08-11 01:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786392608000,"timestamp_ms":1786392608000,"timestamp_seconds":1786392608,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4bfd00"} 
[2026-08-11 01:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":98,"data_length":795,"current_offset":136} 
[2026-08-11 01:42: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-08-11 01: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-08-11 01:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:42: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-08-11 01:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316505600001,"66":27300,"197":206,"79":21504,"24":20,"16":377094125679280128,"45":8585971978570301440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 01:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316505600001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:42:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 01:42:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377094125679280128,"km_value":377094125679280.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8585971978570301440,"description":"Unknown IO ID 45"} 
[2026-08-11 01:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316505600001,"power":27300,"unknown_197":206,"unknown_79":21504,"ignition":20,"odometer":null,"unknown_45":8585971978570301440}} 
[2026-08-11 01:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":154643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:42:06] local.INFO: GPS data processed {"connection_id":154643,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:42:06] local.INFO: Acknowledgment sent {"connection_id":154643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:42:37] local.INFO: TCP Data received {"connection_id":154643,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4d4cf0012d783840062a0760001300552c..."} 
[2026-08-11 01:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4d4cf0012d783840062a0760001300552c..."} 
[2026-08-11 01:42:37] local.INFO: Processing buffer {"connection_id":154643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4d4cf0012d783840062a0760001300552c..."} 
[2026-08-11 01:42:37] local.INFO: Packet analysis {"connection_id":154643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed4d"} 
[2026-08-11 01:42:37] local.INFO: Extracted packet for processing {"connection_id":154643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed4d"} 
[2026-08-11 01:42:37] local.INFO: GPS Element Parsed {"raw_longitude":762853440,"raw_latitude":103417696,"longitude_deg":76.285344,"latitude_deg":10.3417696,"altitude":19,"angle":85,"satellites":44,"speed":39,"hex_longitude":"2d783840","hex_latitude":"062a0760","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316527104001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377097565948084224,"note":"Value kept but may cause issues"} 
[2026-08-11 01:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8652048229351055360,"note":"Value kept but may cause issues"} 
[2026-08-11 01:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786392694000,"timestamp_ms":1786392694000,"timestamp_seconds":1786392694,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4d4cf0"} 
[2026-08-11 01:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 01:42:37] 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-08-11 01: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-08-11 01:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:42: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-08-11 01:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316527104001,"66":27300,"103":206,"79":21504,"24":39,"16":377097565948084224,"45":8652048229351055360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,79,24,16,45]} 
[2026-08-11 01:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316527104001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:42:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 01:42:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377097565948084224,"km_value":377097565948084.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8652048229351055360,"description":"Unknown IO ID 45"} 
[2026-08-11 01:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316527104001,"power":27300,"unknown_103":206,"unknown_79":21504,"ignition":39,"odometer":null,"unknown_45":8652048229351055360}} 
[2026-08-11 01:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":154643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:42:37] local.INFO: GPS data processed {"connection_id":154643,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:42:37] local.INFO: Acknowledgment sent {"connection_id":154643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:42:53] local.INFO: TCP Data received {"connection_id":152306,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:42:53] local.INFO: Processing buffer {"connection_id":152306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:42:53] local.INFO: IMEI packet received {"connection_id":152306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":152306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:42:59] local.INFO: TCP Data received {"connection_id":152306,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:42:59] local.INFO: Processing buffer {"connection_id":152306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:42:59] local.INFO: IMEI packet received {"connection_id":152306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":152306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:43:00] local.INFO: TCP Data received {"connection_id":152306,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4d7018012d785b80062a09380012005c2c..."} 
[2026-08-11 01:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4d7018012d785b80062a09380012005c2c..."} 
[2026-08-11 01:43:00] local.INFO: Processing buffer {"connection_id":152306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4d7018012d785b80062a09380012005c2c..."} 
[2026-08-11 01:43:00] local.INFO: Packet analysis {"connection_id":152306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed4d"} 
[2026-08-11 01:43:00] local.INFO: Extracted packet for processing {"connection_id":152306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed4d"} 
[2026-08-11 01:43:00] local.INFO: GPS Element Parsed {"raw_longitude":762862464,"raw_latitude":103418168,"longitude_deg":76.2862464,"latitude_deg":10.3418168,"altitude":18,"angle":92,"satellites":44,"speed":40,"hex_longitude":"2d785b80","hex_latitude":"062a0938","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316529664001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377097995444813824,"note":"Value kept but may cause issues"} 
[2026-08-11 01:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8662744278466256896,"note":"Value kept but may cause issues"} 
[2026-08-11 01:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786392703000,"timestamp_ms":1786392703000,"timestamp_seconds":1786392703,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4d7018"} 
[2026-08-11 01:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 01:43:00] 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-08-11 01: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-08-11 01:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:43:00] 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-08-11 01:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316529664001,"66":27158,"103":206,"79":21504,"24":40,"16":377097995444813824,"45":8662744278466256896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,79,24,16,45]} 
[2026-08-11 01:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316529664001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:43:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 01:43:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377097995444813824,"km_value":377097995444813.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8662744278466256896,"description":"Unknown IO ID 45"} 
[2026-08-11 01:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316529664001,"power":27158,"unknown_103":206,"unknown_79":21504,"ignition":40,"odometer":null,"unknown_45":8662744278466256896}} 
[2026-08-11 01:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":152306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:43:00] local.INFO: GPS data processed {"connection_id":152306,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:43:00] local.INFO: Acknowledgment sent {"connection_id":152306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:43:32] local.INFO: TCP Data received {"connection_id":152306,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4d8788012d787380062a0588001300672c..."} 
[2026-08-11 01:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4d8788012d787380062a0588001300672c..."} 
[2026-08-11 01:43:32] local.INFO: Processing buffer {"connection_id":152306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4d8788012d787380062a0588001300672c..."} 
[2026-08-11 01:43:32] local.INFO: Packet analysis {"connection_id":152306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed4d"} 
[2026-08-11 01:43:32] local.INFO: Extracted packet for processing {"connection_id":152306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed4d"} 
[2026-08-11 01:43:32] local.INFO: GPS Element Parsed {"raw_longitude":762868608,"raw_latitude":103417224,"longitude_deg":76.2868608,"latitude_deg":10.3417224,"altitude":19,"angle":103,"satellites":44,"speed":40,"hex_longitude":"2d787380","hex_latitude":"062a0588","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316531968001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377098291797557248,"note":"Value kept but may cause issues"} 
[2026-08-11 01:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672666271395428352,"note":"Value kept but may cause issues"} 
[2026-08-11 01:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786392709000,"timestamp_ms":1786392709000,"timestamp_seconds":1786392709,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4d8788"} 
[2026-08-11 01:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 01:43:32] 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-08-11 01: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-08-11 01:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:43:32] 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-08-11 01:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316531968001,"66":27343,"103":206,"79":21504,"24":40,"16":377098291797557248,"45":8672666271395428352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,79,24,16,45]} 
[2026-08-11 01:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316531968001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:43:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 01:43:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377098291797557248,"km_value":377098291797557.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672666271395428352,"description":"Unknown IO ID 45"} 
[2026-08-11 01:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316531968001,"power":27343,"unknown_103":206,"unknown_79":21504,"ignition":40,"odometer":null,"unknown_45":8672666271395428352}} 
[2026-08-11 01:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":152306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:43:32] local.INFO: GPS data processed {"connection_id":152306,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:43:32] local.INFO: Acknowledgment sent {"connection_id":152306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:43:55] local.INFO: TCP Data received {"connection_id":154644,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:43:55] local.INFO: Processing buffer {"connection_id":154644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:43:55] local.INFO: IMEI packet received {"connection_id":154644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":154644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:43:59] local.INFO: TCP Data received {"connection_id":154644,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:43:59] local.INFO: Processing buffer {"connection_id":154644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:43:59] local.INFO: IMEI packet received {"connection_id":154644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":154644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:44:04] local.INFO: TCP Data received {"connection_id":154644,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:44:04] local.INFO: Processing buffer {"connection_id":154644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:44:04] local.INFO: IMEI packet received {"connection_id":154644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":154644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:44:05] local.INFO: TCP Data received {"connection_id":154644,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4dae98012d7896400629f8b8001500712c..."} 
[2026-08-11 01:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4dae98012d7896400629f8b8001500712c..."} 
[2026-08-11 01:44:05] local.INFO: Processing buffer {"connection_id":154644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4dae98012d7896400629f8b8001500712c..."} 
[2026-08-11 01:44:05] local.INFO: Packet analysis {"connection_id":154644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed4d"} 
[2026-08-11 01:44:05] local.INFO: Extracted packet for processing {"connection_id":154644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed4d"} 
[2026-08-11 01:44:05] local.INFO: GPS Element Parsed {"raw_longitude":762877504,"raw_latitude":103413944,"longitude_deg":76.2877504,"latitude_deg":10.3413944,"altitude":21,"angle":113,"satellites":44,"speed":33,"hex_longitude":"2d789640","hex_latitude":"0629f8b8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316533504001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377098747064090624,"note":"Value kept but may cause issues"} 
[2026-08-11 01:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8679421670836242432,"note":"Value kept but may cause issues"} 
[2026-08-11 01:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786392719000,"timestamp_ms":1786392719000,"timestamp_seconds":1786392719,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4dae98"} 
[2026-08-11 01:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:44: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-08-11 01: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-08-11 01:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:44:05] 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-08-11 01:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316533504001,"66":27300,"103":206,"79":21504,"24":33,"16":377098747064090624,"45":8679421670836242432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,79,24,16,45]} 
[2026-08-11 01:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316533504001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:44:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 01:44:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377098747064090624,"km_value":377098747064090.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8679421670836242432,"description":"Unknown IO ID 45"} 
[2026-08-11 01:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316533504001,"power":27300,"unknown_103":206,"unknown_79":21504,"ignition":33,"odometer":null,"unknown_45":8679421670836242432}} 
[2026-08-11 01:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":154644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:44:06] local.INFO: GPS data processed {"connection_id":154644,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:44:06] local.INFO: Acknowledgment sent {"connection_id":154644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:44:08] local.INFO: TCP Data received {"connection_id":154644,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4dd5a8012d78b2800629ee70001700662c..."} 
[2026-08-11 01:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4dd5a8012d78b2800629ee70001700662c..."} 
[2026-08-11 01:44:08] local.INFO: Processing buffer {"connection_id":154644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4dd5a8012d78b2800629ee70001700662c..."} 
[2026-08-11 01:44:08] local.INFO: Packet analysis {"connection_id":154644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed4d"} 
[2026-08-11 01:44:08] local.INFO: Extracted packet for processing {"connection_id":154644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed4d"} 
[2026-08-11 01:44:08] local.INFO: GPS Element Parsed {"raw_longitude":762884736,"raw_latitude":103411312,"longitude_deg":76.2884736,"latitude_deg":10.3411312,"altitude":23,"angle":102,"satellites":44,"speed":28,"hex_longitude":"2d78b280","hex_latitude":"0629ee70","is_valid_coordinates":true} 
[2026-08-11 01:44: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-08-11 01:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316536064001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377099116431278080,"note":"Value kept but may cause issues"} 
[2026-08-11 01:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8689202926276098048,"note":"Value kept but may cause issues"} 
[2026-08-11 01:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786392729000,"timestamp_ms":1786392729000,"timestamp_seconds":1786392729,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4dd5a8"} 
[2026-08-11 01:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:44: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-08-11 01:44: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-08-11 01:44: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-08-11 01:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:44:08] 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-08-11 01:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316536064001,"66":27343,"207":206,"79":21504,"24":28,"16":377099116431278080,"45":8689202926276098048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-08-11 01:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316536064001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:44:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-11 01:44:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377099116431278080,"km_value":377099116431278.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8689202926276098048,"description":"Unknown IO ID 45"} 
[2026-08-11 01:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316536064001,"power":27343,"unknown_207":206,"unknown_79":21504,"ignition":28,"odometer":null,"unknown_45":8689202926276098048}} 
[2026-08-11 01:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":154644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:44:08] local.INFO: GPS data processed {"connection_id":154644,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:44:08] local.INFO: Acknowledgment sent {"connection_id":154644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:44:53] local.INFO: TCP Data received {"connection_id":154645,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:44:53] local.INFO: Processing buffer {"connection_id":154645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:44:53] local.INFO: IMEI packet received {"connection_id":154645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":154645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:44:53] local.INFO: TCP Data received {"connection_id":154645,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:44:54] local.INFO: Processing buffer {"connection_id":154645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:44:54] local.INFO: IMEI packet received {"connection_id":154645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":154645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:44:59] local.INFO: TCP Data received {"connection_id":154645,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:44:59] local.INFO: Processing buffer {"connection_id":154645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:44:59] local.INFO: IMEI packet received {"connection_id":154645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":154645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:45:00] local.INFO: TCP Data received {"connection_id":154645,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4f3150012d7988c006298d40002000782c..."} 
[2026-08-11 01:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4f3150012d7988c006298d40002000782c..."} 
[2026-08-11 01:45:00] local.INFO: Processing buffer {"connection_id":154645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4f3150012d7988c006298d40002000782c..."} 
[2026-08-11 01:45:00] local.INFO: Packet analysis {"connection_id":154645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed4f"} 
[2026-08-11 01:45:00] local.INFO: Extracted packet for processing {"connection_id":154645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed4f"} 
[2026-08-11 01:45:00] local.INFO: GPS Element Parsed {"raw_longitude":762939584,"raw_latitude":103386432,"longitude_deg":76.2939584,"latitude_deg":10.3386432,"altitude":32,"angle":120,"satellites":44,"speed":26,"hex_longitude":"2d7988c0","hex_latitude":"06298d40","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316559360001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377102286117142528,"note":"Value kept but may cause issues"} 
[2026-08-11 01:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8752886639750742016,"note":"Value kept but may cause issues"} 
[2026-08-11 01:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786392818000,"timestamp_ms":1786392818000,"timestamp_seconds":1786392818,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4f3150"} 
[2026-08-11 01:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:45:00] 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-08-11 01: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-08-11 01:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:45:00] 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-08-11 01:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316559360001,"66":27365,"206":206,"79":21504,"24":26,"16":377102286117142528,"45":8752886639750742016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,79,24,16,45]} 
[2026-08-11 01:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316559360001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:45:00] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-11 01:45:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377102286117142528,"km_value":377102286117142.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8752886639750742016,"description":"Unknown IO ID 45"} 
[2026-08-11 01:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316559360001,"power":27365,"unknown_206":206,"unknown_79":21504,"ignition":26,"odometer":null,"unknown_45":8752886639750742016}} 
[2026-08-11 01:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":154645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:45:00] local.INFO: GPS data processed {"connection_id":154645,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:45:00] local.INFO: Acknowledgment sent {"connection_id":154645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:45:32] local.INFO: TCP Data received {"connection_id":154645,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4f40f0012d799340062989280020006c2c..."} 
[2026-08-11 01:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4f40f0012d799340062989280020006c2c..."} 
[2026-08-11 01:45:32] local.INFO: Processing buffer {"connection_id":154645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4f40f0012d799340062989280020006c2c..."} 
[2026-08-11 01:45:32] local.INFO: Packet analysis {"connection_id":154645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed4f"} 
[2026-08-11 01:45:32] local.INFO: Extracted packet for processing {"connection_id":154645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed4f"} 
[2026-08-11 01:45:32] local.INFO: GPS Element Parsed {"raw_longitude":762942272,"raw_latitude":103385384,"longitude_deg":76.2942272,"latitude_deg":10.3385384,"altitude":32,"angle":108,"satellites":44,"speed":28,"hex_longitude":"2d799340","hex_latitude":"06298928","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316561408001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377102423556096000,"note":"Value kept but may cause issues"} 
[2026-08-11 01:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8757460608121389056,"note":"Value kept but may cause issues"} 
[2026-08-11 01:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786392822000,"timestamp_ms":1786392822000,"timestamp_seconds":1786392822,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4f40f0"} 
[2026-08-11 01:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:45:32] 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-08-11 01: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-08-11 01:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:45:32] 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-08-11 01:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316561408001,"66":27343,"206":206,"79":21504,"24":28,"16":377102423556096000,"45":8757460608121389056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,79,24,16,45]} 
[2026-08-11 01:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316561408001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:45:32] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-11 01:45:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377102423556096000,"km_value":377102423556096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8757460608121389056,"description":"Unknown IO ID 45"} 
[2026-08-11 01:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316561408001,"power":27343,"unknown_206":206,"unknown_79":21504,"ignition":28,"odometer":null,"unknown_45":8757460608121389056}} 
[2026-08-11 01:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":154645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:45:32] local.INFO: GPS data processed {"connection_id":154645,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:45:32] local.INFO: Acknowledgment sent {"connection_id":154645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:45:53] local.INFO: TCP Data received {"connection_id":151921,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:45:53] local.INFO: Processing buffer {"connection_id":151921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:45:53] local.INFO: IMEI packet received {"connection_id":151921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":151921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:45:54] local.INFO: TCP Data received {"connection_id":151921,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:45:54] local.INFO: Processing buffer {"connection_id":151921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:45:54] local.INFO: IMEI packet received {"connection_id":151921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":151921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:45:59] local.INFO: TCP Data received {"connection_id":151921,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:45:59] local.INFO: Processing buffer {"connection_id":151921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:45:59] local.INFO: IMEI packet received {"connection_id":151921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":151921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:46:00] local.INFO: TCP Data received {"connection_id":151921,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed4f6fd0012d79b54006297d58001d006c2d..."} 
[2026-08-11 01:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed4f6fd0012d79b54006297d58001d006c2d..."} 
[2026-08-11 01:46:00] local.INFO: Processing buffer {"connection_id":151921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed4f6fd0012d79b54006297d58001d006c2d..."} 
[2026-08-11 01:46:00] local.INFO: Packet analysis {"connection_id":151921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed4f"} 
[2026-08-11 01:46:00] local.INFO: Extracted packet for processing {"connection_id":151921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed4f"} 
[2026-08-11 01:46:00] local.INFO: GPS Element Parsed {"raw_longitude":762950976,"raw_latitude":103382360,"longitude_deg":76.2950976,"latitude_deg":10.338236,"altitude":29,"angle":108,"satellites":45,"speed":33,"hex_longitude":"2d79b540","hex_latitude":"06297d58","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316562432001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377102861642760192,"note":"Value kept but may cause issues"} 
[2026-08-11 01:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8760416095376582656,"note":"Value kept but may cause issues"} 
[2026-08-11 01:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786392834000,"timestamp_ms":1786392834000,"timestamp_seconds":1786392834,"priority":1,"record_length":96,"hex_timestamp":"0000019fed4f6fd0"} 
[2026-08-11 01:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:46:00] 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-08-11 01: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-08-11 01:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:46:00] 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-08-11 01:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316562432001,"66":27300,"206":206,"79":21504,"24":33,"16":377102861642760192,"45":8760416095376582656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,79,24,16,45]} 
[2026-08-11 01:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316562432001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:46:00] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-11 01:46:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377102861642760192,"km_value":377102861642760.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8760416095376582656,"description":"Unknown IO ID 45"} 
[2026-08-11 01:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316562432001,"power":27300,"unknown_206":206,"unknown_79":21504,"ignition":33,"odometer":null,"unknown_45":8760416095376582656}} 
[2026-08-11 01:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":151921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:46:00] local.INFO: GPS data processed {"connection_id":151921,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:46:00] local.INFO: Acknowledgment sent {"connection_id":151921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:46:32] local.INFO: TCP Data received {"connection_id":151921,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed50f670012d7b00c0062927a0001f006f2d..."} 
[2026-08-11 01:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed50f670012d7b00c0062927a0001f006f2d..."} 
[2026-08-11 01:46:32] local.INFO: Processing buffer {"connection_id":151921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed50f670012d7b00c0062927a0001f006f2d..."} 
[2026-08-11 01:46:32] local.INFO: Packet analysis {"connection_id":151921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed50"} 
[2026-08-11 01:46:32] local.INFO: Extracted packet for processing {"connection_id":151921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed50"} 
[2026-08-11 01:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763035840,"raw_latitude":103360416,"longitude_deg":76.303584,"latitude_deg":10.3360416,"altitude":31,"angle":111,"satellites":45,"speed":32,"hex_longitude":"2d7b00c0","hex_latitude":"062927a0","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316589824001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377107070710710272,"note":"Value kept but may cause issues"} 
[2026-08-11 01:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858791599730837504,"note":"Value kept but may cause issues"} 
[2026-08-11 01:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786392934000,"timestamp_ms":1786392934000,"timestamp_seconds":1786392934,"priority":1,"record_length":96,"hex_timestamp":"0000019fed50f670"} 
[2026-08-11 01:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 01:46:32] 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-08-11 01: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-08-11 01:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:46:32] 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-08-11 01:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316589824001,"66":27397,"243":206,"79":21504,"24":32,"16":377107070710710272,"45":8858791599730837504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-11 01:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316589824001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:46:32] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-11 01:46:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377107070710710272,"km_value":377107070710710.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858791599730837504,"description":"Unknown IO ID 45"} 
[2026-08-11 01:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316589824001,"power":27397,"unknown_243":206,"unknown_79":21504,"ignition":32,"odometer":null,"unknown_45":8858791599730837504}} 
[2026-08-11 01:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":151921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:46:32] local.INFO: GPS data processed {"connection_id":151921,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:46:32] local.INFO: Acknowledgment sent {"connection_id":151921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:46:53] local.INFO: TCP Data received {"connection_id":153240,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:46:53] local.INFO: Processing buffer {"connection_id":153240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:46:53] local.INFO: IMEI packet received {"connection_id":153240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":153240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:46:59] local.INFO: TCP Data received {"connection_id":153240,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:46:59] local.INFO: Processing buffer {"connection_id":153240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:46:59] local.INFO: IMEI packet received {"connection_id":153240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":153240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:47:01] local.INFO: TCP Data received {"connection_id":153240,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed512550012d7b20c0062917080020007a2d..."} 
[2026-08-11 01:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed512550012d7b20c0062917080020007a2d..."} 
[2026-08-11 01:47:01] local.INFO: Processing buffer {"connection_id":153240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed512550012d7b20c0062917080020007a2d..."} 
[2026-08-11 01:47:01] local.INFO: Packet analysis {"connection_id":153240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed51"} 
[2026-08-11 01:47:01] local.INFO: Extracted packet for processing {"connection_id":153240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed51"} 
[2026-08-11 01:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763044032,"raw_latitude":103356168,"longitude_deg":76.3044032,"latitude_deg":10.3356168,"altitude":32,"angle":122,"satellites":45,"speed":28,"hex_longitude":"2d7b20c0","hex_latitude":"06291708","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316591104001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377107513092341760,"note":"Value kept but may cause issues"} 
[2026-08-11 01:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863295199357935616,"note":"Value kept but may cause issues"} 
[2026-08-11 01:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786392946000,"timestamp_ms":1786392946000,"timestamp_seconds":1786392946,"priority":1,"record_length":96,"hex_timestamp":"0000019fed512550"} 
[2026-08-11 01:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 01:47:01] 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-08-11 01: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-08-11 01:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:47:01] 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-08-11 01:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316591104001,"66":27245,"242":206,"79":21504,"24":28,"16":377107513092341760,"45":8863295199357935616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-11 01:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316591104001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:47:01] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-11 01:47:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377107513092341760,"km_value":377107513092341.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863295199357935616,"description":"Unknown IO ID 45"} 
[2026-08-11 01:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316591104001,"power":27245,"unknown_242":206,"unknown_79":21504,"ignition":28,"odometer":null,"unknown_45":8863295199357935616}} 
[2026-08-11 01:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":153240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:47:01] local.INFO: GPS data processed {"connection_id":153240,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:47:01] local.INFO: Acknowledgment sent {"connection_id":153240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:47:32] local.INFO: TCP Data received {"connection_id":153240,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed512550012d7b20c0062917080020007a2d..."} 
[2026-08-11 01:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed512550012d7b20c0062917080020007a2d..."} 
[2026-08-11 01:47:32] local.INFO: Processing buffer {"connection_id":153240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed512550012d7b20c0062917080020007a2d..."} 
[2026-08-11 01:47:32] local.INFO: Packet analysis {"connection_id":153240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed51"} 
[2026-08-11 01:47:32] local.INFO: Extracted packet for processing {"connection_id":153240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed51"} 
[2026-08-11 01:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763044032,"raw_latitude":103356168,"longitude_deg":76.3044032,"latitude_deg":10.3356168,"altitude":32,"angle":122,"satellites":45,"speed":28,"hex_longitude":"2d7b20c0","hex_latitude":"06291708","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316594176001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377107513092341760,"note":"Value kept but may cause issues"} 
[2026-08-11 01:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872302398611589120,"note":"Value kept but may cause issues"} 
[2026-08-11 01:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786392946000,"timestamp_ms":1786392946000,"timestamp_seconds":1786392946,"priority":1,"record_length":96,"hex_timestamp":"0000019fed512550"} 
[2026-08-11 01:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 01:47: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-08-11 01: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-08-11 01:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":153240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":153240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":153240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:47:32] 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-08-11 01:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316594176001,"66":27245,"242":206,"79":21504,"24":28,"16":377107513092341760,"45":8872302398611589120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-11 01:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316594176001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:47:32] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-11 01:47:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377107513092341760,"km_value":377107513092341.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872302398611589120,"description":"Unknown IO ID 45"} 
[2026-08-11 01:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316594176001,"power":27245,"unknown_242":206,"unknown_79":21504,"ignition":28,"odometer":null,"unknown_45":8872302398611589120}} 
[2026-08-11 01:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":153240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:47:33] local.INFO: GPS data processed {"connection_id":153240,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:47:33] local.INFO: Acknowledgment sent {"connection_id":153240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:47:56] local.INFO: TCP Data received {"connection_id":154646,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:47:56] local.INFO: Processing buffer {"connection_id":154646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:47:56] local.INFO: IMEI packet received {"connection_id":154646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":154646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:47:58] local.INFO: TCP Data received {"connection_id":154646,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:47:58] local.INFO: Processing buffer {"connection_id":154646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:47:58] local.INFO: IMEI packet received {"connection_id":154646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":154646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:48:00] local.INFO: TCP Data received {"connection_id":154646,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:48:00] local.INFO: Processing buffer {"connection_id":154646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:48:00] local.INFO: IMEI packet received {"connection_id":154646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":154646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:48:01] local.INFO: TCP Data received {"connection_id":154646,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed515c00012d7b3b00062901e8002300862c..."} 
[2026-08-11 01:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed515c00012d7b3b00062901e8002300862c..."} 
[2026-08-11 01:48:01] local.INFO: Processing buffer {"connection_id":154646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed515c00012d7b3b00062901e8002300862c..."} 
[2026-08-11 01:48:01] local.INFO: Packet analysis {"connection_id":154646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed51"} 
[2026-08-11 01:48:01] local.INFO: Extracted packet for processing {"connection_id":154646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed51"} 
[2026-08-11 01:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763050752,"raw_latitude":103350760,"longitude_deg":76.3050752,"latitude_deg":10.335076,"altitude":35,"angle":134,"satellites":44,"speed":20,"hex_longitude":"2d7b3b00","hex_latitude":"062901e8","is_valid_coordinates":true} 
[2026-08-11 01:48: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-08-11 01:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316594176001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377107929704169472,"note":"Value kept but may cause issues"} 
[2026-08-11 01:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872302398611589120,"note":"Value kept but may cause issues"} 
[2026-08-11 01:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786392960000,"timestamp_ms":1786392960000,"timestamp_seconds":1786392960,"priority":1,"record_length":96,"hex_timestamp":"0000019fed515c00"} 
[2026-08-11 01:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:48: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":109,"data_length":795,"current_offset":136} 
[2026-08-11 01:48:01] 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-08-11 01:48: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-08-11 01:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:48:01] 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-08-11 01:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316594176001,"66":27321,"242":206,"79":21504,"24":20,"16":377107929704169472,"45":8872302398611589120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-11 01:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316594176001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:48:01] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-11 01:48:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377107929704169472,"km_value":377107929704169.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872302398611589120,"description":"Unknown IO ID 45"} 
[2026-08-11 01:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316594176001,"power":27321,"unknown_242":206,"unknown_79":21504,"ignition":20,"odometer":null,"unknown_45":8872302398611589120}} 
[2026-08-11 01:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":154646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:48:01] local.INFO: GPS data processed {"connection_id":154646,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:48:01] local.INFO: Acknowledgment sent {"connection_id":154646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:48:05] local.INFO: TCP Data received {"connection_id":154646,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed519698012d7b53800628e818002300892d..."} 
[2026-08-11 01:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed519698012d7b53800628e818002300892d..."} 
[2026-08-11 01:48:05] local.INFO: Processing buffer {"connection_id":154646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed519698012d7b53800628e818002300892d..."} 
[2026-08-11 01:48:05] local.INFO: Packet analysis {"connection_id":154646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed51"} 
[2026-08-11 01:48:05] local.INFO: Extracted packet for processing {"connection_id":154646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed51"} 
[2026-08-11 01:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763057024,"raw_latitude":103344152,"longitude_deg":76.3057024,"latitude_deg":10.3344152,"altitude":35,"angle":137,"satellites":45,"speed":29,"hex_longitude":"2d7b5380","hex_latitude":"0628e818","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316597760001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377108367790833664,"note":"Value kept but may cause issues"} 
[2026-08-11 01:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879691116748859392,"note":"Value kept but may cause issues"} 
[2026-08-11 01:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786392975000,"timestamp_ms":1786392975000,"timestamp_seconds":1786392975,"priority":1,"record_length":96,"hex_timestamp":"0000019fed519698"} 
[2026-08-11 01:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":185,"data_length":795,"current_offset":136} 
[2026-08-11 01:48: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-08-11 01: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-08-11 01:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:48:05] 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-08-11 01:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316597760001,"66":27267,"242":206,"79":21504,"24":29,"16":377108367790833664,"45":8879691116748859392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-11 01:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316597760001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:48:05] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-11 01:48:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377108367790833664,"km_value":377108367790833.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879691116748859392,"description":"Unknown IO ID 45"} 
[2026-08-11 01:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316597760001,"power":27267,"unknown_242":206,"unknown_79":21504,"ignition":29,"odometer":null,"unknown_45":8879691116748859392}} 
[2026-08-11 01:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":154646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:48:05] local.INFO: GPS data processed {"connection_id":154646,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:48:05] local.INFO: Acknowledgment sent {"connection_id":154646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:48:37] local.INFO: TCP Data received {"connection_id":154646,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed51c190012d7b6e000628cc28002100862c..."} 
[2026-08-11 01:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed51c190012d7b6e000628cc28002100862c..."} 
[2026-08-11 01:48:37] local.INFO: Processing buffer {"connection_id":154646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed51c190012d7b6e000628cc28002100862c..."} 
[2026-08-11 01:48:37] local.INFO: Packet analysis {"connection_id":154646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed51"} 
[2026-08-11 01:48:37] local.INFO: Extracted packet for processing {"connection_id":154646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed51"} 
[2026-08-11 01:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763063808,"raw_latitude":103337000,"longitude_deg":76.3063808,"latitude_deg":10.3337,"altitude":33,"angle":134,"satellites":44,"speed":38,"hex_longitude":"2d7b6e00","hex_latitude":"0628cc28","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316601600001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377108840237236224,"note":"Value kept but may cause issues"} 
[2026-08-11 01:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886587253676578816,"note":"Value kept but may cause issues"} 
[2026-08-11 01:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786392986000,"timestamp_ms":1786392986000,"timestamp_seconds":1786392986,"priority":1,"record_length":96,"hex_timestamp":"0000019fed51c190"} 
[2026-08-11 01:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 01:48: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-08-11 01: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-08-11 01:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:48: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-08-11 01:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316601600001,"66":27180,"242":206,"79":21504,"24":38,"16":377108840237236224,"45":8886587253676578816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-11 01:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316601600001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:48:37] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-11 01:48:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377108840237236224,"km_value":377108840237236.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886587253676578816,"description":"Unknown IO ID 45"} 
[2026-08-11 01:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316601600001,"power":27180,"unknown_242":206,"unknown_79":21504,"ignition":38,"odometer":null,"unknown_45":8886587253676578816}} 
[2026-08-11 01:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":154646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:48:37] local.INFO: GPS data processed {"connection_id":154646,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:48:37] local.INFO: Acknowledgment sent {"connection_id":154646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:48:54] local.INFO: TCP Data received {"connection_id":154647,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:48:54] local.INFO: Processing buffer {"connection_id":154647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:48:54] local.INFO: IMEI packet received {"connection_id":154647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":154647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:48:58] local.INFO: TCP Data received {"connection_id":154647,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:48:58] local.INFO: Processing buffer {"connection_id":154647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:48:58] local.INFO: IMEI packet received {"connection_id":154647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":154647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:48:59] local.INFO: TCP Data received {"connection_id":154647,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed534448012d7c6800062876f0001500592d..."} 
[2026-08-11 01:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed534448012d7c6800062876f0001500592d..."} 
[2026-08-11 01:48:59] local.INFO: Processing buffer {"connection_id":154647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed534448012d7c6800062876f0001500592d..."} 
[2026-08-11 01:48:59] local.INFO: Packet analysis {"connection_id":154647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed53"} 
[2026-08-11 01:48:59] local.INFO: Extracted packet for processing {"connection_id":154647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed53"} 
[2026-08-11 01:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763127808,"raw_latitude":103315184,"longitude_deg":76.3127808,"latitude_deg":10.3315184,"altitude":21,"angle":89,"satellites":45,"speed":45,"hex_longitude":"2d7c6800","hex_latitude":"062876f0","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316627712001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377112486664470528,"note":"Value kept but may cause issues"} 
[2026-08-11 01:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954211616823746560,"note":"Value kept but may cause issues"} 
[2026-08-11 01:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786393085000,"timestamp_ms":1786393085000,"timestamp_seconds":1786393085,"priority":1,"record_length":96,"hex_timestamp":"0000019fed534448"} 
[2026-08-11 01:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 01:48:59] 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-08-11 01: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-08-11 01:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:48:59] 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-08-11 01:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316627712001,"66":27245,"242":206,"79":21504,"24":45,"16":377112486664470528,"45":8954211616823746560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-11 01:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316627712001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:48:59] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-11 01:48:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377112486664470528,"km_value":377112486664470.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954211616823746560,"description":"Unknown IO ID 45"} 
[2026-08-11 01:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316627712001,"power":27245,"unknown_242":206,"unknown_79":21504,"ignition":45,"odometer":null,"unknown_45":8954211616823746560}} 
[2026-08-11 01:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":154647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:48:59] local.INFO: GPS data processed {"connection_id":154647,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:48:59] local.INFO: Acknowledgment sent {"connection_id":154647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:48:59] local.INFO: TCP Data received {"connection_id":154647,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed536388012d7c8c80062877f8001600572d..."} 
[2026-08-11 01:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed536388012d7c8c80062877f8001600572d..."} 
[2026-08-11 01:48:59] local.INFO: Processing buffer {"connection_id":154647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed536388012d7c8c80062877f8001600572d..."} 
[2026-08-11 01:48:59] local.INFO: Packet analysis {"connection_id":154647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed53"} 
[2026-08-11 01:48:59] local.INFO: Extracted packet for processing {"connection_id":154647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed53"} 
[2026-08-11 01:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763137152,"raw_latitude":103315448,"longitude_deg":76.3137152,"latitude_deg":10.3315448,"altitude":22,"angle":87,"satellites":45,"speed":45,"hex_longitude":"2d7c8c80","hex_latitude":"062877f8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316629760001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377112933341069312,"note":"Value kept but may cause issues"} 
[2026-08-11 01:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964415084729659392,"note":"Value kept but may cause issues"} 
[2026-08-11 01:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786393093000,"timestamp_ms":1786393093000,"timestamp_seconds":1786393093,"priority":1,"record_length":96,"hex_timestamp":"0000019fed536388"} 
[2026-08-11 01:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 01:48:59] 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-08-11 01: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-08-11 01:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:48:59] 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-08-11 01:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316629760001,"66":27267,"242":206,"79":21504,"24":45,"16":377112933341069312,"45":8964415084729659392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-11 01:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316629760001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:48:59] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-11 01:48:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377112933341069312,"km_value":377112933341069.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964415084729659392,"description":"Unknown IO ID 45"} 
[2026-08-11 01:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316629760001,"power":27267,"unknown_242":206,"unknown_79":21504,"ignition":45,"odometer":null,"unknown_45":8964415084729659392}} 
[2026-08-11 01:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":154647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:48:59] local.INFO: GPS data processed {"connection_id":154647,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:48:59] local.INFO: Acknowledgment sent {"connection_id":154647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:49:31] local.INFO: TCP Data received {"connection_id":154647,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed537ee0012d7caa4006287818001700622d..."} 
[2026-08-11 01:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed537ee0012d7caa4006287818001700622d..."} 
[2026-08-11 01:49:31] local.INFO: Processing buffer {"connection_id":154647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed537ee0012d7caa4006287818001700622d..."} 
[2026-08-11 01:49:31] local.INFO: Packet analysis {"connection_id":154647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed53"} 
[2026-08-11 01:49:31] local.INFO: Extracted packet for processing {"connection_id":154647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed53"} 
[2026-08-11 01:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763144768,"raw_latitude":103315480,"longitude_deg":76.3144768,"latitude_deg":10.331548,"altitude":23,"angle":98,"satellites":45,"speed":38,"hex_longitude":"2d7caa40","hex_latitude":"06287818","is_valid_coordinates":true} 
[2026-08-11 01:49: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-08-11 01:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316631808001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377113298413289472,"note":"Value kept but may cause issues"} 
[2026-08-11 01:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974688921379665920,"note":"Value kept but may cause issues"} 
[2026-08-11 01:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786393100000,"timestamp_ms":1786393100000,"timestamp_seconds":1786393100,"priority":1,"record_length":96,"hex_timestamp":"0000019fed537ee0"} 
[2026-08-11 01:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:49: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 01:49:31] 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-08-11 01:49: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-08-11 01:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:49:31] 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-08-11 01:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316631808001,"66":27234,"242":206,"79":21504,"24":38,"16":377113298413289472,"45":8974688921379665920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-11 01:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316631808001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:49:31] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-11 01:49:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377113298413289472,"km_value":377113298413289.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974688921379665920,"description":"Unknown IO ID 45"} 
[2026-08-11 01:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316631808001,"power":27234,"unknown_242":206,"unknown_79":21504,"ignition":38,"odometer":null,"unknown_45":8974688921379665920}} 
[2026-08-11 01:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":154647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:49:31] local.INFO: GPS data processed {"connection_id":154647,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:49:31] local.INFO: Acknowledgment sent {"connection_id":154647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:49:54] local.INFO: TCP Data received {"connection_id":151922,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:49:54] local.INFO: Processing buffer {"connection_id":151922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:49:54] local.INFO: IMEI packet received {"connection_id":151922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":151922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:49:55] local.INFO: TCP Data received {"connection_id":151922,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:49:55] local.INFO: Processing buffer {"connection_id":151922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:49:55] local.INFO: IMEI packet received {"connection_id":151922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":151922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:49:59] local.INFO: TCP Data received {"connection_id":151922,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:49:59] local.INFO: Processing buffer {"connection_id":151922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:49:59] local.INFO: IMEI packet received {"connection_id":151922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":151922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:50:00] local.INFO: TCP Data received {"connection_id":151922,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5386b0012d7cb140062875e0001700712d..."} 
[2026-08-11 01:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5386b0012d7cb140062875e0001700712d..."} 
[2026-08-11 01:50:00] local.INFO: Processing buffer {"connection_id":151922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed5386b0012d7cb140062875e0001700712d..."} 
[2026-08-11 01:50:00] local.INFO: Packet analysis {"connection_id":151922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed53"} 
[2026-08-11 01:50:00] local.INFO: Extracted packet for processing {"connection_id":151922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed53"} 
[2026-08-11 01:50:00] local.INFO: GPS Element Parsed {"raw_longitude":763146560,"raw_latitude":103314912,"longitude_deg":76.314656,"latitude_deg":10.3314912,"altitude":23,"angle":113,"satellites":45,"speed":37,"hex_longitude":"2d7cb140","hex_latitude":"062875e0","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316633600001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377113388607602688,"note":"Value kept but may cause issues"} 
[2026-08-11 01:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983062801936816128,"note":"Value kept but may cause issues"} 
[2026-08-11 01:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786393102000,"timestamp_ms":1786393102000,"timestamp_seconds":1786393102,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5386b0"} 
[2026-08-11 01:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 01:50:00] 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-08-11 01: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-08-11 01:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:50:00] 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-08-11 01:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316633600001,"66":27093,"242":206,"79":21504,"24":37,"16":377113388607602688,"45":8983062801936816128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-11 01:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316633600001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:50:00] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-11 01:50:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377113388607602688,"km_value":377113388607602.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983062801936816128,"description":"Unknown IO ID 45"} 
[2026-08-11 01:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316633600001,"power":27093,"unknown_242":206,"unknown_79":21504,"ignition":37,"odometer":null,"unknown_45":8983062801936816128}} 
[2026-08-11 01:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":151922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:50:00] local.INFO: GPS data processed {"connection_id":151922,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:50:00] local.INFO: Acknowledgment sent {"connection_id":151922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:50:31] local.INFO: TCP Data received {"connection_id":151922,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed53b1a8012d7cd30006286498001a00682c..."} 
[2026-08-11 01:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed53b1a8012d7cd30006286498001a00682c..."} 
[2026-08-11 01:50:31] local.INFO: Processing buffer {"connection_id":151922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed53b1a8012d7cd30006286498001a00682c..."} 
[2026-08-11 01:50:31] local.INFO: Packet analysis {"connection_id":151922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed53"} 
[2026-08-11 01:50:31] local.INFO: Extracted packet for processing {"connection_id":151922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed53"} 
[2026-08-11 01:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763155200,"raw_latitude":103310488,"longitude_deg":76.31552,"latitude_deg":10.3310488,"altitude":26,"angle":104,"satellites":44,"speed":31,"hex_longitude":"2d7cd300","hex_latitude":"06286498","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316634112001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377113852464070656,"note":"Value kept but may cause issues"} 
[2026-08-11 01:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985033126773645312,"note":"Value kept but may cause issues"} 
[2026-08-11 01:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786393113000,"timestamp_ms":1786393113000,"timestamp_seconds":1786393113,"priority":1,"record_length":96,"hex_timestamp":"0000019fed53b1a8"} 
[2026-08-11 01:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-08-11 01:50:31] 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-08-11 01: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-08-11 01:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:50:31] 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-08-11 01:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316634112001,"66":27321,"91":206,"79":21504,"24":31,"16":377113852464070656,"45":8985033126773645312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-08-11 01:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316634112001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:50:31] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-11 01:50:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377113852464070656,"km_value":377113852464070.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985033126773645312,"description":"Unknown IO ID 45"} 
[2026-08-11 01:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316634112001,"power":27321,"unknown_91":206,"unknown_79":21504,"ignition":31,"odometer":null,"unknown_45":8985033126773645312}} 
[2026-08-11 01:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":151922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:50:31] local.INFO: GPS data processed {"connection_id":151922,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:50:31] local.INFO: Acknowledgment sent {"connection_id":151922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:50:59] local.INFO: TCP Data received {"connection_id":154648,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:50:59] local.INFO: Processing buffer {"connection_id":154648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:50:59] local.INFO: IMEI packet received {"connection_id":154648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":154648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:51:04] local.INFO: TCP Data received {"connection_id":154648,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:51:04] local.INFO: Processing buffer {"connection_id":154648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:51:04] local.INFO: IMEI packet received {"connection_id":154648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":154648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:51:06] local.INFO: TCP Data received {"connection_id":154648,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed53cd00012d7ce6c0062860e0001d005c2d..."} 
[2026-08-11 01:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed53cd00012d7ce6c0062860e0001d005c2d..."} 
[2026-08-11 01:51:06] local.INFO: Processing buffer {"connection_id":154648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed53cd00012d7ce6c0062860e0001d005c2d..."} 
[2026-08-11 01:51:06] local.INFO: Packet analysis {"connection_id":154648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed53"} 
[2026-08-11 01:51:06] local.INFO: Extracted packet for processing {"connection_id":154648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed53"} 
[2026-08-11 01:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763160256,"raw_latitude":103309536,"longitude_deg":76.3160256,"latitude_deg":10.3309536,"altitude":29,"angle":92,"satellites":45,"speed":26,"hex_longitude":"2d7ce6c0","hex_latitude":"062860e0","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316636928001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377114097277206528,"note":"Value kept but may cause issues"} 
[2026-08-11 01:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994532907236497408,"note":"Value kept but may cause issues"} 
[2026-08-11 01:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786393120000,"timestamp_ms":1786393120000,"timestamp_seconds":1786393120,"priority":1,"record_length":96,"hex_timestamp":"0000019fed53cd00"} 
[2026-08-11 01:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 01:51: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-08-11 01: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-08-11 01:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:51: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-08-11 01:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316636928001,"66":27300,"91":206,"79":21504,"24":26,"16":377114097277206528,"45":8994532907236497408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-08-11 01:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316636928001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:51:06] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-11 01:51:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377114097277206528,"km_value":377114097277206.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994532907236497408,"description":"Unknown IO ID 45"} 
[2026-08-11 01:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316636928001,"power":27300,"unknown_91":206,"unknown_79":21504,"ignition":26,"odometer":null,"unknown_45":8994532907236497408}} 
[2026-08-11 01:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":154648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:51:06] local.INFO: GPS data processed {"connection_id":154648,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:51:06] local.INFO: Acknowledgment sent {"connection_id":154648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:51:37] local.INFO: TCP Data received {"connection_id":154648,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed55ccb8012d7ddf4006283348001900ab2e..."} 
[2026-08-11 01:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed55ccb8012d7ddf4006283348001900ab2e..."} 
[2026-08-11 01:51:37] local.INFO: Processing buffer {"connection_id":154648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed55ccb8012d7ddf4006283348001900ab2e..."} 
[2026-08-11 01:51:37] local.INFO: Packet analysis {"connection_id":154648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed55"} 
[2026-08-11 01:51:37] local.INFO: Extracted packet for processing {"connection_id":154648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed55"} 
[2026-08-11 01:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763223872,"raw_latitude":103297864,"longitude_deg":76.3223872,"latitude_deg":10.3297864,"altitude":25,"angle":171,"satellites":46,"speed":13,"hex_longitude":"2d7ddf40","hex_latitude":"06283348","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316672000001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377117224013398016,"note":"Value kept but may cause issues"} 
[2026-08-11 01:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9069968200991803392,"note":"Value kept but may cause issues"} 
[2026-08-11 01:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786393251000,"timestamp_ms":1786393251000,"timestamp_seconds":1786393251,"priority":1,"record_length":96,"hex_timestamp":"0000019fed55ccb8"} 
[2026-08-11 01:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 01:51: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-08-11 01: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-08-11 01:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:51: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-08-11 01:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316672000001,"66":27267,"53":206,"79":21504,"24":13,"16":377117224013398016,"45":9069968200991803392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,79,24,16,45]} 
[2026-08-11 01:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316672000001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:51:37] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 01:51:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377117224013398016,"km_value":377117224013398.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9069968200991803392,"description":"Unknown IO ID 45"} 
[2026-08-11 01:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316672000001,"power":27267,"unknown_53":206,"unknown_79":21504,"ignition":13,"odometer":null,"unknown_45":9069968200991803392}} 
[2026-08-11 01:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":154648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:51:37] local.INFO: GPS data processed {"connection_id":154648,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:51:37] local.INFO: Acknowledgment sent {"connection_id":154648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:51:52] local.INFO: TCP Data received {"connection_id":151923,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:51:52] local.INFO: Processing buffer {"connection_id":151923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:51:52] local.INFO: IMEI packet received {"connection_id":151923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":151923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:51:54] local.INFO: TCP Data received {"connection_id":151923,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:51:54] local.INFO: Processing buffer {"connection_id":151923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:51:54] local.INFO: IMEI packet received {"connection_id":151923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":151923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:51:59] local.INFO: TCP Data received {"connection_id":151923,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:51:59] local.INFO: Processing buffer {"connection_id":151923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:51:59] local.INFO: IMEI packet received {"connection_id":151923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":151923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:51:59] local.INFO: TCP Data received {"connection_id":151923,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed55d488012d7ddf4006283058001900b82e..."} 
[2026-08-11 01:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed55d488012d7ddf4006283058001900b82e..."} 
[2026-08-11 01:52:00] local.INFO: Processing buffer {"connection_id":151923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed55d488012d7ddf4006283058001900b82e..."} 
[2026-08-11 01:52:00] local.INFO: Packet analysis {"connection_id":151923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed55"} 
[2026-08-11 01:52:00] local.INFO: Extracted packet for processing {"connection_id":151923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed55"} 
[2026-08-11 01:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763223872,"raw_latitude":103297112,"longitude_deg":76.3223872,"latitude_deg":10.3297112,"altitude":25,"angle":184,"satellites":46,"speed":15,"hex_longitude":"2d7ddf40","hex_latitude":"06283058","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316672256001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377117258373136384,"note":"Value kept but may cause issues"} 
[2026-08-11 01:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9070038569735899136,"note":"Value kept but may cause issues"} 
[2026-08-11 01:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786393253000,"timestamp_ms":1786393253000,"timestamp_seconds":1786393253,"priority":1,"record_length":96,"hex_timestamp":"0000019fed55d488"} 
[2026-08-11 01:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 01:52:00] 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-08-11 01: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-08-11 01:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:52:00] 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-08-11 01:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316672256001,"66":27289,"53":206,"79":21504,"24":15,"16":377117258373136384,"45":9070038569735899136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,79,24,16,45]} 
[2026-08-11 01:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316672256001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:52:00] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 01:52:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377117258373136384,"km_value":377117258373136.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9070038569735899136,"description":"Unknown IO ID 45"} 
[2026-08-11 01:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316672256001,"power":27289,"unknown_53":206,"unknown_79":21504,"ignition":15,"odometer":null,"unknown_45":9070038569735899136}} 
[2026-08-11 01:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":151923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:52:00] local.INFO: GPS data processed {"connection_id":151923,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:52:00] local.INFO: Acknowledgment sent {"connection_id":151923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:52:02] local.INFO: TCP Data received {"connection_id":151923,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed55e040012d7ddf8006282c60001800ac2e..."} 
[2026-08-11 01:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed55e040012d7ddf8006282c60001800ac2e..."} 
[2026-08-11 01:52:02] local.INFO: Processing buffer {"connection_id":151923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed55e040012d7ddf8006282c60001800ac2e..."} 
[2026-08-11 01:52:02] local.INFO: Packet analysis {"connection_id":151923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed55"} 
[2026-08-11 01:52:02] local.INFO: Extracted packet for processing {"connection_id":151923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed55"} 
[2026-08-11 01:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763223936,"raw_latitude":103296096,"longitude_deg":76.3223936,"latitude_deg":10.3296096,"altitude":24,"angle":172,"satellites":46,"speed":10,"hex_longitude":"2d7ddf80","hex_latitude":"06282c60","is_valid_coordinates":true} 
[2026-08-11 01:52: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-08-11 01:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316672768001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377117309912743936,"note":"Value kept but may cause issues"} 
[2026-08-11 01:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9070038569735706624,"note":"Value kept but may cause issues"} 
[2026-08-11 01:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786393256000,"timestamp_ms":1786393256000,"timestamp_seconds":1786393256,"priority":1,"record_length":96,"hex_timestamp":"0000019fed55e040"} 
[2026-08-11 01:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:52: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":153,"data_length":795,"current_offset":136} 
[2026-08-11 01:52:02] 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-08-11 01:52: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-08-11 01:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":151923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":151923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":151923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:52:02] 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-08-11 01:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316672768001,"66":27343,"53":206,"79":21504,"24":10,"16":377117309912743936,"45":9070038569735706624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,79,24,16,45]} 
[2026-08-11 01:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316672768001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:52:02] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 01:52:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377117309912743936,"km_value":377117309912743.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9070038569735706624,"description":"Unknown IO ID 45"} 
[2026-08-11 01:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316672768001,"power":27343,"unknown_53":206,"unknown_79":21504,"ignition":10,"odometer":null,"unknown_45":9070038569735706624}} 
[2026-08-11 01:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":151923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:52:02] local.INFO: GPS data processed {"connection_id":151923,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:52:02] local.INFO: Acknowledgment sent {"connection_id":151923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:52:33] local.INFO: TCP Data received {"connection_id":151923,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed562690012d7de34006280830001300ad28..."} 
[2026-08-11 01:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed562690012d7de34006280830001300ad28..."} 
[2026-08-11 01:52:33] local.INFO: Processing buffer {"connection_id":151923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed562690012d7de34006280830001300ad28..."} 
[2026-08-11 01:52:33] local.INFO: Packet analysis {"connection_id":151923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed56"} 
[2026-08-11 01:52:33] local.INFO: Extracted packet for processing {"connection_id":151923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed56"} 
[2026-08-11 01:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763224896,"raw_latitude":103286832,"longitude_deg":76.3224896,"latitude_deg":10.3286832,"altitude":19,"angle":173,"satellites":40,"speed":32,"hex_longitude":"2d7de340","hex_latitude":"06280830","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316673536001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377117760884310016,"note":"Value kept but may cause issues"} 
[2026-08-11 01:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9070108938479624192,"note":"Value kept but may cause issues"} 
[2026-08-11 01:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786393274000,"timestamp_ms":1786393274000,"timestamp_seconds":1786393274,"priority":1,"record_length":96,"hex_timestamp":"0000019fed562690"} 
[2026-08-11 01:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:52: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-08-11 01: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-08-11 01:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:52:33] 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-08-11 01:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316673536001,"66":27169,"53":206,"79":21504,"24":32,"16":377117760884310016,"45":9070108938479624192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,79,24,16,45]} 
[2026-08-11 01:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316673536001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:52:33] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 01:52:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377117760884310016,"km_value":377117760884310.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9070108938479624192,"description":"Unknown IO ID 45"} 
[2026-08-11 01:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316673536001,"power":27169,"unknown_53":206,"unknown_79":21504,"ignition":32,"odometer":null,"unknown_45":9070108938479624192}} 
[2026-08-11 01:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":151923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:52:33] local.INFO: GPS data processed {"connection_id":151923,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:52:33] local.INFO: Acknowledgment sent {"connection_id":151923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:52:53] local.INFO: TCP Data received {"connection_id":152307,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:52:53] local.INFO: Processing buffer {"connection_id":152307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:52:53] local.INFO: IMEI packet received {"connection_id":152307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":152307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:52:59] local.INFO: TCP Data received {"connection_id":152307,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:52:59] local.INFO: Processing buffer {"connection_id":152307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:52:59] local.INFO: IMEI packet received {"connection_id":152307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":152307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:53:00] local.INFO: TCP Data received {"connection_id":152307,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed564da0012d7de9c00627e488001100a727..."} 
[2026-08-11 01:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed564da0012d7de9c00627e488001100a727..."} 
[2026-08-11 01:53:00] local.INFO: Processing buffer {"connection_id":152307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed564da0012d7de9c00627e488001100a727..."} 
[2026-08-11 01:53:00] local.INFO: Packet analysis {"connection_id":152307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed56"} 
[2026-08-11 01:53:00] local.INFO: Extracted packet for processing {"connection_id":152307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed56"} 
[2026-08-11 01:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763226560,"raw_latitude":103277704,"longitude_deg":76.322656,"latitude_deg":10.3277704,"altitude":17,"angle":167,"satellites":39,"speed":35,"hex_longitude":"2d7de9c0","hex_latitude":"0627e488","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316678144001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377118211855876096,"note":"Value kept but may cause issues"} 
[2026-08-11 01:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071164469639917568,"note":"Value kept but may cause issues"} 
[2026-08-11 01:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786393284000,"timestamp_ms":1786393284000,"timestamp_seconds":1786393284,"priority":1,"record_length":96,"hex_timestamp":"0000019fed564da0"} 
[2026-08-11 01:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-11 01:53:00] 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-08-11 01: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-08-11 01:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:53:00] 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-08-11 01:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316678144001,"66":27267,"53":206,"79":21504,"24":35,"16":377118211855876096,"45":9071164469639917568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,79,24,16,45]} 
[2026-08-11 01:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316678144001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:53:00] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 01:53:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377118211855876096,"km_value":377118211855876.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071164469639917568,"description":"Unknown IO ID 45"} 
[2026-08-11 01:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316678144001,"power":27267,"unknown_53":206,"unknown_79":21504,"ignition":35,"odometer":null,"unknown_45":9071164469639917568}} 
[2026-08-11 01:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":152307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:53:00] local.INFO: GPS data processed {"connection_id":152307,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:53:00] local.INFO: Acknowledgment sent {"connection_id":152307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:53:31] local.INFO: TCP Data received {"connection_id":152307,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5674b0012d7df3400627c1c8000e00a227..."} 
[2026-08-11 01:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5674b0012d7df3400627c1c8000e00a227..."} 
[2026-08-11 01:53:31] local.INFO: Processing buffer {"connection_id":152307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed5674b0012d7df3400627c1c8000e00a227..."} 
[2026-08-11 01:53:31] local.INFO: Packet analysis {"connection_id":152307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed56"} 
[2026-08-11 01:53:31] local.INFO: Extracted packet for processing {"connection_id":152307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed56"} 
[2026-08-11 01:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763228992,"raw_latitude":103268808,"longitude_deg":76.3228992,"latitude_deg":10.3268808,"altitude":14,"angle":162,"satellites":39,"speed":36,"hex_longitude":"2d7df340","hex_latitude":"0627c1c8","is_valid_coordinates":true} 
[2026-08-11 01:53: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-08-11 01:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316680704001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377118658532474880,"note":"Value kept but may cause issues"} 
[2026-08-11 01:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9072994056986200064,"note":"Value kept but may cause issues"} 
[2026-08-11 01:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786393294000,"timestamp_ms":1786393294000,"timestamp_seconds":1786393294,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5674b0"} 
[2026-08-11 01:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:53: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 01:53:31] 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-08-11 01:53: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-08-11 01:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:53:31] 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-08-11 01:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316680704001,"66":27332,"53":206,"79":21504,"24":36,"16":377118658532474880,"45":9072994056986200064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,79,24,16,45]} 
[2026-08-11 01:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316680704001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:53:31] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 01:53:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377118658532474880,"km_value":377118658532474.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9072994056986200064,"description":"Unknown IO ID 45"} 
[2026-08-11 01:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316680704001,"power":27332,"unknown_53":206,"unknown_79":21504,"ignition":36,"odometer":null,"unknown_45":9072994056986200064}} 
[2026-08-11 01:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":152307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:53:31] local.INFO: GPS data processed {"connection_id":152307,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:53:31] local.INFO: Acknowledgment sent {"connection_id":152307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:53:53] local.INFO: TCP Data received {"connection_id":154649,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:53:53] local.INFO: Processing buffer {"connection_id":154649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:53:53] local.INFO: IMEI packet received {"connection_id":154649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":154649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:53:53] local.INFO: TCP Data received {"connection_id":154649,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:53:53] local.INFO: Processing buffer {"connection_id":154649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:53:53] local.INFO: IMEI packet received {"connection_id":154649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":154649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:53:59] local.INFO: TCP Data received {"connection_id":154649,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:53:59] local.INFO: Processing buffer {"connection_id":154649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:53:59] local.INFO: IMEI packet received {"connection_id":154649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":154649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:54:00] local.INFO: TCP Data received {"connection_id":154649,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed569bc0012d7dffc00627a0e80010009c2d..."} 
[2026-08-11 01:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed569bc0012d7dffc00627a0e80010009c2d..."} 
[2026-08-11 01:54:00] local.INFO: Processing buffer {"connection_id":154649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed569bc0012d7dffc00627a0e80010009c2d..."} 
[2026-08-11 01:54:00] local.INFO: Packet analysis {"connection_id":154649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed56"} 
[2026-08-11 01:54:00] local.INFO: Extracted packet for processing {"connection_id":154649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed56"} 
[2026-08-11 01:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763232192,"raw_latitude":103260392,"longitude_deg":76.3232192,"latitude_deg":10.3260392,"altitude":16,"angle":156,"satellites":45,"speed":32,"hex_longitude":"2d7dffc0","hex_latitude":"0627a0e8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316683264001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377119096619139072,"note":"Value kept but may cause issues"} 
[2026-08-11 01:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9075668069262673920,"note":"Value kept but may cause issues"} 
[2026-08-11 01:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786393304000,"timestamp_ms":1786393304000,"timestamp_seconds":1786393304,"priority":1,"record_length":96,"hex_timestamp":"0000019fed569bc0"} 
[2026-08-11 01:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 01:54: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-08-11 01: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-08-11 01:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:54:00] 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-08-11 01:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316683264001,"66":27267,"53":206,"79":21504,"24":32,"16":377119096619139072,"45":9075668069262673920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,79,24,16,45]} 
[2026-08-11 01:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316683264001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:54:00] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 01:54:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377119096619139072,"km_value":377119096619139.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9075668069262673920,"description":"Unknown IO ID 45"} 
[2026-08-11 01:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316683264001,"power":27267,"unknown_53":206,"unknown_79":21504,"ignition":32,"odometer":null,"unknown_45":9075668069262673920}} 
[2026-08-11 01:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":154649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:54:00] local.INFO: GPS data processed {"connection_id":154649,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:54:00] local.INFO: Acknowledgment sent {"connection_id":154649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:54:33] local.INFO: TCP Data received {"connection_id":154649,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed585cf8012d7ecb8006261ef8000a00962e..."} 
[2026-08-11 01:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed585cf8012d7ecb8006261ef8000a00962e..."} 
[2026-08-11 01:54:33] local.INFO: Processing buffer {"connection_id":154649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed585cf8012d7ecb8006261ef8000a00962e..."} 
[2026-08-11 01:54:33] local.INFO: Packet analysis {"connection_id":154649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed58"} 
[2026-08-11 01:54:33] local.INFO: Extracted packet for processing {"connection_id":154649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed58"} 
[2026-08-11 01:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763284352,"raw_latitude":103161592,"longitude_deg":76.3284352,"latitude_deg":10.3161592,"altitude":10,"angle":150,"satellites":46,"speed":47,"hex_longitude":"2d7ecb80","hex_latitude":"06261ef8","is_valid_coordinates":true} 
[2026-08-11 01:54: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-08-11 01:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316713216001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377124499687997440,"note":"Value kept but may cause issues"} 
[2026-08-11 01:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131540852114452480,"note":"Value kept but may cause issues"} 
[2026-08-11 01:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786393419000,"timestamp_ms":1786393419000,"timestamp_seconds":1786393419,"priority":1,"record_length":96,"hex_timestamp":"0000019fed585cf8"} 
[2026-08-11 01:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:54: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-08-11 01:54: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-08-11 01:54: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-08-11 01:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":154649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":154649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":154649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:54:33] 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-08-11 01:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316713216001,"66":27343,"52":206,"79":21504,"24":47,"16":377124499687997440,"45":9131540852114452480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-08-11 01:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316713216001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:54:33] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-11 01:54:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377124499687997440,"km_value":377124499687997.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131540852114452480,"description":"Unknown IO ID 45"} 
[2026-08-11 01:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316713216001,"power":27343,"unknown_52":206,"unknown_79":21504,"ignition":47,"odometer":null,"unknown_45":9131540852114452480}} 
[2026-08-11 01:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":154649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:54:33] local.INFO: GPS data processed {"connection_id":154649,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:54:33] local.INFO: Acknowledgment sent {"connection_id":154649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:54:59] local.INFO: TCP Data received {"connection_id":152308,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:54:59] local.INFO: Processing buffer {"connection_id":152308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:54:59] local.INFO: IMEI packet received {"connection_id":152308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":152308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:55:07] local.INFO: TCP Data received {"connection_id":152308,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:55:07] local.INFO: Processing buffer {"connection_id":152308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:55:07] local.INFO: IMEI packet received {"connection_id":152308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":152308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:55:19] local.INFO: TCP Data received {"connection_id":152308,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed587c38012d7edd800625fe58000a00972e..."} 
[2026-08-11 01:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed587c38012d7edd800625fe58000a00972e..."} 
[2026-08-11 01:55:19] local.INFO: Processing buffer {"connection_id":152308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed587c38012d7edd800625fe58000a00972e..."} 
[2026-08-11 01:55:19] local.INFO: Packet analysis {"connection_id":152308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed58"} 
[2026-08-11 01:55:19] local.INFO: Extracted packet for processing {"connection_id":152308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed58"} 
[2026-08-11 01:55:19] local.INFO: GPS Element Parsed {"raw_longitude":763288960,"raw_latitude":103153240,"longitude_deg":76.328896,"latitude_deg":10.315324,"altitude":10,"angle":151,"satellites":46,"speed":46,"hex_longitude":"2d7edd80","hex_latitude":"0625fe58","is_valid_coordinates":true} 
[2026-08-11 01:55: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-08-11 01:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316715264001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377124959249498112,"note":"Value kept but may cause issues"} 
[2026-08-11 01:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136537032948905984,"note":"Value kept but may cause issues"} 
[2026-08-11 01:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786393427000,"timestamp_ms":1786393427000,"timestamp_seconds":1786393427,"priority":1,"record_length":96,"hex_timestamp":"0000019fed587c38"} 
[2026-08-11 01:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:55: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":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:55:19] 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-08-11 01:55: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-08-11 01:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:55:19] 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-08-11 01:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316715264001,"66":27267,"52":206,"79":21504,"24":46,"16":377124959249498112,"45":9136537032948905984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-08-11 01:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316715264001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:55:19] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-11 01:55:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377124959249498112,"km_value":377124959249498.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136537032948905984,"description":"Unknown IO ID 45"} 
[2026-08-11 01:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316715264001,"power":27267,"unknown_52":206,"unknown_79":21504,"ignition":46,"odometer":null,"unknown_45":9136537032948905984}} 
[2026-08-11 01:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":152308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:55:20] local.INFO: GPS data processed {"connection_id":152308,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:55:20] local.INFO: Acknowledgment sent {"connection_id":152308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:55:59] local.INFO: TCP Data received {"connection_id":152309,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:55:59] local.INFO: Processing buffer {"connection_id":152309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:55:59] local.INFO: IMEI packet received {"connection_id":152309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":152309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:56:01] local.INFO: TCP Data received {"connection_id":152309,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:56:01] local.INFO: Processing buffer {"connection_id":152309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:56:01] local.INFO: IMEI packet received {"connection_id":152309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":152309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:56:02] local.INFO: TCP Data received {"connection_id":152309,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed589b78012d7eee400625df68000a00972e..."} 
[2026-08-11 01:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed589b78012d7eee400625df68000a00972e..."} 
[2026-08-11 01:56:02] local.INFO: Processing buffer {"connection_id":152309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed589b78012d7eee400625df68000a00972e..."} 
[2026-08-11 01:56:02] local.INFO: Packet analysis {"connection_id":152309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed58"} 
[2026-08-11 01:56:02] local.INFO: Extracted packet for processing {"connection_id":152309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed58"} 
[2026-08-11 01:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763293248,"raw_latitude":103145320,"longitude_deg":76.3293248,"latitude_deg":10.314532,"altitude":10,"angle":151,"satellites":46,"speed":44,"hex_longitude":"2d7eee40","hex_latitude":"0625df68","is_valid_coordinates":true} 
[2026-08-11 01:56: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-08-11 01:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316717312001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377125393041195008,"note":"Value kept but may cause issues"} 
[2026-08-11 01:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141603582527559680,"note":"Value kept but may cause issues"} 
[2026-08-11 01:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786393435000,"timestamp_ms":1786393435000,"timestamp_seconds":1786393435,"priority":1,"record_length":96,"hex_timestamp":"0000019fed589b78"} 
[2026-08-11 01:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:56: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":131,"data_length":795,"current_offset":136} 
[2026-08-11 01:56:02] 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-08-11 01:56: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-08-11 01:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":152309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":152309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":152309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:56:02] 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-08-11 01:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316717312001,"66":27343,"52":206,"79":21504,"24":44,"16":377125393041195008,"45":9141603582527559680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-08-11 01:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316717312001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:56:02] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-11 01:56:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377125393041195008,"km_value":377125393041195.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141603582527559680,"description":"Unknown IO ID 45"} 
[2026-08-11 01:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316717312001,"power":27343,"unknown_52":206,"unknown_79":21504,"ignition":44,"odometer":null,"unknown_45":9141603582527559680}} 
[2026-08-11 01:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":152309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:56:02] local.INFO: GPS data processed {"connection_id":152309,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:56:02] local.INFO: Acknowledgment sent {"connection_id":152309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:56:04] local.INFO: TCP Data received {"connection_id":152309,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed58bab8012d7eff400625c070000b00972e..."} 
[2026-08-11 01:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed58bab8012d7eff400625c070000b00972e..."} 
[2026-08-11 01:56:04] local.INFO: Processing buffer {"connection_id":152309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed58bab8012d7eff400625c070000b00972e..."} 
[2026-08-11 01:56:04] local.INFO: Packet analysis {"connection_id":152309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed58"} 
[2026-08-11 01:56:04] local.INFO: Extracted packet for processing {"connection_id":152309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed58"} 
[2026-08-11 01:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763297600,"raw_latitude":103137392,"longitude_deg":76.32976,"latitude_deg":10.3137392,"altitude":11,"angle":151,"satellites":46,"speed":45,"hex_longitude":"2d7eff40","hex_latitude":"0625c070","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316719360001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377125831127859200,"note":"Value kept but may cause issues"} 
[2026-08-11 01:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9146318288385435648,"note":"Value kept but may cause issues"} 
[2026-08-11 01:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786393443000,"timestamp_ms":1786393443000,"timestamp_seconds":1786393443,"priority":1,"record_length":96,"hex_timestamp":"0000019fed58bab8"} 
[2026-08-11 01:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 01:56: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-08-11 01: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-08-11 01:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:56: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-08-11 01:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316719360001,"66":27267,"102":206,"79":21504,"24":45,"16":377125831127859200,"45":9146318288385435648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,79,24,16,45]} 
[2026-08-11 01:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316719360001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:56:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 01:56:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377125831127859200,"km_value":377125831127859.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9146318288385435648,"description":"Unknown IO ID 45"} 
[2026-08-11 01:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316719360001,"power":27267,"unknown_102":206,"unknown_79":21504,"ignition":45,"odometer":null,"unknown_45":9146318288385435648}} 
[2026-08-11 01:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":152309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:56:04] local.INFO: GPS data processed {"connection_id":152309,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:56:04] local.INFO: Acknowledgment sent {"connection_id":152309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:56:39] local.INFO: TCP Data received {"connection_id":152309,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed58d9f8012d7f10800625a128000b00972e..."} 
[2026-08-11 01:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed58d9f8012d7f10800625a128000b00972e..."} 
[2026-08-11 01:56:39] local.INFO: Processing buffer {"connection_id":152309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed58d9f8012d7f10800625a128000b00972e..."} 
[2026-08-11 01:56:39] local.INFO: Packet analysis {"connection_id":152309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed58"} 
[2026-08-11 01:56:39] local.INFO: Extracted packet for processing {"connection_id":152309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed58"} 
[2026-08-11 01:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763302016,"raw_latitude":103129384,"longitude_deg":76.3302016,"latitude_deg":10.3129384,"altitude":11,"angle":151,"satellites":46,"speed":45,"hex_longitude":"2d7f1080","hex_latitude":"0625a128","is_valid_coordinates":true} 
[2026-08-11 01:56: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-08-11 01:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316721408001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377126273509490688,"note":"Value kept but may cause issues"} 
[2026-08-11 01:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151103362987487232,"note":"Value kept but may cause issues"} 
[2026-08-11 01:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786393451000,"timestamp_ms":1786393451000,"timestamp_seconds":1786393451,"priority":1,"record_length":96,"hex_timestamp":"0000019fed58d9f8"} 
[2026-08-11 01:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 01:56: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-08-11 01: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-08-11 01:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:56:39] 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-08-11 01:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316721408001,"66":27463,"102":206,"79":21504,"24":45,"16":377126273509490688,"45":9151103362987487232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,79,24,16,45]} 
[2026-08-11 01:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316721408001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:56:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 01:56:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377126273509490688,"km_value":377126273509490.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151103362987487232,"description":"Unknown IO ID 45"} 
[2026-08-11 01:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316721408001,"power":27463,"unknown_102":206,"unknown_79":21504,"ignition":45,"odometer":null,"unknown_45":9151103362987487232}} 
[2026-08-11 01:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":152309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:56:40] local.INFO: GPS data processed {"connection_id":152309,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:56:40] local.INFO: Acknowledgment sent {"connection_id":152309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:56:54] local.INFO: TCP Data received {"connection_id":153241,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:56:54] local.INFO: Processing buffer {"connection_id":153241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:56:54] local.INFO: IMEI packet received {"connection_id":153241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":153241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:56:55] local.INFO: TCP Data received {"connection_id":153241,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 01:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153241,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 01:56:55] local.INFO: Processing buffer {"connection_id":153241,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 01:56:55] local.INFO: IMEI packet received {"connection_id":153241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":153241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:56:58] local.INFO: TCP Data received {"connection_id":153241,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:56:58] local.INFO: Processing buffer {"connection_id":153241,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 01:56:58] local.INFO: IMEI packet received {"connection_id":153241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":153241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:57:03] local.INFO: TCP Data received {"connection_id":153241,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5a54e0012d7fe80006244b30000f00982e..."} 
[2026-08-11 01:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5a54e0012d7fe80006244b30000f00982e..."} 
[2026-08-11 01:57:03] local.INFO: Processing buffer {"connection_id":153241,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fed..."} 
[2026-08-11 01:57:03] local.INFO: IMEI packet received {"connection_id":153241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":153241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:57:04] local.INFO: TCP Data received {"connection_id":153241,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5a7808012d7ff980062428e8001200982f..."} 
[2026-08-11 01:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5a7808012d7ff980062428e8001200982f..."} 
[2026-08-11 01:57:04] local.INFO: Processing buffer {"connection_id":153241,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fed5a54e0012d7fe80006244b30000f00982e..."} 
[2026-08-11 01:57:04] local.INFO: Packet analysis {"connection_id":153241,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fed5a"} 
[2026-08-11 01:57:04] local.INFO: Extracted packet for processing {"connection_id":153241,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed5a"} 
[2026-08-11 01:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763357184,"raw_latitude":103041840,"longitude_deg":76.3357184,"latitude_deg":10.304184,"altitude":15,"angle":152,"satellites":46,"speed":46,"hex_longitude":"2d7fe800","hex_latitude":"06244b30","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316746240001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377131272851423232,"note":"Value kept but may cause issues"} 
[2026-08-11 01:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211901957934643200,"note":"Value kept but may cause issues"} 
[2026-08-11 01:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786393548000,"timestamp_ms":1786393548000,"timestamp_seconds":1786393548,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5a54e0"} 
[2026-08-11 01:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":164,"data_length":795,"current_offset":136} 
[2026-08-11 01:57: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-08-11 01: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-08-11 01:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:57: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-08-11 01:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316746240001,"66":27332,"112":206,"79":21504,"24":46,"16":377131272851423232,"45":9211901957934643200},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,79,24,16,45]} 
[2026-08-11 01:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316746240001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:57:04] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-11 01:57:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377131272851423232,"km_value":377131272851423.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211901957934643200,"description":"Unknown IO ID 45"} 
[2026-08-11 01:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316746240001,"power":27332,"unknown_112":206,"unknown_79":21504,"ignition":46,"odometer":null,"unknown_45":9211901957934643200}} 
[2026-08-11 01:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":153241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:57:04] local.INFO: GPS data processed {"connection_id":153241,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:57:04] local.INFO: Acknowledgment sent {"connection_id":153241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:57:04] local.INFO: Packet analysis {"connection_id":153241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed5a"} 
[2026-08-11 01:57:04] local.INFO: Extracted packet for processing {"connection_id":153241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed5a"} 
[2026-08-11 01:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763361664,"raw_latitude":103033064,"longitude_deg":76.3361664,"latitude_deg":10.3033064,"altitude":18,"angle":152,"satellites":47,"speed":40,"hex_longitude":"2d7ff980","hex_latitude":"062428e8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316748288001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377131749592793088,"note":"Value kept but may cause issues"} 
[2026-08-11 01:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9216616663792431104,"note":"Value kept but may cause issues"} 
[2026-08-11 01:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786393557000,"timestamp_ms":1786393557000,"timestamp_seconds":1786393557,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5a7808"} 
[2026-08-11 01:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":196,"data_length":795,"current_offset":136} 
[2026-08-11 01:57: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-08-11 01: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-08-11 01:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:57: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-08-11 01:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316748288001,"66":27365,"112":206,"79":21504,"24":40,"16":377131749592793088,"45":9216616663792431104},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,79,24,16,45]} 
[2026-08-11 01:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316748288001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:57:04] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-11 01:57:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377131749592793088,"km_value":377131749592793.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9216616663792431104,"description":"Unknown IO ID 45"} 
[2026-08-11 01:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316748288001,"power":27365,"unknown_112":206,"unknown_79":21504,"ignition":40,"odometer":null,"unknown_45":9216616663792431104}} 
[2026-08-11 01:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":153241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:57:04] local.INFO: GPS data processed {"connection_id":153241,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:57:04] local.INFO: Acknowledgment sent {"connection_id":153241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:57:35] local.INFO: TCP Data received {"connection_id":153241,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5a9f18012d800ac0062407c80015009930..."} 
[2026-08-11 01:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5a9f18012d800ac0062407c80015009930..."} 
[2026-08-11 01:57:35] local.INFO: Processing buffer {"connection_id":153241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed5a9f18012d800ac0062407c80015009930..."} 
[2026-08-11 01:57:35] local.INFO: Packet analysis {"connection_id":153241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed5a"} 
[2026-08-11 01:57:35] local.INFO: Extracted packet for processing {"connection_id":153241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed5a"} 
[2026-08-11 01:57:35] local.INFO: GPS Element Parsed {"raw_longitude":763366080,"raw_latitude":103024584,"longitude_deg":76.336608,"latitude_deg":10.3024584,"altitude":21,"angle":153,"satellites":48,"speed":36,"hex_longitude":"2d800ac0","hex_latitude":"062407c8","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316750592001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377132213449261056,"note":"Value kept but may cause issues"} 
[2026-08-11 01:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9221542475882620928,"note":"Value kept but may cause issues"} 
[2026-08-11 01:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786393567000,"timestamp_ms":1786393567000,"timestamp_seconds":1786393567,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5a9f18"} 
[2026-08-11 01:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:57: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-08-11 01: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-08-11 01:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:57: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-08-11 01:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316750592001,"66":27463,"112":206,"79":21504,"24":36,"16":377132213449261056,"45":9221542475882620928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,79,24,16,45]} 
[2026-08-11 01:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316750592001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:57:35] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-11 01:57:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377132213449261056,"km_value":377132213449261.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9221542475882620928,"description":"Unknown IO ID 45"} 
[2026-08-11 01:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316750592001,"power":27463,"unknown_112":206,"unknown_79":21504,"ignition":36,"odometer":null,"unknown_45":9221542475882620928}} 
[2026-08-11 01:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":153241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:57:35] local.INFO: GPS data processed {"connection_id":153241,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:57:35] local.INFO: Acknowledgment sent {"connection_id":153241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:57:53] local.INFO: TCP Data received {"connection_id":154650,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:57:53] local.INFO: Processing buffer {"connection_id":154650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:57:53] local.INFO: IMEI packet received {"connection_id":154650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":154650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:57:54] local.INFO: TCP Data received {"connection_id":154650,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:57:54] local.INFO: Processing buffer {"connection_id":154650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:57:54] local.INFO: IMEI packet received {"connection_id":154650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":154650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:57:59] local.INFO: TCP Data received {"connection_id":154650,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:57:59] local.INFO: Processing buffer {"connection_id":154650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:57:59] local.INFO: IMEI packet received {"connection_id":154650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":154650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:58:00] local.INFO: TCP Data received {"connection_id":154650,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5ac628012d8019000623e550001400a52f..."} 
[2026-08-11 01:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5ac628012d8019000623e550001400a52f..."} 
[2026-08-11 01:58:00] local.INFO: Processing buffer {"connection_id":154650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed5ac628012d8019000623e550001400a52f..."} 
[2026-08-11 01:58:00] local.INFO: Packet analysis {"connection_id":154650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed5a"} 
[2026-08-11 01:58:00] local.INFO: Extracted packet for processing {"connection_id":154650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed5a"} 
[2026-08-11 01:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763369728,"raw_latitude":103015760,"longitude_deg":76.3369728,"latitude_deg":10.301576,"altitude":20,"angle":165,"satellites":47,"speed":38,"hex_longitude":"2d801900","hex_latitude":"0623e550","is_valid_coordinates":true} 
[2026-08-11 01: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-08-11 01:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316753152001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377132677305729024,"note":"Value kept but may cause issues"} 
[2026-08-11 01:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220346154480842752,"note":"Value kept but may cause issues"} 
[2026-08-11 01:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786393577000,"timestamp_ms":1786393577000,"timestamp_seconds":1786393577,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5ac628"} 
[2026-08-11 01:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 01:58:00] 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-08-11 01: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-08-11 01:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:58:00] 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-08-11 01:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316753152001,"66":27365,"114":206,"79":21504,"24":38,"16":377132677305729024,"45":-9220346154480842752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,79,24,16,45]} 
[2026-08-11 01:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316753152001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:58:00] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-11 01:58:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377132677305729024,"km_value":377132677305729.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220346154480842752,"description":"Unknown IO ID 45"} 
[2026-08-11 01:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316753152001,"power":27365,"unknown_114":206,"unknown_79":21504,"ignition":38,"odometer":null,"unknown_45":-9220346154480842752}} 
[2026-08-11 01:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":154650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:58:00] local.INFO: GPS data processed {"connection_id":154650,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:58:00] local.INFO: Acknowledgment sent {"connection_id":154650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:58:32] local.INFO: TCP Data received {"connection_id":154650,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5bf6d8012d7ffa800622ad78000f00cc2f..."} 
[2026-08-11 01:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5bf6d8012d7ffa800622ad78000f00cc2f..."} 
[2026-08-11 01:58:32] local.INFO: Processing buffer {"connection_id":154650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed5bf6d8012d7ffa800622ad78000f00cc2f..."} 
[2026-08-11 01:58:32] local.INFO: Packet analysis {"connection_id":154650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed5b"} 
[2026-08-11 01:58:32] local.INFO: Extracted packet for processing {"connection_id":154650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed5b"} 
[2026-08-11 01:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763361920,"raw_latitude":102935928,"longitude_deg":76.336192,"latitude_deg":10.2935928,"altitude":15,"angle":204,"satellites":47,"speed":35,"hex_longitude":"2d7ffa80","hex_latitude":"0622ad78","is_valid_coordinates":true} 
[2026-08-11 01:58: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-08-11 01:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316773120001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377136645855510528,"note":"Value kept but may cause issues"} 
[2026-08-11 01:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220697998222227456,"note":"Value kept but may cause issues"} 
[2026-08-11 01:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786393655000,"timestamp_ms":1786393655000,"timestamp_seconds":1786393655,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5bf6d8"} 
[2026-08-11 01:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:58: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":229,"data_length":795,"current_offset":136} 
[2026-08-11 01:58:32] 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-08-11 01:58: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-08-11 01:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:58:32] 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-08-11 01:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316773120001,"66":27376,"147":206,"79":21504,"24":35,"16":377136645855510528,"45":-9220697998222227456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-08-11 01:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316773120001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:58:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 01:58:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377136645855510528,"km_value":377136645855510.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220697998222227456,"description":"Unknown IO ID 45"} 
[2026-08-11 01:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316773120001,"power":27376,"unknown_147":206,"unknown_79":21504,"ignition":35,"odometer":null,"unknown_45":-9220697998222227456}} 
[2026-08-11 01:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":154650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:58:32] local.INFO: GPS data processed {"connection_id":154650,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:58:32] local.INFO: Acknowledgment sent {"connection_id":154650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:58:53] local.INFO: TCP Data received {"connection_id":152310,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:58:53] local.INFO: Processing buffer {"connection_id":152310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:58:53] local.INFO: IMEI packet received {"connection_id":152310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":152310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:58:55] local.INFO: TCP Data received {"connection_id":152310,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:58:55] local.INFO: Processing buffer {"connection_id":152310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:58:55] local.INFO: IMEI packet received {"connection_id":152310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":152310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:58:58] local.INFO: TCP Data received {"connection_id":152310,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:58:58] local.INFO: Processing buffer {"connection_id":152310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:58:58] local.INFO: IMEI packet received {"connection_id":152310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":152310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 01:58:59] local.INFO: TCP Data received {"connection_id":152310,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5c1de8012d7fed8006228a60000d00c12e..."} 
[2026-08-11 01:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5c1de8012d7fed8006228a60000d00c12e..."} 
[2026-08-11 01:58:59] local.INFO: Processing buffer {"connection_id":152310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed5c1de8012d7fed8006228a60000d00c12e..."} 
[2026-08-11 01:58:59] local.INFO: Packet analysis {"connection_id":152310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed5c"} 
[2026-08-11 01:58:59] local.INFO: Extracted packet for processing {"connection_id":152310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed5c"} 
[2026-08-11 01:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763358592,"raw_latitude":102926944,"longitude_deg":76.3358592,"latitude_deg":10.2926944,"altitude":13,"angle":193,"satellites":46,"speed":42,"hex_longitude":"2d7fed80","hex_latitude":"06228a60","is_valid_coordinates":true} 
[2026-08-11 01:58: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-08-11 01:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316775680001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377137109711978496,"note":"Value kept but may cause issues"} 
[2026-08-11 01:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9221823950834464768,"note":"Value kept but may cause issues"} 
[2026-08-11 01:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786393665000,"timestamp_ms":1786393665000,"timestamp_seconds":1786393665,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5c1de8"} 
[2026-08-11 01:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:58: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 01:58:59] 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-08-11 01:58: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-08-11 01:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:58:59] 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-08-11 01:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316775680001,"66":27321,"147":206,"79":21504,"24":42,"16":377137109711978496,"45":9221823950834464768},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-08-11 01:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316775680001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:58:59] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 01:58:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377137109711978496,"km_value":377137109711978.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9221823950834464768,"description":"Unknown IO ID 45"} 
[2026-08-11 01:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316775680001,"power":27321,"unknown_147":206,"unknown_79":21504,"ignition":42,"odometer":null,"unknown_45":9221823950834464768}} 
[2026-08-11 01:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":152310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:58:59] local.INFO: GPS data processed {"connection_id":152310,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:58:59] local.INFO: Acknowledgment sent {"connection_id":152310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:59:30] local.INFO: TCP Data received {"connection_id":152310,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5c3170012d7feb4006227510000b00b42e..."} 
[2026-08-11 01:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5c3170012d7feb4006227510000b00b42e..."} 
[2026-08-11 01:59:30] local.INFO: Processing buffer {"connection_id":152310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed5c3170012d7feb4006227510000b00b42e..."} 
[2026-08-11 01:59:30] local.INFO: Packet analysis {"connection_id":152310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed5c"} 
[2026-08-11 01:59:30] local.INFO: Extracted packet for processing {"connection_id":152310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed5c"} 
[2026-08-11 01:59:30] local.INFO: GPS Element Parsed {"raw_longitude":763358016,"raw_latitude":102921488,"longitude_deg":76.3358016,"latitude_deg":10.2921488,"altitude":11,"angle":180,"satellites":46,"speed":44,"hex_longitude":"2d7feb40","hex_latitude":"06227510","is_valid_coordinates":true} 
[2026-08-11 01:59: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-08-11 01:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316778240001,"note":"Value kept but may cause issues"} 
[2026-08-11 01:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377137375999950848,"note":"Value kept but may cause issues"} 
[2026-08-11 01:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9218164776134926336,"note":"Value kept but may cause issues"} 
[2026-08-11 01:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 01:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786393670000,"timestamp_ms":1786393670000,"timestamp_seconds":1786393670,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5c3170"} 
[2026-08-11 01:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 01:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 01:59: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 01:59:30] 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-08-11 01:59: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-08-11 01:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 01:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 01:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 01:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 01:59:30] 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-08-11 01:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 01:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 01:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316778240001,"66":27343,"147":206,"79":21504,"24":44,"16":377137375999950848,"45":9218164776134926336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-08-11 01:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 01:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 01:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316778240001,"description":"Unknown IO ID 0"} 
[2026-08-11 01:59:30] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 01:59:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 01:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377137375999950848,"km_value":377137375999950.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 01:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9218164776134926336,"description":"Unknown IO ID 45"} 
[2026-08-11 01:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316778240001,"power":27343,"unknown_147":206,"unknown_79":21504,"ignition":44,"odometer":null,"unknown_45":9218164776134926336}} 
[2026-08-11 01:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":152310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 01:59:30] local.INFO: GPS data processed {"connection_id":152310,"processed":1,"errors":0,"total":1} 
[2026-08-11 01:59:30] local.INFO: Acknowledgment sent {"connection_id":152310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 01:59:58] local.INFO: TCP Data received {"connection_id":153242,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:59:58] local.INFO: Processing buffer {"connection_id":153242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:59:58] local.INFO: IMEI packet received {"connection_id":153242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 01:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":153242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 01:59:59] local.INFO: TCP Data received {"connection_id":153242,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:59:59] local.INFO: Processing buffer {"connection_id":153242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 01:59:59] local.INFO: IMEI packet received {"connection_id":153242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 01:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":153242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:00:04] local.INFO: TCP Data received {"connection_id":153242,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:00:04] local.INFO: Processing buffer {"connection_id":153242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:00:04] local.INFO: IMEI packet received {"connection_id":153242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":153242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:00:04] local.INFO: TCP Data received {"connection_id":153242,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5c5498012d7fee4006224e60000a00a92f..."} 
[2026-08-11 02:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5c5498012d7fee4006224e60000a00a92f..."} 
[2026-08-11 02:00:04] local.INFO: Processing buffer {"connection_id":153242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed5c5498012d7fee4006224e60000a00a92f..."} 
[2026-08-11 02:00:04] local.INFO: Packet analysis {"connection_id":153242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed5c"} 
[2026-08-11 02:00:04] local.INFO: Extracted packet for processing {"connection_id":153242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed5c"} 
[2026-08-11 02:00:04] local.INFO: GPS Element Parsed {"raw_longitude":763358784,"raw_latitude":102911584,"longitude_deg":76.3358784,"latitude_deg":10.2911584,"altitude":10,"angle":169,"satellites":47,"speed":43,"hex_longitude":"2d7fee40","hex_latitude":"06224e60","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316779520001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377137861331255296,"note":"Value kept but may cause issues"} 
[2026-08-11 02:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217531457435930624,"note":"Value kept but may cause issues"} 
[2026-08-11 02:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786393679000,"timestamp_ms":1786393679000,"timestamp_seconds":1786393679,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5c5498"} 
[2026-08-11 02:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":207,"data_length":795,"current_offset":136} 
[2026-08-11 02:00: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-08-11 02: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-08-11 02:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:00: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-08-11 02:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316779520001,"66":27332,"147":206,"79":21504,"24":43,"16":377137861331255296,"45":9217531457435930624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-08-11 02:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316779520001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:00:04] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 02:00:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377137861331255296,"km_value":377137861331255.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217531457435930624,"description":"Unknown IO ID 45"} 
[2026-08-11 02:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316779520001,"power":27332,"unknown_147":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":9217531457435930624}} 
[2026-08-11 02:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":153242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:00:04] local.INFO: GPS data processed {"connection_id":153242,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:00:04] local.INFO: Acknowledgment sent {"connection_id":153242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:00:10] local.INFO: TCP Data received {"connection_id":153242,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5c6ff0012d7ff6c006223060000a009c2f..."} 
[2026-08-11 02:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5c6ff0012d7ff6c006223060000a009c2f..."} 
[2026-08-11 02:00:10] local.INFO: Processing buffer {"connection_id":153242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed5c6ff0012d7ff6c006223060000a009c2f..."} 
[2026-08-11 02:00:10] local.INFO: Packet analysis {"connection_id":153242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed5c"} 
[2026-08-11 02:00:10] local.INFO: Extracted packet for processing {"connection_id":153242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed5c"} 
[2026-08-11 02:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763360960,"raw_latitude":102903904,"longitude_deg":76.336096,"latitude_deg":10.2903904,"altitude":10,"angle":156,"satellites":47,"speed":47,"hex_longitude":"2d7ff6c0","hex_latitude":"06223060","is_valid_coordinates":true} 
[2026-08-11 02:00: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-08-11 02:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316781824001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377138247878311936,"note":"Value kept but may cause issues"} 
[2026-08-11 02:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9218375882363527168,"note":"Value kept but may cause issues"} 
[2026-08-11 02:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786393686000,"timestamp_ms":1786393686000,"timestamp_seconds":1786393686,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5c6ff0"} 
[2026-08-11 02:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02:00: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":196,"data_length":795,"current_offset":136} 
[2026-08-11 02:00:10] 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-08-11 02:00: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-08-11 02:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:00:10] 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-08-11 02:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316781824001,"66":27397,"147":206,"79":21504,"24":47,"16":377138247878311936,"45":9218375882363527168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-08-11 02:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316781824001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:00:10] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 02:00:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377138247878311936,"km_value":377138247878311.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9218375882363527168,"description":"Unknown IO ID 45"} 
[2026-08-11 02:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316781824001,"power":27397,"unknown_147":206,"unknown_79":21504,"ignition":47,"odometer":null,"unknown_45":9218375882363527168}} 
[2026-08-11 02:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":153242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:00:10] local.INFO: GPS data processed {"connection_id":153242,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:00:10] local.INFO: Acknowledgment sent {"connection_id":153242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:00:54] local.INFO: TCP Data received {"connection_id":151924,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:00:54] local.INFO: Processing buffer {"connection_id":151924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:00:54] local.INFO: IMEI packet received {"connection_id":151924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":151924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:00:57] local.INFO: TCP Data received {"connection_id":151924,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:00:57] local.INFO: Processing buffer {"connection_id":151924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:00:57] local.INFO: IMEI packet received {"connection_id":151924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":151924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:00:57] local.INFO: TCP Data received {"connection_id":151924,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5ddf20012d810ec006211d380016009931..."} 
[2026-08-11 02:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5ddf20012d810ec006211d380016009931..."} 
[2026-08-11 02:00:57] local.INFO: Processing buffer {"connection_id":151924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed5ddf20012d810ec006211d380016009931..."} 
[2026-08-11 02:00:57] local.INFO: Packet analysis {"connection_id":151924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed5d"} 
[2026-08-11 02:00:57] local.INFO: Extracted packet for processing {"connection_id":151924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed5d"} 
[2026-08-11 02:00:57] local.INFO: GPS Element Parsed {"raw_longitude":763432640,"raw_latitude":102833464,"longitude_deg":76.343264,"latitude_deg":10.2833464,"altitude":22,"angle":153,"satellites":49,"speed":44,"hex_longitude":"2d810ec0","hex_latitude":"06211d38","is_valid_coordinates":true} 
[2026-08-11 02:00: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-08-11 02:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316805376001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377143281579982848,"note":"Value kept but may cause issues"} 
[2026-08-11 02:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9151666260210176000,"note":"Value kept but may cause issues"} 
[2026-08-11 02:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786393780000,"timestamp_ms":1786393780000,"timestamp_seconds":1786393780,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5ddf20"} 
[2026-08-11 02:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02:00: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 02:00:57] 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-08-11 02:00: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-08-11 02:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:00:57] 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-08-11 02:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316805376001,"66":27376,"49":206,"79":21504,"24":44,"16":377143281579982848,"45":-9151666260210176000},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-08-11 02:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316805376001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:00:57] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-11 02:00:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377143281579982848,"km_value":377143281579982.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9151666260210176000,"description":"Unknown IO ID 45"} 
[2026-08-11 02:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316805376001,"power":27376,"unknown_49":206,"unknown_79":21504,"ignition":44,"odometer":null,"unknown_45":-9151666260210176000}} 
[2026-08-11 02:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":151924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:00:57] local.INFO: GPS data processed {"connection_id":151924,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:00:57] local.INFO: Acknowledgment sent {"connection_id":151924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:01:28] local.INFO: TCP Data received {"connection_id":151924,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5dfe60012d811ec00620fcb80015009c30..."} 
[2026-08-11 02:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5dfe60012d811ec00620fcb80015009c30..."} 
[2026-08-11 02:01:28] local.INFO: Processing buffer {"connection_id":151924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed5dfe60012d811ec00620fcb80015009c30..."} 
[2026-08-11 02:01:28] local.INFO: Packet analysis {"connection_id":151924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed5d"} 
[2026-08-11 02:01:28] local.INFO: Extracted packet for processing {"connection_id":151924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed5d"} 
[2026-08-11 02:01:28] local.INFO: GPS Element Parsed {"raw_longitude":763436736,"raw_latitude":102825144,"longitude_deg":76.3436736,"latitude_deg":10.2825144,"altitude":21,"angle":156,"satellites":48,"speed":48,"hex_longitude":"2d811ec0","hex_latitude":"0620fcb8","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316807680001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377143728256581632,"note":"Value kept but may cause issues"} 
[2026-08-11 02:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9147162660584998912,"note":"Value kept but may cause issues"} 
[2026-08-11 02:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786393788000,"timestamp_ms":1786393788000,"timestamp_seconds":1786393788,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5dfe60"} 
[2026-08-11 02:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 02:01:28] 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-08-11 02: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-08-11 02:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":151924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":151924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":151924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:01: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-08-11 02:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316807680001,"66":27234,"49":206,"79":21504,"24":48,"16":377143728256581632,"45":-9147162660584998912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-08-11 02:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316807680001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:01:28] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-11 02:01:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377143728256581632,"km_value":377143728256581.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9147162660584998912,"description":"Unknown IO ID 45"} 
[2026-08-11 02:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316807680001,"power":27234,"unknown_49":206,"unknown_79":21504,"ignition":48,"odometer":null,"unknown_45":-9147162660584998912}} 
[2026-08-11 02:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":151924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:01:28] local.INFO: GPS data processed {"connection_id":151924,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:01:28] local.INFO: Acknowledgment sent {"connection_id":151924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:01:54] local.INFO: TCP Data received {"connection_id":153243,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:01:54] local.INFO: Processing buffer {"connection_id":153243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:01:54] local.INFO: IMEI packet received {"connection_id":153243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":153243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:01:55] local.INFO: TCP Data received {"connection_id":153243,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:01:55] local.INFO: Processing buffer {"connection_id":153243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:01:55] local.INFO: IMEI packet received {"connection_id":153243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":153243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:01:59] local.INFO: TCP Data received {"connection_id":153243,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:01:59] local.INFO: Processing buffer {"connection_id":153243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:01:59] local.INFO: IMEI packet received {"connection_id":153243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":153243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:01:59] local.INFO: TCP Data received {"connection_id":153243,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5e19b8012d812b000620db90001100a530..."} 
[2026-08-11 02:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5e19b8012d812b000620db90001100a530..."} 
[2026-08-11 02:01:59] local.INFO: Processing buffer {"connection_id":153243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed5e19b8012d812b000620db90001100a530..."} 
[2026-08-11 02:01:59] local.INFO: Packet analysis {"connection_id":153243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed5e"} 
[2026-08-11 02:01:59] local.INFO: Extracted packet for processing {"connection_id":153243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed5e"} 
[2026-08-11 02:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763439872,"raw_latitude":102816656,"longitude_deg":76.3439872,"latitude_deg":10.2816656,"altitude":17,"angle":165,"satellites":48,"speed":54,"hex_longitude":"2d812b00","hex_latitude":"0620db90","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316809728001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377144166343245824,"note":"Value kept but may cause issues"} 
[2026-08-11 02:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9142659060959758336,"note":"Value kept but may cause issues"} 
[2026-08-11 02:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786393795000,"timestamp_ms":1786393795000,"timestamp_seconds":1786393795,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5e19b8"} 
[2026-08-11 02:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 02:01:59] 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-08-11 02: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-08-11 02:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:01:59] 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-08-11 02:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316809728001,"66":27376,"49":206,"79":21504,"24":54,"16":377144166343245824,"45":-9142659060959758336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-08-11 02:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316809728001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:01:59] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-11 02:01:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377144166343245824,"km_value":377144166343245.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9142659060959758336,"description":"Unknown IO ID 45"} 
[2026-08-11 02:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316809728001,"power":27376,"unknown_49":206,"unknown_79":21504,"ignition":54,"odometer":null,"unknown_45":-9142659060959758336}} 
[2026-08-11 02:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":153243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:01:59] local.INFO: GPS data processed {"connection_id":153243,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:01:59] local.INFO: Acknowledgment sent {"connection_id":153243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:02:04] local.INFO: TCP Data received {"connection_id":153243,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5e3510012d8131000620b738000f00af30..."} 
[2026-08-11 02:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5e3510012d8131000620b738000f00af30..."} 
[2026-08-11 02:02:04] local.INFO: Processing buffer {"connection_id":153243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed5e3510012d8131000620b738000f00af30..."} 
[2026-08-11 02:02:04] local.INFO: Packet analysis {"connection_id":153243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed5e"} 
[2026-08-11 02:02:04] local.INFO: Extracted packet for processing {"connection_id":153243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed5e"} 
[2026-08-11 02:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763441408,"raw_latitude":102807352,"longitude_deg":76.3441408,"latitude_deg":10.2807352,"altitude":15,"angle":175,"satellites":48,"speed":49,"hex_longitude":"2d813100","hex_latitude":"0620b738","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316811520001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377144625904746496,"note":"Value kept but may cause issues"} 
[2026-08-11 02:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9139210992497225728,"note":"Value kept but may cause issues"} 
[2026-08-11 02:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786393802000,"timestamp_ms":1786393802000,"timestamp_seconds":1786393802,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5e3510"} 
[2026-08-11 02:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":240,"data_length":795,"current_offset":136} 
[2026-08-11 02:02: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-08-11 02: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-08-11 02:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:02: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-08-11 02:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316811520001,"66":27321,"49":206,"79":21504,"24":49,"16":377144625904746496,"45":-9139210992497225728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-08-11 02:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316811520001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:02:04] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-11 02:02:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377144625904746496,"km_value":377144625904746.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9139210992497225728,"description":"Unknown IO ID 45"} 
[2026-08-11 02:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316811520001,"power":27321,"unknown_49":206,"unknown_79":21504,"ignition":49,"odometer":null,"unknown_45":-9139210992497225728}} 
[2026-08-11 02:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":153243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:02:04] local.INFO: GPS data processed {"connection_id":153243,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:02:04] local.INFO: Acknowledgment sent {"connection_id":153243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:02:35] local.INFO: TCP Data received {"connection_id":153243,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5e5450012d813180062092a8001200b330..."} 
[2026-08-11 02:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5e5450012d813180062092a8001200b330..."} 
[2026-08-11 02:02:35] local.INFO: Processing buffer {"connection_id":153243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed5e5450012d813180062092a8001200b330..."} 
[2026-08-11 02:02:35] local.INFO: Packet analysis {"connection_id":153243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed5e"} 
[2026-08-11 02:02:35] local.INFO: Extracted packet for processing {"connection_id":153243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed5e"} 
[2026-08-11 02:02:35] local.INFO: GPS Element Parsed {"raw_longitude":763441536,"raw_latitude":102797992,"longitude_deg":76.3441536,"latitude_deg":10.2797992,"altitude":18,"angle":179,"satellites":48,"speed":43,"hex_longitude":"2d813180","hex_latitude":"062092a8","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316813312001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377145081171279872,"note":"Value kept but may cause issues"} 
[2026-08-11 02:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9137522142639343616,"note":"Value kept but may cause issues"} 
[2026-08-11 02:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786393810000,"timestamp_ms":1786393810000,"timestamp_seconds":1786393810,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5e5450"} 
[2026-08-11 02:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":185,"data_length":795,"current_offset":136} 
[2026-08-11 02:02: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-08-11 02: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-08-11 02:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:02: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-08-11 02:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316813312001,"66":27332,"49":206,"79":21504,"24":43,"16":377145081171279872,"45":-9137522142639343616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-08-11 02:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316813312001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:02:35] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-11 02:02:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377145081171279872,"km_value":377145081171279.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9137522142639343616,"description":"Unknown IO ID 45"} 
[2026-08-11 02:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316813312001,"power":27332,"unknown_49":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":-9137522142639343616}} 
[2026-08-11 02:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":153243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:02:35] local.INFO: GPS data processed {"connection_id":153243,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:02:35] local.INFO: Acknowledgment sent {"connection_id":153243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:02:54] local.INFO: TCP Data received {"connection_id":153244,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:02:54] local.INFO: Processing buffer {"connection_id":153244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:02:54] local.INFO: IMEI packet received {"connection_id":153244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":153244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:02:56] local.INFO: TCP Data received {"connection_id":153244,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:02:56] local.INFO: Processing buffer {"connection_id":153244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:02:56] local.INFO: IMEI packet received {"connection_id":153244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":153244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:02:59] local.INFO: TCP Data received {"connection_id":153244,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:02:59] local.INFO: Processing buffer {"connection_id":153244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:02:59] local.INFO: IMEI packet received {"connection_id":153244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":153244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:03:00] local.INFO: TCP Data received {"connection_id":153244,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5fd708012d81cf40061f35100018009e2e..."} 
[2026-08-11 02:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5fd708012d81cf40061f35100018009e2e..."} 
[2026-08-11 02:03:00] local.INFO: Processing buffer {"connection_id":153244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed5fd708012d81cf40061f35100018009e2e..."} 
[2026-08-11 02:03:00] local.INFO: Packet analysis {"connection_id":153244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed5f"} 
[2026-08-11 02:03:00] local.INFO: Extracted packet for processing {"connection_id":153244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed5f"} 
[2026-08-11 02:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763481920,"raw_latitude":102708496,"longitude_deg":76.348192,"latitude_deg":10.2708496,"altitude":24,"angle":158,"satellites":46,"speed":36,"hex_longitude":"2d81cf40","hex_latitude":"061f3510","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316838144001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377149947369226240,"note":"Value kept but may cause issues"} 
[2026-08-11 02:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096637902295300096,"note":"Value kept but may cause issues"} 
[2026-08-11 02:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786393909000,"timestamp_ms":1786393909000,"timestamp_seconds":1786393909,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5fd708"} 
[2026-08-11 02:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 02:03:00] 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-08-11 02: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-08-11 02:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:03:00] 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-08-11 02:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316838144001,"66":27245,"159":206,"79":21504,"24":36,"16":377149947369226240,"45":-9096637902295300096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,79,24,16,45]} 
[2026-08-11 02:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316838144001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:03:00] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-11 02:03:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377149947369226240,"km_value":377149947369226.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096637902295300096,"description":"Unknown IO ID 45"} 
[2026-08-11 02:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316838144001,"power":27245,"unknown_159":206,"unknown_79":21504,"ignition":36,"odometer":null,"unknown_45":-9096637902295300096}} 
[2026-08-11 02:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":153244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:03:00] local.INFO: GPS data processed {"connection_id":153244,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:03:00] local.INFO: Acknowledgment sent {"connection_id":153244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:03:34] local.INFO: TCP Data received {"connection_id":153244,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed5ffe18012d81dd40061f12680019009d2d..."} 
[2026-08-11 02:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed5ffe18012d81dd40061f12680019009d2d..."} 
[2026-08-11 02:03:34] local.INFO: Processing buffer {"connection_id":153244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed5ffe18012d81dd40061f12680019009d2d..."} 
[2026-08-11 02:03:34] local.INFO: Packet analysis {"connection_id":153244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed5f"} 
[2026-08-11 02:03:34] local.INFO: Extracted packet for processing {"connection_id":153244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed5f"} 
[2026-08-11 02:03:34] local.INFO: GPS Element Parsed {"raw_longitude":763485504,"raw_latitude":102699624,"longitude_deg":76.3485504,"latitude_deg":10.2699624,"altitude":25,"angle":157,"satellites":45,"speed":38,"hex_longitude":"2d81dd40","hex_latitude":"061f1268","is_valid_coordinates":true} 
[2026-08-11 02:03: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-08-11 02:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316840704001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377150406930726912,"note":"Value kept but may cause issues"} 
[2026-08-11 02:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9092978727600189440,"note":"Value kept but may cause issues"} 
[2026-08-11 02:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786393919000,"timestamp_ms":1786393919000,"timestamp_seconds":1786393919,"priority":1,"record_length":96,"hex_timestamp":"0000019fed5ffe18"} 
[2026-08-11 02:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02:03: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":109,"data_length":795,"current_offset":136} 
[2026-08-11 02:03:34] 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-08-11 02:03: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-08-11 02:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:03:34] 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-08-11 02:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316840704001,"66":27213,"157":206,"79":21504,"24":38,"16":377150406930726912,"45":-9092978727600189440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-08-11 02:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316840704001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:03:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-11 02:03:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377150406930726912,"km_value":377150406930726.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9092978727600189440,"description":"Unknown IO ID 45"} 
[2026-08-11 02:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316840704001,"power":27213,"unknown_157":206,"unknown_79":21504,"ignition":38,"odometer":null,"unknown_45":-9092978727600189440}} 
[2026-08-11 02:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":153244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:03:34] local.INFO: GPS data processed {"connection_id":153244,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:03:34] local.INFO: Acknowledgment sent {"connection_id":153244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:03:54] local.INFO: TCP Data received {"connection_id":153245,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:03:54] local.INFO: Processing buffer {"connection_id":153245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:03:54] local.INFO: IMEI packet received {"connection_id":153245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":153245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:03:59] local.INFO: TCP Data received {"connection_id":153245,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:03:59] local.INFO: Processing buffer {"connection_id":153245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:03:59] local.INFO: IMEI packet received {"connection_id":153245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":153245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:04:00] local.INFO: TCP Data received {"connection_id":153245,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed602140012d81ecc0061ef240001800942d..."} 
[2026-08-11 02:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed602140012d81ecc0061ef240001800942d..."} 
[2026-08-11 02:04:00] local.INFO: Processing buffer {"connection_id":153245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed602140012d81ecc0061ef240001800942d..."} 
[2026-08-11 02:04:00] local.INFO: Packet analysis {"connection_id":153245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed60"} 
[2026-08-11 02:04:00] local.INFO: Extracted packet for processing {"connection_id":153245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed60"} 
[2026-08-11 02:04:00] local.INFO: GPS Element Parsed {"raw_longitude":763489472,"raw_latitude":102691392,"longitude_deg":76.3489472,"latitude_deg":10.2691392,"altitude":24,"angle":148,"satellites":45,"speed":40,"hex_longitude":"2d81ecc0","hex_latitude":"061ef240","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316843264001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377150849312358400,"note":"Value kept but may cause issues"} 
[2026-08-11 02:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9089038077928511488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786393928000,"timestamp_ms":1786393928000,"timestamp_seconds":1786393928,"priority":1,"record_length":96,"hex_timestamp":"0000019fed602140"} 
[2026-08-11 02:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 02:04:00] 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-08-11 02: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-08-11 02:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:04:00] 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-08-11 02:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316843264001,"66":27332,"157":206,"79":21504,"24":40,"16":377150849312358400,"45":-9089038077928511488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-08-11 02:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316843264001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:04:00] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-11 02:04:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377150849312358400,"km_value":377150849312358.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9089038077928511488,"description":"Unknown IO ID 45"} 
[2026-08-11 02:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316843264001,"power":27332,"unknown_157":206,"unknown_79":21504,"ignition":40,"odometer":null,"unknown_45":-9089038077928511488}} 
[2026-08-11 02:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":153245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:04:00] local.INFO: GPS data processed {"connection_id":153245,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:04:00] local.INFO: Acknowledgment sent {"connection_id":153245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:04:31] local.INFO: TCP Data received {"connection_id":153245,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed604850012d820280061ed5180018008c2d..."} 
[2026-08-11 02:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed604850012d820280061ed5180018008c2d..."} 
[2026-08-11 02:04:31] local.INFO: Processing buffer {"connection_id":153245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed604850012d820280061ed5180018008c2d..."} 
[2026-08-11 02:04:31] local.INFO: Packet analysis {"connection_id":153245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed60"} 
[2026-08-11 02:04:31] local.INFO: Extracted packet for processing {"connection_id":153245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed60"} 
[2026-08-11 02:04:31] local.INFO: GPS Element Parsed {"raw_longitude":763495040,"raw_latitude":102683928,"longitude_deg":76.349504,"latitude_deg":10.2683928,"altitude":24,"angle":140,"satellites":45,"speed":33,"hex_longitude":"2d820280","hex_latitude":"061ed518","is_valid_coordinates":true} 
[2026-08-11 02:04: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-08-11 02:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316845568001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377151300283924480,"note":"Value kept but may cause issues"} 
[2026-08-11 02:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9084675215791603712,"note":"Value kept but may cause issues"} 
[2026-08-11 02:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786393938000,"timestamp_ms":1786393938000,"timestamp_seconds":1786393938,"priority":1,"record_length":96,"hex_timestamp":"0000019fed604850"} 
[2026-08-11 02:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02:04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 02:04:31] 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-08-11 02:04: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-08-11 02:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:04:31] 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-08-11 02:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316845568001,"66":27267,"157":206,"79":21504,"24":33,"16":377151300283924480,"45":-9084675215791603712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-08-11 02:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316845568001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:04:31] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-11 02:04:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377151300283924480,"km_value":377151300283924.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9084675215791603712,"description":"Unknown IO ID 45"} 
[2026-08-11 02:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316845568001,"power":27267,"unknown_157":206,"unknown_79":21504,"ignition":33,"odometer":null,"unknown_45":-9084675215791603712}} 
[2026-08-11 02:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":153245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:04:31] local.INFO: GPS data processed {"connection_id":153245,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:04:31] local.INFO: Acknowledgment sent {"connection_id":153245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:04:53] local.INFO: TCP Data received {"connection_id":152311,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:04:53] local.INFO: Processing buffer {"connection_id":152311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:04:53] local.INFO: IMEI packet received {"connection_id":152311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":152311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:04:59] local.INFO: TCP Data received {"connection_id":152311,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:04:59] local.INFO: Processing buffer {"connection_id":152311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:04:59] local.INFO: IMEI packet received {"connection_id":152311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":152311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:04:59] local.INFO: TCP Data received {"connection_id":152311,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed607348012d821a40061eb9e00017008930..."} 
[2026-08-11 02:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed607348012d821a40061eb9e00017008930..."} 
[2026-08-11 02:04:59] local.INFO: Processing buffer {"connection_id":152311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed607348012d821a40061eb9e00017008930..."} 
[2026-08-11 02:04:59] local.INFO: Packet analysis {"connection_id":152311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed60"} 
[2026-08-11 02:04:59] local.INFO: Extracted packet for processing {"connection_id":152311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed60"} 
[2026-08-11 02:04:59] local.INFO: GPS Element Parsed {"raw_longitude":763501120,"raw_latitude":102676960,"longitude_deg":76.350112,"latitude_deg":10.267696,"altitude":23,"angle":137,"satellites":48,"speed":35,"hex_longitude":"2d821a40","hex_latitude":"061eb9e0","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316848128001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377151746960523264,"note":"Value kept but may cause issues"} 
[2026-08-11 02:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078553135050057728,"note":"Value kept but may cause issues"} 
[2026-08-11 02:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786393949000,"timestamp_ms":1786393949000,"timestamp_seconds":1786393949,"priority":1,"record_length":96,"hex_timestamp":"0000019fed607348"} 
[2026-08-11 02:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 02:04:59] 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-08-11 02: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-08-11 02:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:04:59] 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-08-11 02:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316848128001,"66":27234,"157":206,"79":21504,"24":35,"16":377151746960523264,"45":-9078553135050057728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-08-11 02:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316848128001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:04:59] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-11 02:04:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377151746960523264,"km_value":377151746960523.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078553135050057728,"description":"Unknown IO ID 45"} 
[2026-08-11 02:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316848128001,"power":27234,"unknown_157":206,"unknown_79":21504,"ignition":35,"odometer":null,"unknown_45":-9078553135050057728}} 
[2026-08-11 02:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":152311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:04:59] local.INFO: GPS data processed {"connection_id":152311,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:04:59] local.INFO: Acknowledgment sent {"connection_id":152311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:05:30] local.INFO: TCP Data received {"connection_id":152311,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed623098012d837940061db008000a007430..."} 
[2026-08-11 02:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed623098012d837940061db008000a007430..."} 
[2026-08-11 02:05:30] local.INFO: Processing buffer {"connection_id":152311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed623098012d837940061db008000a007430..."} 
[2026-08-11 02:05:30] local.INFO: Packet analysis {"connection_id":152311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed62"} 
[2026-08-11 02:05:30] local.INFO: Extracted packet for processing {"connection_id":152311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed62"} 
[2026-08-11 02:05:30] local.INFO: GPS Element Parsed {"raw_longitude":763590976,"raw_latitude":102608904,"longitude_deg":76.3590976,"latitude_deg":10.2608904,"altitude":10,"angle":116,"satellites":48,"speed":38,"hex_longitude":"2d837940","hex_latitude":"061db008","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316877568001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377157257403564032,"note":"Value kept but may cause issues"} 
[2026-08-11 02:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8982781274242363392,"note":"Value kept but may cause issues"} 
[2026-08-11 02:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786394063000,"timestamp_ms":1786394063000,"timestamp_seconds":1786394063,"priority":1,"record_length":96,"hex_timestamp":"0000019fed623098"} 
[2026-08-11 02:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 02:05:30] 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-08-11 02: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-08-11 02:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:05:30] 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-08-11 02:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316877568001,"66":27343,"117":206,"79":21504,"24":38,"16":377157257403564032,"45":-8982781274242363392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316877568001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:05:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:05:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377157257403564032,"km_value":377157257403564.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8982781274242363392,"description":"Unknown IO ID 45"} 
[2026-08-11 02:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316877568001,"power":27343,"unknown_117":206,"unknown_79":21504,"ignition":38,"odometer":null,"unknown_45":-8982781274242363392}} 
[2026-08-11 02:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":152311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:05:30] local.INFO: GPS data processed {"connection_id":152311,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:05:30] local.INFO: Acknowledgment sent {"connection_id":152311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:05:53] local.INFO: TCP Data received {"connection_id":154651,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:05:53] local.INFO: Processing buffer {"connection_id":154651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:05:53] local.INFO: IMEI packet received {"connection_id":154651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":154651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:05:59] local.INFO: TCP Data received {"connection_id":154651,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:05:59] local.INFO: Processing buffer {"connection_id":154651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:05:59] local.INFO: IMEI packet received {"connection_id":154651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":154651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:05:59] local.INFO: TCP Data received {"connection_id":154651,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6257a8012d839b00061da038000a007331..."} 
[2026-08-11 02:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6257a8012d839b00061da038000a007331..."} 
[2026-08-11 02:05:59] local.INFO: Processing buffer {"connection_id":154651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6257a8012d839b00061da038000a007331..."} 
[2026-08-11 02:05:59] local.INFO: Packet analysis {"connection_id":154651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed62"} 
[2026-08-11 02:05:59] local.INFO: Extracted packet for processing {"connection_id":154651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed62"} 
[2026-08-11 02:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763599616,"raw_latitude":102604856,"longitude_deg":76.3599616,"latitude_deg":10.2604856,"altitude":10,"angle":115,"satellites":49,"speed":35,"hex_longitude":"2d839b00","hex_latitude":"061da038","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316880128001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377157712670097408,"note":"Value kept but may cause issues"} 
[2026-08-11 02:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8973070387546945536,"note":"Value kept but may cause issues"} 
[2026-08-11 02:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786394073000,"timestamp_ms":1786394073000,"timestamp_seconds":1786394073,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6257a8"} 
[2026-08-11 02:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 02:05:59] 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-08-11 02: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-08-11 02:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:05:59] 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-08-11 02:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316880128001,"66":27484,"117":206,"79":21504,"24":35,"16":377157712670097408,"45":-8973070387546945536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316880128001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:05:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:05:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377157712670097408,"km_value":377157712670097.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8973070387546945536,"description":"Unknown IO ID 45"} 
[2026-08-11 02:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316880128001,"power":27484,"unknown_117":206,"unknown_79":21504,"ignition":35,"odometer":null,"unknown_45":-8973070387546945536}} 
[2026-08-11 02:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":154651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:05:59] local.INFO: GPS data processed {"connection_id":154651,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:05:59] local.INFO: Acknowledgment sent {"connection_id":154651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:06:30] local.INFO: TCP Data received {"connection_id":154651,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fed629240012d83bbc0061d9060000900762f..."} 
[2026-08-11 02:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed629240012d83bbc0061d9060000900762f..."} 
[2026-08-11 02:06:30] local.INFO: Processing buffer {"connection_id":154651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed629240012d83bbc0061d9060000900762f..."} 
[2026-08-11 02:06:30] local.INFO: Packet analysis {"connection_id":154651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed62"} 
[2026-08-11 02:06:30] local.INFO: Extracted packet for processing {"connection_id":154651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed62"} 
[2026-08-11 02:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763608000,"raw_latitude":102600800,"longitude_deg":76.3608,"latitude_deg":10.26008,"altitude":9,"angle":118,"satellites":47,"speed":16,"hex_longitude":"2d83bbc0","hex_latitude":"061d9060","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316882688001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158159346696192,"note":"Value kept but may cause issues"} 
[2026-08-11 02:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8963570607083997184,"note":"Value kept but may cause issues"} 
[2026-08-11 02:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786394088000,"timestamp_ms":1786394088000,"timestamp_seconds":1786394088,"priority":1,"record_length":96,"hex_timestamp":"0000019fed629240"} 
[2026-08-11 02:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 02:06:30] 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-08-11 02: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-08-11 02:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:06:30] 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-08-11 02:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316882688001,"66":27876,"117":206,"79":21504,"24":16,"16":377158159346696192,"45":-8963570607083997184},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316882688001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:06:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:06:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158159346696192,"km_value":377158159346696.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8963570607083997184,"description":"Unknown IO ID 45"} 
[2026-08-11 02:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316882688001,"power":27876,"unknown_117":206,"unknown_79":21504,"ignition":16,"odometer":null,"unknown_45":-8963570607083997184}} 
[2026-08-11 02:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":154651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:06:31] local.INFO: GPS data processed {"connection_id":154651,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:06:31] local.INFO: Acknowledgment sent {"connection_id":154651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:06:57] local.INFO: TCP Data received {"connection_id":152312,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:06:57] local.INFO: Processing buffer {"connection_id":152312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:06:57] local.INFO: IMEI packet received {"connection_id":152312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":152312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:06:58] local.INFO: TCP Data received {"connection_id":152312,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:06:58] local.INFO: Processing buffer {"connection_id":152312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:06:58] local.INFO: IMEI packet received {"connection_id":152312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":152312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:06:59] local.INFO: TCP Data received {"connection_id":152312,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:06:59] local.INFO: Processing buffer {"connection_id":152312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:06:59] local.INFO: IMEI packet received {"connection_id":152312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":152312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:07:00] local.INFO: TCP Data received {"connection_id":152312,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed62a1e0012d83c240061d8cd0000a00752f..."} 
[2026-08-11 02:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed62a1e0012d83c240061d8cd0000a00752f..."} 
[2026-08-11 02:07:00] local.INFO: Processing buffer {"connection_id":152312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed62a1e0012d83c240061d8cd0000a00752f..."} 
[2026-08-11 02:07:00] local.INFO: Packet analysis {"connection_id":152312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed62"} 
[2026-08-11 02:07:00] local.INFO: Extracted packet for processing {"connection_id":152312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed62"} 
[2026-08-11 02:07:00] local.INFO: GPS Element Parsed {"raw_longitude":763609664,"raw_latitude":102599888,"longitude_deg":76.3609664,"latitude_deg":10.2599888,"altitude":10,"angle":117,"satellites":47,"speed":17,"hex_longitude":"2d83c240","hex_latitude":"061d8cd0","is_valid_coordinates":true} 
[2026-08-11 02:07:00] 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-08-11 02:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316886528001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158249541009408,"note":"Value kept but may cause issues"} 
[2026-08-11 02:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8954352301597761536,"note":"Value kept but may cause issues"} 
[2026-08-11 02:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786394092000,"timestamp_ms":1786394092000,"timestamp_seconds":1786394092,"priority":1,"record_length":96,"hex_timestamp":"0000019fed62a1e0"} 
[2026-08-11 02:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 02:07:00] 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-08-11 02: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-08-11 02:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:07:00] 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-08-11 02:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316886528001,"66":27767,"117":206,"79":21504,"24":17,"16":377158249541009408,"45":-8954352301597761536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316886528001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:07:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:07:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158249541009408,"km_value":377158249541009.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8954352301597761536,"description":"Unknown IO ID 45"} 
[2026-08-11 02:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316886528001,"power":27767,"unknown_117":206,"unknown_79":21504,"ignition":17,"odometer":null,"unknown_45":-8954352301597761536}} 
[2026-08-11 02:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":152312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:07:00] local.INFO: GPS data processed {"connection_id":152312,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:07:00] local.INFO: Acknowledgment sent {"connection_id":152312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:07:04] local.INFO: TCP Data received {"connection_id":152312,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed63f5b8012d83d5c0061d84c0000b007130..."} 
[2026-08-11 02:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed63f5b8012d83d5c0061d84c0000b007130..."} 
[2026-08-11 02:07:04] local.INFO: Processing buffer {"connection_id":152312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed63f5b8012d83d5c0061d84c0000b007130..."} 
[2026-08-11 02:07:04] local.INFO: Packet analysis {"connection_id":152312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed63"} 
[2026-08-11 02:07:04] local.INFO: Extracted packet for processing {"connection_id":152312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed63"} 
[2026-08-11 02:07:04] local.INFO: GPS Element Parsed {"raw_longitude":763614656,"raw_latitude":102597824,"longitude_deg":76.3614656,"latitude_deg":10.2597824,"altitude":11,"angle":113,"satellites":48,"speed":0,"hex_longitude":"2d83d5c0","hex_latitude":"061d84c0","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316887552001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158249541009408,"note":"Value kept but may cause issues"} 
[2026-08-11 02:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8952522714249375744,"note":"Value kept but may cause issues"} 
[2026-08-11 02:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786394179000,"timestamp_ms":1786394179000,"timestamp_seconds":1786394179,"priority":1,"record_length":96,"hex_timestamp":"0000019fed63f5b8"} 
[2026-08-11 02:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":119,"data_length":795,"current_offset":136} 
[2026-08-11 02:07: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-08-11 02: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-08-11 02:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:07: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-08-11 02:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316887552001,"66":26452,"117":206,"79":21504,"24":0,"16":377158249541009408,"45":-8952522714249375744},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316887552001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:07:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:07:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158249541009408,"km_value":377158249541009.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8952522714249375744,"description":"Unknown IO ID 45"} 
[2026-08-11 02:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316887552001,"power":26452,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8952522714249375744}} 
[2026-08-11 02:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":152312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:07:04] local.INFO: GPS data processed {"connection_id":152312,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:07:04] local.INFO: Acknowledgment sent {"connection_id":152312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:07:35] local.INFO: TCP Data received {"connection_id":152312,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed640170012d83d600061d84a0000b005b30..."} 
[2026-08-11 02:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed640170012d83d600061d84a0000b005b30..."} 
[2026-08-11 02:07:35] local.INFO: Processing buffer {"connection_id":152312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed640170012d83d600061d84a0000b005b30..."} 
[2026-08-11 02:07:35] local.INFO: Packet analysis {"connection_id":152312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed64"} 
[2026-08-11 02:07:35] local.INFO: Extracted packet for processing {"connection_id":152312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed64"} 
[2026-08-11 02:07:35] local.INFO: GPS Element Parsed {"raw_longitude":763614720,"raw_latitude":102597792,"longitude_deg":76.361472,"latitude_deg":10.2597792,"altitude":11,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d600","hex_latitude":"061d84a0","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316909824001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158249541009408,"note":"Value kept but may cause issues"} 
[2026-08-11 02:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947033952204046336,"note":"Value kept but may cause issues"} 
[2026-08-11 02:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786394182000,"timestamp_ms":1786394182000,"timestamp_seconds":1786394182,"priority":1,"record_length":96,"hex_timestamp":"0000019fed640170"} 
[2026-08-11 02:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-11 02:07: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-08-11 02: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-08-11 02:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:07: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-08-11 02:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316909824001,"66":26289,"117":206,"79":21504,"24":0,"16":377158249541009408,"45":-8947033952204046336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316909824001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:07:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:07:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158249541009408,"km_value":377158249541009.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947033952204046336,"description":"Unknown IO ID 45"} 
[2026-08-11 02:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316909824001,"power":26289,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947033952204046336}} 
[2026-08-11 02:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":152312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:07:35] local.INFO: GPS data processed {"connection_id":152312,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:07:35] local.INFO: Acknowledgment sent {"connection_id":152312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:07:54] local.INFO: TCP Data received {"connection_id":151925,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:07:54] local.INFO: Processing buffer {"connection_id":151925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:07:54] local.INFO: IMEI packet received {"connection_id":151925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":151925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:07:59] local.INFO: TCP Data received {"connection_id":151925,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:07:59] local.INFO: Processing buffer {"connection_id":151925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:07:59] local.INFO: IMEI packet received {"connection_id":151925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":151925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:07:59] local.INFO: TCP Data received {"connection_id":151925,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed645378012d83d600061d84a0000b005b2e..."} 
[2026-08-11 02:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed645378012d83d600061d84a0000b005b2e..."} 
[2026-08-11 02:07:59] local.INFO: Processing buffer {"connection_id":151925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed645378012d83d600061d84a0000b005b2e..."} 
[2026-08-11 02:07:59] local.INFO: Packet analysis {"connection_id":151925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed64"} 
[2026-08-11 02:07:59] local.INFO: Extracted packet for processing {"connection_id":151925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed64"} 
[2026-08-11 02:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763614720,"raw_latitude":102597792,"longitude_deg":76.361472,"latitude_deg":10.2597792,"altitude":11,"angle":91,"satellites":46,"speed":0,"hex_longitude":"2d83d600","hex_latitude":"061d84a0","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316910592001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158249541009408,"note":"Value kept but may cause issues"} 
[2026-08-11 02:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8946963583459876864,"note":"Value kept but may cause issues"} 
[2026-08-11 02:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786394203000,"timestamp_ms":1786394203000,"timestamp_seconds":1786394203,"priority":1,"record_length":96,"hex_timestamp":"0000019fed645378"} 
[2026-08-11 02:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-11 02:07:59] 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-08-11 02: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-08-11 02:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:07:59] 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-08-11 02:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316910592001,"66":27539,"117":206,"79":21504,"24":0,"16":377158249541009408,"45":-8946963583459876864},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316910592001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:07:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:07:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158249541009408,"km_value":377158249541009.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8946963583459876864,"description":"Unknown IO ID 45"} 
[2026-08-11 02:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316910592001,"power":27539,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8946963583459876864}} 
[2026-08-11 02:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":151925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:07:59] local.INFO: GPS data processed {"connection_id":151925,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:07:59] local.INFO: Acknowledgment sent {"connection_id":151925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:08:30] local.INFO: TCP Data received {"connection_id":151925,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed64a580012d83d600061d84a0000b005b31..."} 
[2026-08-11 02:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed64a580012d83d600061d84a0000b005b31..."} 
[2026-08-11 02:08:30] local.INFO: Processing buffer {"connection_id":151925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed64a580012d83d600061d84a0000b005b31..."} 
[2026-08-11 02:08:30] local.INFO: Packet analysis {"connection_id":151925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed64"} 
[2026-08-11 02:08:30] local.INFO: Extracted packet for processing {"connection_id":151925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed64"} 
[2026-08-11 02:08:30] local.INFO: GPS Element Parsed {"raw_longitude":763614720,"raw_latitude":102597792,"longitude_deg":76.361472,"latitude_deg":10.2597792,"altitude":11,"angle":91,"satellites":49,"speed":0,"hex_longitude":"2d83d600","hex_latitude":"061d84a0","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316915968001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158249541009408,"note":"Value kept but may cause issues"} 
[2026-08-11 02:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8946963583459876864,"note":"Value kept but may cause issues"} 
[2026-08-11 02:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786394224000,"timestamp_ms":1786394224000,"timestamp_seconds":1786394224,"priority":1,"record_length":96,"hex_timestamp":"0000019fed64a580"} 
[2026-08-11 02:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:08: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-08-11 02: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 02:08:30] 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-08-11 02:08: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-08-11 02:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:08:30] 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-08-11 02:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316915968001,"66":27213,"117":206,"79":21504,"24":0,"16":377158249541009408,"45":-8946963583459876864},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316915968001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:08:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:08:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158249541009408,"km_value":377158249541009.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8946963583459876864,"description":"Unknown IO ID 45"} 
[2026-08-11 02:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316915968001,"power":27213,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8946963583459876864}} 
[2026-08-11 02:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":151925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:08:30] local.INFO: GPS data processed {"connection_id":151925,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:08:30] local.INFO: Acknowledgment sent {"connection_id":151925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:08:54] local.INFO: TCP Data received {"connection_id":152313,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:08:54] local.INFO: Processing buffer {"connection_id":152313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:08:54] local.INFO: IMEI packet received {"connection_id":152313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":152313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:08:59] local.INFO: TCP Data received {"connection_id":152313,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:08:59] local.INFO: Processing buffer {"connection_id":152313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:08:59] local.INFO: IMEI packet received {"connection_id":152313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":152313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:08:59] local.INFO: TCP Data received {"connection_id":152313,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed64f788012d83d540061d8470000b005b31..."} 
[2026-08-11 02:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed64f788012d83d540061d8470000b005b31..."} 
[2026-08-11 02:08:59] local.INFO: Processing buffer {"connection_id":152313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed64f788012d83d540061d8470000b005b31..."} 
[2026-08-11 02:08:59] local.INFO: Packet analysis {"connection_id":152313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed64"} 
[2026-08-11 02:08:59] local.INFO: Extracted packet for processing {"connection_id":152313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed64"} 
[2026-08-11 02:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763614528,"raw_latitude":102597744,"longitude_deg":76.3614528,"latitude_deg":10.2597744,"altitude":11,"angle":91,"satellites":49,"speed":0,"hex_longitude":"2d83d540","hex_latitude":"061d8470","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316921344001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158262425911296,"note":"Value kept but may cause issues"} 
[2026-08-11 02:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8946963583459876864,"note":"Value kept but may cause issues"} 
[2026-08-11 02:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786394245000,"timestamp_ms":1786394245000,"timestamp_seconds":1786394245,"priority":1,"record_length":96,"hex_timestamp":"0000019fed64f788"} 
[2026-08-11 02:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:08:59] 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-08-11 02: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 02:08:59] 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-08-11 02: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-08-11 02:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:08:59] 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-08-11 02:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316921344001,"66":27767,"117":206,"79":21504,"24":0,"16":377158262425911296,"45":-8946963583459876864},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316921344001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:08:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:08:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158262425911296,"km_value":377158262425911.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8946963583459876864,"description":"Unknown IO ID 45"} 
[2026-08-11 02:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316921344001,"power":27767,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8946963583459876864}} 
[2026-08-11 02:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":152313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:08:59] local.INFO: GPS data processed {"connection_id":152313,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:08:59] local.INFO: Acknowledgment sent {"connection_id":152313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:09:30] local.INFO: TCP Data received {"connection_id":152313,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed654990012d83d600061d8418000c005b30..."} 
[2026-08-11 02:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed654990012d83d600061d8418000c005b30..."} 
[2026-08-11 02:09:30] local.INFO: Processing buffer {"connection_id":152313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed654990012d83d600061d8418000c005b30..."} 
[2026-08-11 02:09:30] local.INFO: Packet analysis {"connection_id":152313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:09:30] local.INFO: Extracted packet for processing {"connection_id":152313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:09:30] local.INFO: GPS Element Parsed {"raw_longitude":763614720,"raw_latitude":102597656,"longitude_deg":76.361472,"latitude_deg":10.2597656,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d600","hex_latitude":"061d8418","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316926720001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158275310813184,"note":"Value kept but may cause issues"} 
[2026-08-11 02:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947174689692422144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786394266000,"timestamp_ms":1786394266000,"timestamp_seconds":1786394266,"priority":1,"record_length":96,"hex_timestamp":"0000019fed654990"} 
[2026-08-11 02:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:09: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-08-11 02: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 02:09:30] 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-08-11 02: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-08-11 02:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:09:30] 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-08-11 02:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316926720001,"66":27745,"117":206,"79":21504,"24":0,"16":377158275310813184,"45":-8947174689692422144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316926720001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:09:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:09:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158275310813184,"km_value":377158275310813.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947174689692422144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316926720001,"power":27745,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947174689692422144}} 
[2026-08-11 02:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":152313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:09:31] local.INFO: GPS data processed {"connection_id":152313,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:09:31] local.INFO: Acknowledgment sent {"connection_id":152313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:09:53] local.INFO: TCP Data received {"connection_id":152314,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:09:53] local.INFO: Processing buffer {"connection_id":152314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:09:53] local.INFO: IMEI packet received {"connection_id":152314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":152314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:09:59] local.INFO: TCP Data received {"connection_id":152314,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:09:59] local.INFO: Processing buffer {"connection_id":152314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:09:59] local.INFO: IMEI packet received {"connection_id":152314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":152314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:09:59] local.INFO: TCP Data received {"connection_id":152314,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed659b98012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed659b98012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:09:59] local.INFO: Processing buffer {"connection_id":152314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed659b98012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:09:59] local.INFO: Packet analysis {"connection_id":152314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:09:59] local.INFO: Extracted packet for processing {"connection_id":152314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763614400,"raw_latitude":102597752,"longitude_deg":76.36144,"latitude_deg":10.2597752,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d4c0","hex_latitude":"061d8478","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316932096001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8946963583459911680,"note":"Value kept but may cause issues"} 
[2026-08-11 02:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786394287000,"timestamp_ms":1786394287000,"timestamp_seconds":1786394287,"priority":1,"record_length":96,"hex_timestamp":"0000019fed659b98"} 
[2026-08-11 02:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 02:09:59] 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-08-11 02: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-08-11 02:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:09:59] 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-08-11 02:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316932096001,"66":27745,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8946963583459911680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316932096001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:09:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:09:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8946963583459911680,"description":"Unknown IO ID 45"} 
[2026-08-11 02:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316932096001,"power":27745,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8946963583459911680}} 
[2026-08-11 02:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":152314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:09:59] local.INFO: GPS data processed {"connection_id":152314,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:09:59] local.INFO: Acknowledgment sent {"connection_id":152314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:10:30] local.INFO: TCP Data received {"connection_id":152314,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:10:30] local.INFO: Processing buffer {"connection_id":152314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:10:30] local.INFO: Packet analysis {"connection_id":152314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:10:30] local.INFO: Extracted packet for processing {"connection_id":152314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763614400,"raw_latitude":102597752,"longitude_deg":76.36144,"latitude_deg":10.2597752,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d4c0","hex_latitude":"061d8478","is_valid_coordinates":true} 
[2026-08-11 02:10:30] 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-08-11 02:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316937472001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786394293000,"timestamp_ms":1786394293000,"timestamp_seconds":1786394293,"priority":1,"record_length":96,"hex_timestamp":"0000019fed65b308"} 
[2026-08-11 02:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02:10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 02:10:30] 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-08-11 02:10: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-08-11 02:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:10:30] 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-08-11 02:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316937472001,"66":27974,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316937472001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:10:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:10:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316937472001,"power":27974,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":152314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:10:30] local.INFO: GPS data processed {"connection_id":152314,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:10:30] local.INFO: Acknowledgment sent {"connection_id":152314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:10:53] local.INFO: TCP Data received {"connection_id":152315,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:10:53] local.INFO: Processing buffer {"connection_id":152315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:10:53] local.INFO: IMEI packet received {"connection_id":152315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":152315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:10:59] local.INFO: TCP Data received {"connection_id":152315,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:10:59] local.INFO: Processing buffer {"connection_id":152315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:10:59] local.INFO: IMEI packet received {"connection_id":152315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":152315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:10:59] local.INFO: TCP Data received {"connection_id":152315,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:10:59] local.INFO: Processing buffer {"connection_id":152315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:10:59] local.INFO: Packet analysis {"connection_id":152315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:10:59] local.INFO: Extracted packet for processing {"connection_id":152315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763614400,"raw_latitude":102597752,"longitude_deg":76.36144,"latitude_deg":10.2597752,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d4c0","hex_latitude":"061d8478","is_valid_coordinates":true} 
[2026-08-11 02:10: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-08-11 02:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316937472001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786394293000,"timestamp_ms":1786394293000,"timestamp_seconds":1786394293,"priority":1,"record_length":96,"hex_timestamp":"0000019fed65b308"} 
[2026-08-11 02:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 02:10:59] 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-08-11 02: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-08-11 02:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:10:59] 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-08-11 02:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316937472001,"66":27974,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316937472001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:10:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:10:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316937472001,"power":27974,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":152315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:10:59] local.INFO: GPS data processed {"connection_id":152315,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:10:59] local.INFO: Acknowledgment sent {"connection_id":152315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:11:30] local.INFO: TCP Data received {"connection_id":152315,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:11:30] local.INFO: Processing buffer {"connection_id":152315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:11:30] local.INFO: Packet analysis {"connection_id":152315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:11:30] local.INFO: Extracted packet for processing {"connection_id":152315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763614400,"raw_latitude":102597752,"longitude_deg":76.36144,"latitude_deg":10.2597752,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d4c0","hex_latitude":"061d8478","is_valid_coordinates":true} 
[2026-08-11 02:11:30] 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-08-11 02:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316937472001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786394293000,"timestamp_ms":1786394293000,"timestamp_seconds":1786394293,"priority":1,"record_length":96,"hex_timestamp":"0000019fed65b308"} 
[2026-08-11 02:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02:11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 02:11:30] 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-08-11 02:11: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-08-11 02:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:11:30] 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-08-11 02:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316937472001,"66":27974,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316937472001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:11:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:11:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316937472001,"power":27974,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":152315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:11:30] local.INFO: GPS data processed {"connection_id":152315,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:11:30] local.INFO: Acknowledgment sent {"connection_id":152315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:11:59] local.INFO: TCP Data received {"connection_id":154652,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:11:59] local.INFO: Processing buffer {"connection_id":154652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:11:59] local.INFO: IMEI packet received {"connection_id":154652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":154652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:12:04] local.INFO: TCP Data received {"connection_id":154652,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:12:04] local.INFO: Processing buffer {"connection_id":154652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:12:04] local.INFO: IMEI packet received {"connection_id":154652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":154652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:12:04] local.INFO: TCP Data received {"connection_id":154652,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:12:04] local.INFO: Processing buffer {"connection_id":154652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:12:04] local.INFO: Packet analysis {"connection_id":154652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:12:04] local.INFO: Extracted packet for processing {"connection_id":154652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763614400,"raw_latitude":102597752,"longitude_deg":76.36144,"latitude_deg":10.2597752,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d4c0","hex_latitude":"061d8478","is_valid_coordinates":true} 
[2026-08-11 02:12: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-08-11 02:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316937472001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786394293000,"timestamp_ms":1786394293000,"timestamp_seconds":1786394293,"priority":1,"record_length":96,"hex_timestamp":"0000019fed65b308"} 
[2026-08-11 02:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 02:12: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-08-11 02: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-08-11 02:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:12: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-08-11 02:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316937472001,"66":27974,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316937472001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:12:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:12:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316937472001,"power":27974,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":154652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:12:04] local.INFO: GPS data processed {"connection_id":154652,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:12:04] local.INFO: Acknowledgment sent {"connection_id":154652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:12:09] local.INFO: TCP Data received {"connection_id":154652,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:12:09] local.INFO: Processing buffer {"connection_id":154652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:12:09] local.INFO: Packet analysis {"connection_id":154652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:12:09] local.INFO: Extracted packet for processing {"connection_id":154652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763614400,"raw_latitude":102597752,"longitude_deg":76.36144,"latitude_deg":10.2597752,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d4c0","hex_latitude":"061d8478","is_valid_coordinates":true} 
[2026-08-11 02:12: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-08-11 02:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316937472001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786394293000,"timestamp_ms":1786394293000,"timestamp_seconds":1786394293,"priority":1,"record_length":96,"hex_timestamp":"0000019fed65b308"} 
[2026-08-11 02:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 02:12:09] 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-08-11 02: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-08-11 02:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:12:09] 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-08-11 02:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316937472001,"66":27974,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316937472001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:12:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:12:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316937472001,"power":27974,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":154652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:12:09] local.INFO: GPS data processed {"connection_id":154652,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:12:09] local.INFO: Acknowledgment sent {"connection_id":154652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:12:54] local.INFO: TCP Data received {"connection_id":154653,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:12:54] local.INFO: Processing buffer {"connection_id":154653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:12:54] local.INFO: IMEI packet received {"connection_id":154653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":154653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:12:59] local.INFO: TCP Data received {"connection_id":154653,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:12:59] local.INFO: Processing buffer {"connection_id":154653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:12:59] local.INFO: IMEI packet received {"connection_id":154653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":154653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:12:59] local.INFO: TCP Data received {"connection_id":154653,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:12:59] local.INFO: Processing buffer {"connection_id":154653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:12:59] local.INFO: Packet analysis {"connection_id":154653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:12:59] local.INFO: Extracted packet for processing {"connection_id":154653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763614400,"raw_latitude":102597752,"longitude_deg":76.36144,"latitude_deg":10.2597752,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d4c0","hex_latitude":"061d8478","is_valid_coordinates":true} 
[2026-08-11 02:12: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-08-11 02:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316937472001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786394293000,"timestamp_ms":1786394293000,"timestamp_seconds":1786394293,"priority":1,"record_length":96,"hex_timestamp":"0000019fed65b308"} 
[2026-08-11 02:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 02:12:59] 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-08-11 02: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-08-11 02:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:12:59] 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-08-11 02:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316937472001,"66":27974,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316937472001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:12:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:12:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316937472001,"power":27974,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":154653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:12:59] local.INFO: GPS data processed {"connection_id":154653,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:12:59] local.INFO: Acknowledgment sent {"connection_id":154653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:13:30] local.INFO: TCP Data received {"connection_id":154653,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:13:30] local.INFO: Processing buffer {"connection_id":154653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed65b308012d83d4c0061d8478000c005b30..."} 
[2026-08-11 02:13:30] local.INFO: Packet analysis {"connection_id":154653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:13:30] local.INFO: Extracted packet for processing {"connection_id":154653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed65"} 
[2026-08-11 02:13:30] local.INFO: GPS Element Parsed {"raw_longitude":763614400,"raw_latitude":102597752,"longitude_deg":76.36144,"latitude_deg":10.2597752,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d4c0","hex_latitude":"061d8478","is_valid_coordinates":true} 
[2026-08-11 02:13:30] 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-08-11 02:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316937472001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786394293000,"timestamp_ms":1786394293000,"timestamp_seconds":1786394293,"priority":1,"record_length":96,"hex_timestamp":"0000019fed65b308"} 
[2026-08-11 02:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 02:13:30] 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-08-11 02: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-08-11 02:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:13:30] 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-08-11 02:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316937472001,"66":27974,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316937472001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:13:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:13:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316937472001,"power":27974,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":154653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:13:30] local.INFO: GPS data processed {"connection_id":154653,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:13:30] local.INFO: Acknowledgment sent {"connection_id":154653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:13:54] local.INFO: TCP Data received {"connection_id":151926,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:13:54] local.INFO: Processing buffer {"connection_id":151926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:13:54] local.INFO: IMEI packet received {"connection_id":151926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":151926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:13:54] local.INFO: TCP Data received {"connection_id":151926,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:13:54] local.INFO: Processing buffer {"connection_id":151926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:13:54] local.INFO: IMEI packet received {"connection_id":151926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":151926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:13:59] local.INFO: TCP Data received {"connection_id":151926,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:13:59] local.INFO: Processing buffer {"connection_id":151926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:13:59] local.INFO: IMEI packet received {"connection_id":151926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":151926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:14:00] local.INFO: TCP Data received {"connection_id":151926,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:14:00] local.INFO: Processing buffer {"connection_id":151926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:14:00] local.INFO: Packet analysis {"connection_id":151926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:14:00] local.INFO: Extracted packet for processing {"connection_id":151926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316939008001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786394597000,"timestamp_ms":1786394597000,"timestamp_seconds":1786394597,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6a5688"} 
[2026-08-11 02:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 02:14:00] 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-08-11 02: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-08-11 02:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:14:00] 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-08-11 02:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316939008001,"66":25582,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316939008001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:14:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:14:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316939008001,"power":25582,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":151926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:14:00] local.INFO: GPS data processed {"connection_id":151926,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:14:00] local.INFO: Acknowledgment sent {"connection_id":151926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:14:31] local.INFO: TCP Data received {"connection_id":151926,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:14:31] local.INFO: Processing buffer {"connection_id":151926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:14:31] local.INFO: Packet analysis {"connection_id":151926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:14:31] local.INFO: Extracted packet for processing {"connection_id":151926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316939008001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786394597000,"timestamp_ms":1786394597000,"timestamp_seconds":1786394597,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6a5688"} 
[2026-08-11 02:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 02:14:31] 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-08-11 02: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-08-11 02:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:14:31] 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-08-11 02:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316939008001,"66":25582,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316939008001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:14:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:14:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316939008001,"power":25582,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":151926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:14:31] local.INFO: GPS data processed {"connection_id":151926,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:14:31] local.INFO: Acknowledgment sent {"connection_id":151926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:14:53] local.INFO: TCP Data received {"connection_id":151927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:14:53] local.INFO: Processing buffer {"connection_id":151927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:14:53] local.INFO: IMEI packet received {"connection_id":151927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":151927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:14:59] local.INFO: TCP Data received {"connection_id":151927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:14:59] local.INFO: Processing buffer {"connection_id":151927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:14:59] local.INFO: IMEI packet received {"connection_id":151927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":151927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:15:00] local.INFO: TCP Data received {"connection_id":151927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:15:00] local.INFO: Processing buffer {"connection_id":151927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:15:00] local.INFO: Packet analysis {"connection_id":151927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:15:00] local.INFO: Extracted packet for processing {"connection_id":151927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:15:00] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316939008001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786394597000,"timestamp_ms":1786394597000,"timestamp_seconds":1786394597,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6a5688"} 
[2026-08-11 02:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 02:15:00] 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-08-11 02: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-08-11 02:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 02:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316939008001,"66":25582,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316939008001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:15:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:15:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316939008001,"power":25582,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":151927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:15:00] local.INFO: GPS data processed {"connection_id":151927,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:15:00] local.INFO: Acknowledgment sent {"connection_id":151927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:15:31] local.INFO: TCP Data received {"connection_id":151927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:15:31] local.INFO: Processing buffer {"connection_id":151927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:15:31] local.INFO: Packet analysis {"connection_id":151927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:15:31] local.INFO: Extracted packet for processing {"connection_id":151927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:15:31] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316939008001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786394597000,"timestamp_ms":1786394597000,"timestamp_seconds":1786394597,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6a5688"} 
[2026-08-11 02:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 02:15:31] 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-08-11 02: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-08-11 02:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 02:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316939008001,"66":25582,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316939008001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:15:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:15:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316939008001,"power":25582,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":151927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:15:31] local.INFO: GPS data processed {"connection_id":151927,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:15:31] local.INFO: Acknowledgment sent {"connection_id":151927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:15:53] local.INFO: TCP Data received {"connection_id":153246,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:15:53] local.INFO: Processing buffer {"connection_id":153246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:15:53] local.INFO: IMEI packet received {"connection_id":153246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":153246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:15:59] local.INFO: TCP Data received {"connection_id":153246,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:15:59] local.INFO: Processing buffer {"connection_id":153246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:15:59] local.INFO: IMEI packet received {"connection_id":153246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":153246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:16:01] local.INFO: TCP Data received {"connection_id":153246,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:16:01] local.INFO: Processing buffer {"connection_id":153246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:16:01] local.INFO: Packet analysis {"connection_id":153246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:16:01] local.INFO: Extracted packet for processing {"connection_id":153246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 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-08-11 02:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316939008001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786394597000,"timestamp_ms":1786394597000,"timestamp_seconds":1786394597,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6a5688"} 
[2026-08-11 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-08-11 02:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 02:16:01] 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-08-11 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-08-11 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-08-11 02:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:16: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-08-11 02:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316939008001,"66":25582,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316939008001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:16:01] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:16:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316939008001,"power":25582,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":153246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:16:01] local.INFO: GPS data processed {"connection_id":153246,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:16:01] local.INFO: Acknowledgment sent {"connection_id":153246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:16:32] local.INFO: TCP Data received {"connection_id":153246,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:16:32] local.INFO: Processing buffer {"connection_id":153246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:16:32] local.INFO: Packet analysis {"connection_id":153246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:16:32] local.INFO: Extracted packet for processing {"connection_id":153246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 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-08-11 02:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316939008001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786394597000,"timestamp_ms":1786394597000,"timestamp_seconds":1786394597,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6a5688"} 
[2026-08-11 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-08-11 02:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 02:16:32] 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-08-11 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-08-11 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-08-11 02:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":153246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":153246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":153246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:16: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-08-11 02:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316939008001,"66":25582,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316939008001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:16:32] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:16:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316939008001,"power":25582,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":153246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:16:32] local.INFO: GPS data processed {"connection_id":153246,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:16:32] local.INFO: Acknowledgment sent {"connection_id":153246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:16:59] local.INFO: TCP Data received {"connection_id":151928,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:16:59] local.INFO: Processing buffer {"connection_id":151928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:16:59] local.INFO: IMEI packet received {"connection_id":151928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":151928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:17:03] local.INFO: TCP Data received {"connection_id":151928,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:17:03] local.INFO: Processing buffer {"connection_id":151928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:17:03] local.INFO: IMEI packet received {"connection_id":151928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":151928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:17:04] local.INFO: TCP Data received {"connection_id":151928,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:17:04] local.INFO: Processing buffer {"connection_id":151928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:17:04] local.INFO: Packet analysis {"connection_id":151928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:17:04] local.INFO: Extracted packet for processing {"connection_id":151928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:17:04] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316939008001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786394597000,"timestamp_ms":1786394597000,"timestamp_seconds":1786394597,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6a5688"} 
[2026-08-11 02:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":70,"data_length":795,"current_offset":136} 
[2026-08-11 02:17:04] 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-08-11 02: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-08-11 02:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:17: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-08-11 02:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316939008001,"66":25582,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316939008001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:17:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:17:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316939008001,"power":25582,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":151928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:17:04] local.INFO: GPS data processed {"connection_id":151928,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:17:04] local.INFO: Acknowledgment sent {"connection_id":151928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:17:09] local.INFO: TCP Data received {"connection_id":151928,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:17:09] local.INFO: Processing buffer {"connection_id":151928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:17:09] local.INFO: Packet analysis {"connection_id":151928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:17:09] local.INFO: Extracted packet for processing {"connection_id":151928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 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-08-11 02:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316939008001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786394597000,"timestamp_ms":1786394597000,"timestamp_seconds":1786394597,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6a5688"} 
[2026-08-11 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-08-11 02:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 02:17: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-08-11 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-08-11 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-08-11 02:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:17:09] 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-08-11 02:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316939008001,"66":25582,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316939008001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:17:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:17:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316939008001,"power":25582,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":151928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:17:09] local.INFO: GPS data processed {"connection_id":151928,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:17:09] local.INFO: Acknowledgment sent {"connection_id":151928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:17:54] local.INFO: TCP Data received {"connection_id":151929,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:17:54] local.INFO: Processing buffer {"connection_id":151929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:17:54] local.INFO: IMEI packet received {"connection_id":151929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":151929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:17:59] local.INFO: TCP Data received {"connection_id":151929,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:17:59] local.INFO: Processing buffer {"connection_id":151929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:17:59] local.INFO: IMEI packet received {"connection_id":151929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":151929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:17:59] local.INFO: TCP Data received {"connection_id":151929,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:17:59] local.INFO: Processing buffer {"connection_id":151929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:17:59] local.INFO: Packet analysis {"connection_id":151929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:17:59] local.INFO: Extracted packet for processing {"connection_id":151929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316939008001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786394597000,"timestamp_ms":1786394597000,"timestamp_seconds":1786394597,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6a5688"} 
[2026-08-11 02:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 02:17: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-08-11 02: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-08-11 02:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:17:59] 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-08-11 02:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316939008001,"66":25582,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316939008001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:17:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:17:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316939008001,"power":25582,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":151929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:17:59] local.INFO: GPS data processed {"connection_id":151929,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:17:59] local.INFO: Acknowledgment sent {"connection_id":151929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:18:30] local.INFO: TCP Data received {"connection_id":151929,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:18:30] local.INFO: Processing buffer {"connection_id":151929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6a5688012d83d280061d8448000c005b30..."} 
[2026-08-11 02:18:30] local.INFO: Packet analysis {"connection_id":151929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:18:30] local.INFO: Extracted packet for processing {"connection_id":151929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6a"} 
[2026-08-11 02:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02:18: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-08-11 02:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457316939008001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786394597000,"timestamp_ms":1786394597000,"timestamp_seconds":1786394597,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6a5688"} 
[2026-08-11 02:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02:18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 02:18:30] 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-08-11 02:18: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-08-11 02:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:18:30] 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-08-11 02:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457316939008001,"66":25582,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457316939008001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:18:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:18:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457316939008001,"power":25582,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":151929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:18:30] local.INFO: GPS data processed {"connection_id":151929,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:18:30] local.INFO: Acknowledgment sent {"connection_id":151929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:18:54] local.INFO: TCP Data received {"connection_id":151930,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:18:54] local.INFO: Processing buffer {"connection_id":151930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:18:54] local.INFO: IMEI packet received {"connection_id":151930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":151930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:18:56] local.INFO: TCP Data received {"connection_id":151930,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:18:56] local.INFO: Processing buffer {"connection_id":151930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:18:56] local.INFO: IMEI packet received {"connection_id":151930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":151930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:18:59] local.INFO: TCP Data received {"connection_id":151930,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:18:59] local.INFO: Processing buffer {"connection_id":151930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:18:59] local.INFO: IMEI packet received {"connection_id":151930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":151930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:19:00] local.INFO: TCP Data received {"connection_id":151930,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:19:00] local.INFO: Processing buffer {"connection_id":151930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:19:00] local.INFO: Packet analysis {"connection_id":151930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:19:00] local.INFO: Extracted packet for processing {"connection_id":151930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317016832001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786394898000,"timestamp_ms":1786394898000,"timestamp_seconds":1786394898,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6eee50"} 
[2026-08-11 02:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:19:00] 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-08-11 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 02:19:00] 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-08-11 02: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-08-11 02:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:19:00] 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-08-11 02:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317016832001,"66":26223,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317016832001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:19:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:19:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317016832001,"power":26223,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":151930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:19:00] local.INFO: GPS data processed {"connection_id":151930,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:19:00] local.INFO: Acknowledgment sent {"connection_id":151930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:19:04] local.INFO: TCP Data received {"connection_id":151930,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:19:04] local.INFO: Processing buffer {"connection_id":151930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:19:04] local.INFO: Packet analysis {"connection_id":151930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:19:04] local.INFO: Extracted packet for processing {"connection_id":151930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317016832001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786394898000,"timestamp_ms":1786394898000,"timestamp_seconds":1786394898,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6eee50"} 
[2026-08-11 02:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:19:04] 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-08-11 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 02:19:04] 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-08-11 02: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-08-11 02:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:19:04] 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-08-11 02:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317016832001,"66":26223,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317016832001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:19:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:19:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317016832001,"power":26223,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":151930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:19:04] local.INFO: GPS data processed {"connection_id":151930,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:19:04] local.INFO: Acknowledgment sent {"connection_id":151930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:19:35] local.INFO: TCP Data received {"connection_id":151930,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:19:35] local.INFO: Processing buffer {"connection_id":151930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:19:35] local.INFO: Packet analysis {"connection_id":151930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:19:35] local.INFO: Extracted packet for processing {"connection_id":151930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:19:35] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317016832001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786394898000,"timestamp_ms":1786394898000,"timestamp_seconds":1786394898,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6eee50"} 
[2026-08-11 02:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:19:35] 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-08-11 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 02:19:35] 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-08-11 02: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-08-11 02:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:19:35] 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-08-11 02:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317016832001,"66":26223,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317016832001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:19:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:19:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317016832001,"power":26223,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":151930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:19:35] local.INFO: GPS data processed {"connection_id":151930,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:19:35] local.INFO: Acknowledgment sent {"connection_id":151930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:19:53] local.INFO: TCP Data received {"connection_id":153247,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:19:53] local.INFO: Processing buffer {"connection_id":153247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:19:53] local.INFO: IMEI packet received {"connection_id":153247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":153247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:19:59] local.INFO: TCP Data received {"connection_id":153247,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:19:59] local.INFO: Processing buffer {"connection_id":153247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:19:59] local.INFO: IMEI packet received {"connection_id":153247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":153247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:19:59] local.INFO: TCP Data received {"connection_id":153247,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:19:59] local.INFO: Processing buffer {"connection_id":153247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:19:59] local.INFO: Packet analysis {"connection_id":153247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:19:59] local.INFO: Extracted packet for processing {"connection_id":153247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:19:59] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317016832001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786394898000,"timestamp_ms":1786394898000,"timestamp_seconds":1786394898,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6eee50"} 
[2026-08-11 02:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:19:59] 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-08-11 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 02:19:59] 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-08-11 02: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-08-11 02:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 02:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317016832001,"66":26223,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317016832001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:19:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:19:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317016832001,"power":26223,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":153247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:19:59] local.INFO: GPS data processed {"connection_id":153247,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:19:59] local.INFO: Acknowledgment sent {"connection_id":153247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:20:31] local.INFO: TCP Data received {"connection_id":153247,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:20:31] local.INFO: Processing buffer {"connection_id":153247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:20:31] local.INFO: Packet analysis {"connection_id":153247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:20:31] local.INFO: Extracted packet for processing {"connection_id":153247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:20:31] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317016832001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786394898000,"timestamp_ms":1786394898000,"timestamp_seconds":1786394898,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6eee50"} 
[2026-08-11 02:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:20:31] 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-08-11 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 02:20:31] 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-08-11 02: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-08-11 02:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 02:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317016832001,"66":26223,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317016832001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:20:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:20:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317016832001,"power":26223,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":153247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:20:31] local.INFO: GPS data processed {"connection_id":153247,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:20:31] local.INFO: Acknowledgment sent {"connection_id":153247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:20:59] local.INFO: TCP Data received {"connection_id":152316,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:20:59] local.INFO: Processing buffer {"connection_id":152316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:20:59] local.INFO: IMEI packet received {"connection_id":152316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":152316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:21:03] local.INFO: TCP Data received {"connection_id":152316,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:21:03] local.INFO: Processing buffer {"connection_id":152316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:21:03] local.INFO: IMEI packet received {"connection_id":152316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":152316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:21:04] local.INFO: TCP Data received {"connection_id":152316,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:21:04] local.INFO: Processing buffer {"connection_id":152316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:21:04] local.INFO: Packet analysis {"connection_id":152316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:21:04] local.INFO: Extracted packet for processing {"connection_id":152316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:21:04] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317016832001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786394898000,"timestamp_ms":1786394898000,"timestamp_seconds":1786394898,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6eee50"} 
[2026-08-11 02:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:21:04] 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-08-11 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 02:21:04] 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-08-11 02: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-08-11 02:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:21:04] 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-08-11 02:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317016832001,"66":26223,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317016832001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:21:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:21:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317016832001,"power":26223,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":152316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:21:04] local.INFO: GPS data processed {"connection_id":152316,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:21:04] local.INFO: Acknowledgment sent {"connection_id":152316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:21:09] local.INFO: TCP Data received {"connection_id":152316,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:21:09] local.INFO: Processing buffer {"connection_id":152316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:21:09] local.INFO: Packet analysis {"connection_id":152316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:21:09] local.INFO: Extracted packet for processing {"connection_id":152316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:21:09] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02:21: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-08-11 02:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317016832001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786394898000,"timestamp_ms":1786394898000,"timestamp_seconds":1786394898,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6eee50"} 
[2026-08-11 02:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:21:09] 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-08-11 02:21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 02:21:09] 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-08-11 02:21: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-08-11 02:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:21:09] 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-08-11 02:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317016832001,"66":26223,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317016832001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:21:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:21:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317016832001,"power":26223,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":152316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:21:09] local.INFO: GPS data processed {"connection_id":152316,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:21:09] local.INFO: Acknowledgment sent {"connection_id":152316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:21:54] local.INFO: TCP Data received {"connection_id":154654,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:21:54] local.INFO: Processing buffer {"connection_id":154654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:21:54] local.INFO: IMEI packet received {"connection_id":154654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":154654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:21:59] local.INFO: TCP Data received {"connection_id":154654,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:21:59] local.INFO: Processing buffer {"connection_id":154654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:21:59] local.INFO: IMEI packet received {"connection_id":154654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":154654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:21:59] local.INFO: TCP Data received {"connection_id":154654,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:21:59] local.INFO: Processing buffer {"connection_id":154654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:21:59] local.INFO: Packet analysis {"connection_id":154654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:21:59] local.INFO: Extracted packet for processing {"connection_id":154654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02:21: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-08-11 02:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317016832001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786394898000,"timestamp_ms":1786394898000,"timestamp_seconds":1786394898,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6eee50"} 
[2026-08-11 02:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:21:59] 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-08-11 02:21: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":238,"data_length":795,"current_offset":136} 
[2026-08-11 02:21:59] 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-08-11 02:21: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-08-11 02:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:21:59] 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-08-11 02:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317016832001,"66":26223,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317016832001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:21:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:21:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317016832001,"power":26223,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":154654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:21:59] local.INFO: GPS data processed {"connection_id":154654,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:21:59] local.INFO: Acknowledgment sent {"connection_id":154654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:22:30] local.INFO: TCP Data received {"connection_id":154654,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:22:30] local.INFO: Processing buffer {"connection_id":154654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:22:30] local.INFO: Packet analysis {"connection_id":154654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:22:30] local.INFO: Extracted packet for processing {"connection_id":154654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317016832001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786394898000,"timestamp_ms":1786394898000,"timestamp_seconds":1786394898,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6eee50"} 
[2026-08-11 02:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:22:30] 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-08-11 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 02:22:30] 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-08-11 02: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-08-11 02:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:22:30] 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-08-11 02:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317016832001,"66":26223,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317016832001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:22:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:22:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317016832001,"power":26223,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":154654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:22:30] local.INFO: GPS data processed {"connection_id":154654,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:22:30] local.INFO: Acknowledgment sent {"connection_id":154654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:22:54] local.INFO: TCP Data received {"connection_id":151931,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:22:54] local.INFO: Processing buffer {"connection_id":151931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:22:54] local.INFO: IMEI packet received {"connection_id":151931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":151931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:22:59] local.INFO: TCP Data received {"connection_id":151931,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:22:59] local.INFO: Processing buffer {"connection_id":151931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:22:59] local.INFO: IMEI packet received {"connection_id":151931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":151931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:22:59] local.INFO: TCP Data received {"connection_id":151931,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:22:59] local.INFO: Processing buffer {"connection_id":151931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:22:59] local.INFO: Packet analysis {"connection_id":151931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:22:59] local.INFO: Extracted packet for processing {"connection_id":151931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317016832001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786394898000,"timestamp_ms":1786394898000,"timestamp_seconds":1786394898,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6eee50"} 
[2026-08-11 02:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:22:59] 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-08-11 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 02:22:59] 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-08-11 02: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-08-11 02:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:22:59] 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-08-11 02:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317016832001,"66":26223,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317016832001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:22:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:22:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317016832001,"power":26223,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":151931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:22:59] local.INFO: GPS data processed {"connection_id":151931,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:22:59] local.INFO: Acknowledgment sent {"connection_id":151931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:23:30] local.INFO: TCP Data received {"connection_id":151931,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:23:30] local.INFO: Processing buffer {"connection_id":151931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed6eee50012d83d280061d8448000c005b30..."} 
[2026-08-11 02:23:30] local.INFO: Packet analysis {"connection_id":151931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:23:30] local.INFO: Extracted packet for processing {"connection_id":151931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed6e"} 
[2026-08-11 02:23:30] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317016832001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786394898000,"timestamp_ms":1786394898000,"timestamp_seconds":1786394898,"priority":1,"record_length":96,"hex_timestamp":"0000019fed6eee50"} 
[2026-08-11 02:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:23:30] 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-08-11 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 02:23:30] 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-08-11 02: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-08-11 02:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:23:30] 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-08-11 02:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317016832001,"66":26223,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317016832001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:23:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:23:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317016832001,"power":26223,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":151931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:23:30] local.INFO: GPS data processed {"connection_id":151931,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:23:30] local.INFO: Acknowledgment sent {"connection_id":151931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:23:54] local.INFO: TCP Data received {"connection_id":153248,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:23:54] local.INFO: Processing buffer {"connection_id":153248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:23:54] local.INFO: IMEI packet received {"connection_id":153248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":153248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:23:57] local.INFO: TCP Data received {"connection_id":153248,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:23:57] local.INFO: Processing buffer {"connection_id":153248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:23:57] local.INFO: IMEI packet received {"connection_id":153248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":153248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:24:02] local.INFO: TCP Data received {"connection_id":153248,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:24:02] local.INFO: Processing buffer {"connection_id":153248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:24:02] local.INFO: Packet analysis {"connection_id":153248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:24:02] local.INFO: Extracted packet for processing {"connection_id":153248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02:24: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-08-11 02:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317093888001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786395199000,"timestamp_ms":1786395199000,"timestamp_seconds":1786395199,"priority":1,"record_length":96,"hex_timestamp":"0000019fed738618"} 
[2026-08-11 02:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:24:02] 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-08-11 02:24: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-11 02:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02:24: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-08-11 02:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":153248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":153248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":153248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:24: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-08-11 02:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317093888001,"66":26082,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317093888001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:24:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:24:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317093888001,"power":26082,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":153248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:24:02] local.INFO: GPS data processed {"connection_id":153248,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:24:02] local.INFO: Acknowledgment sent {"connection_id":153248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:24:33] local.INFO: TCP Data received {"connection_id":153248,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:24:33] local.INFO: Processing buffer {"connection_id":153248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:24:33] local.INFO: Packet analysis {"connection_id":153248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:24:33] local.INFO: Extracted packet for processing {"connection_id":153248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02:24: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-08-11 02:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317093888001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786395199000,"timestamp_ms":1786395199000,"timestamp_seconds":1786395199,"priority":1,"record_length":96,"hex_timestamp":"0000019fed738618"} 
[2026-08-11 02:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:24:33] 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-08-11 02:24: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":111,"data_length":795,"current_offset":136} 
[2026-08-11 02:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02:24: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-08-11 02:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":153248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":153248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":153248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:24: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-08-11 02:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317093888001,"66":26082,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317093888001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:24:33] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:24:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317093888001,"power":26082,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":153248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:24:33] local.INFO: GPS data processed {"connection_id":153248,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:24:33] local.INFO: Acknowledgment sent {"connection_id":153248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:24:53] local.INFO: TCP Data received {"connection_id":151932,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:24:53] local.INFO: Processing buffer {"connection_id":151932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:24:53] local.INFO: IMEI packet received {"connection_id":151932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":151932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:24:59] local.INFO: TCP Data received {"connection_id":151932,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:24:59] local.INFO: Processing buffer {"connection_id":151932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:24:59] local.INFO: IMEI packet received {"connection_id":151932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":151932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:25:00] local.INFO: TCP Data received {"connection_id":151932,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:25:00] local.INFO: Processing buffer {"connection_id":151932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:25:00] local.INFO: Packet analysis {"connection_id":151932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:25:00] local.INFO: Extracted packet for processing {"connection_id":151932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317093888001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786395199000,"timestamp_ms":1786395199000,"timestamp_seconds":1786395199,"priority":1,"record_length":96,"hex_timestamp":"0000019fed738618"} 
[2026-08-11 02:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:25:00] 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-08-11 02: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-11 02:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02: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-08-11 02:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:25:00] 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-08-11 02:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317093888001,"66":26082,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317093888001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:25:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:25:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317093888001,"power":26082,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":151932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:25:00] local.INFO: GPS data processed {"connection_id":151932,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:25:00] local.INFO: Acknowledgment sent {"connection_id":151932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:25:31] local.INFO: TCP Data received {"connection_id":151932,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:25:31] local.INFO: Processing buffer {"connection_id":151932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:25:31] local.INFO: Packet analysis {"connection_id":151932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:25:31] local.INFO: Extracted packet for processing {"connection_id":151932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317093888001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786395199000,"timestamp_ms":1786395199000,"timestamp_seconds":1786395199,"priority":1,"record_length":96,"hex_timestamp":"0000019fed738618"} 
[2026-08-11 02:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:25:31] 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-08-11 02: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-11 02:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02: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-08-11 02:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:25:31] 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-08-11 02:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317093888001,"66":26082,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317093888001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:25:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:25:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317093888001,"power":26082,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":151932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:25:31] local.INFO: GPS data processed {"connection_id":151932,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:25:31] local.INFO: Acknowledgment sent {"connection_id":151932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:25:59] local.INFO: TCP Data received {"connection_id":152317,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:25:59] local.INFO: Processing buffer {"connection_id":152317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:25:59] local.INFO: IMEI packet received {"connection_id":152317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":152317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:26:04] local.INFO: TCP Data received {"connection_id":152317,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:26:04] local.INFO: Processing buffer {"connection_id":152317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:26:04] local.INFO: IMEI packet received {"connection_id":152317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":152317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:26:04] local.INFO: TCP Data received {"connection_id":152317,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:26:04] local.INFO: Processing buffer {"connection_id":152317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:26:04] local.INFO: Packet analysis {"connection_id":152317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:26:04] local.INFO: Extracted packet for processing {"connection_id":152317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:26:04] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317093888001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786395199000,"timestamp_ms":1786395199000,"timestamp_seconds":1786395199,"priority":1,"record_length":96,"hex_timestamp":"0000019fed738618"} 
[2026-08-11 02:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:26:04] 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-08-11 02: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-11 02:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02: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-08-11 02:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:26: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-08-11 02:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317093888001,"66":26082,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317093888001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:26:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:26:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317093888001,"power":26082,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":152317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:26:04] local.INFO: GPS data processed {"connection_id":152317,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:26:04] local.INFO: Acknowledgment sent {"connection_id":152317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:26:09] local.INFO: TCP Data received {"connection_id":152317,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:26:09] local.INFO: Processing buffer {"connection_id":152317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:26:09] local.INFO: Packet analysis {"connection_id":152317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:26:09] local.INFO: Extracted packet for processing {"connection_id":152317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317093888001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786395199000,"timestamp_ms":1786395199000,"timestamp_seconds":1786395199,"priority":1,"record_length":96,"hex_timestamp":"0000019fed738618"} 
[2026-08-11 02:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:26:09] 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-08-11 02: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-11 02:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02: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-08-11 02:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:26: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-08-11 02:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317093888001,"66":26082,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317093888001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:26:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:26:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317093888001,"power":26082,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":152317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:26:09] local.INFO: GPS data processed {"connection_id":152317,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:26:09] local.INFO: Acknowledgment sent {"connection_id":152317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:26:54] local.INFO: TCP Data received {"connection_id":153249,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:26:54] local.INFO: Processing buffer {"connection_id":153249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:26:54] local.INFO: IMEI packet received {"connection_id":153249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":153249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:26:59] local.INFO: TCP Data received {"connection_id":153249,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:26:59] local.INFO: Processing buffer {"connection_id":153249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:26:59] local.INFO: IMEI packet received {"connection_id":153249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":153249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:26:59] local.INFO: TCP Data received {"connection_id":153249,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:26:59] local.INFO: Processing buffer {"connection_id":153249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:26:59] local.INFO: Packet analysis {"connection_id":153249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:26:59] local.INFO: Extracted packet for processing {"connection_id":153249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317093888001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786395199000,"timestamp_ms":1786395199000,"timestamp_seconds":1786395199,"priority":1,"record_length":96,"hex_timestamp":"0000019fed738618"} 
[2026-08-11 02:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:26:59] 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-08-11 02: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-11 02:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02: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-08-11 02:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:26:59] 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-08-11 02:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317093888001,"66":26082,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317093888001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:26:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:26:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317093888001,"power":26082,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":153249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:26:59] local.INFO: GPS data processed {"connection_id":153249,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:26:59] local.INFO: Acknowledgment sent {"connection_id":153249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:27:30] local.INFO: TCP Data received {"connection_id":153249,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:27:30] local.INFO: Processing buffer {"connection_id":153249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:27:30] local.INFO: Packet analysis {"connection_id":153249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:27:30] local.INFO: Extracted packet for processing {"connection_id":153249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02:27: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-08-11 02:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317093888001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786395199000,"timestamp_ms":1786395199000,"timestamp_seconds":1786395199,"priority":1,"record_length":96,"hex_timestamp":"0000019fed738618"} 
[2026-08-11 02:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:27:30] 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-08-11 02:27: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-11 02:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02:27: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-08-11 02:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:27:30] 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-08-11 02:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317093888001,"66":26082,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317093888001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:27:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:27:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317093888001,"power":26082,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":153249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:27:30] local.INFO: GPS data processed {"connection_id":153249,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:27:30] local.INFO: Acknowledgment sent {"connection_id":153249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:27:54] local.INFO: TCP Data received {"connection_id":153250,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:27:54] local.INFO: Processing buffer {"connection_id":153250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:27:54] local.INFO: IMEI packet received {"connection_id":153250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":153250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:27:59] local.INFO: TCP Data received {"connection_id":153250,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:27:59] local.INFO: Processing buffer {"connection_id":153250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:27:59] local.INFO: IMEI packet received {"connection_id":153250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":153250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:27:59] local.INFO: TCP Data received {"connection_id":153250,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:27:59] local.INFO: Processing buffer {"connection_id":153250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:27:59] local.INFO: Packet analysis {"connection_id":153250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:27:59] local.INFO: Extracted packet for processing {"connection_id":153250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317093888001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786395199000,"timestamp_ms":1786395199000,"timestamp_seconds":1786395199,"priority":1,"record_length":96,"hex_timestamp":"0000019fed738618"} 
[2026-08-11 02:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:27:59] 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-08-11 02: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-11 02:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02:27: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-08-11 02:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:27:59] 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-08-11 02:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317093888001,"66":26082,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317093888001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:27:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:27:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317093888001,"power":26082,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":153250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:27:59] local.INFO: GPS data processed {"connection_id":153250,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:27:59] local.INFO: Acknowledgment sent {"connection_id":153250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:28:34] local.INFO: TCP Data received {"connection_id":153250,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:28:34] local.INFO: Processing buffer {"connection_id":153250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed738618012d83d280061d8448000c005b30..."} 
[2026-08-11 02:28:34] local.INFO: Packet analysis {"connection_id":153250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:28:34] local.INFO: Extracted packet for processing {"connection_id":153250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed73"} 
[2026-08-11 02:28:34] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02:28: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-08-11 02:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317093888001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786395199000,"timestamp_ms":1786395199000,"timestamp_seconds":1786395199,"priority":1,"record_length":96,"hex_timestamp":"0000019fed738618"} 
[2026-08-11 02:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:28:34] 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-08-11 02:28: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-11 02:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02:28: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-08-11 02:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:28:34] 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-08-11 02:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317093888001,"66":26082,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317093888001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:28:34] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:28:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317093888001,"power":26082,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":153250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:28:34] local.INFO: GPS data processed {"connection_id":153250,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:28:34] local.INFO: Acknowledgment sent {"connection_id":153250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:28:54] local.INFO: TCP Data received {"connection_id":153251,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:28:54] local.INFO: Processing buffer {"connection_id":153251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:28:54] local.INFO: IMEI packet received {"connection_id":153251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":153251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:28:58] local.INFO: TCP Data received {"connection_id":153251,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:28:58] local.INFO: Processing buffer {"connection_id":153251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:28:58] local.INFO: IMEI packet received {"connection_id":153251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":153251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:28:58] local.INFO: TCP Data received {"connection_id":153251,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fed781de0012d83d280061d8448000c005b2f..."} 
[2026-08-11 02:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed781de0012d83d280061d8448000c005b2f..."} 
[2026-08-11 02:28:58] local.INFO: Processing buffer {"connection_id":153251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed781de0012d83d280061d8448000c005b2f..."} 
[2026-08-11 02:28:58] local.INFO: Packet analysis {"connection_id":153251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed78"} 
[2026-08-11 02:28:58] local.INFO: Extracted packet for processing {"connection_id":153251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed78"} 
[2026-08-11 02:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":47,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317170944001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786395500000,"timestamp_ms":1786395500000,"timestamp_seconds":1786395500,"priority":1,"record_length":96,"hex_timestamp":"0000019fed781de0"} 
[2026-08-11 02:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-11 02:28:58] 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-08-11 02: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-08-11 02:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":153251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":153251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":153251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:28:58] 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-08-11 02:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317170944001,"66":26006,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317170944001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:28:58] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:28:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317170944001,"power":26006,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":153251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:28:58] local.INFO: GPS data processed {"connection_id":153251,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:28:58] local.INFO: Acknowledgment sent {"connection_id":153251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:29:29] local.INFO: TCP Data received {"connection_id":153251,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fed781de0012d83d280061d8448000c005b2f..."} 
[2026-08-11 02:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed781de0012d83d280061d8448000c005b2f..."} 
[2026-08-11 02:29:29] local.INFO: Processing buffer {"connection_id":153251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed781de0012d83d280061d8448000c005b2f..."} 
[2026-08-11 02:29:29] local.INFO: Packet analysis {"connection_id":153251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed78"} 
[2026-08-11 02:29:29] local.INFO: Extracted packet for processing {"connection_id":153251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed78"} 
[2026-08-11 02:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":47,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02:29: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-08-11 02:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317170944001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786395500000,"timestamp_ms":1786395500000,"timestamp_seconds":1786395500,"priority":1,"record_length":96,"hex_timestamp":"0000019fed781de0"} 
[2026-08-11 02:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02:29: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-11 02:29:29] 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-08-11 02:29: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-08-11 02:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:29:29] 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-08-11 02:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317170944001,"66":26006,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317170944001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:29:29] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:29:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317170944001,"power":26006,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":153251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:29:29] local.INFO: GPS data processed {"connection_id":153251,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:29:29] local.INFO: Acknowledgment sent {"connection_id":153251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:29:53] local.INFO: TCP Data received {"connection_id":154655,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:29:53] local.INFO: Processing buffer {"connection_id":154655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:29:53] local.INFO: IMEI packet received {"connection_id":154655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":154655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:29:59] local.INFO: TCP Data received {"connection_id":154655,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:29:59] local.INFO: Processing buffer {"connection_id":154655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:29:59] local.INFO: IMEI packet received {"connection_id":154655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":154655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:29:59] local.INFO: TCP Data received {"connection_id":154655,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fed781de0012d83d280061d8448000c005b2f..."} 
[2026-08-11 02:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed781de0012d83d280061d8448000c005b2f..."} 
[2026-08-11 02:29:59] local.INFO: Processing buffer {"connection_id":154655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed781de0012d83d280061d8448000c005b2f..."} 
[2026-08-11 02:29:59] local.INFO: Packet analysis {"connection_id":154655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed78"} 
[2026-08-11 02:29:59] local.INFO: Extracted packet for processing {"connection_id":154655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed78"} 
[2026-08-11 02:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":47,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317170944001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786395500000,"timestamp_ms":1786395500000,"timestamp_seconds":1786395500,"priority":1,"record_length":96,"hex_timestamp":"0000019fed781de0"} 
[2026-08-11 02:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-11 02:29:59] 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-08-11 02: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-08-11 02:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:29:59] 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-08-11 02:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317170944001,"66":26006,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317170944001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:29:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:29:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317170944001,"power":26006,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":154655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:29:59] local.INFO: GPS data processed {"connection_id":154655,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:29:59] local.INFO: Acknowledgment sent {"connection_id":154655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:30:30] local.INFO: TCP Data received {"connection_id":154655,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fed796218012d83d280061d8448000c005b2f..."} 
[2026-08-11 02:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed796218012d83d280061d8448000c005b2f..."} 
[2026-08-11 02:30:30] local.INFO: Processing buffer {"connection_id":154655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed796218012d83d280061d8448000c005b2f..."} 
[2026-08-11 02:30:30] local.INFO: Packet analysis {"connection_id":154655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed79"} 
[2026-08-11 02:30:30] local.INFO: Extracted packet for processing {"connection_id":154655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed79"} 
[2026-08-11 02:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763613824,"raw_latitude":102597704,"longitude_deg":76.3613824,"latitude_deg":10.2597704,"altitude":12,"angle":91,"satellites":47,"speed":0,"hex_longitude":"2d83d280","hex_latitude":"061d8448","is_valid_coordinates":true} 
[2026-08-11 02:30:30] 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-08-11 02:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317248000001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786395583000,"timestamp_ms":1786395583000,"timestamp_seconds":1786395583,"priority":1,"record_length":96,"hex_timestamp":"0000019fed796218"} 
[2026-08-11 02:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 02:30:30] 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-08-11 02: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-08-11 02:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:30:30] 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-08-11 02:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317248000001,"66":25995,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317248000001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:30:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:30:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317248000001,"power":25995,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":154655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:30:30] local.INFO: GPS data processed {"connection_id":154655,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:30:30] local.INFO: Acknowledgment sent {"connection_id":154655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:30:54] local.INFO: TCP Data received {"connection_id":151933,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:30:54] local.INFO: Processing buffer {"connection_id":151933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:30:54] local.INFO: IMEI packet received {"connection_id":151933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":151933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:30:59] local.INFO: TCP Data received {"connection_id":151933,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:30:59] local.INFO: Processing buffer {"connection_id":151933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:30:59] local.INFO: IMEI packet received {"connection_id":151933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":151933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:31:00] local.INFO: TCP Data received {"connection_id":151933,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fed79bfd8012d83d4c0061d8478000c005b2e..."} 
[2026-08-11 02:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed79bfd8012d83d4c0061d8478000c005b2e..."} 
[2026-08-11 02:31:00] local.INFO: Processing buffer {"connection_id":151933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed79bfd8012d83d4c0061d8478000c005b2e..."} 
[2026-08-11 02:31:00] local.INFO: Packet analysis {"connection_id":151933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed79"} 
[2026-08-11 02:31:00] local.INFO: Extracted packet for processing {"connection_id":151933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed79"} 
[2026-08-11 02:31:00] local.INFO: GPS Element Parsed {"raw_longitude":763614400,"raw_latitude":102597752,"longitude_deg":76.36144,"latitude_deg":10.2597752,"altitude":12,"angle":91,"satellites":46,"speed":0,"hex_longitude":"2d83d4c0","hex_latitude":"061d8478","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317269248001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947948745878386688,"note":"Value kept but may cause issues"} 
[2026-08-11 02:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786395607000,"timestamp_ms":1786395607000,"timestamp_seconds":1786395607,"priority":1,"record_length":96,"hex_timestamp":"0000019fed79bfd8"} 
[2026-08-11 02:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 02:31:00] 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-08-11 02: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-08-11 02:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:31:00] 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-08-11 02:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317269248001,"66":27213,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947948745878386688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317269248001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:31:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:31:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947948745878386688,"description":"Unknown IO ID 45"} 
[2026-08-11 02:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317269248001,"power":27213,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947948745878386688}} 
[2026-08-11 02:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":151933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:31:00] local.INFO: GPS data processed {"connection_id":151933,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:31:00] local.INFO: Acknowledgment sent {"connection_id":151933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:31:30] local.INFO: TCP Data received {"connection_id":151933,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7a11e0012d83d4c0061d8478000c005b2d..."} 
[2026-08-11 02:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7a11e0012d83d4c0061d8478000c005b2d..."} 
[2026-08-11 02:31:30] local.INFO: Processing buffer {"connection_id":151933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7a11e0012d83d4c0061d8478000c005b2d..."} 
[2026-08-11 02:31:30] local.INFO: Packet analysis {"connection_id":151933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:31:30] local.INFO: Extracted packet for processing {"connection_id":151933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763614400,"raw_latitude":102597752,"longitude_deg":76.36144,"latitude_deg":10.2597752,"altitude":12,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d83d4c0","hex_latitude":"061d8478","is_valid_coordinates":true} 
[2026-08-11 02:31: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-08-11 02:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317275392001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158292490682368,"note":"Value kept but may cause issues"} 
[2026-08-11 02:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786395628000,"timestamp_ms":1786395628000,"timestamp_seconds":1786395628,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7a11e0"} 
[2026-08-11 02:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:31: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-08-11 02:31: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 02:31:30] 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-08-11 02:31: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-08-11 02:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:31:30] 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-08-11 02:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317275392001,"66":27300,"117":206,"79":21504,"24":0,"16":377158292490682368,"45":-8947315427180775424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317275392001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:31:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:31:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158292490682368,"km_value":377158292490682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317275392001,"power":27300,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":151933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:31:30] local.INFO: GPS data processed {"connection_id":151933,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:31:30] local.INFO: Acknowledgment sent {"connection_id":151933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:31:54] local.INFO: TCP Data received {"connection_id":153252,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:31:54] local.INFO: Processing buffer {"connection_id":153252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:31:54] local.INFO: IMEI packet received {"connection_id":153252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":153252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:31:59] local.INFO: TCP Data received {"connection_id":153252,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:31:59] local.INFO: Processing buffer {"connection_id":153252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:31:59] local.INFO: IMEI packet received {"connection_id":153252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":153252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:31:59] local.INFO: TCP Data received {"connection_id":153252,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7a1d98012d83d4c0061d8510000800782e..."} 
[2026-08-11 02:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7a1d98012d83d4c0061d8510000800782e..."} 
[2026-08-11 02:31:59] local.INFO: Processing buffer {"connection_id":153252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7a1d98012d83d4c0061d8510000800782e..."} 
[2026-08-11 02:31:59] local.INFO: Packet analysis {"connection_id":153252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:31:59] local.INFO: Extracted packet for processing {"connection_id":153252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:31:59] local.INFO: GPS Element Parsed {"raw_longitude":763614400,"raw_latitude":102597904,"longitude_deg":76.36144,"latitude_deg":10.2597904,"altitude":8,"angle":120,"satellites":46,"speed":1,"hex_longitude":"2d83d4c0","hex_latitude":"061d8510","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317280768001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158296785649664,"note":"Value kept but may cause issues"} 
[2026-08-11 02:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180775424,"note":"Value kept but may cause issues"} 
[2026-08-11 02:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786395631000,"timestamp_ms":1786395631000,"timestamp_seconds":1786395631,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7a1d98"} 
[2026-08-11 02:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 02:31:59] 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-08-11 02: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-08-11 02:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:31:59] 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-08-11 02:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317280768001,"66":27376,"117":206,"79":21504,"24":1,"16":377158296785649664,"45":-8947315427180775424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317280768001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:31:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:31:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158296785649664,"km_value":377158296785649.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180775424,"description":"Unknown IO ID 45"} 
[2026-08-11 02:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317280768001,"power":27376,"unknown_117":206,"unknown_79":21504,"ignition":1,"odometer":null,"unknown_45":-8947315427180775424}} 
[2026-08-11 02:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":153252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:31:59] local.INFO: GPS data processed {"connection_id":153252,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:31:59] local.INFO: Acknowledgment sent {"connection_id":153252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:32:30] local.INFO: TCP Data received {"connection_id":153252,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7a2180012d83d540061d84c0000800892c..."} 
[2026-08-11 02:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7a2180012d83d540061d84c0000800892c..."} 
[2026-08-11 02:32:30] local.INFO: Processing buffer {"connection_id":153252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7a2180012d83d540061d84c0000800892c..."} 
[2026-08-11 02:32:30] local.INFO: Packet analysis {"connection_id":153252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:32:30] local.INFO: Extracted packet for processing {"connection_id":153252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:32:30] local.INFO: GPS Element Parsed {"raw_longitude":763614528,"raw_latitude":102597824,"longitude_deg":76.3614528,"latitude_deg":10.2597824,"altitude":8,"angle":137,"satellites":44,"speed":3,"hex_longitude":"2d83d540","hex_latitude":"061d84c0","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317281536001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158305375584256,"note":"Value kept but may cause issues"} 
[2026-08-11 02:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947315427180736512,"note":"Value kept but may cause issues"} 
[2026-08-11 02:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786395632000,"timestamp_ms":1786395632000,"timestamp_seconds":1786395632,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7a2180"} 
[2026-08-11 02:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:32: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-08-11 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 02:32:30] 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-08-11 02: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-08-11 02:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:32:30] 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-08-11 02:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317281536001,"66":27376,"117":206,"79":21504,"24":3,"16":377158305375584256,"45":-8947315427180736512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317281536001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:32:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:32:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158305375584256,"km_value":377158305375584.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947315427180736512,"description":"Unknown IO ID 45"} 
[2026-08-11 02:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317281536001,"power":27376,"unknown_117":206,"unknown_79":21504,"ignition":3,"odometer":null,"unknown_45":-8947315427180736512}} 
[2026-08-11 02:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":153252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:32:30] local.INFO: GPS data processed {"connection_id":153252,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:32:30] local.INFO: Acknowledgment sent {"connection_id":153252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:32:54] local.INFO: TCP Data received {"connection_id":152318,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:32:54] local.INFO: Processing buffer {"connection_id":152318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:32:54] local.INFO: IMEI packet received {"connection_id":152318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":152318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:32:59] local.INFO: TCP Data received {"connection_id":152318,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:32:59] local.INFO: Processing buffer {"connection_id":152318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:32:59] local.INFO: IMEI packet received {"connection_id":152318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":152318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:32:59] local.INFO: TCP Data received {"connection_id":152318,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7a3120012d83d880061d82480008007a2f..."} 
[2026-08-11 02:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7a3120012d83d880061d82480008007a2f..."} 
[2026-08-11 02:32:59] local.INFO: Processing buffer {"connection_id":152318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7a3120012d83d880061d82480008007a2f..."} 
[2026-08-11 02:32:59] local.INFO: Packet analysis {"connection_id":152318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:32:59] local.INFO: Extracted packet for processing {"connection_id":152318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:32:59] local.INFO: GPS Element Parsed {"raw_longitude":763615360,"raw_latitude":102597192,"longitude_deg":76.361536,"latitude_deg":10.2597192,"altitude":8,"angle":122,"satellites":47,"speed":15,"hex_longitude":"2d83d880","hex_latitude":"061d8248","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317281792001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158352620224512,"note":"Value kept but may cause issues"} 
[2026-08-11 02:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947174689692401664,"note":"Value kept but may cause issues"} 
[2026-08-11 02:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786395636000,"timestamp_ms":1786395636000,"timestamp_seconds":1786395636,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7a3120"} 
[2026-08-11 02:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:32:59] 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-08-11 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 02:32:59] 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-08-11 02: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-08-11 02:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:32:59] 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-08-11 02:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317281792001,"66":27365,"117":206,"79":21504,"24":15,"16":377158352620224512,"45":-8947174689692401664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317281792001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:32:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:32:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158352620224512,"km_value":377158352620224.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947174689692401664,"description":"Unknown IO ID 45"} 
[2026-08-11 02:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317281792001,"power":27365,"unknown_117":206,"unknown_79":21504,"ignition":15,"odometer":null,"unknown_45":-8947174689692401664}} 
[2026-08-11 02:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":152318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:33:00] local.INFO: GPS data processed {"connection_id":152318,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:33:00] local.INFO: Acknowledgment sent {"connection_id":152318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:33:30] local.INFO: TCP Data received {"connection_id":152318,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7a4c78012d83e3c0061d7cb00009006e31..."} 
[2026-08-11 02:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7a4c78012d83e3c0061d7cb00009006e31..."} 
[2026-08-11 02:33:30] local.INFO: Processing buffer {"connection_id":152318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7a4c78012d83e3c0061d7cb00009006e31..."} 
[2026-08-11 02:33:30] local.INFO: Packet analysis {"connection_id":152318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:33:30] local.INFO: Extracted packet for processing {"connection_id":152318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:33:30] local.INFO: GPS Element Parsed {"raw_longitude":763618240,"raw_latitude":102595760,"longitude_deg":76.361824,"latitude_deg":10.259576,"altitude":9,"angle":110,"satellites":49,"speed":23,"hex_longitude":"2d83e3c0","hex_latitude":"061d7cb0","is_valid_coordinates":true} 
[2026-08-11 02:33: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-08-11 02:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317282816001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158511534014464,"note":"Value kept but may cause issues"} 
[2026-08-11 02:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8946259896018253824,"note":"Value kept but may cause issues"} 
[2026-08-11 02:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786395643000,"timestamp_ms":1786395643000,"timestamp_seconds":1786395643,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7a4c78"} 
[2026-08-11 02:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02:33: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 02:33:30] 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-08-11 02:33: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-08-11 02:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:33:30] 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-08-11 02:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317282816001,"66":27984,"117":206,"79":21504,"24":23,"16":377158511534014464,"45":-8946259896018253824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317282816001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:33:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:33:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158511534014464,"km_value":377158511534014.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8946259896018253824,"description":"Unknown IO ID 45"} 
[2026-08-11 02:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317282816001,"power":27984,"unknown_117":206,"unknown_79":21504,"ignition":23,"odometer":null,"unknown_45":-8946259896018253824}} 
[2026-08-11 02:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":152318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:33:30] local.INFO: GPS data processed {"connection_id":152318,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:33:30] local.INFO: Acknowledgment sent {"connection_id":152318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:33:54] local.INFO: TCP Data received {"connection_id":154656,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:33:54] local.INFO: Processing buffer {"connection_id":154656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:33:54] local.INFO: IMEI packet received {"connection_id":154656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":154656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:33:59] local.INFO: TCP Data received {"connection_id":154656,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:33:59] local.INFO: Processing buffer {"connection_id":154656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:33:59] local.INFO: IMEI packet received {"connection_id":154656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":154656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:33:59] local.INFO: TCP Data received {"connection_id":154656,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:33:59] local.INFO: Processing buffer {"connection_id":154656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:33:59] local.INFO: Packet analysis {"connection_id":154656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:33:59] local.INFO: Extracted packet for processing {"connection_id":154656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763621952,"raw_latitude":102594296,"longitude_deg":76.3621952,"latitude_deg":10.2594296,"altitude":10,"angle":114,"satellites":49,"speed":20,"hex_longitude":"2d83f240","hex_latitude":"061d76f8","is_valid_coordinates":true} 
[2026-08-11 02:33: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-08-11 02:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317284608001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8943093302530625536,"note":"Value kept but may cause issues"} 
[2026-08-11 02:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786395650000,"timestamp_ms":1786395650000,"timestamp_seconds":1786395650,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7a67d0"} 
[2026-08-11 02:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 02:33:59] 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-08-11 02: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-08-11 02:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:33:59] 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-08-11 02:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317284608001,"66":27843,"117":206,"79":21504,"24":20,"16":377158700512575488,"45":-8943093302530625536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317284608001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:33:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:33:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8943093302530625536,"description":"Unknown IO ID 45"} 
[2026-08-11 02:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317284608001,"power":27843,"unknown_117":206,"unknown_79":21504,"ignition":20,"odometer":null,"unknown_45":-8943093302530625536}} 
[2026-08-11 02:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":154656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:33:59] local.INFO: GPS data processed {"connection_id":154656,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:33:59] local.INFO: Acknowledgment sent {"connection_id":154656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:34:30] local.INFO: TCP Data received {"connection_id":154656,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:34:30] local.INFO: Processing buffer {"connection_id":154656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:34:30] local.INFO: Packet analysis {"connection_id":154656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:34:30] local.INFO: Extracted packet for processing {"connection_id":154656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763621952,"raw_latitude":102594296,"longitude_deg":76.3621952,"latitude_deg":10.2594296,"altitude":10,"angle":114,"satellites":49,"speed":20,"hex_longitude":"2d83f240","hex_latitude":"061d76f8","is_valid_coordinates":true} 
[2026-08-11 02:34:30] 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-08-11 02:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317284608001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8943093302530625536,"note":"Value kept but may cause issues"} 
[2026-08-11 02:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786395650000,"timestamp_ms":1786395650000,"timestamp_seconds":1786395650,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7a67d0"} 
[2026-08-11 02:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 02:34:30] 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-08-11 02: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-08-11 02:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:34:30] 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-08-11 02:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317284608001,"66":27843,"117":206,"79":21504,"24":20,"16":377158700512575488,"45":-8943093302530625536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317284608001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:34:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:34:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8943093302530625536,"description":"Unknown IO ID 45"} 
[2026-08-11 02:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317284608001,"power":27843,"unknown_117":206,"unknown_79":21504,"ignition":20,"odometer":null,"unknown_45":-8943093302530625536}} 
[2026-08-11 02:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":154656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:34:30] local.INFO: GPS data processed {"connection_id":154656,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:34:30] local.INFO: Acknowledgment sent {"connection_id":154656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:34:54] local.INFO: TCP Data received {"connection_id":151934,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:34:54] local.INFO: Processing buffer {"connection_id":151934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:34:54] local.INFO: IMEI packet received {"connection_id":151934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":151934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:34:59] local.INFO: TCP Data received {"connection_id":151934,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:34:59] local.INFO: Processing buffer {"connection_id":151934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:34:59] local.INFO: IMEI packet received {"connection_id":151934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":151934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:34:59] local.INFO: TCP Data received {"connection_id":151934,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:34:59] local.INFO: Processing buffer {"connection_id":151934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:34:59] local.INFO: Packet analysis {"connection_id":151934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:34:59] local.INFO: Extracted packet for processing {"connection_id":151934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:34:59] local.INFO: GPS Element Parsed {"raw_longitude":763621952,"raw_latitude":102594296,"longitude_deg":76.3621952,"latitude_deg":10.2594296,"altitude":10,"angle":114,"satellites":49,"speed":20,"hex_longitude":"2d83f240","hex_latitude":"061d76f8","is_valid_coordinates":true} 
[2026-08-11 02:34: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-08-11 02:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317284608001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8943093302530625536,"note":"Value kept but may cause issues"} 
[2026-08-11 02:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786395650000,"timestamp_ms":1786395650000,"timestamp_seconds":1786395650,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7a67d0"} 
[2026-08-11 02:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02:34: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 02:34:59] 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-08-11 02:34: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-08-11 02:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:34:59] 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-08-11 02:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317284608001,"66":27843,"117":206,"79":21504,"24":20,"16":377158700512575488,"45":-8943093302530625536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317284608001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:34:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:34:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8943093302530625536,"description":"Unknown IO ID 45"} 
[2026-08-11 02:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317284608001,"power":27843,"unknown_117":206,"unknown_79":21504,"ignition":20,"odometer":null,"unknown_45":-8943093302530625536}} 
[2026-08-11 02:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":151934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:34:59] local.INFO: GPS data processed {"connection_id":151934,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:34:59] local.INFO: Acknowledgment sent {"connection_id":151934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:35:30] local.INFO: TCP Data received {"connection_id":151934,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:35:30] local.INFO: Processing buffer {"connection_id":151934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:35:30] local.INFO: Packet analysis {"connection_id":151934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:35:30] local.INFO: Extracted packet for processing {"connection_id":151934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:35:30] local.INFO: GPS Element Parsed {"raw_longitude":763621952,"raw_latitude":102594296,"longitude_deg":76.3621952,"latitude_deg":10.2594296,"altitude":10,"angle":114,"satellites":49,"speed":20,"hex_longitude":"2d83f240","hex_latitude":"061d76f8","is_valid_coordinates":true} 
[2026-08-11 02:35:30] 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-08-11 02:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317284608001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8943093302530625536,"note":"Value kept but may cause issues"} 
[2026-08-11 02:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786395650000,"timestamp_ms":1786395650000,"timestamp_seconds":1786395650,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7a67d0"} 
[2026-08-11 02:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02:35: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 02:35:30] 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-08-11 02:35: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-08-11 02:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:35:30] 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-08-11 02:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317284608001,"66":27843,"117":206,"79":21504,"24":20,"16":377158700512575488,"45":-8943093302530625536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317284608001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:35:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:35:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8943093302530625536,"description":"Unknown IO ID 45"} 
[2026-08-11 02:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317284608001,"power":27843,"unknown_117":206,"unknown_79":21504,"ignition":20,"odometer":null,"unknown_45":-8943093302530625536}} 
[2026-08-11 02:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":151934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:35:30] local.INFO: GPS data processed {"connection_id":151934,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:35:30] local.INFO: Acknowledgment sent {"connection_id":151934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:35:59] local.INFO: TCP Data received {"connection_id":154657,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:35:59] local.INFO: Processing buffer {"connection_id":154657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:35:59] local.INFO: IMEI packet received {"connection_id":154657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":154657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:36:04] local.INFO: TCP Data received {"connection_id":154657,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:36:04] local.INFO: Processing buffer {"connection_id":154657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:36:04] local.INFO: IMEI packet received {"connection_id":154657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":154657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:36:04] local.INFO: TCP Data received {"connection_id":154657,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:36:04] local.INFO: Processing buffer {"connection_id":154657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:36:04] local.INFO: Packet analysis {"connection_id":154657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:36:04] local.INFO: Extracted packet for processing {"connection_id":154657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763621952,"raw_latitude":102594296,"longitude_deg":76.3621952,"latitude_deg":10.2594296,"altitude":10,"angle":114,"satellites":49,"speed":20,"hex_longitude":"2d83f240","hex_latitude":"061d76f8","is_valid_coordinates":true} 
[2026-08-11 02:36: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-08-11 02:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317284608001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8943093302530625536,"note":"Value kept but may cause issues"} 
[2026-08-11 02:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786395650000,"timestamp_ms":1786395650000,"timestamp_seconds":1786395650,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7a67d0"} 
[2026-08-11 02:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 02:36: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-08-11 02: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-08-11 02:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:36:04] 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-08-11 02:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317284608001,"66":27843,"117":206,"79":21504,"24":20,"16":377158700512575488,"45":-8943093302530625536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317284608001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:36:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:36:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8943093302530625536,"description":"Unknown IO ID 45"} 
[2026-08-11 02:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317284608001,"power":27843,"unknown_117":206,"unknown_79":21504,"ignition":20,"odometer":null,"unknown_45":-8943093302530625536}} 
[2026-08-11 02:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":154657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:36:04] local.INFO: GPS data processed {"connection_id":154657,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:36:04] local.INFO: Acknowledgment sent {"connection_id":154657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:36:09] local.INFO: TCP Data received {"connection_id":154657,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:36:09] local.INFO: Processing buffer {"connection_id":154657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7a67d0012d83f240061d76f8000a007231..."} 
[2026-08-11 02:36:09] local.INFO: Packet analysis {"connection_id":154657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:36:09] local.INFO: Extracted packet for processing {"connection_id":154657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7a"} 
[2026-08-11 02:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763621952,"raw_latitude":102594296,"longitude_deg":76.3621952,"latitude_deg":10.2594296,"altitude":10,"angle":114,"satellites":49,"speed":20,"hex_longitude":"2d83f240","hex_latitude":"061d76f8","is_valid_coordinates":true} 
[2026-08-11 02:36: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-08-11 02:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317284608001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8943093302530625536,"note":"Value kept but may cause issues"} 
[2026-08-11 02:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786395650000,"timestamp_ms":1786395650000,"timestamp_seconds":1786395650,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7a67d0"} 
[2026-08-11 02:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 02: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 02:36:09] 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-08-11 02: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-08-11 02:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:36:09] 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-08-11 02:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317284608001,"66":27843,"117":206,"79":21504,"24":20,"16":377158700512575488,"45":-8943093302530625536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317284608001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:36:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:36:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8943093302530625536,"description":"Unknown IO ID 45"} 
[2026-08-11 02:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317284608001,"power":27843,"unknown_117":206,"unknown_79":21504,"ignition":20,"odometer":null,"unknown_45":-8943093302530625536}} 
[2026-08-11 02:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":154657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:36:09] local.INFO: GPS data processed {"connection_id":154657,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:36:09] local.INFO: Acknowledgment sent {"connection_id":154657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:36:54] local.INFO: TCP Data received {"connection_id":152319,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:36:54] local.INFO: Processing buffer {"connection_id":152319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:36:54] local.INFO: IMEI packet received {"connection_id":152319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":152319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:36:59] local.INFO: TCP Data received {"connection_id":152319,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:36:59] local.INFO: Processing buffer {"connection_id":152319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:36:59] local.INFO: IMEI packet received {"connection_id":152319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":152319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:36:59] local.INFO: TCP Data received {"connection_id":152319,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:36:59] local.INFO: Processing buffer {"connection_id":152319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:36:59] local.INFO: Packet analysis {"connection_id":152319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:36:59] local.INFO: Extracted packet for processing {"connection_id":152319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317286400001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8939011915368695808,"note":"Value kept but may cause issues"} 
[2026-08-11 02:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786395952000,"timestamp_ms":1786395952000,"timestamp_seconds":1786395952,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7f0380"} 
[2026-08-11 02:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 02:36:59] 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-08-11 02: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-08-11 02:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:36:59] 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-08-11 02:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317286400001,"66":26310,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8939011915368695808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317286400001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:36:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:36:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8939011915368695808,"description":"Unknown IO ID 45"} 
[2026-08-11 02:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317286400001,"power":26310,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8939011915368695808}} 
[2026-08-11 02:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":152319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:37:00] local.INFO: GPS data processed {"connection_id":152319,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:37:00] local.INFO: Acknowledgment sent {"connection_id":152319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:37:31] local.INFO: TCP Data received {"connection_id":152319,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:37:31] local.INFO: Processing buffer {"connection_id":152319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:37:31] local.INFO: Packet analysis {"connection_id":152319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:37:31] local.INFO: Extracted packet for processing {"connection_id":152319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:37:31] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317286400001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8939011915368695808,"note":"Value kept but may cause issues"} 
[2026-08-11 02:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786395952000,"timestamp_ms":1786395952000,"timestamp_seconds":1786395952,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7f0380"} 
[2026-08-11 02:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 02:37:31] 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-08-11 02: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-08-11 02:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:37:31] 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-08-11 02:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317286400001,"66":26310,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8939011915368695808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317286400001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:37:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:37:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8939011915368695808,"description":"Unknown IO ID 45"} 
[2026-08-11 02:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317286400001,"power":26310,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8939011915368695808}} 
[2026-08-11 02:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":152319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:37:31] local.INFO: GPS data processed {"connection_id":152319,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:37:31] local.INFO: Acknowledgment sent {"connection_id":152319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:37:54] local.INFO: TCP Data received {"connection_id":153253,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:37:54] local.INFO: Processing buffer {"connection_id":153253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:37:54] local.INFO: IMEI packet received {"connection_id":153253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":153253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:37:59] local.INFO: TCP Data received {"connection_id":153253,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:37:59] local.INFO: Processing buffer {"connection_id":153253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:37:59] local.INFO: IMEI packet received {"connection_id":153253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":153253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:37:59] local.INFO: TCP Data received {"connection_id":153253,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:37:59] local.INFO: Processing buffer {"connection_id":153253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:37:59] local.INFO: Packet analysis {"connection_id":153253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:37:59] local.INFO: Extracted packet for processing {"connection_id":153253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317286400001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8939011915368695808,"note":"Value kept but may cause issues"} 
[2026-08-11 02:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786395952000,"timestamp_ms":1786395952000,"timestamp_seconds":1786395952,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7f0380"} 
[2026-08-11 02:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 02:37:59] 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-08-11 02:37: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-08-11 02:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:37:59] 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-08-11 02:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317286400001,"66":26310,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8939011915368695808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317286400001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:37:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:37:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8939011915368695808,"description":"Unknown IO ID 45"} 
[2026-08-11 02:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317286400001,"power":26310,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8939011915368695808}} 
[2026-08-11 02:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":153253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:37:59] local.INFO: GPS data processed {"connection_id":153253,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:37:59] local.INFO: Acknowledgment sent {"connection_id":153253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:38:30] local.INFO: TCP Data received {"connection_id":153253,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:38:30] local.INFO: Processing buffer {"connection_id":153253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:38:30] local.INFO: Packet analysis {"connection_id":153253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:38:30] local.INFO: Extracted packet for processing {"connection_id":153253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02:38: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-08-11 02:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317286400001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8939011915368695808,"note":"Value kept but may cause issues"} 
[2026-08-11 02:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786395952000,"timestamp_ms":1786395952000,"timestamp_seconds":1786395952,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7f0380"} 
[2026-08-11 02:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02:38: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 02:38:30] 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-08-11 02:38: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-08-11 02:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:38:30] 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-08-11 02:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317286400001,"66":26310,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8939011915368695808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317286400001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:38:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:38:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8939011915368695808,"description":"Unknown IO ID 45"} 
[2026-08-11 02:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317286400001,"power":26310,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8939011915368695808}} 
[2026-08-11 02:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":153253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:38:30] local.INFO: GPS data processed {"connection_id":153253,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:38:30] local.INFO: Acknowledgment sent {"connection_id":153253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:38:54] local.INFO: TCP Data received {"connection_id":154658,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:38:54] local.INFO: Processing buffer {"connection_id":154658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:38:54] local.INFO: IMEI packet received {"connection_id":154658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":154658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:38:59] local.INFO: TCP Data received {"connection_id":154658,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:38:59] local.INFO: Processing buffer {"connection_id":154658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:38:59] local.INFO: IMEI packet received {"connection_id":154658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":154658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:38:59] local.INFO: TCP Data received {"connection_id":154658,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:39:00] local.INFO: Processing buffer {"connection_id":154658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:39:00] local.INFO: Packet analysis {"connection_id":154658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:39:00] local.INFO: Extracted packet for processing {"connection_id":154658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:39:00] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317286400001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8939011915368695808,"note":"Value kept but may cause issues"} 
[2026-08-11 02:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786395952000,"timestamp_ms":1786395952000,"timestamp_seconds":1786395952,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7f0380"} 
[2026-08-11 02:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 02:39:00] 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-08-11 02: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-08-11 02:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:39:00] 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-08-11 02:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317286400001,"66":26310,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8939011915368695808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317286400001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:39:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:39:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8939011915368695808,"description":"Unknown IO ID 45"} 
[2026-08-11 02:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317286400001,"power":26310,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8939011915368695808}} 
[2026-08-11 02:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":154658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:39:00] local.INFO: GPS data processed {"connection_id":154658,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:39:00] local.INFO: Acknowledgment sent {"connection_id":154658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:39:31] local.INFO: TCP Data received {"connection_id":154658,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:39:31] local.INFO: Processing buffer {"connection_id":154658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:39:31] local.INFO: Packet analysis {"connection_id":154658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:39:31] local.INFO: Extracted packet for processing {"connection_id":154658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02:39: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-08-11 02:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317286400001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8939011915368695808,"note":"Value kept but may cause issues"} 
[2026-08-11 02:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786395952000,"timestamp_ms":1786395952000,"timestamp_seconds":1786395952,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7f0380"} 
[2026-08-11 02:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02:39: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":195,"data_length":795,"current_offset":136} 
[2026-08-11 02:39:31] 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-08-11 02:39: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-08-11 02:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:39:31] 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-08-11 02:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317286400001,"66":26310,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8939011915368695808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317286400001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:39:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:39:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8939011915368695808,"description":"Unknown IO ID 45"} 
[2026-08-11 02:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317286400001,"power":26310,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8939011915368695808}} 
[2026-08-11 02:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":154658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:39:31] local.INFO: GPS data processed {"connection_id":154658,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:39:31] local.INFO: Acknowledgment sent {"connection_id":154658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:39:54] local.INFO: TCP Data received {"connection_id":153254,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:39:54] local.INFO: Processing buffer {"connection_id":153254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:39:54] local.INFO: IMEI packet received {"connection_id":153254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":153254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:39:59] local.INFO: TCP Data received {"connection_id":153254,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:39:59] local.INFO: Processing buffer {"connection_id":153254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:39:59] local.INFO: IMEI packet received {"connection_id":153254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":153254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:39:59] local.INFO: TCP Data received {"connection_id":153254,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:39:59] local.INFO: Processing buffer {"connection_id":153254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:39:59] local.INFO: Packet analysis {"connection_id":153254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:39:59] local.INFO: Extracted packet for processing {"connection_id":153254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02:39: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-08-11 02:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317286400001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8939011915368695808,"note":"Value kept but may cause issues"} 
[2026-08-11 02:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786395952000,"timestamp_ms":1786395952000,"timestamp_seconds":1786395952,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7f0380"} 
[2026-08-11 02:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02:39: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 02:39:59] 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-08-11 02:39: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-08-11 02:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:39:59] 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-08-11 02:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317286400001,"66":26310,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8939011915368695808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317286400001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:39:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:39:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8939011915368695808,"description":"Unknown IO ID 45"} 
[2026-08-11 02:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317286400001,"power":26310,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8939011915368695808}} 
[2026-08-11 02:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":153254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:39:59] local.INFO: GPS data processed {"connection_id":153254,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:39:59] local.INFO: Acknowledgment sent {"connection_id":153254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:40:30] local.INFO: TCP Data received {"connection_id":153254,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:40:30] local.INFO: Processing buffer {"connection_id":153254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:40:30] local.INFO: Packet analysis {"connection_id":153254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:40:30] local.INFO: Extracted packet for processing {"connection_id":153254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:40:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02:40: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-08-11 02:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317286400001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8939011915368695808,"note":"Value kept but may cause issues"} 
[2026-08-11 02:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786395952000,"timestamp_ms":1786395952000,"timestamp_seconds":1786395952,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7f0380"} 
[2026-08-11 02:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02:40: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 02:40:30] 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-08-11 02:40: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-08-11 02:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:40:30] 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-08-11 02:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317286400001,"66":26310,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8939011915368695808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317286400001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:40:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:40:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8939011915368695808,"description":"Unknown IO ID 45"} 
[2026-08-11 02:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317286400001,"power":26310,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8939011915368695808}} 
[2026-08-11 02:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":153254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:40:30] local.INFO: GPS data processed {"connection_id":153254,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:40:30] local.INFO: Acknowledgment sent {"connection_id":153254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:40:53] local.INFO: TCP Data received {"connection_id":154659,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:40:53] local.INFO: Processing buffer {"connection_id":154659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:40:53] local.INFO: IMEI packet received {"connection_id":154659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":154659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:40:59] local.INFO: TCP Data received {"connection_id":154659,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:40:59] local.INFO: Processing buffer {"connection_id":154659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:40:59] local.INFO: IMEI packet received {"connection_id":154659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":154659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:41:02] local.INFO: TCP Data received {"connection_id":154659,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:41:02] local.INFO: Processing buffer {"connection_id":154659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed7f0380012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:41:02] local.INFO: Packet analysis {"connection_id":154659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:41:02] local.INFO: Extracted packet for processing {"connection_id":154659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed7f"} 
[2026-08-11 02:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317286400001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8939011915368695808,"note":"Value kept but may cause issues"} 
[2026-08-11 02:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786395952000,"timestamp_ms":1786395952000,"timestamp_seconds":1786395952,"priority":1,"record_length":96,"hex_timestamp":"0000019fed7f0380"} 
[2026-08-11 02:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 02:41: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-08-11 02: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-08-11 02:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":154659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":154659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":154659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:41:02] 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-08-11 02:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317286400001,"66":26310,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8939011915368695808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317286400001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:41:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:41:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8939011915368695808,"description":"Unknown IO ID 45"} 
[2026-08-11 02:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317286400001,"power":26310,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8939011915368695808}} 
[2026-08-11 02:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":154659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:41:02] local.INFO: GPS data processed {"connection_id":154659,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:41:02] local.INFO: Acknowledgment sent {"connection_id":154659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:41:35] local.INFO: TCP Data received {"connection_id":154659,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:41:35] local.INFO: Processing buffer {"connection_id":154659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:41:35] local.INFO: Packet analysis {"connection_id":154659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:41:35] local.INFO: Extracted packet for processing {"connection_id":154659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:41:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317363712001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786396253000,"timestamp_ms":1786396253000,"timestamp_seconds":1786396253,"priority":1,"record_length":96,"hex_timestamp":"0000019fed839b48"} 
[2026-08-11 02:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 02:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02: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-08-11 02:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:41:35] 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-08-11 02:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317363712001,"66":26158,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317363712001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:41:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:41:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317363712001,"power":26158,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":154659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:41:35] local.INFO: GPS data processed {"connection_id":154659,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:41:35] local.INFO: Acknowledgment sent {"connection_id":154659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:41:59] local.INFO: TCP Data received {"connection_id":152320,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:41:59] local.INFO: Processing buffer {"connection_id":152320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:41:59] local.INFO: IMEI packet received {"connection_id":152320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":152320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:42:04] local.INFO: TCP Data received {"connection_id":152320,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:42:04] local.INFO: Processing buffer {"connection_id":152320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:42:04] local.INFO: IMEI packet received {"connection_id":152320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":152320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:42:04] local.INFO: TCP Data received {"connection_id":152320,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:42:04] local.INFO: Processing buffer {"connection_id":152320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:42:04] local.INFO: Packet analysis {"connection_id":152320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:42:04] local.INFO: Extracted packet for processing {"connection_id":152320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317363712001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786396253000,"timestamp_ms":1786396253000,"timestamp_seconds":1786396253,"priority":1,"record_length":96,"hex_timestamp":"0000019fed839b48"} 
[2026-08-11 02:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 02:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02: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-08-11 02:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:42:04] 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-08-11 02:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317363712001,"66":26158,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317363712001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:42:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:42:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317363712001,"power":26158,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":152320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:42:04] local.INFO: GPS data processed {"connection_id":152320,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:42:04] local.INFO: Acknowledgment sent {"connection_id":152320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:42:09] local.INFO: TCP Data received {"connection_id":152320,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:42:09] local.INFO: Processing buffer {"connection_id":152320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:42:09] local.INFO: Packet analysis {"connection_id":152320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:42:09] local.INFO: Extracted packet for processing {"connection_id":152320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317363712001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786396253000,"timestamp_ms":1786396253000,"timestamp_seconds":1786396253,"priority":1,"record_length":96,"hex_timestamp":"0000019fed839b48"} 
[2026-08-11 02:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":198,"data_length":795,"current_offset":136} 
[2026-08-11 02:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02: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-08-11 02:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:42:09] 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-08-11 02:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317363712001,"66":26158,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317363712001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:42:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:42:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317363712001,"power":26158,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":152320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:42:09] local.INFO: GPS data processed {"connection_id":152320,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:42:09] local.INFO: Acknowledgment sent {"connection_id":152320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:42:54] local.INFO: TCP Data received {"connection_id":152321,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:42:54] local.INFO: Processing buffer {"connection_id":152321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:42:54] local.INFO: IMEI packet received {"connection_id":152321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":152321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:42:59] local.INFO: TCP Data received {"connection_id":152321,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:42:59] local.INFO: Processing buffer {"connection_id":152321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:42:59] local.INFO: IMEI packet received {"connection_id":152321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":152321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:42:59] local.INFO: TCP Data received {"connection_id":152321,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:42:59] local.INFO: Processing buffer {"connection_id":152321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:42:59] local.INFO: Packet analysis {"connection_id":152321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:42:59] local.INFO: Extracted packet for processing {"connection_id":152321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317363712001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786396253000,"timestamp_ms":1786396253000,"timestamp_seconds":1786396253,"priority":1,"record_length":96,"hex_timestamp":"0000019fed839b48"} 
[2026-08-11 02:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 02:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02: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-08-11 02:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:42:59] 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-08-11 02:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317363712001,"66":26158,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317363712001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:42:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:42:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317363712001,"power":26158,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":152321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:42:59] local.INFO: GPS data processed {"connection_id":152321,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:42:59] local.INFO: Acknowledgment sent {"connection_id":152321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:43:30] local.INFO: TCP Data received {"connection_id":152321,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:43:30] local.INFO: Processing buffer {"connection_id":152321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:43:30] local.INFO: Packet analysis {"connection_id":152321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:43:30] local.INFO: Extracted packet for processing {"connection_id":152321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317363712001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786396253000,"timestamp_ms":1786396253000,"timestamp_seconds":1786396253,"priority":1,"record_length":96,"hex_timestamp":"0000019fed839b48"} 
[2026-08-11 02:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 02:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02: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-08-11 02:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:43:30] 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-08-11 02:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317363712001,"66":26158,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317363712001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:43:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:43:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317363712001,"power":26158,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":152321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:43:30] local.INFO: GPS data processed {"connection_id":152321,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:43:30] local.INFO: Acknowledgment sent {"connection_id":152321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:43:54] local.INFO: TCP Data received {"connection_id":151935,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:43:54] local.INFO: Processing buffer {"connection_id":151935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:43:54] local.INFO: IMEI packet received {"connection_id":151935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":151935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:43:59] local.INFO: TCP Data received {"connection_id":151935,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:43:59] local.INFO: Processing buffer {"connection_id":151935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:43:59] local.INFO: IMEI packet received {"connection_id":151935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":151935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:43:59] local.INFO: TCP Data received {"connection_id":151935,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:43:59] local.INFO: Processing buffer {"connection_id":151935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:43:59] local.INFO: Packet analysis {"connection_id":151935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:43:59] local.INFO: Extracted packet for processing {"connection_id":151935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:43:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317363712001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786396253000,"timestamp_ms":1786396253000,"timestamp_seconds":1786396253,"priority":1,"record_length":96,"hex_timestamp":"0000019fed839b48"} 
[2026-08-11 02:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 02:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02: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-08-11 02:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:43:59] 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-08-11 02:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317363712001,"66":26158,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317363712001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:43:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:43:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317363712001,"power":26158,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":151935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:43:59] local.INFO: GPS data processed {"connection_id":151935,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:43:59] local.INFO: Acknowledgment sent {"connection_id":151935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:44:31] local.INFO: TCP Data received {"connection_id":151935,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:44:31] local.INFO: Processing buffer {"connection_id":151935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:44:31] local.INFO: Packet analysis {"connection_id":151935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:44:31] local.INFO: Extracted packet for processing {"connection_id":151935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317363712001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786396253000,"timestamp_ms":1786396253000,"timestamp_seconds":1786396253,"priority":1,"record_length":96,"hex_timestamp":"0000019fed839b48"} 
[2026-08-11 02:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 02:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02: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-08-11 02:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:44:31] 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-08-11 02:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317363712001,"66":26158,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317363712001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:44:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:44:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317363712001,"power":26158,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":151935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:44:31] local.INFO: GPS data processed {"connection_id":151935,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:44:31] local.INFO: Acknowledgment sent {"connection_id":151935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:44:54] local.INFO: TCP Data received {"connection_id":153255,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:44:54] local.INFO: Processing buffer {"connection_id":153255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:44:54] local.INFO: IMEI packet received {"connection_id":153255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":153255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:44:59] local.INFO: TCP Data received {"connection_id":153255,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:44:59] local.INFO: Processing buffer {"connection_id":153255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:44:59] local.INFO: IMEI packet received {"connection_id":153255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":153255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:44:59] local.INFO: TCP Data received {"connection_id":153255,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:44:59] local.INFO: Processing buffer {"connection_id":153255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:44:59] local.INFO: Packet analysis {"connection_id":153255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:44:59] local.INFO: Extracted packet for processing {"connection_id":153255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317363712001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786396253000,"timestamp_ms":1786396253000,"timestamp_seconds":1786396253,"priority":1,"record_length":96,"hex_timestamp":"0000019fed839b48"} 
[2026-08-11 02:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 02:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02: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-08-11 02:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:44:59] 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-08-11 02:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317363712001,"66":26158,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317363712001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:44:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:44:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317363712001,"power":26158,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":153255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:44:59] local.INFO: GPS data processed {"connection_id":153255,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:44:59] local.INFO: Acknowledgment sent {"connection_id":153255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:45:30] local.INFO: TCP Data received {"connection_id":153255,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:45:30] local.INFO: Processing buffer {"connection_id":153255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:45:30] local.INFO: Packet analysis {"connection_id":153255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:45:30] local.INFO: Extracted packet for processing {"connection_id":153255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:45:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317363712001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786396253000,"timestamp_ms":1786396253000,"timestamp_seconds":1786396253,"priority":1,"record_length":96,"hex_timestamp":"0000019fed839b48"} 
[2026-08-11 02:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 02:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02: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-08-11 02:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:45:30] 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-08-11 02:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317363712001,"66":26158,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317363712001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:45:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:45:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317363712001,"power":26158,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":153255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:45:30] local.INFO: GPS data processed {"connection_id":153255,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:45:30] local.INFO: Acknowledgment sent {"connection_id":153255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:45:53] local.INFO: TCP Data received {"connection_id":154660,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:45:53] local.INFO: Processing buffer {"connection_id":154660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:45:53] local.INFO: IMEI packet received {"connection_id":154660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":154660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:45:59] local.INFO: TCP Data received {"connection_id":154660,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:45:59] local.INFO: Processing buffer {"connection_id":154660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:45:59] local.INFO: IMEI packet received {"connection_id":154660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":154660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:45:59] local.INFO: TCP Data received {"connection_id":154660,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:45:59] local.INFO: Processing buffer {"connection_id":154660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:45:59] local.INFO: Packet analysis {"connection_id":154660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:45:59] local.INFO: Extracted packet for processing {"connection_id":154660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317363712001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786396253000,"timestamp_ms":1786396253000,"timestamp_seconds":1786396253,"priority":1,"record_length":96,"hex_timestamp":"0000019fed839b48"} 
[2026-08-11 02:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 02:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02: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-08-11 02:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:45:59] 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-08-11 02:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317363712001,"66":26158,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317363712001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:45:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:45:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317363712001,"power":26158,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":154660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:45:59] local.INFO: GPS data processed {"connection_id":154660,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:45:59] local.INFO: Acknowledgment sent {"connection_id":154660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:46:31] local.INFO: TCP Data received {"connection_id":154660,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:46:31] local.INFO: Processing buffer {"connection_id":154660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed839b48012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:46:31] local.INFO: Packet analysis {"connection_id":154660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:46:31] local.INFO: Extracted packet for processing {"connection_id":154660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed83"} 
[2026-08-11 02:46:31] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317363712001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786396253000,"timestamp_ms":1786396253000,"timestamp_seconds":1786396253,"priority":1,"record_length":96,"hex_timestamp":"0000019fed839b48"} 
[2026-08-11 02:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 02:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 02: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-08-11 02:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:46:31] 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-08-11 02:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317363712001,"66":26158,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317363712001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:46:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:46:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317363712001,"power":26158,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":154660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:46:31] local.INFO: GPS data processed {"connection_id":154660,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:46:31] local.INFO: Acknowledgment sent {"connection_id":154660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:46:59] local.INFO: TCP Data received {"connection_id":153256,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:46:59] local.INFO: Processing buffer {"connection_id":153256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:46:59] local.INFO: IMEI packet received {"connection_id":153256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":153256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:47:04] local.INFO: TCP Data received {"connection_id":153256,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:47:04] local.INFO: Processing buffer {"connection_id":153256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:47:04] local.INFO: IMEI packet received {"connection_id":153256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":153256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:47:05] local.INFO: TCP Data received {"connection_id":153256,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:47:05] local.INFO: Processing buffer {"connection_id":153256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:47:05] local.INFO: Packet analysis {"connection_id":153256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:47:05] local.INFO: Extracted packet for processing {"connection_id":153256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317440768001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786396554000,"timestamp_ms":1786396554000,"timestamp_seconds":1786396554,"priority":1,"record_length":96,"hex_timestamp":"0000019fed883310"} 
[2026-08-11 02:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 02:47:05] 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-08-11 02: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-08-11 02:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:47:05] 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-08-11 02:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317440768001,"66":26039,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317440768001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:47:05] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:47:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317440768001,"power":26039,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":153256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:47:05] local.INFO: GPS data processed {"connection_id":153256,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:47:05] local.INFO: Acknowledgment sent {"connection_id":153256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:47:09] local.INFO: TCP Data received {"connection_id":153256,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:47:09] local.INFO: Processing buffer {"connection_id":153256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:47:09] local.INFO: Packet analysis {"connection_id":153256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:47:09] local.INFO: Extracted packet for processing {"connection_id":153256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317440768001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786396554000,"timestamp_ms":1786396554000,"timestamp_seconds":1786396554,"priority":1,"record_length":96,"hex_timestamp":"0000019fed883310"} 
[2026-08-11 02:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 02:47: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-08-11 02: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-08-11 02:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:47:09] 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-08-11 02:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317440768001,"66":26039,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317440768001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:47:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:47:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317440768001,"power":26039,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":153256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:47:09] local.INFO: GPS data processed {"connection_id":153256,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:47:09] local.INFO: Acknowledgment sent {"connection_id":153256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:47:54] local.INFO: TCP Data received {"connection_id":151936,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:47:54] local.INFO: Processing buffer {"connection_id":151936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:47:54] local.INFO: IMEI packet received {"connection_id":151936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":151936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:47:59] local.INFO: TCP Data received {"connection_id":151936,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:47:59] local.INFO: Processing buffer {"connection_id":151936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:47:59] local.INFO: IMEI packet received {"connection_id":151936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":151936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:47:59] local.INFO: TCP Data received {"connection_id":151936,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:47:59] local.INFO: Processing buffer {"connection_id":151936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:47:59] local.INFO: Packet analysis {"connection_id":151936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:47:59] local.INFO: Extracted packet for processing {"connection_id":151936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317440768001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786396554000,"timestamp_ms":1786396554000,"timestamp_seconds":1786396554,"priority":1,"record_length":96,"hex_timestamp":"0000019fed883310"} 
[2026-08-11 02:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 02:47:59] 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-08-11 02: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-08-11 02:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:47:59] 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-08-11 02:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317440768001,"66":26039,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317440768001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:47:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:47:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317440768001,"power":26039,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":151936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:47:59] local.INFO: GPS data processed {"connection_id":151936,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:47:59] local.INFO: Acknowledgment sent {"connection_id":151936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:48:30] local.INFO: TCP Data received {"connection_id":151936,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:48:30] local.INFO: Processing buffer {"connection_id":151936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:48:30] local.INFO: Packet analysis {"connection_id":151936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:48:30] local.INFO: Extracted packet for processing {"connection_id":151936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:48:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02:48: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-08-11 02:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317440768001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786396554000,"timestamp_ms":1786396554000,"timestamp_seconds":1786396554,"priority":1,"record_length":96,"hex_timestamp":"0000019fed883310"} 
[2026-08-11 02:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02:48: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 02:48:30] 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-08-11 02:48: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-08-11 02:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:48:30] 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-08-11 02:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317440768001,"66":26039,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317440768001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:48:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:48:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317440768001,"power":26039,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":151936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:48:30] local.INFO: GPS data processed {"connection_id":151936,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:48:30] local.INFO: Acknowledgment sent {"connection_id":151936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:48:54] local.INFO: TCP Data received {"connection_id":152322,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:48:54] local.INFO: Processing buffer {"connection_id":152322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:48:54] local.INFO: IMEI packet received {"connection_id":152322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":152322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:48:59] local.INFO: TCP Data received {"connection_id":152322,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:48:59] local.INFO: Processing buffer {"connection_id":152322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:48:59] local.INFO: IMEI packet received {"connection_id":152322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":152322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:48:59] local.INFO: TCP Data received {"connection_id":152322,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:48:59] local.INFO: Processing buffer {"connection_id":152322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:48:59] local.INFO: Packet analysis {"connection_id":152322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:48:59] local.INFO: Extracted packet for processing {"connection_id":152322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317440768001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786396554000,"timestamp_ms":1786396554000,"timestamp_seconds":1786396554,"priority":1,"record_length":96,"hex_timestamp":"0000019fed883310"} 
[2026-08-11 02:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 02:48:59] 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-08-11 02: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-08-11 02:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:48:59] 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-08-11 02:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317440768001,"66":26039,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317440768001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:48:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:48:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317440768001,"power":26039,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":152322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:48:59] local.INFO: GPS data processed {"connection_id":152322,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:48:59] local.INFO: Acknowledgment sent {"connection_id":152322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:49:31] local.INFO: TCP Data received {"connection_id":152322,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:49:31] local.INFO: Processing buffer {"connection_id":152322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:49:31] local.INFO: Packet analysis {"connection_id":152322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:49:31] local.INFO: Extracted packet for processing {"connection_id":152322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02:49: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-08-11 02:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317440768001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786396554000,"timestamp_ms":1786396554000,"timestamp_seconds":1786396554,"priority":1,"record_length":96,"hex_timestamp":"0000019fed883310"} 
[2026-08-11 02:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02:49: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 02:49:31] 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-08-11 02:49: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-08-11 02:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:49:31] 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-08-11 02:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317440768001,"66":26039,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317440768001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:49:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:49:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317440768001,"power":26039,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":152322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:49:31] local.INFO: GPS data processed {"connection_id":152322,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:49:31] local.INFO: Acknowledgment sent {"connection_id":152322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:49:54] local.INFO: TCP Data received {"connection_id":153257,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:49:54] local.INFO: Processing buffer {"connection_id":153257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:49:54] local.INFO: IMEI packet received {"connection_id":153257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":153257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:49:59] local.INFO: TCP Data received {"connection_id":153257,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:49:59] local.INFO: Processing buffer {"connection_id":153257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:49:59] local.INFO: IMEI packet received {"connection_id":153257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":153257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:49:59] local.INFO: TCP Data received {"connection_id":153257,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:49:59] local.INFO: Processing buffer {"connection_id":153257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:49:59] local.INFO: Packet analysis {"connection_id":153257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:49:59] local.INFO: Extracted packet for processing {"connection_id":153257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317440768001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786396554000,"timestamp_ms":1786396554000,"timestamp_seconds":1786396554,"priority":1,"record_length":96,"hex_timestamp":"0000019fed883310"} 
[2026-08-11 02:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 02:49:59] 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-08-11 02: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-08-11 02:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:49:59] 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-08-11 02:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317440768001,"66":26039,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317440768001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:49:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:49:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317440768001,"power":26039,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":153257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:49:59] local.INFO: GPS data processed {"connection_id":153257,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:49:59] local.INFO: Acknowledgment sent {"connection_id":153257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:50:31] local.INFO: TCP Data received {"connection_id":153257,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:50:31] local.INFO: Processing buffer {"connection_id":153257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:50:31] local.INFO: Packet analysis {"connection_id":153257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:50:31] local.INFO: Extracted packet for processing {"connection_id":153257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317440768001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786396554000,"timestamp_ms":1786396554000,"timestamp_seconds":1786396554,"priority":1,"record_length":96,"hex_timestamp":"0000019fed883310"} 
[2026-08-11 02:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 02:50:31] 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-08-11 02: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-08-11 02:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:50:31] 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-08-11 02:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317440768001,"66":26039,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317440768001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:50:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:50:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317440768001,"power":26039,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":153257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:50:31] local.INFO: GPS data processed {"connection_id":153257,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:50:31] local.INFO: Acknowledgment sent {"connection_id":153257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:50:54] local.INFO: TCP Data received {"connection_id":153258,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:50:54] local.INFO: Processing buffer {"connection_id":153258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:50:54] local.INFO: IMEI packet received {"connection_id":153258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":153258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:50:59] local.INFO: TCP Data received {"connection_id":153258,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:50:59] local.INFO: Processing buffer {"connection_id":153258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:50:59] local.INFO: IMEI packet received {"connection_id":153258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":153258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:50:59] local.INFO: TCP Data received {"connection_id":153258,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:50:59] local.INFO: Processing buffer {"connection_id":153258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:50:59] local.INFO: Packet analysis {"connection_id":153258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:50:59] local.INFO: Extracted packet for processing {"connection_id":153258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317440768001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786396554000,"timestamp_ms":1786396554000,"timestamp_seconds":1786396554,"priority":1,"record_length":96,"hex_timestamp":"0000019fed883310"} 
[2026-08-11 02:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 02:50:59] 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-08-11 02: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-08-11 02:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:50:59] 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-08-11 02:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317440768001,"66":26039,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317440768001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:50:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:50:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317440768001,"power":26039,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":153258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:50:59] local.INFO: GPS data processed {"connection_id":153258,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:50:59] local.INFO: Acknowledgment sent {"connection_id":153258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:51:30] local.INFO: TCP Data received {"connection_id":153258,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:51:30] local.INFO: Processing buffer {"connection_id":153258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed883310012d840d40061d6f20000c006f2e..."} 
[2026-08-11 02:51:30] local.INFO: Packet analysis {"connection_id":153258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:51:30] local.INFO: Extracted packet for processing {"connection_id":153258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed88"} 
[2026-08-11 02:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317440768001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786396554000,"timestamp_ms":1786396554000,"timestamp_seconds":1786396554,"priority":1,"record_length":96,"hex_timestamp":"0000019fed883310"} 
[2026-08-11 02:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 02:51:30] 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-08-11 02: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-08-11 02:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:51:30] 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-08-11 02:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317440768001,"66":26039,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317440768001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:51:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:51:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317440768001,"power":26039,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":153258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:51:30] local.INFO: GPS data processed {"connection_id":153258,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:51:30] local.INFO: Acknowledgment sent {"connection_id":153258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:51:59] local.INFO: TCP Data received {"connection_id":152323,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:51:59] local.INFO: Processing buffer {"connection_id":152323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:51:59] local.INFO: IMEI packet received {"connection_id":152323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":152323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:52:04] local.INFO: TCP Data received {"connection_id":152323,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:52:04] local.INFO: Processing buffer {"connection_id":152323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:52:04] local.INFO: IMEI packet received {"connection_id":152323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":152323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:52:04] local.INFO: TCP Data received {"connection_id":152323,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:52:04] local.INFO: Processing buffer {"connection_id":152323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:52:04] local.INFO: Packet analysis {"connection_id":152323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:52:04] local.INFO: Extracted packet for processing {"connection_id":152323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317517824001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786396855000,"timestamp_ms":1786396855000,"timestamp_seconds":1786396855,"priority":1,"record_length":96,"hex_timestamp":"0000019fed8ccad8"} 
[2026-08-11 02:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:52:04] 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-08-11 02: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 02:52:04] 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-08-11 02: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-08-11 02:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 02:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317517824001,"66":25973,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317517824001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:52:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:52:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317517824001,"power":25973,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":152323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:52:04] local.INFO: GPS data processed {"connection_id":152323,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:52:04] local.INFO: Acknowledgment sent {"connection_id":152323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:52:09] local.INFO: TCP Data received {"connection_id":152323,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:52:09] local.INFO: Processing buffer {"connection_id":152323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:52:09] local.INFO: Packet analysis {"connection_id":152323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:52:09] local.INFO: Extracted packet for processing {"connection_id":152323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:52:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317517824001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786396855000,"timestamp_ms":1786396855000,"timestamp_seconds":1786396855,"priority":1,"record_length":96,"hex_timestamp":"0000019fed8ccad8"} 
[2026-08-11 02:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:52:09] 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-08-11 02: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 02:52:09] 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-08-11 02: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-08-11 02:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 02:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317517824001,"66":25973,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317517824001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:52:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:52:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317517824001,"power":25973,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":152323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:52:09] local.INFO: GPS data processed {"connection_id":152323,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:52:09] local.INFO: Acknowledgment sent {"connection_id":152323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:52:54] local.INFO: TCP Data received {"connection_id":152324,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:52:54] local.INFO: Processing buffer {"connection_id":152324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:52:54] local.INFO: IMEI packet received {"connection_id":152324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":152324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:52:59] local.INFO: TCP Data received {"connection_id":152324,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:52:59] local.INFO: Processing buffer {"connection_id":152324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:52:59] local.INFO: IMEI packet received {"connection_id":152324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":152324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:52:59] local.INFO: TCP Data received {"connection_id":152324,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:52:59] local.INFO: Processing buffer {"connection_id":152324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:52:59] local.INFO: Packet analysis {"connection_id":152324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:52:59] local.INFO: Extracted packet for processing {"connection_id":152324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317517824001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786396855000,"timestamp_ms":1786396855000,"timestamp_seconds":1786396855,"priority":1,"record_length":96,"hex_timestamp":"0000019fed8ccad8"} 
[2026-08-11 02:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:52:59] 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-08-11 02: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 02:52:59] 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-08-11 02: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-08-11 02:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:52:59] 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-08-11 02:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317517824001,"66":25973,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317517824001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:52:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:52:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317517824001,"power":25973,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":152324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:52:59] local.INFO: GPS data processed {"connection_id":152324,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:52:59] local.INFO: Acknowledgment sent {"connection_id":152324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:53:30] local.INFO: TCP Data received {"connection_id":152324,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:53:30] local.INFO: Processing buffer {"connection_id":152324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:53:30] local.INFO: Packet analysis {"connection_id":152324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:53:30] local.INFO: Extracted packet for processing {"connection_id":152324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317517824001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786396855000,"timestamp_ms":1786396855000,"timestamp_seconds":1786396855,"priority":1,"record_length":96,"hex_timestamp":"0000019fed8ccad8"} 
[2026-08-11 02:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:53:30] 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-08-11 02: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 02:53:30] 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-08-11 02: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-08-11 02:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:53:30] 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-08-11 02:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317517824001,"66":25973,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317517824001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:53:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:53:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317517824001,"power":25973,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":152324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:53:30] local.INFO: GPS data processed {"connection_id":152324,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:53:30] local.INFO: Acknowledgment sent {"connection_id":152324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:53:54] local.INFO: TCP Data received {"connection_id":154661,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:53:54] local.INFO: Processing buffer {"connection_id":154661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:53:54] local.INFO: IMEI packet received {"connection_id":154661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":154661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:53:59] local.INFO: TCP Data received {"connection_id":154661,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:53:59] local.INFO: Processing buffer {"connection_id":154661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:53:59] local.INFO: IMEI packet received {"connection_id":154661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":154661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:53:59] local.INFO: TCP Data received {"connection_id":154661,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:53:59] local.INFO: Processing buffer {"connection_id":154661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:53:59] local.INFO: Packet analysis {"connection_id":154661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:53:59] local.INFO: Extracted packet for processing {"connection_id":154661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:53:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02:53: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-08-11 02:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317517824001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786396855000,"timestamp_ms":1786396855000,"timestamp_seconds":1786396855,"priority":1,"record_length":96,"hex_timestamp":"0000019fed8ccad8"} 
[2026-08-11 02:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:53:59] 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-08-11 02:53: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":183,"data_length":795,"current_offset":136} 
[2026-08-11 02:53:59] 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-08-11 02:53: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-08-11 02:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:53:59] 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-08-11 02:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317517824001,"66":25973,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317517824001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:53:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:53:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317517824001,"power":25973,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":154661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:53:59] local.INFO: GPS data processed {"connection_id":154661,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:53:59] local.INFO: Acknowledgment sent {"connection_id":154661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:54:30] local.INFO: TCP Data received {"connection_id":154661,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:54:30] local.INFO: Processing buffer {"connection_id":154661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:54:30] local.INFO: Packet analysis {"connection_id":154661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:54:30] local.INFO: Extracted packet for processing {"connection_id":154661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:54:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317517824001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786396855000,"timestamp_ms":1786396855000,"timestamp_seconds":1786396855,"priority":1,"record_length":96,"hex_timestamp":"0000019fed8ccad8"} 
[2026-08-11 02:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:54:30] 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-08-11 02: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 02:54:30] 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-08-11 02: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-08-11 02:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:54:30] 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-08-11 02:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317517824001,"66":25973,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317517824001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:54:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:54:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317517824001,"power":25973,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":154661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:54:30] local.INFO: GPS data processed {"connection_id":154661,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:54:30] local.INFO: Acknowledgment sent {"connection_id":154661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:54:54] local.INFO: TCP Data received {"connection_id":151937,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:54:54] local.INFO: Processing buffer {"connection_id":151937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:54:54] local.INFO: IMEI packet received {"connection_id":151937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":151937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:54:59] local.INFO: TCP Data received {"connection_id":151937,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:54:59] local.INFO: Processing buffer {"connection_id":151937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:54:59] local.INFO: IMEI packet received {"connection_id":151937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":151937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:54:59] local.INFO: TCP Data received {"connection_id":151937,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:54:59] local.INFO: Processing buffer {"connection_id":151937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:54:59] local.INFO: Packet analysis {"connection_id":151937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:54:59] local.INFO: Extracted packet for processing {"connection_id":151937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317517824001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786396855000,"timestamp_ms":1786396855000,"timestamp_seconds":1786396855,"priority":1,"record_length":96,"hex_timestamp":"0000019fed8ccad8"} 
[2026-08-11 02:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:54:59] 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-08-11 02: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 02:54:59] 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-08-11 02: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-08-11 02:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:54:59] 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-08-11 02:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317517824001,"66":25973,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317517824001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:54:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:54:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317517824001,"power":25973,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":151937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:54:59] local.INFO: GPS data processed {"connection_id":151937,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:54:59] local.INFO: Acknowledgment sent {"connection_id":151937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:55:39] local.INFO: TCP Data received {"connection_id":151937,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:55:39] local.INFO: Processing buffer {"connection_id":151937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:55:39] local.INFO: Packet analysis {"connection_id":151937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:55:39] local.INFO: Extracted packet for processing {"connection_id":151937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317517824001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786396855000,"timestamp_ms":1786396855000,"timestamp_seconds":1786396855,"priority":1,"record_length":96,"hex_timestamp":"0000019fed8ccad8"} 
[2026-08-11 02:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:55:39] 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-08-11 02: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":183,"data_length":795,"current_offset":136} 
[2026-08-11 02:55:39] 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-08-11 02: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-08-11 02:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:55:39] 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-08-11 02:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317517824001,"66":25973,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317517824001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:55:39] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:55:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317517824001,"power":25973,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":151937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:55:39] local.INFO: GPS data processed {"connection_id":151937,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:55:39] local.INFO: Acknowledgment sent {"connection_id":151937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:55:54] local.INFO: TCP Data received {"connection_id":153259,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:55:54] local.INFO: Processing buffer {"connection_id":153259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:55:54] local.INFO: IMEI packet received {"connection_id":153259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":153259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:55:59] local.INFO: TCP Data received {"connection_id":153259,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:55:59] local.INFO: Processing buffer {"connection_id":153259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:55:59] local.INFO: IMEI packet received {"connection_id":153259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":153259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:55:59] local.INFO: TCP Data received {"connection_id":153259,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:55:59] local.INFO: Processing buffer {"connection_id":153259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:55:59] local.INFO: Packet analysis {"connection_id":153259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:55:59] local.INFO: Extracted packet for processing {"connection_id":153259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:55:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317517824001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786396855000,"timestamp_ms":1786396855000,"timestamp_seconds":1786396855,"priority":1,"record_length":96,"hex_timestamp":"0000019fed8ccad8"} 
[2026-08-11 02:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:55:59] 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-08-11 02: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 02:55:59] 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-08-11 02: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-08-11 02:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 02:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317517824001,"66":25973,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317517824001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:55:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:55:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317517824001,"power":25973,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":153259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:55:59] local.INFO: GPS data processed {"connection_id":153259,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:55:59] local.INFO: Acknowledgment sent {"connection_id":153259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:56:30] local.INFO: TCP Data received {"connection_id":153259,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:56:30] local.INFO: Processing buffer {"connection_id":153259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed8ccad8012d840d40061d6f20000c006f30..."} 
[2026-08-11 02:56:30] local.INFO: Packet analysis {"connection_id":153259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:56:30] local.INFO: Extracted packet for processing {"connection_id":153259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed8c"} 
[2026-08-11 02:56:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02:56: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-08-11 02:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317517824001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786396855000,"timestamp_ms":1786396855000,"timestamp_seconds":1786396855,"priority":1,"record_length":96,"hex_timestamp":"0000019fed8ccad8"} 
[2026-08-11 02:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:56:30] 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-08-11 02:56: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":183,"data_length":795,"current_offset":136} 
[2026-08-11 02:56:30] 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-08-11 02:56: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-08-11 02:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 02:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317517824001,"66":25973,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317517824001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:56:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:56:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317517824001,"power":25973,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":153259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:56:30] local.INFO: GPS data processed {"connection_id":153259,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:56:30] local.INFO: Acknowledgment sent {"connection_id":153259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:56:53] local.INFO: TCP Data received {"connection_id":154662,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:56:53] local.INFO: Processing buffer {"connection_id":154662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:56:53] local.INFO: IMEI packet received {"connection_id":154662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":154662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:56:59] local.INFO: TCP Data received {"connection_id":154662,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:56:59] local.INFO: Processing buffer {"connection_id":154662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:56:59] local.INFO: IMEI packet received {"connection_id":154662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":154662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:56:59] local.INFO: TCP Data received {"connection_id":154662,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:56:59] local.INFO: Processing buffer {"connection_id":154662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:56:59] local.INFO: Packet analysis {"connection_id":154662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 02:56:59] local.INFO: Extracted packet for processing {"connection_id":154662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 02:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317594880001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786397156000,"timestamp_ms":1786397156000,"timestamp_seconds":1786397156,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9162a0"} 
[2026-08-11 02:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 02:56:59] 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-08-11 02: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-08-11 02:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 02:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317594880001,"66":25854,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317594880001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:56:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:56:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317594880001,"power":25854,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":154662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:56:59] local.INFO: GPS data processed {"connection_id":154662,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:56:59] local.INFO: Acknowledgment sent {"connection_id":154662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:57:30] local.INFO: TCP Data received {"connection_id":154662,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:57:30] local.INFO: Processing buffer {"connection_id":154662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:57:30] local.INFO: Packet analysis {"connection_id":154662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 02:57:30] local.INFO: Extracted packet for processing {"connection_id":154662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 02:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02:57: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-08-11 02:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317594880001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786397156000,"timestamp_ms":1786397156000,"timestamp_seconds":1786397156,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9162a0"} 
[2026-08-11 02:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02:57: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":117,"data_length":795,"current_offset":136} 
[2026-08-11 02:57:30] 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-08-11 02:57: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-08-11 02:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 02:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317594880001,"66":25854,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317594880001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:57:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:57:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317594880001,"power":25854,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":154662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:57:30] local.INFO: GPS data processed {"connection_id":154662,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:57:30] local.INFO: Acknowledgment sent {"connection_id":154662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:57:59] local.INFO: TCP Data received {"connection_id":151938,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:57:59] local.INFO: Processing buffer {"connection_id":151938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:57:59] local.INFO: IMEI packet received {"connection_id":151938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":151938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:58:04] local.INFO: TCP Data received {"connection_id":151938,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:58:04] local.INFO: Processing buffer {"connection_id":151938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:58:04] local.INFO: IMEI packet received {"connection_id":151938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":151938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:58:04] local.INFO: TCP Data received {"connection_id":151938,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:58:04] local.INFO: Processing buffer {"connection_id":151938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:58:04] local.INFO: Packet analysis {"connection_id":151938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 02:58:04] local.INFO: Extracted packet for processing {"connection_id":151938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 02:58:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317594880001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786397156000,"timestamp_ms":1786397156000,"timestamp_seconds":1786397156,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9162a0"} 
[2026-08-11 02:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 02:58:04] 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-08-11 02: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-08-11 02:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:58: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-08-11 02:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317594880001,"66":25854,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317594880001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:58:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:58:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317594880001,"power":25854,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":151938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:58:04] local.INFO: GPS data processed {"connection_id":151938,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:58:04] local.INFO: Acknowledgment sent {"connection_id":151938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:58:35] local.INFO: TCP Data received {"connection_id":151938,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:58:35] local.INFO: Processing buffer {"connection_id":151938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:58:35] local.INFO: Packet analysis {"connection_id":151938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 02:58:35] local.INFO: Extracted packet for processing {"connection_id":151938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 02:58:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317594880001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786397156000,"timestamp_ms":1786397156000,"timestamp_seconds":1786397156,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9162a0"} 
[2026-08-11 02:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 02:58:35] 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-08-11 02: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-08-11 02:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:58: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-08-11 02:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317594880001,"66":25854,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317594880001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:58:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:58:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317594880001,"power":25854,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":151938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:58:35] local.INFO: GPS data processed {"connection_id":151938,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:58:35] local.INFO: Acknowledgment sent {"connection_id":151938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:58:54] local.INFO: TCP Data received {"connection_id":154663,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:58:54] local.INFO: Processing buffer {"connection_id":154663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:58:54] local.INFO: IMEI packet received {"connection_id":154663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":154663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:58:59] local.INFO: TCP Data received {"connection_id":154663,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:58:59] local.INFO: Processing buffer {"connection_id":154663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:58:59] local.INFO: IMEI packet received {"connection_id":154663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":154663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:58:59] local.INFO: TCP Data received {"connection_id":154663,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:58:59] local.INFO: Processing buffer {"connection_id":154663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:58:59] local.INFO: Packet analysis {"connection_id":154663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 02:58:59] local.INFO: Extracted packet for processing {"connection_id":154663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 02:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02:58: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-08-11 02:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317594880001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786397156000,"timestamp_ms":1786397156000,"timestamp_seconds":1786397156,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9162a0"} 
[2026-08-11 02:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02:58: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":117,"data_length":795,"current_offset":136} 
[2026-08-11 02:58:59] 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-08-11 02:58: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-08-11 02:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:58:59] 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-08-11 02:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317594880001,"66":25854,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317594880001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:58:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:58:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317594880001,"power":25854,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":154663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:58:59] local.INFO: GPS data processed {"connection_id":154663,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:58:59] local.INFO: Acknowledgment sent {"connection_id":154663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:59:30] local.INFO: TCP Data received {"connection_id":154663,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:59:30] local.INFO: Processing buffer {"connection_id":154663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:59:30] local.INFO: Packet analysis {"connection_id":154663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 02:59:30] local.INFO: Extracted packet for processing {"connection_id":154663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 02:59:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02:59: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-08-11 02:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317594880001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786397156000,"timestamp_ms":1786397156000,"timestamp_seconds":1786397156,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9162a0"} 
[2026-08-11 02:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02:59: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":117,"data_length":795,"current_offset":136} 
[2026-08-11 02:59:30] 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-08-11 02:59: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-08-11 02:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:59:30] 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-08-11 02:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317594880001,"66":25854,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317594880001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:59:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:59:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317594880001,"power":25854,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":154663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:59:30] local.INFO: GPS data processed {"connection_id":154663,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:59:30] local.INFO: Acknowledgment sent {"connection_id":154663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 02:59:54] local.INFO: TCP Data received {"connection_id":153260,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:59:54] local.INFO: Processing buffer {"connection_id":153260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:59:54] local.INFO: IMEI packet received {"connection_id":153260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 02:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":153260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 02:59:59] local.INFO: TCP Data received {"connection_id":153260,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:59:59] local.INFO: Processing buffer {"connection_id":153260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 02:59:59] local.INFO: IMEI packet received {"connection_id":153260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 02:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":153260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 02:59:59] local.INFO: TCP Data received {"connection_id":153260,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:59:59] local.INFO: Processing buffer {"connection_id":153260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 02:59:59] local.INFO: Packet analysis {"connection_id":153260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 02:59:59] local.INFO: Extracted packet for processing {"connection_id":153260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 02:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 02: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-08-11 02:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317594880001,"note":"Value kept but may cause issues"} 
[2026-08-11 02:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 02:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 02:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 02:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786397156000,"timestamp_ms":1786397156000,"timestamp_seconds":1786397156,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9162a0"} 
[2026-08-11 02:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 02:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 02: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 02:59:59] 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-08-11 02: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-08-11 02:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 02:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 02:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 02:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 02:59:59] 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-08-11 02:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 02:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 02:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317594880001,"66":25854,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 02:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 02:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 02:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317594880001,"description":"Unknown IO ID 0"} 
[2026-08-11 02:59:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 02:59:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 02:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 02:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 02:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317594880001,"power":25854,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 02:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":153260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 02:59:59] local.INFO: GPS data processed {"connection_id":153260,"processed":1,"errors":0,"total":1} 
[2026-08-11 02:59:59] local.INFO: Acknowledgment sent {"connection_id":153260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:00:30] local.INFO: TCP Data received {"connection_id":153260,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 03:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 03:00:30] local.INFO: Processing buffer {"connection_id":153260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 03:00:30] local.INFO: Packet analysis {"connection_id":153260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 03:00:30] local.INFO: Extracted packet for processing {"connection_id":153260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 03:00:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317594880001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786397156000,"timestamp_ms":1786397156000,"timestamp_seconds":1786397156,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9162a0"} 
[2026-08-11 03:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 03:00:30] 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-08-11 03: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-08-11 03:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:00:30] 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-08-11 03:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317594880001,"66":25854,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317594880001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:00:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:00:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317594880001,"power":25854,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":153260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:00:30] local.INFO: GPS data processed {"connection_id":153260,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:00:30] local.INFO: Acknowledgment sent {"connection_id":153260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:00:54] local.INFO: TCP Data received {"connection_id":153261,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:00:54] local.INFO: Processing buffer {"connection_id":153261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:00:54] local.INFO: IMEI packet received {"connection_id":153261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":153261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:00:59] local.INFO: TCP Data received {"connection_id":153261,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:00:59] local.INFO: Processing buffer {"connection_id":153261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:00:59] local.INFO: IMEI packet received {"connection_id":153261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":153261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:00:59] local.INFO: TCP Data received {"connection_id":153261,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 03:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 03:00:59] local.INFO: Processing buffer {"connection_id":153261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 03:00:59] local.INFO: Packet analysis {"connection_id":153261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 03:00:59] local.INFO: Extracted packet for processing {"connection_id":153261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 03:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317594880001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786397156000,"timestamp_ms":1786397156000,"timestamp_seconds":1786397156,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9162a0"} 
[2026-08-11 03:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 03:00:59] 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-08-11 03: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-08-11 03:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:00:59] 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-08-11 03:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317594880001,"66":25854,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317594880001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:00:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:00:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317594880001,"power":25854,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":153261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:00:59] local.INFO: GPS data processed {"connection_id":153261,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:00:59] local.INFO: Acknowledgment sent {"connection_id":153261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:01:30] local.INFO: TCP Data received {"connection_id":153261,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 03:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 03:01:30] local.INFO: Processing buffer {"connection_id":153261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9162a0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 03:01:30] local.INFO: Packet analysis {"connection_id":153261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 03:01:30] local.INFO: Extracted packet for processing {"connection_id":153261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed91"} 
[2026-08-11 03:01:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:01: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-08-11 03:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317594880001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786397156000,"timestamp_ms":1786397156000,"timestamp_seconds":1786397156,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9162a0"} 
[2026-08-11 03:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03:01: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":117,"data_length":795,"current_offset":136} 
[2026-08-11 03:01:30] 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-08-11 03:01: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-08-11 03:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:01:30] 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-08-11 03:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317594880001,"66":25854,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317594880001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:01:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:01:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317594880001,"power":25854,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":153261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:01:30] local.INFO: GPS data processed {"connection_id":153261,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:01:30] local.INFO: Acknowledgment sent {"connection_id":153261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:01:53] local.INFO: TCP Data received {"connection_id":152325,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:01:53] local.INFO: Processing buffer {"connection_id":152325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:01:53] local.INFO: IMEI packet received {"connection_id":152325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":152325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:01:59] local.INFO: TCP Data received {"connection_id":152325,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:01:59] local.INFO: Processing buffer {"connection_id":152325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:01:59] local.INFO: IMEI packet received {"connection_id":152325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":152325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:01:59] local.INFO: TCP Data received {"connection_id":152325,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:01:59] local.INFO: Processing buffer {"connection_id":152325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:01:59] local.INFO: Packet analysis {"connection_id":152325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:01:59] local.INFO: Extracted packet for processing {"connection_id":152325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317671936001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786397457000,"timestamp_ms":1786397457000,"timestamp_seconds":1786397457,"priority":1,"record_length":96,"hex_timestamp":"0000019fed95fa68"} 
[2026-08-11 03:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 03:01:59] 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-08-11 03: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-08-11 03:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:01:59] 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-08-11 03:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317671936001,"66":25908,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317671936001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:01:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:01:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317671936001,"power":25908,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":152325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:01:59] local.INFO: GPS data processed {"connection_id":152325,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:01:59] local.INFO: Acknowledgment sent {"connection_id":152325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:02:30] local.INFO: TCP Data received {"connection_id":152325,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:02:30] local.INFO: Processing buffer {"connection_id":152325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:02:30] local.INFO: Packet analysis {"connection_id":152325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:02:30] local.INFO: Extracted packet for processing {"connection_id":152325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:02: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-08-11 03:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317671936001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786397457000,"timestamp_ms":1786397457000,"timestamp_seconds":1786397457,"priority":1,"record_length":96,"hex_timestamp":"0000019fed95fa68"} 
[2026-08-11 03:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03:02: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":254,"data_length":795,"current_offset":136} 
[2026-08-11 03:02:30] 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-08-11 03:02: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-08-11 03:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:02:30] 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-08-11 03:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317671936001,"66":25908,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317671936001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:02:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:02:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317671936001,"power":25908,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":152325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:02:30] local.INFO: GPS data processed {"connection_id":152325,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:02:30] local.INFO: Acknowledgment sent {"connection_id":152325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:02:59] local.INFO: TCP Data received {"connection_id":154664,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:02:59] local.INFO: Processing buffer {"connection_id":154664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:02:59] local.INFO: IMEI packet received {"connection_id":154664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":154664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:03:04] local.INFO: TCP Data received {"connection_id":154664,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:03:04] local.INFO: Processing buffer {"connection_id":154664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:03:04] local.INFO: IMEI packet received {"connection_id":154664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":154664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:03:04] local.INFO: TCP Data received {"connection_id":154664,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:03:04] local.INFO: Processing buffer {"connection_id":154664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:03:04] local.INFO: Packet analysis {"connection_id":154664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:03:04] local.INFO: Extracted packet for processing {"connection_id":154664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317671936001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786397457000,"timestamp_ms":1786397457000,"timestamp_seconds":1786397457,"priority":1,"record_length":96,"hex_timestamp":"0000019fed95fa68"} 
[2026-08-11 03:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 03:03:04] 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-08-11 03: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-08-11 03:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:03:04] 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-08-11 03:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317671936001,"66":25908,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317671936001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:03:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:03:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317671936001,"power":25908,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":154664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:03:04] local.INFO: GPS data processed {"connection_id":154664,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:03:04] local.INFO: Acknowledgment sent {"connection_id":154664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:03:09] local.INFO: TCP Data received {"connection_id":154664,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:03:09] local.INFO: Processing buffer {"connection_id":154664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:03:09] local.INFO: Packet analysis {"connection_id":154664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:03:09] local.INFO: Extracted packet for processing {"connection_id":154664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 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-08-11 03:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317671936001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786397457000,"timestamp_ms":1786397457000,"timestamp_seconds":1786397457,"priority":1,"record_length":96,"hex_timestamp":"0000019fed95fa68"} 
[2026-08-11 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-08-11 03:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 03:03:09] 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-08-11 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-08-11 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-08-11 03:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:03:09] 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-08-11 03:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317671936001,"66":25908,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317671936001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:03:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:03:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317671936001,"power":25908,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":154664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:03:09] local.INFO: GPS data processed {"connection_id":154664,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:03:09] local.INFO: Acknowledgment sent {"connection_id":154664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:03:54] local.INFO: TCP Data received {"connection_id":151939,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:03:54] local.INFO: Processing buffer {"connection_id":151939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:03:54] local.INFO: IMEI packet received {"connection_id":151939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":151939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:03:59] local.INFO: TCP Data received {"connection_id":151939,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:03:59] local.INFO: Processing buffer {"connection_id":151939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:03:59] local.INFO: IMEI packet received {"connection_id":151939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":151939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:03:59] local.INFO: TCP Data received {"connection_id":151939,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:03:59] local.INFO: Processing buffer {"connection_id":151939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:03:59] local.INFO: Packet analysis {"connection_id":151939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:03:59] local.INFO: Extracted packet for processing {"connection_id":151939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:03: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-08-11 03:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317671936001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786397457000,"timestamp_ms":1786397457000,"timestamp_seconds":1786397457,"priority":1,"record_length":96,"hex_timestamp":"0000019fed95fa68"} 
[2026-08-11 03:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03:03: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":254,"data_length":795,"current_offset":136} 
[2026-08-11 03:03:59] 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-08-11 03:03: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-08-11 03:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:03:59] 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-08-11 03:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317671936001,"66":25908,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317671936001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:03:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:03:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317671936001,"power":25908,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":151939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:03:59] local.INFO: GPS data processed {"connection_id":151939,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:03:59] local.INFO: Acknowledgment sent {"connection_id":151939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:04:30] local.INFO: TCP Data received {"connection_id":151939,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:04:30] local.INFO: Processing buffer {"connection_id":151939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:04:30] local.INFO: Packet analysis {"connection_id":151939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:04:30] local.INFO: Extracted packet for processing {"connection_id":151939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:04: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-08-11 03:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317671936001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786397457000,"timestamp_ms":1786397457000,"timestamp_seconds":1786397457,"priority":1,"record_length":96,"hex_timestamp":"0000019fed95fa68"} 
[2026-08-11 03:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03:04: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":254,"data_length":795,"current_offset":136} 
[2026-08-11 03:04:30] 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-08-11 03:04: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-08-11 03:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:04:30] 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-08-11 03:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317671936001,"66":25908,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317671936001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:04:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:04:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317671936001,"power":25908,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":151939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:04:30] local.INFO: GPS data processed {"connection_id":151939,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:04:30] local.INFO: Acknowledgment sent {"connection_id":151939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:04:54] local.INFO: TCP Data received {"connection_id":153262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:04:54] local.INFO: Processing buffer {"connection_id":153262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:04:54] local.INFO: IMEI packet received {"connection_id":153262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":153262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:04:59] local.INFO: TCP Data received {"connection_id":153262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:04:59] local.INFO: Processing buffer {"connection_id":153262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:04:59] local.INFO: IMEI packet received {"connection_id":153262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":153262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:04:59] local.INFO: TCP Data received {"connection_id":153262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:04:59] local.INFO: Processing buffer {"connection_id":153262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:04:59] local.INFO: Packet analysis {"connection_id":153262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:04:59] local.INFO: Extracted packet for processing {"connection_id":153262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:04:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317671936001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786397457000,"timestamp_ms":1786397457000,"timestamp_seconds":1786397457,"priority":1,"record_length":96,"hex_timestamp":"0000019fed95fa68"} 
[2026-08-11 03:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 03:04:59] 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-08-11 03: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-08-11 03:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 03:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317671936001,"66":25908,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317671936001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:04:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:04:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317671936001,"power":25908,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":153262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:04:59] local.INFO: GPS data processed {"connection_id":153262,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:04:59] local.INFO: Acknowledgment sent {"connection_id":153262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:05:30] local.INFO: TCP Data received {"connection_id":153262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:05:30] local.INFO: Processing buffer {"connection_id":153262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:05:30] local.INFO: Packet analysis {"connection_id":153262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:05:30] local.INFO: Extracted packet for processing {"connection_id":153262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:05:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317671936001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786397457000,"timestamp_ms":1786397457000,"timestamp_seconds":1786397457,"priority":1,"record_length":96,"hex_timestamp":"0000019fed95fa68"} 
[2026-08-11 03:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 03:05:30] 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-08-11 03: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-08-11 03:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 03:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317671936001,"66":25908,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317671936001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:05:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:05:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317671936001,"power":25908,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":153262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:05:30] local.INFO: GPS data processed {"connection_id":153262,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:05:30] local.INFO: Acknowledgment sent {"connection_id":153262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:05:53] local.INFO: TCP Data received {"connection_id":153263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:05:53] local.INFO: Processing buffer {"connection_id":153263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:05:53] local.INFO: IMEI packet received {"connection_id":153263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":153263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:05:58] local.INFO: TCP Data received {"connection_id":153263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:05:58] local.INFO: Processing buffer {"connection_id":153263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:05:58] local.INFO: IMEI packet received {"connection_id":153263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":153263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:05:59] local.INFO: TCP Data received {"connection_id":153263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:05:59] local.INFO: Processing buffer {"connection_id":153263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:05:59] local.INFO: Packet analysis {"connection_id":153263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:05:59] local.INFO: Extracted packet for processing {"connection_id":153263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317671936001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786397457000,"timestamp_ms":1786397457000,"timestamp_seconds":1786397457,"priority":1,"record_length":96,"hex_timestamp":"0000019fed95fa68"} 
[2026-08-11 03:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 03:05:59] 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-08-11 03: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-08-11 03:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 03:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317671936001,"66":25908,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317671936001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:05:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:05:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317671936001,"power":25908,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":153263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:05:59] local.INFO: GPS data processed {"connection_id":153263,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:05:59] local.INFO: Acknowledgment sent {"connection_id":153263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:06:30] local.INFO: TCP Data received {"connection_id":153263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:06:30] local.INFO: Processing buffer {"connection_id":153263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed95fa68012d840d40061d6f20000c006f30..."} 
[2026-08-11 03:06:30] local.INFO: Packet analysis {"connection_id":153263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:06:30] local.INFO: Extracted packet for processing {"connection_id":153263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed95"} 
[2026-08-11 03:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317671936001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786397457000,"timestamp_ms":1786397457000,"timestamp_seconds":1786397457,"priority":1,"record_length":96,"hex_timestamp":"0000019fed95fa68"} 
[2026-08-11 03:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 03:06:30] 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-08-11 03: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-08-11 03:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 03:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317671936001,"66":25908,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317671936001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:06:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:06:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317671936001,"power":25908,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":153263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:06:30] local.INFO: GPS data processed {"connection_id":153263,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:06:30] local.INFO: Acknowledgment sent {"connection_id":153263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:06:53] local.INFO: TCP Data received {"connection_id":154665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:06:53] local.INFO: Processing buffer {"connection_id":154665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:06:53] local.INFO: IMEI packet received {"connection_id":154665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":154665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:06:58] local.INFO: TCP Data received {"connection_id":154665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:06:58] local.INFO: Processing buffer {"connection_id":154665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:06:58] local.INFO: IMEI packet received {"connection_id":154665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":154665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:06:59] local.INFO: TCP Data received {"connection_id":154665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:06:59] local.INFO: Processing buffer {"connection_id":154665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:06:59] local.INFO: Packet analysis {"connection_id":154665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:06:59] local.INFO: Extracted packet for processing {"connection_id":154665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:06: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-08-11 03:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317748992001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786397758000,"timestamp_ms":1786397758000,"timestamp_seconds":1786397758,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9a9230"} 
[2026-08-11 03:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:06:59] 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-08-11 03: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-11 03:06:59] 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-08-11 03: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-08-11 03:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 03:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317748992001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317748992001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:06:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:06:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317748992001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":154665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:06:59] local.INFO: GPS data processed {"connection_id":154665,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:06:59] local.INFO: Acknowledgment sent {"connection_id":154665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:07:30] local.INFO: TCP Data received {"connection_id":154665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:07:30] local.INFO: Processing buffer {"connection_id":154665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:07:30] local.INFO: Packet analysis {"connection_id":154665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:07:30] local.INFO: Extracted packet for processing {"connection_id":154665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317748992001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786397758000,"timestamp_ms":1786397758000,"timestamp_seconds":1786397758,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9a9230"} 
[2026-08-11 03:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:07:30] 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-08-11 03: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-11 03:07:30] 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-08-11 03:07: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-08-11 03:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 03:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317748992001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317748992001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:07:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:07:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317748992001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":154665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:07:30] local.INFO: GPS data processed {"connection_id":154665,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:07:30] local.INFO: Acknowledgment sent {"connection_id":154665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:07:53] local.INFO: TCP Data received {"connection_id":153264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:07:53] local.INFO: Processing buffer {"connection_id":153264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:07:53] local.INFO: IMEI packet received {"connection_id":153264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":153264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:07:58] local.INFO: TCP Data received {"connection_id":153264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:07:58] local.INFO: Processing buffer {"connection_id":153264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:07:58] local.INFO: IMEI packet received {"connection_id":153264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":153264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:07:59] local.INFO: TCP Data received {"connection_id":153264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:07:59] local.INFO: Processing buffer {"connection_id":153264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:07:59] local.INFO: Packet analysis {"connection_id":153264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:07:59] local.INFO: Extracted packet for processing {"connection_id":153264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317748992001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786397758000,"timestamp_ms":1786397758000,"timestamp_seconds":1786397758,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9a9230"} 
[2026-08-11 03:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:07:59] 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-08-11 03: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-11 03:07:59] 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-08-11 03: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-08-11 03:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 03:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317748992001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317748992001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:07:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:07:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317748992001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":153264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:07:59] local.INFO: GPS data processed {"connection_id":153264,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:07:59] local.INFO: Acknowledgment sent {"connection_id":153264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:08:30] local.INFO: TCP Data received {"connection_id":153264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:08:30] local.INFO: Processing buffer {"connection_id":153264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:08:30] local.INFO: Packet analysis {"connection_id":153264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:08:30] local.INFO: Extracted packet for processing {"connection_id":153264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:08:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317748992001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786397758000,"timestamp_ms":1786397758000,"timestamp_seconds":1786397758,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9a9230"} 
[2026-08-11 03:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:08:30] 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-08-11 03: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-11 03:08:30] 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-08-11 03:08: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-08-11 03:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 03:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317748992001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317748992001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:08:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:08:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317748992001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":153264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:08:30] local.INFO: GPS data processed {"connection_id":153264,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:08:30] local.INFO: Acknowledgment sent {"connection_id":153264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:09:28] local.INFO: TCP Data received {"connection_id":152326,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:09:28] local.INFO: Processing buffer {"connection_id":152326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:09:28] local.INFO: IMEI packet received {"connection_id":152326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":152326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:09:34] local.INFO: TCP Data received {"connection_id":152326,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:09:34] local.INFO: Processing buffer {"connection_id":152326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:09:34] local.INFO: IMEI packet received {"connection_id":152326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":152326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:09:34] local.INFO: TCP Data received {"connection_id":152326,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:09:34] local.INFO: Processing buffer {"connection_id":152326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:09:34] local.INFO: Packet analysis {"connection_id":152326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:09:34] local.INFO: Extracted packet for processing {"connection_id":152326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317748992001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786397758000,"timestamp_ms":1786397758000,"timestamp_seconds":1786397758,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9a9230"} 
[2026-08-11 03:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:09:34] 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-08-11 03: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-11 03:09:34] 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-08-11 03: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-08-11 03:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:09:34] 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-08-11 03:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317748992001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317748992001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:09:34] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:09:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317748992001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":152326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:09:34] local.INFO: GPS data processed {"connection_id":152326,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:09:34] local.INFO: Acknowledgment sent {"connection_id":152326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:09:54] local.INFO: TCP Data received {"connection_id":152327,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:09:54] local.INFO: Processing buffer {"connection_id":152327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:09:54] local.INFO: IMEI packet received {"connection_id":152327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":152327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:09:59] local.INFO: TCP Data received {"connection_id":152327,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:09:59] local.INFO: Processing buffer {"connection_id":152327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:09:59] local.INFO: IMEI packet received {"connection_id":152327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":152327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:09:59] local.INFO: TCP Data received {"connection_id":152327,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:09:59] local.INFO: Processing buffer {"connection_id":152327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:09:59] local.INFO: Packet analysis {"connection_id":152327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:09:59] local.INFO: Extracted packet for processing {"connection_id":152327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317748992001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786397758000,"timestamp_ms":1786397758000,"timestamp_seconds":1786397758,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9a9230"} 
[2026-08-11 03:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:09:59] 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-08-11 03: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-11 03:09:59] 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-08-11 03: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-08-11 03:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:09:59] 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-08-11 03:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317748992001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317748992001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:09:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:09:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317748992001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":152327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:09:59] local.INFO: GPS data processed {"connection_id":152327,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:09:59] local.INFO: Acknowledgment sent {"connection_id":152327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:10:30] local.INFO: TCP Data received {"connection_id":152327,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:10:30] local.INFO: Processing buffer {"connection_id":152327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:10:30] local.INFO: Packet analysis {"connection_id":152327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:10:30] local.INFO: Extracted packet for processing {"connection_id":152327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:10: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-08-11 03:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317748992001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786397758000,"timestamp_ms":1786397758000,"timestamp_seconds":1786397758,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9a9230"} 
[2026-08-11 03:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:10:30] 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-08-11 03:10: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":52,"data_length":795,"current_offset":136} 
[2026-08-11 03:10:30] 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-08-11 03:10: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-08-11 03:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:10:30] 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-08-11 03:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317748992001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317748992001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:10:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:10:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317748992001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":152327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:10:30] local.INFO: GPS data processed {"connection_id":152327,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:10:30] local.INFO: Acknowledgment sent {"connection_id":152327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:10:53] local.INFO: TCP Data received {"connection_id":154666,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:10:53] local.INFO: Processing buffer {"connection_id":154666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:10:53] local.INFO: IMEI packet received {"connection_id":154666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":154666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:10:59] local.INFO: TCP Data received {"connection_id":154666,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:10:59] local.INFO: Processing buffer {"connection_id":154666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:10:59] local.INFO: IMEI packet received {"connection_id":154666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":154666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:10:59] local.INFO: TCP Data received {"connection_id":154666,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:10:59] local.INFO: Processing buffer {"connection_id":154666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:10:59] local.INFO: Packet analysis {"connection_id":154666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:10:59] local.INFO: Extracted packet for processing {"connection_id":154666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317748992001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786397758000,"timestamp_ms":1786397758000,"timestamp_seconds":1786397758,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9a9230"} 
[2026-08-11 03:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:10:59] 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-08-11 03: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-11 03:10:59] 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-08-11 03: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-08-11 03:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:10:59] 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-08-11 03:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317748992001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317748992001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:10:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:10:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317748992001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":154666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:10:59] local.INFO: GPS data processed {"connection_id":154666,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:10:59] local.INFO: Acknowledgment sent {"connection_id":154666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:11:30] local.INFO: TCP Data received {"connection_id":154666,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:11:30] local.INFO: Processing buffer {"connection_id":154666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9a9230012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:11:30] local.INFO: Packet analysis {"connection_id":154666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:11:30] local.INFO: Extracted packet for processing {"connection_id":154666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9a"} 
[2026-08-11 03:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:11: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-08-11 03:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317748992001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786397758000,"timestamp_ms":1786397758000,"timestamp_seconds":1786397758,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9a9230"} 
[2026-08-11 03:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:11:30] 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-08-11 03:11: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":52,"data_length":795,"current_offset":136} 
[2026-08-11 03:11:30] 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-08-11 03:11: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-08-11 03:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:11:30] 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-08-11 03:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317748992001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317748992001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:11:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:11:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317748992001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":154666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:11:30] local.INFO: GPS data processed {"connection_id":154666,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:11:30] local.INFO: Acknowledgment sent {"connection_id":154666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:11:53] local.INFO: TCP Data received {"connection_id":152328,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:11:53] local.INFO: Processing buffer {"connection_id":152328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:11:53] local.INFO: IMEI packet received {"connection_id":152328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":152328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:11:59] local.INFO: TCP Data received {"connection_id":152328,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:11:59] local.INFO: Processing buffer {"connection_id":152328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:11:59] local.INFO: IMEI packet received {"connection_id":152328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":152328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:11:59] local.INFO: TCP Data received {"connection_id":152328,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:11:59] local.INFO: Processing buffer {"connection_id":152328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:11:59] local.INFO: Packet analysis {"connection_id":152328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:11:59] local.INFO: Extracted packet for processing {"connection_id":152328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317826048001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786398059000,"timestamp_ms":1786398059000,"timestamp_seconds":1786398059,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9f29f8"} 
[2026-08-11 03:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:11:59] 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-08-11 03: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:11:59] 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-08-11 03: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-08-11 03:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:11:59] 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-08-11 03:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317826048001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317826048001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:11:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:11:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317826048001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":152328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:11:59] local.INFO: GPS data processed {"connection_id":152328,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:11:59] local.INFO: Acknowledgment sent {"connection_id":152328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:12:30] local.INFO: TCP Data received {"connection_id":152328,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:12:30] local.INFO: Processing buffer {"connection_id":152328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:12:30] local.INFO: Packet analysis {"connection_id":152328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:12:30] local.INFO: Extracted packet for processing {"connection_id":152328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:12:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:12: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-08-11 03:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317826048001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786398059000,"timestamp_ms":1786398059000,"timestamp_seconds":1786398059,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9f29f8"} 
[2026-08-11 03:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:12:30] 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-08-11 03:12: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":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:12:30] 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-08-11 03:12: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-08-11 03:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:12:30] 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-08-11 03:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317826048001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317826048001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:12:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:12:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317826048001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":152328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:12:30] local.INFO: GPS data processed {"connection_id":152328,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:12:30] local.INFO: Acknowledgment sent {"connection_id":152328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:12:53] local.INFO: TCP Data received {"connection_id":154667,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:12:53] local.INFO: Processing buffer {"connection_id":154667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:12:53] local.INFO: IMEI packet received {"connection_id":154667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":154667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:12:59] local.INFO: TCP Data received {"connection_id":154667,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:12:59] local.INFO: Processing buffer {"connection_id":154667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:12:59] local.INFO: IMEI packet received {"connection_id":154667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":154667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:12:59] local.INFO: TCP Data received {"connection_id":154667,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:12:59] local.INFO: Processing buffer {"connection_id":154667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:12:59] local.INFO: Packet analysis {"connection_id":154667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:12:59] local.INFO: Extracted packet for processing {"connection_id":154667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317826048001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786398059000,"timestamp_ms":1786398059000,"timestamp_seconds":1786398059,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9f29f8"} 
[2026-08-11 03:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:12:59] 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-08-11 03: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:12:59] 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-08-11 03: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-08-11 03:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:12:59] 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-08-11 03:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317826048001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317826048001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:12:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:12:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317826048001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":154667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:12:59] local.INFO: GPS data processed {"connection_id":154667,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:12:59] local.INFO: Acknowledgment sent {"connection_id":154667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:13:30] local.INFO: TCP Data received {"connection_id":154667,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:13:30] local.INFO: Processing buffer {"connection_id":154667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:13:30] local.INFO: Packet analysis {"connection_id":154667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:13:30] local.INFO: Extracted packet for processing {"connection_id":154667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:13:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317826048001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786398059000,"timestamp_ms":1786398059000,"timestamp_seconds":1786398059,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9f29f8"} 
[2026-08-11 03:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:13:30] 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-08-11 03: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:13:30] 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-08-11 03: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-08-11 03:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:13:30] 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-08-11 03:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317826048001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317826048001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:13:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:13:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317826048001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":154667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:13:30] local.INFO: GPS data processed {"connection_id":154667,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:13:30] local.INFO: Acknowledgment sent {"connection_id":154667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:13:59] local.INFO: TCP Data received {"connection_id":152329,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:13:59] local.INFO: Processing buffer {"connection_id":152329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:13:59] local.INFO: IMEI packet received {"connection_id":152329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":152329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:14:04] local.INFO: TCP Data received {"connection_id":152329,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:14:04] local.INFO: Processing buffer {"connection_id":152329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:14:04] local.INFO: IMEI packet received {"connection_id":152329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":152329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:14:04] local.INFO: TCP Data received {"connection_id":152329,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:14:04] local.INFO: Processing buffer {"connection_id":152329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:14:04] local.INFO: Packet analysis {"connection_id":152329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:14:04] local.INFO: Extracted packet for processing {"connection_id":152329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317826048001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786398059000,"timestamp_ms":1786398059000,"timestamp_seconds":1786398059,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9f29f8"} 
[2026-08-11 03:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:14:04] 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-08-11 03: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:14:04] 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-08-11 03: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-08-11 03:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:14: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-08-11 03:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317826048001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317826048001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:14:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:14:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317826048001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":152329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:14:04] local.INFO: GPS data processed {"connection_id":152329,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:14:04] local.INFO: Acknowledgment sent {"connection_id":152329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:14:35] local.INFO: TCP Data received {"connection_id":152329,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:14:35] local.INFO: Processing buffer {"connection_id":152329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:14:35] local.INFO: Packet analysis {"connection_id":152329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:14:35] local.INFO: Extracted packet for processing {"connection_id":152329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:14:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317826048001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786398059000,"timestamp_ms":1786398059000,"timestamp_seconds":1786398059,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9f29f8"} 
[2026-08-11 03:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:14:35] 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-08-11 03: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:14:35] 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-08-11 03: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-08-11 03:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:14: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-08-11 03:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317826048001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317826048001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:14:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:14:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317826048001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":152329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:14:35] local.INFO: GPS data processed {"connection_id":152329,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:14:35] local.INFO: Acknowledgment sent {"connection_id":152329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:14:54] local.INFO: TCP Data received {"connection_id":152330,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:14:54] local.INFO: Processing buffer {"connection_id":152330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:14:54] local.INFO: IMEI packet received {"connection_id":152330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":152330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:14:59] local.INFO: TCP Data received {"connection_id":152330,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:14:59] local.INFO: Processing buffer {"connection_id":152330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:14:59] local.INFO: IMEI packet received {"connection_id":152330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":152330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:14:59] local.INFO: TCP Data received {"connection_id":152330,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:14:59] local.INFO: Processing buffer {"connection_id":152330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:14:59] local.INFO: Packet analysis {"connection_id":152330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:14:59] local.INFO: Extracted packet for processing {"connection_id":152330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317826048001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786398059000,"timestamp_ms":1786398059000,"timestamp_seconds":1786398059,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9f29f8"} 
[2026-08-11 03:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:14:59] 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-08-11 03: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:14:59] 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-08-11 03: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-08-11 03:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:14:59] 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-08-11 03:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317826048001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317826048001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:14:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:14:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317826048001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":152330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:14:59] local.INFO: GPS data processed {"connection_id":152330,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:14:59] local.INFO: Acknowledgment sent {"connection_id":152330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:15:30] local.INFO: TCP Data received {"connection_id":152330,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:15:30] local.INFO: Processing buffer {"connection_id":152330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:15:30] local.INFO: Packet analysis {"connection_id":152330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:15:30] local.INFO: Extracted packet for processing {"connection_id":152330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:15:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317826048001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786398059000,"timestamp_ms":1786398059000,"timestamp_seconds":1786398059,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9f29f8"} 
[2026-08-11 03:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:15:30] 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-08-11 03: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:15:30] 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-08-11 03: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-08-11 03:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:15:30] 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-08-11 03:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317826048001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317826048001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:15:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:15:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317826048001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":152330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:15:30] local.INFO: GPS data processed {"connection_id":152330,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:15:30] local.INFO: Acknowledgment sent {"connection_id":152330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:15:54] local.INFO: TCP Data received {"connection_id":153265,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:15:54] local.INFO: Processing buffer {"connection_id":153265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:15:54] local.INFO: IMEI packet received {"connection_id":153265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":153265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:15:59] local.INFO: TCP Data received {"connection_id":153265,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:15:59] local.INFO: Processing buffer {"connection_id":153265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:15:59] local.INFO: IMEI packet received {"connection_id":153265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":153265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:15:59] local.INFO: TCP Data received {"connection_id":153265,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:15:59] local.INFO: Processing buffer {"connection_id":153265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:15:59] local.INFO: Packet analysis {"connection_id":153265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:15:59] local.INFO: Extracted packet for processing {"connection_id":153265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:15: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-08-11 03:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317826048001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786398059000,"timestamp_ms":1786398059000,"timestamp_seconds":1786398059,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9f29f8"} 
[2026-08-11 03:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:15:59] 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-08-11 03:15: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":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:15:59] 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-08-11 03:15: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-08-11 03:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:15:59] 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-08-11 03:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317826048001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317826048001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:15:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:15:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317826048001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":153265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:15:59] local.INFO: GPS data processed {"connection_id":153265,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:15:59] local.INFO: Acknowledgment sent {"connection_id":153265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:16:30] local.INFO: TCP Data received {"connection_id":153265,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:16:30] local.INFO: Processing buffer {"connection_id":153265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fed9f29f8012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:16:30] local.INFO: Packet analysis {"connection_id":153265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:16:30] local.INFO: Extracted packet for processing {"connection_id":153265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fed9f"} 
[2026-08-11 03:16:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317826048001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786398059000,"timestamp_ms":1786398059000,"timestamp_seconds":1786398059,"priority":1,"record_length":96,"hex_timestamp":"0000019fed9f29f8"} 
[2026-08-11 03:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:16:30] 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-08-11 03: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:16:30] 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-08-11 03: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-08-11 03:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:16:30] 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-08-11 03:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317826048001,"66":25875,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317826048001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:16:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:16:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317826048001,"power":25875,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":153265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:16:30] local.INFO: GPS data processed {"connection_id":153265,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:16:30] local.INFO: Acknowledgment sent {"connection_id":153265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:16:53] local.INFO: TCP Data received {"connection_id":151940,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:16:53] local.INFO: Processing buffer {"connection_id":151940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:16:53] local.INFO: IMEI packet received {"connection_id":151940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":151940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:16:59] local.INFO: TCP Data received {"connection_id":151940,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:16:59] local.INFO: Processing buffer {"connection_id":151940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:16:59] local.INFO: IMEI packet received {"connection_id":151940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":151940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:17:00] local.INFO: TCP Data received {"connection_id":151940,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:17:00] local.INFO: Processing buffer {"connection_id":151940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:17:00] local.INFO: Packet analysis {"connection_id":151940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:17:00] local.INFO: Extracted packet for processing {"connection_id":151940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317903104001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786398360000,"timestamp_ms":1786398360000,"timestamp_seconds":1786398360,"priority":1,"record_length":96,"hex_timestamp":"0000019feda3c1c0"} 
[2026-08-11 03:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:17:00] 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-08-11 03: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:17:00] 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-08-11 03: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-08-11 03:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:17:00] 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-08-11 03:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317903104001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317903104001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:17:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:17:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317903104001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":151940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:17:00] local.INFO: GPS data processed {"connection_id":151940,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:17:00] local.INFO: Acknowledgment sent {"connection_id":151940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:17:31] local.INFO: TCP Data received {"connection_id":151940,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:17:31] local.INFO: Processing buffer {"connection_id":151940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:17:31] local.INFO: Packet analysis {"connection_id":151940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:17:31] local.INFO: Extracted packet for processing {"connection_id":151940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:17: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-08-11 03:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317903104001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786398360000,"timestamp_ms":1786398360000,"timestamp_seconds":1786398360,"priority":1,"record_length":96,"hex_timestamp":"0000019feda3c1c0"} 
[2026-08-11 03:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:17:31] 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-08-11 03:17: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":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:17:31] 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-08-11 03:17: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-08-11 03:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:17:31] 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-08-11 03:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317903104001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317903104001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:17:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:17:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317903104001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":151940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:17:31] local.INFO: GPS data processed {"connection_id":151940,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:17:31] local.INFO: Acknowledgment sent {"connection_id":151940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:17:53] local.INFO: TCP Data received {"connection_id":154668,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:17:53] local.INFO: Processing buffer {"connection_id":154668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:17:53] local.INFO: IMEI packet received {"connection_id":154668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":154668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:17:59] local.INFO: TCP Data received {"connection_id":154668,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:17:59] local.INFO: Processing buffer {"connection_id":154668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:17:59] local.INFO: IMEI packet received {"connection_id":154668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":154668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:17:59] local.INFO: TCP Data received {"connection_id":154668,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:17:59] local.INFO: Processing buffer {"connection_id":154668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:17:59] local.INFO: Packet analysis {"connection_id":154668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:17:59] local.INFO: Extracted packet for processing {"connection_id":154668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317903104001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786398360000,"timestamp_ms":1786398360000,"timestamp_seconds":1786398360,"priority":1,"record_length":96,"hex_timestamp":"0000019feda3c1c0"} 
[2026-08-11 03:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:17:59] 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-08-11 03: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:17:59] 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-08-11 03: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-08-11 03:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:17:59] 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-08-11 03:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317903104001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317903104001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:17:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:17:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317903104001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":154668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:17:59] local.INFO: GPS data processed {"connection_id":154668,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:17:59] local.INFO: Acknowledgment sent {"connection_id":154668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:18:30] local.INFO: TCP Data received {"connection_id":154668,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:18:30] local.INFO: Processing buffer {"connection_id":154668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:18:30] local.INFO: Packet analysis {"connection_id":154668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:18:30] local.INFO: Extracted packet for processing {"connection_id":154668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:18: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-08-11 03:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317903104001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786398360000,"timestamp_ms":1786398360000,"timestamp_seconds":1786398360,"priority":1,"record_length":96,"hex_timestamp":"0000019feda3c1c0"} 
[2026-08-11 03:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:18:30] 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-08-11 03:18: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":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:18:30] 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-08-11 03:18: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-08-11 03:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:18:30] 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-08-11 03:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317903104001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317903104001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:18:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:18:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317903104001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":154668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:18:30] local.INFO: GPS data processed {"connection_id":154668,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:18:30] local.INFO: Acknowledgment sent {"connection_id":154668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:18:59] local.INFO: TCP Data received {"connection_id":152331,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:18:59] local.INFO: Processing buffer {"connection_id":152331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:18:59] local.INFO: IMEI packet received {"connection_id":152331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":152331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:19:04] local.INFO: TCP Data received {"connection_id":152331,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:19:04] local.INFO: Processing buffer {"connection_id":152331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:19:04] local.INFO: IMEI packet received {"connection_id":152331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":152331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:19:04] local.INFO: TCP Data received {"connection_id":152331,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:19:04] local.INFO: Processing buffer {"connection_id":152331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:19:04] local.INFO: Packet analysis {"connection_id":152331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:19:04] local.INFO: Extracted packet for processing {"connection_id":152331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317903104001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786398360000,"timestamp_ms":1786398360000,"timestamp_seconds":1786398360,"priority":1,"record_length":96,"hex_timestamp":"0000019feda3c1c0"} 
[2026-08-11 03:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:19:04] 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-08-11 03: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:19:04] 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-08-11 03: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-08-11 03:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:19: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-08-11 03:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317903104001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317903104001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:19:05] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:19:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317903104001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":152331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:19:05] local.INFO: GPS data processed {"connection_id":152331,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:19:05] local.INFO: Acknowledgment sent {"connection_id":152331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:19:09] local.INFO: TCP Data received {"connection_id":152331,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:19:09] local.INFO: Processing buffer {"connection_id":152331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:19:09] local.INFO: Packet analysis {"connection_id":152331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:19:09] local.INFO: Extracted packet for processing {"connection_id":152331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317903104001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786398360000,"timestamp_ms":1786398360000,"timestamp_seconds":1786398360,"priority":1,"record_length":96,"hex_timestamp":"0000019feda3c1c0"} 
[2026-08-11 03:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:19:09] 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-08-11 03: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:19:09] 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-08-11 03: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-08-11 03:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:19:09] 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-08-11 03:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317903104001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317903104001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:19:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:19:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317903104001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":152331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:19:09] local.INFO: GPS data processed {"connection_id":152331,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:19:09] local.INFO: Acknowledgment sent {"connection_id":152331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:19:54] local.INFO: TCP Data received {"connection_id":153266,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:19:54] local.INFO: Processing buffer {"connection_id":153266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:19:54] local.INFO: IMEI packet received {"connection_id":153266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":153266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:19:59] local.INFO: TCP Data received {"connection_id":153266,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:19:59] local.INFO: Processing buffer {"connection_id":153266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:19:59] local.INFO: IMEI packet received {"connection_id":153266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":153266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:19:59] local.INFO: TCP Data received {"connection_id":153266,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:19:59] local.INFO: Processing buffer {"connection_id":153266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:19:59] local.INFO: Packet analysis {"connection_id":153266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:19:59] local.INFO: Extracted packet for processing {"connection_id":153266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:19:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317903104001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786398360000,"timestamp_ms":1786398360000,"timestamp_seconds":1786398360,"priority":1,"record_length":96,"hex_timestamp":"0000019feda3c1c0"} 
[2026-08-11 03:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:19:59] 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-08-11 03: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:19:59] 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-08-11 03: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-08-11 03:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:19:59] 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-08-11 03:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317903104001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317903104001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:19:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:19:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317903104001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":153266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:19:59] local.INFO: GPS data processed {"connection_id":153266,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:19:59] local.INFO: Acknowledgment sent {"connection_id":153266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:20:30] local.INFO: TCP Data received {"connection_id":153266,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:20:30] local.INFO: Processing buffer {"connection_id":153266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:20:30] local.INFO: Packet analysis {"connection_id":153266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:20:30] local.INFO: Extracted packet for processing {"connection_id":153266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:20:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:20: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-08-11 03:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317903104001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786398360000,"timestamp_ms":1786398360000,"timestamp_seconds":1786398360,"priority":1,"record_length":96,"hex_timestamp":"0000019feda3c1c0"} 
[2026-08-11 03:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:20:30] 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-08-11 03:20: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":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:20:30] 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-08-11 03:20: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-08-11 03:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:20:30] 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-08-11 03:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317903104001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317903104001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:20:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:20:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317903104001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":153266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:20:30] local.INFO: GPS data processed {"connection_id":153266,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:20:30] local.INFO: Acknowledgment sent {"connection_id":153266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:20:54] local.INFO: TCP Data received {"connection_id":151941,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:20:54] local.INFO: Processing buffer {"connection_id":151941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:20:54] local.INFO: IMEI packet received {"connection_id":151941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":151941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:20:59] local.INFO: TCP Data received {"connection_id":151941,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:20:59] local.INFO: Processing buffer {"connection_id":151941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:20:59] local.INFO: IMEI packet received {"connection_id":151941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":151941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:21:20] local.INFO: TCP Data received {"connection_id":151941,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:21:20] local.INFO: Processing buffer {"connection_id":151941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda3c1c0012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:21:20] local.INFO: Packet analysis {"connection_id":151941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:21:20] local.INFO: Extracted packet for processing {"connection_id":151941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda3"} 
[2026-08-11 03:21:20] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:21: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-08-11 03:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317903104001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786398360000,"timestamp_ms":1786398360000,"timestamp_seconds":1786398360,"priority":1,"record_length":96,"hex_timestamp":"0000019feda3c1c0"} 
[2026-08-11 03:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:21:20] 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-08-11 03:21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 03:21:20] 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-08-11 03:21: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-08-11 03:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:21:20] 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-08-11 03:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317903104001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317903104001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:21:20] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:21:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317903104001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":151941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:21:20] local.INFO: GPS data processed {"connection_id":151941,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:21:20] local.INFO: Acknowledgment sent {"connection_id":151941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:21:54] local.INFO: TCP Data received {"connection_id":152332,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:21:54] local.INFO: Processing buffer {"connection_id":152332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:21:54] local.INFO: IMEI packet received {"connection_id":152332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":152332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:21:58] local.INFO: TCP Data received {"connection_id":152332,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:21:58] local.INFO: Processing buffer {"connection_id":152332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:21:58] local.INFO: IMEI packet received {"connection_id":152332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":152332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:21:59] local.INFO: TCP Data received {"connection_id":152332,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:21:59] local.INFO: Processing buffer {"connection_id":152332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:21:59] local.INFO: Packet analysis {"connection_id":152332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:21:59] local.INFO: Extracted packet for processing {"connection_id":152332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:21: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-08-11 03:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317980160001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786398661000,"timestamp_ms":1786398661000,"timestamp_seconds":1786398661,"priority":1,"record_length":96,"hex_timestamp":"0000019feda85988"} 
[2026-08-11 03:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03:21: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":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:21:59] 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-08-11 03:21: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-08-11 03:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:21:59] 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-08-11 03:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317980160001,"66":25832,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317980160001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:21:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:21:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317980160001,"power":25832,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":152332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:21:59] local.INFO: GPS data processed {"connection_id":152332,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:21:59] local.INFO: Acknowledgment sent {"connection_id":152332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:22:30] local.INFO: TCP Data received {"connection_id":152332,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:22:30] local.INFO: Processing buffer {"connection_id":152332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:22:30] local.INFO: Packet analysis {"connection_id":152332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:22:30] local.INFO: Extracted packet for processing {"connection_id":152332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317980160001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786398661000,"timestamp_ms":1786398661000,"timestamp_seconds":1786398661,"priority":1,"record_length":96,"hex_timestamp":"0000019feda85988"} 
[2026-08-11 03:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:22:30] 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-08-11 03: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-08-11 03:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:22:30] 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-08-11 03:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317980160001,"66":25832,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317980160001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:22:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:22:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317980160001,"power":25832,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":152332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:22:30] local.INFO: GPS data processed {"connection_id":152332,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:22:30] local.INFO: Acknowledgment sent {"connection_id":152332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:22:53] local.INFO: TCP Data received {"connection_id":154669,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:22:53] local.INFO: Processing buffer {"connection_id":154669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:22:53] local.INFO: IMEI packet received {"connection_id":154669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":154669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:22:59] local.INFO: TCP Data received {"connection_id":154669,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:22:59] local.INFO: Processing buffer {"connection_id":154669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:22:59] local.INFO: IMEI packet received {"connection_id":154669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":154669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:22:59] local.INFO: TCP Data received {"connection_id":154669,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:22:59] local.INFO: Processing buffer {"connection_id":154669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:22:59] local.INFO: Packet analysis {"connection_id":154669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:22:59] local.INFO: Extracted packet for processing {"connection_id":154669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317980160001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786398661000,"timestamp_ms":1786398661000,"timestamp_seconds":1786398661,"priority":1,"record_length":96,"hex_timestamp":"0000019feda85988"} 
[2026-08-11 03:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:22:59] 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-08-11 03: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-08-11 03:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:22:59] 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-08-11 03:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317980160001,"66":25832,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317980160001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:22:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:22:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317980160001,"power":25832,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":154669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:22:59] local.INFO: GPS data processed {"connection_id":154669,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:22:59] local.INFO: Acknowledgment sent {"connection_id":154669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:23:30] local.INFO: TCP Data received {"connection_id":154669,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:23:30] local.INFO: Processing buffer {"connection_id":154669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:23:30] local.INFO: Packet analysis {"connection_id":154669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:23:30] local.INFO: Extracted packet for processing {"connection_id":154669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:23:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317980160001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786398661000,"timestamp_ms":1786398661000,"timestamp_seconds":1786398661,"priority":1,"record_length":96,"hex_timestamp":"0000019feda85988"} 
[2026-08-11 03:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:23:30] 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-08-11 03: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-08-11 03:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:23:30] 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-08-11 03:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317980160001,"66":25832,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317980160001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:23:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:23:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317980160001,"power":25832,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":154669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:23:30] local.INFO: GPS data processed {"connection_id":154669,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:23:30] local.INFO: Acknowledgment sent {"connection_id":154669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:23:59] local.INFO: TCP Data received {"connection_id":153267,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:23:59] local.INFO: Processing buffer {"connection_id":153267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:23:59] local.INFO: IMEI packet received {"connection_id":153267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":153267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:24:04] local.INFO: TCP Data received {"connection_id":153267,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:24:04] local.INFO: Processing buffer {"connection_id":153267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:24:04] local.INFO: IMEI packet received {"connection_id":153267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":153267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:24:04] local.INFO: TCP Data received {"connection_id":153267,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:24:04] local.INFO: Processing buffer {"connection_id":153267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:24:04] local.INFO: Packet analysis {"connection_id":153267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:24:04] local.INFO: Extracted packet for processing {"connection_id":153267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:24:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317980160001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786398661000,"timestamp_ms":1786398661000,"timestamp_seconds":1786398661,"priority":1,"record_length":96,"hex_timestamp":"0000019feda85988"} 
[2026-08-11 03:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:24:04] 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-08-11 03: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-08-11 03:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:24: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-08-11 03:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317980160001,"66":25832,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317980160001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:24:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:24:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317980160001,"power":25832,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":153267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:24:04] local.INFO: GPS data processed {"connection_id":153267,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:24:04] local.INFO: Acknowledgment sent {"connection_id":153267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:24:35] local.INFO: TCP Data received {"connection_id":153267,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:24:35] local.INFO: Processing buffer {"connection_id":153267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:24:35] local.INFO: Packet analysis {"connection_id":153267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:24:35] local.INFO: Extracted packet for processing {"connection_id":153267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:24:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317980160001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786398661000,"timestamp_ms":1786398661000,"timestamp_seconds":1786398661,"priority":1,"record_length":96,"hex_timestamp":"0000019feda85988"} 
[2026-08-11 03:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:24:35] 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-08-11 03: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-08-11 03:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:24: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-08-11 03:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317980160001,"66":25832,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317980160001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:24:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:24:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317980160001,"power":25832,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":153267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:24:35] local.INFO: GPS data processed {"connection_id":153267,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:24:35] local.INFO: Acknowledgment sent {"connection_id":153267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:24:54] local.INFO: TCP Data received {"connection_id":153268,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:24:54] local.INFO: Processing buffer {"connection_id":153268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:24:54] local.INFO: IMEI packet received {"connection_id":153268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":153268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:24:59] local.INFO: TCP Data received {"connection_id":153268,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:24:59] local.INFO: Processing buffer {"connection_id":153268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:24:59] local.INFO: IMEI packet received {"connection_id":153268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":153268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:24:59] local.INFO: TCP Data received {"connection_id":153268,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:24:59] local.INFO: Processing buffer {"connection_id":153268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:24:59] local.INFO: Packet analysis {"connection_id":153268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:24:59] local.INFO: Extracted packet for processing {"connection_id":153268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317980160001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786398661000,"timestamp_ms":1786398661000,"timestamp_seconds":1786398661,"priority":1,"record_length":96,"hex_timestamp":"0000019feda85988"} 
[2026-08-11 03:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:24:59] 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-08-11 03: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-08-11 03:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:24:59] 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-08-11 03:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317980160001,"66":25832,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317980160001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:24:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:24:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317980160001,"power":25832,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":153268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:24:59] local.INFO: GPS data processed {"connection_id":153268,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:24:59] local.INFO: Acknowledgment sent {"connection_id":153268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:25:30] local.INFO: TCP Data received {"connection_id":153268,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:25:30] local.INFO: Processing buffer {"connection_id":153268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:25:30] local.INFO: Packet analysis {"connection_id":153268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:25:30] local.INFO: Extracted packet for processing {"connection_id":153268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:25:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:25: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-08-11 03:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317980160001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786398661000,"timestamp_ms":1786398661000,"timestamp_seconds":1786398661,"priority":1,"record_length":96,"hex_timestamp":"0000019feda85988"} 
[2026-08-11 03:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03:25: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":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:25:30] 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-08-11 03:25: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-08-11 03:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:25:30] 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-08-11 03:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317980160001,"66":25832,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317980160001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:25:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:25:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317980160001,"power":25832,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":153268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:25:30] local.INFO: GPS data processed {"connection_id":153268,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:25:30] local.INFO: Acknowledgment sent {"connection_id":153268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:25:54] local.INFO: TCP Data received {"connection_id":152333,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:25:54] local.INFO: Processing buffer {"connection_id":152333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:25:54] local.INFO: IMEI packet received {"connection_id":152333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":152333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:25:59] local.INFO: TCP Data received {"connection_id":152333,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:25:59] local.INFO: Processing buffer {"connection_id":152333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:25:59] local.INFO: IMEI packet received {"connection_id":152333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":152333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:25:59] local.INFO: TCP Data received {"connection_id":152333,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:25:59] local.INFO: Processing buffer {"connection_id":152333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:25:59] local.INFO: Packet analysis {"connection_id":152333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:25:59] local.INFO: Extracted packet for processing {"connection_id":152333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:25:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317980160001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786398661000,"timestamp_ms":1786398661000,"timestamp_seconds":1786398661,"priority":1,"record_length":96,"hex_timestamp":"0000019feda85988"} 
[2026-08-11 03:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:25:59] 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-08-11 03: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-08-11 03:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:25:59] 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-08-11 03:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317980160001,"66":25832,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317980160001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:25:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:25:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317980160001,"power":25832,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":152333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:25:59] local.INFO: GPS data processed {"connection_id":152333,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:25:59] local.INFO: Acknowledgment sent {"connection_id":152333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:26:31] local.INFO: TCP Data received {"connection_id":152333,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:26:31] local.INFO: Processing buffer {"connection_id":152333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feda85988012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:26:31] local.INFO: Packet analysis {"connection_id":152333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:26:31] local.INFO: Extracted packet for processing {"connection_id":152333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feda8"} 
[2026-08-11 03:26:31] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:26: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-08-11 03:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457317980160001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786398661000,"timestamp_ms":1786398661000,"timestamp_seconds":1786398661,"priority":1,"record_length":96,"hex_timestamp":"0000019feda85988"} 
[2026-08-11 03:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 03:26: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":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:26:31] 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-08-11 03:26: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-08-11 03:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:26:31] 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-08-11 03:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457317980160001,"66":25832,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457317980160001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:26:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:26:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457317980160001,"power":25832,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":152333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:26:31] local.INFO: GPS data processed {"connection_id":152333,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:26:31] local.INFO: Acknowledgment sent {"connection_id":152333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:26:54] local.INFO: TCP Data received {"connection_id":154670,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:26:54] local.INFO: Processing buffer {"connection_id":154670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:26:54] local.INFO: IMEI packet received {"connection_id":154670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":154670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:26:58] local.INFO: TCP Data received {"connection_id":154670,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:26:58] local.INFO: Processing buffer {"connection_id":154670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:26:58] local.INFO: IMEI packet received {"connection_id":154670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":154670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:26:59] local.INFO: TCP Data received {"connection_id":154670,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:26:59] local.INFO: Processing buffer {"connection_id":154670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:26:59] local.INFO: Packet analysis {"connection_id":154670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:26:59] local.INFO: Extracted packet for processing {"connection_id":154670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318057216001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786398962000,"timestamp_ms":1786398962000,"timestamp_seconds":1786398962,"priority":1,"record_length":96,"hex_timestamp":"0000019fedacf150"} 
[2026-08-11 03:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:26:59] 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-08-11 03: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-11 03:26:59] 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-08-11 03: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-08-11 03:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:26:59] 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-08-11 03:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318057216001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318057216001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:26:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:26:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318057216001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":154670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:26:59] local.INFO: GPS data processed {"connection_id":154670,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:26:59] local.INFO: Acknowledgment sent {"connection_id":154670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:27:30] local.INFO: TCP Data received {"connection_id":154670,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:27:30] local.INFO: Processing buffer {"connection_id":154670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:27:30] local.INFO: Packet analysis {"connection_id":154670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:27:30] local.INFO: Extracted packet for processing {"connection_id":154670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:27: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-08-11 03:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318057216001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786398962000,"timestamp_ms":1786398962000,"timestamp_seconds":1786398962,"priority":1,"record_length":96,"hex_timestamp":"0000019fedacf150"} 
[2026-08-11 03:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:27:30] 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-08-11 03:27: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":232,"data_length":795,"current_offset":136} 
[2026-08-11 03:27:30] 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-08-11 03:27: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-08-11 03:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:27:30] 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-08-11 03:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318057216001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318057216001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:27:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:27:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318057216001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":154670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:27:30] local.INFO: GPS data processed {"connection_id":154670,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:27:30] local.INFO: Acknowledgment sent {"connection_id":154670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:27:59] local.INFO: TCP Data received {"connection_id":153269,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:27:59] local.INFO: Processing buffer {"connection_id":153269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:27:59] local.INFO: IMEI packet received {"connection_id":153269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":153269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:28:04] local.INFO: TCP Data received {"connection_id":153269,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:28:04] local.INFO: Processing buffer {"connection_id":153269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:28:04] local.INFO: IMEI packet received {"connection_id":153269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":153269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:28:05] local.INFO: TCP Data received {"connection_id":153269,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:28:05] local.INFO: Processing buffer {"connection_id":153269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:28:05] local.INFO: Packet analysis {"connection_id":153269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:28:05] local.INFO: Extracted packet for processing {"connection_id":153269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:28:05] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318057216001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786398962000,"timestamp_ms":1786398962000,"timestamp_seconds":1786398962,"priority":1,"record_length":96,"hex_timestamp":"0000019fedacf150"} 
[2026-08-11 03:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:28:05] 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-08-11 03: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-11 03:28: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-08-11 03: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-08-11 03:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:28:05] 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-08-11 03:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318057216001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318057216001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:28:05] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:28:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318057216001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":153269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:28:05] local.INFO: GPS data processed {"connection_id":153269,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:28:05] local.INFO: Acknowledgment sent {"connection_id":153269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:28:36] local.INFO: TCP Data received {"connection_id":153269,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:28:36] local.INFO: Processing buffer {"connection_id":153269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:28:36] local.INFO: Packet analysis {"connection_id":153269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:28:36] local.INFO: Extracted packet for processing {"connection_id":153269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318057216001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786398962000,"timestamp_ms":1786398962000,"timestamp_seconds":1786398962,"priority":1,"record_length":96,"hex_timestamp":"0000019fedacf150"} 
[2026-08-11 03:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:28:36] 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-08-11 03: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-11 03:28: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-08-11 03: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-08-11 03:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:28:36] 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-08-11 03:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318057216001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318057216001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:28:36] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:28:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318057216001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":153269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:28:36] local.INFO: GPS data processed {"connection_id":153269,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:28:36] local.INFO: Acknowledgment sent {"connection_id":153269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:28:54] local.INFO: TCP Data received {"connection_id":154671,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:28:54] local.INFO: Processing buffer {"connection_id":154671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:28:54] local.INFO: IMEI packet received {"connection_id":154671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":154671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:28:59] local.INFO: TCP Data received {"connection_id":154671,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:28:59] local.INFO: Processing buffer {"connection_id":154671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:28:59] local.INFO: IMEI packet received {"connection_id":154671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":154671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:29:01] local.INFO: TCP Data received {"connection_id":154671,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:29:01] local.INFO: Processing buffer {"connection_id":154671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:29:01] local.INFO: Packet analysis {"connection_id":154671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:29:01] local.INFO: Extracted packet for processing {"connection_id":154671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318057216001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786398962000,"timestamp_ms":1786398962000,"timestamp_seconds":1786398962,"priority":1,"record_length":96,"hex_timestamp":"0000019fedacf150"} 
[2026-08-11 03:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:29:01] 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-08-11 03: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-11 03:29:01] 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-08-11 03: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-08-11 03:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:29:01] 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-08-11 03:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318057216001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318057216001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:29:01] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:29:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318057216001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":154671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:29:01] local.INFO: GPS data processed {"connection_id":154671,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:29:01] local.INFO: Acknowledgment sent {"connection_id":154671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:29:35] local.INFO: TCP Data received {"connection_id":154671,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:29:35] local.INFO: Processing buffer {"connection_id":154671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:29:35] local.INFO: Packet analysis {"connection_id":154671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:29:35] local.INFO: Extracted packet for processing {"connection_id":154671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:29:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318057216001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786398962000,"timestamp_ms":1786398962000,"timestamp_seconds":1786398962,"priority":1,"record_length":96,"hex_timestamp":"0000019fedacf150"} 
[2026-08-11 03:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:29:35] 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-08-11 03: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-11 03:29:35] 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-08-11 03: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-08-11 03:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:29:35] 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-08-11 03:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318057216001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318057216001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:29:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:29:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318057216001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":154671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:29:35] local.INFO: GPS data processed {"connection_id":154671,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:29:35] local.INFO: Acknowledgment sent {"connection_id":154671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:29:54] local.INFO: TCP Data received {"connection_id":152334,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:29:54] local.INFO: Processing buffer {"connection_id":152334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:29:54] local.INFO: IMEI packet received {"connection_id":152334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":152334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:29:59] local.INFO: TCP Data received {"connection_id":152334,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:29:59] local.INFO: Processing buffer {"connection_id":152334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:29:59] local.INFO: IMEI packet received {"connection_id":152334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":152334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:30:10] local.INFO: TCP Data received {"connection_id":152334,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:30:10] local.INFO: Processing buffer {"connection_id":152334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:30:10] local.INFO: Packet analysis {"connection_id":152334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:30:10] local.INFO: Extracted packet for processing {"connection_id":152334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318057216001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786398962000,"timestamp_ms":1786398962000,"timestamp_seconds":1786398962,"priority":1,"record_length":96,"hex_timestamp":"0000019fedacf150"} 
[2026-08-11 03:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:30:10] 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-08-11 03: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-11 03:30: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-08-11 03: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-08-11 03:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:30:10] 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-08-11 03:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318057216001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318057216001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:30:10] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:30:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318057216001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":152334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:30:10] local.INFO: GPS data processed {"connection_id":152334,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:30:10] local.INFO: Acknowledgment sent {"connection_id":152334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:30:53] local.INFO: TCP Data received {"connection_id":154672,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:30:53] local.INFO: Processing buffer {"connection_id":154672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:30:53] local.INFO: IMEI packet received {"connection_id":154672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":154672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:30:59] local.INFO: TCP Data received {"connection_id":154672,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:30:59] local.INFO: Processing buffer {"connection_id":154672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:30:59] local.INFO: IMEI packet received {"connection_id":154672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":154672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:30:59] local.INFO: TCP Data received {"connection_id":154672,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:30:59] local.INFO: Processing buffer {"connection_id":154672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:30:59] local.INFO: Packet analysis {"connection_id":154672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:30:59] local.INFO: Extracted packet for processing {"connection_id":154672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318057216001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786398962000,"timestamp_ms":1786398962000,"timestamp_seconds":1786398962,"priority":1,"record_length":96,"hex_timestamp":"0000019fedacf150"} 
[2026-08-11 03:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:30:59] 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-08-11 03: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-11 03:30:59] 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-08-11 03: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-08-11 03:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:30:59] 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-08-11 03:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318057216001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318057216001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:30:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:30:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318057216001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":154672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:30:59] local.INFO: GPS data processed {"connection_id":154672,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:30:59] local.INFO: Acknowledgment sent {"connection_id":154672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:31:30] local.INFO: TCP Data received {"connection_id":154672,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:31:30] local.INFO: Processing buffer {"connection_id":154672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedacf150012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:31:30] local.INFO: Packet analysis {"connection_id":154672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:31:30] local.INFO: Extracted packet for processing {"connection_id":154672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedac"} 
[2026-08-11 03:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:31: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-08-11 03:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318057216001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786398962000,"timestamp_ms":1786398962000,"timestamp_seconds":1786398962,"priority":1,"record_length":96,"hex_timestamp":"0000019fedacf150"} 
[2026-08-11 03:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:31:30] 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-08-11 03:31: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":232,"data_length":795,"current_offset":136} 
[2026-08-11 03:31:30] 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-08-11 03:31: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-08-11 03:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:31:30] 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-08-11 03:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318057216001,"66":25843,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318057216001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:31:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:31:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318057216001,"power":25843,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":154672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:31:31] local.INFO: GPS data processed {"connection_id":154672,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:31:31] local.INFO: Acknowledgment sent {"connection_id":154672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:31:53] local.INFO: TCP Data received {"connection_id":151942,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:31:53] local.INFO: Processing buffer {"connection_id":151942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:31:53] local.INFO: IMEI packet received {"connection_id":151942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":151942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:31:58] local.INFO: TCP Data received {"connection_id":151942,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:31:58] local.INFO: Processing buffer {"connection_id":151942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:31:58] local.INFO: IMEI packet received {"connection_id":151942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":151942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:31:59] local.INFO: TCP Data received {"connection_id":151942,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:31:59] local.INFO: Processing buffer {"connection_id":151942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:31:59] local.INFO: Packet analysis {"connection_id":151942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:31:59] local.INFO: Extracted packet for processing {"connection_id":151942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:31:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318134272001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786399263000,"timestamp_ms":1786399263000,"timestamp_seconds":1786399263,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb18918"} 
[2026-08-11 03:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:31:59] 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-08-11 03: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:31:59] 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-08-11 03: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-08-11 03:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:31:59] 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-08-11 03:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318134272001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318134272001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:31:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:31:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318134272001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":151942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:31:59] local.INFO: GPS data processed {"connection_id":151942,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:31:59] local.INFO: Acknowledgment sent {"connection_id":151942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:32:30] local.INFO: TCP Data received {"connection_id":151942,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:32:30] local.INFO: Processing buffer {"connection_id":151942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:32:30] local.INFO: Packet analysis {"connection_id":151942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:32:30] local.INFO: Extracted packet for processing {"connection_id":151942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:32:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318134272001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786399263000,"timestamp_ms":1786399263000,"timestamp_seconds":1786399263,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb18918"} 
[2026-08-11 03:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:32:30] 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-08-11 03: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:32:30] 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-08-11 03: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-08-11 03:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:32:30] 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-08-11 03:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318134272001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318134272001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:32:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:32:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318134272001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":151942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:32:30] local.INFO: GPS data processed {"connection_id":151942,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:32:30] local.INFO: Acknowledgment sent {"connection_id":151942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:32:54] local.INFO: TCP Data received {"connection_id":153270,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:32:54] local.INFO: Processing buffer {"connection_id":153270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:32:54] local.INFO: IMEI packet received {"connection_id":153270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":153270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:32:59] local.INFO: TCP Data received {"connection_id":153270,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:32:59] local.INFO: Processing buffer {"connection_id":153270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:32:59] local.INFO: IMEI packet received {"connection_id":153270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":153270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:32:59] local.INFO: TCP Data received {"connection_id":153270,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:32:59] local.INFO: Processing buffer {"connection_id":153270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:32:59] local.INFO: Packet analysis {"connection_id":153270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:32:59] local.INFO: Extracted packet for processing {"connection_id":153270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:32:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318134272001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786399263000,"timestamp_ms":1786399263000,"timestamp_seconds":1786399263,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb18918"} 
[2026-08-11 03:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:32:59] 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-08-11 03: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:32:59] 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-08-11 03: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-08-11 03:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:32:59] 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-08-11 03:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318134272001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318134272001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:32:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:32:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318134272001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":153270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:32:59] local.INFO: GPS data processed {"connection_id":153270,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:32:59] local.INFO: Acknowledgment sent {"connection_id":153270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:33:30] local.INFO: TCP Data received {"connection_id":153270,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:33:30] local.INFO: Processing buffer {"connection_id":153270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:33:30] local.INFO: Packet analysis {"connection_id":153270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:33:30] local.INFO: Extracted packet for processing {"connection_id":153270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:33:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:33: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-08-11 03:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318134272001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786399263000,"timestamp_ms":1786399263000,"timestamp_seconds":1786399263,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb18918"} 
[2026-08-11 03:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:33:30] 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-08-11 03:33: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":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:33:30] 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-08-11 03:33: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-08-11 03:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:33:30] 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-08-11 03:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318134272001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318134272001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:33:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:33:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318134272001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":153270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:33:30] local.INFO: GPS data processed {"connection_id":153270,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:33:30] local.INFO: Acknowledgment sent {"connection_id":153270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:33:54] local.INFO: TCP Data received {"connection_id":152335,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:33:54] local.INFO: Processing buffer {"connection_id":152335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:33:54] local.INFO: IMEI packet received {"connection_id":152335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":152335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:33:59] local.INFO: TCP Data received {"connection_id":152335,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:33:59] local.INFO: Processing buffer {"connection_id":152335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:33:59] local.INFO: IMEI packet received {"connection_id":152335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":152335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:33:59] local.INFO: TCP Data received {"connection_id":152335,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:33:59] local.INFO: Processing buffer {"connection_id":152335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:33:59] local.INFO: Packet analysis {"connection_id":152335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:33:59] local.INFO: Extracted packet for processing {"connection_id":152335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318134272001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786399263000,"timestamp_ms":1786399263000,"timestamp_seconds":1786399263,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb18918"} 
[2026-08-11 03:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:33:59] 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-08-11 03: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:33:59] 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-08-11 03: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-08-11 03:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:33:59] 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-08-11 03:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318134272001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318134272001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:33:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:33:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318134272001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":152335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:33:59] local.INFO: GPS data processed {"connection_id":152335,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:33:59] local.INFO: Acknowledgment sent {"connection_id":152335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:34:30] local.INFO: TCP Data received {"connection_id":152335,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:34:30] local.INFO: Processing buffer {"connection_id":152335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:34:30] local.INFO: Packet analysis {"connection_id":152335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:34:30] local.INFO: Extracted packet for processing {"connection_id":152335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318134272001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786399263000,"timestamp_ms":1786399263000,"timestamp_seconds":1786399263,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb18918"} 
[2026-08-11 03:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:34:30] 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-08-11 03: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:34:30] 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-08-11 03: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-08-11 03:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:34:30] 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-08-11 03:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318134272001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318134272001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:34:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:34:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318134272001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":152335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:34:30] local.INFO: GPS data processed {"connection_id":152335,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:34:30] local.INFO: Acknowledgment sent {"connection_id":152335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:34:54] local.INFO: TCP Data received {"connection_id":151943,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:34:54] local.INFO: Processing buffer {"connection_id":151943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:34:54] local.INFO: IMEI packet received {"connection_id":151943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":151943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:34:59] local.INFO: TCP Data received {"connection_id":151943,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:34:59] local.INFO: Processing buffer {"connection_id":151943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:34:59] local.INFO: IMEI packet received {"connection_id":151943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":151943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:34:59] local.INFO: TCP Data received {"connection_id":151943,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:34:59] local.INFO: Processing buffer {"connection_id":151943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:34:59] local.INFO: Packet analysis {"connection_id":151943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:34:59] local.INFO: Extracted packet for processing {"connection_id":151943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:34:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:34: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-08-11 03:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318134272001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786399263000,"timestamp_ms":1786399263000,"timestamp_seconds":1786399263,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb18918"} 
[2026-08-11 03:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:34:59] 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-08-11 03:34: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":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:34:59] 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-08-11 03:34: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-08-11 03:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:34:59] 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-08-11 03:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318134272001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318134272001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:34:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:34:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318134272001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":151943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:34:59] local.INFO: GPS data processed {"connection_id":151943,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:34:59] local.INFO: Acknowledgment sent {"connection_id":151943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:35:30] local.INFO: TCP Data received {"connection_id":151943,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:35:30] local.INFO: Processing buffer {"connection_id":151943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:35:30] local.INFO: Packet analysis {"connection_id":151943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:35:30] local.INFO: Extracted packet for processing {"connection_id":151943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:35:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:35: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-08-11 03:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318134272001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786399263000,"timestamp_ms":1786399263000,"timestamp_seconds":1786399263,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb18918"} 
[2026-08-11 03:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:35:30] 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-08-11 03:35: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":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:35:30] 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-08-11 03:35: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-08-11 03:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:35:30] 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-08-11 03:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318134272001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318134272001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:35:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:35:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318134272001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":151943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:35:30] local.INFO: GPS data processed {"connection_id":151943,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:35:30] local.INFO: Acknowledgment sent {"connection_id":151943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:35:54] local.INFO: TCP Data received {"connection_id":152336,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:35:54] local.INFO: Processing buffer {"connection_id":152336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:35:54] local.INFO: IMEI packet received {"connection_id":152336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":152336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:35:59] local.INFO: TCP Data received {"connection_id":152336,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:35:59] local.INFO: Processing buffer {"connection_id":152336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:35:59] local.INFO: IMEI packet received {"connection_id":152336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":152336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:35:59] local.INFO: TCP Data received {"connection_id":152336,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:35:59] local.INFO: Processing buffer {"connection_id":152336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:35:59] local.INFO: Packet analysis {"connection_id":152336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:35:59] local.INFO: Extracted packet for processing {"connection_id":152336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318134272001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786399263000,"timestamp_ms":1786399263000,"timestamp_seconds":1786399263,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb18918"} 
[2026-08-11 03:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:35:59] 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-08-11 03: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:35:59] 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-08-11 03: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-08-11 03:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 03:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318134272001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318134272001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:35:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:35:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318134272001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":152336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:35:59] local.INFO: GPS data processed {"connection_id":152336,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:35:59] local.INFO: Acknowledgment sent {"connection_id":152336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:36:53] local.INFO: TCP Data received {"connection_id":152337,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:36:53] local.INFO: Processing buffer {"connection_id":152337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:36:53] local.INFO: IMEI packet received {"connection_id":152337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":152337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:36:58] local.INFO: TCP Data received {"connection_id":152337,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:36:58] local.INFO: Processing buffer {"connection_id":152337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:36:58] local.INFO: IMEI packet received {"connection_id":152337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":152337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:36:59] local.INFO: TCP Data received {"connection_id":152337,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:36:59] local.INFO: Processing buffer {"connection_id":152337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:36:59] local.INFO: Packet analysis {"connection_id":152337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:36:59] local.INFO: Extracted packet for processing {"connection_id":152337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318211328001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786399564000,"timestamp_ms":1786399564000,"timestamp_seconds":1786399564,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb620e0"} 
[2026-08-11 03:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:36:59] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:36:59] 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-08-11 03: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-08-11 03:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 03:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318211328001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318211328001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:36:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:36:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318211328001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":152337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:36:59] local.INFO: GPS data processed {"connection_id":152337,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:36:59] local.INFO: Acknowledgment sent {"connection_id":152337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:37:08] local.INFO: TCP Data received {"connection_id":152336,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:37:08] local.INFO: Processing buffer {"connection_id":152336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb18918012d840d40061d6f20000c006f31..."} 
[2026-08-11 03:37:08] local.INFO: Packet analysis {"connection_id":152336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:37:08] local.INFO: Extracted packet for processing {"connection_id":152336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb1"} 
[2026-08-11 03:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318134272001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786399263000,"timestamp_ms":1786399263000,"timestamp_seconds":1786399263,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb18918"} 
[2026-08-11 03:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:37:08] 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-08-11 03: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 03:37:08] 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-08-11 03: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-08-11 03:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 03:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318134272001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318134272001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:37:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:37:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318134272001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":152336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:37:08] local.INFO: GPS data processed {"connection_id":152336,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:37:08] local.INFO: Acknowledgment sent {"connection_id":152336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:37:32] local.INFO: TCP Data received {"connection_id":152337,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:37:32] local.INFO: Processing buffer {"connection_id":152337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:37:32] local.INFO: Packet analysis {"connection_id":152337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:37:32] local.INFO: Extracted packet for processing {"connection_id":152337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:37: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-08-11 03:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318211328001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786399564000,"timestamp_ms":1786399564000,"timestamp_seconds":1786399564,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb620e0"} 
[2026-08-11 03:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:37:32] 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-08-11 03:37: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-08-11 03:37: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-08-11 03:37: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-08-11 03:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 03:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318211328001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318211328001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:37:32] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:37:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318211328001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":152337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:37:32] local.INFO: GPS data processed {"connection_id":152337,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:37:32] local.INFO: Acknowledgment sent {"connection_id":152337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:37:53] local.INFO: TCP Data received {"connection_id":154673,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:37:53] local.INFO: Processing buffer {"connection_id":154673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:37:53] local.INFO: IMEI packet received {"connection_id":154673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":154673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:37:59] local.INFO: TCP Data received {"connection_id":154673,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:37:59] local.INFO: Processing buffer {"connection_id":154673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:37:59] local.INFO: IMEI packet received {"connection_id":154673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":154673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:37:59] local.INFO: TCP Data received {"connection_id":154673,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:37:59] local.INFO: Processing buffer {"connection_id":154673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:37:59] local.INFO: Packet analysis {"connection_id":154673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:37:59] local.INFO: Extracted packet for processing {"connection_id":154673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318211328001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786399564000,"timestamp_ms":1786399564000,"timestamp_seconds":1786399564,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb620e0"} 
[2026-08-11 03:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:37:59] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:37:59] 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-08-11 03:37: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-08-11 03:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:37:59] 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-08-11 03:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318211328001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318211328001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:37:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:37:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318211328001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":154673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:37:59] local.INFO: GPS data processed {"connection_id":154673,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:37:59] local.INFO: Acknowledgment sent {"connection_id":154673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:38:30] local.INFO: TCP Data received {"connection_id":154673,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:38:30] local.INFO: Processing buffer {"connection_id":154673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:38:30] local.INFO: Packet analysis {"connection_id":154673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:38:30] local.INFO: Extracted packet for processing {"connection_id":154673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:38: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-08-11 03:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318211328001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786399564000,"timestamp_ms":1786399564000,"timestamp_seconds":1786399564,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb620e0"} 
[2026-08-11 03:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:38:30] 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-08-11 03:38: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-08-11 03:38: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-08-11 03:38: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-08-11 03:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:38:30] 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-08-11 03:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318211328001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318211328001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:38:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:38:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318211328001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":154673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:38:30] local.INFO: GPS data processed {"connection_id":154673,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:38:30] local.INFO: Acknowledgment sent {"connection_id":154673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:38:54] local.INFO: TCP Data received {"connection_id":152338,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:38:54] local.INFO: Processing buffer {"connection_id":152338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:38:54] local.INFO: IMEI packet received {"connection_id":152338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":152338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:38:59] local.INFO: TCP Data received {"connection_id":152338,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:38:59] local.INFO: Processing buffer {"connection_id":152338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:38:59] local.INFO: IMEI packet received {"connection_id":152338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":152338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:38:59] local.INFO: TCP Data received {"connection_id":152338,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:38:59] local.INFO: Processing buffer {"connection_id":152338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:38:59] local.INFO: Packet analysis {"connection_id":152338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:38:59] local.INFO: Extracted packet for processing {"connection_id":152338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318211328001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786399564000,"timestamp_ms":1786399564000,"timestamp_seconds":1786399564,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb620e0"} 
[2026-08-11 03:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:38:59] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:38:59] 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-08-11 03:38: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-08-11 03:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:38:59] 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-08-11 03:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318211328001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318211328001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:38:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:38:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318211328001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":152338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:38:59] local.INFO: GPS data processed {"connection_id":152338,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:38:59] local.INFO: Acknowledgment sent {"connection_id":152338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:39:30] local.INFO: TCP Data received {"connection_id":152338,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:39:30] local.INFO: Processing buffer {"connection_id":152338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:39:30] local.INFO: Packet analysis {"connection_id":152338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:39:30] local.INFO: Extracted packet for processing {"connection_id":152338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:39: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-08-11 03:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318211328001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786399564000,"timestamp_ms":1786399564000,"timestamp_seconds":1786399564,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb620e0"} 
[2026-08-11 03:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:39:30] 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-08-11 03:39: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-08-11 03:39: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-08-11 03:39: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-08-11 03:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:39:30] 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-08-11 03:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318211328001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318211328001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:39:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:39:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318211328001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":152338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:39:30] local.INFO: GPS data processed {"connection_id":152338,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:39:30] local.INFO: Acknowledgment sent {"connection_id":152338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:39:53] local.INFO: TCP Data received {"connection_id":152339,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:39:53] local.INFO: Processing buffer {"connection_id":152339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:39:53] local.INFO: IMEI packet received {"connection_id":152339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":152339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:39:59] local.INFO: TCP Data received {"connection_id":152339,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:39:59] local.INFO: Processing buffer {"connection_id":152339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:39:59] local.INFO: IMEI packet received {"connection_id":152339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":152339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:39:59] local.INFO: TCP Data received {"connection_id":152339,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:39:59] local.INFO: Processing buffer {"connection_id":152339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:39:59] local.INFO: Packet analysis {"connection_id":152339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:39:59] local.INFO: Extracted packet for processing {"connection_id":152339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:39: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-08-11 03:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318211328001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786399564000,"timestamp_ms":1786399564000,"timestamp_seconds":1786399564,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb620e0"} 
[2026-08-11 03:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:39:59] 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-08-11 03:39: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":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:39:59] 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-08-11 03:39: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-08-11 03:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:39:59] 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-08-11 03:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318211328001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318211328001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:39:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:39:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318211328001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":152339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:39:59] local.INFO: GPS data processed {"connection_id":152339,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:39:59] local.INFO: Acknowledgment sent {"connection_id":152339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:40:30] local.INFO: TCP Data received {"connection_id":152339,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:40:30] local.INFO: Processing buffer {"connection_id":152339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:40:30] local.INFO: Packet analysis {"connection_id":152339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:40:30] local.INFO: Extracted packet for processing {"connection_id":152339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:40:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:40: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-08-11 03:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318211328001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786399564000,"timestamp_ms":1786399564000,"timestamp_seconds":1786399564,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb620e0"} 
[2026-08-11 03:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:40:30] 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-08-11 03:40: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-08-11 03:40: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-08-11 03:40: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-08-11 03:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:40:30] 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-08-11 03:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318211328001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318211328001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:40:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:40:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318211328001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":152339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:40:30] local.INFO: GPS data processed {"connection_id":152339,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:40:30] local.INFO: Acknowledgment sent {"connection_id":152339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:40:53] local.INFO: TCP Data received {"connection_id":153271,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:40:53] local.INFO: Processing buffer {"connection_id":153271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:40:53] local.INFO: IMEI packet received {"connection_id":153271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":153271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:40:59] local.INFO: TCP Data received {"connection_id":153271,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:40:59] local.INFO: Processing buffer {"connection_id":153271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:40:59] local.INFO: IMEI packet received {"connection_id":153271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":153271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:40:59] local.INFO: TCP Data received {"connection_id":153271,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:40:59] local.INFO: Processing buffer {"connection_id":153271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:40:59] local.INFO: Packet analysis {"connection_id":153271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:40:59] local.INFO: Extracted packet for processing {"connection_id":153271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318211328001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786399564000,"timestamp_ms":1786399564000,"timestamp_seconds":1786399564,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb620e0"} 
[2026-08-11 03:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:40:59] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:40:59] 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-08-11 03: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-08-11 03:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:40:59] 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-08-11 03:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318211328001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318211328001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:40:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:40:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318211328001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":153271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:40:59] local.INFO: GPS data processed {"connection_id":153271,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:40:59] local.INFO: Acknowledgment sent {"connection_id":153271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:41:30] local.INFO: TCP Data received {"connection_id":153271,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:41:30] local.INFO: Processing buffer {"connection_id":153271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedb620e0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:41:30] local.INFO: Packet analysis {"connection_id":153271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:41:30] local.INFO: Extracted packet for processing {"connection_id":153271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedb6"} 
[2026-08-11 03:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:41: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-08-11 03:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318211328001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786399564000,"timestamp_ms":1786399564000,"timestamp_seconds":1786399564,"priority":1,"record_length":96,"hex_timestamp":"0000019fedb620e0"} 
[2026-08-11 03:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:41:30] 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-08-11 03:41: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-08-11 03:41: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-08-11 03:41: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-08-11 03:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:41:30] 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-08-11 03:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318211328001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318211328001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:41:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:41:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318211328001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":153271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:41:30] local.INFO: GPS data processed {"connection_id":153271,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:41:30] local.INFO: Acknowledgment sent {"connection_id":153271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:41:53] local.INFO: TCP Data received {"connection_id":154674,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:41:53] local.INFO: Processing buffer {"connection_id":154674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:41:53] local.INFO: IMEI packet received {"connection_id":154674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":154674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:41:58] local.INFO: TCP Data received {"connection_id":154674,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:41:58] local.INFO: Processing buffer {"connection_id":154674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:41:58] local.INFO: IMEI packet received {"connection_id":154674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":154674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:41:59] local.INFO: TCP Data received {"connection_id":154674,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:41:59] local.INFO: Processing buffer {"connection_id":154674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:41:59] local.INFO: Packet analysis {"connection_id":154674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:41:59] local.INFO: Extracted packet for processing {"connection_id":154674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:41: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-08-11 03:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318288384001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786399864000,"timestamp_ms":1786399864000,"timestamp_seconds":1786399864,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbab4c0"} 
[2026-08-11 03:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:41:59] 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-08-11 03:41: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 03:41:59] 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-08-11 03:41: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-08-11 03:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:41:59] 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-08-11 03:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318288384001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318288384001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:41:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:41:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318288384001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":154674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:41:59] local.INFO: GPS data processed {"connection_id":154674,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:41:59] local.INFO: Acknowledgment sent {"connection_id":154674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:42:30] local.INFO: TCP Data received {"connection_id":154674,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:42:30] local.INFO: Processing buffer {"connection_id":154674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:42:30] local.INFO: Packet analysis {"connection_id":154674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:42:30] local.INFO: Extracted packet for processing {"connection_id":154674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:42: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-08-11 03:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318288384001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786399864000,"timestamp_ms":1786399864000,"timestamp_seconds":1786399864,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbab4c0"} 
[2026-08-11 03:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:42:30] 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-08-11 03:42: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 03:42:30] 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-08-11 03:42: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-08-11 03:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:42:30] 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-08-11 03:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318288384001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318288384001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:42:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:42:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318288384001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":154674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:42:30] local.INFO: GPS data processed {"connection_id":154674,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:42:30] local.INFO: Acknowledgment sent {"connection_id":154674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:42:54] local.INFO: TCP Data received {"connection_id":151944,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:42:54] local.INFO: Processing buffer {"connection_id":151944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:42:54] local.INFO: IMEI packet received {"connection_id":151944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":151944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:42:59] local.INFO: TCP Data received {"connection_id":151944,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:42:59] local.INFO: Processing buffer {"connection_id":151944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:42:59] local.INFO: IMEI packet received {"connection_id":151944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":151944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:42:59] local.INFO: TCP Data received {"connection_id":151944,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:42:59] local.INFO: Processing buffer {"connection_id":151944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:42:59] local.INFO: Packet analysis {"connection_id":151944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:42:59] local.INFO: Extracted packet for processing {"connection_id":151944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318288384001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786399864000,"timestamp_ms":1786399864000,"timestamp_seconds":1786399864,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbab4c0"} 
[2026-08-11 03:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:42:59] 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-08-11 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 03:42:59] 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-08-11 03: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-08-11 03:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:42:59] 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-08-11 03:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318288384001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318288384001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:42:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:42:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318288384001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":151944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:42:59] local.INFO: GPS data processed {"connection_id":151944,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:42:59] local.INFO: Acknowledgment sent {"connection_id":151944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:43:30] local.INFO: TCP Data received {"connection_id":151944,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:43:30] local.INFO: Processing buffer {"connection_id":151944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:43:30] local.INFO: Packet analysis {"connection_id":151944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:43:30] local.INFO: Extracted packet for processing {"connection_id":151944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318288384001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786399864000,"timestamp_ms":1786399864000,"timestamp_seconds":1786399864,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbab4c0"} 
[2026-08-11 03:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:43:30] 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-08-11 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 03:43:30] 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-08-11 03: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-08-11 03:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:43:30] 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-08-11 03:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318288384001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318288384001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:43:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:43:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318288384001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":151944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:43:30] local.INFO: GPS data processed {"connection_id":151944,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:43:30] local.INFO: Acknowledgment sent {"connection_id":151944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:43:54] local.INFO: TCP Data received {"connection_id":151945,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:43:54] local.INFO: Processing buffer {"connection_id":151945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:43:54] local.INFO: IMEI packet received {"connection_id":151945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":151945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:43:59] local.INFO: TCP Data received {"connection_id":151945,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:43:59] local.INFO: Processing buffer {"connection_id":151945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:43:59] local.INFO: IMEI packet received {"connection_id":151945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":151945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:43:59] local.INFO: TCP Data received {"connection_id":151945,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:43:59] local.INFO: Processing buffer {"connection_id":151945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:43:59] local.INFO: Packet analysis {"connection_id":151945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:43:59] local.INFO: Extracted packet for processing {"connection_id":151945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:43:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318288384001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786399864000,"timestamp_ms":1786399864000,"timestamp_seconds":1786399864,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbab4c0"} 
[2026-08-11 03:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:43:59] 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-08-11 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 03:43:59] 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-08-11 03: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-08-11 03:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:43:59] 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-08-11 03:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318288384001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318288384001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:43:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:43:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318288384001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":151945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:43:59] local.INFO: GPS data processed {"connection_id":151945,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:43:59] local.INFO: Acknowledgment sent {"connection_id":151945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:44:30] local.INFO: TCP Data received {"connection_id":151945,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:44:30] local.INFO: Processing buffer {"connection_id":151945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:44:30] local.INFO: Packet analysis {"connection_id":151945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:44:30] local.INFO: Extracted packet for processing {"connection_id":151945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:44:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318288384001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786399864000,"timestamp_ms":1786399864000,"timestamp_seconds":1786399864,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbab4c0"} 
[2026-08-11 03:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:44:30] 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-08-11 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 03:44:30] 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-08-11 03:44: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-08-11 03:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:44:30] 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-08-11 03:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318288384001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318288384001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:44:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:44:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318288384001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":151945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:44:30] local.INFO: GPS data processed {"connection_id":151945,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:44:30] local.INFO: Acknowledgment sent {"connection_id":151945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:44:53] local.INFO: TCP Data received {"connection_id":152340,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:44:53] local.INFO: Processing buffer {"connection_id":152340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:44:53] local.INFO: IMEI packet received {"connection_id":152340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":152340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:44:58] local.INFO: TCP Data received {"connection_id":152340,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:44:59] local.INFO: Processing buffer {"connection_id":152340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:44:59] local.INFO: IMEI packet received {"connection_id":152340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":152340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:44:59] local.INFO: TCP Data received {"connection_id":152340,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:44:59] local.INFO: Processing buffer {"connection_id":152340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:44:59] local.INFO: Packet analysis {"connection_id":152340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:44:59] local.INFO: Extracted packet for processing {"connection_id":152340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318288384001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786399864000,"timestamp_ms":1786399864000,"timestamp_seconds":1786399864,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbab4c0"} 
[2026-08-11 03:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:44:59] 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-08-11 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 03:44:59] 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-08-11 03: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-08-11 03:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:44:59] 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-08-11 03:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318288384001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318288384001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:44:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:44:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318288384001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":152340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:44:59] local.INFO: GPS data processed {"connection_id":152340,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:44:59] local.INFO: Acknowledgment sent {"connection_id":152340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:45:30] local.INFO: TCP Data received {"connection_id":152340,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:45:30] local.INFO: Processing buffer {"connection_id":152340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:45:30] local.INFO: Packet analysis {"connection_id":152340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:45:30] local.INFO: Extracted packet for processing {"connection_id":152340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:45:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318288384001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786399864000,"timestamp_ms":1786399864000,"timestamp_seconds":1786399864,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbab4c0"} 
[2026-08-11 03:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:45:30] 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-08-11 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 03:45:30] 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-08-11 03: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-08-11 03:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:45:30] 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-08-11 03:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318288384001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318288384001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:45:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:45:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318288384001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":152340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:45:30] local.INFO: GPS data processed {"connection_id":152340,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:45:30] local.INFO: Acknowledgment sent {"connection_id":152340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:45:54] local.INFO: TCP Data received {"connection_id":153272,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:45:54] local.INFO: Processing buffer {"connection_id":153272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:45:54] local.INFO: IMEI packet received {"connection_id":153272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":153272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:45:59] local.INFO: TCP Data received {"connection_id":153272,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:45:59] local.INFO: Processing buffer {"connection_id":153272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:45:59] local.INFO: IMEI packet received {"connection_id":153272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":153272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:45:59] local.INFO: TCP Data received {"connection_id":153272,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:45:59] local.INFO: Processing buffer {"connection_id":153272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:45:59] local.INFO: Packet analysis {"connection_id":153272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:45:59] local.INFO: Extracted packet for processing {"connection_id":153272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318288384001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786399864000,"timestamp_ms":1786399864000,"timestamp_seconds":1786399864,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbab4c0"} 
[2026-08-11 03:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:45:59] 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-08-11 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 03:45:59] 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-08-11 03: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-08-11 03:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:45:59] 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-08-11 03:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318288384001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318288384001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:45:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:45:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318288384001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":153272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:45:59] local.INFO: GPS data processed {"connection_id":153272,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:45:59] local.INFO: Acknowledgment sent {"connection_id":153272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:46:30] local.INFO: TCP Data received {"connection_id":153272,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:46:30] local.INFO: Processing buffer {"connection_id":153272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbab4c0012d840d40061d6f20000c006f33..."} 
[2026-08-11 03:46:30] local.INFO: Packet analysis {"connection_id":153272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:46:30] local.INFO: Extracted packet for processing {"connection_id":153272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedba"} 
[2026-08-11 03:46:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318288384001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786399864000,"timestamp_ms":1786399864000,"timestamp_seconds":1786399864,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbab4c0"} 
[2026-08-11 03:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:46:30] 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-08-11 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 03:46:30] 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-08-11 03: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-08-11 03:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:46:30] 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-08-11 03:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318288384001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318288384001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:46:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:46:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318288384001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":153272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:46:30] local.INFO: GPS data processed {"connection_id":153272,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:46:30] local.INFO: Acknowledgment sent {"connection_id":153272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:46:53] local.INFO: TCP Data received {"connection_id":153273,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:46:53] local.INFO: Processing buffer {"connection_id":153273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:46:53] local.INFO: IMEI packet received {"connection_id":153273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":153273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:46:59] local.INFO: TCP Data received {"connection_id":153273,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:46:59] local.INFO: Processing buffer {"connection_id":153273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:46:59] local.INFO: IMEI packet received {"connection_id":153273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":153273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:46:59] local.INFO: TCP Data received {"connection_id":153273,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:46:59] local.INFO: Processing buffer {"connection_id":153273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:46:59] local.INFO: Packet analysis {"connection_id":153273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:46:59] local.INFO: Extracted packet for processing {"connection_id":153273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:46:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318365184001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786400165000,"timestamp_ms":1786400165000,"timestamp_seconds":1786400165,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbf4c88"} 
[2026-08-11 03:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:46:59] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:46:59] 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-08-11 03: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-08-11 03:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:46:59] 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-08-11 03:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318365184001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318365184001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:46:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:46:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318365184001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":153273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:46:59] local.INFO: GPS data processed {"connection_id":153273,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:46:59] local.INFO: Acknowledgment sent {"connection_id":153273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:47:30] local.INFO: TCP Data received {"connection_id":153273,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:47:30] local.INFO: Processing buffer {"connection_id":153273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:47:30] local.INFO: Packet analysis {"connection_id":153273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:47:30] local.INFO: Extracted packet for processing {"connection_id":153273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:47:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:47: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-08-11 03:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318365184001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786400165000,"timestamp_ms":1786400165000,"timestamp_seconds":1786400165,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbf4c88"} 
[2026-08-11 03:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:47:30] 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-08-11 03:47: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-08-11 03:47: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-08-11 03:47: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-08-11 03:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:47:30] 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-08-11 03:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318365184001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318365184001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:47:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:47:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318365184001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":153273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:47:30] local.INFO: GPS data processed {"connection_id":153273,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:47:30] local.INFO: Acknowledgment sent {"connection_id":153273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:47:58] local.INFO: TCP Data received {"connection_id":152341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:47:58] local.INFO: Processing buffer {"connection_id":152341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:47:58] local.INFO: IMEI packet received {"connection_id":152341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":152341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:48:03] local.INFO: TCP Data received {"connection_id":152341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:48:03] local.INFO: Processing buffer {"connection_id":152341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:48:03] local.INFO: IMEI packet received {"connection_id":152341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":152341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:48:04] local.INFO: TCP Data received {"connection_id":152341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:48:04] local.INFO: Processing buffer {"connection_id":152341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:48:04] local.INFO: Packet analysis {"connection_id":152341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:48:04] local.INFO: Extracted packet for processing {"connection_id":152341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318365184001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786400165000,"timestamp_ms":1786400165000,"timestamp_seconds":1786400165,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbf4c88"} 
[2026-08-11 03:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:48:04] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:48: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-08-11 03: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-08-11 03:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03: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-08-11 03:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318365184001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318365184001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:48:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:48:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318365184001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":152341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:48:04] local.INFO: GPS data processed {"connection_id":152341,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:48:04] local.INFO: Acknowledgment sent {"connection_id":152341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:48:08] local.INFO: TCP Data received {"connection_id":152341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:48:08] local.INFO: Processing buffer {"connection_id":152341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:48:08] local.INFO: Packet analysis {"connection_id":152341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:48:08] local.INFO: Extracted packet for processing {"connection_id":152341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318365184001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786400165000,"timestamp_ms":1786400165000,"timestamp_seconds":1786400165,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbf4c88"} 
[2026-08-11 03:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:48:08] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:48: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-08-11 03: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-08-11 03:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:48: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-08-11 03:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318365184001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318365184001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:48:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:48:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318365184001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":152341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:48:08] local.INFO: GPS data processed {"connection_id":152341,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:48:08] local.INFO: Acknowledgment sent {"connection_id":152341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:48:53] local.INFO: TCP Data received {"connection_id":151946,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:48:53] local.INFO: Processing buffer {"connection_id":151946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:48:53] local.INFO: IMEI packet received {"connection_id":151946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":151946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:48:58] local.INFO: TCP Data received {"connection_id":151946,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:48:58] local.INFO: Processing buffer {"connection_id":151946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:48:58] local.INFO: IMEI packet received {"connection_id":151946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":151946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:48:59] local.INFO: TCP Data received {"connection_id":151946,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:48:59] local.INFO: Processing buffer {"connection_id":151946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:48:59] local.INFO: Packet analysis {"connection_id":151946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:48:59] local.INFO: Extracted packet for processing {"connection_id":151946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318365184001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786400165000,"timestamp_ms":1786400165000,"timestamp_seconds":1786400165,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbf4c88"} 
[2026-08-11 03:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:48:59] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:48:59] 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-08-11 03: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-08-11 03:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 03:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318365184001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318365184001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:48:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:48:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318365184001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":151946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:48:59] local.INFO: GPS data processed {"connection_id":151946,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:48:59] local.INFO: Acknowledgment sent {"connection_id":151946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:49:30] local.INFO: TCP Data received {"connection_id":151946,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:49:30] local.INFO: Processing buffer {"connection_id":151946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:49:30] local.INFO: Packet analysis {"connection_id":151946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:49:30] local.INFO: Extracted packet for processing {"connection_id":151946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:49: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-08-11 03:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318365184001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786400165000,"timestamp_ms":1786400165000,"timestamp_seconds":1786400165,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbf4c88"} 
[2026-08-11 03:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:49:30] 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-08-11 03:49: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-08-11 03:49: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-08-11 03:49: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-08-11 03:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 03:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318365184001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318365184001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:49:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:49:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318365184001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":151946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:49:30] local.INFO: GPS data processed {"connection_id":151946,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:49:30] local.INFO: Acknowledgment sent {"connection_id":151946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:49:53] local.INFO: TCP Data received {"connection_id":153274,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:49:53] local.INFO: Processing buffer {"connection_id":153274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:49:53] local.INFO: IMEI packet received {"connection_id":153274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":153274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:49:59] local.INFO: TCP Data received {"connection_id":153274,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:49:59] local.INFO: Processing buffer {"connection_id":153274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:49:59] local.INFO: IMEI packet received {"connection_id":153274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":153274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:49:59] local.INFO: TCP Data received {"connection_id":153274,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:49:59] local.INFO: Processing buffer {"connection_id":153274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:49:59] local.INFO: Packet analysis {"connection_id":153274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:49:59] local.INFO: Extracted packet for processing {"connection_id":153274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318365184001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786400165000,"timestamp_ms":1786400165000,"timestamp_seconds":1786400165,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbf4c88"} 
[2026-08-11 03:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:49:59] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:49:59] 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-08-11 03: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-08-11 03:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:49:59] 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-08-11 03:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318365184001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318365184001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:49:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:49:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318365184001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":153274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:49:59] local.INFO: GPS data processed {"connection_id":153274,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:49:59] local.INFO: Acknowledgment sent {"connection_id":153274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:50:30] local.INFO: TCP Data received {"connection_id":153274,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:50:30] local.INFO: Processing buffer {"connection_id":153274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:50:30] local.INFO: Packet analysis {"connection_id":153274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:50:30] local.INFO: Extracted packet for processing {"connection_id":153274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318365184001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786400165000,"timestamp_ms":1786400165000,"timestamp_seconds":1786400165,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbf4c88"} 
[2026-08-11 03:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:50:30] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:50: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-08-11 03: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-08-11 03:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:50:30] 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-08-11 03:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318365184001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318365184001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:50:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:50:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318365184001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":153274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:50:30] local.INFO: GPS data processed {"connection_id":153274,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:50:30] local.INFO: Acknowledgment sent {"connection_id":153274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:50:54] local.INFO: TCP Data received {"connection_id":153275,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:50:54] local.INFO: Processing buffer {"connection_id":153275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:50:54] local.INFO: IMEI packet received {"connection_id":153275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":153275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:50:58] local.INFO: TCP Data received {"connection_id":153275,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:50:58] local.INFO: Processing buffer {"connection_id":153275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:50:58] local.INFO: IMEI packet received {"connection_id":153275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":153275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:50:59] local.INFO: TCP Data received {"connection_id":153275,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:50:59] local.INFO: Processing buffer {"connection_id":153275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:50:59] local.INFO: Packet analysis {"connection_id":153275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:50:59] local.INFO: Extracted packet for processing {"connection_id":153275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318365184001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786400165000,"timestamp_ms":1786400165000,"timestamp_seconds":1786400165,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbf4c88"} 
[2026-08-11 03:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:50:59] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:50:59] 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-08-11 03: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-08-11 03:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:50:59] 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-08-11 03:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318365184001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318365184001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:50:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:50:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318365184001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":153275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:50:59] local.INFO: GPS data processed {"connection_id":153275,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:50:59] local.INFO: Acknowledgment sent {"connection_id":153275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:51:30] local.INFO: TCP Data received {"connection_id":153275,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:51:30] local.INFO: Processing buffer {"connection_id":153275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedbf4c88012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:51:30] local.INFO: Packet analysis {"connection_id":153275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:51:30] local.INFO: Extracted packet for processing {"connection_id":153275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedbf"} 
[2026-08-11 03:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318365184001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786400165000,"timestamp_ms":1786400165000,"timestamp_seconds":1786400165,"priority":1,"record_length":96,"hex_timestamp":"0000019fedbf4c88"} 
[2026-08-11 03:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:51:30] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:51: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-08-11 03: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-08-11 03:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:51:30] 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-08-11 03:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318365184001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318365184001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:51:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:51:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318365184001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":153275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:51:30] local.INFO: GPS data processed {"connection_id":153275,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:51:30] local.INFO: Acknowledgment sent {"connection_id":153275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:51:54] local.INFO: TCP Data received {"connection_id":152342,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:51:54] local.INFO: Processing buffer {"connection_id":152342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:51:54] local.INFO: IMEI packet received {"connection_id":152342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":152342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:51:58] local.INFO: TCP Data received {"connection_id":152342,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:51:58] local.INFO: Processing buffer {"connection_id":152342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:51:58] local.INFO: IMEI packet received {"connection_id":152342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":152342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:51:59] local.INFO: TCP Data received {"connection_id":152342,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:51:59] local.INFO: Processing buffer {"connection_id":152342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:51:59] local.INFO: Packet analysis {"connection_id":152342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:51:59] local.INFO: Extracted packet for processing {"connection_id":152342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:51: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-08-11 03:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318442240001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786400466000,"timestamp_ms":1786400466000,"timestamp_seconds":1786400466,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc3e450"} 
[2026-08-11 03:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:51:59] 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-08-11 03:51: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":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:51:59] 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-08-11 03:51: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-08-11 03:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:51:59] 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-08-11 03:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318442240001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318442240001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:51:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:51:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318442240001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":152342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:51:59] local.INFO: GPS data processed {"connection_id":152342,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:51:59] local.INFO: Acknowledgment sent {"connection_id":152342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:52:33] local.INFO: TCP Data received {"connection_id":152342,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:52:33] local.INFO: Processing buffer {"connection_id":152342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:52:33] local.INFO: Packet analysis {"connection_id":152342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:52:33] local.INFO: Extracted packet for processing {"connection_id":152342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318442240001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786400466000,"timestamp_ms":1786400466000,"timestamp_seconds":1786400466,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc3e450"} 
[2026-08-11 03:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:52:33] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:52:33] 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-08-11 03: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-08-11 03:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:52: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-08-11 03:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318442240001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318442240001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:52:33] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:52:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318442240001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":152342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:52:34] local.INFO: GPS data processed {"connection_id":152342,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:52:34] local.INFO: Acknowledgment sent {"connection_id":152342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:52:53] local.INFO: TCP Data received {"connection_id":152343,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:52:53] local.INFO: Processing buffer {"connection_id":152343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:52:53] local.INFO: IMEI packet received {"connection_id":152343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":152343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:52:58] local.INFO: TCP Data received {"connection_id":152343,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:52:59] local.INFO: Processing buffer {"connection_id":152343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:52:59] local.INFO: IMEI packet received {"connection_id":152343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":152343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:52:59] local.INFO: TCP Data received {"connection_id":152343,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:52:59] local.INFO: Processing buffer {"connection_id":152343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:52:59] local.INFO: Packet analysis {"connection_id":152343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:52:59] local.INFO: Extracted packet for processing {"connection_id":152343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318442240001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786400466000,"timestamp_ms":1786400466000,"timestamp_seconds":1786400466,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc3e450"} 
[2026-08-11 03:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:52:59] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:52:59] 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-08-11 03: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-08-11 03:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:52:59] 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-08-11 03:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318442240001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318442240001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:52:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:52:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318442240001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":152343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:52:59] local.INFO: GPS data processed {"connection_id":152343,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:52:59] local.INFO: Acknowledgment sent {"connection_id":152343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:53:31] local.INFO: TCP Data received {"connection_id":152343,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:53:31] local.INFO: Processing buffer {"connection_id":152343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:53:31] local.INFO: Packet analysis {"connection_id":152343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:53:31] local.INFO: Extracted packet for processing {"connection_id":152343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:53: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-08-11 03:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318442240001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786400466000,"timestamp_ms":1786400466000,"timestamp_seconds":1786400466,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc3e450"} 
[2026-08-11 03:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:53:31] 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-08-11 03:53: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-08-11 03:53: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-08-11 03:53: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-08-11 03:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:53:31] 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-08-11 03:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318442240001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318442240001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:53:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:53:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318442240001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":152343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:53:31] local.INFO: GPS data processed {"connection_id":152343,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:53:31] local.INFO: Acknowledgment sent {"connection_id":152343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:53:59] local.INFO: TCP Data received {"connection_id":154675,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:53:59] local.INFO: Processing buffer {"connection_id":154675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:53:59] local.INFO: IMEI packet received {"connection_id":154675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":154675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:54:03] local.INFO: TCP Data received {"connection_id":154675,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:54:03] local.INFO: Processing buffer {"connection_id":154675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:54:03] local.INFO: IMEI packet received {"connection_id":154675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":154675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:54:04] local.INFO: TCP Data received {"connection_id":154675,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:54:04] local.INFO: Processing buffer {"connection_id":154675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:54:04] local.INFO: Packet analysis {"connection_id":154675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:54:04] local.INFO: Extracted packet for processing {"connection_id":154675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318442240001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786400466000,"timestamp_ms":1786400466000,"timestamp_seconds":1786400466,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc3e450"} 
[2026-08-11 03:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:54:04] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:54: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-08-11 03: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-08-11 03:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:54:04] 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-08-11 03:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318442240001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318442240001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:54:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:54:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318442240001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":154675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:54:04] local.INFO: GPS data processed {"connection_id":154675,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:54:04] local.INFO: Acknowledgment sent {"connection_id":154675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:54:35] local.INFO: TCP Data received {"connection_id":154675,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:54:35] local.INFO: Processing buffer {"connection_id":154675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:54:35] local.INFO: Packet analysis {"connection_id":154675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:54:35] local.INFO: Extracted packet for processing {"connection_id":154675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:54:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318442240001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786400466000,"timestamp_ms":1786400466000,"timestamp_seconds":1786400466,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc3e450"} 
[2026-08-11 03:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:54:35] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:54:35] 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-08-11 03: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-08-11 03:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:54:35] 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-08-11 03:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318442240001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318442240001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:54:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:54:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318442240001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":154675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:54:35] local.INFO: GPS data processed {"connection_id":154675,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:54:35] local.INFO: Acknowledgment sent {"connection_id":154675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:54:53] local.INFO: TCP Data received {"connection_id":152344,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:54:53] local.INFO: Processing buffer {"connection_id":152344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:54:53] local.INFO: IMEI packet received {"connection_id":152344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":152344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:54:58] local.INFO: TCP Data received {"connection_id":152344,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:54:58] local.INFO: Processing buffer {"connection_id":152344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:54:58] local.INFO: IMEI packet received {"connection_id":152344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":152344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:54:59] local.INFO: TCP Data received {"connection_id":152344,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:54:59] local.INFO: Processing buffer {"connection_id":152344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:54:59] local.INFO: Packet analysis {"connection_id":152344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:54:59] local.INFO: Extracted packet for processing {"connection_id":152344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318442240001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786400466000,"timestamp_ms":1786400466000,"timestamp_seconds":1786400466,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc3e450"} 
[2026-08-11 03:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:54:59] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:54:59] 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-08-11 03: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-08-11 03:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:54:59] 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-08-11 03:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318442240001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318442240001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:54:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:54:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318442240001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":152344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:54:59] local.INFO: GPS data processed {"connection_id":152344,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:54:59] local.INFO: Acknowledgment sent {"connection_id":152344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:55:30] local.INFO: TCP Data received {"connection_id":152344,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:55:30] local.INFO: Processing buffer {"connection_id":152344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:55:30] local.INFO: Packet analysis {"connection_id":152344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:55:30] local.INFO: Extracted packet for processing {"connection_id":152344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:55:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318442240001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786400466000,"timestamp_ms":1786400466000,"timestamp_seconds":1786400466,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc3e450"} 
[2026-08-11 03:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:55:30] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:55: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-08-11 03: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-08-11 03:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:55:30] 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-08-11 03:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318442240001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318442240001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:55:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:55:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318442240001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":152344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:55:30] local.INFO: GPS data processed {"connection_id":152344,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:55:30] local.INFO: Acknowledgment sent {"connection_id":152344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:55:53] local.INFO: TCP Data received {"connection_id":151947,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:55:53] local.INFO: Processing buffer {"connection_id":151947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:55:53] local.INFO: IMEI packet received {"connection_id":151947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":151947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:55:58] local.INFO: TCP Data received {"connection_id":151947,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:55:58] local.INFO: Processing buffer {"connection_id":151947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:55:58] local.INFO: IMEI packet received {"connection_id":151947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":151947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:55:59] local.INFO: TCP Data received {"connection_id":151947,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:55:59] local.INFO: Processing buffer {"connection_id":151947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:55:59] local.INFO: Packet analysis {"connection_id":151947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:55:59] local.INFO: Extracted packet for processing {"connection_id":151947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:55:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318442240001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786400466000,"timestamp_ms":1786400466000,"timestamp_seconds":1786400466,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc3e450"} 
[2026-08-11 03:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:55:59] 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-08-11 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 03:55:59] 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-08-11 03: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-08-11 03:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:55:59] 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-08-11 03:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318442240001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318442240001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:55:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:55:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318442240001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":151947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:55:59] local.INFO: GPS data processed {"connection_id":151947,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:55:59] local.INFO: Acknowledgment sent {"connection_id":151947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:56:30] local.INFO: TCP Data received {"connection_id":151947,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:56:30] local.INFO: Processing buffer {"connection_id":151947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc3e450012d840d40061d6f20000c006f34..."} 
[2026-08-11 03:56:30] local.INFO: Packet analysis {"connection_id":151947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:56:30] local.INFO: Extracted packet for processing {"connection_id":151947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc3"} 
[2026-08-11 03:56:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:56: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-08-11 03:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318442240001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786400466000,"timestamp_ms":1786400466000,"timestamp_seconds":1786400466,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc3e450"} 
[2026-08-11 03:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:56:30] 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-08-11 03:56: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-08-11 03:56: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-08-11 03:56: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-08-11 03:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:56:30] 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-08-11 03:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318442240001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318442240001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:56:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:56:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318442240001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":151947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:56:30] local.INFO: GPS data processed {"connection_id":151947,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:56:30] local.INFO: Acknowledgment sent {"connection_id":151947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:56:54] local.INFO: TCP Data received {"connection_id":151948,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:56:54] local.INFO: Processing buffer {"connection_id":151948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:56:54] local.INFO: IMEI packet received {"connection_id":151948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":151948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:56:58] local.INFO: TCP Data received {"connection_id":151948,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:56:58] local.INFO: Processing buffer {"connection_id":151948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:56:58] local.INFO: IMEI packet received {"connection_id":151948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":151948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:56:59] local.INFO: TCP Data received {"connection_id":151948,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:56:59] local.INFO: Processing buffer {"connection_id":151948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:56:59] local.INFO: Packet analysis {"connection_id":151948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 03:56:59] local.INFO: Extracted packet for processing {"connection_id":151948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 03:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318519296001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786400767000,"timestamp_ms":1786400767000,"timestamp_seconds":1786400767,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc87c18"} 
[2026-08-11 03:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:56:59] 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-08-11 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 03:56: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-08-11 03: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-08-11 03:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:56:59] 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-08-11 03:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318519296001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318519296001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:56:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:56:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318519296001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":151948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:56:59] local.INFO: GPS data processed {"connection_id":151948,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:56:59] local.INFO: Acknowledgment sent {"connection_id":151948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:57:30] local.INFO: TCP Data received {"connection_id":151948,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:57:30] local.INFO: Processing buffer {"connection_id":151948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:57:30] local.INFO: Packet analysis {"connection_id":151948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 03:57:30] local.INFO: Extracted packet for processing {"connection_id":151948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 03:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:57: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-08-11 03:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318519296001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786400767000,"timestamp_ms":1786400767000,"timestamp_seconds":1786400767,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc87c18"} 
[2026-08-11 03:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:57:30] 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-08-11 03:57: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-08-11 03:57: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-08-11 03:57: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-08-11 03:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:57:30] 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-08-11 03:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318519296001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318519296001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:57:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:57:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318519296001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":151948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:57:30] local.INFO: GPS data processed {"connection_id":151948,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:57:30] local.INFO: Acknowledgment sent {"connection_id":151948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:57:58] local.INFO: TCP Data received {"connection_id":153276,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:57:58] local.INFO: Processing buffer {"connection_id":153276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:57:58] local.INFO: IMEI packet received {"connection_id":153276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":153276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:58:03] local.INFO: TCP Data received {"connection_id":153276,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:58:03] local.INFO: Processing buffer {"connection_id":153276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:58:03] local.INFO: IMEI packet received {"connection_id":153276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":153276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:58:04] local.INFO: TCP Data received {"connection_id":153276,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:58:04] local.INFO: Processing buffer {"connection_id":153276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:58:04] local.INFO: Packet analysis {"connection_id":153276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 03:58:04] local.INFO: Extracted packet for processing {"connection_id":153276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 03:58:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318519296001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786400767000,"timestamp_ms":1786400767000,"timestamp_seconds":1786400767,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc87c18"} 
[2026-08-11 03:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:58:04] 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-08-11 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 03:58:04] 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-08-11 03: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-08-11 03:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 03:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318519296001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318519296001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:58:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:58:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318519296001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":153276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:58:04] local.INFO: GPS data processed {"connection_id":153276,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:58:04] local.INFO: Acknowledgment sent {"connection_id":153276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:58:09] local.INFO: TCP Data received {"connection_id":153276,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:58:09] local.INFO: Processing buffer {"connection_id":153276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:58:09] local.INFO: Packet analysis {"connection_id":153276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 03:58:09] local.INFO: Extracted packet for processing {"connection_id":153276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 03:58:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318519296001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786400767000,"timestamp_ms":1786400767000,"timestamp_seconds":1786400767,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc87c18"} 
[2026-08-11 03:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:58:09] 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-08-11 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 03:58: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-08-11 03: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-08-11 03:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 03:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318519296001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318519296001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:58:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:58:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318519296001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":153276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:58:09] local.INFO: GPS data processed {"connection_id":153276,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:58:09] local.INFO: Acknowledgment sent {"connection_id":153276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:58:53] local.INFO: TCP Data received {"connection_id":151949,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:58:53] local.INFO: Processing buffer {"connection_id":151949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:58:53] local.INFO: IMEI packet received {"connection_id":151949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":151949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:58:58] local.INFO: TCP Data received {"connection_id":151949,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:58:58] local.INFO: Processing buffer {"connection_id":151949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:58:58] local.INFO: IMEI packet received {"connection_id":151949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":151949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:58:59] local.INFO: TCP Data received {"connection_id":151949,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:58:59] local.INFO: Processing buffer {"connection_id":151949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:58:59] local.INFO: Packet analysis {"connection_id":151949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 03:58:59] local.INFO: Extracted packet for processing {"connection_id":151949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 03:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:58: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-08-11 03:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318519296001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786400767000,"timestamp_ms":1786400767000,"timestamp_seconds":1786400767,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc87c18"} 
[2026-08-11 03:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:58:59] 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-08-11 03:58: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-08-11 03:58: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-08-11 03:58: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-08-11 03:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:58:59] 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-08-11 03:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318519296001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318519296001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:58:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:58:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318519296001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":151949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:58:59] local.INFO: GPS data processed {"connection_id":151949,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:58:59] local.INFO: Acknowledgment sent {"connection_id":151949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:59:30] local.INFO: TCP Data received {"connection_id":151949,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:59:30] local.INFO: Processing buffer {"connection_id":151949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:59:30] local.INFO: Packet analysis {"connection_id":151949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 03:59:30] local.INFO: Extracted packet for processing {"connection_id":151949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 03:59:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03:59: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-08-11 03:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318519296001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786400767000,"timestamp_ms":1786400767000,"timestamp_seconds":1786400767,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc87c18"} 
[2026-08-11 03:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:59:30] 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-08-11 03:59: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-08-11 03:59: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-08-11 03:59: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-08-11 03:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:59:30] 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-08-11 03:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318519296001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318519296001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:59:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:59:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318519296001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":151949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:59:30] local.INFO: GPS data processed {"connection_id":151949,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:59:30] local.INFO: Acknowledgment sent {"connection_id":151949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 03:59:53] local.INFO: TCP Data received {"connection_id":154676,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:59:53] local.INFO: Processing buffer {"connection_id":154676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:59:53] local.INFO: IMEI packet received {"connection_id":154676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 03:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":154676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 03:59:58] local.INFO: TCP Data received {"connection_id":154676,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:59:58] local.INFO: Processing buffer {"connection_id":154676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 03:59:58] local.INFO: IMEI packet received {"connection_id":154676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 03:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":154676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 03:59:59] local.INFO: TCP Data received {"connection_id":154676,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:59:59] local.INFO: Processing buffer {"connection_id":154676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 03:59:59] local.INFO: Packet analysis {"connection_id":154676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 03:59:59] local.INFO: Extracted packet for processing {"connection_id":154676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 03:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 03: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-08-11 03:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318519296001,"note":"Value kept but may cause issues"} 
[2026-08-11 03:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 03:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 03:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 03:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786400767000,"timestamp_ms":1786400767000,"timestamp_seconds":1786400767,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc87c18"} 
[2026-08-11 03:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 03:59:59] 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-08-11 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 03:59: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-08-11 03: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-08-11 03:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 03:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 03:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 03:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 03:59:59] 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-08-11 03:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 03:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 03:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318519296001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 03:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 03:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 03:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318519296001,"description":"Unknown IO ID 0"} 
[2026-08-11 03:59:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 03:59:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 03:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 03:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 03:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318519296001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 03:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":154676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 03:59:59] local.INFO: GPS data processed {"connection_id":154676,"processed":1,"errors":0,"total":1} 
[2026-08-11 03:59:59] local.INFO: Acknowledgment sent {"connection_id":154676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:00:30] local.INFO: TCP Data received {"connection_id":154676,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:00:30] local.INFO: Processing buffer {"connection_id":154676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:00:30] local.INFO: Packet analysis {"connection_id":154676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 04:00:30] local.INFO: Extracted packet for processing {"connection_id":154676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 04:00:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318519296001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786400767000,"timestamp_ms":1786400767000,"timestamp_seconds":1786400767,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc87c18"} 
[2026-08-11 04:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:00:30] 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-08-11 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:00: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-08-11 04: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-08-11 04:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:00:30] 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-08-11 04:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318519296001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318519296001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:00:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:00:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318519296001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":154676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:00:30] local.INFO: GPS data processed {"connection_id":154676,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:00:30] local.INFO: Acknowledgment sent {"connection_id":154676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:00:53] local.INFO: TCP Data received {"connection_id":152345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:00:53] local.INFO: Processing buffer {"connection_id":152345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:00:53] local.INFO: IMEI packet received {"connection_id":152345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":152345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:00:58] local.INFO: TCP Data received {"connection_id":152345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:00:58] local.INFO: Processing buffer {"connection_id":152345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:00:58] local.INFO: IMEI packet received {"connection_id":152345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":152345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:00:59] local.INFO: TCP Data received {"connection_id":152345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:00:59] local.INFO: Processing buffer {"connection_id":152345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:00:59] local.INFO: Packet analysis {"connection_id":152345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 04:00:59] local.INFO: Extracted packet for processing {"connection_id":152345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 04:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318519296001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786400767000,"timestamp_ms":1786400767000,"timestamp_seconds":1786400767,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc87c18"} 
[2026-08-11 04:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:00:59] 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-08-11 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:00: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-08-11 04: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-08-11 04:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 04:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318519296001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318519296001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:00:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:00:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318519296001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":152345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:00:59] local.INFO: GPS data processed {"connection_id":152345,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:00:59] local.INFO: Acknowledgment sent {"connection_id":152345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:01:30] local.INFO: TCP Data received {"connection_id":152345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:01:30] local.INFO: Processing buffer {"connection_id":152345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedc87c18012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:01:30] local.INFO: Packet analysis {"connection_id":152345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 04:01:30] local.INFO: Extracted packet for processing {"connection_id":152345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedc8"} 
[2026-08-11 04:01:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:01: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-08-11 04:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318519296001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786400767000,"timestamp_ms":1786400767000,"timestamp_seconds":1786400767,"priority":1,"record_length":96,"hex_timestamp":"0000019fedc87c18"} 
[2026-08-11 04:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:01:30] 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-08-11 04:01: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-08-11 04:01: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-08-11 04:01: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-08-11 04:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 04:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318519296001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318519296001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:01:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:01:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318519296001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":152345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:01:30] local.INFO: GPS data processed {"connection_id":152345,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:01:30] local.INFO: Acknowledgment sent {"connection_id":152345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:01:54] local.INFO: TCP Data received {"connection_id":154677,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:01:54] local.INFO: Processing buffer {"connection_id":154677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:01:54] local.INFO: IMEI packet received {"connection_id":154677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":154677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:01:58] local.INFO: TCP Data received {"connection_id":154677,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:01:58] local.INFO: Processing buffer {"connection_id":154677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:01:58] local.INFO: IMEI packet received {"connection_id":154677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":154677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:01:59] local.INFO: TCP Data received {"connection_id":154677,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:01:59] local.INFO: Processing buffer {"connection_id":154677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:01:59] local.INFO: Packet analysis {"connection_id":154677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:01:59] local.INFO: Extracted packet for processing {"connection_id":154677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318596352001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786401068000,"timestamp_ms":1786401068000,"timestamp_seconds":1786401068,"priority":1,"record_length":96,"hex_timestamp":"0000019fedcd13e0"} 
[2026-08-11 04:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:01:59] 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-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:01:59] 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-08-11 04: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-08-11 04:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:01:59] 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-08-11 04:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318596352001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318596352001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:01:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:01:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318596352001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":154677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:01:59] local.INFO: GPS data processed {"connection_id":154677,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:01:59] local.INFO: Acknowledgment sent {"connection_id":154677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:02:30] local.INFO: TCP Data received {"connection_id":154677,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:02:30] local.INFO: Processing buffer {"connection_id":154677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:02:30] local.INFO: Packet analysis {"connection_id":154677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:02:30] local.INFO: Extracted packet for processing {"connection_id":154677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:02: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-08-11 04:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318596352001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786401068000,"timestamp_ms":1786401068000,"timestamp_seconds":1786401068,"priority":1,"record_length":96,"hex_timestamp":"0000019fedcd13e0"} 
[2026-08-11 04:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:02:30] 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-08-11 04:02: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-08-11 04:02: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-08-11 04:02: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-08-11 04:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:02:30] 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-08-11 04:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318596352001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318596352001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:02:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:02:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318596352001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":154677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:02:30] local.INFO: GPS data processed {"connection_id":154677,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:02:30] local.INFO: Acknowledgment sent {"connection_id":154677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:02:53] local.INFO: TCP Data received {"connection_id":153277,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:02:53] local.INFO: Processing buffer {"connection_id":153277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:02:53] local.INFO: IMEI packet received {"connection_id":153277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":153277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:02:58] local.INFO: TCP Data received {"connection_id":153277,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:02:58] local.INFO: Processing buffer {"connection_id":153277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:02:58] local.INFO: IMEI packet received {"connection_id":153277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":153277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:02:59] local.INFO: TCP Data received {"connection_id":153277,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:02:59] local.INFO: Processing buffer {"connection_id":153277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:02:59] local.INFO: Packet analysis {"connection_id":153277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:02:59] local.INFO: Extracted packet for processing {"connection_id":153277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318596352001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786401068000,"timestamp_ms":1786401068000,"timestamp_seconds":1786401068,"priority":1,"record_length":96,"hex_timestamp":"0000019fedcd13e0"} 
[2026-08-11 04:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:02:59] 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-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:02:59] 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-08-11 04: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-08-11 04:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 04:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318596352001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318596352001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:02:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:02:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318596352001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":153277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:02:59] local.INFO: GPS data processed {"connection_id":153277,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:02:59] local.INFO: Acknowledgment sent {"connection_id":153277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:03:30] local.INFO: TCP Data received {"connection_id":153277,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:03:30] local.INFO: Processing buffer {"connection_id":153277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:03:30] local.INFO: Packet analysis {"connection_id":153277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:03:30] local.INFO: Extracted packet for processing {"connection_id":153277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:03:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:03: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-08-11 04:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318596352001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786401068000,"timestamp_ms":1786401068000,"timestamp_seconds":1786401068,"priority":1,"record_length":96,"hex_timestamp":"0000019fedcd13e0"} 
[2026-08-11 04:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:03:30] 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-08-11 04:03: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-08-11 04:03: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-08-11 04:03: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-08-11 04:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 04:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318596352001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318596352001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:03:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:03:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318596352001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":153277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:03:30] local.INFO: GPS data processed {"connection_id":153277,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:03:30] local.INFO: Acknowledgment sent {"connection_id":153277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:03:58] local.INFO: TCP Data received {"connection_id":152346,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:03:58] local.INFO: Processing buffer {"connection_id":152346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:03:58] local.INFO: IMEI packet received {"connection_id":152346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":152346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:04:03] local.INFO: TCP Data received {"connection_id":152346,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:04:03] local.INFO: Processing buffer {"connection_id":152346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:04:03] local.INFO: IMEI packet received {"connection_id":152346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":152346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:04:04] local.INFO: TCP Data received {"connection_id":152346,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:04:04] local.INFO: Processing buffer {"connection_id":152346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:04:04] local.INFO: Packet analysis {"connection_id":152346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:04:04] local.INFO: Extracted packet for processing {"connection_id":152346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:04:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318596352001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786401068000,"timestamp_ms":1786401068000,"timestamp_seconds":1786401068,"priority":1,"record_length":96,"hex_timestamp":"0000019fedcd13e0"} 
[2026-08-11 04:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:04:04] 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-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:04: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-08-11 04: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-08-11 04:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:04: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-08-11 04:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318596352001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318596352001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:04:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:04:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318596352001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":152346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:04:04] local.INFO: GPS data processed {"connection_id":152346,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:04:04] local.INFO: Acknowledgment sent {"connection_id":152346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:04:35] local.INFO: TCP Data received {"connection_id":152346,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:04:35] local.INFO: Processing buffer {"connection_id":152346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:04:35] local.INFO: Packet analysis {"connection_id":152346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:04:35] local.INFO: Extracted packet for processing {"connection_id":152346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:04:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318596352001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786401068000,"timestamp_ms":1786401068000,"timestamp_seconds":1786401068,"priority":1,"record_length":96,"hex_timestamp":"0000019fedcd13e0"} 
[2026-08-11 04:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:04:35] 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-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:04:35] 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-08-11 04: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-08-11 04:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:04: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-08-11 04:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318596352001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318596352001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:04:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:04:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318596352001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":152346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:04:35] local.INFO: GPS data processed {"connection_id":152346,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:04:35] local.INFO: Acknowledgment sent {"connection_id":152346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:04:53] local.INFO: TCP Data received {"connection_id":153278,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:04:53] local.INFO: Processing buffer {"connection_id":153278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:04:53] local.INFO: IMEI packet received {"connection_id":153278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":153278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:04:58] local.INFO: TCP Data received {"connection_id":153278,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:04:58] local.INFO: Processing buffer {"connection_id":153278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:04:58] local.INFO: IMEI packet received {"connection_id":153278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":153278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:04:59] local.INFO: TCP Data received {"connection_id":153278,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:04:59] local.INFO: Processing buffer {"connection_id":153278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:04:59] local.INFO: Packet analysis {"connection_id":153278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:04:59] local.INFO: Extracted packet for processing {"connection_id":153278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:04:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318596352001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786401068000,"timestamp_ms":1786401068000,"timestamp_seconds":1786401068,"priority":1,"record_length":96,"hex_timestamp":"0000019fedcd13e0"} 
[2026-08-11 04:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:04:59] 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-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:04:59] 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-08-11 04: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-08-11 04:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:04:59] 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-08-11 04:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318596352001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318596352001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:04:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:04:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318596352001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":153278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:04:59] local.INFO: GPS data processed {"connection_id":153278,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:04:59] local.INFO: Acknowledgment sent {"connection_id":153278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:05:30] local.INFO: TCP Data received {"connection_id":153278,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:05:30] local.INFO: Processing buffer {"connection_id":153278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:05:30] local.INFO: Packet analysis {"connection_id":153278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:05:30] local.INFO: Extracted packet for processing {"connection_id":153278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:05:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318596352001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786401068000,"timestamp_ms":1786401068000,"timestamp_seconds":1786401068,"priority":1,"record_length":96,"hex_timestamp":"0000019fedcd13e0"} 
[2026-08-11 04:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:05:30] 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-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:05: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-08-11 04: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-08-11 04:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:05:30] 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-08-11 04:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318596352001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318596352001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:05:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:05:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318596352001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":153278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:05:30] local.INFO: GPS data processed {"connection_id":153278,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:05:30] local.INFO: Acknowledgment sent {"connection_id":153278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:05:53] local.INFO: TCP Data received {"connection_id":151950,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:05:53] local.INFO: Processing buffer {"connection_id":151950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:05:53] local.INFO: IMEI packet received {"connection_id":151950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":151950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:05:58] local.INFO: TCP Data received {"connection_id":151950,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:05:58] local.INFO: Processing buffer {"connection_id":151950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:05:58] local.INFO: IMEI packet received {"connection_id":151950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":151950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:06:02] local.INFO: TCP Data received {"connection_id":151950,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:06:02] local.INFO: Processing buffer {"connection_id":151950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:06:02] local.INFO: Packet analysis {"connection_id":151950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:06:02] local.INFO: Extracted packet for processing {"connection_id":151950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:06: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-08-11 04:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318596352001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786401068000,"timestamp_ms":1786401068000,"timestamp_seconds":1786401068,"priority":1,"record_length":96,"hex_timestamp":"0000019fedcd13e0"} 
[2026-08-11 04:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:06:02] 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-08-11 04:06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:06:02] 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-08-11 04:06: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-08-11 04:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":151950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":151950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":151950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:06:02] 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-08-11 04:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318596352001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318596352001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:06:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:06:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318596352001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":151950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:06:02] local.INFO: GPS data processed {"connection_id":151950,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:06:02] local.INFO: Acknowledgment sent {"connection_id":151950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:06:33] local.INFO: TCP Data received {"connection_id":151950,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:06:33] local.INFO: Processing buffer {"connection_id":151950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedcd13e0012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:06:33] local.INFO: Packet analysis {"connection_id":151950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:06:33] local.INFO: Extracted packet for processing {"connection_id":151950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedcd"} 
[2026-08-11 04:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318596352001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786401068000,"timestamp_ms":1786401068000,"timestamp_seconds":1786401068,"priority":1,"record_length":96,"hex_timestamp":"0000019fedcd13e0"} 
[2026-08-11 04:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:06:33] 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-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:06:33] 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-08-11 04: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-08-11 04:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:06:33] 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-08-11 04:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318596352001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318596352001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:06:33] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:06:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318596352001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":151950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:06:33] local.INFO: GPS data processed {"connection_id":151950,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:06:33] local.INFO: Acknowledgment sent {"connection_id":151950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:06:54] local.INFO: TCP Data received {"connection_id":154678,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:06:54] local.INFO: Processing buffer {"connection_id":154678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:06:54] local.INFO: IMEI packet received {"connection_id":154678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":154678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:06:58] local.INFO: TCP Data received {"connection_id":154678,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:06:58] local.INFO: Processing buffer {"connection_id":154678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:06:58] local.INFO: IMEI packet received {"connection_id":154678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":154678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:06:59] local.INFO: TCP Data received {"connection_id":154678,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:06:59] local.INFO: Processing buffer {"connection_id":154678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:06:59] local.INFO: Packet analysis {"connection_id":154678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:06:59] local.INFO: Extracted packet for processing {"connection_id":154678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:06: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-08-11 04:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318673408001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786401369000,"timestamp_ms":1786401369000,"timestamp_seconds":1786401369,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd1aba8"} 
[2026-08-11 04:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:06:59] 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-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:06:59] 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-08-11 04: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-08-11 04:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:06:59] 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-08-11 04:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318673408001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318673408001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:06:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:06:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318673408001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":154678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:06:59] local.INFO: GPS data processed {"connection_id":154678,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:06:59] local.INFO: Acknowledgment sent {"connection_id":154678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:07:30] local.INFO: TCP Data received {"connection_id":154678,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:07:30] local.INFO: Processing buffer {"connection_id":154678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:07:30] local.INFO: Packet analysis {"connection_id":154678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:07:30] local.INFO: Extracted packet for processing {"connection_id":154678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318673408001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786401369000,"timestamp_ms":1786401369000,"timestamp_seconds":1786401369,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd1aba8"} 
[2026-08-11 04:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:07:30] 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-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:07: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-08-11 04:07: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-08-11 04:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:07:30] 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-08-11 04:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318673408001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318673408001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:07:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:07:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318673408001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":154678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:07:30] local.INFO: GPS data processed {"connection_id":154678,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:07:30] local.INFO: Acknowledgment sent {"connection_id":154678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:07:58] local.INFO: TCP Data received {"connection_id":152347,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:07:58] local.INFO: Processing buffer {"connection_id":152347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:07:58] local.INFO: IMEI packet received {"connection_id":152347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":152347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:08:03] local.INFO: TCP Data received {"connection_id":152347,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:08:03] local.INFO: Processing buffer {"connection_id":152347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:08:03] local.INFO: IMEI packet received {"connection_id":152347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":152347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:08:04] local.INFO: TCP Data received {"connection_id":152347,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:08:04] local.INFO: Processing buffer {"connection_id":152347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:08:04] local.INFO: Packet analysis {"connection_id":152347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:08:04] local.INFO: Extracted packet for processing {"connection_id":152347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318673408001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786401369000,"timestamp_ms":1786401369000,"timestamp_seconds":1786401369,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd1aba8"} 
[2026-08-11 04:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:08:04] 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-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:08: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-08-11 04: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-08-11 04:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:08:04] 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-08-11 04:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318673408001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318673408001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:08:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:08:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318673408001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":152347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:08:04] local.INFO: GPS data processed {"connection_id":152347,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:08:04] local.INFO: Acknowledgment sent {"connection_id":152347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:08:09] local.INFO: TCP Data received {"connection_id":152347,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:08:09] local.INFO: Processing buffer {"connection_id":152347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:08:09] local.INFO: Packet analysis {"connection_id":152347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:08:09] local.INFO: Extracted packet for processing {"connection_id":152347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:08:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318673408001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786401369000,"timestamp_ms":1786401369000,"timestamp_seconds":1786401369,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd1aba8"} 
[2026-08-11 04:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:08:09] 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-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:08:09] 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-08-11 04: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-08-11 04:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:08:09] 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-08-11 04:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318673408001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318673408001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:08:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:08:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318673408001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":152347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:08:09] local.INFO: GPS data processed {"connection_id":152347,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:08:09] local.INFO: Acknowledgment sent {"connection_id":152347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:08:53] local.INFO: TCP Data received {"connection_id":153279,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:08:53] local.INFO: Processing buffer {"connection_id":153279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:08:53] local.INFO: IMEI packet received {"connection_id":153279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":153279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:08:58] local.INFO: TCP Data received {"connection_id":153279,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:08:58] local.INFO: Processing buffer {"connection_id":153279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:08:58] local.INFO: IMEI packet received {"connection_id":153279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":153279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:08:59] local.INFO: TCP Data received {"connection_id":153279,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:08:59] local.INFO: Processing buffer {"connection_id":153279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:08:59] local.INFO: Packet analysis {"connection_id":153279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:08:59] local.INFO: Extracted packet for processing {"connection_id":153279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318673408001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786401369000,"timestamp_ms":1786401369000,"timestamp_seconds":1786401369,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd1aba8"} 
[2026-08-11 04:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:08:59] 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-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:08:59] 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-08-11 04: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-08-11 04:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:08:59] 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-08-11 04:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318673408001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318673408001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:08:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:08:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318673408001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":153279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:08:59] local.INFO: GPS data processed {"connection_id":153279,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:08:59] local.INFO: Acknowledgment sent {"connection_id":153279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:09:30] local.INFO: TCP Data received {"connection_id":153279,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:09:30] local.INFO: Processing buffer {"connection_id":153279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:09:30] local.INFO: Packet analysis {"connection_id":153279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:09:30] local.INFO: Extracted packet for processing {"connection_id":153279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:09:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318673408001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786401369000,"timestamp_ms":1786401369000,"timestamp_seconds":1786401369,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd1aba8"} 
[2026-08-11 04:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:09:30] 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-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:09: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-08-11 04: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-08-11 04:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:09:30] 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-08-11 04:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318673408001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318673408001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:09:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:09:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318673408001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":153279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:09:30] local.INFO: GPS data processed {"connection_id":153279,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:09:30] local.INFO: Acknowledgment sent {"connection_id":153279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:09:53] local.INFO: TCP Data received {"connection_id":151951,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:09:53] local.INFO: Processing buffer {"connection_id":151951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:09:53] local.INFO: IMEI packet received {"connection_id":151951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":151951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:09:58] local.INFO: TCP Data received {"connection_id":151951,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:09:58] local.INFO: Processing buffer {"connection_id":151951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:09:58] local.INFO: IMEI packet received {"connection_id":151951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":151951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:09:59] local.INFO: TCP Data received {"connection_id":151951,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:09:59] local.INFO: Processing buffer {"connection_id":151951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:09:59] local.INFO: Packet analysis {"connection_id":151951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:09:59] local.INFO: Extracted packet for processing {"connection_id":151951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318673408001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786401369000,"timestamp_ms":1786401369000,"timestamp_seconds":1786401369,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd1aba8"} 
[2026-08-11 04:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:09:59] 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-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:09:59] 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-08-11 04: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-08-11 04:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:09:59] 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-08-11 04:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318673408001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318673408001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:09:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:09:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318673408001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":151951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:09:59] local.INFO: GPS data processed {"connection_id":151951,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:09:59] local.INFO: Acknowledgment sent {"connection_id":151951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:10:30] local.INFO: TCP Data received {"connection_id":151951,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:10:30] local.INFO: Processing buffer {"connection_id":151951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:10:30] local.INFO: Packet analysis {"connection_id":151951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:10:30] local.INFO: Extracted packet for processing {"connection_id":151951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:10: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-08-11 04:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318673408001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786401369000,"timestamp_ms":1786401369000,"timestamp_seconds":1786401369,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd1aba8"} 
[2026-08-11 04:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:10:30] 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-08-11 04:10: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-08-11 04:10: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-08-11 04:10: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-08-11 04:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:10:30] 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-08-11 04:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318673408001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318673408001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:10:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:10:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318673408001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":151951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:10:30] local.INFO: GPS data processed {"connection_id":151951,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:10:30] local.INFO: Acknowledgment sent {"connection_id":151951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:10:53] local.INFO: TCP Data received {"connection_id":154679,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:10:53] local.INFO: Processing buffer {"connection_id":154679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:10:53] local.INFO: IMEI packet received {"connection_id":154679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":154679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:10:58] local.INFO: TCP Data received {"connection_id":154679,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:10:58] local.INFO: Processing buffer {"connection_id":154679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:10:58] local.INFO: IMEI packet received {"connection_id":154679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":154679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:10:59] local.INFO: TCP Data received {"connection_id":154679,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:10:59] local.INFO: Processing buffer {"connection_id":154679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:10:59] local.INFO: Packet analysis {"connection_id":154679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:10:59] local.INFO: Extracted packet for processing {"connection_id":154679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318673408001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786401369000,"timestamp_ms":1786401369000,"timestamp_seconds":1786401369,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd1aba8"} 
[2026-08-11 04:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:10:59] 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-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:10:59] 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-08-11 04: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-08-11 04:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:10:59] 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-08-11 04:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318673408001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318673408001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:10:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:10:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318673408001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":154679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:10:59] local.INFO: GPS data processed {"connection_id":154679,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:10:59] local.INFO: Acknowledgment sent {"connection_id":154679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:11:30] local.INFO: TCP Data received {"connection_id":154679,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:11:30] local.INFO: Processing buffer {"connection_id":154679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd1aba8012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:11:30] local.INFO: Packet analysis {"connection_id":154679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:11:30] local.INFO: Extracted packet for processing {"connection_id":154679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd1"} 
[2026-08-11 04:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:11: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-08-11 04:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318673408001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786401369000,"timestamp_ms":1786401369000,"timestamp_seconds":1786401369,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd1aba8"} 
[2026-08-11 04:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:11:30] 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-08-11 04:11: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-08-11 04:11: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-08-11 04:11: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-08-11 04:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:11:30] 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-08-11 04:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318673408001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318673408001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:11:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:11:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318673408001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":154679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:11:30] local.INFO: GPS data processed {"connection_id":154679,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:11:30] local.INFO: Acknowledgment sent {"connection_id":154679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:11:53] local.INFO: TCP Data received {"connection_id":151952,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:11:53] local.INFO: Processing buffer {"connection_id":151952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:11:53] local.INFO: IMEI packet received {"connection_id":151952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":151952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:11:59] local.INFO: TCP Data received {"connection_id":151952,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:11:59] local.INFO: Processing buffer {"connection_id":151952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:11:59] local.INFO: IMEI packet received {"connection_id":151952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":151952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:12:00] local.INFO: TCP Data received {"connection_id":151952,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:12:00] local.INFO: Processing buffer {"connection_id":151952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:12:00] local.INFO: Packet analysis {"connection_id":151952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:12:00] local.INFO: Extracted packet for processing {"connection_id":151952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318750464001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786401670000,"timestamp_ms":1786401670000,"timestamp_seconds":1786401670,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd64370"} 
[2026-08-11 04:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:12: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-08-11 04: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-08-11 04:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:12:00] 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-08-11 04:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318750464001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318750464001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:12:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:12:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318750464001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":151952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:12:00] local.INFO: GPS data processed {"connection_id":151952,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:12:00] local.INFO: Acknowledgment sent {"connection_id":151952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:12:31] local.INFO: TCP Data received {"connection_id":151952,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:12:31] local.INFO: Processing buffer {"connection_id":151952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:12:31] local.INFO: Packet analysis {"connection_id":151952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:12:31] local.INFO: Extracted packet for processing {"connection_id":151952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318750464001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786401670000,"timestamp_ms":1786401670000,"timestamp_seconds":1786401670,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd64370"} 
[2026-08-11 04:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:12: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-08-11 04: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-08-11 04:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:12:31] 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-08-11 04:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318750464001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318750464001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:12:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:12:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318750464001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":151952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:12:31] local.INFO: GPS data processed {"connection_id":151952,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:12:31] local.INFO: Acknowledgment sent {"connection_id":151952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:12:58] local.INFO: TCP Data received {"connection_id":154680,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:12:58] local.INFO: Processing buffer {"connection_id":154680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:12:58] local.INFO: IMEI packet received {"connection_id":154680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":154680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:13:03] local.INFO: TCP Data received {"connection_id":154680,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:13:03] local.INFO: Processing buffer {"connection_id":154680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:13:03] local.INFO: IMEI packet received {"connection_id":154680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":154680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:13:04] local.INFO: TCP Data received {"connection_id":154680,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:13:04] local.INFO: Processing buffer {"connection_id":154680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:13:04] local.INFO: Packet analysis {"connection_id":154680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:13:04] local.INFO: Extracted packet for processing {"connection_id":154680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318750464001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786401670000,"timestamp_ms":1786401670000,"timestamp_seconds":1786401670,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd64370"} 
[2026-08-11 04:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:13: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-08-11 04: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-08-11 04:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:13:04] 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-08-11 04:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318750464001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318750464001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:13:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:13:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318750464001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":154680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:13:04] local.INFO: GPS data processed {"connection_id":154680,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:13:04] local.INFO: Acknowledgment sent {"connection_id":154680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:13:09] local.INFO: TCP Data received {"connection_id":154680,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:13:09] local.INFO: Processing buffer {"connection_id":154680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:13:09] local.INFO: Packet analysis {"connection_id":154680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:13:09] local.INFO: Extracted packet for processing {"connection_id":154680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:13:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:13: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-08-11 04:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318750464001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786401670000,"timestamp_ms":1786401670000,"timestamp_seconds":1786401670,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd64370"} 
[2026-08-11 04:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:13: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":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:13:09] 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-08-11 04:13: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-08-11 04:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:13:09] 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-08-11 04:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318750464001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318750464001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:13:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:13:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318750464001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":154680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:13:09] local.INFO: GPS data processed {"connection_id":154680,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:13:09] local.INFO: Acknowledgment sent {"connection_id":154680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:13:53] local.INFO: TCP Data received {"connection_id":153280,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:13:53] local.INFO: Processing buffer {"connection_id":153280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:13:53] local.INFO: IMEI packet received {"connection_id":153280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":153280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:13:58] local.INFO: TCP Data received {"connection_id":153280,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:13:58] local.INFO: Processing buffer {"connection_id":153280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:13:58] local.INFO: IMEI packet received {"connection_id":153280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":153280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:13:59] local.INFO: TCP Data received {"connection_id":153280,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:13:59] local.INFO: Processing buffer {"connection_id":153280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:13:59] local.INFO: Packet analysis {"connection_id":153280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:13:59] local.INFO: Extracted packet for processing {"connection_id":153280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318750464001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786401670000,"timestamp_ms":1786401670000,"timestamp_seconds":1786401670,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd64370"} 
[2026-08-11 04:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:13:59] 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-08-11 04: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-08-11 04:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:13:59] 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-08-11 04:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318750464001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318750464001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:13:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:13:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318750464001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":153280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:13:59] local.INFO: GPS data processed {"connection_id":153280,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:13:59] local.INFO: Acknowledgment sent {"connection_id":153280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:14:30] local.INFO: TCP Data received {"connection_id":153280,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:14:30] local.INFO: Processing buffer {"connection_id":153280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:14:30] local.INFO: Packet analysis {"connection_id":153280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:14:30] local.INFO: Extracted packet for processing {"connection_id":153280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:14:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:14: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-08-11 04:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318750464001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786401670000,"timestamp_ms":1786401670000,"timestamp_seconds":1786401670,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd64370"} 
[2026-08-11 04:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:14: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-08-11 04:14: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-08-11 04:14: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-08-11 04:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:14:30] 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-08-11 04:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318750464001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318750464001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:14:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:14:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318750464001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":153280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:14:30] local.INFO: GPS data processed {"connection_id":153280,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:14:30] local.INFO: Acknowledgment sent {"connection_id":153280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:14:53] local.INFO: TCP Data received {"connection_id":152348,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:14:53] local.INFO: Processing buffer {"connection_id":152348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:14:53] local.INFO: IMEI packet received {"connection_id":152348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":152348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:14:58] local.INFO: TCP Data received {"connection_id":152348,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:14:58] local.INFO: Processing buffer {"connection_id":152348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:14:58] local.INFO: IMEI packet received {"connection_id":152348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":152348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:14:59] local.INFO: TCP Data received {"connection_id":152348,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:14:59] local.INFO: Processing buffer {"connection_id":152348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:14:59] local.INFO: Packet analysis {"connection_id":152348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:14:59] local.INFO: Extracted packet for processing {"connection_id":152348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318750464001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786401670000,"timestamp_ms":1786401670000,"timestamp_seconds":1786401670,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd64370"} 
[2026-08-11 04:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:14:59] 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-08-11 04: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-08-11 04:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:14:59] 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-08-11 04:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318750464001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318750464001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:14:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:14:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318750464001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":152348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:14:59] local.INFO: GPS data processed {"connection_id":152348,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:14:59] local.INFO: Acknowledgment sent {"connection_id":152348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:15:30] local.INFO: TCP Data received {"connection_id":152348,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:15:30] local.INFO: Processing buffer {"connection_id":152348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:15:30] local.INFO: Packet analysis {"connection_id":152348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:15:30] local.INFO: Extracted packet for processing {"connection_id":152348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:15:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318750464001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786401670000,"timestamp_ms":1786401670000,"timestamp_seconds":1786401670,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd64370"} 
[2026-08-11 04:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:15: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-08-11 04: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-08-11 04:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:15:30] 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-08-11 04:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318750464001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318750464001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:15:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:15:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318750464001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":152348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:15:30] local.INFO: GPS data processed {"connection_id":152348,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:15:30] local.INFO: Acknowledgment sent {"connection_id":152348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:15:54] local.INFO: TCP Data received {"connection_id":153281,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:15:54] local.INFO: Processing buffer {"connection_id":153281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:15:54] local.INFO: IMEI packet received {"connection_id":153281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":153281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:15:58] local.INFO: TCP Data received {"connection_id":153281,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:15:58] local.INFO: Processing buffer {"connection_id":153281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:15:58] local.INFO: IMEI packet received {"connection_id":153281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":153281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:15:59] local.INFO: TCP Data received {"connection_id":153281,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:15:59] local.INFO: Processing buffer {"connection_id":153281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:15:59] local.INFO: Packet analysis {"connection_id":153281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:15:59] local.INFO: Extracted packet for processing {"connection_id":153281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:15: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-08-11 04:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318750464001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786401670000,"timestamp_ms":1786401670000,"timestamp_seconds":1786401670,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd64370"} 
[2026-08-11 04:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:15: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":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:15:59] 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-08-11 04:15: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-08-11 04:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:15:59] 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-08-11 04:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318750464001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318750464001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:15:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:15:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318750464001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":153281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:15:59] local.INFO: GPS data processed {"connection_id":153281,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:15:59] local.INFO: Acknowledgment sent {"connection_id":153281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:16:30] local.INFO: TCP Data received {"connection_id":153281,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:16:30] local.INFO: Processing buffer {"connection_id":153281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedd64370012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:16:30] local.INFO: Packet analysis {"connection_id":153281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:16:30] local.INFO: Extracted packet for processing {"connection_id":153281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedd6"} 
[2026-08-11 04:16:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318750464001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786401670000,"timestamp_ms":1786401670000,"timestamp_seconds":1786401670,"priority":1,"record_length":96,"hex_timestamp":"0000019fedd64370"} 
[2026-08-11 04:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:16: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-08-11 04: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-08-11 04:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:16:30] 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-08-11 04:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318750464001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318750464001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:16:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:16:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318750464001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":153281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:16:30] local.INFO: GPS data processed {"connection_id":153281,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:16:30] local.INFO: Acknowledgment sent {"connection_id":153281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:16:53] local.INFO: TCP Data received {"connection_id":151953,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:16:53] local.INFO: Processing buffer {"connection_id":151953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:16:53] local.INFO: IMEI packet received {"connection_id":151953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":151953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:16:58] local.INFO: TCP Data received {"connection_id":151953,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:16:58] local.INFO: Processing buffer {"connection_id":151953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:16:58] local.INFO: IMEI packet received {"connection_id":151953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":151953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:16:59] local.INFO: TCP Data received {"connection_id":151953,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:16:59] local.INFO: Processing buffer {"connection_id":151953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:16:59] local.INFO: Packet analysis {"connection_id":151953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:16:59] local.INFO: Extracted packet for processing {"connection_id":151953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:16:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318827520001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786401971000,"timestamp_ms":1786401971000,"timestamp_seconds":1786401971,"priority":1,"record_length":96,"hex_timestamp":"0000019feddadb38"} 
[2026-08-11 04:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:16:59] 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-08-11 04: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-08-11 04:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:16:59] 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-08-11 04:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318827520001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318827520001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:16:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:16:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318827520001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":151953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:16:59] local.INFO: GPS data processed {"connection_id":151953,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:16:59] local.INFO: Acknowledgment sent {"connection_id":151953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:17:30] local.INFO: TCP Data received {"connection_id":151953,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:17:30] local.INFO: Processing buffer {"connection_id":151953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:17:30] local.INFO: Packet analysis {"connection_id":151953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:17:30] local.INFO: Extracted packet for processing {"connection_id":151953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:17:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318827520001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786401971000,"timestamp_ms":1786401971000,"timestamp_seconds":1786401971,"priority":1,"record_length":96,"hex_timestamp":"0000019feddadb38"} 
[2026-08-11 04:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:17: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-08-11 04: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-08-11 04:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:17:30] 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-08-11 04:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318827520001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318827520001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:17:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:17:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318827520001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":151953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:17:30] local.INFO: GPS data processed {"connection_id":151953,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:17:30] local.INFO: Acknowledgment sent {"connection_id":151953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:17:53] local.INFO: TCP Data received {"connection_id":154681,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:17:53] local.INFO: Processing buffer {"connection_id":154681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:17:53] local.INFO: IMEI packet received {"connection_id":154681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":154681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:17:58] local.INFO: TCP Data received {"connection_id":154681,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:17:58] local.INFO: Processing buffer {"connection_id":154681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:17:58] local.INFO: IMEI packet received {"connection_id":154681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":154681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:17:59] local.INFO: TCP Data received {"connection_id":154681,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:17:59] local.INFO: Processing buffer {"connection_id":154681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:17:59] local.INFO: Packet analysis {"connection_id":154681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:17:59] local.INFO: Extracted packet for processing {"connection_id":154681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318827520001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786401971000,"timestamp_ms":1786401971000,"timestamp_seconds":1786401971,"priority":1,"record_length":96,"hex_timestamp":"0000019feddadb38"} 
[2026-08-11 04:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:17:59] 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-08-11 04: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-08-11 04:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:17:59] 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-08-11 04:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318827520001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318827520001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:17:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:17:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318827520001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":154681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:17:59] local.INFO: GPS data processed {"connection_id":154681,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:17:59] local.INFO: Acknowledgment sent {"connection_id":154681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:18:30] local.INFO: TCP Data received {"connection_id":154681,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:18:30] local.INFO: Processing buffer {"connection_id":154681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:18:30] local.INFO: Packet analysis {"connection_id":154681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:18:30] local.INFO: Extracted packet for processing {"connection_id":154681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:18: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-08-11 04:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318827520001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786401971000,"timestamp_ms":1786401971000,"timestamp_seconds":1786401971,"priority":1,"record_length":96,"hex_timestamp":"0000019feddadb38"} 
[2026-08-11 04:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:18: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-08-11 04:18: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-08-11 04:18: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-08-11 04:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:18:30] 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-08-11 04:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318827520001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318827520001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:18:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:18:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318827520001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":154681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:18:30] local.INFO: GPS data processed {"connection_id":154681,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:18:30] local.INFO: Acknowledgment sent {"connection_id":154681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:18:58] local.INFO: TCP Data received {"connection_id":154682,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:18:58] local.INFO: Processing buffer {"connection_id":154682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:18:58] local.INFO: IMEI packet received {"connection_id":154682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":154682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:19:03] local.INFO: TCP Data received {"connection_id":154682,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:19:03] local.INFO: Processing buffer {"connection_id":154682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:19:03] local.INFO: IMEI packet received {"connection_id":154682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":154682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:19:04] local.INFO: TCP Data received {"connection_id":154682,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:19:04] local.INFO: Processing buffer {"connection_id":154682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:19:04] local.INFO: Packet analysis {"connection_id":154682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:19:04] local.INFO: Extracted packet for processing {"connection_id":154682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318827520001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786401971000,"timestamp_ms":1786401971000,"timestamp_seconds":1786401971,"priority":1,"record_length":96,"hex_timestamp":"0000019feddadb38"} 
[2026-08-11 04:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:19: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-08-11 04: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-08-11 04:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:19: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-08-11 04:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318827520001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318827520001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:19:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:19:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318827520001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":154682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:19:04] local.INFO: GPS data processed {"connection_id":154682,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:19:04] local.INFO: Acknowledgment sent {"connection_id":154682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:19:09] local.INFO: TCP Data received {"connection_id":154682,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:19:09] local.INFO: Processing buffer {"connection_id":154682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:19:09] local.INFO: Packet analysis {"connection_id":154682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:19:09] local.INFO: Extracted packet for processing {"connection_id":154682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318827520001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786401971000,"timestamp_ms":1786401971000,"timestamp_seconds":1786401971,"priority":1,"record_length":96,"hex_timestamp":"0000019feddadb38"} 
[2026-08-11 04:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:19:09] 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-08-11 04: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-08-11 04:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:19: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-08-11 04:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318827520001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318827520001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:19:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:19:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318827520001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":154682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:19:09] local.INFO: GPS data processed {"connection_id":154682,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:19:09] local.INFO: Acknowledgment sent {"connection_id":154682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:19:53] local.INFO: TCP Data received {"connection_id":153282,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:19:53] local.INFO: Processing buffer {"connection_id":153282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:19:53] local.INFO: IMEI packet received {"connection_id":153282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":153282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:19:58] local.INFO: TCP Data received {"connection_id":153282,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:19:58] local.INFO: Processing buffer {"connection_id":153282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:19:58] local.INFO: IMEI packet received {"connection_id":153282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":153282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:19:59] local.INFO: TCP Data received {"connection_id":153282,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:19:59] local.INFO: Processing buffer {"connection_id":153282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:19:59] local.INFO: Packet analysis {"connection_id":153282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:19:59] local.INFO: Extracted packet for processing {"connection_id":153282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:19:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318827520001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786401971000,"timestamp_ms":1786401971000,"timestamp_seconds":1786401971,"priority":1,"record_length":96,"hex_timestamp":"0000019feddadb38"} 
[2026-08-11 04:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:19:59] 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-08-11 04: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-08-11 04:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:19:59] 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-08-11 04:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318827520001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318827520001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:19:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:19:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318827520001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":153282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:19:59] local.INFO: GPS data processed {"connection_id":153282,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:19:59] local.INFO: Acknowledgment sent {"connection_id":153282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:20:30] local.INFO: TCP Data received {"connection_id":153282,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:20:30] local.INFO: Processing buffer {"connection_id":153282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:20:30] local.INFO: Packet analysis {"connection_id":153282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:20:30] local.INFO: Extracted packet for processing {"connection_id":153282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:20:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:20: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-08-11 04:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318827520001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786401971000,"timestamp_ms":1786401971000,"timestamp_seconds":1786401971,"priority":1,"record_length":96,"hex_timestamp":"0000019feddadb38"} 
[2026-08-11 04:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:20: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-08-11 04:20: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-08-11 04:20: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-08-11 04:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:20:30] 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-08-11 04:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318827520001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318827520001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:20:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:20:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318827520001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":153282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:20:30] local.INFO: GPS data processed {"connection_id":153282,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:20:30] local.INFO: Acknowledgment sent {"connection_id":153282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:20:53] local.INFO: TCP Data received {"connection_id":151954,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:20:53] local.INFO: Processing buffer {"connection_id":151954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:20:53] local.INFO: IMEI packet received {"connection_id":151954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":151954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:20:58] local.INFO: TCP Data received {"connection_id":151954,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:20:58] local.INFO: Processing buffer {"connection_id":151954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:20:58] local.INFO: IMEI packet received {"connection_id":151954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":151954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:20:59] local.INFO: TCP Data received {"connection_id":151954,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:20:59] local.INFO: Processing buffer {"connection_id":151954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:20:59] local.INFO: Packet analysis {"connection_id":151954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:20:59] local.INFO: Extracted packet for processing {"connection_id":151954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318827520001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786401971000,"timestamp_ms":1786401971000,"timestamp_seconds":1786401971,"priority":1,"record_length":96,"hex_timestamp":"0000019feddadb38"} 
[2026-08-11 04:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:20:59] 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-08-11 04: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-08-11 04:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:20:59] 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-08-11 04:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318827520001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318827520001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:20:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:20:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318827520001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":151954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:20:59] local.INFO: GPS data processed {"connection_id":151954,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:20:59] local.INFO: Acknowledgment sent {"connection_id":151954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:21:30] local.INFO: TCP Data received {"connection_id":151954,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:21:30] local.INFO: Processing buffer {"connection_id":151954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddadb38012d840d40061d6f20000c006f30..."} 
[2026-08-11 04:21:30] local.INFO: Packet analysis {"connection_id":151954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:21:30] local.INFO: Extracted packet for processing {"connection_id":151954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedda"} 
[2026-08-11 04:21:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318827520001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786401971000,"timestamp_ms":1786401971000,"timestamp_seconds":1786401971,"priority":1,"record_length":96,"hex_timestamp":"0000019feddadb38"} 
[2026-08-11 04:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:21: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-08-11 04: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-08-11 04:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:21:30] 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-08-11 04:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318827520001,"66":25756,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318827520001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:21:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:21:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318827520001,"power":25756,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":151954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:21:30] local.INFO: GPS data processed {"connection_id":151954,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:21:30] local.INFO: Acknowledgment sent {"connection_id":151954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:21:54] local.INFO: TCP Data received {"connection_id":152349,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:21:54] local.INFO: Processing buffer {"connection_id":152349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:21:54] local.INFO: IMEI packet received {"connection_id":152349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":152349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:21:58] local.INFO: TCP Data received {"connection_id":152349,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:21:58] local.INFO: Processing buffer {"connection_id":152349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:21:58] local.INFO: IMEI packet received {"connection_id":152349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":152349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:21:59] local.INFO: TCP Data received {"connection_id":152349,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:21:59] local.INFO: Processing buffer {"connection_id":152349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:21:59] local.INFO: Packet analysis {"connection_id":152349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:21:59] local.INFO: Extracted packet for processing {"connection_id":152349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:21: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-08-11 04:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318904576001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786402272000,"timestamp_ms":1786402272000,"timestamp_seconds":1786402272,"priority":1,"record_length":96,"hex_timestamp":"0000019feddf7300"} 
[2026-08-11 04:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:21: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":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:21:59] 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-08-11 04:21: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-08-11 04:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:21:59] 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-08-11 04:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318904576001,"66":25745,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318904576001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:21:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:21:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318904576001,"power":25745,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":152349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:21:59] local.INFO: GPS data processed {"connection_id":152349,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:21:59] local.INFO: Acknowledgment sent {"connection_id":152349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:22:30] local.INFO: TCP Data received {"connection_id":152349,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:22:30] local.INFO: Processing buffer {"connection_id":152349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:22:30] local.INFO: Packet analysis {"connection_id":152349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:22:30] local.INFO: Extracted packet for processing {"connection_id":152349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318904576001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786402272000,"timestamp_ms":1786402272000,"timestamp_seconds":1786402272,"priority":1,"record_length":96,"hex_timestamp":"0000019feddf7300"} 
[2026-08-11 04:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:22: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-08-11 04: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-08-11 04:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:22:30] 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-08-11 04:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318904576001,"66":25745,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318904576001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:22:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:22:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318904576001,"power":25745,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":152349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:22:30] local.INFO: GPS data processed {"connection_id":152349,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:22:30] local.INFO: Acknowledgment sent {"connection_id":152349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:22:53] local.INFO: TCP Data received {"connection_id":154683,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:22:53] local.INFO: Processing buffer {"connection_id":154683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:22:53] local.INFO: IMEI packet received {"connection_id":154683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":154683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:22:58] local.INFO: TCP Data received {"connection_id":154683,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:22:58] local.INFO: Processing buffer {"connection_id":154683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:22:58] local.INFO: IMEI packet received {"connection_id":154683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":154683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:22:59] local.INFO: TCP Data received {"connection_id":154683,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:22:59] local.INFO: Processing buffer {"connection_id":154683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:22:59] local.INFO: Packet analysis {"connection_id":154683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:22:59] local.INFO: Extracted packet for processing {"connection_id":154683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318904576001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786402272000,"timestamp_ms":1786402272000,"timestamp_seconds":1786402272,"priority":1,"record_length":96,"hex_timestamp":"0000019feddf7300"} 
[2026-08-11 04:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:22:59] 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-08-11 04: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-08-11 04:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:22:59] 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-08-11 04:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318904576001,"66":25745,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318904576001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:22:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:22:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318904576001,"power":25745,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":154683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:22:59] local.INFO: GPS data processed {"connection_id":154683,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:22:59] local.INFO: Acknowledgment sent {"connection_id":154683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:23:30] local.INFO: TCP Data received {"connection_id":154683,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:23:30] local.INFO: Processing buffer {"connection_id":154683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:23:30] local.INFO: Packet analysis {"connection_id":154683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:23:30] local.INFO: Extracted packet for processing {"connection_id":154683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:23:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318904576001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786402272000,"timestamp_ms":1786402272000,"timestamp_seconds":1786402272,"priority":1,"record_length":96,"hex_timestamp":"0000019feddf7300"} 
[2026-08-11 04:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:23: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-08-11 04: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-08-11 04:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:23:30] 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-08-11 04:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318904576001,"66":25745,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318904576001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:23:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:23:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318904576001,"power":25745,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":154683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:23:30] local.INFO: GPS data processed {"connection_id":154683,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:23:30] local.INFO: Acknowledgment sent {"connection_id":154683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:23:58] local.INFO: TCP Data received {"connection_id":151955,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:23:58] local.INFO: Processing buffer {"connection_id":151955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:23:58] local.INFO: IMEI packet received {"connection_id":151955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":151955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:24:03] local.INFO: TCP Data received {"connection_id":151955,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:24:03] local.INFO: Processing buffer {"connection_id":151955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:24:03] local.INFO: IMEI packet received {"connection_id":151955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":151955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:24:04] local.INFO: TCP Data received {"connection_id":151955,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:24:04] local.INFO: Processing buffer {"connection_id":151955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:24:04] local.INFO: Packet analysis {"connection_id":151955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:24:04] local.INFO: Extracted packet for processing {"connection_id":151955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:24:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318904576001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786402272000,"timestamp_ms":1786402272000,"timestamp_seconds":1786402272,"priority":1,"record_length":96,"hex_timestamp":"0000019feddf7300"} 
[2026-08-11 04:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:24: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-08-11 04: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-08-11 04:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:24: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-08-11 04:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318904576001,"66":25745,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318904576001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:24:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:24:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318904576001,"power":25745,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":151955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:24:04] local.INFO: GPS data processed {"connection_id":151955,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:24:04] local.INFO: Acknowledgment sent {"connection_id":151955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:24:09] local.INFO: TCP Data received {"connection_id":151955,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:24:09] local.INFO: Processing buffer {"connection_id":151955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:24:09] local.INFO: Packet analysis {"connection_id":151955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:24:09] local.INFO: Extracted packet for processing {"connection_id":151955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:24: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-08-11 04:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318904576001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786402272000,"timestamp_ms":1786402272000,"timestamp_seconds":1786402272,"priority":1,"record_length":96,"hex_timestamp":"0000019feddf7300"} 
[2026-08-11 04:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:24: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":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:24:09] 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-08-11 04:24: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-08-11 04:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:24:09] 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-08-11 04:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318904576001,"66":25745,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318904576001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:24:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:24:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318904576001,"power":25745,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":151955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:24:09] local.INFO: GPS data processed {"connection_id":151955,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:24:09] local.INFO: Acknowledgment sent {"connection_id":151955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:24:53] local.INFO: TCP Data received {"connection_id":151956,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:24:53] local.INFO: Processing buffer {"connection_id":151956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:24:53] local.INFO: IMEI packet received {"connection_id":151956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":151956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:24:58] local.INFO: TCP Data received {"connection_id":151956,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:24:58] local.INFO: Processing buffer {"connection_id":151956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:24:58] local.INFO: IMEI packet received {"connection_id":151956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":151956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:25:01] local.INFO: TCP Data received {"connection_id":151956,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:25:01] local.INFO: Processing buffer {"connection_id":151956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:25:01] local.INFO: Packet analysis {"connection_id":151956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:25:01] local.INFO: Extracted packet for processing {"connection_id":151956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:25: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-08-11 04:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318904576001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786402272000,"timestamp_ms":1786402272000,"timestamp_seconds":1786402272,"priority":1,"record_length":96,"hex_timestamp":"0000019feddf7300"} 
[2026-08-11 04:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:25: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":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:25:01] 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-08-11 04:25: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-08-11 04:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:25:01] 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-08-11 04:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318904576001,"66":25745,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318904576001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:25:01] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:25:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318904576001,"power":25745,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":151956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:25:01] local.INFO: GPS data processed {"connection_id":151956,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:25:01] local.INFO: Acknowledgment sent {"connection_id":151956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:25:32] local.INFO: TCP Data received {"connection_id":151956,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:25:32] local.INFO: Processing buffer {"connection_id":151956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:25:32] local.INFO: Packet analysis {"connection_id":151956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:25:32] local.INFO: Extracted packet for processing {"connection_id":151956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:25: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-08-11 04:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318904576001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786402272000,"timestamp_ms":1786402272000,"timestamp_seconds":1786402272,"priority":1,"record_length":96,"hex_timestamp":"0000019feddf7300"} 
[2026-08-11 04:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:25: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-08-11 04:25: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-08-11 04:25: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-08-11 04:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:25:32] 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-08-11 04:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318904576001,"66":25745,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318904576001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:25:32] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:25:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318904576001,"power":25745,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":151956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:25:32] local.INFO: GPS data processed {"connection_id":151956,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:25:32] local.INFO: Acknowledgment sent {"connection_id":151956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:25:53] local.INFO: TCP Data received {"connection_id":154684,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:25:53] local.INFO: Processing buffer {"connection_id":154684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:25:53] local.INFO: IMEI packet received {"connection_id":154684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":154684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:25:58] local.INFO: TCP Data received {"connection_id":154684,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:25:58] local.INFO: Processing buffer {"connection_id":154684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:25:58] local.INFO: IMEI packet received {"connection_id":154684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":154684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:25:59] local.INFO: TCP Data received {"connection_id":154684,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:25:59] local.INFO: Processing buffer {"connection_id":154684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:25:59] local.INFO: Packet analysis {"connection_id":154684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:25:59] local.INFO: Extracted packet for processing {"connection_id":154684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:25:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318904576001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786402272000,"timestamp_ms":1786402272000,"timestamp_seconds":1786402272,"priority":1,"record_length":96,"hex_timestamp":"0000019feddf7300"} 
[2026-08-11 04:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 04:25:59] 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-08-11 04: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-08-11 04:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:25:59] 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-08-11 04:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318904576001,"66":25745,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318904576001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:25:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:25:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318904576001,"power":25745,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":154684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:25:59] local.INFO: GPS data processed {"connection_id":154684,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:25:59] local.INFO: Acknowledgment sent {"connection_id":154684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:26:30] local.INFO: TCP Data received {"connection_id":154684,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:26:30] local.INFO: Processing buffer {"connection_id":154684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feddf7300012d840d40061d6f20000c006f31..."} 
[2026-08-11 04:26:30] local.INFO: Packet analysis {"connection_id":154684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:26:30] local.INFO: Extracted packet for processing {"connection_id":154684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feddf"} 
[2026-08-11 04:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318904576001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786402272000,"timestamp_ms":1786402272000,"timestamp_seconds":1786402272,"priority":1,"record_length":96,"hex_timestamp":"0000019feddf7300"} 
[2026-08-11 04:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04: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-08-11 04: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-08-11 04:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:26:30] 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-08-11 04:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318904576001,"66":25745,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318904576001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:26:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:26:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318904576001,"power":25745,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":154684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:26:30] local.INFO: GPS data processed {"connection_id":154684,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:26:30] local.INFO: Acknowledgment sent {"connection_id":154684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:26:51] local.INFO: TCP Data received {"connection_id":152350,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:26:51] local.INFO: Processing buffer {"connection_id":152350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:26:51] local.INFO: IMEI packet received {"connection_id":152350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":152350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:26:54] local.INFO: TCP Data received {"connection_id":152350,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:26:54] local.INFO: Processing buffer {"connection_id":152350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:26:54] local.INFO: IMEI packet received {"connection_id":152350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":152350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:26:58] local.INFO: TCP Data received {"connection_id":152350,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:26:58] local.INFO: Processing buffer {"connection_id":152350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:26:58] local.INFO: IMEI packet received {"connection_id":152350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":152350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:27:03] local.INFO: TCP Data received {"connection_id":152350,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:27:03] local.INFO: Processing buffer {"connection_id":152350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:27:03] local.INFO: Packet analysis {"connection_id":152350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:27:03] local.INFO: Extracted packet for processing {"connection_id":152350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:27:03] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:27: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-08-11 04:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318981632001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786402573000,"timestamp_ms":1786402573000,"timestamp_seconds":1786402573,"priority":1,"record_length":96,"hex_timestamp":"0000019fede40ac8"} 
[2026-08-11 04:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:27: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":145,"data_length":795,"current_offset":136} 
[2026-08-11 04:27:03] 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-08-11 04:27: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-08-11 04:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:27:03] 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-08-11 04:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318981632001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318981632001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:27:03] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:27:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318981632001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":152350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:27:03] local.INFO: GPS data processed {"connection_id":152350,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:27:03] local.INFO: Acknowledgment sent {"connection_id":152350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:27:34] local.INFO: TCP Data received {"connection_id":152350,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:27:34] local.INFO: Processing buffer {"connection_id":152350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:27:34] local.INFO: Packet analysis {"connection_id":152350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:27:34] local.INFO: Extracted packet for processing {"connection_id":152350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:27:34] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:27: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-08-11 04:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318981632001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786402573000,"timestamp_ms":1786402573000,"timestamp_seconds":1786402573,"priority":1,"record_length":96,"hex_timestamp":"0000019fede40ac8"} 
[2026-08-11 04:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:27: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":145,"data_length":795,"current_offset":136} 
[2026-08-11 04:27:34] 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-08-11 04:27: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-08-11 04:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:27:34] 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-08-11 04:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318981632001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318981632001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:27:34] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:27:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318981632001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":152350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:27:34] local.INFO: GPS data processed {"connection_id":152350,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:27:34] local.INFO: Acknowledgment sent {"connection_id":152350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:27:53] local.INFO: TCP Data received {"connection_id":154685,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:27:53] local.INFO: Processing buffer {"connection_id":154685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:27:53] local.INFO: IMEI packet received {"connection_id":154685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":154685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:27:58] local.INFO: TCP Data received {"connection_id":154685,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:27:58] local.INFO: Processing buffer {"connection_id":154685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:27:58] local.INFO: IMEI packet received {"connection_id":154685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":154685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:27:59] local.INFO: TCP Data received {"connection_id":154685,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:27:59] local.INFO: Processing buffer {"connection_id":154685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:27:59] local.INFO: Packet analysis {"connection_id":154685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:27:59] local.INFO: Extracted packet for processing {"connection_id":154685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318981632001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786402573000,"timestamp_ms":1786402573000,"timestamp_seconds":1786402573,"priority":1,"record_length":96,"hex_timestamp":"0000019fede40ac8"} 
[2026-08-11 04:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 04:27:59] 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-08-11 04:27: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-08-11 04:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:27:59] 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-08-11 04:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318981632001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318981632001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:27:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:27:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318981632001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":154685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:27:59] local.INFO: GPS data processed {"connection_id":154685,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:27:59] local.INFO: Acknowledgment sent {"connection_id":154685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:28:30] local.INFO: TCP Data received {"connection_id":154685,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:28:30] local.INFO: Processing buffer {"connection_id":154685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:28:30] local.INFO: Packet analysis {"connection_id":154685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:28:30] local.INFO: Extracted packet for processing {"connection_id":154685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:28:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318981632001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786402573000,"timestamp_ms":1786402573000,"timestamp_seconds":1786402573,"priority":1,"record_length":96,"hex_timestamp":"0000019fede40ac8"} 
[2026-08-11 04:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":145,"data_length":795,"current_offset":136} 
[2026-08-11 04:28:30] 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-08-11 04: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-08-11 04:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:28:30] 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-08-11 04:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318981632001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318981632001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:28:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:28:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318981632001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":154685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:28:30] local.INFO: GPS data processed {"connection_id":154685,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:28:30] local.INFO: Acknowledgment sent {"connection_id":154685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:28:53] local.INFO: TCP Data received {"connection_id":151957,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:28:53] local.INFO: Processing buffer {"connection_id":151957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:28:53] local.INFO: IMEI packet received {"connection_id":151957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":151957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:28:58] local.INFO: TCP Data received {"connection_id":151957,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:28:58] local.INFO: Processing buffer {"connection_id":151957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:28:58] local.INFO: IMEI packet received {"connection_id":151957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":151957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:28:59] local.INFO: TCP Data received {"connection_id":151957,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:28:59] local.INFO: Processing buffer {"connection_id":151957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:28:59] local.INFO: Packet analysis {"connection_id":151957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:28:59] local.INFO: Extracted packet for processing {"connection_id":151957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318981632001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786402573000,"timestamp_ms":1786402573000,"timestamp_seconds":1786402573,"priority":1,"record_length":96,"hex_timestamp":"0000019fede40ac8"} 
[2026-08-11 04:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 04:28:59] 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-08-11 04: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-08-11 04:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:28:59] 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-08-11 04:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318981632001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318981632001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:28:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:28:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318981632001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":151957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:28:59] local.INFO: GPS data processed {"connection_id":151957,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:28:59] local.INFO: Acknowledgment sent {"connection_id":151957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:29:30] local.INFO: TCP Data received {"connection_id":151957,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:29:30] local.INFO: Processing buffer {"connection_id":151957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:29:30] local.INFO: Packet analysis {"connection_id":151957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:29:30] local.INFO: Extracted packet for processing {"connection_id":151957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318981632001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786402573000,"timestamp_ms":1786402573000,"timestamp_seconds":1786402573,"priority":1,"record_length":96,"hex_timestamp":"0000019fede40ac8"} 
[2026-08-11 04:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 04:29:30] 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-08-11 04: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-08-11 04:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:29:30] 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-08-11 04:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318981632001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318981632001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:29:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:29:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318981632001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":151957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:29:30] local.INFO: GPS data processed {"connection_id":151957,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:29:30] local.INFO: Acknowledgment sent {"connection_id":151957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:29:58] local.INFO: TCP Data received {"connection_id":152351,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:29:58] local.INFO: Processing buffer {"connection_id":152351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:29:58] local.INFO: IMEI packet received {"connection_id":152351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":152351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:30:07] local.INFO: TCP Data received {"connection_id":152351,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:30:07] local.INFO: Processing buffer {"connection_id":152351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:30:07] local.INFO: IMEI packet received {"connection_id":152351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":152351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:30:07] local.INFO: TCP Data received {"connection_id":152351,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:30:07] local.INFO: Processing buffer {"connection_id":152351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:30:07] local.INFO: Packet analysis {"connection_id":152351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:30:07] local.INFO: Extracted packet for processing {"connection_id":152351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318981632001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786402573000,"timestamp_ms":1786402573000,"timestamp_seconds":1786402573,"priority":1,"record_length":96,"hex_timestamp":"0000019fede40ac8"} 
[2026-08-11 04:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":145,"data_length":795,"current_offset":136} 
[2026-08-11 04:30: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-08-11 04: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-08-11 04:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:30:07] 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-08-11 04:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318981632001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318981632001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:30:07] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:30:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318981632001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":152351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:30:07] local.INFO: GPS data processed {"connection_id":152351,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:30:07] local.INFO: Acknowledgment sent {"connection_id":152351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:30:41] local.INFO: TCP Data received {"connection_id":152351,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:30:41] local.INFO: Processing buffer {"connection_id":152351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:30:41] local.INFO: Packet analysis {"connection_id":152351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:30:41] local.INFO: Extracted packet for processing {"connection_id":152351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:30: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-08-11 04:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318981632001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786402573000,"timestamp_ms":1786402573000,"timestamp_seconds":1786402573,"priority":1,"record_length":96,"hex_timestamp":"0000019fede40ac8"} 
[2026-08-11 04:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:30: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":145,"data_length":795,"current_offset":136} 
[2026-08-11 04:30:41] 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-08-11 04:30: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-08-11 04:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:30:41] 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-08-11 04:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318981632001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318981632001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:30:41] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:30:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318981632001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":152351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:30:41] local.INFO: GPS data processed {"connection_id":152351,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:30:41] local.INFO: Acknowledgment sent {"connection_id":152351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:30:53] local.INFO: TCP Data received {"connection_id":151958,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:30:53] local.INFO: Processing buffer {"connection_id":151958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:30:53] local.INFO: IMEI packet received {"connection_id":151958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":151958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:30:58] local.INFO: TCP Data received {"connection_id":151958,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:30:58] local.INFO: Processing buffer {"connection_id":151958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:30:58] local.INFO: IMEI packet received {"connection_id":151958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":151958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:30:59] local.INFO: TCP Data received {"connection_id":151958,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:30:59] local.INFO: Processing buffer {"connection_id":151958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:30:59] local.INFO: Packet analysis {"connection_id":151958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:30:59] local.INFO: Extracted packet for processing {"connection_id":151958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318981632001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786402573000,"timestamp_ms":1786402573000,"timestamp_seconds":1786402573,"priority":1,"record_length":96,"hex_timestamp":"0000019fede40ac8"} 
[2026-08-11 04:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 04:30:59] 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-08-11 04: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-08-11 04:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:30:59] 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-08-11 04:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318981632001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318981632001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:30:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:30:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318981632001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":151958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:30:59] local.INFO: GPS data processed {"connection_id":151958,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:30:59] local.INFO: Acknowledgment sent {"connection_id":151958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:31:31] local.INFO: TCP Data received {"connection_id":151958,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:31:31] local.INFO: Processing buffer {"connection_id":151958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede40ac8012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:31:31] local.INFO: Packet analysis {"connection_id":151958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:31:31] local.INFO: Extracted packet for processing {"connection_id":151958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede4"} 
[2026-08-11 04:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:31: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-08-11 04:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457318981632001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786402573000,"timestamp_ms":1786402573000,"timestamp_seconds":1786402573,"priority":1,"record_length":96,"hex_timestamp":"0000019fede40ac8"} 
[2026-08-11 04:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:31: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":145,"data_length":795,"current_offset":136} 
[2026-08-11 04:31:31] 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-08-11 04:31: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-08-11 04:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:31:31] 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-08-11 04:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457318981632001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457318981632001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:31:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:31:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457318981632001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":151958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:31:31] local.INFO: GPS data processed {"connection_id":151958,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:31:31] local.INFO: Acknowledgment sent {"connection_id":151958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:31:52] local.INFO: TCP Data received {"connection_id":152352,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:31:52] local.INFO: Processing buffer {"connection_id":152352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:31:52] local.INFO: IMEI packet received {"connection_id":152352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":152352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:31:53] local.INFO: TCP Data received {"connection_id":152352,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:31:53] local.INFO: Processing buffer {"connection_id":152352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:31:53] local.INFO: IMEI packet received {"connection_id":152352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":152352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:31:58] local.INFO: TCP Data received {"connection_id":152352,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:31:58] local.INFO: Processing buffer {"connection_id":152352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:31:58] local.INFO: IMEI packet received {"connection_id":152352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":152352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:31:59] local.INFO: TCP Data received {"connection_id":152352,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:31:59] local.INFO: Processing buffer {"connection_id":152352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:31:59] local.INFO: Packet analysis {"connection_id":152352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:31:59] local.INFO: Extracted packet for processing {"connection_id":152352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:31:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319058688001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786402874000,"timestamp_ms":1786402874000,"timestamp_seconds":1786402874,"priority":1,"record_length":96,"hex_timestamp":"0000019fede8a290"} 
[2026-08-11 04:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:31: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-08-11 04: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-08-11 04:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:31:59] 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-08-11 04:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319058688001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319058688001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:31:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:31:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319058688001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":152352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:31:59] local.INFO: GPS data processed {"connection_id":152352,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:31:59] local.INFO: Acknowledgment sent {"connection_id":152352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:32:30] local.INFO: TCP Data received {"connection_id":152352,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:32:30] local.INFO: Processing buffer {"connection_id":152352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:32:30] local.INFO: Packet analysis {"connection_id":152352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:32:30] local.INFO: Extracted packet for processing {"connection_id":152352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:32:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319058688001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786402874000,"timestamp_ms":1786402874000,"timestamp_seconds":1786402874,"priority":1,"record_length":96,"hex_timestamp":"0000019fede8a290"} 
[2026-08-11 04:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:32: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-08-11 04: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-08-11 04:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:32:30] 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-08-11 04:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319058688001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319058688001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:32:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:32:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319058688001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":152352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:32:30] local.INFO: GPS data processed {"connection_id":152352,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:32:30] local.INFO: Acknowledgment sent {"connection_id":152352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:32:53] local.INFO: TCP Data received {"connection_id":151959,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:32:53] local.INFO: Processing buffer {"connection_id":151959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:32:53] local.INFO: IMEI packet received {"connection_id":151959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":151959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:32:58] local.INFO: TCP Data received {"connection_id":151959,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:32:58] local.INFO: Processing buffer {"connection_id":151959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:32:58] local.INFO: IMEI packet received {"connection_id":151959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":151959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:32:59] local.INFO: TCP Data received {"connection_id":151959,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:32:59] local.INFO: Processing buffer {"connection_id":151959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:32:59] local.INFO: Packet analysis {"connection_id":151959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:32:59] local.INFO: Extracted packet for processing {"connection_id":151959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:32:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319058688001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786402874000,"timestamp_ms":1786402874000,"timestamp_seconds":1786402874,"priority":1,"record_length":96,"hex_timestamp":"0000019fede8a290"} 
[2026-08-11 04:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:32: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-08-11 04: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-08-11 04:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:32:59] 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-08-11 04:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319058688001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319058688001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:32:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:32:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319058688001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":151959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:32:59] local.INFO: GPS data processed {"connection_id":151959,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:32:59] local.INFO: Acknowledgment sent {"connection_id":151959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:33:37] local.INFO: TCP Data received {"connection_id":151959,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:33:38] local.INFO: Processing buffer {"connection_id":151959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:33:38] local.INFO: Packet analysis {"connection_id":151959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:33:38] local.INFO: Extracted packet for processing {"connection_id":151959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:33: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-08-11 04:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319058688001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786402874000,"timestamp_ms":1786402874000,"timestamp_seconds":1786402874,"priority":1,"record_length":96,"hex_timestamp":"0000019fede8a290"} 
[2026-08-11 04:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:33: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:33:38] 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-08-11 04:33: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-08-11 04:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:33:38] 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-08-11 04:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319058688001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319058688001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:33:38] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:33:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319058688001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":151959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:33:38] local.INFO: GPS data processed {"connection_id":151959,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:33:38] local.INFO: Acknowledgment sent {"connection_id":151959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:33:53] local.INFO: TCP Data received {"connection_id":154686,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:33:53] local.INFO: Processing buffer {"connection_id":154686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:33:53] local.INFO: IMEI packet received {"connection_id":154686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":154686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:33:58] local.INFO: TCP Data received {"connection_id":154686,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:33:58] local.INFO: Processing buffer {"connection_id":154686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:33:58] local.INFO: IMEI packet received {"connection_id":154686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":154686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:33:59] local.INFO: TCP Data received {"connection_id":154686,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:33:59] local.INFO: Processing buffer {"connection_id":154686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:33:59] local.INFO: Packet analysis {"connection_id":154686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:33:59] local.INFO: Extracted packet for processing {"connection_id":154686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319058688001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786402874000,"timestamp_ms":1786402874000,"timestamp_seconds":1786402874,"priority":1,"record_length":96,"hex_timestamp":"0000019fede8a290"} 
[2026-08-11 04:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:33: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-08-11 04: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-08-11 04:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:33:59] 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-08-11 04:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319058688001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319058688001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:33:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:33:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319058688001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":154686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:33:59] local.INFO: GPS data processed {"connection_id":154686,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:33:59] local.INFO: Acknowledgment sent {"connection_id":154686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:34:30] local.INFO: TCP Data received {"connection_id":154686,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:34:30] local.INFO: Processing buffer {"connection_id":154686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:34:30] local.INFO: Packet analysis {"connection_id":154686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:34:30] local.INFO: Extracted packet for processing {"connection_id":154686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319058688001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786402874000,"timestamp_ms":1786402874000,"timestamp_seconds":1786402874,"priority":1,"record_length":96,"hex_timestamp":"0000019fede8a290"} 
[2026-08-11 04:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:34: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-08-11 04: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-08-11 04:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:34:30] 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-08-11 04:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319058688001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319058688001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:34:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:34:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319058688001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":154686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:34:30] local.INFO: GPS data processed {"connection_id":154686,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:34:30] local.INFO: Acknowledgment sent {"connection_id":154686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:34:58] local.INFO: TCP Data received {"connection_id":151960,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:34:58] local.INFO: Processing buffer {"connection_id":151960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:34:58] local.INFO: IMEI packet received {"connection_id":151960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":151960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:35:03] local.INFO: TCP Data received {"connection_id":151960,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:35:03] local.INFO: Processing buffer {"connection_id":151960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:35:03] local.INFO: IMEI packet received {"connection_id":151960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":151960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:35:04] local.INFO: TCP Data received {"connection_id":151960,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:35:04] local.INFO: Processing buffer {"connection_id":151960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:35:04] local.INFO: Packet analysis {"connection_id":151960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:35:04] local.INFO: Extracted packet for processing {"connection_id":151960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319058688001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786402874000,"timestamp_ms":1786402874000,"timestamp_seconds":1786402874,"priority":1,"record_length":96,"hex_timestamp":"0000019fede8a290"} 
[2026-08-11 04:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:35:04] 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-08-11 04: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-08-11 04:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:35: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-08-11 04:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319058688001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319058688001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:35:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:35:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319058688001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":151960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:35:04] local.INFO: GPS data processed {"connection_id":151960,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:35:04] local.INFO: Acknowledgment sent {"connection_id":151960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:35:09] local.INFO: TCP Data received {"connection_id":151960,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:35:09] local.INFO: Processing buffer {"connection_id":151960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:35:09] local.INFO: Packet analysis {"connection_id":151960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:35:09] local.INFO: Extracted packet for processing {"connection_id":151960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319058688001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786402874000,"timestamp_ms":1786402874000,"timestamp_seconds":1786402874,"priority":1,"record_length":96,"hex_timestamp":"0000019fede8a290"} 
[2026-08-11 04:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:35: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-08-11 04: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-08-11 04:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:35:09] 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-08-11 04:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319058688001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319058688001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:35:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:35:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319058688001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":151960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:35:09] local.INFO: GPS data processed {"connection_id":151960,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:35:09] local.INFO: Acknowledgment sent {"connection_id":151960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:35:53] local.INFO: TCP Data received {"connection_id":152353,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:35:53] local.INFO: Processing buffer {"connection_id":152353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:35:53] local.INFO: IMEI packet received {"connection_id":152353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":152353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:35:58] local.INFO: TCP Data received {"connection_id":152353,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:35:58] local.INFO: Processing buffer {"connection_id":152353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:35:58] local.INFO: IMEI packet received {"connection_id":152353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":152353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:35:59] local.INFO: TCP Data received {"connection_id":152353,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:35:59] local.INFO: Processing buffer {"connection_id":152353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:35:59] local.INFO: Packet analysis {"connection_id":152353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:35:59] local.INFO: Extracted packet for processing {"connection_id":152353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319058688001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786402874000,"timestamp_ms":1786402874000,"timestamp_seconds":1786402874,"priority":1,"record_length":96,"hex_timestamp":"0000019fede8a290"} 
[2026-08-11 04:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:35: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-08-11 04: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-08-11 04:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:35:59] 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-08-11 04:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319058688001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319058688001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:35:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:35:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319058688001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":152353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:35:59] local.INFO: GPS data processed {"connection_id":152353,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:35:59] local.INFO: Acknowledgment sent {"connection_id":152353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:36:30] local.INFO: TCP Data received {"connection_id":152353,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:36:30] local.INFO: Processing buffer {"connection_id":152353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fede8a290012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:36:30] local.INFO: Packet analysis {"connection_id":152353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:36:30] local.INFO: Extracted packet for processing {"connection_id":152353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fede8"} 
[2026-08-11 04:36:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:36: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-08-11 04:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319058688001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786402874000,"timestamp_ms":1786402874000,"timestamp_seconds":1786402874,"priority":1,"record_length":96,"hex_timestamp":"0000019fede8a290"} 
[2026-08-11 04:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:36: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-08-11 04:36: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-08-11 04:36: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-08-11 04:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:36:30] 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-08-11 04:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319058688001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319058688001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:36:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:36:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319058688001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":152353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:36:30] local.INFO: GPS data processed {"connection_id":152353,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:36:30] local.INFO: Acknowledgment sent {"connection_id":152353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:36:53] local.INFO: TCP Data received {"connection_id":151961,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:36:53] local.INFO: Processing buffer {"connection_id":151961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:36:53] local.INFO: IMEI packet received {"connection_id":151961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":151961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:36:54] local.INFO: TCP Data received {"connection_id":151961,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:36:54] local.INFO: Processing buffer {"connection_id":151961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:36:54] local.INFO: IMEI packet received {"connection_id":151961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":151961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:36:58] local.INFO: TCP Data received {"connection_id":151961,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:36:58] local.INFO: Processing buffer {"connection_id":151961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:36:58] local.INFO: IMEI packet received {"connection_id":151961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":151961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:36:59] local.INFO: TCP Data received {"connection_id":151961,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:36:59] local.INFO: Processing buffer {"connection_id":151961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:36:59] local.INFO: Packet analysis {"connection_id":151961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:36:59] local.INFO: Extracted packet for processing {"connection_id":151961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319135744001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786403175000,"timestamp_ms":1786403175000,"timestamp_seconds":1786403175,"priority":1,"record_length":96,"hex_timestamp":"0000019feded3a58"} 
[2026-08-11 04:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:36:59] 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-08-11 04: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-08-11 04:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:36:59] 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-08-11 04:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319135744001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319135744001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:36:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:36:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319135744001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":151961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:36:59] local.INFO: GPS data processed {"connection_id":151961,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:36:59] local.INFO: Acknowledgment sent {"connection_id":151961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:37:30] local.INFO: TCP Data received {"connection_id":151961,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:37:30] local.INFO: Processing buffer {"connection_id":151961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:37:30] local.INFO: Packet analysis {"connection_id":151961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:37:30] local.INFO: Extracted packet for processing {"connection_id":151961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319135744001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786403175000,"timestamp_ms":1786403175000,"timestamp_seconds":1786403175,"priority":1,"record_length":96,"hex_timestamp":"0000019feded3a58"} 
[2026-08-11 04:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:37:30] 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-08-11 04: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-08-11 04:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:37:30] 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-08-11 04:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319135744001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319135744001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:37:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:37:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319135744001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":151961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:37:30] local.INFO: GPS data processed {"connection_id":151961,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:37:30] local.INFO: Acknowledgment sent {"connection_id":151961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:37:54] local.INFO: TCP Data received {"connection_id":152354,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:37:54] local.INFO: Processing buffer {"connection_id":152354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:37:54] local.INFO: IMEI packet received {"connection_id":152354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":152354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:38:00] local.INFO: TCP Data received {"connection_id":152354,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:38:00] local.INFO: Processing buffer {"connection_id":152354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:38:00] local.INFO: IMEI packet received {"connection_id":152354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":152354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:38:00] local.INFO: TCP Data received {"connection_id":152354,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:38:00] local.INFO: Processing buffer {"connection_id":152354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:38:00] local.INFO: Packet analysis {"connection_id":152354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:38:00] local.INFO: Extracted packet for processing {"connection_id":152354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319135744001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786403175000,"timestamp_ms":1786403175000,"timestamp_seconds":1786403175,"priority":1,"record_length":96,"hex_timestamp":"0000019feded3a58"} 
[2026-08-11 04:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:38:00] 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-08-11 04: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-08-11 04:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:38:00] 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-08-11 04:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319135744001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319135744001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:38:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:38:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319135744001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":152354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:38:00] local.INFO: GPS data processed {"connection_id":152354,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:38:00] local.INFO: Acknowledgment sent {"connection_id":152354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:38:32] local.INFO: TCP Data received {"connection_id":152354,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:38:32] local.INFO: Processing buffer {"connection_id":152354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:38:32] local.INFO: Packet analysis {"connection_id":152354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:38:32] local.INFO: Extracted packet for processing {"connection_id":152354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:38: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-08-11 04:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319135744001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786403175000,"timestamp_ms":1786403175000,"timestamp_seconds":1786403175,"priority":1,"record_length":96,"hex_timestamp":"0000019feded3a58"} 
[2026-08-11 04:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:38: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:38:32] 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-08-11 04:38: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-08-11 04:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:38: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-08-11 04:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319135744001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319135744001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:38:32] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:38:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319135744001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":152354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:38:32] local.INFO: GPS data processed {"connection_id":152354,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:38:32] local.INFO: Acknowledgment sent {"connection_id":152354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:38:53] local.INFO: TCP Data received {"connection_id":153283,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:38:53] local.INFO: Processing buffer {"connection_id":153283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:38:53] local.INFO: IMEI packet received {"connection_id":153283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":153283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:38:58] local.INFO: TCP Data received {"connection_id":153283,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:38:58] local.INFO: Processing buffer {"connection_id":153283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:38:58] local.INFO: IMEI packet received {"connection_id":153283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":153283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:38:59] local.INFO: TCP Data received {"connection_id":153283,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:38:59] local.INFO: Processing buffer {"connection_id":153283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:38:59] local.INFO: Packet analysis {"connection_id":153283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:38:59] local.INFO: Extracted packet for processing {"connection_id":153283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319135744001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786403175000,"timestamp_ms":1786403175000,"timestamp_seconds":1786403175,"priority":1,"record_length":96,"hex_timestamp":"0000019feded3a58"} 
[2026-08-11 04:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:38:59] 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-08-11 04:38: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-08-11 04:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:38:59] 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-08-11 04:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319135744001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319135744001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:38:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:38:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319135744001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":153283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:38:59] local.INFO: GPS data processed {"connection_id":153283,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:38:59] local.INFO: Acknowledgment sent {"connection_id":153283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:39:30] local.INFO: TCP Data received {"connection_id":153283,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:39:30] local.INFO: Processing buffer {"connection_id":153283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:39:30] local.INFO: Packet analysis {"connection_id":153283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:39:30] local.INFO: Extracted packet for processing {"connection_id":153283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:39: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-08-11 04:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319135744001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786403175000,"timestamp_ms":1786403175000,"timestamp_seconds":1786403175,"priority":1,"record_length":96,"hex_timestamp":"0000019feded3a58"} 
[2026-08-11 04:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:39: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:39:30] 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-08-11 04:39: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-08-11 04:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:39:30] 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-08-11 04:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319135744001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319135744001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:39:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:39:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319135744001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":153283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:39:30] local.INFO: GPS data processed {"connection_id":153283,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:39:30] local.INFO: Acknowledgment sent {"connection_id":153283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:39:53] local.INFO: TCP Data received {"connection_id":153284,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:39:53] local.INFO: Processing buffer {"connection_id":153284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:39:53] local.INFO: IMEI packet received {"connection_id":153284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":153284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:39:58] local.INFO: TCP Data received {"connection_id":153284,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:39:58] local.INFO: Processing buffer {"connection_id":153284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:39:58] local.INFO: IMEI packet received {"connection_id":153284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":153284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:39:59] local.INFO: TCP Data received {"connection_id":153284,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:39:59] local.INFO: Processing buffer {"connection_id":153284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:39:59] local.INFO: Packet analysis {"connection_id":153284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:39:59] local.INFO: Extracted packet for processing {"connection_id":153284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:39: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-08-11 04:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319135744001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786403175000,"timestamp_ms":1786403175000,"timestamp_seconds":1786403175,"priority":1,"record_length":96,"hex_timestamp":"0000019feded3a58"} 
[2026-08-11 04:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:39: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:39:59] 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-08-11 04:39: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-08-11 04:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:39:59] 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-08-11 04:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319135744001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319135744001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:39:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:39:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319135744001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":153284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:39:59] local.INFO: GPS data processed {"connection_id":153284,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:39:59] local.INFO: Acknowledgment sent {"connection_id":153284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:40:30] local.INFO: TCP Data received {"connection_id":153284,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:40:30] local.INFO: Processing buffer {"connection_id":153284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:40:30] local.INFO: Packet analysis {"connection_id":153284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:40:30] local.INFO: Extracted packet for processing {"connection_id":153284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:40:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:40: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-08-11 04:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319135744001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786403175000,"timestamp_ms":1786403175000,"timestamp_seconds":1786403175,"priority":1,"record_length":96,"hex_timestamp":"0000019feded3a58"} 
[2026-08-11 04:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:40: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:40:30] 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-08-11 04:40: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-08-11 04:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:40:30] 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-08-11 04:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319135744001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319135744001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:40:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:40:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319135744001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":153284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:40:30] local.INFO: GPS data processed {"connection_id":153284,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:40:30] local.INFO: Acknowledgment sent {"connection_id":153284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:40:58] local.INFO: TCP Data received {"connection_id":153285,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:40:58] local.INFO: Processing buffer {"connection_id":153285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:40:58] local.INFO: IMEI packet received {"connection_id":153285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":153285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:41:03] local.INFO: TCP Data received {"connection_id":153285,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:41:03] local.INFO: Processing buffer {"connection_id":153285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:41:03] local.INFO: IMEI packet received {"connection_id":153285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":153285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:41:04] local.INFO: TCP Data received {"connection_id":153285,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:41:04] local.INFO: Processing buffer {"connection_id":153285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:41:04] local.INFO: Packet analysis {"connection_id":153285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:41:04] local.INFO: Extracted packet for processing {"connection_id":153285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319135744001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786403175000,"timestamp_ms":1786403175000,"timestamp_seconds":1786403175,"priority":1,"record_length":96,"hex_timestamp":"0000019feded3a58"} 
[2026-08-11 04:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:41:04] 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-08-11 04: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-08-11 04:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 04:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319135744001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319135744001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:41:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:41:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319135744001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":153285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:41:04] local.INFO: GPS data processed {"connection_id":153285,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:41:04] local.INFO: Acknowledgment sent {"connection_id":153285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:41:09] local.INFO: TCP Data received {"connection_id":153285,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:41:09] local.INFO: Processing buffer {"connection_id":153285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feded3a58012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:41:09] local.INFO: Packet analysis {"connection_id":153285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:41:09] local.INFO: Extracted packet for processing {"connection_id":153285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feded"} 
[2026-08-11 04:41:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319135744001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786403175000,"timestamp_ms":1786403175000,"timestamp_seconds":1786403175,"priority":1,"record_length":96,"hex_timestamp":"0000019feded3a58"} 
[2026-08-11 04:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:41:09] 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-08-11 04: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-08-11 04:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 04:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319135744001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319135744001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:41:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:41:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319135744001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":153285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:41:09] local.INFO: GPS data processed {"connection_id":153285,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:41:09] local.INFO: Acknowledgment sent {"connection_id":153285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:41:53] local.INFO: TCP Data received {"connection_id":154687,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:41:53] local.INFO: Processing buffer {"connection_id":154687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:41:53] local.INFO: IMEI packet received {"connection_id":154687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":154687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:41:54] local.INFO: TCP Data received {"connection_id":154687,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:41:54] local.INFO: Processing buffer {"connection_id":154687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:41:54] local.INFO: IMEI packet received {"connection_id":154687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":154687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:41:58] local.INFO: TCP Data received {"connection_id":154687,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:41:58] local.INFO: Processing buffer {"connection_id":154687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:41:58] local.INFO: IMEI packet received {"connection_id":154687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":154687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:41:59] local.INFO: TCP Data received {"connection_id":154687,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:41:59] local.INFO: Processing buffer {"connection_id":154687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:41:59] local.INFO: Packet analysis {"connection_id":154687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:41:59] local.INFO: Extracted packet for processing {"connection_id":154687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:41: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-08-11 04:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319212800001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786403476000,"timestamp_ms":1786403476000,"timestamp_seconds":1786403476,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf1d220"} 
[2026-08-11 04:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:41: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-08-11 04:41: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-08-11 04:41: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-08-11 04:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:41:59] 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-08-11 04:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319212800001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319212800001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:41:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:41:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319212800001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":154687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:41:59] local.INFO: GPS data processed {"connection_id":154687,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:41:59] local.INFO: Acknowledgment sent {"connection_id":154687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:42:30] local.INFO: TCP Data received {"connection_id":154687,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:42:30] local.INFO: Processing buffer {"connection_id":154687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:42:30] local.INFO: Packet analysis {"connection_id":154687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:42:30] local.INFO: Extracted packet for processing {"connection_id":154687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:42: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-08-11 04:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319212800001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786403476000,"timestamp_ms":1786403476000,"timestamp_seconds":1786403476,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf1d220"} 
[2026-08-11 04:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:42: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-08-11 04:42: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-08-11 04:42: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-08-11 04:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:42:30] 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-08-11 04:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319212800001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319212800001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:42:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:42:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319212800001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":154687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:42:30] local.INFO: GPS data processed {"connection_id":154687,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:42:30] local.INFO: Acknowledgment sent {"connection_id":154687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:42:54] local.INFO: TCP Data received {"connection_id":153286,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:42:54] local.INFO: Processing buffer {"connection_id":153286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:42:54] local.INFO: IMEI packet received {"connection_id":153286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":153286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:42:58] local.INFO: TCP Data received {"connection_id":153286,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:42:58] local.INFO: Processing buffer {"connection_id":153286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:42:58] local.INFO: IMEI packet received {"connection_id":153286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":153286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:42:59] local.INFO: TCP Data received {"connection_id":153286,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:42:59] local.INFO: Processing buffer {"connection_id":153286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:42:59] local.INFO: Packet analysis {"connection_id":153286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:42:59] local.INFO: Extracted packet for processing {"connection_id":153286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319212800001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786403476000,"timestamp_ms":1786403476000,"timestamp_seconds":1786403476,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf1d220"} 
[2026-08-11 04:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:42: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-08-11 04: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-08-11 04:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:42:59] 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-08-11 04:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319212800001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319212800001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:42:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:42:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319212800001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":153286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:42:59] local.INFO: GPS data processed {"connection_id":153286,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:42:59] local.INFO: Acknowledgment sent {"connection_id":153286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:43:30] local.INFO: TCP Data received {"connection_id":153286,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:43:30] local.INFO: Processing buffer {"connection_id":153286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:43:30] local.INFO: Packet analysis {"connection_id":153286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:43:30] local.INFO: Extracted packet for processing {"connection_id":153286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319212800001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786403476000,"timestamp_ms":1786403476000,"timestamp_seconds":1786403476,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf1d220"} 
[2026-08-11 04:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:43: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-08-11 04: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-08-11 04:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:43:30] 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-08-11 04:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319212800001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319212800001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:43:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:43:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319212800001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":153286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:43:30] local.INFO: GPS data processed {"connection_id":153286,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:43:30] local.INFO: Acknowledgment sent {"connection_id":153286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:43:53] local.INFO: TCP Data received {"connection_id":152355,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:43:53] local.INFO: Processing buffer {"connection_id":152355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:43:53] local.INFO: IMEI packet received {"connection_id":152355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":152355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:43:58] local.INFO: TCP Data received {"connection_id":152355,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:43:58] local.INFO: Processing buffer {"connection_id":152355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:43:58] local.INFO: IMEI packet received {"connection_id":152355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":152355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:43:59] local.INFO: TCP Data received {"connection_id":152355,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:43:59] local.INFO: Processing buffer {"connection_id":152355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:43:59] local.INFO: Packet analysis {"connection_id":152355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:43:59] local.INFO: Extracted packet for processing {"connection_id":152355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:43:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319212800001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786403476000,"timestamp_ms":1786403476000,"timestamp_seconds":1786403476,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf1d220"} 
[2026-08-11 04:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:43: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-08-11 04: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-08-11 04:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:43:59] 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-08-11 04:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319212800001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319212800001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:43:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:43:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319212800001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":152355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:43:59] local.INFO: GPS data processed {"connection_id":152355,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:43:59] local.INFO: Acknowledgment sent {"connection_id":152355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:44:30] local.INFO: TCP Data received {"connection_id":152355,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:44:30] local.INFO: Processing buffer {"connection_id":152355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:44:30] local.INFO: Packet analysis {"connection_id":152355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:44:30] local.INFO: Extracted packet for processing {"connection_id":152355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:44:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319212800001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786403476000,"timestamp_ms":1786403476000,"timestamp_seconds":1786403476,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf1d220"} 
[2026-08-11 04:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:44: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-08-11 04:44: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-08-11 04:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:44:30] 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-08-11 04:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319212800001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319212800001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:44:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:44:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319212800001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":152355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:44:30] local.INFO: GPS data processed {"connection_id":152355,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:44:30] local.INFO: Acknowledgment sent {"connection_id":152355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:44:53] local.INFO: TCP Data received {"connection_id":152356,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:44:53] local.INFO: Processing buffer {"connection_id":152356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:44:53] local.INFO: IMEI packet received {"connection_id":152356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":152356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:44:58] local.INFO: TCP Data received {"connection_id":152356,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:44:58] local.INFO: Processing buffer {"connection_id":152356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:44:58] local.INFO: IMEI packet received {"connection_id":152356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":152356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:45:02] local.INFO: TCP Data received {"connection_id":152356,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:45:02] local.INFO: Processing buffer {"connection_id":152356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:45:02] local.INFO: Packet analysis {"connection_id":152356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:45:02] local.INFO: Extracted packet for processing {"connection_id":152356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319212800001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786403476000,"timestamp_ms":1786403476000,"timestamp_seconds":1786403476,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf1d220"} 
[2026-08-11 04:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:45:02] 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-08-11 04: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-08-11 04:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":152356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":152356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":152356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:45:02] 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-08-11 04:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319212800001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319212800001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:45:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:45:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319212800001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":152356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:45:02] local.INFO: GPS data processed {"connection_id":152356,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:45:02] local.INFO: Acknowledgment sent {"connection_id":152356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:45:33] local.INFO: TCP Data received {"connection_id":152356,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:45:33] local.INFO: Processing buffer {"connection_id":152356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:45:33] local.INFO: Packet analysis {"connection_id":152356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:45:33] local.INFO: Extracted packet for processing {"connection_id":152356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:45: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-08-11 04:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319212800001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786403476000,"timestamp_ms":1786403476000,"timestamp_seconds":1786403476,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf1d220"} 
[2026-08-11 04:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:45: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:45:33] 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-08-11 04:45: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-08-11 04:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:45:33] 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-08-11 04:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319212800001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319212800001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:45:33] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:45:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319212800001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":152356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:45:33] local.INFO: GPS data processed {"connection_id":152356,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:45:33] local.INFO: Acknowledgment sent {"connection_id":152356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:45:58] local.INFO: TCP Data received {"connection_id":152357,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:45:58] local.INFO: Processing buffer {"connection_id":152357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:45:58] local.INFO: IMEI packet received {"connection_id":152357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":152357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:46:03] local.INFO: TCP Data received {"connection_id":152357,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:46:03] local.INFO: Processing buffer {"connection_id":152357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:46:03] local.INFO: IMEI packet received {"connection_id":152357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":152357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:46:04] local.INFO: TCP Data received {"connection_id":152357,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:46:04] local.INFO: Processing buffer {"connection_id":152357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:46:04] local.INFO: Packet analysis {"connection_id":152357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:46:04] local.INFO: Extracted packet for processing {"connection_id":152357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319212800001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786403476000,"timestamp_ms":1786403476000,"timestamp_seconds":1786403476,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf1d220"} 
[2026-08-11 04:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:46:04] 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-08-11 04: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-08-11 04:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:46:04] 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-08-11 04:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319212800001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319212800001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:46:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:46:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319212800001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":152357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:46:04] local.INFO: GPS data processed {"connection_id":152357,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:46:04] local.INFO: Acknowledgment sent {"connection_id":152357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:46:09] local.INFO: TCP Data received {"connection_id":152357,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:46:09] local.INFO: Processing buffer {"connection_id":152357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf1d220012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:46:09] local.INFO: Packet analysis {"connection_id":152357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:46:09] local.INFO: Extracted packet for processing {"connection_id":152357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf1"} 
[2026-08-11 04:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319212800001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786403476000,"timestamp_ms":1786403476000,"timestamp_seconds":1786403476,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf1d220"} 
[2026-08-11 04:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 04:46: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-08-11 04: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-08-11 04:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:46:09] 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-08-11 04:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319212800001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319212800001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:46:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:46:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319212800001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":152357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:46:09] local.INFO: GPS data processed {"connection_id":152357,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:46:09] local.INFO: Acknowledgment sent {"connection_id":152357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:46:53] local.INFO: TCP Data received {"connection_id":151962,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:46:53] local.INFO: Processing buffer {"connection_id":151962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:46:53] local.INFO: IMEI packet received {"connection_id":151962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":151962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:46:56] local.INFO: TCP Data received {"connection_id":151962,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:46:56] local.INFO: Processing buffer {"connection_id":151962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:46:56] local.INFO: IMEI packet received {"connection_id":151962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":151962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:46:56] local.INFO: TCP Data received {"connection_id":151962,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:46:56] local.INFO: Processing buffer {"connection_id":151962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:46:56] local.INFO: Packet analysis {"connection_id":151962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:46:56] local.INFO: Extracted packet for processing {"connection_id":151962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":53,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319289856001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786403777000,"timestamp_ms":1786403777000,"timestamp_seconds":1786403777,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf669e8"} 
[2026-08-11 04:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 04:46:56] 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-08-11 04: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-08-11 04:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:46:56] 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-08-11 04:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319289856001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319289856001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:46:56] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:46:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319289856001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":151962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:46:56] local.INFO: GPS data processed {"connection_id":151962,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:46:56] local.INFO: Acknowledgment sent {"connection_id":151962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:47:27] local.INFO: TCP Data received {"connection_id":151962,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:47:27] local.INFO: Processing buffer {"connection_id":151962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:47:27] local.INFO: Packet analysis {"connection_id":151962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:47:27] local.INFO: Extracted packet for processing {"connection_id":151962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":53,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319289856001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786403777000,"timestamp_ms":1786403777000,"timestamp_seconds":1786403777,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf669e8"} 
[2026-08-11 04:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 04:47:27] 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-08-11 04: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-08-11 04:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":151962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":151962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":151962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:47:27] 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-08-11 04:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319289856001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319289856001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:47:27] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:47:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319289856001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":151962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:47:27] local.INFO: GPS data processed {"connection_id":151962,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:47:27] local.INFO: Acknowledgment sent {"connection_id":151962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:47:54] local.INFO: TCP Data received {"connection_id":153287,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:47:54] local.INFO: Processing buffer {"connection_id":153287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:47:54] local.INFO: IMEI packet received {"connection_id":153287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":153287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:47:58] local.INFO: TCP Data received {"connection_id":153287,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:47:58] local.INFO: Processing buffer {"connection_id":153287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:47:58] local.INFO: IMEI packet received {"connection_id":153287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":153287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:47:59] local.INFO: TCP Data received {"connection_id":153287,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:47:59] local.INFO: Processing buffer {"connection_id":153287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:47:59] local.INFO: Packet analysis {"connection_id":153287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:47:59] local.INFO: Extracted packet for processing {"connection_id":153287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":53,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319289856001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786403777000,"timestamp_ms":1786403777000,"timestamp_seconds":1786403777,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf669e8"} 
[2026-08-11 04:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 04:47:59] 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-08-11 04: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-08-11 04:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:47:59] 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-08-11 04:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319289856001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319289856001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:47:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:47:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319289856001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":153287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:47:59] local.INFO: GPS data processed {"connection_id":153287,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:47:59] local.INFO: Acknowledgment sent {"connection_id":153287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:48:30] local.INFO: TCP Data received {"connection_id":153287,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:48:30] local.INFO: Processing buffer {"connection_id":153287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:48:30] local.INFO: Packet analysis {"connection_id":153287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:48:30] local.INFO: Extracted packet for processing {"connection_id":153287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:48:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":53,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:48: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-08-11 04:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319289856001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786403777000,"timestamp_ms":1786403777000,"timestamp_seconds":1786403777,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf669e8"} 
[2026-08-11 04:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:48: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":112,"data_length":795,"current_offset":136} 
[2026-08-11 04:48:30] 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-08-11 04:48: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-08-11 04:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:48:30] 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-08-11 04:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319289856001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319289856001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:48:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:48:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319289856001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":153287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:48:30] local.INFO: GPS data processed {"connection_id":153287,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:48:30] local.INFO: Acknowledgment sent {"connection_id":153287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:48:53] local.INFO: TCP Data received {"connection_id":151963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:48:53] local.INFO: Processing buffer {"connection_id":151963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:48:53] local.INFO: IMEI packet received {"connection_id":151963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":151963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:48:58] local.INFO: TCP Data received {"connection_id":151963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:48:58] local.INFO: Processing buffer {"connection_id":151963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:48:58] local.INFO: IMEI packet received {"connection_id":151963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":151963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:48:59] local.INFO: TCP Data received {"connection_id":151963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:48:59] local.INFO: Processing buffer {"connection_id":151963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:48:59] local.INFO: Packet analysis {"connection_id":151963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:48:59] local.INFO: Extracted packet for processing {"connection_id":151963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":53,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319289856001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786403777000,"timestamp_ms":1786403777000,"timestamp_seconds":1786403777,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf669e8"} 
[2026-08-11 04:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 04:48:59] 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-08-11 04: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-08-11 04:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 04:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319289856001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319289856001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:48:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:48:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319289856001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":151963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:48:59] local.INFO: GPS data processed {"connection_id":151963,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:48:59] local.INFO: Acknowledgment sent {"connection_id":151963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:49:30] local.INFO: TCP Data received {"connection_id":151963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:49:30] local.INFO: Processing buffer {"connection_id":151963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:49:30] local.INFO: Packet analysis {"connection_id":151963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:49:30] local.INFO: Extracted packet for processing {"connection_id":151963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":53,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:49: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-08-11 04:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319289856001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786403777000,"timestamp_ms":1786403777000,"timestamp_seconds":1786403777,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf669e8"} 
[2026-08-11 04:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:49: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":112,"data_length":795,"current_offset":136} 
[2026-08-11 04:49:30] 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-08-11 04:49: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-08-11 04:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 04:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319289856001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319289856001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:49:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:49:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319289856001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":151963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:49:30] local.INFO: GPS data processed {"connection_id":151963,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:49:30] local.INFO: Acknowledgment sent {"connection_id":151963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:49:53] local.INFO: TCP Data received {"connection_id":153288,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:49:53] local.INFO: Processing buffer {"connection_id":153288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:49:53] local.INFO: IMEI packet received {"connection_id":153288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":153288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:49:58] local.INFO: TCP Data received {"connection_id":153288,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:49:58] local.INFO: Processing buffer {"connection_id":153288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:49:58] local.INFO: IMEI packet received {"connection_id":153288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":153288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:49:59] local.INFO: TCP Data received {"connection_id":153288,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:49:59] local.INFO: Processing buffer {"connection_id":153288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:49:59] local.INFO: Packet analysis {"connection_id":153288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:49:59] local.INFO: Extracted packet for processing {"connection_id":153288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":53,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319289856001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786403777000,"timestamp_ms":1786403777000,"timestamp_seconds":1786403777,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf669e8"} 
[2026-08-11 04:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 04:49:59] 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-08-11 04: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-08-11 04:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:49:59] 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-08-11 04:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319289856001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319289856001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:49:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:49:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319289856001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":153288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:49:59] local.INFO: GPS data processed {"connection_id":153288,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:49:59] local.INFO: Acknowledgment sent {"connection_id":153288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:50:30] local.INFO: TCP Data received {"connection_id":153288,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:50:30] local.INFO: Processing buffer {"connection_id":153288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:50:30] local.INFO: Packet analysis {"connection_id":153288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:50:30] local.INFO: Extracted packet for processing {"connection_id":153288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":53,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319289856001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786403777000,"timestamp_ms":1786403777000,"timestamp_seconds":1786403777,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf669e8"} 
[2026-08-11 04:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 04:50:30] 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-08-11 04: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-08-11 04:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:50:30] 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-08-11 04:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319289856001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319289856001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:50:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:50:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319289856001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":153288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:50:30] local.INFO: GPS data processed {"connection_id":153288,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:50:30] local.INFO: Acknowledgment sent {"connection_id":153288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:50:53] local.INFO: TCP Data received {"connection_id":151964,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:50:53] local.INFO: Processing buffer {"connection_id":151964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:50:53] local.INFO: IMEI packet received {"connection_id":151964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":151964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:50:58] local.INFO: TCP Data received {"connection_id":151964,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:50:58] local.INFO: Processing buffer {"connection_id":151964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:50:58] local.INFO: IMEI packet received {"connection_id":151964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":151964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:50:59] local.INFO: TCP Data received {"connection_id":151964,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:50:59] local.INFO: Processing buffer {"connection_id":151964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:50:59] local.INFO: Packet analysis {"connection_id":151964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:50:59] local.INFO: Extracted packet for processing {"connection_id":151964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":53,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319289856001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786403777000,"timestamp_ms":1786403777000,"timestamp_seconds":1786403777,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf669e8"} 
[2026-08-11 04:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 04:50:59] 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-08-11 04: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-08-11 04:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:50:59] 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-08-11 04:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319289856001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319289856001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:50:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:50:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319289856001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":151964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:50:59] local.INFO: GPS data processed {"connection_id":151964,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:50:59] local.INFO: Acknowledgment sent {"connection_id":151964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:51:30] local.INFO: TCP Data received {"connection_id":151964,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:51:30] local.INFO: Processing buffer {"connection_id":151964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedf669e8012d840d40061d6f20000c006f35..."} 
[2026-08-11 04:51:30] local.INFO: Packet analysis {"connection_id":151964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:51:30] local.INFO: Extracted packet for processing {"connection_id":151964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedf6"} 
[2026-08-11 04:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":53,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319289856001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786403777000,"timestamp_ms":1786403777000,"timestamp_seconds":1786403777,"priority":1,"record_length":96,"hex_timestamp":"0000019fedf669e8"} 
[2026-08-11 04:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 04:51:30] 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-08-11 04: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-08-11 04:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:51:30] 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-08-11 04:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319289856001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319289856001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:51:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:51:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319289856001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":151964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:51:30] local.INFO: GPS data processed {"connection_id":151964,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:51:30] local.INFO: Acknowledgment sent {"connection_id":151964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:51:56] local.INFO: TCP Data received {"connection_id":153289,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:51:56] local.INFO: Processing buffer {"connection_id":153289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:51:56] local.INFO: IMEI packet received {"connection_id":153289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":153289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:51:58] local.INFO: TCP Data received {"connection_id":153289,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:51:58] local.INFO: Processing buffer {"connection_id":153289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:51:58] local.INFO: IMEI packet received {"connection_id":153289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":153289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:52:03] local.INFO: TCP Data received {"connection_id":153289,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:52:03] local.INFO: Processing buffer {"connection_id":153289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:52:03] local.INFO: IMEI packet received {"connection_id":153289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":153289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:52:04] local.INFO: TCP Data received {"connection_id":153289,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:52:04] local.INFO: Processing buffer {"connection_id":153289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:52:04] local.INFO: Packet analysis {"connection_id":153289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:52:04] local.INFO: Extracted packet for processing {"connection_id":153289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319366912001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786404078000,"timestamp_ms":1786404078000,"timestamp_seconds":1786404078,"priority":1,"record_length":96,"hex_timestamp":"0000019fedfb01b0"} 
[2026-08-11 04:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:52:04] 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-08-11 04: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-08-11 04:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:52: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-08-11 04:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319366912001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319366912001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:52:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:52:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319366912001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":153289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:52:04] local.INFO: GPS data processed {"connection_id":153289,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:52:04] local.INFO: Acknowledgment sent {"connection_id":153289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:52:35] local.INFO: TCP Data received {"connection_id":153289,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:52:35] local.INFO: Processing buffer {"connection_id":153289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:52:35] local.INFO: Packet analysis {"connection_id":153289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:52:35] local.INFO: Extracted packet for processing {"connection_id":153289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:52:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319366912001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786404078000,"timestamp_ms":1786404078000,"timestamp_seconds":1786404078,"priority":1,"record_length":96,"hex_timestamp":"0000019fedfb01b0"} 
[2026-08-11 04:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:52:35] 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-08-11 04: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-08-11 04:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04: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-08-11 04:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319366912001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319366912001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:52:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:52:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319366912001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":153289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:52:35] local.INFO: GPS data processed {"connection_id":153289,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:52:35] local.INFO: Acknowledgment sent {"connection_id":153289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:52:53] local.INFO: TCP Data received {"connection_id":152358,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:52:53] local.INFO: Processing buffer {"connection_id":152358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:52:53] local.INFO: IMEI packet received {"connection_id":152358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":152358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:52:58] local.INFO: TCP Data received {"connection_id":152358,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:52:58] local.INFO: Processing buffer {"connection_id":152358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:52:58] local.INFO: IMEI packet received {"connection_id":152358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":152358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:52:59] local.INFO: TCP Data received {"connection_id":152358,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:52:59] local.INFO: Processing buffer {"connection_id":152358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:52:59] local.INFO: Packet analysis {"connection_id":152358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:52:59] local.INFO: Extracted packet for processing {"connection_id":152358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319366912001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404078000,"timestamp_ms":1786404078000,"timestamp_seconds":1786404078,"priority":1,"record_length":96,"hex_timestamp":"0000019fedfb01b0"} 
[2026-08-11 04:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:52:59] 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-08-11 04: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-08-11 04:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 04:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319366912001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319366912001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:52:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:52:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319366912001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":152358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:52:59] local.INFO: GPS data processed {"connection_id":152358,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:52:59] local.INFO: Acknowledgment sent {"connection_id":152358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:53:30] local.INFO: TCP Data received {"connection_id":152358,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:53:30] local.INFO: Processing buffer {"connection_id":152358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:53:30] local.INFO: Packet analysis {"connection_id":152358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:53:30] local.INFO: Extracted packet for processing {"connection_id":152358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319366912001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786404078000,"timestamp_ms":1786404078000,"timestamp_seconds":1786404078,"priority":1,"record_length":96,"hex_timestamp":"0000019fedfb01b0"} 
[2026-08-11 04:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:53:30] 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-08-11 04: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-08-11 04:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 04:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319366912001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319366912001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:53:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:53:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319366912001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":152358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:53:30] local.INFO: GPS data processed {"connection_id":152358,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:53:30] local.INFO: Acknowledgment sent {"connection_id":152358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:53:53] local.INFO: TCP Data received {"connection_id":154688,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:53:53] local.INFO: Processing buffer {"connection_id":154688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:53:53] local.INFO: IMEI packet received {"connection_id":154688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":154688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:53:58] local.INFO: TCP Data received {"connection_id":154688,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:53:58] local.INFO: Processing buffer {"connection_id":154688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:53:58] local.INFO: IMEI packet received {"connection_id":154688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":154688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:53:59] local.INFO: TCP Data received {"connection_id":154688,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:53:59] local.INFO: Processing buffer {"connection_id":154688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:53:59] local.INFO: Packet analysis {"connection_id":154688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:53:59] local.INFO: Extracted packet for processing {"connection_id":154688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:53:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:53: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-08-11 04:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319366912001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404078000,"timestamp_ms":1786404078000,"timestamp_seconds":1786404078,"priority":1,"record_length":96,"hex_timestamp":"0000019fedfb01b0"} 
[2026-08-11 04:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:53: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:53:59] 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-08-11 04:53: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-08-11 04:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:53:59] 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-08-11 04:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319366912001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319366912001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:53:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:53:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319366912001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":154688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:53:59] local.INFO: GPS data processed {"connection_id":154688,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:53:59] local.INFO: Acknowledgment sent {"connection_id":154688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:54:30] local.INFO: TCP Data received {"connection_id":154688,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:54:30] local.INFO: Processing buffer {"connection_id":154688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:54:30] local.INFO: Packet analysis {"connection_id":154688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:54:30] local.INFO: Extracted packet for processing {"connection_id":154688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:54:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319366912001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786404078000,"timestamp_ms":1786404078000,"timestamp_seconds":1786404078,"priority":1,"record_length":96,"hex_timestamp":"0000019fedfb01b0"} 
[2026-08-11 04:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:54:30] 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-08-11 04: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-08-11 04:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:54:30] 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-08-11 04:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319366912001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319366912001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:54:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:54:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319366912001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":154688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:54:30] local.INFO: GPS data processed {"connection_id":154688,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:54:30] local.INFO: Acknowledgment sent {"connection_id":154688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:54:53] local.INFO: TCP Data received {"connection_id":153290,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:54:54] local.INFO: Processing buffer {"connection_id":153290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:54:54] local.INFO: IMEI packet received {"connection_id":153290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":153290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:54:58] local.INFO: TCP Data received {"connection_id":153290,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:54:58] local.INFO: Processing buffer {"connection_id":153290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:54:58] local.INFO: IMEI packet received {"connection_id":153290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":153290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:54:59] local.INFO: TCP Data received {"connection_id":153290,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:54:59] local.INFO: Processing buffer {"connection_id":153290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:54:59] local.INFO: Packet analysis {"connection_id":153290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:54:59] local.INFO: Extracted packet for processing {"connection_id":153290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319366912001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404078000,"timestamp_ms":1786404078000,"timestamp_seconds":1786404078,"priority":1,"record_length":96,"hex_timestamp":"0000019fedfb01b0"} 
[2026-08-11 04:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:54:59] 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-08-11 04: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-08-11 04:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:54:59] 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-08-11 04:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319366912001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319366912001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:54:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:54:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319366912001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":153290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:54:59] local.INFO: GPS data processed {"connection_id":153290,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:54:59] local.INFO: Acknowledgment sent {"connection_id":153290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:55:30] local.INFO: TCP Data received {"connection_id":153290,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:55:30] local.INFO: Processing buffer {"connection_id":153290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:55:30] local.INFO: Packet analysis {"connection_id":153290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:55:30] local.INFO: Extracted packet for processing {"connection_id":153290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:55:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319366912001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786404078000,"timestamp_ms":1786404078000,"timestamp_seconds":1786404078,"priority":1,"record_length":96,"hex_timestamp":"0000019fedfb01b0"} 
[2026-08-11 04:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:55:30] 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-08-11 04: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-08-11 04:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:55:30] 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-08-11 04:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319366912001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319366912001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:55:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:55:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319366912001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":153290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:55:30] local.INFO: GPS data processed {"connection_id":153290,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:55:30] local.INFO: Acknowledgment sent {"connection_id":153290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:55:54] local.INFO: TCP Data received {"connection_id":152359,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:55:54] local.INFO: Processing buffer {"connection_id":152359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:55:54] local.INFO: IMEI packet received {"connection_id":152359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":152359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:55:58] local.INFO: TCP Data received {"connection_id":152359,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:55:58] local.INFO: Processing buffer {"connection_id":152359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:55:58] local.INFO: IMEI packet received {"connection_id":152359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":152359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:55:59] local.INFO: TCP Data received {"connection_id":152359,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:55:59] local.INFO: Processing buffer {"connection_id":152359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:55:59] local.INFO: Packet analysis {"connection_id":152359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:55:59] local.INFO: Extracted packet for processing {"connection_id":152359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:55:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319366912001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404078000,"timestamp_ms":1786404078000,"timestamp_seconds":1786404078,"priority":1,"record_length":96,"hex_timestamp":"0000019fedfb01b0"} 
[2026-08-11 04:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:55:59] 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-08-11 04: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-08-11 04:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:55:59] 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-08-11 04:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319366912001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319366912001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:55:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:55:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319366912001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":152359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:55:59] local.INFO: GPS data processed {"connection_id":152359,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:55:59] local.INFO: Acknowledgment sent {"connection_id":152359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:56:30] local.INFO: TCP Data received {"connection_id":152359,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:56:30] local.INFO: Processing buffer {"connection_id":152359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedfb01b0012d840d40061d6f20000c006f34..."} 
[2026-08-11 04:56:30] local.INFO: Packet analysis {"connection_id":152359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:56:30] local.INFO: Extracted packet for processing {"connection_id":152359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedfb"} 
[2026-08-11 04:56:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:56: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-08-11 04:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319366912001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786404078000,"timestamp_ms":1786404078000,"timestamp_seconds":1786404078,"priority":1,"record_length":96,"hex_timestamp":"0000019fedfb01b0"} 
[2026-08-11 04:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:56: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 04:56:30] 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-08-11 04:56: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-08-11 04:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:56:30] 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-08-11 04:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319366912001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319366912001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:56:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:56:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319366912001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":152359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:56:30] local.INFO: GPS data processed {"connection_id":152359,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:56:30] local.INFO: Acknowledgment sent {"connection_id":152359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:56:53] local.INFO: TCP Data received {"connection_id":151965,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:56:53] local.INFO: Processing buffer {"connection_id":151965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:56:53] local.INFO: IMEI packet received {"connection_id":151965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":151965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:56:57] local.INFO: TCP Data received {"connection_id":151965,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:56:57] local.INFO: Processing buffer {"connection_id":151965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:56:57] local.INFO: IMEI packet received {"connection_id":151965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":151965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:56:58] local.INFO: TCP Data received {"connection_id":151965,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:56:58] local.INFO: Processing buffer {"connection_id":151965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:56:58] local.INFO: IMEI packet received {"connection_id":151965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":151965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:56:59] local.INFO: TCP Data received {"connection_id":151965,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:56:59] local.INFO: Processing buffer {"connection_id":151965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:56:59] local.INFO: Packet analysis {"connection_id":151965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 04:56:59] local.INFO: Extracted packet for processing {"connection_id":151965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 04:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319443968001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404379000,"timestamp_ms":1786404379000,"timestamp_seconds":1786404379,"priority":1,"record_length":96,"hex_timestamp":"0000019fedff9978"} 
[2026-08-11 04:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 04:56:59] 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-08-11 04: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-08-11 04:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:56:59] 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-08-11 04:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319443968001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319443968001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:56:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:56:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319443968001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":151965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:56:59] local.INFO: GPS data processed {"connection_id":151965,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:56:59] local.INFO: Acknowledgment sent {"connection_id":151965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:57:04] local.INFO: TCP Data received {"connection_id":151965,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:57:04] local.INFO: Processing buffer {"connection_id":151965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:57:04] local.INFO: Packet analysis {"connection_id":151965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 04:57:04] local.INFO: Extracted packet for processing {"connection_id":151965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 04:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319443968001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786404379000,"timestamp_ms":1786404379000,"timestamp_seconds":1786404379,"priority":1,"record_length":96,"hex_timestamp":"0000019fedff9978"} 
[2026-08-11 04:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 04:57: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-08-11 04: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-08-11 04:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:57:04] 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-08-11 04:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319443968001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319443968001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:57:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:57:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319443968001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":151965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:57:04] local.INFO: GPS data processed {"connection_id":151965,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:57:04] local.INFO: Acknowledgment sent {"connection_id":151965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:57:35] local.INFO: TCP Data received {"connection_id":151965,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:57:35] local.INFO: Processing buffer {"connection_id":151965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:57:35] local.INFO: Packet analysis {"connection_id":151965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 04:57:35] local.INFO: Extracted packet for processing {"connection_id":151965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 04:57:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319443968001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786404379000,"timestamp_ms":1786404379000,"timestamp_seconds":1786404379,"priority":1,"record_length":96,"hex_timestamp":"0000019fedff9978"} 
[2026-08-11 04:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 04:57: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-08-11 04: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-08-11 04:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:57:35] 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-08-11 04:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319443968001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319443968001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:57:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:57:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319443968001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":151965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:57:35] local.INFO: GPS data processed {"connection_id":151965,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:57:35] local.INFO: Acknowledgment sent {"connection_id":151965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:57:53] local.INFO: TCP Data received {"connection_id":154689,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:57:53] local.INFO: Processing buffer {"connection_id":154689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:57:53] local.INFO: IMEI packet received {"connection_id":154689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":154689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:57:58] local.INFO: TCP Data received {"connection_id":154689,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:57:58] local.INFO: Processing buffer {"connection_id":154689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:57:58] local.INFO: IMEI packet received {"connection_id":154689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":154689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:57:59] local.INFO: TCP Data received {"connection_id":154689,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:57:59] local.INFO: Processing buffer {"connection_id":154689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:57:59] local.INFO: Packet analysis {"connection_id":154689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 04:57:59] local.INFO: Extracted packet for processing {"connection_id":154689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 04:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319443968001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404379000,"timestamp_ms":1786404379000,"timestamp_seconds":1786404379,"priority":1,"record_length":96,"hex_timestamp":"0000019fedff9978"} 
[2026-08-11 04:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 04:57:59] 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-08-11 04:57: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-08-11 04:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:57:59] 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-08-11 04:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319443968001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319443968001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:57:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:57:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319443968001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":154689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:57:59] local.INFO: GPS data processed {"connection_id":154689,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:57:59] local.INFO: Acknowledgment sent {"connection_id":154689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:58:30] local.INFO: TCP Data received {"connection_id":154689,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:58:30] local.INFO: Processing buffer {"connection_id":154689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:58:30] local.INFO: Packet analysis {"connection_id":154689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 04:58:30] local.INFO: Extracted packet for processing {"connection_id":154689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 04:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319443968001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786404379000,"timestamp_ms":1786404379000,"timestamp_seconds":1786404379,"priority":1,"record_length":96,"hex_timestamp":"0000019fedff9978"} 
[2026-08-11 04:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 04:58:30] 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-08-11 04: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-08-11 04:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:58:30] 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-08-11 04:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319443968001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319443968001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:58:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:58:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319443968001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":154689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:58:30] local.INFO: GPS data processed {"connection_id":154689,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:58:30] local.INFO: Acknowledgment sent {"connection_id":154689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:58:53] local.INFO: TCP Data received {"connection_id":151966,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:58:53] local.INFO: Processing buffer {"connection_id":151966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:58:53] local.INFO: IMEI packet received {"connection_id":151966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":151966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:58:58] local.INFO: TCP Data received {"connection_id":151966,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:58:58] local.INFO: Processing buffer {"connection_id":151966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:58:58] local.INFO: IMEI packet received {"connection_id":151966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":151966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:58:59] local.INFO: TCP Data received {"connection_id":151966,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:58:59] local.INFO: Processing buffer {"connection_id":151966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:58:59] local.INFO: Packet analysis {"connection_id":151966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 04:58:59] local.INFO: Extracted packet for processing {"connection_id":151966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 04:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:58: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-08-11 04:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319443968001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404379000,"timestamp_ms":1786404379000,"timestamp_seconds":1786404379,"priority":1,"record_length":96,"hex_timestamp":"0000019fedff9978"} 
[2026-08-11 04:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:58: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 04:58:59] 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-08-11 04:58: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-08-11 04:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:58:59] 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-08-11 04:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319443968001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319443968001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:58:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:58:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319443968001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":151966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:58:59] local.INFO: GPS data processed {"connection_id":151966,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:58:59] local.INFO: Acknowledgment sent {"connection_id":151966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:59:30] local.INFO: TCP Data received {"connection_id":151966,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:59:30] local.INFO: Processing buffer {"connection_id":151966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:59:30] local.INFO: Packet analysis {"connection_id":151966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 04:59:30] local.INFO: Extracted packet for processing {"connection_id":151966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 04:59:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04:59: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-08-11 04:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319443968001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786404379000,"timestamp_ms":1786404379000,"timestamp_seconds":1786404379,"priority":1,"record_length":96,"hex_timestamp":"0000019fedff9978"} 
[2026-08-11 04:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04:59: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 04:59:30] 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-08-11 04:59: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-08-11 04:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:59:30] 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-08-11 04:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319443968001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319443968001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:59:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:59:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319443968001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":151966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:59:30] local.INFO: GPS data processed {"connection_id":151966,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:59:30] local.INFO: Acknowledgment sent {"connection_id":151966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 04:59:54] local.INFO: TCP Data received {"connection_id":153291,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:59:54] local.INFO: Processing buffer {"connection_id":153291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:59:54] local.INFO: IMEI packet received {"connection_id":153291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 04:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":153291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 04:59:58] local.INFO: TCP Data received {"connection_id":153291,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:59:58] local.INFO: Processing buffer {"connection_id":153291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 04:59:58] local.INFO: IMEI packet received {"connection_id":153291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 04:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":153291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 04:59:59] local.INFO: TCP Data received {"connection_id":153291,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:59:59] local.INFO: Processing buffer {"connection_id":153291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 04:59:59] local.INFO: Packet analysis {"connection_id":153291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 04:59:59] local.INFO: Extracted packet for processing {"connection_id":153291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 04:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 04: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-08-11 04:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319443968001,"note":"Value kept but may cause issues"} 
[2026-08-11 04:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 04:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 04:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 04:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404379000,"timestamp_ms":1786404379000,"timestamp_seconds":1786404379,"priority":1,"record_length":96,"hex_timestamp":"0000019fedff9978"} 
[2026-08-11 04:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 04:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 04:59:59] 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-08-11 04: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-08-11 04:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 04:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 04:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 04:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 04:59:59] 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-08-11 04:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 04:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 04:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319443968001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 04:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 04:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 04:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319443968001,"description":"Unknown IO ID 0"} 
[2026-08-11 04:59:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 04:59:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 04:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 04:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 04:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319443968001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 04:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":153291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 04:59:59] local.INFO: GPS data processed {"connection_id":153291,"processed":1,"errors":0,"total":1} 
[2026-08-11 04:59:59] local.INFO: Acknowledgment sent {"connection_id":153291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:00:30] local.INFO: TCP Data received {"connection_id":153291,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:00:30] local.INFO: Processing buffer {"connection_id":153291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:00:30] local.INFO: Packet analysis {"connection_id":153291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 05:00:30] local.INFO: Extracted packet for processing {"connection_id":153291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 05:00:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319443968001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786404379000,"timestamp_ms":1786404379000,"timestamp_seconds":1786404379,"priority":1,"record_length":96,"hex_timestamp":"0000019fedff9978"} 
[2026-08-11 05:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 05:00:30] 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-08-11 05: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-08-11 05:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:00:30] 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-08-11 05:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319443968001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319443968001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:00:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:00:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319443968001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":153291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:00:30] local.INFO: GPS data processed {"connection_id":153291,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:00:30] local.INFO: Acknowledgment sent {"connection_id":153291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:00:53] local.INFO: TCP Data received {"connection_id":154690,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:00:53] local.INFO: Processing buffer {"connection_id":154690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:00:53] local.INFO: IMEI packet received {"connection_id":154690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":154690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:00:58] local.INFO: TCP Data received {"connection_id":154690,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:00:58] local.INFO: Processing buffer {"connection_id":154690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:00:58] local.INFO: IMEI packet received {"connection_id":154690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":154690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:00:59] local.INFO: TCP Data received {"connection_id":154690,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:00:59] local.INFO: Processing buffer {"connection_id":154690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:00:59] local.INFO: Packet analysis {"connection_id":154690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 05:00:59] local.INFO: Extracted packet for processing {"connection_id":154690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 05:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319443968001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404379000,"timestamp_ms":1786404379000,"timestamp_seconds":1786404379,"priority":1,"record_length":96,"hex_timestamp":"0000019fedff9978"} 
[2026-08-11 05:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 05:00:59] 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-08-11 05: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-08-11 05:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:00:59] 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-08-11 05:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319443968001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319443968001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:00:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:00:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319443968001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":154690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:00:59] local.INFO: GPS data processed {"connection_id":154690,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:00:59] local.INFO: Acknowledgment sent {"connection_id":154690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:01:30] local.INFO: TCP Data received {"connection_id":154690,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:01:30] local.INFO: Processing buffer {"connection_id":154690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fedff9978012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:01:30] local.INFO: Packet analysis {"connection_id":154690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 05:01:30] local.INFO: Extracted packet for processing {"connection_id":154690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fedff"} 
[2026-08-11 05:01:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:01: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-08-11 05:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319443968001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786404379000,"timestamp_ms":1786404379000,"timestamp_seconds":1786404379,"priority":1,"record_length":96,"hex_timestamp":"0000019fedff9978"} 
[2026-08-11 05:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:01: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 05:01:30] 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-08-11 05:01: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-08-11 05:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:01:30] 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-08-11 05:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319443968001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319443968001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:01:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:01:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319443968001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":154690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:01:30] local.INFO: GPS data processed {"connection_id":154690,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:01:30] local.INFO: Acknowledgment sent {"connection_id":154690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:01:53] local.INFO: TCP Data received {"connection_id":152360,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:01:53] local.INFO: Processing buffer {"connection_id":152360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:01:53] local.INFO: IMEI packet received {"connection_id":152360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":152360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:01:58] local.INFO: TCP Data received {"connection_id":152360,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:01:58] local.INFO: Processing buffer {"connection_id":152360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:01:58] local.INFO: IMEI packet received {"connection_id":152360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":152360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:01:59] local.INFO: TCP Data received {"connection_id":152360,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:01:59] local.INFO: Processing buffer {"connection_id":152360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:01:59] local.INFO: Packet analysis {"connection_id":152360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:01:59] local.INFO: Extracted packet for processing {"connection_id":152360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319521024001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404680000,"timestamp_ms":1786404680000,"timestamp_seconds":1786404680,"priority":1,"record_length":96,"hex_timestamp":"0000019fee043140"} 
[2026-08-11 05:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:01: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-08-11 05: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-08-11 05:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:01:59] 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-08-11 05:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319521024001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319521024001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:01:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:01:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319521024001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":152360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:01:59] local.INFO: GPS data processed {"connection_id":152360,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:01:59] local.INFO: Acknowledgment sent {"connection_id":152360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:02:30] local.INFO: TCP Data received {"connection_id":152360,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:02:30] local.INFO: Processing buffer {"connection_id":152360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:02:30] local.INFO: Packet analysis {"connection_id":152360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:02:30] local.INFO: Extracted packet for processing {"connection_id":152360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:02: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-08-11 05:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319521024001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786404680000,"timestamp_ms":1786404680000,"timestamp_seconds":1786404680,"priority":1,"record_length":96,"hex_timestamp":"0000019fee043140"} 
[2026-08-11 05:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:02: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-08-11 05:02: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-08-11 05:02: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-08-11 05:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:02:30] 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-08-11 05:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319521024001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319521024001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:02:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:02:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319521024001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":152360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:02:30] local.INFO: GPS data processed {"connection_id":152360,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:02:30] local.INFO: Acknowledgment sent {"connection_id":152360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:02:58] local.INFO: TCP Data received {"connection_id":151967,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:02:58] local.INFO: Processing buffer {"connection_id":151967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:02:58] local.INFO: IMEI packet received {"connection_id":151967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":151967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:03:03] local.INFO: TCP Data received {"connection_id":151967,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:03:03] local.INFO: Processing buffer {"connection_id":151967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:03:03] local.INFO: IMEI packet received {"connection_id":151967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":151967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:03:04] local.INFO: TCP Data received {"connection_id":151967,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:03:04] local.INFO: Processing buffer {"connection_id":151967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:03:04] local.INFO: Packet analysis {"connection_id":151967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:03:04] local.INFO: Extracted packet for processing {"connection_id":151967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319521024001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786404680000,"timestamp_ms":1786404680000,"timestamp_seconds":1786404680,"priority":1,"record_length":96,"hex_timestamp":"0000019fee043140"} 
[2026-08-11 05:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:03:04] 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-08-11 05: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-08-11 05:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:03:04] 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-08-11 05:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319521024001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319521024001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:03:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:03:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319521024001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":151967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:03:04] local.INFO: GPS data processed {"connection_id":151967,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:03:04] local.INFO: Acknowledgment sent {"connection_id":151967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:03:09] local.INFO: TCP Data received {"connection_id":151967,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:03:09] local.INFO: Processing buffer {"connection_id":151967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:03:09] local.INFO: Packet analysis {"connection_id":151967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:03:09] local.INFO: Extracted packet for processing {"connection_id":151967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319521024001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786404680000,"timestamp_ms":1786404680000,"timestamp_seconds":1786404680,"priority":1,"record_length":96,"hex_timestamp":"0000019fee043140"} 
[2026-08-11 05:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:03: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-08-11 05: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-08-11 05:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:03:09] 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-08-11 05:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319521024001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319521024001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:03:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:03:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319521024001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":151967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:03:09] local.INFO: GPS data processed {"connection_id":151967,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:03:09] local.INFO: Acknowledgment sent {"connection_id":151967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:03:53] local.INFO: TCP Data received {"connection_id":153292,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:03:53] local.INFO: Processing buffer {"connection_id":153292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:03:53] local.INFO: IMEI packet received {"connection_id":153292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":153292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:03:58] local.INFO: TCP Data received {"connection_id":153292,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:03:58] local.INFO: Processing buffer {"connection_id":153292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:03:58] local.INFO: IMEI packet received {"connection_id":153292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":153292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:03:59] local.INFO: TCP Data received {"connection_id":153292,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:03:59] local.INFO: Processing buffer {"connection_id":153292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:03:59] local.INFO: Packet analysis {"connection_id":153292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:03:59] local.INFO: Extracted packet for processing {"connection_id":153292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:03: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-08-11 05:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319521024001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404680000,"timestamp_ms":1786404680000,"timestamp_seconds":1786404680,"priority":1,"record_length":96,"hex_timestamp":"0000019fee043140"} 
[2026-08-11 05:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:03: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-08-11 05:03: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-08-11 05:03: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-08-11 05:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:03:59] 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-08-11 05:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319521024001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319521024001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:03:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:03:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319521024001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":153292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:03:59] local.INFO: GPS data processed {"connection_id":153292,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:03:59] local.INFO: Acknowledgment sent {"connection_id":153292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:04:30] local.INFO: TCP Data received {"connection_id":153292,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:04:30] local.INFO: Processing buffer {"connection_id":153292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:04:30] local.INFO: Packet analysis {"connection_id":153292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:04:30] local.INFO: Extracted packet for processing {"connection_id":153292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:04: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-08-11 05:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319521024001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786404680000,"timestamp_ms":1786404680000,"timestamp_seconds":1786404680,"priority":1,"record_length":96,"hex_timestamp":"0000019fee043140"} 
[2026-08-11 05:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:04: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-08-11 05:04: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-08-11 05:04: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-08-11 05:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:04:30] 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-08-11 05:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319521024001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319521024001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:04:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:04:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319521024001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":153292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:04:30] local.INFO: GPS data processed {"connection_id":153292,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:04:30] local.INFO: Acknowledgment sent {"connection_id":153292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:04:53] local.INFO: TCP Data received {"connection_id":154691,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:04:53] local.INFO: Processing buffer {"connection_id":154691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:04:53] local.INFO: IMEI packet received {"connection_id":154691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":154691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:04:58] local.INFO: TCP Data received {"connection_id":154691,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:04:58] local.INFO: Processing buffer {"connection_id":154691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:04:58] local.INFO: IMEI packet received {"connection_id":154691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":154691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:04:59] local.INFO: TCP Data received {"connection_id":154691,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:04:59] local.INFO: Processing buffer {"connection_id":154691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:04:59] local.INFO: Packet analysis {"connection_id":154691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:04:59] local.INFO: Extracted packet for processing {"connection_id":154691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:04:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319521024001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404680000,"timestamp_ms":1786404680000,"timestamp_seconds":1786404680,"priority":1,"record_length":96,"hex_timestamp":"0000019fee043140"} 
[2026-08-11 05:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:04: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-08-11 05: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-08-11 05:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:04:59] 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-08-11 05:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319521024001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319521024001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:04:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:04:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319521024001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":154691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:04:59] local.INFO: GPS data processed {"connection_id":154691,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:04:59] local.INFO: Acknowledgment sent {"connection_id":154691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:05:30] local.INFO: TCP Data received {"connection_id":154691,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:05:30] local.INFO: Processing buffer {"connection_id":154691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:05:30] local.INFO: Packet analysis {"connection_id":154691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:05:30] local.INFO: Extracted packet for processing {"connection_id":154691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:05:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319521024001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786404680000,"timestamp_ms":1786404680000,"timestamp_seconds":1786404680,"priority":1,"record_length":96,"hex_timestamp":"0000019fee043140"} 
[2026-08-11 05:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:05: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-08-11 05: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-08-11 05:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:05:30] 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-08-11 05:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319521024001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319521024001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:05:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:05:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319521024001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":154691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:05:30] local.INFO: GPS data processed {"connection_id":154691,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:05:30] local.INFO: Acknowledgment sent {"connection_id":154691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:05:54] local.INFO: TCP Data received {"connection_id":153293,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:05:54] local.INFO: Processing buffer {"connection_id":153293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:05:54] local.INFO: IMEI packet received {"connection_id":153293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":153293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:05:58] local.INFO: TCP Data received {"connection_id":153293,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:05:58] local.INFO: Processing buffer {"connection_id":153293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:05:58] local.INFO: IMEI packet received {"connection_id":153293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":153293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:05:59] local.INFO: TCP Data received {"connection_id":153293,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:05:59] local.INFO: Processing buffer {"connection_id":153293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:05:59] local.INFO: Packet analysis {"connection_id":153293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:05:59] local.INFO: Extracted packet for processing {"connection_id":153293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319521024001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404680000,"timestamp_ms":1786404680000,"timestamp_seconds":1786404680,"priority":1,"record_length":96,"hex_timestamp":"0000019fee043140"} 
[2026-08-11 05:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:05: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-08-11 05: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-08-11 05:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:05:59] 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-08-11 05:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319521024001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319521024001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:05:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:05:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319521024001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":153293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:05:59] local.INFO: GPS data processed {"connection_id":153293,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:05:59] local.INFO: Acknowledgment sent {"connection_id":153293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:06:30] local.INFO: TCP Data received {"connection_id":153293,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:06:30] local.INFO: Processing buffer {"connection_id":153293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:06:30] local.INFO: Packet analysis {"connection_id":153293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:06:30] local.INFO: Extracted packet for processing {"connection_id":153293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319521024001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786404680000,"timestamp_ms":1786404680000,"timestamp_seconds":1786404680,"priority":1,"record_length":96,"hex_timestamp":"0000019fee043140"} 
[2026-08-11 05:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:06: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-08-11 05: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-08-11 05:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:06:30] 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-08-11 05:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319521024001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319521024001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:06:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:06:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319521024001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":153293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:06:30] local.INFO: GPS data processed {"connection_id":153293,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:06:30] local.INFO: Acknowledgment sent {"connection_id":153293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:06:53] local.INFO: TCP Data received {"connection_id":152361,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:06:53] local.INFO: Processing buffer {"connection_id":152361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:06:53] local.INFO: IMEI packet received {"connection_id":152361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":152361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:06:58] local.INFO: TCP Data received {"connection_id":152361,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:06:58] local.INFO: Processing buffer {"connection_id":152361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:06:58] local.INFO: IMEI packet received {"connection_id":152361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":152361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:06:59] local.INFO: TCP Data received {"connection_id":152361,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:06:59] local.INFO: Processing buffer {"connection_id":152361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee043140012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:06:59] local.INFO: Packet analysis {"connection_id":152361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:06:59] local.INFO: Extracted packet for processing {"connection_id":152361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee04"} 
[2026-08-11 05:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:06: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-08-11 05:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319521024001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404680000,"timestamp_ms":1786404680000,"timestamp_seconds":1786404680,"priority":1,"record_length":96,"hex_timestamp":"0000019fee043140"} 
[2026-08-11 05:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:06: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-08-11 05: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-08-11 05:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:06:59] 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-08-11 05:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319521024001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319521024001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:06:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:06:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319521024001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":152361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:06:59] local.INFO: GPS data processed {"connection_id":152361,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:06:59] local.INFO: Acknowledgment sent {"connection_id":152361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:07:30] local.INFO: TCP Data received {"connection_id":152361,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:07:30] local.INFO: Processing buffer {"connection_id":152361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:07:30] local.INFO: Packet analysis {"connection_id":152361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:07:30] local.INFO: Extracted packet for processing {"connection_id":152361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319598080001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786404981000,"timestamp_ms":1786404981000,"timestamp_seconds":1786404981,"priority":1,"record_length":96,"hex_timestamp":"0000019fee08c908"} 
[2026-08-11 05:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:07: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-08-11 05:07: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-08-11 05:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:07:30] 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-08-11 05:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319598080001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319598080001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:07:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:07:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319598080001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":152361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:07:30] local.INFO: GPS data processed {"connection_id":152361,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:07:30] local.INFO: Acknowledgment sent {"connection_id":152361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:07:58] local.INFO: TCP Data received {"connection_id":153294,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:07:58] local.INFO: Processing buffer {"connection_id":153294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:07:58] local.INFO: IMEI packet received {"connection_id":153294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":153294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:08:03] local.INFO: TCP Data received {"connection_id":153294,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:08:03] local.INFO: Processing buffer {"connection_id":153294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:08:03] local.INFO: IMEI packet received {"connection_id":153294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":153294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:08:04] local.INFO: TCP Data received {"connection_id":153294,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:08:04] local.INFO: Processing buffer {"connection_id":153294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:08:04] local.INFO: Packet analysis {"connection_id":153294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:08:04] local.INFO: Extracted packet for processing {"connection_id":153294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319598080001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786404981000,"timestamp_ms":1786404981000,"timestamp_seconds":1786404981,"priority":1,"record_length":96,"hex_timestamp":"0000019fee08c908"} 
[2026-08-11 05:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:08:04] 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-08-11 05: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-08-11 05:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:08:04] 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-08-11 05:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319598080001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319598080001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:08:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:08:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319598080001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":153294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:08:04] local.INFO: GPS data processed {"connection_id":153294,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:08:04] local.INFO: Acknowledgment sent {"connection_id":153294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:08:35] local.INFO: TCP Data received {"connection_id":153294,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:08:35] local.INFO: Processing buffer {"connection_id":153294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:08:35] local.INFO: Packet analysis {"connection_id":153294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:08:35] local.INFO: Extracted packet for processing {"connection_id":153294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:08:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319598080001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786404981000,"timestamp_ms":1786404981000,"timestamp_seconds":1786404981,"priority":1,"record_length":96,"hex_timestamp":"0000019fee08c908"} 
[2026-08-11 05:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:08:35] 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-08-11 05: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-08-11 05:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:08:35] 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-08-11 05:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319598080001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319598080001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:08:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:08:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319598080001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":153294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:08:35] local.INFO: GPS data processed {"connection_id":153294,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:08:35] local.INFO: Acknowledgment sent {"connection_id":153294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:08:53] local.INFO: TCP Data received {"connection_id":152362,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:08:53] local.INFO: Processing buffer {"connection_id":152362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:08:53] local.INFO: IMEI packet received {"connection_id":152362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":152362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:08:58] local.INFO: TCP Data received {"connection_id":152362,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:08:58] local.INFO: Processing buffer {"connection_id":152362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:08:58] local.INFO: IMEI packet received {"connection_id":152362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":152362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:08:59] local.INFO: TCP Data received {"connection_id":152362,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:08:59] local.INFO: Processing buffer {"connection_id":152362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:08:59] local.INFO: Packet analysis {"connection_id":152362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:08:59] local.INFO: Extracted packet for processing {"connection_id":152362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319598080001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404981000,"timestamp_ms":1786404981000,"timestamp_seconds":1786404981,"priority":1,"record_length":96,"hex_timestamp":"0000019fee08c908"} 
[2026-08-11 05:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:08: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-08-11 05: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-08-11 05:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:08:59] 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-08-11 05:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319598080001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319598080001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:08:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:08:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319598080001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":152362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:08:59] local.INFO: GPS data processed {"connection_id":152362,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:08:59] local.INFO: Acknowledgment sent {"connection_id":152362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:09:30] local.INFO: TCP Data received {"connection_id":152362,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:09:30] local.INFO: Processing buffer {"connection_id":152362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:09:30] local.INFO: Packet analysis {"connection_id":152362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:09:30] local.INFO: Extracted packet for processing {"connection_id":152362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:09:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319598080001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786404981000,"timestamp_ms":1786404981000,"timestamp_seconds":1786404981,"priority":1,"record_length":96,"hex_timestamp":"0000019fee08c908"} 
[2026-08-11 05:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:09: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-08-11 05: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-08-11 05:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:09:30] 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-08-11 05:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319598080001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319598080001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:09:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:09:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319598080001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":152362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:09:30] local.INFO: GPS data processed {"connection_id":152362,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:09:30] local.INFO: Acknowledgment sent {"connection_id":152362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:09:54] local.INFO: TCP Data received {"connection_id":153295,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:09:54] local.INFO: Processing buffer {"connection_id":153295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:09:54] local.INFO: IMEI packet received {"connection_id":153295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":153295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:09:58] local.INFO: TCP Data received {"connection_id":153295,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:09:58] local.INFO: Processing buffer {"connection_id":153295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:09:58] local.INFO: IMEI packet received {"connection_id":153295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":153295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:09:59] local.INFO: TCP Data received {"connection_id":153295,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:09:59] local.INFO: Processing buffer {"connection_id":153295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:09:59] local.INFO: Packet analysis {"connection_id":153295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:09:59] local.INFO: Extracted packet for processing {"connection_id":153295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319598080001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404981000,"timestamp_ms":1786404981000,"timestamp_seconds":1786404981,"priority":1,"record_length":96,"hex_timestamp":"0000019fee08c908"} 
[2026-08-11 05:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:09: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-08-11 05: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-08-11 05:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:09:59] 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-08-11 05:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319598080001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319598080001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:09:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:09:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319598080001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":153295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:09:59] local.INFO: GPS data processed {"connection_id":153295,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:09:59] local.INFO: Acknowledgment sent {"connection_id":153295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:10:30] local.INFO: TCP Data received {"connection_id":153295,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:10:30] local.INFO: Processing buffer {"connection_id":153295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:10:30] local.INFO: Packet analysis {"connection_id":153295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:10:30] local.INFO: Extracted packet for processing {"connection_id":153295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:10: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-08-11 05:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319598080001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786404981000,"timestamp_ms":1786404981000,"timestamp_seconds":1786404981,"priority":1,"record_length":96,"hex_timestamp":"0000019fee08c908"} 
[2026-08-11 05:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:10: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-08-11 05:10: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-08-11 05:10: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-08-11 05:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:10:30] 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-08-11 05:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319598080001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319598080001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:10:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:10:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319598080001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":153295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:10:30] local.INFO: GPS data processed {"connection_id":153295,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:10:30] local.INFO: Acknowledgment sent {"connection_id":153295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:10:54] local.INFO: TCP Data received {"connection_id":152363,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:10:54] local.INFO: Processing buffer {"connection_id":152363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:10:54] local.INFO: IMEI packet received {"connection_id":152363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":152363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:10:58] local.INFO: TCP Data received {"connection_id":152363,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:10:58] local.INFO: Processing buffer {"connection_id":152363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:10:58] local.INFO: IMEI packet received {"connection_id":152363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":152363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:10:59] local.INFO: TCP Data received {"connection_id":152363,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:10:59] local.INFO: Processing buffer {"connection_id":152363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:10:59] local.INFO: Packet analysis {"connection_id":152363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:10:59] local.INFO: Extracted packet for processing {"connection_id":152363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319598080001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404981000,"timestamp_ms":1786404981000,"timestamp_seconds":1786404981,"priority":1,"record_length":96,"hex_timestamp":"0000019fee08c908"} 
[2026-08-11 05:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:10: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-08-11 05: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-08-11 05:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:10:59] 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-08-11 05:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319598080001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319598080001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:10:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:10:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319598080001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":152363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:10:59] local.INFO: GPS data processed {"connection_id":152363,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:10:59] local.INFO: Acknowledgment sent {"connection_id":152363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:11:30] local.INFO: TCP Data received {"connection_id":152363,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:11:30] local.INFO: Processing buffer {"connection_id":152363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:11:30] local.INFO: Packet analysis {"connection_id":152363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:11:30] local.INFO: Extracted packet for processing {"connection_id":152363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:11: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-08-11 05:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319598080001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786404981000,"timestamp_ms":1786404981000,"timestamp_seconds":1786404981,"priority":1,"record_length":96,"hex_timestamp":"0000019fee08c908"} 
[2026-08-11 05:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:11: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-08-11 05:11: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-08-11 05:11: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-08-11 05:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:11:30] 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-08-11 05:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319598080001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319598080001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:11:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:11:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319598080001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":152363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:11:30] local.INFO: GPS data processed {"connection_id":152363,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:11:30] local.INFO: Acknowledgment sent {"connection_id":152363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:11:53] local.INFO: TCP Data received {"connection_id":152364,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:11:53] local.INFO: Processing buffer {"connection_id":152364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:11:53] local.INFO: IMEI packet received {"connection_id":152364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":152364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:11:58] local.INFO: TCP Data received {"connection_id":152364,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:11:58] local.INFO: Processing buffer {"connection_id":152364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:11:58] local.INFO: IMEI packet received {"connection_id":152364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":152364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:11:59] local.INFO: TCP Data received {"connection_id":152364,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:11:59] local.INFO: Processing buffer {"connection_id":152364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee08c908012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:11:59] local.INFO: Packet analysis {"connection_id":152364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:11:59] local.INFO: Extracted packet for processing {"connection_id":152364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee08"} 
[2026-08-11 05:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319598080001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786404981000,"timestamp_ms":1786404981000,"timestamp_seconds":1786404981,"priority":1,"record_length":96,"hex_timestamp":"0000019fee08c908"} 
[2026-08-11 05:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:11: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-08-11 05: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-08-11 05:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:11:59] 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-08-11 05:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319598080001,"66":25734,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319598080001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:11:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:11:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319598080001,"power":25734,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":152364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:11:59] local.INFO: GPS data processed {"connection_id":152364,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:11:59] local.INFO: Acknowledgment sent {"connection_id":152364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:12:30] local.INFO: TCP Data received {"connection_id":152364,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:12:30] local.INFO: Processing buffer {"connection_id":152364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:12:30] local.INFO: Packet analysis {"connection_id":152364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:12:30] local.INFO: Extracted packet for processing {"connection_id":152364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:12:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:12: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-08-11 05:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319675136001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786405282000,"timestamp_ms":1786405282000,"timestamp_seconds":1786405282,"priority":1,"record_length":96,"hex_timestamp":"0000019fee0d60d0"} 
[2026-08-11 05:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:12: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-08-11 05:12: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-08-11 05:12: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-08-11 05:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:12:30] 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-08-11 05:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319675136001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319675136001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:12:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:12:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319675136001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":152364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:12:30] local.INFO: GPS data processed {"connection_id":152364,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:12:30] local.INFO: Acknowledgment sent {"connection_id":152364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:12:53] local.INFO: TCP Data received {"connection_id":152365,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:12:53] local.INFO: Processing buffer {"connection_id":152365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:12:53] local.INFO: IMEI packet received {"connection_id":152365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":152365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:12:58] local.INFO: TCP Data received {"connection_id":152365,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:12:58] local.INFO: Processing buffer {"connection_id":152365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:12:58] local.INFO: IMEI packet received {"connection_id":152365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":152365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:12:59] local.INFO: TCP Data received {"connection_id":152365,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:12:59] local.INFO: Processing buffer {"connection_id":152365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:12:59] local.INFO: Packet analysis {"connection_id":152365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:12:59] local.INFO: Extracted packet for processing {"connection_id":152365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319675136001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786405282000,"timestamp_ms":1786405282000,"timestamp_seconds":1786405282,"priority":1,"record_length":96,"hex_timestamp":"0000019fee0d60d0"} 
[2026-08-11 05:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:12: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-08-11 05: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-08-11 05:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:12:59] 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-08-11 05:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319675136001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319675136001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:12:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:12:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319675136001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":152365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:12:59] local.INFO: GPS data processed {"connection_id":152365,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:12:59] local.INFO: Acknowledgment sent {"connection_id":152365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:13:30] local.INFO: TCP Data received {"connection_id":152365,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:13:30] local.INFO: Processing buffer {"connection_id":152365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:13:30] local.INFO: Packet analysis {"connection_id":152365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:13:30] local.INFO: Extracted packet for processing {"connection_id":152365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:13:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319675136001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786405282000,"timestamp_ms":1786405282000,"timestamp_seconds":1786405282,"priority":1,"record_length":96,"hex_timestamp":"0000019fee0d60d0"} 
[2026-08-11 05:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:13: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-08-11 05: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-08-11 05:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:13:30] 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-08-11 05:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319675136001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319675136001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:13:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:13:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319675136001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":152365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:13:30] local.INFO: GPS data processed {"connection_id":152365,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:13:30] local.INFO: Acknowledgment sent {"connection_id":152365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:13:53] local.INFO: TCP Data received {"connection_id":153296,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:13:53] local.INFO: Processing buffer {"connection_id":153296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:13:53] local.INFO: IMEI packet received {"connection_id":153296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":153296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:13:58] local.INFO: TCP Data received {"connection_id":153296,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:13:58] local.INFO: Processing buffer {"connection_id":153296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:13:58] local.INFO: IMEI packet received {"connection_id":153296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":153296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:14:02] local.INFO: TCP Data received {"connection_id":153296,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:14:02] local.INFO: Processing buffer {"connection_id":153296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:14:02] local.INFO: Packet analysis {"connection_id":153296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:14:02] local.INFO: Extracted packet for processing {"connection_id":153296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319675136001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786405282000,"timestamp_ms":1786405282000,"timestamp_seconds":1786405282,"priority":1,"record_length":96,"hex_timestamp":"0000019fee0d60d0"} 
[2026-08-11 05:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:14:02] 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-08-11 05: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-08-11 05:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":153296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":153296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":153296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:14:02] 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-08-11 05:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319675136001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319675136001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:14:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:14:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319675136001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":153296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:14:02] local.INFO: GPS data processed {"connection_id":153296,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:14:02] local.INFO: Acknowledgment sent {"connection_id":153296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:14:33] local.INFO: TCP Data received {"connection_id":153296,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:14:33] local.INFO: Processing buffer {"connection_id":153296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:14:33] local.INFO: Packet analysis {"connection_id":153296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:14:33] local.INFO: Extracted packet for processing {"connection_id":153296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319675136001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786405282000,"timestamp_ms":1786405282000,"timestamp_seconds":1786405282,"priority":1,"record_length":96,"hex_timestamp":"0000019fee0d60d0"} 
[2026-08-11 05:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:14:33] 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-08-11 05: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-08-11 05:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":153296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":153296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":153296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:14:33] 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-08-11 05:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319675136001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319675136001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:14:33] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:14:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319675136001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":153296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:14:33] local.INFO: GPS data processed {"connection_id":153296,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:14:33] local.INFO: Acknowledgment sent {"connection_id":153296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:14:53] local.INFO: TCP Data received {"connection_id":151968,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:14:53] local.INFO: Processing buffer {"connection_id":151968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:14:53] local.INFO: IMEI packet received {"connection_id":151968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":151968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:14:58] local.INFO: TCP Data received {"connection_id":151968,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:14:58] local.INFO: Processing buffer {"connection_id":151968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:14:58] local.INFO: IMEI packet received {"connection_id":151968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":151968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:14:59] local.INFO: TCP Data received {"connection_id":151968,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:14:59] local.INFO: Processing buffer {"connection_id":151968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:14:59] local.INFO: Packet analysis {"connection_id":151968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:14:59] local.INFO: Extracted packet for processing {"connection_id":151968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319675136001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786405282000,"timestamp_ms":1786405282000,"timestamp_seconds":1786405282,"priority":1,"record_length":96,"hex_timestamp":"0000019fee0d60d0"} 
[2026-08-11 05:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:14: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-08-11 05: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-08-11 05:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:14:59] 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-08-11 05:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319675136001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319675136001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:14:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:14:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319675136001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":151968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:14:59] local.INFO: GPS data processed {"connection_id":151968,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:14:59] local.INFO: Acknowledgment sent {"connection_id":151968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:15:30] local.INFO: TCP Data received {"connection_id":151968,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:15:30] local.INFO: Processing buffer {"connection_id":151968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:15:30] local.INFO: Packet analysis {"connection_id":151968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:15:30] local.INFO: Extracted packet for processing {"connection_id":151968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:15:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319675136001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786405282000,"timestamp_ms":1786405282000,"timestamp_seconds":1786405282,"priority":1,"record_length":96,"hex_timestamp":"0000019fee0d60d0"} 
[2026-08-11 05:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:15: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-08-11 05: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-08-11 05:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:15:30] 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-08-11 05:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319675136001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319675136001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:15:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:15:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319675136001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":151968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:15:30] local.INFO: GPS data processed {"connection_id":151968,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:15:30] local.INFO: Acknowledgment sent {"connection_id":151968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:15:54] local.INFO: TCP Data received {"connection_id":151969,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:15:54] local.INFO: Processing buffer {"connection_id":151969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:15:54] local.INFO: IMEI packet received {"connection_id":151969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":151969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:15:58] local.INFO: TCP Data received {"connection_id":151969,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:15:58] local.INFO: Processing buffer {"connection_id":151969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:15:58] local.INFO: IMEI packet received {"connection_id":151969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":151969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:16:02] local.INFO: TCP Data received {"connection_id":151969,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:16:02] local.INFO: Processing buffer {"connection_id":151969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:16:02] local.INFO: Packet analysis {"connection_id":151969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:16:02] local.INFO: Extracted packet for processing {"connection_id":151969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:16:02] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319675136001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786405282000,"timestamp_ms":1786405282000,"timestamp_seconds":1786405282,"priority":1,"record_length":96,"hex_timestamp":"0000019fee0d60d0"} 
[2026-08-11 05:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:16:02] 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-08-11 05: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-08-11 05:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":151969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":151969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":151969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:16:02] 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-08-11 05:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319675136001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319675136001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:16:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:16:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319675136001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":151969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:16:02] local.INFO: GPS data processed {"connection_id":151969,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:16:02] local.INFO: Acknowledgment sent {"connection_id":151969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:16:42] local.INFO: TCP Data received {"connection_id":151969,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:16:42] local.INFO: Processing buffer {"connection_id":151969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:16:42] local.INFO: Packet analysis {"connection_id":151969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:16:42] local.INFO: Extracted packet for processing {"connection_id":151969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319675136001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786405282000,"timestamp_ms":1786405282000,"timestamp_seconds":1786405282,"priority":1,"record_length":96,"hex_timestamp":"0000019fee0d60d0"} 
[2026-08-11 05:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:16: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-08-11 05: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-08-11 05:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:16:42] 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-08-11 05:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319675136001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319675136001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:16:42] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:16:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319675136001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":151969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:16:42] local.INFO: GPS data processed {"connection_id":151969,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:16:42] local.INFO: Acknowledgment sent {"connection_id":151969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:16:53] local.INFO: TCP Data received {"connection_id":153297,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:16:53] local.INFO: Processing buffer {"connection_id":153297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:16:53] local.INFO: IMEI packet received {"connection_id":153297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":153297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:16:58] local.INFO: TCP Data received {"connection_id":153297,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:16:58] local.INFO: Processing buffer {"connection_id":153297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:16:58] local.INFO: IMEI packet received {"connection_id":153297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":153297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:16:59] local.INFO: TCP Data received {"connection_id":153297,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:16:59] local.INFO: Processing buffer {"connection_id":153297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee0d60d0012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:16:59] local.INFO: Packet analysis {"connection_id":153297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:16:59] local.INFO: Extracted packet for processing {"connection_id":153297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee0d"} 
[2026-08-11 05:16:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319675136001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786405282000,"timestamp_ms":1786405282000,"timestamp_seconds":1786405282,"priority":1,"record_length":96,"hex_timestamp":"0000019fee0d60d0"} 
[2026-08-11 05:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 05:16: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-08-11 05: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-08-11 05:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:16:59] 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-08-11 05:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319675136001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319675136001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:16:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:16:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319675136001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":153297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:16:59] local.INFO: GPS data processed {"connection_id":153297,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:16:59] local.INFO: Acknowledgment sent {"connection_id":153297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:17:30] local.INFO: TCP Data received {"connection_id":153297,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:17:30] local.INFO: Processing buffer {"connection_id":153297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:17:30] local.INFO: Packet analysis {"connection_id":153297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:17:30] local.INFO: Extracted packet for processing {"connection_id":153297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:17:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319752192001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786405583000,"timestamp_ms":1786405583000,"timestamp_seconds":1786405583,"priority":1,"record_length":96,"hex_timestamp":"0000019fee11f898"} 
[2026-08-11 05:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:17:30] 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-08-11 05: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-08-11 05:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:17:30] 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-08-11 05:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319752192001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319752192001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:17:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:17:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319752192001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":153297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:17:30] local.INFO: GPS data processed {"connection_id":153297,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:17:30] local.INFO: Acknowledgment sent {"connection_id":153297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:17:58] local.INFO: TCP Data received {"connection_id":152366,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:17:58] local.INFO: Processing buffer {"connection_id":152366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:17:58] local.INFO: IMEI packet received {"connection_id":152366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":152366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:18:03] local.INFO: TCP Data received {"connection_id":152366,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:18:03] local.INFO: Processing buffer {"connection_id":152366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:18:03] local.INFO: IMEI packet received {"connection_id":152366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":152366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:18:04] local.INFO: TCP Data received {"connection_id":152366,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:18:04] local.INFO: Processing buffer {"connection_id":152366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:18:04] local.INFO: Packet analysis {"connection_id":152366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:18:04] local.INFO: Extracted packet for processing {"connection_id":152366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:18:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319752192001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786405583000,"timestamp_ms":1786405583000,"timestamp_seconds":1786405583,"priority":1,"record_length":96,"hex_timestamp":"0000019fee11f898"} 
[2026-08-11 05:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:18:04] 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-08-11 05: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-08-11 05:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:18:04] 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-08-11 05:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319752192001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319752192001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:18:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:18:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319752192001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":152366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:18:04] local.INFO: GPS data processed {"connection_id":152366,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:18:04] local.INFO: Acknowledgment sent {"connection_id":152366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:18:09] local.INFO: TCP Data received {"connection_id":152366,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:18:09] local.INFO: Processing buffer {"connection_id":152366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:18:09] local.INFO: Packet analysis {"connection_id":152366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:18:09] local.INFO: Extracted packet for processing {"connection_id":152366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:18:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:18: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-08-11 05:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319752192001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786405583000,"timestamp_ms":1786405583000,"timestamp_seconds":1786405583,"priority":1,"record_length":96,"hex_timestamp":"0000019fee11f898"} 
[2026-08-11 05:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:18: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:18:09] 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-08-11 05:18: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-08-11 05:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:18:09] 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-08-11 05:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319752192001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319752192001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:18:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:18:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319752192001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":152366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:18:09] local.INFO: GPS data processed {"connection_id":152366,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:18:09] local.INFO: Acknowledgment sent {"connection_id":152366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:18:53] local.INFO: TCP Data received {"connection_id":154692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:18:53] local.INFO: Processing buffer {"connection_id":154692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:18:53] local.INFO: IMEI packet received {"connection_id":154692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":154692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:18:58] local.INFO: TCP Data received {"connection_id":154692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:18:58] local.INFO: Processing buffer {"connection_id":154692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:18:58] local.INFO: IMEI packet received {"connection_id":154692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":154692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:18:59] local.INFO: TCP Data received {"connection_id":154692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:18:59] local.INFO: Processing buffer {"connection_id":154692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:18:59] local.INFO: Packet analysis {"connection_id":154692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:18:59] local.INFO: Extracted packet for processing {"connection_id":154692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:18:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319752192001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786405583000,"timestamp_ms":1786405583000,"timestamp_seconds":1786405583,"priority":1,"record_length":96,"hex_timestamp":"0000019fee11f898"} 
[2026-08-11 05:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:18:59] 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-08-11 05: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-08-11 05:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:18:59] 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-08-11 05:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319752192001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319752192001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:18:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:18:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319752192001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":154692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:18:59] local.INFO: GPS data processed {"connection_id":154692,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:18:59] local.INFO: Acknowledgment sent {"connection_id":154692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:19:30] local.INFO: TCP Data received {"connection_id":154692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:19:30] local.INFO: Processing buffer {"connection_id":154692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:19:30] local.INFO: Packet analysis {"connection_id":154692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:19:30] local.INFO: Extracted packet for processing {"connection_id":154692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:19:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319752192001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786405583000,"timestamp_ms":1786405583000,"timestamp_seconds":1786405583,"priority":1,"record_length":96,"hex_timestamp":"0000019fee11f898"} 
[2026-08-11 05:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:19:30] 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-08-11 05: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-08-11 05:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:19:30] 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-08-11 05:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319752192001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319752192001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:19:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:19:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319752192001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":154692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:19:30] local.INFO: GPS data processed {"connection_id":154692,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:19:30] local.INFO: Acknowledgment sent {"connection_id":154692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:19:53] local.INFO: TCP Data received {"connection_id":151970,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:19:53] local.INFO: Processing buffer {"connection_id":151970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:19:53] local.INFO: IMEI packet received {"connection_id":151970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":151970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:19:58] local.INFO: TCP Data received {"connection_id":151970,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:19:58] local.INFO: Processing buffer {"connection_id":151970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:19:58] local.INFO: IMEI packet received {"connection_id":151970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":151970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:19:59] local.INFO: TCP Data received {"connection_id":151970,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:19:59] local.INFO: Processing buffer {"connection_id":151970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:19:59] local.INFO: Packet analysis {"connection_id":151970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:19:59] local.INFO: Extracted packet for processing {"connection_id":151970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:19:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319752192001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786405583000,"timestamp_ms":1786405583000,"timestamp_seconds":1786405583,"priority":1,"record_length":96,"hex_timestamp":"0000019fee11f898"} 
[2026-08-11 05:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:19:59] 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-08-11 05: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-08-11 05:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:19:59] 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-08-11 05:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319752192001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319752192001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:19:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:19:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319752192001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":151970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:19:59] local.INFO: GPS data processed {"connection_id":151970,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:19:59] local.INFO: Acknowledgment sent {"connection_id":151970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:20:30] local.INFO: TCP Data received {"connection_id":151970,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:20:30] local.INFO: Processing buffer {"connection_id":151970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:20:30] local.INFO: Packet analysis {"connection_id":151970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:20:30] local.INFO: Extracted packet for processing {"connection_id":151970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:20:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:20: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-08-11 05:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319752192001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786405583000,"timestamp_ms":1786405583000,"timestamp_seconds":1786405583,"priority":1,"record_length":96,"hex_timestamp":"0000019fee11f898"} 
[2026-08-11 05:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:20: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:20:30] 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-08-11 05:20: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-08-11 05:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:20:30] 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-08-11 05:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319752192001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319752192001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:20:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:20:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319752192001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":151970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:20:30] local.INFO: GPS data processed {"connection_id":151970,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:20:30] local.INFO: Acknowledgment sent {"connection_id":151970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:20:53] local.INFO: TCP Data received {"connection_id":153298,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:20:53] local.INFO: Processing buffer {"connection_id":153298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:20:53] local.INFO: IMEI packet received {"connection_id":153298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":153298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:20:58] local.INFO: TCP Data received {"connection_id":153298,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:20:58] local.INFO: Processing buffer {"connection_id":153298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:20:58] local.INFO: IMEI packet received {"connection_id":153298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":153298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:21:02] local.INFO: TCP Data received {"connection_id":153298,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:21:02] local.INFO: Processing buffer {"connection_id":153298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:21:02] local.INFO: Packet analysis {"connection_id":153298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:21:02] local.INFO: Extracted packet for processing {"connection_id":153298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:21: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-08-11 05:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319752192001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786405583000,"timestamp_ms":1786405583000,"timestamp_seconds":1786405583,"priority":1,"record_length":96,"hex_timestamp":"0000019fee11f898"} 
[2026-08-11 05:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:21:02] 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-08-11 05:21: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-08-11 05:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":153298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":153298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":153298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:21:02] 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-08-11 05:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319752192001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319752192001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:21:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:21:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319752192001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":153298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:21:02] local.INFO: GPS data processed {"connection_id":153298,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:21:02] local.INFO: Acknowledgment sent {"connection_id":153298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:21:54] local.INFO: TCP Data received {"connection_id":154693,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:21:54] local.INFO: Processing buffer {"connection_id":154693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:21:54] local.INFO: IMEI packet received {"connection_id":154693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":154693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:21:54] local.INFO: TCP Data received {"connection_id":153298,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:21:54] local.INFO: Processing buffer {"connection_id":153298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:21:54] local.INFO: Packet analysis {"connection_id":153298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:21:54] local.INFO: Extracted packet for processing {"connection_id":153298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319752192001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786405583000,"timestamp_ms":1786405583000,"timestamp_seconds":1786405583,"priority":1,"record_length":96,"hex_timestamp":"0000019fee11f898"} 
[2026-08-11 05:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:21:54] 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-08-11 05: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-08-11 05:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":153298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":153298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":153298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:21:54] 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-08-11 05:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319752192001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319752192001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:21:54] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:21:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319752192001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":153298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:21:54] local.INFO: GPS data processed {"connection_id":153298,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:21:54] local.INFO: Acknowledgment sent {"connection_id":153298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:21:58] local.INFO: TCP Data received {"connection_id":154693,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:21:58] local.INFO: Processing buffer {"connection_id":154693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:21:58] local.INFO: IMEI packet received {"connection_id":154693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":154693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:21:59] local.INFO: TCP Data received {"connection_id":154693,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:21:59] local.INFO: Processing buffer {"connection_id":154693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee11f898012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:21:59] local.INFO: Packet analysis {"connection_id":154693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:21:59] local.INFO: Extracted packet for processing {"connection_id":154693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee11"} 
[2026-08-11 05:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:21: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-08-11 05:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319752192001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786405583000,"timestamp_ms":1786405583000,"timestamp_seconds":1786405583,"priority":1,"record_length":96,"hex_timestamp":"0000019fee11f898"} 
[2026-08-11 05:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:21: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:21:59] 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-08-11 05:21: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-08-11 05:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:21:59] 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-08-11 05:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319752192001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319752192001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:21:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:21:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319752192001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":154693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:21:59] local.INFO: GPS data processed {"connection_id":154693,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:21:59] local.INFO: Acknowledgment sent {"connection_id":154693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:22:30] local.INFO: TCP Data received {"connection_id":154693,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:22:30] local.INFO: Processing buffer {"connection_id":154693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:22:30] local.INFO: Packet analysis {"connection_id":154693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:22:30] local.INFO: Extracted packet for processing {"connection_id":154693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319829248001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786405884000,"timestamp_ms":1786405884000,"timestamp_seconds":1786405884,"priority":1,"record_length":96,"hex_timestamp":"0000019fee169060"} 
[2026-08-11 05:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:22:30] 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-08-11 05: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-08-11 05:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:22:30] 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-08-11 05:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319829248001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319829248001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:22:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:22:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319829248001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":154693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:22:30] local.INFO: GPS data processed {"connection_id":154693,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:22:30] local.INFO: Acknowledgment sent {"connection_id":154693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:22:53] local.INFO: TCP Data received {"connection_id":153299,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:22:53] local.INFO: Processing buffer {"connection_id":153299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:22:53] local.INFO: IMEI packet received {"connection_id":153299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":153299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:22:58] local.INFO: TCP Data received {"connection_id":153299,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:22:58] local.INFO: Processing buffer {"connection_id":153299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:22:58] local.INFO: IMEI packet received {"connection_id":153299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":153299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:22:59] local.INFO: TCP Data received {"connection_id":153299,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:22:59] local.INFO: Processing buffer {"connection_id":153299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:22:59] local.INFO: Packet analysis {"connection_id":153299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:22:59] local.INFO: Extracted packet for processing {"connection_id":153299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319829248001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786405884000,"timestamp_ms":1786405884000,"timestamp_seconds":1786405884,"priority":1,"record_length":96,"hex_timestamp":"0000019fee169060"} 
[2026-08-11 05:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:22:59] 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-08-11 05: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-08-11 05:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:22:59] 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-08-11 05:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319829248001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319829248001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:22:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:22:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319829248001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":153299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:22:59] local.INFO: GPS data processed {"connection_id":153299,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:22:59] local.INFO: Acknowledgment sent {"connection_id":153299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:23:30] local.INFO: TCP Data received {"connection_id":153299,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:23:30] local.INFO: Processing buffer {"connection_id":153299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:23:30] local.INFO: Packet analysis {"connection_id":153299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:23:30] local.INFO: Extracted packet for processing {"connection_id":153299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:23:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319829248001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786405884000,"timestamp_ms":1786405884000,"timestamp_seconds":1786405884,"priority":1,"record_length":96,"hex_timestamp":"0000019fee169060"} 
[2026-08-11 05:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:23:30] 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-08-11 05: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-08-11 05:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:23:30] 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-08-11 05:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319829248001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319829248001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:23:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:23:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319829248001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":153299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:23:30] local.INFO: GPS data processed {"connection_id":153299,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:23:30] local.INFO: Acknowledgment sent {"connection_id":153299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:23:58] local.INFO: TCP Data received {"connection_id":151971,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:23:58] local.INFO: Processing buffer {"connection_id":151971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:23:58] local.INFO: IMEI packet received {"connection_id":151971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":151971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:24:06] local.INFO: TCP Data received {"connection_id":151971,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:24:06] local.INFO: Processing buffer {"connection_id":151971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:24:06] local.INFO: IMEI packet received {"connection_id":151971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":151971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:24:07] local.INFO: TCP Data received {"connection_id":151971,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:24:07] local.INFO: Processing buffer {"connection_id":151971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:24:07] local.INFO: Packet analysis {"connection_id":151971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:24:07] local.INFO: Extracted packet for processing {"connection_id":151971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319829248001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786405884000,"timestamp_ms":1786405884000,"timestamp_seconds":1786405884,"priority":1,"record_length":96,"hex_timestamp":"0000019fee169060"} 
[2026-08-11 05:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:24:07] 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-08-11 05: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-08-11 05:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:24:07] 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-08-11 05:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319829248001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319829248001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:24:07] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:24:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319829248001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":151971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:24:07] local.INFO: GPS data processed {"connection_id":151971,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:24:07] local.INFO: Acknowledgment sent {"connection_id":151971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:24:38] local.INFO: TCP Data received {"connection_id":151971,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:24:38] local.INFO: Processing buffer {"connection_id":151971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:24:38] local.INFO: Packet analysis {"connection_id":151971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:24:38] local.INFO: Extracted packet for processing {"connection_id":151971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:24:38] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319829248001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786405884000,"timestamp_ms":1786405884000,"timestamp_seconds":1786405884,"priority":1,"record_length":96,"hex_timestamp":"0000019fee169060"} 
[2026-08-11 05:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:24:38] 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-08-11 05: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-08-11 05:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:24:38] 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-08-11 05:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319829248001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319829248001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:24:38] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:24:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319829248001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":151971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:24:38] local.INFO: GPS data processed {"connection_id":151971,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:24:38] local.INFO: Acknowledgment sent {"connection_id":151971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:24:53] local.INFO: TCP Data received {"connection_id":154694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:24:53] local.INFO: Processing buffer {"connection_id":154694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:24:53] local.INFO: IMEI packet received {"connection_id":154694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":154694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:24:58] local.INFO: TCP Data received {"connection_id":154694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:24:58] local.INFO: Processing buffer {"connection_id":154694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:24:58] local.INFO: IMEI packet received {"connection_id":154694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":154694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:24:59] local.INFO: TCP Data received {"connection_id":154694,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:24:59] local.INFO: Processing buffer {"connection_id":154694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:24:59] local.INFO: Packet analysis {"connection_id":154694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:24:59] local.INFO: Extracted packet for processing {"connection_id":154694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319829248001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786405884000,"timestamp_ms":1786405884000,"timestamp_seconds":1786405884,"priority":1,"record_length":96,"hex_timestamp":"0000019fee169060"} 
[2026-08-11 05:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:24:59] 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-08-11 05: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-08-11 05:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:24:59] 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-08-11 05:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319829248001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319829248001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:24:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:24:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319829248001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":154694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:24:59] local.INFO: GPS data processed {"connection_id":154694,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:24:59] local.INFO: Acknowledgment sent {"connection_id":154694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:25:30] local.INFO: TCP Data received {"connection_id":154694,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:25:30] local.INFO: Processing buffer {"connection_id":154694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:25:30] local.INFO: Packet analysis {"connection_id":154694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:25:30] local.INFO: Extracted packet for processing {"connection_id":154694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:25:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:25: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-08-11 05:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319829248001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786405884000,"timestamp_ms":1786405884000,"timestamp_seconds":1786405884,"priority":1,"record_length":96,"hex_timestamp":"0000019fee169060"} 
[2026-08-11 05:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:25: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:25:30] 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-08-11 05:25: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-08-11 05:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:25:30] 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-08-11 05:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319829248001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319829248001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:25:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:25:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319829248001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":154694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:25:30] local.INFO: GPS data processed {"connection_id":154694,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:25:30] local.INFO: Acknowledgment sent {"connection_id":154694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:25:53] local.INFO: TCP Data received {"connection_id":154695,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:25:53] local.INFO: Processing buffer {"connection_id":154695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:25:53] local.INFO: IMEI packet received {"connection_id":154695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":154695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:25:58] local.INFO: TCP Data received {"connection_id":154695,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:25:58] local.INFO: Processing buffer {"connection_id":154695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:25:58] local.INFO: IMEI packet received {"connection_id":154695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":154695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:25:59] local.INFO: TCP Data received {"connection_id":154695,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:25:59] local.INFO: Processing buffer {"connection_id":154695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:25:59] local.INFO: Packet analysis {"connection_id":154695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:25:59] local.INFO: Extracted packet for processing {"connection_id":154695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:25:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319829248001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786405884000,"timestamp_ms":1786405884000,"timestamp_seconds":1786405884,"priority":1,"record_length":96,"hex_timestamp":"0000019fee169060"} 
[2026-08-11 05:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:25:59] 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-08-11 05: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-08-11 05:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:25:59] 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-08-11 05:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319829248001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319829248001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:25:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:25:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319829248001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":154695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:25:59] local.INFO: GPS data processed {"connection_id":154695,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:25:59] local.INFO: Acknowledgment sent {"connection_id":154695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:26:30] local.INFO: TCP Data received {"connection_id":154695,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:26:30] local.INFO: Processing buffer {"connection_id":154695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:26:30] local.INFO: Packet analysis {"connection_id":154695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:26:30] local.INFO: Extracted packet for processing {"connection_id":154695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319829248001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786405884000,"timestamp_ms":1786405884000,"timestamp_seconds":1786405884,"priority":1,"record_length":96,"hex_timestamp":"0000019fee169060"} 
[2026-08-11 05:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:26:30] 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-08-11 05: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-08-11 05:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:26:30] 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-08-11 05:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319829248001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319829248001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:26:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:26:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319829248001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":154695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:26:30] local.INFO: GPS data processed {"connection_id":154695,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:26:30] local.INFO: Acknowledgment sent {"connection_id":154695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:26:53] local.INFO: TCP Data received {"connection_id":153300,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:26:53] local.INFO: Processing buffer {"connection_id":153300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:26:53] local.INFO: IMEI packet received {"connection_id":153300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":153300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:26:58] local.INFO: TCP Data received {"connection_id":153300,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:26:58] local.INFO: Processing buffer {"connection_id":153300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:26:58] local.INFO: IMEI packet received {"connection_id":153300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":153300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:26:59] local.INFO: TCP Data received {"connection_id":153300,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:26:59] local.INFO: Processing buffer {"connection_id":153300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee169060012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:26:59] local.INFO: Packet analysis {"connection_id":153300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:26:59] local.INFO: Extracted packet for processing {"connection_id":153300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee16"} 
[2026-08-11 05:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319829248001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786405884000,"timestamp_ms":1786405884000,"timestamp_seconds":1786405884,"priority":1,"record_length":96,"hex_timestamp":"0000019fee169060"} 
[2026-08-11 05:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:26:59] 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-08-11 05: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-08-11 05:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:26:59] 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-08-11 05:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319829248001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319829248001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:26:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:26:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319829248001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":153300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:26:59] local.INFO: GPS data processed {"connection_id":153300,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:26:59] local.INFO: Acknowledgment sent {"connection_id":153300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:27:30] local.INFO: TCP Data received {"connection_id":153300,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:27:30] local.INFO: Processing buffer {"connection_id":153300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:27:30] local.INFO: Packet analysis {"connection_id":153300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:27:30] local.INFO: Extracted packet for processing {"connection_id":153300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:27: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-08-11 05:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319906304001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786406185000,"timestamp_ms":1786406185000,"timestamp_seconds":1786406185,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1b2828"} 
[2026-08-11 05:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:27: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:27:30] 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-08-11 05:27: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-08-11 05:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:27:30] 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-08-11 05:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319906304001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319906304001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:27:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:27:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319906304001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":153300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:27:30] local.INFO: GPS data processed {"connection_id":153300,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:27:30] local.INFO: Acknowledgment sent {"connection_id":153300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:27:58] local.INFO: TCP Data received {"connection_id":154696,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:27:58] local.INFO: Processing buffer {"connection_id":154696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:27:58] local.INFO: IMEI packet received {"connection_id":154696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":154696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:28:03] local.INFO: TCP Data received {"connection_id":154696,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:28:03] local.INFO: Processing buffer {"connection_id":154696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:28:03] local.INFO: IMEI packet received {"connection_id":154696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":154696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:28:04] local.INFO: TCP Data received {"connection_id":154696,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:28:04] local.INFO: Processing buffer {"connection_id":154696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:28:04] local.INFO: Packet analysis {"connection_id":154696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:28:04] local.INFO: Extracted packet for processing {"connection_id":154696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319906304001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786406185000,"timestamp_ms":1786406185000,"timestamp_seconds":1786406185,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1b2828"} 
[2026-08-11 05:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:28:04] 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-08-11 05: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-08-11 05:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:28: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-08-11 05:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319906304001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319906304001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:28:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:28:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319906304001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":154696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:28:04] local.INFO: GPS data processed {"connection_id":154696,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:28:04] local.INFO: Acknowledgment sent {"connection_id":154696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:28:35] local.INFO: TCP Data received {"connection_id":154696,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:28:35] local.INFO: Processing buffer {"connection_id":154696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:28:35] local.INFO: Packet analysis {"connection_id":154696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:28:35] local.INFO: Extracted packet for processing {"connection_id":154696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:28:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319906304001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786406185000,"timestamp_ms":1786406185000,"timestamp_seconds":1786406185,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1b2828"} 
[2026-08-11 05:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:28:35] 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-08-11 05: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-08-11 05:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:28: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-08-11 05:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319906304001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319906304001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:28:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:28:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319906304001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":154696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:28:35] local.INFO: GPS data processed {"connection_id":154696,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:28:35] local.INFO: Acknowledgment sent {"connection_id":154696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:28:53] local.INFO: TCP Data received {"connection_id":152367,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:28:53] local.INFO: Processing buffer {"connection_id":152367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:28:53] local.INFO: IMEI packet received {"connection_id":152367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":152367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:28:58] local.INFO: TCP Data received {"connection_id":152367,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:28:58] local.INFO: Processing buffer {"connection_id":152367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:28:58] local.INFO: IMEI packet received {"connection_id":152367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":152367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:28:59] local.INFO: TCP Data received {"connection_id":152367,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:28:59] local.INFO: Processing buffer {"connection_id":152367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:28:59] local.INFO: Packet analysis {"connection_id":152367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:28:59] local.INFO: Extracted packet for processing {"connection_id":152367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319906304001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786406185000,"timestamp_ms":1786406185000,"timestamp_seconds":1786406185,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1b2828"} 
[2026-08-11 05:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:28:59] 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-08-11 05: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-08-11 05:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:28:59] 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-08-11 05:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319906304001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319906304001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:28:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:28:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319906304001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":152367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:28:59] local.INFO: GPS data processed {"connection_id":152367,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:28:59] local.INFO: Acknowledgment sent {"connection_id":152367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:29:30] local.INFO: TCP Data received {"connection_id":152367,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:29:30] local.INFO: Processing buffer {"connection_id":152367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:29:30] local.INFO: Packet analysis {"connection_id":152367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:29:30] local.INFO: Extracted packet for processing {"connection_id":152367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319906304001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786406185000,"timestamp_ms":1786406185000,"timestamp_seconds":1786406185,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1b2828"} 
[2026-08-11 05:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:29:30] 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-08-11 05: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-08-11 05:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:29:30] 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-08-11 05:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319906304001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319906304001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:29:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:29:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319906304001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":152367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:29:30] local.INFO: GPS data processed {"connection_id":152367,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:29:30] local.INFO: Acknowledgment sent {"connection_id":152367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:29:54] local.INFO: TCP Data received {"connection_id":153301,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:29:54] local.INFO: Processing buffer {"connection_id":153301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:29:54] local.INFO: IMEI packet received {"connection_id":153301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":153301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:29:58] local.INFO: TCP Data received {"connection_id":153301,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:29:58] local.INFO: Processing buffer {"connection_id":153301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:29:58] local.INFO: IMEI packet received {"connection_id":153301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":153301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:29:59] local.INFO: TCP Data received {"connection_id":153301,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:29:59] local.INFO: Processing buffer {"connection_id":153301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:29:59] local.INFO: Packet analysis {"connection_id":153301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:29:59] local.INFO: Extracted packet for processing {"connection_id":153301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319906304001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786406185000,"timestamp_ms":1786406185000,"timestamp_seconds":1786406185,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1b2828"} 
[2026-08-11 05:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:29:59] 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-08-11 05: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-08-11 05:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:29:59] 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-08-11 05:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319906304001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319906304001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:29:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:29:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319906304001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":153301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:29:59] local.INFO: GPS data processed {"connection_id":153301,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:29:59] local.INFO: Acknowledgment sent {"connection_id":153301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:30:30] local.INFO: TCP Data received {"connection_id":153301,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:30:30] local.INFO: Processing buffer {"connection_id":153301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:30:30] local.INFO: Packet analysis {"connection_id":153301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:30:30] local.INFO: Extracted packet for processing {"connection_id":153301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319906304001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786406185000,"timestamp_ms":1786406185000,"timestamp_seconds":1786406185,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1b2828"} 
[2026-08-11 05:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:30:30] 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-08-11 05: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-08-11 05:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:30:30] 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-08-11 05:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319906304001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319906304001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:30:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:30:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319906304001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":153301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:30:30] local.INFO: GPS data processed {"connection_id":153301,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:30:30] local.INFO: Acknowledgment sent {"connection_id":153301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:30:53] local.INFO: TCP Data received {"connection_id":152368,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:30:53] local.INFO: Processing buffer {"connection_id":152368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:30:53] local.INFO: IMEI packet received {"connection_id":152368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":152368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:30:58] local.INFO: TCP Data received {"connection_id":152368,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:30:58] local.INFO: Processing buffer {"connection_id":152368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:30:58] local.INFO: IMEI packet received {"connection_id":152368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":152368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:30:59] local.INFO: TCP Data received {"connection_id":152368,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:30:59] local.INFO: Processing buffer {"connection_id":152368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:30:59] local.INFO: Packet analysis {"connection_id":152368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:30:59] local.INFO: Extracted packet for processing {"connection_id":152368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319906304001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786406185000,"timestamp_ms":1786406185000,"timestamp_seconds":1786406185,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1b2828"} 
[2026-08-11 05:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:30:59] 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-08-11 05: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-08-11 05:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:30:59] 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-08-11 05:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319906304001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319906304001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:30:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:30:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319906304001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":152368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:30:59] local.INFO: GPS data processed {"connection_id":152368,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:30:59] local.INFO: Acknowledgment sent {"connection_id":152368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:31:30] local.INFO: TCP Data received {"connection_id":152368,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:31:30] local.INFO: Processing buffer {"connection_id":152368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:31:30] local.INFO: Packet analysis {"connection_id":152368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:31:30] local.INFO: Extracted packet for processing {"connection_id":152368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:31: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-08-11 05:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319906304001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786406185000,"timestamp_ms":1786406185000,"timestamp_seconds":1786406185,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1b2828"} 
[2026-08-11 05:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:31: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:31:30] 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-08-11 05:31: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-08-11 05:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:31:30] 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-08-11 05:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319906304001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319906304001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:31:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:31:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319906304001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":152368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:31:30] local.INFO: GPS data processed {"connection_id":152368,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:31:30] local.INFO: Acknowledgment sent {"connection_id":152368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:31:53] local.INFO: TCP Data received {"connection_id":154697,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:31:53] local.INFO: Processing buffer {"connection_id":154697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:31:53] local.INFO: IMEI packet received {"connection_id":154697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":154697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:31:58] local.INFO: TCP Data received {"connection_id":154697,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:31:58] local.INFO: Processing buffer {"connection_id":154697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:31:58] local.INFO: IMEI packet received {"connection_id":154697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":154697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:31:59] local.INFO: TCP Data received {"connection_id":154697,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:31:59] local.INFO: Processing buffer {"connection_id":154697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1b2828012d840d40061d6f20000c006f30..."} 
[2026-08-11 05:31:59] local.INFO: Packet analysis {"connection_id":154697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:31:59] local.INFO: Extracted packet for processing {"connection_id":154697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1b"} 
[2026-08-11 05:31:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319906304001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786406185000,"timestamp_ms":1786406185000,"timestamp_seconds":1786406185,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1b2828"} 
[2026-08-11 05:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:31:59] 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-08-11 05: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-08-11 05:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:31:59] 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-08-11 05:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319906304001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319906304001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:31:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:31:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319906304001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":154697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:31:59] local.INFO: GPS data processed {"connection_id":154697,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:31:59] local.INFO: Acknowledgment sent {"connection_id":154697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:32:30] local.INFO: TCP Data received {"connection_id":154697,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:32:30] local.INFO: Processing buffer {"connection_id":154697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:32:30] local.INFO: Packet analysis {"connection_id":154697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:32:30] local.INFO: Extracted packet for processing {"connection_id":154697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:32:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319983360001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786406486000,"timestamp_ms":1786406486000,"timestamp_seconds":1786406486,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1fbff0"} 
[2026-08-11 05:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:32:30] 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-08-11 05: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-08-11 05:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:32:30] 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-08-11 05:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319983360001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319983360001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:32:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:32:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319983360001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":154697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:32:30] local.INFO: GPS data processed {"connection_id":154697,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:32:30] local.INFO: Acknowledgment sent {"connection_id":154697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:32:58] local.INFO: TCP Data received {"connection_id":154698,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:32:58] local.INFO: Processing buffer {"connection_id":154698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:32:58] local.INFO: IMEI packet received {"connection_id":154698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":154698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:33:03] local.INFO: TCP Data received {"connection_id":154698,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:33:03] local.INFO: Processing buffer {"connection_id":154698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:33:03] local.INFO: IMEI packet received {"connection_id":154698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":154698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:33:04] local.INFO: TCP Data received {"connection_id":154698,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:33:04] local.INFO: Processing buffer {"connection_id":154698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:33:04] local.INFO: Packet analysis {"connection_id":154698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:33:04] local.INFO: Extracted packet for processing {"connection_id":154698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319983360001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786406486000,"timestamp_ms":1786406486000,"timestamp_seconds":1786406486,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1fbff0"} 
[2026-08-11 05:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:33:04] 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-08-11 05: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-08-11 05:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:33:04] 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-08-11 05:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319983360001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319983360001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:33:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:33:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319983360001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":154698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:33:04] local.INFO: GPS data processed {"connection_id":154698,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:33:04] local.INFO: Acknowledgment sent {"connection_id":154698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:33:09] local.INFO: TCP Data received {"connection_id":154698,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:33:09] local.INFO: Processing buffer {"connection_id":154698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:33:09] local.INFO: Packet analysis {"connection_id":154698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:33:09] local.INFO: Extracted packet for processing {"connection_id":154698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319983360001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786406486000,"timestamp_ms":1786406486000,"timestamp_seconds":1786406486,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1fbff0"} 
[2026-08-11 05:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:33:09] 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-08-11 05: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-08-11 05:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:33:09] 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-08-11 05:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319983360001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319983360001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:33:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:33:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319983360001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":154698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:33:09] local.INFO: GPS data processed {"connection_id":154698,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:33:09] local.INFO: Acknowledgment sent {"connection_id":154698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:33:53] local.INFO: TCP Data received {"connection_id":153302,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:33:53] local.INFO: Processing buffer {"connection_id":153302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:33:53] local.INFO: IMEI packet received {"connection_id":153302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":153302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:33:58] local.INFO: TCP Data received {"connection_id":153302,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:33:58] local.INFO: Processing buffer {"connection_id":153302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:33:58] local.INFO: IMEI packet received {"connection_id":153302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":153302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:33:59] local.INFO: TCP Data received {"connection_id":153302,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:33:59] local.INFO: Processing buffer {"connection_id":153302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:33:59] local.INFO: Packet analysis {"connection_id":153302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:33:59] local.INFO: Extracted packet for processing {"connection_id":153302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319983360001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786406486000,"timestamp_ms":1786406486000,"timestamp_seconds":1786406486,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1fbff0"} 
[2026-08-11 05:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:33:59] 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-08-11 05: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-08-11 05:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:33:59] 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-08-11 05:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319983360001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319983360001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:33:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:33:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319983360001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":153302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:33:59] local.INFO: GPS data processed {"connection_id":153302,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:33:59] local.INFO: Acknowledgment sent {"connection_id":153302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:34:30] local.INFO: TCP Data received {"connection_id":153302,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:34:30] local.INFO: Processing buffer {"connection_id":153302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:34:30] local.INFO: Packet analysis {"connection_id":153302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:34:30] local.INFO: Extracted packet for processing {"connection_id":153302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319983360001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786406486000,"timestamp_ms":1786406486000,"timestamp_seconds":1786406486,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1fbff0"} 
[2026-08-11 05:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:34:30] 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-08-11 05: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-08-11 05:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:34:30] 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-08-11 05:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319983360001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319983360001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:34:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:34:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319983360001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":153302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:34:30] local.INFO: GPS data processed {"connection_id":153302,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:34:30] local.INFO: Acknowledgment sent {"connection_id":153302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:34:53] local.INFO: TCP Data received {"connection_id":154699,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:34:53] local.INFO: Processing buffer {"connection_id":154699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:34:53] local.INFO: IMEI packet received {"connection_id":154699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":154699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:34:58] local.INFO: TCP Data received {"connection_id":154699,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:34:58] local.INFO: Processing buffer {"connection_id":154699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:34:58] local.INFO: IMEI packet received {"connection_id":154699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":154699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:34:59] local.INFO: TCP Data received {"connection_id":154699,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:34:59] local.INFO: Processing buffer {"connection_id":154699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:34:59] local.INFO: Packet analysis {"connection_id":154699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:34:59] local.INFO: Extracted packet for processing {"connection_id":154699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:34:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:34: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-08-11 05:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319983360001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786406486000,"timestamp_ms":1786406486000,"timestamp_seconds":1786406486,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1fbff0"} 
[2026-08-11 05:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:34: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":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:34:59] 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-08-11 05:34: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-08-11 05:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:34:59] 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-08-11 05:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319983360001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319983360001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:34:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:34:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319983360001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":154699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:34:59] local.INFO: GPS data processed {"connection_id":154699,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:34:59] local.INFO: Acknowledgment sent {"connection_id":154699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:35:30] local.INFO: TCP Data received {"connection_id":154699,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:35:30] local.INFO: Processing buffer {"connection_id":154699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:35:30] local.INFO: Packet analysis {"connection_id":154699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:35:30] local.INFO: Extracted packet for processing {"connection_id":154699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:35:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:35: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-08-11 05:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319983360001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786406486000,"timestamp_ms":1786406486000,"timestamp_seconds":1786406486,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1fbff0"} 
[2026-08-11 05:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:35: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":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:35:30] 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-08-11 05:35: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-08-11 05:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:35:30] 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-08-11 05:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319983360001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319983360001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:35:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:35:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319983360001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":154699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:35:30] local.INFO: GPS data processed {"connection_id":154699,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:35:30] local.INFO: Acknowledgment sent {"connection_id":154699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:35:54] local.INFO: TCP Data received {"connection_id":152369,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:35:54] local.INFO: Processing buffer {"connection_id":152369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:35:54] local.INFO: IMEI packet received {"connection_id":152369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":152369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:35:58] local.INFO: TCP Data received {"connection_id":152369,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:35:58] local.INFO: Processing buffer {"connection_id":152369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:35:58] local.INFO: IMEI packet received {"connection_id":152369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":152369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:35:59] local.INFO: TCP Data received {"connection_id":152369,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:35:59] local.INFO: Processing buffer {"connection_id":152369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:35:59] local.INFO: Packet analysis {"connection_id":152369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:35:59] local.INFO: Extracted packet for processing {"connection_id":152369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319983360001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786406486000,"timestamp_ms":1786406486000,"timestamp_seconds":1786406486,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1fbff0"} 
[2026-08-11 05:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:35:59] 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-08-11 05: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-08-11 05:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:35:59] 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-08-11 05:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319983360001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319983360001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:35:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:35:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319983360001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":152369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:35:59] local.INFO: GPS data processed {"connection_id":152369,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:35:59] local.INFO: Acknowledgment sent {"connection_id":152369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:36:32] local.INFO: TCP Data received {"connection_id":152369,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:36:33] local.INFO: Processing buffer {"connection_id":152369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:36:33] local.INFO: Packet analysis {"connection_id":152369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:36:33] local.INFO: Extracted packet for processing {"connection_id":152369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:36: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-08-11 05:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319983360001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786406486000,"timestamp_ms":1786406486000,"timestamp_seconds":1786406486,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1fbff0"} 
[2026-08-11 05:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:36: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:36:33] 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-08-11 05:36: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-08-11 05:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:36:33] 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-08-11 05:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319983360001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319983360001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:36:33] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:36:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319983360001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":152369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:36:33] local.INFO: GPS data processed {"connection_id":152369,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:36:33] local.INFO: Acknowledgment sent {"connection_id":152369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:36:53] local.INFO: TCP Data received {"connection_id":154700,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:36:53] local.INFO: Processing buffer {"connection_id":154700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:36:53] local.INFO: IMEI packet received {"connection_id":154700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":154700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:36:58] local.INFO: TCP Data received {"connection_id":154700,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:36:58] local.INFO: Processing buffer {"connection_id":154700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:36:58] local.INFO: IMEI packet received {"connection_id":154700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":154700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:36:59] local.INFO: TCP Data received {"connection_id":154700,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:36:59] local.INFO: Processing buffer {"connection_id":154700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee1fbff0012d840d40061d6f20000c006f34..."} 
[2026-08-11 05:36:59] local.INFO: Packet analysis {"connection_id":154700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:36:59] local.INFO: Extracted packet for processing {"connection_id":154700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee1f"} 
[2026-08-11 05:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457319983360001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786406486000,"timestamp_ms":1786406486000,"timestamp_seconds":1786406486,"priority":1,"record_length":96,"hex_timestamp":"0000019fee1fbff0"} 
[2026-08-11 05:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:36:59] 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-08-11 05: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-08-11 05:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:36:59] 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-08-11 05:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457319983360001,"66":25712,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457319983360001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:36:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:36:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457319983360001,"power":25712,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":154700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:36:59] local.INFO: GPS data processed {"connection_id":154700,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:36:59] local.INFO: Acknowledgment sent {"connection_id":154700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:37:30] local.INFO: TCP Data received {"connection_id":154700,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:37:30] local.INFO: Processing buffer {"connection_id":154700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:37:30] local.INFO: Packet analysis {"connection_id":154700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:37:30] local.INFO: Extracted packet for processing {"connection_id":154700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320060416001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786406787000,"timestamp_ms":1786406787000,"timestamp_seconds":1786406787,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2457b8"} 
[2026-08-11 05:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:37:30] 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-08-11 05: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-08-11 05:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:37:30] 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-08-11 05:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320060416001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320060416001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:37:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:37:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320060416001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":154700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:37:30] local.INFO: GPS data processed {"connection_id":154700,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:37:30] local.INFO: Acknowledgment sent {"connection_id":154700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:37:53] local.INFO: TCP Data received {"connection_id":154701,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:37:53] local.INFO: Processing buffer {"connection_id":154701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:37:53] local.INFO: IMEI packet received {"connection_id":154701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":154701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:37:58] local.INFO: TCP Data received {"connection_id":154701,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:37:58] local.INFO: Processing buffer {"connection_id":154701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:37:58] local.INFO: IMEI packet received {"connection_id":154701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":154701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:37:59] local.INFO: TCP Data received {"connection_id":154701,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:37:59] local.INFO: Processing buffer {"connection_id":154701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:37:59] local.INFO: Packet analysis {"connection_id":154701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:37:59] local.INFO: Extracted packet for processing {"connection_id":154701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320060416001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786406787000,"timestamp_ms":1786406787000,"timestamp_seconds":1786406787,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2457b8"} 
[2026-08-11 05:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:37:59] 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-08-11 05:37: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-08-11 05:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:37:59] 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-08-11 05:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320060416001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320060416001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:37:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:37:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320060416001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":154701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:37:59] local.INFO: GPS data processed {"connection_id":154701,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:37:59] local.INFO: Acknowledgment sent {"connection_id":154701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:38:30] local.INFO: TCP Data received {"connection_id":154701,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:38:30] local.INFO: Processing buffer {"connection_id":154701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:38:30] local.INFO: Packet analysis {"connection_id":154701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:38:30] local.INFO: Extracted packet for processing {"connection_id":154701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:38: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-08-11 05:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320060416001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786406787000,"timestamp_ms":1786406787000,"timestamp_seconds":1786406787,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2457b8"} 
[2026-08-11 05:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:38: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":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:38:30] 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-08-11 05:38: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-08-11 05:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:38:30] 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-08-11 05:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320060416001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320060416001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:38:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:38:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320060416001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":154701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:38:30] local.INFO: GPS data processed {"connection_id":154701,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:38:30] local.INFO: Acknowledgment sent {"connection_id":154701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:38:53] local.INFO: TCP Data received {"connection_id":153303,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:38:53] local.INFO: Processing buffer {"connection_id":153303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:38:53] local.INFO: IMEI packet received {"connection_id":153303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":153303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:38:58] local.INFO: TCP Data received {"connection_id":153303,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:38:58] local.INFO: Processing buffer {"connection_id":153303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:38:58] local.INFO: IMEI packet received {"connection_id":153303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":153303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:38:59] local.INFO: TCP Data received {"connection_id":153303,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:38:59] local.INFO: Processing buffer {"connection_id":153303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:38:59] local.INFO: Packet analysis {"connection_id":153303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:38:59] local.INFO: Extracted packet for processing {"connection_id":153303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320060416001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786406787000,"timestamp_ms":1786406787000,"timestamp_seconds":1786406787,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2457b8"} 
[2026-08-11 05:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:38:59] 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-08-11 05:38: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-08-11 05:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:38:59] 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-08-11 05:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320060416001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320060416001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:38:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:38:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320060416001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":153303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:38:59] local.INFO: GPS data processed {"connection_id":153303,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:38:59] local.INFO: Acknowledgment sent {"connection_id":153303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:39:30] local.INFO: TCP Data received {"connection_id":153303,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:39:30] local.INFO: Processing buffer {"connection_id":153303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:39:30] local.INFO: Packet analysis {"connection_id":153303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:39:30] local.INFO: Extracted packet for processing {"connection_id":153303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:39: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-08-11 05:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320060416001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786406787000,"timestamp_ms":1786406787000,"timestamp_seconds":1786406787,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2457b8"} 
[2026-08-11 05:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:39: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":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:39:30] 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-08-11 05:39: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-08-11 05:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:39:30] 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-08-11 05:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320060416001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320060416001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:39:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:39:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320060416001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":153303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:39:30] local.INFO: GPS data processed {"connection_id":153303,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:39:30] local.INFO: Acknowledgment sent {"connection_id":153303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:39:53] local.INFO: TCP Data received {"connection_id":151972,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:39:53] local.INFO: Processing buffer {"connection_id":151972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:39:53] local.INFO: IMEI packet received {"connection_id":151972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":151972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:39:58] local.INFO: TCP Data received {"connection_id":151972,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:39:58] local.INFO: Processing buffer {"connection_id":151972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:39:58] local.INFO: IMEI packet received {"connection_id":151972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":151972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:39:59] local.INFO: TCP Data received {"connection_id":151972,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:39:59] local.INFO: Processing buffer {"connection_id":151972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:39:59] local.INFO: Packet analysis {"connection_id":151972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:39:59] local.INFO: Extracted packet for processing {"connection_id":151972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:39: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-08-11 05:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320060416001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786406787000,"timestamp_ms":1786406787000,"timestamp_seconds":1786406787,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2457b8"} 
[2026-08-11 05:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:39: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":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:39:59] 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-08-11 05:39: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-08-11 05:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:39:59] 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-08-11 05:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320060416001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320060416001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:39:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:39:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320060416001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":151972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:39:59] local.INFO: GPS data processed {"connection_id":151972,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:39:59] local.INFO: Acknowledgment sent {"connection_id":151972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:40:30] local.INFO: TCP Data received {"connection_id":151972,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:40:30] local.INFO: Processing buffer {"connection_id":151972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:40:30] local.INFO: Packet analysis {"connection_id":151972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:40:30] local.INFO: Extracted packet for processing {"connection_id":151972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:40:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:40: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-08-11 05:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320060416001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786406787000,"timestamp_ms":1786406787000,"timestamp_seconds":1786406787,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2457b8"} 
[2026-08-11 05:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:40: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":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:40:30] 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-08-11 05:40: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-08-11 05:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:40:30] 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-08-11 05:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320060416001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320060416001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:40:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:40:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320060416001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":151972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:40:30] local.INFO: GPS data processed {"connection_id":151972,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:40:30] local.INFO: Acknowledgment sent {"connection_id":151972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:40:54] local.INFO: TCP Data received {"connection_id":152370,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:40:54] local.INFO: Processing buffer {"connection_id":152370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:40:54] local.INFO: IMEI packet received {"connection_id":152370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":152370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:40:58] local.INFO: TCP Data received {"connection_id":152370,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:40:58] local.INFO: Processing buffer {"connection_id":152370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:40:58] local.INFO: IMEI packet received {"connection_id":152370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":152370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:40:59] local.INFO: TCP Data received {"connection_id":152370,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:40:59] local.INFO: Processing buffer {"connection_id":152370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:40:59] local.INFO: Packet analysis {"connection_id":152370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:40:59] local.INFO: Extracted packet for processing {"connection_id":152370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320060416001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786406787000,"timestamp_ms":1786406787000,"timestamp_seconds":1786406787,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2457b8"} 
[2026-08-11 05:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:40:59] 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-08-11 05: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-08-11 05:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:40:59] 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-08-11 05:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320060416001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320060416001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:40:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:40:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320060416001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":152370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:40:59] local.INFO: GPS data processed {"connection_id":152370,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:40:59] local.INFO: Acknowledgment sent {"connection_id":152370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:41:30] local.INFO: TCP Data received {"connection_id":152370,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:41:30] local.INFO: Processing buffer {"connection_id":152370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:41:30] local.INFO: Packet analysis {"connection_id":152370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:41:30] local.INFO: Extracted packet for processing {"connection_id":152370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:41: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-08-11 05:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320060416001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786406787000,"timestamp_ms":1786406787000,"timestamp_seconds":1786406787,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2457b8"} 
[2026-08-11 05:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:41: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":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:41:30] 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-08-11 05:41: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-08-11 05:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:41:30] 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-08-11 05:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320060416001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320060416001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:41:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:41:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320060416001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":152370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:41:30] local.INFO: GPS data processed {"connection_id":152370,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:41:30] local.INFO: Acknowledgment sent {"connection_id":152370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:41:53] local.INFO: TCP Data received {"connection_id":153304,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:41:53] local.INFO: Processing buffer {"connection_id":153304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:41:53] local.INFO: IMEI packet received {"connection_id":153304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":153304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:41:58] local.INFO: TCP Data received {"connection_id":153304,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:41:58] local.INFO: Processing buffer {"connection_id":153304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:41:58] local.INFO: IMEI packet received {"connection_id":153304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":153304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:41:59] local.INFO: TCP Data received {"connection_id":153304,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:41:59] local.INFO: Processing buffer {"connection_id":153304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2457b8012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:41:59] local.INFO: Packet analysis {"connection_id":153304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:41:59] local.INFO: Extracted packet for processing {"connection_id":153304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee24"} 
[2026-08-11 05:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:41: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-08-11 05:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320060416001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786406787000,"timestamp_ms":1786406787000,"timestamp_seconds":1786406787,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2457b8"} 
[2026-08-11 05:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:41: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":112,"data_length":795,"current_offset":136} 
[2026-08-11 05:41:59] 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-08-11 05:41: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-08-11 05:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:41:59] 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-08-11 05:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320060416001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320060416001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:41:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:41:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320060416001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":153304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:41:59] local.INFO: GPS data processed {"connection_id":153304,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:41:59] local.INFO: Acknowledgment sent {"connection_id":153304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:42:30] local.INFO: TCP Data received {"connection_id":153304,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:42:30] local.INFO: Processing buffer {"connection_id":153304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:42:30] local.INFO: Packet analysis {"connection_id":153304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:42:30] local.INFO: Extracted packet for processing {"connection_id":153304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:42: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-08-11 05:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320137472001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786407088000,"timestamp_ms":1786407088000,"timestamp_seconds":1786407088,"priority":1,"record_length":96,"hex_timestamp":"0000019fee28ef80"} 
[2026-08-11 05:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:42: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:42:30] 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-08-11 05:42: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-08-11 05:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:42:30] 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-08-11 05:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320137472001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320137472001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:42:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:42:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320137472001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":153304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:42:30] local.INFO: GPS data processed {"connection_id":153304,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:42:30] local.INFO: Acknowledgment sent {"connection_id":153304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:42:58] local.INFO: TCP Data received {"connection_id":154702,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:42:58] local.INFO: Processing buffer {"connection_id":154702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:42:58] local.INFO: IMEI packet received {"connection_id":154702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":154702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:43:03] local.INFO: TCP Data received {"connection_id":154702,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:43:03] local.INFO: Processing buffer {"connection_id":154702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:43:03] local.INFO: IMEI packet received {"connection_id":154702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":154702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:43:29] local.INFO: TCP Data received {"connection_id":154702,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:43:29] local.INFO: Processing buffer {"connection_id":154702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:43:29] local.INFO: Packet analysis {"connection_id":154702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:43:29] local.INFO: Extracted packet for processing {"connection_id":154702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:43:29] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320137472001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786407088000,"timestamp_ms":1786407088000,"timestamp_seconds":1786407088,"priority":1,"record_length":96,"hex_timestamp":"0000019fee28ef80"} 
[2026-08-11 05:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:43:29] 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-08-11 05: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-08-11 05:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":154702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":154702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":154702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:43:29] 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-08-11 05:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320137472001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320137472001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:43:29] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:43:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320137472001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":154702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:43:29] local.INFO: GPS data processed {"connection_id":154702,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:43:29] local.INFO: Acknowledgment sent {"connection_id":154702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:43:29] local.INFO: TCP Data received {"connection_id":154702,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:43:29] local.INFO: Processing buffer {"connection_id":154702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:43:29] local.INFO: Packet analysis {"connection_id":154702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:43:29] local.INFO: Extracted packet for processing {"connection_id":154702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:43:29] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320137472001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786407088000,"timestamp_ms":1786407088000,"timestamp_seconds":1786407088,"priority":1,"record_length":96,"hex_timestamp":"0000019fee28ef80"} 
[2026-08-11 05:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:43:29] 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-08-11 05: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-08-11 05:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":154702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":154702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":154702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:43:29] 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-08-11 05:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320137472001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320137472001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:43:29] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:43:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320137472001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":154702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:43:29] local.INFO: GPS data processed {"connection_id":154702,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:43:29] local.INFO: Acknowledgment sent {"connection_id":154702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:43:53] local.INFO: TCP Data received {"connection_id":153305,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:43:53] local.INFO: Processing buffer {"connection_id":153305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:43:53] local.INFO: IMEI packet received {"connection_id":153305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":153305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:43:58] local.INFO: TCP Data received {"connection_id":153305,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:43:58] local.INFO: Processing buffer {"connection_id":153305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:43:58] local.INFO: IMEI packet received {"connection_id":153305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":153305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:43:59] local.INFO: TCP Data received {"connection_id":153305,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:43:59] local.INFO: Processing buffer {"connection_id":153305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:43:59] local.INFO: Packet analysis {"connection_id":153305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:43:59] local.INFO: Extracted packet for processing {"connection_id":153305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:43:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320137472001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786407088000,"timestamp_ms":1786407088000,"timestamp_seconds":1786407088,"priority":1,"record_length":96,"hex_timestamp":"0000019fee28ef80"} 
[2026-08-11 05:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:43:59] 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-08-11 05: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-08-11 05:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:43:59] 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-08-11 05:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320137472001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320137472001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:43:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:43:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320137472001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":153305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:43:59] local.INFO: GPS data processed {"connection_id":153305,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:43:59] local.INFO: Acknowledgment sent {"connection_id":153305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:44:30] local.INFO: TCP Data received {"connection_id":153305,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:44:30] local.INFO: Processing buffer {"connection_id":153305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:44:30] local.INFO: Packet analysis {"connection_id":153305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:44:30] local.INFO: Extracted packet for processing {"connection_id":153305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:44:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320137472001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786407088000,"timestamp_ms":1786407088000,"timestamp_seconds":1786407088,"priority":1,"record_length":96,"hex_timestamp":"0000019fee28ef80"} 
[2026-08-11 05:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:44:30] 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-08-11 05:44: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-08-11 05:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:44:30] 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-08-11 05:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320137472001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320137472001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:44:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:44:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320137472001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":153305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:44:30] local.INFO: GPS data processed {"connection_id":153305,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:44:30] local.INFO: Acknowledgment sent {"connection_id":153305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:44:53] local.INFO: TCP Data received {"connection_id":153306,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:44:53] local.INFO: Processing buffer {"connection_id":153306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:44:53] local.INFO: IMEI packet received {"connection_id":153306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":153306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:44:58] local.INFO: TCP Data received {"connection_id":153306,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:44:58] local.INFO: Processing buffer {"connection_id":153306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:44:58] local.INFO: IMEI packet received {"connection_id":153306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":153306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:44:59] local.INFO: TCP Data received {"connection_id":153306,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:44:59] local.INFO: Processing buffer {"connection_id":153306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:44:59] local.INFO: Packet analysis {"connection_id":153306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:44:59] local.INFO: Extracted packet for processing {"connection_id":153306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320137472001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786407088000,"timestamp_ms":1786407088000,"timestamp_seconds":1786407088,"priority":1,"record_length":96,"hex_timestamp":"0000019fee28ef80"} 
[2026-08-11 05:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:44:59] 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-08-11 05: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-08-11 05:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:44:59] 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-08-11 05:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320137472001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320137472001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:44:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:44:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320137472001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":153306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:44:59] local.INFO: GPS data processed {"connection_id":153306,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:44:59] local.INFO: Acknowledgment sent {"connection_id":153306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:45:30] local.INFO: TCP Data received {"connection_id":153306,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:45:30] local.INFO: Processing buffer {"connection_id":153306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:45:30] local.INFO: Packet analysis {"connection_id":153306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:45:30] local.INFO: Extracted packet for processing {"connection_id":153306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:45:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320137472001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786407088000,"timestamp_ms":1786407088000,"timestamp_seconds":1786407088,"priority":1,"record_length":96,"hex_timestamp":"0000019fee28ef80"} 
[2026-08-11 05:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:45:30] 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-08-11 05: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-08-11 05:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:45:30] 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-08-11 05:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320137472001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320137472001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:45:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:45:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320137472001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":153306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:45:30] local.INFO: GPS data processed {"connection_id":153306,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:45:30] local.INFO: Acknowledgment sent {"connection_id":153306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:45:53] local.INFO: TCP Data received {"connection_id":151973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:45:53] local.INFO: Processing buffer {"connection_id":151973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:45:53] local.INFO: IMEI packet received {"connection_id":151973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":151973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:45:58] local.INFO: TCP Data received {"connection_id":151973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:45:58] local.INFO: Processing buffer {"connection_id":151973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:45:58] local.INFO: IMEI packet received {"connection_id":151973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":151973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:45:59] local.INFO: TCP Data received {"connection_id":151973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:45:59] local.INFO: Processing buffer {"connection_id":151973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:45:59] local.INFO: Packet analysis {"connection_id":151973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:45:59] local.INFO: Extracted packet for processing {"connection_id":151973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320137472001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786407088000,"timestamp_ms":1786407088000,"timestamp_seconds":1786407088,"priority":1,"record_length":96,"hex_timestamp":"0000019fee28ef80"} 
[2026-08-11 05:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:45:59] 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-08-11 05: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-08-11 05:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 05:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320137472001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320137472001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:45:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:45:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320137472001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":151973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:45:59] local.INFO: GPS data processed {"connection_id":151973,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:45:59] local.INFO: Acknowledgment sent {"connection_id":151973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:46:29] local.INFO: TCP Data received {"connection_id":151973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:46:29] local.INFO: Processing buffer {"connection_id":151973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:46:29] local.INFO: Packet analysis {"connection_id":151973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:46:29] local.INFO: Extracted packet for processing {"connection_id":151973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:46:29] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:46: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-08-11 05:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320137472001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786407088000,"timestamp_ms":1786407088000,"timestamp_seconds":1786407088,"priority":1,"record_length":96,"hex_timestamp":"0000019fee28ef80"} 
[2026-08-11 05:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:46: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:46:29] 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-08-11 05:46: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-08-11 05:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 05:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320137472001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320137472001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:46:29] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:46:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320137472001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":151973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:46:29] local.INFO: GPS data processed {"connection_id":151973,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:46:29] local.INFO: Acknowledgment sent {"connection_id":151973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:46:53] local.INFO: TCP Data received {"connection_id":153307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:46:53] local.INFO: Processing buffer {"connection_id":153307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:46:53] local.INFO: IMEI packet received {"connection_id":153307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":153307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:46:58] local.INFO: TCP Data received {"connection_id":153307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:46:58] local.INFO: Processing buffer {"connection_id":153307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:46:58] local.INFO: IMEI packet received {"connection_id":153307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":153307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:46:59] local.INFO: TCP Data received {"connection_id":153307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:46:59] local.INFO: Processing buffer {"connection_id":153307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee28ef80012d840d40061d6f20000c006f33..."} 
[2026-08-11 05:46:59] local.INFO: Packet analysis {"connection_id":153307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:46:59] local.INFO: Extracted packet for processing {"connection_id":153307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee28"} 
[2026-08-11 05:46:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320137472001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786407088000,"timestamp_ms":1786407088000,"timestamp_seconds":1786407088,"priority":1,"record_length":96,"hex_timestamp":"0000019fee28ef80"} 
[2026-08-11 05:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:46:59] 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-08-11 05: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-08-11 05:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 05:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320137472001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320137472001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:46:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:46:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320137472001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":153307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:46:59] local.INFO: GPS data processed {"connection_id":153307,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:46:59] local.INFO: Acknowledgment sent {"connection_id":153307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:47:29] local.INFO: TCP Data received {"connection_id":153307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:47:29] local.INFO: Processing buffer {"connection_id":153307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:47:29] local.INFO: Packet analysis {"connection_id":153307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:47:29] local.INFO: Extracted packet for processing {"connection_id":153307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:47:29] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:47: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-08-11 05:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320214528001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786407389000,"timestamp_ms":1786407389000,"timestamp_seconds":1786407389,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2d8748"} 
[2026-08-11 05:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:47: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:47:29] 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-08-11 05:47: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-08-11 05:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 05:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320214528001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320214528001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:47:29] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:47:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320214528001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":153307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:47:29] local.INFO: GPS data processed {"connection_id":153307,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:47:29] local.INFO: Acknowledgment sent {"connection_id":153307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:47:53] local.INFO: TCP Data received {"connection_id":152371,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:47:53] local.INFO: Processing buffer {"connection_id":152371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:47:53] local.INFO: IMEI packet received {"connection_id":152371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":152371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:47:58] local.INFO: TCP Data received {"connection_id":152371,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:47:58] local.INFO: Processing buffer {"connection_id":152371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:47:58] local.INFO: IMEI packet received {"connection_id":152371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":152371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:47:59] local.INFO: TCP Data received {"connection_id":152371,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:47:59] local.INFO: Processing buffer {"connection_id":152371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:47:59] local.INFO: Packet analysis {"connection_id":152371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:47:59] local.INFO: Extracted packet for processing {"connection_id":152371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320214528001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786407389000,"timestamp_ms":1786407389000,"timestamp_seconds":1786407389,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2d8748"} 
[2026-08-11 05:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:47:59] 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-08-11 05: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-08-11 05:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:47:59] 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-08-11 05:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320214528001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320214528001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:47:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:47:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320214528001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":152371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:47:59] local.INFO: GPS data processed {"connection_id":152371,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:47:59] local.INFO: Acknowledgment sent {"connection_id":152371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:48:30] local.INFO: TCP Data received {"connection_id":152371,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:48:30] local.INFO: Processing buffer {"connection_id":152371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:48:30] local.INFO: Packet analysis {"connection_id":152371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:48:30] local.INFO: Extracted packet for processing {"connection_id":152371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:48:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:48: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-08-11 05:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320214528001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786407389000,"timestamp_ms":1786407389000,"timestamp_seconds":1786407389,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2d8748"} 
[2026-08-11 05:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:48: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:48:30] 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-08-11 05:48: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-08-11 05:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:48:30] 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-08-11 05:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320214528001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320214528001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:48:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:48:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320214528001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":152371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:48:30] local.INFO: GPS data processed {"connection_id":152371,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:48:30] local.INFO: Acknowledgment sent {"connection_id":152371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:48:58] local.INFO: TCP Data received {"connection_id":152372,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:48:58] local.INFO: Processing buffer {"connection_id":152372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:48:58] local.INFO: IMEI packet received {"connection_id":152372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":152372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:49:03] local.INFO: TCP Data received {"connection_id":152372,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:49:03] local.INFO: Processing buffer {"connection_id":152372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:49:03] local.INFO: IMEI packet received {"connection_id":152372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":152372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:49:04] local.INFO: TCP Data received {"connection_id":152372,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:49:04] local.INFO: Processing buffer {"connection_id":152372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:49:04] local.INFO: Packet analysis {"connection_id":152372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:49:04] local.INFO: Extracted packet for processing {"connection_id":152372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320214528001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786407389000,"timestamp_ms":1786407389000,"timestamp_seconds":1786407389,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2d8748"} 
[2026-08-11 05:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:49:04] 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-08-11 05: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-08-11 05:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:49:04] 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-08-11 05:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320214528001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320214528001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:49:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:49:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320214528001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":152372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:49:04] local.INFO: GPS data processed {"connection_id":152372,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:49:04] local.INFO: Acknowledgment sent {"connection_id":152372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:49:09] local.INFO: TCP Data received {"connection_id":152372,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:49:09] local.INFO: Processing buffer {"connection_id":152372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:49:09] local.INFO: Packet analysis {"connection_id":152372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:49:09] local.INFO: Extracted packet for processing {"connection_id":152372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:49:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:49: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-08-11 05:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320214528001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786407389000,"timestamp_ms":1786407389000,"timestamp_seconds":1786407389,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2d8748"} 
[2026-08-11 05:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:49: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:49:09] 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-08-11 05:49: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-08-11 05:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:49:09] 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-08-11 05:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320214528001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320214528001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:49:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:49:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320214528001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":152372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:49:09] local.INFO: GPS data processed {"connection_id":152372,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:49:09] local.INFO: Acknowledgment sent {"connection_id":152372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:49:53] local.INFO: TCP Data received {"connection_id":154703,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:49:53] local.INFO: Processing buffer {"connection_id":154703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:49:53] local.INFO: IMEI packet received {"connection_id":154703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":154703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:49:58] local.INFO: TCP Data received {"connection_id":154703,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:49:58] local.INFO: Processing buffer {"connection_id":154703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:49:58] local.INFO: IMEI packet received {"connection_id":154703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":154703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:49:59] local.INFO: TCP Data received {"connection_id":154703,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:49:59] local.INFO: Processing buffer {"connection_id":154703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:49:59] local.INFO: Packet analysis {"connection_id":154703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:49:59] local.INFO: Extracted packet for processing {"connection_id":154703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320214528001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786407389000,"timestamp_ms":1786407389000,"timestamp_seconds":1786407389,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2d8748"} 
[2026-08-11 05:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:49:59] 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-08-11 05: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-08-11 05:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:49:59] 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-08-11 05:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320214528001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320214528001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:49:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:49:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320214528001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":154703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:49:59] local.INFO: GPS data processed {"connection_id":154703,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:49:59] local.INFO: Acknowledgment sent {"connection_id":154703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:50:30] local.INFO: TCP Data received {"connection_id":154703,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:50:30] local.INFO: Processing buffer {"connection_id":154703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:50:30] local.INFO: Packet analysis {"connection_id":154703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:50:30] local.INFO: Extracted packet for processing {"connection_id":154703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320214528001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786407389000,"timestamp_ms":1786407389000,"timestamp_seconds":1786407389,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2d8748"} 
[2026-08-11 05:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:50:30] 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-08-11 05: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-08-11 05:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:50:30] 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-08-11 05:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320214528001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320214528001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:50:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:50:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320214528001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":154703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:50:30] local.INFO: GPS data processed {"connection_id":154703,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:50:30] local.INFO: Acknowledgment sent {"connection_id":154703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:50:53] local.INFO: TCP Data received {"connection_id":154704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:50:53] local.INFO: Processing buffer {"connection_id":154704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:50:53] local.INFO: IMEI packet received {"connection_id":154704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":154704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:50:58] local.INFO: TCP Data received {"connection_id":154704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:50:58] local.INFO: Processing buffer {"connection_id":154704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:50:58] local.INFO: IMEI packet received {"connection_id":154704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":154704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:50:59] local.INFO: TCP Data received {"connection_id":154704,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:50:59] local.INFO: Processing buffer {"connection_id":154704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:50:59] local.INFO: Packet analysis {"connection_id":154704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:50:59] local.INFO: Extracted packet for processing {"connection_id":154704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320214528001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786407389000,"timestamp_ms":1786407389000,"timestamp_seconds":1786407389,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2d8748"} 
[2026-08-11 05:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:50:59] 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-08-11 05: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-08-11 05:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 05:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320214528001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320214528001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:50:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:50:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320214528001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":154704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:50:59] local.INFO: GPS data processed {"connection_id":154704,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:50:59] local.INFO: Acknowledgment sent {"connection_id":154704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:51:30] local.INFO: TCP Data received {"connection_id":154704,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:51:30] local.INFO: Processing buffer {"connection_id":154704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:51:30] local.INFO: Packet analysis {"connection_id":154704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:51:30] local.INFO: Extracted packet for processing {"connection_id":154704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320214528001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786407389000,"timestamp_ms":1786407389000,"timestamp_seconds":1786407389,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2d8748"} 
[2026-08-11 05:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:51:30] 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-08-11 05: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-08-11 05:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 05:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320214528001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320214528001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:51:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:51:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320214528001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":154704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:51:30] local.INFO: GPS data processed {"connection_id":154704,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:51:30] local.INFO: Acknowledgment sent {"connection_id":154704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:51:53] local.INFO: TCP Data received {"connection_id":152373,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:51:53] local.INFO: Processing buffer {"connection_id":152373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:51:53] local.INFO: IMEI packet received {"connection_id":152373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":152373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:51:58] local.INFO: TCP Data received {"connection_id":152373,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:51:58] local.INFO: Processing buffer {"connection_id":152373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:51:58] local.INFO: IMEI packet received {"connection_id":152373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":152373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:51:59] local.INFO: TCP Data received {"connection_id":152373,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:51:59] local.INFO: Processing buffer {"connection_id":152373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee2d8748012d840d40061d6f20000c006f31..."} 
[2026-08-11 05:51:59] local.INFO: Packet analysis {"connection_id":152373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:51:59] local.INFO: Extracted packet for processing {"connection_id":152373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee2d"} 
[2026-08-11 05:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:51: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-08-11 05:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320214528001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786407389000,"timestamp_ms":1786407389000,"timestamp_seconds":1786407389,"priority":1,"record_length":96,"hex_timestamp":"0000019fee2d8748"} 
[2026-08-11 05:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:51: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:51:59] 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-08-11 05:51: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-08-11 05:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:51:59] 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-08-11 05:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320214528001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320214528001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:51:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:51:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320214528001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":152373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:51:59] local.INFO: GPS data processed {"connection_id":152373,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:51:59] local.INFO: Acknowledgment sent {"connection_id":152373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:52:30] local.INFO: TCP Data received {"connection_id":152373,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:52:30] local.INFO: Processing buffer {"connection_id":152373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:52:30] local.INFO: Packet analysis {"connection_id":152373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:52:30] local.INFO: Extracted packet for processing {"connection_id":152373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:52: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-08-11 05:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320291584001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786407690000,"timestamp_ms":1786407690000,"timestamp_seconds":1786407690,"priority":1,"record_length":96,"hex_timestamp":"0000019fee321f10"} 
[2026-08-11 05:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:52:30] 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-08-11 05:52: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:52:30] 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-08-11 05:52: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-08-11 05:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:52:30] 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-08-11 05:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320291584001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320291584001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:52:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:52:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320291584001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":152373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:52:30] local.INFO: GPS data processed {"connection_id":152373,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:52:30] local.INFO: Acknowledgment sent {"connection_id":152373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:52:53] local.INFO: TCP Data received {"connection_id":154705,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:52:53] local.INFO: Processing buffer {"connection_id":154705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:52:53] local.INFO: IMEI packet received {"connection_id":154705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":154705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:52:58] local.INFO: TCP Data received {"connection_id":154705,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:52:58] local.INFO: Processing buffer {"connection_id":154705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:52:58] local.INFO: IMEI packet received {"connection_id":154705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":154705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:53:20] local.INFO: TCP Data received {"connection_id":154705,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:53:20] local.INFO: Processing buffer {"connection_id":154705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:53:20] local.INFO: Packet analysis {"connection_id":154705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:53:20] local.INFO: Extracted packet for processing {"connection_id":154705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:53:20] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:53: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-08-11 05:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320291584001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786407690000,"timestamp_ms":1786407690000,"timestamp_seconds":1786407690,"priority":1,"record_length":96,"hex_timestamp":"0000019fee321f10"} 
[2026-08-11 05:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:53:20] 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-08-11 05:53: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:53:20] 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-08-11 05:53: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-08-11 05:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:53:20] 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-08-11 05:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320291584001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320291584001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:53:20] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:53:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320291584001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":154705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:53:20] local.INFO: GPS data processed {"connection_id":154705,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:53:20] local.INFO: Acknowledgment sent {"connection_id":154705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:53:58] local.INFO: TCP Data received {"connection_id":151974,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:53:58] local.INFO: Processing buffer {"connection_id":151974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:53:58] local.INFO: IMEI packet received {"connection_id":151974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":151974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:54:03] local.INFO: TCP Data received {"connection_id":151974,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:54:03] local.INFO: Processing buffer {"connection_id":151974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:54:03] local.INFO: IMEI packet received {"connection_id":151974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":151974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:54:04] local.INFO: TCP Data received {"connection_id":151974,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:54:04] local.INFO: Processing buffer {"connection_id":151974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:54:04] local.INFO: Packet analysis {"connection_id":151974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:54:04] local.INFO: Extracted packet for processing {"connection_id":151974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320291584001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786407690000,"timestamp_ms":1786407690000,"timestamp_seconds":1786407690,"priority":1,"record_length":96,"hex_timestamp":"0000019fee321f10"} 
[2026-08-11 05:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:54:04] 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-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:54:04] 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-08-11 05: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-08-11 05:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 05:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320291584001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320291584001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:54:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:54:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320291584001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":151974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:54:04] local.INFO: GPS data processed {"connection_id":151974,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:54:04] local.INFO: Acknowledgment sent {"connection_id":151974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:54:09] local.INFO: TCP Data received {"connection_id":151974,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:54:09] local.INFO: Processing buffer {"connection_id":151974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:54:09] local.INFO: Packet analysis {"connection_id":151974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:54:09] local.INFO: Extracted packet for processing {"connection_id":151974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:54:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320291584001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786407690000,"timestamp_ms":1786407690000,"timestamp_seconds":1786407690,"priority":1,"record_length":96,"hex_timestamp":"0000019fee321f10"} 
[2026-08-11 05:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:54:09] 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-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:54:09] 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-08-11 05: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-08-11 05:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 05:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320291584001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320291584001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:54:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:54:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320291584001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":151974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:54:09] local.INFO: GPS data processed {"connection_id":151974,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:54:09] local.INFO: Acknowledgment sent {"connection_id":151974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:54:53] local.INFO: TCP Data received {"connection_id":151975,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:54:53] local.INFO: Processing buffer {"connection_id":151975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:54:53] local.INFO: IMEI packet received {"connection_id":151975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":151975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:54:58] local.INFO: TCP Data received {"connection_id":151975,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:54:58] local.INFO: Processing buffer {"connection_id":151975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:54:58] local.INFO: IMEI packet received {"connection_id":151975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":151975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:54:59] local.INFO: TCP Data received {"connection_id":151975,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:54:59] local.INFO: Processing buffer {"connection_id":151975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:54:59] local.INFO: Packet analysis {"connection_id":151975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:54:59] local.INFO: Extracted packet for processing {"connection_id":151975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320291584001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786407690000,"timestamp_ms":1786407690000,"timestamp_seconds":1786407690,"priority":1,"record_length":96,"hex_timestamp":"0000019fee321f10"} 
[2026-08-11 05:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:54: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-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:54:59] 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-08-11 05: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-08-11 05:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:54:59] 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-08-11 05:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320291584001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320291584001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:54:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:54:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320291584001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":151975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:54:59] local.INFO: GPS data processed {"connection_id":151975,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:54:59] local.INFO: Acknowledgment sent {"connection_id":151975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:55:30] local.INFO: TCP Data received {"connection_id":151975,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:55:30] local.INFO: Processing buffer {"connection_id":151975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:55:30] local.INFO: Packet analysis {"connection_id":151975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:55:30] local.INFO: Extracted packet for processing {"connection_id":151975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:55:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320291584001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786407690000,"timestamp_ms":1786407690000,"timestamp_seconds":1786407690,"priority":1,"record_length":96,"hex_timestamp":"0000019fee321f10"} 
[2026-08-11 05:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:55:30] 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-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:55:30] 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-08-11 05: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-08-11 05:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:55:30] 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-08-11 05:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320291584001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320291584001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:55:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:55:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320291584001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":151975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:55:30] local.INFO: GPS data processed {"connection_id":151975,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:55:30] local.INFO: Acknowledgment sent {"connection_id":151975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:55:53] local.INFO: TCP Data received {"connection_id":154706,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:55:53] local.INFO: Processing buffer {"connection_id":154706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:55:53] local.INFO: IMEI packet received {"connection_id":154706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":154706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:55:58] local.INFO: TCP Data received {"connection_id":154706,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:55:58] local.INFO: Processing buffer {"connection_id":154706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:55:58] local.INFO: IMEI packet received {"connection_id":154706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":154706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:55:59] local.INFO: TCP Data received {"connection_id":154706,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:55:59] local.INFO: Processing buffer {"connection_id":154706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:55:59] local.INFO: Packet analysis {"connection_id":154706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:55:59] local.INFO: Extracted packet for processing {"connection_id":154706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:55:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320291584001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786407690000,"timestamp_ms":1786407690000,"timestamp_seconds":1786407690,"priority":1,"record_length":96,"hex_timestamp":"0000019fee321f10"} 
[2026-08-11 05:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:55: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-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:55:59] 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-08-11 05: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-08-11 05:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:55:59] 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-08-11 05:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320291584001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320291584001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:55:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:55:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320291584001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":154706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:55:59] local.INFO: GPS data processed {"connection_id":154706,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:55:59] local.INFO: Acknowledgment sent {"connection_id":154706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:56:31] local.INFO: TCP Data received {"connection_id":154706,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:56:31] local.INFO: Processing buffer {"connection_id":154706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:56:31] local.INFO: Packet analysis {"connection_id":154706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:56:31] local.INFO: Extracted packet for processing {"connection_id":154706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:56:31] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320291584001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786407690000,"timestamp_ms":1786407690000,"timestamp_seconds":1786407690,"priority":1,"record_length":96,"hex_timestamp":"0000019fee321f10"} 
[2026-08-11 05:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:56:31] 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-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:56:31] 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-08-11 05: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-08-11 05:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:56:31] 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-08-11 05:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320291584001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320291584001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:56:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:56:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320291584001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":154706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:56:31] local.INFO: GPS data processed {"connection_id":154706,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:56:31] local.INFO: Acknowledgment sent {"connection_id":154706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:56:53] local.INFO: TCP Data received {"connection_id":151976,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:56:53] local.INFO: Processing buffer {"connection_id":151976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:56:53] local.INFO: IMEI packet received {"connection_id":151976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":151976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:56:58] local.INFO: TCP Data received {"connection_id":151976,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:56:58] local.INFO: Processing buffer {"connection_id":151976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:56:58] local.INFO: IMEI packet received {"connection_id":151976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":151976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:56:59] local.INFO: TCP Data received {"connection_id":151976,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:56:59] local.INFO: Processing buffer {"connection_id":151976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee321f10012d840d40061d6f20000c006f32..."} 
[2026-08-11 05:56:59] local.INFO: Packet analysis {"connection_id":151976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:56:59] local.INFO: Extracted packet for processing {"connection_id":151976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee32"} 
[2026-08-11 05:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":50,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320291584001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786407690000,"timestamp_ms":1786407690000,"timestamp_seconds":1786407690,"priority":1,"record_length":96,"hex_timestamp":"0000019fee321f10"} 
[2026-08-11 05:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:56: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-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:56:59] 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-08-11 05: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-08-11 05:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:56:59] 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-08-11 05:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320291584001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320291584001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:56:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:56:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320291584001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":151976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:56:59] local.INFO: GPS data processed {"connection_id":151976,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:56:59] local.INFO: Acknowledgment sent {"connection_id":151976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:57:30] local.INFO: TCP Data received {"connection_id":151976,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:57:30] local.INFO: Processing buffer {"connection_id":151976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:57:30] local.INFO: Packet analysis {"connection_id":151976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 05:57:30] local.INFO: Extracted packet for processing {"connection_id":151976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 05:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05:57: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-08-11 05:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320368640001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786407991000,"timestamp_ms":1786407991000,"timestamp_seconds":1786407991,"priority":1,"record_length":96,"hex_timestamp":"0000019fee36b6d8"} 
[2026-08-11 05:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05:57: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:57:30] 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-08-11 05:57: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-08-11 05:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:57:30] 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-08-11 05:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320368640001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320368640001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:57:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:57:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320368640001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":151976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:57:30] local.INFO: GPS data processed {"connection_id":151976,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:57:30] local.INFO: Acknowledgment sent {"connection_id":151976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:57:53] local.INFO: TCP Data received {"connection_id":153308,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:57:53] local.INFO: Processing buffer {"connection_id":153308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:57:53] local.INFO: IMEI packet received {"connection_id":153308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":153308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:57:58] local.INFO: TCP Data received {"connection_id":153308,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:57:58] local.INFO: Processing buffer {"connection_id":153308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:57:58] local.INFO: IMEI packet received {"connection_id":153308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":153308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:57:59] local.INFO: TCP Data received {"connection_id":153308,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:57:59] local.INFO: Processing buffer {"connection_id":153308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:57:59] local.INFO: Packet analysis {"connection_id":153308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 05:57:59] local.INFO: Extracted packet for processing {"connection_id":153308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 05:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320368640001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786407991000,"timestamp_ms":1786407991000,"timestamp_seconds":1786407991,"priority":1,"record_length":96,"hex_timestamp":"0000019fee36b6d8"} 
[2026-08-11 05:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:57:59] 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-08-11 05:57: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-08-11 05:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:57:59] 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-08-11 05:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320368640001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320368640001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:57:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:57:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320368640001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":153308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:57:59] local.INFO: GPS data processed {"connection_id":153308,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:57:59] local.INFO: Acknowledgment sent {"connection_id":153308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:58:30] local.INFO: TCP Data received {"connection_id":153308,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:58:30] local.INFO: Processing buffer {"connection_id":153308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:58:30] local.INFO: Packet analysis {"connection_id":153308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 05:58:30] local.INFO: Extracted packet for processing {"connection_id":153308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 05:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320368640001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786407991000,"timestamp_ms":1786407991000,"timestamp_seconds":1786407991,"priority":1,"record_length":96,"hex_timestamp":"0000019fee36b6d8"} 
[2026-08-11 05:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:58:30] 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-08-11 05: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-08-11 05:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:58:30] 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-08-11 05:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320368640001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320368640001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:58:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:58:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320368640001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":153308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:58:30] local.INFO: GPS data processed {"connection_id":153308,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:58:30] local.INFO: Acknowledgment sent {"connection_id":153308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:58:58] local.INFO: TCP Data received {"connection_id":153309,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:58:58] local.INFO: Processing buffer {"connection_id":153309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:58:58] local.INFO: IMEI packet received {"connection_id":153309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":153309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:59:03] local.INFO: TCP Data received {"connection_id":153309,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:59:03] local.INFO: Processing buffer {"connection_id":153309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:59:03] local.INFO: IMEI packet received {"connection_id":153309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":153309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:59:04] local.INFO: TCP Data received {"connection_id":153309,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:59:04] local.INFO: Processing buffer {"connection_id":153309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:59:04] local.INFO: Packet analysis {"connection_id":153309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 05:59:04] local.INFO: Extracted packet for processing {"connection_id":153309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 05:59:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320368640001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786407991000,"timestamp_ms":1786407991000,"timestamp_seconds":1786407991,"priority":1,"record_length":96,"hex_timestamp":"0000019fee36b6d8"} 
[2026-08-11 05:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:59:04] 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-08-11 05: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-08-11 05:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 05:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320368640001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320368640001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:59:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:59:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320368640001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":153309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:59:04] local.INFO: GPS data processed {"connection_id":153309,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:59:04] local.INFO: Acknowledgment sent {"connection_id":153309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:59:08] local.INFO: TCP Data received {"connection_id":153309,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:59:08] local.INFO: Processing buffer {"connection_id":153309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:59:08] local.INFO: Packet analysis {"connection_id":153309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 05:59:08] local.INFO: Extracted packet for processing {"connection_id":153309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 05:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320368640001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786407991000,"timestamp_ms":1786407991000,"timestamp_seconds":1786407991,"priority":1,"record_length":96,"hex_timestamp":"0000019fee36b6d8"} 
[2026-08-11 05:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:59:09] 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-08-11 05: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-08-11 05:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 05:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320368640001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320368640001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:59:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:59:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320368640001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":153309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:59:09] local.INFO: GPS data processed {"connection_id":153309,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:59:09] local.INFO: Acknowledgment sent {"connection_id":153309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 05:59:53] local.INFO: TCP Data received {"connection_id":154707,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:59:53] local.INFO: Processing buffer {"connection_id":154707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:59:53] local.INFO: IMEI packet received {"connection_id":154707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 05:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":154707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 05:59:58] local.INFO: TCP Data received {"connection_id":154707,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:59:58] local.INFO: Processing buffer {"connection_id":154707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 05:59:58] local.INFO: IMEI packet received {"connection_id":154707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 05:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":154707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 05:59:59] local.INFO: TCP Data received {"connection_id":154707,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:59:59] local.INFO: Processing buffer {"connection_id":154707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 05:59:59] local.INFO: Packet analysis {"connection_id":154707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 05:59:59] local.INFO: Extracted packet for processing {"connection_id":154707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 05:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 05: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-08-11 05:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320368640001,"note":"Value kept but may cause issues"} 
[2026-08-11 05:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 05:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 05:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 05:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786407991000,"timestamp_ms":1786407991000,"timestamp_seconds":1786407991,"priority":1,"record_length":96,"hex_timestamp":"0000019fee36b6d8"} 
[2026-08-11 05:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 05:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 05:59:59] 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-08-11 05: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-08-11 05:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 05:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 05:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 05:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 05:59:59] 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-08-11 05:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 05:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 05:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320368640001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 05:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 05:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 05:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320368640001,"description":"Unknown IO ID 0"} 
[2026-08-11 05:59:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 05:59:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 05:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 05:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 05:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320368640001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 05:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":154707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 05:59:59] local.INFO: GPS data processed {"connection_id":154707,"processed":1,"errors":0,"total":1} 
[2026-08-11 05:59:59] local.INFO: Acknowledgment sent {"connection_id":154707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:00:30] local.INFO: TCP Data received {"connection_id":154707,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:00:30] local.INFO: Processing buffer {"connection_id":154707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:00:30] local.INFO: Packet analysis {"connection_id":154707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 06:00:30] local.INFO: Extracted packet for processing {"connection_id":154707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 06:00:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320368640001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786407991000,"timestamp_ms":1786407991000,"timestamp_seconds":1786407991,"priority":1,"record_length":96,"hex_timestamp":"0000019fee36b6d8"} 
[2026-08-11 06:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:00:30] 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-08-11 06: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-08-11 06:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:00:30] 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-08-11 06:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320368640001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320368640001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:00:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:00:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320368640001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":154707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:00:30] local.INFO: GPS data processed {"connection_id":154707,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:00:30] local.INFO: Acknowledgment sent {"connection_id":154707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:00:53] local.INFO: TCP Data received {"connection_id":152374,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:00:53] local.INFO: Processing buffer {"connection_id":152374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:00:53] local.INFO: IMEI packet received {"connection_id":152374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":152374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:00:58] local.INFO: TCP Data received {"connection_id":152374,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:00:58] local.INFO: Processing buffer {"connection_id":152374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:00:58] local.INFO: IMEI packet received {"connection_id":152374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":152374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:00:59] local.INFO: TCP Data received {"connection_id":152374,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:00:59] local.INFO: Processing buffer {"connection_id":152374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:00:59] local.INFO: Packet analysis {"connection_id":152374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 06:00:59] local.INFO: Extracted packet for processing {"connection_id":152374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 06:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320368640001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786407991000,"timestamp_ms":1786407991000,"timestamp_seconds":1786407991,"priority":1,"record_length":96,"hex_timestamp":"0000019fee36b6d8"} 
[2026-08-11 06:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:00:59] 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-08-11 06: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-08-11 06:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:00:59] 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-08-11 06:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320368640001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320368640001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:00:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:00:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320368640001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":152374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:00:59] local.INFO: GPS data processed {"connection_id":152374,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:00:59] local.INFO: Acknowledgment sent {"connection_id":152374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:01:30] local.INFO: TCP Data received {"connection_id":152374,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:01:30] local.INFO: Processing buffer {"connection_id":152374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:01:30] local.INFO: Packet analysis {"connection_id":152374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 06:01:30] local.INFO: Extracted packet for processing {"connection_id":152374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 06:01:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:01: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-08-11 06:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320368640001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786407991000,"timestamp_ms":1786407991000,"timestamp_seconds":1786407991,"priority":1,"record_length":96,"hex_timestamp":"0000019fee36b6d8"} 
[2026-08-11 06:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06:01: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:01:30] 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-08-11 06:01: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-08-11 06:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:01:30] 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-08-11 06:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320368640001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320368640001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:01:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:01:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320368640001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":152374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:01:30] local.INFO: GPS data processed {"connection_id":152374,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:01:30] local.INFO: Acknowledgment sent {"connection_id":152374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:01:53] local.INFO: TCP Data received {"connection_id":153310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:01:53] local.INFO: Processing buffer {"connection_id":153310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:01:53] local.INFO: IMEI packet received {"connection_id":153310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":153310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:01:58] local.INFO: TCP Data received {"connection_id":153310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:01:58] local.INFO: Processing buffer {"connection_id":153310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:01:58] local.INFO: IMEI packet received {"connection_id":153310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":153310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:01:59] local.INFO: TCP Data received {"connection_id":153310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:01:59] local.INFO: Processing buffer {"connection_id":153310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee36b6d8012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:01:59] local.INFO: Packet analysis {"connection_id":153310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 06:01:59] local.INFO: Extracted packet for processing {"connection_id":153310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee36"} 
[2026-08-11 06:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320368640001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786407991000,"timestamp_ms":1786407991000,"timestamp_seconds":1786407991,"priority":1,"record_length":96,"hex_timestamp":"0000019fee36b6d8"} 
[2026-08-11 06:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:01:59] 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-08-11 06: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-08-11 06:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320368640001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320368640001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:01:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:01:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320368640001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":153310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:01:59] local.INFO: GPS data processed {"connection_id":153310,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:01:59] local.INFO: Acknowledgment sent {"connection_id":153310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:02:32] local.INFO: TCP Data received {"connection_id":153310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:02:32] local.INFO: Processing buffer {"connection_id":153310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:02:32] local.INFO: Packet analysis {"connection_id":153310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:02:32] local.INFO: Extracted packet for processing {"connection_id":153310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:02: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-08-11 06:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320445696001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786408292000,"timestamp_ms":1786408292000,"timestamp_seconds":1786408292,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3b4ea0"} 
[2026-08-11 06:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06:02: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:02:32] 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-08-11 06:02: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-08-11 06:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":153310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":153310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":153310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:02: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-08-11 06:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320445696001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320445696001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:02:32] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:02:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320445696001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":153310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:02:32] local.INFO: GPS data processed {"connection_id":153310,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:02:32] local.INFO: Acknowledgment sent {"connection_id":153310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:02:53] local.INFO: TCP Data received {"connection_id":153311,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:02:53] local.INFO: Processing buffer {"connection_id":153311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:02:53] local.INFO: IMEI packet received {"connection_id":153311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":153311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:02:58] local.INFO: TCP Data received {"connection_id":153311,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:02:58] local.INFO: Processing buffer {"connection_id":153311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:02:58] local.INFO: IMEI packet received {"connection_id":153311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":153311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:02:59] local.INFO: TCP Data received {"connection_id":153311,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:02:59] local.INFO: Processing buffer {"connection_id":153311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:02:59] local.INFO: Packet analysis {"connection_id":153311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:02:59] local.INFO: Extracted packet for processing {"connection_id":153311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320445696001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786408292000,"timestamp_ms":1786408292000,"timestamp_seconds":1786408292,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3b4ea0"} 
[2026-08-11 06:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:02:59] 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-08-11 06: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-08-11 06:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:02:59] 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-08-11 06:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320445696001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320445696001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:02:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:02:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320445696001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":153311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:02:59] local.INFO: GPS data processed {"connection_id":153311,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:02:59] local.INFO: Acknowledgment sent {"connection_id":153311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:03:30] local.INFO: TCP Data received {"connection_id":153311,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:03:30] local.INFO: Processing buffer {"connection_id":153311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:03:30] local.INFO: Packet analysis {"connection_id":153311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:03:30] local.INFO: Extracted packet for processing {"connection_id":153311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:03:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:03: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-08-11 06:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320445696001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786408292000,"timestamp_ms":1786408292000,"timestamp_seconds":1786408292,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3b4ea0"} 
[2026-08-11 06:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06:03: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:03:30] 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-08-11 06:03: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-08-11 06:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:03:30] 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-08-11 06:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320445696001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320445696001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:03:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:03:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320445696001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":153311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:03:30] local.INFO: GPS data processed {"connection_id":153311,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:03:30] local.INFO: Acknowledgment sent {"connection_id":153311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:03:53] local.INFO: TCP Data received {"connection_id":152375,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:03:53] local.INFO: Processing buffer {"connection_id":152375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:03:53] local.INFO: IMEI packet received {"connection_id":152375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":152375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:03:58] local.INFO: TCP Data received {"connection_id":152375,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:03:58] local.INFO: Processing buffer {"connection_id":152375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:03:58] local.INFO: IMEI packet received {"connection_id":152375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":152375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:03:59] local.INFO: TCP Data received {"connection_id":152375,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:03:59] local.INFO: Processing buffer {"connection_id":152375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:03:59] local.INFO: Packet analysis {"connection_id":152375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:03:59] local.INFO: Extracted packet for processing {"connection_id":152375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:03: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-08-11 06:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320445696001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786408292000,"timestamp_ms":1786408292000,"timestamp_seconds":1786408292,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3b4ea0"} 
[2026-08-11 06:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06:03: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:03:59] 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-08-11 06:03: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-08-11 06:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:03:59] 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-08-11 06:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320445696001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320445696001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:03:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:03:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320445696001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":152375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:03:59] local.INFO: GPS data processed {"connection_id":152375,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:03:59] local.INFO: Acknowledgment sent {"connection_id":152375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:04:30] local.INFO: TCP Data received {"connection_id":152375,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:04:30] local.INFO: Processing buffer {"connection_id":152375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:04:30] local.INFO: Packet analysis {"connection_id":152375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:04:30] local.INFO: Extracted packet for processing {"connection_id":152375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:04: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-08-11 06:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320445696001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786408292000,"timestamp_ms":1786408292000,"timestamp_seconds":1786408292,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3b4ea0"} 
[2026-08-11 06:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06:04: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:04:30] 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-08-11 06:04: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-08-11 06:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:04:30] 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-08-11 06:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320445696001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320445696001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:04:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:04:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320445696001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":152375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:04:30] local.INFO: GPS data processed {"connection_id":152375,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:04:30] local.INFO: Acknowledgment sent {"connection_id":152375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:04:58] local.INFO: TCP Data received {"connection_id":151977,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:04:58] local.INFO: Processing buffer {"connection_id":151977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:04:58] local.INFO: IMEI packet received {"connection_id":151977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":151977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:05:03] local.INFO: TCP Data received {"connection_id":151977,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:05:03] local.INFO: Processing buffer {"connection_id":151977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:05:03] local.INFO: IMEI packet received {"connection_id":151977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":151977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:05:04] local.INFO: TCP Data received {"connection_id":151977,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:05:04] local.INFO: Processing buffer {"connection_id":151977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:05:04] local.INFO: Packet analysis {"connection_id":151977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:05:04] local.INFO: Extracted packet for processing {"connection_id":151977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320445696001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786408292000,"timestamp_ms":1786408292000,"timestamp_seconds":1786408292,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3b4ea0"} 
[2026-08-11 06:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:05:04] 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-08-11 06: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-08-11 06:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:05:04] 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-08-11 06:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320445696001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320445696001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:05:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:05:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320445696001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":151977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:05:04] local.INFO: GPS data processed {"connection_id":151977,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:05:04] local.INFO: Acknowledgment sent {"connection_id":151977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:05:08] local.INFO: TCP Data received {"connection_id":151977,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:05:08] local.INFO: Processing buffer {"connection_id":151977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:05:08] local.INFO: Packet analysis {"connection_id":151977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:05:08] local.INFO: Extracted packet for processing {"connection_id":151977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:05:08] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320445696001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786408292000,"timestamp_ms":1786408292000,"timestamp_seconds":1786408292,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3b4ea0"} 
[2026-08-11 06:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:05:08] 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-08-11 06: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-08-11 06:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:05:08] 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-08-11 06:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320445696001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320445696001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:05:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:05:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320445696001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":151977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:05:08] local.INFO: GPS data processed {"connection_id":151977,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:05:08] local.INFO: Acknowledgment sent {"connection_id":151977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:05:53] local.INFO: TCP Data received {"connection_id":153312,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:05:53] local.INFO: Processing buffer {"connection_id":153312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:05:53] local.INFO: IMEI packet received {"connection_id":153312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":153312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:05:58] local.INFO: TCP Data received {"connection_id":153312,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:05:58] local.INFO: Processing buffer {"connection_id":153312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:05:58] local.INFO: IMEI packet received {"connection_id":153312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":153312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:05:59] local.INFO: TCP Data received {"connection_id":153312,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:05:59] local.INFO: Processing buffer {"connection_id":153312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:05:59] local.INFO: Packet analysis {"connection_id":153312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:05:59] local.INFO: Extracted packet for processing {"connection_id":153312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320445696001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786408292000,"timestamp_ms":1786408292000,"timestamp_seconds":1786408292,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3b4ea0"} 
[2026-08-11 06:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:05:59] 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-08-11 06: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-08-11 06:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:05:59] 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-08-11 06:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320445696001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320445696001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:05:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:05:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320445696001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":153312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:05:59] local.INFO: GPS data processed {"connection_id":153312,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:05:59] local.INFO: Acknowledgment sent {"connection_id":153312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:06:30] local.INFO: TCP Data received {"connection_id":153312,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:06:30] local.INFO: Processing buffer {"connection_id":153312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:06:30] local.INFO: Packet analysis {"connection_id":153312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:06:30] local.INFO: Extracted packet for processing {"connection_id":153312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320445696001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786408292000,"timestamp_ms":1786408292000,"timestamp_seconds":1786408292,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3b4ea0"} 
[2026-08-11 06:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:06:30] 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-08-11 06: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-08-11 06:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:06:30] 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-08-11 06:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320445696001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320445696001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:06:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:06:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320445696001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":153312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:06:30] local.INFO: GPS data processed {"connection_id":153312,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:06:30] local.INFO: Acknowledgment sent {"connection_id":153312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:06:53] local.INFO: TCP Data received {"connection_id":154708,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:06:53] local.INFO: Processing buffer {"connection_id":154708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:06:53] local.INFO: IMEI packet received {"connection_id":154708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":154708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:06:58] local.INFO: TCP Data received {"connection_id":154708,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:06:58] local.INFO: Processing buffer {"connection_id":154708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:06:58] local.INFO: IMEI packet received {"connection_id":154708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":154708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:06:59] local.INFO: TCP Data received {"connection_id":154708,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:06:59] local.INFO: Processing buffer {"connection_id":154708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3b4ea0012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:06:59] local.INFO: Packet analysis {"connection_id":154708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:06:59] local.INFO: Extracted packet for processing {"connection_id":154708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3b"} 
[2026-08-11 06:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:06: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-08-11 06:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320445696001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786408292000,"timestamp_ms":1786408292000,"timestamp_seconds":1786408292,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3b4ea0"} 
[2026-08-11 06:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:06:59] 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-08-11 06: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-08-11 06:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320445696001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320445696001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:06:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:06:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320445696001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":154708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:06:59] local.INFO: GPS data processed {"connection_id":154708,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:06:59] local.INFO: Acknowledgment sent {"connection_id":154708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:07:30] local.INFO: TCP Data received {"connection_id":154708,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:07:30] local.INFO: Processing buffer {"connection_id":154708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:07:30] local.INFO: Packet analysis {"connection_id":154708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:07:30] local.INFO: Extracted packet for processing {"connection_id":154708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320522752001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786408593000,"timestamp_ms":1786408593000,"timestamp_seconds":1786408593,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3fe668"} 
[2026-08-11 06:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:07:30] 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-08-11 06:07: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-08-11 06:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320522752001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320522752001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:07:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:07:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320522752001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":154708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:07:30] local.INFO: GPS data processed {"connection_id":154708,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:07:30] local.INFO: Acknowledgment sent {"connection_id":154708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:07:58] local.INFO: TCP Data received {"connection_id":153313,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:07:58] local.INFO: Processing buffer {"connection_id":153313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:07:58] local.INFO: IMEI packet received {"connection_id":153313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":153313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:08:03] local.INFO: TCP Data received {"connection_id":153313,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:08:03] local.INFO: Processing buffer {"connection_id":153313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:08:03] local.INFO: IMEI packet received {"connection_id":153313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":153313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:08:04] local.INFO: TCP Data received {"connection_id":153313,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:08:04] local.INFO: Processing buffer {"connection_id":153313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:08:04] local.INFO: Packet analysis {"connection_id":153313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:08:04] local.INFO: Extracted packet for processing {"connection_id":153313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320522752001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786408593000,"timestamp_ms":1786408593000,"timestamp_seconds":1786408593,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3fe668"} 
[2026-08-11 06:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:08:04] 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-08-11 06: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-08-11 06:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:08: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-08-11 06:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320522752001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320522752001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:08:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:08:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320522752001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":153313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:08:04] local.INFO: GPS data processed {"connection_id":153313,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:08:04] local.INFO: Acknowledgment sent {"connection_id":153313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:08:35] local.INFO: TCP Data received {"connection_id":153313,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:08:35] local.INFO: Processing buffer {"connection_id":153313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:08:35] local.INFO: Packet analysis {"connection_id":153313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:08:35] local.INFO: Extracted packet for processing {"connection_id":153313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:08:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320522752001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786408593000,"timestamp_ms":1786408593000,"timestamp_seconds":1786408593,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3fe668"} 
[2026-08-11 06:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:08:35] 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-08-11 06: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-08-11 06:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:08: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-08-11 06:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320522752001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320522752001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:08:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:08:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320522752001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":153313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:08:35] local.INFO: GPS data processed {"connection_id":153313,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:08:35] local.INFO: Acknowledgment sent {"connection_id":153313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:08:58] local.INFO: TCP Data received {"connection_id":151978,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:08:58] local.INFO: Processing buffer {"connection_id":151978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:08:58] local.INFO: IMEI packet received {"connection_id":151978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":151978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:09:03] local.INFO: TCP Data received {"connection_id":151978,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:09:03] local.INFO: Processing buffer {"connection_id":151978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:09:03] local.INFO: IMEI packet received {"connection_id":151978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":151978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:09:04] local.INFO: TCP Data received {"connection_id":151978,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:09:04] local.INFO: Processing buffer {"connection_id":151978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:09:04] local.INFO: Packet analysis {"connection_id":151978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:09:04] local.INFO: Extracted packet for processing {"connection_id":151978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320522752001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786408593000,"timestamp_ms":1786408593000,"timestamp_seconds":1786408593,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3fe668"} 
[2026-08-11 06:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:09:04] 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-08-11 06: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-08-11 06:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:09: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-08-11 06:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320522752001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320522752001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:09:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:09:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320522752001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":151978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:09:04] local.INFO: GPS data processed {"connection_id":151978,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:09:04] local.INFO: Acknowledgment sent {"connection_id":151978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:09:08] local.INFO: TCP Data received {"connection_id":151978,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:09:08] local.INFO: Processing buffer {"connection_id":151978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:09:08] local.INFO: Packet analysis {"connection_id":151978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:09:08] local.INFO: Extracted packet for processing {"connection_id":151978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:09: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-08-11 06:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320522752001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786408593000,"timestamp_ms":1786408593000,"timestamp_seconds":1786408593,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3fe668"} 
[2026-08-11 06:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06:09: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:09:08] 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-08-11 06:09: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-08-11 06:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:09:08] 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-08-11 06:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320522752001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320522752001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:09:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:09:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320522752001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":151978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:09:08] local.INFO: GPS data processed {"connection_id":151978,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:09:08] local.INFO: Acknowledgment sent {"connection_id":151978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:09:53] local.INFO: TCP Data received {"connection_id":154709,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:09:53] local.INFO: Processing buffer {"connection_id":154709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:09:53] local.INFO: IMEI packet received {"connection_id":154709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":154709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:09:58] local.INFO: TCP Data received {"connection_id":154709,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:09:58] local.INFO: Processing buffer {"connection_id":154709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:09:58] local.INFO: IMEI packet received {"connection_id":154709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":154709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:09:59] local.INFO: TCP Data received {"connection_id":154709,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:09:59] local.INFO: Processing buffer {"connection_id":154709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:09:59] local.INFO: Packet analysis {"connection_id":154709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:09:59] local.INFO: Extracted packet for processing {"connection_id":154709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320522752001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786408593000,"timestamp_ms":1786408593000,"timestamp_seconds":1786408593,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3fe668"} 
[2026-08-11 06:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:09:59] 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-08-11 06: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-08-11 06:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:09:59] 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-08-11 06:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320522752001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320522752001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:09:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:09:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320522752001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":154709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:09:59] local.INFO: GPS data processed {"connection_id":154709,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:09:59] local.INFO: Acknowledgment sent {"connection_id":154709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:10:30] local.INFO: TCP Data received {"connection_id":154709,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:10:30] local.INFO: Processing buffer {"connection_id":154709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:10:30] local.INFO: Packet analysis {"connection_id":154709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:10:30] local.INFO: Extracted packet for processing {"connection_id":154709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:10: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-08-11 06:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320522752001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786408593000,"timestamp_ms":1786408593000,"timestamp_seconds":1786408593,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3fe668"} 
[2026-08-11 06:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06:10: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:10:30] 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-08-11 06:10: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-08-11 06:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:10:30] 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-08-11 06:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320522752001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320522752001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:10:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:10:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320522752001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":154709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:10:30] local.INFO: GPS data processed {"connection_id":154709,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:10:30] local.INFO: Acknowledgment sent {"connection_id":154709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:10:53] local.INFO: TCP Data received {"connection_id":151979,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:10:53] local.INFO: Processing buffer {"connection_id":151979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:10:53] local.INFO: IMEI packet received {"connection_id":151979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":151979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:10:58] local.INFO: TCP Data received {"connection_id":151979,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:10:58] local.INFO: Processing buffer {"connection_id":151979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:10:58] local.INFO: IMEI packet received {"connection_id":151979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":151979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:10:59] local.INFO: TCP Data received {"connection_id":151979,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:10:59] local.INFO: Processing buffer {"connection_id":151979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:10:59] local.INFO: Packet analysis {"connection_id":151979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:10:59] local.INFO: Extracted packet for processing {"connection_id":151979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320522752001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786408593000,"timestamp_ms":1786408593000,"timestamp_seconds":1786408593,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3fe668"} 
[2026-08-11 06:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:10:59] 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-08-11 06: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-08-11 06:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:10:59] 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-08-11 06:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320522752001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320522752001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:10:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:10:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320522752001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":151979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:10:59] local.INFO: GPS data processed {"connection_id":151979,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:10:59] local.INFO: Acknowledgment sent {"connection_id":151979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:11:30] local.INFO: TCP Data received {"connection_id":151979,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:11:30] local.INFO: Processing buffer {"connection_id":151979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:11:30] local.INFO: Packet analysis {"connection_id":151979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:11:30] local.INFO: Extracted packet for processing {"connection_id":151979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:11: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-08-11 06:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320522752001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786408593000,"timestamp_ms":1786408593000,"timestamp_seconds":1786408593,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3fe668"} 
[2026-08-11 06:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06:11: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:11:30] 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-08-11 06:11: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-08-11 06:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:11:30] 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-08-11 06:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320522752001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320522752001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:11:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:11:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320522752001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":151979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:11:30] local.INFO: GPS data processed {"connection_id":151979,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:11:30] local.INFO: Acknowledgment sent {"connection_id":151979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:11:53] local.INFO: TCP Data received {"connection_id":151980,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:11:53] local.INFO: Processing buffer {"connection_id":151980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:11:53] local.INFO: IMEI packet received {"connection_id":151980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":151980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:11:58] local.INFO: TCP Data received {"connection_id":151980,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:11:58] local.INFO: Processing buffer {"connection_id":151980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:11:58] local.INFO: IMEI packet received {"connection_id":151980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":151980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:11:59] local.INFO: TCP Data received {"connection_id":151980,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:11:59] local.INFO: Processing buffer {"connection_id":151980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee3fe668012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:11:59] local.INFO: Packet analysis {"connection_id":151980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:11:59] local.INFO: Extracted packet for processing {"connection_id":151980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee3f"} 
[2026-08-11 06:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320522752001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786408593000,"timestamp_ms":1786408593000,"timestamp_seconds":1786408593,"priority":1,"record_length":96,"hex_timestamp":"0000019fee3fe668"} 
[2026-08-11 06:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:11:59] 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-08-11 06: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-08-11 06:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:11:59] 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-08-11 06:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320522752001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320522752001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:11:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:11:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320522752001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":151980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:11:59] local.INFO: GPS data processed {"connection_id":151980,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:11:59] local.INFO: Acknowledgment sent {"connection_id":151980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:12:30] local.INFO: TCP Data received {"connection_id":151980,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:12:30] local.INFO: Processing buffer {"connection_id":151980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:12:30] local.INFO: Packet analysis {"connection_id":151980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:12:30] local.INFO: Extracted packet for processing {"connection_id":151980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:12:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:12: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-08-11 06:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320599808001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786408894000,"timestamp_ms":1786408894000,"timestamp_seconds":1786408894,"priority":1,"record_length":96,"hex_timestamp":"0000019fee447e30"} 
[2026-08-11 06:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06:12: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:12:30] 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-08-11 06:12: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-08-11 06:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:12:30] 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-08-11 06:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320599808001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320599808001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:12:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:12:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320599808001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":151980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:12:30] local.INFO: GPS data processed {"connection_id":151980,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:12:30] local.INFO: Acknowledgment sent {"connection_id":151980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:12:53] local.INFO: TCP Data received {"connection_id":151981,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:12:53] local.INFO: Processing buffer {"connection_id":151981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:12:53] local.INFO: IMEI packet received {"connection_id":151981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":151981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:12:58] local.INFO: TCP Data received {"connection_id":151981,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:12:58] local.INFO: Processing buffer {"connection_id":151981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:12:58] local.INFO: IMEI packet received {"connection_id":151981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":151981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:12:59] local.INFO: TCP Data received {"connection_id":151981,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:12:59] local.INFO: Processing buffer {"connection_id":151981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:12:59] local.INFO: Packet analysis {"connection_id":151981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:12:59] local.INFO: Extracted packet for processing {"connection_id":151981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320599808001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786408894000,"timestamp_ms":1786408894000,"timestamp_seconds":1786408894,"priority":1,"record_length":96,"hex_timestamp":"0000019fee447e30"} 
[2026-08-11 06:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:12:59] 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-08-11 06: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-08-11 06:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:12:59] 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-08-11 06:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320599808001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320599808001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:12:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:12:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320599808001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":151981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:12:59] local.INFO: GPS data processed {"connection_id":151981,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:12:59] local.INFO: Acknowledgment sent {"connection_id":151981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:13:30] local.INFO: TCP Data received {"connection_id":151981,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:13:30] local.INFO: Processing buffer {"connection_id":151981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:13:30] local.INFO: Packet analysis {"connection_id":151981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:13:30] local.INFO: Extracted packet for processing {"connection_id":151981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:13:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320599808001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786408894000,"timestamp_ms":1786408894000,"timestamp_seconds":1786408894,"priority":1,"record_length":96,"hex_timestamp":"0000019fee447e30"} 
[2026-08-11 06:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:13:30] 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-08-11 06: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-08-11 06:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:13:30] 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-08-11 06:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320599808001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320599808001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:13:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:13:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320599808001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":151981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:13:30] local.INFO: GPS data processed {"connection_id":151981,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:13:30] local.INFO: Acknowledgment sent {"connection_id":151981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:13:53] local.INFO: TCP Data received {"connection_id":154710,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:13:53] local.INFO: Processing buffer {"connection_id":154710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:13:53] local.INFO: IMEI packet received {"connection_id":154710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":154710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:13:58] local.INFO: TCP Data received {"connection_id":154710,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:13:58] local.INFO: Processing buffer {"connection_id":154710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:13:58] local.INFO: IMEI packet received {"connection_id":154710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":154710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:14:02] local.INFO: TCP Data received {"connection_id":154710,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:14:02] local.INFO: Processing buffer {"connection_id":154710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:14:02] local.INFO: Packet analysis {"connection_id":154710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:14:02] local.INFO: Extracted packet for processing {"connection_id":154710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320599808001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786408894000,"timestamp_ms":1786408894000,"timestamp_seconds":1786408894,"priority":1,"record_length":96,"hex_timestamp":"0000019fee447e30"} 
[2026-08-11 06:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:14:02] 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-08-11 06: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-08-11 06:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":154710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":154710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":154710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:14:02] 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-08-11 06:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320599808001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320599808001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:14:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:14:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320599808001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":154710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:14:02] local.INFO: GPS data processed {"connection_id":154710,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:14:02] local.INFO: Acknowledgment sent {"connection_id":154710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:14:33] local.INFO: TCP Data received {"connection_id":154710,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:14:33] local.INFO: Processing buffer {"connection_id":154710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:14:33] local.INFO: Packet analysis {"connection_id":154710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:14:33] local.INFO: Extracted packet for processing {"connection_id":154710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320599808001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786408894000,"timestamp_ms":1786408894000,"timestamp_seconds":1786408894,"priority":1,"record_length":96,"hex_timestamp":"0000019fee447e30"} 
[2026-08-11 06:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:14:33] 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-08-11 06: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-08-11 06:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":154710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":154710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":154710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:14:33] 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-08-11 06:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320599808001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320599808001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:14:33] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:14:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320599808001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":154710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:14:33] local.INFO: GPS data processed {"connection_id":154710,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:14:33] local.INFO: Acknowledgment sent {"connection_id":154710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:14:58] local.INFO: TCP Data received {"connection_id":153314,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:14:58] local.INFO: Processing buffer {"connection_id":153314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:14:58] local.INFO: IMEI packet received {"connection_id":153314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":153314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:15:03] local.INFO: TCP Data received {"connection_id":153314,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:15:03] local.INFO: Processing buffer {"connection_id":153314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:15:03] local.INFO: IMEI packet received {"connection_id":153314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":153314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:15:04] local.INFO: TCP Data received {"connection_id":153314,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:15:04] local.INFO: Processing buffer {"connection_id":153314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:15:04] local.INFO: Packet analysis {"connection_id":153314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:15:04] local.INFO: Extracted packet for processing {"connection_id":153314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320599808001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786408894000,"timestamp_ms":1786408894000,"timestamp_seconds":1786408894,"priority":1,"record_length":96,"hex_timestamp":"0000019fee447e30"} 
[2026-08-11 06:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:15:04] 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-08-11 06: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-08-11 06:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:15:04] 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-08-11 06:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320599808001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320599808001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:15:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:15:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320599808001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":153314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:15:04] local.INFO: GPS data processed {"connection_id":153314,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:15:04] local.INFO: Acknowledgment sent {"connection_id":153314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:15:08] local.INFO: TCP Data received {"connection_id":153314,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:15:08] local.INFO: Processing buffer {"connection_id":153314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:15:08] local.INFO: Packet analysis {"connection_id":153314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:15:08] local.INFO: Extracted packet for processing {"connection_id":153314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:15:08] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320599808001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786408894000,"timestamp_ms":1786408894000,"timestamp_seconds":1786408894,"priority":1,"record_length":96,"hex_timestamp":"0000019fee447e30"} 
[2026-08-11 06:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:15:08] 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-08-11 06: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-08-11 06:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:15:08] 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-08-11 06:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320599808001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320599808001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:15:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:15:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320599808001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":153314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:15:08] local.INFO: GPS data processed {"connection_id":153314,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:15:08] local.INFO: Acknowledgment sent {"connection_id":153314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:15:53] local.INFO: TCP Data received {"connection_id":152376,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:15:53] local.INFO: Processing buffer {"connection_id":152376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:15:53] local.INFO: IMEI packet received {"connection_id":152376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":152376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:15:58] local.INFO: TCP Data received {"connection_id":152376,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:15:58] local.INFO: Processing buffer {"connection_id":152376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:15:58] local.INFO: IMEI packet received {"connection_id":152376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":152376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:15:59] local.INFO: TCP Data received {"connection_id":152376,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:15:59] local.INFO: Processing buffer {"connection_id":152376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:15:59] local.INFO: Packet analysis {"connection_id":152376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:15:59] local.INFO: Extracted packet for processing {"connection_id":152376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:15: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-08-11 06:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320599808001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786408894000,"timestamp_ms":1786408894000,"timestamp_seconds":1786408894,"priority":1,"record_length":96,"hex_timestamp":"0000019fee447e30"} 
[2026-08-11 06:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06:15: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:15:59] 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-08-11 06:15: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-08-11 06:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:15:59] 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-08-11 06:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320599808001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320599808001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:15:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:15:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320599808001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":152376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:15:59] local.INFO: GPS data processed {"connection_id":152376,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:15:59] local.INFO: Acknowledgment sent {"connection_id":152376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:16:30] local.INFO: TCP Data received {"connection_id":152376,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:16:30] local.INFO: Processing buffer {"connection_id":152376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:16:30] local.INFO: Packet analysis {"connection_id":152376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:16:30] local.INFO: Extracted packet for processing {"connection_id":152376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:16:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320599808001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786408894000,"timestamp_ms":1786408894000,"timestamp_seconds":1786408894,"priority":1,"record_length":96,"hex_timestamp":"0000019fee447e30"} 
[2026-08-11 06:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:16:30] 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-08-11 06: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-08-11 06:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:16:30] 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-08-11 06:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320599808001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320599808001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:16:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:16:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320599808001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":152376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:16:30] local.INFO: GPS data processed {"connection_id":152376,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:16:30] local.INFO: Acknowledgment sent {"connection_id":152376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:16:53] local.INFO: TCP Data received {"connection_id":154711,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:16:53] local.INFO: Processing buffer {"connection_id":154711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:16:53] local.INFO: IMEI packet received {"connection_id":154711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":154711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:16:58] local.INFO: TCP Data received {"connection_id":154711,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:16:58] local.INFO: Processing buffer {"connection_id":154711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:16:58] local.INFO: IMEI packet received {"connection_id":154711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":154711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:16:59] local.INFO: TCP Data received {"connection_id":154711,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:16:59] local.INFO: Processing buffer {"connection_id":154711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee447e30012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:16:59] local.INFO: Packet analysis {"connection_id":154711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:16:59] local.INFO: Extracted packet for processing {"connection_id":154711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee44"} 
[2026-08-11 06:16:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320599808001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786408894000,"timestamp_ms":1786408894000,"timestamp_seconds":1786408894,"priority":1,"record_length":96,"hex_timestamp":"0000019fee447e30"} 
[2026-08-11 06:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:16:59] 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-08-11 06: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-08-11 06:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:16:59] 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-08-11 06:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320599808001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320599808001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:16:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:16:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320599808001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":154711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:16:59] local.INFO: GPS data processed {"connection_id":154711,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:16:59] local.INFO: Acknowledgment sent {"connection_id":154711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:17:30] local.INFO: TCP Data received {"connection_id":154711,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:17:30] local.INFO: Processing buffer {"connection_id":154711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:17:30] local.INFO: Packet analysis {"connection_id":154711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:17:30] local.INFO: Extracted packet for processing {"connection_id":154711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:17:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320676864001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786409195000,"timestamp_ms":1786409195000,"timestamp_seconds":1786409195,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4915f8"} 
[2026-08-11 06:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:17:30] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:17:30] 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-08-11 06: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-08-11 06:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:17:30] 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-08-11 06:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320676864001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320676864001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:17:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:17:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320676864001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":154711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:17:30] local.INFO: GPS data processed {"connection_id":154711,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:17:30] local.INFO: Acknowledgment sent {"connection_id":154711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:17:53] local.INFO: TCP Data received {"connection_id":153315,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:17:53] local.INFO: Processing buffer {"connection_id":153315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:17:53] local.INFO: IMEI packet received {"connection_id":153315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":153315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:17:58] local.INFO: TCP Data received {"connection_id":153315,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:17:58] local.INFO: Processing buffer {"connection_id":153315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:17:58] local.INFO: IMEI packet received {"connection_id":153315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":153315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:17:59] local.INFO: TCP Data received {"connection_id":153315,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:17:59] local.INFO: Processing buffer {"connection_id":153315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:17:59] local.INFO: Packet analysis {"connection_id":153315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:17:59] local.INFO: Extracted packet for processing {"connection_id":153315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320676864001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786409195000,"timestamp_ms":1786409195000,"timestamp_seconds":1786409195,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4915f8"} 
[2026-08-11 06:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:17: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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:17:59] 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-08-11 06: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-08-11 06:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:17:59] 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-08-11 06:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320676864001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320676864001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:17:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:17:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320676864001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":153315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:17:59] local.INFO: GPS data processed {"connection_id":153315,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:17:59] local.INFO: Acknowledgment sent {"connection_id":153315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:18:30] local.INFO: TCP Data received {"connection_id":153315,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:18:30] local.INFO: Processing buffer {"connection_id":153315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:18:30] local.INFO: Packet analysis {"connection_id":153315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:18:30] local.INFO: Extracted packet for processing {"connection_id":153315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:18: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-08-11 06:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320676864001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786409195000,"timestamp_ms":1786409195000,"timestamp_seconds":1786409195,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4915f8"} 
[2026-08-11 06:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:18:30] 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-08-11 06:18: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:18:30] 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-08-11 06:18: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-08-11 06:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:18:30] 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-08-11 06:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320676864001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320676864001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:18:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:18:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320676864001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":153315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:18:30] local.INFO: GPS data processed {"connection_id":153315,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:18:30] local.INFO: Acknowledgment sent {"connection_id":153315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:18:58] local.INFO: TCP Data received {"connection_id":153316,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:18:58] local.INFO: Processing buffer {"connection_id":153316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:18:58] local.INFO: IMEI packet received {"connection_id":153316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":153316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:19:03] local.INFO: TCP Data received {"connection_id":153316,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:19:03] local.INFO: Processing buffer {"connection_id":153316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:19:03] local.INFO: IMEI packet received {"connection_id":153316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":153316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:19:04] local.INFO: TCP Data received {"connection_id":153316,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:19:04] local.INFO: Processing buffer {"connection_id":153316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:19:04] local.INFO: Packet analysis {"connection_id":153316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:19:04] local.INFO: Extracted packet for processing {"connection_id":153316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320676864001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786409195000,"timestamp_ms":1786409195000,"timestamp_seconds":1786409195,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4915f8"} 
[2026-08-11 06:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:19:04] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:19:04] 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-08-11 06: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-08-11 06:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:19:04] 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-08-11 06:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320676864001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320676864001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:19:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:19:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320676864001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":153316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:19:04] local.INFO: GPS data processed {"connection_id":153316,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:19:04] local.INFO: Acknowledgment sent {"connection_id":153316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:19:08] local.INFO: TCP Data received {"connection_id":153316,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:19:08] local.INFO: Processing buffer {"connection_id":153316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:19:08] local.INFO: Packet analysis {"connection_id":153316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:19:08] local.INFO: Extracted packet for processing {"connection_id":153316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:19:08] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320676864001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786409195000,"timestamp_ms":1786409195000,"timestamp_seconds":1786409195,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4915f8"} 
[2026-08-11 06:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:19:08] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:19:08] 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-08-11 06: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-08-11 06:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:19:08] 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-08-11 06:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320676864001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320676864001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:19:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:19:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320676864001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":153316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:19:08] local.INFO: GPS data processed {"connection_id":153316,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:19:08] local.INFO: Acknowledgment sent {"connection_id":153316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:19:53] local.INFO: TCP Data received {"connection_id":153317,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:19:53] local.INFO: Processing buffer {"connection_id":153317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:19:53] local.INFO: IMEI packet received {"connection_id":153317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":153317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:19:58] local.INFO: TCP Data received {"connection_id":153317,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:19:58] local.INFO: Processing buffer {"connection_id":153317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:19:58] local.INFO: IMEI packet received {"connection_id":153317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":153317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:19:59] local.INFO: TCP Data received {"connection_id":153317,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:19:59] local.INFO: Processing buffer {"connection_id":153317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:19:59] local.INFO: Packet analysis {"connection_id":153317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:19:59] local.INFO: Extracted packet for processing {"connection_id":153317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:19:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320676864001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786409195000,"timestamp_ms":1786409195000,"timestamp_seconds":1786409195,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4915f8"} 
[2026-08-11 06:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:19: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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:19:59] 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-08-11 06: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-08-11 06:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:19:59] 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-08-11 06:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320676864001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320676864001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:19:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:19:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320676864001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":153317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:19:59] local.INFO: GPS data processed {"connection_id":153317,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:19:59] local.INFO: Acknowledgment sent {"connection_id":153317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:20:30] local.INFO: TCP Data received {"connection_id":153317,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:20:30] local.INFO: Processing buffer {"connection_id":153317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:20:30] local.INFO: Packet analysis {"connection_id":153317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:20:30] local.INFO: Extracted packet for processing {"connection_id":153317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:20:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:20: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-08-11 06:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320676864001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786409195000,"timestamp_ms":1786409195000,"timestamp_seconds":1786409195,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4915f8"} 
[2026-08-11 06:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:20:30] 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-08-11 06:20: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:20:30] 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-08-11 06:20: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-08-11 06:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:20:30] 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-08-11 06:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320676864001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320676864001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:20:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:20:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320676864001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":153317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:20:30] local.INFO: GPS data processed {"connection_id":153317,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:20:30] local.INFO: Acknowledgment sent {"connection_id":153317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:20:53] local.INFO: TCP Data received {"connection_id":152377,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:20:53] local.INFO: Processing buffer {"connection_id":152377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:20:53] local.INFO: IMEI packet received {"connection_id":152377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":152377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:20:58] local.INFO: TCP Data received {"connection_id":152377,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:20:58] local.INFO: Processing buffer {"connection_id":152377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:20:58] local.INFO: IMEI packet received {"connection_id":152377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":152377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:20:59] local.INFO: TCP Data received {"connection_id":152377,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:20:59] local.INFO: Processing buffer {"connection_id":152377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:20:59] local.INFO: Packet analysis {"connection_id":152377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:20:59] local.INFO: Extracted packet for processing {"connection_id":152377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320676864001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786409195000,"timestamp_ms":1786409195000,"timestamp_seconds":1786409195,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4915f8"} 
[2026-08-11 06:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:20: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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:20:59] 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-08-11 06: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-08-11 06:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:20:59] 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-08-11 06:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320676864001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320676864001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:20:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:20:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320676864001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":152377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:20:59] local.INFO: GPS data processed {"connection_id":152377,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:20:59] local.INFO: Acknowledgment sent {"connection_id":152377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:21:30] local.INFO: TCP Data received {"connection_id":152377,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:21:30] local.INFO: Processing buffer {"connection_id":152377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:21:30] local.INFO: Packet analysis {"connection_id":152377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:21:30] local.INFO: Extracted packet for processing {"connection_id":152377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:21:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320676864001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786409195000,"timestamp_ms":1786409195000,"timestamp_seconds":1786409195,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4915f8"} 
[2026-08-11 06:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:21:30] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:21:30] 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-08-11 06: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-08-11 06:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:21:30] 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-08-11 06:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320676864001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320676864001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:21:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:21:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320676864001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":152377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:21:30] local.INFO: GPS data processed {"connection_id":152377,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:21:30] local.INFO: Acknowledgment sent {"connection_id":152377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:21:53] local.INFO: TCP Data received {"connection_id":154712,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:21:53] local.INFO: Processing buffer {"connection_id":154712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:21:53] local.INFO: IMEI packet received {"connection_id":154712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":154712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:21:58] local.INFO: TCP Data received {"connection_id":154712,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:21:58] local.INFO: Processing buffer {"connection_id":154712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:21:58] local.INFO: IMEI packet received {"connection_id":154712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":154712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:21:59] local.INFO: TCP Data received {"connection_id":154712,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:21:59] local.INFO: Processing buffer {"connection_id":154712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4915f8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:21:59] local.INFO: Packet analysis {"connection_id":154712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:21:59] local.INFO: Extracted packet for processing {"connection_id":154712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee49"} 
[2026-08-11 06:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:21: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-08-11 06:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320676864001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786409195000,"timestamp_ms":1786409195000,"timestamp_seconds":1786409195,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4915f8"} 
[2026-08-11 06:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:21: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-08-11 06:21: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:21:59] 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-08-11 06:21: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-08-11 06:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:21:59] 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-08-11 06:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320676864001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320676864001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:21:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:21:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320676864001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":154712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:21:59] local.INFO: GPS data processed {"connection_id":154712,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:21:59] local.INFO: Acknowledgment sent {"connection_id":154712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:22:30] local.INFO: TCP Data received {"connection_id":154712,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:22:30] local.INFO: Processing buffer {"connection_id":154712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:22:30] local.INFO: Packet analysis {"connection_id":154712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:22:30] local.INFO: Extracted packet for processing {"connection_id":154712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320753920001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786409496000,"timestamp_ms":1786409496000,"timestamp_seconds":1786409496,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4dadc0"} 
[2026-08-11 06:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:22:30] 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-08-11 06: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-08-11 06:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:22:30] 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-08-11 06:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320753920001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320753920001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:22:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:22:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320753920001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":154712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:22:30] local.INFO: GPS data processed {"connection_id":154712,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:22:30] local.INFO: Acknowledgment sent {"connection_id":154712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:22:53] local.INFO: TCP Data received {"connection_id":151982,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:22:53] local.INFO: Processing buffer {"connection_id":151982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:22:53] local.INFO: IMEI packet received {"connection_id":151982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":151982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:22:58] local.INFO: TCP Data received {"connection_id":151982,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:22:58] local.INFO: Processing buffer {"connection_id":151982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:22:58] local.INFO: IMEI packet received {"connection_id":151982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":151982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:22:59] local.INFO: TCP Data received {"connection_id":151982,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:22:59] local.INFO: Processing buffer {"connection_id":151982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:22:59] local.INFO: Packet analysis {"connection_id":151982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:22:59] local.INFO: Extracted packet for processing {"connection_id":151982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320753920001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786409496000,"timestamp_ms":1786409496000,"timestamp_seconds":1786409496,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4dadc0"} 
[2026-08-11 06:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:22:59] 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-08-11 06: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-08-11 06:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:22:59] 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-08-11 06:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320753920001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320753920001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:22:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:22:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320753920001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":151982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:22:59] local.INFO: GPS data processed {"connection_id":151982,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:22:59] local.INFO: Acknowledgment sent {"connection_id":151982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:23:30] local.INFO: TCP Data received {"connection_id":151982,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:23:30] local.INFO: Processing buffer {"connection_id":151982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:23:30] local.INFO: Packet analysis {"connection_id":151982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:23:30] local.INFO: Extracted packet for processing {"connection_id":151982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:23:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320753920001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786409496000,"timestamp_ms":1786409496000,"timestamp_seconds":1786409496,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4dadc0"} 
[2026-08-11 06:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:23:30] 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-08-11 06: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-08-11 06:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:23:30] 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-08-11 06:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320753920001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320753920001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:23:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:23:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320753920001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":151982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:23:30] local.INFO: GPS data processed {"connection_id":151982,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:23:30] local.INFO: Acknowledgment sent {"connection_id":151982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:23:53] local.INFO: TCP Data received {"connection_id":152378,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:23:53] local.INFO: Processing buffer {"connection_id":152378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:23:53] local.INFO: IMEI packet received {"connection_id":152378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":152378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:23:58] local.INFO: TCP Data received {"connection_id":152378,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:23:58] local.INFO: Processing buffer {"connection_id":152378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:23:58] local.INFO: IMEI packet received {"connection_id":152378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":152378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:23:59] local.INFO: TCP Data received {"connection_id":152378,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:23:59] local.INFO: Processing buffer {"connection_id":152378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:23:59] local.INFO: Packet analysis {"connection_id":152378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:23:59] local.INFO: Extracted packet for processing {"connection_id":152378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:23:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320753920001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786409496000,"timestamp_ms":1786409496000,"timestamp_seconds":1786409496,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4dadc0"} 
[2026-08-11 06:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:23:59] 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-08-11 06:23: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-08-11 06:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:23:59] 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-08-11 06:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320753920001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320753920001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:23:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:23:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320753920001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":152378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:23:59] local.INFO: GPS data processed {"connection_id":152378,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:23:59] local.INFO: Acknowledgment sent {"connection_id":152378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:24:30] local.INFO: TCP Data received {"connection_id":152378,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:24:30] local.INFO: Processing buffer {"connection_id":152378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:24:30] local.INFO: Packet analysis {"connection_id":152378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:24:30] local.INFO: Extracted packet for processing {"connection_id":152378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:24:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320753920001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786409496000,"timestamp_ms":1786409496000,"timestamp_seconds":1786409496,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4dadc0"} 
[2026-08-11 06:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:24:30] 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-08-11 06:24: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-08-11 06:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:24:30] 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-08-11 06:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320753920001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320753920001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:24:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:24:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320753920001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":152378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:24:30] local.INFO: GPS data processed {"connection_id":152378,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:24:30] local.INFO: Acknowledgment sent {"connection_id":152378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:24:53] local.INFO: TCP Data received {"connection_id":154713,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:24:53] local.INFO: Processing buffer {"connection_id":154713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:24:53] local.INFO: IMEI packet received {"connection_id":154713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":154713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:24:58] local.INFO: TCP Data received {"connection_id":154713,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:24:58] local.INFO: Processing buffer {"connection_id":154713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:24:58] local.INFO: IMEI packet received {"connection_id":154713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":154713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:24:59] local.INFO: TCP Data received {"connection_id":154713,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:24:59] local.INFO: Processing buffer {"connection_id":154713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:24:59] local.INFO: Packet analysis {"connection_id":154713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:24:59] local.INFO: Extracted packet for processing {"connection_id":154713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320753920001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786409496000,"timestamp_ms":1786409496000,"timestamp_seconds":1786409496,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4dadc0"} 
[2026-08-11 06:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:24:59] 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-08-11 06: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-08-11 06:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:24:59] 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-08-11 06:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320753920001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320753920001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:24:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:24:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320753920001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":154713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:24:59] local.INFO: GPS data processed {"connection_id":154713,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:24:59] local.INFO: Acknowledgment sent {"connection_id":154713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:25:30] local.INFO: TCP Data received {"connection_id":154713,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:25:30] local.INFO: Processing buffer {"connection_id":154713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:25:30] local.INFO: Packet analysis {"connection_id":154713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:25:30] local.INFO: Extracted packet for processing {"connection_id":154713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:25:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:25: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-08-11 06:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320753920001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786409496000,"timestamp_ms":1786409496000,"timestamp_seconds":1786409496,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4dadc0"} 
[2026-08-11 06:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06:25: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:25:30] 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-08-11 06:25: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-08-11 06:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:25:30] 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-08-11 06:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320753920001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320753920001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:25:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:25:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320753920001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":154713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:25:30] local.INFO: GPS data processed {"connection_id":154713,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:25:30] local.INFO: Acknowledgment sent {"connection_id":154713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:25:58] local.INFO: TCP Data received {"connection_id":153318,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:25:58] local.INFO: Processing buffer {"connection_id":153318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:25:58] local.INFO: IMEI packet received {"connection_id":153318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":153318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:26:03] local.INFO: TCP Data received {"connection_id":153318,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:26:03] local.INFO: Processing buffer {"connection_id":153318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:26:03] local.INFO: IMEI packet received {"connection_id":153318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":153318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:26:04] local.INFO: TCP Data received {"connection_id":153318,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:26:04] local.INFO: Processing buffer {"connection_id":153318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:26:04] local.INFO: Packet analysis {"connection_id":153318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:26:04] local.INFO: Extracted packet for processing {"connection_id":153318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:26:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320753920001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786409496000,"timestamp_ms":1786409496000,"timestamp_seconds":1786409496,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4dadc0"} 
[2026-08-11 06:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:26:04] 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-08-11 06: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-08-11 06:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:26:04] 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-08-11 06:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320753920001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320753920001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:26:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:26:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320753920001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":153318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:26:04] local.INFO: GPS data processed {"connection_id":153318,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:26:04] local.INFO: Acknowledgment sent {"connection_id":153318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:26:35] local.INFO: TCP Data received {"connection_id":153318,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:26:35] local.INFO: Processing buffer {"connection_id":153318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:26:35] local.INFO: Packet analysis {"connection_id":153318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:26:35] local.INFO: Extracted packet for processing {"connection_id":153318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:26:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:26: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-08-11 06:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320753920001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786409496000,"timestamp_ms":1786409496000,"timestamp_seconds":1786409496,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4dadc0"} 
[2026-08-11 06:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06:26: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:26:35] 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-08-11 06:26: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-08-11 06:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:26:35] 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-08-11 06:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320753920001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320753920001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:26:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:26:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320753920001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":153318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:26:35] local.INFO: GPS data processed {"connection_id":153318,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:26:35] local.INFO: Acknowledgment sent {"connection_id":153318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:26:53] local.INFO: TCP Data received {"connection_id":152379,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:26:53] local.INFO: Processing buffer {"connection_id":152379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:26:53] local.INFO: IMEI packet received {"connection_id":152379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":152379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:26:58] local.INFO: TCP Data received {"connection_id":152379,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:26:58] local.INFO: Processing buffer {"connection_id":152379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:26:58] local.INFO: IMEI packet received {"connection_id":152379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":152379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:26:59] local.INFO: TCP Data received {"connection_id":152379,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:26:59] local.INFO: Processing buffer {"connection_id":152379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee4dadc0012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:26:59] local.INFO: Packet analysis {"connection_id":152379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:26:59] local.INFO: Extracted packet for processing {"connection_id":152379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee4d"} 
[2026-08-11 06:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320753920001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786409496000,"timestamp_ms":1786409496000,"timestamp_seconds":1786409496,"priority":1,"record_length":96,"hex_timestamp":"0000019fee4dadc0"} 
[2026-08-11 06:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:26:59] 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-08-11 06: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-08-11 06:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:26:59] 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-08-11 06:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320753920001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320753920001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:26:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:26:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320753920001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":152379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:26:59] local.INFO: GPS data processed {"connection_id":152379,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:26:59] local.INFO: Acknowledgment sent {"connection_id":152379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:27:30] local.INFO: TCP Data received {"connection_id":152379,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:27:30] local.INFO: Processing buffer {"connection_id":152379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:27:30] local.INFO: Packet analysis {"connection_id":152379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:27:30] local.INFO: Extracted packet for processing {"connection_id":152379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:27: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-08-11 06:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320830976001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786409797000,"timestamp_ms":1786409797000,"timestamp_seconds":1786409797,"priority":1,"record_length":96,"hex_timestamp":"0000019fee524588"} 
[2026-08-11 06:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:27:30] 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-08-11 06:27: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:27:30] 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-08-11 06:27: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-08-11 06:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:27:30] 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-08-11 06:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320830976001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320830976001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:27:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:27:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320830976001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":152379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:27:30] local.INFO: GPS data processed {"connection_id":152379,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:27:30] local.INFO: Acknowledgment sent {"connection_id":152379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:27:53] local.INFO: TCP Data received {"connection_id":151983,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:27:53] local.INFO: Processing buffer {"connection_id":151983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:27:53] local.INFO: IMEI packet received {"connection_id":151983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":151983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:27:58] local.INFO: TCP Data received {"connection_id":151983,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:27:58] local.INFO: Processing buffer {"connection_id":151983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:27:58] local.INFO: IMEI packet received {"connection_id":151983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":151983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:27:59] local.INFO: TCP Data received {"connection_id":151983,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:27:59] local.INFO: Processing buffer {"connection_id":151983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:27:59] local.INFO: Packet analysis {"connection_id":151983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:27:59] local.INFO: Extracted packet for processing {"connection_id":151983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320830976001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786409797000,"timestamp_ms":1786409797000,"timestamp_seconds":1786409797,"priority":1,"record_length":96,"hex_timestamp":"0000019fee524588"} 
[2026-08-11 06:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:27: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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:27:59] 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-08-11 06:27: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-08-11 06:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:27:59] 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-08-11 06:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320830976001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320830976001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:27:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:27:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320830976001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":151983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:27:59] local.INFO: GPS data processed {"connection_id":151983,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:27:59] local.INFO: Acknowledgment sent {"connection_id":151983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:28:30] local.INFO: TCP Data received {"connection_id":151983,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:28:30] local.INFO: Processing buffer {"connection_id":151983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:28:30] local.INFO: Packet analysis {"connection_id":151983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:28:30] local.INFO: Extracted packet for processing {"connection_id":151983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:28:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320830976001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786409797000,"timestamp_ms":1786409797000,"timestamp_seconds":1786409797,"priority":1,"record_length":96,"hex_timestamp":"0000019fee524588"} 
[2026-08-11 06:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:28:30] 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-08-11 06: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:28:30] 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-08-11 06: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-08-11 06:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:28:30] 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-08-11 06:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320830976001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320830976001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:28:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:28:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320830976001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":151983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:28:30] local.INFO: GPS data processed {"connection_id":151983,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:28:30] local.INFO: Acknowledgment sent {"connection_id":151983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:28:53] local.INFO: TCP Data received {"connection_id":152380,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:28:53] local.INFO: Processing buffer {"connection_id":152380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:28:53] local.INFO: IMEI packet received {"connection_id":152380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":152380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:28:58] local.INFO: TCP Data received {"connection_id":152380,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:28:58] local.INFO: Processing buffer {"connection_id":152380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:28:58] local.INFO: IMEI packet received {"connection_id":152380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":152380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:28:59] local.INFO: TCP Data received {"connection_id":152380,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:28:59] local.INFO: Processing buffer {"connection_id":152380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:28:59] local.INFO: Packet analysis {"connection_id":152380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:28:59] local.INFO: Extracted packet for processing {"connection_id":152380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320830976001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786409797000,"timestamp_ms":1786409797000,"timestamp_seconds":1786409797,"priority":1,"record_length":96,"hex_timestamp":"0000019fee524588"} 
[2026-08-11 06:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:28: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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:28:59] 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-08-11 06: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-08-11 06:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:28:59] 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-08-11 06:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320830976001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320830976001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:28:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:28:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320830976001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":152380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:28:59] local.INFO: GPS data processed {"connection_id":152380,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:28:59] local.INFO: Acknowledgment sent {"connection_id":152380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:29:30] local.INFO: TCP Data received {"connection_id":152380,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:29:30] local.INFO: Processing buffer {"connection_id":152380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:29:30] local.INFO: Packet analysis {"connection_id":152380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:29:30] local.INFO: Extracted packet for processing {"connection_id":152380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320830976001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786409797000,"timestamp_ms":1786409797000,"timestamp_seconds":1786409797,"priority":1,"record_length":96,"hex_timestamp":"0000019fee524588"} 
[2026-08-11 06:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:29:30] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:29:30] 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-08-11 06: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-08-11 06:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:29:30] 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-08-11 06:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320830976001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320830976001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:29:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:29:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320830976001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":152380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:29:30] local.INFO: GPS data processed {"connection_id":152380,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:29:30] local.INFO: Acknowledgment sent {"connection_id":152380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:29:53] local.INFO: TCP Data received {"connection_id":153319,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:29:53] local.INFO: Processing buffer {"connection_id":153319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:29:53] local.INFO: IMEI packet received {"connection_id":153319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":153319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:29:58] local.INFO: TCP Data received {"connection_id":153319,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:29:58] local.INFO: Processing buffer {"connection_id":153319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:29:58] local.INFO: IMEI packet received {"connection_id":153319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":153319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:29:59] local.INFO: TCP Data received {"connection_id":153319,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:29:59] local.INFO: Processing buffer {"connection_id":153319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:29:59] local.INFO: Packet analysis {"connection_id":153319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:29:59] local.INFO: Extracted packet for processing {"connection_id":153319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320830976001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786409797000,"timestamp_ms":1786409797000,"timestamp_seconds":1786409797,"priority":1,"record_length":96,"hex_timestamp":"0000019fee524588"} 
[2026-08-11 06:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:29: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-08-11 06: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:29:59] 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-08-11 06: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-08-11 06:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:29:59] 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-08-11 06:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320830976001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320830976001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:29:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:29:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320830976001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":153319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:29:59] local.INFO: GPS data processed {"connection_id":153319,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:29:59] local.INFO: Acknowledgment sent {"connection_id":153319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:30:30] local.INFO: TCP Data received {"connection_id":153319,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:30:30] local.INFO: Processing buffer {"connection_id":153319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:30:30] local.INFO: Packet analysis {"connection_id":153319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:30:30] local.INFO: Extracted packet for processing {"connection_id":153319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320830976001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786409797000,"timestamp_ms":1786409797000,"timestamp_seconds":1786409797,"priority":1,"record_length":96,"hex_timestamp":"0000019fee524588"} 
[2026-08-11 06:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:30:30] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:30:30] 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-08-11 06: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-08-11 06:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:30:30] 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-08-11 06:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320830976001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320830976001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:30:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:30:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320830976001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":153319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:30:30] local.INFO: GPS data processed {"connection_id":153319,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:30:30] local.INFO: Acknowledgment sent {"connection_id":153319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:30:53] local.INFO: TCP Data received {"connection_id":152381,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:30:53] local.INFO: Processing buffer {"connection_id":152381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:30:53] local.INFO: IMEI packet received {"connection_id":152381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":152381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:30:58] local.INFO: TCP Data received {"connection_id":152381,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:30:58] local.INFO: Processing buffer {"connection_id":152381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:30:58] local.INFO: IMEI packet received {"connection_id":152381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":152381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:30:59] local.INFO: TCP Data received {"connection_id":152381,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:30:59] local.INFO: Processing buffer {"connection_id":152381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:30:59] local.INFO: Packet analysis {"connection_id":152381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:30:59] local.INFO: Extracted packet for processing {"connection_id":152381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320830976001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786409797000,"timestamp_ms":1786409797000,"timestamp_seconds":1786409797,"priority":1,"record_length":96,"hex_timestamp":"0000019fee524588"} 
[2026-08-11 06:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06: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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:30:59] 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-08-11 06: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-08-11 06:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:30:59] 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-08-11 06:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320830976001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320830976001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:30:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:30:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320830976001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":152381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:30:59] local.INFO: GPS data processed {"connection_id":152381,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:30:59] local.INFO: Acknowledgment sent {"connection_id":152381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:31:30] local.INFO: TCP Data received {"connection_id":152381,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:31:30] local.INFO: Processing buffer {"connection_id":152381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:31:30] local.INFO: Packet analysis {"connection_id":152381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:31:30] local.INFO: Extracted packet for processing {"connection_id":152381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:31: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-08-11 06:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320830976001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786409797000,"timestamp_ms":1786409797000,"timestamp_seconds":1786409797,"priority":1,"record_length":96,"hex_timestamp":"0000019fee524588"} 
[2026-08-11 06:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:31:30] 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-08-11 06:31: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:31:30] 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-08-11 06:31: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-08-11 06:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:31:30] 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-08-11 06:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320830976001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320830976001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:31:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:31:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320830976001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":152381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:31:30] local.INFO: GPS data processed {"connection_id":152381,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:31:30] local.INFO: Acknowledgment sent {"connection_id":152381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:31:58] local.INFO: TCP Data received {"connection_id":153320,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:31:58] local.INFO: Processing buffer {"connection_id":153320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:31:58] local.INFO: IMEI packet received {"connection_id":153320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":153320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:32:03] local.INFO: TCP Data received {"connection_id":153320,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:32:03] local.INFO: Processing buffer {"connection_id":153320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:32:03] local.INFO: IMEI packet received {"connection_id":153320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":153320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:32:04] local.INFO: TCP Data received {"connection_id":153320,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:32:04] local.INFO: Processing buffer {"connection_id":153320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee524588012d840d40061d6f20000c006f2f..."} 
[2026-08-11 06:32:04] local.INFO: Packet analysis {"connection_id":153320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:32:04] local.INFO: Extracted packet for processing {"connection_id":153320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee52"} 
[2026-08-11 06:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320830976001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786409797000,"timestamp_ms":1786409797000,"timestamp_seconds":1786409797,"priority":1,"record_length":96,"hex_timestamp":"0000019fee524588"} 
[2026-08-11 06:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:32:04] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:32:04] 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-08-11 06: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-08-11 06:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:32:04] 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-08-11 06:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320830976001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320830976001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:32:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:32:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320830976001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":153320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:32:04] local.INFO: GPS data processed {"connection_id":153320,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:32:04] local.INFO: Acknowledgment sent {"connection_id":153320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:32:35] local.INFO: TCP Data received {"connection_id":153320,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:32:35] local.INFO: Processing buffer {"connection_id":153320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:32:35] local.INFO: Packet analysis {"connection_id":153320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:32:35] local.INFO: Extracted packet for processing {"connection_id":153320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:32:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320908032001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786410098000,"timestamp_ms":1786410098000,"timestamp_seconds":1786410098,"priority":1,"record_length":96,"hex_timestamp":"0000019fee56dd50"} 
[2026-08-11 06:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:32:35] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:32:35] 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-08-11 06: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-08-11 06:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:32:35] 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-08-11 06:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320908032001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320908032001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:32:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:32:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320908032001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":153320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:32:35] local.INFO: GPS data processed {"connection_id":153320,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:32:35] local.INFO: Acknowledgment sent {"connection_id":153320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:32:53] local.INFO: TCP Data received {"connection_id":151984,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:32:53] local.INFO: Processing buffer {"connection_id":151984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:32:53] local.INFO: IMEI packet received {"connection_id":151984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":151984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:32:58] local.INFO: TCP Data received {"connection_id":151984,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:32:58] local.INFO: Processing buffer {"connection_id":151984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:32:58] local.INFO: IMEI packet received {"connection_id":151984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":151984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:32:59] local.INFO: TCP Data received {"connection_id":151984,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:32:59] local.INFO: Processing buffer {"connection_id":151984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:32:59] local.INFO: Packet analysis {"connection_id":151984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:32:59] local.INFO: Extracted packet for processing {"connection_id":151984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:32:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320908032001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786410098000,"timestamp_ms":1786410098000,"timestamp_seconds":1786410098,"priority":1,"record_length":96,"hex_timestamp":"0000019fee56dd50"} 
[2026-08-11 06:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:32: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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:32:59] 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-08-11 06: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-08-11 06:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:32:59] 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-08-11 06:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320908032001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320908032001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:32:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:32:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320908032001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":151984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:32:59] local.INFO: GPS data processed {"connection_id":151984,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:32:59] local.INFO: Acknowledgment sent {"connection_id":151984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:33:30] local.INFO: TCP Data received {"connection_id":151984,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:33:30] local.INFO: Processing buffer {"connection_id":151984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:33:30] local.INFO: Packet analysis {"connection_id":151984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:33:30] local.INFO: Extracted packet for processing {"connection_id":151984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:33:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:33: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-08-11 06:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320908032001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786410098000,"timestamp_ms":1786410098000,"timestamp_seconds":1786410098,"priority":1,"record_length":96,"hex_timestamp":"0000019fee56dd50"} 
[2026-08-11 06:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:33:30] 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-08-11 06:33: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:33:30] 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-08-11 06:33: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-08-11 06:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:33:30] 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-08-11 06:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320908032001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320908032001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:33:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:33:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320908032001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":151984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:33:30] local.INFO: GPS data processed {"connection_id":151984,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:33:30] local.INFO: Acknowledgment sent {"connection_id":151984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:33:53] local.INFO: TCP Data received {"connection_id":154714,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:33:53] local.INFO: Processing buffer {"connection_id":154714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:33:53] local.INFO: IMEI packet received {"connection_id":154714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":154714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:33:58] local.INFO: TCP Data received {"connection_id":154714,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:33:58] local.INFO: Processing buffer {"connection_id":154714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:33:58] local.INFO: IMEI packet received {"connection_id":154714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":154714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:33:59] local.INFO: TCP Data received {"connection_id":154714,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:33:59] local.INFO: Processing buffer {"connection_id":154714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:33:59] local.INFO: Packet analysis {"connection_id":154714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:33:59] local.INFO: Extracted packet for processing {"connection_id":154714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320908032001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786410098000,"timestamp_ms":1786410098000,"timestamp_seconds":1786410098,"priority":1,"record_length":96,"hex_timestamp":"0000019fee56dd50"} 
[2026-08-11 06:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:33: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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:33:59] 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-08-11 06: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-08-11 06:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:33:59] 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-08-11 06:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320908032001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320908032001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:33:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:33:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320908032001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":154714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:33:59] local.INFO: GPS data processed {"connection_id":154714,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:33:59] local.INFO: Acknowledgment sent {"connection_id":154714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:34:30] local.INFO: TCP Data received {"connection_id":154714,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:34:30] local.INFO: Processing buffer {"connection_id":154714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:34:30] local.INFO: Packet analysis {"connection_id":154714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:34:30] local.INFO: Extracted packet for processing {"connection_id":154714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320908032001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786410098000,"timestamp_ms":1786410098000,"timestamp_seconds":1786410098,"priority":1,"record_length":96,"hex_timestamp":"0000019fee56dd50"} 
[2026-08-11 06:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:34:30] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:34:30] 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-08-11 06: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-08-11 06:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:34:30] 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-08-11 06:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320908032001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320908032001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:34:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:34:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320908032001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":154714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:34:30] local.INFO: GPS data processed {"connection_id":154714,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:34:30] local.INFO: Acknowledgment sent {"connection_id":154714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:34:58] local.INFO: TCP Data received {"connection_id":151985,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:34:58] local.INFO: Processing buffer {"connection_id":151985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:34:58] local.INFO: IMEI packet received {"connection_id":151985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":151985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:35:03] local.INFO: TCP Data received {"connection_id":151985,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:35:03] local.INFO: Processing buffer {"connection_id":151985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:35:03] local.INFO: IMEI packet received {"connection_id":151985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":151985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:35:04] local.INFO: TCP Data received {"connection_id":151985,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:35:04] local.INFO: Processing buffer {"connection_id":151985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:35:04] local.INFO: Packet analysis {"connection_id":151985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:35:04] local.INFO: Extracted packet for processing {"connection_id":151985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320908032001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786410098000,"timestamp_ms":1786410098000,"timestamp_seconds":1786410098,"priority":1,"record_length":96,"hex_timestamp":"0000019fee56dd50"} 
[2026-08-11 06:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:35:04] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:35:04] 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-08-11 06: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-08-11 06:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:35:04] 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-08-11 06:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320908032001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320908032001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:35:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:35:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320908032001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":151985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:35:04] local.INFO: GPS data processed {"connection_id":151985,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:35:04] local.INFO: Acknowledgment sent {"connection_id":151985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:35:08] local.INFO: TCP Data received {"connection_id":151985,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:35:08] local.INFO: Processing buffer {"connection_id":151985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:35:08] local.INFO: Packet analysis {"connection_id":151985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:35:08] local.INFO: Extracted packet for processing {"connection_id":151985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320908032001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786410098000,"timestamp_ms":1786410098000,"timestamp_seconds":1786410098,"priority":1,"record_length":96,"hex_timestamp":"0000019fee56dd50"} 
[2026-08-11 06:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:35:08] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:35:08] 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-08-11 06: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-08-11 06:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:35:08] 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-08-11 06:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320908032001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320908032001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:35:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:35:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320908032001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":151985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:35:08] local.INFO: GPS data processed {"connection_id":151985,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:35:08] local.INFO: Acknowledgment sent {"connection_id":151985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:35:53] local.INFO: TCP Data received {"connection_id":154715,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:35:53] local.INFO: Processing buffer {"connection_id":154715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:35:53] local.INFO: IMEI packet received {"connection_id":154715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":154715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:35:58] local.INFO: TCP Data received {"connection_id":154715,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:35:58] local.INFO: Processing buffer {"connection_id":154715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:35:58] local.INFO: IMEI packet received {"connection_id":154715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":154715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:35:59] local.INFO: TCP Data received {"connection_id":154715,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:35:59] local.INFO: Processing buffer {"connection_id":154715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:35:59] local.INFO: Packet analysis {"connection_id":154715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:35:59] local.INFO: Extracted packet for processing {"connection_id":154715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320908032001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786410098000,"timestamp_ms":1786410098000,"timestamp_seconds":1786410098,"priority":1,"record_length":96,"hex_timestamp":"0000019fee56dd50"} 
[2026-08-11 06:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:35: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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:35:59] 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-08-11 06: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-08-11 06:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:35:59] 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-08-11 06:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320908032001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320908032001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:35:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:35:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320908032001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":154715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:35:59] local.INFO: GPS data processed {"connection_id":154715,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:35:59] local.INFO: Acknowledgment sent {"connection_id":154715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:36:30] local.INFO: TCP Data received {"connection_id":154715,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:36:30] local.INFO: Processing buffer {"connection_id":154715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:36:30] local.INFO: Packet analysis {"connection_id":154715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:36:30] local.INFO: Extracted packet for processing {"connection_id":154715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:36:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:36: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-08-11 06:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320908032001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786410098000,"timestamp_ms":1786410098000,"timestamp_seconds":1786410098,"priority":1,"record_length":96,"hex_timestamp":"0000019fee56dd50"} 
[2026-08-11 06:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:36:30] 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-08-11 06:36: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:36:30] 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-08-11 06:36: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-08-11 06:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:36:30] 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-08-11 06:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320908032001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320908032001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:36:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:36:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320908032001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":154715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:36:30] local.INFO: GPS data processed {"connection_id":154715,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:36:30] local.INFO: Acknowledgment sent {"connection_id":154715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:36:53] local.INFO: TCP Data received {"connection_id":154716,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:36:53] local.INFO: Processing buffer {"connection_id":154716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:36:53] local.INFO: IMEI packet received {"connection_id":154716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":154716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:36:58] local.INFO: TCP Data received {"connection_id":154716,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:36:58] local.INFO: Processing buffer {"connection_id":154716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:36:58] local.INFO: IMEI packet received {"connection_id":154716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":154716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:36:59] local.INFO: TCP Data received {"connection_id":154716,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:36:59] local.INFO: Processing buffer {"connection_id":154716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee56dd50012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:36:59] local.INFO: Packet analysis {"connection_id":154716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:36:59] local.INFO: Extracted packet for processing {"connection_id":154716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee56"} 
[2026-08-11 06:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320908032001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786410098000,"timestamp_ms":1786410098000,"timestamp_seconds":1786410098,"priority":1,"record_length":96,"hex_timestamp":"0000019fee56dd50"} 
[2026-08-11 06:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:36: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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:36:59] 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-08-11 06: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-08-11 06:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:36:59] 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-08-11 06:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320908032001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320908032001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:36:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:36:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320908032001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":154716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:36:59] local.INFO: GPS data processed {"connection_id":154716,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:36:59] local.INFO: Acknowledgment sent {"connection_id":154716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:37:30] local.INFO: TCP Data received {"connection_id":154716,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:37:30] local.INFO: Processing buffer {"connection_id":154716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:37:30] local.INFO: Packet analysis {"connection_id":154716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:37:30] local.INFO: Extracted packet for processing {"connection_id":154716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320985088001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786410399000,"timestamp_ms":1786410399000,"timestamp_seconds":1786410399,"priority":1,"record_length":96,"hex_timestamp":"0000019fee5b7518"} 
[2026-08-11 06:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:37:30] 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-08-11 06: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 06:37:30] 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-08-11 06: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-08-11 06:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:37:30] 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-08-11 06:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320985088001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320985088001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:37:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:37:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320985088001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":154716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:37:30] local.INFO: GPS data processed {"connection_id":154716,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:37:30] local.INFO: Acknowledgment sent {"connection_id":154716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:37:53] local.INFO: TCP Data received {"connection_id":153321,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:37:53] local.INFO: Processing buffer {"connection_id":153321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:37:53] local.INFO: IMEI packet received {"connection_id":153321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":153321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:37:58] local.INFO: TCP Data received {"connection_id":153321,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:37:58] local.INFO: Processing buffer {"connection_id":153321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:37:58] local.INFO: IMEI packet received {"connection_id":153321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":153321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:37:59] local.INFO: TCP Data received {"connection_id":153321,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:37:59] local.INFO: Processing buffer {"connection_id":153321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:37:59] local.INFO: Packet analysis {"connection_id":153321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:37:59] local.INFO: Extracted packet for processing {"connection_id":153321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320985088001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786410399000,"timestamp_ms":1786410399000,"timestamp_seconds":1786410399,"priority":1,"record_length":96,"hex_timestamp":"0000019fee5b7518"} 
[2026-08-11 06:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:37: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-08-11 06: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 06:37:59] 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-08-11 06:37: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-08-11 06:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:37:59] 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-08-11 06:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320985088001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320985088001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:37:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:37:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320985088001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":153321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:37:59] local.INFO: GPS data processed {"connection_id":153321,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:37:59] local.INFO: Acknowledgment sent {"connection_id":153321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:38:30] local.INFO: TCP Data received {"connection_id":153321,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:38:30] local.INFO: Processing buffer {"connection_id":153321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:38:30] local.INFO: Packet analysis {"connection_id":153321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:38:30] local.INFO: Extracted packet for processing {"connection_id":153321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:38: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-08-11 06:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320985088001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786410399000,"timestamp_ms":1786410399000,"timestamp_seconds":1786410399,"priority":1,"record_length":96,"hex_timestamp":"0000019fee5b7518"} 
[2026-08-11 06:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:38:30] 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-08-11 06:38: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 06:38:30] 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-08-11 06:38: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-08-11 06:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:38:30] 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-08-11 06:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320985088001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320985088001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:38:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:38:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320985088001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":153321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:38:30] local.INFO: GPS data processed {"connection_id":153321,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:38:30] local.INFO: Acknowledgment sent {"connection_id":153321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:38:53] local.INFO: TCP Data received {"connection_id":154717,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:38:53] local.INFO: Processing buffer {"connection_id":154717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:38:53] local.INFO: IMEI packet received {"connection_id":154717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":154717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:38:58] local.INFO: TCP Data received {"connection_id":154717,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:38:58] local.INFO: Processing buffer {"connection_id":154717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:38:58] local.INFO: IMEI packet received {"connection_id":154717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":154717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:38:59] local.INFO: TCP Data received {"connection_id":154717,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:38:59] local.INFO: Processing buffer {"connection_id":154717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:38:59] local.INFO: Packet analysis {"connection_id":154717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:38:59] local.INFO: Extracted packet for processing {"connection_id":154717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320985088001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786410399000,"timestamp_ms":1786410399000,"timestamp_seconds":1786410399,"priority":1,"record_length":96,"hex_timestamp":"0000019fee5b7518"} 
[2026-08-11 06:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:38: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-08-11 06: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 06:38:59] 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-08-11 06:38: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-08-11 06:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320985088001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320985088001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:38:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:38:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320985088001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":154717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:38:59] local.INFO: GPS data processed {"connection_id":154717,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:38:59] local.INFO: Acknowledgment sent {"connection_id":154717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:39:30] local.INFO: TCP Data received {"connection_id":154717,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:39:30] local.INFO: Processing buffer {"connection_id":154717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:39:30] local.INFO: Packet analysis {"connection_id":154717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:39:30] local.INFO: Extracted packet for processing {"connection_id":154717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:39: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-08-11 06:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320985088001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786410399000,"timestamp_ms":1786410399000,"timestamp_seconds":1786410399,"priority":1,"record_length":96,"hex_timestamp":"0000019fee5b7518"} 
[2026-08-11 06:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:39:30] 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-08-11 06:39: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 06:39:30] 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-08-11 06:39: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-08-11 06:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320985088001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320985088001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:39:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:39:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320985088001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":154717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:39:30] local.INFO: GPS data processed {"connection_id":154717,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:39:30] local.INFO: Acknowledgment sent {"connection_id":154717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:39:58] local.INFO: TCP Data received {"connection_id":153322,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:39:58] local.INFO: Processing buffer {"connection_id":153322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:39:58] local.INFO: IMEI packet received {"connection_id":153322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":153322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:40:03] local.INFO: TCP Data received {"connection_id":153322,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:40:03] local.INFO: Processing buffer {"connection_id":153322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:40:03] local.INFO: IMEI packet received {"connection_id":153322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":153322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:40:04] local.INFO: TCP Data received {"connection_id":153322,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:40:04] local.INFO: Processing buffer {"connection_id":153322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:40:04] local.INFO: Packet analysis {"connection_id":153322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:40:04] local.INFO: Extracted packet for processing {"connection_id":153322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:40:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320985088001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786410399000,"timestamp_ms":1786410399000,"timestamp_seconds":1786410399,"priority":1,"record_length":96,"hex_timestamp":"0000019fee5b7518"} 
[2026-08-11 06:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:40:04] 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-08-11 06: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 06:40: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-08-11 06: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-08-11 06:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320985088001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320985088001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:40:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:40:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320985088001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":153322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:40:04] local.INFO: GPS data processed {"connection_id":153322,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:40:04] local.INFO: Acknowledgment sent {"connection_id":153322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:40:08] local.INFO: TCP Data received {"connection_id":153322,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:40:08] local.INFO: Processing buffer {"connection_id":153322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:40:08] local.INFO: Packet analysis {"connection_id":153322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:40:08] local.INFO: Extracted packet for processing {"connection_id":153322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320985088001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786410399000,"timestamp_ms":1786410399000,"timestamp_seconds":1786410399,"priority":1,"record_length":96,"hex_timestamp":"0000019fee5b7518"} 
[2026-08-11 06:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:40:08] 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-08-11 06: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 06:40:08] 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-08-11 06: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-08-11 06:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320985088001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320985088001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:40:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:40:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320985088001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":153322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:40:08] local.INFO: GPS data processed {"connection_id":153322,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:40:08] local.INFO: Acknowledgment sent {"connection_id":153322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:40:53] local.INFO: TCP Data received {"connection_id":153323,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:40:53] local.INFO: Processing buffer {"connection_id":153323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:40:53] local.INFO: IMEI packet received {"connection_id":153323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":153323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:40:58] local.INFO: TCP Data received {"connection_id":153323,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:40:58] local.INFO: Processing buffer {"connection_id":153323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:40:58] local.INFO: IMEI packet received {"connection_id":153323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":153323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:40:59] local.INFO: TCP Data received {"connection_id":153323,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:40:59] local.INFO: Processing buffer {"connection_id":153323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:40:59] local.INFO: Packet analysis {"connection_id":153323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:40:59] local.INFO: Extracted packet for processing {"connection_id":153323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320985088001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786410399000,"timestamp_ms":1786410399000,"timestamp_seconds":1786410399,"priority":1,"record_length":96,"hex_timestamp":"0000019fee5b7518"} 
[2026-08-11 06:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:40: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-08-11 06: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 06:40:59] 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-08-11 06: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-08-11 06:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:40:59] 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-08-11 06:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320985088001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320985088001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:40:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:40:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320985088001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":153323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:40:59] local.INFO: GPS data processed {"connection_id":153323,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:40:59] local.INFO: Acknowledgment sent {"connection_id":153323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:41:30] local.INFO: TCP Data received {"connection_id":153323,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:41:30] local.INFO: Processing buffer {"connection_id":153323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:41:30] local.INFO: Packet analysis {"connection_id":153323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:41:30] local.INFO: Extracted packet for processing {"connection_id":153323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:41: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-08-11 06:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320985088001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786410399000,"timestamp_ms":1786410399000,"timestamp_seconds":1786410399,"priority":1,"record_length":96,"hex_timestamp":"0000019fee5b7518"} 
[2026-08-11 06:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:41:30] 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-08-11 06:41: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 06:41:30] 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-08-11 06:41: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-08-11 06:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:41:30] 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-08-11 06:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320985088001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320985088001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:41:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:41:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320985088001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":153323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:41:30] local.INFO: GPS data processed {"connection_id":153323,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:41:30] local.INFO: Acknowledgment sent {"connection_id":153323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:41:53] local.INFO: TCP Data received {"connection_id":153324,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:41:53] local.INFO: Processing buffer {"connection_id":153324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:41:53] local.INFO: IMEI packet received {"connection_id":153324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":153324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:41:58] local.INFO: TCP Data received {"connection_id":153324,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:41:58] local.INFO: Processing buffer {"connection_id":153324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:41:58] local.INFO: IMEI packet received {"connection_id":153324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":153324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:41:59] local.INFO: TCP Data received {"connection_id":153324,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:41:59] local.INFO: Processing buffer {"connection_id":153324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee5b7518012d840d40061d6f20000c006f30..."} 
[2026-08-11 06:41:59] local.INFO: Packet analysis {"connection_id":153324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:41:59] local.INFO: Extracted packet for processing {"connection_id":153324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee5b"} 
[2026-08-11 06:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:41: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-08-11 06:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457320985088001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786410399000,"timestamp_ms":1786410399000,"timestamp_seconds":1786410399,"priority":1,"record_length":96,"hex_timestamp":"0000019fee5b7518"} 
[2026-08-11 06:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:41: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-08-11 06:41: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 06:41:59] 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-08-11 06:41: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-08-11 06:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:41:59] 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-08-11 06:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457320985088001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457320985088001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:41:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:41:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457320985088001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":153324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:41:59] local.INFO: GPS data processed {"connection_id":153324,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:41:59] local.INFO: Acknowledgment sent {"connection_id":153324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:42:30] local.INFO: TCP Data received {"connection_id":153324,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:42:30] local.INFO: Processing buffer {"connection_id":153324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:42:30] local.INFO: Packet analysis {"connection_id":153324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:42:30] local.INFO: Extracted packet for processing {"connection_id":153324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:42: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-08-11 06:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321062144001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786410700000,"timestamp_ms":1786410700000,"timestamp_seconds":1786410700,"priority":1,"record_length":96,"hex_timestamp":"0000019fee600ce0"} 
[2026-08-11 06:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:42:30] 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-08-11 06:42: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:42:30] 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-08-11 06:42: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-08-11 06:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:42:30] 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-08-11 06:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321062144001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321062144001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:42:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:42:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321062144001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":153324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:42:30] local.INFO: GPS data processed {"connection_id":153324,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:42:30] local.INFO: Acknowledgment sent {"connection_id":153324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:42:53] local.INFO: TCP Data received {"connection_id":151986,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:42:53] local.INFO: Processing buffer {"connection_id":151986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:42:53] local.INFO: IMEI packet received {"connection_id":151986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":151986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:42:58] local.INFO: TCP Data received {"connection_id":151986,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:42:58] local.INFO: Processing buffer {"connection_id":151986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:42:58] local.INFO: IMEI packet received {"connection_id":151986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":151986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:42:59] local.INFO: TCP Data received {"connection_id":151986,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:42:59] local.INFO: Processing buffer {"connection_id":151986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:42:59] local.INFO: Packet analysis {"connection_id":151986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:42:59] local.INFO: Extracted packet for processing {"connection_id":151986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321062144001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786410700000,"timestamp_ms":1786410700000,"timestamp_seconds":1786410700,"priority":1,"record_length":96,"hex_timestamp":"0000019fee600ce0"} 
[2026-08-11 06:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:42: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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:42:59] 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-08-11 06: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-08-11 06:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:42:59] 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-08-11 06:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321062144001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321062144001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:42:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:42:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321062144001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":151986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:42:59] local.INFO: GPS data processed {"connection_id":151986,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:42:59] local.INFO: Acknowledgment sent {"connection_id":151986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:43:30] local.INFO: TCP Data received {"connection_id":151986,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:43:30] local.INFO: Processing buffer {"connection_id":151986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:43:30] local.INFO: Packet analysis {"connection_id":151986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:43:30] local.INFO: Extracted packet for processing {"connection_id":151986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321062144001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786410700000,"timestamp_ms":1786410700000,"timestamp_seconds":1786410700,"priority":1,"record_length":96,"hex_timestamp":"0000019fee600ce0"} 
[2026-08-11 06:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:43:30] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:43:30] 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-08-11 06: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-08-11 06:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:43:30] 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-08-11 06:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321062144001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321062144001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:43:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:43:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321062144001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":151986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:43:30] local.INFO: GPS data processed {"connection_id":151986,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:43:30] local.INFO: Acknowledgment sent {"connection_id":151986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:43:53] local.INFO: TCP Data received {"connection_id":153325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:43:53] local.INFO: Processing buffer {"connection_id":153325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:43:53] local.INFO: IMEI packet received {"connection_id":153325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":153325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:44:00] local.INFO: TCP Data received {"connection_id":153325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:44:00] local.INFO: Processing buffer {"connection_id":153325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:44:00] local.INFO: IMEI packet received {"connection_id":153325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":153325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:44:04] local.INFO: TCP Data received {"connection_id":153325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:44:04] local.INFO: Processing buffer {"connection_id":153325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:44:04] local.INFO: Packet analysis {"connection_id":153325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:44:04] local.INFO: Extracted packet for processing {"connection_id":153325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321062144001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786410700000,"timestamp_ms":1786410700000,"timestamp_seconds":1786410700,"priority":1,"record_length":96,"hex_timestamp":"0000019fee600ce0"} 
[2026-08-11 06:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:44:04] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:44:04] 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-08-11 06: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-08-11 06:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:44:04] 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-08-11 06:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321062144001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321062144001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:44:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:44:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321062144001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":153325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:44:04] local.INFO: GPS data processed {"connection_id":153325,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:44:04] local.INFO: Acknowledgment sent {"connection_id":153325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:44:52] local.INFO: TCP Data received {"connection_id":153325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:44:52] local.INFO: Processing buffer {"connection_id":153325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:44:52] local.INFO: Packet analysis {"connection_id":153325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:44:52] local.INFO: Extracted packet for processing {"connection_id":153325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:44:52] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321062144001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786410700000,"timestamp_ms":1786410700000,"timestamp_seconds":1786410700,"priority":1,"record_length":96,"hex_timestamp":"0000019fee600ce0"} 
[2026-08-11 06:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:44:52] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:44:52] 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-08-11 06: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-08-11 06:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:44:52] 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-08-11 06:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321062144001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321062144001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:44:52] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:44:52] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321062144001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":153325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:44:52] local.INFO: GPS data processed {"connection_id":153325,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:44:52] local.INFO: Acknowledgment sent {"connection_id":153325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:44:53] local.INFO: TCP Data received {"connection_id":154718,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:44:53] local.INFO: Processing buffer {"connection_id":154718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:44:53] local.INFO: IMEI packet received {"connection_id":154718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":154718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:44:58] local.INFO: TCP Data received {"connection_id":154718,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:44:58] local.INFO: Processing buffer {"connection_id":154718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:44:58] local.INFO: IMEI packet received {"connection_id":154718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":154718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:44:59] local.INFO: TCP Data received {"connection_id":154718,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:44:59] local.INFO: Processing buffer {"connection_id":154718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:44:59] local.INFO: Packet analysis {"connection_id":154718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:44:59] local.INFO: Extracted packet for processing {"connection_id":154718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321062144001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786410700000,"timestamp_ms":1786410700000,"timestamp_seconds":1786410700,"priority":1,"record_length":96,"hex_timestamp":"0000019fee600ce0"} 
[2026-08-11 06:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:44: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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:44:59] 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-08-11 06: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-08-11 06:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:44:59] 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-08-11 06:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321062144001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321062144001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:44:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:44:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321062144001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":154718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:44:59] local.INFO: GPS data processed {"connection_id":154718,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:44:59] local.INFO: Acknowledgment sent {"connection_id":154718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:45:30] local.INFO: TCP Data received {"connection_id":154718,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:45:30] local.INFO: Processing buffer {"connection_id":154718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:45:30] local.INFO: Packet analysis {"connection_id":154718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:45:30] local.INFO: Extracted packet for processing {"connection_id":154718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:45:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321062144001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786410700000,"timestamp_ms":1786410700000,"timestamp_seconds":1786410700,"priority":1,"record_length":96,"hex_timestamp":"0000019fee600ce0"} 
[2026-08-11 06:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:45:30] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:45:30] 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-08-11 06: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-08-11 06:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:45:30] 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-08-11 06:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321062144001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321062144001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:45:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:45:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321062144001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":154718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:45:30] local.INFO: GPS data processed {"connection_id":154718,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:45:30] local.INFO: Acknowledgment sent {"connection_id":154718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:45:53] local.INFO: TCP Data received {"connection_id":152382,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:45:53] local.INFO: Processing buffer {"connection_id":152382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:45:53] local.INFO: IMEI packet received {"connection_id":152382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":152382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:45:58] local.INFO: TCP Data received {"connection_id":152382,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:45:58] local.INFO: Processing buffer {"connection_id":152382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:45:58] local.INFO: IMEI packet received {"connection_id":152382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":152382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:45:59] local.INFO: TCP Data received {"connection_id":152382,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:45:59] local.INFO: Processing buffer {"connection_id":152382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:45:59] local.INFO: Packet analysis {"connection_id":152382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:45:59] local.INFO: Extracted packet for processing {"connection_id":152382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321062144001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786410700000,"timestamp_ms":1786410700000,"timestamp_seconds":1786410700,"priority":1,"record_length":96,"hex_timestamp":"0000019fee600ce0"} 
[2026-08-11 06:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:45: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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:45:59] 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-08-11 06: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-08-11 06:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:45:59] 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-08-11 06:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321062144001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321062144001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:45:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:45:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321062144001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":152382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:45:59] local.INFO: GPS data processed {"connection_id":152382,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:45:59] local.INFO: Acknowledgment sent {"connection_id":152382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:46:30] local.INFO: TCP Data received {"connection_id":152382,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:46:30] local.INFO: Processing buffer {"connection_id":152382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:46:30] local.INFO: Packet analysis {"connection_id":152382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:46:30] local.INFO: Extracted packet for processing {"connection_id":152382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:46:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321062144001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786410700000,"timestamp_ms":1786410700000,"timestamp_seconds":1786410700,"priority":1,"record_length":96,"hex_timestamp":"0000019fee600ce0"} 
[2026-08-11 06:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:46:30] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:46:30] 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-08-11 06: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-08-11 06:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:46:30] 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-08-11 06:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321062144001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321062144001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:46:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:46:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321062144001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":152382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:46:30] local.INFO: GPS data processed {"connection_id":152382,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:46:30] local.INFO: Acknowledgment sent {"connection_id":152382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:46:53] local.INFO: TCP Data received {"connection_id":153326,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:46:53] local.INFO: Processing buffer {"connection_id":153326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:46:53] local.INFO: IMEI packet received {"connection_id":153326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":153326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:46:58] local.INFO: TCP Data received {"connection_id":153326,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:46:58] local.INFO: Processing buffer {"connection_id":153326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:46:58] local.INFO: IMEI packet received {"connection_id":153326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":153326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:46:59] local.INFO: TCP Data received {"connection_id":153326,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:46:59] local.INFO: Processing buffer {"connection_id":153326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee600ce0012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:46:59] local.INFO: Packet analysis {"connection_id":153326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:46:59] local.INFO: Extracted packet for processing {"connection_id":153326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee60"} 
[2026-08-11 06:46:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321062144001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786410700000,"timestamp_ms":1786410700000,"timestamp_seconds":1786410700,"priority":1,"record_length":96,"hex_timestamp":"0000019fee600ce0"} 
[2026-08-11 06:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:46: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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:46:59] 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-08-11 06: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-08-11 06:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:46:59] 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-08-11 06:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321062144001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321062144001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:46:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:46:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321062144001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":153326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:46:59] local.INFO: GPS data processed {"connection_id":153326,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:46:59] local.INFO: Acknowledgment sent {"connection_id":153326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:47:30] local.INFO: TCP Data received {"connection_id":153326,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:47:30] local.INFO: Processing buffer {"connection_id":153326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:47:30] local.INFO: Packet analysis {"connection_id":153326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:47:30] local.INFO: Extracted packet for processing {"connection_id":153326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:47:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:47: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-08-11 06:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321139200001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786411001000,"timestamp_ms":1786411001000,"timestamp_seconds":1786411001,"priority":1,"record_length":96,"hex_timestamp":"0000019fee64a4a8"} 
[2026-08-11 06:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:47:30] 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-08-11 06:47: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 06:47:30] 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-08-11 06:47: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-08-11 06:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:47:30] 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-08-11 06:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321139200001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321139200001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:47:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:47:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321139200001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":153326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:47:30] local.INFO: GPS data processed {"connection_id":153326,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:47:30] local.INFO: Acknowledgment sent {"connection_id":153326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:47:53] local.INFO: TCP Data received {"connection_id":152383,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:47:53] local.INFO: Processing buffer {"connection_id":152383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:47:53] local.INFO: IMEI packet received {"connection_id":152383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":152383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:47:58] local.INFO: TCP Data received {"connection_id":152383,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:47:58] local.INFO: Processing buffer {"connection_id":152383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:47:58] local.INFO: IMEI packet received {"connection_id":152383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":152383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:47:59] local.INFO: TCP Data received {"connection_id":152383,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:47:59] local.INFO: Processing buffer {"connection_id":152383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:47:59] local.INFO: Packet analysis {"connection_id":152383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:47:59] local.INFO: Extracted packet for processing {"connection_id":152383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321139200001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786411001000,"timestamp_ms":1786411001000,"timestamp_seconds":1786411001,"priority":1,"record_length":96,"hex_timestamp":"0000019fee64a4a8"} 
[2026-08-11 06:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:47: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-08-11 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 06:47:59] 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-08-11 06: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-08-11 06:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:47:59] 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-08-11 06:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321139200001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321139200001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:47:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:47:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321139200001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":152383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:47:59] local.INFO: GPS data processed {"connection_id":152383,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:47:59] local.INFO: Acknowledgment sent {"connection_id":152383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:48:30] local.INFO: TCP Data received {"connection_id":152383,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:48:30] local.INFO: Processing buffer {"connection_id":152383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:48:30] local.INFO: Packet analysis {"connection_id":152383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:48:30] local.INFO: Extracted packet for processing {"connection_id":152383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:48:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:48: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-08-11 06:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321139200001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786411001000,"timestamp_ms":1786411001000,"timestamp_seconds":1786411001,"priority":1,"record_length":96,"hex_timestamp":"0000019fee64a4a8"} 
[2026-08-11 06:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:48:30] 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-08-11 06:48: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 06:48:30] 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-08-11 06:48: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-08-11 06:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:48:30] 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-08-11 06:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321139200001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321139200001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:48:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:48:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321139200001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":152383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:48:30] local.INFO: GPS data processed {"connection_id":152383,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:48:30] local.INFO: Acknowledgment sent {"connection_id":152383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:48:58] local.INFO: TCP Data received {"connection_id":154719,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:48:58] local.INFO: Processing buffer {"connection_id":154719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:48:58] local.INFO: IMEI packet received {"connection_id":154719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":154719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:49:03] local.INFO: TCP Data received {"connection_id":154719,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:49:03] local.INFO: Processing buffer {"connection_id":154719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:49:03] local.INFO: IMEI packet received {"connection_id":154719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":154719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:49:04] local.INFO: TCP Data received {"connection_id":154719,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:49:04] local.INFO: Processing buffer {"connection_id":154719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:49:04] local.INFO: Packet analysis {"connection_id":154719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:49:04] local.INFO: Extracted packet for processing {"connection_id":154719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321139200001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786411001000,"timestamp_ms":1786411001000,"timestamp_seconds":1786411001,"priority":1,"record_length":96,"hex_timestamp":"0000019fee64a4a8"} 
[2026-08-11 06:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:49:04] 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-08-11 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 06:49:04] 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-08-11 06: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-08-11 06:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:49:04] 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-08-11 06:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321139200001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321139200001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:49:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:49:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321139200001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":154719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:49:04] local.INFO: GPS data processed {"connection_id":154719,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:49:04] local.INFO: Acknowledgment sent {"connection_id":154719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:49:08] local.INFO: TCP Data received {"connection_id":154719,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:49:08] local.INFO: Processing buffer {"connection_id":154719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:49:08] local.INFO: Packet analysis {"connection_id":154719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:49:08] local.INFO: Extracted packet for processing {"connection_id":154719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321139200001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786411001000,"timestamp_ms":1786411001000,"timestamp_seconds":1786411001,"priority":1,"record_length":96,"hex_timestamp":"0000019fee64a4a8"} 
[2026-08-11 06:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:49:08] 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-08-11 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 06:49:08] 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-08-11 06: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-08-11 06:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:49:08] 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-08-11 06:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321139200001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321139200001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:49:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:49:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321139200001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":154719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:49:08] local.INFO: GPS data processed {"connection_id":154719,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:49:08] local.INFO: Acknowledgment sent {"connection_id":154719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:49:22] local.INFO: TCP Data received {"connection_id":153327,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:49:22] local.INFO: Processing buffer {"connection_id":153327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:49:22] local.INFO: IMEI packet received {"connection_id":153327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 06:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":153327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:49:23] local.INFO: TCP Data received {"connection_id":153327,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:49:23] local.INFO: Processing buffer {"connection_id":153327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:49:23] local.INFO: IMEI packet received {"connection_id":153327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 06:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":153327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:49:30] local.INFO: TCP Data received {"connection_id":153327,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:49:30] local.INFO: Processing buffer {"connection_id":153327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:49:30] local.INFO: IMEI packet received {"connection_id":153327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 06:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":153327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:49:33] local.INFO: TCP Data received {"connection_id":153327,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-08-11 06:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-08-11 06:49:33] local.INFO: Processing buffer {"connection_id":153327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-08-11 06:49:33] local.INFO: Packet analysis {"connection_id":153327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 06:49:33] local.INFO: Extracted packet for processing {"connection_id":153327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 06:49:33] 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-08-11 06:49:33] 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-08-11 06:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117407122924240896,"note":"Value kept but may cause issues"} 
[2026-08-11 06:49:33] 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-08-11 06:49:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7000,"timestamp_seconds":7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 06:49:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 06:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":153327,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 06:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 06:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 06:49:33] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 06:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":153327,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 06:49:33] local.ERROR: GPS data processing failed {"connection_id":153327,"error":"No valid data to process"} 
[2026-08-11 06:49:33] local.INFO: Acknowledgment sent {"connection_id":153327,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 06:49:53] local.INFO: TCP Data received {"connection_id":152384,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:49:53] local.INFO: Processing buffer {"connection_id":152384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:49:53] local.INFO: IMEI packet received {"connection_id":152384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":152384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:49:58] local.INFO: TCP Data received {"connection_id":152384,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:49:58] local.INFO: Processing buffer {"connection_id":152384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:49:58] local.INFO: IMEI packet received {"connection_id":152384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":152384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:49:59] local.INFO: TCP Data received {"connection_id":152384,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:49:59] local.INFO: Processing buffer {"connection_id":152384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:49:59] local.INFO: Packet analysis {"connection_id":152384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:49:59] local.INFO: Extracted packet for processing {"connection_id":152384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321139200001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786411001000,"timestamp_ms":1786411001000,"timestamp_seconds":1786411001,"priority":1,"record_length":96,"hex_timestamp":"0000019fee64a4a8"} 
[2026-08-11 06:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:49: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-08-11 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 06:49:59] 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-08-11 06: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-08-11 06:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:49:59] 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-08-11 06:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321139200001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321139200001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:49:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:49:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321139200001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":152384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:49:59] local.INFO: GPS data processed {"connection_id":152384,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:49:59] local.INFO: Acknowledgment sent {"connection_id":152384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:50:04] local.INFO: TCP Data received {"connection_id":153327,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-11 06:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153327,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-11 06:50:04] local.INFO: Processing buffer {"connection_id":153327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-11 06:50:04] local.INFO: Packet analysis {"connection_id":153327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 06:50:04] local.INFO: Extracted packet for processing {"connection_id":153327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 06:50:04] 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-08-11 06: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-08-11 06:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117407122924240896,"note":"Value kept but may cause issues"} 
[2026-08-11 06:50:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 06:50:04] 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-08-11 06:50:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 06:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153327,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 06:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 06:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 06:50:04] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 06:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":153327,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 06:50:04] local.ERROR: GPS data processing failed {"connection_id":153327,"error":"No valid data to process"} 
[2026-08-11 06:50:04] local.INFO: Acknowledgment sent {"connection_id":153327,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 06:50:30] local.INFO: TCP Data received {"connection_id":152384,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:50:30] local.INFO: Processing buffer {"connection_id":152384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:50:30] local.INFO: Packet analysis {"connection_id":152384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:50:30] local.INFO: Extracted packet for processing {"connection_id":152384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321139200001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786411001000,"timestamp_ms":1786411001000,"timestamp_seconds":1786411001,"priority":1,"record_length":96,"hex_timestamp":"0000019fee64a4a8"} 
[2026-08-11 06:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:50:30] 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-08-11 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 06:50:30] 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-08-11 06: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-08-11 06:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:50:30] 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-08-11 06:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321139200001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321139200001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:50:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:50:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321139200001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":152384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:50:30] local.INFO: GPS data processed {"connection_id":152384,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:50:30] local.INFO: Acknowledgment sent {"connection_id":152384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:50:34] local.INFO: TCP Data received {"connection_id":153327,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-11 06:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153327,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-11 06:50:34] local.INFO: Processing buffer {"connection_id":153327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-11 06:50:34] local.INFO: Packet analysis {"connection_id":153327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-11 06:50:34] local.INFO: Extracted packet for processing {"connection_id":153327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-11 06:50: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-08-11 06: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-08-11 06:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117407122924240896,"note":"Value kept but may cause issues"} 
[2026-08-11 06:50:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 06:50:34] 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-08-11 06:50:34] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 06:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153327,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 06:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 06:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 06:50:34] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 06:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":153327,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 06:50:34] local.ERROR: GPS data processing failed {"connection_id":153327,"error":"No valid data to process"} 
[2026-08-11 06:50:34] local.INFO: Acknowledgment sent {"connection_id":153327,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 06:50:53] local.INFO: TCP Data received {"connection_id":154720,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:50:53] local.INFO: Processing buffer {"connection_id":154720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:50:53] local.INFO: IMEI packet received {"connection_id":154720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":154720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:50:58] local.INFO: TCP Data received {"connection_id":154720,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:50:58] local.INFO: Processing buffer {"connection_id":154720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:50:58] local.INFO: IMEI packet received {"connection_id":154720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":154720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:50:59] local.INFO: TCP Data received {"connection_id":154720,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:50:59] local.INFO: Processing buffer {"connection_id":154720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:50:59] local.INFO: Packet analysis {"connection_id":154720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:50:59] local.INFO: Extracted packet for processing {"connection_id":154720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321139200001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786411001000,"timestamp_ms":1786411001000,"timestamp_seconds":1786411001,"priority":1,"record_length":96,"hex_timestamp":"0000019fee64a4a8"} 
[2026-08-11 06:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:50: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-08-11 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 06:50:59] 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-08-11 06: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-08-11 06:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:50:59] 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-08-11 06:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321139200001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321139200001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:50:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:50:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321139200001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":154720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:50:59] local.INFO: GPS data processed {"connection_id":154720,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:50:59] local.INFO: Acknowledgment sent {"connection_id":154720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:51:05] local.INFO: TCP Data received {"connection_id":153327,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee67b9b80100000000000000000000000000..."} 
[2026-08-11 06:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee67b9b80100000000000000000000000000..."} 
[2026-08-11 06:51:05] local.INFO: Processing buffer {"connection_id":153327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee67b9b80100000000000000000000000000..."} 
[2026-08-11 06:51:05] local.INFO: Packet analysis {"connection_id":153327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee67"} 
[2026-08-11 06:51:05] local.INFO: Extracted packet for processing {"connection_id":153327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee67"} 
[2026-08-11 06:51: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-08-11 06: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-08-11 06:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117407122924240896,"note":"Value kept but may cause issues"} 
[2026-08-11 06:51:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 06:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786411203000,"timestamp_ms":1786411203000,"timestamp_seconds":1786411203,"priority":1,"record_length":96,"hex_timestamp":"0000019fee67b9b8"} 
[2026-08-11 06:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":512,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 06: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-11 06:51:05] 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-08-11 06: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-08-11 06:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 06:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 06:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":153327,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 06:51:05] local.INFO: GPS data processed {"connection_id":153327,"processed":0,"errors":0,"total":1} 
[2026-08-11 06:51:05] local.INFO: Acknowledgment sent {"connection_id":153327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:51:30] local.INFO: TCP Data received {"connection_id":154720,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:51:30] local.INFO: Processing buffer {"connection_id":154720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:51:30] local.INFO: Packet analysis {"connection_id":154720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:51:30] local.INFO: Extracted packet for processing {"connection_id":154720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321139200001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786411001000,"timestamp_ms":1786411001000,"timestamp_seconds":1786411001,"priority":1,"record_length":96,"hex_timestamp":"0000019fee64a4a8"} 
[2026-08-11 06:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:51:30] 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-08-11 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 06:51:30] 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-08-11 06: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-08-11 06:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:51:30] 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-08-11 06:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321139200001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321139200001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:51:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:51:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321139200001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":154720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:51:30] local.INFO: GPS data processed {"connection_id":154720,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:51:30] local.INFO: Acknowledgment sent {"connection_id":154720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:51:36] local.INFO: TCP Data received {"connection_id":153327,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee67d8f8012d7e394005d35b98001000000c..."} 
[2026-08-11 06:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee67d8f8012d7e394005d35b98001000000c..."} 
[2026-08-11 06:51:36] local.INFO: Processing buffer {"connection_id":153327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee67d8f8012d7e394005d35b98001000000c..."} 
[2026-08-11 06:51:36] local.INFO: Packet analysis {"connection_id":153327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee67"} 
[2026-08-11 06:51:36] local.INFO: Extracted packet for processing {"connection_id":153327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee67"} 
[2026-08-11 06:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97737624,"longitude_deg":76.3246912,"latitude_deg":9.7737624,"altitude":16,"angle":0,"satellites":12,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d35b98","is_valid_coordinates":true} 
[2026-08-11 06:51:36] 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-08-11 06:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117407122924240896,"note":"Value kept but may cause issues"} 
[2026-08-11 06:51:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 06:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786411211000,"timestamp_ms":1786411211000,"timestamp_seconds":1786411211,"priority":1,"record_length":96,"hex_timestamp":"0000019fee67d8f8"} 
[2026-08-11 06:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 06: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-11 06:51: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-08-11 06: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-08-11 06:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 06:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 06:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13580,"109":206,"85":15104,"24":0,"16":117407122924240896},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-08-11 06:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 06:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 06:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-11 06:51:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 06:51:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 06:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117407122924240896,"km_value":117407122924240.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:51:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13580,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-11 06:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":153327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:51:36] local.INFO: GPS data processed {"connection_id":153327,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:51:36] local.INFO: Acknowledgment sent {"connection_id":153327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:51:53] local.INFO: TCP Data received {"connection_id":154721,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:51:53] local.INFO: Processing buffer {"connection_id":154721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:51:53] local.INFO: IMEI packet received {"connection_id":154721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":154721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:51:58] local.INFO: TCP Data received {"connection_id":154721,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:51:58] local.INFO: Processing buffer {"connection_id":154721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:51:58] local.INFO: IMEI packet received {"connection_id":154721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":154721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:51:59] local.INFO: TCP Data received {"connection_id":154721,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:51:59] local.INFO: Processing buffer {"connection_id":154721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee64a4a8012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:51:59] local.INFO: Packet analysis {"connection_id":154721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:51:59] local.INFO: Extracted packet for processing {"connection_id":154721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee64"} 
[2026-08-11 06:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:51: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-08-11 06:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321139200001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786411001000,"timestamp_ms":1786411001000,"timestamp_seconds":1786411001,"priority":1,"record_length":96,"hex_timestamp":"0000019fee64a4a8"} 
[2026-08-11 06:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:51: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-08-11 06:51: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 06:51:59] 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-08-11 06:51: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-08-11 06:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:51:59] 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-08-11 06:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321139200001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321139200001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:51:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:51:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321139200001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":154721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:51:59] local.INFO: GPS data processed {"connection_id":154721,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:51:59] local.INFO: Acknowledgment sent {"connection_id":154721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:52:07] local.INFO: TCP Data received {"connection_id":153327,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6807d8012d7e38c005d35af00014000011..."} 
[2026-08-11 06:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6807d8012d7e38c005d35af00014000011..."} 
[2026-08-11 06:52:08] local.INFO: Processing buffer {"connection_id":153327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6807d8012d7e38c005d35af00014000011..."} 
[2026-08-11 06:52:08] local.INFO: Packet analysis {"connection_id":153327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee68"} 
[2026-08-11 06:52:08] local.INFO: Extracted packet for processing {"connection_id":153327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee68"} 
[2026-08-11 06:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763246784,"raw_latitude":97737456,"longitude_deg":76.3246784,"latitude_deg":9.7737456,"altitude":20,"angle":0,"satellites":17,"speed":0,"hex_longitude":"2d7e38c0","hex_latitude":"05d35af0","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321270016001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117407148694044672,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316216436736,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:08] 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-08-11 06:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786411223000,"timestamp_ms":1786411223000,"timestamp_seconds":1786411223,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6807d8"} 
[2026-08-11 06:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 06: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-11 06:52:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6837264678813433856,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629046997680128,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:08] local.WARNING: Large IO value detected {"io_id":47,"raw_value":360513370073386496,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:08] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,109,85,24,241,157,16,29,159,185,10,66,9,183,1,240,116,227,4,113,205,27,239,2,47,161],"length":577,"final_offset":707,"validated_count":26,"validation_warnings":[]} 
[2026-08-11 06:52:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1152921556146454597,"timestamp_seconds":1152921556146454.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 06:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 06:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 06:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321270016001,"66":13559,"109":206,"85":15104,"24":0,"16":117407148694044672,"45":9095371316216436736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 06:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 06:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 06:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321270016001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:52:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 06:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 06:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117407148694044672,"km_value":117407148694044.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316216436736,"description":"Unknown IO ID 45"} 
[2026-08-11 06:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321270016001,"power":13559,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316216436736}} 
[2026-08-11 06:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":153327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:52:08] local.INFO: GPS data processed {"connection_id":153327,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:52:08] local.INFO: Acknowledgment sent {"connection_id":153327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:52:30] local.INFO: TCP Data received {"connection_id":154721,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:52:30] local.INFO: Processing buffer {"connection_id":154721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:52:30] local.INFO: Packet analysis {"connection_id":154721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:52:30] local.INFO: Extracted packet for processing {"connection_id":154721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:52: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-08-11 06:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321216256001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786411302000,"timestamp_ms":1786411302000,"timestamp_seconds":1786411302,"priority":1,"record_length":96,"hex_timestamp":"0000019fee693c70"} 
[2026-08-11 06:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:52:30] 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-08-11 06:52: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 06:52:30] 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-08-11 06:52: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-08-11 06:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:52:30] 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-08-11 06:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321216256001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321216256001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:52:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:52:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321216256001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":154721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:52:30] local.INFO: GPS data processed {"connection_id":154721,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:52:30] local.INFO: Acknowledgment sent {"connection_id":154721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:52:41] local.INFO: TCP Data received {"connection_id":153327,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6859e0012d7e390005d35a800012000012..."} 
[2026-08-11 06:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6859e0012d7e390005d35a800012000012..."} 
[2026-08-11 06:52:41] local.INFO: Processing buffer {"connection_id":153327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6859e0012d7e390005d35a800012000012..."} 
[2026-08-11 06:52:41] local.INFO: Packet analysis {"connection_id":153327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee68"} 
[2026-08-11 06:52:41] local.INFO: Extracted packet for processing {"connection_id":153327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee68"} 
[2026-08-11 06:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763246848,"raw_latitude":97737344,"longitude_deg":76.3246848,"latitude_deg":9.7737344,"altitude":18,"angle":0,"satellites":18,"speed":0,"hex_longitude":"2d7e3900","hex_latitude":"05d35a80","is_valid_coordinates":true} 
[2026-08-11 06:52: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-08-11 06:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321273088001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117407161578946560,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578728038400,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:41] 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-08-11 06:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786411244000,"timestamp_ms":1786411244000,"timestamp_seconds":1786411244,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6859e0"} 
[2026-08-11 06:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:52:41] 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-08-11 06:52: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-11 06:52:41] 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-08-11 06:52: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-08-11 06:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 06:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 06:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321273088001,"66":13722,"109":206,"85":15104,"24":0,"16":117407161578946560,"45":9095230578728038400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 06:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 06:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 06:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321273088001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:52:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 06:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 06:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117407161578946560,"km_value":117407161578946.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578728038400,"description":"Unknown IO ID 45"} 
[2026-08-11 06:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321273088001,"power":13722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578728038400}} 
[2026-08-11 06:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":153327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:52:41] local.INFO: GPS data processed {"connection_id":153327,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:52:41] local.INFO: Acknowledgment sent {"connection_id":153327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:52:53] local.INFO: TCP Data received {"connection_id":151987,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:52:53] local.INFO: Processing buffer {"connection_id":151987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:52:53] local.INFO: IMEI packet received {"connection_id":151987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":151987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:52:58] local.INFO: TCP Data received {"connection_id":151987,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:52:58] local.INFO: Processing buffer {"connection_id":151987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:52:58] local.INFO: IMEI packet received {"connection_id":151987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":151987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:52:59] local.INFO: TCP Data received {"connection_id":151987,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:52:59] local.INFO: Processing buffer {"connection_id":151987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:52:59] local.INFO: Packet analysis {"connection_id":151987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:52:59] local.INFO: Extracted packet for processing {"connection_id":151987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321216256001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786411302000,"timestamp_ms":1786411302000,"timestamp_seconds":1786411302,"priority":1,"record_length":96,"hex_timestamp":"0000019fee693c70"} 
[2026-08-11 06:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:52: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-08-11 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 06:52:59] 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-08-11 06: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-08-11 06:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:52:59] 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-08-11 06:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321216256001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321216256001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:52:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:52:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321216256001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":151987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:52:59] local.INFO: GPS data processed {"connection_id":151987,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:52:59] local.INFO: Acknowledgment sent {"connection_id":151987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:53:12] local.INFO: TCP Data received {"connection_id":153327,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6a2ab8012d7e5e0005d34eb8000e00a119..."} 
[2026-08-11 06:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6a2ab8012d7e5e0005d34eb8000e00a119..."} 
[2026-08-11 06:53:12] local.INFO: Processing buffer {"connection_id":153327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6a2ab8012d7e5e0005d34eb8000e00a119..."} 
[2026-08-11 06:53:12] local.INFO: Packet analysis {"connection_id":153327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6a"} 
[2026-08-11 06:53:12] local.INFO: Extracted packet for processing {"connection_id":153327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6a"} 
[2026-08-11 06:53:12] local.INFO: GPS Element Parsed {"raw_longitude":763256320,"raw_latitude":97734328,"longitude_deg":76.325632,"latitude_deg":9.7734328,"altitude":14,"angle":161,"satellites":25,"speed":18,"hex_longitude":"2d7e5e00","hex_latitude":"05d34eb8","is_valid_coordinates":true} 
[2026-08-11 06:53: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-08-11 06:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321308672001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117407707039793152,"note":"Value kept but may cause issues"} 
[2026-08-11 06:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105504415377289216,"note":"Value kept but may cause issues"} 
[2026-08-11 06:53:12] 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-08-11 06:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786411363000,"timestamp_ms":1786411363000,"timestamp_seconds":1786411363,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6a2ab8"} 
[2026-08-11 06:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 06:53: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":56,"data_length":795,"current_offset":136} 
[2026-08-11 06:53:12] 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-08-11 06:53: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-08-11 06:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 06:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 06:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321308672001,"66":13678,"109":206,"85":15104,"24":18,"16":117407707039793152,"45":9105504415377289216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 06:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 06:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 06:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321308672001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:53:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 06:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 06:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117407707039793152,"km_value":117407707039793.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105504415377289216,"description":"Unknown IO ID 45"} 
[2026-08-11 06:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321308672001,"power":13678,"unknown_109":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9105504415377289216}} 
[2026-08-11 06:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":153327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:53:12] local.INFO: GPS data processed {"connection_id":153327,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:53:12] local.INFO: Acknowledgment sent {"connection_id":153327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:53:30] local.INFO: TCP Data received {"connection_id":151987,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:53:30] local.INFO: Processing buffer {"connection_id":151987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:53:30] local.INFO: Packet analysis {"connection_id":151987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:53:30] local.INFO: Extracted packet for processing {"connection_id":151987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321216256001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786411302000,"timestamp_ms":1786411302000,"timestamp_seconds":1786411302,"priority":1,"record_length":96,"hex_timestamp":"0000019fee693c70"} 
[2026-08-11 06:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:53:30] 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-08-11 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 06:53:30] 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-08-11 06: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-08-11 06:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:53:30] 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-08-11 06:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321216256001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321216256001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:53:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:53:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321216256001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":151987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:53:30] local.INFO: GPS data processed {"connection_id":151987,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:53:30] local.INFO: Acknowledgment sent {"connection_id":151987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:53:45] local.INFO: TCP Data received {"connection_id":153327,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6a3288012d7e5f0005d34a98000d00ad19..."} 
[2026-08-11 06:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6a3288012d7e5f0005d34a98000d00ad19..."} 
[2026-08-11 06:53:45] local.INFO: Processing buffer {"connection_id":153327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6a3288012d7e5f0005d34a98000d00ad19..."} 
[2026-08-11 06:53:45] local.INFO: Packet analysis {"connection_id":153327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6a"} 
[2026-08-11 06:53:45] local.INFO: Extracted packet for processing {"connection_id":153327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6a"} 
[2026-08-11 06:53:45] local.INFO: GPS Element Parsed {"raw_longitude":763256576,"raw_latitude":97733272,"longitude_deg":76.3256576,"latitude_deg":9.7733272,"altitude":13,"angle":173,"satellites":25,"speed":23,"hex_longitude":"2d7e5f00","hex_latitude":"05d34a98","is_valid_coordinates":true} 
[2026-08-11 06:53: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-08-11 06:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321308928001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117407758579400704,"note":"Value kept but may cause issues"} 
[2026-08-11 06:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105715521609709568,"note":"Value kept but may cause issues"} 
[2026-08-11 06:53:45] 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-08-11 06:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786411365000,"timestamp_ms":1786411365000,"timestamp_seconds":1786411365,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6a3288"} 
[2026-08-11 06:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:53:45] 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-08-11 06:53: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":110,"data_length":795,"current_offset":136} 
[2026-08-11 06:53:45] 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-08-11 06:53: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-08-11 06:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 06:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 06:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321308928001,"66":13678,"109":206,"85":15104,"24":23,"16":117407758579400704,"45":9105715521609709568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 06:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 06:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 06:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321308928001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:53:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 06:53:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 06:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117407758579400704,"km_value":117407758579400.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105715521609709568,"description":"Unknown IO ID 45"} 
[2026-08-11 06:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321308928001,"power":13678,"unknown_109":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9105715521609709568}} 
[2026-08-11 06:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":153327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:53:45] local.INFO: GPS data processed {"connection_id":153327,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:53:45] local.INFO: Acknowledgment sent {"connection_id":153327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:53:53] local.INFO: TCP Data received {"connection_id":151988,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:53:53] local.INFO: Processing buffer {"connection_id":151988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:53:53] local.INFO: IMEI packet received {"connection_id":151988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":151988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:53:58] local.INFO: TCP Data received {"connection_id":151988,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:53:58] local.INFO: Processing buffer {"connection_id":151988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:53:58] local.INFO: IMEI packet received {"connection_id":151988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":151988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:54:01] local.INFO: TCP Data received {"connection_id":151989,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:54:01] local.INFO: Processing buffer {"connection_id":151989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:54:01] local.INFO: IMEI packet received {"connection_id":151989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 06:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":151989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:54:02] local.INFO: TCP Data received {"connection_id":151988,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:54:02] local.INFO: Processing buffer {"connection_id":151988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:54:02] local.INFO: Packet analysis {"connection_id":151988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:54:02] local.INFO: Extracted packet for processing {"connection_id":151988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:54: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-08-11 06:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321216256001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786411302000,"timestamp_ms":1786411302000,"timestamp_seconds":1786411302,"priority":1,"record_length":96,"hex_timestamp":"0000019fee693c70"} 
[2026-08-11 06:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:54:02] 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-08-11 06:54: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 06:54:02] 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-08-11 06:54: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-08-11 06:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":151988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":151988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":151988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:54:02] 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-08-11 06:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321216256001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321216256001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:54:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:54:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321216256001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":151988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:54:02] local.INFO: GPS data processed {"connection_id":151988,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:54:02] local.INFO: Acknowledgment sent {"connection_id":151988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:54:03] local.INFO: TCP Data received {"connection_id":151989,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:54:03] local.INFO: Processing buffer {"connection_id":151989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:54:03] local.INFO: IMEI packet received {"connection_id":151989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 06:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":151989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:54:07] local.INFO: TCP Data received {"connection_id":151989,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:54:07] local.INFO: Processing buffer {"connection_id":151989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:54:07] local.INFO: IMEI packet received {"connection_id":151989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 06:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":151989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:54:08] local.INFO: TCP Data received {"connection_id":151989,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6a6168012d7e620005d32668000a00b019..."} 
[2026-08-11 06:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6a6168012d7e620005d32668000a00b019..."} 
[2026-08-11 06:54:08] local.INFO: Processing buffer {"connection_id":151989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6a6168012d7e620005d32668000a00b019..."} 
[2026-08-11 06:54:08] local.INFO: Packet analysis {"connection_id":151989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6a"} 
[2026-08-11 06:54:08] local.INFO: Extracted packet for processing {"connection_id":151989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6a"} 
[2026-08-11 06:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763257344,"raw_latitude":97724008,"longitude_deg":76.3257344,"latitude_deg":9.7724008,"altitude":10,"angle":176,"satellites":25,"speed":38,"hex_longitude":"2d7e6200","hex_latitude":"05d32668","is_valid_coordinates":true} 
[2026-08-11 06:54: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-08-11 06:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321309440001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117408209550966784,"note":"Value kept but may cause issues"} 
[2026-08-11 06:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105996996586149888,"note":"Value kept but may cause issues"} 
[2026-08-11 06:54:08] 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-08-11 06:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786411377000,"timestamp_ms":1786411377000,"timestamp_seconds":1786411377,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6a6168"} 
[2026-08-11 06:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:54:08] 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-08-11 06:54: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":110,"data_length":795,"current_offset":136} 
[2026-08-11 06:54:08] 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-08-11 06:54: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-08-11 06:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 06:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 06:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321309440001,"66":13656,"109":206,"85":15104,"24":38,"16":117408209550966784,"45":9105996996586149888},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 06:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 06:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 06:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321309440001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:54:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 06:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 06:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117408209550966784,"km_value":117408209550966.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105996996586149888,"description":"Unknown IO ID 45"} 
[2026-08-11 06:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321309440001,"power":13656,"unknown_109":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9105996996586149888}} 
[2026-08-11 06:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":151989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:54:08] local.INFO: GPS data processed {"connection_id":151989,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:54:08] local.INFO: Acknowledgment sent {"connection_id":151989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:54:33] local.INFO: TCP Data received {"connection_id":151988,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:54:33] local.INFO: Processing buffer {"connection_id":151988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:54:33] local.INFO: Packet analysis {"connection_id":151988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:54:33] local.INFO: Extracted packet for processing {"connection_id":151988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:54: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-08-11 06:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321216256001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786411302000,"timestamp_ms":1786411302000,"timestamp_seconds":1786411302,"priority":1,"record_length":96,"hex_timestamp":"0000019fee693c70"} 
[2026-08-11 06:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:54:33] 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-08-11 06:54: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 06:54:33] 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-08-11 06:54: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-08-11 06:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:54: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-08-11 06:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321216256001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321216256001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:54:33] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:54:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321216256001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":151988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:54:33] local.INFO: GPS data processed {"connection_id":151988,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:54:33] local.INFO: Acknowledgment sent {"connection_id":151988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:54:39] local.INFO: TCP Data received {"connection_id":151989,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6b9600012d7f08c005d334c8000500371a..."} 
[2026-08-11 06:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6b9600012d7f08c005d334c8000500371a..."} 
[2026-08-11 06:54:39] local.INFO: Processing buffer {"connection_id":151989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6b9600012d7f08c005d334c8000500371a..."} 
[2026-08-11 06:54:39] local.INFO: Packet analysis {"connection_id":151989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6b"} 
[2026-08-11 06:54:39] local.INFO: Extracted packet for processing {"connection_id":151989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6b"} 
[2026-08-11 06:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763300032,"raw_latitude":97727688,"longitude_deg":76.3300032,"latitude_deg":9.7727688,"altitude":5,"angle":55,"satellites":26,"speed":9,"hex_longitude":"2d7f08c0","hex_latitude":"05d334c8","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321331456001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117410765056507904,"note":"Value kept but may cause issues"} 
[2026-08-11 06:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152510736486012928,"note":"Value kept but may cause issues"} 
[2026-08-11 06:54:39] 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-08-11 06:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786411456000,"timestamp_ms":1786411456000,"timestamp_seconds":1786411456,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6b9600"} 
[2026-08-11 06:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:54:39] 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-08-11 06: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-11 06:54:39] 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-08-11 06: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-08-11 06:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 06:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 06:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321331456001,"66":13493,"109":206,"85":15104,"24":9,"16":117410765056507904,"45":9152510736486012928},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 06:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 06:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 06:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321331456001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:54:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 06:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 06:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117410765056507904,"km_value":117410765056507.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152510736486012928,"description":"Unknown IO ID 45"} 
[2026-08-11 06:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321331456001,"power":13493,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9152510736486012928}} 
[2026-08-11 06:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":151989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:54:39] local.INFO: GPS data processed {"connection_id":151989,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:54:39] local.INFO: Acknowledgment sent {"connection_id":151989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:54:58] local.INFO: TCP Data received {"connection_id":152385,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:54:58] local.INFO: Processing buffer {"connection_id":152385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:54:58] local.INFO: IMEI packet received {"connection_id":152385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":152385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:55:03] local.INFO: TCP Data received {"connection_id":152385,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:55:03] local.INFO: Processing buffer {"connection_id":152385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:55:03] local.INFO: IMEI packet received {"connection_id":152385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":152385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:55:04] local.INFO: TCP Data received {"connection_id":152385,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:55:04] local.INFO: Processing buffer {"connection_id":152385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:55:04] local.INFO: Packet analysis {"connection_id":152385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:55:04] local.INFO: Extracted packet for processing {"connection_id":152385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321216256001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786411302000,"timestamp_ms":1786411302000,"timestamp_seconds":1786411302,"priority":1,"record_length":96,"hex_timestamp":"0000019fee693c70"} 
[2026-08-11 06:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:55:04] 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-08-11 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 06:55: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-08-11 06: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-08-11 06:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:55: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-08-11 06:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321216256001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321216256001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:55:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:55:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321216256001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":152385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:55:04] local.INFO: GPS data processed {"connection_id":152385,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:55:04] local.INFO: Acknowledgment sent {"connection_id":152385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:55:11] local.INFO: TCP Data received {"connection_id":151989,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6b9dd0012d7f0a8005d336600006002c1a..."} 
[2026-08-11 06:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6b9dd0012d7f0a8005d336600006002c1a..."} 
[2026-08-11 06:55:11] local.INFO: Processing buffer {"connection_id":151989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6b9dd0012d7f0a8005d336600006002c1a..."} 
[2026-08-11 06:55:11] local.INFO: Packet analysis {"connection_id":151989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6b"} 
[2026-08-11 06:55:11] local.INFO: Extracted packet for processing {"connection_id":151989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6b"} 
[2026-08-11 06:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763300480,"raw_latitude":97728096,"longitude_deg":76.330048,"latitude_deg":9.7728096,"altitude":6,"angle":44,"satellites":26,"speed":16,"hex_longitude":"2d7f0a80","hex_latitude":"05d33660","is_valid_coordinates":true} 
[2026-08-11 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-08-11 06:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321332736001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117410795121278976,"note":"Value kept but may cause issues"} 
[2026-08-11 06:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153777373881354240,"note":"Value kept but may cause issues"} 
[2026-08-11 06:55:11] 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-08-11 06:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786411458000,"timestamp_ms":1786411458000,"timestamp_seconds":1786411458,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6b9dd0"} 
[2026-08-11 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-08-11 06:55:11] 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-08-11 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 06:55:11] 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-08-11 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-08-11 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-08-11 06:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 06:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 06:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321332736001,"66":13656,"109":206,"85":15104,"24":16,"16":117410795121278976,"45":9153777373881354240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 06:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 06:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 06:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321332736001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:55:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 06:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 06:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117410795121278976,"km_value":117410795121278.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153777373881354240,"description":"Unknown IO ID 45"} 
[2026-08-11 06:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321332736001,"power":13656,"unknown_109":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9153777373881354240}} 
[2026-08-11 06:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":151989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:55:12] local.INFO: GPS data processed {"connection_id":151989,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:55:12] local.INFO: Acknowledgment sent {"connection_id":151989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:55:35] local.INFO: TCP Data received {"connection_id":152385,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:55:35] local.INFO: Processing buffer {"connection_id":152385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:55:35] local.INFO: Packet analysis {"connection_id":152385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:55:35] local.INFO: Extracted packet for processing {"connection_id":152385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:55:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321216256001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786411302000,"timestamp_ms":1786411302000,"timestamp_seconds":1786411302,"priority":1,"record_length":96,"hex_timestamp":"0000019fee693c70"} 
[2026-08-11 06:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:55:35] 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-08-11 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 06:55: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-08-11 06: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-08-11 06:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:55: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-08-11 06:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321216256001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321216256001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:55:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:55:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321216256001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":152385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:55:35] local.INFO: GPS data processed {"connection_id":152385,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:55:35] local.INFO: Acknowledgment sent {"connection_id":152385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:55:42] local.INFO: TCP Data received {"connection_id":151989,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6bd480012d7f220005d353c8000900221a..."} 
[2026-08-11 06:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6bd480012d7f220005d353c8000900221a..."} 
[2026-08-11 06:55:42] local.INFO: Processing buffer {"connection_id":151989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6bd480012d7f220005d353c8000900221a..."} 
[2026-08-11 06:55:42] local.INFO: Packet analysis {"connection_id":151989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6b"} 
[2026-08-11 06:55:42] local.INFO: Extracted packet for processing {"connection_id":151989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6b"} 
[2026-08-11 06:55:42] local.INFO: GPS Element Parsed {"raw_longitude":763306496,"raw_latitude":97735624,"longitude_deg":76.3306496,"latitude_deg":9.7735624,"altitude":9,"angle":34,"satellites":26,"speed":38,"hex_longitude":"2d7f2200","hex_latitude":"05d353c8","is_valid_coordinates":true} 
[2026-08-11 06:55: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-08-11 06:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321333248001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117411258977746944,"note":"Value kept but may cause issues"} 
[2026-08-11 06:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154269955090702336,"note":"Value kept but may cause issues"} 
[2026-08-11 06:55:42] 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-08-11 06:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786411472000,"timestamp_ms":1786411472000,"timestamp_seconds":1786411472,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6bd480"} 
[2026-08-11 06:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:55:42] 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-08-11 06:55: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":88,"data_length":795,"current_offset":136} 
[2026-08-11 06:55:42] 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-08-11 06:55: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-08-11 06:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 06:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 06:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321333248001,"66":13689,"109":206,"85":15104,"24":38,"16":117411258977746944,"45":9154269955090702336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 06:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 06:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 06:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321333248001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:55:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 06:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 06:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117411258977746944,"km_value":117411258977746.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154269955090702336,"description":"Unknown IO ID 45"} 
[2026-08-11 06:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321333248001,"power":13689,"unknown_109":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9154269955090702336}} 
[2026-08-11 06:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":151989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:55:42] local.INFO: GPS data processed {"connection_id":151989,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:55:42] local.INFO: Acknowledgment sent {"connection_id":151989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:55:53] local.INFO: TCP Data received {"connection_id":153328,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:55:53] local.INFO: Processing buffer {"connection_id":153328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:55:53] local.INFO: IMEI packet received {"connection_id":153328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":153328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:56:00] local.INFO: TCP Data received {"connection_id":153328,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:56:00] local.INFO: Processing buffer {"connection_id":153328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:56:00] local.INFO: IMEI packet received {"connection_id":153328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":153328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:56:01] local.INFO: TCP Data received {"connection_id":154722,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:56:01] local.INFO: Processing buffer {"connection_id":154722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:56:01] local.INFO: IMEI packet received {"connection_id":154722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 06:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":154722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:56:04] local.INFO: TCP Data received {"connection_id":153328,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:56:04] local.INFO: Processing buffer {"connection_id":153328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:56:04] local.INFO: Packet analysis {"connection_id":153328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:56:04] local.INFO: Extracted packet for processing {"connection_id":153328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321216256001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786411302000,"timestamp_ms":1786411302000,"timestamp_seconds":1786411302,"priority":1,"record_length":96,"hex_timestamp":"0000019fee693c70"} 
[2026-08-11 06:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:56:04] 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-08-11 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 06:56: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-08-11 06: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-08-11 06:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:56:04] 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-08-11 06:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321216256001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321216256001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:56:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:56:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321216256001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":153328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:56:04] local.INFO: GPS data processed {"connection_id":153328,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:56:04] local.INFO: Acknowledgment sent {"connection_id":153328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:56:07] local.INFO: TCP Data received {"connection_id":154722,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:56:07] local.INFO: Processing buffer {"connection_id":154722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:56:07] local.INFO: IMEI packet received {"connection_id":154722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 06:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":154722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:56:09] local.INFO: TCP Data received {"connection_id":154722,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6bf7a8012d7f35c005d37390000c00241a..."} 
[2026-08-11 06:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6bf7a8012d7f35c005d37390000c00241a..."} 
[2026-08-11 06:56:09] local.INFO: Processing buffer {"connection_id":154722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6bf7a8012d7f35c005d37390000c00241a..."} 
[2026-08-11 06:56:09] local.INFO: Packet analysis {"connection_id":154722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6b"} 
[2026-08-11 06:56:09] local.INFO: Extracted packet for processing {"connection_id":154722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6b"} 
[2026-08-11 06:56:09] local.INFO: GPS Element Parsed {"raw_longitude":763311552,"raw_latitude":97743760,"longitude_deg":76.3311552,"latitude_deg":9.774376,"altitude":12,"angle":36,"satellites":26,"speed":41,"hex_longitude":"2d7f35c0","hex_latitude":"05d37390","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321336832001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117411722834214912,"note":"Value kept but may cause issues"} 
[2026-08-11 06:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9160884617045329920,"note":"Value kept but may cause issues"} 
[2026-08-11 06:56:09] 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-08-11 06:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786411481000,"timestamp_ms":1786411481000,"timestamp_seconds":1786411481,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6bf7a8"} 
[2026-08-11 06:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:56:09] 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-08-11 06: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-11 06:56:09] 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-08-11 06: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-08-11 06:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 06:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 06:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321336832001,"66":13602,"109":206,"85":15104,"24":41,"16":117411722834214912,"45":9160884617045329920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 06:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 06:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 06:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321336832001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:56:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 06:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 06:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117411722834214912,"km_value":117411722834214.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9160884617045329920,"description":"Unknown IO ID 45"} 
[2026-08-11 06:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321336832001,"power":13602,"unknown_109":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9160884617045329920}} 
[2026-08-11 06:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":154722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:56:09] local.INFO: GPS data processed {"connection_id":154722,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:56:09] local.INFO: Acknowledgment sent {"connection_id":154722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:56:35] local.INFO: TCP Data received {"connection_id":153328,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:56:35] local.INFO: Processing buffer {"connection_id":153328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:56:35] local.INFO: Packet analysis {"connection_id":153328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:56:35] local.INFO: Extracted packet for processing {"connection_id":153328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:56:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321216256001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786411302000,"timestamp_ms":1786411302000,"timestamp_seconds":1786411302,"priority":1,"record_length":96,"hex_timestamp":"0000019fee693c70"} 
[2026-08-11 06:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:56:35] 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-08-11 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 06:56: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-08-11 06: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-08-11 06:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:56:35] 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-08-11 06:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321216256001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321216256001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:56:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:56:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321216256001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":153328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:56:35] local.INFO: GPS data processed {"connection_id":153328,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:56:35] local.INFO: Acknowledgment sent {"connection_id":153328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:56:40] local.INFO: TCP Data received {"connection_id":154722,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6bff78012d7f3bc005d37988000c00321a..."} 
[2026-08-11 06:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6bff78012d7f3bc005d37988000c00321a..."} 
[2026-08-11 06:56:40] local.INFO: Processing buffer {"connection_id":154722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6bff78012d7f3bc005d37988000c00321a..."} 
[2026-08-11 06:56:40] local.INFO: Packet analysis {"connection_id":154722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6b"} 
[2026-08-11 06:56:40] local.INFO: Extracted packet for processing {"connection_id":154722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6b"} 
[2026-08-11 06:56:40] local.INFO: GPS Element Parsed {"raw_longitude":763313088,"raw_latitude":97745288,"longitude_deg":76.3313088,"latitude_deg":9.7745288,"altitude":12,"angle":50,"satellites":26,"speed":42,"hex_longitude":"2d7f3bc0","hex_latitude":"05d37988","is_valid_coordinates":true} 
[2026-08-11 06:56: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-08-11 06:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321339136001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117411825913430016,"note":"Value kept but may cause issues"} 
[2026-08-11 06:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166443747837448192,"note":"Value kept but may cause issues"} 
[2026-08-11 06:56:40] 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-08-11 06:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786411483000,"timestamp_ms":1786411483000,"timestamp_seconds":1786411483,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6bff78"} 
[2026-08-11 06:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:56:40] 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-08-11 06:56: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-08-11 06:56: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-08-11 06:56: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-08-11 06:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 06:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 06:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321339136001,"66":13765,"109":206,"85":15104,"24":42,"16":117411825913430016,"45":9166443747837448192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 06:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 06:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 06:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321339136001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:56:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 06:56:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 06:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117411825913430016,"km_value":117411825913430.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166443747837448192,"description":"Unknown IO ID 45"} 
[2026-08-11 06:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321339136001,"power":13765,"unknown_109":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9166443747837448192}} 
[2026-08-11 06:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":154722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:56:40] local.INFO: GPS data processed {"connection_id":154722,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:56:40] local.INFO: Acknowledgment sent {"connection_id":154722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:56:53] local.INFO: TCP Data received {"connection_id":153329,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:56:53] local.INFO: Processing buffer {"connection_id":153329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:56:53] local.INFO: IMEI packet received {"connection_id":153329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":153329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:56:58] local.INFO: TCP Data received {"connection_id":153329,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:56:58] local.INFO: Processing buffer {"connection_id":153329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:56:58] local.INFO: IMEI packet received {"connection_id":153329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":153329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:56:59] local.INFO: TCP Data received {"connection_id":153329,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:56:59] local.INFO: Processing buffer {"connection_id":153329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee693c70012d840d40061d6f20000c006f33..."} 
[2026-08-11 06:56:59] local.INFO: Packet analysis {"connection_id":153329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:56:59] local.INFO: Extracted packet for processing {"connection_id":153329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee69"} 
[2026-08-11 06:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":51,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321216256001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786411302000,"timestamp_ms":1786411302000,"timestamp_seconds":1786411302,"priority":1,"record_length":96,"hex_timestamp":"0000019fee693c70"} 
[2026-08-11 06:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:56: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-08-11 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 06:56:59] 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-08-11 06: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-08-11 06:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:56:59] 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-08-11 06:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321216256001,"66":25702,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321216256001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:56:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:56:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321216256001,"power":25702,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":153329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:56:59] local.INFO: GPS data processed {"connection_id":153329,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:56:59] local.INFO: Acknowledgment sent {"connection_id":153329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:57:07] local.INFO: TCP Data received {"connection_id":152386,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:57:07] local.INFO: Processing buffer {"connection_id":152386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:57:07] local.INFO: IMEI packet received {"connection_id":152386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 06:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":152386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:57:12] local.INFO: TCP Data received {"connection_id":152386,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:57:12] local.INFO: Processing buffer {"connection_id":152386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:57:12] local.INFO: IMEI packet received {"connection_id":152386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 06:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":152386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:57:13] local.INFO: TCP Data received {"connection_id":152386,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6c1eb8012d7f588005d38db00009003f1b..."} 
[2026-08-11 06:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6c1eb8012d7f588005d38db00009003f1b..."} 
[2026-08-11 06:57:13] local.INFO: Processing buffer {"connection_id":152386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6c1eb8012d7f588005d38db00009003f1b..."} 
[2026-08-11 06:57:13] local.INFO: Packet analysis {"connection_id":152386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6c"} 
[2026-08-11 06:57:13] local.INFO: Extracted packet for processing {"connection_id":152386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6c"} 
[2026-08-11 06:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763320448,"raw_latitude":97750448,"longitude_deg":76.3320448,"latitude_deg":9.7750448,"altitude":9,"angle":63,"satellites":27,"speed":42,"hex_longitude":"2d7f5880","hex_latitude":"05d38db0","is_valid_coordinates":true} 
[2026-08-11 06:57: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-08-11 06:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321339648001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117412259705126912,"note":"Value kept but may cause issues"} 
[2026-08-11 06:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168132597698103296,"note":"Value kept but may cause issues"} 
[2026-08-11 06:57:13] 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-08-11 06:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786411491000,"timestamp_ms":1786411491000,"timestamp_seconds":1786411491,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6c1eb8"} 
[2026-08-11 06:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:57:13] 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-08-11 06:57: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-08-11 06:57:13] 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-08-11 06:57: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-08-11 06:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 06:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 06:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321339648001,"66":13472,"109":206,"85":15104,"24":42,"16":117412259705126912,"45":9168132597698103296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 06:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 06:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 06:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321339648001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:57:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 06:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 06:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117412259705126912,"km_value":117412259705126.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168132597698103296,"description":"Unknown IO ID 45"} 
[2026-08-11 06:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321339648001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9168132597698103296}} 
[2026-08-11 06:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":152386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:57:13] local.INFO: GPS data processed {"connection_id":152386,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:57:13] local.INFO: Acknowledgment sent {"connection_id":152386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:57:17] local.INFO: TCP Data received {"connection_id":152386,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6c1eb8012d7f588005d38db00009003f1b..."} 
[2026-08-11 06:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6c1eb8012d7f588005d38db00009003f1b..."} 
[2026-08-11 06:57:17] local.INFO: Processing buffer {"connection_id":152386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6c1eb8012d7f588005d38db00009003f1b..."} 
[2026-08-11 06:57:17] local.INFO: Packet analysis {"connection_id":152386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6c"} 
[2026-08-11 06:57:17] local.INFO: Extracted packet for processing {"connection_id":152386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6c"} 
[2026-08-11 06:57:17] local.INFO: GPS Element Parsed {"raw_longitude":763320448,"raw_latitude":97750448,"longitude_deg":76.3320448,"latitude_deg":9.7750448,"altitude":9,"angle":63,"satellites":27,"speed":42,"hex_longitude":"2d7f5880","hex_latitude":"05d38db0","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321341696001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117412259705126912,"note":"Value kept but may cause issues"} 
[2026-08-11 06:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176225003279855616,"note":"Value kept but may cause issues"} 
[2026-08-11 06:57:17] 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-08-11 06:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786411491000,"timestamp_ms":1786411491000,"timestamp_seconds":1786411491,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6c1eb8"} 
[2026-08-11 06:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:57:17] 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-08-11 06: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-11 06:57:17] 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-08-11 06: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-08-11 06:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 06:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 06:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321341696001,"66":13472,"109":206,"85":15104,"24":42,"16":117412259705126912,"45":9176225003279855616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 06:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 06:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 06:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321341696001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:57:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 06:57:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 06:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117412259705126912,"km_value":117412259705126.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176225003279855616,"description":"Unknown IO ID 45"} 
[2026-08-11 06:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321341696001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9176225003279855616}} 
[2026-08-11 06:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":152386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:57:17] local.INFO: GPS data processed {"connection_id":152386,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:57:17] local.INFO: Acknowledgment sent {"connection_id":152386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:57:30] local.INFO: TCP Data received {"connection_id":153329,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:57:30] local.INFO: Processing buffer {"connection_id":153329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:57:30] local.INFO: Packet analysis {"connection_id":153329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 06:57:30] local.INFO: Extracted packet for processing {"connection_id":153329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 06:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:57: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-08-11 06:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321293312001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786411603000,"timestamp_ms":1786411603000,"timestamp_seconds":1786411603,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6dd438"} 
[2026-08-11 06:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:57:30] 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-08-11 06:57: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:57:30] 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-08-11 06:57: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-08-11 06:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:57:30] 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-08-11 06:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321293312001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321293312001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:57:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:57:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321293312001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":153329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:57:30] local.INFO: GPS data processed {"connection_id":153329,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:57:30] local.INFO: Acknowledgment sent {"connection_id":153329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:57:53] local.INFO: TCP Data received {"connection_id":151990,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:57:53] local.INFO: Processing buffer {"connection_id":151990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:57:53] local.INFO: IMEI packet received {"connection_id":151990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":151990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:57:58] local.INFO: TCP Data received {"connection_id":151990,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:57:58] local.INFO: Processing buffer {"connection_id":151990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:57:58] local.INFO: IMEI packet received {"connection_id":151990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":151990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:57:59] local.INFO: TCP Data received {"connection_id":151991,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:57:59] local.INFO: Processing buffer {"connection_id":151991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:57:59] local.INFO: IMEI packet received {"connection_id":151991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 06:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":151991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:58:00] local.INFO: TCP Data received {"connection_id":151990,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:58:00] local.INFO: Processing buffer {"connection_id":151990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:58:00] local.INFO: Packet analysis {"connection_id":151990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 06:58:00] local.INFO: Extracted packet for processing {"connection_id":151990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 06:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321293312001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786411603000,"timestamp_ms":1786411603000,"timestamp_seconds":1786411603,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6dd438"} 
[2026-08-11 06:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:58:00] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:58:00] 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-08-11 06: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-08-11 06:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:58:00] 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-08-11 06:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321293312001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321293312001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:58:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:58:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321293312001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":151990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:58:00] local.INFO: GPS data processed {"connection_id":151990,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:58:00] local.INFO: Acknowledgment sent {"connection_id":151990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:58:02] local.INFO: TCP Data received {"connection_id":151991,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:58:02] local.INFO: Processing buffer {"connection_id":151991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:58:02] local.INFO: IMEI packet received {"connection_id":151991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 06:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":151991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:58:02] local.INFO: TCP Data received {"connection_id":151991,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:58:02] local.INFO: Processing buffer {"connection_id":151991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:58:02] local.INFO: IMEI packet received {"connection_id":151991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 06:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":151991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:58:02] local.INFO: TCP Data received {"connection_id":151991,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:58:02] local.INFO: Processing buffer {"connection_id":151991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:58:02] local.INFO: IMEI packet received {"connection_id":151991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 06:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":151991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:58:03] local.INFO: TCP Data received {"connection_id":151991,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6ed220012d800f4005d398300005005d25..."} 
[2026-08-11 06:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6ed220012d800f4005d398300005005d25..."} 
[2026-08-11 06:58:03] local.INFO: Processing buffer {"connection_id":151991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6ed220012d800f4005d398300005005d25..."} 
[2026-08-11 06:58:03] local.INFO: Packet analysis {"connection_id":151991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6e"} 
[2026-08-11 06:58:03] local.INFO: Extracted packet for processing {"connection_id":151991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6e"} 
[2026-08-11 06:58:03] local.INFO: GPS Element Parsed {"raw_longitude":763367232,"raw_latitude":97753136,"longitude_deg":76.3367232,"latitude_deg":9.7753136,"altitude":5,"angle":93,"satellites":37,"speed":33,"hex_longitude":"2d800f40","hex_latitude":"05d39830","is_valid_coordinates":true} 
[2026-08-11 06:58: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-08-11 06:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321383168001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117414505973022720,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217179612391905280,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786411668000,"timestamp_ms":1786411668000,"timestamp_seconds":1786411668,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6ed220"} 
[2026-08-11 06:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:58:03] 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-08-11 06:58: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 06:58:03] 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-08-11 06:58: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-08-11 06:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":151991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":151991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":151991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 06:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 06:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321383168001,"66":13580,"213":206,"85":15104,"24":33,"16":117414505973022720,"45":9217179612391905280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-08-11 06:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 06:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 06:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321383168001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:58:03] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-11 06:58:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 06:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117414505973022720,"km_value":117414505973022.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217179612391905280,"description":"Unknown IO ID 45"} 
[2026-08-11 06:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321383168001,"power":13580,"unknown_213":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9217179612391905280}} 
[2026-08-11 06:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":151991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:58:03] local.INFO: GPS data processed {"connection_id":151991,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:58:03] local.INFO: Acknowledgment sent {"connection_id":151991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:58:32] local.INFO: TCP Data received {"connection_id":151990,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:58:32] local.INFO: Processing buffer {"connection_id":151990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:58:32] local.INFO: Packet analysis {"connection_id":151990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 06:58:32] local.INFO: Extracted packet for processing {"connection_id":151990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 06:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06:58: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-08-11 06:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321293312001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786411603000,"timestamp_ms":1786411603000,"timestamp_seconds":1786411603,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6dd438"} 
[2026-08-11 06:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:58: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-08-11 06:58: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:58:32] 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-08-11 06:58: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-08-11 06:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:58:32] 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-08-11 06:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321293312001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321293312001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:58:32] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:58:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321293312001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":151990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:58:32] local.INFO: GPS data processed {"connection_id":151990,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:58:32] local.INFO: Acknowledgment sent {"connection_id":151990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:58:34] local.INFO: TCP Data received {"connection_id":151991,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6ef930012d80338005d397580004005e24..."} 
[2026-08-11 06:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6ef930012d80338005d397580004005e24..."} 
[2026-08-11 06:58:34] local.INFO: Processing buffer {"connection_id":151991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6ef930012d80338005d397580004005e24..."} 
[2026-08-11 06:58:34] local.INFO: Packet analysis {"connection_id":151991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6e"} 
[2026-08-11 06:58:34] local.INFO: Extracted packet for processing {"connection_id":151991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6e"} 
[2026-08-11 06:58:34] local.INFO: GPS Element Parsed {"raw_longitude":763376512,"raw_latitude":97752920,"longitude_deg":76.3376512,"latitude_deg":9.775292,"altitude":4,"angle":94,"satellites":36,"speed":27,"hex_longitude":"2d803380","hex_latitude":"05d39758","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321387008001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117414952649621504,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219079518435135488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786411678000,"timestamp_ms":1786411678000,"timestamp_seconds":1786411678,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6ef930"} 
[2026-08-11 06:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:58:34] 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-08-11 06: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620386,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4000128160,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6835652794767114240,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2524446734,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039056085,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2832531662,"corrected_to":0} 
[2026-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2818649471,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2147865494,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241523752422997,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3549853696,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-5296226755467018226,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-11 06:58:34] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,213,85,24,241,157,16,35,159,151,45,9,37,10,66,100,64,150,11,18,128,1,240,133,227,34,238,211,4,113,205,110,182,120,239,51,2,161,5,14,127,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2832531662,"validated":0}]} 
[2026-08-11 06:58:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360390383686975488,"timestamp_seconds":360390383686975.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 06:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 06:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 06:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 06:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 06:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321387008001,"66":13493,"167":206,"85":15104,"24":27,"16":117414952649621504,"45":-9219079518435135488},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-11 06:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 06:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 06:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321387008001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:58:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 06:58:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 06:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117414952649621504,"km_value":117414952649621.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219079518435135488,"description":"Unknown IO ID 45"} 
[2026-08-11 06:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321387008001,"power":13493,"unknown_167":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9219079518435135488}} 
[2026-08-11 06:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":151991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:58:34] local.INFO: GPS data processed {"connection_id":151991,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:58:34] local.INFO: Acknowledgment sent {"connection_id":151991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:58:58] local.INFO: TCP Data received {"connection_id":152387,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:58:58] local.INFO: Processing buffer {"connection_id":152387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:58:58] local.INFO: IMEI packet received {"connection_id":152387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":152387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:58:58] local.INFO: TCP Data received {"connection_id":153330,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:58:59] local.INFO: Processing buffer {"connection_id":153330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:58:59] local.INFO: IMEI packet received {"connection_id":153330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 06:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":153330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:58:59] local.INFO: TCP Data received {"connection_id":153330,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:58:59] local.INFO: Processing buffer {"connection_id":153330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:58:59] local.INFO: IMEI packet received {"connection_id":153330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 06:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":153330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:59:00] local.INFO: TCP Data received {"connection_id":153330,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:59:00] local.INFO: Processing buffer {"connection_id":153330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:59:00] local.INFO: IMEI packet received {"connection_id":153330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 06:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":153330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:59:01] local.INFO: TCP Data received {"connection_id":153330,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:59:01] local.INFO: Processing buffer {"connection_id":153330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 06:59:01] local.INFO: IMEI packet received {"connection_id":153330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 06:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":153330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:59:03] local.INFO: TCP Data received {"connection_id":152387,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:59:03] local.INFO: Processing buffer {"connection_id":152387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:59:03] local.INFO: IMEI packet received {"connection_id":152387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":152387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:59:04] local.INFO: TCP Data received {"connection_id":152387,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:59:04] local.INFO: Processing buffer {"connection_id":152387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:59:04] local.INFO: Packet analysis {"connection_id":152387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 06:59:04] local.INFO: Extracted packet for processing {"connection_id":152387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 06:59:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321293312001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786411603000,"timestamp_ms":1786411603000,"timestamp_seconds":1786411603,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6dd438"} 
[2026-08-11 06:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:59:04] 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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:59:04] 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-08-11 06: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-08-11 06:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:59:04] 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-08-11 06:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321293312001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321293312001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:59:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:59:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321293312001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":152387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:59:04] local.INFO: GPS data processed {"connection_id":152387,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:59:04] local.INFO: Acknowledgment sent {"connection_id":152387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:59:11] local.INFO: TCP Data received {"connection_id":152387,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:59:11] local.INFO: Processing buffer {"connection_id":152387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:59:11] local.INFO: Packet analysis {"connection_id":152387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 06:59:11] local.INFO: Extracted packet for processing {"connection_id":152387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 06:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 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-08-11 06:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321293312001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786411603000,"timestamp_ms":1786411603000,"timestamp_seconds":1786411603,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6dd438"} 
[2026-08-11 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-08-11 06:59:11] 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-08-11 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-08-11 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-08-11 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-08-11 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-08-11 06:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:59: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-08-11 06:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321293312001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321293312001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:59:11] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:59:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321293312001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":152387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:59:11] local.INFO: GPS data processed {"connection_id":152387,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:59:11] local.INFO: Acknowledgment sent {"connection_id":152387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 06:59:53] local.INFO: TCP Data received {"connection_id":153331,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:59:53] local.INFO: Processing buffer {"connection_id":153331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:59:53] local.INFO: IMEI packet received {"connection_id":153331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 06:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":153331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 06:59:58] local.INFO: TCP Data received {"connection_id":153331,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:59:58] local.INFO: Processing buffer {"connection_id":153331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 06:59:58] local.INFO: IMEI packet received {"connection_id":153331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 06:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":153331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 06:59:59] local.INFO: TCP Data received {"connection_id":153331,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:59:59] local.INFO: Processing buffer {"connection_id":153331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 06:59:59] local.INFO: Packet analysis {"connection_id":153331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 06:59:59] local.INFO: Extracted packet for processing {"connection_id":153331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 06:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 06: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-08-11 06:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321293312001,"note":"Value kept but may cause issues"} 
[2026-08-11 06:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 06:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 06:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 06:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786411603000,"timestamp_ms":1786411603000,"timestamp_seconds":1786411603,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6dd438"} 
[2026-08-11 06:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 06:59: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-08-11 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 06:59:59] 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-08-11 06: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-08-11 06:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 06:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 06:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 06:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 06:59:59] 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-08-11 06:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 06:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 06:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321293312001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 06:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 06:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 06:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321293312001,"description":"Unknown IO ID 0"} 
[2026-08-11 06:59:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 06:59:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 06:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 06:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 06:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321293312001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 06:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":153331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 06:59:59] local.INFO: GPS data processed {"connection_id":153331,"processed":1,"errors":0,"total":1} 
[2026-08-11 06:59:59] local.INFO: Acknowledgment sent {"connection_id":153331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:00:30] local.INFO: TCP Data received {"connection_id":153331,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 07:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 07:00:30] local.INFO: Processing buffer {"connection_id":153331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 07:00:30] local.INFO: Packet analysis {"connection_id":153331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 07:00:30] local.INFO: Extracted packet for processing {"connection_id":153331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 07:00:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321293312001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786411603000,"timestamp_ms":1786411603000,"timestamp_seconds":1786411603,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6dd438"} 
[2026-08-11 07:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:00:30] 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-08-11 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 07:00:30] 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-08-11 07: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-08-11 07:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:00:30] 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-08-11 07:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321293312001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321293312001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:00:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:00:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321293312001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":153331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:00:30] local.INFO: GPS data processed {"connection_id":153331,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:00:30] local.INFO: Acknowledgment sent {"connection_id":153331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:00:53] local.INFO: TCP Data received {"connection_id":154723,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:00:53] local.INFO: Processing buffer {"connection_id":154723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:00:53] local.INFO: IMEI packet received {"connection_id":154723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":154723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:00:58] local.INFO: TCP Data received {"connection_id":154723,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:00:58] local.INFO: Processing buffer {"connection_id":154723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:00:58] local.INFO: IMEI packet received {"connection_id":154723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":154723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:00:59] local.INFO: TCP Data received {"connection_id":154723,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 07:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 07:00:59] local.INFO: Processing buffer {"connection_id":154723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 07:00:59] local.INFO: Packet analysis {"connection_id":154723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 07:00:59] local.INFO: Extracted packet for processing {"connection_id":154723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 07:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321293312001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786411603000,"timestamp_ms":1786411603000,"timestamp_seconds":1786411603,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6dd438"} 
[2026-08-11 07:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:00: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-08-11 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 07:00:59] 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-08-11 07: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-08-11 07:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:00:59] 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-08-11 07:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321293312001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321293312001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:00:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:00:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321293312001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":154723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:00:59] local.INFO: GPS data processed {"connection_id":154723,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:00:59] local.INFO: Acknowledgment sent {"connection_id":154723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:01:30] local.INFO: TCP Data received {"connection_id":154723,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 07:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 07:01:30] local.INFO: Processing buffer {"connection_id":154723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 07:01:30] local.INFO: Packet analysis {"connection_id":154723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 07:01:30] local.INFO: Extracted packet for processing {"connection_id":154723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 07:01:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:01: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-08-11 07:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321293312001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786411603000,"timestamp_ms":1786411603000,"timestamp_seconds":1786411603,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6dd438"} 
[2026-08-11 07:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:01:30] 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-08-11 07:01: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 07:01:30] 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-08-11 07:01: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-08-11 07:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:01:30] 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-08-11 07:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321293312001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321293312001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:01:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:01:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321293312001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":154723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:01:30] local.INFO: GPS data processed {"connection_id":154723,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:01:30] local.INFO: Acknowledgment sent {"connection_id":154723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:01:53] local.INFO: TCP Data received {"connection_id":151993,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:01:53] local.INFO: Processing buffer {"connection_id":151993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:01:53] local.INFO: IMEI packet received {"connection_id":151993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":151993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:01:58] local.INFO: TCP Data received {"connection_id":151993,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:01:58] local.INFO: Processing buffer {"connection_id":151993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:01:58] local.INFO: IMEI packet received {"connection_id":151993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":151993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:01:59] local.INFO: TCP Data received {"connection_id":151993,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 07:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 07:01:59] local.INFO: Processing buffer {"connection_id":151993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee6dd438012d840d40061d6f20000c006f31..."} 
[2026-08-11 07:01:59] local.INFO: Packet analysis {"connection_id":151993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 07:01:59] local.INFO: Extracted packet for processing {"connection_id":151993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee6d"} 
[2026-08-11 07:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321293312001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786411603000,"timestamp_ms":1786411603000,"timestamp_seconds":1786411603,"priority":1,"record_length":96,"hex_timestamp":"0000019fee6dd438"} 
[2026-08-11 07:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:01: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-08-11 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 07:01:59] 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-08-11 07: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-08-11 07:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:01:59] 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-08-11 07:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321293312001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321293312001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:01:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:01:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321293312001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":151993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:01:59] local.INFO: GPS data processed {"connection_id":151993,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:01:59] local.INFO: Acknowledgment sent {"connection_id":151993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:02:30] local.INFO: TCP Data received {"connection_id":151993,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:02:30] local.INFO: Processing buffer {"connection_id":151993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:02:30] local.INFO: Packet analysis {"connection_id":151993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:02:30] local.INFO: Extracted packet for processing {"connection_id":151993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":43,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:02: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-08-11 07:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321370368001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786411904000,"timestamp_ms":1786411904000,"timestamp_seconds":1786411904,"priority":1,"record_length":96,"hex_timestamp":"0000019fee726c00"} 
[2026-08-11 07:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:02:30] 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-08-11 07:02: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:02:30] 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-08-11 07:02: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-08-11 07:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:02:30] 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-08-11 07:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321370368001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321370368001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:02:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:02:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321370368001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":151993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:02:30] local.INFO: GPS data processed {"connection_id":151993,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:02:30] local.INFO: Acknowledgment sent {"connection_id":151993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:02:53] local.INFO: TCP Data received {"connection_id":153332,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:02:53] local.INFO: Processing buffer {"connection_id":153332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:02:53] local.INFO: IMEI packet received {"connection_id":153332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":153332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:02:58] local.INFO: TCP Data received {"connection_id":153332,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:02:58] local.INFO: Processing buffer {"connection_id":153332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:02:58] local.INFO: IMEI packet received {"connection_id":153332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":153332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:02:59] local.INFO: TCP Data received {"connection_id":153332,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:02:59] local.INFO: Processing buffer {"connection_id":153332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:02:59] local.INFO: Packet analysis {"connection_id":153332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:02:59] local.INFO: Extracted packet for processing {"connection_id":153332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":43,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321370368001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786411904000,"timestamp_ms":1786411904000,"timestamp_seconds":1786411904,"priority":1,"record_length":96,"hex_timestamp":"0000019fee726c00"} 
[2026-08-11 07:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:02:59] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:02:59] 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-08-11 07: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-08-11 07:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:02:59] 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-08-11 07:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321370368001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321370368001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:02:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:02:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321370368001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":153332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:02:59] local.INFO: GPS data processed {"connection_id":153332,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:02:59] local.INFO: Acknowledgment sent {"connection_id":153332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:03:30] local.INFO: TCP Data received {"connection_id":153332,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:03:30] local.INFO: Processing buffer {"connection_id":153332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:03:30] local.INFO: Packet analysis {"connection_id":153332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:03:30] local.INFO: Extracted packet for processing {"connection_id":153332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:03:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":43,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:03: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-08-11 07:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321370368001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786411904000,"timestamp_ms":1786411904000,"timestamp_seconds":1786411904,"priority":1,"record_length":96,"hex_timestamp":"0000019fee726c00"} 
[2026-08-11 07:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:03:30] 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-08-11 07:03: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:03:30] 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-08-11 07:03: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-08-11 07:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:03:30] 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-08-11 07:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321370368001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321370368001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:03:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:03:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321370368001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":153332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:03:30] local.INFO: GPS data processed {"connection_id":153332,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:03:30] local.INFO: Acknowledgment sent {"connection_id":153332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:03:58] local.INFO: TCP Data received {"connection_id":154725,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:03:58] local.INFO: Processing buffer {"connection_id":154725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:03:58] local.INFO: IMEI packet received {"connection_id":154725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":154725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:04:03] local.INFO: TCP Data received {"connection_id":154725,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:04:03] local.INFO: Processing buffer {"connection_id":154725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:04:03] local.INFO: IMEI packet received {"connection_id":154725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":154725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:04:04] local.INFO: TCP Data received {"connection_id":154725,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:04:04] local.INFO: Processing buffer {"connection_id":154725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:04:04] local.INFO: Packet analysis {"connection_id":154725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:04:04] local.INFO: Extracted packet for processing {"connection_id":154725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:04:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":43,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321370368001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786411904000,"timestamp_ms":1786411904000,"timestamp_seconds":1786411904,"priority":1,"record_length":96,"hex_timestamp":"0000019fee726c00"} 
[2026-08-11 07:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:04:04] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:04:04] 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-08-11 07: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-08-11 07:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:04: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-08-11 07:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321370368001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321370368001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:04:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:04:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321370368001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":154725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:04:04] local.INFO: GPS data processed {"connection_id":154725,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:04:04] local.INFO: Acknowledgment sent {"connection_id":154725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:04:11] local.INFO: TCP Data received {"connection_id":154726,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:04:11] local.INFO: Processing buffer {"connection_id":154726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:04:11] local.INFO: IMEI packet received {"connection_id":154726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":154726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:04:18] local.INFO: TCP Data received {"connection_id":154726,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee743120012d817e0005d189f80003004a24..."} 
[2026-08-11 07:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee743120012d817e0005d189f80003004a24..."} 
[2026-08-11 07:04:18] local.INFO: Processing buffer {"connection_id":154726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee743120012d817e0005d189f80003004a24..."} 
[2026-08-11 07:04:18] local.INFO: Packet analysis {"connection_id":154726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee74"} 
[2026-08-11 07:04:18] local.INFO: Extracted packet for processing {"connection_id":154726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee74"} 
[2026-08-11 07:04:18] local.INFO: GPS Element Parsed {"raw_longitude":763461120,"raw_latitude":97618424,"longitude_deg":76.346112,"latitude_deg":9.7618424,"altitude":3,"angle":74,"satellites":36,"speed":27,"hex_longitude":"2d817e00","hex_latitude":"05d189f8","is_valid_coordinates":true} 
[2026-08-11 07:04: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-08-11 07:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321476352001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117424938448584704,"note":"Value kept but may cause issues"} 
[2026-08-11 07:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9117748526853978112,"note":"Value kept but may cause issues"} 
[2026-08-11 07:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786412020000,"timestamp_ms":1786412020000,"timestamp_seconds":1786412020,"priority":1,"record_length":96,"hex_timestamp":"0000019fee743120"} 
[2026-08-11 07:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:04:18] 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-08-11 07:04: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-11 07:04:18] 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-08-11 07:04: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-08-11 07:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321476352001,"66":12939,"208":206,"85":15104,"24":27,"16":117424938448584704,"45":-9117748526853978112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-11 07:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321476352001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:04:18] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-11 07:04:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117424938448584704,"km_value":117424938448584.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9117748526853978112,"description":"Unknown IO ID 45"} 
[2026-08-11 07:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321476352001,"power":12939,"unknown_208":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9117748526853978112}} 
[2026-08-11 07:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":154726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:04:18] local.INFO: GPS data processed {"connection_id":154726,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:04:18] local.INFO: Acknowledgment sent {"connection_id":154726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:04:35] local.INFO: TCP Data received {"connection_id":154725,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:04:35] local.INFO: Processing buffer {"connection_id":154725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:04:35] local.INFO: Packet analysis {"connection_id":154725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:04:35] local.INFO: Extracted packet for processing {"connection_id":154725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:04:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":43,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321370368001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786411904000,"timestamp_ms":1786411904000,"timestamp_seconds":1786411904,"priority":1,"record_length":96,"hex_timestamp":"0000019fee726c00"} 
[2026-08-11 07:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:04:35] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:04:35] 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-08-11 07: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-08-11 07:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:04: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-08-11 07:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321370368001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321370368001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:04:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:04:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321370368001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":154725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:04:35] local.INFO: GPS data processed {"connection_id":154725,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:04:35] local.INFO: Acknowledgment sent {"connection_id":154725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:04:53] local.INFO: TCP Data received {"connection_id":151994,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:04:53] local.INFO: Processing buffer {"connection_id":151994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:04:53] local.INFO: IMEI packet received {"connection_id":151994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":151994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:04:58] local.INFO: TCP Data received {"connection_id":151994,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:04:58] local.INFO: Processing buffer {"connection_id":151994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:04:58] local.INFO: IMEI packet received {"connection_id":151994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":151994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:04:59] local.INFO: TCP Data received {"connection_id":151994,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:04:59] local.INFO: Processing buffer {"connection_id":151994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:04:59] local.INFO: Packet analysis {"connection_id":151994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:04:59] local.INFO: Extracted packet for processing {"connection_id":151994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:04:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":43,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321370368001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786411904000,"timestamp_ms":1786411904000,"timestamp_seconds":1786411904,"priority":1,"record_length":96,"hex_timestamp":"0000019fee726c00"} 
[2026-08-11 07:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:04:59] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:04:59] 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-08-11 07: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-08-11 07:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:04:59] 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-08-11 07:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321370368001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321370368001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:04:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:04:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321370368001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":151994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:04:59] local.INFO: GPS data processed {"connection_id":151994,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:04:59] local.INFO: Acknowledgment sent {"connection_id":151994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:05:01] local.INFO: TCP Data received {"connection_id":153333,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:05:01] local.INFO: Processing buffer {"connection_id":153333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:05:01] local.INFO: IMEI packet received {"connection_id":153333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":153333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:05:04] local.INFO: TCP Data received {"connection_id":153333,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:05:04] local.INFO: Processing buffer {"connection_id":153333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:05:04] local.INFO: IMEI packet received {"connection_id":153333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":153333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:05:07] local.INFO: TCP Data received {"connection_id":153333,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:05:07] local.INFO: Processing buffer {"connection_id":153333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:05:07] local.INFO: IMEI packet received {"connection_id":153333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":153333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:05:13] local.INFO: TCP Data received {"connection_id":153333,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee754a60012d822d4005d170400007007425..."} 
[2026-08-11 07:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee754a60012d822d4005d170400007007425..."} 
[2026-08-11 07:05:13] local.INFO: Processing buffer {"connection_id":153333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee754a60012d822d4005d170400007007425..."} 
[2026-08-11 07:05:13] local.INFO: Packet analysis {"connection_id":153333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee75"} 
[2026-08-11 07:05:13] local.INFO: Extracted packet for processing {"connection_id":153333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee75"} 
[2026-08-11 07:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763505984,"raw_latitude":97611840,"longitude_deg":76.3505984,"latitude_deg":9.761184,"altitude":7,"angle":116,"satellites":37,"speed":26,"hex_longitude":"2d822d40","hex_latitude":"05d17040","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321495552001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117427146061774848,"note":"Value kept but may cause issues"} 
[2026-08-11 07:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9066520081094131712,"note":"Value kept but may cause issues"} 
[2026-08-11 07:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786412092000,"timestamp_ms":1786412092000,"timestamp_seconds":1786412092,"priority":1,"record_length":96,"hex_timestamp":"0000019fee754a60"} 
[2026-08-11 07:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:05:13] 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-08-11 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 07:05:13] 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-08-11 07: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-08-11 07:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321495552001,"66":13428,"65":206,"85":15104,"24":26,"16":117427146061774848,"45":-9066520081094131712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-11 07:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321495552001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:05:13] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-11 07:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117427146061774848,"km_value":117427146061774.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9066520081094131712,"description":"Unknown IO ID 45"} 
[2026-08-11 07:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321495552001,"power":13428,"unknown_65":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9066520081094131712}} 
[2026-08-11 07:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":153333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:05:13] local.INFO: GPS data processed {"connection_id":153333,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:05:13] local.INFO: Acknowledgment sent {"connection_id":153333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:05:30] local.INFO: TCP Data received {"connection_id":151994,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:05:30] local.INFO: Processing buffer {"connection_id":151994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:05:30] local.INFO: Packet analysis {"connection_id":151994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:05:30] local.INFO: Extracted packet for processing {"connection_id":151994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:05:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":43,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321370368001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786411904000,"timestamp_ms":1786411904000,"timestamp_seconds":1786411904,"priority":1,"record_length":96,"hex_timestamp":"0000019fee726c00"} 
[2026-08-11 07:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:05:30] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:05:30] 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-08-11 07: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-08-11 07:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:05:30] 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-08-11 07:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321370368001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321370368001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:05:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:05:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321370368001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":151994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:05:30] local.INFO: GPS data processed {"connection_id":151994,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:05:30] local.INFO: Acknowledgment sent {"connection_id":151994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:05:45] local.INFO: TCP Data received {"connection_id":153333,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7565b8012d82408005d166f00008006825..."} 
[2026-08-11 07:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7565b8012d82408005d166f00008006825..."} 
[2026-08-11 07:05:45] local.INFO: Processing buffer {"connection_id":153333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7565b8012d82408005d166f00008006825..."} 
[2026-08-11 07:05:45] local.INFO: Packet analysis {"connection_id":153333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee75"} 
[2026-08-11 07:05:45] local.INFO: Extracted packet for processing {"connection_id":153333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee75"} 
[2026-08-11 07:05:45] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":97609456,"longitude_deg":76.3510912,"latitude_deg":9.7609456,"altitude":8,"angle":104,"satellites":37,"speed":29,"hex_longitude":"2d824080","hex_latitude":"05d166f0","is_valid_coordinates":true} 
[2026-08-11 07:05: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-08-11 07:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321495552001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117427408054779904,"note":"Value kept but may cause issues"} 
[2026-08-11 07:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9066520081094131712,"note":"Value kept but may cause issues"} 
[2026-08-11 07:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786412099000,"timestamp_ms":1786412099000,"timestamp_seconds":1786412099,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7565b8"} 
[2026-08-11 07:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:05:45] 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-08-11 07:05: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 07:05:45] 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-08-11 07:05: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-08-11 07:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321495552001,"66":13580,"65":206,"85":15104,"24":29,"16":117427408054779904,"45":-9066520081094131712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-11 07:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321495552001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:05:45] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-11 07:05:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117427408054779904,"km_value":117427408054779.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9066520081094131712,"description":"Unknown IO ID 45"} 
[2026-08-11 07:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321495552001,"power":13580,"unknown_65":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9066520081094131712}} 
[2026-08-11 07:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":153333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:05:45] local.INFO: GPS data processed {"connection_id":153333,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:05:45] local.INFO: Acknowledgment sent {"connection_id":153333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:05:53] local.INFO: TCP Data received {"connection_id":154727,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:05:53] local.INFO: Processing buffer {"connection_id":154727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:05:53] local.INFO: IMEI packet received {"connection_id":154727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":154727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:05:58] local.INFO: TCP Data received {"connection_id":154727,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:05:58] local.INFO: Processing buffer {"connection_id":154727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:05:58] local.INFO: IMEI packet received {"connection_id":154727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":154727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:05:59] local.INFO: TCP Data received {"connection_id":154727,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:05:59] local.INFO: Processing buffer {"connection_id":154727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:05:59] local.INFO: Packet analysis {"connection_id":154727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:05:59] local.INFO: Extracted packet for processing {"connection_id":154727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":43,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321370368001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786411904000,"timestamp_ms":1786411904000,"timestamp_seconds":1786411904,"priority":1,"record_length":96,"hex_timestamp":"0000019fee726c00"} 
[2026-08-11 07:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:05:59] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:05:59] 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-08-11 07: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-08-11 07:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:05:59] 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-08-11 07:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321370368001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321370368001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:05:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:05:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321370368001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":154727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:05:59] local.INFO: GPS data processed {"connection_id":154727,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:05:59] local.INFO: Acknowledgment sent {"connection_id":154727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:06:06] local.INFO: TCP Data received {"connection_id":153334,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:06:06] local.INFO: Processing buffer {"connection_id":153334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:06:06] local.INFO: IMEI packet received {"connection_id":153334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":153334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:06:07] local.INFO: TCP Data received {"connection_id":153334,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:06:07] local.INFO: Processing buffer {"connection_id":153334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:06:07] local.INFO: IMEI packet received {"connection_id":153334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":153334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:06:12] local.INFO: TCP Data received {"connection_id":153334,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:06:12] local.INFO: Processing buffer {"connection_id":153334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:06:12] local.INFO: IMEI packet received {"connection_id":153334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":153334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:06:12] local.INFO: TCP Data received {"connection_id":153334,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7609c8012d82984005d16310000f006325..."} 
[2026-08-11 07:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7609c8012d82984005d16310000f006325..."} 
[2026-08-11 07:06:12] local.INFO: Processing buffer {"connection_id":153334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7609c8012d82984005d16310000f006325..."} 
[2026-08-11 07:06:12] local.INFO: Packet analysis {"connection_id":153334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:06:12] local.INFO: Extracted packet for processing {"connection_id":153334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763533376,"raw_latitude":97608464,"longitude_deg":76.3533376,"latitude_deg":9.7608464,"altitude":15,"angle":99,"satellites":37,"speed":7,"hex_longitude":"2d829840","hex_latitude":"05d16310","is_valid_coordinates":true} 
[2026-08-11 07:06: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-08-11 07:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321507840001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117428546221113344,"note":"Value kept but may cause issues"} 
[2026-08-11 07:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036542996075296768,"note":"Value kept but may cause issues"} 
[2026-08-11 07:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786412141000,"timestamp_ms":1786412141000,"timestamp_seconds":1786412141,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7609c8"} 
[2026-08-11 07:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:06:12] 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-08-11 07:06: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":203,"data_length":795,"current_offset":136} 
[2026-08-11 07:06:12] 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-08-11 07:06: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-08-11 07:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321507840001,"66":13624,"64":206,"85":15104,"24":7,"16":117428546221113344,"45":-9036542996075296768},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-11 07:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321507840001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:06:12] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-11 07:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117428546221113344,"km_value":117428546221113.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036542996075296768,"description":"Unknown IO ID 45"} 
[2026-08-11 07:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321507840001,"power":13624,"unknown_64":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9036542996075296768}} 
[2026-08-11 07:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":153334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:06:12] local.INFO: GPS data processed {"connection_id":153334,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:06:12] local.INFO: Acknowledgment sent {"connection_id":153334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:06:16] local.INFO: TCP Data received {"connection_id":153334,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee761d50012d829c0005d162d80010005725..."} 
[2026-08-11 07:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee761d50012d829c0005d162d80010005725..."} 
[2026-08-11 07:06:16] local.INFO: Processing buffer {"connection_id":153334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee761d50012d829c0005d162d80010005725..."} 
[2026-08-11 07:06:16] local.INFO: Packet analysis {"connection_id":153334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:06:16] local.INFO: Extracted packet for processing {"connection_id":153334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:06:16] local.INFO: GPS Element Parsed {"raw_longitude":763534336,"raw_latitude":97608408,"longitude_deg":76.3534336,"latitude_deg":9.7608408,"altitude":16,"angle":87,"satellites":37,"speed":12,"hex_longitude":"2d829c00","hex_latitude":"05d162d8","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321508096001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117428589170786304,"note":"Value kept but may cause issues"} 
[2026-08-11 07:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036402258586955776,"note":"Value kept but may cause issues"} 
[2026-08-11 07:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786412146000,"timestamp_ms":1786412146000,"timestamp_seconds":1786412146,"priority":1,"record_length":96,"hex_timestamp":"0000019fee761d50"} 
[2026-08-11 07:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:06:16] 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-08-11 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-11 07:06: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-08-11 07: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-08-11 07:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321508096001,"66":13243,"64":206,"85":15104,"24":12,"16":117428589170786304,"45":-9036402258586955776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-11 07:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321508096001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:06:16] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-11 07:06:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117428589170786304,"km_value":117428589170786.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036402258586955776,"description":"Unknown IO ID 45"} 
[2026-08-11 07:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321508096001,"power":13243,"unknown_64":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9036402258586955776}} 
[2026-08-11 07:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":153334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:06:16] local.INFO: GPS data processed {"connection_id":153334,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:06:16] local.INFO: Acknowledgment sent {"connection_id":153334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:06:30] local.INFO: TCP Data received {"connection_id":154727,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:06:30] local.INFO: Processing buffer {"connection_id":154727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:06:30] local.INFO: Packet analysis {"connection_id":154727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:06:30] local.INFO: Extracted packet for processing {"connection_id":154727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":43,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321370368001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786411904000,"timestamp_ms":1786411904000,"timestamp_seconds":1786411904,"priority":1,"record_length":96,"hex_timestamp":"0000019fee726c00"} 
[2026-08-11 07:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:06:30] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:06:30] 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-08-11 07: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-08-11 07:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:06:30] 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-08-11 07:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321370368001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321370368001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:06:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:06:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321370368001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":154727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:06:30] local.INFO: GPS data processed {"connection_id":154727,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:06:30] local.INFO: Acknowledgment sent {"connection_id":154727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:06:47] local.INFO: TCP Data received {"connection_id":153334,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee764078012d82b28005d161900010006325..."} 
[2026-08-11 07:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee764078012d82b28005d161900010006325..."} 
[2026-08-11 07:06:47] local.INFO: Processing buffer {"connection_id":153334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee764078012d82b28005d161900010006325..."} 
[2026-08-11 07:06:47] local.INFO: Packet analysis {"connection_id":153334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:06:47] local.INFO: Extracted packet for processing {"connection_id":153334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:06:47] local.INFO: GPS Element Parsed {"raw_longitude":763540096,"raw_latitude":97608080,"longitude_deg":76.3540096,"latitude_deg":9.760808,"altitude":16,"angle":99,"satellites":37,"speed":33,"hex_longitude":"2d82b280","hex_latitude":"05d16190","is_valid_coordinates":true} 
[2026-08-11 07:06: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-08-11 07:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321509376001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117428868343660544,"note":"Value kept but may cause issues"} 
[2026-08-11 07:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035346727424305152,"note":"Value kept but may cause issues"} 
[2026-08-11 07:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786412155000,"timestamp_ms":1786412155000,"timestamp_seconds":1786412155,"priority":1,"record_length":96,"hex_timestamp":"0000019fee764078"} 
[2026-08-11 07:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:06:47] 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-08-11 07:06: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":187,"data_length":795,"current_offset":136} 
[2026-08-11 07:06:47] 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-08-11 07:06: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-08-11 07:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321509376001,"66":13515,"64":206,"85":15104,"24":33,"16":117428868343660544,"45":-9035346727424305152},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-11 07:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321509376001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:06:47] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-11 07:06:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117428868343660544,"km_value":117428868343660.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035346727424305152,"description":"Unknown IO ID 45"} 
[2026-08-11 07:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321509376001,"power":13515,"unknown_64":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9035346727424305152}} 
[2026-08-11 07:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":153334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:06:47] local.INFO: GPS data processed {"connection_id":153334,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:06:47] local.INFO: Acknowledgment sent {"connection_id":153334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:06:53] local.INFO: TCP Data received {"connection_id":154728,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:06:53] local.INFO: Processing buffer {"connection_id":154728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:06:53] local.INFO: IMEI packet received {"connection_id":154728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":154728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:06:58] local.INFO: TCP Data received {"connection_id":154728,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:06:58] local.INFO: Processing buffer {"connection_id":154728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:06:58] local.INFO: IMEI packet received {"connection_id":154728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":154728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:06:59] local.INFO: TCP Data received {"connection_id":154728,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:06:59] local.INFO: Processing buffer {"connection_id":154728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee726c00012d840d40061d6f20000c006f2b..."} 
[2026-08-11 07:06:59] local.INFO: Packet analysis {"connection_id":154728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:06:59] local.INFO: Extracted packet for processing {"connection_id":154728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee72"} 
[2026-08-11 07:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":43,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:06: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-08-11 07:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321370368001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786411904000,"timestamp_ms":1786411904000,"timestamp_seconds":1786411904,"priority":1,"record_length":96,"hex_timestamp":"0000019fee726c00"} 
[2026-08-11 07:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:06:59] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:06:59] 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-08-11 07: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-08-11 07:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:06:59] 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-08-11 07:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321370368001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321370368001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:06:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:06:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321370368001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":154728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:06:59] local.INFO: GPS data processed {"connection_id":154728,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:06:59] local.INFO: Acknowledgment sent {"connection_id":154728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:07:00] local.INFO: TCP Data received {"connection_id":153335,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:07:00] local.INFO: Processing buffer {"connection_id":153335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:07:00] local.INFO: IMEI packet received {"connection_id":153335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":153335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:07:00] local.INFO: TCP Data received {"connection_id":153335,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:07:00] local.INFO: Processing buffer {"connection_id":153335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:07:00] local.INFO: IMEI packet received {"connection_id":153335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":153335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:07:01] local.INFO: TCP Data received {"connection_id":153335,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:07:01] local.INFO: Processing buffer {"connection_id":153335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:07:01] local.INFO: IMEI packet received {"connection_id":153335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":153335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:07:07] local.INFO: TCP Data received {"connection_id":153335,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:07:07] local.INFO: Processing buffer {"connection_id":153335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:07:07] local.INFO: IMEI packet received {"connection_id":153335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":153335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:07:07] local.INFO: TCP Data received {"connection_id":153335,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee766788012d82d64005d15ae8000d006225..."} 
[2026-08-11 07:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee766788012d82d64005d15ae8000d006225..."} 
[2026-08-11 07:07:07] local.INFO: Processing buffer {"connection_id":153335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee766788012d82d64005d15ae8000d006225..."} 
[2026-08-11 07:07:07] local.INFO: Packet analysis {"connection_id":153335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:07:07] local.INFO: Extracted packet for processing {"connection_id":153335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:07:07] local.INFO: GPS Element Parsed {"raw_longitude":763549248,"raw_latitude":97606376,"longitude_deg":76.3549248,"latitude_deg":9.7606376,"altitude":13,"angle":98,"satellites":37,"speed":38,"hex_longitude":"2d82d640","hex_latitude":"05d15ae8","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321511680001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117429315020259328,"note":"Value kept but may cause issues"} 
[2026-08-11 07:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029013540448399360,"note":"Value kept but may cause issues"} 
[2026-08-11 07:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786412165000,"timestamp_ms":1786412165000,"timestamp_seconds":1786412165,"priority":1,"record_length":96,"hex_timestamp":"0000019fee766788"} 
[2026-08-11 07:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:07:07] 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-08-11 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-11 07:07:07] 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-08-11 07: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-08-11 07:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321511680001,"66":13428,"64":206,"85":15104,"24":38,"16":117429315020259328,"45":-9029013540448399360},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-11 07:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321511680001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:07:07] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-11 07:07:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117429315020259328,"km_value":117429315020259.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029013540448399360,"description":"Unknown IO ID 45"} 
[2026-08-11 07:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321511680001,"power":13428,"unknown_64":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9029013540448399360}} 
[2026-08-11 07:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":153335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:07:07] local.INFO: GPS data processed {"connection_id":153335,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:07:07] local.INFO: Acknowledgment sent {"connection_id":153335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:07:30] local.INFO: TCP Data received {"connection_id":154728,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:07:30] local.INFO: Processing buffer {"connection_id":154728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:07:30] local.INFO: Packet analysis {"connection_id":154728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee77"} 
[2026-08-11 07:07:30] local.INFO: Extracted packet for processing {"connection_id":154728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee77"} 
[2026-08-11 07:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321447424001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786412205000,"timestamp_ms":1786412205000,"timestamp_seconds":1786412205,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7703c8"} 
[2026-08-11 07:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:07:30] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:07:30] 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-08-11 07:07: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-08-11 07:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:07:30] 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-08-11 07:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321447424001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321447424001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:07:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:07:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321447424001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":154728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:07:30] local.INFO: GPS data processed {"connection_id":154728,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:07:30] local.INFO: Acknowledgment sent {"connection_id":154728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:07:39] local.INFO: TCP Data received {"connection_id":153335,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee768ab0012d82f9c005d15770000d005d24..."} 
[2026-08-11 07:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee768ab0012d82f9c005d15770000d005d24..."} 
[2026-08-11 07:07:39] local.INFO: Processing buffer {"connection_id":153335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee768ab0012d82f9c005d15770000d005d24..."} 
[2026-08-11 07:07:39] local.INFO: Packet analysis {"connection_id":153335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:07:39] local.INFO: Extracted packet for processing {"connection_id":153335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763558336,"raw_latitude":97605488,"longitude_deg":76.3558336,"latitude_deg":9.7605488,"altitude":13,"angle":93,"satellites":36,"speed":41,"hex_longitude":"2d82f9c0","hex_latitude":"05d15770","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321514240001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117429748811956224,"note":"Value kept but may cause issues"} 
[2026-08-11 07:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9018950810031429632,"note":"Value kept but may cause issues"} 
[2026-08-11 07:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786412174000,"timestamp_ms":1786412174000,"timestamp_seconds":1786412174,"priority":1,"record_length":96,"hex_timestamp":"0000019fee768ab0"} 
[2026-08-11 07:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:07: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-08-11 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 07:07:39] 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-08-11 07: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-08-11 07:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321514240001,"66":13537,"64":206,"85":15104,"24":41,"16":117429748811956224,"45":-9018950810031429632},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-11 07:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321514240001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:07:39] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-11 07:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117429748811956224,"km_value":117429748811956.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9018950810031429632,"description":"Unknown IO ID 45"} 
[2026-08-11 07:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321514240001,"power":13537,"unknown_64":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9018950810031429632}} 
[2026-08-11 07:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":153335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:07:39] local.INFO: GPS data processed {"connection_id":153335,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:07:39] local.INFO: Acknowledgment sent {"connection_id":153335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:07:53] local.INFO: TCP Data received {"connection_id":152390,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:07:53] local.INFO: Processing buffer {"connection_id":152390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:07:53] local.INFO: IMEI packet received {"connection_id":152390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":152390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:07:58] local.INFO: TCP Data received {"connection_id":152390,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:07:58] local.INFO: Processing buffer {"connection_id":152390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:07:58] local.INFO: IMEI packet received {"connection_id":152390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":152390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:07:59] local.INFO: TCP Data received {"connection_id":152390,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:07:59] local.INFO: Processing buffer {"connection_id":152390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:07:59] local.INFO: Packet analysis {"connection_id":152390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee77"} 
[2026-08-11 07:07:59] local.INFO: Extracted packet for processing {"connection_id":152390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee77"} 
[2026-08-11 07:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321447424001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786412205000,"timestamp_ms":1786412205000,"timestamp_seconds":1786412205,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7703c8"} 
[2026-08-11 07:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:07:59] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:07:59] 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-08-11 07: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-08-11 07:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:07:59] 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-08-11 07:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321447424001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321447424001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:07:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:07:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321447424001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":152390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:07:59] local.INFO: GPS data processed {"connection_id":152390,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:07:59] local.INFO: Acknowledgment sent {"connection_id":152390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:08:02] local.INFO: TCP Data received {"connection_id":152391,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:08:02] local.INFO: Processing buffer {"connection_id":152391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:08:02] local.INFO: IMEI packet received {"connection_id":152391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":152391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:08:07] local.INFO: TCP Data received {"connection_id":152391,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:08:07] local.INFO: Processing buffer {"connection_id":152391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:08:07] local.INFO: IMEI packet received {"connection_id":152391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":152391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:08:07] local.INFO: TCP Data received {"connection_id":152391,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee76add8012d83204005d154c8000c005c25..."} 
[2026-08-11 07:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee76add8012d83204005d154c8000c005c25..."} 
[2026-08-11 07:08:07] local.INFO: Processing buffer {"connection_id":152391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee76add8012d83204005d154c8000c005c25..."} 
[2026-08-11 07:08:07] local.INFO: Packet analysis {"connection_id":152391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:08:07] local.INFO: Extracted packet for processing {"connection_id":152391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763568192,"raw_latitude":97604808,"longitude_deg":76.3568192,"latitude_deg":9.7604808,"altitude":12,"angle":92,"satellites":37,"speed":40,"hex_longitude":"2d832040","hex_latitude":"05d154c8","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321516544001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117430221258358784,"note":"Value kept but may cause issues"} 
[2026-08-11 07:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9008958448358428672,"note":"Value kept but may cause issues"} 
[2026-08-11 07:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786412183000,"timestamp_ms":1786412183000,"timestamp_seconds":1786412183,"priority":1,"record_length":96,"hex_timestamp":"0000019fee76add8"} 
[2026-08-11 07:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:08:07] 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-08-11 07: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-11 07:08:07] 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-08-11 07: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-08-11 07:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321516544001,"66":13048,"64":206,"85":15104,"24":40,"16":117430221258358784,"45":-9008958448358428672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-11 07:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321516544001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:08:07] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-11 07:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117430221258358784,"km_value":117430221258358.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9008958448358428672,"description":"Unknown IO ID 45"} 
[2026-08-11 07:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321516544001,"power":13048,"unknown_64":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9008958448358428672}} 
[2026-08-11 07:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":152391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:08:08] local.INFO: GPS data processed {"connection_id":152391,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:08:08] local.INFO: Acknowledgment sent {"connection_id":152391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:08:30] local.INFO: TCP Data received {"connection_id":152390,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:08:30] local.INFO: Processing buffer {"connection_id":152390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:08:30] local.INFO: Packet analysis {"connection_id":152390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee77"} 
[2026-08-11 07:08:30] local.INFO: Extracted packet for processing {"connection_id":152390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee77"} 
[2026-08-11 07:08:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321447424001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786412205000,"timestamp_ms":1786412205000,"timestamp_seconds":1786412205,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7703c8"} 
[2026-08-11 07:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:08:30] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:08:30] 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-08-11 07:08: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-08-11 07:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:08:30] 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-08-11 07:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321447424001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321447424001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:08:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:08:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321447424001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":152390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:08:30] local.INFO: GPS data processed {"connection_id":152390,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:08:30] local.INFO: Acknowledgment sent {"connection_id":152390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:08:39] local.INFO: TCP Data received {"connection_id":152391,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee76c548012d83314005d15370000c006925..."} 
[2026-08-11 07:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee76c548012d83314005d15370000c006925..."} 
[2026-08-11 07:08:39] local.INFO: Processing buffer {"connection_id":152391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee76c548012d83314005d15370000c006925..."} 
[2026-08-11 07:08:39] local.INFO: Packet analysis {"connection_id":152391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:08:39] local.INFO: Extracted packet for processing {"connection_id":152391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763572544,"raw_latitude":97604464,"longitude_deg":76.3572544,"latitude_deg":9.7604464,"altitude":12,"angle":105,"satellites":37,"speed":16,"hex_longitude":"2d833140","hex_latitude":"05d15370","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321518848001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117430431711756288,"note":"Value kept but may cause issues"} 
[2026-08-11 07:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8998121661755242496,"note":"Value kept but may cause issues"} 
[2026-08-11 07:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786412189000,"timestamp_ms":1786412189000,"timestamp_seconds":1786412189,"priority":1,"record_length":96,"hex_timestamp":"0000019fee76c548"} 
[2026-08-11 07:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:08:39] 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-08-11 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 07:08:39] 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-08-11 07: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-08-11 07:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321518848001,"66":13319,"64":206,"85":15104,"24":16,"16":117430431711756288,"45":-8998121661755242496},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-11 07:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321518848001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:08:39] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-11 07:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117430431711756288,"km_value":117430431711756.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8998121661755242496,"description":"Unknown IO ID 45"} 
[2026-08-11 07:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321518848001,"power":13319,"unknown_64":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-8998121661755242496}} 
[2026-08-11 07:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":152391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:08:39] local.INFO: GPS data processed {"connection_id":152391,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:08:39] local.INFO: Acknowledgment sent {"connection_id":152391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:08:58] local.INFO: TCP Data received {"connection_id":151995,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:08:58] local.INFO: Processing buffer {"connection_id":151995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:08:58] local.INFO: IMEI packet received {"connection_id":151995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":151995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:09:02] local.INFO: TCP Data received {"connection_id":154729,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:09:02] local.INFO: Processing buffer {"connection_id":154729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:09:02] local.INFO: IMEI packet received {"connection_id":154729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":154729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:09:03] local.INFO: TCP Data received {"connection_id":151995,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:09:03] local.INFO: Processing buffer {"connection_id":151995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:09:03] local.INFO: IMEI packet received {"connection_id":151995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":151995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:09:04] local.INFO: TCP Data received {"connection_id":151995,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:09:04] local.INFO: Processing buffer {"connection_id":151995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:09:04] local.INFO: Packet analysis {"connection_id":151995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee77"} 
[2026-08-11 07:09:04] local.INFO: Extracted packet for processing {"connection_id":151995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee77"} 
[2026-08-11 07:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321447424001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786412205000,"timestamp_ms":1786412205000,"timestamp_seconds":1786412205,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7703c8"} 
[2026-08-11 07:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:09:04] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:09: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-08-11 07: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-08-11 07:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:09: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-08-11 07:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321447424001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321447424001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:09:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:09:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321447424001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":151995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:09:04] local.INFO: GPS data processed {"connection_id":151995,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:09:04] local.INFO: Acknowledgment sent {"connection_id":151995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:09:07] local.INFO: TCP Data received {"connection_id":154729,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:09:07] local.INFO: Processing buffer {"connection_id":154729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:09:07] local.INFO: IMEI packet received {"connection_id":154729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":154729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:09:08] local.INFO: TCP Data received {"connection_id":154729,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee76c930012d8332c005d152c8000c007e26..."} 
[2026-08-11 07:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee76c930012d8332c005d152c8000c007e26..."} 
[2026-08-11 07:09:08] local.INFO: Processing buffer {"connection_id":154729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee76c930012d8332c005d152c8000c007e26..."} 
[2026-08-11 07:09:08] local.INFO: Packet analysis {"connection_id":154729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:09:08] local.INFO: Extracted packet for processing {"connection_id":154729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763572928,"raw_latitude":97604296,"longitude_deg":76.3572928,"latitude_deg":9.7604296,"altitude":12,"angle":126,"satellites":38,"speed":14,"hex_longitude":"2d8332c0","hex_latitude":"05d152c8","is_valid_coordinates":true} 
[2026-08-11 07:09: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-08-11 07:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321520384001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117430448891625472,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8993336587151249408,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786412190000,"timestamp_ms":1786412190000,"timestamp_seconds":1786412190,"priority":1,"record_length":96,"hex_timestamp":"0000019fee76c930"} 
[2026-08-11 07:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:09:08] 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-08-11 07:09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 07:09:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4000713160,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2192736261,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:08] local.WARNING: Large IO value detected {"io_id":209,"raw_value":7153968068215842048,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-08-11 07:09:08] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391950,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3512930304,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:08] local.WARNING: Large IO value detected {"io_id":56,"raw_value":57788407024080187,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:08] local.WARNING: Large IO value detected {"io_id":118,"raw_value":423339659948965893,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:08] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,64,85,24,241,157,16,50,159,173,45,84,12,37,10,66,138,192,87,13,36,49,103,1,240,116,227,238,209,4,113,205,33,29,156,216,239,51,2,161,5,15,7,56,118],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-08-11 07:09:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864806736090890240,"timestamp_seconds":864806736090890.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 07:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321520384001,"66":13319,"64":206,"85":15104,"24":14,"16":117430448891625472,"45":-8993336587151249408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-11 07:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321520384001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:09:08] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-11 07:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117430448891625472,"km_value":117430448891625.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8993336587151249408,"description":"Unknown IO ID 45"} 
[2026-08-11 07:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321520384001,"power":13319,"unknown_64":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-8993336587151249408}} 
[2026-08-11 07:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":154729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:09:08] local.INFO: GPS data processed {"connection_id":154729,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:09:08] local.INFO: Acknowledgment sent {"connection_id":154729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:09:33] local.INFO: TCP Data received {"connection_id":152392,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:09:33] local.INFO: Processing buffer {"connection_id":152392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:09:33] local.INFO: IMEI packet received {"connection_id":152392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":152392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:09:39] local.INFO: TCP Data received {"connection_id":154729,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee76cd18012d83338005d151c8000c009426..."} 
[2026-08-11 07:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee76cd18012d83338005d151c8000c009426..."} 
[2026-08-11 07:09:39] local.INFO: Processing buffer {"connection_id":154729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee76cd18012d83338005d151c8000c009426..."} 
[2026-08-11 07:09:39] local.INFO: Packet analysis {"connection_id":154729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:09:39] local.INFO: Extracted packet for processing {"connection_id":154729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee76"} 
[2026-08-11 07:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763573120,"raw_latitude":97604040,"longitude_deg":76.357312,"latitude_deg":9.760404,"altitude":12,"angle":148,"satellites":38,"speed":12,"hex_longitude":"2d833380","hex_latitude":"05d151c8","is_valid_coordinates":true} 
[2026-08-11 07:09: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-08-11 07:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321520640001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117430466071494656,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992914374686226432,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786412191000,"timestamp_ms":1786412191000,"timestamp_seconds":1786412191,"priority":1,"record_length":96,"hex_timestamp":"0000019fee76cd18"} 
[2026-08-11 07:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:09:39] 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-08-11 07:09: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":7,"data_length":795,"current_offset":136} 
[2026-08-11 07:09:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4000718160,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2195079173,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:39] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3154116608,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:39] local.WARNING: Large IO value detected {"io_id":209,"raw_value":7138205473813243136,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-08-11 07:09:39] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2147864929,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:39] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827406,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3512915968,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:39] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57788407024080187,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:39] local.WARNING: Large IO value detected {"io_id":118,"raw_value":704814636659654661,"note":"Value kept but may cause issues"} 
[2026-08-11 07:09:39] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,64,85,24,241,157,16,50,159,197,45,83,12,37,10,66,173,84,138,192,1,240,225,227,49,238,209,4,113,205,38,178,144,239,52,2,161,5,187,118],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-08-11 07:09:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864829830129909760,"timestamp_seconds":864829830129909.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 07:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321520640001,"66":13450,"64":206,"85":15104,"24":12,"16":117430466071494656,"45":-8992914374686226432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-11 07:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321520640001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:09:39] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-11 07:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117430466071494656,"km_value":117430466071494.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992914374686226432,"description":"Unknown IO ID 45"} 
[2026-08-11 07:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321520640001,"power":13450,"unknown_64":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-8992914374686226432}} 
[2026-08-11 07:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":154729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:09:39] local.INFO: GPS data processed {"connection_id":154729,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:09:39] local.INFO: Acknowledgment sent {"connection_id":154729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:10:01] local.INFO: TCP Data received {"connection_id":151996,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:10:01] local.INFO: Processing buffer {"connection_id":151996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:10:01] local.INFO: IMEI packet received {"connection_id":151996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":151996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:10:03] local.INFO: TCP Data received {"connection_id":154730,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:10:03] local.INFO: Processing buffer {"connection_id":154730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:10:03] local.INFO: IMEI packet received {"connection_id":154730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":154730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:10:05] local.INFO: TCP Data received {"connection_id":151996,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:10:05] local.INFO: Processing buffer {"connection_id":151996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:10:05] local.INFO: IMEI packet received {"connection_id":151996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":151996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:10:06] local.INFO: TCP Data received {"connection_id":151996,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:10:06] local.INFO: Processing buffer {"connection_id":151996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:10:06] local.INFO: IMEI packet received {"connection_id":151996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":151996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:10:07] local.INFO: TCP Data received {"connection_id":151996,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee79e9f8012d83324005d152900009010e2b..."} 
[2026-08-11 07:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee79e9f8012d83324005d152900009010e2b..."} 
[2026-08-11 07:10:07] local.INFO: Processing buffer {"connection_id":151996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee79e9f8012d83324005d152900009010e2b..."} 
[2026-08-11 07:10:07] local.INFO: Packet analysis {"connection_id":151996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee79"} 
[2026-08-11 07:10:07] local.INFO: Extracted packet for processing {"connection_id":151996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee79"} 
[2026-08-11 07:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763572800,"raw_latitude":97604240,"longitude_deg":76.35728,"latitude_deg":9.760424,"altitude":9,"angle":270,"satellites":43,"speed":8,"hex_longitude":"2d833240","hex_latitude":"05d15290","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321572864001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117430599215480832,"note":"Value kept but may cause issues"} 
[2026-08-11 07:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992844005942050816,"note":"Value kept but may cause issues"} 
[2026-08-11 07:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786412395000,"timestamp_ms":1786412395000,"timestamp_seconds":1786412395,"priority":1,"record_length":96,"hex_timestamp":"0000019fee79e9f8"} 
[2026-08-11 07:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:10:07] 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-08-11 07: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-11 07:10:07] 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-08-11 07: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-08-11 07:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321572864001,"66":11917,"221":206,"85":15104,"24":8,"16":117430599215480832,"45":-8992844005942050816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-11 07:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321572864001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:10:07] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 07:10:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117430599215480832,"km_value":117430599215480.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992844005942050816,"description":"Unknown IO ID 45"} 
[2026-08-11 07:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321572864001,"power":11917,"unknown_221":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-8992844005942050816}} 
[2026-08-11 07:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":151996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:10:07] local.INFO: GPS data processed {"connection_id":151996,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:10:07] local.INFO: Acknowledgment sent {"connection_id":151996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:10:08] local.INFO: TCP Data received {"connection_id":154730,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:10:08] local.INFO: Processing buffer {"connection_id":154730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:10:08] local.INFO: IMEI packet received {"connection_id":154730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":154730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:10:09] local.INFO: TCP Data received {"connection_id":154730,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:10:09] local.INFO: Processing buffer {"connection_id":154730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:10:09] local.INFO: Packet analysis {"connection_id":154730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee77"} 
[2026-08-11 07:10:09] local.INFO: Extracted packet for processing {"connection_id":154730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee77"} 
[2026-08-11 07:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321447424001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786412205000,"timestamp_ms":1786412205000,"timestamp_seconds":1786412205,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7703c8"} 
[2026-08-11 07:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:10:09] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:10:09] 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-08-11 07: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-08-11 07:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321447424001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321447424001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:10:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:10:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321447424001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":154730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:10:09] local.INFO: GPS data processed {"connection_id":154730,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:10:09] local.INFO: Acknowledgment sent {"connection_id":154730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:10:38] local.INFO: TCP Data received {"connection_id":151996,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee79f1c8012d83304005d152d00008011a29..."} 
[2026-08-11 07:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee79f1c8012d83304005d152d00008011a29..."} 
[2026-08-11 07:10:38] local.INFO: Processing buffer {"connection_id":151996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee79f1c8012d83304005d152d00008011a29..."} 
[2026-08-11 07:10:38] local.INFO: Packet analysis {"connection_id":151996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee79"} 
[2026-08-11 07:10:38] local.INFO: Extracted packet for processing {"connection_id":151996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee79"} 
[2026-08-11 07:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763572288,"raw_latitude":97604304,"longitude_deg":76.3572288,"latitude_deg":9.7604304,"altitude":8,"angle":282,"satellites":41,"speed":12,"hex_longitude":"2d833040","hex_latitude":"05d152d0","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321573120001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117430620690317312,"note":"Value kept but may cause issues"} 
[2026-08-11 07:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8993055112174596096,"note":"Value kept but may cause issues"} 
[2026-08-11 07:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786412397000,"timestamp_ms":1786412397000,"timestamp_seconds":1786412397,"priority":1,"record_length":96,"hex_timestamp":"0000019fee79f1c8"} 
[2026-08-11 07:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:10:38] 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-08-11 07: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-11 07:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 07: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-08-11 07:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321573120001,"66":12015,"221":206,"85":15104,"24":12,"16":117430620690317312,"45":-8993055112174596096},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-11 07:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321573120001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:10:38] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 07:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117430620690317312,"km_value":117430620690317.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8993055112174596096,"description":"Unknown IO ID 45"} 
[2026-08-11 07:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321573120001,"power":12015,"unknown_221":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-8993055112174596096}} 
[2026-08-11 07:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":151996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:10:38] local.INFO: GPS data processed {"connection_id":151996,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:10:38] local.INFO: Acknowledgment sent {"connection_id":151996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:10:53] local.INFO: TCP Data received {"connection_id":151997,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:10:53] local.INFO: Processing buffer {"connection_id":151997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:10:53] local.INFO: IMEI packet received {"connection_id":151997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":151997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:10:58] local.INFO: TCP Data received {"connection_id":151997,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:10:58] local.INFO: Processing buffer {"connection_id":151997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:10:58] local.INFO: IMEI packet received {"connection_id":151997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":151997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:10:59] local.INFO: TCP Data received {"connection_id":151997,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:10:59] local.INFO: Processing buffer {"connection_id":151997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:10:59] local.INFO: Packet analysis {"connection_id":151997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee77"} 
[2026-08-11 07:10:59] local.INFO: Extracted packet for processing {"connection_id":151997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee77"} 
[2026-08-11 07:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321447424001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786412205000,"timestamp_ms":1786412205000,"timestamp_seconds":1786412205,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7703c8"} 
[2026-08-11 07:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:10:59] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:10:59] 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-08-11 07: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-08-11 07:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321447424001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321447424001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:10:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:10:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321447424001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":151997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:10:59] local.INFO: GPS data processed {"connection_id":151997,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:10:59] local.INFO: Acknowledgment sent {"connection_id":151997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:11:09] local.INFO: TCP Data received {"connection_id":151998,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:11:09] local.INFO: Processing buffer {"connection_id":151998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:11:09] local.INFO: IMEI packet received {"connection_id":151998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":151998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:11:11] local.INFO: TCP Data received {"connection_id":151998,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:11:11] local.INFO: Processing buffer {"connection_id":151998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:11:11] local.INFO: IMEI packet received {"connection_id":151998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":151998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:11:17] local.INFO: TCP Data received {"connection_id":151998,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7a0938012d83254005d153700008010e2b..."} 
[2026-08-11 07:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7a0938012d83254005d153700008010e2b..."} 
[2026-08-11 07:11:17] local.INFO: Processing buffer {"connection_id":151998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7a0938012d83254005d153700008010e2b..."} 
[2026-08-11 07:11:17] local.INFO: Packet analysis {"connection_id":151998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7a"} 
[2026-08-11 07:11:17] local.INFO: Extracted packet for processing {"connection_id":151998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7a"} 
[2026-08-11 07:11:17] local.INFO: GPS Element Parsed {"raw_longitude":763569472,"raw_latitude":97604464,"longitude_deg":76.3569472,"latitude_deg":9.7604464,"altitude":8,"angle":270,"satellites":43,"speed":22,"hex_longitude":"2d832540","hex_latitude":"05d15370","is_valid_coordinates":true} 
[2026-08-11 07:11: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-08-11 07:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321573632001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117430758129270784,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8993618062128001024,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786412403000,"timestamp_ms":1786412403000,"timestamp_seconds":1786412403,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7a0938"} 
[2026-08-11 07:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:11:17] 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-08-11 07:11: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 07:11:17] 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-08-11 07:11: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-08-11 07:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321573632001,"66":13059,"221":206,"85":15104,"24":22,"16":117430758129270784,"45":-8993618062128001024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-11 07:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321573632001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:11:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 07:11:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117430758129270784,"km_value":117430758129270.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8993618062128001024,"description":"Unknown IO ID 45"} 
[2026-08-11 07:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321573632001,"power":13059,"unknown_221":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-8993618062128001024}} 
[2026-08-11 07:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":151998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:11:17] local.INFO: GPS data processed {"connection_id":151998,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:11:17] local.INFO: Acknowledgment sent {"connection_id":151998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:11:19] local.INFO: TCP Data received {"connection_id":151998,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7a3c00012d83018005d155a8000601132b..."} 
[2026-08-11 07:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7a3c00012d83018005d155a8000601132b..."} 
[2026-08-11 07:11:19] local.INFO: Processing buffer {"connection_id":151998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7a3c00012d83018005d155a8000601132b..."} 
[2026-08-11 07:11:19] local.INFO: Packet analysis {"connection_id":151998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7a"} 
[2026-08-11 07:11:19] local.INFO: Extracted packet for processing {"connection_id":151998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7a"} 
[2026-08-11 07:11:19] local.INFO: GPS Element Parsed {"raw_longitude":763560320,"raw_latitude":97605032,"longitude_deg":76.356032,"latitude_deg":9.7605032,"altitude":6,"angle":275,"satellites":43,"speed":34,"hex_longitude":"2d830180","hex_latitude":"05d155a8","is_valid_coordinates":true} 
[2026-08-11 07:11: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-08-11 07:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321575168001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117431196215934976,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8996714286871777280,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786412416000,"timestamp_ms":1786412416000,"timestamp_seconds":1786412416,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7a3c00"} 
[2026-08-11 07:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:11:19] 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-08-11 07:11: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":3,"data_length":795,"current_offset":136} 
[2026-08-11 07:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303142393662822,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:19] local.WARNING: Large IO value detected {"io_id":221,"raw_value":58077557095399427,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4000963160,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201190405,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1725759694,"corrected_to":0} 
[2026-08-11 07:11:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511934976,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:19] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,221,85,24,241,157,16,50,159,45,64,82,8,41,10,66,233,9,43,230,1,240,104,227,238,209,4,113,205,7,222,52,144,239,46,2,161,5,3],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1725759694,"validated":0}]} 
[2026-08-11 07:11:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576757805127958528,"timestamp_seconds":576757805127958.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 07:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321575168001,"66":13243,"221":206,"85":15104,"24":34,"16":117431196215934976,"45":-8996714286871777280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-11 07:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321575168001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:11:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 07:11:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117431196215934976,"km_value":117431196215934.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8996714286871777280,"description":"Unknown IO ID 45"} 
[2026-08-11 07:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321575168001,"power":13243,"unknown_221":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-8996714286871777280}} 
[2026-08-11 07:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":151998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:11:19] local.INFO: GPS data processed {"connection_id":151998,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:11:19] local.INFO: Acknowledgment sent {"connection_id":151998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:11:30] local.INFO: TCP Data received {"connection_id":151997,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:11:30] local.INFO: Processing buffer {"connection_id":151997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:11:30] local.INFO: Packet analysis {"connection_id":151997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee77"} 
[2026-08-11 07:11:30] local.INFO: Extracted packet for processing {"connection_id":151997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee77"} 
[2026-08-11 07:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:11: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-08-11 07:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321447424001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786412205000,"timestamp_ms":1786412205000,"timestamp_seconds":1786412205,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7703c8"} 
[2026-08-11 07:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:11:30] 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-08-11 07:11: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:11:30] 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-08-11 07:11: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-08-11 07:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321447424001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321447424001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:11:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:11:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321447424001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":151997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:11:30] local.INFO: GPS data processed {"connection_id":151997,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:11:30] local.INFO: Acknowledgment sent {"connection_id":151997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:11:53] local.INFO: TCP Data received {"connection_id":152393,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:11:53] local.INFO: Processing buffer {"connection_id":152393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:11:53] local.INFO: IMEI packet received {"connection_id":152393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":152393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:11:58] local.INFO: TCP Data received {"connection_id":152393,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:11:58] local.INFO: Processing buffer {"connection_id":152393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:11:58] local.INFO: IMEI packet received {"connection_id":152393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":152393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:11:59] local.INFO: TCP Data received {"connection_id":152393,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:11:59] local.INFO: Processing buffer {"connection_id":152393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7703c8012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:11:59] local.INFO: Packet analysis {"connection_id":152393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee77"} 
[2026-08-11 07:11:59] local.INFO: Extracted packet for processing {"connection_id":152393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee77"} 
[2026-08-11 07:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321447424001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786412205000,"timestamp_ms":1786412205000,"timestamp_seconds":1786412205,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7703c8"} 
[2026-08-11 07:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:11:59] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:11:59] 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-08-11 07: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-08-11 07:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321447424001,"66":25691,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321447424001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:11:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:11:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321447424001,"power":25691,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":152393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:11:59] local.INFO: GPS data processed {"connection_id":152393,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:11:59] local.INFO: Acknowledgment sent {"connection_id":152393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:11:59] local.INFO: TCP Data received {"connection_id":152394,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:11:59] local.INFO: Processing buffer {"connection_id":152394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:11:59] local.INFO: IMEI packet received {"connection_id":152394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":152394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:12:04] local.INFO: TCP Data received {"connection_id":152394,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:12:04] local.INFO: Processing buffer {"connection_id":152394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:12:04] local.INFO: IMEI packet received {"connection_id":152394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":152394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:12:07] local.INFO: TCP Data received {"connection_id":152394,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:12:07] local.INFO: Processing buffer {"connection_id":152394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:12:07] local.INFO: IMEI packet received {"connection_id":152394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":152394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:12:08] local.INFO: TCP Data received {"connection_id":152394,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7a6310012d82ddc005d158800002011829..."} 
[2026-08-11 07:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7a6310012d82ddc005d158800002011829..."} 
[2026-08-11 07:12:08] local.INFO: Processing buffer {"connection_id":152394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7a6310012d82ddc005d158800002011829..."} 
[2026-08-11 07:12:08] local.INFO: Packet analysis {"connection_id":152394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7a"} 
[2026-08-11 07:12:08] local.INFO: Extracted packet for processing {"connection_id":152394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7a"} 
[2026-08-11 07:12:08] local.INFO: GPS Element Parsed {"raw_longitude":763551168,"raw_latitude":97605760,"longitude_deg":76.3551168,"latitude_deg":9.760576,"altitude":2,"angle":280,"satellites":41,"speed":36,"hex_longitude":"2d82ddc0","hex_latitude":"05d15880","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321578496001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117431634302599168,"note":"Value kept but may cause issues"} 
[2026-08-11 07:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9006777017289037824,"note":"Value kept but may cause issues"} 
[2026-08-11 07:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786412426000,"timestamp_ms":1786412426000,"timestamp_seconds":1786412426,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7a6310"} 
[2026-08-11 07:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:12:08] 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-08-11 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 07:12:08] 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-08-11 07: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-08-11 07:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321578496001,"66":13374,"221":206,"85":15104,"24":36,"16":117431634302599168,"45":-9006777017289037824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-11 07:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321578496001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:12:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 07:12:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117431634302599168,"km_value":117431634302599.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9006777017289037824,"description":"Unknown IO ID 45"} 
[2026-08-11 07:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321578496001,"power":13374,"unknown_221":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9006777017289037824}} 
[2026-08-11 07:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":152394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:12:08] local.INFO: GPS data processed {"connection_id":152394,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:12:08] local.INFO: Acknowledgment sent {"connection_id":152394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:12:12] local.INFO: TCP Data received {"connection_id":152394,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7a8e08012d82ba4005d15ed00000011c29..."} 
[2026-08-11 07:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7a8e08012d82ba4005d15ed00000011c29..."} 
[2026-08-11 07:12:12] local.INFO: Processing buffer {"connection_id":152394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7a8e08012d82ba4005d15ed00000011c29..."} 
[2026-08-11 07:12:12] local.INFO: Packet analysis {"connection_id":152394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7a"} 
[2026-08-11 07:12:12] local.INFO: Extracted packet for processing {"connection_id":152394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7a"} 
[2026-08-11 07:12:12] local.INFO: GPS Element Parsed {"raw_longitude":763542080,"raw_latitude":97607376,"longitude_deg":76.354208,"latitude_deg":9.7607376,"altitude":0,"angle":284,"satellites":41,"speed":31,"hex_longitude":"2d82ba40","hex_latitude":"05d15ed0","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321581056001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117432076684230656,"note":"Value kept but may cause issues"} 
[2026-08-11 07:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9016839747706257408,"note":"Value kept but may cause issues"} 
[2026-08-11 07:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786412437000,"timestamp_ms":1786412437000,"timestamp_seconds":1786412437,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7a8e08"} 
[2026-08-11 07:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:12:12] 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-08-11 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 07:12:12] 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-08-11 07: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-08-11 07:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321581056001,"66":13396,"221":206,"85":15104,"24":31,"16":117432076684230656,"45":-9016839747706257408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-11 07:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321581056001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:12:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 07:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117432076684230656,"km_value":117432076684230.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9016839747706257408,"description":"Unknown IO ID 45"} 
[2026-08-11 07:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321581056001,"power":13396,"unknown_221":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9016839747706257408}} 
[2026-08-11 07:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":152394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:12:12] local.INFO: GPS data processed {"connection_id":152394,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:12:12] local.INFO: Acknowledgment sent {"connection_id":152394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:12:37] local.INFO: TCP Data received {"connection_id":152393,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:12:37] local.INFO: Processing buffer {"connection_id":152393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:12:37] local.INFO: Packet analysis {"connection_id":152393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:12:37] local.INFO: Extracted packet for processing {"connection_id":152393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 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-08-11 07:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321524480001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786412506000,"timestamp_ms":1786412506000,"timestamp_seconds":1786412506,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7b9b90"} 
[2026-08-11 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-08-11 07:12:37] 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-08-11 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":91,"data_length":795,"current_offset":136} 
[2026-08-11 07:12: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-08-11 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-08-11 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-08-11 07:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321524480001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321524480001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:12:37] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:12:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321524480001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":152393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:12:37] local.INFO: GPS data processed {"connection_id":152393,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:12:37] local.INFO: Acknowledgment sent {"connection_id":152393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:12:43] local.INFO: TCP Data received {"connection_id":152394,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7c0508012d82964005d1e7a0000901662a..."} 
[2026-08-11 07:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7c0508012d82964005d1e7a0000901662a..."} 
[2026-08-11 07:12:43] local.INFO: Processing buffer {"connection_id":152394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7c0508012d82964005d1e7a0000901662a..."} 
[2026-08-11 07:12:43] local.INFO: Packet analysis {"connection_id":152394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7c"} 
[2026-08-11 07:12:43] local.INFO: Extracted packet for processing {"connection_id":152394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7c"} 
[2026-08-11 07:12:43] local.INFO: GPS Element Parsed {"raw_longitude":763532864,"raw_latitude":97642400,"longitude_deg":76.3532864,"latitude_deg":9.76424,"altitude":9,"angle":358,"satellites":42,"speed":26,"hex_longitude":"2d829640","hex_latitude":"05d1e7a0","is_valid_coordinates":true} 
[2026-08-11 07:12: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-08-11 07:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321604608001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117434194103107584,"note":"Value kept but may cause issues"} 
[2026-08-11 07:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208534091776,"note":"Value kept but may cause issues"} 
[2026-08-11 07:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786412533000,"timestamp_ms":1786412533000,"timestamp_seconds":1786412533,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7c0508"} 
[2026-08-11 07:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:12:43] 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-08-11 07:12: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-11 07:12:43] 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-08-11 07:12: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-08-11 07:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321604608001,"66":13461,"63":206,"85":15104,"24":26,"16":117434194103107584,"45":-9036965208534091776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 07:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321604608001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:12:43] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 07:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117434194103107584,"km_value":117434194103107.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208534091776,"description":"Unknown IO ID 45"} 
[2026-08-11 07:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321604608001,"power":13461,"unknown_63":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9036965208534091776}} 
[2026-08-11 07:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":152394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:12:43] local.INFO: GPS data processed {"connection_id":152394,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:12:43] local.INFO: Acknowledgment sent {"connection_id":152394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:12:58] local.INFO: TCP Data received {"connection_id":152395,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:12:58] local.INFO: Processing buffer {"connection_id":152395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:12:58] local.INFO: IMEI packet received {"connection_id":152395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":152395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:13:02] local.INFO: TCP Data received {"connection_id":154731,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:13:02] local.INFO: Processing buffer {"connection_id":154731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:13:02] local.INFO: IMEI packet received {"connection_id":154731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":154731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:13:03] local.INFO: TCP Data received {"connection_id":152395,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:13:03] local.INFO: Processing buffer {"connection_id":152395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:13:03] local.INFO: IMEI packet received {"connection_id":152395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":152395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:13:04] local.INFO: TCP Data received {"connection_id":152395,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:13:04] local.INFO: Processing buffer {"connection_id":152395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:13:04] local.INFO: Packet analysis {"connection_id":152395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:13:04] local.INFO: Extracted packet for processing {"connection_id":152395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321524480001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786412506000,"timestamp_ms":1786412506000,"timestamp_seconds":1786412506,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7b9b90"} 
[2026-08-11 07:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:13:04] 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-08-11 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 07:13: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-08-11 07: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-08-11 07:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:13:04] 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-08-11 07:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321524480001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321524480001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:13:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:13:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321524480001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":152395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:13:04] local.INFO: GPS data processed {"connection_id":152395,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:13:04] local.INFO: Acknowledgment sent {"connection_id":152395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:13:07] local.INFO: TCP Data received {"connection_id":154731,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:13:07] local.INFO: Processing buffer {"connection_id":154731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:13:07] local.INFO: IMEI packet received {"connection_id":154731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":154731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:13:07] local.INFO: TCP Data received {"connection_id":154731,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7c3bb8012d82954005d20bb80008016729..."} 
[2026-08-11 07:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7c3bb8012d82954005d20bb80008016729..."} 
[2026-08-11 07:13:07] local.INFO: Processing buffer {"connection_id":154731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7c3bb8012d82954005d20bb80008016729..."} 
[2026-08-11 07:13:07] local.INFO: Packet analysis {"connection_id":154731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7c"} 
[2026-08-11 07:13:07] local.INFO: Extracted packet for processing {"connection_id":154731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7c"} 
[2026-08-11 07:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763532608,"raw_latitude":97651640,"longitude_deg":76.3532608,"latitude_deg":9.765164,"altitude":8,"angle":359,"satellites":41,"speed":26,"hex_longitude":"2d829540","hex_latitude":"05d20bb8","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321608448001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117434645074673664,"note":"Value kept but may cause issues"} 
[2026-08-11 07:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208531689472,"note":"Value kept but may cause issues"} 
[2026-08-11 07:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786412547000,"timestamp_ms":1786412547000,"timestamp_seconds":1786412547,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7c3bb8"} 
[2026-08-11 07:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:13:07] 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-08-11 07: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-11 07:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 07: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-08-11 07:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321608448001,"66":13428,"63":206,"85":15104,"24":26,"16":117434645074673664,"45":-9036965208531689472},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 07:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321608448001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:13:07] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 07:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117434645074673664,"km_value":117434645074673.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208531689472,"description":"Unknown IO ID 45"} 
[2026-08-11 07:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321608448001,"power":13428,"unknown_63":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9036965208531689472}} 
[2026-08-11 07:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":154731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:13:07] local.INFO: GPS data processed {"connection_id":154731,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:13:07] local.INFO: Acknowledgment sent {"connection_id":154731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:13:08] local.INFO: TCP Data received {"connection_id":152395,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:13:08] local.INFO: Processing buffer {"connection_id":152395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:13:08] local.INFO: Packet analysis {"connection_id":152395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:13:08] local.INFO: Extracted packet for processing {"connection_id":152395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:13: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-08-11 07:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321524480001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786412506000,"timestamp_ms":1786412506000,"timestamp_seconds":1786412506,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7b9b90"} 
[2026-08-11 07:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:13:08] 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-08-11 07:13: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 07:13:08] 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-08-11 07:13: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-08-11 07:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:13: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-08-11 07:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321524480001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321524480001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:13:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:13:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321524480001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":152395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:13:08] local.INFO: GPS data processed {"connection_id":152395,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:13:08] local.INFO: Acknowledgment sent {"connection_id":152395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:13:38] local.INFO: TCP Data received {"connection_id":154731,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7c7268012d82954005d22f88000700032a..."} 
[2026-08-11 07:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7c7268012d82954005d22f88000700032a..."} 
[2026-08-11 07:13:38] local.INFO: Processing buffer {"connection_id":154731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7c7268012d82954005d22f88000700032a..."} 
[2026-08-11 07:13:38] local.INFO: Packet analysis {"connection_id":154731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7c"} 
[2026-08-11 07:13:38] local.INFO: Extracted packet for processing {"connection_id":154731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7c"} 
[2026-08-11 07:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763532608,"raw_latitude":97660808,"longitude_deg":76.3532608,"latitude_deg":9.7660808,"altitude":7,"angle":3,"satellites":42,"speed":25,"hex_longitude":"2d829540","hex_latitude":"05d22f88","is_valid_coordinates":true} 
[2026-08-11 07:13: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-08-11 07:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321612032001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117435087456305152,"note":"Value kept but may cause issues"} 
[2026-08-11 07:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683506034688,"note":"Value kept but may cause issues"} 
[2026-08-11 07:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786412561000,"timestamp_ms":1786412561000,"timestamp_seconds":1786412561,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7c7268"} 
[2026-08-11 07:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:13:38] 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-08-11 07:13: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":116,"data_length":795,"current_offset":136} 
[2026-08-11 07:13:38] 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-08-11 07:13: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-08-11 07:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321612032001,"66":13428,"63":206,"85":15104,"24":25,"16":117435087456305152,"45":-9037246683506034688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 07:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321612032001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:13:38] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 07:13:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117435087456305152,"km_value":117435087456305.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683506034688,"description":"Unknown IO ID 45"} 
[2026-08-11 07:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321612032001,"power":13428,"unknown_63":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9037246683506034688}} 
[2026-08-11 07:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":154731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:13:38] local.INFO: GPS data processed {"connection_id":154731,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:13:38] local.INFO: Acknowledgment sent {"connection_id":154731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:13:53] local.INFO: TCP Data received {"connection_id":152396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:13:53] local.INFO: Processing buffer {"connection_id":152396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:13:53] local.INFO: IMEI packet received {"connection_id":152396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":152396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:13:58] local.INFO: TCP Data received {"connection_id":152396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:13:58] local.INFO: Processing buffer {"connection_id":152396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:13:58] local.INFO: IMEI packet received {"connection_id":152396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":152396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:13:58] local.INFO: TCP Data received {"connection_id":152396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:13:58] local.INFO: Processing buffer {"connection_id":152396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:13:58] local.INFO: Packet analysis {"connection_id":152396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:13:58] local.INFO: Extracted packet for processing {"connection_id":152396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:13:58] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:13: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-08-11 07:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321524480001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786412506000,"timestamp_ms":1786412506000,"timestamp_seconds":1786412506,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7b9b90"} 
[2026-08-11 07:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:13: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-08-11 07:13: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 07:13:58] 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-08-11 07:13: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-08-11 07:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321524480001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321524480001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:13:58] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:13:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321524480001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":152396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:13:58] local.INFO: GPS data processed {"connection_id":152396,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:13:58] local.INFO: Acknowledgment sent {"connection_id":152396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:14:02] local.INFO: TCP Data received {"connection_id":154732,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:14:02] local.INFO: Processing buffer {"connection_id":154732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:14:02] local.INFO: IMEI packet received {"connection_id":154732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":154732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:14:07] local.INFO: TCP Data received {"connection_id":154732,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:14:07] local.INFO: Processing buffer {"connection_id":154732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:14:07] local.INFO: IMEI packet received {"connection_id":154732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":154732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:14:07] local.INFO: TCP Data received {"connection_id":154732,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7ca918012d82964005d253c0000b01622a..."} 
[2026-08-11 07:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7ca918012d82964005d253c0000b01622a..."} 
[2026-08-11 07:14:07] local.INFO: Processing buffer {"connection_id":154732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7ca918012d82964005d253c0000b01622a..."} 
[2026-08-11 07:14:07] local.INFO: Packet analysis {"connection_id":154732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7c"} 
[2026-08-11 07:14:07] local.INFO: Extracted packet for processing {"connection_id":154732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7c"} 
[2026-08-11 07:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763532864,"raw_latitude":97670080,"longitude_deg":76.3532864,"latitude_deg":9.767008,"altitude":11,"angle":354,"satellites":42,"speed":25,"hex_longitude":"2d829640","hex_latitude":"05d253c0","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321615616001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117435538427871232,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683503687680,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786412575000,"timestamp_ms":1786412575000,"timestamp_seconds":1786412575,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7ca918"} 
[2026-08-11 07:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:14:07] 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-08-11 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 07:14:07] 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-08-11 07: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-08-11 07:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321615616001,"66":13319,"63":206,"85":15104,"24":25,"16":117435538427871232,"45":-9037246683503687680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 07:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321615616001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:14:07] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 07:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117435538427871232,"km_value":117435538427871.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683503687680,"description":"Unknown IO ID 45"} 
[2026-08-11 07:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321615616001,"power":13319,"unknown_63":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9037246683503687680}} 
[2026-08-11 07:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":154732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:14:07] local.INFO: GPS data processed {"connection_id":154732,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:14:07] local.INFO: Acknowledgment sent {"connection_id":154732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:14:29] local.INFO: TCP Data received {"connection_id":152396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:14:29] local.INFO: Processing buffer {"connection_id":152396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:14:29] local.INFO: Packet analysis {"connection_id":152396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:14:29] local.INFO: Extracted packet for processing {"connection_id":152396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:14:29] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:14: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-08-11 07:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321524480001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786412506000,"timestamp_ms":1786412506000,"timestamp_seconds":1786412506,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7b9b90"} 
[2026-08-11 07:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:14:29] 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-08-11 07:14: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 07:14:29] 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-08-11 07:14: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-08-11 07:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321524480001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321524480001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:14:29] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:14:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321524480001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":152396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:14:29] local.INFO: GPS data processed {"connection_id":152396,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:14:29] local.INFO: Acknowledgment sent {"connection_id":152396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:14:38] local.INFO: TCP Data received {"connection_id":154732,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7ce3b0012d82928005d276b8000a01642a..."} 
[2026-08-11 07:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7ce3b0012d82928005d276b8000a01642a..."} 
[2026-08-11 07:14:38] local.INFO: Processing buffer {"connection_id":154732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7ce3b0012d82928005d276b8000a01642a..."} 
[2026-08-11 07:14:38] local.INFO: Packet analysis {"connection_id":154732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7c"} 
[2026-08-11 07:14:38] local.INFO: Extracted packet for processing {"connection_id":154732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7c"} 
[2026-08-11 07:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763531904,"raw_latitude":97679032,"longitude_deg":76.3531904,"latitude_deg":9.7679032,"altitude":10,"angle":356,"satellites":42,"speed":22,"hex_longitude":"2d829280","hex_latitude":"05d276b8","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321619200001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117435976514535424,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208524603392,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786412590000,"timestamp_ms":1786412590000,"timestamp_seconds":1786412590,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7ce3b0"} 
[2026-08-11 07:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:14:38] 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-08-11 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 07:14:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4001048160,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190884869,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:38] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:38] local.WARNING: Large IO value detected {"io_id":209,"raw_value":7451205583484627200,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1665466574,"corrected_to":0} 
[2026-08-11 07:14:38] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57815469613012283,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:38] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-2019863137899708411,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:38] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,63,85,24,241,157,16,55,159,114,45,64,47,7,42,10,66,54,59,11,8,41,5,1,240,149,227,53,238,209,4,113,205,25,120,160,43,239,52,221,2,161,22,29,122],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1665466574,"validated":0}]} 
[2026-08-11 07:14:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793022941923704832,"timestamp_seconds":793022941923704.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 07:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321619200001,"66":13515,"63":206,"85":15104,"24":22,"16":117435976514535424,"45":-9036965208524603392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 07:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321619200001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:14:38] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 07:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117435976514535424,"km_value":117435976514535.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208524603392,"description":"Unknown IO ID 45"} 
[2026-08-11 07:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321619200001,"power":13515,"unknown_63":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9036965208524603392}} 
[2026-08-11 07:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":154732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:14:39] local.INFO: GPS data processed {"connection_id":154732,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:14:39] local.INFO: Acknowledgment sent {"connection_id":154732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:14:53] local.INFO: TCP Data received {"connection_id":152397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:14:53] local.INFO: Processing buffer {"connection_id":152397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:14:53] local.INFO: IMEI packet received {"connection_id":152397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":152397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:14:58] local.INFO: TCP Data received {"connection_id":152397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:14:58] local.INFO: Processing buffer {"connection_id":152397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:14:58] local.INFO: IMEI packet received {"connection_id":152397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":152397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:14:58] local.INFO: TCP Data received {"connection_id":152397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:14:58] local.INFO: Processing buffer {"connection_id":152397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:14:58] local.INFO: Packet analysis {"connection_id":152397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:14:58] local.INFO: Extracted packet for processing {"connection_id":152397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:14:58] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321524480001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786412506000,"timestamp_ms":1786412506000,"timestamp_seconds":1786412506,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7b9b90"} 
[2026-08-11 07:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:14: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-08-11 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 07:14:58] 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-08-11 07: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-08-11 07:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321524480001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321524480001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:14:58] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:14:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321524480001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":152397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:14:58] local.INFO: GPS data processed {"connection_id":152397,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:14:58] local.INFO: Acknowledgment sent {"connection_id":152397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:15:02] local.INFO: TCP Data received {"connection_id":154733,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:15:02] local.INFO: Processing buffer {"connection_id":154733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:15:02] local.INFO: IMEI packet received {"connection_id":154733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":154733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:15:04] local.INFO: TCP Data received {"connection_id":154733,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:15:04] local.INFO: Processing buffer {"connection_id":154733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:15:04] local.INFO: IMEI packet received {"connection_id":154733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":154733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:15:07] local.INFO: TCP Data received {"connection_id":154733,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:15:07] local.INFO: Processing buffer {"connection_id":154733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:15:07] local.INFO: IMEI packet received {"connection_id":154733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":154733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:15:07] local.INFO: TCP Data received {"connection_id":154733,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7e6a50012d827dc005d34aa00008010d2a..."} 
[2026-08-11 07:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7e6a50012d827dc005d34aa00008010d2a..."} 
[2026-08-11 07:15:07] local.INFO: Processing buffer {"connection_id":154733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7e6a50012d827dc005d34aa00008010d2a..."} 
[2026-08-11 07:15:07] local.INFO: Packet analysis {"connection_id":154733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7e"} 
[2026-08-11 07:15:07] local.INFO: Extracted packet for processing {"connection_id":154733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7e"} 
[2026-08-11 07:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763526592,"raw_latitude":97733280,"longitude_deg":76.3526592,"latitude_deg":9.773328,"altitude":8,"angle":269,"satellites":42,"speed":13,"hex_longitude":"2d827dc0","hex_latitude":"05d34aa0","is_valid_coordinates":true} 
[2026-08-11 07:15: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-08-11 07:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321648384001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117438656574128128,"note":"Value kept but may cause issues"} 
[2026-08-11 07:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043509501716955136,"note":"Value kept but may cause issues"} 
[2026-08-11 07:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786412690000,"timestamp_ms":1786412690000,"timestamp_seconds":1786412690,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7e6a50"} 
[2026-08-11 07:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:15: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-08-11 07:15: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 07:15:07] 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-08-11 07:15: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-08-11 07:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321648384001,"66":13493,"68":206,"85":15104,"24":13,"16":117438656574128128,"45":-9043509501716955136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-11 07:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321648384001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:15:07] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-11 07:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117438656574128128,"km_value":117438656574128.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043509501716955136,"description":"Unknown IO ID 45"} 
[2026-08-11 07:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321648384001,"power":13493,"unknown_68":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9043509501716955136}} 
[2026-08-11 07:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":154733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:15:07] local.INFO: GPS data processed {"connection_id":154733,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:15:07] local.INFO: Acknowledgment sent {"connection_id":154733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:15:12] local.INFO: TCP Data received {"connection_id":154733,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7e7220012d827a4005d349e8000900ff2a..."} 
[2026-08-11 07:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7e7220012d827a4005d349e8000900ff2a..."} 
[2026-08-11 07:15:12] local.INFO: Processing buffer {"connection_id":154733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7e7220012d827a4005d349e8000900ff2a..."} 
[2026-08-11 07:15:12] local.INFO: Packet analysis {"connection_id":154733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7e"} 
[2026-08-11 07:15:12] local.INFO: Extracted packet for processing {"connection_id":154733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7e"} 
[2026-08-11 07:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763525696,"raw_latitude":97733096,"longitude_deg":76.3525696,"latitude_deg":9.7733096,"altitude":9,"angle":255,"satellites":42,"speed":23,"hex_longitude":"2d827a40","hex_latitude":"05d349e8","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321648640001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117438699523801088,"note":"Value kept but may cause issues"} 
[2026-08-11 07:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043861345437835264,"note":"Value kept but may cause issues"} 
[2026-08-11 07:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786412692000,"timestamp_ms":1786412692000,"timestamp_seconds":1786412692,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7e7220"} 
[2026-08-11 07:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:15:12] 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-08-11 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 07:15:12] 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-08-11 07: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-08-11 07:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":154733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":154733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":154733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321648640001,"66":13396,"68":206,"85":15104,"24":23,"16":117438699523801088,"45":-9043861345437835264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-11 07:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321648640001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:15:12] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-11 07:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117438699523801088,"km_value":117438699523801.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043861345437835264,"description":"Unknown IO ID 45"} 
[2026-08-11 07:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321648640001,"power":13396,"unknown_68":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9043861345437835264}} 
[2026-08-11 07:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":154733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:15:12] local.INFO: GPS data processed {"connection_id":154733,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:15:12] local.INFO: Acknowledgment sent {"connection_id":154733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:15:29] local.INFO: TCP Data received {"connection_id":152397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:15:29] local.INFO: Processing buffer {"connection_id":152397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:15:29] local.INFO: Packet analysis {"connection_id":152397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:15:29] local.INFO: Extracted packet for processing {"connection_id":152397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:15:29] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321524480001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786412506000,"timestamp_ms":1786412506000,"timestamp_seconds":1786412506,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7b9b90"} 
[2026-08-11 07:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:15:29] 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-08-11 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 07:15:29] 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-08-11 07: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-08-11 07:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321524480001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321524480001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:15:29] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:15:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321524480001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":152397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:15:29] local.INFO: GPS data processed {"connection_id":152397,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:15:29] local.INFO: Acknowledgment sent {"connection_id":152397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:15:43] local.INFO: TCP Data received {"connection_id":154733,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7e9930012d82570005d343c0000a01052a..."} 
[2026-08-11 07:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7e9930012d82570005d343c0000a01052a..."} 
[2026-08-11 07:15:43] local.INFO: Processing buffer {"connection_id":154733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7e9930012d82570005d343c0000a01052a..."} 
[2026-08-11 07:15:43] local.INFO: Packet analysis {"connection_id":154733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7e"} 
[2026-08-11 07:15:43] local.INFO: Extracted packet for processing {"connection_id":154733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7e"} 
[2026-08-11 07:15:43] local.INFO: GPS Element Parsed {"raw_longitude":763516672,"raw_latitude":97731520,"longitude_deg":76.3516672,"latitude_deg":9.773152,"altitude":10,"angle":261,"satellites":42,"speed":44,"hex_longitude":"2d825700","hex_latitude":"05d343c0","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321649152001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117439137610465280,"note":"Value kept but may cause issues"} 
[2026-08-11 07:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044846507856369664,"note":"Value kept but may cause issues"} 
[2026-08-11 07:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786412702000,"timestamp_ms":1786412702000,"timestamp_seconds":1786412702,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7e9930"} 
[2026-08-11 07:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:15:43] 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-08-11 07: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-11 07:15:43] 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-08-11 07: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-08-11 07:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":154733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":154733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":154733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321649152001,"66":13515,"67":206,"85":15104,"24":44,"16":117439137610465280,"45":-9044846507856369664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-11 07:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321649152001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:15:43] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-11 07:15:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117439137610465280,"km_value":117439137610465.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044846507856369664,"description":"Unknown IO ID 45"} 
[2026-08-11 07:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321649152001,"power":13515,"unknown_67":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9044846507856369664}} 
[2026-08-11 07:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":154733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:15:43] local.INFO: GPS data processed {"connection_id":154733,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:15:43] local.INFO: Acknowledgment sent {"connection_id":154733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:15:53] local.INFO: TCP Data received {"connection_id":154734,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:15:53] local.INFO: Processing buffer {"connection_id":154734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:15:53] local.INFO: IMEI packet received {"connection_id":154734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":154734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:15:58] local.INFO: TCP Data received {"connection_id":154734,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:15:58] local.INFO: Processing buffer {"connection_id":154734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:15:58] local.INFO: IMEI packet received {"connection_id":154734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":154734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:15:59] local.INFO: TCP Data received {"connection_id":154734,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:15:59] local.INFO: Processing buffer {"connection_id":154734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:15:59] local.INFO: Packet analysis {"connection_id":154734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:15:59] local.INFO: Extracted packet for processing {"connection_id":154734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:15: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-08-11 07:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321524480001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786412506000,"timestamp_ms":1786412506000,"timestamp_seconds":1786412506,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7b9b90"} 
[2026-08-11 07:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:15: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-08-11 07:15: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 07:15:59] 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-08-11 07:15: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-08-11 07:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:15:59] 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-08-11 07:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321524480001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321524480001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:15:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:15:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321524480001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":154734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:15:59] local.INFO: GPS data processed {"connection_id":154734,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:15:59] local.INFO: Acknowledgment sent {"connection_id":154734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:16:00] local.INFO: TCP Data received {"connection_id":154735,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:16:00] local.INFO: Processing buffer {"connection_id":154735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:16:00] local.INFO: IMEI packet received {"connection_id":154735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":154735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:16:01] local.INFO: TCP Data received {"connection_id":154735,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:16:01] local.INFO: Processing buffer {"connection_id":154735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:16:01] local.INFO: IMEI packet received {"connection_id":154735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":154735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:16:03] local.INFO: TCP Data received {"connection_id":154735,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:16:03] local.INFO: Processing buffer {"connection_id":154735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:16:03] local.INFO: IMEI packet received {"connection_id":154735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":154735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:16:06] local.INFO: TCP Data received {"connection_id":154735,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:16:06] local.INFO: Processing buffer {"connection_id":154735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:16:06] local.INFO: IMEI packet received {"connection_id":154735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":154735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:16:07] local.INFO: TCP Data received {"connection_id":154735,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7f77d8012d81bec005d37d08000701432a..."} 
[2026-08-11 07:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7f77d8012d81bec005d37d08000701432a..."} 
[2026-08-11 07:16:07] local.INFO: Processing buffer {"connection_id":154735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7f77d8012d81bec005d37d08000701432a..."} 
[2026-08-11 07:16:07] local.INFO: Packet analysis {"connection_id":154735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7f"} 
[2026-08-11 07:16:07] local.INFO: Extracted packet for processing {"connection_id":154735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7f"} 
[2026-08-11 07:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763477696,"raw_latitude":97746184,"longitude_deg":76.3477696,"latitude_deg":9.7746184,"altitude":7,"angle":323,"satellites":42,"speed":22,"hex_longitude":"2d81bec0","hex_latitude":"05d37d08","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321666048001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117441607216660480,"note":"Value kept but may cause issues"} 
[2026-08-11 07:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097271222265505792,"note":"Value kept but may cause issues"} 
[2026-08-11 07:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786412759000,"timestamp_ms":1786412759000,"timestamp_seconds":1786412759,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7f77d8"} 
[2026-08-11 07:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:16:07] 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-08-11 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 07:16:07] 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-08-11 07: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-08-11 07:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321666048001,"66":13472,"67":206,"85":15104,"24":22,"16":117441607216660480,"45":-9097271222265505792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-11 07:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321666048001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:16:07] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-11 07:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117441607216660480,"km_value":117441607216660.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097271222265505792,"description":"Unknown IO ID 45"} 
[2026-08-11 07:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321666048001,"power":13472,"unknown_67":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9097271222265505792}} 
[2026-08-11 07:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":154735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:16:07] local.INFO: GPS data processed {"connection_id":154735,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:16:07] local.INFO: Acknowledgment sent {"connection_id":154735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:16:30] local.INFO: TCP Data received {"connection_id":154734,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:16:30] local.INFO: Processing buffer {"connection_id":154734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:16:30] local.INFO: Packet analysis {"connection_id":154734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:16:30] local.INFO: Extracted packet for processing {"connection_id":154734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:16:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321524480001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786412506000,"timestamp_ms":1786412506000,"timestamp_seconds":1786412506,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7b9b90"} 
[2026-08-11 07:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:16:30] 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-08-11 07: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 07:16:30] 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-08-11 07: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-08-11 07:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:16:30] 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-08-11 07:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321524480001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321524480001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:16:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:16:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321524480001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":154734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:16:30] local.INFO: GPS data processed {"connection_id":154734,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:16:30] local.INFO: Acknowledgment sent {"connection_id":154734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:16:38] local.INFO: TCP Data received {"connection_id":154735,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7f7bc0012d81bc8005d37e600008012e2a..."} 
[2026-08-11 07:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7f7bc0012d81bc8005d37e600008012e2a..."} 
[2026-08-11 07:16:38] local.INFO: Processing buffer {"connection_id":154735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7f7bc0012d81bc8005d37e600008012e2a..."} 
[2026-08-11 07:16:38] local.INFO: Packet analysis {"connection_id":154735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7f"} 
[2026-08-11 07:16:38] local.INFO: Extracted packet for processing {"connection_id":154735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7f"} 
[2026-08-11 07:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763477120,"raw_latitude":97746528,"longitude_deg":76.347712,"latitude_deg":9.7746528,"altitude":8,"angle":302,"satellites":42,"speed":24,"hex_longitude":"2d81bc80","hex_latitude":"05d37e60","is_valid_coordinates":true} 
[2026-08-11 07:16: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-08-11 07:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321666304001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117441641576398848,"note":"Value kept but may cause issues"} 
[2026-08-11 07:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097623065986267136,"note":"Value kept but may cause issues"} 
[2026-08-11 07:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786412760000,"timestamp_ms":1786412760000,"timestamp_seconds":1786412760,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7f7bc0"} 
[2026-08-11 07:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:16:38] 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-08-11 07:16: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":160,"data_length":795,"current_offset":136} 
[2026-08-11 07:16:38] 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-08-11 07:16: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-08-11 07:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321666304001,"66":13472,"67":206,"85":15104,"24":24,"16":117441641576398848,"45":-9097623065986267136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-11 07:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321666304001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:16:38] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-11 07:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117441641576398848,"km_value":117441641576398.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097623065986267136,"description":"Unknown IO ID 45"} 
[2026-08-11 07:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321666304001,"power":13472,"unknown_67":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9097623065986267136}} 
[2026-08-11 07:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":154735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:16:38] local.INFO: GPS data processed {"connection_id":154735,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:16:38] local.INFO: Acknowledgment sent {"connection_id":154735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:16:53] local.INFO: TCP Data received {"connection_id":152398,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:16:53] local.INFO: Processing buffer {"connection_id":152398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:16:53] local.INFO: IMEI packet received {"connection_id":152398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":152398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:16:58] local.INFO: TCP Data received {"connection_id":152398,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:16:58] local.INFO: Processing buffer {"connection_id":152398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:16:58] local.INFO: IMEI packet received {"connection_id":152398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":152398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:16:59] local.INFO: TCP Data received {"connection_id":152398,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:16:59] local.INFO: Processing buffer {"connection_id":152398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee7b9b90012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:16:59] local.INFO: Packet analysis {"connection_id":152398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:16:59] local.INFO: Extracted packet for processing {"connection_id":152398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee7b"} 
[2026-08-11 07:16:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321524480001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786412506000,"timestamp_ms":1786412506000,"timestamp_seconds":1786412506,"priority":1,"record_length":96,"hex_timestamp":"0000019fee7b9b90"} 
[2026-08-11 07:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:16: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-08-11 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 07:16:59] 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-08-11 07: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-08-11 07:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:16:59] 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-08-11 07:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321524480001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321524480001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:16:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:16:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321524480001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":152398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:16:59] local.INFO: GPS data processed {"connection_id":152398,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:16:59] local.INFO: Acknowledgment sent {"connection_id":152398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:17:01] local.INFO: TCP Data received {"connection_id":153336,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:17:01] local.INFO: Processing buffer {"connection_id":153336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:17:01] local.INFO: IMEI packet received {"connection_id":153336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":153336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:17:07] local.INFO: TCP Data received {"connection_id":153336,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:17:07] local.INFO: Processing buffer {"connection_id":153336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:17:07] local.INFO: IMEI packet received {"connection_id":153336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":153336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:17:07] local.INFO: TCP Data received {"connection_id":153336,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee802b88012d81a74005d428300004016429..."} 
[2026-08-11 07:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee802b88012d81a74005d428300004016429..."} 
[2026-08-11 07:17:07] local.INFO: Processing buffer {"connection_id":153336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee802b88012d81a74005d428300004016429..."} 
[2026-08-11 07:17:07] local.INFO: Packet analysis {"connection_id":153336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:17:07] local.INFO: Extracted packet for processing {"connection_id":153336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763471680,"raw_latitude":97790000,"longitude_deg":76.347168,"latitude_deg":9.779,"altitude":4,"angle":356,"satellites":41,"speed":33,"hex_longitude":"2d81a740","hex_latitude":"05d42830","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321675776001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117443857779523584,"note":"Value kept but may cause issues"} 
[2026-08-11 07:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9103745146720917504,"note":"Value kept but may cause issues"} 
[2026-08-11 07:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786412805000,"timestamp_ms":1786412805000,"timestamp_seconds":1786412805,"priority":1,"record_length":96,"hex_timestamp":"0000019fee802b88"} 
[2026-08-11 07:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:17:07] 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-08-11 07: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-11 07:17:07] 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-08-11 07: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-08-11 07:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321675776001,"66":13461,"166":206,"85":15104,"24":33,"16":117443857779523584,"45":-9103745146720917504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-11 07:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321675776001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:17:07] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-11 07:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117443857779523584,"km_value":117443857779523.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9103745146720917504,"description":"Unknown IO ID 45"} 
[2026-08-11 07:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321675776001,"power":13461,"unknown_166":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9103745146720917504}} 
[2026-08-11 07:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":153336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:17:08] local.INFO: GPS data processed {"connection_id":153336,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:17:08] local.INFO: Acknowledgment sent {"connection_id":153336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:17:30] local.INFO: TCP Data received {"connection_id":152398,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:17:30] local.INFO: Processing buffer {"connection_id":152398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:17:30] local.INFO: Packet analysis {"connection_id":152398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:17:30] local.INFO: Extracted packet for processing {"connection_id":152398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:17:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321601536001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786412807000,"timestamp_ms":1786412807000,"timestamp_seconds":1786412807,"priority":1,"record_length":96,"hex_timestamp":"0000019fee803358"} 
[2026-08-11 07:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:17:30] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:17:30] 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-08-11 07: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-08-11 07:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:17:30] 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-08-11 07:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321601536001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321601536001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:17:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:17:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321601536001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":152398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:17:30] local.INFO: GPS data processed {"connection_id":152398,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:17:30] local.INFO: Acknowledgment sent {"connection_id":152398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:17:41] local.INFO: TCP Data received {"connection_id":153336,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee80e320012d81c18005d4be500007001f29..."} 
[2026-08-11 07:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee80e320012d81c18005d4be500007001f29..."} 
[2026-08-11 07:17:41] local.INFO: Processing buffer {"connection_id":153336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee80e320012d81c18005d4be500007001f29..."} 
[2026-08-11 07:17:41] local.INFO: Packet analysis {"connection_id":153336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:17:41] local.INFO: Extracted packet for processing {"connection_id":153336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:17:41] local.INFO: GPS Element Parsed {"raw_longitude":763478400,"raw_latitude":97828432,"longitude_deg":76.34784,"latitude_deg":9.7828432,"altitude":7,"angle":31,"satellites":41,"speed":24,"hex_longitude":"2d81c180","hex_latitude":"05d4be50","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321689856001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117446099752452096,"note":"Value kept but may cause issues"} 
[2026-08-11 07:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097200853500274688,"note":"Value kept but may cause issues"} 
[2026-08-11 07:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786412852000,"timestamp_ms":1786412852000,"timestamp_seconds":1786412852,"priority":1,"record_length":96,"hex_timestamp":"0000019fee80e320"} 
[2026-08-11 07:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:17:41] 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-08-11 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 07:17:41] 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-08-11 07: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-08-11 07:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321689856001,"66":13526,"166":206,"85":15104,"24":24,"16":117446099752452096,"45":-9097200853500274688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-11 07:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321689856001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:17:41] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-11 07:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117446099752452096,"km_value":117446099752452.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097200853500274688,"description":"Unknown IO ID 45"} 
[2026-08-11 07:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321689856001,"power":13526,"unknown_166":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9097200853500274688}} 
[2026-08-11 07:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":153336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:17:42] local.INFO: GPS data processed {"connection_id":153336,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:17:42] local.INFO: Acknowledgment sent {"connection_id":153336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:17:53] local.INFO: TCP Data received {"connection_id":154736,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:17:53] local.INFO: Processing buffer {"connection_id":154736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:17:53] local.INFO: IMEI packet received {"connection_id":154736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":154736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:17:58] local.INFO: TCP Data received {"connection_id":154736,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:17:58] local.INFO: Processing buffer {"connection_id":154736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:17:58] local.INFO: IMEI packet received {"connection_id":154736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":154736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:17:59] local.INFO: TCP Data received {"connection_id":154736,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:17:59] local.INFO: Processing buffer {"connection_id":154736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:17:59] local.INFO: Packet analysis {"connection_id":154736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:17:59] local.INFO: Extracted packet for processing {"connection_id":154736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321601536001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786412807000,"timestamp_ms":1786412807000,"timestamp_seconds":1786412807,"priority":1,"record_length":96,"hex_timestamp":"0000019fee803358"} 
[2026-08-11 07:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:17: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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:17:59] 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-08-11 07: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-08-11 07:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321601536001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321601536001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:17:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:17:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321601536001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":154736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:17:59] local.INFO: GPS data processed {"connection_id":154736,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:17:59] local.INFO: Acknowledgment sent {"connection_id":154736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:18:11] local.INFO: TCP Data received {"connection_id":151999,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:18:11] local.INFO: Processing buffer {"connection_id":151999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:18:11] local.INFO: IMEI packet received {"connection_id":151999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":151999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:18:12] local.INFO: TCP Data received {"connection_id":151999,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:18:12] local.INFO: Processing buffer {"connection_id":151999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:18:12] local.INFO: IMEI packet received {"connection_id":151999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":151999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:18:17] local.INFO: TCP Data received {"connection_id":151999,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:18:17] local.INFO: Processing buffer {"connection_id":151999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:18:17] local.INFO: IMEI packet received {"connection_id":151999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":151999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:18:18] local.INFO: TCP Data received {"connection_id":151999,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee80e708012d81c20005d4c0e00007000c29..."} 
[2026-08-11 07:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee80e708012d81c20005d4c0e00007000c29..."} 
[2026-08-11 07:18:18] local.INFO: Processing buffer {"connection_id":151999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee80e708012d81c20005d4c0e00007000c29..."} 
[2026-08-11 07:18:18] local.INFO: Packet analysis {"connection_id":151999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:18:18] local.INFO: Extracted packet for processing {"connection_id":151999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:18:18] local.INFO: GPS Element Parsed {"raw_longitude":763478528,"raw_latitude":97829088,"longitude_deg":76.3478528,"latitude_deg":9.7829088,"altitude":7,"angle":12,"satellites":41,"speed":26,"hex_longitude":"2d81c200","hex_latitude":"05d4c0e0","is_valid_coordinates":true} 
[2026-08-11 07:18: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-08-11 07:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321690112001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117446129817223168,"note":"Value kept but may cause issues"} 
[2026-08-11 07:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096849009779257344,"note":"Value kept but may cause issues"} 
[2026-08-11 07:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786412853000,"timestamp_ms":1786412853000,"timestamp_seconds":1786412853,"priority":1,"record_length":96,"hex_timestamp":"0000019fee80e708"} 
[2026-08-11 07:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:18:18] 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-08-11 07:18: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 07:18:18] 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-08-11 07:18: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-08-11 07:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321690112001,"66":13504,"166":206,"85":15104,"24":26,"16":117446129817223168,"45":-9096849009779257344},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-11 07:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321690112001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:18:18] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-11 07:18:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117446129817223168,"km_value":117446129817223.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096849009779257344,"description":"Unknown IO ID 45"} 
[2026-08-11 07:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321690112001,"power":13504,"unknown_166":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9096849009779257344}} 
[2026-08-11 07:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":151999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:18:18] local.INFO: GPS data processed {"connection_id":151999,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:18:18] local.INFO: Acknowledgment sent {"connection_id":151999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:18:30] local.INFO: TCP Data received {"connection_id":154736,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:18:30] local.INFO: Processing buffer {"connection_id":154736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:18:30] local.INFO: Packet analysis {"connection_id":154736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:18:30] local.INFO: Extracted packet for processing {"connection_id":154736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:18: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-08-11 07:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321601536001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786412807000,"timestamp_ms":1786412807000,"timestamp_seconds":1786412807,"priority":1,"record_length":96,"hex_timestamp":"0000019fee803358"} 
[2026-08-11 07:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:18:30] 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-08-11 07:18: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:18:30] 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-08-11 07:18: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-08-11 07:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321601536001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321601536001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:18:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:18:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321601536001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":154736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:18:30] local.INFO: GPS data processed {"connection_id":154736,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:18:30] local.INFO: Acknowledgment sent {"connection_id":154736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:18:58] local.INFO: TCP Data received {"connection_id":152000,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:18:58] local.INFO: Processing buffer {"connection_id":152000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:18:58] local.INFO: IMEI packet received {"connection_id":152000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":152000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:19:01] local.INFO: TCP Data received {"connection_id":153337,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:19:01] local.INFO: Processing buffer {"connection_id":153337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:19:01] local.INFO: IMEI packet received {"connection_id":153337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":153337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:19:03] local.INFO: TCP Data received {"connection_id":152000,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:19:03] local.INFO: Processing buffer {"connection_id":152000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:19:03] local.INFO: IMEI packet received {"connection_id":152000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":152000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:19:04] local.INFO: TCP Data received {"connection_id":153337,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:19:04] local.INFO: Processing buffer {"connection_id":153337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:19:04] local.INFO: IMEI packet received {"connection_id":153337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":153337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:19:09] local.INFO: TCP Data received {"connection_id":153337,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:19:09] local.INFO: Processing buffer {"connection_id":153337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:19:09] local.INFO: IMEI packet received {"connection_id":153337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":153337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:19:13] local.INFO: TCP Data received {"connection_id":153337,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee81dd20012d81b94005d5bc800002015d2a..."} 
[2026-08-11 07:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee81dd20012d81b94005d5bc800002015d2a..."} 
[2026-08-11 07:19:13] local.INFO: Processing buffer {"connection_id":153337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee81dd20012d81b94005d5bc800002015d2a..."} 
[2026-08-11 07:19:13] local.INFO: Packet analysis {"connection_id":153337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee81"} 
[2026-08-11 07:19:13] local.INFO: Extracted packet for processing {"connection_id":153337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee81"} 
[2026-08-11 07:19:13] local.INFO: GPS Element Parsed {"raw_longitude":763476288,"raw_latitude":97893504,"longitude_deg":76.3476288,"latitude_deg":9.7893504,"altitude":2,"angle":349,"satellites":42,"speed":32,"hex_longitude":"2d81b940","hex_latitude":"05d5bc80","is_valid_coordinates":true} 
[2026-08-11 07:19: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-08-11 07:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321705472001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117449295208120320,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099100809577263104,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786412916000,"timestamp_ms":1786412916000,"timestamp_seconds":1786412916,"priority":1,"record_length":96,"hex_timestamp":"0000019fee81dd20"} 
[2026-08-11 07:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:19:13] 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-08-11 07:19: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-11 07:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2810246167646962688,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4001455160,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176073733,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:13] local.WARNING: Large IO value detected {"io_id":238,"raw_value":-9136352283527629504,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795897038,"corrected_to":0} 
[2026-08-11 07:19:13] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-2593847269732069803,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3093876186929864662,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:13] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:13] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,166,85,24,241,157,16,67,159,174,45,128,137,3,41,10,66,139,98,119,1,240,227,238,213,4,113,205,35,92,178,80,40,239,51,2,161,5,33,59,247],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2795897038,"validated":0}]} 
[2026-08-11 07:19:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216176256745275392,"timestamp_seconds":216176256745275.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 07:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321705472001,"66":13276,"166":206,"85":15104,"24":32,"16":117449295208120320,"45":-9099100809577263104},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-11 07:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321705472001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:19:13] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-11 07:19:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117449295208120320,"km_value":117449295208120.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099100809577263104,"description":"Unknown IO ID 45"} 
[2026-08-11 07:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321705472001,"power":13276,"unknown_166":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9099100809577263104}} 
[2026-08-11 07:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":153337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:19:13] local.INFO: GPS data processed {"connection_id":153337,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:19:13] local.INFO: Acknowledgment sent {"connection_id":153337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:19:14] local.INFO: TCP Data received {"connection_id":152000,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:19:15] local.INFO: Processing buffer {"connection_id":152000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:19:15] local.INFO: Packet analysis {"connection_id":152000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:19:15] local.INFO: Extracted packet for processing {"connection_id":152000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:19:15] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:19: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-08-11 07:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321601536001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786412807000,"timestamp_ms":1786412807000,"timestamp_seconds":1786412807,"priority":1,"record_length":96,"hex_timestamp":"0000019fee803358"} 
[2026-08-11 07:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:19:15] 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-08-11 07:19: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-08-11 07:19: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-08-11 07:19: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-08-11 07:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:19:15] 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-08-11 07:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321601536001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321601536001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:19:15] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:19:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321601536001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":152000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:19:15] local.INFO: GPS data processed {"connection_id":152000,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:19:15] local.INFO: Acknowledgment sent {"connection_id":152000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:19:15] local.INFO: TCP Data received {"connection_id":152000,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:19:15] local.INFO: Processing buffer {"connection_id":152000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:19:15] local.INFO: Packet analysis {"connection_id":152000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:19:15] local.INFO: Extracted packet for processing {"connection_id":152000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:19:15] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:19: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-08-11 07:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321601536001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786412807000,"timestamp_ms":1786412807000,"timestamp_seconds":1786412807,"priority":1,"record_length":96,"hex_timestamp":"0000019fee803358"} 
[2026-08-11 07:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:19:15] 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-08-11 07:19: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-08-11 07:19: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-08-11 07:19: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-08-11 07:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:19:15] 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-08-11 07:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321601536001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321601536001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:19:15] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:19:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321601536001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":152000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:19:15] local.INFO: GPS data processed {"connection_id":152000,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:19:15] local.INFO: Acknowledgment sent {"connection_id":152000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:19:47] local.INFO: TCP Data received {"connection_id":153337,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee82bfb0012d82324005d5c090000600452a..."} 
[2026-08-11 07:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee82bfb0012d82324005d5c090000600452a..."} 
[2026-08-11 07:19:47] local.INFO: Processing buffer {"connection_id":153337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee82bfb0012d82324005d5c090000600452a..."} 
[2026-08-11 07:19:47] local.INFO: Packet analysis {"connection_id":153337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee82"} 
[2026-08-11 07:19:47] local.INFO: Extracted packet for processing {"connection_id":153337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee82"} 
[2026-08-11 07:19:47] local.INFO: GPS Element Parsed {"raw_longitude":763507264,"raw_latitude":97894544,"longitude_deg":76.3507264,"latitude_deg":9.7894544,"altitude":6,"angle":69,"satellites":42,"speed":30,"hex_longitude":"2d823240","hex_latitude":"05d5c090","is_valid_coordinates":true} 
[2026-08-11 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-08-11 07:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321719296001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117451064734646272,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9071445893114435584,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786412974000,"timestamp_ms":1786412974000,"timestamp_seconds":1786412974,"priority":1,"record_length":96,"hex_timestamp":"0000019fee82bfb0"} 
[2026-08-11 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-08-11 07:19:47] 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-08-11 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 07:19:47] 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-08-11 07:19: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-08-11 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-08-11 07:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321719296001,"66":12917,"157":206,"85":15104,"24":30,"16":117451064734646272,"45":-9071445893114435584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-11 07:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321719296001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:19:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-11 07:19:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117451064734646272,"km_value":117451064734646.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9071445893114435584,"description":"Unknown IO ID 45"} 
[2026-08-11 07:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321719296001,"power":12917,"unknown_157":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9071445893114435584}} 
[2026-08-11 07:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":153337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:19:47] local.INFO: GPS data processed {"connection_id":153337,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:19:47] local.INFO: Acknowledgment sent {"connection_id":153337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:19:53] local.INFO: TCP Data received {"connection_id":152399,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:19:53] local.INFO: Processing buffer {"connection_id":152399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:19:53] local.INFO: IMEI packet received {"connection_id":152399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":152399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:19:58] local.INFO: TCP Data received {"connection_id":152399,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:19:58] local.INFO: Processing buffer {"connection_id":152399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:19:58] local.INFO: IMEI packet received {"connection_id":152399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":152399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:19:59] local.INFO: TCP Data received {"connection_id":152399,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:19:59] local.INFO: Processing buffer {"connection_id":152399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:19:59] local.INFO: Packet analysis {"connection_id":152399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:19:59] local.INFO: Extracted packet for processing {"connection_id":152399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:19:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321601536001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786412807000,"timestamp_ms":1786412807000,"timestamp_seconds":1786412807,"priority":1,"record_length":96,"hex_timestamp":"0000019fee803358"} 
[2026-08-11 07:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:19: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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:19:59] 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-08-11 07: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-08-11 07:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:19:59] 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-08-11 07:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321601536001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321601536001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:19:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:19:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321601536001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":152399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:19:59] local.INFO: GPS data processed {"connection_id":152399,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:19:59] local.INFO: Acknowledgment sent {"connection_id":152399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:20:07] local.INFO: TCP Data received {"connection_id":152001,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:20:07] local.INFO: Processing buffer {"connection_id":152001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:20:07] local.INFO: IMEI packet received {"connection_id":152001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":152001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:20:08] local.INFO: TCP Data received {"connection_id":152001,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:20:08] local.INFO: Processing buffer {"connection_id":152001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:20:08] local.INFO: IMEI packet received {"connection_id":152001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":152001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:20:09] local.INFO: TCP Data received {"connection_id":152001,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee82cb68012d823a0005d5c540000600362a..."} 
[2026-08-11 07:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee82cb68012d823a0005d5c540000600362a..."} 
[2026-08-11 07:20:09] local.INFO: Processing buffer {"connection_id":152001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee82cb68012d823a0005d5c540000600362a..."} 
[2026-08-11 07:20:09] local.INFO: Packet analysis {"connection_id":152001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee82"} 
[2026-08-11 07:20:09] local.INFO: Extracted packet for processing {"connection_id":152001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee82"} 
[2026-08-11 07:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763509248,"raw_latitude":97895744,"longitude_deg":76.3509248,"latitude_deg":9.7895744,"altitude":6,"angle":54,"satellites":42,"speed":30,"hex_longitude":"2d823a00","hex_latitude":"05d5c540","is_valid_coordinates":true} 
[2026-08-11 07:20: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-08-11 07:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321721344001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117451176403795968,"note":"Value kept but may cause issues"} 
[2026-08-11 07:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9065112706138206208,"note":"Value kept but may cause issues"} 
[2026-08-11 07:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786412977000,"timestamp_ms":1786412977000,"timestamp_seconds":1786412977,"priority":1,"record_length":96,"hex_timestamp":"0000019fee82cb68"} 
[2026-08-11 07:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:20:09] 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-08-11 07:20: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":117,"data_length":795,"current_offset":136} 
[2026-08-11 07:20:09] 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-08-11 07:20: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-08-11 07:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321721344001,"66":13341,"157":206,"85":15104,"24":30,"16":117451176403795968,"45":-9065112706138206208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-11 07:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321721344001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:20:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-11 07:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117451176403795968,"km_value":117451176403795.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9065112706138206208,"description":"Unknown IO ID 45"} 
[2026-08-11 07:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321721344001,"power":13341,"unknown_157":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9065112706138206208}} 
[2026-08-11 07:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":152001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:20:09] local.INFO: GPS data processed {"connection_id":152001,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:20:09] local.INFO: Acknowledgment sent {"connection_id":152001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:20:11] local.INFO: TCP Data received {"connection_id":152001,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee82d338012d823e4005d5c970000600282a..."} 
[2026-08-11 07:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee82d338012d823e4005d5c970000600282a..."} 
[2026-08-11 07:20:11] local.INFO: Processing buffer {"connection_id":152001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee82d338012d823e4005d5c970000600282a..."} 
[2026-08-11 07:20:11] local.INFO: Packet analysis {"connection_id":152001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee82"} 
[2026-08-11 07:20:11] local.INFO: Extracted packet for processing {"connection_id":152001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee82"} 
[2026-08-11 07:20:11] local.INFO: GPS Element Parsed {"raw_longitude":763510336,"raw_latitude":97896816,"longitude_deg":76.3510336,"latitude_deg":9.7896816,"altitude":6,"angle":40,"satellites":42,"speed":28,"hex_longitude":"2d823e40","hex_latitude":"05d5c970","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321722112001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117451249418240000,"note":"Value kept but may cause issues"} 
[2026-08-11 07:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062931275068391424,"note":"Value kept but may cause issues"} 
[2026-08-11 07:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786412979000,"timestamp_ms":1786412979000,"timestamp_seconds":1786412979,"priority":1,"record_length":96,"hex_timestamp":"0000019fee82d338"} 
[2026-08-11 07:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:20:11] 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-08-11 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-11 07:20:11] 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-08-11 07: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-08-11 07:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321722112001,"66":13461,"157":206,"85":15104,"24":28,"16":117451249418240000,"45":-9062931275068391424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-11 07:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321722112001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:20:11] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-11 07:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117451249418240000,"km_value":117451249418240,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062931275068391424,"description":"Unknown IO ID 45"} 
[2026-08-11 07:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321722112001,"power":13461,"unknown_157":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9062931275068391424}} 
[2026-08-11 07:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":152001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:20:11] local.INFO: GPS data processed {"connection_id":152001,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:20:11] local.INFO: Acknowledgment sent {"connection_id":152001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:20:30] local.INFO: TCP Data received {"connection_id":152399,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:20:30] local.INFO: Processing buffer {"connection_id":152399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:20:30] local.INFO: Packet analysis {"connection_id":152399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:20:30] local.INFO: Extracted packet for processing {"connection_id":152399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:20:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:20: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-08-11 07:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321601536001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786412807000,"timestamp_ms":1786412807000,"timestamp_seconds":1786412807,"priority":1,"record_length":96,"hex_timestamp":"0000019fee803358"} 
[2026-08-11 07:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:20:30] 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-08-11 07:20: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:20:30] 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-08-11 07:20: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-08-11 07:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:20:30] 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-08-11 07:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321601536001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321601536001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:20:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:20:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321601536001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":152399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:20:30] local.INFO: GPS data processed {"connection_id":152399,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:20:30] local.INFO: Acknowledgment sent {"connection_id":152399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:20:42] local.INFO: TCP Data received {"connection_id":152001,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee82eaa8012d82484005d5d5580005003628..."} 
[2026-08-11 07:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee82eaa8012d82484005d5d5580005003628..."} 
[2026-08-11 07:20:42] local.INFO: Processing buffer {"connection_id":152001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee82eaa8012d82484005d5d5580005003628..."} 
[2026-08-11 07:20:42] local.INFO: Packet analysis {"connection_id":152001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee82"} 
[2026-08-11 07:20:42] local.INFO: Extracted packet for processing {"connection_id":152001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee82"} 
[2026-08-11 07:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763512896,"raw_latitude":97899864,"longitude_deg":76.3512896,"latitude_deg":9.7899864,"altitude":5,"angle":54,"satellites":40,"speed":26,"hex_longitude":"2d824840","hex_latitude":"05d5d558","is_valid_coordinates":true} 
[2026-08-11 07:20: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-08-11 07:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321722624001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117451442691768320,"note":"Value kept but may cause issues"} 
[2026-08-11 07:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061735006417096704,"note":"Value kept but may cause issues"} 
[2026-08-11 07:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786412985000,"timestamp_ms":1786412985000,"timestamp_seconds":1786412985,"priority":1,"record_length":96,"hex_timestamp":"0000019fee82eaa8"} 
[2026-08-11 07:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:20:42] 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-08-11 07:20: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-11 07:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 07:20: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-08-11 07:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321722624001,"66":13319,"157":206,"85":15104,"24":26,"16":117451442691768320,"45":-9061735006417096704},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-11 07:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321722624001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:20:42] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-11 07:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117451442691768320,"km_value":117451442691768.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061735006417096704,"description":"Unknown IO ID 45"} 
[2026-08-11 07:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321722624001,"power":13319,"unknown_157":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9061735006417096704}} 
[2026-08-11 07:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":152001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:20:42] local.INFO: GPS data processed {"connection_id":152001,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:20:42] local.INFO: Acknowledgment sent {"connection_id":152001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:20:53] local.INFO: TCP Data received {"connection_id":152002,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:20:53] local.INFO: Processing buffer {"connection_id":152002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:20:53] local.INFO: IMEI packet received {"connection_id":152002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":152002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:20:58] local.INFO: TCP Data received {"connection_id":152003,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:20:58] local.INFO: Processing buffer {"connection_id":152003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:20:58] local.INFO: IMEI packet received {"connection_id":152003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":152003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:20:58] local.INFO: TCP Data received {"connection_id":152002,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:20:58] local.INFO: Processing buffer {"connection_id":152002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:20:58] local.INFO: IMEI packet received {"connection_id":152002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":152002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:20:58] local.INFO: TCP Data received {"connection_id":152003,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:20:58] local.INFO: Processing buffer {"connection_id":152003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:20:58] local.INFO: IMEI packet received {"connection_id":152003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":152003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:20:59] local.INFO: TCP Data received {"connection_id":152002,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:20:59] local.INFO: Processing buffer {"connection_id":152002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:20:59] local.INFO: Packet analysis {"connection_id":152002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:20:59] local.INFO: Extracted packet for processing {"connection_id":152002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321601536001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786412807000,"timestamp_ms":1786412807000,"timestamp_seconds":1786412807,"priority":1,"record_length":96,"hex_timestamp":"0000019fee803358"} 
[2026-08-11 07:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:20: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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:20:59] 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-08-11 07: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-08-11 07:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:20:59] 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-08-11 07:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321601536001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321601536001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:20:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:20:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321601536001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":152002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:20:59] local.INFO: GPS data processed {"connection_id":152002,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:20:59] local.INFO: Acknowledgment sent {"connection_id":152002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:20:59] local.INFO: TCP Data received {"connection_id":152003,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:20:59] local.INFO: Processing buffer {"connection_id":152003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:20:59] local.INFO: IMEI packet received {"connection_id":152003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":152003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:21:01] local.INFO: TCP Data received {"connection_id":152003,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:21:01] local.INFO: Processing buffer {"connection_id":152003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:21:01] local.INFO: IMEI packet received {"connection_id":152003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":152003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:21:30] local.INFO: TCP Data received {"connection_id":152002,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:21:30] local.INFO: Processing buffer {"connection_id":152002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:21:30] local.INFO: Packet analysis {"connection_id":152002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:21:30] local.INFO: Extracted packet for processing {"connection_id":152002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:21:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321601536001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786412807000,"timestamp_ms":1786412807000,"timestamp_seconds":1786412807,"priority":1,"record_length":96,"hex_timestamp":"0000019fee803358"} 
[2026-08-11 07:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:21:30] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:21:30] 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-08-11 07: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-08-11 07:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:21: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-08-11 07:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321601536001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321601536001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:21:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:21:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321601536001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":152002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:21:30] local.INFO: GPS data processed {"connection_id":152002,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:21:30] local.INFO: Acknowledgment sent {"connection_id":152002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:21:53] local.INFO: TCP Data received {"connection_id":153338,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:21:53] local.INFO: Processing buffer {"connection_id":153338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:21:53] local.INFO: IMEI packet received {"connection_id":153338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":153338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:21:58] local.INFO: TCP Data received {"connection_id":153338,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:21:58] local.INFO: Processing buffer {"connection_id":153338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:21:58] local.INFO: IMEI packet received {"connection_id":153338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":153338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:21:59] local.INFO: TCP Data received {"connection_id":153338,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:21:59] local.INFO: Processing buffer {"connection_id":153338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee803358012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:21:59] local.INFO: Packet analysis {"connection_id":153338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:21:59] local.INFO: Extracted packet for processing {"connection_id":153338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee80"} 
[2026-08-11 07:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:21: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-08-11 07:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321601536001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786412807000,"timestamp_ms":1786412807000,"timestamp_seconds":1786412807,"priority":1,"record_length":96,"hex_timestamp":"0000019fee803358"} 
[2026-08-11 07:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:21: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-08-11 07:21: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:21:59] 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-08-11 07:21: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-08-11 07:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:21:59] 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-08-11 07:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321601536001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321601536001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:21:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:21:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321601536001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":153338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:21:59] local.INFO: GPS data processed {"connection_id":153338,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:21:59] local.INFO: Acknowledgment sent {"connection_id":153338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:22:30] local.INFO: TCP Data received {"connection_id":153338,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:22:30] local.INFO: Processing buffer {"connection_id":153338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:22:30] local.INFO: Packet analysis {"connection_id":153338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:22:30] local.INFO: Extracted packet for processing {"connection_id":153338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321678592001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786413108000,"timestamp_ms":1786413108000,"timestamp_seconds":1786413108,"priority":1,"record_length":96,"hex_timestamp":"0000019fee84cb20"} 
[2026-08-11 07:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:22:30] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:22:30] 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-08-11 07: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-08-11 07:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:22:30] 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-08-11 07:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321678592001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321678592001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:22:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:22:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321678592001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":153338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:22:30] local.INFO: GPS data processed {"connection_id":153338,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:22:30] local.INFO: Acknowledgment sent {"connection_id":153338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:22:53] local.INFO: TCP Data received {"connection_id":152004,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:22:53] local.INFO: Processing buffer {"connection_id":152004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:22:53] local.INFO: IMEI packet received {"connection_id":152004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":152004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:22:59] local.INFO: TCP Data received {"connection_id":152004,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:22:59] local.INFO: Processing buffer {"connection_id":152004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:22:59] local.INFO: IMEI packet received {"connection_id":152004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":152004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:23:00] local.INFO: TCP Data received {"connection_id":152004,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:23:00] local.INFO: Processing buffer {"connection_id":152004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:23:00] local.INFO: Packet analysis {"connection_id":152004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:23:00] local.INFO: Extracted packet for processing {"connection_id":152004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:23:00] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321678592001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786413108000,"timestamp_ms":1786413108000,"timestamp_seconds":1786413108,"priority":1,"record_length":96,"hex_timestamp":"0000019fee84cb20"} 
[2026-08-11 07:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:23:00] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:23: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-08-11 07: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-08-11 07:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:23:00] 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-08-11 07:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321678592001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321678592001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:23:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:23:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321678592001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":152004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:23:00] local.INFO: GPS data processed {"connection_id":152004,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:23:00] local.INFO: Acknowledgment sent {"connection_id":152004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:23:31] local.INFO: TCP Data received {"connection_id":152004,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:23:31] local.INFO: Processing buffer {"connection_id":152004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:23:31] local.INFO: Packet analysis {"connection_id":152004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:23:31] local.INFO: Extracted packet for processing {"connection_id":152004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:23: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-08-11 07:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321678592001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786413108000,"timestamp_ms":1786413108000,"timestamp_seconds":1786413108,"priority":1,"record_length":96,"hex_timestamp":"0000019fee84cb20"} 
[2026-08-11 07:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:23:31] 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-08-11 07:23: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:23:31] 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-08-11 07:23: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-08-11 07:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:23:31] 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-08-11 07:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321678592001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321678592001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:23:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:23:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321678592001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":152004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:23:31] local.INFO: GPS data processed {"connection_id":152004,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:23:31] local.INFO: Acknowledgment sent {"connection_id":152004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:23:58] local.INFO: TCP Data received {"connection_id":152400,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:23:58] local.INFO: Processing buffer {"connection_id":152400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:23:58] local.INFO: IMEI packet received {"connection_id":152400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":152400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:24:03] local.INFO: TCP Data received {"connection_id":152400,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:24:03] local.INFO: Processing buffer {"connection_id":152400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:24:03] local.INFO: IMEI packet received {"connection_id":152400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":152400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:24:06] local.INFO: TCP Data received {"connection_id":152400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:24:06] local.INFO: Processing buffer {"connection_id":152400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:24:06] local.INFO: Packet analysis {"connection_id":152400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:24:06] local.INFO: Extracted packet for processing {"connection_id":152400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 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-08-11 07:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321678592001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786413108000,"timestamp_ms":1786413108000,"timestamp_seconds":1786413108,"priority":1,"record_length":96,"hex_timestamp":"0000019fee84cb20"} 
[2026-08-11 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-08-11 07:24:06] 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-08-11 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":47,"data_length":795,"current_offset":136} 
[2026-08-11 07: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-08-11 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-08-11 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-08-11 07:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:24: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-08-11 07:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321678592001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321678592001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:24:06] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:24:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321678592001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":152400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:24:06] local.INFO: GPS data processed {"connection_id":152400,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:24:06] local.INFO: Acknowledgment sent {"connection_id":152400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:24:08] local.INFO: TCP Data received {"connection_id":152400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:24:08] local.INFO: Processing buffer {"connection_id":152400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:24:08] local.INFO: Packet analysis {"connection_id":152400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:24:08] local.INFO: Extracted packet for processing {"connection_id":152400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:24:08] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321678592001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786413108000,"timestamp_ms":1786413108000,"timestamp_seconds":1786413108,"priority":1,"record_length":96,"hex_timestamp":"0000019fee84cb20"} 
[2026-08-11 07:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:24:08] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:24: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-08-11 07: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-08-11 07:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:24: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-08-11 07:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321678592001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321678592001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:24:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:24:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321678592001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":152400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:24:08] local.INFO: GPS data processed {"connection_id":152400,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:24:08] local.INFO: Acknowledgment sent {"connection_id":152400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:24:53] local.INFO: TCP Data received {"connection_id":154739,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:24:53] local.INFO: Processing buffer {"connection_id":154739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:24:53] local.INFO: IMEI packet received {"connection_id":154739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":154739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:24:58] local.INFO: TCP Data received {"connection_id":154739,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:24:58] local.INFO: Processing buffer {"connection_id":154739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:24:58] local.INFO: IMEI packet received {"connection_id":154739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":154739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:24:59] local.INFO: TCP Data received {"connection_id":154739,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:24:59] local.INFO: Processing buffer {"connection_id":154739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:24:59] local.INFO: Packet analysis {"connection_id":154739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:24:59] local.INFO: Extracted packet for processing {"connection_id":154739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321678592001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786413108000,"timestamp_ms":1786413108000,"timestamp_seconds":1786413108,"priority":1,"record_length":96,"hex_timestamp":"0000019fee84cb20"} 
[2026-08-11 07:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:24: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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:24:59] 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-08-11 07: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-08-11 07:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:24:59] 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-08-11 07:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321678592001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321678592001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:24:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:24:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321678592001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":154739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:24:59] local.INFO: GPS data processed {"connection_id":154739,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:24:59] local.INFO: Acknowledgment sent {"connection_id":154739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:25:30] local.INFO: TCP Data received {"connection_id":154739,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:25:30] local.INFO: Processing buffer {"connection_id":154739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:25:30] local.INFO: Packet analysis {"connection_id":154739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:25:30] local.INFO: Extracted packet for processing {"connection_id":154739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:25:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:25: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-08-11 07:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321678592001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786413108000,"timestamp_ms":1786413108000,"timestamp_seconds":1786413108,"priority":1,"record_length":96,"hex_timestamp":"0000019fee84cb20"} 
[2026-08-11 07:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:25:30] 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-08-11 07:25: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:25:30] 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-08-11 07:25: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-08-11 07:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:25:30] 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-08-11 07:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321678592001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321678592001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:25:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:25:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321678592001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":154739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:25:30] local.INFO: GPS data processed {"connection_id":154739,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:25:30] local.INFO: Acknowledgment sent {"connection_id":154739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:25:53] local.INFO: TCP Data received {"connection_id":152401,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:25:53] local.INFO: Processing buffer {"connection_id":152401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:25:53] local.INFO: IMEI packet received {"connection_id":152401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":152401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:25:58] local.INFO: TCP Data received {"connection_id":152401,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:25:58] local.INFO: Processing buffer {"connection_id":152401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:25:58] local.INFO: IMEI packet received {"connection_id":152401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":152401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:26:00] local.INFO: TCP Data received {"connection_id":152401,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:26:00] local.INFO: Processing buffer {"connection_id":152401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:26:00] local.INFO: Packet analysis {"connection_id":152401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:26:00] local.INFO: Extracted packet for processing {"connection_id":152401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321678592001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786413108000,"timestamp_ms":1786413108000,"timestamp_seconds":1786413108,"priority":1,"record_length":96,"hex_timestamp":"0000019fee84cb20"} 
[2026-08-11 07:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:26:00] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:26: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-08-11 07: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-08-11 07:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:26:00] 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-08-11 07:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321678592001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321678592001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:26:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:26:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321678592001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":152401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:26:00] local.INFO: GPS data processed {"connection_id":152401,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:26:00] local.INFO: Acknowledgment sent {"connection_id":152401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:26:04] local.INFO: TCP Data received {"connection_id":153340,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:26:04] local.INFO: Processing buffer {"connection_id":153340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:26:04] local.INFO: IMEI packet received {"connection_id":153340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":153340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:26:07] local.INFO: TCP Data received {"connection_id":153340,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:26:07] local.INFO: Processing buffer {"connection_id":153340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:26:07] local.INFO: IMEI packet received {"connection_id":153340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":153340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:26:11] local.INFO: TCP Data received {"connection_id":153340,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:26:11] local.INFO: Processing buffer {"connection_id":153340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:26:11] local.INFO: IMEI packet received {"connection_id":153340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":153340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:26:12] local.INFO: TCP Data received {"connection_id":153340,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8849a8012d82820005d8e598000801642a..."} 
[2026-08-11 07:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8849a8012d82820005d8e598000801642a..."} 
[2026-08-11 07:26:12] local.INFO: Processing buffer {"connection_id":153340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8849a8012d82820005d8e598000801642a..."} 
[2026-08-11 07:26:12] local.INFO: Packet analysis {"connection_id":153340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee88"} 
[2026-08-11 07:26:12] local.INFO: Extracted packet for processing {"connection_id":153340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee88"} 
[2026-08-11 07:26:12] local.INFO: GPS Element Parsed {"raw_longitude":763527680,"raw_latitude":98100632,"longitude_deg":76.352768,"latitude_deg":9.8100632,"altitude":8,"angle":356,"satellites":42,"speed":45,"hex_longitude":"2d828200","hex_latitude":"05d8e598","is_valid_coordinates":true} 
[2026-08-11 07:26: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-08-11 07:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321812224001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117462377678503936,"note":"Value kept but may cause issues"} 
[2026-08-11 07:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041820651765061632,"note":"Value kept but may cause issues"} 
[2026-08-11 07:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786413337000,"timestamp_ms":1786413337000,"timestamp_seconds":1786413337,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8849a8"} 
[2026-08-11 07:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:26: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-08-11 07:26: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":116,"data_length":795,"current_offset":136} 
[2026-08-11 07:26:12] 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-08-11 07:26: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-08-11 07:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321812224001,"66":13276,"47":206,"85":15104,"24":45,"16":117462377678503936,"45":-9041820651765061632},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-11 07:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321812224001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:26:12] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-11 07:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117462377678503936,"km_value":117462377678503.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041820651765061632,"description":"Unknown IO ID 45"} 
[2026-08-11 07:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321812224001,"power":13276,"unknown_47":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9041820651765061632}} 
[2026-08-11 07:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":153340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:26:12] local.INFO: GPS data processed {"connection_id":153340,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:26:12] local.INFO: Acknowledgment sent {"connection_id":153340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:26:31] local.INFO: TCP Data received {"connection_id":152401,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:26:31] local.INFO: Processing buffer {"connection_id":152401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:26:31] local.INFO: Packet analysis {"connection_id":152401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:26:31] local.INFO: Extracted packet for processing {"connection_id":152401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:26:31] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:26: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-08-11 07:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321678592001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786413108000,"timestamp_ms":1786413108000,"timestamp_seconds":1786413108,"priority":1,"record_length":96,"hex_timestamp":"0000019fee84cb20"} 
[2026-08-11 07:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:26:31] 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-08-11 07:26: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:26:31] 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-08-11 07:26: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-08-11 07:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:26:31] 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-08-11 07:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321678592001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321678592001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:26:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:26:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321678592001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":152401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:26:31] local.INFO: GPS data processed {"connection_id":152401,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:26:31] local.INFO: Acknowledgment sent {"connection_id":152401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:26:43] local.INFO: TCP Data received {"connection_id":153340,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8868e8012d827f4005d909700008016127..."} 
[2026-08-11 07:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8868e8012d827f4005d909700008016127..."} 
[2026-08-11 07:26:43] local.INFO: Processing buffer {"connection_id":153340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8868e8012d827f4005d909700008016127..."} 
[2026-08-11 07:26:43] local.INFO: Packet analysis {"connection_id":153340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee88"} 
[2026-08-11 07:26:43] local.INFO: Extracted packet for processing {"connection_id":153340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee88"} 
[2026-08-11 07:26:43] local.INFO: GPS Element Parsed {"raw_longitude":763526976,"raw_latitude":98109808,"longitude_deg":76.3526976,"latitude_deg":9.8109808,"altitude":8,"angle":353,"satellites":39,"speed":44,"hex_longitude":"2d827f40","hex_latitude":"05d90970","is_valid_coordinates":true} 
[2026-08-11 07:26: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-08-11 07:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321814272001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117462824355102720,"note":"Value kept but may cause issues"} 
[2026-08-11 07:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042665076692772864,"note":"Value kept but may cause issues"} 
[2026-08-11 07:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786413345000,"timestamp_ms":1786413345000,"timestamp_seconds":1786413345,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8868e8"} 
[2026-08-11 07:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:26: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-08-11 07:26: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-11 07:26:43] 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-08-11 07:26: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-08-11 07:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321814272001,"66":13222,"47":206,"85":15104,"24":44,"16":117462824355102720,"45":-9042665076692772864},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-11 07:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321814272001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:26:43] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-11 07:26:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117462824355102720,"km_value":117462824355102.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042665076692772864,"description":"Unknown IO ID 45"} 
[2026-08-11 07:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321814272001,"power":13222,"unknown_47":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9042665076692772864}} 
[2026-08-11 07:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":153340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:26:43] local.INFO: GPS data processed {"connection_id":153340,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:26:43] local.INFO: Acknowledgment sent {"connection_id":153340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:26:53] local.INFO: TCP Data received {"connection_id":152402,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:26:53] local.INFO: Processing buffer {"connection_id":152402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:26:53] local.INFO: IMEI packet received {"connection_id":152402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":152402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:26:58] local.INFO: TCP Data received {"connection_id":152402,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:26:58] local.INFO: Processing buffer {"connection_id":152402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:26:58] local.INFO: IMEI packet received {"connection_id":152402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":152402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:26:59] local.INFO: TCP Data received {"connection_id":152402,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:26:59] local.INFO: Processing buffer {"connection_id":152402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee84cb20012d840d40061d6f20000c006f2f..."} 
[2026-08-11 07:26:59] local.INFO: Packet analysis {"connection_id":152402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:26:59] local.INFO: Extracted packet for processing {"connection_id":152402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee84"} 
[2026-08-11 07:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":47,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321678592001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786413108000,"timestamp_ms":1786413108000,"timestamp_seconds":1786413108,"priority":1,"record_length":96,"hex_timestamp":"0000019fee84cb20"} 
[2026-08-11 07:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:26: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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:26:59] 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-08-11 07: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-08-11 07:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:26:59] 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-08-11 07:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321678592001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321678592001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:26:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:26:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321678592001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":152402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:26:59] local.INFO: GPS data processed {"connection_id":152402,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:26:59] local.INFO: Acknowledgment sent {"connection_id":152402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:27:02] local.INFO: TCP Data received {"connection_id":152005,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:27:02] local.INFO: Processing buffer {"connection_id":152005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:27:02] local.INFO: IMEI packet received {"connection_id":152005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":152005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:27:05] local.INFO: TCP Data received {"connection_id":152005,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:27:05] local.INFO: Processing buffer {"connection_id":152005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:27:05] local.INFO: IMEI packet received {"connection_id":152005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":152005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:27:06] local.INFO: TCP Data received {"connection_id":152005,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee888440012d82788005d926480008015428..."} 
[2026-08-11 07:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee888440012d82788005d926480008015428..."} 
[2026-08-11 07:27:06] local.INFO: Processing buffer {"connection_id":152005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee888440012d82788005d926480008015428..."} 
[2026-08-11 07:27:06] local.INFO: Packet analysis {"connection_id":152005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee88"} 
[2026-08-11 07:27:06] local.INFO: Extracted packet for processing {"connection_id":152005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee88"} 
[2026-08-11 07:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763525248,"raw_latitude":98117192,"longitude_deg":76.3525248,"latitude_deg":9.8117192,"altitude":8,"angle":340,"satellites":40,"speed":40,"hex_longitude":"2d827880","hex_latitude":"05d92648","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321816320001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117463193722290176,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043439132876378112,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786413352000,"timestamp_ms":1786413352000,"timestamp_seconds":1786413352,"priority":1,"record_length":96,"hex_timestamp":"0000019fee888440"} 
[2026-08-11 07:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:27: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-08-11 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 07:27:06] 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-08-11 07: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-08-11 07:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321816320001,"66":13319,"47":206,"85":15104,"24":40,"16":117463193722290176,"45":-9043439132876378112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-11 07:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321816320001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:27:06] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-11 07:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117463193722290176,"km_value":117463193722290.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043439132876378112,"description":"Unknown IO ID 45"} 
[2026-08-11 07:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321816320001,"power":13319,"unknown_47":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9043439132876378112}} 
[2026-08-11 07:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":152005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:27:06] local.INFO: GPS data processed {"connection_id":152005,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:27:06] local.INFO: Acknowledgment sent {"connection_id":152005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:27:30] local.INFO: TCP Data received {"connection_id":152402,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:27:30] local.INFO: Processing buffer {"connection_id":152402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:27:30] local.INFO: Packet analysis {"connection_id":152402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:27:30] local.INFO: Extracted packet for processing {"connection_id":152402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:27: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-08-11 07:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321755648001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786413409000,"timestamp_ms":1786413409000,"timestamp_seconds":1786413409,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8962e8"} 
[2026-08-11 07:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:27:30] 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-08-11 07:27: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:27:30] 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-08-11 07:27: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-08-11 07:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:27:30] 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-08-11 07:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321755648001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321755648001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:27:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:27:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321755648001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":152402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:27:30] local.INFO: GPS data processed {"connection_id":152402,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:27:30] local.INFO: Acknowledgment sent {"connection_id":152402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:27:37] local.INFO: TCP Data received {"connection_id":152005,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee88ab50012d826ac005d94a080007015428..."} 
[2026-08-11 07:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee88ab50012d826ac005d94a080007015428..."} 
[2026-08-11 07:27:37] local.INFO: Processing buffer {"connection_id":152005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee88ab50012d826ac005d94a080007015428..."} 
[2026-08-11 07:27:37] local.INFO: Packet analysis {"connection_id":152005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee88"} 
[2026-08-11 07:27:37] local.INFO: Extracted packet for processing {"connection_id":152005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee88"} 
[2026-08-11 07:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763521728,"raw_latitude":98126344,"longitude_deg":76.3521728,"latitude_deg":9.8126344,"altitude":7,"angle":340,"satellites":40,"speed":37,"hex_longitude":"2d826ac0","hex_latitude":"05d94a08","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321818112001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117463670463660032,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9045339088967284736,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786413362000,"timestamp_ms":1786413362000,"timestamp_seconds":1786413362,"priority":1,"record_length":96,"hex_timestamp":"0000019fee88ab50"} 
[2026-08-11 07:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07: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-08-11 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 07:27:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4001886160,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2189754373,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:37] local.WARNING: Large IO value detected {"io_id":78,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:37] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2282432513,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:37] local.WARNING: Large IO value detected {"io_id":216,"raw_value":7090917656267139072,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1580138702,"corrected_to":0} 
[2026-08-11 07:27:37] local.WARNING: Large IO value detected {"io_id":133,"raw_value":2147866768,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:37] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941342,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3632175104,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:37] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57805926195680571,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:37] local.WARNING: Large IO value detected {"io_id":135,"raw_value":-7077405519436627963,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:37] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,47,85,24,241,157,16,80,159,104,45,64,9,8,39,10,66,79,73,229,42,1,240,116,227,78,238,216,4,113,205,44,3,133,152,239,51,2,161,5,37,138,135],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1580138702,"validated":0}]} 
[2026-08-11 07:27:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576834758058180608,"timestamp_seconds":576834758058180.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 07:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321818112001,"66":13363,"47":206,"85":15104,"24":37,"16":117463670463660032,"45":-9045339088967284736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-11 07:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321818112001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:27:37] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-11 07:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117463670463660032,"km_value":117463670463660.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9045339088967284736,"description":"Unknown IO ID 45"} 
[2026-08-11 07:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321818112001,"power":13363,"unknown_47":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9045339088967284736}} 
[2026-08-11 07:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":152005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:27:37] local.INFO: GPS data processed {"connection_id":152005,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:27:37] local.INFO: Acknowledgment sent {"connection_id":152005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:27:53] local.INFO: TCP Data received {"connection_id":154741,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:27:53] local.INFO: Processing buffer {"connection_id":154741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:27:53] local.INFO: IMEI packet received {"connection_id":154741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":154741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:27:58] local.INFO: TCP Data received {"connection_id":154741,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:27:58] local.INFO: Processing buffer {"connection_id":154741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:27:58] local.INFO: IMEI packet received {"connection_id":154741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":154741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:27:59] local.INFO: TCP Data received {"connection_id":154741,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:27:59] local.INFO: Processing buffer {"connection_id":154741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:27:59] local.INFO: Packet analysis {"connection_id":154741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:27:59] local.INFO: Extracted packet for processing {"connection_id":154741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321755648001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786413409000,"timestamp_ms":1786413409000,"timestamp_seconds":1786413409,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8962e8"} 
[2026-08-11 07:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:27: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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:27:59] 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-08-11 07:27: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-08-11 07:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:27:59] 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-08-11 07:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321755648001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321755648001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:27:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:27:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321755648001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":154741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:27:59] local.INFO: GPS data processed {"connection_id":154741,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:27:59] local.INFO: Acknowledgment sent {"connection_id":154741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:27:59] local.INFO: TCP Data received {"connection_id":153341,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:27:59] local.INFO: Processing buffer {"connection_id":153341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:27:59] local.INFO: IMEI packet received {"connection_id":153341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":153341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:28:02] local.INFO: TCP Data received {"connection_id":153341,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:28:02] local.INFO: Processing buffer {"connection_id":153341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:28:02] local.INFO: IMEI packet received {"connection_id":153341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":153341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:28:07] local.INFO: TCP Data received {"connection_id":153341,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:28:07] local.INFO: Processing buffer {"connection_id":153341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:28:07] local.INFO: IMEI packet received {"connection_id":153341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":153341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:28:07] local.INFO: TCP Data received {"connection_id":153341,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8a60d0012d821b4005da8d880006013829..."} 
[2026-08-11 07:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8a60d0012d821b4005da8d880006013829..."} 
[2026-08-11 07:28:07] local.INFO: Processing buffer {"connection_id":153341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8a60d0012d821b4005da8d880006013829..."} 
[2026-08-11 07:28:07] local.INFO: Packet analysis {"connection_id":153341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8a"} 
[2026-08-11 07:28:07] local.INFO: Extracted packet for processing {"connection_id":153341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8a"} 
[2026-08-11 07:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763501376,"raw_latitude":98209160,"longitude_deg":76.3501376,"latitude_deg":9.820916,"altitude":6,"angle":312,"satellites":41,"speed":23,"hex_longitude":"2d821b40","hex_latitude":"05da8d88","is_valid_coordinates":true} 
[2026-08-11 07:28: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-08-11 07:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321849088001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117467823697035264,"note":"Value kept but may cause issues"} 
[2026-08-11 07:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9071094049312878592,"note":"Value kept but may cause issues"} 
[2026-08-11 07:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786413474000,"timestamp_ms":1786413474000,"timestamp_seconds":1786413474,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8a60d0"} 
[2026-08-11 07:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:28: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-08-11 07:28: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":69,"data_length":795,"current_offset":136} 
[2026-08-11 07:28:07] 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-08-11 07:28: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-08-11 07:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321849088001,"66":13363,"71":206,"85":15104,"24":23,"16":117467823697035264,"45":-9071094049312878592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 07:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321849088001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:28:07] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 07:28:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117467823697035264,"km_value":117467823697035.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9071094049312878592,"description":"Unknown IO ID 45"} 
[2026-08-11 07:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321849088001,"power":13363,"unknown_71":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9071094049312878592}} 
[2026-08-11 07:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":153341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:28:07] local.INFO: GPS data processed {"connection_id":153341,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:28:07] local.INFO: Acknowledgment sent {"connection_id":153341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:28:30] local.INFO: TCP Data received {"connection_id":154741,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:28:30] local.INFO: Processing buffer {"connection_id":154741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:28:30] local.INFO: Packet analysis {"connection_id":154741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:28:30] local.INFO: Extracted packet for processing {"connection_id":154741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:28:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321755648001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786413409000,"timestamp_ms":1786413409000,"timestamp_seconds":1786413409,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8962e8"} 
[2026-08-11 07:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:28:30] 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-08-11 07: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:28:30] 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-08-11 07: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-08-11 07:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:28:30] 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-08-11 07:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321755648001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321755648001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:28:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:28:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321755648001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":154741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:28:30] local.INFO: GPS data processed {"connection_id":154741,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:28:30] local.INFO: Acknowledgment sent {"connection_id":154741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:28:38] local.INFO: TCP Data received {"connection_id":153341,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8a64b8012d82198005da8ea80005012a2a..."} 
[2026-08-11 07:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8a64b8012d82198005da8ea80005012a2a..."} 
[2026-08-11 07:28:38] local.INFO: Processing buffer {"connection_id":153341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8a64b8012d82198005da8ea80005012a2a..."} 
[2026-08-11 07:28:38] local.INFO: Packet analysis {"connection_id":153341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8a"} 
[2026-08-11 07:28:38] local.INFO: Extracted packet for processing {"connection_id":153341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8a"} 
[2026-08-11 07:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763500928,"raw_latitude":98209448,"longitude_deg":76.3500928,"latitude_deg":9.8209448,"altitude":5,"angle":298,"satellites":42,"speed":23,"hex_longitude":"2d821980","hex_latitude":"05da8ea8","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321849344001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117467849466839040,"note":"Value kept but may cause issues"} 
[2026-08-11 07:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9071586630522009600,"note":"Value kept but may cause issues"} 
[2026-08-11 07:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786413475000,"timestamp_ms":1786413475000,"timestamp_seconds":1786413475,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8a64b8"} 
[2026-08-11 07:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:28: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-08-11 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 07:28:38] 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-08-11 07: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-08-11 07:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321849344001,"66":13363,"71":206,"85":15104,"24":23,"16":117467849466839040,"45":-9071586630522009600},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 07:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321849344001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:28:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 07:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117467849466839040,"km_value":117467849466839.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9071586630522009600,"description":"Unknown IO ID 45"} 
[2026-08-11 07:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321849344001,"power":13363,"unknown_71":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9071586630522009600}} 
[2026-08-11 07:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":153341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:28:38] local.INFO: GPS data processed {"connection_id":153341,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:28:38] local.INFO: Acknowledgment sent {"connection_id":153341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:28:53] local.INFO: TCP Data received {"connection_id":153342,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:28:53] local.INFO: Processing buffer {"connection_id":153342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:28:53] local.INFO: IMEI packet received {"connection_id":153342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":153342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:28:58] local.INFO: TCP Data received {"connection_id":153342,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:28:58] local.INFO: Processing buffer {"connection_id":153342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:28:58] local.INFO: IMEI packet received {"connection_id":153342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":153342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:28:59] local.INFO: TCP Data received {"connection_id":153342,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:28:59] local.INFO: Processing buffer {"connection_id":153342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:28:59] local.INFO: Packet analysis {"connection_id":153342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:28:59] local.INFO: Extracted packet for processing {"connection_id":153342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321755648001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786413409000,"timestamp_ms":1786413409000,"timestamp_seconds":1786413409,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8962e8"} 
[2026-08-11 07:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:28: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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:28:59] 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-08-11 07: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-08-11 07:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:28:59] 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-08-11 07:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321755648001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321755648001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:28:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:28:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321755648001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":153342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:28:59] local.INFO: GPS data processed {"connection_id":153342,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:28:59] local.INFO: Acknowledgment sent {"connection_id":153342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:29:02] local.INFO: TCP Data received {"connection_id":152403,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:29:02] local.INFO: Processing buffer {"connection_id":152403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:29:02] local.INFO: IMEI packet received {"connection_id":152403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":152403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:29:07] local.INFO: TCP Data received {"connection_id":152403,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:29:07] local.INFO: Processing buffer {"connection_id":152403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:29:07] local.INFO: IMEI packet received {"connection_id":152403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":152403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:29:08] local.INFO: TCP Data received {"connection_id":152403,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8b2808012d8168c005da84f80002012d28..."} 
[2026-08-11 07:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8b2808012d8168c005da84f80002012d28..."} 
[2026-08-11 07:29:08] local.INFO: Processing buffer {"connection_id":152403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8b2808012d8168c005da84f80002012d28..."} 
[2026-08-11 07:29:08] local.INFO: Packet analysis {"connection_id":152403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8b"} 
[2026-08-11 07:29:08] local.INFO: Extracted packet for processing {"connection_id":152403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8b"} 
[2026-08-11 07:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763455680,"raw_latitude":98206968,"longitude_deg":76.345568,"latitude_deg":9.8206968,"altitude":2,"angle":301,"satellites":40,"speed":24,"hex_longitude":"2d8168c0","hex_latitude":"05da84f8","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321861632001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117470108619636736,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9120281801493665792,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786413525000,"timestamp_ms":1786413525000,"timestamp_seconds":1786413525,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8b2808"} 
[2026-08-11 07:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:29: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-08-11 07: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 07:29:08] 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-08-11 07: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-08-11 07:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321861632001,"66":13319,"71":206,"85":15104,"24":24,"16":117470108619636736,"45":-9120281801493665792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 07:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321861632001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:29:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 07:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117470108619636736,"km_value":117470108619636.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9120281801493665792,"description":"Unknown IO ID 45"} 
[2026-08-11 07:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321861632001,"power":13319,"unknown_71":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9120281801493665792}} 
[2026-08-11 07:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":152403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:29:08] local.INFO: GPS data processed {"connection_id":152403,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:29:08] local.INFO: Acknowledgment sent {"connection_id":152403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:29:30] local.INFO: TCP Data received {"connection_id":153342,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:29:30] local.INFO: Processing buffer {"connection_id":153342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:29:30] local.INFO: Packet analysis {"connection_id":153342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:29:30] local.INFO: Extracted packet for processing {"connection_id":153342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321755648001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786413409000,"timestamp_ms":1786413409000,"timestamp_seconds":1786413409,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8962e8"} 
[2026-08-11 07:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:29:30] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:29:30] 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-08-11 07: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-08-11 07:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:29:30] 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-08-11 07:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321755648001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321755648001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:29:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:29:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321755648001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":153342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:29:30] local.INFO: GPS data processed {"connection_id":153342,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:29:30] local.INFO: Acknowledgment sent {"connection_id":153342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:29:39] local.INFO: TCP Data received {"connection_id":152403,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8b2bf0012d81670005da86800002013928..."} 
[2026-08-11 07:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8b2bf0012d81670005da86800002013928..."} 
[2026-08-11 07:29:39] local.INFO: Processing buffer {"connection_id":152403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8b2bf0012d81670005da86800002013928..."} 
[2026-08-11 07:29:39] local.INFO: Packet analysis {"connection_id":152403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8b"} 
[2026-08-11 07:29:39] local.INFO: Extracted packet for processing {"connection_id":152403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8b"} 
[2026-08-11 07:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763455232,"raw_latitude":98207360,"longitude_deg":76.3455232,"latitude_deg":9.820736,"altitude":2,"angle":313,"satellites":40,"speed":24,"hex_longitude":"2d816700","hex_latitude":"05da8680","is_valid_coordinates":true} 
[2026-08-11 07:29: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-08-11 07:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321862400001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117470138684407808,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9121829913865422848,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786413526000,"timestamp_ms":1786413526000,"timestamp_seconds":1786413526,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8b2bf0"} 
[2026-08-11 07:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:29: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-08-11 07:29: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":7,"data_length":795,"current_offset":136} 
[2026-08-11 07:29:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4002067160,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2175959045,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:39] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2328768513,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:39] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-8977925835671656704,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-08-11 07:29:39] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862887,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3665291264,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:39] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57886293623723323,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:39] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-7811492258709061627,"note":"Value kept but may cause issues"} 
[2026-08-11 07:29:39] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,71,85,24,241,157,16,86,159,28,45,64,130,1,40,10,66,42,128,240,7,227,238,218,4,113,205,37,198,186,144,41,239,48,2,161,5,84,138],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-08-11 07:29:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144446312876081152,"timestamp_seconds":144446312876081.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 07:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321862400001,"66":13374,"71":206,"85":15104,"24":24,"16":117470138684407808,"45":-9121829913865422848},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 07:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321862400001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:29:39] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 07:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117470138684407808,"km_value":117470138684407.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9121829913865422848,"description":"Unknown IO ID 45"} 
[2026-08-11 07:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321862400001,"power":13374,"unknown_71":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9121829913865422848}} 
[2026-08-11 07:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":152403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:29:39] local.INFO: GPS data processed {"connection_id":152403,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:29:39] local.INFO: Acknowledgment sent {"connection_id":152403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:29:58] local.INFO: TCP Data received {"connection_id":154742,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:29:58] local.INFO: Processing buffer {"connection_id":154742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:29:58] local.INFO: IMEI packet received {"connection_id":154742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":154742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:30:00] local.INFO: TCP Data received {"connection_id":154743,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:30:00] local.INFO: Processing buffer {"connection_id":154743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:30:00] local.INFO: IMEI packet received {"connection_id":154743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":154743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:30:01] local.INFO: TCP Data received {"connection_id":154743,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:30:01] local.INFO: Processing buffer {"connection_id":154743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:30:01] local.INFO: IMEI packet received {"connection_id":154743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":154743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:30:03] local.INFO: TCP Data received {"connection_id":154742,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:30:03] local.INFO: Processing buffer {"connection_id":154742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:30:03] local.INFO: IMEI packet received {"connection_id":154742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":154742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:30:04] local.INFO: TCP Data received {"connection_id":154742,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:30:04] local.INFO: Processing buffer {"connection_id":154742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:30:04] local.INFO: Packet analysis {"connection_id":154742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:30:04] local.INFO: Extracted packet for processing {"connection_id":154742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321755648001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786413409000,"timestamp_ms":1786413409000,"timestamp_seconds":1786413409,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8962e8"} 
[2026-08-11 07:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:30:04] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:30:04] 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-08-11 07: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-08-11 07:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:30: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-08-11 07:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321755648001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321755648001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:30:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:30:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321755648001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":154742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:30:04] local.INFO: GPS data processed {"connection_id":154742,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:30:04] local.INFO: Acknowledgment sent {"connection_id":154742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:30:07] local.INFO: TCP Data received {"connection_id":154743,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:30:07] local.INFO: Processing buffer {"connection_id":154743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:30:07] local.INFO: IMEI packet received {"connection_id":154743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":154743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:30:07] local.INFO: TCP Data received {"connection_id":154743,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8c06b0012d81070005db5a200001014627..."} 
[2026-08-11 07:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8c06b0012d81070005db5a200001014627..."} 
[2026-08-11 07:30:07] local.INFO: Processing buffer {"connection_id":154743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8c06b0012d81070005db5a200001014627..."} 
[2026-08-11 07:30:07] local.INFO: Packet analysis {"connection_id":154743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8c"} 
[2026-08-11 07:30:07] local.INFO: Extracted packet for processing {"connection_id":154743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8c"} 
[2026-08-11 07:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763430656,"raw_latitude":98261536,"longitude_deg":76.3430656,"latitude_deg":9.8261536,"altitude":1,"angle":326,"satellites":39,"speed":48,"hex_longitude":"2d810700","hex_latitude":"05db5a20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321874944001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117473054967201792,"note":"Value kept but may cause issues"} 
[2026-08-11 07:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143714593292847104,"note":"Value kept but may cause issues"} 
[2026-08-11 07:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786413582000,"timestamp_ms":1786413582000,"timestamp_seconds":1786413582,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8c06b0"} 
[2026-08-11 07:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:30: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-08-11 07: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-11 07:30:07] 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-08-11 07: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-08-11 07:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321874944001,"66":13406,"153":206,"85":15104,"24":48,"16":117473054967201792,"45":-9143714593292847104},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-11 07:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321874944001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:30:07] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-11 07:30:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117473054967201792,"km_value":117473054967201.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143714593292847104,"description":"Unknown IO ID 45"} 
[2026-08-11 07:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321874944001,"power":13406,"unknown_153":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9143714593292847104}} 
[2026-08-11 07:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":154743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:30:07] local.INFO: GPS data processed {"connection_id":154743,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:30:07] local.INFO: Acknowledgment sent {"connection_id":154743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:30:35] local.INFO: TCP Data received {"connection_id":154742,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:30:35] local.INFO: Processing buffer {"connection_id":154742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:30:35] local.INFO: Packet analysis {"connection_id":154742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:30:35] local.INFO: Extracted packet for processing {"connection_id":154742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:30:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321755648001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786413409000,"timestamp_ms":1786413409000,"timestamp_seconds":1786413409,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8962e8"} 
[2026-08-11 07:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:30:35] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:30:35] 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-08-11 07: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-08-11 07:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:30: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-08-11 07:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321755648001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321755648001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:30:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:30:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321755648001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":154742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:30:35] local.INFO: GPS data processed {"connection_id":154742,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:30:35] local.INFO: Acknowledgment sent {"connection_id":154742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:30:39] local.INFO: TCP Data received {"connection_id":154743,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8c1a38012d80fb8005db6ee80001015329..."} 
[2026-08-11 07:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8c1a38012d80fb8005db6ee80001015329..."} 
[2026-08-11 07:30:39] local.INFO: Processing buffer {"connection_id":154743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8c1a38012d80fb8005db6ee80001015329..."} 
[2026-08-11 07:30:39] local.INFO: Packet analysis {"connection_id":154743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8c"} 
[2026-08-11 07:30:39] local.INFO: Extracted packet for processing {"connection_id":154743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8c"} 
[2026-08-11 07:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763427712,"raw_latitude":98266856,"longitude_deg":76.3427712,"latitude_deg":9.8266856,"altitude":1,"angle":339,"satellites":41,"speed":49,"hex_longitude":"2d80fb80","hex_latitude":"05db6ee8","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321876992001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117473347024977920,"note":"Value kept but may cause issues"} 
[2026-08-11 07:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149344092824920064,"note":"Value kept but may cause issues"} 
[2026-08-11 07:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786413587000,"timestamp_ms":1786413587000,"timestamp_seconds":1786413587,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8c1a38"} 
[2026-08-11 07:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:30: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-08-11 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-11 07:30: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-08-11 07: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-08-11 07:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321876992001,"66":13363,"154":206,"85":15104,"24":49,"16":117473347024977920,"45":-9149344092824920064},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-11 07:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321876992001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:30:39] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 07:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117473347024977920,"km_value":117473347024977.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149344092824920064,"description":"Unknown IO ID 45"} 
[2026-08-11 07:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321876992001,"power":13363,"unknown_154":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9149344092824920064}} 
[2026-08-11 07:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":154743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:30:39] local.INFO: GPS data processed {"connection_id":154743,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:30:39] local.INFO: Acknowledgment sent {"connection_id":154743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:30:53] local.INFO: TCP Data received {"connection_id":152006,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:30:53] local.INFO: Processing buffer {"connection_id":152006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:30:53] local.INFO: IMEI packet received {"connection_id":152006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":152006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:30:58] local.INFO: TCP Data received {"connection_id":152006,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:30:58] local.INFO: Processing buffer {"connection_id":152006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:30:58] local.INFO: IMEI packet received {"connection_id":152006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":152006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:30:59] local.INFO: TCP Data received {"connection_id":152006,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:30:59] local.INFO: Processing buffer {"connection_id":152006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:30:59] local.INFO: Packet analysis {"connection_id":152006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:30:59] local.INFO: Extracted packet for processing {"connection_id":152006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321755648001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786413409000,"timestamp_ms":1786413409000,"timestamp_seconds":1786413409,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8962e8"} 
[2026-08-11 07:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07: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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:30:59] 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-08-11 07: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-08-11 07:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:30:59] 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-08-11 07:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321755648001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321755648001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:30:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:30:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321755648001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":152006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:30:59] local.INFO: GPS data processed {"connection_id":152006,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:30:59] local.INFO: Acknowledgment sent {"connection_id":152006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:31:01] local.INFO: TCP Data received {"connection_id":153343,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:31:01] local.INFO: Processing buffer {"connection_id":153343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:31:01] local.INFO: IMEI packet received {"connection_id":153343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":153343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:31:07] local.INFO: TCP Data received {"connection_id":153343,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:31:07] local.INFO: Processing buffer {"connection_id":153343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:31:07] local.INFO: IMEI packet received {"connection_id":153343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":153343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:31:08] local.INFO: TCP Data received {"connection_id":153343,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8c3978012d80ee8005db92800002014e26..."} 
[2026-08-11 07:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8c3978012d80ee8005db92800002014e26..."} 
[2026-08-11 07:31:08] local.INFO: Processing buffer {"connection_id":153343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8c3978012d80ee8005db92800002014e26..."} 
[2026-08-11 07:31:08] local.INFO: Packet analysis {"connection_id":153343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8c"} 
[2026-08-11 07:31:08] local.INFO: Extracted packet for processing {"connection_id":153343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8c"} 
[2026-08-11 07:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763424384,"raw_latitude":98275968,"longitude_deg":76.3424384,"latitude_deg":9.8275968,"altitude":2,"angle":334,"satellites":38,"speed":45,"hex_longitude":"2d80ee80","hex_latitude":"05db9280","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321878272001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117473819471380480,"note":"Value kept but may cause issues"} 
[2026-08-11 07:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9152581055055730688,"note":"Value kept but may cause issues"} 
[2026-08-11 07:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786413595000,"timestamp_ms":1786413595000,"timestamp_seconds":1786413595,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8c3978"} 
[2026-08-11 07:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:31: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-08-11 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 07:31:08] 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-08-11 07: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-08-11 07:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321878272001,"66":13428,"154":206,"85":15104,"24":45,"16":117473819471380480,"45":-9152581055055730688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-11 07:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321878272001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:31:08] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 07:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117473819471380480,"km_value":117473819471380.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9152581055055730688,"description":"Unknown IO ID 45"} 
[2026-08-11 07:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321878272001,"power":13428,"unknown_154":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9152581055055730688}} 
[2026-08-11 07:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":153343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:31:08] local.INFO: GPS data processed {"connection_id":153343,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:31:08] local.INFO: Acknowledgment sent {"connection_id":153343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:31:30] local.INFO: TCP Data received {"connection_id":152006,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:31:30] local.INFO: Processing buffer {"connection_id":152006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:31:30] local.INFO: Packet analysis {"connection_id":152006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:31:30] local.INFO: Extracted packet for processing {"connection_id":152006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:31: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-08-11 07:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321755648001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786413409000,"timestamp_ms":1786413409000,"timestamp_seconds":1786413409,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8962e8"} 
[2026-08-11 07:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:31:30] 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-08-11 07:31: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:31:30] 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-08-11 07:31: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-08-11 07:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:31:30] 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-08-11 07:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321755648001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321755648001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:31:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:31:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321755648001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":152006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:31:30] local.INFO: GPS data processed {"connection_id":152006,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:31:30] local.INFO: Acknowledgment sent {"connection_id":152006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:31:39] local.INFO: TCP Data received {"connection_id":153343,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8d8580012d80660005dca7100006011927..."} 
[2026-08-11 07:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8d8580012d80660005dca7100006011927..."} 
[2026-08-11 07:31:39] local.INFO: Processing buffer {"connection_id":153343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8d8580012d80660005dca7100006011927..."} 
[2026-08-11 07:31:39] local.INFO: Packet analysis {"connection_id":153343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:31:39] local.INFO: Extracted packet for processing {"connection_id":153343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763389440,"raw_latitude":98346768,"longitude_deg":76.338944,"latitude_deg":9.8346768,"altitude":6,"angle":281,"satellites":39,"speed":19,"hex_longitude":"2d806600","hex_latitude":"05dca710","is_valid_coordinates":true} 
[2026-08-11 07:31: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-08-11 07:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321901568001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117477667762077696,"note":"Value kept but may cause issues"} 
[2026-08-11 07:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193746770379302912,"note":"Value kept but may cause issues"} 
[2026-08-11 07:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786413680000,"timestamp_ms":1786413680000,"timestamp_seconds":1786413680,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8d8580"} 
[2026-08-11 07:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:31: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-08-11 07:31: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":84,"data_length":795,"current_offset":136} 
[2026-08-11 07:31:39] 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-08-11 07:31: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-08-11 07:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321901568001,"66":13363,"251":206,"85":15104,"24":19,"16":117477667762077696,"45":-9193746770379302912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-11 07:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321901568001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:31:39] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-11 07:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117477667762077696,"km_value":117477667762077.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193746770379302912,"description":"Unknown IO ID 45"} 
[2026-08-11 07:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321901568001,"power":13363,"unknown_251":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9193746770379302912}} 
[2026-08-11 07:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":153343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:31:39] local.INFO: GPS data processed {"connection_id":153343,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:31:39] local.INFO: Acknowledgment sent {"connection_id":153343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:31:53] local.INFO: TCP Data received {"connection_id":152007,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:31:53] local.INFO: Processing buffer {"connection_id":152007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:31:53] local.INFO: IMEI packet received {"connection_id":152007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":152007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:31:58] local.INFO: TCP Data received {"connection_id":152007,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:31:58] local.INFO: Processing buffer {"connection_id":152007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:31:58] local.INFO: IMEI packet received {"connection_id":152007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":152007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:32:04] local.INFO: TCP Data received {"connection_id":152007,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:32:04] local.INFO: Processing buffer {"connection_id":152007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8962e8012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:32:04] local.INFO: Packet analysis {"connection_id":152007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:32:04] local.INFO: Extracted packet for processing {"connection_id":152007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee89"} 
[2026-08-11 07:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321755648001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786413409000,"timestamp_ms":1786413409000,"timestamp_seconds":1786413409,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8962e8"} 
[2026-08-11 07:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:32:04] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:32:04] 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-08-11 07: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-08-11 07:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:32:04] 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-08-11 07:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321755648001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321755648001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:32:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:32:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321755648001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":152007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:32:04] local.INFO: GPS data processed {"connection_id":152007,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:32:04] local.INFO: Acknowledgment sent {"connection_id":152007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:32:05] local.INFO: TCP Data received {"connection_id":153344,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:32:05] local.INFO: Processing buffer {"connection_id":153344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:32:05] local.INFO: IMEI packet received {"connection_id":153344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":153344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:32:07] local.INFO: TCP Data received {"connection_id":153344,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:32:07] local.INFO: Processing buffer {"connection_id":153344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:32:07] local.INFO: IMEI packet received {"connection_id":153344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":153344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:32:12] local.INFO: TCP Data received {"connection_id":153344,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:32:12] local.INFO: Processing buffer {"connection_id":153344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:32:12] local.INFO: IMEI packet received {"connection_id":153344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":153344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:32:12] local.INFO: TCP Data received {"connection_id":153344,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8d8968012d80640005dca7300007010a28..."} 
[2026-08-11 07:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8d8968012d80640005dca7300007010a28..."} 
[2026-08-11 07:32:12] local.INFO: Processing buffer {"connection_id":153344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8d8968012d80640005dca7300007010a28..."} 
[2026-08-11 07:32:12] local.INFO: Packet analysis {"connection_id":153344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:32:12] local.INFO: Extracted packet for processing {"connection_id":153344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:32:12] local.INFO: GPS Element Parsed {"raw_longitude":763388928,"raw_latitude":98346800,"longitude_deg":76.3388928,"latitude_deg":9.83468,"altitude":7,"angle":266,"satellites":40,"speed":21,"hex_longitude":"2d806400","hex_latitude":"05dca730","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321902080001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117477693531881472,"note":"Value kept but may cause issues"} 
[2026-08-11 07:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194661564053516288,"note":"Value kept but may cause issues"} 
[2026-08-11 07:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786413681000,"timestamp_ms":1786413681000,"timestamp_seconds":1786413681,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8d8968"} 
[2026-08-11 07:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:32: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-08-11 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 07:32:12] 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-08-11 07: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-08-11 07:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321902080001,"66":13341,"251":206,"85":15104,"24":21,"16":117477693531881472,"45":-9194661564053516288},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-11 07:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321902080001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:32:12] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-11 07:32:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117477693531881472,"km_value":117477693531881.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194661564053516288,"description":"Unknown IO ID 45"} 
[2026-08-11 07:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321902080001,"power":13341,"unknown_251":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9194661564053516288}} 
[2026-08-11 07:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":153344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:32:13] local.INFO: GPS data processed {"connection_id":153344,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:32:13] local.INFO: Acknowledgment sent {"connection_id":153344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:32:17] local.INFO: TCP Data received {"connection_id":153344,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8dbc30012d803fc005dca0580006010129..."} 
[2026-08-11 07:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8dbc30012d803fc005dca0580006010129..."} 
[2026-08-11 07:32:17] local.INFO: Processing buffer {"connection_id":153344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8dbc30012d803fc005dca0580006010129..."} 
[2026-08-11 07:32:17] local.INFO: Packet analysis {"connection_id":153344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:32:17] local.INFO: Extracted packet for processing {"connection_id":153344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:32:17] local.INFO: GPS Element Parsed {"raw_longitude":763379648,"raw_latitude":98345048,"longitude_deg":76.3379648,"latitude_deg":9.8345048,"altitude":6,"angle":257,"satellites":41,"speed":35,"hex_longitude":"2d803fc0","hex_latitude":"05dca058","is_valid_coordinates":true} 
[2026-08-11 07:32: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-08-11 07:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321902336001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117478144503447552,"note":"Value kept but may cause issues"} 
[2026-08-11 07:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195224514006929408,"note":"Value kept but may cause issues"} 
[2026-08-11 07:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786413694000,"timestamp_ms":1786413694000,"timestamp_seconds":1786413694,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8dbc30"} 
[2026-08-11 07:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:32: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-08-11 07:32: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":29,"data_length":795,"current_offset":136} 
[2026-08-11 07:32:17] 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-08-11 07:32: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-08-11 07:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321902336001,"66":13363,"251":206,"85":15104,"24":35,"16":117478144503447552,"45":-9195224514006929408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-11 07:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321902336001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:32:17] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-11 07:32:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117478144503447552,"km_value":117478144503447.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195224514006929408,"description":"Unknown IO ID 45"} 
[2026-08-11 07:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321902336001,"power":13363,"unknown_251":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9195224514006929408}} 
[2026-08-11 07:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":153344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:32:17] local.INFO: GPS data processed {"connection_id":153344,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:32:17] local.INFO: Acknowledgment sent {"connection_id":153344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:32:35] local.INFO: TCP Data received {"connection_id":152007,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:32:35] local.INFO: Processing buffer {"connection_id":152007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:32:35] local.INFO: Packet analysis {"connection_id":152007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:32:35] local.INFO: Extracted packet for processing {"connection_id":152007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:32:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":44,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321832704001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786413710000,"timestamp_ms":1786413710000,"timestamp_seconds":1786413710,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8dfab0"} 
[2026-08-11 07:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:32:35] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:32:35] 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-08-11 07: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-08-11 07:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:32:35] 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-08-11 07:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321832704001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321832704001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:32:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:32:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321832704001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":152007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:32:35] local.INFO: GPS data processed {"connection_id":152007,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:32:35] local.INFO: Acknowledgment sent {"connection_id":152007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:32:53] local.INFO: TCP Data received {"connection_id":154744,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:32:53] local.INFO: Processing buffer {"connection_id":154744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:32:53] local.INFO: IMEI packet received {"connection_id":154744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":154744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:32:58] local.INFO: TCP Data received {"connection_id":154744,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:32:58] local.INFO: Processing buffer {"connection_id":154744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:32:58] local.INFO: IMEI packet received {"connection_id":154744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":154744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:32:59] local.INFO: TCP Data received {"connection_id":154744,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:32:59] local.INFO: Processing buffer {"connection_id":154744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:32:59] local.INFO: Packet analysis {"connection_id":154744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:32:59] local.INFO: Extracted packet for processing {"connection_id":154744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:32:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":44,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321832704001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786413710000,"timestamp_ms":1786413710000,"timestamp_seconds":1786413710,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8dfab0"} 
[2026-08-11 07:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:32: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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:32:59] 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-08-11 07: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-08-11 07:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:32:59] 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-08-11 07:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321832704001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321832704001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:32:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:32:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321832704001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":154744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:32:59] local.INFO: GPS data processed {"connection_id":154744,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:32:59] local.INFO: Acknowledgment sent {"connection_id":154744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:33:16] local.INFO: TCP Data received {"connection_id":152008,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:33:16] local.INFO: Processing buffer {"connection_id":152008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:33:16] local.INFO: IMEI packet received {"connection_id":152008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":152008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:33:17] local.INFO: TCP Data received {"connection_id":152008,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:33:17] local.INFO: Processing buffer {"connection_id":152008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:33:17] local.INFO: IMEI packet received {"connection_id":152008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":152008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:33:18] local.INFO: TCP Data received {"connection_id":152008,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:33:18] local.INFO: Processing buffer {"connection_id":152008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:33:18] local.INFO: IMEI packet received {"connection_id":152008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":152008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:33:21] local.INFO: TCP Data received {"connection_id":152008,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:33:21] local.INFO: Processing buffer {"connection_id":152008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:33:21] local.INFO: IMEI packet received {"connection_id":152008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":152008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:33:24] local.INFO: TCP Data received {"connection_id":152008,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8ed188012d7f810005dcc6a80005013a25..."} 
[2026-08-11 07:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8ed188012d7f810005dcc6a80005013a25..."} 
[2026-08-11 07:33:24] local.INFO: Processing buffer {"connection_id":152008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8ed188012d7f810005dcc6a80005013a25..."} 
[2026-08-11 07:33:24] local.INFO: Packet analysis {"connection_id":152008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8e"} 
[2026-08-11 07:33:24] local.INFO: Extracted packet for processing {"connection_id":152008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8e"} 
[2026-08-11 07:33:24] local.INFO: GPS Element Parsed {"raw_longitude":763330816,"raw_latitude":98354856,"longitude_deg":76.3330816,"latitude_deg":9.8354856,"altitude":5,"angle":314,"satellites":37,"speed":34,"hex_longitude":"2d7f8100","hex_latitude":"05dcc6a8","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321923328001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117481129505718272,"note":"Value kept but may cause issues"} 
[2026-08-11 07:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188891377386221568,"note":"Value kept but may cause issues"} 
[2026-08-11 07:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786413765000,"timestamp_ms":1786413765000,"timestamp_seconds":1786413765,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8ed188"} 
[2026-08-11 07:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:33: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-08-11 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 07:33:24] 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-08-11 07: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-08-11 07:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321923328001,"66":13319,"251":206,"85":15104,"24":34,"16":117481129505718272,"45":9188891377386221568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-11 07:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321923328001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:33:24] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-11 07:33:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117481129505718272,"km_value":117481129505718.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188891377386221568,"description":"Unknown IO ID 45"} 
[2026-08-11 07:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321923328001,"power":13319,"unknown_251":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9188891377386221568}} 
[2026-08-11 07:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":152008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:33:24] local.INFO: GPS data processed {"connection_id":152008,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:33:24] local.INFO: Acknowledgment sent {"connection_id":152008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:33:30] local.INFO: TCP Data received {"connection_id":154744,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:33:30] local.INFO: Processing buffer {"connection_id":154744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:33:30] local.INFO: Packet analysis {"connection_id":154744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:33:30] local.INFO: Extracted packet for processing {"connection_id":154744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:33:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":44,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:33: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-08-11 07:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321832704001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786413710000,"timestamp_ms":1786413710000,"timestamp_seconds":1786413710,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8dfab0"} 
[2026-08-11 07:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:33:30] 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-08-11 07:33: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:33:30] 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-08-11 07:33: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-08-11 07:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:33:30] 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-08-11 07:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321832704001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321832704001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:33:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:33:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321832704001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":154744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:33:30] local.INFO: GPS data processed {"connection_id":154744,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:33:30] local.INFO: Acknowledgment sent {"connection_id":154744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:33:53] local.INFO: TCP Data received {"connection_id":154745,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:33:53] local.INFO: Processing buffer {"connection_id":154745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:33:53] local.INFO: IMEI packet received {"connection_id":154745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":154745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:33:58] local.INFO: TCP Data received {"connection_id":154745,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:33:58] local.INFO: Processing buffer {"connection_id":154745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:33:58] local.INFO: IMEI packet received {"connection_id":154745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":154745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:34:02] local.INFO: TCP Data received {"connection_id":154745,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:34:02] local.INFO: Processing buffer {"connection_id":154745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:34:02] local.INFO: Packet analysis {"connection_id":154745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:34:02] local.INFO: Extracted packet for processing {"connection_id":154745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":44,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:34: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-08-11 07:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321832704001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786413710000,"timestamp_ms":1786413710000,"timestamp_seconds":1786413710,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8dfab0"} 
[2026-08-11 07:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:34:02] 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-08-11 07:34: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:34:02] 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-08-11 07:34: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-08-11 07:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":154745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":154745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":154745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:34: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-08-11 07:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321832704001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321832704001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:34:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:34:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321832704001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":154745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:34:02] local.INFO: GPS data processed {"connection_id":154745,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:34:02] local.INFO: Acknowledgment sent {"connection_id":154745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:34:21] local.INFO: TCP Data received {"connection_id":153345,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:34:21] local.INFO: Processing buffer {"connection_id":153345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:34:21] local.INFO: IMEI packet received {"connection_id":153345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":153345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:34:21] local.INFO: TCP Data received {"connection_id":153345,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:34:21] local.INFO: Processing buffer {"connection_id":153345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:34:21] local.INFO: IMEI packet received {"connection_id":153345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":153345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:34:27] local.INFO: TCP Data received {"connection_id":153345,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:34:27] local.INFO: Processing buffer {"connection_id":153345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:34:27] local.INFO: IMEI packet received {"connection_id":153345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":153345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:34:28] local.INFO: TCP Data received {"connection_id":153345,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8fe2f8012d7f2e4005ddc7380000014c27..."} 
[2026-08-11 07:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8fe2f8012d7f2e4005ddc7380000014c27..."} 
[2026-08-11 07:34:28] local.INFO: Processing buffer {"connection_id":153345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8fe2f8012d7f2e4005ddc7380000014c27..."} 
[2026-08-11 07:34:28] local.INFO: Packet analysis {"connection_id":153345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8f"} 
[2026-08-11 07:34:28] local.INFO: Extracted packet for processing {"connection_id":153345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8f"} 
[2026-08-11 07:34:28] local.INFO: GPS Element Parsed {"raw_longitude":763309632,"raw_latitude":98420536,"longitude_deg":76.3309632,"latitude_deg":9.8420536,"altitude":0,"angle":332,"satellites":39,"speed":44,"hex_longitude":"2d7f2e40","hex_latitude":"05ddc738","is_valid_coordinates":true} 
[2026-08-11 07:34: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-08-11 07:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321939968001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117484535414784000,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167428910427328512,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786413835000,"timestamp_ms":1786413835000,"timestamp_seconds":1786413835,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8fe2f8"} 
[2026-08-11 07:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:34: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-08-11 07:34: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":3,"data_length":795,"current_offset":136} 
[2026-08-11 07:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303171753790825,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4002361160,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3489738111,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3708721152,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:28] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2404288513,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:28] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2147867933,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:28] local.WARNING: Large IO value detected {"io_id":53,"raw_value":58077557095399461,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:28] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,111,85,24,241,157,16,99,159,168,45,137,3,39,10,66,98,144,128,109,5,113,64,1,240,7,227,238,221,4,205,35,82,37,239,52,2,161,53],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[]} 
[2026-08-11 07:34:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":379486133223424,"timestamp_seconds":379486133223.424,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 07:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321939968001,"66":13493,"111":206,"85":15104,"24":44,"16":117484535414784000,"45":9167428910427328512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-11 07:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321939968001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:34:28] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 07:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117484535414784000,"km_value":117484535414784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167428910427328512,"description":"Unknown IO ID 45"} 
[2026-08-11 07:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321939968001,"power":13493,"unknown_111":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9167428910427328512}} 
[2026-08-11 07:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":153345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:34:28] local.INFO: GPS data processed {"connection_id":153345,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:34:28] local.INFO: Acknowledgment sent {"connection_id":153345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:34:33] local.INFO: TCP Data received {"connection_id":154745,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:34:33] local.INFO: Processing buffer {"connection_id":154745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:34:33] local.INFO: Packet analysis {"connection_id":154745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:34:33] local.INFO: Extracted packet for processing {"connection_id":154745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":44,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:34: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-08-11 07:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321832704001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786413710000,"timestamp_ms":1786413710000,"timestamp_seconds":1786413710,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8dfab0"} 
[2026-08-11 07:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:34:33] 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-08-11 07:34: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:34:33] 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-08-11 07:34: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-08-11 07:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":154745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":154745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":154745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:34: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-08-11 07:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321832704001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321832704001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:34:33] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:34:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321832704001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":154745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:34:33] local.INFO: GPS data processed {"connection_id":154745,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:34:33] local.INFO: Acknowledgment sent {"connection_id":154745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:34:58] local.INFO: TCP Data received {"connection_id":154746,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:34:58] local.INFO: Processing buffer {"connection_id":154746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:34:58] local.INFO: IMEI packet received {"connection_id":154746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":154746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:35:02] local.INFO: TCP Data received {"connection_id":152404,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:35:02] local.INFO: Processing buffer {"connection_id":152404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:35:02] local.INFO: IMEI packet received {"connection_id":152404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":152404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:35:02] local.INFO: TCP Data received {"connection_id":152404,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:35:02] local.INFO: Processing buffer {"connection_id":152404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:35:02] local.INFO: IMEI packet received {"connection_id":152404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":152404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:35:03] local.INFO: TCP Data received {"connection_id":154746,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:35:03] local.INFO: Processing buffer {"connection_id":154746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:35:03] local.INFO: IMEI packet received {"connection_id":154746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":154746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:35:03] local.INFO: TCP Data received {"connection_id":152404,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:35:03] local.INFO: Processing buffer {"connection_id":152404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:35:03] local.INFO: IMEI packet received {"connection_id":152404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":152404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:35:04] local.INFO: TCP Data received {"connection_id":152404,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee900238012d7f1a4005dde4b80000014b28..."} 
[2026-08-11 07:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee900238012d7f1a4005dde4b80000014b28..."} 
[2026-08-11 07:35:04] local.INFO: Processing buffer {"connection_id":152404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee900238012d7f1a4005dde4b80000014b28..."} 
[2026-08-11 07:35:04] local.INFO: Packet analysis {"connection_id":152404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee90"} 
[2026-08-11 07:35:04] local.INFO: Extracted packet for processing {"connection_id":152404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee90"} 
[2026-08-11 07:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763304512,"raw_latitude":98428088,"longitude_deg":76.3304512,"latitude_deg":9.8428088,"altitude":0,"angle":331,"satellites":40,"speed":44,"hex_longitude":"2d7f1a40","hex_latitude":"05dde4b8","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321941760001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117484977796415488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164332685685372928,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786413843000,"timestamp_ms":1786413843000,"timestamp_seconds":1786413843,"priority":1,"record_length":96,"hex_timestamp":"0000019fee900238"} 
[2026-08-11 07:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:35: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-08-11 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 07:35:04] 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-08-11 07: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-08-11 07:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321941760001,"66":13515,"111":206,"85":15104,"24":44,"16":117484977796415488,"45":9164332685685372928},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-11 07:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321941760001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:35:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 07:35:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117484977796415488,"km_value":117484977796415.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164332685685372928,"description":"Unknown IO ID 45"} 
[2026-08-11 07:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321941760001,"power":13515,"unknown_111":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9164332685685372928}} 
[2026-08-11 07:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":152404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:35:04] local.INFO: GPS data processed {"connection_id":152404,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:35:04] local.INFO: Acknowledgment sent {"connection_id":152404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:35:04] local.INFO: TCP Data received {"connection_id":154746,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:35:04] local.INFO: Processing buffer {"connection_id":154746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:35:04] local.INFO: Packet analysis {"connection_id":154746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:35:04] local.INFO: Extracted packet for processing {"connection_id":154746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":44,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321832704001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786413710000,"timestamp_ms":1786413710000,"timestamp_seconds":1786413710,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8dfab0"} 
[2026-08-11 07:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:35:04] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:35:04] 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-08-11 07: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-08-11 07:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:35:04] 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-08-11 07:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321832704001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321832704001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:35:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:35:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321832704001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":154746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:35:04] local.INFO: GPS data processed {"connection_id":154746,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:35:04] local.INFO: Acknowledgment sent {"connection_id":154746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:35:07] local.INFO: TCP Data received {"connection_id":152404,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee902560012d7f0bc005de08400001015329..."} 
[2026-08-11 07:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee902560012d7f0bc005de08400001015329..."} 
[2026-08-11 07:35:07] local.INFO: Processing buffer {"connection_id":152404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee902560012d7f0bc005de08400001015329..."} 
[2026-08-11 07:35:07] local.INFO: Packet analysis {"connection_id":152404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee90"} 
[2026-08-11 07:35:07] local.INFO: Extracted packet for processing {"connection_id":152404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee90"} 
[2026-08-11 07:35:07] local.INFO: GPS Element Parsed {"raw_longitude":763300800,"raw_latitude":98437184,"longitude_deg":76.33008,"latitude_deg":9.8437184,"altitude":1,"angle":339,"satellites":41,"speed":46,"hex_longitude":"2d7f0bc0","hex_latitude":"05de0840","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321943808001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117485454537785344,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158703186153093120,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786413852000,"timestamp_ms":1786413852000,"timestamp_seconds":1786413852,"priority":1,"record_length":96,"hex_timestamp":"0000019fee902560"} 
[2026-08-11 07:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:35:07] 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-08-11 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-11 07:35:07] 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-08-11 07: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-08-11 07:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321943808001,"66":13080,"111":206,"85":15104,"24":46,"16":117485454537785344,"45":9158703186153093120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-11 07:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321943808001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:35:07] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 07:35:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117485454537785344,"km_value":117485454537785.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158703186153093120,"description":"Unknown IO ID 45"} 
[2026-08-11 07:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321943808001,"power":13080,"unknown_111":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9158703186153093120}} 
[2026-08-11 07:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":152404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:35:07] local.INFO: GPS data processed {"connection_id":152404,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:35:07] local.INFO: Acknowledgment sent {"connection_id":152404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:35:13] local.INFO: TCP Data received {"connection_id":154746,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:35:13] local.INFO: Processing buffer {"connection_id":154746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:35:13] local.INFO: Packet analysis {"connection_id":154746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:35:13] local.INFO: Extracted packet for processing {"connection_id":154746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":44,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:35: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-08-11 07:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321832704001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786413710000,"timestamp_ms":1786413710000,"timestamp_seconds":1786413710,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8dfab0"} 
[2026-08-11 07:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:35:13] 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-08-11 07:35: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:35:13] 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-08-11 07:35: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-08-11 07:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:35:13] 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-08-11 07:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321832704001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321832704001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:35:13] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:35:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321832704001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":154746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:35:13] local.INFO: GPS data processed {"connection_id":154746,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:35:13] local.INFO: Acknowledgment sent {"connection_id":154746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:35:39] local.INFO: TCP Data received {"connection_id":152404,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9040b8012d7efe0005de28d00002015528..."} 
[2026-08-11 07:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9040b8012d7efe0005de28d00002015528..."} 
[2026-08-11 07:35:39] local.INFO: Processing buffer {"connection_id":152404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9040b8012d7efe0005de28d00002015528..."} 
[2026-08-11 07:35:39] local.INFO: Packet analysis {"connection_id":152404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee90"} 
[2026-08-11 07:35:39] local.INFO: Extracted packet for processing {"connection_id":152404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee90"} 
[2026-08-11 07:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763297280,"raw_latitude":98445520,"longitude_deg":76.329728,"latitude_deg":9.844552,"altitude":2,"angle":341,"satellites":40,"speed":52,"hex_longitude":"2d7efe00","hex_latitude":"05de28d0","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321946112001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117485892624449536,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154621798993117184,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786413859000,"timestamp_ms":1786413859000,"timestamp_seconds":1786413859,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9040b8"} 
[2026-08-11 07:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:35: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-08-11 07: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-11 07:35:39] 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-08-11 07: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-08-11 07:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321946112001,"66":13461,"101":206,"85":15104,"24":52,"16":117485892624449536,"45":9154621798993117184},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-08-11 07:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321946112001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:35:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 07:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117485892624449536,"km_value":117485892624449.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154621798993117184,"description":"Unknown IO ID 45"} 
[2026-08-11 07:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321946112001,"power":13461,"unknown_101":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9154621798993117184}} 
[2026-08-11 07:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":152404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:35:39] local.INFO: GPS data processed {"connection_id":152404,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:35:39] local.INFO: Acknowledgment sent {"connection_id":152404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:35:53] local.INFO: TCP Data received {"connection_id":152009,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:35:53] local.INFO: Processing buffer {"connection_id":152009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:35:53] local.INFO: IMEI packet received {"connection_id":152009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":152009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:35:58] local.INFO: TCP Data received {"connection_id":152009,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:35:58] local.INFO: Processing buffer {"connection_id":152009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:35:58] local.INFO: IMEI packet received {"connection_id":152009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":152009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:35:59] local.INFO: TCP Data received {"connection_id":152009,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:35:59] local.INFO: Processing buffer {"connection_id":152009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:35:59] local.INFO: Packet analysis {"connection_id":152009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:35:59] local.INFO: Extracted packet for processing {"connection_id":152009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":44,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321832704001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786413710000,"timestamp_ms":1786413710000,"timestamp_seconds":1786413710,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8dfab0"} 
[2026-08-11 07:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:35: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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:35:59] 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-08-11 07: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-08-11 07:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:35:59] 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-08-11 07:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321832704001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321832704001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:35:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:35:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321832704001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":152009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:35:59] local.INFO: GPS data processed {"connection_id":152009,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:35:59] local.INFO: Acknowledgment sent {"connection_id":152009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:36:01] local.INFO: TCP Data received {"connection_id":152405,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:36:01] local.INFO: Processing buffer {"connection_id":152405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:36:01] local.INFO: IMEI packet received {"connection_id":152405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":152405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:36:05] local.INFO: TCP Data received {"connection_id":152405,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:36:05] local.INFO: Processing buffer {"connection_id":152405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:36:05] local.INFO: IMEI packet received {"connection_id":152405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":152405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:36:05] local.INFO: TCP Data received {"connection_id":152405,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9161c8012d7e88c005df5e280005015529..."} 
[2026-08-11 07:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9161c8012d7e88c005df5e280005015529..."} 
[2026-08-11 07:36:05] local.INFO: Processing buffer {"connection_id":152405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9161c8012d7e88c005df5e280005015529..."} 
[2026-08-11 07:36:05] local.INFO: Packet analysis {"connection_id":152405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee91"} 
[2026-08-11 07:36:05] local.INFO: Extracted packet for processing {"connection_id":152405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee91"} 
[2026-08-11 07:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763267264,"raw_latitude":98524712,"longitude_deg":76.3267264,"latitude_deg":9.8524712,"altitude":5,"angle":341,"satellites":41,"speed":51,"hex_longitude":"2d7e88c0","hex_latitude":"05df5e28","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321964800001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117490063037693952,"note":"Value kept but may cause issues"} 
[2026-08-11 07:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121055908040601600,"note":"Value kept but may cause issues"} 
[2026-08-11 07:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786413933000,"timestamp_ms":1786413933000,"timestamp_seconds":1786413933,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9161c8"} 
[2026-08-11 07:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:36: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-08-11 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 07:36:05] 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-08-11 07: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-08-11 07:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321964800001,"66":13493,"206":206,"85":15104,"24":51,"16":117490063037693952,"45":9121055908040601600},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-11 07:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321964800001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:36:05] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-11 07:36:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117490063037693952,"km_value":117490063037693.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121055908040601600,"description":"Unknown IO ID 45"} 
[2026-08-11 07:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321964800001,"power":13493,"unknown_206":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9121055908040601600}} 
[2026-08-11 07:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":152405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:36:06] local.INFO: GPS data processed {"connection_id":152405,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:36:06] local.INFO: Acknowledgment sent {"connection_id":152405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:36:30] local.INFO: TCP Data received {"connection_id":152009,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:36:30] local.INFO: Processing buffer {"connection_id":152009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:36:30] local.INFO: Packet analysis {"connection_id":152009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:36:30] local.INFO: Extracted packet for processing {"connection_id":152009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:36:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":44,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:36: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-08-11 07:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321832704001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786413710000,"timestamp_ms":1786413710000,"timestamp_seconds":1786413710,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8dfab0"} 
[2026-08-11 07:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:36:30] 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-08-11 07:36: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:36:30] 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-08-11 07:36: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-08-11 07:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:36:30] 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-08-11 07:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321832704001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321832704001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:36:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:36:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321832704001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":152009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:36:30] local.INFO: GPS data processed {"connection_id":152009,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:36:30] local.INFO: Acknowledgment sent {"connection_id":152009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:36:36] local.INFO: TCP Data received {"connection_id":152405,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee917d20012d7e7d4005df7f900004015328..."} 
[2026-08-11 07:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee917d20012d7e7d4005df7f900004015328..."} 
[2026-08-11 07:36:36] local.INFO: Processing buffer {"connection_id":152405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee917d20012d7e7d4005df7f900004015328..."} 
[2026-08-11 07:36:36] local.INFO: Packet analysis {"connection_id":152405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee91"} 
[2026-08-11 07:36:36] local.INFO: Extracted packet for processing {"connection_id":152405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee91"} 
[2026-08-11 07:36:36] local.INFO: GPS Element Parsed {"raw_longitude":763264320,"raw_latitude":98533264,"longitude_deg":76.326432,"latitude_deg":9.8533264,"altitude":4,"angle":339,"satellites":40,"speed":48,"hex_longitude":"2d7e7d40","hex_latitude":"05df7f90","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321966848001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117490501124358144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117748577066428416,"note":"Value kept but may cause issues"} 
[2026-08-11 07:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786413940000,"timestamp_ms":1786413940000,"timestamp_seconds":1786413940,"priority":1,"record_length":96,"hex_timestamp":"0000019fee917d20"} 
[2026-08-11 07:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:36: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-08-11 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 07:36:36] 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-08-11 07: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-08-11 07:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321966848001,"66":12363,"206":206,"85":15104,"24":48,"16":117490501124358144,"45":9117748577066428416},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-11 07:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321966848001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:36:36] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-11 07:36:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117490501124358144,"km_value":117490501124358.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117748577066428416,"description":"Unknown IO ID 45"} 
[2026-08-11 07:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321966848001,"power":12363,"unknown_206":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9117748577066428416}} 
[2026-08-11 07:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":152405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:36:36] local.INFO: GPS data processed {"connection_id":152405,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:36:36] local.INFO: Acknowledgment sent {"connection_id":152405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:36:53] local.INFO: TCP Data received {"connection_id":153346,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:36:53] local.INFO: Processing buffer {"connection_id":153346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:36:53] local.INFO: IMEI packet received {"connection_id":153346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":153346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:36:58] local.INFO: TCP Data received {"connection_id":153346,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:36:58] local.INFO: Processing buffer {"connection_id":153346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:36:58] local.INFO: IMEI packet received {"connection_id":153346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":153346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:36:59] local.INFO: TCP Data received {"connection_id":153346,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:36:59] local.INFO: Processing buffer {"connection_id":153346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee8dfab0012d840d40061d6f20000c006f2c..."} 
[2026-08-11 07:36:59] local.INFO: Packet analysis {"connection_id":153346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:36:59] local.INFO: Extracted packet for processing {"connection_id":153346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee8d"} 
[2026-08-11 07:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":44,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321832704001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786413710000,"timestamp_ms":1786413710000,"timestamp_seconds":1786413710,"priority":1,"record_length":96,"hex_timestamp":"0000019fee8dfab0"} 
[2026-08-11 07:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:36: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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:36:59] 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-08-11 07: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-08-11 07:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:36:59] 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-08-11 07:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321832704001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321832704001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:36:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:36:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321832704001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":153346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:36:59] local.INFO: GPS data processed {"connection_id":153346,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:36:59] local.INFO: Acknowledgment sent {"connection_id":153346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:36:59] local.INFO: TCP Data received {"connection_id":152010,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:36:59] local.INFO: Processing buffer {"connection_id":152010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:36:59] local.INFO: IMEI packet received {"connection_id":152010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":152010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:37:01] local.INFO: TCP Data received {"connection_id":152010,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:37:01] local.INFO: Processing buffer {"connection_id":152010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:37:01] local.INFO: IMEI packet received {"connection_id":152010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":152010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:37:07] local.INFO: TCP Data received {"connection_id":152010,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:37:07] local.INFO: Processing buffer {"connection_id":152010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:37:07] local.INFO: IMEI packet received {"connection_id":152010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":152010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:37:08] local.INFO: TCP Data received {"connection_id":152010,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee919c60012d7e720005dfa3800003015428..."} 
[2026-08-11 07:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee919c60012d7e720005dfa3800003015428..."} 
[2026-08-11 07:37:08] local.INFO: Processing buffer {"connection_id":152010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee919c60012d7e720005dfa3800003015428..."} 
[2026-08-11 07:37:08] local.INFO: Packet analysis {"connection_id":152010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee91"} 
[2026-08-11 07:37:08] local.INFO: Extracted packet for processing {"connection_id":152010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee91"} 
[2026-08-11 07:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763261440,"raw_latitude":98542464,"longitude_deg":76.326144,"latitude_deg":9.8542464,"altitude":3,"angle":340,"satellites":40,"speed":48,"hex_longitude":"2d7e7200","hex_latitude":"05dfa380","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321968640001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117490964980826112,"note":"Value kept but may cause issues"} 
[2026-08-11 07:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114511614836445184,"note":"Value kept but may cause issues"} 
[2026-08-11 07:37:08] 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-08-11 07:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786413948000,"timestamp_ms":1786413948000,"timestamp_seconds":1786413948,"priority":1,"record_length":96,"hex_timestamp":"0000019fee919c60"} 
[2026-08-11 07:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:37:08] 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-08-11 07: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-11 07:37:08] 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-08-11 07: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-08-11 07:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321968640001,"66":13135,"104":206,"85":15104,"24":48,"16":117490964980826112,"45":9114511614836445184},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-11 07:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321968640001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:37:08] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-11 07:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117490964980826112,"km_value":117490964980826.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114511614836445184,"description":"Unknown IO ID 45"} 
[2026-08-11 07:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321968640001,"power":13135,"unknown_104":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9114511614836445184}} 
[2026-08-11 07:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":152010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:37:08] local.INFO: GPS data processed {"connection_id":152010,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:37:08] local.INFO: Acknowledgment sent {"connection_id":152010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:37:30] local.INFO: TCP Data received {"connection_id":153346,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:37:30] local.INFO: Processing buffer {"connection_id":153346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:37:30] local.INFO: Packet analysis {"connection_id":153346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:37:30] local.INFO: Extracted packet for processing {"connection_id":153346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321909760001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786414011000,"timestamp_ms":1786414011000,"timestamp_seconds":1786414011,"priority":1,"record_length":96,"hex_timestamp":"0000019fee929278"} 
[2026-08-11 07:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:37:30] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:37:30] 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-08-11 07: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-08-11 07:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:37:30] 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-08-11 07:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321909760001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321909760001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:37:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:37:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321909760001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":153346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:37:30] local.INFO: GPS data processed {"connection_id":153346,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:37:30] local.INFO: Acknowledgment sent {"connection_id":153346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:37:39] local.INFO: TCP Data received {"connection_id":152010,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9303c0012d7e0f8005e0c8c80007015728..."} 
[2026-08-11 07:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9303c0012d7e0f8005e0c8c80007015728..."} 
[2026-08-11 07:37:39] local.INFO: Processing buffer {"connection_id":152010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9303c0012d7e0f8005e0c8c80007015728..."} 
[2026-08-11 07:37:39] local.INFO: Packet analysis {"connection_id":152010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee93"} 
[2026-08-11 07:37:39] local.INFO: Extracted packet for processing {"connection_id":152010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee93"} 
[2026-08-11 07:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763236224,"raw_latitude":98617544,"longitude_deg":76.3236224,"latitude_deg":9.8617544,"altitude":7,"angle":343,"satellites":40,"speed":23,"hex_longitude":"2d7e0f80","hex_latitude":"05e0c8c8","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321993728001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117494912055771136,"note":"Value kept but may cause issues"} 
[2026-08-11 07:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084112317372960768,"note":"Value kept but may cause issues"} 
[2026-08-11 07:37:39] 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-08-11 07:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786414040000,"timestamp_ms":1786414040000,"timestamp_seconds":1786414040,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9303c0"} 
[2026-08-11 07:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:37: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-08-11 07: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 07:37:39] 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-08-11 07: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-08-11 07:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321993728001,"66":13222,"104":206,"85":15104,"24":23,"16":117494912055771136,"45":9084112317372960768},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-11 07:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321993728001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:37:39] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-11 07:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117494912055771136,"km_value":117494912055771.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084112317372960768,"description":"Unknown IO ID 45"} 
[2026-08-11 07:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321993728001,"power":13222,"unknown_104":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9084112317372960768}} 
[2026-08-11 07:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":152010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:37:39] local.INFO: GPS data processed {"connection_id":152010,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:37:39] local.INFO: Acknowledgment sent {"connection_id":152010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:37:53] local.INFO: TCP Data received {"connection_id":153347,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:37:53] local.INFO: Processing buffer {"connection_id":153347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:37:53] local.INFO: IMEI packet received {"connection_id":153347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":153347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:37:58] local.INFO: TCP Data received {"connection_id":153347,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:37:58] local.INFO: Processing buffer {"connection_id":153347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:37:58] local.INFO: IMEI packet received {"connection_id":153347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":153347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:37:59] local.INFO: TCP Data received {"connection_id":153347,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:37:59] local.INFO: Processing buffer {"connection_id":153347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:37:59] local.INFO: Packet analysis {"connection_id":153347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:37:59] local.INFO: Extracted packet for processing {"connection_id":153347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321909760001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786414011000,"timestamp_ms":1786414011000,"timestamp_seconds":1786414011,"priority":1,"record_length":96,"hex_timestamp":"0000019fee929278"} 
[2026-08-11 07:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:37:59] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:37:59] 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-08-11 07:37: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-08-11 07:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:37:59] 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-08-11 07:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321909760001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321909760001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:37:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:37:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321909760001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":153347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:37:59] local.INFO: GPS data processed {"connection_id":153347,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:37:59] local.INFO: Acknowledgment sent {"connection_id":153347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:38:00] local.INFO: TCP Data received {"connection_id":152406,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:38:00] local.INFO: Processing buffer {"connection_id":152406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:38:00] local.INFO: IMEI packet received {"connection_id":152406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":152406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:38:01] local.INFO: TCP Data received {"connection_id":152406,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:38:01] local.INFO: Processing buffer {"connection_id":152406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:38:01] local.INFO: IMEI packet received {"connection_id":152406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":152406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:38:04] local.INFO: TCP Data received {"connection_id":152406,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:38:04] local.INFO: Processing buffer {"connection_id":152406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:38:04] local.INFO: IMEI packet received {"connection_id":152406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":152406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:38:06] local.INFO: TCP Data received {"connection_id":152406,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:38:06] local.INFO: Processing buffer {"connection_id":152406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:38:06] local.INFO: IMEI packet received {"connection_id":152406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":152406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:38:11] local.INFO: TCP Data received {"connection_id":152406,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9307a8012d7e0f4005e0cb180007016228..."} 
[2026-08-11 07:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9307a8012d7e0f4005e0cb180007016228..."} 
[2026-08-11 07:38:11] local.INFO: Processing buffer {"connection_id":152406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9307a8012d7e0f4005e0cb180007016228..."} 
[2026-08-11 07:38:11] local.INFO: Packet analysis {"connection_id":152406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee93"} 
[2026-08-11 07:38:11] local.INFO: Extracted packet for processing {"connection_id":152406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee93"} 
[2026-08-11 07:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763236160,"raw_latitude":98618136,"longitude_deg":76.323616,"latitude_deg":9.8618136,"altitude":7,"angle":354,"satellites":40,"speed":25,"hex_longitude":"2d7e0f40","hex_latitude":"05e0cb18","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321994240001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117494942120542208,"note":"Value kept but may cause issues"} 
[2026-08-11 07:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083619736164026368,"note":"Value kept but may cause issues"} 
[2026-08-11 07:38:11] 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-08-11 07:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786414041000,"timestamp_ms":1786414041000,"timestamp_seconds":1786414041,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9307a8"} 
[2026-08-11 07:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:38:11] 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-08-11 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 07:38:11] 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-08-11 07: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-08-11 07:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321994240001,"66":13222,"104":206,"85":15104,"24":25,"16":117494942120542208,"45":9083619736164026368},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-11 07:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321994240001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:38:11] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-11 07:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117494942120542208,"km_value":117494942120542.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083619736164026368,"description":"Unknown IO ID 45"} 
[2026-08-11 07:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321994240001,"power":13222,"unknown_104":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9083619736164026368}} 
[2026-08-11 07:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":152406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:38:11] local.INFO: GPS data processed {"connection_id":152406,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:38:11] local.INFO: Acknowledgment sent {"connection_id":152406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:38:15] local.INFO: TCP Data received {"connection_id":152406,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee930f78012d7e0fc005e0d0380007000828..."} 
[2026-08-11 07:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee930f78012d7e0fc005e0d0380007000828..."} 
[2026-08-11 07:38:15] local.INFO: Processing buffer {"connection_id":152406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee930f78012d7e0fc005e0d0380007000828..."} 
[2026-08-11 07:38:15] local.INFO: Packet analysis {"connection_id":152406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee93"} 
[2026-08-11 07:38:15] local.INFO: Extracted packet for processing {"connection_id":152406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee93"} 
[2026-08-11 07:38:15] local.INFO: GPS Element Parsed {"raw_longitude":763236288,"raw_latitude":98619448,"longitude_deg":76.3236288,"latitude_deg":9.8619448,"altitude":7,"angle":8,"satellites":40,"speed":27,"hex_longitude":"2d7e0fc0","hex_latitude":"05e0d038","is_valid_coordinates":true} 
[2026-08-11 07:38: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-08-11 07:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321994496001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117495006545051648,"note":"Value kept but may cause issues"} 
[2026-08-11 07:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083549367420000256,"note":"Value kept but may cause issues"} 
[2026-08-11 07:38:15] 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-08-11 07:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786414043000,"timestamp_ms":1786414043000,"timestamp_seconds":1786414043,"priority":1,"record_length":96,"hex_timestamp":"0000019fee930f78"} 
[2026-08-11 07:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:38:15] 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-08-11 07:38: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":166,"data_length":795,"current_offset":136} 
[2026-08-11 07:38:15] 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-08-11 07:38: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-08-11 07:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321994496001,"66":12982,"104":206,"85":15104,"24":27,"16":117495006545051648,"45":9083549367420000256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-11 07:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321994496001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:38:15] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-11 07:38:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117495006545051648,"km_value":117495006545051.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083549367420000256,"description":"Unknown IO ID 45"} 
[2026-08-11 07:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321994496001,"power":12982,"unknown_104":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9083549367420000256}} 
[2026-08-11 07:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":152406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:38:15] local.INFO: GPS data processed {"connection_id":152406,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:38:15] local.INFO: Acknowledgment sent {"connection_id":152406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:38:30] local.INFO: TCP Data received {"connection_id":153347,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:38:30] local.INFO: Processing buffer {"connection_id":153347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:38:30] local.INFO: Packet analysis {"connection_id":153347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:38:30] local.INFO: Extracted packet for processing {"connection_id":153347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:38: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-08-11 07:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321909760001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786414011000,"timestamp_ms":1786414011000,"timestamp_seconds":1786414011,"priority":1,"record_length":96,"hex_timestamp":"0000019fee929278"} 
[2026-08-11 07:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:38:30] 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-08-11 07:38: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:38:30] 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-08-11 07:38: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-08-11 07:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:38:30] 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-08-11 07:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321909760001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321909760001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:38:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:38:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321909760001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":153347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:38:30] local.INFO: GPS data processed {"connection_id":153347,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:38:30] local.INFO: Acknowledgment sent {"connection_id":153347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:38:46] local.INFO: TCP Data received {"connection_id":152406,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee943088012d7e218005e1b6780006002127..."} 
[2026-08-11 07:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee943088012d7e218005e1b6780006002127..."} 
[2026-08-11 07:38:46] local.INFO: Processing buffer {"connection_id":152406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee943088012d7e218005e1b6780006002127..."} 
[2026-08-11 07:38:46] local.INFO: Packet analysis {"connection_id":152406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee94"} 
[2026-08-11 07:38:46] local.INFO: Extracted packet for processing {"connection_id":152406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee94"} 
[2026-08-11 07:38:46] local.INFO: GPS Element Parsed {"raw_longitude":763240832,"raw_latitude":98678392,"longitude_deg":76.3240832,"latitude_deg":9.8678392,"altitude":6,"angle":33,"satellites":39,"speed":41,"hex_longitude":"2d7e2180","hex_latitude":"05e1b678","is_valid_coordinates":true} 
[2026-08-11 07:38: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-08-11 07:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322013184001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117497944302682112,"note":"Value kept but may cause issues"} 
[2026-08-11 07:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087138173387755520,"note":"Value kept but may cause issues"} 
[2026-08-11 07:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786414117000,"timestamp_ms":1786414117000,"timestamp_seconds":1786414117,"priority":1,"record_length":96,"hex_timestamp":"0000019fee943088"} 
[2026-08-11 07:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:38:46] 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-08-11 07:38: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":84,"data_length":795,"current_offset":136} 
[2026-08-11 07:38:46] 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-08-11 07:38: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-08-11 07:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322013184001,"66":13515,"105":206,"85":15104,"24":41,"16":117497944302682112,"45":9087138173387755520},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-11 07:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322013184001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:38:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 07:38:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117497944302682112,"km_value":117497944302682.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087138173387755520,"description":"Unknown IO ID 45"} 
[2026-08-11 07:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322013184001,"power":13515,"unknown_105":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9087138173387755520}} 
[2026-08-11 07:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":152406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:38:46] local.INFO: GPS data processed {"connection_id":152406,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:38:46] local.INFO: Acknowledgment sent {"connection_id":152406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:38:53] local.INFO: TCP Data received {"connection_id":153348,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:38:53] local.INFO: Processing buffer {"connection_id":153348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:38:53] local.INFO: IMEI packet received {"connection_id":153348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":153348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:38:58] local.INFO: TCP Data received {"connection_id":153348,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:38:58] local.INFO: Processing buffer {"connection_id":153348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:38:58] local.INFO: IMEI packet received {"connection_id":153348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":153348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:38:59] local.INFO: TCP Data received {"connection_id":153348,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:38:59] local.INFO: Processing buffer {"connection_id":153348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:38:59] local.INFO: Packet analysis {"connection_id":153348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:38:59] local.INFO: Extracted packet for processing {"connection_id":153348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321909760001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786414011000,"timestamp_ms":1786414011000,"timestamp_seconds":1786414011,"priority":1,"record_length":96,"hex_timestamp":"0000019fee929278"} 
[2026-08-11 07:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:38:59] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:38:59] 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-08-11 07:38: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-08-11 07:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:38:59] 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-08-11 07:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321909760001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321909760001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:38:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:38:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321909760001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":153348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:38:59] local.INFO: GPS data processed {"connection_id":153348,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:38:59] local.INFO: Acknowledgment sent {"connection_id":153348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:39:01] local.INFO: TCP Data received {"connection_id":153349,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:39:01] local.INFO: Processing buffer {"connection_id":153349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:39:01] local.INFO: IMEI packet received {"connection_id":153349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":153349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:39:04] local.INFO: TCP Data received {"connection_id":153349,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:39:04] local.INFO: Processing buffer {"connection_id":153349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:39:04] local.INFO: IMEI packet received {"connection_id":153349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":153349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:39:04] local.INFO: TCP Data received {"connection_id":153349,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 07:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153349,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 07:39:04] local.INFO: Processing buffer {"connection_id":153349,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 07:39:04] local.INFO: IMEI packet received {"connection_id":153349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":153349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:39:30] local.INFO: TCP Data received {"connection_id":153348,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:39:30] local.INFO: Processing buffer {"connection_id":153348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:39:30] local.INFO: Packet analysis {"connection_id":153348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:39:30] local.INFO: Extracted packet for processing {"connection_id":153348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:39: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-08-11 07:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321909760001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786414011000,"timestamp_ms":1786414011000,"timestamp_seconds":1786414011,"priority":1,"record_length":96,"hex_timestamp":"0000019fee929278"} 
[2026-08-11 07:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:39:30] 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-08-11 07:39: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:39:30] 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-08-11 07:39: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-08-11 07:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:39:30] 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-08-11 07:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321909760001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321909760001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:39:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:39:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321909760001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":153348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:39:30] local.INFO: GPS data processed {"connection_id":153348,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:39:30] local.INFO: Acknowledgment sent {"connection_id":153348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:39:58] local.INFO: TCP Data received {"connection_id":152011,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:39:58] local.INFO: Processing buffer {"connection_id":152011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:39:58] local.INFO: IMEI packet received {"connection_id":152011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":152011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:40:03] local.INFO: TCP Data received {"connection_id":152011,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:40:03] local.INFO: Processing buffer {"connection_id":152011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:40:03] local.INFO: IMEI packet received {"connection_id":152011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":152011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:40:04] local.INFO: TCP Data received {"connection_id":152011,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:40:04] local.INFO: Processing buffer {"connection_id":152011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:40:04] local.INFO: Packet analysis {"connection_id":152011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:40:04] local.INFO: Extracted packet for processing {"connection_id":152011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:40:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321909760001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786414011000,"timestamp_ms":1786414011000,"timestamp_seconds":1786414011,"priority":1,"record_length":96,"hex_timestamp":"0000019fee929278"} 
[2026-08-11 07:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:40:04] 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-08-11 07: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:40:04] 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-08-11 07: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-08-11 07:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321909760001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321909760001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:40:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:40:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321909760001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":152011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:40:04] local.INFO: GPS data processed {"connection_id":152011,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:40:04] local.INFO: Acknowledgment sent {"connection_id":152011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:40:35] local.INFO: TCP Data received {"connection_id":152011,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:40:35] local.INFO: Processing buffer {"connection_id":152011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:40:35] local.INFO: Packet analysis {"connection_id":152011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:40:35] local.INFO: Extracted packet for processing {"connection_id":152011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:40:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321909760001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786414011000,"timestamp_ms":1786414011000,"timestamp_seconds":1786414011,"priority":1,"record_length":96,"hex_timestamp":"0000019fee929278"} 
[2026-08-11 07:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:40:35] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:40:35] 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-08-11 07: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-08-11 07:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321909760001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321909760001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:40:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:40:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321909760001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":152011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:40:35] local.INFO: GPS data processed {"connection_id":152011,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:40:35] local.INFO: Acknowledgment sent {"connection_id":152011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:40:53] local.INFO: TCP Data received {"connection_id":152013,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:40:53] local.INFO: Processing buffer {"connection_id":152013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:40:53] local.INFO: IMEI packet received {"connection_id":152013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":152013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:40:58] local.INFO: TCP Data received {"connection_id":152013,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:40:58] local.INFO: Processing buffer {"connection_id":152013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:40:58] local.INFO: IMEI packet received {"connection_id":152013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":152013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:40:59] local.INFO: TCP Data received {"connection_id":152013,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:40:59] local.INFO: Processing buffer {"connection_id":152013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:40:59] local.INFO: Packet analysis {"connection_id":152013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:40:59] local.INFO: Extracted packet for processing {"connection_id":152013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321909760001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786414011000,"timestamp_ms":1786414011000,"timestamp_seconds":1786414011,"priority":1,"record_length":96,"hex_timestamp":"0000019fee929278"} 
[2026-08-11 07:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:40:59] 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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:40:59] 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-08-11 07: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-08-11 07:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:40:59] 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-08-11 07:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321909760001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321909760001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:40:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:40:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321909760001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":152013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:40:59] local.INFO: GPS data processed {"connection_id":152013,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:40:59] local.INFO: Acknowledgment sent {"connection_id":152013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:41:30] local.INFO: TCP Data received {"connection_id":152013,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:41:30] local.INFO: Processing buffer {"connection_id":152013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:41:30] local.INFO: Packet analysis {"connection_id":152013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:41:30] local.INFO: Extracted packet for processing {"connection_id":152013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:41: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-08-11 07:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321909760001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786414011000,"timestamp_ms":1786414011000,"timestamp_seconds":1786414011,"priority":1,"record_length":96,"hex_timestamp":"0000019fee929278"} 
[2026-08-11 07:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:41:30] 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-08-11 07:41: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:41:30] 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-08-11 07:41: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-08-11 07:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:41:30] 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-08-11 07:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321909760001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321909760001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:41:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:41:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321909760001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":152013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:41:30] local.INFO: GPS data processed {"connection_id":152013,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:41:30] local.INFO: Acknowledgment sent {"connection_id":152013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:41:53] local.INFO: TCP Data received {"connection_id":152407,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:41:53] local.INFO: Processing buffer {"connection_id":152407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:41:53] local.INFO: IMEI packet received {"connection_id":152407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":152407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:41:58] local.INFO: TCP Data received {"connection_id":152407,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:41:58] local.INFO: Processing buffer {"connection_id":152407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:41:58] local.INFO: IMEI packet received {"connection_id":152407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":152407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:41:59] local.INFO: TCP Data received {"connection_id":152407,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:41:59] local.INFO: Processing buffer {"connection_id":152407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:41:59] local.INFO: Packet analysis {"connection_id":152407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:41:59] local.INFO: Extracted packet for processing {"connection_id":152407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:41: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-08-11 07:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321909760001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786414011000,"timestamp_ms":1786414011000,"timestamp_seconds":1786414011,"priority":1,"record_length":96,"hex_timestamp":"0000019fee929278"} 
[2026-08-11 07:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:41:59] 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-08-11 07:41: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:41:59] 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-08-11 07:41: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-08-11 07:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321909760001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321909760001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:41:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:41:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321909760001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":152407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:41:59] local.INFO: GPS data processed {"connection_id":152407,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:41:59] local.INFO: Acknowledgment sent {"connection_id":152407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:42:30] local.INFO: TCP Data received {"connection_id":152407,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:42:30] local.INFO: Processing buffer {"connection_id":152407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee929278012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:42:30] local.INFO: Packet analysis {"connection_id":152407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:42:30] local.INFO: Extracted packet for processing {"connection_id":152407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee92"} 
[2026-08-11 07:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:42: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-08-11 07:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321909760001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786414011000,"timestamp_ms":1786414011000,"timestamp_seconds":1786414011,"priority":1,"record_length":96,"hex_timestamp":"0000019fee929278"} 
[2026-08-11 07:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:42:30] 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-08-11 07:42: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:42:30] 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-08-11 07:42: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-08-11 07:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321909760001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321909760001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:42:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:42:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321909760001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":152407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:42:30] local.INFO: GPS data processed {"connection_id":152407,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:42:30] local.INFO: Acknowledgment sent {"connection_id":152407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:42:53] local.INFO: TCP Data received {"connection_id":152408,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:42:53] local.INFO: Processing buffer {"connection_id":152408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:42:53] local.INFO: IMEI packet received {"connection_id":152408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":152408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:42:58] local.INFO: TCP Data received {"connection_id":152408,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:42:58] local.INFO: Processing buffer {"connection_id":152408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:42:58] local.INFO: IMEI packet received {"connection_id":152408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":152408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:42:59] local.INFO: TCP Data received {"connection_id":152408,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:42:59] local.INFO: Processing buffer {"connection_id":152408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:42:59] local.INFO: Packet analysis {"connection_id":152408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:42:59] local.INFO: Extracted packet for processing {"connection_id":152408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321986816001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786414312000,"timestamp_ms":1786414312000,"timestamp_seconds":1786414312,"priority":1,"record_length":96,"hex_timestamp":"0000019fee972a40"} 
[2026-08-11 07:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:42:59] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:42:59] 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-08-11 07: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-08-11 07:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321986816001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321986816001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:42:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:42:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321986816001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":152408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:42:59] local.INFO: GPS data processed {"connection_id":152408,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:42:59] local.INFO: Acknowledgment sent {"connection_id":152408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:43:30] local.INFO: TCP Data received {"connection_id":152408,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:43:30] local.INFO: Processing buffer {"connection_id":152408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:43:30] local.INFO: Packet analysis {"connection_id":152408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:43:30] local.INFO: Extracted packet for processing {"connection_id":152408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321986816001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786414312000,"timestamp_ms":1786414312000,"timestamp_seconds":1786414312,"priority":1,"record_length":96,"hex_timestamp":"0000019fee972a40"} 
[2026-08-11 07:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:43:30] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:43:30] 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-08-11 07: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-08-11 07:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321986816001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321986816001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:43:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:43:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321986816001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":152408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:43:30] local.INFO: GPS data processed {"connection_id":152408,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:43:30] local.INFO: Acknowledgment sent {"connection_id":152408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:43:58] local.INFO: TCP Data received {"connection_id":153352,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:43:58] local.INFO: Processing buffer {"connection_id":153352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:43:58] local.INFO: IMEI packet received {"connection_id":153352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":153352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:44:03] local.INFO: TCP Data received {"connection_id":153352,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:44:03] local.INFO: Processing buffer {"connection_id":153352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:44:03] local.INFO: IMEI packet received {"connection_id":153352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":153352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:44:04] local.INFO: TCP Data received {"connection_id":153352,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:44:04] local.INFO: Processing buffer {"connection_id":153352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:44:04] local.INFO: Packet analysis {"connection_id":153352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:44:04] local.INFO: Extracted packet for processing {"connection_id":153352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321986816001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786414312000,"timestamp_ms":1786414312000,"timestamp_seconds":1786414312,"priority":1,"record_length":96,"hex_timestamp":"0000019fee972a40"} 
[2026-08-11 07:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:44:04] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:44: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-08-11 07: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-08-11 07:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:44:04] 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-08-11 07:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321986816001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321986816001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:44:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:44:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321986816001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":153352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:44:04] local.INFO: GPS data processed {"connection_id":153352,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:44:04] local.INFO: Acknowledgment sent {"connection_id":153352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:44:07] local.INFO: TCP Data received {"connection_id":154747,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:44:07] local.INFO: Processing buffer {"connection_id":154747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:44:07] local.INFO: IMEI packet received {"connection_id":154747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":154747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:44:08] local.INFO: TCP Data received {"connection_id":154747,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee984f38012d7bf94005e1d8d00005010b28..."} 
[2026-08-11 07:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee984f38012d7bf94005e1d8d00005010b28..."} 
[2026-08-11 07:44:08] local.INFO: Processing buffer {"connection_id":154747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee984f38012d7bf94005e1d8d00005010b28..."} 
[2026-08-11 07:44:08] local.INFO: Packet analysis {"connection_id":154747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee98"} 
[2026-08-11 07:44:08] local.INFO: Extracted packet for processing {"connection_id":154747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee98"} 
[2026-08-11 07:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763099456,"raw_latitude":98687184,"longitude_deg":76.3099456,"latitude_deg":9.8687184,"altitude":5,"angle":267,"satellites":40,"speed":31,"hex_longitude":"2d7bf940","hex_latitude":"05e1d8d0","is_valid_coordinates":true} 
[2026-08-11 07:44: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-08-11 07:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322080256001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117506315193942016,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943515566524483584,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786414387000,"timestamp_ms":1786414387000,"timestamp_seconds":1786414387,"priority":1,"record_length":96,"hex_timestamp":"0000019fee984f38"} 
[2026-08-11 07:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:44:08] 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-08-11 07:44: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":144,"data_length":795,"current_offset":136} 
[2026-08-11 07:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 07:44: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-08-11 07:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322080256001,"66":13319,"61":206,"85":15104,"24":31,"16":117506315193942016,"45":8943515566524483584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-11 07:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322080256001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:44:08] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-11 07:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117506315193942016,"km_value":117506315193942.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943515566524483584,"description":"Unknown IO ID 45"} 
[2026-08-11 07:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322080256001,"power":13319,"unknown_61":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8943515566524483584}} 
[2026-08-11 07:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":154747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:44:08] local.INFO: GPS data processed {"connection_id":154747,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:44:08] local.INFO: Acknowledgment sent {"connection_id":154747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:44:08] local.INFO: TCP Data received {"connection_id":153352,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:44:08] local.INFO: Processing buffer {"connection_id":153352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:44:08] local.INFO: Packet analysis {"connection_id":153352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:44:08] local.INFO: Extracted packet for processing {"connection_id":153352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:44: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-08-11 07:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321986816001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786414312000,"timestamp_ms":1786414312000,"timestamp_seconds":1786414312,"priority":1,"record_length":96,"hex_timestamp":"0000019fee972a40"} 
[2026-08-11 07:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:44:08] 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-08-11 07:44: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-08-11 07:44: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-08-11 07:44: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-08-11 07:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:44: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-08-11 07:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321986816001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321986816001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:44:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:44:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321986816001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":153352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:44:08] local.INFO: GPS data processed {"connection_id":153352,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:44:08] local.INFO: Acknowledgment sent {"connection_id":153352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:44:42] local.INFO: TCP Data received {"connection_id":154747,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee985af0012d7bef0005e1d9500004011828..."} 
[2026-08-11 07:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee985af0012d7bef0005e1d9500004011828..."} 
[2026-08-11 07:44:42] local.INFO: Processing buffer {"connection_id":154747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee985af0012d7bef0005e1d9500004011828..."} 
[2026-08-11 07:44:42] local.INFO: Packet analysis {"connection_id":154747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee98"} 
[2026-08-11 07:44:42] local.INFO: Extracted packet for processing {"connection_id":154747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee98"} 
[2026-08-11 07:44:42] local.INFO: GPS Element Parsed {"raw_longitude":763096832,"raw_latitude":98687312,"longitude_deg":76.3096832,"latitude_deg":9.8687312,"altitude":4,"angle":280,"satellites":40,"speed":34,"hex_longitude":"2d7bef00","hex_latitude":"05e1d950","is_valid_coordinates":true} 
[2026-08-11 07:44: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-08-11 07:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322083072001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117506439747993600,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933241729874186240,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786414390000,"timestamp_ms":1786414390000,"timestamp_seconds":1786414390,"priority":1,"record_length":96,"hex_timestamp":"0000019fee985af0"} 
[2026-08-11 07:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:44:42] 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-08-11 07:44: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 07:44:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4002930160,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:42] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:42] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2548672513,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:42] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-1661828219536333056,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-08-11 07:44:42] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3221302652,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:42] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3221610974,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3789592576,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:42] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57886250674050363,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:42] local.WARNING: Large IO value detected {"io_id":151,"raw_value":-3861835385600507899,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:42] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,61,85,24,241,157,16,119,159,36,45,192,222,7,43,10,66,118,42,245,1,240,35,227,238,225,4,113,205,9,229,56,184,41,239,52,2,161,5,237,151],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-08-11 07:44:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360581711594979328,"timestamp_seconds":360581711594979.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 07:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":154747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":154747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":154747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322083072001,"66":12667,"61":206,"85":15104,"24":34,"16":117506439747993600,"45":8933241729874186240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-11 07:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322083072001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:44:42] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-11 07:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117506439747993600,"km_value":117506439747993.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933241729874186240,"description":"Unknown IO ID 45"} 
[2026-08-11 07:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322083072001,"power":12667,"unknown_61":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8933241729874186240}} 
[2026-08-11 07:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":154747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:44:42] local.INFO: GPS data processed {"connection_id":154747,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:44:42] local.INFO: Acknowledgment sent {"connection_id":154747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:44:53] local.INFO: TCP Data received {"connection_id":153353,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:44:53] local.INFO: Processing buffer {"connection_id":153353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:44:53] local.INFO: IMEI packet received {"connection_id":153353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":153353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:44:58] local.INFO: TCP Data received {"connection_id":153353,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:44:58] local.INFO: Processing buffer {"connection_id":153353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:44:58] local.INFO: IMEI packet received {"connection_id":153353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":153353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:44:59] local.INFO: TCP Data received {"connection_id":153353,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:44:59] local.INFO: Processing buffer {"connection_id":153353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:44:59] local.INFO: Packet analysis {"connection_id":153353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:44:59] local.INFO: Extracted packet for processing {"connection_id":153353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321986816001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786414312000,"timestamp_ms":1786414312000,"timestamp_seconds":1786414312,"priority":1,"record_length":96,"hex_timestamp":"0000019fee972a40"} 
[2026-08-11 07:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:44:59] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:44:59] 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-08-11 07: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-08-11 07:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:44:59] 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-08-11 07:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321986816001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321986816001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:44:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:44:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321986816001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":153353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:44:59] local.INFO: GPS data processed {"connection_id":153353,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:44:59] local.INFO: Acknowledgment sent {"connection_id":153353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:45:02] local.INFO: TCP Data received {"connection_id":154748,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:45:02] local.INFO: Processing buffer {"connection_id":154748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:45:02] local.INFO: IMEI packet received {"connection_id":154748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":154748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:45:02] local.INFO: TCP Data received {"connection_id":154748,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:45:02] local.INFO: Processing buffer {"connection_id":154748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:45:02] local.INFO: IMEI packet received {"connection_id":154748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":154748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:45:07] local.INFO: TCP Data received {"connection_id":154748,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:45:07] local.INFO: Processing buffer {"connection_id":154748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:45:07] local.INFO: IMEI packet received {"connection_id":154748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":154748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:45:07] local.INFO: TCP Data received {"connection_id":154748,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee99fce8012d7b410005e1ae08000a011822..."} 
[2026-08-11 07:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee99fce8012d7b410005e1ae08000a011822..."} 
[2026-08-11 07:45:07] local.INFO: Processing buffer {"connection_id":154748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee99fce8012d7b410005e1ae08000a011822..."} 
[2026-08-11 07:45:07] local.INFO: Packet analysis {"connection_id":154748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee99"} 
[2026-08-11 07:45:07] local.INFO: Extracted packet for processing {"connection_id":154748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee99"} 
[2026-08-11 07:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763052288,"raw_latitude":98676232,"longitude_deg":76.3052288,"latitude_deg":9.8676232,"altitude":10,"angle":280,"satellites":34,"speed":2,"hex_longitude":"2d7b4100","hex_latitude":"05e1ae08","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322105856001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882928077784379392,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117508720375627776,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:07] 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-08-11 07:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786414497000,"timestamp_ms":1786414497000,"timestamp_seconds":1786414497,"priority":1,"record_length":96,"hex_timestamp":"0000019fee99fce8"} 
[2026-08-11 07:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:45:07] 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-08-11 07: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-11 07:45:07] 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-08-11 07: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-08-11 07:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322105856001,"66":13319,"45":8882928077784379392,"85":15104,"24":2,"16":117508720375627776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-11 07:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322105856001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882928077784379392,"description":"Unknown IO ID 45"} 
[2026-08-11 07:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117508720375627776,"km_value":117508720375627.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:45:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457322105856001,"power":13319,"unknown_45":8882928077784379392,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-08-11 07:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":154748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:45:07] local.INFO: GPS data processed {"connection_id":154748,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:45:07] local.INFO: Acknowledgment sent {"connection_id":154748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:45:30] local.INFO: TCP Data received {"connection_id":153353,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:45:30] local.INFO: Processing buffer {"connection_id":153353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:45:30] local.INFO: Packet analysis {"connection_id":153353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:45:30] local.INFO: Extracted packet for processing {"connection_id":153353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:45:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321986816001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786414312000,"timestamp_ms":1786414312000,"timestamp_seconds":1786414312,"priority":1,"record_length":96,"hex_timestamp":"0000019fee972a40"} 
[2026-08-11 07:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:45:30] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:45:30] 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-08-11 07: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-08-11 07:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:45:30] 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-08-11 07:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321986816001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321986816001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:45:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:45:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321986816001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":153353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:45:30] local.INFO: GPS data processed {"connection_id":153353,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:45:30] local.INFO: Acknowledgment sent {"connection_id":153353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:45:38] local.INFO: TCP Data received {"connection_id":154748,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9a08a0012d7b40c005e1ae08000a010d23..."} 
[2026-08-11 07:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9a08a0012d7b40c005e1ae08000a010d23..."} 
[2026-08-11 07:45:38] local.INFO: Processing buffer {"connection_id":154748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9a08a0012d7b40c005e1ae08000a010d23..."} 
[2026-08-11 07:45:38] local.INFO: Packet analysis {"connection_id":154748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9a"} 
[2026-08-11 07:45:38] local.INFO: Extracted packet for processing {"connection_id":154748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9a"} 
[2026-08-11 07:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763052224,"raw_latitude":98676232,"longitude_deg":76.3052224,"latitude_deg":9.8676232,"altitude":10,"angle":269,"satellites":35,"speed":2,"hex_longitude":"2d7b40c0","hex_latitude":"05e1ae08","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322111232001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881379965412444160,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117508728965562368,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:38] 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-08-11 07:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786414500000,"timestamp_ms":1786414500000,"timestamp_seconds":1786414500,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9a08a0"} 
[2026-08-11 07:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:45:38] 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-08-11 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 07:45:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4003004160,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:38] local.WARNING: Large IO value detected {"io_id":120,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:38] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2570688513,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:38] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-4177088632896411136,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-08-11 07:45:38] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3489738107,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:38] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2147869118,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802143,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:38] local.WARNING: Large IO value detected {"io_id":40,"raw_value":57807751556781371,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:38] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-916481229309165563,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:38] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,45,85,24,241,157,16,121,159,170,128,174,9,43,10,66,143,178,8,73,64,1,240,248,227,120,238,225,4,113,205,30,6,169,216,44,239,50,2,161,5,40,152],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-08-11 07:45:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720883949664075776,"timestamp_seconds":720883949664075.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 07:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322111232001,"66":13341,"45":8881379965412444160,"85":15104,"24":2,"16":117508728965562368},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-11 07:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322111232001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881379965412444160,"description":"Unknown IO ID 45"} 
[2026-08-11 07:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117508728965562368,"km_value":117508728965562.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:45:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457322111232001,"power":13341,"unknown_45":8881379965412444160,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-08-11 07:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":154748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:45:38] local.INFO: GPS data processed {"connection_id":154748,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:45:38] local.INFO: Acknowledgment sent {"connection_id":154748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:45:53] local.INFO: TCP Data received {"connection_id":152409,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:45:53] local.INFO: Processing buffer {"connection_id":152409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:45:53] local.INFO: IMEI packet received {"connection_id":152409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":152409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:45:58] local.INFO: TCP Data received {"connection_id":152409,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:45:58] local.INFO: Processing buffer {"connection_id":152409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:45:58] local.INFO: IMEI packet received {"connection_id":152409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":152409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:45:59] local.INFO: TCP Data received {"connection_id":152409,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:45:59] local.INFO: Processing buffer {"connection_id":152409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:45:59] local.INFO: Packet analysis {"connection_id":152409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:45:59] local.INFO: Extracted packet for processing {"connection_id":152409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321986816001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786414312000,"timestamp_ms":1786414312000,"timestamp_seconds":1786414312,"priority":1,"record_length":96,"hex_timestamp":"0000019fee972a40"} 
[2026-08-11 07:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:45:59] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:45:59] 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-08-11 07: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-08-11 07:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:45:59] 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-08-11 07:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321986816001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321986816001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:45:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:45:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321986816001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":152409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:45:59] local.INFO: GPS data processed {"connection_id":152409,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:45:59] local.INFO: Acknowledgment sent {"connection_id":152409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:46:01] local.INFO: TCP Data received {"connection_id":153354,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:46:01] local.INFO: Processing buffer {"connection_id":153354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:46:01] local.INFO: IMEI packet received {"connection_id":153354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":153354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:46:07] local.INFO: TCP Data received {"connection_id":153354,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:46:07] local.INFO: Processing buffer {"connection_id":153354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:46:07] local.INFO: IMEI packet received {"connection_id":153354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":153354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:46:07] local.INFO: TCP Data received {"connection_id":153354,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9a1c28012d7b3f8005e1ae28000a01181f..."} 
[2026-08-11 07:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9a1c28012d7b3f8005e1ae28000a01181f..."} 
[2026-08-11 07:46:07] local.INFO: Processing buffer {"connection_id":153354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9a1c28012d7b3f8005e1ae28000a01181f..."} 
[2026-08-11 07:46:07] local.INFO: Packet analysis {"connection_id":153354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9a"} 
[2026-08-11 07:46:07] local.INFO: Extracted packet for processing {"connection_id":153354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9a"} 
[2026-08-11 07:46:07] local.INFO: GPS Element Parsed {"raw_longitude":763051904,"raw_latitude":98676264,"longitude_deg":76.3051904,"latitude_deg":9.8676264,"altitude":10,"angle":280,"satellites":31,"speed":2,"hex_longitude":"2d7b3f80","hex_latitude":"05e1ae28","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322112000001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881309596668266496,"note":"Value kept but may cause issues"} 
[2026-08-11 07:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117508741850464256,"note":"Value kept but may cause issues"} 
[2026-08-11 07:46:07] 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-08-11 07:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786414505000,"timestamp_ms":1786414505000,"timestamp_seconds":1786414505,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9a1c28"} 
[2026-08-11 07:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:46:07] 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-08-11 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-11 07:46:07] 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-08-11 07: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-08-11 07:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322112000001,"66":13091,"45":8881309596668266496,"85":15104,"24":2,"16":117508741850464256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-11 07:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322112000001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881309596668266496,"description":"Unknown IO ID 45"} 
[2026-08-11 07:46:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117508741850464256,"km_value":117508741850464.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:46:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457322112000001,"power":13091,"unknown_45":8881309596668266496,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-08-11 07:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":153354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:46:07] local.INFO: GPS data processed {"connection_id":153354,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:46:07] local.INFO: Acknowledgment sent {"connection_id":153354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:46:30] local.INFO: TCP Data received {"connection_id":152409,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:46:30] local.INFO: Processing buffer {"connection_id":152409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:46:30] local.INFO: Packet analysis {"connection_id":152409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:46:30] local.INFO: Extracted packet for processing {"connection_id":152409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:46:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321986816001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786414312000,"timestamp_ms":1786414312000,"timestamp_seconds":1786414312,"priority":1,"record_length":96,"hex_timestamp":"0000019fee972a40"} 
[2026-08-11 07:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:46:30] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:46:30] 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-08-11 07: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-08-11 07:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:46:30] 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-08-11 07:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321986816001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321986816001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:46:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:46:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321986816001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":152409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:46:30] local.INFO: GPS data processed {"connection_id":152409,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:46:30] local.INFO: Acknowledgment sent {"connection_id":152409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:46:39] local.INFO: TCP Data received {"connection_id":153354,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9a3398012d7b3d8005e1ae90000b012523..."} 
[2026-08-11 07:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9a3398012d7b3d8005e1ae90000b012523..."} 
[2026-08-11 07:46:39] local.INFO: Processing buffer {"connection_id":153354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9a3398012d7b3d8005e1ae90000b012523..."} 
[2026-08-11 07:46:39] local.INFO: Packet analysis {"connection_id":153354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9a"} 
[2026-08-11 07:46:39] local.INFO: Extracted packet for processing {"connection_id":153354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9a"} 
[2026-08-11 07:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763051392,"raw_latitude":98676368,"longitude_deg":76.3051392,"latitude_deg":9.8676368,"altitude":11,"angle":293,"satellites":35,"speed":3,"hex_longitude":"2d7b3d80","hex_latitude":"05e1ae90","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322113280001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880957752947386368,"note":"Value kept but may cause issues"} 
[2026-08-11 07:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117508771915235328,"note":"Value kept but may cause issues"} 
[2026-08-11 07:46:39] 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-08-11 07:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786414511000,"timestamp_ms":1786414511000,"timestamp_seconds":1786414511,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9a3398"} 
[2026-08-11 07:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:46:39] 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-08-11 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-11 07:46:39] 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-08-11 07: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-08-11 07:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322113280001,"66":13222,"45":8880957752947386368,"85":15104,"24":3,"16":117508771915235328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-11 07:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322113280001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880957752947386368,"description":"Unknown IO ID 45"} 
[2026-08-11 07:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117508771915235328,"km_value":117508771915235.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:46:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457322113280001,"power":13222,"unknown_45":8880957752947386368,"unknown_85":15104,"ignition":3,"odometer":null}} 
[2026-08-11 07:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":153354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:46:39] local.INFO: GPS data processed {"connection_id":153354,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:46:39] local.INFO: Acknowledgment sent {"connection_id":153354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:46:53] local.INFO: TCP Data received {"connection_id":152015,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:46:53] local.INFO: Processing buffer {"connection_id":152015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:46:53] local.INFO: IMEI packet received {"connection_id":152015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":152015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:46:58] local.INFO: TCP Data received {"connection_id":152015,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:46:58] local.INFO: Processing buffer {"connection_id":152015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:46:58] local.INFO: IMEI packet received {"connection_id":152015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":152015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:46:59] local.INFO: TCP Data received {"connection_id":152015,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:46:59] local.INFO: Processing buffer {"connection_id":152015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:46:59] local.INFO: Packet analysis {"connection_id":152015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:46:59] local.INFO: Extracted packet for processing {"connection_id":152015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:46:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321986816001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786414312000,"timestamp_ms":1786414312000,"timestamp_seconds":1786414312,"priority":1,"record_length":96,"hex_timestamp":"0000019fee972a40"} 
[2026-08-11 07:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:46:59] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:46:59] 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-08-11 07: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-08-11 07:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:46:59] 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-08-11 07:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321986816001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321986816001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:46:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:46:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321986816001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":152015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:46:59] local.INFO: GPS data processed {"connection_id":152015,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:46:59] local.INFO: Acknowledgment sent {"connection_id":152015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:47:01] local.INFO: TCP Data received {"connection_id":153355,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:47:01] local.INFO: Processing buffer {"connection_id":153355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:47:01] local.INFO: IMEI packet received {"connection_id":153355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":153355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:47:06] local.INFO: TCP Data received {"connection_id":153355,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:47:06] local.INFO: Processing buffer {"connection_id":153355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:47:06] local.INFO: IMEI packet received {"connection_id":153355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":153355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:47:06] local.INFO: TCP Data received {"connection_id":153355,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:47:06] local.INFO: Processing buffer {"connection_id":153355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:47:06] local.INFO: IMEI packet received {"connection_id":153355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":153355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:47:07] local.INFO: TCP Data received {"connection_id":153355,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9a3b68012d7b3cc005e1aee8000b013a26..."} 
[2026-08-11 07:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9a3b68012d7b3cc005e1aee8000b013a26..."} 
[2026-08-11 07:47:07] local.INFO: Processing buffer {"connection_id":153355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9a3b68012d7b3cc005e1aee8000b013a26..."} 
[2026-08-11 07:47:07] local.INFO: Packet analysis {"connection_id":153355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9a"} 
[2026-08-11 07:47:07] local.INFO: Extracted packet for processing {"connection_id":153355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9a"} 
[2026-08-11 07:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763051200,"raw_latitude":98676456,"longitude_deg":76.30512,"latitude_deg":9.8676456,"altitude":11,"angle":314,"satellites":38,"speed":3,"hex_longitude":"2d7b3cc0","hex_latitude":"05e1aee8","is_valid_coordinates":true} 
[2026-08-11 07:47: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-08-11 07:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322114816001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880394802993991680,"note":"Value kept but may cause issues"} 
[2026-08-11 07:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117508780505169920,"note":"Value kept but may cause issues"} 
[2026-08-11 07:47:07] 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-08-11 07:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786414513000,"timestamp_ms":1786414513000,"timestamp_seconds":1786414513,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9a3b68"} 
[2026-08-11 07:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:47:07] 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-08-11 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 07:47:07] 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-08-11 07: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-08-11 07:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322114816001,"66":13222,"45":8880394802993991680,"85":15104,"24":3,"16":117508780505169920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-11 07:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322114816001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880394802993991680,"description":"Unknown IO ID 45"} 
[2026-08-11 07:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117508780505169920,"km_value":117508780505169.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:47:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457322114816001,"power":13222,"unknown_45":8880394802993991680,"unknown_85":15104,"ignition":3,"odometer":null}} 
[2026-08-11 07:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":153355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:47:07] local.INFO: GPS data processed {"connection_id":153355,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:47:07] local.INFO: Acknowledgment sent {"connection_id":153355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:47:12] local.INFO: TCP Data received {"connection_id":153355,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9a4338012d7b3c4005e1af80000b015627..."} 
[2026-08-11 07:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9a4338012d7b3c4005e1af80000b015627..."} 
[2026-08-11 07:47:12] local.INFO: Processing buffer {"connection_id":153355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9a4338012d7b3c4005e1af80000b015627..."} 
[2026-08-11 07:47:12] local.INFO: Packet analysis {"connection_id":153355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9a"} 
[2026-08-11 07:47:12] local.INFO: Extracted packet for processing {"connection_id":153355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9a"} 
[2026-08-11 07:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763051072,"raw_latitude":98676608,"longitude_deg":76.3051072,"latitude_deg":9.8676608,"altitude":11,"angle":342,"satellites":39,"speed":2,"hex_longitude":"2d7b3c40","hex_latitude":"05e1af80","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322115328001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880183696761481216,"note":"Value kept but may cause issues"} 
[2026-08-11 07:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117508789095104512,"note":"Value kept but may cause issues"} 
[2026-08-11 07:47:12] 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-08-11 07:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786414515000,"timestamp_ms":1786414515000,"timestamp_seconds":1786414515,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9a4338"} 
[2026-08-11 07:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:47:12] 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-08-11 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 07:47:12] 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-08-11 07: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-08-11 07:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322115328001,"66":12885,"45":8880183696761481216,"85":15104,"24":2,"16":117508789095104512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-11 07:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322115328001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880183696761481216,"description":"Unknown IO ID 45"} 
[2026-08-11 07:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117508789095104512,"km_value":117508789095104.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:47:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457322115328001,"power":12885,"unknown_45":8880183696761481216,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-08-11 07:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":153355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:47:12] local.INFO: GPS data processed {"connection_id":153355,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:47:12] local.INFO: Acknowledgment sent {"connection_id":153355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:47:30] local.INFO: TCP Data received {"connection_id":152015,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:47:30] local.INFO: Processing buffer {"connection_id":152015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee972a40012d840d40061d6f20000c006f2e..."} 
[2026-08-11 07:47:30] local.INFO: Packet analysis {"connection_id":152015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:47:30] local.INFO: Extracted packet for processing {"connection_id":152015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee97"} 
[2026-08-11 07:47:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:47: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-08-11 07:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457321986816001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786414312000,"timestamp_ms":1786414312000,"timestamp_seconds":1786414312,"priority":1,"record_length":96,"hex_timestamp":"0000019fee972a40"} 
[2026-08-11 07:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:47:30] 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-08-11 07:47: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:47:30] 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-08-11 07:47: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-08-11 07:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:47:30] 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-08-11 07:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457321986816001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457321986816001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:47:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:47:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457321986816001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":152015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:47:30] local.INFO: GPS data processed {"connection_id":152015,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:47:30] local.INFO: Acknowledgment sent {"connection_id":152015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:47:44] local.INFO: TCP Data received {"connection_id":153355,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9a6660012d7b39c005e1b7e8000c016325..."} 
[2026-08-11 07:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9a6660012d7b39c005e1b7e8000c016325..."} 
[2026-08-11 07:47:44] local.INFO: Processing buffer {"connection_id":153355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9a6660012d7b39c005e1b7e8000c016325..."} 
[2026-08-11 07:47:44] local.INFO: Packet analysis {"connection_id":153355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9a"} 
[2026-08-11 07:47:44] local.INFO: Extracted packet for processing {"connection_id":153355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9a"} 
[2026-08-11 07:47:44] local.INFO: GPS Element Parsed {"raw_longitude":763050432,"raw_latitude":98678760,"longitude_deg":76.3050432,"latitude_deg":9.867876,"altitude":12,"angle":355,"satellites":37,"speed":14,"hex_longitude":"2d7b39c0","hex_latitude":"05e1b7e8","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322115840001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880042959273164800,"note":"Value kept but may cause issues"} 
[2026-08-11 07:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117508900764254208,"note":"Value kept but may cause issues"} 
[2026-08-11 07:47: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-08-11 07:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786414524000,"timestamp_ms":1786414524000,"timestamp_seconds":1786414524,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9a6660"} 
[2026-08-11 07:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:47:44] 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-08-11 07: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-11 07:47:44] 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-08-11 07: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-08-11 07:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322115840001,"66":13417,"45":8880042959273164800,"85":15104,"24":14,"16":117508900764254208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-11 07:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322115840001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880042959273164800,"description":"Unknown IO ID 45"} 
[2026-08-11 07:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117508900764254208,"km_value":117508900764254.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:47:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457322115840001,"power":13417,"unknown_45":8880042959273164800,"unknown_85":15104,"ignition":14,"odometer":null}} 
[2026-08-11 07:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":153355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:47:44] local.INFO: GPS data processed {"connection_id":153355,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:47:44] local.INFO: Acknowledgment sent {"connection_id":153355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:47:53] local.INFO: TCP Data received {"connection_id":152016,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:47:53] local.INFO: Processing buffer {"connection_id":152016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:47:53] local.INFO: IMEI packet received {"connection_id":152016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":152016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:47:59] local.INFO: TCP Data received {"connection_id":152016,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:47:59] local.INFO: Processing buffer {"connection_id":152016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:47:59] local.INFO: IMEI packet received {"connection_id":152016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":152016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:48:00] local.INFO: TCP Data received {"connection_id":152016,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:48:00] local.INFO: Processing buffer {"connection_id":152016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:48:00] local.INFO: Packet analysis {"connection_id":152016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:48:00] local.INFO: Extracted packet for processing {"connection_id":152016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322063872001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786414613000,"timestamp_ms":1786414613000,"timestamp_seconds":1786414613,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9bc208"} 
[2026-08-11 07:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:48:00] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:48: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-08-11 07: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-08-11 07:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:48:00] 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-08-11 07:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322063872001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322063872001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:48:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:48:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322063872001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":152016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:48:00] local.INFO: GPS data processed {"connection_id":152016,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:48:00] local.INFO: Acknowledgment sent {"connection_id":152016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:48:07] local.INFO: TCP Data received {"connection_id":152410,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:48:07] local.INFO: Processing buffer {"connection_id":152410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:48:07] local.INFO: IMEI packet received {"connection_id":152410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":152410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:48:10] local.INFO: TCP Data received {"connection_id":152410,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:48:10] local.INFO: Processing buffer {"connection_id":152410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:48:10] local.INFO: IMEI packet received {"connection_id":152410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":152410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:48:11] local.INFO: TCP Data received {"connection_id":152410,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9c94f8012d7b064005e33b900000000018..."} 
[2026-08-11 07:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9c94f8012d7b064005e33b900000000018..."} 
[2026-08-11 07:48:11] local.INFO: Processing buffer {"connection_id":152410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9c94f8012d7b064005e33b900000000018..."} 
[2026-08-11 07:48:11] local.INFO: Packet analysis {"connection_id":152410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9c"} 
[2026-08-11 07:48:11] local.INFO: Extracted packet for processing {"connection_id":152410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9c"} 
[2026-08-11 07:48:11] local.INFO: GPS Element Parsed {"raw_longitude":763037248,"raw_latitude":98778000,"longitude_deg":76.3037248,"latitude_deg":9.8778,"altitude":0,"angle":0,"satellites":24,"speed":28,"hex_longitude":"2d7b0640","hex_latitude":"05e33b90","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322150400001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117513762667233280,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866180316693874688,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786414667000,"timestamp_ms":1786414667000,"timestamp_seconds":1786414667,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9c94f8"} 
[2026-08-11 07:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:48:11] 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-08-11 07: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 07:48:11] 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-08-11 07: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-08-11 07:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322150400001,"66":12798,"97":206,"85":15104,"24":28,"16":117513762667233280,"45":8866180316693874688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 07:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322150400001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:48:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 07:48:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117513762667233280,"km_value":117513762667233.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866180316693874688,"description":"Unknown IO ID 45"} 
[2026-08-11 07:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322150400001,"power":12798,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8866180316693874688}} 
[2026-08-11 07:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":152410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:48:11] local.INFO: GPS data processed {"connection_id":152410,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:48:11] local.INFO: Acknowledgment sent {"connection_id":152410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:48:12] local.INFO: TCP Data received {"connection_id":152410,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9c94f8012d7b064005e33b900000000018..."} 
[2026-08-11 07:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9c94f8012d7b064005e33b900000000018..."} 
[2026-08-11 07:48:12] local.INFO: Processing buffer {"connection_id":152410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9c94f8012d7b064005e33b900000000018..."} 
[2026-08-11 07:48:12] local.INFO: Packet analysis {"connection_id":152410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9c"} 
[2026-08-11 07:48:12] local.INFO: Extracted packet for processing {"connection_id":152410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9c"} 
[2026-08-11 07:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763037248,"raw_latitude":98778000,"longitude_deg":76.3037248,"latitude_deg":9.8778,"altitude":0,"angle":0,"satellites":24,"speed":28,"hex_longitude":"2d7b0640","hex_latitude":"05e33b90","is_valid_coordinates":true} 
[2026-08-11 07:48: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-08-11 07:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322154752001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117513762667233280,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864843310556745728,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786414667000,"timestamp_ms":1786414667000,"timestamp_seconds":1786414667,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9c94f8"} 
[2026-08-11 07:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:48:12] 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-08-11 07:48: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 07:48:12] 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-08-11 07:48: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-08-11 07:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322154752001,"66":12798,"97":206,"85":15104,"24":28,"16":117513762667233280,"45":8864843310556745728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 07:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322154752001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:48:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 07:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117513762667233280,"km_value":117513762667233.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864843310556745728,"description":"Unknown IO ID 45"} 
[2026-08-11 07:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322154752001,"power":12798,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8864843310556745728}} 
[2026-08-11 07:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":152410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:48:12] local.INFO: GPS data processed {"connection_id":152410,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:48:12] local.INFO: Acknowledgment sent {"connection_id":152410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:48:43] local.INFO: TCP Data received {"connection_id":152410,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9ca880012d7b060005e349900002015c1f..."} 
[2026-08-11 07:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9ca880012d7b060005e349900002015c1f..."} 
[2026-08-11 07:48:43] local.INFO: Processing buffer {"connection_id":152410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9ca880012d7b060005e349900002015c1f..."} 
[2026-08-11 07:48:43] local.INFO: Packet analysis {"connection_id":152410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9c"} 
[2026-08-11 07:48:43] local.INFO: Extracted packet for processing {"connection_id":152410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9c"} 
[2026-08-11 07:48:43] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98781584,"longitude_deg":76.3037184,"latitude_deg":9.8781584,"altitude":2,"angle":348,"satellites":31,"speed":29,"hex_longitude":"2d7b0600","hex_latitude":"05e34990","is_valid_coordinates":true} 
[2026-08-11 07:48: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-08-11 07:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322154752001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117513938760892416,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864843310556745728,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786414672000,"timestamp_ms":1786414672000,"timestamp_seconds":1786414672,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9ca880"} 
[2026-08-11 07:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:48:43] 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-08-11 07:48: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 07:48:43] 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-08-11 07:48: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-08-11 07:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322154752001,"66":13243,"97":206,"85":15104,"24":29,"16":117513938760892416,"45":8864843310556745728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 07:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322154752001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:48:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 07:48:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117513938760892416,"km_value":117513938760892.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864843310556745728,"description":"Unknown IO ID 45"} 
[2026-08-11 07:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322154752001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8864843310556745728}} 
[2026-08-11 07:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":152410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:48:43] local.INFO: GPS data processed {"connection_id":152410,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:48:43] local.INFO: Acknowledgment sent {"connection_id":152410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:48:53] local.INFO: TCP Data received {"connection_id":153356,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:48:53] local.INFO: Processing buffer {"connection_id":153356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:48:53] local.INFO: IMEI packet received {"connection_id":153356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":153356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:48:58] local.INFO: TCP Data received {"connection_id":153356,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:48:58] local.INFO: Processing buffer {"connection_id":153356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:48:58] local.INFO: IMEI packet received {"connection_id":153356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":153356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:48:58] local.INFO: TCP Data received {"connection_id":152016,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:48:58] local.INFO: Processing buffer {"connection_id":152016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:48:58] local.INFO: Packet analysis {"connection_id":152016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:48:58] local.INFO: Extracted packet for processing {"connection_id":152016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:48:58] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322063872001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786414613000,"timestamp_ms":1786414613000,"timestamp_seconds":1786414613,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9bc208"} 
[2026-08-11 07:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:48:58] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:48:58] 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-08-11 07: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-08-11 07:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:48:58] 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-08-11 07:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322063872001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322063872001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:48:58] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:48:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322063872001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":152016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:48:58] local.INFO: GPS data processed {"connection_id":152016,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:48:58] local.INFO: Acknowledgment sent {"connection_id":152016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:48:58] local.INFO: TCP Data received {"connection_id":152017,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:48:58] local.INFO: Processing buffer {"connection_id":152017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:48:58] local.INFO: IMEI packet received {"connection_id":152017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":152017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:48:59] local.INFO: TCP Data received {"connection_id":153356,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:48:59] local.INFO: Processing buffer {"connection_id":153356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:48:59] local.INFO: Packet analysis {"connection_id":153356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:48:59] local.INFO: Extracted packet for processing {"connection_id":153356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322063872001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786414613000,"timestamp_ms":1786414613000,"timestamp_seconds":1786414613,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9bc208"} 
[2026-08-11 07:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:48:59] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:48:59] 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-08-11 07: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-08-11 07:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:48:59] 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-08-11 07:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322063872001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322063872001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:48:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:48:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322063872001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":153356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:48:59] local.INFO: GPS data processed {"connection_id":153356,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:48:59] local.INFO: Acknowledgment sent {"connection_id":153356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:49:02] local.INFO: TCP Data received {"connection_id":152017,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:49:02] local.INFO: Processing buffer {"connection_id":152017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:49:02] local.INFO: IMEI packet received {"connection_id":152017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":152017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:49:07] local.INFO: TCP Data received {"connection_id":152017,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:49:07] local.INFO: Processing buffer {"connection_id":152017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:49:07] local.INFO: IMEI packet received {"connection_id":152017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":152017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:49:08] local.INFO: TCP Data received {"connection_id":152017,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9cb438012d7b030005e352400002015122..."} 
[2026-08-11 07:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9cb438012d7b030005e352400002015122..."} 
[2026-08-11 07:49:08] local.INFO: Processing buffer {"connection_id":152017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9cb438012d7b030005e352400002015122..."} 
[2026-08-11 07:49:08] local.INFO: Packet analysis {"connection_id":152017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9c"} 
[2026-08-11 07:49:08] local.INFO: Extracted packet for processing {"connection_id":152017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9c"} 
[2026-08-11 07:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763036416,"raw_latitude":98783808,"longitude_deg":76.3036416,"latitude_deg":9.8783808,"altitude":2,"angle":337,"satellites":34,"speed":32,"hex_longitude":"2d7b0300","hex_latitude":"05e35240","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322156032001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117514050430042112,"note":"Value kept but may cause issues"} 
[2026-08-11 07:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941813485568,"note":"Value kept but may cause issues"} 
[2026-08-11 07:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786414675000,"timestamp_ms":1786414675000,"timestamp_seconds":1786414675,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9cb438"} 
[2026-08-11 07:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:49:08] 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-08-11 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 07:49:08] 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-08-11 07: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-08-11 07:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322156032001,"66":13276,"97":206,"85":15104,"24":32,"16":117514050430042112,"45":8864772941813485568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 07:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322156032001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:49:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 07:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117514050430042112,"km_value":117514050430042.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941813485568,"description":"Unknown IO ID 45"} 
[2026-08-11 07:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322156032001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8864772941813485568}} 
[2026-08-11 07:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":152017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:49:08] local.INFO: GPS data processed {"connection_id":152017,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:49:08] local.INFO: Acknowledgment sent {"connection_id":152017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:49:33] local.INFO: TCP Data received {"connection_id":153356,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:49:33] local.INFO: Processing buffer {"connection_id":153356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:49:33] local.INFO: Packet analysis {"connection_id":153356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:49:33] local.INFO: Extracted packet for processing {"connection_id":153356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322063872001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786414613000,"timestamp_ms":1786414613000,"timestamp_seconds":1786414613,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9bc208"} 
[2026-08-11 07:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:49:33] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:49:33] 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-08-11 07: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-08-11 07:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":153356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":153356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":153356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:49:33] 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-08-11 07:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322063872001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322063872001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:49:33] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:49:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322063872001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":153356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:49:33] local.INFO: GPS data processed {"connection_id":153356,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:49:33] local.INFO: Acknowledgment sent {"connection_id":153356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:49:39] local.INFO: TCP Data received {"connection_id":152017,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9ce700012d7af80005e37588000401562b..."} 
[2026-08-11 07:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9ce700012d7af80005e37588000401562b..."} 
[2026-08-11 07:49:39] local.INFO: Processing buffer {"connection_id":152017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9ce700012d7af80005e37588000401562b..."} 
[2026-08-11 07:49:39] local.INFO: Packet analysis {"connection_id":152017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9c"} 
[2026-08-11 07:49:39] local.INFO: Extracted packet for processing {"connection_id":152017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9c"} 
[2026-08-11 07:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763033600,"raw_latitude":98792840,"longitude_deg":76.30336,"latitude_deg":9.879284,"altitude":4,"angle":342,"satellites":43,"speed":28,"hex_longitude":"2d7af800","hex_latitude":"05e37588","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322156800001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117514509991542784,"note":"Value kept but may cause issues"} 
[2026-08-11 07:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863928516883922944,"note":"Value kept but may cause issues"} 
[2026-08-11 07:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786414688000,"timestamp_ms":1786414688000,"timestamp_seconds":1786414688,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9ce700"} 
[2026-08-11 07:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:49:39] 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-08-11 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-11 07:49:39] 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-08-11 07: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-08-11 07:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322156800001,"66":13189,"97":206,"85":15104,"24":28,"16":117514509991542784,"45":8863928516883922944},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 07:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322156800001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:49:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 07:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 07:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117514509991542784,"km_value":117514509991542.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863928516883922944,"description":"Unknown IO ID 45"} 
[2026-08-11 07:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322156800001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8863928516883922944}} 
[2026-08-11 07:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":152017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:49:39] local.INFO: GPS data processed {"connection_id":152017,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:49:39] local.INFO: Acknowledgment sent {"connection_id":152017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:49:58] local.INFO: TCP Data received {"connection_id":153357,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:49:58] local.INFO: Processing buffer {"connection_id":153357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:49:58] local.INFO: IMEI packet received {"connection_id":153357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":153357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:50:01] local.INFO: TCP Data received {"connection_id":152411,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:50:01] local.INFO: Processing buffer {"connection_id":152411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:50:01] local.INFO: IMEI packet received {"connection_id":152411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":152411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:50:03] local.INFO: TCP Data received {"connection_id":153357,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:50:03] local.INFO: Processing buffer {"connection_id":153357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:50:03] local.INFO: IMEI packet received {"connection_id":153357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":153357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:50:04] local.INFO: TCP Data received {"connection_id":153357,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:50:04] local.INFO: Processing buffer {"connection_id":153357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:50:04] local.INFO: Packet analysis {"connection_id":153357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:50:04] local.INFO: Extracted packet for processing {"connection_id":153357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:50:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322063872001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786414613000,"timestamp_ms":1786414613000,"timestamp_seconds":1786414613,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9bc208"} 
[2026-08-11 07:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:50:04] 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-08-11 07: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:50: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-08-11 07: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-08-11 07:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:50:04] 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-08-11 07:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322063872001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322063872001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:50:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:50:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322063872001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":153357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:50:04] local.INFO: GPS data processed {"connection_id":153357,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:50:04] local.INFO: Acknowledgment sent {"connection_id":153357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:50:09] local.INFO: TCP Data received {"connection_id":152411,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:50:09] local.INFO: Processing buffer {"connection_id":152411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:50:09] local.INFO: IMEI packet received {"connection_id":152411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":152411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:50:10] local.INFO: TCP Data received {"connection_id":152411,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 07:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152411,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 07:50:10] local.INFO: Processing buffer {"connection_id":152411,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 07:50:10] local.INFO: IMEI packet received {"connection_id":152411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":152411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:50:35] local.INFO: TCP Data received {"connection_id":153357,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:50:35] local.INFO: Processing buffer {"connection_id":153357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:50:35] local.INFO: Packet analysis {"connection_id":153357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:50:35] local.INFO: Extracted packet for processing {"connection_id":153357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:50:35] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322063872001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786414613000,"timestamp_ms":1786414613000,"timestamp_seconds":1786414613,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9bc208"} 
[2026-08-11 07:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:50:35] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:50: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-08-11 07: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-08-11 07:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:50:35] 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-08-11 07:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322063872001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322063872001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:50:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:50:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322063872001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":153357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:50:35] local.INFO: GPS data processed {"connection_id":153357,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:50:35] local.INFO: Acknowledgment sent {"connection_id":153357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:50:53] local.INFO: TCP Data received {"connection_id":152018,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:50:53] local.INFO: Processing buffer {"connection_id":152018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:50:53] local.INFO: IMEI packet received {"connection_id":152018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":152018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:50:58] local.INFO: TCP Data received {"connection_id":152018,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:50:58] local.INFO: Processing buffer {"connection_id":152018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:50:58] local.INFO: IMEI packet received {"connection_id":152018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":152018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:50:59] local.INFO: TCP Data received {"connection_id":152018,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:50:59] local.INFO: Processing buffer {"connection_id":152018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:50:59] local.INFO: Packet analysis {"connection_id":152018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:50:59] local.INFO: Extracted packet for processing {"connection_id":152018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322063872001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786414613000,"timestamp_ms":1786414613000,"timestamp_seconds":1786414613,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9bc208"} 
[2026-08-11 07:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:50:59] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:50:59] 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-08-11 07: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-08-11 07:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:50:59] 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-08-11 07:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322063872001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322063872001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:50:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:50:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322063872001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":152018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:50:59] local.INFO: GPS data processed {"connection_id":152018,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:50:59] local.INFO: Acknowledgment sent {"connection_id":152018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:51:30] local.INFO: TCP Data received {"connection_id":152018,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:51:30] local.INFO: Processing buffer {"connection_id":152018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:51:30] local.INFO: Packet analysis {"connection_id":152018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:51:30] local.INFO: Extracted packet for processing {"connection_id":152018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322063872001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786414613000,"timestamp_ms":1786414613000,"timestamp_seconds":1786414613,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9bc208"} 
[2026-08-11 07:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:51:30] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:51:30] 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-08-11 07: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-08-11 07:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:51:30] 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-08-11 07:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322063872001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322063872001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:51:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:51:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322063872001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":152018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:51:30] local.INFO: GPS data processed {"connection_id":152018,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:51:30] local.INFO: Acknowledgment sent {"connection_id":152018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:51:53] local.INFO: TCP Data received {"connection_id":154750,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:51:53] local.INFO: Processing buffer {"connection_id":154750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:51:53] local.INFO: IMEI packet received {"connection_id":154750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":154750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:51:58] local.INFO: TCP Data received {"connection_id":154750,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:51:58] local.INFO: Processing buffer {"connection_id":154750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:51:58] local.INFO: IMEI packet received {"connection_id":154750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":154750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:51:59] local.INFO: TCP Data received {"connection_id":154750,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:51:59] local.INFO: Processing buffer {"connection_id":154750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:51:59] local.INFO: Packet analysis {"connection_id":154750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:51:59] local.INFO: Extracted packet for processing {"connection_id":154750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:51: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-08-11 07:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322063872001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786414613000,"timestamp_ms":1786414613000,"timestamp_seconds":1786414613,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9bc208"} 
[2026-08-11 07:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:51:59] 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-08-11 07:51: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:51:59] 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-08-11 07:51: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-08-11 07:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:51:59] 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-08-11 07:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322063872001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322063872001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:51:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:51:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322063872001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":154750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:51:59] local.INFO: GPS data processed {"connection_id":154750,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:51:59] local.INFO: Acknowledgment sent {"connection_id":154750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:52:30] local.INFO: TCP Data received {"connection_id":154750,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:52:30] local.INFO: Processing buffer {"connection_id":154750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fee9bc208012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:52:30] local.INFO: Packet analysis {"connection_id":154750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:52:30] local.INFO: Extracted packet for processing {"connection_id":154750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fee9b"} 
[2026-08-11 07:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:52: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-08-11 07:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322063872001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786414613000,"timestamp_ms":1786414613000,"timestamp_seconds":1786414613,"priority":1,"record_length":96,"hex_timestamp":"0000019fee9bc208"} 
[2026-08-11 07:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:52:30] 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-08-11 07:52: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:52:30] 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-08-11 07:52: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-08-11 07:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:52:30] 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-08-11 07:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322063872001,"66":25647,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322063872001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:52:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:52:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322063872001,"power":25647,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":154750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:52:30] local.INFO: GPS data processed {"connection_id":154750,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:52:30] local.INFO: Acknowledgment sent {"connection_id":154750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:52:53] local.INFO: TCP Data received {"connection_id":154751,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:52:53] local.INFO: Processing buffer {"connection_id":154751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:52:53] local.INFO: IMEI packet received {"connection_id":154751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":154751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:52:58] local.INFO: TCP Data received {"connection_id":154751,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:52:58] local.INFO: Processing buffer {"connection_id":154751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:52:58] local.INFO: IMEI packet received {"connection_id":154751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":154751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:52:59] local.INFO: TCP Data received {"connection_id":154751,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feea059d0012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea059d0012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:52:59] local.INFO: Processing buffer {"connection_id":154751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea059d0012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:52:59] local.INFO: Packet analysis {"connection_id":154751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea0"} 
[2026-08-11 07:52:59] local.INFO: Extracted packet for processing {"connection_id":154751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea0"} 
[2026-08-11 07:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322140928001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786414914000,"timestamp_ms":1786414914000,"timestamp_seconds":1786414914,"priority":1,"record_length":96,"hex_timestamp":"0000019feea059d0"} 
[2026-08-11 07:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:52: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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:52:59] 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-08-11 07: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-08-11 07:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322140928001,"66":25625,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322140928001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:52:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:52:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322140928001,"power":25625,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":154751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:52:59] local.INFO: GPS data processed {"connection_id":154751,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:52:59] local.INFO: Acknowledgment sent {"connection_id":154751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:53:30] local.INFO: TCP Data received {"connection_id":154751,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feea059d0012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea059d0012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:53:30] local.INFO: Processing buffer {"connection_id":154751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea059d0012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:53:30] local.INFO: Packet analysis {"connection_id":154751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea0"} 
[2026-08-11 07:53:30] local.INFO: Extracted packet for processing {"connection_id":154751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea0"} 
[2026-08-11 07:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322140928001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786414914000,"timestamp_ms":1786414914000,"timestamp_seconds":1786414914,"priority":1,"record_length":96,"hex_timestamp":"0000019feea059d0"} 
[2026-08-11 07:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:53:30] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:53:30] 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-08-11 07: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-08-11 07:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322140928001,"66":25625,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322140928001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:53:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:53:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322140928001,"power":25625,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":154751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:53:30] local.INFO: GPS data processed {"connection_id":154751,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:53:30] local.INFO: Acknowledgment sent {"connection_id":154751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:53:58] local.INFO: TCP Data received {"connection_id":154752,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:53:58] local.INFO: Processing buffer {"connection_id":154752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:53:58] local.INFO: IMEI packet received {"connection_id":154752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":154752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:54:03] local.INFO: TCP Data received {"connection_id":154752,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:54:03] local.INFO: Processing buffer {"connection_id":154752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:54:03] local.INFO: IMEI packet received {"connection_id":154752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":154752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:54:04] local.INFO: TCP Data received {"connection_id":154752,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feea059d0012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea059d0012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:54:04] local.INFO: Processing buffer {"connection_id":154752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea059d0012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:54:04] local.INFO: Packet analysis {"connection_id":154752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea0"} 
[2026-08-11 07:54:04] local.INFO: Extracted packet for processing {"connection_id":154752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea0"} 
[2026-08-11 07:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322140928001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786414914000,"timestamp_ms":1786414914000,"timestamp_seconds":1786414914,"priority":1,"record_length":96,"hex_timestamp":"0000019feea059d0"} 
[2026-08-11 07:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:54:04] 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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:54: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-08-11 07: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-08-11 07:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07: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-08-11 07:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322140928001,"66":25625,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322140928001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:54:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:54:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322140928001,"power":25625,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":154752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:54:04] local.INFO: GPS data processed {"connection_id":154752,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:54:04] local.INFO: Acknowledgment sent {"connection_id":154752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:54:08] local.INFO: TCP Data received {"connection_id":154752,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019feea059d0012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea059d0012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:54:08] local.INFO: Processing buffer {"connection_id":154752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea059d0012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:54:08] local.INFO: Packet analysis {"connection_id":154752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea0"} 
[2026-08-11 07:54:08] local.INFO: Extracted packet for processing {"connection_id":154752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea0"} 
[2026-08-11 07:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:54: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-08-11 07:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322140928001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786414914000,"timestamp_ms":1786414914000,"timestamp_seconds":1786414914,"priority":1,"record_length":96,"hex_timestamp":"0000019feea059d0"} 
[2026-08-11 07:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:54:08] 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-08-11 07:54: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-08-11 07:54: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-08-11 07:54: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-08-11 07:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:54: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-08-11 07:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322140928001,"66":25625,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322140928001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:54:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:54:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322140928001,"power":25625,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":154752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:54:08] local.INFO: GPS data processed {"connection_id":154752,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:54:08] local.INFO: Acknowledgment sent {"connection_id":154752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:54:53] local.INFO: TCP Data received {"connection_id":153359,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:54:53] local.INFO: Processing buffer {"connection_id":153359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:54:53] local.INFO: IMEI packet received {"connection_id":153359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":153359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:54:58] local.INFO: TCP Data received {"connection_id":153359,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:54:58] local.INFO: Processing buffer {"connection_id":153359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:54:58] local.INFO: IMEI packet received {"connection_id":153359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":153359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:54:59] local.INFO: TCP Data received {"connection_id":153359,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea059d0012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea059d0012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:54:59] local.INFO: Processing buffer {"connection_id":153359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea059d0012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:54:59] local.INFO: Packet analysis {"connection_id":153359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea0"} 
[2026-08-11 07:54:59] local.INFO: Extracted packet for processing {"connection_id":153359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea0"} 
[2026-08-11 07:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322140928001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786414914000,"timestamp_ms":1786414914000,"timestamp_seconds":1786414914,"priority":1,"record_length":96,"hex_timestamp":"0000019feea059d0"} 
[2026-08-11 07:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:54: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-08-11 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 07:54:59] 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-08-11 07: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-08-11 07:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:54:59] 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-08-11 07:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322140928001,"66":25625,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322140928001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:54:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:54:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322140928001,"power":25625,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":153359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:54:59] local.INFO: GPS data processed {"connection_id":153359,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:54:59] local.INFO: Acknowledgment sent {"connection_id":153359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:55:07] local.INFO: TCP Data received {"connection_id":152413,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:55:07] local.INFO: Processing buffer {"connection_id":152413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:55:07] local.INFO: IMEI packet received {"connection_id":152413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":152413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:55:08] local.INFO: TCP Data received {"connection_id":152413,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feea1b578012d79d40005e45dc00009013d29..."} 
[2026-08-11 07:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea1b578012d79d40005e45dc00009013d29..."} 
[2026-08-11 07:55:08] local.INFO: Processing buffer {"connection_id":152413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea1b578012d79d40005e45dc00009013d29..."} 
[2026-08-11 07:55:08] local.INFO: Packet analysis {"connection_id":152413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea1"} 
[2026-08-11 07:55:08] local.INFO: Extracted packet for processing {"connection_id":152413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea1"} 
[2026-08-11 07:55:08] local.INFO: GPS Element Parsed {"raw_longitude":762958848,"raw_latitude":98852288,"longitude_deg":76.2958848,"latitude_deg":9.8852288,"altitude":9,"angle":317,"satellites":41,"speed":4,"hex_longitude":"2d79d400","hex_latitude":"05e45dc0","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322239488001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117520136398700544,"note":"Value kept but may cause issues"} 
[2026-08-11 07:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778852705190606848,"note":"Value kept but may cause issues"} 
[2026-08-11 07:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786415003000,"timestamp_ms":1786415003000,"timestamp_seconds":1786415003,"priority":1,"record_length":96,"hex_timestamp":"0000019feea1b578"} 
[2026-08-11 07:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:55:08] 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-08-11 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 07:55:08] 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-08-11 07: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-08-11 07:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322239488001,"66":12961,"145":206,"87":12288,"24":4,"16":117520136398700544,"45":8778852705190606848},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-11 07:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322239488001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:55:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-11 07:55:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 07:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117520136398700544,"km_value":117520136398700.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778852705190606848,"description":"Unknown IO ID 45"} 
[2026-08-11 07:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322239488001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":4,"odometer":null,"unknown_45":8778852705190606848}} 
[2026-08-11 07:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":152413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:55:08] local.INFO: GPS data processed {"connection_id":152413,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:55:08] local.INFO: Acknowledgment sent {"connection_id":152413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:55:30] local.INFO: TCP Data received {"connection_id":153359,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea2b748012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea2b748012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:55:30] local.INFO: Processing buffer {"connection_id":153359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea2b748012d840d40061d6f20000c006f30..."} 
[2026-08-11 07:55:30] local.INFO: Packet analysis {"connection_id":153359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea2"} 
[2026-08-11 07:55:30] local.INFO: Extracted packet for processing {"connection_id":153359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea2"} 
[2026-08-11 07:55:30] local.INFO: GPS Element Parsed {"raw_longitude":763628864,"raw_latitude":102592288,"longitude_deg":76.3628864,"latitude_deg":10.2592288,"altitude":12,"angle":111,"satellites":48,"speed":0,"hex_longitude":"2d840d40","hex_latitude":"061d6f20","is_valid_coordinates":true} 
[2026-08-11 07:55:30] 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-08-11 07:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322217984001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786415069000,"timestamp_ms":1786415069000,"timestamp_seconds":1786415069,"priority":1,"record_length":96,"hex_timestamp":"0000019feea2b748"} 
[2026-08-11 07:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:55:30] 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-08-11 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-11 07:55: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-08-11 07: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-08-11 07:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:55:30] 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-08-11 07:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322217984001,"66":25680,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322217984001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:55:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:55:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322217984001,"power":25680,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":153359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:55:30] local.INFO: GPS data processed {"connection_id":153359,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:55:30] local.INFO: Acknowledgment sent {"connection_id":153359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:55:39] local.INFO: TCP Data received {"connection_id":152413,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feea1b960012d79d34005e45e88000901532a..."} 
[2026-08-11 07:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea1b960012d79d34005e45e88000901532a..."} 
[2026-08-11 07:55:39] local.INFO: Processing buffer {"connection_id":152413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea1b960012d79d34005e45e88000901532a..."} 
[2026-08-11 07:55:39] local.INFO: Packet analysis {"connection_id":152413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea1"} 
[2026-08-11 07:55:39] local.INFO: Extracted packet for processing {"connection_id":152413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea1"} 
[2026-08-11 07:55:39] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98852488,"longitude_deg":76.2958656,"latitude_deg":9.8852488,"altitude":9,"angle":339,"satellites":42,"speed":9,"hex_longitude":"2d79d340","hex_latitude":"05e45e88","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322240768001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117520144988635136,"note":"Value kept but may cause issues"} 
[2026-08-11 07:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778641598958125056,"note":"Value kept but may cause issues"} 
[2026-08-11 07:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786415004000,"timestamp_ms":1786415004000,"timestamp_seconds":1786415004,"priority":1,"record_length":96,"hex_timestamp":"0000019feea1b960"} 
[2026-08-11 07:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:55:39] 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-08-11 07: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-11 07:55:39] 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-08-11 07: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-08-11 07:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322240768001,"66":12961,"145":206,"87":12288,"24":9,"16":117520144988635136,"45":8778641598958125056},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-11 07:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322240768001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:55:39] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-11 07:55:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 07:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117520144988635136,"km_value":117520144988635.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778641598958125056,"description":"Unknown IO ID 45"} 
[2026-08-11 07:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322240768001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8778641598958125056}} 
[2026-08-11 07:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":152413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:55:39] local.INFO: GPS data processed {"connection_id":152413,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:55:39] local.INFO: Acknowledgment sent {"connection_id":152413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:55:53] local.INFO: TCP Data received {"connection_id":152020,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:55:53] local.INFO: Processing buffer {"connection_id":152020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:55:53] local.INFO: IMEI packet received {"connection_id":152020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":152020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:55:55] local.INFO: TCP Data received {"connection_id":152020,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:55:55] local.INFO: Processing buffer {"connection_id":152020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:55:55] local.INFO: IMEI packet received {"connection_id":152020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":152020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:55:56] local.INFO: TCP Data received {"connection_id":152020,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:55:56] local.INFO: Processing buffer {"connection_id":152020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:55:56] local.INFO: IMEI packet received {"connection_id":152020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":152020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:55:56] local.INFO: TCP Data received {"connection_id":152020,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea30d38012d841280061d6dd0000c006e30..."} 
[2026-08-11 07:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea30d38012d841280061d6dd0000c006e30..."} 
[2026-08-11 07:55:56] local.INFO: Processing buffer {"connection_id":152020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea30d38012d841280061d6dd0000c006e30..."} 
[2026-08-11 07:55:56] local.INFO: Packet analysis {"connection_id":152020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:55:56] local.INFO: Extracted packet for processing {"connection_id":152020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763630208,"raw_latitude":102591952,"longitude_deg":76.3630208,"latitude_deg":10.2591952,"altitude":12,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d841280","hex_latitude":"061d6dd0","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322257664001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931412090998022144,"note":"Value kept but may cause issues"} 
[2026-08-11 07:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786415091000,"timestamp_ms":1786415091000,"timestamp_seconds":1786415091,"priority":1,"record_length":96,"hex_timestamp":"0000019feea30d38"} 
[2026-08-11 07:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:55: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-08-11 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 07:55:56] 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-08-11 07: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-08-11 07:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:55:56] 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-08-11 07:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322257664001,"66":27876,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8931412090998022144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322257664001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:55:56] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:55:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931412090998022144,"description":"Unknown IO ID 45"} 
[2026-08-11 07:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322257664001,"power":27876,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8931412090998022144}} 
[2026-08-11 07:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":152020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:55:56] local.INFO: GPS data processed {"connection_id":152020,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:55:56] local.INFO: Acknowledgment sent {"connection_id":152020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:55:58] local.INFO: TCP Data received {"connection_id":152020,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea35f40012d841280061d6dd0000c006e30..."} 
[2026-08-11 07:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea35f40012d841280061d6dd0000c006e30..."} 
[2026-08-11 07:55:58] local.INFO: Processing buffer {"connection_id":152020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea35f40012d841280061d6dd0000c006e30..."} 
[2026-08-11 07:55:58] local.INFO: Packet analysis {"connection_id":152020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:55:58] local.INFO: Extracted packet for processing {"connection_id":152020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763630208,"raw_latitude":102591952,"longitude_deg":76.3630208,"latitude_deg":10.2591952,"altitude":12,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d841280","hex_latitude":"061d6dd0","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322263296001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158700512575488,"note":"Value kept but may cause issues"} 
[2026-08-11 07:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8929934347370377216,"note":"Value kept but may cause issues"} 
[2026-08-11 07:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786415112000,"timestamp_ms":1786415112000,"timestamp_seconds":1786415112,"priority":1,"record_length":96,"hex_timestamp":"0000019feea35f40"} 
[2026-08-11 07:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:55: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-08-11 07: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 07:55:58] 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-08-11 07: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-08-11 07:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:55:58] 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-08-11 07:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322263296001,"66":27767,"117":206,"79":21504,"24":0,"16":377158700512575488,"45":-8929934347370377216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322263296001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:55:58] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:55:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158700512575488,"km_value":377158700512575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8929934347370377216,"description":"Unknown IO ID 45"} 
[2026-08-11 07:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322263296001,"power":27767,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8929934347370377216}} 
[2026-08-11 07:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":152020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:55:58] local.INFO: GPS data processed {"connection_id":152020,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:55:58] local.INFO: Acknowledgment sent {"connection_id":152020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:56:06] local.INFO: TCP Data received {"connection_id":154753,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:56:06] local.INFO: Processing buffer {"connection_id":154753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:56:06] local.INFO: IMEI packet received {"connection_id":154753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":154753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:56:06] local.INFO: TCP Data received {"connection_id":154753,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:56:06] local.INFO: Processing buffer {"connection_id":154753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:56:06] local.INFO: IMEI packet received {"connection_id":154753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":154753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:56:07] local.INFO: TCP Data received {"connection_id":154753,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feea1c130012d79d2c005e45ff00009016627..."} 
[2026-08-11 07:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea1c130012d79d2c005e45ff00009016627..."} 
[2026-08-11 07:56:07] local.INFO: Processing buffer {"connection_id":154753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea1c130012d79d2c005e45ff00009016627..."} 
[2026-08-11 07:56:07] local.INFO: Packet analysis {"connection_id":154753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea1"} 
[2026-08-11 07:56:07] local.INFO: Extracted packet for processing {"connection_id":154753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea1"} 
[2026-08-11 07:56:07] local.INFO: GPS Element Parsed {"raw_longitude":762958528,"raw_latitude":98852848,"longitude_deg":76.2958528,"latitude_deg":9.8852848,"altitude":9,"angle":358,"satellites":39,"speed":4,"hex_longitude":"2d79d2c0","hex_latitude":"05e45ff0","is_valid_coordinates":true} 
[2026-08-11 07:56: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-08-11 07:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322241024001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117520166463471616,"note":"Value kept but may cause issues"} 
[2026-08-11 07:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778430492725643264,"note":"Value kept but may cause issues"} 
[2026-08-11 07:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786415006000,"timestamp_ms":1786415006000,"timestamp_seconds":1786415006,"priority":1,"record_length":96,"hex_timestamp":"0000019feea1c130"} 
[2026-08-11 07:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:56:07] 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-08-11 07: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-11 07:56:07] 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-08-11 07: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-08-11 07:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322241024001,"66":13102,"145":206,"87":12288,"24":4,"16":117520166463471616,"45":8778430492725643264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-11 07:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322241024001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:56:07] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-11 07:56:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 07:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117520166463471616,"km_value":117520166463471.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778430492725643264,"description":"Unknown IO ID 45"} 
[2026-08-11 07:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322241024001,"power":13102,"unknown_145":206,"unknown_87":12288,"ignition":4,"odometer":null,"unknown_45":8778430492725643264}} 
[2026-08-11 07:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":154753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:56:07] local.INFO: GPS data processed {"connection_id":154753,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:56:07] local.INFO: Acknowledgment sent {"connection_id":154753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:56:12] local.INFO: TCP Data received {"connection_id":154753,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feea1cce8012d79d2c005e45fe00009009c28..."} 
[2026-08-11 07:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea1cce8012d79d2c005e45fe00009009c28..."} 
[2026-08-11 07:56:12] local.INFO: Processing buffer {"connection_id":154753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea1cce8012d79d2c005e45fe00009009c28..."} 
[2026-08-11 07:56:12] local.INFO: Packet analysis {"connection_id":154753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea1"} 
[2026-08-11 07:56:12] local.INFO: Extracted packet for processing {"connection_id":154753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea1"} 
[2026-08-11 07:56:12] local.INFO: GPS Element Parsed {"raw_longitude":762958528,"raw_latitude":98852832,"longitude_deg":76.2958528,"latitude_deg":9.8852832,"altitude":9,"angle":156,"satellites":40,"speed":0,"hex_longitude":"2d79d2c0","hex_latitude":"05e45fe0","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322241536001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117520170758438912,"note":"Value kept but may cause issues"} 
[2026-08-11 07:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778289755237380096,"note":"Value kept but may cause issues"} 
[2026-08-11 07:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786415009000,"timestamp_ms":1786415009000,"timestamp_seconds":1786415009,"priority":1,"record_length":96,"hex_timestamp":"0000019feea1cce8"} 
[2026-08-11 07:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:56:12] 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-08-11 07: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 07:56:12] 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-08-11 07: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-08-11 07:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":154753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":154753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":154753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322241536001,"66":13374,"145":206,"87":12288,"24":0,"16":117520170758438912,"45":8778289755237380096},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-11 07:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322241536001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:56:12] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-11 07:56:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 07:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117520170758438912,"km_value":117520170758438.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778289755237380096,"description":"Unknown IO ID 45"} 
[2026-08-11 07:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322241536001,"power":13374,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778289755237380096}} 
[2026-08-11 07:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":154753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:56:12] local.INFO: GPS data processed {"connection_id":154753,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:56:12] local.INFO: Acknowledgment sent {"connection_id":154753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:56:41] local.INFO: TCP Data received {"connection_id":152020,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea372c8012d841240061d6dd0000b007f30..."} 
[2026-08-11 07:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea372c8012d841240061d6dd0000b007f30..."} 
[2026-08-11 07:56:41] local.INFO: Processing buffer {"connection_id":152020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea372c8012d841240061d6dd0000b007f30..."} 
[2026-08-11 07:56:41] local.INFO: Packet analysis {"connection_id":152020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:56:41] local.INFO: Extracted packet for processing {"connection_id":152020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763630144,"raw_latitude":102591952,"longitude_deg":76.3630144,"latitude_deg":10.2591952,"altitude":11,"angle":127,"satellites":48,"speed":3,"hex_longitude":"2d841240","hex_latitude":"061d6dd0","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322268672001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158704807542784,"note":"Value kept but may cause issues"} 
[2026-08-11 07:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8929934347370377216,"note":"Value kept but may cause issues"} 
[2026-08-11 07:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786415117000,"timestamp_ms":1786415117000,"timestamp_seconds":1786415117,"priority":1,"record_length":96,"hex_timestamp":"0000019feea372c8"} 
[2026-08-11 07:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:56:41] 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-08-11 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 07:56: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-08-11 07: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-08-11 07:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:56:41] 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-08-11 07:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322268672001,"66":27767,"117":206,"79":21504,"24":3,"16":377158704807542784,"45":-8929934347370377216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322268672001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:56:41] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:56:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158704807542784,"km_value":377158704807542.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8929934347370377216,"description":"Unknown IO ID 45"} 
[2026-08-11 07:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322268672001,"power":27767,"unknown_117":206,"unknown_79":21504,"ignition":3,"odometer":null,"unknown_45":-8929934347370377216}} 
[2026-08-11 07:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":152020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:56:41] local.INFO: GPS data processed {"connection_id":152020,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:56:41] local.INFO: Acknowledgment sent {"connection_id":152020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:56:43] local.INFO: TCP Data received {"connection_id":154753,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feea1e070012d79d2c005e45eb0000900a828..."} 
[2026-08-11 07:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea1e070012d79d2c005e45eb0000900a828..."} 
[2026-08-11 07:56:43] local.INFO: Processing buffer {"connection_id":154753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea1e070012d79d2c005e45eb0000900a828..."} 
[2026-08-11 07:56:43] local.INFO: Packet analysis {"connection_id":154753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea1"} 
[2026-08-11 07:56:43] local.INFO: Extracted packet for processing {"connection_id":154753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea1"} 
[2026-08-11 07:56:43] local.INFO: GPS Element Parsed {"raw_longitude":762958528,"raw_latitude":98852528,"longitude_deg":76.2958528,"latitude_deg":9.8852528,"altitude":9,"angle":168,"satellites":40,"speed":2,"hex_longitude":"2d79d2c0","hex_latitude":"05e45eb0","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322242304001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117520187938308096,"note":"Value kept but may cause issues"} 
[2026-08-11 07:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778289755237376000,"note":"Value kept but may cause issues"} 
[2026-08-11 07:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786415014000,"timestamp_ms":1786415014000,"timestamp_seconds":1786415014,"priority":1,"record_length":96,"hex_timestamp":"0000019feea1e070"} 
[2026-08-11 07:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:56:43] 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-08-11 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 07:56:43] 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-08-11 07: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-08-11 07:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":154753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":154753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":154753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 07:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322242304001,"66":13243,"145":206,"87":12288,"24":2,"16":117520187938308096,"45":8778289755237376000},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-11 07:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322242304001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:56:43] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-11 07:56:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 07:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117520187938308096,"km_value":117520187938308.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778289755237376000,"description":"Unknown IO ID 45"} 
[2026-08-11 07:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322242304001,"power":13243,"unknown_145":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8778289755237376000}} 
[2026-08-11 07:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":154753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:56:43] local.INFO: GPS data processed {"connection_id":154753,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:56:43] local.INFO: Acknowledgment sent {"connection_id":154753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:56:53] local.INFO: TCP Data received {"connection_id":152414,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:56:53] local.INFO: Processing buffer {"connection_id":152414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:56:53] local.INFO: IMEI packet received {"connection_id":152414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":152414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:56:58] local.INFO: TCP Data received {"connection_id":152414,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:56:58] local.INFO: Processing buffer {"connection_id":152414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:56:58] local.INFO: IMEI packet received {"connection_id":152414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":152414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:56:59] local.INFO: TCP Data received {"connection_id":152414,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea376b0012d841280061d6d78000b008e30..."} 
[2026-08-11 07:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea376b0012d841280061d6d78000b008e30..."} 
[2026-08-11 07:56:59] local.INFO: Processing buffer {"connection_id":152414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea376b0012d841280061d6d78000b008e30..."} 
[2026-08-11 07:56:59] local.INFO: Packet analysis {"connection_id":152414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:56:59] local.INFO: Extracted packet for processing {"connection_id":152414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763630208,"raw_latitude":102591864,"longitude_deg":76.3630208,"latitude_deg":10.2591864,"altitude":11,"angle":142,"satellites":48,"speed":4,"hex_longitude":"2d841280","hex_latitude":"061d6d78","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322269952001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158709102510080,"note":"Value kept but may cause issues"} 
[2026-08-11 07:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8930004716114554880,"note":"Value kept but may cause issues"} 
[2026-08-11 07:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786415118000,"timestamp_ms":1786415118000,"timestamp_seconds":1786415118,"priority":1,"record_length":96,"hex_timestamp":"0000019feea376b0"} 
[2026-08-11 07:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:56: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-08-11 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 07:56:59] 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-08-11 07: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-08-11 07:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:56:59] 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-08-11 07:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322269952001,"66":27843,"117":206,"79":21504,"24":4,"16":377158709102510080,"45":-8930004716114554880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322269952001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:56:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:56:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158709102510080,"km_value":377158709102510.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8930004716114554880,"description":"Unknown IO ID 45"} 
[2026-08-11 07:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322269952001,"power":27843,"unknown_117":206,"unknown_79":21504,"ignition":4,"odometer":null,"unknown_45":-8930004716114554880}} 
[2026-08-11 07:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":152414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:56:59] local.INFO: GPS data processed {"connection_id":152414,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:56:59] local.INFO: Acknowledgment sent {"connection_id":152414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:57:01] local.INFO: TCP Data received {"connection_id":153360,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:57:01] local.INFO: Processing buffer {"connection_id":153360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:57:01] local.INFO: IMEI packet received {"connection_id":153360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":153360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:57:07] local.INFO: TCP Data received {"connection_id":153360,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:57:07] local.INFO: Processing buffer {"connection_id":153360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:57:07] local.INFO: IMEI packet received {"connection_id":153360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":153360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:57:07] local.INFO: TCP Data received {"connection_id":153360,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feea23278012d79d30005e45e10000900a727..."} 
[2026-08-11 07:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea23278012d79d30005e45e10000900a727..."} 
[2026-08-11 07:57:07] local.INFO: Processing buffer {"connection_id":153360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea23278012d79d30005e45e10000900a727..."} 
[2026-08-11 07:57:07] local.INFO: Packet analysis {"connection_id":153360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea2"} 
[2026-08-11 07:57:07] local.INFO: Extracted packet for processing {"connection_id":153360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea2"} 
[2026-08-11 07:57:07] local.INFO: GPS Element Parsed {"raw_longitude":762958592,"raw_latitude":98852368,"longitude_deg":76.2958592,"latitude_deg":9.8852368,"altitude":9,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2d79d300","hex_latitude":"05e45e10","is_valid_coordinates":true} 
[2026-08-11 07:57: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-08-11 07:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322243584001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117520196528242688,"note":"Value kept but may cause issues"} 
[2026-08-11 07:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778289755237298176,"note":"Value kept but may cause issues"} 
[2026-08-11 07:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786415035000,"timestamp_ms":1786415035000,"timestamp_seconds":1786415035,"priority":1,"record_length":96,"hex_timestamp":"0000019feea23278"} 
[2026-08-11 07:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:57:07] 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-08-11 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 07:57:07] 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-08-11 07: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-08-11 07:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:57:07] 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-08-11 07:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322243584001,"66":13363,"145":206,"87":12288,"24":0,"16":117520196528242688,"45":8778289755237298176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-11 07:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322243584001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:57:07] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-11 07:57:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 07:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117520196528242688,"km_value":117520196528242.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778289755237298176,"description":"Unknown IO ID 45"} 
[2026-08-11 07:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322243584001,"power":13363,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778289755237298176}} 
[2026-08-11 07:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":153360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:57:07] local.INFO: GPS data processed {"connection_id":153360,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:57:07] local.INFO: Acknowledgment sent {"connection_id":153360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:57:36] local.INFO: TCP Data received {"connection_id":152414,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea38268012d8413c0061d6c30000b007f30..."} 
[2026-08-11 07:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea38268012d8413c0061d6c30000b007f30..."} 
[2026-08-11 07:57:36] local.INFO: Processing buffer {"connection_id":152414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea38268012d8413c0061d6c30000b007f30..."} 
[2026-08-11 07:57:36] local.INFO: Packet analysis {"connection_id":152414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:57:36] local.INFO: Extracted packet for processing {"connection_id":152414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:57:36] local.INFO: GPS Element Parsed {"raw_longitude":763630528,"raw_latitude":102591536,"longitude_deg":76.3630528,"latitude_deg":10.2591536,"altitude":11,"angle":127,"satellites":48,"speed":6,"hex_longitude":"2d8413c0","hex_latitude":"061d6c30","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322270208001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158734872313856,"note":"Value kept but may cause issues"} 
[2026-08-11 07:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8929934347370399744,"note":"Value kept but may cause issues"} 
[2026-08-11 07:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786415121000,"timestamp_ms":1786415121000,"timestamp_seconds":1786415121,"priority":1,"record_length":96,"hex_timestamp":"0000019feea38268"} 
[2026-08-11 07:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:57:36] 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-08-11 07: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":195,"data_length":795,"current_offset":136} 
[2026-08-11 07:57: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-08-11 07: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-08-11 07:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:57:36] 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-08-11 07:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322270208001,"66":27713,"117":206,"79":21504,"24":6,"16":377158734872313856,"45":-8929934347370399744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322270208001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:57:36] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:57:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158734872313856,"km_value":377158734872313.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8929934347370399744,"description":"Unknown IO ID 45"} 
[2026-08-11 07:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322270208001,"power":27713,"unknown_117":206,"unknown_79":21504,"ignition":6,"odometer":null,"unknown_45":-8929934347370399744}} 
[2026-08-11 07:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":152414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:57:36] local.INFO: GPS data processed {"connection_id":152414,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:57:36] local.INFO: Acknowledgment sent {"connection_id":152414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:57:39] local.INFO: TCP Data received {"connection_id":153360,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feea28480012d79d30005e45e10000900a728..."} 
[2026-08-11 07:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea28480012d79d30005e45e10000900a728..."} 
[2026-08-11 07:57:39] local.INFO: Processing buffer {"connection_id":153360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea28480012d79d30005e45e10000900a728..."} 
[2026-08-11 07:57:39] local.INFO: Packet analysis {"connection_id":153360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea2"} 
[2026-08-11 07:57:39] local.INFO: Extracted packet for processing {"connection_id":153360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea2"} 
[2026-08-11 07:57:39] local.INFO: GPS Element Parsed {"raw_longitude":762958592,"raw_latitude":98852368,"longitude_deg":76.2958592,"latitude_deg":9.8852368,"altitude":9,"angle":167,"satellites":40,"speed":0,"hex_longitude":"2d79d300","hex_latitude":"05e45e10","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322248960001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117520196528242688,"note":"Value kept but may cause issues"} 
[2026-08-11 07:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778360123981434880,"note":"Value kept but may cause issues"} 
[2026-08-11 07:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786415056000,"timestamp_ms":1786415056000,"timestamp_seconds":1786415056,"priority":1,"record_length":96,"hex_timestamp":"0000019feea28480"} 
[2026-08-11 07:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:57:39] 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-08-11 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 07:57:39] 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-08-11 07: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-08-11 07:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:57:39] 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-08-11 07:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322248960001,"66":13222,"145":206,"87":12288,"24":0,"16":117520196528242688,"45":8778360123981434880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-11 07:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322248960001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:57:39] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-11 07:57:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 07:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117520196528242688,"km_value":117520196528242.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778360123981434880,"description":"Unknown IO ID 45"} 
[2026-08-11 07:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322248960001,"power":13222,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778360123981434880}} 
[2026-08-11 07:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":153360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:57:39] local.INFO: GPS data processed {"connection_id":153360,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:57:39] local.INFO: Acknowledgment sent {"connection_id":153360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:58:01] local.INFO: TCP Data received {"connection_id":153361,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:58:01] local.INFO: Processing buffer {"connection_id":153361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:58:01] local.INFO: IMEI packet received {"connection_id":153361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":153361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:58:03] local.INFO: TCP Data received {"connection_id":152021,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:58:03] local.INFO: Processing buffer {"connection_id":152021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:58:03] local.INFO: IMEI packet received {"connection_id":152021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":152021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:58:07] local.INFO: TCP Data received {"connection_id":153361,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:58:07] local.INFO: Processing buffer {"connection_id":153361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:58:07] local.INFO: IMEI packet received {"connection_id":153361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":153361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:58:08] local.INFO: TCP Data received {"connection_id":153361,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feea2d688012d79d30005e45e10000900a727..."} 
[2026-08-11 07:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea2d688012d79d30005e45e10000900a727..."} 
[2026-08-11 07:58:08] local.INFO: Processing buffer {"connection_id":153361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea2d688012d79d30005e45e10000900a727..."} 
[2026-08-11 07:58:08] local.INFO: Packet analysis {"connection_id":153361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea2"} 
[2026-08-11 07:58:08] local.INFO: Extracted packet for processing {"connection_id":153361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea2"} 
[2026-08-11 07:58:08] local.INFO: GPS Element Parsed {"raw_longitude":762958592,"raw_latitude":98852368,"longitude_deg":76.2958592,"latitude_deg":9.8852368,"altitude":9,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2d79d300","hex_latitude":"05e45e10","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322254336001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117520196528242688,"note":"Value kept but may cause issues"} 
[2026-08-11 07:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778360123981434880,"note":"Value kept but may cause issues"} 
[2026-08-11 07:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786415077000,"timestamp_ms":1786415077000,"timestamp_seconds":1786415077,"priority":1,"record_length":96,"hex_timestamp":"0000019feea2d688"} 
[2026-08-11 07:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:58:08] 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-08-11 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 07:58: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-08-11 07: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-08-11 07:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:58:08] 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-08-11 07:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322254336001,"66":13352,"145":206,"87":12288,"24":0,"16":117520196528242688,"45":8778360123981434880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-11 07:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322254336001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:58:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-11 07:58:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 07:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117520196528242688,"km_value":117520196528242.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778360123981434880,"description":"Unknown IO ID 45"} 
[2026-08-11 07:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322254336001,"power":13352,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778360123981434880}} 
[2026-08-11 07:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":153361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:58:08] local.INFO: GPS data processed {"connection_id":153361,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:58:08] local.INFO: Acknowledgment sent {"connection_id":153361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:58:08] local.INFO: TCP Data received {"connection_id":152021,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:58:08] local.INFO: Processing buffer {"connection_id":152021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:58:08] local.INFO: IMEI packet received {"connection_id":152021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":152021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:58:09] local.INFO: TCP Data received {"connection_id":152021,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea38650012d841400061d6bd8000b007330..."} 
[2026-08-11 07:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea38650012d841400061d6bd8000b007330..."} 
[2026-08-11 07:58:09] local.INFO: Processing buffer {"connection_id":152021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea38650012d841400061d6bd8000b007330..."} 
[2026-08-11 07:58:09] local.INFO: Packet analysis {"connection_id":152021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:58:09] local.INFO: Extracted packet for processing {"connection_id":152021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:58:09] local.INFO: GPS Element Parsed {"raw_longitude":763630592,"raw_latitude":102591448,"longitude_deg":76.3630592,"latitude_deg":10.2591448,"altitude":11,"angle":115,"satellites":48,"speed":5,"hex_longitude":"2d841400","hex_latitude":"061d6bd8","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322270976001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158739167281152,"note":"Value kept but may cause issues"} 
[2026-08-11 07:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8929582503649595392,"note":"Value kept but may cause issues"} 
[2026-08-11 07:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786415122000,"timestamp_ms":1786415122000,"timestamp_seconds":1786415122,"priority":1,"record_length":96,"hex_timestamp":"0000019feea38650"} 
[2026-08-11 07:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:58:09] 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-08-11 07: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-11 07:58: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-08-11 07: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-08-11 07:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:58:09] 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-08-11 07:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322270976001,"66":27843,"117":206,"79":21504,"24":5,"16":377158739167281152,"45":-8929582503649595392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322270976001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:58:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:58:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158739167281152,"km_value":377158739167281.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8929582503649595392,"description":"Unknown IO ID 45"} 
[2026-08-11 07:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322270976001,"power":27843,"unknown_117":206,"unknown_79":21504,"ignition":5,"odometer":null,"unknown_45":-8929582503649595392}} 
[2026-08-11 07:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":152021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:58:09] local.INFO: GPS data processed {"connection_id":152021,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:58:09] local.INFO: Acknowledgment sent {"connection_id":152021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:58:39] local.INFO: TCP Data received {"connection_id":153361,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feea31508012d79d30005e45e10000900a727..."} 
[2026-08-11 07:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea31508012d79d30005e45e10000900a727..."} 
[2026-08-11 07:58:39] local.INFO: Processing buffer {"connection_id":153361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea31508012d79d30005e45e10000900a727..."} 
[2026-08-11 07:58:39] local.INFO: Packet analysis {"connection_id":153361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:58:39] local.INFO: Extracted packet for processing {"connection_id":153361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:58:39] local.INFO: GPS Element Parsed {"raw_longitude":762958592,"raw_latitude":98852368,"longitude_deg":76.2958592,"latitude_deg":9.8852368,"altitude":9,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2d79d300","hex_latitude":"05e45e10","is_valid_coordinates":true} 
[2026-08-11 07:58: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-08-11 07:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322259712001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117520196528242688,"note":"Value kept but may cause issues"} 
[2026-08-11 07:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778360123981434880,"note":"Value kept but may cause issues"} 
[2026-08-11 07:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786415093000,"timestamp_ms":1786415093000,"timestamp_seconds":1786415093,"priority":1,"record_length":96,"hex_timestamp":"0000019feea31508"} 
[2026-08-11 07:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:58:39] 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-08-11 07: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":40,"data_length":795,"current_offset":136} 
[2026-08-11 07:58:39] 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-08-11 07: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-08-11 07:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:58:39] 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-08-11 07:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322259712001,"66":13102,"102":206,"87":12288,"24":0,"16":117520196528242688,"45":8778360123981434880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-11 07:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322259712001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:58:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 07:58:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 07:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117520196528242688,"km_value":117520196528242.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778360123981434880,"description":"Unknown IO ID 45"} 
[2026-08-11 07:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322259712001,"power":13102,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778360123981434880}} 
[2026-08-11 07:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":153361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:58:39] local.INFO: GPS data processed {"connection_id":153361,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:58:39] local.INFO: Acknowledgment sent {"connection_id":153361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:58:53] local.INFO: TCP Data received {"connection_id":152415,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:58:53] local.INFO: Processing buffer {"connection_id":152415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:58:53] local.INFO: IMEI packet received {"connection_id":152415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":152415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:58:58] local.INFO: TCP Data received {"connection_id":152415,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:58:58] local.INFO: Processing buffer {"connection_id":152415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:58:58] local.INFO: IMEI packet received {"connection_id":152415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":152415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:58:59] local.INFO: TCP Data received {"connection_id":152415,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea3d858012d841680061d6b18000b00712e..."} 
[2026-08-11 07:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea3d858012d841680061d6b18000b00712e..."} 
[2026-08-11 07:58:59] local.INFO: Processing buffer {"connection_id":152415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea3d858012d841680061d6b18000b00712e..."} 
[2026-08-11 07:58:59] local.INFO: Packet analysis {"connection_id":152415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:58:59] local.INFO: Extracted packet for processing {"connection_id":152415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763631232,"raw_latitude":102591256,"longitude_deg":76.3631232,"latitude_deg":10.2591256,"altitude":11,"angle":113,"satellites":46,"speed":0,"hex_longitude":"2d841680","hex_latitude":"061d6b18","is_valid_coordinates":true} 
[2026-08-11 07:58: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-08-11 07:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322271232001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377158769232052224,"note":"Value kept but may cause issues"} 
[2026-08-11 07:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8929512134905440256,"note":"Value kept but may cause issues"} 
[2026-08-11 07:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786415143000,"timestamp_ms":1786415143000,"timestamp_seconds":1786415143,"priority":1,"record_length":96,"hex_timestamp":"0000019feea3d858"} 
[2026-08-11 07:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:58:59] 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-08-11 07:58: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 07:58:59] 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-08-11 07:58: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-08-11 07:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:58:59] 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-08-11 07:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322271232001,"66":27821,"117":206,"79":21504,"24":0,"16":377158769232052224,"45":-8929512134905440256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-11 07:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322271232001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:58:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 07:58:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377158769232052224,"km_value":377158769232052.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8929512134905440256,"description":"Unknown IO ID 45"} 
[2026-08-11 07:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322271232001,"power":27821,"unknown_117":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-8929512134905440256}} 
[2026-08-11 07:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":152415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:58:59] local.INFO: GPS data processed {"connection_id":152415,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:58:59] local.INFO: Acknowledgment sent {"connection_id":152415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:59:07] local.INFO: TCP Data received {"connection_id":152022,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:59:07] local.INFO: Processing buffer {"connection_id":152022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:59:07] local.INFO: IMEI packet received {"connection_id":152022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 07:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":152022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:59:12] local.INFO: TCP Data received {"connection_id":152022,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:59:12] local.INFO: Processing buffer {"connection_id":152022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 07:59:12] local.INFO: IMEI packet received {"connection_id":152022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 07:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":152022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:59:13] local.INFO: TCP Data received {"connection_id":152022,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feea31508012d79d30005e45e10000900a727..."} 
[2026-08-11 07:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea31508012d79d30005e45e10000900a727..."} 
[2026-08-11 07:59:13] local.INFO: Processing buffer {"connection_id":152022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea31508012d79d30005e45e10000900a727..."} 
[2026-08-11 07:59:13] local.INFO: Packet analysis {"connection_id":152022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:59:13] local.INFO: Extracted packet for processing {"connection_id":152022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea3"} 
[2026-08-11 07:59:13] local.INFO: GPS Element Parsed {"raw_longitude":762958592,"raw_latitude":98852368,"longitude_deg":76.2958592,"latitude_deg":9.8852368,"altitude":9,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2d79d300","hex_latitude":"05e45e10","is_valid_coordinates":true} 
[2026-08-11 07:59:13] 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-08-11 07:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322263808001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117520196528242688,"note":"Value kept but may cause issues"} 
[2026-08-11 07:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778360123981434880,"note":"Value kept but may cause issues"} 
[2026-08-11 07:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786415093000,"timestamp_ms":1786415093000,"timestamp_seconds":1786415093,"priority":1,"record_length":96,"hex_timestamp":"0000019feea31508"} 
[2026-08-11 07:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:59:13] 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-08-11 07:59: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 07:59:13] 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-08-11 07:59: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-08-11 07:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:59:13] 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-08-11 07:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322263808001,"66":13102,"102":206,"87":12288,"24":0,"16":117520196528242688,"45":8778360123981434880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-11 07:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322263808001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:59:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 07:59:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 07:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117520196528242688,"km_value":117520196528242.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778360123981434880,"description":"Unknown IO ID 45"} 
[2026-08-11 07:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322263808001,"power":13102,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778360123981434880}} 
[2026-08-11 07:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":152022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:59:13] local.INFO: GPS data processed {"connection_id":152022,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:59:13] local.INFO: Acknowledgment sent {"connection_id":152022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:59:31] local.INFO: TCP Data received {"connection_id":152415,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea67c20012d84f480061bfd900013009e2e..."} 
[2026-08-11 07:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea67c20012d84f480061bfd900013009e2e..."} 
[2026-08-11 07:59:31] local.INFO: Processing buffer {"connection_id":152415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea67c20012d84f480061bfd900013009e2e..."} 
[2026-08-11 07:59:31] local.INFO: Packet analysis {"connection_id":152415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea6"} 
[2026-08-11 07:59:31] local.INFO: Extracted packet for processing {"connection_id":152415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea6"} 
[2026-08-11 07:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763688064,"raw_latitude":102497680,"longitude_deg":76.3688064,"latitude_deg":10.249768,"altitude":19,"angle":158,"satellites":46,"speed":50,"hex_longitude":"2d84f480","hex_latitude":"061bfd90","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322318848001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377164258200256512,"note":"Value kept but may cause issues"} 
[2026-08-11 07:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8870472758562037760,"note":"Value kept but may cause issues"} 
[2026-08-11 07:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786415316000,"timestamp_ms":1786415316000,"timestamp_seconds":1786415316,"priority":1,"record_length":96,"hex_timestamp":"0000019feea67c20"} 
[2026-08-11 07:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 07:59:31] 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-08-11 07: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-08-11 07:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:59:31] 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-08-11 07:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322318848001,"66":27821,"115":206,"79":21504,"24":50,"16":377164258200256512,"45":-8870472758562037760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-08-11 07:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322318848001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:59:31] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 07:59:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377164258200256512,"km_value":377164258200256.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8870472758562037760,"description":"Unknown IO ID 45"} 
[2026-08-11 07:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322318848001,"power":27821,"unknown_115":206,"unknown_79":21504,"ignition":50,"odometer":null,"unknown_45":-8870472758562037760}} 
[2026-08-11 07:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":152415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:59:31] local.INFO: GPS data processed {"connection_id":152415,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:59:31] local.INFO: Acknowledgment sent {"connection_id":152415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:59:44] local.INFO: TCP Data received {"connection_id":152022,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feea687d8012d79d40005e45df0000900a729..."} 
[2026-08-11 07:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea687d8012d79d40005e45df0000900a729..."} 
[2026-08-11 07:59:44] local.INFO: Processing buffer {"connection_id":152022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea687d8012d79d40005e45df0000900a729..."} 
[2026-08-11 07:59:44] local.INFO: Packet analysis {"connection_id":152022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea6"} 
[2026-08-11 07:59:44] local.INFO: Extracted packet for processing {"connection_id":152022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea6"} 
[2026-08-11 07:59:44] local.INFO: GPS Element Parsed {"raw_longitude":762958848,"raw_latitude":98852336,"longitude_deg":76.2958848,"latitude_deg":9.8852336,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d79d400","hex_latitude":"05e45df0","is_valid_coordinates":true} 
[2026-08-11 07:59: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-08-11 07:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322263808001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117520196528242688,"note":"Value kept but may cause issues"} 
[2026-08-11 07:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778360123981434880,"note":"Value kept but may cause issues"} 
[2026-08-11 07:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786415319000,"timestamp_ms":1786415319000,"timestamp_seconds":1786415319,"priority":1,"record_length":96,"hex_timestamp":"0000019feea687d8"} 
[2026-08-11 07:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:59:44] 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-08-11 07: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 07:59:44] 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-08-11 07:59: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-08-11 07:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 07:59:44] 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-08-11 07:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 07:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 07:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322263808001,"66":12461,"102":206,"87":12288,"24":0,"16":117520196528242688,"45":8778360123981434880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-11 07:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 07:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 07:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322263808001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:59:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 07:59:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 07:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117520196528242688,"km_value":117520196528242.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778360123981434880,"description":"Unknown IO ID 45"} 
[2026-08-11 07:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322263808001,"power":12461,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778360123981434880}} 
[2026-08-11 07:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":152022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:59:44] local.INFO: GPS data processed {"connection_id":152022,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:59:44] local.INFO: Acknowledgment sent {"connection_id":152022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 07:59:53] local.INFO: TCP Data received {"connection_id":153362,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:59:53] local.INFO: Processing buffer {"connection_id":153362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:59:53] local.INFO: IMEI packet received {"connection_id":153362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 07:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":153362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 07:59:56] local.INFO: TCP Data received {"connection_id":153362,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:59:56] local.INFO: Processing buffer {"connection_id":153362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 07:59:56] local.INFO: IMEI packet received {"connection_id":153362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 07:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":153362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 07:59:57] local.INFO: TCP Data received {"connection_id":153362,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea69b60012d850300061bda080015009d2f..."} 
[2026-08-11 07:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea69b60012d850300061bda080015009d2f..."} 
[2026-08-11 07:59:57] local.INFO: Processing buffer {"connection_id":153362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea69b60012d850300061bda080015009d2f..."} 
[2026-08-11 07:59:57] local.INFO: Packet analysis {"connection_id":153362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea6"} 
[2026-08-11 07:59:57] local.INFO: Extracted packet for processing {"connection_id":153362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea6"} 
[2026-08-11 07:59:57] local.INFO: GPS Element Parsed {"raw_longitude":763691776,"raw_latitude":102488584,"longitude_deg":76.3691776,"latitude_deg":10.2488584,"altitude":21,"angle":157,"satellites":47,"speed":47,"hex_longitude":"2d850300","hex_latitude":"061bda08","is_valid_coordinates":true} 
[2026-08-11 07: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-08-11 07:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322320896001,"note":"Value kept but may cause issues"} 
[2026-08-11 07:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377164734941626368,"note":"Value kept but may cause issues"} 
[2026-08-11 07:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8866321002657902592,"note":"Value kept but may cause issues"} 
[2026-08-11 07:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 07:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786415324000,"timestamp_ms":1786415324000,"timestamp_seconds":1786415324,"priority":1,"record_length":96,"hex_timestamp":"0000019feea69b60"} 
[2026-08-11 07:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 07:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 07:59:57] 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-08-11 07: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-08-11 07:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 07:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 07:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 07:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 07:59:57] 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-08-11 07:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 07:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 07:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322320896001,"66":27865,"115":206,"79":21504,"24":47,"16":377164734941626368,"45":-8866321002657902592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-08-11 07:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 07:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 07:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322320896001,"description":"Unknown IO ID 0"} 
[2026-08-11 07:59:57] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 07:59:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 07:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377164734941626368,"km_value":377164734941626.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 07:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8866321002657902592,"description":"Unknown IO ID 45"} 
[2026-08-11 07:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322320896001,"power":27865,"unknown_115":206,"unknown_79":21504,"ignition":47,"odometer":null,"unknown_45":-8866321002657902592}} 
[2026-08-11 07:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":153362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 07:59:57] local.INFO: GPS data processed {"connection_id":153362,"processed":1,"errors":0,"total":1} 
[2026-08-11 07:59:57] local.INFO: Acknowledgment sent {"connection_id":153362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:00:05] local.INFO: TCP Data received {"connection_id":152023,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:00:05] local.INFO: Processing buffer {"connection_id":152023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:00:05] local.INFO: IMEI packet received {"connection_id":152023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":152023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:00:06] local.INFO: TCP Data received {"connection_id":152023,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:00:06] local.INFO: Processing buffer {"connection_id":152023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:00:06] local.INFO: IMEI packet received {"connection_id":152023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":152023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:00:07] local.INFO: TCP Data received {"connection_id":152023,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:00:07] local.INFO: Processing buffer {"connection_id":152023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:00:07] local.INFO: IMEI packet received {"connection_id":152023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":152023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:00:08] local.INFO: TCP Data received {"connection_id":152023,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:00:08] local.INFO: Processing buffer {"connection_id":152023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:00:08] local.INFO: IMEI packet received {"connection_id":152023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":152023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:00:09] local.INFO: TCP Data received {"connection_id":152023,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feea7d3e0012d7a210005e46a780008006626..."} 
[2026-08-11 08:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea7d3e0012d7a210005e46a780008006626..."} 
[2026-08-11 08:00:09] local.INFO: Processing buffer {"connection_id":152023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea7d3e0012d7a210005e46a780008006626..."} 
[2026-08-11 08:00:09] local.INFO: Packet analysis {"connection_id":152023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea7"} 
[2026-08-11 08:00:09] local.INFO: Extracted packet for processing {"connection_id":152023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea7"} 
[2026-08-11 08:00:09] local.INFO: GPS Element Parsed {"raw_longitude":762978560,"raw_latitude":98855544,"longitude_deg":76.297856,"latitude_deg":9.8855544,"altitude":8,"angle":102,"satellites":38,"speed":7,"hex_longitude":"2d7a2100","hex_latitude":"05e46a78","is_valid_coordinates":true} 
[2026-08-11 08:00: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-08-11 08:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322339584001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117521184370720768,"note":"Value kept but may cause issues"} 
[2026-08-11 08:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790956129189775360,"note":"Value kept but may cause issues"} 
[2026-08-11 08:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786415404000,"timestamp_ms":1786415404000,"timestamp_seconds":1786415404,"priority":1,"record_length":96,"hex_timestamp":"0000019feea7d3e0"} 
[2026-08-11 08:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:00:09] 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-08-11 08:00: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-11 08:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 08:00: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-08-11 08:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:00:09] 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-08-11 08:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322339584001,"66":13189,"145":206,"87":12288,"24":7,"16":117521184370720768,"45":8790956129189775360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-11 08:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322339584001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:00:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-11 08:00:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 08:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117521184370720768,"km_value":117521184370720.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790956129189775360,"description":"Unknown IO ID 45"} 
[2026-08-11 08:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322339584001,"power":13189,"unknown_145":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8790956129189775360}} 
[2026-08-11 08:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":152023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:00:10] local.INFO: GPS data processed {"connection_id":152023,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:00:10] local.INFO: Acknowledgment sent {"connection_id":152023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:00:28] local.INFO: TCP Data received {"connection_id":153362,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea6baa0012d851140061bb8d80017009c2f..."} 
[2026-08-11 08:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea6baa0012d851140061bb8d80017009c2f..."} 
[2026-08-11 08:00:28] local.INFO: Processing buffer {"connection_id":153362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea6baa0012d851140061bb8d80017009c2f..."} 
[2026-08-11 08:00:28] local.INFO: Packet analysis {"connection_id":153362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea6"} 
[2026-08-11 08:00:28] local.INFO: Extracted packet for processing {"connection_id":153362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea6"} 
[2026-08-11 08:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763695424,"raw_latitude":102480088,"longitude_deg":76.3695424,"latitude_deg":10.2480088,"altitude":23,"angle":156,"satellites":47,"speed":45,"hex_longitude":"2d851140","hex_latitude":"061bb8d8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322322944001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377165181618225152,"note":"Value kept but may cause issues"} 
[2026-08-11 08:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8862239615497926656,"note":"Value kept but may cause issues"} 
[2026-08-11 08:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786415332000,"timestamp_ms":1786415332000,"timestamp_seconds":1786415332,"priority":1,"record_length":96,"hex_timestamp":"0000019feea6baa0"} 
[2026-08-11 08:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 08:00:28] 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-08-11 08: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-08-11 08:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:00:28] 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-08-11 08:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322322944001,"66":27865,"115":206,"79":21504,"24":45,"16":377165181618225152,"45":-8862239615497926656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-08-11 08:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322322944001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:00:28] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 08:00:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 08:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377165181618225152,"km_value":377165181618225.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8862239615497926656,"description":"Unknown IO ID 45"} 
[2026-08-11 08:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322322944001,"power":27865,"unknown_115":206,"unknown_79":21504,"ignition":45,"odometer":null,"unknown_45":-8862239615497926656}} 
[2026-08-11 08:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":153362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:00:28] local.INFO: GPS data processed {"connection_id":153362,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:00:28] local.INFO: Acknowledgment sent {"connection_id":153362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:00:41] local.INFO: TCP Data received {"connection_id":152023,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feea7dbb0012d7a228005e46a200008007a28..."} 
[2026-08-11 08:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea7dbb0012d7a228005e46a200008007a28..."} 
[2026-08-11 08:00:41] local.INFO: Processing buffer {"connection_id":152023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea7dbb0012d7a228005e46a200008007a28..."} 
[2026-08-11 08:00:41] local.INFO: Packet analysis {"connection_id":152023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea7"} 
[2026-08-11 08:00:41] local.INFO: Extracted packet for processing {"connection_id":152023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea7"} 
[2026-08-11 08:00:41] local.INFO: GPS Element Parsed {"raw_longitude":762978944,"raw_latitude":98855456,"longitude_deg":76.2978944,"latitude_deg":9.8855456,"altitude":8,"angle":122,"satellites":40,"speed":8,"hex_longitude":"2d7a2280","hex_latitude":"05e46a20","is_valid_coordinates":true} 
[2026-08-11 08:00: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-08-11 08:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322343424001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117521201550589952,"note":"Value kept but may cause issues"} 
[2026-08-11 08:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800315172165679104,"note":"Value kept but may cause issues"} 
[2026-08-11 08:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786415406000,"timestamp_ms":1786415406000,"timestamp_seconds":1786415406,"priority":1,"record_length":96,"hex_timestamp":"0000019feea7dbb0"} 
[2026-08-11 08:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:00:41] 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-08-11 08:00: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 08:00:41] 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-08-11 08:00: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-08-11 08:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:00:41] 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-08-11 08:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322343424001,"66":13135,"145":206,"87":12288,"24":8,"16":117521201550589952,"45":8800315172165679104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-11 08:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322343424001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:00:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-11 08:00:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 08:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117521201550589952,"km_value":117521201550589.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800315172165679104,"description":"Unknown IO ID 45"} 
[2026-08-11 08:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322343424001,"power":13135,"unknown_145":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8800315172165679104}} 
[2026-08-11 08:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":152023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:00:41] local.INFO: GPS data processed {"connection_id":152023,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:00:41] local.INFO: Acknowledgment sent {"connection_id":152023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:00:55] local.INFO: TCP Data received {"connection_id":154754,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:00:55] local.INFO: Processing buffer {"connection_id":154754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:00:55] local.INFO: IMEI packet received {"connection_id":154754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":154754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:00:56] local.INFO: TCP Data received {"connection_id":154754,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:00:56] local.INFO: Processing buffer {"connection_id":154754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:00:56] local.INFO: IMEI packet received {"connection_id":154754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":154754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:00:58] local.INFO: TCP Data received {"connection_id":154754,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:00:58] local.INFO: Processing buffer {"connection_id":154754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:00:58] local.INFO: IMEI packet received {"connection_id":154754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":154754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:00:58] local.INFO: TCP Data received {"connection_id":154754,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea6d9e0012d8520c0061b99a0001800962f..."} 
[2026-08-11 08:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea6d9e0012d8520c0061b99a0001800962f..."} 
[2026-08-11 08:00:58] local.INFO: Processing buffer {"connection_id":154754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea6d9e0012d8520c0061b99a0001800962f..."} 
[2026-08-11 08:00:58] local.INFO: Packet analysis {"connection_id":154754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea6"} 
[2026-08-11 08:00:58] local.INFO: Extracted packet for processing {"connection_id":154754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea6"} 
[2026-08-11 08:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763699392,"raw_latitude":102472096,"longitude_deg":76.3699392,"latitude_deg":10.2472096,"altitude":24,"angle":150,"satellites":47,"speed":43,"hex_longitude":"2d8520c0","hex_latitude":"061b99a0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322324992001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377165611114954752,"note":"Value kept but may cause issues"} 
[2026-08-11 08:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8858228597081974784,"note":"Value kept but may cause issues"} 
[2026-08-11 08:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786415340000,"timestamp_ms":1786415340000,"timestamp_seconds":1786415340,"priority":1,"record_length":96,"hex_timestamp":"0000019feea6d9e0"} 
[2026-08-11 08:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 08:00:58] 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-08-11 08: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-08-11 08:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":154754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":154754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":154754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:00:58] 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-08-11 08:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322324992001,"66":27789,"115":206,"79":21504,"24":43,"16":377165611114954752,"45":-8858228597081974784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-08-11 08:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322324992001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:00:58] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 08:00:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 08:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377165611114954752,"km_value":377165611114954.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8858228597081974784,"description":"Unknown IO ID 45"} 
[2026-08-11 08:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322324992001,"power":27789,"unknown_115":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":-8858228597081974784}} 
[2026-08-11 08:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":154754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:00:58] local.INFO: GPS data processed {"connection_id":154754,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:00:58] local.INFO: Acknowledgment sent {"connection_id":154754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:01:16] local.INFO: TCP Data received {"connection_id":154754,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea6fd08012d853500061b7948001900922f..."} 
[2026-08-11 08:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea6fd08012d853500061b7948001900922f..."} 
[2026-08-11 08:01:16] local.INFO: Processing buffer {"connection_id":154754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea6fd08012d853500061b7948001900922f..."} 
[2026-08-11 08:01:16] local.INFO: Packet analysis {"connection_id":154754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea6"} 
[2026-08-11 08:01:16] local.INFO: Extracted packet for processing {"connection_id":154754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea6"} 
[2026-08-11 08:01:16] local.INFO: GPS Element Parsed {"raw_longitude":763704576,"raw_latitude":102463816,"longitude_deg":76.3704576,"latitude_deg":10.2463816,"altitude":25,"angle":146,"satellites":47,"speed":42,"hex_longitude":"2d853500","hex_latitude":"061b7948","is_valid_coordinates":true} 
[2026-08-11 08:01: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-08-11 08:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322327040001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377166083561357312,"note":"Value kept but may cause issues"} 
[2026-08-11 08:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8853865734945005568,"note":"Value kept but may cause issues"} 
[2026-08-11 08:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786415349000,"timestamp_ms":1786415349000,"timestamp_seconds":1786415349,"priority":1,"record_length":96,"hex_timestamp":"0000019feea6fd08"} 
[2026-08-11 08:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:01: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":141,"data_length":795,"current_offset":136} 
[2026-08-11 08:01:16] 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-08-11 08:01: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-08-11 08:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:01: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-08-11 08:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322327040001,"66":27800,"115":206,"79":21504,"24":42,"16":377166083561357312,"45":-8853865734945005568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-08-11 08:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322327040001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:01:16] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 08:01:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 08:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377166083561357312,"km_value":377166083561357.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8853865734945005568,"description":"Unknown IO ID 45"} 
[2026-08-11 08:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322327040001,"power":27800,"unknown_115":206,"unknown_79":21504,"ignition":42,"odometer":null,"unknown_45":-8853865734945005568}} 
[2026-08-11 08:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":154754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:01:16] local.INFO: GPS data processed {"connection_id":154754,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:01:16] local.INFO: Acknowledgment sent {"connection_id":154754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:01:18] local.INFO: TCP Data received {"connection_id":152416,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:01:18] local.INFO: Processing buffer {"connection_id":152416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:01:18] local.INFO: IMEI packet received {"connection_id":152416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":152416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:01:21] local.INFO: TCP Data received {"connection_id":152416,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:01:21] local.INFO: Processing buffer {"connection_id":152416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:01:21] local.INFO: IMEI packet received {"connection_id":152416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":152416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:01:22] local.INFO: TCP Data received {"connection_id":152416,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feea8b670012d7a5f8005e46c40001100562b..."} 
[2026-08-11 08:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea8b670012d7a5f8005e46c40001100562b..."} 
[2026-08-11 08:01:22] local.INFO: Processing buffer {"connection_id":152416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea8b670012d7a5f8005e46c40001100562b..."} 
[2026-08-11 08:01:22] local.INFO: Packet analysis {"connection_id":152416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea8"} 
[2026-08-11 08:01:22] local.INFO: Extracted packet for processing {"connection_id":152416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea8"} 
[2026-08-11 08:01:22] local.INFO: GPS Element Parsed {"raw_longitude":762994560,"raw_latitude":98856000,"longitude_deg":76.299456,"latitude_deg":9.8856,"altitude":17,"angle":86,"satellites":43,"speed":1,"hex_longitude":"2d7a5f80","hex_latitude":"05e46c40","is_valid_coordinates":true} 
[2026-08-11 08:01: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-08-11 08:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322356224001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117522064839016448,"note":"Value kept but may cause issues"} 
[2026-08-11 08:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815866664628901888,"note":"Value kept but may cause issues"} 
[2026-08-11 08:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786415462000,"timestamp_ms":1786415462000,"timestamp_seconds":1786415462,"priority":1,"record_length":96,"hex_timestamp":"0000019feea8b670"} 
[2026-08-11 08:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:01:22] 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-08-11 08:01: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":62,"data_length":795,"current_offset":136} 
[2026-08-11 08:01:22] 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-08-11 08:01: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-08-11 08:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:01:22] 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-08-11 08:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322356224001,"66":12645,"97":206,"85":15104,"24":1,"16":117522064839016448,"45":8815866664628901888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322356224001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:01:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:01:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117522064839016448,"km_value":117522064839016.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815866664628901888,"description":"Unknown IO ID 45"} 
[2026-08-11 08:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322356224001,"power":12645,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8815866664628901888}} 
[2026-08-11 08:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":152416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:01:22] local.INFO: GPS data processed {"connection_id":152416,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:01:22] local.INFO: Acknowledgment sent {"connection_id":152416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:01:53] local.INFO: TCP Data received {"connection_id":154755,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:01:53] local.INFO: Processing buffer {"connection_id":154755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:01:53] local.INFO: IMEI packet received {"connection_id":154755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":154755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:01:58] local.INFO: TCP Data received {"connection_id":154755,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:01:58] local.INFO: Processing buffer {"connection_id":154755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:01:58] local.INFO: IMEI packet received {"connection_id":154755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":154755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:01:59] local.INFO: TCP Data received {"connection_id":154755,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea72030012d854b40061b5d48001b008c2d..."} 
[2026-08-11 08:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea72030012d854b40061b5d48001b008c2d..."} 
[2026-08-11 08:01:59] local.INFO: Processing buffer {"connection_id":154755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea72030012d854b40061b5d48001b008c2d..."} 
[2026-08-11 08:01:59] local.INFO: Packet analysis {"connection_id":154755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea7"} 
[2026-08-11 08:01:59] local.INFO: Extracted packet for processing {"connection_id":154755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea7"} 
[2026-08-11 08:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763710272,"raw_latitude":102456648,"longitude_deg":76.3710272,"latitude_deg":10.2456648,"altitude":27,"angle":140,"satellites":45,"speed":37,"hex_longitude":"2d854b40","hex_latitude":"061b5d48","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322329344001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377166525942988800,"note":"Value kept but may cause issues"} 
[2026-08-11 08:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8848165866668734464,"note":"Value kept but may cause issues"} 
[2026-08-11 08:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786415358000,"timestamp_ms":1786415358000,"timestamp_seconds":1786415358,"priority":1,"record_length":96,"hex_timestamp":"0000019feea72030"} 
[2026-08-11 08:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 08:01:59] 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-08-11 08: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-08-11 08:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:01:59] 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-08-11 08:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322329344001,"66":27821,"115":206,"79":21504,"24":37,"16":377166525942988800,"45":-8848165866668734464},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-08-11 08:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322329344001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:01:59] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 08:01:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-11 08:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377166525942988800,"km_value":377166525942988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8848165866668734464,"description":"Unknown IO ID 45"} 
[2026-08-11 08:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322329344001,"power":27821,"unknown_115":206,"unknown_79":21504,"ignition":37,"odometer":null,"unknown_45":-8848165866668734464}} 
[2026-08-11 08:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":154755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:01:59] local.INFO: GPS data processed {"connection_id":154755,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:01:59] local.INFO: Acknowledgment sent {"connection_id":154755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:02:00] local.INFO: TCP Data received {"connection_id":152024,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:02:00] local.INFO: Processing buffer {"connection_id":152024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:02:00] local.INFO: IMEI packet received {"connection_id":152024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":152024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:02:01] local.INFO: TCP Data received {"connection_id":152024,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:02:01] local.INFO: Processing buffer {"connection_id":152024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:02:01] local.INFO: IMEI packet received {"connection_id":152024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":152024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:02:05] local.INFO: TCP Data received {"connection_id":152024,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:02:05] local.INFO: Processing buffer {"connection_id":152024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:02:05] local.INFO: IMEI packet received {"connection_id":152024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":152024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:02:06] local.INFO: TCP Data received {"connection_id":152024,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:02:06] local.INFO: Processing buffer {"connection_id":152024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:02:06] local.INFO: IMEI packet received {"connection_id":152024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":152024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:02:16] local.INFO: TCP Data received {"connection_id":152024,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feea8c9f8012d7a620005e46c18001100672c..."} 
[2026-08-11 08:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea8c9f8012d7a620005e46c18001100672c..."} 
[2026-08-11 08:02:16] local.INFO: Processing buffer {"connection_id":152024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea8c9f8012d7a620005e46c18001100672c..."} 
[2026-08-11 08:02:16] local.INFO: Packet analysis {"connection_id":152024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea8"} 
[2026-08-11 08:02:16] local.INFO: Extracted packet for processing {"connection_id":152024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea8"} 
[2026-08-11 08:02:16] local.INFO: GPS Element Parsed {"raw_longitude":762995200,"raw_latitude":98855960,"longitude_deg":76.29952,"latitude_deg":9.885596,"altitude":17,"angle":103,"satellites":44,"speed":10,"hex_longitude":"2d7a6200","hex_latitude":"05e46c18","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322358272001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117522099198754816,"note":"Value kept but may cause issues"} 
[2026-08-11 08:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817907358210211840,"note":"Value kept but may cause issues"} 
[2026-08-11 08:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786415467000,"timestamp_ms":1786415467000,"timestamp_seconds":1786415467,"priority":1,"record_length":96,"hex_timestamp":"0000019feea8c9f8"} 
[2026-08-11 08:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:02: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-08-11 08: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 08:02:16] 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-08-11 08:02: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-08-11 08:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:02:16] 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-08-11 08:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322358272001,"66":13374,"97":206,"85":15104,"24":10,"16":117522099198754816,"45":8817907358210211840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322358272001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:02:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:02:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117522099198754816,"km_value":117522099198754.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817907358210211840,"description":"Unknown IO ID 45"} 
[2026-08-11 08:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322358272001,"power":13374,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8817907358210211840}} 
[2026-08-11 08:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":152024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:02:16] local.INFO: GPS data processed {"connection_id":152024,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:02:16] local.INFO: Acknowledgment sent {"connection_id":152024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:02:20] local.INFO: TCP Data received {"connection_id":152024,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feea8d1c8012d7a648005e46ae8001100782b..."} 
[2026-08-11 08:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea8d1c8012d7a648005e46ae8001100782b..."} 
[2026-08-11 08:02:20] local.INFO: Processing buffer {"connection_id":152024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea8d1c8012d7a648005e46ae8001100782b..."} 
[2026-08-11 08:02:20] local.INFO: Packet analysis {"connection_id":152024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea8"} 
[2026-08-11 08:02:20] local.INFO: Extracted packet for processing {"connection_id":152024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea8"} 
[2026-08-11 08:02:20] local.INFO: GPS Element Parsed {"raw_longitude":762995840,"raw_latitude":98855656,"longitude_deg":76.299584,"latitude_deg":9.8855656,"altitude":17,"angle":120,"satellites":43,"speed":13,"hex_longitude":"2d7a6480","hex_latitude":"05e46ae8","is_valid_coordinates":true} 
[2026-08-11 08:02: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-08-11 08:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322359552001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117522133558493184,"note":"Value kept but may cause issues"} 
[2026-08-11 08:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818611045651978240,"note":"Value kept but may cause issues"} 
[2026-08-11 08:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786415469000,"timestamp_ms":1786415469000,"timestamp_seconds":1786415469,"priority":1,"record_length":96,"hex_timestamp":"0000019feea8d1c8"} 
[2026-08-11 08:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:02:20] 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-08-11 08:02: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":62,"data_length":795,"current_offset":136} 
[2026-08-11 08:02:20] 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-08-11 08:02: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-08-11 08:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:02:20] 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-08-11 08:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322359552001,"66":13406,"97":206,"85":15104,"24":13,"16":117522133558493184,"45":8818611045651978240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322359552001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:02:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:02:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117522133558493184,"km_value":117522133558493.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818611045651978240,"description":"Unknown IO ID 45"} 
[2026-08-11 08:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322359552001,"power":13406,"unknown_97":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8818611045651978240}} 
[2026-08-11 08:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":152024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:02:20] local.INFO: GPS data processed {"connection_id":152024,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:02:20] local.INFO: Acknowledgment sent {"connection_id":152024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:02:31] local.INFO: TCP Data received {"connection_id":154755,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea927b8012d85a7c00619a190002000b72f..."} 
[2026-08-11 08:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea927b8012d85a7c00619a190002000b72f..."} 
[2026-08-11 08:02:31] local.INFO: Processing buffer {"connection_id":154755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea927b8012d85a7c00619a190002000b72f..."} 
[2026-08-11 08:02:31] local.INFO: Packet analysis {"connection_id":154755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea9"} 
[2026-08-11 08:02:31] local.INFO: Extracted packet for processing {"connection_id":154755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea9"} 
[2026-08-11 08:02:31] local.INFO: GPS Element Parsed {"raw_longitude":763733952,"raw_latitude":102343056,"longitude_deg":76.3733952,"latitude_deg":10.2343056,"altitude":32,"angle":183,"satellites":47,"speed":48,"hex_longitude":"2d85a7c0","hex_latitude":"0619a190","is_valid_coordinates":true} 
[2026-08-11 08:02: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-08-11 08:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322363648001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377172345623674880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8814811081957128192,"note":"Value kept but may cause issues"} 
[2026-08-11 08:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786415491000,"timestamp_ms":1786415491000,"timestamp_seconds":1786415491,"priority":1,"record_length":96,"hex_timestamp":"0000019feea927b8"} 
[2026-08-11 08:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:02: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 08:02:31] 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-08-11 08:02: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-08-11 08:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:02:31] 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-08-11 08:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322363648001,"66":28006,"133":206,"79":46592,"24":48,"16":377172345623674880,"45":-8814811081957128192},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-08-11 08:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322363648001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:02:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 08:02:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377172345623674880,"km_value":377172345623674.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8814811081957128192,"description":"Unknown IO ID 45"} 
[2026-08-11 08:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322363648001,"power":28006,"unknown_133":206,"unknown_79":46592,"ignition":48,"odometer":null,"unknown_45":-8814811081957128192}} 
[2026-08-11 08:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":154755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:02:31] local.INFO: GPS data processed {"connection_id":154755,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:02:31] local.INFO: Acknowledgment sent {"connection_id":154755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:02:53] local.INFO: TCP Data received {"connection_id":152025,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:02:53] local.INFO: Processing buffer {"connection_id":152025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:02:53] local.INFO: IMEI packet received {"connection_id":152025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":152025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:02:54] local.INFO: TCP Data received {"connection_id":152025,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:02:54] local.INFO: Processing buffer {"connection_id":152025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:02:54] local.INFO: IMEI packet received {"connection_id":152025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":152025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:02:58] local.INFO: TCP Data received {"connection_id":152025,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:02:58] local.INFO: Processing buffer {"connection_id":152025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:02:58] local.INFO: IMEI packet received {"connection_id":152025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":152025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:02:59] local.INFO: TCP Data received {"connection_id":152025,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea94310012d85a84006197db0001c00af2c..."} 
[2026-08-11 08:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea94310012d85a84006197db0001c00af2c..."} 
[2026-08-11 08:02:59] local.INFO: Processing buffer {"connection_id":152025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea94310012d85a84006197db0001c00af2c..."} 
[2026-08-11 08:02:59] local.INFO: Packet analysis {"connection_id":152025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea9"} 
[2026-08-11 08:02:59] local.INFO: Extracted packet for processing {"connection_id":152025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea9"} 
[2026-08-11 08:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763734080,"raw_latitude":102333872,"longitude_deg":76.373408,"latitude_deg":10.2333872,"altitude":28,"angle":175,"satellites":44,"speed":55,"hex_longitude":"2d85a840","hex_latitude":"06197db0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322365696001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377172792300273664,"note":"Value kept but may cause issues"} 
[2026-08-11 08:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8815866613122101248,"note":"Value kept but may cause issues"} 
[2026-08-11 08:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786415498000,"timestamp_ms":1786415498000,"timestamp_seconds":1786415498,"priority":1,"record_length":96,"hex_timestamp":"0000019feea94310"} 
[2026-08-11 08:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 08:02:59] 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-08-11 08: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-08-11 08:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:02:59] 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-08-11 08:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322365696001,"66":27865,"133":206,"79":46592,"24":55,"16":377172792300273664,"45":-8815866613122101248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-08-11 08:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322365696001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:02:59] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 08:02:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377172792300273664,"km_value":377172792300273.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8815866613122101248,"description":"Unknown IO ID 45"} 
[2026-08-11 08:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322365696001,"power":27865,"unknown_133":206,"unknown_79":46592,"ignition":55,"odometer":null,"unknown_45":-8815866613122101248}} 
[2026-08-11 08:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":152025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:02:59] local.INFO: GPS data processed {"connection_id":152025,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:02:59] local.INFO: Acknowledgment sent {"connection_id":152025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:03:05] local.INFO: TCP Data received {"connection_id":152026,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:03:05] local.INFO: Processing buffer {"connection_id":152026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:03:05] local.INFO: IMEI packet received {"connection_id":152026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":152026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:03:06] local.INFO: TCP Data received {"connection_id":152026,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:03:06] local.INFO: Processing buffer {"connection_id":152026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:03:06] local.INFO: IMEI packet received {"connection_id":152026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":152026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:03:12] local.INFO: TCP Data received {"connection_id":152026,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:03:12] local.INFO: Processing buffer {"connection_id":152026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:03:12] local.INFO: IMEI packet received {"connection_id":152026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":152026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:03:12] local.INFO: TCP Data received {"connection_id":152026,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feea90878012d7a804005e45590000d007e29..."} 
[2026-08-11 08:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea90878012d7a804005e45590000d007e29..."} 
[2026-08-11 08:03:12] local.INFO: Processing buffer {"connection_id":152026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea90878012d7a804005e45590000d007e29..."} 
[2026-08-11 08:03:12] local.INFO: Packet analysis {"connection_id":152026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea9"} 
[2026-08-11 08:03:12] local.INFO: Extracted packet for processing {"connection_id":152026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea9"} 
[2026-08-11 08:03:12] local.INFO: GPS Element Parsed {"raw_longitude":763002944,"raw_latitude":98850192,"longitude_deg":76.3002944,"latitude_deg":9.8850192,"altitude":13,"angle":126,"satellites":41,"speed":21,"hex_longitude":"2d7a8040","hex_latitude":"05e45590","is_valid_coordinates":true} 
[2026-08-11 08:03: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-08-11 08:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322360064001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117522563055222784,"note":"Value kept but may cause issues"} 
[2026-08-11 08:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819314733093677056,"note":"Value kept but may cause issues"} 
[2026-08-11 08:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786415483000,"timestamp_ms":1786415483000,"timestamp_seconds":1786415483,"priority":1,"record_length":96,"hex_timestamp":"0000019feea90878"} 
[2026-08-11 08:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:03:12] 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-08-11 08:03: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":94,"data_length":795,"current_offset":136} 
[2026-08-11 08:03:12] 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-08-11 08:03: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-08-11 08:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:03:12] 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-08-11 08:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322360064001,"66":13406,"39":206,"87":13824,"24":21,"16":117522563055222784,"45":8819314733093677056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-11 08:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322360064001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:03:12] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-11 08:03:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117522563055222784,"km_value":117522563055222.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819314733093677056,"description":"Unknown IO ID 45"} 
[2026-08-11 08:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322360064001,"power":13406,"unknown_39":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8819314733093677056}} 
[2026-08-11 08:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":152026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:03:13] local.INFO: GPS data processed {"connection_id":152026,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:03:13] local.INFO: Acknowledgment sent {"connection_id":152026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:03:32] local.INFO: TCP Data received {"connection_id":152025,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea95e68012d85aec0061957a8001a00a62c..."} 
[2026-08-11 08:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea95e68012d85aec0061957a8001a00a62c..."} 
[2026-08-11 08:03:32] local.INFO: Processing buffer {"connection_id":152025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea95e68012d85aec0061957a8001a00a62c..."} 
[2026-08-11 08:03:32] local.INFO: Packet analysis {"connection_id":152025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea9"} 
[2026-08-11 08:03:32] local.INFO: Extracted packet for processing {"connection_id":152025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea9"} 
[2026-08-11 08:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763735744,"raw_latitude":102324136,"longitude_deg":76.3735744,"latitude_deg":10.2324136,"altitude":26,"angle":166,"satellites":44,"speed":57,"hex_longitude":"2d85aec0","hex_latitude":"061957a8","is_valid_coordinates":true} 
[2026-08-11 08:03: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-08-11 08:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322367488001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377173273336610816,"note":"Value kept but may cause issues"} 
[2026-08-11 08:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8815725875636097024,"note":"Value kept but may cause issues"} 
[2026-08-11 08:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786415505000,"timestamp_ms":1786415505000,"timestamp_seconds":1786415505,"priority":1,"record_length":96,"hex_timestamp":"0000019feea95e68"} 
[2026-08-11 08:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:03: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 08:03:32] 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-08-11 08:03: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-08-11 08:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:03:32] 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-08-11 08:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322367488001,"66":27908,"133":206,"79":46592,"24":57,"16":377173273336610816,"45":-8815725875636097024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-08-11 08:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322367488001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:03:32] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 08:03:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377173273336610816,"km_value":377173273336610.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8815725875636097024,"description":"Unknown IO ID 45"} 
[2026-08-11 08:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322367488001,"power":27908,"unknown_133":206,"unknown_79":46592,"ignition":57,"odometer":null,"unknown_45":-8815725875636097024}} 
[2026-08-11 08:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":152025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:03:32] local.INFO: GPS data processed {"connection_id":152025,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:03:32] local.INFO: Acknowledgment sent {"connection_id":152025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:03:43] local.INFO: TCP Data received {"connection_id":152026,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feea93b40012d7a9d0005e43df00006008329..."} 
[2026-08-11 08:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea93b40012d7a9d0005e43df00006008329..."} 
[2026-08-11 08:03:43] local.INFO: Processing buffer {"connection_id":152026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea93b40012d7a9d0005e43df00006008329..."} 
[2026-08-11 08:03:43] local.INFO: Packet analysis {"connection_id":152026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea9"} 
[2026-08-11 08:03:43] local.INFO: Extracted packet for processing {"connection_id":152026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea9"} 
[2026-08-11 08:03:43] local.INFO: GPS Element Parsed {"raw_longitude":763010304,"raw_latitude":98844144,"longitude_deg":76.3010304,"latitude_deg":9.8844144,"altitude":6,"angle":131,"satellites":41,"speed":32,"hex_longitude":"2d7a9d00","hex_latitude":"05e43df0","is_valid_coordinates":true} 
[2026-08-11 08:03: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-08-11 08:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322363648001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117523022616723456,"note":"Value kept but may cause issues"} 
[2026-08-11 08:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827125663695998976,"note":"Value kept but may cause issues"} 
[2026-08-11 08:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786415496000,"timestamp_ms":1786415496000,"timestamp_seconds":1786415496,"priority":1,"record_length":96,"hex_timestamp":"0000019feea93b40"} 
[2026-08-11 08:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:03:43] 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-08-11 08:03: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-11 08:03:43] 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-08-11 08:03: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-08-11 08:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:03:43] 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-08-11 08:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322363648001,"66":13515,"39":206,"87":13824,"24":32,"16":117523022616723456,"45":8827125663695998976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-11 08:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322363648001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:03:43] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-11 08:03:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117523022616723456,"km_value":117523022616723.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827125663695998976,"description":"Unknown IO ID 45"} 
[2026-08-11 08:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322363648001,"power":13515,"unknown_39":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8827125663695998976}} 
[2026-08-11 08:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":152026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:03:44] local.INFO: GPS data processed {"connection_id":152026,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:03:44] local.INFO: Acknowledgment sent {"connection_id":152026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:03:57] local.INFO: TCP Data received {"connection_id":153363,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:03:57] local.INFO: Processing buffer {"connection_id":153363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:03:57] local.INFO: IMEI packet received {"connection_id":153363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":153363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:03:58] local.INFO: TCP Data received {"connection_id":153363,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:03:58] local.INFO: Processing buffer {"connection_id":153363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:03:58] local.INFO: IMEI packet received {"connection_id":153363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":153363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:04:01] local.INFO: TCP Data received {"connection_id":153364,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:04:01] local.INFO: Processing buffer {"connection_id":153364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:04:01] local.INFO: IMEI packet received {"connection_id":153364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":153364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:04:01] local.INFO: TCP Data received {"connection_id":153364,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:04:01] local.INFO: Processing buffer {"connection_id":153364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:04:01] local.INFO: IMEI packet received {"connection_id":153364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":153364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:04:06] local.INFO: TCP Data received {"connection_id":153363,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:04:06] local.INFO: Processing buffer {"connection_id":153363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:04:06] local.INFO: IMEI packet received {"connection_id":153363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":153363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:04:07] local.INFO: TCP Data received {"connection_id":153363,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feea979c0012d85b74006193338001800a52e..."} 
[2026-08-11 08:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea979c0012d85b74006193338001800a52e..."} 
[2026-08-11 08:04:07] local.INFO: Processing buffer {"connection_id":153363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea979c0012d85b74006193338001800a52e..."} 
[2026-08-11 08:04:07] local.INFO: Packet analysis {"connection_id":153363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea9"} 
[2026-08-11 08:04:07] local.INFO: Extracted packet for processing {"connection_id":153363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea9"} 
[2026-08-11 08:04:07] local.INFO: GPS Element Parsed {"raw_longitude":763737920,"raw_latitude":102314808,"longitude_deg":76.373792,"latitude_deg":10.2314808,"altitude":24,"angle":165,"satellites":46,"speed":52,"hex_longitude":"2d85b740","hex_latitude":"06193338","is_valid_coordinates":true} 
[2026-08-11 08:04: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-08-11 08:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322369280001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377173737193078784,"note":"Value kept but may cause issues"} 
[2026-08-11 08:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8813896288289970176,"note":"Value kept but may cause issues"} 
[2026-08-11 08:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786415512000,"timestamp_ms":1786415512000,"timestamp_seconds":1786415512,"priority":1,"record_length":96,"hex_timestamp":"0000019feea979c0"} 
[2026-08-11 08:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:04: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-08-11 08:04: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-08-11 08:04: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-08-11 08:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:04:07] 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-08-11 08:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322369280001,"66":27767,"133":206,"79":46592,"24":52,"16":377173737193078784,"45":-8813896288289970176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-08-11 08:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322369280001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:04:07] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 08:04:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377173737193078784,"km_value":377173737193078.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8813896288289970176,"description":"Unknown IO ID 45"} 
[2026-08-11 08:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322369280001,"power":27767,"unknown_133":206,"unknown_79":46592,"ignition":52,"odometer":null,"unknown_45":-8813896288289970176}} 
[2026-08-11 08:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":153363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:04:07] local.INFO: GPS data processed {"connection_id":153363,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:04:07] local.INFO: Acknowledgment sent {"connection_id":153363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:04:07] local.INFO: TCP Data received {"connection_id":153364,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:04:07] local.INFO: Processing buffer {"connection_id":153364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:04:07] local.INFO: IMEI packet received {"connection_id":153364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":153364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:04:07] local.INFO: TCP Data received {"connection_id":153364,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feea96638012d7ab8c005e426600007008629..."} 
[2026-08-11 08:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea96638012d7ab8c005e426600007008629..."} 
[2026-08-11 08:04:07] local.INFO: Processing buffer {"connection_id":153364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea96638012d7ab8c005e426600007008629..."} 
[2026-08-11 08:04:07] local.INFO: Packet analysis {"connection_id":153364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea9"} 
[2026-08-11 08:04:07] local.INFO: Extracted packet for processing {"connection_id":153364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea9"} 
[2026-08-11 08:04:07] local.INFO: GPS Element Parsed {"raw_longitude":763017408,"raw_latitude":98838112,"longitude_deg":76.3017408,"latitude_deg":9.8838112,"altitude":7,"angle":134,"satellites":41,"speed":31,"hex_longitude":"2d7ab8c0","hex_latitude":"05e42660","is_valid_coordinates":true} 
[2026-08-11 08:04: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-08-11 08:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322366976001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117523469293322240,"note":"Value kept but may cause issues"} 
[2026-08-11 08:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835218069274882048,"note":"Value kept but may cause issues"} 
[2026-08-11 08:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786415507000,"timestamp_ms":1786415507000,"timestamp_seconds":1786415507,"priority":1,"record_length":96,"hex_timestamp":"0000019feea96638"} 
[2026-08-11 08:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:04:07] 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-08-11 08:04: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-11 08:04:07] 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-08-11 08:04: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-08-11 08:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:04:07] 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-08-11 08:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322366976001,"66":13472,"39":206,"87":13824,"24":31,"16":117523469293322240,"45":8835218069274882048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-11 08:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322366976001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:04:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-11 08:04:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117523469293322240,"km_value":117523469293322.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835218069274882048,"description":"Unknown IO ID 45"} 
[2026-08-11 08:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322366976001,"power":13472,"unknown_39":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8835218069274882048}} 
[2026-08-11 08:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":153364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:04:08] local.INFO: GPS data processed {"connection_id":153364,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:04:08] local.INFO: Acknowledgment sent {"connection_id":153364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:04:39] local.INFO: TCP Data received {"connection_id":153364,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feea99518012d7ace8005e40e980009009a28..."} 
[2026-08-11 08:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feea99518012d7ace8005e40e980009009a28..."} 
[2026-08-11 08:04:39] local.INFO: Processing buffer {"connection_id":153364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feea99518012d7ace8005e40e980009009a28..."} 
[2026-08-11 08:04:39] local.INFO: Packet analysis {"connection_id":153364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feea9"} 
[2026-08-11 08:04:39] local.INFO: Extracted packet for processing {"connection_id":153364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feea9"} 
[2026-08-11 08:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763022976,"raw_latitude":98832024,"longitude_deg":76.3022976,"latitude_deg":9.8832024,"altitude":9,"angle":154,"satellites":40,"speed":26,"hex_longitude":"2d7ace80","hex_latitude":"05e40e98","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322369792001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117523868725280768,"note":"Value kept but may cause issues"} 
[2026-08-11 08:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843028999877058560,"note":"Value kept but may cause issues"} 
[2026-08-11 08:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786415519000,"timestamp_ms":1786415519000,"timestamp_seconds":1786415519,"priority":1,"record_length":96,"hex_timestamp":"0000019feea99518"} 
[2026-08-11 08:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:04:39] 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-08-11 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-11 08:04:39] 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-08-11 08: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-08-11 08:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:04:39] 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-08-11 08:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322369792001,"66":13374,"39":206,"87":13824,"24":26,"16":117523868725280768,"45":8843028999877058560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-11 08:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322369792001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:04:39] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-11 08:04:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117523868725280768,"km_value":117523868725280.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843028999877058560,"description":"Unknown IO ID 45"} 
[2026-08-11 08:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322369792001,"power":13374,"unknown_39":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8843028999877058560}} 
[2026-08-11 08:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":153364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:04:39] local.INFO: GPS data processed {"connection_id":153364,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:04:39] local.INFO: Acknowledgment sent {"connection_id":153364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:04:48] local.INFO: TCP Data received {"connection_id":153363,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeab0c18012d86344006176af8001400a12e..."} 
[2026-08-11 08:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeab0c18012d86344006176af8001400a12e..."} 
[2026-08-11 08:04:48] local.INFO: Processing buffer {"connection_id":153363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeab0c18012d86344006176af8001400a12e..."} 
[2026-08-11 08:04:48] local.INFO: Packet analysis {"connection_id":153363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeab"} 
[2026-08-11 08:04:48] local.INFO: Extracted packet for processing {"connection_id":153363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeab"} 
[2026-08-11 08:04:48] local.INFO: GPS Element Parsed {"raw_longitude":763769920,"raw_latitude":102198008,"longitude_deg":76.376992,"latitude_deg":10.2198008,"altitude":20,"angle":161,"satellites":46,"speed":42,"hex_longitude":"2d863440","hex_latitude":"06176af8","is_valid_coordinates":true} 
[2026-08-11 08:04: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-08-11 08:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322395392001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377179608413372416,"note":"Value kept but may cause issues"} 
[2026-08-11 08:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8779415603673044992,"note":"Value kept but may cause issues"} 
[2026-08-11 08:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786415615000,"timestamp_ms":1786415615000,"timestamp_seconds":1786415615,"priority":1,"record_length":96,"hex_timestamp":"0000019feeab0c18"} 
[2026-08-11 08:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:04: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 08:04:48] 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-08-11 08:04: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-08-11 08:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:04:48] 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-08-11 08:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322395392001,"66":27767,"131":206,"79":46592,"24":42,"16":377179608413372416,"45":-8779415603673044992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-08-11 08:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322395392001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:04:48] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-11 08:04:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377179608413372416,"km_value":377179608413372.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8779415603673044992,"description":"Unknown IO ID 45"} 
[2026-08-11 08:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322395392001,"power":27767,"unknown_131":206,"unknown_79":46592,"ignition":42,"odometer":null,"unknown_45":-8779415603673044992}} 
[2026-08-11 08:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":153363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:04:48] local.INFO: GPS data processed {"connection_id":153363,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:04:48] local.INFO: Acknowledgment sent {"connection_id":153363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:04:55] local.INFO: TCP Data received {"connection_id":154756,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:04:55] local.INFO: Processing buffer {"connection_id":154756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:04:55] local.INFO: IMEI packet received {"connection_id":154756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":154756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:05:01] local.INFO: TCP Data received {"connection_id":154757,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:05:01] local.INFO: Processing buffer {"connection_id":154757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:05:01] local.INFO: IMEI packet received {"connection_id":154757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":154757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:05:02] local.INFO: TCP Data received {"connection_id":154757,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:05:02] local.INFO: Processing buffer {"connection_id":154757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:05:02] local.INFO: IMEI packet received {"connection_id":154757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":154757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:05:02] local.INFO: TCP Data received {"connection_id":154756,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:05:02] local.INFO: Processing buffer {"connection_id":154756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:05:02] local.INFO: IMEI packet received {"connection_id":154756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":154756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:05:03] local.INFO: TCP Data received {"connection_id":154756,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:05:03] local.INFO: Processing buffer {"connection_id":154756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:05:03] local.INFO: IMEI packet received {"connection_id":154756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":154756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:05:03] local.INFO: TCP Data received {"connection_id":154756,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeab2f40012d864080061746d0001300a130..."} 
[2026-08-11 08:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeab2f40012d864080061746d0001300a130..."} 
[2026-08-11 08:05:03] local.INFO: Processing buffer {"connection_id":154756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeab2f40012d864080061746d0001300a130..."} 
[2026-08-11 08:05:03] local.INFO: Packet analysis {"connection_id":154756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeab"} 
[2026-08-11 08:05:03] local.INFO: Extracted packet for processing {"connection_id":154756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeab"} 
[2026-08-11 08:05:03] local.INFO: GPS Element Parsed {"raw_longitude":763773056,"raw_latitude":102188752,"longitude_deg":76.3773056,"latitude_deg":10.2188752,"altitude":19,"angle":161,"satellites":48,"speed":45,"hex_longitude":"2d864080","hex_latitude":"061746d0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322397440001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377180080859774976,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8776319378931386368,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786415624000,"timestamp_ms":1786415624000,"timestamp_seconds":1786415624,"priority":1,"record_length":96,"hex_timestamp":"0000019feeab2f40"} 
[2026-08-11 08:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 08:05: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-08-11 08: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-08-11 08:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":154756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":154756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":154756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:05:03] 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-08-11 08:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322397440001,"66":27974,"131":206,"79":46592,"24":45,"16":377180080859774976,"45":-8776319378931386368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-08-11 08:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322397440001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:05:03] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-11 08:05:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377180080859774976,"km_value":377180080859775.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8776319378931386368,"description":"Unknown IO ID 45"} 
[2026-08-11 08:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322397440001,"power":27974,"unknown_131":206,"unknown_79":46592,"ignition":45,"odometer":null,"unknown_45":-8776319378931386368}} 
[2026-08-11 08:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":154756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:05:03] local.INFO: GPS data processed {"connection_id":154756,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:05:03] local.INFO: Acknowledgment sent {"connection_id":154756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:05:07] local.INFO: TCP Data received {"connection_id":154757,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:05:07] local.INFO: Processing buffer {"connection_id":154757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:05:07] local.INFO: IMEI packet received {"connection_id":154757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":154757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:05:07] local.INFO: TCP Data received {"connection_id":154757,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeabbbe0012d7b120005e328a00008009c20..."} 
[2026-08-11 08:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeabbbe0012d7b120005e328a00008009c20..."} 
[2026-08-11 08:05:07] local.INFO: Processing buffer {"connection_id":154757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeabbbe0012d7b120005e328a00008009c20..."} 
[2026-08-11 08:05:07] local.INFO: Packet analysis {"connection_id":154757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeab"} 
[2026-08-11 08:05:07] local.INFO: Extracted packet for processing {"connection_id":154757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeab"} 
[2026-08-11 08:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763040256,"raw_latitude":98773152,"longitude_deg":76.3040256,"latitude_deg":9.8773152,"altitude":8,"angle":156,"satellites":32,"speed":0,"hex_longitude":"2d7b1200","hex_latitude":"05e328a0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322403584001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117526870907420672,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867658060322756608,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786415660000,"timestamp_ms":1786415660000,"timestamp_seconds":1786415660,"priority":1,"record_length":96,"hex_timestamp":"0000019feeabbbe0"} 
[2026-08-11 08:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:05:07] 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-08-11 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 08:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167744036262,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:07] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399443,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4004128160,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-11 08:05:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2203058182,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:07] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2861504513,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154086,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:07] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2294808576,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,97,85,24,241,157,16,138,159,39,45,192,72,7,42,10,66,137,31,73,205,64,1,240,51,227,238,4,113,5,80,43,239,50,2,161,19],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-11 08:05:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576633504478789632,"timestamp_seconds":576633504478789.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 08:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:05:07] 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-08-11 08:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322403584001,"66":13461,"97":206,"85":15104,"24":0,"16":117526870907420672,"45":8867658060322756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322403584001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:05:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117526870907420672,"km_value":117526870907420.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867658060322756608,"description":"Unknown IO ID 45"} 
[2026-08-11 08:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322403584001,"power":13461,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867658060322756608}} 
[2026-08-11 08:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":154757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:05:07] local.INFO: GPS data processed {"connection_id":154757,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:05:07] local.INFO: Acknowledgment sent {"connection_id":154757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:05:08] local.INFO: TCP Data received {"connection_id":154756,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeab4e80012d864c00061723f8001100a030..."} 
[2026-08-11 08:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeab4e80012d864c00061723f8001100a030..."} 
[2026-08-11 08:05:08] local.INFO: Processing buffer {"connection_id":154756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeab4e80012d864c00061723f8001100a030..."} 
[2026-08-11 08:05:08] local.INFO: Packet analysis {"connection_id":154756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeab"} 
[2026-08-11 08:05:08] local.INFO: Extracted packet for processing {"connection_id":154756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeab"} 
[2026-08-11 08:05:08] local.INFO: GPS Element Parsed {"raw_longitude":763776000,"raw_latitude":102179832,"longitude_deg":76.3776,"latitude_deg":10.2179832,"altitude":17,"angle":160,"satellites":48,"speed":46,"hex_longitude":"2d864c00","hex_latitude":"061723f8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322399744001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377180536126308352,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8772871310469050368,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786415632000,"timestamp_ms":1786415632000,"timestamp_seconds":1786415632,"priority":1,"record_length":96,"hex_timestamp":"0000019feeab4e80"} 
[2026-08-11 08:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 08:05: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-08-11 08: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-08-11 08:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:05:08] 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-08-11 08:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322399744001,"66":27919,"131":206,"79":46592,"24":46,"16":377180536126308352,"45":-8772871310469050368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-08-11 08:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322399744001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:05:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-11 08:05:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377180536126308352,"km_value":377180536126308.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8772871310469050368,"description":"Unknown IO ID 45"} 
[2026-08-11 08:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322399744001,"power":27919,"unknown_131":206,"unknown_79":46592,"ignition":46,"odometer":null,"unknown_45":-8772871310469050368}} 
[2026-08-11 08:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":154756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:05:08] local.INFO: GPS data processed {"connection_id":154756,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:05:08] local.INFO: Acknowledgment sent {"connection_id":154756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:05:53] local.INFO: TCP Data received {"connection_id":152417,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:05:53] local.INFO: Processing buffer {"connection_id":152417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:05:53] local.INFO: IMEI packet received {"connection_id":152417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":152417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:05:56] local.INFO: TCP Data received {"connection_id":154757,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeac0618012d7b12c005e325d8000800a920..."} 
[2026-08-11 08:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeac0618012d7b12c005e325d8000800a920..."} 
[2026-08-11 08:05:56] local.INFO: Processing buffer {"connection_id":154757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeac0618012d7b12c005e325d8000800a920..."} 
[2026-08-11 08:05:56] local.INFO: Packet analysis {"connection_id":154757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeac"} 
[2026-08-11 08:05:56] local.INFO: Extracted packet for processing {"connection_id":154757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeac"} 
[2026-08-11 08:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763040448,"raw_latitude":98772440,"longitude_deg":76.3040448,"latitude_deg":9.877244,"altitude":8,"angle":169,"satellites":32,"speed":4,"hex_longitude":"2d7b12c0","hex_latitude":"05e325d8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 08:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322408960001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117526913857093632,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868150641531854848,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786415679000,"timestamp_ms":1786415679000,"timestamp_seconds":1786415679,"priority":1,"record_length":96,"hex_timestamp":"0000019feeac0618"} 
[2026-08-11 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-08-11 08:05:56] 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-08-11 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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-11 08:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 08:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:05:56] 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-08-11 08:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322408960001,"66":13319,"97":206,"85":15104,"24":4,"16":117526913857093632,"45":8868150641531854848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322408960001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:05:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117526913857093632,"km_value":117526913857093.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868150641531854848,"description":"Unknown IO ID 45"} 
[2026-08-11 08:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322408960001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8868150641531854848}} 
[2026-08-11 08:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":154757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:05:56] local.INFO: GPS data processed {"connection_id":154757,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:05:56] local.INFO: Acknowledgment sent {"connection_id":154757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:05:58] local.INFO: TCP Data received {"connection_id":152417,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:05:58] local.INFO: Processing buffer {"connection_id":152417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:05:58] local.INFO: IMEI packet received {"connection_id":152417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":152417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:05:59] local.INFO: TCP Data received {"connection_id":152417,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeab6dc0012d865ac006170190000f009830..."} 
[2026-08-11 08:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeab6dc0012d865ac006170190000f009830..."} 
[2026-08-11 08:05:59] local.INFO: Processing buffer {"connection_id":152417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeab6dc0012d865ac006170190000f009830..."} 
[2026-08-11 08:05:59] local.INFO: Packet analysis {"connection_id":152417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeab"} 
[2026-08-11 08:05:59] local.INFO: Extracted packet for processing {"connection_id":152417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeab"} 
[2026-08-11 08:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763779776,"raw_latitude":102171024,"longitude_deg":76.3779776,"latitude_deg":10.2171024,"altitude":15,"angle":152,"satellites":48,"speed":48,"hex_longitude":"2d865ac0","hex_latitude":"06170190","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322401792001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377180999982776320,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8769634348239161344,"note":"Value kept but may cause issues"} 
[2026-08-11 08:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786415640000,"timestamp_ms":1786415640000,"timestamp_seconds":1786415640,"priority":1,"record_length":96,"hex_timestamp":"0000019feeab6dc0"} 
[2026-08-11 08:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 08:05:59] 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-08-11 08: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-08-11 08:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:05:59] 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-08-11 08:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322401792001,"66":27919,"131":206,"79":46592,"24":48,"16":377180999982776320,"45":-8769634348239161344},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-08-11 08:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322401792001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:05:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-11 08:05:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377180999982776320,"km_value":377180999982776.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8769634348239161344,"description":"Unknown IO ID 45"} 
[2026-08-11 08:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322401792001,"power":27919,"unknown_131":206,"unknown_79":46592,"ignition":48,"odometer":null,"unknown_45":-8769634348239161344}} 
[2026-08-11 08:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":152417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:05:59] local.INFO: GPS data processed {"connection_id":152417,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:05:59] local.INFO: Acknowledgment sent {"connection_id":152417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:06:02] local.INFO: TCP Data received {"connection_id":152418,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:06:02] local.INFO: Processing buffer {"connection_id":152418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:06:02] local.INFO: IMEI packet received {"connection_id":152418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":152418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:06:06] local.INFO: TCP Data received {"connection_id":152418,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:06:06] local.INFO: Processing buffer {"connection_id":152418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:06:06] local.INFO: IMEI packet received {"connection_id":152418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":152418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:06:07] local.INFO: TCP Data received {"connection_id":152418,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeac5820012d7b174005e30850000600ae22..."} 
[2026-08-11 08:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeac5820012d7b174005e30850000600ae22..."} 
[2026-08-11 08:06:07] local.INFO: Processing buffer {"connection_id":152418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeac5820012d7b174005e30850000600ae22..."} 
[2026-08-11 08:06:07] local.INFO: Packet analysis {"connection_id":152418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeac"} 
[2026-08-11 08:06:07] local.INFO: Extracted packet for processing {"connection_id":152418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeac"} 
[2026-08-11 08:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763041600,"raw_latitude":98764880,"longitude_deg":76.30416,"latitude_deg":9.876488,"altitude":6,"angle":174,"satellites":34,"speed":26,"hex_longitude":"2d7b1740","hex_latitude":"05e30850","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322413824001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117527283224281088,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868361747764205568,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786415700000,"timestamp_ms":1786415700000,"timestamp_seconds":1786415700,"priority":1,"record_length":96,"hex_timestamp":"0000019feeac5820"} 
[2026-08-11 08:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:06:07] 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-08-11 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 08:06:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4004155160,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-7834011530326168832,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:07] local.WARNING: Large IO value detected {"io_id":137,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:07] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2870976513,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2550214011,"corrected_to":0} 
[2026-08-11 08:06:07] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2304638976,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:07] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:07] local.WARNING: Large IO value detected {"io_id":170,"raw_value":5807393014341976069,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:07] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,97,85,24,241,157,16,138,159,187,45,40,8,32,10,66,105,64,42,30,39,192,1,240,62,227,137,238,4,113,205,5,96,41,239,52,2,161,6,248,170],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2550214011,"validated":0}]} 
[2026-08-11 08:06:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576646707207733248,"timestamp_seconds":576646707207733.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 08:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:06:07] 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-08-11 08:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322413824001,"66":13472,"97":206,"85":15104,"24":26,"16":117527283224281088,"45":8868361747764205568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322413824001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:06:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117527283224281088,"km_value":117527283224281.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868361747764205568,"description":"Unknown IO ID 45"} 
[2026-08-11 08:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322413824001,"power":13472,"unknown_97":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8868361747764205568}} 
[2026-08-11 08:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":152418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:06:07] local.INFO: GPS data processed {"connection_id":152418,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:06:07] local.INFO: Acknowledgment sent {"connection_id":152418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:06:30] local.INFO: TCP Data received {"connection_id":152417,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeab8d00012d866c000616e298000f00962f..."} 
[2026-08-11 08:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeab8d00012d866c000616e298000f00962f..."} 
[2026-08-11 08:06:30] local.INFO: Processing buffer {"connection_id":152417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeab8d00012d866c000616e298000f00962f..."} 
[2026-08-11 08:06:30] local.INFO: Packet analysis {"connection_id":152417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeab"} 
[2026-08-11 08:06:30] local.INFO: Extracted packet for processing {"connection_id":152417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeab"} 
[2026-08-11 08:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763784192,"raw_latitude":102163096,"longitude_deg":76.3784192,"latitude_deg":10.2163096,"altitude":15,"angle":150,"satellites":47,"speed":42,"hex_longitude":"2d866c00","hex_latitude":"0616e298","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322403840001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377181438069440512,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8765482592334934016,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786415648000,"timestamp_ms":1786415648000,"timestamp_seconds":1786415648,"priority":1,"record_length":96,"hex_timestamp":"0000019feeab8d00"} 
[2026-08-11 08:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 08:06:30] 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-08-11 08: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-08-11 08:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:06:30] 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-08-11 08:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322403840001,"66":27876,"131":206,"79":46592,"24":42,"16":377181438069440512,"45":-8765482592334934016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-08-11 08:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322403840001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:06:30] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-11 08:06:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377181438069440512,"km_value":377181438069440.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8765482592334934016,"description":"Unknown IO ID 45"} 
[2026-08-11 08:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322403840001,"power":27876,"unknown_131":206,"unknown_79":46592,"ignition":42,"odometer":null,"unknown_45":-8765482592334934016}} 
[2026-08-11 08:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":152417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:06:30] local.INFO: GPS data processed {"connection_id":152417,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:06:30] local.INFO: Acknowledgment sent {"connection_id":152417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:06:38] local.INFO: TCP Data received {"connection_id":152418,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feead90a0012d7b218005e29208000201451f..."} 
[2026-08-11 08:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feead90a0012d7b218005e29208000201451f..."} 
[2026-08-11 08:06:38] local.INFO: Processing buffer {"connection_id":152418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feead90a0012d7b218005e29208000201451f..."} 
[2026-08-11 08:06:38] local.INFO: Packet analysis {"connection_id":152418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feead"} 
[2026-08-11 08:06:38] local.INFO: Extracted packet for processing {"connection_id":152418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feead"} 
[2026-08-11 08:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763044224,"raw_latitude":98734600,"longitude_deg":76.3044224,"latitude_deg":9.87346,"altitude":2,"angle":325,"satellites":31,"speed":9,"hex_longitude":"2d7b2180","hex_latitude":"05e29208","is_valid_coordinates":true} 
[2026-08-11 08:06: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-08-11 08:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322439424001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117528859477278720,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872654241149317120,"note":"Value kept but may cause issues"} 
[2026-08-11 08:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786415780000,"timestamp_ms":1786415780000,"timestamp_seconds":1786415780,"priority":1,"record_length":96,"hex_timestamp":"0000019feead90a0"} 
[2026-08-11 08:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:06:38] 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-08-11 08:06: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 08:06:38] 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-08-11 08:06: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-08-11 08:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:06:38] 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-08-11 08:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322439424001,"66":12798,"96":206,"85":15104,"24":9,"16":117528859477278720,"45":8872654241149317120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 08:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322439424001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:06:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 08:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117528859477278720,"km_value":117528859477278.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872654241149317120,"description":"Unknown IO ID 45"} 
[2026-08-11 08:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322439424001,"power":12798,"unknown_96":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8872654241149317120}} 
[2026-08-11 08:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":152418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:06:38] local.INFO: GPS data processed {"connection_id":152418,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:06:38] local.INFO: Acknowledgment sent {"connection_id":152418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:06:53] local.INFO: TCP Data received {"connection_id":152027,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:06:53] local.INFO: Processing buffer {"connection_id":152027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:06:53] local.INFO: IMEI packet received {"connection_id":152027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":152027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:07:01] local.INFO: TCP Data received {"connection_id":152027,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:07:01] local.INFO: Processing buffer {"connection_id":152027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:07:01] local.INFO: IMEI packet received {"connection_id":152027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":152027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:07:01] local.INFO: TCP Data received {"connection_id":152027,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeabb028012d867e800616c308001100952f..."} 
[2026-08-11 08:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeabb028012d867e800616c308001100952f..."} 
[2026-08-11 08:07:01] local.INFO: Processing buffer {"connection_id":152027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeabb028012d867e800616c308001100952f..."} 
[2026-08-11 08:07:01] local.INFO: Packet analysis {"connection_id":152027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeab"} 
[2026-08-11 08:07:01] local.INFO: Extracted packet for processing {"connection_id":152027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeab"} 
[2026-08-11 08:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763788928,"raw_latitude":102155016,"longitude_deg":76.3788928,"latitude_deg":10.2155016,"altitude":17,"angle":149,"satellites":47,"speed":38,"hex_longitude":"2d867e80","hex_latitude":"0616c308","is_valid_coordinates":true} 
[2026-08-11 08:07: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-08-11 08:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322405888001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377181889041006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8760627148988704768,"note":"Value kept but may cause issues"} 
[2026-08-11 08:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786415657000,"timestamp_ms":1786415657000,"timestamp_seconds":1786415657,"priority":1,"record_length":96,"hex_timestamp":"0000019feeabb028"} 
[2026-08-11 08:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:07: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 08:07:01] 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-08-11 08:07: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-08-11 08:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:07:01] 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-08-11 08:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322405888001,"66":27865,"131":206,"79":46592,"24":38,"16":377181889041006592,"45":-8760627148988704768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-08-11 08:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322405888001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:07:01] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-11 08:07:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377181889041006592,"km_value":377181889041006.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8760627148988704768,"description":"Unknown IO ID 45"} 
[2026-08-11 08:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322405888001,"power":27865,"unknown_131":206,"unknown_79":46592,"ignition":38,"odometer":null,"unknown_45":-8760627148988704768}} 
[2026-08-11 08:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":152027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:07:01] local.INFO: GPS data processed {"connection_id":152027,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:07:01] local.INFO: Acknowledgment sent {"connection_id":152027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:07:02] local.INFO: TCP Data received {"connection_id":152028,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:07:02] local.INFO: Processing buffer {"connection_id":152028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:07:02] local.INFO: IMEI packet received {"connection_id":152028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":152028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:07:07] local.INFO: TCP Data received {"connection_id":152028,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:07:07] local.INFO: Processing buffer {"connection_id":152028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:07:07] local.INFO: IMEI packet received {"connection_id":152028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":152028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:07:08] local.INFO: TCP Data received {"connection_id":152028,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feead9488012d7b214005e292f8000201591f..."} 
[2026-08-11 08:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feead9488012d7b214005e292f8000201591f..."} 
[2026-08-11 08:07:08] local.INFO: Processing buffer {"connection_id":152028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feead9488012d7b214005e292f8000201591f..."} 
[2026-08-11 08:07:08] local.INFO: Packet analysis {"connection_id":152028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feead"} 
[2026-08-11 08:07:08] local.INFO: Extracted packet for processing {"connection_id":152028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feead"} 
[2026-08-11 08:07:08] local.INFO: GPS Element Parsed {"raw_longitude":763044160,"raw_latitude":98734840,"longitude_deg":76.304416,"latitude_deg":9.873484,"altitude":2,"angle":345,"satellites":31,"speed":10,"hex_longitude":"2d7b2140","hex_latitude":"05e292f8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322439680001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117528872362180608,"note":"Value kept but may cause issues"} 
[2026-08-11 08:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872513503661000704,"note":"Value kept but may cause issues"} 
[2026-08-11 08:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786415781000,"timestamp_ms":1786415781000,"timestamp_seconds":1786415781,"priority":1,"record_length":96,"hex_timestamp":"0000019feead9488"} 
[2026-08-11 08:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:07:08] 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-08-11 08: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 08:07:08] 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-08-11 08: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-08-11 08:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:07:08] 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-08-11 08:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322439680001,"66":13352,"96":206,"85":15104,"24":10,"16":117528872362180608,"45":8872513503661000704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 08:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322439680001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:07:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 08:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117528872362180608,"km_value":117528872362180.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872513503661000704,"description":"Unknown IO ID 45"} 
[2026-08-11 08:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322439680001,"power":13352,"unknown_96":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8872513503661000704}} 
[2026-08-11 08:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":152028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:07:08] local.INFO: GPS data processed {"connection_id":152028,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:07:08] local.INFO: Acknowledgment sent {"connection_id":152028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:07:32] local.INFO: TCP Data received {"connection_id":152027,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeabdb20012d8691400616a3000015009630..."} 
[2026-08-11 08:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeabdb20012d8691400616a3000015009630..."} 
[2026-08-11 08:07:32] local.INFO: Processing buffer {"connection_id":152027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeabdb20012d8691400616a3000015009630..."} 
[2026-08-11 08:07:32] local.INFO: Packet analysis {"connection_id":152027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeab"} 
[2026-08-11 08:07:32] local.INFO: Extracted packet for processing {"connection_id":152027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeab"} 
[2026-08-11 08:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763793728,"raw_latitude":102146816,"longitude_deg":76.3793728,"latitude_deg":10.2146816,"altitude":21,"angle":150,"satellites":48,"speed":31,"hex_longitude":"2d869140","hex_latitude":"0616a300","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322408192001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377182348602507264,"note":"Value kept but may cause issues"} 
[2026-08-11 08:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8755419861921626112,"note":"Value kept but may cause issues"} 
[2026-08-11 08:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786415668000,"timestamp_ms":1786415668000,"timestamp_seconds":1786415668,"priority":1,"record_length":96,"hex_timestamp":"0000019feeabdb20"} 
[2026-08-11 08:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 08:07:32] 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-08-11 08: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-08-11 08:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:07:32] 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-08-11 08:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322408192001,"66":27930,"131":206,"79":46592,"24":31,"16":377182348602507264,"45":-8755419861921626112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-08-11 08:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322408192001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:07:32] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-11 08:07:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377182348602507264,"km_value":377182348602507.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8755419861921626112,"description":"Unknown IO ID 45"} 
[2026-08-11 08:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322408192001,"power":27930,"unknown_131":206,"unknown_79":46592,"ignition":31,"odometer":null,"unknown_45":-8755419861921626112}} 
[2026-08-11 08:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":152027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:07:32] local.INFO: GPS data processed {"connection_id":152027,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:07:32] local.INFO: Acknowledgment sent {"connection_id":152027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:07:39] local.INFO: TCP Data received {"connection_id":152028,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feead9c58012d7b208005e295980002016421..."} 
[2026-08-11 08:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feead9c58012d7b208005e295980002016421..."} 
[2026-08-11 08:07:39] local.INFO: Processing buffer {"connection_id":152028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feead9c58012d7b208005e295980002016421..."} 
[2026-08-11 08:07:39] local.INFO: Packet analysis {"connection_id":152028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feead"} 
[2026-08-11 08:07:39] local.INFO: Extracted packet for processing {"connection_id":152028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feead"} 
[2026-08-11 08:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763043968,"raw_latitude":98735512,"longitude_deg":76.3043968,"latitude_deg":9.8735512,"altitude":2,"angle":356,"satellites":33,"speed":16,"hex_longitude":"2d7b2080","hex_latitude":"05e29598","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322439936001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117528906721918976,"note":"Value kept but may cause issues"} 
[2026-08-11 08:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872443134916884480,"note":"Value kept but may cause issues"} 
[2026-08-11 08:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786415783000,"timestamp_ms":1786415783000,"timestamp_seconds":1786415783,"priority":1,"record_length":96,"hex_timestamp":"0000019feead9c58"} 
[2026-08-11 08:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:07:39] 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-08-11 08: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-11 08:07:39] 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-08-11 08: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-08-11 08:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:07:39] 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-08-11 08:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322439936001,"66":13352,"96":206,"85":15104,"24":16,"16":117528906721918976,"45":8872443134916884480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 08:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322439936001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:07:39] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 08:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117528906721918976,"km_value":117528906721918.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872443134916884480,"description":"Unknown IO ID 45"} 
[2026-08-11 08:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322439936001,"power":13352,"unknown_96":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8872443134916884480}} 
[2026-08-11 08:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":152028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:07:39] local.INFO: GPS data processed {"connection_id":152028,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:07:39] local.INFO: Acknowledgment sent {"connection_id":152028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:07:58] local.INFO: TCP Data received {"connection_id":152029,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:07:58] local.INFO: Processing buffer {"connection_id":152029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:07:58] local.INFO: IMEI packet received {"connection_id":152029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":152029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:07:59] local.INFO: TCP Data received {"connection_id":152029,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:07:59] local.INFO: Processing buffer {"connection_id":152029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:07:59] local.INFO: IMEI packet received {"connection_id":152029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":152029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:08:00] local.INFO: TCP Data received {"connection_id":152029,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeae4068012d86fac006158650000d00b630..."} 
[2026-08-11 08:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeae4068012d86fac006158650000d00b630..."} 
[2026-08-11 08:08:00] local.INFO: Processing buffer {"connection_id":152029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeae4068012d86fac006158650000d00b630..."} 
[2026-08-11 08:08:00] local.INFO: Packet analysis {"connection_id":152029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeae"} 
[2026-08-11 08:08:00] local.INFO: Extracted packet for processing {"connection_id":152029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeae"} 
[2026-08-11 08:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763820736,"raw_latitude":102073936,"longitude_deg":76.3820736,"latitude_deg":10.2073936,"altitude":13,"angle":182,"satellites":48,"speed":48,"hex_longitude":"2d86fac0","hex_latitude":"06158650","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322449152001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377186201188171776,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8720024383618615296,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786415825000,"timestamp_ms":1786415825000,"timestamp_seconds":1786415825,"priority":1,"record_length":96,"hex_timestamp":"0000019feeae4068"} 
[2026-08-11 08:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 08:08:00] 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-08-11 08: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-08-11 08:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:08:00] 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-08-11 08:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322449152001,"66":27800,"154":206,"79":46592,"24":48,"16":377186201188171776,"45":-8720024383618615296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-08-11 08:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322449152001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:08:00] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 08:08:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377186201188171776,"km_value":377186201188171.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8720024383618615296,"description":"Unknown IO ID 45"} 
[2026-08-11 08:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322449152001,"power":27800,"unknown_154":206,"unknown_79":46592,"ignition":48,"odometer":null,"unknown_45":-8720024383618615296}} 
[2026-08-11 08:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":152029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:08:00] local.INFO: GPS data processed {"connection_id":152029,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:08:00] local.INFO: Acknowledgment sent {"connection_id":152029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:08:01] local.INFO: TCP Data received {"connection_id":153365,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:08:01] local.INFO: Processing buffer {"connection_id":153365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:08:01] local.INFO: IMEI packet received {"connection_id":153365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":153365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:08:02] local.INFO: TCP Data received {"connection_id":153365,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:08:02] local.INFO: Processing buffer {"connection_id":153365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:08:02] local.INFO: IMEI packet received {"connection_id":153365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":153365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:08:04] local.INFO: TCP Data received {"connection_id":152029,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeae5bc0012d86fc8006156408000c00aa30..."} 
[2026-08-11 08:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeae5bc0012d86fc8006156408000c00aa30..."} 
[2026-08-11 08:08:04] local.INFO: Processing buffer {"connection_id":152029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeae5bc0012d86fc8006156408000c00aa30..."} 
[2026-08-11 08:08:04] local.INFO: Packet analysis {"connection_id":152029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeae"} 
[2026-08-11 08:08:04] local.INFO: Extracted packet for processing {"connection_id":152029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeae"} 
[2026-08-11 08:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763821184,"raw_latitude":102065160,"longitude_deg":76.3821184,"latitude_deg":10.206516,"altitude":12,"angle":170,"satellites":48,"speed":49,"hex_longitude":"2d86fc80","hex_latitude":"06156408","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322451200001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377186626389934080,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8720446596086083584,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786415832000,"timestamp_ms":1786415832000,"timestamp_seconds":1786415832,"priority":1,"record_length":96,"hex_timestamp":"0000019feeae5bc0"} 
[2026-08-11 08:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 08:08: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-08-11 08: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-08-11 08:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:08:04] 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-08-11 08:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322451200001,"66":28050,"154":206,"79":46592,"24":49,"16":377186626389934080,"45":-8720446596086083584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-08-11 08:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322451200001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:08:04] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 08:08:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377186626389934080,"km_value":377186626389934.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8720446596086083584,"description":"Unknown IO ID 45"} 
[2026-08-11 08:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322451200001,"power":28050,"unknown_154":206,"unknown_79":46592,"ignition":49,"odometer":null,"unknown_45":-8720446596086083584}} 
[2026-08-11 08:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":152029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:08:04] local.INFO: GPS data processed {"connection_id":152029,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:08:04] local.INFO: Acknowledgment sent {"connection_id":152029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:08:07] local.INFO: TCP Data received {"connection_id":153365,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:08:07] local.INFO: Processing buffer {"connection_id":153365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:08:07] local.INFO: IMEI packet received {"connection_id":153365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":153365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:08:07] local.INFO: TCP Data received {"connection_id":153365,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeadcf20012d7b1a4005e2bb70000201621d..."} 
[2026-08-11 08:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeadcf20012d7b1a4005e2bb70000201621d..."} 
[2026-08-11 08:08:07] local.INFO: Processing buffer {"connection_id":153365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeadcf20012d7b1a4005e2bb70000201621d..."} 
[2026-08-11 08:08:07] local.INFO: Packet analysis {"connection_id":153365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feead"} 
[2026-08-11 08:08:07] local.INFO: Extracted packet for processing {"connection_id":153365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feead"} 
[2026-08-11 08:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763042368,"raw_latitude":98745200,"longitude_deg":76.3042368,"latitude_deg":9.87452,"altitude":2,"angle":354,"satellites":29,"speed":40,"hex_longitude":"2d7b1a40","hex_latitude":"05e2bb70","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322440448001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117529383463288832,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872232028684523520,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786415796000,"timestamp_ms":1786415796000,"timestamp_seconds":1786415796,"priority":1,"record_length":96,"hex_timestamp":"0000019feeadcf20"} 
[2026-08-11 08:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:08:07] 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-08-11 08: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-11 08:08:07] 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-08-11 08: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-08-11 08:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:08:07] 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-08-11 08:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322440448001,"66":13515,"96":206,"85":15104,"24":40,"16":117529383463288832,"45":8872232028684523520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 08:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322440448001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:08:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 08:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117529383463288832,"km_value":117529383463288.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872232028684523520,"description":"Unknown IO ID 45"} 
[2026-08-11 08:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322440448001,"power":13515,"unknown_96":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8872232028684523520}} 
[2026-08-11 08:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":153365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:08:07] local.INFO: GPS data processed {"connection_id":153365,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:08:07] local.INFO: Acknowledgment sent {"connection_id":153365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:08:38] local.INFO: TCP Data received {"connection_id":152029,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeae7ee8012d87058006153f90000b00a630..."} 
[2026-08-11 08:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeae7ee8012d87058006153f90000b00a630..."} 
[2026-08-11 08:08:38] local.INFO: Processing buffer {"connection_id":152029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeae7ee8012d87058006153f90000b00a630..."} 
[2026-08-11 08:08:38] local.INFO: Packet analysis {"connection_id":152029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeae"} 
[2026-08-11 08:08:38] local.INFO: Extracted packet for processing {"connection_id":152029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeae"} 
[2026-08-11 08:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763823488,"raw_latitude":102055824,"longitude_deg":76.3823488,"latitude_deg":10.2055824,"altitude":11,"angle":166,"satellites":48,"speed":37,"hex_longitude":"2d870580","hex_latitude":"06153f90","is_valid_coordinates":true} 
[2026-08-11 08: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":795,"current_offset":40} 
[2026-08-11 08:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322452992001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377187094541369344,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8719954014879086592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786415841000,"timestamp_ms":1786415841000,"timestamp_seconds":1786415841,"priority":1,"record_length":96,"hex_timestamp":"0000019feeae7ee8"} 
[2026-08-11 08:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:08: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":146,"data_length":795,"current_offset":136} 
[2026-08-11 08:08:38] 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-08-11 08:08: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-08-11 08:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:08:38] 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-08-11 08:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322452992001,"66":27843,"154":206,"79":46592,"24":37,"16":377187094541369344,"45":-8719954014879086592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-08-11 08:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322452992001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:08:38] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 08:08:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377187094541369344,"km_value":377187094541369.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8719954014879086592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322452992001,"power":27843,"unknown_154":206,"unknown_79":46592,"ignition":37,"odometer":null,"unknown_45":-8719954014879086592}} 
[2026-08-11 08:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":152029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:08:38] local.INFO: GPS data processed {"connection_id":152029,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:08:38] local.INFO: Acknowledgment sent {"connection_id":152029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:08:39] local.INFO: TCP Data received {"connection_id":153365,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeaf1740012d7b048005e344d00000015521..."} 
[2026-08-11 08:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeaf1740012d7b048005e344d00000015521..."} 
[2026-08-11 08:08:39] local.INFO: Processing buffer {"connection_id":153365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeaf1740012d7b048005e344d00000015521..."} 
[2026-08-11 08:08:39] local.INFO: Packet analysis {"connection_id":153365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:08:39] local.INFO: Extracted packet for processing {"connection_id":153365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763036800,"raw_latitude":98780368,"longitude_deg":76.30368,"latitude_deg":9.8780368,"altitude":0,"angle":341,"satellites":33,"speed":5,"hex_longitude":"2d7b0480","hex_latitude":"05e344d0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322464512001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117531131514978304,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864350729347942400,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786415880000,"timestamp_ms":1786415880000,"timestamp_seconds":1786415880,"priority":1,"record_length":96,"hex_timestamp":"0000019feeaf1740"} 
[2026-08-11 08:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:08:39] 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-08-11 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-11 08:08:39] 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-08-11 08: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-08-11 08:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:08:39] 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-08-11 08:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322464512001,"66":13341,"97":206,"85":15104,"24":5,"16":117531131514978304,"45":8864350729347942400},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322464512001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:08:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117531131514978304,"km_value":117531131514978.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864350729347942400,"description":"Unknown IO ID 45"} 
[2026-08-11 08:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322464512001,"power":13341,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8864350729347942400}} 
[2026-08-11 08:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":153365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:08:39] local.INFO: GPS data processed {"connection_id":153365,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:08:39] local.INFO: Acknowledgment sent {"connection_id":153365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:08:50] local.INFO: TCP Data received {"connection_id":152419,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:08:50] local.INFO: Processing buffer {"connection_id":152419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:08:50] local.INFO: IMEI packet received {"connection_id":152419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":152419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:08:53] local.INFO: TCP Data received {"connection_id":152419,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:08:53] local.INFO: Processing buffer {"connection_id":152419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:08:53] local.INFO: IMEI packet received {"connection_id":152419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":152419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:08:58] local.INFO: TCP Data received {"connection_id":152419,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:08:58] local.INFO: Processing buffer {"connection_id":152419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:08:58] local.INFO: IMEI packet received {"connection_id":152419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":152419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:08:59] local.INFO: TCP Data received {"connection_id":152419,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeaea5f8012d870d8006151c68000800a730..."} 
[2026-08-11 08:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeaea5f8012d870d8006151c68000800a730..."} 
[2026-08-11 08:08:59] local.INFO: Processing buffer {"connection_id":152419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeaea5f8012d870d8006151c68000800a730..."} 
[2026-08-11 08:08:59] local.INFO: Packet analysis {"connection_id":152419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeae"} 
[2026-08-11 08:08:59] local.INFO: Extracted packet for processing {"connection_id":152419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeae"} 
[2026-08-11 08:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763825536,"raw_latitude":102046824,"longitude_deg":76.3825536,"latitude_deg":10.2046824,"altitude":8,"angle":167,"satellites":48,"speed":36,"hex_longitude":"2d870d80","hex_latitude":"06151c68","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322455296001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377187541217968128,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8717420740091080704,"note":"Value kept but may cause issues"} 
[2026-08-11 08:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786415851000,"timestamp_ms":1786415851000,"timestamp_seconds":1786415851,"priority":1,"record_length":96,"hex_timestamp":"0000019feeaea5f8"} 
[2026-08-11 08:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 08:08:59] 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-08-11 08: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-08-11 08:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:08:59] 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-08-11 08:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322455296001,"66":27832,"154":206,"79":46592,"24":36,"16":377187541217968128,"45":-8717420740091080704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-08-11 08:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322455296001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:08:59] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 08:08:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377187541217968128,"km_value":377187541217968.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8717420740091080704,"description":"Unknown IO ID 45"} 
[2026-08-11 08:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322455296001,"power":27832,"unknown_154":206,"unknown_79":46592,"ignition":36,"odometer":null,"unknown_45":-8717420740091080704}} 
[2026-08-11 08:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":152419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:08:59] local.INFO: GPS data processed {"connection_id":152419,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:08:59] local.INFO: Acknowledgment sent {"connection_id":152419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:09:01] local.INFO: TCP Data received {"connection_id":153366,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:09:01] local.INFO: Processing buffer {"connection_id":153366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:09:01] local.INFO: IMEI packet received {"connection_id":153366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":153366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:09:05] local.INFO: TCP Data received {"connection_id":153366,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:09:05] local.INFO: Processing buffer {"connection_id":153366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:09:05] local.INFO: IMEI packet received {"connection_id":153366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":153366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:09:06] local.INFO: TCP Data received {"connection_id":153366,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeaf4620012d7b050005e346800000016523..."} 
[2026-08-11 08:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeaf4620012d7b050005e346800000016523..."} 
[2026-08-11 08:09:06] local.INFO: Processing buffer {"connection_id":153366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeaf4620012d7b050005e346800000016523..."} 
[2026-08-11 08:09:06] local.INFO: Packet analysis {"connection_id":153366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:09:06] local.INFO: Extracted packet for processing {"connection_id":153366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763036928,"raw_latitude":98780800,"longitude_deg":76.3036928,"latitude_deg":9.87808,"altitude":0,"angle":357,"satellites":35,"speed":4,"hex_longitude":"2d7b0500","hex_latitude":"05e34680","is_valid_coordinates":true} 
[2026-08-11 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-08-11 08:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322465280001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117531161579749376,"note":"Value kept but may cause issues"} 
[2026-08-11 08:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864350729348108288,"note":"Value kept but may cause issues"} 
[2026-08-11 08:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786415892000,"timestamp_ms":1786415892000,"timestamp_seconds":1786415892,"priority":1,"record_length":96,"hex_timestamp":"0000019feeaf4620"} 
[2026-08-11 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-08-11 08:09:06] 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-08-11 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-11 08:09:06] 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-08-11 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-08-11 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-08-11 08:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:09:06] 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-08-11 08:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322465280001,"66":13222,"97":206,"85":15104,"24":4,"16":117531161579749376,"45":8864350729348108288},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322465280001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117531161579749376,"km_value":117531161579749.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864350729348108288,"description":"Unknown IO ID 45"} 
[2026-08-11 08:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322465280001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8864350729348108288}} 
[2026-08-11 08:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":153366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:09:06] local.INFO: GPS data processed {"connection_id":153366,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:09:06] local.INFO: Acknowledgment sent {"connection_id":153366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:09:30] local.INFO: TCP Data received {"connection_id":152419,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeaecd08012d8715400614f878000900a72e..."} 
[2026-08-11 08:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeaecd08012d8715400614f878000900a72e..."} 
[2026-08-11 08:09:30] local.INFO: Processing buffer {"connection_id":152419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeaecd08012d8715400614f878000900a72e..."} 
[2026-08-11 08:09:30] local.INFO: Packet analysis {"connection_id":152419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeae"} 
[2026-08-11 08:09:30] local.INFO: Extracted packet for processing {"connection_id":152419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeae"} 
[2026-08-11 08:09:30] local.INFO: GPS Element Parsed {"raw_longitude":763827520,"raw_latitude":102037624,"longitude_deg":76.382752,"latitude_deg":10.2037624,"altitude":9,"angle":167,"satellites":46,"speed":31,"hex_longitude":"2d871540","hex_latitude":"0614f878","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322457856001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377187996484501504,"note":"Value kept but may cause issues"} 
[2026-08-11 08:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8715168940279699456,"note":"Value kept but may cause issues"} 
[2026-08-11 08:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786415861000,"timestamp_ms":1786415861000,"timestamp_seconds":1786415861,"priority":1,"record_length":96,"hex_timestamp":"0000019feeaecd08"} 
[2026-08-11 08:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 08:09:30] 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-08-11 08: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-08-11 08:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:09:30] 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-08-11 08:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322457856001,"66":27919,"154":206,"79":46592,"24":31,"16":377187996484501504,"45":-8715168940279699456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-08-11 08:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322457856001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:09:30] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 08:09:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377187996484501504,"km_value":377187996484501.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8715168940279699456,"description":"Unknown IO ID 45"} 
[2026-08-11 08:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322457856001,"power":27919,"unknown_154":206,"unknown_79":46592,"ignition":31,"odometer":null,"unknown_45":-8715168940279699456}} 
[2026-08-11 08:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":152419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:09:30] local.INFO: GPS data processed {"connection_id":152419,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:09:30] local.INFO: Acknowledgment sent {"connection_id":152419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:09:38] local.INFO: TCP Data received {"connection_id":153366,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeaf7cd0012d7b034005e350400001015a28..."} 
[2026-08-11 08:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeaf7cd0012d7b034005e350400001015a28..."} 
[2026-08-11 08:09:38] local.INFO: Processing buffer {"connection_id":153366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeaf7cd0012d7b034005e350400001015a28..."} 
[2026-08-11 08:09:38] local.INFO: Packet analysis {"connection_id":153366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:09:38] local.INFO: Extracted packet for processing {"connection_id":153366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763036480,"raw_latitude":98783296,"longitude_deg":76.303648,"latitude_deg":9.8783296,"altitude":1,"angle":346,"satellites":40,"speed":17,"hex_longitude":"2d7b0340","hex_latitude":"05e35040","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322468352001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117531286133800960,"note":"Value kept but may cause issues"} 
[2026-08-11 08:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864491466836574208,"note":"Value kept but may cause issues"} 
[2026-08-11 08:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786415906000,"timestamp_ms":1786415906000,"timestamp_seconds":1786415906,"priority":1,"record_length":96,"hex_timestamp":"0000019feeaf7cd0"} 
[2026-08-11 08:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:09:38] 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-08-11 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 08:09:38] 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-08-11 08: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-08-11 08:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:09:38] 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-08-11 08:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322468352001,"66":13515,"97":206,"85":15104,"24":17,"16":117531286133800960,"45":8864491466836574208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322468352001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117531286133800960,"km_value":117531286133800.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864491466836574208,"description":"Unknown IO ID 45"} 
[2026-08-11 08:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322468352001,"power":13515,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8864491466836574208}} 
[2026-08-11 08:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":153366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:09:38] local.INFO: GPS data processed {"connection_id":153366,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:09:38] local.INFO: Acknowledgment sent {"connection_id":153366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:09:53] local.INFO: TCP Data received {"connection_id":154758,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:09:53] local.INFO: Processing buffer {"connection_id":154758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:09:53] local.INFO: IMEI packet received {"connection_id":154758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":154758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:09:58] local.INFO: TCP Data received {"connection_id":154758,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:09:58] local.INFO: Processing buffer {"connection_id":154758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:09:58] local.INFO: IMEI packet received {"connection_id":154758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":154758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:09:59] local.INFO: TCP Data received {"connection_id":154758,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeaf1358012d871bc00614d5b0000a00a530..."} 
[2026-08-11 08:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeaf1358012d871bc00614d5b0000a00a530..."} 
[2026-08-11 08:09:59] local.INFO: Processing buffer {"connection_id":154758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeaf1358012d871bc00614d5b0000a00a530..."} 
[2026-08-11 08:09:59] local.INFO: Packet analysis {"connection_id":154758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:09:59] local.INFO: Extracted packet for processing {"connection_id":154758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763829184,"raw_latitude":102028720,"longitude_deg":76.3829184,"latitude_deg":10.202872,"altitude":10,"angle":165,"satellites":48,"speed":22,"hex_longitude":"2d871bc0","hex_latitude":"0614d5b0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322460416001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377188438866132992,"note":"Value kept but may cause issues"} 
[2026-08-11 08:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8712987509212547072,"note":"Value kept but may cause issues"} 
[2026-08-11 08:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786415879000,"timestamp_ms":1786415879000,"timestamp_seconds":1786415879,"priority":1,"record_length":96,"hex_timestamp":"0000019feeaf1358"} 
[2026-08-11 08:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 08:09:59] 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-08-11 08: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-08-11 08:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:09:59] 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-08-11 08:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322460416001,"66":27843,"154":206,"79":46592,"24":22,"16":377188438866132992,"45":-8712987509212547072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-08-11 08:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322460416001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:09:59] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 08:09:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377188438866132992,"km_value":377188438866133.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8712987509212547072,"description":"Unknown IO ID 45"} 
[2026-08-11 08:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322460416001,"power":27843,"unknown_154":206,"unknown_79":46592,"ignition":22,"odometer":null,"unknown_45":-8712987509212547072}} 
[2026-08-11 08:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":154758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:09:59] local.INFO: GPS data processed {"connection_id":154758,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:09:59] local.INFO: Acknowledgment sent {"connection_id":154758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:10:01] local.INFO: TCP Data received {"connection_id":152030,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:10:01] local.INFO: Processing buffer {"connection_id":152030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:10:01] local.INFO: IMEI packet received {"connection_id":152030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":152030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:10:05] local.INFO: TCP Data received {"connection_id":152030,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:10:05] local.INFO: Processing buffer {"connection_id":152030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:10:05] local.INFO: IMEI packet received {"connection_id":152030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":152030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:10:06] local.INFO: TCP Data received {"connection_id":152030,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:10:06] local.INFO: Processing buffer {"connection_id":152030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:10:06] local.INFO: IMEI packet received {"connection_id":152030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":152030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:10:07] local.INFO: TCP Data received {"connection_id":152030,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeafbf38012d7af98005e372a8000401562b..."} 
[2026-08-11 08:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeafbf38012d7af98005e372a8000401562b..."} 
[2026-08-11 08:10:07] local.INFO: Processing buffer {"connection_id":152030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeafbf38012d7af98005e372a8000401562b..."} 
[2026-08-11 08:10:07] local.INFO: Packet analysis {"connection_id":152030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:10:07] local.INFO: Extracted packet for processing {"connection_id":152030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763033984,"raw_latitude":98792104,"longitude_deg":76.3033984,"latitude_deg":9.8792104,"altitude":4,"angle":342,"satellites":43,"speed":19,"hex_longitude":"2d7af980","hex_latitude":"05e372a8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322471936001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117531728515432448,"note":"Value kept but may cause issues"} 
[2026-08-11 08:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863998885627969536,"note":"Value kept but may cause issues"} 
[2026-08-11 08:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786415923000,"timestamp_ms":1786415923000,"timestamp_seconds":1786415923,"priority":1,"record_length":96,"hex_timestamp":"0000019feeafbf38"} 
[2026-08-11 08:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:10:07] 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-08-11 08: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-11 08:10:07] 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-08-11 08: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-08-11 08:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:10:07] 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-08-11 08:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322471936001,"66":13526,"97":206,"85":15104,"24":19,"16":117531728515432448,"45":8863998885627969536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322471936001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:10:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:10:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117531728515432448,"km_value":117531728515432.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863998885627969536,"description":"Unknown IO ID 45"} 
[2026-08-11 08:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322471936001,"power":13526,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8863998885627969536}} 
[2026-08-11 08:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":152030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:10:07] local.INFO: GPS data processed {"connection_id":152030,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:10:07] local.INFO: Acknowledgment sent {"connection_id":152030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:10:34] local.INFO: TCP Data received {"connection_id":154758,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeaf4620012d8726400614b470000a009d30..."} 
[2026-08-11 08:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeaf4620012d8726400614b470000a009d30..."} 
[2026-08-11 08:10:34] local.INFO: Processing buffer {"connection_id":154758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeaf4620012d8726400614b470000a009d30..."} 
[2026-08-11 08:10:34] local.INFO: Packet analysis {"connection_id":154758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:10:34] local.INFO: Extracted packet for processing {"connection_id":154758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:10:34] local.INFO: GPS Element Parsed {"raw_longitude":763831872,"raw_latitude":102020208,"longitude_deg":76.3831872,"latitude_deg":10.2020208,"altitude":10,"angle":157,"satellites":48,"speed":34,"hex_longitude":"2d872640","hex_latitude":"0614b470","is_valid_coordinates":true} 
[2026-08-11 08:10: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-08-11 08:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322465024001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377188872657829888,"note":"Value kept but may cause issues"} 
[2026-08-11 08:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8711157921866207232,"note":"Value kept but may cause issues"} 
[2026-08-11 08:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786415892000,"timestamp_ms":1786415892000,"timestamp_seconds":1786415892,"priority":1,"record_length":96,"hex_timestamp":"0000019feeaf4620"} 
[2026-08-11 08:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:10: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":195,"data_length":795,"current_offset":136} 
[2026-08-11 08:10:34] 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-08-11 08:10: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-08-11 08:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":154758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":154758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":154758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:10:34] 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-08-11 08:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322465024001,"66":27767,"156":206,"79":46592,"24":34,"16":377188872657829888,"45":-8711157921866207232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-08-11 08:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322465024001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:10:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 08:10:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377188872657829888,"km_value":377188872657829.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8711157921866207232,"description":"Unknown IO ID 45"} 
[2026-08-11 08:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322465024001,"power":27767,"unknown_156":206,"unknown_79":46592,"ignition":34,"odometer":null,"unknown_45":-8711157921866207232}} 
[2026-08-11 08:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":154758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:10:34] local.INFO: GPS data processed {"connection_id":154758,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:10:34] local.INFO: Acknowledgment sent {"connection_id":154758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:10:38] local.INFO: TCP Data received {"connection_id":152030,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb01140012d7af44005e383c00009014c2c..."} 
[2026-08-11 08:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb01140012d7af44005e383c00009014c2c..."} 
[2026-08-11 08:10:38] local.INFO: Processing buffer {"connection_id":152030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb01140012d7af44005e383c00009014c2c..."} 
[2026-08-11 08:10:38] local.INFO: Packet analysis {"connection_id":152030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb0"} 
[2026-08-11 08:10:38] local.INFO: Extracted packet for processing {"connection_id":152030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb0"} 
[2026-08-11 08:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763032640,"raw_latitude":98796480,"longitude_deg":76.303264,"latitude_deg":9.879648,"altitude":9,"angle":332,"satellites":44,"speed":3,"hex_longitude":"2d7af440","hex_latitude":"05e383c0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322476288001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117531956148699136,"note":"Value kept but may cause issues"} 
[2026-08-11 08:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861254504607295488,"note":"Value kept but may cause issues"} 
[2026-08-11 08:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786415944000,"timestamp_ms":1786415944000,"timestamp_seconds":1786415944,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb01140"} 
[2026-08-11 08:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:10:38] 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-08-11 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 08:10:38] 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-08-11 08: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-08-11 08:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:10:38] 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-08-11 08:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322476288001,"66":13319,"97":206,"85":15104,"24":3,"16":117531956148699136,"45":8861254504607295488},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322476288001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117531956148699136,"km_value":117531956148699.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861254504607295488,"description":"Unknown IO ID 45"} 
[2026-08-11 08:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322476288001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8861254504607295488}} 
[2026-08-11 08:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":152030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:10:38] local.INFO: GPS data processed {"connection_id":152030,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:10:38] local.INFO: Acknowledgment sent {"connection_id":152030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:10:53] local.INFO: TCP Data received {"connection_id":153367,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:10:53] local.INFO: Processing buffer {"connection_id":153367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:10:53] local.INFO: IMEI packet received {"connection_id":153367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":153367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:10:58] local.INFO: TCP Data received {"connection_id":153367,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:10:58] local.INFO: Processing buffer {"connection_id":153367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:10:58] local.INFO: IMEI packet received {"connection_id":153367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":153367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:10:59] local.INFO: TCP Data received {"connection_id":153367,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeaf6d30012d87344006149348000a009f2f..."} 
[2026-08-11 08:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeaf6d30012d87344006149348000a009f2f..."} 
[2026-08-11 08:10:59] local.INFO: Processing buffer {"connection_id":153367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeaf6d30012d87344006149348000a009f2f..."} 
[2026-08-11 08:10:59] local.INFO: Packet analysis {"connection_id":153367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:10:59] local.INFO: Extracted packet for processing {"connection_id":153367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763835456,"raw_latitude":102011720,"longitude_deg":76.3835456,"latitude_deg":10.201172,"altitude":10,"angle":159,"satellites":47,"speed":38,"hex_longitude":"2d873440","hex_latitude":"06149348","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322468352001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377189315039461376,"note":"Value kept but may cause issues"} 
[2026-08-11 08:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8708202434612924416,"note":"Value kept but may cause issues"} 
[2026-08-11 08:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786415902000,"timestamp_ms":1786415902000,"timestamp_seconds":1786415902,"priority":1,"record_length":96,"hex_timestamp":"0000019feeaf6d30"} 
[2026-08-11 08:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 08:10:59] 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-08-11 08: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-08-11 08:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:10:59] 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-08-11 08:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322468352001,"66":27713,"156":206,"79":46592,"24":38,"16":377189315039461376,"45":-8708202434612924416},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-08-11 08:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322468352001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:10:59] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 08:10:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377189315039461376,"km_value":377189315039461.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8708202434612924416,"description":"Unknown IO ID 45"} 
[2026-08-11 08:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322468352001,"power":27713,"unknown_156":206,"unknown_79":46592,"ignition":38,"odometer":null,"unknown_45":-8708202434612924416}} 
[2026-08-11 08:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":153367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:10:59] local.INFO: GPS data processed {"connection_id":153367,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:10:59] local.INFO: Acknowledgment sent {"connection_id":153367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:11:06] local.INFO: TCP Data received {"connection_id":154759,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:11:06] local.INFO: Processing buffer {"connection_id":154759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:11:06] local.INFO: IMEI packet received {"connection_id":154759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":154759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:11:07] local.INFO: TCP Data received {"connection_id":154759,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:11:07] local.INFO: Processing buffer {"connection_id":154759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:11:07] local.INFO: IMEI packet received {"connection_id":154759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":154759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:11:08] local.INFO: TCP Data received {"connection_id":154759,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb01528012d7af44005e383b8000901582c..."} 
[2026-08-11 08:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb01528012d7af44005e383b8000901582c..."} 
[2026-08-11 08:11:08] local.INFO: Processing buffer {"connection_id":154759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb01528012d7af44005e383b8000901582c..."} 
[2026-08-11 08:11:08] local.INFO: Packet analysis {"connection_id":154759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb0"} 
[2026-08-11 08:11:08] local.INFO: Extracted packet for processing {"connection_id":154759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb0"} 
[2026-08-11 08:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763032640,"raw_latitude":98796472,"longitude_deg":76.303264,"latitude_deg":9.8796472,"altitude":9,"angle":344,"satellites":44,"speed":4,"hex_longitude":"2d7af440","hex_latitude":"05e383b8","is_valid_coordinates":true} 
[2026-08-11 08:11: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-08-11 08:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322481664001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117531956148699136,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859776760980684800,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786415945000,"timestamp_ms":1786415945000,"timestamp_seconds":1786415945,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb01528"} 
[2026-08-11 08:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:11:08] 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-08-11 08:11: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 08:11:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4004448160,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":2147869506,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4224376450496928512,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:08] local.WARNING: Large IO value detected {"io_id":141,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:08] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2937536513,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-11 08:11:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812683776,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:08] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2281778555,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:08] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2380922880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:08] local.WARNING: Large IO value detected {"io_id":174,"raw_value":-294984480743686139,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,142,159,191,45,128,114,4,43,10,66,124,64,80,1,40,70,240,166,227,141,238,113,205,5,11,72,30,239,52,2,161,7,174],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-11 08:11:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648883573180530688,"timestamp_seconds":648883573180530.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 08:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:11:08] 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-08-11 08:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322481664001,"66":13048,"97":206,"85":15104,"24":4,"16":117531956148699136,"45":8859776760980684800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322481664001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117531956148699136,"km_value":117531956148699.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859776760980684800,"description":"Unknown IO ID 45"} 
[2026-08-11 08:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322481664001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8859776760980684800}} 
[2026-08-11 08:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":154759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:11:08] local.INFO: GPS data processed {"connection_id":154759,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:11:08] local.INFO: Acknowledgment sent {"connection_id":154759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:11:12] local.INFO: TCP Data received {"connection_id":154759,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb03850012d7af08005e38dd8000a014d2b..."} 
[2026-08-11 08:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb03850012d7af08005e38dd8000a014d2b..."} 
[2026-08-11 08:11:12] local.INFO: Processing buffer {"connection_id":154759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb03850012d7af08005e38dd8000a014d2b..."} 
[2026-08-11 08:11:12] local.INFO: Packet analysis {"connection_id":154759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb0"} 
[2026-08-11 08:11:12] local.INFO: Extracted packet for processing {"connection_id":154759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb0"} 
[2026-08-11 08:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763031680,"raw_latitude":98799064,"longitude_deg":76.303168,"latitude_deg":9.8799064,"altitude":10,"angle":333,"satellites":43,"speed":13,"hex_longitude":"2d7af080","hex_latitude":"05e38dd8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322481920001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117532089292685312,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859776760980682752,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786415954000,"timestamp_ms":1786415954000,"timestamp_seconds":1786415954,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb03850"} 
[2026-08-11 08:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:11:12] 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-08-11 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 08:11:12] 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-08-11 08: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-08-11 08:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":154759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":154759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":154759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:11:12] 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-08-11 08:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322481920001,"66":13341,"97":206,"85":15104,"24":13,"16":117532089292685312,"45":8859776760980682752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322481920001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:11:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117532089292685312,"km_value":117532089292685.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859776760980682752,"description":"Unknown IO ID 45"} 
[2026-08-11 08:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322481920001,"power":13341,"unknown_97":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8859776760980682752}} 
[2026-08-11 08:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":154759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:11:12] local.INFO: GPS data processed {"connection_id":154759,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:11:12] local.INFO: Acknowledgment sent {"connection_id":154759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:11:31] local.INFO: TCP Data received {"connection_id":153367,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeaf9058012d874240061471e8000a009d29..."} 
[2026-08-11 08:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeaf9058012d874240061471e8000a009d29..."} 
[2026-08-11 08:11:31] local.INFO: Processing buffer {"connection_id":153367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeaf9058012d874240061471e8000a009d29..."} 
[2026-08-11 08:11:31] local.INFO: Packet analysis {"connection_id":153367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:11:31] local.INFO: Extracted packet for processing {"connection_id":153367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763839040,"raw_latitude":102003176,"longitude_deg":76.383904,"latitude_deg":10.2003176,"altitude":10,"angle":157,"satellites":41,"speed":41,"hex_longitude":"2d874240","hex_latitude":"061471e8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322470912001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377189766011027456,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8704261784941148160,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786415911000,"timestamp_ms":1786415911000,"timestamp_seconds":1786415911,"priority":1,"record_length":96,"hex_timestamp":"0000019feeaf9058"} 
[2026-08-11 08:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-11 08:11:31] 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-08-11 08: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-08-11 08:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:11:31] 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-08-11 08:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322470912001,"66":27800,"156":206,"79":46592,"24":41,"16":377189766011027456,"45":-8704261784941148160},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-08-11 08:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322470912001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:11:31] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 08:11:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377189766011027456,"km_value":377189766011027.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8704261784941148160,"description":"Unknown IO ID 45"} 
[2026-08-11 08:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322470912001,"power":27800,"unknown_156":206,"unknown_79":46592,"ignition":41,"odometer":null,"unknown_45":-8704261784941148160}} 
[2026-08-11 08:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":153367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:11:31] local.INFO: GPS data processed {"connection_id":153367,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:11:31] local.INFO: Acknowledgment sent {"connection_id":153367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:11:44] local.INFO: TCP Data received {"connection_id":154759,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb24f78012d7acc4005e410280006014228..."} 
[2026-08-11 08:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb24f78012d7acc4005e410280006014228..."} 
[2026-08-11 08:11:44] local.INFO: Processing buffer {"connection_id":154759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb24f78012d7acc4005e410280006014228..."} 
[2026-08-11 08:11:44] local.INFO: Packet analysis {"connection_id":154759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb2"} 
[2026-08-11 08:11:44] local.INFO: Extracted packet for processing {"connection_id":154759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb2"} 
[2026-08-11 08:11:44] local.INFO: GPS Element Parsed {"raw_longitude":763022400,"raw_latitude":98832424,"longitude_deg":76.30224,"latitude_deg":9.8832424,"altitude":6,"angle":322,"satellites":40,"speed":14,"hex_longitude":"2d7acc40","hex_latitude":"05e41028","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322518784001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117533785804767232,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849010343130505216,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786416091000,"timestamp_ms":1786416091000,"timestamp_seconds":1786416091,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb24f78"} 
[2026-08-11 08:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:11:44] 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-08-11 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 08:11:44] 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-08-11 08: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-08-11 08:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:11:44] 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-08-11 08:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322518784001,"66":13102,"97":206,"85":15104,"24":14,"16":117533785804767232,"45":8849010343130505216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322518784001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:11:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:11:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117533785804767232,"km_value":117533785804767.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849010343130505216,"description":"Unknown IO ID 45"} 
[2026-08-11 08:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322518784001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8849010343130505216}} 
[2026-08-11 08:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":154759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:11:44] local.INFO: GPS data processed {"connection_id":154759,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:11:44] local.INFO: Acknowledgment sent {"connection_id":154759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:11:53] local.INFO: TCP Data received {"connection_id":152031,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:11:53] local.INFO: Processing buffer {"connection_id":152031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:11:53] local.INFO: IMEI packet received {"connection_id":152031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":152031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:11:58] local.INFO: TCP Data received {"connection_id":152031,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:11:58] local.INFO: Processing buffer {"connection_id":152031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:11:58] local.INFO: IMEI packet received {"connection_id":152031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":152031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:11:59] local.INFO: TCP Data received {"connection_id":152031,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeafb380012d87500006145168000c009d2d..."} 
[2026-08-11 08:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeafb380012d87500006145168000c009d2d..."} 
[2026-08-11 08:11:59] local.INFO: Processing buffer {"connection_id":152031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeafb380012d87500006145168000c009d2d..."} 
[2026-08-11 08:11:59] local.INFO: Packet analysis {"connection_id":152031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:11:59] local.INFO: Extracted packet for processing {"connection_id":152031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeaf"} 
[2026-08-11 08:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763842560,"raw_latitude":101994856,"longitude_deg":76.384256,"latitude_deg":10.1994856,"altitude":12,"angle":157,"satellites":45,"speed":34,"hex_longitude":"2d875000","hex_latitude":"06145168","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322473216001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377190204097691648,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8700321135269386240,"note":"Value kept but may cause issues"} 
[2026-08-11 08:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786415920000,"timestamp_ms":1786415920000,"timestamp_seconds":1786415920,"priority":1,"record_length":96,"hex_timestamp":"0000019feeafb380"} 
[2026-08-11 08:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 08:11:59] 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-08-11 08: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-08-11 08:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:11:59] 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-08-11 08:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322473216001,"66":27865,"156":206,"79":46592,"24":34,"16":377190204097691648,"45":-8700321135269386240},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-08-11 08:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322473216001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:11:59] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 08:11:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377190204097691648,"km_value":377190204097691.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8700321135269386240,"description":"Unknown IO ID 45"} 
[2026-08-11 08:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322473216001,"power":27865,"unknown_156":206,"unknown_79":46592,"ignition":34,"odometer":null,"unknown_45":-8700321135269386240}} 
[2026-08-11 08:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":152031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:11:59] local.INFO: GPS data processed {"connection_id":152031,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:11:59] local.INFO: Acknowledgment sent {"connection_id":152031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:12:02] local.INFO: TCP Data received {"connection_id":153368,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:12:02] local.INFO: Processing buffer {"connection_id":153368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:12:02] local.INFO: IMEI packet received {"connection_id":153368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":153368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:12:04] local.INFO: TCP Data received {"connection_id":153368,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:12:04] local.INFO: Processing buffer {"connection_id":153368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:12:04] local.INFO: IMEI packet received {"connection_id":153368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":153368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:12:05] local.INFO: TCP Data received {"connection_id":153368,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb25360012d7acb4005e410f00007013228..."} 
[2026-08-11 08:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb25360012d7acb4005e410f00007013228..."} 
[2026-08-11 08:12:05] local.INFO: Processing buffer {"connection_id":153368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb25360012d7acb4005e410f00007013228..."} 
[2026-08-11 08:12:05] local.INFO: Packet analysis {"connection_id":153368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb2"} 
[2026-08-11 08:12:05] local.INFO: Extracted packet for processing {"connection_id":153368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb2"} 
[2026-08-11 08:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763022144,"raw_latitude":98832624,"longitude_deg":76.3022144,"latitude_deg":9.8832624,"altitude":7,"angle":306,"satellites":40,"speed":11,"hex_longitude":"2d7acb40","hex_latitude":"05e410f0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322519296001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117533802984636416,"note":"Value kept but may cause issues"} 
[2026-08-11 08:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848517761921460224,"note":"Value kept but may cause issues"} 
[2026-08-11 08:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786416092000,"timestamp_ms":1786416092000,"timestamp_seconds":1786416092,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb25360"} 
[2026-08-11 08:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:12:05] 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-08-11 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 08:12: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-08-11 08: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-08-11 08:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:12:05] 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-08-11 08:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322519296001,"66":13102,"97":206,"85":15104,"24":11,"16":117533802984636416,"45":8848517761921460224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322519296001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:12:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:12:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117533802984636416,"km_value":117533802984636.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848517761921460224,"description":"Unknown IO ID 45"} 
[2026-08-11 08:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322519296001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8848517761921460224}} 
[2026-08-11 08:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":153368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:12:06] local.INFO: GPS data processed {"connection_id":153368,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:12:06] local.INFO: Acknowledgment sent {"connection_id":153368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:12:07] local.INFO: TCP Data received {"connection_id":153368,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb25b30012d7ac94005e411800007010829..."} 
[2026-08-11 08:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb25b30012d7ac94005e411800007010829..."} 
[2026-08-11 08:12:07] local.INFO: Processing buffer {"connection_id":153368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb25b30012d7ac94005e411800007010829..."} 
[2026-08-11 08:12:07] local.INFO: Packet analysis {"connection_id":153368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb2"} 
[2026-08-11 08:12:07] local.INFO: Extracted packet for processing {"connection_id":153368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb2"} 
[2026-08-11 08:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763021632,"raw_latitude":98832768,"longitude_deg":76.3021632,"latitude_deg":9.8832768,"altitude":7,"angle":264,"satellites":41,"speed":11,"hex_longitude":"2d7ac940","hex_latitude":"05e41180","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322519552001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117533828754440192,"note":"Value kept but may cause issues"} 
[2026-08-11 08:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848236286944800768,"note":"Value kept but may cause issues"} 
[2026-08-11 08:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786416094000,"timestamp_ms":1786416094000,"timestamp_seconds":1786416094,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb25b30"} 
[2026-08-11 08:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:12:07] 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-08-11 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 08:12:07] 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-08-11 08: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-08-11 08:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:12:07] 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-08-11 08:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322519552001,"66":13243,"97":206,"85":15104,"24":11,"16":117533828754440192,"45":8848236286944800768},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322519552001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:12:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117533828754440192,"km_value":117533828754440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848236286944800768,"description":"Unknown IO ID 45"} 
[2026-08-11 08:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322519552001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8848236286944800768}} 
[2026-08-11 08:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":153368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:12:07] local.INFO: GPS data processed {"connection_id":153368,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:12:07] local.INFO: Acknowledgment sent {"connection_id":153368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:12:30] local.INFO: TCP Data received {"connection_id":152031,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb00588012d87560006144358000e009b30..."} 
[2026-08-11 08:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb00588012d87560006144358000e009b30..."} 
[2026-08-11 08:12:30] local.INFO: Processing buffer {"connection_id":152031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb00588012d87560006144358000e009b30..."} 
[2026-08-11 08:12:30] local.INFO: Packet analysis {"connection_id":152031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb0"} 
[2026-08-11 08:12:30] local.INFO: Extracted packet for processing {"connection_id":152031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb0"} 
[2026-08-11 08:12:30] local.INFO: GPS Element Parsed {"raw_longitude":763844096,"raw_latitude":101991256,"longitude_deg":76.3844096,"latitude_deg":10.1991256,"altitude":14,"angle":155,"satellites":48,"speed":0,"hex_longitude":"2d875600","hex_latitude":"06144358","is_valid_coordinates":true} 
[2026-08-11 08:12: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-08-11 08:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322475520001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377190393076252672,"note":"Value kept but may cause issues"} 
[2026-08-11 08:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8696450854341744640,"note":"Value kept but may cause issues"} 
[2026-08-11 08:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786415941000,"timestamp_ms":1786415941000,"timestamp_seconds":1786415941,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb00588"} 
[2026-08-11 08:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 08:12:30] 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-08-11 08:12: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-08-11 08:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:12:30] 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-08-11 08:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322475520001,"66":27876,"156":206,"79":46592,"24":0,"16":377190393076252672,"45":-8696450854341744640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-08-11 08:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322475520001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:12:30] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 08:12:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377190393076252672,"km_value":377190393076252.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8696450854341744640,"description":"Unknown IO ID 45"} 
[2026-08-11 08:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322475520001,"power":27876,"unknown_156":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8696450854341744640}} 
[2026-08-11 08:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":152031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:12:30] local.INFO: GPS data processed {"connection_id":152031,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:12:30] local.INFO: Acknowledgment sent {"connection_id":152031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:12:39] local.INFO: TCP Data received {"connection_id":153368,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb2ad38012d7aa54005e40b400007010024..."} 
[2026-08-11 08:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb2ad38012d7aa54005e40b400007010024..."} 
[2026-08-11 08:12:39] local.INFO: Processing buffer {"connection_id":153368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb2ad38012d7aa54005e40b400007010024..."} 
[2026-08-11 08:12:39] local.INFO: Packet analysis {"connection_id":153368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb2"} 
[2026-08-11 08:12:39] local.INFO: Extracted packet for processing {"connection_id":153368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb2"} 
[2026-08-11 08:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763012416,"raw_latitude":98831168,"longitude_deg":76.3012416,"latitude_deg":9.8831168,"altitude":7,"angle":256,"satellites":36,"speed":13,"hex_longitude":"2d7aa540","hex_latitude":"05e40b40","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322520064001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117534275431038976,"note":"Value kept but may cause issues"} 
[2026-08-11 08:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847673336991416320,"note":"Value kept but may cause issues"} 
[2026-08-11 08:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786416115000,"timestamp_ms":1786416115000,"timestamp_seconds":1786416115,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb2ad38"} 
[2026-08-11 08:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:12:39] 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-08-11 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 08:12:39] 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-08-11 08: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-08-11 08:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:12:39] 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-08-11 08:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322520064001,"66":13374,"97":206,"85":15104,"24":13,"16":117534275431038976,"45":8847673336991416320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322520064001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:12:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117534275431038976,"km_value":117534275431038.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847673336991416320,"description":"Unknown IO ID 45"} 
[2026-08-11 08:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322520064001,"power":13374,"unknown_97":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8847673336991416320}} 
[2026-08-11 08:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":153368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:12:39] local.INFO: GPS data processed {"connection_id":153368,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:12:39] local.INFO: Acknowledgment sent {"connection_id":153368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:12:53] local.INFO: TCP Data received {"connection_id":152420,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:12:53] local.INFO: Processing buffer {"connection_id":152420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:12:53] local.INFO: IMEI packet received {"connection_id":152420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":152420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:12:58] local.INFO: TCP Data received {"connection_id":152420,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:12:58] local.INFO: Processing buffer {"connection_id":152420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:12:58] local.INFO: IMEI packet received {"connection_id":152420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":152420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:12:58] local.INFO: TCP Data received {"connection_id":154760,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:12:58] local.INFO: Processing buffer {"connection_id":154760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:12:58] local.INFO: IMEI packet received {"connection_id":154760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":154760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:12:59] local.INFO: TCP Data received {"connection_id":152420,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb05790012d8759c006143a28000f009d2f..."} 
[2026-08-11 08:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb05790012d8759c006143a28000f009d2f..."} 
[2026-08-11 08:12:59] local.INFO: Processing buffer {"connection_id":152420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb05790012d8759c006143a28000f009d2f..."} 
[2026-08-11 08:12:59] local.INFO: Packet analysis {"connection_id":152420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb0"} 
[2026-08-11 08:12:59] local.INFO: Extracted packet for processing {"connection_id":152420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb0"} 
[2026-08-11 08:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763845056,"raw_latitude":101988904,"longitude_deg":76.3845056,"latitude_deg":10.1988904,"altitude":15,"angle":157,"satellites":47,"speed":14,"hex_longitude":"2d8759c0","hex_latitude":"06143a28","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322480896001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377190517630304256,"note":"Value kept but may cause issues"} 
[2026-08-11 08:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8694762004482402304,"note":"Value kept but may cause issues"} 
[2026-08-11 08:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786415962000,"timestamp_ms":1786415962000,"timestamp_seconds":1786415962,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb05790"} 
[2026-08-11 08:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 08:12:59] 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-08-11 08: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-08-11 08:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:12:59] 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-08-11 08:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322480896001,"66":27767,"156":206,"79":46592,"24":14,"16":377190517630304256,"45":-8694762004482402304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-08-11 08:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322480896001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:12:59] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 08:12:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377190517630304256,"km_value":377190517630304.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8694762004482402304,"description":"Unknown IO ID 45"} 
[2026-08-11 08:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322480896001,"power":27767,"unknown_156":206,"unknown_79":46592,"ignition":14,"odometer":null,"unknown_45":-8694762004482402304}} 
[2026-08-11 08:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":152420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:12:59] local.INFO: GPS data processed {"connection_id":152420,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:12:59] local.INFO: Acknowledgment sent {"connection_id":152420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:13:02] local.INFO: TCP Data received {"connection_id":154760,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:13:02] local.INFO: Processing buffer {"connection_id":154760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:13:02] local.INFO: IMEI packet received {"connection_id":154760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":154760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:13:02] local.INFO: TCP Data received {"connection_id":154760,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:13:02] local.INFO: Processing buffer {"connection_id":154760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:13:02] local.INFO: IMEI packet received {"connection_id":154760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":154760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:13:05] local.INFO: TCP Data received {"connection_id":154760,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:13:05] local.INFO: Processing buffer {"connection_id":154760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:13:05] local.INFO: IMEI packet received {"connection_id":154760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":154760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:13:06] local.INFO: TCP Data received {"connection_id":154760,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb2c890012d7a9e0005e40a700004010c26..."} 
[2026-08-11 08:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb2c890012d7a9e0005e40a700004010c26..."} 
[2026-08-11 08:13:06] local.INFO: Processing buffer {"connection_id":154760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb2c890012d7a9e0005e40a700004010c26..."} 
[2026-08-11 08:13:06] local.INFO: Packet analysis {"connection_id":154760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb2"} 
[2026-08-11 08:13:06] local.INFO: Extracted packet for processing {"connection_id":154760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb2"} 
[2026-08-11 08:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763010560,"raw_latitude":98830960,"longitude_deg":76.301056,"latitude_deg":9.883096,"altitude":4,"angle":268,"satellites":38,"speed":8,"hex_longitude":"2d7a9e00","hex_latitude":"05e40a70","is_valid_coordinates":true} 
[2026-08-11 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-08-11 08:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322525440001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117534365625352192,"note":"Value kept but may cause issues"} 
[2026-08-11 08:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837540237829423104,"note":"Value kept but may cause issues"} 
[2026-08-11 08:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786416122000,"timestamp_ms":1786416122000,"timestamp_seconds":1786416122,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb2c890"} 
[2026-08-11 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-08-11 08:13:06] 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-08-11 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 08:13:06] 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-08-11 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-08-11 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-08-11 08:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:13:06] 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-08-11 08:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322525440001,"66":13189,"97":206,"85":15104,"24":8,"16":117534365625352192,"45":8837540237829423104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322525440001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:13:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117534365625352192,"km_value":117534365625352.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837540237829423104,"description":"Unknown IO ID 45"} 
[2026-08-11 08:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322525440001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8837540237829423104}} 
[2026-08-11 08:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":154760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:13:07] local.INFO: GPS data processed {"connection_id":154760,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:13:07] local.INFO: Acknowledgment sent {"connection_id":154760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:13:08] local.INFO: TCP Data received {"connection_id":154760,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb2fb58012d7a9e8005e40b980001006127..."} 
[2026-08-11 08:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb2fb58012d7a9e8005e40b980001006127..."} 
[2026-08-11 08:13:08] local.INFO: Processing buffer {"connection_id":154760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb2fb58012d7a9e8005e40b980001006127..."} 
[2026-08-11 08:13:08] local.INFO: Packet analysis {"connection_id":154760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb2"} 
[2026-08-11 08:13:08] local.INFO: Extracted packet for processing {"connection_id":154760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb2"} 
[2026-08-11 08:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763010688,"raw_latitude":98831256,"longitude_deg":76.3010688,"latitude_deg":9.8831256,"altitude":1,"angle":97,"satellites":39,"speed":2,"hex_longitude":"2d7a9e80","hex_latitude":"05e40b98","is_valid_coordinates":true} 
[2026-08-11 08:13: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-08-11 08:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322527232001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117534412869992448,"note":"Value kept but may cause issues"} 
[2026-08-11 08:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835499544248217600,"note":"Value kept but may cause issues"} 
[2026-08-11 08:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786416135000,"timestamp_ms":1786416135000,"timestamp_seconds":1786416135,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb2fb58"} 
[2026-08-11 08:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:13:08] 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-08-11 08:13: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":133,"data_length":795,"current_offset":136} 
[2026-08-11 08:13:08] 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-08-11 08:13: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-08-11 08:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:13:08] 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-08-11 08:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322527232001,"66":13091,"97":206,"85":15104,"24":2,"16":117534412869992448,"45":8835499544248217600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322527232001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:13:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:13:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117534412869992448,"km_value":117534412869992.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835499544248217600,"description":"Unknown IO ID 45"} 
[2026-08-11 08:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322527232001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8835499544248217600}} 
[2026-08-11 08:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":154760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:13:08] local.INFO: GPS data processed {"connection_id":154760,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:13:08] local.INFO: Acknowledgment sent {"connection_id":154760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:13:30] local.INFO: TCP Data received {"connection_id":152420,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb09de0012d87680006141a200011009c2f..."} 
[2026-08-11 08:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb09de0012d87680006141a200011009c2f..."} 
[2026-08-11 08:13:30] local.INFO: Processing buffer {"connection_id":152420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb09de0012d87680006141a200011009c2f..."} 
[2026-08-11 08:13:30] local.INFO: Packet analysis {"connection_id":152420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb0"} 
[2026-08-11 08:13:30] local.INFO: Extracted packet for processing {"connection_id":152420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb0"} 
[2026-08-11 08:13:30] local.INFO: GPS Element Parsed {"raw_longitude":763848704,"raw_latitude":101980704,"longitude_deg":76.3848704,"latitude_deg":10.1980704,"altitude":17,"angle":156,"satellites":47,"speed":15,"hex_longitude":"2d876800","hex_latitude":"06141a20","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322486272001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377190951422001152,"note":"Value kept but may cause issues"} 
[2026-08-11 08:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8693706473320339456,"note":"Value kept but may cause issues"} 
[2026-08-11 08:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786415980000,"timestamp_ms":1786415980000,"timestamp_seconds":1786415980,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb09de0"} 
[2026-08-11 08:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 08:13:30] 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-08-11 08: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-08-11 08:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:13:30] 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-08-11 08:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322486272001,"66":27995,"156":206,"79":46592,"24":15,"16":377190951422001152,"45":-8693706473320339456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-08-11 08:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322486272001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:13:30] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 08:13:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377190951422001152,"km_value":377190951422001.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8693706473320339456,"description":"Unknown IO ID 45"} 
[2026-08-11 08:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322486272001,"power":27995,"unknown_156":206,"unknown_79":46592,"ignition":15,"odometer":null,"unknown_45":-8693706473320339456}} 
[2026-08-11 08:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":152420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:13:30] local.INFO: GPS data processed {"connection_id":152420,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:13:30] local.INFO: Acknowledgment sent {"connection_id":152420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:13:40] local.INFO: TCP Data received {"connection_id":154760,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb34d60012d7a9f4005e40b500001005d20..."} 
[2026-08-11 08:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb34d60012d7a9f4005e40b500001005d20..."} 
[2026-08-11 08:13:40] local.INFO: Processing buffer {"connection_id":154760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb34d60012d7a9f4005e40b500001005d20..."} 
[2026-08-11 08:13:40] local.INFO: Packet analysis {"connection_id":154760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb3"} 
[2026-08-11 08:13:40] local.INFO: Extracted packet for processing {"connection_id":154760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb3"} 
[2026-08-11 08:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763010880,"raw_latitude":98831184,"longitude_deg":76.301088,"latitude_deg":9.8831184,"altitude":1,"angle":93,"satellites":32,"speed":0,"hex_longitude":"2d7a9f40","hex_latitude":"05e40b50","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322530560001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117534421459927040,"note":"Value kept but may cause issues"} 
[2026-08-11 08:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835640281736648704,"note":"Value kept but may cause issues"} 
[2026-08-11 08:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786416156000,"timestamp_ms":1786416156000,"timestamp_seconds":1786416156,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb34d60"} 
[2026-08-11 08:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:13:40] 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-08-11 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-11 08:13:40] 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-08-11 08: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-08-11 08:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:13:40] 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-08-11 08:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322530560001,"66":12982,"97":206,"85":15104,"24":0,"16":117534421459927040,"45":8835640281736648704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322530560001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:13:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117534421459927040,"km_value":117534421459927.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835640281736648704,"description":"Unknown IO ID 45"} 
[2026-08-11 08:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322530560001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8835640281736648704}} 
[2026-08-11 08:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":154760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:13:40] local.INFO: GPS data processed {"connection_id":154760,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:13:40] local.INFO: Acknowledgment sent {"connection_id":154760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:13:56] local.INFO: TCP Data received {"connection_id":152421,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:13:56] local.INFO: Processing buffer {"connection_id":152421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:13:56] local.INFO: IMEI packet received {"connection_id":152421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":152421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:13:58] local.INFO: TCP Data received {"connection_id":152421,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:13:58] local.INFO: Processing buffer {"connection_id":152421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:13:58] local.INFO: IMEI packet received {"connection_id":152421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":152421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:14:01] local.INFO: TCP Data received {"connection_id":152032,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:14:01] local.INFO: Processing buffer {"connection_id":152032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:14:01] local.INFO: IMEI packet received {"connection_id":152032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":152032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:14:01] local.INFO: TCP Data received {"connection_id":152032,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:14:01] local.INFO: Processing buffer {"connection_id":152032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:14:01] local.INFO: IMEI packet received {"connection_id":152032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":152032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:14:03] local.INFO: TCP Data received {"connection_id":152421,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:14:03] local.INFO: Processing buffer {"connection_id":152421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:14:03] local.INFO: IMEI packet received {"connection_id":152421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":152421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:14:04] local.INFO: TCP Data received {"connection_id":152421,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb0efe8012d876cc006140fb00014009d30..."} 
[2026-08-11 08:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb0efe8012d876cc006140fb00014009d30..."} 
[2026-08-11 08:14:04] local.INFO: Processing buffer {"connection_id":152421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb0efe8012d876cc006140fb00014009d30..."} 
[2026-08-11 08:14:04] local.INFO: Packet analysis {"connection_id":152421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb0"} 
[2026-08-11 08:14:04] local.INFO: Extracted packet for processing {"connection_id":152421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb0"} 
[2026-08-11 08:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763849920,"raw_latitude":101978032,"longitude_deg":76.384992,"latitude_deg":10.1978032,"altitude":20,"angle":157,"satellites":48,"speed":0,"hex_longitude":"2d876cc0","hex_latitude":"06140fb0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322490880001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377191097450889216,"note":"Value kept but may cause issues"} 
[2026-08-11 08:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8689695454904311808,"note":"Value kept but may cause issues"} 
[2026-08-11 08:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786416001000,"timestamp_ms":1786416001000,"timestamp_seconds":1786416001,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb0efe8"} 
[2026-08-11 08:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 08:14: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-08-11 08: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-08-11 08:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:14:04] 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-08-11 08:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322490880001,"66":27876,"195":206,"79":46592,"24":0,"16":377191097450889216,"45":-8689695454904311808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-08-11 08:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322490880001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:14:04] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-11 08:14:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377191097450889216,"km_value":377191097450889.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8689695454904311808,"description":"Unknown IO ID 45"} 
[2026-08-11 08:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322490880001,"power":27876,"unknown_195":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8689695454904311808}} 
[2026-08-11 08:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":152421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:14:04] local.INFO: GPS data processed {"connection_id":152421,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:14:04] local.INFO: Acknowledgment sent {"connection_id":152421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:14:07] local.INFO: TCP Data received {"connection_id":152032,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:14:07] local.INFO: Processing buffer {"connection_id":152032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:14:07] local.INFO: IMEI packet received {"connection_id":152032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":152032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:14:08] local.INFO: TCP Data received {"connection_id":152032,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb39f68012d7a9f4005e40b500001005d1e..."} 
[2026-08-11 08:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb39f68012d7a9f4005e40b500001005d1e..."} 
[2026-08-11 08:14:08] local.INFO: Processing buffer {"connection_id":152032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb39f68012d7a9f4005e40b500001005d1e..."} 
[2026-08-11 08:14:08] local.INFO: Packet analysis {"connection_id":152032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb3"} 
[2026-08-11 08:14:08] local.INFO: Extracted packet for processing {"connection_id":152032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb3"} 
[2026-08-11 08:14:08] local.INFO: GPS Element Parsed {"raw_longitude":763010880,"raw_latitude":98831184,"longitude_deg":76.301088,"latitude_deg":9.8831184,"altitude":1,"angle":93,"satellites":30,"speed":0,"hex_longitude":"2d7a9f40","hex_latitude":"05e40b50","is_valid_coordinates":true} 
[2026-08-11 08:14: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-08-11 08:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322535936001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117534421459927040,"note":"Value kept but may cause issues"} 
[2026-08-11 08:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835851387969163264,"note":"Value kept but may cause issues"} 
[2026-08-11 08:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786416177000,"timestamp_ms":1786416177000,"timestamp_seconds":1786416177,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb39f68"} 
[2026-08-11 08:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:14:08] 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-08-11 08:14: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":182,"data_length":795,"current_offset":136} 
[2026-08-11 08:14:08] 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-08-11 08:14: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-08-11 08:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:14:08] 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-08-11 08:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322535936001,"66":13254,"97":206,"85":15104,"24":0,"16":117534421459927040,"45":8835851387969163264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322535936001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:14:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:14:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117534421459927040,"km_value":117534421459927.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835851387969163264,"description":"Unknown IO ID 45"} 
[2026-08-11 08:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322535936001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8835851387969163264}} 
[2026-08-11 08:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":152032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:14:08] local.INFO: GPS data processed {"connection_id":152032,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:14:08] local.INFO: Acknowledgment sent {"connection_id":152032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:14:35] local.INFO: TCP Data received {"connection_id":152421,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb3f170012d87b58006134fc8001d00b32f..."} 
[2026-08-11 08:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb3f170012d87b58006134fc8001d00b32f..."} 
[2026-08-11 08:14:35] local.INFO: Processing buffer {"connection_id":152421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb3f170012d87b58006134fc8001d00b32f..."} 
[2026-08-11 08:14:35] local.INFO: Packet analysis {"connection_id":152421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb3"} 
[2026-08-11 08:14:35] local.INFO: Extracted packet for processing {"connection_id":152421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb3"} 
[2026-08-11 08:14:35] local.INFO: GPS Element Parsed {"raw_longitude":763868544,"raw_latitude":101928904,"longitude_deg":76.3868544,"latitude_deg":10.1928904,"altitude":29,"angle":179,"satellites":47,"speed":11,"hex_longitude":"2d87b580","hex_latitude":"06134fc8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322544128001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377193652956430336,"note":"Value kept but may cause issues"} 
[2026-08-11 08:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8668092250454452224,"note":"Value kept but may cause issues"} 
[2026-08-11 08:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786416198000,"timestamp_ms":1786416198000,"timestamp_seconds":1786416198,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb3f170"} 
[2026-08-11 08:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 08:14:35] 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-08-11 08: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-08-11 08:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:14:35] 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-08-11 08:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322544128001,"66":27832,"204":206,"79":46592,"24":11,"16":377193652956430336,"45":-8668092250454452224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-08-11 08:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322544128001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:14:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377193652956430336,"km_value":377193652956430.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8668092250454452224,"description":"Unknown IO ID 45"} 
[2026-08-11 08:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322544128001,"power":27832,"lac":206,"unknown_79":46592,"ignition":11,"odometer":null,"unknown_45":-8668092250454452224}} 
[2026-08-11 08:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":152421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:14:35] local.INFO: GPS data processed {"connection_id":152421,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:14:35] local.INFO: Acknowledgment sent {"connection_id":152421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:14:39] local.INFO: TCP Data received {"connection_id":152032,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb3ab20012d7a9fc005e40b58000100421f..."} 
[2026-08-11 08:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb3ab20012d7a9fc005e40b58000100421f..."} 
[2026-08-11 08:14:39] local.INFO: Processing buffer {"connection_id":152032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb3ab20012d7a9fc005e40b58000100421f..."} 
[2026-08-11 08:14:39] local.INFO: Packet analysis {"connection_id":152032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb3"} 
[2026-08-11 08:14:39] local.INFO: Extracted packet for processing {"connection_id":152032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb3"} 
[2026-08-11 08:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763011008,"raw_latitude":98831192,"longitude_deg":76.3011008,"latitude_deg":9.8831192,"altitude":1,"angle":66,"satellites":31,"speed":3,"hex_longitude":"2d7a9fc0","hex_latitude":"05e40b58","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322541312001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117534425754894336,"note":"Value kept but may cause issues"} 
[2026-08-11 08:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835851387969163264,"note":"Value kept but may cause issues"} 
[2026-08-11 08:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786416180000,"timestamp_ms":1786416180000,"timestamp_seconds":1786416180,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb3ab20"} 
[2026-08-11 08:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:14:39] 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-08-11 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 08:14:39] 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-08-11 08: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-08-11 08:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:14:39] 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-08-11 08:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322541312001,"66":13406,"97":206,"85":15104,"24":3,"16":117534425754894336,"45":8835851387969163264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322541312001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:14:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117534425754894336,"km_value":117534425754894.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835851387969163264,"description":"Unknown IO ID 45"} 
[2026-08-11 08:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322541312001,"power":13406,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8835851387969163264}} 
[2026-08-11 08:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":152032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:14:39] local.INFO: GPS data processed {"connection_id":152032,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:14:39] local.INFO: Acknowledgment sent {"connection_id":152032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:15:02] local.INFO: TCP Data received {"connection_id":153369,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:15:02] local.INFO: Processing buffer {"connection_id":153369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:15:02] local.INFO: IMEI packet received {"connection_id":153369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":153369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:15:02] local.INFO: TCP Data received {"connection_id":153370,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:15:02] local.INFO: Processing buffer {"connection_id":153370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:15:02] local.INFO: IMEI packet received {"connection_id":153370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":153370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:15:03] local.INFO: TCP Data received {"connection_id":153370,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:15:03] local.INFO: Processing buffer {"connection_id":153370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:15:03] local.INFO: IMEI packet received {"connection_id":153370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":153370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:15:07] local.INFO: TCP Data received {"connection_id":153369,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:15:07] local.INFO: Processing buffer {"connection_id":153369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:15:07] local.INFO: IMEI packet received {"connection_id":153369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":153369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:15:08] local.INFO: TCP Data received {"connection_id":153369,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb4dbd0012d7aedc005e39d80000700922a..."} 
[2026-08-11 08:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb4dbd0012d7aedc005e39d80000700922a..."} 
[2026-08-11 08:15:08] local.INFO: Processing buffer {"connection_id":153369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb4dbd0012d7aedc005e39d80000700922a..."} 
[2026-08-11 08:15:08] local.INFO: Packet analysis {"connection_id":153369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb4"} 
[2026-08-11 08:15:08] local.INFO: Extracted packet for processing {"connection_id":153369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb4"} 
[2026-08-11 08:15:08] local.INFO: GPS Element Parsed {"raw_longitude":763030976,"raw_latitude":98803072,"longitude_deg":76.3030976,"latitude_deg":9.8803072,"altitude":7,"angle":146,"satellites":42,"speed":7,"hex_longitude":"2d7aedc0","hex_latitude":"05e39d80","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322561024001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117536478749261824,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857595329913110528,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786416258000,"timestamp_ms":1786416258000,"timestamp_seconds":1786416258,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb4dbd0"} 
[2026-08-11 08:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:15:08] 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-08-11 08: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-11 08:15:08] 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-08-11 08: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-08-11 08:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:15:08] 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-08-11 08:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322561024001,"66":13330,"97":206,"85":15104,"24":7,"16":117536478749261824,"45":8857595329913110528},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322561024001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:15:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:15:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117536478749261824,"km_value":117536478749261.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857595329913110528,"description":"Unknown IO ID 45"} 
[2026-08-11 08:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322561024001,"power":13330,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8857595329913110528}} 
[2026-08-11 08:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":153369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:15:08] local.INFO: GPS data processed {"connection_id":153369,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:15:08] local.INFO: Acknowledgment sent {"connection_id":153369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:15:08] local.INFO: TCP Data received {"connection_id":153370,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:15:08] local.INFO: Processing buffer {"connection_id":153370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:15:08] local.INFO: IMEI packet received {"connection_id":153370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":153370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:15:09] local.INFO: TCP Data received {"connection_id":153370,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb43ba8012d87b3c006132c08001900ba30..."} 
[2026-08-11 08:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb43ba8012d87b3c006132c08001900ba30..."} 
[2026-08-11 08:15:09] local.INFO: Processing buffer {"connection_id":153370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb43ba8012d87b3c006132c08001900ba30..."} 
[2026-08-11 08:15:09] local.INFO: Packet analysis {"connection_id":153370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb4"} 
[2026-08-11 08:15:09] local.INFO: Extracted packet for processing {"connection_id":153370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb4"} 
[2026-08-11 08:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763868096,"raw_latitude":101919752,"longitude_deg":76.3868096,"latitude_deg":10.1919752,"altitude":25,"angle":186,"satellites":48,"speed":28,"hex_longitude":"2d87b3c0","hex_latitude":"06132c08","is_valid_coordinates":true} 
[2026-08-11 08:15: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-08-11 08:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322546688001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377194099633029120,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8667881144222496768,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786416217000,"timestamp_ms":1786416217000,"timestamp_seconds":1786416217,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb43ba8"} 
[2026-08-11 08:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:15: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":184,"data_length":795,"current_offset":136} 
[2026-08-11 08:15:09] 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-08-11 08:15: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-08-11 08:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:15:09] 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-08-11 08:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322546688001,"66":27800,"215":206,"79":46592,"24":28,"16":377194099633029120,"45":-8667881144222496768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,79,24,16,45]} 
[2026-08-11 08:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322546688001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:15:09] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 08:15:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377194099633029120,"km_value":377194099633029.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8667881144222496768,"description":"Unknown IO ID 45"} 
[2026-08-11 08:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322546688001,"power":27800,"unknown_215":206,"unknown_79":46592,"ignition":28,"odometer":null,"unknown_45":-8667881144222496768}} 
[2026-08-11 08:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":153370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:15:09] local.INFO: GPS data processed {"connection_id":153370,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:15:09] local.INFO: Acknowledgment sent {"connection_id":153370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:15:39] local.INFO: TCP Data received {"connection_id":153369,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb52dd8012d7aee8005e39be0000800952a..."} 
[2026-08-11 08:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb52dd8012d7aee8005e39be0000800952a..."} 
[2026-08-11 08:15:39] local.INFO: Processing buffer {"connection_id":153369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb52dd8012d7aee8005e39be0000800952a..."} 
[2026-08-11 08:15:39] local.INFO: Packet analysis {"connection_id":153369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb5"} 
[2026-08-11 08:15:39] local.INFO: Extracted packet for processing {"connection_id":153369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb5"} 
[2026-08-11 08:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763031168,"raw_latitude":98802656,"longitude_deg":76.3031168,"latitude_deg":9.8802656,"altitude":8,"angle":149,"satellites":42,"speed":0,"hex_longitude":"2d7aee80","hex_latitude":"05e39be0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322562048001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117536500224098304,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857947173633753088,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786416279000,"timestamp_ms":1786416279000,"timestamp_seconds":1786416279,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb52dd8"} 
[2026-08-11 08:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:15:39] 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-08-11 08: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4004782160,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2440822784,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":145,"raw_value":4076863488,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277155429580542288,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3023296513,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":228,"raw_value":1204712913214646016,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2147869709,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3826251776,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2046887325485268997,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":12,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":166,"raw_value":6989813487136413696,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-11 08:15:39] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,97,85,24,241,157,16,146,159,204,45,128,161,7,41,10,66,145,192,194,6,39,98,1,240,160,227,238,228,4,113,205,23,40,206,232,38,239,52,2,5,3,11,180,12,166,91],"length":626,"final_offset":756,"validated_count":47,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-11 08:15:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504563867352236032,"timestamp_seconds":504563867352236.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 08:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:15:39] 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-08-11 08:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322562048001,"66":13450,"97":206,"85":15104,"24":0,"16":117536500224098304,"45":8857947173633753088},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322562048001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:15:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117536500224098304,"km_value":117536500224098.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857947173633753088,"description":"Unknown IO ID 45"} 
[2026-08-11 08:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322562048001,"power":13450,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8857947173633753088}} 
[2026-08-11 08:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":153369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:15:39] local.INFO: GPS data processed {"connection_id":153369,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:15:39] local.INFO: Acknowledgment sent {"connection_id":153369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:15:53] local.INFO: TCP Data received {"connection_id":154761,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:15:53] local.INFO: Processing buffer {"connection_id":154761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:15:53] local.INFO: IMEI packet received {"connection_id":154761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":154761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:15:53] local.INFO: TCP Data received {"connection_id":154761,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:15:53] local.INFO: Processing buffer {"connection_id":154761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:15:53] local.INFO: IMEI packet received {"connection_id":154761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":154761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:16:01] local.INFO: TCP Data received {"connection_id":152033,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:16:01] local.INFO: Processing buffer {"connection_id":152033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:16:01] local.INFO: IMEI packet received {"connection_id":152033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":152033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:16:04] local.INFO: TCP Data received {"connection_id":154761,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:16:04] local.INFO: Processing buffer {"connection_id":154761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:16:04] local.INFO: IMEI packet received {"connection_id":154761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":154761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:16:06] local.INFO: TCP Data received {"connection_id":154761,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb56870012d86eec006126a90000c00d331..."} 
[2026-08-11 08:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb56870012d86eec006126a90000c00d331..."} 
[2026-08-11 08:16:06] local.INFO: Processing buffer {"connection_id":154761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb56870012d86eec006126a90000c00d331..."} 
[2026-08-11 08:16:06] local.INFO: Packet analysis {"connection_id":154761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb5"} 
[2026-08-11 08:16:06] local.INFO: Extracted packet for processing {"connection_id":154761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb5"} 
[2026-08-11 08:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763817664,"raw_latitude":101870224,"longitude_deg":76.3817664,"latitude_deg":10.1870224,"altitude":12,"angle":211,"satellites":49,"speed":56,"hex_longitude":"2d86eec0","hex_latitude":"06126a90","is_valid_coordinates":true} 
[2026-08-11 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-08-11 08:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322570496001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377197690225688576,"note":"Value kept but may cause issues"} 
[2026-08-11 08:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8720939177346609152,"note":"Value kept but may cause issues"} 
[2026-08-11 08:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786416294000,"timestamp_ms":1786416294000,"timestamp_seconds":1786416294,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb56870"} 
[2026-08-11 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-08-11 08:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 08:16:06] 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-08-11 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-08-11 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-08-11 08:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:16: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-08-11 08:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322570496001,"66":27821,"128":206,"79":46592,"24":56,"16":377197690225688576,"45":-8720939177346609152},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-08-11 08:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322570496001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:16:06] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-11 08:16:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377197690225688576,"km_value":377197690225688.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8720939177346609152,"description":"Unknown IO ID 45"} 
[2026-08-11 08:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322570496001,"power":27821,"unknown_128":206,"unknown_79":46592,"ignition":56,"odometer":null,"unknown_45":-8720939177346609152}} 
[2026-08-11 08:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":154761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:16:06] local.INFO: GPS data processed {"connection_id":154761,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:16:06] local.INFO: Acknowledgment sent {"connection_id":154761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:16:07] local.INFO: TCP Data received {"connection_id":152033,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:16:07] local.INFO: Processing buffer {"connection_id":152033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:16:07] local.INFO: IMEI packet received {"connection_id":152033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":152033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:16:11] local.INFO: TCP Data received {"connection_id":152033,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb55100012d7aee4005e39ac8000800c22a..."} 
[2026-08-11 08:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb55100012d7aee4005e39ac8000800c22a..."} 
[2026-08-11 08:16:11] local.INFO: Processing buffer {"connection_id":152033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb55100012d7aee4005e39ac8000800c22a..."} 
[2026-08-11 08:16:11] local.INFO: Packet analysis {"connection_id":152033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb5"} 
[2026-08-11 08:16:11] local.INFO: Extracted packet for processing {"connection_id":152033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb5"} 
[2026-08-11 08:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763031104,"raw_latitude":98802376,"longitude_deg":76.3031104,"latitude_deg":9.8802376,"altitude":8,"angle":194,"satellites":42,"speed":3,"hex_longitude":"2d7aee40","hex_latitude":"05e39ac8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322567424001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117536513109000192,"note":"Value kept but may cause issues"} 
[2026-08-11 08:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858158279866179584,"note":"Value kept but may cause issues"} 
[2026-08-11 08:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786416288000,"timestamp_ms":1786416288000,"timestamp_seconds":1786416288,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb55100"} 
[2026-08-11 08:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:16:11] 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-08-11 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-11 08:16:11] 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-08-11 08: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-08-11 08:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:16:11] 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-08-11 08:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322567424001,"66":13472,"97":206,"85":15104,"24":3,"16":117536513109000192,"45":8858158279866179584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322567424001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:16:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117536513109000192,"km_value":117536513109000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858158279866179584,"description":"Unknown IO ID 45"} 
[2026-08-11 08:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322567424001,"power":13472,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8858158279866179584}} 
[2026-08-11 08:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":152033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:16:11] local.INFO: GPS data processed {"connection_id":152033,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:16:11] local.INFO: Acknowledgment sent {"connection_id":152033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:16:39] local.INFO: TCP Data received {"connection_id":154761,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb583c8012d86dd8006124b10000b00d031..."} 
[2026-08-11 08:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb583c8012d86dd8006124b10000b00d031..."} 
[2026-08-11 08:16:39] local.INFO: Processing buffer {"connection_id":154761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb583c8012d86dd8006124b10000b00d031..."} 
[2026-08-11 08:16:39] local.INFO: Packet analysis {"connection_id":154761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb5"} 
[2026-08-11 08:16:39] local.INFO: Extracted packet for processing {"connection_id":154761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb5"} 
[2026-08-11 08:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763813248,"raw_latitude":101862160,"longitude_deg":76.3813248,"latitude_deg":10.186216,"altitude":11,"angle":208,"satellites":49,"speed":50,"hex_longitude":"2d86dd80","hex_latitude":"06124b10","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322571264001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377198132607320064,"note":"Value kept but may cause issues"} 
[2026-08-11 08:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8723824295858761728,"note":"Value kept but may cause issues"} 
[2026-08-11 08:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786416301000,"timestamp_ms":1786416301000,"timestamp_seconds":1786416301,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb583c8"} 
[2026-08-11 08:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 08:16: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-08-11 08: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-08-11 08:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:16: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-08-11 08:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322571264001,"66":27887,"129":206,"79":46592,"24":50,"16":377198132607320064,"45":-8723824295858761728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,79,24,16,45]} 
[2026-08-11 08:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322571264001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:16:39] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 08:16:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377198132607320064,"km_value":377198132607320.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8723824295858761728,"description":"Unknown IO ID 45"} 
[2026-08-11 08:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322571264001,"power":27887,"unknown_129":206,"unknown_79":46592,"ignition":50,"odometer":null,"unknown_45":-8723824295858761728}} 
[2026-08-11 08:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":154761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:16:39] local.INFO: GPS data processed {"connection_id":154761,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:16:39] local.INFO: Acknowledgment sent {"connection_id":154761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:16:42] local.INFO: TCP Data received {"connection_id":152033,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb6e740012d7b0a8005e354300008004c26..."} 
[2026-08-11 08:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb6e740012d7b0a8005e354300008004c26..."} 
[2026-08-11 08:16:42] local.INFO: Processing buffer {"connection_id":152033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb6e740012d7b0a8005e354300008004c26..."} 
[2026-08-11 08:16:42] local.INFO: Packet analysis {"connection_id":152033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb6"} 
[2026-08-11 08:16:42] local.INFO: Extracted packet for processing {"connection_id":152033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb6"} 
[2026-08-11 08:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763038336,"raw_latitude":98784304,"longitude_deg":76.3038336,"latitude_deg":9.8784304,"altitude":8,"angle":76,"satellites":38,"speed":9,"hex_longitude":"2d7b0a80","hex_latitude":"05e35430","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322596096001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117537488066576384,"note":"Value kept but may cause issues"} 
[2026-08-11 08:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865898841721022464,"note":"Value kept but may cause issues"} 
[2026-08-11 08:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786416392000,"timestamp_ms":1786416392000,"timestamp_seconds":1786416392,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb6e740"} 
[2026-08-11 08:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:16:42] 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-08-11 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 08:16:42] 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-08-11 08: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-08-11 08:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:16:42] 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-08-11 08:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322596096001,"66":13526,"97":206,"85":15104,"24":9,"16":117537488066576384,"45":8865898841721022464},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322596096001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117537488066576384,"km_value":117537488066576.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865898841721022464,"description":"Unknown IO ID 45"} 
[2026-08-11 08:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322596096001,"power":13526,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8865898841721022464}} 
[2026-08-11 08:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":152033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:16:42] local.INFO: GPS data processed {"connection_id":152033,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:16:42] local.INFO: Acknowledgment sent {"connection_id":152033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:16:53] local.INFO: TCP Data received {"connection_id":152422,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:16:53] local.INFO: Processing buffer {"connection_id":152422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:16:53] local.INFO: IMEI packet received {"connection_id":152422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":152422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:16:54] local.INFO: TCP Data received {"connection_id":152422,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:16:54] local.INFO: Processing buffer {"connection_id":152422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:16:54] local.INFO: IMEI packet received {"connection_id":152422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":152422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:16:58] local.INFO: TCP Data received {"connection_id":152422,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:16:58] local.INFO: Processing buffer {"connection_id":152422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:16:58] local.INFO: IMEI packet received {"connection_id":152422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":152422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:16:58] local.INFO: TCP Data received {"connection_id":152422,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb66270012d868e4006114608001900db31..."} 
[2026-08-11 08:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb66270012d868e4006114608001900db31..."} 
[2026-08-11 08:16:58] local.INFO: Processing buffer {"connection_id":152422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb66270012d868e4006114608001900db31..."} 
[2026-08-11 08:16:58] local.INFO: Packet analysis {"connection_id":152422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb6"} 
[2026-08-11 08:16:58] local.INFO: Extracted packet for processing {"connection_id":152422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb6"} 
[2026-08-11 08:16:58] local.INFO: GPS Element Parsed {"raw_longitude":763792960,"raw_latitude":101795336,"longitude_deg":76.379296,"latitude_deg":10.1795336,"altitude":25,"angle":219,"satellites":49,"speed":44,"hex_longitude":"2d868e40","hex_latitude":"06114608","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322586880001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377201611530829824,"note":"Value kept but may cause issues"} 
[2026-08-11 08:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8749086675036981248,"note":"Value kept but may cause issues"} 
[2026-08-11 08:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786416358000,"timestamp_ms":1786416358000,"timestamp_seconds":1786416358,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb66270"} 
[2026-08-11 08:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 08:16:58] 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-08-11 08: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-08-11 08:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:16:58] 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-08-11 08:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322586880001,"66":27767,"252":206,"79":46592,"24":44,"16":377201611530829824,"45":-8749086675036981248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-08-11 08:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322586880001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:16:58] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-11 08:16:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377201611530829824,"km_value":377201611530829.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8749086675036981248,"description":"Unknown IO ID 45"} 
[2026-08-11 08:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322586880001,"power":27767,"unknown_252":206,"unknown_79":46592,"ignition":44,"odometer":null,"unknown_45":-8749086675036981248}} 
[2026-08-11 08:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":152422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:16:59] local.INFO: GPS data processed {"connection_id":152422,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:16:59] local.INFO: Acknowledgment sent {"connection_id":152422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:17:01] local.INFO: TCP Data received {"connection_id":153371,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:17:01] local.INFO: Processing buffer {"connection_id":153371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:17:01] local.INFO: IMEI packet received {"connection_id":153371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":153371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:17:06] local.INFO: TCP Data received {"connection_id":153371,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:17:06] local.INFO: Processing buffer {"connection_id":153371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:17:06] local.INFO: IMEI packet received {"connection_id":153371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":153371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:17:06] local.INFO: TCP Data received {"connection_id":153371,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:17:06] local.INFO: Processing buffer {"connection_id":153371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:17:06] local.INFO: IMEI packet received {"connection_id":153371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":153371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:17:07] local.INFO: TCP Data received {"connection_id":153371,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb6eb28012d7b0b4005e354880008003e26..."} 
[2026-08-11 08:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb6eb28012d7b0b4005e354880008003e26..."} 
[2026-08-11 08:17:07] local.INFO: Processing buffer {"connection_id":153371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb6eb28012d7b0b4005e354880008003e26..."} 
[2026-08-11 08:17:07] local.INFO: Packet analysis {"connection_id":153371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb6"} 
[2026-08-11 08:17:07] local.INFO: Extracted packet for processing {"connection_id":153371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb6"} 
[2026-08-11 08:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763038528,"raw_latitude":98784392,"longitude_deg":76.3038528,"latitude_deg":9.8784392,"altitude":8,"angle":62,"satellites":38,"speed":10,"hex_longitude":"2d7b0b40","hex_latitude":"05e35488","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322596352001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117537500951478272,"note":"Value kept but may cause issues"} 
[2026-08-11 08:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866039579209379840,"note":"Value kept but may cause issues"} 
[2026-08-11 08:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786416393000,"timestamp_ms":1786416393000,"timestamp_seconds":1786416393,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb6eb28"} 
[2026-08-11 08:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:17:07] 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-08-11 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 08:17:07] 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-08-11 08: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-08-11 08:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:17:07] 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-08-11 08:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322596352001,"66":13352,"97":206,"85":15104,"24":10,"16":117537500951478272,"45":8866039579209379840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322596352001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:17:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117537500951478272,"km_value":117537500951478.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866039579209379840,"description":"Unknown IO ID 45"} 
[2026-08-11 08:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322596352001,"power":13352,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8866039579209379840}} 
[2026-08-11 08:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":153371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:17:07] local.INFO: GPS data processed {"connection_id":153371,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:17:07] local.INFO: Acknowledgment sent {"connection_id":153371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:17:16] local.INFO: TCP Data received {"connection_id":153371,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb6ef10012d7b0c4005e355300008002626..."} 
[2026-08-11 08:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb6ef10012d7b0c4005e355300008002626..."} 
[2026-08-11 08:17:16] local.INFO: Processing buffer {"connection_id":153371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb6ef10012d7b0c4005e355300008002626..."} 
[2026-08-11 08:17:16] local.INFO: Packet analysis {"connection_id":153371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb6"} 
[2026-08-11 08:17:16] local.INFO: Extracted packet for processing {"connection_id":153371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb6"} 
[2026-08-11 08:17:16] local.INFO: GPS Element Parsed {"raw_longitude":763038784,"raw_latitude":98784560,"longitude_deg":76.3038784,"latitude_deg":9.878456,"altitude":8,"angle":38,"satellites":38,"speed":10,"hex_longitude":"2d7b0c40","hex_latitude":"05e35530","is_valid_coordinates":true} 
[2026-08-11 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-08-11 08:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322596608001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117537513836380160,"note":"Value kept but may cause issues"} 
[2026-08-11 08:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866250685441935360,"note":"Value kept but may cause issues"} 
[2026-08-11 08:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786416394000,"timestamp_ms":1786416394000,"timestamp_seconds":1786416394,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb6ef10"} 
[2026-08-11 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-08-11 08:17:16] 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-08-11 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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-11 08:17:16] 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-08-11 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-08-11 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-08-11 08:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:17:16] 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-08-11 08:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322596608001,"66":13352,"97":206,"85":15104,"24":10,"16":117537513836380160,"45":8866250685441935360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322596608001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:17:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:17:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117537513836380160,"km_value":117537513836380.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866250685441935360,"description":"Unknown IO ID 45"} 
[2026-08-11 08:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322596608001,"power":13352,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8866250685441935360}} 
[2026-08-11 08:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":153371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:17:16] local.INFO: GPS data processed {"connection_id":153371,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:17:16] local.INFO: Acknowledgment sent {"connection_id":153371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:17:30] local.INFO: TCP Data received {"connection_id":152422,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb66e28012d8684c006113d60001900e730..."} 
[2026-08-11 08:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb66e28012d8684c006113d60001900e730..."} 
[2026-08-11 08:17:30] local.INFO: Processing buffer {"connection_id":152422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb66e28012d8684c006113d60001900e730..."} 
[2026-08-11 08:17:30] local.INFO: Packet analysis {"connection_id":152422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb6"} 
[2026-08-11 08:17:30] local.INFO: Extracted packet for processing {"connection_id":152422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb6"} 
[2026-08-11 08:17:30] local.INFO: GPS Element Parsed {"raw_longitude":763790528,"raw_latitude":101793120,"longitude_deg":76.3790528,"latitude_deg":10.179312,"altitude":25,"angle":231,"satellites":48,"speed":43,"hex_longitude":"2d8684c0","hex_latitude":"06113d60","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322587648001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377201770444619776,"note":"Value kept but may cause issues"} 
[2026-08-11 08:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8750986631130511360,"note":"Value kept but may cause issues"} 
[2026-08-11 08:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786416361000,"timestamp_ms":1786416361000,"timestamp_seconds":1786416361,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb66e28"} 
[2026-08-11 08:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 08:17:30] 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-08-11 08: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-08-11 08:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:17:30] 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-08-11 08:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322587648001,"66":27887,"252":206,"79":46592,"24":43,"16":377201770444619776,"45":-8750986631130511360},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-08-11 08:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322587648001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:17:30] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-11 08:17:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377201770444619776,"km_value":377201770444619.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8750986631130511360,"description":"Unknown IO ID 45"} 
[2026-08-11 08:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322587648001,"power":27887,"unknown_252":206,"unknown_79":46592,"ignition":43,"odometer":null,"unknown_45":-8750986631130511360}} 
[2026-08-11 08:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":152422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:17:30] local.INFO: GPS data processed {"connection_id":152422,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:17:30] local.INFO: Acknowledgment sent {"connection_id":152422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:17:53] local.INFO: TCP Data received {"connection_id":154762,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:17:53] local.INFO: Processing buffer {"connection_id":154762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:17:53] local.INFO: IMEI packet received {"connection_id":154762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":154762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:17:56] local.INFO: TCP Data received {"connection_id":154762,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:17:56] local.INFO: Processing buffer {"connection_id":154762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:17:56] local.INFO: IMEI packet received {"connection_id":154762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":154762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:17:58] local.INFO: TCP Data received {"connection_id":154762,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:17:58] local.INFO: Processing buffer {"connection_id":154762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:17:58] local.INFO: IMEI packet received {"connection_id":154762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":154762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:17:59] local.INFO: TCP Data received {"connection_id":154762,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb68980012d866f0006112868001900da2f..."} 
[2026-08-11 08:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb68980012d866f0006112868001900da2f..."} 
[2026-08-11 08:17:59] local.INFO: Processing buffer {"connection_id":154762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb68980012d866f0006112868001900da2f..."} 
[2026-08-11 08:17:59] local.INFO: Packet analysis {"connection_id":154762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb6"} 
[2026-08-11 08:17:59] local.INFO: Extracted packet for processing {"connection_id":154762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb6"} 
[2026-08-11 08:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763784960,"raw_latitude":101787752,"longitude_deg":76.378496,"latitude_deg":10.1787752,"altitude":25,"angle":218,"satellites":47,"speed":42,"hex_longitude":"2d866f00","hex_latitude":"06112868","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322588416001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377202144106774528,"note":"Value kept but may cause issues"} 
[2026-08-11 08:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8753660643409829888,"note":"Value kept but may cause issues"} 
[2026-08-11 08:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786416368000,"timestamp_ms":1786416368000,"timestamp_seconds":1786416368,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb68980"} 
[2026-08-11 08:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 08:17:59] 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-08-11 08: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-08-11 08:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:17:59] 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-08-11 08:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322588416001,"66":27865,"254":206,"79":46592,"24":42,"16":377202144106774528,"45":-8753660643409829888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322588416001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:17:59] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:17:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377202144106774528,"km_value":377202144106774.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8753660643409829888,"description":"Unknown IO ID 45"} 
[2026-08-11 08:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322588416001,"power":27865,"unknown_254":206,"unknown_79":46592,"ignition":42,"odometer":null,"unknown_45":-8753660643409829888}} 
[2026-08-11 08:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":154762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:17:59] local.INFO: GPS data processed {"connection_id":154762,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:17:59] local.INFO: Acknowledgment sent {"connection_id":154762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:17:59] local.INFO: TCP Data received {"connection_id":154762,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb6a4d8012d865fc006111158001700ce2d..."} 
[2026-08-11 08:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb6a4d8012d865fc006111158001700ce2d..."} 
[2026-08-11 08:17:59] local.INFO: Processing buffer {"connection_id":154762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb6a4d8012d865fc006111158001700ce2d..."} 
[2026-08-11 08:17:59] local.INFO: Packet analysis {"connection_id":154762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb6"} 
[2026-08-11 08:17:59] local.INFO: Extracted packet for processing {"connection_id":154762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb6"} 
[2026-08-11 08:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763781056,"raw_latitude":101781848,"longitude_deg":76.3781056,"latitude_deg":10.1781848,"altitude":23,"angle":206,"satellites":45,"speed":35,"hex_longitude":"2d865fc0","hex_latitude":"06111158","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322590208001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377202483409190912,"note":"Value kept but may cause issues"} 
[2026-08-11 08:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8759782724154660864,"note":"Value kept but may cause issues"} 
[2026-08-11 08:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786416375000,"timestamp_ms":1786416375000,"timestamp_seconds":1786416375,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb6a4d8"} 
[2026-08-11 08:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 08:17:59] 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-08-11 08: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-08-11 08:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:17:59] 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-08-11 08:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322590208001,"66":27745,"254":206,"79":46592,"24":35,"16":377202483409190912,"45":-8759782724154660864},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322590208001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:17:59] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:17:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377202483409190912,"km_value":377202483409190.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8759782724154660864,"description":"Unknown IO ID 45"} 
[2026-08-11 08:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322590208001,"power":27745,"unknown_254":206,"unknown_79":46592,"ignition":35,"odometer":null,"unknown_45":-8759782724154660864}} 
[2026-08-11 08:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":154762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:17:59] local.INFO: GPS data processed {"connection_id":154762,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:17:59] local.INFO: Acknowledgment sent {"connection_id":154762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:18:07] local.INFO: TCP Data received {"connection_id":152034,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:18:07] local.INFO: Processing buffer {"connection_id":152034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:18:07] local.INFO: IMEI packet received {"connection_id":152034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":152034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:18:31] local.INFO: TCP Data received {"connection_id":154762,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb80850012d86570006111228001601302f..."} 
[2026-08-11 08:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb80850012d86570006111228001601302f..."} 
[2026-08-11 08:18:31] local.INFO: Processing buffer {"connection_id":154762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb80850012d86570006111228001601302f..."} 
[2026-08-11 08:18:31] local.INFO: Packet analysis {"connection_id":154762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:18:31] local.INFO: Extracted packet for processing {"connection_id":154762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:18:31] local.INFO: GPS Element Parsed {"raw_longitude":763778816,"raw_latitude":101782056,"longitude_deg":76.3778816,"latitude_deg":10.1782056,"altitude":22,"angle":304,"satellites":47,"speed":11,"hex_longitude":"2d865700","hex_latitude":"06111228","is_valid_coordinates":true} 
[2026-08-11 08:18: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-08-11 08:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322614784001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377203694589968384,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8766115911132209152,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786416466000,"timestamp_ms":1786416466000,"timestamp_seconds":1786416466,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb80850"} 
[2026-08-11 08:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:18: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":173,"data_length":795,"current_offset":136} 
[2026-08-11 08:18:31] 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-08-11 08:18: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-08-11 08:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:18:31] 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-08-11 08:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322614784001,"66":27843,"254":206,"79":46592,"24":11,"16":377203694589968384,"45":-8766115911132209152},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322614784001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:18:31] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:18:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377203694589968384,"km_value":377203694589968.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8766115911132209152,"description":"Unknown IO ID 45"} 
[2026-08-11 08:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322614784001,"power":27843,"unknown_254":206,"unknown_79":46592,"ignition":11,"odometer":null,"unknown_45":-8766115911132209152}} 
[2026-08-11 08:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":154762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:18:31] local.INFO: GPS data processed {"connection_id":154762,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:18:31] local.INFO: Acknowledgment sent {"connection_id":154762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:18:44] local.INFO: TCP Data received {"connection_id":152034,"ip":"42.106.6.37","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 08:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152034,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 08:18:44] local.INFO: Processing buffer {"connection_id":152034,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 08:18:44] local.INFO: IMEI packet received {"connection_id":152034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":152034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:18:45] local.INFO: TCP Data received {"connection_id":152034,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb76440012d7b35c005e394080006002228..."} 
[2026-08-11 08:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb76440012d7b35c005e394080006002228..."} 
[2026-08-11 08:18:45] local.INFO: Processing buffer {"connection_id":152034,"buffer_length":829,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 08:18:45] local.INFO: IMEI packet received {"connection_id":152034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":152034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:18:46] local.INFO: TCP Data received {"connection_id":152034,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb78b50012d7b4a0005e3b0e00005002228..."} 
[2026-08-11 08:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb78b50012d7b4a0005e3b0e00005002228..."} 
[2026-08-11 08:18:46] local.INFO: Processing buffer {"connection_id":152034,"buffer_length":1607,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fee..."} 
[2026-08-11 08:18:46] local.INFO: IMEI packet received {"connection_id":152034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":152034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:18:47] local.INFO: TCP Data received {"connection_id":152034,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb79af0012d7b520005e3ba08000600332a..."} 
[2026-08-11 08:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb79af0012d7b520005e3ba08000600332a..."} 
[2026-08-11 08:18:47] local.INFO: Processing buffer {"connection_id":152034,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019feeb76440012d7b35c005e394080006002228..."} 
[2026-08-11 08:18:47] local.INFO: Packet analysis {"connection_id":152034,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019feeb7"} 
[2026-08-11 08:18:47] local.INFO: Extracted packet for processing {"connection_id":152034,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019feeb7"} 
[2026-08-11 08:18:47] local.INFO: GPS Element Parsed {"raw_longitude":763049408,"raw_latitude":98800648,"longitude_deg":76.3049408,"latitude_deg":9.8800648,"altitude":6,"angle":34,"satellites":40,"speed":32,"hex_longitude":"2d7b35c0","hex_latitude":"05e39408","is_valid_coordinates":true} 
[2026-08-11 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-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322601216001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117538445844283392,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872513503675820032,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786416424000,"timestamp_ms":1786416424000,"timestamp_seconds":1786416424,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb76440"} 
[2026-08-11 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-08-11 08:18:47] 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-08-11 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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-11 08:18: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-08-11 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-08-11 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-08-11 08:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:18:47] 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-08-11 08:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322601216001,"66":13319,"97":206,"85":15104,"24":32,"16":117538445844283392,"45":8872513503675820032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322601216001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:18:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:18:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117538445844283392,"km_value":117538445844283.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872513503675820032,"description":"Unknown IO ID 45"} 
[2026-08-11 08:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322601216001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8872513503675820032}} 
[2026-08-11 08:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":152034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:18:47] local.INFO: GPS data processed {"connection_id":152034,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:18:47] local.ERROR: TCP Connection error {"connection_id":152034,"code":2,"message":"client closed"} 
[2026-08-11 08:18:47] local.INFO: Acknowledgment sent {"connection_id":152034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:18:47] local.INFO: Packet analysis {"connection_id":152034,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019feeb7"} 
[2026-08-11 08:18:47] local.INFO: Extracted packet for processing {"connection_id":152034,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb7"} 
[2026-08-11 08:18:47] local.INFO: GPS Element Parsed {"raw_longitude":763054592,"raw_latitude":98808032,"longitude_deg":76.3054592,"latitude_deg":9.8808032,"altitude":5,"angle":34,"satellites":40,"speed":34,"hex_longitude":"2d7b4a00","hex_latitude":"05e3b0e0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322604544001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117538879635980288,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878213371956299776,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786416434000,"timestamp_ms":1786416434000,"timestamp_seconds":1786416434,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb78b50"} 
[2026-08-11 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-08-11 08:18:47] 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-08-11 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4004962160,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3154116608,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":227,"raw_value":6131650927033787648,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3068608513,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376870,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2478243840,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3813961728,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":182,"raw_value":-2627849087721406459,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,97,85,24,241,157,16,148,159,49,45,128,116,6,40,10,66,239,64,8,38,147,235,1,240,227,238,4,113,205,9,52,2,161,5,160,182],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-11 08:18:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432383119423700992,"timestamp_seconds":432383119423701.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 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-08-11 08:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:18:47] 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-08-11 08:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322604544001,"66":13428,"97":206,"85":15104,"24":34,"16":117538879635980288,"45":8878213371956299776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322604544001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:18:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:18:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117538879635980288,"km_value":117538879635980.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878213371956299776,"description":"Unknown IO ID 45"} 
[2026-08-11 08:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322604544001,"power":13428,"unknown_97":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8878213371956299776}} 
[2026-08-11 08:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":152034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:18:47] local.INFO: GPS data processed {"connection_id":152034,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:18:47] local.INFO: Acknowledgment sent {"connection_id":152034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:18:47] local.INFO: Packet analysis {"connection_id":152034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb7"} 
[2026-08-11 08:18:47] local.INFO: Extracted packet for processing {"connection_id":152034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb7"} 
[2026-08-11 08:18:47] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98810376,"longitude_deg":76.305664,"latitude_deg":9.8810376,"altitude":6,"angle":51,"satellites":42,"speed":28,"hex_longitude":"2d7b5200","hex_latitude":"05e3ba08","is_valid_coordinates":true} 
[2026-08-11 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-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322607104001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117539034254802944,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883913240236580864,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786416438000,"timestamp_ms":1786416438000,"timestamp_seconds":1786416438,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb79af0"} 
[2026-08-11 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-08-11 08:18:47] 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-08-11 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 08:18: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-08-11 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-08-11 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-08-11 08:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:18:47] 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-08-11 08:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322607104001,"66":13276,"97":206,"85":15104,"24":28,"16":117539034254802944,"45":8883913240236580864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 08:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322607104001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:18:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 08:18:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 08:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117539034254802944,"km_value":117539034254802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883913240236580864,"description":"Unknown IO ID 45"} 
[2026-08-11 08:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322607104001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8883913240236580864}} 
[2026-08-11 08:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":152034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:18:47] local.INFO: GPS data processed {"connection_id":152034,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:18:47] local.INFO: Acknowledgment sent {"connection_id":152034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:18:53] local.INFO: TCP Data received {"connection_id":152035,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:18:53] local.INFO: Processing buffer {"connection_id":152035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:18:53] local.INFO: IMEI packet received {"connection_id":152035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":152035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:18:57] local.INFO: TCP Data received {"connection_id":152035,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:18:57] local.INFO: Processing buffer {"connection_id":152035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:18:57] local.INFO: IMEI packet received {"connection_id":152035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":152035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:18:58] local.INFO: TCP Data received {"connection_id":152035,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:18:58] local.INFO: Processing buffer {"connection_id":152035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:18:58] local.INFO: IMEI packet received {"connection_id":152035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":152035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:18:58] local.INFO: TCP Data received {"connection_id":152035,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb80c38012d865640061112980016012230..."} 
[2026-08-11 08:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb80c38012d865640061112980016012230..."} 
[2026-08-11 08:18:58] local.INFO: Processing buffer {"connection_id":152035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb80c38012d865640061112980016012230..."} 
[2026-08-11 08:18:58] local.INFO: Packet analysis {"connection_id":152035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:18:58] local.INFO: Extracted packet for processing {"connection_id":152035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763778624,"raw_latitude":101782168,"longitude_deg":76.3778624,"latitude_deg":10.1782168,"altitude":22,"angle":290,"satellites":48,"speed":11,"hex_longitude":"2d865640","hex_latitude":"06111298","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322615296001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377203707474870272,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8766538123597174784,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786416467000,"timestamp_ms":1786416467000,"timestamp_seconds":1786416467,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb80c38"} 
[2026-08-11 08:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 08:18:58] 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-08-11 08: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-08-11 08:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:18:58] 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-08-11 08:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322615296001,"66":27843,"254":206,"79":46592,"24":11,"16":377203707474870272,"45":-8766538123597174784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322615296001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:18:58] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:18:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377203707474870272,"km_value":377203707474870.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8766538123597174784,"description":"Unknown IO ID 45"} 
[2026-08-11 08:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322615296001,"power":27843,"unknown_254":206,"unknown_79":46592,"ignition":11,"odometer":null,"unknown_45":-8766538123597174784}} 
[2026-08-11 08:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":152035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:18:58] local.INFO: GPS data processed {"connection_id":152035,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:18:58] local.INFO: Acknowledgment sent {"connection_id":152035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:18:59] local.INFO: TCP Data received {"connection_id":152035,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb81408012d865400061112f8001701112f..."} 
[2026-08-11 08:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb81408012d865400061112f8001701112f..."} 
[2026-08-11 08:18:59] local.INFO: Processing buffer {"connection_id":152035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb81408012d865400061112f8001701112f..."} 
[2026-08-11 08:18:59] local.INFO: Packet analysis {"connection_id":152035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:18:59] local.INFO: Extracted packet for processing {"connection_id":152035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:18:59] local.INFO: GPS Element Parsed {"raw_longitude":763778048,"raw_latitude":101782264,"longitude_deg":76.3778048,"latitude_deg":10.1782264,"altitude":23,"angle":273,"satellites":47,"speed":10,"hex_longitude":"2d865400","hex_latitude":"061112f8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322615552001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377203733244674048,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8766749229829679104,"note":"Value kept but may cause issues"} 
[2026-08-11 08:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786416469000,"timestamp_ms":1786416469000,"timestamp_seconds":1786416469,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb81408"} 
[2026-08-11 08:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 08:18:59] 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-08-11 08: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-08-11 08:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:18:59] 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-08-11 08:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322615552001,"66":27767,"254":206,"79":46592,"24":10,"16":377203733244674048,"45":-8766749229829679104},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322615552001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:18:59] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:18:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377203733244674048,"km_value":377203733244674.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8766749229829679104,"description":"Unknown IO ID 45"} 
[2026-08-11 08:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322615552001,"power":27767,"unknown_254":206,"unknown_79":46592,"ignition":10,"odometer":null,"unknown_45":-8766749229829679104}} 
[2026-08-11 08:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":152035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:18:59] local.INFO: GPS data processed {"connection_id":152035,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:18:59] local.INFO: Acknowledgment sent {"connection_id":152035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:19:02] local.INFO: TCP Data received {"connection_id":152423,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:19:02] local.INFO: Processing buffer {"connection_id":152423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:19:02] local.INFO: IMEI packet received {"connection_id":152423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":152423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:19:03] local.INFO: TCP Data received {"connection_id":152423,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:19:03] local.INFO: Processing buffer {"connection_id":152423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:19:03] local.INFO: IMEI packet received {"connection_id":152423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":152423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:19:06] local.INFO: TCP Data received {"connection_id":152423,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:19:06] local.INFO: Processing buffer {"connection_id":152423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:19:06] local.INFO: IMEI packet received {"connection_id":152423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":152423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:19:07] local.INFO: TCP Data received {"connection_id":152423,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb8f698012d7c160005e4dea00009001528..."} 
[2026-08-11 08:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb8f698012d7c160005e4dea00009001528..."} 
[2026-08-11 08:19:07] local.INFO: Processing buffer {"connection_id":152423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb8f698012d7c160005e4dea00009001528..."} 
[2026-08-11 08:19:07] local.INFO: Packet analysis {"connection_id":152423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:19:07] local.INFO: Extracted packet for processing {"connection_id":152423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763106816,"raw_latitude":98885280,"longitude_deg":76.3106816,"latitude_deg":9.888528,"altitude":9,"angle":21,"satellites":40,"speed":11,"hex_longitude":"2d7c1600","hex_latitude":"05e4dea0","is_valid_coordinates":true} 
[2026-08-11 08:19: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-08-11 08:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322629632001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117543389351641088,"note":"Value kept but may cause issues"} 
[2026-08-11 08:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939715654388645888,"note":"Value kept but may cause issues"} 
[2026-08-11 08:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786416527000,"timestamp_ms":1786416527000,"timestamp_seconds":1786416527,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb8f698"} 
[2026-08-11 08:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:19:07] 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-08-11 08:19: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 08:19:07] 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-08-11 08:19: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-08-11 08:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:19:07] 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-08-11 08:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322629632001,"66":13222,"182":206,"87":13824,"24":11,"16":117543389351641088,"45":8939715654388645888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-11 08:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322629632001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:19:07] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-11 08:19:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117543389351641088,"km_value":117543389351641.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939715654388645888,"description":"Unknown IO ID 45"} 
[2026-08-11 08:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322629632001,"power":13222,"unknown_182":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8939715654388645888}} 
[2026-08-11 08:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":152423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:19:07] local.INFO: GPS data processed {"connection_id":152423,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:19:07] local.INFO: Acknowledgment sent {"connection_id":152423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:19:12] local.INFO: TCP Data received {"connection_id":152423,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb90250012d7c178005e4e128000900212b..."} 
[2026-08-11 08:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb90250012d7c178005e4e128000900212b..."} 
[2026-08-11 08:19:12] local.INFO: Processing buffer {"connection_id":152423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb90250012d7c178005e4e128000900212b..."} 
[2026-08-11 08:19:12] local.INFO: Packet analysis {"connection_id":152423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb9"} 
[2026-08-11 08:19:12] local.INFO: Extracted packet for processing {"connection_id":152423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb9"} 
[2026-08-11 08:19:12] local.INFO: GPS Element Parsed {"raw_longitude":763107200,"raw_latitude":98885928,"longitude_deg":76.31072,"latitude_deg":9.8885928,"altitude":9,"angle":33,"satellites":43,"speed":15,"hex_longitude":"2d7c1780","hex_latitude":"05e4e128","is_valid_coordinates":true} 
[2026-08-11 08:19: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-08-11 08:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322630912001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117543428006346752,"note":"Value kept but may cause issues"} 
[2026-08-11 08:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941334135505330176,"note":"Value kept but may cause issues"} 
[2026-08-11 08:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786416530000,"timestamp_ms":1786416530000,"timestamp_seconds":1786416530,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb90250"} 
[2026-08-11 08:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:19:12] 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-08-11 08:19: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 08:19:12] 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-08-11 08:19: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-08-11 08:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:19:12] 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-08-11 08:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322630912001,"66":13243,"182":206,"87":13824,"24":15,"16":117543428006346752,"45":8941334135505330176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-11 08:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322630912001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:19:12] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-11 08:19:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117543428006346752,"km_value":117543428006346.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941334135505330176,"description":"Unknown IO ID 45"} 
[2026-08-11 08:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322630912001,"power":13243,"unknown_182":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8941334135505330176}} 
[2026-08-11 08:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":152423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:19:12] local.INFO: GPS data processed {"connection_id":152423,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:19:12] local.INFO: Acknowledgment sent {"connection_id":152423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:19:31] local.INFO: TCP Data received {"connection_id":152035,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb86228012d864f40061114200018011d2e..."} 
[2026-08-11 08:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb86228012d864f40061114200018011d2e..."} 
[2026-08-11 08:19:31] local.INFO: Processing buffer {"connection_id":152035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb86228012d864f40061114200018011d2e..."} 
[2026-08-11 08:19:31] local.INFO: Packet analysis {"connection_id":152035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:19:31] local.INFO: Extracted packet for processing {"connection_id":152035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763776832,"raw_latitude":101782560,"longitude_deg":76.3776832,"latitude_deg":10.178256,"altitude":24,"angle":285,"satellites":46,"speed":7,"hex_longitude":"2d864f40","hex_latitude":"06111420","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322616064001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377203797669183488,"note":"Value kept but may cause issues"} 
[2026-08-11 08:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8767382548527253504,"note":"Value kept but may cause issues"} 
[2026-08-11 08:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786416489000,"timestamp_ms":1786416489000,"timestamp_seconds":1786416489,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb86228"} 
[2026-08-11 08:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 08:19: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-08-11 08: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-08-11 08:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:19:31] 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-08-11 08:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322616064001,"66":27800,"254":206,"79":46592,"24":7,"16":377203797669183488,"45":-8767382548527253504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322616064001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:19:31] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:19:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377203797669183488,"km_value":377203797669183.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8767382548527253504,"description":"Unknown IO ID 45"} 
[2026-08-11 08:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322616064001,"power":27800,"unknown_254":206,"unknown_79":46592,"ignition":7,"odometer":null,"unknown_45":-8767382548527253504}} 
[2026-08-11 08:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":152035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:19:31] local.INFO: GPS data processed {"connection_id":152035,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:19:31] local.INFO: Acknowledgment sent {"connection_id":152035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:19:45] local.INFO: TCP Data received {"connection_id":152423,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb92d48012d7c2b0005e4fea00008001f2c..."} 
[2026-08-11 08:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb92d48012d7c2b0005e4fea00008001f2c..."} 
[2026-08-11 08:19:45] local.INFO: Processing buffer {"connection_id":152423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb92d48012d7c2b0005e4fea00008001f2c..."} 
[2026-08-11 08:19:45] local.INFO: Packet analysis {"connection_id":152423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb9"} 
[2026-08-11 08:19:45] local.INFO: Extracted packet for processing {"connection_id":152423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb9"} 
[2026-08-11 08:19:45] local.INFO: GPS Element Parsed {"raw_longitude":763112192,"raw_latitude":98893472,"longitude_deg":76.3112192,"latitude_deg":9.8893472,"altitude":8,"angle":31,"satellites":44,"speed":43,"hex_longitude":"2d7c2b00","hex_latitude":"05e4fea0","is_valid_coordinates":true} 
[2026-08-11 08:19: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-08-11 08:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322631680001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117543861798043648,"note":"Value kept but may cause issues"} 
[2026-08-11 08:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941756347970562048,"note":"Value kept but may cause issues"} 
[2026-08-11 08:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786416541000,"timestamp_ms":1786416541000,"timestamp_seconds":1786416541,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb92d48"} 
[2026-08-11 08:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:19:45] 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-08-11 08:19: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 08:19:45] 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-08-11 08:19: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-08-11 08:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:19:45] 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-08-11 08:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322631680001,"66":13189,"39":206,"87":13824,"24":43,"16":117543861798043648,"45":8941756347970562048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-11 08:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322631680001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:19:45] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-11 08:19:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117543861798043648,"km_value":117543861798043.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941756347970562048,"description":"Unknown IO ID 45"} 
[2026-08-11 08:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322631680001,"power":13189,"unknown_39":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8941756347970562048}} 
[2026-08-11 08:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":152423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:19:45] local.INFO: GPS data processed {"connection_id":152423,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:19:45] local.INFO: Acknowledgment sent {"connection_id":152423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:19:53] local.INFO: TCP Data received {"connection_id":154763,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:19:53] local.INFO: Processing buffer {"connection_id":154763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:19:53] local.INFO: IMEI packet received {"connection_id":154763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":154763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:19:58] local.INFO: TCP Data received {"connection_id":154763,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:19:58] local.INFO: Processing buffer {"connection_id":154763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:19:58] local.INFO: IMEI packet received {"connection_id":154763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":154763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:19:59] local.INFO: TCP Data received {"connection_id":154763,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb875b0012d864ac006111520001801112f..."} 
[2026-08-11 08:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb875b0012d864ac006111520001801112f..."} 
[2026-08-11 08:19:59] local.INFO: Processing buffer {"connection_id":154763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb875b0012d864ac006111520001801112f..."} 
[2026-08-11 08:19:59] local.INFO: Packet analysis {"connection_id":154763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:19:59] local.INFO: Extracted packet for processing {"connection_id":154763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:19:59] local.INFO: GPS Element Parsed {"raw_longitude":763775680,"raw_latitude":101782816,"longitude_deg":76.377568,"latitude_deg":10.1782816,"altitude":24,"angle":273,"satellites":47,"speed":11,"hex_longitude":"2d864ac0","hex_latitude":"06111520","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322621184001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377203853503758336,"note":"Value kept but may cause issues"} 
[2026-08-11 08:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8768719554666553344,"note":"Value kept but may cause issues"} 
[2026-08-11 08:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786416494000,"timestamp_ms":1786416494000,"timestamp_seconds":1786416494,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb875b0"} 
[2026-08-11 08:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 08:19:59] 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-08-11 08: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-08-11 08:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:19:59] 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-08-11 08:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322621184001,"66":27843,"254":206,"79":46592,"24":11,"16":377203853503758336,"45":-8768719554666553344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322621184001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:19:59] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:19:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377203853503758336,"km_value":377203853503758.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8768719554666553344,"description":"Unknown IO ID 45"} 
[2026-08-11 08:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322621184001,"power":27843,"unknown_254":206,"unknown_79":46592,"ignition":11,"odometer":null,"unknown_45":-8768719554666553344}} 
[2026-08-11 08:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":154763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:19:59] local.INFO: GPS data processed {"connection_id":154763,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:19:59] local.INFO: Acknowledgment sent {"connection_id":154763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:20:02] local.INFO: TCP Data received {"connection_id":152036,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:20:02] local.INFO: Processing buffer {"connection_id":152036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:20:02] local.INFO: IMEI packet received {"connection_id":152036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":152036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:20:07] local.INFO: TCP Data received {"connection_id":152036,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:20:07] local.INFO: Processing buffer {"connection_id":152036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:20:07] local.INFO: IMEI packet received {"connection_id":152036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":152036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:20:08] local.INFO: TCP Data received {"connection_id":152036,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb95070012d7c3cc005e51cb80006001e2c..."} 
[2026-08-11 08:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb95070012d7c3cc005e51cb80006001e2c..."} 
[2026-08-11 08:20:08] local.INFO: Processing buffer {"connection_id":152036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb95070012d7c3cc005e51cb80006001e2c..."} 
[2026-08-11 08:20:08] local.INFO: Packet analysis {"connection_id":152036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb9"} 
[2026-08-11 08:20:08] local.INFO: Extracted packet for processing {"connection_id":152036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb9"} 
[2026-08-11 08:20:08] local.INFO: GPS Element Parsed {"raw_longitude":763116736,"raw_latitude":98901176,"longitude_deg":76.3116736,"latitude_deg":9.8901176,"altitude":6,"angle":30,"satellites":44,"speed":30,"hex_longitude":"2d7c3cc0","hex_latitude":"05e51cb8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322634496001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117544295589740544,"note":"Value kept but may cause issues"} 
[2026-08-11 08:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947245110018351104,"note":"Value kept but may cause issues"} 
[2026-08-11 08:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786416550000,"timestamp_ms":1786416550000,"timestamp_seconds":1786416550,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb95070"} 
[2026-08-11 08:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:20:08] 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-08-11 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 08:20:08] 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-08-11 08: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-08-11 08:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:20:08] 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-08-11 08:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322634496001,"66":12689,"90":206,"87":13824,"24":30,"16":117544295589740544,"45":8947245110018351104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-08-11 08:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322634496001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:20:08] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-11 08:20:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117544295589740544,"km_value":117544295589740.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947245110018351104,"description":"Unknown IO ID 45"} 
[2026-08-11 08:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322634496001,"power":12689,"unknown_90":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8947245110018351104}} 
[2026-08-11 08:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":152036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:20:08] local.INFO: GPS data processed {"connection_id":152036,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:20:08] local.INFO: Acknowledgment sent {"connection_id":152036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:20:30] local.INFO: TCP Data received {"connection_id":154763,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb88938012d864440061116080018012031..."} 
[2026-08-11 08:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb88938012d864440061116080018012031..."} 
[2026-08-11 08:20:30] local.INFO: Processing buffer {"connection_id":154763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb88938012d864440061116080018012031..."} 
[2026-08-11 08:20:30] local.INFO: Packet analysis {"connection_id":154763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:20:30] local.INFO: Extracted packet for processing {"connection_id":154763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:20:30] local.INFO: GPS Element Parsed {"raw_longitude":763774016,"raw_latitude":101783048,"longitude_deg":76.3774016,"latitude_deg":10.1783048,"altitude":24,"angle":288,"satellites":49,"speed":12,"hex_longitude":"2d864440","hex_latitude":"06111608","is_valid_coordinates":true} 
[2026-08-11 08:20: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-08-11 08:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322622464001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377203935108136960,"note":"Value kept but may cause issues"} 
[2026-08-11 08:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8769986192061685760,"note":"Value kept but may cause issues"} 
[2026-08-11 08:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786416499000,"timestamp_ms":1786416499000,"timestamp_seconds":1786416499,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb88938"} 
[2026-08-11 08:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:20: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 08:20:30] 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-08-11 08:20: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-08-11 08:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:20:30] 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-08-11 08:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322622464001,"66":27919,"254":206,"79":46592,"24":12,"16":377203935108136960,"45":-8769986192061685760},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322622464001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:20:30] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:20:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377203935108136960,"km_value":377203935108136.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8769986192061685760,"description":"Unknown IO ID 45"} 
[2026-08-11 08:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322622464001,"power":27919,"unknown_254":206,"unknown_79":46592,"ignition":12,"odometer":null,"unknown_45":-8769986192061685760}} 
[2026-08-11 08:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":154763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:20:30] local.INFO: GPS data processed {"connection_id":154763,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:20:30] local.INFO: Acknowledgment sent {"connection_id":154763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:20:45] local.INFO: TCP Data received {"connection_id":152036,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeba65c8012d7be04005e5ee080004014227..."} 
[2026-08-11 08:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeba65c8012d7be04005e5ee080004014227..."} 
[2026-08-11 08:20:45] local.INFO: Processing buffer {"connection_id":152036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeba65c8012d7be04005e5ee080004014227..."} 
[2026-08-11 08:20:45] local.INFO: Packet analysis {"connection_id":152036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeba"} 
[2026-08-11 08:20:45] local.INFO: Extracted packet for processing {"connection_id":152036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeba"} 
[2026-08-11 08:20:45] local.INFO: GPS Element Parsed {"raw_longitude":763093056,"raw_latitude":98954760,"longitude_deg":76.3093056,"latitude_deg":9.895476,"altitude":4,"angle":322,"satellites":39,"speed":35,"hex_longitude":"2d7be040","hex_latitude":"05e5ee08","is_valid_coordinates":true} 
[2026-08-11 08:20: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-08-11 08:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322653952001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117547237642338304,"note":"Value kept but may cause issues"} 
[2026-08-11 08:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929230711523979264,"note":"Value kept but may cause issues"} 
[2026-08-11 08:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786416621000,"timestamp_ms":1786416621000,"timestamp_seconds":1786416621,"priority":1,"record_length":96,"hex_timestamp":"0000019feeba65c8"} 
[2026-08-11 08:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:20:45] 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-08-11 08:20: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":117,"data_length":795,"current_offset":136} 
[2026-08-11 08:20:45] 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-08-11 08:20: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-08-11 08:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:20:45] 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-08-11 08:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322653952001,"66":12765,"38":206,"87":13824,"24":35,"16":117547237642338304,"45":8929230711523979264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-11 08:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322653952001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:20:45] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-11 08:20:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117547237642338304,"km_value":117547237642338.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929230711523979264,"description":"Unknown IO ID 45"} 
[2026-08-11 08:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322653952001,"power":12765,"unknown_38":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8929230711523979264}} 
[2026-08-11 08:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":152036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:20:45] local.INFO: GPS data processed {"connection_id":152036,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:20:45] local.INFO: Acknowledgment sent {"connection_id":152036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:20:58] local.INFO: TCP Data received {"connection_id":153372,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:20:58] local.INFO: Processing buffer {"connection_id":153372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:20:58] local.INFO: IMEI packet received {"connection_id":153372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":153372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:21:02] local.INFO: TCP Data received {"connection_id":153373,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:21:02] local.INFO: Processing buffer {"connection_id":153373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:21:02] local.INFO: IMEI packet received {"connection_id":153373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":153373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:21:03] local.INFO: TCP Data received {"connection_id":153372,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:21:03] local.INFO: Processing buffer {"connection_id":153372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:21:03] local.INFO: IMEI packet received {"connection_id":153372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":153372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:21:04] local.INFO: TCP Data received {"connection_id":153372,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb89108012d864200061117400017013a30..."} 
[2026-08-11 08:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb89108012d864200061117400017013a30..."} 
[2026-08-11 08:21:04] local.INFO: Processing buffer {"connection_id":153372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb89108012d864200061117400017013a30..."} 
[2026-08-11 08:21:04] local.INFO: Packet analysis {"connection_id":153372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:21:04] local.INFO: Extracted packet for processing {"connection_id":153372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:21:04] local.INFO: GPS Element Parsed {"raw_longitude":763773440,"raw_latitude":101783360,"longitude_deg":76.377344,"latitude_deg":10.178336,"altitude":23,"angle":314,"satellites":48,"speed":14,"hex_longitude":"2d864200","hex_latitude":"06111740","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322623744001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377203965172908032,"note":"Value kept but may cause issues"} 
[2026-08-11 08:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8771815779410245632,"note":"Value kept but may cause issues"} 
[2026-08-11 08:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786416501000,"timestamp_ms":1786416501000,"timestamp_seconds":1786416501,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb89108"} 
[2026-08-11 08:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08: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-08-11 08: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-08-11 08:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:21:04] 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-08-11 08:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322623744001,"66":27680,"254":206,"79":46592,"24":14,"16":377203965172908032,"45":-8771815779410245632},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322623744001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:21:04] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:21:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377203965172908032,"km_value":377203965172908.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8771815779410245632,"description":"Unknown IO ID 45"} 
[2026-08-11 08:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322623744001,"power":27680,"unknown_254":206,"unknown_79":46592,"ignition":14,"odometer":null,"unknown_45":-8771815779410245632}} 
[2026-08-11 08:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":153372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:21:04] local.INFO: GPS data processed {"connection_id":153372,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:21:04] local.INFO: Acknowledgment sent {"connection_id":153372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:21:06] local.INFO: TCP Data received {"connection_id":153373,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:21:06] local.INFO: Processing buffer {"connection_id":153373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:21:06] local.INFO: IMEI packet received {"connection_id":153373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":153373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:21:08] local.INFO: TCP Data received {"connection_id":153373,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeba7180012d7bdbc005e5f6480004015023..."} 
[2026-08-11 08:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeba7180012d7bdbc005e5f6480004015023..."} 
[2026-08-11 08:21:08] local.INFO: Processing buffer {"connection_id":153373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeba7180012d7bdbc005e5f6480004015023..."} 
[2026-08-11 08:21:08] local.INFO: Packet analysis {"connection_id":153373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeba"} 
[2026-08-11 08:21:08] local.INFO: Extracted packet for processing {"connection_id":153373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeba"} 
[2026-08-11 08:21:08] local.INFO: GPS Element Parsed {"raw_longitude":763091904,"raw_latitude":98956872,"longitude_deg":76.3091904,"latitude_deg":9.8956872,"altitude":4,"angle":336,"satellites":35,"speed":27,"hex_longitude":"2d7bdbc0","hex_latitude":"05e5f648","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322654976001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117547353606455296,"note":"Value kept but may cause issues"} 
[2026-08-11 08:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926204855524919296,"note":"Value kept but may cause issues"} 
[2026-08-11 08:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786416624000,"timestamp_ms":1786416624000,"timestamp_seconds":1786416624,"priority":1,"record_length":96,"hex_timestamp":"0000019feeba7180"} 
[2026-08-11 08:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:21:08] 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-08-11 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-11 08:21:08] 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-08-11 08: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-08-11 08:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:21:08] 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-08-11 08:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322654976001,"66":13048,"38":206,"87":13824,"24":27,"16":117547353606455296,"45":8926204855524919296},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-11 08:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322654976001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:21:08] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-11 08:21:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117547353606455296,"km_value":117547353606455.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926204855524919296,"description":"Unknown IO ID 45"} 
[2026-08-11 08:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322654976001,"power":13048,"unknown_38":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8926204855524919296}} 
[2026-08-11 08:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":153373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:21:08] local.INFO: GPS data processed {"connection_id":153373,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:21:08] local.INFO: Acknowledgment sent {"connection_id":153373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:21:08] local.INFO: TCP Data received {"connection_id":153372,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb894f0012d864100061118700017014c30..."} 
[2026-08-11 08:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb894f0012d864100061118700017014c30..."} 
[2026-08-11 08:21:08] local.INFO: Processing buffer {"connection_id":153372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb894f0012d864100061118700017014c30..."} 
[2026-08-11 08:21:08] local.INFO: Packet analysis {"connection_id":153372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:21:08] local.INFO: Extracted packet for processing {"connection_id":153372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:21:08] local.INFO: GPS Element Parsed {"raw_longitude":763773184,"raw_latitude":101783664,"longitude_deg":76.3773184,"latitude_deg":10.1783664,"altitude":23,"angle":332,"satellites":48,"speed":15,"hex_longitude":"2d864100","hex_latitude":"06111870","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322624256001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377203986647744512,"note":"Value kept but may cause issues"} 
[2026-08-11 08:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8772449098107764736,"note":"Value kept but may cause issues"} 
[2026-08-11 08:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786416502000,"timestamp_ms":1786416502000,"timestamp_seconds":1786416502,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb894f0"} 
[2026-08-11 08:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-08-11 08:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 08: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-08-11 08:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:21:08] 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-08-11 08:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322624256001,"66":27713,"254":206,"79":46592,"24":15,"16":377203986647744512,"45":-8772449098107764736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322624256001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:21:08] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:21:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377203986647744512,"km_value":377203986647744.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8772449098107764736,"description":"Unknown IO ID 45"} 
[2026-08-11 08:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322624256001,"power":27713,"unknown_254":206,"unknown_79":46592,"ignition":15,"odometer":null,"unknown_45":-8772449098107764736}} 
[2026-08-11 08:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":153372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:21:08] local.INFO: GPS data processed {"connection_id":153372,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:21:08] local.INFO: Acknowledgment sent {"connection_id":153372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:21:39] local.INFO: TCP Data received {"connection_id":153373,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeba7950012d7bda4005e5fb180004015d24..."} 
[2026-08-11 08:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeba7950012d7bda4005e5fb180004015d24..."} 
[2026-08-11 08:21:39] local.INFO: Processing buffer {"connection_id":153373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeba7950012d7bda4005e5fb180004015d24..."} 
[2026-08-11 08:21:39] local.INFO: Packet analysis {"connection_id":153373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeba"} 
[2026-08-11 08:21:39] local.INFO: Extracted packet for processing {"connection_id":153373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeba"} 
[2026-08-11 08:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763091520,"raw_latitude":98958104,"longitude_deg":76.309152,"latitude_deg":9.8958104,"altitude":4,"angle":349,"satellites":36,"speed":25,"hex_longitude":"2d7bda40","hex_latitude":"05e5fb18","is_valid_coordinates":true} 
[2026-08-11 08:21: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-08-11 08:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322655744001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117547418030964736,"note":"Value kept but may cause issues"} 
[2026-08-11 08:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924938218130262016,"note":"Value kept but may cause issues"} 
[2026-08-11 08:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786416626000,"timestamp_ms":1786416626000,"timestamp_seconds":1786416626,"priority":1,"record_length":96,"hex_timestamp":"0000019feeba7950"} 
[2026-08-11 08:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:21:39] 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-08-11 08:21: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 08:21:39] 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-08-11 08:21: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-08-11 08:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:21:39] 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-08-11 08:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322655744001,"66":13363,"38":206,"87":13824,"24":25,"16":117547418030964736,"45":8924938218130262016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-11 08:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322655744001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:21:39] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-11 08:21:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117547418030964736,"km_value":117547418030964.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924938218130262016,"description":"Unknown IO ID 45"} 
[2026-08-11 08:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322655744001,"power":13363,"unknown_38":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8924938218130262016}} 
[2026-08-11 08:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":153373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:21:39] local.INFO: GPS data processed {"connection_id":153373,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:21:39] local.INFO: Acknowledgment sent {"connection_id":153373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:21:53] local.INFO: TCP Data received {"connection_id":152424,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:21:53] local.INFO: Processing buffer {"connection_id":152424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:21:53] local.INFO: IMEI packet received {"connection_id":152424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":152424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:21:58] local.INFO: TCP Data received {"connection_id":152424,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:21:58] local.INFO: Processing buffer {"connection_id":152424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:21:58] local.INFO: IMEI packet received {"connection_id":152424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":152424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:21:59] local.INFO: TCP Data received {"connection_id":152424,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb898d8012d8640c0061119f00017015c2f..."} 
[2026-08-11 08:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb898d8012d8640c0061119f00017015c2f..."} 
[2026-08-11 08:21:59] local.INFO: Processing buffer {"connection_id":152424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb898d8012d8640c0061119f00017015c2f..."} 
[2026-08-11 08:21:59] local.INFO: Packet analysis {"connection_id":152424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:21:59] local.INFO: Extracted packet for processing {"connection_id":152424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763773120,"raw_latitude":101784048,"longitude_deg":76.377312,"latitude_deg":10.1784048,"altitude":23,"angle":348,"satellites":47,"speed":16,"hex_longitude":"2d8640c0","hex_latitude":"061119f0","is_valid_coordinates":true} 
[2026-08-11 08:21: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-08-11 08:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322624512001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377204003827613696,"note":"Value kept but may cause issues"} 
[2026-08-11 08:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8772730573084397568,"note":"Value kept but may cause issues"} 
[2026-08-11 08:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786416503000,"timestamp_ms":1786416503000,"timestamp_seconds":1786416503,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb898d8"} 
[2026-08-11 08:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:21: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-11 08:21:59] 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-08-11 08:21: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-08-11 08:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:21:59] 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-08-11 08:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322624512001,"66":27713,"254":206,"79":46592,"24":16,"16":377204003827613696,"45":-8772730573084397568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322624512001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:21:59] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:21:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377204003827613696,"km_value":377204003827613.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8772730573084397568,"description":"Unknown IO ID 45"} 
[2026-08-11 08:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322624512001,"power":27713,"unknown_254":206,"unknown_79":46592,"ignition":16,"odometer":null,"unknown_45":-8772730573084397568}} 
[2026-08-11 08:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":152424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:21:59] local.INFO: GPS data processed {"connection_id":152424,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:21:59] local.INFO: Acknowledgment sent {"connection_id":152424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:22:01] local.INFO: TCP Data received {"connection_id":152037,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:22:01] local.INFO: Processing buffer {"connection_id":152037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:22:01] local.INFO: IMEI packet received {"connection_id":152037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":152037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:22:03] local.INFO: TCP Data received {"connection_id":152037,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:22:03] local.INFO: Processing buffer {"connection_id":152037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:22:03] local.INFO: IMEI packet received {"connection_id":152037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":152037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:22:08] local.INFO: TCP Data received {"connection_id":152037,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:22:08] local.INFO: Processing buffer {"connection_id":152037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:22:08] local.INFO: IMEI packet received {"connection_id":152037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":152037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:22:08] local.INFO: TCP Data received {"connection_id":152037,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebaa448012d7bcfc005e61d380006015821..."} 
[2026-08-11 08:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebaa448012d7bcfc005e61d380006015821..."} 
[2026-08-11 08:22:08] local.INFO: Processing buffer {"connection_id":152037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebaa448012d7bcfc005e61d380006015821..."} 
[2026-08-11 08:22:08] local.INFO: Packet analysis {"connection_id":152037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeba"} 
[2026-08-11 08:22:08] local.INFO: Extracted packet for processing {"connection_id":152037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeba"} 
[2026-08-11 08:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763088832,"raw_latitude":98966840,"longitude_deg":76.3088832,"latitude_deg":9.896684,"altitude":6,"angle":344,"satellites":33,"speed":32,"hex_longitude":"2d7bcfc0","hex_latitude":"05e61d38","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322656256001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117547860412596224,"note":"Value kept but may cause issues"} 
[2026-08-11 08:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924516005665511424,"note":"Value kept but may cause issues"} 
[2026-08-11 08:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786416637000,"timestamp_ms":1786416637000,"timestamp_seconds":1786416637,"priority":1,"record_length":96,"hex_timestamp":"0000019feebaa448"} 
[2026-08-11 08:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:22:08] 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-08-11 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 08:22:08] 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-08-11 08: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-08-11 08:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:22:08] 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-08-11 08:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322656256001,"66":13254,"38":206,"87":13824,"24":32,"16":117547860412596224,"45":8924516005665511424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-11 08:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322656256001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:22:08] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-11 08:22:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117547860412596224,"km_value":117547860412596.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924516005665511424,"description":"Unknown IO ID 45"} 
[2026-08-11 08:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322656256001,"power":13254,"unknown_38":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8924516005665511424}} 
[2026-08-11 08:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":152037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:22:08] local.INFO: GPS data processed {"connection_id":152037,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:22:08] local.INFO: Acknowledgment sent {"connection_id":152037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:22:11] local.INFO: TCP Data received {"connection_id":152037,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebabbb8012d7bcb4005e62a500006014920..."} 
[2026-08-11 08:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebabbb8012d7bcb4005e62a500006014920..."} 
[2026-08-11 08:22:11] local.INFO: Processing buffer {"connection_id":152037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebabbb8012d7bcb4005e62a500006014920..."} 
[2026-08-11 08:22:11] local.INFO: Packet analysis {"connection_id":152037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeba"} 
[2026-08-11 08:22:11] local.INFO: Extracted packet for processing {"connection_id":152037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeba"} 
[2026-08-11 08:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763087680,"raw_latitude":98970192,"longitude_deg":76.308768,"latitude_deg":9.8970192,"altitude":6,"angle":329,"satellites":32,"speed":10,"hex_longitude":"2d7bcb40","hex_latitude":"05e62a50","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322659072001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117548032211288064,"note":"Value kept but may cause issues"} 
[2026-08-11 08:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921560518412285952,"note":"Value kept but may cause issues"} 
[2026-08-11 08:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786416643000,"timestamp_ms":1786416643000,"timestamp_seconds":1786416643,"priority":1,"record_length":96,"hex_timestamp":"0000019feebabbb8"} 
[2026-08-11 08:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:22:11] 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-08-11 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 08:22:11] 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-08-11 08: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-08-11 08:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:22:11] 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-08-11 08:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322659072001,"66":13243,"38":206,"87":13824,"24":10,"16":117548032211288064,"45":8921560518412285952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-11 08:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322659072001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:22:11] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-11 08:22:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117548032211288064,"km_value":117548032211288.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921560518412285952,"description":"Unknown IO ID 45"} 
[2026-08-11 08:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322659072001,"power":13243,"unknown_38":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8921560518412285952}} 
[2026-08-11 08:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":152037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:22:11] local.INFO: GPS data processed {"connection_id":152037,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:22:11] local.INFO: Acknowledgment sent {"connection_id":152037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:22:30] local.INFO: TCP Data received {"connection_id":152424,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb89cc0012d86408006111b800017000230..."} 
[2026-08-11 08:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb89cc0012d86408006111b800017000230..."} 
[2026-08-11 08:22:30] local.INFO: Processing buffer {"connection_id":152424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb89cc0012d86408006111b800017000230..."} 
[2026-08-11 08:22:30] local.INFO: Packet analysis {"connection_id":152424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:22:30] local.INFO: Extracted packet for processing {"connection_id":152424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763773056,"raw_latitude":101784448,"longitude_deg":76.3773056,"latitude_deg":10.1784448,"altitude":23,"angle":2,"satellites":48,"speed":16,"hex_longitude":"2d864080","hex_latitude":"06111b80","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322624768001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377204025302450176,"note":"Value kept but may cause issues"} 
[2026-08-11 08:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8772800941828476928,"note":"Value kept but may cause issues"} 
[2026-08-11 08:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786416504000,"timestamp_ms":1786416504000,"timestamp_seconds":1786416504,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb89cc0"} 
[2026-08-11 08:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-11 08:22:30] 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-08-11 08: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-08-11 08:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:22:30] 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-08-11 08:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322624768001,"66":27745,"254":206,"79":46592,"24":16,"16":377204025302450176,"45":-8772800941828476928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322624768001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:22:30] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:22:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377204025302450176,"km_value":377204025302450.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8772800941828476928,"description":"Unknown IO ID 45"} 
[2026-08-11 08:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322624768001,"power":27745,"unknown_254":206,"unknown_79":46592,"ignition":16,"odometer":null,"unknown_45":-8772800941828476928}} 
[2026-08-11 08:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":152424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:22:30] local.INFO: GPS data processed {"connection_id":152424,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:22:30] local.INFO: Acknowledgment sent {"connection_id":152424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:22:43] local.INFO: TCP Data received {"connection_id":152037,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebacf40012d7bcac005e62c880005015621..."} 
[2026-08-11 08:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebacf40012d7bcac005e62c880005015621..."} 
[2026-08-11 08:22:43] local.INFO: Processing buffer {"connection_id":152037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebacf40012d7bcac005e62c880005015621..."} 
[2026-08-11 08:22:43] local.INFO: Packet analysis {"connection_id":152037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeba"} 
[2026-08-11 08:22:43] local.INFO: Extracted packet for processing {"connection_id":152037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeba"} 
[2026-08-11 08:22:43] local.INFO: GPS Element Parsed {"raw_longitude":763087552,"raw_latitude":98970760,"longitude_deg":76.3087552,"latitude_deg":9.897076,"altitude":5,"angle":342,"satellites":33,"speed":9,"hex_longitude":"2d7bcac0","hex_latitude":"05e62c88","is_valid_coordinates":true} 
[2026-08-11 08:22: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-08-11 08:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322660608001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117548057981091840,"note":"Value kept but may cause issues"} 
[2026-08-11 08:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920293881017946112,"note":"Value kept but may cause issues"} 
[2026-08-11 08:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786416648000,"timestamp_ms":1786416648000,"timestamp_seconds":1786416648,"priority":1,"record_length":96,"hex_timestamp":"0000019feebacf40"} 
[2026-08-11 08:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:22:43] 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-08-11 08:22: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 08:22:43] 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-08-11 08:22: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-08-11 08:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:22:43] 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-08-11 08:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322660608001,"66":12841,"38":206,"87":13824,"24":9,"16":117548057981091840,"45":8920293881017946112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-11 08:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322660608001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:22:43] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-11 08:22:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117548057981091840,"km_value":117548057981091.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920293881017946112,"description":"Unknown IO ID 45"} 
[2026-08-11 08:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322660608001,"power":12841,"unknown_38":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8920293881017946112}} 
[2026-08-11 08:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":152037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:22:43] local.INFO: GPS data processed {"connection_id":152037,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:22:43] local.INFO: Acknowledgment sent {"connection_id":152037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:22:53] local.INFO: TCP Data received {"connection_id":153374,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:22:53] local.INFO: Processing buffer {"connection_id":153374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:22:53] local.INFO: IMEI packet received {"connection_id":153374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":153374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:23:01] local.INFO: TCP Data received {"connection_id":152425,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:23:01] local.INFO: Processing buffer {"connection_id":152425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:23:01] local.INFO: IMEI packet received {"connection_id":152425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":152425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:23:05] local.INFO: TCP Data received {"connection_id":152425,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:23:05] local.INFO: Processing buffer {"connection_id":152425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:23:05] local.INFO: IMEI packet received {"connection_id":152425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":152425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:23:05] local.INFO: TCP Data received {"connection_id":153374,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:23:05] local.INFO: Processing buffer {"connection_id":153374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:23:05] local.INFO: IMEI packet received {"connection_id":153374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":153374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:23:06] local.INFO: TCP Data received {"connection_id":152425,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:23:06] local.INFO: Processing buffer {"connection_id":152425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:23:06] local.INFO: IMEI packet received {"connection_id":152425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":152425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:23:07] local.INFO: TCP Data received {"connection_id":153374,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:23:07] local.INFO: Processing buffer {"connection_id":153374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:23:07] local.INFO: IMEI packet received {"connection_id":153374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":153374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:23:07] local.INFO: TCP Data received {"connection_id":152425,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebc55e0012d7b7ec005e719a80003015028..."} 
[2026-08-11 08:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebc55e0012d7b7ec005e719a80003015028..."} 
[2026-08-11 08:23:07] local.INFO: Processing buffer {"connection_id":152425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebc55e0012d7b7ec005e719a80003015028..."} 
[2026-08-11 08:23:07] local.INFO: Packet analysis {"connection_id":152425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:23:07] local.INFO: Extracted packet for processing {"connection_id":152425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:23:07] local.INFO: GPS Element Parsed {"raw_longitude":763068096,"raw_latitude":99031464,"longitude_deg":76.3068096,"latitude_deg":9.9031464,"altitude":3,"angle":336,"satellites":40,"speed":24,"hex_longitude":"2d7b7ec0","hex_latitude":"05e719a8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322686208001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117551231961923584,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900590632663312384,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786416748000,"timestamp_ms":1786416748000,"timestamp_seconds":1786416748,"priority":1,"record_length":96,"hex_timestamp":"0000019feebc55e0"} 
[2026-08-11 08:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:23:07] 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-08-11 08: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 08:23:07] 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-08-11 08: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-08-11 08:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:23:07] 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-08-11 08:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322686208001,"66":13200,"96":206,"87":13824,"24":24,"16":117551231961923584,"45":8900590632663312384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-11 08:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322686208001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:23:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 08:23:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117551231961923584,"km_value":117551231961923.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900590632663312384,"description":"Unknown IO ID 45"} 
[2026-08-11 08:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322686208001,"power":13200,"unknown_96":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8900590632663312384}} 
[2026-08-11 08:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":152425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:23:07] local.INFO: GPS data processed {"connection_id":152425,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:23:07] local.INFO: Acknowledgment sent {"connection_id":152425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:23:08] local.INFO: TCP Data received {"connection_id":153374,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb8ac60012d864140061122400017000e30..."} 
[2026-08-11 08:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb8ac60012d864140061122400017000e30..."} 
[2026-08-11 08:23:08] local.INFO: Processing buffer {"connection_id":153374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb8ac60012d864140061122400017000e30..."} 
[2026-08-11 08:23:08] local.INFO: Packet analysis {"connection_id":153374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:23:08] local.INFO: Extracted packet for processing {"connection_id":153374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763773248,"raw_latitude":101786176,"longitude_deg":76.3773248,"latitude_deg":10.1786176,"altitude":23,"angle":14,"satellites":48,"speed":17,"hex_longitude":"2d864140","hex_latitude":"06112240","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322625024001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377204106906828800,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8772871310572552192,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786416508000,"timestamp_ms":1786416508000,"timestamp_seconds":1786416508,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb8ac60"} 
[2026-08-11 08:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 08:23: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-08-11 08: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-08-11 08:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:23:08] 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-08-11 08:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322625024001,"66":27821,"254":206,"79":46592,"24":17,"16":377204106906828800,"45":-8772871310572552192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322625024001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:23:08] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:23:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377204106906828800,"km_value":377204106906828.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8772871310572552192,"description":"Unknown IO ID 45"} 
[2026-08-11 08:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322625024001,"power":27821,"unknown_254":206,"unknown_79":46592,"ignition":17,"odometer":null,"unknown_45":-8772871310572552192}} 
[2026-08-11 08:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":153374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:23:08] local.INFO: GPS data processed {"connection_id":153374,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:23:08] local.INFO: Acknowledgment sent {"connection_id":153374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:23:10] local.INFO: TCP Data received {"connection_id":153374,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feeb8b430012d864200061125380018001130..."} 
[2026-08-11 08:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeb8b430012d864200061125380018001130..."} 
[2026-08-11 08:23:10] local.INFO: Processing buffer {"connection_id":153374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeb8b430012d864200061125380018001130..."} 
[2026-08-11 08:23:10] local.INFO: Packet analysis {"connection_id":153374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:23:10] local.INFO: Extracted packet for processing {"connection_id":153374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeb8"} 
[2026-08-11 08:23:10] local.INFO: GPS Element Parsed {"raw_longitude":763773440,"raw_latitude":101786936,"longitude_deg":76.377344,"latitude_deg":10.1786936,"altitude":24,"angle":17,"satellites":48,"speed":13,"hex_longitude":"2d864200","hex_latitude":"06112538","is_valid_coordinates":true} 
[2026-08-11 08:23: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-08-11 08:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322626048001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377204145561534464,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8772660204339576832,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786416510000,"timestamp_ms":1786416510000,"timestamp_seconds":1786416510,"priority":1,"record_length":96,"hex_timestamp":"0000019feeb8b430"} 
[2026-08-11 08:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:23: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-08-11 08:23: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-08-11 08:23: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-08-11 08:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:23:10] 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-08-11 08:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322626048001,"66":27745,"254":206,"79":46592,"24":13,"16":377204145561534464,"45":-8772660204339576832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322626048001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:23:10] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:23:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377204145561534464,"km_value":377204145561534.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8772660204339576832,"description":"Unknown IO ID 45"} 
[2026-08-11 08:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322626048001,"power":27745,"unknown_254":206,"unknown_79":46592,"ignition":13,"odometer":null,"unknown_45":-8772660204339576832}} 
[2026-08-11 08:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":153374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:23:10] local.INFO: GPS data processed {"connection_id":153374,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:23:10] local.INFO: Acknowledgment sent {"connection_id":153374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:23:12] local.INFO: TCP Data received {"connection_id":154764,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154764,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:23:12] local.INFO: Processing buffer {"connection_id":154764,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:23:12] local.INFO: IMEI packet received {"connection_id":154764,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":154764,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:23:35] local.INFO: TCP Data received {"connection_id":154764,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154764,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:23:35] local.INFO: Processing buffer {"connection_id":154764,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:23:35] local.INFO: IMEI packet received {"connection_id":154764,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":154764,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:23:38] local.INFO: TCP Data received {"connection_id":154764,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-08-11 08:23:38] local.INFO: TCP Data received {"connection_id":152425,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebca7e8012d7b764005e734000004015826..."} 
[2026-08-11 08:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154764,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-08-11 08:23:38] local.INFO: Processing buffer {"connection_id":154764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-08-11 08:23:38] local.INFO: Packet analysis {"connection_id":154764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 08:23:38] local.INFO: Extracted packet for processing {"connection_id":154764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 08:23: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-08-11 08: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-08-11 08:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27503106547777536,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 08:23:38] 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-08-11 08:23:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 08:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154764,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154764,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-11 08:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154764,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-11 08:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 08:23:38] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 08:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":154764,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 08:23:38] local.ERROR: GPS data processing failed {"connection_id":154764,"error":"No valid data to process"} 
[2026-08-11 08:23:38] local.INFO: Acknowledgment sent {"connection_id":154764,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 08:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebca7e8012d7b764005e734000004015826..."} 
[2026-08-11 08:23:38] local.INFO: Processing buffer {"connection_id":152425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebca7e8012d7b764005e734000004015826..."} 
[2026-08-11 08:23:38] local.INFO: Packet analysis {"connection_id":152425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:23:38] local.INFO: Extracted packet for processing {"connection_id":152425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763065920,"raw_latitude":99038208,"longitude_deg":76.306592,"latitude_deg":9.9038208,"altitude":4,"angle":344,"satellites":38,"speed":0,"hex_longitude":"2d7b7640","hex_latitude":"05e73400","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322687488001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117551579854274560,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898761045315266560,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786416769000,"timestamp_ms":1786416769000,"timestamp_seconds":1786416769,"priority":1,"record_length":96,"hex_timestamp":"0000019feebca7e8"} 
[2026-08-11 08:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:23:38] 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-08-11 08: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-11 08:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 08: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-08-11 08:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:23:38] 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-08-11 08:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322687488001,"66":13189,"96":206,"87":13824,"24":0,"16":117551579854274560,"45":8898761045315266560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-11 08:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322687488001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:23:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 08:23:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117551579854274560,"km_value":117551579854274.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898761045315266560,"description":"Unknown IO ID 45"} 
[2026-08-11 08:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322687488001,"power":13189,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8898761045315266560}} 
[2026-08-11 08:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":152425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:23:38] local.INFO: GPS data processed {"connection_id":152425,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:23:38] local.INFO: Acknowledgment sent {"connection_id":152425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:23:40] local.INFO: TCP Data received {"connection_id":154764,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-11 08:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154764,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-11 08:23:40] local.INFO: Processing buffer {"connection_id":154764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-11 08:23:40] local.INFO: Packet analysis {"connection_id":154764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-11 08:23:40] local.INFO: Extracted packet for processing {"connection_id":154764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-11 08:23:40] 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-08-11 08: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-08-11 08:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27503106547777536,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 08:23:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72000,"timestamp_seconds":72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 08:23:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 08:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154764,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154764,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-11 08:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154764,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-11 08:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 08:23:40] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 08:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":154764,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 08:23:40] local.ERROR: GPS data processing failed {"connection_id":154764,"error":"No valid data to process"} 
[2026-08-11 08:23:40] local.INFO: Acknowledgment sent {"connection_id":154764,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 08:23:53] local.INFO: TCP Data received {"connection_id":154765,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:23:53] local.INFO: Processing buffer {"connection_id":154765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:23:53] local.INFO: IMEI packet received {"connection_id":154765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":154765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:23:57] local.INFO: TCP Data received {"connection_id":154765,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:23:57] local.INFO: Processing buffer {"connection_id":154765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:23:57] local.INFO: IMEI packet received {"connection_id":154765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":154765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:23:58] local.INFO: TCP Data received {"connection_id":154765,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:23:58] local.INFO: Processing buffer {"connection_id":154765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:23:58] local.INFO: IMEI packet received {"connection_id":154765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":154765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:23:59] local.INFO: TCP Data received {"connection_id":154765,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebc7138012d86430006116028001c01192a..."} 
[2026-08-11 08:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebc7138012d86430006116028001c01192a..."} 
[2026-08-11 08:23:59] local.INFO: Processing buffer {"connection_id":154765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebc7138012d86430006116028001c01192a..."} 
[2026-08-11 08:23:59] local.INFO: Packet analysis {"connection_id":154765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:23:59] local.INFO: Extracted packet for processing {"connection_id":154765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:23:59] local.INFO: GPS Element Parsed {"raw_longitude":763773696,"raw_latitude":101802024,"longitude_deg":76.3773696,"latitude_deg":10.1802024,"altitude":28,"angle":281,"satellites":42,"speed":22,"hex_longitude":"2d864300","hex_latitude":"06116028","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322689024001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377204403259572224,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8771534304428718080,"note":"Value kept but may cause issues"} 
[2026-08-11 08:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786416755000,"timestamp_ms":1786416755000,"timestamp_seconds":1786416755,"priority":1,"record_length":96,"hex_timestamp":"0000019feebc7138"} 
[2026-08-11 08:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 08:23:59] 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-08-11 08:23: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-08-11 08:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:23:59] 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-08-11 08:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322689024001,"66":27767,"254":206,"79":46592,"24":22,"16":377204403259572224,"45":-8771534304428718080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322689024001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:23:59] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:23:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377204403259572224,"km_value":377204403259572.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8771534304428718080,"description":"Unknown IO ID 45"} 
[2026-08-11 08:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322689024001,"power":27767,"unknown_254":206,"unknown_79":46592,"ignition":22,"odometer":null,"unknown_45":-8771534304428718080}} 
[2026-08-11 08:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":154765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:23:59] local.INFO: GPS data processed {"connection_id":154765,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:23:59] local.INFO: Acknowledgment sent {"connection_id":154765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:24:01] local.INFO: TCP Data received {"connection_id":152038,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:24:01] local.INFO: Processing buffer {"connection_id":152038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:24:01] local.INFO: IMEI packet received {"connection_id":152038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":152038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:24:02] local.INFO: TCP Data received {"connection_id":152038,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:24:02] local.INFO: Processing buffer {"connection_id":152038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:24:02] local.INFO: IMEI packet received {"connection_id":152038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":152038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:24:04] local.INFO: TCP Data received {"connection_id":154765,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebc7cf0012d863cc0061160b0001b010d2b..."} 
[2026-08-11 08:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebc7cf0012d863cc0061160b0001b010d2b..."} 
[2026-08-11 08:24:04] local.INFO: Processing buffer {"connection_id":154765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebc7cf0012d863cc0061160b0001b010d2b..."} 
[2026-08-11 08:24:04] local.INFO: Packet analysis {"connection_id":154765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:24:04] local.INFO: Extracted packet for processing {"connection_id":154765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:24:04] local.INFO: GPS Element Parsed {"raw_longitude":763772096,"raw_latitude":101802160,"longitude_deg":76.3772096,"latitude_deg":10.180216,"altitude":27,"angle":269,"satellites":43,"speed":18,"hex_longitude":"2d863cc0","hex_latitude":"061160b0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322689280001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377204480568983552,"note":"Value kept but may cause issues"} 
[2026-08-11 08:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8772167623126276096,"note":"Value kept but may cause issues"} 
[2026-08-11 08:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786416758000,"timestamp_ms":1786416758000,"timestamp_seconds":1786416758,"priority":1,"record_length":96,"hex_timestamp":"0000019feebc7cf0"} 
[2026-08-11 08:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 08:24: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-08-11 08: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-08-11 08:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:24:04] 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-08-11 08:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322689280001,"66":27865,"254":206,"79":46592,"24":18,"16":377204480568983552,"45":-8772167623126276096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322689280001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:24:04] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:24:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377204480568983552,"km_value":377204480568983.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8772167623126276096,"description":"Unknown IO ID 45"} 
[2026-08-11 08:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322689280001,"power":27865,"unknown_254":206,"unknown_79":46592,"ignition":18,"odometer":null,"unknown_45":-8772167623126276096}} 
[2026-08-11 08:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":154765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:24:04] local.INFO: GPS data processed {"connection_id":154765,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:24:04] local.INFO: Acknowledgment sent {"connection_id":154765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:24:04] local.INFO: TCP Data received {"connection_id":152038,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:24:04] local.INFO: Processing buffer {"connection_id":152038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:24:04] local.INFO: IMEI packet received {"connection_id":152038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":152038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:24:06] local.INFO: TCP Data received {"connection_id":152038,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:24:06] local.INFO: Processing buffer {"connection_id":152038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:24:06] local.INFO: IMEI packet received {"connection_id":152038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":152038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:24:07] local.INFO: TCP Data received {"connection_id":152038,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebcbf58012d7b764005e735280004000026..."} 
[2026-08-11 08:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebcbf58012d7b764005e735280004000026..."} 
[2026-08-11 08:24:07] local.INFO: Processing buffer {"connection_id":152038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebcbf58012d7b764005e735280004000026..."} 
[2026-08-11 08:24:07] local.INFO: Packet analysis {"connection_id":152038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:24:07] local.INFO: Extracted packet for processing {"connection_id":152038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763065920,"raw_latitude":99038504,"longitude_deg":76.306592,"latitude_deg":9.9038504,"altitude":4,"angle":0,"satellites":38,"speed":3,"hex_longitude":"2d7b7640","hex_latitude":"05e73528","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322692864001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117551597034143744,"note":"Value kept but may cause issues"} 
[2026-08-11 08:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368508014952448,"note":"Value kept but may cause issues"} 
[2026-08-11 08:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786416775000,"timestamp_ms":1786416775000,"timestamp_seconds":1786416775,"priority":1,"record_length":96,"hex_timestamp":"0000019feebcbf58"} 
[2026-08-11 08:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:24:07] 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-08-11 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 08:24:07] 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-08-11 08: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-08-11 08:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:24:07] 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-08-11 08:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322692864001,"66":12765,"96":206,"87":13824,"24":3,"16":117551597034143744,"45":8896368508014952448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-11 08:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322692864001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:24:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 08:24:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117551597034143744,"km_value":117551597034143.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368508014952448,"description":"Unknown IO ID 45"} 
[2026-08-11 08:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322692864001,"power":12765,"unknown_96":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8896368508014952448}} 
[2026-08-11 08:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":152038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:24:08] local.INFO: GPS data processed {"connection_id":152038,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:24:08] local.INFO: Acknowledgment sent {"connection_id":152038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:24:13] local.INFO: TCP Data received {"connection_id":154764,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000000000016b480100000000000000000000000000..."} 
[2026-08-11 08:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000016b480100000000000000000000000000..."} 
[2026-08-11 08:24:13] local.INFO: Processing buffer {"connection_id":154764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000016b480100000000000000000000000000..."} 
[2026-08-11 08:24:13] local.INFO: Packet analysis {"connection_id":154764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-11 08:24:13] local.INFO: Extracted packet for processing {"connection_id":154764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-11 08:24:13] 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-08-11 08:24: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-08-11 08:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27503106547777536,"note":"Value kept but may cause issues"} 
[2026-08-11 08:24:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 08:24:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":93000,"timestamp_seconds":93,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 08:24:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 08:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154764,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154764,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-11 08:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154764,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-11 08:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 08:24:13] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 08:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":154764,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 08:24:13] local.ERROR: GPS data processing failed {"connection_id":154764,"error":"No valid data to process"} 
[2026-08-11 08:24:13] local.INFO: Acknowledgment sent {"connection_id":154764,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 08:24:39] local.INFO: TCP Data received {"connection_id":154765,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebcbf58012d86180006116410001601172c..."} 
[2026-08-11 08:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebcbf58012d86180006116410001601172c..."} 
[2026-08-11 08:24:39] local.INFO: Processing buffer {"connection_id":154765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebcbf58012d86180006116410001601172c..."} 
[2026-08-11 08:24:39] local.INFO: Packet analysis {"connection_id":154765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:24:39] local.INFO: Extracted packet for processing {"connection_id":154765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:24:39] local.INFO: GPS Element Parsed {"raw_longitude":763762688,"raw_latitude":101803024,"longitude_deg":76.3762688,"latitude_deg":10.1803024,"altitude":22,"angle":279,"satellites":44,"speed":29,"hex_longitude":"2d861800","hex_latitude":"06116410","is_valid_coordinates":true} 
[2026-08-11 08:24: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-08-11 08:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322690048001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377204931540549632,"note":"Value kept but may cause issues"} 
[2026-08-11 08:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8773926841730682880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786416775000,"timestamp_ms":1786416775000,"timestamp_seconds":1786416775,"priority":1,"record_length":96,"hex_timestamp":"0000019feebcbf58"} 
[2026-08-11 08:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:24: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-08-11 08:24: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-08-11 08:24: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-08-11 08:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:24:39] 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-08-11 08:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322690048001,"66":27745,"254":206,"79":46592,"24":29,"16":377204931540549632,"45":-8773926841730682880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322690048001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:24:39] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:24:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377204931540549632,"km_value":377204931540549.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8773926841730682880,"description":"Unknown IO ID 45"} 
[2026-08-11 08:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322690048001,"power":27745,"unknown_254":206,"unknown_79":46592,"ignition":29,"odometer":null,"unknown_45":-8773926841730682880}} 
[2026-08-11 08:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":154765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:24:39] local.INFO: GPS data processed {"connection_id":154765,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:24:39] local.INFO: Acknowledgment sent {"connection_id":154765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:24:39] local.INFO: TCP Data received {"connection_id":152038,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebccb10012d7b760005e737d80004015d27..."} 
[2026-08-11 08:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebccb10012d7b760005e737d80004015d27..."} 
[2026-08-11 08:24:39] local.INFO: Processing buffer {"connection_id":152038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebccb10012d7b760005e737d80004015d27..."} 
[2026-08-11 08:24:39] local.INFO: Packet analysis {"connection_id":152038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:24:39] local.INFO: Extracted packet for processing {"connection_id":152038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:24:39] local.INFO: GPS Element Parsed {"raw_longitude":763065856,"raw_latitude":99039192,"longitude_deg":76.3065856,"latitude_deg":9.9039192,"altitude":4,"angle":349,"satellites":39,"speed":12,"hex_longitude":"2d7b7600","hex_latitude":"05e737d8","is_valid_coordinates":true} 
[2026-08-11 08:24: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-08-11 08:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322694400001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117551627098914816,"note":"Value kept but may cause issues"} 
[2026-08-11 08:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368508015028224,"note":"Value kept but may cause issues"} 
[2026-08-11 08:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786416778000,"timestamp_ms":1786416778000,"timestamp_seconds":1786416778,"priority":1,"record_length":96,"hex_timestamp":"0000019feebccb10"} 
[2026-08-11 08:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:24:39] 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-08-11 08:24: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-11 08:24:39] 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-08-11 08:24: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-08-11 08:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:24:39] 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-08-11 08:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322694400001,"66":12765,"96":206,"87":13824,"24":12,"16":117551627098914816,"45":8896368508015028224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-11 08:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322694400001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:24:39] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 08:24:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117551627098914816,"km_value":117551627098914.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368508015028224,"description":"Unknown IO ID 45"} 
[2026-08-11 08:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322694400001,"power":12765,"unknown_96":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8896368508015028224}} 
[2026-08-11 08:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":152038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:24:39] local.INFO: GPS data processed {"connection_id":152038,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:24:39] local.INFO: Acknowledgment sent {"connection_id":152038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:24:47] local.INFO: TCP Data received {"connection_id":154764,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feebda9b80100000000000000000000000000..."} 
[2026-08-11 08:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebda9b80100000000000000000000000000..."} 
[2026-08-11 08:24:47] local.INFO: Processing buffer {"connection_id":154764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebda9b80100000000000000000000000000..."} 
[2026-08-11 08:24:47] local.INFO: Packet analysis {"connection_id":154764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebd"} 
[2026-08-11 08:24:47] local.INFO: Extracted packet for processing {"connection_id":154764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebd"} 
[2026-08-11 08:24: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-08-11 08:24: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-08-11 08:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27503106547777536,"note":"Value kept but may cause issues"} 
[2026-08-11 08:24:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 08:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786416835000,"timestamp_ms":1786416835000,"timestamp_seconds":1786416835,"priority":1,"record_length":96,"hex_timestamp":"0000019feebda9b8"} 
[2026-08-11 08:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:24:47] 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-08-11 08:24: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 08:24:47] 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-08-11 08:24: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-08-11 08:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154764,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154764,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":154764,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 08:24:47] local.INFO: GPS data processed {"connection_id":154764,"processed":0,"errors":0,"total":1} 
[2026-08-11 08:24:47] local.INFO: Acknowledgment sent {"connection_id":154764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:24:54] local.INFO: TCP Data received {"connection_id":152426,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:24:54] local.INFO: Processing buffer {"connection_id":152426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:24:54] local.INFO: IMEI packet received {"connection_id":152426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":152426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:25:00] local.INFO: TCP Data received {"connection_id":152426,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:25:00] local.INFO: Processing buffer {"connection_id":152426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:25:00] local.INFO: IMEI packet received {"connection_id":152426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":152426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:25:08] local.INFO: TCP Data received {"connection_id":152426,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:25:08] local.INFO: Processing buffer {"connection_id":152426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:25:08] local.INFO: IMEI packet received {"connection_id":152426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":152426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:25:23] local.INFO: TCP Data received {"connection_id":152427,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:25:23] local.INFO: Processing buffer {"connection_id":152427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:25:23] local.INFO: IMEI packet received {"connection_id":152427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":152427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:25:25] local.INFO: TCP Data received {"connection_id":152427,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:25:25] local.INFO: Processing buffer {"connection_id":152427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:25:25] local.INFO: IMEI packet received {"connection_id":152427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":152427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:25:26] local.INFO: TCP Data received {"connection_id":152427,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebcde98012d7b74c005e742580004000024..."} 
[2026-08-11 08:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebcde98012d7b74c005e742580004000024..."} 
[2026-08-11 08:25:26] local.INFO: Processing buffer {"connection_id":152427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebcde98012d7b74c005e742580004000024..."} 
[2026-08-11 08:25:26] local.INFO: Packet analysis {"connection_id":152427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:25:26] local.INFO: Extracted packet for processing {"connection_id":152427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763065536,"raw_latitude":99041880,"longitude_deg":76.3065536,"latitude_deg":9.904188,"altitude":4,"angle":0,"satellites":36,"speed":25,"hex_longitude":"2d7b74c0","hex_latitude":"05e74258","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322695168001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117551760242900992,"note":"Value kept but may cause issues"} 
[2026-08-11 08:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896298139271026688,"note":"Value kept but may cause issues"} 
[2026-08-11 08:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786416783000,"timestamp_ms":1786416783000,"timestamp_seconds":1786416783,"priority":1,"record_length":96,"hex_timestamp":"0000019feebcde98"} 
[2026-08-11 08:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:25:26] 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-08-11 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-11 08:25:26] 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-08-11 08: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-08-11 08:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:25:26] 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-08-11 08:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322695168001,"66":13189,"96":206,"87":13824,"24":25,"16":117551760242900992,"45":8896298139271026688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-11 08:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322695168001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:25:26] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 08:25:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117551760242900992,"km_value":117551760242900.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896298139271026688,"description":"Unknown IO ID 45"} 
[2026-08-11 08:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322695168001,"power":13189,"unknown_96":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8896298139271026688}} 
[2026-08-11 08:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":152427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:25:26] local.INFO: GPS data processed {"connection_id":152427,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:25:26] local.INFO: Acknowledgment sent {"connection_id":152427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:25:27] local.INFO: TCP Data received {"connection_id":152427,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebcf608012d7b740005e756080004015b21..."} 
[2026-08-11 08:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebcf608012d7b740005e756080004015b21..."} 
[2026-08-11 08:25:27] local.INFO: Processing buffer {"connection_id":152427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebcf608012d7b740005e756080004015b21..."} 
[2026-08-11 08:25:27] local.INFO: Packet analysis {"connection_id":152427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:25:27] local.INFO: Extracted packet for processing {"connection_id":152427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebc"} 
[2026-08-11 08:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763065344,"raw_latitude":99046920,"longitude_deg":76.3065344,"latitude_deg":9.904692,"altitude":4,"angle":347,"satellites":33,"speed":35,"hex_longitude":"2d7b7400","hex_latitude":"05e75608","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322696448001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117552005056036864,"note":"Value kept but may cause issues"} 
[2026-08-11 08:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895946295550826496,"note":"Value kept but may cause issues"} 
[2026-08-11 08:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786416789000,"timestamp_ms":1786416789000,"timestamp_seconds":1786416789,"priority":1,"record_length":96,"hex_timestamp":"0000019feebcf608"} 
[2026-08-11 08:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:25: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-08-11 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 08:25:27] 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-08-11 08: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-08-11 08:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:25: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-08-11 08:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322696448001,"66":12841,"96":206,"87":13824,"24":35,"16":117552005056036864,"45":8895946295550826496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-11 08:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322696448001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:25:27] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 08:25:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117552005056036864,"km_value":117552005056036.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895946295550826496,"description":"Unknown IO ID 45"} 
[2026-08-11 08:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322696448001,"power":12841,"unknown_96":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8895946295550826496}} 
[2026-08-11 08:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":152427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:25:28] local.INFO: GPS data processed {"connection_id":152427,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:25:28] local.INFO: Acknowledgment sent {"connection_id":152427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:25:28] local.INFO: TCP Data received {"connection_id":152426,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebdd898012d8599c0061195500012014131..."} 
[2026-08-11 08:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebdd898012d8599c0061195500012014131..."} 
[2026-08-11 08:25:28] local.INFO: Processing buffer {"connection_id":152426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebdd898012d8599c0061195500012014131..."} 
[2026-08-11 08:25:28] local.INFO: Packet analysis {"connection_id":152426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebd"} 
[2026-08-11 08:25:28] local.INFO: Extracted packet for processing {"connection_id":152426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebd"} 
[2026-08-11 08:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763730368,"raw_latitude":101815632,"longitude_deg":76.3730368,"latitude_deg":10.1815632,"altitude":18,"angle":321,"satellites":49,"speed":23,"hex_longitude":"2d8599c0","hex_latitude":"06119550","is_valid_coordinates":true} 
[2026-08-11 08:25: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-08-11 08:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322712320001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377206821326159872,"note":"Value kept but may cause issues"} 
[2026-08-11 08:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8819103575489560576,"note":"Value kept but may cause issues"} 
[2026-08-11 08:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786416847000,"timestamp_ms":1786416847000,"timestamp_seconds":1786416847,"priority":1,"record_length":96,"hex_timestamp":"0000019feebdd898"} 
[2026-08-11 08:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:25: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":173,"data_length":795,"current_offset":136} 
[2026-08-11 08:25:28] 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-08-11 08:25: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-08-11 08:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:25:28] 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-08-11 08:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322712320001,"66":27745,"254":206,"79":46592,"24":23,"16":377206821326159872,"45":-8819103575489560576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322712320001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:25:28] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:25:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377206821326159872,"km_value":377206821326159.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8819103575489560576,"description":"Unknown IO ID 45"} 
[2026-08-11 08:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322712320001,"power":27745,"unknown_254":206,"unknown_79":46592,"ignition":23,"odometer":null,"unknown_45":-8819103575489560576}} 
[2026-08-11 08:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":152426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:25:28] local.INFO: GPS data processed {"connection_id":152426,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:25:28] local.INFO: Acknowledgment sent {"connection_id":152426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:25:30] local.INFO: TCP Data received {"connection_id":152426,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebde068012d859680061198b00012013332..."} 
[2026-08-11 08:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebde068012d859680061198b00012013332..."} 
[2026-08-11 08:25:30] local.INFO: Processing buffer {"connection_id":152426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebde068012d859680061198b00012013332..."} 
[2026-08-11 08:25:30] local.INFO: Packet analysis {"connection_id":152426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebd"} 
[2026-08-11 08:25:30] local.INFO: Extracted packet for processing {"connection_id":152426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebd"} 
[2026-08-11 08:25:30] local.INFO: GPS Element Parsed {"raw_longitude":763729536,"raw_latitude":101816496,"longitude_deg":76.3729536,"latitude_deg":10.1816496,"altitude":18,"angle":307,"satellites":50,"speed":23,"hex_longitude":"2d859680","hex_latitude":"061198b0","is_valid_coordinates":true} 
[2026-08-11 08:25: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-08-11 08:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322712832001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377206881455702016,"note":"Value kept but may cause issues"} 
[2026-08-11 08:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8819807262931070976,"note":"Value kept but may cause issues"} 
[2026-08-11 08:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786416849000,"timestamp_ms":1786416849000,"timestamp_seconds":1786416849,"priority":1,"record_length":96,"hex_timestamp":"0000019feebde068"} 
[2026-08-11 08:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:25: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 08:25:30] 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-08-11 08:25: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-08-11 08:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:25:30] 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-08-11 08:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322712832001,"66":27484,"254":206,"79":46592,"24":23,"16":377206881455702016,"45":-8819807262931070976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322712832001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:25:30] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:25:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377206881455702016,"km_value":377206881455702.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8819807262931070976,"description":"Unknown IO ID 45"} 
[2026-08-11 08:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322712832001,"power":27484,"unknown_254":206,"unknown_79":46592,"ignition":23,"odometer":null,"unknown_45":-8819807262931070976}} 
[2026-08-11 08:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":152426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:25:30] local.INFO: GPS data processed {"connection_id":152426,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:25:30] local.INFO: Acknowledgment sent {"connection_id":152426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:25:37] local.INFO: TCP Data received {"connection_id":154764,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feebdfbc00100000000000000000000000000..."} 
[2026-08-11 08:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebdfbc00100000000000000000000000000..."} 
[2026-08-11 08:25:37] local.INFO: Processing buffer {"connection_id":154764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebdfbc00100000000000000000000000000..."} 
[2026-08-11 08:25:37] local.INFO: Packet analysis {"connection_id":154764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebd"} 
[2026-08-11 08:25:37] local.INFO: Extracted packet for processing {"connection_id":154764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebd"} 
[2026-08-11 08:25: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-08-11 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-08-11 08:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27503106547777536,"note":"Value kept but may cause issues"} 
[2026-08-11 08:25:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 08:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786416856000,"timestamp_ms":1786416856000,"timestamp_seconds":1786416856,"priority":1,"record_length":96,"hex_timestamp":"0000019feebdfbc0"} 
[2026-08-11 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-08-11 08:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 08:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 08:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154764,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154764,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":154764,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 08:25:37] local.INFO: GPS data processed {"connection_id":154764,"processed":0,"errors":0,"total":1} 
[2026-08-11 08:25:37] local.INFO: Acknowledgment sent {"connection_id":154764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:25:50] local.INFO: TCP Data received {"connection_id":152039,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:25:50] local.INFO: Processing buffer {"connection_id":152039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:25:50] local.INFO: IMEI packet received {"connection_id":152039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":152039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:25:53] local.INFO: TCP Data received {"connection_id":152039,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:25:53] local.INFO: Processing buffer {"connection_id":152039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:25:53] local.INFO: IMEI packet received {"connection_id":152039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":152039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:25:58] local.INFO: TCP Data received {"connection_id":152039,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:25:58] local.INFO: Processing buffer {"connection_id":152039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:25:58] local.INFO: IMEI packet received {"connection_id":152039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":152039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:25:59] local.INFO: TCP Data received {"connection_id":152039,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebde838012d8592c006119b200012012532..."} 
[2026-08-11 08:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebde838012d8592c006119b200012012532..."} 
[2026-08-11 08:25:59] local.INFO: Processing buffer {"connection_id":152039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebde838012d8592c006119b200012012532..."} 
[2026-08-11 08:25:59] local.INFO: Packet analysis {"connection_id":152039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebd"} 
[2026-08-11 08:25:59] local.INFO: Extracted packet for processing {"connection_id":152039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebd"} 
[2026-08-11 08:25:59] local.INFO: GPS Element Parsed {"raw_longitude":763728576,"raw_latitude":101817120,"longitude_deg":76.3728576,"latitude_deg":10.181712,"altitude":18,"angle":293,"satellites":50,"speed":23,"hex_longitude":"2d8592c0","hex_latitude":"06119b20","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322713344001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377206937290276864,"note":"Value kept but may cause issues"} 
[2026-08-11 08:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8820722056605159424,"note":"Value kept but may cause issues"} 
[2026-08-11 08:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786416851000,"timestamp_ms":1786416851000,"timestamp_seconds":1786416851,"priority":1,"record_length":96,"hex_timestamp":"0000019feebde838"} 
[2026-08-11 08:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 08:25:59] 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-08-11 08: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-08-11 08:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:25:59] 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-08-11 08:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322713344001,"66":27745,"254":206,"79":46592,"24":23,"16":377206937290276864,"45":-8820722056605159424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322713344001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:25:59] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:25:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377206937290276864,"km_value":377206937290276.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8820722056605159424,"description":"Unknown IO ID 45"} 
[2026-08-11 08:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322713344001,"power":27745,"unknown_254":206,"unknown_79":46592,"ignition":23,"odometer":null,"unknown_45":-8820722056605159424}} 
[2026-08-11 08:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":152039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:25:59] local.INFO: GPS data processed {"connection_id":152039,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:25:59] local.INFO: Acknowledgment sent {"connection_id":152039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:26:07] local.INFO: TCP Data received {"connection_id":152428,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:26:07] local.INFO: Processing buffer {"connection_id":152428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:26:07] local.INFO: IMEI packet received {"connection_id":152428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":152428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:26:10] local.INFO: TCP Data received {"connection_id":154764,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feebf76a8012d0b2a800702b2c00008008004..."} 
[2026-08-11 08:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebf76a8012d0b2a800702b2c00008008004..."} 
[2026-08-11 08:26:10] local.INFO: Processing buffer {"connection_id":154764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebf76a8012d0b2a800702b2c00008008004..."} 
[2026-08-11 08:26:10] local.INFO: Packet analysis {"connection_id":154764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebf"} 
[2026-08-11 08:26:10] local.INFO: Extracted packet for processing {"connection_id":154764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebf"} 
[2026-08-11 08:26:10] local.INFO: GPS Element Parsed {"raw_longitude":755706496,"raw_latitude":117617344,"longitude_deg":75.5706496,"latitude_deg":11.7617344,"altitude":8,"angle":128,"satellites":4,"speed":14,"hex_longitude":"2d0b2a80","hex_latitude":"0702b2c0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322739456001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27503694958297088,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803822194851610624,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786416953000,"timestamp_ms":1786416953000,"timestamp_seconds":1786416953,"priority":1,"record_length":96,"hex_timestamp":"0000019feebf76a8"} 
[2026-08-11 08:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:26: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-08-11 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 08:26:10] 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-08-11 08: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-08-11 08:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154764,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154764,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322739456001,"66":14559,"17":206,"94":11008,"24":14,"16":27503694958297088,"45":803822194851610624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 08:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322739456001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:26:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27503694958297088,"km_value":27503694958297.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":803822194851610624,"description":"Unknown IO ID 45"} 
[2026-08-11 08:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322739456001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":803822194851610624}} 
[2026-08-11 08:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":154764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623922,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:26:10] local.INFO: GPS data processed {"connection_id":154764,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:26:10] local.INFO: Acknowledgment sent {"connection_id":154764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:26:11] local.INFO: TCP Data received {"connection_id":152428,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:26:11] local.INFO: Processing buffer {"connection_id":152428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:26:11] local.INFO: IMEI packet received {"connection_id":152428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":152428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:26:12] local.INFO: TCP Data received {"connection_id":152428,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebf3440012d7b588005e833980004000225..."} 
[2026-08-11 08:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebf3440012d7b588005e833980004000225..."} 
[2026-08-11 08:26:12] local.INFO: Processing buffer {"connection_id":152428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebf3440012d7b588005e833980004000225..."} 
[2026-08-11 08:26:12] local.INFO: Packet analysis {"connection_id":152428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebf"} 
[2026-08-11 08:26:12] local.INFO: Extracted packet for processing {"connection_id":152428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebf"} 
[2026-08-11 08:26:12] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":99103640,"longitude_deg":76.3058304,"latitude_deg":9.910364,"altitude":4,"angle":2,"satellites":37,"speed":30,"hex_longitude":"2d7b5880","hex_latitude":"05e83398","is_valid_coordinates":true} 
[2026-08-11 08:26: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-08-11 08:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322733312001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117554805374713856,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733705607168,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786416936000,"timestamp_ms":1786416936000,"timestamp_seconds":1786416936,"priority":1,"record_length":96,"hex_timestamp":"0000019feebf3440"} 
[2026-08-11 08:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:26:12] 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-08-11 08:26: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 08:26:12] 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-08-11 08:26: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-08-11 08:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:26:12] 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-08-11 08:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322733312001,"66":13048,"23":206,"87":13824,"24":30,"16":117554805374713856,"45":8888205733705607168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-08-11 08:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322733312001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:26:12] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-11 08:26:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117554805374713856,"km_value":117554805374713.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733705607168,"description":"Unknown IO ID 45"} 
[2026-08-11 08:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322733312001,"power":13048,"unknown_23":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8888205733705607168}} 
[2026-08-11 08:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":152428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:26:12] local.INFO: GPS data processed {"connection_id":152428,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:26:12] local.INFO: Acknowledgment sent {"connection_id":152428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:26:30] local.INFO: TCP Data received {"connection_id":152039,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebdf3f0012d858bc006119d300012011631..."} 
[2026-08-11 08:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebdf3f0012d858bc006119d300012011631..."} 
[2026-08-11 08:26:30] local.INFO: Processing buffer {"connection_id":152039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebdf3f0012d858bc006119d300012011631..."} 
[2026-08-11 08:26:30] local.INFO: Packet analysis {"connection_id":152039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebd"} 
[2026-08-11 08:26:30] local.INFO: Extracted packet for processing {"connection_id":152039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebd"} 
[2026-08-11 08:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763726784,"raw_latitude":101817648,"longitude_deg":76.3726784,"latitude_deg":10.1817648,"altitude":18,"angle":278,"satellites":49,"speed":23,"hex_longitude":"2d858bc0","hex_latitude":"06119d30","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322713856001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207023189622784,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8821777587767664640,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786416854000,"timestamp_ms":1786416854000,"timestamp_seconds":1786416854,"priority":1,"record_length":96,"hex_timestamp":"0000019feebdf3f0"} 
[2026-08-11 08:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 08:26:30] 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-08-11 08: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-08-11 08:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:26:30] 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-08-11 08:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322713856001,"66":27767,"254":206,"79":46592,"24":23,"16":377207023189622784,"45":-8821777587767664640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322713856001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:26:30] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:26:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207023189622784,"km_value":377207023189622.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8821777587767664640,"description":"Unknown IO ID 45"} 
[2026-08-11 08:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322713856001,"power":27767,"unknown_254":206,"unknown_79":46592,"ignition":23,"odometer":null,"unknown_45":-8821777587767664640}} 
[2026-08-11 08:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":152039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:26:30] local.INFO: GPS data processed {"connection_id":152039,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:26:30] local.INFO: Acknowledgment sent {"connection_id":152039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:26:42] local.INFO: TCP Data received {"connection_id":154764,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feebf7e78012d0b2d400702b1880008007004..."} 
[2026-08-11 08:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebf7e78012d0b2d400702b1880008007004..."} 
[2026-08-11 08:26:42] local.INFO: Processing buffer {"connection_id":154764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebf7e78012d0b2d400702b1880008007004..."} 
[2026-08-11 08:26:42] local.INFO: Packet analysis {"connection_id":154764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebf"} 
[2026-08-11 08:26:42] local.INFO: Extracted packet for processing {"connection_id":154764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebf"} 
[2026-08-11 08:26:42] local.INFO: GPS Element Parsed {"raw_longitude":755707200,"raw_latitude":117617032,"longitude_deg":75.57072,"latitude_deg":11.7617032,"altitude":8,"angle":112,"satellites":4,"speed":13,"hex_longitude":"2d0b2d40","hex_latitude":"0702b188","is_valid_coordinates":true} 
[2026-08-11 08:26: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-08-11 08:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322739968001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27503729318035456,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804596251037450240,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786416955000,"timestamp_ms":1786416955000,"timestamp_seconds":1786416955,"priority":1,"record_length":96,"hex_timestamp":"0000019feebf7e78"} 
[2026-08-11 08:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:26:42] 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-08-11 08:26: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-11 08:26:42] 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-08-11 08:26: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-08-11 08:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":154764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":154764,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":154764,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322739968001,"66":14428,"17":206,"94":11008,"24":13,"16":27503729318035456,"45":804596251037450240},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 08:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322739968001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:26:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27503729318035456,"km_value":27503729318035.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":804596251037450240,"description":"Unknown IO ID 45"} 
[2026-08-11 08:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322739968001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":804596251037450240}} 
[2026-08-11 08:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":154764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623925,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:26:42] local.INFO: GPS data processed {"connection_id":154764,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:26:42] local.INFO: Acknowledgment sent {"connection_id":154764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:26:44] local.INFO: TCP Data received {"connection_id":152428,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feebf43e0012d7b5a4005e83fd00005000e23..."} 
[2026-08-11 08:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebf43e0012d7b5a4005e83fd00005000e23..."} 
[2026-08-11 08:26:44] local.INFO: Processing buffer {"connection_id":152428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebf43e0012d7b5a4005e83fd00005000e23..."} 
[2026-08-11 08:26:44] local.INFO: Packet analysis {"connection_id":152428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebf"} 
[2026-08-11 08:26:44] local.INFO: Extracted packet for processing {"connection_id":152428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebf"} 
[2026-08-11 08:26:44] local.INFO: GPS Element Parsed {"raw_longitude":763058752,"raw_latitude":99106768,"longitude_deg":76.3058752,"latitude_deg":9.9106768,"altitude":5,"angle":14,"satellites":35,"speed":31,"hex_longitude":"2d7b5a40","hex_latitude":"05e83fd0","is_valid_coordinates":true} 
[2026-08-11 08:26: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-08-11 08:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322735616001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117554959993536512,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627474561024,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786416940000,"timestamp_ms":1786416940000,"timestamp_seconds":1786416940,"priority":1,"record_length":96,"hex_timestamp":"0000019feebf43e0"} 
[2026-08-11 08:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:26:44] 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-08-11 08:26: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 08:26:44] 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-08-11 08:26: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-08-11 08:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:26:44] 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-08-11 08:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322735616001,"66":12776,"23":206,"87":13824,"24":31,"16":117554959993536512,"45":8887994627474561024},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-08-11 08:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322735616001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:26:44] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-11 08:26:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117554959993536512,"km_value":117554959993536.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627474561024,"description":"Unknown IO ID 45"} 
[2026-08-11 08:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322735616001,"power":12776,"unknown_23":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8887994627474561024}} 
[2026-08-11 08:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":152428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:26:44] local.INFO: GPS data processed {"connection_id":152428,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:26:44] local.INFO: Acknowledgment sent {"connection_id":152428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:26:53] local.INFO: TCP Data received {"connection_id":152040,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:26:53] local.INFO: Processing buffer {"connection_id":152040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:26:53] local.INFO: IMEI packet received {"connection_id":152040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":152040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:26:58] local.INFO: TCP Data received {"connection_id":152040,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:26:58] local.INFO: Processing buffer {"connection_id":152040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:26:58] local.INFO: IMEI packet received {"connection_id":152040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":152040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:26:59] local.INFO: TCP Data received {"connection_id":152040,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feebdfbc0012d85874006119d680012010b30..."} 
[2026-08-11 08:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebdfbc0012d85874006119d680012010b30..."} 
[2026-08-11 08:26:59] local.INFO: Processing buffer {"connection_id":152040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebdfbc0012d85874006119d680012010b30..."} 
[2026-08-11 08:26:59] local.INFO: Packet analysis {"connection_id":152040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebd"} 
[2026-08-11 08:26:59] local.INFO: Extracted packet for processing {"connection_id":152040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebd"} 
[2026-08-11 08:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763725632,"raw_latitude":101817704,"longitude_deg":76.3725632,"latitude_deg":10.1817704,"altitude":18,"angle":267,"satellites":48,"speed":21,"hex_longitude":"2d858740","hex_latitude":"06119d68","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322714624001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207079024197632,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8823747912604504064,"note":"Value kept but may cause issues"} 
[2026-08-11 08:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786416856000,"timestamp_ms":1786416856000,"timestamp_seconds":1786416856,"priority":1,"record_length":96,"hex_timestamp":"0000019feebdfbc0"} 
[2026-08-11 08:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 08:26:59] 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-08-11 08: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-08-11 08:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:26:59] 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-08-11 08:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322714624001,"66":27865,"254":206,"79":46592,"24":21,"16":377207079024197632,"45":-8823747912604504064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322714624001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:26:59] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:26:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207079024197632,"km_value":377207079024197.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8823747912604504064,"description":"Unknown IO ID 45"} 
[2026-08-11 08:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322714624001,"power":27865,"unknown_254":206,"unknown_79":46592,"ignition":21,"odometer":null,"unknown_45":-8823747912604504064}} 
[2026-08-11 08:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":152040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:26:59] local.INFO: GPS data processed {"connection_id":152040,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:26:59] local.INFO: Acknowledgment sent {"connection_id":152040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:27:00] local.INFO: TCP Data received {"connection_id":152429,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:27:00] local.INFO: Processing buffer {"connection_id":152429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:27:00] local.INFO: IMEI packet received {"connection_id":152429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":152429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:27:01] local.INFO: TCP Data received {"connection_id":152429,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:27:01] local.INFO: Processing buffer {"connection_id":152429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:27:01] local.INFO: IMEI packet received {"connection_id":152429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":152429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:27:02] local.INFO: TCP Data received {"connection_id":152429,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:27:02] local.INFO: Processing buffer {"connection_id":152429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:27:02] local.INFO: IMEI packet received {"connection_id":152429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":152429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:27:02] local.INFO: TCP Data received {"connection_id":152429,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:27:02] local.INFO: Processing buffer {"connection_id":152429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:27:02] local.INFO: IMEI packet received {"connection_id":152429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":152429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:27:13] local.INFO: TCP Data received {"connection_id":154764,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feebf8e18012d0b34800702b0500007006204..."} 
[2026-08-11 08:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebf8e18012d0b34800702b0500007006204..."} 
[2026-08-11 08:27:13] local.INFO: Processing buffer {"connection_id":154764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebf8e18012d0b34800702b0500007006204..."} 
[2026-08-11 08:27:13] local.INFO: Packet analysis {"connection_id":154764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebf"} 
[2026-08-11 08:27:13] local.INFO: Extracted packet for processing {"connection_id":154764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebf"} 
[2026-08-11 08:27:13] local.INFO: GPS Element Parsed {"raw_longitude":755709056,"raw_latitude":117616720,"longitude_deg":75.5709056,"latitude_deg":11.761672,"altitude":7,"angle":98,"satellites":4,"speed":19,"hex_longitude":"2d0b3480","hex_latitude":"0702b050","is_valid_coordinates":true} 
[2026-08-11 08:27: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-08-11 08:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322740480001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27503823807315968,"note":"Value kept but may cause issues"} 
[2026-08-11 08:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805370307223324672,"note":"Value kept but may cause issues"} 
[2026-08-11 08:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786416959000,"timestamp_ms":1786416959000,"timestamp_seconds":1786416959,"priority":1,"record_length":96,"hex_timestamp":"0000019feebf8e18"} 
[2026-08-11 08:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:27:13] 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-08-11 08:27: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 08:27:13] 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-08-11 08:27: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-08-11 08:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154764,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154764,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322740480001,"66":14450,"37":206,"94":11008,"24":19,"16":27503823807315968,"45":805370307223324672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 08:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322740480001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:27:13] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 08:27:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27503823807315968,"km_value":27503823807315.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":805370307223324672,"description":"Unknown IO ID 45"} 
[2026-08-11 08:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322740480001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":805370307223324672}} 
[2026-08-11 08:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":154764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623928,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:27:13] local.INFO: GPS data processed {"connection_id":154764,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:27:13] local.INFO: Acknowledgment sent {"connection_id":154764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:27:29] local.INFO: TCP Data received {"connection_id":153375,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:27:29] local.INFO: Processing buffer {"connection_id":153375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:27:29] local.INFO: IMEI packet received {"connection_id":153375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":153375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:27:30] local.INFO: TCP Data received {"connection_id":152040,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feebe4dc8012d8568c006119e600017010c33..."} 
[2026-08-11 08:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebe4dc8012d8568c006119e600017010c33..."} 
[2026-08-11 08:27:30] local.INFO: Processing buffer {"connection_id":152040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebe4dc8012d8568c006119e600017010c33..."} 
[2026-08-11 08:27:30] local.INFO: Packet analysis {"connection_id":152040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebe"} 
[2026-08-11 08:27:30] local.INFO: Extracted packet for processing {"connection_id":152040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebe"} 
[2026-08-11 08:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763717824,"raw_latitude":101817952,"longitude_deg":76.3717824,"latitude_deg":10.1817952,"altitude":23,"angle":268,"satellites":51,"speed":17,"hex_longitude":"2d8568c0","hex_latitude":"06119e60","is_valid_coordinates":true} 
[2026-08-11 08:27: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-08-11 08:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322715136001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207456981319680,"note":"Value kept but may cause issues"} 
[2026-08-11 08:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8825014549999687680,"note":"Value kept but may cause issues"} 
[2026-08-11 08:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786416877000,"timestamp_ms":1786416877000,"timestamp_seconds":1786416877,"priority":1,"record_length":96,"hex_timestamp":"0000019feebe4dc8"} 
[2026-08-11 08:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:27: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 08:27:30] 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-08-11 08:27: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-08-11 08:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:27:30] 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-08-11 08:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322715136001,"66":27908,"254":206,"79":46592,"24":17,"16":377207456981319680,"45":-8825014549999687680},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322715136001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:27:30] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:27:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207456981319680,"km_value":377207456981319.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8825014549999687680,"description":"Unknown IO ID 45"} 
[2026-08-11 08:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322715136001,"power":27908,"unknown_254":206,"unknown_79":46592,"ignition":17,"odometer":null,"unknown_45":-8825014549999687680}} 
[2026-08-11 08:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":152040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:27:30] local.INFO: GPS data processed {"connection_id":152040,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:27:30] local.INFO: Acknowledgment sent {"connection_id":152040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:27:35] local.INFO: TCP Data received {"connection_id":153375,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:27:35] local.INFO: Processing buffer {"connection_id":153375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:27:35] local.INFO: IMEI packet received {"connection_id":153375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":153375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:27:36] local.INFO: TCP Data received {"connection_id":153375,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feebfb528012d0b42000702ae080004007204..."} 
[2026-08-11 08:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebfb528012d0b42000702ae080004007204..."} 
[2026-08-11 08:27:36] local.INFO: Processing buffer {"connection_id":153375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebfb528012d0b42000702ae080004007204..."} 
[2026-08-11 08:27:36] local.INFO: Packet analysis {"connection_id":153375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebf"} 
[2026-08-11 08:27:36] local.INFO: Extracted packet for processing {"connection_id":153375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebf"} 
[2026-08-11 08:27:36] local.INFO: GPS Element Parsed {"raw_longitude":755712512,"raw_latitude":117616136,"longitude_deg":75.5712512,"latitude_deg":11.7616136,"altitude":4,"angle":114,"satellites":4,"speed":16,"hex_longitude":"2d0b4200","hex_latitude":"0702ae08","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322741504001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27503987016073216,"note":"Value kept but may cause issues"} 
[2026-08-11 08:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807411000804397056,"note":"Value kept but may cause issues"} 
[2026-08-11 08:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786416969000,"timestamp_ms":1786416969000,"timestamp_seconds":1786416969,"priority":1,"record_length":96,"hex_timestamp":"0000019feebfb528"} 
[2026-08-11 08:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:27:36] 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-08-11 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 08:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 08: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-08-11 08:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322741504001,"66":14559,"37":206,"94":11008,"24":16,"16":27503987016073216,"45":807411000804397056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 08:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322741504001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:27:36] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 08:27:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27503987016073216,"km_value":27503987016073.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":807411000804397056,"description":"Unknown IO ID 45"} 
[2026-08-11 08:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322741504001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":807411000804397056}} 
[2026-08-11 08:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":153375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623930,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:27:36] local.INFO: GPS data processed {"connection_id":153375,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:27:36] local.INFO: Acknowledgment sent {"connection_id":153375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:27:53] local.INFO: TCP Data received {"connection_id":152430,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:27:53] local.INFO: Processing buffer {"connection_id":152430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:27:53] local.INFO: IMEI packet received {"connection_id":152430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":152430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:27:58] local.INFO: TCP Data received {"connection_id":152430,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:27:58] local.INFO: Processing buffer {"connection_id":152430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:27:58] local.INFO: IMEI packet received {"connection_id":152430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":152430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:27:59] local.INFO: TCP Data received {"connection_id":152430,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feebe74d8012d8557c006119d180016011733..."} 
[2026-08-11 08:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebe74d8012d8557c006119d180016011733..."} 
[2026-08-11 08:27:59] local.INFO: Processing buffer {"connection_id":152430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebe74d8012d8557c006119d180016011733..."} 
[2026-08-11 08:27:59] local.INFO: Packet analysis {"connection_id":152430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebe"} 
[2026-08-11 08:27:59] local.INFO: Extracted packet for processing {"connection_id":152430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebe"} 
[2026-08-11 08:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763713472,"raw_latitude":101817624,"longitude_deg":76.3713472,"latitude_deg":10.1817624,"altitude":22,"angle":279,"satellites":51,"speed":13,"hex_longitude":"2d8557c0","hex_latitude":"06119d18","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322720512001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207663139749888,"note":"Value kept but may cause issues"} 
[2026-08-11 08:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8833599536789299200,"note":"Value kept but may cause issues"} 
[2026-08-11 08:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786416887000,"timestamp_ms":1786416887000,"timestamp_seconds":1786416887,"priority":1,"record_length":96,"hex_timestamp":"0000019feebe74d8"} 
[2026-08-11 08:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 08:27: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-08-11 08:27: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-08-11 08:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:27:59] 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-08-11 08:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322720512001,"66":27865,"254":206,"79":46592,"24":13,"16":377207663139749888,"45":-8833599536789299200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322720512001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:27:59] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:27:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207663139749888,"km_value":377207663139749.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8833599536789299200,"description":"Unknown IO ID 45"} 
[2026-08-11 08:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322720512001,"power":27865,"unknown_254":206,"unknown_79":46592,"ignition":13,"odometer":null,"unknown_45":-8833599536789299200}} 
[2026-08-11 08:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":152430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:27:59] local.INFO: GPS data processed {"connection_id":152430,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:27:59] local.INFO: Acknowledgment sent {"connection_id":152430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:28:07] local.INFO: TCP Data received {"connection_id":153375,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feec14398012d0bb5000702a1380000008909..."} 
[2026-08-11 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec14398012d0bb5000702a1380000008909..."} 
[2026-08-11 08:28:07] local.INFO: Processing buffer {"connection_id":153375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec14398012d0bb5000702a1380000008909..."} 
[2026-08-11 08:28:07] local.INFO: Packet analysis {"connection_id":153375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec1"} 
[2026-08-11 08:28:07] local.INFO: Extracted packet for processing {"connection_id":153375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec1"} 
[2026-08-11 08:28:07] local.INFO: GPS Element Parsed {"raw_longitude":755741952,"raw_latitude":117612856,"longitude_deg":75.5741952,"latitude_deg":11.7612856,"altitude":0,"angle":137,"satellites":9,"speed":14,"hex_longitude":"2d0bb500","hex_latitude":"0702a138","is_valid_coordinates":true} 
[2026-08-11 08:28: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-08-11 08:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322768128001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27505683528155136,"note":"Value kept but may cause issues"} 
[2026-08-11 08:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841680579218475008,"note":"Value kept but may cause issues"} 
[2026-08-11 08:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786417071000,"timestamp_ms":1786417071000,"timestamp_seconds":1786417071,"priority":1,"record_length":96,"hex_timestamp":"0000019feec14398"} 
[2026-08-11 08:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:28:07] 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-08-11 08:28: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 08:28:07] 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-08-11 08:28: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-08-11 08:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322768128001,"66":14494,"36":206,"94":11008,"24":14,"16":27505683528155136,"45":841680579218475008},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-11 08:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322768128001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:28:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 08:28:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27505683528155136,"km_value":27505683528155.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":841680579218475008,"description":"Unknown IO ID 45"} 
[2026-08-11 08:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322768128001,"power":14494,"unknown_36":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":841680579218475008}} 
[2026-08-11 08:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":153375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623932,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:28:07] local.INFO: GPS data processed {"connection_id":153375,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:28:07] local.INFO: Acknowledgment sent {"connection_id":153375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:28:30] local.INFO: TCP Data received {"connection_id":152430,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feebec6e0012d8554c006119d780015011331..."} 
[2026-08-11 08:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebec6e0012d8554c006119d780015011331..."} 
[2026-08-11 08:28:30] local.INFO: Processing buffer {"connection_id":152430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebec6e0012d8554c006119d780015011331..."} 
[2026-08-11 08:28:30] local.INFO: Packet analysis {"connection_id":152430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebe"} 
[2026-08-11 08:28:30] local.INFO: Extracted packet for processing {"connection_id":152430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebe"} 
[2026-08-11 08:28:30] local.INFO: GPS Element Parsed {"raw_longitude":763712704,"raw_latitude":101817720,"longitude_deg":76.3712704,"latitude_deg":10.181772,"altitude":21,"angle":275,"satellites":49,"speed":2,"hex_longitude":"2d8554c0","hex_latitude":"06119d78","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322723072001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207766218964992,"note":"Value kept but may cause issues"} 
[2026-08-11 08:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838384611393464320,"note":"Value kept but may cause issues"} 
[2026-08-11 08:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786416908000,"timestamp_ms":1786416908000,"timestamp_seconds":1786416908,"priority":1,"record_length":96,"hex_timestamp":"0000019feebec6e0"} 
[2026-08-11 08:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 08:28:30] 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-08-11 08: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-08-11 08:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:28:30] 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-08-11 08:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322723072001,"66":27767,"254":206,"79":46592,"24":2,"16":377207766218964992,"45":-8838384611393464320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322723072001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:28:30] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:28:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207766218964992,"km_value":377207766218965.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838384611393464320,"description":"Unknown IO ID 45"} 
[2026-08-11 08:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322723072001,"power":27767,"unknown_254":206,"unknown_79":46592,"ignition":2,"odometer":null,"unknown_45":-8838384611393464320}} 
[2026-08-11 08:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":152430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:28:30] local.INFO: GPS data processed {"connection_id":152430,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:28:30] local.INFO: Acknowledgment sent {"connection_id":152430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:28:38] local.INFO: TCP Data received {"connection_id":153375,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feec14b68012d0bb84007029fe00000007c09..."} 
[2026-08-11 08:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec14b68012d0bb84007029fe00000007c09..."} 
[2026-08-11 08:28:38] local.INFO: Processing buffer {"connection_id":153375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec14b68012d0bb84007029fe00000007c09..."} 
[2026-08-11 08:28:38] local.INFO: Packet analysis {"connection_id":153375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec1"} 
[2026-08-11 08:28:38] local.INFO: Extracted packet for processing {"connection_id":153375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec1"} 
[2026-08-11 08:28:38] local.INFO: GPS Element Parsed {"raw_longitude":755742784,"raw_latitude":117612512,"longitude_deg":75.5742784,"latitude_deg":11.7612512,"altitude":0,"angle":124,"satellites":9,"speed":13,"hex_longitude":"2d0bb840","hex_latitude":"07029fe0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322770176001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27505726477828096,"note":"Value kept but may cause issues"} 
[2026-08-11 08:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843580535310727168,"note":"Value kept but may cause issues"} 
[2026-08-11 08:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786417073000,"timestamp_ms":1786417073000,"timestamp_seconds":1786417073,"priority":1,"record_length":96,"hex_timestamp":"0000019feec14b68"} 
[2026-08-11 08:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:28:38] 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-08-11 08: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-11 08:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 08: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-08-11 08:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322770176001,"66":14461,"36":206,"94":11008,"24":13,"16":27505726477828096,"45":843580535310727168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-11 08:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322770176001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:28:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 08:28:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27505726477828096,"km_value":27505726477828.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":843580535310727168,"description":"Unknown IO ID 45"} 
[2026-08-11 08:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322770176001,"power":14461,"unknown_36":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":843580535310727168}} 
[2026-08-11 08:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":153375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623934,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:28:38] local.INFO: GPS data processed {"connection_id":153375,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:28:38] local.INFO: Acknowledgment sent {"connection_id":153375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:28:53] local.INFO: TCP Data received {"connection_id":152042,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:28:53] local.INFO: Processing buffer {"connection_id":152042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:28:53] local.INFO: IMEI packet received {"connection_id":152042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":152042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:28:58] local.INFO: TCP Data received {"connection_id":152042,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:28:58] local.INFO: Processing buffer {"connection_id":152042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:28:58] local.INFO: IMEI packet received {"connection_id":152042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":152042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:28:59] local.INFO: TCP Data received {"connection_id":152042,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feebed680012d85558006119d680014011330..."} 
[2026-08-11 08:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebed680012d85558006119d680014011330..."} 
[2026-08-11 08:28:59] local.INFO: Processing buffer {"connection_id":152042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebed680012d85558006119d680014011330..."} 
[2026-08-11 08:28:59] local.INFO: Packet analysis {"connection_id":152042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebe"} 
[2026-08-11 08:28:59] local.INFO: Extracted packet for processing {"connection_id":152042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebe"} 
[2026-08-11 08:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763712896,"raw_latitude":101817704,"longitude_deg":76.3712896,"latitude_deg":10.1817704,"altitude":20,"angle":275,"satellites":48,"speed":2,"hex_longitude":"2d855580","hex_latitude":"06119d68","is_valid_coordinates":true} 
[2026-08-11 08:28: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-08-11 08:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322728448001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8839229036323571712,"note":"Value kept but may cause issues"} 
[2026-08-11 08:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786416912000,"timestamp_ms":1786416912000,"timestamp_seconds":1786416912,"priority":1,"record_length":96,"hex_timestamp":"0000019feebed680"} 
[2026-08-11 08:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 08:28:59] 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-08-11 08: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-08-11 08:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:28:59] 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-08-11 08:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322728448001,"66":27800,"254":206,"79":46592,"24":2,"16":377207779103866880,"45":-8839229036323571712},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322728448001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:28:59] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:28:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8839229036323571712,"description":"Unknown IO ID 45"} 
[2026-08-11 08:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322728448001,"power":27800,"unknown_254":206,"unknown_79":46592,"ignition":2,"odometer":null,"unknown_45":-8839229036323571712}} 
[2026-08-11 08:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":152042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:28:59] local.INFO: GPS data processed {"connection_id":152042,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:28:59] local.INFO: Acknowledgment sent {"connection_id":152042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:29:08] local.INFO: TCP Data received {"connection_id":153375,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feec17660012d0bbf8007029f680000004b09..."} 
[2026-08-11 08:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec17660012d0bbf8007029f680000004b09..."} 
[2026-08-11 08:29:08] local.INFO: Processing buffer {"connection_id":153375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec17660012d0bbf8007029f680000004b09..."} 
[2026-08-11 08:29:08] local.INFO: Packet analysis {"connection_id":153375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec1"} 
[2026-08-11 08:29:08] local.INFO: Extracted packet for processing {"connection_id":153375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec1"} 
[2026-08-11 08:29:08] local.INFO: GPS Element Parsed {"raw_longitude":755744640,"raw_latitude":117612392,"longitude_deg":75.574464,"latitude_deg":11.7612392,"altitude":0,"angle":75,"satellites":9,"speed":5,"hex_longitude":"2d0bbf80","hex_latitude":"07029f68","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322770688001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27505816672141312,"note":"Value kept but may cause issues"} 
[2026-08-11 08:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844495328984948736,"note":"Value kept but may cause issues"} 
[2026-08-11 08:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786417084000,"timestamp_ms":1786417084000,"timestamp_seconds":1786417084,"priority":1,"record_length":96,"hex_timestamp":"0000019feec17660"} 
[2026-08-11 08:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:29:08] 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-08-11 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 08:29:08] 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-08-11 08: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-08-11 08:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322770688001,"66":14439,"36":206,"94":11008,"24":5,"16":27505816672141312,"45":844495328984948736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-11 08:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322770688001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:29:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 08:29:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27505816672141312,"km_value":27505816672141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":844495328984948736,"description":"Unknown IO ID 45"} 
[2026-08-11 08:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322770688001,"power":14439,"unknown_36":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":844495328984948736}} 
[2026-08-11 08:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":153375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623936,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:29:09] local.INFO: GPS data processed {"connection_id":153375,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:29:09] local.INFO: Acknowledgment sent {"connection_id":153375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:29:30] local.INFO: TCP Data received {"connection_id":152042,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feebed680012d85558006119d680014011330..."} 
[2026-08-11 08:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebed680012d85558006119d680014011330..."} 
[2026-08-11 08:29:30] local.INFO: Processing buffer {"connection_id":152042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebed680012d85558006119d680014011330..."} 
[2026-08-11 08:29:30] local.INFO: Packet analysis {"connection_id":152042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebe"} 
[2026-08-11 08:29:30] local.INFO: Extracted packet for processing {"connection_id":152042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebe"} 
[2026-08-11 08:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763712896,"raw_latitude":101817704,"longitude_deg":76.3712896,"latitude_deg":10.1817704,"altitude":20,"angle":275,"satellites":48,"speed":2,"hex_longitude":"2d855580","hex_latitude":"06119d68","is_valid_coordinates":true} 
[2026-08-11 08:29:30] 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-08-11 08:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322728448001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8839229036323571712,"note":"Value kept but may cause issues"} 
[2026-08-11 08:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786416912000,"timestamp_ms":1786416912000,"timestamp_seconds":1786416912,"priority":1,"record_length":96,"hex_timestamp":"0000019feebed680"} 
[2026-08-11 08:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 08:29:30] 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-08-11 08: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-08-11 08:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:29:30] 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-08-11 08:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322728448001,"66":27800,"254":206,"79":46592,"24":2,"16":377207779103866880,"45":-8839229036323571712},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322728448001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:29:30] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:29:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8839229036323571712,"description":"Unknown IO ID 45"} 
[2026-08-11 08:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322728448001,"power":27800,"unknown_254":206,"unknown_79":46592,"ignition":2,"odometer":null,"unknown_45":-8839229036323571712}} 
[2026-08-11 08:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":152042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:29:30] local.INFO: GPS data processed {"connection_id":152042,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:29:30] local.INFO: Acknowledgment sent {"connection_id":152042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:29:34] local.INFO: TCP Data received {"connection_id":153376,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153376,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:29:34] local.INFO: Processing buffer {"connection_id":153376,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:29:34] local.INFO: IMEI packet received {"connection_id":153376,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":153376,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:29:38] local.INFO: TCP Data received {"connection_id":153376,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153376,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:29:38] local.INFO: Processing buffer {"connection_id":153376,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:29:38] local.INFO: IMEI packet received {"connection_id":153376,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":153376,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:29:39] local.INFO: TCP Data received {"connection_id":153376,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feec1b0f8012d0bca400702a3180000005909..."} 
[2026-08-11 08:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec1b0f8012d0bca400702a3180000005909..."} 
[2026-08-11 08:29:39] local.INFO: Processing buffer {"connection_id":153376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec1b0f8012d0bca400702a3180000005909..."} 
[2026-08-11 08:29:39] local.INFO: Packet analysis {"connection_id":153376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec1"} 
[2026-08-11 08:29:39] local.INFO: Extracted packet for processing {"connection_id":153376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec1"} 
[2026-08-11 08:29:39] local.INFO: GPS Element Parsed {"raw_longitude":755747392,"raw_latitude":117613336,"longitude_deg":75.5747392,"latitude_deg":11.7613336,"altitude":0,"angle":89,"satellites":9,"speed":6,"hex_longitude":"2d0bca40","hex_latitude":"0702a318","is_valid_coordinates":true} 
[2026-08-11 08:29: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-08-11 08:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322773504001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27505958406062080,"note":"Value kept but may cause issues"} 
[2026-08-11 08:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":846536022566070272,"note":"Value kept but may cause issues"} 
[2026-08-11 08:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786417099000,"timestamp_ms":1786417099000,"timestamp_seconds":1786417099,"priority":1,"record_length":96,"hex_timestamp":"0000019feec1b0f8"} 
[2026-08-11 08:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:29:39] 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-08-11 08:29: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 08:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 08:29: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-08-11 08:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322773504001,"66":14537,"36":206,"94":11008,"24":6,"16":27505958406062080,"45":846536022566070272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-11 08:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322773504001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:29:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 08:29:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27505958406062080,"km_value":27505958406062.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":846536022566070272,"description":"Unknown IO ID 45"} 
[2026-08-11 08:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322773504001,"power":14537,"unknown_36":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":846536022566070272}} 
[2026-08-11 08:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":153376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623938,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:29:39] local.INFO: GPS data processed {"connection_id":153376,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:29:39] local.INFO: Acknowledgment sent {"connection_id":153376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:29:53] local.INFO: TCP Data received {"connection_id":152431,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:29:53] local.INFO: Processing buffer {"connection_id":152431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:29:53] local.INFO: IMEI packet received {"connection_id":152431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":152431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:29:58] local.INFO: TCP Data received {"connection_id":152431,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:29:58] local.INFO: Processing buffer {"connection_id":152431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:29:58] local.INFO: IMEI packet received {"connection_id":152431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":152431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:29:59] local.INFO: TCP Data received {"connection_id":152431,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feebed680012d85558006119d680014011330..."} 
[2026-08-11 08:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebed680012d85558006119d680014011330..."} 
[2026-08-11 08:29:59] local.INFO: Processing buffer {"connection_id":152431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebed680012d85558006119d680014011330..."} 
[2026-08-11 08:29:59] local.INFO: Packet analysis {"connection_id":152431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebe"} 
[2026-08-11 08:29:59] local.INFO: Extracted packet for processing {"connection_id":152431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebe"} 
[2026-08-11 08:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763712896,"raw_latitude":101817704,"longitude_deg":76.3712896,"latitude_deg":10.1817704,"altitude":20,"angle":275,"satellites":48,"speed":2,"hex_longitude":"2d855580","hex_latitude":"06119d68","is_valid_coordinates":true} 
[2026-08-11 08:29: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-08-11 08:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322728448001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8839229036323571712,"note":"Value kept but may cause issues"} 
[2026-08-11 08:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786416912000,"timestamp_ms":1786416912000,"timestamp_seconds":1786416912,"priority":1,"record_length":96,"hex_timestamp":"0000019feebed680"} 
[2026-08-11 08:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 08:29:59] 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-08-11 08: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-08-11 08:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:29:59] 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-08-11 08:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322728448001,"66":27800,"254":206,"79":46592,"24":2,"16":377207779103866880,"45":-8839229036323571712},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322728448001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:29:59] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:29:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8839229036323571712,"description":"Unknown IO ID 45"} 
[2026-08-11 08:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322728448001,"power":27800,"unknown_254":206,"unknown_79":46592,"ignition":2,"odometer":null,"unknown_45":-8839229036323571712}} 
[2026-08-11 08:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":152431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:29:59] local.INFO: GPS data processed {"connection_id":152431,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:29:59] local.INFO: Acknowledgment sent {"connection_id":152431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:30:09] local.INFO: TCP Data received {"connection_id":153376,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feec1c098012d0bcdc00702a3c80000004b09..."} 
[2026-08-11 08:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec1c098012d0bcdc00702a3c80000004b09..."} 
[2026-08-11 08:30:09] local.INFO: Processing buffer {"connection_id":153376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec1c098012d0bcdc00702a3c80000004b09..."} 
[2026-08-11 08:30:09] local.INFO: Packet analysis {"connection_id":153376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec1"} 
[2026-08-11 08:30:09] local.INFO: Extracted packet for processing {"connection_id":153376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec1"} 
[2026-08-11 08:30:09] local.INFO: GPS Element Parsed {"raw_longitude":755748288,"raw_latitude":117613512,"longitude_deg":75.5748288,"latitude_deg":11.7613512,"altitude":0,"angle":75,"satellites":9,"speed":12,"hex_longitude":"2d0bcdc0","hex_latitude":"0702a3c8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322777344001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27506005650702336,"note":"Value kept but may cause issues"} 
[2026-08-11 08:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849561878565951488,"note":"Value kept but may cause issues"} 
[2026-08-11 08:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786417103000,"timestamp_ms":1786417103000,"timestamp_seconds":1786417103,"priority":1,"record_length":96,"hex_timestamp":"0000019feec1c098"} 
[2026-08-11 08:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:30: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-08-11 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-11 08:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 08: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-08-11 08:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322777344001,"66":14537,"36":206,"94":11008,"24":12,"16":27506005650702336,"45":849561878565951488},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-11 08:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322777344001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:30:09] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 08:30:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27506005650702336,"km_value":27506005650702.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":849561878565951488,"description":"Unknown IO ID 45"} 
[2026-08-11 08:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322777344001,"power":14537,"unknown_36":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":849561878565951488}} 
[2026-08-11 08:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":153376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623940,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:30:10] local.INFO: GPS data processed {"connection_id":153376,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:30:10] local.INFO: Acknowledgment sent {"connection_id":153376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:30:29] local.INFO: TCP Data received {"connection_id":154767,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154767,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:30:29] local.INFO: Processing buffer {"connection_id":154767,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:30:29] local.INFO: IMEI packet received {"connection_id":154767,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":154767,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:30:30] local.INFO: TCP Data received {"connection_id":152431,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feebed680012d85558006119d680014011330..."} 
[2026-08-11 08:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feebed680012d85558006119d680014011330..."} 
[2026-08-11 08:30:30] local.INFO: Processing buffer {"connection_id":152431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feebed680012d85558006119d680014011330..."} 
[2026-08-11 08:30:30] local.INFO: Packet analysis {"connection_id":152431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feebe"} 
[2026-08-11 08:30:30] local.INFO: Extracted packet for processing {"connection_id":152431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feebe"} 
[2026-08-11 08:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763712896,"raw_latitude":101817704,"longitude_deg":76.3712896,"latitude_deg":10.1817704,"altitude":20,"angle":275,"satellites":48,"speed":2,"hex_longitude":"2d855580","hex_latitude":"06119d68","is_valid_coordinates":true} 
[2026-08-11 08:30:30] 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-08-11 08:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322728448001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8839229036323571712,"note":"Value kept but may cause issues"} 
[2026-08-11 08:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786416912000,"timestamp_ms":1786416912000,"timestamp_seconds":1786416912,"priority":1,"record_length":96,"hex_timestamp":"0000019feebed680"} 
[2026-08-11 08:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 08:30:30] 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-08-11 08: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-08-11 08:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:30: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-08-11 08:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322728448001,"66":27800,"254":206,"79":46592,"24":2,"16":377207779103866880,"45":-8839229036323571712},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 08:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322728448001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:30:30] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 08:30:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8839229036323571712,"description":"Unknown IO ID 45"} 
[2026-08-11 08:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322728448001,"power":27800,"unknown_254":206,"unknown_79":46592,"ignition":2,"odometer":null,"unknown_45":-8839229036323571712}} 
[2026-08-11 08:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":152431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:30:30] local.INFO: GPS data processed {"connection_id":152431,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:30:30] local.INFO: Acknowledgment sent {"connection_id":152431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:30:34] local.INFO: TCP Data received {"connection_id":154767,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154767,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:30:34] local.INFO: Processing buffer {"connection_id":154767,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:30:34] local.INFO: IMEI packet received {"connection_id":154767,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":154767,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:30:35] local.INFO: TCP Data received {"connection_id":154767,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feec34350012d0c22000702ae58001000700c..."} 
[2026-08-11 08:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec34350012d0c22000702ae58001000700c..."} 
[2026-08-11 08:30:35] local.INFO: Processing buffer {"connection_id":154767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec34350012d0c22000702ae58001000700c..."} 
[2026-08-11 08:30:35] local.INFO: Packet analysis {"connection_id":154767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:30:35] local.INFO: Extracted packet for processing {"connection_id":154767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:30:35] local.INFO: GPS Element Parsed {"raw_longitude":755769856,"raw_latitude":117616216,"longitude_deg":75.5769856,"latitude_deg":11.7616216,"altitude":16,"angle":112,"satellites":12,"speed":9,"hex_longitude":"2d0c2200","hex_latitude":"0702ae58","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322801920001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27507118047232000,"note":"Value kept but may cause issues"} 
[2026-08-11 08:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872079876703633408,"note":"Value kept but may cause issues"} 
[2026-08-11 08:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786417202000,"timestamp_ms":1786417202000,"timestamp_seconds":1786417202,"priority":1,"record_length":96,"hex_timestamp":"0000019feec34350"} 
[2026-08-11 08:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:30: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-08-11 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 08:30:35] 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-08-11 08: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-08-11 08:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154767,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154767,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322801920001,"66":14428,"37":206,"94":11008,"24":9,"16":27507118047232000,"45":872079876703633408},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 08:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322801920001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:30:35] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 08:30:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27507118047232000,"km_value":27507118047232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":872079876703633408,"description":"Unknown IO ID 45"} 
[2026-08-11 08:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322801920001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":872079876703633408}} 
[2026-08-11 08:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":154767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623942,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:30:35] local.INFO: GPS data processed {"connection_id":154767,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:30:35] local.INFO: Acknowledgment sent {"connection_id":154767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:30:53] local.INFO: TCP Data received {"connection_id":153377,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:30:53] local.INFO: Processing buffer {"connection_id":153377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:30:53] local.INFO: IMEI packet received {"connection_id":153377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":153377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:30:54] local.INFO: TCP Data received {"connection_id":153377,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:30:54] local.INFO: Processing buffer {"connection_id":153377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:30:54] local.INFO: IMEI packet received {"connection_id":153377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":153377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:30:58] local.INFO: TCP Data received {"connection_id":153377,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:30:58] local.INFO: Processing buffer {"connection_id":153377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:30:58] local.INFO: IMEI packet received {"connection_id":153377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":153377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:30:59] local.INFO: TCP Data received {"connection_id":153377,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:30:59] local.INFO: Processing buffer {"connection_id":153377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:30:59] local.INFO: Packet analysis {"connection_id":153377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:30:59] local.INFO: Extracted packet for processing {"connection_id":153377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322729472001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8839017930091042816,"note":"Value kept but may cause issues"} 
[2026-08-11 08:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786417216000,"timestamp_ms":1786417216000,"timestamp_seconds":1786417216,"priority":1,"record_length":96,"hex_timestamp":"0000019feec37a00"} 
[2026-08-11 08:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 08:30:59] 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-08-11 08: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-08-11 08:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:30:59] 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-08-11 08:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322729472001,"66":26528,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8839017930091042816},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322729472001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:30:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:30:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8839017930091042816,"description":"Unknown IO ID 45"} 
[2026-08-11 08:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322729472001,"power":26528,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8839017930091042816}} 
[2026-08-11 08:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":153377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:30:59] local.INFO: GPS data processed {"connection_id":153377,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:30:59] local.INFO: Acknowledgment sent {"connection_id":153377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:31:06] local.INFO: TCP Data received {"connection_id":154767,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feec356d8012d0c25800702ad080011006a0d..."} 
[2026-08-11 08:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec356d8012d0c25800702ad080011006a0d..."} 
[2026-08-11 08:31:06] local.INFO: Processing buffer {"connection_id":154767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec356d8012d0c25800702ad080011006a0d..."} 
[2026-08-11 08:31:06] local.INFO: Packet analysis {"connection_id":154767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:31:06] local.INFO: Extracted packet for processing {"connection_id":154767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:31:06] local.INFO: GPS Element Parsed {"raw_longitude":755770752,"raw_latitude":117615880,"longitude_deg":75.5770752,"latitude_deg":11.761588,"altitude":17,"angle":106,"satellites":13,"speed":3,"hex_longitude":"2d0c2580","hex_latitude":"0702ad08","is_valid_coordinates":true} 
[2026-08-11 08:31: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-08-11 08:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322803712001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27507160996904960,"note":"Value kept but may cause issues"} 
[2026-08-11 08:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874261307773048832,"note":"Value kept but may cause issues"} 
[2026-08-11 08:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786417207000,"timestamp_ms":1786417207000,"timestamp_seconds":1786417207,"priority":1,"record_length":96,"hex_timestamp":"0000019feec356d8"} 
[2026-08-11 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-08-11 08:31:06] 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-08-11 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 08:31:06] 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-08-11 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-08-11 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-08-11 08:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154767,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154767,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322803712001,"66":14439,"37":206,"94":11008,"24":3,"16":27507160996904960,"45":874261307773048832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 08:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322803712001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:31:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 08:31:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27507160996904960,"km_value":27507160996904.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":874261307773048832,"description":"Unknown IO ID 45"} 
[2026-08-11 08:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322803712001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":874261307773048832}} 
[2026-08-11 08:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":154767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623944,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:31:06] local.INFO: GPS data processed {"connection_id":154767,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:31:06] local.INFO: Acknowledgment sent {"connection_id":154767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:31:27] local.INFO: TCP Data received {"connection_id":152044,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152044,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:31:27] local.INFO: Processing buffer {"connection_id":152044,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:31:27] local.INFO: IMEI packet received {"connection_id":152044,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":152044,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:31:28] local.INFO: TCP Data received {"connection_id":152044,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152044,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:31:28] local.INFO: Processing buffer {"connection_id":152044,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:31:28] local.INFO: IMEI packet received {"connection_id":152044,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":152044,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:31:29] local.INFO: TCP Data received {"connection_id":152044,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152044,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:31:29] local.INFO: Processing buffer {"connection_id":152044,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:31:29] local.INFO: IMEI packet received {"connection_id":152044,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":152044,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:31:29] local.INFO: TCP Data received {"connection_id":152044,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152044,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:31:29] local.INFO: Processing buffer {"connection_id":152044,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:31:29] local.INFO: IMEI packet received {"connection_id":152044,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":152044,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:31:30] local.INFO: TCP Data received {"connection_id":153377,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:31:30] local.INFO: Processing buffer {"connection_id":153377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:31:30] local.INFO: Packet analysis {"connection_id":153377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:31:30] local.INFO: Extracted packet for processing {"connection_id":153377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:31: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-08-11 08:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322729472001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8839017930091042816,"note":"Value kept but may cause issues"} 
[2026-08-11 08:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786417216000,"timestamp_ms":1786417216000,"timestamp_seconds":1786417216,"priority":1,"record_length":96,"hex_timestamp":"0000019feec37a00"} 
[2026-08-11 08:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:31: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 08:31:30] 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-08-11 08:31: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-08-11 08:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:31:30] 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-08-11 08:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322729472001,"66":26528,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8839017930091042816},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322729472001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:31:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:31:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8839017930091042816,"description":"Unknown IO ID 45"} 
[2026-08-11 08:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322729472001,"power":26528,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8839017930091042816}} 
[2026-08-11 08:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":153377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:31:30] local.INFO: GPS data processed {"connection_id":153377,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:31:30] local.INFO: Acknowledgment sent {"connection_id":153377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:31:53] local.INFO: TCP Data received {"connection_id":152432,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:31:53] local.INFO: Processing buffer {"connection_id":152432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:31:53] local.INFO: IMEI packet received {"connection_id":152432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":152432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:31:58] local.INFO: TCP Data received {"connection_id":152432,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:31:58] local.INFO: Processing buffer {"connection_id":152432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:31:58] local.INFO: IMEI packet received {"connection_id":152432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":152432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:31:59] local.INFO: TCP Data received {"connection_id":152432,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:31:59] local.INFO: Processing buffer {"connection_id":152432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:31:59] local.INFO: Packet analysis {"connection_id":152432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:31:59] local.INFO: Extracted packet for processing {"connection_id":152432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:31:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322729472001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8839017930091042816,"note":"Value kept but may cause issues"} 
[2026-08-11 08:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786417216000,"timestamp_ms":1786417216000,"timestamp_seconds":1786417216,"priority":1,"record_length":96,"hex_timestamp":"0000019feec37a00"} 
[2026-08-11 08:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 08:31:59] 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-08-11 08: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-08-11 08:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:31:59] 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-08-11 08:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322729472001,"66":26528,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8839017930091042816},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322729472001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:31:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:31:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8839017930091042816,"description":"Unknown IO ID 45"} 
[2026-08-11 08:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322729472001,"power":26528,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8839017930091042816}} 
[2026-08-11 08:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":152432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:31:59] local.INFO: GPS data processed {"connection_id":152432,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:31:59] local.INFO: Acknowledgment sent {"connection_id":152432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:32:30] local.INFO: TCP Data received {"connection_id":152432,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:32:30] local.INFO: Processing buffer {"connection_id":152432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:32:30] local.INFO: Packet analysis {"connection_id":152432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:32:30] local.INFO: Extracted packet for processing {"connection_id":152432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:32:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322729472001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8839017930091042816,"note":"Value kept but may cause issues"} 
[2026-08-11 08:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786417216000,"timestamp_ms":1786417216000,"timestamp_seconds":1786417216,"priority":1,"record_length":96,"hex_timestamp":"0000019feec37a00"} 
[2026-08-11 08:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 08:32:30] 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-08-11 08: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-08-11 08:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:32:30] 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-08-11 08:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322729472001,"66":26528,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8839017930091042816},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322729472001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:32:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:32:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8839017930091042816,"description":"Unknown IO ID 45"} 
[2026-08-11 08:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322729472001,"power":26528,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8839017930091042816}} 
[2026-08-11 08:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":152432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:32:30] local.INFO: GPS data processed {"connection_id":152432,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:32:30] local.INFO: Acknowledgment sent {"connection_id":152432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:32:55] local.INFO: TCP Data received {"connection_id":152433,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:32:55] local.INFO: Processing buffer {"connection_id":152433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:32:55] local.INFO: IMEI packet received {"connection_id":152433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":152433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:32:58] local.INFO: TCP Data received {"connection_id":152433,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:32:58] local.INFO: Processing buffer {"connection_id":152433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:32:58] local.INFO: IMEI packet received {"connection_id":152433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":152433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:32:59] local.INFO: TCP Data received {"connection_id":152433,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:32:59] local.INFO: Processing buffer {"connection_id":152433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:32:59] local.INFO: Packet analysis {"connection_id":152433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:32:59] local.INFO: Extracted packet for processing {"connection_id":152433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:32:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322729472001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8839017930091042816,"note":"Value kept but may cause issues"} 
[2026-08-11 08:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786417216000,"timestamp_ms":1786417216000,"timestamp_seconds":1786417216,"priority":1,"record_length":96,"hex_timestamp":"0000019feec37a00"} 
[2026-08-11 08:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 08:32:59] 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-08-11 08: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-08-11 08:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:32:59] 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-08-11 08:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322729472001,"66":26528,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8839017930091042816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322729472001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:32:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:32:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8839017930091042816,"description":"Unknown IO ID 45"} 
[2026-08-11 08:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322729472001,"power":26528,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8839017930091042816}} 
[2026-08-11 08:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":152433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:32:59] local.INFO: GPS data processed {"connection_id":152433,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:32:59] local.INFO: Acknowledgment sent {"connection_id":152433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:33:03] local.INFO: TCP Data received {"connection_id":152433,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:33:03] local.INFO: Processing buffer {"connection_id":152433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:33:03] local.INFO: Packet analysis {"connection_id":152433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:33:03] local.INFO: Extracted packet for processing {"connection_id":152433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:33:03] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322729472001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8839017930091042816,"note":"Value kept but may cause issues"} 
[2026-08-11 08:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786417216000,"timestamp_ms":1786417216000,"timestamp_seconds":1786417216,"priority":1,"record_length":96,"hex_timestamp":"0000019feec37a00"} 
[2026-08-11 08:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 08:33: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-08-11 08: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-08-11 08:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:33:03] 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-08-11 08:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322729472001,"66":26528,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8839017930091042816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322729472001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:33:03] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:33:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8839017930091042816,"description":"Unknown IO ID 45"} 
[2026-08-11 08:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322729472001,"power":26528,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8839017930091042816}} 
[2026-08-11 08:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":152433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:33:03] local.INFO: GPS data processed {"connection_id":152433,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:33:03] local.INFO: Acknowledgment sent {"connection_id":152433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:33:35] local.INFO: TCP Data received {"connection_id":152433,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:33:35] local.INFO: Processing buffer {"connection_id":152433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:33:35] local.INFO: Packet analysis {"connection_id":152433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:33:35] local.INFO: Extracted packet for processing {"connection_id":152433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:33:35] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:33: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-08-11 08:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322729472001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8839017930091042816,"note":"Value kept but may cause issues"} 
[2026-08-11 08:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786417216000,"timestamp_ms":1786417216000,"timestamp_seconds":1786417216,"priority":1,"record_length":96,"hex_timestamp":"0000019feec37a00"} 
[2026-08-11 08:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:33: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-08-11 08:33: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-08-11 08:33: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-08-11 08:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:33: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-08-11 08:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322729472001,"66":26528,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8839017930091042816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322729472001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:33:35] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:33:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8839017930091042816,"description":"Unknown IO ID 45"} 
[2026-08-11 08:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322729472001,"power":26528,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8839017930091042816}} 
[2026-08-11 08:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":152433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:33:35] local.INFO: GPS data processed {"connection_id":152433,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:33:35] local.INFO: Acknowledgment sent {"connection_id":152433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:33:53] local.INFO: TCP Data received {"connection_id":154769,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:33:53] local.INFO: Processing buffer {"connection_id":154769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:33:53] local.INFO: IMEI packet received {"connection_id":154769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":154769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:33:58] local.INFO: TCP Data received {"connection_id":154769,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:33:58] local.INFO: Processing buffer {"connection_id":154769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:33:58] local.INFO: IMEI packet received {"connection_id":154769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":154769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:33:59] local.INFO: TCP Data received {"connection_id":154769,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:33:59] local.INFO: Processing buffer {"connection_id":154769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:33:59] local.INFO: Packet analysis {"connection_id":154769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:33:59] local.INFO: Extracted packet for processing {"connection_id":154769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322729472001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8839017930091042816,"note":"Value kept but may cause issues"} 
[2026-08-11 08:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786417216000,"timestamp_ms":1786417216000,"timestamp_seconds":1786417216,"priority":1,"record_length":96,"hex_timestamp":"0000019feec37a00"} 
[2026-08-11 08:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 08:33:59] 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-08-11 08: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-08-11 08:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:33:59] 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-08-11 08:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322729472001,"66":26528,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8839017930091042816},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322729472001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:33:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:33:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8839017930091042816,"description":"Unknown IO ID 45"} 
[2026-08-11 08:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322729472001,"power":26528,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8839017930091042816}} 
[2026-08-11 08:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":154769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:33:59] local.INFO: GPS data processed {"connection_id":154769,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:33:59] local.INFO: Acknowledgment sent {"connection_id":154769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:34:30] local.INFO: TCP Data received {"connection_id":154769,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:34:30] local.INFO: Processing buffer {"connection_id":154769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:34:30] local.INFO: Packet analysis {"connection_id":154769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:34:30] local.INFO: Extracted packet for processing {"connection_id":154769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322729472001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8839017930091042816,"note":"Value kept but may cause issues"} 
[2026-08-11 08:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786417216000,"timestamp_ms":1786417216000,"timestamp_seconds":1786417216,"priority":1,"record_length":96,"hex_timestamp":"0000019feec37a00"} 
[2026-08-11 08:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 08:34:30] 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-08-11 08: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-08-11 08:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:34:30] 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-08-11 08:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322729472001,"66":26528,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8839017930091042816},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322729472001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:34:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:34:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8839017930091042816,"description":"Unknown IO ID 45"} 
[2026-08-11 08:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322729472001,"power":26528,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8839017930091042816}} 
[2026-08-11 08:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":154769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:34:30] local.INFO: GPS data processed {"connection_id":154769,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:34:30] local.INFO: Acknowledgment sent {"connection_id":154769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:34:53] local.INFO: TCP Data received {"connection_id":152435,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:34:53] local.INFO: Processing buffer {"connection_id":152435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:34:53] local.INFO: IMEI packet received {"connection_id":152435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":152435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:34:56] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:34:56] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:34:56] local.INFO: IMEI packet received {"connection_id":152047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":152047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:34:58] local.INFO: TCP Data received {"connection_id":152435,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:34:58] local.INFO: Processing buffer {"connection_id":152435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:34:58] local.INFO: IMEI packet received {"connection_id":152435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":152435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:34:59] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:34:59] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:34:59] local.INFO: IMEI packet received {"connection_id":152047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":152047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:35:00] local.INFO: TCP Data received {"connection_id":152435,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:35:00] local.INFO: Processing buffer {"connection_id":152435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:35:00] local.INFO: Packet analysis {"connection_id":152435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:35:00] local.INFO: Extracted packet for processing {"connection_id":152435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322729472001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8839017930091042816,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786417216000,"timestamp_ms":1786417216000,"timestamp_seconds":1786417216,"priority":1,"record_length":96,"hex_timestamp":"0000019feec37a00"} 
[2026-08-11 08:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 08:35:00] 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-08-11 08: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-08-11 08:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:35:00] 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-08-11 08:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322729472001,"66":26528,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8839017930091042816},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322729472001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:35:00] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:35:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8839017930091042816,"description":"Unknown IO ID 45"} 
[2026-08-11 08:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322729472001,"power":26528,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8839017930091042816}} 
[2026-08-11 08:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":152435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:35:00] local.INFO: GPS data processed {"connection_id":152435,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:35:00] local.INFO: Acknowledgment sent {"connection_id":152435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:35:02] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:35:02] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:35:02] local.INFO: IMEI packet received {"connection_id":152047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":152047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:35:03] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feec7bbd8012d7d1c4005ea83900007000427..."} 
[2026-08-11 08:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec7bbd8012d7d1c4005ea83900007000427..."} 
[2026-08-11 08:35:03] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec7bbd8012d7d1c4005ea83900007000427..."} 
[2026-08-11 08:35:03] local.INFO: Packet analysis {"connection_id":152047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec7"} 
[2026-08-11 08:35:03] local.INFO: Extracted packet for processing {"connection_id":152047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec7"} 
[2026-08-11 08:35:03] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99255184,"longitude_deg":76.3173952,"latitude_deg":9.9255184,"altitude":7,"angle":4,"satellites":39,"speed":1,"hex_longitude":"2d7d1c40","hex_latitude":"05ea8390","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322877184001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117565809080926208,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150948242345984,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786417495000,"timestamp_ms":1786417495000,"timestamp_seconds":1786417495,"priority":1,"record_length":96,"hex_timestamp":"0000019feec7bbd8"} 
[2026-08-11 08:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-11 08:35: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-08-11 08: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-08-11 08:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322877184001,"66":12765,"154":206,"87":13824,"24":1,"16":117565809080926208,"45":9015150948242345984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-11 08:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322877184001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:35:03] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 08:35:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117565809080926208,"km_value":117565809080926.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150948242345984,"description":"Unknown IO ID 45"} 
[2026-08-11 08:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322877184001,"power":12765,"unknown_154":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9015150948242345984}} 
[2026-08-11 08:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":152047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:35:03] local.INFO: GPS data processed {"connection_id":152047,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:35:03] local.INFO: Acknowledgment sent {"connection_id":152047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:35:05] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feec7d348012d7d1cc005ea85380007015e28..."} 
[2026-08-11 08:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec7d348012d7d1cc005ea85380007015e28..."} 
[2026-08-11 08:35:05] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec7d348012d7d1cc005ea85380007015e28..."} 
[2026-08-11 08:35:05] local.INFO: Packet analysis {"connection_id":152047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec7"} 
[2026-08-11 08:35:05] local.INFO: Extracted packet for processing {"connection_id":152047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec7"} 
[2026-08-11 08:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99255608,"longitude_deg":76.317408,"latitude_deg":9.9255608,"altitude":7,"angle":350,"satellites":40,"speed":3,"hex_longitude":"2d7d1cc0","hex_latitude":"05ea8538","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322878720001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117565830555762688,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150948242395136,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786417501000,"timestamp_ms":1786417501000,"timestamp_seconds":1786417501,"priority":1,"record_length":96,"hex_timestamp":"0000019feec7d348"} 
[2026-08-11 08:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-11 08:35:05] 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-08-11 08: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-08-11 08:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322878720001,"66":12841,"154":206,"87":13824,"24":3,"16":117565830555762688,"45":9015150948242395136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-11 08:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322878720001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:35:05] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 08:35:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117565830555762688,"km_value":117565830555762.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150948242395136,"description":"Unknown IO ID 45"} 
[2026-08-11 08:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322878720001,"power":12841,"unknown_154":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9015150948242395136}} 
[2026-08-11 08:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":152047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:35:05] local.INFO: GPS data processed {"connection_id":152047,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:35:05] local.INFO: Acknowledgment sent {"connection_id":152047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:35:31] local.INFO: TCP Data received {"connection_id":152435,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:35:31] local.INFO: Processing buffer {"connection_id":152435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec37a00012d85584006119ea8001401132d..."} 
[2026-08-11 08:35:31] local.INFO: Packet analysis {"connection_id":152435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:35:31] local.INFO: Extracted packet for processing {"connection_id":152435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec3"} 
[2026-08-11 08:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:35: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-08-11 08:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322729472001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8839017930091042816,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786417216000,"timestamp_ms":1786417216000,"timestamp_seconds":1786417216,"priority":1,"record_length":96,"hex_timestamp":"0000019feec37a00"} 
[2026-08-11 08:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:35: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":152,"data_length":795,"current_offset":136} 
[2026-08-11 08:35:31] 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-08-11 08:35: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-08-11 08:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:35:31] 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-08-11 08:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322729472001,"66":26528,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8839017930091042816},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322729472001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:35:31] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:35:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8839017930091042816,"description":"Unknown IO ID 45"} 
[2026-08-11 08:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322729472001,"power":26528,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8839017930091042816}} 
[2026-08-11 08:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":152435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:35:31] local.INFO: GPS data processed {"connection_id":152435,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:35:31] local.INFO: Acknowledgment sent {"connection_id":152435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:35:40] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feec7e6d0012d7d1cc005ea86b8000700012a..."} 
[2026-08-11 08:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec7e6d0012d7d1cc005ea86b8000700012a..."} 
[2026-08-11 08:35:40] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec7e6d0012d7d1cc005ea86b8000700012a..."} 
[2026-08-11 08:35:40] local.INFO: Packet analysis {"connection_id":152047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec7"} 
[2026-08-11 08:35:40] local.INFO: Extracted packet for processing {"connection_id":152047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec7"} 
[2026-08-11 08:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99255992,"longitude_deg":76.317408,"latitude_deg":9.9255992,"altitude":7,"angle":1,"satellites":42,"speed":2,"hex_longitude":"2d7d1cc0","hex_latitude":"05ea86b8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322880256001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117565847735631872,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685730859008,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786417506000,"timestamp_ms":1786417506000,"timestamp_seconds":1786417506,"priority":1,"record_length":96,"hex_timestamp":"0000019feec7e6d0"} 
[2026-08-11 08:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 08:35:40] 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-08-11 08: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-08-11 08:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322880256001,"66":12624,"154":206,"87":13824,"24":2,"16":117565847735631872,"45":9015291685730859008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-11 08:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322880256001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:35:40] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 08:35:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117565847735631872,"km_value":117565847735631.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685730859008,"description":"Unknown IO ID 45"} 
[2026-08-11 08:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322880256001,"power":12624,"unknown_154":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9015291685730859008}} 
[2026-08-11 08:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":152047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:35:40] local.INFO: GPS data processed {"connection_id":152047,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:35:40] local.INFO: Acknowledgment sent {"connection_id":152047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:35:53] local.INFO: TCP Data received {"connection_id":153378,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:35:53] local.INFO: Processing buffer {"connection_id":153378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:35:53] local.INFO: IMEI packet received {"connection_id":153378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":153378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:35:55] local.INFO: TCP Data received {"connection_id":153378,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:35:55] local.INFO: Processing buffer {"connection_id":153378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:35:55] local.INFO: IMEI packet received {"connection_id":153378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":153378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:35:58] local.INFO: TCP Data received {"connection_id":153378,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:35:58] local.INFO: Processing buffer {"connection_id":153378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:35:58] local.INFO: IMEI packet received {"connection_id":153378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":153378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:35:59] local.INFO: TCP Data received {"connection_id":153378,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:35:59] local.INFO: Processing buffer {"connection_id":153378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:35:59] local.INFO: Packet analysis {"connection_id":153378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:35:59] local.INFO: Extracted packet for processing {"connection_id":153378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322807296001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786417517000,"timestamp_ms":1786417517000,"timestamp_seconds":1786417517,"priority":1,"record_length":96,"hex_timestamp":"0000019feec811c8"} 
[2026-08-11 08:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-11 08:35:59] 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-08-11 08: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-08-11 08:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:35:59] 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-08-11 08:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322807296001,"66":26267,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322807296001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:35:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:35:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322807296001,"power":26267,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":153378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:35:59] local.INFO: GPS data processed {"connection_id":153378,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:35:59] local.INFO: Acknowledgment sent {"connection_id":153378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:36:11] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feec7f288012d7d1cc005ea87a80007000f2a..."} 
[2026-08-11 08:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec7f288012d7d1cc005ea87a80007000f2a..."} 
[2026-08-11 08:36:11] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec7f288012d7d1cc005ea87a80007000f2a..."} 
[2026-08-11 08:36:11] local.INFO: Packet analysis {"connection_id":152047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec7"} 
[2026-08-11 08:36:11] local.INFO: Extracted packet for processing {"connection_id":152047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec7"} 
[2026-08-11 08:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99256232,"longitude_deg":76.317408,"latitude_deg":9.9256232,"altitude":7,"angle":15,"satellites":42,"speed":3,"hex_longitude":"2d7d1cc0","hex_latitude":"05ea87a8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322881536001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117565860620533760,"note":"Value kept but may cause issues"} 
[2026-08-11 08:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685730957312,"note":"Value kept but may cause issues"} 
[2026-08-11 08:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786417509000,"timestamp_ms":1786417509000,"timestamp_seconds":1786417509,"priority":1,"record_length":96,"hex_timestamp":"0000019feec7f288"} 
[2026-08-11 08:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 08:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 08: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-08-11 08:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322881536001,"66":12722,"154":206,"87":13824,"24":3,"16":117565860620533760,"45":9015291685730957312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-11 08:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322881536001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:36:11] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 08:36:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117565860620533760,"km_value":117565860620533.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685730957312,"description":"Unknown IO ID 45"} 
[2026-08-11 08:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322881536001,"power":12722,"unknown_154":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9015291685730957312}} 
[2026-08-11 08:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":152047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:36:11] local.INFO: GPS data processed {"connection_id":152047,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:36:11] local.INFO: Acknowledgment sent {"connection_id":152047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:36:30] local.INFO: TCP Data received {"connection_id":153378,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:36:30] local.INFO: Processing buffer {"connection_id":153378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:36:30] local.INFO: Packet analysis {"connection_id":153378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:36:30] local.INFO: Extracted packet for processing {"connection_id":153378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:36:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:36: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-08-11 08:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322807296001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786417517000,"timestamp_ms":1786417517000,"timestamp_seconds":1786417517,"priority":1,"record_length":96,"hex_timestamp":"0000019feec811c8"} 
[2026-08-11 08:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:36: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-08-11 08:36: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-08-11 08:36: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-08-11 08:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:36:30] 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-08-11 08:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322807296001,"66":26267,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322807296001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:36:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:36:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322807296001,"power":26267,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":153378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:36:30] local.INFO: GPS data processed {"connection_id":153378,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:36:30] local.INFO: Acknowledgment sent {"connection_id":153378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:36:33] local.INFO: TCP Data received {"connection_id":154770,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154770,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:36:33] local.INFO: Processing buffer {"connection_id":154770,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:36:33] local.INFO: IMEI packet received {"connection_id":154770,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":154770,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:36:34] local.INFO: TCP Data received {"connection_id":154770,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154770,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:36:34] local.INFO: Processing buffer {"connection_id":154770,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:36:34] local.INFO: IMEI packet received {"connection_id":154770,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":154770,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:36:35] local.INFO: TCP Data received {"connection_id":154770,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154770,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:36:35] local.INFO: Processing buffer {"connection_id":154770,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:36:35] local.INFO: IMEI packet received {"connection_id":154770,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":154770,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:36:35] local.INFO: TCP Data received {"connection_id":154770,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154770,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:36:35] local.INFO: Processing buffer {"connection_id":154770,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:36:35] local.INFO: IMEI packet received {"connection_id":154770,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":154770,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:36:42] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feec7fe40012d7d1cc005ea8950000700002a..."} 
[2026-08-11 08:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec7fe40012d7d1cc005ea8950000700002a..."} 
[2026-08-11 08:36:42] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec7fe40012d7d1cc005ea8950000700002a..."} 
[2026-08-11 08:36:42] local.INFO: Packet analysis {"connection_id":152047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec7"} 
[2026-08-11 08:36:42] local.INFO: Extracted packet for processing {"connection_id":152047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec7"} 
[2026-08-11 08:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99256656,"longitude_deg":76.317408,"latitude_deg":9.9256656,"altitude":7,"angle":0,"satellites":42,"speed":5,"hex_longitude":"2d7d1cc0","hex_latitude":"05ea8950","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322882304001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117565882095370240,"note":"Value kept but may cause issues"} 
[2026-08-11 08:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685731018752,"note":"Value kept but may cause issues"} 
[2026-08-11 08:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786417512000,"timestamp_ms":1786417512000,"timestamp_seconds":1786417512,"priority":1,"record_length":96,"hex_timestamp":"0000019feec7fe40"} 
[2026-08-11 08:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 08:36:42] 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-08-11 08: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-08-11 08:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322882304001,"66":12863,"154":206,"87":13824,"24":5,"16":117565882095370240,"45":9015291685731018752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-11 08:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322882304001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:36:42] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 08:36:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117565882095370240,"km_value":117565882095370.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685731018752,"description":"Unknown IO ID 45"} 
[2026-08-11 08:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322882304001,"power":12863,"unknown_154":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9015291685731018752}} 
[2026-08-11 08:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":152047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:36:42] local.INFO: GPS data processed {"connection_id":152047,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:36:42] local.INFO: Acknowledgment sent {"connection_id":152047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:36:54] local.INFO: TCP Data received {"connection_id":152436,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:36:54] local.INFO: Processing buffer {"connection_id":152436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:36:54] local.INFO: IMEI packet received {"connection_id":152436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":152436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:36:58] local.INFO: TCP Data received {"connection_id":152436,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:36:58] local.INFO: Processing buffer {"connection_id":152436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:36:58] local.INFO: IMEI packet received {"connection_id":152436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":152436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:36:59] local.INFO: TCP Data received {"connection_id":152436,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:36:59] local.INFO: Processing buffer {"connection_id":152436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:36:59] local.INFO: Packet analysis {"connection_id":152436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:36:59] local.INFO: Extracted packet for processing {"connection_id":152436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322807296001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786417517000,"timestamp_ms":1786417517000,"timestamp_seconds":1786417517,"priority":1,"record_length":96,"hex_timestamp":"0000019feec811c8"} 
[2026-08-11 08:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-11 08:36:59] 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-08-11 08: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-08-11 08:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:36:59] 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-08-11 08:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322807296001,"66":26267,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322807296001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:36:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:36:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322807296001,"power":26267,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":152436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:36:59] local.INFO: GPS data processed {"connection_id":152436,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:36:59] local.INFO: Acknowledgment sent {"connection_id":152436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:37:13] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feec81998012d7d1c4005ea8dc0000601552b..."} 
[2026-08-11 08:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec81998012d7d1c4005ea8dc0000601552b..."} 
[2026-08-11 08:37:13] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec81998012d7d1c4005ea8dc0000601552b..."} 
[2026-08-11 08:37:13] local.INFO: Packet analysis {"connection_id":152047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:37:13] local.INFO: Extracted packet for processing {"connection_id":152047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99257792,"longitude_deg":76.3173952,"latitude_deg":9.9257792,"altitude":6,"angle":341,"satellites":43,"speed":2,"hex_longitude":"2d7d1c40","hex_latitude":"05ea8dc0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322883072001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117565937929945088,"note":"Value kept but may cause issues"} 
[2026-08-11 08:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685731127296,"note":"Value kept but may cause issues"} 
[2026-08-11 08:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786417519000,"timestamp_ms":1786417519000,"timestamp_seconds":1786417519,"priority":1,"record_length":96,"hex_timestamp":"0000019feec81998"} 
[2026-08-11 08:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-11 08:37:13] 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-08-11 08: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-08-11 08:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322883072001,"66":12776,"154":206,"87":13824,"24":2,"16":117565937929945088,"45":9015291685731127296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-11 08:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322883072001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:37:13] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 08:37:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117565937929945088,"km_value":117565937929945.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685731127296,"description":"Unknown IO ID 45"} 
[2026-08-11 08:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322883072001,"power":12776,"unknown_154":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9015291685731127296}} 
[2026-08-11 08:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":152047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:37:13] local.INFO: GPS data processed {"connection_id":152047,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:37:13] local.INFO: Acknowledgment sent {"connection_id":152047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:37:31] local.INFO: TCP Data received {"connection_id":152436,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:37:31] local.INFO: Processing buffer {"connection_id":152436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:37:31] local.INFO: Packet analysis {"connection_id":152436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:37:31] local.INFO: Extracted packet for processing {"connection_id":152436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:37:31] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322807296001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786417517000,"timestamp_ms":1786417517000,"timestamp_seconds":1786417517,"priority":1,"record_length":96,"hex_timestamp":"0000019feec811c8"} 
[2026-08-11 08:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-11 08:37:31] 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-08-11 08: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-08-11 08:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:37:31] 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-08-11 08:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322807296001,"66":26267,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322807296001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:37:31] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:37:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322807296001,"power":26267,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":152436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:37:31] local.INFO: GPS data processed {"connection_id":152436,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:37:31] local.INFO: Acknowledgment sent {"connection_id":152436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:37:45] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feec867b8012d7d1bc005ea8e18000601552a..."} 
[2026-08-11 08:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec867b8012d7d1bc005ea8e18000601552a..."} 
[2026-08-11 08:37:45] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec867b8012d7d1bc005ea8e18000601552a..."} 
[2026-08-11 08:37:45] local.INFO: Packet analysis {"connection_id":152047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:37:45] local.INFO: Extracted packet for processing {"connection_id":152047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:37:45] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":99257880,"longitude_deg":76.3173824,"latitude_deg":9.925788,"altitude":6,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d7d1bc0","hex_latitude":"05ea8e18","is_valid_coordinates":true} 
[2026-08-11 08:37: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-08-11 08:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322884864001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117565959404781568,"note":"Value kept but may cause issues"} 
[2026-08-11 08:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150948243062784,"note":"Value kept but may cause issues"} 
[2026-08-11 08:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786417539000,"timestamp_ms":1786417539000,"timestamp_seconds":1786417539,"priority":1,"record_length":96,"hex_timestamp":"0000019feec867b8"} 
[2026-08-11 08:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:37: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-11 08:37:45] 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-08-11 08:37: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-08-11 08:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322884864001,"66":12906,"157":206,"87":13824,"24":0,"16":117565959404781568,"45":9015150948243062784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-11 08:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322884864001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:37:45] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-11 08:37:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117565959404781568,"km_value":117565959404781.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150948243062784,"description":"Unknown IO ID 45"} 
[2026-08-11 08:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322884864001,"power":12906,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9015150948243062784}} 
[2026-08-11 08:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":152047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:37:45] local.INFO: GPS data processed {"connection_id":152047,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:37:45] local.INFO: Acknowledgment sent {"connection_id":152047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:37:53] local.INFO: TCP Data received {"connection_id":154771,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:37:53] local.INFO: Processing buffer {"connection_id":154771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:37:53] local.INFO: IMEI packet received {"connection_id":154771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":154771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:37:58] local.INFO: TCP Data received {"connection_id":154771,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:37:58] local.INFO: Processing buffer {"connection_id":154771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:37:58] local.INFO: IMEI packet received {"connection_id":154771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":154771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:37:59] local.INFO: TCP Data received {"connection_id":154771,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:37:59] local.INFO: Processing buffer {"connection_id":154771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:37:59] local.INFO: Packet analysis {"connection_id":154771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:37:59] local.INFO: Extracted packet for processing {"connection_id":154771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322807296001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786417517000,"timestamp_ms":1786417517000,"timestamp_seconds":1786417517,"priority":1,"record_length":96,"hex_timestamp":"0000019feec811c8"} 
[2026-08-11 08:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-11 08:37:59] 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-08-11 08:37: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-08-11 08:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:37:59] 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-08-11 08:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322807296001,"66":26267,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322807296001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:37:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:37:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322807296001,"power":26267,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":154771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:37:59] local.INFO: GPS data processed {"connection_id":154771,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:37:59] local.INFO: Acknowledgment sent {"connection_id":154771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:38:16] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feec89698012d7d1bc005ea8df0000600fb29..."} 
[2026-08-11 08:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec89698012d7d1bc005ea8df0000600fb29..."} 
[2026-08-11 08:38:16] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec89698012d7d1bc005ea8df0000600fb29..."} 
[2026-08-11 08:38:16] local.INFO: Packet analysis {"connection_id":152047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:38:16] local.INFO: Extracted packet for processing {"connection_id":152047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:38:16] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":99257840,"longitude_deg":76.3173824,"latitude_deg":9.925784,"altitude":6,"angle":251,"satellites":41,"speed":2,"hex_longitude":"2d7d1bc0","hex_latitude":"05ea8df0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322889984001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117565963699748864,"note":"Value kept but may cause issues"} 
[2026-08-11 08:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015010210754729984,"note":"Value kept but may cause issues"} 
[2026-08-11 08:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786417551000,"timestamp_ms":1786417551000,"timestamp_seconds":1786417551,"priority":1,"record_length":96,"hex_timestamp":"0000019feec89698"} 
[2026-08-11 08:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-11 08:38:16] 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-08-11 08: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-08-11 08:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322889984001,"66":13102,"158":206,"87":13824,"24":2,"16":117565963699748864,"45":9015010210754729984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 08:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322889984001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:38:16] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 08:38:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117565963699748864,"km_value":117565963699748.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015010210754729984,"description":"Unknown IO ID 45"} 
[2026-08-11 08:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322889984001,"power":13102,"unknown_158":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9015010210754729984}} 
[2026-08-11 08:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":152047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:38:16] local.INFO: GPS data processed {"connection_id":152047,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:38:16] local.INFO: Acknowledgment sent {"connection_id":152047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:38:30] local.INFO: TCP Data received {"connection_id":154771,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:38:30] local.INFO: Processing buffer {"connection_id":154771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:38:30] local.INFO: Packet analysis {"connection_id":154771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:38:30] local.INFO: Extracted packet for processing {"connection_id":154771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:38: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-08-11 08:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322807296001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786417517000,"timestamp_ms":1786417517000,"timestamp_seconds":1786417517,"priority":1,"record_length":96,"hex_timestamp":"0000019feec811c8"} 
[2026-08-11 08:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:38: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-08-11 08:38: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-08-11 08:38: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-08-11 08:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:38:30] 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-08-11 08:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322807296001,"66":26267,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322807296001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:38:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:38:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322807296001,"power":26267,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":154771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:38:30] local.INFO: GPS data processed {"connection_id":154771,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:38:30] local.INFO: Acknowledgment sent {"connection_id":154771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:38:47] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feecae470012d7d1f0005eab318000601672a..."} 
[2026-08-11 08:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecae470012d7d1f0005eab318000601672a..."} 
[2026-08-11 08:38:47] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecae470012d7d1f0005eab318000601672a..."} 
[2026-08-11 08:38:47] local.INFO: Packet analysis {"connection_id":152047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeca"} 
[2026-08-11 08:38:47] local.INFO: Extracted packet for processing {"connection_id":152047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeca"} 
[2026-08-11 08:38:47] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":99267352,"longitude_deg":76.3174656,"latitude_deg":9.9267352,"altitude":6,"angle":359,"satellites":42,"speed":19,"hex_longitude":"2d7d1f00","hex_latitude":"05eab318","is_valid_coordinates":true} 
[2026-08-11 08:38: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-08-11 08:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322930688001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117566470505889792,"note":"Value kept but may cause issues"} 
[2026-08-11 08:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015713898198554624,"note":"Value kept but may cause issues"} 
[2026-08-11 08:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786417702000,"timestamp_ms":1786417702000,"timestamp_seconds":1786417702,"priority":1,"record_length":96,"hex_timestamp":"0000019feecae470"} 
[2026-08-11 08:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:38: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":106,"data_length":795,"current_offset":136} 
[2026-08-11 08:38:47] 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-08-11 08:38: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-08-11 08:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322930688001,"66":12645,"158":206,"87":13824,"24":19,"16":117566470505889792,"45":9015713898198554624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 08:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322930688001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:38:47] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 08:38:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117566470505889792,"km_value":117566470505889.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015713898198554624,"description":"Unknown IO ID 45"} 
[2026-08-11 08:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322930688001,"power":12645,"unknown_158":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":9015713898198554624}} 
[2026-08-11 08:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":152047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:38:47] local.INFO: GPS data processed {"connection_id":152047,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:38:47] local.INFO: Acknowledgment sent {"connection_id":152047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:38:53] local.INFO: TCP Data received {"connection_id":153380,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:38:53] local.INFO: Processing buffer {"connection_id":153380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:38:53] local.INFO: IMEI packet received {"connection_id":153380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":153380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:38:58] local.INFO: TCP Data received {"connection_id":153380,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:38:58] local.INFO: Processing buffer {"connection_id":153380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:38:58] local.INFO: IMEI packet received {"connection_id":153380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":153380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:38:59] local.INFO: TCP Data received {"connection_id":153380,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:38:59] local.INFO: Processing buffer {"connection_id":153380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:38:59] local.INFO: Packet analysis {"connection_id":153380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:38:59] local.INFO: Extracted packet for processing {"connection_id":153380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322807296001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786417517000,"timestamp_ms":1786417517000,"timestamp_seconds":1786417517,"priority":1,"record_length":96,"hex_timestamp":"0000019feec811c8"} 
[2026-08-11 08:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-11 08:38:59] 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-08-11 08:38: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-08-11 08:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:38:59] 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-08-11 08:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322807296001,"66":26267,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322807296001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:38:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:38:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322807296001,"power":26267,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":153380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:38:59] local.INFO: GPS data processed {"connection_id":153380,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:38:59] local.INFO: Acknowledgment sent {"connection_id":153380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:39:18] local.INFO: TCP Data received {"connection_id":152047,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019feecb3290012d7d1fc005eace180006016528..."} 
[2026-08-11 08:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecb3290012d7d1fc005eace180006016528..."} 
[2026-08-11 08:39:18] local.INFO: Processing buffer {"connection_id":152047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecb3290012d7d1fc005eace180006016528..."} 
[2026-08-11 08:39:18] local.INFO: Packet analysis {"connection_id":152047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecb"} 
[2026-08-11 08:39:18] local.INFO: Extracted packet for processing {"connection_id":152047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecb"} 
[2026-08-11 08:39:18] local.INFO: GPS Element Parsed {"raw_longitude":763174848,"raw_latitude":99274264,"longitude_deg":76.3174848,"latitude_deg":9.9274264,"altitude":6,"angle":357,"satellites":40,"speed":7,"hex_longitude":"2d7d1fc0","hex_latitude":"05eace18","is_valid_coordinates":true} 
[2026-08-11 08:39: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-08-11 08:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322931712001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117566809808306176,"note":"Value kept but may cause issues"} 
[2026-08-11 08:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015925004431464448,"note":"Value kept but may cause issues"} 
[2026-08-11 08:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786417722000,"timestamp_ms":1786417722000,"timestamp_seconds":1786417722,"priority":1,"record_length":96,"hex_timestamp":"0000019feecb3290"} 
[2026-08-11 08:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:39: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 08:39:18] 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-08-11 08:39: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-08-11 08:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322931712001,"66":13080,"158":206,"87":13824,"24":7,"16":117566809808306176,"45":9015925004431464448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 08:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322931712001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:39:18] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 08:39:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117566809808306176,"km_value":117566809808306.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015925004431464448,"description":"Unknown IO ID 45"} 
[2026-08-11 08:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322931712001,"power":13080,"unknown_158":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9015925004431464448}} 
[2026-08-11 08:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":152047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:39:18] local.INFO: GPS data processed {"connection_id":152047,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:39:18] local.INFO: Acknowledgment sent {"connection_id":152047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:39:30] local.INFO: TCP Data received {"connection_id":153380,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:39:30] local.INFO: Processing buffer {"connection_id":153380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:39:30] local.INFO: Packet analysis {"connection_id":153380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:39:30] local.INFO: Extracted packet for processing {"connection_id":153380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:39: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-08-11 08:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322807296001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786417517000,"timestamp_ms":1786417517000,"timestamp_seconds":1786417517,"priority":1,"record_length":96,"hex_timestamp":"0000019feec811c8"} 
[2026-08-11 08:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:39: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-08-11 08:39: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-08-11 08:39: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-08-11 08:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:39:30] 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-08-11 08:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322807296001,"66":26267,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322807296001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:39:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:39:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322807296001,"power":26267,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":153380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:39:30] local.INFO: GPS data processed {"connection_id":153380,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:39:30] local.INFO: Acknowledgment sent {"connection_id":153380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:39:33] local.INFO: TCP Data received {"connection_id":152438,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:39:33] local.INFO: Processing buffer {"connection_id":152438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:39:33] local.INFO: IMEI packet received {"connection_id":152438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":152438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:39:34] local.INFO: TCP Data received {"connection_id":152438,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:39:34] local.INFO: Processing buffer {"connection_id":152438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:39:34] local.INFO: IMEI packet received {"connection_id":152438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":152438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:39:36] local.INFO: TCP Data received {"connection_id":152438,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:39:36] local.INFO: Processing buffer {"connection_id":152438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:39:36] local.INFO: IMEI packet received {"connection_id":152438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":152438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:39:37] local.INFO: TCP Data received {"connection_id":152438,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feecb3a60012d7d200005eacf780007000c29..."} 
[2026-08-11 08:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecb3a60012d7d200005eacf780007000c29..."} 
[2026-08-11 08:39:37] local.INFO: Processing buffer {"connection_id":152438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecb3a60012d7d200005eacf780007000c29..."} 
[2026-08-11 08:39:37] local.INFO: Packet analysis {"connection_id":152438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecb"} 
[2026-08-11 08:39:37] local.INFO: Extracted packet for processing {"connection_id":152438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecb"} 
[2026-08-11 08:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763174912,"raw_latitude":99274616,"longitude_deg":76.3174912,"latitude_deg":9.9274616,"altitude":7,"angle":12,"satellites":41,"speed":7,"hex_longitude":"2d7d2000","hex_latitude":"05eacf78","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322936832001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117566826988175360,"note":"Value kept but may cause issues"} 
[2026-08-11 08:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016136110665766912,"note":"Value kept but may cause issues"} 
[2026-08-11 08:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786417724000,"timestamp_ms":1786417724000,"timestamp_seconds":1786417724,"priority":1,"record_length":96,"hex_timestamp":"0000019feecb3a60"} 
[2026-08-11 08:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-11 08:39:37] 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-08-11 08: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-08-11 08:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322936832001,"66":13254,"158":206,"87":13824,"24":7,"16":117566826988175360,"45":9016136110665766912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 08:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322936832001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:39:37] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 08:39:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117566826988175360,"km_value":117566826988175.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016136110665766912,"description":"Unknown IO ID 45"} 
[2026-08-11 08:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322936832001,"power":13254,"unknown_158":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9016136110665766912}} 
[2026-08-11 08:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":152438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:39:37] local.INFO: GPS data processed {"connection_id":152438,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:39:37] local.INFO: Acknowledgment sent {"connection_id":152438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:39:39] local.INFO: TCP Data received {"connection_id":152438,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feecb59a0012d7d20c005eadd60000801642a..."} 
[2026-08-11 08:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecb59a0012d7d20c005eadd60000801642a..."} 
[2026-08-11 08:39:39] local.INFO: Processing buffer {"connection_id":152438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecb59a0012d7d20c005eadd60000801642a..."} 
[2026-08-11 08:39:39] local.INFO: Packet analysis {"connection_id":152438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecb"} 
[2026-08-11 08:39:39] local.INFO: Extracted packet for processing {"connection_id":152438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecb"} 
[2026-08-11 08:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763175104,"raw_latitude":99278176,"longitude_deg":76.3175104,"latitude_deg":9.9278176,"altitude":8,"angle":356,"satellites":42,"speed":17,"hex_longitude":"2d7d20c0","hex_latitude":"05eadd60","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322937344001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117566998786867200,"note":"Value kept but may cause issues"} 
[2026-08-11 08:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016206479410034688,"note":"Value kept but may cause issues"} 
[2026-08-11 08:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786417732000,"timestamp_ms":1786417732000,"timestamp_seconds":1786417732,"priority":1,"record_length":96,"hex_timestamp":"0000019feecb59a0"} 
[2026-08-11 08:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 08:39:39] 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-08-11 08: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-08-11 08:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322937344001,"66":12863,"158":206,"87":13824,"24":17,"16":117566998786867200,"45":9016206479410034688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 08:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322937344001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:39:39] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 08:39:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117566998786867200,"km_value":117566998786867.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016206479410034688,"description":"Unknown IO ID 45"} 
[2026-08-11 08:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322937344001,"power":12863,"unknown_158":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":9016206479410034688}} 
[2026-08-11 08:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":152438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:39:39] local.INFO: GPS data processed {"connection_id":152438,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:39:39] local.INFO: Acknowledgment sent {"connection_id":152438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:39:53] local.INFO: TCP Data received {"connection_id":154772,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:39:53] local.INFO: Processing buffer {"connection_id":154772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:39:53] local.INFO: IMEI packet received {"connection_id":154772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":154772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:39:58] local.INFO: TCP Data received {"connection_id":154772,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:39:58] local.INFO: Processing buffer {"connection_id":154772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:39:58] local.INFO: IMEI packet received {"connection_id":154772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":154772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:40:05] local.INFO: TCP Data received {"connection_id":154772,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:40:05] local.INFO: Processing buffer {"connection_id":154772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:40:05] local.INFO: Packet analysis {"connection_id":154772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:40:05] local.INFO: Extracted packet for processing {"connection_id":154772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:40:05] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322807296001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786417517000,"timestamp_ms":1786417517000,"timestamp_seconds":1786417517,"priority":1,"record_length":96,"hex_timestamp":"0000019feec811c8"} 
[2026-08-11 08:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-11 08:40:05] 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-08-11 08: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-08-11 08:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:40:05] 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-08-11 08:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322807296001,"66":26267,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322807296001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:40:05] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:40:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322807296001,"power":26267,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":154772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:40:05] local.INFO: GPS data processed {"connection_id":154772,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:40:05] local.INFO: Acknowledgment sent {"connection_id":154772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:40:10] local.INFO: TCP Data received {"connection_id":152438,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feecba7c0012d7d218005eaf548000f00012a..."} 
[2026-08-11 08:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecba7c0012d7d218005eaf548000f00012a..."} 
[2026-08-11 08:40:10] local.INFO: Processing buffer {"connection_id":152438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecba7c0012d7d218005eaf548000f00012a..."} 
[2026-08-11 08:40:10] local.INFO: Packet analysis {"connection_id":152438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecb"} 
[2026-08-11 08:40:10] local.INFO: Extracted packet for processing {"connection_id":152438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecb"} 
[2026-08-11 08:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763175296,"raw_latitude":99284296,"longitude_deg":76.3175296,"latitude_deg":9.9284296,"altitude":15,"angle":1,"satellites":42,"speed":5,"hex_longitude":"2d7d2180","hex_latitude":"05eaf548","is_valid_coordinates":true} 
[2026-08-11 08:40: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-08-11 08:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322939392001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117567295139610624,"note":"Value kept but may cause issues"} 
[2026-08-11 08:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016417585643479040,"note":"Value kept but may cause issues"} 
[2026-08-11 08:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786417752000,"timestamp_ms":1786417752000,"timestamp_seconds":1786417752,"priority":1,"record_length":96,"hex_timestamp":"0000019feecba7c0"} 
[2026-08-11 08:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:40: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-11 08:40:10] 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-08-11 08:40: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-08-11 08:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322939392001,"66":13102,"158":206,"87":13824,"24":5,"16":117567295139610624,"45":9016417585643479040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 08:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322939392001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:40:10] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 08:40:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117567295139610624,"km_value":117567295139610.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016417585643479040,"description":"Unknown IO ID 45"} 
[2026-08-11 08:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322939392001,"power":13102,"unknown_158":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9016417585643479040}} 
[2026-08-11 08:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":152438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:40:10] local.INFO: GPS data processed {"connection_id":152438,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:40:10] local.INFO: Acknowledgment sent {"connection_id":152438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:40:33] local.INFO: TCP Data received {"connection_id":154774,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:40:33] local.INFO: Processing buffer {"connection_id":154774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:40:33] local.INFO: IMEI packet received {"connection_id":154774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":154774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:40:38] local.INFO: TCP Data received {"connection_id":154772,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:40:38] local.INFO: Processing buffer {"connection_id":154772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feec811c8012d85584006119ea8001401132f..."} 
[2026-08-11 08:40:38] local.INFO: Packet analysis {"connection_id":154772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:40:38] local.INFO: Extracted packet for processing {"connection_id":154772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feec8"} 
[2026-08-11 08:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322807296001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786417517000,"timestamp_ms":1786417517000,"timestamp_seconds":1786417517,"priority":1,"record_length":96,"hex_timestamp":"0000019feec811c8"} 
[2026-08-11 08:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-11 08:40:38] 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-08-11 08: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-08-11 08:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:40:38] 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-08-11 08:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322807296001,"66":26267,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322807296001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:40:38] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:40:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322807296001,"power":26267,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":154772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:40:38] local.INFO: GPS data processed {"connection_id":154772,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:40:38] local.INFO: Acknowledgment sent {"connection_id":154772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:40:38] local.INFO: TCP Data received {"connection_id":154774,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:40:38] local.INFO: Processing buffer {"connection_id":154774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:40:38] local.INFO: IMEI packet received {"connection_id":154774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":154774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:40:39] local.INFO: TCP Data received {"connection_id":154774,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feecbbb48012d7d220005eaf920000f000d2b..."} 
[2026-08-11 08:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecbbb48012d7d220005eaf920000f000d2b..."} 
[2026-08-11 08:40:39] local.INFO: Processing buffer {"connection_id":154774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecbbb48012d7d220005eaf920000f000d2b..."} 
[2026-08-11 08:40:39] local.INFO: Packet analysis {"connection_id":154774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecb"} 
[2026-08-11 08:40:39] local.INFO: Extracted packet for processing {"connection_id":154774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecb"} 
[2026-08-11 08:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763175424,"raw_latitude":99285280,"longitude_deg":76.3175424,"latitude_deg":9.928528,"altitude":15,"angle":13,"satellites":43,"speed":12,"hex_longitude":"2d7d2200","hex_latitude":"05eaf920","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322944512001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117567346679218176,"note":"Value kept but may cause issues"} 
[2026-08-11 08:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016628691877578752,"note":"Value kept but may cause issues"} 
[2026-08-11 08:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786417757000,"timestamp_ms":1786417757000,"timestamp_seconds":1786417757,"priority":1,"record_length":96,"hex_timestamp":"0000019feecbbb48"} 
[2026-08-11 08:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 08:40:39] 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-08-11 08: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-08-11 08:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322944512001,"66":12722,"158":206,"87":13824,"24":12,"16":117567346679218176,"45":9016628691877578752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 08:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322944512001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:40:39] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 08:40:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117567346679218176,"km_value":117567346679218.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016628691877578752,"description":"Unknown IO ID 45"} 
[2026-08-11 08:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322944512001,"power":12722,"unknown_158":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9016628691877578752}} 
[2026-08-11 08:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":154774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:40:39] local.INFO: GPS data processed {"connection_id":154774,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:40:39] local.INFO: Acknowledgment sent {"connection_id":154774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:40:53] local.INFO: TCP Data received {"connection_id":153381,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:40:53] local.INFO: Processing buffer {"connection_id":153381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:40:53] local.INFO: IMEI packet received {"connection_id":153381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":153381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:40:56] local.INFO: TCP Data received {"connection_id":153381,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:40:56] local.INFO: Processing buffer {"connection_id":153381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:40:56] local.INFO: IMEI packet received {"connection_id":153381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":153381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:40:58] local.INFO: TCP Data received {"connection_id":153381,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:40:58] local.INFO: Processing buffer {"connection_id":153381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:40:58] local.INFO: IMEI packet received {"connection_id":153381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":153381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:40:58] local.INFO: TCP Data received {"connection_id":153381,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:40:58] local.INFO: Processing buffer {"connection_id":153381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:40:58] local.INFO: Packet analysis {"connection_id":153381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:40:58] local.INFO: Extracted packet for processing {"connection_id":153381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322884352001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786417818000,"timestamp_ms":1786417818000,"timestamp_seconds":1786417818,"priority":1,"record_length":96,"hex_timestamp":"0000019feecca990"} 
[2026-08-11 08:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 08:40:58] 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-08-11 08: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-08-11 08:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":153381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":153381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":153381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:40:58] 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-08-11 08:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322884352001,"66":26115,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322884352001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:40:58] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:40:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322884352001,"power":26115,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":153381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:40:58] local.INFO: GPS data processed {"connection_id":153381,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:40:58] local.INFO: Acknowledgment sent {"connection_id":153381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:41:10] local.INFO: TCP Data received {"connection_id":154774,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feecbc318012d7d224005eafba0000f01672b..."} 
[2026-08-11 08:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecbc318012d7d224005eafba0000f01672b..."} 
[2026-08-11 08:41:10] local.INFO: Processing buffer {"connection_id":154774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecbc318012d7d224005eafba0000f01672b..."} 
[2026-08-11 08:41:10] local.INFO: Packet analysis {"connection_id":154774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecb"} 
[2026-08-11 08:41:10] local.INFO: Extracted packet for processing {"connection_id":154774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecb"} 
[2026-08-11 08:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763175488,"raw_latitude":99285920,"longitude_deg":76.3175488,"latitude_deg":9.928592,"altitude":15,"angle":359,"satellites":43,"speed":12,"hex_longitude":"2d7d2240","hex_latitude":"05eafba0","is_valid_coordinates":true} 
[2026-08-11 08:41: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-08-11 08:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322945792001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117567376743989248,"note":"Value kept but may cause issues"} 
[2026-08-11 08:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016769429366185984,"note":"Value kept but may cause issues"} 
[2026-08-11 08:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786417759000,"timestamp_ms":1786417759000,"timestamp_seconds":1786417759,"priority":1,"record_length":96,"hex_timestamp":"0000019feecbc318"} 
[2026-08-11 08:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:41: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 08:41:10] 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-08-11 08:41: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-08-11 08:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322945792001,"66":13135,"158":206,"87":13824,"24":12,"16":117567376743989248,"45":9016769429366185984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 08:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322945792001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:41:10] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 08:41:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117567376743989248,"km_value":117567376743989.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016769429366185984,"description":"Unknown IO ID 45"} 
[2026-08-11 08:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322945792001,"power":13135,"unknown_158":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9016769429366185984}} 
[2026-08-11 08:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":154774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:41:10] local.INFO: GPS data processed {"connection_id":154774,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:41:10] local.INFO: Acknowledgment sent {"connection_id":154774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:41:30] local.INFO: TCP Data received {"connection_id":153381,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:41:30] local.INFO: Processing buffer {"connection_id":153381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:41:30] local.INFO: Packet analysis {"connection_id":153381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:41:30] local.INFO: Extracted packet for processing {"connection_id":153381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:41: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-08-11 08:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322884352001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786417818000,"timestamp_ms":1786417818000,"timestamp_seconds":1786417818,"priority":1,"record_length":96,"hex_timestamp":"0000019feecca990"} 
[2026-08-11 08:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:41: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 08:41:30] 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-08-11 08:41: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-08-11 08:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:41:30] 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-08-11 08:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322884352001,"66":26115,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322884352001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:41:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:41:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322884352001,"power":26115,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":153381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:41:30] local.INFO: GPS data processed {"connection_id":153381,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:41:30] local.INFO: Acknowledgment sent {"connection_id":153381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:41:33] local.INFO: TCP Data received {"connection_id":153383,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:41:33] local.INFO: Processing buffer {"connection_id":153383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:41:33] local.INFO: IMEI packet received {"connection_id":153383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":153383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:41:37] local.INFO: TCP Data received {"connection_id":153382,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153382,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:41:37] local.INFO: Processing buffer {"connection_id":153382,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:41:37] local.INFO: IMEI packet received {"connection_id":153382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":153382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:41:37] local.INFO: TCP Data received {"connection_id":153382,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feecd6510012d0da2800705cf50001300c118..."} 
[2026-08-11 08:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecd6510012d0da2800705cf50001300c118..."} 
[2026-08-11 08:41:37] local.INFO: Processing buffer {"connection_id":153382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecd6510012d0da2800705cf50001300c118..."} 
[2026-08-11 08:41:37] local.INFO: Packet analysis {"connection_id":153382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecd"} 
[2026-08-11 08:41:37] local.INFO: Extracted packet for processing {"connection_id":153382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecd"} 
[2026-08-11 08:41:37] local.INFO: GPS Element Parsed {"raw_longitude":755868288,"raw_latitude":117821264,"longitude_deg":75.5868288,"latitude_deg":11.7821264,"altitude":19,"angle":193,"satellites":24,"speed":12,"hex_longitude":"2d0da280","hex_latitude":"0705cf50","is_valid_coordinates":true} 
[2026-08-11 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-08-11 08:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322973184001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27523494757531648,"note":"Value kept but may cause issues"} 
[2026-08-11 08:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982488436370925568,"note":"Value kept but may cause issues"} 
[2026-08-11 08:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786417866000,"timestamp_ms":1786417866000,"timestamp_seconds":1786417866,"priority":1,"record_length":96,"hex_timestamp":"0000019feecd6510"} 
[2026-08-11 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-08-11 08:41:37] 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-08-11 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 08:41:37] 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-08-11 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-08-11 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-08-11 08:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322973184001,"66":14450,"167":206,"94":11008,"24":12,"16":27523494757531648,"45":982488436370925568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-11 08:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322973184001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:41:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 08:41:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27523494757531648,"km_value":27523494757531.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":982488436370925568,"description":"Unknown IO ID 45"} 
[2026-08-11 08:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322973184001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":982488436370925568}} 
[2026-08-11 08:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":153382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623982,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:41:38] local.INFO: GPS data processed {"connection_id":153382,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:41:38] local.INFO: Acknowledgment sent {"connection_id":153382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:41:38] local.INFO: TCP Data received {"connection_id":153383,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:41:38] local.INFO: Processing buffer {"connection_id":153383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:41:38] local.INFO: IMEI packet received {"connection_id":153383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":153383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:41:39] local.INFO: TCP Data received {"connection_id":153383,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feecbf5e0012d7d1fc005eafe28000f00f22b..."} 
[2026-08-11 08:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecbf5e0012d7d1fc005eafe28000f00f22b..."} 
[2026-08-11 08:41:39] local.INFO: Processing buffer {"connection_id":153383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecbf5e0012d7d1fc005eafe28000f00f22b..."} 
[2026-08-11 08:41:39] local.INFO: Packet analysis {"connection_id":153383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecb"} 
[2026-08-11 08:41:39] local.INFO: Extracted packet for processing {"connection_id":153383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecb"} 
[2026-08-11 08:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763174848,"raw_latitude":99286568,"longitude_deg":76.3174848,"latitude_deg":9.9286568,"altitude":15,"angle":242,"satellites":43,"speed":6,"hex_longitude":"2d7d1fc0","hex_latitude":"05eafe28","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322946304001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117567449758433280,"note":"Value kept but may cause issues"} 
[2026-08-11 08:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016839798110527488,"note":"Value kept but may cause issues"} 
[2026-08-11 08:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786417772000,"timestamp_ms":1786417772000,"timestamp_seconds":1786417772,"priority":1,"record_length":96,"hex_timestamp":"0000019feecbf5e0"} 
[2026-08-11 08:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-11 08:41:39] 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-08-11 08: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-08-11 08:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322946304001,"66":13091,"158":206,"87":13824,"24":6,"16":117567449758433280,"45":9016839798110527488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 08:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322946304001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:41:39] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 08:41:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117567449758433280,"km_value":117567449758433.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016839798110527488,"description":"Unknown IO ID 45"} 
[2026-08-11 08:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322946304001,"power":13091,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9016839798110527488}} 
[2026-08-11 08:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":153383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:41:39] local.INFO: GPS data processed {"connection_id":153383,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:41:39] local.INFO: Acknowledgment sent {"connection_id":153383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:41:55] local.INFO: TCP Data received {"connection_id":154775,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:41:55] local.INFO: Processing buffer {"connection_id":154775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:41:55] local.INFO: IMEI packet received {"connection_id":154775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":154775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:41:58] local.INFO: TCP Data received {"connection_id":154775,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:41:58] local.INFO: Processing buffer {"connection_id":154775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:41:58] local.INFO: IMEI packet received {"connection_id":154775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":154775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:41:59] local.INFO: TCP Data received {"connection_id":154775,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:41:59] local.INFO: Processing buffer {"connection_id":154775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:41:59] local.INFO: Packet analysis {"connection_id":154775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:41:59] local.INFO: Extracted packet for processing {"connection_id":154775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:41: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-08-11 08:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322884352001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786417818000,"timestamp_ms":1786417818000,"timestamp_seconds":1786417818,"priority":1,"record_length":96,"hex_timestamp":"0000019feecca990"} 
[2026-08-11 08:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:41: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":155,"data_length":795,"current_offset":136} 
[2026-08-11 08:41:59] 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-08-11 08:41: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-08-11 08:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:41:59] 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-08-11 08:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322884352001,"66":26115,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322884352001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:41:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:41:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322884352001,"power":26115,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":154775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:41:59] local.INFO: GPS data processed {"connection_id":154775,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:41:59] local.INFO: Acknowledgment sent {"connection_id":154775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:42:04] local.INFO: TCP Data received {"connection_id":154775,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:42:04] local.INFO: Processing buffer {"connection_id":154775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:42:04] local.INFO: Packet analysis {"connection_id":154775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:42:04] local.INFO: Extracted packet for processing {"connection_id":154775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322884352001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786417818000,"timestamp_ms":1786417818000,"timestamp_seconds":1786417818,"priority":1,"record_length":96,"hex_timestamp":"0000019feecca990"} 
[2026-08-11 08:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 08:42:04] 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-08-11 08: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-08-11 08:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:42:04] 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-08-11 08:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322884352001,"66":26115,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322884352001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:42:04] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:42:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322884352001,"power":26115,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":154775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:42:04] local.INFO: GPS data processed {"connection_id":154775,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:42:04] local.INFO: Acknowledgment sent {"connection_id":154775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:42:08] local.INFO: TCP Data received {"connection_id":153382,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feecd7898012d0da2000705c780001300b518..."} 
[2026-08-11 08:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecd7898012d0da2000705c780001300b518..."} 
[2026-08-11 08:42:08] local.INFO: Processing buffer {"connection_id":153382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecd7898012d0da2000705c780001300b518..."} 
[2026-08-11 08:42:08] local.INFO: Packet analysis {"connection_id":153382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecd"} 
[2026-08-11 08:42:08] local.INFO: Extracted packet for processing {"connection_id":153382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecd"} 
[2026-08-11 08:42:08] local.INFO: GPS Element Parsed {"raw_longitude":755868160,"raw_latitude":117819264,"longitude_deg":75.586816,"latitude_deg":11.7819264,"altitude":19,"angle":181,"satellites":24,"speed":18,"hex_longitude":"2d0da200","hex_latitude":"0705c780","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322973696001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27523593541779456,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982488436370788352,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786417871000,"timestamp_ms":1786417871000,"timestamp_seconds":1786417871,"priority":1,"record_length":96,"hex_timestamp":"0000019feecd7898"} 
[2026-08-11 08:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:42:08] 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-08-11 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 08:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 08: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-08-11 08:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322973696001,"66":14407,"167":206,"94":11008,"24":18,"16":27523593541779456,"45":982488436370788352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-11 08:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322973696001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:42:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 08:42:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27523593541779456,"km_value":27523593541779.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":982488436370788352,"description":"Unknown IO ID 45"} 
[2026-08-11 08:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322973696001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":982488436370788352}} 
[2026-08-11 08:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":153382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623986,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:42:08] local.INFO: GPS data processed {"connection_id":153382,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:42:08] local.INFO: Acknowledgment sent {"connection_id":153382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:42:11] local.INFO: TCP Data received {"connection_id":153383,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feecdb330012d7ce24005eaed880008010f26..."} 
[2026-08-11 08:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecdb330012d7ce24005eaed880008010f26..."} 
[2026-08-11 08:42:11] local.INFO: Processing buffer {"connection_id":153383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecdb330012d7ce24005eaed880008010f26..."} 
[2026-08-11 08:42:11] local.INFO: Packet analysis {"connection_id":153383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecd"} 
[2026-08-11 08:42:11] local.INFO: Extracted packet for processing {"connection_id":153383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecd"} 
[2026-08-11 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763159104,"raw_latitude":99282312,"longitude_deg":76.3159104,"latitude_deg":9.9282312,"altitude":8,"angle":271,"satellites":38,"speed":4,"hex_longitude":"2d7ce240","hex_latitude":"05eaed88","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322977280001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117568257212284928,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000092036995270656,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786417886000,"timestamp_ms":1786417886000,"timestamp_seconds":1786417886,"priority":1,"record_length":96,"hex_timestamp":"0000019feecdb330"} 
[2026-08-11 08:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-11 08:42:11] 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-08-11 08: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-08-11 08:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322977280001,"66":12439,"158":206,"87":13824,"24":4,"16":117568257212284928,"45":9000092036995270656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 08:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322977280001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:42:11] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 08:42:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117568257212284928,"km_value":117568257212284.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000092036995270656,"description":"Unknown IO ID 45"} 
[2026-08-11 08:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322977280001,"power":12439,"unknown_158":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9000092036995270656}} 
[2026-08-11 08:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":153383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:42:11] local.INFO: GPS data processed {"connection_id":153383,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:42:11] local.INFO: Acknowledgment sent {"connection_id":153383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:42:29] local.INFO: TCP Data received {"connection_id":154776,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154776,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:42:29] local.INFO: Processing buffer {"connection_id":154776,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:42:29] local.INFO: IMEI packet received {"connection_id":154776,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":154776,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:42:33] local.INFO: TCP Data received {"connection_id":154777,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:42:33] local.INFO: Processing buffer {"connection_id":154777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:42:33] local.INFO: IMEI packet received {"connection_id":154777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":154777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:42:34] local.INFO: TCP Data received {"connection_id":154776,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154776,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:42:34] local.INFO: Processing buffer {"connection_id":154776,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:42:34] local.INFO: IMEI packet received {"connection_id":154776,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":154776,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:42:34] local.INFO: TCP Data received {"connection_id":154777,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:42:34] local.INFO: Processing buffer {"connection_id":154777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:42:34] local.INFO: IMEI packet received {"connection_id":154777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":154777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:42:35] local.INFO: TCP Data received {"connection_id":154776,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feecd8450012d0da2400705c2d8001300a818..."} 
[2026-08-11 08:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecd8450012d0da2400705c2d8001300a818..."} 
[2026-08-11 08:42:35] local.INFO: Processing buffer {"connection_id":154776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecd8450012d0da2400705c2d8001300a818..."} 
[2026-08-11 08:42:35] local.INFO: Packet analysis {"connection_id":154776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecd"} 
[2026-08-11 08:42:35] local.INFO: Extracted packet for processing {"connection_id":154776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecd"} 
[2026-08-11 08:42:35] local.INFO: GPS Element Parsed {"raw_longitude":755868224,"raw_latitude":117818072,"longitude_deg":75.5868224,"latitude_deg":11.7818072,"altitude":19,"angle":168,"satellites":24,"speed":13,"hex_longitude":"2d0da240","hex_latitude":"0705c2d8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322974976001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27523649376354304,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982347698881921024,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786417874000,"timestamp_ms":1786417874000,"timestamp_seconds":1786417874,"priority":1,"record_length":96,"hex_timestamp":"0000019feecd8450"} 
[2026-08-11 08:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:42:35] 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-08-11 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 08:42:35] 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-08-11 08: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-08-11 08:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154776,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154776,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322974976001,"66":14439,"167":206,"94":11008,"24":13,"16":27523649376354304,"45":982347698881921024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-11 08:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322974976001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:42:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 08:42:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27523649376354304,"km_value":27523649376354.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":982347698881921024,"description":"Unknown IO ID 45"} 
[2026-08-11 08:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322974976001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":982347698881921024}} 
[2026-08-11 08:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":154776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623988,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:42:35] local.INFO: GPS data processed {"connection_id":154776,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:42:35] local.INFO: Acknowledgment sent {"connection_id":154776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:42:35] local.INFO: TCP Data received {"connection_id":154775,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:42:35] local.INFO: Processing buffer {"connection_id":154775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:42:35] local.INFO: Packet analysis {"connection_id":154775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:42:35] local.INFO: Extracted packet for processing {"connection_id":154775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:42:35] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322884352001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786417818000,"timestamp_ms":1786417818000,"timestamp_seconds":1786417818,"priority":1,"record_length":96,"hex_timestamp":"0000019feecca990"} 
[2026-08-11 08:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 08:42:35] 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-08-11 08: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-08-11 08:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:42:35] 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-08-11 08:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322884352001,"66":26115,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322884352001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:42:35] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:42:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322884352001,"power":26115,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":154775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:42:35] local.INFO: GPS data processed {"connection_id":154775,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:42:35] local.INFO: Acknowledgment sent {"connection_id":154775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:42:38] local.INFO: TCP Data received {"connection_id":154777,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:42:38] local.INFO: Processing buffer {"connection_id":154777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:42:38] local.INFO: IMEI packet received {"connection_id":154777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":154777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:42:39] local.INFO: TCP Data received {"connection_id":154777,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feecde9e0012d7cccc005eaeb580006010327..."} 
[2026-08-11 08:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecde9e0012d7cccc005eaeb580006010327..."} 
[2026-08-11 08:42:39] local.INFO: Processing buffer {"connection_id":154777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecde9e0012d7cccc005eaeb580006010327..."} 
[2026-08-11 08:42:39] local.INFO: Packet analysis {"connection_id":154777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecd"} 
[2026-08-11 08:42:39] local.INFO: Extracted packet for processing {"connection_id":154777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecd"} 
[2026-08-11 08:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763153600,"raw_latitude":99281752,"longitude_deg":76.31536,"latitude_deg":9.9281752,"altitude":6,"angle":259,"satellites":39,"speed":18,"hex_longitude":"2d7cccc0","hex_latitude":"05eaeb58","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322978816001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117568519205289984,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998825399600121856,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786417900000,"timestamp_ms":1786417900000,"timestamp_seconds":1786417900,"priority":1,"record_length":96,"hex_timestamp":"0000019feecde9e0"} 
[2026-08-11 08:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-11 08:42:39] 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-08-11 08: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-08-11 08:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322978816001,"66":13015,"158":206,"87":13824,"24":18,"16":117568519205289984,"45":8998825399600121856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 08:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322978816001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:42:39] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 08:42:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117568519205289984,"km_value":117568519205289.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998825399600121856,"description":"Unknown IO ID 45"} 
[2026-08-11 08:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322978816001,"power":13015,"unknown_158":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8998825399600121856}} 
[2026-08-11 08:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":154777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:42:39] local.INFO: GPS data processed {"connection_id":154777,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:42:39] local.INFO: Acknowledgment sent {"connection_id":154777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:42:53] local.INFO: TCP Data received {"connection_id":153384,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:42:53] local.INFO: Processing buffer {"connection_id":153384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:42:53] local.INFO: IMEI packet received {"connection_id":153384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":153384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:42:58] local.INFO: TCP Data received {"connection_id":153384,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:42:58] local.INFO: Processing buffer {"connection_id":153384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:42:58] local.INFO: IMEI packet received {"connection_id":153384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":153384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:42:59] local.INFO: TCP Data received {"connection_id":153384,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:42:59] local.INFO: Processing buffer {"connection_id":153384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:42:59] local.INFO: Packet analysis {"connection_id":153384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:42:59] local.INFO: Extracted packet for processing {"connection_id":153384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322884352001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786417818000,"timestamp_ms":1786417818000,"timestamp_seconds":1786417818,"priority":1,"record_length":96,"hex_timestamp":"0000019feecca990"} 
[2026-08-11 08:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 08:42:59] 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-08-11 08: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-08-11 08:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:42:59] 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-08-11 08:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322884352001,"66":26115,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322884352001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:42:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:42:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322884352001,"power":26115,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":153384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:42:59] local.INFO: GPS data processed {"connection_id":153384,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:42:59] local.INFO: Acknowledgment sent {"connection_id":153384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:43:06] local.INFO: TCP Data received {"connection_id":154776,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feecf1a90012d0d98000705d6d0001401081b..."} 
[2026-08-11 08:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecf1a90012d0d98000705d6d0001401081b..."} 
[2026-08-11 08:43:06] local.INFO: Processing buffer {"connection_id":154776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecf1a90012d0d98000705d6d0001401081b..."} 
[2026-08-11 08:43:06] local.INFO: Packet analysis {"connection_id":154776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecf"} 
[2026-08-11 08:43:06] local.INFO: Extracted packet for processing {"connection_id":154776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecf"} 
[2026-08-11 08:43:06] local.INFO: GPS Element Parsed {"raw_longitude":755865600,"raw_latitude":117823184,"longitude_deg":75.58656,"latitude_deg":11.7823184,"altitude":20,"angle":264,"satellites":27,"speed":25,"hex_longitude":"2d0d9800","hex_latitude":"0705d6d0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 08:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323002112001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27524224901971968,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":980236636557600768,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786417978000,"timestamp_ms":1786417978000,"timestamp_seconds":1786417978,"priority":1,"record_length":96,"hex_timestamp":"0000019feecf1a90"} 
[2026-08-11 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-08-11 08:43:06] 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-08-11 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 08:43:06] 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-08-11 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-08-11 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-08-11 08:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154776,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154776,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323002112001,"66":14428,"167":206,"94":11008,"24":25,"16":27524224901971968,"45":980236636557600768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-11 08:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323002112001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:43:06] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 08:43:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27524224901971968,"km_value":27524224901971.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":980236636557600768,"description":"Unknown IO ID 45"} 
[2026-08-11 08:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323002112001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":980236636557600768}} 
[2026-08-11 08:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":154776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623992,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:43:06] local.INFO: GPS data processed {"connection_id":154776,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:43:06] local.INFO: Acknowledgment sent {"connection_id":154776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:43:10] local.INFO: TCP Data received {"connection_id":154777,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feece3800012d7cb2c005eae5d8000500fd25..."} 
[2026-08-11 08:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feece3800012d7cb2c005eae5d8000500fd25..."} 
[2026-08-11 08:43:10] local.INFO: Processing buffer {"connection_id":154777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feece3800012d7cb2c005eae5d8000500fd25..."} 
[2026-08-11 08:43:10] local.INFO: Packet analysis {"connection_id":154777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feece"} 
[2026-08-11 08:43:10] local.INFO: Extracted packet for processing {"connection_id":154777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feece"} 
[2026-08-11 08:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763146944,"raw_latitude":99280344,"longitude_deg":76.3146944,"latitude_deg":9.9280344,"altitude":5,"angle":253,"satellites":37,"speed":17,"hex_longitude":"2d7cb2c0","hex_latitude":"05eae5d8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322982400001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117568845622804480,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992773687600699392,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786417920000,"timestamp_ms":1786417920000,"timestamp_seconds":1786417920,"priority":1,"record_length":96,"hex_timestamp":"0000019feece3800"} 
[2026-08-11 08:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-11 08:43:10] 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-08-11 08: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-08-11 08:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322982400001,"66":13135,"8":206,"87":13824,"24":17,"16":117568845622804480,"45":8992773687600699392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-08-11 08:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322982400001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:43:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 08:43:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117568845622804480,"km_value":117568845622804.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992773687600699392,"description":"Unknown IO ID 45"} 
[2026-08-11 08:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322982400001,"power":13135,"unknown_8":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8992773687600699392}} 
[2026-08-11 08:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":154777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:43:10] local.INFO: GPS data processed {"connection_id":154777,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:43:10] local.INFO: Acknowledgment sent {"connection_id":154777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:43:28] local.INFO: TCP Data received {"connection_id":152049,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:43:28] local.INFO: Processing buffer {"connection_id":152049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:43:28] local.INFO: IMEI packet received {"connection_id":152049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":152049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:43:29] local.INFO: TCP Data received {"connection_id":152049,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:43:29] local.INFO: Processing buffer {"connection_id":152049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:43:29] local.INFO: IMEI packet received {"connection_id":152049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":152049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:43:30] local.INFO: TCP Data received {"connection_id":152049,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:43:30] local.INFO: Processing buffer {"connection_id":152049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:43:30] local.INFO: IMEI packet received {"connection_id":152049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":152049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:43:31] local.INFO: TCP Data received {"connection_id":153384,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:43:31] local.INFO: Processing buffer {"connection_id":153384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:43:31] local.INFO: Packet analysis {"connection_id":153384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:43:31] local.INFO: Extracted packet for processing {"connection_id":153384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:43:31] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322884352001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786417818000,"timestamp_ms":1786417818000,"timestamp_seconds":1786417818,"priority":1,"record_length":96,"hex_timestamp":"0000019feecca990"} 
[2026-08-11 08:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 08:43:31] 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-08-11 08: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-08-11 08:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:43:31] 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-08-11 08:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322884352001,"66":26115,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322884352001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:43:31] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:43:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322884352001,"power":26115,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":153384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:43:31] local.INFO: GPS data processed {"connection_id":153384,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:43:31] local.INFO: Acknowledgment sent {"connection_id":153384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:43:32] local.INFO: TCP Data received {"connection_id":152049,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:43:32] local.INFO: Processing buffer {"connection_id":152049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:43:32] local.INFO: IMEI packet received {"connection_id":152049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":152049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:43:32] local.INFO: TCP Data received {"connection_id":152049,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feecf60e0012d0d6c800705cf00001301101c..."} 
[2026-08-11 08:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecf60e0012d0d6c800705cf00001301101c..."} 
[2026-08-11 08:43:32] local.INFO: Processing buffer {"connection_id":152049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecf60e0012d0d6c800705cf00001301101c..."} 
[2026-08-11 08:43:32] local.INFO: Packet analysis {"connection_id":152049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecf"} 
[2026-08-11 08:43:32] local.INFO: Extracted packet for processing {"connection_id":152049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecf"} 
[2026-08-11 08:43:32] local.INFO: GPS Element Parsed {"raw_longitude":755854464,"raw_latitude":117821184,"longitude_deg":75.5854464,"latitude_deg":11.7821184,"altitude":19,"angle":272,"satellites":28,"speed":32,"hex_longitude":"2d0d6c80","hex_latitude":"0705cf00","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323006208001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27524800427589632,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":969751693674682368,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786417996000,"timestamp_ms":1786417996000,"timestamp_seconds":1786417996,"priority":1,"record_length":96,"hex_timestamp":"0000019feecf60e0"} 
[2026-08-11 08:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:43: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-08-11 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 08:43:32] 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-08-11 08: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-08-11 08:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323006208001,"66":14461,"167":206,"94":11008,"24":32,"16":27524800427589632,"45":969751693674682368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-11 08:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323006208001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:43:32] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 08:43:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27524800427589632,"km_value":27524800427589.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":969751693674682368,"description":"Unknown IO ID 45"} 
[2026-08-11 08:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323006208001,"power":14461,"unknown_167":206,"unknown_94":11008,"ignition":32,"odometer":null,"unknown_45":969751693674682368}} 
[2026-08-11 08:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":152049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623995,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:43:33] local.INFO: GPS data processed {"connection_id":152049,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:43:33] local.INFO: Acknowledgment sent {"connection_id":152049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:43:33] local.INFO: TCP Data received {"connection_id":153385,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:43:33] local.INFO: Processing buffer {"connection_id":153385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:43:33] local.INFO: IMEI packet received {"connection_id":153385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":153385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:43:36] local.INFO: TCP Data received {"connection_id":153385,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:43:36] local.INFO: Processing buffer {"connection_id":153385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:43:36] local.INFO: IMEI packet received {"connection_id":153385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":153385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:43:38] local.INFO: TCP Data received {"connection_id":153385,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:43:38] local.INFO: Processing buffer {"connection_id":153385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:43:38] local.INFO: IMEI packet received {"connection_id":153385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":153385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:43:39] local.INFO: TCP Data received {"connection_id":153385,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feece7e50012d7c8fc005eada98000200fa27..."} 
[2026-08-11 08:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feece7e50012d7c8fc005eada98000200fa27..."} 
[2026-08-11 08:43:39] local.INFO: Processing buffer {"connection_id":153385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feece7e50012d7c8fc005eada98000200fa27..."} 
[2026-08-11 08:43:39] local.INFO: Packet analysis {"connection_id":153385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feece"} 
[2026-08-11 08:43:39] local.INFO: Extracted packet for processing {"connection_id":153385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feece"} 
[2026-08-11 08:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763137984,"raw_latitude":99277464,"longitude_deg":76.3137984,"latitude_deg":9.9277464,"altitude":2,"angle":250,"satellites":39,"speed":19,"hex_longitude":"2d7c8fc0","hex_latitude":"05eada98","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322987520001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117569296594370560,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985455338205861888,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786417938000,"timestamp_ms":1786417938000,"timestamp_seconds":1786417938,"priority":1,"record_length":96,"hex_timestamp":"0000019feece7e50"} 
[2026-08-11 08:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-11 08:43:39] 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-08-11 08: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-08-11 08:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322987520001,"66":12961,"8":206,"87":13824,"24":19,"16":117569296594370560,"45":8985455338205861888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-08-11 08:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322987520001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:43:39] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 08:43:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117569296594370560,"km_value":117569296594370.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985455338205861888,"description":"Unknown IO ID 45"} 
[2026-08-11 08:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322987520001,"power":12961,"unknown_8":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8985455338205861888}} 
[2026-08-11 08:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":153385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:43:39] local.INFO: GPS data processed {"connection_id":153385,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:43:39] local.INFO: Acknowledgment sent {"connection_id":153385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:43:44] local.INFO: TCP Data received {"connection_id":153385,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feece9d90012d7c830005ead460000100ef28..."} 
[2026-08-11 08:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feece9d90012d7c830005ead460000100ef28..."} 
[2026-08-11 08:43:44] local.INFO: Processing buffer {"connection_id":153385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feece9d90012d7c830005ead460000100ef28..."} 
[2026-08-11 08:43:44] local.INFO: Packet analysis {"connection_id":153385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feece"} 
[2026-08-11 08:43:44] local.INFO: Extracted packet for processing {"connection_id":153385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feece"} 
[2026-08-11 08:43:44] local.INFO: GPS Element Parsed {"raw_longitude":763134720,"raw_latitude":99275872,"longitude_deg":76.313472,"latitude_deg":9.9275872,"altitude":1,"angle":239,"satellites":40,"speed":17,"hex_longitude":"2d7c8300","hex_latitude":"05ead460","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322992128001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117569472688029696,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975603714020251648,"note":"Value kept but may cause issues"} 
[2026-08-11 08:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786417946000,"timestamp_ms":1786417946000,"timestamp_seconds":1786417946,"priority":1,"record_length":96,"hex_timestamp":"0000019feece9d90"} 
[2026-08-11 08:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-11 08:43:44] 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-08-11 08: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-08-11 08:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322992128001,"66":12841,"8":206,"87":13824,"24":17,"16":117569472688029696,"45":8975603714020251648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-08-11 08:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322992128001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:43:44] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 08:43:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117569472688029696,"km_value":117569472688029.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975603714020251648,"description":"Unknown IO ID 45"} 
[2026-08-11 08:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322992128001,"power":12841,"unknown_8":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8975603714020251648}} 
[2026-08-11 08:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":153385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:43:44] local.INFO: GPS data processed {"connection_id":153385,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:43:44] local.INFO: Acknowledgment sent {"connection_id":153385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:43:53] local.INFO: TCP Data received {"connection_id":154778,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:43:53] local.INFO: Processing buffer {"connection_id":154778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:43:53] local.INFO: IMEI packet received {"connection_id":154778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":154778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:44:01] local.INFO: TCP Data received {"connection_id":154778,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:44:01] local.INFO: Processing buffer {"connection_id":154778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:44:01] local.INFO: IMEI packet received {"connection_id":154778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":154778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:44:02] local.INFO: TCP Data received {"connection_id":154778,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:44:02] local.INFO: Processing buffer {"connection_id":154778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:44:02] local.INFO: Packet analysis {"connection_id":154778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:44:02] local.INFO: Extracted packet for processing {"connection_id":154778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:44:02] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322884352001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786417818000,"timestamp_ms":1786417818000,"timestamp_seconds":1786417818,"priority":1,"record_length":96,"hex_timestamp":"0000019feecca990"} 
[2026-08-11 08:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 08:44:02] 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-08-11 08: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-08-11 08:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":154778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":154778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":154778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322884352001,"66":26115,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322884352001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:44:02] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:44:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322884352001,"power":26115,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":154778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:44:02] local.INFO: GPS data processed {"connection_id":154778,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:44:02] local.INFO: Acknowledgment sent {"connection_id":154778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:44:03] local.INFO: TCP Data received {"connection_id":152049,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feecf6c98012d0d64000705d098001201221b..."} 
[2026-08-11 08:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecf6c98012d0d64000705d098001201221b..."} 
[2026-08-11 08:44:03] local.INFO: Processing buffer {"connection_id":152049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecf6c98012d0d64000705d098001201221b..."} 
[2026-08-11 08:44:03] local.INFO: Packet analysis {"connection_id":152049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecf"} 
[2026-08-11 08:44:03] local.INFO: Extracted packet for processing {"connection_id":152049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecf"} 
[2026-08-11 08:44:03] local.INFO: GPS Element Parsed {"raw_longitude":755852288,"raw_latitude":117821592,"longitude_deg":75.5852288,"latitude_deg":11.7821592,"altitude":18,"angle":290,"satellites":27,"speed":23,"hex_longitude":"2d0d6400","hex_latitude":"0705d098","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323006976001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27524907801772032,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":967288787628392448,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786417999000,"timestamp_ms":1786417999000,"timestamp_seconds":1786417999,"priority":1,"record_length":96,"hex_timestamp":"0000019feecf6c98"} 
[2026-08-11 08:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:44: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-08-11 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 08:44:03] 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-08-11 08: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-08-11 08:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323006976001,"66":14407,"167":206,"94":11008,"24":23,"16":27524907801772032,"45":967288787628392448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-11 08:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323006976001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:44:03] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 08:44:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27524907801772032,"km_value":27524907801772.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":967288787628392448,"description":"Unknown IO ID 45"} 
[2026-08-11 08:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323006976001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":967288787628392448}} 
[2026-08-11 08:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":152049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623999,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:44:03] local.INFO: GPS data processed {"connection_id":152049,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:44:03] local.INFO: Acknowledgment sent {"connection_id":152049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:44:15] local.INFO: TCP Data received {"connection_id":153385,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feeceb8e8012d7c7c0005ead0980002010228..."} 
[2026-08-11 08:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeceb8e8012d7c7c0005ead0980002010228..."} 
[2026-08-11 08:44:15] local.INFO: Processing buffer {"connection_id":153385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeceb8e8012d7c7c0005ead0980002010228..."} 
[2026-08-11 08:44:15] local.INFO: Packet analysis {"connection_id":153385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feece"} 
[2026-08-11 08:44:15] local.INFO: Extracted packet for processing {"connection_id":153385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feece"} 
[2026-08-11 08:44:15] local.INFO: GPS Element Parsed {"raw_longitude":763132928,"raw_latitude":99274904,"longitude_deg":76.3132928,"latitude_deg":9.9274904,"altitude":2,"angle":258,"satellites":40,"speed":5,"hex_longitude":"2d7c7c00","hex_latitude":"05ead098","is_valid_coordinates":true} 
[2026-08-11 08:44: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-08-11 08:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322994176001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117569567177310208,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972014908066783232,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786417953000,"timestamp_ms":1786417953000,"timestamp_seconds":1786417953,"priority":1,"record_length":96,"hex_timestamp":"0000019feeceb8e8"} 
[2026-08-11 08:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:44: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 08:44:15] 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-08-11 08:44: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-08-11 08:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322994176001,"66":13015,"8":206,"87":13824,"24":5,"16":117569567177310208,"45":8972014908066783232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-08-11 08:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322994176001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:44:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 08:44:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117569567177310208,"km_value":117569567177310.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972014908066783232,"description":"Unknown IO ID 45"} 
[2026-08-11 08:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322994176001,"power":13015,"unknown_8":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8972014908066783232}} 
[2026-08-11 08:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":153385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:44:15] local.INFO: GPS data processed {"connection_id":153385,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:44:15] local.INFO: Acknowledgment sent {"connection_id":153385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:44:29] local.INFO: TCP Data received {"connection_id":152050,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152050,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:44:29] local.INFO: Processing buffer {"connection_id":152050,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:44:29] local.INFO: IMEI packet received {"connection_id":152050,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":152050,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:44:33] local.INFO: TCP Data received {"connection_id":154778,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:44:33] local.INFO: Processing buffer {"connection_id":154778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:44:33] local.INFO: Packet analysis {"connection_id":154778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:44:33] local.INFO: Extracted packet for processing {"connection_id":154778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322884352001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786417818000,"timestamp_ms":1786417818000,"timestamp_seconds":1786417818,"priority":1,"record_length":96,"hex_timestamp":"0000019feecca990"} 
[2026-08-11 08:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 08:44:33] 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-08-11 08: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-08-11 08:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":154778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":154778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":154778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322884352001,"66":26115,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322884352001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:44:33] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:44:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322884352001,"power":26115,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":154778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:44:33] local.INFO: GPS data processed {"connection_id":154778,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:44:33] local.INFO: Acknowledgment sent {"connection_id":154778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:44:33] local.INFO: TCP Data received {"connection_id":153386,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:44:33] local.INFO: Processing buffer {"connection_id":153386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:44:33] local.INFO: IMEI packet received {"connection_id":153386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":153386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:44:34] local.INFO: TCP Data received {"connection_id":152050,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152050,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:44:34] local.INFO: Processing buffer {"connection_id":152050,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:44:34] local.INFO: IMEI packet received {"connection_id":152050,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":152050,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:44:35] local.INFO: TCP Data received {"connection_id":152050,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feed037b8012d0d5cc007061b18001400071b..."} 
[2026-08-11 08:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed037b8012d0d5cc007061b18001400071b..."} 
[2026-08-11 08:44:35] local.INFO: Processing buffer {"connection_id":152050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed037b8012d0d5cc007061b18001400071b..."} 
[2026-08-11 08:44:35] local.INFO: Packet analysis {"connection_id":152050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed0"} 
[2026-08-11 08:44:35] local.INFO: Extracted packet for processing {"connection_id":152050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed0"} 
[2026-08-11 08:44:35] local.INFO: GPS Element Parsed {"raw_longitude":755850432,"raw_latitude":117840664,"longitude_deg":75.5850432,"latitude_deg":11.7840664,"altitude":20,"angle":7,"satellites":27,"speed":14,"hex_longitude":"2d0d5cc0","hex_latitude":"07061b18","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323016448001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27525887054315520,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963277769212921856,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786418051000,"timestamp_ms":1786418051000,"timestamp_seconds":1786418051,"priority":1,"record_length":96,"hex_timestamp":"0000019feed037b8"} 
[2026-08-11 08:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:44:35] 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-08-11 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 08:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 08: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-08-11 08:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152050,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152050,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323016448001,"66":14407,"167":206,"94":11008,"24":14,"16":27525887054315520,"45":963277769212921856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-11 08:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323016448001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:44:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 08:44:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27525887054315520,"km_value":27525887054315.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":963277769212921856,"description":"Unknown IO ID 45"} 
[2026-08-11 08:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323016448001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":963277769212921856}} 
[2026-08-11 08:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":152050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624002,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:44:35] local.INFO: GPS data processed {"connection_id":152050,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:44:35] local.INFO: Acknowledgment sent {"connection_id":152050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:44:38] local.INFO: TCP Data received {"connection_id":153386,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:44:38] local.INFO: Processing buffer {"connection_id":153386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:44:38] local.INFO: IMEI packet received {"connection_id":153386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":153386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:44:39] local.INFO: TCP Data received {"connection_id":153386,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feecf0708012d7c7bc005ead0500002010224..."} 
[2026-08-11 08:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecf0708012d7c7bc005ead0500002010224..."} 
[2026-08-11 08:44:39] local.INFO: Processing buffer {"connection_id":153386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecf0708012d7c7bc005ead0500002010224..."} 
[2026-08-11 08:44:39] local.INFO: Packet analysis {"connection_id":153386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecf"} 
[2026-08-11 08:44:39] local.INFO: Extracted packet for processing {"connection_id":153386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecf"} 
[2026-08-11 08:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763132864,"raw_latitude":99274832,"longitude_deg":76.3132864,"latitude_deg":9.9274832,"altitude":2,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d7c7bc0","hex_latitude":"05ead050","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322995968001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117569575767244800,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970044583229560832,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786417973000,"timestamp_ms":1786417973000,"timestamp_seconds":1786417973,"priority":1,"record_length":96,"hex_timestamp":"0000019feecf0708"} 
[2026-08-11 08:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-11 08:44:39] 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-08-11 08: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-08-11 08:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322995968001,"66":12972,"8":206,"87":13824,"24":0,"16":117569575767244800,"45":8970044583229560832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-08-11 08:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322995968001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:44:39] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 08:44:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117569575767244800,"km_value":117569575767244.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970044583229560832,"description":"Unknown IO ID 45"} 
[2026-08-11 08:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322995968001,"power":12972,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8970044583229560832}} 
[2026-08-11 08:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":153386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:44:39] local.INFO: GPS data processed {"connection_id":153386,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:44:39] local.INFO: Acknowledgment sent {"connection_id":153386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:44:53] local.INFO: TCP Data received {"connection_id":153387,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:44:53] local.INFO: Processing buffer {"connection_id":153387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:44:53] local.INFO: IMEI packet received {"connection_id":153387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":153387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:44:58] local.INFO: TCP Data received {"connection_id":153387,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:44:58] local.INFO: Processing buffer {"connection_id":153387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:44:58] local.INFO: IMEI packet received {"connection_id":153387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":153387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:44:59] local.INFO: TCP Data received {"connection_id":153387,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:44:59] local.INFO: Processing buffer {"connection_id":153387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:44:59] local.INFO: Packet analysis {"connection_id":153387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:44:59] local.INFO: Extracted packet for processing {"connection_id":153387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322884352001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786417818000,"timestamp_ms":1786417818000,"timestamp_seconds":1786417818,"priority":1,"record_length":96,"hex_timestamp":"0000019feecca990"} 
[2026-08-11 08:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 08:44:59] 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-08-11 08: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-08-11 08:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:44:59] 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-08-11 08:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322884352001,"66":26115,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322884352001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:44:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:44:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322884352001,"power":26115,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":153387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:44:59] local.INFO: GPS data processed {"connection_id":153387,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:44:59] local.INFO: Acknowledgment sent {"connection_id":153387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:45:06] local.INFO: TCP Data received {"connection_id":152050,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feed04758012d0d5e4007061f680017001a1b..."} 
[2026-08-11 08:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed04758012d0d5e4007061f680017001a1b..."} 
[2026-08-11 08:45:06] local.INFO: Processing buffer {"connection_id":152050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed04758012d0d5e4007061f680017001a1b..."} 
[2026-08-11 08:45:06] local.INFO: Packet analysis {"connection_id":152050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed0"} 
[2026-08-11 08:45:06] local.INFO: Extracted packet for processing {"connection_id":152050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed0"} 
[2026-08-11 08:45:06] local.INFO: GPS Element Parsed {"raw_longitude":755850816,"raw_latitude":117841768,"longitude_deg":75.5850816,"latitude_deg":11.7841768,"altitude":23,"angle":26,"satellites":27,"speed":9,"hex_longitude":"2d0d5e40","hex_latitude":"07061f68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 08:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323021056001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27525942888890368,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":962855556750186496,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786418055000,"timestamp_ms":1786418055000,"timestamp_seconds":1786418055,"priority":1,"record_length":96,"hex_timestamp":"0000019feed04758"} 
[2026-08-11 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-08-11 08:45:06] 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-08-11 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 08:45:06] 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-08-11 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-08-11 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-08-11 08:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152050,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152050,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323021056001,"66":14428,"167":206,"94":11008,"24":9,"16":27525942888890368,"45":962855556750186496},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-11 08:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323021056001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:45:06] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 08:45:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27525942888890368,"km_value":27525942888890.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":962855556750186496,"description":"Unknown IO ID 45"} 
[2026-08-11 08:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323021056001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":962855556750186496}} 
[2026-08-11 08:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":152050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624005,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:45:06] local.INFO: GPS data processed {"connection_id":152050,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:45:06] local.INFO: Acknowledgment sent {"connection_id":152050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:45:10] local.INFO: TCP Data received {"connection_id":153386,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feecf5910012d7c7bc005ead0500002010226..."} 
[2026-08-11 08:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecf5910012d7c7bc005ead0500002010226..."} 
[2026-08-11 08:45:10] local.INFO: Processing buffer {"connection_id":153386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecf5910012d7c7bc005ead0500002010226..."} 
[2026-08-11 08:45:10] local.INFO: Packet analysis {"connection_id":153386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecf"} 
[2026-08-11 08:45:10] local.INFO: Extracted packet for processing {"connection_id":153386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecf"} 
[2026-08-11 08:45:10] local.INFO: GPS Element Parsed {"raw_longitude":763132864,"raw_latitude":99274832,"longitude_deg":76.3132864,"latitude_deg":9.9274832,"altitude":2,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d7c7bc0","hex_latitude":"05ead050","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323001088001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117569575767244800,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969974214485364736,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786417994000,"timestamp_ms":1786417994000,"timestamp_seconds":1786417994,"priority":1,"record_length":96,"hex_timestamp":"0000019feecf5910"} 
[2026-08-11 08:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-11 08:45:10] 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-08-11 08: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-08-11 08:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323001088001,"66":12906,"8":206,"87":13824,"24":0,"16":117569575767244800,"45":8969974214485364736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-08-11 08:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323001088001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:45:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 08:45:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117569575767244800,"km_value":117569575767244.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969974214485364736,"description":"Unknown IO ID 45"} 
[2026-08-11 08:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323001088001,"power":12906,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8969974214485364736}} 
[2026-08-11 08:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":153386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:45:11] local.INFO: GPS data processed {"connection_id":153386,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:45:11] local.INFO: Acknowledgment sent {"connection_id":153386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:45:29] local.INFO: TCP Data received {"connection_id":152440,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152440,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:45:29] local.INFO: Processing buffer {"connection_id":152440,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:45:29] local.INFO: IMEI packet received {"connection_id":152440,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":152440,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:45:30] local.INFO: TCP Data received {"connection_id":153387,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:45:30] local.INFO: Processing buffer {"connection_id":153387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecca990012d85584006119ea8001401132f..."} 
[2026-08-11 08:45:30] local.INFO: Packet analysis {"connection_id":153387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:45:30] local.INFO: Extracted packet for processing {"connection_id":153387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecc"} 
[2026-08-11 08:45:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":20,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322884352001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786417818000,"timestamp_ms":1786417818000,"timestamp_seconds":1786417818,"priority":1,"record_length":96,"hex_timestamp":"0000019feecca990"} 
[2026-08-11 08:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 08:45:30] 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-08-11 08: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-08-11 08:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:45:30] 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-08-11 08:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322884352001,"66":26115,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322884352001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:45:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:45:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322884352001,"power":26115,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":153387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:45:30] local.INFO: GPS data processed {"connection_id":153387,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:45:30] local.INFO: Acknowledgment sent {"connection_id":153387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:45:33] local.INFO: TCP Data received {"connection_id":154779,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:45:33] local.INFO: Processing buffer {"connection_id":154779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:45:33] local.INFO: IMEI packet received {"connection_id":154779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":154779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:45:34] local.INFO: TCP Data received {"connection_id":152440,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152440,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:45:34] local.INFO: Processing buffer {"connection_id":152440,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:45:34] local.INFO: IMEI packet received {"connection_id":152440,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":152440,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:45:35] local.INFO: TCP Data received {"connection_id":152440,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feed0eb68012d0da08007064ba8001700041b..."} 
[2026-08-11 08:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed0eb68012d0da08007064ba8001700041b..."} 
[2026-08-11 08:45:35] local.INFO: Processing buffer {"connection_id":152440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed0eb68012d0da08007064ba8001700041b..."} 
[2026-08-11 08:45:35] local.INFO: Packet analysis {"connection_id":152440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed0"} 
[2026-08-11 08:45:35] local.INFO: Extracted packet for processing {"connection_id":152440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed0"} 
[2026-08-11 08:45:35] local.INFO: GPS Element Parsed {"raw_longitude":755867776,"raw_latitude":117853096,"longitude_deg":75.5867776,"latitude_deg":11.7853096,"altitude":23,"angle":4,"satellites":27,"speed":26,"hex_longitude":"2d0da080","hex_latitude":"07064ba8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323031040001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27527111119994880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982488436377812992,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786418097000,"timestamp_ms":1786418097000,"timestamp_seconds":1786418097,"priority":1,"record_length":96,"hex_timestamp":"0000019feed0eb68"} 
[2026-08-11 08:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:45: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-08-11 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 08:45:35] 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-08-11 08: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-08-11 08:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323031040001,"66":14428,"167":206,"94":11008,"24":26,"16":27527111119994880,"45":982488436377812992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-11 08:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323031040001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:45:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 08:45:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27527111119994880,"km_value":27527111119994.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":982488436377812992,"description":"Unknown IO ID 45"} 
[2026-08-11 08:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323031040001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":982488436377812992}} 
[2026-08-11 08:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":152440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624008,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:45:35] local.INFO: GPS data processed {"connection_id":152440,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:45:35] local.INFO: Acknowledgment sent {"connection_id":152440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:45:38] local.INFO: TCP Data received {"connection_id":154779,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:45:38] local.INFO: Processing buffer {"connection_id":154779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:45:38] local.INFO: IMEI packet received {"connection_id":154779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":154779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:45:39] local.INFO: TCP Data received {"connection_id":154779,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feecfab18012d7c7bc005ead0500002010226..."} 
[2026-08-11 08:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feecfab18012d7c7bc005ead0500002010226..."} 
[2026-08-11 08:45:39] local.INFO: Processing buffer {"connection_id":154779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feecfab18012d7c7bc005ead0500002010226..."} 
[2026-08-11 08:45:39] local.INFO: Packet analysis {"connection_id":154779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feecf"} 
[2026-08-11 08:45:39] local.INFO: Extracted packet for processing {"connection_id":154779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feecf"} 
[2026-08-11 08:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763132864,"raw_latitude":99274832,"longitude_deg":76.3132864,"latitude_deg":9.9274832,"altitude":2,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d7c7bc0","hex_latitude":"05ead050","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323006464001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117569575767244800,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969974214485364736,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786418015000,"timestamp_ms":1786418015000,"timestamp_seconds":1786418015,"priority":1,"record_length":96,"hex_timestamp":"0000019feecfab18"} 
[2026-08-11 08:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-11 08:45:39] 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-08-11 08: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-08-11 08:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323006464001,"66":13222,"8":206,"87":13824,"24":0,"16":117569575767244800,"45":8969974214485364736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-08-11 08:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323006464001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:45:39] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 08:45:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117569575767244800,"km_value":117569575767244.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969974214485364736,"description":"Unknown IO ID 45"} 
[2026-08-11 08:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323006464001,"power":13222,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8969974214485364736}} 
[2026-08-11 08:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":154779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:45:39] local.INFO: GPS data processed {"connection_id":154779,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:45:39] local.INFO: Acknowledgment sent {"connection_id":154779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:45:53] local.INFO: TCP Data received {"connection_id":152051,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:45:53] local.INFO: Processing buffer {"connection_id":152051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:45:53] local.INFO: IMEI packet received {"connection_id":152051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":152051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:45:57] local.INFO: TCP Data received {"connection_id":152051,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:45:57] local.INFO: Processing buffer {"connection_id":152051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:45:57] local.INFO: IMEI packet received {"connection_id":152051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":152051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:45:58] local.INFO: TCP Data received {"connection_id":152051,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:45:58] local.INFO: Processing buffer {"connection_id":152051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:45:58] local.INFO: IMEI packet received {"connection_id":152051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":152051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:45:59] local.INFO: TCP Data received {"connection_id":152051,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:45:59] local.INFO: Processing buffer {"connection_id":152051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:45:59] local.INFO: Packet analysis {"connection_id":152051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:45:59] local.INFO: Extracted packet for processing {"connection_id":152051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":36,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322961408001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786418119000,"timestamp_ms":1786418119000,"timestamp_seconds":1786418119,"priority":1,"record_length":96,"hex_timestamp":"0000019feed14158"} 
[2026-08-11 08:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 08:45:59] 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-08-11 08: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-08-11 08:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:45:59] 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-08-11 08:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322961408001,"66":26006,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322961408001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:45:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:45:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322961408001,"power":26006,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":152051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:45:59] local.INFO: GPS data processed {"connection_id":152051,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:45:59] local.INFO: Acknowledgment sent {"connection_id":152051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:46:03] local.INFO: TCP Data received {"connection_id":152051,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:46:03] local.INFO: Processing buffer {"connection_id":152051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:46:03] local.INFO: Packet analysis {"connection_id":152051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:46:03] local.INFO: Extracted packet for processing {"connection_id":152051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:46:03] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":36,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322961408001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786418119000,"timestamp_ms":1786418119000,"timestamp_seconds":1786418119,"priority":1,"record_length":96,"hex_timestamp":"0000019feed14158"} 
[2026-08-11 08:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 08:46:03] 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-08-11 08: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-08-11 08:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:46:03] 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-08-11 08:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322961408001,"66":26006,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322961408001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:46:03] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:46:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322961408001,"power":26006,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":152051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:46:03] local.INFO: GPS data processed {"connection_id":152051,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:46:03] local.INFO: Acknowledgment sent {"connection_id":152051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:46:05] local.INFO: TCP Data received {"connection_id":152440,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feed13d70012d0da240070653c00017000a1a..."} 
[2026-08-11 08:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed13d70012d0da240070653c00017000a1a..."} 
[2026-08-11 08:46:05] local.INFO: Processing buffer {"connection_id":152440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed13d70012d0da240070653c00017000a1a..."} 
[2026-08-11 08:46:05] local.INFO: Packet analysis {"connection_id":152440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:46:05] local.INFO: Extracted packet for processing {"connection_id":152440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:46:05] local.INFO: GPS Element Parsed {"raw_longitude":755868224,"raw_latitude":117855168,"longitude_deg":75.5868224,"latitude_deg":11.7855168,"altitude":23,"angle":10,"satellites":26,"speed":0,"hex_longitude":"2d0da240","hex_latitude":"070653c0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323032832001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27527218494177280,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981925486425516032,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786418118000,"timestamp_ms":1786418118000,"timestamp_seconds":1786418118,"priority":1,"record_length":96,"hex_timestamp":"0000019feed13d70"} 
[2026-08-11 08:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:46:05] 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-08-11 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 08:46:05] 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-08-11 08: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-08-11 08:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323032832001,"66":14537,"167":206,"94":11008,"24":0,"16":27527218494177280,"45":981925486425516032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-11 08:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323032832001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:46:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 08:46:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 08:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27527218494177280,"km_value":27527218494177.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":981925486425516032,"description":"Unknown IO ID 45"} 
[2026-08-11 08:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323032832001,"power":14537,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":981925486425516032}} 
[2026-08-11 08:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":152440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624012,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:46:06] local.INFO: GPS data processed {"connection_id":152440,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:46:06] local.INFO: Acknowledgment sent {"connection_id":152440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:46:10] local.INFO: TCP Data received {"connection_id":154779,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed1e950012d7c3c0005eb05580002015c25..."} 
[2026-08-11 08:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed1e950012d7c3c0005eb05580002015c25..."} 
[2026-08-11 08:46:10] local.INFO: Processing buffer {"connection_id":154779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed1e950012d7c3c0005eb05580002015c25..."} 
[2026-08-11 08:46:10] local.INFO: Packet analysis {"connection_id":154779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:46:10] local.INFO: Extracted packet for processing {"connection_id":154779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763116544,"raw_latitude":99288408,"longitude_deg":76.3116544,"latitude_deg":9.9288408,"altitude":2,"angle":348,"satellites":37,"speed":24,"hex_longitude":"2d7c3c00","hex_latitude":"05eb0558","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323048448001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117571117660504064,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952170922211282944,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786418162000,"timestamp_ms":1786418162000,"timestamp_seconds":1786418162,"priority":1,"record_length":96,"hex_timestamp":"0000019feed1e950"} 
[2026-08-11 08:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 08:46:10] 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-08-11 08: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-08-11 08:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323048448001,"66":12645,"10":206,"87":13824,"24":24,"16":117571117660504064,"45":8952170922211282944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-11 08:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323048448001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:46:10] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 08:46:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117571117660504064,"km_value":117571117660504.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952170922211282944,"description":"Unknown IO ID 45"} 
[2026-08-11 08:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323048448001,"power":12645,"unknown_10":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8952170922211282944}} 
[2026-08-11 08:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":154779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:46:10] local.INFO: GPS data processed {"connection_id":154779,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:46:10] local.INFO: Acknowledgment sent {"connection_id":154779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:46:29] local.INFO: TCP Data received {"connection_id":153388,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:46:29] local.INFO: Processing buffer {"connection_id":153388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:46:29] local.INFO: IMEI packet received {"connection_id":153388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":153388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:46:30] local.INFO: TCP Data received {"connection_id":153388,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:46:30] local.INFO: Processing buffer {"connection_id":153388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:46:30] local.INFO: IMEI packet received {"connection_id":153388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":153388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:46:31] local.INFO: TCP Data received {"connection_id":153388,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:46:31] local.INFO: Processing buffer {"connection_id":153388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:46:31] local.INFO: IMEI packet received {"connection_id":153388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":153388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:46:32] local.INFO: TCP Data received {"connection_id":153388,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:46:32] local.INFO: Processing buffer {"connection_id":153388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:46:32] local.INFO: IMEI packet received {"connection_id":153388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":153388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:46:35] local.INFO: TCP Data received {"connection_id":152051,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:46:35] local.INFO: Processing buffer {"connection_id":152051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:46:35] local.INFO: Packet analysis {"connection_id":152051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:46:35] local.INFO: Extracted packet for processing {"connection_id":152051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:46:35] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":36,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322961408001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786418119000,"timestamp_ms":1786418119000,"timestamp_seconds":1786418119,"priority":1,"record_length":96,"hex_timestamp":"0000019feed14158"} 
[2026-08-11 08:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 08:46:35] 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-08-11 08: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-08-11 08:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:46:35] 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-08-11 08:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322961408001,"66":26006,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322961408001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:46:35] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:46:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322961408001,"power":26006,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":152051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:46:35] local.INFO: GPS data processed {"connection_id":152051,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:46:35] local.INFO: Acknowledgment sent {"connection_id":152051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:46:38] local.INFO: TCP Data received {"connection_id":154780,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:46:38] local.INFO: Processing buffer {"connection_id":154780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:46:38] local.INFO: IMEI packet received {"connection_id":154780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":154780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:46:47] local.INFO: TCP Data received {"connection_id":154780,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:46:47] local.INFO: Processing buffer {"connection_id":154780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:46:47] local.INFO: IMEI packet received {"connection_id":154780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":154780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:46:48] local.INFO: TCP Data received {"connection_id":154780,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed1f120012d7c3a8005eb09d80003014d26..."} 
[2026-08-11 08:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed1f120012d7c3a8005eb09d80003014d26..."} 
[2026-08-11 08:46:48] local.INFO: Processing buffer {"connection_id":154780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed1f120012d7c3a8005eb09d80003014d26..."} 
[2026-08-11 08:46:48] local.INFO: Packet analysis {"connection_id":154780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:46:48] local.INFO: Extracted packet for processing {"connection_id":154780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:46:48] local.INFO: GPS Element Parsed {"raw_longitude":763116160,"raw_latitude":99289560,"longitude_deg":76.311616,"latitude_deg":9.928956,"altitude":3,"angle":333,"satellites":38,"speed":23,"hex_longitude":"2d7c3a80","hex_latitude":"05eb09d8","is_valid_coordinates":true} 
[2026-08-11 08:46: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-08-11 08:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323049472001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117571177790046208,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952030184723535872,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786418164000,"timestamp_ms":1786418164000,"timestamp_seconds":1786418164,"priority":1,"record_length":96,"hex_timestamp":"0000019feed1f120"} 
[2026-08-11 08:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:46: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 08:46:48] 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-08-11 08:46: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-08-11 08:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323049472001,"66":13374,"10":206,"87":13824,"24":23,"16":117571177790046208,"45":8952030184723535872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-11 08:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323049472001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:46:48] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 08:46:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117571177790046208,"km_value":117571177790046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952030184723535872,"description":"Unknown IO ID 45"} 
[2026-08-11 08:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323049472001,"power":13374,"unknown_10":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8952030184723535872}} 
[2026-08-11 08:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":154780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:46:48] local.INFO: GPS data processed {"connection_id":154780,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:46:48] local.INFO: Acknowledgment sent {"connection_id":154780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:46:49] local.INFO: TCP Data received {"connection_id":154780,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed1f8f0012d7c37c005eb0d980003013b28..."} 
[2026-08-11 08:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed1f8f0012d7c37c005eb0d980003013b28..."} 
[2026-08-11 08:46:49] local.INFO: Processing buffer {"connection_id":154780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed1f8f0012d7c37c005eb0d980003013b28..."} 
[2026-08-11 08:46:49] local.INFO: Packet analysis {"connection_id":154780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:46:49] local.INFO: Extracted packet for processing {"connection_id":154780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:46:49] local.INFO: GPS Element Parsed {"raw_longitude":763115456,"raw_latitude":99290520,"longitude_deg":76.3115456,"latitude_deg":9.929052,"altitude":3,"angle":315,"satellites":40,"speed":23,"hex_longitude":"2d7c37c0","hex_latitude":"05eb0d98","is_valid_coordinates":true} 
[2026-08-11 08:46: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-08-11 08:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323049984001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117571233624621056,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951607972258764800,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786418166000,"timestamp_ms":1786418166000,"timestamp_seconds":1786418166,"priority":1,"record_length":96,"hex_timestamp":"0000019feed1f8f0"} 
[2026-08-11 08:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:46: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":62,"data_length":795,"current_offset":136} 
[2026-08-11 08:46:49] 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-08-11 08:46: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-08-11 08:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323049984001,"66":12689,"10":206,"87":13824,"24":23,"16":117571233624621056,"45":8951607972258764800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-11 08:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323049984001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:46:49] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 08:46:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117571233624621056,"km_value":117571233624621.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951607972258764800,"description":"Unknown IO ID 45"} 
[2026-08-11 08:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323049984001,"power":12689,"unknown_10":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8951607972258764800}} 
[2026-08-11 08:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":154780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:46:49] local.INFO: GPS data processed {"connection_id":154780,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:46:49] local.INFO: Acknowledgment sent {"connection_id":154780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:46:53] local.INFO: TCP Data received {"connection_id":154781,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:46:53] local.INFO: Processing buffer {"connection_id":154781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:46:53] local.INFO: IMEI packet received {"connection_id":154781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":154781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:46:58] local.INFO: TCP Data received {"connection_id":154781,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:46:58] local.INFO: Processing buffer {"connection_id":154781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:46:58] local.INFO: IMEI packet received {"connection_id":154781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":154781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:46:59] local.INFO: TCP Data received {"connection_id":154781,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:46:59] local.INFO: Processing buffer {"connection_id":154781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:46:59] local.INFO: Packet analysis {"connection_id":154781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:46:59] local.INFO: Extracted packet for processing {"connection_id":154781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:46:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":36,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322961408001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786418119000,"timestamp_ms":1786418119000,"timestamp_seconds":1786418119,"priority":1,"record_length":96,"hex_timestamp":"0000019feed14158"} 
[2026-08-11 08:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 08:46:59] 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-08-11 08: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-08-11 08:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:46:59] 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-08-11 08:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322961408001,"66":26006,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322961408001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:46:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:46:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322961408001,"power":26006,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":154781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:46:59] local.INFO: GPS data processed {"connection_id":154781,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:46:59] local.INFO: Acknowledgment sent {"connection_id":154781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:47:30] local.INFO: TCP Data received {"connection_id":154781,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:47:30] local.INFO: Processing buffer {"connection_id":154781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:47:30] local.INFO: Packet analysis {"connection_id":154781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:47:30] local.INFO: Extracted packet for processing {"connection_id":154781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:47:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":36,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:47: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-08-11 08:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322961408001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786418119000,"timestamp_ms":1786418119000,"timestamp_seconds":1786418119,"priority":1,"record_length":96,"hex_timestamp":"0000019feed14158"} 
[2026-08-11 08:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:47: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 08:47:30] 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-08-11 08:47: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-08-11 08:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:47:30] 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-08-11 08:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322961408001,"66":26006,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322961408001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:47:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:47:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322961408001,"power":26006,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":154781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:47:30] local.INFO: GPS data processed {"connection_id":154781,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:47:30] local.INFO: Acknowledgment sent {"connection_id":154781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:47:38] local.INFO: TCP Data received {"connection_id":152052,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:47:38] local.INFO: Processing buffer {"connection_id":152052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:47:38] local.INFO: IMEI packet received {"connection_id":152052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":152052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:47:39] local.INFO: TCP Data received {"connection_id":152052,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:47:39] local.INFO: Processing buffer {"connection_id":152052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:47:39] local.INFO: IMEI packet received {"connection_id":152052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":152052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:47:54] local.INFO: TCP Data received {"connection_id":153389,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:47:54] local.INFO: Processing buffer {"connection_id":153389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:47:54] local.INFO: IMEI packet received {"connection_id":153389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":153389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:47:58] local.INFO: TCP Data received {"connection_id":153389,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:47:58] local.INFO: Processing buffer {"connection_id":153389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:47:58] local.INFO: IMEI packet received {"connection_id":153389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":153389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:47:59] local.INFO: TCP Data received {"connection_id":153389,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:47:59] local.INFO: Processing buffer {"connection_id":153389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:47:59] local.INFO: Packet analysis {"connection_id":153389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:47:59] local.INFO: Extracted packet for processing {"connection_id":153389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":36,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322961408001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786418119000,"timestamp_ms":1786418119000,"timestamp_seconds":1786418119,"priority":1,"record_length":96,"hex_timestamp":"0000019feed14158"} 
[2026-08-11 08:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 08:47:59] 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-08-11 08: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-08-11 08:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:47:59] 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-08-11 08:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322961408001,"66":26006,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322961408001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:47:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:47:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322961408001,"power":26006,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":153389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:47:59] local.INFO: GPS data processed {"connection_id":153389,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:47:59] local.INFO: Acknowledgment sent {"connection_id":153389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:48:04] local.INFO: TCP Data received {"connection_id":152052,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed204a8012d7c32c005eb12e00003014728..."} 
[2026-08-11 08:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed204a8012d7c32c005eb12e00003014728..."} 
[2026-08-11 08:48:04] local.INFO: Processing buffer {"connection_id":152052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed204a8012d7c32c005eb12e00003014728..."} 
[2026-08-11 08:48:04] local.INFO: Packet analysis {"connection_id":152052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed2"} 
[2026-08-11 08:48:04] local.INFO: Extracted packet for processing {"connection_id":152052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed2"} 
[2026-08-11 08:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763114176,"raw_latitude":99291872,"longitude_deg":76.3114176,"latitude_deg":9.9291872,"altitude":3,"angle":327,"satellites":40,"speed":25,"hex_longitude":"2d7c32c0","hex_latitude":"05eb12e0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323050496001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117571323818934272,"note":"Value kept but may cause issues"} 
[2026-08-11 08:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950833916073056256,"note":"Value kept but may cause issues"} 
[2026-08-11 08:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786418169000,"timestamp_ms":1786418169000,"timestamp_seconds":1786418169,"priority":1,"record_length":96,"hex_timestamp":"0000019feed204a8"} 
[2026-08-11 08:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 08:48: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-08-11 08: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-08-11 08:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323050496001,"66":13396,"10":206,"87":13824,"24":25,"16":117571323818934272,"45":8950833916073056256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-11 08:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323050496001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:48:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 08:48:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117571323818934272,"km_value":117571323818934.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950833916073056256,"description":"Unknown IO ID 45"} 
[2026-08-11 08:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323050496001,"power":13396,"unknown_10":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8950833916073056256}} 
[2026-08-11 08:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":152052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:48:05] local.INFO: GPS data processed {"connection_id":152052,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:48:05] local.INFO: Acknowledgment sent {"connection_id":152052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:48:06] local.INFO: TCP Data received {"connection_id":152052,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed20c78012d7c310005eb17880004015829..."} 
[2026-08-11 08:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed20c78012d7c310005eb17880004015829..."} 
[2026-08-11 08:48:06] local.INFO: Processing buffer {"connection_id":152052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed20c78012d7c310005eb17880004015829..."} 
[2026-08-11 08:48:06] local.INFO: Packet analysis {"connection_id":152052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed2"} 
[2026-08-11 08:48:06] local.INFO: Extracted packet for processing {"connection_id":152052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed2"} 
[2026-08-11 08:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763113728,"raw_latitude":99293064,"longitude_deg":76.3113728,"latitude_deg":9.9293064,"altitude":4,"angle":344,"satellites":41,"speed":25,"hex_longitude":"2d7c3100","hex_latitude":"05eb1788","is_valid_coordinates":true} 
[2026-08-11 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-08-11 08:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323051264001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117571388243443712,"note":"Value kept but may cause issues"} 
[2026-08-11 08:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949426541189849088,"note":"Value kept but may cause issues"} 
[2026-08-11 08:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786418171000,"timestamp_ms":1786418171000,"timestamp_seconds":1786418171,"priority":1,"record_length":96,"hex_timestamp":"0000019feed20c78"} 
[2026-08-11 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-08-11 08:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-11 08:48:06] 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-08-11 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-08-11 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-08-11 08:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323051264001,"66":13396,"10":206,"87":13824,"24":25,"16":117571388243443712,"45":8949426541189849088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-11 08:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323051264001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:48:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 08:48:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117571388243443712,"km_value":117571388243443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949426541189849088,"description":"Unknown IO ID 45"} 
[2026-08-11 08:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323051264001,"power":13396,"unknown_10":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8949426541189849088}} 
[2026-08-11 08:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":152052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:48:06] local.INFO: GPS data processed {"connection_id":152052,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:48:06] local.INFO: Acknowledgment sent {"connection_id":152052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:48:30] local.INFO: TCP Data received {"connection_id":153389,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:48:30] local.INFO: Processing buffer {"connection_id":153389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:48:30] local.INFO: Packet analysis {"connection_id":153389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:48:30] local.INFO: Extracted packet for processing {"connection_id":153389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:48:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":36,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:48: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-08-11 08:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322961408001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786418119000,"timestamp_ms":1786418119000,"timestamp_seconds":1786418119,"priority":1,"record_length":96,"hex_timestamp":"0000019feed14158"} 
[2026-08-11 08:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:48: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 08:48:30] 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-08-11 08:48: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-08-11 08:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:48:30] 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-08-11 08:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322961408001,"66":26006,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322961408001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:48:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:48:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322961408001,"power":26006,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":153389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:48:30] local.INFO: GPS data processed {"connection_id":153389,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:48:30] local.INFO: Acknowledgment sent {"connection_id":153389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:48:30] local.INFO: TCP Data received {"connection_id":153390,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:48:30] local.INFO: Processing buffer {"connection_id":153390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:48:30] local.INFO: IMEI packet received {"connection_id":153390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":153390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:48:33] local.INFO: TCP Data received {"connection_id":153390,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:48:33] local.INFO: Processing buffer {"connection_id":153390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:48:33] local.INFO: IMEI packet received {"connection_id":153390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":153390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:48:38] local.INFO: TCP Data received {"connection_id":153390,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:48:38] local.INFO: Processing buffer {"connection_id":153390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:48:38] local.INFO: IMEI packet received {"connection_id":153390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":153390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:48:40] local.INFO: TCP Data received {"connection_id":153390,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed3c1f8012d7bef4005ec1c380001015d25..."} 
[2026-08-11 08:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed3c1f8012d7bef4005ec1c380001015d25..."} 
[2026-08-11 08:48:40] local.INFO: Processing buffer {"connection_id":153390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed3c1f8012d7bef4005ec1c380001015d25..."} 
[2026-08-11 08:48:40] local.INFO: Packet analysis {"connection_id":153390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed3"} 
[2026-08-11 08:48:40] local.INFO: Extracted packet for processing {"connection_id":153390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed3"} 
[2026-08-11 08:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763096896,"raw_latitude":99359800,"longitude_deg":76.3096896,"latitude_deg":9.93598,"altitude":1,"angle":349,"satellites":37,"speed":10,"hex_longitude":"2d7bef40","hex_latitude":"05ec1c38","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323079936001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117574755497803776,"note":"Value kept but may cause issues"} 
[2026-08-11 08:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930567717767491584,"note":"Value kept but may cause issues"} 
[2026-08-11 08:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786418283000,"timestamp_ms":1786418283000,"timestamp_seconds":1786418283,"priority":1,"record_length":96,"hex_timestamp":"0000019feed3c1f8"} 
[2026-08-11 08:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 08:48:40] 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-08-11 08: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-08-11 08:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323079936001,"66":13091,"10":206,"87":13824,"24":10,"16":117574755497803776,"45":8930567717767491584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-11 08:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323079936001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:48:40] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 08:48:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117574755497803776,"km_value":117574755497803.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930567717767491584,"description":"Unknown IO ID 45"} 
[2026-08-11 08:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323079936001,"power":13091,"unknown_10":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8930567717767491584}} 
[2026-08-11 08:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":153390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:48:40] local.INFO: GPS data processed {"connection_id":153390,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:48:40] local.INFO: Acknowledgment sent {"connection_id":153390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:48:53] local.INFO: TCP Data received {"connection_id":152442,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:48:53] local.INFO: Processing buffer {"connection_id":152442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:48:53] local.INFO: IMEI packet received {"connection_id":152442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":152442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:48:58] local.INFO: TCP Data received {"connection_id":152442,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:48:58] local.INFO: Processing buffer {"connection_id":152442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:48:58] local.INFO: IMEI packet received {"connection_id":152442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":152442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:48:59] local.INFO: TCP Data received {"connection_id":152442,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:48:59] local.INFO: Processing buffer {"connection_id":152442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:48:59] local.INFO: Packet analysis {"connection_id":152442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:48:59] local.INFO: Extracted packet for processing {"connection_id":152442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":36,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322961408001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786418119000,"timestamp_ms":1786418119000,"timestamp_seconds":1786418119,"priority":1,"record_length":96,"hex_timestamp":"0000019feed14158"} 
[2026-08-11 08:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 08:48:59] 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-08-11 08: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-08-11 08:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:48:59] 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-08-11 08:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322961408001,"66":26006,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322961408001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:48:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:48:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322961408001,"power":26006,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":152442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:48:59] local.INFO: GPS data processed {"connection_id":152442,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:48:59] local.INFO: Acknowledgment sent {"connection_id":152442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:49:11] local.INFO: TCP Data received {"connection_id":153390,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed3dd50012d7bec0005ec27a80000015026..."} 
[2026-08-11 08:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed3dd50012d7bec0005ec27a80000015026..."} 
[2026-08-11 08:49:11] local.INFO: Processing buffer {"connection_id":153390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed3dd50012d7bec0005ec27a80000015026..."} 
[2026-08-11 08:49:11] local.INFO: Packet analysis {"connection_id":153390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed3"} 
[2026-08-11 08:49:11] local.INFO: Extracted packet for processing {"connection_id":153390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed3"} 
[2026-08-11 08:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763096064,"raw_latitude":99362728,"longitude_deg":76.3096064,"latitude_deg":9.9362728,"altitude":0,"angle":336,"satellites":38,"speed":19,"hex_longitude":"2d7bec00","hex_latitude":"05ec27a8","is_valid_coordinates":true} 
[2026-08-11 08:49: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-08-11 08:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323080448001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117574905821659136,"note":"Value kept but may cause issues"} 
[2026-08-11 08:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930426980279269376,"note":"Value kept but may cause issues"} 
[2026-08-11 08:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786418290000,"timestamp_ms":1786418290000,"timestamp_seconds":1786418290,"priority":1,"record_length":96,"hex_timestamp":"0000019feed3dd50"} 
[2026-08-11 08:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:49: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-11 08:49:11] 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-08-11 08:49: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-08-11 08:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323080448001,"66":13037,"198":206,"87":13824,"24":19,"16":117574905821659136,"45":8930426980279269376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 08:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323080448001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:49:11] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 08:49:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117574905821659136,"km_value":117574905821659.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930426980279269376,"description":"Unknown IO ID 45"} 
[2026-08-11 08:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323080448001,"power":13037,"unknown_198":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8930426980279269376}} 
[2026-08-11 08:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":153390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:49:11] local.INFO: GPS data processed {"connection_id":153390,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:49:11] local.INFO: Acknowledgment sent {"connection_id":153390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:49:31] local.INFO: TCP Data received {"connection_id":152442,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:49:31] local.INFO: Processing buffer {"connection_id":152442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:49:31] local.INFO: Packet analysis {"connection_id":152442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:49:31] local.INFO: Extracted packet for processing {"connection_id":152442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":36,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:49: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-08-11 08:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322961408001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786418119000,"timestamp_ms":1786418119000,"timestamp_seconds":1786418119,"priority":1,"record_length":96,"hex_timestamp":"0000019feed14158"} 
[2026-08-11 08:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:49: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 08:49:31] 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-08-11 08:49: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-08-11 08:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:49:31] 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-08-11 08:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322961408001,"66":26006,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322961408001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:49:31] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:49:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322961408001,"power":26006,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":152442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:49:31] local.INFO: GPS data processed {"connection_id":152442,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:49:31] local.INFO: Acknowledgment sent {"connection_id":152442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:49:32] local.INFO: TCP Data received {"connection_id":154782,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:49:32] local.INFO: Processing buffer {"connection_id":154782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:49:32] local.INFO: IMEI packet received {"connection_id":154782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":154782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:49:33] local.INFO: TCP Data received {"connection_id":154782,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:49:33] local.INFO: Processing buffer {"connection_id":154782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:49:33] local.INFO: IMEI packet received {"connection_id":154782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":154782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:49:38] local.INFO: TCP Data received {"connection_id":154782,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:49:38] local.INFO: Processing buffer {"connection_id":154782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:49:38] local.INFO: IMEI packet received {"connection_id":154782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":154782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:49:39] local.INFO: TCP Data received {"connection_id":154782,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed3e520012d7bea8005ec2a700000014425..."} 
[2026-08-11 08:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed3e520012d7bea8005ec2a700000014425..."} 
[2026-08-11 08:49:39] local.INFO: Processing buffer {"connection_id":154782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed3e520012d7bea8005ec2a700000014425..."} 
[2026-08-11 08:49:39] local.INFO: Packet analysis {"connection_id":154782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed3"} 
[2026-08-11 08:49:39] local.INFO: Extracted packet for processing {"connection_id":154782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed3"} 
[2026-08-11 08:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":99363440,"longitude_deg":76.309568,"latitude_deg":9.936344,"altitude":0,"angle":324,"satellites":37,"speed":13,"hex_longitude":"2d7bea80","hex_latitude":"05ec2a70","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323082240001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117574944476364800,"note":"Value kept but may cause issues"} 
[2026-08-11 08:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929512186605709312,"note":"Value kept but may cause issues"} 
[2026-08-11 08:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786418292000,"timestamp_ms":1786418292000,"timestamp_seconds":1786418292,"priority":1,"record_length":96,"hex_timestamp":"0000019feed3e520"} 
[2026-08-11 08:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-11 08:49:39] 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-08-11 08: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-08-11 08:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323082240001,"66":12667,"198":206,"87":13824,"24":13,"16":117574944476364800,"45":8929512186605709312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 08:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323082240001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:49:39] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 08:49:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117574944476364800,"km_value":117574944476364.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929512186605709312,"description":"Unknown IO ID 45"} 
[2026-08-11 08:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323082240001,"power":12667,"unknown_198":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8929512186605709312}} 
[2026-08-11 08:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":154782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:49:39] local.INFO: GPS data processed {"connection_id":154782,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:49:39] local.INFO: Acknowledgment sent {"connection_id":154782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:49:53] local.INFO: TCP Data received {"connection_id":152054,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:49:53] local.INFO: Processing buffer {"connection_id":152054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:49:53] local.INFO: IMEI packet received {"connection_id":152054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":152054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:50:00] local.INFO: TCP Data received {"connection_id":152054,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:50:00] local.INFO: Processing buffer {"connection_id":152054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:50:00] local.INFO: IMEI packet received {"connection_id":152054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":152054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:50:01] local.INFO: TCP Data received {"connection_id":152054,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:50:01] local.INFO: Processing buffer {"connection_id":152054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:50:01] local.INFO: Packet analysis {"connection_id":152054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:50:01] local.INFO: Extracted packet for processing {"connection_id":152054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":36,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322961408001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786418119000,"timestamp_ms":1786418119000,"timestamp_seconds":1786418119,"priority":1,"record_length":96,"hex_timestamp":"0000019feed14158"} 
[2026-08-11 08:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 08:50:01] 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-08-11 08: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-08-11 08:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:50:01] 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-08-11 08:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322961408001,"66":26006,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322961408001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:50:01] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:50:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322961408001,"power":26006,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":152054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:50:01] local.INFO: GPS data processed {"connection_id":152054,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:50:01] local.INFO: Acknowledgment sent {"connection_id":152054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:50:10] local.INFO: TCP Data received {"connection_id":154782,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed519b8012d7ca10005ec3ce00004005828..."} 
[2026-08-11 08:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed519b8012d7ca10005ec3ce00004005828..."} 
[2026-08-11 08:50:10] local.INFO: Processing buffer {"connection_id":154782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed519b8012d7ca10005ec3ce00004005828..."} 
[2026-08-11 08:50:10] local.INFO: Packet analysis {"connection_id":154782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:50:10] local.INFO: Extracted packet for processing {"connection_id":154782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763142400,"raw_latitude":99368160,"longitude_deg":76.31424,"latitude_deg":9.936816,"altitude":4,"angle":88,"satellites":40,"speed":34,"hex_longitude":"2d7ca100","hex_latitude":"05ec3ce0","is_valid_coordinates":true} 
[2026-08-11 08:50: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-08-11 08:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323099136001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117577388312756224,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970044583253364736,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786418371000,"timestamp_ms":1786418371000,"timestamp_seconds":1786418371,"priority":1,"record_length":96,"hex_timestamp":"0000019feed519b8"} 
[2026-08-11 08:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:50: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":166,"data_length":795,"current_offset":136} 
[2026-08-11 08:50:10] 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-08-11 08:50: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-08-11 08:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323099136001,"66":13319,"198":206,"87":13824,"24":34,"16":117577388312756224,"45":8970044583253364736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 08:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323099136001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:50:10] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 08:50:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117577388312756224,"km_value":117577388312756.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970044583253364736,"description":"Unknown IO ID 45"} 
[2026-08-11 08:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323099136001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8970044583253364736}} 
[2026-08-11 08:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":154782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:50:10] local.INFO: GPS data processed {"connection_id":154782,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:50:10] local.INFO: Acknowledgment sent {"connection_id":154782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:50:33] local.INFO: TCP Data received {"connection_id":152054,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:50:33] local.INFO: Processing buffer {"connection_id":152054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed14158012d85584006119ea8002401132c..."} 
[2026-08-11 08:50:33] local.INFO: Packet analysis {"connection_id":152054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:50:33] local.INFO: Extracted packet for processing {"connection_id":152054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed1"} 
[2026-08-11 08:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":36,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:50: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-08-11 08:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457322961408001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786418119000,"timestamp_ms":1786418119000,"timestamp_seconds":1786418119,"priority":1,"record_length":96,"hex_timestamp":"0000019feed14158"} 
[2026-08-11 08:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:50: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":3,"data_length":795,"current_offset":136} 
[2026-08-11 08:50:33] 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-08-11 08:50: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-08-11 08:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:50:33] 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-08-11 08:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457322961408001,"66":26006,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457322961408001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:50:33] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:50:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457322961408001,"power":26006,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":152054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:50:33] local.INFO: GPS data processed {"connection_id":152054,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:50:33] local.INFO: Acknowledgment sent {"connection_id":152054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:50:33] local.INFO: TCP Data received {"connection_id":152443,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:50:33] local.INFO: Processing buffer {"connection_id":152443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:50:33] local.INFO: IMEI packet received {"connection_id":152443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":152443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:50:38] local.INFO: TCP Data received {"connection_id":152443,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:50:38] local.INFO: Processing buffer {"connection_id":152443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:50:38] local.INFO: IMEI packet received {"connection_id":152443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":152443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:50:39] local.INFO: TCP Data received {"connection_id":152443,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed540c8012d7cc44005ec40180003005128..."} 
[2026-08-11 08:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed540c8012d7cc44005ec40180003005128..."} 
[2026-08-11 08:50:39] local.INFO: Processing buffer {"connection_id":152443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed540c8012d7cc44005ec40180003005128..."} 
[2026-08-11 08:50:39] local.INFO: Packet analysis {"connection_id":152443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:50:39] local.INFO: Extracted packet for processing {"connection_id":152443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763151424,"raw_latitude":99368984,"longitude_deg":76.3151424,"latitude_deg":9.9368984,"altitude":3,"angle":81,"satellites":40,"speed":35,"hex_longitude":"2d7cc440","hex_latitude":"05ec4018","is_valid_coordinates":true} 
[2026-08-11 08:50: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-08-11 08:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323102976001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117577822104453120,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980459157391728640,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786418381000,"timestamp_ms":1786418381000,"timestamp_seconds":1786418381,"priority":1,"record_length":96,"hex_timestamp":"0000019feed540c8"} 
[2026-08-11 08:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:50: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":7,"data_length":795,"current_offset":136} 
[2026-08-11 08:50:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4006879160,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:39] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:39] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3563712513,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:39] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3832563282895906304,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-08-11 08:50:39] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2281778555,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:39] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3053060096,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962941440,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:39] local.WARNING: Large IO value detected {"io_id":145,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:39] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2004103129043697669,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:39] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,198,87,24,241,157,16,184,159,223,45,59,9,42,10,66,183,180,192,58,11,37,141,1,240,3,227,182,238,236,4,113,205,38,39,234,80,239,51,2,161,5,13,145,212],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-08-11 08:50:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288327304975876096,"timestamp_seconds":288327304975876.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 08:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323102976001,"66":13222,"198":206,"87":13824,"24":35,"16":117577822104453120,"45":8980459157391728640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 08:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323102976001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:50:39] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 08:50:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117577822104453120,"km_value":117577822104453.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980459157391728640,"description":"Unknown IO ID 45"} 
[2026-08-11 08:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323102976001,"power":13222,"unknown_198":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8980459157391728640}} 
[2026-08-11 08:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":152443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:50:39] local.INFO: GPS data processed {"connection_id":152443,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:50:39] local.INFO: Acknowledgment sent {"connection_id":152443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:50:53] local.INFO: TCP Data received {"connection_id":154783,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:50:53] local.INFO: Processing buffer {"connection_id":154783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:50:53] local.INFO: IMEI packet received {"connection_id":154783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":154783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:50:58] local.INFO: TCP Data received {"connection_id":154783,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:50:58] local.INFO: Processing buffer {"connection_id":154783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:50:58] local.INFO: IMEI packet received {"connection_id":154783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":154783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:50:59] local.INFO: TCP Data received {"connection_id":154783,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:50:59] local.INFO: Processing buffer {"connection_id":154783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:50:59] local.INFO: Packet analysis {"connection_id":154783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:50:59] local.INFO: Extracted packet for processing {"connection_id":154783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323038464001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786418420000,"timestamp_ms":1786418420000,"timestamp_seconds":1786418420,"priority":1,"record_length":96,"hex_timestamp":"0000019feed5d920"} 
[2026-08-11 08:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 08:50:59] 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-08-11 08: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-08-11 08:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:50:59] 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-08-11 08:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323038464001,"66":25973,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323038464001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:50:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:50:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323038464001,"power":25973,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":154783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:50:59] local.INFO: GPS data processed {"connection_id":154783,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:50:59] local.INFO: Acknowledgment sent {"connection_id":154783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:51:10] local.INFO: TCP Data received {"connection_id":152443,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed57390012d7ce88005ec41e80005005428..."} 
[2026-08-11 08:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed57390012d7ce88005ec41e80005005428..."} 
[2026-08-11 08:51:10] local.INFO: Processing buffer {"connection_id":152443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed57390012d7ce88005ec41e80005005428..."} 
[2026-08-11 08:51:10] local.INFO: Packet analysis {"connection_id":152443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:51:10] local.INFO: Extracted packet for processing {"connection_id":152443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763160704,"raw_latitude":99369448,"longitude_deg":76.3160704,"latitude_deg":9.9369448,"altitude":5,"angle":84,"satellites":40,"speed":17,"hex_longitude":"2d7ce880","hex_latitude":"05ec41e8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323105536001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117578264486084608,"note":"Value kept but may cause issues"} 
[2026-08-11 08:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990381150320990208,"note":"Value kept but may cause issues"} 
[2026-08-11 08:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786418394000,"timestamp_ms":1786418394000,"timestamp_seconds":1786418394,"priority":1,"record_length":96,"hex_timestamp":"0000019feed57390"} 
[2026-08-11 08:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 08:51:10] 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-08-11 08: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-08-11 08:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323105536001,"66":13124,"198":206,"87":13824,"24":17,"16":117578264486084608,"45":8990381150320990208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 08:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323105536001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:51:10] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 08:51:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117578264486084608,"km_value":117578264486084.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990381150320990208,"description":"Unknown IO ID 45"} 
[2026-08-11 08:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323105536001,"power":13124,"unknown_198":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8990381150320990208}} 
[2026-08-11 08:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":152443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:51:10] local.INFO: GPS data processed {"connection_id":152443,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:51:10] local.INFO: Acknowledgment sent {"connection_id":152443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:51:30] local.INFO: TCP Data received {"connection_id":154783,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:51:30] local.INFO: Processing buffer {"connection_id":154783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:51:30] local.INFO: Packet analysis {"connection_id":154783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:51:30] local.INFO: Extracted packet for processing {"connection_id":154783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323038464001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786418420000,"timestamp_ms":1786418420000,"timestamp_seconds":1786418420,"priority":1,"record_length":96,"hex_timestamp":"0000019feed5d920"} 
[2026-08-11 08:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 08:51:30] 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-08-11 08: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-08-11 08:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:51:30] 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-08-11 08:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323038464001,"66":25973,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323038464001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:51:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:51:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323038464001,"power":25973,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":154783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:51:30] local.INFO: GPS data processed {"connection_id":154783,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:51:30] local.INFO: Acknowledgment sent {"connection_id":154783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:51:32] local.INFO: TCP Data received {"connection_id":153393,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:51:32] local.INFO: Processing buffer {"connection_id":153393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:51:32] local.INFO: IMEI packet received {"connection_id":153393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":153393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:51:33] local.INFO: TCP Data received {"connection_id":153393,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:51:33] local.INFO: Processing buffer {"connection_id":153393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:51:33] local.INFO: IMEI packet received {"connection_id":153393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":153393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:51:34] local.INFO: TCP Data received {"connection_id":153392,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:51:34] local.INFO: Processing buffer {"connection_id":153392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:51:34] local.INFO: IMEI packet received {"connection_id":153392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":153392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:51:35] local.INFO: TCP Data received {"connection_id":153392,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feed5e8c0012d0e350007069968001b00bb1c..."} 
[2026-08-11 08:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed5e8c0012d0e350007069968001b00bb1c..."} 
[2026-08-11 08:51:35] local.INFO: Processing buffer {"connection_id":153392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed5e8c0012d0e350007069968001b00bb1c..."} 
[2026-08-11 08:51:35] local.INFO: Packet analysis {"connection_id":153392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:51:35] local.INFO: Extracted packet for processing {"connection_id":153392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:51:35] local.INFO: GPS Element Parsed {"raw_longitude":755905792,"raw_latitude":117873000,"longitude_deg":75.5905792,"latitude_deg":11.7873,"altitude":27,"angle":187,"satellites":28,"speed":18,"hex_longitude":"2d0e3500","hex_latitude":"07069968","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323114240001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27532866376171520,"note":"Value kept but may cause issues"} 
[2026-08-11 08:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023724520472895488,"note":"Value kept but may cause issues"} 
[2026-08-11 08:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786418424000,"timestamp_ms":1786418424000,"timestamp_seconds":1786418424,"priority":1,"record_length":96,"hex_timestamp":"0000019feed5e8c0"} 
[2026-08-11 08:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:51:35] 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-08-11 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 08:51:35] 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-08-11 08: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-08-11 08:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323114240001,"66":14439,"219":206,"94":10240,"24":18,"16":27532866376171520,"45":1023724520472895488},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 08:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323114240001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:51:35] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 08:51:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 08:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27532866376171520,"km_value":27532866376171.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023724520472895488,"description":"Unknown IO ID 45"} 
[2026-08-11 08:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323114240001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1023724520472895488}} 
[2026-08-11 08:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":153392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624035,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:51:35] local.INFO: GPS data processed {"connection_id":153392,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:51:35] local.INFO: Acknowledgment sent {"connection_id":153392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:51:38] local.INFO: TCP Data received {"connection_id":153393,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:51:38] local.INFO: Processing buffer {"connection_id":153393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:51:38] local.INFO: IMEI packet received {"connection_id":153393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":153393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:51:39] local.INFO: TCP Data received {"connection_id":153393,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed5b5f8012d7d0d4005ec43d80006005727..."} 
[2026-08-11 08:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed5b5f8012d7d0d4005ec43d80006005727..."} 
[2026-08-11 08:51:39] local.INFO: Processing buffer {"connection_id":153393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed5b5f8012d7d0d4005ec43d80006005727..."} 
[2026-08-11 08:51:39] local.INFO: Packet analysis {"connection_id":153393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:51:39] local.INFO: Extracted packet for processing {"connection_id":153393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763170112,"raw_latitude":99369944,"longitude_deg":76.3170112,"latitude_deg":9.9369944,"altitude":6,"angle":87,"satellites":39,"speed":21,"hex_longitude":"2d7d0d40","hex_latitude":"05ec43d8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323108864001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117578715457650688,"note":"Value kept but may cause issues"} 
[2026-08-11 08:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000584618226870272,"note":"Value kept but may cause issues"} 
[2026-08-11 08:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786418411000,"timestamp_ms":1786418411000,"timestamp_seconds":1786418411,"priority":1,"record_length":96,"hex_timestamp":"0000019feed5b5f8"} 
[2026-08-11 08:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-11 08:51:39] 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-08-11 08: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-08-11 08:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323108864001,"66":12950,"197":206,"87":13824,"24":21,"16":117578715457650688,"45":9000584618226870272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-11 08:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323108864001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:51:39] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 08:51:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117578715457650688,"km_value":117578715457650.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000584618226870272,"description":"Unknown IO ID 45"} 
[2026-08-11 08:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323108864001,"power":12950,"unknown_197":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":9000584618226870272}} 
[2026-08-11 08:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":153393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:51:40] local.INFO: GPS data processed {"connection_id":153393,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:51:40] local.INFO: Acknowledgment sent {"connection_id":153393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:51:53] local.INFO: TCP Data received {"connection_id":152056,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:51:53] local.INFO: Processing buffer {"connection_id":152056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:51:53] local.INFO: IMEI packet received {"connection_id":152056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":152056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:52:00] local.INFO: TCP Data received {"connection_id":152056,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:52:00] local.INFO: Processing buffer {"connection_id":152056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:52:00] local.INFO: IMEI packet received {"connection_id":152056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":152056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:52:01] local.INFO: TCP Data received {"connection_id":152056,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:52:01] local.INFO: Processing buffer {"connection_id":152056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:52:01] local.INFO: Packet analysis {"connection_id":152056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:52:01] local.INFO: Extracted packet for processing {"connection_id":152056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:52: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-08-11 08:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323038464001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786418420000,"timestamp_ms":1786418420000,"timestamp_seconds":1786418420,"priority":1,"record_length":96,"hex_timestamp":"0000019feed5d920"} 
[2026-08-11 08:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:52: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":150,"data_length":795,"current_offset":136} 
[2026-08-11 08:52:01] 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-08-11 08:52: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-08-11 08:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323038464001,"66":25973,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323038464001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:52:01] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:52:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323038464001,"power":25973,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":152056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:52:01] local.INFO: GPS data processed {"connection_id":152056,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:52:01] local.INFO: Acknowledgment sent {"connection_id":152056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:52:06] local.INFO: TCP Data received {"connection_id":153392,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feed74468012d0e0a80070686d0001501411c..."} 
[2026-08-11 08:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed74468012d0e0a80070686d0001501411c..."} 
[2026-08-11 08:52:06] local.INFO: Processing buffer {"connection_id":153392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed74468012d0e0a80070686d0001501411c..."} 
[2026-08-11 08:52:06] local.INFO: Packet analysis {"connection_id":153392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed7"} 
[2026-08-11 08:52:06] local.INFO: Extracted packet for processing {"connection_id":153392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed7"} 
[2026-08-11 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":755894912,"raw_latitude":117868240,"longitude_deg":75.5894912,"latitude_deg":11.786824,"altitude":21,"angle":321,"satellites":28,"speed":2,"hex_longitude":"2d0e0a80","hex_latitude":"070686d0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 08:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323139072001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27533609405513728,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011832202704885760,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786418513000,"timestamp_ms":1786418513000,"timestamp_seconds":1786418513,"priority":1,"record_length":96,"hex_timestamp":"0000019feed74468"} 
[2026-08-11 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-08-11 08:52:06] 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-08-11 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 08:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 08:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323139072001,"66":13678,"219":206,"94":10240,"24":2,"16":27533609405513728,"45":1011832202704885760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 08:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323139072001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:52:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 08:52:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 08:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27533609405513728,"km_value":27533609405513.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011832202704885760,"description":"Unknown IO ID 45"} 
[2026-08-11 08:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323139072001,"power":13678,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1011832202704885760}} 
[2026-08-11 08:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":153392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624038,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:52:06] local.INFO: GPS data processed {"connection_id":153392,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:52:06] local.INFO: Acknowledgment sent {"connection_id":153392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:52:11] local.INFO: TCP Data received {"connection_id":153393,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed5d920012d7d1b4005ec43680006006326..."} 
[2026-08-11 08:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed5d920012d7d1b4005ec43680006006326..."} 
[2026-08-11 08:52:11] local.INFO: Processing buffer {"connection_id":153393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed5d920012d7d1b4005ec43680006006326..."} 
[2026-08-11 08:52:11] local.INFO: Packet analysis {"connection_id":153393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:52:11] local.INFO: Extracted packet for processing {"connection_id":153393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763173696,"raw_latitude":99369832,"longitude_deg":76.3173696,"latitude_deg":9.9369832,"altitude":6,"angle":99,"satellites":38,"speed":9,"hex_longitude":"2d7d1b40","hex_latitude":"05ec4368","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323113216001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117578887256342528,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010928823621113856,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786418420000,"timestamp_ms":1786418420000,"timestamp_seconds":1786418420,"priority":1,"record_length":96,"hex_timestamp":"0000019feed5d920"} 
[2026-08-11 08:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 08:52:11] 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-08-11 08: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-08-11 08:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323113216001,"66":12200,"110":206,"87":13824,"24":9,"16":117578887256342528,"45":9010928823621113856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 08:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323113216001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:52:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 08:52:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117578887256342528,"km_value":117578887256342.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010928823621113856,"description":"Unknown IO ID 45"} 
[2026-08-11 08:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323113216001,"power":12200,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9010928823621113856}} 
[2026-08-11 08:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":153393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:52:11] local.INFO: GPS data processed {"connection_id":153393,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:52:11] local.INFO: Acknowledgment sent {"connection_id":153393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:52:28] local.INFO: TCP Data received {"connection_id":154784,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154784,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:52:28] local.INFO: Processing buffer {"connection_id":154784,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:52:28] local.INFO: IMEI packet received {"connection_id":154784,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":154784,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:52:29] local.INFO: TCP Data received {"connection_id":154784,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154784,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:52:29] local.INFO: Processing buffer {"connection_id":154784,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:52:29] local.INFO: IMEI packet received {"connection_id":154784,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":154784,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:52:29] local.INFO: TCP Data received {"connection_id":154784,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154784,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:52:29] local.INFO: Processing buffer {"connection_id":154784,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:52:29] local.INFO: IMEI packet received {"connection_id":154784,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":154784,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:52:31] local.INFO: TCP Data received {"connection_id":154784,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154784,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:52:31] local.INFO: Processing buffer {"connection_id":154784,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:52:31] local.INFO: IMEI packet received {"connection_id":154784,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":154784,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:52:32] local.INFO: TCP Data received {"connection_id":152056,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:52:32] local.INFO: Processing buffer {"connection_id":152056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:52:32] local.INFO: Packet analysis {"connection_id":152056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:52:32] local.INFO: Extracted packet for processing {"connection_id":152056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:52: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-08-11 08:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323038464001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786418420000,"timestamp_ms":1786418420000,"timestamp_seconds":1786418420,"priority":1,"record_length":96,"hex_timestamp":"0000019feed5d920"} 
[2026-08-11 08:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:52: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":150,"data_length":795,"current_offset":136} 
[2026-08-11 08:52:32] 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-08-11 08:52: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-08-11 08:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323038464001,"66":25973,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323038464001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:52:32] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:52:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323038464001,"power":25973,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":152056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:52:32] local.INFO: GPS data processed {"connection_id":152056,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:52:32] local.INFO: Acknowledgment sent {"connection_id":152056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:52:33] local.INFO: TCP Data received {"connection_id":152444,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:52:33] local.INFO: Processing buffer {"connection_id":152444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:52:33] local.INFO: IMEI packet received {"connection_id":152444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":152444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:52:38] local.INFO: TCP Data received {"connection_id":152444,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:52:38] local.INFO: Processing buffer {"connection_id":152444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:52:38] local.INFO: IMEI packet received {"connection_id":152444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":152444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:52:39] local.INFO: TCP Data received {"connection_id":152444,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed5e4d8012d7d1d4005ec42980005007726..."} 
[2026-08-11 08:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed5e4d8012d7d1d4005ec42980005007726..."} 
[2026-08-11 08:52:39] local.INFO: Processing buffer {"connection_id":152444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed5e4d8012d7d1d4005ec42980005007726..."} 
[2026-08-11 08:52:39] local.INFO: Packet analysis {"connection_id":152444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:52:39] local.INFO: Extracted packet for processing {"connection_id":152444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763174208,"raw_latitude":99369624,"longitude_deg":76.3174208,"latitude_deg":9.9369624,"altitude":5,"angle":119,"satellites":38,"speed":5,"hex_longitude":"2d7d1d40","hex_latitude":"05ec4298","is_valid_coordinates":true} 
[2026-08-11 08:52: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-08-11 08:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323115520001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117578913026146304,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014869473295034368,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786418423000,"timestamp_ms":1786418423000,"timestamp_seconds":1786418423,"priority":1,"record_length":96,"hex_timestamp":"0000019feed5e4d8"} 
[2026-08-11 08:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-11 08:52:39] 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-08-11 08: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-08-11 08:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323115520001,"66":12428,"110":206,"87":13824,"24":5,"16":117578913026146304,"45":9014869473295034368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 08:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323115520001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:52:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 08:52:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117578913026146304,"km_value":117578913026146.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014869473295034368,"description":"Unknown IO ID 45"} 
[2026-08-11 08:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323115520001,"power":12428,"unknown_110":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9014869473295034368}} 
[2026-08-11 08:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":152444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:52:39] local.INFO: GPS data processed {"connection_id":152444,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:52:39] local.INFO: Acknowledgment sent {"connection_id":152444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:52:53] local.INFO: TCP Data received {"connection_id":154785,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:52:53] local.INFO: Processing buffer {"connection_id":154785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:52:53] local.INFO: IMEI packet received {"connection_id":154785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":154785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:52:58] local.INFO: TCP Data received {"connection_id":154785,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:52:58] local.INFO: Processing buffer {"connection_id":154785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:52:58] local.INFO: IMEI packet received {"connection_id":154785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":154785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:52:59] local.INFO: TCP Data received {"connection_id":154785,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:52:59] local.INFO: Processing buffer {"connection_id":154785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:52:59] local.INFO: Packet analysis {"connection_id":154785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:52:59] local.INFO: Extracted packet for processing {"connection_id":154785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323038464001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786418420000,"timestamp_ms":1786418420000,"timestamp_seconds":1786418420,"priority":1,"record_length":96,"hex_timestamp":"0000019feed5d920"} 
[2026-08-11 08:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 08:52:59] 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-08-11 08: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-08-11 08:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:52:59] 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-08-11 08:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323038464001,"66":25973,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323038464001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:52:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:52:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323038464001,"power":25973,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":154785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:52:59] local.INFO: GPS data processed {"connection_id":154785,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:52:59] local.INFO: Acknowledgment sent {"connection_id":154785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:53:11] local.INFO: TCP Data received {"connection_id":152444,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed7bd80012d7c3ac005ec34a00010010b2a..."} 
[2026-08-11 08:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed7bd80012d7c3ac005ec34a00010010b2a..."} 
[2026-08-11 08:53:11] local.INFO: Processing buffer {"connection_id":152444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed7bd80012d7c3ac005ec34a00010010b2a..."} 
[2026-08-11 08:53:11] local.INFO: Packet analysis {"connection_id":152444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed7"} 
[2026-08-11 08:53:11] local.INFO: Extracted packet for processing {"connection_id":152444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed7"} 
[2026-08-11 08:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763116224,"raw_latitude":99366048,"longitude_deg":76.3116224,"latitude_deg":9.9366048,"altitude":16,"angle":267,"satellites":42,"speed":27,"hex_longitude":"2d7c3ac0","hex_latitude":"05ec34a0","is_valid_coordinates":true} 
[2026-08-11 08:53: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-08-11 08:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323143424001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117581751999528960,"note":"Value kept but may cause issues"} 
[2026-08-11 08:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962163283905075200,"note":"Value kept but may cause issues"} 
[2026-08-11 08:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786418544000,"timestamp_ms":1786418544000,"timestamp_seconds":1786418544,"priority":1,"record_length":96,"hex_timestamp":"0000019feed7bd80"} 
[2026-08-11 08:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:53: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 08:53:11] 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-08-11 08:53: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-08-11 08:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323143424001,"66":13015,"198":206,"87":13824,"24":27,"16":117581751999528960,"45":8962163283905075200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 08:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323143424001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:53:11] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 08:53:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117581751999528960,"km_value":117581751999528.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962163283905075200,"description":"Unknown IO ID 45"} 
[2026-08-11 08:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323143424001,"power":13015,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8962163283905075200}} 
[2026-08-11 08:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":152444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:53:11] local.INFO: GPS data processed {"connection_id":152444,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:53:11] local.INFO: Acknowledgment sent {"connection_id":152444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:53:30] local.INFO: TCP Data received {"connection_id":154785,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:53:30] local.INFO: Processing buffer {"connection_id":154785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:53:30] local.INFO: Packet analysis {"connection_id":154785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:53:30] local.INFO: Extracted packet for processing {"connection_id":154785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323038464001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786418420000,"timestamp_ms":1786418420000,"timestamp_seconds":1786418420,"priority":1,"record_length":96,"hex_timestamp":"0000019feed5d920"} 
[2026-08-11 08:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 08:53:30] 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-08-11 08: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-08-11 08:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:53:30] 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-08-11 08:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323038464001,"66":25973,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323038464001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:53:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:53:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323038464001,"power":25973,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":154785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:53:30] local.INFO: GPS data processed {"connection_id":154785,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:53:30] local.INFO: Acknowledgment sent {"connection_id":154785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:53:33] local.INFO: TCP Data received {"connection_id":153395,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:53:33] local.INFO: Processing buffer {"connection_id":153395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:53:33] local.INFO: IMEI packet received {"connection_id":153395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":153395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:53:41] local.INFO: TCP Data received {"connection_id":153395,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:53:41] local.INFO: Processing buffer {"connection_id":153395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:53:41] local.INFO: IMEI packet received {"connection_id":153395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":153395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:53:45] local.INFO: TCP Data received {"connection_id":153395,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed7f430012d7c160005ec33880010010c29..."} 
[2026-08-11 08:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed7f430012d7c160005ec33880010010c29..."} 
[2026-08-11 08:53:45] local.INFO: Processing buffer {"connection_id":153395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed7f430012d7c160005ec33880010010c29..."} 
[2026-08-11 08:53:45] local.INFO: Packet analysis {"connection_id":153395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed7"} 
[2026-08-11 08:53:45] local.INFO: Extracted packet for processing {"connection_id":153395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed7"} 
[2026-08-11 08:53:45] local.INFO: GPS Element Parsed {"raw_longitude":763106816,"raw_latitude":99365768,"longitude_deg":76.3106816,"latitude_deg":9.9365768,"altitude":16,"angle":268,"satellites":41,"speed":21,"hex_longitude":"2d7c1600","hex_latitude":"05ec3388","is_valid_coordinates":true} 
[2026-08-11 08:53: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-08-11 08:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323147264001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117582207266062336,"note":"Value kept but may cause issues"} 
[2026-08-11 08:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951678341022523392,"note":"Value kept but may cause issues"} 
[2026-08-11 08:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786418558000,"timestamp_ms":1786418558000,"timestamp_seconds":1786418558,"priority":1,"record_length":96,"hex_timestamp":"0000019feed7f430"} 
[2026-08-11 08:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:53: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":215,"data_length":795,"current_offset":136} 
[2026-08-11 08:53:45] 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-08-11 08:53: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-08-11 08:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323147264001,"66":12765,"198":206,"87":13824,"24":21,"16":117582207266062336,"45":8951678341022523392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 08:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323147264001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:53:45] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 08:53:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117582207266062336,"km_value":117582207266062.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951678341022523392,"description":"Unknown IO ID 45"} 
[2026-08-11 08:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323147264001,"power":12765,"unknown_198":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8951678341022523392}} 
[2026-08-11 08:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":153395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:53:45] local.INFO: GPS data processed {"connection_id":153395,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:53:45] local.INFO: Acknowledgment sent {"connection_id":153395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:53:53] local.INFO: TCP Data received {"connection_id":152445,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:53:53] local.INFO: Processing buffer {"connection_id":152445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:53:53] local.INFO: IMEI packet received {"connection_id":152445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":152445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:53:58] local.INFO: TCP Data received {"connection_id":152445,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:53:58] local.INFO: Processing buffer {"connection_id":152445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:53:58] local.INFO: IMEI packet received {"connection_id":152445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":152445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:53:59] local.INFO: TCP Data received {"connection_id":152445,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:53:59] local.INFO: Processing buffer {"connection_id":152445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:53:59] local.INFO: Packet analysis {"connection_id":152445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:53:59] local.INFO: Extracted packet for processing {"connection_id":152445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:53:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:53: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-08-11 08:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323038464001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786418420000,"timestamp_ms":1786418420000,"timestamp_seconds":1786418420,"priority":1,"record_length":96,"hex_timestamp":"0000019feed5d920"} 
[2026-08-11 08:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:53: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":150,"data_length":795,"current_offset":136} 
[2026-08-11 08:53:59] 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-08-11 08:53: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-08-11 08:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:53:59] 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-08-11 08:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323038464001,"66":25973,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323038464001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:53:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:53:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323038464001,"power":25973,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":152445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:53:59] local.INFO: GPS data processed {"connection_id":152445,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:53:59] local.INFO: Acknowledgment sent {"connection_id":152445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:54:17] local.INFO: TCP Data received {"connection_id":153395,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed83e68012d7bf2c005ec30c8000f010329..."} 
[2026-08-11 08:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed83e68012d7bf2c005ec30c8000f010329..."} 
[2026-08-11 08:54:17] local.INFO: Processing buffer {"connection_id":153395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed83e68012d7bf2c005ec30c8000f010329..."} 
[2026-08-11 08:54:17] local.INFO: Packet analysis {"connection_id":153395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed8"} 
[2026-08-11 08:54:17] local.INFO: Extracted packet for processing {"connection_id":153395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed8"} 
[2026-08-11 08:54:17] local.INFO: GPS Element Parsed {"raw_longitude":763097792,"raw_latitude":99365064,"longitude_deg":76.3097792,"latitude_deg":9.9365064,"altitude":15,"angle":259,"satellites":41,"speed":11,"hex_longitude":"2d7bf2c0","hex_latitude":"05ec30c8","is_valid_coordinates":true} 
[2026-08-11 08:54: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-08-11 08:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323150848001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117582641057759232,"note":"Value kept but may cause issues"} 
[2026-08-11 08:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941334135628335104,"note":"Value kept but may cause issues"} 
[2026-08-11 08:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786418577000,"timestamp_ms":1786418577000,"timestamp_seconds":1786418577,"priority":1,"record_length":96,"hex_timestamp":"0000019feed83e68"} 
[2026-08-11 08:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:54: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-11 08:54:17] 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-08-11 08:54: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-08-11 08:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323150848001,"66":12504,"198":206,"87":13824,"24":11,"16":117582641057759232,"45":8941334135628335104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 08:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323150848001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:54:17] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 08:54:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117582641057759232,"km_value":117582641057759.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941334135628335104,"description":"Unknown IO ID 45"} 
[2026-08-11 08:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323150848001,"power":12504,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8941334135628335104}} 
[2026-08-11 08:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":153395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:54:17] local.INFO: GPS data processed {"connection_id":153395,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:54:17] local.INFO: Acknowledgment sent {"connection_id":153395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:54:31] local.INFO: TCP Data received {"connection_id":152445,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:54:31] local.INFO: Processing buffer {"connection_id":152445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:54:31] local.INFO: Packet analysis {"connection_id":152445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:54:31] local.INFO: Extracted packet for processing {"connection_id":152445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:54: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-08-11 08:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323038464001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786418420000,"timestamp_ms":1786418420000,"timestamp_seconds":1786418420,"priority":1,"record_length":96,"hex_timestamp":"0000019feed5d920"} 
[2026-08-11 08:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:54: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":150,"data_length":795,"current_offset":136} 
[2026-08-11 08:54:31] 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-08-11 08:54: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-08-11 08:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:54:31] 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-08-11 08:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323038464001,"66":25973,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323038464001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:54:31] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:54:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323038464001,"power":25973,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":152445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:54:31] local.INFO: GPS data processed {"connection_id":152445,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:54:31] local.INFO: Acknowledgment sent {"connection_id":152445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:54:38] local.INFO: TCP Data received {"connection_id":153396,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:54:38] local.INFO: Processing buffer {"connection_id":153396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:54:38] local.INFO: IMEI packet received {"connection_id":153396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":153396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:54:39] local.INFO: TCP Data received {"connection_id":153396,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:54:39] local.INFO: Processing buffer {"connection_id":153396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:54:39] local.INFO: IMEI packet received {"connection_id":153396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":153396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:54:40] local.INFO: TCP Data received {"connection_id":153396,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed884b8012d7bd18005ec29f8001000fe29..."} 
[2026-08-11 08:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed884b8012d7bd18005ec29f8001000fe29..."} 
[2026-08-11 08:54:40] local.INFO: Processing buffer {"connection_id":153396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed884b8012d7bd18005ec29f8001000fe29..."} 
[2026-08-11 08:54:40] local.INFO: Packet analysis {"connection_id":153396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed8"} 
[2026-08-11 08:54:40] local.INFO: Extracted packet for processing {"connection_id":153396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed8"} 
[2026-08-11 08:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763089280,"raw_latitude":99363320,"longitude_deg":76.308928,"latitude_deg":9.936332,"altitude":16,"angle":254,"satellites":41,"speed":25,"hex_longitude":"2d7bd180","hex_latitude":"05ec29f8","is_valid_coordinates":true} 
[2026-08-11 08:54: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-08-11 08:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323155712001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117583083439390720,"note":"Value kept but may cause issues"} 
[2026-08-11 08:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931412142699104256,"note":"Value kept but may cause issues"} 
[2026-08-11 08:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786418595000,"timestamp_ms":1786418595000,"timestamp_seconds":1786418595,"priority":1,"record_length":96,"hex_timestamp":"0000019feed884b8"} 
[2026-08-11 08:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:54: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 08:54:40] 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-08-11 08:54: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-08-11 08:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323155712001,"66":12961,"198":206,"87":13824,"24":25,"16":117583083439390720,"45":8931412142699104256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 08:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323155712001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:54:40] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 08:54:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117583083439390720,"km_value":117583083439390.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931412142699104256,"description":"Unknown IO ID 45"} 
[2026-08-11 08:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323155712001,"power":12961,"unknown_198":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8931412142699104256}} 
[2026-08-11 08:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":153396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:54:40] local.INFO: GPS data processed {"connection_id":153396,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:54:40] local.INFO: Acknowledgment sent {"connection_id":153396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:54:44] local.INFO: TCP Data received {"connection_id":153396,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed8c338012d7babc005ec1ea0001000fe28..."} 
[2026-08-11 08:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed8c338012d7babc005ec1ea0001000fe28..."} 
[2026-08-11 08:54:44] local.INFO: Processing buffer {"connection_id":153396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed8c338012d7babc005ec1ea0001000fe28..."} 
[2026-08-11 08:54:44] local.INFO: Packet analysis {"connection_id":153396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed8"} 
[2026-08-11 08:54:44] local.INFO: Extracted packet for processing {"connection_id":153396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed8"} 
[2026-08-11 08:54:44] local.INFO: GPS Element Parsed {"raw_longitude":763079616,"raw_latitude":99360416,"longitude_deg":76.3079616,"latitude_deg":9.9360416,"altitude":16,"angle":254,"satellites":40,"speed":19,"hex_longitude":"2d7babc0","hex_latitude":"05ec1ea0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323160320001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117583534410956800,"note":"Value kept but may cause issues"} 
[2026-08-11 08:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922053099723028480,"note":"Value kept but may cause issues"} 
[2026-08-11 08:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786418611000,"timestamp_ms":1786418611000,"timestamp_seconds":1786418611,"priority":1,"record_length":96,"hex_timestamp":"0000019feed8c338"} 
[2026-08-11 08:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-11 08:54:44] 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-08-11 08: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-08-11 08:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323160320001,"66":12939,"198":206,"87":13824,"24":19,"16":117583534410956800,"45":8922053099723028480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 08:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323160320001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:54:44] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 08:54:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117583534410956800,"km_value":117583534410956.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922053099723028480,"description":"Unknown IO ID 45"} 
[2026-08-11 08:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323160320001,"power":12939,"unknown_198":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8922053099723028480}} 
[2026-08-11 08:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":153396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:54:44] local.INFO: GPS data processed {"connection_id":153396,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:54:44] local.INFO: Acknowledgment sent {"connection_id":153396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:54:53] local.INFO: TCP Data received {"connection_id":152057,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:54:53] local.INFO: Processing buffer {"connection_id":152057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:54:53] local.INFO: IMEI packet received {"connection_id":152057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":152057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:54:58] local.INFO: TCP Data received {"connection_id":152057,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:54:58] local.INFO: Processing buffer {"connection_id":152057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:54:58] local.INFO: IMEI packet received {"connection_id":152057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":152057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:54:59] local.INFO: TCP Data received {"connection_id":152057,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:54:59] local.INFO: Processing buffer {"connection_id":152057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:54:59] local.INFO: Packet analysis {"connection_id":152057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:54:59] local.INFO: Extracted packet for processing {"connection_id":152057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323038464001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786418420000,"timestamp_ms":1786418420000,"timestamp_seconds":1786418420,"priority":1,"record_length":96,"hex_timestamp":"0000019feed5d920"} 
[2026-08-11 08:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 08:54:59] 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-08-11 08: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-08-11 08:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:54:59] 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-08-11 08:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323038464001,"66":25973,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323038464001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:54:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:54:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323038464001,"power":25973,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":152057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:54:59] local.INFO: GPS data processed {"connection_id":152057,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:54:59] local.INFO: Acknowledgment sent {"connection_id":152057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:55:16] local.INFO: TCP Data received {"connection_id":153396,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed901b8012d7b884005ec13d8000f00fd28..."} 
[2026-08-11 08:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed901b8012d7b884005ec13d8000f00fd28..."} 
[2026-08-11 08:55:16] local.INFO: Processing buffer {"connection_id":153396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed901b8012d7b884005ec13d8000f00fd28..."} 
[2026-08-11 08:55:16] local.INFO: Packet analysis {"connection_id":153396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed9"} 
[2026-08-11 08:55:16] local.INFO: Extracted packet for processing {"connection_id":153396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed9"} 
[2026-08-11 08:55:16] local.INFO: GPS Element Parsed {"raw_longitude":763070528,"raw_latitude":99357656,"longitude_deg":76.3070528,"latitude_deg":9.9357656,"altitude":15,"angle":253,"satellites":40,"speed":30,"hex_longitude":"2d7b8840","hex_latitude":"05ec13d8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323164416001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117583989677490176,"note":"Value kept but may cause issues"} 
[2026-08-11 08:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911427419351457792,"note":"Value kept but may cause issues"} 
[2026-08-11 08:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786418627000,"timestamp_ms":1786418627000,"timestamp_seconds":1786418627,"priority":1,"record_length":96,"hex_timestamp":"0000019feed901b8"} 
[2026-08-11 08:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 08:55:16] 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-08-11 08: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-08-11 08:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323164416001,"66":12156,"198":206,"87":13824,"24":30,"16":117583989677490176,"45":8911427419351457792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 08:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323164416001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:55:16] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 08:55:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117583989677490176,"km_value":117583989677490.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911427419351457792,"description":"Unknown IO ID 45"} 
[2026-08-11 08:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323164416001,"power":12156,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8911427419351457792}} 
[2026-08-11 08:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":153396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:55:16] local.INFO: GPS data processed {"connection_id":153396,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:55:16] local.INFO: Acknowledgment sent {"connection_id":153396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:55:30] local.INFO: TCP Data received {"connection_id":152057,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:55:30] local.INFO: Processing buffer {"connection_id":152057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed5d920012d85584006119ea8002801132c..."} 
[2026-08-11 08:55:30] local.INFO: Packet analysis {"connection_id":152057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:55:30] local.INFO: Extracted packet for processing {"connection_id":152057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed5"} 
[2026-08-11 08:55:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323038464001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786418420000,"timestamp_ms":1786418420000,"timestamp_seconds":1786418420,"priority":1,"record_length":96,"hex_timestamp":"0000019feed5d920"} 
[2026-08-11 08:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 08:55:30] 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-08-11 08: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-08-11 08:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:55:30] 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-08-11 08:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323038464001,"66":25973,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323038464001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:55:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:55:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323038464001,"power":25973,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":152057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:55:30] local.INFO: GPS data processed {"connection_id":152057,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:55:30] local.INFO: Acknowledgment sent {"connection_id":152057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:55:33] local.INFO: TCP Data received {"connection_id":153397,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:55:33] local.INFO: Processing buffer {"connection_id":153397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:55:33] local.INFO: IMEI packet received {"connection_id":153397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":153397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:55:38] local.INFO: TCP Data received {"connection_id":153397,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:55:38] local.INFO: Processing buffer {"connection_id":153397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:55:38] local.INFO: IMEI packet received {"connection_id":153397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":153397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:55:39] local.INFO: TCP Data received {"connection_id":153397,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed93098012d7b68c005ec0a60000e00fd28..."} 
[2026-08-11 08:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed93098012d7b68c005ec0a60000e00fd28..."} 
[2026-08-11 08:55:39] local.INFO: Processing buffer {"connection_id":153397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed93098012d7b68c005ec0a60000e00fd28..."} 
[2026-08-11 08:55:39] local.INFO: Packet analysis {"connection_id":153397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed9"} 
[2026-08-11 08:55:39] local.INFO: Extracted packet for processing {"connection_id":153397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed9"} 
[2026-08-11 08:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763062464,"raw_latitude":99355232,"longitude_deg":76.3062464,"latitude_deg":9.9355232,"altitude":14,"angle":253,"satellites":40,"speed":23,"hex_longitude":"2d7b68c0","hex_latitude":"05ec0a60","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323168512001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117584419174219776,"note":"Value kept but may cause issues"} 
[2026-08-11 08:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057677522944,"note":"Value kept but may cause issues"} 
[2026-08-11 08:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786418639000,"timestamp_ms":1786418639000,"timestamp_seconds":1786418639,"priority":1,"record_length":96,"hex_timestamp":"0000019feed93098"} 
[2026-08-11 08:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-11 08:55:39] 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-08-11 08: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-08-11 08:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323168512001,"66":12939,"198":206,"87":13824,"24":23,"16":117584419174219776,"45":8901435057677522944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 08:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323168512001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:55:39] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 08:55:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117584419174219776,"km_value":117584419174219.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057677522944,"description":"Unknown IO ID 45"} 
[2026-08-11 08:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323168512001,"power":12939,"unknown_198":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8901435057677522944}} 
[2026-08-11 08:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":153397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:55:39] local.INFO: GPS data processed {"connection_id":153397,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:55:39] local.INFO: Acknowledgment sent {"connection_id":153397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:55:53] local.INFO: TCP Data received {"connection_id":152059,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:55:53] local.INFO: Processing buffer {"connection_id":152059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:55:53] local.INFO: IMEI packet received {"connection_id":152059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":152059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:56:02] local.INFO: TCP Data received {"connection_id":152059,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:56:02] local.INFO: Processing buffer {"connection_id":152059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:56:02] local.INFO: IMEI packet received {"connection_id":152059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":152059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:56:03] local.INFO: TCP Data received {"connection_id":152059,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:56:03] local.INFO: Processing buffer {"connection_id":152059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:56:03] local.INFO: Packet analysis {"connection_id":152059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:56:03] local.INFO: Extracted packet for processing {"connection_id":152059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:56:03] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323115520001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786418721000,"timestamp_ms":1786418721000,"timestamp_seconds":1786418721,"priority":1,"record_length":96,"hex_timestamp":"0000019feeda70e8"} 
[2026-08-11 08:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 08:56:03] 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-08-11 08: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-08-11 08:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:56:03] 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-08-11 08:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323115520001,"66":25941,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323115520001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:56:03] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:56:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323115520001,"power":25941,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":152059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:56:03] local.INFO: GPS data processed {"connection_id":152059,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:56:03] local.INFO: Acknowledgment sent {"connection_id":152059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:56:11] local.INFO: TCP Data received {"connection_id":153397,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed982a0012d7b490005ebfdf8000d00f429..."} 
[2026-08-11 08:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed982a0012d7b490005ebfdf8000d00f429..."} 
[2026-08-11 08:56:11] local.INFO: Processing buffer {"connection_id":153397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed982a0012d7b490005ebfdf8000d00f429..."} 
[2026-08-11 08:56:11] local.INFO: Packet analysis {"connection_id":153397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed9"} 
[2026-08-11 08:56:11] local.INFO: Extracted packet for processing {"connection_id":153397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed9"} 
[2026-08-11 08:56:11] local.INFO: GPS Element Parsed {"raw_longitude":763054336,"raw_latitude":99352056,"longitude_deg":76.3054336,"latitude_deg":9.9352056,"altitude":13,"angle":244,"satellites":41,"speed":18,"hex_longitude":"2d7b4900","hex_latitude":"05ebfdf8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323171584001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117584805721276416,"note":"Value kept but may cause issues"} 
[2026-08-11 08:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892568595910516736,"note":"Value kept but may cause issues"} 
[2026-08-11 08:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786418660000,"timestamp_ms":1786418660000,"timestamp_seconds":1786418660,"priority":1,"record_length":96,"hex_timestamp":"0000019feed982a0"} 
[2026-08-11 08:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 08:56:11] 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-08-11 08: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-08-11 08:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323171584001,"66":12613,"198":206,"87":13824,"24":18,"16":117584805721276416,"45":8892568595910516736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 08:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323171584001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:56:11] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 08:56:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117584805721276416,"km_value":117584805721276.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892568595910516736,"description":"Unknown IO ID 45"} 
[2026-08-11 08:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323171584001,"power":12613,"unknown_198":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8892568595910516736}} 
[2026-08-11 08:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":153397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:56:11] local.INFO: GPS data processed {"connection_id":153397,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:56:11] local.INFO: Acknowledgment sent {"connection_id":153397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:56:33] local.INFO: TCP Data received {"connection_id":153398,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:56:33] local.INFO: Processing buffer {"connection_id":153398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:56:33] local.INFO: IMEI packet received {"connection_id":153398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":153398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:56:34] local.INFO: TCP Data received {"connection_id":152059,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:56:34] local.INFO: Processing buffer {"connection_id":152059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:56:34] local.INFO: Packet analysis {"connection_id":152059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:56:34] local.INFO: Extracted packet for processing {"connection_id":152059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:56:34] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323115520001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786418721000,"timestamp_ms":1786418721000,"timestamp_seconds":1786418721,"priority":1,"record_length":96,"hex_timestamp":"0000019feeda70e8"} 
[2026-08-11 08:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 08:56:34] 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-08-11 08: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-08-11 08:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:56:34] 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-08-11 08:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323115520001,"66":25941,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323115520001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:56:34] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:56:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323115520001,"power":25941,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":152059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:56:34] local.INFO: GPS data processed {"connection_id":152059,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:56:34] local.INFO: Acknowledgment sent {"connection_id":152059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:56:38] local.INFO: TCP Data received {"connection_id":153398,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:56:38] local.INFO: Processing buffer {"connection_id":153398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:56:38] local.INFO: IMEI packet received {"connection_id":153398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":153398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:56:39] local.INFO: TCP Data received {"connection_id":153398,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed9c508012d7b2a4005ebeee8000b00f629..."} 
[2026-08-11 08:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed9c508012d7b2a4005ebeee8000b00f629..."} 
[2026-08-11 08:56:39] local.INFO: Processing buffer {"connection_id":153398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed9c508012d7b2a4005ebeee8000b00f629..."} 
[2026-08-11 08:56:39] local.INFO: Packet analysis {"connection_id":153398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed9"} 
[2026-08-11 08:56:39] local.INFO: Extracted packet for processing {"connection_id":153398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed9"} 
[2026-08-11 08:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763046464,"raw_latitude":99348200,"longitude_deg":76.3046464,"latitude_deg":9.93482,"altitude":11,"angle":246,"satellites":41,"speed":23,"hex_longitude":"2d7b2a40","hex_latitude":"05ebeee8","is_valid_coordinates":true} 
[2026-08-11 08:56: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-08-11 08:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323176960001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117585248102907904,"note":"Value kept but may cause issues"} 
[2026-08-11 08:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883631765399140352,"note":"Value kept but may cause issues"} 
[2026-08-11 08:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786418677000,"timestamp_ms":1786418677000,"timestamp_seconds":1786418677,"priority":1,"record_length":96,"hex_timestamp":"0000019feed9c508"} 
[2026-08-11 08:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-11 08:56:39] 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-08-11 08: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-08-11 08:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323176960001,"66":12689,"98":206,"87":13824,"24":23,"16":117585248102907904,"45":8883631765399140352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-11 08:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323176960001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:56:39] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 08:56:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117585248102907904,"km_value":117585248102907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883631765399140352,"description":"Unknown IO ID 45"} 
[2026-08-11 08:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323176960001,"power":12689,"unknown_98":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8883631765399140352}} 
[2026-08-11 08:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":153398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:56:39] local.INFO: GPS data processed {"connection_id":153398,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:56:39] local.INFO: Acknowledgment sent {"connection_id":153398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:56:53] local.INFO: TCP Data received {"connection_id":153399,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:56:53] local.INFO: Processing buffer {"connection_id":153399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:56:53] local.INFO: IMEI packet received {"connection_id":153399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":153399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:56:58] local.INFO: TCP Data received {"connection_id":153399,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:56:58] local.INFO: Processing buffer {"connection_id":153399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:56:58] local.INFO: IMEI packet received {"connection_id":153399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":153399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:57:00] local.INFO: TCP Data received {"connection_id":153399,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:57:00] local.INFO: Processing buffer {"connection_id":153399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:57:00] local.INFO: Packet analysis {"connection_id":153399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:57:00] local.INFO: Extracted packet for processing {"connection_id":153399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:57:00] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323115520001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786418721000,"timestamp_ms":1786418721000,"timestamp_seconds":1786418721,"priority":1,"record_length":96,"hex_timestamp":"0000019feeda70e8"} 
[2026-08-11 08:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 08:57:00] 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-08-11 08: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-08-11 08:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:57:00] 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-08-11 08:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323115520001,"66":25941,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323115520001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:57:00] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:57:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323115520001,"power":25941,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":153399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:57:00] local.INFO: GPS data processed {"connection_id":153399,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:57:00] local.INFO: Acknowledgment sent {"connection_id":153399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:57:10] local.INFO: TCP Data received {"connection_id":153398,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019feed9ffa0012d7b08c005ebde20000b00f429..."} 
[2026-08-11 08:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feed9ffa0012d7b08c005ebde20000b00f429..."} 
[2026-08-11 08:57:10] local.INFO: Processing buffer {"connection_id":153398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feed9ffa0012d7b08c005ebde20000b00f429..."} 
[2026-08-11 08:57:10] local.INFO: Packet analysis {"connection_id":153398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feed9"} 
[2026-08-11 08:57:10] local.INFO: Extracted packet for processing {"connection_id":153398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feed9"} 
[2026-08-11 08:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763037888,"raw_latitude":99343904,"longitude_deg":76.3037888,"latitude_deg":9.9343904,"altitude":11,"angle":244,"satellites":41,"speed":22,"hex_longitude":"2d7b08c0","hex_latitude":"05ebde20","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323181312001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117585681894604800,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874976409864300544,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786418692000,"timestamp_ms":1786418692000,"timestamp_seconds":1786418692,"priority":1,"record_length":96,"hex_timestamp":"0000019feed9ffa0"} 
[2026-08-11 08:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 08:57:10] 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-08-11 08: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-08-11 08:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323181312001,"66":12863,"98":206,"87":13824,"24":22,"16":117585681894604800,"45":8874976409864300544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-11 08:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323181312001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:57:10] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 08:57:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117585681894604800,"km_value":117585681894604.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874976409864300544,"description":"Unknown IO ID 45"} 
[2026-08-11 08:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323181312001,"power":12863,"unknown_98":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8874976409864300544}} 
[2026-08-11 08:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":153398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:57:10] local.INFO: GPS data processed {"connection_id":153398,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:57:10] local.INFO: Acknowledgment sent {"connection_id":153398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:57:30] local.INFO: TCP Data received {"connection_id":152448,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:57:30] local.INFO: Processing buffer {"connection_id":152448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:57:30] local.INFO: IMEI packet received {"connection_id":152448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":152448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:57:31] local.INFO: TCP Data received {"connection_id":153399,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:57:31] local.INFO: Processing buffer {"connection_id":153399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:57:31] local.INFO: Packet analysis {"connection_id":153399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:57:31] local.INFO: Extracted packet for processing {"connection_id":153399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:57:31] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:57: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-08-11 08:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323115520001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786418721000,"timestamp_ms":1786418721000,"timestamp_seconds":1786418721,"priority":1,"record_length":96,"hex_timestamp":"0000019feeda70e8"} 
[2026-08-11 08:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:57: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":117,"data_length":795,"current_offset":136} 
[2026-08-11 08:57:31] 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-08-11 08:57: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-08-11 08:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:57:31] 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-08-11 08:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323115520001,"66":25941,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323115520001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:57:31] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:57:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323115520001,"power":25941,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":153399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:57:31] local.INFO: GPS data processed {"connection_id":153399,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:57:31] local.INFO: Acknowledgment sent {"connection_id":153399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:57:33] local.INFO: TCP Data received {"connection_id":152448,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:57:33] local.INFO: Processing buffer {"connection_id":152448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:57:33] local.INFO: IMEI packet received {"connection_id":152448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":152448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:57:34] local.INFO: TCP Data received {"connection_id":152447,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152447,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:57:34] local.INFO: Processing buffer {"connection_id":152447,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:57:34] local.INFO: IMEI packet received {"connection_id":152447,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":152447,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:57:35] local.INFO: TCP Data received {"connection_id":152447,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152447,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:57:35] local.INFO: Processing buffer {"connection_id":152447,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:57:35] local.INFO: IMEI packet received {"connection_id":152447,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":152447,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:57:36] local.INFO: TCP Data received {"connection_id":152447,"ip":"42.106.6.40","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019fee..."} 
[2026-08-11 08:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152447,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019fee..."} 
[2026-08-11 08:57:36] local.INFO: Processing buffer {"connection_id":152447,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019fee..."} 
[2026-08-11 08:57:36] local.INFO: IMEI packet received {"connection_id":152447,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":152447,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:57:37] local.INFO: TCP Data received {"connection_id":152447,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feedba580012d0d6140070713580025011f1e..."} 
[2026-08-11 08:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedba580012d0d6140070713580025011f1e..."} 
[2026-08-11 08:57:37] local.INFO: Processing buffer {"connection_id":152447,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019feedba580012d0d6140070713580025011f1e..."} 
[2026-08-11 08:57:37] local.INFO: Packet analysis {"connection_id":152447,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019feedb"} 
[2026-08-11 08:57:37] local.INFO: Extracted packet for processing {"connection_id":152447,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedb"} 
[2026-08-11 08:57:37] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":117904216,"longitude_deg":75.5851584,"latitude_deg":11.7904216,"altitude":37,"angle":287,"satellites":30,"speed":26,"hex_longitude":"2d0d6140","hex_latitude":"07071358","is_valid_coordinates":true} 
[2026-08-11 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-08-11 08:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323208960001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27538978114633728,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":973340499647858688,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786418800000,"timestamp_ms":1786418800000,"timestamp_seconds":1786418800,"priority":1,"record_length":96,"hex_timestamp":"0000019feedba580"} 
[2026-08-11 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-08-11 08:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 08:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 08:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323208960001,"66":14428,"219":206,"94":10240,"24":26,"16":27538978114633728,"45":973340499647858688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 08:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323208960001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:57:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 08:57:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 08:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27538978114633728,"km_value":27538978114633.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":973340499647858688,"description":"Unknown IO ID 45"} 
[2026-08-11 08:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323208960001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":973340499647858688}} 
[2026-08-11 08:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":152447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624062,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:57:37] local.INFO: GPS data processed {"connection_id":152447,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:57:37] local.INFO: Acknowledgment sent {"connection_id":152447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:57:37] local.INFO: Packet analysis {"connection_id":152447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedb"} 
[2026-08-11 08:57:37] local.INFO: Extracted packet for processing {"connection_id":152447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedb"} 
[2026-08-11 08:57:37] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":117904216,"longitude_deg":75.5851584,"latitude_deg":11.7904216,"altitude":37,"angle":287,"satellites":30,"speed":26,"hex_longitude":"2d0d6140","hex_latitude":"07071358","is_valid_coordinates":true} 
[2026-08-11 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-08-11 08:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323212800001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27538978114633728,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122194161653760,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786418800000,"timestamp_ms":1786418800000,"timestamp_seconds":1786418800,"priority":1,"record_length":96,"hex_timestamp":"0000019feedba580"} 
[2026-08-11 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-08-11 08:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 08:57:37] 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-08-11 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-08-11 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-08-11 08:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323212800001,"66":14494,"219":206,"94":10240,"24":26,"16":27538978114633728,"45":964122194161653760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 08:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323212800001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:57:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 08:57:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 08:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27538978114633728,"km_value":27538978114633.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122194161653760,"description":"Unknown IO ID 45"} 
[2026-08-11 08:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323212800001,"power":14494,"unknown_219":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":964122194161653760}} 
[2026-08-11 08:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":152447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624063,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:57:37] local.INFO: GPS data processed {"connection_id":152447,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:57:37] local.INFO: Acknowledgment sent {"connection_id":152447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:57:38] local.INFO: TCP Data received {"connection_id":152448,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:57:38] local.INFO: Processing buffer {"connection_id":152448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:57:38] local.INFO: IMEI packet received {"connection_id":152448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":152448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:57:39] local.INFO: TCP Data received {"connection_id":152448,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feeda3268012d7aea8005ebcf20000a00f329..."} 
[2026-08-11 08:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeda3268012d7aea8005ebcf20000a00f329..."} 
[2026-08-11 08:57:39] local.INFO: Processing buffer {"connection_id":152448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeda3268012d7aea8005ebcf20000a00f329..."} 
[2026-08-11 08:57:39] local.INFO: Packet analysis {"connection_id":152448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:57:39] local.INFO: Extracted packet for processing {"connection_id":152448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763030144,"raw_latitude":99340064,"longitude_deg":76.3030144,"latitude_deg":9.9340064,"altitude":10,"angle":243,"satellites":41,"speed":23,"hex_longitude":"2d7aea80","hex_latitude":"05ebcf20","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323185152001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117586119981268992,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865546998143393792,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786418705000,"timestamp_ms":1786418705000,"timestamp_seconds":1786418705,"priority":1,"record_length":96,"hex_timestamp":"0000019feeda3268"} 
[2026-08-11 08:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-11 08:57:39] 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-08-11 08: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-08-11 08:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:57: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-08-11 08:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323185152001,"66":12504,"98":206,"87":13824,"24":23,"16":117586119981268992,"45":8865546998143393792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-11 08:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323185152001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:57:39] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 08:57:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117586119981268992,"km_value":117586119981268.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865546998143393792,"description":"Unknown IO ID 45"} 
[2026-08-11 08:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323185152001,"power":12504,"unknown_98":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8865546998143393792}} 
[2026-08-11 08:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":152448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:57:39] local.INFO: GPS data processed {"connection_id":152448,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:57:39] local.INFO: Acknowledgment sent {"connection_id":152448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:57:39] local.INFO: TCP Data received {"connection_id":152447,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feedbb908012d0d580007071560002401131e..."} 
[2026-08-11 08:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedbb908012d0d580007071560002401131e..."} 
[2026-08-11 08:57:39] local.INFO: Processing buffer {"connection_id":152447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedbb908012d0d580007071560002401131e..."} 
[2026-08-11 08:57:39] local.INFO: Packet analysis {"connection_id":152447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedb"} 
[2026-08-11 08:57:39] local.INFO: Extracted packet for processing {"connection_id":152447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedb"} 
[2026-08-11 08:57:39] local.INFO: GPS Element Parsed {"raw_longitude":755849216,"raw_latitude":117904736,"longitude_deg":75.5849216,"latitude_deg":11.7904736,"altitude":36,"angle":275,"satellites":30,"speed":17,"hex_longitude":"2d0d5800","hex_latitude":"07071560","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323212800001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27539094078750720,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122194161653760,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786418805000,"timestamp_ms":1786418805000,"timestamp_seconds":1786418805,"priority":1,"record_length":96,"hex_timestamp":"0000019feedbb908"} 
[2026-08-11 08:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-11 08:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 08: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-08-11 08:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323212800001,"66":14309,"219":206,"94":10240,"24":17,"16":27539094078750720,"45":964122194161653760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 08:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323212800001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:57:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 08:57:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 08:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27539094078750720,"km_value":27539094078750.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122194161653760,"description":"Unknown IO ID 45"} 
[2026-08-11 08:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323212800001,"power":14309,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":964122194161653760}} 
[2026-08-11 08:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":152447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624065,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:57:40] local.INFO: GPS data processed {"connection_id":152447,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:57:40] local.INFO: Acknowledgment sent {"connection_id":152447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:57:53] local.INFO: TCP Data received {"connection_id":152060,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:57:53] local.INFO: Processing buffer {"connection_id":152060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:57:53] local.INFO: IMEI packet received {"connection_id":152060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":152060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:57:58] local.INFO: TCP Data received {"connection_id":152060,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:57:58] local.INFO: Processing buffer {"connection_id":152060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:57:58] local.INFO: IMEI packet received {"connection_id":152060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":152060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:57:59] local.INFO: TCP Data received {"connection_id":152060,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:57:59] local.INFO: Processing buffer {"connection_id":152060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:57:59] local.INFO: Packet analysis {"connection_id":152060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:57:59] local.INFO: Extracted packet for processing {"connection_id":152060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323115520001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786418721000,"timestamp_ms":1786418721000,"timestamp_seconds":1786418721,"priority":1,"record_length":96,"hex_timestamp":"0000019feeda70e8"} 
[2026-08-11 08:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 08:57:59] 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-08-11 08:57: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-08-11 08:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:57:59] 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-08-11 08:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323115520001,"66":25941,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323115520001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:57:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:57:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323115520001,"power":25941,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":152060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:57:59] local.INFO: GPS data processed {"connection_id":152060,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:57:59] local.INFO: Acknowledgment sent {"connection_id":152060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:58:10] local.INFO: TCP Data received {"connection_id":152447,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feedcf570012d0cdf0007074d90001d00ea1b..."} 
[2026-08-11 08:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedcf570012d0cdf0007074d90001d00ea1b..."} 
[2026-08-11 08:58:10] local.INFO: Processing buffer {"connection_id":152447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedcf570012d0cdf0007074d90001d00ea1b..."} 
[2026-08-11 08:58:10] local.INFO: Packet analysis {"connection_id":152447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedc"} 
[2026-08-11 08:58:10] local.INFO: Extracted packet for processing {"connection_id":152447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedc"} 
[2026-08-11 08:58:10] local.INFO: GPS Element Parsed {"raw_longitude":755818240,"raw_latitude":117919120,"longitude_deg":75.581824,"latitude_deg":11.791912,"altitude":29,"angle":234,"satellites":27,"speed":17,"hex_longitude":"2d0cdf00","hex_latitude":"07074d90","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323233792001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27541155663052800,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928585978356142080,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786418886000,"timestamp_ms":1786418886000,"timestamp_seconds":1786418886,"priority":1,"record_length":96,"hex_timestamp":"0000019feedcf570"} 
[2026-08-11 08:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 08:58:10] 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-08-11 08: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-08-11 08:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323233792001,"66":14407,"221":206,"94":10240,"24":17,"16":27541155663052800,"45":928585978356142080},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 08:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323233792001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:58:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 08:58:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 08:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27541155663052800,"km_value":27541155663052.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":928585978356142080,"description":"Unknown IO ID 45"} 
[2026-08-11 08:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323233792001,"power":14407,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":928585978356142080}} 
[2026-08-11 08:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":152447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624067,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:58:10] local.INFO: GPS data processed {"connection_id":152447,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:58:10] local.INFO: Acknowledgment sent {"connection_id":152447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:58:10] local.INFO: TCP Data received {"connection_id":152448,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feeda70e8012d7ac7c005ebbe00000900f52a..."} 
[2026-08-11 08:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeda70e8012d7ac7c005ebbe00000900f52a..."} 
[2026-08-11 08:58:10] local.INFO: Processing buffer {"connection_id":152448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeda70e8012d7ac7c005ebbe00000900f52a..."} 
[2026-08-11 08:58:10] local.INFO: Packet analysis {"connection_id":152448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:58:10] local.INFO: Extracted packet for processing {"connection_id":152448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:58:10] local.INFO: GPS Element Parsed {"raw_longitude":763021248,"raw_latitude":99335680,"longitude_deg":76.3021248,"latitude_deg":9.933568,"altitude":9,"angle":245,"satellites":42,"speed":19,"hex_longitude":"2d7ac7c0","hex_latitude":"05ebbe00","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323188480001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117586570952835072,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857032380096913408,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786418721000,"timestamp_ms":1786418721000,"timestamp_seconds":1786418721,"priority":1,"record_length":96,"hex_timestamp":"0000019feeda70e8"} 
[2026-08-11 08:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 08:58:10] 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-08-11 08: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-08-11 08:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:58:10] 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-08-11 08:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323188480001,"66":12645,"98":206,"87":13824,"24":19,"16":117586570952835072,"45":8857032380096913408},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-11 08:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323188480001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:58:10] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 08:58:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117586570952835072,"km_value":117586570952835.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857032380096913408,"description":"Unknown IO ID 45"} 
[2026-08-11 08:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323188480001,"power":12645,"unknown_98":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8857032380096913408}} 
[2026-08-11 08:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":152448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:58:11] local.INFO: GPS data processed {"connection_id":152448,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:58:11] local.INFO: Acknowledgment sent {"connection_id":152448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:58:26] local.INFO: TCP Data received {"connection_id":154787,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154787,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:58:26] local.INFO: Processing buffer {"connection_id":154787,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:58:26] local.INFO: IMEI packet received {"connection_id":154787,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":154787,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:58:29] local.INFO: TCP Data received {"connection_id":154787,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154787,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:58:29] local.INFO: Processing buffer {"connection_id":154787,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:58:29] local.INFO: IMEI packet received {"connection_id":154787,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":154787,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:58:30] local.INFO: TCP Data received {"connection_id":152060,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:58:30] local.INFO: Processing buffer {"connection_id":152060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:58:30] local.INFO: Packet analysis {"connection_id":152060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:58:30] local.INFO: Extracted packet for processing {"connection_id":152060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323115520001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786418721000,"timestamp_ms":1786418721000,"timestamp_seconds":1786418721,"priority":1,"record_length":96,"hex_timestamp":"0000019feeda70e8"} 
[2026-08-11 08:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 08:58:30] 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-08-11 08: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-08-11 08:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:58:30] 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-08-11 08:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323115520001,"66":25941,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323115520001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:58:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:58:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323115520001,"power":25941,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":152060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:58:30] local.INFO: GPS data processed {"connection_id":152060,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:58:30] local.INFO: Acknowledgment sent {"connection_id":152060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:58:32] local.INFO: TCP Data received {"connection_id":154787,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154787,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:58:32] local.INFO: Processing buffer {"connection_id":154787,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:58:32] local.INFO: IMEI packet received {"connection_id":154787,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":154787,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:58:32] local.INFO: TCP Data received {"connection_id":154787,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feedcf958012d0cdd8007074cf8001d00fd1c..."} 
[2026-08-11 08:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedcf958012d0cdd8007074cf8001d00fd1c..."} 
[2026-08-11 08:58:32] local.INFO: Processing buffer {"connection_id":154787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedcf958012d0cdd8007074cf8001d00fd1c..."} 
[2026-08-11 08:58:32] local.INFO: Packet analysis {"connection_id":154787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedc"} 
[2026-08-11 08:58:32] local.INFO: Extracted packet for processing {"connection_id":154787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedc"} 
[2026-08-11 08:58:32] local.INFO: GPS Element Parsed {"raw_longitude":755817856,"raw_latitude":117918968,"longitude_deg":75.5817856,"latitude_deg":11.7918968,"altitude":29,"angle":253,"satellites":28,"speed":17,"hex_longitude":"2d0cdd80","hex_latitude":"07074cf8","is_valid_coordinates":true} 
[2026-08-11 08:58: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-08-11 08:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323234816001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27541177137889280,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927460078448906240,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786418887000,"timestamp_ms":1786418887000,"timestamp_seconds":1786418887,"priority":1,"record_length":96,"hex_timestamp":"0000019feedcf958"} 
[2026-08-11 08:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:58: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 08:58:32] 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-08-11 08:58: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-08-11 08:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154787,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154787,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323234816001,"66":14407,"221":206,"94":10240,"24":17,"16":27541177137889280,"45":927460078448906240},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 08:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323234816001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:58:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 08:58:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 08:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27541177137889280,"km_value":27541177137889.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":927460078448906240,"description":"Unknown IO ID 45"} 
[2026-08-11 08:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323234816001,"power":14407,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":927460078448906240}} 
[2026-08-11 08:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":154787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624070,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:58:32] local.INFO: GPS data processed {"connection_id":154787,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:58:32] local.INFO: Acknowledgment sent {"connection_id":154787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:58:33] local.INFO: TCP Data received {"connection_id":153400,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:58:33] local.INFO: Processing buffer {"connection_id":153400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:58:33] local.INFO: IMEI packet received {"connection_id":153400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":153400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:58:38] local.INFO: TCP Data received {"connection_id":153400,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:58:38] local.INFO: Processing buffer {"connection_id":153400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:58:38] local.INFO: IMEI packet received {"connection_id":153400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":153400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:58:39] local.INFO: TCP Data received {"connection_id":153400,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feedcf570012d7a674005eb9800000700f625..."} 
[2026-08-11 08:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedcf570012d7a674005eb9800000700f625..."} 
[2026-08-11 08:58:39] local.INFO: Processing buffer {"connection_id":153400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedcf570012d7a674005eb9800000700f625..."} 
[2026-08-11 08:58:39] local.INFO: Packet analysis {"connection_id":153400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedc"} 
[2026-08-11 08:58:39] local.INFO: Extracted packet for processing {"connection_id":153400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedc"} 
[2026-08-11 08:58:39] local.INFO: GPS Element Parsed {"raw_longitude":762996544,"raw_latitude":99325952,"longitude_deg":76.2996544,"latitude_deg":9.9325952,"altitude":7,"angle":246,"satellites":37,"speed":4,"hex_longitude":"2d7a6740","hex_latitude":"05eb9800","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323234304001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117587898097729536,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820299895632584704,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786418886000,"timestamp_ms":1786418886000,"timestamp_seconds":1786418886,"priority":1,"record_length":96,"hex_timestamp":"0000019feedcf570"} 
[2026-08-11 08:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 08:58:39] 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-08-11 08: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-08-11 08:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08: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-08-11 08:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323234304001,"66":12939,"161":206,"87":13824,"24":4,"16":117587898097729536,"45":8820299895632584704},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-11 08:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323234304001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:58:39] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-11 08:58:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117587898097729536,"km_value":117587898097729.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820299895632584704,"description":"Unknown IO ID 45"} 
[2026-08-11 08:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323234304001,"power":12939,"unknown_161":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8820299895632584704}} 
[2026-08-11 08:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":153400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:58:39] local.INFO: GPS data processed {"connection_id":153400,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:58:39] local.INFO: Acknowledgment sent {"connection_id":153400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:58:53] local.INFO: TCP Data received {"connection_id":152449,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:58:53] local.INFO: Processing buffer {"connection_id":152449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:58:53] local.INFO: IMEI packet received {"connection_id":152449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":152449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:58:58] local.INFO: TCP Data received {"connection_id":152449,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:58:58] local.INFO: Processing buffer {"connection_id":152449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:58:58] local.INFO: IMEI packet received {"connection_id":152449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 08:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":152449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:58:59] local.INFO: TCP Data received {"connection_id":152449,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:58:59] local.INFO: Processing buffer {"connection_id":152449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:58:59] local.INFO: Packet analysis {"connection_id":152449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:58:59] local.INFO: Extracted packet for processing {"connection_id":152449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:58: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-08-11 08:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323115520001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786418721000,"timestamp_ms":1786418721000,"timestamp_seconds":1786418721,"priority":1,"record_length":96,"hex_timestamp":"0000019feeda70e8"} 
[2026-08-11 08:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:58: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":117,"data_length":795,"current_offset":136} 
[2026-08-11 08:58:59] 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-08-11 08:58: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-08-11 08:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:58:59] 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-08-11 08:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323115520001,"66":25941,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323115520001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:58:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:58:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323115520001,"power":25941,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":152449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:58:59] local.INFO: GPS data processed {"connection_id":152449,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:58:59] local.INFO: Acknowledgment sent {"connection_id":152449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:59:04] local.INFO: TCP Data received {"connection_id":154787,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feedcfd40012d0cdbc007074cf0001d010d1c..."} 
[2026-08-11 08:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedcfd40012d0cdbc007074cf0001d010d1c..."} 
[2026-08-11 08:59:04] local.INFO: Processing buffer {"connection_id":154787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedcfd40012d0cdbc007074cf0001d010d1c..."} 
[2026-08-11 08:59:04] local.INFO: Packet analysis {"connection_id":154787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedc"} 
[2026-08-11 08:59:04] local.INFO: Extracted packet for processing {"connection_id":154787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedc"} 
[2026-08-11 08:59:04] local.INFO: GPS Element Parsed {"raw_longitude":755817408,"raw_latitude":117918960,"longitude_deg":75.5817408,"latitude_deg":11.791896,"altitude":29,"angle":269,"satellites":28,"speed":16,"hex_longitude":"2d0cdbc0","hex_latitude":"07074cf0","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323235072001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27541198612725760,"note":"Value kept but may cause issues"} 
[2026-08-11 08:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927037865983801344,"note":"Value kept but may cause issues"} 
[2026-08-11 08:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786418888000,"timestamp_ms":1786418888000,"timestamp_seconds":1786418888,"priority":1,"record_length":96,"hex_timestamp":"0000019feedcfd40"} 
[2026-08-11 08:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 08:59:04] 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-08-11 08: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-08-11 08:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154787,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154787,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323235072001,"66":14407,"221":206,"94":10240,"24":16,"16":27541198612725760,"45":927037865983801344},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 08:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323235072001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:59:04] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 08:59:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 08:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27541198612725760,"km_value":27541198612725.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":927037865983801344,"description":"Unknown IO ID 45"} 
[2026-08-11 08:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323235072001,"power":14407,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":927037865983801344}} 
[2026-08-11 08:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":154787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624073,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:59:04] local.INFO: GPS data processed {"connection_id":154787,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:59:04] local.INFO: Acknowledgment sent {"connection_id":154787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:59:12] local.INFO: TCP Data received {"connection_id":153400,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feedd1898012d7a59c005eb93b00006010325..."} 
[2026-08-11 08:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedd1898012d7a59c005eb93b00006010325..."} 
[2026-08-11 08:59:12] local.INFO: Processing buffer {"connection_id":153400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedd1898012d7a59c005eb93b00006010325..."} 
[2026-08-11 08:59:12] local.INFO: Packet analysis {"connection_id":153400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedd"} 
[2026-08-11 08:59:12] local.INFO: Extracted packet for processing {"connection_id":153400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedd"} 
[2026-08-11 08:59:12] local.INFO: GPS Element Parsed {"raw_longitude":762993088,"raw_latitude":99324848,"longitude_deg":76.2993088,"latitude_deg":9.9324848,"altitude":6,"angle":259,"satellites":37,"speed":13,"hex_longitude":"2d7a59c0","hex_latitude":"05eb93b0","is_valid_coordinates":true} 
[2026-08-11 08:59: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-08-11 08:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323234816001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117588074191388672,"note":"Value kept but may cause issues"} 
[2026-08-11 08:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820088789400027136,"note":"Value kept but may cause issues"} 
[2026-08-11 08:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786418895000,"timestamp_ms":1786418895000,"timestamp_seconds":1786418895,"priority":1,"record_length":96,"hex_timestamp":"0000019feedd1898"} 
[2026-08-11 08:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:59: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 08:59:12] 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-08-11 08:59: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-08-11 08:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:59:12] 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-08-11 08:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323234816001,"66":12667,"161":206,"87":13824,"24":13,"16":117588074191388672,"45":8820088789400027136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-11 08:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323234816001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:59:12] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-11 08:59:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117588074191388672,"km_value":117588074191388.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820088789400027136,"description":"Unknown IO ID 45"} 
[2026-08-11 08:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323234816001,"power":12667,"unknown_161":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8820088789400027136}} 
[2026-08-11 08:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":153400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:59:12] local.INFO: GPS data processed {"connection_id":153400,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:59:12] local.INFO: Acknowledgment sent {"connection_id":153400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:59:29] local.INFO: TCP Data received {"connection_id":154788,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:59:29] local.INFO: Processing buffer {"connection_id":154788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:59:29] local.INFO: IMEI packet received {"connection_id":154788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 08:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":154788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:59:30] local.INFO: TCP Data received {"connection_id":152449,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:59:30] local.INFO: Processing buffer {"connection_id":152449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 08:59:30] local.INFO: Packet analysis {"connection_id":152449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:59:30] local.INFO: Extracted packet for processing {"connection_id":152449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 08:59:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 08:59: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-08-11 08:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323115520001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 08:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 08:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786418721000,"timestamp_ms":1786418721000,"timestamp_seconds":1786418721,"priority":1,"record_length":96,"hex_timestamp":"0000019feeda70e8"} 
[2026-08-11 08:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 08:59: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":117,"data_length":795,"current_offset":136} 
[2026-08-11 08:59:30] 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-08-11 08:59: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-08-11 08:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 08:59:30] 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-08-11 08:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 08:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 08:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323115520001,"66":25941,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 08:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 08:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 08:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323115520001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:59:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 08:59:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 08:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 08:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323115520001,"power":25941,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 08:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":152449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:59:30] local.INFO: GPS data processed {"connection_id":152449,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:59:30] local.INFO: Acknowledgment sent {"connection_id":152449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:59:33] local.INFO: TCP Data received {"connection_id":152061,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:59:33] local.INFO: Processing buffer {"connection_id":152061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:59:33] local.INFO: IMEI packet received {"connection_id":152061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 08:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":152061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 08:59:34] local.INFO: TCP Data received {"connection_id":154788,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:59:34] local.INFO: Processing buffer {"connection_id":154788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 08:59:34] local.INFO: IMEI packet received {"connection_id":154788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 08:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":154788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:59:34] local.INFO: TCP Data received {"connection_id":154788,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feedd0128012d0cda0007074d90001d011f1c..."} 
[2026-08-11 08:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedd0128012d0cda0007074d90001d011f1c..."} 
[2026-08-11 08:59:34] local.INFO: Processing buffer {"connection_id":154788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedd0128012d0cda0007074d90001d011f1c..."} 
[2026-08-11 08:59:34] local.INFO: Packet analysis {"connection_id":154788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedd"} 
[2026-08-11 08:59:34] local.INFO: Extracted packet for processing {"connection_id":154788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedd"} 
[2026-08-11 08:59:34] local.INFO: GPS Element Parsed {"raw_longitude":755816960,"raw_latitude":117919120,"longitude_deg":75.581696,"latitude_deg":11.791912,"altitude":29,"angle":287,"satellites":28,"speed":18,"hex_longitude":"2d0cda00","hex_latitude":"07074d90","is_valid_coordinates":true} 
[2026-08-11 08: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-08-11 08:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323235328001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27541220087562240,"note":"Value kept but may cause issues"} 
[2026-08-11 08:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926545284774555648,"note":"Value kept but may cause issues"} 
[2026-08-11 08:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786418889000,"timestamp_ms":1786418889000,"timestamp_seconds":1786418889,"priority":1,"record_length":96,"hex_timestamp":"0000019feedd0128"} 
[2026-08-11 08:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 08:59:34] 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-08-11 08: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-08-11 08:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":154788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":154788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":154788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 08:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 08:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 08:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 08:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323235328001,"66":14428,"221":206,"94":10240,"24":18,"16":27541220087562240,"45":926545284774555648},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 08:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 08:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 08:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323235328001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:59:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 08:59:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 08:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27541220087562240,"km_value":27541220087562.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":926545284774555648,"description":"Unknown IO ID 45"} 
[2026-08-11 08:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323235328001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":926545284774555648}} 
[2026-08-11 08:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":154788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624076,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:59:35] local.INFO: GPS data processed {"connection_id":154788,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:59:35] local.INFO: Acknowledgment sent {"connection_id":154788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:59:41] local.INFO: TCP Data received {"connection_id":152061,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:59:41] local.INFO: Processing buffer {"connection_id":152061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 08:59:41] local.INFO: IMEI packet received {"connection_id":152061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 08:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":152061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 08:59:42] local.INFO: TCP Data received {"connection_id":152061,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feedd2450012d7a568005eb93b00007011826..."} 
[2026-08-11 08:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedd2450012d7a568005eb93b00007011826..."} 
[2026-08-11 08:59:42] local.INFO: Processing buffer {"connection_id":152061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedd2450012d7a568005eb93b00007011826..."} 
[2026-08-11 08:59:42] local.INFO: Packet analysis {"connection_id":152061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedd"} 
[2026-08-11 08:59:42] local.INFO: Extracted packet for processing {"connection_id":152061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedd"} 
[2026-08-11 08:59:42] local.INFO: GPS Element Parsed {"raw_longitude":762992256,"raw_latitude":99324848,"longitude_deg":76.2992256,"latitude_deg":9.9324848,"altitude":7,"angle":280,"satellites":38,"speed":7,"hex_longitude":"2d7a5680","hex_latitude":"05eb93b0","is_valid_coordinates":true} 
[2026-08-11 08:59: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-08-11 08:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323237120001,"note":"Value kept but may cause issues"} 
[2026-08-11 08:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117588099961192448,"note":"Value kept but may cause issues"} 
[2026-08-11 08:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816288877214150656,"note":"Value kept but may cause issues"} 
[2026-08-11 08:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 08:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786418898000,"timestamp_ms":1786418898000,"timestamp_seconds":1786418898,"priority":1,"record_length":96,"hex_timestamp":"0000019feedd2450"} 
[2026-08-11 08:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 08:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 08:59: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-11 08:59:42] 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-08-11 08:59: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-08-11 08:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 08:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 08:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 08:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 08:59: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-08-11 08:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 08:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 08:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323237120001,"66":12135,"161":206,"87":13824,"24":7,"16":117588099961192448,"45":8816288877214150656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-11 08:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 08:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 08:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323237120001,"description":"Unknown IO ID 0"} 
[2026-08-11 08:59:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-11 08:59:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 08:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117588099961192448,"km_value":117588099961192.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 08:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816288877214150656,"description":"Unknown IO ID 45"} 
[2026-08-11 08:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323237120001,"power":12135,"unknown_161":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8816288877214150656}} 
[2026-08-11 08:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":152061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 08:59:42] local.INFO: GPS data processed {"connection_id":152061,"processed":1,"errors":0,"total":1} 
[2026-08-11 08:59:42] local.INFO: Acknowledgment sent {"connection_id":152061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 08:59:53] local.INFO: TCP Data received {"connection_id":153401,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:59:53] local.INFO: Processing buffer {"connection_id":153401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 08:59:53] local.INFO: IMEI packet received {"connection_id":153401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 08:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":153401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:00:01] local.INFO: TCP Data received {"connection_id":153401,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:00:01] local.INFO: Processing buffer {"connection_id":153401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:00:01] local.INFO: IMEI packet received {"connection_id":153401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":153401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:00:01] local.INFO: TCP Data received {"connection_id":153401,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 09:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 09:00:01] local.INFO: Processing buffer {"connection_id":153401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 09:00:01] local.INFO: Packet analysis {"connection_id":153401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 09:00:01] local.INFO: Extracted packet for processing {"connection_id":153401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 09:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09:00: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-08-11 09:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323115520001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786418721000,"timestamp_ms":1786418721000,"timestamp_seconds":1786418721,"priority":1,"record_length":96,"hex_timestamp":"0000019feeda70e8"} 
[2026-08-11 09:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09:00: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":117,"data_length":795,"current_offset":136} 
[2026-08-11 09:00:01] 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-08-11 09:00: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-08-11 09:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:00:01] 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-08-11 09:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323115520001,"66":25941,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323115520001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:00:01] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:00:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323115520001,"power":25941,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":153401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:00:01] local.INFO: GPS data processed {"connection_id":153401,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:00:01] local.INFO: Acknowledgment sent {"connection_id":153401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:00:06] local.INFO: TCP Data received {"connection_id":154788,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feedd3bc0012d0cb90007075a08001a01261d..."} 
[2026-08-11 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedd3bc0012d0cb90007075a08001a01261d..."} 
[2026-08-11 09:00:06] local.INFO: Processing buffer {"connection_id":154788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedd3bc0012d0cb90007075a08001a01261d..."} 
[2026-08-11 09:00:06] local.INFO: Packet analysis {"connection_id":154788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedd"} 
[2026-08-11 09:00:06] local.INFO: Extracted packet for processing {"connection_id":154788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedd"} 
[2026-08-11 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":755808512,"raw_latitude":117922312,"longitude_deg":75.5808512,"latitude_deg":11.7922312,"altitude":26,"angle":294,"satellites":29,"speed":12,"hex_longitude":"2d0cb900","hex_latitude":"07075a08","is_valid_coordinates":true} 
[2026-08-11 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-08-11 09:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323235584001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27541653879259136,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926052703565352960,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786418904000,"timestamp_ms":1786418904000,"timestamp_seconds":1786418904,"priority":1,"record_length":96,"hex_timestamp":"0000019feedd3bc0"} 
[2026-08-11 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-08-11 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:00:06] 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-08-11 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-08-11 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-08-11 09:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323235584001,"66":13678,"221":206,"94":10240,"24":12,"16":27541653879259136,"45":926052703565352960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 09:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323235584001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:00:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 09:00:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27541653879259136,"km_value":27541653879259.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":926052703565352960,"description":"Unknown IO ID 45"} 
[2026-08-11 09:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323235584001,"power":13678,"unknown_221":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":926052703565352960}} 
[2026-08-11 09:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":154788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624079,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:00:06] local.INFO: GPS data processed {"connection_id":154788,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:00:06] local.INFO: Acknowledgment sent {"connection_id":154788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:00:13] local.INFO: TCP Data received {"connection_id":152061,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feedd2838012d7a55c005eb93e00007012626..."} 
[2026-08-11 09:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedd2838012d7a55c005eb93e00007012626..."} 
[2026-08-11 09:00:13] local.INFO: Processing buffer {"connection_id":152061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedd2838012d7a55c005eb93e00007012626..."} 
[2026-08-11 09:00:13] local.INFO: Packet analysis {"connection_id":152061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedd"} 
[2026-08-11 09:00:13] local.INFO: Extracted packet for processing {"connection_id":152061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedd"} 
[2026-08-11 09:00:13] local.INFO: GPS Element Parsed {"raw_longitude":762992064,"raw_latitude":99324896,"longitude_deg":76.2992064,"latitude_deg":9.9324896,"altitude":7,"angle":294,"satellites":38,"speed":7,"hex_longitude":"2d7a55c0","hex_latitude":"05eb93e0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323237888001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117588108551127040,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815374083539841024,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786418899000,"timestamp_ms":1786418899000,"timestamp_seconds":1786418899,"priority":1,"record_length":96,"hex_timestamp":"0000019feedd2838"} 
[2026-08-11 09:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 09:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:00:13] 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-08-11 09:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323237888001,"66":12135,"161":206,"87":13824,"24":7,"16":117588108551127040,"45":8815374083539841024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-11 09:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323237888001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:00:13] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-11 09:00:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117588108551127040,"km_value":117588108551127.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815374083539841024,"description":"Unknown IO ID 45"} 
[2026-08-11 09:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323237888001,"power":12135,"unknown_161":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8815374083539841024}} 
[2026-08-11 09:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":152061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:00:13] local.INFO: GPS data processed {"connection_id":152061,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:00:13] local.INFO: Acknowledgment sent {"connection_id":152061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:00:27] local.INFO: TCP Data received {"connection_id":154789,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:00:27] local.INFO: Processing buffer {"connection_id":154789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:00:27] local.INFO: IMEI packet received {"connection_id":154789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":154789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:00:28] local.INFO: TCP Data received {"connection_id":154789,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:00:28] local.INFO: Processing buffer {"connection_id":154789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:00:28] local.INFO: IMEI packet received {"connection_id":154789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":154789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:00:29] local.INFO: TCP Data received {"connection_id":154789,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:00:29] local.INFO: Processing buffer {"connection_id":154789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:00:29] local.INFO: IMEI packet received {"connection_id":154789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":154789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:00:32] local.INFO: TCP Data received {"connection_id":153401,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 09:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 09:00:33] local.INFO: Processing buffer {"connection_id":153401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 09:00:33] local.INFO: Packet analysis {"connection_id":153401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 09:00:33] local.INFO: Extracted packet for processing {"connection_id":153401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 09:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323115520001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786418721000,"timestamp_ms":1786418721000,"timestamp_seconds":1786418721,"priority":1,"record_length":96,"hex_timestamp":"0000019feeda70e8"} 
[2026-08-11 09:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 09:00:33] 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-08-11 09: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-08-11 09:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":153401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":153401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":153401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:00:33] 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-08-11 09:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323115520001,"66":25941,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323115520001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:00:33] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:00:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323115520001,"power":25941,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":153401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:00:33] local.INFO: GPS data processed {"connection_id":153401,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:00:33] local.INFO: Acknowledgment sent {"connection_id":153401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:00:33] local.INFO: TCP Data received {"connection_id":152062,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:00:33] local.INFO: Processing buffer {"connection_id":152062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:00:33] local.INFO: IMEI packet received {"connection_id":152062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":152062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:00:34] local.INFO: TCP Data received {"connection_id":154789,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:00:34] local.INFO: Processing buffer {"connection_id":154789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:00:34] local.INFO: IMEI packet received {"connection_id":154789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":154789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:00:35] local.INFO: TCP Data received {"connection_id":154789,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feedd4f48012d0cb24007075cb0001901181d..."} 
[2026-08-11 09:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedd4f48012d0cb24007075cb0001901181d..."} 
[2026-08-11 09:00:35] local.INFO: Processing buffer {"connection_id":154789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedd4f48012d0cb24007075cb0001901181d..."} 
[2026-08-11 09:00:35] local.INFO: Packet analysis {"connection_id":154789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedd"} 
[2026-08-11 09:00:35] local.INFO: Extracted packet for processing {"connection_id":154789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedd"} 
[2026-08-11 09:00:35] local.INFO: GPS Element Parsed {"raw_longitude":755806784,"raw_latitude":117922992,"longitude_deg":75.5806784,"latitude_deg":11.7922992,"altitude":25,"angle":280,"satellites":29,"speed":10,"hex_longitude":"2d0cb240","hex_latitude":"07075cb0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323239424001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27541739778605056,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916764029334718464,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786418909000,"timestamp_ms":1786418909000,"timestamp_seconds":1786418909,"priority":1,"record_length":96,"hex_timestamp":"0000019feedd4f48"} 
[2026-08-11 09:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-11 09:00:35] 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-08-11 09: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-08-11 09:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323239424001,"66":14396,"221":206,"94":10240,"24":10,"16":27541739778605056,"45":916764029334718464},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 09:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323239424001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:00:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 09:00:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27541739778605056,"km_value":27541739778605.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":916764029334718464,"description":"Unknown IO ID 45"} 
[2026-08-11 09:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323239424001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":916764029334718464}} 
[2026-08-11 09:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":154789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624082,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:00:35] local.INFO: GPS data processed {"connection_id":154789,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:00:35] local.INFO: Acknowledgment sent {"connection_id":154789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:00:38] local.INFO: TCP Data received {"connection_id":152062,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:00:38] local.INFO: Processing buffer {"connection_id":152062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:00:38] local.INFO: IMEI packet received {"connection_id":152062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":152062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:00:40] local.INFO: TCP Data received {"connection_id":152062,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feedd3008012d7a548005eb94f00007014726..."} 
[2026-08-11 09:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedd3008012d7a548005eb94f00007014726..."} 
[2026-08-11 09:00:40] local.INFO: Processing buffer {"connection_id":152062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedd3008012d7a548005eb94f00007014726..."} 
[2026-08-11 09:00:40] local.INFO: Packet analysis {"connection_id":152062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedd"} 
[2026-08-11 09:00:40] local.INFO: Extracted packet for processing {"connection_id":152062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedd"} 
[2026-08-11 09:00:40] local.INFO: GPS Element Parsed {"raw_longitude":762991744,"raw_latitude":99325168,"longitude_deg":76.2991744,"latitude_deg":9.9325168,"altitude":7,"angle":327,"satellites":38,"speed":9,"hex_longitude":"2d7a5480","hex_latitude":"05eb94f0","is_valid_coordinates":true} 
[2026-08-11 09:00: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-08-11 09:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323238144001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117588125730996224,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815162977307320320,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786418901000,"timestamp_ms":1786418901000,"timestamp_seconds":1786418901,"priority":1,"record_length":96,"hex_timestamp":"0000019feedd3008"} 
[2026-08-11 09:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:00: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 09:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:00: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-08-11 09:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:00:40] 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-08-11 09:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323238144001,"66":12069,"161":206,"87":13824,"24":9,"16":117588125730996224,"45":8815162977307320320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-11 09:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323238144001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:00:40] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-11 09:00:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117588125730996224,"km_value":117588125730996.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815162977307320320,"description":"Unknown IO ID 45"} 
[2026-08-11 09:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323238144001,"power":12069,"unknown_161":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8815162977307320320}} 
[2026-08-11 09:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":152062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:00:40] local.INFO: GPS data processed {"connection_id":152062,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:00:40] local.INFO: Acknowledgment sent {"connection_id":152062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:00:53] local.INFO: TCP Data received {"connection_id":153402,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:00:53] local.INFO: Processing buffer {"connection_id":153402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:00:53] local.INFO: IMEI packet received {"connection_id":153402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":153402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:00:58] local.INFO: TCP Data received {"connection_id":153402,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:00:58] local.INFO: Processing buffer {"connection_id":153402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:00:58] local.INFO: IMEI packet received {"connection_id":153402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":153402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:00:59] local.INFO: TCP Data received {"connection_id":153402,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 09:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 09:00:59] local.INFO: Processing buffer {"connection_id":153402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeda70e8012d85584006119ea8002801132d..."} 
[2026-08-11 09:00:59] local.INFO: Packet analysis {"connection_id":153402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 09:00:59] local.INFO: Extracted packet for processing {"connection_id":153402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeda"} 
[2026-08-11 09:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323115520001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786418721000,"timestamp_ms":1786418721000,"timestamp_seconds":1786418721,"priority":1,"record_length":96,"hex_timestamp":"0000019feeda70e8"} 
[2026-08-11 09:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 09:00:59] 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-08-11 09: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-08-11 09:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:00:59] 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-08-11 09:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323115520001,"66":25941,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323115520001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:00:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:00:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323115520001,"power":25941,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":153402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:00:59] local.INFO: GPS data processed {"connection_id":153402,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:00:59] local.INFO: Acknowledgment sent {"connection_id":153402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:01:06] local.INFO: TCP Data received {"connection_id":154789,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feedf85b0012d0c7e80070775f00016013620..."} 
[2026-08-11 09:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedf85b0012d0c7e80070775f00016013620..."} 
[2026-08-11 09:01:06] local.INFO: Processing buffer {"connection_id":154789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedf85b0012d0c7e80070775f00016013620..."} 
[2026-08-11 09:01:06] local.INFO: Packet analysis {"connection_id":154789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:01:06] local.INFO: Extracted packet for processing {"connection_id":154789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:01:06] local.INFO: GPS Element Parsed {"raw_longitude":755793536,"raw_latitude":117929456,"longitude_deg":75.5793536,"latitude_deg":11.7929456,"altitude":22,"angle":310,"satellites":32,"speed":10,"hex_longitude":"2d0c7e80","hex_latitude":"070775f0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 09:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323277312001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27542706146246656,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900649586919778304,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786419054000,"timestamp_ms":1786419054000,"timestamp_seconds":1786419054,"priority":1,"record_length":96,"hex_timestamp":"0000019feedf85b0"} 
[2026-08-11 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-08-11 09:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 09:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 09:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323277312001,"66":13678,"221":206,"94":10240,"24":10,"16":27542706146246656,"45":900649586919778304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 09:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323277312001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:01:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 09:01:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27542706146246656,"km_value":27542706146246.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":900649586919778304,"description":"Unknown IO ID 45"} 
[2026-08-11 09:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323277312001,"power":13678,"unknown_221":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":900649586919778304}} 
[2026-08-11 09:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":154789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624085,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:01:06] local.INFO: GPS data processed {"connection_id":154789,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:01:06] local.INFO: Acknowledgment sent {"connection_id":154789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:01:11] local.INFO: TCP Data received {"connection_id":152062,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feedd37d8012d7a538005eb96f80007015526..."} 
[2026-08-11 09:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedd37d8012d7a538005eb96f80007015526..."} 
[2026-08-11 09:01:11] local.INFO: Processing buffer {"connection_id":152062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedd37d8012d7a538005eb96f80007015526..."} 
[2026-08-11 09:01:11] local.INFO: Packet analysis {"connection_id":152062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedd"} 
[2026-08-11 09:01:11] local.INFO: Extracted packet for processing {"connection_id":152062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedd"} 
[2026-08-11 09:01:11] local.INFO: GPS Element Parsed {"raw_longitude":762991488,"raw_latitude":99325688,"longitude_deg":76.2991488,"latitude_deg":9.9325688,"altitude":7,"angle":341,"satellites":38,"speed":12,"hex_longitude":"2d7a5380","hex_latitude":"05eb96f8","is_valid_coordinates":true} 
[2026-08-11 09:01: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-08-11 09:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323238656001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117588151500800000,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814811133586501632,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786418903000,"timestamp_ms":1786418903000,"timestamp_seconds":1786418903,"priority":1,"record_length":96,"hex_timestamp":"0000019feedd37d8"} 
[2026-08-11 09:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:01: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-11 09:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:01: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-08-11 09:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:01: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-08-11 09:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323238656001,"66":12298,"161":206,"87":13824,"24":12,"16":117588151500800000,"45":8814811133586501632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-11 09:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323238656001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:01:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-11 09:01:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117588151500800000,"km_value":117588151500800,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814811133586501632,"description":"Unknown IO ID 45"} 
[2026-08-11 09:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323238656001,"power":12298,"unknown_161":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8814811133586501632}} 
[2026-08-11 09:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":152062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:01:11] local.INFO: GPS data processed {"connection_id":152062,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:01:11] local.INFO: Acknowledgment sent {"connection_id":152062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:01:27] local.INFO: TCP Data received {"connection_id":152450,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152450,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:01:27] local.INFO: Processing buffer {"connection_id":152450,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:01:27] local.INFO: IMEI packet received {"connection_id":152450,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":152450,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:01:29] local.INFO: TCP Data received {"connection_id":152450,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152450,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:01:29] local.INFO: Processing buffer {"connection_id":152450,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:01:29] local.INFO: IMEI packet received {"connection_id":152450,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":152450,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:01:30] local.INFO: TCP Data received {"connection_id":153402,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:01:30] local.INFO: Processing buffer {"connection_id":153402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:01:30] local.INFO: Packet analysis {"connection_id":153402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:01:30] local.INFO: Extracted packet for processing {"connection_id":153402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:01:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09:01: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-08-11 09:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323192576001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786419022000,"timestamp_ms":1786419022000,"timestamp_seconds":1786419022,"priority":1,"record_length":96,"hex_timestamp":"0000019feedf08b0"} 
[2026-08-11 09:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09:01: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":85,"data_length":795,"current_offset":136} 
[2026-08-11 09:01:30] 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-08-11 09:01: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-08-11 09:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:01:30] 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-08-11 09:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323192576001,"66":25843,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323192576001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:01:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:01:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323192576001,"power":25843,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":153402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:01:30] local.INFO: GPS data processed {"connection_id":153402,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:01:30] local.INFO: Acknowledgment sent {"connection_id":153402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:01:30] local.INFO: TCP Data received {"connection_id":152450,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152450,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:01:30] local.INFO: Processing buffer {"connection_id":152450,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:01:30] local.INFO: IMEI packet received {"connection_id":152450,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":152450,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:01:34] local.INFO: TCP Data received {"connection_id":152450,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152450,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:01:34] local.INFO: Processing buffer {"connection_id":152450,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:01:34] local.INFO: IMEI packet received {"connection_id":152450,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":152450,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:01:35] local.INFO: TCP Data received {"connection_id":152450,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feedf8d80012d0c7c80070777100015011c20..."} 
[2026-08-11 09:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedf8d80012d0c7c80070777100015011c20..."} 
[2026-08-11 09:01:35] local.INFO: Processing buffer {"connection_id":152450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedf8d80012d0c7c80070777100015011c20..."} 
[2026-08-11 09:01:35] local.INFO: Packet analysis {"connection_id":152450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:01:35] local.INFO: Extracted packet for processing {"connection_id":152450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:01:35] local.INFO: GPS Element Parsed {"raw_longitude":755793024,"raw_latitude":117929744,"longitude_deg":75.5793024,"latitude_deg":11.7929744,"altitude":21,"angle":284,"satellites":32,"speed":13,"hex_longitude":"2d0c7c80","hex_latitude":"07077710","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323277824001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27542736211017728,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900297743198973952,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786419056000,"timestamp_ms":1786419056000,"timestamp_seconds":1786419056,"priority":1,"record_length":96,"hex_timestamp":"0000019feedf8d80"} 
[2026-08-11 09:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-11 09:01:35] 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-08-11 09: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-08-11 09:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323277824001,"66":14407,"221":206,"94":10240,"24":13,"16":27542736211017728,"45":900297743198973952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 09:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323277824001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:01:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 09:01:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27542736211017728,"km_value":27542736211017.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":900297743198973952,"description":"Unknown IO ID 45"} 
[2026-08-11 09:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323277824001,"power":14407,"unknown_221":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":900297743198973952}} 
[2026-08-11 09:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":152450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624088,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:01:35] local.INFO: GPS data processed {"connection_id":152450,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:01:35] local.INFO: Acknowledgment sent {"connection_id":152450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:01:38] local.INFO: TCP Data received {"connection_id":152451,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:01:38] local.INFO: Processing buffer {"connection_id":152451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:01:38] local.INFO: IMEI packet received {"connection_id":152451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":152451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:01:39] local.INFO: TCP Data received {"connection_id":152451,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:01:39] local.INFO: Processing buffer {"connection_id":152451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:01:39] local.INFO: IMEI packet received {"connection_id":152451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":152451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:01:40] local.INFO: TCP Data received {"connection_id":152451,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feedfa4f0012d7a038005ec4e08000a015d25..."} 
[2026-08-11 09:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedfa4f0012d7a038005ec4e08000a015d25..."} 
[2026-08-11 09:01:40] local.INFO: Processing buffer {"connection_id":152451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedfa4f0012d7a038005ec4e08000a015d25..."} 
[2026-08-11 09:01:40] local.INFO: Packet analysis {"connection_id":152451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:01:40] local.INFO: Extracted packet for processing {"connection_id":152451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:01:40] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":99372552,"longitude_deg":76.2971008,"latitude_deg":9.9372552,"altitude":10,"angle":349,"satellites":37,"speed":3,"hex_longitude":"2d7a0380","hex_latitude":"05ec4e08","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323278848001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117590659761700864,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766717487104,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786419062000,"timestamp_ms":1786419062000,"timestamp_seconds":1786419062,"priority":1,"record_length":96,"hex_timestamp":"0000019feedfa4f0"} 
[2026-08-11 09:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 09:01:40] 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-08-11 09: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-08-11 09:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:01:40] 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-08-11 09:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323278848001,"66":12461,"100":206,"87":13824,"24":3,"16":117590659761700864,"45":8792222766717487104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 09:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323278848001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:01:40] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 09:01:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117590659761700864,"km_value":117590659761700.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766717487104,"description":"Unknown IO ID 45"} 
[2026-08-11 09:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323278848001,"power":12461,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8792222766717487104}} 
[2026-08-11 09:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":152451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:01:40] local.INFO: GPS data processed {"connection_id":152451,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:01:40] local.INFO: Acknowledgment sent {"connection_id":152451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:01:43] local.INFO: TCP Data received {"connection_id":152451,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feedff310012d7a038005ec4e38000a015d25..."} 
[2026-08-11 09:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedff310012d7a038005ec4e38000a015d25..."} 
[2026-08-11 09:01:43] local.INFO: Processing buffer {"connection_id":152451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedff310012d7a038005ec4e38000a015d25..."} 
[2026-08-11 09:01:43] local.INFO: Packet analysis {"connection_id":152451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:01:43] local.INFO: Extracted packet for processing {"connection_id":152451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:01:43] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":99372600,"longitude_deg":76.2971008,"latitude_deg":9.93726,"altitude":10,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05ec4e38","is_valid_coordinates":true} 
[2026-08-11 09:01: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-08-11 09:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323279872001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117590659761700864,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660485068800,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786419082000,"timestamp_ms":1786419082000,"timestamp_seconds":1786419082,"priority":1,"record_length":96,"hex_timestamp":"0000019feedff310"} 
[2026-08-11 09:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:01: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 09:01:43] 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-08-11 09:01: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-08-11 09:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:01:43] 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-08-11 09:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323279872001,"66":12863,"100":206,"87":13824,"24":0,"16":117590659761700864,"45":8792011660485068800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 09:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323279872001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:01:43] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 09:01:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117590659761700864,"km_value":117590659761700.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660485068800,"description":"Unknown IO ID 45"} 
[2026-08-11 09:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323279872001,"power":12863,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8792011660485068800}} 
[2026-08-11 09:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":152451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:01:43] local.INFO: GPS data processed {"connection_id":152451,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:01:43] local.INFO: Acknowledgment sent {"connection_id":152451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:01:53] local.INFO: TCP Data received {"connection_id":153403,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:01:53] local.INFO: Processing buffer {"connection_id":153403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:01:53] local.INFO: IMEI packet received {"connection_id":153403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":153403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:01:58] local.INFO: TCP Data received {"connection_id":153403,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:01:58] local.INFO: Processing buffer {"connection_id":153403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:01:58] local.INFO: IMEI packet received {"connection_id":153403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":153403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:01:59] local.INFO: TCP Data received {"connection_id":153403,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:01:59] local.INFO: Processing buffer {"connection_id":153403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:01:59] local.INFO: Packet analysis {"connection_id":153403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:01:59] local.INFO: Extracted packet for processing {"connection_id":153403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323192576001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786419022000,"timestamp_ms":1786419022000,"timestamp_seconds":1786419022,"priority":1,"record_length":96,"hex_timestamp":"0000019feedf08b0"} 
[2026-08-11 09:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-11 09:01:59] 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-08-11 09: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-08-11 09:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:01:59] 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-08-11 09:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323192576001,"66":25843,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323192576001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:01:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:01:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323192576001,"power":25843,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":153403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:01:59] local.INFO: GPS data processed {"connection_id":153403,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:01:59] local.INFO: Acknowledgment sent {"connection_id":153403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:02:06] local.INFO: TCP Data received {"connection_id":152450,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee058a0012d0c074007074fc00016010921..."} 
[2026-08-11 09:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee058a0012d0c074007074fc00016010921..."} 
[2026-08-11 09:02:06] local.INFO: Processing buffer {"connection_id":152450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee058a0012d0c074007074fc00016010921..."} 
[2026-08-11 09:02:06] local.INFO: Packet analysis {"connection_id":152450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee0"} 
[2026-08-11 09:02:06] local.INFO: Extracted packet for processing {"connection_id":152450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee0"} 
[2026-08-11 09:02:06] local.INFO: GPS Element Parsed {"raw_longitude":755763008,"raw_latitude":117919680,"longitude_deg":75.5763008,"latitude_deg":11.791968,"altitude":22,"angle":265,"satellites":33,"speed":40,"hex_longitude":"2d0c0740","hex_latitude":"07074fc0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 09:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323289344001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27544497147609088,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876653845153005568,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786419108000,"timestamp_ms":1786419108000,"timestamp_seconds":1786419108,"priority":1,"record_length":96,"hex_timestamp":"0000019feee058a0"} 
[2026-08-11 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-08-11 09:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-11 09:02:06] 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-08-11 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-08-11 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-08-11 09:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323289344001,"66":14450,"221":206,"94":10240,"24":40,"16":27544497147609088,"45":876653845153005568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 09:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323289344001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:02:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 09:02:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27544497147609088,"km_value":27544497147609.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":876653845153005568,"description":"Unknown IO ID 45"} 
[2026-08-11 09:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323289344001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":876653845153005568}} 
[2026-08-11 09:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":152450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624092,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:02:06] local.INFO: GPS data processed {"connection_id":152450,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:02:06] local.INFO: Acknowledgment sent {"connection_id":152450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:02:15] local.INFO: TCP Data received {"connection_id":152451,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feee02da8012d7a02c005ec4fb0000a015025..."} 
[2026-08-11 09:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee02da8012d7a02c005ec4fb0000a015025..."} 
[2026-08-11 09:02:15] local.INFO: Processing buffer {"connection_id":152451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee02da8012d7a02c005ec4fb0000a015025..."} 
[2026-08-11 09:02:15] local.INFO: Packet analysis {"connection_id":152451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee0"} 
[2026-08-11 09:02:15] local.INFO: Extracted packet for processing {"connection_id":152451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee0"} 
[2026-08-11 09:02:15] local.INFO: GPS Element Parsed {"raw_longitude":762970816,"raw_latitude":99372976,"longitude_deg":76.2970816,"latitude_deg":9.9372976,"altitude":10,"angle":336,"satellites":37,"speed":2,"hex_longitude":"2d7a02c0","hex_latitude":"05ec4fb0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323284992001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117590681236537344,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660485081088,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786419097000,"timestamp_ms":1786419097000,"timestamp_seconds":1786419097,"priority":1,"record_length":96,"hex_timestamp":"0000019feee02da8"} 
[2026-08-11 09:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-11 09:02:15] 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-08-11 09: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-08-11 09:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:02:15] 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-08-11 09:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323284992001,"66":12809,"100":206,"87":13824,"24":2,"16":117590681236537344,"45":8792011660485081088},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 09:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323284992001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:02:15] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 09:02:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117590681236537344,"km_value":117590681236537.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660485081088,"description":"Unknown IO ID 45"} 
[2026-08-11 09:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323284992001,"power":12809,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8792011660485081088}} 
[2026-08-11 09:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":152451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:02:15] local.INFO: GPS data processed {"connection_id":152451,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:02:15] local.INFO: Acknowledgment sent {"connection_id":152451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:02:28] local.INFO: TCP Data received {"connection_id":153404,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153404,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:02:28] local.INFO: Processing buffer {"connection_id":153404,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:02:28] local.INFO: IMEI packet received {"connection_id":153404,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":153404,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:02:29] local.INFO: TCP Data received {"connection_id":153404,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153404,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:02:29] local.INFO: Processing buffer {"connection_id":153404,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:02:29] local.INFO: IMEI packet received {"connection_id":153404,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":153404,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:02:30] local.INFO: TCP Data received {"connection_id":152063,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:02:30] local.INFO: Processing buffer {"connection_id":152063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:02:30] local.INFO: IMEI packet received {"connection_id":152063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":152063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:02:31] local.INFO: TCP Data received {"connection_id":152063,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:02:31] local.INFO: Processing buffer {"connection_id":152063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:02:31] local.INFO: IMEI packet received {"connection_id":152063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":152063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:02:32] local.INFO: TCP Data received {"connection_id":152063,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:02:32] local.INFO: Processing buffer {"connection_id":152063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:02:32] local.INFO: IMEI packet received {"connection_id":152063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":152063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:02:33] local.INFO: TCP Data received {"connection_id":153404,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153404,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:02:33] local.INFO: Processing buffer {"connection_id":153404,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:02:33] local.INFO: IMEI packet received {"connection_id":153404,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":153404,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:02:33] local.INFO: TCP Data received {"connection_id":152063,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:02:33] local.INFO: Processing buffer {"connection_id":152063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:02:33] local.INFO: IMEI packet received {"connection_id":152063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":152063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:02:33] local.INFO: TCP Data received {"connection_id":153404,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153404,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:02:33] local.INFO: Processing buffer {"connection_id":153404,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:02:33] local.INFO: IMEI packet received {"connection_id":153404,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":153404,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:02:34] local.INFO: TCP Data received {"connection_id":153403,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:02:34] local.INFO: Processing buffer {"connection_id":153403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:02:34] local.INFO: Packet analysis {"connection_id":153403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:02:34] local.INFO: Extracted packet for processing {"connection_id":153403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:02:34] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323192576001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786419022000,"timestamp_ms":1786419022000,"timestamp_seconds":1786419022,"priority":1,"record_length":96,"hex_timestamp":"0000019feedf08b0"} 
[2026-08-11 09:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-11 09:02:34] 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-08-11 09: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-08-11 09:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:02:34] 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-08-11 09:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323192576001,"66":25843,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323192576001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:02:34] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:02:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323192576001,"power":25843,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":153403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:02:34] local.INFO: GPS data processed {"connection_id":153403,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:02:34] local.INFO: Acknowledgment sent {"connection_id":153403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:02:34] local.INFO: TCP Data received {"connection_id":153404,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee06840012d0bf68007074bc8001500fd21..."} 
[2026-08-11 09:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee06840012d0bf68007074bc8001500fd21..."} 
[2026-08-11 09:02:34] local.INFO: Processing buffer {"connection_id":153404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee06840012d0bf68007074bc8001500fd21..."} 
[2026-08-11 09:02:34] local.INFO: Packet analysis {"connection_id":153404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee0"} 
[2026-08-11 09:02:34] local.INFO: Extracted packet for processing {"connection_id":153404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee0"} 
[2026-08-11 09:02:34] local.INFO: GPS Element Parsed {"raw_longitude":755758720,"raw_latitude":117918664,"longitude_deg":75.575872,"latitude_deg":11.7918664,"altitude":21,"angle":253,"satellites":33,"speed":43,"hex_longitude":"2d0bf680","hex_latitude":"07074bc8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323291648001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27544703306039296,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":866731852223725568,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786419112000,"timestamp_ms":1786419112000,"timestamp_seconds":1786419112,"priority":1,"record_length":96,"hex_timestamp":"0000019feee06840"} 
[2026-08-11 09:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 09:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323291648001,"66":13646,"221":206,"94":10240,"24":43,"16":27544703306039296,"45":866731852223725568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 09:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323291648001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:02:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 09:02:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27544703306039296,"km_value":27544703306039.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":866731852223725568,"description":"Unknown IO ID 45"} 
[2026-08-11 09:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323291648001,"power":13646,"unknown_221":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_45":866731852223725568}} 
[2026-08-11 09:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":153404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624095,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:02:34] local.INFO: GPS data processed {"connection_id":153404,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:02:34] local.INFO: Acknowledgment sent {"connection_id":153404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:02:34] local.INFO: TCP Data received {"connection_id":153404,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee07bc8012d0be300070746d00012010921..."} 
[2026-08-11 09:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee07bc8012d0be300070746d00012010921..."} 
[2026-08-11 09:02:34] local.INFO: Processing buffer {"connection_id":153404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee07bc8012d0be300070746d00012010921..."} 
[2026-08-11 09:02:34] local.INFO: Packet analysis {"connection_id":153404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee0"} 
[2026-08-11 09:02:34] local.INFO: Extracted packet for processing {"connection_id":153404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee0"} 
[2026-08-11 09:02:34] local.INFO: GPS Element Parsed {"raw_longitude":755753728,"raw_latitude":117917392,"longitude_deg":75.5753728,"latitude_deg":11.7917392,"altitude":18,"angle":265,"satellites":33,"speed":37,"hex_longitude":"2d0be300","hex_latitude":"070746d0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323292672001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27544952414142464,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862017146363561984,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786419117000,"timestamp_ms":1786419117000,"timestamp_seconds":1786419117,"priority":1,"record_length":96,"hex_timestamp":"0000019feee07bc8"} 
[2026-08-11 09:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-11 09:02:34] 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-08-11 09: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-08-11 09:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323292672001,"66":14428,"221":206,"94":10240,"24":37,"16":27544952414142464,"45":862017146363561984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 09:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323292672001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:02:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 09:02:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27544952414142464,"km_value":27544952414142.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":862017146363561984,"description":"Unknown IO ID 45"} 
[2026-08-11 09:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323292672001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":862017146363561984}} 
[2026-08-11 09:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":153404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624096,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:02:35] local.INFO: GPS data processed {"connection_id":153404,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:02:35] local.INFO: Acknowledgment sent {"connection_id":153404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:02:53] local.INFO: TCP Data received {"connection_id":154790,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:02:53] local.INFO: Processing buffer {"connection_id":154790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:02:53] local.INFO: IMEI packet received {"connection_id":154790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":154790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:02:58] local.INFO: TCP Data received {"connection_id":154790,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:02:58] local.INFO: Processing buffer {"connection_id":154790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:02:58] local.INFO: IMEI packet received {"connection_id":154790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":154790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:02:59] local.INFO: TCP Data received {"connection_id":154790,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:02:59] local.INFO: Processing buffer {"connection_id":154790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:02:59] local.INFO: Packet analysis {"connection_id":154790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:02:59] local.INFO: Extracted packet for processing {"connection_id":154790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323192576001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786419022000,"timestamp_ms":1786419022000,"timestamp_seconds":1786419022,"priority":1,"record_length":96,"hex_timestamp":"0000019feedf08b0"} 
[2026-08-11 09:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-11 09:02:59] 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-08-11 09: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-08-11 09:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:02:59] 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-08-11 09:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323192576001,"66":25843,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323192576001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:02:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:02:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323192576001,"power":25843,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":154790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:02:59] local.INFO: GPS data processed {"connection_id":154790,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:02:59] local.INFO: Acknowledgment sent {"connection_id":154790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:03:05] local.INFO: TCP Data received {"connection_id":153404,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee146e8012d0b7d0007070ce80010010a1f..."} 
[2026-08-11 09:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee146e8012d0b7d0007070ce80010010a1f..."} 
[2026-08-11 09:03:05] local.INFO: Processing buffer {"connection_id":153404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee146e8012d0b7d0007070ce80010010a1f..."} 
[2026-08-11 09:03:05] local.INFO: Packet analysis {"connection_id":153404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee1"} 
[2026-08-11 09:03:05] local.INFO: Extracted packet for processing {"connection_id":153404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee1"} 
[2026-08-11 09:03:05] local.INFO: GPS Element Parsed {"raw_longitude":755727616,"raw_latitude":117902568,"longitude_deg":75.5727616,"latitude_deg":11.7902568,"altitude":16,"angle":266,"satellites":31,"speed":41,"hex_longitude":"2d0b7d00","hex_latitude":"07070ce8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323307264001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27546704760799232,"note":"Value kept but may cause issues"} 
[2026-08-11 09:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827817936689096704,"note":"Value kept but may cause issues"} 
[2026-08-11 09:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786419169000,"timestamp_ms":1786419169000,"timestamp_seconds":1786419169,"priority":1,"record_length":96,"hex_timestamp":"0000019feee146e8"} 
[2026-08-11 09:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 09:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323307264001,"66":14450,"163":206,"94":10240,"24":41,"16":27546704760799232,"45":827817936689096704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-11 09:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323307264001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:03:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 09:03:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27546704760799232,"km_value":27546704760799.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":827817936689096704,"description":"Unknown IO ID 45"} 
[2026-08-11 09:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323307264001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":827817936689096704}} 
[2026-08-11 09:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":153404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624098,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:03:06] local.INFO: GPS data processed {"connection_id":153404,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:03:06] local.INFO: Acknowledgment sent {"connection_id":153404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:03:29] local.INFO: TCP Data received {"connection_id":152064,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152064,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:03:29] local.INFO: Processing buffer {"connection_id":152064,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:03:29] local.INFO: IMEI packet received {"connection_id":152064,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":152064,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:03:30] local.INFO: TCP Data received {"connection_id":154790,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:03:30] local.INFO: Processing buffer {"connection_id":154790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:03:30] local.INFO: Packet analysis {"connection_id":154790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:03:30] local.INFO: Extracted packet for processing {"connection_id":154790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:03:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09:03: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-08-11 09:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323192576001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786419022000,"timestamp_ms":1786419022000,"timestamp_seconds":1786419022,"priority":1,"record_length":96,"hex_timestamp":"0000019feedf08b0"} 
[2026-08-11 09:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09:03: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":85,"data_length":795,"current_offset":136} 
[2026-08-11 09:03:30] 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-08-11 09:03: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-08-11 09:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:03: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-08-11 09:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323192576001,"66":25843,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323192576001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:03:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:03:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323192576001,"power":25843,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":154790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:03:30] local.INFO: GPS data processed {"connection_id":154790,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:03:30] local.INFO: Acknowledgment sent {"connection_id":154790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:03:33] local.INFO: TCP Data received {"connection_id":152064,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152064,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:03:33] local.INFO: Processing buffer {"connection_id":152064,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:03:33] local.INFO: IMEI packet received {"connection_id":152064,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":152064,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:03:34] local.INFO: TCP Data received {"connection_id":152064,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152064,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:03:34] local.INFO: Processing buffer {"connection_id":152064,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:03:34] local.INFO: IMEI packet received {"connection_id":152064,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":152064,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:03:35] local.INFO: TCP Data received {"connection_id":152064,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee16240012d0b6200070708e8000e00fd1e..."} 
[2026-08-11 09:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee16240012d0b6200070708e8000e00fd1e..."} 
[2026-08-11 09:03:35] local.INFO: Processing buffer {"connection_id":152064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee16240012d0b6200070708e8000e00fd1e..."} 
[2026-08-11 09:03:35] local.INFO: Packet analysis {"connection_id":152064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee1"} 
[2026-08-11 09:03:35] local.INFO: Extracted packet for processing {"connection_id":152064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee1"} 
[2026-08-11 09:03:35] local.INFO: GPS Element Parsed {"raw_longitude":755720704,"raw_latitude":117901544,"longitude_deg":75.5720704,"latitude_deg":11.7901544,"altitude":14,"angle":253,"satellites":30,"speed":33,"hex_longitude":"2d0b6200","hex_latitude":"070708e8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323307264001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27547039768248320,"note":"Value kept but may cause issues"} 
[2026-08-11 09:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827817936689096704,"note":"Value kept but may cause issues"} 
[2026-08-11 09:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786419176000,"timestamp_ms":1786419176000,"timestamp_seconds":1786419176,"priority":1,"record_length":96,"hex_timestamp":"0000019feee16240"} 
[2026-08-11 09:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 09:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323307264001,"66":14515,"163":206,"94":10240,"24":33,"16":27547039768248320,"45":827817936689096704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-11 09:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323307264001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:03:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 09:03:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27547039768248320,"km_value":27547039768248.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":827817936689096704,"description":"Unknown IO ID 45"} 
[2026-08-11 09:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323307264001,"power":14515,"unknown_163":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":827817936689096704}} 
[2026-08-11 09:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":152064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624100,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:03:35] local.INFO: GPS data processed {"connection_id":152064,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:03:35] local.INFO: Acknowledgment sent {"connection_id":152064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:03:39] local.INFO: TCP Data received {"connection_id":152064,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee16a10012d0b5c0007070600000d00f21e..."} 
[2026-08-11 09:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee16a10012d0b5c0007070600000d00f21e..."} 
[2026-08-11 09:03:39] local.INFO: Processing buffer {"connection_id":152064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee16a10012d0b5c0007070600000d00f21e..."} 
[2026-08-11 09:03:39] local.INFO: Packet analysis {"connection_id":152064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee1"} 
[2026-08-11 09:03:39] local.INFO: Extracted packet for processing {"connection_id":152064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee1"} 
[2026-08-11 09:03:39] local.INFO: GPS Element Parsed {"raw_longitude":755719168,"raw_latitude":117900800,"longitude_deg":75.5719168,"latitude_deg":11.79008,"altitude":13,"angle":242,"satellites":30,"speed":34,"hex_longitude":"2d0b5c00","hex_latitude":"07070600","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323309056001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27547121372626944,"note":"Value kept but may cause issues"} 
[2026-08-11 09:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820218112317646848,"note":"Value kept but may cause issues"} 
[2026-08-11 09:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786419178000,"timestamp_ms":1786419178000,"timestamp_seconds":1786419178,"priority":1,"record_length":96,"hex_timestamp":"0000019feee16a10"} 
[2026-08-11 09:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 09:03:39] 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-08-11 09: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-08-11 09:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323309056001,"66":14396,"163":206,"94":10240,"24":34,"16":27547121372626944,"45":820218112317646848},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-11 09:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323309056001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:03:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 09:03:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27547121372626944,"km_value":27547121372626.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":820218112317646848,"description":"Unknown IO ID 45"} 
[2026-08-11 09:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323309056001,"power":14396,"unknown_163":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":820218112317646848}} 
[2026-08-11 09:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":152064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624101,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:03:39] local.INFO: GPS data processed {"connection_id":152064,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:03:39] local.INFO: Acknowledgment sent {"connection_id":152064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:03:56] local.INFO: TCP Data received {"connection_id":152065,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:03:56] local.INFO: Processing buffer {"connection_id":152065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:03:56] local.INFO: IMEI packet received {"connection_id":152065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":152065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:03:58] local.INFO: TCP Data received {"connection_id":152065,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:03:58] local.INFO: Processing buffer {"connection_id":152065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:03:58] local.INFO: IMEI packet received {"connection_id":152065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":152065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:03:58] local.INFO: TCP Data received {"connection_id":152065,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:03:58] local.INFO: Processing buffer {"connection_id":152065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:03:58] local.INFO: Packet analysis {"connection_id":152065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:03:58] local.INFO: Extracted packet for processing {"connection_id":152065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323192576001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786419022000,"timestamp_ms":1786419022000,"timestamp_seconds":1786419022,"priority":1,"record_length":96,"hex_timestamp":"0000019feedf08b0"} 
[2026-08-11 09:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-11 09:03:58] 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-08-11 09: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-08-11 09:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:03:58] 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-08-11 09:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323192576001,"66":25843,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323192576001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:03:58] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:03:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323192576001,"power":25843,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":152065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:03:58] local.INFO: GPS data processed {"connection_id":152065,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:03:58] local.INFO: Acknowledgment sent {"connection_id":152065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:04:03] local.INFO: TCP Data received {"connection_id":152065,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:04:03] local.INFO: Processing buffer {"connection_id":152065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:04:03] local.INFO: Packet analysis {"connection_id":152065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:04:03] local.INFO: Extracted packet for processing {"connection_id":152065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:04:03] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09:04: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-08-11 09:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323192576001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786419022000,"timestamp_ms":1786419022000,"timestamp_seconds":1786419022,"priority":1,"record_length":96,"hex_timestamp":"0000019feedf08b0"} 
[2026-08-11 09:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09:04: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":85,"data_length":795,"current_offset":136} 
[2026-08-11 09:04:03] 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-08-11 09:04: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-08-11 09:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:04:03] 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-08-11 09:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323192576001,"66":25843,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323192576001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:04:03] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:04:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323192576001,"power":25843,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":152065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:04:03] local.INFO: GPS data processed {"connection_id":152065,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:04:03] local.INFO: Acknowledgment sent {"connection_id":152065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:04:10] local.INFO: TCP Data received {"connection_id":152064,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee18568012d0b47400706f9e8000f00e31c..."} 
[2026-08-11 09:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee18568012d0b47400706f9e8000f00e31c..."} 
[2026-08-11 09:04:10] local.INFO: Processing buffer {"connection_id":152064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee18568012d0b47400706f9e8000f00e31c..."} 
[2026-08-11 09:04:10] local.INFO: Packet analysis {"connection_id":152064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee1"} 
[2026-08-11 09:04:10] local.INFO: Extracted packet for processing {"connection_id":152064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee1"} 
[2026-08-11 09:04:10] local.INFO: GPS Element Parsed {"raw_longitude":755713856,"raw_latitude":117897704,"longitude_deg":75.5713856,"latitude_deg":11.7897704,"altitude":15,"angle":227,"satellites":28,"speed":32,"hex_longitude":"2d0b4740","hex_latitude":"0706f9e8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323309568001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27547413430403072,"note":"Value kept but may cause issues"} 
[2026-08-11 09:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818529262457192448,"note":"Value kept but may cause issues"} 
[2026-08-11 09:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786419185000,"timestamp_ms":1786419185000,"timestamp_seconds":1786419185,"priority":1,"record_length":96,"hex_timestamp":"0000019feee18568"} 
[2026-08-11 09:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 09:04:10] 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-08-11 09: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-08-11 09:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323309568001,"66":14407,"163":206,"94":10240,"24":32,"16":27547413430403072,"45":818529262457192448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-11 09:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323309568001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:04:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 09:04:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27547413430403072,"km_value":27547413430403.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":818529262457192448,"description":"Unknown IO ID 45"} 
[2026-08-11 09:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323309568001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":818529262457192448}} 
[2026-08-11 09:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":152064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624104,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:04:10] local.INFO: GPS data processed {"connection_id":152064,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:04:10] local.INFO: Acknowledgment sent {"connection_id":152064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:04:29] local.INFO: TCP Data received {"connection_id":153405,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:04:29] local.INFO: Processing buffer {"connection_id":153405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:04:29] local.INFO: IMEI packet received {"connection_id":153405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":153405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:04:34] local.INFO: TCP Data received {"connection_id":153405,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:04:34] local.INFO: Processing buffer {"connection_id":153405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:04:34] local.INFO: IMEI packet received {"connection_id":153405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":153405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:04:35] local.INFO: TCP Data received {"connection_id":153405,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee19120012d0b40c00706f1a0000e00d51e..."} 
[2026-08-11 09:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee19120012d0b40c00706f1a0000e00d51e..."} 
[2026-08-11 09:04:35] local.INFO: Processing buffer {"connection_id":153405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee19120012d0b40c00706f1a0000e00d51e..."} 
[2026-08-11 09:04:35] local.INFO: Packet analysis {"connection_id":153405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee1"} 
[2026-08-11 09:04:35] local.INFO: Extracted packet for processing {"connection_id":153405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee1"} 
[2026-08-11 09:04:35] local.INFO: GPS Element Parsed {"raw_longitude":755712192,"raw_latitude":117895584,"longitude_deg":75.5712192,"latitude_deg":11.7895584,"altitude":14,"angle":213,"satellites":30,"speed":37,"hex_longitude":"2d0b40c0","hex_latitude":"0706f1a0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323311360001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27547542279421952,"note":"Value kept but may cause issues"} 
[2026-08-11 09:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812688656689653760,"note":"Value kept but may cause issues"} 
[2026-08-11 09:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786419188000,"timestamp_ms":1786419188000,"timestamp_seconds":1786419188,"priority":1,"record_length":96,"hex_timestamp":"0000019feee19120"} 
[2026-08-11 09:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 09:04:35] 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-08-11 09: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-08-11 09:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323311360001,"66":14135,"163":206,"94":10240,"24":37,"16":27547542279421952,"45":812688656689653760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-11 09:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323311360001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:04:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 09:04:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27547542279421952,"km_value":27547542279421.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":812688656689653760,"description":"Unknown IO ID 45"} 
[2026-08-11 09:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323311360001,"power":14135,"unknown_163":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":812688656689653760}} 
[2026-08-11 09:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":153405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624105,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:04:35] local.INFO: GPS data processed {"connection_id":153405,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:04:35] local.INFO: Acknowledgment sent {"connection_id":153405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:04:35] local.INFO: TCP Data received {"connection_id":152065,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:04:35] local.INFO: Processing buffer {"connection_id":152065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:04:35] local.INFO: Packet analysis {"connection_id":152065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:04:35] local.INFO: Extracted packet for processing {"connection_id":152065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:04:35] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323192576001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786419022000,"timestamp_ms":1786419022000,"timestamp_seconds":1786419022,"priority":1,"record_length":96,"hex_timestamp":"0000019feedf08b0"} 
[2026-08-11 09:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-11 09:04:35] 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-08-11 09: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-08-11 09:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:04: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-08-11 09:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323192576001,"66":25843,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323192576001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:04:35] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:04:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323192576001,"power":25843,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":152065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:04:35] local.INFO: GPS data processed {"connection_id":152065,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:04:35] local.INFO: Acknowledgment sent {"connection_id":152065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:04:53] local.INFO: TCP Data received {"connection_id":153407,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:04:53] local.INFO: Processing buffer {"connection_id":153407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:04:53] local.INFO: IMEI packet received {"connection_id":153407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":153407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:04:58] local.INFO: TCP Data received {"connection_id":153407,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:04:58] local.INFO: Processing buffer {"connection_id":153407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:04:58] local.INFO: IMEI packet received {"connection_id":153407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":153407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:05:06] local.INFO: TCP Data received {"connection_id":153405,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee2f0b0012d0b16c0070627c8000f008d1f..."} 
[2026-08-11 09:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee2f0b0012d0b16c0070627c8000f008d1f..."} 
[2026-08-11 09:05:06] local.INFO: Processing buffer {"connection_id":153405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee2f0b0012d0b16c0070627c8000f008d1f..."} 
[2026-08-11 09:05:06] local.INFO: Packet analysis {"connection_id":153405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee2"} 
[2026-08-11 09:05:06] local.INFO: Extracted packet for processing {"connection_id":153405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee2"} 
[2026-08-11 09:05:06] local.INFO: GPS Element Parsed {"raw_longitude":755701440,"raw_latitude":117843912,"longitude_deg":75.570144,"latitude_deg":11.7843912,"altitude":15,"angle":141,"satellites":31,"speed":15,"hex_longitude":"2d0b16c0","hex_latitude":"070627c8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323329792001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27550505806856192,"note":"Value kept but may cause issues"} 
[2026-08-11 09:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795026101888501760,"note":"Value kept but may cause issues"} 
[2026-08-11 09:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786419278000,"timestamp_ms":1786419278000,"timestamp_seconds":1786419278,"priority":1,"record_length":96,"hex_timestamp":"0000019feee2f0b0"} 
[2026-08-11 09:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 09:05:06] 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-08-11 09: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-08-11 09:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323329792001,"66":14428,"165":206,"94":10240,"24":15,"16":27550505806856192,"45":795026101888501760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-11 09:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323329792001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:05:06] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 09:05:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27550505806856192,"km_value":27550505806856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":795026101888501760,"description":"Unknown IO ID 45"} 
[2026-08-11 09:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323329792001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":795026101888501760}} 
[2026-08-11 09:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":153405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624107,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:05:06] local.INFO: GPS data processed {"connection_id":153405,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:05:06] local.INFO: Acknowledgment sent {"connection_id":153405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:05:08] local.INFO: TCP Data received {"connection_id":153407,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:05:08] local.INFO: Processing buffer {"connection_id":153407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:05:08] local.INFO: Packet analysis {"connection_id":153407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:05:08] local.INFO: Extracted packet for processing {"connection_id":153407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:05:08] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323192576001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786419022000,"timestamp_ms":1786419022000,"timestamp_seconds":1786419022,"priority":1,"record_length":96,"hex_timestamp":"0000019feedf08b0"} 
[2026-08-11 09:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-11 09:05:08] 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-08-11 09: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-08-11 09:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:05: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-08-11 09:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323192576001,"66":25843,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323192576001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:05:08] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:05:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323192576001,"power":25843,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":153407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:05:08] local.INFO: GPS data processed {"connection_id":153407,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:05:08] local.INFO: Acknowledgment sent {"connection_id":153407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:05:34] local.INFO: TCP Data received {"connection_id":152453,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152453,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:05:34] local.INFO: Processing buffer {"connection_id":152453,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:05:34] local.INFO: IMEI packet received {"connection_id":152453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":152453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:05:36] local.INFO: TCP Data received {"connection_id":152453,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152453,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:05:36] local.INFO: Processing buffer {"connection_id":152453,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:05:36] local.INFO: IMEI packet received {"connection_id":152453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":152453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:05:36] local.INFO: TCP Data received {"connection_id":152453,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee30820012d0b1f0007061eb0000f008021..."} 
[2026-08-11 09:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee30820012d0b1f0007061eb0000f008021..."} 
[2026-08-11 09:05:36] local.INFO: Processing buffer {"connection_id":152453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee30820012d0b1f0007061eb0000f008021..."} 
[2026-08-11 09:05:36] local.INFO: Packet analysis {"connection_id":152453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:05:36] local.INFO: Extracted packet for processing {"connection_id":152453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:05:36] local.INFO: GPS Element Parsed {"raw_longitude":755703552,"raw_latitude":117841584,"longitude_deg":75.5703552,"latitude_deg":11.7841584,"altitude":15,"angle":128,"satellites":33,"speed":23,"hex_longitude":"2d0b1f00","hex_latitude":"07061eb0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 09:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323335168001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27550656130711552,"note":"Value kept but may cause issues"} 
[2026-08-11 09:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":799037120305416192,"note":"Value kept but may cause issues"} 
[2026-08-11 09:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786419284000,"timestamp_ms":1786419284000,"timestamp_seconds":1786419284,"priority":1,"record_length":96,"hex_timestamp":"0000019feee30820"} 
[2026-08-11 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-08-11 09:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:05:36] 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-08-11 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-08-11 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-08-11 09:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323335168001,"66":14428,"165":206,"94":10240,"24":23,"16":27550656130711552,"45":799037120305416192},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-11 09:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323335168001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:05:36] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 09:05:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27550656130711552,"km_value":27550656130711.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":799037120305416192,"description":"Unknown IO ID 45"} 
[2026-08-11 09:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323335168001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":799037120305416192}} 
[2026-08-11 09:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":152453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624109,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:05:37] local.INFO: GPS data processed {"connection_id":152453,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:05:37] local.INFO: Acknowledgment sent {"connection_id":152453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:05:39] local.INFO: TCP Data received {"connection_id":152453,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee33ed0012d0b3e8007060a880010007c20..."} 
[2026-08-11 09:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee33ed0012d0b3e8007060a880010007c20..."} 
[2026-08-11 09:05:39] local.INFO: Processing buffer {"connection_id":152453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee33ed0012d0b3e8007060a880010007c20..."} 
[2026-08-11 09:05:39] local.INFO: Packet analysis {"connection_id":152453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:05:39] local.INFO: Extracted packet for processing {"connection_id":152453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:05:39] local.INFO: GPS Element Parsed {"raw_longitude":755711616,"raw_latitude":117836424,"longitude_deg":75.5711616,"latitude_deg":11.7836424,"altitude":16,"angle":124,"satellites":32,"speed":21,"hex_longitude":"2d0b3e80","hex_latitude":"07060a88","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323336704001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27551111397244928,"note":"Value kept but may cause issues"} 
[2026-08-11 09:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801359288862683136,"note":"Value kept but may cause issues"} 
[2026-08-11 09:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786419298000,"timestamp_ms":1786419298000,"timestamp_seconds":1786419298,"priority":1,"record_length":96,"hex_timestamp":"0000019feee33ed0"} 
[2026-08-11 09:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:05:39] 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-08-11 09: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-08-11 09:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323336704001,"66":14396,"165":206,"94":10240,"24":21,"16":27551111397244928,"45":801359288862683136},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-11 09:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323336704001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:05:39] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 09:05:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27551111397244928,"km_value":27551111397244.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":801359288862683136,"description":"Unknown IO ID 45"} 
[2026-08-11 09:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323336704001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":801359288862683136}} 
[2026-08-11 09:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":152453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624110,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:05:39] local.INFO: GPS data processed {"connection_id":152453,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:05:39] local.INFO: Acknowledgment sent {"connection_id":152453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:05:53] local.INFO: TCP Data received {"connection_id":153408,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:05:53] local.INFO: Processing buffer {"connection_id":153408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:05:53] local.INFO: IMEI packet received {"connection_id":153408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":153408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:05:58] local.INFO: TCP Data received {"connection_id":153408,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:05:58] local.INFO: Processing buffer {"connection_id":153408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:05:58] local.INFO: IMEI packet received {"connection_id":153408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":153408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:05:59] local.INFO: TCP Data received {"connection_id":153408,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:05:59] local.INFO: Processing buffer {"connection_id":153408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feedf08b0012d85584006119ea8002801132c..."} 
[2026-08-11 09:05:59] local.INFO: Packet analysis {"connection_id":153408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:05:59] local.INFO: Extracted packet for processing {"connection_id":153408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feedf"} 
[2026-08-11 09:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323192576001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786419022000,"timestamp_ms":1786419022000,"timestamp_seconds":1786419022,"priority":1,"record_length":96,"hex_timestamp":"0000019feedf08b0"} 
[2026-08-11 09:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-11 09:05:59] 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-08-11 09: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-08-11 09:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:05:59] 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-08-11 09:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323192576001,"66":25843,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323192576001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:05:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:05:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323192576001,"power":25843,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":153408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:05:59] local.INFO: GPS data processed {"connection_id":153408,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:05:59] local.INFO: Acknowledgment sent {"connection_id":153408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:06:11] local.INFO: TCP Data received {"connection_id":152453,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee365e0012d0b4d40070600000010006421..."} 
[2026-08-11 09:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee365e0012d0b4d40070600000010006421..."} 
[2026-08-11 09:06:11] local.INFO: Processing buffer {"connection_id":152453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee365e0012d0b4d40070600000010006421..."} 
[2026-08-11 09:06:11] local.INFO: Packet analysis {"connection_id":152453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:06:11] local.INFO: Extracted packet for processing {"connection_id":152453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:06:11] local.INFO: GPS Element Parsed {"raw_longitude":755715392,"raw_latitude":117833728,"longitude_deg":75.5715392,"latitude_deg":11.7833728,"altitude":16,"angle":100,"satellites":33,"speed":8,"hex_longitude":"2d0b4d40","hex_latitude":"07060000","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323340288001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27551334735544320,"note":"Value kept but may cause issues"} 
[2026-08-11 09:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":810225750627747840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786419308000,"timestamp_ms":1786419308000,"timestamp_seconds":1786419308,"priority":1,"record_length":96,"hex_timestamp":"0000019feee365e0"} 
[2026-08-11 09:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 09:06:11] 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-08-11 09: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-08-11 09:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323340288001,"66":14363,"165":206,"94":10240,"24":8,"16":27551334735544320,"45":810225750627747840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-11 09:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323340288001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:06:11] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 09:06:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27551334735544320,"km_value":27551334735544.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":810225750627747840,"description":"Unknown IO ID 45"} 
[2026-08-11 09:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323340288001,"power":14363,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":810225750627747840}} 
[2026-08-11 09:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":152453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624112,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:06:11] local.INFO: GPS data processed {"connection_id":152453,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:06:11] local.INFO: Acknowledgment sent {"connection_id":152453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:06:29] local.INFO: TCP Data received {"connection_id":153409,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153409,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:06:29] local.INFO: Processing buffer {"connection_id":153409,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:06:29] local.INFO: IMEI packet received {"connection_id":153409,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":153409,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:06:30] local.INFO: TCP Data received {"connection_id":153408,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:06:30] local.INFO: Processing buffer {"connection_id":153408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:06:30] local.INFO: Packet analysis {"connection_id":153408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:06:30] local.INFO: Extracted packet for processing {"connection_id":153408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323269632001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786419323000,"timestamp_ms":1786419323000,"timestamp_seconds":1786419323,"priority":1,"record_length":96,"hex_timestamp":"0000019feee3a078"} 
[2026-08-11 09:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 09:06:30] 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-08-11 09: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-08-11 09:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:06:30] 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-08-11 09:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323269632001,"66":25778,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323269632001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:06:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:06:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323269632001,"power":25778,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":153408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:06:30] local.INFO: GPS data processed {"connection_id":153408,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:06:30] local.INFO: Acknowledgment sent {"connection_id":153408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:06:31] local.INFO: TCP Data received {"connection_id":153409,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153409,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:06:31] local.INFO: Processing buffer {"connection_id":153409,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:06:31] local.INFO: IMEI packet received {"connection_id":153409,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":153409,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:06:31] local.INFO: TCP Data received {"connection_id":153409,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee369c8012d0b4e40070600080010004b21..."} 
[2026-08-11 09:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee369c8012d0b4e40070600080010004b21..."} 
[2026-08-11 09:06:31] local.INFO: Processing buffer {"connection_id":153409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee369c8012d0b4e40070600080010004b21..."} 
[2026-08-11 09:06:31] local.INFO: Packet analysis {"connection_id":153409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:06:31] local.INFO: Extracted packet for processing {"connection_id":153409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:06:31] local.INFO: GPS Element Parsed {"raw_longitude":755715648,"raw_latitude":117833736,"longitude_deg":75.5715648,"latitude_deg":11.7833736,"altitude":16,"angle":75,"satellites":33,"speed":8,"hex_longitude":"2d0b4e40","hex_latitude":"07060008","is_valid_coordinates":true} 
[2026-08-11 09:06: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-08-11 09:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323342848001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27551347620446208,"note":"Value kept but may cause issues"} 
[2026-08-11 09:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814377506533539840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786419309000,"timestamp_ms":1786419309000,"timestamp_seconds":1786419309,"priority":1,"record_length":96,"hex_timestamp":"0000019feee369c8"} 
[2026-08-11 09:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:06: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":27,"data_length":795,"current_offset":136} 
[2026-08-11 09:06:31] 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-08-11 09:06: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-08-11 09:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323342848001,"66":14363,"165":206,"94":10240,"24":8,"16":27551347620446208,"45":814377506533539840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-11 09:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323342848001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:06:31] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 09:06:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27551347620446208,"km_value":27551347620446.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":814377506533539840,"description":"Unknown IO ID 45"} 
[2026-08-11 09:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323342848001,"power":14363,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":814377506533539840}} 
[2026-08-11 09:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":153409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624114,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:06:32] local.INFO: GPS data processed {"connection_id":153409,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:06:32] local.INFO: Acknowledgment sent {"connection_id":153409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:06:53] local.INFO: TCP Data received {"connection_id":152456,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:06:53] local.INFO: Processing buffer {"connection_id":152456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:06:53] local.INFO: IMEI packet received {"connection_id":152456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":152456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:06:58] local.INFO: TCP Data received {"connection_id":152456,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:06:58] local.INFO: Processing buffer {"connection_id":152456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:06:58] local.INFO: IMEI packet received {"connection_id":152456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":152456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:06:59] local.INFO: TCP Data received {"connection_id":152456,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:06:59] local.INFO: Processing buffer {"connection_id":152456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:06:59] local.INFO: Packet analysis {"connection_id":152456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:06:59] local.INFO: Extracted packet for processing {"connection_id":152456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09:06: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-08-11 09:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323269632001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786419323000,"timestamp_ms":1786419323000,"timestamp_seconds":1786419323,"priority":1,"record_length":96,"hex_timestamp":"0000019feee3a078"} 
[2026-08-11 09:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 09:06:59] 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-08-11 09: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-08-11 09:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:06:59] 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-08-11 09:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323269632001,"66":25778,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323269632001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:06:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:06:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323269632001,"power":25778,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":152456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:06:59] local.INFO: GPS data processed {"connection_id":152456,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:06:59] local.INFO: Acknowledgment sent {"connection_id":152456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:07:03] local.INFO: TCP Data received {"connection_id":153409,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee37d50012d0b4f00070601800011001721..."} 
[2026-08-11 09:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee37d50012d0b4f00070601800011001721..."} 
[2026-08-11 09:07:03] local.INFO: Processing buffer {"connection_id":153409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee37d50012d0b4f00070601800011001721..."} 
[2026-08-11 09:07:03] local.INFO: Packet analysis {"connection_id":153409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:07:03] local.INFO: Extracted packet for processing {"connection_id":153409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:07:03] local.INFO: GPS Element Parsed {"raw_longitude":755715840,"raw_latitude":117834112,"longitude_deg":75.571584,"latitude_deg":11.7834112,"altitude":17,"angle":23,"satellites":33,"speed":5,"hex_longitude":"2d0b4f00","hex_latitude":"07060180","is_valid_coordinates":true} 
[2026-08-11 09:07: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-08-11 09:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323343104001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27551369095282688,"note":"Value kept but may cause issues"} 
[2026-08-11 09:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814658981510252544,"note":"Value kept but may cause issues"} 
[2026-08-11 09:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786419314000,"timestamp_ms":1786419314000,"timestamp_seconds":1786419314,"priority":1,"record_length":96,"hex_timestamp":"0000019feee37d50"} 
[2026-08-11 09:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:07: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-08-11 09:07: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-08-11 09:07: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-08-11 09:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":153409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":153409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":153409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323343104001,"66":14428,"165":206,"94":10240,"24":5,"16":27551369095282688,"45":814658981510252544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-11 09:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323343104001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:07:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 09:07:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27551369095282688,"km_value":27551369095282.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":814658981510252544,"description":"Unknown IO ID 45"} 
[2026-08-11 09:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323343104001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":814658981510252544}} 
[2026-08-11 09:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":153409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624116,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:07:03] local.INFO: GPS data processed {"connection_id":153409,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:07:03] local.INFO: Acknowledgment sent {"connection_id":153409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:07:26] local.INFO: TCP Data received {"connection_id":152457,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152457,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:07:26] local.INFO: Processing buffer {"connection_id":152457,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:07:26] local.INFO: IMEI packet received {"connection_id":152457,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":152457,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:07:28] local.INFO: TCP Data received {"connection_id":152457,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152457,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:07:28] local.INFO: Processing buffer {"connection_id":152457,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:07:28] local.INFO: IMEI packet received {"connection_id":152457,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":152457,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:07:29] local.INFO: TCP Data received {"connection_id":152457,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152457,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:07:29] local.INFO: Processing buffer {"connection_id":152457,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:07:29] local.INFO: IMEI packet received {"connection_id":152457,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":152457,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:07:30] local.INFO: TCP Data received {"connection_id":152456,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:07:30] local.INFO: Processing buffer {"connection_id":152456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:07:30] local.INFO: Packet analysis {"connection_id":152456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:07:30] local.INFO: Extracted packet for processing {"connection_id":152456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323269632001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786419323000,"timestamp_ms":1786419323000,"timestamp_seconds":1786419323,"priority":1,"record_length":96,"hex_timestamp":"0000019feee3a078"} 
[2026-08-11 09:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 09:07:30] 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-08-11 09:07: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-08-11 09:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:07: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-08-11 09:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323269632001,"66":25778,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323269632001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:07:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:07:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323269632001,"power":25778,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":152456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:07:30] local.INFO: GPS data processed {"connection_id":152456,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:07:30] local.INFO: Acknowledgment sent {"connection_id":152456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:07:34] local.INFO: TCP Data received {"connection_id":152457,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152457,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:07:34] local.INFO: Processing buffer {"connection_id":152457,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:07:34] local.INFO: IMEI packet received {"connection_id":152457,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":152457,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:07:35] local.INFO: TCP Data received {"connection_id":152457,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee555f8012d0b2a40070613d80011011221..."} 
[2026-08-11 09:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee555f8012d0b2a40070613d80011011221..."} 
[2026-08-11 09:07:35] local.INFO: Processing buffer {"connection_id":152457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee555f8012d0b2a40070613d80011011221..."} 
[2026-08-11 09:07:35] local.INFO: Packet analysis {"connection_id":152457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee5"} 
[2026-08-11 09:07:35] local.INFO: Extracted packet for processing {"connection_id":152457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee5"} 
[2026-08-11 09:07:35] local.INFO: GPS Element Parsed {"raw_longitude":755706432,"raw_latitude":117838808,"longitude_deg":75.5706432,"latitude_deg":11.7838808,"altitude":17,"angle":274,"satellites":33,"speed":9,"hex_longitude":"2d0b2a40","hex_latitude":"070613d8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323374592001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27552232383709184,"note":"Value kept but may cause issues"} 
[2026-08-11 09:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805440676024182784,"note":"Value kept but may cause issues"} 
[2026-08-11 09:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786419435000,"timestamp_ms":1786419435000,"timestamp_seconds":1786419435,"priority":1,"record_length":96,"hex_timestamp":"0000019feee555f8"} 
[2026-08-11 09:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 09:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323374592001,"66":14298,"165":206,"94":10240,"24":9,"16":27552232383709184,"45":805440676024182784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-11 09:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323374592001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:07:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 09:07:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27552232383709184,"km_value":27552232383709.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":805440676024182784,"description":"Unknown IO ID 45"} 
[2026-08-11 09:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323374592001,"power":14298,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":805440676024182784}} 
[2026-08-11 09:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":152457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624118,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:07:35] local.INFO: GPS data processed {"connection_id":152457,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:07:35] local.INFO: Acknowledgment sent {"connection_id":152457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:07:38] local.INFO: TCP Data received {"connection_id":153410,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:07:38] local.INFO: Processing buffer {"connection_id":153410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:07:38] local.INFO: IMEI packet received {"connection_id":153410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":153410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:07:42] local.INFO: TCP Data received {"connection_id":153410,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:07:42] local.INFO: Processing buffer {"connection_id":153410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:07:42] local.INFO: IMEI packet received {"connection_id":153410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":153410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:07:43] local.INFO: TCP Data received {"connection_id":153410,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feee51390012d7a048005ec7868000700fd28..."} 
[2026-08-11 09:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee51390012d7a048005ec7868000700fd28..."} 
[2026-08-11 09:07:43] local.INFO: Processing buffer {"connection_id":153410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee51390012d7a048005ec7868000700fd28..."} 
[2026-08-11 09:07:43] local.INFO: Packet analysis {"connection_id":153410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee5"} 
[2026-08-11 09:07:43] local.INFO: Extracted packet for processing {"connection_id":153410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee5"} 
[2026-08-11 09:07:43] local.INFO: GPS Element Parsed {"raw_longitude":762971264,"raw_latitude":99383400,"longitude_deg":76.2971264,"latitude_deg":9.93834,"altitude":7,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7a0480","hex_latitude":"05ec7868","is_valid_coordinates":true} 
[2026-08-11 09:07: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-08-11 09:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323365632001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117591677668950016,"note":"Value kept but may cause issues"} 
[2026-08-11 09:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792293135464556544,"note":"Value kept but may cause issues"} 
[2026-08-11 09:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786419418000,"timestamp_ms":1786419418000,"timestamp_seconds":1786419418,"priority":1,"record_length":96,"hex_timestamp":"0000019feee51390"} 
[2026-08-11 09:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-11 09:07:43] 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-08-11 09:07: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-08-11 09:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:07:43] 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-08-11 09:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323365632001,"66":13200,"100":206,"87":13824,"24":0,"16":117591677668950016,"45":8792293135464556544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 09:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323365632001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:07:43] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 09:07:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117591677668950016,"km_value":117591677668950.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792293135464556544,"description":"Unknown IO ID 45"} 
[2026-08-11 09:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323365632001,"power":13200,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8792293135464556544}} 
[2026-08-11 09:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":153410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:07:43] local.INFO: GPS data processed {"connection_id":153410,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:07:43] local.INFO: Acknowledgment sent {"connection_id":153410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:07:54] local.INFO: TCP Data received {"connection_id":154791,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:07:54] local.INFO: Processing buffer {"connection_id":154791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:07:54] local.INFO: IMEI packet received {"connection_id":154791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":154791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:07:58] local.INFO: TCP Data received {"connection_id":154791,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:07:58] local.INFO: Processing buffer {"connection_id":154791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:07:58] local.INFO: IMEI packet received {"connection_id":154791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":154791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:07:59] local.INFO: TCP Data received {"connection_id":154791,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:07:59] local.INFO: Processing buffer {"connection_id":154791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:07:59] local.INFO: Packet analysis {"connection_id":154791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:07:59] local.INFO: Extracted packet for processing {"connection_id":154791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323269632001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786419323000,"timestamp_ms":1786419323000,"timestamp_seconds":1786419323,"priority":1,"record_length":96,"hex_timestamp":"0000019feee3a078"} 
[2026-08-11 09:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 09:07:59] 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-08-11 09: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-08-11 09:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:07:59] 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-08-11 09:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323269632001,"66":25778,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323269632001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:07:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:07:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323269632001,"power":25778,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":154791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:07:59] local.INFO: GPS data processed {"connection_id":154791,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:07:59] local.INFO: Acknowledgment sent {"connection_id":154791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:08:06] local.INFO: TCP Data received {"connection_id":152457,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee559e0012d0b294007061398001200f321..."} 
[2026-08-11 09:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee559e0012d0b294007061398001200f321..."} 
[2026-08-11 09:08:06] local.INFO: Processing buffer {"connection_id":152457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee559e0012d0b294007061398001200f321..."} 
[2026-08-11 09:08:06] local.INFO: Packet analysis {"connection_id":152457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee5"} 
[2026-08-11 09:08:06] local.INFO: Extracted packet for processing {"connection_id":152457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee5"} 
[2026-08-11 09:08:06] local.INFO: GPS Element Parsed {"raw_longitude":755706176,"raw_latitude":117838744,"longitude_deg":75.5706176,"latitude_deg":11.7838744,"altitude":18,"angle":243,"satellites":33,"speed":8,"hex_longitude":"2d0b2940","hex_latitude":"07061398","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323375360001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27552245268611072,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804525882349967360,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786419436000,"timestamp_ms":1786419436000,"timestamp_seconds":1786419436,"priority":1,"record_length":96,"hex_timestamp":"0000019feee559e0"} 
[2026-08-11 09:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-11 09:08:06] 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-08-11 09: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-08-11 09:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323375360001,"66":13754,"165":206,"94":10240,"24":8,"16":27552245268611072,"45":804525882349967360},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-11 09:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323375360001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:08:06] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 09:08:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27552245268611072,"km_value":27552245268611.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":804525882349967360,"description":"Unknown IO ID 45"} 
[2026-08-11 09:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323375360001,"power":13754,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":804525882349967360}} 
[2026-08-11 09:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":152457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624121,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:08:06] local.INFO: GPS data processed {"connection_id":152457,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:08:06] local.INFO: Acknowledgment sent {"connection_id":152457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:08:17] local.INFO: TCP Data received {"connection_id":153410,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feee56598012d7a048005ec7868000700fd29..."} 
[2026-08-11 09:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee56598012d7a048005ec7868000700fd29..."} 
[2026-08-11 09:08:17] local.INFO: Processing buffer {"connection_id":153410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee56598012d7a048005ec7868000700fd29..."} 
[2026-08-11 09:08:17] local.INFO: Packet analysis {"connection_id":153410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee5"} 
[2026-08-11 09:08:17] local.INFO: Extracted packet for processing {"connection_id":153410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee5"} 
[2026-08-11 09:08:17] local.INFO: GPS Element Parsed {"raw_longitude":762971264,"raw_latitude":99383400,"longitude_deg":76.2971264,"latitude_deg":9.93834,"altitude":7,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d7a0480","hex_latitude":"05ec7868","is_valid_coordinates":true} 
[2026-08-11 09:08: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-08-11 09:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323371008001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117591677668950016,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792293135464556544,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786419439000,"timestamp_ms":1786419439000,"timestamp_seconds":1786419439,"priority":1,"record_length":96,"hex_timestamp":"0000019feee56598"} 
[2026-08-11 09:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:08: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-11 09:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:08: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-08-11 09:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:08:17] 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-08-11 09:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323371008001,"66":13102,"100":206,"87":13824,"24":0,"16":117591677668950016,"45":8792293135464556544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 09:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323371008001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:08:17] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 09:08:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117591677668950016,"km_value":117591677668950.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792293135464556544,"description":"Unknown IO ID 45"} 
[2026-08-11 09:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323371008001,"power":13102,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8792293135464556544}} 
[2026-08-11 09:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":153410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:08:17] local.INFO: GPS data processed {"connection_id":153410,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:08:17] local.INFO: Acknowledgment sent {"connection_id":153410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:08:29] local.INFO: TCP Data received {"connection_id":153411,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:08:29] local.INFO: Processing buffer {"connection_id":153411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:08:29] local.INFO: IMEI packet received {"connection_id":153411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":153411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:08:30] local.INFO: TCP Data received {"connection_id":153411,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:08:30] local.INFO: Processing buffer {"connection_id":153411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:08:30] local.INFO: IMEI packet received {"connection_id":153411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":153411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:08:30] local.INFO: TCP Data received {"connection_id":154791,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:08:30] local.INFO: Processing buffer {"connection_id":154791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:08:30] local.INFO: Packet analysis {"connection_id":154791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:08:30] local.INFO: Extracted packet for processing {"connection_id":154791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:08:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323269632001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786419323000,"timestamp_ms":1786419323000,"timestamp_seconds":1786419323,"priority":1,"record_length":96,"hex_timestamp":"0000019feee3a078"} 
[2026-08-11 09:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 09:08:30] 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-08-11 09:08: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-08-11 09:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:08:30] 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-08-11 09:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323269632001,"66":25778,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323269632001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:08:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:08:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323269632001,"power":25778,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":154791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:08:30] local.INFO: GPS data processed {"connection_id":154791,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:08:30] local.INFO: Acknowledgment sent {"connection_id":154791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:08:31] local.INFO: TCP Data received {"connection_id":153411,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:08:31] local.INFO: Processing buffer {"connection_id":153411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:08:31] local.INFO: IMEI packet received {"connection_id":153411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":153411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:08:33] local.INFO: TCP Data received {"connection_id":152066,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:08:33] local.INFO: Processing buffer {"connection_id":152066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:08:33] local.INFO: IMEI packet received {"connection_id":152066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":152066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:08:34] local.INFO: TCP Data received {"connection_id":153411,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:08:34] local.INFO: Processing buffer {"connection_id":153411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:08:34] local.INFO: IMEI packet received {"connection_id":153411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":153411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:08:35] local.INFO: TCP Data received {"connection_id":153411,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee62cd0012d0b200007059cc0001800f120..."} 
[2026-08-11 09:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee62cd0012d0b200007059cc0001800f120..."} 
[2026-08-11 09:08:35] local.INFO: Processing buffer {"connection_id":153411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee62cd0012d0b200007059cc0001800f120..."} 
[2026-08-11 09:08:35] local.INFO: Packet analysis {"connection_id":153411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee6"} 
[2026-08-11 09:08:35] local.INFO: Extracted packet for processing {"connection_id":153411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee6"} 
[2026-08-11 09:08:35] local.INFO: GPS Element Parsed {"raw_longitude":755703808,"raw_latitude":117808320,"longitude_deg":75.5703808,"latitude_deg":11.780832,"altitude":24,"angle":241,"satellites":32,"speed":10,"hex_longitude":"2d0b2000","hex_latitude":"07059cc0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323389184001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27553752802131968,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801922238807631872,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786419490000,"timestamp_ms":1786419490000,"timestamp_seconds":1786419490,"priority":1,"record_length":96,"hex_timestamp":"0000019feee62cd0"} 
[2026-08-11 09:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:08:35] 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-08-11 09: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-11 09:08:35] 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-08-11 09: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-08-11 09:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323389184001,"66":14407,"165":206,"94":10240,"24":10,"16":27553752802131968,"45":801922238807631872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-11 09:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323389184001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:08:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 09:08:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27553752802131968,"km_value":27553752802131.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":801922238807631872,"description":"Unknown IO ID 45"} 
[2026-08-11 09:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323389184001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":801922238807631872}} 
[2026-08-11 09:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":153411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624124,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:08:35] local.INFO: GPS data processed {"connection_id":153411,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:08:35] local.INFO: Acknowledgment sent {"connection_id":153411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:08:38] local.INFO: TCP Data received {"connection_id":152066,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:08:38] local.INFO: Processing buffer {"connection_id":152066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:08:38] local.INFO: IMEI packet received {"connection_id":152066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":152066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:08:39] local.INFO: TCP Data received {"connection_id":152066,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feee5b7a0012d7a048005ec7868000700fd28..."} 
[2026-08-11 09:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee5b7a0012d7a048005ec7868000700fd28..."} 
[2026-08-11 09:08:39] local.INFO: Processing buffer {"connection_id":152066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee5b7a0012d7a048005ec7868000700fd28..."} 
[2026-08-11 09:08:39] local.INFO: Packet analysis {"connection_id":152066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee5"} 
[2026-08-11 09:08:39] local.INFO: Extracted packet for processing {"connection_id":152066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee5"} 
[2026-08-11 09:08:39] local.INFO: GPS Element Parsed {"raw_longitude":762971264,"raw_latitude":99383400,"longitude_deg":76.2971264,"latitude_deg":9.93834,"altitude":7,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7a0480","hex_latitude":"05ec7868","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323376384001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117591677668950016,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792293135464556544,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786419460000,"timestamp_ms":1786419460000,"timestamp_seconds":1786419460,"priority":1,"record_length":96,"hex_timestamp":"0000019feee5b7a0"} 
[2026-08-11 09:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 09:08:39] 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-08-11 09: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-08-11 09:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:08: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-08-11 09:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323376384001,"66":13363,"100":206,"87":13824,"24":0,"16":117591677668950016,"45":8792293135464556544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 09:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323376384001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:08:39] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 09:08:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117591677668950016,"km_value":117591677668950.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792293135464556544,"description":"Unknown IO ID 45"} 
[2026-08-11 09:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323376384001,"power":13363,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8792293135464556544}} 
[2026-08-11 09:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":152066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:08:39] local.INFO: GPS data processed {"connection_id":152066,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:08:39] local.INFO: Acknowledgment sent {"connection_id":152066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:08:53] local.INFO: TCP Data received {"connection_id":152067,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:08:53] local.INFO: Processing buffer {"connection_id":152067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:08:53] local.INFO: IMEI packet received {"connection_id":152067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":152067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:08:58] local.INFO: TCP Data received {"connection_id":152067,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:08:58] local.INFO: Processing buffer {"connection_id":152067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:08:58] local.INFO: IMEI packet received {"connection_id":152067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":152067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:08:59] local.INFO: TCP Data received {"connection_id":152067,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:08:59] local.INFO: Processing buffer {"connection_id":152067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:08:59] local.INFO: Packet analysis {"connection_id":152067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:08:59] local.INFO: Extracted packet for processing {"connection_id":152067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323269632001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786419323000,"timestamp_ms":1786419323000,"timestamp_seconds":1786419323,"priority":1,"record_length":96,"hex_timestamp":"0000019feee3a078"} 
[2026-08-11 09:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 09:08:59] 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-08-11 09: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-08-11 09:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:08:59] 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-08-11 09:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323269632001,"66":25778,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323269632001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:08:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:08:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323269632001,"power":25778,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":152067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:08:59] local.INFO: GPS data processed {"connection_id":152067,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:08:59] local.INFO: Acknowledgment sent {"connection_id":152067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:09:06] local.INFO: TCP Data received {"connection_id":153411,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee64440012d0b1cc007059c200019010c20..."} 
[2026-08-11 09:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee64440012d0b1cc007059c200019010c20..."} 
[2026-08-11 09:09:06] local.INFO: Processing buffer {"connection_id":153411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee64440012d0b1cc007059c200019010c20..."} 
[2026-08-11 09:09:06] local.INFO: Packet analysis {"connection_id":153411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee6"} 
[2026-08-11 09:09:06] local.INFO: Extracted packet for processing {"connection_id":153411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee6"} 
[2026-08-11 09:09:06] local.INFO: GPS Element Parsed {"raw_longitude":755702976,"raw_latitude":117808160,"longitude_deg":75.5702976,"latitude_deg":11.780816,"altitude":25,"angle":268,"satellites":32,"speed":6,"hex_longitude":"2d0b1cc0","hex_latitude":"07059c20","is_valid_coordinates":true} 
[2026-08-11 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-08-11 09:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323389440001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27553791456837632,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801640763830878208,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786419496000,"timestamp_ms":1786419496000,"timestamp_seconds":1786419496,"priority":1,"record_length":96,"hex_timestamp":"0000019feee64440"} 
[2026-08-11 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-08-11 09:09:06] 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-08-11 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 09:09:06] 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-08-11 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-08-11 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-08-11 09:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323389440001,"66":14428,"165":206,"94":10240,"24":6,"16":27553791456837632,"45":801640763830878208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-11 09:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323389440001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:09:06] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 09:09:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27553791456837632,"km_value":27553791456837.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":801640763830878208,"description":"Unknown IO ID 45"} 
[2026-08-11 09:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323389440001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":801640763830878208}} 
[2026-08-11 09:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":153411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624127,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:09:07] local.INFO: GPS data processed {"connection_id":153411,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:09:07] local.INFO: Acknowledgment sent {"connection_id":153411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:09:10] local.INFO: TCP Data received {"connection_id":152066,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019feee609a8012d7a048005ec7868000700fd29..."} 
[2026-08-11 09:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee609a8012d7a048005ec7868000700fd29..."} 
[2026-08-11 09:09:10] local.INFO: Processing buffer {"connection_id":152066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee609a8012d7a048005ec7868000700fd29..."} 
[2026-08-11 09:09:10] local.INFO: Packet analysis {"connection_id":152066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee6"} 
[2026-08-11 09:09:10] local.INFO: Extracted packet for processing {"connection_id":152066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee6"} 
[2026-08-11 09:09:10] local.INFO: GPS Element Parsed {"raw_longitude":762971264,"raw_latitude":99383400,"longitude_deg":76.2971264,"latitude_deg":9.93834,"altitude":7,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d7a0480","hex_latitude":"05ec7868","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323381760001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117591677668950016,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792293135464556544,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786419481000,"timestamp_ms":1786419481000,"timestamp_seconds":1786419481,"priority":1,"record_length":96,"hex_timestamp":"0000019feee609a8"} 
[2026-08-11 09:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 09:09:10] 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-08-11 09: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-08-11 09:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:09:10] 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-08-11 09:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323381760001,"66":13363,"100":206,"87":13824,"24":0,"16":117591677668950016,"45":8792293135464556544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 09:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323381760001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:09:10] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 09:09:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117591677668950016,"km_value":117591677668950.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792293135464556544,"description":"Unknown IO ID 45"} 
[2026-08-11 09:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323381760001,"power":13363,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8792293135464556544}} 
[2026-08-11 09:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":152066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:09:10] local.INFO: GPS data processed {"connection_id":152066,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:09:10] local.INFO: Acknowledgment sent {"connection_id":152066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:09:28] local.INFO: TCP Data received {"connection_id":152458,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152458,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:09:28] local.INFO: Processing buffer {"connection_id":152458,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:09:28] local.INFO: IMEI packet received {"connection_id":152458,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":152458,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:09:29] local.INFO: TCP Data received {"connection_id":152458,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152458,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:09:29] local.INFO: Processing buffer {"connection_id":152458,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:09:29] local.INFO: IMEI packet received {"connection_id":152458,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":152458,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:09:30] local.INFO: TCP Data received {"connection_id":152067,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:09:30] local.INFO: Processing buffer {"connection_id":152067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:09:30] local.INFO: Packet analysis {"connection_id":152067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:09:30] local.INFO: Extracted packet for processing {"connection_id":152067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:09:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323269632001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786419323000,"timestamp_ms":1786419323000,"timestamp_seconds":1786419323,"priority":1,"record_length":96,"hex_timestamp":"0000019feee3a078"} 
[2026-08-11 09:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 09:09:30] 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-08-11 09: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-08-11 09:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:09:30] 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-08-11 09:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323269632001,"66":25778,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323269632001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:09:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:09:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323269632001,"power":25778,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":152067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:09:30] local.INFO: GPS data processed {"connection_id":152067,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:09:30] local.INFO: Acknowledgment sent {"connection_id":152067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:09:31] local.INFO: TCP Data received {"connection_id":152068,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:09:31] local.INFO: Processing buffer {"connection_id":152068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:09:31] local.INFO: IMEI packet received {"connection_id":152068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":152068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:09:33] local.INFO: TCP Data received {"connection_id":152068,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:09:33] local.INFO: Processing buffer {"connection_id":152068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:09:33] local.INFO: IMEI packet received {"connection_id":152068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":152068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:09:35] local.INFO: TCP Data received {"connection_id":152458,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152458,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:09:35] local.INFO: Processing buffer {"connection_id":152458,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:09:35] local.INFO: IMEI packet received {"connection_id":152458,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":152458,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:09:36] local.INFO: TCP Data received {"connection_id":152458,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee66f38012d0b094007059b18001a011921..."} 
[2026-08-11 09:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee66f38012d0b094007059b18001a011921..."} 
[2026-08-11 09:09:36] local.INFO: Processing buffer {"connection_id":152458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee66f38012d0b094007059b18001a011921..."} 
[2026-08-11 09:09:36] local.INFO: Packet analysis {"connection_id":152458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee6"} 
[2026-08-11 09:09:36] local.INFO: Extracted packet for processing {"connection_id":152458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee6"} 
[2026-08-11 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":755697984,"raw_latitude":117807896,"longitude_deg":75.5697984,"latitude_deg":11.7807896,"altitude":26,"angle":281,"satellites":33,"speed":14,"hex_longitude":"2d0b0940","hex_latitude":"07059b18","is_valid_coordinates":true} 
[2026-08-11 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-08-11 09:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323390976001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27554027680038912,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":800725970156527616,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786419507000,"timestamp_ms":1786419507000,"timestamp_seconds":1786419507,"priority":1,"record_length":96,"hex_timestamp":"0000019feee66f38"} 
[2026-08-11 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-08-11 09:09: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-08-11 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:09:36] 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-08-11 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-08-11 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-08-11 09:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152458,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152458,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323390976001,"66":14374,"165":206,"94":10240,"24":14,"16":27554027680038912,"45":800725970156527616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-11 09:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323390976001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:09:36] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 09:09:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27554027680038912,"km_value":27554027680038.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":800725970156527616,"description":"Unknown IO ID 45"} 
[2026-08-11 09:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323390976001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":800725970156527616}} 
[2026-08-11 09:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":152458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624130,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:09:36] local.INFO: GPS data processed {"connection_id":152458,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:09:36] local.INFO: Acknowledgment sent {"connection_id":152458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:09:37] local.INFO: TCP Data received {"connection_id":152068,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:09:37] local.INFO: Processing buffer {"connection_id":152068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:09:37] local.INFO: IMEI packet received {"connection_id":152068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":152068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:09:38] local.INFO: TCP Data received {"connection_id":152068,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feee65bb0012d7a048005ec7868000700fd28..."} 
[2026-08-11 09:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee65bb0012d7a048005ec7868000700fd28..."} 
[2026-08-11 09:09:38] local.INFO: Processing buffer {"connection_id":152068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee65bb0012d7a048005ec7868000700fd28..."} 
[2026-08-11 09:09:38] local.INFO: Packet analysis {"connection_id":152068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee6"} 
[2026-08-11 09:09:38] local.INFO: Extracted packet for processing {"connection_id":152068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee6"} 
[2026-08-11 09:09:38] local.INFO: GPS Element Parsed {"raw_longitude":762971264,"raw_latitude":99383400,"longitude_deg":76.2971264,"latitude_deg":9.93834,"altitude":7,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7a0480","hex_latitude":"05ec7868","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323387136001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117591677668950016,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792293135464556544,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786419502000,"timestamp_ms":1786419502000,"timestamp_seconds":1786419502,"priority":1,"record_length":96,"hex_timestamp":"0000019feee65bb0"} 
[2026-08-11 09:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 09:09:38] 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-08-11 09: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-08-11 09:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323387136001,"66":13319,"100":206,"87":13824,"24":0,"16":117591677668950016,"45":8792293135464556544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 09:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323387136001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:09:38] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 09:09:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117591677668950016,"km_value":117591677668950.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792293135464556544,"description":"Unknown IO ID 45"} 
[2026-08-11 09:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323387136001,"power":13319,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8792293135464556544}} 
[2026-08-11 09:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":152068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:09:38] local.INFO: GPS data processed {"connection_id":152068,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:09:38] local.INFO: Acknowledgment sent {"connection_id":152068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:09:53] local.INFO: TCP Data received {"connection_id":153412,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:09:53] local.INFO: Processing buffer {"connection_id":153412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:09:53] local.INFO: IMEI packet received {"connection_id":153412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":153412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:09:58] local.INFO: TCP Data received {"connection_id":153412,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:09:58] local.INFO: Processing buffer {"connection_id":153412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:09:58] local.INFO: IMEI packet received {"connection_id":153412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":153412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:09:59] local.INFO: TCP Data received {"connection_id":153412,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:09:59] local.INFO: Processing buffer {"connection_id":153412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:09:59] local.INFO: Packet analysis {"connection_id":153412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:09:59] local.INFO: Extracted packet for processing {"connection_id":153412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323269632001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786419323000,"timestamp_ms":1786419323000,"timestamp_seconds":1786419323,"priority":1,"record_length":96,"hex_timestamp":"0000019feee3a078"} 
[2026-08-11 09:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 09:09:59] 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-08-11 09: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-08-11 09:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:09:59] 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-08-11 09:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323269632001,"66":25778,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323269632001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:09:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:09:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323269632001,"power":25778,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":153412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:09:59] local.INFO: GPS data processed {"connection_id":153412,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:09:59] local.INFO: Acknowledgment sent {"connection_id":153412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:10:08] local.INFO: TCP Data received {"connection_id":152458,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee7a7b8012d0aa0c007058308001c011e21..."} 
[2026-08-11 09:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee7a7b8012d0aa0c007058308001c011e21..."} 
[2026-08-11 09:10:08] local.INFO: Processing buffer {"connection_id":152458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee7a7b8012d0aa0c007058308001c011e21..."} 
[2026-08-11 09:10:08] local.INFO: Packet analysis {"connection_id":152458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee7"} 
[2026-08-11 09:10:08] local.INFO: Extracted packet for processing {"connection_id":152458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee7"} 
[2026-08-11 09:10:08] local.INFO: GPS Element Parsed {"raw_longitude":755671232,"raw_latitude":117801736,"longitude_deg":75.5671232,"latitude_deg":11.7801736,"altitude":28,"angle":286,"satellites":33,"speed":6,"hex_longitude":"2d0aa0c0","hex_latitude":"07058308","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323413760001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27555354824933376,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":766315654251988992,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786419587000,"timestamp_ms":1786419587000,"timestamp_seconds":1786419587,"priority":1,"record_length":96,"hex_timestamp":"0000019feee7a7b8"} 
[2026-08-11 09:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:10:08] 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-08-11 09: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-11 09:10:08] 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-08-11 09: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-08-11 09:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152458,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152458,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323413760001,"66":14515,"153":206,"94":10240,"24":6,"16":27555354824933376,"45":766315654251988992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-11 09:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323413760001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:10:08] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-11 09:10:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27555354824933376,"km_value":27555354824933.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":766315654251988992,"description":"Unknown IO ID 45"} 
[2026-08-11 09:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323413760001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":766315654251988992}} 
[2026-08-11 09:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":152458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624133,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:10:08] local.INFO: GPS data processed {"connection_id":152458,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:10:08] local.INFO: Acknowledgment sent {"connection_id":152458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:10:09] local.INFO: TCP Data received {"connection_id":152068,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019feee7c6f8012d79f08005ec7eb80005015029..."} 
[2026-08-11 09:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee7c6f8012d79f08005ec7eb80005015029..."} 
[2026-08-11 09:10:09] local.INFO: Processing buffer {"connection_id":152068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee7c6f8012d79f08005ec7eb80005015029..."} 
[2026-08-11 09:10:09] local.INFO: Packet analysis {"connection_id":152068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee7"} 
[2026-08-11 09:10:09] local.INFO: Extracted packet for processing {"connection_id":152068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee7"} 
[2026-08-11 09:10:09] local.INFO: GPS Element Parsed {"raw_longitude":762966144,"raw_latitude":99385016,"longitude_deg":76.2966144,"latitude_deg":9.9385016,"altitude":5,"angle":336,"satellites":41,"speed":1,"hex_longitude":"2d79f080","hex_latitude":"05ec7eb8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323411968001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117591986906595328,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787437692116426752,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786419595000,"timestamp_ms":1786419595000,"timestamp_seconds":1786419595,"priority":1,"record_length":96,"hex_timestamp":"0000019feee7c6f8"} 
[2026-08-11 09:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 09:10:09] 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-08-11 09: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-08-11 09:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323411968001,"66":13319,"100":206,"87":13824,"24":1,"16":117591986906595328,"45":8787437692116426752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 09:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323411968001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:10:09] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 09:10:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117591986906595328,"km_value":117591986906595.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787437692116426752,"description":"Unknown IO ID 45"} 
[2026-08-11 09:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323411968001,"power":13319,"unknown_100":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8787437692116426752}} 
[2026-08-11 09:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":152068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:10:09] local.INFO: GPS data processed {"connection_id":152068,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:10:09] local.INFO: Acknowledgment sent {"connection_id":152068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:10:29] local.INFO: TCP Data received {"connection_id":154792,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154792,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:10:29] local.INFO: Processing buffer {"connection_id":154792,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:10:29] local.INFO: IMEI packet received {"connection_id":154792,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":154792,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:10:30] local.INFO: TCP Data received {"connection_id":153412,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:10:30] local.INFO: Processing buffer {"connection_id":153412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:10:30] local.INFO: Packet analysis {"connection_id":153412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:10:30] local.INFO: Extracted packet for processing {"connection_id":153412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09:10: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-08-11 09:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323269632001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786419323000,"timestamp_ms":1786419323000,"timestamp_seconds":1786419323,"priority":1,"record_length":96,"hex_timestamp":"0000019feee3a078"} 
[2026-08-11 09:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09:10: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":243,"data_length":795,"current_offset":136} 
[2026-08-11 09:10:30] 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-08-11 09:10: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-08-11 09:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:10:30] 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-08-11 09:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323269632001,"66":25778,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323269632001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:10:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:10:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323269632001,"power":25778,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":153412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:10:30] local.INFO: GPS data processed {"connection_id":153412,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:10:30] local.INFO: Acknowledgment sent {"connection_id":153412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:10:33] local.INFO: TCP Data received {"connection_id":154793,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:10:33] local.INFO: Processing buffer {"connection_id":154793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:10:33] local.INFO: IMEI packet received {"connection_id":154793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":154793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:10:34] local.INFO: TCP Data received {"connection_id":154792,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154792,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:10:34] local.INFO: Processing buffer {"connection_id":154792,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:10:34] local.INFO: IMEI packet received {"connection_id":154792,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":154792,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:10:35] local.INFO: TCP Data received {"connection_id":154792,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee7b758012d0a9f00070583d8001c013821..."} 
[2026-08-11 09:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee7b758012d0a9f00070583d8001c013821..."} 
[2026-08-11 09:10:35] local.INFO: Processing buffer {"connection_id":154792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee7b758012d0a9f00070583d8001c013821..."} 
[2026-08-11 09:10:35] local.INFO: Packet analysis {"connection_id":154792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee7"} 
[2026-08-11 09:10:35] local.INFO: Extracted packet for processing {"connection_id":154792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee7"} 
[2026-08-11 09:10:35] local.INFO: GPS Element Parsed {"raw_longitude":755670784,"raw_latitude":117801944,"longitude_deg":75.5670784,"latitude_deg":11.7801944,"altitude":28,"angle":312,"satellites":33,"speed":7,"hex_longitude":"2d0a9f00","hex_latitude":"070583d8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323414272001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27555380594737152,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765823073042761728,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786419591000,"timestamp_ms":1786419591000,"timestamp_seconds":1786419591,"priority":1,"record_length":96,"hex_timestamp":"0000019feee7b758"} 
[2026-08-11 09:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:10:35] 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-08-11 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 09:10:35] 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-08-11 09: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-08-11 09:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154792,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154792,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323414272001,"66":14407,"153":206,"94":10240,"24":7,"16":27555380594737152,"45":765823073042761728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-11 09:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323414272001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:10:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-11 09:10:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27555380594737152,"km_value":27555380594737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":765823073042761728,"description":"Unknown IO ID 45"} 
[2026-08-11 09:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323414272001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":765823073042761728}} 
[2026-08-11 09:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":154792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624136,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:10:35] local.INFO: GPS data processed {"connection_id":154792,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:10:35] local.INFO: Acknowledgment sent {"connection_id":154792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:10:38] local.INFO: TCP Data received {"connection_id":154793,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:10:38] local.INFO: Processing buffer {"connection_id":154793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:10:38] local.INFO: IMEI packet received {"connection_id":154793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":154793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:10:39] local.INFO: TCP Data received {"connection_id":154793,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feee7e250012d79efc005ec7fb00004014129..."} 
[2026-08-11 09:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee7e250012d79efc005ec7fb00004014129..."} 
[2026-08-11 09:10:39] local.INFO: Processing buffer {"connection_id":154793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee7e250012d79efc005ec7fb00004014129..."} 
[2026-08-11 09:10:39] local.INFO: Packet analysis {"connection_id":154793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee7"} 
[2026-08-11 09:10:39] local.INFO: Extracted packet for processing {"connection_id":154793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee7"} 
[2026-08-11 09:10:39] local.INFO: GPS Element Parsed {"raw_longitude":762965952,"raw_latitude":99385264,"longitude_deg":76.2965952,"latitude_deg":9.9385264,"altitude":4,"angle":321,"satellites":41,"speed":3,"hex_longitude":"2d79efc0","hex_latitude":"05ec7fb0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323416320001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117592004086464512,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786663635930757120,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786419602000,"timestamp_ms":1786419602000,"timestamp_seconds":1786419602,"priority":1,"record_length":96,"hex_timestamp":"0000019feee7e250"} 
[2026-08-11 09:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:10:39] 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-08-11 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 09:10:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4008124160,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:39] local.WARNING: Large IO value detected {"io_id":3,"raw_value":57777566526625590,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:39] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3880896513,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:39] local.WARNING: Large IO value detected {"io_id":236,"raw_value":8489285310495991552,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 09:10:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967143936,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:39] local.WARNING: Large IO value detected {"io_id":73,"raw_value":4160826745,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:39] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085572,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:39] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3307667456,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:39] local.WARNING: Large IO value detected {"io_id":231,"raw_value":1670836756586037253,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:39] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,100,87,24,241,157,16,197,159,132,45,64,122,3,40,10,66,120,192,97,1,240,63,227,238,236,4,113,205,5,73,248,224,41,239,50,2,161,231],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 09:10:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360657582190297088,"timestamp_seconds":360657582190297.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 09:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323416320001,"66":13189,"100":206,"87":13824,"24":3,"16":117592004086464512,"45":8786663635930757120},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 09:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323416320001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:10:39] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 09:10:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117592004086464512,"km_value":117592004086464.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786663635930757120,"description":"Unknown IO ID 45"} 
[2026-08-11 09:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323416320001,"power":13189,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8786663635930757120}} 
[2026-08-11 09:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":154793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:10:39] local.INFO: GPS data processed {"connection_id":154793,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:10:39] local.INFO: Acknowledgment sent {"connection_id":154793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:10:53] local.INFO: TCP Data received {"connection_id":153413,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:10:53] local.INFO: Processing buffer {"connection_id":153413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:10:53] local.INFO: IMEI packet received {"connection_id":153413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":153413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:10:58] local.INFO: TCP Data received {"connection_id":153413,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:10:58] local.INFO: Processing buffer {"connection_id":153413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:10:58] local.INFO: IMEI packet received {"connection_id":153413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":153413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:10:59] local.INFO: TCP Data received {"connection_id":153413,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:10:59] local.INFO: Processing buffer {"connection_id":153413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee3a078012d85584006119ea8002801132f..."} 
[2026-08-11 09:10:59] local.INFO: Packet analysis {"connection_id":153413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:10:59] local.INFO: Extracted packet for processing {"connection_id":153413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee3"} 
[2026-08-11 09:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":47,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323269632001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786419323000,"timestamp_ms":1786419323000,"timestamp_seconds":1786419323,"priority":1,"record_length":96,"hex_timestamp":"0000019feee3a078"} 
[2026-08-11 09:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 09:10:59] 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-08-11 09: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-08-11 09:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:10:59] 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-08-11 09:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323269632001,"66":25778,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323269632001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:10:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:10:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323269632001,"power":25778,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":153413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:10:59] local.INFO: GPS data processed {"connection_id":153413,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:10:59] local.INFO: Acknowledgment sent {"connection_id":153413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:11:06] local.INFO: TCP Data received {"connection_id":154792,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feee8a5a0012d0a83400705a9b80010012f20..."} 
[2026-08-11 09:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee8a5a0012d0a83400705a9b80010012f20..."} 
[2026-08-11 09:11:06] local.INFO: Processing buffer {"connection_id":154792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee8a5a0012d0a83400705a9b80010012f20..."} 
[2026-08-11 09:11:06] local.INFO: Packet analysis {"connection_id":154792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee8"} 
[2026-08-11 09:11:06] local.INFO: Extracted packet for processing {"connection_id":154792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee8"} 
[2026-08-11 09:11:06] local.INFO: GPS Element Parsed {"raw_longitude":755663680,"raw_latitude":117811640,"longitude_deg":75.566368,"latitude_deg":11.781164,"altitude":16,"angle":303,"satellites":32,"speed":9,"hex_longitude":"2d0a8340","hex_latitude":"0705a9b8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 09:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323430656001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27556102149242880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757660298720669696,"note":"Value kept but may cause issues"} 
[2026-08-11 09:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786419652000,"timestamp_ms":1786419652000,"timestamp_seconds":1786419652,"priority":1,"record_length":96,"hex_timestamp":"0000019feee8a5a0"} 
[2026-08-11 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-08-11 09:11:06] 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-08-11 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 09:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 09:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154792,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154792,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323430656001,"66":14298,"153":206,"94":10240,"24":9,"16":27556102149242880,"45":757660298720669696},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-11 09:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323430656001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:11:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-11 09:11:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27556102149242880,"km_value":27556102149242.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":757660298720669696,"description":"Unknown IO ID 45"} 
[2026-08-11 09:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323430656001,"power":14298,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":757660298720669696}} 
[2026-08-11 09:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":154792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624139,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:11:06] local.INFO: GPS data processed {"connection_id":154792,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:11:06] local.INFO: Acknowledgment sent {"connection_id":154792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:11:29] local.INFO: TCP Data received {"connection_id":153414,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153414,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:11:29] local.INFO: Processing buffer {"connection_id":153414,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:11:29] local.INFO: IMEI packet received {"connection_id":153414,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":153414,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:11:30] local.INFO: TCP Data received {"connection_id":153414,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153414,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:11:30] local.INFO: Processing buffer {"connection_id":153414,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:11:30] local.INFO: IMEI packet received {"connection_id":153414,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":153414,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:11:30] local.INFO: TCP Data received {"connection_id":153414,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153414,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:11:30] local.INFO: Processing buffer {"connection_id":153414,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:11:30] local.INFO: IMEI packet received {"connection_id":153414,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":153414,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:11:31] local.INFO: TCP Data received {"connection_id":153414,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153414,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:11:31] local.INFO: Processing buffer {"connection_id":153414,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:11:31] local.INFO: IMEI packet received {"connection_id":153414,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":153414,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:11:31] local.INFO: TCP Data received {"connection_id":153413,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019feee83840012d85584006119ea8002801132c..."} 
[2026-08-11 09:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee83840012d85584006119ea8002801132c..."} 
[2026-08-11 09:11:31] local.INFO: Processing buffer {"connection_id":153413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee83840012d85584006119ea8002801132c..."} 
[2026-08-11 09:11:31] local.INFO: Packet analysis {"connection_id":153413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee8"} 
[2026-08-11 09:11:31] local.INFO: Extracted packet for processing {"connection_id":153413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee8"} 
[2026-08-11 09:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323346688001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786419624000,"timestamp_ms":1786419624000,"timestamp_seconds":1786419624,"priority":1,"record_length":96,"hex_timestamp":"0000019feee83840"} 
[2026-08-11 09:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 09:11:31] 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-08-11 09: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-08-11 09:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:11:31] 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-08-11 09:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323346688001,"66":25778,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323346688001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:11:31] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:11:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323346688001,"power":25778,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":153413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:11:31] local.INFO: GPS data processed {"connection_id":153413,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:11:31] local.INFO: Acknowledgment sent {"connection_id":153413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:11:32] local.INFO: TCP Data received {"connection_id":153415,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:11:32] local.INFO: Processing buffer {"connection_id":153415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:11:32] local.INFO: IMEI packet received {"connection_id":153415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":153415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:11:33] local.INFO: TCP Data received {"connection_id":153415,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:11:33] local.INFO: Processing buffer {"connection_id":153415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:11:33] local.INFO: IMEI packet received {"connection_id":153415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":153415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:11:35] local.INFO: TCP Data received {"connection_id":154793,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feee7ea20012d79ef0005ec80c00004014d2a..."} 
[2026-08-11 09:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee7ea20012d79ef0005ec80c00004014d2a..."} 
[2026-08-11 09:11:35] local.INFO: Processing buffer {"connection_id":154793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee7ea20012d79ef0005ec80c00004014d2a..."} 
[2026-08-11 09:11:35] local.INFO: Packet analysis {"connection_id":154793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee7"} 
[2026-08-11 09:11:35] local.INFO: Extracted packet for processing {"connection_id":154793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee7"} 
[2026-08-11 09:11:35] local.INFO: GPS Element Parsed {"raw_longitude":762965760,"raw_latitude":99385536,"longitude_deg":76.296576,"latitude_deg":9.9385536,"altitude":4,"angle":333,"satellites":42,"speed":8,"hex_longitude":"2d79ef00","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323418112001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117592016971366400,"note":"Value kept but may cause issues"} 
[2026-08-11 09:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786452529698287616,"note":"Value kept but may cause issues"} 
[2026-08-11 09:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786419604000,"timestamp_ms":1786419604000,"timestamp_seconds":1786419604,"priority":1,"record_length":96,"hex_timestamp":"0000019feee7ea20"} 
[2026-08-11 09:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:11:35] 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-08-11 09: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 09:11:35] 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-08-11 09: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-08-11 09:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323418112001,"66":12982,"100":206,"87":13824,"24":8,"16":117592016971366400,"45":8786452529698287616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 09:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323418112001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:11:35] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 09:11:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117592016971366400,"km_value":117592016971366.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786452529698287616,"description":"Unknown IO ID 45"} 
[2026-08-11 09:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323418112001,"power":12982,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8786452529698287616}} 
[2026-08-11 09:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":154793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:11:35] local.INFO: GPS data processed {"connection_id":154793,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:11:35] local.INFO: Acknowledgment sent {"connection_id":154793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:11:35] local.INFO: TCP Data received {"connection_id":153415,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:11:35] local.INFO: Processing buffer {"connection_id":153415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:11:35] local.INFO: IMEI packet received {"connection_id":153415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":153415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:11:36] local.INFO: TCP Data received {"connection_id":153415,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:11:36] local.INFO: Processing buffer {"connection_id":153415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:11:36] local.INFO: IMEI packet received {"connection_id":153415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":153415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:11:53] local.INFO: TCP Data received {"connection_id":152069,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:11:53] local.INFO: Processing buffer {"connection_id":152069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:11:53] local.INFO: IMEI packet received {"connection_id":152069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":152069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:11:59] local.INFO: TCP Data received {"connection_id":152069,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:11:59] local.INFO: Processing buffer {"connection_id":152069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:11:59] local.INFO: IMEI packet received {"connection_id":152069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":152069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:12:00] local.INFO: TCP Data received {"connection_id":152069,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feee83840012d85584006119ea8002801132c..."} 
[2026-08-11 09:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee83840012d85584006119ea8002801132c..."} 
[2026-08-11 09:12:00] local.INFO: Processing buffer {"connection_id":152069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee83840012d85584006119ea8002801132c..."} 
[2026-08-11 09:12:00] local.INFO: Packet analysis {"connection_id":152069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee8"} 
[2026-08-11 09:12:00] local.INFO: Extracted packet for processing {"connection_id":152069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee8"} 
[2026-08-11 09:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323346688001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786419624000,"timestamp_ms":1786419624000,"timestamp_seconds":1786419624,"priority":1,"record_length":96,"hex_timestamp":"0000019feee83840"} 
[2026-08-11 09:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 09:12:00] 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-08-11 09: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-08-11 09:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:12:00] 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-08-11 09:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323346688001,"66":25778,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323346688001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:12:00] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:12:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323346688001,"power":25778,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":152069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:12:00] local.INFO: GPS data processed {"connection_id":152069,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:12:00] local.INFO: Acknowledgment sent {"connection_id":152069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:12:31] local.INFO: TCP Data received {"connection_id":152069,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feee83840012d85584006119ea8002801132c..."} 
[2026-08-11 09:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee83840012d85584006119ea8002801132c..."} 
[2026-08-11 09:12:31] local.INFO: Processing buffer {"connection_id":152069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee83840012d85584006119ea8002801132c..."} 
[2026-08-11 09:12:31] local.INFO: Packet analysis {"connection_id":152069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee8"} 
[2026-08-11 09:12:31] local.INFO: Extracted packet for processing {"connection_id":152069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee8"} 
[2026-08-11 09:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323346688001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786419624000,"timestamp_ms":1786419624000,"timestamp_seconds":1786419624,"priority":1,"record_length":96,"hex_timestamp":"0000019feee83840"} 
[2026-08-11 09:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 09:12:31] 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-08-11 09: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-08-11 09:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:12:31] 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-08-11 09:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323346688001,"66":25778,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323346688001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:12:31] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:12:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323346688001,"power":25778,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":152069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:12:31] local.INFO: GPS data processed {"connection_id":152069,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:12:31] local.INFO: Acknowledgment sent {"connection_id":152069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:12:53] local.INFO: TCP Data received {"connection_id":153417,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:12:53] local.INFO: Processing buffer {"connection_id":153417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:12:53] local.INFO: IMEI packet received {"connection_id":153417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":153417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:12:58] local.INFO: TCP Data received {"connection_id":153417,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:12:58] local.INFO: Processing buffer {"connection_id":153417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:12:58] local.INFO: IMEI packet received {"connection_id":153417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":153417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:12:59] local.INFO: TCP Data received {"connection_id":153417,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feee83840012d85584006119ea8002801132c..."} 
[2026-08-11 09:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee83840012d85584006119ea8002801132c..."} 
[2026-08-11 09:12:59] local.INFO: Processing buffer {"connection_id":153417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee83840012d85584006119ea8002801132c..."} 
[2026-08-11 09:12:59] local.INFO: Packet analysis {"connection_id":153417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee8"} 
[2026-08-11 09:12:59] local.INFO: Extracted packet for processing {"connection_id":153417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee8"} 
[2026-08-11 09:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323346688001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786419624000,"timestamp_ms":1786419624000,"timestamp_seconds":1786419624,"priority":1,"record_length":96,"hex_timestamp":"0000019feee83840"} 
[2026-08-11 09:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 09:12:59] 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-08-11 09: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-08-11 09:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:12:59] 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-08-11 09:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323346688001,"66":25778,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323346688001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:12:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:12:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323346688001,"power":25778,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":153417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:12:59] local.INFO: GPS data processed {"connection_id":153417,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:12:59] local.INFO: Acknowledgment sent {"connection_id":153417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:13:30] local.INFO: TCP Data received {"connection_id":153417,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feee83840012d85584006119ea8002801132c..."} 
[2026-08-11 09:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feee83840012d85584006119ea8002801132c..."} 
[2026-08-11 09:13:30] local.INFO: Processing buffer {"connection_id":153417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feee83840012d85584006119ea8002801132c..."} 
[2026-08-11 09:13:30] local.INFO: Packet analysis {"connection_id":153417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feee8"} 
[2026-08-11 09:13:30] local.INFO: Extracted packet for processing {"connection_id":153417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feee8"} 
[2026-08-11 09:13:30] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323346688001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786419624000,"timestamp_ms":1786419624000,"timestamp_seconds":1786419624,"priority":1,"record_length":96,"hex_timestamp":"0000019feee83840"} 
[2026-08-11 09:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":178,"data_length":795,"current_offset":136} 
[2026-08-11 09:13:30] 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-08-11 09: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-08-11 09:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:13:30] 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-08-11 09:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323346688001,"66":25778,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323346688001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:13:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:13:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323346688001,"power":25778,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":153417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:13:30] local.INFO: GPS data processed {"connection_id":153417,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:13:30] local.INFO: Acknowledgment sent {"connection_id":153417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:13:57] local.INFO: TCP Data received {"connection_id":152070,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:13:57] local.INFO: Processing buffer {"connection_id":152070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:13:57] local.INFO: IMEI packet received {"connection_id":152070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":152070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:13:57] local.INFO: TCP Data received {"connection_id":152070,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:13:57] local.INFO: Processing buffer {"connection_id":152070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:13:57] local.INFO: IMEI packet received {"connection_id":152070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":152070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:13:57] local.INFO: TCP Data received {"connection_id":152070,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:13:57] local.INFO: Processing buffer {"connection_id":152070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:13:57] local.INFO: IMEI packet received {"connection_id":152070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":152070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:13:59] local.INFO: TCP Data received {"connection_id":152070,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feeeadc08012d85584006119ea8002801132a..."} 
[2026-08-11 09:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeeadc08012d85584006119ea8002801132a..."} 
[2026-08-11 09:13:59] local.INFO: Processing buffer {"connection_id":152070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeeadc08012d85584006119ea8002801132a..."} 
[2026-08-11 09:13:59] local.INFO: Packet analysis {"connection_id":152070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeea"} 
[2026-08-11 09:13:59] local.INFO: Extracted packet for processing {"connection_id":152070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeea"} 
[2026-08-11 09:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09:13: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-08-11 09:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323423744001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786419797000,"timestamp_ms":1786419797000,"timestamp_seconds":1786419797,"priority":1,"record_length":96,"hex_timestamp":"0000019feeeadc08"} 
[2026-08-11 09:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 09:13:59] 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-08-11 09: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-08-11 09:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:13:59] 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-08-11 09:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323423744001,"66":25854,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323423744001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:13:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:13:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323423744001,"power":25854,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":152070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:13:59] local.INFO: GPS data processed {"connection_id":152070,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:13:59] local.INFO: Acknowledgment sent {"connection_id":152070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:14:32] local.INFO: TCP Data received {"connection_id":152070,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feeeadc08012d85584006119ea8002801132a..."} 
[2026-08-11 09:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeeadc08012d85584006119ea8002801132a..."} 
[2026-08-11 09:14:32] local.INFO: Processing buffer {"connection_id":152070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeeadc08012d85584006119ea8002801132a..."} 
[2026-08-11 09:14:32] local.INFO: Packet analysis {"connection_id":152070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeea"} 
[2026-08-11 09:14:32] local.INFO: Extracted packet for processing {"connection_id":152070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeea"} 
[2026-08-11 09:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763713600,"raw_latitude":101818024,"longitude_deg":76.37136,"latitude_deg":10.1818024,"altitude":40,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d855840","hex_latitude":"06119ea8","is_valid_coordinates":true} 
[2026-08-11 09:14:32] 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-08-11 09:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323423744001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786419797000,"timestamp_ms":1786419797000,"timestamp_seconds":1786419797,"priority":1,"record_length":96,"hex_timestamp":"0000019feeeadc08"} 
[2026-08-11 09:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 09:14:32] 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-08-11 09: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-08-11 09:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:14:32] 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-08-11 09:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323423744001,"66":25854,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323423744001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:14:32] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:14:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323423744001,"power":25854,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":152070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:14:32] local.INFO: GPS data processed {"connection_id":152070,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:14:32] local.INFO: Acknowledgment sent {"connection_id":152070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:14:53] local.INFO: TCP Data received {"connection_id":152072,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:14:53] local.INFO: Processing buffer {"connection_id":152072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:14:53] local.INFO: IMEI packet received {"connection_id":152072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":152072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:14:58] local.INFO: TCP Data received {"connection_id":152072,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:14:58] local.INFO: Processing buffer {"connection_id":152072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:14:58] local.INFO: IMEI packet received {"connection_id":152072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":152072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:14:59] local.INFO: TCP Data received {"connection_id":152072,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feeeb39c8012d85588006119ef0002801132b..."} 
[2026-08-11 09:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeeb39c8012d85588006119ef0002801132b..."} 
[2026-08-11 09:14:59] local.INFO: Processing buffer {"connection_id":152072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeeb39c8012d85588006119ef0002801132b..."} 
[2026-08-11 09:14:59] local.INFO: Packet analysis {"connection_id":152072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeeb"} 
[2026-08-11 09:14:59] local.INFO: Extracted packet for processing {"connection_id":152072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeeb"} 
[2026-08-11 09:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763713664,"raw_latitude":101818096,"longitude_deg":76.3713664,"latitude_deg":10.1818096,"altitude":40,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d855880","hex_latitude":"06119ef0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323468032001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838243873905006592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786419821000,"timestamp_ms":1786419821000,"timestamp_seconds":1786419821,"priority":1,"record_length":96,"hex_timestamp":"0000019feeeb39c8"} 
[2026-08-11 09:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 09:14:59] 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-08-11 09: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-08-11 09:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:14:59] 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-08-11 09:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323468032001,"66":27767,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838243873905006592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323468032001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:14:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:14:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838243873905006592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323468032001,"power":27767,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838243873905006592}} 
[2026-08-11 09:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":152072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:14:59] local.INFO: GPS data processed {"connection_id":152072,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:14:59] local.INFO: Acknowledgment sent {"connection_id":152072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:15:32] local.INFO: TCP Data received {"connection_id":152072,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feeeb8bd0012d85588006119ef0002801132c..."} 
[2026-08-11 09:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeeb8bd0012d85588006119ef0002801132c..."} 
[2026-08-11 09:15:32] local.INFO: Processing buffer {"connection_id":152072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeeb8bd0012d85588006119ef0002801132c..."} 
[2026-08-11 09:15:32] local.INFO: Packet analysis {"connection_id":152072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeeb"} 
[2026-08-11 09:15:32] local.INFO: Extracted packet for processing {"connection_id":152072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeeb"} 
[2026-08-11 09:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763713664,"raw_latitude":101818096,"longitude_deg":76.3713664,"latitude_deg":10.1818096,"altitude":40,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d855880","hex_latitude":"06119ef0","is_valid_coordinates":true} 
[2026-08-11 09:15: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-08-11 09:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323474176001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377207779103866880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8838173505160810496,"note":"Value kept but may cause issues"} 
[2026-08-11 09:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786419842000,"timestamp_ms":1786419842000,"timestamp_seconds":1786419842,"priority":1,"record_length":96,"hex_timestamp":"0000019feeeb8bd0"} 
[2026-08-11 09:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 09:15:32] 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-08-11 09:15: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-08-11 09:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:15:32] 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-08-11 09:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323474176001,"66":27876,"14":206,"79":46592,"24":0,"16":377207779103866880,"45":-8838173505160810496},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,79,24,16,45]} 
[2026-08-11 09:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323474176001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:15:32] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-11 09:15:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377207779103866880,"km_value":377207779103866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8838173505160810496,"description":"Unknown IO ID 45"} 
[2026-08-11 09:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323474176001,"power":27876,"unknown_14":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8838173505160810496}} 
[2026-08-11 09:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":152072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:15:32] local.INFO: GPS data processed {"connection_id":152072,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:15:32] local.INFO: Acknowledgment sent {"connection_id":152072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:15:58] local.INFO: TCP Data received {"connection_id":152073,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:15:58] local.INFO: Processing buffer {"connection_id":152073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:15:58] local.INFO: IMEI packet received {"connection_id":152073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":152073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:16:03] local.INFO: TCP Data received {"connection_id":152073,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:16:03] local.INFO: Processing buffer {"connection_id":152073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:16:03] local.INFO: IMEI packet received {"connection_id":152073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":152073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:16:04] local.INFO: TCP Data received {"connection_id":152073,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feeec6a78012d859f40061178f0001b00a62d..."} 
[2026-08-11 09:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeec6a78012d859f40061178f0001b00a62d..."} 
[2026-08-11 09:16:04] local.INFO: Processing buffer {"connection_id":152073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeec6a78012d859f40061178f0001b00a62d..."} 
[2026-08-11 09:16:04] local.INFO: Packet analysis {"connection_id":152073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeec"} 
[2026-08-11 09:16:04] local.INFO: Extracted packet for processing {"connection_id":152073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeec"} 
[2026-08-11 09:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763731776,"raw_latitude":101808368,"longitude_deg":76.3731776,"latitude_deg":10.1808368,"altitude":27,"angle":166,"satellites":45,"speed":19,"hex_longitude":"2d859f40","hex_latitude":"061178f0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323493376001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377208990284644352,"note":"Value kept but may cause issues"} 
[2026-08-11 09:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8818329519304792064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786419899000,"timestamp_ms":1786419899000,"timestamp_seconds":1786419899,"priority":1,"record_length":96,"hex_timestamp":"0000019feeec6a78"} 
[2026-08-11 09:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":15,"data_length":795,"current_offset":136} 
[2026-08-11 09:16: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-08-11 09: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-08-11 09:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:16: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-08-11 09:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323493376001,"66":27800,"254":206,"79":46592,"24":19,"16":377208990284644352,"45":-8818329519304792064},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 09:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323493376001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:16:04] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 09:16:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377208990284644352,"km_value":377208990284644.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8818329519304792064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323493376001,"power":27800,"unknown_254":206,"unknown_79":46592,"ignition":19,"odometer":null,"unknown_45":-8818329519304792064}} 
[2026-08-11 09:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":152073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:16:04] local.INFO: GPS data processed {"connection_id":152073,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:16:04] local.INFO: Acknowledgment sent {"connection_id":152073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:16:06] local.INFO: TCP Data received {"connection_id":152073,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feeec6e60012d859fc006117730001a00992a..."} 
[2026-08-11 09:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeec6e60012d859fc006117730001a00992a..."} 
[2026-08-11 09:16:06] local.INFO: Processing buffer {"connection_id":152073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeec6e60012d859fc006117730001a00992a..."} 
[2026-08-11 09:16:06] local.INFO: Packet analysis {"connection_id":152073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeec"} 
[2026-08-11 09:16:06] local.INFO: Extracted packet for processing {"connection_id":152073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeec"} 
[2026-08-11 09:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763731904,"raw_latitude":101807920,"longitude_deg":76.3731904,"latitude_deg":10.180792,"altitude":26,"angle":153,"satellites":42,"speed":19,"hex_longitude":"2d859fc0","hex_latitude":"06117730","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323494144001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377209011759480832,"note":"Value kept but may cause issues"} 
[2026-08-11 09:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8818259150561021952,"note":"Value kept but may cause issues"} 
[2026-08-11 09:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786419900000,"timestamp_ms":1786419900000,"timestamp_seconds":1786419900,"priority":1,"record_length":96,"hex_timestamp":"0000019feeec6e60"} 
[2026-08-11 09:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 09:16:06] 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-08-11 09: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-08-11 09:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:16: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-08-11 09:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323494144001,"66":27865,"254":206,"79":46592,"24":19,"16":377209011759480832,"45":-8818259150561021952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 09:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323494144001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:16:06] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 09:16:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377209011759480832,"km_value":377209011759480.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8818259150561021952,"description":"Unknown IO ID 45"} 
[2026-08-11 09:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323494144001,"power":27865,"unknown_254":206,"unknown_79":46592,"ignition":19,"odometer":null,"unknown_45":-8818259150561021952}} 
[2026-08-11 09:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":152073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:16:06] local.INFO: GPS data processed {"connection_id":152073,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:16:06] local.INFO: Acknowledgment sent {"connection_id":152073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:16:32] local.INFO: TCP Data received {"connection_id":152461,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:16:32] local.INFO: Processing buffer {"connection_id":152461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:16:32] local.INFO: IMEI packet received {"connection_id":152461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":152461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:16:32] local.INFO: TCP Data received {"connection_id":152461,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeed5ca8012d0a474007058988000f01111b..."} 
[2026-08-11 09:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeed5ca8012d0a474007058988000f01111b..."} 
[2026-08-11 09:16:32] local.INFO: Processing buffer {"connection_id":152461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeed5ca8012d0a474007058988000f01111b..."} 
[2026-08-11 09:16:32] local.INFO: Packet analysis {"connection_id":152461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeed"} 
[2026-08-11 09:16:32] local.INFO: Extracted packet for processing {"connection_id":152461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeed"} 
[2026-08-11 09:16:32] local.INFO: GPS Element Parsed {"raw_longitude":755648320,"raw_latitude":117803400,"longitude_deg":75.564832,"latitude_deg":11.78034,"altitude":15,"angle":273,"satellites":27,"speed":9,"hex_longitude":"2d0a4740","hex_latitude":"07058988","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323509760001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27559688446935040,"note":"Value kept but may cause issues"} 
[2026-08-11 09:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740982906348462080,"note":"Value kept but may cause issues"} 
[2026-08-11 09:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786419961000,"timestamp_ms":1786419961000,"timestamp_seconds":1786419961,"priority":1,"record_length":96,"hex_timestamp":"0000019feeed5ca8"} 
[2026-08-11 09:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09: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-08-11 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 09:16:32] 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-08-11 09: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-08-11 09:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323509760001,"66":14374,"177":206,"94":10240,"24":9,"16":27559688446935040,"45":740982906348462080},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 09:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323509760001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:16:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:16:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27559688446935040,"km_value":27559688446935.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":740982906348462080,"description":"Unknown IO ID 45"} 
[2026-08-11 09:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323509760001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":740982906348462080}} 
[2026-08-11 09:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":152461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624152,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:16:33] local.INFO: GPS data processed {"connection_id":152461,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:16:33] local.INFO: Acknowledgment sent {"connection_id":152461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:16:37] local.INFO: TCP Data received {"connection_id":152073,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feeec7248012d85a100061175a0001a008d2c..."} 
[2026-08-11 09:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeec7248012d85a100061175a0001a008d2c..."} 
[2026-08-11 09:16:37] local.INFO: Processing buffer {"connection_id":152073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeec7248012d85a100061175a0001a008d2c..."} 
[2026-08-11 09:16:37] local.INFO: Packet analysis {"connection_id":152073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeec"} 
[2026-08-11 09:16:37] local.INFO: Extracted packet for processing {"connection_id":152073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeec"} 
[2026-08-11 09:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763732224,"raw_latitude":101807520,"longitude_deg":76.3732224,"latitude_deg":10.180752,"altitude":26,"angle":141,"satellites":44,"speed":19,"hex_longitude":"2d85a100","hex_latitude":"061175a0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 09:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323494400001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377209037529284608,"note":"Value kept but may cause issues"} 
[2026-08-11 09:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8818118413072781312,"note":"Value kept but may cause issues"} 
[2026-08-11 09:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786419901000,"timestamp_ms":1786419901000,"timestamp_seconds":1786419901,"priority":1,"record_length":96,"hex_timestamp":"0000019feeec7248"} 
[2026-08-11 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-08-11 09:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 09:16: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-08-11 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-08-11 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-08-11 09:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:16: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-08-11 09:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323494400001,"66":27865,"254":206,"79":46592,"24":19,"16":377209037529284608,"45":-8818118413072781312},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 09:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323494400001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:16:37] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 09:16:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377209037529284608,"km_value":377209037529284.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8818118413072781312,"description":"Unknown IO ID 45"} 
[2026-08-11 09:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323494400001,"power":27865,"unknown_254":206,"unknown_79":46592,"ignition":19,"odometer":null,"unknown_45":-8818118413072781312}} 
[2026-08-11 09:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":152073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:16:37] local.INFO: GPS data processed {"connection_id":152073,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:16:37] local.INFO: Acknowledgment sent {"connection_id":152073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:16:38] local.INFO: TCP Data received {"connection_id":154795,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:16:38] local.INFO: Processing buffer {"connection_id":154795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:16:38] local.INFO: IMEI packet received {"connection_id":154795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":154795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:16:39] local.INFO: TCP Data received {"connection_id":154795,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feeec2fe0012d79e80005ec98980009009c28..."} 
[2026-08-11 09:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeec2fe0012d79e80005ec98980009009c28..."} 
[2026-08-11 09:16:39] local.INFO: Processing buffer {"connection_id":154795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeec2fe0012d79e80005ec98980009009c28..."} 
[2026-08-11 09:16:39] local.INFO: Packet analysis {"connection_id":154795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeec"} 
[2026-08-11 09:16:39] local.INFO: Extracted packet for processing {"connection_id":154795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeec"} 
[2026-08-11 09:16:39] local.INFO: GPS Element Parsed {"raw_longitude":762963968,"raw_latitude":99391640,"longitude_deg":76.2963968,"latitude_deg":9.939164,"altitude":9,"angle":156,"satellites":40,"speed":0,"hex_longitude":"2d79e800","hex_latitude":"05ec9898","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323484928001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117593361296130048,"note":"Value kept but may cause issues"} 
[2026-08-11 09:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784271098630412288,"note":"Value kept but may cause issues"} 
[2026-08-11 09:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786419884000,"timestamp_ms":1786419884000,"timestamp_seconds":1786419884,"priority":1,"record_length":96,"hex_timestamp":"0000019feeec2fe0"} 
[2026-08-11 09:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:16:39] 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-08-11 09: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-11 09:16:39] 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-08-11 09: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-08-11 09:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323484928001,"66":13080,"118":206,"87":13824,"24":0,"16":117593361296130048,"45":8784271098630412288},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-08-11 09:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323484928001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:16:39] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-11 09:16:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117593361296130048,"km_value":117593361296130.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784271098630412288,"description":"Unknown IO ID 45"} 
[2026-08-11 09:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323484928001,"power":13080,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8784271098630412288}} 
[2026-08-11 09:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":154795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:16:39] local.INFO: GPS data processed {"connection_id":154795,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:16:39] local.INFO: Acknowledgment sent {"connection_id":154795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:16:51] local.INFO: TCP Data received {"connection_id":152462,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:16:51] local.INFO: Processing buffer {"connection_id":152462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:16:51] local.INFO: IMEI packet received {"connection_id":152462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":152462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:16:52] local.INFO: TCP Data received {"connection_id":152462,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:16:52] local.INFO: Processing buffer {"connection_id":152462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:16:52] local.INFO: IMEI packet received {"connection_id":152462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":152462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:16:53] local.INFO: TCP Data received {"connection_id":152462,"ip":"42.106.6.28","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 09:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152462,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 09:16:53] local.INFO: Processing buffer {"connection_id":152462,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 09:16:53] local.INFO: IMEI packet received {"connection_id":152462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":152462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:17:03] local.INFO: TCP Data received {"connection_id":152461,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeed6090012d0a468007058960000e00fd1c..."} 
[2026-08-11 09:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeed6090012d0a468007058960000e00fd1c..."} 
[2026-08-11 09:17:03] local.INFO: Processing buffer {"connection_id":152461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeed6090012d0a468007058960000e00fd1c..."} 
[2026-08-11 09:17:03] local.INFO: Packet analysis {"connection_id":152461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeed"} 
[2026-08-11 09:17:03] local.INFO: Extracted packet for processing {"connection_id":152461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeed"} 
[2026-08-11 09:17:03] local.INFO: GPS Element Parsed {"raw_longitude":755648128,"raw_latitude":117803360,"longitude_deg":75.5648128,"latitude_deg":11.780336,"altitude":14,"angle":253,"satellites":28,"speed":8,"hex_longitude":"2d0a4680","hex_latitude":"07058960","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323510016001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27559701331836928,"note":"Value kept but may cause issues"} 
[2026-08-11 09:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740631062627584000,"note":"Value kept but may cause issues"} 
[2026-08-11 09:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786419962000,"timestamp_ms":1786419962000,"timestamp_seconds":1786419962,"priority":1,"record_length":96,"hex_timestamp":"0000019feeed6090"} 
[2026-08-11 09:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:17: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-08-11 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 09:17:03] 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-08-11 09: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-08-11 09:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323510016001,"66":14396,"177":206,"94":10240,"24":8,"16":27559701331836928,"45":740631062627584000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 09:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323510016001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:17:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:17:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27559701331836928,"km_value":27559701331836.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":740631062627584000,"description":"Unknown IO ID 45"} 
[2026-08-11 09:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323510016001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":740631062627584000}} 
[2026-08-11 09:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":152461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624155,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:17:03] local.INFO: GPS data processed {"connection_id":152461,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:17:03] local.INFO: Acknowledgment sent {"connection_id":152461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:17:11] local.INFO: TCP Data received {"connection_id":154795,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feeec81e8012d79ea4005ec9390000600a028..."} 
[2026-08-11 09:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeec81e8012d79ea4005ec9390000600a028..."} 
[2026-08-11 09:17:11] local.INFO: Processing buffer {"connection_id":154795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeec81e8012d79ea4005ec9390000600a028..."} 
[2026-08-11 09:17:11] local.INFO: Packet analysis {"connection_id":154795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeec"} 
[2026-08-11 09:17:11] local.INFO: Extracted packet for processing {"connection_id":154795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeec"} 
[2026-08-11 09:17:11] local.INFO: GPS Element Parsed {"raw_longitude":762964544,"raw_latitude":99390352,"longitude_deg":76.2964544,"latitude_deg":9.9390352,"altitude":6,"angle":160,"satellites":40,"speed":4,"hex_longitude":"2d79ea40","hex_latitude":"05ec9390","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323490304001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117593434310574080,"note":"Value kept but may cause issues"} 
[2026-08-11 09:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784271098630412288,"note":"Value kept but may cause issues"} 
[2026-08-11 09:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786419905000,"timestamp_ms":1786419905000,"timestamp_seconds":1786419905,"priority":1,"record_length":96,"hex_timestamp":"0000019feeec81e8"} 
[2026-08-11 09:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:17:11] 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-08-11 09: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-11 09:17:11] 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-08-11 09: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-08-11 09:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":154795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":154795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":154795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323490304001,"66":13015,"100":206,"87":13824,"24":4,"16":117593434310574080,"45":8784271098630412288},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 09:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323490304001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:17:11] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 09:17:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117593434310574080,"km_value":117593434310574.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784271098630412288,"description":"Unknown IO ID 45"} 
[2026-08-11 09:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323490304001,"power":13015,"unknown_100":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8784271098630412288}} 
[2026-08-11 09:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":154795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:17:11] local.INFO: GPS data processed {"connection_id":154795,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:17:11] local.INFO: Acknowledgment sent {"connection_id":154795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:17:29] local.INFO: TCP Data received {"connection_id":152463,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152463,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:17:29] local.INFO: Processing buffer {"connection_id":152463,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:17:29] local.INFO: IMEI packet received {"connection_id":152463,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":152463,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:17:29] local.INFO: TCP Data received {"connection_id":152463,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152463,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:17:29] local.INFO: Processing buffer {"connection_id":152463,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:17:29] local.INFO: IMEI packet received {"connection_id":152463,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":152463,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:17:33] local.INFO: TCP Data received {"connection_id":152074,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:17:33] local.INFO: Processing buffer {"connection_id":152074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:17:33] local.INFO: IMEI packet received {"connection_id":152074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":152074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:17:33] local.INFO: TCP Data received {"connection_id":152463,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152463,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:17:33] local.INFO: Processing buffer {"connection_id":152463,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:17:33] local.INFO: IMEI packet received {"connection_id":152463,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":152463,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:17:34] local.INFO: TCP Data received {"connection_id":152463,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeee6648012d09ea0007057a40000b00bd1f..."} 
[2026-08-11 09:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeee6648012d09ea0007057a40000b00bd1f..."} 
[2026-08-11 09:17:34] local.INFO: Processing buffer {"connection_id":152463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeee6648012d09ea0007057a40000b00bd1f..."} 
[2026-08-11 09:17:34] local.INFO: Packet analysis {"connection_id":152463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeee"} 
[2026-08-11 09:17:34] local.INFO: Extracted packet for processing {"connection_id":152463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeee"} 
[2026-08-11 09:17:34] local.INFO: GPS Element Parsed {"raw_longitude":755624448,"raw_latitude":117799488,"longitude_deg":75.5624448,"latitude_deg":11.7799488,"altitude":11,"angle":189,"satellites":31,"speed":13,"hex_longitude":"2d09ea00","hex_latitude":"07057a40","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323527168001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27560869562941440,"note":"Value kept but may cause issues"} 
[2026-08-11 09:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714383521048399872,"note":"Value kept but may cause issues"} 
[2026-08-11 09:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786420029000,"timestamp_ms":1786420029000,"timestamp_seconds":1786420029,"priority":1,"record_length":96,"hex_timestamp":"0000019feeee6648"} 
[2026-08-11 09:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:17: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-08-11 09: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":154,"data_length":795,"current_offset":136} 
[2026-08-11 09:17:34] 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-08-11 09: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-08-11 09:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323527168001,"66":13722,"177":206,"94":10240,"24":13,"16":27560869562941440,"45":714383521048399872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 09:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323527168001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:17:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:17:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27560869562941440,"km_value":27560869562941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":714383521048399872,"description":"Unknown IO ID 45"} 
[2026-08-11 09:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323527168001,"power":13722,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":714383521048399872}} 
[2026-08-11 09:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":152463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624157,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:17:34] local.INFO: GPS data processed {"connection_id":152463,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:17:34] local.INFO: Acknowledgment sent {"connection_id":152463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:17:38] local.INFO: TCP Data received {"connection_id":152074,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:17:38] local.INFO: Processing buffer {"connection_id":152074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:17:38] local.INFO: IMEI packet received {"connection_id":152074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":152074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:17:39] local.INFO: TCP Data received {"connection_id":152074,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feeecd3f0012d79f00005ec86200006009a29..."} 
[2026-08-11 09:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeecd3f0012d79f00005ec86200006009a29..."} 
[2026-08-11 09:17:39] local.INFO: Processing buffer {"connection_id":152074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeecd3f0012d79f00005ec86200006009a29..."} 
[2026-08-11 09:17:39] local.INFO: Packet analysis {"connection_id":152074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeec"} 
[2026-08-11 09:17:39] local.INFO: Extracted packet for processing {"connection_id":152074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeec"} 
[2026-08-11 09:17:39] local.INFO: GPS Element Parsed {"raw_longitude":762966016,"raw_latitude":99386912,"longitude_deg":76.2966016,"latitude_deg":9.9386912,"altitude":6,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d79f000","hex_latitude":"05ec8620","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323495680001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117593618994167808,"note":"Value kept but may cause issues"} 
[2026-08-11 09:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784904417327681536,"note":"Value kept but may cause issues"} 
[2026-08-11 09:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786419926000,"timestamp_ms":1786419926000,"timestamp_seconds":1786419926,"priority":1,"record_length":96,"hex_timestamp":"0000019feeecd3f0"} 
[2026-08-11 09:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:17:39] 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-08-11 09: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-11 09:17:39] 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-08-11 09: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-08-11 09:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323495680001,"66":13048,"100":206,"87":13824,"24":0,"16":117593618994167808,"45":8784904417327681536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 09:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323495680001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:17:39] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 09:17:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117593618994167808,"km_value":117593618994167.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784904417327681536,"description":"Unknown IO ID 45"} 
[2026-08-11 09:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323495680001,"power":13048,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8784904417327681536}} 
[2026-08-11 09:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":152074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:17:39] local.INFO: GPS data processed {"connection_id":152074,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:17:39] local.INFO: Acknowledgment sent {"connection_id":152074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:18:06] local.INFO: TCP Data received {"connection_id":152463,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeef1610012d09c4c0070567b8000800911d..."} 
[2026-08-11 09:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeef1610012d09c4c0070567b8000800911d..."} 
[2026-08-11 09:18:06] local.INFO: Processing buffer {"connection_id":152463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeef1610012d09c4c0070567b8000800911d..."} 
[2026-08-11 09:18:06] local.INFO: Packet analysis {"connection_id":152463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeef"} 
[2026-08-11 09:18:06] local.INFO: Extracted packet for processing {"connection_id":152463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeef"} 
[2026-08-11 09:18:06] local.INFO: GPS Element Parsed {"raw_longitude":755614912,"raw_latitude":117794744,"longitude_deg":75.5614912,"latitude_deg":11.7794744,"altitude":8,"angle":145,"satellites":29,"speed":13,"hex_longitude":"2d09c4c0","hex_latitude":"070567b8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 09:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323538688001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27561732851367936,"note":"Value kept but may cause issues"} 
[2026-08-11 09:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703687471932151808,"note":"Value kept but may cause issues"} 
[2026-08-11 09:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786420074000,"timestamp_ms":1786420074000,"timestamp_seconds":1786420074,"priority":1,"record_length":96,"hex_timestamp":"0000019feeef1610"} 
[2026-08-11 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-08-11 09:18: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-08-11 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 09:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 09:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323538688001,"66":14439,"177":206,"94":10240,"24":13,"16":27561732851367936,"45":703687471932151808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 09:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323538688001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:18:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:18:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27561732851367936,"km_value":27561732851367.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":703687471932151808,"description":"Unknown IO ID 45"} 
[2026-08-11 09:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323538688001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":703687471932151808}} 
[2026-08-11 09:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":152463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624159,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:18:06] local.INFO: GPS data processed {"connection_id":152463,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:18:06] local.INFO: Acknowledgment sent {"connection_id":152463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:18:10] local.INFO: TCP Data received {"connection_id":152074,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feeed25f8012d79fa8005ec7108000600a529..."} 
[2026-08-11 09:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeed25f8012d79fa8005ec7108000600a529..."} 
[2026-08-11 09:18:10] local.INFO: Processing buffer {"connection_id":152074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeed25f8012d79fa8005ec7108000600a529..."} 
[2026-08-11 09:18:10] local.INFO: Packet analysis {"connection_id":152074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeed"} 
[2026-08-11 09:18:10] local.INFO: Extracted packet for processing {"connection_id":152074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeed"} 
[2026-08-11 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":762968704,"raw_latitude":99381512,"longitude_deg":76.2968704,"latitude_deg":9.9381512,"altitude":6,"angle":165,"satellites":41,"speed":17,"hex_longitude":"2d79fa80","hex_latitude":"05ec7108","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323501056001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117593911051943936,"note":"Value kept but may cause issues"} 
[2026-08-11 09:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786522898442887168,"note":"Value kept but may cause issues"} 
[2026-08-11 09:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786419947000,"timestamp_ms":1786419947000,"timestamp_seconds":1786419947,"priority":1,"record_length":96,"hex_timestamp":"0000019feeed25f8"} 
[2026-08-11 09:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:18:10] 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-08-11 09: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 09:18:10] 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-08-11 09: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-08-11 09:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323501056001,"66":13341,"100":206,"87":13824,"24":17,"16":117593911051943936,"45":8786522898442887168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 09:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323501056001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:18:10] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 09:18:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117593911051943936,"km_value":117593911051943.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786522898442887168,"description":"Unknown IO ID 45"} 
[2026-08-11 09:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323501056001,"power":13341,"unknown_100":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8786522898442887168}} 
[2026-08-11 09:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":152074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:18:10] local.INFO: GPS data processed {"connection_id":152074,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:18:10] local.INFO: Acknowledgment sent {"connection_id":152074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:18:28] local.INFO: TCP Data received {"connection_id":154796,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154796,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:18:28] local.INFO: Processing buffer {"connection_id":154796,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:18:28] local.INFO: IMEI packet received {"connection_id":154796,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":154796,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:18:29] local.INFO: TCP Data received {"connection_id":154796,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154796,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:18:29] local.INFO: Processing buffer {"connection_id":154796,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:18:29] local.INFO: IMEI packet received {"connection_id":154796,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":154796,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:18:33] local.INFO: TCP Data received {"connection_id":153421,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:18:33] local.INFO: Processing buffer {"connection_id":153421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:18:33] local.INFO: IMEI packet received {"connection_id":153421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":153421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:18:34] local.INFO: TCP Data received {"connection_id":154796,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154796,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:18:34] local.INFO: Processing buffer {"connection_id":154796,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:18:34] local.INFO: IMEI packet received {"connection_id":154796,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":154796,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:18:34] local.INFO: TCP Data received {"connection_id":154796,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeef19f8012d09c50007056678000800a91e..."} 
[2026-08-11 09:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeef19f8012d09c50007056678000800a91e..."} 
[2026-08-11 09:18:34] local.INFO: Processing buffer {"connection_id":154796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeef19f8012d09c50007056678000800a91e..."} 
[2026-08-11 09:18:34] local.INFO: Packet analysis {"connection_id":154796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeef"} 
[2026-08-11 09:18:34] local.INFO: Extracted packet for processing {"connection_id":154796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeef"} 
[2026-08-11 09:18:34] local.INFO: GPS Element Parsed {"raw_longitude":755614976,"raw_latitude":117794424,"longitude_deg":75.5614976,"latitude_deg":11.7794424,"altitude":8,"angle":169,"satellites":30,"speed":14,"hex_longitude":"2d09c500","hex_latitude":"07056678","is_valid_coordinates":true} 
[2026-08-11 09:18: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-08-11 09:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323538944001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27561750031237120,"note":"Value kept but may cause issues"} 
[2026-08-11 09:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703898578164627456,"note":"Value kept but may cause issues"} 
[2026-08-11 09:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786420075000,"timestamp_ms":1786420075000,"timestamp_seconds":1786420075,"priority":1,"record_length":96,"hex_timestamp":"0000019feeef19f8"} 
[2026-08-11 09:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:18: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-08-11 09:18: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 09:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:18: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-08-11 09:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":154796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":154796,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":154796,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323538944001,"66":14439,"177":206,"94":10240,"24":14,"16":27561750031237120,"45":703898578164627456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 09:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323538944001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:18:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:18:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27561750031237120,"km_value":27561750031237.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":703898578164627456,"description":"Unknown IO ID 45"} 
[2026-08-11 09:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323538944001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":703898578164627456}} 
[2026-08-11 09:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":154796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624161,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:18:34] local.INFO: GPS data processed {"connection_id":154796,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:18:34] local.INFO: Acknowledgment sent {"connection_id":154796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:18:38] local.INFO: TCP Data received {"connection_id":153421,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:18:38] local.INFO: Processing buffer {"connection_id":153421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:18:38] local.INFO: IMEI packet received {"connection_id":153421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":153421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:18:39] local.INFO: TCP Data received {"connection_id":153421,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feeef19f8012d7a1e8005ec0740000f00a025..."} 
[2026-08-11 09:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeef19f8012d7a1e8005ec0740000f00a025..."} 
[2026-08-11 09:18:39] local.INFO: Processing buffer {"connection_id":153421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeef19f8012d7a1e8005ec0740000f00a025..."} 
[2026-08-11 09:18:39] local.INFO: Packet analysis {"connection_id":153421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeef"} 
[2026-08-11 09:18:39] local.INFO: Extracted packet for processing {"connection_id":153421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeef"} 
[2026-08-11 09:18:39] local.INFO: GPS Element Parsed {"raw_longitude":762977920,"raw_latitude":99354432,"longitude_deg":76.297792,"latitude_deg":9.9354432,"altitude":15,"angle":160,"satellites":37,"speed":7,"hex_longitude":"2d7a1e80","hex_latitude":"05ec0740","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323534336001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117595319801217024,"note":"Value kept but may cause issues"} 
[2026-08-11 09:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798837428666167296,"note":"Value kept but may cause issues"} 
[2026-08-11 09:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786420075000,"timestamp_ms":1786420075000,"timestamp_seconds":1786420075,"priority":1,"record_length":96,"hex_timestamp":"0000019feeef19f8"} 
[2026-08-11 09:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:18:39] 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-08-11 09: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 09:18:39] 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-08-11 09: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-08-11 09:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323534336001,"66":13276,"99":206,"87":13824,"24":7,"16":117595319801217024,"45":8798837428666167296},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-11 09:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323534336001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:18:39] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 09:18:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117595319801217024,"km_value":117595319801217.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798837428666167296,"description":"Unknown IO ID 45"} 
[2026-08-11 09:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323534336001,"power":13276,"unknown_99":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8798837428666167296}} 
[2026-08-11 09:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":153421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:18:39] local.INFO: GPS data processed {"connection_id":153421,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:18:39] local.INFO: Acknowledgment sent {"connection_id":153421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:19:06] local.INFO: TCP Data received {"connection_id":154796,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feeef1de0012d09c50007056530000800b81e..."} 
[2026-08-11 09:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeef1de0012d09c50007056530000800b81e..."} 
[2026-08-11 09:19:06] local.INFO: Processing buffer {"connection_id":154796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeef1de0012d09c50007056530000800b81e..."} 
[2026-08-11 09:19:06] local.INFO: Packet analysis {"connection_id":154796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeef"} 
[2026-08-11 09:19:06] local.INFO: Extracted packet for processing {"connection_id":154796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeef"} 
[2026-08-11 09:19:06] local.INFO: GPS Element Parsed {"raw_longitude":755614976,"raw_latitude":117794096,"longitude_deg":75.5614976,"latitude_deg":11.7794096,"altitude":8,"angle":184,"satellites":30,"speed":13,"hex_longitude":"2d09c500","hex_latitude":"07056530","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323539200001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27561767211106304,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703968946908723200,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786420076000,"timestamp_ms":1786420076000,"timestamp_seconds":1786420076,"priority":1,"record_length":96,"hex_timestamp":"0000019feeef1de0"} 
[2026-08-11 09:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:19: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-08-11 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 09:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154796,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154796,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323539200001,"66":14439,"177":206,"94":10240,"24":13,"16":27561767211106304,"45":703968946908723200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 09:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323539200001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:19:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:19:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27561767211106304,"km_value":27561767211106.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":703968946908723200,"description":"Unknown IO ID 45"} 
[2026-08-11 09:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323539200001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":703968946908723200}} 
[2026-08-11 09:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":154796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624163,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:19:07] local.INFO: GPS data processed {"connection_id":154796,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:19:07] local.INFO: Acknowledgment sent {"connection_id":154796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:19:10] local.INFO: TCP Data received {"connection_id":153421,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef02780012d7a26c005ebf588000f00a729..."} 
[2026-08-11 09:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef02780012d7a26c005ebf588000f00a729..."} 
[2026-08-11 09:19:10] local.INFO: Processing buffer {"connection_id":153421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef02780012d7a26c005ebf588000f00a729..."} 
[2026-08-11 09:19:10] local.INFO: Packet analysis {"connection_id":153421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:19:10] local.INFO: Extracted packet for processing {"connection_id":153421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:19:10] local.INFO: GPS Element Parsed {"raw_longitude":762980032,"raw_latitude":99349896,"longitude_deg":76.2980032,"latitude_deg":9.9349896,"altitude":15,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d7a26c0","hex_latitude":"05ebf588","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323556608001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117595581794222080,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801933653408337920,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786420144000,"timestamp_ms":1786420144000,"timestamp_seconds":1786420144,"priority":1,"record_length":96,"hex_timestamp":"0000019feef02780"} 
[2026-08-11 09:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:19:10] 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-08-11 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 09:19:10] 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-08-11 09: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-08-11 09:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323556608001,"66":13102,"99":206,"87":13824,"24":0,"16":117595581794222080,"45":8801933653408337920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-11 09:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323556608001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:19:10] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 09:19:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117595581794222080,"km_value":117595581794222.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801933653408337920,"description":"Unknown IO ID 45"} 
[2026-08-11 09:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323556608001,"power":13102,"unknown_99":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8801933653408337920}} 
[2026-08-11 09:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":153421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:19:10] local.INFO: GPS data processed {"connection_id":153421,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:19:10] local.INFO: Acknowledgment sent {"connection_id":153421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:19:28] local.INFO: TCP Data received {"connection_id":152075,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152075,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:19:28] local.INFO: Processing buffer {"connection_id":152075,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:19:28] local.INFO: IMEI packet received {"connection_id":152075,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":152075,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:19:29] local.INFO: TCP Data received {"connection_id":152075,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152075,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:19:29] local.INFO: Processing buffer {"connection_id":152075,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:19:29] local.INFO: IMEI packet received {"connection_id":152075,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":152075,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:19:32] local.INFO: TCP Data received {"connection_id":152465,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:19:32] local.INFO: Processing buffer {"connection_id":152465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:19:32] local.INFO: IMEI packet received {"connection_id":152465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":152465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:19:32] local.INFO: TCP Data received {"connection_id":152075,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152075,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:19:32] local.INFO: Processing buffer {"connection_id":152075,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:19:32] local.INFO: IMEI packet received {"connection_id":152075,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":152075,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:19:33] local.INFO: TCP Data received {"connection_id":152465,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:19:33] local.INFO: Processing buffer {"connection_id":152465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:19:33] local.INFO: IMEI packet received {"connection_id":152465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":152465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:19:34] local.INFO: TCP Data received {"connection_id":152075,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152075,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:19:34] local.INFO: Processing buffer {"connection_id":152075,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:19:34] local.INFO: IMEI packet received {"connection_id":152075,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":152075,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:19:34] local.INFO: TCP Data received {"connection_id":152075,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef05660012d09bcc007050440000d00651f..."} 
[2026-08-11 09:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef05660012d09bcc007050440000d00651f..."} 
[2026-08-11 09:19:34] local.INFO: Processing buffer {"connection_id":152075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef05660012d09bcc007050440000d00651f..."} 
[2026-08-11 09:19:34] local.INFO: Packet analysis {"connection_id":152075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:19:34] local.INFO: Extracted packet for processing {"connection_id":152075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:19:34] local.INFO: GPS Element Parsed {"raw_longitude":755612864,"raw_latitude":117769280,"longitude_deg":75.5612864,"latitude_deg":11.776928,"altitude":13,"angle":101,"satellites":31,"speed":8,"hex_longitude":"2d09bcc0","hex_latitude":"07050440","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323559680001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27563017046589440,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":701506040856086528,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786420156000,"timestamp_ms":1786420156000,"timestamp_seconds":1786420156,"priority":1,"record_length":96,"hex_timestamp":"0000019feef05660"} 
[2026-08-11 09:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:19: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-08-11 09: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-11 09:19:34] 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-08-11 09: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-08-11 09:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323559680001,"66":14363,"177":206,"94":10240,"24":8,"16":27563017046589440,"45":701506040856086528},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 09:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323559680001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:19:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:19:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27563017046589440,"km_value":27563017046589.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":701506040856086528,"description":"Unknown IO ID 45"} 
[2026-08-11 09:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323559680001,"power":14363,"unknown_177":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":701506040856086528}} 
[2026-08-11 09:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":152075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624165,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:19:34] local.INFO: GPS data processed {"connection_id":152075,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:19:34] local.INFO: Acknowledgment sent {"connection_id":152075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:19:36] local.INFO: TCP Data received {"connection_id":152075,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef05a48012d09be0007050448000d00541f..."} 
[2026-08-11 09:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef05a48012d09be0007050448000d00541f..."} 
[2026-08-11 09:19:36] local.INFO: Processing buffer {"connection_id":152075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef05a48012d09be0007050448000d00541f..."} 
[2026-08-11 09:19:36] local.INFO: Packet analysis {"connection_id":152075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:19:36] local.INFO: Extracted packet for processing {"connection_id":152075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:19:36] local.INFO: GPS Element Parsed {"raw_longitude":755613184,"raw_latitude":117769288,"longitude_deg":75.5613184,"latitude_deg":11.7769288,"altitude":13,"angle":84,"satellites":31,"speed":10,"hex_longitude":"2d09be00","hex_latitude":"07050448","is_valid_coordinates":true} 
[2026-08-11 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-08-11 09:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323559936001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27563034226458624,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":701646778344423424,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786420157000,"timestamp_ms":1786420157000,"timestamp_seconds":1786420157,"priority":1,"record_length":96,"hex_timestamp":"0000019feef05a48"} 
[2026-08-11 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-08-11 09: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-08-11 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-11 09:19:36] 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-08-11 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-08-11 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-08-11 09:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323559936001,"66":13830,"177":206,"94":10240,"24":10,"16":27563034226458624,"45":701646778344423424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 09:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323559936001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:19:36] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:19:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27563034226458624,"km_value":27563034226458.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":701646778344423424,"description":"Unknown IO ID 45"} 
[2026-08-11 09:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323559936001,"power":13830,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":701646778344423424}} 
[2026-08-11 09:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":152075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624166,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:19:36] local.INFO: GPS data processed {"connection_id":152075,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:19:36] local.INFO: Acknowledgment sent {"connection_id":152075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:19:37] local.INFO: TCP Data received {"connection_id":152465,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:19:37] local.INFO: Processing buffer {"connection_id":152465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:19:37] local.INFO: IMEI packet received {"connection_id":152465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":152465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:19:38] local.INFO: TCP Data received {"connection_id":152465,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:19:38] local.INFO: Processing buffer {"connection_id":152465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:19:38] local.INFO: IMEI packet received {"connection_id":152465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":152465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:19:38] local.INFO: TCP Data received {"connection_id":152465,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef02b68012d7a270005ebf540000f009a29..."} 
[2026-08-11 09:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef02b68012d7a270005ebf540000f009a29..."} 
[2026-08-11 09:19:38] local.INFO: Processing buffer {"connection_id":152465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef02b68012d7a270005ebf540000f009a29..."} 
[2026-08-11 09:19:38] local.INFO: Packet analysis {"connection_id":152465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:19:38] local.INFO: Extracted packet for processing {"connection_id":152465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:19:38] local.INFO: GPS Element Parsed {"raw_longitude":762980096,"raw_latitude":99349824,"longitude_deg":76.2980096,"latitude_deg":9.9349824,"altitude":15,"angle":154,"satellites":41,"speed":2,"hex_longitude":"2d7a2700","hex_latitude":"05ebf540","is_valid_coordinates":true} 
[2026-08-11 09:19: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-08-11 09:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323556864001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117595586089189376,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801933653408319488,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786420145000,"timestamp_ms":1786420145000,"timestamp_seconds":1786420145,"priority":1,"record_length":96,"hex_timestamp":"0000019feef02b68"} 
[2026-08-11 09:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:19:38] 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-08-11 09:19: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 09:19:38] 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-08-11 09:19: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-08-11 09:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323556864001,"66":13091,"99":206,"87":13824,"24":2,"16":117595586089189376,"45":8801933653408319488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-11 09:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323556864001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:19:38] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 09:19:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117595586089189376,"km_value":117595586089189.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801933653408319488,"description":"Unknown IO ID 45"} 
[2026-08-11 09:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323556864001,"power":13091,"unknown_99":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8801933653408319488}} 
[2026-08-11 09:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":152465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:19:39] local.INFO: GPS data processed {"connection_id":152465,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:19:39] local.INFO: Acknowledgment sent {"connection_id":152465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:19:40] local.INFO: TCP Data received {"connection_id":152465,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef02f50012d7a278005ebf4f0000f008f28..."} 
[2026-08-11 09:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef02f50012d7a278005ebf4f0000f008f28..."} 
[2026-08-11 09:19:40] local.INFO: Processing buffer {"connection_id":152465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef02f50012d7a278005ebf4f0000f008f28..."} 
[2026-08-11 09:19:40] local.INFO: Packet analysis {"connection_id":152465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:19:40] local.INFO: Extracted packet for processing {"connection_id":152465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:19:40] local.INFO: GPS Element Parsed {"raw_longitude":762980224,"raw_latitude":99349744,"longitude_deg":76.2980224,"latitude_deg":9.9349744,"altitude":15,"angle":143,"satellites":40,"speed":4,"hex_longitude":"2d7a2780","hex_latitude":"05ebf4f0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323557120001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117595590384156672,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802004022152478720,"note":"Value kept but may cause issues"} 
[2026-08-11 09:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786420146000,"timestamp_ms":1786420146000,"timestamp_seconds":1786420146,"priority":1,"record_length":96,"hex_timestamp":"0000019feef02f50"} 
[2026-08-11 09:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:19:40] 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-08-11 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-11 09:19:40] 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-08-11 09: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-08-11 09:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323557120001,"66":13091,"99":206,"87":13824,"24":4,"16":117595590384156672,"45":8802004022152478720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-11 09:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323557120001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:19:40] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 09:19:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117595590384156672,"km_value":117595590384156.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802004022152478720,"description":"Unknown IO ID 45"} 
[2026-08-11 09:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323557120001,"power":13091,"unknown_99":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8802004022152478720}} 
[2026-08-11 09:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":152465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:19:40] local.INFO: GPS data processed {"connection_id":152465,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:19:40] local.INFO: Acknowledgment sent {"connection_id":152465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:20:07] local.INFO: TCP Data received {"connection_id":152075,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef10240012d09d3000704cb00001000691f..."} 
[2026-08-11 09:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef10240012d09d3000704cb00001000691f..."} 
[2026-08-11 09:20:07] local.INFO: Processing buffer {"connection_id":152075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef10240012d09d3000704cb00001000691f..."} 
[2026-08-11 09:20:07] local.INFO: Packet analysis {"connection_id":152075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef1"} 
[2026-08-11 09:20:07] local.INFO: Extracted packet for processing {"connection_id":152075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef1"} 
[2026-08-11 09:20:07] local.INFO: GPS Element Parsed {"raw_longitude":755618560,"raw_latitude":117754624,"longitude_deg":75.561856,"latitude_deg":11.7754624,"altitude":16,"angle":105,"satellites":31,"speed":14,"hex_longitude":"2d09d300","hex_latitude":"0704cb00","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323570944001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27563880335015936,"note":"Value kept but may cause issues"} 
[2026-08-11 09:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":707557752851619840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786420200000,"timestamp_ms":1786420200000,"timestamp_seconds":1786420200,"priority":1,"record_length":96,"hex_timestamp":"0000019feef10240"} 
[2026-08-11 09:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:20:07] 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-08-11 09: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-11 09:20:07] 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-08-11 09: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-08-11 09:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323570944001,"66":14374,"177":206,"94":10240,"24":14,"16":27563880335015936,"45":707557752851619840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 09:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323570944001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:20:07] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:20:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27563880335015936,"km_value":27563880335015.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":707557752851619840,"description":"Unknown IO ID 45"} 
[2026-08-11 09:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323570944001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":707557752851619840}} 
[2026-08-11 09:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":152075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624169,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:20:08] local.INFO: GPS data processed {"connection_id":152075,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:20:08] local.INFO: Acknowledgment sent {"connection_id":152075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:20:12] local.INFO: TCP Data received {"connection_id":152465,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef03ef0012d7a28c005ebf1e80010009b28..."} 
[2026-08-11 09:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef03ef0012d7a28c005ebf1e80010009b28..."} 
[2026-08-11 09:20:12] local.INFO: Processing buffer {"connection_id":152465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef03ef0012d7a28c005ebf1e80010009b28..."} 
[2026-08-11 09:20:12] local.INFO: Packet analysis {"connection_id":152465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:20:12] local.INFO: Extracted packet for processing {"connection_id":152465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:20:12] local.INFO: GPS Element Parsed {"raw_longitude":762980544,"raw_latitude":99348968,"longitude_deg":76.2980544,"latitude_deg":9.9348968,"altitude":16,"angle":155,"satellites":40,"speed":9,"hex_longitude":"2d7a28c0","hex_latitude":"05ebf1e8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323557376001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117595633333829632,"note":"Value kept but may cause issues"} 
[2026-08-11 09:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802144759640813568,"note":"Value kept but may cause issues"} 
[2026-08-11 09:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786420150000,"timestamp_ms":1786420150000,"timestamp_seconds":1786420150,"priority":1,"record_length":96,"hex_timestamp":"0000019feef03ef0"} 
[2026-08-11 09:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:20:12] 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-08-11 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-11 09:20:12] 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-08-11 09: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-08-11 09:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323557376001,"66":13243,"99":206,"87":13824,"24":9,"16":117595633333829632,"45":8802144759640813568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-11 09:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323557376001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:20:12] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 09:20:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117595633333829632,"km_value":117595633333829.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802144759640813568,"description":"Unknown IO ID 45"} 
[2026-08-11 09:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323557376001,"power":13243,"unknown_99":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8802144759640813568}} 
[2026-08-11 09:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":152465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:20:12] local.INFO: GPS data processed {"connection_id":152465,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:20:12] local.INFO: Acknowledgment sent {"connection_id":152465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:20:29] local.INFO: TCP Data received {"connection_id":153422,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:20:29] local.INFO: Processing buffer {"connection_id":153422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:20:29] local.INFO: IMEI packet received {"connection_id":153422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":153422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:20:29] local.INFO: TCP Data received {"connection_id":153422,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:20:29] local.INFO: Processing buffer {"connection_id":153422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:20:29] local.INFO: IMEI packet received {"connection_id":153422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":153422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:20:33] local.INFO: TCP Data received {"connection_id":153423,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:20:33] local.INFO: Processing buffer {"connection_id":153423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:20:33] local.INFO: IMEI packet received {"connection_id":153423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":153423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:20:34] local.INFO: TCP Data received {"connection_id":153422,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:20:34] local.INFO: Processing buffer {"connection_id":153422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:20:34] local.INFO: IMEI packet received {"connection_id":153422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":153422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:20:34] local.INFO: TCP Data received {"connection_id":153422,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef10628012d09d4800704cb00001000571f..."} 
[2026-08-11 09:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef10628012d09d4800704cb00001000571f..."} 
[2026-08-11 09:20:34] local.INFO: Processing buffer {"connection_id":153422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef10628012d09d4800704cb00001000571f..."} 
[2026-08-11 09:20:34] local.INFO: Packet analysis {"connection_id":153422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef1"} 
[2026-08-11 09:20:34] local.INFO: Extracted packet for processing {"connection_id":153422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef1"} 
[2026-08-11 09:20:34] local.INFO: GPS Element Parsed {"raw_longitude":755618944,"raw_latitude":117754624,"longitude_deg":75.5618944,"latitude_deg":11.7754624,"altitude":16,"angle":87,"satellites":31,"speed":15,"hex_longitude":"2d09d480","hex_latitude":"0704cb00","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323571200001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27563897514885120,"note":"Value kept but may cause issues"} 
[2026-08-11 09:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":707909596572483584,"note":"Value kept but may cause issues"} 
[2026-08-11 09:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786420201000,"timestamp_ms":1786420201000,"timestamp_seconds":1786420201,"priority":1,"record_length":96,"hex_timestamp":"0000019feef10628"} 
[2026-08-11 09:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:20: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-08-11 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 09:20:34] 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-08-11 09: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-08-11 09:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323571200001,"66":14374,"177":206,"94":10240,"24":15,"16":27563897514885120,"45":707909596572483584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 09:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323571200001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:20:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:20:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27563897514885120,"km_value":27563897514885.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":707909596572483584,"description":"Unknown IO ID 45"} 
[2026-08-11 09:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323571200001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":707909596572483584}} 
[2026-08-11 09:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":153422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624171,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:20:35] local.INFO: GPS data processed {"connection_id":153422,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:20:35] local.INFO: Acknowledgment sent {"connection_id":153422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:20:38] local.INFO: TCP Data received {"connection_id":153423,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:20:38] local.INFO: Processing buffer {"connection_id":153423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:20:38] local.INFO: IMEI packet received {"connection_id":153423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":153423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:20:56] local.INFO: TCP Data received {"connection_id":153423,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef08d10012d7a2ec005ebe218001000a029..."} 
[2026-08-11 09:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef08d10012d7a2ec005ebe218001000a029..."} 
[2026-08-11 09:20:56] local.INFO: Processing buffer {"connection_id":153423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef08d10012d7a2ec005ebe218001000a029..."} 
[2026-08-11 09:20:56] local.INFO: Packet analysis {"connection_id":153423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:20:56] local.INFO: Extracted packet for processing {"connection_id":153423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:20:56] local.INFO: GPS Element Parsed {"raw_longitude":762982080,"raw_latitude":99344920,"longitude_deg":76.298208,"latitude_deg":9.934492,"altitude":16,"angle":160,"satellites":41,"speed":4,"hex_longitude":"2d7a2ec0","hex_latitude":"05ebe218","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323558400001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117595843787227136,"note":"Value kept but may cause issues"} 
[2026-08-11 09:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802496603361503232,"note":"Value kept but may cause issues"} 
[2026-08-11 09:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786420170000,"timestamp_ms":1786420170000,"timestamp_seconds":1786420170,"priority":1,"record_length":96,"hex_timestamp":"0000019feef08d10"} 
[2026-08-11 09:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:20: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-08-11 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 09:20: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-08-11 09: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-08-11 09:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323558400001,"66":13243,"99":206,"87":13824,"24":4,"16":117595843787227136,"45":8802496603361503232},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-11 09:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323558400001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:20:56] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 09:20:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117595843787227136,"km_value":117595843787227.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802496603361503232,"description":"Unknown IO ID 45"} 
[2026-08-11 09:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323558400001,"power":13243,"unknown_99":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8802496603361503232}} 
[2026-08-11 09:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":153423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:20:56] local.INFO: GPS data processed {"connection_id":153423,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:20:56] local.INFO: Acknowledgment sent {"connection_id":153423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:21:13] local.INFO: TCP Data received {"connection_id":153422,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef1d148012d0a58400704e7180014007a1a..."} 
[2026-08-11 09:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef1d148012d0a58400704e7180014007a1a..."} 
[2026-08-11 09:21:13] local.INFO: Processing buffer {"connection_id":153422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef1d148012d0a58400704e7180014007a1a..."} 
[2026-08-11 09:21:13] local.INFO: Packet analysis {"connection_id":153422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef1"} 
[2026-08-11 09:21:13] local.INFO: Extracted packet for processing {"connection_id":153422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef1"} 
[2026-08-11 09:21:13] local.INFO: GPS Element Parsed {"raw_longitude":755652672,"raw_latitude":117761816,"longitude_deg":75.5652672,"latitude_deg":11.7761816,"altitude":20,"angle":122,"satellites":26,"speed":18,"hex_longitude":"2d0a5840","hex_latitude":"0704e718","is_valid_coordinates":true} 
[2026-08-11 09:21: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-08-11 09:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323584512001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27565649861541888,"note":"Value kept but may cause issues"} 
[2026-08-11 09:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":744923556011833344,"note":"Value kept but may cause issues"} 
[2026-08-11 09:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786420253000,"timestamp_ms":1786420253000,"timestamp_seconds":1786420253,"priority":1,"record_length":96,"hex_timestamp":"0000019feef1d148"} 
[2026-08-11 09:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:21:13] 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-08-11 09:21: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 09:21:13] 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-08-11 09:21: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-08-11 09:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323584512001,"66":14439,"177":206,"94":10240,"24":18,"16":27565649861541888,"45":744923556011833344},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 09:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323584512001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:21:13] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:21:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27565649861541888,"km_value":27565649861541.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":744923556011833344,"description":"Unknown IO ID 45"} 
[2026-08-11 09:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323584512001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":744923556011833344}} 
[2026-08-11 09:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":153422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624173,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:21:13] local.INFO: GPS data processed {"connection_id":153422,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:21:13] local.INFO: Acknowledgment sent {"connection_id":153422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:21:33] local.INFO: TCP Data received {"connection_id":152468,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:21:33] local.INFO: Processing buffer {"connection_id":152468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:21:33] local.INFO: IMEI packet received {"connection_id":152468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":152468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:21:38] local.INFO: TCP Data received {"connection_id":152468,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:21:38] local.INFO: Processing buffer {"connection_id":152468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:21:38] local.INFO: IMEI packet received {"connection_id":152468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":152468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:21:39] local.INFO: TCP Data received {"connection_id":152468,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef094e0012d7a2f8005ebe0e0000f009129..."} 
[2026-08-11 09:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef094e0012d7a2f8005ebe0e0000f009129..."} 
[2026-08-11 09:21:39] local.INFO: Processing buffer {"connection_id":152468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef094e0012d7a2f8005ebe0e0000f009129..."} 
[2026-08-11 09:21:39] local.INFO: Packet analysis {"connection_id":152468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:21:39] local.INFO: Extracted packet for processing {"connection_id":152468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:21:39] local.INFO: GPS Element Parsed {"raw_longitude":762982272,"raw_latitude":99344608,"longitude_deg":76.2982272,"latitude_deg":9.9344608,"altitude":15,"angle":145,"satellites":41,"speed":5,"hex_longitude":"2d7a2f80","hex_latitude":"05ebe0e0","is_valid_coordinates":true} 
[2026-08-11 09:21: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-08-11 09:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323563520001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117595860967096320,"note":"Value kept but may cause issues"} 
[2026-08-11 09:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804185453220730880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786420172000,"timestamp_ms":1786420172000,"timestamp_seconds":1786420172,"priority":1,"record_length":96,"hex_timestamp":"0000019feef094e0"} 
[2026-08-11 09:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:21:39] 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-08-11 09:21: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 09:21:39] 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-08-11 09:21: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-08-11 09:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323563520001,"66":13243,"99":206,"87":13824,"24":5,"16":117595860967096320,"45":8804185453220730880},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-11 09:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323563520001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:21:39] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 09:21:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117595860967096320,"km_value":117595860967096.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804185453220730880,"description":"Unknown IO ID 45"} 
[2026-08-11 09:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323563520001,"power":13243,"unknown_99":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8804185453220730880}} 
[2026-08-11 09:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":152468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:21:39] local.INFO: GPS data processed {"connection_id":152468,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:21:39] local.INFO: Acknowledgment sent {"connection_id":152468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:22:03] local.INFO: TCP Data received {"connection_id":152077,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152077,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:03] local.INFO: Processing buffer {"connection_id":152077,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:03] local.INFO: IMEI packet received {"connection_id":152077,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":152077,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:22:04] local.INFO: TCP Data received {"connection_id":152077,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152077,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:04] local.INFO: Processing buffer {"connection_id":152077,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:04] local.INFO: IMEI packet received {"connection_id":152077,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":152077,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:22:06] local.INFO: TCP Data received {"connection_id":152077,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152077,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:06] local.INFO: Processing buffer {"connection_id":152077,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:06] local.INFO: IMEI packet received {"connection_id":152077,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":152077,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:22:09] local.INFO: TCP Data received {"connection_id":152077,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152077,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:09] local.INFO: Processing buffer {"connection_id":152077,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:09] local.INFO: IMEI packet received {"connection_id":152077,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":152077,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:22:09] local.INFO: TCP Data received {"connection_id":152076,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:22:09] local.INFO: Processing buffer {"connection_id":152076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:22:09] local.INFO: IMEI packet received {"connection_id":152076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":152076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:22:10] local.INFO: TCP Data received {"connection_id":152076,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:22:10] local.INFO: Processing buffer {"connection_id":152076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:22:10] local.INFO: IMEI packet received {"connection_id":152076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":152076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:22:10] local.INFO: TCP Data received {"connection_id":152077,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef2a438012d0a814007048f00001900bd1f..."} 
[2026-08-11 09:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef2a438012d0a814007048f00001900bd1f..."} 
[2026-08-11 09:22:10] local.INFO: Processing buffer {"connection_id":152077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef2a438012d0a814007048f00001900bd1f..."} 
[2026-08-11 09:22:10] local.INFO: Packet analysis {"connection_id":152077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef2"} 
[2026-08-11 09:22:10] local.INFO: Extracted packet for processing {"connection_id":152077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef2"} 
[2026-08-11 09:22:10] local.INFO: GPS Element Parsed {"raw_longitude":755663168,"raw_latitude":117739264,"longitude_deg":75.5663168,"latitude_deg":11.7739264,"altitude":25,"angle":189,"satellites":31,"speed":31,"hex_longitude":"2d0a8140","hex_latitude":"07048f00","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323598592001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27567238999441408,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756956611260383232,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786420307000,"timestamp_ms":1786420307000,"timestamp_seconds":1786420307,"priority":1,"record_length":96,"hex_timestamp":"0000019feef2a438"} 
[2026-08-11 09:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09: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-08-11 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:22:10] 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-08-11 09: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-08-11 09:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152077,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152077,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323598592001,"66":14428,"177":206,"94":10240,"24":31,"16":27567238999441408,"45":756956611260383232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 09:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323598592001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:22:10] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:22:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27567238999441408,"km_value":27567238999441.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":756956611260383232,"description":"Unknown IO ID 45"} 
[2026-08-11 09:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323598592001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":756956611260383232}} 
[2026-08-11 09:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":152077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624175,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:22:10] local.INFO: GPS data processed {"connection_id":152077,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:22:10] local.INFO: Acknowledgment sent {"connection_id":152077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:22:10] local.INFO: TCP Data received {"connection_id":152468,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef0ac50012d7a310005ebdd00000f009d28..."} 
[2026-08-11 09:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef0ac50012d7a310005ebdd00000f009d28..."} 
[2026-08-11 09:22:10] local.INFO: Processing buffer {"connection_id":152468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef0ac50012d7a310005ebdd00000f009d28..."} 
[2026-08-11 09:22:10] local.INFO: Packet analysis {"connection_id":152468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:22:10] local.INFO: Extracted packet for processing {"connection_id":152468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:22:10] local.INFO: GPS Element Parsed {"raw_longitude":762982656,"raw_latitude":99343616,"longitude_deg":76.2982656,"latitude_deg":9.9343616,"altitude":15,"angle":157,"satellites":40,"speed":3,"hex_longitude":"2d7a3100","hex_latitude":"05ebdd00","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323564032001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117595916801671168,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804396559453184000,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786420178000,"timestamp_ms":1786420178000,"timestamp_seconds":1786420178,"priority":1,"record_length":96,"hex_timestamp":"0000019feef0ac50"} 
[2026-08-11 09:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:22:10] 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-08-11 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 09:22: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-08-11 09: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-08-11 09:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323564032001,"66":12863,"99":206,"87":13824,"24":3,"16":117595916801671168,"45":8804396559453184000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-11 09:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323564032001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:22:10] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 09:22:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117595916801671168,"km_value":117595916801671.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804396559453184000,"description":"Unknown IO ID 45"} 
[2026-08-11 09:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323564032001,"power":12863,"unknown_99":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8804396559453184000}} 
[2026-08-11 09:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":152468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:22:10] local.INFO: GPS data processed {"connection_id":152468,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:22:10] local.INFO: Acknowledgment sent {"connection_id":152468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:22:11] local.INFO: TCP Data received {"connection_id":152076,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef20028012d84c2c0060ea478000b010b29..."} 
[2026-08-11 09:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef20028012d84c2c0060ea478000b010b29..."} 
[2026-08-11 09:22:11] local.INFO: Processing buffer {"connection_id":152076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef20028012d84c2c0060ea478000b010b29..."} 
[2026-08-11 09:22:11] local.INFO: Packet analysis {"connection_id":152076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef2"} 
[2026-08-11 09:22:11] local.INFO: Extracted packet for processing {"connection_id":152076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef2"} 
[2026-08-11 09:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763675328,"raw_latitude":101622904,"longitude_deg":76.3675328,"latitude_deg":10.1622904,"altitude":11,"angle":267,"satellites":41,"speed":40,"hex_longitude":"2d84c2c0","hex_latitude":"060ea478","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323585280001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377222875913912320,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8869909808834764800,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786420265000,"timestamp_ms":1786420265000,"timestamp_seconds":1786420265,"priority":1,"record_length":96,"hex_timestamp":"0000019feef20028"} 
[2026-08-11 09:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 09:22: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-08-11 09: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-08-11 09:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:22: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-08-11 09:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323585280001,"66":27995,"142":206,"79":46592,"24":40,"16":377222875913912320,"45":-8869909808834764800},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,79,24,16,45]} 
[2026-08-11 09:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323585280001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:22:11] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-11 09:22:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377222875913912320,"km_value":377222875913912.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8869909808834764800,"description":"Unknown IO ID 45"} 
[2026-08-11 09:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323585280001,"power":27995,"unknown_142":206,"unknown_79":46592,"ignition":40,"odometer":null,"unknown_45":-8869909808834764800}} 
[2026-08-11 09:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":152076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:22:11] local.INFO: GPS data processed {"connection_id":152076,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:22:11] local.INFO: Acknowledgment sent {"connection_id":152076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:22:11] local.INFO: TCP Data received {"connection_id":152076,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef22350012d849f00060ea128000c01032a..."} 
[2026-08-11 09:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef22350012d849f00060ea128000c01032a..."} 
[2026-08-11 09:22:11] local.INFO: Processing buffer {"connection_id":152076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef22350012d849f00060ea128000c01032a..."} 
[2026-08-11 09:22:11] local.INFO: Packet analysis {"connection_id":152076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef2"} 
[2026-08-11 09:22:11] local.INFO: Extracted packet for processing {"connection_id":152076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef2"} 
[2026-08-11 09:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763666176,"raw_latitude":101622056,"longitude_deg":76.3666176,"latitude_deg":10.1622056,"altitude":12,"angle":259,"satellites":42,"speed":42,"hex_longitude":"2d849f00","hex_latitude":"060ea128","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323587840001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377223314000576512,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8880324382973200384,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786420274000,"timestamp_ms":1786420274000,"timestamp_seconds":1786420274,"priority":1,"record_length":96,"hex_timestamp":"0000019feef22350"} 
[2026-08-11 09:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 09:22:11] 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-08-11 09: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-08-11 09:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:22: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-08-11 09:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323587840001,"66":27974,"106":206,"79":46592,"24":42,"16":377223314000576512,"45":-8880324382973200384},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,79,24,16,45]} 
[2026-08-11 09:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323587840001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:22:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 09:22:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377223314000576512,"km_value":377223314000576.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8880324382973200384,"description":"Unknown IO ID 45"} 
[2026-08-11 09:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323587840001,"power":27974,"unknown_106":206,"unknown_79":46592,"ignition":42,"odometer":null,"unknown_45":-8880324382973200384}} 
[2026-08-11 09:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":152076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:22:11] local.INFO: GPS data processed {"connection_id":152076,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:22:11] local.INFO: Acknowledgment sent {"connection_id":152076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:22:33] local.INFO: TCP Data received {"connection_id":154798,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:22:33] local.INFO: Processing buffer {"connection_id":154798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:22:33] local.INFO: IMEI packet received {"connection_id":154798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":154798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:22:34] local.INFO: TCP Data received {"connection_id":152078,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152078,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:34] local.INFO: Processing buffer {"connection_id":152078,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:34] local.INFO: IMEI packet received {"connection_id":152078,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":152078,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:22:38] local.INFO: TCP Data received {"connection_id":152078,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152078,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:38] local.INFO: Processing buffer {"connection_id":152078,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:38] local.INFO: IMEI packet received {"connection_id":152078,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":152078,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:22:38] local.INFO: TCP Data received {"connection_id":154798,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:22:38] local.INFO: Processing buffer {"connection_id":154798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:22:38] local.INFO: IMEI packet received {"connection_id":154798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":154798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:22:38] local.INFO: TCP Data received {"connection_id":152078,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152078,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:38] local.INFO: Processing buffer {"connection_id":152078,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:22:38] local.INFO: IMEI packet received {"connection_id":152078,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":152078,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:22:39] local.INFO: TCP Data received {"connection_id":154798,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef0b420012d7a310005ebdc98000f00ac28..."} 
[2026-08-11 09:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef0b420012d7a310005ebdc98000f00ac28..."} 
[2026-08-11 09:22:39] local.INFO: Processing buffer {"connection_id":154798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef0b420012d7a310005ebdc98000f00ac28..."} 
[2026-08-11 09:22:39] local.INFO: Packet analysis {"connection_id":154798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:22:39] local.INFO: Extracted packet for processing {"connection_id":154798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 09:22:39] local.INFO: GPS Element Parsed {"raw_longitude":762982656,"raw_latitude":99343512,"longitude_deg":76.2982656,"latitude_deg":9.9343512,"altitude":15,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d7a3100","hex_latitude":"05ebdc98","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323565568001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117595921096638464,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804818771917996032,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786420180000,"timestamp_ms":1786420180000,"timestamp_seconds":1786420180,"priority":1,"record_length":96,"hex_timestamp":"0000019feef0b420"} 
[2026-08-11 09:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:22:39] 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-08-11 09: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-11 09:22:39] 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-08-11 09: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-08-11 09:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323565568001,"66":12906,"163":206,"87":13824,"24":0,"16":117595921096638464,"45":8804818771917996032},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-11 09:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323565568001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:22:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 09:22:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117595921096638464,"km_value":117595921096638.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804818771917996032,"description":"Unknown IO ID 45"} 
[2026-08-11 09:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323565568001,"power":12906,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804818771917996032}} 
[2026-08-11 09:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":154798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:22:39] local.INFO: GPS data processed {"connection_id":154798,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:22:39] local.INFO: Acknowledgment sent {"connection_id":154798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:22:41] local.INFO: TCP Data received {"connection_id":152078,"ip":"42.106.6.40","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019fee..."} 
[2026-08-11 09:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152078,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019fee..."} 
[2026-08-11 09:22:41] local.INFO: Processing buffer {"connection_id":152078,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019fee..."} 
[2026-08-11 09:22:41] local.INFO: IMEI packet received {"connection_id":152078,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":152078,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:22:42] local.INFO: TCP Data received {"connection_id":152078,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef338a8012d0a5680070455e8001500c81f..."} 
[2026-08-11 09:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef338a8012d0a5680070455e8001500c81f..."} 
[2026-08-11 09:22:42] local.INFO: Processing buffer {"connection_id":152078,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019feef31968012d0a59c007046dc0001600bd1e..."} 
[2026-08-11 09:22:42] local.INFO: Packet analysis {"connection_id":152078,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:22:42] local.INFO: Extracted packet for processing {"connection_id":152078,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:22:42] local.INFO: GPS Element Parsed {"raw_longitude":755653056,"raw_latitude":117730752,"longitude_deg":75.5653056,"latitude_deg":11.7730752,"altitude":22,"angle":189,"satellites":30,"speed":18,"hex_longitude":"2d0a59c0","hex_latitude":"07046dc0","is_valid_coordinates":true} 
[2026-08-11 09:22: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-08-11 09:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323606016001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27568076518064128,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":745979087166607360,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786420337000,"timestamp_ms":1786420337000,"timestamp_seconds":1786420337,"priority":1,"record_length":96,"hex_timestamp":"0000019feef31968"} 
[2026-08-11 09:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:22:42] 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-08-11 09:22: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 09:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:22: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-08-11 09:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323606016001,"66":14428,"229":206,"94":11008,"24":18,"16":27568076518064128,"45":745979087166607360},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,94,24,16,45]} 
[2026-08-11 09:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323606016001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:22:42] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 09:22:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27568076518064128,"km_value":27568076518064.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":745979087166607360,"description":"Unknown IO ID 45"} 
[2026-08-11 09:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323606016001,"power":14428,"unknown_229":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":745979087166607360}} 
[2026-08-11 09:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":152078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624180,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:22:43] local.INFO: GPS data processed {"connection_id":152078,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:22:43] local.INFO: Acknowledgment sent {"connection_id":152078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:22:43] local.INFO: Packet analysis {"connection_id":152078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:22:43] local.INFO: Extracted packet for processing {"connection_id":152078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:22:43] local.INFO: GPS Element Parsed {"raw_longitude":755652224,"raw_latitude":117724648,"longitude_deg":75.5652224,"latitude_deg":11.7724648,"altitude":21,"angle":200,"satellites":31,"speed":32,"hex_longitude":"2d0a5680","hex_latitude":"070455e8","is_valid_coordinates":true} 
[2026-08-11 09:22: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-08-11 09:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323606272001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27568377165774848,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":745838349678133248,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786420345000,"timestamp_ms":1786420345000,"timestamp_seconds":1786420345,"priority":1,"record_length":96,"hex_timestamp":"0000019feef338a8"} 
[2026-08-11 09:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:22:43] 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-08-11 09:22: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:22:43] 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-08-11 09:22: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-08-11 09:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323606272001,"66":14461,"229":206,"94":11008,"24":32,"16":27568377165774848,"45":745838349678133248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,94,24,16,45]} 
[2026-08-11 09:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323606272001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:22:43] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 09:22:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27568377165774848,"km_value":27568377165774.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":745838349678133248,"description":"Unknown IO ID 45"} 
[2026-08-11 09:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323606272001,"power":14461,"unknown_229":206,"unknown_94":11008,"ignition":32,"odometer":null,"unknown_45":745838349678133248}} 
[2026-08-11 09:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":152078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624181,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:22:43] local.INFO: GPS data processed {"connection_id":152078,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:22:43] local.INFO: Acknowledgment sent {"connection_id":152078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:22:43] local.INFO: TCP Data received {"connection_id":152078,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef34c30012d0a518007044820001500bb1f..."} 
[2026-08-11 09:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef34c30012d0a518007044820001500bb1f..."} 
[2026-08-11 09:22:43] local.INFO: Processing buffer {"connection_id":152078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef34c30012d0a518007044820001500bb1f..."} 
[2026-08-11 09:22:43] local.INFO: Packet analysis {"connection_id":152078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:22:43] local.INFO: Extracted packet for processing {"connection_id":152078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:22:43] local.INFO: GPS Element Parsed {"raw_longitude":755650944,"raw_latitude":117721120,"longitude_deg":75.5650944,"latitude_deg":11.772112,"altitude":21,"angle":187,"satellites":31,"speed":26,"hex_longitude":"2d0a5180","hex_latitude":"07044820","is_valid_coordinates":true} 
[2026-08-11 09:22: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-08-11 09:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323608320001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27568561849368576,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":744923556002260992,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786420350000,"timestamp_ms":1786420350000,"timestamp_seconds":1786420350,"priority":1,"record_length":96,"hex_timestamp":"0000019feef34c30"} 
[2026-08-11 09:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:22:43] 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-08-11 09:22: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 09:22:43] 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-08-11 09:22: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-08-11 09:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323608320001,"66":14407,"229":206,"94":11008,"24":26,"16":27568561849368576,"45":744923556002260992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,94,24,16,45]} 
[2026-08-11 09:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323608320001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:22:43] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 09:22:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27568561849368576,"km_value":27568561849368.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":744923556002260992,"description":"Unknown IO ID 45"} 
[2026-08-11 09:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323608320001,"power":14407,"unknown_229":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":744923556002260992}} 
[2026-08-11 09:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":152078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624182,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:22:44] local.INFO: GPS data processed {"connection_id":152078,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:22:44] local.INFO: Acknowledgment sent {"connection_id":152078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:22:52] local.INFO: TCP Data received {"connection_id":153424,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:22:52] local.INFO: Processing buffer {"connection_id":153424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:22:52] local.INFO: IMEI packet received {"connection_id":153424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":153424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:22:52] local.INFO: TCP Data received {"connection_id":153424,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:22:52] local.INFO: Processing buffer {"connection_id":153424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:22:52] local.INFO: IMEI packet received {"connection_id":153424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":153424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:22:58] local.INFO: TCP Data received {"connection_id":153424,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:22:58] local.INFO: Processing buffer {"connection_id":153424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:22:58] local.INFO: IMEI packet received {"connection_id":153424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":153424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:22:59] local.INFO: TCP Data received {"connection_id":153424,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef24678012d847b40060e98b8000e010124..."} 
[2026-08-11 09:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef24678012d847b40060e98b8000e010124..."} 
[2026-08-11 09:22:59] local.INFO: Processing buffer {"connection_id":153424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef24678012d847b40060e98b8000e010124..."} 
[2026-08-11 09:22:59] local.INFO: Packet analysis {"connection_id":153424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef2"} 
[2026-08-11 09:22:59] local.INFO: Extracted packet for processing {"connection_id":153424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef2"} 
[2026-08-11 09:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763657024,"raw_latitude":101619896,"longitude_deg":76.3657024,"latitude_deg":10.1619896,"altitude":14,"angle":257,"satellites":36,"speed":40,"hex_longitude":"2d847b40","hex_latitude":"060e98b8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323590144001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377223764972142592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8890387113390823424,"note":"Value kept but may cause issues"} 
[2026-08-11 09:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786420283000,"timestamp_ms":1786420283000,"timestamp_seconds":1786420283,"priority":1,"record_length":96,"hex_timestamp":"0000019feef24678"} 
[2026-08-11 09:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09: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-08-11 09: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-08-11 09:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:22:59] 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-08-11 09:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323590144001,"66":27908,"106":206,"79":46592,"24":40,"16":377223764972142592,"45":-8890387113390823424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,79,24,16,45]} 
[2026-08-11 09:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323590144001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:22:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 09:22:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377223764972142592,"km_value":377223764972142.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8890387113390823424,"description":"Unknown IO ID 45"} 
[2026-08-11 09:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323590144001,"power":27908,"unknown_106":206,"unknown_79":46592,"ignition":40,"odometer":null,"unknown_45":-8890387113390823424}} 
[2026-08-11 09:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":153424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:22:59] local.INFO: GPS data processed {"connection_id":153424,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:22:59] local.INFO: Acknowledgment sent {"connection_id":153424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:23:10] local.INFO: TCP Data received {"connection_id":154798,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef32138012d7a540005eb9a10000b009527..."} 
[2026-08-11 09:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef32138012d7a540005eb9a10000b009527..."} 
[2026-08-11 09:23:10] local.INFO: Processing buffer {"connection_id":154798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef32138012d7a540005eb9a10000b009527..."} 
[2026-08-11 09:23:10] local.INFO: Packet analysis {"connection_id":154798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:23:10] local.INFO: Extracted packet for processing {"connection_id":154798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:23:10] local.INFO: GPS Element Parsed {"raw_longitude":762991616,"raw_latitude":99326480,"longitude_deg":76.2991616,"latitude_deg":9.932648,"altitude":11,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d7a5400","hex_latitude":"05eb9a10","is_valid_coordinates":true} 
[2026-08-11 09:23: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-08-11 09:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323601408001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117596874579378176,"note":"Value kept but may cause issues"} 
[2026-08-11 09:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814670396098482176,"note":"Value kept but may cause issues"} 
[2026-08-11 09:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786420339000,"timestamp_ms":1786420339000,"timestamp_seconds":1786420339,"priority":1,"record_length":96,"hex_timestamp":"0000019feef32138"} 
[2026-08-11 09:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:23:10] 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-08-11 09:23: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":238,"data_length":795,"current_offset":136} 
[2026-08-11 09:23:10] 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-08-11 09:23: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-08-11 09:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323601408001,"66":13037,"163":206,"87":13824,"24":0,"16":117596874579378176,"45":8814670396098482176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-11 09:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323601408001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:23:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 09:23:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117596874579378176,"km_value":117596874579378.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814670396098482176,"description":"Unknown IO ID 45"} 
[2026-08-11 09:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323601408001,"power":13037,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8814670396098482176}} 
[2026-08-11 09:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":154798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:23:10] local.INFO: GPS data processed {"connection_id":154798,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:23:10] local.INFO: Acknowledgment sent {"connection_id":154798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:23:29] local.INFO: TCP Data received {"connection_id":154799,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154799,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:23:29] local.INFO: Processing buffer {"connection_id":154799,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:23:29] local.INFO: IMEI packet received {"connection_id":154799,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":154799,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:23:31] local.INFO: TCP Data received {"connection_id":153424,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef35fb8012d835ec0060e2d68000a00f52b..."} 
[2026-08-11 09:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef35fb8012d835ec0060e2d68000a00f52b..."} 
[2026-08-11 09:23:31] local.INFO: Processing buffer {"connection_id":153424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef35fb8012d835ec0060e2d68000a00f52b..."} 
[2026-08-11 09:23:31] local.INFO: Packet analysis {"connection_id":153424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:23:31] local.INFO: Extracted packet for processing {"connection_id":153424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763584192,"raw_latitude":101592424,"longitude_deg":76.3584192,"latitude_deg":10.1592424,"altitude":10,"angle":245,"satellites":43,"speed":40,"hex_longitude":"2d835ec0","hex_latitude":"060e2d68","is_valid_coordinates":true} 
[2026-08-11 09:23: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-08-11 09:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323609856001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377227518773559296,"note":"Value kept but may cause issues"} 
[2026-08-11 09:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8976236981294823424,"note":"Value kept but may cause issues"} 
[2026-08-11 09:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786420355000,"timestamp_ms":1786420355000,"timestamp_seconds":1786420355,"priority":1,"record_length":96,"hex_timestamp":"0000019feef35fb8"} 
[2026-08-11 09:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:23: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 09:23:31] 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-08-11 09:23: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-08-11 09:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:23:31] 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-08-11 09:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323609856001,"66":27876,"136":206,"87":10496,"24":40,"16":377227518773559296,"45":-8976236981294823424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,87,24,16,45]} 
[2026-08-11 09:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323609856001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:23:31] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-11 09:23:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377227518773559296,"km_value":377227518773559.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8976236981294823424,"description":"Unknown IO ID 45"} 
[2026-08-11 09:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323609856001,"power":27876,"unknown_136":206,"unknown_87":10496,"ignition":40,"odometer":null,"unknown_45":-8976236981294823424}} 
[2026-08-11 09:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":153424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:23:31] local.INFO: GPS data processed {"connection_id":153424,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:23:31] local.INFO: Acknowledgment sent {"connection_id":153424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:23:33] local.INFO: TCP Data received {"connection_id":154800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:23:33] local.INFO: Processing buffer {"connection_id":154800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:23:33] local.INFO: IMEI packet received {"connection_id":154800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":154800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:23:36] local.INFO: TCP Data received {"connection_id":154800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:23:36] local.INFO: Processing buffer {"connection_id":154800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:23:36] local.INFO: IMEI packet received {"connection_id":154800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":154800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:23:38] local.INFO: TCP Data received {"connection_id":154800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:23:38] local.INFO: Processing buffer {"connection_id":154800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:23:38] local.INFO: IMEI packet received {"connection_id":154800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":154800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:23:39] local.INFO: TCP Data received {"connection_id":154800,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef37340012d7a540005eb9a10000b009528..."} 
[2026-08-11 09:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef37340012d7a540005eb9a10000b009528..."} 
[2026-08-11 09:23:39] local.INFO: Processing buffer {"connection_id":154800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef37340012d7a540005eb9a10000b009528..."} 
[2026-08-11 09:23:39] local.INFO: Packet analysis {"connection_id":154800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:23:39] local.INFO: Extracted packet for processing {"connection_id":154800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:23:39] local.INFO: GPS Element Parsed {"raw_longitude":762991616,"raw_latitude":99326480,"longitude_deg":76.2991616,"latitude_deg":9.932648,"altitude":11,"angle":149,"satellites":40,"speed":0,"hex_longitude":"2d7a5400","hex_latitude":"05eb9a10","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323606784001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117596874579378176,"note":"Value kept but may cause issues"} 
[2026-08-11 09:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814670396098482176,"note":"Value kept but may cause issues"} 
[2026-08-11 09:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786420360000,"timestamp_ms":1786420360000,"timestamp_seconds":1786420360,"priority":1,"record_length":96,"hex_timestamp":"0000019feef37340"} 
[2026-08-11 09:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:23:39] 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-08-11 09: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-11 09:23:39] 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-08-11 09: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-08-11 09:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323606784001,"66":12298,"163":206,"87":13824,"24":0,"16":117596874579378176,"45":8814670396098482176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-11 09:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323606784001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:23:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 09:23:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117596874579378176,"km_value":117596874579378.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814670396098482176,"description":"Unknown IO ID 45"} 
[2026-08-11 09:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323606784001,"power":12298,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8814670396098482176}} 
[2026-08-11 09:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":154800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:23:39] local.INFO: GPS data processed {"connection_id":154800,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:23:39] local.INFO: Acknowledgment sent {"connection_id":154800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:23:40] local.INFO: TCP Data received {"connection_id":154799,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154799,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:23:40] local.INFO: Processing buffer {"connection_id":154799,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:23:40] local.INFO: IMEI packet received {"connection_id":154799,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":154799,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:23:42] local.INFO: TCP Data received {"connection_id":154799,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef35fb8012d0a510007044008001400cc1f..."} 
[2026-08-11 09:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef35fb8012d0a510007044008001400cc1f..."} 
[2026-08-11 09:23:42] local.INFO: Processing buffer {"connection_id":154799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef35fb8012d0a510007044008001400cc1f..."} 
[2026-08-11 09:23:42] local.INFO: Packet analysis {"connection_id":154799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:23:42] local.INFO: Extracted packet for processing {"connection_id":154799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":755650816,"raw_latitude":117719048,"longitude_deg":75.5650816,"latitude_deg":11.7719048,"altitude":20,"angle":204,"satellites":31,"speed":7,"hex_longitude":"2d0a5100","hex_latitude":"07044008","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323609600001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27568660633616384,"note":"Value kept but may cause issues"} 
[2026-08-11 09:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743516181117804544,"note":"Value kept but may cause issues"} 
[2026-08-11 09:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786420355000,"timestamp_ms":1786420355000,"timestamp_seconds":1786420355,"priority":1,"record_length":96,"hex_timestamp":"0000019feef35fb8"} 
[2026-08-11 09:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:23:42] 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-08-11 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 09:23:42] 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-08-11 09: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-08-11 09:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":154799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":154799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":154799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323609600001,"66":14407,"229":206,"94":11008,"24":7,"16":27568660633616384,"45":743516181117804544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,94,24,16,45]} 
[2026-08-11 09:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323609600001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:23:42] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 09:23:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27568660633616384,"km_value":27568660633616.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":743516181117804544,"description":"Unknown IO ID 45"} 
[2026-08-11 09:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323609600001,"power":14407,"unknown_229":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":743516181117804544}} 
[2026-08-11 09:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":154799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624187,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:23:42] local.INFO: GPS data processed {"connection_id":154799,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:23:42] local.INFO: Acknowledgment sent {"connection_id":154799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:23:53] local.INFO: TCP Data received {"connection_id":153425,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:23:53] local.INFO: Processing buffer {"connection_id":153425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:23:53] local.INFO: IMEI packet received {"connection_id":153425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":153425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:23:55] local.INFO: TCP Data received {"connection_id":153425,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:23:55] local.INFO: Processing buffer {"connection_id":153425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:23:55] local.INFO: IMEI packet received {"connection_id":153425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":153425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:23:58] local.INFO: TCP Data received {"connection_id":153425,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:23:58] local.INFO: Processing buffer {"connection_id":153425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:23:58] local.INFO: IMEI packet received {"connection_id":153425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":153425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:24:01] local.INFO: TCP Data received {"connection_id":153425,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef36788012d835800060e2948000b00e92c..."} 
[2026-08-11 09:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef36788012d835800060e2948000b00e92c..."} 
[2026-08-11 09:24:01] local.INFO: Processing buffer {"connection_id":153425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef36788012d835800060e2948000b00e92c..."} 
[2026-08-11 09:24:01] local.INFO: Packet analysis {"connection_id":153425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:24:01] local.INFO: Extracted packet for processing {"connection_id":153425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763582464,"raw_latitude":101591368,"longitude_deg":76.3582464,"latitude_deg":10.1591368,"altitude":11,"angle":233,"satellites":44,"speed":41,"hex_longitude":"2d835800","hex_latitude":"060e2948","is_valid_coordinates":true} 
[2026-08-11 09:24: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-08-11 09:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323610880001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377227617557807104,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8980529474689996800,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786420357000,"timestamp_ms":1786420357000,"timestamp_seconds":1786420357,"priority":1,"record_length":96,"hex_timestamp":"0000019feef36788"} 
[2026-08-11 09:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:24: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 09:24:01] 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-08-11 09:24: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-08-11 09:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:24:01] 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-08-11 09:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323610880001,"66":27919,"136":206,"87":10496,"24":41,"16":377227617557807104,"45":-8980529474689996800},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,87,24,16,45]} 
[2026-08-11 09:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323610880001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:24:01] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-11 09:24:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377227617557807104,"km_value":377227617557807.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8980529474689996800,"description":"Unknown IO ID 45"} 
[2026-08-11 09:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323610880001,"power":27919,"unknown_136":206,"unknown_87":10496,"ignition":41,"odometer":null,"unknown_45":-8980529474689996800}} 
[2026-08-11 09:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":153425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:24:02] local.INFO: GPS data processed {"connection_id":153425,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:24:02] local.INFO: Acknowledgment sent {"connection_id":153425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:24:09] local.INFO: TCP Data received {"connection_id":154800,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef3c548012d7a540005eb9a10000b009526..."} 
[2026-08-11 09:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef3c548012d7a540005eb9a10000b009526..."} 
[2026-08-11 09:24:09] local.INFO: Processing buffer {"connection_id":154800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef3c548012d7a540005eb9a10000b009526..."} 
[2026-08-11 09:24:09] local.INFO: Packet analysis {"connection_id":154800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:24:09] local.INFO: Extracted packet for processing {"connection_id":154800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:24:09] local.INFO: GPS Element Parsed {"raw_longitude":762991616,"raw_latitude":99326480,"longitude_deg":76.2991616,"latitude_deg":9.932648,"altitude":11,"angle":149,"satellites":38,"speed":0,"hex_longitude":"2d7a5400","hex_latitude":"05eb9a10","is_valid_coordinates":true} 
[2026-08-11 09:24: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-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323612160001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117596874579378176,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814670396098482176,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786420381000,"timestamp_ms":1786420381000,"timestamp_seconds":1786420381,"priority":1,"record_length":96,"hex_timestamp":"0000019feef3c548"} 
[2026-08-11 09:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:24:09] 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-08-11 09:24: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":10,"data_length":795,"current_offset":136} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466444616192,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186017,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":201,"raw_value":1729382256910270465,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1229087080224818636,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":39,"raw_value":844424930787332,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3755158545530814670,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":238,"raw_value":4062912513,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3102736399,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505837,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3375955968,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3955961856,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":17,"raw_value":41703376647356416,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.WARNING: Large IO value detected {"io_id":128,"raw_value":426669026212642975,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:09] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,163,87,24,241,157,16,201,159,33,45,154,11,39,10,66,207,40,125,64,1,240,29,227,238,235,4,113,205,6,221,62,8,41,239,50,2,161,5,17,128],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-08-11 09:24:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792797533448437760,"timestamp_seconds":792797533448437.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 09:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":154800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":154800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":154800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323612160001,"66":12689,"163":206,"87":13824,"24":0,"16":117596874579378176,"45":8814670396098482176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-11 09:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323612160001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:24:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 09:24:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117596874579378176,"km_value":117596874579378.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814670396098482176,"description":"Unknown IO ID 45"} 
[2026-08-11 09:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323612160001,"power":12689,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8814670396098482176}} 
[2026-08-11 09:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":154800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:24:09] local.INFO: GPS data processed {"connection_id":154800,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:24:09] local.INFO: Acknowledgment sent {"connection_id":154800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:24:12] local.INFO: TCP Data received {"connection_id":154799,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef4c718012d0a7e80070472f00012001a1f..."} 
[2026-08-11 09:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef4c718012d0a7e80070472f00012001a1f..."} 
[2026-08-11 09:24:12] local.INFO: Processing buffer {"connection_id":154799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef4c718012d0a7e80070472f00012001a1f..."} 
[2026-08-11 09:24:12] local.INFO: Packet analysis {"connection_id":154799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:24:12] local.INFO: Extracted packet for processing {"connection_id":154799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:24:12] local.INFO: GPS Element Parsed {"raw_longitude":755662464,"raw_latitude":117732080,"longitude_deg":75.5662464,"latitude_deg":11.773208,"altitude":18,"angle":26,"satellites":31,"speed":9,"hex_longitude":"2d0a7e80","hex_latitude":"070472f0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323634176001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27569867519426560,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756041817584185344,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786420447000,"timestamp_ms":1786420447000,"timestamp_seconds":1786420447,"priority":1,"record_length":96,"hex_timestamp":"0000019feef4c718"} 
[2026-08-11 09:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:24:12] 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-08-11 09: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 09:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":154799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":154799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":154799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323634176001,"66":14439,"229":206,"94":11008,"24":9,"16":27569867519426560,"45":756041817584185344},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,94,24,16,45]} 
[2026-08-11 09:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323634176001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:24:12] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 09:24:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27569867519426560,"km_value":27569867519426.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":756041817584185344,"description":"Unknown IO ID 45"} 
[2026-08-11 09:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323634176001,"power":14439,"unknown_229":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":756041817584185344}} 
[2026-08-11 09:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":154799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624190,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:24:12] local.INFO: GPS data processed {"connection_id":154799,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:24:12] local.INFO: Acknowledgment sent {"connection_id":154799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:24:33] local.INFO: TCP Data received {"connection_id":153425,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef38ab0012d833b40060e1140000d00e42c..."} 
[2026-08-11 09:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef38ab0012d833b40060e1140000d00e42c..."} 
[2026-08-11 09:24:33] local.INFO: Processing buffer {"connection_id":153425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef38ab0012d833b40060e1140000d00e42c..."} 
[2026-08-11 09:24:33] local.INFO: Packet analysis {"connection_id":153425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:24:33] local.INFO: Extracted packet for processing {"connection_id":153425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 09:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763575104,"raw_latitude":101585216,"longitude_deg":76.3575104,"latitude_deg":10.1585216,"altitude":13,"angle":228,"satellites":44,"speed":43,"hex_longitude":"2d833b40","hex_latitude":"060e1140","is_valid_coordinates":true} 
[2026-08-11 09:24: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-08-11 09:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323611392001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377228077119307776,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8982429430783064064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786420366000,"timestamp_ms":1786420366000,"timestamp_seconds":1786420366,"priority":1,"record_length":96,"hex_timestamp":"0000019feef38ab0"} 
[2026-08-11 09:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:24: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-08-11 09:24: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-08-11 09:24: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-08-11 09:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":153425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":153425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":153425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:24:33] 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-08-11 09:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323611392001,"66":27800,"136":206,"87":10496,"24":43,"16":377228077119307776,"45":-8982429430783064064},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,87,24,16,45]} 
[2026-08-11 09:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323611392001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:24:33] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-11 09:24:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377228077119307776,"km_value":377228077119307.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8982429430783064064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323611392001,"power":27800,"unknown_136":206,"unknown_87":10496,"ignition":43,"odometer":null,"unknown_45":-8982429430783064064}} 
[2026-08-11 09:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":153425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:24:33] local.INFO: GPS data processed {"connection_id":153425,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:24:33] local.INFO: Acknowledgment sent {"connection_id":153425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:24:38] local.INFO: TCP Data received {"connection_id":153426,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:24:38] local.INFO: Processing buffer {"connection_id":153426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:24:38] local.INFO: IMEI packet received {"connection_id":153426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":153426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:24:42] local.INFO: TCP Data received {"connection_id":153426,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:24:42] local.INFO: Processing buffer {"connection_id":153426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:24:42] local.INFO: IMEI packet received {"connection_id":153426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":153426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:24:43] local.INFO: TCP Data received {"connection_id":153426,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef41750012d7a540005eb9a10000b009527..."} 
[2026-08-11 09:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef41750012d7a540005eb9a10000b009527..."} 
[2026-08-11 09:24:43] local.INFO: Processing buffer {"connection_id":153426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef41750012d7a540005eb9a10000b009527..."} 
[2026-08-11 09:24:43] local.INFO: Packet analysis {"connection_id":153426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:24:43] local.INFO: Extracted packet for processing {"connection_id":153426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:24:43] local.INFO: GPS Element Parsed {"raw_longitude":762991616,"raw_latitude":99326480,"longitude_deg":76.2991616,"latitude_deg":9.932648,"altitude":11,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d7a5400","hex_latitude":"05eb9a10","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323617536001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117596874579378176,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814670396098482176,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786420402000,"timestamp_ms":1786420402000,"timestamp_seconds":1786420402,"priority":1,"record_length":96,"hex_timestamp":"0000019feef41750"} 
[2026-08-11 09:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:24:43] 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-08-11 09: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 09:24:43] 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-08-11 09: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-08-11 09:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323617536001,"66":13178,"163":206,"87":13824,"24":0,"16":117596874579378176,"45":8814670396098482176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-11 09:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323617536001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:24:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 09:24:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117596874579378176,"km_value":117596874579378.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814670396098482176,"description":"Unknown IO ID 45"} 
[2026-08-11 09:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323617536001,"power":13178,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8814670396098482176}} 
[2026-08-11 09:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":153426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:24:43] local.INFO: GPS data processed {"connection_id":153426,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:24:43] local.INFO: Acknowledgment sent {"connection_id":153426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:24:44] local.INFO: TCP Data received {"connection_id":153426,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef44630012d7a55c005eb97880009008a28..."} 
[2026-08-11 09:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef44630012d7a55c005eb97880009008a28..."} 
[2026-08-11 09:24:44] local.INFO: Processing buffer {"connection_id":153426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef44630012d7a55c005eb97880009008a28..."} 
[2026-08-11 09:24:44] local.INFO: Packet analysis {"connection_id":153426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:24:44] local.INFO: Extracted packet for processing {"connection_id":153426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:24:44] local.INFO: GPS Element Parsed {"raw_longitude":762992064,"raw_latitude":99325832,"longitude_deg":76.2992064,"latitude_deg":9.9325832,"altitude":9,"angle":138,"satellites":40,"speed":2,"hex_longitude":"2d7a55c0","hex_latitude":"05eb9788","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323622912001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117596908939116544,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814670396098482176,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786420414000,"timestamp_ms":1786420414000,"timestamp_seconds":1786420414,"priority":1,"record_length":96,"hex_timestamp":"0000019feef44630"} 
[2026-08-11 09:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:24:44] 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-08-11 09: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 09:24: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-08-11 09: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-08-11 09:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323622912001,"66":12613,"163":206,"87":13824,"24":2,"16":117596908939116544,"45":8814670396098482176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-11 09:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323622912001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:24:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 09:24:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117596908939116544,"km_value":117596908939116.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814670396098482176,"description":"Unknown IO ID 45"} 
[2026-08-11 09:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323622912001,"power":12613,"unknown_163":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8814670396098482176}} 
[2026-08-11 09:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":153426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:24:44] local.INFO: GPS data processed {"connection_id":153426,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:24:44] local.INFO: Acknowledgment sent {"connection_id":153426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:24:53] local.INFO: TCP Data received {"connection_id":154801,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:24:53] local.INFO: Processing buffer {"connection_id":154801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:24:53] local.INFO: IMEI packet received {"connection_id":154801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":154801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:24:56] local.INFO: TCP Data received {"connection_id":154801,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:24:56] local.INFO: Processing buffer {"connection_id":154801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:24:56] local.INFO: IMEI packet received {"connection_id":154801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":154801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:24:58] local.INFO: TCP Data received {"connection_id":154801,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:24:58] local.INFO: Processing buffer {"connection_id":154801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:24:58] local.INFO: IMEI packet received {"connection_id":154801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":154801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:24:59] local.INFO: TCP Data received {"connection_id":154801,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef4cee8012d82d440060d4448000c00a12b..."} 
[2026-08-11 09:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef4cee8012d82d440060d4448000c00a12b..."} 
[2026-08-11 09:24:59] local.INFO: Processing buffer {"connection_id":154801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef4cee8012d82d440060d4448000c00a12b..."} 
[2026-08-11 09:24:59] local.INFO: Packet analysis {"connection_id":154801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:24:59] local.INFO: Extracted packet for processing {"connection_id":154801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763548736,"raw_latitude":101532744,"longitude_deg":76.3548736,"latitude_deg":10.1532744,"altitude":12,"angle":161,"satellites":43,"speed":15,"hex_longitude":"2d82d440","hex_latitude":"060d4448","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323633920001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377231311229681664,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9019865602700132352,"note":"Value kept but may cause issues"} 
[2026-08-11 09:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786420449000,"timestamp_ms":1786420449000,"timestamp_seconds":1786420449,"priority":1,"record_length":96,"hex_timestamp":"0000019feef4cee8"} 
[2026-08-11 09:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 09:24: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-08-11 09: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-08-11 09:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:24:59] 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-08-11 09:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323633920001,"66":27843,"137":206,"87":10496,"24":15,"16":377231311229681664,"45":-9019865602700132352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-08-11 09:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323633920001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:24:59] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-11 09:24:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377231311229681664,"km_value":377231311229681.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9019865602700132352,"description":"Unknown IO ID 45"} 
[2026-08-11 09:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323633920001,"power":27843,"unknown_137":206,"unknown_87":10496,"ignition":15,"odometer":null,"unknown_45":-9019865602700132352}} 
[2026-08-11 09:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":154801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:24:59] local.INFO: GPS data processed {"connection_id":154801,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:24:59] local.INFO: Acknowledgment sent {"connection_id":154801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:25:00] local.INFO: TCP Data received {"connection_id":152469,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152469,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:25:00] local.INFO: Processing buffer {"connection_id":152469,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:25:00] local.INFO: IMEI packet received {"connection_id":152469,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":152469,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:25:02] local.INFO: TCP Data received {"connection_id":152469,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 09:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152469,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 09:25:02] local.INFO: Processing buffer {"connection_id":152469,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 09:25:02] local.INFO: IMEI packet received {"connection_id":152469,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":152469,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:25:03] local.INFO: TCP Data received {"connection_id":152469,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef4cb00012d0a7ec0070473d80013000c1f..."} 
[2026-08-11 09:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef4cb00012d0a7ec0070473d80013000c1f..."} 
[2026-08-11 09:25:03] local.INFO: Processing buffer {"connection_id":152469,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019fee..."} 
[2026-08-11 09:25:03] local.INFO: IMEI packet received {"connection_id":152469,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":152469,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:25:10] local.INFO: TCP Data received {"connection_id":152469,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef4cee8012d0a7ec007047528001301671f..."} 
[2026-08-11 09:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef4cee8012d0a7ec007047528001301671f..."} 
[2026-08-11 09:25:10] local.INFO: Processing buffer {"connection_id":152469,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019feef4cb00012d0a7ec0070473d80013000c1f..."} 
[2026-08-11 09:25:10] local.INFO: Packet analysis {"connection_id":152469,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:25:10] local.INFO: Extracted packet for processing {"connection_id":152469,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:25:10] local.INFO: GPS Element Parsed {"raw_longitude":755662528,"raw_latitude":117732312,"longitude_deg":75.5662528,"latitude_deg":11.7732312,"altitude":19,"angle":12,"satellites":31,"speed":10,"hex_longitude":"2d0a7ec0","hex_latitude":"070473d8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323634432001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27569880404328448,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756182555072589824,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786420448000,"timestamp_ms":1786420448000,"timestamp_seconds":1786420448,"priority":1,"record_length":96,"hex_timestamp":"0000019feef4cb00"} 
[2026-08-11 09:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:25:10] 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-08-11 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 09:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152469,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152469,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323634432001,"66":14439,"229":206,"94":11008,"24":10,"16":27569880404328448,"45":756182555072589824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,94,24,16,45]} 
[2026-08-11 09:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323634432001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:25:10] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 09:25:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27569880404328448,"km_value":27569880404328.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":756182555072589824,"description":"Unknown IO ID 45"} 
[2026-08-11 09:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323634432001,"power":14439,"unknown_229":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":756182555072589824}} 
[2026-08-11 09:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":152469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624195,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:25:10] local.INFO: GPS data processed {"connection_id":152469,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:25:10] local.INFO: Acknowledgment sent {"connection_id":152469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:25:10] local.INFO: Packet analysis {"connection_id":152469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:25:10] local.INFO: Extracted packet for processing {"connection_id":152469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:25:10] local.INFO: GPS Element Parsed {"raw_longitude":755662528,"raw_latitude":117732648,"longitude_deg":75.5662528,"latitude_deg":11.7732648,"altitude":19,"angle":359,"satellites":31,"speed":13,"hex_longitude":"2d0a7ec0","hex_latitude":"07047528","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323634688001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27569897584197632,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756252923816826880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786420449000,"timestamp_ms":1786420449000,"timestamp_seconds":1786420449,"priority":1,"record_length":96,"hex_timestamp":"0000019feef4cee8"} 
[2026-08-11 09:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:25:10] 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-08-11 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 09:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152469,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152469,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323634688001,"66":14407,"229":206,"94":11008,"24":13,"16":27569897584197632,"45":756252923816826880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,94,24,16,45]} 
[2026-08-11 09:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323634688001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:25:10] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 09:25:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27569897584197632,"km_value":27569897584197.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":756252923816826880,"description":"Unknown IO ID 45"} 
[2026-08-11 09:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323634688001,"power":14407,"unknown_229":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":756252923816826880}} 
[2026-08-11 09:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":152469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624196,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:25:10] local.INFO: GPS data processed {"connection_id":152469,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:25:10] local.INFO: Acknowledgment sent {"connection_id":152469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:25:11] local.INFO: TCP Data received {"connection_id":152469,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef5a9a8012d0a97400704e2e0001400231e..."} 
[2026-08-11 09:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef5a9a8012d0a97400704e2e0001400231e..."} 
[2026-08-11 09:25:11] local.INFO: Processing buffer {"connection_id":152469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef5a9a8012d0a97400704e2e0001400231e..."} 
[2026-08-11 09:25:11] local.INFO: Packet analysis {"connection_id":152469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef5"} 
[2026-08-11 09:25:11] local.INFO: Extracted packet for processing {"connection_id":152469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef5"} 
[2026-08-11 09:25:11] local.INFO: GPS Element Parsed {"raw_longitude":755668800,"raw_latitude":117760736,"longitude_deg":75.56688,"latitude_deg":11.7760736,"altitude":20,"angle":35,"satellites":30,"speed":14,"hex_longitude":"2d0a9740","hex_latitude":"0704e2e0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323649024001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27571495312031744,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":762797217032556544,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786420505000,"timestamp_ms":1786420505000,"timestamp_seconds":1786420505,"priority":1,"record_length":96,"hex_timestamp":"0000019feef5a9a8"} 
[2026-08-11 09:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:25:11] 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-08-11 09: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-11 09:25:11] 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-08-11 09: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-08-11 09:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152469,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152469,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323649024001,"66":14515,"177":206,"94":10240,"24":14,"16":27571495312031744,"45":762797217032556544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 09:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323649024001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:25:11] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:25:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27571495312031744,"km_value":27571495312031.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":762797217032556544,"description":"Unknown IO ID 45"} 
[2026-08-11 09:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323649024001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":762797217032556544}} 
[2026-08-11 09:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":152469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624197,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:25:11] local.INFO: GPS data processed {"connection_id":152469,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:25:11] local.INFO: Acknowledgment sent {"connection_id":152469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:25:15] local.INFO: TCP Data received {"connection_id":153426,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef44e00012d7a564005eb9728000a007928..."} 
[2026-08-11 09:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef44e00012d7a564005eb9728000a007928..."} 
[2026-08-11 09:25:15] local.INFO: Processing buffer {"connection_id":153426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef44e00012d7a564005eb9728000a007928..."} 
[2026-08-11 09:25:15] local.INFO: Packet analysis {"connection_id":153426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:25:15] local.INFO: Extracted packet for processing {"connection_id":153426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:25:15] local.INFO: GPS Element Parsed {"raw_longitude":762992192,"raw_latitude":99325736,"longitude_deg":76.2992192,"latitude_deg":9.9325736,"altitude":10,"angle":121,"satellites":40,"speed":3,"hex_longitude":"2d7a5640","hex_latitude":"05eb9728","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323625984001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117596917529051136,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815162977307559936,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786420416000,"timestamp_ms":1786420416000,"timestamp_seconds":1786420416,"priority":1,"record_length":96,"hex_timestamp":"0000019feef44e00"} 
[2026-08-11 09:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:25:15] 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-08-11 09: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-11 09:25:15] 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-08-11 09: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-08-11 09:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323625984001,"66":12972,"163":206,"87":13824,"24":3,"16":117596917529051136,"45":8815162977307559936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-11 09:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323625984001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:25:15] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 09:25:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117596917529051136,"km_value":117596917529051.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815162977307559936,"description":"Unknown IO ID 45"} 
[2026-08-11 09:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323625984001,"power":12972,"unknown_163":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8815162977307559936}} 
[2026-08-11 09:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":153426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:25:15] local.INFO: GPS data processed {"connection_id":153426,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:25:15] local.INFO: Acknowledgment sent {"connection_id":153426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:25:29] local.INFO: TCP Data received {"connection_id":154802,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154802,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:25:29] local.INFO: Processing buffer {"connection_id":154802,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:25:29] local.INFO: IMEI packet received {"connection_id":154802,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":154802,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:25:30] local.INFO: TCP Data received {"connection_id":154801,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef4d6b8012d82d5c0060d41b0000c008f2b..."} 
[2026-08-11 09:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef4d6b8012d82d5c0060d41b0000c008f2b..."} 
[2026-08-11 09:25:30] local.INFO: Processing buffer {"connection_id":154801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef4d6b8012d82d5c0060d41b0000c008f2b..."} 
[2026-08-11 09:25:30] local.INFO: Packet analysis {"connection_id":154801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:25:30] local.INFO: Extracted packet for processing {"connection_id":154801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:25:30] local.INFO: GPS Element Parsed {"raw_longitude":763549120,"raw_latitude":101532080,"longitude_deg":76.354912,"latitude_deg":10.153208,"altitude":12,"angle":143,"satellites":43,"speed":14,"hex_longitude":"2d82d5c0","hex_latitude":"060d41b0","is_valid_coordinates":true} 
[2026-08-11 09:25: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-08-11 09:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323634944001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377231349884387328,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9019513758979700736,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786420451000,"timestamp_ms":1786420451000,"timestamp_seconds":1786420451,"priority":1,"record_length":96,"hex_timestamp":"0000019feef4d6b8"} 
[2026-08-11 09:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:25: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 09:25:30] 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-08-11 09:25: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-08-11 09:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:25:30] 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-08-11 09:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323634944001,"66":27843,"137":206,"87":10496,"24":14,"16":377231349884387328,"45":-9019513758979700736},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-08-11 09:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323634944001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:25:30] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-11 09:25:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377231349884387328,"km_value":377231349884387.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9019513758979700736,"description":"Unknown IO ID 45"} 
[2026-08-11 09:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323634944001,"power":27843,"unknown_137":206,"unknown_87":10496,"ignition":14,"odometer":null,"unknown_45":-9019513758979700736}} 
[2026-08-11 09:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":154801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:25:30] local.INFO: GPS data processed {"connection_id":154801,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:25:30] local.INFO: Acknowledgment sent {"connection_id":154801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:25:30] local.INFO: TCP Data received {"connection_id":154802,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154802,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:25:30] local.INFO: Processing buffer {"connection_id":154802,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:25:30] local.INFO: IMEI packet received {"connection_id":154802,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":154802,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:25:30] local.INFO: TCP Data received {"connection_id":152470,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:25:30] local.INFO: Processing buffer {"connection_id":152470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:25:30] local.INFO: IMEI packet received {"connection_id":152470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":152470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:25:33] local.INFO: TCP Data received {"connection_id":152470,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:25:33] local.INFO: Processing buffer {"connection_id":152470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:25:33] local.INFO: IMEI packet received {"connection_id":152470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":152470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:25:35] local.INFO: TCP Data received {"connection_id":154802,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154802,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:25:35] local.INFO: Processing buffer {"connection_id":154802,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:25:35] local.INFO: IMEI packet received {"connection_id":154802,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":154802,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:25:37] local.INFO: TCP Data received {"connection_id":154802,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef5ad90012d0a97c00704e468001500151e..."} 
[2026-08-11 09:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef5ad90012d0a97c00704e468001500151e..."} 
[2026-08-11 09:25:37] local.INFO: Processing buffer {"connection_id":154802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef5ad90012d0a97c00704e468001500151e..."} 
[2026-08-11 09:25:37] local.INFO: Packet analysis {"connection_id":154802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef5"} 
[2026-08-11 09:25:37] local.INFO: Extracted packet for processing {"connection_id":154802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef5"} 
[2026-08-11 09:25:37] local.INFO: GPS Element Parsed {"raw_longitude":755668928,"raw_latitude":117761128,"longitude_deg":75.5668928,"latitude_deg":11.7761128,"altitude":21,"angle":21,"satellites":30,"speed":17,"hex_longitude":"2d0a97c0","hex_latitude":"0704e468","is_valid_coordinates":true} 
[2026-08-11 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-08-11 09:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323649280001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27571516786868224,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763149060753514496,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786420506000,"timestamp_ms":1786420506000,"timestamp_seconds":1786420506,"priority":1,"record_length":96,"hex_timestamp":"0000019feef5ad90"} 
[2026-08-11 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-08-11 09:25:37] 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-08-11 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 09:25:37] 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-08-11 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-08-11 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-08-11 09:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323649280001,"66":14515,"177":206,"94":10240,"24":17,"16":27571516786868224,"45":763149060753514496},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 09:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323649280001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:25:37] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:25:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27571516786868224,"km_value":27571516786868.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":763149060753514496,"description":"Unknown IO ID 45"} 
[2026-08-11 09:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323649280001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":763149060753514496}} 
[2026-08-11 09:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":154802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624200,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:25:37] local.INFO: GPS data processed {"connection_id":154802,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:25:37] local.INFO: Acknowledgment sent {"connection_id":154802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:25:38] local.INFO: TCP Data received {"connection_id":152470,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:25:38] local.INFO: Processing buffer {"connection_id":152470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:25:38] local.INFO: IMEI packet received {"connection_id":152470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":152470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:25:39] local.INFO: TCP Data received {"connection_id":152470,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef455d0012d7a574005eb96c0000a006e29..."} 
[2026-08-11 09:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef455d0012d7a574005eb96c0000a006e29..."} 
[2026-08-11 09:25:39] local.INFO: Processing buffer {"connection_id":152470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef455d0012d7a574005eb96c0000a006e29..."} 
[2026-08-11 09:25:39] local.INFO: Packet analysis {"connection_id":152470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:25:39] local.INFO: Extracted packet for processing {"connection_id":152470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:25:39] local.INFO: GPS Element Parsed {"raw_longitude":762992448,"raw_latitude":99325632,"longitude_deg":76.2992448,"latitude_deg":9.9325632,"altitude":10,"angle":110,"satellites":41,"speed":4,"hex_longitude":"2d7a5740","hex_latitude":"05eb96c0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323626496001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117596934708920320,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815303714795890688,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786420418000,"timestamp_ms":1786420418000,"timestamp_seconds":1786420418,"priority":1,"record_length":96,"hex_timestamp":"0000019feef455d0"} 
[2026-08-11 09:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:25:39] 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-08-11 09: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-11 09:25:39] 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-08-11 09: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-08-11 09:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323626496001,"66":12950,"163":206,"87":13824,"24":4,"16":117596934708920320,"45":8815303714795890688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-11 09:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323626496001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:25:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 09:25:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117596934708920320,"km_value":117596934708920.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815303714795890688,"description":"Unknown IO ID 45"} 
[2026-08-11 09:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323626496001,"power":12950,"unknown_163":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8815303714795890688}} 
[2026-08-11 09:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":152470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:25:39] local.INFO: GPS data processed {"connection_id":152470,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:25:39] local.INFO: Acknowledgment sent {"connection_id":152470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:25:44] local.INFO: TCP Data received {"connection_id":152470,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef45da0012d7a584005eb9678000b005a29..."} 
[2026-08-11 09:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef45da0012d7a584005eb9678000b005a29..."} 
[2026-08-11 09:25:44] local.INFO: Processing buffer {"connection_id":152470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef45da0012d7a584005eb9678000b005a29..."} 
[2026-08-11 09:25:44] local.INFO: Packet analysis {"connection_id":152470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:25:44] local.INFO: Extracted packet for processing {"connection_id":152470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:25:44] local.INFO: GPS Element Parsed {"raw_longitude":762992704,"raw_latitude":99325560,"longitude_deg":76.2992704,"latitude_deg":9.932556,"altitude":11,"angle":90,"satellites":41,"speed":4,"hex_longitude":"2d7a5840","hex_latitude":"05eb9678","is_valid_coordinates":true} 
[2026-08-11 09:25: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-08-11 09:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323627008001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117596943298854912,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815585189772574720,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786420420000,"timestamp_ms":1786420420000,"timestamp_seconds":1786420420,"priority":1,"record_length":96,"hex_timestamp":"0000019feef45da0"} 
[2026-08-11 09:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:25:44] 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-08-11 09:25: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 09:25:44] 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-08-11 09:25: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-08-11 09:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323627008001,"66":13015,"163":206,"87":13824,"24":4,"16":117596943298854912,"45":8815585189772574720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-11 09:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323627008001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:25:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 09:25:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117596943298854912,"km_value":117596943298854.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815585189772574720,"description":"Unknown IO ID 45"} 
[2026-08-11 09:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323627008001,"power":13015,"unknown_163":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8815585189772574720}} 
[2026-08-11 09:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":152470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:25:44] local.INFO: GPS data processed {"connection_id":152470,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:25:44] local.INFO: Acknowledgment sent {"connection_id":152470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:25:52] local.INFO: TCP Data received {"connection_id":153427,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:25:52] local.INFO: Processing buffer {"connection_id":153427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:25:52] local.INFO: IMEI packet received {"connection_id":153427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":153427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:25:54] local.INFO: TCP Data received {"connection_id":153427,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:25:54] local.INFO: Processing buffer {"connection_id":153427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:25:54] local.INFO: IMEI packet received {"connection_id":153427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":153427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:25:58] local.INFO: TCP Data received {"connection_id":153427,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:25:58] local.INFO: Processing buffer {"connection_id":153427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:25:58] local.INFO: IMEI packet received {"connection_id":153427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":153427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:25:59] local.INFO: TCP Data received {"connection_id":153427,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef4de88012d82d7c0060d3f98000c007f2b..."} 
[2026-08-11 09:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef4de88012d82d7c0060d3f98000c007f2b..."} 
[2026-08-11 09:25:59] local.INFO: Processing buffer {"connection_id":153427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef4de88012d82d7c0060d3f98000c007f2b..."} 
[2026-08-11 09:25:59] local.INFO: Packet analysis {"connection_id":153427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:25:59] local.INFO: Extracted packet for processing {"connection_id":153427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:25:59] local.INFO: GPS Element Parsed {"raw_longitude":763549632,"raw_latitude":101531544,"longitude_deg":76.3549632,"latitude_deg":10.1531544,"altitude":12,"angle":127,"satellites":43,"speed":14,"hex_longitude":"2d82d7c0","hex_latitude":"060d3f98","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323635456001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377231388539092992,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9019091546514804736,"note":"Value kept but may cause issues"} 
[2026-08-11 09:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786420453000,"timestamp_ms":1786420453000,"timestamp_seconds":1786420453,"priority":1,"record_length":96,"hex_timestamp":"0000019feef4de88"} 
[2026-08-11 09:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 09:25:59] 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-08-11 09: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-08-11 09:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:25:59] 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-08-11 09:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323635456001,"66":27919,"137":206,"87":10496,"24":14,"16":377231388539092992,"45":-9019091546514804736},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-08-11 09:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323635456001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:25:59] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-11 09:25:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377231388539092992,"km_value":377231388539093.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9019091546514804736,"description":"Unknown IO ID 45"} 
[2026-08-11 09:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323635456001,"power":27919,"unknown_137":206,"unknown_87":10496,"ignition":14,"odometer":null,"unknown_45":-9019091546514804736}} 
[2026-08-11 09:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":153427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:25:59] local.INFO: GPS data processed {"connection_id":153427,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:25:59] local.INFO: Acknowledgment sent {"connection_id":153427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:26:08] local.INFO: TCP Data received {"connection_id":154802,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef5b178012d0a98000704e658001500061e..."} 
[2026-08-11 09:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef5b178012d0a98000704e658001500061e..."} 
[2026-08-11 09:26:08] local.INFO: Processing buffer {"connection_id":154802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef5b178012d0a98000704e658001500061e..."} 
[2026-08-11 09:26:08] local.INFO: Packet analysis {"connection_id":154802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef5"} 
[2026-08-11 09:26:08] local.INFO: Extracted packet for processing {"connection_id":154802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef5"} 
[2026-08-11 09:26:08] local.INFO: GPS Element Parsed {"raw_longitude":755668992,"raw_latitude":117761624,"longitude_deg":75.5668992,"latitude_deg":11.7761624,"altitude":21,"angle":6,"satellites":30,"speed":21,"hex_longitude":"2d0a9800","hex_latitude":"0704e658","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323649536001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27571538261704704,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763289798241970176,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786420507000,"timestamp_ms":1786420507000,"timestamp_seconds":1786420507,"priority":1,"record_length":96,"hex_timestamp":"0000019feef5b178"} 
[2026-08-11 09:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:26:08] 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-08-11 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 09:26:08] 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-08-11 09: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-08-11 09:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323649536001,"66":14439,"177":206,"94":10240,"24":21,"16":27571538261704704,"45":763289798241970176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 09:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323649536001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:26:08] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:26:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27571538261704704,"km_value":27571538261704.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":763289798241970176,"description":"Unknown IO ID 45"} 
[2026-08-11 09:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323649536001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":763289798241970176}} 
[2026-08-11 09:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":154802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624204,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:26:09] local.INFO: GPS data processed {"connection_id":154802,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:26:09] local.INFO: Acknowledgment sent {"connection_id":154802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:26:15] local.INFO: TCP Data received {"connection_id":152470,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef46958012d7a598005eb9690000c004a29..."} 
[2026-08-11 09:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef46958012d7a598005eb9690000c004a29..."} 
[2026-08-11 09:26:15] local.INFO: Processing buffer {"connection_id":152470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef46958012d7a598005eb9690000c004a29..."} 
[2026-08-11 09:26:15] local.INFO: Packet analysis {"connection_id":152470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:26:15] local.INFO: Extracted packet for processing {"connection_id":152470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:26:15] local.INFO: GPS Element Parsed {"raw_longitude":762993024,"raw_latitude":99325584,"longitude_deg":76.2993024,"latitude_deg":9.9325584,"altitude":12,"angle":74,"satellites":41,"speed":4,"hex_longitude":"2d7a5980","hex_latitude":"05eb9690","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323627520001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117596960478724096,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815866664749266944,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786420423000,"timestamp_ms":1786420423000,"timestamp_seconds":1786420423,"priority":1,"record_length":96,"hex_timestamp":"0000019feef46958"} 
[2026-08-11 09:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:26:15] 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-08-11 09: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-11 09:26:15] 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-08-11 09: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-08-11 09:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323627520001,"66":12624,"163":206,"87":13824,"24":4,"16":117596960478724096,"45":8815866664749266944},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-11 09:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323627520001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:26:15] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 09:26:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117596960478724096,"km_value":117596960478724.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815866664749266944,"description":"Unknown IO ID 45"} 
[2026-08-11 09:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323627520001,"power":12624,"unknown_163":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8815866664749266944}} 
[2026-08-11 09:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":152470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:26:15] local.INFO: GPS data processed {"connection_id":152470,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:26:15] local.INFO: Acknowledgment sent {"connection_id":152470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:26:29] local.INFO: TCP Data received {"connection_id":152079,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152079,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:26:29] local.INFO: Processing buffer {"connection_id":152079,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:26:29] local.INFO: IMEI packet received {"connection_id":152079,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":152079,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:26:30] local.INFO: TCP Data received {"connection_id":153427,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef60380012d83c340060cc438000900502c..."} 
[2026-08-11 09:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef60380012d83c340060cc438000900502c..."} 
[2026-08-11 09:26:30] local.INFO: Processing buffer {"connection_id":153427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef60380012d83c340060cc438000900502c..."} 
[2026-08-11 09:26:30] local.INFO: Packet analysis {"connection_id":153427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef6"} 
[2026-08-11 09:26:30] local.INFO: Extracted packet for processing {"connection_id":153427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef6"} 
[2026-08-11 09:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763609920,"raw_latitude":101499960,"longitude_deg":76.360992,"latitude_deg":10.149996,"altitude":9,"angle":80,"satellites":44,"speed":49,"hex_longitude":"2d83c340","hex_latitude":"060cc438","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323653120001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377234931887112192,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8963289132390567936,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786420528000,"timestamp_ms":1786420528000,"timestamp_seconds":1786420528,"priority":1,"record_length":96,"hex_timestamp":"0000019feef60380"} 
[2026-08-11 09:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 09:26:30] 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-08-11 09: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-08-11 09:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:26:30] 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-08-11 09:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323653120001,"66":27908,"162":206,"87":10496,"24":49,"16":377234931887112192,"45":-8963289132390567936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,87,24,16,45]} 
[2026-08-11 09:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323653120001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:26:30] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-11 09:26:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377234931887112192,"km_value":377234931887112.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8963289132390567936,"description":"Unknown IO ID 45"} 
[2026-08-11 09:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323653120001,"power":27908,"unknown_162":206,"unknown_87":10496,"ignition":49,"odometer":null,"unknown_45":-8963289132390567936}} 
[2026-08-11 09:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":153427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:26:30] local.INFO: GPS data processed {"connection_id":153427,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:26:30] local.INFO: Acknowledgment sent {"connection_id":153427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:26:34] local.INFO: TCP Data received {"connection_id":152079,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152079,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:26:34] local.INFO: Processing buffer {"connection_id":152079,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:26:34] local.INFO: IMEI packet received {"connection_id":152079,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":152079,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:26:35] local.INFO: TCP Data received {"connection_id":152079,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef6bb18012d0b5d000704f1400015007e1f..."} 
[2026-08-11 09:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef6bb18012d0b5d000704f1400015007e1f..."} 
[2026-08-11 09:26:35] local.INFO: Processing buffer {"connection_id":152079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef6bb18012d0b5d000704f1400015007e1f..."} 
[2026-08-11 09:26:35] local.INFO: Packet analysis {"connection_id":152079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef6"} 
[2026-08-11 09:26:35] local.INFO: Extracted packet for processing {"connection_id":152079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef6"} 
[2026-08-11 09:26:35] local.INFO: GPS Element Parsed {"raw_longitude":755719424,"raw_latitude":117764416,"longitude_deg":75.5719424,"latitude_deg":11.7764416,"altitude":21,"angle":126,"satellites":31,"speed":13,"hex_longitude":"2d0b5d00","hex_latitude":"0704f140","is_valid_coordinates":true} 
[2026-08-11 09:26: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-08-11 09:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323666688001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27574063702474752,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818036681213128704,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786420575000,"timestamp_ms":1786420575000,"timestamp_seconds":1786420575,"priority":1,"record_length":96,"hex_timestamp":"0000019feef6bb18"} 
[2026-08-11 09:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:26: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-08-11 09:26: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 09:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:26: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-08-11 09:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323666688001,"66":14537,"96":206,"94":10240,"24":13,"16":27574063702474752,"45":818036681213128704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 09:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323666688001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:26:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 09:26:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27574063702474752,"km_value":27574063702474.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":818036681213128704,"description":"Unknown IO ID 45"} 
[2026-08-11 09:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323666688001,"power":14537,"unknown_96":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":818036681213128704}} 
[2026-08-11 09:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":152079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624207,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:26:35] local.INFO: GPS data processed {"connection_id":152079,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:26:35] local.INFO: Acknowledgment sent {"connection_id":152079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:26:38] local.INFO: TCP Data received {"connection_id":152471,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:26:38] local.INFO: Processing buffer {"connection_id":152471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:26:38] local.INFO: IMEI packet received {"connection_id":152471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":152471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:26:39] local.INFO: TCP Data received {"connection_id":152471,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:26:39] local.INFO: Processing buffer {"connection_id":152471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:26:39] local.INFO: IMEI packet received {"connection_id":152471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":152471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:26:43] local.INFO: TCP Data received {"connection_id":152471,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:26:43] local.INFO: Processing buffer {"connection_id":152471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:26:43] local.INFO: IMEI packet received {"connection_id":152471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":152471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:26:44] local.INFO: TCP Data received {"connection_id":152471,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef49838012d7a638005eb99f8000e003d29..."} 
[2026-08-11 09:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef49838012d7a638005eb99f8000e003d29..."} 
[2026-08-11 09:26:44] local.INFO: Processing buffer {"connection_id":152471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef49838012d7a638005eb99f8000e003d29..."} 
[2026-08-11 09:26:44] local.INFO: Packet analysis {"connection_id":152471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:26:44] local.INFO: Extracted packet for processing {"connection_id":152471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 09:26:44] local.INFO: GPS Element Parsed {"raw_longitude":762995584,"raw_latitude":99326456,"longitude_deg":76.2995584,"latitude_deg":9.9326456,"altitude":14,"angle":61,"satellites":41,"speed":10,"hex_longitude":"2d7a6380","hex_latitude":"05eb99f8","is_valid_coordinates":true} 
[2026-08-11 09:26: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-08-11 09:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323628288001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117597089327742976,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816218508470161408,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786420435000,"timestamp_ms":1786420435000,"timestamp_seconds":1786420435,"priority":1,"record_length":96,"hex_timestamp":"0000019feef49838"} 
[2026-08-11 09:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:26:44] 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-08-11 09:26: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 09:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:26: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-08-11 09:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323628288001,"66":13243,"163":206,"87":13824,"24":10,"16":117597089327742976,"45":8816218508470161408},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-11 09:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323628288001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:26:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 09:26:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117597089327742976,"km_value":117597089327742.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816218508470161408,"description":"Unknown IO ID 45"} 
[2026-08-11 09:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323628288001,"power":13243,"unknown_163":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8816218508470161408}} 
[2026-08-11 09:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":152471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:26:44] local.INFO: GPS data processed {"connection_id":152471,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:26:44] local.INFO: Acknowledgment sent {"connection_id":152471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:26:52] local.INFO: TCP Data received {"connection_id":152080,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:26:52] local.INFO: Processing buffer {"connection_id":152080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:26:52] local.INFO: IMEI packet received {"connection_id":152080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":152080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:26:56] local.INFO: TCP Data received {"connection_id":152080,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:26:56] local.INFO: Processing buffer {"connection_id":152080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:26:56] local.INFO: IMEI packet received {"connection_id":152080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":152080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:26:57] local.INFO: TCP Data received {"connection_id":152080,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:26:57] local.INFO: Processing buffer {"connection_id":152080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:26:57] local.INFO: IMEI packet received {"connection_id":152080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":152080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:26:58] local.INFO: TCP Data received {"connection_id":152080,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef622c0012d83e800060cca88000900502c..."} 
[2026-08-11 09:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef622c0012d83e800060cca88000900502c..."} 
[2026-08-11 09:26:58] local.INFO: Processing buffer {"connection_id":152080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef622c0012d83e800060cca88000900502c..."} 
[2026-08-11 09:26:58] local.INFO: Packet analysis {"connection_id":152080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef6"} 
[2026-08-11 09:26:58] local.INFO: Extracted packet for processing {"connection_id":152080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef6"} 
[2026-08-11 09:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763619328,"raw_latitude":101501576,"longitude_deg":76.3619328,"latitude_deg":10.1501576,"altitude":9,"angle":80,"satellites":44,"speed":42,"hex_longitude":"2d83e800","hex_latitude":"060cca88","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323655168001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377235387153645568,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8952241239554246656,"note":"Value kept but may cause issues"} 
[2026-08-11 09:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786420536000,"timestamp_ms":1786420536000,"timestamp_seconds":1786420536,"priority":1,"record_length":96,"hex_timestamp":"0000019feef622c0"} 
[2026-08-11 09:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 09:26:58] 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-08-11 09: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-08-11 09:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:26:58] 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-08-11 09:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323655168001,"66":27908,"162":206,"87":10496,"24":42,"16":377235387153645568,"45":-8952241239554246656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,87,24,16,45]} 
[2026-08-11 09:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323655168001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:26:58] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-11 09:26:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377235387153645568,"km_value":377235387153645.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8952241239554246656,"description":"Unknown IO ID 45"} 
[2026-08-11 09:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323655168001,"power":27908,"unknown_162":206,"unknown_87":10496,"ignition":42,"odometer":null,"unknown_45":-8952241239554246656}} 
[2026-08-11 09:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":152080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:26:58] local.INFO: GPS data processed {"connection_id":152080,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:26:58] local.INFO: Acknowledgment sent {"connection_id":152080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:27:06] local.INFO: TCP Data received {"connection_id":152079,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef75758012d0b81400704bd88001a00751e..."} 
[2026-08-11 09:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef75758012d0b81400704bd88001a00751e..."} 
[2026-08-11 09:27:06] local.INFO: Processing buffer {"connection_id":152079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef75758012d0b81400704bd88001a00751e..."} 
[2026-08-11 09:27:06] local.INFO: Packet analysis {"connection_id":152079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:27:06] local.INFO: Extracted packet for processing {"connection_id":152079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:27:06] local.INFO: GPS Element Parsed {"raw_longitude":755728704,"raw_latitude":117751176,"longitude_deg":75.5728704,"latitude_deg":11.7751176,"altitude":26,"angle":117,"satellites":30,"speed":21,"hex_longitude":"2d0b8140","hex_latitude":"0704bd88","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323677184001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27575008595279872,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828521624092188672,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786420615000,"timestamp_ms":1786420615000,"timestamp_seconds":1786420615,"priority":1,"record_length":96,"hex_timestamp":"0000019feef75758"} 
[2026-08-11 09:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:27:06] 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-08-11 09: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-11 09:27:06] 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-08-11 09: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-08-11 09:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323677184001,"66":13896,"96":206,"94":10240,"24":21,"16":27575008595279872,"45":828521624092188672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 09:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323677184001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:27:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 09:27:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27575008595279872,"km_value":27575008595279.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":828521624092188672,"description":"Unknown IO ID 45"} 
[2026-08-11 09:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323677184001,"power":13896,"unknown_96":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":828521624092188672}} 
[2026-08-11 09:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":152079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624210,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:27:06] local.INFO: GPS data processed {"connection_id":152079,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:27:06] local.INFO: Acknowledgment sent {"connection_id":152079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:27:16] local.INFO: TCP Data received {"connection_id":152471,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef71108012d7bbc0005ec2588000f00492a..."} 
[2026-08-11 09:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef71108012d7bbc0005ec2588000f00492a..."} 
[2026-08-11 09:27:16] local.INFO: Processing buffer {"connection_id":152471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef71108012d7bbc0005ec2588000f00492a..."} 
[2026-08-11 09:27:16] local.INFO: Packet analysis {"connection_id":152471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:27:16] local.INFO: Extracted packet for processing {"connection_id":152471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:27:16] local.INFO: GPS Element Parsed {"raw_longitude":763083776,"raw_latitude":99362184,"longitude_deg":76.3083776,"latitude_deg":9.9362184,"altitude":15,"angle":73,"satellites":42,"speed":36,"hex_longitude":"2d7bbc00","hex_latitude":"05ec2588","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323670272001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117601659172945920,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906571976003000320,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786420597000,"timestamp_ms":1786420597000,"timestamp_seconds":1786420597,"priority":1,"record_length":96,"hex_timestamp":"0000019feef71108"} 
[2026-08-11 09:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:27: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-08-11 09: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 09:27:16] 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-08-11 09: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-08-11 09:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323670272001,"66":13189,"198":206,"87":13824,"24":36,"16":117601659172945920,"45":8906571976003000320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 09:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323670272001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:27:16] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 09:27:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117601659172945920,"km_value":117601659172945.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906571976003000320,"description":"Unknown IO ID 45"} 
[2026-08-11 09:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323670272001,"power":13189,"unknown_198":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8906571976003000320}} 
[2026-08-11 09:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":152471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:27:16] local.INFO: GPS data processed {"connection_id":152471,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:27:16] local.INFO: Acknowledgment sent {"connection_id":152471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:27:29] local.INFO: TCP Data received {"connection_id":154803,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:27:29] local.INFO: Processing buffer {"connection_id":154803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:27:29] local.INFO: IMEI packet received {"connection_id":154803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":154803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:27:29] local.INFO: TCP Data received {"connection_id":152080,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef645e8012d840c00060cd0c0000800502b..."} 
[2026-08-11 09:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef645e8012d840c00060cd0c0000800502b..."} 
[2026-08-11 09:27:29] local.INFO: Processing buffer {"connection_id":152080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef645e8012d840c00060cd0c0000800502b..."} 
[2026-08-11 09:27:29] local.INFO: Packet analysis {"connection_id":152080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef6"} 
[2026-08-11 09:27:29] local.INFO: Extracted packet for processing {"connection_id":152080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef6"} 
[2026-08-11 09:27:29] local.INFO: GPS Element Parsed {"raw_longitude":763628544,"raw_latitude":101503168,"longitude_deg":76.3628544,"latitude_deg":10.1503168,"altitude":8,"angle":80,"satellites":43,"speed":41,"hex_longitude":"2d840c00","hex_latitude":"060cd0c0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323657216001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377235833830244352,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8941897034159716352,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786420545000,"timestamp_ms":1786420545000,"timestamp_seconds":1786420545,"priority":1,"record_length":96,"hex_timestamp":"0000019feef645e8"} 
[2026-08-11 09:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 09:27:29] 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-08-11 09: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-08-11 09:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:27:29] 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-08-11 09:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323657216001,"66":27821,"162":206,"87":10496,"24":41,"16":377235833830244352,"45":-8941897034159716352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,87,24,16,45]} 
[2026-08-11 09:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323657216001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:27:29] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-11 09:27:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377235833830244352,"km_value":377235833830244.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8941897034159716352,"description":"Unknown IO ID 45"} 
[2026-08-11 09:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323657216001,"power":27821,"unknown_162":206,"unknown_87":10496,"ignition":41,"odometer":null,"unknown_45":-8941897034159716352}} 
[2026-08-11 09:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":152080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:27:29] local.INFO: GPS data processed {"connection_id":152080,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:27:29] local.INFO: Acknowledgment sent {"connection_id":152080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:27:30] local.INFO: TCP Data received {"connection_id":154803,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:27:30] local.INFO: Processing buffer {"connection_id":154803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:27:30] local.INFO: IMEI packet received {"connection_id":154803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":154803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:27:33] local.INFO: TCP Data received {"connection_id":153428,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:27:33] local.INFO: Processing buffer {"connection_id":153428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:27:33] local.INFO: IMEI packet received {"connection_id":153428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":153428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:27:33] local.INFO: TCP Data received {"connection_id":154803,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:27:33] local.INFO: Processing buffer {"connection_id":154803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:27:33] local.INFO: IMEI packet received {"connection_id":154803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":154803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:27:34] local.INFO: TCP Data received {"connection_id":154803,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:27:34] local.INFO: Processing buffer {"connection_id":154803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:27:34] local.INFO: IMEI packet received {"connection_id":154803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":154803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:27:34] local.INFO: TCP Data received {"connection_id":153428,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:27:34] local.INFO: Processing buffer {"connection_id":153428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:27:34] local.INFO: IMEI packet received {"connection_id":153428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":153428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:27:34] local.INFO: TCP Data received {"connection_id":154803,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef76310012d0b89800704ba80001900661d..."} 
[2026-08-11 09:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef76310012d0b89800704ba80001900661d..."} 
[2026-08-11 09:27:34] local.INFO: Processing buffer {"connection_id":154803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef76310012d0b89800704ba80001900661d..."} 
[2026-08-11 09:27:34] local.INFO: Packet analysis {"connection_id":154803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:27:34] local.INFO: Extracted packet for processing {"connection_id":154803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:27:34] local.INFO: GPS Element Parsed {"raw_longitude":755730816,"raw_latitude":117750400,"longitude_deg":75.5730816,"latitude_deg":11.77504,"altitude":25,"angle":102,"satellites":29,"speed":31,"hex_longitude":"2d0b8980","hex_latitude":"0704ba80","is_valid_coordinates":true} 
[2026-08-11 09:27: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-08-11 09:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323677440001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27575115969462272,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829014205301360640,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786420618000,"timestamp_ms":1786420618000,"timestamp_seconds":1786420618,"priority":1,"record_length":96,"hex_timestamp":"0000019feef76310"} 
[2026-08-11 09:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:27:34] 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-08-11 09:27: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-11 09:27:34] 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-08-11 09:27: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-08-11 09:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":154803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":154803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":154803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323677440001,"66":14135,"96":206,"94":10240,"24":31,"16":27575115969462272,"45":829014205301360640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 09:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323677440001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:27:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 09:27:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27575115969462272,"km_value":27575115969462.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":829014205301360640,"description":"Unknown IO ID 45"} 
[2026-08-11 09:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323677440001,"power":14135,"unknown_96":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":829014205301360640}} 
[2026-08-11 09:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":154803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624213,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:27:34] local.INFO: GPS data processed {"connection_id":154803,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:27:34] local.INFO: Acknowledgment sent {"connection_id":154803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:27:38] local.INFO: TCP Data received {"connection_id":153428,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:27:38] local.INFO: Processing buffer {"connection_id":153428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:27:38] local.INFO: IMEI packet received {"connection_id":153428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":153428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:27:39] local.INFO: TCP Data received {"connection_id":154803,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef76ae0012d0b90c00704b9d8001a005a1d..."} 
[2026-08-11 09:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef76ae0012d0b90c00704b9d8001a005a1d..."} 
[2026-08-11 09:27:39] local.INFO: Processing buffer {"connection_id":154803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef76ae0012d0b90c00704b9d8001a005a1d..."} 
[2026-08-11 09:27:39] local.INFO: Packet analysis {"connection_id":154803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:27:39] local.INFO: Extracted packet for processing {"connection_id":154803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:27:39] local.INFO: GPS Element Parsed {"raw_longitude":755732672,"raw_latitude":117750232,"longitude_deg":75.5732672,"latitude_deg":11.7750232,"altitude":26,"angle":90,"satellites":29,"speed":37,"hex_longitude":"2d0b90c0","hex_latitude":"0704b9d8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 09:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323678208001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27575206163775488,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":831336373859024896,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786420620000,"timestamp_ms":1786420620000,"timestamp_seconds":1786420620,"priority":1,"record_length":96,"hex_timestamp":"0000019feef76ae0"} 
[2026-08-11 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-08-11 09:27:39] 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-08-11 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-11 09:27:39] 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-08-11 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-08-11 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-08-11 09:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323678208001,"66":14515,"96":206,"94":10240,"24":37,"16":27575206163775488,"45":831336373859024896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 09:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323678208001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:27:39] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 09:27:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27575206163775488,"km_value":27575206163775.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":831336373859024896,"description":"Unknown IO ID 45"} 
[2026-08-11 09:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323678208001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":831336373859024896}} 
[2026-08-11 09:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":154803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624214,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:27:39] local.INFO: GPS data processed {"connection_id":154803,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:27:39] local.INFO: Acknowledgment sent {"connection_id":154803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:27:40] local.INFO: TCP Data received {"connection_id":153428,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef73c00012d7be04005ec2f300010004d2b..."} 
[2026-08-11 09:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef73c00012d7be04005ec2f300010004d2b..."} 
[2026-08-11 09:27:40] local.INFO: Processing buffer {"connection_id":153428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef73c00012d7be04005ec2f300010004d2b..."} 
[2026-08-11 09:27:40] local.INFO: Packet analysis {"connection_id":153428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:27:40] local.INFO: Extracted packet for processing {"connection_id":153428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763093056,"raw_latitude":99364656,"longitude_deg":76.3093056,"latitude_deg":9.9364656,"altitude":16,"angle":77,"satellites":43,"speed":23,"hex_longitude":"2d7be040","hex_latitude":"05ec2f30","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323672832001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117602114439479296,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916001387723458560,"note":"Value kept but may cause issues"} 
[2026-08-11 09:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786420608000,"timestamp_ms":1786420608000,"timestamp_seconds":1786420608,"priority":1,"record_length":96,"hex_timestamp":"0000019feef73c00"} 
[2026-08-11 09:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:27:40] 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-08-11 09: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 09:27:40] 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-08-11 09: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-08-11 09:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323672832001,"66":13059,"198":206,"87":13824,"24":23,"16":117602114439479296,"45":8916001387723458560},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 09:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323672832001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:27:40] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 09:27:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117602114439479296,"km_value":117602114439479.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916001387723458560,"description":"Unknown IO ID 45"} 
[2026-08-11 09:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323672832001,"power":13059,"unknown_198":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8916001387723458560}} 
[2026-08-11 09:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":153428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:27:40] local.INFO: GPS data processed {"connection_id":153428,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:27:40] local.INFO: Acknowledgment sent {"connection_id":153428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:28:05] local.INFO: TCP Data received {"connection_id":152081,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:28:05] local.INFO: Processing buffer {"connection_id":152081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:28:05] local.INFO: IMEI packet received {"connection_id":152081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":152081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:28:05] local.INFO: TCP Data received {"connection_id":152081,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:28:05] local.INFO: Processing buffer {"connection_id":152081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:28:05] local.INFO: IMEI packet received {"connection_id":152081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":152081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:28:06] local.INFO: TCP Data received {"connection_id":152081,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef76ae0012d854a00060d36a8000a003f2e..."} 
[2026-08-11 09:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef76ae0012d854a00060d36a8000a003f2e..."} 
[2026-08-11 09:28:06] local.INFO: Processing buffer {"connection_id":152081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef76ae0012d854a00060d36a8000a003f2e..."} 
[2026-08-11 09:28:06] local.INFO: Packet analysis {"connection_id":152081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:28:06] local.INFO: Extracted packet for processing {"connection_id":152081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763709952,"raw_latitude":101529256,"longitude_deg":76.3709952,"latitude_deg":10.1529256,"altitude":10,"angle":63,"satellites":46,"speed":51,"hex_longitude":"2d854a00","hex_latitude":"060d36a8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323677440001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377240124502573056,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8848306604397238272,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786420620000,"timestamp_ms":1786420620000,"timestamp_seconds":1786420620,"priority":1,"record_length":96,"hex_timestamp":"0000019feef76ae0"} 
[2026-08-11 09:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 09:28: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-08-11 09: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-08-11 09:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:28: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-08-11 09:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323677440001,"66":27995,"161":206,"87":10496,"24":51,"16":377240124502573056,"45":-8848306604397238272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-11 09:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323677440001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:28:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-11 09:28:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377240124502573056,"km_value":377240124502573.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8848306604397238272,"description":"Unknown IO ID 45"} 
[2026-08-11 09:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323677440001,"power":27995,"unknown_161":206,"unknown_87":10496,"ignition":51,"odometer":null,"unknown_45":-8848306604397238272}} 
[2026-08-11 09:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":152081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:28:06] local.INFO: GPS data processed {"connection_id":152081,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:28:06] local.INFO: Acknowledgment sent {"connection_id":152081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:28:07] local.INFO: TCP Data received {"connection_id":152081,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef78250012d856640060d40d8000a004c2e..."} 
[2026-08-11 09:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef78250012d856640060d40d8000a004c2e..."} 
[2026-08-11 09:28:07] local.INFO: Processing buffer {"connection_id":152081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef78250012d856640060d40d8000a004c2e..."} 
[2026-08-11 09:28:07] local.INFO: Packet analysis {"connection_id":152081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:28:07] local.INFO: Extracted packet for processing {"connection_id":152081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763717184,"raw_latitude":101531864,"longitude_deg":76.3717184,"latitude_deg":10.1531864,"altitude":10,"angle":76,"satellites":46,"speed":50,"hex_longitude":"2d856640","hex_latitude":"060d40d8","is_valid_coordinates":true} 
[2026-08-11 09:28: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-08-11 09:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323678720001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377240493869760512,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8842254892397058048,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786420626000,"timestamp_ms":1786420626000,"timestamp_seconds":1786420626,"priority":1,"record_length":96,"hex_timestamp":"0000019feef78250"} 
[2026-08-11 09:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:28: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 09:28:07] 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-08-11 09:28: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-08-11 09:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:28:07] 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-08-11 09:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323678720001,"66":27919,"161":206,"87":10496,"24":50,"16":377240493869760512,"45":-8842254892397058048},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-11 09:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323678720001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:28:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-11 09:28:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377240493869760512,"km_value":377240493869760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8842254892397058048,"description":"Unknown IO ID 45"} 
[2026-08-11 09:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323678720001,"power":27919,"unknown_161":206,"unknown_87":10496,"ignition":50,"odometer":null,"unknown_45":-8842254892397058048}} 
[2026-08-11 09:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":152081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:28:07] local.INFO: GPS data processed {"connection_id":152081,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:28:07] local.INFO: Acknowledgment sent {"connection_id":152081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:28:14] local.INFO: TCP Data received {"connection_id":153428,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef78a20012d7bf64005ec3300000f00532b..."} 
[2026-08-11 09:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef78a20012d7bf64005ec3300000f00532b..."} 
[2026-08-11 09:28:14] local.INFO: Processing buffer {"connection_id":153428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef78a20012d7bf64005ec3300000f00532b..."} 
[2026-08-11 09:28:14] local.INFO: Packet analysis {"connection_id":153428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:28:14] local.INFO: Extracted packet for processing {"connection_id":153428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:28:14] local.INFO: GPS Element Parsed {"raw_longitude":763098688,"raw_latitude":99365632,"longitude_deg":76.3098688,"latitude_deg":9.9365632,"altitude":15,"angle":83,"satellites":43,"speed":19,"hex_longitude":"2d7bf640","hex_latitude":"05ec3300","is_valid_coordinates":true} 
[2026-08-11 09:28: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-08-11 09:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323675648001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117602389317386240,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926204855629852672,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786420628000,"timestamp_ms":1786420628000,"timestamp_seconds":1786420628,"priority":1,"record_length":96,"hex_timestamp":"0000019feef78a20"} 
[2026-08-11 09:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:28:14] 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-08-11 09:28: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 09:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163734281540,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4009100160,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147273422,"corrected_to":0} 
[2026-08-11 09:28:14] local.WARNING: Large IO value detected {"io_id":238,"raw_value":4136896513,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:14] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2684431739,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:14] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040068,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:14] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3430547456,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3957831680,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:14] local.WARNING: Large IO value detected {"io_id":99,"raw_value":58079734643818525,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:14] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,198,87,24,241,157,16,206,159,17,45,37,15,42,10,66,233,128,27,98,205,194,64,1,240,85,227,238,236,4,113,29,81,52,216,43,239,51,2,161,5,13,99],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1147273422,"validated":0}]} 
[2026-08-11 09:28:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153006351687286784,"timestamp_seconds":1153006351687286.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 09:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323675648001,"66":12950,"198":206,"87":13824,"24":19,"16":117602389317386240,"45":8926204855629852672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 09:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323675648001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:28:14] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 09:28:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117602389317386240,"km_value":117602389317386.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926204855629852672,"description":"Unknown IO ID 45"} 
[2026-08-11 09:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323675648001,"power":12950,"unknown_198":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8926204855629852672}} 
[2026-08-11 09:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":153428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:28:14] local.INFO: GPS data processed {"connection_id":153428,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:28:14] local.INFO: Acknowledgment sent {"connection_id":153428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:28:28] local.INFO: TCP Data received {"connection_id":154803,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef864e0012d0bc80007052d68001d00361e..."} 
[2026-08-11 09:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef864e0012d0bc80007052d68001d00361e..."} 
[2026-08-11 09:28:28] local.INFO: Processing buffer {"connection_id":154803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef864e0012d0bc80007052d68001d00361e..."} 
[2026-08-11 09:28:28] local.INFO: Packet analysis {"connection_id":154803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef8"} 
[2026-08-11 09:28:28] local.INFO: Extracted packet for processing {"connection_id":154803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef8"} 
[2026-08-11 09:28:28] local.INFO: GPS Element Parsed {"raw_longitude":755746816,"raw_latitude":117779816,"longitude_deg":75.5746816,"latitude_deg":11.7779816,"altitude":29,"angle":54,"satellites":30,"speed":8,"hex_longitude":"2d0bc800","hex_latitude":"07052d68","is_valid_coordinates":true} 
[2026-08-11 09:28: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-08-11 09:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323694336001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27577194733633536,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848013766236600320,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786420684000,"timestamp_ms":1786420684000,"timestamp_seconds":1786420684,"priority":1,"record_length":96,"hex_timestamp":"0000019feef864e0"} 
[2026-08-11 09:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:28:28] 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-08-11 09:28: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":114,"data_length":795,"current_offset":136} 
[2026-08-11 09:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:28: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-08-11 09:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":154803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":154803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":154803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323694336001,"66":14548,"97":206,"94":10240,"24":8,"16":27577194733633536,"45":848013766236600320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,94,24,16,45]} 
[2026-08-11 09:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323694336001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:28:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 09:28:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27577194733633536,"km_value":27577194733633.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":848013766236600320,"description":"Unknown IO ID 45"} 
[2026-08-11 09:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323694336001,"power":14548,"unknown_97":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":848013766236600320}} 
[2026-08-11 09:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":154803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624219,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:28:29] local.INFO: GPS data processed {"connection_id":154803,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:28:29] local.INFO: Acknowledgment sent {"connection_id":154803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:28:34] local.INFO: TCP Data received {"connection_id":154804,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:28:34] local.INFO: Processing buffer {"connection_id":154804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:28:34] local.INFO: IMEI packet received {"connection_id":154804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":154804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:28:34] local.INFO: TCP Data received {"connection_id":154804,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:28:34] local.INFO: Processing buffer {"connection_id":154804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:28:34] local.INFO: IMEI packet received {"connection_id":154804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":154804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:28:35] local.INFO: TCP Data received {"connection_id":154805,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:28:35] local.INFO: Processing buffer {"connection_id":154805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:28:35] local.INFO: IMEI packet received {"connection_id":154805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":154805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:28:38] local.INFO: TCP Data received {"connection_id":154804,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:28:38] local.INFO: Processing buffer {"connection_id":154804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:28:38] local.INFO: IMEI packet received {"connection_id":154804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":154804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:28:38] local.INFO: TCP Data received {"connection_id":154805,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:28:38] local.INFO: Processing buffer {"connection_id":154805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:28:38] local.INFO: IMEI packet received {"connection_id":154805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":154805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:28:38] local.INFO: TCP Data received {"connection_id":152081,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef7a190012d858dc0060d4780000900502d..."} 
[2026-08-11 09:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef7a190012d858dc0060d4780000900502d..."} 
[2026-08-11 09:28:38] local.INFO: Processing buffer {"connection_id":152081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef7a190012d858dc0060d4780000900502d..."} 
[2026-08-11 09:28:38] local.INFO: Packet analysis {"connection_id":152081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:28:38] local.INFO: Extracted packet for processing {"connection_id":152081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763727296,"raw_latitude":101533568,"longitude_deg":76.3727296,"latitude_deg":10.1533568,"altitude":9,"angle":80,"satellites":45,"speed":50,"hex_longitude":"2d858dc0","hex_latitude":"060d4780","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323680256001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377240983496032256,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8834303224304314368,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786420634000,"timestamp_ms":1786420634000,"timestamp_seconds":1786420634,"priority":1,"record_length":96,"hex_timestamp":"0000019feef7a190"} 
[2026-08-11 09:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 09:28: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-08-11 09: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-08-11 09:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:28:38] 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-08-11 09:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323680256001,"66":27974,"161":206,"87":10496,"24":50,"16":377240983496032256,"45":-8834303224304314368},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-11 09:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323680256001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:28:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-11 09:28:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377240983496032256,"km_value":377240983496032.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8834303224304314368,"description":"Unknown IO ID 45"} 
[2026-08-11 09:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323680256001,"power":27974,"unknown_161":206,"unknown_87":10496,"ignition":50,"odometer":null,"unknown_45":-8834303224304314368}} 
[2026-08-11 09:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":152081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:28:38] local.INFO: GPS data processed {"connection_id":152081,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:28:38] local.INFO: Acknowledgment sent {"connection_id":152081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:28:39] local.INFO: TCP Data received {"connection_id":154804,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef868c8012d0bc8c007052e38001d001c1e..."} 
[2026-08-11 09:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef868c8012d0bc8c007052e38001d001c1e..."} 
[2026-08-11 09:28:39] local.INFO: Processing buffer {"connection_id":154804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef868c8012d0bc8c007052e38001d001c1e..."} 
[2026-08-11 09:28:39] local.INFO: Packet analysis {"connection_id":154804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef8"} 
[2026-08-11 09:28:39] local.INFO: Extracted packet for processing {"connection_id":154804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef8"} 
[2026-08-11 09:28:39] local.INFO: GPS Element Parsed {"raw_longitude":755747008,"raw_latitude":117780024,"longitude_deg":75.5747008,"latitude_deg":11.7780024,"altitude":29,"angle":28,"satellites":30,"speed":7,"hex_longitude":"2d0bc8c0","hex_latitude":"07052e38","is_valid_coordinates":true} 
[2026-08-11 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-08-11 09:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323695104001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27577207618535424,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848928559910971392,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786420685000,"timestamp_ms":1786420685000,"timestamp_seconds":1786420685,"priority":1,"record_length":96,"hex_timestamp":"0000019feef868c8"} 
[2026-08-11 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-08-11 09:28:39] 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-08-11 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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 09:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 09:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323695104001,"66":14439,"97":206,"94":10240,"24":7,"16":27577207618535424,"45":848928559910971392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,94,24,16,45]} 
[2026-08-11 09:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323695104001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:28:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 09:28:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27577207618535424,"km_value":27577207618535.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":848928559910971392,"description":"Unknown IO ID 45"} 
[2026-08-11 09:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323695104001,"power":14439,"unknown_97":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":848928559910971392}} 
[2026-08-11 09:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":154804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624221,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:28:39] local.INFO: GPS data processed {"connection_id":154804,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:28:39] local.INFO: Acknowledgment sent {"connection_id":154804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:28:43] local.INFO: TCP Data received {"connection_id":154805,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:28:43] local.INFO: Processing buffer {"connection_id":154805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:28:43] local.INFO: IMEI packet received {"connection_id":154805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":154805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:28:44] local.INFO: TCP Data received {"connection_id":154805,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef7bce8012d7c1a4005ec3598000f00582c..."} 
[2026-08-11 09:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef7bce8012d7c1a4005ec3598000f00582c..."} 
[2026-08-11 09:28:44] local.INFO: Processing buffer {"connection_id":154805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef7bce8012d7c1a4005ec3598000f00582c..."} 
[2026-08-11 09:28:44] local.INFO: Packet analysis {"connection_id":154805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:28:44] local.INFO: Extracted packet for processing {"connection_id":154805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:28:44] local.INFO: GPS Element Parsed {"raw_longitude":763107904,"raw_latitude":99366296,"longitude_deg":76.3107904,"latitude_deg":9.9366296,"altitude":15,"angle":88,"satellites":44,"speed":36,"hex_longitude":"2d7c1a40","hex_latitude":"05ec3598","is_valid_coordinates":true} 
[2026-08-11 09:28: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-08-11 09:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323680768001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117602831699017728,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932397305117736960,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786420641000,"timestamp_ms":1786420641000,"timestamp_seconds":1786420641,"priority":1,"record_length":96,"hex_timestamp":"0000019feef7bce8"} 
[2026-08-11 09:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:28:44] 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-08-11 09:28: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 09:28:44] 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-08-11 09:28: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-08-11 09:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323680768001,"66":13254,"198":206,"87":13824,"24":36,"16":117602831699017728,"45":8932397305117736960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 09:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323680768001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:28:44] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 09:28:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117602831699017728,"km_value":117602831699017.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932397305117736960,"description":"Unknown IO ID 45"} 
[2026-08-11 09:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323680768001,"power":13254,"unknown_198":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8932397305117736960}} 
[2026-08-11 09:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":154805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:28:44] local.INFO: GPS data processed {"connection_id":154805,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:28:44] local.INFO: Acknowledgment sent {"connection_id":154805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:28:53] local.INFO: TCP Data received {"connection_id":152082,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:28:53] local.INFO: Processing buffer {"connection_id":152082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:28:53] local.INFO: IMEI packet received {"connection_id":152082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":152082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:28:57] local.INFO: TCP Data received {"connection_id":152082,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:28:57] local.INFO: Processing buffer {"connection_id":152082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:28:57] local.INFO: IMEI packet received {"connection_id":152082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":152082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:28:57] local.INFO: TCP Data received {"connection_id":152082,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef7c0d0012d85b3c0060d4dc8000900502e..."} 
[2026-08-11 09:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef7c0d0012d85b3c0060d4dc8000900502e..."} 
[2026-08-11 09:28:57] local.INFO: Processing buffer {"connection_id":152082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef7c0d0012d85b3c0060d4dc8000900502e..."} 
[2026-08-11 09:28:57] local.INFO: Packet analysis {"connection_id":152082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:28:57] local.INFO: Extracted packet for processing {"connection_id":152082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:28:57] local.INFO: GPS Element Parsed {"raw_longitude":763737024,"raw_latitude":101535176,"longitude_deg":76.3737024,"latitude_deg":10.1535176,"altitude":9,"angle":80,"satellites":46,"speed":48,"hex_longitude":"2d85b3c0","hex_latitude":"060d4dc8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323682304001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377241455942434816,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8823184962723807232,"note":"Value kept but may cause issues"} 
[2026-08-11 09:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786420642000,"timestamp_ms":1786420642000,"timestamp_seconds":1786420642,"priority":1,"record_length":96,"hex_timestamp":"0000019feef7c0d0"} 
[2026-08-11 09:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 09:28:57] 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-08-11 09: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-08-11 09:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:28:57] 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-08-11 09:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323682304001,"66":27908,"161":206,"87":10496,"24":48,"16":377241455942434816,"45":-8823184962723807232},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-11 09:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323682304001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:28:57] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-11 09:28:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377241455942434816,"km_value":377241455942434.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8823184962723807232,"description":"Unknown IO ID 45"} 
[2026-08-11 09:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323682304001,"power":27908,"unknown_161":206,"unknown_87":10496,"ignition":48,"odometer":null,"unknown_45":-8823184962723807232}} 
[2026-08-11 09:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":152082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:28:57] local.INFO: GPS data processed {"connection_id":152082,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:28:57] local.INFO: Acknowledgment sent {"connection_id":152082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:29:00] local.INFO: TCP Data received {"connection_id":154805,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef7e7e0012d7c40c005ec3680000c00582c..."} 
[2026-08-11 09:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef7e7e0012d7c40c005ec3680000c00582c..."} 
[2026-08-11 09:29:00] local.INFO: Processing buffer {"connection_id":154805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef7e7e0012d7c40c005ec3680000c00582c..."} 
[2026-08-11 09:29:00] local.INFO: Packet analysis {"connection_id":154805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:29:00] local.INFO: Extracted packet for processing {"connection_id":154805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763117760,"raw_latitude":99366528,"longitude_deg":76.311776,"latitude_deg":9.9366528,"altitude":12,"angle":88,"satellites":44,"speed":36,"hex_longitude":"2d7c40c0","hex_latitude":"05ec3680","is_valid_coordinates":true} 
[2026-08-11 09:29: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-08-11 09:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323684096001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117603299850452992,"note":"Value kept but may cause issues"} 
[2026-08-11 09:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942530404279490560,"note":"Value kept but may cause issues"} 
[2026-08-11 09:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786420652000,"timestamp_ms":1786420652000,"timestamp_seconds":1786420652,"priority":1,"record_length":96,"hex_timestamp":"0000019feef7e7e0"} 
[2026-08-11 09:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:29:00] 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-08-11 09:29: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 09:29:00] 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-08-11 09:29: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-08-11 09:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":154805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":154805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":154805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323684096001,"66":13091,"198":206,"87":13824,"24":36,"16":117603299850452992,"45":8942530404279490560},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 09:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323684096001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:29:00] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 09:29:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117603299850452992,"km_value":117603299850452.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942530404279490560,"description":"Unknown IO ID 45"} 
[2026-08-11 09:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323684096001,"power":13091,"unknown_198":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8942530404279490560}} 
[2026-08-11 09:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":154805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:29:00] local.INFO: GPS data processed {"connection_id":154805,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:29:00] local.INFO: Acknowledgment sent {"connection_id":154805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:29:29] local.INFO: TCP Data received {"connection_id":152082,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef7e010012d85d880060d5648000900462e..."} 
[2026-08-11 09:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef7e010012d85d880060d5648000900462e..."} 
[2026-08-11 09:29:29] local.INFO: Processing buffer {"connection_id":152082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef7e010012d85d880060d5648000900462e..."} 
[2026-08-11 09:29:29] local.INFO: Packet analysis {"connection_id":152082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:29:29] local.INFO: Extracted packet for processing {"connection_id":152082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 09:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763746432,"raw_latitude":101537352,"longitude_deg":76.3746432,"latitude_deg":10.1537352,"altitude":9,"angle":70,"satellites":46,"speed":47,"hex_longitude":"2d85d880","hex_latitude":"060d5648","is_valid_coordinates":true} 
[2026-08-11 09:29: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-08-11 09:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323684352001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377241915503935488,"note":"Value kept but may cause issues"} 
[2026-08-11 09:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8812488913608390656,"note":"Value kept but may cause issues"} 
[2026-08-11 09:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786420650000,"timestamp_ms":1786420650000,"timestamp_seconds":1786420650,"priority":1,"record_length":96,"hex_timestamp":"0000019feef7e010"} 
[2026-08-11 09:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:29: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":4,"data_length":795,"current_offset":136} 
[2026-08-11 09:29:29] 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-08-11 09:29: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-08-11 09:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:29:29] 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-08-11 09:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323684352001,"66":27484,"161":206,"87":10496,"24":47,"16":377241915503935488,"45":-8812488913608390656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-11 09:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323684352001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:29:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-11 09:29:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377241915503935488,"km_value":377241915503935.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8812488913608390656,"description":"Unknown IO ID 45"} 
[2026-08-11 09:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323684352001,"power":27484,"unknown_161":206,"unknown_87":10496,"ignition":47,"odometer":null,"unknown_45":-8812488913608390656}} 
[2026-08-11 09:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":152082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:29:29] local.INFO: GPS data processed {"connection_id":152082,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:29:29] local.INFO: Acknowledgment sent {"connection_id":152082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:29:30] local.INFO: TCP Data received {"connection_id":152472,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:29:30] local.INFO: Processing buffer {"connection_id":152472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:29:30] local.INFO: IMEI packet received {"connection_id":152472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":152472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:29:33] local.INFO: TCP Data received {"connection_id":152472,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:29:33] local.INFO: Processing buffer {"connection_id":152472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:29:33] local.INFO: IMEI packet received {"connection_id":152472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":152472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:29:47] local.INFO: TCP Data received {"connection_id":152472,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:29:47] local.INFO: Processing buffer {"connection_id":152472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:29:47] local.INFO: IMEI packet received {"connection_id":152472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":152472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:29:48] local.INFO: TCP Data received {"connection_id":152472,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef95710012d7d3a4005ec3b10000900c829..."} 
[2026-08-11 09:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef95710012d7d3a4005ec3b10000900c829..."} 
[2026-08-11 09:29:48] local.INFO: Processing buffer {"connection_id":152472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef95710012d7d3a4005ec3b10000900c829..."} 
[2026-08-11 09:29:48] local.INFO: Packet analysis {"connection_id":152472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef9"} 
[2026-08-11 09:29:48] local.INFO: Extracted packet for processing {"connection_id":152472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef9"} 
[2026-08-11 09:29:48] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":99367696,"longitude_deg":76.3181632,"latitude_deg":9.9367696,"altitude":9,"angle":200,"satellites":41,"speed":11,"hex_longitude":"2d7d3a40","hex_latitude":"05ec3b10","is_valid_coordinates":true} 
[2026-08-11 09:29: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-08-11 09:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323710720001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117606396521873408,"note":"Value kept but may cause issues"} 
[2026-08-11 09:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665566316765184,"note":"Value kept but may cause issues"} 
[2026-08-11 09:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786420746000,"timestamp_ms":1786420746000,"timestamp_seconds":1786420746,"priority":1,"record_length":96,"hex_timestamp":"0000019feef95710"} 
[2026-08-11 09:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:29:48] 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-08-11 09:29: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":198,"data_length":795,"current_offset":136} 
[2026-08-11 09:29:48] 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-08-11 09:29: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-08-11 09:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323710720001,"66":13254,"110":206,"87":13824,"24":11,"16":117606396521873408,"45":9023665566316765184},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323710720001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:29:48] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:29:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117606396521873408,"km_value":117606396521873.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665566316765184,"description":"Unknown IO ID 45"} 
[2026-08-11 09:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323710720001,"power":13254,"unknown_110":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9023665566316765184}} 
[2026-08-11 09:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":152472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:29:48] local.INFO: GPS data processed {"connection_id":152472,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:29:48] local.INFO: Acknowledgment sent {"connection_id":152472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:29:53] local.INFO: TCP Data received {"connection_id":154806,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:29:53] local.INFO: Processing buffer {"connection_id":154806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:29:53] local.INFO: IMEI packet received {"connection_id":154806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":154806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:29:55] local.INFO: TCP Data received {"connection_id":154806,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:29:55] local.INFO: Processing buffer {"connection_id":154806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:29:55] local.INFO: IMEI packet received {"connection_id":154806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":154806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:29:59] local.INFO: TCP Data received {"connection_id":154806,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:29:59] local.INFO: Processing buffer {"connection_id":154806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:29:59] local.INFO: IMEI packet received {"connection_id":154806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":154806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:30:05] local.INFO: TCP Data received {"connection_id":154804,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019feef86cb0012d0bc90007052f20001d00061e..."} 
[2026-08-11 09:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef86cb0012d0bc90007052f20001d00061e..."} 
[2026-08-11 09:30:05] local.INFO: Processing buffer {"connection_id":154804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef86cb0012d0bc90007052f20001d00061e..."} 
[2026-08-11 09:30:05] local.INFO: Packet analysis {"connection_id":154804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef8"} 
[2026-08-11 09:30:05] local.INFO: Extracted packet for processing {"connection_id":154804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef8"} 
[2026-08-11 09:30:05] local.INFO: GPS Element Parsed {"raw_longitude":755747072,"raw_latitude":117780256,"longitude_deg":75.5747072,"latitude_deg":11.7780256,"altitude":29,"angle":6,"satellites":30,"speed":7,"hex_longitude":"2d0bc900","hex_latitude":"07052f20","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323695360001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27577216208470016,"note":"Value kept but may cause issues"} 
[2026-08-11 09:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849139666143557632,"note":"Value kept but may cause issues"} 
[2026-08-11 09:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786420686000,"timestamp_ms":1786420686000,"timestamp_seconds":1786420686,"priority":1,"record_length":96,"hex_timestamp":"0000019feef86cb0"} 
[2026-08-11 09:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:30:05] 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-08-11 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 09:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323695360001,"66":14439,"97":206,"94":10240,"24":7,"16":27577216208470016,"45":849139666143557632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,94,24,16,45]} 
[2026-08-11 09:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323695360001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:30:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 09:30:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27577216208470016,"km_value":27577216208470.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":849139666143557632,"description":"Unknown IO ID 45"} 
[2026-08-11 09:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323695360001,"power":14439,"unknown_97":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":849139666143557632}} 
[2026-08-11 09:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":154804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624227,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:30:05] local.INFO: GPS data processed {"connection_id":154804,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:30:05] local.INFO: Acknowledgment sent {"connection_id":154804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:30:08] local.INFO: TCP Data received {"connection_id":154806,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef92448012d86ecc0060e1a28001000422e..."} 
[2026-08-11 09:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef92448012d86ecc0060e1a28001000422e..."} 
[2026-08-11 09:30:08] local.INFO: Processing buffer {"connection_id":154806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef92448012d86ecc0060e1a28001000422e..."} 
[2026-08-11 09:30:08] local.INFO: Packet analysis {"connection_id":154806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef9"} 
[2026-08-11 09:30:08] local.INFO: Extracted packet for processing {"connection_id":154806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef9"} 
[2026-08-11 09:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763817152,"raw_latitude":101587496,"longitude_deg":76.3817152,"latitude_deg":10.1587496,"altitude":16,"angle":66,"satellites":46,"speed":49,"hex_longitude":"2d86ecc0","hex_latitude":"060e1a28","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323705600001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377246167521558528,"note":"Value kept but may cause issues"} 
[2026-08-11 09:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8733816657605318656,"note":"Value kept but may cause issues"} 
[2026-08-11 09:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786420733000,"timestamp_ms":1786420733000,"timestamp_seconds":1786420733,"priority":1,"record_length":96,"hex_timestamp":"0000019feef92448"} 
[2026-08-11 09:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 09:30:08] 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-08-11 09: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-08-11 09:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:30:08] 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-08-11 09:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323705600001,"66":27669,"233":206,"87":10496,"24":49,"16":377246167521558528,"45":-8733816657605318656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,87,24,16,45]} 
[2026-08-11 09:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323705600001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:30:08] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-11 09:30:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377246167521558528,"km_value":377246167521558.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8733816657605318656,"description":"Unknown IO ID 45"} 
[2026-08-11 09:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323705600001,"power":27669,"unknown_233":206,"unknown_87":10496,"ignition":49,"odometer":null,"unknown_45":-8733816657605318656}} 
[2026-08-11 09:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":154806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:30:08] local.INFO: GPS data processed {"connection_id":154806,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:30:08] local.INFO: Acknowledgment sent {"connection_id":154806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:30:33] local.INFO: TCP Data received {"connection_id":153429,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:30:33] local.INFO: Processing buffer {"connection_id":153429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:30:33] local.INFO: IMEI packet received {"connection_id":153429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":153429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:30:35] local.INFO: TCP Data received {"connection_id":153429,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:30:35] local.INFO: Processing buffer {"connection_id":153429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:30:35] local.INFO: IMEI packet received {"connection_id":153429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":153429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:30:36] local.INFO: TCP Data received {"connection_id":153429,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feef95ee0012d7d390005ec3908000900df2a..."} 
[2026-08-11 09:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef95ee0012d7d390005ec3908000900df2a..."} 
[2026-08-11 09:30:36] local.INFO: Processing buffer {"connection_id":153429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef95ee0012d7d390005ec3908000900df2a..."} 
[2026-08-11 09:30:36] local.INFO: Packet analysis {"connection_id":153429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef9"} 
[2026-08-11 09:30:36] local.INFO: Extracted packet for processing {"connection_id":153429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef9"} 
[2026-08-11 09:30:36] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":99367176,"longitude_deg":76.3181312,"latitude_deg":9.9367176,"altitude":9,"angle":223,"satellites":42,"speed":12,"hex_longitude":"2d7d3900","hex_latitude":"05ec3908","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323710976001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117606426586644480,"note":"Value kept but may cause issues"} 
[2026-08-11 09:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023595197572517888,"note":"Value kept but may cause issues"} 
[2026-08-11 09:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786420748000,"timestamp_ms":1786420748000,"timestamp_seconds":1786420748,"priority":1,"record_length":96,"hex_timestamp":"0000019feef95ee0"} 
[2026-08-11 09:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:30:36] 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-08-11 09: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 09:30:36] 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-08-11 09: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-08-11 09:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323710976001,"66":12906,"110":206,"87":13824,"24":12,"16":117606426586644480,"45":9023595197572517888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323710976001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:30:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:30:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117606426586644480,"km_value":117606426586644.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023595197572517888,"description":"Unknown IO ID 45"} 
[2026-08-11 09:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323710976001,"power":12906,"unknown_110":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9023595197572517888}} 
[2026-08-11 09:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":153429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:30:36] local.INFO: GPS data processed {"connection_id":153429,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:30:36] local.INFO: Acknowledgment sent {"connection_id":153429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:30:58] local.INFO: TCP Data received {"connection_id":153430,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:30:58] local.INFO: Processing buffer {"connection_id":153430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:30:58] local.INFO: IMEI packet received {"connection_id":153430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":153430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:30:59] local.INFO: TCP Data received {"connection_id":153430,"ip":"42.106.6.28","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 09:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153430,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 09:30:59] local.INFO: Processing buffer {"connection_id":153430,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 09:30:59] local.INFO: IMEI packet received {"connection_id":153430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":153430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:31:02] local.INFO: TCP Data received {"connection_id":153430,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:31:02] local.INFO: Processing buffer {"connection_id":153430,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 09:31:02] local.INFO: IMEI packet received {"connection_id":153430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":153430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:31:06] local.INFO: TCP Data received {"connection_id":153430,"ip":"42.106.6.28","data_length":1348,"data_hex":"000000000000030f8e0a0000019feef94388012d871240060e2748000d00502e..."} 
[2026-08-11 09:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153430,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019feef94388012d871240060e2748000d00502e..."} 
[2026-08-11 09:31:06] local.INFO: Processing buffer {"connection_id":153430,"buffer_length":1365,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fee..."} 
[2026-08-11 09:31:06] local.INFO: IMEI packet received {"connection_id":153430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":153430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:31:08] local.INFO: TCP Data received {"connection_id":153429,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feefaaae8012d7d358005ec11f80002010522..."} 
[2026-08-11 09:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefaaae8012d7d358005ec11f80002010522..."} 
[2026-08-11 09:31:08] local.INFO: Processing buffer {"connection_id":153429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefaaae8012d7d358005ec11f80002010522..."} 
[2026-08-11 09:31:08] local.INFO: Packet analysis {"connection_id":153429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefa"} 
[2026-08-11 09:31:08] local.INFO: Extracted packet for processing {"connection_id":153429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefa"} 
[2026-08-11 09:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99357176,"longitude_deg":76.3180416,"latitude_deg":9.9357176,"altitude":2,"angle":261,"satellites":34,"speed":1,"hex_longitude":"2d7d3580","hex_latitude":"05ec11f8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323729920001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117606950572654592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772639897600,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786420833000,"timestamp_ms":1786420833000,"timestamp_seconds":1786420833,"priority":1,"record_length":96,"hex_timestamp":"0000019feefaaae8"} 
[2026-08-11 09:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:31:08] 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-08-11 09: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-11 09:31:08] 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-08-11 09: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-08-11 09:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323729920001,"66":13298,"110":206,"87":13824,"24":1,"16":117606950572654592,"45":9022750772639897600},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323729920001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:31:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:31:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117606950572654592,"km_value":117606950572654.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772639897600,"description":"Unknown IO ID 45"} 
[2026-08-11 09:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323729920001,"power":13298,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022750772639897600}} 
[2026-08-11 09:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":153429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:31:08] local.INFO: GPS data processed {"connection_id":153429,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:31:08] local.INFO: Acknowledgment sent {"connection_id":153429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:31:09] local.INFO: TCP Data received {"connection_id":153430,"ip":"42.106.6.28","data_length":1037,"data_hex":"0000000000019feef89f78012d8669c0060ddf10000c003a2e002e0000000a00..."} 
[2026-08-11 09:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153430,"packet_length":1037,"packet_hex":"0000000000019feef89f78012d8669c0060ddf10000c003a2e002e0000000a00..."} 
[2026-08-11 09:31:09] local.INFO: Processing buffer {"connection_id":153430,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019feef94388012d871240060e2748000d00502e..."} 
[2026-08-11 09:31:09] local.INFO: Packet analysis {"connection_id":153430,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019feef9"} 
[2026-08-11 09:31:09] local.INFO: Extracted packet for processing {"connection_id":153430,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019feef9"} 
[2026-08-11 09:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763826752,"raw_latitude":101590856,"longitude_deg":76.3826752,"latitude_deg":10.1590856,"altitude":13,"angle":80,"satellites":46,"speed":51,"hex_longitude":"2d871240","hex_latitude":"060e2748","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323707648001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377246657147830272,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8724387245884561408,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786420741000,"timestamp_ms":1786420741000,"timestamp_seconds":1786420741,"priority":1,"record_length":96,"hex_timestamp":"0000019feef94388"} 
[2026-08-11 09:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-08-11 09:31:09] 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-08-11 09: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-08-11 09:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:31: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-08-11 09:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323707648001,"66":27800,"233":206,"87":10496,"24":51,"16":377246657147830272,"45":-8724387245884561408},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,87,24,16,45]} 
[2026-08-11 09:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323707648001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:31:09] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-11 09:31:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377246657147830272,"km_value":377246657147830.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8724387245884561408,"description":"Unknown IO ID 45"} 
[2026-08-11 09:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323707648001,"power":27800,"unknown_233":206,"unknown_87":10496,"ignition":51,"odometer":null,"unknown_45":-8724387245884561408}} 
[2026-08-11 09:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":153430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:31:09] local.INFO: GPS data processed {"connection_id":153430,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:31:09] local.INFO: Acknowledgment sent {"connection_id":153430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:31:09] local.INFO: Packet analysis {"connection_id":153430,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019feef9"} 
[2026-08-11 09:31:09] local.INFO: Extracted packet for processing {"connection_id":153430,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef9"} 
[2026-08-11 09:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763826752,"raw_latitude":101590856,"longitude_deg":76.3826752,"latitude_deg":10.1590856,"altitude":13,"angle":80,"satellites":46,"speed":51,"hex_longitude":"2d871240","hex_latitude":"060e2748","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323709696001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377246657147830272,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8713831934257051648,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786420741000,"timestamp_ms":1786420741000,"timestamp_seconds":1786420741,"priority":1,"record_length":96,"hex_timestamp":"0000019feef94388"} 
[2026-08-11 09:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 09:31: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-08-11 09: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-08-11 09:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:31: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-08-11 09:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323709696001,"66":27800,"233":206,"87":10496,"24":51,"16":377246657147830272,"45":-8713831934257051648},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,87,24,16,45]} 
[2026-08-11 09:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323709696001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:31:09] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-11 09:31:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377246657147830272,"km_value":377246657147830.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8713831934257051648,"description":"Unknown IO ID 45"} 
[2026-08-11 09:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323709696001,"power":27800,"unknown_233":206,"unknown_87":10496,"ignition":51,"odometer":null,"unknown_45":-8713831934257051648}} 
[2026-08-11 09:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":153430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:31:09] local.INFO: GPS data processed {"connection_id":153430,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:31:09] local.INFO: Acknowledgment sent {"connection_id":153430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:31:09] local.INFO: Packet analysis {"connection_id":153430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef9"} 
[2026-08-11 09:31:09] local.INFO: Extracted packet for processing {"connection_id":153430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef9"} 
[2026-08-11 09:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763835648,"raw_latitude":101592160,"longitude_deg":76.3835648,"latitude_deg":10.159216,"altitude":10,"angle":81,"satellites":46,"speed":49,"hex_longitude":"2d873500","hex_latitude":"060e2c60","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323709696001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377247086644559872,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8713831934257051648,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786420748000,"timestamp_ms":1786420748000,"timestamp_seconds":1786420748,"priority":1,"record_length":96,"hex_timestamp":"0000019feef95ee0"} 
[2026-08-11 09:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 09:31: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-08-11 09: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-08-11 09:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:31: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-08-11 09:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323709696001,"66":27843,"233":206,"87":10496,"24":49,"16":377247086644559872,"45":-8713831934257051648},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,87,24,16,45]} 
[2026-08-11 09:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323709696001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:31:09] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-11 09:31:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377247086644559872,"km_value":377247086644559.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8713831934257051648,"description":"Unknown IO ID 45"} 
[2026-08-11 09:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323709696001,"power":27843,"unknown_233":206,"unknown_87":10496,"ignition":49,"odometer":null,"unknown_45":-8713831934257051648}} 
[2026-08-11 09:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":153430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:31:09] local.INFO: GPS data processed {"connection_id":153430,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:31:09] local.INFO: Acknowledgment sent {"connection_id":153430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:31:11] local.INFO: TCP Data received {"connection_id":153430,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feef97e20012d875b80060e3178000900542e..."} 
[2026-08-11 09:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef97e20012d875b80060e3178000900542e..."} 
[2026-08-11 09:31:11] local.INFO: Processing buffer {"connection_id":153430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef97e20012d875b80060e3178000900542e..."} 
[2026-08-11 09:31:11] local.INFO: Packet analysis {"connection_id":153430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef9"} 
[2026-08-11 09:31:11] local.INFO: Extracted packet for processing {"connection_id":153430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef9"} 
[2026-08-11 09:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763845504,"raw_latitude":101593464,"longitude_deg":76.3845504,"latitude_deg":10.1593464,"altitude":9,"angle":84,"satellites":46,"speed":44,"hex_longitude":"2d875b80","hex_latitude":"060e3178","is_valid_coordinates":true} 
[2026-08-11 09:31: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-08-11 09:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323711488001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377247563385929728,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8704050678816022528,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786420756000,"timestamp_ms":1786420756000,"timestamp_seconds":1786420756,"priority":1,"record_length":96,"hex_timestamp":"0000019feef97e20"} 
[2026-08-11 09:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:31: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-08-11 09:31: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-08-11 09:31: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-08-11 09:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:31: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-08-11 09:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323711488001,"66":27821,"233":206,"87":10496,"24":44,"16":377247563385929728,"45":-8704050678816022528},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,87,24,16,45]} 
[2026-08-11 09:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323711488001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:31:11] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-11 09:31:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377247563385929728,"km_value":377247563385929.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8704050678816022528,"description":"Unknown IO ID 45"} 
[2026-08-11 09:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323711488001,"power":27821,"unknown_233":206,"unknown_87":10496,"ignition":44,"odometer":null,"unknown_45":-8704050678816022528}} 
[2026-08-11 09:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":153430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:31:11] local.INFO: GPS data processed {"connection_id":153430,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:31:11] local.INFO: Acknowledgment sent {"connection_id":153430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:31:34] local.INFO: TCP Data received {"connection_id":152084,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:31:34] local.INFO: Processing buffer {"connection_id":152084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:31:34] local.INFO: IMEI packet received {"connection_id":152084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":152084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:31:36] local.INFO: TCP Data received {"connection_id":152084,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:31:36] local.INFO: Processing buffer {"connection_id":152084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:31:36] local.INFO: IMEI packet received {"connection_id":152084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":152084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:31:38] local.INFO: TCP Data received {"connection_id":152084,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:31:38] local.INFO: Processing buffer {"connection_id":152084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:31:38] local.INFO: IMEI packet received {"connection_id":152084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":152084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:31:39] local.INFO: TCP Data received {"connection_id":152084,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feefae580012d7d350005ec1078000200ec21..."} 
[2026-08-11 09:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefae580012d7d350005ec1078000200ec21..."} 
[2026-08-11 09:31:39] local.INFO: Processing buffer {"connection_id":152084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefae580012d7d350005ec1078000200ec21..."} 
[2026-08-11 09:31:39] local.INFO: Packet analysis {"connection_id":152084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefa"} 
[2026-08-11 09:31:39] local.INFO: Extracted packet for processing {"connection_id":152084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefa"} 
[2026-08-11 09:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99356792,"longitude_deg":76.3180288,"latitude_deg":9.9356792,"altitude":2,"angle":236,"satellites":33,"speed":1,"hex_longitude":"2d7d3500","hex_latitude":"05ec1078","is_valid_coordinates":true} 
[2026-08-11 09:31: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-08-11 09:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323733248001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117606972047491072,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430449152,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786420848000,"timestamp_ms":1786420848000,"timestamp_seconds":1786420848,"priority":1,"record_length":96,"hex_timestamp":"0000019feefae580"} 
[2026-08-11 09:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:31:39] 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-08-11 09:31: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-11 09:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:31: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-08-11 09:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323733248001,"66":13102,"110":206,"87":13824,"24":1,"16":117606972047491072,"45":9022258191430449152},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323733248001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:31:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:31:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117606972047491072,"km_value":117606972047491.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430449152,"description":"Unknown IO ID 45"} 
[2026-08-11 09:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323733248001,"power":13102,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022258191430449152}} 
[2026-08-11 09:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":152084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:31:39] local.INFO: GPS data processed {"connection_id":152084,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:31:39] local.INFO: Acknowledgment sent {"connection_id":152084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:31:40] local.INFO: TCP Data received {"connection_id":152084,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feefaf138012d7d34c005ec1018000200a422..."} 
[2026-08-11 09:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefaf138012d7d34c005ec1018000200a422..."} 
[2026-08-11 09:31:40] local.INFO: Processing buffer {"connection_id":152084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefaf138012d7d34c005ec1018000200a422..."} 
[2026-08-11 09:31:40] local.INFO: Packet analysis {"connection_id":152084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefa"} 
[2026-08-11 09:31:40] local.INFO: Extracted packet for processing {"connection_id":152084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefa"} 
[2026-08-11 09:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":99356696,"longitude_deg":76.3180224,"latitude_deg":9.9356696,"altitude":2,"angle":164,"satellites":34,"speed":0,"hex_longitude":"2d7d34c0","hex_latitude":"05ec1018","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323737088001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117606976342458368,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941995520,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786420851000,"timestamp_ms":1786420851000,"timestamp_seconds":1786420851,"priority":1,"record_length":96,"hex_timestamp":"0000019feefaf138"} 
[2026-08-11 09:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:31:40] 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-08-11 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 09:31:40] 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-08-11 09: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-08-11 09:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323737088001,"66":13243,"110":206,"87":13824,"24":0,"16":117606976342458368,"45":9022117453941995520},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323737088001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:31:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:31:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117606976342458368,"km_value":117606976342458.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941995520,"description":"Unknown IO ID 45"} 
[2026-08-11 09:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323737088001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941995520}} 
[2026-08-11 09:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":152084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:31:41] local.INFO: GPS data processed {"connection_id":152084,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:31:41] local.INFO: Acknowledgment sent {"connection_id":152084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:31:53] local.INFO: TCP Data received {"connection_id":152473,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:31:53] local.INFO: Processing buffer {"connection_id":152473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:31:53] local.INFO: IMEI packet received {"connection_id":152473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":152473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:31:57] local.INFO: TCP Data received {"connection_id":152473,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:31:57] local.INFO: Processing buffer {"connection_id":152473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:31:57] local.INFO: IMEI packet received {"connection_id":152473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":152473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:31:58] local.INFO: TCP Data received {"connection_id":152473,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feefae968012d8868c0060e44d8000c000b2c..."} 
[2026-08-11 09:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefae968012d8868c0060e44d8000c000b2c..."} 
[2026-08-11 09:31:58] local.INFO: Processing buffer {"connection_id":152473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefae968012d8868c0060e44d8000c000b2c..."} 
[2026-08-11 09:31:58] local.INFO: Packet analysis {"connection_id":152473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefa"} 
[2026-08-11 09:31:58] local.INFO: Extracted packet for processing {"connection_id":152473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefa"} 
[2026-08-11 09:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763914432,"raw_latitude":101598424,"longitude_deg":76.3914432,"latitude_deg":10.1598424,"altitude":12,"angle":11,"satellites":44,"speed":24,"hex_longitude":"2d8868c0","hex_latitude":"060e44d8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323737088001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377250900575518720,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8617708229708568576,"note":"Value kept but may cause issues"} 
[2026-08-11 09:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786420849000,"timestamp_ms":1786420849000,"timestamp_seconds":1786420849,"priority":1,"record_length":96,"hex_timestamp":"0000019feefae968"} 
[2026-08-11 09:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 09:31:58] 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-08-11 09: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-08-11 09:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:31:58] 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-08-11 09:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323737088001,"66":27865,"159":206,"87":10496,"24":24,"16":377250900575518720,"45":-8617708229708568576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,87,24,16,45]} 
[2026-08-11 09:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323737088001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:31:58] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-11 09:31:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377250900575518720,"km_value":377250900575518.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8617708229708568576,"description":"Unknown IO ID 45"} 
[2026-08-11 09:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323737088001,"power":27865,"unknown_159":206,"unknown_87":10496,"ignition":24,"odometer":null,"unknown_45":-8617708229708568576}} 
[2026-08-11 09:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":152473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:31:58] local.INFO: GPS data processed {"connection_id":152473,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:31:58] local.INFO: Acknowledgment sent {"connection_id":152473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:32:09] local.INFO: TCP Data received {"connection_id":154807,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:32:09] local.INFO: Processing buffer {"connection_id":154807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:32:09] local.INFO: IMEI packet received {"connection_id":154807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":154807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:32:10] local.INFO: TCP Data received {"connection_id":154807,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:32:10] local.INFO: Processing buffer {"connection_id":154807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:32:10] local.INFO: IMEI packet received {"connection_id":154807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":154807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:32:12] local.INFO: TCP Data received {"connection_id":154807,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:32:12] local.INFO: Processing buffer {"connection_id":154807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:32:12] local.INFO: IMEI packet received {"connection_id":154807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":154807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:32:12] local.INFO: TCP Data received {"connection_id":152084,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feefb3f58012d7d34c005ec0fb00002009d23..."} 
[2026-08-11 09:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefb3f58012d7d34c005ec0fb00002009d23..."} 
[2026-08-11 09:32:12] local.INFO: Processing buffer {"connection_id":152084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefb3f58012d7d34c005ec0fb00002009d23..."} 
[2026-08-11 09:32:12] local.INFO: Packet analysis {"connection_id":152084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefb"} 
[2026-08-11 09:32:12] local.INFO: Extracted packet for processing {"connection_id":152084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefb"} 
[2026-08-11 09:32:12] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":99356592,"longitude_deg":76.3180224,"latitude_deg":9.9356592,"altitude":2,"angle":157,"satellites":35,"speed":0,"hex_longitude":"2d7d34c0","hex_latitude":"05ec0fb0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323737856001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117606984932392960,"note":"Value kept but may cause issues"} 
[2026-08-11 09:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047085197793280,"note":"Value kept but may cause issues"} 
[2026-08-11 09:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786420871000,"timestamp_ms":1786420871000,"timestamp_seconds":1786420871,"priority":1,"record_length":96,"hex_timestamp":"0000019feefb3f58"} 
[2026-08-11 09:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:32:12] 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-08-11 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 09:32:12] 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-08-11 09: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-08-11 09:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323737856001,"66":13352,"109":206,"87":13824,"24":0,"16":117606984932392960,"45":9022047085197793280},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323737856001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:32:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:32:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117606984932392960,"km_value":117606984932392.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047085197793280,"description":"Unknown IO ID 45"} 
[2026-08-11 09:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323737856001,"power":13352,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022047085197793280}} 
[2026-08-11 09:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":152084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:32:12] local.INFO: GPS data processed {"connection_id":152084,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:32:12] local.INFO: Acknowledgment sent {"connection_id":152084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:32:29] local.INFO: TCP Data received {"connection_id":152473,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feefaf138012d886900060e49a0000c01642c..."} 
[2026-08-11 09:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefaf138012d886900060e49a0000c01642c..."} 
[2026-08-11 09:32:29] local.INFO: Processing buffer {"connection_id":152473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefaf138012d886900060e49a0000c01642c..."} 
[2026-08-11 09:32:29] local.INFO: Packet analysis {"connection_id":152473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefa"} 
[2026-08-11 09:32:29] local.INFO: Extracted packet for processing {"connection_id":152473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefa"} 
[2026-08-11 09:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763914496,"raw_latitude":101599648,"longitude_deg":76.3914496,"latitude_deg":10.1599648,"altitude":12,"angle":356,"satellites":44,"speed":24,"hex_longitude":"2d886900","hex_latitude":"060e49a0","is_valid_coordinates":true} 
[2026-08-11 09:32: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-08-11 09:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323737344001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377250960705060864,"note":"Value kept but may cause issues"} 
[2026-08-11 09:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8617426754731714560,"note":"Value kept but may cause issues"} 
[2026-08-11 09:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786420851000,"timestamp_ms":1786420851000,"timestamp_seconds":1786420851,"priority":1,"record_length":96,"hex_timestamp":"0000019feefaf138"} 
[2026-08-11 09:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:32: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 09:32:29] 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-08-11 09:32: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-08-11 09:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:32:29] 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-08-11 09:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323737344001,"66":27821,"159":206,"87":10496,"24":24,"16":377250960705060864,"45":-8617426754731714560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,87,24,16,45]} 
[2026-08-11 09:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323737344001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:32:29] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-11 09:32:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377250960705060864,"km_value":377250960705060.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8617426754731714560,"description":"Unknown IO ID 45"} 
[2026-08-11 09:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323737344001,"power":27821,"unknown_159":206,"unknown_87":10496,"ignition":24,"odometer":null,"unknown_45":-8617426754731714560}} 
[2026-08-11 09:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":152473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:32:29] local.INFO: GPS data processed {"connection_id":152473,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:32:29] local.INFO: Acknowledgment sent {"connection_id":152473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:32:32] local.INFO: TCP Data received {"connection_id":153431,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:32:32] local.INFO: Processing buffer {"connection_id":153431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:32:32] local.INFO: IMEI packet received {"connection_id":153431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":153431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:32:33] local.INFO: TCP Data received {"connection_id":153431,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:32:33] local.INFO: Processing buffer {"connection_id":153431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:32:33] local.INFO: IMEI packet received {"connection_id":153431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":153431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:32:38] local.INFO: TCP Data received {"connection_id":153431,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:32:38] local.INFO: Processing buffer {"connection_id":153431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:32:38] local.INFO: IMEI packet received {"connection_id":153431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":153431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:32:39] local.INFO: TCP Data received {"connection_id":153431,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feefc4510012d7d360005ec12900002002f1f..."} 
[2026-08-11 09:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefc4510012d7d360005ec12900002002f1f..."} 
[2026-08-11 09:32:39] local.INFO: Processing buffer {"connection_id":153431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefc4510012d7d360005ec12900002002f1f..."} 
[2026-08-11 09:32:39] local.INFO: Packet analysis {"connection_id":153431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:32:39] local.INFO: Extracted packet for processing {"connection_id":153431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99357328,"longitude_deg":76.3180544,"latitude_deg":9.9357328,"altitude":2,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec1290","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323759616001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607053651869696,"note":"Value kept but may cause issues"} 
[2026-08-11 09:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174649344,"note":"Value kept but may cause issues"} 
[2026-08-11 09:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786420938000,"timestamp_ms":1786420938000,"timestamp_seconds":1786420938,"priority":1,"record_length":96,"hex_timestamp":"0000019feefc4510"} 
[2026-08-11 09:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:32:39] 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-08-11 09: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-11 09:32:39] 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-08-11 09: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-08-11 09:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323759616001,"66":13080,"110":206,"87":13824,"24":0,"16":117607053651869696,"45":9022328560174649344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323759616001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:32:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:32:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607053651869696,"km_value":117607053651869.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174649344,"description":"Unknown IO ID 45"} 
[2026-08-11 09:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323759616001,"power":13080,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174649344}} 
[2026-08-11 09:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":153431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:32:39] local.INFO: GPS data processed {"connection_id":153431,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:32:39] local.INFO: Acknowledgment sent {"connection_id":153431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:32:44] local.INFO: TCP Data received {"connection_id":152085,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152085,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:32:44] local.INFO: Processing buffer {"connection_id":152085,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:32:44] local.INFO: IMEI packet received {"connection_id":152085,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":152085,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:32:53] local.INFO: TCP Data received {"connection_id":154808,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:32:53] local.INFO: Processing buffer {"connection_id":154808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:32:53] local.INFO: IMEI packet received {"connection_id":154808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":154808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:32:56] local.INFO: TCP Data received {"connection_id":154808,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:32:56] local.INFO: Processing buffer {"connection_id":154808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:32:56] local.INFO: IMEI packet received {"connection_id":154808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":154808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:32:57] local.INFO: TCP Data received {"connection_id":154808,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feefbdb98012d88d2c0060e80a0000b004e2c..."} 
[2026-08-11 09:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefbdb98012d88d2c0060e80a0000b004e2c..."} 
[2026-08-11 09:32:57] local.INFO: Processing buffer {"connection_id":154808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefbdb98012d88d2c0060e80a0000b004e2c..."} 
[2026-08-11 09:32:57] local.INFO: Packet analysis {"connection_id":154808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefb"} 
[2026-08-11 09:32:57] local.INFO: Extracted packet for processing {"connection_id":154808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefb"} 
[2026-08-11 09:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763941568,"raw_latitude":101613728,"longitude_deg":76.3941568,"latitude_deg":10.1613728,"altitude":11,"angle":78,"satellites":44,"speed":29,"hex_longitude":"2d88d2c0","hex_latitude":"060e80a0","is_valid_coordinates":true} 
[2026-08-11 09:32: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-08-11 09:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323750144001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377252622857404416,"note":"Value kept but may cause issues"} 
[2026-08-11 09:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8597160556405383168,"note":"Value kept but may cause issues"} 
[2026-08-11 09:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786420911000,"timestamp_ms":1786420911000,"timestamp_seconds":1786420911,"priority":1,"record_length":96,"hex_timestamp":"0000019feefbdb98"} 
[2026-08-11 09:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:32: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":15,"data_length":795,"current_offset":136} 
[2026-08-11 09:32:57] 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-08-11 09:32: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-08-11 09:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:32:57] 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-08-11 09:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323750144001,"66":27767,"252":206,"87":10496,"24":29,"16":377252622857404416,"45":-8597160556405383168},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,87,24,16,45]} 
[2026-08-11 09:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323750144001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:32:57] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-11 09:32:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377252622857404416,"km_value":377252622857404.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8597160556405383168,"description":"Unknown IO ID 45"} 
[2026-08-11 09:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323750144001,"power":27767,"unknown_252":206,"unknown_87":10496,"ignition":29,"odometer":null,"unknown_45":-8597160556405383168}} 
[2026-08-11 09:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":154808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:32:57] local.INFO: GPS data processed {"connection_id":154808,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:32:57] local.INFO: Acknowledgment sent {"connection_id":154808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:33:10] local.INFO: TCP Data received {"connection_id":153431,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feefc48f8012d7d360005ec12a00002003b1e..."} 
[2026-08-11 09:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefc48f8012d7d360005ec12a00002003b1e..."} 
[2026-08-11 09:33:10] local.INFO: Processing buffer {"connection_id":153431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefc48f8012d7d360005ec12a00002003b1e..."} 
[2026-08-11 09:33:10] local.INFO: Packet analysis {"connection_id":153431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:33:10] local.INFO: Extracted packet for processing {"connection_id":153431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99357344,"longitude_deg":76.3180544,"latitude_deg":9.9357344,"altitude":2,"angle":59,"satellites":30,"speed":1,"hex_longitude":"2d7d3600","hex_latitude":"05ec12a0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323760128001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607057946836992,"note":"Value kept but may cause issues"} 
[2026-08-11 09:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918843392,"note":"Value kept but may cause issues"} 
[2026-08-11 09:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786420939000,"timestamp_ms":1786420939000,"timestamp_seconds":1786420939,"priority":1,"record_length":96,"hex_timestamp":"0000019feefc48f8"} 
[2026-08-11 09:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:33:10] 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-08-11 09: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-11 09:33:10] 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-08-11 09: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-08-11 09:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323760128001,"66":13515,"110":206,"87":13824,"24":1,"16":117607057946836992,"45":9022398928918843392},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323760128001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:33:10] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:33:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607057946836992,"km_value":117607057946836.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918843392,"description":"Unknown IO ID 45"} 
[2026-08-11 09:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323760128001,"power":13515,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022398928918843392}} 
[2026-08-11 09:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":153431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:33:10] local.INFO: GPS data processed {"connection_id":153431,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:33:10] local.INFO: Acknowledgment sent {"connection_id":153431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:33:32] local.INFO: TCP Data received {"connection_id":154808,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feefbdb98012d88d2c0060e80a0000b004e2c..."} 
[2026-08-11 09:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefbdb98012d88d2c0060e80a0000b004e2c..."} 
[2026-08-11 09:33:32] local.INFO: Processing buffer {"connection_id":154808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefbdb98012d88d2c0060e80a0000b004e2c..."} 
[2026-08-11 09:33:32] local.INFO: Packet analysis {"connection_id":154808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefb"} 
[2026-08-11 09:33:32] local.INFO: Extracted packet for processing {"connection_id":154808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefb"} 
[2026-08-11 09:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763941568,"raw_latitude":101613728,"longitude_deg":76.3941568,"latitude_deg":10.1613728,"altitude":11,"angle":78,"satellites":44,"speed":29,"hex_longitude":"2d88d2c0","hex_latitude":"060e80a0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323753216001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377252622857404416,"note":"Value kept but may cause issues"} 
[2026-08-11 09:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8587590407196467200,"note":"Value kept but may cause issues"} 
[2026-08-11 09:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786420911000,"timestamp_ms":1786420911000,"timestamp_seconds":1786420911,"priority":1,"record_length":96,"hex_timestamp":"0000019feefbdb98"} 
[2026-08-11 09:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 09:33:32] 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-08-11 09: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-08-11 09:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:33:32] 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-08-11 09:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323753216001,"66":27767,"252":206,"87":10496,"24":29,"16":377252622857404416,"45":-8587590407196467200},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,87,24,16,45]} 
[2026-08-11 09:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323753216001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:33:32] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-11 09:33:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377252622857404416,"km_value":377252622857404.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8587590407196467200,"description":"Unknown IO ID 45"} 
[2026-08-11 09:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323753216001,"power":27767,"unknown_252":206,"unknown_87":10496,"ignition":29,"odometer":null,"unknown_45":-8587590407196467200}} 
[2026-08-11 09:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":154808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:33:32] local.INFO: GPS data processed {"connection_id":154808,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:33:32] local.INFO: Acknowledgment sent {"connection_id":154808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:33:33] local.INFO: TCP Data received {"connection_id":152475,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:33:33] local.INFO: Processing buffer {"connection_id":152475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:33:33] local.INFO: IMEI packet received {"connection_id":152475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":152475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:33:38] local.INFO: TCP Data received {"connection_id":152475,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:33:38] local.INFO: Processing buffer {"connection_id":152475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:33:38] local.INFO: IMEI packet received {"connection_id":152475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":152475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:33:39] local.INFO: TCP Data received {"connection_id":152475,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019feefc50c8012d7d360005ec1290000200b51f..."} 
[2026-08-11 09:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefc50c8012d7d360005ec1290000200b51f..."} 
[2026-08-11 09:33:39] local.INFO: Processing buffer {"connection_id":152475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefc50c8012d7d360005ec1290000200b51f..."} 
[2026-08-11 09:33:39] local.INFO: Packet analysis {"connection_id":152475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:33:39] local.INFO: Extracted packet for processing {"connection_id":152475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99357328,"longitude_deg":76.3180544,"latitude_deg":9.9357328,"altitude":2,"angle":181,"satellites":31,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec1290","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323760384001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607057946836992,"note":"Value kept but may cause issues"} 
[2026-08-11 09:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918847488,"note":"Value kept but may cause issues"} 
[2026-08-11 09:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786420941000,"timestamp_ms":1786420941000,"timestamp_seconds":1786420941,"priority":1,"record_length":96,"hex_timestamp":"0000019feefc50c8"} 
[2026-08-11 09:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:33:39] 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-08-11 09: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-11 09:33:39] 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-08-11 09: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-08-11 09:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323760384001,"66":13450,"110":206,"87":13824,"24":0,"16":117607057946836992,"45":9022398928918847488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323760384001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:33:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:33:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607057946836992,"km_value":117607057946836.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918847488,"description":"Unknown IO ID 45"} 
[2026-08-11 09:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323760384001,"power":13450,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918847488}} 
[2026-08-11 09:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":152475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:33:39] local.INFO: GPS data processed {"connection_id":152475,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:33:39] local.INFO: Acknowledgment sent {"connection_id":152475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:33:53] local.INFO: TCP Data received {"connection_id":152476,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:33:53] local.INFO: Processing buffer {"connection_id":152476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:33:53] local.INFO: IMEI packet received {"connection_id":152476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":152476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:33:57] local.INFO: TCP Data received {"connection_id":152476,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:33:57] local.INFO: Processing buffer {"connection_id":152476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:33:57] local.INFO: IMEI packet received {"connection_id":152476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":152476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:33:58] local.INFO: TCP Data received {"connection_id":152476,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feefc0e60012d88f840060e8730000d004e2d..."} 
[2026-08-11 09:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefc0e60012d88f840060e8730000d004e2d..."} 
[2026-08-11 09:33:58] local.INFO: Processing buffer {"connection_id":152476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefc0e60012d88f840060e8730000d004e2d..."} 
[2026-08-11 09:33:58] local.INFO: Packet analysis {"connection_id":152476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:33:58] local.INFO: Extracted packet for processing {"connection_id":152476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:33:58] local.INFO: GPS Element Parsed {"raw_longitude":763951168,"raw_latitude":101615408,"longitude_deg":76.3951168,"latitude_deg":10.1615408,"altitude":13,"angle":78,"satellites":45,"speed":31,"hex_longitude":"2d88f840","hex_latitude":"060e8730","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323753216001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377253086713872384,"note":"Value kept but may cause issues"} 
[2026-08-11 09:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8587590407196467200,"note":"Value kept but may cause issues"} 
[2026-08-11 09:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786420924000,"timestamp_ms":1786420924000,"timestamp_seconds":1786420924,"priority":1,"record_length":96,"hex_timestamp":"0000019feefc0e60"} 
[2026-08-11 09:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 09:33:58] 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-08-11 09: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-08-11 09:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:33:58] 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-08-11 09:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323753216001,"66":27800,"252":206,"87":10496,"24":31,"16":377253086713872384,"45":-8587590407196467200},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,87,24,16,45]} 
[2026-08-11 09:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323753216001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:33:58] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-11 09:33:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377253086713872384,"km_value":377253086713872.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8587590407196467200,"description":"Unknown IO ID 45"} 
[2026-08-11 09:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323753216001,"power":27800,"unknown_252":206,"unknown_87":10496,"ignition":31,"odometer":null,"unknown_45":-8587590407196467200}} 
[2026-08-11 09:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":152476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:33:58] local.INFO: GPS data processed {"connection_id":152476,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:33:58] local.INFO: Acknowledgment sent {"connection_id":152476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:34:29] local.INFO: TCP Data received {"connection_id":152476,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feefc4510012d891b80060e9080000d00472e..."} 
[2026-08-11 09:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefc4510012d891b80060e9080000d00472e..."} 
[2026-08-11 09:34:29] local.INFO: Processing buffer {"connection_id":152476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefc4510012d891b80060e9080000d00472e..."} 
[2026-08-11 09:34:29] local.INFO: Packet analysis {"connection_id":152476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:34:29] local.INFO: Extracted packet for processing {"connection_id":152476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:34:29] local.INFO: GPS Element Parsed {"raw_longitude":763960192,"raw_latitude":101617792,"longitude_deg":76.3960192,"latitude_deg":10.1617792,"altitude":13,"angle":71,"satellites":46,"speed":19,"hex_longitude":"2d891b80","hex_latitude":"060e9080","is_valid_coordinates":true} 
[2026-08-11 09:34: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-08-11 09:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323756544001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377253533390471168,"note":"Value kept but may cause issues"} 
[2026-08-11 09:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8577035095569387520,"note":"Value kept but may cause issues"} 
[2026-08-11 09:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786420938000,"timestamp_ms":1786420938000,"timestamp_seconds":1786420938,"priority":1,"record_length":96,"hex_timestamp":"0000019feefc4510"} 
[2026-08-11 09:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:34: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 09:34:29] 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-08-11 09:34: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-08-11 09:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:34:29] 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-08-11 09:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323756544001,"66":27832,"252":206,"87":10496,"24":19,"16":377253533390471168,"45":-8577035095569387520},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,87,24,16,45]} 
[2026-08-11 09:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323756544001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:34:29] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-11 09:34:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377253533390471168,"km_value":377253533390471.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8577035095569387520,"description":"Unknown IO ID 45"} 
[2026-08-11 09:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323756544001,"power":27832,"unknown_252":206,"unknown_87":10496,"ignition":19,"odometer":null,"unknown_45":-8577035095569387520}} 
[2026-08-11 09:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":152476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:34:29] local.INFO: GPS data processed {"connection_id":152476,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:34:29] local.INFO: Acknowledgment sent {"connection_id":152476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:34:52] local.INFO: TCP Data received {"connection_id":154809,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:34:52] local.INFO: Processing buffer {"connection_id":154809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:34:52] local.INFO: IMEI packet received {"connection_id":154809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":154809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:34:58] local.INFO: TCP Data received {"connection_id":154809,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:34:58] local.INFO: Processing buffer {"connection_id":154809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:34:58] local.INFO: IMEI packet received {"connection_id":154809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":154809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:34:59] local.INFO: TCP Data received {"connection_id":154809,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feefc8b60012d893dc0060e9c80000e00452e..."} 
[2026-08-11 09:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefc8b60012d893dc0060e9c80000e00452e..."} 
[2026-08-11 09:34:59] local.INFO: Processing buffer {"connection_id":154809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefc8b60012d893dc0060e9c80000e00452e..."} 
[2026-08-11 09:34:59] local.INFO: Packet analysis {"connection_id":154809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:34:59] local.INFO: Extracted packet for processing {"connection_id":154809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:34:59] local.INFO: GPS Element Parsed {"raw_longitude":763968960,"raw_latitude":101620864,"longitude_deg":76.396896,"latitude_deg":10.1620864,"altitude":14,"angle":69,"satellites":46,"speed":16,"hex_longitude":"2d893dc0","hex_latitude":"060e9c80","is_valid_coordinates":true} 
[2026-08-11 09:34: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-08-11 09:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323760128001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377253980067069952,"note":"Value kept but may cause issues"} 
[2026-08-11 09:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8567113102639726592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786420956000,"timestamp_ms":1786420956000,"timestamp_seconds":1786420956,"priority":1,"record_length":96,"hex_timestamp":"0000019feefc8b60"} 
[2026-08-11 09:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:34: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 09:34:59] 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-08-11 09:34: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-08-11 09:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:34:59] 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-08-11 09:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323760128001,"66":27876,"252":206,"87":10496,"24":16,"16":377253980067069952,"45":-8567113102639726592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,87,24,16,45]} 
[2026-08-11 09:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323760128001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:34:59] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-11 09:34:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377253980067069952,"km_value":377253980067069.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8567113102639726592,"description":"Unknown IO ID 45"} 
[2026-08-11 09:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323760128001,"power":27876,"unknown_252":206,"unknown_87":10496,"ignition":16,"odometer":null,"unknown_45":-8567113102639726592}} 
[2026-08-11 09:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":154809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:34:59] local.INFO: GPS data processed {"connection_id":154809,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:34:59] local.INFO: Acknowledgment sent {"connection_id":154809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:35:30] local.INFO: TCP Data received {"connection_id":154809,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019feefcc5f8012d895940060eab58000e00382d..."} 
[2026-08-11 09:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefcc5f8012d895940060eab58000e00382d..."} 
[2026-08-11 09:35:30] local.INFO: Processing buffer {"connection_id":154809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefcc5f8012d895940060eab58000e00382d..."} 
[2026-08-11 09:35:30] local.INFO: Packet analysis {"connection_id":154809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:35:30] local.INFO: Extracted packet for processing {"connection_id":154809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:35:30] local.INFO: GPS Element Parsed {"raw_longitude":763976000,"raw_latitude":101624664,"longitude_deg":76.3976,"latitude_deg":10.1624664,"altitude":14,"angle":56,"satellites":45,"speed":30,"hex_longitude":"2d895940","hex_latitude":"060eab58","is_valid_coordinates":true} 
[2026-08-11 09:35: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-08-11 09:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323764736001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377254362319159296,"note":"Value kept but may cause issues"} 
[2026-08-11 09:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8557472584686600192,"note":"Value kept but may cause issues"} 
[2026-08-11 09:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786420971000,"timestamp_ms":1786420971000,"timestamp_seconds":1786420971,"priority":1,"record_length":96,"hex_timestamp":"0000019feefcc5f8"} 
[2026-08-11 09:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:35: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 09:35:30] 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-08-11 09:35: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-08-11 09:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:35:30] 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-08-11 09:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323764736001,"66":27908,"55":206,"87":10496,"24":30,"16":377254362319159296,"45":-8557472584686600192},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,87,24,16,45]} 
[2026-08-11 09:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323764736001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:35:30] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-11 09:35:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377254362319159296,"km_value":377254362319159.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8557472584686600192,"description":"Unknown IO ID 45"} 
[2026-08-11 09:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323764736001,"power":27908,"unknown_55":206,"unknown_87":10496,"ignition":30,"odometer":null,"unknown_45":-8557472584686600192}} 
[2026-08-11 09:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":154809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:35:30] local.INFO: GPS data processed {"connection_id":154809,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:35:30] local.INFO: Acknowledgment sent {"connection_id":154809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:36:40] local.INFO: TCP Data received {"connection_id":154810,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:36:40] local.INFO: Processing buffer {"connection_id":154810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:36:40] local.INFO: IMEI packet received {"connection_id":154810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":154810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:36:45] local.INFO: TCP Data received {"connection_id":154810,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:36:45] local.INFO: Processing buffer {"connection_id":154810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:36:45] local.INFO: IMEI packet received {"connection_id":154810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":154810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:36:46] local.INFO: TCP Data received {"connection_id":154810,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feeffc398012d8b6140060f1f90000c01672e..."} 
[2026-08-11 09:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeffc398012d8b6140060f1f90000c01672e..."} 
[2026-08-11 09:36:46] local.INFO: Processing buffer {"connection_id":154810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeffc398012d8b6140060f1f90000c01672e..."} 
[2026-08-11 09:36:46] local.INFO: Packet analysis {"connection_id":154810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeff"} 
[2026-08-11 09:36:46] local.INFO: Extracted packet for processing {"connection_id":154810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeff"} 
[2026-08-11 09:36:46] local.INFO: GPS Element Parsed {"raw_longitude":764109120,"raw_latitude":101654416,"longitude_deg":76.410912,"latitude_deg":10.1654416,"altitude":12,"angle":359,"satellites":46,"speed":20,"hex_longitude":"2d8b6140","hex_latitude":"060f1f90","is_valid_coordinates":true} 
[2026-08-11 09:36: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-08-11 09:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323815424001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377260117575335936,"note":"Value kept but may cause issues"} 
[2026-08-11 09:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8404139091116781568,"note":"Value kept but may cause issues"} 
[2026-08-11 09:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786421167000,"timestamp_ms":1786421167000,"timestamp_seconds":1786421167,"priority":1,"record_length":96,"hex_timestamp":"0000019feeffc398"} 
[2026-08-11 09:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:36: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":184,"data_length":795,"current_offset":136} 
[2026-08-11 09:36:46] 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-08-11 09:36: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-08-11 09:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:36:46] 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-08-11 09:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323815424001,"66":27821,"39":206,"87":10496,"24":20,"16":377260117575335936,"45":-8404139091116781568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-11 09:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323815424001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:36:46] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-11 09:36:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377260117575335936,"km_value":377260117575335.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8404139091116781568,"description":"Unknown IO ID 45"} 
[2026-08-11 09:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323815424001,"power":27821,"unknown_39":206,"unknown_87":10496,"ignition":20,"odometer":null,"unknown_45":-8404139091116781568}} 
[2026-08-11 09:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":154810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:36:46] local.INFO: GPS data processed {"connection_id":154810,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:36:46] local.INFO: Acknowledgment sent {"connection_id":154810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:37:17] local.INFO: TCP Data received {"connection_id":154810,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feeffe6c0012d8b6100060f2d98000d00192e..."} 
[2026-08-11 09:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeffe6c0012d8b6100060f2d98000d00192e..."} 
[2026-08-11 09:37:17] local.INFO: Processing buffer {"connection_id":154810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeffe6c0012d8b6100060f2d98000d00192e..."} 
[2026-08-11 09:37:17] local.INFO: Packet analysis {"connection_id":154810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeff"} 
[2026-08-11 09:37:17] local.INFO: Extracted packet for processing {"connection_id":154810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeff"} 
[2026-08-11 09:37:17] local.INFO: GPS Element Parsed {"raw_longitude":764109056,"raw_latitude":101658008,"longitude_deg":76.4109056,"latitude_deg":10.1658008,"altitude":13,"angle":25,"satellites":46,"speed":14,"hex_longitude":"2d8b6100","hex_latitude":"060f2d98","is_valid_coordinates":true} 
[2026-08-11 09:37: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-08-11 09:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323818752001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377260293668995072,"note":"Value kept but may cause issues"} 
[2026-08-11 09:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8403365034928926720,"note":"Value kept but may cause issues"} 
[2026-08-11 09:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786421176000,"timestamp_ms":1786421176000,"timestamp_seconds":1786421176,"priority":1,"record_length":96,"hex_timestamp":"0000019feeffe6c0"} 
[2026-08-11 09:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:37: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":173,"data_length":795,"current_offset":136} 
[2026-08-11 09:37:17] 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-08-11 09:37: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-08-11 09:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:37:17] 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-08-11 09:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323818752001,"66":27484,"39":206,"87":10496,"24":14,"16":377260293668995072,"45":-8403365034928926720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-11 09:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323818752001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:37:17] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-11 09:37:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377260293668995072,"km_value":377260293668995.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8403365034928926720,"description":"Unknown IO ID 45"} 
[2026-08-11 09:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323818752001,"power":27484,"unknown_39":206,"unknown_87":10496,"ignition":14,"odometer":null,"unknown_45":-8403365034928926720}} 
[2026-08-11 09:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":154810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:37:17] local.INFO: GPS data processed {"connection_id":154810,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:37:17] local.INFO: Acknowledgment sent {"connection_id":154810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:37:48] local.INFO: TCP Data received {"connection_id":154810,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019feeffeaa8012d8b61c0060f2ec0000c002e2e..."} 
[2026-08-11 09:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeffeaa8012d8b61c0060f2ec0000c002e2e..."} 
[2026-08-11 09:37:48] local.INFO: Processing buffer {"connection_id":154810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeffeaa8012d8b61c0060f2ec0000c002e2e..."} 
[2026-08-11 09:37:48] local.INFO: Packet analysis {"connection_id":154810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeff"} 
[2026-08-11 09:37:48] local.INFO: Extracted packet for processing {"connection_id":154810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeff"} 
[2026-08-11 09:37:48] local.INFO: GPS Element Parsed {"raw_longitude":764109248,"raw_latitude":101658304,"longitude_deg":76.4109248,"latitude_deg":10.1658304,"altitude":12,"angle":46,"satellites":46,"speed":15,"hex_longitude":"2d8b61c0","hex_latitude":"060f2ec0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323821056001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377260310848864256,"note":"Value kept but may cause issues"} 
[2026-08-11 09:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8403435403672184832,"note":"Value kept but may cause issues"} 
[2026-08-11 09:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786421177000,"timestamp_ms":1786421177000,"timestamp_seconds":1786421177,"priority":1,"record_length":96,"hex_timestamp":"0000019feeffeaa8"} 
[2026-08-11 09:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:37:48] 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-08-11 09: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-08-11 09:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:37:48] 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-08-11 09:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323821056001,"66":27908,"39":206,"87":10496,"24":15,"16":377260310848864256,"45":-8403435403672184832},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-11 09:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323821056001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:37:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-11 09:37:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377260310848864256,"km_value":377260310848864.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8403435403672184832,"description":"Unknown IO ID 45"} 
[2026-08-11 09:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323821056001,"power":27908,"unknown_39":206,"unknown_87":10496,"ignition":15,"odometer":null,"unknown_45":-8403435403672184832}} 
[2026-08-11 09:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":154810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:37:48] local.INFO: GPS data processed {"connection_id":154810,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:37:48] local.INFO: Acknowledgment sent {"connection_id":154810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:37:50] local.INFO: TCP Data received {"connection_id":152088,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152088,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:37:50] local.INFO: Processing buffer {"connection_id":152088,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:37:50] local.INFO: IMEI packet received {"connection_id":152088,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":152088,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:38:19] local.INFO: TCP Data received {"connection_id":154810,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fef00e890012d8c4080060f6718000b00582e..."} 
[2026-08-11 09:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef00e890012d8c4080060f6718000b00582e..."} 
[2026-08-11 09:38:19] local.INFO: Processing buffer {"connection_id":154810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef00e890012d8c4080060f6718000b00582e..."} 
[2026-08-11 09:38:19] local.INFO: Packet analysis {"connection_id":154810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef00"} 
[2026-08-11 09:38:19] local.INFO: Extracted packet for processing {"connection_id":154810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef00"} 
[2026-08-11 09:38:19] local.INFO: GPS Element Parsed {"raw_longitude":764166272,"raw_latitude":101672728,"longitude_deg":76.4166272,"latitude_deg":10.1672728,"altitude":11,"angle":88,"satellites":46,"speed":45,"hex_longitude":"2d8c4080","hex_latitude":"060f6718","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323835648001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377263175592050688,"note":"Value kept but may cause issues"} 
[2026-08-11 09:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8351644007953725440,"note":"Value kept but may cause issues"} 
[2026-08-11 09:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786421242000,"timestamp_ms":1786421242000,"timestamp_seconds":1786421242,"priority":1,"record_length":96,"hex_timestamp":"0000019fef00e890"} 
[2026-08-11 09:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 09:38: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-08-11 09: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-08-11 09:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:38:19] 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-08-11 09:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323835648001,"66":27843,"37":206,"87":10496,"24":45,"16":377263175592050688,"45":-8351644007953725440},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,87,24,16,45]} 
[2026-08-11 09:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323835648001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:38:19] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 09:38:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-11 09:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377263175592050688,"km_value":377263175592050.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8351644007953725440,"description":"Unknown IO ID 45"} 
[2026-08-11 09:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323835648001,"power":27843,"unknown_37":206,"unknown_87":10496,"ignition":45,"odometer":null,"unknown_45":-8351644007953725440}} 
[2026-08-11 09:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":154810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:38:19] local.INFO: GPS data processed {"connection_id":154810,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:38:19] local.INFO: Acknowledgment sent {"connection_id":154810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:38:30] local.INFO: TCP Data received {"connection_id":152089,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152089,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:38:30] local.INFO: Processing buffer {"connection_id":152089,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:38:30] local.INFO: IMEI packet received {"connection_id":152089,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":152089,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:38:31] local.INFO: TCP Data received {"connection_id":152089,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152089,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:38:31] local.INFO: Processing buffer {"connection_id":152089,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:38:31] local.INFO: IMEI packet received {"connection_id":152089,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":152089,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:38:32] local.INFO: TCP Data received {"connection_id":152089,"ip":"42.106.6.40","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019fef..."} 
[2026-08-11 09:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152089,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019fef..."} 
[2026-08-11 09:38:32] local.INFO: Processing buffer {"connection_id":152089,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019fef..."} 
[2026-08-11 09:38:32] local.INFO: IMEI packet received {"connection_id":152089,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":152089,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:38:33] local.INFO: TCP Data received {"connection_id":152089,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef017918012d0c658007051a50001a00a31f..."} 
[2026-08-11 09:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef017918012d0c658007051a50001a00a31f..."} 
[2026-08-11 09:38:33] local.INFO: Processing buffer {"connection_id":152089,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fef0161a8012d0c6100070531e8001b00af20..."} 
[2026-08-11 09:38:33] local.INFO: Packet analysis {"connection_id":152089,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fef01"} 
[2026-08-11 09:38:33] local.INFO: Extracted packet for processing {"connection_id":152089,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef01"} 
[2026-08-11 09:38:33] local.INFO: GPS Element Parsed {"raw_longitude":755785984,"raw_latitude":117780968,"longitude_deg":75.5785984,"latitude_deg":11.7780968,"altitude":27,"angle":175,"satellites":32,"speed":40,"hex_longitude":"2d0c6100","hex_latitude":"070531e8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323845120001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27587640094097408,"note":"Value kept but may cause issues"} 
[2026-08-11 09:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891501650139457536,"note":"Value kept but may cause issues"} 
[2026-08-11 09:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786421273000,"timestamp_ms":1786421273000,"timestamp_seconds":1786421273,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0161a8"} 
[2026-08-11 09:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:38:33] 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-08-11 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 09:38:33] 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-08-11 09: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-08-11 09:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323845120001,"66":14407,"164":206,"94":10240,"24":40,"16":27587640094097408,"45":891501650139457536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-11 09:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323845120001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:38:33] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-11 09:38:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27587640094097408,"km_value":27587640094097.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":891501650139457536,"description":"Unknown IO ID 45"} 
[2026-08-11 09:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323845120001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":891501650139457536}} 
[2026-08-11 09:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":152089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624253,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:38:33] local.INFO: GPS data processed {"connection_id":152089,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:38:33] local.INFO: Acknowledgment sent {"connection_id":152089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:38:33] local.INFO: Packet analysis {"connection_id":152089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef01"} 
[2026-08-11 09:38:33] local.INFO: Extracted packet for processing {"connection_id":152089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef01"} 
[2026-08-11 09:38:33] local.INFO: GPS Element Parsed {"raw_longitude":755787136,"raw_latitude":117774928,"longitude_deg":75.5787136,"latitude_deg":11.7774928,"altitude":26,"angle":163,"satellites":31,"speed":33,"hex_longitude":"2d0c6580","hex_latitude":"07051a50","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323845888001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27587940741808128,"note":"Value kept but may cause issues"} 
[2026-08-11 09:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891994231347996672,"note":"Value kept but may cause issues"} 
[2026-08-11 09:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786421279000,"timestamp_ms":1786421279000,"timestamp_seconds":1786421279,"priority":1,"record_length":96,"hex_timestamp":"0000019fef017918"} 
[2026-08-11 09:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:38:33] 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-08-11 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 09:38:33] 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-08-11 09: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-08-11 09:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323845888001,"66":14428,"164":206,"94":10240,"24":33,"16":27587940741808128,"45":891994231347996672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-11 09:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323845888001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:38:33] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-11 09:38:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27587940741808128,"km_value":27587940741808.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":891994231347996672,"description":"Unknown IO ID 45"} 
[2026-08-11 09:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323845888001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":891994231347996672}} 
[2026-08-11 09:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":152089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624254,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:38:34] local.INFO: GPS data processed {"connection_id":152089,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:38:34] local.INFO: Acknowledgment sent {"connection_id":152089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:38:42] local.INFO: TCP Data received {"connection_id":152089,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef018ca0012d0c684007051240001900941f..."} 
[2026-08-11 09:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef018ca0012d0c684007051240001900941f..."} 
[2026-08-11 09:38:42] local.INFO: Processing buffer {"connection_id":152089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef018ca0012d0c684007051240001900941f..."} 
[2026-08-11 09:38:42] local.INFO: Packet analysis {"connection_id":152089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef01"} 
[2026-08-11 09:38:42] local.INFO: Extracted packet for processing {"connection_id":152089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef01"} 
[2026-08-11 09:38:42] local.INFO: GPS Element Parsed {"raw_longitude":755787840,"raw_latitude":117772864,"longitude_deg":75.578784,"latitude_deg":11.7772864,"altitude":25,"angle":148,"satellites":31,"speed":5,"hex_longitude":"2d0c6840","hex_latitude":"07051240","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323847424001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27588043821023232,"note":"Value kept but may cause issues"} 
[2026-08-11 09:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893260868741648384,"note":"Value kept but may cause issues"} 
[2026-08-11 09:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786421284000,"timestamp_ms":1786421284000,"timestamp_seconds":1786421284,"priority":1,"record_length":96,"hex_timestamp":"0000019fef018ca0"} 
[2026-08-11 09:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:38:42] 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-08-11 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:38:42] 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-08-11 09: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-08-11 09:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323847424001,"66":14450,"164":206,"94":10240,"24":5,"16":27588043821023232,"45":893260868741648384},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-11 09:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323847424001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:38:42] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-11 09:38:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27588043821023232,"km_value":27588043821023.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":893260868741648384,"description":"Unknown IO ID 45"} 
[2026-08-11 09:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323847424001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":893260868741648384}} 
[2026-08-11 09:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":152089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624255,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:38:42] local.INFO: GPS data processed {"connection_id":152089,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:38:42] local.INFO: Acknowledgment sent {"connection_id":152089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:39:14] local.INFO: TCP Data received {"connection_id":152089,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef01c738012d0c6880070511a0001900b81d..."} 
[2026-08-11 09:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef01c738012d0c6880070511a0001900b81d..."} 
[2026-08-11 09:39:14] local.INFO: Processing buffer {"connection_id":152089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef01c738012d0c6880070511a0001900b81d..."} 
[2026-08-11 09:39:14] local.INFO: Packet analysis {"connection_id":152089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef01"} 
[2026-08-11 09:39:14] local.INFO: Extracted packet for processing {"connection_id":152089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef01"} 
[2026-08-11 09:39:14] local.INFO: GPS Element Parsed {"raw_longitude":755787904,"raw_latitude":117772704,"longitude_deg":75.5787904,"latitude_deg":11.7772704,"altitude":25,"angle":184,"satellites":29,"speed":2,"hex_longitude":"2d0c6880","hex_latitude":"070511a0","is_valid_coordinates":true} 
[2026-08-11 09:39: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-08-11 09:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323848704001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27588056705925120,"note":"Value kept but may cause issues"} 
[2026-08-11 09:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894034924927074304,"note":"Value kept but may cause issues"} 
[2026-08-11 09:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786421299000,"timestamp_ms":1786421299000,"timestamp_seconds":1786421299,"priority":1,"record_length":96,"hex_timestamp":"0000019fef01c738"} 
[2026-08-11 09:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:39:14] 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-08-11 09:39: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 09:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:39: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-08-11 09:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323848704001,"66":14374,"164":206,"94":10240,"24":2,"16":27588056705925120,"45":894034924927074304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-11 09:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323848704001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:39:14] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-11 09:39:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27588056705925120,"km_value":27588056705925.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":894034924927074304,"description":"Unknown IO ID 45"} 
[2026-08-11 09:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323848704001,"power":14374,"unknown_164":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":894034924927074304}} 
[2026-08-11 09:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":152089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624256,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:39:14] local.INFO: GPS data processed {"connection_id":152089,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:39:14] local.INFO: Acknowledgment sent {"connection_id":152089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:39:24] local.INFO: TCP Data received {"connection_id":153434,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:39:24] local.INFO: Processing buffer {"connection_id":153434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:39:24] local.INFO: IMEI packet received {"connection_id":153434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":153434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:39:25] local.INFO: TCP Data received {"connection_id":153434,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:39:25] local.INFO: Processing buffer {"connection_id":153434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:39:25] local.INFO: IMEI packet received {"connection_id":153434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":153434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:39:29] local.INFO: TCP Data received {"connection_id":154811,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154811,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:39:29] local.INFO: Processing buffer {"connection_id":154811,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:39:29] local.INFO: IMEI packet received {"connection_id":154811,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":154811,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:39:30] local.INFO: TCP Data received {"connection_id":153434,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:39:30] local.INFO: Processing buffer {"connection_id":153434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:39:30] local.INFO: IMEI packet received {"connection_id":153434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":153434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:39:31] local.INFO: TCP Data received {"connection_id":153434,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef01b798012d8d2c40060fac38001100502f..."} 
[2026-08-11 09:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef01b798012d8d2c40060fac38001100502f..."} 
[2026-08-11 09:39:31] local.INFO: Processing buffer {"connection_id":153434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef01b798012d8d2c40060fac38001100502f..."} 
[2026-08-11 09:39:31] local.INFO: Packet analysis {"connection_id":153434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef01"} 
[2026-08-11 09:39:31] local.INFO: Extracted packet for processing {"connection_id":153434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef01"} 
[2026-08-11 09:39:31] local.INFO: GPS Element Parsed {"raw_longitude":764226624,"raw_latitude":101690424,"longitude_deg":76.4226624,"latitude_deg":10.1690424,"altitude":17,"angle":80,"satellites":47,"speed":42,"hex_longitude":"2d8d2c40","hex_latitude":"060fac38","is_valid_coordinates":true} 
[2026-08-11 09:39: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-08-11 09:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323849472001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377266212133928960,"note":"Value kept but may cause issues"} 
[2026-08-11 09:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8284160382283444224,"note":"Value kept but may cause issues"} 
[2026-08-11 09:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786421295000,"timestamp_ms":1786421295000,"timestamp_seconds":1786421295,"priority":1,"record_length":96,"hex_timestamp":"0000019fef01b798"} 
[2026-08-11 09:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:39: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":217,"data_length":795,"current_offset":136} 
[2026-08-11 09:39:31] 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-08-11 09:39: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-08-11 09:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:39:31] 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-08-11 09:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323849472001,"66":27821,"209":206,"79":46592,"24":42,"16":377266212133928960,"45":-8284160382283444224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-08-11 09:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323849472001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:39:31] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-11 09:39:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377266212133928960,"km_value":377266212133928.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8284160382283444224,"description":"Unknown IO ID 45"} 
[2026-08-11 09:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323849472001,"power":27821,"unknown_209":206,"unknown_79":46592,"ignition":42,"odometer":null,"unknown_45":-8284160382283444224}} 
[2026-08-11 09:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":153434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:39:31] local.INFO: GPS data processed {"connection_id":153434,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:39:31] local.INFO: Acknowledgment sent {"connection_id":153434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:39:33] local.INFO: TCP Data received {"connection_id":153435,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:39:33] local.INFO: Processing buffer {"connection_id":153435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:39:33] local.INFO: IMEI packet received {"connection_id":153435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":153435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:39:33] local.INFO: TCP Data received {"connection_id":154811,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154811,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:39:33] local.INFO: Processing buffer {"connection_id":154811,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:39:33] local.INFO: IMEI packet received {"connection_id":154811,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":154811,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:39:38] local.INFO: TCP Data received {"connection_id":153435,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:39:38] local.INFO: Processing buffer {"connection_id":153435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:39:38] local.INFO: IMEI packet received {"connection_id":153435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":153435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:39:39] local.INFO: TCP Data received {"connection_id":153435,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feefc8b60012d7d350005ec1078000200cc23..."} 
[2026-08-11 09:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefc8b60012d7d350005ec1078000200cc23..."} 
[2026-08-11 09:39:39] local.INFO: Processing buffer {"connection_id":153435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefc8b60012d7d350005ec1078000200cc23..."} 
[2026-08-11 09:39:39] local.INFO: Packet analysis {"connection_id":153435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:39:39] local.INFO: Extracted packet for processing {"connection_id":153435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99356792,"longitude_deg":76.3180288,"latitude_deg":9.9356792,"altitude":2,"angle":204,"satellites":35,"speed":1,"hex_longitude":"2d7d3500","hex_latitude":"05ec1078","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323763200001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607092306575360,"note":"Value kept but may cause issues"} 
[2026-08-11 09:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174618624,"note":"Value kept but may cause issues"} 
[2026-08-11 09:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786420956000,"timestamp_ms":1786420956000,"timestamp_seconds":1786420956,"priority":1,"record_length":96,"hex_timestamp":"0000019feefc8b60"} 
[2026-08-11 09:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:39:39] 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-08-11 09: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-11 09:39:39] 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-08-11 09: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-08-11 09:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323763200001,"66":13374,"110":206,"87":13824,"24":1,"16":117607092306575360,"45":9022328560174618624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323763200001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:39:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:39:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607092306575360,"km_value":117607092306575.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174618624,"description":"Unknown IO ID 45"} 
[2026-08-11 09:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323763200001,"power":13374,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022328560174618624}} 
[2026-08-11 09:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":153435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:39:39] local.INFO: GPS data processed {"connection_id":153435,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:39:39] local.INFO: Acknowledgment sent {"connection_id":153435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:39:49] local.INFO: TCP Data received {"connection_id":154811,"ip":"42.106.6.40","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019fef..."} 
[2026-08-11 09:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154811,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019fef..."} 
[2026-08-11 09:39:49] local.INFO: Processing buffer {"connection_id":154811,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019fef..."} 
[2026-08-11 09:39:49] local.INFO: IMEI packet received {"connection_id":154811,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":154811,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:39:50] local.INFO: TCP Data received {"connection_id":154811,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef02a9c8012d0cb2000704c008001e006b1e..."} 
[2026-08-11 09:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef02a9c8012d0cb2000704c008001e006b1e..."} 
[2026-08-11 09:39:50] local.INFO: Processing buffer {"connection_id":154811,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fef029a28012d0ca8c00704c388001d00771f..."} 
[2026-08-11 09:39:50] local.INFO: Packet analysis {"connection_id":154811,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fef02"} 
[2026-08-11 09:39:50] local.INFO: Extracted packet for processing {"connection_id":154811,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef02"} 
[2026-08-11 09:39:50] local.INFO: GPS Element Parsed {"raw_longitude":755804352,"raw_latitude":117752712,"longitude_deg":75.5804352,"latitude_deg":11.7752712,"altitude":29,"angle":119,"satellites":31,"speed":19,"hex_longitude":"2d0ca8c0","hex_latitude":"0704c388","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323865088001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27589379555852288,"note":"Value kept but may cause issues"} 
[2026-08-11 09:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910430842315767808,"note":"Value kept but may cause issues"} 
[2026-08-11 09:39:50] 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-08-11 09:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786421353000,"timestamp_ms":1786421353000,"timestamp_seconds":1786421353,"priority":1,"record_length":96,"hex_timestamp":"0000019fef029a28"} 
[2026-08-11 09:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:39:50] 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-08-11 09: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-11 09:39:50] 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-08-11 09: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-08-11 09:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":154811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":154811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":154811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323865088001,"66":14428,"95":206,"94":10240,"24":19,"16":27589379555852288,"45":910430842315767808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-11 09:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323865088001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:39:50] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 09:39:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27589379555852288,"km_value":27589379555852.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":910430842315767808,"description":"Unknown IO ID 45"} 
[2026-08-11 09:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323865088001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":910430842315767808}} 
[2026-08-11 09:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":154811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624259,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:39:51] local.INFO: GPS data processed {"connection_id":154811,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:39:51] local.INFO: Acknowledgment sent {"connection_id":154811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:39:51] local.INFO: Packet analysis {"connection_id":154811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef02"} 
[2026-08-11 09:39:51] local.INFO: Extracted packet for processing {"connection_id":154811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef02"} 
[2026-08-11 09:39:51] local.INFO: GPS Element Parsed {"raw_longitude":755806720,"raw_latitude":117751816,"longitude_deg":75.580672,"latitude_deg":11.7751816,"altitude":30,"angle":107,"satellites":30,"speed":23,"hex_longitude":"2d0cb200","hex_latitude":"0704c008","is_valid_coordinates":true} 
[2026-08-11 09:39: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-08-11 09:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323866368001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27589499814936576,"note":"Value kept but may cause issues"} 
[2026-08-11 09:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912190060919752704,"note":"Value kept but may cause issues"} 
[2026-08-11 09:39:51] 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-08-11 09:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786421357000,"timestamp_ms":1786421357000,"timestamp_seconds":1786421357,"priority":1,"record_length":96,"hex_timestamp":"0000019fef02a9c8"} 
[2026-08-11 09:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:39:51] 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-08-11 09:39: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:39:51] 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-08-11 09:39: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-08-11 09:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323866368001,"66":14407,"95":206,"94":10240,"24":23,"16":27589499814936576,"45":912190060919752704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-11 09:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323866368001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:39:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 09:39:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27589499814936576,"km_value":27589499814936.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":912190060919752704,"description":"Unknown IO ID 45"} 
[2026-08-11 09:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323866368001,"power":14407,"unknown_95":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":912190060919752704}} 
[2026-08-11 09:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":154811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624260,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:39:51] local.INFO: GPS data processed {"connection_id":154811,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:39:51] local.INFO: Acknowledgment sent {"connection_id":154811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:40:02] local.INFO: TCP Data received {"connection_id":153434,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef025ba8012d8d9e40060fd7280013004d2c..."} 
[2026-08-11 09:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef025ba8012d8d9e40060fd7280013004d2c..."} 
[2026-08-11 09:40:02] local.INFO: Processing buffer {"connection_id":153434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef025ba8012d8d9e40060fd7280013004d2c..."} 
[2026-08-11 09:40:02] local.INFO: Packet analysis {"connection_id":153434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef02"} 
[2026-08-11 09:40:02] local.INFO: Extracted packet for processing {"connection_id":153434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef02"} 
[2026-08-11 09:40:02] local.INFO: GPS Element Parsed {"raw_longitude":764255808,"raw_latitude":101701416,"longitude_deg":76.4255808,"latitude_deg":10.1701416,"altitude":19,"angle":77,"satellites":44,"speed":39,"hex_longitude":"2d8d9e40","hex_latitude":"060fd728","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323859456001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377267852811436032,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8252705553633046528,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786421337000,"timestamp_ms":1786421337000,"timestamp_seconds":1786421337,"priority":1,"record_length":96,"hex_timestamp":"0000019fef025ba8"} 
[2026-08-11 09:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 09:40: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-08-11 09: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-08-11 09:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":153434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:40:02] 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-08-11 09:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323859456001,"66":27745,"209":206,"79":46592,"24":39,"16":377267852811436032,"45":-8252705553633046528},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-08-11 09:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323859456001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:40:02] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-11 09:40:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377267852811436032,"km_value":377267852811436.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8252705553633046528,"description":"Unknown IO ID 45"} 
[2026-08-11 09:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323859456001,"power":27745,"unknown_209":206,"unknown_79":46592,"ignition":39,"odometer":null,"unknown_45":-8252705553633046528}} 
[2026-08-11 09:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":153434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:40:02] local.INFO: GPS data processed {"connection_id":153434,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:40:02] local.INFO: Acknowledgment sent {"connection_id":153434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:40:04] local.INFO: TCP Data received {"connection_id":154811,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef02b580012d0cba000704be18001f005f1e..."} 
[2026-08-11 09:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef02b580012d0cba000704be18001f005f1e..."} 
[2026-08-11 09:40:04] local.INFO: Processing buffer {"connection_id":154811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef02b580012d0cba000704be18001f005f1e..."} 
[2026-08-11 09:40:04] local.INFO: Packet analysis {"connection_id":154811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef02"} 
[2026-08-11 09:40:04] local.INFO: Extracted packet for processing {"connection_id":154811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef02"} 
[2026-08-11 09:40:04] local.INFO: GPS Element Parsed {"raw_longitude":755808768,"raw_latitude":117751320,"longitude_deg":75.5808768,"latitude_deg":11.775132,"altitude":31,"angle":95,"satellites":30,"speed":27,"hex_longitude":"2d0cba00","hex_latitude":"0704be18","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323867392001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27589602894151680,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914793704454096896,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:04] 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-08-11 09:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786421360000,"timestamp_ms":1786421360000,"timestamp_seconds":1786421360,"priority":1,"record_length":96,"hex_timestamp":"0000019fef02b580"} 
[2026-08-11 09:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:40:04] 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-08-11 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 09:40:04] 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-08-11 09: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-08-11 09:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323867392001,"66":14450,"95":206,"94":10240,"24":27,"16":27589602894151680,"45":914793704454096896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-11 09:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323867392001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:40:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 09:40:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27589602894151680,"km_value":27589602894151.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":914793704454096896,"description":"Unknown IO ID 45"} 
[2026-08-11 09:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323867392001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":914793704454096896}} 
[2026-08-11 09:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":154811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624262,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:40:04] local.INFO: GPS data processed {"connection_id":154811,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:40:04] local.INFO: Acknowledgment sent {"connection_id":154811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:40:10] local.INFO: TCP Data received {"connection_id":153435,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feefc9330012d7d350005ec0fd0000100bc24..."} 
[2026-08-11 09:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefc9330012d7d350005ec0fd0000100bc24..."} 
[2026-08-11 09:40:10] local.INFO: Processing buffer {"connection_id":153435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefc9330012d7d350005ec0fd0000100bc24..."} 
[2026-08-11 09:40:10] local.INFO: Packet analysis {"connection_id":153435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:40:10] local.INFO: Extracted packet for processing {"connection_id":153435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99356624,"longitude_deg":76.3180288,"latitude_deg":9.9356624,"altitude":1,"angle":188,"satellites":36,"speed":1,"hex_longitude":"2d7d3500","hex_latitude":"05ec0fd0","is_valid_coordinates":true} 
[2026-08-11 09:40: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-08-11 09:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323764736001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607100896509952,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941995520,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786420958000,"timestamp_ms":1786420958000,"timestamp_seconds":1786420958,"priority":1,"record_length":96,"hex_timestamp":"0000019feefc9330"} 
[2026-08-11 09:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:40:10] 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-08-11 09:40: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":62,"data_length":795,"current_offset":136} 
[2026-08-11 09:40:10] 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-08-11 09:40: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-08-11 09:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323764736001,"66":13200,"110":206,"87":13824,"24":1,"16":117607100896509952,"45":9022117453941995520},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323764736001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:40:10] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:40:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607100896509952,"km_value":117607100896509.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941995520,"description":"Unknown IO ID 45"} 
[2026-08-11 09:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323764736001,"power":13200,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022117453941995520}} 
[2026-08-11 09:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":153435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:40:11] local.INFO: GPS data processed {"connection_id":153435,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:40:11] local.INFO: Acknowledgment sent {"connection_id":153435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:40:27] local.INFO: TCP Data received {"connection_id":153436,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153436,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:40:27] local.INFO: Processing buffer {"connection_id":153436,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:40:27] local.INFO: IMEI packet received {"connection_id":153436,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":153436,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:40:29] local.INFO: TCP Data received {"connection_id":153436,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153436,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:40:29] local.INFO: Processing buffer {"connection_id":153436,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:40:29] local.INFO: IMEI packet received {"connection_id":153436,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":153436,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:40:29] local.INFO: TCP Data received {"connection_id":153436,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153436,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:40:29] local.INFO: Processing buffer {"connection_id":153436,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:40:29] local.INFO: IMEI packet received {"connection_id":153436,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":153436,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:40:33] local.INFO: TCP Data received {"connection_id":154812,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:40:33] local.INFO: Processing buffer {"connection_id":154812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:40:33] local.INFO: IMEI packet received {"connection_id":154812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":154812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:40:34] local.INFO: TCP Data received {"connection_id":153434,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef027ed0012d8dc280060fdea8001300512d..."} 
[2026-08-11 09:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef027ed0012d8dc280060fdea8001300512d..."} 
[2026-08-11 09:40:34] local.INFO: Processing buffer {"connection_id":153434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef027ed0012d8dc280060fdea8001300512d..."} 
[2026-08-11 09:40:34] local.INFO: Packet analysis {"connection_id":153434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef02"} 
[2026-08-11 09:40:34] local.INFO: Extracted packet for processing {"connection_id":153434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef02"} 
[2026-08-11 09:40:34] local.INFO: GPS Element Parsed {"raw_longitude":764265088,"raw_latitude":101703336,"longitude_deg":76.4265088,"latitude_deg":10.1703336,"altitude":19,"angle":81,"satellites":45,"speed":40,"hex_longitude":"2d8dc280","hex_latitude":"060fdea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323862272001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377268303783002112,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8242079873261688832,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786421346000,"timestamp_ms":1786421346000,"timestamp_seconds":1786421346,"priority":1,"record_length":96,"hex_timestamp":"0000019fef027ed0"} 
[2026-08-11 09:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 09:40: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-08-11 09: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-08-11 09:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:40:34] 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-08-11 09:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323862272001,"66":27713,"209":206,"79":46592,"24":40,"16":377268303783002112,"45":-8242079873261688832},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-08-11 09:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323862272001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:40:34] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-11 09:40:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377268303783002112,"km_value":377268303783002.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8242079873261688832,"description":"Unknown IO ID 45"} 
[2026-08-11 09:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323862272001,"power":27713,"unknown_209":206,"unknown_79":46592,"ignition":40,"odometer":null,"unknown_45":-8242079873261688832}} 
[2026-08-11 09:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":153434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:40:34] local.INFO: GPS data processed {"connection_id":153434,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:40:34] local.INFO: Acknowledgment sent {"connection_id":153434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:40:34] local.INFO: TCP Data received {"connection_id":153436,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153436,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:40:34] local.INFO: Processing buffer {"connection_id":153436,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:40:34] local.INFO: IMEI packet received {"connection_id":153436,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":153436,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:40:35] local.INFO: TCP Data received {"connection_id":153436,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef038870012d0d38400704bce00016005b1e..."} 
[2026-08-11 09:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef038870012d0d38400704bce00016005b1e..."} 
[2026-08-11 09:40:35] local.INFO: Processing buffer {"connection_id":153436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef038870012d0d38400704bce00016005b1e..."} 
[2026-08-11 09:40:35] local.INFO: Packet analysis {"connection_id":153436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef03"} 
[2026-08-11 09:40:35] local.INFO: Extracted packet for processing {"connection_id":153436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef03"} 
[2026-08-11 09:40:35] local.INFO: GPS Element Parsed {"raw_longitude":755841088,"raw_latitude":117751008,"longitude_deg":75.5841088,"latitude_deg":11.7751008,"altitude":22,"angle":91,"satellites":30,"speed":9,"hex_longitude":"2d0d3840","hex_latitude":"0704bce0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323880960001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27591153377345536,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950681763984410624,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786421414000,"timestamp_ms":1786421414000,"timestamp_seconds":1786421414,"priority":1,"record_length":96,"hex_timestamp":"0000019fef038870"} 
[2026-08-11 09:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:40:35] 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-08-11 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 09:40:35] 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-08-11 09: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-08-11 09:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153436,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153436,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323880960001,"66":13624,"17":206,"94":11008,"24":9,"16":27591153377345536,"45":950681763984410624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323880960001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:40:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27591153377345536,"km_value":27591153377345.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":950681763984410624,"description":"Unknown IO ID 45"} 
[2026-08-11 09:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323880960001,"power":13624,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":950681763984410624}} 
[2026-08-11 09:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":153436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624265,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:40:35] local.INFO: GPS data processed {"connection_id":153436,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:40:35] local.INFO: Acknowledgment sent {"connection_id":153436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:40:38] local.INFO: TCP Data received {"connection_id":154812,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:40:38] local.INFO: Processing buffer {"connection_id":154812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:40:38] local.INFO: IMEI packet received {"connection_id":154812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":154812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:40:39] local.INFO: TCP Data received {"connection_id":154812,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feefc9718012d7d350005ec0fa0000100ad24..."} 
[2026-08-11 09:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefc9718012d7d350005ec0fa0000100ad24..."} 
[2026-08-11 09:40:39] local.INFO: Processing buffer {"connection_id":154812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefc9718012d7d350005ec0fa0000100ad24..."} 
[2026-08-11 09:40:39] local.INFO: Packet analysis {"connection_id":154812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:40:39] local.INFO: Extracted packet for processing {"connection_id":154812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99356576,"longitude_deg":76.3180288,"latitude_deg":9.9356576,"altitude":1,"angle":173,"satellites":36,"speed":1,"hex_longitude":"2d7d3500","hex_latitude":"05ec0fa0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323765248001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607100896509952,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941952512,"note":"Value kept but may cause issues"} 
[2026-08-11 09:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786420959000,"timestamp_ms":1786420959000,"timestamp_seconds":1786420959,"priority":1,"record_length":96,"hex_timestamp":"0000019feefc9718"} 
[2026-08-11 09:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:40:39] 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-08-11 09: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-11 09:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323765248001,"66":13319,"110":206,"87":13824,"24":1,"16":117607100896509952,"45":9022117453941952512},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323765248001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:40:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:40:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607100896509952,"km_value":117607100896509.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941952512,"description":"Unknown IO ID 45"} 
[2026-08-11 09:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323765248001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022117453941952512}} 
[2026-08-11 09:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":154812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:40:39] local.INFO: GPS data processed {"connection_id":154812,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:40:39] local.INFO: Acknowledgment sent {"connection_id":154812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:41:05] local.INFO: TCP Data received {"connection_id":153434,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef02a1f8012d8de740060fe098001400552e..."} 
[2026-08-11 09:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef02a1f8012d8de740060fe098001400552e..."} 
[2026-08-11 09:41:05] local.INFO: Processing buffer {"connection_id":153434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef02a1f8012d8de740060fe098001400552e..."} 
[2026-08-11 09:41:05] local.INFO: Packet analysis {"connection_id":153434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef02"} 
[2026-08-11 09:41:05] local.INFO: Extracted packet for processing {"connection_id":153434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef02"} 
[2026-08-11 09:41:05] local.INFO: GPS Element Parsed {"raw_longitude":764274496,"raw_latitude":101703832,"longitude_deg":76.4274496,"latitude_deg":10.1703832,"altitude":20,"angle":85,"satellites":46,"speed":42,"hex_longitude":"2d8de740","hex_latitude":"060fe098","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323864576001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377268754754568192,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8231876405355436032,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786421355000,"timestamp_ms":1786421355000,"timestamp_seconds":1786421355,"priority":1,"record_length":96,"hex_timestamp":"0000019fef02a1f8"} 
[2026-08-11 09:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":65,"data_length":795,"current_offset":136} 
[2026-08-11 09:41:05] 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-08-11 09: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-08-11 09:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:41:05] 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-08-11 09:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323864576001,"66":27908,"209":206,"79":46592,"24":42,"16":377268754754568192,"45":-8231876405355436032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-08-11 09:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323864576001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:41:05] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-11 09:41:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377268754754568192,"km_value":377268754754568.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8231876405355436032,"description":"Unknown IO ID 45"} 
[2026-08-11 09:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323864576001,"power":27908,"unknown_209":206,"unknown_79":46592,"ignition":42,"odometer":null,"unknown_45":-8231876405355436032}} 
[2026-08-11 09:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":153434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:41:05] local.INFO: GPS data processed {"connection_id":153434,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:41:05] local.INFO: Acknowledgment sent {"connection_id":153434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:41:06] local.INFO: TCP Data received {"connection_id":153436,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef03ab98012d0d3a400704baf0001400a21d..."} 
[2026-08-11 09:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef03ab98012d0d3a400704baf0001400a21d..."} 
[2026-08-11 09:41:06] local.INFO: Processing buffer {"connection_id":153436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef03ab98012d0d3a400704baf0001400a21d..."} 
[2026-08-11 09:41:06] local.INFO: Packet analysis {"connection_id":153436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef03"} 
[2026-08-11 09:41:06] local.INFO: Extracted packet for processing {"connection_id":153436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef03"} 
[2026-08-11 09:41:06] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117750512,"longitude_deg":75.58416,"latitude_deg":11.7750512,"altitude":20,"angle":162,"satellites":29,"speed":7,"hex_longitude":"2d0d3a40","hex_latitude":"0704baf0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323881984001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27591196327018496,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952581720077295616,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786421423000,"timestamp_ms":1786421423000,"timestamp_seconds":1786421423,"priority":1,"record_length":96,"hex_timestamp":"0000019fef03ab98"} 
[2026-08-11 09:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:41:06] 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-08-11 09: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-11 09:41:06] 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-08-11 09: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-08-11 09:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153436,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153436,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323881984001,"66":14374,"17":206,"94":11008,"24":7,"16":27591196327018496,"45":952581720077295616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323881984001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:41:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27591196327018496,"km_value":27591196327018.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":952581720077295616,"description":"Unknown IO ID 45"} 
[2026-08-11 09:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323881984001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":952581720077295616}} 
[2026-08-11 09:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":153436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624268,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:41:06] local.INFO: GPS data processed {"connection_id":153436,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:41:06] local.INFO: Acknowledgment sent {"connection_id":153436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:41:11] local.INFO: TCP Data received {"connection_id":154812,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feefca2d0012d7d350005ec0f180001009e25..."} 
[2026-08-11 09:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefca2d0012d7d350005ec0f180001009e25..."} 
[2026-08-11 09:41:11] local.INFO: Processing buffer {"connection_id":154812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefca2d0012d7d350005ec0f180001009e25..."} 
[2026-08-11 09:41:11] local.INFO: Packet analysis {"connection_id":154812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:41:11] local.INFO: Extracted packet for processing {"connection_id":154812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99356440,"longitude_deg":76.3180288,"latitude_deg":9.935644,"altitude":1,"angle":158,"satellites":37,"speed":1,"hex_longitude":"2d7d3500","hex_latitude":"05ec0f18","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323765504001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607109486444544,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941940224,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786420962000,"timestamp_ms":1786420962000,"timestamp_seconds":1786420962,"priority":1,"record_length":96,"hex_timestamp":"0000019feefca2d0"} 
[2026-08-11 09:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:41:11] 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-08-11 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 09:41:11] local.WARNING: Large IO value detected {"io_id":24,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4009510160,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:11] local.WARNING: Large IO value detected {"io_id":238,"raw_value":4233152513,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:11] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1319554699411464192,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-11 09:41:11] local.WARNING: Large IO value detected {"io_id":72,"raw_value":4160826749,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:11] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827401,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3539927040,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960639488,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:11] local.WARNING: Large IO value detected {"io_id":252,"raw_value":4413528929708916741,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,110,87,24,241,157,16,211,159,147,45,15,1,36,10,66,139,2,35,115,192,240,227,238,236,4,113,205,72,54,160,30,239,52,161,5,252],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-11 09:41:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72247964168421376,"timestamp_seconds":72247964168421.38,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 09:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":154812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":154812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":154812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323765504001,"66":13222,"110":206,"87":13824,"24":1,"16":117607109486444544,"45":9022117453941940224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323765504001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:41:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:41:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607109486444544,"km_value":117607109486444.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941940224,"description":"Unknown IO ID 45"} 
[2026-08-11 09:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323765504001,"power":13222,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022117453941940224}} 
[2026-08-11 09:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":154812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:41:11] local.INFO: GPS data processed {"connection_id":154812,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:41:11] local.INFO: Acknowledgment sent {"connection_id":154812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:41:29] local.INFO: TCP Data received {"connection_id":153437,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153437,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:41:29] local.INFO: Processing buffer {"connection_id":153437,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:41:29] local.INFO: IMEI packet received {"connection_id":153437,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":153437,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:41:32] local.INFO: TCP Data received {"connection_id":153437,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153437,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:41:32] local.INFO: Processing buffer {"connection_id":153437,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:41:32] local.INFO: IMEI packet received {"connection_id":153437,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":153437,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:41:36] local.INFO: TCP Data received {"connection_id":153434,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef02d8a8012d8e0a80060fe500001700502f..."} 
[2026-08-11 09:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef02d8a8012d8e0a80060fe500001700502f..."} 
[2026-08-11 09:41:36] local.INFO: Processing buffer {"connection_id":153434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef02d8a8012d8e0a80060fe500001700502f..."} 
[2026-08-11 09:41:36] local.INFO: Packet analysis {"connection_id":153434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef02"} 
[2026-08-11 09:41:36] local.INFO: Extracted packet for processing {"connection_id":153434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef02"} 
[2026-08-11 09:41:36] local.INFO: GPS Element Parsed {"raw_longitude":764283520,"raw_latitude":101704960,"longitude_deg":76.428352,"latitude_deg":10.170496,"altitude":23,"angle":80,"satellites":47,"speed":23,"hex_longitude":"2d8e0a80","hex_latitude":"060fe500","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323866880001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377269188546265088,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8221532199961192448,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786421369000,"timestamp_ms":1786421369000,"timestamp_seconds":1786421369,"priority":1,"record_length":96,"hex_timestamp":"0000019fef02d8a8"} 
[2026-08-11 09:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 09:41: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-08-11 09: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-08-11 09:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:41:36] 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-08-11 09:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323866880001,"66":27908,"208":206,"79":46592,"24":23,"16":377269188546265088,"45":-8221532199961192448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,79,24,16,45]} 
[2026-08-11 09:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323866880001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:41:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-11 09:41:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377269188546265088,"km_value":377269188546265.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8221532199961192448,"description":"Unknown IO ID 45"} 
[2026-08-11 09:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323866880001,"power":27908,"unknown_208":206,"unknown_79":46592,"ignition":23,"odometer":null,"unknown_45":-8221532199961192448}} 
[2026-08-11 09:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":153434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:41:36] local.INFO: GPS data processed {"connection_id":153434,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:41:36] local.INFO: Acknowledgment sent {"connection_id":153434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:41:36] local.INFO: TCP Data received {"connection_id":153437,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef03b368012d0d3a800704b958001400ae1e..."} 
[2026-08-11 09:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef03b368012d0d3a800704b958001400ae1e..."} 
[2026-08-11 09:41:36] local.INFO: Processing buffer {"connection_id":153437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef03b368012d0d3a800704b958001400ae1e..."} 
[2026-08-11 09:41:36] local.INFO: Packet analysis {"connection_id":153437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef03"} 
[2026-08-11 09:41:36] local.INFO: Extracted packet for processing {"connection_id":153437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef03"} 
[2026-08-11 09:41:36] local.INFO: GPS Element Parsed {"raw_longitude":755841664,"raw_latitude":117750104,"longitude_deg":75.5841664,"latitude_deg":11.7750104,"altitude":20,"angle":174,"satellites":30,"speed":8,"hex_longitude":"2d0d3a80","hex_latitude":"0704b958","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323884288001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27591213506887680,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670030589952,"note":"Value kept but may cause issues"} 
[2026-08-11 09:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786421425000,"timestamp_ms":1786421425000,"timestamp_seconds":1786421425,"priority":1,"record_length":96,"hex_timestamp":"0000019fef03b368"} 
[2026-08-11 09:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:41:36] 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-08-11 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 09:41:36] 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-08-11 09: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-08-11 09:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323884288001,"66":14439,"17":206,"94":11008,"24":8,"16":27591213506887680,"45":953144670030589952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323884288001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:41:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27591213506887680,"km_value":27591213506887.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670030589952,"description":"Unknown IO ID 45"} 
[2026-08-11 09:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323884288001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":953144670030589952}} 
[2026-08-11 09:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":153437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624271,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:41:36] local.INFO: GPS data processed {"connection_id":153437,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:41:36] local.INFO: Acknowledgment sent {"connection_id":153437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:42:07] local.INFO: TCP Data received {"connection_id":153437,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef04fb88012d0d2c8007044f98001700c720..."} 
[2026-08-11 09:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef04fb88012d0d2c8007044f98001700c720..."} 
[2026-08-11 09:42:07] local.INFO: Processing buffer {"connection_id":153437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef04fb88012d0d2c8007044f98001700c720..."} 
[2026-08-11 09:42:07] local.INFO: Packet analysis {"connection_id":153437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef04"} 
[2026-08-11 09:42:07] local.INFO: Extracted packet for processing {"connection_id":153437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef04"} 
[2026-08-11 09:42:07] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117723032,"longitude_deg":75.583808,"latitude_deg":11.7723032,"altitude":23,"angle":199,"satellites":32,"speed":16,"hex_longitude":"2d0d2c80","hex_latitude":"07044f98","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323904512001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27592557831651328,"note":"Value kept but may cause issues"} 
[2026-08-11 09:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949696601559492608,"note":"Value kept but may cause issues"} 
[2026-08-11 09:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786421509000,"timestamp_ms":1786421509000,"timestamp_seconds":1786421509,"priority":1,"record_length":96,"hex_timestamp":"0000019fef04fb88"} 
[2026-08-11 09:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:42:07] 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-08-11 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 09:42:07] 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-08-11 09: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-08-11 09:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323904512001,"66":14428,"17":206,"94":11008,"24":16,"16":27592557831651328,"45":949696601559492608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323904512001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:42:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27592557831651328,"km_value":27592557831651.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":949696601559492608,"description":"Unknown IO ID 45"} 
[2026-08-11 09:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323904512001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":949696601559492608}} 
[2026-08-11 09:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":153437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624272,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:42:07] local.INFO: GPS data processed {"connection_id":153437,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:42:07] local.INFO: Acknowledgment sent {"connection_id":153437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:42:07] local.INFO: TCP Data received {"connection_id":153434,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef032ab0012d8e24c0060feaa00018004b2f..."} 
[2026-08-11 09:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef032ab0012d8e24c0060feaa00018004b2f..."} 
[2026-08-11 09:42:07] local.INFO: Processing buffer {"connection_id":153434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef032ab0012d8e24c0060feaa00018004b2f..."} 
[2026-08-11 09:42:07] local.INFO: Packet analysis {"connection_id":153434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef03"} 
[2026-08-11 09:42:07] local.INFO: Extracted packet for processing {"connection_id":153434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef03"} 
[2026-08-11 09:42:07] local.INFO: GPS Element Parsed {"raw_longitude":764290240,"raw_latitude":101706400,"longitude_deg":76.429024,"latitude_deg":10.17064,"altitude":24,"angle":75,"satellites":47,"speed":0,"hex_longitude":"2d8e24c0","hex_latitude":"060feaa0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323870464001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377269519258746880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8211610207031853056,"note":"Value kept but may cause issues"} 
[2026-08-11 09:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786421390000,"timestamp_ms":1786421390000,"timestamp_seconds":1786421390,"priority":1,"record_length":96,"hex_timestamp":"0000019fef032ab0"} 
[2026-08-11 09:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 09:42: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-08-11 09: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-08-11 09:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:42:07] 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-08-11 09:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323870464001,"66":27604,"208":206,"79":46592,"24":0,"16":377269519258746880,"45":-8211610207031853056},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,79,24,16,45]} 
[2026-08-11 09:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323870464001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:42:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-11 09:42:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377269519258746880,"km_value":377269519258746.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8211610207031853056,"description":"Unknown IO ID 45"} 
[2026-08-11 09:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323870464001,"power":27604,"unknown_208":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8211610207031853056}} 
[2026-08-11 09:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":153434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:42:07] local.INFO: GPS data processed {"connection_id":153434,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:42:07] local.INFO: Acknowledgment sent {"connection_id":153434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:42:29] local.INFO: TCP Data received {"connection_id":154813,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154813,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:42:29] local.INFO: Processing buffer {"connection_id":154813,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:42:29] local.INFO: IMEI packet received {"connection_id":154813,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":154813,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:42:29] local.INFO: TCP Data received {"connection_id":154813,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154813,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:42:29] local.INFO: Processing buffer {"connection_id":154813,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:42:29] local.INFO: IMEI packet received {"connection_id":154813,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":154813,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:42:34] local.INFO: TCP Data received {"connection_id":154813,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154813,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:42:34] local.INFO: Processing buffer {"connection_id":154813,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:42:34] local.INFO: IMEI packet received {"connection_id":154813,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":154813,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:42:35] local.INFO: TCP Data received {"connection_id":154813,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef050f10012d0d2ac0070449d0001700bb1f..."} 
[2026-08-11 09:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef050f10012d0d2ac0070449d0001700bb1f..."} 
[2026-08-11 09:42:35] local.INFO: Processing buffer {"connection_id":154813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef050f10012d0d2ac0070449d0001700bb1f..."} 
[2026-08-11 09:42:35] local.INFO: Packet analysis {"connection_id":154813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:42:35] local.INFO: Extracted packet for processing {"connection_id":154813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":755837632,"raw_latitude":117721552,"longitude_deg":75.5837632,"latitude_deg":11.7721552,"altitude":23,"angle":187,"satellites":31,"speed":9,"hex_longitude":"2d0d2ac0","hex_latitude":"070449d0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323906304001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27592630846095360,"note":"Value kept but may cause issues"} 
[2026-08-11 09:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949274389093783552,"note":"Value kept but may cause issues"} 
[2026-08-11 09:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786421514000,"timestamp_ms":1786421514000,"timestamp_seconds":1786421514,"priority":1,"record_length":96,"hex_timestamp":"0000019fef050f10"} 
[2026-08-11 09:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:42:35] 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-08-11 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:42:35] 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-08-11 09: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-08-11 09:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154813,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154813,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323906304001,"66":14450,"17":206,"94":11008,"24":9,"16":27592630846095360,"45":949274389093783552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323906304001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:42:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27592630846095360,"km_value":27592630846095.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":949274389093783552,"description":"Unknown IO ID 45"} 
[2026-08-11 09:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323906304001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":949274389093783552}} 
[2026-08-11 09:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":154813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624274,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:42:35] local.INFO: GPS data processed {"connection_id":154813,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:42:35] local.INFO: Acknowledgment sent {"connection_id":154813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:42:43] local.INFO: TCP Data received {"connection_id":153434,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef034220012d8e2780060febb80018003b2f..."} 
[2026-08-11 09:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef034220012d8e2780060febb80018003b2f..."} 
[2026-08-11 09:42:43] local.INFO: Processing buffer {"connection_id":153434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef034220012d8e2780060febb80018003b2f..."} 
[2026-08-11 09:42:43] local.INFO: Packet analysis {"connection_id":153434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef03"} 
[2026-08-11 09:42:43] local.INFO: Extracted packet for processing {"connection_id":153434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef03"} 
[2026-08-11 09:42:43] local.INFO: GPS Element Parsed {"raw_longitude":764290944,"raw_latitude":101706680,"longitude_deg":76.4290944,"latitude_deg":10.170668,"altitude":24,"angle":59,"satellites":47,"speed":8,"hex_longitude":"2d8e2780","hex_latitude":"060febb8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323875840001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377269553618485248,"note":"Value kept but may cause issues"} 
[2026-08-11 09:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8204221488892829696,"note":"Value kept but may cause issues"} 
[2026-08-11 09:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786421396000,"timestamp_ms":1786421396000,"timestamp_seconds":1786421396,"priority":1,"record_length":96,"hex_timestamp":"0000019fef034220"} 
[2026-08-11 09:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":212,"data_length":795,"current_offset":136} 
[2026-08-11 09:42:43] 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-08-11 09: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-08-11 09:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:42:43] 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-08-11 09:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323875840001,"66":27843,"208":206,"79":46592,"24":8,"16":377269553618485248,"45":-8204221488892829696},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,79,24,16,45]} 
[2026-08-11 09:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323875840001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:42:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-11 09:42:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-11 09:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377269553618485248,"km_value":377269553618485.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8204221488892829696,"description":"Unknown IO ID 45"} 
[2026-08-11 09:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323875840001,"power":27843,"unknown_208":206,"unknown_79":46592,"ignition":8,"odometer":null,"unknown_45":-8204221488892829696}} 
[2026-08-11 09:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":153434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:42:43] local.INFO: GPS data processed {"connection_id":153434,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:42:43] local.INFO: Acknowledgment sent {"connection_id":153434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:43:06] local.INFO: TCP Data received {"connection_id":154813,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef053620012d0d294007044090001500c71f..."} 
[2026-08-11 09:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef053620012d0d294007044090001500c71f..."} 
[2026-08-11 09:43:06] local.INFO: Processing buffer {"connection_id":154813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef053620012d0d294007044090001500c71f..."} 
[2026-08-11 09:43:06] local.INFO: Packet analysis {"connection_id":154813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:43:06] local.INFO: Extracted packet for processing {"connection_id":154813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":755837248,"raw_latitude":117719184,"longitude_deg":75.5837248,"latitude_deg":11.7719184,"altitude":21,"angle":199,"satellites":31,"speed":13,"hex_longitude":"2d0d2940","hex_latitude":"07044090","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323907584001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27592751105179648,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948781807884161024,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786421524000,"timestamp_ms":1786421524000,"timestamp_seconds":1786421524,"priority":1,"record_length":96,"hex_timestamp":"0000019fef053620"} 
[2026-08-11 09:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:43:06] 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-08-11 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 09:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154813,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154813,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323907584001,"66":14428,"17":206,"94":11008,"24":13,"16":27592751105179648,"45":948781807884161024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323907584001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:43:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27592751105179648,"km_value":27592751105179.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":948781807884161024,"description":"Unknown IO ID 45"} 
[2026-08-11 09:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323907584001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":948781807884161024}} 
[2026-08-11 09:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":154813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624276,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:43:06] local.INFO: GPS data processed {"connection_id":154813,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:43:06] local.INFO: Acknowledgment sent {"connection_id":154813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:43:14] local.INFO: TCP Data received {"connection_id":153434,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef056500012d8ec5c0060faa00000e00732e..."} 
[2026-08-11 09:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef056500012d8ec5c0060faa00000e00732e..."} 
[2026-08-11 09:43:14] local.INFO: Processing buffer {"connection_id":153434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef056500012d8ec5c0060faa00000e00732e..."} 
[2026-08-11 09:43:14] local.INFO: Packet analysis {"connection_id":153434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:43:14] local.INFO: Extracted packet for processing {"connection_id":153434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:43:14] local.INFO: GPS Element Parsed {"raw_longitude":764331456,"raw_latitude":101689856,"longitude_deg":76.4331456,"latitude_deg":10.1689856,"altitude":14,"angle":115,"satellites":46,"speed":44,"hex_longitude":"2d8ec5c0","hex_latitude":"060faa00","is_valid_coordinates":true} 
[2026-08-11 09:43: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-08-11 09:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323911168001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377271731166904320,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8168403798109575168,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786421536000,"timestamp_ms":1786421536000,"timestamp_seconds":1786421536,"priority":1,"record_length":96,"hex_timestamp":"0000019fef056500"} 
[2026-08-11 09:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:43: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":97,"data_length":795,"current_offset":136} 
[2026-08-11 09:43:14] 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-08-11 09:43: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-08-11 09:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:43:14] 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-08-11 09:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323911168001,"66":27745,"197":206,"79":46848,"24":44,"16":377271731166904320,"45":-8168403798109575168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 09:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323911168001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:43:14] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 09:43:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377271731166904320,"km_value":377271731166904.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8168403798109575168,"description":"Unknown IO ID 45"} 
[2026-08-11 09:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323911168001,"power":27745,"unknown_197":206,"unknown_79":46848,"ignition":44,"odometer":null,"unknown_45":-8168403798109575168}} 
[2026-08-11 09:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":153434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:43:14] local.INFO: GPS data processed {"connection_id":153434,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:43:14] local.INFO: Acknowledgment sent {"connection_id":153434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:43:29] local.INFO: TCP Data received {"connection_id":152090,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152090,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:43:29] local.INFO: Processing buffer {"connection_id":152090,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:43:29] local.INFO: IMEI packet received {"connection_id":152090,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":152090,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:43:33] local.INFO: TCP Data received {"connection_id":152091,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:43:33] local.INFO: Processing buffer {"connection_id":152091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:43:33] local.INFO: IMEI packet received {"connection_id":152091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":152091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:43:34] local.INFO: TCP Data received {"connection_id":152090,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152090,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:43:34] local.INFO: Processing buffer {"connection_id":152090,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:43:34] local.INFO: IMEI packet received {"connection_id":152090,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":152090,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:43:35] local.INFO: TCP Data received {"connection_id":152090,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef056500012d0d2480070430d0001400bb1f..."} 
[2026-08-11 09:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef056500012d0d2480070430d0001400bb1f..."} 
[2026-08-11 09:43:35] local.INFO: Processing buffer {"connection_id":152090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef056500012d0d2480070430d0001400bb1f..."} 
[2026-08-11 09:43:35] local.INFO: Packet analysis {"connection_id":152090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:43:35] local.INFO: Extracted packet for processing {"connection_id":152090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:43:35] local.INFO: GPS Element Parsed {"raw_longitude":755836032,"raw_latitude":117715152,"longitude_deg":75.5836032,"latitude_deg":11.7715152,"altitude":20,"angle":187,"satellites":31,"speed":11,"hex_longitude":"2d0d2480","hex_latitude":"070430d0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323910144001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27592952968642560,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948359595418488832,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786421536000,"timestamp_ms":1786421536000,"timestamp_seconds":1786421536,"priority":1,"record_length":96,"hex_timestamp":"0000019fef056500"} 
[2026-08-11 09:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:43:35] 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-08-11 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:43:35] 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-08-11 09: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-08-11 09:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152090,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152090,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323910144001,"66":14515,"17":206,"94":11008,"24":11,"16":27592952968642560,"45":948359595418488832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323910144001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:43:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27592952968642560,"km_value":27592952968642.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":948359595418488832,"description":"Unknown IO ID 45"} 
[2026-08-11 09:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323910144001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":948359595418488832}} 
[2026-08-11 09:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":152090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624278,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:43:35] local.INFO: GPS data processed {"connection_id":152090,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:43:35] local.INFO: Acknowledgment sent {"connection_id":152090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:43:38] local.INFO: TCP Data received {"connection_id":152091,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:43:38] local.INFO: Processing buffer {"connection_id":152091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:43:38] local.INFO: IMEI packet received {"connection_id":152091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":152091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:43:39] local.INFO: TCP Data received {"connection_id":152091,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feefcf0f0012d7d350005ec0eb0000100a11d..."} 
[2026-08-11 09:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefcf0f0012d7d350005ec0eb0000100a11d..."} 
[2026-08-11 09:43:39] local.INFO: Processing buffer {"connection_id":152091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefcf0f0012d7d350005ec0eb0000100a11d..."} 
[2026-08-11 09:43:39] local.INFO: Packet analysis {"connection_id":152091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:43:39] local.INFO: Extracted packet for processing {"connection_id":152091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 09:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99356336,"longitude_deg":76.3180288,"latitude_deg":9.9356336,"altitude":1,"angle":161,"satellites":29,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323766272001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941905408,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786420982000,"timestamp_ms":1786420982000,"timestamp_seconds":1786420982,"priority":1,"record_length":96,"hex_timestamp":"0000019feefcf0f0"} 
[2026-08-11 09:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:43:39] 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-08-11 09: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 09:43:39] 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-08-11 09: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-08-11 09:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323766272001,"66":13091,"110":206,"87":13824,"24":0,"16":117607113781411840,"45":9022117453941905408},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323766272001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:43:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:43:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941905408,"description":"Unknown IO ID 45"} 
[2026-08-11 09:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323766272001,"power":13091,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941905408}} 
[2026-08-11 09:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":152091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:43:39] local.INFO: GPS data processed {"connection_id":152091,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:43:39] local.INFO: Acknowledgment sent {"connection_id":152091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:43:44] local.INFO: TCP Data received {"connection_id":152091,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feefd42f8012d7d350005ec0eb0000100a11c..."} 
[2026-08-11 09:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefd42f8012d7d350005ec0eb0000100a11c..."} 
[2026-08-11 09:43:44] local.INFO: Processing buffer {"connection_id":152091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefd42f8012d7d350005ec0eb0000100a11c..."} 
[2026-08-11 09:43:44] local.INFO: Packet analysis {"connection_id":152091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefd"} 
[2026-08-11 09:43:44] local.INFO: Extracted packet for processing {"connection_id":152091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefd"} 
[2026-08-11 09:43:44] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99356336,"longitude_deg":76.3180288,"latitude_deg":9.9356336,"altitude":1,"angle":161,"satellites":28,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323771392001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941878784,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786421003000,"timestamp_ms":1786421003000,"timestamp_seconds":1786421003,"priority":1,"record_length":96,"hex_timestamp":"0000019feefd42f8"} 
[2026-08-11 09:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:43: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-08-11 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-11 09:43:44] 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-08-11 09: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-08-11 09:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323771392001,"66":13319,"110":206,"87":13824,"24":0,"16":117607113781411840,"45":9022117453941878784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323771392001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:43:44] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:43:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941878784,"description":"Unknown IO ID 45"} 
[2026-08-11 09:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323771392001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941878784}} 
[2026-08-11 09:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":152091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:43:44] local.INFO: GPS data processed {"connection_id":152091,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:43:44] local.INFO: Acknowledgment sent {"connection_id":152091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:43:46] local.INFO: TCP Data received {"connection_id":153434,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef058828012d8ee840060f9930000c00722f..."} 
[2026-08-11 09:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef058828012d8ee840060f9930000c00722f..."} 
[2026-08-11 09:43:46] local.INFO: Processing buffer {"connection_id":153434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef058828012d8ee840060f9930000c00722f..."} 
[2026-08-11 09:43:46] local.INFO: Packet analysis {"connection_id":153434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:43:46] local.INFO: Extracted packet for processing {"connection_id":153434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":764340288,"raw_latitude":101685552,"longitude_deg":76.4340288,"latitude_deg":10.1685552,"altitude":12,"angle":114,"satellites":47,"speed":41,"hex_longitude":"2d8ee840","hex_latitude":"060f9930","is_valid_coordinates":true} 
[2026-08-11 09:43: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-08-11 09:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323913216001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377272203613306880,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8158904017646649344,"note":"Value kept but may cause issues"} 
[2026-08-11 09:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786421545000,"timestamp_ms":1786421545000,"timestamp_seconds":1786421545,"priority":1,"record_length":96,"hex_timestamp":"0000019fef058828"} 
[2026-08-11 09:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:43: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-08-11 09:43: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-08-11 09:43: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-08-11 09:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:43:46] 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-08-11 09:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323913216001,"66":27887,"197":206,"79":46848,"24":41,"16":377272203613306880,"45":-8158904017646649344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 09:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323913216001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:43:46] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 09:43:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377272203613306880,"km_value":377272203613306.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8158904017646649344,"description":"Unknown IO ID 45"} 
[2026-08-11 09:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323913216001,"power":27887,"unknown_197":206,"unknown_79":46848,"ignition":41,"odometer":null,"unknown_45":-8158904017646649344}} 
[2026-08-11 09:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":153434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:43:46] local.INFO: GPS data processed {"connection_id":153434,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:43:46] local.INFO: Acknowledgment sent {"connection_id":153434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:44:06] local.INFO: TCP Data received {"connection_id":152090,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0574a0012d0d248007042a78001400ac1e..."} 
[2026-08-11 09:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0574a0012d0d248007042a78001400ac1e..."} 
[2026-08-11 09:44:06] local.INFO: Processing buffer {"connection_id":152090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0574a0012d0d248007042a78001400ac1e..."} 
[2026-08-11 09:44:06] local.INFO: Packet analysis {"connection_id":152090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:44:06] local.INFO: Extracted packet for processing {"connection_id":152090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:44:06] local.INFO: GPS Element Parsed {"raw_longitude":755836032,"raw_latitude":117713528,"longitude_deg":75.5836032,"latitude_deg":11.7713528,"altitude":20,"angle":172,"satellites":30,"speed":18,"hex_longitude":"2d0d2480","hex_latitude":"07042a78","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323913216001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27593034573021184,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947022589278081024,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786421540000,"timestamp_ms":1786421540000,"timestamp_seconds":1786421540,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0574a0"} 
[2026-08-11 09:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:44:06] 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-08-11 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 09:44:06] 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-08-11 09: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-08-11 09:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152090,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152090,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323913216001,"66":13961,"17":206,"94":11008,"24":18,"16":27593034573021184,"45":947022589278081024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323913216001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:44:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27593034573021184,"km_value":27593034573021.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":947022589278081024,"description":"Unknown IO ID 45"} 
[2026-08-11 09:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323913216001,"power":13961,"axis_x":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":947022589278081024}} 
[2026-08-11 09:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":152090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624282,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:44:06] local.INFO: GPS data processed {"connection_id":152090,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:44:06] local.INFO: Acknowledgment sent {"connection_id":152090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:44:16] local.INFO: TCP Data received {"connection_id":152091,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feefd9500012d7d350005ec0eb0000100a11e..."} 
[2026-08-11 09:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefd9500012d7d350005ec0eb0000100a11e..."} 
[2026-08-11 09:44:16] local.INFO: Processing buffer {"connection_id":152091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefd9500012d7d350005ec0eb0000100a11e..."} 
[2026-08-11 09:44:16] local.INFO: Packet analysis {"connection_id":152091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefd"} 
[2026-08-11 09:44:16] local.INFO: Extracted packet for processing {"connection_id":152091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefd"} 
[2026-08-11 09:44:16] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99356336,"longitude_deg":76.3180288,"latitude_deg":9.9356336,"altitude":1,"angle":161,"satellites":30,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323776768001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941878784,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786421024000,"timestamp_ms":1786421024000,"timestamp_seconds":1786421024,"priority":1,"record_length":96,"hex_timestamp":"0000019feefd9500"} 
[2026-08-11 09:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:44: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-08-11 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 09:44:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4009522160,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:16] local.WARNING: Large IO value detected {"io_id":238,"raw_value":4237504513,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:16] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1337569097930841856,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-11 09:44:16] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3540451328,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960592384,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:16] local.WARNING: Large IO value detected {"io_id":192,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:16] local.WARNING: Large IO value detected {"io_id":252,"raw_value":5820903813262213125,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:16] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,110,87,24,241,157,16,211,159,240,45,14,1,29,10,66,162,15,37,151,7,227,238,236,4,113,205,139,53,120,35,239,52,2,161,5,192,252],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-11 09:44:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72234735669084160,"timestamp_seconds":72234735669084.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 09:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323776768001,"66":12961,"110":206,"87":13824,"24":0,"16":117607113781411840,"45":9022117453941878784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323776768001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:44:16] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:44:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941878784,"description":"Unknown IO ID 45"} 
[2026-08-11 09:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323776768001,"power":12961,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941878784}} 
[2026-08-11 09:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":152091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:44:16] local.INFO: GPS data processed {"connection_id":152091,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:44:16] local.INFO: Acknowledgment sent {"connection_id":152091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:44:20] local.INFO: TCP Data received {"connection_id":152477,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:44:20] local.INFO: Processing buffer {"connection_id":152477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:44:20] local.INFO: IMEI packet received {"connection_id":152477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":152477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:44:25] local.INFO: TCP Data received {"connection_id":152477,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:44:25] local.INFO: Processing buffer {"connection_id":152477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:44:25] local.INFO: IMEI packet received {"connection_id":152477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":152477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:44:26] local.INFO: TCP Data received {"connection_id":152477,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef05ab50012d8f0c00060f8820000c007330..."} 
[2026-08-11 09:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef05ab50012d8f0c00060f8820000c007330..."} 
[2026-08-11 09:44:26] local.INFO: Processing buffer {"connection_id":152477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef05ab50012d8f0c00060f8820000c007330..."} 
[2026-08-11 09:44:26] local.INFO: Packet analysis {"connection_id":152477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:44:26] local.INFO: Extracted packet for processing {"connection_id":152477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:44:26] local.INFO: GPS Element Parsed {"raw_longitude":764349440,"raw_latitude":101681184,"longitude_deg":76.434944,"latitude_deg":10.1681184,"altitude":12,"angle":115,"satellites":48,"speed":46,"hex_longitude":"2d8f0c00","hex_latitude":"060f8820","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323915520001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377272688944611328,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8149193130951233536,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786421554000,"timestamp_ms":1786421554000,"timestamp_seconds":1786421554,"priority":1,"record_length":96,"hex_timestamp":"0000019fef05ab50"} 
[2026-08-11 09:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 09:44:26] 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-08-11 09: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-08-11 09:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:44:26] 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-08-11 09:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323915520001,"66":27995,"197":206,"79":46848,"24":46,"16":377272688944611328,"45":-8149193130951233536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 09:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323915520001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:44:26] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 09:44:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377272688944611328,"km_value":377272688944611.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8149193130951233536,"description":"Unknown IO ID 45"} 
[2026-08-11 09:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323915520001,"power":27995,"unknown_197":206,"unknown_79":46848,"ignition":46,"odometer":null,"unknown_45":-8149193130951233536}} 
[2026-08-11 09:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":152477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:44:26] local.INFO: GPS data processed {"connection_id":152477,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:44:26] local.INFO: Acknowledgment sent {"connection_id":152477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:44:29] local.INFO: TCP Data received {"connection_id":153438,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153438,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:44:29] local.INFO: Processing buffer {"connection_id":153438,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:44:29] local.INFO: IMEI packet received {"connection_id":153438,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":153438,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:44:33] local.INFO: TCP Data received {"connection_id":153439,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:44:33] local.INFO: Processing buffer {"connection_id":153439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:44:33] local.INFO: IMEI packet received {"connection_id":153439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":153439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:44:34] local.INFO: TCP Data received {"connection_id":153438,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153438,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:44:34] local.INFO: Processing buffer {"connection_id":153438,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:44:34] local.INFO: IMEI packet received {"connection_id":153438,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":153438,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:44:34] local.INFO: TCP Data received {"connection_id":153438,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0739c0012d0d2cc00703cc280015012b1d..."} 
[2026-08-11 09:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0739c0012d0d2cc00703cc280015012b1d..."} 
[2026-08-11 09:44:34] local.INFO: Processing buffer {"connection_id":153438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0739c0012d0d2cc00703cc280015012b1d..."} 
[2026-08-11 09:44:34] local.INFO: Packet analysis {"connection_id":153438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:44:34] local.INFO: Extracted packet for processing {"connection_id":153438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:44:34] local.INFO: GPS Element Parsed {"raw_longitude":755838144,"raw_latitude":117689384,"longitude_deg":75.5838144,"latitude_deg":11.7689384,"altitude":21,"angle":299,"satellites":29,"speed":2,"hex_longitude":"2d0d2cc0","hex_latitude":"0703cc28","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323942656001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27594318768242688,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949696601550200832,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 09:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786421656000,"timestamp_ms":1786421656000,"timestamp_seconds":1786421656,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0739c0"} 
[2026-08-11 09:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:44:34] 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-08-11 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 09:44:34] 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-08-11 09: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-08-11 09:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153438,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153438,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323942656001,"66":14580,"16":27594318768242688,"94":11008,"24":2,"45":949696601550200832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 09:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323942656001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27594318768242688,"km_value":27594318768242.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:44:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":949696601550200832,"description":"Unknown IO ID 45"} 
[2026-08-11 09:44:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457323942656001,"power":14580,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":949696601550200832}} 
[2026-08-11 09:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":153438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624285,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:44:35] local.INFO: GPS data processed {"connection_id":153438,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:44:35] local.INFO: Acknowledgment sent {"connection_id":153438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:44:38] local.INFO: TCP Data received {"connection_id":153439,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:44:38] local.INFO: Processing buffer {"connection_id":153439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:44:38] local.INFO: IMEI packet received {"connection_id":153439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":153439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:44:40] local.INFO: TCP Data received {"connection_id":153439,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feefdb058012d7d350005ec0eb0000100a11d..."} 
[2026-08-11 09:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefdb058012d7d350005ec0eb0000100a11d..."} 
[2026-08-11 09:44:40] local.INFO: Processing buffer {"connection_id":153439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefdb058012d7d350005ec0eb0000100a11d..."} 
[2026-08-11 09:44:40] local.INFO: Packet analysis {"connection_id":153439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefd"} 
[2026-08-11 09:44:40] local.INFO: Extracted packet for processing {"connection_id":153439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefd"} 
[2026-08-11 09:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99356336,"longitude_deg":76.3180288,"latitude_deg":9.9356336,"altitude":1,"angle":161,"satellites":29,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-11 09:44: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-08-11 09:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323782144001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941878784,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786421031000,"timestamp_ms":1786421031000,"timestamp_seconds":1786421031,"priority":1,"record_length":96,"hex_timestamp":"0000019feefdb058"} 
[2026-08-11 09:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:44:40] 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-08-11 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-11 09:44:40] 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-08-11 09: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-08-11 09:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323782144001,"66":13243,"110":206,"87":13824,"24":0,"16":117607113781411840,"45":9022117453941878784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323782144001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:44:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:44:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941878784,"description":"Unknown IO ID 45"} 
[2026-08-11 09:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323782144001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941878784}} 
[2026-08-11 09:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":153439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:44:40] local.INFO: GPS data processed {"connection_id":153439,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:44:40] local.INFO: Acknowledgment sent {"connection_id":153439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:44:58] local.INFO: TCP Data received {"connection_id":152477,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef05ce78012d8f2e80060f7718000c00752e..."} 
[2026-08-11 09:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef05ce78012d8f2e80060f7718000c00752e..."} 
[2026-08-11 09:44:58] local.INFO: Processing buffer {"connection_id":152477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef05ce78012d8f2e80060f7718000c00752e..."} 
[2026-08-11 09:44:58] local.INFO: Packet analysis {"connection_id":152477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:44:58] local.INFO: Extracted packet for processing {"connection_id":152477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:44:58] local.INFO: GPS Element Parsed {"raw_longitude":764358272,"raw_latitude":101676824,"longitude_deg":76.4358272,"latitude_deg":10.1676824,"altitude":12,"angle":117,"satellites":46,"speed":37,"hex_longitude":"2d8f2e80","hex_latitude":"060f7718","is_valid_coordinates":true} 
[2026-08-11 09:44: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-08-11 09:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323917824001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377273161391013888,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8139130400534945792,"note":"Value kept but may cause issues"} 
[2026-08-11 09:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786421563000,"timestamp_ms":1786421563000,"timestamp_seconds":1786421563,"priority":1,"record_length":96,"hex_timestamp":"0000019fef05ce78"} 
[2026-08-11 09:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:44: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 09:44:58] 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-08-11 09:44: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-08-11 09:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:44:58] 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-08-11 09:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323917824001,"66":27539,"197":206,"79":46848,"24":37,"16":377273161391013888,"45":-8139130400534945792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 09:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323917824001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:44:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 09:44:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377273161391013888,"km_value":377273161391013.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8139130400534945792,"description":"Unknown IO ID 45"} 
[2026-08-11 09:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323917824001,"power":27539,"unknown_197":206,"unknown_79":46848,"ignition":37,"odometer":null,"unknown_45":-8139130400534945792}} 
[2026-08-11 09:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":152477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:44:58] local.INFO: GPS data processed {"connection_id":152477,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:44:58] local.INFO: Acknowledgment sent {"connection_id":152477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:45:06] local.INFO: TCP Data received {"connection_id":153438,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef073da8012d0d2cc00703cc680015013d1d..."} 
[2026-08-11 09:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef073da8012d0d2cc00703cc680015013d1d..."} 
[2026-08-11 09:45:06] local.INFO: Processing buffer {"connection_id":153438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef073da8012d0d2cc00703cc680015013d1d..."} 
[2026-08-11 09:45:06] local.INFO: Packet analysis {"connection_id":153438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:45:06] local.INFO: Extracted packet for processing {"connection_id":153438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:45:06] local.INFO: GPS Element Parsed {"raw_longitude":755838144,"raw_latitude":117689448,"longitude_deg":75.5838144,"latitude_deg":11.7689448,"altitude":21,"angle":317,"satellites":29,"speed":4,"hex_longitude":"2d0d2cc0","hex_latitude":"0703cc68","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323943936001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27594323063209984,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949344757829347328,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 09:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786421657000,"timestamp_ms":1786421657000,"timestamp_seconds":1786421657,"priority":1,"record_length":96,"hex_timestamp":"0000019fef073da8"} 
[2026-08-11 09:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:45:06] 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-08-11 09: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-11 09:45:06] 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-08-11 09: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-08-11 09:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153438,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153438,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323943936001,"66":14428,"16":27594323063209984,"94":11008,"24":4,"45":949344757829347328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 09:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323943936001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27594323063209984,"km_value":27594323063209.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:45:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":949344757829347328,"description":"Unknown IO ID 45"} 
[2026-08-11 09:45:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457323943936001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":4,"unknown_45":949344757829347328}} 
[2026-08-11 09:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":153438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624288,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:45:06] local.INFO: GPS data processed {"connection_id":153438,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:45:06] local.INFO: Acknowledgment sent {"connection_id":153438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:45:12] local.INFO: TCP Data received {"connection_id":153439,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feefdb058012d7d350005ec0eb0000100a11d..."} 
[2026-08-11 09:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefdb058012d7d350005ec0eb0000100a11d..."} 
[2026-08-11 09:45:12] local.INFO: Processing buffer {"connection_id":153439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefdb058012d7d350005ec0eb0000100a11d..."} 
[2026-08-11 09:45:12] local.INFO: Packet analysis {"connection_id":153439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefd"} 
[2026-08-11 09:45:12] local.INFO: Extracted packet for processing {"connection_id":153439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefd"} 
[2026-08-11 09:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99356336,"longitude_deg":76.3180288,"latitude_deg":9.9356336,"altitude":1,"angle":161,"satellites":29,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-11 09:45:12] 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-08-11 09:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323783936001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941878784,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786421031000,"timestamp_ms":1786421031000,"timestamp_seconds":1786421031,"priority":1,"record_length":96,"hex_timestamp":"0000019feefdb058"} 
[2026-08-11 09:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:45:12] 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-08-11 09:45: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 09:45:12] 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-08-11 09:45: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-08-11 09:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323783936001,"66":13243,"110":206,"87":13824,"24":0,"16":117607113781411840,"45":9022117453941878784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323783936001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:45:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:45:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941878784,"description":"Unknown IO ID 45"} 
[2026-08-11 09:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323783936001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941878784}} 
[2026-08-11 09:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":153439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:45:12] local.INFO: GPS data processed {"connection_id":153439,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:45:12] local.INFO: Acknowledgment sent {"connection_id":153439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:45:25] local.INFO: TCP Data received {"connection_id":154814,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:45:25] local.INFO: Processing buffer {"connection_id":154814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:45:25] local.INFO: IMEI packet received {"connection_id":154814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":154814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:45:29] local.INFO: TCP Data received {"connection_id":152092,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152092,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:45:29] local.INFO: Processing buffer {"connection_id":152092,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:45:29] local.INFO: IMEI packet received {"connection_id":152092,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":152092,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:45:30] local.INFO: TCP Data received {"connection_id":154814,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:45:30] local.INFO: Processing buffer {"connection_id":154814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:45:30] local.INFO: IMEI packet received {"connection_id":154814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":154814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:45:31] local.INFO: TCP Data received {"connection_id":154814,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef05f1a0012d8f4e80060f6798000c00732f..."} 
[2026-08-11 09:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef05f1a0012d8f4e80060f6798000c00732f..."} 
[2026-08-11 09:45:31] local.INFO: Processing buffer {"connection_id":154814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef05f1a0012d8f4e80060f6798000c00732f..."} 
[2026-08-11 09:45:31] local.INFO: Packet analysis {"connection_id":154814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:45:31] local.INFO: Extracted packet for processing {"connection_id":154814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef05"} 
[2026-08-11 09:45:31] local.INFO: GPS Element Parsed {"raw_longitude":764366464,"raw_latitude":101672856,"longitude_deg":76.4366464,"latitude_deg":10.1672856,"altitude":12,"angle":115,"satellites":47,"speed":40,"hex_longitude":"2d8f4e80","hex_latitude":"060f6798","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323920128001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377273595182710784,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8129419513839544320,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786421572000,"timestamp_ms":1786421572000,"timestamp_seconds":1786421572,"priority":1,"record_length":96,"hex_timestamp":"0000019fef05f1a0"} 
[2026-08-11 09:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 09:45:31] 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-08-11 09: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-08-11 09:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:45:31] 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-08-11 09:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323920128001,"66":27930,"197":206,"79":46848,"24":40,"16":377273595182710784,"45":-8129419513839544320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 09:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323920128001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:45:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 09:45:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377273595182710784,"km_value":377273595182710.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8129419513839544320,"description":"Unknown IO ID 45"} 
[2026-08-11 09:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323920128001,"power":27930,"unknown_197":206,"unknown_79":46848,"ignition":40,"odometer":null,"unknown_45":-8129419513839544320}} 
[2026-08-11 09:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":154814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:45:31] local.INFO: GPS data processed {"connection_id":154814,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:45:31] local.INFO: Acknowledgment sent {"connection_id":154814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:45:33] local.INFO: TCP Data received {"connection_id":152092,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152092,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:45:33] local.INFO: Processing buffer {"connection_id":152092,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:45:33] local.INFO: IMEI packet received {"connection_id":152092,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":152092,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:45:33] local.INFO: TCP Data received {"connection_id":152478,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:45:33] local.INFO: Processing buffer {"connection_id":152478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:45:33] local.INFO: IMEI packet received {"connection_id":152478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":152478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:45:34] local.INFO: TCP Data received {"connection_id":152092,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152092,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:45:34] local.INFO: Processing buffer {"connection_id":152092,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:45:34] local.INFO: IMEI packet received {"connection_id":152092,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":152092,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:45:34] local.INFO: TCP Data received {"connection_id":152092,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef074190012d0d2c800703ccd00015014c1e..."} 
[2026-08-11 09:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef074190012d0d2c800703ccd00015014c1e..."} 
[2026-08-11 09:45:34] local.INFO: Processing buffer {"connection_id":152092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef074190012d0d2c800703ccd00015014c1e..."} 
[2026-08-11 09:45:34] local.INFO: Packet analysis {"connection_id":152092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:45:34] local.INFO: Extracted packet for processing {"connection_id":152092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:45:34] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117689552,"longitude_deg":75.583808,"latitude_deg":11.7689552,"altitude":21,"angle":332,"satellites":30,"speed":5,"hex_longitude":"2d0d2c80","hex_latitude":"0703ccd0","is_valid_coordinates":true} 
[2026-08-11 09:45: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-08-11 09:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323944192001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27594327358177280,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949344757829363712,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 09:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786421658000,"timestamp_ms":1786421658000,"timestamp_seconds":1786421658,"priority":1,"record_length":96,"hex_timestamp":"0000019fef074190"} 
[2026-08-11 09:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:45:34] 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-08-11 09:45: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:45:34] 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-08-11 09:45: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-08-11 09:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323944192001,"66":14428,"16":27594327358177280,"94":11008,"24":5,"45":949344757829363712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 09:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323944192001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27594327358177280,"km_value":27594327358177.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:45:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":949344757829363712,"description":"Unknown IO ID 45"} 
[2026-08-11 09:45:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457323944192001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":5,"unknown_45":949344757829363712}} 
[2026-08-11 09:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":152092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624291,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:45:35] local.INFO: GPS data processed {"connection_id":152092,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:45:35] local.INFO: Acknowledgment sent {"connection_id":152092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:45:36] local.INFO: TCP Data received {"connection_id":154814,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0643a8012d8f6600060f5cd8000c007430..."} 
[2026-08-11 09:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0643a8012d8f6600060f5cd8000c007430..."} 
[2026-08-11 09:45:36] local.INFO: Processing buffer {"connection_id":154814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0643a8012d8f6600060f5cd8000c007430..."} 
[2026-08-11 09:45:36] local.INFO: Packet analysis {"connection_id":154814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef06"} 
[2026-08-11 09:45:36] local.INFO: Extracted packet for processing {"connection_id":154814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef06"} 
[2026-08-11 09:45:36] local.INFO: GPS Element Parsed {"raw_longitude":764372480,"raw_latitude":101670104,"longitude_deg":76.437248,"latitude_deg":10.1670104,"altitude":12,"angle":116,"satellites":48,"speed":0,"hex_longitude":"2d8f6600","hex_latitude":"060f5cd8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323922432001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377273913010290688,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8120412314585819136,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786421593000,"timestamp_ms":1786421593000,"timestamp_seconds":1786421593,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0643a8"} 
[2026-08-11 09:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":26,"data_length":795,"current_offset":136} 
[2026-08-11 09:45: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-08-11 09: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-08-11 09:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:45:36] 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-08-11 09:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323922432001,"66":27745,"197":206,"79":46848,"24":0,"16":377273913010290688,"45":-8120412314585819136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 09:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323922432001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:45:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 09:45:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377273913010290688,"km_value":377273913010290.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8120412314585819136,"description":"Unknown IO ID 45"} 
[2026-08-11 09:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323922432001,"power":27745,"unknown_197":206,"unknown_79":46848,"ignition":0,"odometer":null,"unknown_45":-8120412314585819136}} 
[2026-08-11 09:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":154814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:45:36] local.INFO: GPS data processed {"connection_id":154814,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:45:36] local.INFO: Acknowledgment sent {"connection_id":154814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:45:37] local.INFO: TCP Data received {"connection_id":152092,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef074578012d0d2c400703cd680015015b1e..."} 
[2026-08-11 09:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef074578012d0d2c400703cd680015015b1e..."} 
[2026-08-11 09:45:37] local.INFO: Processing buffer {"connection_id":152092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef074578012d0d2c400703cd680015015b1e..."} 
[2026-08-11 09:45:37] local.INFO: Packet analysis {"connection_id":152092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:45:37] local.INFO: Extracted packet for processing {"connection_id":152092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:45:37] local.INFO: GPS Element Parsed {"raw_longitude":755838016,"raw_latitude":117689704,"longitude_deg":75.5838016,"latitude_deg":11.7689704,"altitude":21,"angle":347,"satellites":30,"speed":6,"hex_longitude":"2d0d2c40","hex_latitude":"0703cd68","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323944448001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27594335948111872,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949274389085212672,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 09:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786421659000,"timestamp_ms":1786421659000,"timestamp_seconds":1786421659,"priority":1,"record_length":96,"hex_timestamp":"0000019fef074578"} 
[2026-08-11 09:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:45:37] 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-08-11 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:45:37] 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-08-11 09: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-08-11 09:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323944448001,"66":13678,"16":27594335948111872,"94":11008,"24":6,"45":949274389085212672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 09:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323944448001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27594335948111872,"km_value":27594335948111.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:45:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":949274389085212672,"description":"Unknown IO ID 45"} 
[2026-08-11 09:45:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457323944448001,"power":13678,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":949274389085212672}} 
[2026-08-11 09:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":152092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624293,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:45:38] local.INFO: GPS data processed {"connection_id":152092,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:45:38] local.INFO: Acknowledgment sent {"connection_id":152092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:45:38] local.INFO: TCP Data received {"connection_id":152478,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:45:38] local.INFO: Processing buffer {"connection_id":152478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:45:38] local.INFO: IMEI packet received {"connection_id":152478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":152478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:45:39] local.INFO: TCP Data received {"connection_id":152478,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feefdd768012d7d350005ec0eb0000100a119..."} 
[2026-08-11 09:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefdd768012d7d350005ec0eb0000100a119..."} 
[2026-08-11 09:45:39] local.INFO: Processing buffer {"connection_id":152478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefdd768012d7d350005ec0eb0000100a119..."} 
[2026-08-11 09:45:39] local.INFO: Packet analysis {"connection_id":152478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefd"} 
[2026-08-11 09:45:39] local.INFO: Extracted packet for processing {"connection_id":152478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefd"} 
[2026-08-11 09:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99356336,"longitude_deg":76.3180288,"latitude_deg":9.9356336,"altitude":1,"angle":161,"satellites":25,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-11 09:45:39] 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-08-11 09:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323783936001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941878784,"note":"Value kept but may cause issues"} 
[2026-08-11 09:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786421041000,"timestamp_ms":1786421041000,"timestamp_seconds":1786421041,"priority":1,"record_length":96,"hex_timestamp":"0000019feefdd768"} 
[2026-08-11 09:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:45:39] 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-08-11 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 09:45:39] 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-08-11 09: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-08-11 09:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323783936001,"66":13102,"110":206,"87":13824,"24":0,"16":117607113781411840,"45":9022117453941878784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323783936001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:45:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:45:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941878784,"description":"Unknown IO ID 45"} 
[2026-08-11 09:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323783936001,"power":13102,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941878784}} 
[2026-08-11 09:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":152478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:45:39] local.INFO: GPS data processed {"connection_id":152478,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:45:39] local.INFO: Acknowledgment sent {"connection_id":152478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:46:09] local.INFO: TCP Data received {"connection_id":152092,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0787e0012d0d29000703e8e8001701661e..."} 
[2026-08-11 09:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0787e0012d0d29000703e8e8001701661e..."} 
[2026-08-11 09:46:09] local.INFO: Processing buffer {"connection_id":152092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0787e0012d0d29000703e8e8001701661e..."} 
[2026-08-11 09:46:09] local.INFO: Packet analysis {"connection_id":152092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:46:09] local.INFO: Extracted packet for processing {"connection_id":152092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:46:09] local.INFO: GPS Element Parsed {"raw_longitude":755837184,"raw_latitude":117696744,"longitude_deg":75.5837184,"latitude_deg":11.7696744,"altitude":23,"angle":358,"satellites":30,"speed":15,"hex_longitude":"2d0d2900","hex_latitude":"0703e8e8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323944704001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27594683840462848,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949204020341073920,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 09:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786421676000,"timestamp_ms":1786421676000,"timestamp_seconds":1786421676,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0787e0"} 
[2026-08-11 09:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:46: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-08-11 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-11 09:46: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-08-11 09: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-08-11 09:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323944704001,"66":14450,"16":27594683840462848,"94":11008,"24":15,"45":949204020341073920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 09:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323944704001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27594683840462848,"km_value":27594683840462.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:46:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":949204020341073920,"description":"Unknown IO ID 45"} 
[2026-08-11 09:46:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457323944704001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":15,"unknown_45":949204020341073920}} 
[2026-08-11 09:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":152092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624295,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:46:09] local.INFO: GPS data processed {"connection_id":152092,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:46:09] local.INFO: Acknowledgment sent {"connection_id":152092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:46:11] local.INFO: TCP Data received {"connection_id":152478,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019feefdd768012d7d350005ec0eb0000100a119..."} 
[2026-08-11 09:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefdd768012d7d350005ec0eb0000100a119..."} 
[2026-08-11 09:46:11] local.INFO: Processing buffer {"connection_id":152478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefdd768012d7d350005ec0eb0000100a119..."} 
[2026-08-11 09:46:11] local.INFO: Packet analysis {"connection_id":152478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefd"} 
[2026-08-11 09:46:11] local.INFO: Extracted packet for processing {"connection_id":152478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefd"} 
[2026-08-11 09:46:11] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99356336,"longitude_deg":76.3180288,"latitude_deg":9.9356336,"altitude":1,"angle":161,"satellites":25,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-11 09:46:11] 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-08-11 09:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323786496001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941878784,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786421041000,"timestamp_ms":1786421041000,"timestamp_seconds":1786421041,"priority":1,"record_length":96,"hex_timestamp":"0000019feefdd768"} 
[2026-08-11 09:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:46:11] 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-08-11 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 09:46:11] 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-08-11 09: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-08-11 09:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323786496001,"66":13102,"110":206,"87":13824,"24":0,"16":117607113781411840,"45":9022117453941878784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 09:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323786496001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:46:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 09:46:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941878784,"description":"Unknown IO ID 45"} 
[2026-08-11 09:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323786496001,"power":13102,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941878784}} 
[2026-08-11 09:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":152478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:46:11] local.INFO: GPS data processed {"connection_id":152478,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:46:11] local.INFO: Acknowledgment sent {"connection_id":152478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:46:19] local.INFO: TCP Data received {"connection_id":154815,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:46:19] local.INFO: Processing buffer {"connection_id":154815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:46:19] local.INFO: IMEI packet received {"connection_id":154815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":154815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:46:20] local.INFO: TCP Data received {"connection_id":154815,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:46:20] local.INFO: Processing buffer {"connection_id":154815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:46:20] local.INFO: IMEI packet received {"connection_id":154815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":154815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:46:25] local.INFO: TCP Data received {"connection_id":154815,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:46:25] local.INFO: Processing buffer {"connection_id":154815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:46:25] local.INFO: IMEI packet received {"connection_id":154815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":154815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:46:26] local.INFO: TCP Data received {"connection_id":154815,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0695b0012d8f6700060f5ca0000d00742e..."} 
[2026-08-11 09:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0695b0012d8f6700060f5ca0000d00742e..."} 
[2026-08-11 09:46:26] local.INFO: Processing buffer {"connection_id":154815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0695b0012d8f6700060f5ca0000d00742e..."} 
[2026-08-11 09:46:26] local.INFO: Packet analysis {"connection_id":154815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef06"} 
[2026-08-11 09:46:26] local.INFO: Extracted packet for processing {"connection_id":154815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef06"} 
[2026-08-11 09:46:26] local.INFO: GPS Element Parsed {"raw_longitude":764372736,"raw_latitude":101670048,"longitude_deg":76.4372736,"latitude_deg":10.1670048,"altitude":13,"angle":116,"satellites":46,"speed":0,"hex_longitude":"2d8f6700","hex_latitude":"060f5ca0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323927808001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377273925895192576,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8113797652633823232,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786421614000,"timestamp_ms":1786421614000,"timestamp_seconds":1786421614,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0695b0"} 
[2026-08-11 09:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 09:46:26] 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-08-11 09: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-08-11 09:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:46:26] 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-08-11 09:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323927808001,"66":27832,"197":206,"79":46848,"24":0,"16":377273925895192576,"45":-8113797652633823232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 09:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323927808001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:46:26] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 09:46:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377273925895192576,"km_value":377273925895192.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8113797652633823232,"description":"Unknown IO ID 45"} 
[2026-08-11 09:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323927808001,"power":27832,"unknown_197":206,"unknown_79":46848,"ignition":0,"odometer":null,"unknown_45":-8113797652633823232}} 
[2026-08-11 09:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":154815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:46:26] local.INFO: GPS data processed {"connection_id":154815,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:46:26] local.INFO: Acknowledgment sent {"connection_id":154815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:46:29] local.INFO: TCP Data received {"connection_id":152093,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152093,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:46:29] local.INFO: Processing buffer {"connection_id":152093,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:46:29] local.INFO: IMEI packet received {"connection_id":152093,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":152093,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:46:33] local.INFO: TCP Data received {"connection_id":152094,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:46:33] local.INFO: Processing buffer {"connection_id":152094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:46:33] local.INFO: IMEI packet received {"connection_id":152094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":152094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:46:34] local.INFO: TCP Data received {"connection_id":152093,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152093,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:46:34] local.INFO: Processing buffer {"connection_id":152093,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:46:34] local.INFO: IMEI packet received {"connection_id":152093,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":152093,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:46:34] local.INFO: TCP Data received {"connection_id":152093,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef07d9e8012d0d27c0070406b8001700081e..."} 
[2026-08-11 09:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef07d9e8012d0d27c0070406b8001700081e..."} 
[2026-08-11 09:46:34] local.INFO: Processing buffer {"connection_id":152093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef07d9e8012d0d27c0070406b8001700081e..."} 
[2026-08-11 09:46:34] local.INFO: Packet analysis {"connection_id":152093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:46:34] local.INFO: Extracted packet for processing {"connection_id":152093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:46:34] local.INFO: GPS Element Parsed {"raw_longitude":755836864,"raw_latitude":117704376,"longitude_deg":75.5836864,"latitude_deg":11.7704376,"altitude":23,"angle":8,"satellites":30,"speed":11,"hex_longitude":"2d0d27c0","hex_latitude":"070406b8","is_valid_coordinates":true} 
[2026-08-11 09:46: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-08-11 09:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323949056001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27595053207650304,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948289226668566528,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 09:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786421697000,"timestamp_ms":1786421697000,"timestamp_seconds":1786421697,"priority":1,"record_length":96,"hex_timestamp":"0000019fef07d9e8"} 
[2026-08-11 09:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:46:34] 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-08-11 09:46: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 09:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:46: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-08-11 09:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323949056001,"66":14407,"16":27595053207650304,"94":11008,"24":11,"45":948289226668566528},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 09:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323949056001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27595053207650304,"km_value":27595053207650.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:46:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":948289226668566528,"description":"Unknown IO ID 45"} 
[2026-08-11 09:46:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457323949056001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":948289226668566528}} 
[2026-08-11 09:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":152093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624298,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:46:34] local.INFO: GPS data processed {"connection_id":152093,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:46:34] local.INFO: Acknowledgment sent {"connection_id":152093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:46:38] local.INFO: TCP Data received {"connection_id":152094,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:46:38] local.INFO: Processing buffer {"connection_id":152094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:46:38] local.INFO: IMEI packet received {"connection_id":152094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":152094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:46:39] local.INFO: TCP Data received {"connection_id":152094,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef067670012d7d358005ec0ea8000500a11d..."} 
[2026-08-11 09:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef067670012d7d358005ec0ea8000500a11d..."} 
[2026-08-11 09:46:39] local.INFO: Processing buffer {"connection_id":152094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef067670012d7d358005ec0ea8000500a11d..."} 
[2026-08-11 09:46:39] local.INFO: Packet analysis {"connection_id":152094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef06"} 
[2026-08-11 09:46:39] local.INFO: Extracted packet for processing {"connection_id":152094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef06"} 
[2026-08-11 09:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323786496001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941878784,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786421606000,"timestamp_ms":1786421606000,"timestamp_seconds":1786421606,"priority":1,"record_length":96,"hex_timestamp":"0000019fef067670"} 
[2026-08-11 09:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:46:39] 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-08-11 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 09:46:39] 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-08-11 09: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-08-11 09:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323786496001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022117453941878784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323786496001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:46:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:46:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941878784,"description":"Unknown IO ID 45"} 
[2026-08-11 09:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323786496001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941878784}} 
[2026-08-11 09:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":152094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:46:39] local.INFO: GPS data processed {"connection_id":152094,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:46:39] local.INFO: Acknowledgment sent {"connection_id":152094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:46:57] local.INFO: TCP Data received {"connection_id":154815,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef06e7b8012d8f67c0060f5c78000f00742d..."} 
[2026-08-11 09:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef06e7b8012d8f67c0060f5c78000f00742d..."} 
[2026-08-11 09:46:57] local.INFO: Processing buffer {"connection_id":154815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef06e7b8012d8f67c0060f5c78000f00742d..."} 
[2026-08-11 09:46:57] local.INFO: Packet analysis {"connection_id":154815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef06"} 
[2026-08-11 09:46:57] local.INFO: Extracted packet for processing {"connection_id":154815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef06"} 
[2026-08-11 09:46:57] local.INFO: GPS Element Parsed {"raw_longitude":764372928,"raw_latitude":101670008,"longitude_deg":76.4372928,"latitude_deg":10.1670008,"altitude":15,"angle":116,"satellites":45,"speed":0,"hex_longitude":"2d8f67c0","hex_latitude":"060f5c78","is_valid_coordinates":true} 
[2026-08-11 09:46: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-08-11 09:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323933184001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377273938780094464,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8113516177657126912,"note":"Value kept but may cause issues"} 
[2026-08-11 09:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786421635000,"timestamp_ms":1786421635000,"timestamp_seconds":1786421635,"priority":1,"record_length":96,"hex_timestamp":"0000019fef06e7b8"} 
[2026-08-11 09:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:46: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":184,"data_length":795,"current_offset":136} 
[2026-08-11 09:46:57] 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-08-11 09:46: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-08-11 09:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:46:57] 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-08-11 09:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323933184001,"66":27974,"197":206,"79":46848,"24":0,"16":377273938780094464,"45":-8113516177657126912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 09:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323933184001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:46:57] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 09:46:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377273938780094464,"km_value":377273938780094.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8113516177657126912,"description":"Unknown IO ID 45"} 
[2026-08-11 09:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323933184001,"power":27974,"unknown_197":206,"unknown_79":46848,"ignition":0,"odometer":null,"unknown_45":-8113516177657126912}} 
[2026-08-11 09:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":154815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:46:57] local.INFO: GPS data processed {"connection_id":154815,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:46:57] local.INFO: Acknowledgment sent {"connection_id":154815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:47:06] local.INFO: TCP Data received {"connection_id":152093,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef096c40012d0d3200070463b80015000722..."} 
[2026-08-11 09:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef096c40012d0d3200070463b80015000722..."} 
[2026-08-11 09:47:06] local.INFO: Processing buffer {"connection_id":152093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef096c40012d0d3200070463b80015000722..."} 
[2026-08-11 09:47:06] local.INFO: Packet analysis {"connection_id":152093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef09"} 
[2026-08-11 09:47:06] local.INFO: Extracted packet for processing {"connection_id":152093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef09"} 
[2026-08-11 09:47:06] local.INFO: GPS Element Parsed {"raw_longitude":755839488,"raw_latitude":117728184,"longitude_deg":75.5839488,"latitude_deg":11.7728184,"altitude":21,"angle":7,"satellites":34,"speed":13,"hex_longitude":"2d0d3200","hex_latitude":"070463b8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323979008001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27596247208558592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950048445280573440,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786421800000,"timestamp_ms":1786421800000,"timestamp_seconds":1786421800,"priority":1,"record_length":96,"hex_timestamp":"0000019fef096c40"} 
[2026-08-11 09:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:47:06] 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-08-11 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 09:47:06] 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-08-11 09: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-08-11 09:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323979008001,"66":14461,"17":206,"94":11008,"24":13,"16":27596247208558592,"45":950048445280573440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323979008001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:47:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27596247208558592,"km_value":27596247208558.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":950048445280573440,"description":"Unknown IO ID 45"} 
[2026-08-11 09:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323979008001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":950048445280573440}} 
[2026-08-11 09:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":152093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624301,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:47:06] local.INFO: GPS data processed {"connection_id":152093,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:47:06] local.INFO: Acknowledgment sent {"connection_id":152093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:47:11] local.INFO: TCP Data received {"connection_id":152094,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef067670012d7d358005ec0ea8000500a11d..."} 
[2026-08-11 09:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef067670012d7d358005ec0ea8000500a11d..."} 
[2026-08-11 09:47:11] local.INFO: Processing buffer {"connection_id":152094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef067670012d7d358005ec0ea8000500a11d..."} 
[2026-08-11 09:47:11] local.INFO: Packet analysis {"connection_id":152094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef06"} 
[2026-08-11 09:47:11] local.INFO: Extracted packet for processing {"connection_id":152094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef06"} 
[2026-08-11 09:47:11] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323786496001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941878784,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786421606000,"timestamp_ms":1786421606000,"timestamp_seconds":1786421606,"priority":1,"record_length":96,"hex_timestamp":"0000019fef067670"} 
[2026-08-11 09:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:47:11] 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-08-11 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 09:47:11] 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-08-11 09: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-08-11 09:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323786496001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022117453941878784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323786496001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:47:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:47:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941878784,"description":"Unknown IO ID 45"} 
[2026-08-11 09:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323786496001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941878784}} 
[2026-08-11 09:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":152094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:47:11] local.INFO: GPS data processed {"connection_id":152094,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:47:11] local.INFO: Acknowledgment sent {"connection_id":152094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:47:20] local.INFO: TCP Data received {"connection_id":152479,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:47:20] local.INFO: Processing buffer {"connection_id":152479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:47:20] local.INFO: IMEI packet received {"connection_id":152479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":152479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:47:22] local.INFO: TCP Data received {"connection_id":152479,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:47:22] local.INFO: Processing buffer {"connection_id":152479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:47:22] local.INFO: IMEI packet received {"connection_id":152479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":152479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:47:22] local.INFO: TCP Data received {"connection_id":152479,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0739c0012d8f68c0060f5c200010007430..."} 
[2026-08-11 09:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0739c0012d8f68c0060f5c200010007430..."} 
[2026-08-11 09:47:22] local.INFO: Processing buffer {"connection_id":152479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0739c0012d8f68c0060f5c200010007430..."} 
[2026-08-11 09:47:22] local.INFO: Packet analysis {"connection_id":152479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:47:22] local.INFO: Extracted packet for processing {"connection_id":152479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:47:22] local.INFO: GPS Element Parsed {"raw_longitude":764373184,"raw_latitude":101669920,"longitude_deg":76.4373184,"latitude_deg":10.166992,"altitude":16,"angle":116,"satellites":48,"speed":0,"hex_longitude":"2d8f68c0","hex_latitude":"060f5c20","is_valid_coordinates":true} 
[2026-08-11 09:47: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-08-11 09:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323938560001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377273947370029056,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8113305071424604160,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786421656000,"timestamp_ms":1786421656000,"timestamp_seconds":1786421656,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0739c0"} 
[2026-08-11 09:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:47: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 09:47:22] 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-08-11 09:47: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-08-11 09:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:47:22] 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-08-11 09:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323938560001,"66":27908,"197":206,"79":46848,"24":0,"16":377273947370029056,"45":-8113305071424604160},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 09:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323938560001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:47:22] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 09:47:22] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377273947370029056,"km_value":377273947370029.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8113305071424604160,"description":"Unknown IO ID 45"} 
[2026-08-11 09:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323938560001,"power":27908,"unknown_197":206,"unknown_79":46848,"ignition":0,"odometer":null,"unknown_45":-8113305071424604160}} 
[2026-08-11 09:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":152479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:47:22] local.INFO: GPS data processed {"connection_id":152479,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:47:22] local.INFO: Acknowledgment sent {"connection_id":152479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:47:33] local.INFO: TCP Data received {"connection_id":154817,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:47:33] local.INFO: Processing buffer {"connection_id":154817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:47:33] local.INFO: IMEI packet received {"connection_id":154817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":154817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:47:34] local.INFO: TCP Data received {"connection_id":154816,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154816,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:47:34] local.INFO: Processing buffer {"connection_id":154816,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:47:34] local.INFO: IMEI packet received {"connection_id":154816,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":154816,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:47:38] local.INFO: TCP Data received {"connection_id":154817,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:47:38] local.INFO: Processing buffer {"connection_id":154817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:47:38] local.INFO: IMEI packet received {"connection_id":154817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":154817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:47:39] local.INFO: TCP Data received {"connection_id":154816,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154816,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:47:39] local.INFO: Processing buffer {"connection_id":154816,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:47:39] local.INFO: IMEI packet received {"connection_id":154816,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":154816,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:47:39] local.INFO: TCP Data received {"connection_id":154817,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef067670012d7d358005ec0ea8000500a11d..."} 
[2026-08-11 09:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef067670012d7d358005ec0ea8000500a11d..."} 
[2026-08-11 09:47:39] local.INFO: Processing buffer {"connection_id":154817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef067670012d7d358005ec0ea8000500a11d..."} 
[2026-08-11 09:47:39] local.INFO: Packet analysis {"connection_id":154817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef06"} 
[2026-08-11 09:47:39] local.INFO: Extracted packet for processing {"connection_id":154817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef06"} 
[2026-08-11 09:47:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323786496001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941878784,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786421606000,"timestamp_ms":1786421606000,"timestamp_seconds":1786421606,"priority":1,"record_length":96,"hex_timestamp":"0000019fef067670"} 
[2026-08-11 09:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:47:39] 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-08-11 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 09:47:39] 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-08-11 09: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-08-11 09:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323786496001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022117453941878784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323786496001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:47:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:47:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941878784,"description":"Unknown IO ID 45"} 
[2026-08-11 09:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323786496001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941878784}} 
[2026-08-11 09:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":154817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:47:39] local.INFO: GPS data processed {"connection_id":154817,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:47:39] local.INFO: Acknowledgment sent {"connection_id":154817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:47:40] local.INFO: TCP Data received {"connection_id":154816,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef097fc8012d0d338007046bf80015001522..."} 
[2026-08-11 09:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef097fc8012d0d338007046bf80015001522..."} 
[2026-08-11 09:47:40] local.INFO: Processing buffer {"connection_id":154816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef097fc8012d0d338007046bf80015001522..."} 
[2026-08-11 09:47:40] local.INFO: Packet analysis {"connection_id":154816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef09"} 
[2026-08-11 09:47:40] local.INFO: Extracted packet for processing {"connection_id":154816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef09"} 
[2026-08-11 09:47:40] local.INFO: GPS Element Parsed {"raw_longitude":755839872,"raw_latitude":117730296,"longitude_deg":75.5839872,"latitude_deg":11.7730296,"altitude":21,"angle":21,"satellites":34,"speed":19,"hex_longitude":"2d0d3380","hex_latitude":"07046bf8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323980800001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27596350287773696,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950822501467011072,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786421805000,"timestamp_ms":1786421805000,"timestamp_seconds":1786421805,"priority":1,"record_length":96,"hex_timestamp":"0000019fef097fc8"} 
[2026-08-11 09:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:47:40] 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-08-11 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 09:47:40] 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-08-11 09: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-08-11 09:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154816,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154816,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323980800001,"66":14461,"17":206,"94":11008,"24":19,"16":27596350287773696,"45":950822501467011072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323980800001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:47:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27596350287773696,"km_value":27596350287773.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":950822501467011072,"description":"Unknown IO ID 45"} 
[2026-08-11 09:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323980800001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":950822501467011072}} 
[2026-08-11 09:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":154816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624305,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:47:40] local.INFO: GPS data processed {"connection_id":154816,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:47:40] local.INFO: Acknowledgment sent {"connection_id":154816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:47:44] local.INFO: TCP Data received {"connection_id":154816,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef099738012d0d3740070476500015000a21..."} 
[2026-08-11 09:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef099738012d0d3740070476500015000a21..."} 
[2026-08-11 09:47:44] local.INFO: Processing buffer {"connection_id":154816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef099738012d0d3740070476500015000a21..."} 
[2026-08-11 09:47:44] local.INFO: Packet analysis {"connection_id":154816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef09"} 
[2026-08-11 09:47:44] local.INFO: Extracted packet for processing {"connection_id":154816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef09"} 
[2026-08-11 09:47:44] local.INFO: GPS Element Parsed {"raw_longitude":755840832,"raw_latitude":117732944,"longitude_deg":75.5840832,"latitude_deg":11.7732944,"altitude":21,"angle":10,"satellites":33,"speed":16,"hex_longitude":"2d0d3740","hex_latitude":"07047650","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323982080001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27596487726727168,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951244713932617728,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786421811000,"timestamp_ms":1786421811000,"timestamp_seconds":1786421811,"priority":1,"record_length":96,"hex_timestamp":"0000019fef099738"} 
[2026-08-11 09:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:47:44] 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-08-11 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 09:47:44] 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-08-11 09: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-08-11 09:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154816,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154816,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323982080001,"66":14407,"17":206,"94":11008,"24":16,"16":27596487726727168,"45":951244713932617728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323982080001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:47:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27596487726727168,"km_value":27596487726727.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":951244713932617728,"description":"Unknown IO ID 45"} 
[2026-08-11 09:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323982080001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":951244713932617728}} 
[2026-08-11 09:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":154816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624306,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:47:44] local.INFO: GPS data processed {"connection_id":154816,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:47:44] local.INFO: Acknowledgment sent {"connection_id":154816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:47:53] local.INFO: TCP Data received {"connection_id":152479,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef078bc8012d8f7240060f57980011007230..."} 
[2026-08-11 09:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef078bc8012d8f7240060f57980011007230..."} 
[2026-08-11 09:47:53] local.INFO: Processing buffer {"connection_id":152479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef078bc8012d8f7240060f57980011007230..."} 
[2026-08-11 09:47:53] local.INFO: Packet analysis {"connection_id":152479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:47:53] local.INFO: Extracted packet for processing {"connection_id":152479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:47:53] local.INFO: GPS Element Parsed {"raw_longitude":764375616,"raw_latitude":101668760,"longitude_deg":76.4375616,"latitude_deg":10.166876,"altitude":17,"angle":114,"satellites":48,"speed":0,"hex_longitude":"2d8f7240","hex_latitude":"060f5798","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323943936001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377274080514015232,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8113023596447916032,"note":"Value kept but may cause issues"} 
[2026-08-11 09:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786421677000,"timestamp_ms":1786421677000,"timestamp_seconds":1786421677,"priority":1,"record_length":96,"hex_timestamp":"0000019fef078bc8"} 
[2026-08-11 09:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 09:47:53] 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-08-11 09: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-08-11 09:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:47:53] 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-08-11 09:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323943936001,"66":27974,"197":206,"79":46848,"24":0,"16":377274080514015232,"45":-8113023596447916032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 09:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323943936001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:47:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 09:47:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377274080514015232,"km_value":377274080514015.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8113023596447916032,"description":"Unknown IO ID 45"} 
[2026-08-11 09:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323943936001,"power":27974,"unknown_197":206,"unknown_79":46848,"ignition":0,"odometer":null,"unknown_45":-8113023596447916032}} 
[2026-08-11 09:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":152479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:47:53] local.INFO: GPS data processed {"connection_id":152479,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:47:53] local.INFO: Acknowledgment sent {"connection_id":152479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:48:11] local.INFO: TCP Data received {"connection_id":154817,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef067670012d7d358005ec0ea8000500a11d..."} 
[2026-08-11 09:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef067670012d7d358005ec0ea8000500a11d..."} 
[2026-08-11 09:48:11] local.INFO: Processing buffer {"connection_id":154817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef067670012d7d358005ec0ea8000500a11d..."} 
[2026-08-11 09:48:11] local.INFO: Packet analysis {"connection_id":154817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef06"} 
[2026-08-11 09:48:11] local.INFO: Extracted packet for processing {"connection_id":154817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef06"} 
[2026-08-11 09:48:11] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323786496001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941878784,"note":"Value kept but may cause issues"} 
[2026-08-11 09:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786421606000,"timestamp_ms":1786421606000,"timestamp_seconds":1786421606,"priority":1,"record_length":96,"hex_timestamp":"0000019fef067670"} 
[2026-08-11 09:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:48:11] 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-08-11 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 09:48:11] 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-08-11 09: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-08-11 09:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":154817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":154817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":154817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323786496001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022117453941878784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323786496001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:48:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:48:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941878784,"description":"Unknown IO ID 45"} 
[2026-08-11 09:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323786496001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941878784}} 
[2026-08-11 09:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":154817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:48:11] local.INFO: GPS data processed {"connection_id":154817,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:48:11] local.INFO: Acknowledgment sent {"connection_id":154817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:48:20] local.INFO: TCP Data received {"connection_id":152095,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:48:20] local.INFO: Processing buffer {"connection_id":152095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:48:20] local.INFO: IMEI packet received {"connection_id":152095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":152095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:48:25] local.INFO: TCP Data received {"connection_id":152095,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:48:25] local.INFO: Processing buffer {"connection_id":152095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:48:25] local.INFO: IMEI packet received {"connection_id":152095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":152095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:48:26] local.INFO: TCP Data received {"connection_id":152095,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef07ddd0012d8f7380060f56800013007230..."} 
[2026-08-11 09:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef07ddd0012d8f7380060f56800013007230..."} 
[2026-08-11 09:48:26] local.INFO: Processing buffer {"connection_id":152095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef07ddd0012d8f7380060f56800013007230..."} 
[2026-08-11 09:48:26] local.INFO: Packet analysis {"connection_id":152095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:48:26] local.INFO: Extracted packet for processing {"connection_id":152095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef07"} 
[2026-08-11 09:48:26] local.INFO: GPS Element Parsed {"raw_longitude":764375936,"raw_latitude":101668480,"longitude_deg":76.4375936,"latitude_deg":10.166848,"altitude":19,"angle":114,"satellites":48,"speed":3,"hex_longitude":"2d8f7380","hex_latitude":"060f5680","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323949312001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377274097693884416,"note":"Value kept but may cause issues"} 
[2026-08-11 09:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8110349584169461760,"note":"Value kept but may cause issues"} 
[2026-08-11 09:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786421698000,"timestamp_ms":1786421698000,"timestamp_seconds":1786421698,"priority":1,"record_length":96,"hex_timestamp":"0000019fef07ddd0"} 
[2026-08-11 09:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 09:48:26] 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-08-11 09: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-08-11 09:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:48:26] 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-08-11 09:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323949312001,"66":27908,"197":206,"79":46848,"24":3,"16":377274097693884416,"45":-8110349584169461760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 09:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323949312001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:48:26] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 09:48:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377274097693884416,"km_value":377274097693884.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8110349584169461760,"description":"Unknown IO ID 45"} 
[2026-08-11 09:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323949312001,"power":27908,"unknown_197":206,"unknown_79":46848,"ignition":3,"odometer":null,"unknown_45":-8110349584169461760}} 
[2026-08-11 09:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":152095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:48:26] local.INFO: GPS data processed {"connection_id":152095,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:48:26] local.INFO: Acknowledgment sent {"connection_id":152095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:48:29] local.INFO: TCP Data received {"connection_id":152096,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152096,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:48:29] local.INFO: Processing buffer {"connection_id":152096,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:48:29] local.INFO: IMEI packet received {"connection_id":152096,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":152096,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:48:32] local.INFO: TCP Data received {"connection_id":152096,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152096,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:48:32] local.INFO: Processing buffer {"connection_id":152096,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:48:32] local.INFO: IMEI packet received {"connection_id":152096,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":152096,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:48:33] local.INFO: TCP Data received {"connection_id":153440,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:48:33] local.INFO: Processing buffer {"connection_id":153440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:48:33] local.INFO: IMEI packet received {"connection_id":153440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":153440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:48:33] local.INFO: TCP Data received {"connection_id":152096,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef09e940012d0d39c007048fc80015000522..."} 
[2026-08-11 09:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef09e940012d0d39c007048fc80015000522..."} 
[2026-08-11 09:48:33] local.INFO: Processing buffer {"connection_id":152096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef09e940012d0d39c007048fc80015000522..."} 
[2026-08-11 09:48:33] local.INFO: Packet analysis {"connection_id":152096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef09"} 
[2026-08-11 09:48:33] local.INFO: Extracted packet for processing {"connection_id":152096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef09"} 
[2026-08-11 09:48:33] local.INFO: GPS Element Parsed {"raw_longitude":755841472,"raw_latitude":117739464,"longitude_deg":75.5841472,"latitude_deg":11.7739464,"altitude":21,"angle":5,"satellites":34,"speed":12,"hex_longitude":"2d0d39c0","hex_latitude":"07048fc8","is_valid_coordinates":true} 
[2026-08-11 09:48: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-08-11 09:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323983616001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27596809849274368,"note":"Value kept but may cause issues"} 
[2026-08-11 09:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952300245095960576,"note":"Value kept but may cause issues"} 
[2026-08-11 09:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786421832000,"timestamp_ms":1786421832000,"timestamp_seconds":1786421832,"priority":1,"record_length":96,"hex_timestamp":"0000019fef09e940"} 
[2026-08-11 09:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:48:33] 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-08-11 09:48: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":71,"data_length":795,"current_offset":136} 
[2026-08-11 09:48:33] 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-08-11 09:48: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-08-11 09:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323983616001,"66":13580,"17":206,"94":11008,"24":12,"16":27596809849274368,"45":952300245095960576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323983616001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:48:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27596809849274368,"km_value":27596809849274.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":952300245095960576,"description":"Unknown IO ID 45"} 
[2026-08-11 09:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323983616001,"power":13580,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":952300245095960576}} 
[2026-08-11 09:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":152096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624310,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:48:33] local.INFO: GPS data processed {"connection_id":152096,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:48:33] local.INFO: Acknowledgment sent {"connection_id":152096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:48:38] local.INFO: TCP Data received {"connection_id":153440,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:48:38] local.INFO: Processing buffer {"connection_id":153440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:48:38] local.INFO: IMEI packet received {"connection_id":153440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":153440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:48:39] local.INFO: TCP Data received {"connection_id":153440,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:48:39] local.INFO: Processing buffer {"connection_id":153440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:48:39] local.INFO: Packet analysis {"connection_id":153440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:48:39] local.INFO: Extracted packet for processing {"connection_id":153440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":28,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323931136001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786421907000,"timestamp_ms":1786421907000,"timestamp_seconds":1786421907,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0b0e38"} 
[2026-08-11 09:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323931136001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323931136001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:48:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:48:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323931136001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":153440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:48:39] local.INFO: GPS data processed {"connection_id":153440,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:48:39] local.INFO: Acknowledgment sent {"connection_id":153440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:48:57] local.INFO: TCP Data received {"connection_id":152095,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef082808012d8f7b40060f52f8001300652f..."} 
[2026-08-11 09:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef082808012d8f7b40060f52f8001300652f..."} 
[2026-08-11 09:48:57] local.INFO: Processing buffer {"connection_id":152095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef082808012d8f7b40060f52f8001300652f..."} 
[2026-08-11 09:48:57] local.INFO: Packet analysis {"connection_id":152095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef08"} 
[2026-08-11 09:48:57] local.INFO: Extracted packet for processing {"connection_id":152095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef08"} 
[2026-08-11 09:48:57] local.INFO: GPS Element Parsed {"raw_longitude":764377920,"raw_latitude":101667576,"longitude_deg":76.437792,"latitude_deg":10.1667576,"altitude":19,"angle":101,"satellites":47,"speed":7,"hex_longitude":"2d8f7b40","hex_latitude":"060f52f8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323954688001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377274205068066816,"note":"Value kept but may cause issues"} 
[2026-08-11 09:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8109997740448645120,"note":"Value kept but may cause issues"} 
[2026-08-11 09:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786421717000,"timestamp_ms":1786421717000,"timestamp_seconds":1786421717,"priority":1,"record_length":96,"hex_timestamp":"0000019fef082808"} 
[2026-08-11 09:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 09:48: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-08-11 09: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-08-11 09:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:48:57] 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-08-11 09:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323954688001,"66":27865,"197":206,"79":46848,"24":7,"16":377274205068066816,"45":-8109997740448645120},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 09:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323954688001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:48:57] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 09:48:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377274205068066816,"km_value":377274205068066.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8109997740448645120,"description":"Unknown IO ID 45"} 
[2026-08-11 09:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323954688001,"power":27865,"unknown_197":206,"unknown_79":46848,"ignition":7,"odometer":null,"unknown_45":-8109997740448645120}} 
[2026-08-11 09:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":152095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:48:57] local.INFO: GPS data processed {"connection_id":152095,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:48:57] local.INFO: Acknowledgment sent {"connection_id":152095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:49:10] local.INFO: TCP Data received {"connection_id":152096,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0b77b0012d0ccb000704bfd0002100fe1f..."} 
[2026-08-11 09:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0b77b0012d0ccb000704bfd0002100fe1f..."} 
[2026-08-11 09:49:10] local.INFO: Processing buffer {"connection_id":152096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0b77b0012d0ccb000704bfd0002100fe1f..."} 
[2026-08-11 09:49:10] local.INFO: Packet analysis {"connection_id":152096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:49:10] local.INFO: Extracted packet for processing {"connection_id":152096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:49:10] local.INFO: GPS Element Parsed {"raw_longitude":755813120,"raw_latitude":117751760,"longitude_deg":75.581312,"latitude_deg":11.775176,"altitude":33,"angle":254,"satellites":31,"speed":25,"hex_longitude":"2d0ccb00","hex_latitude":"0704bfd0","is_valid_coordinates":true} 
[2026-08-11 09:49: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-08-11 09:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324012544001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27598725404688384,"note":"Value kept but may cause issues"} 
[2026-08-11 09:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928234134591901696,"note":"Value kept but may cause issues"} 
[2026-08-11 09:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786421934000,"timestamp_ms":1786421934000,"timestamp_seconds":1786421934,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0b77b0"} 
[2026-08-11 09:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:49:10] 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-08-11 09:49: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:49:10] 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-08-11 09:49: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-08-11 09:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324012544001,"66":14428,"17":206,"94":11008,"24":25,"16":27598725404688384,"45":928234134591901696},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324012544001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:49:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27598725404688384,"km_value":27598725404688.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":928234134591901696,"description":"Unknown IO ID 45"} 
[2026-08-11 09:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324012544001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":928234134591901696}} 
[2026-08-11 09:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":152096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624313,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:49:11] local.INFO: GPS data processed {"connection_id":152096,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:49:11] local.INFO: Acknowledgment sent {"connection_id":152096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:49:20] local.INFO: TCP Data received {"connection_id":154818,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:49:20] local.INFO: Processing buffer {"connection_id":154818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:49:20] local.INFO: IMEI packet received {"connection_id":154818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":154818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:49:21] local.INFO: TCP Data received {"connection_id":154818,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:49:21] local.INFO: Processing buffer {"connection_id":154818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:49:21] local.INFO: IMEI packet received {"connection_id":154818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":154818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:49:21] local.INFO: TCP Data received {"connection_id":153440,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:49:21] local.INFO: Processing buffer {"connection_id":153440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:49:21] local.INFO: Packet analysis {"connection_id":153440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:49:21] local.INFO: Extracted packet for processing {"connection_id":153440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:49:21] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":28,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323931136001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786421907000,"timestamp_ms":1786421907000,"timestamp_seconds":1786421907,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0b0e38"} 
[2026-08-11 09:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":153440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":153440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":153440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323931136001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323931136001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:49:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:49:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323931136001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":153440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:49:21] local.INFO: GPS data processed {"connection_id":153440,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:49:21] local.INFO: Acknowledgment sent {"connection_id":153440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:49:25] local.INFO: TCP Data received {"connection_id":154818,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:49:25] local.INFO: Processing buffer {"connection_id":154818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:49:25] local.INFO: IMEI packet received {"connection_id":154818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":154818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:49:29] local.INFO: TCP Data received {"connection_id":152480,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152480,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:49:29] local.INFO: Processing buffer {"connection_id":152480,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:49:29] local.INFO: IMEI packet received {"connection_id":152480,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":152480,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:49:33] local.INFO: TCP Data received {"connection_id":154819,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:49:33] local.INFO: Processing buffer {"connection_id":154819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:49:33] local.INFO: IMEI packet received {"connection_id":154819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":154819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:49:34] local.INFO: TCP Data received {"connection_id":152480,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152480,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:49:34] local.INFO: Processing buffer {"connection_id":152480,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:49:34] local.INFO: IMEI packet received {"connection_id":152480,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":152480,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:49:38] local.INFO: TCP Data received {"connection_id":152480,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0b9308012d0cba800704bbe80021010b20..."} 
[2026-08-11 09:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0b9308012d0cba800704bbe80021010b20..."} 
[2026-08-11 09:49:38] local.INFO: Processing buffer {"connection_id":152480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0b9308012d0cba800704bbe80021010b20..."} 
[2026-08-11 09:49:38] local.INFO: Packet analysis {"connection_id":152480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:49:38] local.INFO: Extracted packet for processing {"connection_id":152480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:49:38] local.INFO: GPS Element Parsed {"raw_longitude":755808896,"raw_latitude":117750760,"longitude_deg":75.5808896,"latitude_deg":11.775076,"altitude":33,"angle":267,"satellites":32,"speed":24,"hex_longitude":"2d0cba80","hex_latitude":"0704bbe8","is_valid_coordinates":true} 
[2026-08-11 09:49: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-08-11 09:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324015104001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27598935858085888,"note":"Value kept but may cause issues"} 
[2026-08-11 09:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":921830578871848960,"note":"Value kept but may cause issues"} 
[2026-08-11 09:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786421941000,"timestamp_ms":1786421941000,"timestamp_seconds":1786421941,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0b9308"} 
[2026-08-11 09:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:49:38] 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-08-11 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:49:38] 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-08-11 09: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-08-11 09:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152480,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152480,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324015104001,"66":14428,"17":206,"94":11008,"24":24,"16":27598935858085888,"45":921830578871848960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324015104001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:49:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27598935858085888,"km_value":27598935858085.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":921830578871848960,"description":"Unknown IO ID 45"} 
[2026-08-11 09:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324015104001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":921830578871848960}} 
[2026-08-11 09:49:38] local.INFO: TCP Data received {"connection_id":154819,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:49:38] local.INFO: Processing buffer {"connection_id":154819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:49:38] local.INFO: IMEI packet received {"connection_id":154819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":154819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":152480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624315,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:49:38] local.INFO: GPS data processed {"connection_id":152480,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:49:38] local.INFO: Acknowledgment sent {"connection_id":152480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:49:44] local.INFO: TCP Data received {"connection_id":154819,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:49:44] local.INFO: Processing buffer {"connection_id":154819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:49:44] local.INFO: Packet analysis {"connection_id":154819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:49:44] local.INFO: Extracted packet for processing {"connection_id":154819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:49:44] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":28,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09:49: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-08-11 09:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323931136001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786421907000,"timestamp_ms":1786421907000,"timestamp_seconds":1786421907,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0b0e38"} 
[2026-08-11 09:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09:49: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":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:49: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-08-11 09:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":154819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":154819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":154819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323931136001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323931136001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:49:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:49:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323931136001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":154819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:49:44] local.INFO: GPS data processed {"connection_id":154819,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:49:44] local.INFO: Acknowledgment sent {"connection_id":154819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:49:47] local.INFO: TCP Data received {"connection_id":154818,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0833c0012d8f7d00060f5250001300742f..."} 
[2026-08-11 09:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0833c0012d8f7d00060f5250001300742f..."} 
[2026-08-11 09:49:47] local.INFO: Processing buffer {"connection_id":154818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0833c0012d8f7d00060f5250001300742f..."} 
[2026-08-11 09:49:47] local.INFO: Packet analysis {"connection_id":154818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef08"} 
[2026-08-11 09:49:47] local.INFO: Extracted packet for processing {"connection_id":154818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef08"} 
[2026-08-11 09:49:47] local.INFO: GPS Element Parsed {"raw_longitude":764378368,"raw_latitude":101667408,"longitude_deg":76.4378368,"latitude_deg":10.1667408,"altitude":19,"angle":116,"satellites":47,"speed":7,"hex_longitude":"2d8f7d00","hex_latitude":"060f5250","is_valid_coordinates":true} 
[2026-08-11 09:49: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-08-11 09:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323959552001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377274230837870592,"note":"Value kept but may cause issues"} 
[2026-08-11 09:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8107816309379368960,"note":"Value kept but may cause issues"} 
[2026-08-11 09:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786421720000,"timestamp_ms":1786421720000,"timestamp_seconds":1786421720,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0833c0"} 
[2026-08-11 09:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:49: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":217,"data_length":795,"current_offset":136} 
[2026-08-11 09:49:47] 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-08-11 09:49: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-08-11 09:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:49:47] 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-08-11 09:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323959552001,"66":27865,"197":206,"79":46848,"24":7,"16":377274230837870592,"45":-8107816309379368960},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 09:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323959552001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:49:47] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 09:49:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377274230837870592,"km_value":377274230837870.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8107816309379368960,"description":"Unknown IO ID 45"} 
[2026-08-11 09:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323959552001,"power":27865,"unknown_197":206,"unknown_79":46848,"ignition":7,"odometer":null,"unknown_45":-8107816309379368960}} 
[2026-08-11 09:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":154818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:49:47] local.INFO: GPS data processed {"connection_id":154818,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:49:47] local.INFO: Acknowledgment sent {"connection_id":154818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:50:10] local.INFO: TCP Data received {"connection_id":152480,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0b96f0012d0cb8000704bc480021011a20..."} 
[2026-08-11 09:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0b96f0012d0cb8000704bc480021011a20..."} 
[2026-08-11 09:50:10] local.INFO: Processing buffer {"connection_id":152480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0b96f0012d0cb8000704bc480021011a20..."} 
[2026-08-11 09:50:10] local.INFO: Packet analysis {"connection_id":152480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:50:10] local.INFO: Extracted packet for processing {"connection_id":152480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:50:10] local.INFO: GPS Element Parsed {"raw_longitude":755808256,"raw_latitude":117750856,"longitude_deg":75.5808256,"latitude_deg":11.7750856,"altitude":33,"angle":282,"satellites":32,"speed":24,"hex_longitude":"2d0cb800","hex_latitude":"0704bc48","is_valid_coordinates":true} 
[2026-08-11 09:50: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-08-11 09:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324016896001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27598961627889664,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917186241755867136,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786421942000,"timestamp_ms":1786421942000,"timestamp_seconds":1786421942,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0b96f0"} 
[2026-08-11 09:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:50:10] 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-08-11 09:50: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:50:10] 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-08-11 09:50: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-08-11 09:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152480,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152480,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324016896001,"66":14428,"17":206,"94":11008,"24":24,"16":27598961627889664,"45":917186241755867136},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324016896001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:50:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27598961627889664,"km_value":27598961627889.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":917186241755867136,"description":"Unknown IO ID 45"} 
[2026-08-11 09:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324016896001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":917186241755867136}} 
[2026-08-11 09:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":152480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624318,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:50:10] local.INFO: GPS data processed {"connection_id":152480,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:50:10] local.INFO: Acknowledgment sent {"connection_id":152480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:50:15] local.INFO: TCP Data received {"connection_id":154819,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:50:15] local.INFO: Processing buffer {"connection_id":154819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:50:15] local.INFO: Packet analysis {"connection_id":154819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:50:15] local.INFO: Extracted packet for processing {"connection_id":154819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:50:15] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":28,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323931136001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786421907000,"timestamp_ms":1786421907000,"timestamp_seconds":1786421907,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0b0e38"} 
[2026-08-11 09:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323931136001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323931136001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:50:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:50:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323931136001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":154819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:50:15] local.INFO: GPS data processed {"connection_id":154819,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:50:15] local.INFO: Acknowledgment sent {"connection_id":154819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:50:20] local.INFO: TCP Data received {"connection_id":153441,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:50:20] local.INFO: Processing buffer {"connection_id":153441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:50:20] local.INFO: IMEI packet received {"connection_id":153441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":153441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:50:25] local.INFO: TCP Data received {"connection_id":153441,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:50:25] local.INFO: Processing buffer {"connection_id":153441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:50:25] local.INFO: IMEI packet received {"connection_id":153441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":153441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:50:26] local.INFO: TCP Data received {"connection_id":153441,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0b6040012d8fa8c0060f3708001600942f..."} 
[2026-08-11 09:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0b6040012d8fa8c0060f3708001600942f..."} 
[2026-08-11 09:50:26] local.INFO: Processing buffer {"connection_id":153441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0b6040012d8fa8c0060f3708001600942f..."} 
[2026-08-11 09:50:26] local.INFO: Packet analysis {"connection_id":153441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:50:26] local.INFO: Extracted packet for processing {"connection_id":153441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:50:26] local.INFO: GPS Element Parsed {"raw_longitude":764389568,"raw_latitude":101660424,"longitude_deg":76.4389568,"latitude_deg":10.1660424,"altitude":22,"angle":148,"satellites":47,"speed":11,"hex_longitude":"2d8fa8c0","hex_latitude":"060f3708","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324012288001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377274900852768768,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8095994360359075840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786421928000,"timestamp_ms":1786421928000,"timestamp_seconds":1786421928,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0b6040"} 
[2026-08-11 09:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 09:50:26] 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-08-11 09: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-08-11 09:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:50:26] 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-08-11 09:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324012288001,"66":28006,"197":206,"79":46848,"24":11,"16":377274900852768768,"45":-8095994360359075840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 09:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324012288001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:50:26] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 09:50:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377274900852768768,"km_value":377274900852768.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8095994360359075840,"description":"Unknown IO ID 45"} 
[2026-08-11 09:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324012288001,"power":28006,"unknown_197":206,"unknown_79":46848,"ignition":11,"odometer":null,"unknown_45":-8095994360359075840}} 
[2026-08-11 09:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":153441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:50:26] local.INFO: GPS data processed {"connection_id":153441,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:50:26] local.INFO: Acknowledgment sent {"connection_id":153441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:50:29] local.INFO: TCP Data received {"connection_id":153442,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:50:29] local.INFO: Processing buffer {"connection_id":153442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:50:29] local.INFO: IMEI packet received {"connection_id":153442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":153442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:50:33] local.INFO: TCP Data received {"connection_id":154820,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:50:33] local.INFO: Processing buffer {"connection_id":154820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:50:33] local.INFO: IMEI packet received {"connection_id":154820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":154820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:50:34] local.INFO: TCP Data received {"connection_id":153442,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:50:34] local.INFO: Processing buffer {"connection_id":153442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:50:34] local.INFO: IMEI packet received {"connection_id":153442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":153442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:50:35] local.INFO: TCP Data received {"connection_id":153442,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0baa78012d0cab400704c0d0002001281f..."} 
[2026-08-11 09:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0baa78012d0cab400704c0d0002001281f..."} 
[2026-08-11 09:50:35] local.INFO: Processing buffer {"connection_id":153442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0baa78012d0cab400704c0d0002001281f..."} 
[2026-08-11 09:50:35] local.INFO: Packet analysis {"connection_id":153442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:50:35] local.INFO: Extracted packet for processing {"connection_id":153442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:50:35] local.INFO: GPS Element Parsed {"raw_longitude":755804992,"raw_latitude":117752016,"longitude_deg":75.5804992,"latitude_deg":11.7752016,"altitude":32,"angle":296,"satellites":31,"speed":24,"hex_longitude":"2d0cab40","hex_latitude":"0704c0d0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324017152001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27599129131614208,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916482554314115072,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786421947000,"timestamp_ms":1786421947000,"timestamp_seconds":1786421947,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0baa78"} 
[2026-08-11 09:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:50: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-08-11 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:50:35] 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-08-11 09: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-08-11 09:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153442,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153442,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324017152001,"66":14439,"17":206,"94":11008,"24":24,"16":27599129131614208,"45":916482554314115072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324017152001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:50:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27599129131614208,"km_value":27599129131614.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":916482554314115072,"description":"Unknown IO ID 45"} 
[2026-08-11 09:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324017152001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":916482554314115072}} 
[2026-08-11 09:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":153442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624321,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:50:35] local.INFO: GPS data processed {"connection_id":153442,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:50:35] local.INFO: Acknowledgment sent {"connection_id":153442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:50:38] local.INFO: TCP Data received {"connection_id":154820,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:50:38] local.INFO: Processing buffer {"connection_id":154820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:50:38] local.INFO: IMEI packet received {"connection_id":154820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":154820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:50:39] local.INFO: TCP Data received {"connection_id":154820,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:50:39] local.INFO: Processing buffer {"connection_id":154820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:50:39] local.INFO: Packet analysis {"connection_id":154820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:50:39] local.INFO: Extracted packet for processing {"connection_id":154820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":28,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09:50: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-08-11 09:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323931136001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786421907000,"timestamp_ms":1786421907000,"timestamp_seconds":1786421907,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0b0e38"} 
[2026-08-11 09:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09:50: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:50: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-08-11 09:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323931136001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323931136001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:50:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:50:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323931136001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":154820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:50:39] local.INFO: GPS data processed {"connection_id":154820,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:50:39] local.INFO: Acknowledgment sent {"connection_id":154820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:50:57] local.INFO: TCP Data received {"connection_id":153441,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0ba690012d8fac00060f3298001500872f..."} 
[2026-08-11 09:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0ba690012d8fac00060f3298001500872f..."} 
[2026-08-11 09:50:57] local.INFO: Processing buffer {"connection_id":153441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0ba690012d8fac00060f3298001500872f..."} 
[2026-08-11 09:50:57] local.INFO: Packet analysis {"connection_id":153441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:50:57] local.INFO: Extracted packet for processing {"connection_id":153441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:50:57] local.INFO: GPS Element Parsed {"raw_longitude":764390400,"raw_latitude":101659288,"longitude_deg":76.43904,"latitude_deg":10.1659288,"altitude":21,"angle":135,"satellites":47,"speed":5,"hex_longitude":"2d8fac00","hex_latitude":"060f3298","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324013568001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377274973867212800,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8095009197940865024,"note":"Value kept but may cause issues"} 
[2026-08-11 09:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786421946000,"timestamp_ms":1786421946000,"timestamp_seconds":1786421946,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0ba690"} 
[2026-08-11 09:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 09:50: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-08-11 09: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-08-11 09:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:50:57] 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-08-11 09:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324013568001,"66":28006,"197":206,"79":46848,"24":5,"16":377274973867212800,"45":-8095009197940865024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 09:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324013568001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:50:57] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 09:50:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377274973867212800,"km_value":377274973867212.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8095009197940865024,"description":"Unknown IO ID 45"} 
[2026-08-11 09:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324013568001,"power":28006,"unknown_197":206,"unknown_79":46848,"ignition":5,"odometer":null,"unknown_45":-8095009197940865024}} 
[2026-08-11 09:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":153441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:50:57] local.INFO: GPS data processed {"connection_id":153441,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:50:57] local.INFO: Acknowledgment sent {"connection_id":153441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:51:06] local.INFO: TCP Data received {"connection_id":153442,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0d19a8012d0cba00070477e0001b00b422..."} 
[2026-08-11 09:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0d19a8012d0cba00070477e0001b00b422..."} 
[2026-08-11 09:51:06] local.INFO: Processing buffer {"connection_id":153442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0d19a8012d0cba00070477e0001b00b422..."} 
[2026-08-11 09:51:06] local.INFO: Packet analysis {"connection_id":153442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0d"} 
[2026-08-11 09:51:06] local.INFO: Extracted packet for processing {"connection_id":153442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0d"} 
[2026-08-11 09:51:06] local.INFO: GPS Element Parsed {"raw_longitude":755808768,"raw_latitude":117733344,"longitude_deg":75.5808768,"latitude_deg":11.7733344,"altitude":27,"angle":180,"satellites":34,"speed":39,"hex_longitude":"2d0cba00","hex_latitude":"070477e0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324041728001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27600709679579136,"note":"Value kept but may cause issues"} 
[2026-08-11 09:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916623291798745088,"note":"Value kept but may cause issues"} 
[2026-08-11 09:51:06] 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-08-11 09:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786422041000,"timestamp_ms":1786422041000,"timestamp_seconds":1786422041,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0d19a8"} 
[2026-08-11 09:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:51:06] 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-08-11 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 09:51:06] 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-08-11 09: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-08-11 09:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153442,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153442,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324041728001,"66":14450,"95":206,"94":10240,"24":39,"16":27600709679579136,"45":916623291798745088},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-11 09:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324041728001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:51:06] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 09:51:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 09:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27600709679579136,"km_value":27600709679579.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":916623291798745088,"description":"Unknown IO ID 45"} 
[2026-08-11 09:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324041728001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":916623291798745088}} 
[2026-08-11 09:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":153442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624324,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:51:06] local.INFO: GPS data processed {"connection_id":153442,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:51:06] local.INFO: Acknowledgment sent {"connection_id":153442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:51:13] local.INFO: TCP Data received {"connection_id":154820,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:51:13] local.INFO: Processing buffer {"connection_id":154820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:51:13] local.INFO: Packet analysis {"connection_id":154820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:51:13] local.INFO: Extracted packet for processing {"connection_id":154820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":28,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323931136001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786421907000,"timestamp_ms":1786421907000,"timestamp_seconds":1786421907,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0b0e38"} 
[2026-08-11 09:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323931136001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323931136001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:51:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:51:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323931136001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":154820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:51:13] local.INFO: GPS data processed {"connection_id":154820,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:51:13] local.INFO: Acknowledgment sent {"connection_id":154820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:51:20] local.INFO: TCP Data received {"connection_id":154821,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:51:20] local.INFO: Processing buffer {"connection_id":154821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:51:20] local.INFO: IMEI packet received {"connection_id":154821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":154821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:51:25] local.INFO: TCP Data received {"connection_id":154821,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:51:25] local.INFO: Processing buffer {"connection_id":154821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:51:25] local.INFO: IMEI packet received {"connection_id":154821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":154821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:51:26] local.INFO: TCP Data received {"connection_id":154821,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0bb248012d8fad00060f3148001500992f..."} 
[2026-08-11 09:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0bb248012d8fad00060f3148001500992f..."} 
[2026-08-11 09:51:26] local.INFO: Processing buffer {"connection_id":154821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0bb248012d8fad00060f3148001500992f..."} 
[2026-08-11 09:51:26] local.INFO: Packet analysis {"connection_id":154821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:51:26] local.INFO: Extracted packet for processing {"connection_id":154821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:51:26] local.INFO: GPS Element Parsed {"raw_longitude":764390656,"raw_latitude":101658952,"longitude_deg":76.4390656,"latitude_deg":10.1658952,"altitude":21,"angle":153,"satellites":47,"speed":5,"hex_longitude":"2d8fad00","hex_latitude":"060f3148","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324018176001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377274991047081984,"note":"Value kept but may cause issues"} 
[2026-08-11 09:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8094094404266846208,"note":"Value kept but may cause issues"} 
[2026-08-11 09:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786421949000,"timestamp_ms":1786421949000,"timestamp_seconds":1786421949,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0bb248"} 
[2026-08-11 09:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 09:51: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-08-11 09: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-08-11 09:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:51:26] 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-08-11 09:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324018176001,"66":27974,"197":206,"79":46848,"24":5,"16":377274991047081984,"45":-8094094404266846208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-11 09:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324018176001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:51:26] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 09:51:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377274991047081984,"km_value":377274991047082.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8094094404266846208,"description":"Unknown IO ID 45"} 
[2026-08-11 09:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324018176001,"power":27974,"unknown_197":206,"unknown_79":46848,"ignition":5,"odometer":null,"unknown_45":-8094094404266846208}} 
[2026-08-11 09:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":154821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:51:26] local.INFO: GPS data processed {"connection_id":154821,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:51:26] local.INFO: Acknowledgment sent {"connection_id":154821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:51:29] local.INFO: TCP Data received {"connection_id":152097,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:51:29] local.INFO: Processing buffer {"connection_id":152097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:51:29] local.INFO: IMEI packet received {"connection_id":152097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":152097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:51:29] local.INFO: TCP Data received {"connection_id":152097,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:51:29] local.INFO: Processing buffer {"connection_id":152097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:51:29] local.INFO: IMEI packet received {"connection_id":152097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":152097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:51:31] local.INFO: TCP Data received {"connection_id":152097,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:51:31] local.INFO: Processing buffer {"connection_id":152097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:51:31] local.INFO: IMEI packet received {"connection_id":152097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":152097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:51:32] local.INFO: TCP Data received {"connection_id":152097,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:51:32] local.INFO: Processing buffer {"connection_id":152097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:51:32] local.INFO: IMEI packet received {"connection_id":152097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":152097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:51:33] local.INFO: TCP Data received {"connection_id":152098,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:51:33] local.INFO: Processing buffer {"connection_id":152098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:51:33] local.INFO: IMEI packet received {"connection_id":152098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":152098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:51:38] local.INFO: TCP Data received {"connection_id":152098,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:51:38] local.INFO: Processing buffer {"connection_id":152098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:51:38] local.INFO: IMEI packet received {"connection_id":152098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":152098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:51:39] local.INFO: TCP Data received {"connection_id":152098,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:51:39] local.INFO: Processing buffer {"connection_id":152098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:51:39] local.INFO: Packet analysis {"connection_id":152098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:51:39] local.INFO: Extracted packet for processing {"connection_id":152098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":28,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323931136001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786421907000,"timestamp_ms":1786421907000,"timestamp_seconds":1786421907,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0b0e38"} 
[2026-08-11 09:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323931136001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323931136001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:51:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:51:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323931136001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":152098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:51:39] local.INFO: GPS data processed {"connection_id":152098,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:51:39] local.INFO: Acknowledgment sent {"connection_id":152098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:51:57] local.INFO: TCP Data received {"connection_id":154821,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0c0450012d8fb100060f26d00015009a30..."} 
[2026-08-11 09:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0c0450012d8fb100060f26d00015009a30..."} 
[2026-08-11 09:51:57] local.INFO: Processing buffer {"connection_id":154821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0c0450012d8fb100060f26d00015009a30..."} 
[2026-08-11 09:51:57] local.INFO: Packet analysis {"connection_id":154821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0c"} 
[2026-08-11 09:51:57] local.INFO: Extracted packet for processing {"connection_id":154821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0c"} 
[2026-08-11 09:51:57] local.INFO: GPS Element Parsed {"raw_longitude":764391680,"raw_latitude":101656272,"longitude_deg":76.439168,"latitude_deg":10.1656272,"altitude":21,"angle":154,"satellites":48,"speed":0,"hex_longitude":"2d8fb100","hex_latitude":"060f26d0","is_valid_coordinates":true} 
[2026-08-11 09:51: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-08-11 09:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324018944001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377275132781002752,"note":"Value kept but may cause issues"} 
[2026-08-11 09:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8093812929290221568,"note":"Value kept but may cause issues"} 
[2026-08-11 09:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786421970000,"timestamp_ms":1786421970000,"timestamp_seconds":1786421970,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0c0450"} 
[2026-08-11 09:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:51: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":70,"data_length":795,"current_offset":136} 
[2026-08-11 09:51:57] 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-08-11 09:51: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-08-11 09:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:51:57] 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-08-11 09:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324018944001,"66":27908,"196":206,"79":46848,"24":0,"16":377275132781002752,"45":-8093812929290221568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-11 09:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324018944001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:51:57] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 09:51:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377275132781002752,"km_value":377275132781002.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8093812929290221568,"description":"Unknown IO ID 45"} 
[2026-08-11 09:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324018944001,"power":27908,"unknown_196":206,"unknown_79":46848,"ignition":0,"odometer":null,"unknown_45":-8093812929290221568}} 
[2026-08-11 09:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":154821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:51:57] local.INFO: GPS data processed {"connection_id":154821,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:51:57] local.INFO: Acknowledgment sent {"connection_id":154821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:52:10] local.INFO: TCP Data received {"connection_id":152098,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:52:10] local.INFO: Processing buffer {"connection_id":152098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:52:10] local.INFO: Packet analysis {"connection_id":152098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:52:10] local.INFO: Extracted packet for processing {"connection_id":152098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":28,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323931136001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786421907000,"timestamp_ms":1786421907000,"timestamp_seconds":1786421907,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0b0e38"} 
[2026-08-11 09:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323931136001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323931136001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:52:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:52:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323931136001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":152098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:52:10] local.INFO: GPS data processed {"connection_id":152098,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:52:10] local.INFO: Acknowledgment sent {"connection_id":152098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:52:23] local.INFO: TCP Data received {"connection_id":153443,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:52:23] local.INFO: Processing buffer {"connection_id":153443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:52:23] local.INFO: IMEI packet received {"connection_id":153443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":153443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:52:25] local.INFO: TCP Data received {"connection_id":153443,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:52:25] local.INFO: Processing buffer {"connection_id":153443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:52:25] local.INFO: IMEI packet received {"connection_id":153443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":153443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:52:30] local.INFO: TCP Data received {"connection_id":153443,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:52:30] local.INFO: Processing buffer {"connection_id":153443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:52:30] local.INFO: IMEI packet received {"connection_id":153443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":153443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:52:31] local.INFO: TCP Data received {"connection_id":153443,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0c5658012d8fb4c0060f1f000017009730..."} 
[2026-08-11 09:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0c5658012d8fb4c0060f1f000017009730..."} 
[2026-08-11 09:52:31] local.INFO: Processing buffer {"connection_id":153443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0c5658012d8fb4c0060f1f000017009730..."} 
[2026-08-11 09:52:31] local.INFO: Packet analysis {"connection_id":153443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0c"} 
[2026-08-11 09:52:31] local.INFO: Extracted packet for processing {"connection_id":153443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0c"} 
[2026-08-11 09:52:31] local.INFO: GPS Element Parsed {"raw_longitude":764392640,"raw_latitude":101654272,"longitude_deg":76.439264,"latitude_deg":10.1654272,"altitude":23,"angle":151,"satellites":48,"speed":0,"hex_longitude":"2d8fb4c0","hex_latitude":"060f1f00","is_valid_coordinates":true} 
[2026-08-11 09:52: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-08-11 09:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324024320001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377275244450152448,"note":"Value kept but may cause issues"} 
[2026-08-11 09:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8092687029384065024,"note":"Value kept but may cause issues"} 
[2026-08-11 09:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786421991000,"timestamp_ms":1786421991000,"timestamp_seconds":1786421991,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0c5658"} 
[2026-08-11 09:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:52: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 09:52:31] 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-08-11 09:52: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-08-11 09:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:52:31] 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-08-11 09:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324024320001,"66":27919,"196":206,"79":46848,"24":0,"16":377275244450152448,"45":-8092687029384065024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-11 09:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324024320001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:52:31] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 09:52:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377275244450152448,"km_value":377275244450152.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8092687029384065024,"description":"Unknown IO ID 45"} 
[2026-08-11 09:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324024320001,"power":27919,"unknown_196":206,"unknown_79":46848,"ignition":0,"odometer":null,"unknown_45":-8092687029384065024}} 
[2026-08-11 09:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":153443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:52:31] local.INFO: GPS data processed {"connection_id":153443,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:52:31] local.INFO: Acknowledgment sent {"connection_id":153443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:52:33] local.INFO: TCP Data received {"connection_id":152099,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:52:33] local.INFO: Processing buffer {"connection_id":152099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:52:33] local.INFO: IMEI packet received {"connection_id":152099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":152099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:52:38] local.INFO: TCP Data received {"connection_id":152099,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:52:38] local.INFO: Processing buffer {"connection_id":152099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:52:38] local.INFO: IMEI packet received {"connection_id":152099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":152099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:52:39] local.INFO: TCP Data received {"connection_id":152099,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:52:39] local.INFO: Processing buffer {"connection_id":152099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:52:39] local.INFO: Packet analysis {"connection_id":152099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:52:39] local.INFO: Extracted packet for processing {"connection_id":152099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":28,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09:52: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-08-11 09:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323931136001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786421907000,"timestamp_ms":1786421907000,"timestamp_seconds":1786421907,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0b0e38"} 
[2026-08-11 09:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323931136001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323931136001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:52:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:52:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323931136001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":152099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:52:39] local.INFO: GPS data processed {"connection_id":152099,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:52:39] local.INFO: Acknowledgment sent {"connection_id":152099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:53:01] local.INFO: TCP Data received {"connection_id":153443,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0ca860012d8fb9c0060f15b0001600982e..."} 
[2026-08-11 09:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0ca860012d8fb9c0060f15b0001600982e..."} 
[2026-08-11 09:53:01] local.INFO: Processing buffer {"connection_id":153443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0ca860012d8fb9c0060f15b0001600982e..."} 
[2026-08-11 09:53:01] local.INFO: Packet analysis {"connection_id":153443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0c"} 
[2026-08-11 09:53:01] local.INFO: Extracted packet for processing {"connection_id":153443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0c"} 
[2026-08-11 09:53:01] local.INFO: GPS Element Parsed {"raw_longitude":764393920,"raw_latitude":101651888,"longitude_deg":76.439392,"latitude_deg":10.1651888,"altitude":22,"angle":152,"satellites":46,"speed":0,"hex_longitude":"2d8fb9c0","hex_latitude":"060f15b0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324029696001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377275381889105920,"note":"Value kept but may cause issues"} 
[2026-08-11 09:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8091631498221912064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786422012000,"timestamp_ms":1786422012000,"timestamp_seconds":1786422012,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0ca860"} 
[2026-08-11 09:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":15,"data_length":795,"current_offset":136} 
[2026-08-11 09:53: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-08-11 09: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-08-11 09:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:53:01] 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-08-11 09:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324029696001,"66":27821,"196":206,"79":46848,"24":0,"16":377275381889105920,"45":-8091631498221912064},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-11 09:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324029696001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:53:01] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 09:53:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377275381889105920,"km_value":377275381889105.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8091631498221912064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324029696001,"power":27821,"unknown_196":206,"unknown_79":46848,"ignition":0,"odometer":null,"unknown_45":-8091631498221912064}} 
[2026-08-11 09:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":153443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:53:02] local.INFO: GPS data processed {"connection_id":153443,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:53:02] local.INFO: Acknowledgment sent {"connection_id":153443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:53:11] local.INFO: TCP Data received {"connection_id":152099,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:53:11] local.INFO: Processing buffer {"connection_id":152099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0b0e38012d7d358005ec0ea8000500a11c..."} 
[2026-08-11 09:53:11] local.INFO: Packet analysis {"connection_id":152099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:53:11] local.INFO: Extracted packet for processing {"connection_id":152099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0b"} 
[2026-08-11 09:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":28,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09:53: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-08-11 09:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323931136001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786421907000,"timestamp_ms":1786421907000,"timestamp_seconds":1786421907,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0b0e38"} 
[2026-08-11 09:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09:53: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:53: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-08-11 09:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323931136001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323931136001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:53:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:53:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323931136001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":152099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:53:11] local.INFO: GPS data processed {"connection_id":152099,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:53:11] local.INFO: Acknowledgment sent {"connection_id":152099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:53:22] local.INFO: TCP Data received {"connection_id":152100,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:53:22] local.INFO: Processing buffer {"connection_id":152100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:53:22] local.INFO: IMEI packet received {"connection_id":152100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":152100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:53:22] local.INFO: TCP Data received {"connection_id":152100,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:53:22] local.INFO: Processing buffer {"connection_id":152100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:53:22] local.INFO: IMEI packet received {"connection_id":152100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":152100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:53:29] local.INFO: TCP Data received {"connection_id":152100,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0cfa68012d8fbfc0060f0aa0001500982e..."} 
[2026-08-11 09:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0cfa68012d8fbfc0060f0aa0001500982e..."} 
[2026-08-11 09:53:29] local.INFO: Processing buffer {"connection_id":152100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0cfa68012d8fbfc0060f0aa0001500982e..."} 
[2026-08-11 09:53:29] local.INFO: Packet analysis {"connection_id":152100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0c"} 
[2026-08-11 09:53:29] local.INFO: Extracted packet for processing {"connection_id":152100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0c"} 
[2026-08-11 09:53:29] local.INFO: GPS Element Parsed {"raw_longitude":764395456,"raw_latitude":101649056,"longitude_deg":76.4395456,"latitude_deg":10.1649056,"altitude":21,"angle":152,"satellites":46,"speed":6,"hex_longitude":"2d8fbfc0","hex_latitude":"060f0aa0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324035072001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377275540802895872,"note":"Value kept but may cause issues"} 
[2026-08-11 09:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8090224123338969088,"note":"Value kept but may cause issues"} 
[2026-08-11 09:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786422033000,"timestamp_ms":1786422033000,"timestamp_seconds":1786422033,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0cfa68"} 
[2026-08-11 09:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 09:53:29] 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-08-11 09: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-08-11 09:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:53:29] 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-08-11 09:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324035072001,"66":27995,"196":206,"79":46848,"24":6,"16":377275540802895872,"45":-8090224123338969088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-11 09:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324035072001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:53:29] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 09:53:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377275540802895872,"km_value":377275540802895.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8090224123338969088,"description":"Unknown IO ID 45"} 
[2026-08-11 09:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324035072001,"power":27995,"unknown_196":206,"unknown_79":46848,"ignition":6,"odometer":null,"unknown_45":-8090224123338969088}} 
[2026-08-11 09:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":152100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:53:29] local.INFO: GPS data processed {"connection_id":152100,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:53:29] local.INFO: Acknowledgment sent {"connection_id":152100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:53:30] local.INFO: TCP Data received {"connection_id":152100,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0d4c70012d8fc440060f04780013009530..."} 
[2026-08-11 09:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0d4c70012d8fc440060f04780013009530..."} 
[2026-08-11 09:53:30] local.INFO: Processing buffer {"connection_id":152100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0d4c70012d8fc440060f04780013009530..."} 
[2026-08-11 09:53:30] local.INFO: Packet analysis {"connection_id":152100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0d"} 
[2026-08-11 09:53:30] local.INFO: Extracted packet for processing {"connection_id":152100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0d"} 
[2026-08-11 09:53:30] local.INFO: GPS Element Parsed {"raw_longitude":764396608,"raw_latitude":101647480,"longitude_deg":76.4396608,"latitude_deg":10.164748,"altitude":19,"angle":149,"satellites":48,"speed":0,"hex_longitude":"2d8fc440","hex_latitude":"060f0478","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324040448001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377275635292176384,"note":"Value kept but may cause issues"} 
[2026-08-11 09:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8088535273479430144,"note":"Value kept but may cause issues"} 
[2026-08-11 09:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786422054000,"timestamp_ms":1786422054000,"timestamp_seconds":1786422054,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0d4c70"} 
[2026-08-11 09:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 09:53:30] 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-08-11 09: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-08-11 09:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:53:30] 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-08-11 09:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324040448001,"66":28093,"196":206,"79":46848,"24":0,"16":377275635292176384,"45":-8088535273479430144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-11 09:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324040448001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:53:30] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 09:53:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377275635292176384,"km_value":377275635292176.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8088535273479430144,"description":"Unknown IO ID 45"} 
[2026-08-11 09:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324040448001,"power":28093,"unknown_196":206,"unknown_79":46848,"ignition":0,"odometer":null,"unknown_45":-8088535273479430144}} 
[2026-08-11 09:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":152100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:53:30] local.INFO: GPS data processed {"connection_id":152100,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:53:30] local.INFO: Acknowledgment sent {"connection_id":152100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:53:38] local.INFO: TCP Data received {"connection_id":152481,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:53:38] local.INFO: Processing buffer {"connection_id":152481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:53:38] local.INFO: IMEI packet received {"connection_id":152481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":152481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:53:43] local.INFO: TCP Data received {"connection_id":152481,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:53:43] local.INFO: Processing buffer {"connection_id":152481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:53:43] local.INFO: IMEI packet received {"connection_id":152481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":152481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:53:44] local.INFO: TCP Data received {"connection_id":152481,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:53:44] local.INFO: Processing buffer {"connection_id":152481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:53:44] local.INFO: Packet analysis {"connection_id":152481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:53:44] local.INFO: Extracted packet for processing {"connection_id":152481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:53:44] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":30,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09:53: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-08-11 09:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324008192001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786422208000,"timestamp_ms":1786422208000,"timestamp_seconds":1786422208,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0fa600"} 
[2026-08-11 09:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09:53: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":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:53: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-08-11 09:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324008192001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324008192001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:53:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:53:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324008192001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":152481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:53:44] local.INFO: GPS data processed {"connection_id":152481,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:53:44] local.INFO: Acknowledgment sent {"connection_id":152481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:54:00] local.INFO: TCP Data received {"connection_id":152100,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0d6f98012d8fc8c0060efe780013008830..."} 
[2026-08-11 09:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0d6f98012d8fc8c0060efe780013008830..."} 
[2026-08-11 09:54:00] local.INFO: Processing buffer {"connection_id":152100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0d6f98012d8fc8c0060efe780013008830..."} 
[2026-08-11 09:54:00] local.INFO: Packet analysis {"connection_id":152100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0d"} 
[2026-08-11 09:54:00] local.INFO: Extracted packet for processing {"connection_id":152100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0d"} 
[2026-08-11 09:54:00] local.INFO: GPS Element Parsed {"raw_longitude":764397760,"raw_latitude":101645944,"longitude_deg":76.439776,"latitude_deg":10.1645944,"altitude":19,"angle":136,"satellites":48,"speed":9,"hex_longitude":"2d8fc8c0","hex_latitude":"060efe78","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324045824001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377275729781456896,"note":"Value kept but may cause issues"} 
[2026-08-11 09:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8087268636084635648,"note":"Value kept but may cause issues"} 
[2026-08-11 09:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786422063000,"timestamp_ms":1786422063000,"timestamp_seconds":1786422063,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0d6f98"} 
[2026-08-11 09:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-11 09:54:00] 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-08-11 09: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-08-11 09:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:54:00] 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-08-11 09:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324045824001,"66":27843,"196":206,"79":46848,"24":9,"16":377275729781456896,"45":-8087268636084635648},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-11 09:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324045824001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:54:00] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 09:54:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377275729781456896,"km_value":377275729781456.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8087268636084635648,"description":"Unknown IO ID 45"} 
[2026-08-11 09:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324045824001,"power":27843,"unknown_196":206,"unknown_79":46848,"ignition":9,"odometer":null,"unknown_45":-8087268636084635648}} 
[2026-08-11 09:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":152100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:54:00] local.INFO: GPS data processed {"connection_id":152100,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:54:00] local.INFO: Acknowledgment sent {"connection_id":152100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:54:16] local.INFO: TCP Data received {"connection_id":152481,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:54:16] local.INFO: Processing buffer {"connection_id":152481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:54:16] local.INFO: Packet analysis {"connection_id":152481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:54:16] local.INFO: Extracted packet for processing {"connection_id":152481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:54:16] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":30,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324008192001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786422208000,"timestamp_ms":1786422208000,"timestamp_seconds":1786422208,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0fa600"} 
[2026-08-11 09:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324008192001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324008192001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:54:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:54:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324008192001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":152481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:54:16] local.INFO: GPS data processed {"connection_id":152481,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:54:16] local.INFO: Acknowledgment sent {"connection_id":152481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:54:20] local.INFO: TCP Data received {"connection_id":153445,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:54:20] local.INFO: Processing buffer {"connection_id":153445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:54:20] local.INFO: IMEI packet received {"connection_id":153445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":153445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:54:26] local.INFO: TCP Data received {"connection_id":153445,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:54:26] local.INFO: Processing buffer {"connection_id":153445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:54:26] local.INFO: IMEI packet received {"connection_id":153445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":153445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:54:27] local.INFO: TCP Data received {"connection_id":153445,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0dc1a0012d8fd240060ef4580018008931..."} 
[2026-08-11 09:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0dc1a0012d8fd240060ef4580018008931..."} 
[2026-08-11 09:54:27] local.INFO: Processing buffer {"connection_id":153445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0dc1a0012d8fd240060ef4580018008931..."} 
[2026-08-11 09:54:27] local.INFO: Packet analysis {"connection_id":153445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0d"} 
[2026-08-11 09:54:27] local.INFO: Extracted packet for processing {"connection_id":153445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0d"} 
[2026-08-11 09:54:27] local.INFO: GPS Element Parsed {"raw_longitude":764400192,"raw_latitude":101643352,"longitude_deg":76.4400192,"latitude_deg":10.1643352,"altitude":24,"angle":137,"satellites":49,"speed":3,"hex_longitude":"2d8fd240","hex_latitude":"060ef458","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324048128001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377275905875116032,"note":"Value kept but may cause issues"} 
[2026-08-11 09:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8086001998689830912,"note":"Value kept but may cause issues"} 
[2026-08-11 09:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786422084000,"timestamp_ms":1786422084000,"timestamp_seconds":1786422084,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0dc1a0"} 
[2026-08-11 09:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 09:54:27] 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-08-11 09: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-08-11 09:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:54:27] 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-08-11 09:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324048128001,"66":27745,"196":206,"79":46848,"24":3,"16":377275905875116032,"45":-8086001998689830912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-11 09:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324048128001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:54:27] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 09:54:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377275905875116032,"km_value":377275905875116.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8086001998689830912,"description":"Unknown IO ID 45"} 
[2026-08-11 09:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324048128001,"power":27745,"unknown_196":206,"unknown_79":46848,"ignition":3,"odometer":null,"unknown_45":-8086001998689830912}} 
[2026-08-11 09:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":153445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:54:27] local.INFO: GPS data processed {"connection_id":153445,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:54:27] local.INFO: Acknowledgment sent {"connection_id":153445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:54:33] local.INFO: TCP Data received {"connection_id":152482,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:54:33] local.INFO: Processing buffer {"connection_id":152482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:54:33] local.INFO: IMEI packet received {"connection_id":152482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":152482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:54:38] local.INFO: TCP Data received {"connection_id":152482,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:54:38] local.INFO: Processing buffer {"connection_id":152482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:54:38] local.INFO: IMEI packet received {"connection_id":152482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":152482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:54:39] local.INFO: TCP Data received {"connection_id":152482,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:54:39] local.INFO: Processing buffer {"connection_id":152482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:54:39] local.INFO: Packet analysis {"connection_id":152482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:54:39] local.INFO: Extracted packet for processing {"connection_id":152482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":30,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324008192001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786422208000,"timestamp_ms":1786422208000,"timestamp_seconds":1786422208,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0fa600"} 
[2026-08-11 09:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324008192001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324008192001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:54:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:54:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324008192001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":152482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:54:39] local.INFO: GPS data processed {"connection_id":152482,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:54:39] local.INFO: Acknowledgment sent {"connection_id":152482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:54:59] local.INFO: TCP Data received {"connection_id":153445,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0e13a8012d8fda00060eee700017008432..."} 
[2026-08-11 09:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0e13a8012d8fda00060eee700017008432..."} 
[2026-08-11 09:54:59] local.INFO: Processing buffer {"connection_id":153445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0e13a8012d8fda00060eee700017008432..."} 
[2026-08-11 09:54:59] local.INFO: Packet analysis {"connection_id":153445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0e"} 
[2026-08-11 09:54:59] local.INFO: Extracted packet for processing {"connection_id":153445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0e"} 
[2026-08-11 09:54:59] local.INFO: GPS Element Parsed {"raw_longitude":764402176,"raw_latitude":101641840,"longitude_deg":76.4402176,"latitude_deg":10.164184,"altitude":23,"angle":132,"satellites":50,"speed":0,"hex_longitude":"2d8fda00","hex_latitude":"060eee70","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324053504001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377276026134200320,"note":"Value kept but may cause issues"} 
[2026-08-11 09:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8083327986411743232,"note":"Value kept but may cause issues"} 
[2026-08-11 09:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786422105000,"timestamp_ms":1786422105000,"timestamp_seconds":1786422105,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0e13a8"} 
[2026-08-11 09:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 09:54:59] 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-08-11 09: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-08-11 09:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:54:59] 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-08-11 09:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324053504001,"66":27974,"196":206,"79":46848,"24":0,"16":377276026134200320,"45":-8083327986411743232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-11 09:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324053504001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:54:59] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 09:54:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377276026134200320,"km_value":377276026134200.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8083327986411743232,"description":"Unknown IO ID 45"} 
[2026-08-11 09:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324053504001,"power":27974,"unknown_196":206,"unknown_79":46848,"ignition":0,"odometer":null,"unknown_45":-8083327986411743232}} 
[2026-08-11 09:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":153445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:54:59] local.INFO: GPS data processed {"connection_id":153445,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:54:59] local.INFO: Acknowledgment sent {"connection_id":153445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:55:11] local.INFO: TCP Data received {"connection_id":152482,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:55:11] local.INFO: Processing buffer {"connection_id":152482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:55:11] local.INFO: Packet analysis {"connection_id":152482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:55:11] local.INFO: Extracted packet for processing {"connection_id":152482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":30,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324008192001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786422208000,"timestamp_ms":1786422208000,"timestamp_seconds":1786422208,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0fa600"} 
[2026-08-11 09:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324008192001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324008192001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:55:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:55:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324008192001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":152482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:55:11] local.INFO: GPS data processed {"connection_id":152482,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:55:11] local.INFO: Acknowledgment sent {"connection_id":152482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:55:20] local.INFO: TCP Data received {"connection_id":152483,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:55:20] local.INFO: Processing buffer {"connection_id":152483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:55:20] local.INFO: IMEI packet received {"connection_id":152483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":152483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:55:25] local.INFO: TCP Data received {"connection_id":152483,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:55:25] local.INFO: Processing buffer {"connection_id":152483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:55:25] local.INFO: IMEI packet received {"connection_id":152483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":152483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:55:25] local.INFO: TCP Data received {"connection_id":152483,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0e65b0012d8fdc00060eec700016008432..."} 
[2026-08-11 09:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0e65b0012d8fdc00060eec700016008432..."} 
[2026-08-11 09:55:25] local.INFO: Processing buffer {"connection_id":152483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0e65b0012d8fdc00060eec700016008432..."} 
[2026-08-11 09:55:25] local.INFO: Packet analysis {"connection_id":152483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0e"} 
[2026-08-11 09:55:25] local.INFO: Extracted packet for processing {"connection_id":152483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0e"} 
[2026-08-11 09:55:25] local.INFO: GPS Element Parsed {"raw_longitude":764402688,"raw_latitude":101641328,"longitude_deg":76.4402688,"latitude_deg":10.1641328,"altitude":22,"angle":132,"satellites":50,"speed":0,"hex_longitude":"2d8fdc00","hex_latitude":"060eec70","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324058880001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377276064788905984,"note":"Value kept but may cause issues"} 
[2026-08-11 09:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8081146555342622720,"note":"Value kept but may cause issues"} 
[2026-08-11 09:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786422126000,"timestamp_ms":1786422126000,"timestamp_seconds":1786422126,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0e65b0"} 
[2026-08-11 09:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 09:55:25] 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-08-11 09: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-08-11 09:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:55:25] 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-08-11 09:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324058880001,"66":27908,"196":206,"79":46848,"24":0,"16":377276064788905984,"45":-8081146555342622720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-11 09:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324058880001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:55:25] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 09:55:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377276064788905984,"km_value":377276064788906.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8081146555342622720,"description":"Unknown IO ID 45"} 
[2026-08-11 09:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324058880001,"power":27908,"unknown_196":206,"unknown_79":46848,"ignition":0,"odometer":null,"unknown_45":-8081146555342622720}} 
[2026-08-11 09:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":152483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:55:25] local.INFO: GPS data processed {"connection_id":152483,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:55:25] local.INFO: Acknowledgment sent {"connection_id":152483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:55:33] local.INFO: TCP Data received {"connection_id":152484,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:55:33] local.INFO: Processing buffer {"connection_id":152484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:55:33] local.INFO: IMEI packet received {"connection_id":152484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":152484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:55:38] local.INFO: TCP Data received {"connection_id":152484,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:55:38] local.INFO: Processing buffer {"connection_id":152484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:55:38] local.INFO: IMEI packet received {"connection_id":152484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":152484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:55:39] local.INFO: TCP Data received {"connection_id":152484,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:55:39] local.INFO: Processing buffer {"connection_id":152484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:55:39] local.INFO: Packet analysis {"connection_id":152484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:55:39] local.INFO: Extracted packet for processing {"connection_id":152484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":30,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324008192001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786422208000,"timestamp_ms":1786422208000,"timestamp_seconds":1786422208,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0fa600"} 
[2026-08-11 09:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324008192001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324008192001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:55:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:55:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324008192001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":152484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:55:40] local.INFO: GPS data processed {"connection_id":152484,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:55:40] local.INFO: Acknowledgment sent {"connection_id":152484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:56:11] local.INFO: TCP Data received {"connection_id":152484,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:56:11] local.INFO: Processing buffer {"connection_id":152484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:56:11] local.INFO: Packet analysis {"connection_id":152484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:56:11] local.INFO: Extracted packet for processing {"connection_id":152484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:56:11] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":30,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324008192001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786422208000,"timestamp_ms":1786422208000,"timestamp_seconds":1786422208,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0fa600"} 
[2026-08-11 09:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324008192001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324008192001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:56:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:56:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324008192001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":152484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:56:11] local.INFO: GPS data processed {"connection_id":152484,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:56:11] local.INFO: Acknowledgment sent {"connection_id":152484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:56:20] local.INFO: TCP Data received {"connection_id":152102,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:56:20] local.INFO: Processing buffer {"connection_id":152102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:56:20] local.INFO: IMEI packet received {"connection_id":152102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":152102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:56:29] local.INFO: TCP Data received {"connection_id":152102,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:56:29] local.INFO: Processing buffer {"connection_id":152102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:56:29] local.INFO: IMEI packet received {"connection_id":152102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":152102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:56:32] local.INFO: TCP Data received {"connection_id":152102,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0efa20012d8fe100060ee6f00016009133..."} 
[2026-08-11 09:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0efa20012d8fe100060ee6f00016009133..."} 
[2026-08-11 09:56:32] local.INFO: Processing buffer {"connection_id":152102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0efa20012d8fe100060ee6f00016009133..."} 
[2026-08-11 09:56:32] local.INFO: Packet analysis {"connection_id":152102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0e"} 
[2026-08-11 09:56:32] local.INFO: Extracted packet for processing {"connection_id":152102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0e"} 
[2026-08-11 09:56:32] local.INFO: GPS Element Parsed {"raw_longitude":764403968,"raw_latitude":101639920,"longitude_deg":76.4403968,"latitude_deg":10.163992,"altitude":22,"angle":145,"satellites":51,"speed":5,"hex_longitude":"2d8fe100","hex_latitude":"060ee6f0","is_valid_coordinates":true} 
[2026-08-11 09:56: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-08-11 09:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324069632001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377276163573153792,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8080302130412675072,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786422164000,"timestamp_ms":1786422164000,"timestamp_seconds":1786422164,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0efa20"} 
[2026-08-11 09:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:56: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 09:56:32] 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-08-11 09:56: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-08-11 09:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:56:32] 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-08-11 09:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324069632001,"66":27800,"196":206,"79":46848,"24":5,"16":377276163573153792,"45":-8080302130412675072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-11 09:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324069632001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:56:32] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 09:56:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377276163573153792,"km_value":377276163573153.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8080302130412675072,"description":"Unknown IO ID 45"} 
[2026-08-11 09:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324069632001,"power":27800,"unknown_196":206,"unknown_79":46848,"ignition":5,"odometer":null,"unknown_45":-8080302130412675072}} 
[2026-08-11 09:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":152102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:56:32] local.INFO: GPS data processed {"connection_id":152102,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:56:32] local.INFO: Acknowledgment sent {"connection_id":152102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:56:33] local.INFO: TCP Data received {"connection_id":152485,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:56:33] local.INFO: Processing buffer {"connection_id":152485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:56:33] local.INFO: IMEI packet received {"connection_id":152485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":152485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:56:33] local.INFO: TCP Data received {"connection_id":152102,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0f4c28012d8fe500060ee1b80017009033..."} 
[2026-08-11 09:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0f4c28012d8fe500060ee1b80017009033..."} 
[2026-08-11 09:56:33] local.INFO: Processing buffer {"connection_id":152102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0f4c28012d8fe500060ee1b80017009033..."} 
[2026-08-11 09:56:33] local.INFO: Packet analysis {"connection_id":152102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:56:33] local.INFO: Extracted packet for processing {"connection_id":152102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:56:33] local.INFO: GPS Element Parsed {"raw_longitude":764404992,"raw_latitude":101638584,"longitude_deg":76.4404992,"latitude_deg":10.1638584,"altitude":23,"angle":144,"satellites":51,"speed":0,"hex_longitude":"2d8fe500","hex_latitude":"060ee1b8","is_valid_coordinates":true} 
[2026-08-11 09:56: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-08-11 09:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324073984001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377276245177532416,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8079176230506139648,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786422185000,"timestamp_ms":1786422185000,"timestamp_seconds":1786422185,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0f4c28"} 
[2026-08-11 09:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:56: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":152,"data_length":795,"current_offset":136} 
[2026-08-11 09:56:33] 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-08-11 09:56: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-08-11 09:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:56:33] 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-08-11 09:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324073984001,"66":27658,"196":206,"79":46848,"24":0,"16":377276245177532416,"45":-8079176230506139648},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-11 09:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324073984001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:56:33] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 09:56:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377276245177532416,"km_value":377276245177532.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8079176230506139648,"description":"Unknown IO ID 45"} 
[2026-08-11 09:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324073984001,"power":27658,"unknown_196":206,"unknown_79":46848,"ignition":0,"odometer":null,"unknown_45":-8079176230506139648}} 
[2026-08-11 09:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":152102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:56:33] local.INFO: GPS data processed {"connection_id":152102,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:56:33] local.INFO: Acknowledgment sent {"connection_id":152102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:56:34] local.INFO: TCP Data received {"connection_id":154825,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:56:34] local.INFO: Processing buffer {"connection_id":154825,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:56:34] local.INFO: IMEI packet received {"connection_id":154825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":154825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:56:34] local.INFO: TCP Data received {"connection_id":154825,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef11e820012d0be40007035b00000f011f1c..."} 
[2026-08-11 09:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef11e820012d0be40007035b00000f011f1c..."} 
[2026-08-11 09:56:34] local.INFO: Processing buffer {"connection_id":154825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef11e820012d0be40007035b00000f011f1c..."} 
[2026-08-11 09:56:34] local.INFO: Packet analysis {"connection_id":154825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef11"} 
[2026-08-11 09:56:34] local.INFO: Extracted packet for processing {"connection_id":154825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef11"} 
[2026-08-11 09:56:34] local.INFO: GPS Element Parsed {"raw_longitude":755753984,"raw_latitude":117660416,"longitude_deg":75.5753984,"latitude_deg":11.7660416,"altitude":15,"angle":287,"satellites":28,"speed":14,"hex_longitude":"2d0be400","hex_latitude":"07035b00","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324121600001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27606872957648896,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":860891246390679552,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786422356000,"timestamp_ms":1786422356000,"timestamp_seconds":1786422356,"priority":1,"record_length":96,"hex_timestamp":"0000019fef11e820"} 
[2026-08-11 09:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:56:34] 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-08-11 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 09:56:34] 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-08-11 09: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-08-11 09:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":154825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":154825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":154825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324121600001,"66":14548,"37":206,"94":11008,"24":14,"16":27606872957648896,"45":860891246390679552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 09:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324121600001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:56:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 09:56:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27606872957648896,"km_value":27606872957648.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":860891246390679552,"description":"Unknown IO ID 45"} 
[2026-08-11 09:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324121600001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":860891246390679552}} 
[2026-08-11 09:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":154825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624348,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:56:34] local.INFO: GPS data processed {"connection_id":154825,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:56:34] local.INFO: Acknowledgment sent {"connection_id":154825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:56:38] local.INFO: TCP Data received {"connection_id":152485,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:56:38] local.INFO: Processing buffer {"connection_id":152485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:56:38] local.INFO: IMEI packet received {"connection_id":152485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":152485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:56:40] local.INFO: TCP Data received {"connection_id":152485,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:56:40] local.INFO: Processing buffer {"connection_id":152485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:56:40] local.INFO: Packet analysis {"connection_id":152485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:56:40] local.INFO: Extracted packet for processing {"connection_id":152485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:56:40] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":30,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09:56: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-08-11 09:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324008192001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786422208000,"timestamp_ms":1786422208000,"timestamp_seconds":1786422208,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0fa600"} 
[2026-08-11 09:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09:56: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:56: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-08-11 09:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324008192001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324008192001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:56:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:56:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324008192001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":152485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:56:40] local.INFO: GPS data processed {"connection_id":152485,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:56:40] local.INFO: Acknowledgment sent {"connection_id":152485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:56:49] local.INFO: TCP Data received {"connection_id":152483,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0eb7b8012d8fdd00060eeba00016008433..."} 
[2026-08-11 09:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0eb7b8012d8fdd00060eeba00016008433..."} 
[2026-08-11 09:56:49] local.INFO: Processing buffer {"connection_id":152483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0eb7b8012d8fdd00060eeba00016008433..."} 
[2026-08-11 09:56:49] local.INFO: Packet analysis {"connection_id":152483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0e"} 
[2026-08-11 09:56:49] local.INFO: Extracted packet for processing {"connection_id":152483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0e"} 
[2026-08-11 09:56:49] local.INFO: GPS Element Parsed {"raw_longitude":764402944,"raw_latitude":101641120,"longitude_deg":76.4402944,"latitude_deg":10.164112,"altitude":22,"angle":132,"satellites":51,"speed":4,"hex_longitude":"2d8fdd00","hex_latitude":"060eeba0","is_valid_coordinates":true} 
[2026-08-11 09:56: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-08-11 09:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324064256001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377276081968775168,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8080583605389332480,"note":"Value kept but may cause issues"} 
[2026-08-11 09:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786422147000,"timestamp_ms":1786422147000,"timestamp_seconds":1786422147,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0eb7b8"} 
[2026-08-11 09:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:56: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 09:56:49] 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-08-11 09:56: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-08-11 09:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:56:49] 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-08-11 09:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324064256001,"66":28006,"196":206,"79":46848,"24":4,"16":377276081968775168,"45":-8080583605389332480},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-08-11 09:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324064256001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:56:49] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 09:56:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377276081968775168,"km_value":377276081968775.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8080583605389332480,"description":"Unknown IO ID 45"} 
[2026-08-11 09:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324064256001,"power":28006,"unknown_196":206,"unknown_79":46848,"ignition":4,"odometer":null,"unknown_45":-8080583605389332480}} 
[2026-08-11 09:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":152483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:56:49] local.INFO: GPS data processed {"connection_id":152483,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:56:49] local.INFO: Acknowledgment sent {"connection_id":152483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:57:19] local.INFO: TCP Data received {"connection_id":152486,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:57:19] local.INFO: Processing buffer {"connection_id":152486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:57:19] local.INFO: IMEI packet received {"connection_id":152486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":152486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:57:23] local.INFO: TCP Data received {"connection_id":152486,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:57:23] local.INFO: Processing buffer {"connection_id":152486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:57:23] local.INFO: IMEI packet received {"connection_id":152486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":152486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:57:25] local.INFO: TCP Data received {"connection_id":152486,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:57:25] local.INFO: Processing buffer {"connection_id":152486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:57:25] local.INFO: IMEI packet received {"connection_id":152486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":152486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:57:25] local.INFO: TCP Data received {"connection_id":152486,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef124db0012d9043c0060e3518000e00a230..."} 
[2026-08-11 09:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef124db0012d9043c0060e3518000e00a230..."} 
[2026-08-11 09:57:25] local.INFO: Processing buffer {"connection_id":152486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef124db0012d9043c0060e3518000e00a230..."} 
[2026-08-11 09:57:25] local.INFO: Packet analysis {"connection_id":152486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef12"} 
[2026-08-11 09:57:25] local.INFO: Extracted packet for processing {"connection_id":152486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef12"} 
[2026-08-11 09:57:25] local.INFO: GPS Element Parsed {"raw_longitude":764429248,"raw_latitude":101594392,"longitude_deg":76.4429248,"latitude_deg":10.1594392,"altitude":14,"angle":162,"satellites":48,"speed":42,"hex_longitude":"2d9043c0","hex_latitude":"060e3518","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324127744001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377278731963596800,"note":"Value kept but may cause issues"} 
[2026-08-11 09:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8052295370240079872,"note":"Value kept but may cause issues"} 
[2026-08-11 09:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786422382000,"timestamp_ms":1786422382000,"timestamp_seconds":1786422382,"priority":1,"record_length":96,"hex_timestamp":"0000019fef124db0"} 
[2026-08-11 09:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 09:57:25] 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-08-11 09: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-08-11 09:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:57:25] 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-08-11 09:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324127744001,"66":27865,"177":206,"79":46848,"24":42,"16":377278731963596800,"45":-8052295370240079872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,79,24,16,45]} 
[2026-08-11 09:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324127744001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:57:25] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:57:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377278731963596800,"km_value":377278731963596.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8052295370240079872,"description":"Unknown IO ID 45"} 
[2026-08-11 09:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324127744001,"power":27865,"unknown_177":206,"unknown_79":46848,"ignition":42,"odometer":null,"unknown_45":-8052295370240079872}} 
[2026-08-11 09:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":152486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:57:25] local.INFO: GPS data processed {"connection_id":152486,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:57:25] local.INFO: Acknowledgment sent {"connection_id":152486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:57:28] local.INFO: TCP Data received {"connection_id":152485,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:57:28] local.INFO: Processing buffer {"connection_id":152485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:57:28] local.INFO: Packet analysis {"connection_id":152485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:57:28] local.INFO: Extracted packet for processing {"connection_id":152485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:57:28] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":30,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324008192001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786422208000,"timestamp_ms":1786422208000,"timestamp_seconds":1786422208,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0fa600"} 
[2026-08-11 09:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324008192001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324008192001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:57:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:57:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324008192001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":152485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:57:28] local.INFO: GPS data processed {"connection_id":152485,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:57:28] local.INFO: Acknowledgment sent {"connection_id":152485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:57:33] local.INFO: TCP Data received {"connection_id":153447,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:57:33] local.INFO: Processing buffer {"connection_id":153447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:57:33] local.INFO: IMEI packet received {"connection_id":153447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":153447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:57:38] local.INFO: TCP Data received {"connection_id":153447,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:57:38] local.INFO: Processing buffer {"connection_id":153447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:57:38] local.INFO: IMEI packet received {"connection_id":153447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":153447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:57:39] local.INFO: TCP Data received {"connection_id":153447,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:57:39] local.INFO: Processing buffer {"connection_id":153447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:57:39] local.INFO: Packet analysis {"connection_id":153447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:57:39] local.INFO: Extracted packet for processing {"connection_id":153447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":30,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324008192001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786422208000,"timestamp_ms":1786422208000,"timestamp_seconds":1786422208,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0fa600"} 
[2026-08-11 09:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324008192001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324008192001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:57:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:57:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324008192001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":153447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:57:39] local.INFO: GPS data processed {"connection_id":153447,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:57:39] local.INFO: Acknowledgment sent {"connection_id":153447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:57:42] local.INFO: TCP Data received {"connection_id":153448,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153448,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:57:42] local.INFO: Processing buffer {"connection_id":153448,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:57:42] local.INFO: IMEI packet received {"connection_id":153448,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 09:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":153448,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:57:44] local.INFO: TCP Data received {"connection_id":153448,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153448,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:57:44] local.INFO: Processing buffer {"connection_id":153448,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:57:44] local.INFO: IMEI packet received {"connection_id":153448,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":153448,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:57:47] local.INFO: TCP Data received {"connection_id":153448,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153448,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:57:47] local.INFO: Processing buffer {"connection_id":153448,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 09:57:47] local.INFO: IMEI packet received {"connection_id":153448,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 09:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":153448,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:57:48] local.INFO: TCP Data received {"connection_id":153448,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef10e6500100000000000000000000000000..."} 
[2026-08-11 09:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef10e6500100000000000000000000000000..."} 
[2026-08-11 09:57:48] local.INFO: Processing buffer {"connection_id":153448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef10e6500100000000000000000000000000..."} 
[2026-08-11 09:57:48] local.INFO: Packet analysis {"connection_id":153448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef10"} 
[2026-08-11 09:57:48] local.INFO: Extracted packet for processing {"connection_id":153448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef10"} 
[2026-08-11 09:57:48] 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-08-11 09:57:48] 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-08-11 09:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27608234462281728,"note":"Value kept but may cause issues"} 
[2026-08-11 09:57:48] 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-08-11 09:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786422290000,"timestamp_ms":1786422290000,"timestamp_seconds":1786422290,"priority":1,"record_length":96,"hex_timestamp":"0000019fef10e650"} 
[2026-08-11 09:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:57:48] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:57: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-11 09:57:48] 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-08-11 09:57: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-08-11 09:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153448,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153448,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":153448,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 09:57:48] local.INFO: GPS data processed {"connection_id":153448,"processed":0,"errors":0,"total":1} 
[2026-08-11 09:57:48] local.INFO: Acknowledgment sent {"connection_id":153448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:57:49] local.INFO: TCP Data received {"connection_id":153448,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1314e8012d0b69c0070346f80027012a14..."} 
[2026-08-11 09:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1314e8012d0b69c0070346f80027012a14..."} 
[2026-08-11 09:57:49] local.INFO: Processing buffer {"connection_id":153448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1314e8012d0b69c0070346f80027012a14..."} 
[2026-08-11 09:57:49] local.INFO: Packet analysis {"connection_id":153448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef13"} 
[2026-08-11 09:57:49] local.INFO: Extracted packet for processing {"connection_id":153448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef13"} 
[2026-08-11 09:57:49] local.INFO: GPS Element Parsed {"raw_longitude":755722688,"raw_latitude":117655288,"longitude_deg":75.5722688,"latitude_deg":11.7655288,"altitude":39,"angle":298,"satellites":20,"speed":1,"hex_longitude":"2d0b69c0","hex_latitude":"070346f8","is_valid_coordinates":true} 
[2026-08-11 09:57:49] 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-08-11 09:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27608234462281728,"note":"Value kept but may cause issues"} 
[2026-08-11 09:57:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 09:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786422433000,"timestamp_ms":1786422433000,"timestamp_seconds":1786422433,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1314e8"} 
[2026-08-11 09:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:57:49] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09:57: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":218,"data_length":795,"current_offset":136} 
[2026-08-11 09:57:49] 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-08-11 09:57: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-08-11 09:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153448,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153448,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14374,"17":206,"94":11008,"24":1,"16":27608234462281728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16]} 
[2026-08-11 09:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-11 09:57:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27608234462281728,"km_value":27608234462281.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:57:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null}} 
[2026-08-11 09:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":153448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624354,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:57:50] local.INFO: GPS data processed {"connection_id":153448,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:57:50] local.INFO: Acknowledgment sent {"connection_id":153448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:57:56] local.INFO: TCP Data received {"connection_id":152486,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef125580012d904780060e2d58000d009431..."} 
[2026-08-11 09:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef125580012d904780060e2d58000d009431..."} 
[2026-08-11 09:57:56] local.INFO: Processing buffer {"connection_id":152486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef125580012d904780060e2d58000d009431..."} 
[2026-08-11 09:57:56] local.INFO: Packet analysis {"connection_id":152486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef12"} 
[2026-08-11 09:57:56] local.INFO: Extracted packet for processing {"connection_id":152486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef12"} 
[2026-08-11 09:57:56] local.INFO: GPS Element Parsed {"raw_longitude":764430208,"raw_latitude":101592408,"longitude_deg":76.4430208,"latitude_deg":10.1592408,"altitude":13,"angle":148,"satellites":49,"speed":43,"hex_longitude":"2d904780","hex_latitude":"060e2d58","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324129792001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377278839337779200,"note":"Value kept but may cause issues"} 
[2026-08-11 09:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8051380576567617536,"note":"Value kept but may cause issues"} 
[2026-08-11 09:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786422384000,"timestamp_ms":1786422384000,"timestamp_seconds":1786422384,"priority":1,"record_length":96,"hex_timestamp":"0000019fef125580"} 
[2026-08-11 09:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 09:57:56] 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-08-11 09: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-08-11 09:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:57:56] 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-08-11 09:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324129792001,"66":27908,"177":206,"79":46848,"24":43,"16":377278839337779200,"45":-8051380576567617536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,79,24,16,45]} 
[2026-08-11 09:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324129792001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:57:56] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:57:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377278839337779200,"km_value":377278839337779.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8051380576567617536,"description":"Unknown IO ID 45"} 
[2026-08-11 09:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324129792001,"power":27908,"unknown_177":206,"unknown_79":46848,"ignition":43,"odometer":null,"unknown_45":-8051380576567617536}} 
[2026-08-11 09:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":152486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:57:56] local.INFO: GPS data processed {"connection_id":152486,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:57:56] local.INFO: Acknowledgment sent {"connection_id":152486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:58:11] local.INFO: TCP Data received {"connection_id":153447,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:58:11] local.INFO: Processing buffer {"connection_id":153447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef0fa600012d7d358005ec0ea8000500a11e..."} 
[2026-08-11 09:58:11] local.INFO: Packet analysis {"connection_id":153447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:58:11] local.INFO: Extracted packet for processing {"connection_id":153447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef0f"} 
[2026-08-11 09:58:11] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":30,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324008192001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786422208000,"timestamp_ms":1786422208000,"timestamp_seconds":1786422208,"priority":1,"record_length":96,"hex_timestamp":"0000019fef0fa600"} 
[2026-08-11 09:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324008192001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324008192001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:58:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:58:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324008192001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":153447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:58:11] local.INFO: GPS data processed {"connection_id":153447,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:58:11] local.INFO: Acknowledgment sent {"connection_id":153447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:58:25] local.INFO: TCP Data received {"connection_id":152487,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:58:25] local.INFO: Processing buffer {"connection_id":152487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:58:25] local.INFO: IMEI packet received {"connection_id":152487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":152487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:58:28] local.INFO: TCP Data received {"connection_id":152487,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:58:28] local.INFO: Processing buffer {"connection_id":152487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:58:28] local.INFO: IMEI packet received {"connection_id":152487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":152487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:58:28] local.INFO: TCP Data received {"connection_id":153448,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef140718012d0b4380070350a80017010e1c..."} 
[2026-08-11 09:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef140718012d0b4380070350a80017010e1c..."} 
[2026-08-11 09:58:28] local.INFO: Processing buffer {"connection_id":153448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef140718012d0b4380070350a80017010e1c..."} 
[2026-08-11 09:58:28] local.INFO: Packet analysis {"connection_id":153448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 09:58:28] local.INFO: Extracted packet for processing {"connection_id":153448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 09:58:28] local.INFO: GPS Element Parsed {"raw_longitude":755712896,"raw_latitude":117657768,"longitude_deg":75.5712896,"latitude_deg":11.7657768,"altitude":23,"angle":270,"satellites":28,"speed":16,"hex_longitude":"2d0b4380","hex_latitude":"070350a8","is_valid_coordinates":true} 
[2026-08-11 09:58: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-08-11 09:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324157440001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27608840052670464,"note":"Value kept but may cause issues"} 
[2026-08-11 09:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813462712814247936,"note":"Value kept but may cause issues"} 
[2026-08-11 09:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786422495000,"timestamp_ms":1786422495000,"timestamp_seconds":1786422495,"priority":1,"record_length":96,"hex_timestamp":"0000019fef140718"} 
[2026-08-11 09:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:58: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-08-11 09:58: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":131,"data_length":795,"current_offset":136} 
[2026-08-11 09:58:28] 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-08-11 09:58: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-08-11 09:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153448,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153448,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324157440001,"66":14298,"17":206,"94":11008,"24":16,"16":27608840052670464,"45":813462712814247936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324157440001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:58:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27608840052670464,"km_value":27608840052670.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":813462712814247936,"description":"Unknown IO ID 45"} 
[2026-08-11 09:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324157440001,"power":14298,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":813462712814247936}} 
[2026-08-11 09:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":153448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624357,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:58:29] local.INFO: GPS data processed {"connection_id":153448,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:58:29] local.INFO: Acknowledgment sent {"connection_id":153448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:58:29] local.INFO: TCP Data received {"connection_id":152487,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef126138012d905000060e22f0000b008732..."} 
[2026-08-11 09:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef126138012d905000060e22f0000b008732..."} 
[2026-08-11 09:58:29] local.INFO: Processing buffer {"connection_id":152487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef126138012d905000060e22f0000b008732..."} 
[2026-08-11 09:58:29] local.INFO: Packet analysis {"connection_id":152487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef12"} 
[2026-08-11 09:58:29] local.INFO: Extracted packet for processing {"connection_id":152487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef12"} 
[2026-08-11 09:58:29] local.INFO: GPS Element Parsed {"raw_longitude":764432384,"raw_latitude":101589744,"longitude_deg":76.4432384,"latitude_deg":10.1589744,"altitude":11,"angle":135,"satellites":50,"speed":45,"hex_longitude":"2d905000","hex_latitude":"060e22f0","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324130304001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377279006841503744,"note":"Value kept but may cause issues"} 
[2026-08-11 09:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8050325045405460480,"note":"Value kept but may cause issues"} 
[2026-08-11 09:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786422387000,"timestamp_ms":1786422387000,"timestamp_seconds":1786422387,"priority":1,"record_length":96,"hex_timestamp":"0000019fef126138"} 
[2026-08-11 09:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 09:58:29] 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-08-11 09: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-08-11 09:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:58:29] 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-08-11 09:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324130304001,"66":27908,"177":206,"79":46848,"24":45,"16":377279006841503744,"45":-8050325045405460480},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,79,24,16,45]} 
[2026-08-11 09:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324130304001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:58:29] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:58:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377279006841503744,"km_value":377279006841503.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8050325045405460480,"description":"Unknown IO ID 45"} 
[2026-08-11 09:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324130304001,"power":27908,"unknown_177":206,"unknown_79":46848,"ignition":45,"odometer":null,"unknown_45":-8050325045405460480}} 
[2026-08-11 09:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":152487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:58:29] local.INFO: GPS data processed {"connection_id":152487,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:58:29] local.INFO: Acknowledgment sent {"connection_id":152487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:58:44] local.INFO: TCP Data received {"connection_id":154826,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:58:44] local.INFO: Processing buffer {"connection_id":154826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:58:44] local.INFO: IMEI packet received {"connection_id":154826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":154826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:58:47] local.INFO: TCP Data received {"connection_id":154826,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:58:47] local.INFO: Processing buffer {"connection_id":154826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:58:47] local.INFO: IMEI packet received {"connection_id":154826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":154826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:58:49] local.INFO: TCP Data received {"connection_id":154826,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 09:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 09:58:49] local.INFO: Processing buffer {"connection_id":154826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 09:58:49] local.INFO: Packet analysis {"connection_id":154826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 09:58:49] local.INFO: Extracted packet for processing {"connection_id":154826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 09:58:49] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09:58: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-08-11 09:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324085248001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786422509000,"timestamp_ms":1786422509000,"timestamp_seconds":1786422509,"priority":1,"record_length":96,"hex_timestamp":"0000019fef143dc8"} 
[2026-08-11 09:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:58:49] 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-08-11 09:58: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":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:58: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-08-11 09:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324085248001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324085248001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:58:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:58:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324085248001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":154826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:58:50] local.INFO: GPS data processed {"connection_id":154826,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:58:50] local.INFO: Acknowledgment sent {"connection_id":154826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:58:51] local.INFO: TCP Data received {"connection_id":154826,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 09:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 09:58:51] local.INFO: Processing buffer {"connection_id":154826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 09:58:51] local.INFO: Packet analysis {"connection_id":154826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 09:58:51] local.INFO: Extracted packet for processing {"connection_id":154826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 09:58:51] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324085248001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786422509000,"timestamp_ms":1786422509000,"timestamp_seconds":1786422509,"priority":1,"record_length":96,"hex_timestamp":"0000019fef143dc8"} 
[2026-08-11 09:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:58:51] 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-08-11 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09: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-08-11 09:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324085248001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324085248001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:58:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:58:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324085248001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":154826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:58:51] local.INFO: GPS data processed {"connection_id":154826,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:58:51] local.INFO: Acknowledgment sent {"connection_id":154826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:59:00] local.INFO: TCP Data received {"connection_id":152487,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef128078012d906980060e0af8000a008332..."} 
[2026-08-11 09:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef128078012d906980060e0af8000a008332..."} 
[2026-08-11 09:59:00] local.INFO: Processing buffer {"connection_id":152487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef128078012d906980060e0af8000a008332..."} 
[2026-08-11 09:59:00] local.INFO: Packet analysis {"connection_id":152487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef12"} 
[2026-08-11 09:59:00] local.INFO: Extracted packet for processing {"connection_id":152487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef12"} 
[2026-08-11 09:59:00] local.INFO: GPS Element Parsed {"raw_longitude":764438912,"raw_latitude":101583608,"longitude_deg":76.4438912,"latitude_deg":10.1583608,"altitude":10,"angle":131,"satellites":50,"speed":41,"hex_longitude":"2d906980","hex_latitude":"060e0af8","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324131072001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377279436338233344,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8047932508104101888,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786422395000,"timestamp_ms":1786422395000,"timestamp_seconds":1786422395,"priority":1,"record_length":96,"hex_timestamp":"0000019fef128078"} 
[2026-08-11 09:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 09:59:00] 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-08-11 09: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-08-11 09:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:59:00] 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-08-11 09:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324131072001,"66":27865,"177":206,"79":46848,"24":41,"16":377279436338233344,"45":-8047932508104101888},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,79,24,16,45]} 
[2026-08-11 09:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324131072001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:59:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:59:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377279436338233344,"km_value":377279436338233.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8047932508104101888,"description":"Unknown IO ID 45"} 
[2026-08-11 09:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324131072001,"power":27865,"unknown_177":206,"unknown_79":46848,"ignition":41,"odometer":null,"unknown_45":-8047932508104101888}} 
[2026-08-11 09:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":152487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:59:00] local.INFO: GPS data processed {"connection_id":152487,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:59:00] local.INFO: Acknowledgment sent {"connection_id":152487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:59:05] local.INFO: TCP Data received {"connection_id":153448,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef140b00012d0b4200070351000017011d1c..."} 
[2026-08-11 09:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef140b00012d0b4200070351000017011d1c..."} 
[2026-08-11 09:59:05] local.INFO: Processing buffer {"connection_id":153448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef140b00012d0b4200070351000017011d1c..."} 
[2026-08-11 09:59:05] local.INFO: Packet analysis {"connection_id":153448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 09:59:05] local.INFO: Extracted packet for processing {"connection_id":153448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 09:59:05] local.INFO: GPS Element Parsed {"raw_longitude":755712512,"raw_latitude":117657856,"longitude_deg":75.5712512,"latitude_deg":11.7657856,"altitude":23,"angle":285,"satellites":28,"speed":16,"hex_longitude":"2d0b4200","hex_latitude":"07035100","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324158720001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27608861527506944,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811633125465565184,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786422496000,"timestamp_ms":1786422496000,"timestamp_seconds":1786422496,"priority":1,"record_length":96,"hex_timestamp":"0000019fef140b00"} 
[2026-08-11 09:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09: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-08-11 09: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-11 09:59: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-08-11 09: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-08-11 09:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153448,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153448,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 09:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 09:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 09:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324158720001,"66":14396,"17":206,"94":11008,"24":16,"16":27608861527506944,"45":811633125465565184},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 09:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 09:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 09:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324158720001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:59:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 09:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27608861527506944,"km_value":27608861527506.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":811633125465565184,"description":"Unknown IO ID 45"} 
[2026-08-11 09:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324158720001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":811633125465565184}} 
[2026-08-11 09:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":153448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624362,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:59:05] local.INFO: GPS data processed {"connection_id":153448,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:59:05] local.INFO: Acknowledgment sent {"connection_id":153448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:59:20] local.INFO: TCP Data received {"connection_id":152103,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:59:20] local.INFO: Processing buffer {"connection_id":152103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:59:20] local.INFO: IMEI packet received {"connection_id":152103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 09:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":152103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:59:25] local.INFO: TCP Data received {"connection_id":152103,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:59:25] local.INFO: Processing buffer {"connection_id":152103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 09:59:25] local.INFO: IMEI packet received {"connection_id":152103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 09:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":152103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:59:25] local.INFO: TCP Data received {"connection_id":152103,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef12a788012d908600060df298000c008030..."} 
[2026-08-11 09:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef12a788012d908600060df298000c008030..."} 
[2026-08-11 09:59:25] local.INFO: Processing buffer {"connection_id":152103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef12a788012d908600060df298000c008030..."} 
[2026-08-11 09:59:25] local.INFO: Packet analysis {"connection_id":152103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef12"} 
[2026-08-11 09:59:25] local.INFO: Extracted packet for processing {"connection_id":152103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef12"} 
[2026-08-11 09:59:25] local.INFO: GPS Element Parsed {"raw_longitude":764446208,"raw_latitude":101577368,"longitude_deg":76.4446208,"latitude_deg":10.1577368,"altitude":12,"angle":128,"satellites":48,"speed":36,"hex_longitude":"2d908600","hex_latitude":"060df298","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324133120001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377279895899734016,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8040754896199550976,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786422405000,"timestamp_ms":1786422405000,"timestamp_seconds":1786422405,"priority":1,"record_length":96,"hex_timestamp":"0000019fef12a788"} 
[2026-08-11 09:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 09:59:25] 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-08-11 09: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-08-11 09:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:59:25] 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-08-11 09:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324133120001,"66":27908,"177":206,"79":46848,"24":36,"16":377279895899734016,"45":-8040754896199550976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,79,24,16,45]} 
[2026-08-11 09:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324133120001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:59:25] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 09:59:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377279895899734016,"km_value":377279895899734.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8040754896199550976,"description":"Unknown IO ID 45"} 
[2026-08-11 09:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324133120001,"power":27908,"unknown_177":206,"unknown_79":46848,"ignition":36,"odometer":null,"unknown_45":-8040754896199550976}} 
[2026-08-11 09:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":152103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:59:25] local.INFO: GPS data processed {"connection_id":152103,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:59:25] local.INFO: Acknowledgment sent {"connection_id":152103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:59:38] local.INFO: TCP Data received {"connection_id":152488,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:59:38] local.INFO: Processing buffer {"connection_id":152488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:59:38] local.INFO: IMEI packet received {"connection_id":152488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 09:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":152488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 09:59:44] local.INFO: TCP Data received {"connection_id":152488,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:59:44] local.INFO: Processing buffer {"connection_id":152488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 09:59:44] local.INFO: IMEI packet received {"connection_id":152488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 09:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":152488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 09:59:45] local.INFO: TCP Data received {"connection_id":152488,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 09:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 09:59:45] local.INFO: Processing buffer {"connection_id":152488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 09:59:45] local.INFO: Packet analysis {"connection_id":152488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 09:59:45] local.INFO: Extracted packet for processing {"connection_id":152488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 09:59:45] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09:59: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-08-11 09:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324085248001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786422509000,"timestamp_ms":1786422509000,"timestamp_seconds":1786422509,"priority":1,"record_length":96,"hex_timestamp":"0000019fef143dc8"} 
[2026-08-11 09:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:59:45] 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-08-11 09:59: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":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:59: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-08-11 09:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324085248001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324085248001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:59:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:59:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324085248001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":152488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:59:45] local.INFO: GPS data processed {"connection_id":152488,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:59:45] local.INFO: Acknowledgment sent {"connection_id":152488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:59:49] local.INFO: TCP Data received {"connection_id":152488,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 09:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 09:59:49] local.INFO: Processing buffer {"connection_id":152488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 09:59:49] local.INFO: Packet analysis {"connection_id":152488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 09:59:49] local.INFO: Extracted packet for processing {"connection_id":152488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 09:59:49] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 09:59: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-08-11 09:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324085248001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786422509000,"timestamp_ms":1786422509000,"timestamp_seconds":1786422509,"priority":1,"record_length":96,"hex_timestamp":"0000019fef143dc8"} 
[2026-08-11 09:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:59:49] 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-08-11 09:59: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":183,"data_length":795,"current_offset":136} 
[2026-08-11 09:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 09:59: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-08-11 09:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 09:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 09:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 09:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 09:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324085248001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 09:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 09:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 09:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324085248001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:59:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 09:59:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 09:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 09:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324085248001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 09:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":152488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:59:49] local.INFO: GPS data processed {"connection_id":152488,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:59:49] local.INFO: Acknowledgment sent {"connection_id":152488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 09:59:56] local.INFO: TCP Data received {"connection_id":152103,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef14ab28012d91fb80060cc020000d007b31..."} 
[2026-08-11 09:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef14ab28012d91fb80060cc020000d007b31..."} 
[2026-08-11 09:59:56] local.INFO: Processing buffer {"connection_id":152103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef14ab28012d91fb80060cc020000d007b31..."} 
[2026-08-11 09:59:56] local.INFO: Packet analysis {"connection_id":152103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 09:59:56] local.INFO: Extracted packet for processing {"connection_id":152103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 09:59:56] local.INFO: GPS Element Parsed {"raw_longitude":764541824,"raw_latitude":101498912,"longitude_deg":76.4541824,"latitude_deg":10.1498912,"altitude":13,"angle":123,"satellites":49,"speed":43,"hex_longitude":"2d91fb80","hex_latitude":"060cc020","is_valid_coordinates":true} 
[2026-08-11 09: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-08-11 09:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324167168001,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377285848724406272,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7936538786092789760,"note":"Value kept but may cause issues"} 
[2026-08-11 09:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 09:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786422537000,"timestamp_ms":1786422537000,"timestamp_seconds":1786422537,"priority":1,"record_length":96,"hex_timestamp":"0000019fef14ab28"} 
[2026-08-11 09:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 09:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 09:59:56] 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-08-11 09: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-08-11 09:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 09:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 09:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 09:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 09:59:56] 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-08-11 09:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 09:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 09:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324167168001,"66":27865,"176":206,"79":46848,"24":43,"16":377285848724406272,"45":-7936538786092789760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,79,24,16,45]} 
[2026-08-11 09:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 09:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 09:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324167168001,"description":"Unknown IO ID 0"} 
[2026-08-11 09:59:56] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-11 09:59:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 09:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377285848724406272,"km_value":377285848724406.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 09:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7936538786092789760,"description":"Unknown IO ID 45"} 
[2026-08-11 09:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324167168001,"power":27865,"unknown_176":206,"unknown_79":46848,"ignition":43,"odometer":null,"unknown_45":-7936538786092789760}} 
[2026-08-11 09:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":152103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 09:59:56] local.INFO: GPS data processed {"connection_id":152103,"processed":1,"errors":0,"total":1} 
[2026-08-11 09:59:56] local.INFO: Acknowledgment sent {"connection_id":152103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:00:24] local.INFO: TCP Data received {"connection_id":152489,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:00:24] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:00:24] local.INFO: IMEI packet received {"connection_id":152489,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 10:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":152489,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:00:25] local.INFO: TCP Data received {"connection_id":154827,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:00:25] local.INFO: Processing buffer {"connection_id":154827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:00:25] local.INFO: IMEI packet received {"connection_id":154827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":154827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:00:25] local.INFO: TCP Data received {"connection_id":152489,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:00:25] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:00:25] local.INFO: IMEI packet received {"connection_id":152489,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 10:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":152489,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:00:25] local.INFO: TCP Data received {"connection_id":152489,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:00:25] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:00:25] local.INFO: IMEI packet received {"connection_id":152489,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 10:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":152489,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:00:26] local.INFO: TCP Data received {"connection_id":152489,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef156a90012d0b49c00703bb60001a00011f..."} 
[2026-08-11 10:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef156a90012d0b49c00703bb60001a00011f..."} 
[2026-08-11 10:00:26] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef156a90012d0b49c00703bb60001a00011f..."} 
[2026-08-11 10:00:26] local.INFO: Packet analysis {"connection_id":152489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef15"} 
[2026-08-11 10:00:26] local.INFO: Extracted packet for processing {"connection_id":152489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef15"} 
[2026-08-11 10:00:26] local.INFO: GPS Element Parsed {"raw_longitude":755714496,"raw_latitude":117685088,"longitude_deg":75.5714496,"latitude_deg":11.7685088,"altitude":26,"angle":1,"satellites":31,"speed":29,"hex_longitude":"2d0b49c0","hex_latitude":"0703bb60","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324180992001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27610596694294528,"note":"Value kept but may cause issues"} 
[2026-08-11 10:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812829394122969088,"note":"Value kept but may cause issues"} 
[2026-08-11 10:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786422586000,"timestamp_ms":1786422586000,"timestamp_seconds":1786422586,"priority":1,"record_length":96,"hex_timestamp":"0000019fef156a90"} 
[2026-08-11 10:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:00: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-08-11 10: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 10:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 10:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 10:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324180992001,"66":14515,"96":206,"94":10240,"24":29,"16":27610596694294528,"45":812829394122969088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 10:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 10:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 10:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324180992001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:00:26] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 10:00:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 10:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27610596694294528,"km_value":27610596694294.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":812829394122969088,"description":"Unknown IO ID 45"} 
[2026-08-11 10:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324180992001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":812829394122969088}} 
[2026-08-11 10:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":152489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624367,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:00:26] local.INFO: GPS data processed {"connection_id":152489,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:00:26] local.INFO: Acknowledgment sent {"connection_id":152489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:00:27] local.INFO: TCP Data received {"connection_id":152489,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef157260012d0b48c00703c2380018015f1e..."} 
[2026-08-11 10:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef157260012d0b48c00703c2380018015f1e..."} 
[2026-08-11 10:00:27] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef157260012d0b48c00703c2380018015f1e..."} 
[2026-08-11 10:00:27] local.INFO: Packet analysis {"connection_id":152489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef15"} 
[2026-08-11 10:00:27] local.INFO: Extracted packet for processing {"connection_id":152489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef15"} 
[2026-08-11 10:00:27] local.INFO: GPS Element Parsed {"raw_longitude":755714240,"raw_latitude":117686840,"longitude_deg":75.571424,"latitude_deg":11.768684,"altitude":24,"angle":351,"satellites":30,"speed":38,"hex_longitude":"2d0b48c0","hex_latitude":"0703c238","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324182016001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27610682593640448,"note":"Value kept but may cause issues"} 
[2026-08-11 10:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813392344077000704,"note":"Value kept but may cause issues"} 
[2026-08-11 10:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786422588000,"timestamp_ms":1786422588000,"timestamp_seconds":1786422588,"priority":1,"record_length":96,"hex_timestamp":"0000019fef157260"} 
[2026-08-11 10:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:00: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-08-11 10: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 10:00:27] 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-08-11 10: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-08-11 10:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 10:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 10:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324182016001,"66":14428,"96":206,"94":10240,"24":38,"16":27610682593640448,"45":813392344077000704},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 10:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 10:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 10:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324182016001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:00:27] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 10:00:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 10:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27610682593640448,"km_value":27610682593640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":813392344077000704,"description":"Unknown IO ID 45"} 
[2026-08-11 10:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324182016001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_45":813392344077000704}} 
[2026-08-11 10:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":152489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624368,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:00:27] local.INFO: GPS data processed {"connection_id":152489,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:00:27] local.INFO: Acknowledgment sent {"connection_id":152489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:00:30] local.INFO: TCP Data received {"connection_id":154827,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:00:30] local.INFO: Processing buffer {"connection_id":154827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:00:30] local.INFO: IMEI packet received {"connection_id":154827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":154827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:00:31] local.INFO: TCP Data received {"connection_id":154827,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef14ce50012d9219c0060cac60000d007c32..."} 
[2026-08-11 10:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef14ce50012d9219c0060cac60000d007c32..."} 
[2026-08-11 10:00:31] local.INFO: Processing buffer {"connection_id":154827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef14ce50012d9219c0060cac60000d007c32..."} 
[2026-08-11 10:00:31] local.INFO: Packet analysis {"connection_id":154827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 10:00:31] local.INFO: Extracted packet for processing {"connection_id":154827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 10:00:31] local.INFO: GPS Element Parsed {"raw_longitude":764549568,"raw_latitude":101493856,"longitude_deg":76.4549568,"latitude_deg":10.1493856,"altitude":13,"angle":124,"satellites":50,"speed":36,"hex_longitude":"2d9219c0","hex_latitude":"060cac60","is_valid_coordinates":true} 
[2026-08-11 10:00: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-08-11 10:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324169472001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377286291106037760,"note":"Value kept but may cause issues"} 
[2026-08-11 10:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7927601955583549440,"note":"Value kept but may cause issues"} 
[2026-08-11 10:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786422546000,"timestamp_ms":1786422546000,"timestamp_seconds":1786422546,"priority":1,"record_length":96,"hex_timestamp":"0000019fef14ce50"} 
[2026-08-11 10:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:00: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":217,"data_length":795,"current_offset":136} 
[2026-08-11 10:00:31] 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-08-11 10:00: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-08-11 10:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:00:31] 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-08-11 10:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324169472001,"66":27930,"176":206,"79":46848,"24":36,"16":377286291106037760,"45":-7927601955583549440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,79,24,16,45]} 
[2026-08-11 10:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324169472001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:00:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-11 10:00:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 10:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377286291106037760,"km_value":377286291106037.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7927601955583549440,"description":"Unknown IO ID 45"} 
[2026-08-11 10:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324169472001,"power":27930,"unknown_176":206,"unknown_79":46848,"ignition":36,"odometer":null,"unknown_45":-7927601955583549440}} 
[2026-08-11 10:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":154827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:00:31] local.INFO: GPS data processed {"connection_id":154827,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:00:31] local.INFO: Acknowledgment sent {"connection_id":154827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:00:33] local.INFO: TCP Data received {"connection_id":152104,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:00:33] local.INFO: Processing buffer {"connection_id":152104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:00:33] local.INFO: IMEI packet received {"connection_id":152104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 10:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":152104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:00:38] local.INFO: TCP Data received {"connection_id":152104,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:00:38] local.INFO: Processing buffer {"connection_id":152104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:00:38] local.INFO: IMEI packet received {"connection_id":152104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":152104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:00:39] local.INFO: TCP Data received {"connection_id":152104,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:00:39] local.INFO: Processing buffer {"connection_id":152104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:00:39] local.INFO: Packet analysis {"connection_id":152104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 10:00:39] local.INFO: Extracted packet for processing {"connection_id":152104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 10:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324085248001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786422509000,"timestamp_ms":1786422509000,"timestamp_seconds":1786422509,"priority":1,"record_length":96,"hex_timestamp":"0000019fef143dc8"} 
[2026-08-11 10:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:00:39] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324085248001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324085248001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:00:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:00:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324085248001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":152104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:00:39] local.INFO: GPS data processed {"connection_id":152104,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:00:39] local.INFO: Acknowledgment sent {"connection_id":152104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:00:59] local.INFO: TCP Data received {"connection_id":152489,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef164168012d0b3b4007041b68001101421f..."} 
[2026-08-11 10:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef164168012d0b3b4007041b68001101421f..."} 
[2026-08-11 10:00:59] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef164168012d0b3b4007041b68001101421f..."} 
[2026-08-11 10:00:59] local.INFO: Packet analysis {"connection_id":152489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef16"} 
[2026-08-11 10:00:59] local.INFO: Extracted packet for processing {"connection_id":152489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef16"} 
[2026-08-11 10:00:59] local.INFO: GPS Element Parsed {"raw_longitude":755710784,"raw_latitude":117709672,"longitude_deg":75.5710784,"latitude_deg":11.7709672,"altitude":17,"angle":322,"satellites":31,"speed":7,"hex_longitude":"2d0b3b40","hex_latitude":"07041b68","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324195328001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27611876594548736,"note":"Value kept but may cause issues"} 
[2026-08-11 10:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809662800641705984,"note":"Value kept but may cause issues"} 
[2026-08-11 10:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786422641000,"timestamp_ms":1786422641000,"timestamp_seconds":1786422641,"priority":1,"record_length":96,"hex_timestamp":"0000019fef164168"} 
[2026-08-11 10:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:00: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-08-11 10: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-11 10:00: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-08-11 10: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-08-11 10:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 10:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 10:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324195328001,"66":14548,"96":206,"94":10240,"24":7,"16":27611876594548736,"45":809662800641705984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 10:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 10:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 10:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324195328001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:00:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 10:00:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 10:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27611876594548736,"km_value":27611876594548.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":809662800641705984,"description":"Unknown IO ID 45"} 
[2026-08-11 10:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324195328001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":809662800641705984}} 
[2026-08-11 10:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":152489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624371,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:00:59] local.INFO: GPS data processed {"connection_id":152489,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:00:59] local.INFO: Acknowledgment sent {"connection_id":152489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:01:02] local.INFO: TCP Data received {"connection_id":154827,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef14f560012d923880060c97b8000f007c33..."} 
[2026-08-11 10:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef14f560012d923880060c97b8000f007c33..."} 
[2026-08-11 10:01:02] local.INFO: Processing buffer {"connection_id":154827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef14f560012d923880060c97b8000f007c33..."} 
[2026-08-11 10:01:02] local.INFO: Packet analysis {"connection_id":154827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 10:01:02] local.INFO: Extracted packet for processing {"connection_id":154827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 10:01:02] local.INFO: GPS Element Parsed {"raw_longitude":764557440,"raw_latitude":101488568,"longitude_deg":76.455744,"latitude_deg":10.1488568,"altitude":15,"angle":124,"satellites":51,"speed":38,"hex_longitude":"2d923880","hex_latitude":"060c97b8","is_valid_coordinates":true} 
[2026-08-11 10:01: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-08-11 10:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324171776001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377286742077603840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7919087337539346432,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786422556000,"timestamp_ms":1786422556000,"timestamp_seconds":1786422556,"priority":1,"record_length":96,"hex_timestamp":"0000019fef14f560"} 
[2026-08-11 10:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:01: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-08-11 10:01: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-08-11 10:01: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-08-11 10:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":154827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":154827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":154827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:01:02] 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-08-11 10:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324171776001,"66":27919,"176":206,"79":46848,"24":38,"16":377286742077603840,"45":-7919087337539346432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,79,24,16,45]} 
[2026-08-11 10:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324171776001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:01:02] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-11 10:01:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 10:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377286742077603840,"km_value":377286742077603.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7919087337539346432,"description":"Unknown IO ID 45"} 
[2026-08-11 10:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324171776001,"power":27919,"unknown_176":206,"unknown_79":46848,"ignition":38,"odometer":null,"unknown_45":-7919087337539346432}} 
[2026-08-11 10:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":154827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:01:02] local.INFO: GPS data processed {"connection_id":154827,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:01:02] local.INFO: Acknowledgment sent {"connection_id":154827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:01:10] local.INFO: TCP Data received {"connection_id":152104,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:01:10] local.INFO: Processing buffer {"connection_id":152104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:01:10] local.INFO: Packet analysis {"connection_id":152104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 10:01:10] local.INFO: Extracted packet for processing {"connection_id":152104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 10:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324085248001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786422509000,"timestamp_ms":1786422509000,"timestamp_seconds":1786422509,"priority":1,"record_length":96,"hex_timestamp":"0000019fef143dc8"} 
[2026-08-11 10:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:01:10] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324085248001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324085248001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:01:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:01:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324085248001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":152104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:01:10] local.INFO: GPS data processed {"connection_id":152104,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:01:10] local.INFO: Acknowledgment sent {"connection_id":152104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:01:20] local.INFO: TCP Data received {"connection_id":154828,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:01:20] local.INFO: Processing buffer {"connection_id":154828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:01:20] local.INFO: IMEI packet received {"connection_id":154828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":154828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:01:26] local.INFO: TCP Data received {"connection_id":154828,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:01:26] local.INFO: Processing buffer {"connection_id":154828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:01:26] local.INFO: IMEI packet received {"connection_id":154828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":154828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:01:27] local.INFO: TCP Data received {"connection_id":154828,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef151c70012d9257c0060c8220000e007a33..."} 
[2026-08-11 10:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef151c70012d9257c0060c8220000e007a33..."} 
[2026-08-11 10:01:27] local.INFO: Processing buffer {"connection_id":154828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef151c70012d9257c0060c8220000e007a33..."} 
[2026-08-11 10:01:27] local.INFO: Packet analysis {"connection_id":154828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef15"} 
[2026-08-11 10:01:27] local.INFO: Extracted packet for processing {"connection_id":154828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef15"} 
[2026-08-11 10:01:27] local.INFO: GPS Element Parsed {"raw_longitude":764565440,"raw_latitude":101483040,"longitude_deg":76.456544,"latitude_deg":10.148304,"altitude":14,"angle":122,"satellites":51,"speed":39,"hex_longitude":"2d9257c0","hex_latitude":"060c8220","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324174336001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377287210229039104,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7910431982006847488,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786422566000,"timestamp_ms":1786422566000,"timestamp_seconds":1786422566,"priority":1,"record_length":96,"hex_timestamp":"0000019fef151c70"} 
[2026-08-11 10:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 10:01:27] 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-08-11 10: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-08-11 10:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":154828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":154828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":154828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:01:27] 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-08-11 10:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324174336001,"66":27887,"176":206,"79":46848,"24":39,"16":377287210229039104,"45":-7910431982006847488},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,79,24,16,45]} 
[2026-08-11 10:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324174336001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:01:27] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-11 10:01:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 10:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377287210229039104,"km_value":377287210229039.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7910431982006847488,"description":"Unknown IO ID 45"} 
[2026-08-11 10:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324174336001,"power":27887,"unknown_176":206,"unknown_79":46848,"ignition":39,"odometer":null,"unknown_45":-7910431982006847488}} 
[2026-08-11 10:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":154828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:01:27] local.INFO: GPS data processed {"connection_id":154828,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:01:27] local.INFO: Acknowledgment sent {"connection_id":154828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:01:30] local.INFO: TCP Data received {"connection_id":152489,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef164d20012d0b394007041e400011015520..."} 
[2026-08-11 10:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef164d20012d0b394007041e400011015520..."} 
[2026-08-11 10:01:30] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef164d20012d0b394007041e400011015520..."} 
[2026-08-11 10:01:30] local.INFO: Packet analysis {"connection_id":152489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef16"} 
[2026-08-11 10:01:30] local.INFO: Extracted packet for processing {"connection_id":152489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef16"} 
[2026-08-11 10:01:30] local.INFO: GPS Element Parsed {"raw_longitude":755710272,"raw_latitude":117710400,"longitude_deg":75.5710272,"latitude_deg":11.77104,"altitude":17,"angle":341,"satellites":32,"speed":10,"hex_longitude":"2d0b3940","hex_latitude":"07041e40","is_valid_coordinates":true} 
[2026-08-11 10:01: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-08-11 10:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324196096001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27611919544221696,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809310956920989696,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786422644000,"timestamp_ms":1786422644000,"timestamp_seconds":1786422644,"priority":1,"record_length":96,"hex_timestamp":"0000019fef164d20"} 
[2026-08-11 10:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:01: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-08-11 10:01: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":212,"data_length":795,"current_offset":136} 
[2026-08-11 10:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10:01: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-08-11 10:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 10:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 10:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324196096001,"66":14428,"96":206,"94":10240,"24":10,"16":27611919544221696,"45":809310956920989696},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 10:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 10:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 10:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324196096001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:01:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 10:01:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 10:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27611919544221696,"km_value":27611919544221.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":809310956920989696,"description":"Unknown IO ID 45"} 
[2026-08-11 10:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324196096001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":809310956920989696}} 
[2026-08-11 10:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":152489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624375,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:01:30] local.INFO: GPS data processed {"connection_id":152489,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:01:30] local.INFO: Acknowledgment sent {"connection_id":152489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:01:33] local.INFO: TCP Data received {"connection_id":152105,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:01:33] local.INFO: Processing buffer {"connection_id":152105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:01:33] local.INFO: IMEI packet received {"connection_id":152105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 10:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":152105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:01:38] local.INFO: TCP Data received {"connection_id":152105,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:01:38] local.INFO: Processing buffer {"connection_id":152105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:01:38] local.INFO: IMEI packet received {"connection_id":152105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":152105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:01:40] local.INFO: TCP Data received {"connection_id":152105,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:01:40] local.INFO: Processing buffer {"connection_id":152105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:01:40] local.INFO: Packet analysis {"connection_id":152105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 10:01:40] local.INFO: Extracted packet for processing {"connection_id":152105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 10:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324085248001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786422509000,"timestamp_ms":1786422509000,"timestamp_seconds":1786422509,"priority":1,"record_length":96,"hex_timestamp":"0000019fef143dc8"} 
[2026-08-11 10:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:01:40] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324085248001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324085248001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:01:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:01:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324085248001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":152105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:01:40] local.INFO: GPS data processed {"connection_id":152105,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:01:40] local.INFO: Acknowledgment sent {"connection_id":152105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:01:58] local.INFO: TCP Data received {"connection_id":154828,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef153f98012d927700060c6d68000d007b31..."} 
[2026-08-11 10:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef153f98012d927700060c6d68000d007b31..."} 
[2026-08-11 10:01:58] local.INFO: Processing buffer {"connection_id":154828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef153f98012d927700060c6d68000d007b31..."} 
[2026-08-11 10:01:58] local.INFO: Packet analysis {"connection_id":154828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef15"} 
[2026-08-11 10:01:58] local.INFO: Extracted packet for processing {"connection_id":154828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef15"} 
[2026-08-11 10:01:58] local.INFO: GPS Element Parsed {"raw_longitude":764573440,"raw_latitude":101477736,"longitude_deg":76.457344,"latitude_deg":10.1477736,"altitude":13,"angle":123,"satellites":49,"speed":44,"hex_longitude":"2d927700","hex_latitude":"060c6d68","is_valid_coordinates":true} 
[2026-08-11 10:01: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-08-11 10:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324176896001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377287669790539776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7901635888986054656,"note":"Value kept but may cause issues"} 
[2026-08-11 10:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786422575000,"timestamp_ms":1786422575000,"timestamp_seconds":1786422575,"priority":1,"record_length":96,"hex_timestamp":"0000019fef153f98"} 
[2026-08-11 10:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:01: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 10:01:58] 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-08-11 10:01: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-08-11 10:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":154828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":154828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":154828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:01:58] 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-08-11 10:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324176896001,"66":27865,"176":206,"79":46848,"24":44,"16":377287669790539776,"45":-7901635888986054656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,79,24,16,45]} 
[2026-08-11 10:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324176896001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:01:58] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-11 10:01:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-08-11 10:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377287669790539776,"km_value":377287669790539.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7901635888986054656,"description":"Unknown IO ID 45"} 
[2026-08-11 10:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324176896001,"power":27865,"unknown_176":206,"unknown_79":46848,"ignition":44,"odometer":null,"unknown_45":-7901635888986054656}} 
[2026-08-11 10:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":154828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:01:58] local.INFO: GPS data processed {"connection_id":154828,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:01:58] local.INFO: Acknowledgment sent {"connection_id":154828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:02:01] local.INFO: TCP Data received {"connection_id":152489,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef166878012d0b3700070428b00011016720..."} 
[2026-08-11 10:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef166878012d0b3700070428b00011016720..."} 
[2026-08-11 10:02:01] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef166878012d0b3700070428b00011016720..."} 
[2026-08-11 10:02:01] local.INFO: Packet analysis {"connection_id":152489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef16"} 
[2026-08-11 10:02:01] local.INFO: Extracted packet for processing {"connection_id":152489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef16"} 
[2026-08-11 10:02:01] local.INFO: GPS Element Parsed {"raw_longitude":755709696,"raw_latitude":117713072,"longitude_deg":75.5709696,"latitude_deg":11.7713072,"altitude":17,"angle":359,"satellites":32,"speed":11,"hex_longitude":"2d0b3700","hex_latitude":"070428b0","is_valid_coordinates":true} 
[2026-08-11 10:02: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-08-11 10:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324196864001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27612052688207872,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808748006967754752,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786422651000,"timestamp_ms":1786422651000,"timestamp_seconds":1786422651,"priority":1,"record_length":96,"hex_timestamp":"0000019fef166878"} 
[2026-08-11 10:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:02: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-08-11 10:02: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":92,"data_length":795,"current_offset":136} 
[2026-08-11 10:02:01] 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-08-11 10:02: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-08-11 10:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 10:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 10:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324196864001,"66":14396,"96":206,"94":10240,"24":11,"16":27612052688207872,"45":808748006967754752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 10:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 10:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 10:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324196864001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:02:01] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 10:02:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 10:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27612052688207872,"km_value":27612052688207.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":808748006967754752,"description":"Unknown IO ID 45"} 
[2026-08-11 10:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324196864001,"power":14396,"unknown_96":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":808748006967754752}} 
[2026-08-11 10:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":152489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624378,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:02:01] local.INFO: GPS data processed {"connection_id":152489,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:02:01] local.INFO: Acknowledgment sent {"connection_id":152489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:02:11] local.INFO: TCP Data received {"connection_id":152105,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:02:11] local.INFO: Processing buffer {"connection_id":152105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:02:11] local.INFO: Packet analysis {"connection_id":152105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 10:02:11] local.INFO: Extracted packet for processing {"connection_id":152105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 10:02:11] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324085248001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786422509000,"timestamp_ms":1786422509000,"timestamp_seconds":1786422509,"priority":1,"record_length":96,"hex_timestamp":"0000019fef143dc8"} 
[2026-08-11 10:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:02:11] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324085248001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324085248001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:02:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:02:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324085248001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":152105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:02:11] local.INFO: GPS data processed {"connection_id":152105,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:02:11] local.INFO: Acknowledgment sent {"connection_id":152105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:02:20] local.INFO: TCP Data received {"connection_id":152106,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:02:20] local.INFO: Processing buffer {"connection_id":152106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:02:20] local.INFO: IMEI packet received {"connection_id":152106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":152106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:02:23] local.INFO: TCP Data received {"connection_id":152106,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:02:23] local.INFO: Processing buffer {"connection_id":152106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:02:23] local.INFO: IMEI packet received {"connection_id":152106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":152106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:02:25] local.INFO: TCP Data received {"connection_id":152106,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:02:25] local.INFO: Processing buffer {"connection_id":152106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:02:25] local.INFO: IMEI packet received {"connection_id":152106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":152106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:02:25] local.INFO: TCP Data received {"connection_id":152106,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef16a310012d934d40060b61f8000f009030..."} 
[2026-08-11 10:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef16a310012d934d40060b61f8000f009030..."} 
[2026-08-11 10:02:25] local.INFO: Processing buffer {"connection_id":152106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef16a310012d934d40060b61f8000f009030..."} 
[2026-08-11 10:02:25] local.INFO: Packet analysis {"connection_id":152106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef16"} 
[2026-08-11 10:02:25] local.INFO: Extracted packet for processing {"connection_id":152106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef16"} 
[2026-08-11 10:02:25] local.INFO: GPS Element Parsed {"raw_longitude":764628288,"raw_latitude":101409272,"longitude_deg":76.4628288,"latitude_deg":10.1409272,"altitude":15,"angle":144,"satellites":48,"speed":22,"hex_longitude":"2d934d40","hex_latitude":"060b61f8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324199680001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377292080721952768,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7838304019243026432,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786422666000,"timestamp_ms":1786422666000,"timestamp_seconds":1786422666,"priority":1,"record_length":96,"hex_timestamp":"0000019fef16a310"} 
[2026-08-11 10:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 10:02:25] 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-08-11 10: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-08-11 10:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:02:25] 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-08-11 10:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324199680001,"66":27865,"147":206,"79":48640,"24":22,"16":377292080721952768,"45":-7838304019243026432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-08-11 10:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324199680001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:02:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 10:02:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377292080721952768,"km_value":377292080721952.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7838304019243026432,"description":"Unknown IO ID 45"} 
[2026-08-11 10:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324199680001,"power":27865,"unknown_147":206,"unknown_79":48640,"ignition":22,"odometer":null,"unknown_45":-7838304019243026432}} 
[2026-08-11 10:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":152106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:02:25] local.INFO: GPS data processed {"connection_id":152106,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:02:25] local.INFO: Acknowledgment sent {"connection_id":152106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:02:32] local.INFO: TCP Data received {"connection_id":152489,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef167fe8012d0b37c007042be80011004e1f..."} 
[2026-08-11 10:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef167fe8012d0b37c007042be80011004e1f..."} 
[2026-08-11 10:02:32] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef167fe8012d0b37c007042be80011004e1f..."} 
[2026-08-11 10:02:32] local.INFO: Packet analysis {"connection_id":152489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef16"} 
[2026-08-11 10:02:32] local.INFO: Extracted packet for processing {"connection_id":152489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef16"} 
[2026-08-11 10:02:32] local.INFO: GPS Element Parsed {"raw_longitude":755709888,"raw_latitude":117713896,"longitude_deg":75.5709888,"latitude_deg":11.7713896,"altitude":17,"angle":78,"satellites":31,"speed":7,"hex_longitude":"2d0b37c0","hex_latitude":"07042be8","is_valid_coordinates":true} 
[2026-08-11 10:02: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-08-11 10:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324198656001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27612095637880832,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808114688270839808,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786422657000,"timestamp_ms":1786422657000,"timestamp_seconds":1786422657,"priority":1,"record_length":96,"hex_timestamp":"0000019fef167fe8"} 
[2026-08-11 10:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:02: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-08-11 10:02: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 10:02:32] 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-08-11 10:02: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-08-11 10:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 10:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 10:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324198656001,"66":14428,"96":206,"94":10240,"24":7,"16":27612095637880832,"45":808114688270839808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 10:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 10:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 10:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324198656001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:02:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 10:02:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 10:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27612095637880832,"km_value":27612095637880.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":808114688270839808,"description":"Unknown IO ID 45"} 
[2026-08-11 10:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324198656001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":808114688270839808}} 
[2026-08-11 10:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":152489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624381,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:02:32] local.INFO: GPS data processed {"connection_id":152489,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:02:32] local.INFO: Acknowledgment sent {"connection_id":152489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:02:33] local.INFO: TCP Data received {"connection_id":154829,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:02:33] local.INFO: Processing buffer {"connection_id":154829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:02:33] local.INFO: IMEI packet received {"connection_id":154829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 10:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":154829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:02:41] local.INFO: TCP Data received {"connection_id":154829,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:02:41] local.INFO: Processing buffer {"connection_id":154829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:02:41] local.INFO: IMEI packet received {"connection_id":154829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":154829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:02:42] local.INFO: TCP Data received {"connection_id":154829,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:02:42] local.INFO: Processing buffer {"connection_id":154829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:02:42] local.INFO: Packet analysis {"connection_id":154829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 10:02:42] local.INFO: Extracted packet for processing {"connection_id":154829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 10:02:42] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324085248001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786422509000,"timestamp_ms":1786422509000,"timestamp_seconds":1786422509,"priority":1,"record_length":96,"hex_timestamp":"0000019fef143dc8"} 
[2026-08-11 10:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:02:42] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":154829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":154829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":154829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324085248001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324085248001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:02:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:02:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324085248001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":154829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:02:42] local.INFO: GPS data processed {"connection_id":154829,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:02:42] local.INFO: Acknowledgment sent {"connection_id":154829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:02:56] local.INFO: TCP Data received {"connection_id":152106,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef16ed48012d936100060b44a8000e00912f..."} 
[2026-08-11 10:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef16ed48012d936100060b44a8000e00912f..."} 
[2026-08-11 10:02:56] local.INFO: Processing buffer {"connection_id":152106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef16ed48012d936100060b44a8000e00912f..."} 
[2026-08-11 10:02:56] local.INFO: Packet analysis {"connection_id":152106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef16"} 
[2026-08-11 10:02:56] local.INFO: Extracted packet for processing {"connection_id":152106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef16"} 
[2026-08-11 10:02:56] local.INFO: GPS Element Parsed {"raw_longitude":764633344,"raw_latitude":101401768,"longitude_deg":76.4633344,"latitude_deg":10.1401768,"altitude":14,"angle":145,"satellites":47,"speed":27,"hex_longitude":"2d936100","hex_latitude":"060b44a8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324202496001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377292514513649664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7832533782222473216,"note":"Value kept but may cause issues"} 
[2026-08-11 10:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786422685000,"timestamp_ms":1786422685000,"timestamp_seconds":1786422685,"priority":1,"record_length":96,"hex_timestamp":"0000019fef16ed48"} 
[2026-08-11 10:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 10:02:56] 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-08-11 10: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-08-11 10:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:02:56] 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-08-11 10:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324202496001,"66":27908,"147":206,"79":48640,"24":27,"16":377292514513649664,"45":-7832533782222473216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-08-11 10:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324202496001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:02:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 10:02:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377292514513649664,"km_value":377292514513649.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7832533782222473216,"description":"Unknown IO ID 45"} 
[2026-08-11 10:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324202496001,"power":27908,"unknown_147":206,"unknown_79":48640,"ignition":27,"odometer":null,"unknown_45":-7832533782222473216}} 
[2026-08-11 10:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":152106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:02:56] local.INFO: GPS data processed {"connection_id":152106,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:02:56] local.INFO: Acknowledgment sent {"connection_id":152106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:03:03] local.INFO: TCP Data received {"connection_id":152489,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef182d98012d0b6e800703ebe00013005d1f..."} 
[2026-08-11 10:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef182d98012d0b6e800703ebe00013005d1f..."} 
[2026-08-11 10:03:03] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef182d98012d0b6e800703ebe00013005d1f..."} 
[2026-08-11 10:03:03] local.INFO: Packet analysis {"connection_id":152489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:03:03] local.INFO: Extracted packet for processing {"connection_id":152489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:03:03] local.INFO: GPS Element Parsed {"raw_longitude":755723904,"raw_latitude":117697504,"longitude_deg":75.5723904,"latitude_deg":11.7697504,"altitude":19,"angle":93,"satellites":31,"speed":11,"hex_longitude":"2d0b6e80","hex_latitude":"0703ebe0","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324228096001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27613611761336320,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823384705753417728,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786422767000,"timestamp_ms":1786422767000,"timestamp_seconds":1786422767,"priority":1,"record_length":96,"hex_timestamp":"0000019fef182d98"} 
[2026-08-11 10:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:03: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-08-11 10: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 10:03:03] 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-08-11 10: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-08-11 10:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 10:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 10:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324228096001,"66":14396,"96":206,"94":10240,"24":11,"16":27613611761336320,"45":823384705753417728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 10:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 10:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 10:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324228096001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:03:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 10:03:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 10:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27613611761336320,"km_value":27613611761336.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":823384705753417728,"description":"Unknown IO ID 45"} 
[2026-08-11 10:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324228096001,"power":14396,"unknown_96":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":823384705753417728}} 
[2026-08-11 10:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":152489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624384,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:03:04] local.INFO: GPS data processed {"connection_id":152489,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:03:04] local.INFO: Acknowledgment sent {"connection_id":152489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:03:13] local.INFO: TCP Data received {"connection_id":154829,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:03:13] local.INFO: Processing buffer {"connection_id":154829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:03:13] local.INFO: Packet analysis {"connection_id":154829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 10:03:13] local.INFO: Extracted packet for processing {"connection_id":154829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 10:03:13] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10:03: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-08-11 10:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324085248001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786422509000,"timestamp_ms":1786422509000,"timestamp_seconds":1786422509,"priority":1,"record_length":96,"hex_timestamp":"0000019fef143dc8"} 
[2026-08-11 10:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:03:13] 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-08-11 10:03: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10:03: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-08-11 10:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324085248001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324085248001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:03:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:03:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324085248001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":154829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:03:13] local.INFO: GPS data processed {"connection_id":154829,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:03:13] local.INFO: Acknowledgment sent {"connection_id":154829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:03:21] local.INFO: TCP Data received {"connection_id":152107,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:03:21] local.INFO: Processing buffer {"connection_id":152107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:03:21] local.INFO: IMEI packet received {"connection_id":152107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":152107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:03:25] local.INFO: TCP Data received {"connection_id":152107,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:03:25] local.INFO: Processing buffer {"connection_id":152107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:03:25] local.INFO: IMEI packet received {"connection_id":152107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":152107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:03:30] local.INFO: TCP Data received {"connection_id":152107,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:03:30] local.INFO: Processing buffer {"connection_id":152107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:03:30] local.INFO: IMEI packet received {"connection_id":152107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":152107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:03:31] local.INFO: TCP Data received {"connection_id":152107,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef171840012d937600060b2580000d009130..."} 
[2026-08-11 10:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef171840012d937600060b2580000d009130..."} 
[2026-08-11 10:03:31] local.INFO: Processing buffer {"connection_id":152107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef171840012d937600060b2580000d009130..."} 
[2026-08-11 10:03:31] local.INFO: Packet analysis {"connection_id":152107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef17"} 
[2026-08-11 10:03:31] local.INFO: Extracted packet for processing {"connection_id":152107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef17"} 
[2026-08-11 10:03:31] local.INFO: GPS Element Parsed {"raw_longitude":764638720,"raw_latitude":101393792,"longitude_deg":76.463872,"latitude_deg":10.1393792,"altitude":13,"angle":145,"satellites":48,"speed":39,"hex_longitude":"2d937600","hex_latitude":"060b2580","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324207360001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377292982665084928,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7826974651434358784,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786422696000,"timestamp_ms":1786422696000,"timestamp_seconds":1786422696,"priority":1,"record_length":96,"hex_timestamp":"0000019fef171840"} 
[2026-08-11 10:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:03:31] 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-08-11 10: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-08-11 10:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:03:31] 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-08-11 10:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324207360001,"66":27821,"147":206,"79":48640,"24":39,"16":377292982665084928,"45":-7826974651434358784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-08-11 10:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324207360001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:03:31] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 10:03:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377292982665084928,"km_value":377292982665084.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7826974651434358784,"description":"Unknown IO ID 45"} 
[2026-08-11 10:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324207360001,"power":27821,"unknown_147":206,"unknown_79":48640,"ignition":39,"odometer":null,"unknown_45":-7826974651434358784}} 
[2026-08-11 10:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":152107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:03:31] local.INFO: GPS data processed {"connection_id":152107,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:03:31] local.INFO: Acknowledgment sent {"connection_id":152107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:03:32] local.INFO: TCP Data received {"connection_id":153449,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:03:32] local.INFO: Processing buffer {"connection_id":153449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:03:32] local.INFO: IMEI packet received {"connection_id":153449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 10:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":153449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:03:33] local.INFO: TCP Data received {"connection_id":153449,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:03:33] local.INFO: Processing buffer {"connection_id":153449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:03:33] local.INFO: IMEI packet received {"connection_id":153449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":153449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:03:35] local.INFO: TCP Data received {"connection_id":152107,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef173b68012d938ac0060b07c0000d008c2e..."} 
[2026-08-11 10:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef173b68012d938ac0060b07c0000d008c2e..."} 
[2026-08-11 10:03:35] local.INFO: Processing buffer {"connection_id":152107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef173b68012d938ac0060b07c0000d008c2e..."} 
[2026-08-11 10:03:35] local.INFO: Packet analysis {"connection_id":152107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef17"} 
[2026-08-11 10:03:35] local.INFO: Extracted packet for processing {"connection_id":152107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef17"} 
[2026-08-11 10:03:35] local.INFO: GPS Element Parsed {"raw_longitude":764644032,"raw_latitude":101386176,"longitude_deg":76.4644032,"latitude_deg":10.1386176,"altitude":13,"angle":140,"satellites":46,"speed":42,"hex_longitude":"2d938ac0","hex_latitude":"060b07c0","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324210176001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377293429341683712,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7821063676925476864,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786422705000,"timestamp_ms":1786422705000,"timestamp_seconds":1786422705,"priority":1,"record_length":96,"hex_timestamp":"0000019fef173b68"} 
[2026-08-11 10:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 10:03: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-08-11 10: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-08-11 10:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:03:35] 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-08-11 10:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324210176001,"66":27908,"147":206,"79":48640,"24":42,"16":377293429341683712,"45":-7821063676925476864},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-08-11 10:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324210176001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:03:35] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 10:03:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377293429341683712,"km_value":377293429341683.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7821063676925476864,"description":"Unknown IO ID 45"} 
[2026-08-11 10:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324210176001,"power":27908,"unknown_147":206,"unknown_79":48640,"ignition":42,"odometer":null,"unknown_45":-7821063676925476864}} 
[2026-08-11 10:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":152107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:03:35] local.INFO: GPS data processed {"connection_id":152107,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:03:35] local.INFO: Acknowledgment sent {"connection_id":152107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:03:38] local.INFO: TCP Data received {"connection_id":153449,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:03:38] local.INFO: Processing buffer {"connection_id":153449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:03:38] local.INFO: IMEI packet received {"connection_id":153449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":153449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:03:40] local.INFO: TCP Data received {"connection_id":153449,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:03:40] local.INFO: Processing buffer {"connection_id":153449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:03:40] local.INFO: Packet analysis {"connection_id":153449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:03:40] local.INFO: Extracted packet for processing {"connection_id":153449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324162304001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786422810000,"timestamp_ms":1786422810000,"timestamp_seconds":1786422810,"priority":1,"record_length":96,"hex_timestamp":"0000019fef18d590"} 
[2026-08-11 10:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:03:40] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324162304001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324162304001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:03:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:03:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324162304001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":153449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:03:41] local.INFO: GPS data processed {"connection_id":153449,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:03:41] local.INFO: Acknowledgment sent {"connection_id":153449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:03:48] local.INFO: TCP Data received {"connection_id":152489,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef185890012d0b88400703e9f00017006a1f..."} 
[2026-08-11 10:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef185890012d0b88400703e9f00017006a1f..."} 
[2026-08-11 10:03:48] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef185890012d0b88400703e9f00017006a1f..."} 
[2026-08-11 10:03:48] local.INFO: Packet analysis {"connection_id":152489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:03:48] local.INFO: Extracted packet for processing {"connection_id":152489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:03:48] local.INFO: GPS Element Parsed {"raw_longitude":755730496,"raw_latitude":117697008,"longitude_deg":75.5730496,"latitude_deg":11.7697008,"altitude":23,"angle":106,"satellites":31,"speed":22,"hex_longitude":"2d0b8840","hex_latitude":"0703e9f0","is_valid_coordinates":true} 
[2026-08-11 10:03: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-08-11 10:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324228352001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27613929588916224,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823736549474295808,"note":"Value kept but may cause issues"} 
[2026-08-11 10:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786422778000,"timestamp_ms":1786422778000,"timestamp_seconds":1786422778,"priority":1,"record_length":96,"hex_timestamp":"0000019fef185890"} 
[2026-08-11 10:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:03:48] 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-08-11 10:03: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 10:03:48] 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-08-11 10:03: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-08-11 10:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 10:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 10:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324228352001,"66":14352,"96":206,"94":10240,"24":22,"16":27613929588916224,"45":823736549474295808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 10:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 10:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 10:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324228352001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:03:48] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 10:03:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 10:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27613929588916224,"km_value":27613929588916.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":823736549474295808,"description":"Unknown IO ID 45"} 
[2026-08-11 10:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324228352001,"power":14352,"unknown_96":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":823736549474295808}} 
[2026-08-11 10:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":152489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624389,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:03:48] local.INFO: GPS data processed {"connection_id":152489,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:03:48] local.INFO: Acknowledgment sent {"connection_id":152489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:04:12] local.INFO: TCP Data received {"connection_id":153449,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:04:12] local.INFO: Processing buffer {"connection_id":153449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:04:12] local.INFO: Packet analysis {"connection_id":153449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:04:12] local.INFO: Extracted packet for processing {"connection_id":153449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10:04: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-08-11 10:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324162304001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786422810000,"timestamp_ms":1786422810000,"timestamp_seconds":1786422810,"priority":1,"record_length":96,"hex_timestamp":"0000019fef18d590"} 
[2026-08-11 10:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:04:12] 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-08-11 10:04: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10:04: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-08-11 10:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324162304001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324162304001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:04:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:04:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324162304001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":153449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:04:12] local.INFO: GPS data processed {"connection_id":153449,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:04:12] local.INFO: Acknowledgment sent {"connection_id":153449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:04:20] local.INFO: TCP Data received {"connection_id":154830,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:04:20] local.INFO: Processing buffer {"connection_id":154830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:04:20] local.INFO: IMEI packet received {"connection_id":154830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":154830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:04:24] local.INFO: TCP Data received {"connection_id":154830,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:04:24] local.INFO: Processing buffer {"connection_id":154830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:04:24] local.INFO: IMEI packet received {"connection_id":154830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":154830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:04:25] local.INFO: TCP Data received {"connection_id":154830,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef175aa8012d93a500060aeee0000b00822c..."} 
[2026-08-11 10:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef175aa8012d93a500060aeee0000b00822c..."} 
[2026-08-11 10:04:25] local.INFO: Processing buffer {"connection_id":154830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef175aa8012d93a500060aeee0000b00822c..."} 
[2026-08-11 10:04:25] local.INFO: Packet analysis {"connection_id":154830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef17"} 
[2026-08-11 10:04:25] local.INFO: Extracted packet for processing {"connection_id":154830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef17"} 
[2026-08-11 10:04:25] local.INFO: GPS Element Parsed {"raw_longitude":764650752,"raw_latitude":101379808,"longitude_deg":76.4650752,"latitude_deg":10.1379808,"altitude":11,"angle":130,"satellites":44,"speed":48,"hex_longitude":"2d93a500","hex_latitude":"060aeee0","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324212480001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377293871723315200,"note":"Value kept but may cause issues"} 
[2026-08-11 10:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7815223071160680448,"note":"Value kept but may cause issues"} 
[2026-08-11 10:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786422713000,"timestamp_ms":1786422713000,"timestamp_seconds":1786422713,"priority":1,"record_length":96,"hex_timestamp":"0000019fef175aa8"} 
[2026-08-11 10:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:04:25] 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-08-11 10: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-08-11 10:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:04:25] 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-08-11 10:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324212480001,"66":27821,"147":206,"79":48640,"24":48,"16":377293871723315200,"45":-7815223071160680448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-08-11 10:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324212480001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:04:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 10:04:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377293871723315200,"km_value":377293871723315.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7815223071160680448,"description":"Unknown IO ID 45"} 
[2026-08-11 10:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324212480001,"power":27821,"unknown_147":206,"unknown_79":48640,"ignition":48,"odometer":null,"unknown_45":-7815223071160680448}} 
[2026-08-11 10:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":154830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:04:25] local.INFO: GPS data processed {"connection_id":154830,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:04:25] local.INFO: Acknowledgment sent {"connection_id":154830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:04:32] local.INFO: TCP Data received {"connection_id":152490,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152490,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:04:32] local.INFO: Processing buffer {"connection_id":152490,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:04:32] local.INFO: IMEI packet received {"connection_id":152490,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 10:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":152490,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:04:33] local.INFO: TCP Data received {"connection_id":152491,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:04:33] local.INFO: Processing buffer {"connection_id":152491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:04:33] local.INFO: IMEI packet received {"connection_id":152491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 10:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":152491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:04:33] local.INFO: TCP Data received {"connection_id":152490,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152490,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:04:33] local.INFO: Processing buffer {"connection_id":152490,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:04:33] local.INFO: IMEI packet received {"connection_id":152490,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 10:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":152490,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:04:34] local.INFO: TCP Data received {"connection_id":152490,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152490,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:04:34] local.INFO: Processing buffer {"connection_id":152490,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:04:34] local.INFO: IMEI packet received {"connection_id":152490,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 10:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":152490,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:04:34] local.INFO: TCP Data received {"connection_id":152490,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152490,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:04:34] local.INFO: Processing buffer {"connection_id":152490,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:04:34] local.INFO: IMEI packet received {"connection_id":152490,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 10:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":152490,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:04:38] local.INFO: TCP Data received {"connection_id":152491,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:04:38] local.INFO: Processing buffer {"connection_id":152491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:04:38] local.INFO: IMEI packet received {"connection_id":152491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":152491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:04:40] local.INFO: TCP Data received {"connection_id":152491,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:04:40] local.INFO: Processing buffer {"connection_id":152491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:04:40] local.INFO: Packet analysis {"connection_id":152491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:04:40] local.INFO: Extracted packet for processing {"connection_id":152491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324162304001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786422810000,"timestamp_ms":1786422810000,"timestamp_seconds":1786422810,"priority":1,"record_length":96,"hex_timestamp":"0000019fef18d590"} 
[2026-08-11 10:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:04:40] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324162304001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324162304001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:04:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:04:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324162304001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":152491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:04:40] local.INFO: GPS data processed {"connection_id":152491,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:04:40] local.INFO: Acknowledgment sent {"connection_id":152491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:04:56] local.INFO: TCP Data received {"connection_id":154830,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1779e8012d93c000060ad810000b008130..."} 
[2026-08-11 10:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1779e8012d93c000060ad810000b008130..."} 
[2026-08-11 10:04:56] local.INFO: Processing buffer {"connection_id":154830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1779e8012d93c000060ad810000b008130..."} 
[2026-08-11 10:04:56] local.INFO: Packet analysis {"connection_id":154830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef17"} 
[2026-08-11 10:04:56] local.INFO: Extracted packet for processing {"connection_id":154830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef17"} 
[2026-08-11 10:04:56] local.INFO: GPS Element Parsed {"raw_longitude":764657664,"raw_latitude":101373968,"longitude_deg":76.4657664,"latitude_deg":10.1373968,"altitude":11,"angle":129,"satellites":48,"speed":36,"hex_longitude":"2d93c000","hex_latitude":"060ad810","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324214528001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377294309809979392,"note":"Value kept but may cause issues"} 
[2026-08-11 10:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7807834353023655936,"note":"Value kept but may cause issues"} 
[2026-08-11 10:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786422721000,"timestamp_ms":1786422721000,"timestamp_seconds":1786422721,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1779e8"} 
[2026-08-11 10:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 10:04:56] 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-08-11 10: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-08-11 10:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:04:56] 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-08-11 10:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324214528001,"66":27745,"147":206,"79":48640,"24":36,"16":377294309809979392,"45":-7807834353023655936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-08-11 10:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324214528001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:04:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 10:04:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377294309809979392,"km_value":377294309809979.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7807834353023655936,"description":"Unknown IO ID 45"} 
[2026-08-11 10:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324214528001,"power":27745,"unknown_147":206,"unknown_79":48640,"ignition":36,"odometer":null,"unknown_45":-7807834353023655936}} 
[2026-08-11 10:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":154830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:04:56] local.INFO: GPS data processed {"connection_id":154830,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:04:56] local.INFO: Acknowledgment sent {"connection_id":154830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:05:11] local.INFO: TCP Data received {"connection_id":152491,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:05:11] local.INFO: Processing buffer {"connection_id":152491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:05:11] local.INFO: Packet analysis {"connection_id":152491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:05:11] local.INFO: Extracted packet for processing {"connection_id":152491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:05:11] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324162304001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786422810000,"timestamp_ms":1786422810000,"timestamp_seconds":1786422810,"priority":1,"record_length":96,"hex_timestamp":"0000019fef18d590"} 
[2026-08-11 10:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:05:11] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324162304001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324162304001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:05:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:05:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324162304001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":152491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:05:11] local.INFO: GPS data processed {"connection_id":152491,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:05:11] local.INFO: Acknowledgment sent {"connection_id":152491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:05:20] local.INFO: TCP Data received {"connection_id":153450,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:05:20] local.INFO: Processing buffer {"connection_id":153450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:05:20] local.INFO: IMEI packet received {"connection_id":153450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":153450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:05:25] local.INFO: TCP Data received {"connection_id":153450,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:05:25] local.INFO: Processing buffer {"connection_id":153450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:05:25] local.INFO: IMEI packet received {"connection_id":153450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":153450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:05:26] local.INFO: TCP Data received {"connection_id":153450,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef17cbf0012d93d900060ac2b8000c008431..."} 
[2026-08-11 10:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef17cbf0012d93d900060ac2b8000c008431..."} 
[2026-08-11 10:05:26] local.INFO: Processing buffer {"connection_id":153450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef17cbf0012d93d900060ac2b8000c008431..."} 
[2026-08-11 10:05:26] local.INFO: Packet analysis {"connection_id":153450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef17"} 
[2026-08-11 10:05:26] local.INFO: Extracted packet for processing {"connection_id":153450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef17"} 
[2026-08-11 10:05:26] local.INFO: GPS Element Parsed {"raw_longitude":764664064,"raw_latitude":101368504,"longitude_deg":76.4664064,"latitude_deg":10.1368504,"altitude":12,"angle":132,"satellites":49,"speed":0,"hex_longitude":"2d93d900","hex_latitude":"060ac2b8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324216576001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377294717831872512,"note":"Value kept but may cause issues"} 
[2026-08-11 10:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7800234528653963264,"note":"Value kept but may cause issues"} 
[2026-08-11 10:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786422742000,"timestamp_ms":1786422742000,"timestamp_seconds":1786422742,"priority":1,"record_length":96,"hex_timestamp":"0000019fef17cbf0"} 
[2026-08-11 10:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 10:05:26] 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-08-11 10: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-08-11 10:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:05:26] 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-08-11 10:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324216576001,"66":27919,"147":206,"79":48640,"24":0,"16":377294717831872512,"45":-7800234528653963264},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-08-11 10:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324216576001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:05:26] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 10:05:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377294717831872512,"km_value":377294717831872.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7800234528653963264,"description":"Unknown IO ID 45"} 
[2026-08-11 10:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324216576001,"power":27919,"unknown_147":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7800234528653963264}} 
[2026-08-11 10:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":153450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:05:26] local.INFO: GPS data processed {"connection_id":153450,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:05:26] local.INFO: Acknowledgment sent {"connection_id":153450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:05:38] local.INFO: TCP Data received {"connection_id":152492,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:05:38] local.INFO: Processing buffer {"connection_id":152492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:05:38] local.INFO: IMEI packet received {"connection_id":152492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 10:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":152492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:05:43] local.INFO: TCP Data received {"connection_id":152492,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:05:43] local.INFO: Processing buffer {"connection_id":152492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:05:43] local.INFO: IMEI packet received {"connection_id":152492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":152492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:05:44] local.INFO: TCP Data received {"connection_id":152492,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:05:44] local.INFO: Processing buffer {"connection_id":152492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:05:44] local.INFO: Packet analysis {"connection_id":152492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:05:44] local.INFO: Extracted packet for processing {"connection_id":152492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:05:44] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324162304001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786422810000,"timestamp_ms":1786422810000,"timestamp_seconds":1786422810,"priority":1,"record_length":96,"hex_timestamp":"0000019fef18d590"} 
[2026-08-11 10:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:05:44] 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-08-11 10: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":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324162304001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324162304001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:05:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:05:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324162304001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":152492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:05:44] local.INFO: GPS data processed {"connection_id":152492,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:05:44] local.INFO: Acknowledgment sent {"connection_id":152492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:05:49] local.INFO: TCP Data received {"connection_id":152492,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:05:49] local.INFO: Processing buffer {"connection_id":152492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:05:49] local.INFO: Packet analysis {"connection_id":152492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:05:49] local.INFO: Extracted packet for processing {"connection_id":152492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:05:49] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10:05: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-08-11 10:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324162304001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786422810000,"timestamp_ms":1786422810000,"timestamp_seconds":1786422810,"priority":1,"record_length":96,"hex_timestamp":"0000019fef18d590"} 
[2026-08-11 10:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:05:49] 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-08-11 10:05: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":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10:05: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-08-11 10:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324162304001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324162304001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:05:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:05:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324162304001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":152492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:05:49] local.INFO: GPS data processed {"connection_id":152492,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:05:49] local.INFO: Acknowledgment sent {"connection_id":152492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:06:02] local.INFO: TCP Data received {"connection_id":153450,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1a3138012d947a400609d778000e009830..."} 
[2026-08-11 10:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1a3138012d947a400609d778000e009830..."} 
[2026-08-11 10:06:02] local.INFO: Processing buffer {"connection_id":153450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1a3138012d947a400609d778000e009830..."} 
[2026-08-11 10:06:02] local.INFO: Packet analysis {"connection_id":153450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1a"} 
[2026-08-11 10:06:02] local.INFO: Extracted packet for processing {"connection_id":153450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1a"} 
[2026-08-11 10:06:02] local.INFO: GPS Element Parsed {"raw_longitude":764705344,"raw_latitude":101308280,"longitude_deg":76.4705344,"latitude_deg":10.130828,"altitude":14,"angle":152,"satellites":48,"speed":38,"hex_longitude":"2d947a40","hex_latitude":"0609d778","is_valid_coordinates":true} 
[2026-08-11 10:06: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-08-11 10:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324259584001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377298286949695488,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7752805995092908032,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786422899000,"timestamp_ms":1786422899000,"timestamp_seconds":1786422899,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1a3138"} 
[2026-08-11 10:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:06: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":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:06:02] 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-08-11 10:06: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-08-11 10:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":153450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":153450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":153450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:06:02] 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-08-11 10:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324259584001,"66":27908,"146":206,"79":48640,"24":38,"16":377298286949695488,"45":-7752805995092908032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,79,24,16,45]} 
[2026-08-11 10:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324259584001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:06:02] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-11 10:06:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377298286949695488,"km_value":377298286949695.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7752805995092908032,"description":"Unknown IO ID 45"} 
[2026-08-11 10:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324259584001,"power":27908,"unknown_146":206,"unknown_79":48640,"ignition":38,"odometer":null,"unknown_45":-7752805995092908032}} 
[2026-08-11 10:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":153450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:06:02] local.INFO: GPS data processed {"connection_id":153450,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:06:02] local.INFO: Acknowledgment sent {"connection_id":153450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:06:22] local.INFO: TCP Data received {"connection_id":154831,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:06:22] local.INFO: Processing buffer {"connection_id":154831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:06:22] local.INFO: IMEI packet received {"connection_id":154831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":154831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:06:23] local.INFO: TCP Data received {"connection_id":154831,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 10:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154831,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 10:06:23] local.INFO: Processing buffer {"connection_id":154831,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 10:06:23] local.INFO: IMEI packet received {"connection_id":154831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":154831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:06:24] local.INFO: TCP Data received {"connection_id":154831,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1a5460012d948b400609b810000f009931..."} 
[2026-08-11 10:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1a5460012d948b400609b810000f009931..."} 
[2026-08-11 10:06:24] local.INFO: Processing buffer {"connection_id":154831,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fef..."} 
[2026-08-11 10:06:24] local.INFO: IMEI packet received {"connection_id":154831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":154831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:06:25] local.INFO: TCP Data received {"connection_id":154831,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1a7788012d949a40060995e8001000a131..."} 
[2026-08-11 10:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1a7788012d949a40060995e8001000a131..."} 
[2026-08-11 10:06:25] local.INFO: Processing buffer {"connection_id":154831,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fef1a5460012d948b400609b810000f009931..."} 
[2026-08-11 10:06:25] local.INFO: Packet analysis {"connection_id":154831,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fef1a"} 
[2026-08-11 10:06:25] local.INFO: Extracted packet for processing {"connection_id":154831,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1a"} 
[2026-08-11 10:06:25] local.INFO: GPS Element Parsed {"raw_longitude":764709696,"raw_latitude":101300240,"longitude_deg":76.4709696,"latitude_deg":10.130024,"altitude":15,"angle":153,"satellites":49,"speed":42,"hex_longitude":"2d948b40","hex_latitude":"0609b810","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324262144001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377298729331326976,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7747809814258419712,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786422908000,"timestamp_ms":1786422908000,"timestamp_seconds":1786422908,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1a5460"} 
[2026-08-11 10:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:06:25] 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-08-11 10: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-08-11 10:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:06:25] 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-08-11 10:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324262144001,"66":27865,"146":206,"79":48640,"24":42,"16":377298729331326976,"45":-7747809814258419712},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,79,24,16,45]} 
[2026-08-11 10:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324262144001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:06:25] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-11 10:06:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377298729331326976,"km_value":377298729331327.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7747809814258419712,"description":"Unknown IO ID 45"} 
[2026-08-11 10:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324262144001,"power":27865,"unknown_146":206,"unknown_79":48640,"ignition":42,"odometer":null,"unknown_45":-7747809814258419712}} 
[2026-08-11 10:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":154831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:06:25] local.INFO: GPS data processed {"connection_id":154831,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:06:25] local.INFO: Acknowledgment sent {"connection_id":154831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:06:25] local.INFO: Packet analysis {"connection_id":154831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1a"} 
[2026-08-11 10:06:25] local.INFO: Extracted packet for processing {"connection_id":154831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1a"} 
[2026-08-11 10:06:25] local.INFO: GPS Element Parsed {"raw_longitude":764713536,"raw_latitude":101291496,"longitude_deg":76.4713536,"latitude_deg":10.1291496,"altitude":16,"angle":161,"satellites":49,"speed":37,"hex_longitude":"2d949a40","hex_latitude":"060995e8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324264448001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377299188892827648,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7743024739656396800,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786422917000,"timestamp_ms":1786422917000,"timestamp_seconds":1786422917,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1a7788"} 
[2026-08-11 10:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 10:06:25] 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-08-11 10: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-08-11 10:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:06:25] 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-08-11 10:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324264448001,"66":27865,"243":206,"79":48640,"24":37,"16":377299188892827648,"45":-7743024739656396800},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-11 10:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324264448001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:06:25] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-11 10:06:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377299188892827648,"km_value":377299188892827.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7743024739656396800,"description":"Unknown IO ID 45"} 
[2026-08-11 10:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324264448001,"power":27865,"unknown_243":206,"unknown_79":48640,"ignition":37,"odometer":null,"unknown_45":-7743024739656396800}} 
[2026-08-11 10:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":154831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:06:25] local.INFO: GPS data processed {"connection_id":154831,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:06:25] local.INFO: Acknowledgment sent {"connection_id":154831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:06:25] local.INFO: TCP Data received {"connection_id":154831,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1a9e98012d94a600060971b0001300a130..."} 
[2026-08-11 10:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1a9e98012d94a600060971b0001300a130..."} 
[2026-08-11 10:06:25] local.INFO: Processing buffer {"connection_id":154831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1a9e98012d94a600060971b0001300a130..."} 
[2026-08-11 10:06:25] local.INFO: Packet analysis {"connection_id":154831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1a"} 
[2026-08-11 10:06:25] local.INFO: Extracted packet for processing {"connection_id":154831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1a"} 
[2026-08-11 10:06:25] local.INFO: GPS Element Parsed {"raw_longitude":764716544,"raw_latitude":101282224,"longitude_deg":76.4716544,"latitude_deg":10.1282224,"altitude":19,"angle":161,"satellites":48,"speed":41,"hex_longitude":"2d94a600","hex_latitude":"060971b0","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324266752001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377299661339230208,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7738802615007975424,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786422927000,"timestamp_ms":1786422927000,"timestamp_seconds":1786422927,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1a9e98"} 
[2026-08-11 10:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 10:06:25] 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-08-11 10: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-08-11 10:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:06:25] 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-08-11 10:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324266752001,"66":27887,"243":206,"79":48640,"24":41,"16":377299661339230208,"45":-7738802615007975424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-11 10:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324266752001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:06:25] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-11 10:06:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377299661339230208,"km_value":377299661339230.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7738802615007975424,"description":"Unknown IO ID 45"} 
[2026-08-11 10:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324266752001,"power":27887,"unknown_243":206,"unknown_79":48640,"ignition":41,"odometer":null,"unknown_45":-7738802615007975424}} 
[2026-08-11 10:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":154831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:06:25] local.INFO: GPS data processed {"connection_id":154831,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:06:25] local.INFO: Acknowledgment sent {"connection_id":154831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:06:33] local.INFO: TCP Data received {"connection_id":152493,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:06:33] local.INFO: Processing buffer {"connection_id":152493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:06:33] local.INFO: IMEI packet received {"connection_id":152493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 10:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":152493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:06:38] local.INFO: TCP Data received {"connection_id":152493,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:06:38] local.INFO: Processing buffer {"connection_id":152493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:06:38] local.INFO: IMEI packet received {"connection_id":152493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":152493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:06:39] local.INFO: TCP Data received {"connection_id":152493,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:06:39] local.INFO: Processing buffer {"connection_id":152493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:06:39] local.INFO: Packet analysis {"connection_id":152493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:06:39] local.INFO: Extracted packet for processing {"connection_id":152493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10:06: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-08-11 10:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324162304001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786422810000,"timestamp_ms":1786422810000,"timestamp_seconds":1786422810,"priority":1,"record_length":96,"hex_timestamp":"0000019fef18d590"} 
[2026-08-11 10:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:06:39] 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-08-11 10:06: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10:06: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-08-11 10:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324162304001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324162304001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:06:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:06:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324162304001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":152493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:06:39] local.INFO: GPS data processed {"connection_id":152493,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:06:39] local.INFO: Acknowledgment sent {"connection_id":152493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:06:57] local.INFO: TCP Data received {"connection_id":154831,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1aaa50012d94ab80060966980013009230..."} 
[2026-08-11 10:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1aaa50012d94ab80060966980013009230..."} 
[2026-08-11 10:06:57] local.INFO: Processing buffer {"connection_id":154831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1aaa50012d94ab80060966980013009230..."} 
[2026-08-11 10:06:57] local.INFO: Packet analysis {"connection_id":154831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1a"} 
[2026-08-11 10:06:57] local.INFO: Extracted packet for processing {"connection_id":154831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1a"} 
[2026-08-11 10:06:57] local.INFO: GPS Element Parsed {"raw_longitude":764717952,"raw_latitude":101279384,"longitude_deg":76.4717952,"latitude_deg":10.1279384,"altitude":19,"angle":146,"satellites":48,"speed":42,"hex_longitude":"2d94ab80","hex_latitude":"06096698","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324269312001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377299815958052864,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7735495284033998848,"note":"Value kept but may cause issues"} 
[2026-08-11 10:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786422930000,"timestamp_ms":1786422930000,"timestamp_seconds":1786422930,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1aaa50"} 
[2026-08-11 10:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 10:06:57] 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-08-11 10: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-08-11 10:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:06:57] 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-08-11 10:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324269312001,"66":27517,"243":206,"79":48640,"24":42,"16":377299815958052864,"45":-7735495284033998848},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-11 10:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324269312001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:06:57] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-11 10:06:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377299815958052864,"km_value":377299815958052.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7735495284033998848,"description":"Unknown IO ID 45"} 
[2026-08-11 10:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324269312001,"power":27517,"unknown_243":206,"unknown_79":48640,"ignition":42,"odometer":null,"unknown_45":-7735495284033998848}} 
[2026-08-11 10:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":154831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:06:57] local.INFO: GPS data processed {"connection_id":154831,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:06:57] local.INFO: Acknowledgment sent {"connection_id":154831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:07:10] local.INFO: TCP Data received {"connection_id":152493,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:07:10] local.INFO: Processing buffer {"connection_id":152493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:07:10] local.INFO: Packet analysis {"connection_id":152493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:07:10] local.INFO: Extracted packet for processing {"connection_id":152493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:07:10] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324162304001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786422810000,"timestamp_ms":1786422810000,"timestamp_seconds":1786422810,"priority":1,"record_length":96,"hex_timestamp":"0000019fef18d590"} 
[2026-08-11 10:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:07:10] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324162304001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324162304001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:07:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:07:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324162304001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":152493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:07:10] local.INFO: GPS data processed {"connection_id":152493,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:07:10] local.INFO: Acknowledgment sent {"connection_id":152493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:07:20] local.INFO: TCP Data received {"connection_id":152494,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:07:20] local.INFO: Processing buffer {"connection_id":152494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:07:20] local.INFO: IMEI packet received {"connection_id":152494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":152494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:07:23] local.INFO: TCP Data received {"connection_id":152494,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:07:23] local.INFO: Processing buffer {"connection_id":152494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:07:23] local.INFO: IMEI packet received {"connection_id":152494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":152494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:07:25] local.INFO: TCP Data received {"connection_id":152494,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:07:25] local.INFO: Processing buffer {"connection_id":152494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:07:25] local.INFO: IMEI packet received {"connection_id":152494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":152494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:07:26] local.INFO: TCP Data received {"connection_id":152494,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1b4a78012d94ddc00608dfe0001600b52b..."} 
[2026-08-11 10:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1b4a78012d94ddc00608dfe0001600b52b..."} 
[2026-08-11 10:07:26] local.INFO: Processing buffer {"connection_id":152494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1b4a78012d94ddc00608dfe0001600b52b..."} 
[2026-08-11 10:07:26] local.INFO: Packet analysis {"connection_id":152494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1b"} 
[2026-08-11 10:07:26] local.INFO: Extracted packet for processing {"connection_id":152494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1b"} 
[2026-08-11 10:07:26] local.INFO: GPS Element Parsed {"raw_longitude":764730816,"raw_latitude":101244896,"longitude_deg":76.4730816,"latitude_deg":10.1244896,"altitude":22,"angle":181,"satellites":43,"speed":40,"hex_longitude":"2d94ddc0","hex_latitude":"0608dfe0","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324280064001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377301937671897088,"note":"Value kept but may cause issues"} 
[2026-08-11 10:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7719451210370531328,"note":"Value kept but may cause issues"} 
[2026-08-11 10:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786422971000,"timestamp_ms":1786422971000,"timestamp_seconds":1786422971,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1b4a78"} 
[2026-08-11 10:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 10:07:26] 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-08-11 10: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-08-11 10:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:07:26] 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-08-11 10:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324280064001,"66":27821,"36":206,"79":48640,"24":40,"16":377301937671897088,"45":-7719451210370531328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,79,24,16,45]} 
[2026-08-11 10:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324280064001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:07:26] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 10:07:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377301937671897088,"km_value":377301937671897.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7719451210370531328,"description":"Unknown IO ID 45"} 
[2026-08-11 10:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324280064001,"power":27821,"unknown_36":206,"unknown_79":48640,"ignition":40,"odometer":null,"unknown_45":-7719451210370531328}} 
[2026-08-11 10:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":152494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:07:26] local.INFO: GPS data processed {"connection_id":152494,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:07:26] local.INFO: Acknowledgment sent {"connection_id":152494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:07:32] local.INFO: TCP Data received {"connection_id":152494,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1b6da0012d94e1c00608bc18001700ac2d..."} 
[2026-08-11 10:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1b6da0012d94e1c00608bc18001700ac2d..."} 
[2026-08-11 10:07:32] local.INFO: Processing buffer {"connection_id":152494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1b6da0012d94e1c00608bc18001700ac2d..."} 
[2026-08-11 10:07:32] local.INFO: Packet analysis {"connection_id":152494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1b"} 
[2026-08-11 10:07:32] local.INFO: Extracted packet for processing {"connection_id":152494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1b"} 
[2026-08-11 10:07:32] local.INFO: GPS Element Parsed {"raw_longitude":764731840,"raw_latitude":101235736,"longitude_deg":76.473184,"latitude_deg":10.1235736,"altitude":23,"angle":172,"satellites":45,"speed":39,"hex_longitude":"2d94e1c0","hex_latitude":"0608bc18","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324280576001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377302384348495872,"note":"Value kept but may cause issues"} 
[2026-08-11 10:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7719803054091935744,"note":"Value kept but may cause issues"} 
[2026-08-11 10:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786422980000,"timestamp_ms":1786422980000,"timestamp_seconds":1786422980,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1b6da0"} 
[2026-08-11 10:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 10:07:32] 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-08-11 10: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-08-11 10:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:07:32] 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-08-11 10:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324280576001,"66":27843,"36":206,"79":48640,"24":39,"16":377302384348495872,"45":-7719803054091935744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,79,24,16,45]} 
[2026-08-11 10:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324280576001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:07:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 10:07:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377302384348495872,"km_value":377302384348495.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7719803054091935744,"description":"Unknown IO ID 45"} 
[2026-08-11 10:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324280576001,"power":27843,"unknown_36":206,"unknown_79":48640,"ignition":39,"odometer":null,"unknown_45":-7719803054091935744}} 
[2026-08-11 10:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":152494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:07:32] local.INFO: GPS data processed {"connection_id":152494,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:07:32] local.INFO: Acknowledgment sent {"connection_id":152494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:07:33] local.INFO: TCP Data received {"connection_id":152495,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:07:33] local.INFO: Processing buffer {"connection_id":152495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:07:33] local.INFO: IMEI packet received {"connection_id":152495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 10:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":152495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:07:38] local.INFO: TCP Data received {"connection_id":152495,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:07:38] local.INFO: Processing buffer {"connection_id":152495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:07:38] local.INFO: IMEI packet received {"connection_id":152495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":152495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:07:39] local.INFO: TCP Data received {"connection_id":152495,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:07:39] local.INFO: Processing buffer {"connection_id":152495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:07:39] local.INFO: Packet analysis {"connection_id":152495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:07:39] local.INFO: Extracted packet for processing {"connection_id":152495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324162304001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786422810000,"timestamp_ms":1786422810000,"timestamp_seconds":1786422810,"priority":1,"record_length":96,"hex_timestamp":"0000019fef18d590"} 
[2026-08-11 10:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:07:39] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324162304001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324162304001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:07:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:07:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324162304001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":152495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:07:39] local.INFO: GPS data processed {"connection_id":152495,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:07:39] local.INFO: Acknowledgment sent {"connection_id":152495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:08:05] local.INFO: TCP Data received {"connection_id":152494,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1b9c80012d94e640060898f0001700ac2f..."} 
[2026-08-11 10:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1b9c80012d94e640060898f0001700ac2f..."} 
[2026-08-11 10:08:05] local.INFO: Processing buffer {"connection_id":152494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1b9c80012d94e640060898f0001700ac2f..."} 
[2026-08-11 10:08:05] local.INFO: Packet analysis {"connection_id":152494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1b"} 
[2026-08-11 10:08:05] local.INFO: Extracted packet for processing {"connection_id":152494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1b"} 
[2026-08-11 10:08:05] local.INFO: GPS Element Parsed {"raw_longitude":764732992,"raw_latitude":101226736,"longitude_deg":76.4732992,"latitude_deg":10.1226736,"altitude":23,"angle":172,"satellites":47,"speed":29,"hex_longitude":"2d94e640","hex_latitude":"060898f0","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324282880001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377302826730127360,"note":"Value kept but may cause issues"} 
[2026-08-11 10:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7718677154187438080,"note":"Value kept but may cause issues"} 
[2026-08-11 10:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786422992000,"timestamp_ms":1786422992000,"timestamp_seconds":1786422992,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1b9c80"} 
[2026-08-11 10:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":195,"data_length":795,"current_offset":136} 
[2026-08-11 10:08: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-08-11 10: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-08-11 10:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:08:05] 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-08-11 10:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324282880001,"66":27974,"36":206,"79":48640,"24":29,"16":377302826730127360,"45":-7718677154187438080},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,79,24,16,45]} 
[2026-08-11 10:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324282880001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:08:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 10:08:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377302826730127360,"km_value":377302826730127.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7718677154187438080,"description":"Unknown IO ID 45"} 
[2026-08-11 10:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324282880001,"power":27974,"unknown_36":206,"unknown_79":48640,"ignition":29,"odometer":null,"unknown_45":-7718677154187438080}} 
[2026-08-11 10:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":152494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:08:05] local.INFO: GPS data processed {"connection_id":152494,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:08:05] local.INFO: Acknowledgment sent {"connection_id":152494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:08:10] local.INFO: TCP Data received {"connection_id":152495,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:08:10] local.INFO: Processing buffer {"connection_id":152495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef18d590012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 10:08:10] local.INFO: Packet analysis {"connection_id":152495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:08:10] local.INFO: Extracted packet for processing {"connection_id":152495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef18"} 
[2026-08-11 10:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324162304001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786422810000,"timestamp_ms":1786422810000,"timestamp_seconds":1786422810,"priority":1,"record_length":96,"hex_timestamp":"0000019fef18d590"} 
[2026-08-11 10:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:08:10] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324162304001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324162304001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:08:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:08:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324162304001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":152495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:08:10] local.INFO: GPS data processed {"connection_id":152495,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:08:10] local.INFO: Acknowledgment sent {"connection_id":152495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:08:20] local.INFO: TCP Data received {"connection_id":154833,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:08:20] local.INFO: Processing buffer {"connection_id":154833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:08:20] local.INFO: IMEI packet received {"connection_id":154833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":154833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:08:21] local.INFO: TCP Data received {"connection_id":154833,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:08:21] local.INFO: Processing buffer {"connection_id":154833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:08:21] local.INFO: IMEI packet received {"connection_id":154833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":154833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:08:25] local.INFO: TCP Data received {"connection_id":154833,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:08:25] local.INFO: Processing buffer {"connection_id":154833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:08:25] local.INFO: IMEI packet received {"connection_id":154833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":154833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:08:26] local.INFO: TCP Data received {"connection_id":154833,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1bcf48012d94ea40060875d0001700ad2e..."} 
[2026-08-11 10:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1bcf48012d94ea40060875d0001700ad2e..."} 
[2026-08-11 10:08:26] local.INFO: Processing buffer {"connection_id":154833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1bcf48012d94ea40060875d0001700ad2e..."} 
[2026-08-11 10:08:26] local.INFO: Packet analysis {"connection_id":154833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1b"} 
[2026-08-11 10:08:26] local.INFO: Extracted packet for processing {"connection_id":154833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1b"} 
[2026-08-11 10:08:26] local.INFO: GPS Element Parsed {"raw_longitude":764734016,"raw_latitude":101217744,"longitude_deg":76.4734016,"latitude_deg":10.1217744,"altitude":23,"angle":173,"satellites":46,"speed":32,"hex_longitude":"2d94ea40","hex_latitude":"060875d0","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324285952001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377303264816791552,"note":"Value kept but may cause issues"} 
[2026-08-11 10:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7717410516794544128,"note":"Value kept but may cause issues"} 
[2026-08-11 10:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786423005000,"timestamp_ms":1786423005000,"timestamp_seconds":1786423005,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1bcf48"} 
[2026-08-11 10:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 10:08:26] 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-08-11 10: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-08-11 10:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:08:26] 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-08-11 10:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324285952001,"66":27908,"36":206,"79":48640,"24":32,"16":377303264816791552,"45":-7717410516794544128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,79,24,16,45]} 
[2026-08-11 10:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324285952001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:08:26] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 10:08:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377303264816791552,"km_value":377303264816791.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7717410516794544128,"description":"Unknown IO ID 45"} 
[2026-08-11 10:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324285952001,"power":27908,"unknown_36":206,"unknown_79":48640,"ignition":32,"odometer":null,"unknown_45":-7717410516794544128}} 
[2026-08-11 10:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":154833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:08:26] local.INFO: GPS data processed {"connection_id":154833,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:08:26] local.INFO: Acknowledgment sent {"connection_id":154833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:08:33] local.INFO: TCP Data received {"connection_id":152110,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:08:33] local.INFO: Processing buffer {"connection_id":152110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:08:33] local.INFO: IMEI packet received {"connection_id":152110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 10:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":152110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:08:34] local.INFO: TCP Data received {"connection_id":152110,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:08:34] local.INFO: Processing buffer {"connection_id":152110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:08:34] local.INFO: IMEI packet received {"connection_id":152110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":152110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:08:38] local.INFO: TCP Data received {"connection_id":152110,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:08:38] local.INFO: Processing buffer {"connection_id":152110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:08:38] local.INFO: IMEI packet received {"connection_id":152110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":152110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:08:40] local.INFO: TCP Data received {"connection_id":152110,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:08:40] local.INFO: Processing buffer {"connection_id":152110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:08:40] local.INFO: Packet analysis {"connection_id":152110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:08:40] local.INFO: Extracted packet for processing {"connection_id":152110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:08:40] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324239360001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786423111000,"timestamp_ms":1786423111000,"timestamp_seconds":1786423111,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1d6d58"} 
[2026-08-11 10:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:08:40] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324239360001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324239360001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:08:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:08:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324239360001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":152110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:08:40] local.INFO: GPS data processed {"connection_id":152110,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:08:40] local.INFO: Acknowledgment sent {"connection_id":152110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:08:57] local.INFO: TCP Data received {"connection_id":154833,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1d2708012d9551c00607c4b0001f002830..."} 
[2026-08-11 10:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1d2708012d9551c00607c4b0001f002830..."} 
[2026-08-11 10:08:57] local.INFO: Processing buffer {"connection_id":154833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1d2708012d9551c00607c4b0001f002830..."} 
[2026-08-11 10:08:57] local.INFO: Packet analysis {"connection_id":154833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:08:57] local.INFO: Extracted packet for processing {"connection_id":154833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:08:57] local.INFO: GPS Element Parsed {"raw_longitude":764760512,"raw_latitude":101172400,"longitude_deg":76.4760512,"latitude_deg":10.11724,"altitude":31,"angle":40,"satellites":48,"speed":13,"hex_longitude":"2d9551c0","hex_latitude":"0607c4b0","is_valid_coordinates":true} 
[2026-08-11 10:08: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-08-11 10:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324311552001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377305871861940224,"note":"Value kept but may cause issues"} 
[2026-08-11 10:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7687433431788824576,"note":"Value kept but may cause issues"} 
[2026-08-11 10:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786423093000,"timestamp_ms":1786423093000,"timestamp_seconds":1786423093,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1d2708"} 
[2026-08-11 10:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:08: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":195,"data_length":795,"current_offset":136} 
[2026-08-11 10:08:57] 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-08-11 10:08: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-08-11 10:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:08:57] 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-08-11 10:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324311552001,"66":27876,"34":206,"79":48640,"24":13,"16":377305871861940224,"45":-7687433431788824576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,79,24,16,45]} 
[2026-08-11 10:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324311552001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:08:57] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-11 10:08:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377305871861940224,"km_value":377305871861940.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7687433431788824576,"description":"Unknown IO ID 45"} 
[2026-08-11 10:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324311552001,"power":27876,"unknown_34":206,"unknown_79":48640,"ignition":13,"odometer":null,"unknown_45":-7687433431788824576}} 
[2026-08-11 10:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":154833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:08:57] local.INFO: GPS data processed {"connection_id":154833,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:08:57] local.INFO: Acknowledgment sent {"connection_id":154833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:09:13] local.INFO: TCP Data received {"connection_id":152110,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:09:13] local.INFO: Processing buffer {"connection_id":152110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:09:13] local.INFO: Packet analysis {"connection_id":152110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:09:13] local.INFO: Extracted packet for processing {"connection_id":152110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10:09: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-08-11 10:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324239360001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786423111000,"timestamp_ms":1786423111000,"timestamp_seconds":1786423111,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1d6d58"} 
[2026-08-11 10:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:09:13] 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-08-11 10:09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10:09: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-08-11 10:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324239360001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324239360001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:09:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:09:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324239360001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":152110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:09:13] local.INFO: GPS data processed {"connection_id":152110,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:09:13] local.INFO: Acknowledgment sent {"connection_id":152110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:09:25] local.INFO: TCP Data received {"connection_id":153452,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:09:25] local.INFO: Processing buffer {"connection_id":153452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:09:25] local.INFO: IMEI packet received {"connection_id":153452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":153452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:09:30] local.INFO: TCP Data received {"connection_id":153452,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:09:30] local.INFO: Processing buffer {"connection_id":153452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:09:30] local.INFO: IMEI packet received {"connection_id":153452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":153452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:09:31] local.INFO: TCP Data received {"connection_id":153452,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1d2af0012d9552c00607c5f00020001430..."} 
[2026-08-11 10:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1d2af0012d9552c00607c5f00020001430..."} 
[2026-08-11 10:09:31] local.INFO: Processing buffer {"connection_id":153452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1d2af0012d9552c00607c5f00020001430..."} 
[2026-08-11 10:09:31] local.INFO: Packet analysis {"connection_id":153452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:09:31] local.INFO: Extracted packet for processing {"connection_id":153452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:09:31] local.INFO: GPS Element Parsed {"raw_longitude":764760768,"raw_latitude":101172720,"longitude_deg":76.4760768,"latitude_deg":10.117272,"altitude":32,"angle":20,"satellites":48,"speed":16,"hex_longitude":"2d9552c0","hex_latitude":"0607c5f0","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324311808001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377305889041809408,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7687151956812058624,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786423094000,"timestamp_ms":1786423094000,"timestamp_seconds":1786423094,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1d2af0"} 
[2026-08-11 10:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 10:09:31] 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-08-11 10: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-08-11 10:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:09:31] 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-08-11 10:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324311808001,"66":27876,"34":206,"79":48640,"24":16,"16":377305889041809408,"45":-7687151956812058624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,79,24,16,45]} 
[2026-08-11 10:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324311808001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:09:31] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-11 10:09:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377305889041809408,"km_value":377305889041809.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7687151956812058624,"description":"Unknown IO ID 45"} 
[2026-08-11 10:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324311808001,"power":27876,"unknown_34":206,"unknown_79":48640,"ignition":16,"odometer":null,"unknown_45":-7687151956812058624}} 
[2026-08-11 10:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":153452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:09:31] local.INFO: GPS data processed {"connection_id":153452,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:09:31] local.INFO: Acknowledgment sent {"connection_id":153452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:09:36] local.INFO: TCP Data received {"connection_id":153452,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1d32c0012d9553800607c958001f00072f..."} 
[2026-08-11 10:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1d32c0012d9553800607c958001f00072f..."} 
[2026-08-11 10:09:36] local.INFO: Processing buffer {"connection_id":153452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1d32c0012d9553800607c958001f00072f..."} 
[2026-08-11 10:09:36] local.INFO: Packet analysis {"connection_id":153452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:09:36] local.INFO: Extracted packet for processing {"connection_id":153452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:09:36] local.INFO: GPS Element Parsed {"raw_longitude":764760960,"raw_latitude":101173592,"longitude_deg":76.476096,"latitude_deg":10.1173592,"altitude":31,"angle":7,"satellites":47,"speed":17,"hex_longitude":"2d955380","hex_latitude":"0607c958","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324312064001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377305931991482368,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7686870481835266048,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786423096000,"timestamp_ms":1786423096000,"timestamp_seconds":1786423096,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1d32c0"} 
[2026-08-11 10:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 10:09: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-08-11 10: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-08-11 10:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:09:36] 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-08-11 10:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324312064001,"66":27789,"34":206,"79":48640,"24":17,"16":377305931991482368,"45":-7686870481835266048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,79,24,16,45]} 
[2026-08-11 10:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324312064001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:09:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-11 10:09:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377305931991482368,"km_value":377305931991482.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7686870481835266048,"description":"Unknown IO ID 45"} 
[2026-08-11 10:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324312064001,"power":27789,"unknown_34":206,"unknown_79":48640,"ignition":17,"odometer":null,"unknown_45":-7686870481835266048}} 
[2026-08-11 10:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":153452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:09:36] local.INFO: GPS data processed {"connection_id":153452,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:09:36] local.INFO: Acknowledgment sent {"connection_id":153452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:09:38] local.INFO: TCP Data received {"connection_id":152497,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:09:38] local.INFO: Processing buffer {"connection_id":152497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:09:38] local.INFO: IMEI packet received {"connection_id":152497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 10:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":152497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:09:39] local.INFO: TCP Data received {"connection_id":153451,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:09:39] local.INFO: Processing buffer {"connection_id":153451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 10:09:39] local.INFO: IMEI packet received {"connection_id":153451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 10:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":153451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:09:40] local.INFO: TCP Data received {"connection_id":153451,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1c5be8012d0b130007029e880010001e1f..."} 
[2026-08-11 10:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1c5be8012d0b130007029e880010001e1f..."} 
[2026-08-11 10:09:40] local.INFO: Processing buffer {"connection_id":153451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1c5be8012d0b130007029e880010001e1f..."} 
[2026-08-11 10:09:40] local.INFO: Packet analysis {"connection_id":153451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1c"} 
[2026-08-11 10:09:40] local.INFO: Extracted packet for processing {"connection_id":153451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1c"} 
[2026-08-11 10:09:40] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612168,"longitude_deg":75.570048,"latitude_deg":11.7612168,"altitude":16,"angle":30,"satellites":31,"speed":1,"hex_longitude":"2d0b1300","hex_latitude":"07029e88","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324297984001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27619968312934400,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797840851595051008,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786423041000,"timestamp_ms":1786423041000,"timestamp_seconds":1786423041,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1c5be8"} 
[2026-08-11 10:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 10:09:40] 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-08-11 10: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-08-11 10:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 10:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 10:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 10:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324297984001,"66":14428,"17":206,"94":11008,"24":1,"16":27619968312934400,"45":797840851595051008},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 10:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 10:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 10:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324297984001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:09:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 10:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27619968312934400,"km_value":27619968312934.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":797840851595051008,"description":"Unknown IO ID 45"} 
[2026-08-11 10:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324297984001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797840851595051008}} 
[2026-08-11 10:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":153451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624416,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:09:40] local.INFO: GPS data processed {"connection_id":153451,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:09:40] local.INFO: Acknowledgment sent {"connection_id":153451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:09:43] local.INFO: TCP Data received {"connection_id":152497,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:09:43] local.INFO: Processing buffer {"connection_id":152497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:09:43] local.INFO: IMEI packet received {"connection_id":152497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":152497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:09:44] local.INFO: TCP Data received {"connection_id":152497,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:09:44] local.INFO: Processing buffer {"connection_id":152497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:09:44] local.INFO: Packet analysis {"connection_id":152497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:09:44] local.INFO: Extracted packet for processing {"connection_id":152497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:09:44] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324239360001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786423111000,"timestamp_ms":1786423111000,"timestamp_seconds":1786423111,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1d6d58"} 
[2026-08-11 10:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:09: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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324239360001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324239360001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:09:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:09:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324239360001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":152497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:09:44] local.INFO: GPS data processed {"connection_id":152497,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:09:44] local.INFO: Acknowledgment sent {"connection_id":152497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:09:49] local.INFO: TCP Data received {"connection_id":152497,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:09:49] local.INFO: Processing buffer {"connection_id":152497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:09:49] local.INFO: Packet analysis {"connection_id":152497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:09:49] local.INFO: Extracted packet for processing {"connection_id":152497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:09:49] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10:09: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-08-11 10:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324239360001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786423111000,"timestamp_ms":1786423111000,"timestamp_seconds":1786423111,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1d6d58"} 
[2026-08-11 10:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:09: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-08-11 10:09: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":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10:09: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-08-11 10:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324239360001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324239360001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:09:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:09:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324239360001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":152497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:09:49] local.INFO: GPS data processed {"connection_id":152497,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:09:49] local.INFO: Acknowledgment sent {"connection_id":152497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:10:20] local.INFO: TCP Data received {"connection_id":153453,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:10:20] local.INFO: Processing buffer {"connection_id":153453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:10:20] local.INFO: IMEI packet received {"connection_id":153453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":153453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:10:25] local.INFO: TCP Data received {"connection_id":153453,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:10:25] local.INFO: Processing buffer {"connection_id":153453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:10:25] local.INFO: IMEI packet received {"connection_id":153453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":153453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:10:26] local.INFO: TCP Data received {"connection_id":153453,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1d61a0012d9559800607e5880019002630..."} 
[2026-08-11 10:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1d61a0012d9559800607e5880019002630..."} 
[2026-08-11 10:10:26] local.INFO: Processing buffer {"connection_id":153453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1d61a0012d9559800607e5880019002630..."} 
[2026-08-11 10:10:26] local.INFO: Packet analysis {"connection_id":153453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:10:26] local.INFO: Extracted packet for processing {"connection_id":153453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:10:26] local.INFO: GPS Element Parsed {"raw_longitude":764762496,"raw_latitude":101180808,"longitude_deg":76.4762496,"latitude_deg":10.1180808,"altitude":25,"angle":38,"satellites":48,"speed":17,"hex_longitude":"2d955980","hex_latitude":"0607e588","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324312576001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377306292768735232,"note":"Value kept but may cause issues"} 
[2026-08-11 10:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7686659375602509824,"note":"Value kept but may cause issues"} 
[2026-08-11 10:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786423108000,"timestamp_ms":1786423108000,"timestamp_seconds":1786423108,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1d61a0"} 
[2026-08-11 10:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-11 10:10:26] 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-08-11 10: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-08-11 10:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:10:26] 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-08-11 10:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324312576001,"66":27865,"34":206,"79":48640,"24":17,"16":377306292768735232,"45":-7686659375602509824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,79,24,16,45]} 
[2026-08-11 10:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324312576001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:10:26] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-11 10:10:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377306292768735232,"km_value":377306292768735.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7686659375602509824,"description":"Unknown IO ID 45"} 
[2026-08-11 10:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324312576001,"power":27865,"unknown_34":206,"unknown_79":48640,"ignition":17,"odometer":null,"unknown_45":-7686659375602509824}} 
[2026-08-11 10:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":153453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:10:26] local.INFO: GPS data processed {"connection_id":153453,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:10:26] local.INFO: Acknowledgment sent {"connection_id":153453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:10:33] local.INFO: TCP Data received {"connection_id":154834,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:10:33] local.INFO: Processing buffer {"connection_id":154834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:10:33] local.INFO: IMEI packet received {"connection_id":154834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 10:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":154834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:10:38] local.INFO: TCP Data received {"connection_id":154834,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:10:38] local.INFO: Processing buffer {"connection_id":154834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:10:38] local.INFO: IMEI packet received {"connection_id":154834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":154834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:10:39] local.INFO: TCP Data received {"connection_id":154834,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:10:39] local.INFO: Processing buffer {"connection_id":154834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:10:39] local.INFO: Packet analysis {"connection_id":154834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:10:39] local.INFO: Extracted packet for processing {"connection_id":154834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324239360001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786423111000,"timestamp_ms":1786423111000,"timestamp_seconds":1786423111,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1d6d58"} 
[2026-08-11 10:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:10:39] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324239360001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324239360001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:10:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:10:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324239360001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":154834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:10:39] local.INFO: GPS data processed {"connection_id":154834,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:10:39] local.INFO: Acknowledgment sent {"connection_id":154834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:10:57] local.INFO: TCP Data received {"connection_id":153453,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1ec900012d9612000607c3b8001900ab30..."} 
[2026-08-11 10:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1ec900012d9612000607c3b8001900ab30..."} 
[2026-08-11 10:10:57] local.INFO: Processing buffer {"connection_id":153453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1ec900012d9612000607c3b8001900ab30..."} 
[2026-08-11 10:10:57] local.INFO: Packet analysis {"connection_id":153453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1e"} 
[2026-08-11 10:10:57] local.INFO: Extracted packet for processing {"connection_id":153453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1e"} 
[2026-08-11 10:10:57] local.INFO: GPS Element Parsed {"raw_longitude":764809728,"raw_latitude":101172152,"longitude_deg":76.4809728,"latitude_deg":10.1172152,"altitude":25,"angle":171,"satellites":48,"speed":20,"hex_longitude":"2d961200","hex_latitude":"0607c3b8","is_valid_coordinates":true} 
[2026-08-11 10:10: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-08-11 10:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324338944001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377308655000748032,"note":"Value kept but may cause issues"} 
[2026-08-11 10:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7633108761283549184,"note":"Value kept but may cause issues"} 
[2026-08-11 10:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786423200000,"timestamp_ms":1786423200000,"timestamp_seconds":1786423200,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1ec900"} 
[2026-08-11 10:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:10: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-08-11 10:10: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-08-11 10:10: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-08-11 10:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:10:57] 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-08-11 10:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324338944001,"66":27767,"228":206,"79":48640,"24":20,"16":377308655000748032,"45":-7633108761283549184},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-08-11 10:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324338944001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:10:57] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-11 10:10:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377308655000748032,"km_value":377308655000748.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7633108761283549184,"description":"Unknown IO ID 45"} 
[2026-08-11 10:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324338944001,"power":27767,"unknown_228":206,"unknown_79":48640,"ignition":20,"odometer":null,"unknown_45":-7633108761283549184}} 
[2026-08-11 10:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":153453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:10:57] local.INFO: GPS data processed {"connection_id":153453,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:10:57] local.INFO: Acknowledgment sent {"connection_id":153453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:11:10] local.INFO: TCP Data received {"connection_id":154834,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:11:11] local.INFO: Processing buffer {"connection_id":154834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:11:11] local.INFO: Packet analysis {"connection_id":154834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:11:11] local.INFO: Extracted packet for processing {"connection_id":154834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10:11: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-08-11 10:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324239360001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786423111000,"timestamp_ms":1786423111000,"timestamp_seconds":1786423111,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1d6d58"} 
[2026-08-11 10:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:11:11] 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-08-11 10:11: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10:11: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-08-11 10:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":154834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":154834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":154834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324239360001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324239360001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:11:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:11:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324239360001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":154834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:11:11] local.INFO: GPS data processed {"connection_id":154834,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:11:11] local.INFO: Acknowledgment sent {"connection_id":154834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:11:17] local.INFO: TCP Data received {"connection_id":152498,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:11:17] local.INFO: Processing buffer {"connection_id":152498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:11:17] local.INFO: IMEI packet received {"connection_id":152498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":152498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:11:20] local.INFO: TCP Data received {"connection_id":152498,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:11:20] local.INFO: Processing buffer {"connection_id":152498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:11:20] local.INFO: IMEI packet received {"connection_id":152498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":152498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:11:25] local.INFO: TCP Data received {"connection_id":152498,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:11:25] local.INFO: Processing buffer {"connection_id":152498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:11:25] local.INFO: IMEI packet received {"connection_id":152498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":152498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:11:26] local.INFO: TCP Data received {"connection_id":152498,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1ecce8012d9612000607c1b8001900b82f..."} 
[2026-08-11 10:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1ecce8012d9612000607c1b8001900b82f..."} 
[2026-08-11 10:11:26] local.INFO: Processing buffer {"connection_id":152498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1ecce8012d9612000607c1b8001900b82f..."} 
[2026-08-11 10:11:26] local.INFO: Packet analysis {"connection_id":152498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1e"} 
[2026-08-11 10:11:26] local.INFO: Extracted packet for processing {"connection_id":152498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1e"} 
[2026-08-11 10:11:26] local.INFO: GPS Element Parsed {"raw_longitude":764809728,"raw_latitude":101171640,"longitude_deg":76.4809728,"latitude_deg":10.117164,"altitude":25,"angle":184,"satellites":47,"speed":21,"hex_longitude":"2d961200","hex_latitude":"0607c1b8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324339200001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377308680770551808,"note":"Value kept but may cause issues"} 
[2026-08-11 10:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7633038392539498496,"note":"Value kept but may cause issues"} 
[2026-08-11 10:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786423201000,"timestamp_ms":1786423201000,"timestamp_seconds":1786423201,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1ecce8"} 
[2026-08-11 10:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":119,"data_length":795,"current_offset":136} 
[2026-08-11 10:11:26] 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-08-11 10: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-08-11 10:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:11:26] 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-08-11 10:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324339200001,"66":27821,"228":206,"79":48640,"24":21,"16":377308680770551808,"45":-7633038392539498496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-08-11 10:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324339200001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:11:26] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-11 10:11:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377308680770551808,"km_value":377308680770551.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7633038392539498496,"description":"Unknown IO ID 45"} 
[2026-08-11 10:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324339200001,"power":27821,"unknown_228":206,"unknown_79":48640,"ignition":21,"odometer":null,"unknown_45":-7633038392539498496}} 
[2026-08-11 10:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":152498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:11:26] local.INFO: GPS data processed {"connection_id":152498,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:11:26] local.INFO: Acknowledgment sent {"connection_id":152498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:11:33] local.INFO: TCP Data received {"connection_id":153454,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:11:33] local.INFO: Processing buffer {"connection_id":153454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:11:33] local.INFO: IMEI packet received {"connection_id":153454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 10:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":153454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:11:38] local.INFO: TCP Data received {"connection_id":153454,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:11:38] local.INFO: Processing buffer {"connection_id":153454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:11:38] local.INFO: IMEI packet received {"connection_id":153454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":153454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:11:39] local.INFO: TCP Data received {"connection_id":153454,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:11:39] local.INFO: Processing buffer {"connection_id":153454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:11:39] local.INFO: Packet analysis {"connection_id":153454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:11:39] local.INFO: Extracted packet for processing {"connection_id":153454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324239360001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786423111000,"timestamp_ms":1786423111000,"timestamp_seconds":1786423111,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1d6d58"} 
[2026-08-11 10:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:11:39] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324239360001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324239360001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:11:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:11:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324239360001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":153454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:11:39] local.INFO: GPS data processed {"connection_id":153454,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:11:39] local.INFO: Acknowledgment sent {"connection_id":153454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:11:58] local.INFO: TCP Data received {"connection_id":152498,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1fda70012d964e8006078840002000942f..."} 
[2026-08-11 10:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1fda70012d964e8006078840002000942f..."} 
[2026-08-11 10:11:58] local.INFO: Processing buffer {"connection_id":152498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1fda70012d964e8006078840002000942f..."} 
[2026-08-11 10:11:58] local.INFO: Packet analysis {"connection_id":152498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1f"} 
[2026-08-11 10:11:58] local.INFO: Extracted packet for processing {"connection_id":152498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1f"} 
[2026-08-11 10:11:58] local.INFO: GPS Element Parsed {"raw_longitude":764825216,"raw_latitude":101156928,"longitude_deg":76.4825216,"latitude_deg":10.1156928,"altitude":32,"angle":148,"satellites":47,"speed":8,"hex_longitude":"2d964e80","hex_latitude":"06078840","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324356864001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377310390167535616,"note":"Value kept but may cause issues"} 
[2026-08-11 10:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7616149893940713472,"note":"Value kept but may cause issues"} 
[2026-08-11 10:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786423270000,"timestamp_ms":1786423270000,"timestamp_seconds":1786423270,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1fda70"} 
[2026-08-11 10:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 10:11:58] 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-08-11 10: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-08-11 10:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:11:58] 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-08-11 10:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324356864001,"66":27843,"228":206,"79":48640,"24":8,"16":377310390167535616,"45":-7616149893940713472},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-08-11 10:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324356864001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:11:58] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-11 10:11:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377310390167535616,"km_value":377310390167535.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7616149893940713472,"description":"Unknown IO ID 45"} 
[2026-08-11 10:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324356864001,"power":27843,"unknown_228":206,"unknown_79":48640,"ignition":8,"odometer":null,"unknown_45":-7616149893940713472}} 
[2026-08-11 10:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":152498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:11:58] local.INFO: GPS data processed {"connection_id":152498,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:11:58] local.INFO: Acknowledgment sent {"connection_id":152498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:12:10] local.INFO: TCP Data received {"connection_id":153454,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:12:10] local.INFO: Processing buffer {"connection_id":153454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:12:10] local.INFO: Packet analysis {"connection_id":153454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:12:10] local.INFO: Extracted packet for processing {"connection_id":153454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 10:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324239360001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786423111000,"timestamp_ms":1786423111000,"timestamp_seconds":1786423111,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1d6d58"} 
[2026-08-11 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-08-11 10:12:10] 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-08-11 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 10:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324239360001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324239360001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:12:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:12:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324239360001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":153454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:12:10] local.INFO: GPS data processed {"connection_id":153454,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:12:10] local.INFO: Acknowledgment sent {"connection_id":153454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:12:20] local.INFO: TCP Data received {"connection_id":152111,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:12:20] local.INFO: Processing buffer {"connection_id":152111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:12:20] local.INFO: IMEI packet received {"connection_id":152111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":152111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:12:25] local.INFO: TCP Data received {"connection_id":152111,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:12:25] local.INFO: Processing buffer {"connection_id":152111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:12:25] local.INFO: IMEI packet received {"connection_id":152111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":152111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:12:26] local.INFO: TCP Data received {"connection_id":152111,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1fde58012d964ec006078798001f00a42f..."} 
[2026-08-11 10:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1fde58012d964ec006078798001f00a42f..."} 
[2026-08-11 10:12:26] local.INFO: Processing buffer {"connection_id":152111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1fde58012d964ec006078798001f00a42f..."} 
[2026-08-11 10:12:26] local.INFO: Packet analysis {"connection_id":152111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1f"} 
[2026-08-11 10:12:26] local.INFO: Extracted packet for processing {"connection_id":152111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1f"} 
[2026-08-11 10:12:26] local.INFO: GPS Element Parsed {"raw_longitude":764825280,"raw_latitude":101156760,"longitude_deg":76.482528,"latitude_deg":10.115676,"altitude":31,"angle":164,"satellites":47,"speed":6,"hex_longitude":"2d964ec0","hex_latitude":"06078798","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324357120001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377310398757470208,"note":"Value kept but may cause issues"} 
[2026-08-11 10:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7616009156452401152,"note":"Value kept but may cause issues"} 
[2026-08-11 10:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786423271000,"timestamp_ms":1786423271000,"timestamp_seconds":1786423271,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1fde58"} 
[2026-08-11 10:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 10:12:26] 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-08-11 10: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-08-11 10:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:12:26] 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-08-11 10:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324357120001,"66":27919,"228":206,"79":48640,"24":6,"16":377310398757470208,"45":-7616009156452401152},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-08-11 10:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324357120001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:12:26] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-11 10:12:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377310398757470208,"km_value":377310398757470.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7616009156452401152,"description":"Unknown IO ID 45"} 
[2026-08-11 10:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324357120001,"power":27919,"unknown_228":206,"unknown_79":48640,"ignition":6,"odometer":null,"unknown_45":-7616009156452401152}} 
[2026-08-11 10:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":152111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:12:26] local.INFO: GPS data processed {"connection_id":152111,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:12:26] local.INFO: Acknowledgment sent {"connection_id":152111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:12:33] local.INFO: TCP Data received {"connection_id":152499,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:12:33] local.INFO: Processing buffer {"connection_id":152499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:12:33] local.INFO: IMEI packet received {"connection_id":152499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 10:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":152499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:12:38] local.INFO: TCP Data received {"connection_id":152499,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:12:38] local.INFO: Processing buffer {"connection_id":152499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:12:38] local.INFO: IMEI packet received {"connection_id":152499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":152499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:12:39] local.INFO: TCP Data received {"connection_id":152499,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:12:39] local.INFO: Processing buffer {"connection_id":152499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:12:39] local.INFO: Packet analysis {"connection_id":152499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:12:39] local.INFO: Extracted packet for processing {"connection_id":152499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324239360001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786423111000,"timestamp_ms":1786423111000,"timestamp_seconds":1786423111,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1d6d58"} 
[2026-08-11 10:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:12:39] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324239360001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324239360001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:12:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:12:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324239360001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":152499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:12:39] local.INFO: GPS data processed {"connection_id":152499,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:12:39] local.INFO: Acknowledgment sent {"connection_id":152499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:12:57] local.INFO: TCP Data received {"connection_id":152111,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1fe628012d964f0006078608002000b130..."} 
[2026-08-11 10:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1fe628012d964f0006078608002000b130..."} 
[2026-08-11 10:12:57] local.INFO: Processing buffer {"connection_id":152111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1fe628012d964f0006078608002000b130..."} 
[2026-08-11 10:12:57] local.INFO: Packet analysis {"connection_id":152111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1f"} 
[2026-08-11 10:12:57] local.INFO: Extracted packet for processing {"connection_id":152111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1f"} 
[2026-08-11 10:12:57] local.INFO: GPS Element Parsed {"raw_longitude":764825344,"raw_latitude":101156360,"longitude_deg":76.4825344,"latitude_deg":10.115636,"altitude":32,"angle":177,"satellites":48,"speed":8,"hex_longitude":"2d964f00","hex_latitude":"06078608","is_valid_coordinates":true} 
[2026-08-11 10:12: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-08-11 10:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324357376001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377310420232306688,"note":"Value kept but may cause issues"} 
[2026-08-11 10:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7615938787708266496,"note":"Value kept but may cause issues"} 
[2026-08-11 10:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786423273000,"timestamp_ms":1786423273000,"timestamp_seconds":1786423273,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1fe628"} 
[2026-08-11 10:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:12: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":15,"data_length":795,"current_offset":136} 
[2026-08-11 10:12:57] 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-08-11 10:12: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-08-11 10:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:12:57] 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-08-11 10:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324357376001,"66":27876,"228":206,"79":48640,"24":8,"16":377310420232306688,"45":-7615938787708266496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-08-11 10:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324357376001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:12:57] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-11 10:12:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377310420232306688,"km_value":377310420232306.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7615938787708266496,"description":"Unknown IO ID 45"} 
[2026-08-11 10:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324357376001,"power":27876,"unknown_228":206,"unknown_79":48640,"ignition":8,"odometer":null,"unknown_45":-7615938787708266496}} 
[2026-08-11 10:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":152111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:12:57] local.INFO: GPS data processed {"connection_id":152111,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:12:57] local.INFO: Acknowledgment sent {"connection_id":152111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:13:10] local.INFO: TCP Data received {"connection_id":152499,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:13:10] local.INFO: Processing buffer {"connection_id":152499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef1d6d58012d7d358005ec0ea8000500a119..."} 
[2026-08-11 10:13:10] local.INFO: Packet analysis {"connection_id":152499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:13:10] local.INFO: Extracted packet for processing {"connection_id":152499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef1d"} 
[2026-08-11 10:13:10] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":25,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324239360001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786423111000,"timestamp_ms":1786423111000,"timestamp_seconds":1786423111,"priority":1,"record_length":96,"hex_timestamp":"0000019fef1d6d58"} 
[2026-08-11 10:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:13:10] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324239360001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324239360001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:13:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:13:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324239360001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":152499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:13:10] local.INFO: GPS data processed {"connection_id":152499,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:13:10] local.INFO: Acknowledgment sent {"connection_id":152499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:13:20] local.INFO: TCP Data received {"connection_id":152500,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:13:20] local.INFO: Processing buffer {"connection_id":152500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:13:20] local.INFO: IMEI packet received {"connection_id":152500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":152500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:13:22] local.INFO: TCP Data received {"connection_id":152500,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:13:22] local.INFO: Processing buffer {"connection_id":152500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:13:22] local.INFO: IMEI packet received {"connection_id":152500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":152500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:13:24] local.INFO: TCP Data received {"connection_id":152500,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:13:24] local.INFO: Processing buffer {"connection_id":152500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:13:24] local.INFO: IMEI packet received {"connection_id":152500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":152500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:13:25] local.INFO: TCP Data received {"connection_id":152500,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef211ac0012d9645000606de90001600c22c..."} 
[2026-08-11 10:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef211ac0012d9645000606de90001600c22c..."} 
[2026-08-11 10:13:25] local.INFO: Processing buffer {"connection_id":152500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef211ac0012d9645000606de90001600c22c..."} 
[2026-08-11 10:13:25] local.INFO: Packet analysis {"connection_id":152500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef21"} 
[2026-08-11 10:13:25] local.INFO: Extracted packet for processing {"connection_id":152500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef21"} 
[2026-08-11 10:13:25] local.INFO: GPS Element Parsed {"raw_longitude":764822784,"raw_latitude":101113488,"longitude_deg":76.4822784,"latitude_deg":10.1113488,"altitude":22,"angle":194,"satellites":44,"speed":17,"hex_longitude":"2d964500","hex_latitude":"0606de90","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324374016001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377312541946150912,"note":"Value kept but may cause issues"} 
[2026-08-11 10:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7617698006321436672,"note":"Value kept but may cause issues"} 
[2026-08-11 10:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786423352000,"timestamp_ms":1786423352000,"timestamp_seconds":1786423352,"priority":1,"record_length":96,"hex_timestamp":"0000019fef211ac0"} 
[2026-08-11 10:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:13:25] 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-08-11 10: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-08-11 10:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:13:25] 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-08-11 10:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324374016001,"66":27930,"254":206,"79":48640,"24":17,"16":377312541946150912,"45":-7617698006321436672},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 10:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324374016001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:13:25] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 10:13:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377312541946150912,"km_value":377312541946150.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7617698006321436672,"description":"Unknown IO ID 45"} 
[2026-08-11 10:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324374016001,"power":27930,"unknown_254":206,"unknown_79":48640,"ignition":17,"odometer":null,"unknown_45":-7617698006321436672}} 
[2026-08-11 10:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":152500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:13:25] local.INFO: GPS data processed {"connection_id":152500,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:13:25] local.INFO: Acknowledgment sent {"connection_id":152500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:13:33] local.INFO: TCP Data received {"connection_id":152112,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:13:33] local.INFO: Processing buffer {"connection_id":152112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:13:33] local.INFO: IMEI packet received {"connection_id":152112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 10:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":152112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:13:34] local.INFO: TCP Data received {"connection_id":152112,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:13:34] local.INFO: Processing buffer {"connection_id":152112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:13:34] local.INFO: IMEI packet received {"connection_id":152112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":152112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:13:38] local.INFO: TCP Data received {"connection_id":152112,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:13:38] local.INFO: Processing buffer {"connection_id":152112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:13:38] local.INFO: IMEI packet received {"connection_id":152112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":152112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:13:39] local.INFO: TCP Data received {"connection_id":152112,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:13:39] local.INFO: Processing buffer {"connection_id":152112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:13:39] local.INFO: Packet analysis {"connection_id":152112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:13:39] local.INFO: Extracted packet for processing {"connection_id":152112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":21,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324316416001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786423412000,"timestamp_ms":1786423412000,"timestamp_seconds":1786423412,"priority":1,"record_length":96,"hex_timestamp":"0000019fef220520"} 
[2026-08-11 10:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:13:39] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324316416001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324316416001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:13:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:13:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324316416001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":152112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:13:39] local.INFO: GPS data processed {"connection_id":152112,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:13:39] local.INFO: Acknowledgment sent {"connection_id":152112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:13:56] local.INFO: TCP Data received {"connection_id":152500,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef212a60012d9642800606d980001500ce2f..."} 
[2026-08-11 10:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef212a60012d9642800606d980001500ce2f..."} 
[2026-08-11 10:13:56] local.INFO: Processing buffer {"connection_id":152500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef212a60012d9642800606d980001500ce2f..."} 
[2026-08-11 10:13:56] local.INFO: Packet analysis {"connection_id":152500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef21"} 
[2026-08-11 10:13:56] local.INFO: Extracted packet for processing {"connection_id":152500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef21"} 
[2026-08-11 10:13:56] local.INFO: GPS Element Parsed {"raw_longitude":764822144,"raw_latitude":101112192,"longitude_deg":76.4822144,"latitude_deg":10.1112192,"altitude":21,"angle":206,"satellites":47,"speed":10,"hex_longitude":"2d964280","hex_latitude":"0606d980","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324378112001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377312610665627648,"note":"Value kept but may cause issues"} 
[2026-08-11 10:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7618683168742273024,"note":"Value kept but may cause issues"} 
[2026-08-11 10:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786423356000,"timestamp_ms":1786423356000,"timestamp_seconds":1786423356,"priority":1,"record_length":96,"hex_timestamp":"0000019fef212a60"} 
[2026-08-11 10:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 10:13:56] 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-08-11 10: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-08-11 10:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:13:56] 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-08-11 10:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324378112001,"66":27974,"254":206,"79":48640,"24":10,"16":377312610665627648,"45":-7618683168742273024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 10:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324378112001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:13:56] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 10:13:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377312610665627648,"km_value":377312610665627.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7618683168742273024,"description":"Unknown IO ID 45"} 
[2026-08-11 10:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324378112001,"power":27974,"unknown_254":206,"unknown_79":48640,"ignition":10,"odometer":null,"unknown_45":-7618683168742273024}} 
[2026-08-11 10:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":152500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:13:56] local.INFO: GPS data processed {"connection_id":152500,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:13:56] local.INFO: Acknowledgment sent {"connection_id":152500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:14:11] local.INFO: TCP Data received {"connection_id":152112,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:14:11] local.INFO: Processing buffer {"connection_id":152112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:14:11] local.INFO: Packet analysis {"connection_id":152112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:14:11] local.INFO: Extracted packet for processing {"connection_id":152112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:14:11] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":21,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324316416001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786423412000,"timestamp_ms":1786423412000,"timestamp_seconds":1786423412,"priority":1,"record_length":96,"hex_timestamp":"0000019fef220520"} 
[2026-08-11 10:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:14:11] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324316416001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324316416001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:14:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:14:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324316416001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":152112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:14:11] local.INFO: GPS data processed {"connection_id":152112,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:14:11] local.INFO: Acknowledgment sent {"connection_id":152112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:14:20] local.INFO: TCP Data received {"connection_id":153455,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:14:20] local.INFO: Processing buffer {"connection_id":153455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:14:20] local.INFO: IMEI packet received {"connection_id":153455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":153455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:14:25] local.INFO: TCP Data received {"connection_id":153455,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:14:25] local.INFO: Processing buffer {"connection_id":153455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:14:25] local.INFO: IMEI packet received {"connection_id":153455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":153455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:14:26] local.INFO: TCP Data received {"connection_id":153455,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef21f968012d95ffc00606cdc8001400d12d..."} 
[2026-08-11 10:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef21f968012d95ffc00606cdc8001400d12d..."} 
[2026-08-11 10:14:26] local.INFO: Processing buffer {"connection_id":153455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef21f968012d95ffc00606cdc8001400d12d..."} 
[2026-08-11 10:14:26] local.INFO: Packet analysis {"connection_id":153455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef21"} 
[2026-08-11 10:14:26] local.INFO: Extracted packet for processing {"connection_id":153455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef21"} 
[2026-08-11 10:14:26] local.INFO: GPS Element Parsed {"raw_longitude":764805056,"raw_latitude":101109192,"longitude_deg":76.4805056,"latitude_deg":10.1109192,"altitude":20,"angle":209,"satellites":45,"speed":15,"hex_longitude":"2d95ffc0","hex_latitude":"0606cdc8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324391424001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377313581328236544,"note":"Value kept but may cause issues"} 
[2026-08-11 10:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7637682729670885376,"note":"Value kept but may cause issues"} 
[2026-08-11 10:14:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 10:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786423409000,"timestamp_ms":1786423409000,"timestamp_seconds":1786423409,"priority":1,"record_length":96,"hex_timestamp":"0000019fef21f968"} 
[2026-08-11 10:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 10:14:26] 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-08-11 10: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-08-11 10:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:14:26] 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-08-11 10:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324391424001,"66":27800,"79":48640,"24":15,"16":377313581328236544,"45":-7637682729670885376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-08-11 10:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324391424001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:14:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377313581328236544,"km_value":377313581328236.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7637682729670885376,"description":"Unknown IO ID 45"} 
[2026-08-11 10:14:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457324391424001,"power":27800,"unknown_79":48640,"ignition":15,"odometer":null,"unknown_45":-7637682729670885376}} 
[2026-08-11 10:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":153455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:14:26] local.INFO: GPS data processed {"connection_id":153455,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:14:26] local.INFO: Acknowledgment sent {"connection_id":153455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:14:38] local.INFO: TCP Data received {"connection_id":152113,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:14:38] local.INFO: Processing buffer {"connection_id":152113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:14:38] local.INFO: IMEI packet received {"connection_id":152113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 10:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":152113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:14:43] local.INFO: TCP Data received {"connection_id":152113,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:14:43] local.INFO: Processing buffer {"connection_id":152113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:14:43] local.INFO: IMEI packet received {"connection_id":152113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":152113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:14:44] local.INFO: TCP Data received {"connection_id":152113,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:14:44] local.INFO: Processing buffer {"connection_id":152113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:14:44] local.INFO: Packet analysis {"connection_id":152113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:14:44] local.INFO: Extracted packet for processing {"connection_id":152113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:14:44] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":21,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324316416001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786423412000,"timestamp_ms":1786423412000,"timestamp_seconds":1786423412,"priority":1,"record_length":96,"hex_timestamp":"0000019fef220520"} 
[2026-08-11 10:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:14:44] 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-08-11 10: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":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324316416001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324316416001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:14:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:14:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324316416001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":152113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:14:44] local.INFO: GPS data processed {"connection_id":152113,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:14:44] local.INFO: Acknowledgment sent {"connection_id":152113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:14:48] local.INFO: TCP Data received {"connection_id":152113,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:14:48] local.INFO: Processing buffer {"connection_id":152113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:14:48] local.INFO: Packet analysis {"connection_id":152113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:14:48] local.INFO: Extracted packet for processing {"connection_id":152113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:14:48] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":21,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324316416001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786423412000,"timestamp_ms":1786423412000,"timestamp_seconds":1786423412,"priority":1,"record_length":96,"hex_timestamp":"0000019fef220520"} 
[2026-08-11 10:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:14:48] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324316416001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324316416001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:14:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:14:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324316416001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":152113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:14:48] local.INFO: GPS data processed {"connection_id":152113,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:14:48] local.INFO: Acknowledgment sent {"connection_id":152113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:14:57] local.INFO: TCP Data received {"connection_id":153455,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef226ab0012d95df000606bea0001400a52d..."} 
[2026-08-11 10:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef226ab0012d95df000606bea0001400a52d..."} 
[2026-08-11 10:14:57] local.INFO: Processing buffer {"connection_id":153455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef226ab0012d95df000606bea0001400a52d..."} 
[2026-08-11 10:14:57] local.INFO: Packet analysis {"connection_id":153455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:14:57] local.INFO: Extracted packet for processing {"connection_id":153455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:14:57] local.INFO: GPS Element Parsed {"raw_longitude":764796672,"raw_latitude":101105312,"longitude_deg":76.4796672,"latitude_deg":10.1105312,"altitude":20,"angle":165,"satellites":45,"speed":11,"hex_longitude":"2d95df00","hex_latitude":"0606bea0","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324399360001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377314131084050432,"note":"Value kept but may cause issues"} 
[2026-08-11 10:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7647745460089561088,"note":"Value kept but may cause issues"} 
[2026-08-11 10:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786423438000,"timestamp_ms":1786423438000,"timestamp_seconds":1786423438,"priority":1,"record_length":96,"hex_timestamp":"0000019fef226ab0"} 
[2026-08-11 10:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 10:14: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-08-11 10: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-08-11 10:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:14:57] 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-08-11 10:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324399360001,"66":27908,"174":206,"79":48640,"24":11,"16":377314131084050432,"45":-7647745460089561088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,79,24,16,45]} 
[2026-08-11 10:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324399360001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:14:57] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-11 10:14:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377314131084050432,"km_value":377314131084050.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7647745460089561088,"description":"Unknown IO ID 45"} 
[2026-08-11 10:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324399360001,"power":27908,"unknown_174":206,"unknown_79":48640,"ignition":11,"odometer":null,"unknown_45":-7647745460089561088}} 
[2026-08-11 10:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":153455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:14:57] local.INFO: GPS data processed {"connection_id":153455,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:14:57] local.INFO: Acknowledgment sent {"connection_id":153455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:15:20] local.INFO: TCP Data received {"connection_id":152114,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:15:20] local.INFO: Processing buffer {"connection_id":152114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:15:20] local.INFO: IMEI packet received {"connection_id":152114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":152114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:15:24] local.INFO: TCP Data received {"connection_id":152114,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:15:24] local.INFO: Processing buffer {"connection_id":152114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:15:24] local.INFO: IMEI packet received {"connection_id":152114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":152114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:15:25] local.INFO: TCP Data received {"connection_id":152114,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:15:25] local.INFO: Processing buffer {"connection_id":152114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:15:25] local.INFO: IMEI packet received {"connection_id":152114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":152114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:15:32] local.INFO: TCP Data received {"connection_id":152114,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef227280012d95e0400606bc280015008f2e..."} 
[2026-08-11 10:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef227280012d95e0400606bc280015008f2e..."} 
[2026-08-11 10:15:32] local.INFO: Processing buffer {"connection_id":152114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef227280012d95e0400606bc280015008f2e..."} 
[2026-08-11 10:15:32] local.INFO: Packet analysis {"connection_id":152114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:15:32] local.INFO: Extracted packet for processing {"connection_id":152114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:15:32] local.INFO: GPS Element Parsed {"raw_longitude":764796992,"raw_latitude":101104680,"longitude_deg":76.4796992,"latitude_deg":10.110468,"altitude":21,"angle":143,"satellites":46,"speed":16,"hex_longitude":"2d95e040","hex_latitude":"0606bc28","is_valid_coordinates":true} 
[2026-08-11 10:15: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-08-11 10:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324400128001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377314165443788800,"note":"Value kept but may cause issues"} 
[2026-08-11 10:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7647393616368852992,"note":"Value kept but may cause issues"} 
[2026-08-11 10:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786423440000,"timestamp_ms":1786423440000,"timestamp_seconds":1786423440,"priority":1,"record_length":96,"hex_timestamp":"0000019fef227280"} 
[2026-08-11 10:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:15: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":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:15:32] 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-08-11 10:15: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-08-11 10:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:15:32] 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-08-11 10:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324400128001,"66":27865,"174":206,"79":48640,"24":16,"16":377314165443788800,"45":-7647393616368852992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,79,24,16,45]} 
[2026-08-11 10:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324400128001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:15:32] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-11 10:15:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377314165443788800,"km_value":377314165443788.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7647393616368852992,"description":"Unknown IO ID 45"} 
[2026-08-11 10:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324400128001,"power":27865,"unknown_174":206,"unknown_79":48640,"ignition":16,"odometer":null,"unknown_45":-7647393616368852992}} 
[2026-08-11 10:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":152114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:15:32] local.INFO: GPS data processed {"connection_id":152114,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:15:32] local.INFO: Acknowledgment sent {"connection_id":152114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:15:33] local.INFO: TCP Data received {"connection_id":152115,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:15:33] local.INFO: Processing buffer {"connection_id":152115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:15:33] local.INFO: IMEI packet received {"connection_id":152115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 10:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":152115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:15:35] local.INFO: TCP Data received {"connection_id":152114,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef22a548012d95f5c006069ea0001100922c..."} 
[2026-08-11 10:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef22a548012d95f5c006069ea0001100922c..."} 
[2026-08-11 10:15:35] local.INFO: Processing buffer {"connection_id":152114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef22a548012d95f5c006069ea0001100922c..."} 
[2026-08-11 10:15:35] local.INFO: Packet analysis {"connection_id":152114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:15:35] local.INFO: Extracted packet for processing {"connection_id":152114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:15:35] local.INFO: GPS Element Parsed {"raw_longitude":764802496,"raw_latitude":101097120,"longitude_deg":76.4802496,"latitude_deg":10.109712,"altitude":17,"angle":146,"satellites":44,"speed":36,"hex_longitude":"2d95f5c0","hex_latitude":"06069ea0","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324400640001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377314616415354880,"note":"Value kept but may cause issues"} 
[2026-08-11 10:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7647041772648126464,"note":"Value kept but may cause issues"} 
[2026-08-11 10:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786423453000,"timestamp_ms":1786423453000,"timestamp_seconds":1786423453,"priority":1,"record_length":96,"hex_timestamp":"0000019fef22a548"} 
[2026-08-11 10:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 10:15: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-08-11 10: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-08-11 10:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:15:35] 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-08-11 10:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324400640001,"66":27919,"174":206,"79":48640,"24":36,"16":377314616415354880,"45":-7647041772648126464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,79,24,16,45]} 
[2026-08-11 10:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324400640001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:15:35] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-11 10:15:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377314616415354880,"km_value":377314616415354.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7647041772648126464,"description":"Unknown IO ID 45"} 
[2026-08-11 10:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324400640001,"power":27919,"unknown_174":206,"unknown_79":48640,"ignition":36,"odometer":null,"unknown_45":-7647041772648126464}} 
[2026-08-11 10:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":152114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:15:35] local.INFO: GPS data processed {"connection_id":152114,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:15:35] local.INFO: Acknowledgment sent {"connection_id":152114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:15:38] local.INFO: TCP Data received {"connection_id":152115,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:15:38] local.INFO: Processing buffer {"connection_id":152115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 10:15:38] local.INFO: IMEI packet received {"connection_id":152115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 10:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":152115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:15:39] local.INFO: TCP Data received {"connection_id":152115,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:15:39] local.INFO: Processing buffer {"connection_id":152115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:15:39] local.INFO: Packet analysis {"connection_id":152115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:15:39] local.INFO: Extracted packet for processing {"connection_id":152115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":21,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324316416001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786423412000,"timestamp_ms":1786423412000,"timestamp_seconds":1786423412,"priority":1,"record_length":96,"hex_timestamp":"0000019fef220520"} 
[2026-08-11 10:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:15:39] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:15:39] 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-08-11 10:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324316416001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324316416001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:15:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:15:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324316416001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":152115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:15:39] local.INFO: GPS data processed {"connection_id":152115,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:15:39] local.INFO: Acknowledgment sent {"connection_id":152115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:16:11] local.INFO: TCP Data received {"connection_id":152115,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:16:11] local.INFO: Processing buffer {"connection_id":152115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef220520012d7d358005ec0ea8000500a115..."} 
[2026-08-11 10:16:11] local.INFO: Packet analysis {"connection_id":152115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:16:11] local.INFO: Extracted packet for processing {"connection_id":152115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":21,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324316416001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786423412000,"timestamp_ms":1786423412000,"timestamp_seconds":1786423412,"priority":1,"record_length":96,"hex_timestamp":"0000019fef220520"} 
[2026-08-11 10:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:16:11] 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-08-11 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 10:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 10:16:11] 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-08-11 10:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 10:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 10:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324316416001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 10:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 10:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 10:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324316416001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:16:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 10:16:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 10:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324316416001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 10:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":152115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:16:11] local.INFO: GPS data processed {"connection_id":152115,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:16:11] local.INFO: Acknowledgment sent {"connection_id":152115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:16:19] local.INFO: TCP Data received {"connection_id":152501,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:16:19] local.INFO: Processing buffer {"connection_id":152501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:16:19] local.INFO: IMEI packet received {"connection_id":152501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":152501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:16:25] local.INFO: TCP Data received {"connection_id":152501,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:16:25] local.INFO: Processing buffer {"connection_id":152501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:16:25] local.INFO: IMEI packet received {"connection_id":152501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":152501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:16:26] local.INFO: TCP Data received {"connection_id":152501,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef22e3c8012d9608c006068158001100912d..."} 
[2026-08-11 10:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef22e3c8012d9608c006068158001100912d..."} 
[2026-08-11 10:16:26] local.INFO: Processing buffer {"connection_id":152501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef22e3c8012d9608c006068158001100912d..."} 
[2026-08-11 10:16:26] local.INFO: Packet analysis {"connection_id":152501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:16:26] local.INFO: Extracted packet for processing {"connection_id":152501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef22"} 
[2026-08-11 10:16:26] local.INFO: GPS Element Parsed {"raw_longitude":764807360,"raw_latitude":101089624,"longitude_deg":76.480736,"latitude_deg":10.1089624,"altitude":17,"angle":145,"satellites":45,"speed":18,"hex_longitude":"2d9608c0","hex_latitude":"06068158","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324403968001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377315050207051776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7640990060650782720,"note":"Value kept but may cause issues"} 
[2026-08-11 10:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786423469000,"timestamp_ms":1786423469000,"timestamp_seconds":1786423469,"priority":1,"record_length":96,"hex_timestamp":"0000019fef22e3c8"} 
[2026-08-11 10:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 10:16:26] 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-08-11 10: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-08-11 10:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:16:26] 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-08-11 10:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324403968001,"66":27789,"174":206,"79":48640,"24":18,"16":377315050207051776,"45":-7640990060650782720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,79,24,16,45]} 
[2026-08-11 10:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324403968001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:16:26] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-11 10:16:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377315050207051776,"km_value":377315050207051.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7640990060650782720,"description":"Unknown IO ID 45"} 
[2026-08-11 10:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324403968001,"power":27789,"unknown_174":206,"unknown_79":48640,"ignition":18,"odometer":null,"unknown_45":-7640990060650782720}} 
[2026-08-11 10:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":152501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:16:26] local.INFO: GPS data processed {"connection_id":152501,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:16:26] local.INFO: Acknowledgment sent {"connection_id":152501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:16:57] local.INFO: TCP Data received {"connection_id":152501,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef232630012d961d00060663180013009230..."} 
[2026-08-11 10:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef232630012d961d00060663180013009230..."} 
[2026-08-11 10:16:57] local.INFO: Processing buffer {"connection_id":152501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef232630012d961d00060663180013009230..."} 
[2026-08-11 10:16:57] local.INFO: Packet analysis {"connection_id":152501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef23"} 
[2026-08-11 10:16:57] local.INFO: Extracted packet for processing {"connection_id":152501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef23"} 
[2026-08-11 10:16:57] local.INFO: GPS Element Parsed {"raw_longitude":764812544,"raw_latitude":101081880,"longitude_deg":76.4812544,"latitude_deg":10.108188,"altitude":19,"angle":146,"satellites":48,"speed":25,"hex_longitude":"2d961d00","hex_latitude":"06066318","is_valid_coordinates":true} 
[2026-08-11 10:16: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-08-11 10:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324408064001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377315501178617856,"note":"Value kept but may cause issues"} 
[2026-08-11 10:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7635642036095199232,"note":"Value kept but may cause issues"} 
[2026-08-11 10:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786423486000,"timestamp_ms":1786423486000,"timestamp_seconds":1786423486,"priority":1,"record_length":96,"hex_timestamp":"0000019fef232630"} 
[2026-08-11 10:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:16: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":141,"data_length":795,"current_offset":136} 
[2026-08-11 10:16:57] 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-08-11 10:16: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-08-11 10:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:16:57] 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-08-11 10:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324408064001,"66":27745,"174":206,"79":48640,"24":25,"16":377315501178617856,"45":-7635642036095199232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,79,24,16,45]} 
[2026-08-11 10:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324408064001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:16:57] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-11 10:16:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377315501178617856,"km_value":377315501178617.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7635642036095199232,"description":"Unknown IO ID 45"} 
[2026-08-11 10:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324408064001,"power":27745,"unknown_174":206,"unknown_79":48640,"ignition":25,"odometer":null,"unknown_45":-7635642036095199232}} 
[2026-08-11 10:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":152501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:16:57] local.INFO: GPS data processed {"connection_id":152501,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:16:57] local.INFO: Acknowledgment sent {"connection_id":152501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:17:25] local.INFO: TCP Data received {"connection_id":153456,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:17:25] local.INFO: Processing buffer {"connection_id":153456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:17:25] local.INFO: IMEI packet received {"connection_id":153456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":153456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:17:28] local.INFO: TCP Data received {"connection_id":153456,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:17:28] local.INFO: Processing buffer {"connection_id":153456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:17:28] local.INFO: IMEI packet received {"connection_id":153456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":153456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:17:29] local.INFO: TCP Data received {"connection_id":153456,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef2358f8012d962e40060644780012009b2f..."} 
[2026-08-11 10:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef2358f8012d962e40060644780012009b2f..."} 
[2026-08-11 10:17:29] local.INFO: Processing buffer {"connection_id":153456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef2358f8012d962e40060644780012009b2f..."} 
[2026-08-11 10:17:29] local.INFO: Packet analysis {"connection_id":153456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef23"} 
[2026-08-11 10:17:29] local.INFO: Extracted packet for processing {"connection_id":153456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef23"} 
[2026-08-11 10:17:29] local.INFO: GPS Element Parsed {"raw_longitude":764816960,"raw_latitude":101074040,"longitude_deg":76.481696,"latitude_deg":10.107404,"altitude":18,"angle":155,"satellites":47,"speed":20,"hex_longitude":"2d962e40","hex_latitude":"06064478","is_valid_coordinates":true} 
[2026-08-11 10:17: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-08-11 10:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324412416001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377315934970314752,"note":"Value kept but may cause issues"} 
[2026-08-11 10:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7629942167818790912,"note":"Value kept but may cause issues"} 
[2026-08-11 10:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786423499000,"timestamp_ms":1786423499000,"timestamp_seconds":1786423499,"priority":1,"record_length":96,"hex_timestamp":"0000019fef2358f8"} 
[2026-08-11 10:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 10:17:29] 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-08-11 10:17: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-08-11 10:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:17:29] 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-08-11 10:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324412416001,"66":27800,"254":206,"79":48640,"24":20,"16":377315934970314752,"45":-7629942167818790912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-11 10:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324412416001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:17:29] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-11 10:17:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377315934970314752,"km_value":377315934970314.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7629942167818790912,"description":"Unknown IO ID 45"} 
[2026-08-11 10:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324412416001,"power":27800,"unknown_254":206,"unknown_79":48640,"ignition":20,"odometer":null,"unknown_45":-7629942167818790912}} 
[2026-08-11 10:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":153456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:17:29] local.INFO: GPS data processed {"connection_id":153456,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:17:29] local.INFO: Acknowledgment sent {"connection_id":153456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:17:30] local.INFO: TCP Data received {"connection_id":153456,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef238bc0012d963c4006062308000f009d2e..."} 
[2026-08-11 10:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef238bc0012d963c4006062308000f009d2e..."} 
[2026-08-11 10:17:30] local.INFO: Processing buffer {"connection_id":153456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef238bc0012d963c4006062308000f009d2e..."} 
[2026-08-11 10:17:30] local.INFO: Packet analysis {"connection_id":153456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef23"} 
[2026-08-11 10:17:30] local.INFO: Extracted packet for processing {"connection_id":153456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef23"} 
[2026-08-11 10:17:30] local.INFO: GPS Element Parsed {"raw_longitude":764820544,"raw_latitude":101065480,"longitude_deg":76.4820544,"latitude_deg":10.106548,"altitude":15,"angle":157,"satellites":46,"speed":34,"hex_longitude":"2d963c40","hex_latitude":"06062308","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324415744001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377316385941880832,"note":"Value kept but may cause issues"} 
[2026-08-11 10:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7625086724472539136,"note":"Value kept but may cause issues"} 
[2026-08-11 10:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786423512000,"timestamp_ms":1786423512000,"timestamp_seconds":1786423512,"priority":1,"record_length":96,"hex_timestamp":"0000019fef238bc0"} 
[2026-08-11 10:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 10:17:30] 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-08-11 10: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-08-11 10:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:17:30] 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-08-11 10:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324415744001,"66":27876,"174":206,"79":48640,"24":34,"16":377316385941880832,"45":-7625086724472539136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,79,24,16,45]} 
[2026-08-11 10:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324415744001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:17:30] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-11 10:17:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377316385941880832,"km_value":377316385941880.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7625086724472539136,"description":"Unknown IO ID 45"} 
[2026-08-11 10:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324415744001,"power":27876,"unknown_174":206,"unknown_79":48640,"ignition":34,"odometer":null,"unknown_45":-7625086724472539136}} 
[2026-08-11 10:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":153456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:17:30] local.INFO: GPS data processed {"connection_id":153456,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:17:30] local.INFO: Acknowledgment sent {"connection_id":153456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:18:01] local.INFO: TCP Data received {"connection_id":153456,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef23c658012d9649c0060602a8000e009d30..."} 
[2026-08-11 10:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef23c658012d9649c0060602a8000e009d30..."} 
[2026-08-11 10:18:01] local.INFO: Processing buffer {"connection_id":153456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef23c658012d9649c0060602a8000e009d30..."} 
[2026-08-11 10:18:01] local.INFO: Packet analysis {"connection_id":153456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef23"} 
[2026-08-11 10:18:01] local.INFO: Extracted packet for processing {"connection_id":153456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef23"} 
[2026-08-11 10:18:01] local.INFO: GPS Element Parsed {"raw_longitude":764824000,"raw_latitude":101057192,"longitude_deg":76.4824,"latitude_deg":10.1057192,"altitude":14,"angle":157,"satellites":48,"speed":9,"hex_longitude":"2d9649c0","hex_latitude":"060602a8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324419072001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377316819733577728,"note":"Value kept but may cause issues"} 
[2026-08-11 10:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7621146074800781312,"note":"Value kept but may cause issues"} 
[2026-08-11 10:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786423527000,"timestamp_ms":1786423527000,"timestamp_seconds":1786423527,"priority":1,"record_length":96,"hex_timestamp":"0000019fef23c658"} 
[2026-08-11 10:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 10:18:01] 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-08-11 10: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-08-11 10:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:18:01] 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-08-11 10:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324419072001,"66":27908,"173":206,"79":48640,"24":9,"16":377316819733577728,"45":-7621146074800781312},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,79,24,16,45]} 
[2026-08-11 10:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324419072001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:18:01] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-11 10:18:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377316819733577728,"km_value":377316819733577.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7621146074800781312,"description":"Unknown IO ID 45"} 
[2026-08-11 10:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324419072001,"power":27908,"unknown_173":206,"unknown_79":48640,"ignition":9,"odometer":null,"unknown_45":-7621146074800781312}} 
[2026-08-11 10:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":153456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:18:01] local.INFO: GPS data processed {"connection_id":153456,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:18:01] local.INFO: Acknowledgment sent {"connection_id":153456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:18:20] local.INFO: TCP Data received {"connection_id":152116,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:18:20] local.INFO: Processing buffer {"connection_id":152116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:18:20] local.INFO: IMEI packet received {"connection_id":152116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":152116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:18:21] local.INFO: TCP Data received {"connection_id":152116,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:18:21] local.INFO: Processing buffer {"connection_id":152116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:18:21] local.INFO: IMEI packet received {"connection_id":152116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":152116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:18:25] local.INFO: TCP Data received {"connection_id":152116,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:18:25] local.INFO: Processing buffer {"connection_id":152116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:18:25] local.INFO: IMEI packet received {"connection_id":152116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":152116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:18:26] local.INFO: TCP Data received {"connection_id":152116,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef241860012d9653800605eb600010009a30..."} 
[2026-08-11 10:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef241860012d9653800605eb600010009a30..."} 
[2026-08-11 10:18:26] local.INFO: Processing buffer {"connection_id":152116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef241860012d9653800605eb600010009a30..."} 
[2026-08-11 10:18:26] local.INFO: Packet analysis {"connection_id":152116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef24"} 
[2026-08-11 10:18:26] local.INFO: Extracted packet for processing {"connection_id":152116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef24"} 
[2026-08-11 10:18:26] local.INFO: GPS Element Parsed {"raw_longitude":764826496,"raw_latitude":101051232,"longitude_deg":76.4826496,"latitude_deg":10.1051232,"altitude":16,"angle":154,"satellites":48,"speed":14,"hex_longitude":"2d965380","hex_latitude":"0605eb60","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324422912001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377317137561157632,"note":"Value kept but may cause issues"} 
[2026-08-11 10:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7617346162617309184,"note":"Value kept but may cause issues"} 
[2026-08-11 10:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786423548000,"timestamp_ms":1786423548000,"timestamp_seconds":1786423548,"priority":1,"record_length":96,"hex_timestamp":"0000019fef241860"} 
[2026-08-11 10:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:18: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-08-11 10: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-08-11 10:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:18:26] 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-08-11 10:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324422912001,"66":27908,"173":206,"79":48640,"24":14,"16":377317137561157632,"45":-7617346162617309184},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,79,24,16,45]} 
[2026-08-11 10:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324422912001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:18:26] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-11 10:18:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377317137561157632,"km_value":377317137561157.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7617346162617309184,"description":"Unknown IO ID 45"} 
[2026-08-11 10:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324422912001,"power":27908,"unknown_173":206,"unknown_79":48640,"ignition":14,"odometer":null,"unknown_45":-7617346162617309184}} 
[2026-08-11 10:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":152116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:18:26] local.INFO: GPS data processed {"connection_id":152116,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:18:26] local.INFO: Acknowledgment sent {"connection_id":152116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:18:57] local.INFO: TCP Data received {"connection_id":152116,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef242fd0012d9659400605e2d80010008f30..."} 
[2026-08-11 10:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef242fd0012d9659400605e2d80010008f30..."} 
[2026-08-11 10:18:57] local.INFO: Processing buffer {"connection_id":152116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef242fd0012d9659400605e2d80010008f30..."} 
[2026-08-11 10:18:57] local.INFO: Packet analysis {"connection_id":152116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef24"} 
[2026-08-11 10:18:57] local.INFO: Extracted packet for processing {"connection_id":152116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef24"} 
[2026-08-11 10:18:57] local.INFO: GPS Element Parsed {"raw_longitude":764827968,"raw_latitude":101049048,"longitude_deg":76.4827968,"latitude_deg":10.1049048,"altitude":16,"angle":143,"satellites":48,"speed":19,"hex_longitude":"2d965940","hex_latitude":"0605e2d8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324428288001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377317262115209216,"note":"Value kept but may cause issues"} 
[2026-08-11 10:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7614601781595906048,"note":"Value kept but may cause issues"} 
[2026-08-11 10:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786423554000,"timestamp_ms":1786423554000,"timestamp_seconds":1786423554,"priority":1,"record_length":96,"hex_timestamp":"0000019fef242fd0"} 
[2026-08-11 10:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:18: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-08-11 10: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-08-11 10:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:18:57] 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-08-11 10:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324428288001,"66":27745,"173":206,"79":48640,"24":19,"16":377317262115209216,"45":-7614601781595906048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,79,24,16,45]} 
[2026-08-11 10:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324428288001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:18:57] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-11 10:18:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377317262115209216,"km_value":377317262115209.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7614601781595906048,"description":"Unknown IO ID 45"} 
[2026-08-11 10:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324428288001,"power":27745,"unknown_173":206,"unknown_79":48640,"ignition":19,"odometer":null,"unknown_45":-7614601781595906048}} 
[2026-08-11 10:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":152116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:18:57] local.INFO: GPS data processed {"connection_id":152116,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:18:57] local.INFO: Acknowledgment sent {"connection_id":152116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:19:20] local.INFO: TCP Data received {"connection_id":154835,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:19:20] local.INFO: Processing buffer {"connection_id":154835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:19:20] local.INFO: IMEI packet received {"connection_id":154835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":154835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:19:20] local.INFO: TCP Data received {"connection_id":154835,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:19:20] local.INFO: Processing buffer {"connection_id":154835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:19:20] local.INFO: IMEI packet received {"connection_id":154835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":154835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:19:25] local.INFO: TCP Data received {"connection_id":154835,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:19:25] local.INFO: Processing buffer {"connection_id":154835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:19:25] local.INFO: IMEI packet received {"connection_id":154835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":154835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:19:25] local.INFO: TCP Data received {"connection_id":154835,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef246298012d9665800605d5700010008230..."} 
[2026-08-11 10:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef246298012d9665800605d5700010008230..."} 
[2026-08-11 10:19:26] local.INFO: Processing buffer {"connection_id":154835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef246298012d9665800605d5700010008230..."} 
[2026-08-11 10:19:26] local.INFO: Packet analysis {"connection_id":154835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef24"} 
[2026-08-11 10:19:26] local.INFO: Extracted packet for processing {"connection_id":154835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef24"} 
[2026-08-11 10:19:26] local.INFO: GPS Element Parsed {"raw_longitude":764831104,"raw_latitude":101045616,"longitude_deg":76.4831104,"latitude_deg":10.1045616,"altitude":16,"angle":130,"satellites":48,"speed":16,"hex_longitude":"2d966580","hex_latitude":"0605d570","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324429824001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377317485453508608,"note":"Value kept but may cause issues"} 
[2026-08-11 10:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7612983300480378880,"note":"Value kept but may cause issues"} 
[2026-08-11 10:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786423567000,"timestamp_ms":1786423567000,"timestamp_seconds":1786423567,"priority":1,"record_length":96,"hex_timestamp":"0000019fef246298"} 
[2026-08-11 10:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 10:19:26] 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-08-11 10: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-08-11 10:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:19:26] 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-08-11 10:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324429824001,"66":27919,"173":206,"79":48640,"24":16,"16":377317485453508608,"45":-7612983300480378880},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,79,24,16,45]} 
[2026-08-11 10:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324429824001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:19:26] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-11 10:19:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-08-11 10:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377317485453508608,"km_value":377317485453508.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7612983300480378880,"description":"Unknown IO ID 45"} 
[2026-08-11 10:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324429824001,"power":27919,"unknown_173":206,"unknown_79":48640,"ignition":16,"odometer":null,"unknown_45":-7612983300480378880}} 
[2026-08-11 10:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":154835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:19:26] local.INFO: GPS data processed {"connection_id":154835,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:19:26] local.INFO: Acknowledgment sent {"connection_id":154835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:19:57] local.INFO: TCP Data received {"connection_id":154835,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef26e338012d977ec006050ff0001100882f..."} 
[2026-08-11 10:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef26e338012d977ec006050ff0001100882f..."} 
[2026-08-11 10:19:57] local.INFO: Processing buffer {"connection_id":154835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef26e338012d977ec006050ff0001100882f..."} 
[2026-08-11 10:19:57] local.INFO: Packet analysis {"connection_id":154835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef26"} 
[2026-08-11 10:19:57] local.INFO: Extracted packet for processing {"connection_id":154835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef26"} 
[2026-08-11 10:19:57] local.INFO: GPS Element Parsed {"raw_longitude":764903104,"raw_latitude":100995056,"longitude_deg":76.4903104,"latitude_deg":10.0995056,"altitude":17,"angle":136,"satellites":47,"speed":38,"hex_longitude":"2d977ec0","hex_latitude":"06050ff0","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324472832001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377321746061066240,"note":"Value kept but may cause issues"} 
[2026-08-11 10:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7537266531757303808,"note":"Value kept but may cause issues"} 
[2026-08-11 10:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786423731000,"timestamp_ms":1786423731000,"timestamp_seconds":1786423731,"priority":1,"record_length":96,"hex_timestamp":"0000019fef26e338"} 
[2026-08-11 10:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 10:19:57] 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-08-11 10: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-08-11 10:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:19:57] 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-08-11 10:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324472832001,"66":27930,"171":206,"88":20992,"24":38,"16":377321746061066240,"45":-7537266531757303808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,88,24,16,45]} 
[2026-08-11 10:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324472832001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:19:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-11 10:19:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377321746061066240,"km_value":377321746061066.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7537266531757303808,"description":"Unknown IO ID 45"} 
[2026-08-11 10:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324472832001,"power":27930,"unknown_171":206,"unknown_88":20992,"ignition":38,"odometer":null,"unknown_45":-7537266531757303808}} 
[2026-08-11 10:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":154835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:19:57] local.INFO: GPS data processed {"connection_id":154835,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:19:57] local.INFO: Acknowledgment sent {"connection_id":154835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:20:19] local.INFO: TCP Data received {"connection_id":153457,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:20:19] local.INFO: Processing buffer {"connection_id":153457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:20:19] local.INFO: IMEI packet received {"connection_id":153457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":153457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:20:25] local.INFO: TCP Data received {"connection_id":153457,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:20:25] local.INFO: Processing buffer {"connection_id":153457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:20:25] local.INFO: IMEI packet received {"connection_id":153457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":153457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:20:26] local.INFO: TCP Data received {"connection_id":153457,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef270660012d9796400604f508001000882f..."} 
[2026-08-11 10:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef270660012d9796400604f508001000882f..."} 
[2026-08-11 10:20:26] local.INFO: Processing buffer {"connection_id":153457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef270660012d9796400604f508001000882f..."} 
[2026-08-11 10:20:26] local.INFO: Packet analysis {"connection_id":153457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef27"} 
[2026-08-11 10:20:26] local.INFO: Extracted packet for processing {"connection_id":153457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef27"} 
[2026-08-11 10:20:26] local.INFO: GPS Element Parsed {"raw_longitude":764909120,"raw_latitude":100988168,"longitude_deg":76.490912,"latitude_deg":10.0988168,"altitude":16,"angle":136,"satellites":47,"speed":41,"hex_longitude":"2d979640","hex_latitude":"0604f508","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324475136001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377322188442697728,"note":"Value kept but may cause issues"} 
[2026-08-11 10:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7530370394829623296,"note":"Value kept but may cause issues"} 
[2026-08-11 10:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786423740000,"timestamp_ms":1786423740000,"timestamp_seconds":1786423740,"priority":1,"record_length":96,"hex_timestamp":"0000019fef270660"} 
[2026-08-11 10:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":26,"data_length":795,"current_offset":136} 
[2026-08-11 10:20:26] 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-08-11 10: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-08-11 10:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:20:26] 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-08-11 10:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324475136001,"66":27876,"171":206,"88":20992,"24":41,"16":377322188442697728,"45":-7530370394829623296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,88,24,16,45]} 
[2026-08-11 10:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324475136001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:20:26] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-11 10:20:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377322188442697728,"km_value":377322188442697.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7530370394829623296,"description":"Unknown IO ID 45"} 
[2026-08-11 10:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324475136001,"power":27876,"unknown_171":206,"unknown_88":20992,"ignition":41,"odometer":null,"unknown_45":-7530370394829623296}} 
[2026-08-11 10:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":153457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:20:26] local.INFO: GPS data processed {"connection_id":153457,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:20:26] local.INFO: Acknowledgment sent {"connection_id":153457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:20:58] local.INFO: TCP Data received {"connection_id":153457,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef272988012d97ae400604db10001300892f..."} 
[2026-08-11 10:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef272988012d97ae400604db10001300892f..."} 
[2026-08-11 10:20:58] local.INFO: Processing buffer {"connection_id":153457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef272988012d97ae400604db10001300892f..."} 
[2026-08-11 10:20:58] local.INFO: Packet analysis {"connection_id":153457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef27"} 
[2026-08-11 10:20:58] local.INFO: Extracted packet for processing {"connection_id":153457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef27"} 
[2026-08-11 10:20:58] local.INFO: GPS Element Parsed {"raw_longitude":764915264,"raw_latitude":100981520,"longitude_deg":76.4915264,"latitude_deg":10.098152,"altitude":19,"angle":137,"satellites":47,"speed":32,"hex_longitude":"2d97ae40","hex_latitude":"0604db10","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324477440001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377322622234394624,"note":"Value kept but may cause issues"} 
[2026-08-11 10:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7523755732878686208,"note":"Value kept but may cause issues"} 
[2026-08-11 10:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786423749000,"timestamp_ms":1786423749000,"timestamp_seconds":1786423749,"priority":1,"record_length":96,"hex_timestamp":"0000019fef272988"} 
[2026-08-11 10:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 10:20:58] 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-08-11 10: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-08-11 10:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":153457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":153457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":153457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:20:58] 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-08-11 10:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324477440001,"66":27930,"171":206,"88":20992,"24":32,"16":377322622234394624,"45":-7523755732878686208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,88,24,16,45]} 
[2026-08-11 10:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324477440001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:20:58] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-11 10:20:58] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377322622234394624,"km_value":377322622234394.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7523755732878686208,"description":"Unknown IO ID 45"} 
[2026-08-11 10:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324477440001,"power":27930,"unknown_171":206,"unknown_88":20992,"ignition":32,"odometer":null,"unknown_45":-7523755732878686208}} 
[2026-08-11 10:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":153457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:20:58] local.INFO: GPS data processed {"connection_id":153457,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:20:58] local.INFO: Acknowledgment sent {"connection_id":153457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:21:23] local.INFO: TCP Data received {"connection_id":154836,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:21:23] local.INFO: Processing buffer {"connection_id":154836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:21:23] local.INFO: IMEI packet received {"connection_id":154836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":154836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:21:24] local.INFO: TCP Data received {"connection_id":154836,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:21:24] local.INFO: Processing buffer {"connection_id":154836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:21:24] local.INFO: IMEI packet received {"connection_id":154836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":154836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:21:30] local.INFO: TCP Data received {"connection_id":154836,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:21:30] local.INFO: Processing buffer {"connection_id":154836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:21:30] local.INFO: IMEI packet received {"connection_id":154836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":154836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:21:31] local.INFO: TCP Data received {"connection_id":154836,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef275868012d97c6800604c1080015008930..."} 
[2026-08-11 10:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef275868012d97c6800604c1080015008930..."} 
[2026-08-11 10:21:31] local.INFO: Processing buffer {"connection_id":154836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef275868012d97c6800604c1080015008930..."} 
[2026-08-11 10:21:31] local.INFO: Packet analysis {"connection_id":154836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef27"} 
[2026-08-11 10:21:31] local.INFO: Extracted packet for processing {"connection_id":154836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef27"} 
[2026-08-11 10:21:31] local.INFO: GPS Element Parsed {"raw_longitude":764921472,"raw_latitude":100974856,"longitude_deg":76.4921472,"latitude_deg":10.0974856,"altitude":21,"angle":137,"satellites":48,"speed":29,"hex_longitude":"2d97c680","hex_latitude":"0604c108","is_valid_coordinates":true} 
[2026-08-11 10:21: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-08-11 10:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324479744001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377323060321058816,"note":"Value kept but may cause issues"} 
[2026-08-11 10:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7517000333439332352,"note":"Value kept but may cause issues"} 
[2026-08-11 10:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786423761000,"timestamp_ms":1786423761000,"timestamp_seconds":1786423761,"priority":1,"record_length":96,"hex_timestamp":"0000019fef275868"} 
[2026-08-11 10:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:21: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 10:21:31] 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-08-11 10:21: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-08-11 10:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:21:31] 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-08-11 10:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324479744001,"66":27789,"171":206,"88":20992,"24":29,"16":377323060321058816,"45":-7517000333439332352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,88,24,16,45]} 
[2026-08-11 10:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324479744001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:21:31] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-11 10:21:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377323060321058816,"km_value":377323060321058.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7517000333439332352,"description":"Unknown IO ID 45"} 
[2026-08-11 10:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324479744001,"power":27789,"unknown_171":206,"unknown_88":20992,"ignition":29,"odometer":null,"unknown_45":-7517000333439332352}} 
[2026-08-11 10:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":154836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:21:31] local.INFO: GPS data processed {"connection_id":154836,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:21:31] local.INFO: Acknowledgment sent {"connection_id":154836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:21:35] local.INFO: TCP Data received {"connection_id":154836,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef278b30012d97df800604a5b8001a008a2f..."} 
[2026-08-11 10:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef278b30012d97df800604a5b8001a008a2f..."} 
[2026-08-11 10:21:35] local.INFO: Processing buffer {"connection_id":154836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef278b30012d97df800604a5b8001a008a2f..."} 
[2026-08-11 10:21:35] local.INFO: Packet analysis {"connection_id":154836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef27"} 
[2026-08-11 10:21:35] local.INFO: Extracted packet for processing {"connection_id":154836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef27"} 
[2026-08-11 10:21:35] local.INFO: GPS Element Parsed {"raw_longitude":764927872,"raw_latitude":100967864,"longitude_deg":76.4927872,"latitude_deg":10.0967864,"altitude":26,"angle":138,"satellites":47,"speed":28,"hex_longitude":"2d97df80","hex_latitude":"0604a5b8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324482816001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377323519882559488,"note":"Value kept but may cause issues"} 
[2026-08-11 10:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7510174565255804928,"note":"Value kept but may cause issues"} 
[2026-08-11 10:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786423774000,"timestamp_ms":1786423774000,"timestamp_seconds":1786423774,"priority":1,"record_length":96,"hex_timestamp":"0000019fef278b30"} 
[2026-08-11 10:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-11 10:21:35] 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-08-11 10: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-08-11 10:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:21:35] 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-08-11 10:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324482816001,"66":27865,"171":206,"88":20992,"24":28,"16":377323519882559488,"45":-7510174565255804928},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,88,24,16,45]} 
[2026-08-11 10:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324482816001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:21:35] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-11 10:21:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377323519882559488,"km_value":377323519882559.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7510174565255804928,"description":"Unknown IO ID 45"} 
[2026-08-11 10:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324482816001,"power":27865,"unknown_171":206,"unknown_88":20992,"ignition":28,"odometer":null,"unknown_45":-7510174565255804928}} 
[2026-08-11 10:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":154836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:21:35] local.INFO: GPS data processed {"connection_id":154836,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:21:35] local.INFO: Acknowledgment sent {"connection_id":154836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:22:19] local.INFO: TCP Data received {"connection_id":154837,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:22:19] local.INFO: Processing buffer {"connection_id":154837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:22:19] local.INFO: IMEI packet received {"connection_id":154837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":154837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:22:19] local.INFO: TCP Data received {"connection_id":154837,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:22:19] local.INFO: Processing buffer {"connection_id":154837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:22:19] local.INFO: IMEI packet received {"connection_id":154837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":154837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:22:25] local.INFO: TCP Data received {"connection_id":154837,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:22:25] local.INFO: Processing buffer {"connection_id":154837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:22:25] local.INFO: IMEI packet received {"connection_id":154837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":154837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:22:26] local.INFO: TCP Data received {"connection_id":154837,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef290230012d9897000603aad0001a008a2e..."} 
[2026-08-11 10:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef290230012d9897000603aad0001a008a2e..."} 
[2026-08-11 10:22:26] local.INFO: Processing buffer {"connection_id":154837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef290230012d9897000603aad0001a008a2e..."} 
[2026-08-11 10:22:26] local.INFO: Packet analysis {"connection_id":154837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef29"} 
[2026-08-11 10:22:26] local.INFO: Extracted packet for processing {"connection_id":154837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef29"} 
[2026-08-11 10:22:26] local.INFO: GPS Element Parsed {"raw_longitude":764974848,"raw_latitude":100903632,"longitude_deg":76.4974848,"latitude_deg":10.0903632,"altitude":26,"angle":138,"satellites":46,"speed":35,"hex_longitude":"2d989700","hex_latitude":"0603aad0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 10:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324507904001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377327411122929664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7458594275789971456,"note":"Value kept but may cause issues"} 
[2026-08-11 10:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786423870000,"timestamp_ms":1786423870000,"timestamp_seconds":1786423870,"priority":1,"record_length":96,"hex_timestamp":"0000019fef290230"} 
[2026-08-11 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-08-11 10:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 10:22: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-08-11 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-08-11 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-08-11 10:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:22:26] 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-08-11 10:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324507904001,"66":27919,"167":206,"88":20992,"24":35,"16":377327411122929664,"45":-7458594275789971456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,88,24,16,45]} 
[2026-08-11 10:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324507904001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:22:26] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 10:22:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377327411122929664,"km_value":377327411122929.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7458594275789971456,"description":"Unknown IO ID 45"} 
[2026-08-11 10:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324507904001,"power":27919,"unknown_167":206,"unknown_88":20992,"ignition":35,"odometer":null,"unknown_45":-7458594275789971456}} 
[2026-08-11 10:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":154837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:22:26] local.INFO: GPS data processed {"connection_id":154837,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:22:26] local.INFO: Acknowledgment sent {"connection_id":154837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:22:56] local.INFO: TCP Data received {"connection_id":154837,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef292940012d98aec006038ff0001a008a2d..."} 
[2026-08-11 10:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef292940012d98aec006038ff0001a008a2d..."} 
[2026-08-11 10:22:56] local.INFO: Processing buffer {"connection_id":154837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef292940012d98aec006038ff0001a008a2d..."} 
[2026-08-11 10:22:56] local.INFO: Packet analysis {"connection_id":154837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef29"} 
[2026-08-11 10:22:56] local.INFO: Extracted packet for processing {"connection_id":154837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef29"} 
[2026-08-11 10:22:56] local.INFO: GPS Element Parsed {"raw_longitude":764980928,"raw_latitude":100896752,"longitude_deg":76.4980928,"latitude_deg":10.0896752,"altitude":26,"angle":138,"satellites":45,"speed":39,"hex_longitude":"2d98aec0","hex_latitude":"06038ff0","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324510720001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377327853504561152,"note":"Value kept but may cause issues"} 
[2026-08-11 10:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7451487032629866496,"note":"Value kept but may cause issues"} 
[2026-08-11 10:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786423880000,"timestamp_ms":1786423880000,"timestamp_seconds":1786423880,"priority":1,"record_length":96,"hex_timestamp":"0000019fef292940"} 
[2026-08-11 10:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 10:22:56] 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-08-11 10: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-08-11 10:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:22:56] 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-08-11 10:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324510720001,"66":27876,"167":206,"88":20992,"24":39,"16":377327853504561152,"45":-7451487032629866496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,88,24,16,45]} 
[2026-08-11 10:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324510720001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:22:57] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 10:22:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377327853504561152,"km_value":377327853504561.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7451487032629866496,"description":"Unknown IO ID 45"} 
[2026-08-11 10:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324510720001,"power":27876,"unknown_167":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-7451487032629866496}} 
[2026-08-11 10:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":154837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:22:57] local.INFO: GPS data processed {"connection_id":154837,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:22:57] local.INFO: Acknowledgment sent {"connection_id":154837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:23:19] local.INFO: TCP Data received {"connection_id":152117,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:23:19] local.INFO: Processing buffer {"connection_id":152117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:23:19] local.INFO: IMEI packet received {"connection_id":152117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":152117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:23:20] local.INFO: TCP Data received {"connection_id":152117,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:23:20] local.INFO: Processing buffer {"connection_id":152117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:23:20] local.INFO: IMEI packet received {"connection_id":152117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":152117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:23:25] local.INFO: TCP Data received {"connection_id":152117,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:23:25] local.INFO: Processing buffer {"connection_id":152117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:23:25] local.INFO: IMEI packet received {"connection_id":152117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":152117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:23:26] local.INFO: TCP Data received {"connection_id":152117,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef295050012d98c700060375c8001b008b2c..."} 
[2026-08-11 10:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef295050012d98c700060375c8001b008b2c..."} 
[2026-08-11 10:23:26] local.INFO: Processing buffer {"connection_id":152117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef295050012d98c700060375c8001b008b2c..."} 
[2026-08-11 10:23:26] local.INFO: Packet analysis {"connection_id":152117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef29"} 
[2026-08-11 10:23:26] local.INFO: Extracted packet for processing {"connection_id":152117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef29"} 
[2026-08-11 10:23:26] local.INFO: GPS Element Parsed {"raw_longitude":764987136,"raw_latitude":100890056,"longitude_deg":76.4987136,"latitude_deg":10.0890056,"altitude":27,"angle":139,"satellites":44,"speed":31,"hex_longitude":"2d98c700","hex_latitude":"060375c8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324513280001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377328291591225344,"note":"Value kept but may cause issues"} 
[2026-08-11 10:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7444802001934749696,"note":"Value kept but may cause issues"} 
[2026-08-11 10:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786423890000,"timestamp_ms":1786423890000,"timestamp_seconds":1786423890,"priority":1,"record_length":96,"hex_timestamp":"0000019fef295050"} 
[2026-08-11 10:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 10:23:26] 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-08-11 10: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-08-11 10:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:23:26] 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-08-11 10:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324513280001,"66":27908,"167":206,"88":20992,"24":31,"16":377328291591225344,"45":-7444802001934749696},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,88,24,16,45]} 
[2026-08-11 10:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324513280001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:23:26] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 10:23:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377328291591225344,"km_value":377328291591225.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7444802001934749696,"description":"Unknown IO ID 45"} 
[2026-08-11 10:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324513280001,"power":27908,"unknown_167":206,"unknown_88":20992,"ignition":31,"odometer":null,"unknown_45":-7444802001934749696}} 
[2026-08-11 10:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":152117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:23:26] local.INFO: GPS data processed {"connection_id":152117,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:23:26] local.INFO: Acknowledgment sent {"connection_id":152117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:23:57] local.INFO: TCP Data received {"connection_id":152117,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef2aabf8012d99774006026c18001b00a230..."} 
[2026-08-11 10:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef2aabf8012d99774006026c18001b00a230..."} 
[2026-08-11 10:23:57] local.INFO: Processing buffer {"connection_id":152117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef2aabf8012d99774006026c18001b00a230..."} 
[2026-08-11 10:23:57] local.INFO: Packet analysis {"connection_id":152117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef2a"} 
[2026-08-11 10:23:57] local.INFO: Extracted packet for processing {"connection_id":152117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef2a"} 
[2026-08-11 10:23:57] local.INFO: GPS Element Parsed {"raw_longitude":765032256,"raw_latitude":100822040,"longitude_deg":76.5032256,"latitude_deg":10.082204,"altitude":27,"angle":162,"satellites":48,"speed":42,"hex_longitude":"2d997740","hex_latitude":"06026c18","is_valid_coordinates":true} 
[2026-08-11 10:23: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-08-11 10:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324536320001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377332376105123840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7391814337585778688,"note":"Value kept but may cause issues"} 
[2026-08-11 10:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786423979000,"timestamp_ms":1786423979000,"timestamp_seconds":1786423979,"priority":1,"record_length":96,"hex_timestamp":"0000019fef2aabf8"} 
[2026-08-11 10:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:23: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-08-11 10:23: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-08-11 10:23: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-08-11 10:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:23:57] 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-08-11 10:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324536320001,"66":27832,"166":206,"88":20992,"24":42,"16":377332376105123840,"45":-7391814337585778688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,88,24,16,45]} 
[2026-08-11 10:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324536320001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:23:57] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-11 10:23:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377332376105123840,"km_value":377332376105123.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7391814337585778688,"description":"Unknown IO ID 45"} 
[2026-08-11 10:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324536320001,"power":27832,"unknown_166":206,"unknown_88":20992,"ignition":42,"odometer":null,"unknown_45":-7391814337585778688}} 
[2026-08-11 10:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":152117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:23:57] local.INFO: GPS data processed {"connection_id":152117,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:23:57] local.INFO: Acknowledgment sent {"connection_id":152117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:24:20] local.INFO: TCP Data received {"connection_id":154838,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:24:20] local.INFO: Processing buffer {"connection_id":154838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:24:20] local.INFO: IMEI packet received {"connection_id":154838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":154838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:24:20] local.INFO: TCP Data received {"connection_id":154838,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:24:20] local.INFO: Processing buffer {"connection_id":154838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:24:20] local.INFO: IMEI packet received {"connection_id":154838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":154838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:24:25] local.INFO: TCP Data received {"connection_id":154838,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:24:25] local.INFO: Processing buffer {"connection_id":154838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:24:25] local.INFO: IMEI packet received {"connection_id":154838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":154838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:24:26] local.INFO: TCP Data received {"connection_id":154838,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef2acf20012d998300060249a8001b00a22e..."} 
[2026-08-11 10:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef2acf20012d998300060249a8001b00a22e..."} 
[2026-08-11 10:24:26] local.INFO: Processing buffer {"connection_id":154838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef2acf20012d998300060249a8001b00a22e..."} 
[2026-08-11 10:24:26] local.INFO: Packet analysis {"connection_id":154838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef2a"} 
[2026-08-11 10:24:26] local.INFO: Extracted packet for processing {"connection_id":154838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef2a"} 
[2026-08-11 10:24:26] local.INFO: GPS Element Parsed {"raw_longitude":765035264,"raw_latitude":100813224,"longitude_deg":76.5035264,"latitude_deg":10.0813224,"altitude":27,"angle":162,"satellites":46,"speed":39,"hex_longitude":"2d998300","hex_latitude":"060249a8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324538624001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377332827076689920,"note":"Value kept but may cause issues"} 
[2026-08-11 10:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7388366269123389440,"note":"Value kept but may cause issues"} 
[2026-08-11 10:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786423988000,"timestamp_ms":1786423988000,"timestamp_seconds":1786423988,"priority":1,"record_length":96,"hex_timestamp":"0000019fef2acf20"} 
[2026-08-11 10:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 10:24:26] 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-08-11 10: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-08-11 10:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:24:26] 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-08-11 10:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324538624001,"66":27745,"166":206,"88":20992,"24":39,"16":377332827076689920,"45":-7388366269123389440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,88,24,16,45]} 
[2026-08-11 10:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324538624001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:24:26] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-11 10:24:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377332827076689920,"km_value":377332827076689.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7388366269123389440,"description":"Unknown IO ID 45"} 
[2026-08-11 10:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324538624001,"power":27745,"unknown_166":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-7388366269123389440}} 
[2026-08-11 10:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":154838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:24:26] local.INFO: GPS data processed {"connection_id":154838,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:24:26] local.INFO: Acknowledgment sent {"connection_id":154838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:24:57] local.INFO: TCP Data received {"connection_id":154838,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef2af630012d998f40060225f0001b00a12e..."} 
[2026-08-11 10:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef2af630012d998f40060225f0001b00a12e..."} 
[2026-08-11 10:24:57] local.INFO: Processing buffer {"connection_id":154838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef2af630012d998f40060225f0001b00a12e..."} 
[2026-08-11 10:24:57] local.INFO: Packet analysis {"connection_id":154838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef2a"} 
[2026-08-11 10:24:57] local.INFO: Extracted packet for processing {"connection_id":154838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef2a"} 
[2026-08-11 10:24:57] local.INFO: GPS Element Parsed {"raw_longitude":765038400,"raw_latitude":100804080,"longitude_deg":76.50384,"latitude_deg":10.080408,"altitude":27,"angle":161,"satellites":46,"speed":39,"hex_longitude":"2d998f40","hex_latitude":"060225f0","is_valid_coordinates":true} 
[2026-08-11 10:24: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-08-11 10:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324540928001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377333295228125184,"note":"Value kept but may cause issues"} 
[2026-08-11 10:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7385058938149296128,"note":"Value kept but may cause issues"} 
[2026-08-11 10:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786423998000,"timestamp_ms":1786423998000,"timestamp_seconds":1786423998,"priority":1,"record_length":96,"hex_timestamp":"0000019fef2af630"} 
[2026-08-11 10:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:24: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":97,"data_length":795,"current_offset":136} 
[2026-08-11 10:24:57] 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-08-11 10:24: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-08-11 10:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:24:57] 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-08-11 10:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324540928001,"66":27995,"166":206,"88":20992,"24":39,"16":377333295228125184,"45":-7385058938149296128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,88,24,16,45]} 
[2026-08-11 10:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324540928001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:24:57] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-11 10:24:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377333295228125184,"km_value":377333295228125.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7385058938149296128,"description":"Unknown IO ID 45"} 
[2026-08-11 10:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324540928001,"power":27995,"unknown_166":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-7385058938149296128}} 
[2026-08-11 10:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":154838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:24:57] local.INFO: GPS data processed {"connection_id":154838,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:24:57] local.INFO: Acknowledgment sent {"connection_id":154838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:25:20] local.INFO: TCP Data received {"connection_id":152118,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:25:20] local.INFO: Processing buffer {"connection_id":152118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:25:20] local.INFO: IMEI packet received {"connection_id":152118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":152118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:25:24] local.INFO: TCP Data received {"connection_id":152118,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:25:24] local.INFO: Processing buffer {"connection_id":152118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:25:24] local.INFO: IMEI packet received {"connection_id":152118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":152118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:25:25] local.INFO: TCP Data received {"connection_id":152118,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef2b1958012d999a00060203b8001a00a22c..."} 
[2026-08-11 10:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef2b1958012d999a00060203b8001a00a22c..."} 
[2026-08-11 10:25:25] local.INFO: Processing buffer {"connection_id":152118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef2b1958012d999a00060203b8001a00a22c..."} 
[2026-08-11 10:25:25] local.INFO: Packet analysis {"connection_id":152118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef2b"} 
[2026-08-11 10:25:25] local.INFO: Extracted packet for processing {"connection_id":152118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef2b"} 
[2026-08-11 10:25:25] local.INFO: GPS Element Parsed {"raw_longitude":765041152,"raw_latitude":100795320,"longitude_deg":76.5041152,"latitude_deg":10.079532,"altitude":26,"angle":162,"satellites":44,"speed":42,"hex_longitude":"2d999a00","hex_latitude":"060203b8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324543488001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377333737609756672,"note":"Value kept but may cause issues"} 
[2026-08-11 10:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7381610869686931456,"note":"Value kept but may cause issues"} 
[2026-08-11 10:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786424007000,"timestamp_ms":1786424007000,"timestamp_seconds":1786424007,"priority":1,"record_length":96,"hex_timestamp":"0000019fef2b1958"} 
[2026-08-11 10:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 10:25:25] 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-08-11 10: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-08-11 10:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:25:25] 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-08-11 10:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324543488001,"66":27919,"166":206,"88":20992,"24":42,"16":377333737609756672,"45":-7381610869686931456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,88,24,16,45]} 
[2026-08-11 10:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324543488001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:25:25] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-11 10:25:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377333737609756672,"km_value":377333737609756.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7381610869686931456,"description":"Unknown IO ID 45"} 
[2026-08-11 10:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324543488001,"power":27919,"unknown_166":206,"unknown_88":20992,"ignition":42,"odometer":null,"unknown_45":-7381610869686931456}} 
[2026-08-11 10:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":152118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:25:25] local.INFO: GPS data processed {"connection_id":152118,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:25:25] local.INFO: Acknowledgment sent {"connection_id":152118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:25:56] local.INFO: TCP Data received {"connection_id":152118,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef2b34b0012d99a5c00601e748001900962c..."} 
[2026-08-11 10:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef2b34b0012d99a5c00601e748001900962c..."} 
[2026-08-11 10:25:56] local.INFO: Processing buffer {"connection_id":152118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef2b34b0012d99a5c00601e748001900962c..."} 
[2026-08-11 10:25:56] local.INFO: Packet analysis {"connection_id":152118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef2b"} 
[2026-08-11 10:25:56] local.INFO: Extracted packet for processing {"connection_id":152118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef2b"} 
[2026-08-11 10:25:56] local.INFO: GPS Element Parsed {"raw_longitude":765044160,"raw_latitude":100788040,"longitude_deg":76.504416,"latitude_deg":10.078804,"altitude":25,"angle":150,"satellites":44,"speed":46,"hex_longitude":"2d99a5c0","hex_latitude":"0601e748","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324545792001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377334119861846016,"note":"Value kept but may cause issues"} 
[2026-08-11 10:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7378585013689534464,"note":"Value kept but may cause issues"} 
[2026-08-11 10:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786424014000,"timestamp_ms":1786424014000,"timestamp_seconds":1786424014,"priority":1,"record_length":96,"hex_timestamp":"0000019fef2b34b0"} 
[2026-08-11 10:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 10:25:56] 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-08-11 10: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-08-11 10:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:25:56] 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-08-11 10:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324545792001,"66":27995,"166":206,"88":20992,"24":46,"16":377334119861846016,"45":-7378585013689534464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,88,24,16,45]} 
[2026-08-11 10:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324545792001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:25:56] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-11 10:25:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377334119861846016,"km_value":377334119861846.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7378585013689534464,"description":"Unknown IO ID 45"} 
[2026-08-11 10:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324545792001,"power":27995,"unknown_166":206,"unknown_88":20992,"ignition":46,"odometer":null,"unknown_45":-7378585013689534464}} 
[2026-08-11 10:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":152118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:25:56] local.INFO: GPS data processed {"connection_id":152118,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:25:56] local.INFO: Acknowledgment sent {"connection_id":152118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:26:19] local.INFO: TCP Data received {"connection_id":152119,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:26:19] local.INFO: Processing buffer {"connection_id":152119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:26:19] local.INFO: IMEI packet received {"connection_id":152119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":152119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:26:25] local.INFO: TCP Data received {"connection_id":152119,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:26:25] local.INFO: Processing buffer {"connection_id":152119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:26:25] local.INFO: IMEI packet received {"connection_id":152119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":152119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:26:26] local.INFO: TCP Data received {"connection_id":152119,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef2cabb0012d9aa4800600c8180019006d2e..."} 
[2026-08-11 10:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef2cabb0012d9aa4800600c8180019006d2e..."} 
[2026-08-11 10:26:26] local.INFO: Processing buffer {"connection_id":152119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef2cabb0012d9aa4800600c8180019006d2e..."} 
[2026-08-11 10:26:26] local.INFO: Packet analysis {"connection_id":152119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef2c"} 
[2026-08-11 10:26:26] local.INFO: Extracted packet for processing {"connection_id":152119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef2c"} 
[2026-08-11 10:26:26] local.INFO: GPS Element Parsed {"raw_longitude":765109376,"raw_latitude":100714520,"longitude_deg":76.5109376,"latitude_deg":10.071452,"altitude":25,"angle":109,"satellites":46,"speed":38,"hex_longitude":"2d9aa480","hex_latitude":"0600c818","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324570624001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377338921635282944,"note":"Value kept but may cause issues"} 
[2026-08-11 10:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7308919956973699072,"note":"Value kept but may cause issues"} 
[2026-08-11 10:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786424110000,"timestamp_ms":1786424110000,"timestamp_seconds":1786424110,"priority":1,"record_length":96,"hex_timestamp":"0000019fef2cabb0"} 
[2026-08-11 10:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 10:26: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-08-11 10: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-08-11 10:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:26:26] 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-08-11 10:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324570624001,"66":27908,"78":206,"88":20992,"24":38,"16":377338921635282944,"45":-7308919956973699072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,88,24,16,45]} 
[2026-08-11 10:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324570624001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:26:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-11 10:26:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377338921635282944,"km_value":377338921635282.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7308919956973699072,"description":"Unknown IO ID 45"} 
[2026-08-11 10:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324570624001,"power":27908,"unknown_78":206,"unknown_88":20992,"ignition":38,"odometer":null,"unknown_45":-7308919956973699072}} 
[2026-08-11 10:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":152119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:26:26] local.INFO: GPS data processed {"connection_id":152119,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:26:26] local.INFO: Acknowledgment sent {"connection_id":152119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:26:58] local.INFO: TCP Data received {"connection_id":152119,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef2cced8012d9ac9c00600bdf8001900702e..."} 
[2026-08-11 10:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef2cced8012d9ac9c00600bdf8001900702e..."} 
[2026-08-11 10:26:58] local.INFO: Processing buffer {"connection_id":152119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef2cced8012d9ac9c00600bdf8001900702e..."} 
[2026-08-11 10:26:58] local.INFO: Packet analysis {"connection_id":152119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef2c"} 
[2026-08-11 10:26:58] local.INFO: Extracted packet for processing {"connection_id":152119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef2c"} 
[2026-08-11 10:26:58] local.INFO: GPS Element Parsed {"raw_longitude":765118912,"raw_latitude":100711928,"longitude_deg":76.5118912,"latitude_deg":10.0711928,"altitude":25,"angle":112,"satellites":46,"speed":44,"hex_longitude":"2d9ac9c0","hex_latitude":"0600bdf8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324572160001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377339394081685504,"note":"Value kept but may cause issues"} 
[2026-08-11 10:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303571932416829440,"note":"Value kept but may cause issues"} 
[2026-08-11 10:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786424119000,"timestamp_ms":1786424119000,"timestamp_seconds":1786424119,"priority":1,"record_length":96,"hex_timestamp":"0000019fef2cced8"} 
[2026-08-11 10:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:26:58] 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-08-11 10: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-08-11 10:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:26:58] 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-08-11 10:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324572160001,"66":27876,"78":206,"88":20992,"24":44,"16":377339394081685504,"45":-7303571932416829440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,88,24,16,45]} 
[2026-08-11 10:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324572160001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:26:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-11 10:26:58] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377339394081685504,"km_value":377339394081685.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303571932416829440,"description":"Unknown IO ID 45"} 
[2026-08-11 10:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324572160001,"power":27876,"unknown_78":206,"unknown_88":20992,"ignition":44,"odometer":null,"unknown_45":-7303571932416829440}} 
[2026-08-11 10:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":152119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:26:58] local.INFO: GPS data processed {"connection_id":152119,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:26:58] local.INFO: Acknowledgment sent {"connection_id":152119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:27:19] local.INFO: TCP Data received {"connection_id":153458,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:27:19] local.INFO: Processing buffer {"connection_id":153458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:27:19] local.INFO: IMEI packet received {"connection_id":153458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":153458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:27:22] local.INFO: TCP Data received {"connection_id":153458,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:27:22] local.INFO: Processing buffer {"connection_id":153458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:27:22] local.INFO: IMEI packet received {"connection_id":153458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":153458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:27:25] local.INFO: TCP Data received {"connection_id":153458,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:27:25] local.INFO: Processing buffer {"connection_id":153458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:27:25] local.INFO: IMEI packet received {"connection_id":153458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":153458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:27:26] local.INFO: TCP Data received {"connection_id":153458,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef2cf200012d9aeb000600adb8001900722c..."} 
[2026-08-11 10:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef2cf200012d9aeb000600adb8001900722c..."} 
[2026-08-11 10:27:26] local.INFO: Processing buffer {"connection_id":153458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef2cf200012d9aeb000600adb8001900722c..."} 
[2026-08-11 10:27:26] local.INFO: Packet analysis {"connection_id":153458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef2c"} 
[2026-08-11 10:27:26] local.INFO: Extracted packet for processing {"connection_id":153458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef2c"} 
[2026-08-11 10:27:26] local.INFO: GPS Element Parsed {"raw_longitude":765127424,"raw_latitude":100707768,"longitude_deg":76.5127424,"latitude_deg":10.0707768,"altitude":25,"angle":114,"satellites":44,"speed":35,"hex_longitude":"2d9aeb00","hex_latitude":"0600adb8","is_valid_coordinates":true} 
[2026-08-11 10:27: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-08-11 10:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324574464001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377339845053251584,"note":"Value kept but may cause issues"} 
[2026-08-11 10:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7293086989535021056,"note":"Value kept but may cause issues"} 
[2026-08-11 10:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786424128000,"timestamp_ms":1786424128000,"timestamp_seconds":1786424128,"priority":1,"record_length":96,"hex_timestamp":"0000019fef2cf200"} 
[2026-08-11 10:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:27: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":228,"data_length":795,"current_offset":136} 
[2026-08-11 10:27:26] 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-08-11 10:27: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-08-11 10:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:27:26] 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-08-11 10:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324574464001,"66":27930,"78":206,"88":20992,"24":35,"16":377339845053251584,"45":-7293086989535021056},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,88,24,16,45]} 
[2026-08-11 10:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324574464001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:27:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-11 10:27:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377339845053251584,"km_value":377339845053251.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7293086989535021056,"description":"Unknown IO ID 45"} 
[2026-08-11 10:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324574464001,"power":27930,"unknown_78":206,"unknown_88":20992,"ignition":35,"odometer":null,"unknown_45":-7293086989535021056}} 
[2026-08-11 10:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":153458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:27:26] local.INFO: GPS data processed {"connection_id":153458,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:27:26] local.INFO: Acknowledgment sent {"connection_id":153458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:27:57] local.INFO: TCP Data received {"connection_id":153458,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef2d20e0012d9b0c4006009d90001800782e..."} 
[2026-08-11 10:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef2d20e0012d9b0c4006009d90001800782e..."} 
[2026-08-11 10:27:57] local.INFO: Processing buffer {"connection_id":153458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef2d20e0012d9b0c4006009d90001800782e..."} 
[2026-08-11 10:27:57] local.INFO: Packet analysis {"connection_id":153458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef2d"} 
[2026-08-11 10:27:57] local.INFO: Extracted packet for processing {"connection_id":153458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef2d"} 
[2026-08-11 10:27:57] local.INFO: GPS Element Parsed {"raw_longitude":765135936,"raw_latitude":100703632,"longitude_deg":76.5135936,"latitude_deg":10.0703632,"altitude":24,"angle":120,"satellites":46,"speed":30,"hex_longitude":"2d9b0c40","hex_latitude":"06009d90","is_valid_coordinates":true} 
[2026-08-11 10:27: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-08-11 10:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324576768001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377340300319784960,"note":"Value kept but may cause issues"} 
[2026-08-11 10:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7283727946560456704,"note":"Value kept but may cause issues"} 
[2026-08-11 10:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786424140000,"timestamp_ms":1786424140000,"timestamp_seconds":1786424140,"priority":1,"record_length":96,"hex_timestamp":"0000019fef2d20e0"} 
[2026-08-11 10:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:27: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":26,"data_length":795,"current_offset":136} 
[2026-08-11 10:27:57] 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-08-11 10:27: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-08-11 10:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:27:57] 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-08-11 10:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324576768001,"66":27930,"78":206,"88":20992,"24":30,"16":377340300319784960,"45":-7283727946560456704},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,88,24,16,45]} 
[2026-08-11 10:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324576768001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:27:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-11 10:27:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377340300319784960,"km_value":377340300319784.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7283727946560456704,"description":"Unknown IO ID 45"} 
[2026-08-11 10:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324576768001,"power":27930,"unknown_78":206,"unknown_88":20992,"ignition":30,"odometer":null,"unknown_45":-7283727946560456704}} 
[2026-08-11 10:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":153458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:27:57] local.INFO: GPS data processed {"connection_id":153458,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:27:57] local.INFO: Acknowledgment sent {"connection_id":153458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:28:25] local.INFO: TCP Data received {"connection_id":154839,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:28:25] local.INFO: Processing buffer {"connection_id":154839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:28:25] local.INFO: IMEI packet received {"connection_id":154839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":154839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:28:25] local.INFO: TCP Data received {"connection_id":154839,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:28:25] local.INFO: Processing buffer {"connection_id":154839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:28:25] local.INFO: IMEI packet received {"connection_id":154839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":154839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:28:30] local.INFO: TCP Data received {"connection_id":154839,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:28:30] local.INFO: Processing buffer {"connection_id":154839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:28:30] local.INFO: IMEI packet received {"connection_id":154839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":154839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:28:30] local.INFO: TCP Data received {"connection_id":154839,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef2ecaa8012d9bf84005ffbca0002300812d..."} 
[2026-08-11 10:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef2ecaa8012d9bf84005ffbca0002300812d..."} 
[2026-08-11 10:28:30] local.INFO: Processing buffer {"connection_id":154839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef2ecaa8012d9bf84005ffbca0002300812d..."} 
[2026-08-11 10:28:30] local.INFO: Packet analysis {"connection_id":154839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef2e"} 
[2026-08-11 10:28:30] local.INFO: Extracted packet for processing {"connection_id":154839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef2e"} 
[2026-08-11 10:28:30] local.INFO: GPS Element Parsed {"raw_longitude":765196352,"raw_latitude":100646048,"longitude_deg":76.5196352,"latitude_deg":10.0646048,"altitude":35,"angle":129,"satellites":45,"speed":27,"hex_longitude":"2d9bf840","hex_latitude":"05ffbca0","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324603904001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377344397718585344,"note":"Value kept but may cause issues"} 
[2026-08-11 10:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7215822108443373568,"note":"Value kept but may cause issues"} 
[2026-08-11 10:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786424249000,"timestamp_ms":1786424249000,"timestamp_seconds":1786424249,"priority":1,"record_length":96,"hex_timestamp":"0000019fef2ecaa8"} 
[2026-08-11 10:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 10:28:30] 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-08-11 10: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-08-11 10:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:28:30] 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-08-11 10:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324603904001,"66":27930,"31":206,"88":20992,"24":27,"16":377344397718585344,"45":-7215822108443373568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,88,24,16,45]} 
[2026-08-11 10:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324603904001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:28:30] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-11 10:28:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377344397718585344,"km_value":377344397718585.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7215822108443373568,"description":"Unknown IO ID 45"} 
[2026-08-11 10:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324603904001,"power":27930,"unknown_31":206,"unknown_88":20992,"ignition":27,"odometer":null,"unknown_45":-7215822108443373568}} 
[2026-08-11 10:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":154839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:28:30] local.INFO: GPS data processed {"connection_id":154839,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:28:30] local.INFO: Acknowledgment sent {"connection_id":154839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:28:35] local.INFO: TCP Data received {"connection_id":154839,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef2efd70012d9c150005ffa688002300832c..."} 
[2026-08-11 10:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef2efd70012d9c150005ffa688002300832c..."} 
[2026-08-11 10:28:35] local.INFO: Processing buffer {"connection_id":154839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef2efd70012d9c150005ffa688002300832c..."} 
[2026-08-11 10:28:35] local.INFO: Packet analysis {"connection_id":154839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef2e"} 
[2026-08-11 10:28:35] local.INFO: Extracted packet for processing {"connection_id":154839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef2e"} 
[2026-08-11 10:28:35] local.INFO: GPS Element Parsed {"raw_longitude":765203712,"raw_latitude":100640392,"longitude_deg":76.5203712,"latitude_deg":10.0640392,"altitude":35,"angle":131,"satellites":44,"speed":28,"hex_longitude":"2d9c1500","hex_latitude":"05ffa688","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324607744001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377344844395184128,"note":"Value kept but may cause issues"} 
[2026-08-11 10:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7207940809096912896,"note":"Value kept but may cause issues"} 
[2026-08-11 10:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786424262000,"timestamp_ms":1786424262000,"timestamp_seconds":1786424262,"priority":1,"record_length":96,"hex_timestamp":"0000019fef2efd70"} 
[2026-08-11 10:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 10:28: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-08-11 10: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-08-11 10:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:28:35] 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-08-11 10:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324607744001,"66":27974,"31":206,"88":20992,"24":28,"16":377344844395184128,"45":-7207940809096912896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,88,24,16,45]} 
[2026-08-11 10:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324607744001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:28:35] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-11 10:28:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377344844395184128,"km_value":377344844395184.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7207940809096912896,"description":"Unknown IO ID 45"} 
[2026-08-11 10:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324607744001,"power":27974,"unknown_31":206,"unknown_88":20992,"ignition":28,"odometer":null,"unknown_45":-7207940809096912896}} 
[2026-08-11 10:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":154839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:28:35] local.INFO: GPS data processed {"connection_id":154839,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:28:35] local.INFO: Acknowledgment sent {"connection_id":154839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:29:20] local.INFO: TCP Data received {"connection_id":152120,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:29:20] local.INFO: Processing buffer {"connection_id":152120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:29:20] local.INFO: IMEI packet received {"connection_id":152120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":152120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:29:23] local.INFO: TCP Data received {"connection_id":152120,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:29:23] local.INFO: Processing buffer {"connection_id":152120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:29:23] local.INFO: IMEI packet received {"connection_id":152120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":152120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:29:24] local.INFO: TCP Data received {"connection_id":152120,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef2f10f8012d9c1fc005ff9ab00025008f2d..."} 
[2026-08-11 10:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef2f10f8012d9c1fc005ff9ab00025008f2d..."} 
[2026-08-11 10:29:24] local.INFO: Processing buffer {"connection_id":152120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef2f10f8012d9c1fc005ff9ab00025008f2d..."} 
[2026-08-11 10:29:24] local.INFO: Packet analysis {"connection_id":152120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef2f"} 
[2026-08-11 10:29:24] local.INFO: Extracted packet for processing {"connection_id":152120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef2f"} 
[2026-08-11 10:29:24] local.INFO: GPS Element Parsed {"raw_longitude":765206464,"raw_latitude":100637360,"longitude_deg":76.5206464,"latitude_deg":10.063736,"altitude":37,"angle":143,"satellites":45,"speed":33,"hex_longitude":"2d9c1fc0","hex_latitude":"05ff9ab0","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324611072001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377345037668712448,"note":"Value kept but may cause issues"} 
[2026-08-11 10:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7199848403517929472,"note":"Value kept but may cause issues"} 
[2026-08-11 10:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786424267000,"timestamp_ms":1786424267000,"timestamp_seconds":1786424267,"priority":1,"record_length":96,"hex_timestamp":"0000019fef2f10f8"} 
[2026-08-11 10:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 10:29:24] 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-08-11 10: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-08-11 10:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:29:24] 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-08-11 10:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324611072001,"66":27843,"31":206,"88":20992,"24":33,"16":377345037668712448,"45":-7199848403517929472},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,88,24,16,45]} 
[2026-08-11 10:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324611072001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:29:24] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-11 10:29:24] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377345037668712448,"km_value":377345037668712.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7199848403517929472,"description":"Unknown IO ID 45"} 
[2026-08-11 10:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324611072001,"power":27843,"unknown_31":206,"unknown_88":20992,"ignition":33,"odometer":null,"unknown_45":-7199848403517929472}} 
[2026-08-11 10:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":152120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:29:24] local.INFO: GPS data processed {"connection_id":152120,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:29:24] local.INFO: Acknowledgment sent {"connection_id":152120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:29:55] local.INFO: TCP Data received {"connection_id":152120,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef301e80012d9cd3c005fed788001c005e2e..."} 
[2026-08-11 10:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef301e80012d9cd3c005fed788001c005e2e..."} 
[2026-08-11 10:29:55] local.INFO: Processing buffer {"connection_id":152120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef301e80012d9cd3c005fed788001c005e2e..."} 
[2026-08-11 10:29:55] local.INFO: Packet analysis {"connection_id":152120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef30"} 
[2026-08-11 10:29:55] local.INFO: Extracted packet for processing {"connection_id":152120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef30"} 
[2026-08-11 10:29:55] local.INFO: GPS Element Parsed {"raw_longitude":765252544,"raw_latitude":100587400,"longitude_deg":76.5252544,"latitude_deg":10.05874,"altitude":28,"angle":94,"satellites":46,"speed":41,"hex_longitude":"2d9cd3c0","hex_latitude":"05fed788","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324629504001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377348387743203328,"note":"Value kept but may cause issues"} 
[2026-08-11 10:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7148408851537541120,"note":"Value kept but may cause issues"} 
[2026-08-11 10:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786424336000,"timestamp_ms":1786424336000,"timestamp_seconds":1786424336,"priority":1,"record_length":96,"hex_timestamp":"0000019fef301e80"} 
[2026-08-11 10:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 10:29:55] 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-08-11 10: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-08-11 10:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:29:55] 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-08-11 10:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324629504001,"66":27832,"29":206,"88":20992,"24":41,"16":377348387743203328,"45":-7148408851537541120},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,88,24,16,45]} 
[2026-08-11 10:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324629504001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:29:55] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 10:29:55] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377348387743203328,"km_value":377348387743203.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7148408851537541120,"description":"Unknown IO ID 45"} 
[2026-08-11 10:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324629504001,"power":27832,"unknown_29":206,"unknown_88":20992,"ignition":41,"odometer":null,"unknown_45":-7148408851537541120}} 
[2026-08-11 10:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":152120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:29:55] local.INFO: GPS data processed {"connection_id":152120,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:29:55] local.INFO: Acknowledgment sent {"connection_id":152120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:30:20] local.INFO: TCP Data received {"connection_id":153459,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:30:20] local.INFO: Processing buffer {"connection_id":153459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:30:20] local.INFO: IMEI packet received {"connection_id":153459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":153459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:30:24] local.INFO: TCP Data received {"connection_id":153459,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:30:24] local.INFO: Processing buffer {"connection_id":153459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:30:24] local.INFO: IMEI packet received {"connection_id":153459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":153459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:30:25] local.INFO: TCP Data received {"connection_id":153459,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3041a8012d9cf84005fed798001a00562d..."} 
[2026-08-11 10:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3041a8012d9cf84005fed798001a00562d..."} 
[2026-08-11 10:30:25] local.INFO: Processing buffer {"connection_id":153459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3041a8012d9cf84005fed798001a00562d..."} 
[2026-08-11 10:30:25] local.INFO: Packet analysis {"connection_id":153459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef30"} 
[2026-08-11 10:30:25] local.INFO: Extracted packet for processing {"connection_id":153459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef30"} 
[2026-08-11 10:30:25] local.INFO: GPS Element Parsed {"raw_longitude":765261888,"raw_latitude":100587416,"longitude_deg":76.5261888,"latitude_deg":10.0587416,"altitude":26,"angle":86,"satellites":45,"speed":39,"hex_longitude":"2d9cf840","hex_latitude":"05fed798","is_valid_coordinates":true} 
[2026-08-11 10:30: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-08-11 10:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324630016001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377348834419802112,"note":"Value kept but may cause issues"} 
[2026-08-11 10:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146157051723937792,"note":"Value kept but may cause issues"} 
[2026-08-11 10:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786424345000,"timestamp_ms":1786424345000,"timestamp_seconds":1786424345,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3041a8"} 
[2026-08-11 10:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:30: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 10:30:25] 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-08-11 10:30: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-08-11 10:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:30:25] 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-08-11 10:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324630016001,"66":27919,"29":206,"88":20992,"24":39,"16":377348834419802112,"45":-7146157051723937792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,88,24,16,45]} 
[2026-08-11 10:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324630016001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:30:25] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 10:30:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377348834419802112,"km_value":377348834419802.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146157051723937792,"description":"Unknown IO ID 45"} 
[2026-08-11 10:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324630016001,"power":27919,"unknown_29":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-7146157051723937792}} 
[2026-08-11 10:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":153459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:30:25] local.INFO: GPS data processed {"connection_id":153459,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:30:25] local.INFO: Acknowledgment sent {"connection_id":153459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:30:56] local.INFO: TCP Data received {"connection_id":153459,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3060e8012d9d15c005fed908001800612f..."} 
[2026-08-11 10:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3060e8012d9d15c005fed908001800612f..."} 
[2026-08-11 10:30:56] local.INFO: Processing buffer {"connection_id":153459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3060e8012d9d15c005fed908001800612f..."} 
[2026-08-11 10:30:56] local.INFO: Packet analysis {"connection_id":153459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef30"} 
[2026-08-11 10:30:56] local.INFO: Extracted packet for processing {"connection_id":153459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef30"} 
[2026-08-11 10:30:56] local.INFO: GPS Element Parsed {"raw_longitude":765269440,"raw_latitude":100587784,"longitude_deg":76.526944,"latitude_deg":10.0587784,"altitude":24,"angle":97,"satellites":47,"speed":34,"hex_longitude":"2d9d15c0","hex_latitude":"05fed908","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324632320001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377349195197054976,"note":"Value kept but may cause issues"} 
[2026-08-11 10:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7135883215073994752,"note":"Value kept but may cause issues"} 
[2026-08-11 10:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786424353000,"timestamp_ms":1786424353000,"timestamp_seconds":1786424353,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3060e8"} 
[2026-08-11 10:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 10:30:56] 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-08-11 10: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-08-11 10:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:30:56] 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-08-11 10:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324632320001,"66":27919,"29":206,"88":20992,"24":34,"16":377349195197054976,"45":-7135883215073994752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,88,24,16,45]} 
[2026-08-11 10:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324632320001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:30:56] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 10:30:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377349195197054976,"km_value":377349195197055.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7135883215073994752,"description":"Unknown IO ID 45"} 
[2026-08-11 10:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324632320001,"power":27919,"unknown_29":206,"unknown_88":20992,"ignition":34,"odometer":null,"unknown_45":-7135883215073994752}} 
[2026-08-11 10:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":153459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:30:56] local.INFO: GPS data processed {"connection_id":153459,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:30:56] local.INFO: Acknowledgment sent {"connection_id":153459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:31:20] local.INFO: TCP Data received {"connection_id":152502,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:31:20] local.INFO: Processing buffer {"connection_id":152502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:31:20] local.INFO: IMEI packet received {"connection_id":152502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":152502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:31:25] local.INFO: TCP Data received {"connection_id":152502,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:31:25] local.INFO: Processing buffer {"connection_id":152502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:31:25] local.INFO: IMEI packet received {"connection_id":152502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":152502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:31:35] local.INFO: TCP Data received {"connection_id":152502,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef307470012d9d26c005fed4f00018006f2e..."} 
[2026-08-11 10:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef307470012d9d26c005fed4f00018006f2e..."} 
[2026-08-11 10:31:35] local.INFO: Processing buffer {"connection_id":152502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef307470012d9d26c005fed4f00018006f2e..."} 
[2026-08-11 10:31:35] local.INFO: Packet analysis {"connection_id":152502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef30"} 
[2026-08-11 10:31:35] local.INFO: Extracted packet for processing {"connection_id":152502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef30"} 
[2026-08-11 10:31:35] local.INFO: GPS Element Parsed {"raw_longitude":765273792,"raw_latitude":100586736,"longitude_deg":76.5273792,"latitude_deg":10.0586736,"altitude":24,"angle":111,"satellites":46,"speed":35,"hex_longitude":"2d9d26c0","hex_latitude":"05fed4f0","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324634368001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377349409945419776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7127579703260936192,"note":"Value kept but may cause issues"} 
[2026-08-11 10:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786424358000,"timestamp_ms":1786424358000,"timestamp_seconds":1786424358,"priority":1,"record_length":96,"hex_timestamp":"0000019fef307470"} 
[2026-08-11 10:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 10:31: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-08-11 10: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-08-11 10:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:31:35] 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-08-11 10:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324634368001,"66":27745,"29":206,"88":20992,"24":35,"16":377349409945419776,"45":-7127579703260936192},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,88,24,16,45]} 
[2026-08-11 10:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324634368001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:31:35] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 10:31:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377349409945419776,"km_value":377349409945419.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7127579703260936192,"description":"Unknown IO ID 45"} 
[2026-08-11 10:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324634368001,"power":27745,"unknown_29":206,"unknown_88":20992,"ignition":35,"odometer":null,"unknown_45":-7127579703260936192}} 
[2026-08-11 10:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":152502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:31:35] local.INFO: GPS data processed {"connection_id":152502,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:31:35] local.INFO: Acknowledgment sent {"connection_id":152502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:32:25] local.INFO: TCP Data received {"connection_id":152121,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:32:25] local.INFO: Processing buffer {"connection_id":152121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:32:25] local.INFO: IMEI packet received {"connection_id":152121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":152121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:32:30] local.INFO: TCP Data received {"connection_id":152121,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:32:30] local.INFO: Processing buffer {"connection_id":152121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:32:30] local.INFO: IMEI packet received {"connection_id":152121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":152121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:32:31] local.INFO: TCP Data received {"connection_id":152121,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef308028012d9d300005fecfa00018007a2e..."} 
[2026-08-11 10:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef308028012d9d300005fecfa00018007a2e..."} 
[2026-08-11 10:32:31] local.INFO: Processing buffer {"connection_id":152121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef308028012d9d300005fecfa00018007a2e..."} 
[2026-08-11 10:32:31] local.INFO: Packet analysis {"connection_id":152121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef30"} 
[2026-08-11 10:32:31] local.INFO: Extracted packet for processing {"connection_id":152121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef30"} 
[2026-08-11 10:32:31] local.INFO: GPS Element Parsed {"raw_longitude":765276160,"raw_latitude":100585376,"longitude_deg":76.527616,"latitude_deg":10.0585376,"altitude":24,"angle":122,"satellites":46,"speed":37,"hex_longitude":"2d9d3000","hex_latitude":"05fecfa0","is_valid_coordinates":true} 
[2026-08-11 10:32: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-08-11 10:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324635648001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377349543089405952,"note":"Value kept but may cause issues"} 
[2026-08-11 10:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7122794628657123328,"note":"Value kept but may cause issues"} 
[2026-08-11 10:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786424361000,"timestamp_ms":1786424361000,"timestamp_seconds":1786424361,"priority":1,"record_length":96,"hex_timestamp":"0000019fef308028"} 
[2026-08-11 10:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:32: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":97,"data_length":795,"current_offset":136} 
[2026-08-11 10:32:31] 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-08-11 10:32: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-08-11 10:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324635648001,"66":27876,"29":206,"88":20992,"24":37,"16":377349543089405952,"45":-7122794628657123328},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,88,24,16,45]} 
[2026-08-11 10:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324635648001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:32:31] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 10:32:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377349543089405952,"km_value":377349543089405.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7122794628657123328,"description":"Unknown IO ID 45"} 
[2026-08-11 10:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324635648001,"power":27876,"unknown_29":206,"unknown_88":20992,"ignition":37,"odometer":null,"unknown_45":-7122794628657123328}} 
[2026-08-11 10:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":152121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:32:31] local.INFO: GPS data processed {"connection_id":152121,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:32:31] local.INFO: Acknowledgment sent {"connection_id":152121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:32:35] local.INFO: TCP Data received {"connection_id":152121,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef30a350012d9d4d4005feb948001700822f..."} 
[2026-08-11 10:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef30a350012d9d4d4005feb948001700822f..."} 
[2026-08-11 10:32:35] local.INFO: Processing buffer {"connection_id":152121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef30a350012d9d4d4005feb948001700822f..."} 
[2026-08-11 10:32:35] local.INFO: Packet analysis {"connection_id":152121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef30"} 
[2026-08-11 10:32:35] local.INFO: Extracted packet for processing {"connection_id":152121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef30"} 
[2026-08-11 10:32:35] local.INFO: GPS Element Parsed {"raw_longitude":765283648,"raw_latitude":100579656,"longitude_deg":76.5283648,"latitude_deg":10.0579656,"altitude":23,"angle":130,"satellites":47,"speed":42,"hex_longitude":"2d9d4d40","hex_latitude":"05feb948","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324636416001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377349994060972032,"note":"Value kept but may cause issues"} 
[2026-08-11 10:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7120190985122897920,"note":"Value kept but may cause issues"} 
[2026-08-11 10:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786424370000,"timestamp_ms":1786424370000,"timestamp_seconds":1786424370,"priority":1,"record_length":96,"hex_timestamp":"0000019fef30a350"} 
[2026-08-11 10:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 10:32: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-08-11 10: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-08-11 10:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 10:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324636416001,"66":27865,"29":206,"88":20992,"24":42,"16":377349994060972032,"45":-7120190985122897920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,88,24,16,45]} 
[2026-08-11 10:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324636416001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:32:35] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 10:32:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377349994060972032,"km_value":377349994060972.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7120190985122897920,"description":"Unknown IO ID 45"} 
[2026-08-11 10:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324636416001,"power":27865,"unknown_29":206,"unknown_88":20992,"ignition":42,"odometer":null,"unknown_45":-7120190985122897920}} 
[2026-08-11 10:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":152121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:32:35] local.INFO: GPS data processed {"connection_id":152121,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:32:35] local.INFO: Acknowledgment sent {"connection_id":152121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:33:20] local.INFO: TCP Data received {"connection_id":152122,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:33:20] local.INFO: Processing buffer {"connection_id":152122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:33:20] local.INFO: IMEI packet received {"connection_id":152122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":152122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:33:25] local.INFO: TCP Data received {"connection_id":152122,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:33:25] local.INFO: Processing buffer {"connection_id":152122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:33:25] local.INFO: IMEI packet received {"connection_id":152122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":152122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:33:26] local.INFO: TCP Data received {"connection_id":152122,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef30c678012d9d67c005fea1b8001a00882f..."} 
[2026-08-11 10:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef30c678012d9d67c005fea1b8001a00882f..."} 
[2026-08-11 10:33:26] local.INFO: Processing buffer {"connection_id":152122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef30c678012d9d67c005fea1b8001a00882f..."} 
[2026-08-11 10:33:26] local.INFO: Packet analysis {"connection_id":152122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef30"} 
[2026-08-11 10:33:26] local.INFO: Extracted packet for processing {"connection_id":152122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef30"} 
[2026-08-11 10:33:26] local.INFO: GPS Element Parsed {"raw_longitude":765290432,"raw_latitude":100573624,"longitude_deg":76.5290432,"latitude_deg":10.0573624,"altitude":26,"angle":136,"satellites":47,"speed":38,"hex_longitude":"2d9d67c0","hex_latitude":"05fea1b8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324638720001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377350432147636224,"note":"Value kept but may cause issues"} 
[2026-08-11 10:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7111957842055575552,"note":"Value kept but may cause issues"} 
[2026-08-11 10:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786424379000,"timestamp_ms":1786424379000,"timestamp_seconds":1786424379,"priority":1,"record_length":96,"hex_timestamp":"0000019fef30c678"} 
[2026-08-11 10:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 10:33:26] 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-08-11 10: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-08-11 10:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:33:26] 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-08-11 10:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324638720001,"66":27908,"29":206,"88":20992,"24":38,"16":377350432147636224,"45":-7111957842055575552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,88,24,16,45]} 
[2026-08-11 10:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324638720001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:33:26] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 10:33:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377350432147636224,"km_value":377350432147636.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7111957842055575552,"description":"Unknown IO ID 45"} 
[2026-08-11 10:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324638720001,"power":27908,"unknown_29":206,"unknown_88":20992,"ignition":38,"odometer":null,"unknown_45":-7111957842055575552}} 
[2026-08-11 10:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":152122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:33:26] local.INFO: GPS data processed {"connection_id":152122,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:33:26] local.INFO: Acknowledgment sent {"connection_id":152122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:33:57] local.INFO: TCP Data received {"connection_id":152122,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef30ed88012d9d7e0005fe8340001900922f..."} 
[2026-08-11 10:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef30ed88012d9d7e0005fe8340001900922f..."} 
[2026-08-11 10:33:57] local.INFO: Processing buffer {"connection_id":152122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef30ed88012d9d7e0005fe8340001900922f..."} 
[2026-08-11 10:33:57] local.INFO: Packet analysis {"connection_id":152122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef30"} 
[2026-08-11 10:33:57] local.INFO: Extracted packet for processing {"connection_id":152122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef30"} 
[2026-08-11 10:33:57] local.INFO: GPS Element Parsed {"raw_longitude":765296128,"raw_latitude":100565824,"longitude_deg":76.5296128,"latitude_deg":10.0565824,"altitude":25,"angle":146,"satellites":47,"speed":40,"hex_longitude":"2d9d7e00","hex_latitude":"05fe8340","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324641024001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377350896004104192,"note":"Value kept but may cause issues"} 
[2026-08-11 10:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7104498755174287360,"note":"Value kept but may cause issues"} 
[2026-08-11 10:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786424389000,"timestamp_ms":1786424389000,"timestamp_seconds":1786424389,"priority":1,"record_length":96,"hex_timestamp":"0000019fef30ed88"} 
[2026-08-11 10:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:33: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-08-11 10: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-08-11 10:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:33:57] 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-08-11 10:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324641024001,"66":27767,"201":206,"88":20992,"24":40,"16":377350896004104192,"45":-7104498755174287360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324641024001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:33:57] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:33:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377350896004104192,"km_value":377350896004104.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7104498755174287360,"description":"Unknown IO ID 45"} 
[2026-08-11 10:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324641024001,"power":27767,"unknown_201":206,"unknown_88":20992,"ignition":40,"odometer":null,"unknown_45":-7104498755174287360}} 
[2026-08-11 10:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":152122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:33:57] local.INFO: GPS data processed {"connection_id":152122,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:33:57] local.INFO: Acknowledgment sent {"connection_id":152122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:34:20] local.INFO: TCP Data received {"connection_id":153460,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:34:20] local.INFO: Processing buffer {"connection_id":153460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:34:20] local.INFO: IMEI packet received {"connection_id":153460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":153460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:34:24] local.INFO: TCP Data received {"connection_id":153460,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:34:24] local.INFO: Processing buffer {"connection_id":153460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:34:24] local.INFO: IMEI packet received {"connection_id":153460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":153460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:34:25] local.INFO: TCP Data received {"connection_id":153460,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3110b0012d9d918005fe6438001b00972d..."} 
[2026-08-11 10:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3110b0012d9d918005fe6438001b00972d..."} 
[2026-08-11 10:34:25] local.INFO: Processing buffer {"connection_id":153460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3110b0012d9d918005fe6438001b00972d..."} 
[2026-08-11 10:34:25] local.INFO: Packet analysis {"connection_id":153460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef31"} 
[2026-08-11 10:34:25] local.INFO: Extracted packet for processing {"connection_id":153460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef31"} 
[2026-08-11 10:34:25] local.INFO: GPS Element Parsed {"raw_longitude":765301120,"raw_latitude":100557880,"longitude_deg":76.530112,"latitude_deg":10.055788,"altitude":27,"angle":151,"satellites":45,"speed":42,"hex_longitude":"2d9d9180","hex_latitude":"05fe6438","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324643584001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377351351270637568,"note":"Value kept but may cause issues"} 
[2026-08-11 10:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7098235936944472064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786424398000,"timestamp_ms":1786424398000,"timestamp_seconds":1786424398,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3110b0"} 
[2026-08-11 10:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 10:34:25] 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-08-11 10: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-08-11 10:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:34:25] 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-08-11 10:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324643584001,"66":27908,"201":206,"88":20992,"24":42,"16":377351351270637568,"45":-7098235936944472064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324643584001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:34:25] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:34:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377351351270637568,"km_value":377351351270637.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7098235936944472064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324643584001,"power":27908,"unknown_201":206,"unknown_88":20992,"ignition":42,"odometer":null,"unknown_45":-7098235936944472064}} 
[2026-08-11 10:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":153460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:34:25] local.INFO: GPS data processed {"connection_id":153460,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:34:25] local.INFO: Acknowledgment sent {"connection_id":153460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:34:56] local.INFO: TCP Data received {"connection_id":153460,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef312438012d9d998005fe51c8001c009f2c..."} 
[2026-08-11 10:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef312438012d9d998005fe51c8001c009f2c..."} 
[2026-08-11 10:34:56] local.INFO: Processing buffer {"connection_id":153460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef312438012d9d998005fe51c8001c009f2c..."} 
[2026-08-11 10:34:56] local.INFO: Packet analysis {"connection_id":153460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef31"} 
[2026-08-11 10:34:56] local.INFO: Extracted packet for processing {"connection_id":153460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef31"} 
[2026-08-11 10:34:56] local.INFO: GPS Element Parsed {"raw_longitude":765303168,"raw_latitude":100553160,"longitude_deg":76.5303168,"latitude_deg":10.055316,"altitude":28,"angle":159,"satellites":44,"speed":39,"hex_longitude":"2d9d9980","hex_latitude":"05fe51c8","is_valid_coordinates":true} 
[2026-08-11 10:34: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-08-11 10:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324645888001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377351600378740736,"note":"Value kept but may cause issues"} 
[2026-08-11 10:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7092747174900647936,"note":"Value kept but may cause issues"} 
[2026-08-11 10:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786424403000,"timestamp_ms":1786424403000,"timestamp_seconds":1786424403,"priority":1,"record_length":96,"hex_timestamp":"0000019fef312438"} 
[2026-08-11 10:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:34: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":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:34:56] 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-08-11 10:34: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-08-11 10:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:34:56] 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-08-11 10:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324645888001,"66":28050,"201":206,"88":20992,"24":39,"16":377351600378740736,"45":-7092747174900647936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324645888001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:34:56] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:34:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377351600378740736,"km_value":377351600378740.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7092747174900647936,"description":"Unknown IO ID 45"} 
[2026-08-11 10:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324645888001,"power":28050,"unknown_201":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-7092747174900647936}} 
[2026-08-11 10:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":153460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:34:56] local.INFO: GPS data processed {"connection_id":153460,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:34:56] local.INFO: Acknowledgment sent {"connection_id":153460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:35:20] local.INFO: TCP Data received {"connection_id":152503,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:35:20] local.INFO: Processing buffer {"connection_id":152503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:35:20] local.INFO: IMEI packet received {"connection_id":152503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":152503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:35:24] local.INFO: TCP Data received {"connection_id":152503,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:35:24] local.INFO: Processing buffer {"connection_id":152503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:35:24] local.INFO: IMEI packet received {"connection_id":152503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":152503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:35:28] local.INFO: TCP Data received {"connection_id":152503,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef313f90012d9d9f0005fe3c38001d00aa2c..."} 
[2026-08-11 10:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef313f90012d9d9f0005fe3c38001d00aa2c..."} 
[2026-08-11 10:35:28] local.INFO: Processing buffer {"connection_id":152503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef313f90012d9d9f0005fe3c38001d00aa2c..."} 
[2026-08-11 10:35:28] local.INFO: Packet analysis {"connection_id":152503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef31"} 
[2026-08-11 10:35:28] local.INFO: Extracted packet for processing {"connection_id":152503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef31"} 
[2026-08-11 10:35:28] local.INFO: GPS Element Parsed {"raw_longitude":765304576,"raw_latitude":100547640,"longitude_deg":76.5304576,"latitude_deg":10.054764,"altitude":29,"angle":170,"satellites":44,"speed":0,"hex_longitude":"2d9d9f00","hex_latitude":"05fe3c38","is_valid_coordinates":true} 
[2026-08-11 10:35:28] 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-08-11 10:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324647168001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377351600378740736,"note":"Value kept but may cause issues"} 
[2026-08-11 10:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7090495375088171008,"note":"Value kept but may cause issues"} 
[2026-08-11 10:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786424410000,"timestamp_ms":1786424410000,"timestamp_seconds":1786424410,"priority":1,"record_length":96,"hex_timestamp":"0000019fef313f90"} 
[2026-08-11 10:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 10:35:28] 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-08-11 10: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-08-11 10:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:35:28] 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-08-11 10:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324647168001,"66":26778,"201":206,"88":20992,"24":0,"16":377351600378740736,"45":-7090495375088171008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324647168001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:35:28] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:35:28] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377351600378740736,"km_value":377351600378740.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7090495375088171008,"description":"Unknown IO ID 45"} 
[2026-08-11 10:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324647168001,"power":26778,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7090495375088171008}} 
[2026-08-11 10:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":152503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:35:28] local.INFO: GPS data processed {"connection_id":152503,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:35:28] local.INFO: Acknowledgment sent {"connection_id":152503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:35:59] local.INFO: TCP Data received {"connection_id":152503,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef316a88012d9da68005fe15e0001c00a12a..."} 
[2026-08-11 10:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef316a88012d9da68005fe15e0001c00a12a..."} 
[2026-08-11 10:35:59] local.INFO: Processing buffer {"connection_id":152503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef316a88012d9da68005fe15e0001c00a12a..."} 
[2026-08-11 10:35:59] local.INFO: Packet analysis {"connection_id":152503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef31"} 
[2026-08-11 10:35:59] local.INFO: Extracted packet for processing {"connection_id":152503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef31"} 
[2026-08-11 10:35:59] local.INFO: GPS Element Parsed {"raw_longitude":765306496,"raw_latitude":100537824,"longitude_deg":76.5306496,"latitude_deg":10.0537824,"altitude":28,"angle":161,"satellites":42,"speed":22,"hex_longitude":"2d9da680","hex_latitude":"05fe15e0","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324648960001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352038465404928,"note":"Value kept but may cause issues"} 
[2026-08-11 10:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7088947262717675520,"note":"Value kept but may cause issues"} 
[2026-08-11 10:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786424421000,"timestamp_ms":1786424421000,"timestamp_seconds":1786424421,"priority":1,"record_length":96,"hex_timestamp":"0000019fef316a88"} 
[2026-08-11 10:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-11 10:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2104,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:35:59] 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-08-11 10:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324648960001,"66":27745,"201":206,"88":20992,"24":22,"16":377352038465404928,"45":-7088947262717675520},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324648960001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:35:59] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:35:59] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352038465404928,"km_value":377352038465404.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7088947262717675520,"description":"Unknown IO ID 45"} 
[2026-08-11 10:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324648960001,"power":27745,"unknown_201":206,"unknown_88":20992,"ignition":22,"odometer":null,"unknown_45":-7088947262717675520}} 
[2026-08-11 10:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":152503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:35:59] local.INFO: GPS data processed {"connection_id":152503,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:35:59] local.INFO: Acknowledgment sent {"connection_id":152503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:36:24] local.INFO: TCP Data received {"connection_id":154840,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:36:24] local.INFO: Processing buffer {"connection_id":154840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:36:24] local.INFO: IMEI packet received {"connection_id":154840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":154840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:36:30] local.INFO: TCP Data received {"connection_id":154840,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:36:30] local.INFO: Processing buffer {"connection_id":154840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:36:30] local.INFO: IMEI packet received {"connection_id":154840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":154840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:36:31] local.INFO: TCP Data received {"connection_id":154840,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef317640012d9da84005fe11a8001c00922c..."} 
[2026-08-11 10:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef317640012d9da84005fe11a8001c00922c..."} 
[2026-08-11 10:36:31] local.INFO: Processing buffer {"connection_id":154840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef317640012d9da84005fe11a8001c00922c..."} 
[2026-08-11 10:36:31] local.INFO: Packet analysis {"connection_id":154840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef31"} 
[2026-08-11 10:36:31] local.INFO: Extracted packet for processing {"connection_id":154840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef31"} 
[2026-08-11 10:36:31] local.INFO: GPS Element Parsed {"raw_longitude":765306944,"raw_latitude":100536744,"longitude_deg":76.5306944,"latitude_deg":10.0536744,"altitude":28,"angle":146,"satellites":44,"speed":8,"hex_longitude":"2d9da840","hex_latitude":"05fe11a8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324651776001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086836200394858496,"note":"Value kept but may cause issues"} 
[2026-08-11 10:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786424424000,"timestamp_ms":1786424424000,"timestamp_seconds":1786424424,"priority":1,"record_length":96,"hex_timestamp":"0000019fef317640"} 
[2026-08-11 10:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 10:36:31] 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-08-11 10: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-08-11 10:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:36:31] 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-08-11 10:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324651776001,"66":27908,"201":206,"88":20992,"24":8,"16":377352094299979776,"45":-7086836200394858496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324651776001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:36:31] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:36:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086836200394858496,"description":"Unknown IO ID 45"} 
[2026-08-11 10:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324651776001,"power":27908,"unknown_201":206,"unknown_88":20992,"ignition":8,"odometer":null,"unknown_45":-7086836200394858496}} 
[2026-08-11 10:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":154840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:36:31] local.INFO: GPS data processed {"connection_id":154840,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:36:31] local.INFO: Acknowledgment sent {"connection_id":154840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:36:35] local.INFO: TCP Data received {"connection_id":154840,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef317640012d9da84005fe11a8001c00922c..."} 
[2026-08-11 10:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef317640012d9da84005fe11a8001c00922c..."} 
[2026-08-11 10:36:35] local.INFO: Processing buffer {"connection_id":154840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef317640012d9da84005fe11a8001c00922c..."} 
[2026-08-11 10:36:35] local.INFO: Packet analysis {"connection_id":154840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef31"} 
[2026-08-11 10:36:35] local.INFO: Extracted packet for processing {"connection_id":154840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef31"} 
[2026-08-11 10:36:35] local.INFO: GPS Element Parsed {"raw_longitude":765306944,"raw_latitude":100536744,"longitude_deg":76.5306944,"latitude_deg":10.0536744,"altitude":28,"angle":146,"satellites":44,"speed":8,"hex_longitude":"2d9da840","hex_latitude":"05fe11a8","is_valid_coordinates":true} 
[2026-08-11 10:36: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-08-11 10:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324652544001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086343619185891328,"note":"Value kept but may cause issues"} 
[2026-08-11 10:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786424424000,"timestamp_ms":1786424424000,"timestamp_seconds":1786424424,"priority":1,"record_length":96,"hex_timestamp":"0000019fef317640"} 
[2026-08-11 10:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:36: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-08-11 10: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-08-11 10:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:36: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-08-11 10:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324652544001,"66":27908,"201":206,"88":20992,"24":8,"16":377352094299979776,"45":-7086343619185891328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324652544001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:36:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:36:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086343619185891328,"description":"Unknown IO ID 45"} 
[2026-08-11 10:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324652544001,"power":27908,"unknown_201":206,"unknown_88":20992,"ignition":8,"odometer":null,"unknown_45":-7086343619185891328}} 
[2026-08-11 10:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":154840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:36:35] local.INFO: GPS data processed {"connection_id":154840,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:36:35] local.INFO: Acknowledgment sent {"connection_id":154840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:37:20] local.INFO: TCP Data received {"connection_id":154841,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:37:20] local.INFO: Processing buffer {"connection_id":154841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:37:20] local.INFO: IMEI packet received {"connection_id":154841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":154841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:37:24] local.INFO: TCP Data received {"connection_id":154841,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:37:24] local.INFO: Processing buffer {"connection_id":154841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:37:24] local.INFO: IMEI packet received {"connection_id":154841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":154841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:37:25] local.INFO: TCP Data received {"connection_id":154841,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:37:25] local.INFO: Processing buffer {"connection_id":154841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:37:25] local.INFO: Packet analysis {"connection_id":154841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef36"} 
[2026-08-11 10:37:25] local.INFO: Extracted packet for processing {"connection_id":154841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef36"} 
[2026-08-11 10:37:25] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":41,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324652544001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086343619185891328,"note":"Value kept but may cause issues"} 
[2026-08-11 10:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786424728000,"timestamp_ms":1786424728000,"timestamp_seconds":1786424728,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3619c0"} 
[2026-08-11 10:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:37:25] 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-08-11 10: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-08-11 10:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:37:25] 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-08-11 10:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324652544001,"66":26484,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7086343619185891328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324652544001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:37:25] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:37:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086343619185891328,"description":"Unknown IO ID 45"} 
[2026-08-11 10:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324652544001,"power":26484,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7086343619185891328}} 
[2026-08-11 10:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":154841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:37:25] local.INFO: GPS data processed {"connection_id":154841,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:37:25] local.INFO: Acknowledgment sent {"connection_id":154841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:37:56] local.INFO: TCP Data received {"connection_id":154841,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:37:56] local.INFO: Processing buffer {"connection_id":154841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:37:56] local.INFO: Packet analysis {"connection_id":154841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef36"} 
[2026-08-11 10:37:56] local.INFO: Extracted packet for processing {"connection_id":154841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef36"} 
[2026-08-11 10:37:56] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":41,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324652544001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086343619185891328,"note":"Value kept but may cause issues"} 
[2026-08-11 10:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786424728000,"timestamp_ms":1786424728000,"timestamp_seconds":1786424728,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3619c0"} 
[2026-08-11 10:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:37:56] 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-08-11 10:37: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-08-11 10:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:37:56] 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-08-11 10:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324652544001,"66":26484,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7086343619185891328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324652544001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:37:56] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:37:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086343619185891328,"description":"Unknown IO ID 45"} 
[2026-08-11 10:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324652544001,"power":26484,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7086343619185891328}} 
[2026-08-11 10:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":154841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:37:56] local.INFO: GPS data processed {"connection_id":154841,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:37:56] local.INFO: Acknowledgment sent {"connection_id":154841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:38:20] local.INFO: TCP Data received {"connection_id":152504,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:38:20] local.INFO: Processing buffer {"connection_id":152504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:38:20] local.INFO: IMEI packet received {"connection_id":152504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":152504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:38:24] local.INFO: TCP Data received {"connection_id":152504,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:38:24] local.INFO: Processing buffer {"connection_id":152504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:38:24] local.INFO: IMEI packet received {"connection_id":152504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":152504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:38:25] local.INFO: TCP Data received {"connection_id":152504,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:38:25] local.INFO: Processing buffer {"connection_id":152504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:38:25] local.INFO: Packet analysis {"connection_id":152504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef36"} 
[2026-08-11 10:38:25] local.INFO: Extracted packet for processing {"connection_id":152504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef36"} 
[2026-08-11 10:38:25] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":41,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324652544001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086343619185891328,"note":"Value kept but may cause issues"} 
[2026-08-11 10:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786424728000,"timestamp_ms":1786424728000,"timestamp_seconds":1786424728,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3619c0"} 
[2026-08-11 10:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:38:25] 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-08-11 10: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-08-11 10:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:38:25] 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-08-11 10:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324652544001,"66":26484,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7086343619185891328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324652544001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:38:25] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:38:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086343619185891328,"description":"Unknown IO ID 45"} 
[2026-08-11 10:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324652544001,"power":26484,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7086343619185891328}} 
[2026-08-11 10:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":152504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:38:25] local.INFO: GPS data processed {"connection_id":152504,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:38:25] local.INFO: Acknowledgment sent {"connection_id":152504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:38:57] local.INFO: TCP Data received {"connection_id":152504,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:38:57] local.INFO: Processing buffer {"connection_id":152504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:38:57] local.INFO: Packet analysis {"connection_id":152504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef36"} 
[2026-08-11 10:38:57] local.INFO: Extracted packet for processing {"connection_id":152504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef36"} 
[2026-08-11 10:38:57] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":41,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324652544001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086343619185891328,"note":"Value kept but may cause issues"} 
[2026-08-11 10:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786424728000,"timestamp_ms":1786424728000,"timestamp_seconds":1786424728,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3619c0"} 
[2026-08-11 10:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:38: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-08-11 10: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-08-11 10:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:38:57] 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-08-11 10:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324652544001,"66":26484,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7086343619185891328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324652544001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:38:57] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:38:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086343619185891328,"description":"Unknown IO ID 45"} 
[2026-08-11 10:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324652544001,"power":26484,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7086343619185891328}} 
[2026-08-11 10:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":152504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:38:57] local.INFO: GPS data processed {"connection_id":152504,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:38:57] local.INFO: Acknowledgment sent {"connection_id":152504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:39:19] local.INFO: TCP Data received {"connection_id":152123,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:39:19] local.INFO: Processing buffer {"connection_id":152123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:39:19] local.INFO: IMEI packet received {"connection_id":152123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":152123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:39:24] local.INFO: TCP Data received {"connection_id":152123,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:39:24] local.INFO: Processing buffer {"connection_id":152123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:39:24] local.INFO: IMEI packet received {"connection_id":152123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":152123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:39:25] local.INFO: TCP Data received {"connection_id":152123,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:39:25] local.INFO: Processing buffer {"connection_id":152123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:39:25] local.INFO: Packet analysis {"connection_id":152123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef36"} 
[2026-08-11 10:39:25] local.INFO: Extracted packet for processing {"connection_id":152123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef36"} 
[2026-08-11 10:39:25] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":41,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324652544001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086343619185891328,"note":"Value kept but may cause issues"} 
[2026-08-11 10:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786424728000,"timestamp_ms":1786424728000,"timestamp_seconds":1786424728,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3619c0"} 
[2026-08-11 10:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:39:25] 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-08-11 10: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-08-11 10:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:39:25] 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-08-11 10:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324652544001,"66":26484,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7086343619185891328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324652544001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:39:25] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:39:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086343619185891328,"description":"Unknown IO ID 45"} 
[2026-08-11 10:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324652544001,"power":26484,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7086343619185891328}} 
[2026-08-11 10:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":152123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:39:25] local.INFO: GPS data processed {"connection_id":152123,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:39:25] local.INFO: Acknowledgment sent {"connection_id":152123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:39:56] local.INFO: TCP Data received {"connection_id":152123,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:39:56] local.INFO: Processing buffer {"connection_id":152123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:39:56] local.INFO: Packet analysis {"connection_id":152123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef36"} 
[2026-08-11 10:39:56] local.INFO: Extracted packet for processing {"connection_id":152123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef36"} 
[2026-08-11 10:39:56] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":41,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324652544001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086343619185891328,"note":"Value kept but may cause issues"} 
[2026-08-11 10:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786424728000,"timestamp_ms":1786424728000,"timestamp_seconds":1786424728,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3619c0"} 
[2026-08-11 10:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:39:56] 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-08-11 10: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-08-11 10:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:39:56] 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-08-11 10:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324652544001,"66":26484,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7086343619185891328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324652544001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:39:56] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:39:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086343619185891328,"description":"Unknown IO ID 45"} 
[2026-08-11 10:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324652544001,"power":26484,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7086343619185891328}} 
[2026-08-11 10:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":152123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:39:57] local.INFO: GPS data processed {"connection_id":152123,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:39:57] local.INFO: Acknowledgment sent {"connection_id":152123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:40:25] local.INFO: TCP Data received {"connection_id":152505,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:40:25] local.INFO: Processing buffer {"connection_id":152505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:40:25] local.INFO: IMEI packet received {"connection_id":152505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":152505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:40:30] local.INFO: TCP Data received {"connection_id":152505,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:40:30] local.INFO: Processing buffer {"connection_id":152505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:40:30] local.INFO: IMEI packet received {"connection_id":152505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":152505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:40:33] local.INFO: TCP Data received {"connection_id":152505,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:40:33] local.INFO: Processing buffer {"connection_id":152505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:40:33] local.INFO: Packet analysis {"connection_id":152505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef36"} 
[2026-08-11 10:40:33] local.INFO: Extracted packet for processing {"connection_id":152505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef36"} 
[2026-08-11 10:40:33] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":41,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10:40: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-08-11 10:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324652544001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086343619185891328,"note":"Value kept but may cause issues"} 
[2026-08-11 10:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786424728000,"timestamp_ms":1786424728000,"timestamp_seconds":1786424728,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3619c0"} 
[2026-08-11 10:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10:40: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":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:40:33] 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-08-11 10:40: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-08-11 10:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:40:33] 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-08-11 10:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324652544001,"66":26484,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7086343619185891328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324652544001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:40:33] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:40:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086343619185891328,"description":"Unknown IO ID 45"} 
[2026-08-11 10:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324652544001,"power":26484,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7086343619185891328}} 
[2026-08-11 10:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":152505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:40:33] local.INFO: GPS data processed {"connection_id":152505,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:40:33] local.INFO: Acknowledgment sent {"connection_id":152505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:40:35] local.INFO: TCP Data received {"connection_id":152505,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:40:35] local.INFO: Processing buffer {"connection_id":152505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3619c0012d9daa4005fe0f48001d009729..."} 
[2026-08-11 10:40:35] local.INFO: Packet analysis {"connection_id":152505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef36"} 
[2026-08-11 10:40:35] local.INFO: Extracted packet for processing {"connection_id":152505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef36"} 
[2026-08-11 10:40:35] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":41,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324652544001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086343619185891328,"note":"Value kept but may cause issues"} 
[2026-08-11 10:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786424728000,"timestamp_ms":1786424728000,"timestamp_seconds":1786424728,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3619c0"} 
[2026-08-11 10:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:40: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-08-11 10: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-08-11 10:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:40: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-08-11 10:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324652544001,"66":26484,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7086343619185891328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324652544001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:40:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:40:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086343619185891328,"description":"Unknown IO ID 45"} 
[2026-08-11 10:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324652544001,"power":26484,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7086343619185891328}} 
[2026-08-11 10:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":152505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:40:35] local.INFO: GPS data processed {"connection_id":152505,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:40:35] local.INFO: Acknowledgment sent {"connection_id":152505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:41:20] local.INFO: TCP Data received {"connection_id":152506,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:41:20] local.INFO: Processing buffer {"connection_id":152506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:41:20] local.INFO: IMEI packet received {"connection_id":152506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":152506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:41:24] local.INFO: TCP Data received {"connection_id":152506,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:41:24] local.INFO: Processing buffer {"connection_id":152506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:41:24] local.INFO: IMEI packet received {"connection_id":152506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":152506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:41:25] local.INFO: TCP Data received {"connection_id":152506,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:41:25] local.INFO: Processing buffer {"connection_id":152506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:41:25] local.INFO: Packet analysis {"connection_id":152506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:41:25] local.INFO: Extracted packet for processing {"connection_id":152506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:41:25] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324730368001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7085780669232625664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786425029000,"timestamp_ms":1786425029000,"timestamp_seconds":1786425029,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3ab188"} 
[2026-08-11 10:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 10:41:25] 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-08-11 10: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-08-11 10:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:41:25] 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-08-11 10:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324730368001,"66":26223,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7085780669232625664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324730368001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:41:25] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:41:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7085780669232625664,"description":"Unknown IO ID 45"} 
[2026-08-11 10:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324730368001,"power":26223,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7085780669232625664}} 
[2026-08-11 10:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":152506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:41:25] local.INFO: GPS data processed {"connection_id":152506,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:41:25] local.INFO: Acknowledgment sent {"connection_id":152506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:41:56] local.INFO: TCP Data received {"connection_id":152506,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:41:56] local.INFO: Processing buffer {"connection_id":152506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:41:56] local.INFO: Packet analysis {"connection_id":152506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:41:56] local.INFO: Extracted packet for processing {"connection_id":152506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:41:56] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324730368001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7085780669232625664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786425029000,"timestamp_ms":1786425029000,"timestamp_seconds":1786425029,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3ab188"} 
[2026-08-11 10:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 10:41:56] 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-08-11 10: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-08-11 10:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:41:56] 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-08-11 10:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324730368001,"66":26223,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7085780669232625664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324730368001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:41:56] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:41:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7085780669232625664,"description":"Unknown IO ID 45"} 
[2026-08-11 10:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324730368001,"power":26223,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7085780669232625664}} 
[2026-08-11 10:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":152506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:41:56] local.INFO: GPS data processed {"connection_id":152506,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:41:56] local.INFO: Acknowledgment sent {"connection_id":152506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:42:20] local.INFO: TCP Data received {"connection_id":152507,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:42:20] local.INFO: Processing buffer {"connection_id":152507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:42:20] local.INFO: IMEI packet received {"connection_id":152507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":152507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:42:25] local.INFO: TCP Data received {"connection_id":152507,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:42:25] local.INFO: Processing buffer {"connection_id":152507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:42:25] local.INFO: IMEI packet received {"connection_id":152507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":152507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:42:25] local.INFO: TCP Data received {"connection_id":152507,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:42:26] local.INFO: Processing buffer {"connection_id":152507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:42:26] local.INFO: Packet analysis {"connection_id":152507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:42:26] local.INFO: Extracted packet for processing {"connection_id":152507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:42:26] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324730368001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7085780669232625664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786425029000,"timestamp_ms":1786425029000,"timestamp_seconds":1786425029,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3ab188"} 
[2026-08-11 10:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 10:42:26] 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-08-11 10: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-08-11 10:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:42:26] 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-08-11 10:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324730368001,"66":26223,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7085780669232625664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324730368001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:42:26] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:42:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7085780669232625664,"description":"Unknown IO ID 45"} 
[2026-08-11 10:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324730368001,"power":26223,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7085780669232625664}} 
[2026-08-11 10:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":152507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:42:26] local.INFO: GPS data processed {"connection_id":152507,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:42:26] local.INFO: Acknowledgment sent {"connection_id":152507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:42:57] local.INFO: TCP Data received {"connection_id":152507,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:42:57] local.INFO: Processing buffer {"connection_id":152507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:42:57] local.INFO: Packet analysis {"connection_id":152507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:42:57] local.INFO: Extracted packet for processing {"connection_id":152507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:42:57] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 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-08-11 10:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324730368001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7085780669232625664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786425029000,"timestamp_ms":1786425029000,"timestamp_seconds":1786425029,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3ab188"} 
[2026-08-11 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-08-11 10:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 10:42:57] 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-08-11 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-08-11 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-08-11 10:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:42:57] 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-08-11 10:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324730368001,"66":26223,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7085780669232625664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324730368001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:42:57] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:42:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7085780669232625664,"description":"Unknown IO ID 45"} 
[2026-08-11 10:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324730368001,"power":26223,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7085780669232625664}} 
[2026-08-11 10:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":152507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:42:57] local.INFO: GPS data processed {"connection_id":152507,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:42:57] local.INFO: Acknowledgment sent {"connection_id":152507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:43:20] local.INFO: TCP Data received {"connection_id":152124,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:43:20] local.INFO: Processing buffer {"connection_id":152124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:43:20] local.INFO: IMEI packet received {"connection_id":152124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":152124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:43:25] local.INFO: TCP Data received {"connection_id":152124,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:43:25] local.INFO: Processing buffer {"connection_id":152124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:43:25] local.INFO: IMEI packet received {"connection_id":152124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":152124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:43:26] local.INFO: TCP Data received {"connection_id":152124,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:43:26] local.INFO: Processing buffer {"connection_id":152124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:43:26] local.INFO: Packet analysis {"connection_id":152124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:43:26] local.INFO: Extracted packet for processing {"connection_id":152124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:43:26] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324730368001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7085780669232625664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786425029000,"timestamp_ms":1786425029000,"timestamp_seconds":1786425029,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3ab188"} 
[2026-08-11 10:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 10:43:26] 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-08-11 10: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-08-11 10:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:43:26] 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-08-11 10:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324730368001,"66":26223,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7085780669232625664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324730368001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:43:26] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:43:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7085780669232625664,"description":"Unknown IO ID 45"} 
[2026-08-11 10:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324730368001,"power":26223,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7085780669232625664}} 
[2026-08-11 10:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":152124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:43:26] local.INFO: GPS data processed {"connection_id":152124,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:43:26] local.INFO: Acknowledgment sent {"connection_id":152124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:43:57] local.INFO: TCP Data received {"connection_id":152124,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:43:57] local.INFO: Processing buffer {"connection_id":152124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:43:57] local.INFO: Packet analysis {"connection_id":152124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:43:57] local.INFO: Extracted packet for processing {"connection_id":152124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:43:57] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10:43: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-08-11 10:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324730368001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7085780669232625664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786425029000,"timestamp_ms":1786425029000,"timestamp_seconds":1786425029,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3ab188"} 
[2026-08-11 10:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10:43: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 10:43:57] 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-08-11 10:43: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-08-11 10:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:43:57] 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-08-11 10:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324730368001,"66":26223,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7085780669232625664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324730368001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:43:57] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:43:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7085780669232625664,"description":"Unknown IO ID 45"} 
[2026-08-11 10:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324730368001,"power":26223,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7085780669232625664}} 
[2026-08-11 10:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":152124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:43:57] local.INFO: GPS data processed {"connection_id":152124,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:43:57] local.INFO: Acknowledgment sent {"connection_id":152124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:44:19] local.INFO: TCP Data received {"connection_id":153461,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:44:19] local.INFO: Processing buffer {"connection_id":153461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:44:19] local.INFO: IMEI packet received {"connection_id":153461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":153461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:44:25] local.INFO: TCP Data received {"connection_id":153461,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:44:25] local.INFO: Processing buffer {"connection_id":153461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:44:25] local.INFO: IMEI packet received {"connection_id":153461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":153461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:44:26] local.INFO: TCP Data received {"connection_id":153461,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:44:26] local.INFO: Processing buffer {"connection_id":153461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:44:26] local.INFO: Packet analysis {"connection_id":153461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:44:26] local.INFO: Extracted packet for processing {"connection_id":153461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:44:26] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324730368001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7085780669232625664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786425029000,"timestamp_ms":1786425029000,"timestamp_seconds":1786425029,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3ab188"} 
[2026-08-11 10:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 10:44:26] 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-08-11 10: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-08-11 10:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:44:26] 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-08-11 10:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324730368001,"66":26223,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7085780669232625664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324730368001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:44:26] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:44:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7085780669232625664,"description":"Unknown IO ID 45"} 
[2026-08-11 10:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324730368001,"power":26223,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7085780669232625664}} 
[2026-08-11 10:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":153461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:44:26] local.INFO: GPS data processed {"connection_id":153461,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:44:26] local.INFO: Acknowledgment sent {"connection_id":153461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:44:57] local.INFO: TCP Data received {"connection_id":153461,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:44:57] local.INFO: Processing buffer {"connection_id":153461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:44:57] local.INFO: Packet analysis {"connection_id":153461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:44:57] local.INFO: Extracted packet for processing {"connection_id":153461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:44:57] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324730368001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7085780669232625664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786425029000,"timestamp_ms":1786425029000,"timestamp_seconds":1786425029,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3ab188"} 
[2026-08-11 10:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 10:44:57] 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-08-11 10: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-08-11 10:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:44:57] 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-08-11 10:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324730368001,"66":26223,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7085780669232625664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324730368001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:44:57] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:44:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7085780669232625664,"description":"Unknown IO ID 45"} 
[2026-08-11 10:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324730368001,"power":26223,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7085780669232625664}} 
[2026-08-11 10:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":153461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:44:57] local.INFO: GPS data processed {"connection_id":153461,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:44:57] local.INFO: Acknowledgment sent {"connection_id":153461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:45:24] local.INFO: TCP Data received {"connection_id":152508,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:45:24] local.INFO: Processing buffer {"connection_id":152508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:45:24] local.INFO: IMEI packet received {"connection_id":152508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":152508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:45:30] local.INFO: TCP Data received {"connection_id":152508,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:45:30] local.INFO: Processing buffer {"connection_id":152508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:45:30] local.INFO: IMEI packet received {"connection_id":152508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":152508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:45:31] local.INFO: TCP Data received {"connection_id":152508,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:45:31] local.INFO: Processing buffer {"connection_id":152508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:45:31] local.INFO: Packet analysis {"connection_id":152508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:45:31] local.INFO: Extracted packet for processing {"connection_id":152508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:45:31] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324730368001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7085780669232625664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786425029000,"timestamp_ms":1786425029000,"timestamp_seconds":1786425029,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3ab188"} 
[2026-08-11 10:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 10:45:31] 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-08-11 10: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-08-11 10:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:45:31] 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-08-11 10:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324730368001,"66":26223,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7085780669232625664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324730368001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:45:31] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:45:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7085780669232625664,"description":"Unknown IO ID 45"} 
[2026-08-11 10:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324730368001,"power":26223,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7085780669232625664}} 
[2026-08-11 10:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":152508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:45:31] local.INFO: GPS data processed {"connection_id":152508,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:45:31] local.INFO: Acknowledgment sent {"connection_id":152508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:45:35] local.INFO: TCP Data received {"connection_id":152508,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:45:35] local.INFO: Processing buffer {"connection_id":152508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3ab188012d9daa4005fe0f48001d00972b..."} 
[2026-08-11 10:45:35] local.INFO: Packet analysis {"connection_id":152508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:45:35] local.INFO: Extracted packet for processing {"connection_id":152508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef3a"} 
[2026-08-11 10:45:35] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324730368001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7085780669232625664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786425029000,"timestamp_ms":1786425029000,"timestamp_seconds":1786425029,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3ab188"} 
[2026-08-11 10:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 10:45: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-08-11 10: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-08-11 10:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:45: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-08-11 10:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324730368001,"66":26223,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7085780669232625664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324730368001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:45:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:45:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7085780669232625664,"description":"Unknown IO ID 45"} 
[2026-08-11 10:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324730368001,"power":26223,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7085780669232625664}} 
[2026-08-11 10:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":152508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:45:35] local.INFO: GPS data processed {"connection_id":152508,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:45:35] local.INFO: Acknowledgment sent {"connection_id":152508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:46:21] local.INFO: TCP Data received {"connection_id":154842,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:46:21] local.INFO: Processing buffer {"connection_id":154842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:46:21] local.INFO: IMEI packet received {"connection_id":154842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":154842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:46:25] local.INFO: TCP Data received {"connection_id":154842,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:46:25] local.INFO: Processing buffer {"connection_id":154842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:46:25] local.INFO: IMEI packet received {"connection_id":154842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":154842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:46:26] local.INFO: TCP Data received {"connection_id":154842,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3f4950012d9daa4005fe0f48001d00972a..."} 
[2026-08-11 10:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3f4950012d9daa4005fe0f48001d00972a..."} 
[2026-08-11 10:46:26] local.INFO: Processing buffer {"connection_id":154842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3f4950012d9daa4005fe0f48001d00972a..."} 
[2026-08-11 10:46:26] local.INFO: Packet analysis {"connection_id":154842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef3f"} 
[2026-08-11 10:46:26] local.INFO: Extracted packet for processing {"connection_id":154842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef3f"} 
[2026-08-11 10:46:26] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":42,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324807424001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7085780669232625664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786425330000,"timestamp_ms":1786425330000,"timestamp_seconds":1786425330,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3f4950"} 
[2026-08-11 10:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-11 10:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:46:26] 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-08-11 10:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324807424001,"66":26060,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7085780669232625664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324807424001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:46:26] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:46:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7085780669232625664,"description":"Unknown IO ID 45"} 
[2026-08-11 10:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324807424001,"power":26060,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7085780669232625664}} 
[2026-08-11 10:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":154842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:46:26] local.INFO: GPS data processed {"connection_id":154842,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:46:26] local.INFO: Acknowledgment sent {"connection_id":154842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:46:30] local.INFO: TCP Data received {"connection_id":154842,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3f4950012d9daa4005fe0f48001d00972a..."} 
[2026-08-11 10:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3f4950012d9daa4005fe0f48001d00972a..."} 
[2026-08-11 10:46:30] local.INFO: Processing buffer {"connection_id":154842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3f4950012d9daa4005fe0f48001d00972a..."} 
[2026-08-11 10:46:30] local.INFO: Packet analysis {"connection_id":154842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef3f"} 
[2026-08-11 10:46:30] local.INFO: Extracted packet for processing {"connection_id":154842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef3f"} 
[2026-08-11 10:46:30] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":42,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324807424001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7085780669232625664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786425330000,"timestamp_ms":1786425330000,"timestamp_seconds":1786425330,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3f4950"} 
[2026-08-11 10:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-11 10:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 10: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-08-11 10:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:46:30] 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-08-11 10:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324807424001,"66":26060,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7085780669232625664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324807424001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:46:30] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:46:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7085780669232625664,"description":"Unknown IO ID 45"} 
[2026-08-11 10:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324807424001,"power":26060,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7085780669232625664}} 
[2026-08-11 10:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":154842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:46:30] local.INFO: GPS data processed {"connection_id":154842,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:46:30] local.INFO: Acknowledgment sent {"connection_id":154842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:47:01] local.INFO: TCP Data received {"connection_id":154842,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef3ffd00012d9daa4005fe0f48001d00972d..."} 
[2026-08-11 10:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef3ffd00012d9daa4005fe0f48001d00972d..."} 
[2026-08-11 10:47:02] local.INFO: Processing buffer {"connection_id":154842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef3ffd00012d9daa4005fe0f48001d00972d..."} 
[2026-08-11 10:47:02] local.INFO: Packet analysis {"connection_id":154842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef3f"} 
[2026-08-11 10:47:02] local.INFO: Extracted packet for processing {"connection_id":154842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef3f"} 
[2026-08-11 10:47:02] local.INFO: GPS Element Parsed {"raw_longitude":765307456,"raw_latitude":100536136,"longitude_deg":76.5307456,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":45,"speed":0,"hex_longitude":"2d9daa40","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10:47:02] 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-08-11 10:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324884480001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7085780669232625664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786425376000,"timestamp_ms":1786425376000,"timestamp_seconds":1786425376,"priority":1,"record_length":96,"hex_timestamp":"0000019fef3ffd00"} 
[2026-08-11 10:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 10: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-11 10:47:02] 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-08-11 10: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-08-11 10:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":154842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":154842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":154842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:47:02] 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-08-11 10:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324884480001,"66":26115,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7085780669232625664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324884480001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:47:02] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:47:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7085780669232625664,"description":"Unknown IO ID 45"} 
[2026-08-11 10:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324884480001,"power":26115,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7085780669232625664}} 
[2026-08-11 10:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":154842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:47:02] local.INFO: GPS data processed {"connection_id":154842,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:47:02] local.INFO: Acknowledgment sent {"connection_id":154842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:47:19] local.INFO: TCP Data received {"connection_id":154843,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:47:19] local.INFO: Processing buffer {"connection_id":154843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:47:19] local.INFO: IMEI packet received {"connection_id":154843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":154843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:47:25] local.INFO: TCP Data received {"connection_id":154843,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:47:25] local.INFO: Processing buffer {"connection_id":154843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:47:25] local.INFO: IMEI packet received {"connection_id":154843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":154843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:47:26] local.INFO: TCP Data received {"connection_id":154843,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef4052f0012d9da90005fe0f48001d00972b..."} 
[2026-08-11 10:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef4052f0012d9da90005fe0f48001d00972b..."} 
[2026-08-11 10:47:26] local.INFO: Processing buffer {"connection_id":154843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef4052f0012d9da90005fe0f48001d00972b..."} 
[2026-08-11 10:47:26] local.INFO: Packet analysis {"connection_id":154843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef40"} 
[2026-08-11 10:47:26] local.INFO: Extracted packet for processing {"connection_id":154843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef40"} 
[2026-08-11 10:47:26] local.INFO: GPS Element Parsed {"raw_longitude":765307136,"raw_latitude":100536136,"longitude_deg":76.5307136,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d9da900","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324896256001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7085780669232625664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786425398000,"timestamp_ms":1786425398000,"timestamp_seconds":1786425398,"priority":1,"record_length":96,"hex_timestamp":"0000019fef4052f0"} 
[2026-08-11 10:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 10:47:26] 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-08-11 10: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-08-11 10:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:47:26] 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-08-11 10:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324896256001,"66":27789,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7085780669232625664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324896256001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:47:26] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:47:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7085780669232625664,"description":"Unknown IO ID 45"} 
[2026-08-11 10:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324896256001,"power":27789,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7085780669232625664}} 
[2026-08-11 10:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":154843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:47:26] local.INFO: GPS data processed {"connection_id":154843,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:47:26] local.INFO: Acknowledgment sent {"connection_id":154843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:47:57] local.INFO: TCP Data received {"connection_id":154843,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef40a4f8012d9da90005fe0f48001d009725..."} 
[2026-08-11 10:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef40a4f8012d9da90005fe0f48001d009725..."} 
[2026-08-11 10:47:57] local.INFO: Processing buffer {"connection_id":154843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef40a4f8012d9da90005fe0f48001d009725..."} 
[2026-08-11 10:47:57] local.INFO: Packet analysis {"connection_id":154843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef40"} 
[2026-08-11 10:47:57] local.INFO: Extracted packet for processing {"connection_id":154843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef40"} 
[2026-08-11 10:47:57] local.INFO: GPS Element Parsed {"raw_longitude":765307136,"raw_latitude":100536136,"longitude_deg":76.5307136,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":37,"speed":0,"hex_longitude":"2d9da900","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324901888001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086132512953513984,"note":"Value kept but may cause issues"} 
[2026-08-11 10:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786425419000,"timestamp_ms":1786425419000,"timestamp_seconds":1786425419,"priority":1,"record_length":96,"hex_timestamp":"0000019fef40a4f8"} 
[2026-08-11 10:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-11 10:47:57] 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-08-11 10: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-08-11 10:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:47:57] 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-08-11 10:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324901888001,"66":27865,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7086132512953513984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324901888001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:47:57] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:47:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086132512953513984,"description":"Unknown IO ID 45"} 
[2026-08-11 10:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324901888001,"power":27865,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7086132512953513984}} 
[2026-08-11 10:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":154843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:47:57] local.INFO: GPS data processed {"connection_id":154843,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:47:57] local.INFO: Acknowledgment sent {"connection_id":154843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:48:18] local.INFO: TCP Data received {"connection_id":153462,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:48:18] local.INFO: Processing buffer {"connection_id":153462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:48:18] local.INFO: IMEI packet received {"connection_id":153462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":153462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:48:19] local.INFO: TCP Data received {"connection_id":153462,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:48:19] local.INFO: Processing buffer {"connection_id":153462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:48:19] local.INFO: IMEI packet received {"connection_id":153462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":153462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:48:19] local.INFO: TCP Data received {"connection_id":153462,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:48:19] local.INFO: Processing buffer {"connection_id":153462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:48:19] local.INFO: IMEI packet received {"connection_id":153462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":153462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:48:25] local.INFO: TCP Data received {"connection_id":153462,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:48:25] local.INFO: Processing buffer {"connection_id":153462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:48:25] local.INFO: IMEI packet received {"connection_id":153462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":153462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:48:25] local.INFO: TCP Data received {"connection_id":153462,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef40f700012d9da90005fe0f48001d00972b..."} 
[2026-08-11 10:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef40f700012d9da90005fe0f48001d00972b..."} 
[2026-08-11 10:48:25] local.INFO: Processing buffer {"connection_id":153462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef40f700012d9da90005fe0f48001d00972b..."} 
[2026-08-11 10:48:25] local.INFO: Packet analysis {"connection_id":153462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef40"} 
[2026-08-11 10:48:25] local.INFO: Extracted packet for processing {"connection_id":153462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef40"} 
[2026-08-11 10:48:25] local.INFO: GPS Element Parsed {"raw_longitude":765307136,"raw_latitude":100536136,"longitude_deg":76.5307136,"latitude_deg":10.0536136,"altitude":29,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d9da900","hex_latitude":"05fe0f48","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324907264001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352094299979776,"note":"Value kept but may cause issues"} 
[2026-08-11 10:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086132512953513984,"note":"Value kept but may cause issues"} 
[2026-08-11 10:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786425440000,"timestamp_ms":1786425440000,"timestamp_seconds":1786425440,"priority":1,"record_length":96,"hex_timestamp":"0000019fef40f700"} 
[2026-08-11 10:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 10:48:25] 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-08-11 10: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-08-11 10:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:48:25] 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-08-11 10:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324907264001,"66":27832,"201":206,"88":20992,"24":0,"16":377352094299979776,"45":-7086132512953513984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324907264001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:48:25] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:48:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352094299979776,"km_value":377352094299979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086132512953513984,"description":"Unknown IO ID 45"} 
[2026-08-11 10:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324907264001,"power":27832,"unknown_201":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7086132512953513984}} 
[2026-08-11 10:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":153462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:48:25] local.INFO: GPS data processed {"connection_id":153462,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:48:25] local.INFO: Acknowledgment sent {"connection_id":153462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:48:56] local.INFO: TCP Data received {"connection_id":153462,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef414520012d9da8c005fe0d88001800bd2c..."} 
[2026-08-11 10:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef414520012d9da8c005fe0d88001800bd2c..."} 
[2026-08-11 10:48:56] local.INFO: Processing buffer {"connection_id":153462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef414520012d9da8c005fe0d88001800bd2c..."} 
[2026-08-11 10:48:56] local.INFO: Packet analysis {"connection_id":153462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef41"} 
[2026-08-11 10:48:56] local.INFO: Extracted packet for processing {"connection_id":153462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef41"} 
[2026-08-11 10:48:56] local.INFO: GPS Element Parsed {"raw_longitude":765307072,"raw_latitude":100535688,"longitude_deg":76.5307072,"latitude_deg":10.0535688,"altitude":24,"angle":189,"satellites":44,"speed":4,"hex_longitude":"2d9da8c0","hex_latitude":"05fe0d88","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324912640001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352115774816256,"note":"Value kept but may cause issues"} 
[2026-08-11 10:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086132512953513984,"note":"Value kept but may cause issues"} 
[2026-08-11 10:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786425460000,"timestamp_ms":1786425460000,"timestamp_seconds":1786425460,"priority":1,"record_length":96,"hex_timestamp":"0000019fef414520"} 
[2026-08-11 10:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 10:48:56] 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-08-11 10: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-08-11 10:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:48:56] 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-08-11 10:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324912640001,"66":27832,"229":206,"88":20992,"24":4,"16":377352115774816256,"45":-7086132512953513984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,88,24,16,45]} 
[2026-08-11 10:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324912640001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:48:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 10:48:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352115774816256,"km_value":377352115774816.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086132512953513984,"description":"Unknown IO ID 45"} 
[2026-08-11 10:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324912640001,"power":27832,"unknown_229":206,"unknown_88":20992,"ignition":4,"odometer":null,"unknown_45":-7086132512953513984}} 
[2026-08-11 10:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":153462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:48:56] local.INFO: GPS data processed {"connection_id":153462,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:48:56] local.INFO: Acknowledgment sent {"connection_id":153462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:49:20] local.INFO: TCP Data received {"connection_id":152509,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:49:20] local.INFO: Processing buffer {"connection_id":152509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:49:20] local.INFO: IMEI packet received {"connection_id":152509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":152509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:49:21] local.INFO: TCP Data received {"connection_id":152509,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:49:21] local.INFO: Processing buffer {"connection_id":152509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:49:21] local.INFO: IMEI packet received {"connection_id":152509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":152509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:49:37] local.INFO: TCP Data received {"connection_id":152509,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:49:37] local.INFO: Processing buffer {"connection_id":152509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:49:37] local.INFO: IMEI packet received {"connection_id":152509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":152509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:49:38] local.INFO: TCP Data received {"connection_id":152509,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef414908012d9da8c005fe0cf0001800b02d..."} 
[2026-08-11 10:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef414908012d9da8c005fe0cf0001800b02d..."} 
[2026-08-11 10:49:38] local.INFO: Processing buffer {"connection_id":152509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef414908012d9da8c005fe0cf0001800b02d..."} 
[2026-08-11 10:49:38] local.INFO: Packet analysis {"connection_id":152509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef41"} 
[2026-08-11 10:49:38] local.INFO: Extracted packet for processing {"connection_id":152509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef41"} 
[2026-08-11 10:49:38] local.INFO: GPS Element Parsed {"raw_longitude":765307072,"raw_latitude":100535536,"longitude_deg":76.5307072,"latitude_deg":10.0535536,"altitude":24,"angle":176,"satellites":45,"speed":8,"hex_longitude":"2d9da8c0","hex_latitude":"05fe0cf0","is_valid_coordinates":true} 
[2026-08-11 10:49: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-08-11 10:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324917760001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352124364750848,"note":"Value kept but may cause issues"} 
[2026-08-11 10:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086202881697806336,"note":"Value kept but may cause issues"} 
[2026-08-11 10:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786425461000,"timestamp_ms":1786425461000,"timestamp_seconds":1786425461,"priority":1,"record_length":96,"hex_timestamp":"0000019fef414908"} 
[2026-08-11 10:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 10:49:38] 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-08-11 10: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-08-11 10:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:49:38] 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-08-11 10:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324917760001,"66":27484,"229":206,"88":20992,"24":8,"16":377352124364750848,"45":-7086202881697806336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,88,24,16,45]} 
[2026-08-11 10:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324917760001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:49:38] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 10:49:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352124364750848,"km_value":377352124364750.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086202881697806336,"description":"Unknown IO ID 45"} 
[2026-08-11 10:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324917760001,"power":27484,"unknown_229":206,"unknown_88":20992,"ignition":8,"odometer":null,"unknown_45":-7086202881697806336}} 
[2026-08-11 10:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":152509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:49:38] local.INFO: GPS data processed {"connection_id":152509,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:49:38] local.INFO: Acknowledgment sent {"connection_id":152509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:49:38] local.INFO: TCP Data received {"connection_id":152509,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef418f58012d9dae8005fde848001a00aa2f..."} 
[2026-08-11 10:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef418f58012d9dae8005fde848001a00aa2f..."} 
[2026-08-11 10:49:38] local.INFO: Processing buffer {"connection_id":152509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef418f58012d9dae8005fde848001a00aa2f..."} 
[2026-08-11 10:49:38] local.INFO: Packet analysis {"connection_id":152509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef41"} 
[2026-08-11 10:49:38] local.INFO: Extracted packet for processing {"connection_id":152509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef41"} 
[2026-08-11 10:49:38] local.INFO: GPS Element Parsed {"raw_longitude":765308544,"raw_latitude":100526152,"longitude_deg":76.5308544,"latitude_deg":10.0526152,"altitude":26,"angle":170,"satellites":47,"speed":33,"hex_longitude":"2d9dae80","hex_latitude":"05fde848","is_valid_coordinates":true} 
[2026-08-11 10:49: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-08-11 10:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324918016001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377352588221218816,"note":"Value kept but may cause issues"} 
[2026-08-11 10:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086202881697845248,"note":"Value kept but may cause issues"} 
[2026-08-11 10:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786425479000,"timestamp_ms":1786425479000,"timestamp_seconds":1786425479,"priority":1,"record_length":96,"hex_timestamp":"0000019fef418f58"} 
[2026-08-11 10:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 10:49:38] 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-08-11 10: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-08-11 10:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:49:38] 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-08-11 10:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324918016001,"66":27919,"229":206,"88":20992,"24":33,"16":377352588221218816,"45":-7086202881697845248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,88,24,16,45]} 
[2026-08-11 10:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324918016001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:49:38] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 10:49:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377352588221218816,"km_value":377352588221218.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086202881697845248,"description":"Unknown IO ID 45"} 
[2026-08-11 10:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324918016001,"power":27919,"unknown_229":206,"unknown_88":20992,"ignition":33,"odometer":null,"unknown_45":-7086202881697845248}} 
[2026-08-11 10:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":152509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:49:38] local.INFO: GPS data processed {"connection_id":152509,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:49:38] local.INFO: Acknowledgment sent {"connection_id":152509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:50:19] local.INFO: TCP Data received {"connection_id":154844,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:50:19] local.INFO: Processing buffer {"connection_id":154844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:50:19] local.INFO: IMEI packet received {"connection_id":154844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":154844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:50:25] local.INFO: TCP Data received {"connection_id":154844,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:50:25] local.INFO: Processing buffer {"connection_id":154844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:50:25] local.INFO: IMEI packet received {"connection_id":154844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":154844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:50:26] local.INFO: TCP Data received {"connection_id":154844,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef42e330012d9e1b8005fcca78002200922d..."} 
[2026-08-11 10:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef42e330012d9e1b8005fcca78002200922d..."} 
[2026-08-11 10:50:26] local.INFO: Processing buffer {"connection_id":154844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef42e330012d9e1b8005fcca78002200922d..."} 
[2026-08-11 10:50:26] local.INFO: Packet analysis {"connection_id":154844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef42"} 
[2026-08-11 10:50:26] local.INFO: Extracted packet for processing {"connection_id":154844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef42"} 
[2026-08-11 10:50:26] local.INFO: GPS Element Parsed {"raw_longitude":765336448,"raw_latitude":100452984,"longitude_deg":76.5336448,"latitude_deg":10.0452984,"altitude":34,"angle":146,"satellites":45,"speed":28,"hex_longitude":"2d9e1b80","hex_latitude":"05fcca78","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324943360001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377356440806883328,"note":"Value kept but may cause issues"} 
[2026-08-11 10:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7056014690465746944,"note":"Value kept but may cause issues"} 
[2026-08-11 10:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786425566000,"timestamp_ms":1786425566000,"timestamp_seconds":1786425566,"priority":1,"record_length":96,"hex_timestamp":"0000019fef42e330"} 
[2026-08-11 10:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:50: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-08-11 10: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-08-11 10:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:50:26] 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-08-11 10:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324943360001,"66":27876,"230":206,"88":20992,"24":28,"16":377356440806883328,"45":-7056014690465746944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,88,24,16,45]} 
[2026-08-11 10:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324943360001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:50:26] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-11 10:50:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377356440806883328,"km_value":377356440806883.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7056014690465746944,"description":"Unknown IO ID 45"} 
[2026-08-11 10:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324943360001,"power":27876,"unknown_230":206,"unknown_88":20992,"ignition":28,"odometer":null,"unknown_45":-7056014690465746944}} 
[2026-08-11 10:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":154844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:50:26] local.INFO: GPS data processed {"connection_id":154844,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:50:26] local.INFO: Acknowledgment sent {"connection_id":154844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:50:57] local.INFO: TCP Data received {"connection_id":154844,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef42f2d0012d9e22c005fcc270002200842d..."} 
[2026-08-11 10:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef42f2d0012d9e22c005fcc270002200842d..."} 
[2026-08-11 10:50:57] local.INFO: Processing buffer {"connection_id":154844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef42f2d0012d9e22c005fcc270002200842d..."} 
[2026-08-11 10:50:57] local.INFO: Packet analysis {"connection_id":154844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef42"} 
[2026-08-11 10:50:57] local.INFO: Extracted packet for processing {"connection_id":154844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef42"} 
[2026-08-11 10:50:57] local.INFO: GPS Element Parsed {"raw_longitude":765338304,"raw_latitude":100450928,"longitude_deg":76.5338304,"latitude_deg":10.0450928,"altitude":34,"angle":132,"satellites":45,"speed":26,"hex_longitude":"2d9e22c0","hex_latitude":"05fcc270","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324944896001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377356573950869504,"note":"Value kept but may cause issues"} 
[2026-08-11 10:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7053903628141430784,"note":"Value kept but may cause issues"} 
[2026-08-11 10:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786425570000,"timestamp_ms":1786425570000,"timestamp_seconds":1786425570,"priority":1,"record_length":96,"hex_timestamp":"0000019fef42f2d0"} 
[2026-08-11 10:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 10:50:57] 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-08-11 10: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-08-11 10:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:50:57] 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-08-11 10:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324944896001,"66":27800,"230":206,"88":20992,"24":26,"16":377356573950869504,"45":-7053903628141430784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,88,24,16,45]} 
[2026-08-11 10:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324944896001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:50:57] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-11 10:50:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377356573950869504,"km_value":377356573950869.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7053903628141430784,"description":"Unknown IO ID 45"} 
[2026-08-11 10:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324944896001,"power":27800,"unknown_230":206,"unknown_88":20992,"ignition":26,"odometer":null,"unknown_45":-7053903628141430784}} 
[2026-08-11 10:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":154844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:50:57] local.INFO: GPS data processed {"connection_id":154844,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:50:57] local.INFO: Acknowledgment sent {"connection_id":154844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:51:19] local.INFO: TCP Data received {"connection_id":153463,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:51:19] local.INFO: Processing buffer {"connection_id":153463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:51:19] local.INFO: IMEI packet received {"connection_id":153463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":153463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:51:26] local.INFO: TCP Data received {"connection_id":153463,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:51:26] local.INFO: Processing buffer {"connection_id":153463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:51:26] local.INFO: IMEI packet received {"connection_id":153463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":153463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:51:41] local.INFO: TCP Data received {"connection_id":153463,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef431210012d9e358005fcb5500022007819..."} 
[2026-08-11 10:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef431210012d9e358005fcb5500022007819..."} 
[2026-08-11 10:51:41] local.INFO: Processing buffer {"connection_id":153463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef431210012d9e358005fcb5500022007819..."} 
[2026-08-11 10:51:41] local.INFO: Packet analysis {"connection_id":153463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef43"} 
[2026-08-11 10:51:41] local.INFO: Extracted packet for processing {"connection_id":153463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef43"} 
[2026-08-11 10:51:41] local.INFO: GPS Element Parsed {"raw_longitude":765343104,"raw_latitude":100447568,"longitude_deg":76.5343104,"latitude_deg":10.0447568,"altitude":34,"angle":120,"satellites":25,"speed":31,"hex_longitude":"2d9e3580","hex_latitude":"05fcb550","is_valid_coordinates":true} 
[2026-08-11 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-08-11 10:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324945920001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377356857418711040,"note":"Value kept but may cause issues"} 
[2026-08-11 10:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7051862934560804864,"note":"Value kept but may cause issues"} 
[2026-08-11 10:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786425578000,"timestamp_ms":1786425578000,"timestamp_seconds":1786425578,"priority":1,"record_length":96,"hex_timestamp":"0000019fef431210"} 
[2026-08-11 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-08-11 10:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 10:51:41] 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-08-11 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-08-11 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-08-11 10:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:51:41] 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-08-11 10:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324945920001,"66":27930,"230":206,"88":20992,"24":31,"16":377356857418711040,"45":-7051862934560804864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,88,24,16,45]} 
[2026-08-11 10:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324945920001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:51:41] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-11 10:51:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377356857418711040,"km_value":377356857418711.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7051862934560804864,"description":"Unknown IO ID 45"} 
[2026-08-11 10:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324945920001,"power":27930,"unknown_230":206,"unknown_88":20992,"ignition":31,"odometer":null,"unknown_45":-7051862934560804864}} 
[2026-08-11 10:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":153463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:51:41] local.INFO: GPS data processed {"connection_id":153463,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:51:41] local.INFO: Acknowledgment sent {"connection_id":153463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:52:25] local.INFO: TCP Data received {"connection_id":152510,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:52:25] local.INFO: Processing buffer {"connection_id":152510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:52:25] local.INFO: IMEI packet received {"connection_id":152510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":152510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:52:31] local.INFO: TCP Data received {"connection_id":152510,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:52:31] local.INFO: Processing buffer {"connection_id":152510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:52:31] local.INFO: IMEI packet received {"connection_id":152510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":152510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:52:35] local.INFO: TCP Data received {"connection_id":152510,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef448910012d9f2e8005fbc2500025007f2b..."} 
[2026-08-11 10:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef448910012d9f2e8005fbc2500025007f2b..."} 
[2026-08-11 10:52:35] local.INFO: Processing buffer {"connection_id":152510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef448910012d9f2e8005fbc2500025007f2b..."} 
[2026-08-11 10:52:35] local.INFO: Packet analysis {"connection_id":152510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef44"} 
[2026-08-11 10:52:35] local.INFO: Extracted packet for processing {"connection_id":152510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef44"} 
[2026-08-11 10:52:35] local.INFO: GPS Element Parsed {"raw_longitude":765406848,"raw_latitude":100385360,"longitude_deg":76.5406848,"latitude_deg":10.038536,"altitude":37,"angle":127,"satellites":43,"speed":50,"hex_longitude":"2d9f2e80","hex_latitude":"05fbc250","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324970496001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377361191040712704,"note":"Value kept but may cause issues"} 
[2026-08-11 10:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6984942258863192064,"note":"Value kept but may cause issues"} 
[2026-08-11 10:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786425674000,"timestamp_ms":1786425674000,"timestamp_seconds":1786425674,"priority":1,"record_length":96,"hex_timestamp":"0000019fef448910"} 
[2026-08-11 10:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":217,"data_length":795,"current_offset":136} 
[2026-08-11 10:52: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-08-11 10: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-08-11 10:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:52: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-08-11 10:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324970496001,"66":27832,"201":206,"88":20992,"24":50,"16":377361191040712704,"45":-6984942258863192064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,88,24,16,45]} 
[2026-08-11 10:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324970496001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:52:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-11 10:52:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377361191040712704,"km_value":377361191040712.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6984942258863192064,"description":"Unknown IO ID 45"} 
[2026-08-11 10:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324970496001,"power":27832,"unknown_201":206,"unknown_88":20992,"ignition":50,"odometer":null,"unknown_45":-6984942258863192064}} 
[2026-08-11 10:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":152510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:52:35] local.INFO: GPS data processed {"connection_id":152510,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:52:35] local.INFO: Acknowledgment sent {"connection_id":152510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:53:20] local.INFO: TCP Data received {"connection_id":152125,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:53:20] local.INFO: Processing buffer {"connection_id":152125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:53:20] local.INFO: IMEI packet received {"connection_id":152125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":152125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:53:23] local.INFO: TCP Data received {"connection_id":152125,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:53:23] local.INFO: Processing buffer {"connection_id":152125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:53:23] local.INFO: IMEI packet received {"connection_id":152125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":152125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:53:25] local.INFO: TCP Data received {"connection_id":152125,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:53:25] local.INFO: Processing buffer {"connection_id":152125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:53:25] local.INFO: IMEI packet received {"connection_id":152125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":152125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:53:27] local.INFO: TCP Data received {"connection_id":152125,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef458310012da00c4005fb1798001e00962b..."} 
[2026-08-11 10:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef458310012da00c4005fb1798001e00962b..."} 
[2026-08-11 10:53:27] local.INFO: Processing buffer {"connection_id":152125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef458310012da00c4005fb1798001e00962b..."} 
[2026-08-11 10:53:27] local.INFO: Packet analysis {"connection_id":152125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef45"} 
[2026-08-11 10:53:27] local.INFO: Extracted packet for processing {"connection_id":152125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef45"} 
[2026-08-11 10:53:27] local.INFO: GPS Element Parsed {"raw_longitude":765463616,"raw_latitude":100341656,"longitude_deg":76.5463616,"latitude_deg":10.0341656,"altitude":30,"angle":150,"satellites":43,"speed":31,"hex_longitude":"2da00c40","hex_latitude":"05fb1798","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324988928001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377364738683699200,"note":"Value kept but may cause issues"} 
[2026-08-11 10:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6914080933488912384,"note":"Value kept but may cause issues"} 
[2026-08-11 10:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786425738000,"timestamp_ms":1786425738000,"timestamp_seconds":1786425738,"priority":1,"record_length":96,"hex_timestamp":"0000019fef458310"} 
[2026-08-11 10:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 10:53:27] 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-08-11 10: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-08-11 10:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:53:27] 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-08-11 10:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324988928001,"66":27865,"183":206,"88":20992,"24":31,"16":377364738683699200,"45":-6914080933488912384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-08-11 10:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324988928001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:53:27] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-11 10:53:27] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377364738683699200,"km_value":377364738683699.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6914080933488912384,"description":"Unknown IO ID 45"} 
[2026-08-11 10:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324988928001,"power":27865,"unknown_183":206,"unknown_88":20992,"ignition":31,"odometer":null,"unknown_45":-6914080933488912384}} 
[2026-08-11 10:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":152125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:53:27] local.INFO: GPS data processed {"connection_id":152125,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:53:27] local.INFO: Acknowledgment sent {"connection_id":152125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:53:31] local.INFO: TCP Data received {"connection_id":152125,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef45aa20012da0214005fafa08001d008b2d..."} 
[2026-08-11 10:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef45aa20012da0214005fafa08001d008b2d..."} 
[2026-08-11 10:53:31] local.INFO: Processing buffer {"connection_id":152125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef45aa20012da0214005fafa08001d008b2d..."} 
[2026-08-11 10:53:31] local.INFO: Packet analysis {"connection_id":152125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef45"} 
[2026-08-11 10:53:31] local.INFO: Extracted packet for processing {"connection_id":152125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef45"} 
[2026-08-11 10:53:31] local.INFO: GPS Element Parsed {"raw_longitude":765468992,"raw_latitude":100334088,"longitude_deg":76.5468992,"latitude_deg":10.0334088,"altitude":29,"angle":139,"satellites":45,"speed":39,"hex_longitude":"2da02140","hex_latitude":"05fafa08","is_valid_coordinates":true} 
[2026-08-11 10:53: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-08-11 10:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324988928001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377365189655265280,"note":"Value kept but may cause issues"} 
[2026-08-11 10:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6914080933488912384,"note":"Value kept but may cause issues"} 
[2026-08-11 10:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786425748000,"timestamp_ms":1786425748000,"timestamp_seconds":1786425748,"priority":1,"record_length":96,"hex_timestamp":"0000019fef45aa20"} 
[2026-08-11 10:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10:53: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":217,"data_length":795,"current_offset":136} 
[2026-08-11 10:53:31] 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-08-11 10:53: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-08-11 10:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:53:31] 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-08-11 10:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324988928001,"66":27843,"183":206,"88":20992,"24":39,"16":377365189655265280,"45":-6914080933488912384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-08-11 10:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324988928001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:53:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-11 10:53:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377365189655265280,"km_value":377365189655265.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6914080933488912384,"description":"Unknown IO ID 45"} 
[2026-08-11 10:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324988928001,"power":27843,"unknown_183":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-6914080933488912384}} 
[2026-08-11 10:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":152125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:53:31] local.INFO: GPS data processed {"connection_id":152125,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:53:31] local.INFO: Acknowledgment sent {"connection_id":152125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:54:03] local.INFO: TCP Data received {"connection_id":152125,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef45aa20012da0214005fafa08001d008b2d..."} 
[2026-08-11 10:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef45aa20012da0214005fafa08001d008b2d..."} 
[2026-08-11 10:54:03] local.INFO: Processing buffer {"connection_id":152125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef45aa20012da0214005fafa08001d008b2d..."} 
[2026-08-11 10:54:03] local.INFO: Packet analysis {"connection_id":152125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef45"} 
[2026-08-11 10:54:03] local.INFO: Extracted packet for processing {"connection_id":152125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef45"} 
[2026-08-11 10:54:03] local.INFO: GPS Element Parsed {"raw_longitude":765468992,"raw_latitude":100334088,"longitude_deg":76.5468992,"latitude_deg":10.0334088,"altitude":29,"angle":139,"satellites":45,"speed":39,"hex_longitude":"2da02140","hex_latitude":"05fafa08","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324991488001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377365189655265280,"note":"Value kept but may cause issues"} 
[2026-08-11 10:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6908169958979926016,"note":"Value kept but may cause issues"} 
[2026-08-11 10:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786425748000,"timestamp_ms":1786425748000,"timestamp_seconds":1786425748,"priority":1,"record_length":96,"hex_timestamp":"0000019fef45aa20"} 
[2026-08-11 10:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 10:54: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-08-11 10: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-08-11 10:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:54:03] 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-08-11 10:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324991488001,"66":27843,"183":206,"88":20992,"24":39,"16":377365189655265280,"45":-6908169958979926016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-08-11 10:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324991488001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:54:03] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-11 10:54:03] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377365189655265280,"km_value":377365189655265.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6908169958979926016,"description":"Unknown IO ID 45"} 
[2026-08-11 10:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324991488001,"power":27843,"unknown_183":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-6908169958979926016}} 
[2026-08-11 10:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":152125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:54:03] local.INFO: GPS data processed {"connection_id":152125,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:54:03] local.INFO: Acknowledgment sent {"connection_id":152125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:54:19] local.INFO: TCP Data received {"connection_id":152126,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:54:19] local.INFO: Processing buffer {"connection_id":152126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:54:19] local.INFO: IMEI packet received {"connection_id":152126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":152126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:54:19] local.INFO: TCP Data received {"connection_id":152126,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:54:19] local.INFO: Processing buffer {"connection_id":152126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:54:19] local.INFO: IMEI packet received {"connection_id":152126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":152126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:54:24] local.INFO: TCP Data received {"connection_id":152126,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:54:24] local.INFO: Processing buffer {"connection_id":152126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:54:24] local.INFO: IMEI packet received {"connection_id":152126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":152126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:54:26] local.INFO: TCP Data received {"connection_id":152126,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef45cd48012da039c005faddb0001d00892d..."} 
[2026-08-11 10:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef45cd48012da039c005faddb0001d00892d..."} 
[2026-08-11 10:54:26] local.INFO: Processing buffer {"connection_id":152126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef45cd48012da039c005faddb0001d00892d..."} 
[2026-08-11 10:54:26] local.INFO: Packet analysis {"connection_id":152126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef45"} 
[2026-08-11 10:54:26] local.INFO: Extracted packet for processing {"connection_id":152126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef45"} 
[2026-08-11 10:54:26] local.INFO: GPS Element Parsed {"raw_longitude":765475264,"raw_latitude":100326832,"longitude_deg":76.5475264,"latitude_deg":10.0326832,"altitude":29,"angle":137,"satellites":45,"speed":43,"hex_longitude":"2da039c0","hex_latitude":"05faddb0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 10:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324991488001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377365649216765952,"note":"Value kept but may cause issues"} 
[2026-08-11 10:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6908169958979926016,"note":"Value kept but may cause issues"} 
[2026-08-11 10:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786425757000,"timestamp_ms":1786425757000,"timestamp_seconds":1786425757,"priority":1,"record_length":96,"hex_timestamp":"0000019fef45cd48"} 
[2026-08-11 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-08-11 10:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 10:54:26] 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-08-11 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-08-11 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-08-11 10:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:54:26] 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-08-11 10:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324991488001,"66":27908,"183":206,"88":20992,"24":43,"16":377365649216765952,"45":-6908169958979926016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-08-11 10:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324991488001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:54:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-11 10:54:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377365649216765952,"km_value":377365649216765.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6908169958979926016,"description":"Unknown IO ID 45"} 
[2026-08-11 10:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324991488001,"power":27908,"unknown_183":206,"unknown_88":20992,"ignition":43,"odometer":null,"unknown_45":-6908169958979926016}} 
[2026-08-11 10:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":152126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:54:26] local.INFO: GPS data processed {"connection_id":152126,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:54:26] local.INFO: Acknowledgment sent {"connection_id":152126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:55:21] local.INFO: TCP Data received {"connection_id":152127,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:55:21] local.INFO: Processing buffer {"connection_id":152127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:55:21] local.INFO: IMEI packet received {"connection_id":152127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":152127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:55:25] local.INFO: TCP Data received {"connection_id":152127,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:55:25] local.INFO: Processing buffer {"connection_id":152127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:55:25] local.INFO: IMEI packet received {"connection_id":152127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":152127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:55:26] local.INFO: TCP Data received {"connection_id":152127,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef474060012da1418005f9f2b00028006d2e..."} 
[2026-08-11 10:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef474060012da1418005f9f2b00028006d2e..."} 
[2026-08-11 10:55:26] local.INFO: Processing buffer {"connection_id":152127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef474060012da1418005f9f2b00028006d2e..."} 
[2026-08-11 10:55:26] local.INFO: Packet analysis {"connection_id":152127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef47"} 
[2026-08-11 10:55:26] local.INFO: Extracted packet for processing {"connection_id":152127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef47"} 
[2026-08-11 10:55:26] local.INFO: GPS Element Parsed {"raw_longitude":765542784,"raw_latitude":100266672,"longitude_deg":76.5542784,"latitude_deg":10.0266672,"altitude":40,"angle":109,"satellites":46,"speed":40,"hex_longitude":"2da14180","hex_latitude":"05f9f2b0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 10:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325015552001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377370236241838080,"note":"Value kept but may cause issues"} 
[2026-08-11 10:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6837167896121110528,"note":"Value kept but may cause issues"} 
[2026-08-11 10:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786425852000,"timestamp_ms":1786425852000,"timestamp_seconds":1786425852,"priority":1,"record_length":96,"hex_timestamp":"0000019fef474060"} 
[2026-08-11 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-08-11 10:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 10:55:26] 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-08-11 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-08-11 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-08-11 10:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:55:26] 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-08-11 10:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325015552001,"66":27908,"183":206,"88":20992,"24":40,"16":377370236241838080,"45":-6837167896121110528},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-08-11 10:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325015552001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:55:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-11 10:55:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377370236241838080,"km_value":377370236241838.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6837167896121110528,"description":"Unknown IO ID 45"} 
[2026-08-11 10:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325015552001,"power":27908,"unknown_183":206,"unknown_88":20992,"ignition":40,"odometer":null,"unknown_45":-6837167896121110528}} 
[2026-08-11 10:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":152127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:55:26] local.INFO: GPS data processed {"connection_id":152127,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:55:26] local.INFO: Acknowledgment sent {"connection_id":152127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:55:56] local.INFO: TCP Data received {"connection_id":152127,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef476388012da1634005f9e590002600782e..."} 
[2026-08-11 10:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef476388012da1634005f9e590002600782e..."} 
[2026-08-11 10:55:56] local.INFO: Processing buffer {"connection_id":152127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef476388012da1634005f9e590002600782e..."} 
[2026-08-11 10:55:56] local.INFO: Packet analysis {"connection_id":152127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef47"} 
[2026-08-11 10:55:56] local.INFO: Extracted packet for processing {"connection_id":152127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef47"} 
[2026-08-11 10:55:56] local.INFO: GPS Element Parsed {"raw_longitude":765551424,"raw_latitude":100263312,"longitude_deg":76.5551424,"latitude_deg":10.0263312,"altitude":38,"angle":120,"satellites":46,"speed":39,"hex_longitude":"2da16340","hex_latitude":"05f9e590","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325018112001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377370682918436864,"note":"Value kept but may cause issues"} 
[2026-08-11 10:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6827034796960337920,"note":"Value kept but may cause issues"} 
[2026-08-11 10:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786425861000,"timestamp_ms":1786425861000,"timestamp_seconds":1786425861,"priority":1,"record_length":96,"hex_timestamp":"0000019fef476388"} 
[2026-08-11 10:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:55:56] 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-08-11 10: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-08-11 10:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:55:56] 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-08-11 10:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325018112001,"66":27821,"183":206,"88":20992,"24":39,"16":377370682918436864,"45":-6827034796960337920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-08-11 10:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325018112001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:55:56] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-11 10:55:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377370682918436864,"km_value":377370682918436.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6827034796960337920,"description":"Unknown IO ID 45"} 
[2026-08-11 10:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325018112001,"power":27821,"unknown_183":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-6827034796960337920}} 
[2026-08-11 10:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":152127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:55:56] local.INFO: GPS data processed {"connection_id":152127,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:55:56] local.INFO: Acknowledgment sent {"connection_id":152127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:56:12] local.INFO: TCP Data received {"connection_id":152126,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef45e8a0012da04c8005fac558001d00952e..."} 
[2026-08-11 10:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef45e8a0012da04c8005fac558001d00952e..."} 
[2026-08-11 10:56:12] local.INFO: Processing buffer {"connection_id":152126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef45e8a0012da04c8005fac558001d00952e..."} 
[2026-08-11 10:56:12] local.INFO: Packet analysis {"connection_id":152126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef45"} 
[2026-08-11 10:56:12] local.INFO: Extracted packet for processing {"connection_id":152126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef45"} 
[2026-08-11 10:56:12] local.INFO: GPS Element Parsed {"raw_longitude":765480064,"raw_latitude":100320600,"longitude_deg":76.5480064,"latitude_deg":10.03206,"altitude":29,"angle":149,"satellites":46,"speed":44,"hex_longitude":"2da04c80","hex_latitude":"05fac558","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324993792001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377366031468855296,"note":"Value kept but may cause issues"} 
[2026-08-11 10:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6901273822052372480,"note":"Value kept but may cause issues"} 
[2026-08-11 10:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786425764000,"timestamp_ms":1786425764000,"timestamp_seconds":1786425764,"priority":1,"record_length":96,"hex_timestamp":"0000019fef45e8a0"} 
[2026-08-11 10:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:56: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-08-11 10: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-08-11 10:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:56:12] 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-08-11 10:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324993792001,"66":27800,"183":206,"88":20992,"24":44,"16":377366031468855296,"45":-6901273822052372480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-08-11 10:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324993792001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:56:12] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-11 10:56:12] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377366031468855296,"km_value":377366031468855.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6901273822052372480,"description":"Unknown IO ID 45"} 
[2026-08-11 10:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324993792001,"power":27800,"unknown_183":206,"unknown_88":20992,"ignition":44,"odometer":null,"unknown_45":-6901273822052372480}} 
[2026-08-11 10:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":152126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:56:12] local.INFO: GPS data processed {"connection_id":152126,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:56:12] local.INFO: Acknowledgment sent {"connection_id":152126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:56:23] local.INFO: TCP Data received {"connection_id":152128,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:56:23] local.INFO: Processing buffer {"connection_id":152128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:56:23] local.INFO: IMEI packet received {"connection_id":152128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":152128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:56:24] local.INFO: TCP Data received {"connection_id":152128,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:56:24] local.INFO: Processing buffer {"connection_id":152128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:56:24] local.INFO: IMEI packet received {"connection_id":152128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":152128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:56:34] local.INFO: TCP Data received {"connection_id":152128,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:56:34] local.INFO: Processing buffer {"connection_id":152128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:56:34] local.INFO: IMEI packet received {"connection_id":152128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":152128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:56:35] local.INFO: TCP Data received {"connection_id":152128,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef476b58012da16a0005f9e0d8002500842d..."} 
[2026-08-11 10:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef476b58012da16a0005f9e0d8002500842d..."} 
[2026-08-11 10:56:35] local.INFO: Processing buffer {"connection_id":152128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef476b58012da16a0005f9e0d8002500842d..."} 
[2026-08-11 10:56:35] local.INFO: Packet analysis {"connection_id":152128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef47"} 
[2026-08-11 10:56:35] local.INFO: Extracted packet for processing {"connection_id":152128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef47"} 
[2026-08-11 10:56:35] local.INFO: GPS Element Parsed {"raw_longitude":765553152,"raw_latitude":100262104,"longitude_deg":76.5553152,"latitude_deg":10.0262104,"altitude":37,"angle":132,"satellites":45,"speed":40,"hex_longitude":"2da16a00","hex_latitude":"05f9e0d8","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325020416001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377370781702684672,"note":"Value kept but may cause issues"} 
[2026-08-11 10:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6817535016497213440,"note":"Value kept but may cause issues"} 
[2026-08-11 10:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786425863000,"timestamp_ms":1786425863000,"timestamp_seconds":1786425863,"priority":1,"record_length":96,"hex_timestamp":"0000019fef476b58"} 
[2026-08-11 10:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":173,"data_length":795,"current_offset":136} 
[2026-08-11 10:56: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-08-11 10: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-08-11 10:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:56: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-08-11 10:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325020416001,"66":27876,"183":206,"88":20992,"24":40,"16":377370781702684672,"45":-6817535016497213440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-08-11 10:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325020416001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:56:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-11 10:56:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377370781702684672,"km_value":377370781702684.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6817535016497213440,"description":"Unknown IO ID 45"} 
[2026-08-11 10:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325020416001,"power":27876,"unknown_183":206,"unknown_88":20992,"ignition":40,"odometer":null,"unknown_45":-6817535016497213440}} 
[2026-08-11 10:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":152128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:56:35] local.INFO: GPS data processed {"connection_id":152128,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:56:35] local.INFO: Acknowledgment sent {"connection_id":152128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:56:36] local.INFO: TCP Data received {"connection_id":152128,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef4782c8012da1798005f9ce90002400902d..."} 
[2026-08-11 10:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef4782c8012da1798005f9ce90002400902d..."} 
[2026-08-11 10:56:36] local.INFO: Processing buffer {"connection_id":152128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef4782c8012da1798005f9ce90002400902d..."} 
[2026-08-11 10:56:36] local.INFO: Packet analysis {"connection_id":152128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef47"} 
[2026-08-11 10:56:36] local.INFO: Extracted packet for processing {"connection_id":152128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef47"} 
[2026-08-11 10:56:36] local.INFO: GPS Element Parsed {"raw_longitude":765557120,"raw_latitude":100257424,"longitude_deg":76.555712,"latitude_deg":10.0257424,"altitude":36,"angle":144,"satellites":45,"speed":40,"hex_longitude":"2da17980","hex_latitude":"05f9ce90","is_valid_coordinates":true} 
[2026-08-11 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-08-11 10:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325020928001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377371078055428096,"note":"Value kept but may cause issues"} 
[2026-08-11 10:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6815635060404725760,"note":"Value kept but may cause issues"} 
[2026-08-11 10:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786425869000,"timestamp_ms":1786425869000,"timestamp_seconds":1786425869,"priority":1,"record_length":96,"hex_timestamp":"0000019fef4782c8"} 
[2026-08-11 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-08-11 10:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 10: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-08-11 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-08-11 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-08-11 10:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:56:36] 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-08-11 10:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325020928001,"66":27800,"181":206,"88":20992,"24":40,"16":377371078055428096,"45":-6815635060404725760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,88,24,16,45]} 
[2026-08-11 10:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325020928001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:56:36] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-11 10:56:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377371078055428096,"km_value":377371078055428.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6815635060404725760,"description":"Unknown IO ID 45"} 
[2026-08-11 10:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325020928001,"power":27800,"unknown_181":206,"unknown_88":20992,"ignition":40,"odometer":null,"unknown_45":-6815635060404725760}} 
[2026-08-11 10:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":152128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:56:36] local.INFO: GPS data processed {"connection_id":152128,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:56:36] local.INFO: Acknowledgment sent {"connection_id":152128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:57:20] local.INFO: TCP Data received {"connection_id":153464,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:57:20] local.INFO: Processing buffer {"connection_id":153464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:57:20] local.INFO: IMEI packet received {"connection_id":153464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":153464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:57:26] local.INFO: TCP Data received {"connection_id":153464,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:57:26] local.INFO: Processing buffer {"connection_id":153464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:57:26] local.INFO: IMEI packet received {"connection_id":153464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":153464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:57:27] local.INFO: TCP Data received {"connection_id":153464,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef47a5f0012da18f8005f9b138002300892e..."} 
[2026-08-11 10:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef47a5f0012da18f8005f9b138002300892e..."} 
[2026-08-11 10:57:27] local.INFO: Processing buffer {"connection_id":153464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef47a5f0012da18f8005f9b138002300892e..."} 
[2026-08-11 10:57:27] local.INFO: Packet analysis {"connection_id":153464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef47"} 
[2026-08-11 10:57:27] local.INFO: Extracted packet for processing {"connection_id":153464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef47"} 
[2026-08-11 10:57:27] local.INFO: GPS Element Parsed {"raw_longitude":765562752,"raw_latitude":100249912,"longitude_deg":76.5562752,"latitude_deg":10.0249912,"altitude":35,"angle":137,"satellites":46,"speed":42,"hex_longitude":"2da18f80","hex_latitude":"05f9b138","is_valid_coordinates":true} 
[2026-08-11 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-08-11 10:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325022464001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377371533321961472,"note":"Value kept but may cause issues"} 
[2026-08-11 10:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6811272198266908672,"note":"Value kept but may cause issues"} 
[2026-08-11 10:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786425878000,"timestamp_ms":1786425878000,"timestamp_seconds":1786425878,"priority":1,"record_length":96,"hex_timestamp":"0000019fef47a5f0"} 
[2026-08-11 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-08-11 10:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 10:57: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-08-11 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-08-11 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-08-11 10:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:57:27] 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-08-11 10:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325022464001,"66":27843,"181":206,"88":20992,"24":42,"16":377371533321961472,"45":-6811272198266908672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,88,24,16,45]} 
[2026-08-11 10:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325022464001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:57:27] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-11 10:57:27] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-08-11 10:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377371533321961472,"km_value":377371533321961.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6811272198266908672,"description":"Unknown IO ID 45"} 
[2026-08-11 10:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325022464001,"power":27843,"unknown_181":206,"unknown_88":20992,"ignition":42,"odometer":null,"unknown_45":-6811272198266908672}} 
[2026-08-11 10:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":153464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:57:27] local.INFO: GPS data processed {"connection_id":153464,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:57:27] local.INFO: Acknowledgment sent {"connection_id":153464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:57:58] local.INFO: TCP Data received {"connection_id":153464,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef49ad78012da2a8c005f8b990002a00882d..."} 
[2026-08-11 10:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef49ad78012da2a8c005f8b990002a00882d..."} 
[2026-08-11 10:57:58] local.INFO: Processing buffer {"connection_id":153464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef49ad78012da2a8c005f8b990002a00882d..."} 
[2026-08-11 10:57:58] local.INFO: Packet analysis {"connection_id":153464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef49"} 
[2026-08-11 10:57:58] local.INFO: Extracted packet for processing {"connection_id":153464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef49"} 
[2026-08-11 10:57:58] local.INFO: GPS Element Parsed {"raw_longitude":765634752,"raw_latitude":100186512,"longitude_deg":76.5634752,"latitude_deg":10.0186512,"altitude":42,"angle":136,"satellites":45,"speed":4,"hex_longitude":"2da2a8c0","hex_latitude":"05f8b990","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325053440001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377376219131281408,"note":"Value kept but may cause issues"} 
[2026-08-11 10:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6728659292620011520,"note":"Value kept but may cause issues"} 
[2026-08-11 10:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786426011000,"timestamp_ms":1786426011000,"timestamp_seconds":1786426011,"priority":1,"record_length":96,"hex_timestamp":"0000019fef49ad78"} 
[2026-08-11 10:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 10:57:58] 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-08-11 10: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-08-11 10:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":153464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":153464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":153464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:57:58] 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-08-11 10:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325053440001,"66":27995,"103":206,"88":19456,"24":4,"16":377376219131281408,"45":-6728659292620011520},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,88,24,16,45]} 
[2026-08-11 10:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325053440001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:57:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 10:57:58] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 10:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377376219131281408,"km_value":377376219131281.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6728659292620011520,"description":"Unknown IO ID 45"} 
[2026-08-11 10:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325053440001,"power":27995,"unknown_103":206,"unknown_88":19456,"ignition":4,"odometer":null,"unknown_45":-6728659292620011520}} 
[2026-08-11 10:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":153464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:57:58] local.INFO: GPS data processed {"connection_id":153464,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:57:58] local.INFO: Acknowledgment sent {"connection_id":153464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:58:20] local.INFO: TCP Data received {"connection_id":154845,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:58:20] local.INFO: Processing buffer {"connection_id":154845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:58:20] local.INFO: IMEI packet received {"connection_id":154845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":154845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:58:25] local.INFO: TCP Data received {"connection_id":154845,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:58:25] local.INFO: Processing buffer {"connection_id":154845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:58:25] local.INFO: IMEI packet received {"connection_id":154845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":154845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:58:26] local.INFO: TCP Data received {"connection_id":154845,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef49e040012da2ab8005f8b708002b00962d..."} 
[2026-08-11 10:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef49e040012da2ab8005f8b708002b00962d..."} 
[2026-08-11 10:58:26] local.INFO: Processing buffer {"connection_id":154845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef49e040012da2ab8005f8b708002b00962d..."} 
[2026-08-11 10:58:26] local.INFO: Packet analysis {"connection_id":154845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef49"} 
[2026-08-11 10:58:26] local.INFO: Extracted packet for processing {"connection_id":154845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef49"} 
[2026-08-11 10:58:26] local.INFO: GPS Element Parsed {"raw_longitude":765635456,"raw_latitude":100185864,"longitude_deg":76.5635456,"latitude_deg":10.0185864,"altitude":43,"angle":150,"satellites":45,"speed":1,"hex_longitude":"2da2ab80","hex_latitude":"05f8b708","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325058816001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377376266375921664,"note":"Value kept but may cause issues"} 
[2026-08-11 10:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6725914911597555712,"note":"Value kept but may cause issues"} 
[2026-08-11 10:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786426024000,"timestamp_ms":1786426024000,"timestamp_seconds":1786426024,"priority":1,"record_length":96,"hex_timestamp":"0000019fef49e040"} 
[2026-08-11 10:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 10:58:26] 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-08-11 10: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-08-11 10:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:58:26] 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-08-11 10:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325058816001,"66":27908,"103":206,"88":19456,"24":1,"16":377376266375921664,"45":-6725914911597555712},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,88,24,16,45]} 
[2026-08-11 10:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325058816001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:58:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 10:58:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 10:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377376266375921664,"km_value":377376266375921.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6725914911597555712,"description":"Unknown IO ID 45"} 
[2026-08-11 10:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325058816001,"power":27908,"unknown_103":206,"unknown_88":19456,"ignition":1,"odometer":null,"unknown_45":-6725914911597555712}} 
[2026-08-11 10:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":154845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:58:26] local.INFO: GPS data processed {"connection_id":154845,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:58:26] local.INFO: Acknowledgment sent {"connection_id":154845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:58:57] local.INFO: TCP Data received {"connection_id":154845,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef49ebf8012da2ac8005f8b640002b00872e..."} 
[2026-08-11 10:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef49ebf8012da2ac8005f8b640002b00872e..."} 
[2026-08-11 10:58:57] local.INFO: Processing buffer {"connection_id":154845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef49ebf8012da2ac8005f8b640002b00872e..."} 
[2026-08-11 10:58:57] local.INFO: Packet analysis {"connection_id":154845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef49"} 
[2026-08-11 10:58:57] local.INFO: Extracted packet for processing {"connection_id":154845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef49"} 
[2026-08-11 10:58:57] local.INFO: GPS Element Parsed {"raw_longitude":765635712,"raw_latitude":100185664,"longitude_deg":76.5635712,"latitude_deg":10.0185664,"altitude":43,"angle":135,"satellites":46,"speed":3,"hex_longitude":"2da2ac80","hex_latitude":"05f8b640","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325062144001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377376283555790848,"note":"Value kept but may cause issues"} 
[2026-08-11 10:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6725140855411767296,"note":"Value kept but may cause issues"} 
[2026-08-11 10:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786426027000,"timestamp_ms":1786426027000,"timestamp_seconds":1786426027,"priority":1,"record_length":96,"hex_timestamp":"0000019fef49ebf8"} 
[2026-08-11 10:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:58: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-08-11 10: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-08-11 10:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:58:57] 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-08-11 10:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325062144001,"66":27908,"103":206,"88":19456,"24":3,"16":377376283555790848,"45":-6725140855411767296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,88,24,16,45]} 
[2026-08-11 10:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325062144001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:58:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 10:58:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 10:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377376283555790848,"km_value":377376283555790.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6725140855411767296,"description":"Unknown IO ID 45"} 
[2026-08-11 10:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325062144001,"power":27908,"unknown_103":206,"unknown_88":19456,"ignition":3,"odometer":null,"unknown_45":-6725140855411767296}} 
[2026-08-11 10:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":154845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:58:57] local.INFO: GPS data processed {"connection_id":154845,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:58:57] local.INFO: Acknowledgment sent {"connection_id":154845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:59:19] local.INFO: TCP Data received {"connection_id":152129,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:59:19] local.INFO: Processing buffer {"connection_id":152129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:59:19] local.INFO: IMEI packet received {"connection_id":152129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 10:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":152129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 10:59:19] local.INFO: TCP Data received {"connection_id":152129,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:59:19] local.INFO: Processing buffer {"connection_id":152129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:59:19] local.INFO: IMEI packet received {"connection_id":152129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":152129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:59:25] local.INFO: TCP Data received {"connection_id":152129,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:59:25] local.INFO: Processing buffer {"connection_id":152129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 10:59:25] local.INFO: IMEI packet received {"connection_id":152129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 10:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":152129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 10:59:25] local.INFO: TCP Data received {"connection_id":152129,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef4a3e00012da2b84005f8a930002c008830..."} 
[2026-08-11 10:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef4a3e00012da2b84005f8a930002c008830..."} 
[2026-08-11 10:59:25] local.INFO: Processing buffer {"connection_id":152129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef4a3e00012da2b84005f8a930002c008830..."} 
[2026-08-11 10:59:25] local.INFO: Packet analysis {"connection_id":152129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef4a"} 
[2026-08-11 10:59:25] local.INFO: Extracted packet for processing {"connection_id":152129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef4a"} 
[2026-08-11 10:59:25] local.INFO: GPS Element Parsed {"raw_longitude":765638720,"raw_latitude":100182320,"longitude_deg":76.563872,"latitude_deg":10.018232,"altitude":44,"angle":136,"satellites":48,"speed":0,"hex_longitude":"2da2b840","hex_latitude":"05f8a930","is_valid_coordinates":true} 
[2026-08-11 10: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-08-11 10:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325062912001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377376502599122944,"note":"Value kept but may cause issues"} 
[2026-08-11 10:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6724859380435107840,"note":"Value kept but may cause issues"} 
[2026-08-11 10:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786426048000,"timestamp_ms":1786426048000,"timestamp_seconds":1786426048,"priority":1,"record_length":96,"hex_timestamp":"0000019fef4a3e00"} 
[2026-08-11 10:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 10:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 10:59:25] 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-08-11 10: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-08-11 10:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 10:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:59:25] 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-08-11 10:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325062912001,"66":27919,"103":206,"88":19456,"24":0,"16":377376502599122944,"45":-6724859380435107840},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,88,24,16,45]} 
[2026-08-11 10:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325062912001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:59:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 10:59:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 10:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377376502599122944,"km_value":377376502599122.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6724859380435107840,"description":"Unknown IO ID 45"} 
[2026-08-11 10:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325062912001,"power":27919,"unknown_103":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6724859380435107840}} 
[2026-08-11 10:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":152129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:59:25] local.INFO: GPS data processed {"connection_id":152129,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:59:25] local.INFO: Acknowledgment sent {"connection_id":152129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 10:59:56] local.INFO: TCP Data received {"connection_id":152129,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef4a9008012da2c3c005f89ac0002a008d2f..."} 
[2026-08-11 10:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef4a9008012da2c3c005f89ac0002a008d2f..."} 
[2026-08-11 10:59:56] local.INFO: Processing buffer {"connection_id":152129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef4a9008012da2c3c005f89ac0002a008d2f..."} 
[2026-08-11 10:59:56] local.INFO: Packet analysis {"connection_id":152129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef4a"} 
[2026-08-11 10:59:56] local.INFO: Extracted packet for processing {"connection_id":152129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef4a"} 
[2026-08-11 10:59:56] local.INFO: GPS Element Parsed {"raw_longitude":765641664,"raw_latitude":100178624,"longitude_deg":76.5641664,"latitude_deg":10.0178624,"altitude":42,"angle":141,"satellites":47,"speed":13,"hex_longitude":"2da2c3c0","hex_latitude":"05f89ac0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 10:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325068288001,"note":"Value kept but may cause issues"} 
[2026-08-11 10:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377376730232389632,"note":"Value kept but may cause issues"} 
[2026-08-11 10:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6721552049459613696,"note":"Value kept but may cause issues"} 
[2026-08-11 10:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 10:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786426069000,"timestamp_ms":1786426069000,"timestamp_seconds":1786426069,"priority":1,"record_length":96,"hex_timestamp":"0000019fef4a9008"} 
[2026-08-11 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-08-11 10:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 10:59:56] 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-08-11 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-08-11 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-08-11 10:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 10:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 10:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 10:59:56] 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-08-11 10:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 10:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 10:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325068288001,"66":27843,"103":206,"88":19456,"24":13,"16":377376730232389632,"45":-6721552049459613696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,88,24,16,45]} 
[2026-08-11 10:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 10:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 10:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325068288001,"description":"Unknown IO ID 0"} 
[2026-08-11 10:59:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 10:59:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 10:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377376730232389632,"km_value":377376730232389.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 10:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6721552049459613696,"description":"Unknown IO ID 45"} 
[2026-08-11 10:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325068288001,"power":27843,"unknown_103":206,"unknown_88":19456,"ignition":13,"odometer":null,"unknown_45":-6721552049459613696}} 
[2026-08-11 10:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":152129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 10:59:56] local.INFO: GPS data processed {"connection_id":152129,"processed":1,"errors":0,"total":1} 
[2026-08-11 10:59:56] local.INFO: Acknowledgment sent {"connection_id":152129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:00:19] local.INFO: TCP Data received {"connection_id":153465,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:00:19] local.INFO: Processing buffer {"connection_id":153465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:00:19] local.INFO: IMEI packet received {"connection_id":153465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":153465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:00:19] local.INFO: TCP Data received {"connection_id":153465,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:00:19] local.INFO: Processing buffer {"connection_id":153465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:00:19] local.INFO: IMEI packet received {"connection_id":153465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":153465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:00:28] local.INFO: TCP Data received {"connection_id":153465,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:00:28] local.INFO: Processing buffer {"connection_id":153465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:00:28] local.INFO: IMEI packet received {"connection_id":153465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":153465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:00:33] local.INFO: TCP Data received {"connection_id":153465,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef4ace88012da2d90005f87ba80027009330..."} 
[2026-08-11 11:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef4ace88012da2d90005f87ba80027009330..."} 
[2026-08-11 11:00:33] local.INFO: Processing buffer {"connection_id":153465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef4ace88012da2d90005f87ba80027009330..."} 
[2026-08-11 11:00:33] local.INFO: Packet analysis {"connection_id":153465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef4a"} 
[2026-08-11 11:00:33] local.INFO: Extracted packet for processing {"connection_id":153465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef4a"} 
[2026-08-11 11:00:33] local.INFO: GPS Element Parsed {"raw_longitude":765647104,"raw_latitude":100170664,"longitude_deg":76.5647104,"latitude_deg":10.0170664,"altitude":39,"angle":147,"satellites":48,"speed":31,"hex_longitude":"2da2d900","hex_latitude":"05f87ba8","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325073664001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377377198383824896,"note":"Value kept but may cause issues"} 
[2026-08-11 11:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6718315087228387328,"note":"Value kept but may cause issues"} 
[2026-08-11 11:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786426085000,"timestamp_ms":1786426085000,"timestamp_seconds":1786426085,"priority":1,"record_length":96,"hex_timestamp":"0000019fef4ace88"} 
[2026-08-11 11:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 11:00: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-08-11 11: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-08-11 11:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":153465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":153465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":153465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:00:33] 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-08-11 11:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325073664001,"66":27767,"103":206,"88":19456,"24":31,"16":377377198383824896,"45":-6718315087228387328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,88,24,16,45]} 
[2026-08-11 11:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325073664001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:00:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 11:00:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377377198383824896,"km_value":377377198383824.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6718315087228387328,"description":"Unknown IO ID 45"} 
[2026-08-11 11:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325073664001,"power":27767,"unknown_103":206,"unknown_88":19456,"ignition":31,"odometer":null,"unknown_45":-6718315087228387328}} 
[2026-08-11 11:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":153465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:00:33] local.INFO: GPS data processed {"connection_id":153465,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:00:33] local.INFO: Acknowledgment sent {"connection_id":153465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:01:05] local.INFO: TCP Data received {"connection_id":153465,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef4b0150012da2eb8005f85b980027009a30..."} 
[2026-08-11 11:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef4b0150012da2eb8005f85b980027009a30..."} 
[2026-08-11 11:01:05] local.INFO: Processing buffer {"connection_id":153465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef4b0150012da2eb8005f85b980027009a30..."} 
[2026-08-11 11:01:05] local.INFO: Packet analysis {"connection_id":153465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef4b"} 
[2026-08-11 11:01:05] local.INFO: Extracted packet for processing {"connection_id":153465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef4b"} 
[2026-08-11 11:01:05] local.INFO: GPS Element Parsed {"raw_longitude":765651840,"raw_latitude":100162456,"longitude_deg":76.565184,"latitude_deg":10.0162456,"altitude":39,"angle":154,"satellites":48,"speed":23,"hex_longitude":"2da2eb80","hex_latitude":"05f85b98","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325077760001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377377657945325568,"note":"Value kept but may cause issues"} 
[2026-08-11 11:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6712333743975323648,"note":"Value kept but may cause issues"} 
[2026-08-11 11:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786426098000,"timestamp_ms":1786426098000,"timestamp_seconds":1786426098,"priority":1,"record_length":96,"hex_timestamp":"0000019fef4b0150"} 
[2026-08-11 11:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":119,"data_length":795,"current_offset":136} 
[2026-08-11 11:01: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-08-11 11: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-08-11 11:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:01:05] 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-08-11 11:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325077760001,"66":27919,"103":206,"88":19456,"24":23,"16":377377657945325568,"45":-6712333743975323648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,88,24,16,45]} 
[2026-08-11 11:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325077760001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:01:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 11:01:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377377657945325568,"km_value":377377657945325.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6712333743975323648,"description":"Unknown IO ID 45"} 
[2026-08-11 11:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325077760001,"power":27919,"unknown_103":206,"unknown_88":19456,"ignition":23,"odometer":null,"unknown_45":-6712333743975323648}} 
[2026-08-11 11:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":153465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:01:05] local.INFO: GPS data processed {"connection_id":153465,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:01:05] local.INFO: Acknowledgment sent {"connection_id":153465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:01:22] local.INFO: TCP Data received {"connection_id":152511,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:01:22] local.INFO: Processing buffer {"connection_id":152511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:01:22] local.INFO: IMEI packet received {"connection_id":152511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":152511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:01:25] local.INFO: TCP Data received {"connection_id":152511,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:01:25] local.INFO: Processing buffer {"connection_id":152511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:01:25] local.INFO: IMEI packet received {"connection_id":152511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":152511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:01:28] local.INFO: TCP Data received {"connection_id":152511,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef4b2478012da2f44005f84d580025008e2e..."} 
[2026-08-11 11:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef4b2478012da2f44005f84d580025008e2e..."} 
[2026-08-11 11:01:28] local.INFO: Processing buffer {"connection_id":152511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef4b2478012da2f44005f84d580025008e2e..."} 
[2026-08-11 11:01:28] local.INFO: Packet analysis {"connection_id":152511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef4b"} 
[2026-08-11 11:01:28] local.INFO: Extracted packet for processing {"connection_id":152511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef4b"} 
[2026-08-11 11:01:28] local.INFO: GPS Element Parsed {"raw_longitude":765654080,"raw_latitude":100158808,"longitude_deg":76.565408,"latitude_deg":10.0158808,"altitude":37,"angle":142,"satellites":46,"speed":21,"hex_longitude":"2da2f440","hex_latitude":"05f84d58","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325081088001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377377864103755776,"note":"Value kept but may cause issues"} 
[2026-08-11 11:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6707126456908277760,"note":"Value kept but may cause issues"} 
[2026-08-11 11:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786426107000,"timestamp_ms":1786426107000,"timestamp_seconds":1786426107,"priority":1,"record_length":96,"hex_timestamp":"0000019fef4b2478"} 
[2026-08-11 11:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 11:01:28] 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-08-11 11: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-08-11 11:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:01:28] 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-08-11 11:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325081088001,"66":27713,"101":206,"88":19456,"24":21,"16":377377864103755776,"45":-6707126456908277760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-08-11 11:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325081088001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:01:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 11:01:28] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377377864103755776,"km_value":377377864103755.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6707126456908277760,"description":"Unknown IO ID 45"} 
[2026-08-11 11:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325081088001,"power":27713,"unknown_101":206,"unknown_88":19456,"ignition":21,"odometer":null,"unknown_45":-6707126456908277760}} 
[2026-08-11 11:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":152511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:01:28] local.INFO: GPS data processed {"connection_id":152511,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:01:28] local.INFO: Acknowledgment sent {"connection_id":152511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:02:02] local.INFO: TCP Data received {"connection_id":152511,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef4d56f8012da3b00005f6d0000020008f2e..."} 
[2026-08-11 11:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef4d56f8012da3b00005f6d0000020008f2e..."} 
[2026-08-11 11:02:02] local.INFO: Processing buffer {"connection_id":152511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef4d56f8012da3b00005f6d0000020008f2e..."} 
[2026-08-11 11:02:02] local.INFO: Packet analysis {"connection_id":152511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef4d"} 
[2026-08-11 11:02:02] local.INFO: Extracted packet for processing {"connection_id":152511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef4d"} 
[2026-08-11 11:02:02] local.INFO: GPS Element Parsed {"raw_longitude":765702144,"raw_latitude":100061184,"longitude_deg":76.5702144,"latitude_deg":10.0061184,"altitude":32,"angle":143,"satellites":46,"speed":25,"hex_longitude":"2da3b000","hex_latitude":"05f6d000","is_valid_coordinates":true} 
[2026-08-11 11:02: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-08-11 11:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325116928001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377383189863202816,"note":"Value kept but may cause issues"} 
[2026-08-11 11:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658009073496389632,"note":"Value kept but may cause issues"} 
[2026-08-11 11:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786426251000,"timestamp_ms":1786426251000,"timestamp_seconds":1786426251,"priority":1,"record_length":96,"hex_timestamp":"0000019fef4d56f8"} 
[2026-08-11 11:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11:02: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-08-11 11:02: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-08-11 11:02: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-08-11 11:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":152511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":152511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":152511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:02:02] 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-08-11 11:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325116928001,"66":27843,"204":206,"88":19456,"24":25,"16":377383189863202816,"45":-6658009073496389632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,88,24,16,45]} 
[2026-08-11 11:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325116928001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:02:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377383189863202816,"km_value":377383189863202.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658009073496389632,"description":"Unknown IO ID 45"} 
[2026-08-11 11:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325116928001,"power":27843,"lac":206,"unknown_88":19456,"ignition":25,"odometer":null,"unknown_45":-6658009073496389632}} 
[2026-08-11 11:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":152511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:02:02] local.INFO: GPS data processed {"connection_id":152511,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:02:02] local.INFO: Acknowledgment sent {"connection_id":152511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:02:19] local.INFO: TCP Data received {"connection_id":153466,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:02:19] local.INFO: Processing buffer {"connection_id":153466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:02:19] local.INFO: IMEI packet received {"connection_id":153466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":153466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:02:25] local.INFO: TCP Data received {"connection_id":153466,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:02:25] local.INFO: Processing buffer {"connection_id":153466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:02:25] local.INFO: IMEI packet received {"connection_id":153466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":153466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:02:26] local.INFO: TCP Data received {"connection_id":153466,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef4d7e08012da3bd4005f6bc58001f009c2f..."} 
[2026-08-11 11:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef4d7e08012da3bd4005f6bc58001f009c2f..."} 
[2026-08-11 11:02:26] local.INFO: Processing buffer {"connection_id":153466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef4d7e08012da3bd4005f6bc58001f009c2f..."} 
[2026-08-11 11:02:26] local.INFO: Packet analysis {"connection_id":153466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef4d"} 
[2026-08-11 11:02:26] local.INFO: Extracted packet for processing {"connection_id":153466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef4d"} 
[2026-08-11 11:02:26] local.INFO: GPS Element Parsed {"raw_longitude":765705536,"raw_latitude":100056152,"longitude_deg":76.5705536,"latitude_deg":10.0056152,"altitude":31,"angle":156,"satellites":47,"speed":24,"hex_longitude":"2da3bd40","hex_latitude":"05f6bc58","is_valid_coordinates":true} 
[2026-08-11 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-08-11 11:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325120256001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377383486215946240,"note":"Value kept but may cause issues"} 
[2026-08-11 11:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6651816624010559488,"note":"Value kept but may cause issues"} 
[2026-08-11 11:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786426261000,"timestamp_ms":1786426261000,"timestamp_seconds":1786426261,"priority":1,"record_length":96,"hex_timestamp":"0000019fef4d7e08"} 
[2026-08-11 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-08-11 11:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 11:02:26] 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-08-11 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-08-11 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-08-11 11:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:02:26] 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-08-11 11:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325120256001,"66":27865,"204":206,"88":19456,"24":24,"16":377383486215946240,"45":-6651816624010559488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,88,24,16,45]} 
[2026-08-11 11:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325120256001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:02:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377383486215946240,"km_value":377383486215946.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6651816624010559488,"description":"Unknown IO ID 45"} 
[2026-08-11 11:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325120256001,"power":27865,"lac":206,"unknown_88":19456,"ignition":24,"odometer":null,"unknown_45":-6651816624010559488}} 
[2026-08-11 11:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":153466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:02:26] local.INFO: GPS data processed {"connection_id":153466,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:02:26] local.INFO: Acknowledgment sent {"connection_id":153466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:02:57] local.INFO: TCP Data received {"connection_id":153466,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef4dace8012da3c78005f69a40001f00a62d..."} 
[2026-08-11 11:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef4dace8012da3c78005f69a40001f00a62d..."} 
[2026-08-11 11:02:57] local.INFO: Processing buffer {"connection_id":153466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef4dace8012da3c78005f69a40001f00a62d..."} 
[2026-08-11 11:02:57] local.INFO: Packet analysis {"connection_id":153466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef4d"} 
[2026-08-11 11:02:57] local.INFO: Extracted packet for processing {"connection_id":153466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef4d"} 
[2026-08-11 11:02:57] local.INFO: GPS Element Parsed {"raw_longitude":765708160,"raw_latitude":100047424,"longitude_deg":76.570816,"latitude_deg":10.0047424,"altitude":31,"angle":166,"satellites":45,"speed":29,"hex_longitude":"2da3c780","hex_latitude":"05f69a40","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325122816001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377383928597577728,"note":"Value kept but may cause issues"} 
[2026-08-11 11:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6648087080570431488,"note":"Value kept but may cause issues"} 
[2026-08-11 11:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786426273000,"timestamp_ms":1786426273000,"timestamp_seconds":1786426273,"priority":1,"record_length":96,"hex_timestamp":"0000019fef4dace8"} 
[2026-08-11 11:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 11:02:57] 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-08-11 11: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-08-11 11:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:02:57] 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-08-11 11:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325122816001,"66":27930,"204":206,"88":19456,"24":29,"16":377383928597577728,"45":-6648087080570431488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,88,24,16,45]} 
[2026-08-11 11:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325122816001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:02:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377383928597577728,"km_value":377383928597577.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6648087080570431488,"description":"Unknown IO ID 45"} 
[2026-08-11 11:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325122816001,"power":27930,"lac":206,"unknown_88":19456,"ignition":29,"odometer":null,"unknown_45":-6648087080570431488}} 
[2026-08-11 11:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":153466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:02:57] local.INFO: GPS data processed {"connection_id":153466,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:02:57] local.INFO: Acknowledgment sent {"connection_id":153466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:03:23] local.INFO: TCP Data received {"connection_id":153467,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:03:23] local.INFO: Processing buffer {"connection_id":153467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:03:23] local.INFO: IMEI packet received {"connection_id":153467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":153467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:03:24] local.INFO: TCP Data received {"connection_id":153467,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:03:24] local.INFO: Processing buffer {"connection_id":153467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:03:24] local.INFO: IMEI packet received {"connection_id":153467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":153467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:03:30] local.INFO: TCP Data received {"connection_id":153467,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:03:30] local.INFO: Processing buffer {"connection_id":153467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:03:30] local.INFO: IMEI packet received {"connection_id":153467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":153467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:03:31] local.INFO: TCP Data received {"connection_id":153467,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef4de398012da3cd8005f677b0001d00aa2a..."} 
[2026-08-11 11:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef4de398012da3cd8005f677b0001d00aa2a..."} 
[2026-08-11 11:03:31] local.INFO: Processing buffer {"connection_id":153467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef4de398012da3cd8005f677b0001d00aa2a..."} 
[2026-08-11 11:03:31] local.INFO: Packet analysis {"connection_id":153467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef4d"} 
[2026-08-11 11:03:31] local.INFO: Extracted packet for processing {"connection_id":153467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef4d"} 
[2026-08-11 11:03:31] local.INFO: GPS Element Parsed {"raw_longitude":765709696,"raw_latitude":100038576,"longitude_deg":76.5709696,"latitude_deg":10.0038576,"altitude":29,"angle":170,"satellites":42,"speed":27,"hex_longitude":"2da3cd80","hex_latitude":"05f677b0","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325125888001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377384366684241920,"note":"Value kept but may cause issues"} 
[2026-08-11 11:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6645201962061381632,"note":"Value kept but may cause issues"} 
[2026-08-11 11:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786426287000,"timestamp_ms":1786426287000,"timestamp_seconds":1786426287,"priority":1,"record_length":96,"hex_timestamp":"0000019fef4de398"} 
[2026-08-11 11:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 11:03:31] 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-08-11 11: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-08-11 11:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:03:31] 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-08-11 11:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325125888001,"66":27865,"204":206,"88":19456,"24":27,"16":377384366684241920,"45":-6645201962061381632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,88,24,16,45]} 
[2026-08-11 11:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325125888001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:03:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377384366684241920,"km_value":377384366684241.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6645201962061381632,"description":"Unknown IO ID 45"} 
[2026-08-11 11:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325125888001,"power":27865,"lac":206,"unknown_88":19456,"ignition":27,"odometer":null,"unknown_45":-6645201962061381632}} 
[2026-08-11 11:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":153467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:03:31] local.INFO: GPS data processed {"connection_id":153467,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:03:31] local.INFO: Acknowledgment sent {"connection_id":153467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:04:02] local.INFO: TCP Data received {"connection_id":153467,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef4e1278012da3d28005f65478001d00a82c..."} 
[2026-08-11 11:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef4e1278012da3d28005f65478001d00a82c..."} 
[2026-08-11 11:04:02] local.INFO: Processing buffer {"connection_id":153467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef4e1278012da3d28005f65478001d00a82c..."} 
[2026-08-11 11:04:02] local.INFO: Packet analysis {"connection_id":153467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef4e"} 
[2026-08-11 11:04:02] local.INFO: Extracted packet for processing {"connection_id":153467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef4e"} 
[2026-08-11 11:04:02] local.INFO: GPS Element Parsed {"raw_longitude":765710976,"raw_latitude":100029560,"longitude_deg":76.5710976,"latitude_deg":10.002956,"altitude":29,"angle":168,"satellites":44,"speed":34,"hex_longitude":"2da3d280","hex_latitude":"05f65478","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325129472001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377384804770906112,"note":"Value kept but may cause issues"} 
[2026-08-11 11:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6643513112203382784,"note":"Value kept but may cause issues"} 
[2026-08-11 11:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786426299000,"timestamp_ms":1786426299000,"timestamp_seconds":1786426299,"priority":1,"record_length":96,"hex_timestamp":"0000019fef4e1278"} 
[2026-08-11 11:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 11:04: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-08-11 11: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-08-11 11:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":153467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":153467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":153467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:04:02] 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-08-11 11:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325129472001,"66":27245,"204":206,"88":19456,"24":34,"16":377384804770906112,"45":-6643513112203382784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,88,24,16,45]} 
[2026-08-11 11:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325129472001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:04:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377384804770906112,"km_value":377384804770906.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6643513112203382784,"description":"Unknown IO ID 45"} 
[2026-08-11 11:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325129472001,"power":27245,"lac":206,"unknown_88":19456,"ignition":34,"odometer":null,"unknown_45":-6643513112203382784}} 
[2026-08-11 11:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":153467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:04:02] local.INFO: GPS data processed {"connection_id":153467,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:04:02] local.INFO: Acknowledgment sent {"connection_id":153467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:04:20] local.INFO: TCP Data received {"connection_id":152512,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:04:20] local.INFO: Processing buffer {"connection_id":152512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:04:20] local.INFO: IMEI packet received {"connection_id":152512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":152512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:04:26] local.INFO: TCP Data received {"connection_id":152512,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:04:26] local.INFO: Processing buffer {"connection_id":152512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:04:26] local.INFO: IMEI packet received {"connection_id":152512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":152512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:04:28] local.INFO: TCP Data received {"connection_id":152512,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef4e3988012da3da4005f63270001c00a52c..."} 
[2026-08-11 11:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef4e3988012da3da4005f63270001c00a52c..."} 
[2026-08-11 11:04:28] local.INFO: Processing buffer {"connection_id":152512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef4e3988012da3da4005f63270001c00a52c..."} 
[2026-08-11 11:04:28] local.INFO: Packet analysis {"connection_id":152512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef4e"} 
[2026-08-11 11:04:28] local.INFO: Extracted packet for processing {"connection_id":152512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef4e"} 
[2026-08-11 11:04:28] local.INFO: GPS Element Parsed {"raw_longitude":765712960,"raw_latitude":100020848,"longitude_deg":76.571296,"latitude_deg":10.0020848,"altitude":28,"angle":165,"satellites":44,"speed":38,"hex_longitude":"2da3da40","hex_latitude":"05f63270","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325132544001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377385238562603008,"note":"Value kept but may cause issues"} 
[2026-08-11 11:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6642105737322137600,"note":"Value kept but may cause issues"} 
[2026-08-11 11:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786426309000,"timestamp_ms":1786426309000,"timestamp_seconds":1786426309,"priority":1,"record_length":96,"hex_timestamp":"0000019fef4e3988"} 
[2026-08-11 11:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 11:04:28] 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-08-11 11: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-08-11 11:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:04:28] 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-08-11 11:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325132544001,"66":27843,"204":206,"88":19456,"24":38,"16":377385238562603008,"45":-6642105737322137600},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,88,24,16,45]} 
[2026-08-11 11:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325132544001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:04:28] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377385238562603008,"km_value":377385238562603.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6642105737322137600,"description":"Unknown IO ID 45"} 
[2026-08-11 11:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325132544001,"power":27843,"lac":206,"unknown_88":19456,"ignition":38,"odometer":null,"unknown_45":-6642105737322137600}} 
[2026-08-11 11:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":152512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:04:28] local.INFO: GPS data processed {"connection_id":152512,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:04:28] local.INFO: Acknowledgment sent {"connection_id":152512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:05:01] local.INFO: TCP Data received {"connection_id":152512,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef5029a0012da4230005f4f660001d007b29..."} 
[2026-08-11 11:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef5029a0012da4230005f4f660001d007b29..."} 
[2026-08-11 11:05:01] local.INFO: Processing buffer {"connection_id":152512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef5029a0012da4230005f4f660001d007b29..."} 
[2026-08-11 11:05:01] local.INFO: Packet analysis {"connection_id":152512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef50"} 
[2026-08-11 11:05:01] local.INFO: Extracted packet for processing {"connection_id":152512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef50"} 
[2026-08-11 11:05:01] local.INFO: GPS Element Parsed {"raw_longitude":765731584,"raw_latitude":99939936,"longitude_deg":76.5731584,"latitude_deg":9.9939936,"altitude":29,"angle":123,"satellites":41,"speed":8,"hex_longitude":"2da42300","hex_latitude":"05f4f660","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325167360001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377389305896632320,"note":"Value kept but may cause issues"} 
[2026-08-11 11:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6619728476696549376,"note":"Value kept but may cause issues"} 
[2026-08-11 11:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786426436000,"timestamp_ms":1786426436000,"timestamp_seconds":1786426436,"priority":1,"record_length":96,"hex_timestamp":"0000019fef5029a0"} 
[2026-08-11 11:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-11 11:05:01] 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-08-11 11: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-08-11 11:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:05:01] 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-08-11 11:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325167360001,"66":27691,"161":206,"88":19456,"24":8,"16":377389305896632320,"45":-6619728476696549376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,88,24,16,45]} 
[2026-08-11 11:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325167360001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:05:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-11 11:05:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377389305896632320,"km_value":377389305896632.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6619728476696549376,"description":"Unknown IO ID 45"} 
[2026-08-11 11:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325167360001,"power":27691,"unknown_161":206,"unknown_88":19456,"ignition":8,"odometer":null,"unknown_45":-6619728476696549376}} 
[2026-08-11 11:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":152512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:05:01] local.INFO: GPS data processed {"connection_id":152512,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:05:01] local.INFO: Acknowledgment sent {"connection_id":152512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:05:20] local.INFO: TCP Data received {"connection_id":152130,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:05:20] local.INFO: Processing buffer {"connection_id":152130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:05:20] local.INFO: IMEI packet received {"connection_id":152130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":152130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:05:24] local.INFO: TCP Data received {"connection_id":152130,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:05:24] local.INFO: Processing buffer {"connection_id":152130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:05:24] local.INFO: IMEI packet received {"connection_id":152130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":152130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:05:25] local.INFO: TCP Data received {"connection_id":152130,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef503940012da4260005f4f380001e00882e..."} 
[2026-08-11 11:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef503940012da4260005f4f380001e00882e..."} 
[2026-08-11 11:05:25] local.INFO: Processing buffer {"connection_id":152130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef503940012da4260005f4f380001e00882e..."} 
[2026-08-11 11:05:25] local.INFO: Packet analysis {"connection_id":152130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef50"} 
[2026-08-11 11:05:25] local.INFO: Extracted packet for processing {"connection_id":152130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef50"} 
[2026-08-11 11:05:25] local.INFO: GPS Element Parsed {"raw_longitude":765732352,"raw_latitude":99939200,"longitude_deg":76.5732352,"latitude_deg":9.99392,"altitude":30,"angle":136,"satellites":46,"speed":10,"hex_longitude":"2da42600","hex_latitude":"05f4f380","is_valid_coordinates":true} 
[2026-08-11 11:05: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-08-11 11:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325167616001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377389357436239872,"note":"Value kept but may cause issues"} 
[2026-08-11 11:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6619447001719873536,"note":"Value kept but may cause issues"} 
[2026-08-11 11:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786426440000,"timestamp_ms":1786426440000,"timestamp_seconds":1786426440,"priority":1,"record_length":96,"hex_timestamp":"0000019fef503940"} 
[2026-08-11 11:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11:05: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-11 11:05:25] 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-08-11 11:05: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-08-11 11:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:05:25] 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-08-11 11:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325167616001,"66":27745,"161":206,"88":19456,"24":10,"16":377389357436239872,"45":-6619447001719873536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,88,24,16,45]} 
[2026-08-11 11:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325167616001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:05:25] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-11 11:05:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377389357436239872,"km_value":377389357436239.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6619447001719873536,"description":"Unknown IO ID 45"} 
[2026-08-11 11:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325167616001,"power":27745,"unknown_161":206,"unknown_88":19456,"ignition":10,"odometer":null,"unknown_45":-6619447001719873536}} 
[2026-08-11 11:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":152130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:05:25] local.INFO: GPS data processed {"connection_id":152130,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:05:25] local.INFO: Acknowledgment sent {"connection_id":152130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:05:56] local.INFO: TCP Data received {"connection_id":152130,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef507ba8012da43ec005f4da480023008a2b..."} 
[2026-08-11 11:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef507ba8012da43ec005f4da480023008a2b..."} 
[2026-08-11 11:05:56] local.INFO: Processing buffer {"connection_id":152130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef507ba8012da43ec005f4da480023008a2b..."} 
[2026-08-11 11:05:56] local.INFO: Packet analysis {"connection_id":152130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef50"} 
[2026-08-11 11:05:56] local.INFO: Extracted packet for processing {"connection_id":152130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef50"} 
[2026-08-11 11:05:56] local.INFO: GPS Element Parsed {"raw_longitude":765738688,"raw_latitude":99932744,"longitude_deg":76.5738688,"latitude_deg":9.9932744,"altitude":35,"angle":138,"satellites":43,"speed":31,"hex_longitude":"2da43ec0","hex_latitude":"05f4da48","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325168640001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377389795522904064,"note":"Value kept but may cause issues"} 
[2026-08-11 11:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6618602576789929984,"note":"Value kept but may cause issues"} 
[2026-08-11 11:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786426457000,"timestamp_ms":1786426457000,"timestamp_seconds":1786426457,"priority":1,"record_length":96,"hex_timestamp":"0000019fef507ba8"} 
[2026-08-11 11:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 11:05:56] 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-08-11 11: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-08-11 11:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:05:56] 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-08-11 11:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325168640001,"66":27843,"166":206,"88":19456,"24":31,"16":377389795522904064,"45":-6618602576789929984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,88,24,16,45]} 
[2026-08-11 11:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325168640001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:05:56] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-11 11:05:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377389795522904064,"km_value":377389795522904.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6618602576789929984,"description":"Unknown IO ID 45"} 
[2026-08-11 11:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325168640001,"power":27843,"unknown_166":206,"unknown_88":19456,"ignition":31,"odometer":null,"unknown_45":-6618602576789929984}} 
[2026-08-11 11:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":152130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:05:56] local.INFO: GPS data processed {"connection_id":152130,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:05:56] local.INFO: Acknowledgment sent {"connection_id":152130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:06:20] local.INFO: TCP Data received {"connection_id":152131,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:06:20] local.INFO: Processing buffer {"connection_id":152131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:06:20] local.INFO: IMEI packet received {"connection_id":152131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":152131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:06:21] local.INFO: TCP Data received {"connection_id":152131,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:06:21] local.INFO: Processing buffer {"connection_id":152131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:06:21] local.INFO: IMEI packet received {"connection_id":152131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":152131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:06:26] local.INFO: TCP Data received {"connection_id":152131,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:06:26] local.INFO: Processing buffer {"connection_id":152131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:06:26] local.INFO: IMEI packet received {"connection_id":152131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":152131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:06:27] local.INFO: TCP Data received {"connection_id":152131,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fef50a6a0012da4584005f4bd600022008d2d..."} 
[2026-08-11 11:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef50a6a0012da4584005f4bd600022008d2d..."} 
[2026-08-11 11:06:27] local.INFO: Processing buffer {"connection_id":152131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef50a6a0012da4584005f4bd600022008d2d..."} 
[2026-08-11 11:06:27] local.INFO: Packet analysis {"connection_id":152131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef50"} 
[2026-08-11 11:06:27] local.INFO: Extracted packet for processing {"connection_id":152131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef50"} 
[2026-08-11 11:06:27] local.INFO: GPS Element Parsed {"raw_longitude":765745216,"raw_latitude":99925344,"longitude_deg":76.5745216,"latitude_deg":9.9925344,"altitude":34,"angle":141,"satellites":45,"speed":39,"hex_longitude":"2da45840","hex_latitude":"05f4bd60","is_valid_coordinates":true} 
[2026-08-11 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-08-11 11:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325172992001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377390272264273920,"note":"Value kept but may cause issues"} 
[2026-08-11 11:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6611636071117993984,"note":"Value kept but may cause issues"} 
[2026-08-11 11:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786426468000,"timestamp_ms":1786426468000,"timestamp_seconds":1786426468,"priority":1,"record_length":96,"hex_timestamp":"0000019fef50a6a0"} 
[2026-08-11 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-08-11 11:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 11:06:27] 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-08-11 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-08-11 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-08-11 11:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:06:27] 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-08-11 11:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325172992001,"66":27908,"166":206,"88":19456,"24":39,"16":377390272264273920,"45":-6611636071117993984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,88,24,16,45]} 
[2026-08-11 11:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325172992001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:06:27] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-11 11:06:27] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377390272264273920,"km_value":377390272264273.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6611636071117993984,"description":"Unknown IO ID 45"} 
[2026-08-11 11:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325172992001,"power":27908,"unknown_166":206,"unknown_88":19456,"ignition":39,"odometer":null,"unknown_45":-6611636071117993984}} 
[2026-08-11 11:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":152131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:06:27] local.INFO: GPS data processed {"connection_id":152131,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:06:27] local.INFO: Acknowledgment sent {"connection_id":152131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:06:58] local.INFO: TCP Data received {"connection_id":152131,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fef5244b0012da5228005f48f880016001e2f..."} 
[2026-08-11 11:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef5244b0012da5228005f48f880016001e2f..."} 
[2026-08-11 11:06:58] local.INFO: Processing buffer {"connection_id":152131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef5244b0012da5228005f48f880016001e2f..."} 
[2026-08-11 11:06:58] local.INFO: Packet analysis {"connection_id":152131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef52"} 
[2026-08-11 11:06:58] local.INFO: Extracted packet for processing {"connection_id":152131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef52"} 
[2026-08-11 11:06:58] local.INFO: GPS Element Parsed {"raw_longitude":765796992,"raw_latitude":99913608,"longitude_deg":76.5796992,"latitude_deg":9.9913608,"altitude":22,"angle":30,"satellites":47,"speed":30,"hex_longitude":"2da52280","hex_latitude":"05f48f88","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325202432001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377393248676610048,"note":"Value kept but may cause issues"} 
[2026-08-11 11:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6548656045084184576,"note":"Value kept but may cause issues"} 
[2026-08-11 11:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786426574000,"timestamp_ms":1786426574000,"timestamp_seconds":1786426574,"priority":1,"record_length":96,"hex_timestamp":"0000019fef5244b0"} 
[2026-08-11 11:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 11:06:58] 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-08-11 11: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-08-11 11:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:06:58] 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-08-11 11:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325202432001,"66":27767,"36":206,"88":19456,"24":30,"16":377393248676610048,"45":-6548656045084184576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,88,24,16,45]} 
[2026-08-11 11:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325202432001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:06:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 11:06:58] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377393248676610048,"km_value":377393248676610.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6548656045084184576,"description":"Unknown IO ID 45"} 
[2026-08-11 11:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325202432001,"power":27767,"unknown_36":206,"unknown_88":19456,"ignition":30,"odometer":null,"unknown_45":-6548656045084184576}} 
[2026-08-11 11:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":152131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:06:58] local.INFO: GPS data processed {"connection_id":152131,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:06:58] local.INFO: Acknowledgment sent {"connection_id":152131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:07:19] local.INFO: TCP Data received {"connection_id":152132,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:07:19] local.INFO: Processing buffer {"connection_id":152132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:07:19] local.INFO: IMEI packet received {"connection_id":152132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":152132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:07:25] local.INFO: TCP Data received {"connection_id":152132,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:07:25] local.INFO: Processing buffer {"connection_id":152132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:07:25] local.INFO: IMEI packet received {"connection_id":152132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":152132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:07:26] local.INFO: TCP Data received {"connection_id":152132,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fef524c80012da5250005f494f8001600112f..."} 
[2026-08-11 11:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef524c80012da5250005f494f8001600112f..."} 
[2026-08-11 11:07:26] local.INFO: Processing buffer {"connection_id":152132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef524c80012da5250005f494f8001600112f..."} 
[2026-08-11 11:07:26] local.INFO: Packet analysis {"connection_id":152132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef52"} 
[2026-08-11 11:07:26] local.INFO: Extracted packet for processing {"connection_id":152132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef52"} 
[2026-08-11 11:07:26] local.INFO: GPS Element Parsed {"raw_longitude":765797632,"raw_latitude":99915000,"longitude_deg":76.5797632,"latitude_deg":9.9915,"altitude":22,"angle":17,"satellites":47,"speed":29,"hex_longitude":"2da52500","hex_latitude":"05f494f8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 11:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325202944001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377393325986021376,"note":"Value kept but may cause issues"} 
[2026-08-11 11:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6547530145177040896,"note":"Value kept but may cause issues"} 
[2026-08-11 11:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786426576000,"timestamp_ms":1786426576000,"timestamp_seconds":1786426576,"priority":1,"record_length":96,"hex_timestamp":"0000019fef524c80"} 
[2026-08-11 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-08-11 11:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 11:07:26] 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-08-11 11: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-08-11 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-08-11 11:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:07:26] 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-08-11 11:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325202944001,"66":27843,"36":206,"88":19456,"24":29,"16":377393325986021376,"45":-6547530145177040896},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,88,24,16,45]} 
[2026-08-11 11:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325202944001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:07:26] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 11:07:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377393325986021376,"km_value":377393325986021.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6547530145177040896,"description":"Unknown IO ID 45"} 
[2026-08-11 11:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325202944001,"power":27843,"unknown_36":206,"unknown_88":19456,"ignition":29,"odometer":null,"unknown_45":-6547530145177040896}} 
[2026-08-11 11:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":152132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:07:26] local.INFO: GPS data processed {"connection_id":152132,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:07:26] local.INFO: Acknowledgment sent {"connection_id":152132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:07:57] local.INFO: TCP Data received {"connection_id":152132,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fef530fd0012da58d8005f4cf90001800792f..."} 
[2026-08-11 11:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef530fd0012da58d8005f4cf90001800792f..."} 
[2026-08-11 11:07:57] local.INFO: Processing buffer {"connection_id":152132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef530fd0012da58d8005f4cf90001800792f..."} 
[2026-08-11 11:07:57] local.INFO: Packet analysis {"connection_id":152132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef53"} 
[2026-08-11 11:07:57] local.INFO: Extracted packet for processing {"connection_id":152132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef53"} 
[2026-08-11 11:07:57] local.INFO: GPS Element Parsed {"raw_longitude":765824384,"raw_latitude":99930000,"longitude_deg":76.5824384,"latitude_deg":9.993,"altitude":24,"angle":121,"satellites":47,"speed":29,"hex_longitude":"2da58d80","hex_latitude":"05f4cf90","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325215744001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377395121282351104,"note":"Value kept but may cause issues"} 
[2026-08-11 11:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6518960435036547072,"note":"Value kept but may cause issues"} 
[2026-08-11 11:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786426626000,"timestamp_ms":1786426626000,"timestamp_seconds":1786426626,"priority":1,"record_length":96,"hex_timestamp":"0000019fef530fd0"} 
[2026-08-11 11:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-11 11:07:57] 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-08-11 11: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-08-11 11:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:07:57] 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-08-11 11:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325215744001,"66":27865,"165":206,"88":19456,"24":29,"16":377395121282351104,"45":-6518960435036547072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,88,24,16,45]} 
[2026-08-11 11:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325215744001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:07:57] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 11:07:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377395121282351104,"km_value":377395121282351.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6518960435036547072,"description":"Unknown IO ID 45"} 
[2026-08-11 11:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325215744001,"power":27865,"unknown_165":206,"unknown_88":19456,"ignition":29,"odometer":null,"unknown_45":-6518960435036547072}} 
[2026-08-11 11:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":152132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:07:57] local.INFO: GPS data processed {"connection_id":152132,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:07:57] local.INFO: Acknowledgment sent {"connection_id":152132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:08:19] local.INFO: TCP Data received {"connection_id":154846,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:08:19] local.INFO: Processing buffer {"connection_id":154846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:08:19] local.INFO: IMEI packet received {"connection_id":154846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":154846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:08:28] local.INFO: TCP Data received {"connection_id":154846,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:08:28] local.INFO: Processing buffer {"connection_id":154846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:08:28] local.INFO: IMEI packet received {"connection_id":154846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":154846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:09:19] local.INFO: TCP Data received {"connection_id":152133,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:09:19] local.INFO: Processing buffer {"connection_id":152133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:09:19] local.INFO: IMEI packet received {"connection_id":152133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":152133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:09:23] local.INFO: TCP Data received {"connection_id":152133,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:09:23] local.INFO: Processing buffer {"connection_id":152133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:09:23] local.INFO: IMEI packet received {"connection_id":152133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":152133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:09:24] local.INFO: TCP Data received {"connection_id":152133,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:09:24] local.INFO: Processing buffer {"connection_id":152133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:09:24] local.INFO: IMEI packet received {"connection_id":152133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":152133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:09:26] local.INFO: TCP Data received {"connection_id":152133,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:09:26] local.INFO: Processing buffer {"connection_id":152133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:09:26] local.INFO: IMEI packet received {"connection_id":152133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":152133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:09:26] local.INFO: TCP Data received {"connection_id":152133,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fef545408012da5fa8005f46b40001700ae2d..."} 
[2026-08-11 11:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef545408012da5fa8005f46b40001700ae2d..."} 
[2026-08-11 11:09:26] local.INFO: Processing buffer {"connection_id":152133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef545408012da5fa8005f46b40001700ae2d..."} 
[2026-08-11 11:09:26] local.INFO: Packet analysis {"connection_id":152133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:09:26] local.INFO: Extracted packet for processing {"connection_id":152133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:09:26] local.INFO: GPS Element Parsed {"raw_longitude":765852288,"raw_latitude":99904320,"longitude_deg":76.5852288,"latitude_deg":9.990432,"altitude":23,"angle":174,"satellites":45,"speed":38,"hex_longitude":"2da5fa80","hex_latitude":"05f46b40","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325234688001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377397431974756352,"note":"Value kept but may cause issues"} 
[2026-08-11 11:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6488138925091119104,"note":"Value kept but may cause issues"} 
[2026-08-11 11:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786426709000,"timestamp_ms":1786426709000,"timestamp_seconds":1786426709,"priority":1,"record_length":96,"hex_timestamp":"0000019fef545408"} 
[2026-08-11 11:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 11:09: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-08-11 11: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-08-11 11:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:09:26] 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-08-11 11:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325234688001,"66":27908,"165":206,"88":19456,"24":38,"16":377397431974756352,"45":-6488138925091119104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,88,24,16,45]} 
[2026-08-11 11:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325234688001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:09:26] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 11:09:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377397431974756352,"km_value":377397431974756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6488138925091119104,"description":"Unknown IO ID 45"} 
[2026-08-11 11:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325234688001,"power":27908,"unknown_165":206,"unknown_88":19456,"ignition":38,"odometer":null,"unknown_45":-6488138925091119104}} 
[2026-08-11 11:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":152133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:09:26] local.INFO: GPS data processed {"connection_id":152133,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:09:26] local.INFO: Acknowledgment sent {"connection_id":152133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:09:27] local.INFO: TCP Data received {"connection_id":152133,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fef547730012da5fec005f45170001500a12d..."} 
[2026-08-11 11:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef547730012da5fec005f45170001500a12d..."} 
[2026-08-11 11:09:27] local.INFO: Processing buffer {"connection_id":152133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef547730012da5fec005f45170001500a12d..."} 
[2026-08-11 11:09:27] local.INFO: Packet analysis {"connection_id":152133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:09:27] local.INFO: Extracted packet for processing {"connection_id":152133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:09:27] local.INFO: GPS Element Parsed {"raw_longitude":765853376,"raw_latitude":99897712,"longitude_deg":76.5853376,"latitude_deg":9.9897712,"altitude":21,"angle":161,"satellites":45,"speed":19,"hex_longitude":"2da5fec0","hex_latitude":"05f45170","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325237504001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377397758392270848,"note":"Value kept but may cause issues"} 
[2026-08-11 11:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6486731550209916928,"note":"Value kept but may cause issues"} 
[2026-08-11 11:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786426718000,"timestamp_ms":1786426718000,"timestamp_seconds":1786426718,"priority":1,"record_length":96,"hex_timestamp":"0000019fef547730"} 
[2026-08-11 11:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 11:09: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-08-11 11: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-08-11 11:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:09:27] 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-08-11 11:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325237504001,"66":27995,"165":206,"88":19456,"24":19,"16":377397758392270848,"45":-6486731550209916928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,88,24,16,45]} 
[2026-08-11 11:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325237504001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:09:27] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 11:09:27] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377397758392270848,"km_value":377397758392270.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6486731550209916928,"description":"Unknown IO ID 45"} 
[2026-08-11 11:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325237504001,"power":27995,"unknown_165":206,"unknown_88":19456,"ignition":19,"odometer":null,"unknown_45":-6486731550209916928}} 
[2026-08-11 11:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":152133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:09:27] local.INFO: GPS data processed {"connection_id":152133,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:09:27] local.INFO: Acknowledgment sent {"connection_id":152133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:09:58] local.INFO: TCP Data received {"connection_id":152133,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fef5482e8012da6008005f44d08001500922d..."} 
[2026-08-11 11:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef5482e8012da6008005f44d08001500922d..."} 
[2026-08-11 11:09:58] local.INFO: Processing buffer {"connection_id":152133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef5482e8012da6008005f44d08001500922d..."} 
[2026-08-11 11:09:58] local.INFO: Packet analysis {"connection_id":152133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:09:58] local.INFO: Extracted packet for processing {"connection_id":152133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:09:58] local.INFO: GPS Element Parsed {"raw_longitude":765853824,"raw_latitude":99896584,"longitude_deg":76.5853824,"latitude_deg":9.9896584,"altitude":21,"angle":146,"satellites":45,"speed":10,"hex_longitude":"2da60080","hex_latitude":"05f44d08","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325239808001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377397818521812992,"note":"Value kept but may cause issues"} 
[2026-08-11 11:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6485535281560588288,"note":"Value kept but may cause issues"} 
[2026-08-11 11:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786426721000,"timestamp_ms":1786426721000,"timestamp_seconds":1786426721,"priority":1,"record_length":96,"hex_timestamp":"0000019fef5482e8"} 
[2026-08-11 11:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 11:09:58] 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-08-11 11: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-08-11 11:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:09:58] 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-08-11 11:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325239808001,"66":27767,"165":206,"88":19456,"24":10,"16":377397818521812992,"45":-6485535281560588288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,88,24,16,45]} 
[2026-08-11 11:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325239808001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:09:58] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 11:09:58] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377397818521812992,"km_value":377397818521813.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6485535281560588288,"description":"Unknown IO ID 45"} 
[2026-08-11 11:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325239808001,"power":27767,"unknown_165":206,"unknown_88":19456,"ignition":10,"odometer":null,"unknown_45":-6485535281560588288}} 
[2026-08-11 11:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":152133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:09:58] local.INFO: GPS data processed {"connection_id":152133,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:09:58] local.INFO: Acknowledgment sent {"connection_id":152133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:10:19] local.INFO: TCP Data received {"connection_id":154846,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fef531f70012da597c005f4ca48001a006830..."} 
[2026-08-11 11:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef531f70012da597c005f4ca48001a006830..."} 
[2026-08-11 11:10:19] local.INFO: Processing buffer {"connection_id":154846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef531f70012da597c005f4ca48001a006830..."} 
[2026-08-11 11:10:19] local.INFO: Packet analysis {"connection_id":154846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef53"} 
[2026-08-11 11:10:19] local.INFO: Extracted packet for processing {"connection_id":154846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef53"} 
[2026-08-11 11:10:19] local.INFO: GPS Element Parsed {"raw_longitude":765827008,"raw_latitude":99928648,"longitude_deg":76.5827008,"latitude_deg":9.9928648,"altitude":26,"angle":104,"satellites":48,"speed":29,"hex_longitude":"2da597c0","hex_latitude":"05f4ca48","is_valid_coordinates":true} 
[2026-08-11 11:10: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-08-11 11:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325216256001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377395267311239168,"note":"Value kept but may cause issues"} 
[2026-08-11 11:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6517412322664804352,"note":"Value kept but may cause issues"} 
[2026-08-11 11:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786426630000,"timestamp_ms":1786426630000,"timestamp_seconds":1786426630,"priority":1,"record_length":96,"hex_timestamp":"0000019fef531f70"} 
[2026-08-11 11:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11:10: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-08-11 11:10: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-08-11 11:10: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-08-11 11:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:10:19] 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-08-11 11:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325216256001,"66":27821,"165":206,"88":19456,"24":29,"16":377395267311239168,"45":-6517412322664804352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,88,24,16,45]} 
[2026-08-11 11:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325216256001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:10:19] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 11:10:19] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377395267311239168,"km_value":377395267311239.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6517412322664804352,"description":"Unknown IO ID 45"} 
[2026-08-11 11:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325216256001,"power":27821,"unknown_165":206,"unknown_88":19456,"ignition":29,"odometer":null,"unknown_45":-6517412322664804352}} 
[2026-08-11 11:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":154846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:10:19] local.INFO: GPS data processed {"connection_id":154846,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:10:19] local.INFO: Acknowledgment sent {"connection_id":154846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:10:20] local.INFO: TCP Data received {"connection_id":154846,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fef532740012da59dc005f4c9b0001b00592d..."} 
[2026-08-11 11:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef532740012da59dc005f4c9b0001b00592d..."} 
[2026-08-11 11:10:20] local.INFO: Processing buffer {"connection_id":154846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef532740012da59dc005f4c9b0001b00592d..."} 
[2026-08-11 11:10:20] local.INFO: Packet analysis {"connection_id":154846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef53"} 
[2026-08-11 11:10:20] local.INFO: Extracted packet for processing {"connection_id":154846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef53"} 
[2026-08-11 11:10:20] local.INFO: GPS Element Parsed {"raw_longitude":765828544,"raw_latitude":99928496,"longitude_deg":76.5828544,"latitude_deg":9.9928496,"altitude":27,"angle":89,"satellites":45,"speed":29,"hex_longitude":"2da59dc0","hex_latitude":"05f4c9b0","is_valid_coordinates":true} 
[2026-08-11 11:10: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-08-11 11:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325217280001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377395340325683200,"note":"Value kept but may cause issues"} 
[2026-08-11 11:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6514527204153866240,"note":"Value kept but may cause issues"} 
[2026-08-11 11:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786426632000,"timestamp_ms":1786426632000,"timestamp_seconds":1786426632,"priority":1,"record_length":96,"hex_timestamp":"0000019fef532740"} 
[2026-08-11 11:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11:10: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":173,"data_length":795,"current_offset":136} 
[2026-08-11 11:10:20] 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-08-11 11:10: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-08-11 11:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:10:20] 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-08-11 11:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325217280001,"66":27691,"165":206,"88":19456,"24":29,"16":377395340325683200,"45":-6514527204153866240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,88,24,16,45]} 
[2026-08-11 11:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325217280001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:10:20] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 11:10:20] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377395340325683200,"km_value":377395340325683.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6514527204153866240,"description":"Unknown IO ID 45"} 
[2026-08-11 11:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325217280001,"power":27691,"unknown_165":206,"unknown_88":19456,"ignition":29,"odometer":null,"unknown_45":-6514527204153866240}} 
[2026-08-11 11:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":154846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:10:20] local.INFO: GPS data processed {"connection_id":154846,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:10:20] local.ERROR: TCP Connection error {"connection_id":154846,"code":2,"message":"client closed"} 
[2026-08-11 11:10:20] local.INFO: Acknowledgment sent {"connection_id":154846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:10:20] local.INFO: TCP Data received {"connection_id":152134,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:10:20] local.INFO: Processing buffer {"connection_id":152134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:10:20] local.INFO: IMEI packet received {"connection_id":152134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":152134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:10:25] local.INFO: TCP Data received {"connection_id":152134,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:10:25] local.INFO: Processing buffer {"connection_id":152134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:10:25] local.INFO: IMEI packet received {"connection_id":152134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":152134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:10:26] local.INFO: TCP Data received {"connection_id":152134,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fef549288012da6018005f44a28001500ae2f..."} 
[2026-08-11 11:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef549288012da6018005f44a28001500ae2f..."} 
[2026-08-11 11:10:26] local.INFO: Processing buffer {"connection_id":152134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef549288012da6018005f44a28001500ae2f..."} 
[2026-08-11 11:10:26] local.INFO: Packet analysis {"connection_id":152134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:10:26] local.INFO: Extracted packet for processing {"connection_id":152134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:10:26] local.INFO: GPS Element Parsed {"raw_longitude":765854080,"raw_latitude":99895848,"longitude_deg":76.585408,"latitude_deg":9.9895848,"altitude":21,"angle":174,"satellites":47,"speed":6,"hex_longitude":"2da60180","hex_latitude":"05f44a28","is_valid_coordinates":true} 
[2026-08-11 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-08-11 11:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325240576001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377397857176518656,"note":"Value kept but may cause issues"} 
[2026-08-11 11:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6485042700351633408,"note":"Value kept but may cause issues"} 
[2026-08-11 11:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786426725000,"timestamp_ms":1786426725000,"timestamp_seconds":1786426725,"priority":1,"record_length":96,"hex_timestamp":"0000019fef549288"} 
[2026-08-11 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-08-11 11:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 11:10:26] 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-08-11 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-08-11 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-08-11 11:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:10:26] 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-08-11 11:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325240576001,"66":27767,"165":206,"88":19456,"24":6,"16":377397857176518656,"45":-6485042700351633408},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,88,24,16,45]} 
[2026-08-11 11:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325240576001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:10:26] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 11:10:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377397857176518656,"km_value":377397857176518.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6485042700351633408,"description":"Unknown IO ID 45"} 
[2026-08-11 11:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325240576001,"power":27767,"unknown_165":206,"unknown_88":19456,"ignition":6,"odometer":null,"unknown_45":-6485042700351633408}} 
[2026-08-11 11:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":152134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:10:26] local.INFO: GPS data processed {"connection_id":152134,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:10:26] local.INFO: Acknowledgment sent {"connection_id":152134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:10:58] local.INFO: TCP Data received {"connection_id":152134,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fef549670012da6020005f44948001500ba2f..."} 
[2026-08-11 11:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef549670012da6020005f44948001500ba2f..."} 
[2026-08-11 11:10:58] local.INFO: Processing buffer {"connection_id":152134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef549670012da6020005f44948001500ba2f..."} 
[2026-08-11 11:10:58] local.INFO: Packet analysis {"connection_id":152134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:10:58] local.INFO: Extracted packet for processing {"connection_id":152134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:10:58] local.INFO: GPS Element Parsed {"raw_longitude":765854208,"raw_latitude":99895624,"longitude_deg":76.5854208,"latitude_deg":9.9895624,"altitude":21,"angle":186,"satellites":47,"speed":9,"hex_longitude":"2da60200","hex_latitude":"05f44948","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325241600001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377397870061420544,"note":"Value kept but may cause issues"} 
[2026-08-11 11:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6484761225375111168,"note":"Value kept but may cause issues"} 
[2026-08-11 11:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786426726000,"timestamp_ms":1786426726000,"timestamp_seconds":1786426726,"priority":1,"record_length":96,"hex_timestamp":"0000019fef549670"} 
[2026-08-11 11:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 11:10:58] 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-08-11 11: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-08-11 11:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:10:58] 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-08-11 11:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325241600001,"66":27767,"165":206,"88":19456,"24":9,"16":377397870061420544,"45":-6484761225375111168},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,88,24,16,45]} 
[2026-08-11 11:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325241600001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:10:58] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 11:10:58] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377397870061420544,"km_value":377397870061420.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6484761225375111168,"description":"Unknown IO ID 45"} 
[2026-08-11 11:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325241600001,"power":27767,"unknown_165":206,"unknown_88":19456,"ignition":9,"odometer":null,"unknown_45":-6484761225375111168}} 
[2026-08-11 11:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":152134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:10:58] local.INFO: GPS data processed {"connection_id":152134,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:10:58] local.INFO: Acknowledgment sent {"connection_id":152134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:11:25] local.INFO: TCP Data received {"connection_id":154847,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:11:25] local.INFO: Processing buffer {"connection_id":154847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:11:25] local.INFO: IMEI packet received {"connection_id":154847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":154847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:11:30] local.INFO: TCP Data received {"connection_id":154847,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:11:30] local.INFO: Processing buffer {"connection_id":154847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:11:30] local.INFO: IMEI packet received {"connection_id":154847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":154847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:11:31] local.INFO: TCP Data received {"connection_id":154847,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fef549a58012da6018005f44850001500c62f..."} 
[2026-08-11 11:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef549a58012da6018005f44850001500c62f..."} 
[2026-08-11 11:11:31] local.INFO: Processing buffer {"connection_id":154847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef549a58012da6018005f44850001500c62f..."} 
[2026-08-11 11:11:31] local.INFO: Packet analysis {"connection_id":154847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:11:31] local.INFO: Extracted packet for processing {"connection_id":154847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:11:31] local.INFO: GPS Element Parsed {"raw_longitude":765854080,"raw_latitude":99895376,"longitude_deg":76.585408,"latitude_deg":9.9895376,"altitude":21,"angle":198,"satellites":47,"speed":10,"hex_longitude":"2da60180","hex_latitude":"05f44850","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325241856001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377397882946322432,"note":"Value kept but may cause issues"} 
[2026-08-11 11:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6484620487886813184,"note":"Value kept but may cause issues"} 
[2026-08-11 11:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786426727000,"timestamp_ms":1786426727000,"timestamp_seconds":1786426727,"priority":1,"record_length":96,"hex_timestamp":"0000019fef549a58"} 
[2026-08-11 11:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 11:11: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-08-11 11: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-08-11 11:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:11:31] 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-08-11 11:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325241856001,"66":27865,"165":206,"88":19456,"24":10,"16":377397882946322432,"45":-6484620487886813184},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,88,24,16,45]} 
[2026-08-11 11:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325241856001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:11:31] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 11:11:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377397882946322432,"km_value":377397882946322.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6484620487886813184,"description":"Unknown IO ID 45"} 
[2026-08-11 11:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325241856001,"power":27865,"unknown_165":206,"unknown_88":19456,"ignition":10,"odometer":null,"unknown_45":-6484620487886813184}} 
[2026-08-11 11:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":154847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:11:31] local.INFO: GPS data processed {"connection_id":154847,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:11:31] local.INFO: Acknowledgment sent {"connection_id":154847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:11:35] local.INFO: TCP Data received {"connection_id":154847,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fef54a228012da6008005f44638001400dd2f..."} 
[2026-08-11 11:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef54a228012da6008005f44638001400dd2f..."} 
[2026-08-11 11:11:35] local.INFO: Processing buffer {"connection_id":154847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef54a228012da6008005f44638001400dd2f..."} 
[2026-08-11 11:11:35] local.INFO: Packet analysis {"connection_id":154847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:11:35] local.INFO: Extracted packet for processing {"connection_id":154847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:11:35] local.INFO: GPS Element Parsed {"raw_longitude":765853824,"raw_latitude":99894840,"longitude_deg":76.5853824,"latitude_deg":9.989484,"altitude":20,"angle":221,"satellites":47,"speed":14,"hex_longitude":"2da60080","hex_latitude":"05f44638","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325242112001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377397913011093504,"note":"Value kept but may cause issues"} 
[2026-08-11 11:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6484761225375232000,"note":"Value kept but may cause issues"} 
[2026-08-11 11:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786426729000,"timestamp_ms":1786426729000,"timestamp_seconds":1786426729,"priority":1,"record_length":96,"hex_timestamp":"0000019fef54a228"} 
[2026-08-11 11:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 11:11: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-08-11 11: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-08-11 11:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:11: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-08-11 11:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325242112001,"66":27800,"165":206,"88":19456,"24":14,"16":377397913011093504,"45":-6484761225375232000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,88,24,16,45]} 
[2026-08-11 11:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325242112001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:11:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 11:11:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377397913011093504,"km_value":377397913011093.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6484761225375232000,"description":"Unknown IO ID 45"} 
[2026-08-11 11:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325242112001,"power":27800,"unknown_165":206,"unknown_88":19456,"ignition":14,"odometer":null,"unknown_45":-6484761225375232000}} 
[2026-08-11 11:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":154847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:11:35] local.INFO: GPS data processed {"connection_id":154847,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:11:35] local.INFO: Acknowledgment sent {"connection_id":154847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:12:19] local.INFO: TCP Data received {"connection_id":154848,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:12:19] local.INFO: Processing buffer {"connection_id":154848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:12:19] local.INFO: IMEI packet received {"connection_id":154848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":154848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:12:25] local.INFO: TCP Data received {"connection_id":154848,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:12:25] local.INFO: Processing buffer {"connection_id":154848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:12:25] local.INFO: IMEI packet received {"connection_id":154848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":154848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:12:26] local.INFO: TCP Data received {"connection_id":154848,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef54ade0012da5fc4005f44318001300ed2e..."} 
[2026-08-11 11:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef54ade0012da5fc4005f44318001300ed2e..."} 
[2026-08-11 11:12:26] local.INFO: Processing buffer {"connection_id":154848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef54ade0012da5fc4005f44318001300ed2e..."} 
[2026-08-11 11:12:26] local.INFO: Packet analysis {"connection_id":154848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:12:26] local.INFO: Extracted packet for processing {"connection_id":154848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:12:26] local.INFO: GPS Element Parsed {"raw_longitude":765852736,"raw_latitude":99894040,"longitude_deg":76.5852736,"latitude_deg":9.989404,"altitude":19,"angle":237,"satellites":46,"speed":19,"hex_longitude":"2da5fc40","hex_latitude":"05f44318","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325242624001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377397977435602944,"note":"Value kept but may cause issues"} 
[2026-08-11 11:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6485042700352079872,"note":"Value kept but may cause issues"} 
[2026-08-11 11:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786426732000,"timestamp_ms":1786426732000,"timestamp_seconds":1786426732,"priority":1,"record_length":96,"hex_timestamp":"0000019fef54ade0"} 
[2026-08-11 11:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 11:12: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-08-11 11: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-08-11 11:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325242624001,"66":27767,"165":206,"88":19456,"24":19,"16":377397977435602944,"45":-6485042700352079872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,88,24,16,45]} 
[2026-08-11 11:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325242624001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:12:26] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 11:12:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377397977435602944,"km_value":377397977435602.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6485042700352079872,"description":"Unknown IO ID 45"} 
[2026-08-11 11:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325242624001,"power":27767,"unknown_165":206,"unknown_88":19456,"ignition":19,"odometer":null,"unknown_45":-6485042700352079872}} 
[2026-08-11 11:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":154848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:12:26] local.INFO: GPS data processed {"connection_id":154848,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:12:26] local.INFO: Acknowledgment sent {"connection_id":154848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:12:57] local.INFO: TCP Data received {"connection_id":154848,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef54f048012da5ddc005f43078001200ec2d..."} 
[2026-08-11 11:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef54f048012da5ddc005f43078001200ec2d..."} 
[2026-08-11 11:12:57] local.INFO: Processing buffer {"connection_id":154848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef54f048012da5ddc005f43078001200ec2d..."} 
[2026-08-11 11:12:57] local.INFO: Packet analysis {"connection_id":154848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:12:57] local.INFO: Extracted packet for processing {"connection_id":154848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef54"} 
[2026-08-11 11:12:57] local.INFO: GPS Element Parsed {"raw_longitude":765844928,"raw_latitude":99889272,"longitude_deg":76.5844928,"latitude_deg":9.9889272,"altitude":18,"angle":236,"satellites":45,"speed":17,"hex_longitude":"2da5ddc0","hex_latitude":"05f43078","is_valid_coordinates":true} 
[2026-08-11 11:12: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-08-11 11:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325243392001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398415522267136,"note":"Value kept but may cause issues"} 
[2026-08-11 11:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6486238969003304960,"note":"Value kept but may cause issues"} 
[2026-08-11 11:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786426749000,"timestamp_ms":1786426749000,"timestamp_seconds":1786426749,"priority":1,"record_length":96,"hex_timestamp":"0000019fef54f048"} 
[2026-08-11 11:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11:12: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-08-11 11:12: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-08-11 11:12: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-08-11 11:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325243392001,"66":28050,"10":206,"88":19456,"24":17,"16":377398415522267136,"45":-6486238969003304960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325243392001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:12:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:12:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398415522267136,"km_value":377398415522267.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6486238969003304960,"description":"Unknown IO ID 45"} 
[2026-08-11 11:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325243392001,"power":28050,"unknown_10":206,"unknown_88":19456,"ignition":17,"odometer":null,"unknown_45":-6486238969003304960}} 
[2026-08-11 11:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":154848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:12:57] local.INFO: GPS data processed {"connection_id":154848,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:12:57] local.INFO: Acknowledgment sent {"connection_id":154848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:13:19] local.INFO: TCP Data received {"connection_id":152135,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:13:19] local.INFO: Processing buffer {"connection_id":152135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:13:19] local.INFO: IMEI packet received {"connection_id":152135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":152135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:13:25] local.INFO: TCP Data received {"connection_id":152135,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:13:25] local.INFO: Processing buffer {"connection_id":152135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:13:25] local.INFO: IMEI packet received {"connection_id":152135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":152135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:13:25] local.INFO: TCP Data received {"connection_id":152135,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef550f88012da5d5c005f42a90001300fb2d..."} 
[2026-08-11 11:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef550f88012da5d5c005f42a90001300fb2d..."} 
[2026-08-11 11:13:25] local.INFO: Processing buffer {"connection_id":152135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef550f88012da5d5c005f42a90001300fb2d..."} 
[2026-08-11 11:13:25] local.INFO: Packet analysis {"connection_id":152135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef55"} 
[2026-08-11 11:13:25] local.INFO: Extracted packet for processing {"connection_id":152135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef55"} 
[2026-08-11 11:13:25] local.INFO: GPS Element Parsed {"raw_longitude":765842880,"raw_latitude":99887760,"longitude_deg":76.584288,"latitude_deg":9.988776,"altitude":19,"angle":251,"satellites":45,"speed":8,"hex_longitude":"2da5d5c0","hex_latitude":"05f42a90","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325247744001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398535781351424,"note":"Value kept but may cause issues"} 
[2026-08-11 11:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6494823955794200576,"note":"Value kept but may cause issues"} 
[2026-08-11 11:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786426757000,"timestamp_ms":1786426757000,"timestamp_seconds":1786426757,"priority":1,"record_length":96,"hex_timestamp":"0000019fef550f88"} 
[2026-08-11 11:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 11:13:25] 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-08-11 11: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-08-11 11:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325247744001,"66":27767,"10":206,"88":19456,"24":8,"16":377398535781351424,"45":-6494823955794200576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325247744001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:13:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:13:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398535781351424,"km_value":377398535781351.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6494823955794200576,"description":"Unknown IO ID 45"} 
[2026-08-11 11:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325247744001,"power":27767,"unknown_10":206,"unknown_88":19456,"ignition":8,"odometer":null,"unknown_45":-6494823955794200576}} 
[2026-08-11 11:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":152135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:13:25] local.INFO: GPS data processed {"connection_id":152135,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:13:25] local.INFO: Acknowledgment sent {"connection_id":152135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:13:58] local.INFO: TCP Data received {"connection_id":152135,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef552310012da5cec005f428d8001401072d..."} 
[2026-08-11 11:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef552310012da5cec005f428d8001401072d..."} 
[2026-08-11 11:13:58] local.INFO: Processing buffer {"connection_id":152135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef552310012da5cec005f428d8001401072d..."} 
[2026-08-11 11:13:58] local.INFO: Packet analysis {"connection_id":152135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef55"} 
[2026-08-11 11:13:58] local.INFO: Extracted packet for processing {"connection_id":152135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef55"} 
[2026-08-11 11:13:58] local.INFO: GPS Element Parsed {"raw_longitude":765841088,"raw_latitude":99887320,"longitude_deg":76.5841088,"latitude_deg":9.988732,"altitude":20,"angle":263,"satellites":45,"speed":18,"hex_longitude":"2da5cec0","hex_latitude":"05f428d8","is_valid_coordinates":true} 
[2026-08-11 11:13: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-08-11 11:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325249792001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398625975664640,"note":"Value kept but may cause issues"} 
[2026-08-11 11:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6497075755608272896,"note":"Value kept but may cause issues"} 
[2026-08-11 11:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786426762000,"timestamp_ms":1786426762000,"timestamp_seconds":1786426762,"priority":1,"record_length":96,"hex_timestamp":"0000019fef552310"} 
[2026-08-11 11:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11:13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 11:13:58] 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-08-11 11:13: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-08-11 11:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325249792001,"66":27767,"10":206,"88":19456,"24":18,"16":377398625975664640,"45":-6497075755608272896},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325249792001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:13:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:13:58] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398625975664640,"km_value":377398625975664.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6497075755608272896,"description":"Unknown IO ID 45"} 
[2026-08-11 11:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325249792001,"power":27767,"unknown_10":206,"unknown_88":19456,"ignition":18,"odometer":null,"unknown_45":-6497075755608272896}} 
[2026-08-11 11:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":152135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:13:58] local.INFO: GPS data processed {"connection_id":152135,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:13:58] local.INFO: Acknowledgment sent {"connection_id":152135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:14:19] local.INFO: TCP Data received {"connection_id":152136,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:14:19] local.INFO: Processing buffer {"connection_id":152136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:14:19] local.INFO: IMEI packet received {"connection_id":152136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":152136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:14:25] local.INFO: TCP Data received {"connection_id":152136,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:14:25] local.INFO: Processing buffer {"connection_id":152136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:14:25] local.INFO: IMEI packet received {"connection_id":152136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":152136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:14:25] local.INFO: TCP Data received {"connection_id":152136,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef554638012da5bf8005f428400013010f2d..."} 
[2026-08-11 11:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef554638012da5bf8005f428400013010f2d..."} 
[2026-08-11 11:14:25] local.INFO: Processing buffer {"connection_id":152136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef554638012da5bf8005f428400013010f2d..."} 
[2026-08-11 11:14:25] local.INFO: Packet analysis {"connection_id":152136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef55"} 
[2026-08-11 11:14:25] local.INFO: Extracted packet for processing {"connection_id":152136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef55"} 
[2026-08-11 11:14:25] local.INFO: GPS Element Parsed {"raw_longitude":765837184,"raw_latitude":99887168,"longitude_deg":76.5837184,"latitude_deg":9.9887168,"altitude":19,"angle":271,"satellites":45,"speed":13,"hex_longitude":"2da5bf80","hex_latitude":"05f42840","is_valid_coordinates":true} 
[2026-08-11 11:14:25] 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-08-11 11:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325251072001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6499046080445360128,"note":"Value kept but may cause issues"} 
[2026-08-11 11:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786426771000,"timestamp_ms":1786426771000,"timestamp_seconds":1786426771,"priority":1,"record_length":96,"hex_timestamp":"0000019fef554638"} 
[2026-08-11 11:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 11:14:25] 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-08-11 11: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-08-11 11:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325251072001,"66":27919,"10":206,"88":19456,"24":13,"16":377398814954225664,"45":-6499046080445360128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325251072001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:14:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:14:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6499046080445360128,"description":"Unknown IO ID 45"} 
[2026-08-11 11:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325251072001,"power":27919,"unknown_10":206,"unknown_88":19456,"ignition":13,"odometer":null,"unknown_45":-6499046080445360128}} 
[2026-08-11 11:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":152136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:14:26] local.INFO: GPS data processed {"connection_id":152136,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:14:26] local.INFO: Acknowledgment sent {"connection_id":152136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:14:57] local.INFO: TCP Data received {"connection_id":152136,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef554638012da5bf8005f428400013010f2d..."} 
[2026-08-11 11:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef554638012da5bf8005f428400013010f2d..."} 
[2026-08-11 11:14:57] local.INFO: Processing buffer {"connection_id":152136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef554638012da5bf8005f428400013010f2d..."} 
[2026-08-11 11:14:57] local.INFO: Packet analysis {"connection_id":152136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef55"} 
[2026-08-11 11:14:57] local.INFO: Extracted packet for processing {"connection_id":152136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef55"} 
[2026-08-11 11:14:57] local.INFO: GPS Element Parsed {"raw_longitude":765837184,"raw_latitude":99887168,"longitude_deg":76.5837184,"latitude_deg":9.9887168,"altitude":19,"angle":271,"satellites":45,"speed":13,"hex_longitude":"2da5bf80","hex_latitude":"05f42840","is_valid_coordinates":true} 
[2026-08-11 11:14: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-08-11 11:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325251072001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6499046080445360128,"note":"Value kept but may cause issues"} 
[2026-08-11 11:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786426771000,"timestamp_ms":1786426771000,"timestamp_seconds":1786426771,"priority":1,"record_length":96,"hex_timestamp":"0000019fef554638"} 
[2026-08-11 11:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 11:14: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-08-11 11: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-08-11 11:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325251072001,"66":27919,"10":206,"88":19456,"24":13,"16":377398814954225664,"45":-6499046080445360128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325251072001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:14:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:14:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6499046080445360128,"description":"Unknown IO ID 45"} 
[2026-08-11 11:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325251072001,"power":27919,"unknown_10":206,"unknown_88":19456,"ignition":13,"odometer":null,"unknown_45":-6499046080445360128}} 
[2026-08-11 11:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":152136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:14:57] local.INFO: GPS data processed {"connection_id":152136,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:14:57] local.INFO: Acknowledgment sent {"connection_id":152136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:15:19] local.INFO: TCP Data received {"connection_id":152137,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:15:19] local.INFO: Processing buffer {"connection_id":152137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:15:19] local.INFO: IMEI packet received {"connection_id":152137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":152137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:15:25] local.INFO: TCP Data received {"connection_id":152137,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:15:25] local.INFO: Processing buffer {"connection_id":152137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:15:25] local.INFO: IMEI packet received {"connection_id":152137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":152137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:15:26] local.INFO: TCP Data received {"connection_id":152137,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:15:26] local.INFO: Processing buffer {"connection_id":152137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:15:26] local.INFO: Packet analysis {"connection_id":152137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:15:26] local.INFO: Extracted packet for processing {"connection_id":152137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:15:26] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325253376001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6503338573840236544,"note":"Value kept but may cause issues"} 
[2026-08-11 11:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786427073000,"timestamp_ms":1786427073000,"timestamp_seconds":1786427073,"priority":1,"record_length":96,"hex_timestamp":"0000019fef59e1e8"} 
[2026-08-11 11:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 11:15:26] 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-08-11 11: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-08-11 11:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325253376001,"66":26517,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6503338573840236544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325253376001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:15:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:15:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6503338573840236544,"description":"Unknown IO ID 45"} 
[2026-08-11 11:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325253376001,"power":26517,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6503338573840236544}} 
[2026-08-11 11:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":152137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:15:26] local.INFO: GPS data processed {"connection_id":152137,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:15:26] local.INFO: Acknowledgment sent {"connection_id":152137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:15:57] local.INFO: TCP Data received {"connection_id":152137,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:15:57] local.INFO: Processing buffer {"connection_id":152137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:15:57] local.INFO: Packet analysis {"connection_id":152137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:15:57] local.INFO: Extracted packet for processing {"connection_id":152137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:15:57] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11:15: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-08-11 11:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325253376001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6503338573840236544,"note":"Value kept but may cause issues"} 
[2026-08-11 11:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786427073000,"timestamp_ms":1786427073000,"timestamp_seconds":1786427073,"priority":1,"record_length":96,"hex_timestamp":"0000019fef59e1e8"} 
[2026-08-11 11:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:15: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":15,"data_length":795,"current_offset":136} 
[2026-08-11 11:15:57] 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-08-11 11:15: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-08-11 11:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325253376001,"66":26517,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6503338573840236544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325253376001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:15:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:15:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6503338573840236544,"description":"Unknown IO ID 45"} 
[2026-08-11 11:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325253376001,"power":26517,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6503338573840236544}} 
[2026-08-11 11:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":152137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:15:57] local.INFO: GPS data processed {"connection_id":152137,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:15:57] local.INFO: Acknowledgment sent {"connection_id":152137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:16:19] local.INFO: TCP Data received {"connection_id":154849,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:16:19] local.INFO: Processing buffer {"connection_id":154849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:16:19] local.INFO: IMEI packet received {"connection_id":154849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":154849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:16:25] local.INFO: TCP Data received {"connection_id":154849,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:16:25] local.INFO: Processing buffer {"connection_id":154849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:16:25] local.INFO: IMEI packet received {"connection_id":154849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":154849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:16:26] local.INFO: TCP Data received {"connection_id":154849,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:16:26] local.INFO: Processing buffer {"connection_id":154849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:16:26] local.INFO: Packet analysis {"connection_id":154849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:16:26] local.INFO: Extracted packet for processing {"connection_id":154849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:16:26] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325253376001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6503338573840236544,"note":"Value kept but may cause issues"} 
[2026-08-11 11:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786427073000,"timestamp_ms":1786427073000,"timestamp_seconds":1786427073,"priority":1,"record_length":96,"hex_timestamp":"0000019fef59e1e8"} 
[2026-08-11 11:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 11:16:26] 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-08-11 11: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-08-11 11:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325253376001,"66":26517,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6503338573840236544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325253376001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:16:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:16:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6503338573840236544,"description":"Unknown IO ID 45"} 
[2026-08-11 11:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325253376001,"power":26517,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6503338573840236544}} 
[2026-08-11 11:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":154849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:16:26] local.INFO: GPS data processed {"connection_id":154849,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:16:26] local.INFO: Acknowledgment sent {"connection_id":154849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:16:58] local.INFO: TCP Data received {"connection_id":154849,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:16:58] local.INFO: Processing buffer {"connection_id":154849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:16:58] local.INFO: Packet analysis {"connection_id":154849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:16:58] local.INFO: Extracted packet for processing {"connection_id":154849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:16:58] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325253376001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6503338573840236544,"note":"Value kept but may cause issues"} 
[2026-08-11 11:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786427073000,"timestamp_ms":1786427073000,"timestamp_seconds":1786427073,"priority":1,"record_length":96,"hex_timestamp":"0000019fef59e1e8"} 
[2026-08-11 11:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 11:16:58] 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-08-11 11: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-08-11 11:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":154849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":154849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":154849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325253376001,"66":26517,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6503338573840236544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325253376001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:16:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:16:58] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6503338573840236544,"description":"Unknown IO ID 45"} 
[2026-08-11 11:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325253376001,"power":26517,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6503338573840236544}} 
[2026-08-11 11:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":154849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:16:58] local.INFO: GPS data processed {"connection_id":154849,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:16:58] local.INFO: Acknowledgment sent {"connection_id":154849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:17:25] local.INFO: TCP Data received {"connection_id":152138,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:17:25] local.INFO: Processing buffer {"connection_id":152138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:17:25] local.INFO: IMEI packet received {"connection_id":152138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":152138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:17:30] local.INFO: TCP Data received {"connection_id":152138,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:17:30] local.INFO: Processing buffer {"connection_id":152138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:17:30] local.INFO: IMEI packet received {"connection_id":152138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":152138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:17:31] local.INFO: TCP Data received {"connection_id":152138,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:17:31] local.INFO: Processing buffer {"connection_id":152138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:17:31] local.INFO: Packet analysis {"connection_id":152138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:17:31] local.INFO: Extracted packet for processing {"connection_id":152138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:17:31] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11:17: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-08-11 11:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325253376001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6503338573840236544,"note":"Value kept but may cause issues"} 
[2026-08-11 11:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786427073000,"timestamp_ms":1786427073000,"timestamp_seconds":1786427073,"priority":1,"record_length":96,"hex_timestamp":"0000019fef59e1e8"} 
[2026-08-11 11:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 11:17:31] 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-08-11 11:17: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-08-11 11:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325253376001,"66":26517,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6503338573840236544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325253376001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:17:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:17:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6503338573840236544,"description":"Unknown IO ID 45"} 
[2026-08-11 11:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325253376001,"power":26517,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6503338573840236544}} 
[2026-08-11 11:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":152138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:17:31] local.INFO: GPS data processed {"connection_id":152138,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:17:31] local.INFO: Acknowledgment sent {"connection_id":152138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:17:35] local.INFO: TCP Data received {"connection_id":152138,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:17:35] local.INFO: Processing buffer {"connection_id":152138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:17:35] local.INFO: Packet analysis {"connection_id":152138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:17:35] local.INFO: Extracted packet for processing {"connection_id":152138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:17:35] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325253376001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6503338573840236544,"note":"Value kept but may cause issues"} 
[2026-08-11 11:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786427073000,"timestamp_ms":1786427073000,"timestamp_seconds":1786427073,"priority":1,"record_length":96,"hex_timestamp":"0000019fef59e1e8"} 
[2026-08-11 11:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 11:17: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-08-11 11: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-08-11 11:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325253376001,"66":26517,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6503338573840236544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325253376001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:17:35] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:17:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6503338573840236544,"description":"Unknown IO ID 45"} 
[2026-08-11 11:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325253376001,"power":26517,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6503338573840236544}} 
[2026-08-11 11:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":152138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:17:35] local.INFO: GPS data processed {"connection_id":152138,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:17:35] local.INFO: Acknowledgment sent {"connection_id":152138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:18:20] local.INFO: TCP Data received {"connection_id":153468,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:18:20] local.INFO: Processing buffer {"connection_id":153468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:18:20] local.INFO: IMEI packet received {"connection_id":153468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":153468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:18:24] local.INFO: TCP Data received {"connection_id":153468,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:18:24] local.INFO: Processing buffer {"connection_id":153468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:18:24] local.INFO: IMEI packet received {"connection_id":153468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":153468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:18:25] local.INFO: TCP Data received {"connection_id":153468,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:18:25] local.INFO: Processing buffer {"connection_id":153468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:18:25] local.INFO: Packet analysis {"connection_id":153468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:18:25] local.INFO: Extracted packet for processing {"connection_id":153468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:18:25] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325253376001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6503338573840236544,"note":"Value kept but may cause issues"} 
[2026-08-11 11:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786427073000,"timestamp_ms":1786427073000,"timestamp_seconds":1786427073,"priority":1,"record_length":96,"hex_timestamp":"0000019fef59e1e8"} 
[2026-08-11 11:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 11:18:25] 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-08-11 11: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-08-11 11:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:18:25] 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-08-11 11:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325253376001,"66":26517,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6503338573840236544},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325253376001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:18:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:18:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6503338573840236544,"description":"Unknown IO ID 45"} 
[2026-08-11 11:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325253376001,"power":26517,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6503338573840236544}} 
[2026-08-11 11:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":153468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:18:25] local.INFO: GPS data processed {"connection_id":153468,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:18:25] local.INFO: Acknowledgment sent {"connection_id":153468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:18:30] local.INFO: TCP Data received {"connection_id":153468,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:18:30] local.INFO: Processing buffer {"connection_id":153468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:18:30] local.INFO: Packet analysis {"connection_id":153468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:18:30] local.INFO: Extracted packet for processing {"connection_id":153468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:18:30] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11:18: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-08-11 11:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325253376001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6503338573840236544,"note":"Value kept but may cause issues"} 
[2026-08-11 11:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786427073000,"timestamp_ms":1786427073000,"timestamp_seconds":1786427073,"priority":1,"record_length":96,"hex_timestamp":"0000019fef59e1e8"} 
[2026-08-11 11:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 11:18:30] 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-08-11 11:18: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-08-11 11:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:18:30] 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-08-11 11:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325253376001,"66":26517,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6503338573840236544},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325253376001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:18:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:18:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6503338573840236544,"description":"Unknown IO ID 45"} 
[2026-08-11 11:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325253376001,"power":26517,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6503338573840236544}} 
[2026-08-11 11:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":153468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:18:30] local.INFO: GPS data processed {"connection_id":153468,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:18:30] local.INFO: Acknowledgment sent {"connection_id":153468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:19:01] local.INFO: TCP Data received {"connection_id":153468,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:19:01] local.INFO: Processing buffer {"connection_id":153468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:19:01] local.INFO: Packet analysis {"connection_id":153468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:19:01] local.INFO: Extracted packet for processing {"connection_id":153468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:19:01] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11:19: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-08-11 11:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325253376001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6503338573840236544,"note":"Value kept but may cause issues"} 
[2026-08-11 11:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786427073000,"timestamp_ms":1786427073000,"timestamp_seconds":1786427073,"priority":1,"record_length":96,"hex_timestamp":"0000019fef59e1e8"} 
[2026-08-11 11:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:19: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-08-11 11:19: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-08-11 11:19: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-08-11 11:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:19: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-08-11 11:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325253376001,"66":26517,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6503338573840236544},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325253376001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:19:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:19:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6503338573840236544,"description":"Unknown IO ID 45"} 
[2026-08-11 11:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325253376001,"power":26517,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6503338573840236544}} 
[2026-08-11 11:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":153468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:19:01] local.INFO: GPS data processed {"connection_id":153468,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:19:01] local.INFO: Acknowledgment sent {"connection_id":153468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:19:20] local.INFO: TCP Data received {"connection_id":152139,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:19:20] local.INFO: Processing buffer {"connection_id":152139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:19:20] local.INFO: IMEI packet received {"connection_id":152139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":152139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:19:25] local.INFO: TCP Data received {"connection_id":152139,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:19:25] local.INFO: Processing buffer {"connection_id":152139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:19:25] local.INFO: IMEI packet received {"connection_id":152139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":152139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:19:25] local.INFO: TCP Data received {"connection_id":152139,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:19:25] local.INFO: Processing buffer {"connection_id":152139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:19:25] local.INFO: Packet analysis {"connection_id":152139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:19:25] local.INFO: Extracted packet for processing {"connection_id":152139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:19:25] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325253376001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6503338573840236544,"note":"Value kept but may cause issues"} 
[2026-08-11 11:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786427073000,"timestamp_ms":1786427073000,"timestamp_seconds":1786427073,"priority":1,"record_length":96,"hex_timestamp":"0000019fef59e1e8"} 
[2026-08-11 11:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 11:19:25] 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-08-11 11: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-08-11 11:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:19:25] 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-08-11 11:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325253376001,"66":26517,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6503338573840236544},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325253376001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:19:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:19:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6503338573840236544,"description":"Unknown IO ID 45"} 
[2026-08-11 11:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325253376001,"power":26517,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6503338573840236544}} 
[2026-08-11 11:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":152139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:19:25] local.INFO: GPS data processed {"connection_id":152139,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:19:25] local.INFO: Acknowledgment sent {"connection_id":152139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:19:57] local.INFO: TCP Data received {"connection_id":152139,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:19:57] local.INFO: Processing buffer {"connection_id":152139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef59e1e8012da5b14005f42c30001201122a..."} 
[2026-08-11 11:19:57] local.INFO: Packet analysis {"connection_id":152139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:19:57] local.INFO: Extracted packet for processing {"connection_id":152139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef59"} 
[2026-08-11 11:19:57] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325253376001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6503338573840236544,"note":"Value kept but may cause issues"} 
[2026-08-11 11:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786427073000,"timestamp_ms":1786427073000,"timestamp_seconds":1786427073,"priority":1,"record_length":96,"hex_timestamp":"0000019fef59e1e8"} 
[2026-08-11 11:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 11:19:57] 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-08-11 11: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-08-11 11:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:19:57] 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-08-11 11:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325253376001,"66":26517,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6503338573840236544},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325253376001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:19:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:19:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6503338573840236544,"description":"Unknown IO ID 45"} 
[2026-08-11 11:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325253376001,"power":26517,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6503338573840236544}} 
[2026-08-11 11:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":152139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:19:57] local.INFO: GPS data processed {"connection_id":152139,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:19:57] local.INFO: Acknowledgment sent {"connection_id":152139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:20:19] local.INFO: TCP Data received {"connection_id":152140,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:20:19] local.INFO: Processing buffer {"connection_id":152140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:20:19] local.INFO: IMEI packet received {"connection_id":152140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":152140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:20:25] local.INFO: TCP Data received {"connection_id":152140,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:20:25] local.INFO: Processing buffer {"connection_id":152140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:20:25] local.INFO: IMEI packet received {"connection_id":152140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":152140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:20:26] local.INFO: TCP Data received {"connection_id":152140,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:20:26] local.INFO: Processing buffer {"connection_id":152140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:20:26] local.INFO: Packet analysis {"connection_id":152140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:20:26] local.INFO: Extracted packet for processing {"connection_id":152140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:20:26] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 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-08-11 11:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325330688001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786427374000,"timestamp_ms":1786427374000,"timestamp_seconds":1786427374,"priority":1,"record_length":96,"hex_timestamp":"0000019fef5e79b0"} 
[2026-08-11 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-08-11 11:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-11 11:20:26] 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-08-11 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-08-11 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-08-11 11:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:20:26] 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-08-11 11:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325330688001,"66":26267,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325330688001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:20:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:20:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325330688001,"power":26267,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":152140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:20:26] local.INFO: GPS data processed {"connection_id":152140,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:20:26] local.INFO: Acknowledgment sent {"connection_id":152140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:20:57] local.INFO: TCP Data received {"connection_id":152140,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:20:57] local.INFO: Processing buffer {"connection_id":152140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:20:57] local.INFO: Packet analysis {"connection_id":152140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:20:57] local.INFO: Extracted packet for processing {"connection_id":152140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:20:57] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11:20: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-08-11 11:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325330688001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786427374000,"timestamp_ms":1786427374000,"timestamp_seconds":1786427374,"priority":1,"record_length":96,"hex_timestamp":"0000019fef5e79b0"} 
[2026-08-11 11:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:20: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-11 11:20:57] 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-08-11 11:20: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-08-11 11:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:20:57] 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-08-11 11:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325330688001,"66":26267,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325330688001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:20:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:20:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325330688001,"power":26267,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":152140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:20:57] local.INFO: GPS data processed {"connection_id":152140,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:20:57] local.INFO: Acknowledgment sent {"connection_id":152140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:21:22] local.INFO: TCP Data received {"connection_id":153469,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:21:22] local.INFO: Processing buffer {"connection_id":153469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:21:22] local.INFO: IMEI packet received {"connection_id":153469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":153469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:21:25] local.INFO: TCP Data received {"connection_id":153469,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:21:25] local.INFO: Processing buffer {"connection_id":153469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:21:25] local.INFO: IMEI packet received {"connection_id":153469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":153469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:21:26] local.INFO: TCP Data received {"connection_id":153469,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:21:26] local.INFO: Processing buffer {"connection_id":153469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:21:26] local.INFO: Packet analysis {"connection_id":153469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:21:26] local.INFO: Extracted packet for processing {"connection_id":153469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:21:26] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 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-08-11 11:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325330688001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786427374000,"timestamp_ms":1786427374000,"timestamp_seconds":1786427374,"priority":1,"record_length":96,"hex_timestamp":"0000019fef5e79b0"} 
[2026-08-11 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-08-11 11:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-11 11:21:26] 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-08-11 11: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-08-11 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-08-11 11:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:21:26] 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-08-11 11:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325330688001,"66":26267,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325330688001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:21:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:21:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325330688001,"power":26267,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":153469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:21:26] local.INFO: GPS data processed {"connection_id":153469,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:21:26] local.INFO: Acknowledgment sent {"connection_id":153469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:22:04] local.INFO: TCP Data received {"connection_id":153469,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:22:04] local.INFO: Processing buffer {"connection_id":153469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:22:04] local.INFO: Packet analysis {"connection_id":153469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:22:04] local.INFO: Extracted packet for processing {"connection_id":153469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:22:04] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325330688001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786427374000,"timestamp_ms":1786427374000,"timestamp_seconds":1786427374,"priority":1,"record_length":96,"hex_timestamp":"0000019fef5e79b0"} 
[2026-08-11 11:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":149,"data_length":795,"current_offset":136} 
[2026-08-11 11:22: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-08-11 11: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-08-11 11:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:22:04] 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-08-11 11:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325330688001,"66":26267,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325330688001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:22:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:22:04] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325330688001,"power":26267,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":153469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:22:04] local.INFO: GPS data processed {"connection_id":153469,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:22:04] local.INFO: Acknowledgment sent {"connection_id":153469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:22:19] local.INFO: TCP Data received {"connection_id":152141,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:22:19] local.INFO: Processing buffer {"connection_id":152141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:22:19] local.INFO: IMEI packet received {"connection_id":152141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":152141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:22:24] local.INFO: TCP Data received {"connection_id":152141,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:22:24] local.INFO: Processing buffer {"connection_id":152141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:22:24] local.INFO: IMEI packet received {"connection_id":152141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":152141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:22:25] local.INFO: TCP Data received {"connection_id":152141,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:22:25] local.INFO: Processing buffer {"connection_id":152141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:22:25] local.INFO: Packet analysis {"connection_id":152141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:22:25] local.INFO: Extracted packet for processing {"connection_id":152141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:22:25] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325330688001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786427374000,"timestamp_ms":1786427374000,"timestamp_seconds":1786427374,"priority":1,"record_length":96,"hex_timestamp":"0000019fef5e79b0"} 
[2026-08-11 11:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-11 11:22:25] 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-08-11 11: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-08-11 11:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:22:25] 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-08-11 11:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325330688001,"66":26267,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325330688001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:22:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:22:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325330688001,"power":26267,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":152141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:22:25] local.INFO: GPS data processed {"connection_id":152141,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:22:25] local.INFO: Acknowledgment sent {"connection_id":152141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:22:57] local.INFO: TCP Data received {"connection_id":152141,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:22:57] local.INFO: Processing buffer {"connection_id":152141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:22:57] local.INFO: Packet analysis {"connection_id":152141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:22:57] local.INFO: Extracted packet for processing {"connection_id":152141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:22:57] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325330688001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786427374000,"timestamp_ms":1786427374000,"timestamp_seconds":1786427374,"priority":1,"record_length":96,"hex_timestamp":"0000019fef5e79b0"} 
[2026-08-11 11:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-11 11:22:57] 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-08-11 11: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-08-11 11:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:22:57] 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-08-11 11:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325330688001,"66":26267,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325330688001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:22:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:22:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325330688001,"power":26267,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":152141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:22:57] local.INFO: GPS data processed {"connection_id":152141,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:22:57] local.INFO: Acknowledgment sent {"connection_id":152141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:23:25] local.INFO: TCP Data received {"connection_id":152513,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:23:25] local.INFO: Processing buffer {"connection_id":152513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:23:25] local.INFO: IMEI packet received {"connection_id":152513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":152513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:23:30] local.INFO: TCP Data received {"connection_id":152513,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:23:30] local.INFO: Processing buffer {"connection_id":152513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:23:30] local.INFO: IMEI packet received {"connection_id":152513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":152513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:23:30] local.INFO: TCP Data received {"connection_id":152513,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:23:30] local.INFO: Processing buffer {"connection_id":152513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:23:30] local.INFO: Packet analysis {"connection_id":152513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:23:30] local.INFO: Extracted packet for processing {"connection_id":152513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:23:30] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325330688001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786427374000,"timestamp_ms":1786427374000,"timestamp_seconds":1786427374,"priority":1,"record_length":96,"hex_timestamp":"0000019fef5e79b0"} 
[2026-08-11 11:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-11 11:23:30] 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-08-11 11: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-08-11 11:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:23:30] 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-08-11 11:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325330688001,"66":26267,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325330688001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:23:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:23:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325330688001,"power":26267,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":152513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:23:30] local.INFO: GPS data processed {"connection_id":152513,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:23:30] local.INFO: Acknowledgment sent {"connection_id":152513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:23:35] local.INFO: TCP Data received {"connection_id":152513,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:23:35] local.INFO: Processing buffer {"connection_id":152513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:23:35] local.INFO: Packet analysis {"connection_id":152513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:23:35] local.INFO: Extracted packet for processing {"connection_id":152513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:23:35] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325330688001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786427374000,"timestamp_ms":1786427374000,"timestamp_seconds":1786427374,"priority":1,"record_length":96,"hex_timestamp":"0000019fef5e79b0"} 
[2026-08-11 11:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-11 11:23:35] 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-08-11 11: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-08-11 11:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:23:35] 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-08-11 11:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325330688001,"66":26267,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325330688001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:23:35] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:23:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325330688001,"power":26267,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":152513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:23:35] local.INFO: GPS data processed {"connection_id":152513,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:23:35] local.INFO: Acknowledgment sent {"connection_id":152513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:24:20] local.INFO: TCP Data received {"connection_id":152142,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:24:20] local.INFO: Processing buffer {"connection_id":152142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:24:20] local.INFO: IMEI packet received {"connection_id":152142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":152142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:24:25] local.INFO: TCP Data received {"connection_id":152142,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:24:25] local.INFO: Processing buffer {"connection_id":152142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:24:25] local.INFO: IMEI packet received {"connection_id":152142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":152142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:24:26] local.INFO: TCP Data received {"connection_id":152142,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:24:26] local.INFO: Processing buffer {"connection_id":152142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:24:26] local.INFO: Packet analysis {"connection_id":152142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:24:26] local.INFO: Extracted packet for processing {"connection_id":152142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:24:26] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 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-08-11 11:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325330688001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786427374000,"timestamp_ms":1786427374000,"timestamp_seconds":1786427374,"priority":1,"record_length":96,"hex_timestamp":"0000019fef5e79b0"} 
[2026-08-11 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-08-11 11:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-11 11:24:26] 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-08-11 11: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-08-11 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-08-11 11:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:24:26] 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-08-11 11:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325330688001,"66":26267,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325330688001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:24:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:24:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325330688001,"power":26267,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":152142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:24:26] local.INFO: GPS data processed {"connection_id":152142,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:24:26] local.INFO: Acknowledgment sent {"connection_id":152142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:24:57] local.INFO: TCP Data received {"connection_id":152142,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:24:57] local.INFO: Processing buffer {"connection_id":152142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef5e79b0012da5b14005f42c300012011228..."} 
[2026-08-11 11:24:57] local.INFO: Packet analysis {"connection_id":152142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:24:57] local.INFO: Extracted packet for processing {"connection_id":152142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef5e"} 
[2026-08-11 11:24:57] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11:24: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-08-11 11:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325330688001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786427374000,"timestamp_ms":1786427374000,"timestamp_seconds":1786427374,"priority":1,"record_length":96,"hex_timestamp":"0000019fef5e79b0"} 
[2026-08-11 11:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:24: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-11 11:24:57] 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-08-11 11:24: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-08-11 11:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:24:57] 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-08-11 11:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325330688001,"66":26267,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325330688001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:24:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:24:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325330688001,"power":26267,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":152142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:24:57] local.INFO: GPS data processed {"connection_id":152142,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:24:57] local.INFO: Acknowledgment sent {"connection_id":152142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:25:19] local.INFO: TCP Data received {"connection_id":154850,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:25:19] local.INFO: Processing buffer {"connection_id":154850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:25:19] local.INFO: IMEI packet received {"connection_id":154850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":154850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:25:25] local.INFO: TCP Data received {"connection_id":154850,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:25:25] local.INFO: Processing buffer {"connection_id":154850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:25:25] local.INFO: IMEI packet received {"connection_id":154850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":154850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:25:26] local.INFO: TCP Data received {"connection_id":154850,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:25:26] local.INFO: Processing buffer {"connection_id":154850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:25:26] local.INFO: Packet analysis {"connection_id":154850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:25:26] local.INFO: Extracted packet for processing {"connection_id":154850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:25:26] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325407744001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786427675000,"timestamp_ms":1786427675000,"timestamp_seconds":1786427675,"priority":1,"record_length":96,"hex_timestamp":"0000019fef631178"} 
[2026-08-11 11:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":155,"data_length":795,"current_offset":136} 
[2026-08-11 11:25:26] 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-08-11 11: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-08-11 11:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:25:26] 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-08-11 11:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325407744001,"66":26115,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325407744001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:25:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:25:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325407744001,"power":26115,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":154850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:25:26] local.INFO: GPS data processed {"connection_id":154850,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:25:26] local.INFO: Acknowledgment sent {"connection_id":154850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:25:57] local.INFO: TCP Data received {"connection_id":154850,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:25:57] local.INFO: Processing buffer {"connection_id":154850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:25:57] local.INFO: Packet analysis {"connection_id":154850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:25:57] local.INFO: Extracted packet for processing {"connection_id":154850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:25:57] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11:25: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-08-11 11:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325407744001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786427675000,"timestamp_ms":1786427675000,"timestamp_seconds":1786427675,"priority":1,"record_length":96,"hex_timestamp":"0000019fef631178"} 
[2026-08-11 11:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:25: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 11:25:57] 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-08-11 11:25: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-08-11 11:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:25:57] 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-08-11 11:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325407744001,"66":26115,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325407744001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:25:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:25:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325407744001,"power":26115,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":154850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:25:57] local.INFO: GPS data processed {"connection_id":154850,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:25:57] local.INFO: Acknowledgment sent {"connection_id":154850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:26:19] local.INFO: TCP Data received {"connection_id":152514,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:26:19] local.INFO: Processing buffer {"connection_id":152514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:26:19] local.INFO: IMEI packet received {"connection_id":152514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":152514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:26:25] local.INFO: TCP Data received {"connection_id":152514,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:26:25] local.INFO: Processing buffer {"connection_id":152514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:26:25] local.INFO: IMEI packet received {"connection_id":152514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":152514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:26:26] local.INFO: TCP Data received {"connection_id":152514,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:26:26] local.INFO: Processing buffer {"connection_id":152514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:26:26] local.INFO: Packet analysis {"connection_id":152514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:26:26] local.INFO: Extracted packet for processing {"connection_id":152514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:26:26] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325407744001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786427675000,"timestamp_ms":1786427675000,"timestamp_seconds":1786427675,"priority":1,"record_length":96,"hex_timestamp":"0000019fef631178"} 
[2026-08-11 11:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 11:26:26] 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-08-11 11: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-08-11 11:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:26:26] 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-08-11 11:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325407744001,"66":26115,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325407744001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:26:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:26:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325407744001,"power":26115,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":152514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:26:26] local.INFO: GPS data processed {"connection_id":152514,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:26:26] local.INFO: Acknowledgment sent {"connection_id":152514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:27:00] local.INFO: TCP Data received {"connection_id":152514,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:27:00] local.INFO: Processing buffer {"connection_id":152514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:27:00] local.INFO: Packet analysis {"connection_id":152514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:27:00] local.INFO: Extracted packet for processing {"connection_id":152514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:27:00] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325407744001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786427675000,"timestamp_ms":1786427675000,"timestamp_seconds":1786427675,"priority":1,"record_length":96,"hex_timestamp":"0000019fef631178"} 
[2026-08-11 11:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 11:27:00] 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-08-11 11: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-08-11 11:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:27:00] 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-08-11 11:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325407744001,"66":26115,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325407744001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:27:00] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:27:00] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325407744001,"power":26115,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":152514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:27:00] local.INFO: GPS data processed {"connection_id":152514,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:27:00] local.INFO: Acknowledgment sent {"connection_id":152514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:27:25] local.INFO: TCP Data received {"connection_id":154851,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:27:25] local.INFO: Processing buffer {"connection_id":154851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:27:25] local.INFO: IMEI packet received {"connection_id":154851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":154851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:27:30] local.INFO: TCP Data received {"connection_id":154851,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:27:30] local.INFO: Processing buffer {"connection_id":154851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:27:30] local.INFO: IMEI packet received {"connection_id":154851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":154851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:27:32] local.INFO: TCP Data received {"connection_id":154851,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:27:32] local.INFO: Processing buffer {"connection_id":154851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:27:32] local.INFO: Packet analysis {"connection_id":154851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:27:32] local.INFO: Extracted packet for processing {"connection_id":154851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:27:32] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325407744001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786427675000,"timestamp_ms":1786427675000,"timestamp_seconds":1786427675,"priority":1,"record_length":96,"hex_timestamp":"0000019fef631178"} 
[2026-08-11 11:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 11:27:32] 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-08-11 11: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-08-11 11:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:27: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-08-11 11:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325407744001,"66":26115,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325407744001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:27:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:27:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325407744001,"power":26115,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":154851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:27:32] local.INFO: GPS data processed {"connection_id":154851,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:27:32] local.INFO: Acknowledgment sent {"connection_id":154851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:27:35] local.INFO: TCP Data received {"connection_id":154851,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:27:35] local.INFO: Processing buffer {"connection_id":154851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:27:35] local.INFO: Packet analysis {"connection_id":154851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:27:35] local.INFO: Extracted packet for processing {"connection_id":154851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:27:35] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325407744001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786427675000,"timestamp_ms":1786427675000,"timestamp_seconds":1786427675,"priority":1,"record_length":96,"hex_timestamp":"0000019fef631178"} 
[2026-08-11 11:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":155,"data_length":795,"current_offset":136} 
[2026-08-11 11:27:35] 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-08-11 11: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-08-11 11:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:27:35] 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-08-11 11:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325407744001,"66":26115,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325407744001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:27:35] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:27:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325407744001,"power":26115,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":154851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:27:35] local.INFO: GPS data processed {"connection_id":154851,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:27:35] local.INFO: Acknowledgment sent {"connection_id":154851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:28:20] local.INFO: TCP Data received {"connection_id":153470,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:28:20] local.INFO: Processing buffer {"connection_id":153470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:28:20] local.INFO: IMEI packet received {"connection_id":153470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":153470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:28:25] local.INFO: TCP Data received {"connection_id":153470,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:28:25] local.INFO: Processing buffer {"connection_id":153470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:28:25] local.INFO: IMEI packet received {"connection_id":153470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":153470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:28:26] local.INFO: TCP Data received {"connection_id":153470,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:28:26] local.INFO: Processing buffer {"connection_id":153470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:28:26] local.INFO: Packet analysis {"connection_id":153470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:28:26] local.INFO: Extracted packet for processing {"connection_id":153470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:28:26] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325407744001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786427675000,"timestamp_ms":1786427675000,"timestamp_seconds":1786427675,"priority":1,"record_length":96,"hex_timestamp":"0000019fef631178"} 
[2026-08-11 11:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 11:28:26] 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-08-11 11: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-08-11 11:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:28:26] 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-08-11 11:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325407744001,"66":26115,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325407744001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:28:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:28:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325407744001,"power":26115,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":153470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:28:26] local.INFO: GPS data processed {"connection_id":153470,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:28:26] local.INFO: Acknowledgment sent {"connection_id":153470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:28:57] local.INFO: TCP Data received {"connection_id":153470,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:28:57] local.INFO: Processing buffer {"connection_id":153470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:28:57] local.INFO: Packet analysis {"connection_id":153470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:28:57] local.INFO: Extracted packet for processing {"connection_id":153470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:28:57] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325407744001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786427675000,"timestamp_ms":1786427675000,"timestamp_seconds":1786427675,"priority":1,"record_length":96,"hex_timestamp":"0000019fef631178"} 
[2026-08-11 11:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 11:28:57] 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-08-11 11: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-08-11 11:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:28:57] 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-08-11 11:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325407744001,"66":26115,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325407744001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:28:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:28:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325407744001,"power":26115,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":153470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:28:57] local.INFO: GPS data processed {"connection_id":153470,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:28:57] local.INFO: Acknowledgment sent {"connection_id":153470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:29:20] local.INFO: TCP Data received {"connection_id":152515,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:29:20] local.INFO: Processing buffer {"connection_id":152515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:29:20] local.INFO: IMEI packet received {"connection_id":152515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":152515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:29:25] local.INFO: TCP Data received {"connection_id":152515,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:29:25] local.INFO: Processing buffer {"connection_id":152515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:29:25] local.INFO: IMEI packet received {"connection_id":152515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":152515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:29:26] local.INFO: TCP Data received {"connection_id":152515,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:29:26] local.INFO: Processing buffer {"connection_id":152515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:29:26] local.INFO: Packet analysis {"connection_id":152515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:29:26] local.INFO: Extracted packet for processing {"connection_id":152515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:29:26] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325407744001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786427675000,"timestamp_ms":1786427675000,"timestamp_seconds":1786427675,"priority":1,"record_length":96,"hex_timestamp":"0000019fef631178"} 
[2026-08-11 11:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 11:29:26] 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-08-11 11: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-08-11 11:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:29:26] 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-08-11 11:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325407744001,"66":26115,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325407744001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:29:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:29:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325407744001,"power":26115,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":152515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:29:26] local.INFO: GPS data processed {"connection_id":152515,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:29:26] local.INFO: Acknowledgment sent {"connection_id":152515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:29:57] local.INFO: TCP Data received {"connection_id":152515,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:29:57] local.INFO: Processing buffer {"connection_id":152515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef631178012da5b14005f42c300012011229..."} 
[2026-08-11 11:29:57] local.INFO: Packet analysis {"connection_id":152515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:29:57] local.INFO: Extracted packet for processing {"connection_id":152515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef63"} 
[2026-08-11 11:29:57] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325407744001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786427675000,"timestamp_ms":1786427675000,"timestamp_seconds":1786427675,"priority":1,"record_length":96,"hex_timestamp":"0000019fef631178"} 
[2026-08-11 11:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 11:29:57] 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-08-11 11: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-08-11 11:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:29:57] 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-08-11 11:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325407744001,"66":26115,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325407744001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:29:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:29:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325407744001,"power":26115,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":152515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:29:57] local.INFO: GPS data processed {"connection_id":152515,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:29:57] local.INFO: Acknowledgment sent {"connection_id":152515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:30:19] local.INFO: TCP Data received {"connection_id":152143,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:30:19] local.INFO: Processing buffer {"connection_id":152143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:30:19] local.INFO: IMEI packet received {"connection_id":152143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":152143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:30:25] local.INFO: TCP Data received {"connection_id":152143,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:30:25] local.INFO: Processing buffer {"connection_id":152143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:30:25] local.INFO: IMEI packet received {"connection_id":152143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":152143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:30:26] local.INFO: TCP Data received {"connection_id":152143,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:30:26] local.INFO: Processing buffer {"connection_id":152143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:30:26] local.INFO: Packet analysis {"connection_id":152143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:30:26] local.INFO: Extracted packet for processing {"connection_id":152143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:30:26] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325484800001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786427976000,"timestamp_ms":1786427976000,"timestamp_seconds":1786427976,"priority":1,"record_length":96,"hex_timestamp":"0000019fef67a940"} 
[2026-08-11 11:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 11:30:26] 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-08-11 11: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-08-11 11:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:30:26] 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-08-11 11:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325484800001,"66":26028,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325484800001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:30:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:30:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325484800001,"power":26028,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":152143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:30:26] local.INFO: GPS data processed {"connection_id":152143,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:30:26] local.INFO: Acknowledgment sent {"connection_id":152143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:30:57] local.INFO: TCP Data received {"connection_id":152143,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:30:57] local.INFO: Processing buffer {"connection_id":152143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:30:57] local.INFO: Packet analysis {"connection_id":152143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:30:57] local.INFO: Extracted packet for processing {"connection_id":152143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:30:57] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325484800001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786427976000,"timestamp_ms":1786427976000,"timestamp_seconds":1786427976,"priority":1,"record_length":96,"hex_timestamp":"0000019fef67a940"} 
[2026-08-11 11:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 11:30:57] 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-08-11 11: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-08-11 11:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:30:57] 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-08-11 11:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325484800001,"66":26028,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325484800001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:30:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:30:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325484800001,"power":26028,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":152143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:30:58] local.INFO: GPS data processed {"connection_id":152143,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:30:58] local.INFO: Acknowledgment sent {"connection_id":152143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:31:19] local.INFO: TCP Data received {"connection_id":153471,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:31:19] local.INFO: Processing buffer {"connection_id":153471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:31:19] local.INFO: IMEI packet received {"connection_id":153471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":153471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:31:25] local.INFO: TCP Data received {"connection_id":153471,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:31:25] local.INFO: Processing buffer {"connection_id":153471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:31:25] local.INFO: IMEI packet received {"connection_id":153471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":153471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:31:26] local.INFO: TCP Data received {"connection_id":153471,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:31:26] local.INFO: Processing buffer {"connection_id":153471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:31:26] local.INFO: Packet analysis {"connection_id":153471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:31:26] local.INFO: Extracted packet for processing {"connection_id":153471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:31:26] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325484800001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786427976000,"timestamp_ms":1786427976000,"timestamp_seconds":1786427976,"priority":1,"record_length":96,"hex_timestamp":"0000019fef67a940"} 
[2026-08-11 11:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 11:31:26] 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-08-11 11: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-08-11 11:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:31:26] 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-08-11 11:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325484800001,"66":26028,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325484800001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:31:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:31:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325484800001,"power":26028,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":153471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:31:26] local.INFO: GPS data processed {"connection_id":153471,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:31:26] local.INFO: Acknowledgment sent {"connection_id":153471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:31:57] local.INFO: TCP Data received {"connection_id":153471,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:31:57] local.INFO: Processing buffer {"connection_id":153471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:31:57] local.INFO: Packet analysis {"connection_id":153471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:31:57] local.INFO: Extracted packet for processing {"connection_id":153471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:31:57] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325484800001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786427976000,"timestamp_ms":1786427976000,"timestamp_seconds":1786427976,"priority":1,"record_length":96,"hex_timestamp":"0000019fef67a940"} 
[2026-08-11 11:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 11:31:57] 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-08-11 11: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-08-11 11:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:31:57] 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-08-11 11:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325484800001,"66":26028,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325484800001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:31:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:31:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325484800001,"power":26028,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":153471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:31:57] local.INFO: GPS data processed {"connection_id":153471,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:31:57] local.INFO: Acknowledgment sent {"connection_id":153471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:32:25] local.INFO: TCP Data received {"connection_id":152516,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:32:25] local.INFO: Processing buffer {"connection_id":152516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:32:25] local.INFO: IMEI packet received {"connection_id":152516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":152516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:32:30] local.INFO: TCP Data received {"connection_id":152516,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:32:30] local.INFO: Processing buffer {"connection_id":152516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:32:30] local.INFO: IMEI packet received {"connection_id":152516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":152516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:32:31] local.INFO: TCP Data received {"connection_id":152516,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:32:31] local.INFO: Processing buffer {"connection_id":152516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:32:31] local.INFO: Packet analysis {"connection_id":152516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:32:31] local.INFO: Extracted packet for processing {"connection_id":152516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:32:31] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11:32: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-08-11 11:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325484800001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786427976000,"timestamp_ms":1786427976000,"timestamp_seconds":1786427976,"priority":1,"record_length":96,"hex_timestamp":"0000019fef67a940"} 
[2026-08-11 11:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:32: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 11:32:31] 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-08-11 11:32: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-08-11 11:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:32:31] 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-08-11 11:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325484800001,"66":26028,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325484800001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:32:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:32:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325484800001,"power":26028,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":152516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:32:31] local.INFO: GPS data processed {"connection_id":152516,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:32:31] local.INFO: Acknowledgment sent {"connection_id":152516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:32:36] local.INFO: TCP Data received {"connection_id":152516,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:32:36] local.INFO: Processing buffer {"connection_id":152516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:32:36] local.INFO: Packet analysis {"connection_id":152516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:32:36] local.INFO: Extracted packet for processing {"connection_id":152516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:32:36] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325484800001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786427976000,"timestamp_ms":1786427976000,"timestamp_seconds":1786427976,"priority":1,"record_length":96,"hex_timestamp":"0000019fef67a940"} 
[2026-08-11 11:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":3,"data_length":795,"current_offset":136} 
[2026-08-11 11:32: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-08-11 11: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-08-11 11:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:32: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-08-11 11:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325484800001,"66":26028,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325484800001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:32:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:32:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325484800001,"power":26028,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":152516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:32:36] local.INFO: GPS data processed {"connection_id":152516,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:32:36] local.INFO: Acknowledgment sent {"connection_id":152516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:33:20] local.INFO: TCP Data received {"connection_id":153472,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:33:20] local.INFO: Processing buffer {"connection_id":153472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:33:20] local.INFO: IMEI packet received {"connection_id":153472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":153472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:33:25] local.INFO: TCP Data received {"connection_id":153472,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:33:25] local.INFO: Processing buffer {"connection_id":153472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:33:25] local.INFO: IMEI packet received {"connection_id":153472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":153472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:33:28] local.INFO: TCP Data received {"connection_id":153472,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:33:28] local.INFO: Processing buffer {"connection_id":153472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:33:28] local.INFO: Packet analysis {"connection_id":153472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:33:28] local.INFO: Extracted packet for processing {"connection_id":153472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:33:28] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325484800001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786427976000,"timestamp_ms":1786427976000,"timestamp_seconds":1786427976,"priority":1,"record_length":96,"hex_timestamp":"0000019fef67a940"} 
[2026-08-11 11:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 11:33:28] 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-08-11 11: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-08-11 11:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:33:28] 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-08-11 11:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325484800001,"66":26028,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325484800001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:33:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:33:28] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325484800001,"power":26028,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":153472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:33:28] local.INFO: GPS data processed {"connection_id":153472,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:33:28] local.INFO: Acknowledgment sent {"connection_id":153472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:33:59] local.INFO: TCP Data received {"connection_id":153472,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:33:59] local.INFO: Processing buffer {"connection_id":153472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:33:59] local.INFO: Packet analysis {"connection_id":153472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:33:59] local.INFO: Extracted packet for processing {"connection_id":153472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:33:59] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325484800001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786427976000,"timestamp_ms":1786427976000,"timestamp_seconds":1786427976,"priority":1,"record_length":96,"hex_timestamp":"0000019fef67a940"} 
[2026-08-11 11:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 11:33:59] 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-08-11 11: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-08-11 11:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:33:59] 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-08-11 11:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325484800001,"66":26028,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325484800001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:33:59] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:33:59] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325484800001,"power":26028,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":153472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:33:59] local.INFO: GPS data processed {"connection_id":153472,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:33:59] local.INFO: Acknowledgment sent {"connection_id":153472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:34:20] local.INFO: TCP Data received {"connection_id":152144,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:34:20] local.INFO: Processing buffer {"connection_id":152144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:34:20] local.INFO: IMEI packet received {"connection_id":152144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":152144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:34:25] local.INFO: TCP Data received {"connection_id":152144,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:34:25] local.INFO: Processing buffer {"connection_id":152144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:34:25] local.INFO: IMEI packet received {"connection_id":152144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":152144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:34:26] local.INFO: TCP Data received {"connection_id":152144,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:34:26] local.INFO: Processing buffer {"connection_id":152144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:34:26] local.INFO: Packet analysis {"connection_id":152144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:34:26] local.INFO: Extracted packet for processing {"connection_id":152144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:34:26] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325484800001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786427976000,"timestamp_ms":1786427976000,"timestamp_seconds":1786427976,"priority":1,"record_length":96,"hex_timestamp":"0000019fef67a940"} 
[2026-08-11 11:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":3,"data_length":795,"current_offset":136} 
[2026-08-11 11:34:26] 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-08-11 11: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-08-11 11:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:34:26] 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-08-11 11:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325484800001,"66":26028,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325484800001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:34:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:34:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325484800001,"power":26028,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":152144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:34:26] local.INFO: GPS data processed {"connection_id":152144,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:34:26] local.INFO: Acknowledgment sent {"connection_id":152144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:34:52] local.INFO: TCP Data received {"connection_id":153473,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:34:52] local.INFO: Processing buffer {"connection_id":153473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:34:52] local.INFO: IMEI packet received {"connection_id":153473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 11:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":153473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:34:53] local.INFO: TCP Data received {"connection_id":153473,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:34:53] local.INFO: Processing buffer {"connection_id":153473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:34:53] local.INFO: IMEI packet received {"connection_id":153473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 11:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":153473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:34:57] local.INFO: TCP Data received {"connection_id":153473,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:34:57] local.INFO: Processing buffer {"connection_id":153473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:34:57] local.INFO: IMEI packet received {"connection_id":153473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 11:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":153473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:34:57] local.INFO: TCP Data received {"connection_id":152144,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:34:57] local.INFO: Processing buffer {"connection_id":152144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef67a940012da5b14005f42c300012011229..."} 
[2026-08-11 11:34:57] local.INFO: Packet analysis {"connection_id":152144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:34:57] local.INFO: Extracted packet for processing {"connection_id":152144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef67"} 
[2026-08-11 11:34:57] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11:34: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-08-11 11:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325484800001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786427976000,"timestamp_ms":1786427976000,"timestamp_seconds":1786427976,"priority":1,"record_length":96,"hex_timestamp":"0000019fef67a940"} 
[2026-08-11 11:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:34: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 11:34:57] 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-08-11 11:34: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-08-11 11:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:34:57] 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-08-11 11:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325484800001,"66":26028,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325484800001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:34:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:34:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325484800001,"power":26028,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":152144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:34:57] local.INFO: GPS data processed {"connection_id":152144,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:34:57] local.INFO: Acknowledgment sent {"connection_id":152144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:34:58] local.INFO: TCP Data received {"connection_id":153473,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-11 11:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153473,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-11 11:34:58] local.INFO: Processing buffer {"connection_id":153473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-11 11:34:58] local.INFO: Packet analysis {"connection_id":153473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 11:34:58] local.INFO: Extracted packet for processing {"connection_id":153473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 11:34:58] 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-08-11 11: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-08-11 11:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 11:34:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 11:34:58] 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-08-11 11:34:58] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 11:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":153473,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":153473,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 11:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":153473,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 11:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 11:34:58] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 11:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":153473,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 11:34:58] local.ERROR: GPS data processing failed {"connection_id":153473,"error":"No valid data to process"} 
[2026-08-11 11:34:58] local.INFO: Acknowledgment sent {"connection_id":153473,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 11:35:20] local.INFO: TCP Data received {"connection_id":154852,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:35:20] local.INFO: Processing buffer {"connection_id":154852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:35:20] local.INFO: IMEI packet received {"connection_id":154852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":154852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:35:25] local.INFO: TCP Data received {"connection_id":154852,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:35:25] local.INFO: Processing buffer {"connection_id":154852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:35:25] local.INFO: IMEI packet received {"connection_id":154852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":154852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:35:29] local.INFO: TCP Data received {"connection_id":153473,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-11 11:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153473,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-11 11:35:29] local.INFO: Processing buffer {"connection_id":153473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-11 11:35:29] local.INFO: Packet analysis {"connection_id":153473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-11 11:35:29] local.INFO: Extracted packet for processing {"connection_id":153473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-11 11:35:29] 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-08-11 11:35: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-08-11 11:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 11:35:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 11:35:29] 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-08-11 11:35:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 11:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153473,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153473,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 11:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153473,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 11:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 11:35:29] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 11:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":153473,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 11:35:29] local.ERROR: GPS data processing failed {"connection_id":153473,"error":"No valid data to process"} 
[2026-08-11 11:35:29] local.INFO: Acknowledgment sent {"connection_id":153473,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 11:35:30] local.INFO: TCP Data received {"connection_id":154852,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:35:30] local.INFO: Processing buffer {"connection_id":154852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:35:30] local.INFO: Packet analysis {"connection_id":154852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:35:30] local.INFO: Extracted packet for processing {"connection_id":154852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:35:30] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11:35: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-08-11 11:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325561856001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786428277000,"timestamp_ms":1786428277000,"timestamp_seconds":1786428277,"priority":1,"record_length":96,"hex_timestamp":"0000019fef6c4108"} 
[2026-08-11 11:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:35: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":172,"data_length":795,"current_offset":136} 
[2026-08-11 11:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 11:35: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-08-11 11:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:35:30] 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-08-11 11:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325561856001,"66":25995,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325561856001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:35:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:35:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325561856001,"power":25995,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":154852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:35:30] local.INFO: GPS data processed {"connection_id":154852,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:35:30] local.INFO: Acknowledgment sent {"connection_id":154852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:36:00] local.INFO: TCP Data received {"connection_id":153473,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fef6d1bc80100000000000000000000000000..."} 
[2026-08-11 11:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef6d1bc80100000000000000000000000000..."} 
[2026-08-11 11:36:00] local.INFO: Processing buffer {"connection_id":153473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef6d1bc80100000000000000000000000000..."} 
[2026-08-11 11:36:00] local.INFO: Packet analysis {"connection_id":153473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef6d"} 
[2026-08-11 11:36:00] local.INFO: Extracted packet for processing {"connection_id":153473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef6d"} 
[2026-08-11 11:36:00] 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-08-11 11: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-08-11 11:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 11:36:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 11:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786428333000,"timestamp_ms":1786428333000,"timestamp_seconds":1786428333,"priority":1,"record_length":96,"hex_timestamp":"0000019fef6d1bc8"} 
[2026-08-11 11:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:36:00] 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-08-11 11: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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-11 11:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 11: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-08-11 11:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:36:00] 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-08-11 11:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 11:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 11:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":153473,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 11:36:00] local.INFO: GPS data processed {"connection_id":153473,"processed":0,"errors":0,"total":1} 
[2026-08-11 11:36:00] local.INFO: Acknowledgment sent {"connection_id":153473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:36:01] local.INFO: TCP Data received {"connection_id":154852,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:36:01] local.INFO: Processing buffer {"connection_id":154852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:36:01] local.INFO: Packet analysis {"connection_id":154852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:36:01] local.INFO: Extracted packet for processing {"connection_id":154852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:36:01] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325561856001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786428277000,"timestamp_ms":1786428277000,"timestamp_seconds":1786428277,"priority":1,"record_length":96,"hex_timestamp":"0000019fef6c4108"} 
[2026-08-11 11:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-11 11:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 11: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-08-11 11:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:36:01] 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-08-11 11:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325561856001,"66":25995,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325561856001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:36:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:36:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325561856001,"power":25995,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":154852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:36:01] local.INFO: GPS data processed {"connection_id":154852,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:36:01] local.INFO: Acknowledgment sent {"connection_id":154852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:36:19] local.INFO: TCP Data received {"connection_id":152517,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:36:19] local.INFO: Processing buffer {"connection_id":152517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:36:19] local.INFO: IMEI packet received {"connection_id":152517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":152517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:36:25] local.INFO: TCP Data received {"connection_id":152517,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:36:25] local.INFO: Processing buffer {"connection_id":152517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:36:25] local.INFO: IMEI packet received {"connection_id":152517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":152517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:36:26] local.INFO: TCP Data received {"connection_id":152517,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:36:26] local.INFO: Processing buffer {"connection_id":152517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:36:26] local.INFO: Packet analysis {"connection_id":152517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:36:26] local.INFO: Extracted packet for processing {"connection_id":152517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:36:26] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 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-08-11 11:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325561856001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786428277000,"timestamp_ms":1786428277000,"timestamp_seconds":1786428277,"priority":1,"record_length":96,"hex_timestamp":"0000019fef6c4108"} 
[2026-08-11 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-08-11 11:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-11 11:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 11: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-08-11 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-08-11 11:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:36:26] 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-08-11 11:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325561856001,"66":25995,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325561856001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:36:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:36:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325561856001,"power":25995,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":152517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:36:26] local.INFO: GPS data processed {"connection_id":152517,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:36:26] local.INFO: Acknowledgment sent {"connection_id":152517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:36:57] local.INFO: TCP Data received {"connection_id":152517,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:36:57] local.INFO: Processing buffer {"connection_id":152517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:36:57] local.INFO: Packet analysis {"connection_id":152517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:36:57] local.INFO: Extracted packet for processing {"connection_id":152517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:36:57] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11:36: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-08-11 11:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325561856001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786428277000,"timestamp_ms":1786428277000,"timestamp_seconds":1786428277,"priority":1,"record_length":96,"hex_timestamp":"0000019fef6c4108"} 
[2026-08-11 11:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:36: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-11 11:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 11:36: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-08-11 11:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:36:57] 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-08-11 11:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325561856001,"66":25995,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325561856001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:36:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:36:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325561856001,"power":25995,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":152517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:36:57] local.INFO: GPS data processed {"connection_id":152517,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:36:57] local.INFO: Acknowledgment sent {"connection_id":152517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:37:25] local.INFO: TCP Data received {"connection_id":154853,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:37:25] local.INFO: Processing buffer {"connection_id":154853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:37:25] local.INFO: IMEI packet received {"connection_id":154853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":154853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:37:30] local.INFO: TCP Data received {"connection_id":154853,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:37:30] local.INFO: Processing buffer {"connection_id":154853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:37:30] local.INFO: IMEI packet received {"connection_id":154853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":154853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:37:41] local.INFO: TCP Data received {"connection_id":154853,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:37:41] local.INFO: Processing buffer {"connection_id":154853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:37:41] local.INFO: Packet analysis {"connection_id":154853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:37:41] local.INFO: Extracted packet for processing {"connection_id":154853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:37:41] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325561856001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786428277000,"timestamp_ms":1786428277000,"timestamp_seconds":1786428277,"priority":1,"record_length":96,"hex_timestamp":"0000019fef6c4108"} 
[2026-08-11 11:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-11 11:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 11: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-08-11 11:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":154853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":154853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":154853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:37:41] 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-08-11 11:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325561856001,"66":25995,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325561856001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:37:41] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:37:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325561856001,"power":25995,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":154853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:37:41] local.INFO: GPS data processed {"connection_id":154853,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:37:41] local.INFO: Acknowledgment sent {"connection_id":154853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:37:42] local.INFO: TCP Data received {"connection_id":154853,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:37:42] local.INFO: Processing buffer {"connection_id":154853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:37:42] local.INFO: Packet analysis {"connection_id":154853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:37:42] local.INFO: Extracted packet for processing {"connection_id":154853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:37:42] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325561856001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786428277000,"timestamp_ms":1786428277000,"timestamp_seconds":1786428277,"priority":1,"record_length":96,"hex_timestamp":"0000019fef6c4108"} 
[2026-08-11 11:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":172,"data_length":795,"current_offset":136} 
[2026-08-11 11:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 11: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-08-11 11:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":154853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":154853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":154853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:37:42] 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-08-11 11:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325561856001,"66":25995,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325561856001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:37:42] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:37:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325561856001,"power":25995,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":154853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:37:42] local.INFO: GPS data processed {"connection_id":154853,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:37:42] local.INFO: Acknowledgment sent {"connection_id":154853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:38:20] local.INFO: TCP Data received {"connection_id":153474,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:38:20] local.INFO: Processing buffer {"connection_id":153474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:38:20] local.INFO: IMEI packet received {"connection_id":153474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":153474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:38:25] local.INFO: TCP Data received {"connection_id":153474,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:38:25] local.INFO: Processing buffer {"connection_id":153474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:38:25] local.INFO: IMEI packet received {"connection_id":153474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":153474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:38:26] local.INFO: TCP Data received {"connection_id":153474,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:38:26] local.INFO: Processing buffer {"connection_id":153474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:38:26] local.INFO: Packet analysis {"connection_id":153474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:38:26] local.INFO: Extracted packet for processing {"connection_id":153474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:38:26] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325561856001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786428277000,"timestamp_ms":1786428277000,"timestamp_seconds":1786428277,"priority":1,"record_length":96,"hex_timestamp":"0000019fef6c4108"} 
[2026-08-11 11:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":172,"data_length":795,"current_offset":136} 
[2026-08-11 11:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 11: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-08-11 11:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:38:26] 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-08-11 11:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325561856001,"66":25995,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325561856001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:38:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:38:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325561856001,"power":25995,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":153474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:38:26] local.INFO: GPS data processed {"connection_id":153474,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:38:26] local.INFO: Acknowledgment sent {"connection_id":153474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:38:58] local.INFO: TCP Data received {"connection_id":153474,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:38:58] local.INFO: Processing buffer {"connection_id":153474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:38:58] local.INFO: Packet analysis {"connection_id":153474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:38:58] local.INFO: Extracted packet for processing {"connection_id":153474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:38:58] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325561856001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786428277000,"timestamp_ms":1786428277000,"timestamp_seconds":1786428277,"priority":1,"record_length":96,"hex_timestamp":"0000019fef6c4108"} 
[2026-08-11 11:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-11 11:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 11: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-08-11 11:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":153474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":153474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":153474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:38:58] 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-08-11 11:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325561856001,"66":25995,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325561856001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:38:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:38:58] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325561856001,"power":25995,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":153474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:38:58] local.INFO: GPS data processed {"connection_id":153474,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:38:58] local.INFO: Acknowledgment sent {"connection_id":153474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:39:20] local.INFO: TCP Data received {"connection_id":154854,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:39:20] local.INFO: Processing buffer {"connection_id":154854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:39:20] local.INFO: IMEI packet received {"connection_id":154854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 11:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":154854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:39:20] local.INFO: TCP Data received {"connection_id":152518,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:39:20] local.INFO: Processing buffer {"connection_id":152518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:39:20] local.INFO: IMEI packet received {"connection_id":152518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":152518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:39:25] local.INFO: TCP Data received {"connection_id":152518,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:39:25] local.INFO: Processing buffer {"connection_id":152518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:39:25] local.INFO: IMEI packet received {"connection_id":152518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":152518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:39:25] local.INFO: TCP Data received {"connection_id":154854,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:39:25] local.INFO: Processing buffer {"connection_id":154854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:39:25] local.INFO: IMEI packet received {"connection_id":154854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 11:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":154854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:39:25] local.INFO: TCP Data received {"connection_id":152518,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:39:25] local.INFO: Processing buffer {"connection_id":152518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:39:25] local.INFO: Packet analysis {"connection_id":152518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:39:25] local.INFO: Extracted packet for processing {"connection_id":152518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:39:25] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325561856001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786428277000,"timestamp_ms":1786428277000,"timestamp_seconds":1786428277,"priority":1,"record_length":96,"hex_timestamp":"0000019fef6c4108"} 
[2026-08-11 11:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-11 11:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 11: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-08-11 11:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:39:25] 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-08-11 11:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325561856001,"66":25995,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325561856001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:39:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:39:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325561856001,"power":25995,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":152518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:39:25] local.INFO: GPS data processed {"connection_id":152518,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:39:25] local.INFO: Acknowledgment sent {"connection_id":152518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:39:30] local.INFO: TCP Data received {"connection_id":154854,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-08-11 11:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-08-11 11:39:30] local.INFO: Processing buffer {"connection_id":154854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-08-11 11:39:30] local.INFO: Packet analysis {"connection_id":154854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 11:39:30] local.INFO: Extracted packet for processing {"connection_id":154854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 11:39:30] 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-08-11 11:39:30] 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-08-11 11:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324889600001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 11:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 11:39:30] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-11 11:39:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8000,"timestamp_seconds":8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 11:39:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 11:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154854,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 11:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 11:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 11:39:30] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 11:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":154854,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 11:39:30] local.ERROR: GPS data processing failed {"connection_id":154854,"error":"No valid data to process"} 
[2026-08-11 11:39:30] local.INFO: Acknowledgment sent {"connection_id":154854,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 11:39:57] local.INFO: TCP Data received {"connection_id":152518,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:39:57] local.INFO: Processing buffer {"connection_id":152518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef6c4108012da5b14005f42c300012011227..."} 
[2026-08-11 11:39:57] local.INFO: Packet analysis {"connection_id":152518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:39:57] local.INFO: Extracted packet for processing {"connection_id":152518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef6c"} 
[2026-08-11 11:39:57] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":99888176,"longitude_deg":76.5833536,"latitude_deg":9.9888176,"altitude":18,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2da5b140","hex_latitude":"05f42c30","is_valid_coordinates":true} 
[2026-08-11 11:39: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-08-11 11:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325561856001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786428277000,"timestamp_ms":1786428277000,"timestamp_seconds":1786428277,"priority":1,"record_length":96,"hex_timestamp":"0000019fef6c4108"} 
[2026-08-11 11:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:39: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-11 11:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 11:39: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-08-11 11:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:39:57] 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-08-11 11:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325561856001,"66":25995,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507349592258105344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325561856001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:39:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:39:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349592258105344,"description":"Unknown IO ID 45"} 
[2026-08-11 11:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325561856001,"power":25995,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507349592258105344}} 
[2026-08-11 11:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":152518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:39:57] local.INFO: GPS data processed {"connection_id":152518,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:39:57] local.INFO: Acknowledgment sent {"connection_id":152518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:40:01] local.INFO: TCP Data received {"connection_id":154854,"ip":"42.106.6.43","data_length":249,"data_hex":"00000000000000ed8e030000000000001f400100000000000000000000000000..."} 
[2026-08-11 11:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154854,"packet_length":249,"packet_hex":"00000000000000ed8e030000000000001f400100000000000000000000000000..."} 
[2026-08-11 11:40:01] local.INFO: Processing buffer {"connection_id":154854,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000000000001f400100000000000000000000000000..."} 
[2026-08-11 11:40:01] local.INFO: Packet analysis {"connection_id":154854,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e03000000000000"} 
[2026-08-11 11:40:01] local.INFO: Extracted packet for processing {"connection_id":154854,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e03000000000000"} 
[2026-08-11 11:40:01] 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-08-11 11:40:01] 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":249,"current_offset":40} 
[2026-08-11 11:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324889600001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 11:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 11:40:01] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-11 11:40:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8000,"timestamp_seconds":8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 11:40:01] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":3,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:40:01] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 11:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154854,"avl_records_parsed":0,"avl_records_expected":3,"crc_valid":false} 
[2026-08-11 11:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 11:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 11:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 11:40:01] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 11:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":154854,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 11:40:01] local.ERROR: GPS data processing failed {"connection_id":154854,"error":"No valid data to process"} 
[2026-08-11 11:40:01] local.INFO: Acknowledgment sent {"connection_id":154854,"records_acknowledged":0,"records_expected":3,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 11:40:20] local.INFO: TCP Data received {"connection_id":154855,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:40:20] local.INFO: Processing buffer {"connection_id":154855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:40:20] local.INFO: IMEI packet received {"connection_id":154855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":154855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:40:20] local.INFO: TCP Data received {"connection_id":154855,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:40:20] local.INFO: Processing buffer {"connection_id":154855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:40:20] local.INFO: IMEI packet received {"connection_id":154855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":154855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:40:25] local.INFO: TCP Data received {"connection_id":154855,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:40:25] local.INFO: Processing buffer {"connection_id":154855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:40:25] local.INFO: IMEI packet received {"connection_id":154855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":154855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:40:26] local.INFO: TCP Data received {"connection_id":154855,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7169580100000000000000000000000000..."} 
[2026-08-11 11:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7169580100000000000000000000000000..."} 
[2026-08-11 11:40:26] local.INFO: Processing buffer {"connection_id":154855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7169580100000000000000000000000000..."} 
[2026-08-11 11:40:26] local.INFO: Packet analysis {"connection_id":154855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef71"} 
[2026-08-11 11:40:26] local.INFO: Extracted packet for processing {"connection_id":154855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef71"} 
[2026-08-11 11:40:26] 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-08-11 11: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-08-11 11:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325638912001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349592258105344,"note":"Value kept but may cause issues"} 
[2026-08-11 11:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786428615000,"timestamp_ms":1786428615000,"timestamp_seconds":1786428615,"priority":1,"record_length":96,"hex_timestamp":"0000019fef716958"} 
[2026-08-11 11:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":139,"data_length":795,"current_offset":136} 
[2026-08-11 11:40:26] 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-08-11 11: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-08-11 11:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":154855,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 11:40:26] local.INFO: GPS data processed {"connection_id":154855,"processed":0,"errors":0,"total":1} 
[2026-08-11 11:40:26] local.INFO: Acknowledgment sent {"connection_id":154855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:40:32] local.INFO: TCP Data received {"connection_id":154854,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 11:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 11:40:32] local.INFO: Processing buffer {"connection_id":154854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 11:40:32] local.INFO: Packet analysis {"connection_id":154854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 11:40:32] local.INFO: Extracted packet for processing {"connection_id":154854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef14"} 
[2026-08-11 11:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 11:40: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-08-11 11:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324085248001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 11:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 11:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786422509000,"timestamp_ms":1786422509000,"timestamp_seconds":1786422509,"priority":1,"record_length":96,"hex_timestamp":"0000019fef143dc8"} 
[2026-08-11 11:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:40:32] 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-08-11 11:40: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 11:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 11:40: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-08-11 11:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 11:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 11:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324085248001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 11:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 11:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 11:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324085248001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:40:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 11:40:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 11:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 11:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324085248001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 11:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":154854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:40:32] local.INFO: GPS data processed {"connection_id":154854,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:40:32] local.INFO: Acknowledgment sent {"connection_id":154854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:40:57] local.INFO: TCP Data received {"connection_id":154855,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:40:57] local.INFO: Processing buffer {"connection_id":154855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:40:57] local.INFO: Packet analysis {"connection_id":154855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:40:57] local.INFO: Extracted packet for processing {"connection_id":154855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:40:57] local.INFO: GPS Element Parsed {"raw_longitude":765833024,"raw_latitude":99888336,"longitude_deg":76.5833024,"latitude_deg":9.9888336,"altitude":18,"angle":292,"satellites":33,"speed":0,"hex_longitude":"2da5af40","hex_latitude":"05f42cd0","is_valid_coordinates":true} 
[2026-08-11 11:40: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-08-11 11:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:40:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,10,88,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 11:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786428582000,"timestamp_ms":1786428582000,"timestamp_seconds":1786428582,"priority":1,"record_length":96,"hex_timestamp":"0000019fef70e870"} 
[2026-08-11 11:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:40: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:40:57] 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-08-11 11:40: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-08-11 11:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25952,"10":206,"88":19456,"24":0,"16":377398814954225664},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16]} 
[2026-08-11 11:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-11 11:40:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:40:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:40:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null}} 
[2026-08-11 11:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":154855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:40:57] local.INFO: GPS data processed {"connection_id":154855,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:40:57] local.INFO: Acknowledgment sent {"connection_id":154855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:41:03] local.INFO: TCP Data received {"connection_id":154854,"ip":"42.106.6.43","data_length":561,"data_hex":"00000000000002258e070000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 11:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154854,"packet_length":561,"packet_hex":"00000000000002258e070000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 11:41:03] local.INFO: Processing buffer {"connection_id":154854,"buffer_length":561,"buffer_hex":"00000000000002258e070000019fef143dc8012d7d358005ec0ea8000500a11a..."} 
[2026-08-11 11:41:03] local.INFO: Packet analysis {"connection_id":154854,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019fef14"} 
[2026-08-11 11:41:03] local.INFO: Extracted packet for processing {"connection_id":154854,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019fef14"} 
[2026-08-11 11:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356328,"longitude_deg":76.3180416,"latitude_deg":9.9356328,"altitude":5,"angle":161,"satellites":26,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0ea8","is_valid_coordinates":true} 
[2026-08-11 11: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":561,"current_offset":40} 
[2026-08-11 11:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457324085248001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 11:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430232064,"note":"Value kept but may cause issues"} 
[2026-08-11 11:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786422509000,"timestamp_ms":1786422509000,"timestamp_seconds":1786422509,"priority":1,"record_length":96,"hex_timestamp":"0000019fef143dc8"} 
[2026-08-11 11:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:41:03] 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-08-11 11: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":183,"data_length":561,"current_offset":136} 
[2026-08-11 11:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 11:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-11 11:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:41:03] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":154854,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-08-11 11:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 11:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 11:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457324085248001,"66":2231,"109":206,"87":13824,"24":0,"16":117607113781411840,"45":9022258191430232064},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-11 11:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 11:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 11:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457324085248001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:41:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 11:41:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 11:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430232064,"description":"Unknown IO ID 45"} 
[2026-08-11 11:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457324085248001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430232064}} 
[2026-08-11 11:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":154854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:41:04] local.INFO: GPS data processed {"connection_id":154854,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:41:04] local.INFO: Acknowledgment sent {"connection_id":154854,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:41:19] local.INFO: TCP Data received {"connection_id":152145,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:41:19] local.INFO: Processing buffer {"connection_id":152145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:41:19] local.INFO: IMEI packet received {"connection_id":152145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":152145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:41:25] local.INFO: TCP Data received {"connection_id":152145,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:41:25] local.INFO: Processing buffer {"connection_id":152145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:41:25] local.INFO: IMEI packet received {"connection_id":152145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":152145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:41:26] local.INFO: TCP Data received {"connection_id":152145,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:41:26] local.INFO: Processing buffer {"connection_id":152145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:41:26] local.INFO: Packet analysis {"connection_id":152145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:41:26] local.INFO: Extracted packet for processing {"connection_id":152145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:41:26] local.INFO: GPS Element Parsed {"raw_longitude":765833024,"raw_latitude":99888336,"longitude_deg":76.5833024,"latitude_deg":9.9888336,"altitude":18,"angle":292,"satellites":33,"speed":0,"hex_longitude":"2da5af40","hex_latitude":"05f42cd0","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:41:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,10,88,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 11:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786428582000,"timestamp_ms":1786428582000,"timestamp_seconds":1786428582,"priority":1,"record_length":96,"hex_timestamp":"0000019fef70e870"} 
[2026-08-11 11:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:41:26] 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-08-11 11: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-08-11 11:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:41:26] 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-08-11 11:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25952,"10":206,"88":19456,"24":0,"16":377398814954225664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16]} 
[2026-08-11 11:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-11 11:41:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:41:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:41:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null}} 
[2026-08-11 11:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":152145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:41:26] local.INFO: GPS data processed {"connection_id":152145,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:41:26] local.INFO: Acknowledgment sent {"connection_id":152145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:41:36] local.INFO: TCP Data received {"connection_id":154854,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feefcf0f0012d7d350005ec0eb0000100a11d..."} 
[2026-08-11 11:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefcf0f0012d7d350005ec0eb0000100a11d..."} 
[2026-08-11 11:41:36] local.INFO: Processing buffer {"connection_id":154854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefcf0f0012d7d350005ec0eb0000100a11d..."} 
[2026-08-11 11:41:36] local.INFO: Packet analysis {"connection_id":154854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 11:41:36] local.INFO: Extracted packet for processing {"connection_id":154854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 11:41:36] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99356336,"longitude_deg":76.3180288,"latitude_deg":9.9356336,"altitude":1,"angle":161,"satellites":29,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323766272001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 11:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941905408,"note":"Value kept but may cause issues"} 
[2026-08-11 11:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786420982000,"timestamp_ms":1786420982000,"timestamp_seconds":1786420982,"priority":1,"record_length":96,"hex_timestamp":"0000019feefcf0f0"} 
[2026-08-11 11:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:41:36] 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-08-11 11: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 11:41:36] 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-08-11 11: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-08-11 11:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 11:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 11:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323766272001,"66":13091,"110":206,"87":13824,"24":0,"16":117607113781411840,"45":9022117453941905408},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 11:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 11:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 11:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323766272001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:41:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 11:41:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 11:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941905408,"description":"Unknown IO ID 45"} 
[2026-08-11 11:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323766272001,"power":13091,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941905408}} 
[2026-08-11 11:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":154854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:41:36] local.INFO: GPS data processed {"connection_id":154854,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:41:36] local.INFO: Acknowledgment sent {"connection_id":154854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:41:57] local.INFO: TCP Data received {"connection_id":152145,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:41:57] local.INFO: Processing buffer {"connection_id":152145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:41:57] local.INFO: Packet analysis {"connection_id":152145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:41:57] local.INFO: Extracted packet for processing {"connection_id":152145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:41:57] local.INFO: GPS Element Parsed {"raw_longitude":765833024,"raw_latitude":99888336,"longitude_deg":76.5833024,"latitude_deg":9.9888336,"altitude":18,"angle":292,"satellites":33,"speed":0,"hex_longitude":"2da5af40","hex_latitude":"05f42cd0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 11:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:41:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,10,88,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 11:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786428582000,"timestamp_ms":1786428582000,"timestamp_seconds":1786428582,"priority":1,"record_length":96,"hex_timestamp":"0000019fef70e870"} 
[2026-08-11 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-08-11 11:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:41:57] 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-08-11 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-08-11 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-08-11 11:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:41:57] 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-08-11 11:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25952,"10":206,"88":19456,"24":0,"16":377398814954225664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16]} 
[2026-08-11 11:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-11 11:41:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:41:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:41:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null}} 
[2026-08-11 11:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":152145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:41:57] local.INFO: GPS data processed {"connection_id":152145,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:41:57] local.INFO: Acknowledgment sent {"connection_id":152145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:42:07] local.INFO: TCP Data received {"connection_id":154854,"ip":"42.106.6.43","data_length":171,"data_hex":"000000000000009f8e020000019feefcf0f0012d7d350005ec0eb0000100a11d..."} 
[2026-08-11 11:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154854,"packet_length":171,"packet_hex":"000000000000009f8e020000019feefcf0f0012d7d350005ec0eb0000100a11d..."} 
[2026-08-11 11:42:07] local.INFO: Processing buffer {"connection_id":154854,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019feefcf0f0012d7d350005ec0eb0000100a11d..."} 
[2026-08-11 11:42:07] local.INFO: Packet analysis {"connection_id":154854,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019feefc"} 
[2026-08-11 11:42:07] local.INFO: Extracted packet for processing {"connection_id":154854,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019feefc"} 
[2026-08-11 11:42:07] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99356336,"longitude_deg":76.3180288,"latitude_deg":9.9356336,"altitude":1,"angle":161,"satellites":29,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-11 11: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":171,"current_offset":40} 
[2026-08-11 11:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323766272001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 11:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941905408,"note":"Value kept but may cause issues"} 
[2026-08-11 11:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786420982000,"timestamp_ms":1786420982000,"timestamp_seconds":1786420982,"priority":1,"record_length":96,"hex_timestamp":"0000019feefcf0f0"} 
[2026-08-11 11:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:42:07] 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-08-11 11: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":51,"n8_eight_byte":166,"data_length":171,"current_offset":136} 
[2026-08-11 11:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 11:42:07] 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-08-11 11:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:42:07] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154854,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-11 11:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 11:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 11:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323766272001,"66":13091,"110":206,"87":13824,"24":0,"16":117607113781411840,"45":9022117453941905408},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 11:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 11:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 11:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323766272001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:42:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 11:42:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 11:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941905408,"description":"Unknown IO ID 45"} 
[2026-08-11 11:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323766272001,"power":13091,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941905408}} 
[2026-08-11 11:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":154854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:42:08] local.INFO: GPS data processed {"connection_id":154854,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:42:08] local.INFO: Acknowledgment sent {"connection_id":154854,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:42:19] local.INFO: TCP Data received {"connection_id":153475,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:42:19] local.INFO: Processing buffer {"connection_id":153475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:42:19] local.INFO: IMEI packet received {"connection_id":153475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":153475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:42:25] local.INFO: TCP Data received {"connection_id":153475,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:42:25] local.INFO: Processing buffer {"connection_id":153475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:42:25] local.INFO: IMEI packet received {"connection_id":153475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":153475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:42:26] local.INFO: TCP Data received {"connection_id":153475,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:42:26] local.INFO: Processing buffer {"connection_id":153475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:42:26] local.INFO: Packet analysis {"connection_id":153475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:42:26] local.INFO: Extracted packet for processing {"connection_id":153475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:42:26] local.INFO: GPS Element Parsed {"raw_longitude":765833024,"raw_latitude":99888336,"longitude_deg":76.5833024,"latitude_deg":9.9888336,"altitude":18,"angle":292,"satellites":33,"speed":0,"hex_longitude":"2da5af40","hex_latitude":"05f42cd0","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:42:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,10,88,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 11:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786428582000,"timestamp_ms":1786428582000,"timestamp_seconds":1786428582,"priority":1,"record_length":96,"hex_timestamp":"0000019fef70e870"} 
[2026-08-11 11:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:42:26] 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-08-11 11: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-08-11 11:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:42:26] 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-08-11 11:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25952,"10":206,"88":19456,"24":0,"16":377398814954225664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16]} 
[2026-08-11 11:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-11 11:42:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:42:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:42:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null}} 
[2026-08-11 11:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":153475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:42:26] local.INFO: GPS data processed {"connection_id":153475,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:42:26] local.INFO: Acknowledgment sent {"connection_id":153475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:42:39] local.INFO: TCP Data received {"connection_id":154854,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feefc3570012d7d35c005ec12280002000924..."} 
[2026-08-11 11:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefc3570012d7d35c005ec12280002000924..."} 
[2026-08-11 11:42:39] local.INFO: Processing buffer {"connection_id":154854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefc3570012d7d35c005ec12280002000924..."} 
[2026-08-11 11:42:39] local.INFO: Packet analysis {"connection_id":154854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 11:42:39] local.INFO: Extracted packet for processing {"connection_id":154854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefc"} 
[2026-08-11 11:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357224,"longitude_deg":76.318048,"latitude_deg":9.9357224,"altitude":2,"angle":9,"satellites":36,"speed":3,"hex_longitude":"2d7d35c0","hex_latitude":"05ec1228","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323758336001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607049356902400,"note":"Value kept but may cause issues"} 
[2026-08-11 11:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430400000,"note":"Value kept but may cause issues"} 
[2026-08-11 11:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786420934000,"timestamp_ms":1786420934000,"timestamp_seconds":1786420934,"priority":1,"record_length":96,"hex_timestamp":"0000019feefc3570"} 
[2026-08-11 11:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:42:39] 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-08-11 11: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 11:42:39] 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-08-11 11: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-08-11 11:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 11:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 11:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323758336001,"66":13222,"110":206,"87":13824,"24":3,"16":117607049356902400,"45":9022258191430400000},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 11:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 11:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 11:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323758336001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:42:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 11:42:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 11:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607049356902400,"km_value":117607049356902.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430400000,"description":"Unknown IO ID 45"} 
[2026-08-11 11:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323758336001,"power":13222,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9022258191430400000}} 
[2026-08-11 11:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":154854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:42:39] local.INFO: GPS data processed {"connection_id":154854,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:42:39] local.INFO: Acknowledgment sent {"connection_id":154854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:42:57] local.INFO: TCP Data received {"connection_id":153475,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:42:57] local.INFO: Processing buffer {"connection_id":153475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:42:57] local.INFO: Packet analysis {"connection_id":153475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:42:57] local.INFO: Extracted packet for processing {"connection_id":153475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:42:57] local.INFO: GPS Element Parsed {"raw_longitude":765833024,"raw_latitude":99888336,"longitude_deg":76.5833024,"latitude_deg":9.9888336,"altitude":18,"angle":292,"satellites":33,"speed":0,"hex_longitude":"2da5af40","hex_latitude":"05f42cd0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 11:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:42:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,10,88,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 11:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786428582000,"timestamp_ms":1786428582000,"timestamp_seconds":1786428582,"priority":1,"record_length":96,"hex_timestamp":"0000019fef70e870"} 
[2026-08-11 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-08-11 11:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:42:57] 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-08-11 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-08-11 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-08-11 11:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:42:57] 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-08-11 11:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25952,"10":206,"88":19456,"24":0,"16":377398814954225664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16]} 
[2026-08-11 11:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-11 11:42:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:42:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:42:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null}} 
[2026-08-11 11:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":153475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:42:57] local.INFO: GPS data processed {"connection_id":153475,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:42:57] local.INFO: Acknowledgment sent {"connection_id":153475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:43:11] local.INFO: TCP Data received {"connection_id":154854,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feefaf138012d7d34c005ec1018000200a422..."} 
[2026-08-11 11:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feefaf138012d7d34c005ec1018000200a422..."} 
[2026-08-11 11:43:11] local.INFO: Processing buffer {"connection_id":154854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feefaf138012d7d34c005ec1018000200a422..."} 
[2026-08-11 11:43:11] local.INFO: Packet analysis {"connection_id":154854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feefa"} 
[2026-08-11 11:43:11] local.INFO: Extracted packet for processing {"connection_id":154854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feefa"} 
[2026-08-11 11:43:11] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":99356696,"longitude_deg":76.3180224,"latitude_deg":9.9356696,"altitude":2,"angle":164,"satellites":34,"speed":0,"hex_longitude":"2d7d34c0","hex_latitude":"05ec1018","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323737088001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117606976342458368,"note":"Value kept but may cause issues"} 
[2026-08-11 11:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941995520,"note":"Value kept but may cause issues"} 
[2026-08-11 11:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786420851000,"timestamp_ms":1786420851000,"timestamp_seconds":1786420851,"priority":1,"record_length":96,"hex_timestamp":"0000019feefaf138"} 
[2026-08-11 11:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:43:11] 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-08-11 11: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 11:43:11] 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-08-11 11: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-08-11 11:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":154854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 11:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 11:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323737088001,"66":13243,"110":206,"87":13824,"24":0,"16":117606976342458368,"45":9022117453941995520},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 11:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 11:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 11:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323737088001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:43:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 11:43:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 11:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117606976342458368,"km_value":117606976342458.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941995520,"description":"Unknown IO ID 45"} 
[2026-08-11 11:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323737088001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941995520}} 
[2026-08-11 11:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":154854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:43:11] local.INFO: GPS data processed {"connection_id":154854,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:43:11] local.INFO: Acknowledgment sent {"connection_id":154854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:43:25] local.INFO: TCP Data received {"connection_id":152146,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:43:25] local.INFO: Processing buffer {"connection_id":152146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:43:25] local.INFO: IMEI packet received {"connection_id":152146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":152146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:43:30] local.INFO: TCP Data received {"connection_id":152146,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:43:30] local.INFO: Processing buffer {"connection_id":152146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:43:30] local.INFO: IMEI packet received {"connection_id":152146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":152146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:43:30] local.INFO: TCP Data received {"connection_id":152146,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:43:30] local.INFO: Processing buffer {"connection_id":152146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:43:30] local.INFO: Packet analysis {"connection_id":152146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:43:30] local.INFO: Extracted packet for processing {"connection_id":152146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:43:30] local.INFO: GPS Element Parsed {"raw_longitude":765833024,"raw_latitude":99888336,"longitude_deg":76.5833024,"latitude_deg":9.9888336,"altitude":18,"angle":292,"satellites":33,"speed":0,"hex_longitude":"2da5af40","hex_latitude":"05f42cd0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 11:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:43:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,10,88,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 11:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786428582000,"timestamp_ms":1786428582000,"timestamp_seconds":1786428582,"priority":1,"record_length":96,"hex_timestamp":"0000019fef70e870"} 
[2026-08-11 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-08-11 11:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:43:30] 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-08-11 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-08-11 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-08-11 11:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:43:30] 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-08-11 11:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25952,"10":206,"88":19456,"24":0,"16":377398814954225664},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16]} 
[2026-08-11 11:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-11 11:43:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:43:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:43:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null}} 
[2026-08-11 11:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":152146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:43:30] local.INFO: GPS data processed {"connection_id":152146,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:43:30] local.INFO: Acknowledgment sent {"connection_id":152146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:43:43] local.INFO: TCP Data received {"connection_id":154854,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feef9fb20012d7d374005ec1a88000300ab28..."} 
[2026-08-11 11:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef9fb20012d7d374005ec1a88000300ab28..."} 
[2026-08-11 11:43:43] local.INFO: Processing buffer {"connection_id":154854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef9fb20012d7d374005ec1a88000300ab28..."} 
[2026-08-11 11:43:43] local.INFO: Packet analysis {"connection_id":154854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef9"} 
[2026-08-11 11:43:43] local.INFO: Extracted packet for processing {"connection_id":154854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef9"} 
[2026-08-11 11:43:43] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":99359368,"longitude_deg":76.3180864,"latitude_deg":9.9359368,"altitude":3,"angle":171,"satellites":40,"speed":6,"hex_longitude":"2d7d3740","hex_latitude":"05ec1a88","is_valid_coordinates":true} 
[2026-08-11 11:43: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-08-11 11:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323716608001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117606821723635712,"note":"Value kept but may cause issues"} 
[2026-08-11 11:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821141385984000,"note":"Value kept but may cause issues"} 
[2026-08-11 11:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786420788000,"timestamp_ms":1786420788000,"timestamp_seconds":1786420788,"priority":1,"record_length":96,"hex_timestamp":"0000019feef9fb20"} 
[2026-08-11 11:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:43:43] 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-08-11 11:43: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 11:43:43] 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-08-11 11:43: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-08-11 11:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":154854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 11:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 11:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323716608001,"66":13200,"110":206,"87":13824,"24":6,"16":117606821723635712,"45":9022821141385984000},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 11:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 11:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 11:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323716608001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:43:43] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 11:43:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 11:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117606821723635712,"km_value":117606821723635.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821141385984000,"description":"Unknown IO ID 45"} 
[2026-08-11 11:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323716608001,"power":13200,"unknown_110":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9022821141385984000}} 
[2026-08-11 11:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":154854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:43:43] local.INFO: GPS data processed {"connection_id":154854,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:43:43] local.INFO: Acknowledgment sent {"connection_id":154854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:44:02] local.INFO: TCP Data received {"connection_id":152146,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:44:02] local.INFO: Processing buffer {"connection_id":152146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:44:02] local.INFO: Packet analysis {"connection_id":152146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:44:02] local.INFO: Extracted packet for processing {"connection_id":152146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:44:02] local.INFO: GPS Element Parsed {"raw_longitude":765833024,"raw_latitude":99888336,"longitude_deg":76.5833024,"latitude_deg":9.9888336,"altitude":18,"angle":292,"satellites":33,"speed":0,"hex_longitude":"2da5af40","hex_latitude":"05f42cd0","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:44:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,10,88,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 11:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786428582000,"timestamp_ms":1786428582000,"timestamp_seconds":1786428582,"priority":1,"record_length":96,"hex_timestamp":"0000019fef70e870"} 
[2026-08-11 11:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:44:02] 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-08-11 11: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-08-11 11:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":152146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":152146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":152146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:44:02] 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-08-11 11:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25952,"10":206,"88":19456,"24":0,"16":377398814954225664},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16]} 
[2026-08-11 11:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-11 11:44:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:44:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:44:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null}} 
[2026-08-11 11:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":152146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:44:02] local.INFO: GPS data processed {"connection_id":152146,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:44:02] local.INFO: Acknowledgment sent {"connection_id":152146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:44:15] local.INFO: TCP Data received {"connection_id":154854,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feef8d628012d7d1f4005ec3df0000900532b..."} 
[2026-08-11 11:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef8d628012d7d1f4005ec3df0000900532b..."} 
[2026-08-11 11:44:15] local.INFO: Processing buffer {"connection_id":154854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef8d628012d7d1f4005ec3df0000900532b..."} 
[2026-08-11 11:44:15] local.INFO: Packet analysis {"connection_id":154854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef8"} 
[2026-08-11 11:44:15] local.INFO: Extracted packet for processing {"connection_id":154854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef8"} 
[2026-08-11 11:44:15] local.INFO: GPS Element Parsed {"raw_longitude":763174720,"raw_latitude":99368432,"longitude_deg":76.317472,"latitude_deg":9.9368432,"altitude":9,"angle":83,"satellites":43,"speed":18,"hex_longitude":"2d7d1f40","hex_latitude":"05ec3df0","is_valid_coordinates":true} 
[2026-08-11 11:44: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-08-11 11:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323698688001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117606022859718656,"note":"Value kept but may cause issues"} 
[2026-08-11 11:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005791905295661056,"note":"Value kept but may cause issues"} 
[2026-08-11 11:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786420713000,"timestamp_ms":1786420713000,"timestamp_seconds":1786420713,"priority":1,"record_length":96,"hex_timestamp":"0000019feef8d628"} 
[2026-08-11 11:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:44:15] 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-08-11 11:44: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 11:44:15] 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-08-11 11:44: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-08-11 11:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 11:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 11:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323698688001,"66":13189,"110":206,"87":13824,"24":18,"16":117606022859718656,"45":9005791905295661056},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 11:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 11:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 11:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323698688001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:44:15] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 11:44:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 11:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117606022859718656,"km_value":117606022859718.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005791905295661056,"description":"Unknown IO ID 45"} 
[2026-08-11 11:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323698688001,"power":13189,"unknown_110":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9005791905295661056}} 
[2026-08-11 11:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":154854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:44:15] local.INFO: GPS data processed {"connection_id":154854,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:44:15] local.INFO: Acknowledgment sent {"connection_id":154854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:44:20] local.INFO: TCP Data received {"connection_id":153476,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:44:20] local.INFO: Processing buffer {"connection_id":153476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:44:20] local.INFO: IMEI packet received {"connection_id":153476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":153476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:44:25] local.INFO: TCP Data received {"connection_id":153476,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:44:25] local.INFO: Processing buffer {"connection_id":153476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:44:25] local.INFO: IMEI packet received {"connection_id":153476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":153476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:44:26] local.INFO: TCP Data received {"connection_id":153476,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:44:26] local.INFO: Processing buffer {"connection_id":153476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:44:26] local.INFO: Packet analysis {"connection_id":153476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:44:26] local.INFO: Extracted packet for processing {"connection_id":153476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:44:26] local.INFO: GPS Element Parsed {"raw_longitude":765833024,"raw_latitude":99888336,"longitude_deg":76.5833024,"latitude_deg":9.9888336,"altitude":18,"angle":292,"satellites":33,"speed":0,"hex_longitude":"2da5af40","hex_latitude":"05f42cd0","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:44:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,10,88,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 11:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786428582000,"timestamp_ms":1786428582000,"timestamp_seconds":1786428582,"priority":1,"record_length":96,"hex_timestamp":"0000019fef70e870"} 
[2026-08-11 11:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:44:26] 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-08-11 11: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-08-11 11:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25952,"10":206,"88":19456,"24":0,"16":377398814954225664},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16]} 
[2026-08-11 11:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-11 11:44:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:44:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:44:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null}} 
[2026-08-11 11:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":153476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:44:26] local.INFO: GPS data processed {"connection_id":153476,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:44:26] local.INFO: Acknowledgment sent {"connection_id":153476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:44:45] local.INFO: TCP Data received {"connection_id":154854,"ip":"42.106.6.43","data_length":93,"data_hex":"00000000000000518e010000019fef750ef00100000000000000000000000000..."} 
[2026-08-11 11:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154854,"packet_length":93,"packet_hex":"00000000000000518e010000019fef750ef00100000000000000000000000000..."} 
[2026-08-11 11:44:45] local.INFO: Processing buffer {"connection_id":154854,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fef750ef00100000000000000000000000000..."} 
[2026-08-11 11:44:45] local.INFO: Packet analysis {"connection_id":154854,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fef75"} 
[2026-08-11 11:44:45] local.INFO: Extracted packet for processing {"connection_id":154854,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fef75"} 
[2026-08-11 11:44: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-08-11 11: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":93,"current_offset":40} 
[2026-08-11 11:44: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-08-11 11:44: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-08-11 11:44:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:44:45] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 11:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":154854,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-11 11:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 11:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 11:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 11:44:45] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 11:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":154854,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 11:44:45] local.ERROR: GPS data processing failed {"connection_id":154854,"error":"No valid data to process"} 
[2026-08-11 11:44:45] local.INFO: Acknowledgment sent {"connection_id":154854,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 11:44:58] local.INFO: TCP Data received {"connection_id":153476,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:44:58] local.INFO: Processing buffer {"connection_id":153476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef70e870012da5af4005f42cd00012012421..."} 
[2026-08-11 11:44:58] local.INFO: Packet analysis {"connection_id":153476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:44:58] local.INFO: Extracted packet for processing {"connection_id":153476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef70"} 
[2026-08-11 11:44:58] local.INFO: GPS Element Parsed {"raw_longitude":765833024,"raw_latitude":99888336,"longitude_deg":76.5833024,"latitude_deg":9.9888336,"altitude":18,"angle":292,"satellites":33,"speed":0,"hex_longitude":"2da5af40","hex_latitude":"05f42cd0","is_valid_coordinates":true} 
[2026-08-11 11:44: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-08-11 11:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:44:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,10,88,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 11:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786428582000,"timestamp_ms":1786428582000,"timestamp_seconds":1786428582,"priority":1,"record_length":96,"hex_timestamp":"0000019fef70e870"} 
[2026-08-11 11:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:44: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:44:58] 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-08-11 11:44: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-08-11 11:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":153476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":153476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":153476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25952,"10":206,"88":19456,"24":0,"16":377398814954225664},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16]} 
[2026-08-11 11:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-11 11:44:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:44:58] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:44:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null}} 
[2026-08-11 11:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":153476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:44:58] local.INFO: GPS data processed {"connection_id":153476,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:44:58] local.INFO: Acknowledgment sent {"connection_id":153476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:45:17] local.INFO: TCP Data received {"connection_id":154854,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feef71108012d7bbc0005ec2588000f00492a..."} 
[2026-08-11 11:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef71108012d7bbc0005ec2588000f00492a..."} 
[2026-08-11 11:45:17] local.INFO: Processing buffer {"connection_id":154854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef71108012d7bbc0005ec2588000f00492a..."} 
[2026-08-11 11:45:17] local.INFO: Packet analysis {"connection_id":154854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 11:45:17] local.INFO: Extracted packet for processing {"connection_id":154854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef7"} 
[2026-08-11 11:45:17] local.INFO: GPS Element Parsed {"raw_longitude":763083776,"raw_latitude":99362184,"longitude_deg":76.3083776,"latitude_deg":9.9362184,"altitude":15,"angle":73,"satellites":42,"speed":36,"hex_longitude":"2d7bbc00","hex_latitude":"05ec2588","is_valid_coordinates":true} 
[2026-08-11 11:45: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-08-11 11:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323670272001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117601659172945920,"note":"Value kept but may cause issues"} 
[2026-08-11 11:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906571976003000320,"note":"Value kept but may cause issues"} 
[2026-08-11 11:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786420597000,"timestamp_ms":1786420597000,"timestamp_seconds":1786420597,"priority":1,"record_length":96,"hex_timestamp":"0000019feef71108"} 
[2026-08-11 11:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:45:17] 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-08-11 11:45: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 11:45:17] 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-08-11 11:45: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-08-11 11:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 11:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 11:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323670272001,"66":13189,"198":206,"87":13824,"24":36,"16":117601659172945920,"45":8906571976003000320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 11:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 11:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 11:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323670272001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:45:17] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 11:45:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 11:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117601659172945920,"km_value":117601659172945.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906571976003000320,"description":"Unknown IO ID 45"} 
[2026-08-11 11:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323670272001,"power":13189,"unknown_198":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8906571976003000320}} 
[2026-08-11 11:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":154854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:45:17] local.INFO: GPS data processed {"connection_id":154854,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:45:17] local.INFO: Acknowledgment sent {"connection_id":154854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:45:20] local.INFO: TCP Data received {"connection_id":154856,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:45:20] local.INFO: Processing buffer {"connection_id":154856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:45:20] local.INFO: IMEI packet received {"connection_id":154856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":154856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:45:20] local.INFO: TCP Data received {"connection_id":154856,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:45:20] local.INFO: Processing buffer {"connection_id":154856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:45:20] local.INFO: IMEI packet received {"connection_id":154856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":154856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:45:25] local.INFO: TCP Data received {"connection_id":154856,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:45:25] local.INFO: Processing buffer {"connection_id":154856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:45:25] local.INFO: IMEI packet received {"connection_id":154856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":154856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:45:26] local.INFO: TCP Data received {"connection_id":154856,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:45:26] local.INFO: Processing buffer {"connection_id":154856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:45:26] local.INFO: Packet analysis {"connection_id":154856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:45:26] local.INFO: Extracted packet for processing {"connection_id":154856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:45:26] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325716992001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507912542211485696,"note":"Value kept but may cause issues"} 
[2026-08-11 11:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786428883000,"timestamp_ms":1786428883000,"timestamp_seconds":1786428883,"priority":1,"record_length":96,"hex_timestamp":"0000019fef758038"} 
[2026-08-11 11:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:45:26] 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-08-11 11: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-08-11 11:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:45:26] 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-08-11 11:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325716992001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507912542211485696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325716992001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:45:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:45:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507912542211485696,"description":"Unknown IO ID 45"} 
[2026-08-11 11:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325716992001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507912542211485696}} 
[2026-08-11 11:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":154856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:45:26] local.INFO: GPS data processed {"connection_id":154856,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:45:26] local.INFO: Acknowledgment sent {"connection_id":154856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:45:57] local.INFO: TCP Data received {"connection_id":154856,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:45:57] local.INFO: Processing buffer {"connection_id":154856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:45:57] local.INFO: Packet analysis {"connection_id":154856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:45:57] local.INFO: Extracted packet for processing {"connection_id":154856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:45:57] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11:45: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-08-11 11:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325716992001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507912542211485696,"note":"Value kept but may cause issues"} 
[2026-08-11 11:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786428883000,"timestamp_ms":1786428883000,"timestamp_seconds":1786428883,"priority":1,"record_length":96,"hex_timestamp":"0000019fef758038"} 
[2026-08-11 11:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:45: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:45:57] 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-08-11 11:45: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-08-11 11:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:45:57] 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-08-11 11:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325716992001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507912542211485696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325716992001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:45:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:45:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507912542211485696,"description":"Unknown IO ID 45"} 
[2026-08-11 11:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325716992001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507912542211485696}} 
[2026-08-11 11:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":154856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:45:57] local.INFO: GPS data processed {"connection_id":154856,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:45:57] local.INFO: Acknowledgment sent {"connection_id":154856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:45:59] local.INFO: TCP Data received {"connection_id":152147,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:45:59] local.INFO: Processing buffer {"connection_id":152147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:45:59] local.INFO: IMEI packet received {"connection_id":152147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 11:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":152147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:46:05] local.INFO: TCP Data received {"connection_id":152147,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:46:05] local.INFO: Processing buffer {"connection_id":152147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:46:05] local.INFO: IMEI packet received {"connection_id":152147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 11:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":152147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:46:11] local.INFO: TCP Data received {"connection_id":152147,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feef4c330012d7a738005eb9fa0000f004829..."} 
[2026-08-11 11:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef4c330012d7a738005eb9fa0000f004829..."} 
[2026-08-11 11:46:11] local.INFO: Processing buffer {"connection_id":152147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef4c330012d7a738005eb9fa0000f004829..."} 
[2026-08-11 11:46:11] local.INFO: Packet analysis {"connection_id":152147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 11:46:11] local.INFO: Extracted packet for processing {"connection_id":152147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef4"} 
[2026-08-11 11:46:11] local.INFO: GPS Element Parsed {"raw_longitude":762999680,"raw_latitude":99327904,"longitude_deg":76.299968,"latitude_deg":9.9327904,"altitude":15,"angle":72,"satellites":41,"speed":20,"hex_longitude":"2d7a7380","hex_latitude":"05eb9fa0","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323631360001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117597295486173184,"note":"Value kept but may cause issues"} 
[2026-08-11 11:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819033258237491200,"note":"Value kept but may cause issues"} 
[2026-08-11 11:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786420446000,"timestamp_ms":1786420446000,"timestamp_seconds":1786420446,"priority":1,"record_length":96,"hex_timestamp":"0000019feef4c330"} 
[2026-08-11 11:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:46:11] 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-08-11 11: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 11:46:11] 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-08-11 11: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-08-11 11:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 11:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 11:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323631360001,"66":12461,"163":206,"87":13824,"24":20,"16":117597295486173184,"45":8819033258237491200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-11 11:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 11:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 11:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323631360001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:46:11] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 11:46:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 11:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117597295486173184,"km_value":117597295486173.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819033258237491200,"description":"Unknown IO ID 45"} 
[2026-08-11 11:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323631360001,"power":12461,"unknown_163":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8819033258237491200}} 
[2026-08-11 11:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":152147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:46:11] local.INFO: GPS data processed {"connection_id":152147,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:46:11] local.INFO: Acknowledgment sent {"connection_id":152147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:46:19] local.INFO: TCP Data received {"connection_id":152519,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:46:19] local.INFO: Processing buffer {"connection_id":152519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:46:19] local.INFO: IMEI packet received {"connection_id":152519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":152519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:46:25] local.INFO: TCP Data received {"connection_id":152519,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:46:25] local.INFO: Processing buffer {"connection_id":152519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:46:25] local.INFO: IMEI packet received {"connection_id":152519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":152519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:46:26] local.INFO: TCP Data received {"connection_id":152519,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:46:26] local.INFO: Processing buffer {"connection_id":152519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:46:26] local.INFO: Packet analysis {"connection_id":152519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:46:26] local.INFO: Extracted packet for processing {"connection_id":152519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:46:26] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325716992001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507912542211485696,"note":"Value kept but may cause issues"} 
[2026-08-11 11:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786428883000,"timestamp_ms":1786428883000,"timestamp_seconds":1786428883,"priority":1,"record_length":96,"hex_timestamp":"0000019fef758038"} 
[2026-08-11 11:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:46:26] 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-08-11 11: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-08-11 11:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:46:26] 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-08-11 11:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325716992001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507912542211485696},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325716992001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:46:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:46:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507912542211485696,"description":"Unknown IO ID 45"} 
[2026-08-11 11:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325716992001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507912542211485696}} 
[2026-08-11 11:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":152519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:46:26] local.INFO: GPS data processed {"connection_id":152519,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:46:26] local.INFO: Acknowledgment sent {"connection_id":152519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:46:42] local.INFO: TCP Data received {"connection_id":152147,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feef32138012d7a540005eb9a10000b009527..."} 
[2026-08-11 11:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef32138012d7a540005eb9a10000b009527..."} 
[2026-08-11 11:46:42] local.INFO: Processing buffer {"connection_id":152147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef32138012d7a540005eb9a10000b009527..."} 
[2026-08-11 11:46:42] local.INFO: Packet analysis {"connection_id":152147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 11:46:42] local.INFO: Extracted packet for processing {"connection_id":152147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef3"} 
[2026-08-11 11:46:42] local.INFO: GPS Element Parsed {"raw_longitude":762991616,"raw_latitude":99326480,"longitude_deg":76.2991616,"latitude_deg":9.932648,"altitude":11,"angle":149,"satellites":39,"speed":0,"hex_longitude":"2d7a5400","hex_latitude":"05eb9a10","is_valid_coordinates":true} 
[2026-08-11 11:46: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-08-11 11:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323601408001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117596874579378176,"note":"Value kept but may cause issues"} 
[2026-08-11 11:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814670396098482176,"note":"Value kept but may cause issues"} 
[2026-08-11 11:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786420339000,"timestamp_ms":1786420339000,"timestamp_seconds":1786420339,"priority":1,"record_length":96,"hex_timestamp":"0000019feef32138"} 
[2026-08-11 11:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:46:42] 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-08-11 11:46: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 11:46:42] 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-08-11 11:46: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-08-11 11:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 11:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 11:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323601408001,"66":13037,"163":206,"87":13824,"24":0,"16":117596874579378176,"45":8814670396098482176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-11 11:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 11:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 11:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323601408001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:46:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 11:46:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 11:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117596874579378176,"km_value":117596874579378.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814670396098482176,"description":"Unknown IO ID 45"} 
[2026-08-11 11:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323601408001,"power":13037,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8814670396098482176}} 
[2026-08-11 11:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":152147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:46:42] local.INFO: GPS data processed {"connection_id":152147,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:46:42] local.INFO: Acknowledgment sent {"connection_id":152147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:46:57] local.INFO: TCP Data received {"connection_id":152519,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:46:57] local.INFO: Processing buffer {"connection_id":152519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:46:57] local.INFO: Packet analysis {"connection_id":152519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:46:57] local.INFO: Extracted packet for processing {"connection_id":152519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:46:57] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11:46: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-08-11 11:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325716992001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507912542211485696,"note":"Value kept but may cause issues"} 
[2026-08-11 11:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786428883000,"timestamp_ms":1786428883000,"timestamp_seconds":1786428883,"priority":1,"record_length":96,"hex_timestamp":"0000019fef758038"} 
[2026-08-11 11:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:46: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:46:57] 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-08-11 11:46: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-08-11 11:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:46:57] 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-08-11 11:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325716992001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507912542211485696},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325716992001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:46:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:46:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507912542211485696,"description":"Unknown IO ID 45"} 
[2026-08-11 11:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325716992001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507912542211485696}} 
[2026-08-11 11:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":152519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:46:57] local.INFO: GPS data processed {"connection_id":152519,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:46:57] local.INFO: Acknowledgment sent {"connection_id":152519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:47:05] local.INFO: TCP Data received {"connection_id":153477,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:47:05] local.INFO: Processing buffer {"connection_id":153477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:47:05] local.INFO: IMEI packet received {"connection_id":153477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 11:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":153477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:47:10] local.INFO: TCP Data received {"connection_id":153477,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:47:10] local.INFO: Processing buffer {"connection_id":153477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:47:10] local.INFO: IMEI packet received {"connection_id":153477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 11:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":153477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:47:15] local.INFO: TCP Data received {"connection_id":153477,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feef10240012d7a310005ebdc60000f00ac29..."} 
[2026-08-11 11:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef10240012d7a310005ebdc60000f00ac29..."} 
[2026-08-11 11:47:15] local.INFO: Processing buffer {"connection_id":153477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef10240012d7a310005ebdc60000f00ac29..."} 
[2026-08-11 11:47:15] local.INFO: Packet analysis {"connection_id":153477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef1"} 
[2026-08-11 11:47:15] local.INFO: Extracted packet for processing {"connection_id":153477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef1"} 
[2026-08-11 11:47:15] local.INFO: GPS Element Parsed {"raw_longitude":762982656,"raw_latitude":99343456,"longitude_deg":76.2982656,"latitude_deg":9.9343456,"altitude":15,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7a3100","hex_latitude":"05ebdc60","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323566080001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117595921096638464,"note":"Value kept but may cause issues"} 
[2026-08-11 11:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804818771917969408,"note":"Value kept but may cause issues"} 
[2026-08-11 11:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786420200000,"timestamp_ms":1786420200000,"timestamp_seconds":1786420200,"priority":1,"record_length":96,"hex_timestamp":"0000019feef10240"} 
[2026-08-11 11:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:47:15] 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-08-11 11: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-11 11:47:15] 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-08-11 11: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-08-11 11:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 11:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 11:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323566080001,"66":13048,"163":206,"87":13824,"24":0,"16":117595921096638464,"45":8804818771917969408},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-11 11:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 11:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 11:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323566080001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:47:15] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 11:47:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 11:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117595921096638464,"km_value":117595921096638.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804818771917969408,"description":"Unknown IO ID 45"} 
[2026-08-11 11:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323566080001,"power":13048,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804818771917969408}} 
[2026-08-11 11:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":153477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:47:15] local.INFO: GPS data processed {"connection_id":153477,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:47:15] local.INFO: Acknowledgment sent {"connection_id":153477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:47:25] local.INFO: TCP Data received {"connection_id":153478,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:47:25] local.INFO: Processing buffer {"connection_id":153478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:47:25] local.INFO: IMEI packet received {"connection_id":153478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":153478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:47:30] local.INFO: TCP Data received {"connection_id":153478,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:47:30] local.INFO: Processing buffer {"connection_id":153478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:47:30] local.INFO: IMEI packet received {"connection_id":153478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":153478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:47:30] local.INFO: TCP Data received {"connection_id":153478,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:47:30] local.INFO: Processing buffer {"connection_id":153478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:47:30] local.INFO: Packet analysis {"connection_id":153478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:47:30] local.INFO: Extracted packet for processing {"connection_id":153478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:47:30] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11:47: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-08-11 11:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325716992001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507912542211485696,"note":"Value kept but may cause issues"} 
[2026-08-11 11:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786428883000,"timestamp_ms":1786428883000,"timestamp_seconds":1786428883,"priority":1,"record_length":96,"hex_timestamp":"0000019fef758038"} 
[2026-08-11 11:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:47: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:47:30] 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-08-11 11:47: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-08-11 11:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325716992001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507912542211485696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325716992001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:47:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:47:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507912542211485696,"description":"Unknown IO ID 45"} 
[2026-08-11 11:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325716992001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507912542211485696}} 
[2026-08-11 11:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":153478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:47:30] local.INFO: GPS data processed {"connection_id":153478,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:47:30] local.INFO: Acknowledgment sent {"connection_id":153478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:47:35] local.INFO: TCP Data received {"connection_id":153478,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:47:35] local.INFO: Processing buffer {"connection_id":153478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:47:35] local.INFO: Packet analysis {"connection_id":153478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:47:35] local.INFO: Extracted packet for processing {"connection_id":153478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:47:35] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325716992001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507912542211485696,"note":"Value kept but may cause issues"} 
[2026-08-11 11:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786428883000,"timestamp_ms":1786428883000,"timestamp_seconds":1786428883,"priority":1,"record_length":96,"hex_timestamp":"0000019fef758038"} 
[2026-08-11 11:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:47: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-08-11 11: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-08-11 11:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325716992001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507912542211485696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325716992001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:47:35] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:47:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507912542211485696,"description":"Unknown IO ID 45"} 
[2026-08-11 11:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325716992001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507912542211485696}} 
[2026-08-11 11:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":153478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:47:35] local.INFO: GPS data processed {"connection_id":153478,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:47:35] local.INFO: Acknowledgment sent {"connection_id":153478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:47:59] local.INFO: TCP Data received {"connection_id":153479,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:47:59] local.INFO: Processing buffer {"connection_id":153479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:47:59] local.INFO: IMEI packet received {"connection_id":153479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 11:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":153479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:48:05] local.INFO: TCP Data received {"connection_id":153479,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:48:05] local.INFO: Processing buffer {"connection_id":153479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:48:05] local.INFO: IMEI packet received {"connection_id":153479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 11:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":153479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:48:10] local.INFO: TCP Data received {"connection_id":153479,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feef01bc8012d7a26c005ebf608000f007f27..."} 
[2026-08-11 11:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feef01bc8012d7a26c005ebf608000f007f27..."} 
[2026-08-11 11:48:10] local.INFO: Processing buffer {"connection_id":153479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feef01bc8012d7a26c005ebf608000f007f27..."} 
[2026-08-11 11:48:10] local.INFO: Packet analysis {"connection_id":153479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 11:48:10] local.INFO: Extracted packet for processing {"connection_id":153479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feef0"} 
[2026-08-11 11:48:10] local.INFO: GPS Element Parsed {"raw_longitude":762980032,"raw_latitude":99350024,"longitude_deg":76.2980032,"latitude_deg":9.9350024,"altitude":15,"angle":127,"satellites":39,"speed":1,"hex_longitude":"2d7a26c0","hex_latitude":"05ebf608","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323555328001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117595573204287488,"note":"Value kept but may cause issues"} 
[2026-08-11 11:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801792915920033792,"note":"Value kept but may cause issues"} 
[2026-08-11 11:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786420141000,"timestamp_ms":1786420141000,"timestamp_seconds":1786420141,"priority":1,"record_length":96,"hex_timestamp":"0000019feef01bc8"} 
[2026-08-11 11:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:48:10] 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-08-11 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 11:48:10] 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-08-11 11: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-08-11 11:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 11:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 11:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323555328001,"66":13222,"99":206,"87":13824,"24":1,"16":117595573204287488,"45":8801792915920033792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-11 11:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 11:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 11:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323555328001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:48:10] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 11:48:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 11:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117595573204287488,"km_value":117595573204287.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801792915920033792,"description":"Unknown IO ID 45"} 
[2026-08-11 11:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323555328001,"power":13222,"unknown_99":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8801792915920033792}} 
[2026-08-11 11:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":153479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:48:10] local.INFO: GPS data processed {"connection_id":153479,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:48:10] local.INFO: Acknowledgment sent {"connection_id":153479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:48:20] local.INFO: TCP Data received {"connection_id":153480,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:48:20] local.INFO: Processing buffer {"connection_id":153480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:48:20] local.INFO: IMEI packet received {"connection_id":153480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":153480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:48:25] local.INFO: TCP Data received {"connection_id":153480,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:48:25] local.INFO: Processing buffer {"connection_id":153480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:48:25] local.INFO: IMEI packet received {"connection_id":153480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":153480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:48:26] local.INFO: TCP Data received {"connection_id":153480,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:48:26] local.INFO: Processing buffer {"connection_id":153480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:48:26] local.INFO: Packet analysis {"connection_id":153480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:48:26] local.INFO: Extracted packet for processing {"connection_id":153480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:48:26] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325716992001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507912542211485696,"note":"Value kept but may cause issues"} 
[2026-08-11 11:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786428883000,"timestamp_ms":1786428883000,"timestamp_seconds":1786428883,"priority":1,"record_length":96,"hex_timestamp":"0000019fef758038"} 
[2026-08-11 11:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:48:26] 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-08-11 11: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-08-11 11:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:48:26] 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-08-11 11:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325716992001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507912542211485696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325716992001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:48:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:48:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507912542211485696,"description":"Unknown IO ID 45"} 
[2026-08-11 11:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325716992001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507912542211485696}} 
[2026-08-11 11:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":153480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:48:26] local.INFO: GPS data processed {"connection_id":153480,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:48:26] local.INFO: Acknowledgment sent {"connection_id":153480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:48:41] local.INFO: TCP Data received {"connection_id":153479,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019feeef19f8012d7a1e8005ec0740000f00a025..."} 
[2026-08-11 11:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feeef19f8012d7a1e8005ec0740000f00a025..."} 
[2026-08-11 11:48:41] local.INFO: Processing buffer {"connection_id":153479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feeef19f8012d7a1e8005ec0740000f00a025..."} 
[2026-08-11 11:48:41] local.INFO: Packet analysis {"connection_id":153479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feeef"} 
[2026-08-11 11:48:41] local.INFO: Extracted packet for processing {"connection_id":153479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feeef"} 
[2026-08-11 11:48:41] local.INFO: GPS Element Parsed {"raw_longitude":762977920,"raw_latitude":99354432,"longitude_deg":76.297792,"latitude_deg":9.9354432,"altitude":15,"angle":160,"satellites":37,"speed":7,"hex_longitude":"2d7a1e80","hex_latitude":"05ec0740","is_valid_coordinates":true} 
[2026-08-11 11:48: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-08-11 11:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457323534336001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117595319801217024,"note":"Value kept but may cause issues"} 
[2026-08-11 11:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798837428666167296,"note":"Value kept but may cause issues"} 
[2026-08-11 11:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786420075000,"timestamp_ms":1786420075000,"timestamp_seconds":1786420075,"priority":1,"record_length":96,"hex_timestamp":"0000019feeef19f8"} 
[2026-08-11 11:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:48:41] 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-08-11 11:48: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 11:48:41] 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-08-11 11:48: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-08-11 11:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 11:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 11:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 11:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457323534336001,"66":13276,"99":206,"87":13824,"24":7,"16":117595319801217024,"45":8798837428666167296},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-11 11:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 11:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 11:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457323534336001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:48:41] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 11:48:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 11:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117595319801217024,"km_value":117595319801217.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798837428666167296,"description":"Unknown IO ID 45"} 
[2026-08-11 11:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457323534336001,"power":13276,"unknown_99":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8798837428666167296}} 
[2026-08-11 11:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":153479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:48:41] local.INFO: GPS data processed {"connection_id":153479,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:48:41] local.INFO: Acknowledgment sent {"connection_id":153479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:48:57] local.INFO: TCP Data received {"connection_id":153480,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:48:57] local.INFO: Processing buffer {"connection_id":153480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:48:57] local.INFO: Packet analysis {"connection_id":153480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:48:57] local.INFO: Extracted packet for processing {"connection_id":153480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:48:57] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325716992001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507912542211485696,"note":"Value kept but may cause issues"} 
[2026-08-11 11:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786428883000,"timestamp_ms":1786428883000,"timestamp_seconds":1786428883,"priority":1,"record_length":96,"hex_timestamp":"0000019fef758038"} 
[2026-08-11 11:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:48:57] 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-08-11 11: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-08-11 11:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:48:57] 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-08-11 11:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325716992001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507912542211485696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325716992001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:48:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:48:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507912542211485696,"description":"Unknown IO ID 45"} 
[2026-08-11 11:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325716992001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507912542211485696}} 
[2026-08-11 11:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":153480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:48:57] local.INFO: GPS data processed {"connection_id":153480,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:48:57] local.INFO: Acknowledgment sent {"connection_id":153480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:48:59] local.INFO: TCP Data received {"connection_id":152148,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:48:59] local.INFO: Processing buffer {"connection_id":152148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:48:59] local.INFO: IMEI packet received {"connection_id":152148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 11:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":152148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:49:05] local.INFO: TCP Data received {"connection_id":152148,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:49:05] local.INFO: Processing buffer {"connection_id":152148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 11:49:05] local.INFO: IMEI packet received {"connection_id":152148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 11:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":152148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:49:20] local.INFO: TCP Data received {"connection_id":153481,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:49:20] local.INFO: Processing buffer {"connection_id":153481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:49:20] local.INFO: IMEI packet received {"connection_id":153481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":153481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:49:25] local.INFO: TCP Data received {"connection_id":153481,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:49:25] local.INFO: Processing buffer {"connection_id":153481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:49:25] local.INFO: IMEI packet received {"connection_id":153481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":153481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:49:26] local.INFO: TCP Data received {"connection_id":153481,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:49:26] local.INFO: Processing buffer {"connection_id":153481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:49:26] local.INFO: Packet analysis {"connection_id":153481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:49:26] local.INFO: Extracted packet for processing {"connection_id":153481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:49:26] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 11:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325716992001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507912542211485696,"note":"Value kept but may cause issues"} 
[2026-08-11 11:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786428883000,"timestamp_ms":1786428883000,"timestamp_seconds":1786428883,"priority":1,"record_length":96,"hex_timestamp":"0000019fef758038"} 
[2026-08-11 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-08-11 11:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:49:26] 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-08-11 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-08-11 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-08-11 11:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:49:26] 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-08-11 11:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325716992001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507912542211485696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325716992001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:49:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:49:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507912542211485696,"description":"Unknown IO ID 45"} 
[2026-08-11 11:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325716992001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507912542211485696}} 
[2026-08-11 11:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":153481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:49:26] local.INFO: GPS data processed {"connection_id":153481,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:49:26] local.INFO: Acknowledgment sent {"connection_id":153481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:49:57] local.INFO: TCP Data received {"connection_id":153481,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:49:57] local.INFO: Processing buffer {"connection_id":153481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef758038012da5aec005f42cb80012012427..."} 
[2026-08-11 11:49:57] local.INFO: Packet analysis {"connection_id":153481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:49:57] local.INFO: Extracted packet for processing {"connection_id":153481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef75"} 
[2026-08-11 11:49:57] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325716992001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507912542211485696,"note":"Value kept but may cause issues"} 
[2026-08-11 11:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786428883000,"timestamp_ms":1786428883000,"timestamp_seconds":1786428883,"priority":1,"record_length":96,"hex_timestamp":"0000019fef758038"} 
[2026-08-11 11:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 11:49:57] 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-08-11 11: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-08-11 11:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:49:57] 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-08-11 11:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325716992001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507912542211485696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325716992001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:49:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:49:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507912542211485696,"description":"Unknown IO ID 45"} 
[2026-08-11 11:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325716992001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507912542211485696}} 
[2026-08-11 11:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":153481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:49:57] local.INFO: GPS data processed {"connection_id":153481,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:49:57] local.INFO: Acknowledgment sent {"connection_id":153481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:50:20] local.INFO: TCP Data received {"connection_id":154857,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:50:20] local.INFO: Processing buffer {"connection_id":154857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:50:20] local.INFO: IMEI packet received {"connection_id":154857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":154857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:50:21] local.INFO: TCP Data received {"connection_id":154857,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:50:21] local.INFO: Processing buffer {"connection_id":154857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:50:21] local.INFO: IMEI packet received {"connection_id":154857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":154857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:50:25] local.INFO: TCP Data received {"connection_id":154857,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:50:25] local.INFO: Processing buffer {"connection_id":154857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:50:25] local.INFO: IMEI packet received {"connection_id":154857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":154857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:50:25] local.INFO: TCP Data received {"connection_id":154857,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:50:25] local.INFO: Processing buffer {"connection_id":154857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:50:25] local.INFO: Packet analysis {"connection_id":154857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef7a"} 
[2026-08-11 11:50:25] local.INFO: Extracted packet for processing {"connection_id":154857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef7a"} 
[2026-08-11 11:50:25] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325794048001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508053279699847168,"note":"Value kept but may cause issues"} 
[2026-08-11 11:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786429184000,"timestamp_ms":1786429184000,"timestamp_seconds":1786429184,"priority":1,"record_length":96,"hex_timestamp":"0000019fef7a1800"} 
[2026-08-11 11:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 11:50:25] 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-08-11 11: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-08-11 11:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:50:25] 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-08-11 11:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325794048001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6508053279699847168},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325794048001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:50:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:50:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508053279699847168,"description":"Unknown IO ID 45"} 
[2026-08-11 11:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325794048001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508053279699847168}} 
[2026-08-11 11:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":154857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:50:25] local.INFO: GPS data processed {"connection_id":154857,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:50:25] local.INFO: Acknowledgment sent {"connection_id":154857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:50:30] local.INFO: TCP Data received {"connection_id":154857,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:50:30] local.INFO: Processing buffer {"connection_id":154857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:50:30] local.INFO: Packet analysis {"connection_id":154857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef7a"} 
[2026-08-11 11:50:30] local.INFO: Extracted packet for processing {"connection_id":154857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef7a"} 
[2026-08-11 11:50:30] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325794048001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508053279699847168,"note":"Value kept but may cause issues"} 
[2026-08-11 11:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786429184000,"timestamp_ms":1786429184000,"timestamp_seconds":1786429184,"priority":1,"record_length":96,"hex_timestamp":"0000019fef7a1800"} 
[2026-08-11 11:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 11:50:30] 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-08-11 11: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-08-11 11:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:50:30] 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-08-11 11:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325794048001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6508053279699847168},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325794048001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:50:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:50:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508053279699847168,"description":"Unknown IO ID 45"} 
[2026-08-11 11:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325794048001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508053279699847168}} 
[2026-08-11 11:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":154857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:50:30] local.INFO: GPS data processed {"connection_id":154857,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:50:30] local.INFO: Acknowledgment sent {"connection_id":154857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:51:02] local.INFO: TCP Data received {"connection_id":154857,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:51:02] local.INFO: Processing buffer {"connection_id":154857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:51:02] local.INFO: Packet analysis {"connection_id":154857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef7a"} 
[2026-08-11 11:51:02] local.INFO: Extracted packet for processing {"connection_id":154857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef7a"} 
[2026-08-11 11:51:02] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11:51: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-08-11 11:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325794048001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508053279699847168,"note":"Value kept but may cause issues"} 
[2026-08-11 11:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786429184000,"timestamp_ms":1786429184000,"timestamp_seconds":1786429184,"priority":1,"record_length":96,"hex_timestamp":"0000019fef7a1800"} 
[2026-08-11 11:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:51: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 11:51:02] 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-08-11 11:51: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-08-11 11:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":154857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":154857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":154857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:51:02] 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-08-11 11:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325794048001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6508053279699847168},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325794048001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:51:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:51:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508053279699847168,"description":"Unknown IO ID 45"} 
[2026-08-11 11:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325794048001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508053279699847168}} 
[2026-08-11 11:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":154857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:51:02] local.INFO: GPS data processed {"connection_id":154857,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:51:02] local.INFO: Acknowledgment sent {"connection_id":154857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:51:19] local.INFO: TCP Data received {"connection_id":153482,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:51:19] local.INFO: Processing buffer {"connection_id":153482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:51:19] local.INFO: IMEI packet received {"connection_id":153482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":153482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:51:25] local.INFO: TCP Data received {"connection_id":153482,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:51:25] local.INFO: Processing buffer {"connection_id":153482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:51:25] local.INFO: IMEI packet received {"connection_id":153482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":153482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:51:25] local.INFO: TCP Data received {"connection_id":153482,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:51:25] local.INFO: Processing buffer {"connection_id":153482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:51:25] local.INFO: Packet analysis {"connection_id":153482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef7a"} 
[2026-08-11 11:51:25] local.INFO: Extracted packet for processing {"connection_id":153482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef7a"} 
[2026-08-11 11:51:25] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325794048001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508053279699847168,"note":"Value kept but may cause issues"} 
[2026-08-11 11:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786429184000,"timestamp_ms":1786429184000,"timestamp_seconds":1786429184,"priority":1,"record_length":96,"hex_timestamp":"0000019fef7a1800"} 
[2026-08-11 11:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 11:51:25] 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-08-11 11: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-08-11 11:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:51:25] 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-08-11 11:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325794048001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6508053279699847168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325794048001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:51:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:51:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508053279699847168,"description":"Unknown IO ID 45"} 
[2026-08-11 11:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325794048001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508053279699847168}} 
[2026-08-11 11:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":153482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:51:25] local.INFO: GPS data processed {"connection_id":153482,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:51:25] local.INFO: Acknowledgment sent {"connection_id":153482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:51:57] local.INFO: TCP Data received {"connection_id":153482,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:51:57] local.INFO: Processing buffer {"connection_id":153482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:51:57] local.INFO: Packet analysis {"connection_id":153482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef7a"} 
[2026-08-11 11:51:57] local.INFO: Extracted packet for processing {"connection_id":153482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef7a"} 
[2026-08-11 11:51:57] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11:51: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-08-11 11:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325794048001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508053279699847168,"note":"Value kept but may cause issues"} 
[2026-08-11 11:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786429184000,"timestamp_ms":1786429184000,"timestamp_seconds":1786429184,"priority":1,"record_length":96,"hex_timestamp":"0000019fef7a1800"} 
[2026-08-11 11:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:51: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 11:51:57] 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-08-11 11:51: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-08-11 11:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:51:57] 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-08-11 11:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325794048001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6508053279699847168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325794048001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:51:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:51:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508053279699847168,"description":"Unknown IO ID 45"} 
[2026-08-11 11:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325794048001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508053279699847168}} 
[2026-08-11 11:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":153482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:51:57] local.INFO: GPS data processed {"connection_id":153482,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:51:57] local.INFO: Acknowledgment sent {"connection_id":153482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:52:25] local.INFO: TCP Data received {"connection_id":152520,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:52:25] local.INFO: Processing buffer {"connection_id":152520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:52:25] local.INFO: IMEI packet received {"connection_id":152520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":152520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:52:30] local.INFO: TCP Data received {"connection_id":152520,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:52:30] local.INFO: Processing buffer {"connection_id":152520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:52:30] local.INFO: IMEI packet received {"connection_id":152520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":152520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:52:31] local.INFO: TCP Data received {"connection_id":152520,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:52:31] local.INFO: Processing buffer {"connection_id":152520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:52:31] local.INFO: Packet analysis {"connection_id":152520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef7a"} 
[2026-08-11 11:52:31] local.INFO: Extracted packet for processing {"connection_id":152520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef7a"} 
[2026-08-11 11:52:31] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11:52: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-08-11 11:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325794048001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508053279699847168,"note":"Value kept but may cause issues"} 
[2026-08-11 11:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786429184000,"timestamp_ms":1786429184000,"timestamp_seconds":1786429184,"priority":1,"record_length":96,"hex_timestamp":"0000019fef7a1800"} 
[2026-08-11 11:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11:52: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":19,"data_length":795,"current_offset":136} 
[2026-08-11 11:52:31] 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-08-11 11:52: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-08-11 11:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325794048001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6508053279699847168},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325794048001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:52:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:52:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508053279699847168,"description":"Unknown IO ID 45"} 
[2026-08-11 11:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325794048001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508053279699847168}} 
[2026-08-11 11:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":152520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:52:31] local.INFO: GPS data processed {"connection_id":152520,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:52:31] local.INFO: Acknowledgment sent {"connection_id":152520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:52:35] local.INFO: TCP Data received {"connection_id":152520,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:52:35] local.INFO: Processing buffer {"connection_id":152520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7a1800012da5aec005f42cb80012012428..."} 
[2026-08-11 11:52:35] local.INFO: Packet analysis {"connection_id":152520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef7a"} 
[2026-08-11 11:52:35] local.INFO: Extracted packet for processing {"connection_id":152520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef7a"} 
[2026-08-11 11:52:35] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325794048001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508053279699847168,"note":"Value kept but may cause issues"} 
[2026-08-11 11:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786429184000,"timestamp_ms":1786429184000,"timestamp_seconds":1786429184,"priority":1,"record_length":96,"hex_timestamp":"0000019fef7a1800"} 
[2026-08-11 11:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 11:52:35] 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-08-11 11: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-08-11 11:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 11:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325794048001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6508053279699847168},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325794048001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:52:35] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:52:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508053279699847168,"description":"Unknown IO ID 45"} 
[2026-08-11 11:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325794048001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508053279699847168}} 
[2026-08-11 11:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":152520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:52:35] local.INFO: GPS data processed {"connection_id":152520,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:52:35] local.INFO: Acknowledgment sent {"connection_id":152520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:53:20] local.INFO: TCP Data received {"connection_id":154858,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:53:20] local.INFO: Processing buffer {"connection_id":154858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:53:20] local.INFO: IMEI packet received {"connection_id":154858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":154858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:53:21] local.INFO: TCP Data received {"connection_id":154858,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:53:21] local.INFO: Processing buffer {"connection_id":154858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:53:21] local.INFO: IMEI packet received {"connection_id":154858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":154858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:53:25] local.INFO: TCP Data received {"connection_id":154858,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:53:25] local.INFO: Processing buffer {"connection_id":154858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:53:25] local.INFO: IMEI packet received {"connection_id":154858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":154858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:53:26] local.INFO: TCP Data received {"connection_id":154858,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7c7190012da5aec005f42cb80012012428..."} 
[2026-08-11 11:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7c7190012da5aec005f42cb80012012428..."} 
[2026-08-11 11:53:26] local.INFO: Processing buffer {"connection_id":154858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7c7190012da5aec005f42cb80012012428..."} 
[2026-08-11 11:53:26] local.INFO: Packet analysis {"connection_id":154858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef7c"} 
[2026-08-11 11:53:26] local.INFO: Extracted packet for processing {"connection_id":154858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef7c"} 
[2026-08-11 11:53:26] local.INFO: GPS Element Parsed {"raw_longitude":765832896,"raw_latitude":99888312,"longitude_deg":76.5832896,"latitude_deg":9.9888312,"altitude":18,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2da5aec0","hex_latitude":"05f42cb8","is_valid_coordinates":true} 
[2026-08-11 11:53: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-08-11 11:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325871104001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508053279699847168,"note":"Value kept but may cause issues"} 
[2026-08-11 11:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786429338000,"timestamp_ms":1786429338000,"timestamp_seconds":1786429338,"priority":1,"record_length":96,"hex_timestamp":"0000019fef7c7190"} 
[2026-08-11 11:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 11:53:26] 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-08-11 11: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-08-11 11:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:53:26] 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-08-11 11:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325871104001,"66":25875,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6508053279699847168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325871104001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:53:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:53:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508053279699847168,"description":"Unknown IO ID 45"} 
[2026-08-11 11:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325871104001,"power":25875,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508053279699847168}} 
[2026-08-11 11:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":154858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:53:26] local.INFO: GPS data processed {"connection_id":154858,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:53:26] local.INFO: Acknowledgment sent {"connection_id":154858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:53:57] local.INFO: TCP Data received {"connection_id":154858,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7cd338012da5af4005f42cd00012012427..."} 
[2026-08-11 11:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7cd338012da5af4005f42cd00012012427..."} 
[2026-08-11 11:53:57] local.INFO: Processing buffer {"connection_id":154858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7cd338012da5af4005f42cd00012012427..."} 
[2026-08-11 11:53:57] local.INFO: Packet analysis {"connection_id":154858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef7c"} 
[2026-08-11 11:53:57] local.INFO: Extracted packet for processing {"connection_id":154858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef7c"} 
[2026-08-11 11:53:57] local.INFO: GPS Element Parsed {"raw_longitude":765833024,"raw_latitude":99888336,"longitude_deg":76.5833024,"latitude_deg":9.9888336,"altitude":18,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2da5af40","hex_latitude":"05f42cd0","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325910528001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508053279699847168,"note":"Value kept but may cause issues"} 
[2026-08-11 11:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786429363000,"timestamp_ms":1786429363000,"timestamp_seconds":1786429363,"priority":1,"record_length":96,"hex_timestamp":"0000019fef7cd338"} 
[2026-08-11 11:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 11:53:57] 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-08-11 11: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-08-11 11:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:53:57] 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-08-11 11:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325910528001,"66":27821,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6508053279699847168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325910528001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:53:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:53:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508053279699847168,"description":"Unknown IO ID 45"} 
[2026-08-11 11:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325910528001,"power":27821,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508053279699847168}} 
[2026-08-11 11:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":154858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:53:57] local.INFO: GPS data processed {"connection_id":154858,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:53:57] local.INFO: Acknowledgment sent {"connection_id":154858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:54:20] local.INFO: TCP Data received {"connection_id":152149,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:54:20] local.INFO: Processing buffer {"connection_id":152149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:54:20] local.INFO: IMEI packet received {"connection_id":152149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":152149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:54:25] local.INFO: TCP Data received {"connection_id":152149,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:54:25] local.INFO: Processing buffer {"connection_id":152149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:54:25] local.INFO: IMEI packet received {"connection_id":152149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":152149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:54:26] local.INFO: TCP Data received {"connection_id":152149,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7d2540012da5af4005f42cd00012012426..."} 
[2026-08-11 11:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7d2540012da5af4005f42cd00012012426..."} 
[2026-08-11 11:54:26] local.INFO: Processing buffer {"connection_id":152149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7d2540012da5af4005f42cd00012012426..."} 
[2026-08-11 11:54:26] local.INFO: Packet analysis {"connection_id":152149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef7d"} 
[2026-08-11 11:54:26] local.INFO: Extracted packet for processing {"connection_id":152149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef7d"} 
[2026-08-11 11:54:26] local.INFO: GPS Element Parsed {"raw_longitude":765833024,"raw_latitude":99888336,"longitude_deg":76.5833024,"latitude_deg":9.9888336,"altitude":18,"angle":292,"satellites":38,"speed":0,"hex_longitude":"2da5af40","hex_latitude":"05f42cd0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 11:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325916928001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398814954225664,"note":"Value kept but may cause issues"} 
[2026-08-11 11:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507912542211485696,"note":"Value kept but may cause issues"} 
[2026-08-11 11:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786429384000,"timestamp_ms":1786429384000,"timestamp_seconds":1786429384,"priority":1,"record_length":96,"hex_timestamp":"0000019fef7d2540"} 
[2026-08-11 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-08-11 11:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 11:54: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-08-11 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-08-11 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-08-11 11:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:54:26] 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-08-11 11:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325916928001,"66":27767,"10":206,"88":19456,"24":0,"16":377398814954225664,"45":-6507912542211485696},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325916928001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:54:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:54:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398814954225664,"km_value":377398814954225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507912542211485696,"description":"Unknown IO ID 45"} 
[2026-08-11 11:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325916928001,"power":27767,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507912542211485696}} 
[2026-08-11 11:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":152149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:54:26] local.INFO: GPS data processed {"connection_id":152149,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:54:26] local.INFO: Acknowledgment sent {"connection_id":152149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:54:57] local.INFO: TCP Data received {"connection_id":152149,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7d30f8012da5ac8005f42c980012010329..."} 
[2026-08-11 11:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7d30f8012da5ac8005f42c980012010329..."} 
[2026-08-11 11:54:57] local.INFO: Processing buffer {"connection_id":152149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7d30f8012da5ac8005f42c980012010329..."} 
[2026-08-11 11:54:57] local.INFO: Packet analysis {"connection_id":152149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef7d"} 
[2026-08-11 11:54:57] local.INFO: Extracted packet for processing {"connection_id":152149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef7d"} 
[2026-08-11 11:54:57] local.INFO: GPS Element Parsed {"raw_longitude":765832320,"raw_latitude":99888280,"longitude_deg":76.583232,"latitude_deg":9.988828,"altitude":18,"angle":259,"satellites":41,"speed":2,"hex_longitude":"2da5ac80","hex_latitude":"05f42c98","is_valid_coordinates":true} 
[2026-08-11 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-08-11 11:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325922304001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398849313964032,"note":"Value kept but may cause issues"} 
[2026-08-11 11:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507912542211485696,"note":"Value kept but may cause issues"} 
[2026-08-11 11:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786429387000,"timestamp_ms":1786429387000,"timestamp_seconds":1786429387,"priority":1,"record_length":96,"hex_timestamp":"0000019fef7d30f8"} 
[2026-08-11 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-08-11 11:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 11:54: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-08-11 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-08-11 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-08-11 11:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:54:57] 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-08-11 11:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325922304001,"66":27821,"10":206,"88":19456,"24":2,"16":377398849313964032,"45":-6507912542211485696},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325922304001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:54:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:54:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398849313964032,"km_value":377398849313964.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507912542211485696,"description":"Unknown IO ID 45"} 
[2026-08-11 11:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325922304001,"power":27821,"unknown_10":206,"unknown_88":19456,"ignition":2,"odometer":null,"unknown_45":-6507912542211485696}} 
[2026-08-11 11:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":152149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:54:57] local.INFO: GPS data processed {"connection_id":152149,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:54:57] local.INFO: Acknowledgment sent {"connection_id":152149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:55:20] local.INFO: TCP Data received {"connection_id":153483,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:55:20] local.INFO: Processing buffer {"connection_id":153483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:55:20] local.INFO: IMEI packet received {"connection_id":153483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":153483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:55:25] local.INFO: TCP Data received {"connection_id":153483,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:55:25] local.INFO: Processing buffer {"connection_id":153483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:55:25] local.INFO: IMEI packet received {"connection_id":153483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":153483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:55:26] local.INFO: TCP Data received {"connection_id":153483,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7d4098012da5a8c005f42c800012011629..."} 
[2026-08-11 11:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7d4098012da5a8c005f42c800012011629..."} 
[2026-08-11 11:55:26] local.INFO: Processing buffer {"connection_id":153483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7d4098012da5a8c005f42c800012011629..."} 
[2026-08-11 11:55:26] local.INFO: Packet analysis {"connection_id":153483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef7d"} 
[2026-08-11 11:55:26] local.INFO: Extracted packet for processing {"connection_id":153483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef7d"} 
[2026-08-11 11:55:26] local.INFO: GPS Element Parsed {"raw_longitude":765831360,"raw_latitude":99888256,"longitude_deg":76.583136,"latitude_deg":9.9888256,"altitude":18,"angle":278,"satellites":41,"speed":15,"hex_longitude":"2da5a8c0","hex_latitude":"05f42c80","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325923072001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377398896558604288,"note":"Value kept but may cause issues"} 
[2026-08-11 11:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508686598397454336,"note":"Value kept but may cause issues"} 
[2026-08-11 11:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786429391000,"timestamp_ms":1786429391000,"timestamp_seconds":1786429391,"priority":1,"record_length":96,"hex_timestamp":"0000019fef7d4098"} 
[2026-08-11 11:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 11:55: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-08-11 11: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-08-11 11:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:55:26] 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-08-11 11:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325923072001,"66":27800,"10":206,"88":19456,"24":15,"16":377398896558604288,"45":-6508686598397454336},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-08-11 11:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325923072001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:55:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 11:55:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377398896558604288,"km_value":377398896558604.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508686598397454336,"description":"Unknown IO ID 45"} 
[2026-08-11 11:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325923072001,"power":27800,"unknown_10":206,"unknown_88":19456,"ignition":15,"odometer":null,"unknown_45":-6508686598397454336}} 
[2026-08-11 11:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":153483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:55:26] local.INFO: GPS data processed {"connection_id":153483,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:55:26] local.INFO: Acknowledgment sent {"connection_id":153483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:55:57] local.INFO: TCP Data received {"connection_id":153483,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7d92a0012da589c005f433200010011b23..."} 
[2026-08-11 11:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7d92a0012da589c005f433200010011b23..."} 
[2026-08-11 11:55:57] local.INFO: Processing buffer {"connection_id":153483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7d92a0012da589c005f433200010011b23..."} 
[2026-08-11 11:55:57] local.INFO: Packet analysis {"connection_id":153483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef7d"} 
[2026-08-11 11:55:57] local.INFO: Extracted packet for processing {"connection_id":153483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef7d"} 
[2026-08-11 11:55:57] local.INFO: GPS Element Parsed {"raw_longitude":765823424,"raw_latitude":99889952,"longitude_deg":76.5823424,"latitude_deg":9.9889952,"altitude":16,"angle":283,"satellites":35,"speed":17,"hex_longitude":"2da589c0","hex_latitude":"05f43320","is_valid_coordinates":true} 
[2026-08-11 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-08-11 11:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325924096001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377399283105660928,"note":"Value kept but may cause issues"} 
[2026-08-11 11:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6509742129560125440,"note":"Value kept but may cause issues"} 
[2026-08-11 11:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786429412000,"timestamp_ms":1786429412000,"timestamp_seconds":1786429412,"priority":1,"record_length":96,"hex_timestamp":"0000019fef7d92a0"} 
[2026-08-11 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-08-11 11:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 11:55:57] 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-08-11 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-08-11 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-08-11 11:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:55:57] 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-08-11 11:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325924096001,"66":27876,"12":206,"88":19456,"24":17,"16":377399283105660928,"45":-6509742129560125440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,88,24,16,45]} 
[2026-08-11 11:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325924096001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:55:57] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-11 11:55:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377399283105660928,"km_value":377399283105660.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6509742129560125440,"description":"Unknown IO ID 45"} 
[2026-08-11 11:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325924096001,"power":27876,"unknown_12":206,"unknown_88":19456,"ignition":17,"odometer":null,"unknown_45":-6509742129560125440}} 
[2026-08-11 11:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":153483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:55:57] local.INFO: GPS data processed {"connection_id":153483,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:55:57] local.INFO: Acknowledgment sent {"connection_id":153483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:56:19] local.INFO: TCP Data received {"connection_id":152521,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:56:19] local.INFO: Processing buffer {"connection_id":152521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:56:19] local.INFO: IMEI packet received {"connection_id":152521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":152521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:56:22] local.INFO: TCP Data received {"connection_id":152521,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:56:22] local.INFO: Processing buffer {"connection_id":152521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:56:22] local.INFO: IMEI packet received {"connection_id":152521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":152521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:56:24] local.INFO: TCP Data received {"connection_id":152521,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:56:24] local.INFO: Processing buffer {"connection_id":152521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:56:24] local.INFO: IMEI packet received {"connection_id":152521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":152521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:56:27] local.INFO: TCP Data received {"connection_id":152521,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7f24f8012da5e7c005f4b5900013002d29..."} 
[2026-08-11 11:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7f24f8012da5e7c005f4b5900013002d29..."} 
[2026-08-11 11:56:27] local.INFO: Processing buffer {"connection_id":152521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7f24f8012da5e7c005f4b5900013002d29..."} 
[2026-08-11 11:56:27] local.INFO: Packet analysis {"connection_id":152521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef7f"} 
[2026-08-11 11:56:27] local.INFO: Extracted packet for processing {"connection_id":152521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef7f"} 
[2026-08-11 11:56:27] local.INFO: GPS Element Parsed {"raw_longitude":765847488,"raw_latitude":99923344,"longitude_deg":76.5847488,"latitude_deg":9.9923344,"altitude":19,"angle":45,"satellites":41,"speed":4,"hex_longitude":"2da5e7c0","hex_latitude":"05f4b590","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325950464001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377401748416888832,"note":"Value kept but may cause issues"} 
[2026-08-11 11:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6494964693274497024,"note":"Value kept but may cause issues"} 
[2026-08-11 11:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786429515000,"timestamp_ms":1786429515000,"timestamp_seconds":1786429515,"priority":1,"record_length":96,"hex_timestamp":"0000019fef7f24f8"} 
[2026-08-11 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-08-11 11:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 11:56:27] 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-08-11 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-08-11 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-08-11 11:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:56:27] 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-08-11 11:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325950464001,"66":27843,"164":206,"88":19456,"24":4,"16":377401748416888832,"45":-6494964693274497024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-08-11 11:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325950464001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:56:27] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-11 11:56:27] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377401748416888832,"km_value":377401748416888.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6494964693274497024,"description":"Unknown IO ID 45"} 
[2026-08-11 11:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325950464001,"power":27843,"unknown_164":206,"unknown_88":19456,"ignition":4,"odometer":null,"unknown_45":-6494964693274497024}} 
[2026-08-11 11:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":152521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:56:27] local.INFO: GPS data processed {"connection_id":152521,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:56:27] local.INFO: Acknowledgment sent {"connection_id":152521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:56:58] local.INFO: TCP Data received {"connection_id":152521,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7f4050012da5eb8005f4b8e00013003f29..."} 
[2026-08-11 11:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7f4050012da5eb8005f4b8e00013003f29..."} 
[2026-08-11 11:56:58] local.INFO: Processing buffer {"connection_id":152521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7f4050012da5eb8005f4b8e00013003f29..."} 
[2026-08-11 11:56:58] local.INFO: Packet analysis {"connection_id":152521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef7f"} 
[2026-08-11 11:56:58] local.INFO: Extracted packet for processing {"connection_id":152521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef7f"} 
[2026-08-11 11:56:58] local.INFO: GPS Element Parsed {"raw_longitude":765848448,"raw_latitude":99924192,"longitude_deg":76.5848448,"latitude_deg":9.9924192,"altitude":19,"angle":63,"satellites":41,"speed":6,"hex_longitude":"2da5eb80","hex_latitude":"05f4b8e0","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325955840001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377401808546430976,"note":"Value kept but may cause issues"} 
[2026-08-11 11:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6492009206018371584,"note":"Value kept but may cause issues"} 
[2026-08-11 11:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786429522000,"timestamp_ms":1786429522000,"timestamp_seconds":1786429522,"priority":1,"record_length":96,"hex_timestamp":"0000019fef7f4050"} 
[2026-08-11 11:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 11:56:58] 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-08-11 11: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-08-11 11:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:56:58] 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-08-11 11:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325955840001,"66":27908,"164":206,"88":19456,"24":6,"16":377401808546430976,"45":-6492009206018371584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-08-11 11:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325955840001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:56:58] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-11 11:56:58] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377401808546430976,"km_value":377401808546431.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6492009206018371584,"description":"Unknown IO ID 45"} 
[2026-08-11 11:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325955840001,"power":27908,"unknown_164":206,"unknown_88":19456,"ignition":6,"odometer":null,"unknown_45":-6492009206018371584}} 
[2026-08-11 11:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":152521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:56:58] local.INFO: GPS data processed {"connection_id":152521,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:56:58] local.INFO: Acknowledgment sent {"connection_id":152521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:57:27] local.INFO: TCP Data received {"connection_id":152522,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:57:27] local.INFO: Processing buffer {"connection_id":152522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:57:27] local.INFO: IMEI packet received {"connection_id":152522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":152522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:57:30] local.INFO: TCP Data received {"connection_id":152522,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:57:30] local.INFO: Processing buffer {"connection_id":152522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:57:30] local.INFO: IMEI packet received {"connection_id":152522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":152522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:57:40] local.INFO: TCP Data received {"connection_id":152522,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:57:40] local.INFO: Processing buffer {"connection_id":152522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:57:40] local.INFO: IMEI packet received {"connection_id":152522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":152522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:57:42] local.INFO: TCP Data received {"connection_id":152522,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef7f4820012da5ecc005f4b9600013004d2a..."} 
[2026-08-11 11:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef7f4820012da5ecc005f4b9600013004d2a..."} 
[2026-08-11 11:57:42] local.INFO: Processing buffer {"connection_id":152522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef7f4820012da5ecc005f4b9600013004d2a..."} 
[2026-08-11 11:57:42] local.INFO: Packet analysis {"connection_id":152522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef7f"} 
[2026-08-11 11:57:42] local.INFO: Extracted packet for processing {"connection_id":152522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef7f"} 
[2026-08-11 11:57:42] local.INFO: GPS Element Parsed {"raw_longitude":765848768,"raw_latitude":99924320,"longitude_deg":76.5848768,"latitude_deg":9.992432,"altitude":19,"angle":77,"satellites":42,"speed":7,"hex_longitude":"2da5ecc0","hex_latitude":"05f4b960","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325957632001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377401825726300160,"note":"Value kept but may cause issues"} 
[2026-08-11 11:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6490953674855489536,"note":"Value kept but may cause issues"} 
[2026-08-11 11:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786429524000,"timestamp_ms":1786429524000,"timestamp_seconds":1786429524,"priority":1,"record_length":96,"hex_timestamp":"0000019fef7f4820"} 
[2026-08-11 11:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 11:57: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-08-11 11: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-08-11 11:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:57:42] 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-08-11 11:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325957632001,"66":27930,"164":206,"88":19456,"24":7,"16":377401825726300160,"45":-6490953674855489536},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-08-11 11:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325957632001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:57:42] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-11 11:57:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377401825726300160,"km_value":377401825726300.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6490953674855489536,"description":"Unknown IO ID 45"} 
[2026-08-11 11:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325957632001,"power":27930,"unknown_164":206,"unknown_88":19456,"ignition":7,"odometer":null,"unknown_45":-6490953674855489536}} 
[2026-08-11 11:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":152522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:57:42] local.INFO: GPS data processed {"connection_id":152522,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:57:42] local.INFO: Acknowledgment sent {"connection_id":152522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:58:20] local.INFO: TCP Data received {"connection_id":152150,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:58:20] local.INFO: Processing buffer {"connection_id":152150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:58:20] local.INFO: IMEI packet received {"connection_id":152150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":152150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:58:25] local.INFO: TCP Data received {"connection_id":152150,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:58:25] local.INFO: Processing buffer {"connection_id":152150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:58:25] local.INFO: IMEI packet received {"connection_id":152150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":152150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:58:26] local.INFO: TCP Data received {"connection_id":152150,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef80e630012da67c8005f4a040001900942a..."} 
[2026-08-11 11:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef80e630012da67c8005f4a040001900942a..."} 
[2026-08-11 11:58:26] local.INFO: Processing buffer {"connection_id":152150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef80e630012da67c8005f4a040001900942a..."} 
[2026-08-11 11:58:26] local.INFO: Packet analysis {"connection_id":152150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef80"} 
[2026-08-11 11:58:26] local.INFO: Extracted packet for processing {"connection_id":152150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef80"} 
[2026-08-11 11:58:26] local.INFO: GPS Element Parsed {"raw_longitude":765885568,"raw_latitude":99917888,"longitude_deg":76.5885568,"latitude_deg":9.9917888,"altitude":25,"angle":148,"satellites":42,"speed":29,"hex_longitude":"2da67c80","hex_latitude":"05f4a040","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325983744001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377404175073411072,"note":"Value kept but may cause issues"} 
[2026-08-11 11:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451476809372434432,"note":"Value kept but may cause issues"} 
[2026-08-11 11:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786429630000,"timestamp_ms":1786429630000,"timestamp_seconds":1786429630,"priority":1,"record_length":96,"hex_timestamp":"0000019fef80e630"} 
[2026-08-11 11:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 11:58:26] 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-08-11 11: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-08-11 11:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:58:26] 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-08-11 11:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325983744001,"66":27876,"164":206,"88":19456,"24":29,"16":377404175073411072,"45":-6451476809372434432},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-08-11 11:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325983744001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:58:26] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-11 11:58:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377404175073411072,"km_value":377404175073411.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451476809372434432,"description":"Unknown IO ID 45"} 
[2026-08-11 11:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325983744001,"power":27876,"unknown_164":206,"unknown_88":19456,"ignition":29,"odometer":null,"unknown_45":-6451476809372434432}} 
[2026-08-11 11:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":152150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:58:26] local.INFO: GPS data processed {"connection_id":152150,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:58:26] local.INFO: Acknowledgment sent {"connection_id":152150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:58:58] local.INFO: TCP Data received {"connection_id":152150,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef80f1e8012da6818005f49968001900892a..."} 
[2026-08-11 11:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef80f1e8012da6818005f49968001900892a..."} 
[2026-08-11 11:58:58] local.INFO: Processing buffer {"connection_id":152150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef80f1e8012da6818005f49968001900892a..."} 
[2026-08-11 11:58:58] local.INFO: Packet analysis {"connection_id":152150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef80"} 
[2026-08-11 11:58:58] local.INFO: Extracted packet for processing {"connection_id":152150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef80"} 
[2026-08-11 11:58:58] local.INFO: GPS Element Parsed {"raw_longitude":765886848,"raw_latitude":99916136,"longitude_deg":76.5886848,"latitude_deg":9.9916136,"altitude":25,"angle":137,"satellites":42,"speed":28,"hex_longitude":"2da68180","hex_latitude":"05f49968","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325985280001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377404282447593472,"note":"Value kept but may cause issues"} 
[2026-08-11 11:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6450139803234058240,"note":"Value kept but may cause issues"} 
[2026-08-11 11:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786429633000,"timestamp_ms":1786429633000,"timestamp_seconds":1786429633,"priority":1,"record_length":96,"hex_timestamp":"0000019fef80f1e8"} 
[2026-08-11 11:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 11:58:58] 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-08-11 11: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-08-11 11:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:58:58] 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-08-11 11:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325985280001,"66":27930,"164":206,"88":19456,"24":28,"16":377404282447593472,"45":-6450139803234058240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-08-11 11:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325985280001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:58:58] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-11 11:58:58] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377404282447593472,"km_value":377404282447593.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6450139803234058240,"description":"Unknown IO ID 45"} 
[2026-08-11 11:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325985280001,"power":27930,"unknown_164":206,"unknown_88":19456,"ignition":28,"odometer":null,"unknown_45":-6450139803234058240}} 
[2026-08-11 11:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":152150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:58:58] local.INFO: GPS data processed {"connection_id":152150,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:58:58] local.INFO: Acknowledgment sent {"connection_id":152150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:59:19] local.INFO: TCP Data received {"connection_id":152523,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:59:19] local.INFO: Processing buffer {"connection_id":152523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:59:19] local.INFO: IMEI packet received {"connection_id":152523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 11:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":152523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 11:59:21] local.INFO: TCP Data received {"connection_id":152523,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:59:21] local.INFO: Processing buffer {"connection_id":152523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:59:21] local.INFO: IMEI packet received {"connection_id":152523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":152523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:59:22] local.INFO: TCP Data received {"connection_id":152523,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:59:22] local.INFO: Processing buffer {"connection_id":152523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:59:22] local.INFO: IMEI packet received {"connection_id":152523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":152523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:59:23] local.INFO: TCP Data received {"connection_id":152523,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:59:23] local.INFO: Processing buffer {"connection_id":152523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 11:59:23] local.INFO: IMEI packet received {"connection_id":152523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 11:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":152523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 11:59:24] local.INFO: TCP Data received {"connection_id":152523,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef8124b0012da6994005f47df80018008b2a..."} 
[2026-08-11 11:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef8124b0012da6994005f47df80018008b2a..."} 
[2026-08-11 11:59:24] local.INFO: Processing buffer {"connection_id":152523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef8124b0012da6994005f47df80018008b2a..."} 
[2026-08-11 11:59:24] local.INFO: Packet analysis {"connection_id":152523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef81"} 
[2026-08-11 11:59:24] local.INFO: Extracted packet for processing {"connection_id":152523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef81"} 
[2026-08-11 11:59:24] local.INFO: GPS Element Parsed {"raw_longitude":765892928,"raw_latitude":99909112,"longitude_deg":76.5892928,"latitude_deg":9.9909112,"altitude":24,"angle":139,"satellites":42,"speed":30,"hex_longitude":"2da69940","hex_latitude":"05f47df8","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325986048001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377404729124192256,"note":"Value kept but may cause issues"} 
[2026-08-11 11:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6448732428350953472,"note":"Value kept but may cause issues"} 
[2026-08-11 11:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786429646000,"timestamp_ms":1786429646000,"timestamp_seconds":1786429646,"priority":1,"record_length":96,"hex_timestamp":"0000019fef8124b0"} 
[2026-08-11 11:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 11:59:24] 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-08-11 11: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-08-11 11:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:59:24] 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-08-11 11:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325986048001,"66":27919,"183":206,"88":19456,"24":30,"16":377404729124192256,"45":-6448732428350953472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-08-11 11:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325986048001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:59:24] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-11 11:59:24] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377404729124192256,"km_value":377404729124192.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6448732428350953472,"description":"Unknown IO ID 45"} 
[2026-08-11 11:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325986048001,"power":27919,"unknown_183":206,"unknown_88":19456,"ignition":30,"odometer":null,"unknown_45":-6448732428350953472}} 
[2026-08-11 11:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":152523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:59:24] local.INFO: GPS data processed {"connection_id":152523,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:59:24] local.INFO: Acknowledgment sent {"connection_id":152523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:59:25] local.INFO: TCP Data received {"connection_id":152523,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef8147d8012da6ac0005f466a0001600992a..."} 
[2026-08-11 11:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef8147d8012da6ac0005f466a0001600992a..."} 
[2026-08-11 11:59:25] local.INFO: Processing buffer {"connection_id":152523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef8147d8012da6ac0005f466a0001600992a..."} 
[2026-08-11 11:59:25] local.INFO: Packet analysis {"connection_id":152523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef81"} 
[2026-08-11 11:59:25] local.INFO: Extracted packet for processing {"connection_id":152523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef81"} 
[2026-08-11 11:59:25] local.INFO: GPS Element Parsed {"raw_longitude":765897728,"raw_latitude":99903136,"longitude_deg":76.5897728,"latitude_deg":9.9903136,"altitude":22,"angle":153,"satellites":42,"speed":34,"hex_longitude":"2da6ac00","hex_latitude":"05f466a0","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457325989376001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377405098491379712,"note":"Value kept but may cause issues"} 
[2026-08-11 11:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6442047397655873536,"note":"Value kept but may cause issues"} 
[2026-08-11 11:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786429655000,"timestamp_ms":1786429655000,"timestamp_seconds":1786429655,"priority":1,"record_length":96,"hex_timestamp":"0000019fef8147d8"} 
[2026-08-11 11:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 11:59:25] 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-08-11 11: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-08-11 11:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:59:25] 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-08-11 11:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457325989376001,"66":27843,"183":206,"88":19456,"24":34,"16":377405098491379712,"45":-6442047397655873536},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-08-11 11:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457325989376001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:59:25] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-11 11:59:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377405098491379712,"km_value":377405098491379.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6442047397655873536,"description":"Unknown IO ID 45"} 
[2026-08-11 11:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457325989376001,"power":27843,"unknown_183":206,"unknown_88":19456,"ignition":34,"odometer":null,"unknown_45":-6442047397655873536}} 
[2026-08-11 11:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":152523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:59:25] local.INFO: GPS data processed {"connection_id":152523,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:59:25] local.INFO: Acknowledgment sent {"connection_id":152523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 11:59:56] local.INFO: TCP Data received {"connection_id":152523,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef82b320012da6598005f39f48001300d728..."} 
[2026-08-11 11:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef82b320012da6598005f39f48001300d728..."} 
[2026-08-11 11:59:56] local.INFO: Processing buffer {"connection_id":152523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef82b320012da6598005f39f48001300d728..."} 
[2026-08-11 11:59:56] local.INFO: Packet analysis {"connection_id":152523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef82"} 
[2026-08-11 11:59:56] local.INFO: Extracted packet for processing {"connection_id":152523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef82"} 
[2026-08-11 11:59:56] local.INFO: GPS Element Parsed {"raw_longitude":765876608,"raw_latitude":99852104,"longitude_deg":76.5876608,"latitude_deg":9.9852104,"altitude":19,"angle":215,"satellites":40,"speed":15,"hex_longitude":"2da65980","hex_latitude":"05f39f48","is_valid_coordinates":true} 
[2026-08-11 11: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-08-11 11:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326015232001,"note":"Value kept but may cause issues"} 
[2026-08-11 11:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377408109263454208,"note":"Value kept but may cause issues"} 
[2026-08-11 11:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6459639583714816000,"note":"Value kept but may cause issues"} 
[2026-08-11 11:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 11:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786429748000,"timestamp_ms":1786429748000,"timestamp_seconds":1786429748,"priority":1,"record_length":96,"hex_timestamp":"0000019fef82b320"} 
[2026-08-11 11:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 11:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 11:59:56] 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-08-11 11: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-08-11 11:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 11:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 11:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 11:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 11:59:56] 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-08-11 11:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 11:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 11:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326015232001,"66":27821,"184":206,"88":19456,"24":15,"16":377408109263454208,"45":-6459639583714816000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,88,24,16,45]} 
[2026-08-11 11:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 11:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 11:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326015232001,"description":"Unknown IO ID 0"} 
[2026-08-11 11:59:56] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-11 11:59:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 11:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377408109263454208,"km_value":377408109263454.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 11:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6459639583714816000,"description":"Unknown IO ID 45"} 
[2026-08-11 11:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326015232001,"power":27821,"unknown_184":206,"unknown_88":19456,"ignition":15,"odometer":null,"unknown_45":-6459639583714816000}} 
[2026-08-11 11:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":152523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 11:59:57] local.INFO: GPS data processed {"connection_id":152523,"processed":1,"errors":0,"total":1} 
[2026-08-11 11:59:57] local.INFO: Acknowledgment sent {"connection_id":152523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:00:19] local.INFO: TCP Data received {"connection_id":154859,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:00:19] local.INFO: Processing buffer {"connection_id":154859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:00:19] local.INFO: IMEI packet received {"connection_id":154859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":154859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:00:27] local.INFO: TCP Data received {"connection_id":154859,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:00:27] local.INFO: Processing buffer {"connection_id":154859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:00:27] local.INFO: IMEI packet received {"connection_id":154859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":154859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:00:28] local.INFO: TCP Data received {"connection_id":154859,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef82baf0012da658c005f39cb0001300b728..."} 
[2026-08-11 12:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef82baf0012da658c005f39cb0001300b728..."} 
[2026-08-11 12:00:28] local.INFO: Processing buffer {"connection_id":154859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef82baf0012da658c005f39cb0001300b728..."} 
[2026-08-11 12:00:28] local.INFO: Packet analysis {"connection_id":154859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef82"} 
[2026-08-11 12:00:28] local.INFO: Extracted packet for processing {"connection_id":154859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef82"} 
[2026-08-11 12:00:28] local.INFO: GPS Element Parsed {"raw_longitude":765876416,"raw_latitude":99851440,"longitude_deg":76.5876416,"latitude_deg":9.985144,"altitude":19,"angle":183,"satellites":40,"speed":13,"hex_longitude":"2da658c0","hex_latitude":"05f39cb0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326015488001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377408143623192576,"note":"Value kept but may cause issues"} 
[2026-08-11 12:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6459991427435771904,"note":"Value kept but may cause issues"} 
[2026-08-11 12:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786429750000,"timestamp_ms":1786429750000,"timestamp_seconds":1786429750,"priority":1,"record_length":96,"hex_timestamp":"0000019fef82baf0"} 
[2026-08-11 12:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 12:00:28] 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-08-11 12: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-08-11 12:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":154859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":154859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":154859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:00:28] 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-08-11 12:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326015488001,"66":27821,"184":206,"88":19456,"24":13,"16":377408143623192576,"45":-6459991427435771904},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,88,24,16,45]} 
[2026-08-11 12:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326015488001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:00:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-11 12:00:28] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 12:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377408143623192576,"km_value":377408143623192.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6459991427435771904,"description":"Unknown IO ID 45"} 
[2026-08-11 12:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326015488001,"power":27821,"unknown_184":206,"unknown_88":19456,"ignition":13,"odometer":null,"unknown_45":-6459991427435771904}} 
[2026-08-11 12:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":154859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:00:28] local.INFO: GPS data processed {"connection_id":154859,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:00:28] local.INFO: Acknowledgment sent {"connection_id":154859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:00:59] local.INFO: TCP Data received {"connection_id":154859,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef82bed8012da658c005f39b70001300a92a..."} 
[2026-08-11 12:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef82bed8012da658c005f39b70001300a92a..."} 
[2026-08-11 12:00:59] local.INFO: Processing buffer {"connection_id":154859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef82bed8012da658c005f39b70001300a92a..."} 
[2026-08-11 12:00:59] local.INFO: Packet analysis {"connection_id":154859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef82"} 
[2026-08-11 12:00:59] local.INFO: Extracted packet for processing {"connection_id":154859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef82"} 
[2026-08-11 12:00:59] local.INFO: GPS Element Parsed {"raw_longitude":765876416,"raw_latitude":99851120,"longitude_deg":76.5876416,"latitude_deg":9.985112,"altitude":19,"angle":169,"satellites":42,"speed":11,"hex_longitude":"2da658c0","hex_latitude":"05f39b70","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326016000001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377408156508094464,"note":"Value kept but may cause issues"} 
[2026-08-11 12:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6460202533668474880,"note":"Value kept but may cause issues"} 
[2026-08-11 12:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786429751000,"timestamp_ms":1786429751000,"timestamp_seconds":1786429751,"priority":1,"record_length":96,"hex_timestamp":"0000019fef82bed8"} 
[2026-08-11 12:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 12:00:59] 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-08-11 12: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-08-11 12:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:00:59] 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-08-11 12:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326016000001,"66":27919,"184":206,"88":19456,"24":11,"16":377408156508094464,"45":-6460202533668474880},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,88,24,16,45]} 
[2026-08-11 12:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326016000001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:00:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-11 12:00:59] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 12:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377408156508094464,"km_value":377408156508094.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6460202533668474880,"description":"Unknown IO ID 45"} 
[2026-08-11 12:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326016000001,"power":27919,"unknown_184":206,"unknown_88":19456,"ignition":11,"odometer":null,"unknown_45":-6460202533668474880}} 
[2026-08-11 12:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":154859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:00:59] local.INFO: GPS data processed {"connection_id":154859,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:00:59] local.INFO: Acknowledgment sent {"connection_id":154859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:01:19] local.INFO: TCP Data received {"connection_id":154860,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:01:19] local.INFO: Processing buffer {"connection_id":154860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:01:19] local.INFO: IMEI packet received {"connection_id":154860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":154860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:01:25] local.INFO: TCP Data received {"connection_id":154860,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:01:25] local.INFO: Processing buffer {"connection_id":154860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:01:25] local.INFO: IMEI packet received {"connection_id":154860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":154860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:01:26] local.INFO: TCP Data received {"connection_id":154860,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef840ae0012da6cd8005f30a780013008729..."} 
[2026-08-11 12:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef840ae0012da6cd8005f30a780013008729..."} 
[2026-08-11 12:01:26] local.INFO: Processing buffer {"connection_id":154860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef840ae0012da6cd8005f30a780013008729..."} 
[2026-08-11 12:01:26] local.INFO: Packet analysis {"connection_id":154860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef84"} 
[2026-08-11 12:01:26] local.INFO: Extracted packet for processing {"connection_id":154860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef84"} 
[2026-08-11 12:01:26] local.INFO: GPS Element Parsed {"raw_longitude":765906304,"raw_latitude":99814008,"longitude_deg":76.5906304,"latitude_deg":9.9814008,"altitude":19,"angle":135,"satellites":41,"speed":30,"hex_longitude":"2da6cd80","hex_latitude":"05f30a78","is_valid_coordinates":true} 
[2026-08-11 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-08-11 12:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326037248001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377410617524355072,"note":"Value kept but may cause issues"} 
[2026-08-11 12:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6428747705030174720,"note":"Value kept but may cause issues"} 
[2026-08-11 12:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786429836000,"timestamp_ms":1786429836000,"timestamp_seconds":1786429836,"priority":1,"record_length":96,"hex_timestamp":"0000019fef840ae0"} 
[2026-08-11 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-08-11 12:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 12:01:26] 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-08-11 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-08-11 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-08-11 12:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:01:26] 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-08-11 12:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326037248001,"66":27908,"183":206,"88":19456,"24":30,"16":377410617524355072,"45":-6428747705030174720},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-08-11 12:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326037248001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:01:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-11 12:01:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 12:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377410617524355072,"km_value":377410617524355.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6428747705030174720,"description":"Unknown IO ID 45"} 
[2026-08-11 12:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326037248001,"power":27908,"unknown_183":206,"unknown_88":19456,"ignition":30,"odometer":null,"unknown_45":-6428747705030174720}} 
[2026-08-11 12:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":154860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:01:26] local.INFO: GPS data processed {"connection_id":154860,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:01:26] local.INFO: Acknowledgment sent {"connection_id":154860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:02:01] local.INFO: TCP Data received {"connection_id":154860,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef8412b0012da6d28005f307180013007428..."} 
[2026-08-11 12:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef8412b0012da6d28005f307180013007428..."} 
[2026-08-11 12:02:01] local.INFO: Processing buffer {"connection_id":154860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef8412b0012da6d28005f307180013007428..."} 
[2026-08-11 12:02:01] local.INFO: Packet analysis {"connection_id":154860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef84"} 
[2026-08-11 12:02:01] local.INFO: Extracted packet for processing {"connection_id":154860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef84"} 
[2026-08-11 12:02:01] local.INFO: GPS Element Parsed {"raw_longitude":765907584,"raw_latitude":99813144,"longitude_deg":76.5907584,"latitude_deg":9.9813144,"altitude":19,"angle":116,"satellites":40,"speed":32,"hex_longitude":"2da6d280","hex_latitude":"05f30718","is_valid_coordinates":true} 
[2026-08-11 12:02: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-08-11 12:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326038016001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377410694833766400,"note":"Value kept but may cause issues"} 
[2026-08-11 12:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6427340330147088384,"note":"Value kept but may cause issues"} 
[2026-08-11 12:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786429838000,"timestamp_ms":1786429838000,"timestamp_seconds":1786429838,"priority":1,"record_length":96,"hex_timestamp":"0000019fef8412b0"} 
[2026-08-11 12:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:02: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":4,"data_length":795,"current_offset":136} 
[2026-08-11 12:02:01] 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-08-11 12:02: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-08-11 12:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:02:01] 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-08-11 12:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326038016001,"66":27767,"183":206,"88":19456,"24":32,"16":377410694833766400,"45":-6427340330147088384},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-08-11 12:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326038016001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:02:01] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-11 12:02:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 12:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377410694833766400,"km_value":377410694833766.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6427340330147088384,"description":"Unknown IO ID 45"} 
[2026-08-11 12:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326038016001,"power":27767,"unknown_183":206,"unknown_88":19456,"ignition":32,"odometer":null,"unknown_45":-6427340330147088384}} 
[2026-08-11 12:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":154860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:02:01] local.INFO: GPS data processed {"connection_id":154860,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:02:01] local.INFO: Acknowledgment sent {"connection_id":154860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:02:34] local.INFO: TCP Data received {"connection_id":154861,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:02:34] local.INFO: Processing buffer {"connection_id":154861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:02:34] local.INFO: IMEI packet received {"connection_id":154861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":154861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:02:39] local.INFO: TCP Data received {"connection_id":154861,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:02:39] local.INFO: Processing buffer {"connection_id":154861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:02:39] local.INFO: IMEI packet received {"connection_id":154861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":154861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:02:40] local.INFO: TCP Data received {"connection_id":154861,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef8435d8012da6ee4005f2fb900011006828..."} 
[2026-08-11 12:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef8435d8012da6ee4005f2fb900011006828..."} 
[2026-08-11 12:02:40] local.INFO: Processing buffer {"connection_id":154861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef8435d8012da6ee4005f2fb900011006828..."} 
[2026-08-11 12:02:40] local.INFO: Packet analysis {"connection_id":154861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef84"} 
[2026-08-11 12:02:40] local.INFO: Extracted packet for processing {"connection_id":154861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef84"} 
[2026-08-11 12:02:40] local.INFO: GPS Element Parsed {"raw_longitude":765914688,"raw_latitude":99810192,"longitude_deg":76.5914688,"latitude_deg":9.9810192,"altitude":17,"angle":104,"satellites":40,"speed":32,"hex_longitude":"2da6ee40","hex_latitude":"05f2fb90","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326038528001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377411064200953856,"note":"Value kept but may cause issues"} 
[2026-08-11 12:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6425932955263756288,"note":"Value kept but may cause issues"} 
[2026-08-11 12:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786429847000,"timestamp_ms":1786429847000,"timestamp_seconds":1786429847,"priority":1,"record_length":96,"hex_timestamp":"0000019fef8435d8"} 
[2026-08-11 12:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:02: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-08-11 12: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-08-11 12:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:02:40] 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-08-11 12:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326038528001,"66":27876,"183":206,"88":19456,"24":32,"16":377411064200953856,"45":-6425932955263756288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-08-11 12:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326038528001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:02:40] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-11 12:02:40] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 12:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377411064200953856,"km_value":377411064200953.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6425932955263756288,"description":"Unknown IO ID 45"} 
[2026-08-11 12:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326038528001,"power":27876,"unknown_183":206,"unknown_88":19456,"ignition":32,"odometer":null,"unknown_45":-6425932955263756288}} 
[2026-08-11 12:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":154861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:02:40] local.INFO: GPS data processed {"connection_id":154861,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:02:40] local.INFO: Acknowledgment sent {"connection_id":154861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:03:19] local.INFO: TCP Data received {"connection_id":152524,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:03:19] local.INFO: Processing buffer {"connection_id":152524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:03:19] local.INFO: IMEI packet received {"connection_id":152524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":152524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:03:20] local.INFO: TCP Data received {"connection_id":152524,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:03:20] local.INFO: Processing buffer {"connection_id":152524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:03:20] local.INFO: IMEI packet received {"connection_id":152524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":152524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:03:25] local.INFO: TCP Data received {"connection_id":152524,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:03:25] local.INFO: Processing buffer {"connection_id":152524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:03:25] local.INFO: IMEI packet received {"connection_id":152524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":152524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:03:26] local.INFO: TCP Data received {"connection_id":152524,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef85c060012da8468005f27ae80016007126..."} 
[2026-08-11 12:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef85c060012da8468005f27ae80016007126..."} 
[2026-08-11 12:03:26] local.INFO: Processing buffer {"connection_id":152524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef85c060012da8468005f27ae80016007126..."} 
[2026-08-11 12:03:26] local.INFO: Packet analysis {"connection_id":152524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef85"} 
[2026-08-11 12:03:26] local.INFO: Extracted packet for processing {"connection_id":152524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef85"} 
[2026-08-11 12:03:26] local.INFO: GPS Element Parsed {"raw_longitude":766002816,"raw_latitude":99777256,"longitude_deg":76.6002816,"latitude_deg":9.9777256,"altitude":22,"angle":113,"satellites":38,"speed":41,"hex_longitude":"2da84680","hex_latitude":"05f27ae8","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326064384001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377415629751189504,"note":"Value kept but may cause issues"} 
[2026-08-11 12:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6331638838074251264,"note":"Value kept but may cause issues"} 
[2026-08-11 12:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786429948000,"timestamp_ms":1786429948000,"timestamp_seconds":1786429948,"priority":1,"record_length":96,"hex_timestamp":"0000019fef85c060"} 
[2026-08-11 12:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 12:03:26] 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-08-11 12: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-08-11 12:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:03:26] 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-08-11 12:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326064384001,"66":27843,"67":206,"88":19456,"24":41,"16":377415629751189504,"45":-6331638838074251264},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,88,24,16,45]} 
[2026-08-11 12:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326064384001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:03:26] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-11 12:03:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 12:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377415629751189504,"km_value":377415629751189.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6331638838074251264,"description":"Unknown IO ID 45"} 
[2026-08-11 12:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326064384001,"power":27843,"unknown_67":206,"unknown_88":19456,"ignition":41,"odometer":null,"unknown_45":-6331638838074251264}} 
[2026-08-11 12:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":152524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:03:26] local.INFO: GPS data processed {"connection_id":152524,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:03:26] local.INFO: Acknowledgment sent {"connection_id":152524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:03:57] local.INFO: TCP Data received {"connection_id":152524,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef85cc18012da8504005f275a80016007e26..."} 
[2026-08-11 12:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef85cc18012da8504005f275a80016007e26..."} 
[2026-08-11 12:03:57] local.INFO: Processing buffer {"connection_id":152524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef85cc18012da8504005f275a80016007e26..."} 
[2026-08-11 12:03:57] local.INFO: Packet analysis {"connection_id":152524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef85"} 
[2026-08-11 12:03:57] local.INFO: Extracted packet for processing {"connection_id":152524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef85"} 
[2026-08-11 12:03:57] local.INFO: GPS Element Parsed {"raw_longitude":766005312,"raw_latitude":99775912,"longitude_deg":76.6005312,"latitude_deg":9.9775912,"altitude":22,"angle":126,"satellites":38,"speed":35,"hex_longitude":"2da85040","hex_latitude":"05f275a8","is_valid_coordinates":true} 
[2026-08-11 12:03: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-08-11 12:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326066688001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377415767190142976,"note":"Value kept but may cause issues"} 
[2026-08-11 12:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6321224263936579584,"note":"Value kept but may cause issues"} 
[2026-08-11 12:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786429951000,"timestamp_ms":1786429951000,"timestamp_seconds":1786429951,"priority":1,"record_length":96,"hex_timestamp":"0000019fef85cc18"} 
[2026-08-11 12:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:03: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":195,"data_length":795,"current_offset":136} 
[2026-08-11 12:03:57] 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-08-11 12:03: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-08-11 12:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:03:57] 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-08-11 12:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326066688001,"66":27908,"67":206,"88":19456,"24":35,"16":377415767190142976,"45":-6321224263936579584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,88,24,16,45]} 
[2026-08-11 12:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326066688001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:03:57] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-11 12:03:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-08-11 12:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377415767190142976,"km_value":377415767190143.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6321224263936579584,"description":"Unknown IO ID 45"} 
[2026-08-11 12:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326066688001,"power":27908,"unknown_67":206,"unknown_88":19456,"ignition":35,"odometer":null,"unknown_45":-6321224263936579584}} 
[2026-08-11 12:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":152524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:03:57] local.INFO: GPS data processed {"connection_id":152524,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:03:57] local.INFO: Acknowledgment sent {"connection_id":152524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:04:19] local.INFO: TCP Data received {"connection_id":152151,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:04:19] local.INFO: Processing buffer {"connection_id":152151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:04:19] local.INFO: IMEI packet received {"connection_id":152151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":152151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:04:21] local.INFO: TCP Data received {"connection_id":152151,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:04:21] local.INFO: Processing buffer {"connection_id":152151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:04:21] local.INFO: IMEI packet received {"connection_id":152151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":152151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:04:21] local.INFO: TCP Data received {"connection_id":152151,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:04:21] local.INFO: Processing buffer {"connection_id":152151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:04:21] local.INFO: IMEI packet received {"connection_id":152151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":152151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:04:22] local.INFO: TCP Data received {"connection_id":152151,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:04:22] local.INFO: Processing buffer {"connection_id":152151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:04:22] local.INFO: IMEI packet received {"connection_id":152151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":152151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:09:24] local.INFO: TCP Data received {"connection_id":153485,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:09:24] local.INFO: Processing buffer {"connection_id":153485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:09:24] local.INFO: IMEI packet received {"connection_id":153485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":153485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:09:36] local.INFO: TCP Data received {"connection_id":153485,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef8a6bb0012daba14005ef8e480016007d29..."} 
[2026-08-11 12:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef8a6bb0012daba14005ef8e480016007d29..."} 
[2026-08-11 12:09:36] local.INFO: Processing buffer {"connection_id":153485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef8a6bb0012daba14005ef8e480016007d29..."} 
[2026-08-11 12:09:36] local.INFO: Packet analysis {"connection_id":153485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef8a"} 
[2026-08-11 12:09:36] local.INFO: Extracted packet for processing {"connection_id":153485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef8a"} 
[2026-08-11 12:09:36] local.INFO: GPS Element Parsed {"raw_longitude":766222656,"raw_latitude":99585608,"longitude_deg":76.6222656,"latitude_deg":9.9585608,"altitude":22,"angle":125,"satellites":41,"speed":37,"hex_longitude":"2daba140","hex_latitude":"05ef8e48","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326143744001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377430335719211008,"note":"Value kept but may cause issues"} 
[2026-08-11 12:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6083940858617989120,"note":"Value kept but may cause issues"} 
[2026-08-11 12:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786430254000,"timestamp_ms":1786430254000,"timestamp_seconds":1786430254,"priority":1,"record_length":96,"hex_timestamp":"0000019fef8a6bb0"} 
[2026-08-11 12:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 12:09: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-08-11 12: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-08-11 12:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:09:36] 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-08-11 12:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326143744001,"66":27865,"203":206,"88":20736,"24":37,"16":377430335719211008,"45":-6083940858617989120},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,88,24,16,45]} 
[2026-08-11 12:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326143744001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:09:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377430335719211008,"km_value":377430335719211.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6083940858617989120,"description":"Unknown IO ID 45"} 
[2026-08-11 12:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326143744001,"power":27865,"mnc":206,"unknown_88":20736,"ignition":37,"odometer":null,"unknown_45":-6083940858617989120}} 
[2026-08-11 12:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":153485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:09:36] local.INFO: GPS data processed {"connection_id":153485,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:09:36] local.INFO: Acknowledgment sent {"connection_id":153485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:10:19] local.INFO: TCP Data received {"connection_id":152526,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:10:19] local.INFO: Processing buffer {"connection_id":152526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:10:19] local.INFO: IMEI packet received {"connection_id":152526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":152526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:10:20] local.INFO: TCP Data received {"connection_id":152526,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:10:20] local.INFO: Processing buffer {"connection_id":152526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:10:20] local.INFO: IMEI packet received {"connection_id":152526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":152526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:10:24] local.INFO: TCP Data received {"connection_id":152526,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:10:24] local.INFO: Processing buffer {"connection_id":152526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:10:24] local.INFO: IMEI packet received {"connection_id":152526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":152526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:10:25] local.INFO: TCP Data received {"connection_id":152526,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef8c01f0012dac9c0005ee7be8001d008f29..."} 
[2026-08-11 12:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef8c01f0012dac9c0005ee7be8001d008f29..."} 
[2026-08-11 12:10:25] local.INFO: Processing buffer {"connection_id":152526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef8c01f0012dac9c0005ee7be8001d008f29..."} 
[2026-08-11 12:10:25] local.INFO: Packet analysis {"connection_id":152526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef8c"} 
[2026-08-11 12:10:25] local.INFO: Extracted packet for processing {"connection_id":152526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef8c"} 
[2026-08-11 12:10:25] local.INFO: GPS Element Parsed {"raw_longitude":766286848,"raw_latitude":99515368,"longitude_deg":76.6286848,"latitude_deg":9.9515368,"altitude":29,"angle":143,"satellites":41,"speed":39,"hex_longitude":"2dac9c00","hex_latitude":"05ee7be8","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326169088001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377435141787615232,"note":"Value kept but may cause issues"} 
[2026-08-11 12:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6015049858084544512,"note":"Value kept but may cause issues"} 
[2026-08-11 12:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786430358000,"timestamp_ms":1786430358000,"timestamp_seconds":1786430358,"priority":1,"record_length":96,"hex_timestamp":"0000019fef8c01f0"} 
[2026-08-11 12:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 12:10:25] 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-08-11 12: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-08-11 12:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:10:25] 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-08-11 12:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326169088001,"66":27865,"202":206,"88":20736,"24":39,"16":377435141787615232,"45":-6015049858084544512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,88,24,16,45]} 
[2026-08-11 12:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326169088001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:10:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377435141787615232,"km_value":377435141787615.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6015049858084544512,"description":"Unknown IO ID 45"} 
[2026-08-11 12:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326169088001,"power":27865,"mcc":206,"unknown_88":20736,"ignition":39,"odometer":null,"unknown_45":-6015049858084544512}} 
[2026-08-11 12:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":152526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:10:25] local.INFO: GPS data processed {"connection_id":152526,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:10:25] local.INFO: Acknowledgment sent {"connection_id":152526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:10:56] local.INFO: TCP Data received {"connection_id":152526,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef8c1190012daca44005ee6e10001e009c29..."} 
[2026-08-11 12:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef8c1190012daca44005ee6e10001e009c29..."} 
[2026-08-11 12:10:56] local.INFO: Processing buffer {"connection_id":152526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef8c1190012daca44005ee6e10001e009c29..."} 
[2026-08-11 12:10:56] local.INFO: Packet analysis {"connection_id":152526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef8c"} 
[2026-08-11 12:10:56] local.INFO: Extracted packet for processing {"connection_id":152526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef8c"} 
[2026-08-11 12:10:56] local.INFO: GPS Element Parsed {"raw_longitude":766288960,"raw_latitude":99511824,"longitude_deg":76.628896,"latitude_deg":9.9511824,"altitude":30,"angle":156,"satellites":41,"speed":40,"hex_longitude":"2daca440","hex_latitude":"05ee6e10","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326171648001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377435343651078144,"note":"Value kept but may cause issues"} 
[2026-08-11 12:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6008927777343150080,"note":"Value kept but may cause issues"} 
[2026-08-11 12:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786430362000,"timestamp_ms":1786430362000,"timestamp_seconds":1786430362,"priority":1,"record_length":96,"hex_timestamp":"0000019fef8c1190"} 
[2026-08-11 12:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 12:10:56] 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-08-11 12: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-08-11 12:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:10:56] 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-08-11 12:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326171648001,"66":27800,"202":206,"88":20736,"24":40,"16":377435343651078144,"45":-6008927777343150080},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,88,24,16,45]} 
[2026-08-11 12:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326171648001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:10:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377435343651078144,"km_value":377435343651078.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6008927777343150080,"description":"Unknown IO ID 45"} 
[2026-08-11 12:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326171648001,"power":27800,"mcc":206,"unknown_88":20736,"ignition":40,"odometer":null,"unknown_45":-6008927777343150080}} 
[2026-08-11 12:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":152526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:10:56] local.INFO: GPS data processed {"connection_id":152526,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:10:56] local.INFO: Acknowledgment sent {"connection_id":152526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:11:19] local.INFO: TCP Data received {"connection_id":152153,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:11:19] local.INFO: Processing buffer {"connection_id":152153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:11:19] local.INFO: IMEI packet received {"connection_id":152153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":152153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:11:20] local.INFO: TCP Data received {"connection_id":152153,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:11:20] local.INFO: Processing buffer {"connection_id":152153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:11:20] local.INFO: IMEI packet received {"connection_id":152153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":152153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:11:24] local.INFO: TCP Data received {"connection_id":152153,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:11:24] local.INFO: Processing buffer {"connection_id":152153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:11:24] local.INFO: IMEI packet received {"connection_id":152153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":152153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:11:25] local.INFO: TCP Data received {"connection_id":152153,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef8d3a70012dad89c005edb5a0001f007d22..."} 
[2026-08-11 12:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef8d3a70012dad89c005edb5a0001f007d22..."} 
[2026-08-11 12:11:25] local.INFO: Processing buffer {"connection_id":152153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef8d3a70012dad89c005edb5a0001f007d22..."} 
[2026-08-11 12:11:25] local.INFO: Packet analysis {"connection_id":152153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef8d"} 
[2026-08-11 12:11:25] local.INFO: Extracted packet for processing {"connection_id":152153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef8d"} 
[2026-08-11 12:11:25] local.INFO: GPS Element Parsed {"raw_longitude":766347712,"raw_latitude":99464608,"longitude_deg":76.6347712,"latitude_deg":9.9464608,"altitude":31,"angle":125,"satellites":34,"speed":49,"hex_longitude":"2dad89c0","hex_latitude":"05edb5a0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326190080001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377439260661252096,"note":"Value kept but may cause issues"} 
[2026-08-11 12:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5950521719687270400,"note":"Value kept but may cause issues"} 
[2026-08-11 12:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786430438000,"timestamp_ms":1786430438000,"timestamp_seconds":1786430438,"priority":1,"record_length":96,"hex_timestamp":"0000019fef8d3a70"} 
[2026-08-11 12:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-11 12:11:25] 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-08-11 12: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-08-11 12:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:11:25] 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-08-11 12:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326190080001,"66":27821,"229":206,"88":20736,"24":49,"16":377439260661252096,"45":-5950521719687270400},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,88,24,16,45]} 
[2026-08-11 12:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326190080001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:11:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 12:11:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377439260661252096,"km_value":377439260661252.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5950521719687270400,"description":"Unknown IO ID 45"} 
[2026-08-11 12:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326190080001,"power":27821,"unknown_229":206,"unknown_88":20736,"ignition":49,"odometer":null,"unknown_45":-5950521719687270400}} 
[2026-08-11 12:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":152153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:11:25] local.INFO: GPS data processed {"connection_id":152153,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:11:25] local.INFO: Acknowledgment sent {"connection_id":152153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:11:56] local.INFO: TCP Data received {"connection_id":152153,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef8d4df8012dad9f0005eda948001e007223..."} 
[2026-08-11 12:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef8d4df8012dad9f0005eda948001e007223..."} 
[2026-08-11 12:11:56] local.INFO: Processing buffer {"connection_id":152153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef8d4df8012dad9f0005eda948001e007223..."} 
[2026-08-11 12:11:56] local.INFO: Packet analysis {"connection_id":152153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef8d"} 
[2026-08-11 12:11:56] local.INFO: Extracted packet for processing {"connection_id":152153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef8d"} 
[2026-08-11 12:11:56] local.INFO: GPS Element Parsed {"raw_longitude":766353152,"raw_latitude":99461448,"longitude_deg":76.6353152,"latitude_deg":9.9461448,"altitude":30,"angle":114,"satellites":35,"speed":49,"hex_longitude":"2dad9f00","hex_latitude":"05eda948","is_valid_coordinates":true} 
[2026-08-11 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-08-11 12:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326192128001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377439561308962816,"note":"Value kept but may cause issues"} 
[2026-08-11 12:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5942007101643186176,"note":"Value kept but may cause issues"} 
[2026-08-11 12:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786430443000,"timestamp_ms":1786430443000,"timestamp_seconds":1786430443,"priority":1,"record_length":96,"hex_timestamp":"0000019fef8d4df8"} 
[2026-08-11 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-08-11 12:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 12:11:56] 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-08-11 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-08-11 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-08-11 12:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:11:56] 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-08-11 12:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326192128001,"66":27626,"229":206,"88":20736,"24":49,"16":377439561308962816,"45":-5942007101643186176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,88,24,16,45]} 
[2026-08-11 12:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326192128001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:11:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 12:11:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377439561308962816,"km_value":377439561308962.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5942007101643186176,"description":"Unknown IO ID 45"} 
[2026-08-11 12:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326192128001,"power":27626,"unknown_229":206,"unknown_88":20736,"ignition":49,"odometer":null,"unknown_45":-5942007101643186176}} 
[2026-08-11 12:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":152153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:11:56] local.INFO: GPS data processed {"connection_id":152153,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:11:56] local.INFO: Acknowledgment sent {"connection_id":152153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:12:24] local.INFO: TCP Data received {"connection_id":154863,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:12:24] local.INFO: Processing buffer {"connection_id":154863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:12:24] local.INFO: IMEI packet received {"connection_id":154863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":154863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:12:30] local.INFO: TCP Data received {"connection_id":154863,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:12:30] local.INFO: Processing buffer {"connection_id":154863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:12:30] local.INFO: IMEI packet received {"connection_id":154863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":154863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:12:31] local.INFO: TCP Data received {"connection_id":154863,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef8d5d98012dadb18005eda348001e006723..."} 
[2026-08-11 12:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef8d5d98012dadb18005eda348001e006723..."} 
[2026-08-11 12:12:31] local.INFO: Processing buffer {"connection_id":154863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef8d5d98012dadb18005eda348001e006723..."} 
[2026-08-11 12:12:31] local.INFO: Packet analysis {"connection_id":154863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef8d"} 
[2026-08-11 12:12:31] local.INFO: Extracted packet for processing {"connection_id":154863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef8d"} 
[2026-08-11 12:12:31] local.INFO: GPS Element Parsed {"raw_longitude":766357888,"raw_latitude":99459912,"longitude_deg":76.6357888,"latitude_deg":9.9459912,"altitude":30,"angle":103,"satellites":35,"speed":50,"hex_longitude":"2dadb180","hex_latitude":"05eda348","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326193408001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377439797532164096,"note":"Value kept but may cause issues"} 
[2026-08-11 12:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5936025758388893696,"note":"Value kept but may cause issues"} 
[2026-08-11 12:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786430447000,"timestamp_ms":1786430447000,"timestamp_seconds":1786430447,"priority":1,"record_length":96,"hex_timestamp":"0000019fef8d5d98"} 
[2026-08-11 12:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-11 12:12:31] 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-08-11 12: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-08-11 12:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:12:31] 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-08-11 12:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326193408001,"66":27908,"229":206,"88":20736,"24":50,"16":377439797532164096,"45":-5936025758388893696},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,88,24,16,45]} 
[2026-08-11 12:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326193408001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:12:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 12:12:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377439797532164096,"km_value":377439797532164.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5936025758388893696,"description":"Unknown IO ID 45"} 
[2026-08-11 12:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326193408001,"power":27908,"unknown_229":206,"unknown_88":20736,"ignition":50,"odometer":null,"unknown_45":-5936025758388893696}} 
[2026-08-11 12:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":154863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:12:31] local.INFO: GPS data processed {"connection_id":154863,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:12:31] local.INFO: Acknowledgment sent {"connection_id":154863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:13:02] local.INFO: TCP Data received {"connection_id":154863,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef8d7cd8012dadd40005ed97c00021006e24..."} 
[2026-08-11 12:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef8d7cd8012dadd40005ed97c00021006e24..."} 
[2026-08-11 12:13:02] local.INFO: Processing buffer {"connection_id":154863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef8d7cd8012dadd40005ed97c00021006e24..."} 
[2026-08-11 12:13:02] local.INFO: Packet analysis {"connection_id":154863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef8d"} 
[2026-08-11 12:13:02] local.INFO: Extracted packet for processing {"connection_id":154863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef8d"} 
[2026-08-11 12:13:02] local.INFO: GPS Element Parsed {"raw_longitude":766366720,"raw_latitude":99456960,"longitude_deg":76.636672,"latitude_deg":9.945696,"altitude":33,"angle":110,"satellites":36,"speed":41,"hex_longitude":"2dadd400","hex_latitude":"05ed97c0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326194432001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377440244208762880,"note":"Value kept but may cause issues"} 
[2026-08-11 12:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5930818471320139776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786430455000,"timestamp_ms":1786430455000,"timestamp_seconds":1786430455,"priority":1,"record_length":96,"hex_timestamp":"0000019fef8d7cd8"} 
[2026-08-11 12:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 12:13:02] 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-08-11 12: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-08-11 12:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":154863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":154863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":154863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:13:02] 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-08-11 12:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326194432001,"66":27995,"229":206,"88":20736,"24":41,"16":377440244208762880,"45":-5930818471320139776},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,88,24,16,45]} 
[2026-08-11 12:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326194432001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:13:02] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 12:13:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377440244208762880,"km_value":377440244208762.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5930818471320139776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326194432001,"power":27995,"unknown_229":206,"unknown_88":20736,"ignition":41,"odometer":null,"unknown_45":-5930818471320139776}} 
[2026-08-11 12:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":154863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:13:02] local.INFO: GPS data processed {"connection_id":154863,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:13:02] local.INFO: Acknowledgment sent {"connection_id":154863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:13:20] local.INFO: TCP Data received {"connection_id":152527,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:13:20] local.INFO: Processing buffer {"connection_id":152527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:13:20] local.INFO: IMEI packet received {"connection_id":152527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":152527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:13:24] local.INFO: TCP Data received {"connection_id":152527,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:13:24] local.INFO: Processing buffer {"connection_id":152527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:13:24] local.INFO: IMEI packet received {"connection_id":152527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":152527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:13:25] local.INFO: TCP Data received {"connection_id":152527,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef8da000012dadf48005ed89c00020007024..."} 
[2026-08-11 12:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef8da000012dadf48005ed89c00020007024..."} 
[2026-08-11 12:13:25] local.INFO: Processing buffer {"connection_id":152527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef8da000012dadf48005ed89c00020007024..."} 
[2026-08-11 12:13:25] local.INFO: Packet analysis {"connection_id":152527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef8d"} 
[2026-08-11 12:13:25] local.INFO: Extracted packet for processing {"connection_id":152527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef8d"} 
[2026-08-11 12:13:25] local.INFO: GPS Element Parsed {"raw_longitude":766375040,"raw_latitude":99453376,"longitude_deg":76.637504,"latitude_deg":9.9453376,"altitude":32,"angle":112,"satellites":36,"speed":38,"hex_longitude":"2dadf480","hex_latitude":"05ed89c0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326196480001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377440678000459776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5921107584624377856,"note":"Value kept but may cause issues"} 
[2026-08-11 12:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786430464000,"timestamp_ms":1786430464000,"timestamp_seconds":1786430464,"priority":1,"record_length":96,"hex_timestamp":"0000019fef8da000"} 
[2026-08-11 12:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 12:13:25] 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-08-11 12: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-08-11 12:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:13:25] 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-08-11 12:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326196480001,"66":27974,"229":206,"88":20736,"24":38,"16":377440678000459776,"45":-5921107584624377856},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,88,24,16,45]} 
[2026-08-11 12:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326196480001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:13:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 12:13:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377440678000459776,"km_value":377440678000459.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5921107584624377856,"description":"Unknown IO ID 45"} 
[2026-08-11 12:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326196480001,"power":27974,"unknown_229":206,"unknown_88":20736,"ignition":38,"odometer":null,"unknown_45":-5921107584624377856}} 
[2026-08-11 12:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":152527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:13:25] local.INFO: GPS data processed {"connection_id":152527,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:13:25] local.INFO: Acknowledgment sent {"connection_id":152527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:13:56] local.INFO: TCP Data received {"connection_id":152527,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef8dcee0012dae14c005ed7ba80024007526..."} 
[2026-08-11 12:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef8dcee0012dae14c005ed7ba80024007526..."} 
[2026-08-11 12:13:56] local.INFO: Processing buffer {"connection_id":152527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef8dcee0012dae14c005ed7ba80024007526..."} 
[2026-08-11 12:13:56] local.INFO: Packet analysis {"connection_id":152527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef8d"} 
[2026-08-11 12:13:56] local.INFO: Extracted packet for processing {"connection_id":152527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef8d"} 
[2026-08-11 12:13:56] local.INFO: GPS Element Parsed {"raw_longitude":766383296,"raw_latitude":99449768,"longitude_deg":76.6383296,"latitude_deg":9.9449768,"altitude":36,"angle":117,"satellites":38,"speed":26,"hex_longitude":"2dae14c0","hex_latitude":"05ed7ba8","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326198784001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377441111792156672,"note":"Value kept but may cause issues"} 
[2026-08-11 12:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5911959647882199040,"note":"Value kept but may cause issues"} 
[2026-08-11 12:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786430476000,"timestamp_ms":1786430476000,"timestamp_seconds":1786430476,"priority":1,"record_length":96,"hex_timestamp":"0000019fef8dcee0"} 
[2026-08-11 12:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 12:13:56] 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-08-11 12: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-08-11 12:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:13:56] 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-08-11 12:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326198784001,"66":27919,"229":206,"88":20736,"24":26,"16":377441111792156672,"45":-5911959647882199040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,88,24,16,45]} 
[2026-08-11 12:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326198784001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:13:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-11 12:13:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377441111792156672,"km_value":377441111792156.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5911959647882199040,"description":"Unknown IO ID 45"} 
[2026-08-11 12:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326198784001,"power":27919,"unknown_229":206,"unknown_88":20736,"ignition":26,"odometer":null,"unknown_45":-5911959647882199040}} 
[2026-08-11 12:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":152527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:13:56] local.INFO: GPS data processed {"connection_id":152527,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:13:56] local.INFO: Acknowledgment sent {"connection_id":152527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:14:20] local.INFO: TCP Data received {"connection_id":152154,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:14:20] local.INFO: Processing buffer {"connection_id":152154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:14:20] local.INFO: IMEI packet received {"connection_id":152154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":152154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:14:21] local.INFO: TCP Data received {"connection_id":152154,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:14:21] local.INFO: Processing buffer {"connection_id":152154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:14:21] local.INFO: IMEI packet received {"connection_id":152154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":152154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:14:24] local.INFO: TCP Data received {"connection_id":152154,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:14:24] local.INFO: Processing buffer {"connection_id":152154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:14:24] local.INFO: IMEI packet received {"connection_id":152154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":152154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:14:28] local.INFO: TCP Data received {"connection_id":152154,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef8e0d60012dae33c005ed68380025007828..."} 
[2026-08-11 12:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef8e0d60012dae33c005ed68380025007828..."} 
[2026-08-11 12:14:28] local.INFO: Processing buffer {"connection_id":152154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef8e0d60012dae33c005ed68380025007828..."} 
[2026-08-11 12:14:28] local.INFO: Packet analysis {"connection_id":152154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef8e"} 
[2026-08-11 12:14:28] local.INFO: Extracted packet for processing {"connection_id":152154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef8e"} 
[2026-08-11 12:14:28] local.INFO: GPS Element Parsed {"raw_longitude":766391232,"raw_latitude":99444792,"longitude_deg":76.6391232,"latitude_deg":9.9444792,"altitude":37,"angle":120,"satellites":40,"speed":22,"hex_longitude":"2dae33c0","hex_latitude":"05ed6838","is_valid_coordinates":true} 
[2026-08-11 12:14: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-08-11 12:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326201856001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377441558468755456,"note":"Value kept but may cause issues"} 
[2026-08-11 12:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5902882079884204032,"note":"Value kept but may cause issues"} 
[2026-08-11 12:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786430492000,"timestamp_ms":1786430492000,"timestamp_seconds":1786430492,"priority":1,"record_length":96,"hex_timestamp":"0000019fef8e0d60"} 
[2026-08-11 12:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:14: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":15,"data_length":795,"current_offset":136} 
[2026-08-11 12:14:28] 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-08-11 12:14: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-08-11 12:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:14:28] 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-08-11 12:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326201856001,"66":27800,"65":206,"88":20736,"24":22,"16":377441558468755456,"45":-5902882079884204032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,88,24,16,45]} 
[2026-08-11 12:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326201856001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:14:28] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-11 12:14:28] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377441558468755456,"km_value":377441558468755.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5902882079884204032,"description":"Unknown IO ID 45"} 
[2026-08-11 12:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326201856001,"power":27800,"unknown_65":206,"unknown_88":20736,"ignition":22,"odometer":null,"unknown_45":-5902882079884204032}} 
[2026-08-11 12:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":152154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:14:28] local.INFO: GPS data processed {"connection_id":152154,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:14:28] local.INFO: Acknowledgment sent {"connection_id":152154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:14:59] local.INFO: TCP Data received {"connection_id":152154,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9072a8012daf73c005eca2b80024007727..."} 
[2026-08-11 12:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9072a8012daf73c005eca2b80024007727..."} 
[2026-08-11 12:14:59] local.INFO: Processing buffer {"connection_id":152154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9072a8012daf73c005eca2b80024007727..."} 
[2026-08-11 12:14:59] local.INFO: Packet analysis {"connection_id":152154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef90"} 
[2026-08-11 12:14:59] local.INFO: Extracted packet for processing {"connection_id":152154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef90"} 
[2026-08-11 12:14:59] local.INFO: GPS Element Parsed {"raw_longitude":766473152,"raw_latitude":99394232,"longitude_deg":76.6473152,"latitude_deg":9.9394232,"altitude":36,"angle":119,"satellites":39,"speed":42,"hex_longitude":"2daf73c0","hex_latitude":"05eca2b8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 12:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326245376001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377446235688140800,"note":"Value kept but may cause issues"} 
[2026-08-11 12:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5807039850327963648,"note":"Value kept but may cause issues"} 
[2026-08-11 12:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786430649000,"timestamp_ms":1786430649000,"timestamp_seconds":1786430649,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9072a8"} 
[2026-08-11 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-08-11 12:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:14:59] 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-08-11 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-08-11 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-08-11 12:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:14:59] 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-08-11 12:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326245376001,"66":27832,"211":206,"88":20736,"24":42,"16":377446235688140800,"45":-5807039850327963648},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,88,24,16,45]} 
[2026-08-11 12:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326245376001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:14:59] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-11 12:14:59] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377446235688140800,"km_value":377446235688140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5807039850327963648,"description":"Unknown IO ID 45"} 
[2026-08-11 12:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326245376001,"power":27832,"unknown_211":206,"unknown_88":20736,"ignition":42,"odometer":null,"unknown_45":-5807039850327963648}} 
[2026-08-11 12:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":152154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:14:59] local.INFO: GPS data processed {"connection_id":152154,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:14:59] local.INFO: Acknowledgment sent {"connection_id":152154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:15:19] local.INFO: TCP Data received {"connection_id":154864,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:15:19] local.INFO: Processing buffer {"connection_id":154864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:15:19] local.INFO: IMEI packet received {"connection_id":154864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":154864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:15:25] local.INFO: TCP Data received {"connection_id":154864,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:15:25] local.INFO: Processing buffer {"connection_id":154864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:15:25] local.INFO: IMEI packet received {"connection_id":154864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":154864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:15:25] local.INFO: TCP Data received {"connection_id":154864,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef907e60012daf7f8005ec9da80024006b28..."} 
[2026-08-11 12:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef907e60012daf7f8005ec9da80024006b28..."} 
[2026-08-11 12:15:25] local.INFO: Processing buffer {"connection_id":154864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef907e60012daf7f8005ec9da80024006b28..."} 
[2026-08-11 12:15:25] local.INFO: Packet analysis {"connection_id":154864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef90"} 
[2026-08-11 12:15:25] local.INFO: Extracted packet for processing {"connection_id":154864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef90"} 
[2026-08-11 12:15:25] local.INFO: GPS Element Parsed {"raw_longitude":766476160,"raw_latitude":99392936,"longitude_deg":76.647616,"latitude_deg":9.9392936,"altitude":36,"angle":107,"satellites":40,"speed":43,"hex_longitude":"2daf7f80","hex_latitude":"05ec9da8","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326246144001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377446390306963456,"note":"Value kept but may cause issues"} 
[2026-08-11 12:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5804084363072980992,"note":"Value kept but may cause issues"} 
[2026-08-11 12:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786430652000,"timestamp_ms":1786430652000,"timestamp_seconds":1786430652,"priority":1,"record_length":96,"hex_timestamp":"0000019fef907e60"} 
[2026-08-11 12:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 12:15:25] 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-08-11 12: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-08-11 12:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:15:25] 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-08-11 12:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326246144001,"66":27745,"211":206,"88":20736,"24":43,"16":377446390306963456,"45":-5804084363072980992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,88,24,16,45]} 
[2026-08-11 12:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326246144001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:15:25] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-11 12:15:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377446390306963456,"km_value":377446390306963.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5804084363072980992,"description":"Unknown IO ID 45"} 
[2026-08-11 12:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326246144001,"power":27745,"unknown_211":206,"unknown_88":20736,"ignition":43,"odometer":null,"unknown_45":-5804084363072980992}} 
[2026-08-11 12:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":154864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:15:25] local.INFO: GPS data processed {"connection_id":154864,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:15:25] local.INFO: Acknowledgment sent {"connection_id":154864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:15:57] local.INFO: TCP Data received {"connection_id":154864,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef908a18012daf8c0005ec9bc80025005e26..."} 
[2026-08-11 12:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef908a18012daf8c0005ec9bc80025005e26..."} 
[2026-08-11 12:15:57] local.INFO: Processing buffer {"connection_id":154864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef908a18012daf8c0005ec9bc80025005e26..."} 
[2026-08-11 12:15:57] local.INFO: Packet analysis {"connection_id":154864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef90"} 
[2026-08-11 12:15:57] local.INFO: Extracted packet for processing {"connection_id":154864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef90"} 
[2026-08-11 12:15:57] local.INFO: GPS Element Parsed {"raw_longitude":766479360,"raw_latitude":99392456,"longitude_deg":76.647936,"latitude_deg":9.9392456,"altitude":37,"angle":94,"satellites":38,"speed":45,"hex_longitude":"2daf8c00","hex_latitude":"05ec9bc8","is_valid_coordinates":true} 
[2026-08-11 12:15: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-08-11 12:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326246912001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377446544925786112,"note":"Value kept but may cause issues"} 
[2026-08-11 12:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5800777032096962560,"note":"Value kept but may cause issues"} 
[2026-08-11 12:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786430655000,"timestamp_ms":1786430655000,"timestamp_seconds":1786430655,"priority":1,"record_length":96,"hex_timestamp":"0000019fef908a18"} 
[2026-08-11 12:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:15: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":97,"data_length":795,"current_offset":136} 
[2026-08-11 12:15:57] 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-08-11 12:15: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-08-11 12:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:15:57] 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-08-11 12:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326246912001,"66":27908,"211":206,"88":20736,"24":45,"16":377446544925786112,"45":-5800777032096962560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,88,24,16,45]} 
[2026-08-11 12:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326246912001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:15:57] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-11 12:15:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377446544925786112,"km_value":377446544925786.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5800777032096962560,"description":"Unknown IO ID 45"} 
[2026-08-11 12:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326246912001,"power":27908,"unknown_211":206,"unknown_88":20736,"ignition":45,"odometer":null,"unknown_45":-5800777032096962560}} 
[2026-08-11 12:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":154864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:15:57] local.INFO: GPS data processed {"connection_id":154864,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:15:57] local.INFO: Acknowledgment sent {"connection_id":154864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:16:19] local.INFO: TCP Data received {"connection_id":152155,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:16:19] local.INFO: Processing buffer {"connection_id":152155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:16:19] local.INFO: IMEI packet received {"connection_id":152155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":152155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:16:20] local.INFO: TCP Data received {"connection_id":152155,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:16:20] local.INFO: Processing buffer {"connection_id":152155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:16:20] local.INFO: IMEI packet received {"connection_id":152155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":152155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:16:25] local.INFO: TCP Data received {"connection_id":152155,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:16:25] local.INFO: Processing buffer {"connection_id":152155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:16:25] local.INFO: IMEI packet received {"connection_id":152155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":152155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:16:25] local.INFO: TCP Data received {"connection_id":152155,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef918fd0012db08b0005ec3ae80029006026..."} 
[2026-08-11 12:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef918fd0012db08b0005ec3ae80029006026..."} 
[2026-08-11 12:16:25] local.INFO: Processing buffer {"connection_id":152155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef918fd0012db08b0005ec3ae80029006026..."} 
[2026-08-11 12:16:25] local.INFO: Packet analysis {"connection_id":152155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef91"} 
[2026-08-11 12:16:25] local.INFO: Extracted packet for processing {"connection_id":152155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef91"} 
[2026-08-11 12:16:25] local.INFO: GPS Element Parsed {"raw_longitude":766544640,"raw_latitude":99367656,"longitude_deg":76.654464,"latitude_deg":9.9367656,"altitude":41,"angle":96,"satellites":38,"speed":39,"hex_longitude":"2db08b00","hex_latitude":"05ec3ae8","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326264064001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377449998079492096,"note":"Value kept but may cause issues"} 
[2026-08-11 12:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5728930544297850880,"note":"Value kept but may cause issues"} 
[2026-08-11 12:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786430722000,"timestamp_ms":1786430722000,"timestamp_seconds":1786430722,"priority":1,"record_length":96,"hex_timestamp":"0000019fef918fd0"} 
[2026-08-11 12:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 12:16:25] 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-08-11 12: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-08-11 12:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:16:25] 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-08-11 12:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326264064001,"66":27745,"110":206,"88":20736,"24":39,"16":377449998079492096,"45":-5728930544297850880},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,88,24,16,45]} 
[2026-08-11 12:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326264064001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:16:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 12:16:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377449998079492096,"km_value":377449998079492.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5728930544297850880,"description":"Unknown IO ID 45"} 
[2026-08-11 12:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326264064001,"power":27745,"unknown_110":206,"unknown_88":20736,"ignition":39,"odometer":null,"unknown_45":-5728930544297850880}} 
[2026-08-11 12:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":152155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:16:25] local.INFO: GPS data processed {"connection_id":152155,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:16:25] local.INFO: Acknowledgment sent {"connection_id":152155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:17:02] local.INFO: TCP Data received {"connection_id":152155,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef91af10012db0ab4005ec37380029006c28..."} 
[2026-08-11 12:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef91af10012db0ab4005ec37380029006c28..."} 
[2026-08-11 12:17:02] local.INFO: Processing buffer {"connection_id":152155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef91af10012db0ab4005ec37380029006c28..."} 
[2026-08-11 12:17:02] local.INFO: Packet analysis {"connection_id":152155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef91"} 
[2026-08-11 12:17:02] local.INFO: Extracted packet for processing {"connection_id":152155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef91"} 
[2026-08-11 12:17:02] local.INFO: GPS Element Parsed {"raw_longitude":766552896,"raw_latitude":99366712,"longitude_deg":76.6552896,"latitude_deg":9.9366712,"altitude":41,"angle":108,"satellites":40,"speed":39,"hex_longitude":"2db0ab40","hex_latitude":"05ec3738","is_valid_coordinates":true} 
[2026-08-11 12:17: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-08-11 12:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326264832001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377450393216483328,"note":"Value kept but may cause issues"} 
[2026-08-11 12:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5725482475833333760,"note":"Value kept but may cause issues"} 
[2026-08-11 12:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786430730000,"timestamp_ms":1786430730000,"timestamp_seconds":1786430730,"priority":1,"record_length":96,"hex_timestamp":"0000019fef91af10"} 
[2026-08-11 12:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:17: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":97,"data_length":795,"current_offset":136} 
[2026-08-11 12:17:02] 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-08-11 12:17: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-08-11 12:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":152155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":152155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":152155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:17:02] 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-08-11 12:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326264832001,"66":27821,"110":206,"88":20736,"24":39,"16":377450393216483328,"45":-5725482475833333760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,88,24,16,45]} 
[2026-08-11 12:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326264832001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:17:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 12:17:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377450393216483328,"km_value":377450393216483.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5725482475833333760,"description":"Unknown IO ID 45"} 
[2026-08-11 12:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326264832001,"power":27821,"unknown_110":206,"unknown_88":20736,"ignition":39,"odometer":null,"unknown_45":-5725482475833333760}} 
[2026-08-11 12:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":152155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:17:02] local.INFO: GPS data processed {"connection_id":152155,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:17:02] local.INFO: Acknowledgment sent {"connection_id":152155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:17:25] local.INFO: TCP Data received {"connection_id":153486,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:17:25] local.INFO: Processing buffer {"connection_id":153486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:17:25] local.INFO: IMEI packet received {"connection_id":153486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":153486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:17:29] local.INFO: TCP Data received {"connection_id":153486,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:17:29] local.INFO: Processing buffer {"connection_id":153486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:17:29] local.INFO: IMEI packet received {"connection_id":153486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":153486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:17:30] local.INFO: TCP Data received {"connection_id":153486,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef91bac8012db0b64005ec31f0002a007928..."} 
[2026-08-11 12:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef91bac8012db0b64005ec31f0002a007928..."} 
[2026-08-11 12:17:30] local.INFO: Processing buffer {"connection_id":153486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef91bac8012db0b64005ec31f0002a007928..."} 
[2026-08-11 12:17:30] local.INFO: Packet analysis {"connection_id":153486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef91"} 
[2026-08-11 12:17:30] local.INFO: Extracted packet for processing {"connection_id":153486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef91"} 
[2026-08-11 12:17:30] local.INFO: GPS Element Parsed {"raw_longitude":766555712,"raw_latitude":99365360,"longitude_deg":76.6555712,"latitude_deg":9.936536,"altitude":42,"angle":121,"satellites":40,"speed":41,"hex_longitude":"2db0b640","hex_latitude":"05ec31f0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326266880001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377450543540338688,"note":"Value kept but may cause issues"} 
[2026-08-11 12:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5716404907834656768,"note":"Value kept but may cause issues"} 
[2026-08-11 12:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786430733000,"timestamp_ms":1786430733000,"timestamp_seconds":1786430733,"priority":1,"record_length":96,"hex_timestamp":"0000019fef91bac8"} 
[2026-08-11 12:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 12:17:30] 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-08-11 12: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-08-11 12:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:17:30] 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-08-11 12:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326266880001,"66":27865,"110":206,"88":20736,"24":41,"16":377450543540338688,"45":-5716404907834656768},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,88,24,16,45]} 
[2026-08-11 12:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326266880001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:17:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 12:17:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377450543540338688,"km_value":377450543540338.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5716404907834656768,"description":"Unknown IO ID 45"} 
[2026-08-11 12:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326266880001,"power":27865,"unknown_110":206,"unknown_88":20736,"ignition":41,"odometer":null,"unknown_45":-5716404907834656768}} 
[2026-08-11 12:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":153486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:17:30] local.INFO: GPS data processed {"connection_id":153486,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:17:30] local.INFO: Acknowledgment sent {"connection_id":153486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:17:30] local.INFO: TCP Data received {"connection_id":153486,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef91ddf0012db0d5c005ec1b80002b008029..."} 
[2026-08-11 12:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef91ddf0012db0d5c005ec1b80002b008029..."} 
[2026-08-11 12:17:30] local.INFO: Processing buffer {"connection_id":153486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef91ddf0012db0d5c005ec1b80002b008029..."} 
[2026-08-11 12:17:30] local.INFO: Packet analysis {"connection_id":153486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef91"} 
[2026-08-11 12:17:30] local.INFO: Extracted packet for processing {"connection_id":153486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef91"} 
[2026-08-11 12:17:30] local.INFO: GPS Element Parsed {"raw_longitude":766563776,"raw_latitude":99359616,"longitude_deg":76.6563776,"latitude_deg":9.9359616,"altitude":43,"angle":128,"satellites":41,"speed":44,"hex_longitude":"2db0d5c0","hex_latitude":"05ec1b80","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326267648001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377451020281708544,"note":"Value kept but may cause issues"} 
[2026-08-11 12:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5713308683091185664,"note":"Value kept but may cause issues"} 
[2026-08-11 12:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786430742000,"timestamp_ms":1786430742000,"timestamp_seconds":1786430742,"priority":1,"record_length":96,"hex_timestamp":"0000019fef91ddf0"} 
[2026-08-11 12:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 12:17:30] 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-08-11 12: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-08-11 12:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:17:30] 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-08-11 12:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326267648001,"66":27843,"110":206,"88":20736,"24":44,"16":377451020281708544,"45":-5713308683091185664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,88,24,16,45]} 
[2026-08-11 12:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326267648001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:17:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 12:17:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377451020281708544,"km_value":377451020281708.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5713308683091185664,"description":"Unknown IO ID 45"} 
[2026-08-11 12:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326267648001,"power":27843,"unknown_110":206,"unknown_88":20736,"ignition":44,"odometer":null,"unknown_45":-5713308683091185664}} 
[2026-08-11 12:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":153486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:17:30] local.INFO: GPS data processed {"connection_id":153486,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:17:30] local.INFO: Acknowledgment sent {"connection_id":153486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:17:31] local.INFO: TCP Data received {"connection_id":154865,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:17:31] local.INFO: Processing buffer {"connection_id":154865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:17:31] local.INFO: IMEI packet received {"connection_id":154865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":154865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:17:32] local.INFO: TCP Data received {"connection_id":154865,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:17:32] local.INFO: Processing buffer {"connection_id":154865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:17:32] local.INFO: IMEI packet received {"connection_id":154865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":154865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:17:36] local.INFO: TCP Data received {"connection_id":154865,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:17:36] local.INFO: Processing buffer {"connection_id":154865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:17:36] local.INFO: IMEI packet received {"connection_id":154865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":154865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:17:36] local.INFO: TCP Data received {"connection_id":154865,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-11 12:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154865,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-11 12:17:36] local.INFO: Processing buffer {"connection_id":154865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-11 12:17:36] local.INFO: Packet analysis {"connection_id":154865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 12:17:36] local.INFO: Extracted packet for processing {"connection_id":154865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 12:17:36] 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-08-11 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-08-11 12:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539116835471360,"note":"Value kept but may cause issues"} 
[2026-08-11 12:17:36] 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-08-11 12:17:36] 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-08-11 12:17:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 12:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154865,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-11 12:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-11 12:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 12:17:36] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 12:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":154865,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 12:17:36] local.ERROR: GPS data processing failed {"connection_id":154865,"error":"No valid data to process"} 
[2026-08-11 12:17:36] local.INFO: Acknowledgment sent {"connection_id":154865,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 12:18:01] local.INFO: TCP Data received {"connection_id":153486,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef932de0012db2358005eb60280021007d23..."} 
[2026-08-11 12:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef932de0012db2358005eb60280021007d23..."} 
[2026-08-11 12:18:01] local.INFO: Processing buffer {"connection_id":153486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef932de0012db2358005eb60280021007d23..."} 
[2026-08-11 12:18:01] local.INFO: Packet analysis {"connection_id":153486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef93"} 
[2026-08-11 12:18:01] local.INFO: Extracted packet for processing {"connection_id":153486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef93"} 
[2026-08-11 12:18:01] local.INFO: GPS Element Parsed {"raw_longitude":766653824,"raw_latitude":99311656,"longitude_deg":76.6653824,"latitude_deg":9.9311656,"altitude":33,"angle":125,"satellites":35,"speed":45,"hex_longitude":"2db23580","hex_latitude":"05eb6028","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326289664001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377455946609197056,"note":"Value kept but may cause issues"} 
[2026-08-11 12:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5615636866185222144,"note":"Value kept but may cause issues"} 
[2026-08-11 12:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786430828000,"timestamp_ms":1786430828000,"timestamp_seconds":1786430828,"priority":1,"record_length":96,"hex_timestamp":"0000019fef932de0"} 
[2026-08-11 12:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 12:18:01] 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-08-11 12: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-08-11 12:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:18:01] 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-08-11 12:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326289664001,"66":27821,"179":206,"88":20736,"24":45,"16":377455946609197056,"45":-5615636866185222144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,88,24,16,45]} 
[2026-08-11 12:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326289664001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:18:01] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-11 12:18:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377455946609197056,"km_value":377455946609197.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5615636866185222144,"description":"Unknown IO ID 45"} 
[2026-08-11 12:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326289664001,"power":27821,"unknown_179":206,"unknown_88":20736,"ignition":45,"odometer":null,"unknown_45":-5615636866185222144}} 
[2026-08-11 12:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":153486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:18:01] local.INFO: GPS data processed {"connection_id":153486,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:18:01] local.INFO: Acknowledgment sent {"connection_id":153486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:18:07] local.INFO: TCP Data received {"connection_id":154865,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-11 12:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-11 12:18:07] local.INFO: Processing buffer {"connection_id":154865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-11 12:18:07] local.INFO: Packet analysis {"connection_id":154865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-11 12:18:07] local.INFO: Extracted packet for processing {"connection_id":154865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-11 12:18:07] 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-08-11 12: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-08-11 12:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539116835471360,"note":"Value kept but may cause issues"} 
[2026-08-11 12:18:07] 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-08-11 12:18:07] 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-08-11 12:18:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 12:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154865,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-11 12:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-11 12:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 12:18:07] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 12:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":154865,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 12:18:07] local.ERROR: GPS data processing failed {"connection_id":154865,"error":"No valid data to process"} 
[2026-08-11 12:18:07] local.INFO: Acknowledgment sent {"connection_id":154865,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 12:18:19] local.INFO: TCP Data received {"connection_id":152156,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:18:19] local.INFO: Processing buffer {"connection_id":152156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:18:19] local.INFO: IMEI packet received {"connection_id":152156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":152156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:18:22] local.INFO: TCP Data received {"connection_id":152156,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:18:22] local.INFO: Processing buffer {"connection_id":152156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:18:22] local.INFO: IMEI packet received {"connection_id":152156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":152156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:18:27] local.INFO: TCP Data received {"connection_id":152156,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef932de0012db2358005eb60280021007d23..."} 
[2026-08-11 12:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef932de0012db2358005eb60280021007d23..."} 
[2026-08-11 12:18:27] local.INFO: Processing buffer {"connection_id":152156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef932de0012db2358005eb60280021007d23..."} 
[2026-08-11 12:18:27] local.INFO: Packet analysis {"connection_id":152156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef93"} 
[2026-08-11 12:18:27] local.INFO: Extracted packet for processing {"connection_id":152156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef93"} 
[2026-08-11 12:18:27] local.INFO: GPS Element Parsed {"raw_longitude":766653824,"raw_latitude":99311656,"longitude_deg":76.6653824,"latitude_deg":9.9311656,"altitude":33,"angle":125,"satellites":35,"speed":45,"hex_longitude":"2db23580","hex_latitude":"05eb6028","is_valid_coordinates":true} 
[2026-08-11 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-08-11 12:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326291968001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377455946609197056,"note":"Value kept but may cause issues"} 
[2026-08-11 12:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5605433398280574976,"note":"Value kept but may cause issues"} 
[2026-08-11 12:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786430828000,"timestamp_ms":1786430828000,"timestamp_seconds":1786430828,"priority":1,"record_length":96,"hex_timestamp":"0000019fef932de0"} 
[2026-08-11 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-08-11 12:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 12:18:27] 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-08-11 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-08-11 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-08-11 12:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:18:27] 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-08-11 12:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326291968001,"66":27821,"179":206,"88":20736,"24":45,"16":377455946609197056,"45":-5605433398280574976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,88,24,16,45]} 
[2026-08-11 12:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326291968001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:18:27] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-11 12:18:27] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377455946609197056,"km_value":377455946609197.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5605433398280574976,"description":"Unknown IO ID 45"} 
[2026-08-11 12:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326291968001,"power":27821,"unknown_179":206,"unknown_88":20736,"ignition":45,"odometer":null,"unknown_45":-5605433398280574976}} 
[2026-08-11 12:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":152156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:18:27] local.INFO: GPS data processed {"connection_id":152156,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:18:27] local.INFO: Acknowledgment sent {"connection_id":152156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:18:39] local.INFO: TCP Data received {"connection_id":154865,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef942bc80100000000000000000000000000..."} 
[2026-08-11 12:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef942bc80100000000000000000000000000..."} 
[2026-08-11 12:18:39] local.INFO: Processing buffer {"connection_id":154865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef942bc80100000000000000000000000000..."} 
[2026-08-11 12:18:39] local.INFO: Packet analysis {"connection_id":154865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef94"} 
[2026-08-11 12:18:39] local.INFO: Extracted packet for processing {"connection_id":154865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef94"} 
[2026-08-11 12:18:39] 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-08-11 12: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-08-11 12:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539116835471360,"note":"Value kept but may cause issues"} 
[2026-08-11 12:18:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 12:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786430893000,"timestamp_ms":1786430893000,"timestamp_seconds":1786430893,"priority":1,"record_length":96,"hex_timestamp":"0000019fef942bc8"} 
[2026-08-11 12:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:18:39] 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-08-11 12: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-11 12:18:39] 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-08-11 12: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-08-11 12:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":154865,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 12:18:39] local.INFO: GPS data processed {"connection_id":154865,"processed":0,"errors":0,"total":1} 
[2026-08-11 12:18:39] local.INFO: Acknowledgment sent {"connection_id":154865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:19:10] local.INFO: TCP Data received {"connection_id":154865,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef947dd00100000000000000000000000000..."} 
[2026-08-11 12:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef947dd00100000000000000000000000000..."} 
[2026-08-11 12:19:10] local.INFO: Processing buffer {"connection_id":154865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef947dd00100000000000000000000000000..."} 
[2026-08-11 12:19:10] local.INFO: Packet analysis {"connection_id":154865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef94"} 
[2026-08-11 12:19:10] local.INFO: Extracted packet for processing {"connection_id":154865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef94"} 
[2026-08-11 12:19:10] 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-08-11 12: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-08-11 12:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539116835471360,"note":"Value kept but may cause issues"} 
[2026-08-11 12:19:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 12:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786430914000,"timestamp_ms":1786430914000,"timestamp_seconds":1786430914,"priority":1,"record_length":96,"hex_timestamp":"0000019fef947dd0"} 
[2026-08-11 12:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:19:10] 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-08-11 12: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 12:19:10] 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-08-11 12: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-08-11 12:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":154865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":154865,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 12:19:10] local.INFO: GPS data processed {"connection_id":154865,"processed":0,"errors":0,"total":1} 
[2026-08-11 12:19:10] local.INFO: Acknowledgment sent {"connection_id":154865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:19:12] local.INFO: TCP Data received {"connection_id":152156,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef934d20012db251c005eb4a28002000811c..."} 
[2026-08-11 12:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef934d20012db251c005eb4a28002000811c..."} 
[2026-08-11 12:19:12] local.INFO: Processing buffer {"connection_id":152156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef934d20012db251c005eb4a28002000811c..."} 
[2026-08-11 12:19:12] local.INFO: Packet analysis {"connection_id":152156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef93"} 
[2026-08-11 12:19:12] local.INFO: Extracted packet for processing {"connection_id":152156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef93"} 
[2026-08-11 12:19:12] local.INFO: GPS Element Parsed {"raw_longitude":766661056,"raw_latitude":99306024,"longitude_deg":76.6661056,"latitude_deg":9.9306024,"altitude":32,"angle":129,"satellites":28,"speed":43,"hex_longitude":"2db251c0","hex_latitude":"05eb4a28","is_valid_coordinates":true} 
[2026-08-11 12:19: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-08-11 12:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326291968001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377456388990828544,"note":"Value kept but may cause issues"} 
[2026-08-11 12:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5605433398280574976,"note":"Value kept but may cause issues"} 
[2026-08-11 12:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786430836000,"timestamp_ms":1786430836000,"timestamp_seconds":1786430836,"priority":1,"record_length":96,"hex_timestamp":"0000019fef934d20"} 
[2026-08-11 12:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:19: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":173,"data_length":795,"current_offset":136} 
[2026-08-11 12:19:12] 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-08-11 12:19: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-08-11 12:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:19:12] 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-08-11 12:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326291968001,"66":27800,"179":206,"88":20736,"24":43,"16":377456388990828544,"45":-5605433398280574976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,88,24,16,45]} 
[2026-08-11 12:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326291968001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:19:12] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-11 12:19:12] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377456388990828544,"km_value":377456388990828.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5605433398280574976,"description":"Unknown IO ID 45"} 
[2026-08-11 12:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326291968001,"power":27800,"unknown_179":206,"unknown_88":20736,"ignition":43,"odometer":null,"unknown_45":-5605433398280574976}} 
[2026-08-11 12:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":152156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:19:12] local.INFO: GPS data processed {"connection_id":152156,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:19:12] local.INFO: Acknowledgment sent {"connection_id":152156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:19:20] local.INFO: TCP Data received {"connection_id":154866,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:19:20] local.INFO: Processing buffer {"connection_id":154866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:19:20] local.INFO: IMEI packet received {"connection_id":154866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":154866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:19:20] local.INFO: TCP Data received {"connection_id":154866,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:19:20] local.INFO: Processing buffer {"connection_id":154866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:19:20] local.INFO: IMEI packet received {"connection_id":154866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":154866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:19:25] local.INFO: TCP Data received {"connection_id":154866,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:19:25] local.INFO: Processing buffer {"connection_id":154866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:19:25] local.INFO: IMEI packet received {"connection_id":154866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":154866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:19:25] local.INFO: TCP Data received {"connection_id":154866,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef937048012db26f4005eb31c8001f008220..."} 
[2026-08-11 12:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef937048012db26f4005eb31c8001f008220..."} 
[2026-08-11 12:19:25] local.INFO: Processing buffer {"connection_id":154866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef937048012db26f4005eb31c8001f008220..."} 
[2026-08-11 12:19:25] local.INFO: Packet analysis {"connection_id":154866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef93"} 
[2026-08-11 12:19:25] local.INFO: Extracted packet for processing {"connection_id":154866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef93"} 
[2026-08-11 12:19:25] local.INFO: GPS Element Parsed {"raw_longitude":766668608,"raw_latitude":99299784,"longitude_deg":76.6668608,"latitude_deg":9.9299784,"altitude":31,"angle":130,"satellites":32,"speed":43,"hex_longitude":"2db26f40","hex_latitude":"05eb31c8","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326294016001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377456857142263808,"note":"Value kept but may cause issues"} 
[2026-08-11 12:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5597481730189940736,"note":"Value kept but may cause issues"} 
[2026-08-11 12:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786430845000,"timestamp_ms":1786430845000,"timestamp_seconds":1786430845,"priority":1,"record_length":96,"hex_timestamp":"0000019fef937048"} 
[2026-08-11 12:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 12:19:25] 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-08-11 12: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-08-11 12:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:19:25] 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-08-11 12:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326294016001,"66":27745,"179":206,"88":20736,"24":43,"16":377456857142263808,"45":-5597481730189940736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,88,24,16,45]} 
[2026-08-11 12:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326294016001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:19:25] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-11 12:19:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377456857142263808,"km_value":377456857142263.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5597481730189940736,"description":"Unknown IO ID 45"} 
[2026-08-11 12:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326294016001,"power":27745,"unknown_179":206,"unknown_88":20736,"ignition":43,"odometer":null,"unknown_45":-5597481730189940736}} 
[2026-08-11 12:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":154866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:19:26] local.INFO: GPS data processed {"connection_id":154866,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:19:26] local.INFO: Acknowledgment sent {"connection_id":154866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:19:30] local.INFO: TCP Data received {"connection_id":154866,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef939370012db28c0005eb1b20001f007e27..."} 
[2026-08-11 12:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef939370012db28c0005eb1b20001f007e27..."} 
[2026-08-11 12:19:30] local.INFO: Processing buffer {"connection_id":154866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef939370012db28c0005eb1b20001f007e27..."} 
[2026-08-11 12:19:30] local.INFO: Packet analysis {"connection_id":154866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef93"} 
[2026-08-11 12:19:30] local.INFO: Extracted packet for processing {"connection_id":154866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef93"} 
[2026-08-11 12:19:30] local.INFO: GPS Element Parsed {"raw_longitude":766675968,"raw_latitude":99293984,"longitude_deg":76.6675968,"latitude_deg":9.9293984,"altitude":31,"angle":126,"satellites":39,"speed":36,"hex_longitude":"2db28c00","hex_latitude":"05eb1b20","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326296320001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377457308113829888,"note":"Value kept but may cause issues"} 
[2026-08-11 12:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5589178218378573824,"note":"Value kept but may cause issues"} 
[2026-08-11 12:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786430854000,"timestamp_ms":1786430854000,"timestamp_seconds":1786430854,"priority":1,"record_length":96,"hex_timestamp":"0000019fef939370"} 
[2026-08-11 12:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 12:19:30] 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-08-11 12: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-08-11 12:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:19:30] 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-08-11 12:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326296320001,"66":27821,"179":206,"88":20736,"24":36,"16":377457308113829888,"45":-5589178218378573824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,88,24,16,45]} 
[2026-08-11 12:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326296320001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:19:30] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-11 12:19:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377457308113829888,"km_value":377457308113829.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5589178218378573824,"description":"Unknown IO ID 45"} 
[2026-08-11 12:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326296320001,"power":27821,"unknown_179":206,"unknown_88":20736,"ignition":36,"odometer":null,"unknown_45":-5589178218378573824}} 
[2026-08-11 12:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":154866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:19:30] local.INFO: GPS data processed {"connection_id":154866,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:19:30] local.INFO: Acknowledgment sent {"connection_id":154866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:19:41] local.INFO: TCP Data received {"connection_id":154865,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef94cfd80100000000000000000000000000..."} 
[2026-08-11 12:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef94cfd80100000000000000000000000000..."} 
[2026-08-11 12:19:41] local.INFO: Processing buffer {"connection_id":154865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef94cfd80100000000000000000000000000..."} 
[2026-08-11 12:19:41] local.INFO: Packet analysis {"connection_id":154865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef94"} 
[2026-08-11 12:19:41] local.INFO: Extracted packet for processing {"connection_id":154865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef94"} 
[2026-08-11 12:19: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-08-11 12:19: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-08-11 12:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539116835471360,"note":"Value kept but may cause issues"} 
[2026-08-11 12:19:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 12:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786430935000,"timestamp_ms":1786430935000,"timestamp_seconds":1786430935,"priority":1,"record_length":96,"hex_timestamp":"0000019fef94cfd8"} 
[2026-08-11 12:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:19:41] 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-08-11 12:19: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 12:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":84751891720249328,"note":"Value kept but may cause issues"} 
[2026-08-11 12:19:41] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-08-11 12:19:41] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4274257920,"note":"Value kept but may cause issues"} 
[2026-08-11 12:19:41] local.WARNING: Large IO value detected {"io_id":56,"raw_value":21393481863790592,"note":"Value kept but may cause issues"} 
[2026-08-11 12:19:41] local.INFO: IO Element Parsed {"io_data_count":29,"io_data_keys":[0,101,83,24,241,157,16,254,159,43,10,66,13,102,187,1,240,87,227,4,113,205,27,239,2,47,40,206,56],"length":529,"final_offset":659,"validated_count":29,"validation_warnings":[]} 
[2026-08-11 12:19:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 12:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":154865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":154865,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 12:19:41] local.INFO: GPS data processed {"connection_id":154865,"processed":0,"errors":0,"total":1} 
[2026-08-11 12:19:41] local.INFO: Acknowledgment sent {"connection_id":154865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:20:01] local.INFO: TCP Data received {"connection_id":154866,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef951240012db3ae8005ea16d8001d007f29..."} 
[2026-08-11 12:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef951240012db3ae8005ea16d8001d007f29..."} 
[2026-08-11 12:20:01] local.INFO: Processing buffer {"connection_id":154866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef951240012db3ae8005ea16d8001d007f29..."} 
[2026-08-11 12:20:01] local.INFO: Packet analysis {"connection_id":154866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef95"} 
[2026-08-11 12:20:01] local.INFO: Extracted packet for processing {"connection_id":154866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef95"} 
[2026-08-11 12:20:01] local.INFO: GPS Element Parsed {"raw_longitude":766750336,"raw_latitude":99227352,"longitude_deg":76.6750336,"latitude_deg":9.9227352,"altitude":29,"angle":127,"satellites":41,"speed":42,"hex_longitude":"2db3ae80","hex_latitude":"05ea16d8","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326321408001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377462139952037888,"note":"Value kept but may cause issues"} 
[2026-08-11 12:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5506143100265803776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786430952000,"timestamp_ms":1786430952000,"timestamp_seconds":1786430952,"priority":1,"record_length":96,"hex_timestamp":"0000019fef951240"} 
[2026-08-11 12:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:20:01] 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-08-11 12: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-08-11 12:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:20:01] 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-08-11 12:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326321408001,"66":27908,"178":206,"88":20736,"24":42,"16":377462139952037888,"45":-5506143100265803776},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,88,24,16,45]} 
[2026-08-11 12:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326321408001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:20:01] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-11 12:20:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377462139952037888,"km_value":377462139952037.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5506143100265803776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326321408001,"power":27908,"unknown_178":206,"unknown_88":20736,"ignition":42,"odometer":null,"unknown_45":-5506143100265803776}} 
[2026-08-11 12:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":154866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:20:01] local.INFO: GPS data processed {"connection_id":154866,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:20:01] local.INFO: Acknowledgment sent {"connection_id":154866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:20:12] local.INFO: TCP Data received {"connection_id":154865,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9521e00100000000000000000000000000..."} 
[2026-08-11 12:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9521e00100000000000000000000000000..."} 
[2026-08-11 12:20:12] local.INFO: Processing buffer {"connection_id":154865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9521e00100000000000000000000000000..."} 
[2026-08-11 12:20:12] local.INFO: Packet analysis {"connection_id":154865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef95"} 
[2026-08-11 12:20:12] local.INFO: Extracted packet for processing {"connection_id":154865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef95"} 
[2026-08-11 12:20: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-08-11 12: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-08-11 12:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539116835471360,"note":"Value kept but may cause issues"} 
[2026-08-11 12:20:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 12:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786430956000,"timestamp_ms":1786430956000,"timestamp_seconds":1786430956,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9521e0"} 
[2026-08-11 12:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:20: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-08-11 12: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 12:20:12] 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-08-11 12: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-08-11 12:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":154865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":154865,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 12:20:12] local.INFO: GPS data processed {"connection_id":154865,"processed":0,"errors":0,"total":1} 
[2026-08-11 12:20:12] local.INFO: Acknowledgment sent {"connection_id":154865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:20:19] local.INFO: TCP Data received {"connection_id":153487,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:20:19] local.INFO: Processing buffer {"connection_id":153487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:20:19] local.INFO: IMEI packet received {"connection_id":153487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":153487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:20:19] local.INFO: TCP Data received {"connection_id":153487,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:20:19] local.INFO: Processing buffer {"connection_id":153487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:20:19] local.INFO: IMEI packet received {"connection_id":153487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":153487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:20:25] local.INFO: TCP Data received {"connection_id":153487,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:20:25] local.INFO: Processing buffer {"connection_id":153487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:20:25] local.INFO: IMEI packet received {"connection_id":153487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":153487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:20:25] local.INFO: TCP Data received {"connection_id":153487,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9521e0012db3bd0005ea0de8001d00742a..."} 
[2026-08-11 12:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9521e0012db3bd0005ea0de8001d00742a..."} 
[2026-08-11 12:20:25] local.INFO: Processing buffer {"connection_id":153487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9521e0012db3bd0005ea0de8001d00742a..."} 
[2026-08-11 12:20:25] local.INFO: Packet analysis {"connection_id":153487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef95"} 
[2026-08-11 12:20:25] local.INFO: Extracted packet for processing {"connection_id":153487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef95"} 
[2026-08-11 12:20:25] local.INFO: GPS Element Parsed {"raw_longitude":766754048,"raw_latitude":99225064,"longitude_deg":76.6754048,"latitude_deg":9.9225064,"altitude":29,"angle":116,"satellites":42,"speed":45,"hex_longitude":"2db3bd00","hex_latitude":"05ea0de8","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326323712001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377462350405435392,"note":"Value kept but may cause issues"} 
[2026-08-11 12:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5499317332082239488,"note":"Value kept but may cause issues"} 
[2026-08-11 12:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786430956000,"timestamp_ms":1786430956000,"timestamp_seconds":1786430956,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9521e0"} 
[2026-08-11 12:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 12:20:25] 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-08-11 12: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-08-11 12:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:20:25] 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-08-11 12:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326323712001,"66":27800,"178":206,"88":20736,"24":45,"16":377462350405435392,"45":-5499317332082239488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,88,24,16,45]} 
[2026-08-11 12:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326323712001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:20:25] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-11 12:20:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377462350405435392,"km_value":377462350405435.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5499317332082239488,"description":"Unknown IO ID 45"} 
[2026-08-11 12:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326323712001,"power":27800,"unknown_178":206,"unknown_88":20736,"ignition":45,"odometer":null,"unknown_45":-5499317332082239488}} 
[2026-08-11 12:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":153487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:20:25] local.INFO: GPS data processed {"connection_id":153487,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:20:25] local.INFO: Acknowledgment sent {"connection_id":153487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:20:43] local.INFO: TCP Data received {"connection_id":154865,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9573e80100000000000000000000000000..."} 
[2026-08-11 12:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9573e80100000000000000000000000000..."} 
[2026-08-11 12:20:43] local.INFO: Processing buffer {"connection_id":154865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9573e80100000000000000000000000000..."} 
[2026-08-11 12:20:43] local.INFO: Packet analysis {"connection_id":154865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef95"} 
[2026-08-11 12:20:43] local.INFO: Extracted packet for processing {"connection_id":154865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef95"} 
[2026-08-11 12:20:43] 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-08-11 12:20: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-08-11 12:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539116835471360,"note":"Value kept but may cause issues"} 
[2026-08-11 12:20:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 12:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786430977000,"timestamp_ms":1786430977000,"timestamp_seconds":1786430977,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9573e8"} 
[2026-08-11 12:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:20:43] 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-08-11 12:20: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 12:20:43] 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-08-11 12:20: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-08-11 12:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":154865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":154865,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 12:20:43] local.INFO: GPS data processed {"connection_id":154865,"processed":0,"errors":0,"total":1} 
[2026-08-11 12:20:43] local.INFO: Acknowledgment sent {"connection_id":154865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:20:56] local.INFO: TCP Data received {"connection_id":153487,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef953180012db3ce8005ea07b0001c006829..."} 
[2026-08-11 12:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef953180012db3ce8005ea07b0001c006829..."} 
[2026-08-11 12:20:56] local.INFO: Processing buffer {"connection_id":153487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef953180012db3ce8005ea07b0001c006829..."} 
[2026-08-11 12:20:56] local.INFO: Packet analysis {"connection_id":153487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef95"} 
[2026-08-11 12:20:56] local.INFO: Extracted packet for processing {"connection_id":153487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef95"} 
[2026-08-11 12:20:56] local.INFO: GPS Element Parsed {"raw_longitude":766758528,"raw_latitude":99223472,"longitude_deg":76.6758528,"latitude_deg":9.9223472,"altitude":28,"angle":104,"satellites":41,"speed":47,"hex_longitude":"2db3ce80","hex_latitude":"05ea07b0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 12:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326324736001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377462573743734784,"note":"Value kept but may cause issues"} 
[2026-08-11 12:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5495235944920520704,"note":"Value kept but may cause issues"} 
[2026-08-11 12:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786430960000,"timestamp_ms":1786430960000,"timestamp_seconds":1786430960,"priority":1,"record_length":96,"hex_timestamp":"0000019fef953180"} 
[2026-08-11 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-08-11 12:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 12:20:56] 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-08-11 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-08-11 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-08-11 12:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:20:56] 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-08-11 12:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326324736001,"66":27767,"178":206,"88":20736,"24":47,"16":377462573743734784,"45":-5495235944920520704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,88,24,16,45]} 
[2026-08-11 12:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326324736001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:20:56] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-11 12:20:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377462573743734784,"km_value":377462573743734.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5495235944920520704,"description":"Unknown IO ID 45"} 
[2026-08-11 12:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326324736001,"power":27767,"unknown_178":206,"unknown_88":20736,"ignition":47,"odometer":null,"unknown_45":-5495235944920520704}} 
[2026-08-11 12:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":153487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:20:56] local.INFO: GPS data processed {"connection_id":153487,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:20:56] local.INFO: Acknowledgment sent {"connection_id":153487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:21:15] local.INFO: TCP Data received {"connection_id":154865,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef95c5f00100000000000000000000000000..."} 
[2026-08-11 12:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef95c5f00100000000000000000000000000..."} 
[2026-08-11 12:21:15] local.INFO: Processing buffer {"connection_id":154865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef95c5f00100000000000000000000000000..."} 
[2026-08-11 12:21:15] local.INFO: Packet analysis {"connection_id":154865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef95"} 
[2026-08-11 12:21:15] local.INFO: Extracted packet for processing {"connection_id":154865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef95"} 
[2026-08-11 12:21: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-08-11 12: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-08-11 12:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539116835471360,"note":"Value kept but may cause issues"} 
[2026-08-11 12:21:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 12:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786430998000,"timestamp_ms":1786430998000,"timestamp_seconds":1786430998,"priority":1,"record_length":96,"hex_timestamp":"0000019fef95c5f0"} 
[2026-08-11 12:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:21: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-08-11 12: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 12:21:15] 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-08-11 12: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-08-11 12:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":154865,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 12:21:15] local.INFO: GPS data processed {"connection_id":154865,"processed":0,"errors":0,"total":1} 
[2026-08-11 12:21:15] local.INFO: Acknowledgment sent {"connection_id":154865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:21:20] local.INFO: TCP Data received {"connection_id":152528,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:21:20] local.INFO: Processing buffer {"connection_id":152528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:21:20] local.INFO: IMEI packet received {"connection_id":152528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":152528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:21:25] local.INFO: TCP Data received {"connection_id":152528,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:21:25] local.INFO: Processing buffer {"connection_id":152528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:21:25] local.INFO: IMEI packet received {"connection_id":152528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":152528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:21:25] local.INFO: TCP Data received {"connection_id":152528,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9554a8012db3f2c005ea0300001c00642a..."} 
[2026-08-11 12:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9554a8012db3f2c005ea0300001c00642a..."} 
[2026-08-11 12:21:25] local.INFO: Processing buffer {"connection_id":152528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9554a8012db3f2c005ea0300001c00642a..."} 
[2026-08-11 12:21:25] local.INFO: Packet analysis {"connection_id":152528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef95"} 
[2026-08-11 12:21:25] local.INFO: Extracted packet for processing {"connection_id":152528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef95"} 
[2026-08-11 12:21:25] local.INFO: GPS Element Parsed {"raw_longitude":766767808,"raw_latitude":99222272,"longitude_deg":76.6767808,"latitude_deg":9.9222272,"altitude":28,"angle":100,"satellites":42,"speed":40,"hex_longitude":"2db3f2c0","hex_latitude":"05ea0300","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326325760001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377463024715300864,"note":"Value kept but may cause issues"} 
[2026-08-11 12:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5490310132828491776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786430969000,"timestamp_ms":1786430969000,"timestamp_seconds":1786430969,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9554a8"} 
[2026-08-11 12:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:21:25] 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-08-11 12: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-08-11 12:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:21:25] 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-08-11 12:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326325760001,"66":27767,"178":206,"88":20736,"24":40,"16":377463024715300864,"45":-5490310132828491776},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,88,24,16,45]} 
[2026-08-11 12:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326325760001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:21:25] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-11 12:21:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377463024715300864,"km_value":377463024715300.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5490310132828491776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326325760001,"power":27767,"unknown_178":206,"unknown_88":20736,"ignition":40,"odometer":null,"unknown_45":-5490310132828491776}} 
[2026-08-11 12:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":152528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:21:25] local.INFO: GPS data processed {"connection_id":152528,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:21:25] local.INFO: Acknowledgment sent {"connection_id":152528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:21:45] local.INFO: TCP Data received {"connection_id":154865,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9617f80100000000000000000000000000..."} 
[2026-08-11 12:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9617f80100000000000000000000000000..."} 
[2026-08-11 12:21:45] local.INFO: Processing buffer {"connection_id":154865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9617f80100000000000000000000000000..."} 
[2026-08-11 12:21:45] local.INFO: Packet analysis {"connection_id":154865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef96"} 
[2026-08-11 12:21:45] local.INFO: Extracted packet for processing {"connection_id":154865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef96"} 
[2026-08-11 12:21: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-08-11 12: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-08-11 12:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539116835471360,"note":"Value kept but may cause issues"} 
[2026-08-11 12:21:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 12:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786431019000,"timestamp_ms":1786431019000,"timestamp_seconds":1786431019,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9617f8"} 
[2026-08-11 12:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:21:45] 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-08-11 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 12:21:45] 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-08-11 12: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-08-11 12:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":154865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":154865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":154865,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 12:21:45] local.INFO: GPS data processed {"connection_id":154865,"processed":0,"errors":0,"total":1} 
[2026-08-11 12:21:45] local.INFO: Acknowledgment sent {"connection_id":154865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:21:57] local.INFO: TCP Data received {"connection_id":152528,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef956060012db3fe0005e9ff60001b007229..."} 
[2026-08-11 12:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef956060012db3fe0005e9ff60001b007229..."} 
[2026-08-11 12:21:57] local.INFO: Processing buffer {"connection_id":152528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef956060012db3fe0005e9ff60001b007229..."} 
[2026-08-11 12:21:57] local.INFO: Packet analysis {"connection_id":152528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef95"} 
[2026-08-11 12:21:57] local.INFO: Extracted packet for processing {"connection_id":152528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef95"} 
[2026-08-11 12:21:57] local.INFO: GPS Element Parsed {"raw_longitude":766770688,"raw_latitude":99221344,"longitude_deg":76.6770688,"latitude_deg":9.9221344,"altitude":27,"angle":114,"satellites":41,"speed":40,"hex_longitude":"2db3fe00","hex_latitude":"05e9ff60","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326328064001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377463170744188928,"note":"Value kept but may cause issues"} 
[2026-08-11 12:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5480106664923037696,"note":"Value kept but may cause issues"} 
[2026-08-11 12:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786430972000,"timestamp_ms":1786430972000,"timestamp_seconds":1786430972,"priority":1,"record_length":96,"hex_timestamp":"0000019fef956060"} 
[2026-08-11 12:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:21: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-08-11 12: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-08-11 12:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:21:57] 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-08-11 12:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326328064001,"66":27800,"178":206,"88":20736,"24":40,"16":377463170744188928,"45":-5480106664923037696},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,88,24,16,45]} 
[2026-08-11 12:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326328064001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:21:57] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-11 12:21:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377463170744188928,"km_value":377463170744188.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5480106664923037696,"description":"Unknown IO ID 45"} 
[2026-08-11 12:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326328064001,"power":27800,"unknown_178":206,"unknown_88":20736,"ignition":40,"odometer":null,"unknown_45":-5480106664923037696}} 
[2026-08-11 12:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":152528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:21:57] local.INFO: GPS data processed {"connection_id":152528,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:21:57] local.INFO: Acknowledgment sent {"connection_id":152528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:22:11] local.INFO: TCP Data received {"connection_id":152529,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:22:11] local.INFO: Processing buffer {"connection_id":152529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:22:11] local.INFO: IMEI packet received {"connection_id":152529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":152529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:22:16] local.INFO: TCP Data received {"connection_id":152529,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:22:16] local.INFO: Processing buffer {"connection_id":152529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:22:16] local.INFO: IMEI packet received {"connection_id":152529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":152529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:22:17] local.INFO: TCP Data received {"connection_id":152530,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:22:17] local.INFO: Processing buffer {"connection_id":152530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:22:17] local.INFO: IMEI packet received {"connection_id":152530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":152530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:22:19] local.INFO: TCP Data received {"connection_id":152530,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:22:19] local.INFO: Processing buffer {"connection_id":152530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:22:19] local.INFO: IMEI packet received {"connection_id":152530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":152530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:22:22] local.INFO: TCP Data received {"connection_id":152529,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef966a000100000000000000000000000000..."} 
[2026-08-11 12:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef966a000100000000000000000000000000..."} 
[2026-08-11 12:22:22] local.INFO: Processing buffer {"connection_id":152529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef966a000100000000000000000000000000..."} 
[2026-08-11 12:22:22] local.INFO: Packet analysis {"connection_id":152529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef96"} 
[2026-08-11 12:22:22] local.INFO: Extracted packet for processing {"connection_id":152529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef96"} 
[2026-08-11 12:22:22] 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-08-11 12:22: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-08-11 12:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539116835471360,"note":"Value kept but may cause issues"} 
[2026-08-11 12:22:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 12:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786431040000,"timestamp_ms":1786431040000,"timestamp_seconds":1786431040,"priority":1,"record_length":96,"hex_timestamp":"0000019fef966a00"} 
[2026-08-11 12:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:22:22] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:22: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":114,"data_length":795,"current_offset":136} 
[2026-08-11 12:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 12:22: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-08-11 12:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":152529,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 12:22:22] local.INFO: GPS data processed {"connection_id":152529,"processed":0,"errors":0,"total":1} 
[2026-08-11 12:22:22] local.INFO: Acknowledgment sent {"connection_id":152529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:22:25] local.INFO: TCP Data received {"connection_id":152530,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:22:25] local.INFO: Processing buffer {"connection_id":152530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:22:25] local.INFO: IMEI packet received {"connection_id":152530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":152530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:22:26] local.INFO: TCP Data received {"connection_id":152530,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef970258012db558c005e96ec8001c007729..."} 
[2026-08-11 12:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef970258012db558c005e96ec8001c007729..."} 
[2026-08-11 12:22:26] local.INFO: Processing buffer {"connection_id":152530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef970258012db558c005e96ec8001c007729..."} 
[2026-08-11 12:22:26] local.INFO: Packet analysis {"connection_id":152530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef97"} 
[2026-08-11 12:22:26] local.INFO: Extracted packet for processing {"connection_id":152530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef97"} 
[2026-08-11 12:22:26] local.INFO: GPS Element Parsed {"raw_longitude":766859456,"raw_latitude":99184328,"longitude_deg":76.6859456,"latitude_deg":9.9184328,"altitude":28,"angle":119,"satellites":41,"speed":33,"hex_longitude":"2db558c0","hex_latitude":"05e96ec8","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326353408001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377467835078672384,"note":"Value kept but may cause issues"} 
[2026-08-11 12:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5388838403733116928,"note":"Value kept but may cause issues"} 
[2026-08-11 12:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786431079000,"timestamp_ms":1786431079000,"timestamp_seconds":1786431079,"priority":1,"record_length":96,"hex_timestamp":"0000019fef970258"} 
[2026-08-11 12:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:22:26] 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-08-11 12: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-08-11 12:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:22:26] 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-08-11 12:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326353408001,"66":27865,"30":206,"88":20736,"24":33,"16":377467835078672384,"45":-5388838403733116928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,88,24,16,45]} 
[2026-08-11 12:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326353408001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:22:26] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-11 12:22:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377467835078672384,"km_value":377467835078672.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5388838403733116928,"description":"Unknown IO ID 45"} 
[2026-08-11 12:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326353408001,"power":27865,"unknown_30":206,"unknown_88":20736,"ignition":33,"odometer":null,"unknown_45":-5388838403733116928}} 
[2026-08-11 12:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":152530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:22:26] local.INFO: GPS data processed {"connection_id":152530,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:22:26] local.INFO: Acknowledgment sent {"connection_id":152530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:22:56] local.INFO: TCP Data received {"connection_id":152530,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef972968012db5780005e95cf0001c007529..."} 
[2026-08-11 12:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef972968012db5780005e95cf0001c007529..."} 
[2026-08-11 12:22:56] local.INFO: Processing buffer {"connection_id":152530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef972968012db5780005e95cf0001c007529..."} 
[2026-08-11 12:22:56] local.INFO: Packet analysis {"connection_id":152530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef97"} 
[2026-08-11 12:22:56] local.INFO: Extracted packet for processing {"connection_id":152530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef97"} 
[2026-08-11 12:22:56] local.INFO: GPS Element Parsed {"raw_longitude":766867456,"raw_latitude":99179760,"longitude_deg":76.6867456,"latitude_deg":9.917976,"altitude":28,"angle":117,"satellites":41,"speed":38,"hex_longitude":"2db57800","hex_latitude":"05e95cf0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326356224001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377468277460303872,"note":"Value kept but may cause issues"} 
[2026-08-11 12:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5379338623270336512,"note":"Value kept but may cause issues"} 
[2026-08-11 12:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786431089000,"timestamp_ms":1786431089000,"timestamp_seconds":1786431089,"priority":1,"record_length":96,"hex_timestamp":"0000019fef972968"} 
[2026-08-11 12:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 12:22:56] 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-08-11 12: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-08-11 12:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:22:56] 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-08-11 12:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326356224001,"66":27658,"30":206,"88":20736,"24":38,"16":377468277460303872,"45":-5379338623270336512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,88,24,16,45]} 
[2026-08-11 12:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326356224001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:22:56] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-11 12:22:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377468277460303872,"km_value":377468277460303.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5379338623270336512,"description":"Unknown IO ID 45"} 
[2026-08-11 12:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326356224001,"power":27658,"unknown_30":206,"unknown_88":20736,"ignition":38,"odometer":null,"unknown_45":-5379338623270336512}} 
[2026-08-11 12:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":152530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:22:56] local.INFO: GPS data processed {"connection_id":152530,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:22:56] local.INFO: Acknowledgment sent {"connection_id":152530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:22:59] local.INFO: TCP Data received {"connection_id":152529,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef96bc080100000000000000000000000000..."} 
[2026-08-11 12:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef96bc080100000000000000000000000000..."} 
[2026-08-11 12:22:59] local.INFO: Processing buffer {"connection_id":152529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef96bc080100000000000000000000000000..."} 
[2026-08-11 12:22:59] local.INFO: Packet analysis {"connection_id":152529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef96"} 
[2026-08-11 12:22:59] local.INFO: Extracted packet for processing {"connection_id":152529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef96"} 
[2026-08-11 12:22: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-08-11 12: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-08-11 12:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539116835471360,"note":"Value kept but may cause issues"} 
[2026-08-11 12:22:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 12:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786431061000,"timestamp_ms":1786431061000,"timestamp_seconds":1786431061,"priority":1,"record_length":96,"hex_timestamp":"0000019fef96bc08"} 
[2026-08-11 12:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 12:22: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-08-11 12: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-08-11 12:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":152529,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 12:22:59] local.INFO: GPS data processed {"connection_id":152529,"processed":0,"errors":0,"total":1} 
[2026-08-11 12:22:59] local.INFO: Acknowledgment sent {"connection_id":152529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:23:19] local.INFO: TCP Data received {"connection_id":152157,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:23:19] local.INFO: Processing buffer {"connection_id":152157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:23:19] local.INFO: IMEI packet received {"connection_id":152157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":152157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:23:25] local.INFO: TCP Data received {"connection_id":152157,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:23:25] local.INFO: Processing buffer {"connection_id":152157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:23:25] local.INFO: IMEI packet received {"connection_id":152157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":152157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:23:25] local.INFO: TCP Data received {"connection_id":152157,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef975078012db598c005e94bf0001d007429..."} 
[2026-08-11 12:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef975078012db598c005e94bf0001d007429..."} 
[2026-08-11 12:23:25] local.INFO: Processing buffer {"connection_id":152157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef975078012db598c005e94bf0001d007429..."} 
[2026-08-11 12:23:25] local.INFO: Packet analysis {"connection_id":152157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef97"} 
[2026-08-11 12:23:25] local.INFO: Extracted packet for processing {"connection_id":152157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef97"} 
[2026-08-11 12:23:25] local.INFO: GPS Element Parsed {"raw_longitude":766875840,"raw_latitude":99175408,"longitude_deg":76.687584,"latitude_deg":9.9175408,"altitude":29,"angle":116,"satellites":41,"speed":37,"hex_longitude":"2db598c0","hex_latitude":"05e94bf0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326358784001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377468728431869952,"note":"Value kept but may cause issues"} 
[2026-08-11 12:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5370542530249297920,"note":"Value kept but may cause issues"} 
[2026-08-11 12:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786431099000,"timestamp_ms":1786431099000,"timestamp_seconds":1786431099,"priority":1,"record_length":96,"hex_timestamp":"0000019fef975078"} 
[2026-08-11 12:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 12:23:25] 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-08-11 12: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-08-11 12:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:23:25] 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-08-11 12:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326358784001,"66":27865,"30":206,"88":20736,"24":37,"16":377468728431869952,"45":-5370542530249297920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,88,24,16,45]} 
[2026-08-11 12:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326358784001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:23:25] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-11 12:23:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377468728431869952,"km_value":377468728431869.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5370542530249297920,"description":"Unknown IO ID 45"} 
[2026-08-11 12:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326358784001,"power":27865,"unknown_30":206,"unknown_88":20736,"ignition":37,"odometer":null,"unknown_45":-5370542530249297920}} 
[2026-08-11 12:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":152157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:23:25] local.INFO: GPS data processed {"connection_id":152157,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:23:25] local.INFO: Acknowledgment sent {"connection_id":152157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:23:31] local.INFO: TCP Data received {"connection_id":152529,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef970e100100000000000000000000000000..."} 
[2026-08-11 12:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef970e100100000000000000000000000000..."} 
[2026-08-11 12:23:31] local.INFO: Processing buffer {"connection_id":152529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef970e100100000000000000000000000000..."} 
[2026-08-11 12:23:31] local.INFO: Packet analysis {"connection_id":152529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef97"} 
[2026-08-11 12:23:31] local.INFO: Extracted packet for processing {"connection_id":152529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef97"} 
[2026-08-11 12:23:31] 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-08-11 12:23: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-08-11 12:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539116835471360,"note":"Value kept but may cause issues"} 
[2026-08-11 12:23:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 12:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786431082000,"timestamp_ms":1786431082000,"timestamp_seconds":1786431082,"priority":1,"record_length":96,"hex_timestamp":"0000019fef970e10"} 
[2026-08-11 12:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:23: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":71,"data_length":795,"current_offset":136} 
[2026-08-11 12:23:31] 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-08-11 12:23: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-08-11 12:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":152529,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 12:23:31] local.INFO: GPS data processed {"connection_id":152529,"processed":0,"errors":0,"total":1} 
[2026-08-11 12:23:31] local.INFO: Acknowledgment sent {"connection_id":152529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:23:56] local.INFO: TCP Data received {"connection_id":152157,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef977788012db5ba8005e939e8001e00762a..."} 
[2026-08-11 12:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef977788012db5ba8005e939e8001e00762a..."} 
[2026-08-11 12:23:56] local.INFO: Processing buffer {"connection_id":152157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef977788012db5ba8005e939e8001e00762a..."} 
[2026-08-11 12:23:56] local.INFO: Packet analysis {"connection_id":152157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef97"} 
[2026-08-11 12:23:56] local.INFO: Extracted packet for processing {"connection_id":152157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef97"} 
[2026-08-11 12:23:56] local.INFO: GPS Element Parsed {"raw_longitude":766884480,"raw_latitude":99170792,"longitude_deg":76.688448,"latitude_deg":9.9170792,"altitude":30,"angle":118,"satellites":42,"speed":36,"hex_longitude":"2db5ba80","hex_latitude":"05e939e8","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326361344001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377469196583305216,"note":"Value kept but may cause issues"} 
[2026-08-11 12:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5361324224763138048,"note":"Value kept but may cause issues"} 
[2026-08-11 12:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786431109000,"timestamp_ms":1786431109000,"timestamp_seconds":1786431109,"priority":1,"record_length":96,"hex_timestamp":"0000019fef977788"} 
[2026-08-11 12:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 12:23:56] 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-08-11 12: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-08-11 12:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:23:56] 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-08-11 12:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326361344001,"66":27865,"30":206,"88":20736,"24":36,"16":377469196583305216,"45":-5361324224763138048},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,88,24,16,45]} 
[2026-08-11 12:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326361344001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:23:56] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-11 12:23:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-08-11 12:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377469196583305216,"km_value":377469196583305.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5361324224763138048,"description":"Unknown IO ID 45"} 
[2026-08-11 12:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326361344001,"power":27865,"unknown_30":206,"unknown_88":20736,"ignition":36,"odometer":null,"unknown_45":-5361324224763138048}} 
[2026-08-11 12:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":152157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:23:56] local.INFO: GPS data processed {"connection_id":152157,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:23:56] local.INFO: Acknowledgment sent {"connection_id":152157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:24:10] local.INFO: TCP Data received {"connection_id":153488,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:24:10] local.INFO: Processing buffer {"connection_id":153488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:24:10] local.INFO: IMEI packet received {"connection_id":153488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":153488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:24:15] local.INFO: TCP Data received {"connection_id":153488,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:24:15] local.INFO: Processing buffer {"connection_id":153488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:24:15] local.INFO: IMEI packet received {"connection_id":153488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":153488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:24:16] local.INFO: TCP Data received {"connection_id":153488,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef995030012d19b4400720b358002f013305..."} 
[2026-08-11 12:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef995030012d19b4400720b358002f013305..."} 
[2026-08-11 12:24:16] local.INFO: Processing buffer {"connection_id":153488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef995030012d19b4400720b358002f013305..."} 
[2026-08-11 12:24:16] local.INFO: Packet analysis {"connection_id":153488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef99"} 
[2026-08-11 12:24:16] local.INFO: Extracted packet for processing {"connection_id":153488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef99"} 
[2026-08-11 12:24:16] local.INFO: GPS Element Parsed {"raw_longitude":756659264,"raw_latitude":119583576,"longitude_deg":75.6659264,"latitude_deg":11.9583576,"altitude":47,"angle":307,"satellites":5,"speed":15,"hex_longitude":"2d19b440","hex_latitude":"0720b358","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326394624001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539344468738048,"note":"Value kept but may cause issues"} 
[2026-08-11 12:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852809064811245568,"note":"Value kept but may cause issues"} 
[2026-08-11 12:24:16] 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-08-11 12:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786431230000,"timestamp_ms":1786431230000,"timestamp_seconds":1786431230,"priority":1,"record_length":96,"hex_timestamp":"0000019fef995030"} 
[2026-08-11 12:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 12:24:16] 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-08-11 12: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-08-11 12:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326394624001,"66":14374,"103":206,"83":41984,"24":15,"16":11539344468738048,"45":1852809064811245568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 12:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326394624001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:24:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 12:24:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11539344468738048,"km_value":11539344468738.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852809064811245568,"description":"Unknown IO ID 45"} 
[2026-08-11 12:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326394624001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1852809064811245568}} 
[2026-08-11 12:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":153488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:24:16] local.INFO: GPS data processed {"connection_id":153488,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:24:16] local.INFO: Acknowledgment sent {"connection_id":153488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:24:19] local.INFO: TCP Data received {"connection_id":154867,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:24:19] local.INFO: Processing buffer {"connection_id":154867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:24:19] local.INFO: IMEI packet received {"connection_id":154867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":154867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:24:25] local.INFO: TCP Data received {"connection_id":154867,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:24:25] local.INFO: Processing buffer {"connection_id":154867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:24:25] local.INFO: IMEI packet received {"connection_id":154867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":154867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:24:25] local.INFO: TCP Data received {"connection_id":154867,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef98dee8012db6a50005e8a778001f008727..."} 
[2026-08-11 12:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef98dee8012db6a50005e8a778001f008727..."} 
[2026-08-11 12:24:25] local.INFO: Processing buffer {"connection_id":154867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef98dee8012db6a50005e8a778001f008727..."} 
[2026-08-11 12:24:25] local.INFO: Packet analysis {"connection_id":154867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef98"} 
[2026-08-11 12:24:25] local.INFO: Extracted packet for processing {"connection_id":154867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef98"} 
[2026-08-11 12:24:25] local.INFO: GPS Element Parsed {"raw_longitude":766944512,"raw_latitude":99133304,"longitude_deg":76.6944512,"latitude_deg":9.9133304,"altitude":31,"angle":135,"satellites":39,"speed":35,"hex_longitude":"2db6a500","hex_latitude":"05e8a778","is_valid_coordinates":true} 
[2026-08-11 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-08-11 12:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326384640001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377472714161520640,"note":"Value kept but may cause issues"} 
[2026-08-11 12:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5292855436687206400,"note":"Value kept but may cause issues"} 
[2026-08-11 12:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786431201000,"timestamp_ms":1786431201000,"timestamp_seconds":1786431201,"priority":1,"record_length":96,"hex_timestamp":"0000019fef98dee8"} 
[2026-08-11 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-08-11 12:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 12:24:25] 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-08-11 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-08-11 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-08-11 12:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:24:25] 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-08-11 12:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326384640001,"66":27908,"165":206,"92":41728,"24":35,"16":377472714161520640,"45":-5292855436687206400},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,92,24,16,45]} 
[2026-08-11 12:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326384640001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:24:25] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 12:24:25] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377472714161520640,"km_value":377472714161520.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5292855436687206400,"description":"Unknown IO ID 45"} 
[2026-08-11 12:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326384640001,"power":27908,"unknown_165":206,"unknown_92":41728,"ignition":35,"odometer":null,"unknown_45":-5292855436687206400}} 
[2026-08-11 12:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":154867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:24:25] local.INFO: GPS data processed {"connection_id":154867,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:24:25] local.INFO: Acknowledgment sent {"connection_id":154867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:24:46] local.INFO: TCP Data received {"connection_id":153488,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef995418012d19af800720b350002e012505..."} 
[2026-08-11 12:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef995418012d19af800720b350002e012505..."} 
[2026-08-11 12:24:46] local.INFO: Processing buffer {"connection_id":153488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef995418012d19af800720b350002e012505..."} 
[2026-08-11 12:24:46] local.INFO: Packet analysis {"connection_id":153488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef99"} 
[2026-08-11 12:24:46] local.INFO: Extracted packet for processing {"connection_id":153488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef99"} 
[2026-08-11 12:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756658048,"raw_latitude":119583568,"longitude_deg":75.6658048,"latitude_deg":11.9583568,"altitude":46,"angle":293,"satellites":5,"speed":19,"hex_longitude":"2d19af80","hex_latitude":"0720b350","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326394880001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539404598280192,"note":"Value kept but may cause issues"} 
[2026-08-11 12:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852175746113689600,"note":"Value kept but may cause issues"} 
[2026-08-11 12:24:46] 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-08-11 12:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786431231000,"timestamp_ms":1786431231000,"timestamp_seconds":1786431231,"priority":1,"record_length":96,"hex_timestamp":"0000019fef995418"} 
[2026-08-11 12:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 12:24:46] 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-08-11 12: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-08-11 12:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326394880001,"66":14374,"103":206,"83":41984,"24":19,"16":11539404598280192,"45":1852175746113689600},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 12:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326394880001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:24:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 12:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11539404598280192,"km_value":11539404598280.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852175746113689600,"description":"Unknown IO ID 45"} 
[2026-08-11 12:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326394880001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1852175746113689600}} 
[2026-08-11 12:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":153488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:24:47] local.INFO: GPS data processed {"connection_id":153488,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:24:47] local.INFO: Acknowledgment sent {"connection_id":153488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:24:56] local.INFO: TCP Data received {"connection_id":154867,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef98ee88012db6afc005e89e98001e007b28..."} 
[2026-08-11 12:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef98ee88012db6afc005e89e98001e007b28..."} 
[2026-08-11 12:24:56] local.INFO: Processing buffer {"connection_id":154867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef98ee88012db6afc005e89e98001e007b28..."} 
[2026-08-11 12:24:56] local.INFO: Packet analysis {"connection_id":154867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef98"} 
[2026-08-11 12:24:56] local.INFO: Extracted packet for processing {"connection_id":154867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef98"} 
[2026-08-11 12:24:56] local.INFO: GPS Element Parsed {"raw_longitude":766947264,"raw_latitude":99131032,"longitude_deg":76.6947264,"latitude_deg":9.9131032,"altitude":30,"angle":123,"satellites":40,"speed":36,"hex_longitude":"2db6afc0","hex_latitude":"05e89e98","is_valid_coordinates":true} 
[2026-08-11 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-08-11 12:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326387456001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377472885960212480,"note":"Value kept but may cause issues"} 
[2026-08-11 12:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5285818562271283200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786431205000,"timestamp_ms":1786431205000,"timestamp_seconds":1786431205,"priority":1,"record_length":96,"hex_timestamp":"0000019fef98ee88"} 
[2026-08-11 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-08-11 12:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 12:24:56] 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-08-11 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-08-11 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-08-11 12:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:24:56] 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-08-11 12:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326387456001,"66":27908,"165":206,"92":41728,"24":36,"16":377472885960212480,"45":-5285818562271283200},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,92,24,16,45]} 
[2026-08-11 12:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326387456001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:24:56] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 12:24:56] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377472885960212480,"km_value":377472885960212.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5285818562271283200,"description":"Unknown IO ID 45"} 
[2026-08-11 12:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326387456001,"power":27908,"unknown_165":206,"unknown_92":41728,"ignition":36,"odometer":null,"unknown_45":-5285818562271283200}} 
[2026-08-11 12:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":154867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:24:56] local.INFO: GPS data processed {"connection_id":154867,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:24:56] local.INFO: Acknowledgment sent {"connection_id":154867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:25:10] local.INFO: TCP Data received {"connection_id":152531,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:25:10] local.INFO: Processing buffer {"connection_id":152531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:25:10] local.INFO: IMEI packet received {"connection_id":152531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":152531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:25:14] local.INFO: TCP Data received {"connection_id":152531,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:25:14] local.INFO: Processing buffer {"connection_id":152531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:25:14] local.INFO: IMEI packet received {"connection_id":152531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":152531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:25:15] local.INFO: TCP Data received {"connection_id":152531,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:25:15] local.INFO: Processing buffer {"connection_id":152531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:25:15] local.INFO: IMEI packet received {"connection_id":152531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":152531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:25:16] local.INFO: TCP Data received {"connection_id":152531,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9a5200012d18d9c00720fc40003d013909..."} 
[2026-08-11 12:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9a5200012d18d9c00720fc40003d013909..."} 
[2026-08-11 12:25:16] local.INFO: Processing buffer {"connection_id":152531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9a5200012d18d9c00720fc40003d013909..."} 
[2026-08-11 12:25:16] local.INFO: Packet analysis {"connection_id":152531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9a"} 
[2026-08-11 12:25:16] local.INFO: Extracted packet for processing {"connection_id":152531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9a"} 
[2026-08-11 12:25:16] local.INFO: GPS Element Parsed {"raw_longitude":756603328,"raw_latitude":119602240,"longitude_deg":75.6603328,"latitude_deg":11.960224,"altitude":61,"angle":313,"satellites":9,"speed":32,"hex_longitude":"2d18d9c0","hex_latitude":"0720fc40","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326408960001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11542372420681728,"note":"Value kept but may cause issues"} 
[2026-08-11 12:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797358494402158592,"note":"Value kept but may cause issues"} 
[2026-08-11 12:25:16] 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-08-11 12:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786431296000,"timestamp_ms":1786431296000,"timestamp_seconds":1786431296,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9a5200"} 
[2026-08-11 12:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:25:16] 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-08-11 12: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 12:25:16] 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-08-11 12: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-08-11 12:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326408960001,"66":14396,"103":206,"83":41984,"24":32,"16":11542372420681728,"45":1797358494402158592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 12:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326408960001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:25:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 12:25:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11542372420681728,"km_value":11542372420681.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797358494402158592,"description":"Unknown IO ID 45"} 
[2026-08-11 12:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326408960001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1797358494402158592}} 
[2026-08-11 12:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":152531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:25:16] local.INFO: GPS data processed {"connection_id":152531,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:25:16] local.INFO: Acknowledgment sent {"connection_id":152531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:25:19] local.INFO: TCP Data received {"connection_id":154868,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:25:19] local.INFO: Processing buffer {"connection_id":154868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:25:19] local.INFO: IMEI packet received {"connection_id":154868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":154868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:25:20] local.INFO: TCP Data received {"connection_id":154868,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:25:20] local.INFO: Processing buffer {"connection_id":154868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:25:20] local.INFO: IMEI packet received {"connection_id":154868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":154868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:25:25] local.INFO: TCP Data received {"connection_id":154868,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:25:25] local.INFO: Processing buffer {"connection_id":154868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:25:25] local.INFO: IMEI packet received {"connection_id":154868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":154868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:25:25] local.INFO: TCP Data received {"connection_id":154868,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef98fe28012db6bb8005e89818001e007028..."} 
[2026-08-11 12:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef98fe28012db6bb8005e89818001e007028..."} 
[2026-08-11 12:25:25] local.INFO: Processing buffer {"connection_id":154868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef98fe28012db6bb8005e89818001e007028..."} 
[2026-08-11 12:25:25] local.INFO: Packet analysis {"connection_id":154868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef98"} 
[2026-08-11 12:25:25] local.INFO: Extracted packet for processing {"connection_id":154868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef98"} 
[2026-08-11 12:25:25] local.INFO: GPS Element Parsed {"raw_longitude":766950272,"raw_latitude":99129368,"longitude_deg":76.6950272,"latitude_deg":9.9129368,"altitude":30,"angle":112,"satellites":40,"speed":34,"hex_longitude":"2db6bb80","hex_latitude":"05e89818","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326388480001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377473053463937024,"note":"Value kept but may cause issues"} 
[2026-08-11 12:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5282792706272225280,"note":"Value kept but may cause issues"} 
[2026-08-11 12:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786431209000,"timestamp_ms":1786431209000,"timestamp_seconds":1786431209,"priority":1,"record_length":96,"hex_timestamp":"0000019fef98fe28"} 
[2026-08-11 12:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 12:25:25] 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-08-11 12: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-08-11 12:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:25:25] 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-08-11 12:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326388480001,"66":27767,"165":206,"92":41728,"24":34,"16":377473053463937024,"45":-5282792706272225280},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,92,24,16,45]} 
[2026-08-11 12:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326388480001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:25:25] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 12:25:25] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377473053463937024,"km_value":377473053463937.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5282792706272225280,"description":"Unknown IO ID 45"} 
[2026-08-11 12:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326388480001,"power":27767,"unknown_165":206,"unknown_92":41728,"ignition":34,"odometer":null,"unknown_45":-5282792706272225280}} 
[2026-08-11 12:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":154868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:25:25] local.INFO: GPS data processed {"connection_id":154868,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:25:25] local.INFO: Acknowledgment sent {"connection_id":154868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:25:48] local.INFO: TCP Data received {"connection_id":152531,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9a59d0012d18d5c007210148003e014709..."} 
[2026-08-11 12:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9a59d0012d18d5c007210148003e014709..."} 
[2026-08-11 12:25:48] local.INFO: Processing buffer {"connection_id":152531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9a59d0012d18d5c007210148003e014709..."} 
[2026-08-11 12:25:48] local.INFO: Packet analysis {"connection_id":152531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9a"} 
[2026-08-11 12:25:48] local.INFO: Extracted packet for processing {"connection_id":152531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9a"} 
[2026-08-11 12:25:48] local.INFO: GPS Element Parsed {"raw_longitude":756602304,"raw_latitude":119603528,"longitude_deg":75.6602304,"latitude_deg":11.9603528,"altitude":62,"angle":327,"satellites":9,"speed":33,"hex_longitude":"2d18d5c0","hex_latitude":"07210148","is_valid_coordinates":true} 
[2026-08-11 12:25: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-08-11 12:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326411776001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11542449730093056,"note":"Value kept but may cause issues"} 
[2026-08-11 12:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790673463707189248,"note":"Value kept but may cause issues"} 
[2026-08-11 12:25:48] 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-08-11 12:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786431298000,"timestamp_ms":1786431298000,"timestamp_seconds":1786431298,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9a59d0"} 
[2026-08-11 12:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:25:48] 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-08-11 12:25: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 12:25:48] 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-08-11 12:25: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-08-11 12:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326411776001,"66":14396,"103":206,"83":41984,"24":33,"16":11542449730093056,"45":1790673463707189248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 12:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326411776001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:25:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 12:25:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11542449730093056,"km_value":11542449730093.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790673463707189248,"description":"Unknown IO ID 45"} 
[2026-08-11 12:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326411776001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1790673463707189248}} 
[2026-08-11 12:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":152531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:25:48] local.INFO: GPS data processed {"connection_id":152531,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:25:48] local.INFO: Acknowledgment sent {"connection_id":152531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:25:56] local.INFO: TCP Data received {"connection_id":154868,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9911b0012db6cc8005e893a0001d006328..."} 
[2026-08-11 12:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9911b0012db6cc8005e893a0001d006328..."} 
[2026-08-11 12:25:56] local.INFO: Processing buffer {"connection_id":154868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9911b0012db6cc8005e893a0001d006328..."} 
[2026-08-11 12:25:56] local.INFO: Packet analysis {"connection_id":154868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef99"} 
[2026-08-11 12:25:56] local.INFO: Extracted packet for processing {"connection_id":154868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef99"} 
[2026-08-11 12:25:56] local.INFO: GPS Element Parsed {"raw_longitude":766954624,"raw_latitude":99128224,"longitude_deg":76.6954624,"latitude_deg":9.9128224,"altitude":29,"angle":99,"satellites":40,"speed":36,"hex_longitude":"2db6cc80","hex_latitude":"05e893a0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 12:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326389504001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377473268212301824,"note":"Value kept but may cause issues"} 
[2026-08-11 12:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5279485375296301056,"note":"Value kept but may cause issues"} 
[2026-08-11 12:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786431214000,"timestamp_ms":1786431214000,"timestamp_seconds":1786431214,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9911b0"} 
[2026-08-11 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-08-11 12:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:25:56] 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-08-11 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-08-11 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-08-11 12:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:25:56] 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-08-11 12:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326389504001,"66":27876,"165":206,"92":41728,"24":36,"16":377473268212301824,"45":-5279485375296301056},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,92,24,16,45]} 
[2026-08-11 12:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326389504001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:25:56] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 12:25:56] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377473268212301824,"km_value":377473268212301.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5279485375296301056,"description":"Unknown IO ID 45"} 
[2026-08-11 12:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326389504001,"power":27876,"unknown_165":206,"unknown_92":41728,"ignition":36,"odometer":null,"unknown_45":-5279485375296301056}} 
[2026-08-11 12:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":154868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:25:56] local.INFO: GPS data processed {"connection_id":154868,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:25:56] local.INFO: Acknowledgment sent {"connection_id":154868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:26:11] local.INFO: TCP Data received {"connection_id":154869,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:26:11] local.INFO: Processing buffer {"connection_id":154869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:26:11] local.INFO: IMEI packet received {"connection_id":154869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":154869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:26:11] local.INFO: TCP Data received {"connection_id":154869,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:26:11] local.INFO: Processing buffer {"connection_id":154869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:26:11] local.INFO: IMEI packet received {"connection_id":154869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":154869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:26:16] local.INFO: TCP Data received {"connection_id":154869,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:26:16] local.INFO: Processing buffer {"connection_id":154869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:26:16] local.INFO: IMEI packet received {"connection_id":154869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":154869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:26:16] local.INFO: TCP Data received {"connection_id":154869,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9b1550012d188b4007218108004401220c..."} 
[2026-08-11 12:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9b1550012d188b4007218108004401220c..."} 
[2026-08-11 12:26:16] local.INFO: Processing buffer {"connection_id":154869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9b1550012d188b4007218108004401220c..."} 
[2026-08-11 12:26:16] local.INFO: Packet analysis {"connection_id":154869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9b"} 
[2026-08-11 12:26:16] local.INFO: Extracted packet for processing {"connection_id":154869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9b"} 
[2026-08-11 12:26:16] local.INFO: GPS Element Parsed {"raw_longitude":756583232,"raw_latitude":119636232,"longitude_deg":75.6583232,"latitude_deg":11.9636232,"altitude":68,"angle":290,"satellites":12,"speed":36,"hex_longitude":"2d188b40","hex_latitude":"07218108","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326423552001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544434004983808,"note":"Value kept but may cause issues"} 
[2026-08-11 12:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773362752647895040,"note":"Value kept but may cause issues"} 
[2026-08-11 12:26:16] 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-08-11 12:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786431346000,"timestamp_ms":1786431346000,"timestamp_seconds":1786431346,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9b1550"} 
[2026-08-11 12:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 12:26:16] 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-08-11 12: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-08-11 12:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326423552001,"66":14374,"103":206,"83":41984,"24":36,"16":11544434004983808,"45":1773362752647895040},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 12:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326423552001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:26:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 12:26:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544434004983808,"km_value":11544434004983.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773362752647895040,"description":"Unknown IO ID 45"} 
[2026-08-11 12:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326423552001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1773362752647895040}} 
[2026-08-11 12:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":154869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:26:16] local.INFO: GPS data processed {"connection_id":154869,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:26:16] local.INFO: Acknowledgment sent {"connection_id":154869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:26:25] local.INFO: TCP Data received {"connection_id":152532,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:26:25] local.INFO: Processing buffer {"connection_id":152532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:26:25] local.INFO: IMEI packet received {"connection_id":152532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":152532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:26:25] local.INFO: TCP Data received {"connection_id":152532,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:26:25] local.INFO: Processing buffer {"connection_id":152532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:26:25] local.INFO: IMEI packet received {"connection_id":152532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":152532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:26:30] local.INFO: TCP Data received {"connection_id":152532,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:26:30] local.INFO: Processing buffer {"connection_id":152532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:26:30] local.INFO: IMEI packet received {"connection_id":152532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":152532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:26:43] local.INFO: TCP Data received {"connection_id":152532,"ip":"42.106.6.32","data_length":1348,"data_hex":"000000000000030f8e0a0000019fef992538012db6df8005e89258001c005828..."} 
[2026-08-11 12:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152532,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019fef992538012db6df8005e89258001c005828..."} 
[2026-08-11 12:26:43] local.INFO: Processing buffer {"connection_id":152532,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019fef992538012db6df8005e89258001c005828..."} 
[2026-08-11 12:26:43] local.INFO: Packet analysis {"connection_id":152532,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019fef99"} 
[2026-08-11 12:26:43] local.INFO: Extracted packet for processing {"connection_id":152532,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fef99"} 
[2026-08-11 12:26:43] local.INFO: GPS Element Parsed {"raw_longitude":766959488,"raw_latitude":99127896,"longitude_deg":76.6959488,"latitude_deg":9.9127896,"altitude":28,"angle":88,"satellites":40,"speed":37,"hex_longitude":"2db6df80","hex_latitude":"05e89258","is_valid_coordinates":true} 
[2026-08-11 12:26: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-08-11 12:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326390784001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377473500140535808,"note":"Value kept but may cause issues"} 
[2026-08-11 12:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5274700300692512768,"note":"Value kept but may cause issues"} 
[2026-08-11 12:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786431219000,"timestamp_ms":1786431219000,"timestamp_seconds":1786431219,"priority":1,"record_length":96,"hex_timestamp":"0000019fef992538"} 
[2026-08-11 12:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:26: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-08-11 12:26: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-08-11 12:26: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-08-11 12:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:26:43] 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-08-11 12:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326390784001,"66":27767,"165":206,"92":41728,"24":37,"16":377473500140535808,"45":-5274700300692512768},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,92,24,16,45]} 
[2026-08-11 12:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326390784001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:26:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 12:26:43] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377473500140535808,"km_value":377473500140535.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5274700300692512768,"description":"Unknown IO ID 45"} 
[2026-08-11 12:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326390784001,"power":27767,"unknown_165":206,"unknown_92":41728,"ignition":37,"odometer":null,"unknown_45":-5274700300692512768}} 
[2026-08-11 12:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":152532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:26:43] local.INFO: GPS data processed {"connection_id":152532,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:26:43] local.INFO: Acknowledgment sent {"connection_id":152532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:26:43] local.INFO: Packet analysis {"connection_id":152532,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fef99"} 
[2026-08-11 12:26:43] local.INFO: Incomplete packet, waiting for more data {"connection_id":152532,"needed":795,"available":553} 
[2026-08-11 12:26:46] local.INFO: TCP Data received {"connection_id":152532,"ip":"42.106.6.32","data_length":1037,"data_hex":"0000000000019fef989c80012db67b0005e8d0d0002300792800230000000a00..."} 
[2026-08-11 12:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152532,"packet_length":1037,"packet_hex":"0000000000019fef989c80012db67b0005e8d0d0002300792800230000000a00..."} 
[2026-08-11 12:26:46] local.INFO: Processing buffer {"connection_id":152532,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fef994c48012db7028005e89240001c00622a..."} 
[2026-08-11 12:26:46] local.INFO: Packet analysis {"connection_id":152532,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fef99"} 
[2026-08-11 12:26:46] local.INFO: Extracted packet for processing {"connection_id":152532,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef99"} 
[2026-08-11 12:26:46] local.INFO: GPS Element Parsed {"raw_longitude":766968448,"raw_latitude":99127872,"longitude_deg":76.6968448,"latitude_deg":9.9127872,"altitude":28,"angle":98,"satellites":42,"speed":36,"hex_longitude":"2db70280","hex_latitude":"05e89240","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326392064001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377473929637265408,"note":"Value kept but may cause issues"} 
[2026-08-11 12:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5269352276135094272,"note":"Value kept but may cause issues"} 
[2026-08-11 12:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786431229000,"timestamp_ms":1786431229000,"timestamp_seconds":1786431229,"priority":1,"record_length":96,"hex_timestamp":"0000019fef994c48"} 
[2026-08-11 12:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:26:46] 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-08-11 12: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-08-11 12:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:26:46] 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-08-11 12:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326392064001,"66":27821,"165":206,"92":41728,"24":36,"16":377473929637265408,"45":-5269352276135094272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,92,24,16,45]} 
[2026-08-11 12:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326392064001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:26:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 12:26:46] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377473929637265408,"km_value":377473929637265.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5269352276135094272,"description":"Unknown IO ID 45"} 
[2026-08-11 12:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326392064001,"power":27821,"unknown_165":206,"unknown_92":41728,"ignition":36,"odometer":null,"unknown_45":-5269352276135094272}} 
[2026-08-11 12:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":152532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:26:46] local.INFO: GPS data processed {"connection_id":152532,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:26:46] local.INFO: Acknowledgment sent {"connection_id":152532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:26:46] local.INFO: Packet analysis {"connection_id":152532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef99"} 
[2026-08-11 12:26:46] local.INFO: Extracted packet for processing {"connection_id":152532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef99"} 
[2026-08-11 12:26:46] local.INFO: GPS Element Parsed {"raw_longitude":766971136,"raw_latitude":99127168,"longitude_deg":76.6971136,"latitude_deg":9.9127168,"altitude":27,"angle":112,"satellites":42,"speed":35,"hex_longitude":"2db70d00","hex_latitude":"05e88f80","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326394624001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377474062781251584,"note":"Value kept but may cause issues"} 
[2026-08-11 12:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5259500651950227456,"note":"Value kept but may cause issues"} 
[2026-08-11 12:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786431232000,"timestamp_ms":1786431232000,"timestamp_seconds":1786431232,"priority":1,"record_length":96,"hex_timestamp":"0000019fef995800"} 
[2026-08-11 12:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 12:26:46] 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-08-11 12: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-08-11 12:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:26:46] 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-08-11 12:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326394624001,"66":27800,"165":206,"92":41728,"24":35,"16":377474062781251584,"45":-5259500651950227456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,92,24,16,45]} 
[2026-08-11 12:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326394624001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:26:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 12:26:46] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377474062781251584,"km_value":377474062781251.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5259500651950227456,"description":"Unknown IO ID 45"} 
[2026-08-11 12:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326394624001,"power":27800,"unknown_165":206,"unknown_92":41728,"ignition":35,"odometer":null,"unknown_45":-5259500651950227456}} 
[2026-08-11 12:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":152532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:26:46] local.INFO: GPS data processed {"connection_id":152532,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:26:46] local.INFO: Acknowledgment sent {"connection_id":152532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:26:48] local.INFO: TCP Data received {"connection_id":154869,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9b1d20012d18840007218280004401170c..."} 
[2026-08-11 12:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9b1d20012d18840007218280004401170c..."} 
[2026-08-11 12:26:48] local.INFO: Processing buffer {"connection_id":154869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9b1d20012d18840007218280004401170c..."} 
[2026-08-11 12:26:48] local.INFO: Packet analysis {"connection_id":154869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9b"} 
[2026-08-11 12:26:48] local.INFO: Extracted packet for processing {"connection_id":154869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9b"} 
[2026-08-11 12:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756581376,"raw_latitude":119636608,"longitude_deg":75.6581376,"latitude_deg":11.9636608,"altitude":68,"angle":279,"satellites":12,"speed":35,"hex_longitude":"2d188400","hex_latitude":"07218280","is_valid_coordinates":true} 
[2026-08-11 12:26: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-08-11 12:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326424576001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544528494264320,"note":"Value kept but may cause issues"} 
[2026-08-11 12:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768577678044104704,"note":"Value kept but may cause issues"} 
[2026-08-11 12:26:48] 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-08-11 12:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786431348000,"timestamp_ms":1786431348000,"timestamp_seconds":1786431348,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9b1d20"} 
[2026-08-11 12:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:26: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 12:26:48] 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-08-11 12:26: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-08-11 12:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326424576001,"66":14396,"106":206,"83":41984,"24":35,"16":11544528494264320,"45":1768577678044104704},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 12:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326424576001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:26:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 12:26:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544528494264320,"km_value":11544528494264.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768577678044104704,"description":"Unknown IO ID 45"} 
[2026-08-11 12:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326424576001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1768577678044104704}} 
[2026-08-11 12:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":154869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:26:48] local.INFO: GPS data processed {"connection_id":154869,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:26:48] local.INFO: Acknowledgment sent {"connection_id":154869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:27:11] local.INFO: TCP Data received {"connection_id":153489,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:27:11] local.INFO: Processing buffer {"connection_id":153489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:27:11] local.INFO: IMEI packet received {"connection_id":153489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":153489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:27:16] local.INFO: TCP Data received {"connection_id":153489,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:27:16] local.INFO: Processing buffer {"connection_id":153489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:27:16] local.INFO: IMEI packet received {"connection_id":153489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":153489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:27:17] local.INFO: TCP Data received {"connection_id":153489,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9b28d8012d187800072182680046010a0c..."} 
[2026-08-11 12:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9b28d8012d187800072182680046010a0c..."} 
[2026-08-11 12:27:17] local.INFO: Processing buffer {"connection_id":153489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9b28d8012d187800072182680046010a0c..."} 
[2026-08-11 12:27:17] local.INFO: Packet analysis {"connection_id":153489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9b"} 
[2026-08-11 12:27:17] local.INFO: Extracted packet for processing {"connection_id":153489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9b"} 
[2026-08-11 12:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756578304,"raw_latitude":119636584,"longitude_deg":75.6578304,"latitude_deg":11.9636584,"altitude":70,"angle":266,"satellites":12,"speed":35,"hex_longitude":"2d187800","hex_latitude":"07218268","is_valid_coordinates":true} 
[2026-08-11 12:27: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-08-11 12:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326425088001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544670228185088,"note":"Value kept but may cause issues"} 
[2026-08-11 12:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766536984463048704,"note":"Value kept but may cause issues"} 
[2026-08-11 12:27:17] 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-08-11 12:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786431351000,"timestamp_ms":1786431351000,"timestamp_seconds":1786431351,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9b28d8"} 
[2026-08-11 12:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:27: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 12:27:17] 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-08-11 12:27: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-08-11 12:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326425088001,"66":14428,"106":206,"83":41984,"24":35,"16":11544670228185088,"45":1766536984463048704},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 12:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326425088001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:27:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 12:27:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544670228185088,"km_value":11544670228185.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766536984463048704,"description":"Unknown IO ID 45"} 
[2026-08-11 12:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326425088001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1766536984463048704}} 
[2026-08-11 12:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":153489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:27:17] local.INFO: GPS data processed {"connection_id":153489,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:27:17] local.INFO: Acknowledgment sent {"connection_id":153489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:27:18] local.INFO: TCP Data received {"connection_id":154870,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:27:18] local.INFO: Processing buffer {"connection_id":154870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:27:18] local.INFO: IMEI packet received {"connection_id":154870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":154870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:27:19] local.INFO: TCP Data received {"connection_id":154870,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:27:19] local.INFO: Processing buffer {"connection_id":154870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:27:19] local.INFO: IMEI packet received {"connection_id":154870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":154870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:27:25] local.INFO: TCP Data received {"connection_id":154870,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:27:25] local.INFO: Processing buffer {"connection_id":154870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:27:25] local.INFO: IMEI packet received {"connection_id":154870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":154870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:27:26] local.INFO: TCP Data received {"connection_id":154870,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9ba5d8012db7e3c005e7efe0002300b02d..."} 
[2026-08-11 12:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9ba5d8012db7e3c005e7efe0002300b02d..."} 
[2026-08-11 12:27:26] local.INFO: Processing buffer {"connection_id":154870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9ba5d8012db7e3c005e7efe0002300b02d..."} 
[2026-08-11 12:27:26] local.INFO: Packet analysis {"connection_id":154870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9b"} 
[2026-08-11 12:27:26] local.INFO: Extracted packet for processing {"connection_id":154870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9b"} 
[2026-08-11 12:27:26] local.INFO: GPS Element Parsed {"raw_longitude":767026112,"raw_latitude":99086304,"longitude_deg":76.7026112,"latitude_deg":9.9086304,"altitude":35,"angle":176,"satellites":45,"speed":15,"hex_longitude":"2db7e3c0","hex_latitude":"05e7efe0","is_valid_coordinates":true} 
[2026-08-11 12:27: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-08-11 12:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326433792001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377477365611102208,"note":"Value kept but may cause issues"} 
[2026-08-11 12:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5196098413456695296,"note":"Value kept but may cause issues"} 
[2026-08-11 12:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786431383000,"timestamp_ms":1786431383000,"timestamp_seconds":1786431383,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9ba5d8"} 
[2026-08-11 12:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:27: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":97,"data_length":795,"current_offset":136} 
[2026-08-11 12:27:26] 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-08-11 12:27: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-08-11 12:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:27:26] 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-08-11 12:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326433792001,"66":27745,"225":206,"92":41728,"24":15,"16":377477365611102208,"45":-5196098413456695296},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,92,24,16,45]} 
[2026-08-11 12:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326433792001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:27:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-11 12:27:26] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377477365611102208,"km_value":377477365611102.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5196098413456695296,"description":"Unknown IO ID 45"} 
[2026-08-11 12:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326433792001,"power":27745,"unknown_225":206,"unknown_92":41728,"ignition":15,"odometer":null,"unknown_45":-5196098413456695296}} 
[2026-08-11 12:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":154870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:27:26] local.INFO: GPS data processed {"connection_id":154870,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:27:26] local.INFO: Acknowledgment sent {"connection_id":154870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:27:52] local.INFO: TCP Data received {"connection_id":153489,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9ccad0012d181a000721a9e8004c014b19..."} 
[2026-08-11 12:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9ccad0012d181a000721a9e8004c014b19..."} 
[2026-08-11 12:27:52] local.INFO: Processing buffer {"connection_id":153489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9ccad0012d181a000721a9e8004c014b19..."} 
[2026-08-11 12:27:52] local.INFO: Packet analysis {"connection_id":153489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9c"} 
[2026-08-11 12:27:52] local.INFO: Extracted packet for processing {"connection_id":153489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9c"} 
[2026-08-11 12:27:52] local.INFO: GPS Element Parsed {"raw_longitude":756554240,"raw_latitude":119646696,"longitude_deg":75.655424,"latitude_deg":11.9646696,"altitude":76,"angle":331,"satellites":25,"speed":0,"hex_longitude":"2d181a00","hex_latitude":"0721a9e8","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326447872001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11545963013341184,"note":"Value kept but may cause issues"} 
[2026-08-11 12:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736700636934301696,"note":"Value kept but may cause issues"} 
[2026-08-11 12:27: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-08-11 12:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786431458000,"timestamp_ms":1786431458000,"timestamp_seconds":1786431458,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9ccad0"} 
[2026-08-11 12:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 12:27:52] 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-08-11 12: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-08-11 12:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326447872001,"66":14613,"105":206,"83":41984,"24":0,"16":11545963013341184,"45":1736700636934301696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326447872001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:27:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:27:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11545963013341184,"km_value":11545963013341.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736700636934301696,"description":"Unknown IO ID 45"} 
[2026-08-11 12:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326447872001,"power":14613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736700636934301696}} 
[2026-08-11 12:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":153489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:27:52] local.INFO: GPS data processed {"connection_id":153489,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:27:52] local.INFO: Acknowledgment sent {"connection_id":153489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:27:56] local.INFO: TCP Data received {"connection_id":154870,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9ba9c0012db7e38005e7ee68002300c02c..."} 
[2026-08-11 12:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9ba9c0012db7e38005e7ee68002300c02c..."} 
[2026-08-11 12:27:56] local.INFO: Processing buffer {"connection_id":154870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9ba9c0012db7e38005e7ee68002300c02c..."} 
[2026-08-11 12:27:56] local.INFO: Packet analysis {"connection_id":154870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9b"} 
[2026-08-11 12:27:56] local.INFO: Extracted packet for processing {"connection_id":154870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9b"} 
[2026-08-11 12:27:56] local.INFO: GPS Element Parsed {"raw_longitude":767026048,"raw_latitude":99085928,"longitude_deg":76.7026048,"latitude_deg":9.9085928,"altitude":35,"angle":192,"satellites":44,"speed":16,"hex_longitude":"2db7e380","hex_latitude":"05e7ee68","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326434048001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377477382790971392,"note":"Value kept but may cause issues"} 
[2026-08-11 12:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5196098413456793600,"note":"Value kept but may cause issues"} 
[2026-08-11 12:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786431384000,"timestamp_ms":1786431384000,"timestamp_seconds":1786431384,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9ba9c0"} 
[2026-08-11 12:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 12:27:56] 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-08-11 12: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-08-11 12:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:27:56] 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-08-11 12:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326434048001,"66":27821,"225":206,"92":41728,"24":16,"16":377477382790971392,"45":-5196098413456793600},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,92,24,16,45]} 
[2026-08-11 12:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326434048001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:27:56] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-11 12:27:56] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377477382790971392,"km_value":377477382790971.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5196098413456793600,"description":"Unknown IO ID 45"} 
[2026-08-11 12:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326434048001,"power":27821,"unknown_225":206,"unknown_92":41728,"ignition":16,"odometer":null,"unknown_45":-5196098413456793600}} 
[2026-08-11 12:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":154870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:27:56] local.INFO: GPS data processed {"connection_id":154870,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:27:56] local.INFO: Acknowledgment sent {"connection_id":154870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:28:11] local.INFO: TCP Data received {"connection_id":152158,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:28:11] local.INFO: Processing buffer {"connection_id":152158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:28:11] local.INFO: IMEI packet received {"connection_id":152158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":152158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:28:16] local.INFO: TCP Data received {"connection_id":152158,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:28:16] local.INFO: Processing buffer {"connection_id":152158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:28:16] local.INFO: IMEI packet received {"connection_id":152158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":152158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:28:16] local.INFO: TCP Data received {"connection_id":152158,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9cd2a0012d181a800721a998004c001b19..."} 
[2026-08-11 12:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9cd2a0012d181a800721a998004c001b19..."} 
[2026-08-11 12:28:16] local.INFO: Processing buffer {"connection_id":152158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9cd2a0012d181a800721a998004c001b19..."} 
[2026-08-11 12:28:16] local.INFO: Packet analysis {"connection_id":152158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9c"} 
[2026-08-11 12:28:16] local.INFO: Extracted packet for processing {"connection_id":152158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9c"} 
[2026-08-11 12:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756554368,"raw_latitude":119646616,"longitude_deg":75.6554368,"latitude_deg":11.9646616,"altitude":76,"angle":27,"satellites":25,"speed":3,"hex_longitude":"2d181a80","hex_latitude":"0721a998","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326453248001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11545967308308480,"note":"Value kept but may cause issues"} 
[2026-08-11 12:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736700636934301696,"note":"Value kept but may cause issues"} 
[2026-08-11 12:28:16] 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-08-11 12:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786431460000,"timestamp_ms":1786431460000,"timestamp_seconds":1786431460,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9cd2a0"} 
[2026-08-11 12:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:28:16] 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-08-11 12: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-08-11 12:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 12: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-08-11 12:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326453248001,"66":14548,"105":206,"83":41984,"24":3,"16":11545967308308480,"45":1736700636934301696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326453248001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:28:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:28:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11545967308308480,"km_value":11545967308308.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736700636934301696,"description":"Unknown IO ID 45"} 
[2026-08-11 12:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326453248001,"power":14548,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1736700636934301696}} 
[2026-08-11 12:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":152158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:28:17] local.INFO: GPS data processed {"connection_id":152158,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:28:17] local.INFO: Acknowledgment sent {"connection_id":152158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:28:24] local.INFO: TCP Data received {"connection_id":153490,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:28:24] local.INFO: Processing buffer {"connection_id":153490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:28:24] local.INFO: IMEI packet received {"connection_id":153490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":153490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:28:25] local.INFO: TCP Data received {"connection_id":153490,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 12:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153490,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 12:28:25] local.INFO: Processing buffer {"connection_id":153490,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 12:28:25] local.INFO: IMEI packet received {"connection_id":153490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":153490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:28:26] local.INFO: TCP Data received {"connection_id":153490,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9bada8012db7e30005e7ecd0002200ce2d..."} 
[2026-08-11 12:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9bada8012db7e30005e7ecd0002200ce2d..."} 
[2026-08-11 12:28:26] local.INFO: Processing buffer {"connection_id":153490,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fef..."} 
[2026-08-11 12:28:26] local.INFO: IMEI packet received {"connection_id":153490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":153490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:28:27] local.INFO: TCP Data received {"connection_id":153490,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9be458012db7d3c005e7ca10002100c82c..."} 
[2026-08-11 12:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9be458012db7d3c005e7ca10002100c82c..."} 
[2026-08-11 12:28:27] local.INFO: Processing buffer {"connection_id":153490,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fef9bada8012db7e30005e7ecd0002200ce2d..."} 
[2026-08-11 12:28:27] local.INFO: Packet analysis {"connection_id":153490,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fef9b"} 
[2026-08-11 12:28:27] local.INFO: Extracted packet for processing {"connection_id":153490,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9b"} 
[2026-08-11 12:28:27] local.INFO: GPS Element Parsed {"raw_longitude":767025920,"raw_latitude":99085520,"longitude_deg":76.702592,"latitude_deg":9.908552,"altitude":34,"angle":206,"satellites":45,"speed":19,"hex_longitude":"2db7e300","hex_latitude":"05e7ecd0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326434304001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377477404265807872,"note":"Value kept but may cause issues"} 
[2026-08-11 12:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5196168782201067520,"note":"Value kept but may cause issues"} 
[2026-08-11 12:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786431385000,"timestamp_ms":1786431385000,"timestamp_seconds":1786431385,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9bada8"} 
[2026-08-11 12:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 12:28:27] 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-08-11 12: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-08-11 12:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:28:27] 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-08-11 12:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326434304001,"66":27821,"225":206,"92":41728,"24":19,"16":377477404265807872,"45":-5196168782201067520},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,92,24,16,45]} 
[2026-08-11 12:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326434304001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:28:27] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-11 12:28:27] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377477404265807872,"km_value":377477404265807.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5196168782201067520,"description":"Unknown IO ID 45"} 
[2026-08-11 12:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326434304001,"power":27821,"unknown_225":206,"unknown_92":41728,"ignition":19,"odometer":null,"unknown_45":-5196168782201067520}} 
[2026-08-11 12:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":153490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:28:27] local.INFO: GPS data processed {"connection_id":153490,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:28:27] local.INFO: Acknowledgment sent {"connection_id":153490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:28:27] local.INFO: Packet analysis {"connection_id":153490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9b"} 
[2026-08-11 12:28:27] local.INFO: Extracted packet for processing {"connection_id":153490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9b"} 
[2026-08-11 12:28:27] local.INFO: GPS Element Parsed {"raw_longitude":767022016,"raw_latitude":99076624,"longitude_deg":76.7022016,"latitude_deg":9.9076624,"altitude":33,"angle":200,"satellites":44,"speed":35,"hex_longitude":"2db7d3c0","hex_latitude":"05e7ca10","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326434560001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377477876712210432,"note":"Value kept but may cause issues"} 
[2026-08-11 12:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5196309519689527296,"note":"Value kept but may cause issues"} 
[2026-08-11 12:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786431399000,"timestamp_ms":1786431399000,"timestamp_seconds":1786431399,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9be458"} 
[2026-08-11 12:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 12:28:27] 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-08-11 12: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-08-11 12:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:28:27] 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-08-11 12:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326434560001,"66":27213,"164":206,"92":41728,"24":35,"16":377477876712210432,"45":-5196309519689527296},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,92,24,16,45]} 
[2026-08-11 12:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326434560001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:28:27] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-11 12:28:27] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377477876712210432,"km_value":377477876712210.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5196309519689527296,"description":"Unknown IO ID 45"} 
[2026-08-11 12:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326434560001,"power":27213,"unknown_164":206,"unknown_92":41728,"ignition":35,"odometer":null,"unknown_45":-5196309519689527296}} 
[2026-08-11 12:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":153490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:28:27] local.INFO: GPS data processed {"connection_id":153490,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:28:27] local.INFO: Acknowledgment sent {"connection_id":153490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:28:48] local.INFO: TCP Data received {"connection_id":152158,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9cda70012d181b400721aab0004c002819..."} 
[2026-08-11 12:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9cda70012d181b400721aab0004c002819..."} 
[2026-08-11 12:28:48] local.INFO: Processing buffer {"connection_id":152158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9cda70012d181b400721aab0004c002819..."} 
[2026-08-11 12:28:48] local.INFO: Packet analysis {"connection_id":152158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9c"} 
[2026-08-11 12:28:48] local.INFO: Extracted packet for processing {"connection_id":152158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9c"} 
[2026-08-11 12:28:48] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119646896,"longitude_deg":75.655456,"latitude_deg":11.9646896,"altitude":76,"angle":40,"satellites":25,"speed":9,"hex_longitude":"2d181b40","hex_latitude":"0721aab0","is_valid_coordinates":true} 
[2026-08-11 12:28: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-08-11 12:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326453760001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11545984488177664,"note":"Value kept but may cause issues"} 
[2026-08-11 12:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736841374422636544,"note":"Value kept but may cause issues"} 
[2026-08-11 12:28:48] 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-08-11 12:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786431462000,"timestamp_ms":1786431462000,"timestamp_seconds":1786431462,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9cda70"} 
[2026-08-11 12:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:28:48] 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-08-11 12:28: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 12:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 12:28: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-08-11 12:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326453760001,"66":14428,"105":206,"83":41984,"24":9,"16":11545984488177664,"45":1736841374422636544},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326453760001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:28:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:28:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11545984488177664,"km_value":11545984488177.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736841374422636544,"description":"Unknown IO ID 45"} 
[2026-08-11 12:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326453760001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1736841374422636544}} 
[2026-08-11 12:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":152158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:28:48] local.INFO: GPS data processed {"connection_id":152158,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:28:48] local.INFO: Acknowledgment sent {"connection_id":152158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:28:57] local.INFO: TCP Data received {"connection_id":153490,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9c0b68012db7c70005e7a8f0002300cd29..."} 
[2026-08-11 12:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9c0b68012db7c70005e7a8f0002300cd29..."} 
[2026-08-11 12:28:57] local.INFO: Processing buffer {"connection_id":153490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9c0b68012db7c70005e7a8f0002300cd29..."} 
[2026-08-11 12:28:57] local.INFO: Packet analysis {"connection_id":153490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9c"} 
[2026-08-11 12:28:57] local.INFO: Extracted packet for processing {"connection_id":153490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9c"} 
[2026-08-11 12:28:57] local.INFO: GPS Element Parsed {"raw_longitude":767018752,"raw_latitude":99068144,"longitude_deg":76.7018752,"latitude_deg":9.9068144,"altitude":35,"angle":205,"satellites":41,"speed":34,"hex_longitude":"2db7c700","hex_latitude":"05e7a8f0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326438144001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377478314798874624,"note":"Value kept but may cause issues"} 
[2026-08-11 12:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5200602013086642176,"note":"Value kept but may cause issues"} 
[2026-08-11 12:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786431409000,"timestamp_ms":1786431409000,"timestamp_seconds":1786431409,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9c0b68"} 
[2026-08-11 12:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 12:28:57] 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-08-11 12: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-08-11 12:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:28:57] 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-08-11 12:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326438144001,"66":27767,"164":206,"92":41728,"24":34,"16":377478314798874624,"45":-5200602013086642176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,92,24,16,45]} 
[2026-08-11 12:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326438144001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:28:57] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-11 12:28:57] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377478314798874624,"km_value":377478314798874.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5200602013086642176,"description":"Unknown IO ID 45"} 
[2026-08-11 12:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326438144001,"power":27767,"unknown_164":206,"unknown_92":41728,"ignition":34,"odometer":null,"unknown_45":-5200602013086642176}} 
[2026-08-11 12:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":153490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:28:57] local.INFO: GPS data processed {"connection_id":153490,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:28:57] local.INFO: Acknowledgment sent {"connection_id":153490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:29:10] local.INFO: TCP Data received {"connection_id":152159,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:29:10] local.INFO: Processing buffer {"connection_id":152159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:29:10] local.INFO: IMEI packet received {"connection_id":152159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":152159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:29:16] local.INFO: TCP Data received {"connection_id":152159,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:29:16] local.INFO: Processing buffer {"connection_id":152159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:29:16] local.INFO: IMEI packet received {"connection_id":152159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":152159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:29:17] local.INFO: TCP Data received {"connection_id":152159,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9d0568012d1824400721b698004e001319..."} 
[2026-08-11 12:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9d0568012d1824400721b698004e001319..."} 
[2026-08-11 12:29:17] local.INFO: Processing buffer {"connection_id":152159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9d0568012d1824400721b698004e001319..."} 
[2026-08-11 12:29:17] local.INFO: Packet analysis {"connection_id":152159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:29:17] local.INFO: Extracted packet for processing {"connection_id":152159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:29:17] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119649944,"longitude_deg":75.6556864,"latitude_deg":11.9649944,"altitude":78,"angle":19,"satellites":25,"speed":7,"hex_longitude":"2d182440","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-08-11 12:29: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-08-11 12:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326454272001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546169171771392,"note":"Value kept but may cause issues"} 
[2026-08-11 12:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480655241216,"note":"Value kept but may cause issues"} 
[2026-08-11 12:29:17] 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-08-11 12:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786431473000,"timestamp_ms":1786431473000,"timestamp_seconds":1786431473,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9d0568"} 
[2026-08-11 12:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:29:17] 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-08-11 12:29: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 12:29:17] 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-08-11 12:29: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-08-11 12:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326454272001,"66":14428,"105":206,"83":41984,"24":7,"16":11546169171771392,"45":1737052480655241216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326454272001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:29:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:29:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546169171771392,"km_value":11546169171771.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480655241216,"description":"Unknown IO ID 45"} 
[2026-08-11 12:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326454272001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737052480655241216}} 
[2026-08-11 12:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":152159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:29:17] local.INFO: GPS data processed {"connection_id":152159,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:29:17] local.INFO: Acknowledgment sent {"connection_id":152159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:29:19] local.INFO: TCP Data received {"connection_id":152533,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:29:19] local.INFO: Processing buffer {"connection_id":152533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:29:19] local.INFO: IMEI packet received {"connection_id":152533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":152533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:29:25] local.INFO: TCP Data received {"connection_id":152533,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:29:25] local.INFO: Processing buffer {"connection_id":152533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:29:25] local.INFO: IMEI packet received {"connection_id":152533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":152533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:29:25] local.INFO: TCP Data received {"connection_id":152533,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9d5388012db74b0005e6d098002200d72c..."} 
[2026-08-11 12:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9d5388012db74b0005e6d098002200d72c..."} 
[2026-08-11 12:29:25] local.INFO: Processing buffer {"connection_id":152533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9d5388012db74b0005e6d098002200d72c..."} 
[2026-08-11 12:29:25] local.INFO: Packet analysis {"connection_id":152533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:29:25] local.INFO: Extracted packet for processing {"connection_id":152533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:29:25] local.INFO: GPS Element Parsed {"raw_longitude":766987008,"raw_latitude":99012760,"longitude_deg":76.6987008,"latitude_deg":9.901276,"altitude":34,"angle":215,"satellites":44,"speed":14,"hex_longitude":"2db74b00","hex_latitude":"05e6d098","is_valid_coordinates":true} 
[2026-08-11 12:29: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-08-11 12:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326458624001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377481493074673664,"note":"Value kept but may cause issues"} 
[2026-08-11 12:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5237193760074471424,"note":"Value kept but may cause issues"} 
[2026-08-11 12:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786431493000,"timestamp_ms":1786431493000,"timestamp_seconds":1786431493,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9d5388"} 
[2026-08-11 12:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:29: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 12:29:25] 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-08-11 12:29: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-08-11 12:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:29:25] 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-08-11 12:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326458624001,"66":27865,"164":206,"92":41728,"24":14,"16":377481493074673664,"45":-5237193760074471424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,92,24,16,45]} 
[2026-08-11 12:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326458624001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:29:25] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-11 12:29:25] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377481493074673664,"km_value":377481493074673.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5237193760074471424,"description":"Unknown IO ID 45"} 
[2026-08-11 12:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326458624001,"power":27865,"unknown_164":206,"unknown_92":41728,"ignition":14,"odometer":null,"unknown_45":-5237193760074471424}} 
[2026-08-11 12:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":152533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:29:25] local.INFO: GPS data processed {"connection_id":152533,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:29:25] local.INFO: Acknowledgment sent {"connection_id":152533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:29:48] local.INFO: TCP Data received {"connection_id":152159,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9d0950012d1824400721b738004e016219..."} 
[2026-08-11 12:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9d0950012d1824400721b738004e016219..."} 
[2026-08-11 12:29:48] local.INFO: Processing buffer {"connection_id":152159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9d0950012d1824400721b738004e016219..."} 
[2026-08-11 12:29:48] local.INFO: Packet analysis {"connection_id":152159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:29:48] local.INFO: Extracted packet for processing {"connection_id":152159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650104,"longitude_deg":75.6556864,"latitude_deg":11.9650104,"altitude":78,"angle":354,"satellites":25,"speed":5,"hex_longitude":"2d182440","hex_latitude":"0721b738","is_valid_coordinates":true} 
[2026-08-11 12:29: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-08-11 12:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326457088001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546177761705984,"note":"Value kept but may cause issues"} 
[2026-08-11 12:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446417408,"note":"Value kept but may cause issues"} 
[2026-08-11 12:29:48] 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-08-11 12:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786431474000,"timestamp_ms":1786431474000,"timestamp_seconds":1786431474,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9d0950"} 
[2026-08-11 12:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:29:48] 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-08-11 12:29: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 12:29:48] 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-08-11 12:29: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-08-11 12:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326457088001,"66":14483,"105":206,"83":41984,"24":5,"16":11546177761705984,"45":1739585755446417408},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326457088001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:29:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:29:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546177761705984,"km_value":11546177761705.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446417408,"description":"Unknown IO ID 45"} 
[2026-08-11 12:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326457088001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739585755446417408}} 
[2026-08-11 12:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":152159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:29:48] local.INFO: GPS data processed {"connection_id":152159,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:29:48] local.INFO: Acknowledgment sent {"connection_id":152159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:29:56] local.INFO: TCP Data received {"connection_id":152533,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9d7a98012db7418005e6bea8002200cb2c..."} 
[2026-08-11 12:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9d7a98012db7418005e6bea8002200cb2c..."} 
[2026-08-11 12:29:56] local.INFO: Processing buffer {"connection_id":152533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9d7a98012db7418005e6bea8002200cb2c..."} 
[2026-08-11 12:29:56] local.INFO: Packet analysis {"connection_id":152533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:29:56] local.INFO: Extracted packet for processing {"connection_id":152533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:29:56] local.INFO: GPS Element Parsed {"raw_longitude":766984576,"raw_latitude":99008168,"longitude_deg":76.6984576,"latitude_deg":9.9008168,"altitude":34,"angle":203,"satellites":44,"speed":24,"hex_longitude":"2db74180","hex_latitude":"05e6bea8","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326462208001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377481746477744128,"note":"Value kept but may cause issues"} 
[2026-08-11 12:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5239093716168173568,"note":"Value kept but may cause issues"} 
[2026-08-11 12:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786431503000,"timestamp_ms":1786431503000,"timestamp_seconds":1786431503,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9d7a98"} 
[2026-08-11 12:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 12:29:56] 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-08-11 12: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-08-11 12:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:29:56] 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-08-11 12:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326462208001,"66":27767,"61":206,"92":41728,"24":24,"16":377481746477744128,"45":-5239093716168173568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,92,24,16,45]} 
[2026-08-11 12:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326462208001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:29:56] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-11 12:29:56] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377481746477744128,"km_value":377481746477744.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5239093716168173568,"description":"Unknown IO ID 45"} 
[2026-08-11 12:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326462208001,"power":27767,"unknown_61":206,"unknown_92":41728,"ignition":24,"odometer":null,"unknown_45":-5239093716168173568}} 
[2026-08-11 12:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":152533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:29:56] local.INFO: GPS data processed {"connection_id":152533,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:29:56] local.INFO: Acknowledgment sent {"connection_id":152533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:30:10] local.INFO: TCP Data received {"connection_id":153491,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:30:10] local.INFO: Processing buffer {"connection_id":153491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:30:10] local.INFO: IMEI packet received {"connection_id":153491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":153491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:30:16] local.INFO: TCP Data received {"connection_id":153491,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:30:16] local.INFO: Processing buffer {"connection_id":153491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:30:16] local.INFO: IMEI packet received {"connection_id":153491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":153491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:30:24] local.INFO: TCP Data received {"connection_id":154871,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:30:24] local.INFO: Processing buffer {"connection_id":154871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:30:24] local.INFO: IMEI packet received {"connection_id":154871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":154871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:30:29] local.INFO: TCP Data received {"connection_id":154871,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:30:29] local.INFO: Processing buffer {"connection_id":154871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:30:29] local.INFO: IMEI packet received {"connection_id":154871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":154871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:30:30] local.INFO: TCP Data received {"connection_id":154871,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9d9208012db73c4005e6afc0002500be2c..."} 
[2026-08-11 12:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9d9208012db73c4005e6afc0002500be2c..."} 
[2026-08-11 12:30:30] local.INFO: Processing buffer {"connection_id":154871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9d9208012db73c4005e6afc0002500be2c..."} 
[2026-08-11 12:30:30] local.INFO: Packet analysis {"connection_id":154871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:30:30] local.INFO: Extracted packet for processing {"connection_id":154871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:30:30] local.INFO: GPS Element Parsed {"raw_longitude":766983232,"raw_latitude":99004352,"longitude_deg":76.6983232,"latitude_deg":9.9004352,"altitude":37,"angle":190,"satellites":44,"speed":28,"hex_longitude":"2db73c40","hex_latitude":"05e6afc0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326464768001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377481944046239744,"note":"Value kept but may cause issues"} 
[2026-08-11 12:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5241767728448100352,"note":"Value kept but may cause issues"} 
[2026-08-11 12:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786431509000,"timestamp_ms":1786431509000,"timestamp_seconds":1786431509,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9d9208"} 
[2026-08-11 12:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:30:30] 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-08-11 12: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-08-11 12:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:30:30] 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-08-11 12:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326464768001,"66":27865,"61":206,"92":41728,"24":28,"16":377481944046239744,"45":-5241767728448100352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,92,24,16,45]} 
[2026-08-11 12:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326464768001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:30:30] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-11 12:30:30] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377481944046239744,"km_value":377481944046239.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5241767728448100352,"description":"Unknown IO ID 45"} 
[2026-08-11 12:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326464768001,"power":27865,"unknown_61":206,"unknown_92":41728,"ignition":28,"odometer":null,"unknown_45":-5241767728448100352}} 
[2026-08-11 12:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":154871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:30:30] local.INFO: GPS data processed {"connection_id":154871,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:30:30] local.INFO: Acknowledgment sent {"connection_id":154871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:30:34] local.INFO: TCP Data received {"connection_id":153491,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9d5770012d1823800721b570005000c619..."} 
[2026-08-11 12:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9d5770012d1823800721b570005000c619..."} 
[2026-08-11 12:30:34] local.INFO: Processing buffer {"connection_id":153491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9d5770012d1823800721b570005000c619..."} 
[2026-08-11 12:30:34] local.INFO: Packet analysis {"connection_id":153491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:30:34] local.INFO: Extracted packet for processing {"connection_id":153491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:30:34] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649648,"longitude_deg":75.6556672,"latitude_deg":11.9649648,"altitude":80,"angle":198,"satellites":25,"speed":6,"hex_longitude":"2d182380","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-11 12: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":795,"current_offset":40} 
[2026-08-11 12:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326457344001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546246481182720,"note":"Value kept but may cause issues"} 
[2026-08-11 12:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446458368,"note":"Value kept but may cause issues"} 
[2026-08-11 12:30:34] 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-08-11 12:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786431494000,"timestamp_ms":1786431494000,"timestamp_seconds":1786431494,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9d5770"} 
[2026-08-11 12:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:30:34] 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-08-11 12:30: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 12:30:34] 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-08-11 12:30: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-08-11 12:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326457344001,"66":14048,"105":206,"83":41984,"24":6,"16":11546246481182720,"45":1739585755446458368},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326457344001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:30:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546246481182720,"km_value":11546246481182.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446458368,"description":"Unknown IO ID 45"} 
[2026-08-11 12:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326457344001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739585755446458368}} 
[2026-08-11 12:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":153491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:30:34] local.INFO: GPS data processed {"connection_id":153491,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:30:34] local.INFO: Acknowledgment sent {"connection_id":153491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:31:02] local.INFO: TCP Data received {"connection_id":154871,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9da590012db73ac005e6a158002600b32b..."} 
[2026-08-11 12:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9da590012db73ac005e6a158002600b32b..."} 
[2026-08-11 12:31:02] local.INFO: Processing buffer {"connection_id":154871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9da590012db73ac005e6a158002600b32b..."} 
[2026-08-11 12:31:02] local.INFO: Packet analysis {"connection_id":154871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:31:02] local.INFO: Extracted packet for processing {"connection_id":154871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:31:02] local.INFO: GPS Element Parsed {"raw_longitude":766982848,"raw_latitude":99000664,"longitude_deg":76.6982848,"latitude_deg":9.9000664,"altitude":38,"angle":179,"satellites":43,"speed":31,"hex_longitude":"2db73ac0","hex_latitude":"05e6a158","is_valid_coordinates":true} 
[2026-08-11 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-08-11 12:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326466304001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377482124434866176,"note":"Value kept but may cause issues"} 
[2026-08-11 12:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5243245472076808192,"note":"Value kept but may cause issues"} 
[2026-08-11 12:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786431514000,"timestamp_ms":1786431514000,"timestamp_seconds":1786431514,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9da590"} 
[2026-08-11 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-08-11 12:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":217,"data_length":795,"current_offset":136} 
[2026-08-11 12:31: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-08-11 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-08-11 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-08-11 12:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":154871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":154871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":154871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:31:02] 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-08-11 12:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326466304001,"66":27865,"61":206,"92":41728,"24":31,"16":377482124434866176,"45":-5243245472076808192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,92,24,16,45]} 
[2026-08-11 12:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326466304001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:31:02] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-11 12:31:02] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377482124434866176,"km_value":377482124434866.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5243245472076808192,"description":"Unknown IO ID 45"} 
[2026-08-11 12:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326466304001,"power":27865,"unknown_61":206,"unknown_92":41728,"ignition":31,"odometer":null,"unknown_45":-5243245472076808192}} 
[2026-08-11 12:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":154871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:31:02] local.INFO: GPS data processed {"connection_id":154871,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:31:02] local.INFO: Acknowledgment sent {"connection_id":154871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:31:16] local.INFO: TCP Data received {"connection_id":152160,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:31:16] local.INFO: Processing buffer {"connection_id":152160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:31:16] local.INFO: IMEI packet received {"connection_id":152160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":152160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:31:18] local.INFO: TCP Data received {"connection_id":152161,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:31:18] local.INFO: Processing buffer {"connection_id":152161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:31:18] local.INFO: IMEI packet received {"connection_id":152161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":152161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:31:19] local.INFO: TCP Data received {"connection_id":152161,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:31:19] local.INFO: Processing buffer {"connection_id":152161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:31:19] local.INFO: IMEI packet received {"connection_id":152161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":152161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:31:21] local.INFO: TCP Data received {"connection_id":152160,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:31:21] local.INFO: Processing buffer {"connection_id":152160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:31:21] local.INFO: IMEI packet received {"connection_id":152160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":152160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:31:21] local.INFO: TCP Data received {"connection_id":152160,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9d5b58012d1823400721b4e0005000d119..."} 
[2026-08-11 12:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9d5b58012d1823400721b4e0005000d119..."} 
[2026-08-11 12:31:21] local.INFO: Processing buffer {"connection_id":152160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9d5b58012d1823400721b4e0005000d119..."} 
[2026-08-11 12:31:21] local.INFO: Packet analysis {"connection_id":152160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:31:21] local.INFO: Extracted packet for processing {"connection_id":152160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:31:21] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649504,"longitude_deg":75.6556608,"latitude_deg":11.9649504,"altitude":80,"angle":209,"satellites":25,"speed":5,"hex_longitude":"2d182340","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-08-11 12:31: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-08-11 12:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326462464001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546255071117312,"note":"Value kept but may cause issues"} 
[2026-08-11 12:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213808640,"note":"Value kept but may cause issues"} 
[2026-08-11 12:31:21] 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-08-11 12:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786431495000,"timestamp_ms":1786431495000,"timestamp_seconds":1786431495,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9d5b58"} 
[2026-08-11 12:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:31:21] 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-08-11 12:31: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-11 12:31:21] 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-08-11 12:31: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-08-11 12:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326462464001,"66":14048,"105":206,"83":41984,"24":5,"16":11546255071117312,"45":1739374649213808640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326462464001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:31:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:31:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546255071117312,"km_value":11546255071117.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213808640,"description":"Unknown IO ID 45"} 
[2026-08-11 12:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326462464001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739374649213808640}} 
[2026-08-11 12:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":152160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:31:21] local.INFO: GPS data processed {"connection_id":152160,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:31:21] local.INFO: Acknowledgment sent {"connection_id":152160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:31:25] local.INFO: TCP Data received {"connection_id":152161,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:31:25] local.INFO: Processing buffer {"connection_id":152161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:31:25] local.INFO: IMEI packet received {"connection_id":152161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":152161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:31:25] local.INFO: TCP Data received {"connection_id":152161,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9dd470012db73ec005e67d88002900aa2b..."} 
[2026-08-11 12:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9dd470012db73ec005e67d88002900aa2b..."} 
[2026-08-11 12:31:25] local.INFO: Processing buffer {"connection_id":152161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9dd470012db73ec005e67d88002900aa2b..."} 
[2026-08-11 12:31:25] local.INFO: Packet analysis {"connection_id":152161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:31:25] local.INFO: Extracted packet for processing {"connection_id":152161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:31:25] local.INFO: GPS Element Parsed {"raw_longitude":766983872,"raw_latitude":98991496,"longitude_deg":76.6983872,"latitude_deg":9.8991496,"altitude":41,"angle":170,"satellites":43,"speed":29,"hex_longitude":"2db73ec0","hex_latitude":"05e67d88","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326467584001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377482571111464960,"note":"Value kept but may cause issues"} 
[2026-08-11 12:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5243667684542818304,"note":"Value kept but may cause issues"} 
[2026-08-11 12:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786431526000,"timestamp_ms":1786431526000,"timestamp_seconds":1786431526,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9dd470"} 
[2026-08-11 12:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 12:31:25] 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-08-11 12: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-08-11 12:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:31:25] 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-08-11 12:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326467584001,"66":27832,"187":206,"92":41728,"24":29,"16":377482571111464960,"45":-5243667684542818304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,92,24,16,45]} 
[2026-08-11 12:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326467584001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:31:25] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-11 12:31:25] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377482571111464960,"km_value":377482571111464.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5243667684542818304,"description":"Unknown IO ID 45"} 
[2026-08-11 12:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326467584001,"power":27832,"unknown_187":206,"unknown_92":41728,"ignition":29,"odometer":null,"unknown_45":-5243667684542818304}} 
[2026-08-11 12:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":152161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:31:25] local.INFO: GPS data processed {"connection_id":152161,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:31:25] local.INFO: Acknowledgment sent {"connection_id":152161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:31:26] local.INFO: TCP Data received {"connection_id":152160,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9dad60012d1822c00721b438005000d319..."} 
[2026-08-11 12:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9dad60012d1822c00721b438005000d319..."} 
[2026-08-11 12:31:26] local.INFO: Processing buffer {"connection_id":152160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9dad60012d1822c00721b438005000d319..."} 
[2026-08-11 12:31:26] local.INFO: Packet analysis {"connection_id":152160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:31:26] local.INFO: Extracted packet for processing {"connection_id":152160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:31:26] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649336,"longitude_deg":75.655648,"latitude_deg":11.9649336,"altitude":80,"angle":211,"satellites":25,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326462720001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546267956019200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469594112,"note":"Value kept but may cause issues"} 
[2026-08-11 12:31: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-08-11 12:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786431516000,"timestamp_ms":1786431516000,"timestamp_seconds":1786431516,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9dad60"} 
[2026-08-11 12:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:31:26] 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-08-11 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-11 12:31:26] 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-08-11 12: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-08-11 12:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326462720001,"66":12885,"105":206,"83":41984,"24":0,"16":11546267956019200,"45":1739304280469594112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326462720001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:31:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:31:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546267956019200,"km_value":11546267956019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469594112,"description":"Unknown IO ID 45"} 
[2026-08-11 12:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326462720001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469594112}} 
[2026-08-11 12:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":152160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:31:26] local.INFO: GPS data processed {"connection_id":152160,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:31:26] local.INFO: Acknowledgment sent {"connection_id":152160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:31:57] local.INFO: TCP Data received {"connection_id":152161,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9f91c0012db702c005e50260002400c229..."} 
[2026-08-11 12:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9f91c0012db702c005e50260002400c229..."} 
[2026-08-11 12:31:57] local.INFO: Processing buffer {"connection_id":152161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9f91c0012db702c005e50260002400c229..."} 
[2026-08-11 12:31:57] local.INFO: Packet analysis {"connection_id":152161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9f"} 
[2026-08-11 12:31:57] local.INFO: Extracted packet for processing {"connection_id":152161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9f"} 
[2026-08-11 12:31:57] local.INFO: GPS Element Parsed {"raw_longitude":766968512,"raw_latitude":98894432,"longitude_deg":76.6968512,"latitude_deg":9.8894432,"altitude":36,"angle":194,"satellites":41,"speed":44,"hex_longitude":"2db702c0","hex_latitude":"05e50260","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326498048001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377487381474836480,"note":"Value kept but may cause issues"} 
[2026-08-11 12:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5256826639729033216,"note":"Value kept but may cause issues"} 
[2026-08-11 12:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786431640000,"timestamp_ms":1786431640000,"timestamp_seconds":1786431640,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9f91c0"} 
[2026-08-11 12:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 12:31:57] 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-08-11 12: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-08-11 12:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:31:57] 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-08-11 12:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326498048001,"66":27158,"187":206,"92":41728,"24":44,"16":377487381474836480,"45":-5256826639729033216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,92,24,16,45]} 
[2026-08-11 12:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326498048001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:31:57] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-11 12:31:57] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377487381474836480,"km_value":377487381474836.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5256826639729033216,"description":"Unknown IO ID 45"} 
[2026-08-11 12:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326498048001,"power":27158,"unknown_187":206,"unknown_92":41728,"ignition":44,"odometer":null,"unknown_45":-5256826639729033216}} 
[2026-08-11 12:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":152161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:31:57] local.INFO: GPS data processed {"connection_id":152161,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:31:57] local.INFO: Acknowledgment sent {"connection_id":152161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:32:07] local.INFO: TCP Data received {"connection_id":152162,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:32:07] local.INFO: Processing buffer {"connection_id":152162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:32:07] local.INFO: IMEI packet received {"connection_id":152162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":152162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:32:11] local.INFO: TCP Data received {"connection_id":152162,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:32:11] local.INFO: Processing buffer {"connection_id":152162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:32:11] local.INFO: IMEI packet received {"connection_id":152162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":152162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:32:16] local.INFO: TCP Data received {"connection_id":152162,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:32:16] local.INFO: Processing buffer {"connection_id":152162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:32:16] local.INFO: IMEI packet received {"connection_id":152162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":152162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:32:19] local.INFO: TCP Data received {"connection_id":152534,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:32:19] local.INFO: Processing buffer {"connection_id":152534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:32:19] local.INFO: IMEI packet received {"connection_id":152534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":152534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:32:21] local.INFO: TCP Data received {"connection_id":152162,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9dff68012d1822c00721b438005000d31b..."} 
[2026-08-11 12:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9dff68012d1822c00721b438005000d31b..."} 
[2026-08-11 12:32:21] local.INFO: Processing buffer {"connection_id":152162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9dff68012d1822c00721b438005000d31b..."} 
[2026-08-11 12:32:21] local.INFO: Packet analysis {"connection_id":152162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:32:21] local.INFO: Extracted packet for processing {"connection_id":152162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9d"} 
[2026-08-11 12:32:21] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649336,"longitude_deg":75.655648,"latitude_deg":11.9649336,"altitude":80,"angle":211,"satellites":27,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326468096001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546267956019200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981195776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:32:21] 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-08-11 12:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786431537000,"timestamp_ms":1786431537000,"timestamp_seconds":1786431537,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9dff68"} 
[2026-08-11 12:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:32:21] 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-08-11 12: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-11 12:32:21] 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-08-11 12: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-08-11 12:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326468096001,"66":13254,"105":206,"83":41984,"24":0,"16":11546267956019200,"45":1739163542981195776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326468096001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:32:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:32:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546267956019200,"km_value":11546267956019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981195776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326468096001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981195776}} 
[2026-08-11 12:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":152162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:32:21] local.INFO: GPS data processed {"connection_id":152162,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:32:21] local.INFO: Acknowledgment sent {"connection_id":152162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:32:25] local.INFO: TCP Data received {"connection_id":152534,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:32:25] local.INFO: Processing buffer {"connection_id":152534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:32:25] local.INFO: IMEI packet received {"connection_id":152534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":152534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:32:25] local.INFO: TCP Data received {"connection_id":152534,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9fb8d0012db6fb8005e4df80002400c129..."} 
[2026-08-11 12:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9fb8d0012db6fb8005e4df80002400c129..."} 
[2026-08-11 12:32:25] local.INFO: Processing buffer {"connection_id":152534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9fb8d0012db6fb8005e4df80002400c129..."} 
[2026-08-11 12:32:25] local.INFO: Packet analysis {"connection_id":152534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9f"} 
[2026-08-11 12:32:25] local.INFO: Extracted packet for processing {"connection_id":152534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9f"} 
[2026-08-11 12:32:25] local.INFO: GPS Element Parsed {"raw_longitude":766966656,"raw_latitude":98885504,"longitude_deg":76.6966656,"latitude_deg":9.8885504,"altitude":36,"angle":193,"satellites":41,"speed":27,"hex_longitude":"2db6fb80","hex_latitude":"05e4df80","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326499840001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377487823856467968,"note":"Value kept but may cause issues"} 
[2026-08-11 12:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5259430283265810432,"note":"Value kept but may cause issues"} 
[2026-08-11 12:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786431650000,"timestamp_ms":1786431650000,"timestamp_seconds":1786431650,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9fb8d0"} 
[2026-08-11 12:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 12:32:25] 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-08-11 12: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-08-11 12:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:32:25] 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-08-11 12:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326499840001,"66":27767,"129":206,"92":41728,"24":27,"16":377487823856467968,"45":-5259430283265810432},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,92,24,16,45]} 
[2026-08-11 12:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326499840001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:32:25] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 12:32:25] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377487823856467968,"km_value":377487823856467.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5259430283265810432,"description":"Unknown IO ID 45"} 
[2026-08-11 12:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326499840001,"power":27767,"unknown_129":206,"unknown_92":41728,"ignition":27,"odometer":null,"unknown_45":-5259430283265810432}} 
[2026-08-11 12:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":152534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:32:25] local.INFO: GPS data processed {"connection_id":152534,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:32:25] local.INFO: Acknowledgment sent {"connection_id":152534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:32:56] local.INFO: TCP Data received {"connection_id":152534,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9ffb38012db6f44005e4bc88002800bd2a..."} 
[2026-08-11 12:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9ffb38012db6f44005e4bc88002800bd2a..."} 
[2026-08-11 12:32:56] local.INFO: Processing buffer {"connection_id":152534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9ffb38012db6f44005e4bc88002800bd2a..."} 
[2026-08-11 12:32:56] local.INFO: Packet analysis {"connection_id":152534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9f"} 
[2026-08-11 12:32:56] local.INFO: Extracted packet for processing {"connection_id":152534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9f"} 
[2026-08-11 12:32:56] local.INFO: GPS Element Parsed {"raw_longitude":766964800,"raw_latitude":98876552,"longitude_deg":76.69648,"latitude_deg":9.8876552,"altitude":40,"angle":189,"satellites":42,"speed":25,"hex_longitude":"2db6f440","hex_latitude":"05e4bc88","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326502400001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377488266238099456,"note":"Value kept but may cause issues"} 
[2026-08-11 12:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5261470976849248256,"note":"Value kept but may cause issues"} 
[2026-08-11 12:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786431667000,"timestamp_ms":1786431667000,"timestamp_seconds":1786431667,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9ffb38"} 
[2026-08-11 12:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:32:56] 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-08-11 12: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-08-11 12:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:32:56] 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-08-11 12:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326502400001,"66":27865,"129":206,"92":41728,"24":25,"16":377488266238099456,"45":-5261470976849248256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,92,24,16,45]} 
[2026-08-11 12:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326502400001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:32:56] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 12:32:56] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377488266238099456,"km_value":377488266238099.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5261470976849248256,"description":"Unknown IO ID 45"} 
[2026-08-11 12:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326502400001,"power":27865,"unknown_129":206,"unknown_92":41728,"ignition":25,"odometer":null,"unknown_45":-5261470976849248256}} 
[2026-08-11 12:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":152534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:32:56] local.INFO: GPS data processed {"connection_id":152534,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:32:56] local.INFO: Acknowledgment sent {"connection_id":152534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:33:11] local.INFO: TCP Data received {"connection_id":154872,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:33:11] local.INFO: Processing buffer {"connection_id":154872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:33:11] local.INFO: IMEI packet received {"connection_id":154872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":154872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:33:11] local.INFO: TCP Data received {"connection_id":154872,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:33:11] local.INFO: Processing buffer {"connection_id":154872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:33:11] local.INFO: IMEI packet received {"connection_id":154872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":154872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:33:16] local.INFO: TCP Data received {"connection_id":154872,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:33:16] local.INFO: Processing buffer {"connection_id":154872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:33:16] local.INFO: IMEI packet received {"connection_id":154872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":154872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:33:16] local.INFO: TCP Data received {"connection_id":152162,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9e5170012d1822c00721b438005000d31d..."} 
[2026-08-11 12:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9e5170012d1822c00721b438005000d31d..."} 
[2026-08-11 12:33:16] local.INFO: Processing buffer {"connection_id":152162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9e5170012d1822c00721b438005000d31d..."} 
[2026-08-11 12:33:16] local.INFO: Packet analysis {"connection_id":152162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9e"} 
[2026-08-11 12:33:16] local.INFO: Extracted packet for processing {"connection_id":152162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9e"} 
[2026-08-11 12:33:16] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649336,"longitude_deg":75.655648,"latitude_deg":11.9649336,"altitude":80,"angle":211,"satellites":29,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326473472001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546267956019200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981195776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:33:16] 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-08-11 12:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786431558000,"timestamp_ms":1786431558000,"timestamp_seconds":1786431558,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9e5170"} 
[2026-08-11 12:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 12:33: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-08-11 12: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-08-11 12:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326473472001,"66":12254,"105":206,"83":41984,"24":0,"16":11546267956019200,"45":1739163542981195776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326473472001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:33:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:33:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546267956019200,"km_value":11546267956019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981195776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326473472001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981195776}} 
[2026-08-11 12:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":152162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:33:16] local.INFO: GPS data processed {"connection_id":152162,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:33:16] local.INFO: Acknowledgment sent {"connection_id":152162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:33:16] local.INFO: TCP Data received {"connection_id":154872,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9ea378012d1822c00721b438005000d31d..."} 
[2026-08-11 12:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9ea378012d1822c00721b438005000d31d..."} 
[2026-08-11 12:33:16] local.INFO: Processing buffer {"connection_id":154872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9ea378012d1822c00721b438005000d31d..."} 
[2026-08-11 12:33:16] local.INFO: Packet analysis {"connection_id":154872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9e"} 
[2026-08-11 12:33:16] local.INFO: Extracted packet for processing {"connection_id":154872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9e"} 
[2026-08-11 12:33:16] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649336,"longitude_deg":75.655648,"latitude_deg":11.9649336,"altitude":80,"angle":211,"satellites":29,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326478848001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546267956019200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981195776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:33:16] 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-08-11 12:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786431579000,"timestamp_ms":1786431579000,"timestamp_seconds":1786431579,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9ea378"} 
[2026-08-11 12:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-11 12:33:16] 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-08-11 12: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-08-11 12:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326478848001,"66":13135,"105":206,"83":41984,"24":0,"16":11546267956019200,"45":1739163542981195776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326478848001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:33:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:33:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546267956019200,"km_value":11546267956019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981195776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326478848001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981195776}} 
[2026-08-11 12:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":154872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:33:17] local.INFO: GPS data processed {"connection_id":154872,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:33:17] local.INFO: Acknowledgment sent {"connection_id":154872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:33:20] local.INFO: TCP Data received {"connection_id":153492,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:33:20] local.INFO: Processing buffer {"connection_id":153492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:33:20] local.INFO: IMEI packet received {"connection_id":153492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":153492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:33:25] local.INFO: TCP Data received {"connection_id":153492,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:33:25] local.INFO: Processing buffer {"connection_id":153492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:33:25] local.INFO: IMEI packet received {"connection_id":153492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":153492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:33:26] local.INFO: TCP Data received {"connection_id":153492,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa02a18012db6f00005e49998002500b827..."} 
[2026-08-11 12:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa02a18012db6f00005e49998002500b827..."} 
[2026-08-11 12:33:26] local.INFO: Processing buffer {"connection_id":153492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa02a18012db6f00005e49998002500b827..."} 
[2026-08-11 12:33:26] local.INFO: Packet analysis {"connection_id":153492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa0"} 
[2026-08-11 12:33:26] local.INFO: Extracted packet for processing {"connection_id":153492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa0"} 
[2026-08-11 12:33:26] local.INFO: GPS Element Parsed {"raw_longitude":766963712,"raw_latitude":98867608,"longitude_deg":76.6963712,"latitude_deg":9.8867608,"altitude":37,"angle":184,"satellites":39,"speed":27,"hex_longitude":"2db6f000","hex_latitude":"05e49998","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326506752001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377488704324763648,"note":"Value kept but may cause issues"} 
[2026-08-11 12:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5263511670432692224,"note":"Value kept but may cause issues"} 
[2026-08-11 12:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786431679000,"timestamp_ms":1786431679000,"timestamp_seconds":1786431679,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa02a18"} 
[2026-08-11 12:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 12:33:26] 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-08-11 12: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-08-11 12:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:33:26] 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-08-11 12:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326506752001,"66":27821,"129":206,"92":41728,"24":27,"16":377488704324763648,"45":-5263511670432692224},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,92,24,16,45]} 
[2026-08-11 12:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326506752001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:33:26] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 12:33:26] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377488704324763648,"km_value":377488704324763.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5263511670432692224,"description":"Unknown IO ID 45"} 
[2026-08-11 12:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326506752001,"power":27821,"unknown_129":206,"unknown_92":41728,"ignition":27,"odometer":null,"unknown_45":-5263511670432692224}} 
[2026-08-11 12:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":153492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:33:26] local.INFO: GPS data processed {"connection_id":153492,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:33:26] local.INFO: Acknowledgment sent {"connection_id":153492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:33:48] local.INFO: TCP Data received {"connection_id":154872,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9ef580012d1822c00721b438005000d31e..."} 
[2026-08-11 12:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9ef580012d1822c00721b438005000d31e..."} 
[2026-08-11 12:33:48] local.INFO: Processing buffer {"connection_id":154872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9ef580012d1822c00721b438005000d31e..."} 
[2026-08-11 12:33:48] local.INFO: Packet analysis {"connection_id":154872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9e"} 
[2026-08-11 12:33:48] local.INFO: Extracted packet for processing {"connection_id":154872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9e"} 
[2026-08-11 12:33:48] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649336,"longitude_deg":75.655648,"latitude_deg":11.9649336,"altitude":80,"angle":211,"satellites":30,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-11 12:33: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-08-11 12:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326484224001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546267956019200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981195776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:33:48] 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-08-11 12:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786431600000,"timestamp_ms":1786431600000,"timestamp_seconds":1786431600,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9ef580"} 
[2026-08-11 12:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:33: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":79,"data_length":795,"current_offset":136} 
[2026-08-11 12:33:48] 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-08-11 12:33: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-08-11 12:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326484224001,"66":13102,"105":206,"83":41984,"24":0,"16":11546267956019200,"45":1739163542981195776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326484224001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:33:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:33:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546267956019200,"km_value":11546267956019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981195776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326484224001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981195776}} 
[2026-08-11 12:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":154872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:33:48] local.INFO: GPS data processed {"connection_id":154872,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:33:48] local.INFO: Acknowledgment sent {"connection_id":154872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:33:57] local.INFO: TCP Data received {"connection_id":153492,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa1b0b8012db7750005e3d1e00036007528..."} 
[2026-08-11 12:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa1b0b8012db7750005e3d1e00036007528..."} 
[2026-08-11 12:33:57] local.INFO: Processing buffer {"connection_id":153492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa1b0b8012db7750005e3d1e00036007528..."} 
[2026-08-11 12:33:57] local.INFO: Packet analysis {"connection_id":153492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa1"} 
[2026-08-11 12:33:57] local.INFO: Extracted packet for processing {"connection_id":153492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa1"} 
[2026-08-11 12:33:57] local.INFO: GPS Element Parsed {"raw_longitude":766997760,"raw_latitude":98816480,"longitude_deg":76.699776,"latitude_deg":9.881648,"altitude":54,"angle":117,"satellites":40,"speed":40,"hex_longitude":"2db77500","hex_latitude":"05e3d1e0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326532864001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377491938435137536,"note":"Value kept but may cause issues"} 
[2026-08-11 12:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5236419703938541568,"note":"Value kept but may cause issues"} 
[2026-08-11 12:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786431779000,"timestamp_ms":1786431779000,"timestamp_seconds":1786431779,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa1b0b8"} 
[2026-08-11 12:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 12:33:57] 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-08-11 12: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-08-11 12:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:33:57] 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-08-11 12:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326532864001,"66":27843,"188":206,"92":41728,"24":40,"16":377491938435137536,"45":-5236419703938541568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,92,24,16,45]} 
[2026-08-11 12:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326532864001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:33:57] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-11 12:33:57] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377491938435137536,"km_value":377491938435137.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5236419703938541568,"description":"Unknown IO ID 45"} 
[2026-08-11 12:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326532864001,"power":27843,"unknown_188":206,"unknown_92":41728,"ignition":40,"odometer":null,"unknown_45":-5236419703938541568}} 
[2026-08-11 12:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":153492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:33:57] local.INFO: GPS data processed {"connection_id":153492,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:33:57] local.INFO: Acknowledgment sent {"connection_id":153492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:34:11] local.INFO: TCP Data received {"connection_id":152163,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:34:11] local.INFO: Processing buffer {"connection_id":152163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:34:11] local.INFO: IMEI packet received {"connection_id":152163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":152163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:34:14] local.INFO: TCP Data received {"connection_id":152163,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:34:14] local.INFO: Processing buffer {"connection_id":152163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:34:14] local.INFO: IMEI packet received {"connection_id":152163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":152163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:34:16] local.INFO: TCP Data received {"connection_id":152163,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:34:16] local.INFO: Processing buffer {"connection_id":152163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:34:16] local.INFO: IMEI packet received {"connection_id":152163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":152163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:34:17] local.INFO: TCP Data received {"connection_id":152163,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9f4788012d1822c00721b438005000d31f..."} 
[2026-08-11 12:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9f4788012d1822c00721b438005000d31f..."} 
[2026-08-11 12:34:17] local.INFO: Processing buffer {"connection_id":152163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9f4788012d1822c00721b438005000d31f..."} 
[2026-08-11 12:34:17] local.INFO: Packet analysis {"connection_id":152163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9f"} 
[2026-08-11 12:34:17] local.INFO: Extracted packet for processing {"connection_id":152163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9f"} 
[2026-08-11 12:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649336,"longitude_deg":75.655648,"latitude_deg":11.9649336,"altitude":80,"angle":211,"satellites":31,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326489600001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546267956019200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981195776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:17] 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-08-11 12:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786431621000,"timestamp_ms":1786431621000,"timestamp_seconds":1786431621,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9f4788"} 
[2026-08-11 12:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:34:17] 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-08-11 12: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 12:34:17] 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-08-11 12: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-08-11 12:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326489600001,"66":13091,"105":206,"83":41984,"24":0,"16":11546267956019200,"45":1739163542981195776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326489600001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:34:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:34:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546267956019200,"km_value":11546267956019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981195776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326489600001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981195776}} 
[2026-08-11 12:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":152163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:34:17] local.INFO: GPS data processed {"connection_id":152163,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:34:17] local.INFO: Acknowledgment sent {"connection_id":152163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:34:21] local.INFO: TCP Data received {"connection_id":152163,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9f9990012d1822c00721b438005000d31f..."} 
[2026-08-11 12:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9f9990012d1822c00721b438005000d31f..."} 
[2026-08-11 12:34:21] local.INFO: Processing buffer {"connection_id":152163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9f9990012d1822c00721b438005000d31f..."} 
[2026-08-11 12:34:21] local.INFO: Packet analysis {"connection_id":152163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9f"} 
[2026-08-11 12:34:21] local.INFO: Extracted packet for processing {"connection_id":152163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9f"} 
[2026-08-11 12:34:21] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649336,"longitude_deg":75.655648,"latitude_deg":11.9649336,"altitude":80,"angle":211,"satellites":31,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-11 12:34: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-08-11 12:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326494976001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546267956019200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981195776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:21] 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-08-11 12:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786431642000,"timestamp_ms":1786431642000,"timestamp_seconds":1786431642,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9f9990"} 
[2026-08-11 12:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:34:21] 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-08-11 12:34: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":35,"data_length":795,"current_offset":136} 
[2026-08-11 12:34:21] 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-08-11 12:34: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-08-11 12:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326494976001,"66":13059,"105":206,"83":41984,"24":0,"16":11546267956019200,"45":1739163542981195776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326494976001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:34:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:34:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546267956019200,"km_value":11546267956019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981195776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326494976001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981195776}} 
[2026-08-11 12:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":152163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:34:21] local.INFO: GPS data processed {"connection_id":152163,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:34:21] local.INFO: Acknowledgment sent {"connection_id":152163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:34:24] local.INFO: TCP Data received {"connection_id":152535,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:34:24] local.INFO: Processing buffer {"connection_id":152535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:34:24] local.INFO: IMEI packet received {"connection_id":152535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":152535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:34:25] local.INFO: TCP Data received {"connection_id":152535,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:34:25] local.INFO: Processing buffer {"connection_id":152535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:34:25] local.INFO: IMEI packet received {"connection_id":152535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":152535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:34:26] local.INFO: TCP Data received {"connection_id":152535,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:34:26] local.INFO: Processing buffer {"connection_id":152535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:34:26] local.INFO: IMEI packet received {"connection_id":152535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":152535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:34:29] local.INFO: TCP Data received {"connection_id":152535,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:34:29] local.INFO: Processing buffer {"connection_id":152535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:34:29] local.INFO: IMEI packet received {"connection_id":152535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":152535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:34:29] local.INFO: TCP Data received {"connection_id":152535,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa1d3e0012db795c005e3bf380032007827..."} 
[2026-08-11 12:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa1d3e0012db795c005e3bf380032007827..."} 
[2026-08-11 12:34:29] local.INFO: Processing buffer {"connection_id":152535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa1d3e0012db795c005e3bf380032007827..."} 
[2026-08-11 12:34:29] local.INFO: Packet analysis {"connection_id":152535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa1"} 
[2026-08-11 12:34:29] local.INFO: Extracted packet for processing {"connection_id":152535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa1"} 
[2026-08-11 12:34:29] local.INFO: GPS Element Parsed {"raw_longitude":767006144,"raw_latitude":98811704,"longitude_deg":76.7006144,"latitude_deg":9.8811704,"altitude":50,"angle":120,"satellites":39,"speed":43,"hex_longitude":"2db795c0","hex_latitude":"05e3bf38","is_valid_coordinates":true} 
[2026-08-11 12:34: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-08-11 12:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326535424001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377492402291605504,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5227271767196573696,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786431788000,"timestamp_ms":1786431788000,"timestamp_seconds":1786431788,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa1d3e0"} 
[2026-08-11 12:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:34: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 12:34:29] 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-08-11 12:34: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-08-11 12:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:34:29] 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-08-11 12:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326535424001,"66":27821,"188":206,"92":41728,"24":43,"16":377492402291605504,"45":-5227271767196573696},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,92,24,16,45]} 
[2026-08-11 12:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326535424001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:34:29] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-11 12:34:29] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377492402291605504,"km_value":377492402291605.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5227271767196573696,"description":"Unknown IO ID 45"} 
[2026-08-11 12:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326535424001,"power":27821,"unknown_188":206,"unknown_92":41728,"ignition":43,"odometer":null,"unknown_45":-5227271767196573696}} 
[2026-08-11 12:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":152535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:34:29] local.INFO: GPS data processed {"connection_id":152535,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:34:29] local.INFO: Acknowledgment sent {"connection_id":152535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:34:52] local.INFO: TCP Data received {"connection_id":152163,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fef9feb98012d1822c00721b438005000d320..."} 
[2026-08-11 12:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fef9feb98012d1822c00721b438005000d320..."} 
[2026-08-11 12:34:52] local.INFO: Processing buffer {"connection_id":152163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fef9feb98012d1822c00721b438005000d320..."} 
[2026-08-11 12:34:52] local.INFO: Packet analysis {"connection_id":152163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fef9f"} 
[2026-08-11 12:34:52] local.INFO: Extracted packet for processing {"connection_id":152163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fef9f"} 
[2026-08-11 12:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649336,"longitude_deg":75.655648,"latitude_deg":11.9649336,"altitude":80,"angle":211,"satellites":32,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326500352001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546267956019200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981195776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34: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-08-11 12:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786431663000,"timestamp_ms":1786431663000,"timestamp_seconds":1786431663,"priority":1,"record_length":96,"hex_timestamp":"0000019fef9feb98"} 
[2026-08-11 12:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:34:52] 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-08-11 12: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 12:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160093625706,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:52] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709952,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4020088160,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:52] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3023568976,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-11 12:34:52] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:52] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941354,"note":"Value kept but may cause issues"} 
[2026-08-11 12:34:52] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,5,159,71,45,192,180,80,31,10,66,245,30,163,1,240,79,227,239,33,4,113,205,255,34,56,27,51,2,41,7],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-11 12:34:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764839653131681792,"timestamp_seconds":5764839653131682.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 12:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326500352001,"66":13048,"105":206,"83":41984,"24":0,"16":11546267956019200,"45":1739163542981195776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326500352001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:34:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:34:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546267956019200,"km_value":11546267956019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981195776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326500352001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981195776}} 
[2026-08-11 12:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":152163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:34:52] local.INFO: GPS data processed {"connection_id":152163,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:34:52] local.INFO: Acknowledgment sent {"connection_id":152163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:35:01] local.INFO: TCP Data received {"connection_id":152535,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa2cde0012db7b2c005e30420002d00c725..."} 
[2026-08-11 12:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa2cde0012db7b2c005e30420002d00c725..."} 
[2026-08-11 12:35:01] local.INFO: Processing buffer {"connection_id":152535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa2cde0012db7b2c005e30420002d00c725..."} 
[2026-08-11 12:35:01] local.INFO: Packet analysis {"connection_id":152535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa2"} 
[2026-08-11 12:35:01] local.INFO: Extracted packet for processing {"connection_id":152535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa2"} 
[2026-08-11 12:35:01] local.INFO: GPS Element Parsed {"raw_longitude":767013568,"raw_latitude":98763808,"longitude_deg":76.7013568,"latitude_deg":9.8763808,"altitude":45,"angle":199,"satellites":37,"speed":41,"hex_longitude":"2db7b2c0","hex_latitude":"05e30420","is_valid_coordinates":true} 
[2026-08-11 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-08-11 12:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326552320001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377495619222110208,"note":"Value kept but may cause issues"} 
[2026-08-11 12:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5207287043861848064,"note":"Value kept but may cause issues"} 
[2026-08-11 12:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786431852000,"timestamp_ms":1786431852000,"timestamp_seconds":1786431852,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa2cde0"} 
[2026-08-11 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-08-11 12:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-11 12:35:01] 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-08-11 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-08-11 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-08-11 12:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:35:01] 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-08-11 12:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326552320001,"66":27767,"130":206,"92":41728,"24":41,"16":377495619222110208,"45":-5207287043861848064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,92,24,16,45]} 
[2026-08-11 12:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326552320001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:35:01] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-11 12:35:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377495619222110208,"km_value":377495619222110.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5207287043861848064,"description":"Unknown IO ID 45"} 
[2026-08-11 12:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326552320001,"power":27767,"unknown_130":206,"unknown_92":41728,"ignition":41,"odometer":null,"unknown_45":-5207287043861848064}} 
[2026-08-11 12:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":152535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:35:01] local.INFO: GPS data processed {"connection_id":152535,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:35:01] local.INFO: Acknowledgment sent {"connection_id":152535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:35:10] local.INFO: TCP Data received {"connection_id":153493,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:35:10] local.INFO: Processing buffer {"connection_id":153493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:35:10] local.INFO: IMEI packet received {"connection_id":153493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":153493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:35:16] local.INFO: TCP Data received {"connection_id":153493,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:35:16] local.INFO: Processing buffer {"connection_id":153493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:35:16] local.INFO: IMEI packet received {"connection_id":153493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":153493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:35:16] local.INFO: TCP Data received {"connection_id":153493,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa03da0012d1822c00721b438005000d320..."} 
[2026-08-11 12:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa03da0012d1822c00721b438005000d320..."} 
[2026-08-11 12:35:16] local.INFO: Processing buffer {"connection_id":153493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa03da0012d1822c00721b438005000d320..."} 
[2026-08-11 12:35:16] local.INFO: Packet analysis {"connection_id":153493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa0"} 
[2026-08-11 12:35:16] local.INFO: Extracted packet for processing {"connection_id":153493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa0"} 
[2026-08-11 12:35:16] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649336,"longitude_deg":75.655648,"latitude_deg":11.9649336,"altitude":80,"angle":211,"satellites":32,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326505728001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546267956019200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981195776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:35:16] 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-08-11 12:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786431684000,"timestamp_ms":1786431684000,"timestamp_seconds":1786431684,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa03da0"} 
[2026-08-11 12:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:35:16] 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-08-11 12: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 12:35:16] 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-08-11 12: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-08-11 12:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326505728001,"66":13004,"105":206,"83":41984,"24":0,"16":11546267956019200,"45":1739163542981195776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326505728001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:35:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:35:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546267956019200,"km_value":11546267956019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981195776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326505728001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981195776}} 
[2026-08-11 12:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":153493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:35:17] local.INFO: GPS data processed {"connection_id":153493,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:35:17] local.INFO: Acknowledgment sent {"connection_id":153493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:35:19] local.INFO: TCP Data received {"connection_id":153494,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:35:19] local.INFO: Processing buffer {"connection_id":153494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:35:19] local.INFO: IMEI packet received {"connection_id":153494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":153494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:35:20] local.INFO: TCP Data received {"connection_id":153494,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:35:20] local.INFO: Processing buffer {"connection_id":153494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:35:20] local.INFO: IMEI packet received {"connection_id":153494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":153494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:35:24] local.INFO: TCP Data received {"connection_id":153494,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:35:24] local.INFO: Processing buffer {"connection_id":153494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:35:24] local.INFO: IMEI packet received {"connection_id":153494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":153494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:35:24] local.INFO: TCP Data received {"connection_id":153494,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa2e550012db7a88005e2eca0002800d527..."} 
[2026-08-11 12:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa2e550012db7a88005e2eca0002800d527..."} 
[2026-08-11 12:35:24] local.INFO: Processing buffer {"connection_id":153494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa2e550012db7a88005e2eca0002800d527..."} 
[2026-08-11 12:35:24] local.INFO: Packet analysis {"connection_id":153494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa2"} 
[2026-08-11 12:35:24] local.INFO: Extracted packet for processing {"connection_id":153494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa2"} 
[2026-08-11 12:35:24] local.INFO: GPS Element Parsed {"raw_longitude":767010944,"raw_latitude":98757792,"longitude_deg":76.7010944,"latitude_deg":9.8757792,"altitude":40,"angle":213,"satellites":39,"speed":43,"hex_longitude":"2db7a880","hex_latitude":"05e2eca0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326554112001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377495937049690112,"note":"Value kept but may cause issues"} 
[2026-08-11 12:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5209890687398174720,"note":"Value kept but may cause issues"} 
[2026-08-11 12:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786431858000,"timestamp_ms":1786431858000,"timestamp_seconds":1786431858,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa2e550"} 
[2026-08-11 12:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:35:24] 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-08-11 12: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-08-11 12:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:35:24] 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-08-11 12:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326554112001,"66":27843,"130":206,"92":41728,"24":43,"16":377495937049690112,"45":-5209890687398174720},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,92,24,16,45]} 
[2026-08-11 12:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326554112001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:35:24] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-11 12:35:24] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377495937049690112,"km_value":377495937049690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5209890687398174720,"description":"Unknown IO ID 45"} 
[2026-08-11 12:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326554112001,"power":27843,"unknown_130":206,"unknown_92":41728,"ignition":43,"odometer":null,"unknown_45":-5209890687398174720}} 
[2026-08-11 12:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":153494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:35:24] local.INFO: GPS data processed {"connection_id":153494,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:35:24] local.INFO: Acknowledgment sent {"connection_id":153494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:35:48] local.INFO: TCP Data received {"connection_id":153493,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa08fa8012d1822c00721b438005000d323..."} 
[2026-08-11 12:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa08fa8012d1822c00721b438005000d323..."} 
[2026-08-11 12:35:48] local.INFO: Processing buffer {"connection_id":153493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa08fa8012d1822c00721b438005000d323..."} 
[2026-08-11 12:35:48] local.INFO: Packet analysis {"connection_id":153493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa0"} 
[2026-08-11 12:35:48] local.INFO: Extracted packet for processing {"connection_id":153493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa0"} 
[2026-08-11 12:35:48] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649336,"longitude_deg":75.655648,"latitude_deg":11.9649336,"altitude":80,"angle":211,"satellites":35,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-11 12:35: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-08-11 12:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326511104001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546267956019200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981195776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:35:48] 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-08-11 12:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786431705000,"timestamp_ms":1786431705000,"timestamp_seconds":1786431705,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa08fa8"} 
[2026-08-11 12:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:35:48] 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-08-11 12:35: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-11 12:35:48] 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-08-11 12:35: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-08-11 12:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326511104001,"66":12982,"105":206,"83":41984,"24":0,"16":11546267956019200,"45":1739163542981195776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326511104001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:35:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:35:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546267956019200,"km_value":11546267956019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981195776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326511104001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981195776}} 
[2026-08-11 12:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":153493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:35:48] local.INFO: GPS data processed {"connection_id":153493,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:35:48] local.INFO: Acknowledgment sent {"connection_id":153493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:35:55] local.INFO: TCP Data received {"connection_id":153494,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa3bc28012db787c005e226f8002a00e427..."} 
[2026-08-11 12:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa3bc28012db787c005e226f8002a00e427..."} 
[2026-08-11 12:35:55] local.INFO: Processing buffer {"connection_id":153494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa3bc28012db787c005e226f8002a00e427..."} 
[2026-08-11 12:35:55] local.INFO: Packet analysis {"connection_id":153494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa3"} 
[2026-08-11 12:35:55] local.INFO: Extracted packet for processing {"connection_id":153494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa3"} 
[2026-08-11 12:35:55] local.INFO: GPS Element Parsed {"raw_longitude":767002560,"raw_latitude":98707192,"longitude_deg":76.700256,"latitude_deg":9.8707192,"altitude":42,"angle":228,"satellites":39,"speed":35,"hex_longitude":"2db787c0","hex_latitude":"05e226f8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 12:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326568960001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377498599929413632,"note":"Value kept but may cause issues"} 
[2026-08-11 12:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5219883049085413376,"note":"Value kept but may cause issues"} 
[2026-08-11 12:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786431913000,"timestamp_ms":1786431913000,"timestamp_seconds":1786431913,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa3bc28"} 
[2026-08-11 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-08-11 12:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 12:35:55] 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-08-11 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-08-11 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-08-11 12:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:35:55] 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-08-11 12:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326568960001,"66":27691,"130":206,"92":41728,"24":35,"16":377498599929413632,"45":-5219883049085413376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,92,24,16,45]} 
[2026-08-11 12:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326568960001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:35:55] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-11 12:35:55] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377498599929413632,"km_value":377498599929413.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5219883049085413376,"description":"Unknown IO ID 45"} 
[2026-08-11 12:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326568960001,"power":27691,"unknown_130":206,"unknown_92":41728,"ignition":35,"odometer":null,"unknown_45":-5219883049085413376}} 
[2026-08-11 12:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":153494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:35:55] local.INFO: GPS data processed {"connection_id":153494,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:35:55] local.INFO: Acknowledgment sent {"connection_id":153494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:36:10] local.INFO: TCP Data received {"connection_id":152536,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:36:10] local.INFO: Processing buffer {"connection_id":152536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:36:10] local.INFO: IMEI packet received {"connection_id":152536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":152536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:36:16] local.INFO: TCP Data received {"connection_id":152536,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:36:16] local.INFO: Processing buffer {"connection_id":152536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:36:16] local.INFO: IMEI packet received {"connection_id":152536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":152536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:36:16] local.INFO: TCP Data received {"connection_id":152536,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa0ddc8012d1822c00721b438005000d322..."} 
[2026-08-11 12:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa0ddc8012d1822c00721b438005000d322..."} 
[2026-08-11 12:36:16] local.INFO: Processing buffer {"connection_id":152536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa0ddc8012d1822c00721b438005000d322..."} 
[2026-08-11 12:36:16] local.INFO: Packet analysis {"connection_id":152536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa0"} 
[2026-08-11 12:36:16] local.INFO: Extracted packet for processing {"connection_id":152536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa0"} 
[2026-08-11 12:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649336,"longitude_deg":75.655648,"latitude_deg":11.9649336,"altitude":80,"angle":211,"satellites":34,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326516480001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546267956019200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981195776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:36:16] 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-08-11 12:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786431725000,"timestamp_ms":1786431725000,"timestamp_seconds":1786431725,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa0ddc8"} 
[2026-08-11 12:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:36:16] 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-08-11 12: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-11 12:36:16] 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-08-11 12: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-08-11 12:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326516480001,"66":12917,"105":206,"83":41984,"24":0,"16":11546267956019200,"45":1739163542981195776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326516480001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:36:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:36:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546267956019200,"km_value":11546267956019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981195776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326516480001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981195776}} 
[2026-08-11 12:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":152536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:36:16] local.INFO: GPS data processed {"connection_id":152536,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:36:16] local.INFO: Acknowledgment sent {"connection_id":152536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:36:19] local.INFO: TCP Data received {"connection_id":154873,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:36:19] local.INFO: Processing buffer {"connection_id":154873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:36:19] local.INFO: IMEI packet received {"connection_id":154873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":154873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:36:25] local.INFO: TCP Data received {"connection_id":154873,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:36:25] local.INFO: Processing buffer {"connection_id":154873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:36:25] local.INFO: IMEI packet received {"connection_id":154873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":154873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:36:25] local.INFO: TCP Data received {"connection_id":154873,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa3c3f8012db7830005e221d8002a00d827..."} 
[2026-08-11 12:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa3c3f8012db7830005e221d8002a00d827..."} 
[2026-08-11 12:36:25] local.INFO: Processing buffer {"connection_id":154873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa3c3f8012db7830005e221d8002a00d827..."} 
[2026-08-11 12:36:25] local.INFO: Packet analysis {"connection_id":154873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa3"} 
[2026-08-11 12:36:25] local.INFO: Extracted packet for processing {"connection_id":154873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa3"} 
[2026-08-11 12:36:25] local.INFO: GPS Element Parsed {"raw_longitude":767001344,"raw_latitude":98705880,"longitude_deg":76.7001344,"latitude_deg":9.870588,"altitude":42,"angle":216,"satellites":39,"speed":36,"hex_longitude":"2db78300","hex_latitude":"05e221d8","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326569728001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377498685828759552,"note":"Value kept but may cause issues"} 
[2026-08-11 12:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5221994111411226624,"note":"Value kept but may cause issues"} 
[2026-08-11 12:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786431915000,"timestamp_ms":1786431915000,"timestamp_seconds":1786431915,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa3c3f8"} 
[2026-08-11 12:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-11 12:36:25] 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-08-11 12: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-08-11 12:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:36:25] 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-08-11 12:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326569728001,"66":27669,"81":206,"92":41728,"24":36,"16":377498685828759552,"45":-5221994111411226624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-08-11 12:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326569728001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:36:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-11 12:36:25] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377498685828759552,"km_value":377498685828759.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5221994111411226624,"description":"Unknown IO ID 45"} 
[2026-08-11 12:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326569728001,"power":27669,"unknown_81":206,"unknown_92":41728,"ignition":36,"odometer":null,"unknown_45":-5221994111411226624}} 
[2026-08-11 12:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":154873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:36:25] local.INFO: GPS data processed {"connection_id":154873,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:36:25] local.INFO: Acknowledgment sent {"connection_id":154873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:36:48] local.INFO: TCP Data received {"connection_id":152536,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa444e0012d1822c00721b438005000d327..."} 
[2026-08-11 12:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa444e0012d1822c00721b438005000d327..."} 
[2026-08-11 12:36:48] local.INFO: Processing buffer {"connection_id":152536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa444e0012d1822c00721b438005000d327..."} 
[2026-08-11 12:36:48] local.INFO: Packet analysis {"connection_id":152536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa4"} 
[2026-08-11 12:36:48] local.INFO: Extracted packet for processing {"connection_id":152536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa4"} 
[2026-08-11 12:36:48] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649336,"longitude_deg":75.655648,"latitude_deg":11.9649336,"altitude":80,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-11 12:36: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-08-11 12:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326573568001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546267956019200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981195776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:36:48] 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-08-11 12:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786431948000,"timestamp_ms":1786431948000,"timestamp_seconds":1786431948,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa444e0"} 
[2026-08-11 12:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:36:48] 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-08-11 12:36: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 12:36:48] 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-08-11 12:36: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-08-11 12:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326573568001,"66":12722,"105":206,"83":41984,"24":0,"16":11546267956019200,"45":1739163542981195776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326573568001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:36:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:36:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546267956019200,"km_value":11546267956019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981195776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326573568001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981195776}} 
[2026-08-11 12:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":152536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:36:48] local.INFO: GPS data processed {"connection_id":152536,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:36:48] local.INFO: Acknowledgment sent {"connection_id":152536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:36:56] local.INFO: TCP Data received {"connection_id":154873,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa3c7e0012db7814005e21ed8002a00cd24..."} 
[2026-08-11 12:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa3c7e0012db7814005e21ed8002a00cd24..."} 
[2026-08-11 12:36:56] local.INFO: Processing buffer {"connection_id":154873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa3c7e0012db7814005e21ed8002a00cd24..."} 
[2026-08-11 12:36:56] local.INFO: Packet analysis {"connection_id":154873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa3"} 
[2026-08-11 12:36:56] local.INFO: Extracted packet for processing {"connection_id":154873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa3"} 
[2026-08-11 12:36:56] local.INFO: GPS Element Parsed {"raw_longitude":767000896,"raw_latitude":98705112,"longitude_deg":76.7000896,"latitude_deg":9.8705112,"altitude":42,"angle":205,"satellites":36,"speed":35,"hex_longitude":"2db78140","hex_latitude":"05e21ed8","is_valid_coordinates":true} 
[2026-08-11 12:36: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-08-11 12:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326570240001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377498728778432512,"note":"Value kept but may cause issues"} 
[2026-08-11 12:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5223331117550938112,"note":"Value kept but may cause issues"} 
[2026-08-11 12:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786431916000,"timestamp_ms":1786431916000,"timestamp_seconds":1786431916,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa3c7e0"} 
[2026-08-11 12:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:36: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":21,"data_length":795,"current_offset":136} 
[2026-08-11 12:36:56] 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-08-11 12:36: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-08-11 12:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:36:56] 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-08-11 12:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326570240001,"66":27691,"81":206,"92":41728,"24":35,"16":377498728778432512,"45":-5223331117550938112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-08-11 12:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326570240001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:36:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-11 12:36:56] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377498728778432512,"km_value":377498728778432.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5223331117550938112,"description":"Unknown IO ID 45"} 
[2026-08-11 12:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326570240001,"power":27691,"unknown_81":206,"unknown_92":41728,"ignition":35,"odometer":null,"unknown_45":-5223331117550938112}} 
[2026-08-11 12:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":154873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:36:56] local.INFO: GPS data processed {"connection_id":154873,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:36:56] local.INFO: Acknowledgment sent {"connection_id":154873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:37:16] local.INFO: TCP Data received {"connection_id":153495,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:37:16] local.INFO: Processing buffer {"connection_id":153495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:37:16] local.INFO: IMEI packet received {"connection_id":153495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":153495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:37:19] local.INFO: TCP Data received {"connection_id":152164,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:37:19] local.INFO: Processing buffer {"connection_id":152164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:37:19] local.INFO: IMEI packet received {"connection_id":152164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":152164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:37:19] local.INFO: TCP Data received {"connection_id":152164,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:37:19] local.INFO: Processing buffer {"connection_id":152164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:37:19] local.INFO: IMEI packet received {"connection_id":152164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":152164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:37:20] local.INFO: TCP Data received {"connection_id":153495,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:37:20] local.INFO: Processing buffer {"connection_id":153495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:37:20] local.INFO: IMEI packet received {"connection_id":153495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":153495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:37:21] local.INFO: TCP Data received {"connection_id":153495,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa49300012d1822c00721b438005000d326..."} 
[2026-08-11 12:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa49300012d1822c00721b438005000d326..."} 
[2026-08-11 12:37:21] local.INFO: Processing buffer {"connection_id":153495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa49300012d1822c00721b438005000d326..."} 
[2026-08-11 12:37:21] local.INFO: Packet analysis {"connection_id":153495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa4"} 
[2026-08-11 12:37:21] local.INFO: Extracted packet for processing {"connection_id":153495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa4"} 
[2026-08-11 12:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649336,"longitude_deg":75.655648,"latitude_deg":11.9649336,"altitude":80,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-11 12:37: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-08-11 12:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326578688001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546267956019200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981195776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:37:21] 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-08-11 12:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786431968000,"timestamp_ms":1786431968000,"timestamp_seconds":1786431968,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa49300"} 
[2026-08-11 12:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:37:21] 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-08-11 12:37: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":178,"data_length":795,"current_offset":136} 
[2026-08-11 12:37:21] 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-08-11 12:37: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-08-11 12:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":153495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":153495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":153495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326578688001,"66":12765,"105":206,"83":41984,"24":0,"16":11546267956019200,"45":1739163542981195776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326578688001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:37:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546267956019200,"km_value":11546267956019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981195776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326578688001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981195776}} 
[2026-08-11 12:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":153495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:37:21] local.INFO: GPS data processed {"connection_id":153495,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:37:21] local.INFO: Acknowledgment sent {"connection_id":153495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:37:21] local.INFO: TCP Data received {"connection_id":152164,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:37:21] local.INFO: Processing buffer {"connection_id":152164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:37:21] local.INFO: IMEI packet received {"connection_id":152164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":152164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:37:23] local.INFO: TCP Data received {"connection_id":153495,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa4e120012d1822c00721b438005000d327..."} 
[2026-08-11 12:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa4e120012d1822c00721b438005000d327..."} 
[2026-08-11 12:37:23] local.INFO: Processing buffer {"connection_id":153495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa4e120012d1822c00721b438005000d327..."} 
[2026-08-11 12:37:23] local.INFO: Packet analysis {"connection_id":153495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa4"} 
[2026-08-11 12:37:23] local.INFO: Extracted packet for processing {"connection_id":153495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa4"} 
[2026-08-11 12:37:23] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649336,"longitude_deg":75.655648,"latitude_deg":11.9649336,"altitude":80,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326583808001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546267956019200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981195776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:37: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-08-11 12:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786431988000,"timestamp_ms":1786431988000,"timestamp_seconds":1786431988,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa4e120"} 
[2026-08-11 12:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:37:23] 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-08-11 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-11 12:37:23] 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-08-11 12: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-08-11 12:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326583808001,"66":12722,"105":206,"83":41984,"24":0,"16":11546267956019200,"45":1739163542981195776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326583808001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:37:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:37:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546267956019200,"km_value":11546267956019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981195776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326583808001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981195776}} 
[2026-08-11 12:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":153495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:37:23] local.INFO: GPS data processed {"connection_id":153495,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:37:23] local.INFO: Acknowledgment sent {"connection_id":153495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:37:23] local.INFO: TCP Data received {"connection_id":152164,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:37:23] local.INFO: Processing buffer {"connection_id":152164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:37:23] local.INFO: IMEI packet received {"connection_id":152164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":152164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:37:54] local.INFO: TCP Data received {"connection_id":153495,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa52f40012d1822c00721b438005000d328..."} 
[2026-08-11 12:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa52f40012d1822c00721b438005000d328..."} 
[2026-08-11 12:37:54] local.INFO: Processing buffer {"connection_id":153495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa52f40012d1822c00721b438005000d328..."} 
[2026-08-11 12:37:54] local.INFO: Packet analysis {"connection_id":153495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa5"} 
[2026-08-11 12:37:54] local.INFO: Extracted packet for processing {"connection_id":153495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa5"} 
[2026-08-11 12:37:54] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649336,"longitude_deg":75.655648,"latitude_deg":11.9649336,"altitude":80,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-11 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-08-11 12:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326588928001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546267956019200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981195776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:37: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-08-11 12:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786432008000,"timestamp_ms":1786432008000,"timestamp_seconds":1786432008,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa52f40"} 
[2026-08-11 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-08-11 12:37:54] 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-08-11 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 12:37: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-08-11 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-08-11 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-08-11 12:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":153495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":153495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":153495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326588928001,"66":12667,"105":206,"83":41984,"24":0,"16":11546267956019200,"45":1739163542981195776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326588928001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:37:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:37:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546267956019200,"km_value":11546267956019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981195776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326588928001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981195776}} 
[2026-08-11 12:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":153495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:37:54] local.INFO: GPS data processed {"connection_id":153495,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:37:54] local.INFO: Acknowledgment sent {"connection_id":153495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:38:11] local.INFO: TCP Data received {"connection_id":152537,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:38:11] local.INFO: Processing buffer {"connection_id":152537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:38:11] local.INFO: IMEI packet received {"connection_id":152537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":152537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:38:16] local.INFO: TCP Data received {"connection_id":152537,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:38:16] local.INFO: Processing buffer {"connection_id":152537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:38:16] local.INFO: IMEI packet received {"connection_id":152537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":152537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:38:17] local.INFO: TCP Data received {"connection_id":152537,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa57d60012d1822c00721b438005000d327..."} 
[2026-08-11 12:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa57d60012d1822c00721b438005000d327..."} 
[2026-08-11 12:38:17] local.INFO: Processing buffer {"connection_id":152537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa57d60012d1822c00721b438005000d327..."} 
[2026-08-11 12:38:17] local.INFO: Packet analysis {"connection_id":152537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa5"} 
[2026-08-11 12:38:17] local.INFO: Extracted packet for processing {"connection_id":152537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa5"} 
[2026-08-11 12:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649336,"longitude_deg":75.655648,"latitude_deg":11.9649336,"altitude":80,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326594048001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546267956019200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981195776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:38:17] 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-08-11 12:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786432028000,"timestamp_ms":1786432028000,"timestamp_seconds":1786432028,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa57d60"} 
[2026-08-11 12:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:38:17] 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-08-11 12: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-11 12:38:17] 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-08-11 12: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-08-11 12:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326594048001,"66":14102,"105":206,"83":41984,"24":0,"16":11546267956019200,"45":1739163542981195776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326594048001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:38:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:38:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546267956019200,"km_value":11546267956019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981195776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326594048001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981195776}} 
[2026-08-11 12:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":152537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:38:17] local.INFO: GPS data processed {"connection_id":152537,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:38:17] local.INFO: Acknowledgment sent {"connection_id":152537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:38:48] local.INFO: TCP Data received {"connection_id":152537,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa5cb80012d181f800721adb8004c00cc28..."} 
[2026-08-11 12:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa5cb80012d181f800721adb8004c00cc28..."} 
[2026-08-11 12:38:48] local.INFO: Processing buffer {"connection_id":152537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa5cb80012d181f800721adb8004c00cc28..."} 
[2026-08-11 12:38:48] local.INFO: Packet analysis {"connection_id":152537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa5"} 
[2026-08-11 12:38:48] local.INFO: Extracted packet for processing {"connection_id":152537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa5"} 
[2026-08-11 12:38:48] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647672,"longitude_deg":75.6555648,"latitude_deg":11.9647672,"altitude":76,"angle":204,"satellites":40,"speed":14,"hex_longitude":"2d181f80","hex_latitude":"0721adb8","is_valid_coordinates":true} 
[2026-08-11 12:38: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-08-11 12:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326599168001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546358150332416,"note":"Value kept but may cause issues"} 
[2026-08-11 12:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981195776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:38:48] 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-08-11 12:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786432048000,"timestamp_ms":1786432048000,"timestamp_seconds":1786432048,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa5cb80"} 
[2026-08-11 12:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:38:48] 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-08-11 12:38: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 12:38:48] 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-08-11 12:38: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-08-11 12:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326599168001,"66":14102,"105":206,"83":41984,"24":14,"16":11546358150332416,"45":1739163542981195776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326599168001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:38:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:38:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546358150332416,"km_value":11546358150332.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981195776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326599168001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1739163542981195776}} 
[2026-08-11 12:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":152537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:38:48] local.INFO: GPS data processed {"connection_id":152537,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:38:48] local.INFO: Acknowledgment sent {"connection_id":152537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:39:10] local.INFO: TCP Data received {"connection_id":152538,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:39:10] local.INFO: Processing buffer {"connection_id":152538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:39:10] local.INFO: IMEI packet received {"connection_id":152538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":152538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:39:11] local.INFO: TCP Data received {"connection_id":152538,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:39:11] local.INFO: Processing buffer {"connection_id":152538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:39:11] local.INFO: IMEI packet received {"connection_id":152538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":152538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:39:16] local.INFO: TCP Data received {"connection_id":152538,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:39:16] local.INFO: Processing buffer {"connection_id":152538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:39:16] local.INFO: IMEI packet received {"connection_id":152538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":152538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:39:17] local.INFO: TCP Data received {"connection_id":152538,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa6bdb0012d17b500072117e80038009027..."} 
[2026-08-11 12:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa6bdb0012d17b500072117e80038009027..."} 
[2026-08-11 12:39:17] local.INFO: Processing buffer {"connection_id":152538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa6bdb0012d17b500072117e80038009027..."} 
[2026-08-11 12:39:17] local.INFO: Packet analysis {"connection_id":152538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa6"} 
[2026-08-11 12:39:17] local.INFO: Extracted packet for processing {"connection_id":152538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa6"} 
[2026-08-11 12:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756528384,"raw_latitude":119609320,"longitude_deg":75.6528384,"latitude_deg":11.960932,"altitude":56,"angle":144,"satellites":39,"speed":16,"hex_longitude":"2d17b500","hex_latitude":"072117e8","is_valid_coordinates":true} 
[2026-08-11 12:39: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-08-11 12:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326619904001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11548655957835776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708130926788681728,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:17] 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-08-11 12:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786432110000,"timestamp_ms":1786432110000,"timestamp_seconds":1786432110,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa6bdb0"} 
[2026-08-11 12:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:39:17] 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-08-11 12:39: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 12:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6978250300,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4020657160,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:17] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503775829819392,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-11 12:39:17] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402090,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84750292918673782,"corrected_to":0} 
[2026-08-11 12:39:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":20267135297135104,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:17] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,107,83,24,241,157,16,7,159,181,45,64,26,57,39,10,66,177,128,27,58,40,162,1,240,77,227,239,33,4,113,205,31,127,207,248,54,2,41,70,36,206,200,160],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":200,"original":84750292918673782,"validated":0}]} 
[2026-08-11 12:39:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035396957442408448,"timestamp_seconds":4035396957442408.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 12:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326619904001,"66":14341,"107":206,"83":41984,"24":16,"16":11548655957835776,"45":1708130926788681728},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326619904001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:39:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11548655957835776,"km_value":11548655957835.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708130926788681728,"description":"Unknown IO ID 45"} 
[2026-08-11 12:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326619904001,"power":14341,"unknown_107":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1708130926788681728}} 
[2026-08-11 12:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":152538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:39:17] local.INFO: GPS data processed {"connection_id":152538,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:39:17] local.INFO: Acknowledgment sent {"connection_id":152538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:39:18] local.INFO: TCP Data received {"connection_id":152538,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa6cd50012d17b900072111380035009c27..."} 
[2026-08-11 12:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa6cd50012d17b900072111380035009c27..."} 
[2026-08-11 12:39:18] local.INFO: Processing buffer {"connection_id":152538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa6cd50012d17b900072111380035009c27..."} 
[2026-08-11 12:39:18] local.INFO: Packet analysis {"connection_id":152538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa6"} 
[2026-08-11 12:39:18] local.INFO: Extracted packet for processing {"connection_id":152538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa6"} 
[2026-08-11 12:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756529408,"raw_latitude":119607608,"longitude_deg":75.6529408,"latitude_deg":11.9607608,"altitude":53,"angle":156,"satellites":39,"speed":17,"hex_longitude":"2d17b900","hex_latitude":"07211138","is_valid_coordinates":true} 
[2026-08-11 12:39: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-08-11 12:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326620160001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11548754742083584,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708271664276957184,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:18] 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-08-11 12:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786432114000,"timestamp_ms":1786432114000,"timestamp_seconds":1786432114,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa6cd50"} 
[2026-08-11 12:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:39:18] 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-08-11 12:39: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 12:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6978250332,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:18] local.WARNING: Large IO value detected {"io_id":24,"raw_value":19704138099074048,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4020666160,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:18] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503775836635136,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-11 12:39:18] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84750226346680671,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:18] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,107,83,24,241,157,16,7,159,185,45,128,25,56,39,10,66,181,64,26,57,177,1,240,92,227,239,33,4,113,205,31,162,186,40,55,2,41,206,8],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-11 12:39:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035383763303137280,"timestamp_seconds":4035383763303137.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 12:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326620160001,"66":14341,"107":206,"83":41984,"24":17,"16":11548754742083584,"45":1708271664276957184},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326620160001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:39:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:39:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11548754742083584,"km_value":11548754742083.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708271664276957184,"description":"Unknown IO ID 45"} 
[2026-08-11 12:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326620160001,"power":14341,"unknown_107":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1708271664276957184}} 
[2026-08-11 12:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":152538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:39:18] local.INFO: GPS data processed {"connection_id":152538,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:39:18] local.INFO: Acknowledgment sent {"connection_id":152538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:39:49] local.INFO: TCP Data received {"connection_id":152538,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa6f460012d17be4007210580003400a827..."} 
[2026-08-11 12:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa6f460012d17be4007210580003400a827..."} 
[2026-08-11 12:39:49] local.INFO: Processing buffer {"connection_id":152538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa6f460012d17be4007210580003400a827..."} 
[2026-08-11 12:39:49] local.INFO: Packet analysis {"connection_id":152538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa6"} 
[2026-08-11 12:39:49] local.INFO: Extracted packet for processing {"connection_id":152538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa6"} 
[2026-08-11 12:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756530752,"raw_latitude":119604608,"longitude_deg":75.6530752,"latitude_deg":11.9604608,"altitude":52,"angle":168,"satellites":39,"speed":14,"hex_longitude":"2d17be40","hex_latitude":"07210580","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326621184001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11548913655873536,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1709397564183361536,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:49] 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-08-11 12:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786432124000,"timestamp_ms":1786432124000,"timestamp_seconds":1786432124,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa6f460"} 
[2026-08-11 12:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:39:49] 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-08-11 12: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":5,"data_length":795,"current_offset":136} 
[2026-08-11 12:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6978250367,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:49] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4020675160,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503775843516416,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-11 12:39:49] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84750146889785663,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:49] local.WARNING: Large IO value detected {"io_id":248,"raw_value":18015301123714304,"note":"Value kept but may cause issues"} 
[2026-08-11 12:39:49] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,107,83,24,241,157,16,7,159,189,45,23,56,39,10,66,185,128,25,181,64,1,240,92,227,239,33,4,113,205,13,162,186,40,55,2,41,58,31,206,48,248],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-11 12:39:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819224175328952320,"timestamp_seconds":3819224175328952.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 12:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326621184001,"66":14265,"107":206,"83":41984,"24":14,"16":11548913655873536,"45":1709397564183361536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326621184001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:39:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11548913655873536,"km_value":11548913655873.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1709397564183361536,"description":"Unknown IO ID 45"} 
[2026-08-11 12:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326621184001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1709397564183361536}} 
[2026-08-11 12:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":152538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:39:50] local.INFO: GPS data processed {"connection_id":152538,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:39:50] local.INFO: Acknowledgment sent {"connection_id":152538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:40:11] local.INFO: TCP Data received {"connection_id":153497,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:40:11] local.INFO: Processing buffer {"connection_id":153497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:40:11] local.INFO: IMEI packet received {"connection_id":153497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":153497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:40:13] local.INFO: TCP Data received {"connection_id":153497,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:40:13] local.INFO: Processing buffer {"connection_id":153497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:40:13] local.INFO: IMEI packet received {"connection_id":153497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":153497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:40:23] local.INFO: TCP Data received {"connection_id":153497,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa70400012d17bfc0072102380035009928..."} 
[2026-08-11 12:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa70400012d17bfc0072102380035009928..."} 
[2026-08-11 12:40:23] local.INFO: Processing buffer {"connection_id":153497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa70400012d17bfc0072102380035009928..."} 
[2026-08-11 12:40:23] local.INFO: Packet analysis {"connection_id":153497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa7"} 
[2026-08-11 12:40:23] local.INFO: Extracted packet for processing {"connection_id":153497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa7"} 
[2026-08-11 12:40:23] local.INFO: GPS Element Parsed {"raw_longitude":756531136,"raw_latitude":119603768,"longitude_deg":75.6531136,"latitude_deg":11.9603768,"altitude":53,"angle":153,"satellites":40,"speed":7,"hex_longitude":"2d17bfc0","hex_latitude":"07210238","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326623744001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11548960900513792,"note":"Value kept but may cause issues"} 
[2026-08-11 12:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710875307810324480,"note":"Value kept but may cause issues"} 
[2026-08-11 12:40:23] 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-08-11 12:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786432128000,"timestamp_ms":1786432128000,"timestamp_seconds":1786432128,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa70400"} 
[2026-08-11 12:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:40:23] 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-08-11 12: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 12:40:23] 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-08-11 12: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-08-11 12:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326623744001,"66":14363,"107":206,"83":41984,"24":7,"16":11548960900513792,"45":1710875307810324480},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326623744001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:40:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:40:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11548960900513792,"km_value":11548960900513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710875307810324480,"description":"Unknown IO ID 45"} 
[2026-08-11 12:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326623744001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1710875307810324480}} 
[2026-08-11 12:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":153497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:40:23] local.INFO: GPS data processed {"connection_id":153497,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:40:23] local.INFO: Acknowledgment sent {"connection_id":153497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:40:55] local.INFO: TCP Data received {"connection_id":153497,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa86b60012d17b64007209008002d00c327..."} 
[2026-08-11 12:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa86b60012d17b64007209008002d00c327..."} 
[2026-08-11 12:40:55] local.INFO: Processing buffer {"connection_id":153497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa86b60012d17b64007209008002d00c327..."} 
[2026-08-11 12:40:55] local.INFO: Packet analysis {"connection_id":153497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa8"} 
[2026-08-11 12:40:55] local.INFO: Extracted packet for processing {"connection_id":153497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa8"} 
[2026-08-11 12:40:55] local.INFO: GPS Element Parsed {"raw_longitude":756528704,"raw_latitude":119574536,"longitude_deg":75.6528704,"latitude_deg":11.9574536,"altitude":45,"angle":195,"satellites":39,"speed":16,"hex_longitude":"2d17b640","hex_latitude":"07209008","is_valid_coordinates":true} 
[2026-08-11 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-08-11 12:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326645760001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11550734722007040,"note":"Value kept but may cause issues"} 
[2026-08-11 12:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1709327195431809024,"note":"Value kept but may cause issues"} 
[2026-08-11 12:40:55] 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-08-11 12:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786432220000,"timestamp_ms":1786432220000,"timestamp_seconds":1786432220,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa86b60"} 
[2026-08-11 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-08-11 12:40:55] 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-08-11 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 12:40:55] 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-08-11 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-08-11 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-08-11 12:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326645760001,"66":14080,"107":206,"83":41984,"24":16,"16":11550734722007040,"45":1709327195431809024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326645760001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:40:55] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:40:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11550734722007040,"km_value":11550734722007.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1709327195431809024,"description":"Unknown IO ID 45"} 
[2026-08-11 12:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326645760001,"power":14080,"unknown_107":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1709327195431809024}} 
[2026-08-11 12:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":153497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:40:55] local.INFO: GPS data processed {"connection_id":153497,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:40:55] local.INFO: Acknowledgment sent {"connection_id":153497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:41:10] local.INFO: TCP Data received {"connection_id":152539,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:41:10] local.INFO: Processing buffer {"connection_id":152539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:41:10] local.INFO: IMEI packet received {"connection_id":152539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":152539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:41:17] local.INFO: TCP Data received {"connection_id":152539,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:41:17] local.INFO: Processing buffer {"connection_id":152539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:41:17] local.INFO: IMEI packet received {"connection_id":152539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":152539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:41:18] local.INFO: TCP Data received {"connection_id":152539,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa87718012d17b5c007208ad8002b00b528..."} 
[2026-08-11 12:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa87718012d17b5c007208ad8002b00b528..."} 
[2026-08-11 12:41:18] local.INFO: Processing buffer {"connection_id":152539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa87718012d17b5c007208ad8002b00b528..."} 
[2026-08-11 12:41:18] local.INFO: Packet analysis {"connection_id":152539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa8"} 
[2026-08-11 12:41:18] local.INFO: Extracted packet for processing {"connection_id":152539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa8"} 
[2026-08-11 12:41:18] local.INFO: GPS Element Parsed {"raw_longitude":756528576,"raw_latitude":119573208,"longitude_deg":75.6528576,"latitude_deg":11.9573208,"altitude":43,"angle":181,"satellites":40,"speed":16,"hex_longitude":"2d17b5c0","hex_latitude":"07208ad8","is_valid_coordinates":true} 
[2026-08-11 12:41: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-08-11 12:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326648320001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11550799146516480,"note":"Value kept but may cause issues"} 
[2026-08-11 12:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708623507988940800,"note":"Value kept but may cause issues"} 
[2026-08-11 12:41:18] 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-08-11 12:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786432223000,"timestamp_ms":1786432223000,"timestamp_seconds":1786432223,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa87718"} 
[2026-08-11 12:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:41:18] 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-08-11 12:41: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":0,"data_length":795,"current_offset":136} 
[2026-08-11 12:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303488,"note":"Value kept but may cause issues"} 
[2026-08-11 12:41:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 12:41:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 12:41:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4020773160,"note":"Value kept but may cause issues"} 
[2026-08-11 12:41:18] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2750414892,"note":"Value kept but may cause issues"} 
[2026-08-11 12:41:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-11 12:41:18] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2147950757,"note":"Value kept but may cause issues"} 
[2026-08-11 12:41:18] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,107,83,24,241,157,16,9,159,68,45,192,160,39,10,66,64,162,38,60,1,240,27,227,239,32,4,113,205,11,37,177,224,56,2,41,7,13],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-11 12:41:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242806303978946560,"timestamp_seconds":3242806303978946.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 12:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326648320001,"66":14396,"107":206,"83":41984,"24":16,"16":11550799146516480,"45":1708623507988940800},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326648320001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:41:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:41:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11550799146516480,"km_value":11550799146516.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708623507988940800,"description":"Unknown IO ID 45"} 
[2026-08-11 12:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326648320001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1708623507988940800}} 
[2026-08-11 12:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":152539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:41:18] local.INFO: GPS data processed {"connection_id":152539,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:41:18] local.INFO: Acknowledgment sent {"connection_id":152539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:41:52] local.INFO: TCP Data received {"connection_id":152539,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa8fbe8012d17c04007205e80002600b928..."} 
[2026-08-11 12:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa8fbe8012d17c04007205e80002600b928..."} 
[2026-08-11 12:41:52] local.INFO: Processing buffer {"connection_id":152539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa8fbe8012d17c04007205e80002600b928..."} 
[2026-08-11 12:41:52] local.INFO: Packet analysis {"connection_id":152539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa8"} 
[2026-08-11 12:41:52] local.INFO: Extracted packet for processing {"connection_id":152539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa8"} 
[2026-08-11 12:41:52] local.INFO: GPS Element Parsed {"raw_longitude":756531264,"raw_latitude":119561856,"longitude_deg":75.6531264,"latitude_deg":11.9561856,"altitude":38,"angle":185,"satellites":40,"speed":10,"hex_longitude":"2d17c040","hex_latitude":"07205e80","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326656512001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11551469161414656,"note":"Value kept but may cause issues"} 
[2026-08-11 12:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1711227151520708608,"note":"Value kept but may cause issues"} 
[2026-08-11 12:41: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-08-11 12:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786432257000,"timestamp_ms":1786432257000,"timestamp_seconds":1786432257,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa8fbe8"} 
[2026-08-11 12:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:41:52] 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-08-11 12: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 12:41:52] 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-08-11 12: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-08-11 12:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326656512001,"66":14113,"107":206,"83":41984,"24":10,"16":11551469161414656,"45":1711227151520708608},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326656512001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:41:52] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:41:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11551469161414656,"km_value":11551469161414.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1711227151520708608,"description":"Unknown IO ID 45"} 
[2026-08-11 12:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326656512001,"power":14113,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1711227151520708608}} 
[2026-08-11 12:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":152539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:41:53] local.INFO: GPS data processed {"connection_id":152539,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:41:53] local.INFO: Acknowledgment sent {"connection_id":152539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:42:09] local.INFO: TCP Data received {"connection_id":153498,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:42:09] local.INFO: Processing buffer {"connection_id":153498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:42:09] local.INFO: IMEI packet received {"connection_id":153498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":153498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:42:10] local.INFO: TCP Data received {"connection_id":153498,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:42:10] local.INFO: Processing buffer {"connection_id":153498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:42:10] local.INFO: IMEI packet received {"connection_id":153498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":153498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:42:14] local.INFO: TCP Data received {"connection_id":153498,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:42:14] local.INFO: Processing buffer {"connection_id":153498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:42:14] local.INFO: IMEI packet received {"connection_id":153498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":153498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:42:15] local.INFO: TCP Data received {"connection_id":153498,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:42:15] local.INFO: Processing buffer {"connection_id":153498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:42:15] local.INFO: IMEI packet received {"connection_id":153498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":153498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:42:16] local.INFO: TCP Data received {"connection_id":153498,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa8ffd0012d17c00007205d70002600c528..."} 
[2026-08-11 12:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa8ffd0012d17c00007205d70002600c528..."} 
[2026-08-11 12:42:16] local.INFO: Processing buffer {"connection_id":153498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa8ffd0012d17c00007205d70002600c528..."} 
[2026-08-11 12:42:16] local.INFO: Packet analysis {"connection_id":153498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa8"} 
[2026-08-11 12:42:16] local.INFO: Extracted packet for processing {"connection_id":153498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa8"} 
[2026-08-11 12:42:16] local.INFO: GPS Element Parsed {"raw_longitude":756531200,"raw_latitude":119561584,"longitude_deg":75.65312,"latitude_deg":11.9561584,"altitude":38,"angle":197,"satellites":40,"speed":9,"hex_longitude":"2d17c000","hex_latitude":"07205d70","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326657792001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11551482046316544,"note":"Value kept but may cause issues"} 
[2026-08-11 12:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1711438257752801280,"note":"Value kept but may cause issues"} 
[2026-08-11 12:42:16] 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-08-11 12:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786432258000,"timestamp_ms":1786432258000,"timestamp_seconds":1786432258,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa8ffd0"} 
[2026-08-11 12:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:42:16] 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-08-11 12: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-11 12:42:16] 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-08-11 12: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-08-11 12:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326657792001,"66":13276,"107":206,"83":41984,"24":9,"16":11551482046316544,"45":1711438257752801280},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326657792001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:42:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:42:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11551482046316544,"km_value":11551482046316.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1711438257752801280,"description":"Unknown IO ID 45"} 
[2026-08-11 12:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326657792001,"power":13276,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1711438257752801280}} 
[2026-08-11 12:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":153498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:42:16] local.INFO: GPS data processed {"connection_id":153498,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:42:16] local.INFO: Acknowledgment sent {"connection_id":153498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:42:17] local.INFO: TCP Data received {"connection_id":153498,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa94620012d17be0007205580002700b028..."} 
[2026-08-11 12:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa94620012d17be0007205580002700b028..."} 
[2026-08-11 12:42:17] local.INFO: Processing buffer {"connection_id":153498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa94620012d17be0007205580002700b028..."} 
[2026-08-11 12:42:17] local.INFO: Packet analysis {"connection_id":153498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa9"} 
[2026-08-11 12:42:17] local.INFO: Extracted packet for processing {"connection_id":153498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa9"} 
[2026-08-11 12:42:17] local.INFO: GPS Element Parsed {"raw_longitude":756530688,"raw_latitude":119559552,"longitude_deg":75.6530688,"latitude_deg":11.9559552,"altitude":39,"angle":176,"satellites":40,"speed":3,"hex_longitude":"2d17be00","hex_latitude":"07205580","is_valid_coordinates":true} 
[2026-08-11 12:42: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-08-11 12:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326658048001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11551585125531648,"note":"Value kept but may cause issues"} 
[2026-08-11 12:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1711367889008553984,"note":"Value kept but may cause issues"} 
[2026-08-11 12:42:17] 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-08-11 12:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786432276000,"timestamp_ms":1786432276000,"timestamp_seconds":1786432276,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa94620"} 
[2026-08-11 12:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:42:17] 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-08-11 12:42: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-11 12:42:17] 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-08-11 12:42: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-08-11 12:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326658048001,"66":14102,"107":206,"83":41984,"24":3,"16":11551585125531648,"45":1711367889008553984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326658048001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:42:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:42:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11551585125531648,"km_value":11551585125531.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1711367889008553984,"description":"Unknown IO ID 45"} 
[2026-08-11 12:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326658048001,"power":14102,"unknown_107":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1711367889008553984}} 
[2026-08-11 12:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":153498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:42:17] local.INFO: GPS data processed {"connection_id":153498,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:42:17] local.INFO: Acknowledgment sent {"connection_id":153498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:42:25] local.INFO: TCP Data received {"connection_id":152540,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:42:25] local.INFO: Processing buffer {"connection_id":152540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:42:25] local.INFO: IMEI packet received {"connection_id":152540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":152540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:42:25] local.INFO: TCP Data received {"connection_id":152540,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa8d0f0012db5638005deea90004900bd2a..."} 
[2026-08-11 12:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa8d0f0012db5638005deea90004900bd2a..."} 
[2026-08-11 12:42:25] local.INFO: Processing buffer {"connection_id":152540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa8d0f0012db5638005deea90004900bd2a..."} 
[2026-08-11 12:42:25] local.INFO: Packet analysis {"connection_id":152540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa8"} 
[2026-08-11 12:42:25] local.INFO: Extracted packet for processing {"connection_id":152540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa8"} 
[2026-08-11 12:42:25] local.INFO: GPS Element Parsed {"raw_longitude":766862208,"raw_latitude":98495120,"longitude_deg":76.6862208,"latitude_deg":9.849512,"altitude":73,"angle":189,"satellites":42,"speed":38,"hex_longitude":"2db56380","hex_latitude":"05deea90","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326652416001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377512781911425024,"note":"Value kept but may cause issues"} 
[2026-08-11 12:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5374131336375189504,"note":"Value kept but may cause issues"} 
[2026-08-11 12:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786432246000,"timestamp_ms":1786432246000,"timestamp_seconds":1786432246,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa8d0f0"} 
[2026-08-11 12:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 12:42:25] 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-08-11 12: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-08-11 12:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:42:25] 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-08-11 12:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326652416001,"66":27832,"126":206,"92":41728,"24":38,"16":377512781911425024,"45":-5374131336375189504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-08-11 12:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326652416001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:42:25] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-11 12:42:25] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377512781911425024,"km_value":377512781911425.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5374131336375189504,"description":"Unknown IO ID 45"} 
[2026-08-11 12:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326652416001,"power":27832,"unknown_126":206,"unknown_92":41728,"ignition":38,"odometer":null,"unknown_45":-5374131336375189504}} 
[2026-08-11 12:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":152540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:42:25] local.INFO: GPS data processed {"connection_id":152540,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:42:25] local.INFO: Acknowledgment sent {"connection_id":152540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:42:48] local.INFO: TCP Data received {"connection_id":153498,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa9caf0012d17bdc0072050f00024000f27..."} 
[2026-08-11 12:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa9caf0012d17bdc0072050f00024000f27..."} 
[2026-08-11 12:42:48] local.INFO: Processing buffer {"connection_id":153498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa9caf0012d17bdc0072050f00024000f27..."} 
[2026-08-11 12:42:48] local.INFO: Packet analysis {"connection_id":153498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa9"} 
[2026-08-11 12:42:48] local.INFO: Extracted packet for processing {"connection_id":153498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa9"} 
[2026-08-11 12:42:48] local.INFO: GPS Element Parsed {"raw_longitude":756530624,"raw_latitude":119558384,"longitude_deg":75.6530624,"latitude_deg":11.9558384,"altitude":36,"angle":15,"satellites":39,"speed":2,"hex_longitude":"2d17bdc0","hex_latitude":"072050f0","is_valid_coordinates":true} 
[2026-08-11 12:42: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-08-11 12:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326670848001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11551829938667520,"note":"Value kept but may cause issues"} 
[2026-08-11 12:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710734570310092800,"note":"Value kept but may cause issues"} 
[2026-08-11 12:42:48] 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-08-11 12:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786432310000,"timestamp_ms":1786432310000,"timestamp_seconds":1786432310,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa9caf0"} 
[2026-08-11 12:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:42:48] 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-08-11 12:42: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":79,"data_length":795,"current_offset":136} 
[2026-08-11 12:42:48] 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-08-11 12:42: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-08-11 12:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326670848001,"66":13156,"107":206,"83":41984,"24":2,"16":11551829938667520,"45":1710734570310092800},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326670848001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:42:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:42:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11551829938667520,"km_value":11551829938667.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710734570310092800,"description":"Unknown IO ID 45"} 
[2026-08-11 12:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326670848001,"power":13156,"unknown_107":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1710734570310092800}} 
[2026-08-11 12:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":153498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:42:48] local.INFO: GPS data processed {"connection_id":153498,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:42:48] local.INFO: Acknowledgment sent {"connection_id":153498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:42:56] local.INFO: TCP Data received {"connection_id":152540,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefaa1528012db5454005de0dd00041010422..."} 
[2026-08-11 12:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefaa1528012db5454005de0dd00041010422..."} 
[2026-08-11 12:42:56] local.INFO: Processing buffer {"connection_id":152540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefaa1528012db5454005de0dd00041010422..."} 
[2026-08-11 12:42:56] local.INFO: Packet analysis {"connection_id":152540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefaa"} 
[2026-08-11 12:42:56] local.INFO: Extracted packet for processing {"connection_id":152540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefaa"} 
[2026-08-11 12:42:56] local.INFO: GPS Element Parsed {"raw_longitude":766854464,"raw_latitude":98438608,"longitude_deg":76.6854464,"latitude_deg":9.8438608,"altitude":65,"angle":260,"satellites":34,"speed":33,"hex_longitude":"2db54540","hex_latitude":"05de0dd0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 12:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326675968001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377515955892256768,"note":"Value kept but may cause issues"} 
[2026-08-11 12:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5383912591832735744,"note":"Value kept but may cause issues"} 
[2026-08-11 12:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786432329000,"timestamp_ms":1786432329000,"timestamp_seconds":1786432329,"priority":1,"record_length":96,"hex_timestamp":"0000019fefaa1528"} 
[2026-08-11 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-08-11 12:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 12:42:56] 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-08-11 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-08-11 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-08-11 12:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:42:56] 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-08-11 12:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326675968001,"66":27658,"126":206,"92":41728,"24":33,"16":377515955892256768,"45":-5383912591832735744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-08-11 12:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326675968001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:42:56] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-11 12:42:56] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377515955892256768,"km_value":377515955892256.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5383912591832735744,"description":"Unknown IO ID 45"} 
[2026-08-11 12:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326675968001,"power":27658,"unknown_126":206,"unknown_92":41728,"ignition":33,"odometer":null,"unknown_45":-5383912591832735744}} 
[2026-08-11 12:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":152540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:42:56] local.INFO: GPS data processed {"connection_id":152540,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:42:56] local.INFO: Acknowledgment sent {"connection_id":152540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:43:10] local.INFO: TCP Data received {"connection_id":154874,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:43:10] local.INFO: Processing buffer {"connection_id":154874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:43:10] local.INFO: IMEI packet received {"connection_id":154874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":154874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:43:15] local.INFO: TCP Data received {"connection_id":154874,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:43:15] local.INFO: Processing buffer {"connection_id":154874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:43:15] local.INFO: IMEI packet received {"connection_id":154874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":154874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:43:16] local.INFO: TCP Data received {"connection_id":154874,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefa9ced8012d17bdc0072050f00024002726..."} 
[2026-08-11 12:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefa9ced8012d17bdc0072050f00024002726..."} 
[2026-08-11 12:43:16] local.INFO: Processing buffer {"connection_id":154874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefa9ced8012d17bdc0072050f00024002726..."} 
[2026-08-11 12:43:16] local.INFO: Packet analysis {"connection_id":154874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefa9"} 
[2026-08-11 12:43:16] local.INFO: Extracted packet for processing {"connection_id":154874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefa9"} 
[2026-08-11 12:43:16] local.INFO: GPS Element Parsed {"raw_longitude":756530624,"raw_latitude":119558384,"longitude_deg":75.6530624,"latitude_deg":11.9558384,"altitude":36,"angle":39,"satellites":38,"speed":0,"hex_longitude":"2d17bdc0","hex_latitude":"072050f0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326671360001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11551829938667520,"note":"Value kept but may cause issues"} 
[2026-08-11 12:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710734570310135808,"note":"Value kept but may cause issues"} 
[2026-08-11 12:43:16] 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-08-11 12:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786432311000,"timestamp_ms":1786432311000,"timestamp_seconds":1786432311,"priority":1,"record_length":96,"hex_timestamp":"0000019fefa9ced8"} 
[2026-08-11 12:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:43:16] 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-08-11 12: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-11 12:43:16] 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-08-11 12: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-08-11 12:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326671360001,"66":13156,"107":206,"83":41984,"24":0,"16":11551829938667520,"45":1710734570310135808},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326671360001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:43:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:43:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11551829938667520,"km_value":11551829938667.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710734570310135808,"description":"Unknown IO ID 45"} 
[2026-08-11 12:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326671360001,"power":13156,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1710734570310135808}} 
[2026-08-11 12:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":154874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:43:16] local.INFO: GPS data processed {"connection_id":154874,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:43:16] local.INFO: Acknowledgment sent {"connection_id":154874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:43:19] local.INFO: TCP Data received {"connection_id":152168,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:43:19] local.INFO: Processing buffer {"connection_id":152168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:43:19] local.INFO: IMEI packet received {"connection_id":152168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":152168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:43:24] local.INFO: TCP Data received {"connection_id":152168,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:43:24] local.INFO: Processing buffer {"connection_id":152168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:43:24] local.INFO: IMEI packet received {"connection_id":152168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":152168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:43:24] local.INFO: TCP Data received {"connection_id":152168,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:43:24] local.INFO: Processing buffer {"connection_id":152168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:43:24] local.INFO: IMEI packet received {"connection_id":152168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":152168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:43:25] local.INFO: TCP Data received {"connection_id":152168,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefaa1910012db541c005de0db00040011023..."} 
[2026-08-11 12:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefaa1910012db541c005de0db00040011023..."} 
[2026-08-11 12:43:25] local.INFO: Processing buffer {"connection_id":152168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefaa1910012db541c005de0db00040011023..."} 
[2026-08-11 12:43:25] local.INFO: Packet analysis {"connection_id":152168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefaa"} 
[2026-08-11 12:43:25] local.INFO: Extracted packet for processing {"connection_id":152168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefaa"} 
[2026-08-11 12:43:25] local.INFO: GPS Element Parsed {"raw_longitude":766853568,"raw_latitude":98438576,"longitude_deg":76.6853568,"latitude_deg":9.8438576,"altitude":64,"angle":272,"satellites":35,"speed":33,"hex_longitude":"2db541c0","hex_latitude":"05de0db0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326676224001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377515998841929728,"note":"Value kept but may cause issues"} 
[2026-08-11 12:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5384827385507098624,"note":"Value kept but may cause issues"} 
[2026-08-11 12:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786432330000,"timestamp_ms":1786432330000,"timestamp_seconds":1786432330,"priority":1,"record_length":96,"hex_timestamp":"0000019fefaa1910"} 
[2026-08-11 12:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 12:43:25] 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-08-11 12: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-08-11 12:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:43:25] 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-08-11 12:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326676224001,"66":27745,"126":206,"92":41728,"24":33,"16":377515998841929728,"45":-5384827385507098624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-08-11 12:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326676224001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:43:25] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-11 12:43:25] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377515998841929728,"km_value":377515998841929.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5384827385507098624,"description":"Unknown IO ID 45"} 
[2026-08-11 12:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326676224001,"power":27745,"unknown_126":206,"unknown_92":41728,"ignition":33,"odometer":null,"unknown_45":-5384827385507098624}} 
[2026-08-11 12:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":152168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:43:25] local.INFO: GPS data processed {"connection_id":152168,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:43:25] local.INFO: Acknowledgment sent {"connection_id":152168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:43:30] local.INFO: TCP Data received {"connection_id":152168,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefaa20e0012db53a8005de0f380040011e22..."} 
[2026-08-11 12:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefaa20e0012db53a8005de0f380040011e22..."} 
[2026-08-11 12:43:30] local.INFO: Processing buffer {"connection_id":152168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefaa20e0012db53a8005de0f380040011e22..."} 
[2026-08-11 12:43:30] local.INFO: Packet analysis {"connection_id":152168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefaa"} 
[2026-08-11 12:43:30] local.INFO: Extracted packet for processing {"connection_id":152168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefaa"} 
[2026-08-11 12:43:30] local.INFO: GPS Element Parsed {"raw_longitude":766851712,"raw_latitude":98438968,"longitude_deg":76.6851712,"latitude_deg":9.8438968,"altitude":64,"angle":286,"satellites":34,"speed":38,"hex_longitude":"2db53a80","hex_latitude":"05de0f38","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326676480001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377516089036242944,"note":"Value kept but may cause issues"} 
[2026-08-11 12:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5385812547925594112,"note":"Value kept but may cause issues"} 
[2026-08-11 12:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786432332000,"timestamp_ms":1786432332000,"timestamp_seconds":1786432332,"priority":1,"record_length":96,"hex_timestamp":"0000019fefaa20e0"} 
[2026-08-11 12:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 12:43:30] 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-08-11 12: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-08-11 12:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:43:30] 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-08-11 12:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326676480001,"66":27800,"126":206,"92":41728,"24":38,"16":377516089036242944,"45":-5385812547925594112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-08-11 12:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326676480001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:43:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-11 12:43:30] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377516089036242944,"km_value":377516089036242.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5385812547925594112,"description":"Unknown IO ID 45"} 
[2026-08-11 12:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326676480001,"power":27800,"unknown_126":206,"unknown_92":41728,"ignition":38,"odometer":null,"unknown_45":-5385812547925594112}} 
[2026-08-11 12:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":152168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:43:30] local.INFO: GPS data processed {"connection_id":152168,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:43:30] local.INFO: Acknowledgment sent {"connection_id":152168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:43:47] local.INFO: TCP Data received {"connection_id":154874,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefaa1cf8012d17bdc0072050c00024002726..."} 
[2026-08-11 12:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefaa1cf8012d17bdc0072050c00024002726..."} 
[2026-08-11 12:43:47] local.INFO: Processing buffer {"connection_id":154874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefaa1cf8012d17bdc0072050c00024002726..."} 
[2026-08-11 12:43:47] local.INFO: Packet analysis {"connection_id":154874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefaa"} 
[2026-08-11 12:43:47] local.INFO: Extracted packet for processing {"connection_id":154874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefaa"} 
[2026-08-11 12:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756530624,"raw_latitude":119558336,"longitude_deg":75.6530624,"latitude_deg":11.9558336,"altitude":36,"angle":39,"satellites":38,"speed":0,"hex_longitude":"2d17bdc0","hex_latitude":"072050c0","is_valid_coordinates":true} 
[2026-08-11 12:43: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-08-11 12:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326671616001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11551834233634816,"note":"Value kept but may cause issues"} 
[2026-08-11 12:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710734570310135808,"note":"Value kept but may cause issues"} 
[2026-08-11 12:43:47] 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-08-11 12:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786432331000,"timestamp_ms":1786432331000,"timestamp_seconds":1786432331,"priority":1,"record_length":96,"hex_timestamp":"0000019fefaa1cf8"} 
[2026-08-11 12:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:43:47] 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-08-11 12:43: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":100,"data_length":795,"current_offset":136} 
[2026-08-11 12:43:47] 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-08-11 12:43: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-08-11 12:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326671616001,"66":13102,"107":206,"83":41984,"24":0,"16":11551834233634816,"45":1710734570310135808},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326671616001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:43:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11551834233634816,"km_value":11551834233634.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710734570310135808,"description":"Unknown IO ID 45"} 
[2026-08-11 12:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326671616001,"power":13102,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1710734570310135808}} 
[2026-08-11 12:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":154874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:43:47] local.INFO: GPS data processed {"connection_id":154874,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:43:47] local.INFO: Acknowledgment sent {"connection_id":154874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:44:01] local.INFO: TCP Data received {"connection_id":152168,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefab2a80012db46bc005dea7a0004000fd29..."} 
[2026-08-11 12:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefab2a80012db46bc005dea7a0004000fd29..."} 
[2026-08-11 12:44:01] local.INFO: Processing buffer {"connection_id":152168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefab2a80012db46bc005dea7a0004000fd29..."} 
[2026-08-11 12:44:01] local.INFO: Packet analysis {"connection_id":152168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefab"} 
[2026-08-11 12:44:01] local.INFO: Extracted packet for processing {"connection_id":152168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefab"} 
[2026-08-11 12:44:01] local.INFO: GPS Element Parsed {"raw_longitude":766798784,"raw_latitude":98477984,"longitude_deg":76.6798784,"latitude_deg":9.8477984,"altitude":64,"angle":253,"satellites":41,"speed":26,"hex_longitude":"2db46bc0","hex_latitude":"05dea7a0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326694144001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377519456290603008,"note":"Value kept but may cause issues"} 
[2026-08-11 12:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5445274136745541632,"note":"Value kept but may cause issues"} 
[2026-08-11 12:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786432400000,"timestamp_ms":1786432400000,"timestamp_seconds":1786432400,"priority":1,"record_length":96,"hex_timestamp":"0000019fefab2a80"} 
[2026-08-11 12:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:44:01] 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-08-11 12: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-08-11 12:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:44:01] 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-08-11 12:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326694144001,"66":27767,"126":206,"92":41728,"24":26,"16":377519456290603008,"45":-5445274136745541632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-08-11 12:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326694144001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:44:01] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-11 12:44:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377519456290603008,"km_value":377519456290603.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5445274136745541632,"description":"Unknown IO ID 45"} 
[2026-08-11 12:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326694144001,"power":27767,"unknown_126":206,"unknown_92":41728,"ignition":26,"odometer":null,"unknown_45":-5445274136745541632}} 
[2026-08-11 12:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":152168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:44:01] local.INFO: GPS data processed {"connection_id":152168,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:44:01] local.INFO: Acknowledgment sent {"connection_id":152168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:44:10] local.INFO: TCP Data received {"connection_id":152541,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:44:10] local.INFO: Processing buffer {"connection_id":152541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:44:10] local.INFO: IMEI packet received {"connection_id":152541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":152541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:44:11] local.INFO: TCP Data received {"connection_id":152541,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:44:11] local.INFO: Processing buffer {"connection_id":152541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:44:11] local.INFO: IMEI packet received {"connection_id":152541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":152541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:44:15] local.INFO: TCP Data received {"connection_id":152541,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:44:15] local.INFO: Processing buffer {"connection_id":152541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:44:15] local.INFO: IMEI packet received {"connection_id":152541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":152541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:44:19] local.INFO: TCP Data received {"connection_id":152541,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefaa6b18012d17bdc0072050c00024002728..."} 
[2026-08-11 12:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefaa6b18012d17bdc0072050c00024002728..."} 
[2026-08-11 12:44:19] local.INFO: Processing buffer {"connection_id":152541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefaa6b18012d17bdc0072050c00024002728..."} 
[2026-08-11 12:44:19] local.INFO: Packet analysis {"connection_id":152541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefaa"} 
[2026-08-11 12:44:19] local.INFO: Extracted packet for processing {"connection_id":152541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefaa"} 
[2026-08-11 12:44:19] local.INFO: GPS Element Parsed {"raw_longitude":756530624,"raw_latitude":119558336,"longitude_deg":75.6530624,"latitude_deg":11.9558336,"altitude":36,"angle":39,"satellites":40,"speed":0,"hex_longitude":"2d17bdc0","hex_latitude":"072050c0","is_valid_coordinates":true} 
[2026-08-11 12:44: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-08-11 12:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326676736001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11551834233634816,"note":"Value kept but may cause issues"} 
[2026-08-11 12:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710734570310123520,"note":"Value kept but may cause issues"} 
[2026-08-11 12:44:19] 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-08-11 12:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786432351000,"timestamp_ms":1786432351000,"timestamp_seconds":1786432351,"priority":1,"record_length":96,"hex_timestamp":"0000019fefaa6b18"} 
[2026-08-11 12:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:44:19] 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-08-11 12:44: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":46,"data_length":795,"current_offset":136} 
[2026-08-11 12:44:19] 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-08-11 12:44: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-08-11 12:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326676736001,"66":13015,"107":206,"83":41984,"24":0,"16":11551834233634816,"45":1710734570310123520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326676736001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:44:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:44:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11551834233634816,"km_value":11551834233634.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710734570310123520,"description":"Unknown IO ID 45"} 
[2026-08-11 12:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326676736001,"power":13015,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1710734570310123520}} 
[2026-08-11 12:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":152541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:44:19] local.INFO: GPS data processed {"connection_id":152541,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:44:19] local.INFO: Acknowledgment sent {"connection_id":152541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:44:19] local.INFO: TCP Data received {"connection_id":152542,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:44:19] local.INFO: Processing buffer {"connection_id":152542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:44:19] local.INFO: IMEI packet received {"connection_id":152542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":152542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:44:25] local.INFO: TCP Data received {"connection_id":152542,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:44:25] local.INFO: Processing buffer {"connection_id":152542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:44:25] local.INFO: IMEI packet received {"connection_id":152542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":152542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:44:25] local.INFO: TCP Data received {"connection_id":152542,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefab2e68012db46a0005dea590004000ef28..."} 
[2026-08-11 12:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefab2e68012db46a0005dea590004000ef28..."} 
[2026-08-11 12:44:25] local.INFO: Processing buffer {"connection_id":152542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefab2e68012db46a0005dea590004000ef28..."} 
[2026-08-11 12:44:25] local.INFO: Packet analysis {"connection_id":152542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefab"} 
[2026-08-11 12:44:25] local.INFO: Extracted packet for processing {"connection_id":152542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefab"} 
[2026-08-11 12:44:25] local.INFO: GPS Element Parsed {"raw_longitude":766798336,"raw_latitude":98477456,"longitude_deg":76.6798336,"latitude_deg":9.8477456,"altitude":64,"angle":239,"satellites":40,"speed":24,"hex_longitude":"2db46a00","hex_latitude":"05dea590","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326694400001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377519490650341376,"note":"Value kept but may cause issues"} 
[2026-08-11 12:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5446048192931586048,"note":"Value kept but may cause issues"} 
[2026-08-11 12:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786432401000,"timestamp_ms":1786432401000,"timestamp_seconds":1786432401,"priority":1,"record_length":96,"hex_timestamp":"0000019fefab2e68"} 
[2026-08-11 12:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:44:25] 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-08-11 12: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-08-11 12:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:44:25] 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-08-11 12:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326694400001,"66":27767,"126":206,"92":41728,"24":24,"16":377519490650341376,"45":-5446048192931586048},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-08-11 12:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326694400001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:44:25] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-11 12:44:25] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377519490650341376,"km_value":377519490650341.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5446048192931586048,"description":"Unknown IO ID 45"} 
[2026-08-11 12:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326694400001,"power":27767,"unknown_126":206,"unknown_92":41728,"ignition":24,"odometer":null,"unknown_45":-5446048192931586048}} 
[2026-08-11 12:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":152542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:44:25] local.INFO: GPS data processed {"connection_id":152542,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:44:25] local.INFO: Acknowledgment sent {"connection_id":152542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:44:50] local.INFO: TCP Data received {"connection_id":152541,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefaabd20012d17bdc0072050c00024002726..."} 
[2026-08-11 12:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefaabd20012d17bdc0072050c00024002726..."} 
[2026-08-11 12:44:50] local.INFO: Processing buffer {"connection_id":152541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefaabd20012d17bdc0072050c00024002726..."} 
[2026-08-11 12:44:50] local.INFO: Packet analysis {"connection_id":152541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefaa"} 
[2026-08-11 12:44:50] local.INFO: Extracted packet for processing {"connection_id":152541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefaa"} 
[2026-08-11 12:44:50] local.INFO: GPS Element Parsed {"raw_longitude":756530624,"raw_latitude":119558336,"longitude_deg":75.6530624,"latitude_deg":11.9558336,"altitude":36,"angle":39,"satellites":38,"speed":0,"hex_longitude":"2d17bdc0","hex_latitude":"072050c0","is_valid_coordinates":true} 
[2026-08-11 12:44: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-08-11 12:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326681856001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11551834233634816,"note":"Value kept but may cause issues"} 
[2026-08-11 12:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710734570310123520,"note":"Value kept but may cause issues"} 
[2026-08-11 12:44:50] 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-08-11 12:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786432372000,"timestamp_ms":1786432372000,"timestamp_seconds":1786432372,"priority":1,"record_length":96,"hex_timestamp":"0000019fefaabd20"} 
[2026-08-11 12:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:44:50] 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-08-11 12:44: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-11 12:44:50] 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-08-11 12:44: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-08-11 12:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326681856001,"66":12917,"107":206,"83":41984,"24":0,"16":11551834233634816,"45":1710734570310123520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326681856001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:44:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:44:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11551834233634816,"km_value":11551834233634.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710734570310123520,"description":"Unknown IO ID 45"} 
[2026-08-11 12:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326681856001,"power":12917,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1710734570310123520}} 
[2026-08-11 12:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":152541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:44:50] local.INFO: GPS data processed {"connection_id":152541,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:44:50] local.INFO: Acknowledgment sent {"connection_id":152541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:44:56] local.INFO: TCP Data received {"connection_id":152542,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefabedd0012db4454005de7060004f00ec28..."} 
[2026-08-11 12:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefabedd0012db4454005de7060004f00ec28..."} 
[2026-08-11 12:44:56] local.INFO: Processing buffer {"connection_id":152542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefabedd0012db4454005de7060004f00ec28..."} 
[2026-08-11 12:44:56] local.INFO: Packet analysis {"connection_id":152542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefab"} 
[2026-08-11 12:44:56] local.INFO: Extracted packet for processing {"connection_id":152542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefab"} 
[2026-08-11 12:44:56] local.INFO: GPS Element Parsed {"raw_longitude":766788928,"raw_latitude":98463840,"longitude_deg":76.6788928,"latitude_deg":9.846384,"altitude":79,"angle":236,"satellites":40,"speed":14,"hex_longitude":"2db44540","hex_latitude":"05de7060","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326706688001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377521019658698752,"note":"Value kept but may cause issues"} 
[2026-08-11 12:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5456110923352532992,"note":"Value kept but may cause issues"} 
[2026-08-11 12:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786432450000,"timestamp_ms":1786432450000,"timestamp_seconds":1786432450,"priority":1,"record_length":96,"hex_timestamp":"0000019fefabedd0"} 
[2026-08-11 12:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:44:56] 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-08-11 12: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-08-11 12:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:44:56] 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-08-11 12:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326706688001,"66":27800,"126":206,"92":41728,"24":14,"16":377521019658698752,"45":-5456110923352532992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-08-11 12:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326706688001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:44:56] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-11 12:44:56] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377521019658698752,"km_value":377521019658698.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5456110923352532992,"description":"Unknown IO ID 45"} 
[2026-08-11 12:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326706688001,"power":27800,"unknown_126":206,"unknown_92":41728,"ignition":14,"odometer":null,"unknown_45":-5456110923352532992}} 
[2026-08-11 12:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":152542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:44:56] local.INFO: GPS data processed {"connection_id":152542,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:44:56] local.INFO: Acknowledgment sent {"connection_id":152542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:45:10] local.INFO: TCP Data received {"connection_id":153499,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:45:10] local.INFO: Processing buffer {"connection_id":153499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:45:10] local.INFO: IMEI packet received {"connection_id":153499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":153499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:45:15] local.INFO: TCP Data received {"connection_id":153499,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:45:15] local.INFO: Processing buffer {"connection_id":153499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:45:15] local.INFO: IMEI packet received {"connection_id":153499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":153499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:45:15] local.INFO: TCP Data received {"connection_id":153499,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:45:15] local.INFO: Processing buffer {"connection_id":153499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:45:15] local.INFO: IMEI packet received {"connection_id":153499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":153499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:45:16] local.INFO: TCP Data received {"connection_id":153499,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefab0f28012d17bdc0072050c00024002728..."} 
[2026-08-11 12:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefab0f28012d17bdc0072050c00024002728..."} 
[2026-08-11 12:45:16] local.INFO: Processing buffer {"connection_id":153499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefab0f28012d17bdc0072050c00024002728..."} 
[2026-08-11 12:45:16] local.INFO: Packet analysis {"connection_id":153499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefab"} 
[2026-08-11 12:45:16] local.INFO: Extracted packet for processing {"connection_id":153499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefab"} 
[2026-08-11 12:45:16] local.INFO: GPS Element Parsed {"raw_longitude":756530624,"raw_latitude":119558336,"longitude_deg":75.6530624,"latitude_deg":11.9558336,"altitude":36,"angle":39,"satellites":40,"speed":0,"hex_longitude":"2d17bdc0","hex_latitude":"072050c0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326687232001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11551834233634816,"note":"Value kept but may cause issues"} 
[2026-08-11 12:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710734570310123520,"note":"Value kept but may cause issues"} 
[2026-08-11 12:45:16] 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-08-11 12:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786432393000,"timestamp_ms":1786432393000,"timestamp_seconds":1786432393,"priority":1,"record_length":96,"hex_timestamp":"0000019fefab0f28"} 
[2026-08-11 12:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:45:16] 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-08-11 12: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 12:45:16] 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-08-11 12: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-08-11 12:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326687232001,"66":12939,"107":206,"83":41984,"24":0,"16":11551834233634816,"45":1710734570310123520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326687232001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:45:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:45:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11551834233634816,"km_value":11551834233634.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710734570310123520,"description":"Unknown IO ID 45"} 
[2026-08-11 12:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326687232001,"power":12939,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1710734570310123520}} 
[2026-08-11 12:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":153499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:45:16] local.INFO: GPS data processed {"connection_id":153499,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:45:16] local.INFO: Acknowledgment sent {"connection_id":153499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:45:20] local.INFO: TCP Data received {"connection_id":152543,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:45:20] local.INFO: Processing buffer {"connection_id":152543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:45:20] local.INFO: IMEI packet received {"connection_id":152543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":152543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:45:22] local.INFO: TCP Data received {"connection_id":153499,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefab6130012d17bdc0072050c00024002728..."} 
[2026-08-11 12:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefab6130012d17bdc0072050c00024002728..."} 
[2026-08-11 12:45:22] local.INFO: Processing buffer {"connection_id":153499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefab6130012d17bdc0072050c00024002728..."} 
[2026-08-11 12:45:22] local.INFO: Packet analysis {"connection_id":153499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefab"} 
[2026-08-11 12:45:22] local.INFO: Extracted packet for processing {"connection_id":153499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefab"} 
[2026-08-11 12:45:22] local.INFO: GPS Element Parsed {"raw_longitude":756530624,"raw_latitude":119558336,"longitude_deg":75.6530624,"latitude_deg":11.9558336,"altitude":36,"angle":39,"satellites":40,"speed":0,"hex_longitude":"2d17bdc0","hex_latitude":"072050c0","is_valid_coordinates":true} 
[2026-08-11 12:45: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-08-11 12:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326692608001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11551834233634816,"note":"Value kept but may cause issues"} 
[2026-08-11 12:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710734570310123520,"note":"Value kept but may cause issues"} 
[2026-08-11 12:45:22] 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-08-11 12:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786432414000,"timestamp_ms":1786432414000,"timestamp_seconds":1786432414,"priority":1,"record_length":96,"hex_timestamp":"0000019fefab6130"} 
[2026-08-11 12:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:45:22] 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-08-11 12:45: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":139,"data_length":795,"current_offset":136} 
[2026-08-11 12:45:22] 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-08-11 12:45: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-08-11 12:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":153499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":153499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":153499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326692608001,"66":12841,"107":206,"83":41984,"24":0,"16":11551834233634816,"45":1710734570310123520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326692608001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:45:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:45:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11551834233634816,"km_value":11551834233634.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710734570310123520,"description":"Unknown IO ID 45"} 
[2026-08-11 12:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326692608001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1710734570310123520}} 
[2026-08-11 12:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":153499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:45:22] local.INFO: GPS data processed {"connection_id":153499,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:45:22] local.INFO: Acknowledgment sent {"connection_id":153499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:45:23] local.INFO: TCP Data received {"connection_id":152543,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:45:23] local.INFO: Processing buffer {"connection_id":152543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:45:23] local.INFO: IMEI packet received {"connection_id":152543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":152543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:45:24] local.INFO: TCP Data received {"connection_id":152543,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefac0540012db43dc005de6b90005100fd27..."} 
[2026-08-11 12:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefac0540012db43dc005de6b90005100fd27..."} 
[2026-08-11 12:45:24] local.INFO: Processing buffer {"connection_id":152543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefac0540012db43dc005de6b90005100fd27..."} 
[2026-08-11 12:45:24] local.INFO: Packet analysis {"connection_id":152543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefac"} 
[2026-08-11 12:45:24] local.INFO: Extracted packet for processing {"connection_id":152543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefac"} 
[2026-08-11 12:45:24] local.INFO: GPS Element Parsed {"raw_longitude":766787008,"raw_latitude":98462608,"longitude_deg":76.6787008,"latitude_deg":9.8462608,"altitude":81,"angle":253,"satellites":39,"speed":15,"hex_longitude":"2db43dc0","hex_latitude":"05de6b90","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326707200001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377521127032881152,"note":"Value kept but may cause issues"} 
[2026-08-11 12:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5456884979538567168,"note":"Value kept but may cause issues"} 
[2026-08-11 12:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786432456000,"timestamp_ms":1786432456000,"timestamp_seconds":1786432456,"priority":1,"record_length":96,"hex_timestamp":"0000019fefac0540"} 
[2026-08-11 12:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 12:45:24] 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-08-11 12: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-08-11 12:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:45:24] 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-08-11 12:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326707200001,"66":27821,"126":206,"92":41728,"24":15,"16":377521127032881152,"45":-5456884979538567168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-08-11 12:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326707200001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:45:24] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-11 12:45:24] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377521127032881152,"km_value":377521127032881.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5456884979538567168,"description":"Unknown IO ID 45"} 
[2026-08-11 12:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326707200001,"power":27821,"unknown_126":206,"unknown_92":41728,"ignition":15,"odometer":null,"unknown_45":-5456884979538567168}} 
[2026-08-11 12:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":152543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:45:24] local.INFO: GPS data processed {"connection_id":152543,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:45:24] local.INFO: Acknowledgment sent {"connection_id":152543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:45:53] local.INFO: TCP Data received {"connection_id":153499,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefabb338012d17bdc0072050c00024002728..."} 
[2026-08-11 12:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefabb338012d17bdc0072050c00024002728..."} 
[2026-08-11 12:45:53] local.INFO: Processing buffer {"connection_id":153499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefabb338012d17bdc0072050c00024002728..."} 
[2026-08-11 12:45:53] local.INFO: Packet analysis {"connection_id":153499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefab"} 
[2026-08-11 12:45:53] local.INFO: Extracted packet for processing {"connection_id":153499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefab"} 
[2026-08-11 12:45:53] local.INFO: GPS Element Parsed {"raw_longitude":756530624,"raw_latitude":119558336,"longitude_deg":75.6530624,"latitude_deg":11.9558336,"altitude":36,"angle":39,"satellites":40,"speed":0,"hex_longitude":"2d17bdc0","hex_latitude":"072050c0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326697984001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11551834233634816,"note":"Value kept but may cause issues"} 
[2026-08-11 12:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710734570310123520,"note":"Value kept but may cause issues"} 
[2026-08-11 12:45: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-08-11 12:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786432435000,"timestamp_ms":1786432435000,"timestamp_seconds":1786432435,"priority":1,"record_length":96,"hex_timestamp":"0000019fefabb338"} 
[2026-08-11 12:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:45:53] 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-08-11 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 12:45: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-08-11 12: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-08-11 12:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":153499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":153499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":153499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326697984001,"66":12798,"107":206,"83":41984,"24":0,"16":11551834233634816,"45":1710734570310123520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326697984001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:45:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:45:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11551834233634816,"km_value":11551834233634.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710734570310123520,"description":"Unknown IO ID 45"} 
[2026-08-11 12:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326697984001,"power":12798,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1710734570310123520}} 
[2026-08-11 12:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":153499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:45:53] local.INFO: GPS data processed {"connection_id":153499,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:45:53] local.INFO: Acknowledgment sent {"connection_id":153499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:45:55] local.INFO: TCP Data received {"connection_id":152543,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefac0d10012db43a8005de6b180051010e27..."} 
[2026-08-11 12:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefac0d10012db43a8005de6b180051010e27..."} 
[2026-08-11 12:45:55] local.INFO: Processing buffer {"connection_id":152543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefac0d10012db43a8005de6b180051010e27..."} 
[2026-08-11 12:45:55] local.INFO: Packet analysis {"connection_id":152543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefac"} 
[2026-08-11 12:45:55] local.INFO: Extracted packet for processing {"connection_id":152543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefac"} 
[2026-08-11 12:45:55] local.INFO: GPS Element Parsed {"raw_longitude":766786176,"raw_latitude":98462488,"longitude_deg":76.6786176,"latitude_deg":9.8462488,"altitude":81,"angle":270,"satellites":39,"speed":17,"hex_longitude":"2db43a80","hex_latitude":"05de6b18","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326708736001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377521169982554112,"note":"Value kept but may cause issues"} 
[2026-08-11 12:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5458996041864212480,"note":"Value kept but may cause issues"} 
[2026-08-11 12:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786432458000,"timestamp_ms":1786432458000,"timestamp_seconds":1786432458,"priority":1,"record_length":96,"hex_timestamp":"0000019fefac0d10"} 
[2026-08-11 12:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":173,"data_length":795,"current_offset":136} 
[2026-08-11 12:45:55] 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-08-11 12: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-08-11 12:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:45:55] 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-08-11 12:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326708736001,"66":27821,"126":206,"92":41728,"24":17,"16":377521169982554112,"45":-5458996041864212480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-08-11 12:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326708736001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:45:55] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-11 12:45:55] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377521169982554112,"km_value":377521169982554.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5458996041864212480,"description":"Unknown IO ID 45"} 
[2026-08-11 12:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326708736001,"power":27821,"unknown_126":206,"unknown_92":41728,"ignition":17,"odometer":null,"unknown_45":-5458996041864212480}} 
[2026-08-11 12:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":152543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:45:55] local.INFO: GPS data processed {"connection_id":152543,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:45:55] local.INFO: Acknowledgment sent {"connection_id":152543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:46:11] local.INFO: TCP Data received {"connection_id":152544,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:46:11] local.INFO: Processing buffer {"connection_id":152544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:46:11] local.INFO: IMEI packet received {"connection_id":152544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":152544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:46:14] local.INFO: TCP Data received {"connection_id":152544,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:46:14] local.INFO: Processing buffer {"connection_id":152544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:46:14] local.INFO: IMEI packet received {"connection_id":152544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":152544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:46:15] local.INFO: TCP Data received {"connection_id":152544,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:46:15] local.INFO: Processing buffer {"connection_id":152544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:46:15] local.INFO: IMEI packet received {"connection_id":152544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":152544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:46:20] local.INFO: TCP Data received {"connection_id":152169,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:46:20] local.INFO: Processing buffer {"connection_id":152169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:46:20] local.INFO: IMEI packet received {"connection_id":152169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":152169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:46:21] local.INFO: TCP Data received {"connection_id":152544,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:46:21] local.INFO: Processing buffer {"connection_id":152544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:46:21] local.INFO: IMEI packet received {"connection_id":152544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":152544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:46:21] local.INFO: TCP Data received {"connection_id":152544,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefac0540012d17bdc0072050c00024002727..."} 
[2026-08-11 12:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefac0540012d17bdc0072050c00024002727..."} 
[2026-08-11 12:46:21] local.INFO: Processing buffer {"connection_id":152544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefac0540012d17bdc0072050c00024002727..."} 
[2026-08-11 12:46:21] local.INFO: Packet analysis {"connection_id":152544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefac"} 
[2026-08-11 12:46:21] local.INFO: Extracted packet for processing {"connection_id":152544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefac"} 
[2026-08-11 12:46:21] local.INFO: GPS Element Parsed {"raw_longitude":756530624,"raw_latitude":119558336,"longitude_deg":75.6530624,"latitude_deg":11.9558336,"altitude":36,"angle":39,"satellites":39,"speed":0,"hex_longitude":"2d17bdc0","hex_latitude":"072050c0","is_valid_coordinates":true} 
[2026-08-11 12:46: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-08-11 12:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326703360001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11551834233634816,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710734570310123520,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:21] 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-08-11 12:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786432456000,"timestamp_ms":1786432456000,"timestamp_seconds":1786432456,"priority":1,"record_length":96,"hex_timestamp":"0000019fefac0540"} 
[2026-08-11 12:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:46:21] 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-08-11 12:46: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":254,"data_length":795,"current_offset":136} 
[2026-08-11 12:46:21] 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-08-11 12:46: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-08-11 12:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326703360001,"66":12809,"107":206,"83":41984,"24":0,"16":11551834233634816,"45":1710734570310123520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326703360001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:46:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:46:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11551834233634816,"km_value":11551834233634.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710734570310123520,"description":"Unknown IO ID 45"} 
[2026-08-11 12:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326703360001,"power":12809,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1710734570310123520}} 
[2026-08-11 12:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":152544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:46:21] local.INFO: GPS data processed {"connection_id":152544,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:46:21] local.INFO: Acknowledgment sent {"connection_id":152544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:46:24] local.INFO: TCP Data received {"connection_id":152544,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefac5748012d17bdc0072050c00024002727..."} 
[2026-08-11 12:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefac5748012d17bdc0072050c00024002727..."} 
[2026-08-11 12:46:24] local.INFO: Processing buffer {"connection_id":152544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefac5748012d17bdc0072050c00024002727..."} 
[2026-08-11 12:46:24] local.INFO: Packet analysis {"connection_id":152544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefac"} 
[2026-08-11 12:46:24] local.INFO: Extracted packet for processing {"connection_id":152544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefac"} 
[2026-08-11 12:46:24] local.INFO: GPS Element Parsed {"raw_longitude":756530624,"raw_latitude":119558336,"longitude_deg":75.6530624,"latitude_deg":11.9558336,"altitude":36,"angle":39,"satellites":39,"speed":0,"hex_longitude":"2d17bdc0","hex_latitude":"072050c0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326708736001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11551834233634816,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710734570310123520,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46: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-08-11 12:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786432477000,"timestamp_ms":1786432477000,"timestamp_seconds":1786432477,"priority":1,"record_length":96,"hex_timestamp":"0000019fefac5748"} 
[2026-08-11 12:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:46:24] 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-08-11 12: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-11 12:46:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:24] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4020903160,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:24] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:24] local.WARNING: Large IO value detected {"io_id":239,"raw_value":-6210789336534237760,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-11 12:46:24] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3221692496,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:24] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154026,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:24] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2328624890745202470,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:24] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3314875182690127443,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:24] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:24] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,107,83,24,241,157,16,10,159,179,45,192,80,36,40,66,97,15,1,240,139,227,239,32,4,113,205,189,50,2,41,7,51,164,85],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-11 12:46:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2594116433822613504,"timestamp_seconds":2594116433822613.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 12:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326708736001,"66":14135,"107":206,"83":41984,"24":0,"16":11551834233634816,"45":1710734570310123520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326708736001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:46:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:46:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11551834233634816,"km_value":11551834233634.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710734570310123520,"description":"Unknown IO ID 45"} 
[2026-08-11 12:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326708736001,"power":14135,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1710734570310123520}} 
[2026-08-11 12:46:24] local.INFO: TCP Data received {"connection_id":152169,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:46:24] local.INFO: Processing buffer {"connection_id":152169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:46:24] local.INFO: IMEI packet received {"connection_id":152169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":152169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":152544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:46:25] local.INFO: GPS data processed {"connection_id":152544,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:46:25] local.INFO: Acknowledgment sent {"connection_id":152544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:46:25] local.INFO: TCP Data received {"connection_id":152169,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019feface7d0012db42bc005de1a48006500be25..."} 
[2026-08-11 12:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feface7d0012db42bc005de1a48006500be25..."} 
[2026-08-11 12:46:25] local.INFO: Processing buffer {"connection_id":152169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feface7d0012db42bc005de1a48006500be25..."} 
[2026-08-11 12:46:25] local.INFO: Packet analysis {"connection_id":152169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefac"} 
[2026-08-11 12:46:25] local.INFO: Extracted packet for processing {"connection_id":152169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefac"} 
[2026-08-11 12:46:25] local.INFO: GPS Element Parsed {"raw_longitude":766782400,"raw_latitude":98441800,"longitude_deg":76.67824,"latitude_deg":9.84418,"altitude":101,"angle":190,"satellites":37,"speed":18,"hex_longitude":"2db42bc0","hex_latitude":"05de1a48","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326718464001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377522394048233472,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5463921853959591936,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786432514000,"timestamp_ms":1786432514000,"timestamp_seconds":1786432514,"priority":1,"record_length":96,"hex_timestamp":"0000019feface7d0"} 
[2026-08-11 12:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 12:46:25] 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-08-11 12: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-08-11 12:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:46:25] 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-08-11 12:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326718464001,"66":27843,"126":206,"92":41728,"24":18,"16":377522394048233472,"45":-5463921853959591936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-08-11 12:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326718464001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:46:25] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-11 12:46:25] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377522394048233472,"km_value":377522394048233.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5463921853959591936,"description":"Unknown IO ID 45"} 
[2026-08-11 12:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326718464001,"power":27843,"unknown_126":206,"unknown_92":41728,"ignition":18,"odometer":null,"unknown_45":-5463921853959591936}} 
[2026-08-11 12:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":152169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:46:25] local.INFO: GPS data processed {"connection_id":152169,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:46:25] local.INFO: Acknowledgment sent {"connection_id":152169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:46:55] local.INFO: TCP Data received {"connection_id":152544,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefadce48012d17b9000720a1b0002e015228..."} 
[2026-08-11 12:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefadce48012d17b9000720a1b0002e015228..."} 
[2026-08-11 12:46:55] local.INFO: Processing buffer {"connection_id":152544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefadce48012d17b9000720a1b0002e015228..."} 
[2026-08-11 12:46:55] local.INFO: Packet analysis {"connection_id":152544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefad"} 
[2026-08-11 12:46:55] local.INFO: Extracted packet for processing {"connection_id":152544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefad"} 
[2026-08-11 12:46:55] local.INFO: GPS Element Parsed {"raw_longitude":756529408,"raw_latitude":119579056,"longitude_deg":75.6529408,"latitude_deg":11.9579056,"altitude":46,"angle":338,"satellites":40,"speed":9,"hex_longitude":"2d17b900","hex_latitude":"0720a1b0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326738432001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11552968105000960,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1709538301664337920,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:55] 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-08-11 12:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786432573000,"timestamp_ms":1786432573000,"timestamp_seconds":1786432573,"priority":1,"record_length":96,"hex_timestamp":"0000019fefadce48"} 
[2026-08-11 12:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12: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-08-11 12: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 12:46: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-08-11 12: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-08-11 12:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326738432001,"66":14070,"107":206,"83":41984,"24":9,"16":11552968105000960,"45":1709538301664337920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326738432001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:46:55] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:46:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11552968105000960,"km_value":11552968105000.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1709538301664337920,"description":"Unknown IO ID 45"} 
[2026-08-11 12:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326738432001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1709538301664337920}} 
[2026-08-11 12:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":152544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:46:56] local.INFO: GPS data processed {"connection_id":152544,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:46:56] local.INFO: Acknowledgment sent {"connection_id":152544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:46:56] local.INFO: TCP Data received {"connection_id":152169,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefad16b0012db4280005de0290006c00ad23..."} 
[2026-08-11 12:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefad16b0012db4280005de0290006c00ad23..."} 
[2026-08-11 12:46:56] local.INFO: Processing buffer {"connection_id":152169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefad16b0012db4280005de0290006c00ad23..."} 
[2026-08-11 12:46:56] local.INFO: Packet analysis {"connection_id":152169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefad"} 
[2026-08-11 12:46:56] local.INFO: Extracted packet for processing {"connection_id":152169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefad"} 
[2026-08-11 12:46:56] local.INFO: GPS Element Parsed {"raw_longitude":766781440,"raw_latitude":98435728,"longitude_deg":76.678144,"latitude_deg":9.8435728,"altitude":108,"angle":173,"satellites":35,"speed":16,"hex_longitude":"2db42800","hex_latitude":"05de0290","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326723584001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377522694695944192,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5464062591450331136,"note":"Value kept but may cause issues"} 
[2026-08-11 12:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786432526000,"timestamp_ms":1786432526000,"timestamp_seconds":1786432526,"priority":1,"record_length":96,"hex_timestamp":"0000019fefad16b0"} 
[2026-08-11 12:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 12:46:56] 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-08-11 12: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-08-11 12:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:46:56] 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-08-11 12:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326723584001,"66":27691,"126":206,"92":41728,"24":16,"16":377522694695944192,"45":-5464062591450331136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-08-11 12:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326723584001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:46:56] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-11 12:46:56] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377522694695944192,"km_value":377522694695944.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5464062591450331136,"description":"Unknown IO ID 45"} 
[2026-08-11 12:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326723584001,"power":27691,"unknown_126":206,"unknown_92":41728,"ignition":16,"odometer":null,"unknown_45":-5464062591450331136}} 
[2026-08-11 12:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":152169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:46:56] local.INFO: GPS data processed {"connection_id":152169,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:46:56] local.INFO: Acknowledgment sent {"connection_id":152169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:47:10] local.INFO: TCP Data received {"connection_id":152545,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:47:10] local.INFO: Processing buffer {"connection_id":152545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:47:10] local.INFO: IMEI packet received {"connection_id":152545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":152545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:47:14] local.INFO: TCP Data received {"connection_id":152545,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:47:14] local.INFO: Processing buffer {"connection_id":152545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:47:14] local.INFO: IMEI packet received {"connection_id":152545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":152545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:47:15] local.INFO: TCP Data received {"connection_id":152545,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefadd230012d17b8400720a270002e013927..."} 
[2026-08-11 12:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefadd230012d17b8400720a270002e013927..."} 
[2026-08-11 12:47:15] local.INFO: Processing buffer {"connection_id":152545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefadd230012d17b8400720a270002e013927..."} 
[2026-08-11 12:47:15] local.INFO: Packet analysis {"connection_id":152545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefad"} 
[2026-08-11 12:47:15] local.INFO: Extracted packet for processing {"connection_id":152545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefad"} 
[2026-08-11 12:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756529216,"raw_latitude":119579248,"longitude_deg":75.6529216,"latitude_deg":11.9579248,"altitude":46,"angle":313,"satellites":39,"speed":9,"hex_longitude":"2d17b840","hex_latitude":"0720a270","is_valid_coordinates":true} 
[2026-08-11 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-08-11 12:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326738688001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11552976694935552,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1709397564176052224,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:15] 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-08-11 12:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786432574000,"timestamp_ms":1786432574000,"timestamp_seconds":1786432574,"priority":1,"record_length":96,"hex_timestamp":"0000019fefadd230"} 
[2026-08-11 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-08-11 12:47:15] 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-08-11 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-11 12:47:15] 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-08-11 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-08-11 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-08-11 12:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326738688001,"66":14070,"107":206,"83":41984,"24":9,"16":11552976694935552,"45":1709397564176052224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326738688001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:47:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11552976694935552,"km_value":11552976694935.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1709397564176052224,"description":"Unknown IO ID 45"} 
[2026-08-11 12:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326738688001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1709397564176052224}} 
[2026-08-11 12:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":152545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:47:15] local.INFO: GPS data processed {"connection_id":152545,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:47:15] local.INFO: Acknowledgment sent {"connection_id":152545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:47:16] local.INFO: TCP Data received {"connection_id":152545,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefadd618012d17b7800720a2f8002e012c28..."} 
[2026-08-11 12:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefadd618012d17b7800720a2f8002e012c28..."} 
[2026-08-11 12:47:16] local.INFO: Processing buffer {"connection_id":152545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefadd618012d17b7800720a2f8002e012c28..."} 
[2026-08-11 12:47:16] local.INFO: Packet analysis {"connection_id":152545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefad"} 
[2026-08-11 12:47:16] local.INFO: Extracted packet for processing {"connection_id":152545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefad"} 
[2026-08-11 12:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756529024,"raw_latitude":119579384,"longitude_deg":75.6529024,"latitude_deg":11.9579384,"altitude":46,"angle":300,"satellites":40,"speed":9,"hex_longitude":"2d17b780","hex_latitude":"0720a2f8","is_valid_coordinates":true} 
[2026-08-11 12:47: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-08-11 12:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326738944001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11552989579837440,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1709186457943568384,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:16] 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-08-11 12:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786432575000,"timestamp_ms":1786432575000,"timestamp_seconds":1786432575,"priority":1,"record_length":96,"hex_timestamp":"0000019fefadd618"} 
[2026-08-11 12:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:47:16] 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-08-11 12:47: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":246,"data_length":795,"current_offset":136} 
[2026-08-11 12:47:16] 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-08-11 12:47: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-08-11 12:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326738944001,"66":14428,"107":206,"83":41984,"24":9,"16":11552989579837440,"45":1709186457943568384},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326738944001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:47:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:47:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11552989579837440,"km_value":11552989579837.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1709186457943568384,"description":"Unknown IO ID 45"} 
[2026-08-11 12:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326738944001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1709186457943568384}} 
[2026-08-11 12:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":152545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:47:16] local.INFO: GPS data processed {"connection_id":152545,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:47:16] local.INFO: Acknowledgment sent {"connection_id":152545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:47:17] local.INFO: TCP Data received {"connection_id":154875,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:47:17] local.INFO: Processing buffer {"connection_id":154875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:47:17] local.INFO: IMEI packet received {"connection_id":154875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":154875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:47:39] local.INFO: TCP Data received {"connection_id":154875,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 12:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154875,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 12:47:39] local.INFO: Processing buffer {"connection_id":154875,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 12:47:39] local.INFO: IMEI packet received {"connection_id":154875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":154875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:47:40] local.INFO: TCP Data received {"connection_id":154875,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefae1880012db4268005dd9718008500f025..."} 
[2026-08-11 12:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefae1880012db4268005dd9718008500f025..."} 
[2026-08-11 12:47:40] local.INFO: Processing buffer {"connection_id":154875,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fef..."} 
[2026-08-11 12:47:40] local.INFO: IMEI packet received {"connection_id":154875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":154875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:47:40] local.INFO: TCP Data received {"connection_id":154875,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefae1c68012db4250005dd95f8008500e025..."} 
[2026-08-11 12:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefae1c68012db4250005dd95f8008500e025..."} 
[2026-08-11 12:47:40] local.INFO: Processing buffer {"connection_id":154875,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fefae1880012db4268005dd9718008500f025..."} 
[2026-08-11 12:47:40] local.INFO: Packet analysis {"connection_id":154875,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fefae"} 
[2026-08-11 12:47:40] local.INFO: Extracted packet for processing {"connection_id":154875,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefae"} 
[2026-08-11 12:47:40] local.INFO: GPS Element Parsed {"raw_longitude":766781056,"raw_latitude":98408216,"longitude_deg":76.6781056,"latitude_deg":9.8408216,"altitude":133,"angle":240,"satellites":37,"speed":19,"hex_longitude":"2db42680","hex_latitude":"05dd9718","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326742528001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377524163574759424,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5463499641505411072,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786432592000,"timestamp_ms":1786432592000,"timestamp_seconds":1786432592,"priority":1,"record_length":96,"hex_timestamp":"0000019fefae1880"} 
[2026-08-11 12:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 12:47: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-08-11 12: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-08-11 12:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:47:40] 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-08-11 12:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326742528001,"66":27876,"126":206,"92":41728,"24":19,"16":377524163574759424,"45":-5463499641505411072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-08-11 12:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326742528001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:47:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-11 12:47:40] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377524163574759424,"km_value":377524163574759.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5463499641505411072,"description":"Unknown IO ID 45"} 
[2026-08-11 12:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326742528001,"power":27876,"unknown_126":206,"unknown_92":41728,"ignition":19,"odometer":null,"unknown_45":-5463499641505411072}} 
[2026-08-11 12:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":154875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:47:40] local.INFO: GPS data processed {"connection_id":154875,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:47:40] local.INFO: Acknowledgment sent {"connection_id":154875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:47:40] local.INFO: Packet analysis {"connection_id":154875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefae"} 
[2026-08-11 12:47:40] local.INFO: Extracted packet for processing {"connection_id":154875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefae"} 
[2026-08-11 12:47:40] local.INFO: GPS Element Parsed {"raw_longitude":766780672,"raw_latitude":98407928,"longitude_deg":76.6780672,"latitude_deg":9.8407928,"altitude":133,"angle":224,"satellites":37,"speed":19,"hex_longitude":"2db42500","hex_latitude":"05dd95f8","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326743552001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377524185049595904,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5465540335086659584,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786432593000,"timestamp_ms":1786432593000,"timestamp_seconds":1786432593,"priority":1,"record_length":96,"hex_timestamp":"0000019fefae1c68"} 
[2026-08-11 12:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 12:47: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-08-11 12: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-08-11 12:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:47:40] 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-08-11 12:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326743552001,"66":27876,"126":206,"92":41728,"24":19,"16":377524185049595904,"45":-5465540335086659584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-08-11 12:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326743552001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:47:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-11 12:47:40] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377524185049595904,"km_value":377524185049595.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5465540335086659584,"description":"Unknown IO ID 45"} 
[2026-08-11 12:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326743552001,"power":27876,"unknown_126":206,"unknown_92":41728,"ignition":19,"odometer":null,"unknown_45":-5465540335086659584}} 
[2026-08-11 12:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":154875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:47:40] local.INFO: GPS data processed {"connection_id":154875,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:47:40] local.INFO: Acknowledgment sent {"connection_id":154875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:47:41] local.INFO: TCP Data received {"connection_id":154875,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefae2050012db4240005dd9468008600d025..."} 
[2026-08-11 12:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefae2050012db4240005dd9468008600d025..."} 
[2026-08-11 12:47:41] local.INFO: Processing buffer {"connection_id":154875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefae2050012db4240005dd9468008600d025..."} 
[2026-08-11 12:47:41] local.INFO: Packet analysis {"connection_id":154875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefae"} 
[2026-08-11 12:47:41] local.INFO: Extracted packet for processing {"connection_id":154875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefae"} 
[2026-08-11 12:47:41] local.INFO: GPS Element Parsed {"raw_longitude":766780416,"raw_latitude":98407528,"longitude_deg":76.6780416,"latitude_deg":9.8407528,"altitude":134,"angle":208,"satellites":37,"speed":20,"hex_longitude":"2db42400","hex_latitude":"05dd9468","is_valid_coordinates":true} 
[2026-08-11 12:47: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-08-11 12:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326743808001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377524210819399680,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5465962547551799296,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786432594000,"timestamp_ms":1786432594000,"timestamp_seconds":1786432594,"priority":1,"record_length":96,"hex_timestamp":"0000019fefae2050"} 
[2026-08-11 12:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:47: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-08-11 12:47: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-08-11 12:47: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-08-11 12:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":154875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":154875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":154875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:47:41] 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-08-11 12:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326743808001,"66":27767,"126":206,"92":41728,"24":20,"16":377524210819399680,"45":-5465962547551799296},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-08-11 12:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326743808001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:47:41] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-11 12:47:41] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377524210819399680,"km_value":377524210819399.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5465962547551799296,"description":"Unknown IO ID 45"} 
[2026-08-11 12:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326743808001,"power":27767,"unknown_126":206,"unknown_92":41728,"ignition":20,"odometer":null,"unknown_45":-5465962547551799296}} 
[2026-08-11 12:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":154875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:47:41] local.INFO: GPS data processed {"connection_id":154875,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:47:41] local.INFO: Acknowledgment sent {"connection_id":154875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:47:47] local.INFO: TCP Data received {"connection_id":152545,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefae6e70012d17bf800720c3000033003327..."} 
[2026-08-11 12:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefae6e70012d17bf800720c3000033003327..."} 
[2026-08-11 12:47:47] local.INFO: Processing buffer {"connection_id":152545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefae6e70012d17bf800720c3000033003327..."} 
[2026-08-11 12:47:47] local.INFO: Packet analysis {"connection_id":152545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefae"} 
[2026-08-11 12:47:47] local.INFO: Extracted packet for processing {"connection_id":152545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefae"} 
[2026-08-11 12:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756531072,"raw_latitude":119587584,"longitude_deg":75.6531072,"latitude_deg":11.9587584,"altitude":51,"angle":51,"satellites":39,"speed":10,"hex_longitude":"2d17bf80","hex_latitude":"0720c300","is_valid_coordinates":true} 
[2026-08-11 12:47: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-08-11 12:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326746368001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11553625234997248,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706793920643321856,"note":"Value kept but may cause issues"} 
[2026-08-11 12:47:47] 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-08-11 12:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786432614000,"timestamp_ms":1786432614000,"timestamp_seconds":1786432614,"priority":1,"record_length":96,"hex_timestamp":"0000019fefae6e70"} 
[2026-08-11 12:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:47:47] 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-08-11 12:47: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 12:47:47] 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-08-11 12:47: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-08-11 12:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326746368001,"66":14428,"107":206,"83":41984,"24":10,"16":11553625234997248,"45":1706793920643321856},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326746368001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:47:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:47:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11553625234997248,"km_value":11553625234997.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706793920643321856,"description":"Unknown IO ID 45"} 
[2026-08-11 12:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326746368001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1706793920643321856}} 
[2026-08-11 12:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":152545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:47:47] local.INFO: GPS data processed {"connection_id":152545,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:47:47] local.INFO: Acknowledgment sent {"connection_id":152545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:48:11] local.INFO: TCP Data received {"connection_id":153500,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:48:11] local.INFO: Processing buffer {"connection_id":153500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:48:11] local.INFO: IMEI packet received {"connection_id":153500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":153500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:48:11] local.INFO: TCP Data received {"connection_id":153500,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:48:11] local.INFO: Processing buffer {"connection_id":153500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:48:11] local.INFO: IMEI packet received {"connection_id":153500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":153500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:48:16] local.INFO: TCP Data received {"connection_id":153500,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:48:16] local.INFO: Processing buffer {"connection_id":153500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:48:16] local.INFO: IMEI packet received {"connection_id":153500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":153500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:48:16] local.INFO: TCP Data received {"connection_id":153500,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefae9d50012d17cd400720d1b80034002227..."} 
[2026-08-11 12:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefae9d50012d17cd400720d1b80034002227..."} 
[2026-08-11 12:48:16] local.INFO: Processing buffer {"connection_id":153500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefae9d50012d17cd400720d1b80034002227..."} 
[2026-08-11 12:48:16] local.INFO: Packet analysis {"connection_id":153500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefae"} 
[2026-08-11 12:48:16] local.INFO: Extracted packet for processing {"connection_id":153500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefae"} 
[2026-08-11 12:48:16] local.INFO: GPS Element Parsed {"raw_longitude":756534592,"raw_latitude":119591352,"longitude_deg":75.6534592,"latitude_deg":11.9591352,"altitude":52,"angle":34,"satellites":39,"speed":18,"hex_longitude":"2d17cd40","hex_latitude":"0720d1b8","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326749184001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11553874343100416,"note":"Value kept but may cause issues"} 
[2026-08-11 12:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1711227151526854656,"note":"Value kept but may cause issues"} 
[2026-08-11 12:48:16] 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-08-11 12:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786432626000,"timestamp_ms":1786432626000,"timestamp_seconds":1786432626,"priority":1,"record_length":96,"hex_timestamp":"0000019fefae9d50"} 
[2026-08-11 12:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:48:16] 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-08-11 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 12:48:16] 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-08-11 12: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-08-11 12:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326749184001,"66":14483,"107":206,"83":41984,"24":18,"16":11553874343100416,"45":1711227151526854656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326749184001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:48:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:48:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11553874343100416,"km_value":11553874343100.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1711227151526854656,"description":"Unknown IO ID 45"} 
[2026-08-11 12:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326749184001,"power":14483,"unknown_107":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1711227151526854656}} 
[2026-08-11 12:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":153500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:48:17] local.INFO: GPS data processed {"connection_id":153500,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:48:17] local.INFO: Acknowledgment sent {"connection_id":153500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:48:17] local.INFO: TCP Data received {"connection_id":153500,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefaea520012d17cec00720d5700033001726..."} 
[2026-08-11 12:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefaea520012d17cec00720d5700033001726..."} 
[2026-08-11 12:48:17] local.INFO: Processing buffer {"connection_id":153500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefaea520012d17cec00720d5700033001726..."} 
[2026-08-11 12:48:17] local.INFO: Packet analysis {"connection_id":153500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefae"} 
[2026-08-11 12:48:17] local.INFO: Extracted packet for processing {"connection_id":153500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefae"} 
[2026-08-11 12:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756534976,"raw_latitude":119592304,"longitude_deg":75.6534976,"latitude_deg":11.9592304,"altitude":51,"angle":23,"satellites":38,"speed":20,"hex_longitude":"2d17cec0","hex_latitude":"0720d570","is_valid_coordinates":true} 
[2026-08-11 12:48: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-08-11 12:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326752256001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11553921587740672,"note":"Value kept but may cause issues"} 
[2026-08-11 12:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715097432457590784,"note":"Value kept but may cause issues"} 
[2026-08-11 12:48:17] 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-08-11 12:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786432628000,"timestamp_ms":1786432628000,"timestamp_seconds":1786432628,"priority":1,"record_length":96,"hex_timestamp":"0000019fefaea520"} 
[2026-08-11 12:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:48:17] 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-08-11 12:48: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 12:48:17] 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-08-11 12:48: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-08-11 12:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326752256001,"66":14363,"107":206,"83":41984,"24":20,"16":11553921587740672,"45":1715097432457590784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326752256001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:48:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:48:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11553921587740672,"km_value":11553921587740.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715097432457590784,"description":"Unknown IO ID 45"} 
[2026-08-11 12:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326752256001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1715097432457590784}} 
[2026-08-11 12:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":153500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:48:17] local.INFO: GPS data processed {"connection_id":153500,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:48:17] local.INFO: Acknowledgment sent {"connection_id":153500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:48:20] local.INFO: TCP Data received {"connection_id":152546,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:48:20] local.INFO: Processing buffer {"connection_id":152546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:48:20] local.INFO: IMEI packet received {"connection_id":152546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":152546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:48:24] local.INFO: TCP Data received {"connection_id":152546,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:48:24] local.INFO: Processing buffer {"connection_id":152546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:48:24] local.INFO: IMEI packet received {"connection_id":152546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":152546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:48:24] local.INFO: TCP Data received {"connection_id":152546,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefae2438012db4234005dd9288008600bd25..."} 
[2026-08-11 12:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefae2438012db4234005dd9288008600bd25..."} 
[2026-08-11 12:48:24] local.INFO: Processing buffer {"connection_id":152546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefae2438012db4234005dd9288008600bd25..."} 
[2026-08-11 12:48:24] local.INFO: Packet analysis {"connection_id":152546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefae"} 
[2026-08-11 12:48:24] local.INFO: Extracted packet for processing {"connection_id":152546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefae"} 
[2026-08-11 12:48:24] local.INFO: GPS Element Parsed {"raw_longitude":766780224,"raw_latitude":98407048,"longitude_deg":76.6780224,"latitude_deg":9.8407048,"altitude":134,"angle":189,"satellites":37,"speed":20,"hex_longitude":"2db42340","hex_latitude":"05dd9288","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326744064001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377524232294236160,"note":"Value kept but may cause issues"} 
[2026-08-11 12:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5466244022528612352,"note":"Value kept but may cause issues"} 
[2026-08-11 12:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786432595000,"timestamp_ms":1786432595000,"timestamp_seconds":1786432595,"priority":1,"record_length":96,"hex_timestamp":"0000019fefae2438"} 
[2026-08-11 12:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:48:24] 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-08-11 12: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-08-11 12:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:48:24] 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-08-11 12:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326744064001,"66":27767,"126":206,"92":41728,"24":20,"16":377524232294236160,"45":-5466244022528612352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-08-11 12:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326744064001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:48:24] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-11 12:48:24] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377524232294236160,"km_value":377524232294236.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5466244022528612352,"description":"Unknown IO ID 45"} 
[2026-08-11 12:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326744064001,"power":27767,"unknown_126":206,"unknown_92":41728,"ignition":20,"odometer":null,"unknown_45":-5466244022528612352}} 
[2026-08-11 12:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":152546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:48:24] local.INFO: GPS data processed {"connection_id":152546,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:48:24] local.INFO: Acknowledgment sent {"connection_id":152546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:48:48] local.INFO: TCP Data received {"connection_id":153500,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefaeacf0012d17cfc00720d9880033000826..."} 
[2026-08-11 12:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefaeacf0012d17cfc00720d9880033000826..."} 
[2026-08-11 12:48:48] local.INFO: Processing buffer {"connection_id":153500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefaeacf0012d17cfc00720d9880033000826..."} 
[2026-08-11 12:48:48] local.INFO: Packet analysis {"connection_id":153500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefae"} 
[2026-08-11 12:48:48] local.INFO: Extracted packet for processing {"connection_id":153500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefae"} 
[2026-08-11 12:48:48] local.INFO: GPS Element Parsed {"raw_longitude":756535232,"raw_latitude":119593352,"longitude_deg":75.6535232,"latitude_deg":11.9593352,"altitude":51,"angle":8,"satellites":38,"speed":20,"hex_longitude":"2d17cfc0","hex_latitude":"0720d988","is_valid_coordinates":true} 
[2026-08-11 12:48: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-08-11 12:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326752768001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11553977422315520,"note":"Value kept but may cause issues"} 
[2026-08-11 12:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715519644922900480,"note":"Value kept but may cause issues"} 
[2026-08-11 12:48:48] 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-08-11 12:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786432630000,"timestamp_ms":1786432630000,"timestamp_seconds":1786432630,"priority":1,"record_length":96,"hex_timestamp":"0000019fefaeacf0"} 
[2026-08-11 12:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:48:48] 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-08-11 12:48: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-11 12:48:48] 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-08-11 12:48: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-08-11 12:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326752768001,"66":14298,"107":206,"83":41984,"24":20,"16":11553977422315520,"45":1715519644922900480},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326752768001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:48:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:48:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11553977422315520,"km_value":11553977422315.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715519644922900480,"description":"Unknown IO ID 45"} 
[2026-08-11 12:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326752768001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1715519644922900480}} 
[2026-08-11 12:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":153500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:48:49] local.INFO: GPS data processed {"connection_id":153500,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:48:49] local.INFO: Acknowledgment sent {"connection_id":153500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:48:55] local.INFO: TCP Data received {"connection_id":152546,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefaf8b98012db4970005dcdf00008400c624..."} 
[2026-08-11 12:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefaf8b98012db4970005dcdf00008400c624..."} 
[2026-08-11 12:48:55] local.INFO: Processing buffer {"connection_id":152546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefaf8b98012db4970005dcdf00008400c624..."} 
[2026-08-11 12:48:55] local.INFO: Packet analysis {"connection_id":152546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefaf"} 
[2026-08-11 12:48:55] local.INFO: Extracted packet for processing {"connection_id":152546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefaf"} 
[2026-08-11 12:48:55] local.INFO: GPS Element Parsed {"raw_longitude":766809856,"raw_latitude":98361088,"longitude_deg":76.6809856,"latitude_deg":9.8361088,"altitude":132,"angle":198,"satellites":36,"speed":32,"hex_longitude":"2db49700","hex_latitude":"05dcdf00","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326767104001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377526942418599936,"note":"Value kept but may cause issues"} 
[2026-08-11 12:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5433311450264748032,"note":"Value kept but may cause issues"} 
[2026-08-11 12:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786432687000,"timestamp_ms":1786432687000,"timestamp_seconds":1786432687,"priority":1,"record_length":96,"hex_timestamp":"0000019fefaf8b98"} 
[2026-08-11 12:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:48:55] 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-08-11 12: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-08-11 12:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:48:55] 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-08-11 12:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326767104001,"66":27767,"1":206,"83":17920,"24":32,"16":377526942418599936,"45":-5433311450264748032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,83,24,16,45]} 
[2026-08-11 12:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326767104001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:48:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377526942418599936,"km_value":377526942418599.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5433311450264748032,"description":"Unknown IO ID 45"} 
[2026-08-11 12:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326767104001,"power":27767,"imei":206,"unknown_83":17920,"ignition":32,"odometer":null,"unknown_45":-5433311450264748032}} 
[2026-08-11 12:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":152546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:48:55] local.INFO: GPS data processed {"connection_id":152546,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:48:55] local.INFO: Acknowledgment sent {"connection_id":152546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:49:07] local.INFO: TCP Data received {"connection_id":152547,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:49:07] local.INFO: Processing buffer {"connection_id":152547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:49:07] local.INFO: IMEI packet received {"connection_id":152547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":152547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:49:10] local.INFO: TCP Data received {"connection_id":152547,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:49:10] local.INFO: Processing buffer {"connection_id":152547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:49:10] local.INFO: IMEI packet received {"connection_id":152547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":152547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:49:16] local.INFO: TCP Data received {"connection_id":152547,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:49:16] local.INFO: Processing buffer {"connection_id":152547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:49:16] local.INFO: IMEI packet received {"connection_id":152547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":152547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:49:17] local.INFO: TCP Data received {"connection_id":152547,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefaf7fe0012d17b48007211c380039002127..."} 
[2026-08-11 12:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefaf7fe0012d17b48007211c380039002127..."} 
[2026-08-11 12:49:17] local.INFO: Processing buffer {"connection_id":152547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefaf7fe0012d17b48007211c380039002127..."} 
[2026-08-11 12:49:17] local.INFO: Packet analysis {"connection_id":152547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefaf"} 
[2026-08-11 12:49:17] local.INFO: Extracted packet for processing {"connection_id":152547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefaf"} 
[2026-08-11 12:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756528256,"raw_latitude":119610424,"longitude_deg":75.6528256,"latitude_deg":11.9610424,"altitude":57,"angle":33,"satellites":39,"speed":13,"hex_longitude":"2d17b480","hex_latitude":"07211c38","is_valid_coordinates":true} 
[2026-08-11 12:49: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-08-11 12:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326766848001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11554905135251456,"note":"Value kept but may cause issues"} 
[2026-08-11 12:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707919820556283904,"note":"Value kept but may cause issues"} 
[2026-08-11 12:49:17] 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-08-11 12:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786432684000,"timestamp_ms":1786432684000,"timestamp_seconds":1786432684,"priority":1,"record_length":96,"hex_timestamp":"0000019fefaf7fe0"} 
[2026-08-11 12:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:49:17] 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-08-11 12:49: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 12:49:17] 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-08-11 12:49: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-08-11 12:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326766848001,"66":14070,"107":206,"83":41984,"24":13,"16":11554905135251456,"45":1707919820556283904},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326766848001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:49:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:49:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11554905135251456,"km_value":11554905135251.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707919820556283904,"description":"Unknown IO ID 45"} 
[2026-08-11 12:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326766848001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1707919820556283904}} 
[2026-08-11 12:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":152547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:49:17] local.INFO: GPS data processed {"connection_id":152547,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:49:17] local.INFO: Acknowledgment sent {"connection_id":152547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:49:18] local.INFO: TCP Data received {"connection_id":152170,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:49:18] local.INFO: Processing buffer {"connection_id":152170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:49:18] local.INFO: IMEI packet received {"connection_id":152170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":152170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:49:19] local.INFO: TCP Data received {"connection_id":152170,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:49:19] local.INFO: Processing buffer {"connection_id":152170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:49:19] local.INFO: IMEI packet received {"connection_id":152170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":152170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:49:24] local.INFO: TCP Data received {"connection_id":152170,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:49:24] local.INFO: Processing buffer {"connection_id":152170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:49:24] local.INFO: IMEI packet received {"connection_id":152170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":152170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:49:25] local.INFO: TCP Data received {"connection_id":152170,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefaf9750012db4924005dcd678008100d221..."} 
[2026-08-11 12:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefaf9750012db4924005dcd678008100d221..."} 
[2026-08-11 12:49:25] local.INFO: Processing buffer {"connection_id":152170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefaf9750012db4924005dcd678008100d221..."} 
[2026-08-11 12:49:25] local.INFO: Packet analysis {"connection_id":152170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefaf"} 
[2026-08-11 12:49:25] local.INFO: Extracted packet for processing {"connection_id":152170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefaf"} 
[2026-08-11 12:49:25] local.INFO: GPS Element Parsed {"raw_longitude":766808640,"raw_latitude":98358904,"longitude_deg":76.680864,"latitude_deg":9.8358904,"altitude":129,"angle":210,"satellites":33,"speed":32,"hex_longitude":"2db49240","hex_latitude":"05dcd678","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326767872001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377527066972651520,"note":"Value kept but may cause issues"} 
[2026-08-11 12:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5433874400218775552,"note":"Value kept but may cause issues"} 
[2026-08-11 12:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786432690000,"timestamp_ms":1786432690000,"timestamp_seconds":1786432690,"priority":1,"record_length":96,"hex_timestamp":"0000019fefaf9750"} 
[2026-08-11 12:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:49:25] 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-08-11 12: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-08-11 12:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:49:25] 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-08-11 12:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326767872001,"66":27800,"1":206,"83":17920,"24":32,"16":377527066972651520,"45":-5433874400218775552},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,83,24,16,45]} 
[2026-08-11 12:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326767872001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:49:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377527066972651520,"km_value":377527066972651.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5433874400218775552,"description":"Unknown IO ID 45"} 
[2026-08-11 12:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326767872001,"power":27800,"imei":206,"unknown_83":17920,"ignition":32,"odometer":null,"unknown_45":-5433874400218775552}} 
[2026-08-11 12:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":152170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:49:25] local.INFO: GPS data processed {"connection_id":152170,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:49:25] local.INFO: Acknowledgment sent {"connection_id":152170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:49:48] local.INFO: TCP Data received {"connection_id":152547,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefafb690012d17ca00072139b8003b002029..."} 
[2026-08-11 12:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefafb690012d17ca00072139b8003b002029..."} 
[2026-08-11 12:49:48] local.INFO: Processing buffer {"connection_id":152547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefafb690012d17ca00072139b8003b002029..."} 
[2026-08-11 12:49:48] local.INFO: Packet analysis {"connection_id":152547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefaf"} 
[2026-08-11 12:49:48] local.INFO: Extracted packet for processing {"connection_id":152547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefaf"} 
[2026-08-11 12:49:48] local.INFO: GPS Element Parsed {"raw_longitude":756533760,"raw_latitude":119617976,"longitude_deg":75.653376,"latitude_deg":11.9617976,"altitude":59,"angle":32,"satellites":41,"speed":32,"hex_longitude":"2d17ca00","hex_latitude":"072139b8","is_valid_coordinates":true} 
[2026-08-11 12:49: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-08-11 12:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326767104001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11555356106817536,"note":"Value kept but may cause issues"} 
[2026-08-11 12:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708130926788884480,"note":"Value kept but may cause issues"} 
[2026-08-11 12:49:48] 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-08-11 12:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786432698000,"timestamp_ms":1786432698000,"timestamp_seconds":1786432698,"priority":1,"record_length":96,"hex_timestamp":"0000019fefafb690"} 
[2026-08-11 12:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:49:48] 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-08-11 12:49: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":246,"data_length":795,"current_offset":136} 
[2026-08-11 12:49:48] 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-08-11 12:49: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-08-11 12:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326767104001,"66":14189,"107":206,"83":41984,"24":32,"16":11555356106817536,"45":1708130926788884480},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326767104001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:49:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:49:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11555356106817536,"km_value":11555356106817.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708130926788884480,"description":"Unknown IO ID 45"} 
[2026-08-11 12:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326767104001,"power":14189,"unknown_107":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1708130926788884480}} 
[2026-08-11 12:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":152547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:49:48] local.INFO: GPS data processed {"connection_id":152547,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:49:48] local.INFO: Acknowledgment sent {"connection_id":152547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:49:57] local.INFO: TCP Data received {"connection_id":152170,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefafaec0012db487c005dcc578007c00c520..."} 
[2026-08-11 12:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefafaec0012db487c005dcc578007c00c520..."} 
[2026-08-11 12:49:57] local.INFO: Processing buffer {"connection_id":152170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefafaec0012db487c005dcc578007c00c520..."} 
[2026-08-11 12:49:57] local.INFO: Packet analysis {"connection_id":152170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefaf"} 
[2026-08-11 12:49:57] local.INFO: Extracted packet for processing {"connection_id":152170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefaf"} 
[2026-08-11 12:49:57] local.INFO: GPS Element Parsed {"raw_longitude":766805952,"raw_latitude":98354552,"longitude_deg":76.6805952,"latitude_deg":9.8354552,"altitude":124,"angle":197,"satellites":32,"speed":32,"hex_longitude":"2db487c0","hex_latitude":"05dcc578","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326768640001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377527311785787392,"note":"Value kept but may cause issues"} 
[2026-08-11 12:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5435211406358710272,"note":"Value kept but may cause issues"} 
[2026-08-11 12:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786432696000,"timestamp_ms":1786432696000,"timestamp_seconds":1786432696,"priority":1,"record_length":96,"hex_timestamp":"0000019fefafaec0"} 
[2026-08-11 12:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 12:49:57] 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-08-11 12: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-08-11 12:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:49:57] 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-08-11 12:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326768640001,"66":27843,"1":206,"83":17920,"24":32,"16":377527311785787392,"45":-5435211406358710272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,83,24,16,45]} 
[2026-08-11 12:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326768640001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377527311785787392,"km_value":377527311785787.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5435211406358710272,"description":"Unknown IO ID 45"} 
[2026-08-11 12:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326768640001,"power":27843,"imei":206,"unknown_83":17920,"ignition":32,"odometer":null,"unknown_45":-5435211406358710272}} 
[2026-08-11 12:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":152170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:49:57] local.INFO: GPS data processed {"connection_id":152170,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:49:57] local.INFO: Acknowledgment sent {"connection_id":152170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:50:08] local.INFO: TCP Data received {"connection_id":152171,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:50:08] local.INFO: Processing buffer {"connection_id":152171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:50:08] local.INFO: IMEI packet received {"connection_id":152171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":152171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:50:11] local.INFO: TCP Data received {"connection_id":152171,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:50:11] local.INFO: Processing buffer {"connection_id":152171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:50:11] local.INFO: IMEI packet received {"connection_id":152171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":152171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:50:16] local.INFO: TCP Data received {"connection_id":152171,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:50:16] local.INFO: Processing buffer {"connection_id":152171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:50:16] local.INFO: IMEI packet received {"connection_id":152171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":152171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:50:16] local.INFO: TCP Data received {"connection_id":152171,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefafe570012d17dcc0072159200044001e29..."} 
[2026-08-11 12:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefafe570012d17dcc0072159200044001e29..."} 
[2026-08-11 12:50:16] local.INFO: Processing buffer {"connection_id":152171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefafe570012d17dcc0072159200044001e29..."} 
[2026-08-11 12:50:16] local.INFO: Packet analysis {"connection_id":152171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefaf"} 
[2026-08-11 12:50:16] local.INFO: Extracted packet for processing {"connection_id":152171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefaf"} 
[2026-08-11 12:50:16] local.INFO: GPS Element Parsed {"raw_longitude":756538560,"raw_latitude":119626016,"longitude_deg":75.653856,"latitude_deg":11.9626016,"altitude":68,"angle":30,"satellites":41,"speed":27,"hex_longitude":"2d17dcc0","hex_latitude":"07215920","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326770688001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11555807078383616,"note":"Value kept but may cause issues"} 
[2026-08-11 12:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714182638790096896,"note":"Value kept but may cause issues"} 
[2026-08-11 12:50:16] 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-08-11 12:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786432710000,"timestamp_ms":1786432710000,"timestamp_seconds":1786432710,"priority":1,"record_length":96,"hex_timestamp":"0000019fefafe570"} 
[2026-08-11 12:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:50:16] 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-08-11 12: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 12:50:16] 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-08-11 12: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-08-11 12:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326770688001,"66":13993,"107":206,"83":41984,"24":27,"16":11555807078383616,"45":1714182638790096896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 12:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326770688001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:50:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 12:50:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11555807078383616,"km_value":11555807078383.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714182638790096896,"description":"Unknown IO ID 45"} 
[2026-08-11 12:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326770688001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1714182638790096896}} 
[2026-08-11 12:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":152171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:50:16] local.INFO: GPS data processed {"connection_id":152171,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:50:16] local.INFO: Acknowledgment sent {"connection_id":152171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:50:19] local.INFO: TCP Data received {"connection_id":152548,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:50:19] local.INFO: Processing buffer {"connection_id":152548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:50:19] local.INFO: IMEI packet received {"connection_id":152548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":152548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:50:25] local.INFO: TCP Data received {"connection_id":152548,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:50:25] local.INFO: Processing buffer {"connection_id":152548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:50:25] local.INFO: IMEI packet received {"connection_id":152548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":152548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:50:28] local.INFO: TCP Data received {"connection_id":152548,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb0b860012db4be0005dbf348005b00ea1d..."} 
[2026-08-11 12:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb0b860012db4be0005dbf348005b00ea1d..."} 
[2026-08-11 12:50:28] local.INFO: Processing buffer {"connection_id":152548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb0b860012db4be0005dbf348005b00ea1d..."} 
[2026-08-11 12:50:28] local.INFO: Packet analysis {"connection_id":152548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb0"} 
[2026-08-11 12:50:28] local.INFO: Extracted packet for processing {"connection_id":152548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb0"} 
[2026-08-11 12:50:28] local.INFO: GPS Element Parsed {"raw_longitude":766819840,"raw_latitude":98300744,"longitude_deg":76.681984,"latitude_deg":9.8300744,"altitude":91,"angle":234,"satellites":29,"speed":24,"hex_longitude":"2db4be00","hex_latitude":"05dbf348","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326787072001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377530082039693312,"note":"Value kept but may cause issues"} 
[2026-08-11 12:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5421841344979642368,"note":"Value kept but may cause issues"} 
[2026-08-11 12:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786432764000,"timestamp_ms":1786432764000,"timestamp_seconds":1786432764,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb0b860"} 
[2026-08-11 12:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12: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-08-11 12: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-08-11 12:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:50:28] 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-08-11 12:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326787072001,"66":27952,"154":206,"92":41728,"24":24,"16":377530082039693312,"45":-5421841344979642368},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,92,24,16,45]} 
[2026-08-11 12:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326787072001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:50:28] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 12:50:28] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377530082039693312,"km_value":377530082039693.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5421841344979642368,"description":"Unknown IO ID 45"} 
[2026-08-11 12:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326787072001,"power":27952,"unknown_154":206,"unknown_92":41728,"ignition":24,"odometer":null,"unknown_45":-5421841344979642368}} 
[2026-08-11 12:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":152548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:50:28] local.INFO: GPS data processed {"connection_id":152548,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:50:28] local.INFO: Acknowledgment sent {"connection_id":152548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:50:48] local.INFO: TCP Data received {"connection_id":152171,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb01450012d17eec0072177400048002929..."} 
[2026-08-11 12:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb01450012d17eec0072177400048002929..."} 
[2026-08-11 12:50:48] local.INFO: Processing buffer {"connection_id":152171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb01450012d17eec0072177400048002929..."} 
[2026-08-11 12:50:48] local.INFO: Packet analysis {"connection_id":152171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb0"} 
[2026-08-11 12:50:48] local.INFO: Extracted packet for processing {"connection_id":152171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb0"} 
[2026-08-11 12:50:48] local.INFO: GPS Element Parsed {"raw_longitude":756543168,"raw_latitude":119633728,"longitude_deg":75.6543168,"latitude_deg":11.9633728,"altitude":72,"angle":41,"satellites":41,"speed":31,"hex_longitude":"2d17eec0","hex_latitude":"07217740","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326773760001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11556240870080512,"note":"Value kept but may cause issues"} 
[2026-08-11 12:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1719460294605479936,"note":"Value kept but may cause issues"} 
[2026-08-11 12:50:48] 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-08-11 12:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786432722000,"timestamp_ms":1786432722000,"timestamp_seconds":1786432722,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb01450"} 
[2026-08-11 12:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:50:48] 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-08-11 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-11 12:50:48] 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-08-11 12: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-08-11 12:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326773760001,"66":14070,"105":206,"83":41984,"24":31,"16":11556240870080512,"45":1719460294605479936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 12:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326773760001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:50:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 12:50:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 12:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11556240870080512,"km_value":11556240870080.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1719460294605479936,"description":"Unknown IO ID 45"} 
[2026-08-11 12:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326773760001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1719460294605479936}} 
[2026-08-11 12:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":152171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:50:48] local.INFO: GPS data processed {"connection_id":152171,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:50:48] local.INFO: Acknowledgment sent {"connection_id":152171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:50:59] local.INFO: TCP Data received {"connection_id":152548,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb16828012db4508005dc1978004d00b624..."} 
[2026-08-11 12:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb16828012db4508005dc1978004d00b624..."} 
[2026-08-11 12:50:59] local.INFO: Processing buffer {"connection_id":152548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb16828012db4508005dc1978004d00b624..."} 
[2026-08-11 12:50:59] local.INFO: Packet analysis {"connection_id":152548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb1"} 
[2026-08-11 12:50:59] local.INFO: Extracted packet for processing {"connection_id":152548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb1"} 
[2026-08-11 12:50:59] local.INFO: GPS Element Parsed {"raw_longitude":766791808,"raw_latitude":98310520,"longitude_deg":76.6791808,"latitude_deg":9.831052,"altitude":77,"angle":182,"satellites":36,"speed":38,"hex_longitude":"2db45080","hex_latitude":"05dc1978","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326798336001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377531941760532480,"note":"Value kept but may cause issues"} 
[2026-08-11 12:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5453296173624068096,"note":"Value kept but may cause issues"} 
[2026-08-11 12:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786432809000,"timestamp_ms":1786432809000,"timestamp_seconds":1786432809,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb16828"} 
[2026-08-11 12:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 12:50:59] 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-08-11 12: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-08-11 12:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:50:59] 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-08-11 12:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326798336001,"66":27745,"1":206,"83":17920,"24":38,"16":377531941760532480,"45":-5453296173624068096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,83,24,16,45]} 
[2026-08-11 12:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326798336001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377531941760532480,"km_value":377531941760532.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5453296173624068096,"description":"Unknown IO ID 45"} 
[2026-08-11 12:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326798336001,"power":27745,"imei":206,"unknown_83":17920,"ignition":38,"odometer":null,"unknown_45":-5453296173624068096}} 
[2026-08-11 12:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":152548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:50:59] local.INFO: GPS data processed {"connection_id":152548,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:50:59] local.INFO: Acknowledgment sent {"connection_id":152548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:51:19] local.INFO: TCP Data received {"connection_id":152172,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:51:19] local.INFO: Processing buffer {"connection_id":152172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:51:19] local.INFO: IMEI packet received {"connection_id":152172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":152172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:51:23] local.INFO: TCP Data received {"connection_id":152172,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:51:23] local.INFO: Processing buffer {"connection_id":152172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:51:23] local.INFO: IMEI packet received {"connection_id":152172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":152172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:51:40] local.INFO: TCP Data received {"connection_id":152172,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:51:40] local.INFO: Processing buffer {"connection_id":152172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:51:40] local.INFO: IMEI packet received {"connection_id":152172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":152172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:51:45] local.INFO: TCP Data received {"connection_id":152172,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb173e0012db451c005dc0d78004c00aa23..."} 
[2026-08-11 12:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb173e0012db451c005dc0d78004c00aa23..."} 
[2026-08-11 12:51:45] local.INFO: Processing buffer {"connection_id":152172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb173e0012db451c005dc0d78004c00aa23..."} 
[2026-08-11 12:51:45] local.INFO: Packet analysis {"connection_id":152172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb1"} 
[2026-08-11 12:51:45] local.INFO: Extracted packet for processing {"connection_id":152172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb1"} 
[2026-08-11 12:51:45] local.INFO: GPS Element Parsed {"raw_longitude":766792128,"raw_latitude":98307448,"longitude_deg":76.6792128,"latitude_deg":9.8307448,"altitude":76,"angle":170,"satellites":35,"speed":42,"hex_longitude":"2db451c0","hex_latitude":"05dc0d78","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326799104001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377532092084387840,"note":"Value kept but may cause issues"} 
[2026-08-11 12:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5453718386089822208,"note":"Value kept but may cause issues"} 
[2026-08-11 12:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786432812000,"timestamp_ms":1786432812000,"timestamp_seconds":1786432812,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb173e0"} 
[2026-08-11 12:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 12:51:45] 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-08-11 12: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-08-11 12:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:51:45] 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-08-11 12:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326799104001,"66":27767,"1":206,"83":17920,"24":42,"16":377532092084387840,"45":-5453718386089822208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,83,24,16,45]} 
[2026-08-11 12:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326799104001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377532092084387840,"km_value":377532092084387.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5453718386089822208,"description":"Unknown IO ID 45"} 
[2026-08-11 12:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326799104001,"power":27767,"imei":206,"unknown_83":17920,"ignition":42,"odometer":null,"unknown_45":-5453718386089822208}} 
[2026-08-11 12:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":152172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:51:45] local.INFO: GPS data processed {"connection_id":152172,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:51:45] local.INFO: Acknowledgment sent {"connection_id":152172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:51:47] local.INFO: TCP Data received {"connection_id":152172,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb19320012db4580005dbe8b0004600b324..."} 
[2026-08-11 12:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb19320012db4580005dbe8b0004600b324..."} 
[2026-08-11 12:51:47] local.INFO: Processing buffer {"connection_id":152172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb19320012db4580005dbe8b0004600b324..."} 
[2026-08-11 12:51:47] local.INFO: Packet analysis {"connection_id":152172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb1"} 
[2026-08-11 12:51:47] local.INFO: Extracted packet for processing {"connection_id":152172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb1"} 
[2026-08-11 12:51:47] local.INFO: GPS Element Parsed {"raw_longitude":766793728,"raw_latitude":98298032,"longitude_deg":76.6793728,"latitude_deg":9.8298032,"altitude":70,"angle":179,"satellites":36,"speed":51,"hex_longitude":"2db45800","hex_latitude":"05dbe8b0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326799872001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377532555940855808,"note":"Value kept but may cause issues"} 
[2026-08-11 12:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5453366542369720320,"note":"Value kept but may cause issues"} 
[2026-08-11 12:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786432820000,"timestamp_ms":1786432820000,"timestamp_seconds":1786432820,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb19320"} 
[2026-08-11 12:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:51: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-08-11 12: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-08-11 12:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:51:47] 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-08-11 12:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326799872001,"66":27767,"1":206,"83":17920,"24":51,"16":377532555940855808,"45":-5453366542369720320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,83,24,16,45]} 
[2026-08-11 12:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326799872001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:51:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377532555940855808,"km_value":377532555940855.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5453366542369720320,"description":"Unknown IO ID 45"} 
[2026-08-11 12:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326799872001,"power":27767,"imei":206,"unknown_83":17920,"ignition":51,"odometer":null,"unknown_45":-5453366542369720320}} 
[2026-08-11 12:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":152172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:51:47] local.INFO: GPS data processed {"connection_id":152172,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:51:47] local.INFO: Acknowledgment sent {"connection_id":152172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:52:24] local.INFO: TCP Data received {"connection_id":153501,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:52:24] local.INFO: Processing buffer {"connection_id":153501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:52:24] local.INFO: IMEI packet received {"connection_id":153501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":153501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:52:25] local.INFO: TCP Data received {"connection_id":153501,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:52:25] local.INFO: Processing buffer {"connection_id":153501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:52:25] local.INFO: IMEI packet received {"connection_id":153501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":153501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:52:27] local.INFO: TCP Data received {"connection_id":153501,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb29cc0012db4d98005dac4280034008922..."} 
[2026-08-11 12:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb29cc0012db4d98005dac4280034008922..."} 
[2026-08-11 12:52:27] local.INFO: Processing buffer {"connection_id":153501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb29cc0012db4d98005dac4280034008922..."} 
[2026-08-11 12:52:27] local.INFO: Packet analysis {"connection_id":153501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb2"} 
[2026-08-11 12:52:27] local.INFO: Extracted packet for processing {"connection_id":153501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb2"} 
[2026-08-11 12:52:27] local.INFO: GPS Element Parsed {"raw_longitude":766826880,"raw_latitude":98223144,"longitude_deg":76.682688,"latitude_deg":9.8223144,"altitude":52,"angle":137,"satellites":34,"speed":47,"hex_longitude":"2db4d980","hex_latitude":"05dac428","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326817280001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377536760713838592,"note":"Value kept but may cause issues"} 
[2026-08-11 12:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5422193188718667776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786432888000,"timestamp_ms":1786432888000,"timestamp_seconds":1786432888,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb29cc0"} 
[2026-08-11 12:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 12:52: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-08-11 12: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-08-11 12:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:52:27] 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-08-11 12:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326817280001,"66":27800,"154":206,"92":41728,"24":47,"16":377536760713838592,"45":-5422193188718667776},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,92,24,16,45]} 
[2026-08-11 12:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326817280001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:52:27] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 12:52:27] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-08-11 12:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377536760713838592,"km_value":377536760713838.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5422193188718667776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326817280001,"power":27800,"unknown_154":206,"unknown_92":41728,"ignition":47,"odometer":null,"unknown_45":-5422193188718667776}} 
[2026-08-11 12:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":153501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:52:27] local.INFO: GPS data processed {"connection_id":153501,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:52:27] local.INFO: Acknowledgment sent {"connection_id":153501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:52:30] local.INFO: TCP Data received {"connection_id":153501,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb2b818012db4ed0005daabc80037009625..."} 
[2026-08-11 12:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb2b818012db4ed0005daabc80037009625..."} 
[2026-08-11 12:52:30] local.INFO: Processing buffer {"connection_id":153501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb2b818012db4ed0005daabc80037009625..."} 
[2026-08-11 12:52:30] local.INFO: Packet analysis {"connection_id":153501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb2"} 
[2026-08-11 12:52:30] local.INFO: Extracted packet for processing {"connection_id":153501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb2"} 
[2026-08-11 12:52:30] local.INFO: GPS Element Parsed {"raw_longitude":766831872,"raw_latitude":98216904,"longitude_deg":76.6831872,"latitude_deg":9.8216904,"altitude":55,"angle":150,"satellites":37,"speed":43,"hex_longitude":"2db4ed00","hex_latitude":"05daabc8","is_valid_coordinates":true} 
[2026-08-11 12:52: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-08-11 12:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326819328001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377537147260895232,"note":"Value kept but may cause issues"} 
[2026-08-11 12:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5415156314302830592,"note":"Value kept but may cause issues"} 
[2026-08-11 12:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786432895000,"timestamp_ms":1786432895000,"timestamp_seconds":1786432895,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb2b818"} 
[2026-08-11 12:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:52: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 12:52:30] 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-08-11 12:52: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-08-11 12:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:52:30] 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-08-11 12:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326819328001,"66":27974,"87":206,"83":17920,"24":43,"16":377537147260895232,"45":-5415156314302830592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-11 12:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326819328001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:52:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-11 12:52:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377537147260895232,"km_value":377537147260895.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5415156314302830592,"description":"Unknown IO ID 45"} 
[2026-08-11 12:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326819328001,"power":27974,"unknown_87":206,"unknown_83":17920,"ignition":43,"odometer":null,"unknown_45":-5415156314302830592}} 
[2026-08-11 12:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":153501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:52:30] local.INFO: GPS data processed {"connection_id":153501,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:52:30] local.INFO: Acknowledgment sent {"connection_id":153501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:53:06] local.INFO: TCP Data received {"connection_id":153501,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb2c7b8012db4f44005da9bb0003800a226..."} 
[2026-08-11 12:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb2c7b8012db4f44005da9bb0003800a226..."} 
[2026-08-11 12:53:06] local.INFO: Processing buffer {"connection_id":153501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb2c7b8012db4f44005da9bb0003800a226..."} 
[2026-08-11 12:53:06] local.INFO: Packet analysis {"connection_id":153501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb2"} 
[2026-08-11 12:53:06] local.INFO: Extracted packet for processing {"connection_id":153501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb2"} 
[2026-08-11 12:53:06] local.INFO: GPS Element Parsed {"raw_longitude":766833728,"raw_latitude":98212784,"longitude_deg":76.6833728,"latitude_deg":9.8212784,"altitude":56,"angle":162,"satellites":38,"speed":45,"hex_longitude":"2db4f440","hex_latitude":"05da9bb0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326821120001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377537366304227328,"note":"Value kept but may cause issues"} 
[2026-08-11 12:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5409667552258570240,"note":"Value kept but may cause issues"} 
[2026-08-11 12:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786432899000,"timestamp_ms":1786432899000,"timestamp_seconds":1786432899,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb2c7b8"} 
[2026-08-11 12:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 12:53:06] 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-08-11 12: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-08-11 12:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:53: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-08-11 12:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326821120001,"66":27767,"87":206,"83":17920,"24":45,"16":377537366304227328,"45":-5409667552258570240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-11 12:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326821120001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:53:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-11 12:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377537366304227328,"km_value":377537366304227.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5409667552258570240,"description":"Unknown IO ID 45"} 
[2026-08-11 12:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326821120001,"power":27767,"unknown_87":206,"unknown_83":17920,"ignition":45,"odometer":null,"unknown_45":-5409667552258570240}} 
[2026-08-11 12:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":153501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:53:06] local.INFO: GPS data processed {"connection_id":153501,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:53:06] local.INFO: Acknowledgment sent {"connection_id":153501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:53:17] local.INFO: TCP Data received {"connection_id":152549,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:53:17] local.INFO: Processing buffer {"connection_id":152549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:53:17] local.INFO: IMEI packet received {"connection_id":152549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":152549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:53:20] local.INFO: TCP Data received {"connection_id":152549,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:53:20] local.INFO: Processing buffer {"connection_id":152549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:53:20] local.INFO: IMEI packet received {"connection_id":152549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":152549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:53:25] local.INFO: TCP Data received {"connection_id":152549,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:53:25] local.INFO: Processing buffer {"connection_id":152549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:53:25] local.INFO: IMEI packet received {"connection_id":152549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":152549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:53:26] local.INFO: TCP Data received {"connection_id":152549,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb2e6f8012db4fe4005da78e8003900a425..."} 
[2026-08-11 12:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb2e6f8012db4fe4005da78e8003900a425..."} 
[2026-08-11 12:53:26] local.INFO: Processing buffer {"connection_id":152549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb2e6f8012db4fe4005da78e8003900a425..."} 
[2026-08-11 12:53:26] local.INFO: Packet analysis {"connection_id":152549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb2"} 
[2026-08-11 12:53:26] local.INFO: Extracted packet for processing {"connection_id":152549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb2"} 
[2026-08-11 12:53:26] local.INFO: GPS Element Parsed {"raw_longitude":766836288,"raw_latitude":98203880,"longitude_deg":76.6836288,"latitude_deg":9.820388,"altitude":57,"angle":164,"satellites":37,"speed":47,"hex_longitude":"2db4fe40","hex_latitude":"05da78e8","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326822144001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377537817275793408,"note":"Value kept but may cause issues"} 
[2026-08-11 12:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5407626858678472704,"note":"Value kept but may cause issues"} 
[2026-08-11 12:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786432907000,"timestamp_ms":1786432907000,"timestamp_seconds":1786432907,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb2e6f8"} 
[2026-08-11 12:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:53:26] 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-08-11 12: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-08-11 12:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:53:26] 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-08-11 12:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326822144001,"66":27865,"87":206,"83":17920,"24":47,"16":377537817275793408,"45":-5407626858678472704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-11 12:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326822144001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:53:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-11 12:53:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377537817275793408,"km_value":377537817275793.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5407626858678472704,"description":"Unknown IO ID 45"} 
[2026-08-11 12:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326822144001,"power":27865,"unknown_87":206,"unknown_83":17920,"ignition":47,"odometer":null,"unknown_45":-5407626858678472704}} 
[2026-08-11 12:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":152549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:53:26] local.INFO: GPS data processed {"connection_id":152549,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:53:26] local.INFO: Acknowledgment sent {"connection_id":152549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:53:27] local.INFO: TCP Data received {"connection_id":152549,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb30638012db5080005da56e0003b00a427..."} 
[2026-08-11 12:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb30638012db5080005da56e0003b00a427..."} 
[2026-08-11 12:53:27] local.INFO: Processing buffer {"connection_id":152549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb30638012db5080005da56e0003b00a427..."} 
[2026-08-11 12:53:27] local.INFO: Packet analysis {"connection_id":152549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb3"} 
[2026-08-11 12:53:27] local.INFO: Extracted packet for processing {"connection_id":152549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb3"} 
[2026-08-11 12:53:27] local.INFO: GPS Element Parsed {"raw_longitude":766838784,"raw_latitude":98195168,"longitude_deg":76.6838784,"latitude_deg":9.8195168,"altitude":59,"angle":164,"satellites":39,"speed":42,"hex_longitude":"2db50800","hex_latitude":"05da56e0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326824192001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377538255362457600,"note":"Value kept but may cause issues"} 
[2026-08-11 12:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5404812108913645568,"note":"Value kept but may cause issues"} 
[2026-08-11 12:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786432915000,"timestamp_ms":1786432915000,"timestamp_seconds":1786432915,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb30638"} 
[2026-08-11 12:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 12:53:27] 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-08-11 12: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-08-11 12:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:53:27] 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-08-11 12:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326824192001,"66":27767,"87":206,"83":17920,"24":42,"16":377538255362457600,"45":-5404812108913645568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-11 12:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326824192001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:53:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-11 12:53:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377538255362457600,"km_value":377538255362457.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5404812108913645568,"description":"Unknown IO ID 45"} 
[2026-08-11 12:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326824192001,"power":27767,"unknown_87":206,"unknown_83":17920,"ignition":42,"odometer":null,"unknown_45":-5404812108913645568}} 
[2026-08-11 12:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":152549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:53:27] local.INFO: GPS data processed {"connection_id":152549,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:53:27] local.INFO: Acknowledgment sent {"connection_id":152549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:54:00] local.INFO: TCP Data received {"connection_id":152549,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb32578012db50e4005da3458003a00aa27..."} 
[2026-08-11 12:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb32578012db50e4005da3458003a00aa27..."} 
[2026-08-11 12:54:01] local.INFO: Processing buffer {"connection_id":152549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb32578012db50e4005da3458003a00aa27..."} 
[2026-08-11 12:54:01] local.INFO: Packet analysis {"connection_id":152549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb3"} 
[2026-08-11 12:54:01] local.INFO: Extracted packet for processing {"connection_id":152549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb3"} 
[2026-08-11 12:54:01] local.INFO: GPS Element Parsed {"raw_longitude":766840384,"raw_latitude":98186328,"longitude_deg":76.6840384,"latitude_deg":9.8186328,"altitude":58,"angle":170,"satellites":39,"speed":47,"hex_longitude":"2db50e40","hex_latitude":"05da3458","is_valid_coordinates":true} 
[2026-08-11 12:54: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-08-11 12:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326826240001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377538689154154496,"note":"Value kept but may cause issues"} 
[2026-08-11 12:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5402067727892946944,"note":"Value kept but may cause issues"} 
[2026-08-11 12:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786432923000,"timestamp_ms":1786432923000,"timestamp_seconds":1786432923,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb32578"} 
[2026-08-11 12:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:54: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 12:54:01] 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-08-11 12:54: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-08-11 12:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:54:01] 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-08-11 12:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326826240001,"66":27745,"87":206,"83":17920,"24":47,"16":377538689154154496,"45":-5402067727892946944},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-11 12:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326826240001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:54:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-11 12:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377538689154154496,"km_value":377538689154154.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5402067727892946944,"description":"Unknown IO ID 45"} 
[2026-08-11 12:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326826240001,"power":27745,"unknown_87":206,"unknown_83":17920,"ignition":47,"odometer":null,"unknown_45":-5402067727892946944}} 
[2026-08-11 12:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":152549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:54:01] local.INFO: GPS data processed {"connection_id":152549,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:54:01] local.INFO: Acknowledgment sent {"connection_id":152549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:54:16] local.INFO: TCP Data received {"connection_id":152173,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:54:16] local.INFO: Processing buffer {"connection_id":152173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:54:16] local.INFO: IMEI packet received {"connection_id":152173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":152173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:54:20] local.INFO: TCP Data received {"connection_id":152173,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:54:20] local.INFO: Processing buffer {"connection_id":152173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:54:20] local.INFO: IMEI packet received {"connection_id":152173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":152173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:54:24] local.INFO: TCP Data received {"connection_id":152173,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:54:24] local.INFO: Processing buffer {"connection_id":152173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:54:24] local.INFO: IMEI packet received {"connection_id":152173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":152173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:54:25] local.INFO: TCP Data received {"connection_id":152173,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb461e0012db5a00005d8d2d0003700a024..."} 
[2026-08-11 12:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb461e0012db5a00005d8d2d0003700a024..."} 
[2026-08-11 12:54:25] local.INFO: Processing buffer {"connection_id":152173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb461e0012db5a00005d8d2d0003700a024..."} 
[2026-08-11 12:54:25] local.INFO: Packet analysis {"connection_id":152173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb4"} 
[2026-08-11 12:54:25] local.INFO: Extracted packet for processing {"connection_id":152173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb4"} 
[2026-08-11 12:54:25] local.INFO: GPS Element Parsed {"raw_longitude":766877696,"raw_latitude":98095824,"longitude_deg":76.6877696,"latitude_deg":9.8095824,"altitude":55,"angle":160,"satellites":36,"speed":42,"hex_longitude":"2db5a000","hex_latitude":"05d8d2d0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326847232001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377543495222558720,"note":"Value kept but may cause issues"} 
[2026-08-11 12:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5362661231177109504,"note":"Value kept but may cause issues"} 
[2026-08-11 12:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786433004000,"timestamp_ms":1786433004000,"timestamp_seconds":1786433004,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb461e0"} 
[2026-08-11 12:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-11 12:54:25] 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-08-11 12: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-08-11 12:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:54:25] 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-08-11 12:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326847232001,"66":27821,"226":206,"83":17920,"24":42,"16":377543495222558720,"45":-5362661231177109504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 12:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326847232001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:54:25] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 12:54:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377543495222558720,"km_value":377543495222558.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5362661231177109504,"description":"Unknown IO ID 45"} 
[2026-08-11 12:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326847232001,"power":27821,"unknown_226":206,"unknown_83":17920,"ignition":42,"odometer":null,"unknown_45":-5362661231177109504}} 
[2026-08-11 12:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":152173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:54:25] local.INFO: GPS data processed {"connection_id":152173,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:54:25] local.INFO: Acknowledgment sent {"connection_id":152173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:54:40] local.INFO: TCP Data received {"connection_id":154876,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:54:40] local.INFO: Processing buffer {"connection_id":154876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:54:40] local.INFO: IMEI packet received {"connection_id":154876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":154876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:54:45] local.INFO: TCP Data received {"connection_id":154876,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:54:45] local.INFO: Processing buffer {"connection_id":154876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:54:45] local.INFO: IMEI packet received {"connection_id":154876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":154876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:54:46] local.INFO: TCP Data received {"connection_id":154876,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb3e4e0012d1a28800723b6f0002b003927..."} 
[2026-08-11 12:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb3e4e0012d1a28800723b6f0002b003927..."} 
[2026-08-11 12:54:46] local.INFO: Processing buffer {"connection_id":154876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb3e4e0012d1a28800723b6f0002b003927..."} 
[2026-08-11 12:54:46] local.INFO: Packet analysis {"connection_id":154876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb3"} 
[2026-08-11 12:54:46] local.INFO: Extracted packet for processing {"connection_id":154876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb3"} 
[2026-08-11 12:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756689024,"raw_latitude":119781104,"longitude_deg":75.6689024,"latitude_deg":11.9781104,"altitude":43,"angle":57,"satellites":39,"speed":31,"hex_longitude":"2d1a2880","hex_latitude":"0723b6f0","is_valid_coordinates":true} 
[2026-08-11 12:54: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-08-11 12:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326839552001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11567399195115520,"note":"Value kept but may cause issues"} 
[2026-08-11 12:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880745456299907072,"note":"Value kept but may cause issues"} 
[2026-08-11 12:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786432972000,"timestamp_ms":1786432972000,"timestamp_seconds":1786432972,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb3e4e0"} 
[2026-08-11 12:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:54:46] 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-08-11 12:54: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":218,"data_length":795,"current_offset":136} 
[2026-08-11 12:54:46] 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-08-11 12:54: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-08-11 12:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326839552001,"66":14428,"42":206,"83":42752,"24":31,"16":11567399195115520,"45":1880745456299907072},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-11 12:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326839552001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:54:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-11 12:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 12:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11567399195115520,"km_value":11567399195115.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880745456299907072,"description":"Unknown IO ID 45"} 
[2026-08-11 12:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326839552001,"power":14428,"unknown_42":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1880745456299907072}} 
[2026-08-11 12:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":154876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:54:46] local.INFO: GPS data processed {"connection_id":154876,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:54:46] local.INFO: Acknowledgment sent {"connection_id":154876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:54:56] local.INFO: TCP Data received {"connection_id":152173,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb47950012db5ab0005d8bab00034009423..."} 
[2026-08-11 12:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb47950012db5ab0005d8bab00034009423..."} 
[2026-08-11 12:54:56] local.INFO: Processing buffer {"connection_id":152173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb47950012db5ab0005d8bab00034009423..."} 
[2026-08-11 12:54:56] local.INFO: Packet analysis {"connection_id":152173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb4"} 
[2026-08-11 12:54:56] local.INFO: Extracted packet for processing {"connection_id":152173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb4"} 
[2026-08-11 12:54:56] local.INFO: GPS Element Parsed {"raw_longitude":766880512,"raw_latitude":98089648,"longitude_deg":76.6880512,"latitude_deg":9.8089648,"altitude":52,"angle":148,"satellites":35,"speed":47,"hex_longitude":"2db5ab00","hex_latitude":"05d8bab0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 12:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326849024001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377543821640073216,"note":"Value kept but may cause issues"} 
[2026-08-11 12:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5359283531458359296,"note":"Value kept but may cause issues"} 
[2026-08-11 12:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786433010000,"timestamp_ms":1786433010000,"timestamp_seconds":1786433010,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb47950"} 
[2026-08-11 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-08-11 12:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 12:54:56] 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-08-11 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-08-11 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-08-11 12:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:54:56] 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-08-11 12:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326849024001,"66":27745,"226":206,"83":17920,"24":47,"16":377543821640073216,"45":-5359283531458359296},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 12:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326849024001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:54:56] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 12:54:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377543821640073216,"km_value":377543821640073.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5359283531458359296,"description":"Unknown IO ID 45"} 
[2026-08-11 12:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326849024001,"power":27745,"unknown_226":206,"unknown_83":17920,"ignition":47,"odometer":null,"unknown_45":-5359283531458359296}} 
[2026-08-11 12:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":152173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:54:56] local.INFO: GPS data processed {"connection_id":152173,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:54:56] local.INFO: Acknowledgment sent {"connection_id":152173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:55:10] local.INFO: TCP Data received {"connection_id":152174,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:55:10] local.INFO: Processing buffer {"connection_id":152174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:55:10] local.INFO: IMEI packet received {"connection_id":152174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":152174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:55:15] local.INFO: TCP Data received {"connection_id":152174,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:55:15] local.INFO: Processing buffer {"connection_id":152174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:55:15] local.INFO: IMEI packet received {"connection_id":152174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":152174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:55:17] local.INFO: TCP Data received {"connection_id":152174,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb3fc50012d1a35c00723c1e0002c002d28..."} 
[2026-08-11 12:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb3fc50012d1a35c00723c1e0002c002d28..."} 
[2026-08-11 12:55:17] local.INFO: Processing buffer {"connection_id":152174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb3fc50012d1a35c00723c1e0002c002d28..."} 
[2026-08-11 12:55:17] local.INFO: Packet analysis {"connection_id":152174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb3"} 
[2026-08-11 12:55:17] local.INFO: Extracted packet for processing {"connection_id":152174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb3"} 
[2026-08-11 12:55:17] local.INFO: GPS Element Parsed {"raw_longitude":756692416,"raw_latitude":119783904,"longitude_deg":75.6692416,"latitude_deg":11.9783904,"altitude":44,"angle":45,"satellites":40,"speed":26,"hex_longitude":"2d1a35c0","hex_latitude":"0723c1e0","is_valid_coordinates":true} 
[2026-08-11 12:55: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-08-11 12:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326840832001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11567613943480320,"note":"Value kept but may cause issues"} 
[2026-08-11 12:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884897212206870528,"note":"Value kept but may cause issues"} 
[2026-08-11 12:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786432978000,"timestamp_ms":1786432978000,"timestamp_seconds":1786432978,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb3fc50"} 
[2026-08-11 12:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:55:17] 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-08-11 12:55: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 12:55:17] 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-08-11 12:55: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-08-11 12:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326840832001,"66":14265,"42":206,"83":42752,"24":26,"16":11567613943480320,"45":1884897212206870528},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-11 12:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326840832001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:55:17] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-11 12:55:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 12:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11567613943480320,"km_value":11567613943480.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884897212206870528,"description":"Unknown IO ID 45"} 
[2026-08-11 12:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326840832001,"power":14265,"unknown_42":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1884897212206870528}} 
[2026-08-11 12:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":152174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:55:17] local.INFO: GPS data processed {"connection_id":152174,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:55:17] local.INFO: Acknowledgment sent {"connection_id":152174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:55:19] local.INFO: TCP Data received {"connection_id":154877,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:55:19] local.INFO: Processing buffer {"connection_id":154877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:55:19] local.INFO: IMEI packet received {"connection_id":154877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":154877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:55:22] local.INFO: TCP Data received {"connection_id":154877,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:55:22] local.INFO: Processing buffer {"connection_id":154877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:55:22] local.INFO: IMEI packet received {"connection_id":154877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":154877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:55:22] local.INFO: TCP Data received {"connection_id":154877,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb49890012db5c14005d89c800032009126..."} 
[2026-08-11 12:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb49890012db5c14005d89c800032009126..."} 
[2026-08-11 12:55:22] local.INFO: Processing buffer {"connection_id":154877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb49890012db5c14005d89c800032009126..."} 
[2026-08-11 12:55:22] local.INFO: Packet analysis {"connection_id":154877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb4"} 
[2026-08-11 12:55:22] local.INFO: Extracted packet for processing {"connection_id":154877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb4"} 
[2026-08-11 12:55:22] local.INFO: GPS Element Parsed {"raw_longitude":766886208,"raw_latitude":98081920,"longitude_deg":76.6886208,"latitude_deg":9.808192,"altitude":50,"angle":145,"satellites":38,"speed":45,"hex_longitude":"2db5c140","hex_latitude":"05d89c80","is_valid_coordinates":true} 
[2026-08-11 12:55: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-08-11 12:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326850560001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377544285496541184,"note":"Value kept but may cause issues"} 
[2026-08-11 12:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5356187306716123136,"note":"Value kept but may cause issues"} 
[2026-08-11 12:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786433018000,"timestamp_ms":1786433018000,"timestamp_seconds":1786433018,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb49890"} 
[2026-08-11 12:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:55: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 12:55:22] 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-08-11 12:55: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-08-11 12:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":154877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":154877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":154877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:55:22] 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-08-11 12:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326850560001,"66":27800,"226":206,"83":17920,"24":45,"16":377544285496541184,"45":-5356187306716123136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 12:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326850560001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:55:22] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 12:55:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377544285496541184,"km_value":377544285496541.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5356187306716123136,"description":"Unknown IO ID 45"} 
[2026-08-11 12:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326850560001,"power":27800,"unknown_226":206,"unknown_83":17920,"ignition":45,"odometer":null,"unknown_45":-5356187306716123136}} 
[2026-08-11 12:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":154877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:55:22] local.INFO: GPS data processed {"connection_id":154877,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:55:22] local.INFO: Acknowledgment sent {"connection_id":154877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:55:49] local.INFO: TCP Data received {"connection_id":152174,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb42748012d1a44000723d318002d001f29..."} 
[2026-08-11 12:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb42748012d1a44000723d318002d001f29..."} 
[2026-08-11 12:55:49] local.INFO: Processing buffer {"connection_id":152174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb42748012d1a44000723d318002d001f29..."} 
[2026-08-11 12:55:49] local.INFO: Packet analysis {"connection_id":152174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb4"} 
[2026-08-11 12:55:49] local.INFO: Extracted packet for processing {"connection_id":152174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb4"} 
[2026-08-11 12:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756696064,"raw_latitude":119788312,"longitude_deg":75.6696064,"latitude_deg":11.9788312,"altitude":45,"angle":31,"satellites":41,"speed":25,"hex_longitude":"2d1a4400","hex_latitude":"0723d318","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326842368001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11567888821387264,"note":"Value kept but may cause issues"} 
[2026-08-11 12:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888626755649003520,"note":"Value kept but may cause issues"} 
[2026-08-11 12:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786432989000,"timestamp_ms":1786432989000,"timestamp_seconds":1786432989,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb42748"} 
[2026-08-11 12:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:55:49] 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-08-11 12: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 12:55: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-08-11 12: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-08-11 12:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326842368001,"66":14428,"97":206,"187":32768,"24":25,"16":11567888821387264,"45":1888626755649003520},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,187,24,16,45]} 
[2026-08-11 12:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326842368001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:55:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 12:55:49] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-08-11 12:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11567888821387264,"km_value":11567888821387.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888626755649003520,"description":"Unknown IO ID 45"} 
[2026-08-11 12:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326842368001,"power":14428,"unknown_97":206,"unknown_187":32768,"ignition":25,"odometer":null,"unknown_45":1888626755649003520}} 
[2026-08-11 12:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":152174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:55:49] local.INFO: GPS data processed {"connection_id":152174,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:55:49] local.INFO: Acknowledgment sent {"connection_id":152174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:55:53] local.INFO: TCP Data received {"connection_id":154877,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb5d4f8012db60f4005d73cd0002b00b422..."} 
[2026-08-11 12:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb5d4f8012db60f4005d73cd0002b00b422..."} 
[2026-08-11 12:55:53] local.INFO: Processing buffer {"connection_id":154877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb5d4f8012db60f4005d73cd0002b00b422..."} 
[2026-08-11 12:55:53] local.INFO: Packet analysis {"connection_id":154877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb5"} 
[2026-08-11 12:55:53] local.INFO: Extracted packet for processing {"connection_id":154877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb5"} 
[2026-08-11 12:55:53] local.INFO: GPS Element Parsed {"raw_longitude":766906176,"raw_latitude":97991888,"longitude_deg":76.6906176,"latitude_deg":9.7991888,"altitude":43,"angle":180,"satellites":34,"speed":46,"hex_longitude":"2db60f40","hex_latitude":"05d73cd0","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326871296001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377548808097103872,"note":"Value kept but may cause issues"} 
[2026-08-11 12:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5327828702835083264,"note":"Value kept but may cause issues"} 
[2026-08-11 12:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786433099000,"timestamp_ms":1786433099000,"timestamp_seconds":1786433099,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb5d4f8"} 
[2026-08-11 12:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 12:55:53] 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-08-11 12: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-08-11 12:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:55:53] 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-08-11 12:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326871296001,"66":27876,"225":206,"83":17920,"24":46,"16":377548808097103872,"45":-5327828702835083264},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-08-11 12:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326871296001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:55:53] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-11 12:55:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377548808097103872,"km_value":377548808097103.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5327828702835083264,"description":"Unknown IO ID 45"} 
[2026-08-11 12:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326871296001,"power":27876,"unknown_225":206,"unknown_83":17920,"ignition":46,"odometer":null,"unknown_45":-5327828702835083264}} 
[2026-08-11 12:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":154877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:55:53] local.INFO: GPS data processed {"connection_id":154877,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:55:53] local.INFO: Acknowledgment sent {"connection_id":154877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:56:11] local.INFO: TCP Data received {"connection_id":153502,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:56:11] local.INFO: Processing buffer {"connection_id":153502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:56:11] local.INFO: IMEI packet received {"connection_id":153502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":153502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:56:11] local.INFO: TCP Data received {"connection_id":153502,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:56:11] local.INFO: Processing buffer {"connection_id":153502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:56:11] local.INFO: IMEI packet received {"connection_id":153502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":153502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:56:16] local.INFO: TCP Data received {"connection_id":153502,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:56:16] local.INFO: Processing buffer {"connection_id":153502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:56:16] local.INFO: IMEI packet received {"connection_id":153502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":153502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:56:17] local.INFO: TCP Data received {"connection_id":153502,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb5e498012d1b228007249628002a003426..."} 
[2026-08-11 12:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb5e498012d1b228007249628002a003426..."} 
[2026-08-11 12:56:17] local.INFO: Processing buffer {"connection_id":153502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb5e498012d1b228007249628002a003426..."} 
[2026-08-11 12:56:17] local.INFO: Packet analysis {"connection_id":153502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb5"} 
[2026-08-11 12:56:17] local.INFO: Extracted packet for processing {"connection_id":153502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb5"} 
[2026-08-11 12:56:17] local.INFO: GPS Element Parsed {"raw_longitude":756753024,"raw_latitude":119838248,"longitude_deg":75.6753024,"latitude_deg":11.9838248,"altitude":42,"angle":52,"satellites":38,"speed":22,"hex_longitude":"2d1b2280","hex_latitude":"07249628","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326871040001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11571616853000192,"note":"Value kept but may cause issues"} 
[2026-08-11 12:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948862400677683200,"note":"Value kept but may cause issues"} 
[2026-08-11 12:56:17] 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-08-11 12:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786433103000,"timestamp_ms":1786433103000,"timestamp_seconds":1786433103,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb5e498"} 
[2026-08-11 12:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:56:17] 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-08-11 12: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 12:56:17] 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-08-11 12: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-08-11 12:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326871040001,"66":14428,"91":206,"28":31744,"24":22,"16":11571616853000192,"45":1948862400677683200},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-11 12:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326871040001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:56:17] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-11 12:56:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 12:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11571616853000192,"km_value":11571616853000.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948862400677683200,"description":"Unknown IO ID 45"} 
[2026-08-11 12:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326871040001,"power":14428,"unknown_91":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1948862400677683200}} 
[2026-08-11 12:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":153502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:56:17] local.INFO: GPS data processed {"connection_id":153502,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:56:17] local.INFO: Acknowledgment sent {"connection_id":153502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:56:20] local.INFO: TCP Data received {"connection_id":153503,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:56:20] local.INFO: Processing buffer {"connection_id":153503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:56:20] local.INFO: IMEI packet received {"connection_id":153503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":153503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:56:20] local.INFO: TCP Data received {"connection_id":153503,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:56:20] local.INFO: Processing buffer {"connection_id":153503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:56:20] local.INFO: IMEI packet received {"connection_id":153503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":153503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:56:25] local.INFO: TCP Data received {"connection_id":153503,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:56:25] local.INFO: Processing buffer {"connection_id":153503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:56:25] local.INFO: IMEI packet received {"connection_id":153503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":153503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:56:26] local.INFO: TCP Data received {"connection_id":153503,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb5ec68012db60bc005d72258002b00bf24..."} 
[2026-08-11 12:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb5ec68012db60bc005d72258002b00bf24..."} 
[2026-08-11 12:56:26] local.INFO: Processing buffer {"connection_id":153503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb5ec68012db60bc005d72258002b00bf24..."} 
[2026-08-11 12:56:26] local.INFO: Packet analysis {"connection_id":153503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb5"} 
[2026-08-11 12:56:26] local.INFO: Extracted packet for processing {"connection_id":153503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb5"} 
[2026-08-11 12:56:26] local.INFO: GPS Element Parsed {"raw_longitude":766905280,"raw_latitude":97985112,"longitude_deg":76.690528,"latitude_deg":9.7985112,"altitude":43,"angle":191,"satellites":36,"speed":44,"hex_longitude":"2db60bc0","hex_latitude":"05d72258","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326873344001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377549138809585664,"note":"Value kept but may cause issues"} 
[2026-08-11 12:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5327969440325906432,"note":"Value kept but may cause issues"} 
[2026-08-11 12:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786433105000,"timestamp_ms":1786433105000,"timestamp_seconds":1786433105,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb5ec68"} 
[2026-08-11 12:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 12:56:26] 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-08-11 12: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-08-11 12:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:56:26] 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-08-11 12:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326873344001,"66":26908,"225":206,"83":17920,"24":44,"16":377549138809585664,"45":-5327969440325906432},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-08-11 12:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326873344001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:56:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-11 12:56:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377549138809585664,"km_value":377549138809585.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5327969440325906432,"description":"Unknown IO ID 45"} 
[2026-08-11 12:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326873344001,"power":26908,"unknown_225":206,"unknown_83":17920,"ignition":44,"odometer":null,"unknown_45":-5327969440325906432}} 
[2026-08-11 12:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":153503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:56:26] local.INFO: GPS data processed {"connection_id":153503,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:56:26] local.INFO: Acknowledgment sent {"connection_id":153503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:56:48] local.INFO: TCP Data received {"connection_id":153502,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb62318012d1b3fc00724a9d00022003524..."} 
[2026-08-11 12:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb62318012d1b3fc00724a9d00022003524..."} 
[2026-08-11 12:56:48] local.INFO: Processing buffer {"connection_id":153502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb62318012d1b3fc00724a9d00022003524..."} 
[2026-08-11 12:56:48] local.INFO: Packet analysis {"connection_id":153502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb6"} 
[2026-08-11 12:56:48] local.INFO: Extracted packet for processing {"connection_id":153502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb6"} 
[2026-08-11 12:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756760512,"raw_latitude":119843280,"longitude_deg":75.6760512,"latitude_deg":11.984328,"altitude":34,"angle":53,"satellites":36,"speed":24,"hex_longitude":"2d1b3fc0","hex_latitude":"0724a9d0","is_valid_coordinates":true} 
[2026-08-11 12:56: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-08-11 12:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326874368001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11572050644697088,"note":"Value kept but may cause issues"} 
[2026-08-11 12:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955265956399163392,"note":"Value kept but may cause issues"} 
[2026-08-11 12:56:48] 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-08-11 12:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786433119000,"timestamp_ms":1786433119000,"timestamp_seconds":1786433119,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb62318"} 
[2026-08-11 12:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:56:48] 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-08-11 12:56: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 12:56:48] 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-08-11 12:56: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-08-11 12:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326874368001,"66":13820,"91":206,"28":31744,"24":24,"16":11572050644697088,"45":1955265956399163392},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-11 12:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326874368001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:56:48] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-11 12:56:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 12:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11572050644697088,"km_value":11572050644697.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955265956399163392,"description":"Unknown IO ID 45"} 
[2026-08-11 12:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326874368001,"power":13820,"unknown_91":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1955265956399163392}} 
[2026-08-11 12:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":153502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:56:49] local.INFO: GPS data processed {"connection_id":153502,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:56:49] local.INFO: Acknowledgment sent {"connection_id":153502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:56:57] local.INFO: TCP Data received {"connection_id":153503,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb6cb10012db5af0005d67288003200ab25..."} 
[2026-08-11 12:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb6cb10012db5af0005d67288003200ab25..."} 
[2026-08-11 12:56:57] local.INFO: Processing buffer {"connection_id":153503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb6cb10012db5af0005d67288003200ab25..."} 
[2026-08-11 12:56:57] local.INFO: Packet analysis {"connection_id":153503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb6"} 
[2026-08-11 12:56:57] local.INFO: Extracted packet for processing {"connection_id":153503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb6"} 
[2026-08-11 12:56:57] local.INFO: GPS Element Parsed {"raw_longitude":766881536,"raw_latitude":97940104,"longitude_deg":76.6881536,"latitude_deg":9.7940104,"altitude":50,"angle":171,"satellites":37,"speed":44,"hex_longitude":"2db5af00","hex_latitude":"05d67288","is_valid_coordinates":true} 
[2026-08-11 12:56: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-08-11 12:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326888704001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377551814574211072,"note":"Value kept but may cause issues"} 
[2026-08-11 12:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5355131775590907904,"note":"Value kept but may cause issues"} 
[2026-08-11 12:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786433162000,"timestamp_ms":1786433162000,"timestamp_seconds":1786433162,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb6cb10"} 
[2026-08-11 12:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:56: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":217,"data_length":795,"current_offset":136} 
[2026-08-11 12:56:57] 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-08-11 12:56: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-08-11 12:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:56:57] 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-08-11 12:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326888704001,"66":27995,"225":206,"83":17920,"24":44,"16":377551814574211072,"45":-5355131775590907904},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-08-11 12:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326888704001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:56:57] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-11 12:56:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377551814574211072,"km_value":377551814574211.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5355131775590907904,"description":"Unknown IO ID 45"} 
[2026-08-11 12:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326888704001,"power":27995,"unknown_225":206,"unknown_83":17920,"ignition":44,"odometer":null,"unknown_45":-5355131775590907904}} 
[2026-08-11 12:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":153503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:56:57] local.INFO: GPS data processed {"connection_id":153503,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:56:57] local.INFO: Acknowledgment sent {"connection_id":153503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:57:15] local.INFO: TCP Data received {"connection_id":152550,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:57:15] local.INFO: Processing buffer {"connection_id":152550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:57:15] local.INFO: IMEI packet received {"connection_id":152550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":152550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:57:19] local.INFO: TCP Data received {"connection_id":154878,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:57:19] local.INFO: Processing buffer {"connection_id":154878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:57:19] local.INFO: IMEI packet received {"connection_id":154878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":154878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:57:21] local.INFO: TCP Data received {"connection_id":152550,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:57:21] local.INFO: Processing buffer {"connection_id":152550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:57:21] local.INFO: IMEI packet received {"connection_id":152550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":152550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:57:22] local.INFO: TCP Data received {"connection_id":152550,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb64258012d1b4f800724b788001f002a22..."} 
[2026-08-11 12:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb64258012d1b4f800724b788001f002a22..."} 
[2026-08-11 12:57:22] local.INFO: Processing buffer {"connection_id":152550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb64258012d1b4f800724b788001f002a22..."} 
[2026-08-11 12:57:22] local.INFO: Packet analysis {"connection_id":152550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb6"} 
[2026-08-11 12:57:22] local.INFO: Extracted packet for processing {"connection_id":152550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb6"} 
[2026-08-11 12:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119846792,"longitude_deg":75.6764544,"latitude_deg":11.9846792,"altitude":31,"angle":42,"satellites":34,"speed":23,"hex_longitude":"2d1b4f80","hex_latitude":"0724b788","is_valid_coordinates":true} 
[2026-08-11 12:57: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-08-11 12:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326878464001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11572304047767552,"note":"Value kept but may cause issues"} 
[2026-08-11 12:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963499099469238272,"note":"Value kept but may cause issues"} 
[2026-08-11 12:57:22] 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-08-11 12:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786433127000,"timestamp_ms":1786433127000,"timestamp_seconds":1786433127,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb64258"} 
[2026-08-11 12:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:57:22] 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-08-11 12:57: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":252,"data_length":795,"current_offset":136} 
[2026-08-11 12:57:22] 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-08-11 12:57: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-08-11 12:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326878464001,"66":13993,"91":206,"28":31744,"24":23,"16":11572304047767552,"45":1963499099469238272},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-11 12:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326878464001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:57:22] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-11 12:57:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 12:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11572304047767552,"km_value":11572304047767.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963499099469238272,"description":"Unknown IO ID 45"} 
[2026-08-11 12:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326878464001,"power":13993,"unknown_91":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1963499099469238272}} 
[2026-08-11 12:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":152550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:57:22] local.INFO: GPS data processed {"connection_id":152550,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:57:22] local.INFO: Acknowledgment sent {"connection_id":152550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:57:25] local.INFO: TCP Data received {"connection_id":154878,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:57:25] local.INFO: Processing buffer {"connection_id":154878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:57:25] local.INFO: IMEI packet received {"connection_id":154878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":154878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:57:25] local.INFO: TCP Data received {"connection_id":152550,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb64a28012d1b52000724bb10001e001e23..."} 
[2026-08-11 12:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb64a28012d1b52000724bb10001e001e23..."} 
[2026-08-11 12:57:25] local.INFO: Processing buffer {"connection_id":152550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb64a28012d1b52000724bb10001e001e23..."} 
[2026-08-11 12:57:25] local.INFO: Packet analysis {"connection_id":152550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb6"} 
[2026-08-11 12:57:25] local.INFO: Extracted packet for processing {"connection_id":152550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb6"} 
[2026-08-11 12:57:25] local.INFO: GPS Element Parsed {"raw_longitude":756765184,"raw_latitude":119847696,"longitude_deg":75.6765184,"latitude_deg":11.9847696,"altitude":30,"angle":30,"satellites":35,"speed":23,"hex_longitude":"2d1b5200","hex_latitude":"0724bb10","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326880512001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11572359882342400,"note":"Value kept but may cause issues"} 
[2026-08-11 12:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330353330176,"note":"Value kept but may cause issues"} 
[2026-08-11 12:57:25] 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-08-11 12:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786433129000,"timestamp_ms":1786433129000,"timestamp_seconds":1786433129,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb64a28"} 
[2026-08-11 12:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:57:25] 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-08-11 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-11 12:57: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-08-11 12: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-08-11 12:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326880512001,"66":13928,"91":206,"28":31744,"24":23,"16":11572359882342400,"45":1967932330353330176},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-11 12:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326880512001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:57:25] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-11 12:57:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 12:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11572359882342400,"km_value":11572359882342.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330353330176,"description":"Unknown IO ID 45"} 
[2026-08-11 12:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326880512001,"power":13928,"unknown_91":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1967932330353330176}} 
[2026-08-11 12:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":152550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:57:25] local.INFO: GPS data processed {"connection_id":152550,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:57:25] local.INFO: Acknowledgment sent {"connection_id":152550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:57:26] local.INFO: TCP Data received {"connection_id":154878,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb6ea50012db5b5c005d64e30002f00a925..."} 
[2026-08-11 12:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb6ea50012db5b5c005d64e30002f00a925..."} 
[2026-08-11 12:57:26] local.INFO: Processing buffer {"connection_id":154878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb6ea50012db5b5c005d64e30002f00a925..."} 
[2026-08-11 12:57:26] local.INFO: Packet analysis {"connection_id":154878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb6"} 
[2026-08-11 12:57:26] local.INFO: Extracted packet for processing {"connection_id":154878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb6"} 
[2026-08-11 12:57:26] local.INFO: GPS Element Parsed {"raw_longitude":766883264,"raw_latitude":97930800,"longitude_deg":76.6883264,"latitude_deg":9.79308,"altitude":47,"angle":169,"satellites":37,"speed":49,"hex_longitude":"2db5b5c0","hex_latitude":"05d64e30","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326889472001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377552269840744448,"note":"Value kept but may cause issues"} 
[2026-08-11 12:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5355061406847563776,"note":"Value kept but may cause issues"} 
[2026-08-11 12:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786433170000,"timestamp_ms":1786433170000,"timestamp_seconds":1786433170,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb6ea50"} 
[2026-08-11 12:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 12:57:26] 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-08-11 12: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-08-11 12:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:57:26] 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-08-11 12:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326889472001,"66":27984,"225":206,"83":17920,"24":49,"16":377552269840744448,"45":-5355061406847563776},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-08-11 12:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326889472001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:57:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-11 12:57:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377552269840744448,"km_value":377552269840744.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5355061406847563776,"description":"Unknown IO ID 45"} 
[2026-08-11 12:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326889472001,"power":27984,"unknown_225":206,"unknown_83":17920,"ignition":49,"odometer":null,"unknown_45":-5355061406847563776}} 
[2026-08-11 12:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":154878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:57:26] local.INFO: GPS data processed {"connection_id":154878,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:57:26] local.INFO: Acknowledgment sent {"connection_id":154878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:57:57] local.INFO: TCP Data received {"connection_id":154878,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb705a8012db5ba4005d62b90002e00b025..."} 
[2026-08-11 12:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb705a8012db5ba4005d62b90002e00b025..."} 
[2026-08-11 12:57:57] local.INFO: Processing buffer {"connection_id":154878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb705a8012db5ba4005d62b90002e00b025..."} 
[2026-08-11 12:57:57] local.INFO: Packet analysis {"connection_id":154878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb7"} 
[2026-08-11 12:57:57] local.INFO: Extracted packet for processing {"connection_id":154878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb7"} 
[2026-08-11 12:57:57] local.INFO: GPS Element Parsed {"raw_longitude":766884416,"raw_latitude":97921936,"longitude_deg":76.6884416,"latitude_deg":9.7921936,"altitude":46,"angle":176,"satellites":37,"speed":50,"hex_longitude":"2db5ba40","hex_latitude":"05d62b90","is_valid_coordinates":true} 
[2026-08-11 12:57: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-08-11 12:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326891520001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377552707927408640,"note":"Value kept but may cause issues"} 
[2026-08-11 12:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5353161450757148672,"note":"Value kept but may cause issues"} 
[2026-08-11 12:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786433177000,"timestamp_ms":1786433177000,"timestamp_seconds":1786433177,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb705a8"} 
[2026-08-11 12:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12:57: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 12:57:57] 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-08-11 12:57: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-08-11 12:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:57:57] 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-08-11 12:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326891520001,"66":27995,"225":206,"83":17920,"24":50,"16":377552707927408640,"45":-5353161450757148672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-08-11 12:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326891520001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:57:57] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-11 12:57:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377552707927408640,"km_value":377552707927408.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5353161450757148672,"description":"Unknown IO ID 45"} 
[2026-08-11 12:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326891520001,"power":27995,"unknown_225":206,"unknown_83":17920,"ignition":50,"odometer":null,"unknown_45":-5353161450757148672}} 
[2026-08-11 12:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":154878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:57:57] local.INFO: GPS data processed {"connection_id":154878,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:57:57] local.INFO: Acknowledgment sent {"connection_id":154878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:58:16] local.INFO: TCP Data received {"connection_id":152175,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:58:16] local.INFO: Processing buffer {"connection_id":152175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:58:16] local.INFO: IMEI packet received {"connection_id":152175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":152175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:58:16] local.INFO: TCP Data received {"connection_id":152175,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:58:16] local.INFO: Processing buffer {"connection_id":152175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:58:16] local.INFO: IMEI packet received {"connection_id":152175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":152175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:58:19] local.INFO: TCP Data received {"connection_id":152175,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:58:19] local.INFO: Processing buffer {"connection_id":152175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:58:19] local.INFO: IMEI packet received {"connection_id":152175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":152175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:58:19] local.INFO: TCP Data received {"connection_id":152176,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:58:19] local.INFO: Processing buffer {"connection_id":152176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:58:19] local.INFO: IMEI packet received {"connection_id":152176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":152176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:58:20] local.INFO: TCP Data received {"connection_id":152176,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:58:20] local.INFO: Processing buffer {"connection_id":152176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:58:20] local.INFO: IMEI packet received {"connection_id":152176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":152176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:58:20] local.INFO: TCP Data received {"connection_id":152175,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb7d898012d1b6a40072562d00021000926..."} 
[2026-08-11 12:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb7d898012d1b6a40072562d00021000926..."} 
[2026-08-11 12:58:20] local.INFO: Processing buffer {"connection_id":152175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb7d898012d1b6a40072562d00021000926..."} 
[2026-08-11 12:58:20] local.INFO: Packet analysis {"connection_id":152175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb7"} 
[2026-08-11 12:58:20] local.INFO: Extracted packet for processing {"connection_id":152175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb7"} 
[2026-08-11 12:58:20] local.INFO: GPS Element Parsed {"raw_longitude":756771392,"raw_latitude":119890640,"longitude_deg":75.6771392,"latitude_deg":11.989064,"altitude":33,"angle":9,"satellites":38,"speed":2,"hex_longitude":"2d1b6a40","hex_latitude":"072562d0","is_valid_coordinates":true} 
[2026-08-11 12:58: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-08-11 12:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326907136001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11574498776055808,"note":"Value kept but may cause issues"} 
[2026-08-11 12:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975461785991565312,"note":"Value kept but may cause issues"} 
[2026-08-11 12:58:20] 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-08-11 12:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786433231000,"timestamp_ms":1786433231000,"timestamp_seconds":1786433231,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb7d898"} 
[2026-08-11 12:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:58:20] 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-08-11 12:58: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 12:58:20] 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-08-11 12:58: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-08-11 12:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326907136001,"66":14461,"92":206,"28":31744,"24":2,"16":11574498776055808,"45":1975461785991565312},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 12:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326907136001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:58:20] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 12:58:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 12:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11574498776055808,"km_value":11574498776055.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975461785991565312,"description":"Unknown IO ID 45"} 
[2026-08-11 12:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326907136001,"power":14461,"unknown_92":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1975461785991565312}} 
[2026-08-11 12:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":152175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:58:20] local.INFO: GPS data processed {"connection_id":152175,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:58:20] local.INFO: Acknowledgment sent {"connection_id":152175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:58:21] local.INFO: TCP Data received {"connection_id":152175,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb7dc80012d1b6a40072563180021001a27..."} 
[2026-08-11 12:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb7dc80012d1b6a40072563180021001a27..."} 
[2026-08-11 12:58:21] local.INFO: Processing buffer {"connection_id":152175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb7dc80012d1b6a40072563180021001a27..."} 
[2026-08-11 12:58:21] local.INFO: Packet analysis {"connection_id":152175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb7"} 
[2026-08-11 12:58:21] local.INFO: Extracted packet for processing {"connection_id":152175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb7"} 
[2026-08-11 12:58:21] local.INFO: GPS Element Parsed {"raw_longitude":756771392,"raw_latitude":119890712,"longitude_deg":75.6771392,"latitude_deg":11.9890712,"altitude":33,"angle":26,"satellites":39,"speed":2,"hex_longitude":"2d1b6a40","hex_latitude":"07256318","is_valid_coordinates":true} 
[2026-08-11 12:58: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-08-11 12:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326907136001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11574498776055808,"note":"Value kept but may cause issues"} 
[2026-08-11 12:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975461785991565312,"note":"Value kept but may cause issues"} 
[2026-08-11 12:58:21] 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-08-11 12:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786433232000,"timestamp_ms":1786433232000,"timestamp_seconds":1786433232,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb7dc80"} 
[2026-08-11 12:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:58:21] 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-08-11 12:58: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 12:58:21] 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-08-11 12:58: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-08-11 12:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326907136001,"66":14407,"92":206,"28":31744,"24":2,"16":11574498776055808,"45":1975461785991565312},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 12:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326907136001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:58:21] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 12:58:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 12:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11574498776055808,"km_value":11574498776055.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975461785991565312,"description":"Unknown IO ID 45"} 
[2026-08-11 12:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326907136001,"power":14407,"unknown_92":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1975461785991565312}} 
[2026-08-11 12:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":152175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:58:21] local.INFO: GPS data processed {"connection_id":152175,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:58:21] local.INFO: Acknowledgment sent {"connection_id":152175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:58:24] local.INFO: TCP Data received {"connection_id":152176,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:58:24] local.INFO: Processing buffer {"connection_id":152176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:58:24] local.INFO: IMEI packet received {"connection_id":152176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":152176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:58:25] local.INFO: TCP Data received {"connection_id":152176,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb724e8012db5bdc005d60448002e00a720..."} 
[2026-08-11 12:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb724e8012db5bdc005d60448002e00a720..."} 
[2026-08-11 12:58:25] local.INFO: Processing buffer {"connection_id":152176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb724e8012db5bdc005d60448002e00a720..."} 
[2026-08-11 12:58:25] local.INFO: Packet analysis {"connection_id":152176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb7"} 
[2026-08-11 12:58:25] local.INFO: Extracted packet for processing {"connection_id":152176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb7"} 
[2026-08-11 12:58:25] local.INFO: GPS Element Parsed {"raw_longitude":766885312,"raw_latitude":97911880,"longitude_deg":76.6885312,"latitude_deg":9.791188,"altitude":46,"angle":167,"satellites":32,"speed":50,"hex_longitude":"2db5bdc0","hex_latitude":"05d60448","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326893312001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377553197553680384,"note":"Value kept but may cause issues"} 
[2026-08-11 12:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5351894813364219904,"note":"Value kept but may cause issues"} 
[2026-08-11 12:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786433185000,"timestamp_ms":1786433185000,"timestamp_seconds":1786433185,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb724e8"} 
[2026-08-11 12:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 12:58:25] 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-08-11 12: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-08-11 12:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:58:25] 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-08-11 12:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326893312001,"66":27908,"225":206,"83":17920,"24":50,"16":377553197553680384,"45":-5351894813364219904},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-08-11 12:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326893312001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:58:25] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-11 12:58:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377553197553680384,"km_value":377553197553680.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5351894813364219904,"description":"Unknown IO ID 45"} 
[2026-08-11 12:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326893312001,"power":27908,"unknown_225":206,"unknown_83":17920,"ignition":50,"odometer":null,"unknown_45":-5351894813364219904}} 
[2026-08-11 12:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":152176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:58:25] local.INFO: GPS data processed {"connection_id":152176,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:58:25] local.INFO: Acknowledgment sent {"connection_id":152176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:58:53] local.INFO: TCP Data received {"connection_id":152175,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb7f008012d1b6bc0072566680020000d27..."} 
[2026-08-11 12:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb7f008012d1b6bc0072566680020000d27..."} 
[2026-08-11 12:58:53] local.INFO: Processing buffer {"connection_id":152175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb7f008012d1b6bc0072566680020000d27..."} 
[2026-08-11 12:58:53] local.INFO: Packet analysis {"connection_id":152175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb7"} 
[2026-08-11 12:58:53] local.INFO: Extracted packet for processing {"connection_id":152175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb7"} 
[2026-08-11 12:58:53] local.INFO: GPS Element Parsed {"raw_longitude":756771776,"raw_latitude":119891560,"longitude_deg":75.6771776,"latitude_deg":11.989156,"altitude":32,"angle":13,"satellites":39,"speed":13,"hex_longitude":"2d1b6bc0","hex_latitude":"07256668","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326907392001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11574546020696064,"note":"Value kept but may cause issues"} 
[2026-08-11 12:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975461785991583744,"note":"Value kept but may cause issues"} 
[2026-08-11 12:58:53] 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-08-11 12:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786433237000,"timestamp_ms":1786433237000,"timestamp_seconds":1786433237,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb7f008"} 
[2026-08-11 12:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:58:53] 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-08-11 12: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 12:58:53] 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-08-11 12: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-08-11 12:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326907392001,"66":14070,"92":206,"28":31744,"24":13,"16":11574546020696064,"45":1975461785991583744},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 12:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326907392001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:58:53] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 12:58:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 12:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11574546020696064,"km_value":11574546020696.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975461785991583744,"description":"Unknown IO ID 45"} 
[2026-08-11 12:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326907392001,"power":14070,"unknown_92":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1975461785991583744}} 
[2026-08-11 12:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":152175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:58:53] local.INFO: GPS data processed {"connection_id":152175,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:58:53] local.INFO: Acknowledgment sent {"connection_id":152175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:58:56] local.INFO: TCP Data received {"connection_id":152176,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb88c48012db6588005d47e48002700a425..."} 
[2026-08-11 12:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb88c48012db6588005d47e48002700a425..."} 
[2026-08-11 12:58:56] local.INFO: Processing buffer {"connection_id":152176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb88c48012db6588005d47e48002700a425..."} 
[2026-08-11 12:58:56] local.INFO: Packet analysis {"connection_id":152176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 12:58:56] local.INFO: Extracted packet for processing {"connection_id":152176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 12:58:56] local.INFO: GPS Element Parsed {"raw_longitude":766924928,"raw_latitude":97812040,"longitude_deg":76.6924928,"latitude_deg":9.781204,"altitude":39,"angle":164,"satellites":37,"speed":47,"hex_longitude":"2db65880","hex_latitude":"05d47e48","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326916864001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377558420233912320,"note":"Value kept but may cause issues"} 
[2026-08-11 12:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5310236516836775936,"note":"Value kept but may cause issues"} 
[2026-08-11 12:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786433277000,"timestamp_ms":1786433277000,"timestamp_seconds":1786433277,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb88c48"} 
[2026-08-11 12:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 12:58:56] 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-08-11 12: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-08-11 12:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:58:56] 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-08-11 12:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326916864001,"66":27865,"192":206,"83":17920,"24":47,"16":377558420233912320,"45":-5310236516836775936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,45]} 
[2026-08-11 12:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326916864001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:58:56] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-11 12:58:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377558420233912320,"km_value":377558420233912.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5310236516836775936,"description":"Unknown IO ID 45"} 
[2026-08-11 12:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326916864001,"power":27865,"unknown_192":206,"unknown_83":17920,"ignition":47,"odometer":null,"unknown_45":-5310236516836775936}} 
[2026-08-11 12:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":152176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:58:56] local.INFO: GPS data processed {"connection_id":152176,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:58:56] local.INFO: Acknowledgment sent {"connection_id":152176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:59:11] local.INFO: TCP Data received {"connection_id":154879,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:59:11] local.INFO: Processing buffer {"connection_id":154879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:59:11] local.INFO: IMEI packet received {"connection_id":154879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 12:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":154879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:59:16] local.INFO: TCP Data received {"connection_id":154879,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:59:16] local.INFO: Processing buffer {"connection_id":154879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 12:59:16] local.INFO: IMEI packet received {"connection_id":154879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 12:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":154879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:59:17] local.INFO: TCP Data received {"connection_id":154879,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb7f7d8012d1b6c0007256928001f000025..."} 
[2026-08-11 12:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb7f7d8012d1b6c0007256928001f000025..."} 
[2026-08-11 12:59:17] local.INFO: Processing buffer {"connection_id":154879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb7f7d8012d1b6c0007256928001f000025..."} 
[2026-08-11 12:59:17] local.INFO: Packet analysis {"connection_id":154879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb7"} 
[2026-08-11 12:59:17] local.INFO: Extracted packet for processing {"connection_id":154879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb7"} 
[2026-08-11 12:59:17] local.INFO: GPS Element Parsed {"raw_longitude":756771840,"raw_latitude":119892264,"longitude_deg":75.677184,"latitude_deg":11.9892264,"altitude":31,"angle":0,"satellites":37,"speed":14,"hex_longitude":"2d1b6c00","hex_latitude":"07256928","is_valid_coordinates":true} 
[2026-08-11 12:59: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-08-11 12:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326908672001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11574580380434432,"note":"Value kept but may cause issues"} 
[2026-08-11 12:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975883998456866816,"note":"Value kept but may cause issues"} 
[2026-08-11 12:59:17] 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-08-11 12:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786433239000,"timestamp_ms":1786433239000,"timestamp_seconds":1786433239,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb7f7d8"} 
[2026-08-11 12:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:59:17] 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-08-11 12:59: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-11 12:59:17] 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-08-11 12:59: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-08-11 12:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326908672001,"66":14070,"92":206,"28":31744,"24":14,"16":11574580380434432,"45":1975883998456866816},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 12:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326908672001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:59:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 12:59:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 12:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11574580380434432,"km_value":11574580380434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975883998456866816,"description":"Unknown IO ID 45"} 
[2026-08-11 12:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326908672001,"power":14070,"unknown_92":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1975883998456866816}} 
[2026-08-11 12:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":154879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:59:17] local.INFO: GPS data processed {"connection_id":154879,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:59:17] local.INFO: Acknowledgment sent {"connection_id":154879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:59:26] local.INFO: TCP Data received {"connection_id":152551,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:59:26] local.INFO: Processing buffer {"connection_id":152551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:59:26] local.INFO: IMEI packet received {"connection_id":152551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 12:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":152551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 12:59:31] local.INFO: TCP Data received {"connection_id":152551,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:59:31] local.INFO: Processing buffer {"connection_id":152551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:59:31] local.INFO: IMEI packet received {"connection_id":152551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":152551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:59:32] local.INFO: TCP Data received {"connection_id":152551,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:59:32] local.INFO: Processing buffer {"connection_id":152551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 12:59:32] local.INFO: IMEI packet received {"connection_id":152551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 12:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":152551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 12:59:34] local.INFO: TCP Data received {"connection_id":152551,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb8ab88012db6650005d45b400028009a26..."} 
[2026-08-11 12:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb8ab88012db6650005d45b400028009a26..."} 
[2026-08-11 12:59:34] local.INFO: Processing buffer {"connection_id":152551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb8ab88012db6650005d45b400028009a26..."} 
[2026-08-11 12:59:34] local.INFO: Packet analysis {"connection_id":152551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 12:59:34] local.INFO: Extracted packet for processing {"connection_id":152551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 12:59:34] local.INFO: GPS Element Parsed {"raw_longitude":766928128,"raw_latitude":97803072,"longitude_deg":76.6928128,"latitude_deg":9.7803072,"altitude":40,"angle":154,"satellites":38,"speed":46,"hex_longitude":"2db66500","hex_latitude":"05d45b40","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326918912001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377558879795412992,"note":"Value kept but may cause issues"} 
[2026-08-11 12:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5307351398327891968,"note":"Value kept but may cause issues"} 
[2026-08-11 12:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786433285000,"timestamp_ms":1786433285000,"timestamp_seconds":1786433285,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb8ab88"} 
[2026-08-11 12:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12: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-08-11 12: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-08-11 12:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:59:34] 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-08-11 12:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326918912001,"66":27800,"192":206,"83":17920,"24":46,"16":377558879795412992,"45":-5307351398327891968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,45]} 
[2026-08-11 12:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326918912001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:59:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-11 12:59:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377558879795412992,"km_value":377558879795413.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5307351398327891968,"description":"Unknown IO ID 45"} 
[2026-08-11 12:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326918912001,"power":27800,"unknown_192":206,"unknown_83":17920,"ignition":46,"odometer":null,"unknown_45":-5307351398327891968}} 
[2026-08-11 12:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":152551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:59:34] local.INFO: GPS data processed {"connection_id":152551,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:59:34] local.INFO: Acknowledgment sent {"connection_id":152551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:59:35] local.INFO: TCP Data received {"connection_id":152551,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb8cac8012db6754005d43a980028009927..."} 
[2026-08-11 12:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb8cac8012db6754005d43a980028009927..."} 
[2026-08-11 12:59:35] local.INFO: Processing buffer {"connection_id":152551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb8cac8012db6754005d43a980028009927..."} 
[2026-08-11 12:59:35] local.INFO: Packet analysis {"connection_id":152551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 12:59:35] local.INFO: Extracted packet for processing {"connection_id":152551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 12:59:35] local.INFO: GPS Element Parsed {"raw_longitude":766932288,"raw_latitude":97794712,"longitude_deg":76.6932288,"latitude_deg":9.7794712,"altitude":40,"angle":153,"satellites":39,"speed":46,"hex_longitude":"2db67540","hex_latitude":"05d43a98","is_valid_coordinates":true} 
[2026-08-11 12: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-08-11 12:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326920960001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377559335061946368,"note":"Value kept but may cause issues"} 
[2026-08-11 12:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5303832961121304576,"note":"Value kept but may cause issues"} 
[2026-08-11 12:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 12:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786433293000,"timestamp_ms":1786433293000,"timestamp_seconds":1786433293,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb8cac8"} 
[2026-08-11 12:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 12: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":152,"data_length":795,"current_offset":136} 
[2026-08-11 12:59: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-08-11 12: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-08-11 12:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 12:59:35] 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-08-11 12:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 12:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 12:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326920960001,"66":27876,"241":206,"83":17920,"24":46,"16":377559335061946368,"45":-5303832961121304576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,83,24,16,45]} 
[2026-08-11 12:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 12:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 12:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326920960001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:59:35] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-11 12:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 12:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377559335061946368,"km_value":377559335061946.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5303832961121304576,"description":"Unknown IO ID 45"} 
[2026-08-11 12:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326920960001,"power":27876,"unknown_241":206,"unknown_83":17920,"ignition":46,"odometer":null,"unknown_45":-5303832961121304576}} 
[2026-08-11 12:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":152551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:59:35] local.INFO: GPS data processed {"connection_id":152551,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:59:35] local.INFO: Acknowledgment sent {"connection_id":152551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 12:59:49] local.INFO: TCP Data received {"connection_id":154879,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb81b00012d1b6d80072575d0001d000d29..."} 
[2026-08-11 12:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb81b00012d1b6d80072575d0001d000d29..."} 
[2026-08-11 12:59:49] local.INFO: Processing buffer {"connection_id":154879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb81b00012d1b6d80072575d0001d000d29..."} 
[2026-08-11 12:59:49] local.INFO: Packet analysis {"connection_id":154879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 12:59:49] local.INFO: Extracted packet for processing {"connection_id":154879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 12:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756772224,"raw_latitude":119895504,"longitude_deg":75.6772224,"latitude_deg":11.9895504,"altitude":29,"angle":13,"satellites":41,"speed":18,"hex_longitude":"2d1b6d80","hex_latitude":"072575d0","is_valid_coordinates":true} 
[2026-08-11 12:59: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-08-11 12:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326909184001,"note":"Value kept but may cause issues"} 
[2026-08-11 12:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11574739294224384,"note":"Value kept but may cause issues"} 
[2026-08-11 12:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975954367201224704,"note":"Value kept but may cause issues"} 
[2026-08-11 12:59:49] 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-08-11 12:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786433248000,"timestamp_ms":1786433248000,"timestamp_seconds":1786433248,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb81b00"} 
[2026-08-11 12:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 12:59:49] 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-08-11 12:59: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-11 12:59:49] 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-08-11 12:59: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-08-11 12:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 12:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 12:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 12:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 12:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 12:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 12:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 12:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326909184001,"66":13135,"92":206,"28":31744,"24":18,"16":11574739294224384,"45":1975954367201224704},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 12:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 12:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 12:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326909184001,"description":"Unknown IO ID 0"} 
[2026-08-11 12:59:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 12:59:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 12:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11574739294224384,"km_value":11574739294224.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 12:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975954367201224704,"description":"Unknown IO ID 45"} 
[2026-08-11 12:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326909184001,"power":13135,"unknown_92":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1975954367201224704}} 
[2026-08-11 12:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":154879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 12:59:49] local.INFO: GPS data processed {"connection_id":154879,"processed":1,"errors":0,"total":1} 
[2026-08-11 12:59:49] local.INFO: Acknowledgment sent {"connection_id":154879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:00:09] local.INFO: TCP Data received {"connection_id":152177,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:00:09] local.INFO: Processing buffer {"connection_id":152177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:00:09] local.INFO: IMEI packet received {"connection_id":152177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":152177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:00:10] local.INFO: TCP Data received {"connection_id":152177,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:00:10] local.INFO: Processing buffer {"connection_id":152177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:00:10] local.INFO: IMEI packet received {"connection_id":152177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":152177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:00:15] local.INFO: TCP Data received {"connection_id":154880,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:00:15] local.INFO: Processing buffer {"connection_id":154880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:00:15] local.INFO: IMEI packet received {"connection_id":154880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":154880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:00:16] local.INFO: TCP Data received {"connection_id":152177,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:00:16] local.INFO: Processing buffer {"connection_id":152177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:00:16] local.INFO: IMEI packet received {"connection_id":152177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":152177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:00:17] local.INFO: TCP Data received {"connection_id":152177,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb83e28012d1b760007258c38001c001a28..."} 
[2026-08-11 13:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb83e28012d1b760007258c38001c001a28..."} 
[2026-08-11 13:00:17] local.INFO: Processing buffer {"connection_id":152177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb83e28012d1b760007258c38001c001a28..."} 
[2026-08-11 13:00:17] local.INFO: Packet analysis {"connection_id":152177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 13:00:17] local.INFO: Extracted packet for processing {"connection_id":152177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 13:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756774400,"raw_latitude":119901240,"longitude_deg":75.67744,"latitude_deg":11.990124,"altitude":28,"angle":26,"satellites":40,"speed":23,"hex_longitude":"2d1b7600","hex_latitude":"07258c38","is_valid_coordinates":true} 
[2026-08-11 13:00: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-08-11 13:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326911488001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575035646967808,"note":"Value kept but may cause issues"} 
[2026-08-11 13:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976376579667120128,"note":"Value kept but may cause issues"} 
[2026-08-11 13:00:17] 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-08-11 13:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786433257000,"timestamp_ms":1786433257000,"timestamp_seconds":1786433257,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb83e28"} 
[2026-08-11 13:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:00:17] 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-08-11 13:00: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-11 13:00:17] 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-08-11 13:00: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-08-11 13:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326911488001,"66":13048,"92":206,"28":31744,"24":23,"16":11575035646967808,"45":1976376579667120128},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326911488001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:00:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:00:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575035646967808,"km_value":11575035646967.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976376579667120128,"description":"Unknown IO ID 45"} 
[2026-08-11 13:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326911488001,"power":13048,"unknown_92":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1976376579667120128}} 
[2026-08-11 13:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":152177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:00:17] local.INFO: GPS data processed {"connection_id":152177,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:00:17] local.INFO: Acknowledgment sent {"connection_id":152177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:00:19] local.INFO: TCP Data received {"connection_id":154880,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:00:19] local.INFO: Processing buffer {"connection_id":154880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:00:19] local.INFO: IMEI packet received {"connection_id":154880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":154880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:00:24] local.INFO: TCP Data received {"connection_id":154880,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:00:24] local.INFO: Processing buffer {"connection_id":154880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:00:24] local.INFO: IMEI packet received {"connection_id":154880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":154880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:00:24] local.INFO: TCP Data received {"connection_id":154880,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb9d468012db6cc0005d32b00002a00cf24..."} 
[2026-08-11 13:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb9d468012db6cc0005d32b00002a00cf24..."} 
[2026-08-11 13:00:24] local.INFO: Processing buffer {"connection_id":154880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb9d468012db6cc0005d32b00002a00cf24..."} 
[2026-08-11 13:00:24] local.INFO: Packet analysis {"connection_id":154880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb9"} 
[2026-08-11 13:00:24] local.INFO: Extracted packet for processing {"connection_id":154880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb9"} 
[2026-08-11 13:00:24] local.INFO: GPS Element Parsed {"raw_longitude":766954496,"raw_latitude":97725184,"longitude_deg":76.6954496,"latitude_deg":9.7725184,"altitude":42,"angle":207,"satellites":36,"speed":43,"hex_longitude":"2db6cc00","hex_latitude":"05d32b00","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326939904001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377562968604278784,"note":"Value kept but may cause issues"} 
[2026-08-11 13:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5273996613609375744,"note":"Value kept but may cause issues"} 
[2026-08-11 13:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786433361000,"timestamp_ms":1786433361000,"timestamp_seconds":1786433361,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb9d468"} 
[2026-08-11 13:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 13:00:24] 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-08-11 13: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-08-11 13:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":154880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":154880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":154880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:00:24] 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-08-11 13:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326939904001,"66":27767,"49":206,"83":17920,"24":43,"16":377562968604278784,"45":-5273996613609375744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,45]} 
[2026-08-11 13:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326939904001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:00:24] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-11 13:00:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 13:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377562968604278784,"km_value":377562968604278.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5273996613609375744,"description":"Unknown IO ID 45"} 
[2026-08-11 13:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326939904001,"power":27767,"unknown_49":206,"unknown_83":17920,"ignition":43,"odometer":null,"unknown_45":-5273996613609375744}} 
[2026-08-11 13:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":154880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:00:24] local.INFO: GPS data processed {"connection_id":154880,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:00:24] local.INFO: Acknowledgment sent {"connection_id":154880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:00:25] local.INFO: TCP Data received {"connection_id":154880,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb9dc38012db6c70005d323d8002900dc23..."} 
[2026-08-11 13:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb9dc38012db6c70005d323d8002900dc23..."} 
[2026-08-11 13:00:25] local.INFO: Processing buffer {"connection_id":154880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb9dc38012db6c70005d323d8002900dc23..."} 
[2026-08-11 13:00:25] local.INFO: Packet analysis {"connection_id":154880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb9"} 
[2026-08-11 13:00:25] local.INFO: Extracted packet for processing {"connection_id":154880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb9"} 
[2026-08-11 13:00:25] local.INFO: GPS Element Parsed {"raw_longitude":766953216,"raw_latitude":97723352,"longitude_deg":76.6953216,"latitude_deg":9.7723352,"altitude":41,"angle":220,"satellites":35,"speed":44,"hex_longitude":"2db6c700","hex_latitude":"05d323d8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326940416001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377563075978461184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5274841038540046336,"note":"Value kept but may cause issues"} 
[2026-08-11 13:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786433363000,"timestamp_ms":1786433363000,"timestamp_seconds":1786433363,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb9dc38"} 
[2026-08-11 13:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:00:25] 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-08-11 13: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-08-11 13:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:00:25] 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-08-11 13:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326940416001,"66":27930,"49":206,"83":17920,"24":44,"16":377563075978461184,"45":-5274841038540046336},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,45]} 
[2026-08-11 13:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326940416001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:00:25] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-11 13:00:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 13:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377563075978461184,"km_value":377563075978461.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5274841038540046336,"description":"Unknown IO ID 45"} 
[2026-08-11 13:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326940416001,"power":27930,"unknown_49":206,"unknown_83":17920,"ignition":44,"odometer":null,"unknown_45":-5274841038540046336}} 
[2026-08-11 13:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":154880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:00:25] local.INFO: GPS data processed {"connection_id":154880,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:00:25] local.INFO: Acknowledgment sent {"connection_id":154880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:00:49] local.INFO: TCP Data received {"connection_id":152177,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb84dc8012d1b7880072591c0001b000b27..."} 
[2026-08-11 13:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb84dc8012d1b7880072591c0001b000b27..."} 
[2026-08-11 13:00:49] local.INFO: Processing buffer {"connection_id":152177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb84dc8012d1b7880072591c0001b000b27..."} 
[2026-08-11 13:00:49] local.INFO: Packet analysis {"connection_id":152177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 13:00:49] local.INFO: Extracted packet for processing {"connection_id":152177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 13:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756775040,"raw_latitude":119902656,"longitude_deg":75.677504,"latitude_deg":11.9902656,"altitude":27,"angle":11,"satellites":39,"speed":9,"hex_longitude":"2d1b7880","hex_latitude":"072591c0","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326913792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575112956379136,"note":"Value kept but may cause issues"} 
[2026-08-11 13:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978769116970629120,"note":"Value kept but may cause issues"} 
[2026-08-11 13:00:49] 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-08-11 13:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786433261000,"timestamp_ms":1786433261000,"timestamp_seconds":1786433261,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb84dc8"} 
[2026-08-11 13:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:00:49] 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-08-11 13: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 13:00:49] 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-08-11 13:00: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-08-11 13:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326913792001,"66":12841,"92":206,"28":31744,"24":9,"16":11575112956379136,"45":1978769116970629120},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326913792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:00:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:00:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575112956379136,"km_value":11575112956379.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978769116970629120,"description":"Unknown IO ID 45"} 
[2026-08-11 13:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326913792001,"power":12841,"unknown_92":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1978769116970629120}} 
[2026-08-11 13:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":152177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:00:49] local.INFO: GPS data processed {"connection_id":152177,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:00:49] local.INFO: Acknowledgment sent {"connection_id":152177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:00:56] local.INFO: TCP Data received {"connection_id":154880,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb9f790012db6b34005d30d00002600c823..."} 
[2026-08-11 13:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb9f790012db6b34005d30d00002600c823..."} 
[2026-08-11 13:00:56] local.INFO: Processing buffer {"connection_id":154880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb9f790012db6b34005d30d00002600c823..."} 
[2026-08-11 13:00:56] local.INFO: Packet analysis {"connection_id":154880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb9"} 
[2026-08-11 13:00:56] local.INFO: Extracted packet for processing {"connection_id":154880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb9"} 
[2026-08-11 13:00:56] local.INFO: GPS Element Parsed {"raw_longitude":766948160,"raw_latitude":97717504,"longitude_deg":76.694816,"latitude_deg":9.7717504,"altitude":38,"angle":200,"satellites":35,"speed":42,"hex_longitude":"2db6b340","hex_latitude":"05d30d00","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326940928001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377563449640615936,"note":"Value kept but may cause issues"} 
[2026-08-11 13:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5276248413424068608,"note":"Value kept but may cause issues"} 
[2026-08-11 13:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786433370000,"timestamp_ms":1786433370000,"timestamp_seconds":1786433370,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb9f790"} 
[2026-08-11 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-08-11 13:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 13:00:56] 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-08-11 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-08-11 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-08-11 13:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:00:56] 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-08-11 13:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326940928001,"66":27876,"49":206,"83":17920,"24":42,"16":377563449640615936,"45":-5276248413424068608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,45]} 
[2026-08-11 13:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326940928001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:00:56] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-11 13:00:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 13:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377563449640615936,"km_value":377563449640615.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5276248413424068608,"description":"Unknown IO ID 45"} 
[2026-08-11 13:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326940928001,"power":27876,"unknown_49":206,"unknown_83":17920,"ignition":42,"odometer":null,"unknown_45":-5276248413424068608}} 
[2026-08-11 13:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":154880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:00:56] local.INFO: GPS data processed {"connection_id":154880,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:00:56] local.INFO: Acknowledgment sent {"connection_id":154880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:01:10] local.INFO: TCP Data received {"connection_id":154881,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:01:10] local.INFO: Processing buffer {"connection_id":154881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:01:10] local.INFO: IMEI packet received {"connection_id":154881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":154881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:01:12] local.INFO: TCP Data received {"connection_id":154881,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:01:12] local.INFO: Processing buffer {"connection_id":154881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:01:12] local.INFO: IMEI packet received {"connection_id":154881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":154881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:01:16] local.INFO: TCP Data received {"connection_id":154881,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:01:16] local.INFO: Processing buffer {"connection_id":154881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:01:16] local.INFO: IMEI packet received {"connection_id":154881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":154881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:01:17] local.INFO: TCP Data received {"connection_id":154881,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb85d68012d1b7740072593b0001b012926..."} 
[2026-08-11 13:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb85d68012d1b7740072593b0001b012926..."} 
[2026-08-11 13:01:17] local.INFO: Processing buffer {"connection_id":154881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb85d68012d1b7740072593b0001b012926..."} 
[2026-08-11 13:01:17] local.INFO: Packet analysis {"connection_id":154881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 13:01:17] local.INFO: Extracted packet for processing {"connection_id":154881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 13:01:17] local.INFO: GPS Element Parsed {"raw_longitude":756774720,"raw_latitude":119903152,"longitude_deg":75.677472,"latitude_deg":11.9903152,"altitude":27,"angle":297,"satellites":38,"speed":5,"hex_longitude":"2d1b7740","hex_latitude":"072593b0","is_valid_coordinates":true} 
[2026-08-11 13:01: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-08-11 13:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326914816001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575147316117504,"note":"Value kept but may cause issues"} 
[2026-08-11 13:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979472804412768256,"note":"Value kept but may cause issues"} 
[2026-08-11 13:01:17] 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-08-11 13:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786433265000,"timestamp_ms":1786433265000,"timestamp_seconds":1786433265,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb85d68"} 
[2026-08-11 13:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:01:17] 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-08-11 13:01: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 13:01:17] 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-08-11 13:01: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-08-11 13:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326914816001,"66":12939,"92":206,"28":31744,"24":5,"16":11575147316117504,"45":1979472804412768256},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326914816001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:01:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:01:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575147316117504,"km_value":11575147316117.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979472804412768256,"description":"Unknown IO ID 45"} 
[2026-08-11 13:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326914816001,"power":12939,"unknown_92":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1979472804412768256}} 
[2026-08-11 13:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":154881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:01:17] local.INFO: GPS data processed {"connection_id":154881,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:01:17] local.INFO: Acknowledgment sent {"connection_id":154881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:01:19] local.INFO: TCP Data received {"connection_id":152552,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:01:19] local.INFO: Processing buffer {"connection_id":152552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:01:19] local.INFO: IMEI packet received {"connection_id":152552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":152552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:01:19] local.INFO: TCP Data received {"connection_id":152552,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:01:19] local.INFO: Processing buffer {"connection_id":152552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:01:19] local.INFO: IMEI packet received {"connection_id":152552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":152552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:01:24] local.INFO: TCP Data received {"connection_id":152552,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:01:24] local.INFO: Processing buffer {"connection_id":152552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:01:24] local.INFO: IMEI packet received {"connection_id":152552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":152552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:01:25] local.INFO: TCP Data received {"connection_id":152552,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbad638012db7500005d25e700023009e29..."} 
[2026-08-11 13:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbad638012db7500005d25e700023009e29..."} 
[2026-08-11 13:01:25] local.INFO: Processing buffer {"connection_id":152552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbad638012db7500005d25e700023009e29..."} 
[2026-08-11 13:01:25] local.INFO: Packet analysis {"connection_id":152552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefba"} 
[2026-08-11 13:01:25] local.INFO: Extracted packet for processing {"connection_id":152552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefba"} 
[2026-08-11 13:01:25] local.INFO: GPS Element Parsed {"raw_longitude":766988288,"raw_latitude":97672816,"longitude_deg":76.6988288,"latitude_deg":9.7672816,"altitude":35,"angle":158,"satellites":41,"speed":36,"hex_longitude":"2db75000","hex_latitude":"05d25e70","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326956544001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377566481887526912,"note":"Value kept but may cause issues"} 
[2026-08-11 13:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5239093716510590976,"note":"Value kept but may cause issues"} 
[2026-08-11 13:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786433427000,"timestamp_ms":1786433427000,"timestamp_seconds":1786433427,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbad638"} 
[2026-08-11 13:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 13:01:25] 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-08-11 13: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-08-11 13:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:01:25] 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-08-11 13:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326956544001,"66":27213,"49":206,"83":17920,"24":36,"16":377566481887526912,"45":-5239093716510590976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,45]} 
[2026-08-11 13:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326956544001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:01:25] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-11 13:01:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 13:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377566481887526912,"km_value":377566481887526.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5239093716510590976,"description":"Unknown IO ID 45"} 
[2026-08-11 13:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326956544001,"power":27213,"unknown_49":206,"unknown_83":17920,"ignition":36,"odometer":null,"unknown_45":-5239093716510590976}} 
[2026-08-11 13:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":152552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:01:25] local.INFO: GPS data processed {"connection_id":152552,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:01:25] local.INFO: Acknowledgment sent {"connection_id":152552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:01:48] local.INFO: TCP Data received {"connection_id":154881,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb86150012d1b76c007259418001a013625..."} 
[2026-08-11 13:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb86150012d1b76c007259418001a013625..."} 
[2026-08-11 13:01:48] local.INFO: Processing buffer {"connection_id":154881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb86150012d1b76c007259418001a013625..."} 
[2026-08-11 13:01:48] local.INFO: Packet analysis {"connection_id":154881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 13:01:48] local.INFO: Extracted packet for processing {"connection_id":154881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 13:01:48] local.INFO: GPS Element Parsed {"raw_longitude":756774592,"raw_latitude":119903256,"longitude_deg":75.6774592,"latitude_deg":11.9903256,"altitude":26,"angle":310,"satellites":37,"speed":7,"hex_longitude":"2d1b76c0","hex_latitude":"07259418","is_valid_coordinates":true} 
[2026-08-11 13:01: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-08-11 13:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326915840001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575155906052096,"note":"Value kept but may cause issues"} 
[2026-08-11 13:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979120960692006912,"note":"Value kept but may cause issues"} 
[2026-08-11 13:01:48] 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-08-11 13:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786433266000,"timestamp_ms":1786433266000,"timestamp_seconds":1786433266,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb86150"} 
[2026-08-11 13:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:01:48] 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-08-11 13:01: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 13:01:48] 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-08-11 13:01: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-08-11 13:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326915840001,"66":12917,"92":206,"28":31744,"24":7,"16":11575155906052096,"45":1979120960692006912},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326915840001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:01:48] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:01:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575155906052096,"km_value":11575155906052.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979120960692006912,"description":"Unknown IO ID 45"} 
[2026-08-11 13:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326915840001,"power":12917,"unknown_92":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1979120960692006912}} 
[2026-08-11 13:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":154881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:01:48] local.INFO: GPS data processed {"connection_id":154881,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:01:48] local.INFO: Acknowledgment sent {"connection_id":154881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:01:56] local.INFO: TCP Data received {"connection_id":152552,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbae1f0012db7528005d253a8002100aa2a..."} 
[2026-08-11 13:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbae1f0012db7528005d253a8002100aa2a..."} 
[2026-08-11 13:01:56] local.INFO: Processing buffer {"connection_id":152552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbae1f0012db7528005d253a8002100aa2a..."} 
[2026-08-11 13:01:56] local.INFO: Packet analysis {"connection_id":152552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefba"} 
[2026-08-11 13:01:56] local.INFO: Extracted packet for processing {"connection_id":152552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefba"} 
[2026-08-11 13:01:56] local.INFO: GPS Element Parsed {"raw_longitude":766988928,"raw_latitude":97670056,"longitude_deg":76.6988928,"latitude_deg":9.7670056,"altitude":33,"angle":170,"satellites":42,"speed":38,"hex_longitude":"2db75280","hex_latitude":"05d253a8","is_valid_coordinates":true} 
[2026-08-11 13:01: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-08-11 13:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326957312001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377566619326480384,"note":"Value kept but may cause issues"} 
[2026-08-11 13:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5237686341627645952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786433430000,"timestamp_ms":1786433430000,"timestamp_seconds":1786433430,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbae1f0"} 
[2026-08-11 13:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13:01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 13:01:56] 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-08-11 13:01: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-08-11 13:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:01:56] 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-08-11 13:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326957312001,"66":27821,"49":206,"83":17920,"24":38,"16":377566619326480384,"45":-5237686341627645952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,45]} 
[2026-08-11 13:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326957312001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:01:56] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-11 13:01:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 13:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377566619326480384,"km_value":377566619326480.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5237686341627645952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326957312001,"power":27821,"unknown_49":206,"unknown_83":17920,"ignition":38,"odometer":null,"unknown_45":-5237686341627645952}} 
[2026-08-11 13:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":152552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:01:56] local.INFO: GPS data processed {"connection_id":152552,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:01:56] local.INFO: Acknowledgment sent {"connection_id":152552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:02:10] local.INFO: TCP Data received {"connection_id":152178,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:02:10] local.INFO: Processing buffer {"connection_id":152178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:02:10] local.INFO: IMEI packet received {"connection_id":152178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":152178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:02:15] local.INFO: TCP Data received {"connection_id":152178,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:02:15] local.INFO: Processing buffer {"connection_id":152178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:02:15] local.INFO: IMEI packet received {"connection_id":152178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":152178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:02:15] local.INFO: TCP Data received {"connection_id":152178,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:02:15] local.INFO: Processing buffer {"connection_id":152178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:02:15] local.INFO: IMEI packet received {"connection_id":152178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":152178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:02:17] local.INFO: TCP Data received {"connection_id":152178,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb8b358012d1b7040072598a8001a012e27..."} 
[2026-08-11 13:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb8b358012d1b7040072598a8001a012e27..."} 
[2026-08-11 13:02:17] local.INFO: Processing buffer {"connection_id":152178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb8b358012d1b7040072598a8001a012e27..."} 
[2026-08-11 13:02:17] local.INFO: Packet analysis {"connection_id":152178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 13:02:17] local.INFO: Extracted packet for processing {"connection_id":152178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb8"} 
[2026-08-11 13:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119904424,"longitude_deg":75.6772928,"latitude_deg":11.9904424,"altitude":26,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"072598a8","is_valid_coordinates":true} 
[2026-08-11 13:02: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-08-11 13:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326916096001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575254690299904,"note":"Value kept but may cause issues"} 
[2026-08-11 13:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978980223203678208,"note":"Value kept but may cause issues"} 
[2026-08-11 13:02:17] 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-08-11 13:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786433287000,"timestamp_ms":1786433287000,"timestamp_seconds":1786433287,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb8b358"} 
[2026-08-11 13:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:02:17] 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-08-11 13:02: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 13:02:17] 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-08-11 13:02: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-08-11 13:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326916096001,"66":12743,"92":206,"28":31744,"24":0,"16":11575254690299904,"45":1978980223203678208},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326916096001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:02:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:02:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575254690299904,"km_value":11575254690299.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978980223203678208,"description":"Unknown IO ID 45"} 
[2026-08-11 13:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326916096001,"power":12743,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978980223203678208}} 
[2026-08-11 13:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":152178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:02:17] local.INFO: GPS data processed {"connection_id":152178,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:02:17] local.INFO: Acknowledgment sent {"connection_id":152178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:02:19] local.INFO: TCP Data received {"connection_id":153504,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:02:19] local.INFO: Processing buffer {"connection_id":153504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:02:19] local.INFO: IMEI packet received {"connection_id":153504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":153504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:02:20] local.INFO: TCP Data received {"connection_id":153504,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:02:20] local.INFO: Processing buffer {"connection_id":153504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:02:20] local.INFO: IMEI packet received {"connection_id":153504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":153504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:02:21] local.INFO: TCP Data received {"connection_id":152178,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb90178012d1b7040072598a8001a012e26..."} 
[2026-08-11 13:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb90178012d1b7040072598a8001a012e26..."} 
[2026-08-11 13:02:21] local.INFO: Processing buffer {"connection_id":152178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb90178012d1b7040072598a8001a012e26..."} 
[2026-08-11 13:02:21] local.INFO: Packet analysis {"connection_id":152178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb9"} 
[2026-08-11 13:02:21] local.INFO: Extracted packet for processing {"connection_id":152178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb9"} 
[2026-08-11 13:02:21] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119904424,"longitude_deg":75.6772928,"latitude_deg":11.9904424,"altitude":26,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"072598a8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326921472001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575254690299904,"note":"Value kept but may cause issues"} 
[2026-08-11 13:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635855357952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:02:21] 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-08-11 13:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786433307000,"timestamp_ms":1786433307000,"timestamp_seconds":1786433307,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb90178"} 
[2026-08-11 13:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:02:21] 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-08-11 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-11 13:02: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-08-11 13:02: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-08-11 13:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326921472001,"66":12537,"92":206,"28":31744,"24":0,"16":11575254690299904,"45":1977150635855357952},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326921472001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:02:21] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:02:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575254690299904,"km_value":11575254690299.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635855357952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326921472001,"power":12537,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977150635855357952}} 
[2026-08-11 13:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":152178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:02:22] local.INFO: GPS data processed {"connection_id":152178,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:02:22] local.INFO: Acknowledgment sent {"connection_id":152178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:02:23] local.INFO: TCP Data received {"connection_id":153504,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:02:23] local.INFO: Processing buffer {"connection_id":153504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:02:23] local.INFO: IMEI packet received {"connection_id":153504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":153504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:02:27] local.INFO: TCP Data received {"connection_id":153504,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbb0900012db7590005d22f80002000a729..."} 
[2026-08-11 13:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbb0900012db7590005d22f80002000a729..."} 
[2026-08-11 13:02:27] local.INFO: Processing buffer {"connection_id":153504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbb0900012db7590005d22f80002000a729..."} 
[2026-08-11 13:02:27] local.INFO: Packet analysis {"connection_id":153504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbb"} 
[2026-08-11 13:02:27] local.INFO: Extracted packet for processing {"connection_id":153504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbb"} 
[2026-08-11 13:02:27] local.INFO: GPS Element Parsed {"raw_longitude":766990592,"raw_latitude":97660800,"longitude_deg":76.6990592,"latitude_deg":9.76608,"altitude":32,"angle":167,"satellites":41,"speed":31,"hex_longitude":"2db75900","hex_latitude":"05d22f80","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326958080001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377567078887981056,"note":"Value kept but may cause issues"} 
[2026-08-11 13:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5236982654186575872,"note":"Value kept but may cause issues"} 
[2026-08-11 13:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786433440000,"timestamp_ms":1786433440000,"timestamp_seconds":1786433440,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbb0900"} 
[2026-08-11 13:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 13:02:27] 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-08-11 13: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-08-11 13:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:02:27] 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-08-11 13:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326958080001,"66":27865,"47":206,"83":17920,"24":31,"16":377567078887981056,"45":-5236982654186575872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,83,24,16,45]} 
[2026-08-11 13:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326958080001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:02:27] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-11 13:02:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 13:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377567078887981056,"km_value":377567078887981.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5236982654186575872,"description":"Unknown IO ID 45"} 
[2026-08-11 13:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326958080001,"power":27865,"unknown_47":206,"unknown_83":17920,"ignition":31,"odometer":null,"unknown_45":-5236982654186575872}} 
[2026-08-11 13:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":153504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:02:27] local.INFO: GPS data processed {"connection_id":153504,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:02:27] local.INFO: Acknowledgment sent {"connection_id":153504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:02:53] local.INFO: TCP Data received {"connection_id":152178,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb95380012d1b7040072598a8001a012e26..."} 
[2026-08-11 13:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb95380012d1b7040072598a8001a012e26..."} 
[2026-08-11 13:02:53] local.INFO: Processing buffer {"connection_id":152178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb95380012d1b7040072598a8001a012e26..."} 
[2026-08-11 13:02:53] local.INFO: Packet analysis {"connection_id":152178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb9"} 
[2026-08-11 13:02:53] local.INFO: Extracted packet for processing {"connection_id":152178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb9"} 
[2026-08-11 13:02:53] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119904424,"longitude_deg":75.6772928,"latitude_deg":11.9904424,"altitude":26,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"072598a8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326926592001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575254690299904,"note":"Value kept but may cause issues"} 
[2026-08-11 13:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635855357952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:02:53] 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-08-11 13:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786433328000,"timestamp_ms":1786433328000,"timestamp_seconds":1786433328,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb95380"} 
[2026-08-11 13:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:02:53] 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-08-11 13: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-11 13:02: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-08-11 13: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-08-11 13:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326926592001,"66":12439,"92":206,"28":31744,"24":0,"16":11575254690299904,"45":1977150635855357952},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326926592001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:02:53] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:02:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575254690299904,"km_value":11575254690299.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635855357952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326926592001,"power":12439,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977150635855357952}} 
[2026-08-11 13:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":152178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:02:53] local.INFO: GPS data processed {"connection_id":152178,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:02:53] local.INFO: Acknowledgment sent {"connection_id":152178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:03:03] local.INFO: TCP Data received {"connection_id":153504,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbc60c0012db7a28005d114e80026009b29..."} 
[2026-08-11 13:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbc60c0012db7a28005d114e80026009b29..."} 
[2026-08-11 13:03:03] local.INFO: Processing buffer {"connection_id":153504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbc60c0012db7a28005d114e80026009b29..."} 
[2026-08-11 13:03:03] local.INFO: Packet analysis {"connection_id":153504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbc"} 
[2026-08-11 13:03:03] local.INFO: Extracted packet for processing {"connection_id":153504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbc"} 
[2026-08-11 13:03:03] local.INFO: GPS Element Parsed {"raw_longitude":767009408,"raw_latitude":97588456,"longitude_deg":76.7009408,"latitude_deg":9.7588456,"altitude":38,"angle":155,"satellites":41,"speed":43,"hex_longitude":"2db7a280","hex_latitude":"05d114e8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326980864001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377570772559855616,"note":"Value kept but may cause issues"} 
[2026-08-11 13:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5217701618300485632,"note":"Value kept but may cause issues"} 
[2026-08-11 13:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786433528000,"timestamp_ms":1786433528000,"timestamp_seconds":1786433528,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbc60c0"} 
[2026-08-11 13:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 13:03:03] 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-08-11 13: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-08-11 13:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":153504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":153504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":153504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:03:03] 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-08-11 13:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326980864001,"66":27876,"48":206,"83":17920,"24":43,"16":377570772559855616,"45":-5217701618300485632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,83,24,16,45]} 
[2026-08-11 13:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326980864001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:03:03] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-11 13:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 13:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377570772559855616,"km_value":377570772559855.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5217701618300485632,"description":"Unknown IO ID 45"} 
[2026-08-11 13:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326980864001,"power":27876,"unknown_48":206,"unknown_83":17920,"ignition":43,"odometer":null,"unknown_45":-5217701618300485632}} 
[2026-08-11 13:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":153504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:03:03] local.INFO: GPS data processed {"connection_id":153504,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:03:03] local.INFO: Acknowledgment sent {"connection_id":153504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:03:10] local.INFO: TCP Data received {"connection_id":153505,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:03:10] local.INFO: Processing buffer {"connection_id":153505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:03:10] local.INFO: IMEI packet received {"connection_id":153505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":153505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:03:15] local.INFO: TCP Data received {"connection_id":153505,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:03:15] local.INFO: Processing buffer {"connection_id":153505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:03:15] local.INFO: IMEI packet received {"connection_id":153505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":153505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:03:17] local.INFO: TCP Data received {"connection_id":153505,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb9a588012d1b7040072598a8001a012e26..."} 
[2026-08-11 13:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb9a588012d1b7040072598a8001a012e26..."} 
[2026-08-11 13:03:17] local.INFO: Processing buffer {"connection_id":153505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb9a588012d1b7040072598a8001a012e26..."} 
[2026-08-11 13:03:17] local.INFO: Packet analysis {"connection_id":153505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb9"} 
[2026-08-11 13:03:17] local.INFO: Extracted packet for processing {"connection_id":153505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb9"} 
[2026-08-11 13:03:17] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119904424,"longitude_deg":75.6772928,"latitude_deg":11.9904424,"altitude":26,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"072598a8","is_valid_coordinates":true} 
[2026-08-11 13:03: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-08-11 13:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326931968001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575254690299904,"note":"Value kept but may cause issues"} 
[2026-08-11 13:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635855357952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:03:17] 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-08-11 13:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786433349000,"timestamp_ms":1786433349000,"timestamp_seconds":1786433349,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb9a588"} 
[2026-08-11 13:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:03:17] 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-08-11 13:03: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-11 13:03:17] 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-08-11 13:03: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-08-11 13:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326931968001,"66":12341,"92":206,"28":31744,"24":0,"16":11575254690299904,"45":1977150635855357952},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326931968001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:03:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:03:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575254690299904,"km_value":11575254690299.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635855357952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326931968001,"power":12341,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977150635855357952}} 
[2026-08-11 13:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":153505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:03:17] local.INFO: GPS data processed {"connection_id":153505,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:03:17] local.INFO: Acknowledgment sent {"connection_id":153505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:03:20] local.INFO: TCP Data received {"connection_id":152179,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:03:20] local.INFO: Processing buffer {"connection_id":152179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:03:20] local.INFO: IMEI packet received {"connection_id":152179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":152179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:03:21] local.INFO: TCP Data received {"connection_id":152179,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:03:21] local.INFO: Processing buffer {"connection_id":152179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:03:21] local.INFO: IMEI packet received {"connection_id":152179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":152179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:03:25] local.INFO: TCP Data received {"connection_id":152179,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:03:25] local.INFO: Processing buffer {"connection_id":152179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:03:25] local.INFO: IMEI packet received {"connection_id":152179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":152179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:03:26] local.INFO: TCP Data received {"connection_id":152179,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbc60c0012db7a28005d114e80026009b29..."} 
[2026-08-11 13:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbc60c0012db7a28005d114e80026009b29..."} 
[2026-08-11 13:03:26] local.INFO: Processing buffer {"connection_id":152179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbc60c0012db7a28005d114e80026009b29..."} 
[2026-08-11 13:03:26] local.INFO: Packet analysis {"connection_id":152179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbc"} 
[2026-08-11 13:03:26] local.INFO: Extracted packet for processing {"connection_id":152179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbc"} 
[2026-08-11 13:03:26] local.INFO: GPS Element Parsed {"raw_longitude":767009408,"raw_latitude":97588456,"longitude_deg":76.7009408,"latitude_deg":9.7588456,"altitude":38,"angle":155,"satellites":41,"speed":43,"hex_longitude":"2db7a280","hex_latitude":"05d114e8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326983168001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377570772559855616,"note":"Value kept but may cause issues"} 
[2026-08-11 13:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5214464656070612992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786433528000,"timestamp_ms":1786433528000,"timestamp_seconds":1786433528,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbc60c0"} 
[2026-08-11 13:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 13:03:26] 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-08-11 13: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-08-11 13:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:03:26] 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-08-11 13:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326983168001,"66":27876,"48":206,"83":17920,"24":43,"16":377570772559855616,"45":-5214464656070612992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,83,24,16,45]} 
[2026-08-11 13:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326983168001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:03:26] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-11 13:03:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 13:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377570772559855616,"km_value":377570772559855.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5214464656070612992,"description":"Unknown IO ID 45"} 
[2026-08-11 13:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326983168001,"power":27876,"unknown_48":206,"unknown_83":17920,"ignition":43,"odometer":null,"unknown_45":-5214464656070612992}} 
[2026-08-11 13:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":152179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:03:26] local.INFO: GPS data processed {"connection_id":152179,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:03:26] local.INFO: Acknowledgment sent {"connection_id":152179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:03:48] local.INFO: TCP Data received {"connection_id":153505,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefb9f790012d1b7040072598a8001a012e23..."} 
[2026-08-11 13:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefb9f790012d1b7040072598a8001a012e23..."} 
[2026-08-11 13:03:48] local.INFO: Processing buffer {"connection_id":153505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefb9f790012d1b7040072598a8001a012e23..."} 
[2026-08-11 13:03:48] local.INFO: Packet analysis {"connection_id":153505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefb9"} 
[2026-08-11 13:03:48] local.INFO: Extracted packet for processing {"connection_id":153505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefb9"} 
[2026-08-11 13:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119904424,"longitude_deg":75.6772928,"latitude_deg":11.9904424,"altitude":26,"angle":302,"satellites":35,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"072598a8","is_valid_coordinates":true} 
[2026-08-11 13:03: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-08-11 13:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326937344001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575254690299904,"note":"Value kept but may cause issues"} 
[2026-08-11 13:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635855357952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:03:48] 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-08-11 13:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786433370000,"timestamp_ms":1786433370000,"timestamp_seconds":1786433370,"priority":1,"record_length":96,"hex_timestamp":"0000019fefb9f790"} 
[2026-08-11 13:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:03:48] 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-08-11 13:03: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-11 13:03:48] 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-08-11 13:03: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-08-11 13:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326937344001,"66":11547,"92":206,"28":31744,"24":0,"16":11575254690299904,"45":1977150635855357952},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326937344001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:03:48] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:03:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575254690299904,"km_value":11575254690299.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635855357952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326937344001,"power":11547,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977150635855357952}} 
[2026-08-11 13:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":153505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:03:48] local.INFO: GPS data processed {"connection_id":153505,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:03:48] local.INFO: Acknowledgment sent {"connection_id":153505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:03:57] local.INFO: TCP Data received {"connection_id":152179,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbc8000012db7b30005d0f5600026009a28..."} 
[2026-08-11 13:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbc8000012db7b30005d0f5600026009a28..."} 
[2026-08-11 13:03:57] local.INFO: Processing buffer {"connection_id":152179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbc8000012db7b30005d0f5600026009a28..."} 
[2026-08-11 13:03:57] local.INFO: Packet analysis {"connection_id":152179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbc"} 
[2026-08-11 13:03:57] local.INFO: Extracted packet for processing {"connection_id":152179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbc"} 
[2026-08-11 13:03:57] local.INFO: GPS Element Parsed {"raw_longitude":767013632,"raw_latitude":97580384,"longitude_deg":76.7013632,"latitude_deg":9.7580384,"altitude":38,"angle":154,"satellites":40,"speed":44,"hex_longitude":"2db7b300","hex_latitude":"05d0f560","is_valid_coordinates":true} 
[2026-08-11 13:03: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-08-11 13:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326983168001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377571210646519808,"note":"Value kept but may cause issues"} 
[2026-08-11 13:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5214464656070612992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786433536000,"timestamp_ms":1786433536000,"timestamp_seconds":1786433536,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbc8000"} 
[2026-08-11 13:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13:03: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":228,"data_length":795,"current_offset":136} 
[2026-08-11 13:03:57] 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-08-11 13:03: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-08-11 13:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:03:57] 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-08-11 13:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326983168001,"66":27800,"48":206,"83":17920,"24":44,"16":377571210646519808,"45":-5214464656070612992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,83,24,16,45]} 
[2026-08-11 13:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326983168001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:03:57] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-11 13:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 13:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377571210646519808,"km_value":377571210646519.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5214464656070612992,"description":"Unknown IO ID 45"} 
[2026-08-11 13:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326983168001,"power":27800,"unknown_48":206,"unknown_83":17920,"ignition":44,"odometer":null,"unknown_45":-5214464656070612992}} 
[2026-08-11 13:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":152179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:03:57] local.INFO: GPS data processed {"connection_id":152179,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:03:57] local.INFO: Acknowledgment sent {"connection_id":152179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:04:16] local.INFO: TCP Data received {"connection_id":152553,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:04:16] local.INFO: Processing buffer {"connection_id":152553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:04:16] local.INFO: IMEI packet received {"connection_id":152553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":152553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:04:19] local.INFO: TCP Data received {"connection_id":152554,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:04:19] local.INFO: Processing buffer {"connection_id":152554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:04:19] local.INFO: IMEI packet received {"connection_id":152554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":152554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:04:21] local.INFO: TCP Data received {"connection_id":152553,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:04:21] local.INFO: Processing buffer {"connection_id":152553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:04:21] local.INFO: IMEI packet received {"connection_id":152553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":152553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:04:22] local.INFO: TCP Data received {"connection_id":152553,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefba4998012d1b7040072598a8001a012e20..."} 
[2026-08-11 13:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefba4998012d1b7040072598a8001a012e20..."} 
[2026-08-11 13:04:22] local.INFO: Processing buffer {"connection_id":152553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefba4998012d1b7040072598a8001a012e20..."} 
[2026-08-11 13:04:22] local.INFO: Packet analysis {"connection_id":152553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefba"} 
[2026-08-11 13:04:22] local.INFO: Extracted packet for processing {"connection_id":152553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefba"} 
[2026-08-11 13:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119904424,"longitude_deg":75.6772928,"latitude_deg":11.9904424,"altitude":26,"angle":302,"satellites":32,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"072598a8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326942720001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575254690299904,"note":"Value kept but may cause issues"} 
[2026-08-11 13:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635855357952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:04:22] 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-08-11 13:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786433391000,"timestamp_ms":1786433391000,"timestamp_seconds":1786433391,"priority":1,"record_length":96,"hex_timestamp":"0000019fefba4998"} 
[2026-08-11 13:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:04:22] 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-08-11 13: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-11 13:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 13: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-08-11 13:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326942720001,"66":12439,"92":206,"28":31744,"24":0,"16":11575254690299904,"45":1977150635855357952},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326942720001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:04:22] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:04:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575254690299904,"km_value":11575254690299.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635855357952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326942720001,"power":12439,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977150635855357952}} 
[2026-08-11 13:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":152553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:04:22] local.INFO: GPS data processed {"connection_id":152553,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:04:22] local.INFO: Acknowledgment sent {"connection_id":152553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:04:23] local.INFO: TCP Data received {"connection_id":152553,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefba9ba0012d1b7040072598a8001a012e25..."} 
[2026-08-11 13:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefba9ba0012d1b7040072598a8001a012e25..."} 
[2026-08-11 13:04:23] local.INFO: Processing buffer {"connection_id":152553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefba9ba0012d1b7040072598a8001a012e25..."} 
[2026-08-11 13:04:23] local.INFO: Packet analysis {"connection_id":152553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefba"} 
[2026-08-11 13:04:23] local.INFO: Extracted packet for processing {"connection_id":152553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefba"} 
[2026-08-11 13:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119904424,"longitude_deg":75.6772928,"latitude_deg":11.9904424,"altitude":26,"angle":302,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"072598a8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326948096001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575254690299904,"note":"Value kept but may cause issues"} 
[2026-08-11 13:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635855357952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:04:23] 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-08-11 13:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786433412000,"timestamp_ms":1786433412000,"timestamp_seconds":1786433412,"priority":1,"record_length":96,"hex_timestamp":"0000019fefba9ba0"} 
[2026-08-11 13:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:04: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-08-11 13: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-11 13:04:23] 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-08-11 13: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-08-11 13:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326948096001,"66":12363,"92":206,"28":31744,"24":0,"16":11575254690299904,"45":1977150635855357952},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326948096001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:04:23] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:04:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575254690299904,"km_value":11575254690299.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635855357952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326948096001,"power":12363,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977150635855357952}} 
[2026-08-11 13:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":152553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:04:23] local.INFO: GPS data processed {"connection_id":152553,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:04:23] local.INFO: Acknowledgment sent {"connection_id":152553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:04:24] local.INFO: TCP Data received {"connection_id":152554,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:04:24] local.INFO: Processing buffer {"connection_id":152554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:04:24] local.INFO: IMEI packet received {"connection_id":152554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":152554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:04:25] local.INFO: TCP Data received {"connection_id":152554,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbc8fa0012db7b90005d0e488002600a92a..."} 
[2026-08-11 13:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbc8fa0012db7b90005d0e488002600a92a..."} 
[2026-08-11 13:04:25] local.INFO: Processing buffer {"connection_id":152554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbc8fa0012db7b90005d0e488002600a92a..."} 
[2026-08-11 13:04:25] local.INFO: Packet analysis {"connection_id":152554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbc"} 
[2026-08-11 13:04:25] local.INFO: Extracted packet for processing {"connection_id":152554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbc"} 
[2026-08-11 13:04:25] local.INFO: GPS Element Parsed {"raw_longitude":767015168,"raw_latitude":97576072,"longitude_deg":76.7015168,"latitude_deg":9.7576072,"altitude":38,"angle":169,"satellites":42,"speed":45,"hex_longitude":"2db7b900","hex_latitude":"05d0e488","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326985216001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377571433984819200,"note":"Value kept but may cause issues"} 
[2026-08-11 13:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5209820318956953600,"note":"Value kept but may cause issues"} 
[2026-08-11 13:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786433540000,"timestamp_ms":1786433540000,"timestamp_seconds":1786433540,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbc8fa0"} 
[2026-08-11 13:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 13:04:25] 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-08-11 13: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-08-11 13:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:04:25] 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-08-11 13:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326985216001,"66":27365,"48":206,"83":17920,"24":45,"16":377571433984819200,"45":-5209820318956953600},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,83,24,16,45]} 
[2026-08-11 13:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326985216001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:04:25] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-11 13:04:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-08-11 13:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377571433984819200,"km_value":377571433984819.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5209820318956953600,"description":"Unknown IO ID 45"} 
[2026-08-11 13:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326985216001,"power":27365,"unknown_48":206,"unknown_83":17920,"ignition":45,"odometer":null,"unknown_45":-5209820318956953600}} 
[2026-08-11 13:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":152554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:04:25] local.INFO: GPS data processed {"connection_id":152554,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:04:25] local.INFO: Acknowledgment sent {"connection_id":152554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:04:55] local.INFO: TCP Data received {"connection_id":152553,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbaeda8012d1b7040072598a8001a012e28..."} 
[2026-08-11 13:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbaeda8012d1b7040072598a8001a012e28..."} 
[2026-08-11 13:04:55] local.INFO: Processing buffer {"connection_id":152553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbaeda8012d1b7040072598a8001a012e28..."} 
[2026-08-11 13:04:55] local.INFO: Packet analysis {"connection_id":152553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefba"} 
[2026-08-11 13:04:55] local.INFO: Extracted packet for processing {"connection_id":152553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefba"} 
[2026-08-11 13:04:55] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119904424,"longitude_deg":75.6772928,"latitude_deg":11.9904424,"altitude":26,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"072598a8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326953472001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575254690299904,"note":"Value kept but may cause issues"} 
[2026-08-11 13:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635855357952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:04: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-08-11 13:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786433433000,"timestamp_ms":1786433433000,"timestamp_seconds":1786433433,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbaeda8"} 
[2026-08-11 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-08-11 13:04: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-08-11 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-11 13:04:55] 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-08-11 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-08-11 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-08-11 13:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326953472001,"66":12341,"92":206,"28":31744,"24":0,"16":11575254690299904,"45":1977150635855357952},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326953472001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:04:55] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:04:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575254690299904,"km_value":11575254690299.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635855357952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326953472001,"power":12341,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977150635855357952}} 
[2026-08-11 13:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":152553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:04:55] local.INFO: GPS data processed {"connection_id":152553,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:04:55] local.INFO: Acknowledgment sent {"connection_id":152553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:04:56] local.INFO: TCP Data received {"connection_id":152554,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbc9f40012db7b9c005d0d2c0002600b52b..."} 
[2026-08-11 13:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbc9f40012db7b9c005d0d2c0002600b52b..."} 
[2026-08-11 13:04:56] local.INFO: Processing buffer {"connection_id":152554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbc9f40012db7b9c005d0d2c0002600b52b..."} 
[2026-08-11 13:04:56] local.INFO: Packet analysis {"connection_id":152554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbc"} 
[2026-08-11 13:04:56] local.INFO: Extracted packet for processing {"connection_id":152554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbc"} 
[2026-08-11 13:04:56] local.INFO: GPS Element Parsed {"raw_longitude":767015360,"raw_latitude":97571520,"longitude_deg":76.701536,"latitude_deg":9.757152,"altitude":38,"angle":181,"satellites":43,"speed":45,"hex_longitude":"2db7b9c0","hex_latitude":"05d0d2c0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326986240001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377571657323118592,"note":"Value kept but may cause issues"} 
[2026-08-11 13:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5208131469097793536,"note":"Value kept but may cause issues"} 
[2026-08-11 13:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786433544000,"timestamp_ms":1786433544000,"timestamp_seconds":1786433544,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbc9f40"} 
[2026-08-11 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-08-11 13:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 13:04:56] 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-08-11 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-08-11 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-08-11 13:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:04:56] 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-08-11 13:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326986240001,"66":27713,"25":206,"83":18688,"24":45,"16":377571657323118592,"45":-5208131469097793536},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-11 13:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326986240001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:04:56] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-11 13:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377571657323118592,"km_value":377571657323118.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5208131469097793536,"description":"Unknown IO ID 45"} 
[2026-08-11 13:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326986240001,"power":27713,"unknown_25":206,"unknown_83":18688,"ignition":45,"odometer":null,"unknown_45":-5208131469097793536}} 
[2026-08-11 13:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":152554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:04:56] local.INFO: GPS data processed {"connection_id":152554,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:04:56] local.INFO: Acknowledgment sent {"connection_id":152554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:05:10] local.INFO: TCP Data received {"connection_id":152180,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:05:10] local.INFO: Processing buffer {"connection_id":152180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:05:10] local.INFO: IMEI packet received {"connection_id":152180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":152180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:05:10] local.INFO: TCP Data received {"connection_id":152180,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:05:10] local.INFO: Processing buffer {"connection_id":152180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:05:10] local.INFO: IMEI packet received {"connection_id":152180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":152180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:05:16] local.INFO: TCP Data received {"connection_id":152180,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:05:16] local.INFO: Processing buffer {"connection_id":152180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:05:16] local.INFO: IMEI packet received {"connection_id":152180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":152180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:05:17] local.INFO: TCP Data received {"connection_id":152180,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbb3fb0012d1b7040072598a8001a012e26..."} 
[2026-08-11 13:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbb3fb0012d1b7040072598a8001a012e26..."} 
[2026-08-11 13:05:17] local.INFO: Processing buffer {"connection_id":152180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbb3fb0012d1b7040072598a8001a012e26..."} 
[2026-08-11 13:05:17] local.INFO: Packet analysis {"connection_id":152180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbb"} 
[2026-08-11 13:05:17] local.INFO: Extracted packet for processing {"connection_id":152180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbb"} 
[2026-08-11 13:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119904424,"longitude_deg":75.6772928,"latitude_deg":11.9904424,"altitude":26,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"072598a8","is_valid_coordinates":true} 
[2026-08-11 13:05: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-08-11 13:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326958848001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575254690299904,"note":"Value kept but may cause issues"} 
[2026-08-11 13:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635855357952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:05:17] 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-08-11 13:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786433454000,"timestamp_ms":1786433454000,"timestamp_seconds":1786433454,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbb3fb0"} 
[2026-08-11 13:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:05:17] 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-08-11 13:05: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-11 13:05:17] 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-08-11 13:05: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-08-11 13:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326958848001,"66":12385,"92":206,"28":31744,"24":0,"16":11575254690299904,"45":1977150635855357952},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326958848001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:05:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:05:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575254690299904,"km_value":11575254690299.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635855357952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326958848001,"power":12385,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977150635855357952}} 
[2026-08-11 13:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":152180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:05:17] local.INFO: GPS data processed {"connection_id":152180,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:05:17] local.INFO: Acknowledgment sent {"connection_id":152180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:05:19] local.INFO: TCP Data received {"connection_id":152181,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:05:19] local.INFO: Processing buffer {"connection_id":152181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:05:19] local.INFO: IMEI packet received {"connection_id":152181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":152181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:05:20] local.INFO: TCP Data received {"connection_id":152181,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:05:20] local.INFO: Processing buffer {"connection_id":152181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:05:20] local.INFO: IMEI packet received {"connection_id":152181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":152181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:05:24] local.INFO: TCP Data received {"connection_id":152181,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:05:24] local.INFO: Processing buffer {"connection_id":152181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:05:24] local.INFO: IMEI packet received {"connection_id":152181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":152181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:05:24] local.INFO: TCP Data received {"connection_id":152181,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbe50d8012db7da0005cf4bb0003200ac2b..."} 
[2026-08-11 13:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbe50d8012db7da0005cf4bb0003200ac2b..."} 
[2026-08-11 13:05:24] local.INFO: Processing buffer {"connection_id":152181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbe50d8012db7da0005cf4bb0003200ac2b..."} 
[2026-08-11 13:05:24] local.INFO: Packet analysis {"connection_id":152181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbe"} 
[2026-08-11 13:05:24] local.INFO: Extracted packet for processing {"connection_id":152181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbe"} 
[2026-08-11 13:05:24] local.INFO: GPS Element Parsed {"raw_longitude":767023616,"raw_latitude":97471408,"longitude_deg":76.7023616,"latitude_deg":9.7471408,"altitude":50,"angle":172,"satellites":43,"speed":39,"hex_longitude":"2db7da00","hex_latitude":"05cf4bb0","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327013376001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377576544995901440,"note":"Value kept but may cause issues"} 
[2026-08-11 13:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5199898326053388288,"note":"Value kept but may cause issues"} 
[2026-08-11 13:05:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 13:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786433655000,"timestamp_ms":1786433655000,"timestamp_seconds":1786433655,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbe50d8"} 
[2026-08-11 13:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 13:05:24] 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-08-11 13: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-08-11 13:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:05:24] 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-08-11 13:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327013376001,"66":27865,"24":39,"83":18688,"16":377576544995901440,"45":-5199898326053388288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-08-11 13:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327013376001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:05:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377576544995901440,"km_value":377576544995901.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5199898326053388288,"description":"Unknown IO ID 45"} 
[2026-08-11 13:05:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457327013376001,"power":27865,"ignition":39,"unknown_83":18688,"odometer":null,"unknown_45":-5199898326053388288}} 
[2026-08-11 13:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":152181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:05:24] local.INFO: GPS data processed {"connection_id":152181,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:05:24] local.INFO: Acknowledgment sent {"connection_id":152181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:05:53] local.INFO: TCP Data received {"connection_id":152180,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbb91b8012d1b7040072598a8001a012e24..."} 
[2026-08-11 13:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbb91b8012d1b7040072598a8001a012e24..."} 
[2026-08-11 13:05:53] local.INFO: Processing buffer {"connection_id":152180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbb91b8012d1b7040072598a8001a012e24..."} 
[2026-08-11 13:05:53] local.INFO: Packet analysis {"connection_id":152180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbb"} 
[2026-08-11 13:05:53] local.INFO: Extracted packet for processing {"connection_id":152180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbb"} 
[2026-08-11 13:05:53] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119904424,"longitude_deg":75.6772928,"latitude_deg":11.9904424,"altitude":26,"angle":302,"satellites":36,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"072598a8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457326964224001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575254690299904,"note":"Value kept but may cause issues"} 
[2026-08-11 13:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635855357952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:05:53] 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-08-11 13:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786433475000,"timestamp_ms":1786433475000,"timestamp_seconds":1786433475,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbb91b8"} 
[2026-08-11 13:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:05:53] 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-08-11 13: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 13:05: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-08-11 13: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-08-11 13:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457326964224001,"66":12385,"92":206,"28":31744,"24":0,"16":11575254690299904,"45":1977150635855357952},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457326964224001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:05:53] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:05:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575254690299904,"km_value":11575254690299.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635855357952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457326964224001,"power":12385,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977150635855357952}} 
[2026-08-11 13:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":152180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:05:53] local.INFO: GPS data processed {"connection_id":152180,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:05:53] local.INFO: Acknowledgment sent {"connection_id":152180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:05:55] local.INFO: TCP Data received {"connection_id":152181,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbe7400012db7dec005cf2890003400ac29..."} 
[2026-08-11 13:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbe7400012db7dec005cf2890003400ac29..."} 
[2026-08-11 13:05:55] local.INFO: Processing buffer {"connection_id":152181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbe7400012db7dec005cf2890003400ac29..."} 
[2026-08-11 13:05:55] local.INFO: Packet analysis {"connection_id":152181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbe"} 
[2026-08-11 13:05:55] local.INFO: Extracted packet for processing {"connection_id":152181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbe"} 
[2026-08-11 13:05:55] local.INFO: GPS Element Parsed {"raw_longitude":767024832,"raw_latitude":97462416,"longitude_deg":76.7024832,"latitude_deg":9.7462416,"altitude":52,"angle":172,"satellites":41,"speed":38,"hex_longitude":"2db7dec0","hex_latitude":"05cf2890","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327015680001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377576983082565632,"note":"Value kept but may cause issues"} 
[2026-08-11 13:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5198842794893135872,"note":"Value kept but may cause issues"} 
[2026-08-11 13:05:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 13:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786433664000,"timestamp_ms":1786433664000,"timestamp_seconds":1786433664,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbe7400"} 
[2026-08-11 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-08-11 13:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 13:05:55] 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-08-11 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-08-11 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-08-11 13:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:05:55] 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-08-11 13:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327015680001,"66":27821,"24":38,"83":18688,"16":377576983082565632,"45":-5198842794893135872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-08-11 13:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327015680001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:05:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377576983082565632,"km_value":377576983082565.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5198842794893135872,"description":"Unknown IO ID 45"} 
[2026-08-11 13:05:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457327015680001,"power":27821,"ignition":38,"unknown_83":18688,"odometer":null,"unknown_45":-5198842794893135872}} 
[2026-08-11 13:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":152181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:05:55] local.INFO: GPS data processed {"connection_id":152181,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:05:55] local.INFO: Acknowledgment sent {"connection_id":152181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:06:10] local.INFO: TCP Data received {"connection_id":153506,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:06:10] local.INFO: Processing buffer {"connection_id":153506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:06:10] local.INFO: IMEI packet received {"connection_id":153506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":153506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:06:13] local.INFO: TCP Data received {"connection_id":153506,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:06:13] local.INFO: Processing buffer {"connection_id":153506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:06:13] local.INFO: IMEI packet received {"connection_id":153506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":153506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:06:16] local.INFO: TCP Data received {"connection_id":153506,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:06:16] local.INFO: Processing buffer {"connection_id":153506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:06:16] local.INFO: IMEI packet received {"connection_id":153506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":153506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:06:18] local.INFO: TCP Data received {"connection_id":153506,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbee160012d1b734007259668002b008124..."} 
[2026-08-11 13:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbee160012d1b734007259668002b008124..."} 
[2026-08-11 13:06:18] local.INFO: Processing buffer {"connection_id":153506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbee160012d1b734007259668002b008124..."} 
[2026-08-11 13:06:18] local.INFO: Packet analysis {"connection_id":153506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbe"} 
[2026-08-11 13:06:18] local.INFO: Extracted packet for processing {"connection_id":153506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbe"} 
[2026-08-11 13:06:18] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:06: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-08-11 13:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327019776001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:06:18] 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-08-11 13:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786433692000,"timestamp_ms":1786433692000,"timestamp_seconds":1786433692,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbee160"} 
[2026-08-11 13:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:06:18] 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-08-11 13:06: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-11 13:06:18] 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-08-11 13:06: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-08-11 13:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327019776001,"66":11971,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327019776001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:06:18] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:06:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327019776001,"power":11971,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":153506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:06:18] local.INFO: GPS data processed {"connection_id":153506,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:06:18] local.INFO: Acknowledgment sent {"connection_id":153506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:06:22] local.INFO: TCP Data received {"connection_id":152555,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:06:22] local.INFO: Processing buffer {"connection_id":152555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:06:22] local.INFO: IMEI packet received {"connection_id":152555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":152555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:06:34] local.INFO: TCP Data received {"connection_id":152555,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:06:34] local.INFO: Processing buffer {"connection_id":152555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:06:34] local.INFO: IMEI packet received {"connection_id":152555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":152555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:06:35] local.INFO: TCP Data received {"connection_id":152555,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:06:35] local.INFO: Processing buffer {"connection_id":152555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:06:35] local.INFO: IMEI packet received {"connection_id":152555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":152555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:06:35] local.INFO: TCP Data received {"connection_id":152555,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbf79b8012db72d8005ce8548003600ea28..."} 
[2026-08-11 13:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbf79b8012db72d8005ce8548003600ea28..."} 
[2026-08-11 13:06:35] local.INFO: Processing buffer {"connection_id":152555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbf79b8012db72d8005ce8548003600ea28..."} 
[2026-08-11 13:06:35] local.INFO: Packet analysis {"connection_id":152555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbf"} 
[2026-08-11 13:06:35] local.INFO: Extracted packet for processing {"connection_id":152555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbf"} 
[2026-08-11 13:06:35] local.INFO: GPS Element Parsed {"raw_longitude":766979456,"raw_latitude":97420616,"longitude_deg":76.6979456,"latitude_deg":9.7420616,"altitude":54,"angle":234,"satellites":40,"speed":45,"hex_longitude":"2db72d80","hex_latitude":"05ce8548","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327033088001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377580139883528192,"note":"Value kept but may cause issues"} 
[2026-08-11 13:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5238108554156134400,"note":"Value kept but may cause issues"} 
[2026-08-11 13:06:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 13:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786433731000,"timestamp_ms":1786433731000,"timestamp_seconds":1786433731,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbf79b8"} 
[2026-08-11 13:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 13:06: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-08-11 13: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-08-11 13:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:06:35] 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-08-11 13:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327033088001,"66":27626,"24":45,"83":18688,"16":377580139883528192,"45":-5238108554156134400},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-08-11 13:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327033088001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:06:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377580139883528192,"km_value":377580139883528.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5238108554156134400,"description":"Unknown IO ID 45"} 
[2026-08-11 13:06:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457327033088001,"power":27626,"ignition":45,"unknown_83":18688,"odometer":null,"unknown_45":-5238108554156134400}} 
[2026-08-11 13:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":152555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:06:35] local.INFO: GPS data processed {"connection_id":152555,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:06:35] local.INFO: Acknowledgment sent {"connection_id":152555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:06:36] local.INFO: TCP Data received {"connection_id":152555,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbf79b8012db72d8005ce8548003600ea28..."} 
[2026-08-11 13:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbf79b8012db72d8005ce8548003600ea28..."} 
[2026-08-11 13:06:36] local.INFO: Processing buffer {"connection_id":152555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbf79b8012db72d8005ce8548003600ea28..."} 
[2026-08-11 13:06:36] local.INFO: Packet analysis {"connection_id":152555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbf"} 
[2026-08-11 13:06:36] local.INFO: Extracted packet for processing {"connection_id":152555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbf"} 
[2026-08-11 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":766979456,"raw_latitude":97420616,"longitude_deg":76.6979456,"latitude_deg":9.7420616,"altitude":54,"angle":234,"satellites":40,"speed":45,"hex_longitude":"2db72d80","hex_latitude":"05ce8548","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327035136001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377580139883528192,"note":"Value kept but may cause issues"} 
[2026-08-11 13:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5247397228388726784,"note":"Value kept but may cause issues"} 
[2026-08-11 13:06:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 13:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786433731000,"timestamp_ms":1786433731000,"timestamp_seconds":1786433731,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbf79b8"} 
[2026-08-11 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-08-11 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-11 13:06: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-08-11 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-08-11 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-08-11 13:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:06:36] 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-08-11 13:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327035136001,"66":27626,"24":45,"83":18688,"16":377580139883528192,"45":-5247397228388726784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-08-11 13:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327035136001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377580139883528192,"km_value":377580139883528.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5247397228388726784,"description":"Unknown IO ID 45"} 
[2026-08-11 13:06:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457327035136001,"power":27626,"ignition":45,"unknown_83":18688,"odometer":null,"unknown_45":-5247397228388726784}} 
[2026-08-11 13:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":152555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:06:36] local.INFO: GPS data processed {"connection_id":152555,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:06:36] local.INFO: Acknowledgment sent {"connection_id":152555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:06:54] local.INFO: TCP Data received {"connection_id":153506,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbf3368012d1b734007259668002b008126..."} 
[2026-08-11 13:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbf3368012d1b734007259668002b008126..."} 
[2026-08-11 13:06:54] local.INFO: Processing buffer {"connection_id":153506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbf3368012d1b734007259668002b008126..."} 
[2026-08-11 13:06:54] local.INFO: Packet analysis {"connection_id":153506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbf"} 
[2026-08-11 13:06:54] local.INFO: Extracted packet for processing {"connection_id":153506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbf"} 
[2026-08-11 13:06:54] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327025152001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:06: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-08-11 13:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786433713000,"timestamp_ms":1786433713000,"timestamp_seconds":1786433713,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbf3368"} 
[2026-08-11 13:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:06:54] 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-08-11 13: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":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 13:06: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-08-11 13: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-08-11 13:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":153506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":153506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":153506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327025152001,"66":12341,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327025152001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:06:54] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:06:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327025152001,"power":12341,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":153506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:06:54] local.INFO: GPS data processed {"connection_id":153506,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:06:54] local.INFO: Acknowledgment sent {"connection_id":153506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:07:10] local.INFO: TCP Data received {"connection_id":152556,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:07:10] local.INFO: Processing buffer {"connection_id":152556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:07:10] local.INFO: IMEI packet received {"connection_id":152556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":152556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:07:16] local.INFO: TCP Data received {"connection_id":152556,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:07:16] local.INFO: Processing buffer {"connection_id":152556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:07:16] local.INFO: IMEI packet received {"connection_id":152556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":152556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:07:17] local.INFO: TCP Data received {"connection_id":152556,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbf8570012d1b734007259668002b008123..."} 
[2026-08-11 13:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbf8570012d1b734007259668002b008123..."} 
[2026-08-11 13:07:17] local.INFO: Processing buffer {"connection_id":152556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbf8570012d1b734007259668002b008123..."} 
[2026-08-11 13:07:17] local.INFO: Packet analysis {"connection_id":152556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbf"} 
[2026-08-11 13:07:17] local.INFO: Extracted packet for processing {"connection_id":152556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbf"} 
[2026-08-11 13:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327030528001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:07:17] 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-08-11 13:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786433734000,"timestamp_ms":1786433734000,"timestamp_seconds":1786433734,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbf8570"} 
[2026-08-11 13:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:07:17] 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-08-11 13: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-11 13:07:17] 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-08-11 13: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-08-11 13:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327030528001,"66":11830,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327030528001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:07:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:07:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327030528001,"power":11830,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":152556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:07:17] local.INFO: GPS data processed {"connection_id":152556,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:07:17] local.INFO: Acknowledgment sent {"connection_id":152556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:07:19] local.INFO: TCP Data received {"connection_id":152557,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:07:19] local.INFO: Processing buffer {"connection_id":152557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:07:19] local.INFO: IMEI packet received {"connection_id":152557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":152557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:07:21] local.INFO: TCP Data received {"connection_id":152557,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:07:21] local.INFO: Processing buffer {"connection_id":152557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:07:21] local.INFO: IMEI packet received {"connection_id":152557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":152557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:07:26] local.INFO: TCP Data received {"connection_id":152557,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:07:26] local.INFO: Processing buffer {"connection_id":152557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:07:26] local.INFO: IMEI packet received {"connection_id":152557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":152557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:07:27] local.INFO: TCP Data received {"connection_id":152557,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbf9510012db713c005ce7618003900f627..."} 
[2026-08-11 13:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbf9510012db713c005ce7618003900f627..."} 
[2026-08-11 13:07:27] local.INFO: Processing buffer {"connection_id":152557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbf9510012db713c005ce7618003900f627..."} 
[2026-08-11 13:07:27] local.INFO: Packet analysis {"connection_id":152557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbf"} 
[2026-08-11 13:07:27] local.INFO: Extracted packet for processing {"connection_id":152557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbf"} 
[2026-08-11 13:07:27] local.INFO: GPS Element Parsed {"raw_longitude":766972864,"raw_latitude":97416728,"longitude_deg":76.6972864,"latitude_deg":9.7416728,"altitude":57,"angle":246,"satellites":39,"speed":41,"hex_longitude":"2db713c0","hex_latitude":"05ce7618","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327035136001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377580504955748352,"note":"Value kept but may cause issues"} 
[2026-08-11 13:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5247397228388726784,"note":"Value kept but may cause issues"} 
[2026-08-11 13:07:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 13:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786433738000,"timestamp_ms":1786433738000,"timestamp_seconds":1786433738,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbf9510"} 
[2026-08-11 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-08-11 13:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-11 13:07:27] 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-08-11 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-08-11 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-08-11 13:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:07:27] 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-08-11 13:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327035136001,"66":27767,"24":41,"83":18688,"16":377580504955748352,"45":-5247397228388726784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-08-11 13:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327035136001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:07:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377580504955748352,"km_value":377580504955748.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5247397228388726784,"description":"Unknown IO ID 45"} 
[2026-08-11 13:07:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457327035136001,"power":27767,"ignition":41,"unknown_83":18688,"odometer":null,"unknown_45":-5247397228388726784}} 
[2026-08-11 13:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":152557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:07:27] local.INFO: GPS data processed {"connection_id":152557,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:07:27] local.INFO: Acknowledgment sent {"connection_id":152557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:07:49] local.INFO: TCP Data received {"connection_id":152556,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefbfd778012d1b734007259668002b008121..."} 
[2026-08-11 13:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefbfd778012d1b734007259668002b008121..."} 
[2026-08-11 13:07:49] local.INFO: Processing buffer {"connection_id":152556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefbfd778012d1b734007259668002b008121..."} 
[2026-08-11 13:07:49] local.INFO: Packet analysis {"connection_id":152556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefbf"} 
[2026-08-11 13:07:49] local.INFO: Extracted packet for processing {"connection_id":152556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefbf"} 
[2026-08-11 13:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":33,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:07: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-08-11 13:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327035904001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:07:49] 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-08-11 13:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786433755000,"timestamp_ms":1786433755000,"timestamp_seconds":1786433755,"priority":1,"record_length":96,"hex_timestamp":"0000019fefbfd778"} 
[2026-08-11 13:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:07:49] 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-08-11 13:07: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-11 13:07:49] 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-08-11 13:07: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-08-11 13:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327035904001,"66":12374,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327035904001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:07:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:07:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327035904001,"power":12374,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":152556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:07:49] local.INFO: GPS data processed {"connection_id":152556,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:07:49] local.INFO: Acknowledgment sent {"connection_id":152556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:07:58] local.INFO: TCP Data received {"connection_id":152557,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc0d948012db5fc4005ce5f58001b00b126..."} 
[2026-08-11 13:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc0d948012db5fc4005ce5f58001b00b126..."} 
[2026-08-11 13:07:58] local.INFO: Processing buffer {"connection_id":152557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc0d948012db5fc4005ce5f58001b00b126..."} 
[2026-08-11 13:07:58] local.INFO: Packet analysis {"connection_id":152557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc0"} 
[2026-08-11 13:07:58] local.INFO: Extracted packet for processing {"connection_id":152557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc0"} 
[2026-08-11 13:07:58] local.INFO: GPS Element Parsed {"raw_longitude":766901312,"raw_latitude":97410904,"longitude_deg":76.6901312,"latitude_deg":9.7410904,"altitude":27,"angle":177,"satellites":38,"speed":34,"hex_longitude":"2db5fc40","hex_latitude":"05ce5f58","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327057664001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377584164267884544,"note":"Value kept but may cause issues"} 
[2026-08-11 13:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5333106358799175680,"note":"Value kept but may cause issues"} 
[2026-08-11 13:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786433821000,"timestamp_ms":1786433821000,"timestamp_seconds":1786433821,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc0d948"} 
[2026-08-11 13:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 13:07:58] 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-08-11 13: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-08-11 13:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:07:58] 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-08-11 13:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327057664001,"66":26767,"11":206,"83":18688,"24":34,"16":377584164267884544,"45":-5333106358799175680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-11 13:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327057664001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:07:58] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-11 13:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377584164267884544,"km_value":377584164267884.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5333106358799175680,"description":"Unknown IO ID 45"} 
[2026-08-11 13:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327057664001,"power":26767,"unknown_11":206,"unknown_83":18688,"ignition":34,"odometer":null,"unknown_45":-5333106358799175680}} 
[2026-08-11 13:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":152557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:07:58] local.INFO: GPS data processed {"connection_id":152557,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:07:58] local.INFO: Acknowledgment sent {"connection_id":152557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:08:10] local.INFO: TCP Data received {"connection_id":152182,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:08:10] local.INFO: Processing buffer {"connection_id":152182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:08:10] local.INFO: IMEI packet received {"connection_id":152182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":152182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:08:16] local.INFO: TCP Data received {"connection_id":152182,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:08:16] local.INFO: Processing buffer {"connection_id":152182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:08:16] local.INFO: IMEI packet received {"connection_id":152182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":152182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:08:17] local.INFO: TCP Data received {"connection_id":152182,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc02980012d1b734007259668002b008124..."} 
[2026-08-11 13:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc02980012d1b734007259668002b008124..."} 
[2026-08-11 13:08:17] local.INFO: Processing buffer {"connection_id":152182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc02980012d1b734007259668002b008124..."} 
[2026-08-11 13:08:17] local.INFO: Packet analysis {"connection_id":152182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc0"} 
[2026-08-11 13:08:17] local.INFO: Extracted packet for processing {"connection_id":152182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc0"} 
[2026-08-11 13:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:08: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-08-11 13:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327041280001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:08:17] 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-08-11 13:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786433776000,"timestamp_ms":1786433776000,"timestamp_seconds":1786433776,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc02980"} 
[2026-08-11 13:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:08:17] 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-08-11 13:08: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-11 13:08:17] 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-08-11 13:08: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-08-11 13:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327041280001,"66":12363,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327041280001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:08:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:08:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327041280001,"power":12363,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":152182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:08:17] local.INFO: GPS data processed {"connection_id":152182,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:08:17] local.INFO: Acknowledgment sent {"connection_id":152182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:08:19] local.INFO: TCP Data received {"connection_id":154882,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:08:19] local.INFO: Processing buffer {"connection_id":154882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:08:19] local.INFO: IMEI packet received {"connection_id":154882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":154882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:08:20] local.INFO: TCP Data received {"connection_id":154882,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:08:20] local.INFO: Processing buffer {"connection_id":154882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:08:20] local.INFO: IMEI packet received {"connection_id":154882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":154882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:08:23] local.INFO: TCP Data received {"connection_id":154882,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:08:23] local.INFO: Processing buffer {"connection_id":154882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:08:23] local.INFO: IMEI packet received {"connection_id":154882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":154882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:08:24] local.INFO: TCP Data received {"connection_id":154882,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:08:24] local.INFO: Processing buffer {"connection_id":154882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:08:24] local.INFO: IMEI packet received {"connection_id":154882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":154882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:08:25] local.INFO: TCP Data received {"connection_id":154882,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc10058012db6014005ce39a0001b00ab2a..."} 
[2026-08-11 13:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc10058012db6014005ce39a0001b00ab2a..."} 
[2026-08-11 13:08:25] local.INFO: Processing buffer {"connection_id":154882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc10058012db6014005ce39a0001b00ab2a..."} 
[2026-08-11 13:08:25] local.INFO: Packet analysis {"connection_id":154882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc1"} 
[2026-08-11 13:08:25] local.INFO: Extracted packet for processing {"connection_id":154882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc1"} 
[2026-08-11 13:08:25] local.INFO: GPS Element Parsed {"raw_longitude":766902592,"raw_latitude":97401248,"longitude_deg":76.6902592,"latitude_deg":9.7401248,"altitude":27,"angle":171,"satellites":42,"speed":41,"hex_longitude":"2db60140","hex_latitude":"05ce39a0","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327058176001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377584636714287104,"note":"Value kept but may cause issues"} 
[2026-08-11 13:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5333317465032140800,"note":"Value kept but may cause issues"} 
[2026-08-11 13:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786433831000,"timestamp_ms":1786433831000,"timestamp_seconds":1786433831,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc10058"} 
[2026-08-11 13:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-11 13:08:25] 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-08-11 13: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-08-11 13:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:08:25] 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-08-11 13:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327058176001,"66":27604,"11":206,"83":18688,"24":41,"16":377584636714287104,"45":-5333317465032140800},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-11 13:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327058176001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:08:25] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-11 13:08:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377584636714287104,"km_value":377584636714287.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5333317465032140800,"description":"Unknown IO ID 45"} 
[2026-08-11 13:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327058176001,"power":27604,"unknown_11":206,"unknown_83":18688,"ignition":41,"odometer":null,"unknown_45":-5333317465032140800}} 
[2026-08-11 13:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":154882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:08:25] local.INFO: GPS data processed {"connection_id":154882,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:08:25] local.INFO: Acknowledgment sent {"connection_id":154882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:08:30] local.INFO: TCP Data received {"connection_id":154882,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc11f98012db6088005ce1b28001f00a02c..."} 
[2026-08-11 13:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc11f98012db6088005ce1b28001f00a02c..."} 
[2026-08-11 13:08:30] local.INFO: Processing buffer {"connection_id":154882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc11f98012db6088005ce1b28001f00a02c..."} 
[2026-08-11 13:08:30] local.INFO: Packet analysis {"connection_id":154882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc1"} 
[2026-08-11 13:08:30] local.INFO: Extracted packet for processing {"connection_id":154882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc1"} 
[2026-08-11 13:08:30] local.INFO: GPS Element Parsed {"raw_longitude":766904448,"raw_latitude":97393448,"longitude_deg":76.6904448,"latitude_deg":9.7393448,"altitude":31,"angle":160,"satellites":44,"speed":35,"hex_longitude":"2db60880","hex_latitude":"05ce1b28","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327060736001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377585023261343744,"note":"Value kept but may cause issues"} 
[2026-08-11 13:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5331910090151059456,"note":"Value kept but may cause issues"} 
[2026-08-11 13:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786433839000,"timestamp_ms":1786433839000,"timestamp_seconds":1786433839,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc11f98"} 
[2026-08-11 13:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 13:08:30] 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-08-11 13:08: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-08-11 13:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:08:30] 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-08-11 13:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327060736001,"66":27908,"11":206,"83":18688,"24":35,"16":377585023261343744,"45":-5331910090151059456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-11 13:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327060736001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:08:30] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-11 13:08:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377585023261343744,"km_value":377585023261343.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5331910090151059456,"description":"Unknown IO ID 45"} 
[2026-08-11 13:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327060736001,"power":27908,"unknown_11":206,"unknown_83":18688,"ignition":35,"odometer":null,"unknown_45":-5331910090151059456}} 
[2026-08-11 13:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":154882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:08:30] local.INFO: GPS data processed {"connection_id":154882,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:08:30] local.INFO: Acknowledgment sent {"connection_id":154882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:08:49] local.INFO: TCP Data received {"connection_id":152182,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc07b88012d1b734007259668002b008126..."} 
[2026-08-11 13:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc07b88012d1b734007259668002b008126..."} 
[2026-08-11 13:08:49] local.INFO: Processing buffer {"connection_id":152182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc07b88012d1b734007259668002b008126..."} 
[2026-08-11 13:08:49] local.INFO: Packet analysis {"connection_id":152182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc0"} 
[2026-08-11 13:08:49] local.INFO: Extracted packet for processing {"connection_id":152182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc0"} 
[2026-08-11 13:08:49] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:08: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-08-11 13:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327046656001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:08:49] 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-08-11 13:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786433797000,"timestamp_ms":1786433797000,"timestamp_seconds":1786433797,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc07b88"} 
[2026-08-11 13:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:08:49] 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-08-11 13:08: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-11 13:08:49] 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-08-11 13:08: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-08-11 13:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327046656001,"66":12374,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327046656001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:08:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:08:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327046656001,"power":12374,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":152182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:08:49] local.INFO: GPS data processed {"connection_id":152182,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:08:49] local.INFO: Acknowledgment sent {"connection_id":152182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:09:07] local.INFO: TCP Data received {"connection_id":154882,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc1db18012db65a4005cd5a68001800a726..."} 
[2026-08-11 13:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc1db18012db65a4005cd5a68001800a726..."} 
[2026-08-11 13:09:07] local.INFO: Processing buffer {"connection_id":154882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc1db18012db65a4005cd5a68001800a726..."} 
[2026-08-11 13:09:07] local.INFO: Packet analysis {"connection_id":154882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc1"} 
[2026-08-11 13:09:07] local.INFO: Extracted packet for processing {"connection_id":154882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc1"} 
[2026-08-11 13:09:07] local.INFO: GPS Element Parsed {"raw_longitude":766925376,"raw_latitude":97344104,"longitude_deg":76.6925376,"latitude_deg":9.7344104,"altitude":24,"angle":167,"satellites":38,"speed":50,"hex_longitude":"2db65a40","hex_latitude":"05cd5a68","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327075072001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377587686141067264,"note":"Value kept but may cause issues"} 
[2026-08-11 13:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5306858817238439936,"note":"Value kept but may cause issues"} 
[2026-08-11 13:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786433887000,"timestamp_ms":1786433887000,"timestamp_seconds":1786433887,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc1db18"} 
[2026-08-11 13:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 13:09: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-08-11 13: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-08-11 13:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":154882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":154882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":154882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:09:07] 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-08-11 13:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327075072001,"66":27865,"11":206,"83":18688,"24":50,"16":377587686141067264,"45":-5306858817238439936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-11 13:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327075072001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:09:07] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-11 13:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377587686141067264,"km_value":377587686141067.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5306858817238439936,"description":"Unknown IO ID 45"} 
[2026-08-11 13:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327075072001,"power":27865,"unknown_11":206,"unknown_83":18688,"ignition":50,"odometer":null,"unknown_45":-5306858817238439936}} 
[2026-08-11 13:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":154882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:09:07] local.INFO: GPS data processed {"connection_id":154882,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:09:07] local.INFO: Acknowledgment sent {"connection_id":154882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:09:10] local.INFO: TCP Data received {"connection_id":152558,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:09:10] local.INFO: Processing buffer {"connection_id":152558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:09:10] local.INFO: IMEI packet received {"connection_id":152558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":152558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:09:16] local.INFO: TCP Data received {"connection_id":152558,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:09:16] local.INFO: Processing buffer {"connection_id":152558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:09:16] local.INFO: IMEI packet received {"connection_id":152558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":152558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:09:17] local.INFO: TCP Data received {"connection_id":152558,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc0cd90012d1b734007259668002b008125..."} 
[2026-08-11 13:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc0cd90012d1b734007259668002b008125..."} 
[2026-08-11 13:09:17] local.INFO: Processing buffer {"connection_id":152558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc0cd90012d1b734007259668002b008125..."} 
[2026-08-11 13:09:17] local.INFO: Packet analysis {"connection_id":152558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc0"} 
[2026-08-11 13:09:17] local.INFO: Extracted packet for processing {"connection_id":152558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc0"} 
[2026-08-11 13:09:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:09: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-08-11 13:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327052032001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:09:17] 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-08-11 13:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786433818000,"timestamp_ms":1786433818000,"timestamp_seconds":1786433818,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc0cd90"} 
[2026-08-11 13:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:09:17] 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-08-11 13:09: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-11 13:09:17] 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-08-11 13:09: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-08-11 13:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327052032001,"66":12341,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327052032001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:09:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:09:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327052032001,"power":12341,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":152558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:09:17] local.INFO: GPS data processed {"connection_id":152558,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:09:17] local.INFO: Acknowledgment sent {"connection_id":152558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:09:19] local.INFO: TCP Data received {"connection_id":153507,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:09:19] local.INFO: Processing buffer {"connection_id":153507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:09:19] local.INFO: IMEI packet received {"connection_id":153507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":153507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:09:20] local.INFO: TCP Data received {"connection_id":153507,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:09:20] local.INFO: Processing buffer {"connection_id":153507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:09:20] local.INFO: IMEI packet received {"connection_id":153507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":153507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:09:25] local.INFO: TCP Data received {"connection_id":153507,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:09:25] local.INFO: Processing buffer {"connection_id":153507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:09:25] local.INFO: IMEI packet received {"connection_id":153507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":153507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:09:25] local.INFO: TCP Data received {"connection_id":153507,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:09:25] local.INFO: Processing buffer {"connection_id":153507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:09:25] local.INFO: IMEI packet received {"connection_id":153507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":153507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:09:26] local.INFO: TCP Data received {"connection_id":153507,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc1fa58012db6614005cd33b0001800a624..."} 
[2026-08-11 13:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc1fa58012db6614005cd33b0001800a624..."} 
[2026-08-11 13:09:26] local.INFO: Processing buffer {"connection_id":153507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc1fa58012db6614005cd33b0001800a624..."} 
[2026-08-11 13:09:26] local.INFO: Packet analysis {"connection_id":153507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc1"} 
[2026-08-11 13:09:26] local.INFO: Extracted packet for processing {"connection_id":153507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc1"} 
[2026-08-11 13:09:26] local.INFO: GPS Element Parsed {"raw_longitude":766927168,"raw_latitude":97334192,"longitude_deg":76.6927168,"latitude_deg":9.7334192,"altitude":24,"angle":166,"satellites":36,"speed":48,"hex_longitude":"2db66140","hex_latitude":"05cd33b0","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327075072001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377588175767339008,"note":"Value kept but may cause issues"} 
[2026-08-11 13:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5306858817238439936,"note":"Value kept but may cause issues"} 
[2026-08-11 13:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786433895000,"timestamp_ms":1786433895000,"timestamp_seconds":1786433895,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc1fa58"} 
[2026-08-11 13:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 13:09:26] 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-08-11 13: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-08-11 13:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:09:26] 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-08-11 13:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327075072001,"66":27800,"11":206,"83":18688,"24":48,"16":377588175767339008,"45":-5306858817238439936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-11 13:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327075072001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:09:26] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-11 13:09:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377588175767339008,"km_value":377588175767339.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5306858817238439936,"description":"Unknown IO ID 45"} 
[2026-08-11 13:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327075072001,"power":27800,"unknown_11":206,"unknown_83":18688,"ignition":48,"odometer":null,"unknown_45":-5306858817238439936}} 
[2026-08-11 13:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":153507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:09:26] local.INFO: GPS data processed {"connection_id":153507,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:09:26] local.INFO: Acknowledgment sent {"connection_id":153507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:09:30] local.INFO: TCP Data received {"connection_id":153507,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc215b0012db6678005cd1478001c00b228..."} 
[2026-08-11 13:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc215b0012db6678005cd1478001c00b228..."} 
[2026-08-11 13:09:30] local.INFO: Processing buffer {"connection_id":153507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc215b0012db6678005cd1478001c00b228..."} 
[2026-08-11 13:09:30] local.INFO: Packet analysis {"connection_id":153507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc2"} 
[2026-08-11 13:09:30] local.INFO: Extracted packet for processing {"connection_id":153507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc2"} 
[2026-08-11 13:09:30] local.INFO: GPS Element Parsed {"raw_longitude":766928768,"raw_latitude":97326200,"longitude_deg":76.6928768,"latitude_deg":9.73262,"altitude":28,"angle":178,"satellites":40,"speed":43,"hex_longitude":"2db66780","hex_latitude":"05cd1478","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327077120001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377588570904330240,"note":"Value kept but may cause issues"} 
[2026-08-11 13:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5304888492404002816,"note":"Value kept but may cause issues"} 
[2026-08-11 13:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786433902000,"timestamp_ms":1786433902000,"timestamp_seconds":1786433902,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc215b0"} 
[2026-08-11 13:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 13:09:30] 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-08-11 13: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-08-11 13:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:09:30] 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-08-11 13:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327077120001,"66":27821,"11":206,"83":18688,"24":43,"16":377588570904330240,"45":-5304888492404002816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-11 13:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327077120001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:09:30] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-11 13:09:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377588570904330240,"km_value":377588570904330.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5304888492404002816,"description":"Unknown IO ID 45"} 
[2026-08-11 13:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327077120001,"power":27821,"unknown_11":206,"unknown_83":18688,"ignition":43,"odometer":null,"unknown_45":-5304888492404002816}} 
[2026-08-11 13:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":153507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:09:30] local.INFO: GPS data processed {"connection_id":153507,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:09:30] local.INFO: Acknowledgment sent {"connection_id":153507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:09:49] local.INFO: TCP Data received {"connection_id":152558,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc12380012d1b734007259668002b008129..."} 
[2026-08-11 13:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc12380012d1b734007259668002b008129..."} 
[2026-08-11 13:09:49] local.INFO: Processing buffer {"connection_id":152558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc12380012d1b734007259668002b008129..."} 
[2026-08-11 13:09:49] local.INFO: Packet analysis {"connection_id":152558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc1"} 
[2026-08-11 13:09:49] local.INFO: Extracted packet for processing {"connection_id":152558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc1"} 
[2026-08-11 13:09:49] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":41,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:09: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-08-11 13:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327057408001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:09:49] 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-08-11 13:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786433840000,"timestamp_ms":1786433840000,"timestamp_seconds":1786433840,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc12380"} 
[2026-08-11 13:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:09:49] 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-08-11 13:09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-11 13:09:49] 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-08-11 13:09: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-08-11 13:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327057408001,"66":11471,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327057408001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:09:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:09:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327057408001,"power":11471,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":152558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:09:49] local.INFO: GPS data processed {"connection_id":152558,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:09:49] local.INFO: Acknowledgment sent {"connection_id":152558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:10:01] local.INFO: TCP Data received {"connection_id":153507,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc22168012db6670005cd0830001e00be29..."} 
[2026-08-11 13:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc22168012db6670005cd0830001e00be29..."} 
[2026-08-11 13:10:01] local.INFO: Processing buffer {"connection_id":153507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc22168012db6670005cd0830001e00be29..."} 
[2026-08-11 13:10:01] local.INFO: Packet analysis {"connection_id":153507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc2"} 
[2026-08-11 13:10:01] local.INFO: Extracted packet for processing {"connection_id":153507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc2"} 
[2026-08-11 13:10:01] local.INFO: GPS Element Parsed {"raw_longitude":766928640,"raw_latitude":97323056,"longitude_deg":76.692864,"latitude_deg":9.7323056,"altitude":30,"angle":190,"satellites":41,"speed":40,"hex_longitude":"2db66700","hex_latitude":"05cd0830","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327078912001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377588725523152896,"note":"Value kept but may cause issues"} 
[2026-08-11 13:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5303129273801607168,"note":"Value kept but may cause issues"} 
[2026-08-11 13:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786433905000,"timestamp_ms":1786433905000,"timestamp_seconds":1786433905,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc22168"} 
[2026-08-11 13:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 13:10:01] 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-08-11 13: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-08-11 13:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:10:01] 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-08-11 13:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327078912001,"66":27767,"11":206,"83":18688,"24":40,"16":377588725523152896,"45":-5303129273801607168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-11 13:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327078912001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:10:01] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-11 13:10:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377588725523152896,"km_value":377588725523152.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5303129273801607168,"description":"Unknown IO ID 45"} 
[2026-08-11 13:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327078912001,"power":27767,"unknown_11":206,"unknown_83":18688,"ignition":40,"odometer":null,"unknown_45":-5303129273801607168}} 
[2026-08-11 13:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":153507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:10:01] local.INFO: GPS data processed {"connection_id":153507,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:10:01] local.INFO: Acknowledgment sent {"connection_id":153507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:10:16] local.INFO: TCP Data received {"connection_id":152183,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:10:16] local.INFO: Processing buffer {"connection_id":152183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:10:16] local.INFO: IMEI packet received {"connection_id":152183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":152183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:10:21] local.INFO: TCP Data received {"connection_id":152183,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:10:21] local.INFO: Processing buffer {"connection_id":152183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:10:21] local.INFO: IMEI packet received {"connection_id":152183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":152183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:10:22] local.INFO: TCP Data received {"connection_id":152183,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc171a0012d1b734007259668002b008127..."} 
[2026-08-11 13:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc171a0012d1b734007259668002b008127..."} 
[2026-08-11 13:10:22] local.INFO: Processing buffer {"connection_id":152183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc171a0012d1b734007259668002b008127..."} 
[2026-08-11 13:10:22] local.INFO: Packet analysis {"connection_id":152183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc1"} 
[2026-08-11 13:10:22] local.INFO: Extracted packet for processing {"connection_id":152183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc1"} 
[2026-08-11 13:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:10: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-08-11 13:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327063040001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:10:22] 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-08-11 13:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786433860000,"timestamp_ms":1786433860000,"timestamp_seconds":1786433860,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc171a0"} 
[2026-08-11 13:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:10:22] 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-08-11 13:10: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 13:10:22] 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-08-11 13:10: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-08-11 13:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327063040001,"66":12287,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327063040001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:10:22] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:10:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327063040001,"power":12287,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":152183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:10:22] local.INFO: GPS data processed {"connection_id":152183,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:10:22] local.INFO: Acknowledgment sent {"connection_id":152183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:10:23] local.INFO: TCP Data received {"connection_id":153508,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:10:23] local.INFO: Processing buffer {"connection_id":153508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:10:23] local.INFO: IMEI packet received {"connection_id":153508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":153508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:10:24] local.INFO: TCP Data received {"connection_id":153508,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:10:24] local.INFO: Processing buffer {"connection_id":153508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:10:24] local.INFO: IMEI packet received {"connection_id":153508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":153508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:10:26] local.INFO: TCP Data received {"connection_id":152183,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc1c3a8012d1b734007259668002b008126..."} 
[2026-08-11 13:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc1c3a8012d1b734007259668002b008126..."} 
[2026-08-11 13:10:26] local.INFO: Processing buffer {"connection_id":152183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc1c3a8012d1b734007259668002b008126..."} 
[2026-08-11 13:10:26] local.INFO: Packet analysis {"connection_id":152183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc1"} 
[2026-08-11 13:10:26] local.INFO: Extracted packet for processing {"connection_id":152183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc1"} 
[2026-08-11 13:10:26] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327068160001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:10: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-08-11 13:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786433881000,"timestamp_ms":1786433881000,"timestamp_seconds":1786433881,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc1c3a8"} 
[2026-08-11 13:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13: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-08-11 13: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 13:10:26] 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-08-11 13: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-08-11 13:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327068160001,"66":12374,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327068160001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:10:26] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:10:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327068160001,"power":12374,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":152183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:10:26] local.INFO: GPS data processed {"connection_id":152183,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:10:26] local.INFO: Acknowledgment sent {"connection_id":152183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:10:28] local.INFO: TCP Data received {"connection_id":153508,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:10:28] local.INFO: Processing buffer {"connection_id":153508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:10:28] local.INFO: IMEI packet received {"connection_id":153508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":153508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:10:29] local.INFO: TCP Data received {"connection_id":153508,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc34a48012db67c8005cc0f28002700be28..."} 
[2026-08-11 13:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc34a48012db67c8005cc0f28002700be28..."} 
[2026-08-11 13:10:29] local.INFO: Processing buffer {"connection_id":153508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc34a48012db67c8005cc0f28002700be28..."} 
[2026-08-11 13:10:29] local.INFO: Packet analysis {"connection_id":153508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc3"} 
[2026-08-11 13:10:29] local.INFO: Extracted packet for processing {"connection_id":153508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc3"} 
[2026-08-11 13:10:29] local.INFO: GPS Element Parsed {"raw_longitude":766934144,"raw_latitude":97259304,"longitude_deg":76.6934144,"latitude_deg":9.7259304,"altitude":39,"angle":190,"satellites":40,"speed":48,"hex_longitude":"2db67c80","hex_latitude":"05cc0f28","is_valid_coordinates":true} 
[2026-08-11 13:10: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-08-11 13:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327097856001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377591933863723008,"note":"Value kept but may cause issues"} 
[2026-08-11 13:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5297007193073713152,"note":"Value kept but may cause issues"} 
[2026-08-11 13:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786433981000,"timestamp_ms":1786433981000,"timestamp_seconds":1786433981,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc34a48"} 
[2026-08-11 13:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13:10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 13:10:29] 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-08-11 13:10: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-08-11 13:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:10:29] 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-08-11 13:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327097856001,"66":27713,"58":206,"83":18688,"24":48,"16":377591933863723008,"45":-5297007193073713152},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-08-11 13:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327097856001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:10:29] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 13:10:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377591933863723008,"km_value":377591933863723.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5297007193073713152,"description":"Unknown IO ID 45"} 
[2026-08-11 13:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327097856001,"power":27713,"unknown_58":206,"unknown_83":18688,"ignition":48,"odometer":null,"unknown_45":-5297007193073713152}} 
[2026-08-11 13:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":153508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:10:29] local.INFO: GPS data processed {"connection_id":153508,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:10:29] local.INFO: Acknowledgment sent {"connection_id":153508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:11:07] local.INFO: TCP Data received {"connection_id":152559,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:11:07] local.INFO: Processing buffer {"connection_id":152559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:11:07] local.INFO: IMEI packet received {"connection_id":152559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":152559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:11:11] local.INFO: TCP Data received {"connection_id":152559,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:11:11] local.INFO: Processing buffer {"connection_id":152559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:11:11] local.INFO: IMEI packet received {"connection_id":152559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":152559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:11:12] local.INFO: TCP Data received {"connection_id":153508,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc359e8012db676c005cbfd58002700ca29..."} 
[2026-08-11 13:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc359e8012db676c005cbfd58002700ca29..."} 
[2026-08-11 13:11:12] local.INFO: Processing buffer {"connection_id":153508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc359e8012db676c005cbfd58002700ca29..."} 
[2026-08-11 13:11:12] local.INFO: Packet analysis {"connection_id":153508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc3"} 
[2026-08-11 13:11:12] local.INFO: Extracted packet for processing {"connection_id":153508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc3"} 
[2026-08-11 13:11:12] local.INFO: GPS Element Parsed {"raw_longitude":766932672,"raw_latitude":97254744,"longitude_deg":76.6932672,"latitude_deg":9.7254744,"altitude":39,"angle":202,"satellites":41,"speed":46,"hex_longitude":"2db676c0","hex_latitude":"05cbfd58","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327099136001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377592165791956992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5297218299307808768,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786433985000,"timestamp_ms":1786433985000,"timestamp_seconds":1786433985,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc359e8"} 
[2026-08-11 13:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-11 13:11:12] 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-08-11 13: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-08-11 13:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:11:12] 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-08-11 13:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327099136001,"66":27821,"58":206,"83":18688,"24":46,"16":377592165791956992,"45":-5297218299307808768},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-08-11 13:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327099136001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:11:12] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 13:11:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377592165791956992,"km_value":377592165791957.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5297218299307808768,"description":"Unknown IO ID 45"} 
[2026-08-11 13:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327099136001,"power":27821,"unknown_58":206,"unknown_83":18688,"ignition":46,"odometer":null,"unknown_45":-5297218299307808768}} 
[2026-08-11 13:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":153508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:11:12] local.INFO: GPS data processed {"connection_id":153508,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:11:12] local.INFO: Acknowledgment sent {"connection_id":153508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:11:16] local.INFO: TCP Data received {"connection_id":152559,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:11:16] local.INFO: Processing buffer {"connection_id":152559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:11:16] local.INFO: IMEI packet received {"connection_id":152559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":152559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:11:17] local.INFO: TCP Data received {"connection_id":152559,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc215b0012d1b734007259668002b008125..."} 
[2026-08-11 13:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc215b0012d1b734007259668002b008125..."} 
[2026-08-11 13:11:17] local.INFO: Processing buffer {"connection_id":152559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc215b0012d1b734007259668002b008125..."} 
[2026-08-11 13:11:17] local.INFO: Packet analysis {"connection_id":152559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc2"} 
[2026-08-11 13:11:17] local.INFO: Extracted packet for processing {"connection_id":152559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc2"} 
[2026-08-11 13:11:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:11: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-08-11 13:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327073536001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:17] 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-08-11 13:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786433902000,"timestamp_ms":1786433902000,"timestamp_seconds":1786433902,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc215b0"} 
[2026-08-11 13:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:11:17] 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-08-11 13:11: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-11 13:11:17] 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-08-11 13:11: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-08-11 13:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327073536001,"66":12341,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327073536001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:11:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:11:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327073536001,"power":12341,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":152559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:11:17] local.INFO: GPS data processed {"connection_id":152559,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:11:17] local.INFO: Acknowledgment sent {"connection_id":152559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:11:19] local.INFO: TCP Data received {"connection_id":154883,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:11:19] local.INFO: Processing buffer {"connection_id":154883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:11:19] local.INFO: IMEI packet received {"connection_id":154883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":154883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:11:21] local.INFO: TCP Data received {"connection_id":152559,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc267b8012d1b734007259668002b008127..."} 
[2026-08-11 13:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc267b8012d1b734007259668002b008127..."} 
[2026-08-11 13:11:21] local.INFO: Processing buffer {"connection_id":152559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc267b8012d1b734007259668002b008127..."} 
[2026-08-11 13:11:21] local.INFO: Packet analysis {"connection_id":152559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc2"} 
[2026-08-11 13:11:21] local.INFO: Extracted packet for processing {"connection_id":152559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc2"} 
[2026-08-11 13:11:21] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327078912001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:21] 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-08-11 13:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786433923000,"timestamp_ms":1786433923000,"timestamp_seconds":1786433923,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc267b8"} 
[2026-08-11 13:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:11:21] 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-08-11 13: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-11 13:11:21] 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-08-11 13: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-08-11 13:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327078912001,"66":12298,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327078912001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:11:21] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:11:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327078912001,"power":12298,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":152559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:11:21] local.INFO: GPS data processed {"connection_id":152559,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:11:21] local.INFO: Acknowledgment sent {"connection_id":152559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:11:23] local.INFO: TCP Data received {"connection_id":154883,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:11:23] local.INFO: Processing buffer {"connection_id":154883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:11:23] local.INFO: IMEI packet received {"connection_id":154883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":154883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:11:24] local.INFO: TCP Data received {"connection_id":154883,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc36988012db66dc005cbedc8002600d827..."} 
[2026-08-11 13:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc36988012db66dc005cbedc8002600d827..."} 
[2026-08-11 13:11:24] local.INFO: Processing buffer {"connection_id":154883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc36988012db66dc005cbedc8002600d827..."} 
[2026-08-11 13:11:24] local.INFO: Packet analysis {"connection_id":154883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc3"} 
[2026-08-11 13:11:24] local.INFO: Extracted packet for processing {"connection_id":154883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc3"} 
[2026-08-11 13:11:24] local.INFO: GPS Element Parsed {"raw_longitude":766930368,"raw_latitude":97250760,"longitude_deg":76.6930368,"latitude_deg":9.725076,"altitude":38,"angle":216,"satellites":39,"speed":44,"hex_longitude":"2db66dc0","hex_latitude":"05cbedc8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327100160001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377592389130256384,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5298836780425062400,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786433989000,"timestamp_ms":1786433989000,"timestamp_seconds":1786433989,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc36988"} 
[2026-08-11 13:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 13:11:24] 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-08-11 13: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-08-11 13:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":154883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":154883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":154883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:11:24] 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-08-11 13:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327100160001,"66":27658,"58":206,"83":18688,"24":44,"16":377592389130256384,"45":-5298836780425062400},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-08-11 13:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327100160001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:11:24] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 13:11:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377592389130256384,"km_value":377592389130256.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5298836780425062400,"description":"Unknown IO ID 45"} 
[2026-08-11 13:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327100160001,"power":27658,"unknown_58":206,"unknown_83":18688,"ignition":44,"odometer":null,"unknown_45":-5298836780425062400}} 
[2026-08-11 13:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":154883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:11:24] local.INFO: GPS data processed {"connection_id":154883,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:11:24] local.INFO: Acknowledgment sent {"connection_id":154883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:11:24] local.INFO: TCP Data received {"connection_id":154883,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc37928012db6618005cbe0a0002500e328..."} 
[2026-08-11 13:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc37928012db6618005cbe0a0002500e328..."} 
[2026-08-11 13:11:24] local.INFO: Processing buffer {"connection_id":154883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc37928012db6618005cbe0a0002500e328..."} 
[2026-08-11 13:11:24] local.INFO: Packet analysis {"connection_id":154883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc3"} 
[2026-08-11 13:11:24] local.INFO: Extracted packet for processing {"connection_id":154883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc3"} 
[2026-08-11 13:11:24] local.INFO: GPS Element Parsed {"raw_longitude":766927232,"raw_latitude":97247392,"longitude_deg":76.6927232,"latitude_deg":9.7247392,"altitude":37,"angle":227,"satellites":40,"speed":46,"hex_longitude":"2db66180","hex_latitude":"05cbe0a0","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327101184001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377592612468555776,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5301370055216478208,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786433993000,"timestamp_ms":1786433993000,"timestamp_seconds":1786433993,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc37928"} 
[2026-08-11 13:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 13:11:24] 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-08-11 13: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-08-11 13:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":154883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":154883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":154883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:11:24] 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-08-11 13:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327101184001,"66":26832,"58":206,"83":18688,"24":46,"16":377592612468555776,"45":-5301370055216478208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-08-11 13:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327101184001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:11:24] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 13:11:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377592612468555776,"km_value":377592612468555.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5301370055216478208,"description":"Unknown IO ID 45"} 
[2026-08-11 13:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327101184001,"power":26832,"unknown_58":206,"unknown_83":18688,"ignition":46,"odometer":null,"unknown_45":-5301370055216478208}} 
[2026-08-11 13:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":154883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:11:24] local.INFO: GPS data processed {"connection_id":154883,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:11:24] local.INFO: Acknowledgment sent {"connection_id":154883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:11:53] local.INFO: TCP Data received {"connection_id":152559,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc2b9c0012d1b734007259668002b008125..."} 
[2026-08-11 13:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc2b9c0012d1b734007259668002b008125..."} 
[2026-08-11 13:11:53] local.INFO: Processing buffer {"connection_id":152559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc2b9c0012d1b734007259668002b008125..."} 
[2026-08-11 13:11:53] local.INFO: Packet analysis {"connection_id":152559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc2"} 
[2026-08-11 13:11:53] local.INFO: Extracted packet for processing {"connection_id":152559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc2"} 
[2026-08-11 13:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327084288001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:53] 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-08-11 13:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786433944000,"timestamp_ms":1786433944000,"timestamp_seconds":1786433944,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc2b9c0"} 
[2026-08-11 13:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:11:53] 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-08-11 13: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":10,"data_length":795,"current_offset":136} 
[2026-08-11 13:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:53] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:53] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452329,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:53] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-5980780305148018687,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:53] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1170890273364042893,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:53] local.WARNING: Large IO value detected {"io_id":64,"raw_value":514983105827373185,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:53] local.WARNING: Large IO value detected {"io_id":43,"raw_value":36352053437530112,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:53] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832568,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:53] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972246167519438,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2415996187,"corrected_to":0} 
[2026-08-11 13:11:53] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,92,28,24,241,158,16,31,159,21,45,64,150,43,37,10,66,195,38,113,1,240,255,239,4,205,115,104,48,2,41,7,36],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2415996187,"validated":0}]} 
[2026-08-11 13:11:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098618548134608896,"timestamp_seconds":3098618548134609.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 13:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327084288001,"66":12341,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327084288001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:11:53] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:11:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327084288001,"power":12341,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":152559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:11:53] local.INFO: GPS data processed {"connection_id":152559,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:11:53] local.INFO: Acknowledgment sent {"connection_id":152559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:11:55] local.INFO: TCP Data received {"connection_id":154883,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc45bb8012db624c005cae890001200d729..."} 
[2026-08-11 13:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc45bb8012db624c005cae890001200d729..."} 
[2026-08-11 13:11:55] local.INFO: Processing buffer {"connection_id":154883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc45bb8012db624c005cae890001200d729..."} 
[2026-08-11 13:11:55] local.INFO: Packet analysis {"connection_id":154883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc4"} 
[2026-08-11 13:11:55] local.INFO: Extracted packet for processing {"connection_id":154883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc4"} 
[2026-08-11 13:11:55] local.INFO: GPS Element Parsed {"raw_longitude":766911680,"raw_latitude":97183888,"longitude_deg":76.691168,"latitude_deg":9.7183888,"altitude":18,"angle":215,"satellites":41,"speed":42,"hex_longitude":"2db624c0","hex_latitude":"05cae890","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327116288001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377595923888340992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5320088141184137216,"note":"Value kept but may cause issues"} 
[2026-08-11 13:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786434051000,"timestamp_ms":1786434051000,"timestamp_seconds":1786434051,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc45bb8"} 
[2026-08-11 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-08-11 13:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 13:11:55] 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-08-11 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-08-11 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-08-11 13:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":154883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":154883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":154883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:11:55] 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-08-11 13:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327116288001,"66":27843,"147":206,"83":18688,"24":42,"16":377595923888340992,"45":-5320088141184137216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327116288001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:11:55] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377595923888340992,"km_value":377595923888341.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5320088141184137216,"description":"Unknown IO ID 45"} 
[2026-08-11 13:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327116288001,"power":27843,"unknown_147":206,"unknown_83":18688,"ignition":42,"odometer":null,"unknown_45":-5320088141184137216}} 
[2026-08-11 13:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":154883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:11:55] local.INFO: GPS data processed {"connection_id":154883,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:11:55] local.INFO: Acknowledgment sent {"connection_id":154883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:12:09] local.INFO: TCP Data received {"connection_id":153509,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:12:09] local.INFO: Processing buffer {"connection_id":153509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:12:09] local.INFO: IMEI packet received {"connection_id":153509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":153509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:12:10] local.INFO: TCP Data received {"connection_id":153509,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:12:10] local.INFO: Processing buffer {"connection_id":153509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:12:10] local.INFO: IMEI packet received {"connection_id":153509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":153509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:12:15] local.INFO: TCP Data received {"connection_id":153509,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:12:15] local.INFO: Processing buffer {"connection_id":153509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:12:15] local.INFO: IMEI packet received {"connection_id":153509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":153509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:12:16] local.INFO: TCP Data received {"connection_id":152184,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:12:16] local.INFO: Processing buffer {"connection_id":152184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:12:16] local.INFO: IMEI packet received {"connection_id":152184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":152184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:12:16] local.INFO: TCP Data received {"connection_id":153509,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc30bc8012d1b734007259668002b008125..."} 
[2026-08-11 13:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc30bc8012d1b734007259668002b008125..."} 
[2026-08-11 13:12:16] local.INFO: Processing buffer {"connection_id":153509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc30bc8012d1b734007259668002b008125..."} 
[2026-08-11 13:12:16] local.INFO: Packet analysis {"connection_id":153509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc3"} 
[2026-08-11 13:12:16] local.INFO: Extracted packet for processing {"connection_id":153509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc3"} 
[2026-08-11 13:12:16] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327089664001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:16] 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-08-11 13:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786433965000,"timestamp_ms":1786433965000,"timestamp_seconds":1786433965,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc30bc8"} 
[2026-08-11 13:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:12:16] 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-08-11 13: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-11 13:12:16] 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-08-11 13: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-08-11 13:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327089664001,"66":12298,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327089664001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:12:16] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:12:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327089664001,"power":12298,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":153509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:12:17] local.INFO: GPS data processed {"connection_id":153509,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:12:17] local.INFO: Acknowledgment sent {"connection_id":153509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:12:17] local.INFO: TCP Data received {"connection_id":152184,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:12:17] local.INFO: Processing buffer {"connection_id":152184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:12:17] local.INFO: IMEI packet received {"connection_id":152184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":152184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:12:19] local.INFO: TCP Data received {"connection_id":152184,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:12:19] local.INFO: Processing buffer {"connection_id":152184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:12:19] local.INFO: IMEI packet received {"connection_id":152184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":152184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:12:24] local.INFO: TCP Data received {"connection_id":152184,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:12:24] local.INFO: Processing buffer {"connection_id":152184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:12:24] local.INFO: IMEI packet received {"connection_id":152184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":152184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:12:25] local.INFO: TCP Data received {"connection_id":152184,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc46770012db61cc005cadf48001100e328..."} 
[2026-08-11 13:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc46770012db61cc005cadf48001100e328..."} 
[2026-08-11 13:12:25] local.INFO: Processing buffer {"connection_id":152184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc46770012db61cc005cadf48001100e328..."} 
[2026-08-11 13:12:25] local.INFO: Packet analysis {"connection_id":152184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc4"} 
[2026-08-11 13:12:25] local.INFO: Extracted packet for processing {"connection_id":152184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc4"} 
[2026-08-11 13:12:25] local.INFO: GPS Element Parsed {"raw_longitude":766909632,"raw_latitude":97181512,"longitude_deg":76.6909632,"latitude_deg":9.7181512,"altitude":17,"angle":227,"satellites":40,"speed":41,"hex_longitude":"2db61cc0","hex_latitude":"05cadf48","is_valid_coordinates":true} 
[2026-08-11 13:12: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-08-11 13:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327117056001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377596078507163648,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5321917728533475328,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786434054000,"timestamp_ms":1786434054000,"timestamp_seconds":1786434054,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc46770"} 
[2026-08-11 13:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13:12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 13:12:25] 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-08-11 13:12: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-08-11 13:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:12:25] 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-08-11 13:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327117056001,"66":27767,"147":206,"83":18688,"24":41,"16":377596078507163648,"45":-5321917728533475328},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327117056001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:12:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:12:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377596078507163648,"km_value":377596078507163.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5321917728533475328,"description":"Unknown IO ID 45"} 
[2026-08-11 13:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327117056001,"power":27767,"unknown_147":206,"unknown_83":18688,"ignition":41,"odometer":null,"unknown_45":-5321917728533475328}} 
[2026-08-11 13:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":152184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:12:25] local.INFO: GPS data processed {"connection_id":152184,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:12:25] local.INFO: Acknowledgment sent {"connection_id":152184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:12:49] local.INFO: TCP Data received {"connection_id":153509,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc35dd0012d1b734007259668002b008126..."} 
[2026-08-11 13:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc35dd0012d1b734007259668002b008126..."} 
[2026-08-11 13:12:49] local.INFO: Processing buffer {"connection_id":153509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc35dd0012d1b734007259668002b008126..."} 
[2026-08-11 13:12:49] local.INFO: Packet analysis {"connection_id":153509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc3"} 
[2026-08-11 13:12:49] local.INFO: Extracted packet for processing {"connection_id":153509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc3"} 
[2026-08-11 13:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327095040001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:49] 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-08-11 13:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786433986000,"timestamp_ms":1786433986000,"timestamp_seconds":1786433986,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc35dd0"} 
[2026-08-11 13:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:12:49] 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-08-11 13: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 13:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:49] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:49] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452329,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:49] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-5980780305148018687,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:49] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1170709884737610893,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:49] local.WARNING: Large IO value detected {"io_id":64,"raw_value":514983105827373185,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:49] local.WARNING: Large IO value detected {"io_id":43,"raw_value":36355351972413440,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:49] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832568,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:49] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3228800342197797070,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2684431643,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-08-11 13:12:49] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242791,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:49] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,92,28,24,241,158,16,31,159,185,45,64,150,43,37,10,66,103,39,21,1,240,53,239,4,113,205,115,104,47,2,41,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-08-11 13:12:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098618539544674304,"timestamp_seconds":3098618539544674.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 13:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327095040001,"66":11515,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327095040001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:12:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:12:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327095040001,"power":11515,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":153509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:12:49] local.INFO: GPS data processed {"connection_id":153509,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:12:49] local.INFO: Acknowledgment sent {"connection_id":153509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:12:56] local.INFO: TCP Data received {"connection_id":152184,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc578e0012db5ed8005cac2c8001200452a..."} 
[2026-08-11 13:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc578e0012db5ed8005cac2c8001200452a..."} 
[2026-08-11 13:12:56] local.INFO: Processing buffer {"connection_id":152184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc578e0012db5ed8005cac2c8001200452a..."} 
[2026-08-11 13:12:56] local.INFO: Packet analysis {"connection_id":152184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:12:56] local.INFO: Extracted packet for processing {"connection_id":152184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:12:56] local.INFO: GPS Element Parsed {"raw_longitude":766897536,"raw_latitude":97174216,"longitude_deg":76.6897536,"latitude_deg":9.7174216,"altitude":18,"angle":69,"satellites":42,"speed":26,"hex_longitude":"2db5ed80","hex_latitude":"05cac2c8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327134464001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597633285324800,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5340917289464123392,"note":"Value kept but may cause issues"} 
[2026-08-11 13:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786434124000,"timestamp_ms":1786434124000,"timestamp_seconds":1786434124,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc578e0"} 
[2026-08-11 13:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-11 13:12:56] 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-08-11 13: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-08-11 13:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:12:56] 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-08-11 13:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327134464001,"66":27843,"147":206,"83":18688,"24":26,"16":377597633285324800,"45":-5340917289464123392},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327134464001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:12:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:12:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597633285324800,"km_value":377597633285324.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5340917289464123392,"description":"Unknown IO ID 45"} 
[2026-08-11 13:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327134464001,"power":27843,"unknown_147":206,"unknown_83":18688,"ignition":26,"odometer":null,"unknown_45":-5340917289464123392}} 
[2026-08-11 13:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":152184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:12:56] local.INFO: GPS data processed {"connection_id":152184,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:12:56] local.INFO: Acknowledgment sent {"connection_id":152184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:13:10] local.INFO: TCP Data received {"connection_id":152560,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:13:10] local.INFO: Processing buffer {"connection_id":152560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:13:10] local.INFO: IMEI packet received {"connection_id":152560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":152560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:13:13] local.INFO: TCP Data received {"connection_id":152560,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:13:13] local.INFO: Processing buffer {"connection_id":152560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:13:13] local.INFO: IMEI packet received {"connection_id":152560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":152560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:13:15] local.INFO: TCP Data received {"connection_id":152560,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:13:15] local.INFO: Processing buffer {"connection_id":152560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:13:15] local.INFO: IMEI packet received {"connection_id":152560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":152560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:13:16] local.INFO: TCP Data received {"connection_id":152560,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc3afd8012d1b734007259668002b008127..."} 
[2026-08-11 13:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc3afd8012d1b734007259668002b008127..."} 
[2026-08-11 13:13:16] local.INFO: Processing buffer {"connection_id":152560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc3afd8012d1b734007259668002b008127..."} 
[2026-08-11 13:13:16] local.INFO: Packet analysis {"connection_id":152560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc3"} 
[2026-08-11 13:13:16] local.INFO: Extracted packet for processing {"connection_id":152560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc3"} 
[2026-08-11 13:13:16] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327100416001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:16] 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-08-11 13:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786434007000,"timestamp_ms":1786434007000,"timestamp_seconds":1786434007,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc3afd8"} 
[2026-08-11 13:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:13:16] 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-08-11 13: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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-11 13:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 13: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-08-11 13:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327100416001,"66":12298,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327100416001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:13:16] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:13:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327100416001,"power":12298,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":152560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:13:17] local.INFO: GPS data processed {"connection_id":152560,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:13:17] local.INFO: Acknowledgment sent {"connection_id":152560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:13:19] local.INFO: TCP Data received {"connection_id":152561,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:13:19] local.INFO: Processing buffer {"connection_id":152561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:13:19] local.INFO: IMEI packet received {"connection_id":152561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":152561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:13:24] local.INFO: TCP Data received {"connection_id":152561,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:13:24] local.INFO: Processing buffer {"connection_id":152561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:13:24] local.INFO: IMEI packet received {"connection_id":152561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":152561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:13:25] local.INFO: TCP Data received {"connection_id":152561,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc59438012db5fdc005cacae8001300392a..."} 
[2026-08-11 13:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc59438012db5fdc005cacae8001300392a..."} 
[2026-08-11 13:13:25] local.INFO: Processing buffer {"connection_id":152561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc59438012db5fdc005cacae8001300392a..."} 
[2026-08-11 13:13:25] local.INFO: Packet analysis {"connection_id":152561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:13:25] local.INFO: Extracted packet for processing {"connection_id":152561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:13:25] local.INFO: GPS Element Parsed {"raw_longitude":766901696,"raw_latitude":97176296,"longitude_deg":76.6901696,"latitude_deg":9.7176296,"altitude":19,"angle":57,"satellites":42,"speed":27,"hex_longitude":"2db5fdc0","hex_latitude":"05cacae8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327135744001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597860918591488,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5337469220999215104,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786434131000,"timestamp_ms":1786434131000,"timestamp_seconds":1786434131,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc59438"} 
[2026-08-11 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-08-11 13:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 13:13:25] 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-08-11 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-08-11 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-08-11 13:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:13:25] 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-08-11 13:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327135744001,"66":27539,"147":206,"83":18688,"24":27,"16":377597860918591488,"45":-5337469220999215104},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327135744001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:13:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:13:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597860918591488,"km_value":377597860918591.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5337469220999215104,"description":"Unknown IO ID 45"} 
[2026-08-11 13:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327135744001,"power":27539,"unknown_147":206,"unknown_83":18688,"ignition":27,"odometer":null,"unknown_45":-5337469220999215104}} 
[2026-08-11 13:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":152561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:13:25] local.INFO: GPS data processed {"connection_id":152561,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:13:25] local.INFO: Acknowledgment sent {"connection_id":152561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:13:48] local.INFO: TCP Data received {"connection_id":152560,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc401e0012d1b734007259668002b008126..."} 
[2026-08-11 13:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc401e0012d1b734007259668002b008126..."} 
[2026-08-11 13:13:48] local.INFO: Processing buffer {"connection_id":152560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc401e0012d1b734007259668002b008126..."} 
[2026-08-11 13:13:48] local.INFO: Packet analysis {"connection_id":152560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc4"} 
[2026-08-11 13:13:48] local.INFO: Extracted packet for processing {"connection_id":152560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc4"} 
[2026-08-11 13:13:48] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:13: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-08-11 13:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327105792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:48] 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-08-11 13:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786434028000,"timestamp_ms":1786434028000,"timestamp_seconds":1786434028,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc401e0"} 
[2026-08-11 13:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:13:48] 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-08-11 13:13: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 13:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:48] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452329,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-5980780305148018687,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1170529496111178893,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:48] local.WARNING: Large IO value detected {"io_id":64,"raw_value":514983105827373185,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:48] local.WARNING: Large IO value detected {"io_id":43,"raw_value":36352053437530112,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832568,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972246167519438,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-08-11 13:13:48] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2952867099,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:48] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,92,28,24,241,158,16,31,159,93,45,64,150,43,38,10,66,11,37,185,1,240,53,239,4,113,205,21,115,104,48,2,41,7,39],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-08-11 13:13:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098618548134608896,"timestamp_seconds":3098618548134609.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 13:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327105792001,"66":12287,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327105792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:13:48] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:13:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327105792001,"power":12287,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":152560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:13:48] local.INFO: GPS data processed {"connection_id":152560,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:13:48] local.INFO: Acknowledgment sent {"connection_id":152560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:13:56] local.INFO: TCP Data received {"connection_id":152561,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:13:56] local.INFO: Processing buffer {"connection_id":152561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:13:56] local.INFO: Packet analysis {"connection_id":152561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:13:56] local.INFO: Extracted packet for processing {"connection_id":152561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:13:56] local.INFO: GPS Element Parsed {"raw_longitude":766902336,"raw_latitude":97176656,"longitude_deg":76.6902336,"latitude_deg":9.7176656,"altitude":19,"angle":57,"satellites":42,"speed":28,"hex_longitude":"2db60040","hex_latitude":"05cacc50","is_valid_coordinates":true} 
[2026-08-11 13:13: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-08-11 13:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137536001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332895252627134464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786434132000,"timestamp_ms":1786434132000,"timestamp_seconds":1786434132,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc59820"} 
[2026-08-11 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-08-11 13:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 13:13:56] 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-08-11 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-08-11 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-08-11 13:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:13:56] 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-08-11 13:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137536001,"66":27767,"147":206,"83":18688,"24":28,"16":377597895278329856,"45":-5332895252627134464},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137536001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:13:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:13:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332895252627134464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137536001,"power":27767,"unknown_147":206,"unknown_83":18688,"ignition":28,"odometer":null,"unknown_45":-5332895252627134464}} 
[2026-08-11 13:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":152561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:13:56] local.INFO: GPS data processed {"connection_id":152561,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:13:56] local.INFO: Acknowledgment sent {"connection_id":152561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:14:10] local.INFO: TCP Data received {"connection_id":152185,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:14:10] local.INFO: Processing buffer {"connection_id":152185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:14:10] local.INFO: IMEI packet received {"connection_id":152185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":152185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:14:15] local.INFO: TCP Data received {"connection_id":152185,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:14:15] local.INFO: Processing buffer {"connection_id":152185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:14:15] local.INFO: IMEI packet received {"connection_id":152185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":152185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:14:17] local.INFO: TCP Data received {"connection_id":152185,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc453e8012d1b734007259668002b008127..."} 
[2026-08-11 13:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc453e8012d1b734007259668002b008127..."} 
[2026-08-11 13:14:17] local.INFO: Processing buffer {"connection_id":152185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc453e8012d1b734007259668002b008127..."} 
[2026-08-11 13:14:17] local.INFO: Packet analysis {"connection_id":152185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc4"} 
[2026-08-11 13:14:17] local.INFO: Extracted packet for processing {"connection_id":152185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc4"} 
[2026-08-11 13:14:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:14: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-08-11 13:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327111168001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:14:17] 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-08-11 13:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786434049000,"timestamp_ms":1786434049000,"timestamp_seconds":1786434049,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc453e8"} 
[2026-08-11 13:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:14:17] 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-08-11 13:14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 13:14:17] 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-08-11 13:14: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-08-11 13:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327111168001,"66":12265,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327111168001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:14:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:14:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327111168001,"power":12265,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":152185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:14:17] local.INFO: GPS data processed {"connection_id":152185,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:14:17] local.INFO: Acknowledgment sent {"connection_id":152185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:14:19] local.INFO: TCP Data received {"connection_id":152186,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:14:19] local.INFO: Processing buffer {"connection_id":152186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:14:19] local.INFO: IMEI packet received {"connection_id":152186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":152186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:14:24] local.INFO: TCP Data received {"connection_id":152186,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:14:24] local.INFO: Processing buffer {"connection_id":152186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:14:24] local.INFO: IMEI packet received {"connection_id":152186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":152186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:14:25] local.INFO: TCP Data received {"connection_id":152186,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:14:25] local.INFO: Processing buffer {"connection_id":152186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:14:25] local.INFO: Packet analysis {"connection_id":152186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:14:25] local.INFO: Extracted packet for processing {"connection_id":152186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:14:25] local.INFO: GPS Element Parsed {"raw_longitude":766902336,"raw_latitude":97176656,"longitude_deg":76.6902336,"latitude_deg":9.7176656,"altitude":19,"angle":57,"satellites":42,"speed":28,"hex_longitude":"2db60040","hex_latitude":"05cacc50","is_valid_coordinates":true} 
[2026-08-11 13:14:25] 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-08-11 13:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137536001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332895252627134464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786434132000,"timestamp_ms":1786434132000,"timestamp_seconds":1786434132,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc59820"} 
[2026-08-11 13:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 13:14:25] 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-08-11 13: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-08-11 13:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:14:25] 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-08-11 13:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137536001,"66":27767,"147":206,"83":18688,"24":28,"16":377597895278329856,"45":-5332895252627134464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137536001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:14:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:14:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332895252627134464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137536001,"power":27767,"unknown_147":206,"unknown_83":18688,"ignition":28,"odometer":null,"unknown_45":-5332895252627134464}} 
[2026-08-11 13:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":152186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:14:25] local.INFO: GPS data processed {"connection_id":152186,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:14:25] local.INFO: Acknowledgment sent {"connection_id":152186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:14:48] local.INFO: TCP Data received {"connection_id":152185,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc4a5f0012d1b734007259668002b008128..."} 
[2026-08-11 13:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc4a5f0012d1b734007259668002b008128..."} 
[2026-08-11 13:14:48] local.INFO: Processing buffer {"connection_id":152185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc4a5f0012d1b734007259668002b008128..."} 
[2026-08-11 13:14:48] local.INFO: Packet analysis {"connection_id":152185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc4"} 
[2026-08-11 13:14:48] local.INFO: Extracted packet for processing {"connection_id":152185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc4"} 
[2026-08-11 13:14:48] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327116544001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:14:48] 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-08-11 13:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786434070000,"timestamp_ms":1786434070000,"timestamp_seconds":1786434070,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc4a5f0"} 
[2026-08-11 13:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:14:48] 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-08-11 13: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-11 13:14:48] 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-08-11 13: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-08-11 13:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327116544001,"66":12287,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327116544001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:14:48] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:14:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327116544001,"power":12287,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":152185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:14:48] local.INFO: GPS data processed {"connection_id":152185,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:14:48] local.INFO: Acknowledgment sent {"connection_id":152185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:14:56] local.INFO: TCP Data received {"connection_id":152186,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:14:56] local.INFO: Processing buffer {"connection_id":152186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:14:56] local.INFO: Packet analysis {"connection_id":152186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:14:56] local.INFO: Extracted packet for processing {"connection_id":152186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:14:56] local.INFO: GPS Element Parsed {"raw_longitude":766902336,"raw_latitude":97176656,"longitude_deg":76.6902336,"latitude_deg":9.7176656,"altitude":19,"angle":57,"satellites":42,"speed":28,"hex_longitude":"2db60040","hex_latitude":"05cacc50","is_valid_coordinates":true} 
[2026-08-11 13:14: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-08-11 13:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137536001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332895252627134464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786434132000,"timestamp_ms":1786434132000,"timestamp_seconds":1786434132,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc59820"} 
[2026-08-11 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-08-11 13:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 13:14:56] 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-08-11 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-08-11 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-08-11 13:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:14:56] 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-08-11 13:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137536001,"66":27767,"147":206,"83":18688,"24":28,"16":377597895278329856,"45":-5332895252627134464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137536001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:14:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:14:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332895252627134464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137536001,"power":27767,"unknown_147":206,"unknown_83":18688,"ignition":28,"odometer":null,"unknown_45":-5332895252627134464}} 
[2026-08-11 13:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":152186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:14:56] local.INFO: GPS data processed {"connection_id":152186,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:14:56] local.INFO: Acknowledgment sent {"connection_id":152186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:15:10] local.INFO: TCP Data received {"connection_id":152187,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:15:10] local.INFO: Processing buffer {"connection_id":152187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:15:10] local.INFO: IMEI packet received {"connection_id":152187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":152187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:15:15] local.INFO: TCP Data received {"connection_id":152187,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:15:15] local.INFO: Processing buffer {"connection_id":152187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:15:15] local.INFO: IMEI packet received {"connection_id":152187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":152187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:15:16] local.INFO: TCP Data received {"connection_id":152187,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc4f7f8012d1b734007259668002b008125..."} 
[2026-08-11 13:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc4f7f8012d1b734007259668002b008125..."} 
[2026-08-11 13:15:16] local.INFO: Processing buffer {"connection_id":152187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc4f7f8012d1b734007259668002b008125..."} 
[2026-08-11 13:15:16] local.INFO: Packet analysis {"connection_id":152187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc4"} 
[2026-08-11 13:15:16] local.INFO: Extracted packet for processing {"connection_id":152187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc4"} 
[2026-08-11 13:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327121920001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:15:16] 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-08-11 13:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786434091000,"timestamp_ms":1786434091000,"timestamp_seconds":1786434091,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc4f7f8"} 
[2026-08-11 13:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:15:16] 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-08-11 13: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 13:15:16] 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-08-11 13: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-08-11 13:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327121920001,"66":12287,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327121920001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:15:16] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:15:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327121920001,"power":12287,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":152187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:15:17] local.INFO: GPS data processed {"connection_id":152187,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:15:17] local.INFO: Acknowledgment sent {"connection_id":152187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:15:19] local.INFO: TCP Data received {"connection_id":153510,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:15:19] local.INFO: Processing buffer {"connection_id":153510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:15:19] local.INFO: IMEI packet received {"connection_id":153510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":153510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:15:24] local.INFO: TCP Data received {"connection_id":153510,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:15:24] local.INFO: Processing buffer {"connection_id":153510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:15:24] local.INFO: IMEI packet received {"connection_id":153510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":153510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:15:28] local.INFO: TCP Data received {"connection_id":153510,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:15:28] local.INFO: Processing buffer {"connection_id":153510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:15:28] local.INFO: Packet analysis {"connection_id":153510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:15:28] local.INFO: Extracted packet for processing {"connection_id":153510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:15:28] local.INFO: GPS Element Parsed {"raw_longitude":766902336,"raw_latitude":97176656,"longitude_deg":76.6902336,"latitude_deg":9.7176656,"altitude":19,"angle":57,"satellites":42,"speed":28,"hex_longitude":"2db60040","hex_latitude":"05cacc50","is_valid_coordinates":true} 
[2026-08-11 13:15:28] 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-08-11 13:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137536001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332895252627134464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786434132000,"timestamp_ms":1786434132000,"timestamp_seconds":1786434132,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc59820"} 
[2026-08-11 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-08-11 13:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 13:15:28] 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-08-11 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-08-11 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-08-11 13:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:15:28] 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-08-11 13:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137536001,"66":27767,"147":206,"83":18688,"24":28,"16":377597895278329856,"45":-5332895252627134464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137536001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:15:28] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:15:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332895252627134464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137536001,"power":27767,"unknown_147":206,"unknown_83":18688,"ignition":28,"odometer":null,"unknown_45":-5332895252627134464}} 
[2026-08-11 13:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":153510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:15:28] local.INFO: GPS data processed {"connection_id":153510,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:15:28] local.INFO: Acknowledgment sent {"connection_id":153510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:15:48] local.INFO: TCP Data received {"connection_id":152187,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc54a00012d1b734007259668002b008128..."} 
[2026-08-11 13:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc54a00012d1b734007259668002b008128..."} 
[2026-08-11 13:15:48] local.INFO: Processing buffer {"connection_id":152187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc54a00012d1b734007259668002b008128..."} 
[2026-08-11 13:15:48] local.INFO: Packet analysis {"connection_id":152187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:15:48] local.INFO: Extracted packet for processing {"connection_id":152187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:15:48] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:15: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-08-11 13:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327127296001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:15:48] 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-08-11 13:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786434112000,"timestamp_ms":1786434112000,"timestamp_seconds":1786434112,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc54a00"} 
[2026-08-11 13:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:15:48] 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-08-11 13:15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 13:15:48] 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-08-11 13:15: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-08-11 13:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327127296001,"66":12178,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327127296001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:15:48] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:15:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327127296001,"power":12178,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":152187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:15:48] local.INFO: GPS data processed {"connection_id":152187,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:15:48] local.INFO: Acknowledgment sent {"connection_id":152187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:15:59] local.INFO: TCP Data received {"connection_id":153510,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:15:59] local.INFO: Processing buffer {"connection_id":153510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:15:59] local.INFO: Packet analysis {"connection_id":153510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:15:59] local.INFO: Extracted packet for processing {"connection_id":153510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:15:59] local.INFO: GPS Element Parsed {"raw_longitude":766902336,"raw_latitude":97176656,"longitude_deg":76.6902336,"latitude_deg":9.7176656,"altitude":19,"angle":57,"satellites":42,"speed":28,"hex_longitude":"2db60040","hex_latitude":"05cacc50","is_valid_coordinates":true} 
[2026-08-11 13:15: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-08-11 13:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137536001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332895252627134464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786434132000,"timestamp_ms":1786434132000,"timestamp_seconds":1786434132,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc59820"} 
[2026-08-11 13:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13:15: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 13:15:59] 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-08-11 13:15: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-08-11 13:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:15:59] 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-08-11 13:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137536001,"66":27767,"147":206,"83":18688,"24":28,"16":377597895278329856,"45":-5332895252627134464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137536001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:15:59] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:15:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332895252627134464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137536001,"power":27767,"unknown_147":206,"unknown_83":18688,"ignition":28,"odometer":null,"unknown_45":-5332895252627134464}} 
[2026-08-11 13:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":153510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:15:59] local.INFO: GPS data processed {"connection_id":153510,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:15:59] local.INFO: Acknowledgment sent {"connection_id":153510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:16:16] local.INFO: TCP Data received {"connection_id":152188,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:16:16] local.INFO: Processing buffer {"connection_id":152188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:16:16] local.INFO: IMEI packet received {"connection_id":152188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":152188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:16:21] local.INFO: TCP Data received {"connection_id":152188,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:16:21] local.INFO: Processing buffer {"connection_id":152188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:16:21] local.INFO: IMEI packet received {"connection_id":152188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":152188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:16:22] local.INFO: TCP Data received {"connection_id":152188,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc59ff0012d1b734007259668002b008125..."} 
[2026-08-11 13:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc59ff0012d1b734007259668002b008125..."} 
[2026-08-11 13:16:22] local.INFO: Processing buffer {"connection_id":152188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc59ff0012d1b734007259668002b008125..."} 
[2026-08-11 13:16:22] local.INFO: Packet analysis {"connection_id":152188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:16:22] local.INFO: Extracted packet for processing {"connection_id":152188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:16:22] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:16: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-08-11 13:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327132672001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:16:22] 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-08-11 13:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786434134000,"timestamp_ms":1786434134000,"timestamp_seconds":1786434134,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc59ff0"} 
[2026-08-11 13:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:16:22] 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-08-11 13:16: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 13:16:22] 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-08-11 13:16: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-08-11 13:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327132672001,"66":12254,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327132672001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:16:22] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:16:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327132672001,"power":12254,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":152188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:16:22] local.INFO: GPS data processed {"connection_id":152188,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:16:22] local.INFO: Acknowledgment sent {"connection_id":152188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:16:23] local.INFO: TCP Data received {"connection_id":152188,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc5ee10012d1b734007259668002b008125..."} 
[2026-08-11 13:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc5ee10012d1b734007259668002b008125..."} 
[2026-08-11 13:16:23] local.INFO: Processing buffer {"connection_id":152188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc5ee10012d1b734007259668002b008125..."} 
[2026-08-11 13:16:23] local.INFO: Packet analysis {"connection_id":152188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:16:23] local.INFO: Extracted packet for processing {"connection_id":152188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:16: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-08-11 13:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327138304001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:16:23] 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-08-11 13:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786434154000,"timestamp_ms":1786434154000,"timestamp_seconds":1786434154,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc5ee10"} 
[2026-08-11 13:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:16:23] 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-08-11 13:16: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-11 13:16:23] 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-08-11 13:16: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-08-11 13:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327138304001,"66":12287,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327138304001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:16:23] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:16:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327138304001,"power":12287,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":152188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:16:23] local.INFO: GPS data processed {"connection_id":152188,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:16:23] local.INFO: Acknowledgment sent {"connection_id":152188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:16:24] local.INFO: TCP Data received {"connection_id":152189,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:16:24] local.INFO: Processing buffer {"connection_id":152189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:16:24] local.INFO: IMEI packet received {"connection_id":152189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":152189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:16:29] local.INFO: TCP Data received {"connection_id":152189,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:16:29] local.INFO: Processing buffer {"connection_id":152189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:16:29] local.INFO: IMEI packet received {"connection_id":152189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":152189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:16:30] local.INFO: TCP Data received {"connection_id":152189,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:16:30] local.INFO: Processing buffer {"connection_id":152189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:16:30] local.INFO: Packet analysis {"connection_id":152189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:16:30] local.INFO: Extracted packet for processing {"connection_id":152189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:16:30] local.INFO: GPS Element Parsed {"raw_longitude":766902336,"raw_latitude":97176656,"longitude_deg":76.6902336,"latitude_deg":9.7176656,"altitude":19,"angle":57,"satellites":42,"speed":28,"hex_longitude":"2db60040","hex_latitude":"05cacc50","is_valid_coordinates":true} 
[2026-08-11 13:16:30] 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-08-11 13:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137536001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332895252627134464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786434132000,"timestamp_ms":1786434132000,"timestamp_seconds":1786434132,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc59820"} 
[2026-08-11 13:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 13:16:30] 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-08-11 13: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-08-11 13:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:16:30] 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-08-11 13:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137536001,"66":27767,"147":206,"83":18688,"24":28,"16":377597895278329856,"45":-5332895252627134464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137536001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:16:30] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:16:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332895252627134464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137536001,"power":27767,"unknown_147":206,"unknown_83":18688,"ignition":28,"odometer":null,"unknown_45":-5332895252627134464}} 
[2026-08-11 13:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":152189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:16:30] local.INFO: GPS data processed {"connection_id":152189,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:16:30] local.INFO: Acknowledgment sent {"connection_id":152189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:16:35] local.INFO: TCP Data received {"connection_id":152189,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:16:35] local.INFO: Processing buffer {"connection_id":152189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:16:35] local.INFO: Packet analysis {"connection_id":152189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:16:35] local.INFO: Extracted packet for processing {"connection_id":152189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:16:35] local.INFO: GPS Element Parsed {"raw_longitude":766902336,"raw_latitude":97176656,"longitude_deg":76.6902336,"latitude_deg":9.7176656,"altitude":19,"angle":57,"satellites":42,"speed":28,"hex_longitude":"2db60040","hex_latitude":"05cacc50","is_valid_coordinates":true} 
[2026-08-11 13:16: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-08-11 13:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137536001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332895252627134464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786434132000,"timestamp_ms":1786434132000,"timestamp_seconds":1786434132,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc59820"} 
[2026-08-11 13:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 13:16: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-08-11 13: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-08-11 13:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:16:35] 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-08-11 13:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137536001,"66":27767,"147":206,"83":18688,"24":28,"16":377597895278329856,"45":-5332895252627134464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137536001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:16:35] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:16:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332895252627134464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137536001,"power":27767,"unknown_147":206,"unknown_83":18688,"ignition":28,"odometer":null,"unknown_45":-5332895252627134464}} 
[2026-08-11 13:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":152189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:16:35] local.INFO: GPS data processed {"connection_id":152189,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:16:35] local.INFO: Acknowledgment sent {"connection_id":152189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:16:55] local.INFO: TCP Data received {"connection_id":152188,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc64018012d1b734007259668002b008128..."} 
[2026-08-11 13:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc64018012d1b734007259668002b008128..."} 
[2026-08-11 13:16:55] local.INFO: Processing buffer {"connection_id":152188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc64018012d1b734007259668002b008128..."} 
[2026-08-11 13:16:55] local.INFO: Packet analysis {"connection_id":152188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc6"} 
[2026-08-11 13:16:55] local.INFO: Extracted packet for processing {"connection_id":152188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc6"} 
[2026-08-11 13:16:55] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327143424001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:16: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-08-11 13:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786434175000,"timestamp_ms":1786434175000,"timestamp_seconds":1786434175,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc64018"} 
[2026-08-11 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-08-11 13:16: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-08-11 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 13:16: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-08-11 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-08-11 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-08-11 13:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327143424001,"66":11961,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327143424001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:16:55] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327143424001,"power":11961,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":152188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:16:55] local.INFO: GPS data processed {"connection_id":152188,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:16:55] local.INFO: Acknowledgment sent {"connection_id":152188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:17:10] local.INFO: TCP Data received {"connection_id":153511,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:17:10] local.INFO: Processing buffer {"connection_id":153511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:17:10] local.INFO: IMEI packet received {"connection_id":153511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":153511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:17:16] local.INFO: TCP Data received {"connection_id":153511,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:17:16] local.INFO: Processing buffer {"connection_id":153511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:17:16] local.INFO: IMEI packet received {"connection_id":153511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":153511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:17:17] local.INFO: TCP Data received {"connection_id":153511,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc69220012d1b734007259668002b008126..."} 
[2026-08-11 13:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc69220012d1b734007259668002b008126..."} 
[2026-08-11 13:17:17] local.INFO: Processing buffer {"connection_id":153511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc69220012d1b734007259668002b008126..."} 
[2026-08-11 13:17:17] local.INFO: Packet analysis {"connection_id":153511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc6"} 
[2026-08-11 13:17:17] local.INFO: Extracted packet for processing {"connection_id":153511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc6"} 
[2026-08-11 13:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:17: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-08-11 13:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327148800001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:17:17] 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-08-11 13:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786434196000,"timestamp_ms":1786434196000,"timestamp_seconds":1786434196,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc69220"} 
[2026-08-11 13:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:17:17] 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-08-11 13:17: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 13:17:17] 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-08-11 13:17: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-08-11 13:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327148800001,"66":11830,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327148800001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:17:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:17:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327148800001,"power":11830,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":153511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:17:17] local.INFO: GPS data processed {"connection_id":153511,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:17:17] local.INFO: Acknowledgment sent {"connection_id":153511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:17:19] local.INFO: TCP Data received {"connection_id":152562,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:17:19] local.INFO: Processing buffer {"connection_id":152562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:17:19] local.INFO: IMEI packet received {"connection_id":152562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":152562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:17:27] local.INFO: TCP Data received {"connection_id":152562,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:17:27] local.INFO: Processing buffer {"connection_id":152562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:17:27] local.INFO: IMEI packet received {"connection_id":152562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":152562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:17:30] local.INFO: TCP Data received {"connection_id":152562,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:17:30] local.INFO: Processing buffer {"connection_id":152562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc59820012db6004005cacc50001300392a..."} 
[2026-08-11 13:17:30] local.INFO: Packet analysis {"connection_id":152562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:17:30] local.INFO: Extracted packet for processing {"connection_id":152562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc5"} 
[2026-08-11 13:17:30] local.INFO: GPS Element Parsed {"raw_longitude":766902336,"raw_latitude":97176656,"longitude_deg":76.6902336,"latitude_deg":9.7176656,"altitude":19,"angle":57,"satellites":42,"speed":28,"hex_longitude":"2db60040","hex_latitude":"05cacc50","is_valid_coordinates":true} 
[2026-08-11 13:17:30] 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-08-11 13:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137536001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332895252627134464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786434132000,"timestamp_ms":1786434132000,"timestamp_seconds":1786434132,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc59820"} 
[2026-08-11 13:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 13:17:30] 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-08-11 13: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-08-11 13:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:17:30] 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-08-11 13:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137536001,"66":27767,"147":206,"83":18688,"24":28,"16":377597895278329856,"45":-5332895252627134464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137536001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:17:30] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:17:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332895252627134464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137536001,"power":27767,"unknown_147":206,"unknown_83":18688,"ignition":28,"odometer":null,"unknown_45":-5332895252627134464}} 
[2026-08-11 13:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":152562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:17:30] local.INFO: GPS data processed {"connection_id":152562,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:17:30] local.INFO: Acknowledgment sent {"connection_id":152562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:17:48] local.INFO: TCP Data received {"connection_id":153511,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc6e428012d1b734007259668002b008128..."} 
[2026-08-11 13:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc6e428012d1b734007259668002b008128..."} 
[2026-08-11 13:17:48] local.INFO: Processing buffer {"connection_id":153511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc6e428012d1b734007259668002b008128..."} 
[2026-08-11 13:17:48] local.INFO: Packet analysis {"connection_id":153511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc6"} 
[2026-08-11 13:17:48] local.INFO: Extracted packet for processing {"connection_id":153511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc6"} 
[2026-08-11 13:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:17: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-08-11 13:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327154176001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:17:48] 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-08-11 13:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786434217000,"timestamp_ms":1786434217000,"timestamp_seconds":1786434217,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc6e428"} 
[2026-08-11 13:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:17:48] 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-08-11 13:17: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-11 13:17:48] 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-08-11 13:17: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-08-11 13:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327154176001,"66":12232,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327154176001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:17:48] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:17:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327154176001,"power":12232,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":153511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:17:49] local.INFO: GPS data processed {"connection_id":153511,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:17:49] local.INFO: Acknowledgment sent {"connection_id":153511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:18:01] local.INFO: TCP Data received {"connection_id":152562,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:18:01] local.INFO: Processing buffer {"connection_id":152562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:18:01] local.INFO: Packet analysis {"connection_id":152562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:18:01] local.INFO: Extracted packet for processing {"connection_id":152562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:18:01] local.INFO: GPS Element Parsed {"raw_longitude":766913920,"raw_latitude":97183224,"longitude_deg":76.691392,"latitude_deg":9.7183224,"altitude":18,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2db62d80","hex_latitude":"05cae5f8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332191565185265664,"note":"Value kept but may cause issues"} 
[2026-08-11 13:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786434437000,"timestamp_ms":1786434437000,"timestamp_seconds":1786434437,"priority":1,"record_length":96,"hex_timestamp":"0000019fefca3f88"} 
[2026-08-11 13:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:18:01] 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-08-11 13: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-08-11 13:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:18:01] 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-08-11 13:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137792001,"66":26267,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5332191565185265664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:18:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332191565185265664,"description":"Unknown IO ID 45"} 
[2026-08-11 13:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137792001,"power":26267,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5332191565185265664}} 
[2026-08-11 13:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":152562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:18:01] local.INFO: GPS data processed {"connection_id":152562,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:18:01] local.INFO: Acknowledgment sent {"connection_id":152562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:18:10] local.INFO: TCP Data received {"connection_id":154884,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:18:10] local.INFO: Processing buffer {"connection_id":154884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:18:10] local.INFO: IMEI packet received {"connection_id":154884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":154884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:18:18] local.INFO: TCP Data received {"connection_id":154884,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:18:18] local.INFO: Processing buffer {"connection_id":154884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:18:18] local.INFO: IMEI packet received {"connection_id":154884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":154884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:18:19] local.INFO: TCP Data received {"connection_id":154884,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc73630012d1b734007259668002b008126..."} 
[2026-08-11 13:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc73630012d1b734007259668002b008126..."} 
[2026-08-11 13:18:19] local.INFO: Processing buffer {"connection_id":154884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc73630012d1b734007259668002b008126..."} 
[2026-08-11 13:18:19] local.INFO: Packet analysis {"connection_id":154884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc7"} 
[2026-08-11 13:18:19] local.INFO: Extracted packet for processing {"connection_id":154884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc7"} 
[2026-08-11 13:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:18: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-08-11 13:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327159552001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:18:19] 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-08-11 13:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786434238000,"timestamp_ms":1786434238000,"timestamp_seconds":1786434238,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc73630"} 
[2026-08-11 13:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:18:19] 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-08-11 13:18: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 13:18:19] 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-08-11 13:18: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-08-11 13:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":154884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":154884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":154884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327159552001,"66":12287,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327159552001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:18:19] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:18:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327159552001,"power":12287,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":154884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:18:20] local.INFO: GPS data processed {"connection_id":154884,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:18:20] local.INFO: Acknowledgment sent {"connection_id":154884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:18:20] local.INFO: TCP Data received {"connection_id":153512,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:18:20] local.INFO: Processing buffer {"connection_id":153512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:18:20] local.INFO: IMEI packet received {"connection_id":153512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":153512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:18:24] local.INFO: TCP Data received {"connection_id":153512,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:18:24] local.INFO: Processing buffer {"connection_id":153512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:18:24] local.INFO: IMEI packet received {"connection_id":153512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":153512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:18:25] local.INFO: TCP Data received {"connection_id":153512,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:18:25] local.INFO: Processing buffer {"connection_id":153512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:18:25] local.INFO: Packet analysis {"connection_id":153512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:18:25] local.INFO: Extracted packet for processing {"connection_id":153512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:18:25] local.INFO: GPS Element Parsed {"raw_longitude":766913920,"raw_latitude":97183224,"longitude_deg":76.691392,"latitude_deg":9.7183224,"altitude":18,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2db62d80","hex_latitude":"05cae5f8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332191565185265664,"note":"Value kept but may cause issues"} 
[2026-08-11 13:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786434437000,"timestamp_ms":1786434437000,"timestamp_seconds":1786434437,"priority":1,"record_length":96,"hex_timestamp":"0000019fefca3f88"} 
[2026-08-11 13:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:18:25] 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-08-11 13: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-08-11 13:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:18:25] 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-08-11 13:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137792001,"66":26267,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5332191565185265664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:18:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:18:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332191565185265664,"description":"Unknown IO ID 45"} 
[2026-08-11 13:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137792001,"power":26267,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5332191565185265664}} 
[2026-08-11 13:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":153512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:18:25] local.INFO: GPS data processed {"connection_id":153512,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:18:25] local.INFO: Acknowledgment sent {"connection_id":153512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:18:51] local.INFO: TCP Data received {"connection_id":154884,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc78838012d1b734007259668002b008126..."} 
[2026-08-11 13:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc78838012d1b734007259668002b008126..."} 
[2026-08-11 13:18:51] local.INFO: Processing buffer {"connection_id":154884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc78838012d1b734007259668002b008126..."} 
[2026-08-11 13:18:51] local.INFO: Packet analysis {"connection_id":154884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc7"} 
[2026-08-11 13:18:51] local.INFO: Extracted packet for processing {"connection_id":154884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc7"} 
[2026-08-11 13:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:18: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-08-11 13:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327164928001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:18:51] 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-08-11 13:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786434259000,"timestamp_ms":1786434259000,"timestamp_seconds":1786434259,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc78838"} 
[2026-08-11 13:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:18:51] 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-08-11 13:18: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 13:18:51] 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-08-11 13:18: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-08-11 13:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327164928001,"66":12145,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327164928001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:18:51] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:18:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327164928001,"power":12145,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":154884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:18:51] local.INFO: GPS data processed {"connection_id":154884,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:18:51] local.INFO: Acknowledgment sent {"connection_id":154884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:18:56] local.INFO: TCP Data received {"connection_id":153512,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:18:56] local.INFO: Processing buffer {"connection_id":153512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:18:56] local.INFO: Packet analysis {"connection_id":153512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:18:56] local.INFO: Extracted packet for processing {"connection_id":153512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:18:56] local.INFO: GPS Element Parsed {"raw_longitude":766913920,"raw_latitude":97183224,"longitude_deg":76.691392,"latitude_deg":9.7183224,"altitude":18,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2db62d80","hex_latitude":"05cae5f8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332191565185265664,"note":"Value kept but may cause issues"} 
[2026-08-11 13:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786434437000,"timestamp_ms":1786434437000,"timestamp_seconds":1786434437,"priority":1,"record_length":96,"hex_timestamp":"0000019fefca3f88"} 
[2026-08-11 13:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:18:56] 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-08-11 13: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-08-11 13:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:18:56] 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-08-11 13:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137792001,"66":26267,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5332191565185265664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:18:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:18:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332191565185265664,"description":"Unknown IO ID 45"} 
[2026-08-11 13:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137792001,"power":26267,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5332191565185265664}} 
[2026-08-11 13:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":153512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:18:56] local.INFO: GPS data processed {"connection_id":153512,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:18:56] local.INFO: Acknowledgment sent {"connection_id":153512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:19:10] local.INFO: TCP Data received {"connection_id":152563,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:19:10] local.INFO: Processing buffer {"connection_id":152563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:19:10] local.INFO: IMEI packet received {"connection_id":152563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":152563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:19:11] local.INFO: TCP Data received {"connection_id":152563,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:19:11] local.INFO: Processing buffer {"connection_id":152563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:19:11] local.INFO: IMEI packet received {"connection_id":152563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":152563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:19:16] local.INFO: TCP Data received {"connection_id":152563,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:19:16] local.INFO: Processing buffer {"connection_id":152563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:19:16] local.INFO: IMEI packet received {"connection_id":152563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":152563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:19:17] local.INFO: TCP Data received {"connection_id":152563,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc7da40012d1b734007259668002b008125..."} 
[2026-08-11 13:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc7da40012d1b734007259668002b008125..."} 
[2026-08-11 13:19:17] local.INFO: Processing buffer {"connection_id":152563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc7da40012d1b734007259668002b008125..."} 
[2026-08-11 13:19:17] local.INFO: Packet analysis {"connection_id":152563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc7"} 
[2026-08-11 13:19:17] local.INFO: Extracted packet for processing {"connection_id":152563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc7"} 
[2026-08-11 13:19:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:19: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-08-11 13:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327170304001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:19:17] 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-08-11 13:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786434280000,"timestamp_ms":1786434280000,"timestamp_seconds":1786434280,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc7da40"} 
[2026-08-11 13:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:19:17] 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-08-11 13:19: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-11 13:19:17] 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-08-11 13:19: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-08-11 13:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327170304001,"66":12254,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327170304001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:19:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:19:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327170304001,"power":12254,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":152563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:19:17] local.INFO: GPS data processed {"connection_id":152563,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:19:17] local.INFO: Acknowledgment sent {"connection_id":152563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:19:19] local.INFO: TCP Data received {"connection_id":152190,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:19:19] local.INFO: Processing buffer {"connection_id":152190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:19:19] local.INFO: IMEI packet received {"connection_id":152190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":152190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:19:24] local.INFO: TCP Data received {"connection_id":152190,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:19:24] local.INFO: Processing buffer {"connection_id":152190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:19:24] local.INFO: IMEI packet received {"connection_id":152190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":152190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:19:25] local.INFO: TCP Data received {"connection_id":152190,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:19:25] local.INFO: Processing buffer {"connection_id":152190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:19:25] local.INFO: Packet analysis {"connection_id":152190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:19:25] local.INFO: Extracted packet for processing {"connection_id":152190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:19:25] local.INFO: GPS Element Parsed {"raw_longitude":766913920,"raw_latitude":97183224,"longitude_deg":76.691392,"latitude_deg":9.7183224,"altitude":18,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2db62d80","hex_latitude":"05cae5f8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332191565185265664,"note":"Value kept but may cause issues"} 
[2026-08-11 13:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786434437000,"timestamp_ms":1786434437000,"timestamp_seconds":1786434437,"priority":1,"record_length":96,"hex_timestamp":"0000019fefca3f88"} 
[2026-08-11 13:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:19:25] 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-08-11 13: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-08-11 13:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:19:25] 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-08-11 13:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137792001,"66":26267,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5332191565185265664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:19:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:19:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332191565185265664,"description":"Unknown IO ID 45"} 
[2026-08-11 13:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137792001,"power":26267,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5332191565185265664}} 
[2026-08-11 13:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":152190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:19:25] local.INFO: GPS data processed {"connection_id":152190,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:19:25] local.INFO: Acknowledgment sent {"connection_id":152190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:19:49] local.INFO: TCP Data received {"connection_id":152563,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefc82c48012d1b734007259668002b008124..."} 
[2026-08-11 13:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefc82c48012d1b734007259668002b008124..."} 
[2026-08-11 13:19:49] local.INFO: Processing buffer {"connection_id":152563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefc82c48012d1b734007259668002b008124..."} 
[2026-08-11 13:19:49] local.INFO: Packet analysis {"connection_id":152563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefc8"} 
[2026-08-11 13:19:49] local.INFO: Extracted packet for processing {"connection_id":152563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefc8"} 
[2026-08-11 13:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:19: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-08-11 13:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327175680001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:19:49] 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-08-11 13:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786434301000,"timestamp_ms":1786434301000,"timestamp_seconds":1786434301,"priority":1,"record_length":96,"hex_timestamp":"0000019fefc82c48"} 
[2026-08-11 13:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:19:49] 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-08-11 13:19: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-11 13:19:49] 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-08-11 13:19: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-08-11 13:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327175680001,"66":12287,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327175680001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:19:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:19:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327175680001,"power":12287,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":152563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:19:49] local.INFO: GPS data processed {"connection_id":152563,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:19:49] local.INFO: Acknowledgment sent {"connection_id":152563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:19:56] local.INFO: TCP Data received {"connection_id":152190,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:19:56] local.INFO: Processing buffer {"connection_id":152190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:19:56] local.INFO: Packet analysis {"connection_id":152190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:19:56] local.INFO: Extracted packet for processing {"connection_id":152190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:19:56] local.INFO: GPS Element Parsed {"raw_longitude":766913920,"raw_latitude":97183224,"longitude_deg":76.691392,"latitude_deg":9.7183224,"altitude":18,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2db62d80","hex_latitude":"05cae5f8","is_valid_coordinates":true} 
[2026-08-11 13:19: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-08-11 13:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332191565185265664,"note":"Value kept but may cause issues"} 
[2026-08-11 13:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786434437000,"timestamp_ms":1786434437000,"timestamp_seconds":1786434437,"priority":1,"record_length":96,"hex_timestamp":"0000019fefca3f88"} 
[2026-08-11 13:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13:19: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":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:19:56] 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-08-11 13:19: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-08-11 13:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:19:56] 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-08-11 13:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137792001,"66":26267,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5332191565185265664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:19:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:19:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332191565185265664,"description":"Unknown IO ID 45"} 
[2026-08-11 13:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137792001,"power":26267,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5332191565185265664}} 
[2026-08-11 13:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":152190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:19:56] local.INFO: GPS data processed {"connection_id":152190,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:19:56] local.INFO: Acknowledgment sent {"connection_id":152190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:20:10] local.INFO: TCP Data received {"connection_id":152564,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:20:10] local.INFO: Processing buffer {"connection_id":152564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:20:10] local.INFO: IMEI packet received {"connection_id":152564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":152564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:20:12] local.INFO: TCP Data received {"connection_id":152564,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:20:12] local.INFO: Processing buffer {"connection_id":152564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:20:12] local.INFO: IMEI packet received {"connection_id":152564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":152564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:20:16] local.INFO: TCP Data received {"connection_id":152564,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:20:16] local.INFO: Processing buffer {"connection_id":152564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:20:16] local.INFO: IMEI packet received {"connection_id":152564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":152564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:20:17] local.INFO: TCP Data received {"connection_id":152564,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefcbb2a0012d1b734007259668002b008126..."} 
[2026-08-11 13:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefcbb2a0012d1b734007259668002b008126..."} 
[2026-08-11 13:20:17] local.INFO: Processing buffer {"connection_id":152564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefcbb2a0012d1b734007259668002b008126..."} 
[2026-08-11 13:20:17] local.INFO: Packet analysis {"connection_id":152564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefcb"} 
[2026-08-11 13:20:17] local.INFO: Extracted packet for processing {"connection_id":152564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefcb"} 
[2026-08-11 13:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327234816001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:20:17] 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-08-11 13:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786434532000,"timestamp_ms":1786434532000,"timestamp_seconds":1786434532,"priority":1,"record_length":96,"hex_timestamp":"0000019fefcbb2a0"} 
[2026-08-11 13:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:20:17] 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-08-11 13: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 13:20:17] 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-08-11 13: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-08-11 13:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327234816001,"66":12254,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327234816001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:20:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:20:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327234816001,"power":12254,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":152564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:20:18] local.INFO: GPS data processed {"connection_id":152564,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:20:18] local.INFO: Acknowledgment sent {"connection_id":152564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:20:19] local.INFO: TCP Data received {"connection_id":152565,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:20:19] local.INFO: Processing buffer {"connection_id":152565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:20:19] local.INFO: IMEI packet received {"connection_id":152565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":152565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:20:24] local.INFO: TCP Data received {"connection_id":152565,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:20:24] local.INFO: Processing buffer {"connection_id":152565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:20:24] local.INFO: IMEI packet received {"connection_id":152565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":152565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:20:25] local.INFO: TCP Data received {"connection_id":152565,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:20:25] local.INFO: Processing buffer {"connection_id":152565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:20:25] local.INFO: Packet analysis {"connection_id":152565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:20:25] local.INFO: Extracted packet for processing {"connection_id":152565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:20:25] local.INFO: GPS Element Parsed {"raw_longitude":766913920,"raw_latitude":97183224,"longitude_deg":76.691392,"latitude_deg":9.7183224,"altitude":18,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2db62d80","hex_latitude":"05cae5f8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332191565185265664,"note":"Value kept but may cause issues"} 
[2026-08-11 13:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786434437000,"timestamp_ms":1786434437000,"timestamp_seconds":1786434437,"priority":1,"record_length":96,"hex_timestamp":"0000019fefca3f88"} 
[2026-08-11 13:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:20:25] 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-08-11 13: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-08-11 13:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:20:25] 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-08-11 13:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137792001,"66":26267,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5332191565185265664},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:20:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:20:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332191565185265664,"description":"Unknown IO ID 45"} 
[2026-08-11 13:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137792001,"power":26267,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5332191565185265664}} 
[2026-08-11 13:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":152565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:20:25] local.INFO: GPS data processed {"connection_id":152565,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:20:25] local.INFO: Acknowledgment sent {"connection_id":152565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:20:49] local.INFO: TCP Data received {"connection_id":152564,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefcc04a8012d1b734007259668002b008126..."} 
[2026-08-11 13:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefcc04a8012d1b734007259668002b008126..."} 
[2026-08-11 13:20:49] local.INFO: Processing buffer {"connection_id":152564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefcc04a8012d1b734007259668002b008126..."} 
[2026-08-11 13:20:49] local.INFO: Packet analysis {"connection_id":152564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefcc"} 
[2026-08-11 13:20:49] local.INFO: Extracted packet for processing {"connection_id":152564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefcc"} 
[2026-08-11 13:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:20: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-08-11 13:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327240192001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:20:49] 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-08-11 13:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786434553000,"timestamp_ms":1786434553000,"timestamp_seconds":1786434553,"priority":1,"record_length":96,"hex_timestamp":"0000019fefcc04a8"} 
[2026-08-11 13:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:20:49] 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-08-11 13:20: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-11 13:20:49] 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-08-11 13:20: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-08-11 13:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327240192001,"66":11787,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327240192001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:20:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:20:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327240192001,"power":11787,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":152564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:20:49] local.INFO: GPS data processed {"connection_id":152564,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:20:49] local.INFO: Acknowledgment sent {"connection_id":152564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:20:56] local.INFO: TCP Data received {"connection_id":152565,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:20:56] local.INFO: Processing buffer {"connection_id":152565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:20:56] local.INFO: Packet analysis {"connection_id":152565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:20:56] local.INFO: Extracted packet for processing {"connection_id":152565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":766913920,"raw_latitude":97183224,"longitude_deg":76.691392,"latitude_deg":9.7183224,"altitude":18,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2db62d80","hex_latitude":"05cae5f8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332191565185265664,"note":"Value kept but may cause issues"} 
[2026-08-11 13:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786434437000,"timestamp_ms":1786434437000,"timestamp_seconds":1786434437,"priority":1,"record_length":96,"hex_timestamp":"0000019fefca3f88"} 
[2026-08-11 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-08-11 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:20:56] 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-08-11 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-08-11 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-08-11 13:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:20:56] 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-08-11 13:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137792001,"66":26267,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5332191565185265664},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:20:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332191565185265664,"description":"Unknown IO ID 45"} 
[2026-08-11 13:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137792001,"power":26267,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5332191565185265664}} 
[2026-08-11 13:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":152565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:20:56] local.INFO: GPS data processed {"connection_id":152565,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:20:56] local.INFO: Acknowledgment sent {"connection_id":152565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:21:10] local.INFO: TCP Data received {"connection_id":154885,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:21:10] local.INFO: Processing buffer {"connection_id":154885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:21:10] local.INFO: IMEI packet received {"connection_id":154885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":154885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:21:16] local.INFO: TCP Data received {"connection_id":154885,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:21:16] local.INFO: Processing buffer {"connection_id":154885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:21:16] local.INFO: IMEI packet received {"connection_id":154885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":154885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:21:17] local.INFO: TCP Data received {"connection_id":154885,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefcc56b0012d1b734007259668002b008124..."} 
[2026-08-11 13:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefcc56b0012d1b734007259668002b008124..."} 
[2026-08-11 13:21:17] local.INFO: Processing buffer {"connection_id":154885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefcc56b0012d1b734007259668002b008124..."} 
[2026-08-11 13:21:17] local.INFO: Packet analysis {"connection_id":154885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefcc"} 
[2026-08-11 13:21:17] local.INFO: Extracted packet for processing {"connection_id":154885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefcc"} 
[2026-08-11 13:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:21: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-08-11 13:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327245568001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:17] 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-08-11 13:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786434574000,"timestamp_ms":1786434574000,"timestamp_seconds":1786434574,"priority":1,"record_length":96,"hex_timestamp":"0000019fefcc56b0"} 
[2026-08-11 13:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:21:17] 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-08-11 13:21: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-08-11 13:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4022999160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2523398187,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6922092248125330149,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-08-11 13:21:17] local.WARNING: Large IO value detected {"io_id":106,"raw_value":2147560731,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:17] local.WARNING: Large IO value detected {"io_id":115,"raw_value":4613697671184526080,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:17] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242791,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:17] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2282480586146709504,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:17] local.WARNING: Large IO value detected {"io_id":57,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:17] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:17] local.WARNING: Large IO value detected {"io_id":129,"raw_value":2666130979403336192,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:17] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,92,28,24,241,158,16,31,159,178,45,64,150,43,38,10,66,96,37,14,1,240,233,239,4,113,205,106,115,104,39,47,2,41,57,206,129],"length":533,"final_offset":663,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-08-11 13:21:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098618543839641600,"timestamp_seconds":3098618543839641.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 13:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327245568001,"66":12254,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327245568001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:21:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:21:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327245568001,"power":12254,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":154885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:21:17] local.INFO: GPS data processed {"connection_id":154885,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:21:17] local.INFO: Acknowledgment sent {"connection_id":154885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:21:19] local.INFO: TCP Data received {"connection_id":152191,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:21:19] local.INFO: Processing buffer {"connection_id":152191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:21:19] local.INFO: IMEI packet received {"connection_id":152191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":152191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:21:24] local.INFO: TCP Data received {"connection_id":152191,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:21:24] local.INFO: Processing buffer {"connection_id":152191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:21:24] local.INFO: IMEI packet received {"connection_id":152191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":152191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:21:25] local.INFO: TCP Data received {"connection_id":152191,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:21:25] local.INFO: Processing buffer {"connection_id":152191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:21:25] local.INFO: Packet analysis {"connection_id":152191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:21:25] local.INFO: Extracted packet for processing {"connection_id":152191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:21:25] local.INFO: GPS Element Parsed {"raw_longitude":766913920,"raw_latitude":97183224,"longitude_deg":76.691392,"latitude_deg":9.7183224,"altitude":18,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2db62d80","hex_latitude":"05cae5f8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332191565185265664,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786434437000,"timestamp_ms":1786434437000,"timestamp_seconds":1786434437,"priority":1,"record_length":96,"hex_timestamp":"0000019fefca3f88"} 
[2026-08-11 13:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:21:25] 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-08-11 13: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-08-11 13:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:21:25] 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-08-11 13:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137792001,"66":26267,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5332191565185265664},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:21:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:21:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332191565185265664,"description":"Unknown IO ID 45"} 
[2026-08-11 13:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137792001,"power":26267,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5332191565185265664}} 
[2026-08-11 13:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":152191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:21:25] local.INFO: GPS data processed {"connection_id":152191,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:21:25] local.INFO: Acknowledgment sent {"connection_id":152191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:21:49] local.INFO: TCP Data received {"connection_id":154885,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefcca8b8012d1b734007259668002b008126..."} 
[2026-08-11 13:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefcca8b8012d1b734007259668002b008126..."} 
[2026-08-11 13:21:49] local.INFO: Processing buffer {"connection_id":154885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefcca8b8012d1b734007259668002b008126..."} 
[2026-08-11 13:21:49] local.INFO: Packet analysis {"connection_id":154885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefcc"} 
[2026-08-11 13:21:49] local.INFO: Extracted packet for processing {"connection_id":154885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefcc"} 
[2026-08-11 13:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:21: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-08-11 13:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327250944001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:49] 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-08-11 13:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786434595000,"timestamp_ms":1786434595000,"timestamp_seconds":1786434595,"priority":1,"record_length":96,"hex_timestamp":"0000019fefcca8b8"} 
[2026-08-11 13:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:21:49] 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-08-11 13:21: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-11 13:21:49] 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-08-11 13:21: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-08-11 13:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327250944001,"66":12265,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327250944001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:21:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:21:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327250944001,"power":12265,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":154885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:21:49] local.INFO: GPS data processed {"connection_id":154885,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:21:49] local.INFO: Acknowledgment sent {"connection_id":154885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:21:56] local.INFO: TCP Data received {"connection_id":152191,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:21:56] local.INFO: Processing buffer {"connection_id":152191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:21:56] local.INFO: Packet analysis {"connection_id":152191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:21:56] local.INFO: Extracted packet for processing {"connection_id":152191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:21:56] local.INFO: GPS Element Parsed {"raw_longitude":766913920,"raw_latitude":97183224,"longitude_deg":76.691392,"latitude_deg":9.7183224,"altitude":18,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2db62d80","hex_latitude":"05cae5f8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332191565185265664,"note":"Value kept but may cause issues"} 
[2026-08-11 13:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786434437000,"timestamp_ms":1786434437000,"timestamp_seconds":1786434437,"priority":1,"record_length":96,"hex_timestamp":"0000019fefca3f88"} 
[2026-08-11 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-08-11 13:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:21:56] 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-08-11 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-08-11 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-08-11 13:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:21:56] 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-08-11 13:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137792001,"66":26267,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5332191565185265664},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:21:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:21:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332191565185265664,"description":"Unknown IO ID 45"} 
[2026-08-11 13:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137792001,"power":26267,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5332191565185265664}} 
[2026-08-11 13:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":152191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:21:56] local.INFO: GPS data processed {"connection_id":152191,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:21:56] local.INFO: Acknowledgment sent {"connection_id":152191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:22:16] local.INFO: TCP Data received {"connection_id":152566,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:22:16] local.INFO: Processing buffer {"connection_id":152566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:22:16] local.INFO: IMEI packet received {"connection_id":152566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":152566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:22:19] local.INFO: TCP Data received {"connection_id":152566,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:22:19] local.INFO: Processing buffer {"connection_id":152566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:22:19] local.INFO: IMEI packet received {"connection_id":152566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":152566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:22:20] local.INFO: TCP Data received {"connection_id":152566,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefccfac0012d1b734007259668002b008125..."} 
[2026-08-11 13:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefccfac0012d1b734007259668002b008125..."} 
[2026-08-11 13:22:20] local.INFO: Processing buffer {"connection_id":152566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefccfac0012d1b734007259668002b008125..."} 
[2026-08-11 13:22:20] local.INFO: Packet analysis {"connection_id":152566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefcc"} 
[2026-08-11 13:22:20] local.INFO: Extracted packet for processing {"connection_id":152566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefcc"} 
[2026-08-11 13:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327256320001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:22:20] 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-08-11 13:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786434616000,"timestamp_ms":1786434616000,"timestamp_seconds":1786434616,"priority":1,"record_length":96,"hex_timestamp":"0000019fefccfac0"} 
[2026-08-11 13:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:22:20] 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-08-11 13: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-11 13:22:20] 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-08-11 13: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-08-11 13:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327256320001,"66":12287,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327256320001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:22:20] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:22:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327256320001,"power":12287,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":152566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:22:20] local.INFO: GPS data processed {"connection_id":152566,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:22:20] local.INFO: Acknowledgment sent {"connection_id":152566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:22:21] local.INFO: TCP Data received {"connection_id":152566,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefcd4cc8012d1b734007259668002b008126..."} 
[2026-08-11 13:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefcd4cc8012d1b734007259668002b008126..."} 
[2026-08-11 13:22:21] local.INFO: Processing buffer {"connection_id":152566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefcd4cc8012d1b734007259668002b008126..."} 
[2026-08-11 13:22:21] local.INFO: Packet analysis {"connection_id":152566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefcd"} 
[2026-08-11 13:22:21] local.INFO: Extracted packet for processing {"connection_id":152566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefcd"} 
[2026-08-11 13:22:21] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:22: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-08-11 13:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327261696001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:22:21] 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-08-11 13:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786434637000,"timestamp_ms":1786434637000,"timestamp_seconds":1786434637,"priority":1,"record_length":96,"hex_timestamp":"0000019fefcd4cc8"} 
[2026-08-11 13:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:22:21] 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-08-11 13:22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 13:22:21] 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-08-11 13:22: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-08-11 13:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327261696001,"66":12287,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327261696001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:22:21] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:22:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327261696001,"power":12287,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":152566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:22:21] local.INFO: GPS data processed {"connection_id":152566,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:22:21] local.INFO: Acknowledgment sent {"connection_id":152566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:22:24] local.INFO: TCP Data received {"connection_id":152567,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:22:24] local.INFO: Processing buffer {"connection_id":152567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:22:24] local.INFO: IMEI packet received {"connection_id":152567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":152567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:22:31] local.INFO: TCP Data received {"connection_id":152567,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:22:31] local.INFO: Processing buffer {"connection_id":152567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:22:31] local.INFO: IMEI packet received {"connection_id":152567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":152567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:22:31] local.INFO: TCP Data received {"connection_id":152567,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:22:31] local.INFO: Processing buffer {"connection_id":152567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:22:31] local.INFO: Packet analysis {"connection_id":152567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:22:31] local.INFO: Extracted packet for processing {"connection_id":152567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:22:31] local.INFO: GPS Element Parsed {"raw_longitude":766913920,"raw_latitude":97183224,"longitude_deg":76.691392,"latitude_deg":9.7183224,"altitude":18,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2db62d80","hex_latitude":"05cae5f8","is_valid_coordinates":true} 
[2026-08-11 13:22: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-08-11 13:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332191565185265664,"note":"Value kept but may cause issues"} 
[2026-08-11 13:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786434437000,"timestamp_ms":1786434437000,"timestamp_seconds":1786434437,"priority":1,"record_length":96,"hex_timestamp":"0000019fefca3f88"} 
[2026-08-11 13:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13:22: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-08-11 13:22: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-08-11 13:22: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-08-11 13:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:22:31] 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-08-11 13:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137792001,"66":26267,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5332191565185265664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:22:31] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:22:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332191565185265664,"description":"Unknown IO ID 45"} 
[2026-08-11 13:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137792001,"power":26267,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5332191565185265664}} 
[2026-08-11 13:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":152567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:22:31] local.INFO: GPS data processed {"connection_id":152567,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:22:31] local.INFO: Acknowledgment sent {"connection_id":152567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:22:35] local.INFO: TCP Data received {"connection_id":152567,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:22:35] local.INFO: Processing buffer {"connection_id":152567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefca3f88012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:22:35] local.INFO: Packet analysis {"connection_id":152567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:22:35] local.INFO: Extracted packet for processing {"connection_id":152567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefca"} 
[2026-08-11 13:22:35] local.INFO: GPS Element Parsed {"raw_longitude":766913920,"raw_latitude":97183224,"longitude_deg":76.691392,"latitude_deg":9.7183224,"altitude":18,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2db62d80","hex_latitude":"05cae5f8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327137792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332191565185265664,"note":"Value kept but may cause issues"} 
[2026-08-11 13:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786434437000,"timestamp_ms":1786434437000,"timestamp_seconds":1786434437,"priority":1,"record_length":96,"hex_timestamp":"0000019fefca3f88"} 
[2026-08-11 13:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:22: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-08-11 13: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-08-11 13:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:22:35] 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-08-11 13:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327137792001,"66":26267,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5332191565185265664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327137792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:22:35] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332191565185265664,"description":"Unknown IO ID 45"} 
[2026-08-11 13:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327137792001,"power":26267,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5332191565185265664}} 
[2026-08-11 13:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":152567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:22:35] local.INFO: GPS data processed {"connection_id":152567,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:22:35] local.INFO: Acknowledgment sent {"connection_id":152567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:22:53] local.INFO: TCP Data received {"connection_id":152566,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefcd9ed0012d1b734007259668002b008126..."} 
[2026-08-11 13:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefcd9ed0012d1b734007259668002b008126..."} 
[2026-08-11 13:22:53] local.INFO: Processing buffer {"connection_id":152566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefcd9ed0012d1b734007259668002b008126..."} 
[2026-08-11 13:22:53] local.INFO: Packet analysis {"connection_id":152566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefcd"} 
[2026-08-11 13:22:53] local.INFO: Extracted packet for processing {"connection_id":152566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefcd"} 
[2026-08-11 13:22:53] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327267072001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:22:53] 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-08-11 13:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786434658000,"timestamp_ms":1786434658000,"timestamp_seconds":1786434658,"priority":1,"record_length":96,"hex_timestamp":"0000019fefcd9ed0"} 
[2026-08-11 13:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:22:53] 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-08-11 13: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 13:22:53] 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-08-11 13: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-08-11 13:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327267072001,"66":12254,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327267072001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:22:53] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:22:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327267072001,"power":12254,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":152566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:22:53] local.INFO: GPS data processed {"connection_id":152566,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:22:53] local.INFO: Acknowledgment sent {"connection_id":152566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:23:10] local.INFO: TCP Data received {"connection_id":152568,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:23:10] local.INFO: Processing buffer {"connection_id":152568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:23:10] local.INFO: IMEI packet received {"connection_id":152568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":152568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:23:16] local.INFO: TCP Data received {"connection_id":152568,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:23:16] local.INFO: Processing buffer {"connection_id":152568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:23:16] local.INFO: IMEI packet received {"connection_id":152568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":152568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:23:17] local.INFO: TCP Data received {"connection_id":152568,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefcdf0d8012d1b734007259668002b008127..."} 
[2026-08-11 13:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefcdf0d8012d1b734007259668002b008127..."} 
[2026-08-11 13:23:17] local.INFO: Processing buffer {"connection_id":152568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefcdf0d8012d1b734007259668002b008127..."} 
[2026-08-11 13:23:17] local.INFO: Packet analysis {"connection_id":152568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefcd"} 
[2026-08-11 13:23:17] local.INFO: Extracted packet for processing {"connection_id":152568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefcd"} 
[2026-08-11 13:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:23: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-08-11 13:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327272448001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:23:17] 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-08-11 13:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786434679000,"timestamp_ms":1786434679000,"timestamp_seconds":1786434679,"priority":1,"record_length":96,"hex_timestamp":"0000019fefcdf0d8"} 
[2026-08-11 13:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:23:17] 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-08-11 13:23: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-11 13:23:17] 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-08-11 13:23: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-08-11 13:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327272448001,"66":12265,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327272448001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:23:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:23:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327272448001,"power":12265,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":152568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:23:17] local.INFO: GPS data processed {"connection_id":152568,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:23:17] local.INFO: Acknowledgment sent {"connection_id":152568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:23:22] local.INFO: TCP Data received {"connection_id":153513,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:23:22] local.INFO: Processing buffer {"connection_id":153513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:23:22] local.INFO: IMEI packet received {"connection_id":153513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":153513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:23:24] local.INFO: TCP Data received {"connection_id":153513,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:23:24] local.INFO: Processing buffer {"connection_id":153513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:23:24] local.INFO: IMEI packet received {"connection_id":153513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":153513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:23:25] local.INFO: TCP Data received {"connection_id":153513,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fefced750012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefced750012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:23:25] local.INFO: Processing buffer {"connection_id":153513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefced750012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:23:25] local.INFO: Packet analysis {"connection_id":153513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefce"} 
[2026-08-11 13:23:25] local.INFO: Extracted packet for processing {"connection_id":153513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefce"} 
[2026-08-11 13:23:25] local.INFO: GPS Element Parsed {"raw_longitude":766913920,"raw_latitude":97183224,"longitude_deg":76.691392,"latitude_deg":9.7183224,"altitude":18,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2db62d80","hex_latitude":"05cae5f8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327215872001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319454822487427072,"note":"Value kept but may cause issues"} 
[2026-08-11 13:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786434738000,"timestamp_ms":1786434738000,"timestamp_seconds":1786434738,"priority":1,"record_length":96,"hex_timestamp":"0000019fefced750"} 
[2026-08-11 13:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 13:23:25] 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-08-11 13: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-08-11 13:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:23:25] 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-08-11 13:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327215872001,"66":26115,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319454822487427072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327215872001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:23:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:23:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319454822487427072,"description":"Unknown IO ID 45"} 
[2026-08-11 13:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327215872001,"power":26115,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319454822487427072}} 
[2026-08-11 13:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":153513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:23:25] local.INFO: GPS data processed {"connection_id":153513,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:23:25] local.INFO: Acknowledgment sent {"connection_id":153513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:23:30] local.INFO: TCP Data received {"connection_id":153513,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fefced750012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefced750012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:23:30] local.INFO: Processing buffer {"connection_id":153513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefced750012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:23:30] local.INFO: Packet analysis {"connection_id":153513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefce"} 
[2026-08-11 13:23:30] local.INFO: Extracted packet for processing {"connection_id":153513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefce"} 
[2026-08-11 13:23:30] local.INFO: GPS Element Parsed {"raw_longitude":766913920,"raw_latitude":97183224,"longitude_deg":76.691392,"latitude_deg":9.7183224,"altitude":18,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2db62d80","hex_latitude":"05cae5f8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327215872001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319454822487427072,"note":"Value kept but may cause issues"} 
[2026-08-11 13:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786434738000,"timestamp_ms":1786434738000,"timestamp_seconds":1786434738,"priority":1,"record_length":96,"hex_timestamp":"0000019fefced750"} 
[2026-08-11 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-08-11 13:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 13:23:30] 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-08-11 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-08-11 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-08-11 13:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:23:30] 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-08-11 13:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327215872001,"66":26115,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319454822487427072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327215872001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:23:30] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:23:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319454822487427072,"description":"Unknown IO ID 45"} 
[2026-08-11 13:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327215872001,"power":26115,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319454822487427072}} 
[2026-08-11 13:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":153513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:23:30] local.INFO: GPS data processed {"connection_id":153513,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:23:30] local.INFO: Acknowledgment sent {"connection_id":153513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:23:48] local.INFO: TCP Data received {"connection_id":152568,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefce42e0012d1b734007259668002b008128..."} 
[2026-08-11 13:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefce42e0012d1b734007259668002b008128..."} 
[2026-08-11 13:23:48] local.INFO: Processing buffer {"connection_id":152568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefce42e0012d1b734007259668002b008128..."} 
[2026-08-11 13:23:48] local.INFO: Packet analysis {"connection_id":152568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefce"} 
[2026-08-11 13:23:48] local.INFO: Extracted packet for processing {"connection_id":152568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefce"} 
[2026-08-11 13:23:48] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:23: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-08-11 13:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327277824001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:23:48] 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-08-11 13:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786434700000,"timestamp_ms":1786434700000,"timestamp_seconds":1786434700,"priority":1,"record_length":96,"hex_timestamp":"0000019fefce42e0"} 
[2026-08-11 13:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:23:48] 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-08-11 13:23: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-11 13:23:48] 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-08-11 13:23: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-08-11 13:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327277824001,"66":12189,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327277824001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:23:48] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:23:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327277824001,"power":12189,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":152568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:23:48] local.INFO: GPS data processed {"connection_id":152568,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:23:48] local.INFO: Acknowledgment sent {"connection_id":152568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:24:01] local.INFO: TCP Data received {"connection_id":153513,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fefced750012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefced750012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:24:01] local.INFO: Processing buffer {"connection_id":153513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefced750012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:24:01] local.INFO: Packet analysis {"connection_id":153513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefce"} 
[2026-08-11 13:24:01] local.INFO: Extracted packet for processing {"connection_id":153513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefce"} 
[2026-08-11 13:24:01] local.INFO: GPS Element Parsed {"raw_longitude":766913920,"raw_latitude":97183224,"longitude_deg":76.691392,"latitude_deg":9.7183224,"altitude":18,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2db62d80","hex_latitude":"05cae5f8","is_valid_coordinates":true} 
[2026-08-11 13:24: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-08-11 13:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327215872001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319454822487427072,"note":"Value kept but may cause issues"} 
[2026-08-11 13:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786434738000,"timestamp_ms":1786434738000,"timestamp_seconds":1786434738,"priority":1,"record_length":96,"hex_timestamp":"0000019fefced750"} 
[2026-08-11 13:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13:24: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":155,"data_length":795,"current_offset":136} 
[2026-08-11 13:24:01] 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-08-11 13:24: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-08-11 13:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:24:01] 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-08-11 13:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327215872001,"66":26115,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319454822487427072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327215872001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:24:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:24:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319454822487427072,"description":"Unknown IO ID 45"} 
[2026-08-11 13:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327215872001,"power":26115,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319454822487427072}} 
[2026-08-11 13:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":153513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:24:01] local.INFO: GPS data processed {"connection_id":153513,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:24:01] local.INFO: Acknowledgment sent {"connection_id":153513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:24:10] local.INFO: TCP Data received {"connection_id":154886,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:24:10] local.INFO: Processing buffer {"connection_id":154886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:24:10] local.INFO: IMEI packet received {"connection_id":154886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":154886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:24:16] local.INFO: TCP Data received {"connection_id":154886,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:24:16] local.INFO: Processing buffer {"connection_id":154886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:24:16] local.INFO: IMEI packet received {"connection_id":154886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":154886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:24:17] local.INFO: TCP Data received {"connection_id":154886,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefce94e8012d1b734007259668002b008126..."} 
[2026-08-11 13:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefce94e8012d1b734007259668002b008126..."} 
[2026-08-11 13:24:17] local.INFO: Processing buffer {"connection_id":154886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefce94e8012d1b734007259668002b008126..."} 
[2026-08-11 13:24:17] local.INFO: Packet analysis {"connection_id":154886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefce"} 
[2026-08-11 13:24:17] local.INFO: Extracted packet for processing {"connection_id":154886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefce"} 
[2026-08-11 13:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327283200001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:24:17] 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-08-11 13:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786434721000,"timestamp_ms":1786434721000,"timestamp_seconds":1786434721,"priority":1,"record_length":96,"hex_timestamp":"0000019fefce94e8"} 
[2026-08-11 13:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:24:17] 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-08-11 13: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-11 13:24:17] 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-08-11 13: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-08-11 13:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327283200001,"66":12287,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327283200001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:24:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:24:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327283200001,"power":12287,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":154886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:24:17] local.INFO: GPS data processed {"connection_id":154886,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:24:17] local.INFO: Acknowledgment sent {"connection_id":154886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:24:19] local.INFO: TCP Data received {"connection_id":153514,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:24:19] local.INFO: Processing buffer {"connection_id":153514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:24:19] local.INFO: IMEI packet received {"connection_id":153514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":153514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:24:24] local.INFO: TCP Data received {"connection_id":153514,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:24:24] local.INFO: Processing buffer {"connection_id":153514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:24:24] local.INFO: IMEI packet received {"connection_id":153514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":153514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:24:25] local.INFO: TCP Data received {"connection_id":153514,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fefced750012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefced750012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:24:25] local.INFO: Processing buffer {"connection_id":153514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefced750012db62d8005cae5f8001200382b..."} 
[2026-08-11 13:24:25] local.INFO: Packet analysis {"connection_id":153514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefce"} 
[2026-08-11 13:24:25] local.INFO: Extracted packet for processing {"connection_id":153514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefce"} 
[2026-08-11 13:24:25] local.INFO: GPS Element Parsed {"raw_longitude":766913920,"raw_latitude":97183224,"longitude_deg":76.691392,"latitude_deg":9.7183224,"altitude":18,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2db62d80","hex_latitude":"05cae5f8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327215872001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319454822487427072,"note":"Value kept but may cause issues"} 
[2026-08-11 13:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786434738000,"timestamp_ms":1786434738000,"timestamp_seconds":1786434738,"priority":1,"record_length":96,"hex_timestamp":"0000019fefced750"} 
[2026-08-11 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-08-11 13:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 13:24:25] 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-08-11 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-08-11 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-08-11 13:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:24:25] 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-08-11 13:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327215872001,"66":26115,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319454822487427072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327215872001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:24:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:24:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319454822487427072,"description":"Unknown IO ID 45"} 
[2026-08-11 13:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327215872001,"power":26115,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319454822487427072}} 
[2026-08-11 13:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":153514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:24:25] local.INFO: GPS data processed {"connection_id":153514,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:24:25] local.INFO: Acknowledgment sent {"connection_id":153514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:24:48] local.INFO: TCP Data received {"connection_id":154886,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefcee6f0012d1b734007259668002b00811f..."} 
[2026-08-11 13:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefcee6f0012d1b734007259668002b00811f..."} 
[2026-08-11 13:24:48] local.INFO: Processing buffer {"connection_id":154886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefcee6f0012d1b734007259668002b00811f..."} 
[2026-08-11 13:24:48] local.INFO: Packet analysis {"connection_id":154886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefce"} 
[2026-08-11 13:24:48] local.INFO: Extracted packet for processing {"connection_id":154886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefce"} 
[2026-08-11 13:24:48] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":31,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:24: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-08-11 13:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327288576001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:24:48] 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-08-11 13:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786434742000,"timestamp_ms":1786434742000,"timestamp_seconds":1786434742,"priority":1,"record_length":96,"hex_timestamp":"0000019fefcee6f0"} 
[2026-08-11 13:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:24:48] 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-08-11 13:24: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 13:24:48] 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-08-11 13:24: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-08-11 13:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327288576001,"66":11678,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327288576001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:24:48] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:24:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327288576001,"power":11678,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":154886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:24:48] local.INFO: GPS data processed {"connection_id":154886,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:24:48] local.INFO: Acknowledgment sent {"connection_id":154886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:24:56] local.INFO: TCP Data received {"connection_id":153514,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd061d8012db62d8005cae5f80012003829..."} 
[2026-08-11 13:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd061d8012db62d8005cae5f80012003829..."} 
[2026-08-11 13:24:56] local.INFO: Processing buffer {"connection_id":153514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd061d8012db62d8005cae5f80012003829..."} 
[2026-08-11 13:24:56] local.INFO: Packet analysis {"connection_id":153514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd0"} 
[2026-08-11 13:24:56] local.INFO: Extracted packet for processing {"connection_id":153514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd0"} 
[2026-08-11 13:24:56] local.INFO: GPS Element Parsed {"raw_longitude":766913920,"raw_latitude":97183224,"longitude_deg":76.691392,"latitude_deg":9.7183224,"altitude":18,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2db62d80","hex_latitude":"05cae5f8","is_valid_coordinates":true} 
[2026-08-11 13:24: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-08-11 13:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327292928001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319454822487427072,"note":"Value kept but may cause issues"} 
[2026-08-11 13:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786434839000,"timestamp_ms":1786434839000,"timestamp_seconds":1786434839,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd061d8"} 
[2026-08-11 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-08-11 13:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 13:24:56] 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-08-11 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-08-11 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-08-11 13:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:24:56] 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-08-11 13:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327292928001,"66":26082,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319454822487427072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327292928001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:24:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319454822487427072,"description":"Unknown IO ID 45"} 
[2026-08-11 13:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327292928001,"power":26082,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319454822487427072}} 
[2026-08-11 13:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":153514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:24:56] local.INFO: GPS data processed {"connection_id":153514,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:24:56] local.INFO: Acknowledgment sent {"connection_id":153514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:25:10] local.INFO: TCP Data received {"connection_id":154887,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:25:10] local.INFO: Processing buffer {"connection_id":154887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:25:10] local.INFO: IMEI packet received {"connection_id":154887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":154887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:25:16] local.INFO: TCP Data received {"connection_id":154887,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:25:16] local.INFO: Processing buffer {"connection_id":154887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:25:16] local.INFO: IMEI packet received {"connection_id":154887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":154887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:25:17] local.INFO: TCP Data received {"connection_id":154887,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefcf38f8012d1b734007259668002b008121..."} 
[2026-08-11 13:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefcf38f8012d1b734007259668002b008121..."} 
[2026-08-11 13:25:17] local.INFO: Processing buffer {"connection_id":154887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefcf38f8012d1b734007259668002b008121..."} 
[2026-08-11 13:25:17] local.INFO: Packet analysis {"connection_id":154887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefcf"} 
[2026-08-11 13:25:17] local.INFO: Extracted packet for processing {"connection_id":154887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefcf"} 
[2026-08-11 13:25:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":33,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:25: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-08-11 13:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327293952001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:25:17] 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-08-11 13:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786434763000,"timestamp_ms":1786434763000,"timestamp_seconds":1786434763,"priority":1,"record_length":96,"hex_timestamp":"0000019fefcf38f8"} 
[2026-08-11 13:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:25:17] 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-08-11 13:25: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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-11 13:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 13:25: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-08-11 13:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327293952001,"66":12265,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327293952001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:25:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:25:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327293952001,"power":12265,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":154887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:25:17] local.INFO: GPS data processed {"connection_id":154887,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:25:17] local.INFO: Acknowledgment sent {"connection_id":154887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:25:19] local.INFO: TCP Data received {"connection_id":152569,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:25:19] local.INFO: Processing buffer {"connection_id":152569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:25:19] local.INFO: IMEI packet received {"connection_id":152569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":152569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:25:22] local.INFO: TCP Data received {"connection_id":152569,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:25:22] local.INFO: Processing buffer {"connection_id":152569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:25:22] local.INFO: IMEI packet received {"connection_id":152569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":152569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:25:24] local.INFO: TCP Data received {"connection_id":152569,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:25:24] local.INFO: Processing buffer {"connection_id":152569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:25:24] local.INFO: IMEI packet received {"connection_id":152569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":152569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:25:26] local.INFO: TCP Data received {"connection_id":152569,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd06d90012db6354005cae6a00012008028..."} 
[2026-08-11 13:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd06d90012db6354005cae6a00012008028..."} 
[2026-08-11 13:25:26] local.INFO: Processing buffer {"connection_id":152569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd06d90012db6354005cae6a00012008028..."} 
[2026-08-11 13:25:26] local.INFO: Packet analysis {"connection_id":152569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd0"} 
[2026-08-11 13:25:26] local.INFO: Extracted packet for processing {"connection_id":152569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd0"} 
[2026-08-11 13:25:26] local.INFO: GPS Element Parsed {"raw_longitude":766915904,"raw_latitude":97183392,"longitude_deg":76.6915904,"latitude_deg":9.7183392,"altitude":18,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2db63540","hex_latitude":"05cae6a0","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327318784001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319454822487427072,"note":"Value kept but may cause issues"} 
[2026-08-11 13:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786434842000,"timestamp_ms":1786434842000,"timestamp_seconds":1786434842,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd06d90"} 
[2026-08-11 13:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-11 13:25:26] 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-08-11 13: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-08-11 13:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:25:26] 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-08-11 13:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327318784001,"66":27658,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319454822487427072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327318784001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:25:26] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:25:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319454822487427072,"description":"Unknown IO ID 45"} 
[2026-08-11 13:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327318784001,"power":27658,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319454822487427072}} 
[2026-08-11 13:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":152569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:25:26] local.INFO: GPS data processed {"connection_id":152569,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:25:26] local.INFO: Acknowledgment sent {"connection_id":152569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:25:49] local.INFO: TCP Data received {"connection_id":154887,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefcf8b00012d1b734007259668002b008127..."} 
[2026-08-11 13:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefcf8b00012d1b734007259668002b008127..."} 
[2026-08-11 13:25:49] local.INFO: Processing buffer {"connection_id":154887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefcf8b00012d1b734007259668002b008127..."} 
[2026-08-11 13:25:49] local.INFO: Packet analysis {"connection_id":154887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefcf"} 
[2026-08-11 13:25:49] local.INFO: Extracted packet for processing {"connection_id":154887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefcf"} 
[2026-08-11 13:25:49] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:25: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-08-11 13:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327299328001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:25:49] 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-08-11 13:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786434784000,"timestamp_ms":1786434784000,"timestamp_seconds":1786434784,"priority":1,"record_length":96,"hex_timestamp":"0000019fefcf8b00"} 
[2026-08-11 13:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:25:49] 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-08-11 13:25: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-11 13:25:49] 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-08-11 13:25: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-08-11 13:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327299328001,"66":12265,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327299328001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:25:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:25:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327299328001,"power":12265,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":154887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:25:49] local.INFO: GPS data processed {"connection_id":154887,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:25:49] local.INFO: Acknowledgment sent {"connection_id":154887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:25:58] local.INFO: TCP Data received {"connection_id":152569,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd0bf98012db6354005cae6a00012008029..."} 
[2026-08-11 13:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd0bf98012db6354005cae6a00012008029..."} 
[2026-08-11 13:25:58] local.INFO: Processing buffer {"connection_id":152569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd0bf98012db6354005cae6a00012008029..."} 
[2026-08-11 13:25:58] local.INFO: Packet analysis {"connection_id":152569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd0"} 
[2026-08-11 13:25:58] local.INFO: Extracted packet for processing {"connection_id":152569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd0"} 
[2026-08-11 13:25:58] local.INFO: GPS Element Parsed {"raw_longitude":766915904,"raw_latitude":97183392,"longitude_deg":76.6915904,"latitude_deg":9.7183392,"altitude":18,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2db63540","hex_latitude":"05cae6a0","is_valid_coordinates":true} 
[2026-08-11 13:25: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-08-11 13:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327319552001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317273391417876480,"note":"Value kept but may cause issues"} 
[2026-08-11 13:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786434863000,"timestamp_ms":1786434863000,"timestamp_seconds":1786434863,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd0bf98"} 
[2026-08-11 13:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13:25: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 13:25:58] 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-08-11 13:25: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-08-11 13:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:25:58] 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-08-11 13:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327319552001,"66":27745,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317273391417876480},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327319552001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:25:58] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:25:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317273391417876480,"description":"Unknown IO ID 45"} 
[2026-08-11 13:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327319552001,"power":27745,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317273391417876480}} 
[2026-08-11 13:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":152569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:25:58] local.INFO: GPS data processed {"connection_id":152569,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:25:58] local.INFO: Acknowledgment sent {"connection_id":152569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:26:10] local.INFO: TCP Data received {"connection_id":152570,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:26:10] local.INFO: Processing buffer {"connection_id":152570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:26:10] local.INFO: IMEI packet received {"connection_id":152570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":152570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:26:10] local.INFO: TCP Data received {"connection_id":152570,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:26:10] local.INFO: Processing buffer {"connection_id":152570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:26:10] local.INFO: IMEI packet received {"connection_id":152570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":152570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:26:15] local.INFO: TCP Data received {"connection_id":152570,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:26:15] local.INFO: Processing buffer {"connection_id":152570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:26:15] local.INFO: IMEI packet received {"connection_id":152570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":152570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:26:16] local.INFO: TCP Data received {"connection_id":152570,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefcfdd08012d1b734007259668002b008124..."} 
[2026-08-11 13:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefcfdd08012d1b734007259668002b008124..."} 
[2026-08-11 13:26:16] local.INFO: Processing buffer {"connection_id":152570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefcfdd08012d1b734007259668002b008124..."} 
[2026-08-11 13:26:16] local.INFO: Packet analysis {"connection_id":152570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefcf"} 
[2026-08-11 13:26:16] local.INFO: Extracted packet for processing {"connection_id":152570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefcf"} 
[2026-08-11 13:26:16] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327304704001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:26:16] 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-08-11 13:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786434805000,"timestamp_ms":1786434805000,"timestamp_seconds":1786434805,"priority":1,"record_length":96,"hex_timestamp":"0000019fefcfdd08"} 
[2026-08-11 13:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:26:16] 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-08-11 13: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-11 13:26:16] 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-08-11 13: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-08-11 13:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327304704001,"66":12287,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327304704001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:26:16] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:26:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327304704001,"power":12287,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":152570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:26:17] local.INFO: GPS data processed {"connection_id":152570,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:26:17] local.INFO: Acknowledgment sent {"connection_id":152570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:26:24] local.INFO: TCP Data received {"connection_id":152192,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:26:24] local.INFO: Processing buffer {"connection_id":152192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:26:24] local.INFO: IMEI packet received {"connection_id":152192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":152192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:26:29] local.INFO: TCP Data received {"connection_id":152192,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:26:29] local.INFO: Processing buffer {"connection_id":152192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:26:29] local.INFO: IMEI packet received {"connection_id":152192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":152192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:26:30] local.INFO: TCP Data received {"connection_id":152192,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd111a0012db6354005cae6a00012008029..."} 
[2026-08-11 13:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd111a0012db6354005cae6a00012008029..."} 
[2026-08-11 13:26:30] local.INFO: Processing buffer {"connection_id":152192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd111a0012db6354005cae6a00012008029..."} 
[2026-08-11 13:26:30] local.INFO: Packet analysis {"connection_id":152192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:26:30] local.INFO: Extracted packet for processing {"connection_id":152192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:26:30] local.INFO: GPS Element Parsed {"raw_longitude":766915904,"raw_latitude":97183392,"longitude_deg":76.6915904,"latitude_deg":9.7183392,"altitude":18,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2db63540","hex_latitude":"05cae6a0","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327324928001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317273391417876480,"note":"Value kept but may cause issues"} 
[2026-08-11 13:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786434884000,"timestamp_ms":1786434884000,"timestamp_seconds":1786434884,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd111a0"} 
[2026-08-11 13:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 13:26:30] 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-08-11 13: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-08-11 13:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:26:30] 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-08-11 13:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327324928001,"66":27984,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317273391417876480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327324928001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:26:30] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317273391417876480,"description":"Unknown IO ID 45"} 
[2026-08-11 13:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327324928001,"power":27984,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317273391417876480}} 
[2026-08-11 13:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":152192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:26:30] local.INFO: GPS data processed {"connection_id":152192,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:26:30] local.INFO: Acknowledgment sent {"connection_id":152192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:26:35] local.INFO: TCP Data received {"connection_id":152192,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd12528012db6354005cae6a00012008029..."} 
[2026-08-11 13:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd12528012db6354005cae6a00012008029..."} 
[2026-08-11 13:26:35] local.INFO: Processing buffer {"connection_id":152192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd12528012db6354005cae6a00012008029..."} 
[2026-08-11 13:26:35] local.INFO: Packet analysis {"connection_id":152192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:26:35] local.INFO: Extracted packet for processing {"connection_id":152192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:26:35] local.INFO: GPS Element Parsed {"raw_longitude":766915904,"raw_latitude":97183392,"longitude_deg":76.6915904,"latitude_deg":9.7183392,"altitude":18,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2db63540","hex_latitude":"05cae6a0","is_valid_coordinates":true} 
[2026-08-11 13:26: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-08-11 13:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327330304001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317273391417876480,"note":"Value kept but may cause issues"} 
[2026-08-11 13:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786434889000,"timestamp_ms":1786434889000,"timestamp_seconds":1786434889,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd12528"} 
[2026-08-11 13:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13:26: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-08-11 13:26: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-08-11 13:26: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-08-11 13:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:26: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-08-11 13:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327330304001,"66":27658,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317273391417876480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327330304001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:26:35] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317273391417876480,"description":"Unknown IO ID 45"} 
[2026-08-11 13:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327330304001,"power":27658,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317273391417876480}} 
[2026-08-11 13:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":152192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:26:35] local.INFO: GPS data processed {"connection_id":152192,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:26:35] local.INFO: Acknowledgment sent {"connection_id":152192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:26:48] local.INFO: TCP Data received {"connection_id":152570,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd02f10012d1b734007259668002b008127..."} 
[2026-08-11 13:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd02f10012d1b734007259668002b008127..."} 
[2026-08-11 13:26:48] local.INFO: Processing buffer {"connection_id":152570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd02f10012d1b734007259668002b008127..."} 
[2026-08-11 13:26:48] local.INFO: Packet analysis {"connection_id":152570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd0"} 
[2026-08-11 13:26:48] local.INFO: Extracted packet for processing {"connection_id":152570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd0"} 
[2026-08-11 13:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:26: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-08-11 13:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327310080001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:26:48] 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-08-11 13:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786434826000,"timestamp_ms":1786434826000,"timestamp_seconds":1786434826,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd02f10"} 
[2026-08-11 13:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:26:48] 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-08-11 13:26: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 13:26:48] 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-08-11 13:26: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-08-11 13:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327310080001,"66":12211,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327310080001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:26:48] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:26:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327310080001,"power":12211,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":152570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:26:48] local.INFO: GPS data processed {"connection_id":152570,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:26:48] local.INFO: Acknowledgment sent {"connection_id":152570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:27:10] local.INFO: TCP Data received {"connection_id":152193,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:27:10] local.INFO: Processing buffer {"connection_id":152193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:27:10] local.INFO: IMEI packet received {"connection_id":152193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":152193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:27:12] local.INFO: TCP Data received {"connection_id":152193,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:27:12] local.INFO: Processing buffer {"connection_id":152193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:27:12] local.INFO: IMEI packet received {"connection_id":152193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":152193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:27:16] local.INFO: TCP Data received {"connection_id":152193,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:27:16] local.INFO: Processing buffer {"connection_id":152193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:27:16] local.INFO: IMEI packet received {"connection_id":152193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":152193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:27:17] local.INFO: TCP Data received {"connection_id":152193,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd08118012d1b734007259668002b008127..."} 
[2026-08-11 13:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd08118012d1b734007259668002b008127..."} 
[2026-08-11 13:27:17] local.INFO: Processing buffer {"connection_id":152193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd08118012d1b734007259668002b008127..."} 
[2026-08-11 13:27:17] local.INFO: Packet analysis {"connection_id":152193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd0"} 
[2026-08-11 13:27:17] local.INFO: Extracted packet for processing {"connection_id":152193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd0"} 
[2026-08-11 13:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:27: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-08-11 13:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327315456001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:27:17] 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-08-11 13:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786434847000,"timestamp_ms":1786434847000,"timestamp_seconds":1786434847,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd08118"} 
[2026-08-11 13:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:27:17] 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-08-11 13:27: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 13:27:17] 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-08-11 13:27: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-08-11 13:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327315456001,"66":12287,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327315456001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:27:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:27:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327315456001,"power":12287,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":152193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:27:18] local.INFO: GPS data processed {"connection_id":152193,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:27:18] local.INFO: Acknowledgment sent {"connection_id":152193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:27:19] local.INFO: TCP Data received {"connection_id":152194,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:27:19] local.INFO: Processing buffer {"connection_id":152194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:27:19] local.INFO: IMEI packet received {"connection_id":152194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":152194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:27:24] local.INFO: TCP Data received {"connection_id":152194,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:27:24] local.INFO: Processing buffer {"connection_id":152194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:27:24] local.INFO: IMEI packet received {"connection_id":152194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":152194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:27:25] local.INFO: TCP Data received {"connection_id":152194,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:27:25] local.INFO: Processing buffer {"connection_id":152194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:27:25] local.INFO: Packet analysis {"connection_id":152194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:27:25] local.INFO: Extracted packet for processing {"connection_id":152194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:27:25] local.INFO: GPS Element Parsed {"raw_longitude":766915456,"raw_latitude":97183176,"longitude_deg":76.6915456,"latitude_deg":9.7183176,"altitude":24,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63380","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327331584001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317273391417876480,"note":"Value kept but may cause issues"} 
[2026-08-11 13:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786434892000,"timestamp_ms":1786434892000,"timestamp_seconds":1786434892,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd130e0"} 
[2026-08-11 13:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 13:27:25] 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-08-11 13: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-08-11 13:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327331584001,"66":26930,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317273391417876480},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327331584001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:27:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:27:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317273391417876480,"description":"Unknown IO ID 45"} 
[2026-08-11 13:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327331584001,"power":26930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317273391417876480}} 
[2026-08-11 13:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":152194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:27:25] local.INFO: GPS data processed {"connection_id":152194,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:27:25] local.INFO: Acknowledgment sent {"connection_id":152194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:27:49] local.INFO: TCP Data received {"connection_id":152193,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd0d320012d1b734007259668002b008128..."} 
[2026-08-11 13:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd0d320012d1b734007259668002b008128..."} 
[2026-08-11 13:27:49] local.INFO: Processing buffer {"connection_id":152193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd0d320012d1b734007259668002b008128..."} 
[2026-08-11 13:27:49] local.INFO: Packet analysis {"connection_id":152193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd0"} 
[2026-08-11 13:27:49] local.INFO: Extracted packet for processing {"connection_id":152193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd0"} 
[2026-08-11 13:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:27: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-08-11 13:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327320832001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:27:49] 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-08-11 13:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786434868000,"timestamp_ms":1786434868000,"timestamp_seconds":1786434868,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd0d320"} 
[2026-08-11 13:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:27:49] 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-08-11 13:27: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 13:27:49] 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-08-11 13:27: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-08-11 13:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327320832001,"66":12287,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327320832001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:27:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:27:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327320832001,"power":12287,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":152193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:27:49] local.INFO: GPS data processed {"connection_id":152193,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:27:49] local.INFO: Acknowledgment sent {"connection_id":152193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:27:56] local.INFO: TCP Data received {"connection_id":152194,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:27:56] local.INFO: Processing buffer {"connection_id":152194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:27:56] local.INFO: Packet analysis {"connection_id":152194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:27:56] local.INFO: Extracted packet for processing {"connection_id":152194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:27:56] local.INFO: GPS Element Parsed {"raw_longitude":766915456,"raw_latitude":97183176,"longitude_deg":76.6915456,"latitude_deg":9.7183176,"altitude":24,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63380","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327331584001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317273391417876480,"note":"Value kept but may cause issues"} 
[2026-08-11 13:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786434892000,"timestamp_ms":1786434892000,"timestamp_seconds":1786434892,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd130e0"} 
[2026-08-11 13:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 13:27:56] 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-08-11 13: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-08-11 13:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327331584001,"66":26930,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317273391417876480},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327331584001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:27:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:27:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317273391417876480,"description":"Unknown IO ID 45"} 
[2026-08-11 13:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327331584001,"power":26930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317273391417876480}} 
[2026-08-11 13:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":152194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:27:56] local.INFO: GPS data processed {"connection_id":152194,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:27:56] local.INFO: Acknowledgment sent {"connection_id":152194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:28:10] local.INFO: TCP Data received {"connection_id":152195,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:28:10] local.INFO: Processing buffer {"connection_id":152195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:28:10] local.INFO: IMEI packet received {"connection_id":152195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":152195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:28:16] local.INFO: TCP Data received {"connection_id":152195,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:28:16] local.INFO: Processing buffer {"connection_id":152195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:28:16] local.INFO: IMEI packet received {"connection_id":152195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":152195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:28:17] local.INFO: TCP Data received {"connection_id":152195,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd12528012d1b734007259668002b008129..."} 
[2026-08-11 13:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd12528012d1b734007259668002b008129..."} 
[2026-08-11 13:28:17] local.INFO: Processing buffer {"connection_id":152195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd12528012d1b734007259668002b008129..."} 
[2026-08-11 13:28:17] local.INFO: Packet analysis {"connection_id":152195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:28:17] local.INFO: Extracted packet for processing {"connection_id":152195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:28:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":41,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327326208001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:28:17] 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-08-11 13:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786434889000,"timestamp_ms":1786434889000,"timestamp_seconds":1786434889,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd12528"} 
[2026-08-11 13:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:28:17] 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-08-11 13: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 13:28:17] 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-08-11 13: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-08-11 13:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327326208001,"66":12156,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327326208001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:28:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:28:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327326208001,"power":12156,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":152195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:28:17] local.INFO: GPS data processed {"connection_id":152195,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:28:17] local.INFO: Acknowledgment sent {"connection_id":152195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:28:19] local.INFO: TCP Data received {"connection_id":154888,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:28:19] local.INFO: Processing buffer {"connection_id":154888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:28:19] local.INFO: IMEI packet received {"connection_id":154888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":154888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:28:24] local.INFO: TCP Data received {"connection_id":154888,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:28:24] local.INFO: Processing buffer {"connection_id":154888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:28:24] local.INFO: IMEI packet received {"connection_id":154888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":154888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:28:25] local.INFO: TCP Data received {"connection_id":154888,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:28:25] local.INFO: Processing buffer {"connection_id":154888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:28:25] local.INFO: Packet analysis {"connection_id":154888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:28:25] local.INFO: Extracted packet for processing {"connection_id":154888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:28:25] local.INFO: GPS Element Parsed {"raw_longitude":766915456,"raw_latitude":97183176,"longitude_deg":76.6915456,"latitude_deg":9.7183176,"altitude":24,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63380","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327331584001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317273391417876480,"note":"Value kept but may cause issues"} 
[2026-08-11 13:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786434892000,"timestamp_ms":1786434892000,"timestamp_seconds":1786434892,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd130e0"} 
[2026-08-11 13:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 13:28:25] 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-08-11 13: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-08-11 13:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327331584001,"66":26930,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317273391417876480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327331584001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:28:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:28:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317273391417876480,"description":"Unknown IO ID 45"} 
[2026-08-11 13:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327331584001,"power":26930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317273391417876480}} 
[2026-08-11 13:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":154888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:28:25] local.INFO: GPS data processed {"connection_id":154888,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:28:25] local.INFO: Acknowledgment sent {"connection_id":154888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:28:49] local.INFO: TCP Data received {"connection_id":152195,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd17730012d1b734007259668002b008127..."} 
[2026-08-11 13:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd17730012d1b734007259668002b008127..."} 
[2026-08-11 13:28:49] local.INFO: Processing buffer {"connection_id":152195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd17730012d1b734007259668002b008127..."} 
[2026-08-11 13:28:49] local.INFO: Packet analysis {"connection_id":152195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:28:49] local.INFO: Extracted packet for processing {"connection_id":152195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:28: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-08-11 13:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327331584001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:28:49] 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-08-11 13:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786434910000,"timestamp_ms":1786434910000,"timestamp_seconds":1786434910,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd17730"} 
[2026-08-11 13:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:28:49] 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-08-11 13:28: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-11 13:28:49] 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-08-11 13:28: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-08-11 13:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327331584001,"66":12232,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327331584001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:28:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:28:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327331584001,"power":12232,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":152195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:28:49] local.INFO: GPS data processed {"connection_id":152195,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:28:49] local.INFO: Acknowledgment sent {"connection_id":152195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:28:56] local.INFO: TCP Data received {"connection_id":154888,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:28:56] local.INFO: Processing buffer {"connection_id":154888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:28:56] local.INFO: Packet analysis {"connection_id":154888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:28:56] local.INFO: Extracted packet for processing {"connection_id":154888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:28:56] local.INFO: GPS Element Parsed {"raw_longitude":766915456,"raw_latitude":97183176,"longitude_deg":76.6915456,"latitude_deg":9.7183176,"altitude":24,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63380","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327331584001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317273391417876480,"note":"Value kept but may cause issues"} 
[2026-08-11 13:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786434892000,"timestamp_ms":1786434892000,"timestamp_seconds":1786434892,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd130e0"} 
[2026-08-11 13:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 13:28:56] 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-08-11 13: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-08-11 13:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327331584001,"66":26930,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317273391417876480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327331584001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:28:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:28:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317273391417876480,"description":"Unknown IO ID 45"} 
[2026-08-11 13:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327331584001,"power":26930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317273391417876480}} 
[2026-08-11 13:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":154888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:28:56] local.INFO: GPS data processed {"connection_id":154888,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:28:56] local.INFO: Acknowledgment sent {"connection_id":154888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:29:16] local.INFO: TCP Data received {"connection_id":152571,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:29:16] local.INFO: Processing buffer {"connection_id":152571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:29:16] local.INFO: IMEI packet received {"connection_id":152571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":152571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:29:19] local.INFO: TCP Data received {"connection_id":152571,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:29:19] local.INFO: Processing buffer {"connection_id":152571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:29:19] local.INFO: IMEI packet received {"connection_id":152571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":152571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:29:19] local.INFO: TCP Data received {"connection_id":154889,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:29:19] local.INFO: Processing buffer {"connection_id":154889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:29:19] local.INFO: IMEI packet received {"connection_id":154889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":154889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:29:20] local.INFO: TCP Data received {"connection_id":152571,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd1c938012d1b734007259668002b008126..."} 
[2026-08-11 13:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd1c938012d1b734007259668002b008126..."} 
[2026-08-11 13:29:20] local.INFO: Processing buffer {"connection_id":152571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd1c938012d1b734007259668002b008126..."} 
[2026-08-11 13:29:20] local.INFO: Packet analysis {"connection_id":152571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:29:20] local.INFO: Extracted packet for processing {"connection_id":152571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:29:20] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:29: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-08-11 13:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327336960001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:29:20] 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-08-11 13:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786434931000,"timestamp_ms":1786434931000,"timestamp_seconds":1786434931,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd1c938"} 
[2026-08-11 13:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:29:20] 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-08-11 13:29: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 13:29:20] 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-08-11 13:29: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-08-11 13:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327336960001,"66":11417,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327336960001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:29:20] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:29:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327336960001,"power":11417,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":152571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:29:20] local.INFO: GPS data processed {"connection_id":152571,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:29:20] local.INFO: Acknowledgment sent {"connection_id":152571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:29:21] local.INFO: TCP Data received {"connection_id":152571,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd21b40012d1b734007259668002b008128..."} 
[2026-08-11 13:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd21b40012d1b734007259668002b008128..."} 
[2026-08-11 13:29:21] local.INFO: Processing buffer {"connection_id":152571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd21b40012d1b734007259668002b008128..."} 
[2026-08-11 13:29:21] local.INFO: Packet analysis {"connection_id":152571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd2"} 
[2026-08-11 13:29:21] local.INFO: Extracted packet for processing {"connection_id":152571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd2"} 
[2026-08-11 13:29:21] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:29: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-08-11 13:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327342336001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:29:21] 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-08-11 13:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786434952000,"timestamp_ms":1786434952000,"timestamp_seconds":1786434952,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd21b40"} 
[2026-08-11 13:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:29:21] 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-08-11 13:29: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":44,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-11 13:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1795,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 13:29: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-08-11 13:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327342336001,"66":12254,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327342336001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:29:21] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:29:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327342336001,"power":12254,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":152571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:29:21] local.INFO: GPS data processed {"connection_id":152571,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:29:21] local.INFO: Acknowledgment sent {"connection_id":152571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:29:24] local.INFO: TCP Data received {"connection_id":154889,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:29:24] local.INFO: Processing buffer {"connection_id":154889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:29:24] local.INFO: IMEI packet received {"connection_id":154889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":154889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:29:25] local.INFO: TCP Data received {"connection_id":154889,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:29:25] local.INFO: Processing buffer {"connection_id":154889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:29:25] local.INFO: Packet analysis {"connection_id":154889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:29:25] local.INFO: Extracted packet for processing {"connection_id":154889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:29:25] local.INFO: GPS Element Parsed {"raw_longitude":766915456,"raw_latitude":97183176,"longitude_deg":76.6915456,"latitude_deg":9.7183176,"altitude":24,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63380","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-08-11 13:29: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-08-11 13:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327331584001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317273391417876480,"note":"Value kept but may cause issues"} 
[2026-08-11 13:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786434892000,"timestamp_ms":1786434892000,"timestamp_seconds":1786434892,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd130e0"} 
[2026-08-11 13:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13:29: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 13:29:25] 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-08-11 13:29: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-08-11 13:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:29:25] 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-08-11 13:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327331584001,"66":26930,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317273391417876480},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327331584001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:29:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:29:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317273391417876480,"description":"Unknown IO ID 45"} 
[2026-08-11 13:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327331584001,"power":26930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317273391417876480}} 
[2026-08-11 13:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":154889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:29:25] local.INFO: GPS data processed {"connection_id":154889,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:29:25] local.INFO: Acknowledgment sent {"connection_id":154889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:29:53] local.INFO: TCP Data received {"connection_id":152571,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd26d48012d1b734007259668002b008128..."} 
[2026-08-11 13:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd26d48012d1b734007259668002b008128..."} 
[2026-08-11 13:29:53] local.INFO: Processing buffer {"connection_id":152571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd26d48012d1b734007259668002b008128..."} 
[2026-08-11 13:29:53] local.INFO: Packet analysis {"connection_id":152571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd2"} 
[2026-08-11 13:29:53] local.INFO: Extracted packet for processing {"connection_id":152571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd2"} 
[2026-08-11 13:29:53] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327347712001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:29:53] 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-08-11 13:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786434973000,"timestamp_ms":1786434973000,"timestamp_seconds":1786434973,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd26d48"} 
[2026-08-11 13:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:29:53] 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-08-11 13: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-11 13:29:53] 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-08-11 13: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-08-11 13:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327347712001,"66":12232,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327347712001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:29:53] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:29:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327347712001,"power":12232,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":152571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:29:53] local.INFO: GPS data processed {"connection_id":152571,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:29:53] local.INFO: Acknowledgment sent {"connection_id":152571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:29:56] local.INFO: TCP Data received {"connection_id":154889,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:29:56] local.INFO: Processing buffer {"connection_id":154889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:29:56] local.INFO: Packet analysis {"connection_id":154889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:29:56] local.INFO: Extracted packet for processing {"connection_id":154889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:29:56] local.INFO: GPS Element Parsed {"raw_longitude":766915456,"raw_latitude":97183176,"longitude_deg":76.6915456,"latitude_deg":9.7183176,"altitude":24,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63380","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327331584001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317273391417876480,"note":"Value kept but may cause issues"} 
[2026-08-11 13:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786434892000,"timestamp_ms":1786434892000,"timestamp_seconds":1786434892,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd130e0"} 
[2026-08-11 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-08-11 13:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 13:29:56] 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-08-11 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-08-11 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-08-11 13:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:29:56] 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-08-11 13:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327331584001,"66":26930,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317273391417876480},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327331584001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:29:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:29:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317273391417876480,"description":"Unknown IO ID 45"} 
[2026-08-11 13:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327331584001,"power":26930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317273391417876480}} 
[2026-08-11 13:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":154889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:29:56] local.INFO: GPS data processed {"connection_id":154889,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:29:56] local.INFO: Acknowledgment sent {"connection_id":154889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:30:10] local.INFO: TCP Data received {"connection_id":152196,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:30:10] local.INFO: Processing buffer {"connection_id":152196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:30:10] local.INFO: IMEI packet received {"connection_id":152196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":152196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:30:16] local.INFO: TCP Data received {"connection_id":152196,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:30:16] local.INFO: Processing buffer {"connection_id":152196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:30:16] local.INFO: IMEI packet received {"connection_id":152196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":152196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:30:17] local.INFO: TCP Data received {"connection_id":152196,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd2bf50012d1b734007259668002b008128..."} 
[2026-08-11 13:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd2bf50012d1b734007259668002b008128..."} 
[2026-08-11 13:30:17] local.INFO: Processing buffer {"connection_id":152196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd2bf50012d1b734007259668002b008128..."} 
[2026-08-11 13:30:17] local.INFO: Packet analysis {"connection_id":152196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd2"} 
[2026-08-11 13:30:17] local.INFO: Extracted packet for processing {"connection_id":152196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd2"} 
[2026-08-11 13:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327353088001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:30:17] 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-08-11 13:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786434994000,"timestamp_ms":1786434994000,"timestamp_seconds":1786434994,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd2bf50"} 
[2026-08-11 13:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:30:17] 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-08-11 13: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 13:30:17] 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-08-11 13: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-08-11 13:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327353088001,"66":12254,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327353088001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:30:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:30:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327353088001,"power":12254,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":152196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:30:17] local.INFO: GPS data processed {"connection_id":152196,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:30:17] local.INFO: Acknowledgment sent {"connection_id":152196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:30:24] local.INFO: TCP Data received {"connection_id":152572,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:30:24] local.INFO: Processing buffer {"connection_id":152572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:30:24] local.INFO: IMEI packet received {"connection_id":152572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":152572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:30:29] local.INFO: TCP Data received {"connection_id":152572,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:30:29] local.INFO: Processing buffer {"connection_id":152572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:30:29] local.INFO: IMEI packet received {"connection_id":152572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":152572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:30:30] local.INFO: TCP Data received {"connection_id":152572,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:30:30] local.INFO: Processing buffer {"connection_id":152572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd130e0012db6338005cae5c8001801252a..."} 
[2026-08-11 13:30:30] local.INFO: Packet analysis {"connection_id":152572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:30:30] local.INFO: Extracted packet for processing {"connection_id":152572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd1"} 
[2026-08-11 13:30:30] local.INFO: GPS Element Parsed {"raw_longitude":766915456,"raw_latitude":97183176,"longitude_deg":76.6915456,"latitude_deg":9.7183176,"altitude":24,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63380","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327331584001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317273391417876480,"note":"Value kept but may cause issues"} 
[2026-08-11 13:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786434892000,"timestamp_ms":1786434892000,"timestamp_seconds":1786434892,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd130e0"} 
[2026-08-11 13:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 13:30:30] 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-08-11 13: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-08-11 13:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:30:30] 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-08-11 13:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327331584001,"66":26930,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317273391417876480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327331584001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:30:30] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:30:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317273391417876480,"description":"Unknown IO ID 45"} 
[2026-08-11 13:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327331584001,"power":26930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317273391417876480}} 
[2026-08-11 13:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":152572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:30:30] local.INFO: GPS data processed {"connection_id":152572,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:30:30] local.INFO: Acknowledgment sent {"connection_id":152572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:30:31] local.INFO: TCP Data received {"connection_id":152572,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:30:31] local.INFO: Processing buffer {"connection_id":152572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:30:31] local.INFO: Packet analysis {"connection_id":152572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:30:31] local.INFO: Extracted packet for processing {"connection_id":152572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:30:31] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327332352001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317765972627175424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786435193000,"timestamp_ms":1786435193000,"timestamp_seconds":1786435193,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd5c8a8"} 
[2026-08-11 13:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-11 13:30:31] 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-08-11 13: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-08-11 13:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:30:31] 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-08-11 13:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327332352001,"66":25647,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317765972627175424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327332352001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:30:31] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:30:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317765972627175424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327332352001,"power":25647,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317765972627175424}} 
[2026-08-11 13:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":152572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:30:31] local.INFO: GPS data processed {"connection_id":152572,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:30:31] local.INFO: Acknowledgment sent {"connection_id":152572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:30:49] local.INFO: TCP Data received {"connection_id":152196,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd31158012d1b734007259668002b008128..."} 
[2026-08-11 13:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd31158012d1b734007259668002b008128..."} 
[2026-08-11 13:30:49] local.INFO: Processing buffer {"connection_id":152196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd31158012d1b734007259668002b008128..."} 
[2026-08-11 13:30:49] local.INFO: Packet analysis {"connection_id":152196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd3"} 
[2026-08-11 13:30:49] local.INFO: Extracted packet for processing {"connection_id":152196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd3"} 
[2026-08-11 13:30:49] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:30: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-08-11 13:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327358464001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:30:49] 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-08-11 13:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786435015000,"timestamp_ms":1786435015000,"timestamp_seconds":1786435015,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd31158"} 
[2026-08-11 13:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:30:49] 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-08-11 13:30: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-11 13:30:49] 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-08-11 13:30: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-08-11 13:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327358464001,"66":12254,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327358464001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:30:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:30:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327358464001,"power":12254,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":152196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:30:49] local.INFO: GPS data processed {"connection_id":152196,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:30:49] local.INFO: Acknowledgment sent {"connection_id":152196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:31:02] local.INFO: TCP Data received {"connection_id":152572,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:31:03] local.INFO: Processing buffer {"connection_id":152572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:31:03] local.INFO: Packet analysis {"connection_id":152572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:31:03] local.INFO: Extracted packet for processing {"connection_id":152572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:31:03] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13:31: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-08-11 13:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327332352001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317765972627175424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786435193000,"timestamp_ms":1786435193000,"timestamp_seconds":1786435193,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd5c8a8"} 
[2026-08-11 13:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13:31: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":50,"data_length":795,"current_offset":136} 
[2026-08-11 13:31:03] 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-08-11 13:31: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-08-11 13:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:31:03] 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-08-11 13:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327332352001,"66":25647,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317765972627175424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327332352001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:31:03] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:31:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317765972627175424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327332352001,"power":25647,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317765972627175424}} 
[2026-08-11 13:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":152572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:31:03] local.INFO: GPS data processed {"connection_id":152572,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:31:03] local.INFO: Acknowledgment sent {"connection_id":152572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:31:10] local.INFO: TCP Data received {"connection_id":152197,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:31:10] local.INFO: Processing buffer {"connection_id":152197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:31:10] local.INFO: IMEI packet received {"connection_id":152197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":152197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:31:16] local.INFO: TCP Data received {"connection_id":152197,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:31:16] local.INFO: Processing buffer {"connection_id":152197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:31:16] local.INFO: IMEI packet received {"connection_id":152197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":152197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:31:17] local.INFO: TCP Data received {"connection_id":152197,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd36360012d1b734007259668002b008128..."} 
[2026-08-11 13:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd36360012d1b734007259668002b008128..."} 
[2026-08-11 13:31:17] local.INFO: Processing buffer {"connection_id":152197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd36360012d1b734007259668002b008128..."} 
[2026-08-11 13:31:17] local.INFO: Packet analysis {"connection_id":152197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd3"} 
[2026-08-11 13:31:17] local.INFO: Extracted packet for processing {"connection_id":152197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd3"} 
[2026-08-11 13:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327363840001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:31:17] 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-08-11 13:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786435036000,"timestamp_ms":1786435036000,"timestamp_seconds":1786435036,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd36360"} 
[2026-08-11 13:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:31:17] 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-08-11 13: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-11 13:31:17] 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-08-11 13: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-08-11 13:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327363840001,"66":12232,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327363840001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:31:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:31:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327363840001,"power":12232,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":152197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:31:18] local.INFO: GPS data processed {"connection_id":152197,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:31:18] local.INFO: Acknowledgment sent {"connection_id":152197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:31:19] local.INFO: TCP Data received {"connection_id":152573,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:31:19] local.INFO: Processing buffer {"connection_id":152573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:31:19] local.INFO: IMEI packet received {"connection_id":152573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":152573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:31:24] local.INFO: TCP Data received {"connection_id":152573,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:31:24] local.INFO: Processing buffer {"connection_id":152573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:31:24] local.INFO: IMEI packet received {"connection_id":152573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":152573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:31:49] local.INFO: TCP Data received {"connection_id":152197,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd3b568012d1b734007259668002b008127..."} 
[2026-08-11 13:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd3b568012d1b734007259668002b008127..."} 
[2026-08-11 13:31:49] local.INFO: Processing buffer {"connection_id":152197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd3b568012d1b734007259668002b008127..."} 
[2026-08-11 13:31:49] local.INFO: Packet analysis {"connection_id":152197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd3"} 
[2026-08-11 13:31:49] local.INFO: Extracted packet for processing {"connection_id":152197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd3"} 
[2026-08-11 13:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:31: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-08-11 13:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327369216001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:31:49] 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-08-11 13:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786435057000,"timestamp_ms":1786435057000,"timestamp_seconds":1786435057,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd3b568"} 
[2026-08-11 13:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:31:49] 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-08-11 13:31: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 13:31:49] 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-08-11 13:31: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-08-11 13:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327369216001,"66":12254,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327369216001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:31:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:31:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327369216001,"power":12254,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":152197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:31:49] local.INFO: GPS data processed {"connection_id":152197,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:31:49] local.INFO: Acknowledgment sent {"connection_id":152197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:32:10] local.INFO: TCP Data received {"connection_id":154890,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:32:10] local.INFO: Processing buffer {"connection_id":154890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:32:10] local.INFO: IMEI packet received {"connection_id":154890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":154890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:32:16] local.INFO: TCP Data received {"connection_id":154890,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:32:16] local.INFO: Processing buffer {"connection_id":154890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:32:16] local.INFO: IMEI packet received {"connection_id":154890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":154890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:32:17] local.INFO: TCP Data received {"connection_id":154890,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd40770012d1b734007259668002b008128..."} 
[2026-08-11 13:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd40770012d1b734007259668002b008128..."} 
[2026-08-11 13:32:17] local.INFO: Processing buffer {"connection_id":154890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd40770012d1b734007259668002b008128..."} 
[2026-08-11 13:32:17] local.INFO: Packet analysis {"connection_id":154890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd4"} 
[2026-08-11 13:32:17] local.INFO: Extracted packet for processing {"connection_id":154890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd4"} 
[2026-08-11 13:32:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:32: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-08-11 13:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327374592001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:32:17] 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-08-11 13:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786435078000,"timestamp_ms":1786435078000,"timestamp_seconds":1786435078,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd40770"} 
[2026-08-11 13:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:32:17] 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-08-11 13:32: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-11 13:32:17] 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-08-11 13:32: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-08-11 13:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327374592001,"66":12265,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327374592001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:32:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:32:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327374592001,"power":12265,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":154890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:32:17] local.INFO: GPS data processed {"connection_id":154890,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:32:17] local.INFO: Acknowledgment sent {"connection_id":154890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:32:19] local.INFO: TCP Data received {"connection_id":152574,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:32:19] local.INFO: Processing buffer {"connection_id":152574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:32:19] local.INFO: IMEI packet received {"connection_id":152574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":152574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:32:26] local.INFO: TCP Data received {"connection_id":152574,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:32:26] local.INFO: Processing buffer {"connection_id":152574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:32:26] local.INFO: IMEI packet received {"connection_id":152574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":152574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:32:27] local.INFO: TCP Data received {"connection_id":152574,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:32:27] local.INFO: Processing buffer {"connection_id":152574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:32:27] local.INFO: Packet analysis {"connection_id":152574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:32:27] local.INFO: Extracted packet for processing {"connection_id":152574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:32:27] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327332352001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317765972627175424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786435193000,"timestamp_ms":1786435193000,"timestamp_seconds":1786435193,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd5c8a8"} 
[2026-08-11 13:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-11 13:32:27] 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-08-11 13: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-08-11 13:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:32:27] 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-08-11 13:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327332352001,"66":25647,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317765972627175424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327332352001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:32:27] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:32:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317765972627175424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327332352001,"power":25647,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317765972627175424}} 
[2026-08-11 13:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":152574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:32:27] local.INFO: GPS data processed {"connection_id":152574,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:32:27] local.INFO: Acknowledgment sent {"connection_id":152574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:32:49] local.INFO: TCP Data received {"connection_id":154890,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd45978012d1b734007259668002b008127..."} 
[2026-08-11 13:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd45978012d1b734007259668002b008127..."} 
[2026-08-11 13:32:49] local.INFO: Processing buffer {"connection_id":154890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd45978012d1b734007259668002b008127..."} 
[2026-08-11 13:32:49] local.INFO: Packet analysis {"connection_id":154890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd4"} 
[2026-08-11 13:32:49] local.INFO: Extracted packet for processing {"connection_id":154890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd4"} 
[2026-08-11 13:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:32: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-08-11 13:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327379968001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:32:49] 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-08-11 13:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786435099000,"timestamp_ms":1786435099000,"timestamp_seconds":1786435099,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd45978"} 
[2026-08-11 13:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:32:49] 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-08-11 13:32: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-11 13:32:49] 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-08-11 13:32: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-08-11 13:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327379968001,"66":12232,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327379968001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:32:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:32:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327379968001,"power":12232,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":154890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:32:49] local.INFO: GPS data processed {"connection_id":154890,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:32:49] local.INFO: Acknowledgment sent {"connection_id":154890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:32:58] local.INFO: TCP Data received {"connection_id":152574,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:32:58] local.INFO: Processing buffer {"connection_id":152574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:32:58] local.INFO: Packet analysis {"connection_id":152574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:32:58] local.INFO: Extracted packet for processing {"connection_id":152574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:32:58] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327332352001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317765972627175424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786435193000,"timestamp_ms":1786435193000,"timestamp_seconds":1786435193,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd5c8a8"} 
[2026-08-11 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-08-11 13:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-11 13:32:58] 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-08-11 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-08-11 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-08-11 13:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:32:58] 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-08-11 13:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327332352001,"66":25647,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317765972627175424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327332352001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:32:58] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:32:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317765972627175424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327332352001,"power":25647,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317765972627175424}} 
[2026-08-11 13:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":152574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:32:58] local.INFO: GPS data processed {"connection_id":152574,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:32:58] local.INFO: Acknowledgment sent {"connection_id":152574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:33:10] local.INFO: TCP Data received {"connection_id":153515,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:33:10] local.INFO: Processing buffer {"connection_id":153515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:33:10] local.INFO: IMEI packet received {"connection_id":153515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":153515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:33:15] local.INFO: TCP Data received {"connection_id":153515,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:33:15] local.INFO: Processing buffer {"connection_id":153515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:33:15] local.INFO: IMEI packet received {"connection_id":153515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":153515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:33:16] local.INFO: TCP Data received {"connection_id":153515,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd4ab80012d1b734007259668002b008128..."} 
[2026-08-11 13:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd4ab80012d1b734007259668002b008128..."} 
[2026-08-11 13:33:16] local.INFO: Processing buffer {"connection_id":153515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd4ab80012d1b734007259668002b008128..."} 
[2026-08-11 13:33:16] local.INFO: Packet analysis {"connection_id":153515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd4"} 
[2026-08-11 13:33:16] local.INFO: Extracted packet for processing {"connection_id":153515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd4"} 
[2026-08-11 13:33:16] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327385344001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:33:16] 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-08-11 13:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786435120000,"timestamp_ms":1786435120000,"timestamp_seconds":1786435120,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd4ab80"} 
[2026-08-11 13:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:33:16] 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-08-11 13: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 13:33:16] 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-08-11 13: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-08-11 13:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327385344001,"66":12232,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327385344001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:33:16] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:33:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327385344001,"power":12232,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":153515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:33:17] local.INFO: GPS data processed {"connection_id":153515,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:33:17] local.INFO: Acknowledgment sent {"connection_id":153515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:33:19] local.INFO: TCP Data received {"connection_id":153516,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:33:19] local.INFO: Processing buffer {"connection_id":153516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:33:19] local.INFO: IMEI packet received {"connection_id":153516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":153516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:33:25] local.INFO: TCP Data received {"connection_id":153516,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:33:25] local.INFO: Processing buffer {"connection_id":153516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:33:25] local.INFO: IMEI packet received {"connection_id":153516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":153516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:33:26] local.INFO: TCP Data received {"connection_id":153516,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:33:26] local.INFO: Processing buffer {"connection_id":153516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:33:26] local.INFO: Packet analysis {"connection_id":153516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:33:26] local.INFO: Extracted packet for processing {"connection_id":153516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:33:26] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327332352001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317765972627175424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786435193000,"timestamp_ms":1786435193000,"timestamp_seconds":1786435193,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd5c8a8"} 
[2026-08-11 13:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-11 13:33:26] 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-08-11 13: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-08-11 13:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:33:26] 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-08-11 13:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327332352001,"66":25647,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317765972627175424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327332352001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:33:26] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:33:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317765972627175424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327332352001,"power":25647,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317765972627175424}} 
[2026-08-11 13:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":153516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:33:26] local.INFO: GPS data processed {"connection_id":153516,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:33:26] local.INFO: Acknowledgment sent {"connection_id":153516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:33:48] local.INFO: TCP Data received {"connection_id":153515,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd4fd88012d1b734007259668002b008126..."} 
[2026-08-11 13:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd4fd88012d1b734007259668002b008126..."} 
[2026-08-11 13:33:48] local.INFO: Processing buffer {"connection_id":153515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd4fd88012d1b734007259668002b008126..."} 
[2026-08-11 13:33:48] local.INFO: Packet analysis {"connection_id":153515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd4"} 
[2026-08-11 13:33:48] local.INFO: Extracted packet for processing {"connection_id":153515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd4"} 
[2026-08-11 13:33:48] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:33: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-08-11 13:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327390720001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:33:48] 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-08-11 13:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786435141000,"timestamp_ms":1786435141000,"timestamp_seconds":1786435141,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd4fd88"} 
[2026-08-11 13:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:33:48] 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-08-11 13:33: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 13:33:48] 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-08-11 13:33: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-08-11 13:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327390720001,"66":12265,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327390720001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:33:48] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:33:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327390720001,"power":12265,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":153515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:33:48] local.INFO: GPS data processed {"connection_id":153515,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:33:48] local.INFO: Acknowledgment sent {"connection_id":153515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:34:02] local.INFO: TCP Data received {"connection_id":153516,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:34:02] local.INFO: Processing buffer {"connection_id":153516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:34:02] local.INFO: Packet analysis {"connection_id":153516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:34:02] local.INFO: Extracted packet for processing {"connection_id":153516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:34:02] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13:34: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-08-11 13:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327332352001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317765972627175424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786435193000,"timestamp_ms":1786435193000,"timestamp_seconds":1786435193,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd5c8a8"} 
[2026-08-11 13:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13:34: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-11 13:34:02] 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-08-11 13:34: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-08-11 13:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":153516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":153516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":153516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:34:02] 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-08-11 13:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327332352001,"66":25647,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317765972627175424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327332352001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:34:02] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:34:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317765972627175424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327332352001,"power":25647,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317765972627175424}} 
[2026-08-11 13:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":153516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:34:02] local.INFO: GPS data processed {"connection_id":153516,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:34:02] local.INFO: Acknowledgment sent {"connection_id":153516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:34:10] local.INFO: TCP Data received {"connection_id":152198,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:34:10] local.INFO: Processing buffer {"connection_id":152198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:34:10] local.INFO: IMEI packet received {"connection_id":152198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":152198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:34:12] local.INFO: TCP Data received {"connection_id":152198,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:34:12] local.INFO: Processing buffer {"connection_id":152198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:34:12] local.INFO: IMEI packet received {"connection_id":152198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":152198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:34:15] local.INFO: TCP Data received {"connection_id":152573,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:34:15] local.INFO: Processing buffer {"connection_id":152573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:34:15] local.INFO: Packet analysis {"connection_id":152573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:34:15] local.INFO: Extracted packet for processing {"connection_id":152573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:34:15] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13:34: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-08-11 13:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327332352001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317765972627175424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786435193000,"timestamp_ms":1786435193000,"timestamp_seconds":1786435193,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd5c8a8"} 
[2026-08-11 13:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13:34: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-11 13:34:15] 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-08-11 13:34: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-08-11 13:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:34:15] 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-08-11 13:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327332352001,"66":25647,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317765972627175424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327332352001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:34:15] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317765972627175424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327332352001,"power":25647,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317765972627175424}} 
[2026-08-11 13:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":152573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:34:15] local.INFO: GPS data processed {"connection_id":152573,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:34:15] local.INFO: Acknowledgment sent {"connection_id":152573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:34:15] local.INFO: TCP Data received {"connection_id":152573,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:34:15] local.INFO: Processing buffer {"connection_id":152573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:34:15] local.INFO: Packet analysis {"connection_id":152573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:34:15] local.INFO: Extracted packet for processing {"connection_id":152573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:34:15] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13:34: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-08-11 13:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327332352001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317765972627175424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786435193000,"timestamp_ms":1786435193000,"timestamp_seconds":1786435193,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd5c8a8"} 
[2026-08-11 13:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13:34: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-11 13:34:15] 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-08-11 13:34: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-08-11 13:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:34:15] 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-08-11 13:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327332352001,"66":25647,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317765972627175424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327332352001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:34:15] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317765972627175424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327332352001,"power":25647,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317765972627175424}} 
[2026-08-11 13:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":152573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:34:15] local.INFO: GPS data processed {"connection_id":152573,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:34:15] local.INFO: Acknowledgment sent {"connection_id":152573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:34:16] local.INFO: TCP Data received {"connection_id":152198,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:34:16] local.INFO: Processing buffer {"connection_id":152198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:34:16] local.INFO: IMEI packet received {"connection_id":152198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":152198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:34:17] local.INFO: TCP Data received {"connection_id":152198,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd883e0012d1b734007259668002b008127..."} 
[2026-08-11 13:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd883e0012d1b734007259668002b008127..."} 
[2026-08-11 13:34:17] local.INFO: Processing buffer {"connection_id":152198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd883e0012d1b734007259668002b008127..."} 
[2026-08-11 13:34:17] local.INFO: Packet analysis {"connection_id":152198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd8"} 
[2026-08-11 13:34:17] local.INFO: Extracted packet for processing {"connection_id":152198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd8"} 
[2026-08-11 13:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327449856001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:17] 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-08-11 13:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786435372000,"timestamp_ms":1786435372000,"timestamp_seconds":1786435372,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd883e0"} 
[2026-08-11 13:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:34:17] 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-08-11 13: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-11 13:34:17] 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-08-11 13: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-08-11 13:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327449856001,"66":12232,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327449856001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:34:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:34:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327449856001,"power":12232,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":152198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:34:17] local.INFO: GPS data processed {"connection_id":152198,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:34:17] local.INFO: Acknowledgment sent {"connection_id":152198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:34:19] local.INFO: TCP Data received {"connection_id":154891,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:34:19] local.INFO: Processing buffer {"connection_id":154891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:34:19] local.INFO: IMEI packet received {"connection_id":154891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":154891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:34:24] local.INFO: TCP Data received {"connection_id":154891,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:34:24] local.INFO: Processing buffer {"connection_id":154891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:34:24] local.INFO: IMEI packet received {"connection_id":154891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":154891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:34:26] local.INFO: TCP Data received {"connection_id":154891,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:34:26] local.INFO: Processing buffer {"connection_id":154891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:34:26] local.INFO: Packet analysis {"connection_id":154891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:34:26] local.INFO: Extracted packet for processing {"connection_id":154891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:34:26] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327332352001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317765972627175424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786435193000,"timestamp_ms":1786435193000,"timestamp_seconds":1786435193,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd5c8a8"} 
[2026-08-11 13:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-11 13:34:26] 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-08-11 13: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-08-11 13:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:34:26] 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-08-11 13:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327332352001,"66":25647,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317765972627175424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327332352001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:34:26] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:34:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317765972627175424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327332352001,"power":25647,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317765972627175424}} 
[2026-08-11 13:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":154891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:34:26] local.INFO: GPS data processed {"connection_id":154891,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:34:26] local.INFO: Acknowledgment sent {"connection_id":154891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:34:49] local.INFO: TCP Data received {"connection_id":152198,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd8d5e8012d1b734007259668002b008127..."} 
[2026-08-11 13:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd8d5e8012d1b734007259668002b008127..."} 
[2026-08-11 13:34:49] local.INFO: Processing buffer {"connection_id":152198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd8d5e8012d1b734007259668002b008127..."} 
[2026-08-11 13:34:49] local.INFO: Packet analysis {"connection_id":152198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd8"} 
[2026-08-11 13:34:49] local.INFO: Extracted packet for processing {"connection_id":152198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd8"} 
[2026-08-11 13:34:49] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327455232001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:49] 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-08-11 13:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786435393000,"timestamp_ms":1786435393000,"timestamp_seconds":1786435393,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd8d5e8"} 
[2026-08-11 13:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:34:49] 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-08-11 13: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 13:34:49] 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-08-11 13: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-08-11 13:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327455232001,"66":12211,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327455232001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:34:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:34:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327455232001,"power":12211,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":152198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:34:49] local.INFO: GPS data processed {"connection_id":152198,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:34:49] local.INFO: Acknowledgment sent {"connection_id":152198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:34:59] local.INFO: TCP Data received {"connection_id":154891,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:34:59] local.INFO: Processing buffer {"connection_id":154891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:34:59] local.INFO: Packet analysis {"connection_id":154891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:34:59] local.INFO: Extracted packet for processing {"connection_id":154891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:34:59] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13:34: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-08-11 13:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327332352001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317765972627175424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786435193000,"timestamp_ms":1786435193000,"timestamp_seconds":1786435193,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd5c8a8"} 
[2026-08-11 13:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13:34: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":50,"data_length":795,"current_offset":136} 
[2026-08-11 13:34:59] 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-08-11 13:34: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-08-11 13:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":154891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":154891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":154891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:34:59] 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-08-11 13:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327332352001,"66":25647,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317765972627175424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327332352001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:34:59] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:34:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317765972627175424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327332352001,"power":25647,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317765972627175424}} 
[2026-08-11 13:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":154891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:34:59] local.INFO: GPS data processed {"connection_id":154891,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:34:59] local.INFO: Acknowledgment sent {"connection_id":154891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:35:18] local.INFO: TCP Data received {"connection_id":152575,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:35:18] local.INFO: Processing buffer {"connection_id":152575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:35:18] local.INFO: IMEI packet received {"connection_id":152575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":152575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:35:19] local.INFO: TCP Data received {"connection_id":152575,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:35:19] local.INFO: Processing buffer {"connection_id":152575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:35:19] local.INFO: IMEI packet received {"connection_id":152575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":152575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:35:20] local.INFO: TCP Data received {"connection_id":152575,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:35:20] local.INFO: Processing buffer {"connection_id":152575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:35:20] local.INFO: IMEI packet received {"connection_id":152575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":152575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:35:21] local.INFO: TCP Data received {"connection_id":152575,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd927f0012d1b734007259668002b008125..."} 
[2026-08-11 13:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd927f0012d1b734007259668002b008125..."} 
[2026-08-11 13:35:21] local.INFO: Processing buffer {"connection_id":152575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd927f0012d1b734007259668002b008125..."} 
[2026-08-11 13:35:21] local.INFO: Packet analysis {"connection_id":152575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd9"} 
[2026-08-11 13:35:21] local.INFO: Extracted packet for processing {"connection_id":152575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd9"} 
[2026-08-11 13:35:21] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:35: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-08-11 13:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327460608001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:35:21] 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-08-11 13:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786435414000,"timestamp_ms":1786435414000,"timestamp_seconds":1786435414,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd927f0"} 
[2026-08-11 13:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:35:21] 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-08-11 13:35: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 13:35:21] 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-08-11 13:35: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-08-11 13:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327460608001,"66":12265,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327460608001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:35:21] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:35:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327460608001,"power":12265,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":152575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:35:21] local.INFO: GPS data processed {"connection_id":152575,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:35:21] local.INFO: Acknowledgment sent {"connection_id":152575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:35:24] local.INFO: TCP Data received {"connection_id":152199,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:35:24] local.INFO: Processing buffer {"connection_id":152199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:35:24] local.INFO: IMEI packet received {"connection_id":152199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":152199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:35:26] local.INFO: TCP Data received {"connection_id":152575,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd979f8012d1b734007259668002b008126..."} 
[2026-08-11 13:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd979f8012d1b734007259668002b008126..."} 
[2026-08-11 13:35:26] local.INFO: Processing buffer {"connection_id":152575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd979f8012d1b734007259668002b008126..."} 
[2026-08-11 13:35:26] local.INFO: Packet analysis {"connection_id":152575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd9"} 
[2026-08-11 13:35:26] local.INFO: Extracted packet for processing {"connection_id":152575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd9"} 
[2026-08-11 13:35:26] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327465984001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:35: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-08-11 13:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786435435000,"timestamp_ms":1786435435000,"timestamp_seconds":1786435435,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd979f8"} 
[2026-08-11 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-08-11 13:35: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-08-11 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-11 13:35:26] 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-08-11 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-08-11 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-08-11 13:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327465984001,"66":12232,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327465984001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:35:26] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:35:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327465984001,"power":12232,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":152575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:35:26] local.INFO: GPS data processed {"connection_id":152575,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:35:26] local.INFO: Acknowledgment sent {"connection_id":152575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:35:29] local.INFO: TCP Data received {"connection_id":152199,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:35:29] local.INFO: Processing buffer {"connection_id":152199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:35:29] local.INFO: IMEI packet received {"connection_id":152199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":152199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:35:30] local.INFO: TCP Data received {"connection_id":152199,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:35:30] local.INFO: Processing buffer {"connection_id":152199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd5c8a8012db6304005cae700001401252b..."} 
[2026-08-11 13:35:30] local.INFO: Packet analysis {"connection_id":152199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:35:30] local.INFO: Extracted packet for processing {"connection_id":152199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd5"} 
[2026-08-11 13:35:30] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13:35: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-08-11 13:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327332352001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317765972627175424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786435193000,"timestamp_ms":1786435193000,"timestamp_seconds":1786435193,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd5c8a8"} 
[2026-08-11 13:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13:35: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-11 13:35:30] 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-08-11 13:35: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-08-11 13:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:35:30] 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-08-11 13:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327332352001,"66":25647,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5317765972627175424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327332352001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:35:30] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:35:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317765972627175424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327332352001,"power":25647,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317765972627175424}} 
[2026-08-11 13:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":152199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:35:30] local.INFO: GPS data processed {"connection_id":152199,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:35:30] local.INFO: Acknowledgment sent {"connection_id":152199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:35:33] local.INFO: TCP Data received {"connection_id":152199,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:35:33] local.INFO: Processing buffer {"connection_id":152199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:35:33] local.INFO: Packet analysis {"connection_id":152199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:35:33] local.INFO: Extracted packet for processing {"connection_id":152199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:35:33] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13:35: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-08-11 13:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327409408001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318680766301405184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786435494000,"timestamp_ms":1786435494000,"timestamp_seconds":1786435494,"priority":1,"record_length":96,"hex_timestamp":"0000019fefda6070"} 
[2026-08-11 13:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13:35: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 13:35:33] 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-08-11 13:35: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-08-11 13:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:35:33] 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-08-11 13:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327409408001,"66":26115,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318680766301405184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327409408001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:35:33] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318680766301405184,"description":"Unknown IO ID 45"} 
[2026-08-11 13:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327409408001,"power":26115,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318680766301405184}} 
[2026-08-11 13:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":152199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:35:33] local.INFO: GPS data processed {"connection_id":152199,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:35:33] local.INFO: Acknowledgment sent {"connection_id":152199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:36:04] local.INFO: TCP Data received {"connection_id":152199,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:36:04] local.INFO: Processing buffer {"connection_id":152199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:36:04] local.INFO: Packet analysis {"connection_id":152199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:36:04] local.INFO: Extracted packet for processing {"connection_id":152199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:36:04] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327409408001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318680766301405184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786435494000,"timestamp_ms":1786435494000,"timestamp_seconds":1786435494,"priority":1,"record_length":96,"hex_timestamp":"0000019fefda6070"} 
[2026-08-11 13:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 13:36: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-08-11 13: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-08-11 13:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:36:04] 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-08-11 13:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327409408001,"66":26115,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318680766301405184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327409408001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:36:04] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318680766301405184,"description":"Unknown IO ID 45"} 
[2026-08-11 13:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327409408001,"power":26115,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318680766301405184}} 
[2026-08-11 13:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":152199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:36:04] local.INFO: GPS data processed {"connection_id":152199,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:36:04] local.INFO: Acknowledgment sent {"connection_id":152199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:36:10] local.INFO: TCP Data received {"connection_id":153517,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:36:10] local.INFO: Processing buffer {"connection_id":153517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:36:10] local.INFO: IMEI packet received {"connection_id":153517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":153517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:36:15] local.INFO: TCP Data received {"connection_id":153517,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:36:15] local.INFO: Processing buffer {"connection_id":153517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:36:15] local.INFO: IMEI packet received {"connection_id":153517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":153517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:36:17] local.INFO: TCP Data received {"connection_id":153517,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefd9cc00012d1b734007259668002b008126..."} 
[2026-08-11 13:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefd9cc00012d1b734007259668002b008126..."} 
[2026-08-11 13:36:17] local.INFO: Processing buffer {"connection_id":153517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefd9cc00012d1b734007259668002b008126..."} 
[2026-08-11 13:36:17] local.INFO: Packet analysis {"connection_id":153517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefd9"} 
[2026-08-11 13:36:17] local.INFO: Extracted packet for processing {"connection_id":153517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefd9"} 
[2026-08-11 13:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327471360001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:36:17] 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-08-11 13:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786435456000,"timestamp_ms":1786435456000,"timestamp_seconds":1786435456,"priority":1,"record_length":96,"hex_timestamp":"0000019fefd9cc00"} 
[2026-08-11 13:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:36:17] 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-08-11 13: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 13:36:17] 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-08-11 13: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-08-11 13:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327471360001,"66":12232,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327471360001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:36:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:36:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327471360001,"power":12232,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":153517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:36:17] local.INFO: GPS data processed {"connection_id":153517,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:36:17] local.INFO: Acknowledgment sent {"connection_id":153517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:36:20] local.INFO: TCP Data received {"connection_id":152200,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:36:20] local.INFO: Processing buffer {"connection_id":152200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:36:20] local.INFO: IMEI packet received {"connection_id":152200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":152200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:36:24] local.INFO: TCP Data received {"connection_id":152200,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:36:24] local.INFO: Processing buffer {"connection_id":152200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:36:24] local.INFO: IMEI packet received {"connection_id":152200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":152200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:36:25] local.INFO: TCP Data received {"connection_id":152200,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:36:25] local.INFO: Processing buffer {"connection_id":152200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:36:25] local.INFO: Packet analysis {"connection_id":152200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:36:25] local.INFO: Extracted packet for processing {"connection_id":152200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:36:25] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327409408001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318680766301405184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786435494000,"timestamp_ms":1786435494000,"timestamp_seconds":1786435494,"priority":1,"record_length":96,"hex_timestamp":"0000019fefda6070"} 
[2026-08-11 13:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 13:36:25] 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-08-11 13: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-08-11 13:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:36:25] 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-08-11 13:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327409408001,"66":26115,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318680766301405184},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327409408001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:36:25] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:36:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318680766301405184,"description":"Unknown IO ID 45"} 
[2026-08-11 13:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327409408001,"power":26115,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318680766301405184}} 
[2026-08-11 13:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":152200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:36:25] local.INFO: GPS data processed {"connection_id":152200,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:36:25] local.INFO: Acknowledgment sent {"connection_id":152200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:36:48] local.INFO: TCP Data received {"connection_id":153517,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefda1e08012d1b734007259668002b008126..."} 
[2026-08-11 13:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefda1e08012d1b734007259668002b008126..."} 
[2026-08-11 13:36:48] local.INFO: Processing buffer {"connection_id":153517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefda1e08012d1b734007259668002b008126..."} 
[2026-08-11 13:36:48] local.INFO: Packet analysis {"connection_id":153517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:36:48] local.INFO: Extracted packet for processing {"connection_id":153517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:36:48] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903848,"longitude_deg":75.6773696,"latitude_deg":11.9903848,"altitude":43,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d1b7340","hex_latitude":"07259668","is_valid_coordinates":true} 
[2026-08-11 13:36: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-08-11 13:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327476736001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575301934940160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785342464,"note":"Value kept but may cause issues"} 
[2026-08-11 13:36:48] 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-08-11 13:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786435477000,"timestamp_ms":1786435477000,"timestamp_seconds":1786435477,"priority":1,"record_length":96,"hex_timestamp":"0000019fefda1e08"} 
[2026-08-11 13:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:36:48] 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-08-11 13:36: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 13:36:48] 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-08-11 13:36: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-08-11 13:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327476736001,"66":12232,"92":206,"28":31744,"24":0,"16":11575301934940160,"45":1977995060785342464},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327476736001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:36:48] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:36:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575301934940160,"km_value":11575301934940.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785342464,"description":"Unknown IO ID 45"} 
[2026-08-11 13:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327476736001,"power":12232,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1977995060785342464}} 
[2026-08-11 13:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":153517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:36:48] local.INFO: GPS data processed {"connection_id":153517,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:36:48] local.INFO: Acknowledgment sent {"connection_id":153517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:36:56] local.INFO: TCP Data received {"connection_id":152200,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:36:56] local.INFO: Processing buffer {"connection_id":152200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:36:56] local.INFO: Packet analysis {"connection_id":152200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:36:56] local.INFO: Extracted packet for processing {"connection_id":152200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:36:56] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13:36: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-08-11 13:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327409408001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318680766301405184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786435494000,"timestamp_ms":1786435494000,"timestamp_seconds":1786435494,"priority":1,"record_length":96,"hex_timestamp":"0000019fefda6070"} 
[2026-08-11 13:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13:36: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-08-11 13:36: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-08-11 13:36: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-08-11 13:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:36:56] 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-08-11 13:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327409408001,"66":26115,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318680766301405184},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327409408001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:36:56] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:36:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318680766301405184,"description":"Unknown IO ID 45"} 
[2026-08-11 13:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327409408001,"power":26115,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318680766301405184}} 
[2026-08-11 13:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":152200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:36:56] local.INFO: GPS data processed {"connection_id":152200,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:36:56] local.INFO: Acknowledgment sent {"connection_id":152200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:37:07] local.INFO: TCP Data received {"connection_id":154892,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:37:07] local.INFO: Processing buffer {"connection_id":154892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:37:07] local.INFO: IMEI packet received {"connection_id":154892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":154892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:37:10] local.INFO: TCP Data received {"connection_id":154892,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:37:10] local.INFO: Processing buffer {"connection_id":154892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:37:10] local.INFO: IMEI packet received {"connection_id":154892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":154892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:37:11] local.INFO: TCP Data received {"connection_id":154892,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:37:11] local.INFO: Processing buffer {"connection_id":154892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:37:11] local.INFO: IMEI packet received {"connection_id":154892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":154892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:37:14] local.INFO: TCP Data received {"connection_id":154892,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:37:14] local.INFO: Processing buffer {"connection_id":154892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:37:14] local.INFO: IMEI packet received {"connection_id":154892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":154892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:37:15] local.INFO: TCP Data received {"connection_id":154892,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdbc000012d1b7940072591b8002f00a022..."} 
[2026-08-11 13:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdbc000012d1b7940072591b8002f00a022..."} 
[2026-08-11 13:37:15] local.INFO: Processing buffer {"connection_id":154892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdbc000012d1b7940072591b8002f00a022..."} 
[2026-08-11 13:37:15] local.INFO: Packet analysis {"connection_id":154892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefdb"} 
[2026-08-11 13:37:15] local.INFO: Extracted packet for processing {"connection_id":154892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefdb"} 
[2026-08-11 13:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756775232,"raw_latitude":119902648,"longitude_deg":75.6775232,"latitude_deg":11.9902648,"altitude":47,"angle":160,"satellites":34,"speed":3,"hex_longitude":"2d1b7940","hex_latitude":"072591b8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327509248001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575413604089856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979543173156964352,"note":"Value kept but may cause issues"} 
[2026-08-11 13:37:15] 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-08-11 13:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786435584000,"timestamp_ms":1786435584000,"timestamp_seconds":1786435584,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdbc000"} 
[2026-08-11 13:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:37:15] 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-08-11 13: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-11 13:37:15] 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-08-11 13: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-08-11 13:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327509248001,"66":13472,"92":206,"28":31744,"24":3,"16":11575413604089856,"45":1979543173156964352},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327509248001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:37:15] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:37:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575413604089856,"km_value":11575413604089.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979543173156964352,"description":"Unknown IO ID 45"} 
[2026-08-11 13:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327509248001,"power":13472,"unknown_92":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1979543173156964352}} 
[2026-08-11 13:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":154892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:37:15] local.INFO: GPS data processed {"connection_id":154892,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:37:15] local.INFO: Acknowledgment sent {"connection_id":154892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:37:19] local.INFO: TCP Data received {"connection_id":154893,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:37:19] local.INFO: Processing buffer {"connection_id":154893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:37:19] local.INFO: IMEI packet received {"connection_id":154893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":154893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:37:24] local.INFO: TCP Data received {"connection_id":154893,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:37:24] local.INFO: Processing buffer {"connection_id":154893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:37:24] local.INFO: IMEI packet received {"connection_id":154893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":154893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:37:25] local.INFO: TCP Data received {"connection_id":154893,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:37:25] local.INFO: Processing buffer {"connection_id":154893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:37:25] local.INFO: Packet analysis {"connection_id":154893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:37:25] local.INFO: Extracted packet for processing {"connection_id":154893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:37:25] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327409408001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318680766301405184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786435494000,"timestamp_ms":1786435494000,"timestamp_seconds":1786435494,"priority":1,"record_length":96,"hex_timestamp":"0000019fefda6070"} 
[2026-08-11 13:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 13:37:25] 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-08-11 13: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-08-11 13:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:37:25] 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-08-11 13:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327409408001,"66":26115,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318680766301405184},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327409408001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:37:25] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:37:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318680766301405184,"description":"Unknown IO ID 45"} 
[2026-08-11 13:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327409408001,"power":26115,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318680766301405184}} 
[2026-08-11 13:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":154893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:37:25] local.INFO: GPS data processed {"connection_id":154893,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:37:25] local.INFO: Acknowledgment sent {"connection_id":154893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:37:47] local.INFO: TCP Data received {"connection_id":154892,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdbc3e8012d1b794007259158002e00ac22..."} 
[2026-08-11 13:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdbc3e8012d1b794007259158002e00ac22..."} 
[2026-08-11 13:37:47] local.INFO: Processing buffer {"connection_id":154892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdbc3e8012d1b794007259158002e00ac22..."} 
[2026-08-11 13:37:47] local.INFO: Packet analysis {"connection_id":154892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefdb"} 
[2026-08-11 13:37:47] local.INFO: Extracted packet for processing {"connection_id":154892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefdb"} 
[2026-08-11 13:37:47] local.INFO: GPS Element Parsed {"raw_longitude":756775232,"raw_latitude":119902552,"longitude_deg":75.6775232,"latitude_deg":11.9902552,"altitude":46,"angle":172,"satellites":34,"speed":3,"hex_longitude":"2d1b7940","hex_latitude":"07259158","is_valid_coordinates":true} 
[2026-08-11 13:37: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-08-11 13:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327509504001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575417899057152,"note":"Value kept but may cause issues"} 
[2026-08-11 13:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979683910645299200,"note":"Value kept but may cause issues"} 
[2026-08-11 13:37:47] 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-08-11 13:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786435585000,"timestamp_ms":1786435585000,"timestamp_seconds":1786435585,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdbc3e8"} 
[2026-08-11 13:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:37:47] 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-08-11 13:37: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-08-11 13:37: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-08-11 13:37: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-08-11 13:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327509504001,"66":13439,"92":206,"28":31744,"24":3,"16":11575417899057152,"45":1979683910645299200},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327509504001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:37:47] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:37:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575417899057152,"km_value":11575417899057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979683910645299200,"description":"Unknown IO ID 45"} 
[2026-08-11 13:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327509504001,"power":13439,"unknown_92":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1979683910645299200}} 
[2026-08-11 13:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":154892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:37:47] local.INFO: GPS data processed {"connection_id":154892,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:37:47] local.INFO: Acknowledgment sent {"connection_id":154892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:37:56] local.INFO: TCP Data received {"connection_id":154893,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:37:56] local.INFO: Processing buffer {"connection_id":154893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:37:56] local.INFO: Packet analysis {"connection_id":154893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:37:56] local.INFO: Extracted packet for processing {"connection_id":154893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:37:56] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327409408001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318680766301405184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786435494000,"timestamp_ms":1786435494000,"timestamp_seconds":1786435494,"priority":1,"record_length":96,"hex_timestamp":"0000019fefda6070"} 
[2026-08-11 13:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 13:37: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-08-11 13:37: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-08-11 13:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:37:56] 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-08-11 13:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327409408001,"66":26115,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318680766301405184},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327409408001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:37:56] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:37:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318680766301405184,"description":"Unknown IO ID 45"} 
[2026-08-11 13:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327409408001,"power":26115,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318680766301405184}} 
[2026-08-11 13:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":154893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:37:56] local.INFO: GPS data processed {"connection_id":154893,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:37:56] local.INFO: Acknowledgment sent {"connection_id":154893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:38:10] local.INFO: TCP Data received {"connection_id":153518,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:38:10] local.INFO: Processing buffer {"connection_id":153518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:38:10] local.INFO: IMEI packet received {"connection_id":153518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":153518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:38:16] local.INFO: TCP Data received {"connection_id":153518,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:38:16] local.INFO: Processing buffer {"connection_id":153518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:38:16] local.INFO: IMEI packet received {"connection_id":153518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":153518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:38:17] local.INFO: TCP Data received {"connection_id":153518,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdbc7d0012d1b78c0072590e0002e00b822..."} 
[2026-08-11 13:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdbc7d0012d1b78c0072590e0002e00b822..."} 
[2026-08-11 13:38:17] local.INFO: Processing buffer {"connection_id":153518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdbc7d0012d1b78c0072590e0002e00b822..."} 
[2026-08-11 13:38:17] local.INFO: Packet analysis {"connection_id":153518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefdb"} 
[2026-08-11 13:38:17] local.INFO: Extracted packet for processing {"connection_id":153518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefdb"} 
[2026-08-11 13:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756775104,"raw_latitude":119902432,"longitude_deg":75.6775104,"latitude_deg":11.9902432,"altitude":46,"angle":184,"satellites":34,"speed":4,"hex_longitude":"2d1b78c0","hex_latitude":"072590e0","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327509760001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575422194024448,"note":"Value kept but may cause issues"} 
[2026-08-11 13:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979683910645274624,"note":"Value kept but may cause issues"} 
[2026-08-11 13:38:17] 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-08-11 13:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786435586000,"timestamp_ms":1786435586000,"timestamp_seconds":1786435586,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdbc7d0"} 
[2026-08-11 13:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:38:17] 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-08-11 13: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-11 13:38:17] 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-08-11 13: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-08-11 13:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327509760001,"66":13439,"92":206,"28":31744,"24":4,"16":11575422194024448,"45":1979683910645274624},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327509760001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:38:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:38:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575422194024448,"km_value":11575422194024.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979683910645274624,"description":"Unknown IO ID 45"} 
[2026-08-11 13:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327509760001,"power":13439,"unknown_92":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1979683910645274624}} 
[2026-08-11 13:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":153518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:38:17] local.INFO: GPS data processed {"connection_id":153518,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:38:17] local.INFO: Acknowledgment sent {"connection_id":153518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:38:19] local.INFO: TCP Data received {"connection_id":153519,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:38:19] local.INFO: Processing buffer {"connection_id":153519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:38:19] local.INFO: IMEI packet received {"connection_id":153519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":153519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:38:24] local.INFO: TCP Data received {"connection_id":153519,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:38:24] local.INFO: Processing buffer {"connection_id":153519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:38:24] local.INFO: IMEI packet received {"connection_id":153519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":153519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:38:25] local.INFO: TCP Data received {"connection_id":153519,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:38:25] local.INFO: Processing buffer {"connection_id":153519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:38:25] local.INFO: Packet analysis {"connection_id":153519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:38:25] local.INFO: Extracted packet for processing {"connection_id":153519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:38:25] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327409408001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318680766301405184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786435494000,"timestamp_ms":1786435494000,"timestamp_seconds":1786435494,"priority":1,"record_length":96,"hex_timestamp":"0000019fefda6070"} 
[2026-08-11 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-08-11 13:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 13:38:25] 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-08-11 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-08-11 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-08-11 13:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:38:25] 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-08-11 13:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327409408001,"66":26115,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318680766301405184},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327409408001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:38:25] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:38:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318680766301405184,"description":"Unknown IO ID 45"} 
[2026-08-11 13:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327409408001,"power":26115,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318680766301405184}} 
[2026-08-11 13:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":153519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:38:25] local.INFO: GPS data processed {"connection_id":153519,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:38:25] local.INFO: Acknowledgment sent {"connection_id":153519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:38:49] local.INFO: TCP Data received {"connection_id":153518,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdbd388012d1b788007258ec8002e00c425..."} 
[2026-08-11 13:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdbd388012d1b788007258ec8002e00c425..."} 
[2026-08-11 13:38:49] local.INFO: Processing buffer {"connection_id":153518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdbd388012d1b788007258ec8002e00c425..."} 
[2026-08-11 13:38:49] local.INFO: Packet analysis {"connection_id":153518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefdb"} 
[2026-08-11 13:38:49] local.INFO: Extracted packet for processing {"connection_id":153518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefdb"} 
[2026-08-11 13:38:49] local.INFO: GPS Element Parsed {"raw_longitude":756775040,"raw_latitude":119901896,"longitude_deg":75.677504,"latitude_deg":11.9901896,"altitude":46,"angle":196,"satellites":37,"speed":9,"hex_longitude":"2d1b7880","hex_latitude":"07258ec8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327510016001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575452258795520,"note":"Value kept but may cause issues"} 
[2026-08-11 13:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979543173156888576,"note":"Value kept but may cause issues"} 
[2026-08-11 13:38:49] 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-08-11 13:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786435589000,"timestamp_ms":1786435589000,"timestamp_seconds":1786435589,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdbd388"} 
[2026-08-11 13:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:38:49] 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-08-11 13: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-11 13:38:49] 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-08-11 13: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-08-11 13:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327510016001,"66":13374,"92":206,"28":31744,"24":9,"16":11575452258795520,"45":1979543173156888576},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327510016001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:38:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:38:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575452258795520,"km_value":11575452258795.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979543173156888576,"description":"Unknown IO ID 45"} 
[2026-08-11 13:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327510016001,"power":13374,"unknown_92":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1979543173156888576}} 
[2026-08-11 13:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":153518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:38:49] local.INFO: GPS data processed {"connection_id":153518,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:38:49] local.INFO: Acknowledgment sent {"connection_id":153518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:38:57] local.INFO: TCP Data received {"connection_id":153519,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:38:57] local.INFO: Processing buffer {"connection_id":153519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:38:57] local.INFO: Packet analysis {"connection_id":153519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:38:57] local.INFO: Extracted packet for processing {"connection_id":153519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:38:57] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327409408001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318680766301405184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786435494000,"timestamp_ms":1786435494000,"timestamp_seconds":1786435494,"priority":1,"record_length":96,"hex_timestamp":"0000019fefda6070"} 
[2026-08-11 13:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 13:38:57] 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-08-11 13: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-08-11 13:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:38:57] 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-08-11 13:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327409408001,"66":26115,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318680766301405184},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327409408001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:38:57] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318680766301405184,"description":"Unknown IO ID 45"} 
[2026-08-11 13:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327409408001,"power":26115,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318680766301405184}} 
[2026-08-11 13:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":153519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:38:57] local.INFO: GPS data processed {"connection_id":153519,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:38:57] local.INFO: Acknowledgment sent {"connection_id":153519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:39:10] local.INFO: TCP Data received {"connection_id":154894,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:39:10] local.INFO: Processing buffer {"connection_id":154894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:39:10] local.INFO: IMEI packet received {"connection_id":154894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":154894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:39:16] local.INFO: TCP Data received {"connection_id":154894,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:39:16] local.INFO: Processing buffer {"connection_id":154894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:39:16] local.INFO: IMEI packet received {"connection_id":154894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":154894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:39:17] local.INFO: TCP Data received {"connection_id":154894,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdbe328012d1b768007258aa8002c00d025..."} 
[2026-08-11 13:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdbe328012d1b768007258aa8002c00d025..."} 
[2026-08-11 13:39:17] local.INFO: Processing buffer {"connection_id":154894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdbe328012d1b768007258aa8002c00d025..."} 
[2026-08-11 13:39:17] local.INFO: Packet analysis {"connection_id":154894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefdb"} 
[2026-08-11 13:39:17] local.INFO: Extracted packet for processing {"connection_id":154894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefdb"} 
[2026-08-11 13:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756774528,"raw_latitude":119900840,"longitude_deg":75.6774528,"latitude_deg":11.990084,"altitude":44,"angle":208,"satellites":37,"speed":12,"hex_longitude":"2d1b7680","hex_latitude":"07258aa8","is_valid_coordinates":true} 
[2026-08-11 13:39: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-08-11 13:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327510784001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575508093370368,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979472804412573696,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:17] 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-08-11 13:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786435593000,"timestamp_ms":1786435593000,"timestamp_seconds":1786435593,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdbe328"} 
[2026-08-11 13:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:39:17] 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-08-11 13:39: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":62,"data_length":795,"current_offset":136} 
[2026-08-11 13:39:17] 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-08-11 13:39: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-08-11 13:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327510784001,"66":12548,"92":206,"28":31744,"24":12,"16":11575508093370368,"45":1979472804412573696},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327510784001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:39:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:39:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575508093370368,"km_value":11575508093370.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979472804412573696,"description":"Unknown IO ID 45"} 
[2026-08-11 13:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327510784001,"power":12548,"unknown_92":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1979472804412573696}} 
[2026-08-11 13:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":154894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:39:17] local.INFO: GPS data processed {"connection_id":154894,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:39:17] local.INFO: Acknowledgment sent {"connection_id":154894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:39:34] local.INFO: TCP Data received {"connection_id":154895,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:39:34] local.INFO: Processing buffer {"connection_id":154895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:39:34] local.INFO: IMEI packet received {"connection_id":154895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":154895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:39:39] local.INFO: TCP Data received {"connection_id":154895,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:39:39] local.INFO: Processing buffer {"connection_id":154895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:39:39] local.INFO: IMEI packet received {"connection_id":154895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":154895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:39:40] local.INFO: TCP Data received {"connection_id":154895,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:39:40] local.INFO: Processing buffer {"connection_id":154895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:39:40] local.INFO: Packet analysis {"connection_id":154895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:39:40] local.INFO: Extracted packet for processing {"connection_id":154895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:39:40] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327409408001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318680766301405184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786435494000,"timestamp_ms":1786435494000,"timestamp_seconds":1786435494,"priority":1,"record_length":96,"hex_timestamp":"0000019fefda6070"} 
[2026-08-11 13:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 13:39: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-08-11 13: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-08-11 13:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:39:40] 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-08-11 13:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327409408001,"66":26115,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318680766301405184},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327409408001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:39:40] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:39:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318680766301405184,"description":"Unknown IO ID 45"} 
[2026-08-11 13:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327409408001,"power":26115,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318680766301405184}} 
[2026-08-11 13:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":154895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:39:40] local.INFO: GPS data processed {"connection_id":154895,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:39:40] local.INFO: Acknowledgment sent {"connection_id":154895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:39:48] local.INFO: TCP Data received {"connection_id":154894,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdbeee0012d1b7540072587b0002c00be23..."} 
[2026-08-11 13:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdbeee0012d1b7540072587b0002c00be23..."} 
[2026-08-11 13:39:48] local.INFO: Processing buffer {"connection_id":154894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdbeee0012d1b7540072587b0002c00be23..."} 
[2026-08-11 13:39:48] local.INFO: Packet analysis {"connection_id":154894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefdb"} 
[2026-08-11 13:39:48] local.INFO: Extracted packet for processing {"connection_id":154894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefdb"} 
[2026-08-11 13:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756774208,"raw_latitude":119900080,"longitude_deg":75.6774208,"latitude_deg":11.990008,"altitude":44,"angle":190,"satellites":35,"speed":9,"hex_longitude":"2d1b7540","hex_latitude":"072587b0","is_valid_coordinates":true} 
[2026-08-11 13:39: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-08-11 13:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327511808001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575546748076032,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978909854458882048,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:48] 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-08-11 13:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786435596000,"timestamp_ms":1786435596000,"timestamp_seconds":1786435596,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdbeee0"} 
[2026-08-11 13:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:39:48] 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-08-11 13:39: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 13:39:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4024139160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:48] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2444754991,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184260403405,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-08-11 13:39:48] local.WARNING: Large IO value detected {"io_id":120,"raw_value":3221693842,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:48] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407271,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:48] local.WARNING: Large IO value detected {"io_id":6,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:48] local.WARNING: Large IO value detected {"io_id":231,"raw_value":6629525273224157184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:39:48] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,92,28,24,241,158,16,31,159,211,45,128,142,46,37,10,66,199,192,144,34,195,64,1,240,127,239,4,113,205,3,188,120,8,52,2,41,7,48,6,231],"length":485,"final_offset":615,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-08-11 13:39:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170762995001982976,"timestamp_seconds":3170762995001983.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 13:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327511808001,"66":13330,"92":206,"28":31744,"24":9,"16":11575546748076032,"45":1978909854458882048},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327511808001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:39:48] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:39:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575546748076032,"km_value":11575546748076.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978909854458882048,"description":"Unknown IO ID 45"} 
[2026-08-11 13:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327511808001,"power":13330,"unknown_92":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1978909854458882048}} 
[2026-08-11 13:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":154894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:39:48] local.INFO: GPS data processed {"connection_id":154894,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:39:48] local.INFO: Acknowledgment sent {"connection_id":154894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:40:10] local.INFO: TCP Data received {"connection_id":152201,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:40:10] local.INFO: Processing buffer {"connection_id":152201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:40:10] local.INFO: IMEI packet received {"connection_id":152201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":152201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:40:16] local.INFO: TCP Data received {"connection_id":152201,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:40:16] local.INFO: Processing buffer {"connection_id":152201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:40:16] local.INFO: IMEI packet received {"connection_id":152201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":152201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:40:17] local.INFO: TCP Data received {"connection_id":152201,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdbfe80012d1b74c0072584f0002b00cd24..."} 
[2026-08-11 13:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdbfe80012d1b74c0072584f0002b00cd24..."} 
[2026-08-11 13:40:17] local.INFO: Processing buffer {"connection_id":152201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdbfe80012d1b74c0072584f0002b00cd24..."} 
[2026-08-11 13:40:17] local.INFO: Packet analysis {"connection_id":152201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefdb"} 
[2026-08-11 13:40:17] local.INFO: Extracted packet for processing {"connection_id":152201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefdb"} 
[2026-08-11 13:40:17] local.INFO: GPS Element Parsed {"raw_longitude":756774080,"raw_latitude":119899376,"longitude_deg":75.677408,"latitude_deg":11.9899376,"altitude":43,"angle":205,"satellites":36,"speed":4,"hex_longitude":"2d1b74c0","hex_latitude":"072584f0","is_valid_coordinates":true} 
[2026-08-11 13:40: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-08-11 13:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327512576001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575581107814400,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978558010737799168,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:17] 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-08-11 13:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786435600000,"timestamp_ms":1786435600000,"timestamp_seconds":1786435600,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdbfe80"} 
[2026-08-11 13:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:40:17] 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-08-11 13:40: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":18,"data_length":795,"current_offset":136} 
[2026-08-11 13:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3372220416,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4024155160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":-7721421354959691264,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250320748814112240,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-08-11 13:40:17] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407271,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57956752562199676,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:17] local.WARNING: Large IO value detected {"io_id":219,"raw_value":9049984744446918663,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:17] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:17] local.WARNING: Large IO value detected {"io_id":231,"raw_value":6629525273224157184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:17] local.WARNING: Large IO value detected {"io_id":62,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:17] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,92,28,24,241,158,16,31,159,227,45,128,138,44,37,10,66,211,142,46,199,192,1,240,127,239,4,113,205,3,121,184,34,52,2,41,7,47,160,219,6,231,62],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-08-11 13:40:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170743195202551808,"timestamp_seconds":3170743195202552.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 13:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327512576001,"66":12504,"92":206,"28":31744,"24":4,"16":11575581107814400,"45":1978558010737799168},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327512576001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:40:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:40:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575581107814400,"km_value":11575581107814.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978558010737799168,"description":"Unknown IO ID 45"} 
[2026-08-11 13:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327512576001,"power":12504,"unknown_92":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1978558010737799168}} 
[2026-08-11 13:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":152201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:40:17] local.INFO: GPS data processed {"connection_id":152201,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:40:17] local.INFO: Acknowledgment sent {"connection_id":152201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:40:24] local.INFO: TCP Data received {"connection_id":153520,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:40:24] local.INFO: Processing buffer {"connection_id":153520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:40:24] local.INFO: IMEI packet received {"connection_id":153520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":153520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:40:29] local.INFO: TCP Data received {"connection_id":153520,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:40:29] local.INFO: Processing buffer {"connection_id":153520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:40:29] local.INFO: IMEI packet received {"connection_id":153520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":153520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:40:30] local.INFO: TCP Data received {"connection_id":153520,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:40:30] local.INFO: Processing buffer {"connection_id":153520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefda6070012db6304005cae700001401252a..."} 
[2026-08-11 13:40:30] local.INFO: Packet analysis {"connection_id":153520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:40:30] local.INFO: Extracted packet for processing {"connection_id":153520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefda"} 
[2026-08-11 13:40:30] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13:40: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-08-11 13:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327409408001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318680766301405184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786435494000,"timestamp_ms":1786435494000,"timestamp_seconds":1786435494,"priority":1,"record_length":96,"hex_timestamp":"0000019fefda6070"} 
[2026-08-11 13:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13:40: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 13:40:30] 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-08-11 13:40: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-08-11 13:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:40:30] 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-08-11 13:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327409408001,"66":26115,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318680766301405184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327409408001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:40:30] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:40:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318680766301405184,"description":"Unknown IO ID 45"} 
[2026-08-11 13:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327409408001,"power":26115,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318680766301405184}} 
[2026-08-11 13:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":153520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:40:30] local.INFO: GPS data processed {"connection_id":153520,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:40:30] local.INFO: Acknowledgment sent {"connection_id":153520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:40:34] local.INFO: TCP Data received {"connection_id":153520,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdef838012db6304005cae700001401252a..."} 
[2026-08-11 13:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdef838012db6304005cae700001401252a..."} 
[2026-08-11 13:40:34] local.INFO: Processing buffer {"connection_id":153520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdef838012db6304005cae700001401252a..."} 
[2026-08-11 13:40:34] local.INFO: Packet analysis {"connection_id":153520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefde"} 
[2026-08-11 13:40:34] local.INFO: Extracted packet for processing {"connection_id":153520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefde"} 
[2026-08-11 13:40:34] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327486464001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318680766301405184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786435795000,"timestamp_ms":1786435795000,"timestamp_seconds":1786435795,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdef838"} 
[2026-08-11 13:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 13:40:34] 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-08-11 13: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-08-11 13:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:40:34] 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-08-11 13:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327486464001,"66":26006,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318680766301405184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327486464001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:40:34] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318680766301405184,"description":"Unknown IO ID 45"} 
[2026-08-11 13:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327486464001,"power":26006,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318680766301405184}} 
[2026-08-11 13:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":153520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:40:34] local.INFO: GPS data processed {"connection_id":153520,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:40:34] local.INFO: Acknowledgment sent {"connection_id":153520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:40:48] local.INFO: TCP Data received {"connection_id":152201,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdc0268012d1b7480072584b8002b00ec24..."} 
[2026-08-11 13:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdc0268012d1b7480072584b8002b00ec24..."} 
[2026-08-11 13:40:48] local.INFO: Processing buffer {"connection_id":152201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdc0268012d1b7480072584b8002b00ec24..."} 
[2026-08-11 13:40:48] local.INFO: Packet analysis {"connection_id":152201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefdc"} 
[2026-08-11 13:40:48] local.INFO: Extracted packet for processing {"connection_id":152201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefdc"} 
[2026-08-11 13:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899320,"longitude_deg":75.6774016,"latitude_deg":11.989932,"altitude":43,"angle":236,"satellites":36,"speed":2,"hex_longitude":"2d1b7480","hex_latitude":"072584b8","is_valid_coordinates":true} 
[2026-08-11 13:40: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-08-11 13:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327513600001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575585402781696,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978417273249263616,"note":"Value kept but may cause issues"} 
[2026-08-11 13:40:48] 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-08-11 13:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786435601000,"timestamp_ms":1786435601000,"timestamp_seconds":1786435601,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdc0268"} 
[2026-08-11 13:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:40:48] 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-08-11 13:40: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 13:40:48] 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-08-11 13:40: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-08-11 13:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327513600001,"66":13319,"92":206,"28":31744,"24":2,"16":11575585402781696,"45":1978417273249263616},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327513600001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:40:48] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:40:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575585402781696,"km_value":11575585402781.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978417273249263616,"description":"Unknown IO ID 45"} 
[2026-08-11 13:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327513600001,"power":13319,"unknown_92":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1978417273249263616}} 
[2026-08-11 13:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":152201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:40:49] local.INFO: GPS data processed {"connection_id":152201,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:40:49] local.INFO: Acknowledgment sent {"connection_id":152201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:41:10] local.INFO: TCP Data received {"connection_id":152576,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:41:10] local.INFO: Processing buffer {"connection_id":152576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:41:10] local.INFO: IMEI packet received {"connection_id":152576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":152576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:41:11] local.INFO: TCP Data received {"connection_id":152576,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:41:11] local.INFO: Processing buffer {"connection_id":152576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:41:11] local.INFO: IMEI packet received {"connection_id":152576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":152576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:41:16] local.INFO: TCP Data received {"connection_id":152576,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:41:16] local.INFO: Processing buffer {"connection_id":152576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:41:16] local.INFO: IMEI packet received {"connection_id":152576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":152576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:41:17] local.INFO: TCP Data received {"connection_id":152576,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdc5470012d1b748007258498002a00ec20..."} 
[2026-08-11 13:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdc5470012d1b748007258498002a00ec20..."} 
[2026-08-11 13:41:17] local.INFO: Processing buffer {"connection_id":152576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdc5470012d1b748007258498002a00ec20..."} 
[2026-08-11 13:41:17] local.INFO: Packet analysis {"connection_id":152576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefdc"} 
[2026-08-11 13:41:17] local.INFO: Extracted packet for processing {"connection_id":152576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefdc"} 
[2026-08-11 13:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899288,"longitude_deg":75.6774016,"latitude_deg":11.9899288,"altitude":42,"angle":236,"satellites":32,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258498","is_valid_coordinates":true} 
[2026-08-11 13:41: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-08-11 13:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327513856001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575589697748992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505071616,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:17] 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-08-11 13:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786435622000,"timestamp_ms":1786435622000,"timestamp_seconds":1786435622,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdc5470"} 
[2026-08-11 13:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:41:17] 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-08-11 13:41: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":7,"data_length":795,"current_offset":136} 
[2026-08-11 13:41:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4024157160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":-7946601340621282816,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-08-11 13:41:17] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3489738011,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:17] local.WARNING: Large IO value detected {"io_id":120,"raw_value":3221693840,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:17] local.WARNING: Large IO value detected {"io_id":127,"raw_value":57956752562199676,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:17] local.WARNING: Large IO value detected {"io_id":219,"raw_value":-4611684725181300729,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:17] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,92,28,24,241,158,16,31,159,254,45,192,132,43,36,10,66,238,64,135,44,35,227,128,1,240,4,239,37,113,205,9,199,120,224,34,52,2,41,7,46,3,127,219],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-08-11 13:41:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098736182994010112,"timestamp_seconds":3098736182994010.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 13:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327513856001,"66":13254,"92":206,"28":31744,"24":0,"16":11575589697748992,"45":1978346904505071616},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327513856001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:41:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:41:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575589697748992,"km_value":11575589697748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505071616,"description":"Unknown IO ID 45"} 
[2026-08-11 13:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327513856001,"power":13254,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505071616}} 
[2026-08-11 13:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":152576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:41:17] local.INFO: GPS data processed {"connection_id":152576,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:41:17] local.INFO: Acknowledgment sent {"connection_id":152576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:41:19] local.INFO: TCP Data received {"connection_id":154896,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:41:19] local.INFO: Processing buffer {"connection_id":154896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:41:19] local.INFO: IMEI packet received {"connection_id":154896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":154896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:41:24] local.INFO: TCP Data received {"connection_id":154896,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:41:24] local.INFO: Processing buffer {"connection_id":154896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:41:24] local.INFO: IMEI packet received {"connection_id":154896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":154896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:41:25] local.INFO: TCP Data received {"connection_id":154896,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdef838012db6304005cae700001401252a..."} 
[2026-08-11 13:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdef838012db6304005cae700001401252a..."} 
[2026-08-11 13:41:25] local.INFO: Processing buffer {"connection_id":154896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdef838012db6304005cae700001401252a..."} 
[2026-08-11 13:41:25] local.INFO: Packet analysis {"connection_id":154896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefde"} 
[2026-08-11 13:41:25] local.INFO: Extracted packet for processing {"connection_id":154896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefde"} 
[2026-08-11 13:41:25] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327486464001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318680766301405184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786435795000,"timestamp_ms":1786435795000,"timestamp_seconds":1786435795,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdef838"} 
[2026-08-11 13:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 13:41:25] 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-08-11 13: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-08-11 13:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:41:25] 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-08-11 13:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327486464001,"66":26006,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318680766301405184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327486464001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:41:25] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:41:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318680766301405184,"description":"Unknown IO ID 45"} 
[2026-08-11 13:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327486464001,"power":26006,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318680766301405184}} 
[2026-08-11 13:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":154896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:41:25] local.INFO: GPS data processed {"connection_id":154896,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:41:25] local.INFO: Acknowledgment sent {"connection_id":154896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:41:49] local.INFO: TCP Data received {"connection_id":152576,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdca678012d1b748007258498002a00ec22..."} 
[2026-08-11 13:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdca678012d1b748007258498002a00ec22..."} 
[2026-08-11 13:41:49] local.INFO: Processing buffer {"connection_id":152576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdca678012d1b748007258498002a00ec22..."} 
[2026-08-11 13:41:49] local.INFO: Packet analysis {"connection_id":152576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefdc"} 
[2026-08-11 13:41:49] local.INFO: Extracted packet for processing {"connection_id":152576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefdc"} 
[2026-08-11 13:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899288,"longitude_deg":75.6774016,"latitude_deg":11.9899288,"altitude":42,"angle":236,"satellites":34,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258498","is_valid_coordinates":true} 
[2026-08-11 13:41: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-08-11 13:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327519232001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575589697748992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505063424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:49] 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-08-11 13:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786435643000,"timestamp_ms":1786435643000,"timestamp_seconds":1786435643,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdca678"} 
[2026-08-11 13:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:41:49] 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-08-11 13:41: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 13:41:49] 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-08-11 13:41: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-08-11 13:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327519232001,"66":12385,"92":206,"28":31744,"24":0,"16":11575589697748992,"45":1978346904505063424},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327519232001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:41:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:41:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575589697748992,"km_value":11575589697748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505063424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327519232001,"power":12385,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505063424}} 
[2026-08-11 13:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":152576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:41:49] local.INFO: GPS data processed {"connection_id":152576,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:41:49] local.INFO: Acknowledgment sent {"connection_id":152576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:41:56] local.INFO: TCP Data received {"connection_id":154896,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdef838012db6304005cae700001401252a..."} 
[2026-08-11 13:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdef838012db6304005cae700001401252a..."} 
[2026-08-11 13:41:56] local.INFO: Processing buffer {"connection_id":154896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdef838012db6304005cae700001401252a..."} 
[2026-08-11 13:41:56] local.INFO: Packet analysis {"connection_id":154896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefde"} 
[2026-08-11 13:41:56] local.INFO: Extracted packet for processing {"connection_id":154896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefde"} 
[2026-08-11 13:41:56] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327486464001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318680766301405184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786435795000,"timestamp_ms":1786435795000,"timestamp_seconds":1786435795,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdef838"} 
[2026-08-11 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-08-11 13:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 13:41:56] 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-08-11 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-08-11 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-08-11 13:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:41:56] 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-08-11 13:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327486464001,"66":26006,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318680766301405184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327486464001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:41:56] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:41:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318680766301405184,"description":"Unknown IO ID 45"} 
[2026-08-11 13:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327486464001,"power":26006,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318680766301405184}} 
[2026-08-11 13:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":154896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:41:56] local.INFO: GPS data processed {"connection_id":154896,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:41:56] local.INFO: Acknowledgment sent {"connection_id":154896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:42:14] local.INFO: TCP Data received {"connection_id":154897,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:42:14] local.INFO: Processing buffer {"connection_id":154897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:42:14] local.INFO: IMEI packet received {"connection_id":154897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":154897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:42:15] local.INFO: TCP Data received {"connection_id":154897,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:42:15] local.INFO: Processing buffer {"connection_id":154897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:42:15] local.INFO: IMEI packet received {"connection_id":154897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":154897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:42:19] local.INFO: TCP Data received {"connection_id":152202,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:42:19] local.INFO: Processing buffer {"connection_id":152202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:42:19] local.INFO: IMEI packet received {"connection_id":152202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":152202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:42:20] local.INFO: TCP Data received {"connection_id":154897,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:42:20] local.INFO: Processing buffer {"connection_id":154897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:42:20] local.INFO: IMEI packet received {"connection_id":154897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":154897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:42:22] local.INFO: TCP Data received {"connection_id":154897,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdcf880012d1b748007258498002a00ec26..."} 
[2026-08-11 13:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdcf880012d1b748007258498002a00ec26..."} 
[2026-08-11 13:42:22] local.INFO: Processing buffer {"connection_id":154897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdcf880012d1b748007258498002a00ec26..."} 
[2026-08-11 13:42:22] local.INFO: Packet analysis {"connection_id":154897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefdc"} 
[2026-08-11 13:42:22] local.INFO: Extracted packet for processing {"connection_id":154897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefdc"} 
[2026-08-11 13:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899288,"longitude_deg":75.6774016,"latitude_deg":11.9899288,"altitude":42,"angle":236,"satellites":38,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258498","is_valid_coordinates":true} 
[2026-08-11 13:42: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-08-11 13:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327524608001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575589697748992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505063424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:42:22] 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-08-11 13:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786435664000,"timestamp_ms":1786435664000,"timestamp_seconds":1786435664,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdcf880"} 
[2026-08-11 13:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:42:22] 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-08-11 13:42: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 13:42:22] 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-08-11 13:42: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-08-11 13:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":154897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":154897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":154897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327524608001,"66":13004,"92":206,"28":31744,"24":0,"16":11575589697748992,"45":1978346904505063424},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327524608001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:42:22] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:42:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575589697748992,"km_value":11575589697748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505063424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327524608001,"power":13004,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505063424}} 
[2026-08-11 13:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":154897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:42:22] local.INFO: GPS data processed {"connection_id":154897,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:42:22] local.INFO: Acknowledgment sent {"connection_id":154897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:42:24] local.INFO: TCP Data received {"connection_id":152202,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:42:24] local.INFO: Processing buffer {"connection_id":152202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:42:24] local.INFO: IMEI packet received {"connection_id":152202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":152202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:42:25] local.INFO: TCP Data received {"connection_id":152202,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdef838012db6304005cae700001401252a..."} 
[2026-08-11 13:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdef838012db6304005cae700001401252a..."} 
[2026-08-11 13:42:25] local.INFO: Processing buffer {"connection_id":152202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdef838012db6304005cae700001401252a..."} 
[2026-08-11 13:42:25] local.INFO: Packet analysis {"connection_id":152202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefde"} 
[2026-08-11 13:42:25] local.INFO: Extracted packet for processing {"connection_id":152202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefde"} 
[2026-08-11 13:42:25] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327486464001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318680766301405184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786435795000,"timestamp_ms":1786435795000,"timestamp_seconds":1786435795,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdef838"} 
[2026-08-11 13:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 13:42:25] 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-08-11 13: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-08-11 13:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:42:25] 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-08-11 13:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327486464001,"66":26006,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318680766301405184},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327486464001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:42:25] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:42:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318680766301405184,"description":"Unknown IO ID 45"} 
[2026-08-11 13:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327486464001,"power":26006,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318680766301405184}} 
[2026-08-11 13:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":152202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:42:25] local.INFO: GPS data processed {"connection_id":152202,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:42:25] local.INFO: Acknowledgment sent {"connection_id":152202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:42:53] local.INFO: TCP Data received {"connection_id":154897,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdd4a88012d1b748007258498002a00ec28..."} 
[2026-08-11 13:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdd4a88012d1b748007258498002a00ec28..."} 
[2026-08-11 13:42:53] local.INFO: Processing buffer {"connection_id":154897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdd4a88012d1b748007258498002a00ec28..."} 
[2026-08-11 13:42:53] local.INFO: Packet analysis {"connection_id":154897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefdd"} 
[2026-08-11 13:42:53] local.INFO: Extracted packet for processing {"connection_id":154897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefdd"} 
[2026-08-11 13:42:53] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899288,"longitude_deg":75.6774016,"latitude_deg":11.9899288,"altitude":42,"angle":236,"satellites":40,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258498","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327529984001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575589697748992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505063424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:42:53] 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-08-11 13:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786435685000,"timestamp_ms":1786435685000,"timestamp_seconds":1786435685,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdd4a88"} 
[2026-08-11 13:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:42:53] 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-08-11 13: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-11 13:42:53] 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-08-11 13: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-08-11 13:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":154897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":154897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":154897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327529984001,"66":12982,"92":206,"28":31744,"24":0,"16":11575589697748992,"45":1978346904505063424},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327529984001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:42:53] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:42:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575589697748992,"km_value":11575589697748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505063424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327529984001,"power":12982,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505063424}} 
[2026-08-11 13:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":154897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:42:53] local.INFO: GPS data processed {"connection_id":154897,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:42:53] local.INFO: Acknowledgment sent {"connection_id":154897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:42:57] local.INFO: TCP Data received {"connection_id":152202,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe0c528012db6304005cae700001401252b..."} 
[2026-08-11 13:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe0c528012db6304005cae700001401252b..."} 
[2026-08-11 13:42:57] local.INFO: Processing buffer {"connection_id":152202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe0c528012db6304005cae700001401252b..."} 
[2026-08-11 13:42:57] local.INFO: Packet analysis {"connection_id":152202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe0"} 
[2026-08-11 13:42:57] local.INFO: Extracted packet for processing {"connection_id":152202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe0"} 
[2026-08-11 13:42:57] local.INFO: GPS Element Parsed {"raw_longitude":766914624,"raw_latitude":97183488,"longitude_deg":76.6914624,"latitude_deg":9.7183488,"altitude":20,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2db63040","hex_latitude":"05cae700","is_valid_coordinates":true} 
[2026-08-11 13:42: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-08-11 13:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327563520001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318680766301405184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786435913000,"timestamp_ms":1786435913000,"timestamp_seconds":1786435913,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe0c528"} 
[2026-08-11 13:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 13:42:57] 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-08-11 13: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-08-11 13:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:42:57] 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-08-11 13:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327563520001,"66":26006,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318680766301405184},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327563520001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:42:57] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:42:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318680766301405184,"description":"Unknown IO ID 45"} 
[2026-08-11 13:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327563520001,"power":26006,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318680766301405184}} 
[2026-08-11 13:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":152202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:42:57] local.INFO: GPS data processed {"connection_id":152202,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:42:57] local.INFO: Acknowledgment sent {"connection_id":152202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:43:11] local.INFO: TCP Data received {"connection_id":152577,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:43:11] local.INFO: Processing buffer {"connection_id":152577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:43:11] local.INFO: IMEI packet received {"connection_id":152577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":152577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:43:16] local.INFO: TCP Data received {"connection_id":152577,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:43:16] local.INFO: Processing buffer {"connection_id":152577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:43:16] local.INFO: IMEI packet received {"connection_id":152577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":152577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:43:17] local.INFO: TCP Data received {"connection_id":152577,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefdd9c90012d1b748007258498002a00ec29..."} 
[2026-08-11 13:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefdd9c90012d1b748007258498002a00ec29..."} 
[2026-08-11 13:43:17] local.INFO: Processing buffer {"connection_id":152577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefdd9c90012d1b748007258498002a00ec29..."} 
[2026-08-11 13:43:17] local.INFO: Packet analysis {"connection_id":152577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefdd"} 
[2026-08-11 13:43:17] local.INFO: Extracted packet for processing {"connection_id":152577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefdd"} 
[2026-08-11 13:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899288,"longitude_deg":75.6774016,"latitude_deg":11.9899288,"altitude":42,"angle":236,"satellites":41,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258498","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327535360001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575589697748992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505063424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:17] 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-08-11 13:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786435706000,"timestamp_ms":1786435706000,"timestamp_seconds":1786435706,"priority":1,"record_length":96,"hex_timestamp":"0000019fefdd9c90"} 
[2026-08-11 13:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:43:17] 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-08-11 13: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-11 13:43:17] 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-08-11 13: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-08-11 13:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327535360001,"66":12917,"92":206,"28":31744,"24":0,"16":11575589697748992,"45":1978346904505063424},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327535360001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:43:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:43:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575589697748992,"km_value":11575589697748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505063424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327535360001,"power":12917,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505063424}} 
[2026-08-11 13:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":152577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:43:17] local.INFO: GPS data processed {"connection_id":152577,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:43:17] local.INFO: Acknowledgment sent {"connection_id":152577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:43:19] local.INFO: TCP Data received {"connection_id":153521,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:43:19] local.INFO: Processing buffer {"connection_id":153521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:43:19] local.INFO: IMEI packet received {"connection_id":153521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":153521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:43:27] local.INFO: TCP Data received {"connection_id":153521,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:43:27] local.INFO: Processing buffer {"connection_id":153521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:43:27] local.INFO: IMEI packet received {"connection_id":153521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":153521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:43:28] local.INFO: TCP Data received {"connection_id":153521,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe0d4c8012db6320005cae8080014014d2a..."} 
[2026-08-11 13:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe0d4c8012db6320005cae8080014014d2a..."} 
[2026-08-11 13:43:28] local.INFO: Processing buffer {"connection_id":153521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe0d4c8012db6320005cae8080014014d2a..."} 
[2026-08-11 13:43:28] local.INFO: Packet analysis {"connection_id":153521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe0"} 
[2026-08-11 13:43:28] local.INFO: Extracted packet for processing {"connection_id":153521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe0"} 
[2026-08-11 13:43:28] local.INFO: GPS Element Parsed {"raw_longitude":766915072,"raw_latitude":97183752,"longitude_deg":76.6915072,"latitude_deg":9.7183752,"altitude":20,"angle":333,"satellites":42,"speed":0,"hex_longitude":"2db63200","hex_latitude":"05cae808","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327593728001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318680766301405184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786435917000,"timestamp_ms":1786435917000,"timestamp_seconds":1786435917,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe0d4c8"} 
[2026-08-11 13:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 13:43:28] 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-08-11 13: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-08-11 13:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:43:28] 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-08-11 13:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327593728001,"66":27343,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318680766301405184},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327593728001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:43:28] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318680766301405184,"description":"Unknown IO ID 45"} 
[2026-08-11 13:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327593728001,"power":27343,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318680766301405184}} 
[2026-08-11 13:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":153521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:43:28] local.INFO: GPS data processed {"connection_id":153521,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:43:28] local.INFO: Acknowledgment sent {"connection_id":153521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:43:49] local.INFO: TCP Data received {"connection_id":152577,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe122e8012d1b748007258498002a00ec28..."} 
[2026-08-11 13:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe122e8012d1b748007258498002a00ec28..."} 
[2026-08-11 13:43:49] local.INFO: Processing buffer {"connection_id":152577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe122e8012d1b748007258498002a00ec28..."} 
[2026-08-11 13:43:49] local.INFO: Packet analysis {"connection_id":152577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:43:49] local.INFO: Extracted packet for processing {"connection_id":152577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899288,"longitude_deg":75.6774016,"latitude_deg":11.9899288,"altitude":42,"angle":236,"satellites":40,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258498","is_valid_coordinates":true} 
[2026-08-11 13:43: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-08-11 13:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327594496001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575589697748992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505063424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:49] 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-08-11 13:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786435937000,"timestamp_ms":1786435937000,"timestamp_seconds":1786435937,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe122e8"} 
[2026-08-11 13:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:43:49] 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-08-11 13:43: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-11 13:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:49] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:49] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4024362160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250319649302480024,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:49] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2224554026,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-08-11 13:43:49] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3087084827,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:49] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2147952004,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:49] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397159,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:49] local.WARNING: Large IO value detected {"io_id":231,"raw_value":6629525273224157184,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:49] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:49] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-11 13:43:49] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,92,28,24,241,158,16,31,159,126,45,128,132,42,35,10,66,44,34,218,1,240,69,239,37,4,113,205,54,116,152,36,49,2,41,7,231,63,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-08-11 13:43:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026678597545885696,"timestamp_seconds":3026678597545885.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 13:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327594496001,"66":12504,"92":206,"28":31744,"24":0,"16":11575589697748992,"45":1978346904505063424},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327594496001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:43:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:43:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575589697748992,"km_value":11575589697748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505063424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327594496001,"power":12504,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505063424}} 
[2026-08-11 13:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":152577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:43:49] local.INFO: GPS data processed {"connection_id":152577,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:43:49] local.INFO: Acknowledgment sent {"connection_id":152577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:44:00] local.INFO: TCP Data received {"connection_id":153521,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe126d0012db6320005cae8080014014d2c..."} 
[2026-08-11 13:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe126d0012db6320005cae8080014014d2c..."} 
[2026-08-11 13:44:00] local.INFO: Processing buffer {"connection_id":153521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe126d0012db6320005cae8080014014d2c..."} 
[2026-08-11 13:44:00] local.INFO: Packet analysis {"connection_id":153521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:44:00] local.INFO: Extracted packet for processing {"connection_id":153521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:44:00] local.INFO: GPS Element Parsed {"raw_longitude":766915072,"raw_latitude":97183752,"longitude_deg":76.6915072,"latitude_deg":9.7183752,"altitude":20,"angle":333,"satellites":44,"speed":0,"hex_longitude":"2db63200","hex_latitude":"05cae808","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327594752001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786435938000,"timestamp_ms":1786435938000,"timestamp_seconds":1786435938,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe126d0"} 
[2026-08-11 13:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 13:44:00] 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-08-11 13: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-08-11 13:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:44:00] 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-08-11 13:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327594752001,"66":27767,"29":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-08-11 13:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327594752001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:44:00] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 13:44:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327594752001,"power":27767,"unknown_29":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":153521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:44:00] local.INFO: GPS data processed {"connection_id":153521,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:44:00] local.INFO: Acknowledgment sent {"connection_id":153521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:44:11] local.INFO: TCP Data received {"connection_id":152578,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:44:11] local.INFO: Processing buffer {"connection_id":152578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:44:11] local.INFO: IMEI packet received {"connection_id":152578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":152578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:44:16] local.INFO: TCP Data received {"connection_id":152578,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:44:16] local.INFO: Processing buffer {"connection_id":152578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:44:16] local.INFO: IMEI packet received {"connection_id":152578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":152578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:44:17] local.INFO: TCP Data received {"connection_id":152578,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe174f0012d1b748007258498002a00ec27..."} 
[2026-08-11 13:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe174f0012d1b748007258498002a00ec27..."} 
[2026-08-11 13:44:17] local.INFO: Processing buffer {"connection_id":152578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe174f0012d1b748007258498002a00ec27..."} 
[2026-08-11 13:44:17] local.INFO: Packet analysis {"connection_id":152578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:44:17] local.INFO: Extracted packet for processing {"connection_id":152578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899288,"longitude_deg":75.6774016,"latitude_deg":11.9899288,"altitude":42,"angle":236,"satellites":39,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258498","is_valid_coordinates":true} 
[2026-08-11 13:44: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-08-11 13:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327599872001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575589697748992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505063424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:44:17] 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-08-11 13:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786435958000,"timestamp_ms":1786435958000,"timestamp_seconds":1786435958,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe174f0"} 
[2026-08-11 13:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:44:17] 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-08-11 13:44: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 13:44:17] 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-08-11 13:44: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-08-11 13:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327599872001,"66":12504,"92":206,"28":31744,"24":0,"16":11575589697748992,"45":1978346904505063424},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327599872001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:44:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:44:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575589697748992,"km_value":11575589697748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505063424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327599872001,"power":12504,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505063424}} 
[2026-08-11 13:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":152578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:44:17] local.INFO: GPS data processed {"connection_id":152578,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:44:17] local.INFO: Acknowledgment sent {"connection_id":152578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:44:20] local.INFO: TCP Data received {"connection_id":154898,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:44:20] local.INFO: Processing buffer {"connection_id":154898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:44:20] local.INFO: IMEI packet received {"connection_id":154898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":154898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:44:24] local.INFO: TCP Data received {"connection_id":154898,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:44:24] local.INFO: Processing buffer {"connection_id":154898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:44:24] local.INFO: IMEI packet received {"connection_id":154898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":154898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:44:25] local.INFO: TCP Data received {"connection_id":154898,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:44:25] local.INFO: Processing buffer {"connection_id":154898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:44:25] local.INFO: Packet analysis {"connection_id":154898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:44:25] local.INFO: Extracted packet for processing {"connection_id":154898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:44:25] local.INFO: GPS Element Parsed {"raw_longitude":766915072,"raw_latitude":97183752,"longitude_deg":76.6915072,"latitude_deg":9.7183752,"altitude":20,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2db63200","hex_latitude":"05cae808","is_valid_coordinates":true} 
[2026-08-11 13:44:25] 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-08-11 13:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327600128001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786435953000,"timestamp_ms":1786435953000,"timestamp_seconds":1786435953,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe16168"} 
[2026-08-11 13:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:44:25] 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-08-11 13: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-08-11 13:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:44:25] 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-08-11 13:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327600128001,"66":27930,"58":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-08-11 13:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327600128001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:44:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 13:44:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327600128001,"power":27930,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":154898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:44:25] local.INFO: GPS data processed {"connection_id":154898,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:44:25] local.INFO: Acknowledgment sent {"connection_id":154898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:44:49] local.INFO: TCP Data received {"connection_id":152578,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe1c6f8012d1b748007258498002a00ec24..."} 
[2026-08-11 13:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe1c6f8012d1b748007258498002a00ec24..."} 
[2026-08-11 13:44:49] local.INFO: Processing buffer {"connection_id":152578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe1c6f8012d1b748007258498002a00ec24..."} 
[2026-08-11 13:44:49] local.INFO: Packet analysis {"connection_id":152578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:44:49] local.INFO: Extracted packet for processing {"connection_id":152578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:44:49] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899288,"longitude_deg":75.6774016,"latitude_deg":11.9899288,"altitude":42,"angle":236,"satellites":36,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258498","is_valid_coordinates":true} 
[2026-08-11 13:44: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-08-11 13:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327605248001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575589697748992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505063424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:44:49] 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-08-11 13:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786435979000,"timestamp_ms":1786435979000,"timestamp_seconds":1786435979,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe1c6f8"} 
[2026-08-11 13:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:44:49] 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-08-11 13:44: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 13:44:49] 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-08-11 13:44: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-08-11 13:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327605248001,"66":12461,"92":206,"28":31744,"24":0,"16":11575589697748992,"45":1978346904505063424},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327605248001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:44:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:44:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575589697748992,"km_value":11575589697748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505063424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327605248001,"power":12461,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505063424}} 
[2026-08-11 13:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":152578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:44:49] local.INFO: GPS data processed {"connection_id":152578,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:44:49] local.INFO: Acknowledgment sent {"connection_id":152578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:44:56] local.INFO: TCP Data received {"connection_id":154898,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:44:56] local.INFO: Processing buffer {"connection_id":154898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:44:56] local.INFO: Packet analysis {"connection_id":154898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:44:56] local.INFO: Extracted packet for processing {"connection_id":154898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:44:56] local.INFO: GPS Element Parsed {"raw_longitude":766915072,"raw_latitude":97183752,"longitude_deg":76.6915072,"latitude_deg":9.7183752,"altitude":20,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2db63200","hex_latitude":"05cae808","is_valid_coordinates":true} 
[2026-08-11 13:44: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-08-11 13:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327600128001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786435953000,"timestamp_ms":1786435953000,"timestamp_seconds":1786435953,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe16168"} 
[2026-08-11 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-08-11 13:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:44:56] 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-08-11 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-08-11 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-08-11 13:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:44:56] 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-08-11 13:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327600128001,"66":27930,"58":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-08-11 13:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327600128001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:44:56] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 13:44:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327600128001,"power":27930,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":154898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:44:56] local.INFO: GPS data processed {"connection_id":154898,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:44:56] local.INFO: Acknowledgment sent {"connection_id":154898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:45:10] local.INFO: TCP Data received {"connection_id":153522,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:45:10] local.INFO: Processing buffer {"connection_id":153522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:45:10] local.INFO: IMEI packet received {"connection_id":153522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":153522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:45:16] local.INFO: TCP Data received {"connection_id":153522,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:45:16] local.INFO: Processing buffer {"connection_id":153522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:45:16] local.INFO: IMEI packet received {"connection_id":153522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":153522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:45:17] local.INFO: TCP Data received {"connection_id":153522,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe21900012d1b748007258498002a00ec24..."} 
[2026-08-11 13:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe21900012d1b748007258498002a00ec24..."} 
[2026-08-11 13:45:17] local.INFO: Processing buffer {"connection_id":153522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe21900012d1b748007258498002a00ec24..."} 
[2026-08-11 13:45:17] local.INFO: Packet analysis {"connection_id":153522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe2"} 
[2026-08-11 13:45:17] local.INFO: Extracted packet for processing {"connection_id":153522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe2"} 
[2026-08-11 13:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899288,"longitude_deg":75.6774016,"latitude_deg":11.9899288,"altitude":42,"angle":236,"satellites":36,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258498","is_valid_coordinates":true} 
[2026-08-11 13:45: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-08-11 13:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327610624001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575589697748992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505063424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:45:17] 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-08-11 13:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786436000000,"timestamp_ms":1786436000000,"timestamp_seconds":1786436000,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe21900"} 
[2026-08-11 13:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:45:17] 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-08-11 13:45: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 13:45:17] 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-08-11 13:45: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-08-11 13:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327610624001,"66":12406,"92":206,"28":31744,"24":0,"16":11575589697748992,"45":1978346904505063424},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327610624001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:45:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:45:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575589697748992,"km_value":11575589697748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505063424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327610624001,"power":12406,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505063424}} 
[2026-08-11 13:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":153522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:45:17] local.INFO: GPS data processed {"connection_id":153522,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:45:17] local.INFO: Acknowledgment sent {"connection_id":153522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:45:19] local.INFO: TCP Data received {"connection_id":154899,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:45:19] local.INFO: Processing buffer {"connection_id":154899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:45:19] local.INFO: IMEI packet received {"connection_id":154899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":154899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:45:24] local.INFO: TCP Data received {"connection_id":154899,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:45:24] local.INFO: Processing buffer {"connection_id":154899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:45:24] local.INFO: IMEI packet received {"connection_id":154899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":154899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:45:25] local.INFO: TCP Data received {"connection_id":154899,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:45:25] local.INFO: Processing buffer {"connection_id":154899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:45:25] local.INFO: Packet analysis {"connection_id":154899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:45:25] local.INFO: Extracted packet for processing {"connection_id":154899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:45:25] local.INFO: GPS Element Parsed {"raw_longitude":766915072,"raw_latitude":97183752,"longitude_deg":76.6915072,"latitude_deg":9.7183752,"altitude":20,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2db63200","hex_latitude":"05cae808","is_valid_coordinates":true} 
[2026-08-11 13:45:25] 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-08-11 13:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327600128001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786435953000,"timestamp_ms":1786435953000,"timestamp_seconds":1786435953,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe16168"} 
[2026-08-11 13:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:45:25] 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-08-11 13: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-08-11 13:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:45:25] 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-08-11 13:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327600128001,"66":27930,"58":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-08-11 13:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327600128001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:45:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 13:45:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327600128001,"power":27930,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":154899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:45:25] local.INFO: GPS data processed {"connection_id":154899,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:45:25] local.INFO: Acknowledgment sent {"connection_id":154899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:45:49] local.INFO: TCP Data received {"connection_id":153522,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe26b08012d1b748007258498002a00ec26..."} 
[2026-08-11 13:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe26b08012d1b748007258498002a00ec26..."} 
[2026-08-11 13:45:49] local.INFO: Processing buffer {"connection_id":153522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe26b08012d1b748007258498002a00ec26..."} 
[2026-08-11 13:45:49] local.INFO: Packet analysis {"connection_id":153522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe2"} 
[2026-08-11 13:45:49] local.INFO: Extracted packet for processing {"connection_id":153522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe2"} 
[2026-08-11 13:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899288,"longitude_deg":75.6774016,"latitude_deg":11.9899288,"altitude":42,"angle":236,"satellites":38,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258498","is_valid_coordinates":true} 
[2026-08-11 13:45: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-08-11 13:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327616000001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575589697748992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505063424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:45:49] 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-08-11 13:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786436021000,"timestamp_ms":1786436021000,"timestamp_seconds":1786436021,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe26b08"} 
[2026-08-11 13:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:45:49] 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-08-11 13:45: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 13:45:49] 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-08-11 13:45: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-08-11 13:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327616000001,"66":12385,"92":206,"28":31744,"24":0,"16":11575589697748992,"45":1978346904505063424},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327616000001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:45:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:45:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575589697748992,"km_value":11575589697748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505063424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327616000001,"power":12385,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505063424}} 
[2026-08-11 13:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":153522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:45:49] local.INFO: GPS data processed {"connection_id":153522,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:45:49] local.INFO: Acknowledgment sent {"connection_id":153522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:45:56] local.INFO: TCP Data received {"connection_id":154899,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:45:56] local.INFO: Processing buffer {"connection_id":154899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:45:56] local.INFO: Packet analysis {"connection_id":154899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:45:56] local.INFO: Extracted packet for processing {"connection_id":154899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:45:56] local.INFO: GPS Element Parsed {"raw_longitude":766915072,"raw_latitude":97183752,"longitude_deg":76.6915072,"latitude_deg":9.7183752,"altitude":20,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2db63200","hex_latitude":"05cae808","is_valid_coordinates":true} 
[2026-08-11 13:45: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-08-11 13:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327600128001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786435953000,"timestamp_ms":1786435953000,"timestamp_seconds":1786435953,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe16168"} 
[2026-08-11 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-08-11 13:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:45:56] 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-08-11 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-08-11 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-08-11 13:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:45:56] 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-08-11 13:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327600128001,"66":27930,"58":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-08-11 13:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327600128001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:45:56] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 13:45:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327600128001,"power":27930,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":154899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:45:56] local.INFO: GPS data processed {"connection_id":154899,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:45:56] local.INFO: Acknowledgment sent {"connection_id":154899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:46:10] local.INFO: TCP Data received {"connection_id":153523,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:46:10] local.INFO: Processing buffer {"connection_id":153523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:46:10] local.INFO: IMEI packet received {"connection_id":153523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":153523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:46:16] local.INFO: TCP Data received {"connection_id":153523,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:46:16] local.INFO: Processing buffer {"connection_id":153523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:46:16] local.INFO: IMEI packet received {"connection_id":153523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":153523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:46:17] local.INFO: TCP Data received {"connection_id":153523,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe2bd10012d1b748007258498002a00ec27..."} 
[2026-08-11 13:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe2bd10012d1b748007258498002a00ec27..."} 
[2026-08-11 13:46:17] local.INFO: Processing buffer {"connection_id":153523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe2bd10012d1b748007258498002a00ec27..."} 
[2026-08-11 13:46:17] local.INFO: Packet analysis {"connection_id":153523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe2"} 
[2026-08-11 13:46:17] local.INFO: Extracted packet for processing {"connection_id":153523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe2"} 
[2026-08-11 13:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899288,"longitude_deg":75.6774016,"latitude_deg":11.9899288,"altitude":42,"angle":236,"satellites":39,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258498","is_valid_coordinates":true} 
[2026-08-11 13:46: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-08-11 13:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327621376001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575589697748992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505063424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:46:17] 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-08-11 13:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786436042000,"timestamp_ms":1786436042000,"timestamp_seconds":1786436042,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe2bd10"} 
[2026-08-11 13:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:46:17] 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-08-11 13:46: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 13:46:17] 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-08-11 13:46: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-08-11 13:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327621376001,"66":12439,"92":206,"28":31744,"24":0,"16":11575589697748992,"45":1978346904505063424},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327621376001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:46:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:46:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575589697748992,"km_value":11575589697748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505063424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327621376001,"power":12439,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505063424}} 
[2026-08-11 13:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":153523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:46:17] local.INFO: GPS data processed {"connection_id":153523,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:46:17] local.INFO: Acknowledgment sent {"connection_id":153523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:46:19] local.INFO: TCP Data received {"connection_id":154900,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:46:19] local.INFO: Processing buffer {"connection_id":154900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:46:19] local.INFO: IMEI packet received {"connection_id":154900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":154900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:46:24] local.INFO: TCP Data received {"connection_id":154900,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:46:24] local.INFO: Processing buffer {"connection_id":154900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:46:24] local.INFO: IMEI packet received {"connection_id":154900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":154900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:46:25] local.INFO: TCP Data received {"connection_id":154900,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:46:25] local.INFO: Processing buffer {"connection_id":154900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:46:25] local.INFO: Packet analysis {"connection_id":154900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:46:25] local.INFO: Extracted packet for processing {"connection_id":154900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:46:25] local.INFO: GPS Element Parsed {"raw_longitude":766915072,"raw_latitude":97183752,"longitude_deg":76.6915072,"latitude_deg":9.7183752,"altitude":20,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2db63200","hex_latitude":"05cae808","is_valid_coordinates":true} 
[2026-08-11 13:46:25] 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-08-11 13:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327600128001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786435953000,"timestamp_ms":1786435953000,"timestamp_seconds":1786435953,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe16168"} 
[2026-08-11 13:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:46:25] 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-08-11 13: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-08-11 13:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:46:25] 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-08-11 13:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327600128001,"66":27930,"58":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-08-11 13:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327600128001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:46:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 13:46:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327600128001,"power":27930,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":154900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:46:25] local.INFO: GPS data processed {"connection_id":154900,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:46:25] local.INFO: Acknowledgment sent {"connection_id":154900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:46:52] local.INFO: TCP Data received {"connection_id":153523,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe30f18012d1b748007258498002a00ec26..."} 
[2026-08-11 13:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe30f18012d1b748007258498002a00ec26..."} 
[2026-08-11 13:46:52] local.INFO: Processing buffer {"connection_id":153523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe30f18012d1b748007258498002a00ec26..."} 
[2026-08-11 13:46:52] local.INFO: Packet analysis {"connection_id":153523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe3"} 
[2026-08-11 13:46:52] local.INFO: Extracted packet for processing {"connection_id":153523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe3"} 
[2026-08-11 13:46:52] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899288,"longitude_deg":75.6774016,"latitude_deg":11.9899288,"altitude":42,"angle":236,"satellites":38,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258498","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327626752001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575589697748992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505063424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:46:52] 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-08-11 13:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786436063000,"timestamp_ms":1786436063000,"timestamp_seconds":1786436063,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe30f18"} 
[2026-08-11 13:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:46:52] 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-08-11 13: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-11 13:46:52] 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-08-11 13: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-08-11 13:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327626752001,"66":12385,"92":206,"28":31744,"24":0,"16":11575589697748992,"45":1978346904505063424},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327626752001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:46:52] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:46:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575589697748992,"km_value":11575589697748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505063424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327626752001,"power":12385,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505063424}} 
[2026-08-11 13:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":153523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:46:52] local.INFO: GPS data processed {"connection_id":153523,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:46:52] local.INFO: Acknowledgment sent {"connection_id":153523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:46:56] local.INFO: TCP Data received {"connection_id":154900,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:46:56] local.INFO: Processing buffer {"connection_id":154900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:46:56] local.INFO: Packet analysis {"connection_id":154900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:46:56] local.INFO: Extracted packet for processing {"connection_id":154900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:46:56] local.INFO: GPS Element Parsed {"raw_longitude":766915072,"raw_latitude":97183752,"longitude_deg":76.6915072,"latitude_deg":9.7183752,"altitude":20,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2db63200","hex_latitude":"05cae808","is_valid_coordinates":true} 
[2026-08-11 13:46: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-08-11 13:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327600128001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786435953000,"timestamp_ms":1786435953000,"timestamp_seconds":1786435953,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe16168"} 
[2026-08-11 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-08-11 13:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:46:56] 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-08-11 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-08-11 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-08-11 13:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:46:56] 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-08-11 13:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327600128001,"66":27930,"58":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-08-11 13:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327600128001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:46:56] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 13:46:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327600128001,"power":27930,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":154900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:46:56] local.INFO: GPS data processed {"connection_id":154900,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:46:56] local.INFO: Acknowledgment sent {"connection_id":154900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:47:13] local.INFO: TCP Data received {"connection_id":152579,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:47:13] local.INFO: Processing buffer {"connection_id":152579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:47:13] local.INFO: IMEI packet received {"connection_id":152579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":152579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:47:16] local.INFO: TCP Data received {"connection_id":152579,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:47:16] local.INFO: Processing buffer {"connection_id":152579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:47:16] local.INFO: IMEI packet received {"connection_id":152579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":152579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:47:18] local.INFO: TCP Data received {"connection_id":152579,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:47:18] local.INFO: Processing buffer {"connection_id":152579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:47:18] local.INFO: IMEI packet received {"connection_id":152579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":152579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:47:19] local.INFO: TCP Data received {"connection_id":152203,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:47:19] local.INFO: Processing buffer {"connection_id":152203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:47:19] local.INFO: IMEI packet received {"connection_id":152203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":152203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:47:20] local.INFO: TCP Data received {"connection_id":152579,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe36120012d1b748007258498002a00ec24..."} 
[2026-08-11 13:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe36120012d1b748007258498002a00ec24..."} 
[2026-08-11 13:47:20] local.INFO: Processing buffer {"connection_id":152579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe36120012d1b748007258498002a00ec24..."} 
[2026-08-11 13:47:20] local.INFO: Packet analysis {"connection_id":152579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe3"} 
[2026-08-11 13:47:20] local.INFO: Extracted packet for processing {"connection_id":152579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe3"} 
[2026-08-11 13:47:20] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899288,"longitude_deg":75.6774016,"latitude_deg":11.9899288,"altitude":42,"angle":236,"satellites":36,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258498","is_valid_coordinates":true} 
[2026-08-11 13:47: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-08-11 13:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327632128001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575589697748992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505063424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:47:20] 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-08-11 13:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786436084000,"timestamp_ms":1786436084000,"timestamp_seconds":1786436084,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe36120"} 
[2026-08-11 13:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:47:20] 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-08-11 13:47: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 13:47:20] 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-08-11 13:47: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-08-11 13:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327632128001,"66":12385,"92":206,"28":31744,"24":0,"16":11575589697748992,"45":1978346904505063424},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327632128001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:47:20] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:47:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575589697748992,"km_value":11575589697748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505063424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327632128001,"power":12385,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505063424}} 
[2026-08-11 13:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":152579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:47:20] local.INFO: GPS data processed {"connection_id":152579,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:47:20] local.INFO: Acknowledgment sent {"connection_id":152579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:47:21] local.INFO: TCP Data received {"connection_id":152579,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe3b328012d1b748007258498002a00ec23..."} 
[2026-08-11 13:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe3b328012d1b748007258498002a00ec23..."} 
[2026-08-11 13:47:21] local.INFO: Processing buffer {"connection_id":152579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe3b328012d1b748007258498002a00ec23..."} 
[2026-08-11 13:47:21] local.INFO: Packet analysis {"connection_id":152579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe3"} 
[2026-08-11 13:47:21] local.INFO: Extracted packet for processing {"connection_id":152579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe3"} 
[2026-08-11 13:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899288,"longitude_deg":75.6774016,"latitude_deg":11.9899288,"altitude":42,"angle":236,"satellites":35,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258498","is_valid_coordinates":true} 
[2026-08-11 13:47: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-08-11 13:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327637504001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575589697748992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505063424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:47:21] 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-08-11 13:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786436105000,"timestamp_ms":1786436105000,"timestamp_seconds":1786436105,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe3b328"} 
[2026-08-11 13:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:47:21] 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-08-11 13:47: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 13:47:21] 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-08-11 13:47: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-08-11 13:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327637504001,"66":12341,"92":206,"28":31744,"24":0,"16":11575589697748992,"45":1978346904505063424},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327637504001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:47:21] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:47:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575589697748992,"km_value":11575589697748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505063424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327637504001,"power":12341,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505063424}} 
[2026-08-11 13:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":152579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:47:21] local.INFO: GPS data processed {"connection_id":152579,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:47:21] local.INFO: Acknowledgment sent {"connection_id":152579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:47:24] local.INFO: TCP Data received {"connection_id":152203,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:47:24] local.INFO: Processing buffer {"connection_id":152203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:47:24] local.INFO: IMEI packet received {"connection_id":152203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":152203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:47:25] local.INFO: TCP Data received {"connection_id":152203,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:47:25] local.INFO: Processing buffer {"connection_id":152203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:47:25] local.INFO: Packet analysis {"connection_id":152203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:47:25] local.INFO: Extracted packet for processing {"connection_id":152203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:47:25] local.INFO: GPS Element Parsed {"raw_longitude":766915072,"raw_latitude":97183752,"longitude_deg":76.6915072,"latitude_deg":9.7183752,"altitude":20,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2db63200","hex_latitude":"05cae808","is_valid_coordinates":true} 
[2026-08-11 13:47:25] 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-08-11 13:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327600128001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786435953000,"timestamp_ms":1786435953000,"timestamp_seconds":1786435953,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe16168"} 
[2026-08-11 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-08-11 13:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:47:25] 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-08-11 13: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-08-11 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-08-11 13:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:47:25] 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-08-11 13:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327600128001,"66":27930,"58":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-08-11 13:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327600128001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:47:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 13:47:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327600128001,"power":27930,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":152203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:47:25] local.INFO: GPS data processed {"connection_id":152203,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:47:25] local.INFO: Acknowledgment sent {"connection_id":152203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:47:52] local.INFO: TCP Data received {"connection_id":152579,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe40530012d1b748007258498002a00ec25..."} 
[2026-08-11 13:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe40530012d1b748007258498002a00ec25..."} 
[2026-08-11 13:47:52] local.INFO: Processing buffer {"connection_id":152579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe40530012d1b748007258498002a00ec25..."} 
[2026-08-11 13:47:52] local.INFO: Packet analysis {"connection_id":152579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe4"} 
[2026-08-11 13:47:52] local.INFO: Extracted packet for processing {"connection_id":152579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe4"} 
[2026-08-11 13:47:52] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899288,"longitude_deg":75.6774016,"latitude_deg":11.9899288,"altitude":42,"angle":236,"satellites":37,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258498","is_valid_coordinates":true} 
[2026-08-11 13:47: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-08-11 13:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327642880001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575589697748992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505063424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:47:52] 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-08-11 13:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786436126000,"timestamp_ms":1786436126000,"timestamp_seconds":1786436126,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe40530"} 
[2026-08-11 13:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:47:52] 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-08-11 13:47: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":53,"data_length":795,"current_offset":136} 
[2026-08-11 13:47:52] 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-08-11 13:47: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-08-11 13:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327642880001,"66":14026,"92":206,"28":31744,"24":0,"16":11575589697748992,"45":1978346904505063424},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327642880001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:47:52] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:47:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575589697748992,"km_value":11575589697748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505063424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327642880001,"power":14026,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505063424}} 
[2026-08-11 13:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":152579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:47:52] local.INFO: GPS data processed {"connection_id":152579,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:47:52] local.INFO: Acknowledgment sent {"connection_id":152579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:47:57] local.INFO: TCP Data received {"connection_id":152203,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:47:57] local.INFO: Processing buffer {"connection_id":152203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe16168012db6320005cae8080014014d2b..."} 
[2026-08-11 13:47:57] local.INFO: Packet analysis {"connection_id":152203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:47:57] local.INFO: Extracted packet for processing {"connection_id":152203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe1"} 
[2026-08-11 13:47:57] local.INFO: GPS Element Parsed {"raw_longitude":766915072,"raw_latitude":97183752,"longitude_deg":76.6915072,"latitude_deg":9.7183752,"altitude":20,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2db63200","hex_latitude":"05cae808","is_valid_coordinates":true} 
[2026-08-11 13:47: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-08-11 13:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327600128001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786435953000,"timestamp_ms":1786435953000,"timestamp_seconds":1786435953,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe16168"} 
[2026-08-11 13:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 13:47: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-08-11 13: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-08-11 13:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:47:57] 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-08-11 13:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327600128001,"66":27930,"58":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-08-11 13:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327600128001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:47:57] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 13:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327600128001,"power":27930,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":152203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:47:57] local.INFO: GPS data processed {"connection_id":152203,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:47:57] local.INFO: Acknowledgment sent {"connection_id":152203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:48:11] local.INFO: TCP Data received {"connection_id":154901,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:48:11] local.INFO: Processing buffer {"connection_id":154901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:48:11] local.INFO: IMEI packet received {"connection_id":154901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":154901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:48:12] local.INFO: TCP Data received {"connection_id":154901,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:48:12] local.INFO: Processing buffer {"connection_id":154901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:48:12] local.INFO: IMEI packet received {"connection_id":154901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":154901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:48:14] local.INFO: TCP Data received {"connection_id":154901,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe45738012d1b748007258498002a00ec24..."} 
[2026-08-11 13:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe45738012d1b748007258498002a00ec24..."} 
[2026-08-11 13:48:14] local.INFO: Processing buffer {"connection_id":154901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe45738012d1b748007258498002a00ec24..."} 
[2026-08-11 13:48:14] local.INFO: Packet analysis {"connection_id":154901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe4"} 
[2026-08-11 13:48:14] local.INFO: Extracted packet for processing {"connection_id":154901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe4"} 
[2026-08-11 13:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119899288,"longitude_deg":75.6774016,"latitude_deg":11.9899288,"altitude":42,"angle":236,"satellites":36,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258498","is_valid_coordinates":true} 
[2026-08-11 13:48: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-08-11 13:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327648256001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575589697748992,"note":"Value kept but may cause issues"} 
[2026-08-11 13:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505063424,"note":"Value kept but may cause issues"} 
[2026-08-11 13:48:14] 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-08-11 13:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786436147000,"timestamp_ms":1786436147000,"timestamp_seconds":1786436147,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe45738"} 
[2026-08-11 13:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:48:14] 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-08-11 13:48: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-11 13:48:14] 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-08-11 13:48: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-08-11 13:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327648256001,"66":13917,"92":206,"28":31744,"24":0,"16":11575589697748992,"45":1978346904505063424},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-11 13:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327648256001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:48:14] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-11 13:48:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575589697748992,"km_value":11575589697748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505063424,"description":"Unknown IO ID 45"} 
[2026-08-11 13:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327648256001,"power":13917,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978346904505063424}} 
[2026-08-11 13:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":154901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:48:14] local.INFO: GPS data processed {"connection_id":154901,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:48:14] local.INFO: Acknowledgment sent {"connection_id":154901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:48:19] local.INFO: TCP Data received {"connection_id":153524,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:48:19] local.INFO: Processing buffer {"connection_id":153524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:48:19] local.INFO: IMEI packet received {"connection_id":153524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":153524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:48:24] local.INFO: TCP Data received {"connection_id":153524,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:48:24] local.INFO: Processing buffer {"connection_id":153524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:48:24] local.INFO: IMEI packet received {"connection_id":153524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":153524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:48:25] local.INFO: TCP Data received {"connection_id":153524,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:48:25] local.INFO: Processing buffer {"connection_id":153524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:48:25] local.INFO: Packet analysis {"connection_id":153524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:48:25] local.INFO: Extracted packet for processing {"connection_id":153524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:48:25] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327603968001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786436257000,"timestamp_ms":1786436257000,"timestamp_seconds":1786436257,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe604e8"} 
[2026-08-11 13:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 13:48:25] 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-08-11 13: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-08-11 13:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:48:25] 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-08-11 13:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327603968001,"66":26158,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327603968001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:48:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:48:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327603968001,"power":26158,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":153524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:48:25] local.INFO: GPS data processed {"connection_id":153524,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:48:25] local.INFO: Acknowledgment sent {"connection_id":153524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:48:45] local.INFO: TCP Data received {"connection_id":154901,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe65ad8012d1b58c00724c488002300c223..."} 
[2026-08-11 13:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe65ad8012d1b58c00724c488002300c223..."} 
[2026-08-11 13:48:45] local.INFO: Processing buffer {"connection_id":154901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe65ad8012d1b58c00724c488002300c223..."} 
[2026-08-11 13:48:45] local.INFO: Packet analysis {"connection_id":154901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:48:45] local.INFO: Extracted packet for processing {"connection_id":154901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119850120,"longitude_deg":75.6766912,"latitude_deg":11.985012,"altitude":35,"angle":194,"satellites":35,"speed":23,"hex_longitude":"2d1b58c0","hex_latitude":"0724c488","is_valid_coordinates":true} 
[2026-08-11 13:48: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-08-11 13:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327685376001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11578037829107712,"note":"Value kept but may cause issues"} 
[2026-08-11 13:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971380398820225024,"note":"Value kept but may cause issues"} 
[2026-08-11 13:48:45] 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-08-11 13:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786436279000,"timestamp_ms":1786436279000,"timestamp_seconds":1786436279,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe65ad8"} 
[2026-08-11 13:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:48:45] 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-08-11 13:48: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-11 13:48:45] 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-08-11 13:48: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-08-11 13:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":154901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":154901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":154901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327685376001,"66":14157,"91":206,"28":31744,"24":23,"16":11578037829107712,"45":1971380398820225024},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-11 13:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327685376001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:48:45] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-11 13:48:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11578037829107712,"km_value":11578037829107.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971380398820225024,"description":"Unknown IO ID 45"} 
[2026-08-11 13:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327685376001,"power":14157,"unknown_91":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1971380398820225024}} 
[2026-08-11 13:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":154901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:48:45] local.INFO: GPS data processed {"connection_id":154901,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:48:45] local.INFO: Acknowledgment sent {"connection_id":154901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:48:56] local.INFO: TCP Data received {"connection_id":153524,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:48:56] local.INFO: Processing buffer {"connection_id":153524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:48:56] local.INFO: Packet analysis {"connection_id":153524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:48:56] local.INFO: Extracted packet for processing {"connection_id":153524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:48:56] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327603968001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786436257000,"timestamp_ms":1786436257000,"timestamp_seconds":1786436257,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe604e8"} 
[2026-08-11 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-08-11 13:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 13:48:56] 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-08-11 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-08-11 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-08-11 13:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:48:56] 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-08-11 13:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327603968001,"66":26158,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327603968001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:48:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:48:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327603968001,"power":26158,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":153524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:48:56] local.INFO: GPS data processed {"connection_id":153524,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:48:56] local.INFO: Acknowledgment sent {"connection_id":153524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:49:10] local.INFO: TCP Data received {"connection_id":152204,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:49:10] local.INFO: Processing buffer {"connection_id":152204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:49:10] local.INFO: IMEI packet received {"connection_id":152204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":152204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:49:15] local.INFO: TCP Data received {"connection_id":152204,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:49:15] local.INFO: Processing buffer {"connection_id":152204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:49:15] local.INFO: IMEI packet received {"connection_id":152204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":152204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:49:17] local.INFO: TCP Data received {"connection_id":152204,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe66690012d1b56000724be00002300cd25..."} 
[2026-08-11 13:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe66690012d1b56000724be00002300cd25..."} 
[2026-08-11 13:49:17] local.INFO: Processing buffer {"connection_id":152204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe66690012d1b56000724be00002300cd25..."} 
[2026-08-11 13:49:17] local.INFO: Packet analysis {"connection_id":152204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:49:17] local.INFO: Extracted packet for processing {"connection_id":152204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756766208,"raw_latitude":119848448,"longitude_deg":75.6766208,"latitude_deg":11.9848448,"altitude":35,"angle":205,"satellites":37,"speed":24,"hex_longitude":"2d1b5600","hex_latitude":"0724be00","is_valid_coordinates":true} 
[2026-08-11 13:49: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-08-11 13:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327687424001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11578128023420928,"note":"Value kept but may cause issues"} 
[2026-08-11 13:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973888755712,"note":"Value kept but may cause issues"} 
[2026-08-11 13:49:17] 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-08-11 13:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786436282000,"timestamp_ms":1786436282000,"timestamp_seconds":1786436282,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe66690"} 
[2026-08-11 13:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:49:17] 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-08-11 13:49: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 13:49:17] 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-08-11 13:49: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-08-11 13:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327687424001,"66":14135,"91":206,"28":31744,"24":24,"16":11578128023420928,"45":1970535973888755712},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-11 13:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327687424001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:49:17] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-11 13:49:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11578128023420928,"km_value":11578128023420.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973888755712,"description":"Unknown IO ID 45"} 
[2026-08-11 13:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327687424001,"power":14135,"unknown_91":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1970535973888755712}} 
[2026-08-11 13:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":152204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:49:18] local.INFO: GPS data processed {"connection_id":152204,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:49:18] local.INFO: Acknowledgment sent {"connection_id":152204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:49:20] local.INFO: TCP Data received {"connection_id":153525,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:49:20] local.INFO: Processing buffer {"connection_id":153525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:49:20] local.INFO: IMEI packet received {"connection_id":153525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":153525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:49:24] local.INFO: TCP Data received {"connection_id":153525,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:49:24] local.INFO: Processing buffer {"connection_id":153525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:49:24] local.INFO: IMEI packet received {"connection_id":153525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":153525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:49:25] local.INFO: TCP Data received {"connection_id":153525,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:49:25] local.INFO: Processing buffer {"connection_id":153525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:49:25] local.INFO: Packet analysis {"connection_id":153525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:49:25] local.INFO: Extracted packet for processing {"connection_id":153525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:49:25] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327603968001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786436257000,"timestamp_ms":1786436257000,"timestamp_seconds":1786436257,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe604e8"} 
[2026-08-11 13:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 13:49:25] 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-08-11 13: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-08-11 13:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:49:25] 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-08-11 13:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327603968001,"66":26158,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327603968001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:49:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:49:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327603968001,"power":26158,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":153525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:49:25] local.INFO: GPS data processed {"connection_id":153525,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:49:25] local.INFO: Acknowledgment sent {"connection_id":153525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:49:50] local.INFO: TCP Data received {"connection_id":152204,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe67630012d1b51000724b640002300da26..."} 
[2026-08-11 13:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe67630012d1b51000724b640002300da26..."} 
[2026-08-11 13:49:50] local.INFO: Processing buffer {"connection_id":152204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe67630012d1b51000724b640002300da26..."} 
[2026-08-11 13:49:50] local.INFO: Packet analysis {"connection_id":152204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:49:50] local.INFO: Extracted packet for processing {"connection_id":152204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756764928,"raw_latitude":119846464,"longitude_deg":75.6764928,"latitude_deg":11.9846464,"altitude":35,"angle":218,"satellites":38,"speed":22,"hex_longitude":"2d1b5100","hex_latitude":"0724b640","is_valid_coordinates":true} 
[2026-08-11 13:49: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-08-11 13:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327688192001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11578239692570624,"note":"Value kept but may cause issues"} 
[2026-08-11 13:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969761917702373376,"note":"Value kept but may cause issues"} 
[2026-08-11 13:49:50] 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-08-11 13:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786436286000,"timestamp_ms":1786436286000,"timestamp_seconds":1786436286,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe67630"} 
[2026-08-11 13:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:49:50] 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-08-11 13:49: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":55,"data_length":795,"current_offset":136} 
[2026-08-11 13:49:50] 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-08-11 13:49: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-08-11 13:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327688192001,"66":14102,"91":206,"28":31744,"24":22,"16":11578239692570624,"45":1969761917702373376},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-11 13:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327688192001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:49:50] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-11 13:49:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11578239692570624,"km_value":11578239692570.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969761917702373376,"description":"Unknown IO ID 45"} 
[2026-08-11 13:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327688192001,"power":14102,"unknown_91":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1969761917702373376}} 
[2026-08-11 13:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":152204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:49:50] local.INFO: GPS data processed {"connection_id":152204,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:49:50] local.INFO: Acknowledgment sent {"connection_id":152204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:49:57] local.INFO: TCP Data received {"connection_id":153525,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:49:57] local.INFO: Processing buffer {"connection_id":153525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:49:57] local.INFO: Packet analysis {"connection_id":153525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:49:57] local.INFO: Extracted packet for processing {"connection_id":153525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:49:57] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327603968001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786436257000,"timestamp_ms":1786436257000,"timestamp_seconds":1786436257,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe604e8"} 
[2026-08-11 13:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 13:49:57] 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-08-11 13: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-08-11 13:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:49:57] 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-08-11 13:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327603968001,"66":26158,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327603968001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:49:57] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327603968001,"power":26158,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":153525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:49:57] local.INFO: GPS data processed {"connection_id":153525,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:49:57] local.INFO: Acknowledgment sent {"connection_id":153525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:50:10] local.INFO: TCP Data received {"connection_id":152580,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:50:10] local.INFO: Processing buffer {"connection_id":152580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:50:10] local.INFO: IMEI packet received {"connection_id":152580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":152580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:50:14] local.INFO: TCP Data received {"connection_id":152580,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:50:14] local.INFO: Processing buffer {"connection_id":152580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:50:14] local.INFO: IMEI packet received {"connection_id":152580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":152580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:50:16] local.INFO: TCP Data received {"connection_id":152580,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe685d0012d1b4b400724b0a0002400e627..."} 
[2026-08-11 13:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe685d0012d1b4b400724b0a0002400e627..."} 
[2026-08-11 13:50:16] local.INFO: Processing buffer {"connection_id":152580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe685d0012d1b4b400724b0a0002400e627..."} 
[2026-08-11 13:50:16] local.INFO: Packet analysis {"connection_id":152580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:50:16] local.INFO: Extracted packet for processing {"connection_id":152580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:50:16] local.INFO: GPS Element Parsed {"raw_longitude":756763456,"raw_latitude":119845024,"longitude_deg":75.6763456,"latitude_deg":11.9845024,"altitude":36,"angle":230,"satellites":39,"speed":19,"hex_longitude":"2d1b4b40","hex_latitude":"0724b0a0","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327689216001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11578338476818432,"note":"Value kept but may cause issues"} 
[2026-08-11 13:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968354542818312192,"note":"Value kept but may cause issues"} 
[2026-08-11 13:50:16] 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-08-11 13:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786436290000,"timestamp_ms":1786436290000,"timestamp_seconds":1786436290,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe685d0"} 
[2026-08-11 13:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:50:16] 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-08-11 13: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 13:50:16] 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-08-11 13: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-08-11 13:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327689216001,"66":13363,"91":206,"28":31744,"24":19,"16":11578338476818432,"45":1968354542818312192},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-11 13:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327689216001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:50:16] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-11 13:50:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11578338476818432,"km_value":11578338476818.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968354542818312192,"description":"Unknown IO ID 45"} 
[2026-08-11 13:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327689216001,"power":13363,"unknown_91":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1968354542818312192}} 
[2026-08-11 13:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":152580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:50:16] local.INFO: GPS data processed {"connection_id":152580,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:50:16] local.INFO: Acknowledgment sent {"connection_id":152580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:50:19] local.INFO: TCP Data received {"connection_id":154902,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:50:19] local.INFO: Processing buffer {"connection_id":154902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:50:19] local.INFO: IMEI packet received {"connection_id":154902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":154902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:50:25] local.INFO: TCP Data received {"connection_id":154902,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:50:25] local.INFO: Processing buffer {"connection_id":154902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:50:25] local.INFO: IMEI packet received {"connection_id":154902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":154902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:50:26] local.INFO: TCP Data received {"connection_id":154902,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:50:26] local.INFO: Processing buffer {"connection_id":154902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:50:26] local.INFO: Packet analysis {"connection_id":154902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:50:26] local.INFO: Extracted packet for processing {"connection_id":154902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:50:26] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327603968001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786436257000,"timestamp_ms":1786436257000,"timestamp_seconds":1786436257,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe604e8"} 
[2026-08-11 13:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 13:50:26] 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-08-11 13: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-08-11 13:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:50:26] 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-08-11 13:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327603968001,"66":26158,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327603968001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:50:26] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:50:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327603968001,"power":26158,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":154902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:50:26] local.INFO: GPS data processed {"connection_id":154902,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:50:26] local.INFO: Acknowledgment sent {"connection_id":154902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:50:47] local.INFO: TCP Data received {"connection_id":152580,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe6ace0012d1b3c400724a6b0002900f528..."} 
[2026-08-11 13:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe6ace0012d1b3c400724a6b0002900f528..."} 
[2026-08-11 13:50:47] local.INFO: Processing buffer {"connection_id":152580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe6ace0012d1b3c400724a6b0002900f528..."} 
[2026-08-11 13:50:47] local.INFO: Packet analysis {"connection_id":152580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:50:47] local.INFO: Extracted packet for processing {"connection_id":152580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756759616,"raw_latitude":119842480,"longitude_deg":75.6759616,"latitude_deg":11.984248,"altitude":41,"angle":245,"satellites":40,"speed":20,"hex_longitude":"2d1b3c40","hex_latitude":"0724a6b0","is_valid_coordinates":true} 
[2026-08-11 13:50: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-08-11 13:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327690240001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11578561815117824,"note":"Value kept but may cause issues"} 
[2026-08-11 13:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966736061701857280,"note":"Value kept but may cause issues"} 
[2026-08-11 13:50:47] 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-08-11 13:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786436300000,"timestamp_ms":1786436300000,"timestamp_seconds":1786436300,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe6ace0"} 
[2026-08-11 13:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:50: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-08-11 13:50: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":51,"data_length":795,"current_offset":136} 
[2026-08-11 13:50:47] 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-08-11 13:50: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-08-11 13:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327690240001,"66":14113,"91":206,"28":31744,"24":20,"16":11578561815117824,"45":1966736061701857280},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-11 13:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327690240001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:50:47] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-11 13:50:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11578561815117824,"km_value":11578561815117.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966736061701857280,"description":"Unknown IO ID 45"} 
[2026-08-11 13:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327690240001,"power":14113,"unknown_91":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1966736061701857280}} 
[2026-08-11 13:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":152580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:50:48] local.INFO: GPS data processed {"connection_id":152580,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:50:48] local.INFO: Acknowledgment sent {"connection_id":152580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:50:57] local.INFO: TCP Data received {"connection_id":154902,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:50:57] local.INFO: Processing buffer {"connection_id":154902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:50:57] local.INFO: Packet analysis {"connection_id":154902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:50:57] local.INFO: Extracted packet for processing {"connection_id":154902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:50:57] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327603968001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786436257000,"timestamp_ms":1786436257000,"timestamp_seconds":1786436257,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe604e8"} 
[2026-08-11 13:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 13:50:57] 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-08-11 13: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-08-11 13:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:50:57] 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-08-11 13:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327603968001,"66":26158,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327603968001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:50:57] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:50:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327603968001,"power":26158,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":154902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:50:57] local.INFO: GPS data processed {"connection_id":154902,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:50:57] local.INFO: Acknowledgment sent {"connection_id":154902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:51:10] local.INFO: TCP Data received {"connection_id":154903,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:51:10] local.INFO: Processing buffer {"connection_id":154903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:51:10] local.INFO: IMEI packet received {"connection_id":154903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":154903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:51:11] local.INFO: TCP Data received {"connection_id":154903,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:51:11] local.INFO: Processing buffer {"connection_id":154903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:51:11] local.INFO: IMEI packet received {"connection_id":154903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":154903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:51:16] local.INFO: TCP Data received {"connection_id":154903,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:51:16] local.INFO: Processing buffer {"connection_id":154903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:51:16] local.INFO: IMEI packet received {"connection_id":154903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":154903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:51:17] local.INFO: TCP Data received {"connection_id":154903,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe879d0012d1a6f8007240900002a00ed27..."} 
[2026-08-11 13:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe879d0012d1a6f8007240900002a00ed27..."} 
[2026-08-11 13:51:17] local.INFO: Processing buffer {"connection_id":154903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe879d0012d1a6f8007240900002a00ed27..."} 
[2026-08-11 13:51:17] local.INFO: Packet analysis {"connection_id":154903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe8"} 
[2026-08-11 13:51:17] local.INFO: Extracted packet for processing {"connection_id":154903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe8"} 
[2026-08-11 13:51:17] local.INFO: GPS Element Parsed {"raw_longitude":756707200,"raw_latitude":119802112,"longitude_deg":75.67072,"latitude_deg":11.9802112,"altitude":42,"angle":237,"satellites":39,"speed":25,"hex_longitude":"2d1a6f80","hex_latitude":"07240900","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327719424001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11581804515426304,"note":"Value kept but may cause issues"} 
[2026-08-11 13:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1914240978535477248,"note":"Value kept but may cause issues"} 
[2026-08-11 13:51:17] 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-08-11 13:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786436418000,"timestamp_ms":1786436418000,"timestamp_seconds":1786436418,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe879d0"} 
[2026-08-11 13:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:51:17] 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-08-11 13: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 13:51:17] 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-08-11 13: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-08-11 13:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327719424001,"66":14243,"112":206,"28":31744,"24":25,"16":11581804515426304,"45":1914240978535477248},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-11 13:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327719424001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:51:17] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-11 13:51:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11581804515426304,"km_value":11581804515426.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1914240978535477248,"description":"Unknown IO ID 45"} 
[2026-08-11 13:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327719424001,"power":14243,"unknown_112":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1914240978535477248}} 
[2026-08-11 13:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":154903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:51:17] local.INFO: GPS data processed {"connection_id":154903,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:51:17] local.INFO: Acknowledgment sent {"connection_id":154903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:51:19] local.INFO: TCP Data received {"connection_id":152205,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:51:19] local.INFO: Processing buffer {"connection_id":152205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:51:19] local.INFO: IMEI packet received {"connection_id":152205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":152205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:51:24] local.INFO: TCP Data received {"connection_id":152205,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:51:24] local.INFO: Processing buffer {"connection_id":152205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:51:24] local.INFO: IMEI packet received {"connection_id":152205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":152205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:51:25] local.INFO: TCP Data received {"connection_id":152205,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:51:25] local.INFO: Processing buffer {"connection_id":152205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:51:25] local.INFO: Packet analysis {"connection_id":152205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:51:25] local.INFO: Extracted packet for processing {"connection_id":152205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:51:25] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327603968001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786436257000,"timestamp_ms":1786436257000,"timestamp_seconds":1786436257,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe604e8"} 
[2026-08-11 13:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 13:51:25] 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-08-11 13: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-08-11 13:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:51:25] 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-08-11 13:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327603968001,"66":26158,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327603968001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:51:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:51:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327603968001,"power":26158,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":152205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:51:25] local.INFO: GPS data processed {"connection_id":152205,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:51:25] local.INFO: Acknowledgment sent {"connection_id":152205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:51:48] local.INFO: TCP Data received {"connection_id":154903,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe89140012d1a63000723ff18002900e02b..."} 
[2026-08-11 13:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe89140012d1a63000723ff18002900e02b..."} 
[2026-08-11 13:51:48] local.INFO: Processing buffer {"connection_id":154903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe89140012d1a63000723ff18002900e02b..."} 
[2026-08-11 13:51:48] local.INFO: Packet analysis {"connection_id":154903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe8"} 
[2026-08-11 13:51:48] local.INFO: Extracted packet for processing {"connection_id":154903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe8"} 
[2026-08-11 13:51:48] local.INFO: GPS Element Parsed {"raw_longitude":756704000,"raw_latitude":119799576,"longitude_deg":75.6704,"latitude_deg":11.9799576,"altitude":41,"angle":224,"satellites":43,"speed":27,"hex_longitude":"2d1a6300","hex_latitude":"0723ff18","is_valid_coordinates":true} 
[2026-08-11 13:51: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-08-11 13:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327723008001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582002083921920,"note":"Value kept but may cause issues"} 
[2026-08-11 13:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904881935558705152,"note":"Value kept but may cause issues"} 
[2026-08-11 13:51:48] 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-08-11 13:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786436424000,"timestamp_ms":1786436424000,"timestamp_seconds":1786436424,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe89140"} 
[2026-08-11 13:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:51:48] 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-08-11 13:51: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-11 13:51:48] 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-08-11 13:51: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-08-11 13:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327723008001,"66":14211,"112":206,"28":31744,"24":27,"16":11582002083921920,"45":1904881935558705152},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-11 13:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327723008001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:51:48] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-11 13:51:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582002083921920,"km_value":11582002083921.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904881935558705152,"description":"Unknown IO ID 45"} 
[2026-08-11 13:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327723008001,"power":14211,"unknown_112":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1904881935558705152}} 
[2026-08-11 13:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":154903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:51:48] local.INFO: GPS data processed {"connection_id":154903,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:51:48] local.INFO: Acknowledgment sent {"connection_id":154903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:51:59] local.INFO: TCP Data received {"connection_id":152205,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:51:59] local.INFO: Processing buffer {"connection_id":152205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:51:59] local.INFO: Packet analysis {"connection_id":152205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:51:59] local.INFO: Extracted packet for processing {"connection_id":152205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:51:59] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13:51: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-08-11 13:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327603968001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786436257000,"timestamp_ms":1786436257000,"timestamp_seconds":1786436257,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe604e8"} 
[2026-08-11 13:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13:51: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":26,"data_length":795,"current_offset":136} 
[2026-08-11 13:51:59] 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-08-11 13:51: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-08-11 13:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:51:59] 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-08-11 13:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327603968001,"66":26158,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327603968001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:51:59] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:51:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327603968001,"power":26158,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":152205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:51:59] local.INFO: GPS data processed {"connection_id":152205,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:51:59] local.INFO: Acknowledgment sent {"connection_id":152205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:52:10] local.INFO: TCP Data received {"connection_id":152581,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:52:10] local.INFO: Processing buffer {"connection_id":152581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:52:10] local.INFO: IMEI packet received {"connection_id":152581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":152581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:52:19] local.INFO: TCP Data received {"connection_id":152581,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:52:19] local.INFO: Processing buffer {"connection_id":152581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:52:19] local.INFO: IMEI packet received {"connection_id":152581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":152581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:52:24] local.INFO: TCP Data received {"connection_id":153526,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:52:24] local.INFO: Processing buffer {"connection_id":153526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:52:24] local.INFO: IMEI packet received {"connection_id":153526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":153526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:52:29] local.INFO: TCP Data received {"connection_id":152581,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe8b080012d1a56000723ef40002b00d329..."} 
[2026-08-11 13:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe8b080012d1a56000723ef40002b00d329..."} 
[2026-08-11 13:52:29] local.INFO: Processing buffer {"connection_id":152581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe8b080012d1a56000723ef40002b00d329..."} 
[2026-08-11 13:52:29] local.INFO: Packet analysis {"connection_id":152581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe8"} 
[2026-08-11 13:52:29] local.INFO: Extracted packet for processing {"connection_id":152581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe8"} 
[2026-08-11 13:52:29] local.INFO: GPS Element Parsed {"raw_longitude":756700672,"raw_latitude":119795520,"longitude_deg":75.6700672,"latitude_deg":11.979552,"altitude":43,"angle":211,"satellites":41,"speed":28,"hex_longitude":"2d1a5600","hex_latitude":"0723ef40","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327724544001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582255486992384,"note":"Value kept but may cause issues"} 
[2026-08-11 13:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901363498349172736,"note":"Value kept but may cause issues"} 
[2026-08-11 13:52: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-08-11 13:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786436432000,"timestamp_ms":1786436432000,"timestamp_seconds":1786436432,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe8b080"} 
[2026-08-11 13:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:52:29] 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-08-11 13: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 13:52:29] 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-08-11 13: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-08-11 13:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327724544001,"66":14189,"112":206,"28":31744,"24":28,"16":11582255486992384,"45":1901363498349172736},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-11 13:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327724544001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:52:29] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-11 13:52:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582255486992384,"km_value":11582255486992.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901363498349172736,"description":"Unknown IO ID 45"} 
[2026-08-11 13:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327724544001,"power":14189,"unknown_112":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1901363498349172736}} 
[2026-08-11 13:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":152581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:52:29] local.INFO: GPS data processed {"connection_id":152581,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:52:29] local.INFO: Acknowledgment sent {"connection_id":152581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:52:29] local.INFO: TCP Data received {"connection_id":153526,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:52:29] local.INFO: Processing buffer {"connection_id":153526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:52:29] local.INFO: IMEI packet received {"connection_id":153526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":153526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:52:31] local.INFO: TCP Data received {"connection_id":153526,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:52:31] local.INFO: Processing buffer {"connection_id":153526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:52:31] local.INFO: Packet analysis {"connection_id":153526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:52:31] local.INFO: Extracted packet for processing {"connection_id":153526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:52:31] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13:52: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-08-11 13:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327603968001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786436257000,"timestamp_ms":1786436257000,"timestamp_seconds":1786436257,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe604e8"} 
[2026-08-11 13:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13:52: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 13:52:31] 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-08-11 13:52: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-08-11 13:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:52:31] 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-08-11 13:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327603968001,"66":26158,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327603968001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:52:31] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:52:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327603968001,"power":26158,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":153526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:52:31] local.INFO: GPS data processed {"connection_id":153526,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:52:31] local.INFO: Acknowledgment sent {"connection_id":153526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:52:35] local.INFO: TCP Data received {"connection_id":153526,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:52:35] local.INFO: Processing buffer {"connection_id":153526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe604e8012db62e4005cae848001a014d29..."} 
[2026-08-11 13:52:35] local.INFO: Packet analysis {"connection_id":153526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:52:35] local.INFO: Extracted packet for processing {"connection_id":153526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe6"} 
[2026-08-11 13:52:35] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327603968001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185092093952,"note":"Value kept but may cause issues"} 
[2026-08-11 13:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786436257000,"timestamp_ms":1786436257000,"timestamp_seconds":1786436257,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe604e8"} 
[2026-08-11 13:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":26,"data_length":795,"current_offset":136} 
[2026-08-11 13:52: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-08-11 13: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-08-11 13:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:52:35] 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-08-11 13:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327603968001,"66":26158,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318188185092093952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327603968001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:52:35] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185092093952,"description":"Unknown IO ID 45"} 
[2026-08-11 13:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327603968001,"power":26158,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185092093952}} 
[2026-08-11 13:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":153526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:52:35] local.INFO: GPS data processed {"connection_id":153526,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:52:35] local.INFO: Acknowledgment sent {"connection_id":153526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:53:15] local.INFO: TCP Data received {"connection_id":153527,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:53:15] local.INFO: Processing buffer {"connection_id":153527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:53:15] local.INFO: IMEI packet received {"connection_id":153527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":153527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:53:16] local.INFO: TCP Data received {"connection_id":152206,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:53:16] local.INFO: Processing buffer {"connection_id":152206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:53:16] local.INFO: IMEI packet received {"connection_id":152206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":152206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:53:18] local.INFO: TCP Data received {"connection_id":153527,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:53:18] local.INFO: Processing buffer {"connection_id":153527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:53:18] local.INFO: IMEI packet received {"connection_id":153527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":153527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:53:20] local.INFO: TCP Data received {"connection_id":152206,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:53:20] local.INFO: Processing buffer {"connection_id":152206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:53:20] local.INFO: IMEI packet received {"connection_id":152206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":152206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:53:24] local.INFO: TCP Data received {"connection_id":152206,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:53:24] local.INFO: Processing buffer {"connection_id":152206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:53:24] local.INFO: IMEI packet received {"connection_id":152206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":152206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:53:25] local.INFO: TCP Data received {"connection_id":152206,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:53:25] local.INFO: Processing buffer {"connection_id":152206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:53:25] local.INFO: Packet analysis {"connection_id":152206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:53:25] local.INFO: Extracted packet for processing {"connection_id":152206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:53:25] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327681792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319243716254742528,"note":"Value kept but may cause issues"} 
[2026-08-11 13:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786436558000,"timestamp_ms":1786436558000,"timestamp_seconds":1786436558,"priority":1,"record_length":96,"hex_timestamp":"0000019fefea9cb0"} 
[2026-08-11 13:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 13:53:25] 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-08-11 13: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-08-11 13:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:53:25] 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-08-11 13:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327681792001,"66":25995,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319243716254742528},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327681792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:53:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:53:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319243716254742528,"description":"Unknown IO ID 45"} 
[2026-08-11 13:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327681792001,"power":25995,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319243716254742528}} 
[2026-08-11 13:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":152206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:53:25] local.INFO: GPS data processed {"connection_id":152206,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:53:25] local.INFO: Acknowledgment sent {"connection_id":152206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:53:30] local.INFO: TCP Data received {"connection_id":153527,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefe9f8a0012d196d4007238a18004200dd22..."} 
[2026-08-11 13:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefe9f8a0012d196d4007238a18004200dd22..."} 
[2026-08-11 13:53:30] local.INFO: Processing buffer {"connection_id":153527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefe9f8a0012d196d4007238a18004200dd22..."} 
[2026-08-11 13:53:30] local.INFO: Packet analysis {"connection_id":153527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefe9"} 
[2026-08-11 13:53:30] local.INFO: Extracted packet for processing {"connection_id":153527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefe9"} 
[2026-08-11 13:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756641088,"raw_latitude":119769624,"longitude_deg":75.6641088,"latitude_deg":11.9769624,"altitude":66,"angle":221,"satellites":34,"speed":27,"hex_longitude":"2d196d40","hex_latitude":"07238a18","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327747072001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11585545431941120,"note":"Value kept but may cause issues"} 
[2026-08-11 13:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834583560117350400,"note":"Value kept but may cause issues"} 
[2026-08-11 13:53: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-08-11 13:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786436516000,"timestamp_ms":1786436516000,"timestamp_seconds":1786436516,"priority":1,"record_length":96,"hex_timestamp":"0000019fefe9f8a0"} 
[2026-08-11 13:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:53: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-08-11 13: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-11 13:53:30] 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-08-11 13: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-08-11 13:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327747072001,"66":14048,"112":206,"28":31744,"24":27,"16":11585545431941120,"45":1834583560117350400},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-11 13:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327747072001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:53:30] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-11 13:53:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11585545431941120,"km_value":11585545431941.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834583560117350400,"description":"Unknown IO ID 45"} 
[2026-08-11 13:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327747072001,"power":14048,"unknown_112":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1834583560117350400}} 
[2026-08-11 13:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":153527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:53:30] local.INFO: GPS data processed {"connection_id":153527,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:53:30] local.INFO: Acknowledgment sent {"connection_id":153527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:53:32] local.INFO: TCP Data received {"connection_id":153527,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefea17e0012d195fc007237790004400d220..."} 
[2026-08-11 13:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefea17e0012d195fc007237790004400d220..."} 
[2026-08-11 13:53:32] local.INFO: Processing buffer {"connection_id":153527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefea17e0012d195fc007237790004400d220..."} 
[2026-08-11 13:53:32] local.INFO: Packet analysis {"connection_id":153527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:53:32] local.INFO: Extracted packet for processing {"connection_id":153527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119764880,"longitude_deg":75.6637632,"latitude_deg":11.976488,"altitude":68,"angle":210,"satellites":32,"speed":30,"hex_longitude":"2d195fc0","hex_latitude":"07237790","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327748096001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11585828899782656,"note":"Value kept but may cause issues"} 
[2026-08-11 13:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832191022814861312,"note":"Value kept but may cause issues"} 
[2026-08-11 13:53:32] 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-08-11 13:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786436524000,"timestamp_ms":1786436524000,"timestamp_seconds":1786436524,"priority":1,"record_length":96,"hex_timestamp":"0000019fefea17e0"} 
[2026-08-11 13:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:53:32] 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-08-11 13: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-11 13:53:32] 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-08-11 13: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-08-11 13:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":153527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":153527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":153527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327748096001,"66":14048,"112":206,"28":31744,"24":30,"16":11585828899782656,"45":1832191022814861312},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-11 13:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327748096001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:53:32] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-11 13:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11585828899782656,"km_value":11585828899782.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832191022814861312,"description":"Unknown IO ID 45"} 
[2026-08-11 13:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327748096001,"power":14048,"unknown_112":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1832191022814861312}} 
[2026-08-11 13:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":153527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:53:32] local.INFO: GPS data processed {"connection_id":153527,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:53:32] local.INFO: Acknowledgment sent {"connection_id":153527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:53:58] local.INFO: TCP Data received {"connection_id":152206,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:53:58] local.INFO: Processing buffer {"connection_id":152206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:53:58] local.INFO: Packet analysis {"connection_id":152206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:53:58] local.INFO: Extracted packet for processing {"connection_id":152206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:53:58] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327681792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319243716254742528,"note":"Value kept but may cause issues"} 
[2026-08-11 13:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786436558000,"timestamp_ms":1786436558000,"timestamp_seconds":1786436558,"priority":1,"record_length":96,"hex_timestamp":"0000019fefea9cb0"} 
[2026-08-11 13:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 13:53:58] 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-08-11 13: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-08-11 13:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:53:58] 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-08-11 13:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327681792001,"66":25995,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319243716254742528},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327681792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:53:58] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:53:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319243716254742528,"description":"Unknown IO ID 45"} 
[2026-08-11 13:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327681792001,"power":25995,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319243716254742528}} 
[2026-08-11 13:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":152206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:53:58] local.INFO: GPS data processed {"connection_id":152206,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:53:58] local.INFO: Acknowledgment sent {"connection_id":152206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:54:11] local.INFO: TCP Data received {"connection_id":152207,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:54:11] local.INFO: Processing buffer {"connection_id":152207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:54:11] local.INFO: IMEI packet received {"connection_id":152207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":152207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:54:11] local.INFO: TCP Data received {"connection_id":152207,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:54:11] local.INFO: Processing buffer {"connection_id":152207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:54:11] local.INFO: IMEI packet received {"connection_id":152207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":152207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:54:15] local.INFO: TCP Data received {"connection_id":152207,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:54:15] local.INFO: Processing buffer {"connection_id":152207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:54:15] local.INFO: IMEI packet received {"connection_id":152207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":152207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:54:17] local.INFO: TCP Data received {"connection_id":152207,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefeb2d38012d18c400072303300061010027..."} 
[2026-08-11 13:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefeb2d38012d18c400072303300061010027..."} 
[2026-08-11 13:54:17] local.INFO: Processing buffer {"connection_id":152207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefeb2d38012d18c400072303300061010027..."} 
[2026-08-11 13:54:17] local.INFO: Packet analysis {"connection_id":152207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefeb"} 
[2026-08-11 13:54:17] local.INFO: Extracted packet for processing {"connection_id":152207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefeb"} 
[2026-08-11 13:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119735088,"longitude_deg":75.659776,"latitude_deg":11.9735088,"altitude":97,"angle":256,"satellites":39,"speed":30,"hex_longitude":"2d18c400","hex_latitude":"07230330","is_valid_coordinates":true} 
[2026-08-11 13:54: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-08-11 13:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327767808001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11588547614081024,"note":"Value kept but may cause issues"} 
[2026-08-11 13:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786240232858040320,"note":"Value kept but may cause issues"} 
[2026-08-11 13:54:17] 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-08-11 13:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786436595000,"timestamp_ms":1786436595000,"timestamp_seconds":1786436595,"priority":1,"record_length":96,"hex_timestamp":"0000019fefeb2d38"} 
[2026-08-11 13:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:54:17] 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-08-11 13:54: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-11 13:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454496768,"note":"Value kept but may cause issues"} 
[2026-08-11 13:54:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4025143160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:54:17] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":26624,"corrected_to":0} 
[2026-08-11 13:54:17] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":34817,"corrected_to":0} 
[2026-08-11 13:54:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-08-11 13:54:17] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247847,"note":"Value kept but may cause issues"} 
[2026-08-11 13:54:17] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,112,28,24,241,158,16,43,159,254,45,192,247,93,35,10,66,246,245,92,34,238,64,1,240,231,239,4,113,205,32,223,33,54,2,41,7,88],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":247,"original":26624,"validated":0},{"io_id":246,"original":34817,"validated":0},{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-08-11 13:54:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6917831556549509120,"timestamp_seconds":6917831556549509.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 13:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327767808001,"66":14004,"112":206,"28":31744,"24":30,"16":11588547614081024,"45":1786240232858040320},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-11 13:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327767808001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:54:17] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-11 13:54:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11588547614081024,"km_value":11588547614081.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786240232858040320,"description":"Unknown IO ID 45"} 
[2026-08-11 13:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327767808001,"power":14004,"unknown_112":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1786240232858040320}} 
[2026-08-11 13:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":152207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:54:17] local.INFO: GPS data processed {"connection_id":152207,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:54:17] local.INFO: Acknowledgment sent {"connection_id":152207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:54:20] local.INFO: TCP Data received {"connection_id":152208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:54:20] local.INFO: Processing buffer {"connection_id":152208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:54:20] local.INFO: IMEI packet received {"connection_id":152208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":152208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:54:24] local.INFO: TCP Data received {"connection_id":152208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:54:24] local.INFO: Processing buffer {"connection_id":152208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:54:24] local.INFO: IMEI packet received {"connection_id":152208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":152208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:54:25] local.INFO: TCP Data received {"connection_id":152208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:54:25] local.INFO: Processing buffer {"connection_id":152208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:54:25] local.INFO: Packet analysis {"connection_id":152208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:54:25] local.INFO: Extracted packet for processing {"connection_id":152208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:54:25] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327681792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319243716254742528,"note":"Value kept but may cause issues"} 
[2026-08-11 13:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786436558000,"timestamp_ms":1786436558000,"timestamp_seconds":1786436558,"priority":1,"record_length":96,"hex_timestamp":"0000019fefea9cb0"} 
[2026-08-11 13:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 13:54:25] 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-08-11 13: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-08-11 13:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327681792001,"66":25995,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319243716254742528},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327681792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:54:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:54:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319243716254742528,"description":"Unknown IO ID 45"} 
[2026-08-11 13:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327681792001,"power":25995,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319243716254742528}} 
[2026-08-11 13:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":152208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:54:25] local.INFO: GPS data processed {"connection_id":152208,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:54:25] local.INFO: Acknowledgment sent {"connection_id":152208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:54:48] local.INFO: TCP Data received {"connection_id":152207,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefeb3508012d18be80072300b8006200ec26..."} 
[2026-08-11 13:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefeb3508012d18be80072300b8006200ec26..."} 
[2026-08-11 13:54:48] local.INFO: Processing buffer {"connection_id":152207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefeb3508012d18be80072300b8006200ec26..."} 
[2026-08-11 13:54:48] local.INFO: Packet analysis {"connection_id":152207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefeb"} 
[2026-08-11 13:54:48] local.INFO: Extracted packet for processing {"connection_id":152207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefeb"} 
[2026-08-11 13:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756596352,"raw_latitude":119734456,"longitude_deg":75.6596352,"latitude_deg":11.9734456,"altitude":98,"angle":236,"satellites":38,"speed":30,"hex_longitude":"2d18be80","hex_latitude":"072300b8","is_valid_coordinates":true} 
[2026-08-11 13:54: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-08-11 13:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327768320001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11588620628525056,"note":"Value kept but may cause issues"} 
[2026-08-11 13:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382997741568,"note":"Value kept but may cause issues"} 
[2026-08-11 13:54:48] 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-08-11 13:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786436597000,"timestamp_ms":1786436597000,"timestamp_seconds":1786436597,"priority":1,"record_length":96,"hex_timestamp":"0000019fefeb3508"} 
[2026-08-11 13:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:54:48] 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-08-11 13:54: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":180,"data_length":795,"current_offset":136} 
[2026-08-11 13:54:48] 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-08-11 13:54: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-08-11 13:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327768320001,"66":13993,"112":206,"28":31744,"24":30,"16":11588620628525056,"45":1784551382997741568},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-11 13:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327768320001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:54:48] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-11 13:54:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11588620628525056,"km_value":11588620628525.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382997741568,"description":"Unknown IO ID 45"} 
[2026-08-11 13:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327768320001,"power":13993,"unknown_112":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1784551382997741568}} 
[2026-08-11 13:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":152207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:54:48] local.INFO: GPS data processed {"connection_id":152207,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:54:48] local.INFO: Acknowledgment sent {"connection_id":152207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:54:56] local.INFO: TCP Data received {"connection_id":152208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:54:56] local.INFO: Processing buffer {"connection_id":152208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:54:56] local.INFO: Packet analysis {"connection_id":152208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:54:56] local.INFO: Extracted packet for processing {"connection_id":152208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:54:56] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327681792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319243716254742528,"note":"Value kept but may cause issues"} 
[2026-08-11 13:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786436558000,"timestamp_ms":1786436558000,"timestamp_seconds":1786436558,"priority":1,"record_length":96,"hex_timestamp":"0000019fefea9cb0"} 
[2026-08-11 13:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 13:54:56] 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-08-11 13: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-08-11 13:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327681792001,"66":25995,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319243716254742528},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327681792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:54:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:54:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319243716254742528,"description":"Unknown IO ID 45"} 
[2026-08-11 13:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327681792001,"power":25995,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319243716254742528}} 
[2026-08-11 13:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":152208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:54:56] local.INFO: GPS data processed {"connection_id":152208,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:54:56] local.INFO: Acknowledgment sent {"connection_id":152208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:55:10] local.INFO: TCP Data received {"connection_id":152582,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:55:10] local.INFO: Processing buffer {"connection_id":152582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:55:10] local.INFO: IMEI packet received {"connection_id":152582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":152582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:55:15] local.INFO: TCP Data received {"connection_id":152582,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:55:15] local.INFO: Processing buffer {"connection_id":152582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:55:15] local.INFO: IMEI packet received {"connection_id":152582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":152582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:55:16] local.INFO: TCP Data received {"connection_id":152582,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefec0be0012d1889c0072249e8005b00d428..."} 
[2026-08-11 13:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefec0be0012d1889c0072249e8005b00d428..."} 
[2026-08-11 13:55:16] local.INFO: Processing buffer {"connection_id":152582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefec0be0012d1889c0072249e8005b00d428..."} 
[2026-08-11 13:55:16] local.INFO: Packet analysis {"connection_id":152582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefec"} 
[2026-08-11 13:55:16] local.INFO: Extracted packet for processing {"connection_id":152582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefec"} 
[2026-08-11 13:55:16] local.INFO: GPS Element Parsed {"raw_longitude":756582848,"raw_latitude":119687656,"longitude_deg":75.6582848,"latitude_deg":11.9687656,"altitude":91,"angle":212,"satellites":40,"speed":49,"hex_longitude":"2d1889c0","hex_latitude":"072249e8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327780864001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11591073054851072,"note":"Value kept but may cause issues"} 
[2026-08-11 13:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774066440105279488,"note":"Value kept but may cause issues"} 
[2026-08-11 13:55:16] 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-08-11 13:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786436652000,"timestamp_ms":1786436652000,"timestamp_seconds":1786436652,"priority":1,"record_length":96,"hex_timestamp":"0000019fefec0be0"} 
[2026-08-11 13:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:55: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-08-11 13: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-11 13:55: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-08-11 13: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-08-11 13:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327780864001,"66":13656,"120":206,"28":31744,"24":49,"16":11591073054851072,"45":1774066440105279488},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-11 13:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327780864001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:55:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 13:55:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11591073054851072,"km_value":11591073054851.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774066440105279488,"description":"Unknown IO ID 45"} 
[2026-08-11 13:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327780864001,"power":13656,"unknown_120":206,"unknown_28":31744,"ignition":49,"odometer":null,"unknown_45":1774066440105279488}} 
[2026-08-11 13:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":152582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:55:16] local.INFO: GPS data processed {"connection_id":152582,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:55:16] local.INFO: Acknowledgment sent {"connection_id":152582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:55:24] local.INFO: TCP Data received {"connection_id":152209,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:55:24] local.INFO: Processing buffer {"connection_id":152209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:55:24] local.INFO: IMEI packet received {"connection_id":152209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":152209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:55:29] local.INFO: TCP Data received {"connection_id":152209,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:55:29] local.INFO: Processing buffer {"connection_id":152209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:55:29] local.INFO: IMEI packet received {"connection_id":152209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":152209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:55:30] local.INFO: TCP Data received {"connection_id":152209,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:55:30] local.INFO: Processing buffer {"connection_id":152209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:55:30] local.INFO: Packet analysis {"connection_id":152209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:55:30] local.INFO: Extracted packet for processing {"connection_id":152209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:55:30] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327681792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319243716254742528,"note":"Value kept but may cause issues"} 
[2026-08-11 13:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786436558000,"timestamp_ms":1786436558000,"timestamp_seconds":1786436558,"priority":1,"record_length":96,"hex_timestamp":"0000019fefea9cb0"} 
[2026-08-11 13:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 13:55:30] 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-08-11 13: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-08-11 13:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:55:30] 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-08-11 13:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327681792001,"66":25995,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319243716254742528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327681792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:55:30] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319243716254742528,"description":"Unknown IO ID 45"} 
[2026-08-11 13:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327681792001,"power":25995,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319243716254742528}} 
[2026-08-11 13:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":152209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:55:30] local.INFO: GPS data processed {"connection_id":152209,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:55:30] local.INFO: Acknowledgment sent {"connection_id":152209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:55:44] local.INFO: TCP Data received {"connection_id":152209,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:55:44] local.INFO: Processing buffer {"connection_id":152209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:55:44] local.INFO: Packet analysis {"connection_id":152209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:55:44] local.INFO: Extracted packet for processing {"connection_id":152209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:55:44] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327681792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319243716254742528,"note":"Value kept but may cause issues"} 
[2026-08-11 13:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786436558000,"timestamp_ms":1786436558000,"timestamp_seconds":1786436558,"priority":1,"record_length":96,"hex_timestamp":"0000019fefea9cb0"} 
[2026-08-11 13:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 13:55:44] 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-08-11 13: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-08-11 13:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:55:44] 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-08-11 13:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327681792001,"66":25995,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319243716254742528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327681792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:55:44] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:55:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319243716254742528,"description":"Unknown IO ID 45"} 
[2026-08-11 13:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327681792001,"power":25995,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319243716254742528}} 
[2026-08-11 13:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":152209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:55:44] local.INFO: GPS data processed {"connection_id":152209,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:55:44] local.INFO: Acknowledgment sent {"connection_id":152209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:55:47] local.INFO: TCP Data received {"connection_id":152582,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefec2b20012d18748007222930005700d525..."} 
[2026-08-11 13:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefec2b20012d18748007222930005700d525..."} 
[2026-08-11 13:55:47] local.INFO: Processing buffer {"connection_id":152582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefec2b20012d18748007222930005700d525..."} 
[2026-08-11 13:55:47] local.INFO: Packet analysis {"connection_id":152582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefec"} 
[2026-08-11 13:55:47] local.INFO: Extracted packet for processing {"connection_id":152582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefec"} 
[2026-08-11 13:55:47] local.INFO: GPS Element Parsed {"raw_longitude":756577408,"raw_latitude":119679280,"longitude_deg":75.6577408,"latitude_deg":11.967928,"altitude":87,"angle":213,"satellites":37,"speed":49,"hex_longitude":"2d187480","hex_latitude":"07222930","is_valid_coordinates":true} 
[2026-08-11 13:55: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-08-11 13:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327782912001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11591558386155520,"note":"Value kept but may cause issues"} 
[2026-08-11 13:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768155465592203264,"note":"Value kept but may cause issues"} 
[2026-08-11 13:55:47] 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-08-11 13:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786436660000,"timestamp_ms":1786436660000,"timestamp_seconds":1786436660,"priority":1,"record_length":96,"hex_timestamp":"0000019fefec2b20"} 
[2026-08-11 13:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:55:47] 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-08-11 13: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-11 13:55: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-08-11 13: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-08-11 13:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327782912001,"66":14102,"120":206,"28":31744,"24":49,"16":11591558386155520,"45":1768155465592203264},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-11 13:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327782912001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:55:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 13:55:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11591558386155520,"km_value":11591558386155.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768155465592203264,"description":"Unknown IO ID 45"} 
[2026-08-11 13:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327782912001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":49,"odometer":null,"unknown_45":1768155465592203264}} 
[2026-08-11 13:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":152582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:55:47] local.INFO: GPS data processed {"connection_id":152582,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:55:47] local.INFO: Acknowledgment sent {"connection_id":152582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:56:10] local.INFO: TCP Data received {"connection_id":154904,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:56:10] local.INFO: Processing buffer {"connection_id":154904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:56:10] local.INFO: IMEI packet received {"connection_id":154904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":154904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:56:11] local.INFO: TCP Data received {"connection_id":154904,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:56:11] local.INFO: Processing buffer {"connection_id":154904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:56:11] local.INFO: IMEI packet received {"connection_id":154904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":154904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:56:16] local.INFO: TCP Data received {"connection_id":154904,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:56:16] local.INFO: Processing buffer {"connection_id":154904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:56:16] local.INFO: IMEI packet received {"connection_id":154904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":154904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:56:17] local.INFO: TCP Data received {"connection_id":154904,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefec4a60012d185e0007220900005300d527..."} 
[2026-08-11 13:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefec4a60012d185e0007220900005300d527..."} 
[2026-08-11 13:56:17] local.INFO: Processing buffer {"connection_id":154904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefec4a60012d185e0007220900005300d527..."} 
[2026-08-11 13:56:17] local.INFO: Packet analysis {"connection_id":154904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefec"} 
[2026-08-11 13:56:17] local.INFO: Extracted packet for processing {"connection_id":154904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefec"} 
[2026-08-11 13:56:17] local.INFO: GPS Element Parsed {"raw_longitude":756571648,"raw_latitude":119671040,"longitude_deg":75.6571648,"latitude_deg":11.967104,"altitude":83,"angle":213,"satellites":39,"speed":50,"hex_longitude":"2d185e00","hex_latitude":"07220900","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327784960001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11592039422492672,"note":"Value kept but may cause issues"} 
[2026-08-11 13:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762174122334957568,"note":"Value kept but may cause issues"} 
[2026-08-11 13:56:17] 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-08-11 13:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786436668000,"timestamp_ms":1786436668000,"timestamp_seconds":1786436668,"priority":1,"record_length":96,"hex_timestamp":"0000019fefec4a60"} 
[2026-08-11 13:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:56:17] 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-08-11 13: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 13:56:17] 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-08-11 13: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-08-11 13:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327784960001,"66":14374,"120":206,"28":31744,"24":50,"16":11592039422492672,"45":1762174122334957568},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-11 13:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327784960001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:56:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 13:56:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11592039422492672,"km_value":11592039422492.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762174122334957568,"description":"Unknown IO ID 45"} 
[2026-08-11 13:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327784960001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":1762174122334957568}} 
[2026-08-11 13:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":154904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:56:17] local.INFO: GPS data processed {"connection_id":154904,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:56:17] local.INFO: Acknowledgment sent {"connection_id":154904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:56:19] local.INFO: TCP Data received {"connection_id":153528,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:56:19] local.INFO: Processing buffer {"connection_id":153528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:56:19] local.INFO: IMEI packet received {"connection_id":153528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":153528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:56:24] local.INFO: TCP Data received {"connection_id":153528,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:56:24] local.INFO: Processing buffer {"connection_id":153528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:56:24] local.INFO: IMEI packet received {"connection_id":153528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":153528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:56:25] local.INFO: TCP Data received {"connection_id":153528,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:56:25] local.INFO: Processing buffer {"connection_id":153528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:56:25] local.INFO: Packet analysis {"connection_id":153528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:56:25] local.INFO: Extracted packet for processing {"connection_id":153528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:56:25] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327681792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319243716254742528,"note":"Value kept but may cause issues"} 
[2026-08-11 13:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786436558000,"timestamp_ms":1786436558000,"timestamp_seconds":1786436558,"priority":1,"record_length":96,"hex_timestamp":"0000019fefea9cb0"} 
[2026-08-11 13:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 13:56:25] 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-08-11 13: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-08-11 13:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:56:25] 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-08-11 13:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327681792001,"66":25995,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319243716254742528},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327681792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:56:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:56:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319243716254742528,"description":"Unknown IO ID 45"} 
[2026-08-11 13:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327681792001,"power":25995,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319243716254742528}} 
[2026-08-11 13:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":153528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:56:25] local.INFO: GPS data processed {"connection_id":153528,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:56:25] local.INFO: Acknowledgment sent {"connection_id":153528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:56:48] local.INFO: TCP Data received {"connection_id":154904,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefec69a0012d1848400721e8a0004e00d529..."} 
[2026-08-11 13:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefec69a0012d1848400721e8a0004e00d529..."} 
[2026-08-11 13:56:48] local.INFO: Processing buffer {"connection_id":154904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefec69a0012d1848400721e8a0004e00d529..."} 
[2026-08-11 13:56:48] local.INFO: Packet analysis {"connection_id":154904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefec"} 
[2026-08-11 13:56:48] local.INFO: Extracted packet for processing {"connection_id":154904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefec"} 
[2026-08-11 13:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756566080,"raw_latitude":119662752,"longitude_deg":75.656608,"latitude_deg":11.9662752,"altitude":78,"angle":213,"satellites":41,"speed":46,"hex_longitude":"2d184840","hex_latitude":"0721e8a0","is_valid_coordinates":true} 
[2026-08-11 13:56: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-08-11 13:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327787008001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11592520458829824,"note":"Value kept but may cause issues"} 
[2026-08-11 13:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755840935356858368,"note":"Value kept but may cause issues"} 
[2026-08-11 13:56:48] 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-08-11 13:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786436676000,"timestamp_ms":1786436676000,"timestamp_seconds":1786436676,"priority":1,"record_length":96,"hex_timestamp":"0000019fefec69a0"} 
[2026-08-11 13:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:56:48] 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-08-11 13:56: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 13:56:48] 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-08-11 13:56: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-08-11 13:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327787008001,"66":14374,"120":206,"28":31744,"24":46,"16":11592520458829824,"45":1755840935356858368},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-11 13:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327787008001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:56:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 13:56:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11592520458829824,"km_value":11592520458829.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755840935356858368,"description":"Unknown IO ID 45"} 
[2026-08-11 13:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327787008001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1755840935356858368}} 
[2026-08-11 13:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":154904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:56:49] local.INFO: GPS data processed {"connection_id":154904,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:56:49] local.INFO: Acknowledgment sent {"connection_id":154904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:56:59] local.INFO: TCP Data received {"connection_id":153528,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:56:59] local.INFO: Processing buffer {"connection_id":153528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:56:59] local.INFO: Packet analysis {"connection_id":153528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:56:59] local.INFO: Extracted packet for processing {"connection_id":153528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:56:59] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327681792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319243716254742528,"note":"Value kept but may cause issues"} 
[2026-08-11 13:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786436558000,"timestamp_ms":1786436558000,"timestamp_seconds":1786436558,"priority":1,"record_length":96,"hex_timestamp":"0000019fefea9cb0"} 
[2026-08-11 13:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 13:56:59] 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-08-11 13: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-08-11 13:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:56:59] 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-08-11 13:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327681792001,"66":25995,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319243716254742528},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327681792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:56:59] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:56:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319243716254742528,"description":"Unknown IO ID 45"} 
[2026-08-11 13:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327681792001,"power":25995,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319243716254742528}} 
[2026-08-11 13:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":153528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:56:59] local.INFO: GPS data processed {"connection_id":153528,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:56:59] local.INFO: Acknowledgment sent {"connection_id":153528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:57:14] local.INFO: TCP Data received {"connection_id":152583,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:57:14] local.INFO: Processing buffer {"connection_id":152583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:57:14] local.INFO: IMEI packet received {"connection_id":152583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":152583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:57:15] local.INFO: TCP Data received {"connection_id":152583,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:57:15] local.INFO: Processing buffer {"connection_id":152583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:57:15] local.INFO: IMEI packet received {"connection_id":152583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":152583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:57:19] local.INFO: TCP Data received {"connection_id":152210,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:57:19] local.INFO: Processing buffer {"connection_id":152210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:57:19] local.INFO: IMEI packet received {"connection_id":152210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":152210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:57:20] local.INFO: TCP Data received {"connection_id":152583,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:57:20] local.INFO: Processing buffer {"connection_id":152583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:57:20] local.INFO: IMEI packet received {"connection_id":152583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":152583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:57:21] local.INFO: TCP Data received {"connection_id":152583,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefedec58012d17be0007210708003500a12a..."} 
[2026-08-11 13:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefedec58012d17be0007210708003500a12a..."} 
[2026-08-11 13:57:21] local.INFO: Processing buffer {"connection_id":152583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefedec58012d17be0007210708003500a12a..."} 
[2026-08-11 13:57:21] local.INFO: Packet analysis {"connection_id":152583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefed"} 
[2026-08-11 13:57:21] local.INFO: Extracted packet for processing {"connection_id":152583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefed"} 
[2026-08-11 13:57:21] local.INFO: GPS Element Parsed {"raw_longitude":756530688,"raw_latitude":119605000,"longitude_deg":75.6530688,"latitude_deg":11.9605,"altitude":53,"angle":161,"satellites":42,"speed":16,"hex_longitude":"2d17be00","hex_latitude":"07210708","is_valid_coordinates":true} 
[2026-08-11 13:57: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-08-11 13:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327810560001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11595943547764736,"note":"Value kept but may cause issues"} 
[2026-08-11 13:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708060558044493824,"note":"Value kept but may cause issues"} 
[2026-08-11 13:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786436775000,"timestamp_ms":1786436775000,"timestamp_seconds":1786436775,"priority":1,"record_length":96,"hex_timestamp":"0000019fefedec58"} 
[2026-08-11 13:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:57: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-08-11 13:57: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":153,"data_length":795,"current_offset":136} 
[2026-08-11 13:57:21] 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-08-11 13:57: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-08-11 13:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327810560001,"66":14396,"122":206,"28":31744,"24":16,"16":11595943547764736,"45":1708060558044493824},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 13:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327810560001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:57:21] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 13:57:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11595943547764736,"km_value":11595943547764.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708060558044493824,"description":"Unknown IO ID 45"} 
[2026-08-11 13:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327810560001,"power":14396,"unknown_122":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1708060558044493824}} 
[2026-08-11 13:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":152583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:57:22] local.INFO: GPS data processed {"connection_id":152583,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:57:22] local.INFO: Acknowledgment sent {"connection_id":152583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:57:23] local.INFO: TCP Data received {"connection_id":152583,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefee07b0012d17c0c0072100d80036009429..."} 
[2026-08-11 13:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefee07b0012d17c0c0072100d80036009429..."} 
[2026-08-11 13:57:23] local.INFO: Processing buffer {"connection_id":152583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefee07b0012d17c0c0072100d80036009429..."} 
[2026-08-11 13:57:23] local.INFO: Packet analysis {"connection_id":152583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefee"} 
[2026-08-11 13:57:23] local.INFO: Extracted packet for processing {"connection_id":152583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefee"} 
[2026-08-11 13:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756531392,"raw_latitude":119603416,"longitude_deg":75.6531392,"latitude_deg":11.9603416,"altitude":54,"angle":148,"satellites":41,"speed":12,"hex_longitude":"2d17c0c0","hex_latitude":"072100d8","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327814400001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11596029447110656,"note":"Value kept but may cause issues"} 
[2026-08-11 13:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710804939066247168,"note":"Value kept but may cause issues"} 
[2026-08-11 13:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786436782000,"timestamp_ms":1786436782000,"timestamp_seconds":1786436782,"priority":1,"record_length":96,"hex_timestamp":"0000019fefee07b0"} 
[2026-08-11 13:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:57:23] 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-08-11 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 13:57:23] 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-08-11 13: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-08-11 13:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327814400001,"66":14265,"122":206,"28":31744,"24":12,"16":11596029447110656,"45":1710804939066247168},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 13:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327814400001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:57:23] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 13:57:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11596029447110656,"km_value":11596029447110.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710804939066247168,"description":"Unknown IO ID 45"} 
[2026-08-11 13:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327814400001,"power":14265,"unknown_122":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1710804939066247168}} 
[2026-08-11 13:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":152583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:57:23] local.INFO: GPS data processed {"connection_id":152583,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:57:23] local.INFO: Acknowledgment sent {"connection_id":152583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:57:24] local.INFO: TCP Data received {"connection_id":152210,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:57:24] local.INFO: Processing buffer {"connection_id":152210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:57:24] local.INFO: IMEI packet received {"connection_id":152210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":152210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:57:25] local.INFO: TCP Data received {"connection_id":152210,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:57:25] local.INFO: Processing buffer {"connection_id":152210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:57:25] local.INFO: Packet analysis {"connection_id":152210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:57:25] local.INFO: Extracted packet for processing {"connection_id":152210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:57:25] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327681792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319243716254742528,"note":"Value kept but may cause issues"} 
[2026-08-11 13:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786436558000,"timestamp_ms":1786436558000,"timestamp_seconds":1786436558,"priority":1,"record_length":96,"hex_timestamp":"0000019fefea9cb0"} 
[2026-08-11 13:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 13:57:25] 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-08-11 13: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-08-11 13:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:57:25] 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-08-11 13:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327681792001,"66":25995,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319243716254742528},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327681792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:57:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:57:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319243716254742528,"description":"Unknown IO ID 45"} 
[2026-08-11 13:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327681792001,"power":25995,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319243716254742528}} 
[2026-08-11 13:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":152210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:57:25] local.INFO: GPS data processed {"connection_id":152210,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:57:25] local.INFO: Acknowledgment sent {"connection_id":152210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:57:55] local.INFO: TCP Data received {"connection_id":152583,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefee1368012d17c3000720fdd00036008929..."} 
[2026-08-11 13:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefee1368012d17c3000720fdd00036008929..."} 
[2026-08-11 13:57:55] local.INFO: Processing buffer {"connection_id":152583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefee1368012d17c3000720fdd00036008929..."} 
[2026-08-11 13:57:55] local.INFO: Packet analysis {"connection_id":152583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefee"} 
[2026-08-11 13:57:55] local.INFO: Extracted packet for processing {"connection_id":152583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefee"} 
[2026-08-11 13:57:55] local.INFO: GPS Element Parsed {"raw_longitude":756531968,"raw_latitude":119602640,"longitude_deg":75.6531968,"latitude_deg":11.960264,"altitude":54,"angle":137,"satellites":41,"speed":13,"hex_longitude":"2d17c300","hex_latitude":"0720fdd0","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327816192001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11596076691750912,"note":"Value kept but may cause issues"} 
[2026-08-11 13:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1711578995251795968,"note":"Value kept but may cause issues"} 
[2026-08-11 13:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786436785000,"timestamp_ms":1786436785000,"timestamp_seconds":1786436785,"priority":1,"record_length":96,"hex_timestamp":"0000019fefee1368"} 
[2026-08-11 13:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:57: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-08-11 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 13:57: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-08-11 13: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-08-11 13:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327816192001,"66":14341,"122":206,"28":31744,"24":13,"16":11596076691750912,"45":1711578995251795968},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 13:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327816192001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:57:55] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 13:57:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11596076691750912,"km_value":11596076691750.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1711578995251795968,"description":"Unknown IO ID 45"} 
[2026-08-11 13:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327816192001,"power":14341,"unknown_122":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1711578995251795968}} 
[2026-08-11 13:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":152583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:57:55] local.INFO: GPS data processed {"connection_id":152583,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:57:55] local.INFO: Acknowledgment sent {"connection_id":152583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:57:56] local.INFO: TCP Data received {"connection_id":152210,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:57:56] local.INFO: Processing buffer {"connection_id":152210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefea9cb0012db62e4005cae848001a014d29..."} 
[2026-08-11 13:57:56] local.INFO: Packet analysis {"connection_id":152210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:57:56] local.INFO: Extracted packet for processing {"connection_id":152210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefea"} 
[2026-08-11 13:57:56] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327681792001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319243716254742528,"note":"Value kept but may cause issues"} 
[2026-08-11 13:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786436558000,"timestamp_ms":1786436558000,"timestamp_seconds":1786436558,"priority":1,"record_length":96,"hex_timestamp":"0000019fefea9cb0"} 
[2026-08-11 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-08-11 13:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 13:57:56] 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-08-11 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-08-11 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-08-11 13:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:57:56] 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-08-11 13:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327681792001,"66":25995,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319243716254742528},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327681792001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:57:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:57:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319243716254742528,"description":"Unknown IO ID 45"} 
[2026-08-11 13:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327681792001,"power":25995,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319243716254742528}} 
[2026-08-11 13:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":152210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:57:56] local.INFO: GPS data processed {"connection_id":152210,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:57:56] local.INFO: Acknowledgment sent {"connection_id":152210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:58:07] local.INFO: TCP Data received {"connection_id":154905,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:58:07] local.INFO: Processing buffer {"connection_id":154905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:58:07] local.INFO: IMEI packet received {"connection_id":154905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":154905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:58:11] local.INFO: TCP Data received {"connection_id":154905,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:58:11] local.INFO: Processing buffer {"connection_id":154905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:58:11] local.INFO: IMEI packet received {"connection_id":154905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":154905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:58:12] local.INFO: TCP Data received {"connection_id":154905,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:58:12] local.INFO: Processing buffer {"connection_id":154905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:58:12] local.INFO: IMEI packet received {"connection_id":154905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":154905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:58:14] local.INFO: TCP Data received {"connection_id":154905,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefee3a78012d17ca800720f5200034009628..."} 
[2026-08-11 13:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefee3a78012d17ca800720f5200034009628..."} 
[2026-08-11 13:58:14] local.INFO: Processing buffer {"connection_id":154905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefee3a78012d17ca800720f5200034009628..."} 
[2026-08-11 13:58:14] local.INFO: Packet analysis {"connection_id":154905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefee"} 
[2026-08-11 13:58:14] local.INFO: Extracted packet for processing {"connection_id":154905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefee"} 
[2026-08-11 13:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756533888,"raw_latitude":119600416,"longitude_deg":75.6533888,"latitude_deg":11.9600416,"altitude":52,"angle":150,"satellites":40,"speed":10,"hex_longitude":"2d17ca80","hex_latitude":"0720f520","is_valid_coordinates":true} 
[2026-08-11 13:58: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-08-11 13:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327816960001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11596218425671680,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712212313949196288,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786436795000,"timestamp_ms":1786436795000,"timestamp_seconds":1786436795,"priority":1,"record_length":96,"hex_timestamp":"0000019fefee3a78"} 
[2026-08-11 13:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:58:14] 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-08-11 13:58: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 13:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6978268539,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:14] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503776561004544,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84750151184752960,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4025325160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-11 13:58:14] local.WARNING: Large IO value detected {"io_id":169,"raw_value":4026608919,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:14] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3221692698,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:14] local.WARNING: Large IO value detected {"io_id":208,"raw_value":17170884833851392,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:14] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,122,28,24,241,158,16,50,159,7,45,192,54,41,10,66,236,53,42,177,64,1,240,153,239,33,4,113,205,9,169,179,208,56,2,57,39,206],"length":529,"final_offset":659,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-08-11 13:58:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891260887235624960,"timestamp_seconds":3891260887235625.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 13:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327816960001,"66":14341,"122":206,"28":31744,"24":10,"16":11596218425671680,"45":1712212313949196288},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 13:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327816960001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:58:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 13:58:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11596218425671680,"km_value":11596218425671.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712212313949196288,"description":"Unknown IO ID 45"} 
[2026-08-11 13:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327816960001,"power":14341,"unknown_122":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1712212313949196288}} 
[2026-08-11 13:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":154905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:58:14] local.INFO: GPS data processed {"connection_id":154905,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:58:14] local.INFO: Acknowledgment sent {"connection_id":154905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:58:15] local.INFO: TCP Data received {"connection_id":154905,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefee5da0012d17cf000720eb50003400a929..."} 
[2026-08-11 13:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefee5da0012d17cf000720eb50003400a929..."} 
[2026-08-11 13:58:15] local.INFO: Processing buffer {"connection_id":154905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefee5da0012d17cf000720eb50003400a929..."} 
[2026-08-11 13:58:15] local.INFO: Packet analysis {"connection_id":154905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefee"} 
[2026-08-11 13:58:15] local.INFO: Extracted packet for processing {"connection_id":154905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefee"} 
[2026-08-11 13:58:15] local.INFO: GPS Element Parsed {"raw_longitude":756535040,"raw_latitude":119597904,"longitude_deg":75.653504,"latitude_deg":11.9597904,"altitude":52,"angle":169,"satellites":41,"speed":13,"hex_longitude":"2d17cf00","hex_latitude":"0720eb50","is_valid_coordinates":true} 
[2026-08-11 13:58: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-08-11 13:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327819520001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11596351569657856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714323376273956864,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786436804000,"timestamp_ms":1786436804000,"timestamp_seconds":1786436804,"priority":1,"record_length":96,"hex_timestamp":"0000019fefee5da0"} 
[2026-08-11 13:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:58:15] 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-08-11 13:58: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 13:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6978268566,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:15] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503776563232768,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4025330160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-11 13:58:15] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3623955735,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:15] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3221692697,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:15] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2566966759,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:15] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84750060990439715,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:15] local.WARNING: Large IO value detected {"io_id":144,"raw_value":16045014991775488,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:15] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,122,28,24,241,158,16,50,159,19,45,253,54,41,10,66,7,192,236,1,240,60,239,33,4,113,205,11,173,179,224,55,2,56,206,104,144],"length":529,"final_offset":659,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-08-11 13:58:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747159988515766272,"timestamp_seconds":3747159988515766.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 13:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327819520001,"66":14341,"122":206,"28":31744,"24":13,"16":11596351569657856,"45":1714323376273956864},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 13:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327819520001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:58:15] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 13:58:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11596351569657856,"km_value":11596351569657.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714323376273956864,"description":"Unknown IO ID 45"} 
[2026-08-11 13:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327819520001,"power":14341,"unknown_122":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1714323376273956864}} 
[2026-08-11 13:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":154905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:58:15] local.INFO: GPS data processed {"connection_id":154905,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:58:15] local.INFO: Acknowledgment sent {"connection_id":154905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:58:19] local.INFO: TCP Data received {"connection_id":153529,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:58:19] local.INFO: Processing buffer {"connection_id":153529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:58:19] local.INFO: IMEI packet received {"connection_id":153529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":153529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:58:24] local.INFO: TCP Data received {"connection_id":153529,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:58:24] local.INFO: Processing buffer {"connection_id":153529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:58:24] local.INFO: IMEI packet received {"connection_id":153529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":153529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:58:25] local.INFO: TCP Data received {"connection_id":153529,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fefef3478012db62e4005cae848001a014d2a..."} 
[2026-08-11 13:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefef3478012db62e4005cae848001a014d2a..."} 
[2026-08-11 13:58:25] local.INFO: Processing buffer {"connection_id":153529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefef3478012db62e4005cae848001a014d2a..."} 
[2026-08-11 13:58:25] local.INFO: Packet analysis {"connection_id":153529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefef"} 
[2026-08-11 13:58:25] local.INFO: Extracted packet for processing {"connection_id":153529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefef"} 
[2026-08-11 13:58:25] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":42,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327758848001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319243716254742528,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786436859000,"timestamp_ms":1786436859000,"timestamp_seconds":1786436859,"priority":1,"record_length":96,"hex_timestamp":"0000019fefef3478"} 
[2026-08-11 13:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 13:58:25] 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-08-11 13: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-08-11 13:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:58:25] 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-08-11 13:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327758848001,"66":25973,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319243716254742528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327758848001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:58:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:58:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319243716254742528,"description":"Unknown IO ID 45"} 
[2026-08-11 13:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327758848001,"power":25973,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319243716254742528}} 
[2026-08-11 13:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":153529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:58:25] local.INFO: GPS data processed {"connection_id":153529,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:58:25] local.INFO: Acknowledgment sent {"connection_id":153529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:58:46] local.INFO: TCP Data received {"connection_id":154905,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefef8a68012d17b9800720a290002e00a628..."} 
[2026-08-11 13:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefef8a68012d17b9800720a290002e00a628..."} 
[2026-08-11 13:58:46] local.INFO: Processing buffer {"connection_id":154905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefef8a68012d17b9800720a290002e00a628..."} 
[2026-08-11 13:58:46] local.INFO: Packet analysis {"connection_id":154905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefef"} 
[2026-08-11 13:58:46] local.INFO: Extracted packet for processing {"connection_id":154905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefef"} 
[2026-08-11 13:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756529536,"raw_latitude":119579280,"longitude_deg":75.6529536,"latitude_deg":11.957928,"altitude":46,"angle":166,"satellites":40,"speed":9,"hex_longitude":"2d17b980","hex_latitude":"0720a290","is_valid_coordinates":true} 
[2026-08-11 13:58: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-08-11 13:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327841280001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11597579930304512,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1709467932920342528,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786436881000,"timestamp_ms":1786436881000,"timestamp_seconds":1786436881,"priority":1,"record_length":96,"hex_timestamp":"0000019fefef8a68"} 
[2026-08-11 13:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:58:46] 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-08-11 13:58: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":12,"data_length":795,"current_offset":136} 
[2026-08-11 13:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867796275,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:46] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4025429160,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:46] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2805989422,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639084336310138,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-11 13:58:46] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2281778455,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:46] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2147950760,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:46] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-6268784287231717860,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:46] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-5998786866504531918,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:46] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:46] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,122,28,24,241,158,16,51,159,126,45,64,164,42,10,66,103,166,99,1,240,239,32,4,113,205,11,91,174,54,2,41,7,49,14,23,124],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-08-11 13:58:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314808926729994240,"timestamp_seconds":3314808926729994.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 13:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 13:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 13:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 13:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 13:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327841280001,"66":14374,"122":206,"28":31744,"24":9,"16":11597579930304512,"45":1709467932920342528},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 13:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 13:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 13:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327841280001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:58:46] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 13:58:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 13:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11597579930304512,"km_value":11597579930304.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1709467932920342528,"description":"Unknown IO ID 45"} 
[2026-08-11 13:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327841280001,"power":14374,"unknown_122":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1709467932920342528}} 
[2026-08-11 13:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":154905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:58:46] local.INFO: GPS data processed {"connection_id":154905,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:58:46] local.INFO: Acknowledgment sent {"connection_id":154905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:58:56] local.INFO: TCP Data received {"connection_id":153529,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fefef3478012db62e4005cae848001a014d2a..."} 
[2026-08-11 13:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefef3478012db62e4005cae848001a014d2a..."} 
[2026-08-11 13:58:56] local.INFO: Processing buffer {"connection_id":153529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefef3478012db62e4005cae848001a014d2a..."} 
[2026-08-11 13:58:56] local.INFO: Packet analysis {"connection_id":153529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefef"} 
[2026-08-11 13:58:56] local.INFO: Extracted packet for processing {"connection_id":153529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefef"} 
[2026-08-11 13:58:56] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":42,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 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-08-11 13:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327758848001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319243716254742528,"note":"Value kept but may cause issues"} 
[2026-08-11 13:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786436859000,"timestamp_ms":1786436859000,"timestamp_seconds":1786436859,"priority":1,"record_length":96,"hex_timestamp":"0000019fefef3478"} 
[2026-08-11 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-08-11 13:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 13:58:56] 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-08-11 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-08-11 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-08-11 13:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:58:56] 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-08-11 13:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327758848001,"66":25973,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319243716254742528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327758848001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:58:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:58:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319243716254742528,"description":"Unknown IO ID 45"} 
[2026-08-11 13:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327758848001,"power":25973,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319243716254742528}} 
[2026-08-11 13:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":153529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:58:56] local.INFO: GPS data processed {"connection_id":153529,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:58:56] local.INFO: Acknowledgment sent {"connection_id":153529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:59:08] local.INFO: TCP Data received {"connection_id":152211,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:59:08] local.INFO: Processing buffer {"connection_id":152211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:59:08] local.INFO: IMEI packet received {"connection_id":152211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 13:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":152211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:59:09] local.INFO: TCP Data received {"connection_id":152211,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:59:09] local.INFO: Processing buffer {"connection_id":152211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:59:09] local.INFO: IMEI packet received {"connection_id":152211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":152211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:59:10] local.INFO: TCP Data received {"connection_id":152211,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:59:10] local.INFO: Processing buffer {"connection_id":152211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:59:10] local.INFO: IMEI packet received {"connection_id":152211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":152211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:59:11] local.INFO: TCP Data received {"connection_id":152211,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:59:11] local.INFO: Processing buffer {"connection_id":152211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 13:59:11] local.INFO: IMEI packet received {"connection_id":152211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 13:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":152211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:59:19] local.INFO: TCP Data received {"connection_id":154906,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:59:19] local.INFO: Processing buffer {"connection_id":154906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:59:19] local.INFO: IMEI packet received {"connection_id":154906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 13:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":154906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 13:59:24] local.INFO: TCP Data received {"connection_id":154906,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:59:24] local.INFO: Processing buffer {"connection_id":154906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 13:59:24] local.INFO: IMEI packet received {"connection_id":154906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 13:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":154906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 13:59:25] local.INFO: TCP Data received {"connection_id":154906,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fefef3478012db62e4005cae848001a014d2a..."} 
[2026-08-11 13:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefef3478012db62e4005cae848001a014d2a..."} 
[2026-08-11 13:59:25] local.INFO: Processing buffer {"connection_id":154906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefef3478012db62e4005cae848001a014d2a..."} 
[2026-08-11 13:59:25] local.INFO: Packet analysis {"connection_id":154906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefef"} 
[2026-08-11 13:59:25] local.INFO: Extracted packet for processing {"connection_id":154906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefef"} 
[2026-08-11 13:59:25] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":42,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13: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-08-11 13:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327758848001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319243716254742528,"note":"Value kept but may cause issues"} 
[2026-08-11 13:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786436859000,"timestamp_ms":1786436859000,"timestamp_seconds":1786436859,"priority":1,"record_length":96,"hex_timestamp":"0000019fefef3478"} 
[2026-08-11 13:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 13:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 13:59:25] 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-08-11 13: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-08-11 13:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 13:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:59:25] 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-08-11 13:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327758848001,"66":25973,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319243716254742528},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327758848001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:59:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:59:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319243716254742528,"description":"Unknown IO ID 45"} 
[2026-08-11 13:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327758848001,"power":25973,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319243716254742528}} 
[2026-08-11 13:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":154906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:59:25] local.INFO: GPS data processed {"connection_id":154906,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:59:25] local.INFO: Acknowledgment sent {"connection_id":154906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 13:59:56] local.INFO: TCP Data received {"connection_id":154906,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff06cf8012db62e4005cae848001a014d28..."} 
[2026-08-11 13:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff06cf8012db62e4005cae848001a014d28..."} 
[2026-08-11 13:59:56] local.INFO: Processing buffer {"connection_id":154906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff06cf8012db62e4005cae848001a014d28..."} 
[2026-08-11 13:59:56] local.INFO: Packet analysis {"connection_id":154906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff0"} 
[2026-08-11 13:59:56] local.INFO: Extracted packet for processing {"connection_id":154906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff0"} 
[2026-08-11 13:59:56] local.INFO: GPS Element Parsed {"raw_longitude":766914112,"raw_latitude":97183816,"longitude_deg":76.6914112,"latitude_deg":9.7183816,"altitude":26,"angle":333,"satellites":40,"speed":0,"hex_longitude":"2db62e40","hex_latitude":"05cae848","is_valid_coordinates":true} 
[2026-08-11 13:59: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-08-11 13:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327835904001,"note":"Value kept but may cause issues"} 
[2026-08-11 13:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 13:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319243716254742528,"note":"Value kept but may cause issues"} 
[2026-08-11 13:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 13:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786436939000,"timestamp_ms":1786436939000,"timestamp_seconds":1786436939,"priority":1,"record_length":96,"hex_timestamp":"0000019feff06cf8"} 
[2026-08-11 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-08-11 13:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 13:59:56] 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-08-11 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-08-11 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-08-11 13:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 13:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 13:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 13:59:56] 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-08-11 13:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 13:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 13:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327835904001,"66":25952,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319243716254742528},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 13:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 13:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 13:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327835904001,"description":"Unknown IO ID 0"} 
[2026-08-11 13:59:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 13:59:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 13:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 13:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319243716254742528,"description":"Unknown IO ID 45"} 
[2026-08-11 13:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327835904001,"power":25952,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319243716254742528}} 
[2026-08-11 13:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":154906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 13:59:56] local.INFO: GPS data processed {"connection_id":154906,"processed":1,"errors":0,"total":1} 
[2026-08-11 13:59:56] local.INFO: Acknowledgment sent {"connection_id":154906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:00:19] local.INFO: TCP Data received {"connection_id":152212,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:00:19] local.INFO: Processing buffer {"connection_id":152212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:00:19] local.INFO: IMEI packet received {"connection_id":152212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":152212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:00:22] local.INFO: TCP Data received {"connection_id":152212,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:00:22] local.INFO: Processing buffer {"connection_id":152212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:00:22] local.INFO: IMEI packet received {"connection_id":152212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":152212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:00:24] local.INFO: TCP Data received {"connection_id":152212,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:00:24] local.INFO: Processing buffer {"connection_id":152212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:00:24] local.INFO: IMEI packet received {"connection_id":152212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":152212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:00:25] local.INFO: TCP Data received {"connection_id":152212,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff078b0012db6314005cae858001a007e29..."} 
[2026-08-11 14:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff078b0012db6314005cae858001a007e29..."} 
[2026-08-11 14:00:25] local.INFO: Processing buffer {"connection_id":152212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff078b0012db6314005cae858001a007e29..."} 
[2026-08-11 14:00:25] local.INFO: Packet analysis {"connection_id":152212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff0"} 
[2026-08-11 14:00:25] local.INFO: Extracted packet for processing {"connection_id":152212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff0"} 
[2026-08-11 14:00:25] local.INFO: GPS Element Parsed {"raw_longitude":766914880,"raw_latitude":97183832,"longitude_deg":76.691488,"latitude_deg":9.7183832,"altitude":26,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2db63140","hex_latitude":"05cae858","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327856384001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 14:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5319243716254742528,"note":"Value kept but may cause issues"} 
[2026-08-11 14:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786436942000,"timestamp_ms":1786436942000,"timestamp_seconds":1786436942,"priority":1,"record_length":96,"hex_timestamp":"0000019feff078b0"} 
[2026-08-11 14:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 14:00:25] 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-08-11 14: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-08-11 14:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:00:25] 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-08-11 14:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327856384001,"66":22081,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5319243716254742528},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 14:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327856384001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:00:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 14:00:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5319243716254742528,"description":"Unknown IO ID 45"} 
[2026-08-11 14:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327856384001,"power":22081,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5319243716254742528}} 
[2026-08-11 14:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":152212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:00:25] local.INFO: GPS data processed {"connection_id":152212,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:00:25] local.INFO: Acknowledgment sent {"connection_id":152212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:00:26] local.INFO: TCP Data received {"connection_id":152212,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff0cab8012db6314005cae858001a007e29..."} 
[2026-08-11 14:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff0cab8012db6314005cae858001a007e29..."} 
[2026-08-11 14:00:26] local.INFO: Processing buffer {"connection_id":152212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff0cab8012db6314005cae858001a007e29..."} 
[2026-08-11 14:00:26] local.INFO: Packet analysis {"connection_id":152212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff0"} 
[2026-08-11 14:00:26] local.INFO: Extracted packet for processing {"connection_id":152212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff0"} 
[2026-08-11 14:00:26] local.INFO: GPS Element Parsed {"raw_longitude":766914880,"raw_latitude":97183832,"longitude_deg":76.691488,"latitude_deg":9.7183832,"altitude":26,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2db63140","hex_latitude":"05cae858","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327857152001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 14:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318399291324606464,"note":"Value kept but may cause issues"} 
[2026-08-11 14:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786436963000,"timestamp_ms":1786436963000,"timestamp_seconds":1786436963,"priority":1,"record_length":96,"hex_timestamp":"0000019feff0cab8"} 
[2026-08-11 14:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":86,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-11 14:00: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-08-11 14: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-08-11 14:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:00:26] 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-08-11 14:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327857152001,"66":27039,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318399291324606464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 14:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327857152001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:00:26] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 14:00:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318399291324606464,"description":"Unknown IO ID 45"} 
[2026-08-11 14:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327857152001,"power":27039,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318399291324606464}} 
[2026-08-11 14:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":152212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:00:26] local.INFO: GPS data processed {"connection_id":152212,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:00:26] local.INFO: Acknowledgment sent {"connection_id":152212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:00:57] local.INFO: TCP Data received {"connection_id":152212,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff11cc0012db6314005cae858001a007e2b..."} 
[2026-08-11 14:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff11cc0012db6314005cae858001a007e2b..."} 
[2026-08-11 14:00:57] local.INFO: Processing buffer {"connection_id":152212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff11cc0012db6314005cae858001a007e2b..."} 
[2026-08-11 14:00:57] local.INFO: Packet analysis {"connection_id":152212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff1"} 
[2026-08-11 14:00:57] local.INFO: Extracted packet for processing {"connection_id":152212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff1"} 
[2026-08-11 14:00:57] local.INFO: GPS Element Parsed {"raw_longitude":766914880,"raw_latitude":97183832,"longitude_deg":76.691488,"latitude_deg":9.7183832,"altitude":26,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2db63140","hex_latitude":"05cae858","is_valid_coordinates":true} 
[2026-08-11 14:00: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-08-11 14:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327862528001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377597895278329856,"note":"Value kept but may cause issues"} 
[2026-08-11 14:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318399291324606464,"note":"Value kept but may cause issues"} 
[2026-08-11 14:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786436984000,"timestamp_ms":1786436984000,"timestamp_seconds":1786436984,"priority":1,"record_length":96,"hex_timestamp":"0000019feff11cc0"} 
[2026-08-11 14:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:00: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-11 14:00:57] 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-08-11 14:00: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-08-11 14:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:00:57] 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-08-11 14:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327862528001,"66":27843,"147":206,"83":18688,"24":0,"16":377597895278329856,"45":-5318399291324606464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 14:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327862528001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:00:57] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 14:00:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377597895278329856,"km_value":377597895278329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318399291324606464,"description":"Unknown IO ID 45"} 
[2026-08-11 14:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327862528001,"power":27843,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318399291324606464}} 
[2026-08-11 14:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":152212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:00:57] local.INFO: GPS data processed {"connection_id":152212,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:00:57] local.INFO: Acknowledgment sent {"connection_id":152212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:01:21] local.INFO: TCP Data received {"connection_id":154907,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:01:21] local.INFO: Processing buffer {"connection_id":154907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:01:21] local.INFO: IMEI packet received {"connection_id":154907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":154907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:01:25] local.INFO: TCP Data received {"connection_id":154907,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:01:25] local.INFO: Processing buffer {"connection_id":154907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:01:25] local.INFO: IMEI packet received {"connection_id":154907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":154907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:01:29] local.INFO: TCP Data received {"connection_id":154907,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:01:29] local.INFO: Processing buffer {"connection_id":154907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:01:29] local.INFO: IMEI packet received {"connection_id":154907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":154907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:01:30] local.INFO: TCP Data received {"connection_id":154907,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff1a960012db6168005cada98001800ea2b..."} 
[2026-08-11 14:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff1a960012db6168005cada98001800ea2b..."} 
[2026-08-11 14:01:30] local.INFO: Processing buffer {"connection_id":154907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff1a960012db6168005cada98001800ea2b..."} 
[2026-08-11 14:01:30] local.INFO: Packet analysis {"connection_id":154907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff1"} 
[2026-08-11 14:01:30] local.INFO: Extracted packet for processing {"connection_id":154907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff1"} 
[2026-08-11 14:01:30] local.INFO: GPS Element Parsed {"raw_longitude":766908032,"raw_latitude":97180312,"longitude_deg":76.6908032,"latitude_deg":9.7180312,"altitude":24,"angle":234,"satellites":43,"speed":27,"hex_longitude":"2db61680","hex_latitude":"05cada98","is_valid_coordinates":true} 
[2026-08-11 14:01: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-08-11 14:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327874304001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377598337659961344,"note":"Value kept but may cause issues"} 
[2026-08-11 14:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5321636253556613120,"note":"Value kept but may cause issues"} 
[2026-08-11 14:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786437020000,"timestamp_ms":1786437020000,"timestamp_seconds":1786437020,"priority":1,"record_length":96,"hex_timestamp":"0000019feff1a960"} 
[2026-08-11 14:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:01: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":92,"data_length":795,"current_offset":136} 
[2026-08-11 14:01:30] 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-08-11 14:01: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-08-11 14:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:01:30] 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-08-11 14:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327874304001,"66":27800,"147":206,"83":18688,"24":27,"16":377598337659961344,"45":-5321636253556613120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 14:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327874304001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:01:30] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 14:01:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377598337659961344,"km_value":377598337659961.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5321636253556613120,"description":"Unknown IO ID 45"} 
[2026-08-11 14:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327874304001,"power":27800,"unknown_147":206,"unknown_83":18688,"ignition":27,"odometer":null,"unknown_45":-5321636253556613120}} 
[2026-08-11 14:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":154907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:01:30] local.INFO: GPS data processed {"connection_id":154907,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:01:30] local.INFO: Acknowledgment sent {"connection_id":154907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:01:32] local.INFO: TCP Data received {"connection_id":154907,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff1d840012db5f70005cac640001700f12b..."} 
[2026-08-11 14:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff1d840012db5f70005cac640001700f12b..."} 
[2026-08-11 14:01:32] local.INFO: Processing buffer {"connection_id":154907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff1d840012db5f70005cac640001700f12b..."} 
[2026-08-11 14:01:32] local.INFO: Packet analysis {"connection_id":154907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff1"} 
[2026-08-11 14:01:32] local.INFO: Extracted packet for processing {"connection_id":154907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff1"} 
[2026-08-11 14:01:32] local.INFO: GPS Element Parsed {"raw_longitude":766899968,"raw_latitude":97175104,"longitude_deg":76.6899968,"latitude_deg":9.7175104,"altitude":23,"angle":241,"satellites":43,"speed":31,"hex_longitude":"2db5f700","hex_latitude":"05cac640","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327877120001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377598801516429312,"note":"Value kept but may cause issues"} 
[2026-08-11 14:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5325928746952517632,"note":"Value kept but may cause issues"} 
[2026-08-11 14:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786437032000,"timestamp_ms":1786437032000,"timestamp_seconds":1786437032,"priority":1,"record_length":96,"hex_timestamp":"0000019feff1d840"} 
[2026-08-11 14:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 14:01:32] 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-08-11 14: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-08-11 14:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:01:32] 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-08-11 14:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327877120001,"66":27821,"147":206,"83":18688,"24":31,"16":377598801516429312,"45":-5325928746952517632},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 14:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327877120001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:01:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 14:01:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377598801516429312,"km_value":377598801516429.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5325928746952517632,"description":"Unknown IO ID 45"} 
[2026-08-11 14:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327877120001,"power":27821,"unknown_147":206,"unknown_83":18688,"ignition":31,"odometer":null,"unknown_45":-5325928746952517632}} 
[2026-08-11 14:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":154907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:01:32] local.INFO: GPS data processed {"connection_id":154907,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:01:32] local.INFO: Acknowledgment sent {"connection_id":154907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:02:03] local.INFO: TCP Data received {"connection_id":154907,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff20338012db5d54005cab8b0001600fb28..."} 
[2026-08-11 14:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff20338012db5d54005cab8b0001600fb28..."} 
[2026-08-11 14:02:03] local.INFO: Processing buffer {"connection_id":154907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff20338012db5d54005cab8b0001600fb28..."} 
[2026-08-11 14:02:03] local.INFO: Packet analysis {"connection_id":154907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff2"} 
[2026-08-11 14:02:03] local.INFO: Extracted packet for processing {"connection_id":154907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff2"} 
[2026-08-11 14:02:03] local.INFO: GPS Element Parsed {"raw_longitude":766891328,"raw_latitude":97171632,"longitude_deg":76.6891328,"latitude_deg":9.7171632,"altitude":22,"angle":251,"satellites":40,"speed":32,"hex_longitude":"2db5d540","hex_latitude":"05cab8b0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327880192001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377599243898060800,"note":"Value kept but may cause issues"} 
[2026-08-11 14:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5334795208720236544,"note":"Value kept but may cause issues"} 
[2026-08-11 14:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786437043000,"timestamp_ms":1786437043000,"timestamp_seconds":1786437043,"priority":1,"record_length":96,"hex_timestamp":"0000019feff20338"} 
[2026-08-11 14:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 14:02:03] 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-08-11 14: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-08-11 14:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":154907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":154907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":154907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:02:03] 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-08-11 14:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327880192001,"66":27843,"147":206,"83":18688,"24":32,"16":377599243898060800,"45":-5334795208720236544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 14:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327880192001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:02:03] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 14:02:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377599243898060800,"km_value":377599243898060.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5334795208720236544,"description":"Unknown IO ID 45"} 
[2026-08-11 14:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327880192001,"power":27843,"unknown_147":206,"unknown_83":18688,"ignition":32,"odometer":null,"unknown_45":-5334795208720236544}} 
[2026-08-11 14:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":154907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:02:03] local.INFO: GPS data processed {"connection_id":154907,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:02:03] local.INFO: Acknowledgment sent {"connection_id":154907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:02:20] local.INFO: TCP Data received {"connection_id":152585,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:02:20] local.INFO: Processing buffer {"connection_id":152585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:02:20] local.INFO: IMEI packet received {"connection_id":152585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":152585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:02:24] local.INFO: TCP Data received {"connection_id":152585,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:02:24] local.INFO: Processing buffer {"connection_id":152585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:02:24] local.INFO: IMEI packet received {"connection_id":152585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":152585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:02:25] local.INFO: TCP Data received {"connection_id":152585,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff22a48012db5b44005caad18001500f72a..."} 
[2026-08-11 14:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff22a48012db5b44005caad18001500f72a..."} 
[2026-08-11 14:02:25] local.INFO: Processing buffer {"connection_id":152585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff22a48012db5b44005caad18001500f72a..."} 
[2026-08-11 14:02:25] local.INFO: Packet analysis {"connection_id":152585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff2"} 
[2026-08-11 14:02:25] local.INFO: Extracted packet for processing {"connection_id":152585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff2"} 
[2026-08-11 14:02:25] local.INFO: GPS Element Parsed {"raw_longitude":766882880,"raw_latitude":97168664,"longitude_deg":76.688288,"latitude_deg":9.7168664,"altitude":21,"angle":247,"satellites":42,"speed":39,"hex_longitude":"2db5b440","hex_latitude":"05caad18","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327883008001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377599677689757696,"note":"Value kept but may cause issues"} 
[2026-08-11 14:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5344294989185110016,"note":"Value kept but may cause issues"} 
[2026-08-11 14:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786437053000,"timestamp_ms":1786437053000,"timestamp_seconds":1786437053,"priority":1,"record_length":96,"hex_timestamp":"0000019feff22a48"} 
[2026-08-11 14:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 14:02:25] 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-08-11 14: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-08-11 14:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:02:25] 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-08-11 14:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327883008001,"66":27821,"147":206,"83":18688,"24":39,"16":377599677689757696,"45":-5344294989185110016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-08-11 14:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327883008001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:02:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 14:02:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377599677689757696,"km_value":377599677689757.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5344294989185110016,"description":"Unknown IO ID 45"} 
[2026-08-11 14:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327883008001,"power":27821,"unknown_147":206,"unknown_83":18688,"ignition":39,"odometer":null,"unknown_45":-5344294989185110016}} 
[2026-08-11 14:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":152585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:02:25] local.INFO: GPS data processed {"connection_id":152585,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:02:25] local.INFO: Acknowledgment sent {"connection_id":152585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:03:38] local.INFO: TCP Data received {"connection_id":152585,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff32060012db4f58005ca6050001b01012c..."} 
[2026-08-11 14:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff32060012db4f58005ca6050001b01012c..."} 
[2026-08-11 14:03:38] local.INFO: Processing buffer {"connection_id":152585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff32060012db4f58005ca6050001b01012c..."} 
[2026-08-11 14:03:38] local.INFO: Packet analysis {"connection_id":152585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff3"} 
[2026-08-11 14:03:38] local.INFO: Extracted packet for processing {"connection_id":152585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff3"} 
[2026-08-11 14:03:38] local.INFO: GPS Element Parsed {"raw_longitude":766834048,"raw_latitude":97149008,"longitude_deg":76.6834048,"latitude_deg":9.7149008,"altitude":27,"angle":257,"satellites":44,"speed":18,"hex_longitude":"2db4f580","hex_latitude":"05ca6050","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327901184001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377602465123532800,"note":"Value kept but may cause issues"} 
[2026-08-11 14:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5406430590299703296,"note":"Value kept but may cause issues"} 
[2026-08-11 14:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786437116000,"timestamp_ms":1786437116000,"timestamp_seconds":1786437116,"priority":1,"record_length":96,"hex_timestamp":"0000019feff32060"} 
[2026-08-11 14:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 14:03: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-08-11 14: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-08-11 14:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:03:38] 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-08-11 14:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327901184001,"66":27267,"117":206,"83":18688,"24":18,"16":377602465123532800,"45":-5406430590299703296},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-11 14:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327901184001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:03:38] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 14:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377602465123532800,"km_value":377602465123532.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5406430590299703296,"description":"Unknown IO ID 45"} 
[2026-08-11 14:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327901184001,"power":27267,"unknown_117":206,"unknown_83":18688,"ignition":18,"odometer":null,"unknown_45":-5406430590299703296}} 
[2026-08-11 14:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":152585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:03:38] local.INFO: GPS data processed {"connection_id":152585,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:03:38] local.INFO: Acknowledgment sent {"connection_id":152585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:03:54] local.INFO: TCP Data received {"connection_id":153532,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:03:54] local.INFO: Processing buffer {"connection_id":153532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:03:54] local.INFO: IMEI packet received {"connection_id":153532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":153532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:03:59] local.INFO: TCP Data received {"connection_id":153532,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:03:59] local.INFO: Processing buffer {"connection_id":153532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:03:59] local.INFO: IMEI packet received {"connection_id":153532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":153532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:04:00] local.INFO: TCP Data received {"connection_id":153532,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff32830012db4f18005ca6010001b010d2b..."} 
[2026-08-11 14:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff32830012db4f18005ca6010001b010d2b..."} 
[2026-08-11 14:04:00] local.INFO: Processing buffer {"connection_id":153532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff32830012db4f18005ca6010001b010d2b..."} 
[2026-08-11 14:04:00] local.INFO: Packet analysis {"connection_id":153532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff3"} 
[2026-08-11 14:04:00] local.INFO: Extracted packet for processing {"connection_id":153532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff3"} 
[2026-08-11 14:04:00] local.INFO: GPS Element Parsed {"raw_longitude":766833024,"raw_latitude":97148944,"longitude_deg":76.6833024,"latitude_deg":9.7148944,"altitude":27,"angle":269,"satellites":43,"speed":20,"hex_longitude":"2db4f180","hex_latitude":"05ca6010","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327901696001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377602512368173056,"note":"Value kept but may cause issues"} 
[2026-08-11 14:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5407275015229911040,"note":"Value kept but may cause issues"} 
[2026-08-11 14:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786437118000,"timestamp_ms":1786437118000,"timestamp_seconds":1786437118,"priority":1,"record_length":96,"hex_timestamp":"0000019feff32830"} 
[2026-08-11 14:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 14:04:00] 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-08-11 14: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-08-11 14:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:04:00] 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-08-11 14:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327901696001,"66":27908,"117":206,"83":18688,"24":20,"16":377602512368173056,"45":-5407275015229911040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-11 14:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327901696001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:04:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 14:04:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377602512368173056,"km_value":377602512368173.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5407275015229911040,"description":"Unknown IO ID 45"} 
[2026-08-11 14:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327901696001,"power":27908,"unknown_117":206,"unknown_83":18688,"ignition":20,"odometer":null,"unknown_45":-5407275015229911040}} 
[2026-08-11 14:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":153532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:04:00] local.INFO: GPS data processed {"connection_id":153532,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:04:00] local.INFO: Acknowledgment sent {"connection_id":153532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:04:15] local.INFO: TCP Data received {"connection_id":152586,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:04:15] local.INFO: Processing buffer {"connection_id":152586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:04:15] local.INFO: IMEI packet received {"connection_id":152586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":152586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:04:16] local.INFO: TCP Data received {"connection_id":152586,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019feff3fb20012d17cf400720d6d80038000f2a..."} 
[2026-08-11 14:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff3fb20012d17cf400720d6d80038000f2a..."} 
[2026-08-11 14:04:16] local.INFO: Processing buffer {"connection_id":152586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff3fb20012d17cf400720d6d80038000f2a..."} 
[2026-08-11 14:04:16] local.INFO: Packet analysis {"connection_id":152586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff3"} 
[2026-08-11 14:04:16] local.INFO: Extracted packet for processing {"connection_id":152586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff3"} 
[2026-08-11 14:04:16] local.INFO: GPS Element Parsed {"raw_longitude":756535104,"raw_latitude":119592664,"longitude_deg":75.6535104,"latitude_deg":11.9592664,"altitude":56,"angle":15,"satellites":42,"speed":21,"hex_longitude":"2d17cf40","hex_latitude":"0720d6d8","is_valid_coordinates":true} 
[2026-08-11 14:04: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-08-11 14:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327915264001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11600831220547584,"note":"Value kept but may cause issues"} 
[2026-08-11 14:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715027063713363968,"note":"Value kept but may cause issues"} 
[2026-08-11 14:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786437172000,"timestamp_ms":1786437172000,"timestamp_seconds":1786437172,"priority":1,"record_length":96,"hex_timestamp":"0000019feff3fb20"} 
[2026-08-11 14:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:04:16] 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-08-11 14:04: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 14:04:16] 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-08-11 14:04: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-08-11 14:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327915264001,"66":14407,"122":206,"28":31744,"24":21,"16":11600831220547584,"45":1715027063713363968},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 14:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327915264001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:04:16] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 14:04:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11600831220547584,"km_value":11600831220547.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715027063713363968,"description":"Unknown IO ID 45"} 
[2026-08-11 14:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327915264001,"power":14407,"unknown_122":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1715027063713363968}} 
[2026-08-11 14:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":152586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:04:16] local.INFO: GPS data processed {"connection_id":152586,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:04:16] local.INFO: Acknowledgment sent {"connection_id":152586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:04:21] local.INFO: TCP Data received {"connection_id":152587,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:04:21] local.INFO: Processing buffer {"connection_id":152587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:04:21] local.INFO: IMEI packet received {"connection_id":152587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":152587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:04:24] local.INFO: TCP Data received {"connection_id":152587,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:04:24] local.INFO: Processing buffer {"connection_id":152587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:04:24] local.INFO: IMEI packet received {"connection_id":152587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":152587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:04:29] local.INFO: TCP Data received {"connection_id":152587,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:04:29] local.INFO: Processing buffer {"connection_id":152587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:04:29] local.INFO: IMEI packet received {"connection_id":152587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":152587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:04:31] local.INFO: TCP Data received {"connection_id":152587,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff366b0012db4ce8005ca6108001f01132a..."} 
[2026-08-11 14:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff366b0012db4ce8005ca6108001f01132a..."} 
[2026-08-11 14:04:31] local.INFO: Processing buffer {"connection_id":152587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff366b0012db4ce8005ca6108001f01132a..."} 
[2026-08-11 14:04:31] local.INFO: Packet analysis {"connection_id":152587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff3"} 
[2026-08-11 14:04:31] local.INFO: Extracted packet for processing {"connection_id":152587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff3"} 
[2026-08-11 14:04:31] local.INFO: GPS Element Parsed {"raw_longitude":766824064,"raw_latitude":97149192,"longitude_deg":76.6824064,"latitude_deg":9.7149192,"altitude":31,"angle":275,"satellites":42,"speed":23,"hex_longitude":"2db4ce80","hex_latitude":"05ca6108","is_valid_coordinates":true} 
[2026-08-11 14:04: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-08-11 14:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327902208001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377602941864902656,"note":"Value kept but may cause issues"} 
[2026-08-11 14:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5408400915136770048,"note":"Value kept but may cause issues"} 
[2026-08-11 14:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786437134000,"timestamp_ms":1786437134000,"timestamp_seconds":1786437134,"priority":1,"record_length":96,"hex_timestamp":"0000019feff366b0"} 
[2026-08-11 14:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:04: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 14:04:31] 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-08-11 14:04: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-08-11 14:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:04:31] 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-08-11 14:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327902208001,"66":27908,"117":206,"83":18688,"24":23,"16":377602941864902656,"45":-5408400915136770048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-11 14:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327902208001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:04:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 14:04:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377602941864902656,"km_value":377602941864902.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5408400915136770048,"description":"Unknown IO ID 45"} 
[2026-08-11 14:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327902208001,"power":27908,"unknown_117":206,"unknown_83":18688,"ignition":23,"odometer":null,"unknown_45":-5408400915136770048}} 
[2026-08-11 14:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":152587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:04:31] local.INFO: GPS data processed {"connection_id":152587,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:04:31] local.INFO: Acknowledgment sent {"connection_id":152587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:04:49] local.INFO: TCP Data received {"connection_id":152586,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019feff402f0012d17cfc00720db18003701672a..."} 
[2026-08-11 14:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff402f0012d17cfc00720db18003701672a..."} 
[2026-08-11 14:04:49] local.INFO: Processing buffer {"connection_id":152586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff402f0012d17cfc00720db18003701672a..."} 
[2026-08-11 14:04:49] local.INFO: Packet analysis {"connection_id":152586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff4"} 
[2026-08-11 14:04:49] local.INFO: Extracted packet for processing {"connection_id":152586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff4"} 
[2026-08-11 14:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756535232,"raw_latitude":119593752,"longitude_deg":75.6535232,"latitude_deg":11.9593752,"altitude":55,"angle":359,"satellites":42,"speed":22,"hex_longitude":"2d17cfc0","hex_latitude":"0720db18","is_valid_coordinates":true} 
[2026-08-11 14:04: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-08-11 14:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327916032001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11600882760155136,"note":"Value kept but may cause issues"} 
[2026-08-11 14:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715660382411347968,"note":"Value kept but may cause issues"} 
[2026-08-11 14:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786437174000,"timestamp_ms":1786437174000,"timestamp_seconds":1786437174,"priority":1,"record_length":96,"hex_timestamp":"0000019feff402f0"} 
[2026-08-11 14:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:04:49] 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-08-11 14:04: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":71,"data_length":795,"current_offset":136} 
[2026-08-11 14:04:49] 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-08-11 14:04: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-08-11 14:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327916032001,"66":14428,"122":206,"28":31744,"24":22,"16":11600882760155136,"45":1715660382411347968},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 14:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327916032001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:04:49] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 14:04:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11600882760155136,"km_value":11600882760155.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715660382411347968,"description":"Unknown IO ID 45"} 
[2026-08-11 14:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327916032001,"power":14428,"unknown_122":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1715660382411347968}} 
[2026-08-11 14:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":152586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:04:49] local.INFO: GPS data processed {"connection_id":152586,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:04:49] local.INFO: Acknowledgment sent {"connection_id":152586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:05:02] local.INFO: TCP Data received {"connection_id":152587,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff3b0e8012db4aa0005ca63b80026010f2a..."} 
[2026-08-11 14:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff3b0e8012db4aa0005ca63b80026010f2a..."} 
[2026-08-11 14:05:02] local.INFO: Processing buffer {"connection_id":152587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff3b0e8012db4aa0005ca63b80026010f2a..."} 
[2026-08-11 14:05:02] local.INFO: Packet analysis {"connection_id":152587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff3"} 
[2026-08-11 14:05:02] local.INFO: Extracted packet for processing {"connection_id":152587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff3"} 
[2026-08-11 14:05:02] local.INFO: GPS Element Parsed {"raw_longitude":766814720,"raw_latitude":97149880,"longitude_deg":76.681472,"latitude_deg":9.714988,"altitude":38,"angle":271,"satellites":42,"speed":21,"hex_longitude":"2db4aa00","hex_latitude":"05ca63b8","is_valid_coordinates":true} 
[2026-08-11 14:05: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-08-11 14:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327906304001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377603388541501440,"note":"Value kept but may cause issues"} 
[2026-08-11 14:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5418252539321579520,"note":"Value kept but may cause issues"} 
[2026-08-11 14:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786437153000,"timestamp_ms":1786437153000,"timestamp_seconds":1786437153,"priority":1,"record_length":96,"hex_timestamp":"0000019feff3b0e8"} 
[2026-08-11 14:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:05: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":4,"data_length":795,"current_offset":136} 
[2026-08-11 14:05:02] 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-08-11 14:05: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-08-11 14:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":152587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":152587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":152587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:05:02] 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-08-11 14:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327906304001,"66":27876,"117":206,"83":18688,"24":21,"16":377603388541501440,"45":-5418252539321579520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-11 14:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327906304001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:05:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 14:05:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377603388541501440,"km_value":377603388541501.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5418252539321579520,"description":"Unknown IO ID 45"} 
[2026-08-11 14:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327906304001,"power":27876,"unknown_117":206,"unknown_83":18688,"ignition":21,"odometer":null,"unknown_45":-5418252539321579520}} 
[2026-08-11 14:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":152587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:05:02] local.INFO: GPS data processed {"connection_id":152587,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:05:02] local.INFO: Acknowledgment sent {"connection_id":152587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:05:15] local.INFO: TCP Data received {"connection_id":152214,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:05:15] local.INFO: Processing buffer {"connection_id":152214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:05:15] local.INFO: IMEI packet received {"connection_id":152214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":152214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:05:16] local.INFO: TCP Data received {"connection_id":152214,"ip":"117.225.177.63","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 14:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152214,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 14:05:16] local.INFO: Processing buffer {"connection_id":152214,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 14:05:16] local.INFO: IMEI packet received {"connection_id":152214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":152214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:05:16] local.INFO: TCP Data received {"connection_id":152214,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:05:16] local.INFO: Processing buffer {"connection_id":152214,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 14:05:16] local.INFO: IMEI packet received {"connection_id":152214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":152214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:05:20] local.INFO: TCP Data received {"connection_id":153533,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:05:20] local.INFO: Processing buffer {"connection_id":153533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:05:20] local.INFO: IMEI packet received {"connection_id":153533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":153533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:05:22] local.INFO: TCP Data received {"connection_id":153533,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:05:22] local.INFO: Processing buffer {"connection_id":153533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:05:22] local.INFO: IMEI packet received {"connection_id":153533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":153533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:05:24] local.INFO: TCP Data received {"connection_id":153533,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff552e0012db3920005ca2800001d00ee25..."} 
[2026-08-11 14:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff552e0012db3920005ca2800001d00ee25..."} 
[2026-08-11 14:05:24] local.INFO: Processing buffer {"connection_id":153533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff552e0012db3920005ca2800001d00ee25..."} 
[2026-08-11 14:05:24] local.INFO: Packet analysis {"connection_id":153533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff5"} 
[2026-08-11 14:05:24] local.INFO: Extracted packet for processing {"connection_id":153533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff5"} 
[2026-08-11 14:05:24] local.INFO: GPS Element Parsed {"raw_longitude":766743040,"raw_latitude":97134592,"longitude_deg":76.674304,"latitude_deg":9.7134592,"altitude":29,"angle":238,"satellites":37,"speed":45,"hex_longitude":"2db39200","hex_latitude":"05ca2800","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327936000001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377607073623441408,"note":"Value kept but may cause issues"} 
[2026-08-11 14:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5498332170198114304,"note":"Value kept but may cause issues"} 
[2026-08-11 14:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786437260000,"timestamp_ms":1786437260000,"timestamp_seconds":1786437260,"priority":1,"record_length":96,"hex_timestamp":"0000019feff552e0"} 
[2026-08-11 14:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 14:05:24] 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-08-11 14: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-08-11 14:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:05:24] 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-08-11 14:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327936000001,"66":27908,"73":206,"83":18688,"24":45,"16":377607073623441408,"45":-5498332170198114304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-08-11 14:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327936000001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:05:24] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-11 14:05:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377607073623441408,"km_value":377607073623441.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5498332170198114304,"description":"Unknown IO ID 45"} 
[2026-08-11 14:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327936000001,"power":27908,"unknown_73":206,"unknown_83":18688,"ignition":45,"odometer":null,"unknown_45":-5498332170198114304}} 
[2026-08-11 14:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":153533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:05:24] local.INFO: GPS data processed {"connection_id":153533,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:05:24] local.INFO: Acknowledgment sent {"connection_id":153533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:05:56] local.INFO: TCP Data received {"connection_id":153533,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff57220012db3708005ca1438001500ee26..."} 
[2026-08-11 14:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff57220012db3708005ca1438001500ee26..."} 
[2026-08-11 14:05:56] local.INFO: Processing buffer {"connection_id":153533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff57220012db3708005ca1438001500ee26..."} 
[2026-08-11 14:05:56] local.INFO: Packet analysis {"connection_id":153533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff5"} 
[2026-08-11 14:05:56] local.INFO: Extracted packet for processing {"connection_id":153533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff5"} 
[2026-08-11 14:05:56] local.INFO: GPS Element Parsed {"raw_longitude":766734464,"raw_latitude":97129528,"longitude_deg":76.6734464,"latitude_deg":9.7129528,"altitude":21,"angle":238,"satellites":38,"speed":51,"hex_longitude":"2db37080","hex_latitude":"05ca1438","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327938560001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377607550364811264,"note":"Value kept but may cause issues"} 
[2026-08-11 14:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5507339369454239744,"note":"Value kept but may cause issues"} 
[2026-08-11 14:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786437268000,"timestamp_ms":1786437268000,"timestamp_seconds":1786437268,"priority":1,"record_length":96,"hex_timestamp":"0000019feff57220"} 
[2026-08-11 14:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 14:05:56] 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-08-11 14: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-08-11 14:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:05:56] 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-08-11 14:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327938560001,"66":27919,"73":206,"83":18688,"24":51,"16":377607550364811264,"45":-5507339369454239744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-08-11 14:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327938560001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:05:56] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-11 14:05:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377607550364811264,"km_value":377607550364811.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5507339369454239744,"description":"Unknown IO ID 45"} 
[2026-08-11 14:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327938560001,"power":27919,"unknown_73":206,"unknown_83":18688,"ignition":51,"odometer":null,"unknown_45":-5507339369454239744}} 
[2026-08-11 14:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":153533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:05:56] local.INFO: GPS data processed {"connection_id":153533,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:05:56] local.INFO: Acknowledgment sent {"connection_id":153533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:06:19] local.INFO: TCP Data received {"connection_id":154908,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:06:19] local.INFO: Processing buffer {"connection_id":154908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:06:19] local.INFO: IMEI packet received {"connection_id":154908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":154908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:06:24] local.INFO: TCP Data received {"connection_id":154908,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:06:24] local.INFO: Processing buffer {"connection_id":154908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:06:24] local.INFO: IMEI packet received {"connection_id":154908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":154908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:06:25] local.INFO: TCP Data received {"connection_id":154908,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff59160012db34fc005c9fe08001500eb26..."} 
[2026-08-11 14:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff59160012db34fc005c9fe08001500eb26..."} 
[2026-08-11 14:06:25] local.INFO: Processing buffer {"connection_id":154908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff59160012db34fc005c9fe08001500eb26..."} 
[2026-08-11 14:06:25] local.INFO: Packet analysis {"connection_id":154908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff5"} 
[2026-08-11 14:06:25] local.INFO: Extracted packet for processing {"connection_id":154908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff5"} 
[2026-08-11 14:06:25] local.INFO: GPS Element Parsed {"raw_longitude":766726080,"raw_latitude":97123848,"longitude_deg":76.672608,"latitude_deg":9.7123848,"altitude":21,"angle":235,"satellites":38,"speed":47,"hex_longitude":"2db34fc0","hex_latitude":"05c9fe08","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327940608001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377608035696115712,"note":"Value kept but may cause issues"} 
[2026-08-11 14:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5516768781175343104,"note":"Value kept but may cause issues"} 
[2026-08-11 14:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786437276000,"timestamp_ms":1786437276000,"timestamp_seconds":1786437276,"priority":1,"record_length":96,"hex_timestamp":"0000019feff59160"} 
[2026-08-11 14:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 14:06:25] 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-08-11 14: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-08-11 14:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:06:25] 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-08-11 14:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327940608001,"66":27974,"73":206,"83":18688,"24":47,"16":377608035696115712,"45":-5516768781175343104},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-08-11 14:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327940608001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:06:25] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-11 14:06:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377608035696115712,"km_value":377608035696115.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5516768781175343104,"description":"Unknown IO ID 45"} 
[2026-08-11 14:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327940608001,"power":27974,"unknown_73":206,"unknown_83":18688,"ignition":47,"odometer":null,"unknown_45":-5516768781175343104}} 
[2026-08-11 14:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":154908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:06:25] local.INFO: GPS data processed {"connection_id":154908,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:06:25] local.INFO: Acknowledgment sent {"connection_id":154908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:07:12] local.INFO: TCP Data received {"connection_id":154908,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff5b0a0012db3370005c9ef08001b00f827..."} 
[2026-08-11 14:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff5b0a0012db3370005c9ef08001b00f827..."} 
[2026-08-11 14:07:12] local.INFO: Processing buffer {"connection_id":154908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff5b0a0012db3370005c9ef08001b00f827..."} 
[2026-08-11 14:07:12] local.INFO: Packet analysis {"connection_id":154908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff5"} 
[2026-08-11 14:07:12] local.INFO: Extracted packet for processing {"connection_id":154908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff5"} 
[2026-08-11 14:07:12] local.INFO: GPS Element Parsed {"raw_longitude":766719744,"raw_latitude":97120008,"longitude_deg":76.6719744,"latitude_deg":9.7120008,"altitude":27,"angle":248,"satellites":39,"speed":29,"hex_longitude":"2db33700","hex_latitude":"05c9ef08","is_valid_coordinates":true} 
[2026-08-11 14:07: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-08-11 14:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327942656001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377608392178401280,"note":"Value kept but may cause issues"} 
[2026-08-11 14:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5525987086664071168,"note":"Value kept but may cause issues"} 
[2026-08-11 14:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786437284000,"timestamp_ms":1786437284000,"timestamp_seconds":1786437284,"priority":1,"record_length":96,"hex_timestamp":"0000019feff5b0a0"} 
[2026-08-11 14:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:07: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-08-11 14:07: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-08-11 14:07: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-08-11 14:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":154908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":154908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":154908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:07:12] 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-08-11 14:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327942656001,"66":27908,"73":206,"83":18688,"24":29,"16":377608392178401280,"45":-5525987086664071168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-08-11 14:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327942656001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:07:12] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-11 14:07:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377608392178401280,"km_value":377608392178401.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5525987086664071168,"description":"Unknown IO ID 45"} 
[2026-08-11 14:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327942656001,"power":27908,"unknown_73":206,"unknown_83":18688,"ignition":29,"odometer":null,"unknown_45":-5525987086664071168}} 
[2026-08-11 14:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":154908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:07:12] local.INFO: GPS data processed {"connection_id":154908,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:07:12] local.INFO: Acknowledgment sent {"connection_id":154908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:07:19] local.INFO: TCP Data received {"connection_id":152588,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:07:19] local.INFO: Processing buffer {"connection_id":152588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:07:19] local.INFO: IMEI packet received {"connection_id":152588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":152588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:07:19] local.INFO: TCP Data received {"connection_id":152588,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:07:19] local.INFO: Processing buffer {"connection_id":152588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:07:19] local.INFO: IMEI packet received {"connection_id":152588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":152588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:07:27] local.INFO: TCP Data received {"connection_id":152588,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:07:27] local.INFO: Processing buffer {"connection_id":152588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:07:27] local.INFO: IMEI packet received {"connection_id":152588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":152588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:07:28] local.INFO: TCP Data received {"connection_id":152588,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff5e750012db3164005c9e6b00013010426..."} 
[2026-08-11 14:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff5e750012db3164005c9e6b00013010426..."} 
[2026-08-11 14:07:28] local.INFO: Processing buffer {"connection_id":152588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff5e750012db3164005c9e6b00013010426..."} 
[2026-08-11 14:07:28] local.INFO: Packet analysis {"connection_id":152588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff5"} 
[2026-08-11 14:07:28] local.INFO: Extracted packet for processing {"connection_id":152588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff5"} 
[2026-08-11 14:07:28] local.INFO: GPS Element Parsed {"raw_longitude":766711360,"raw_latitude":97117872,"longitude_deg":76.671136,"latitude_deg":9.7117872,"altitude":19,"angle":260,"satellites":38,"speed":17,"hex_longitude":"2db31640","hex_latitude":"05c9e6b0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327944704001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377608804495261696,"note":"Value kept but may cause issues"} 
[2026-08-11 14:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5532953592338642944,"note":"Value kept but may cause issues"} 
[2026-08-11 14:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786437298000,"timestamp_ms":1786437298000,"timestamp_seconds":1786437298,"priority":1,"record_length":96,"hex_timestamp":"0000019feff5e750"} 
[2026-08-11 14:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 14:07:28] 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-08-11 14: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-08-11 14:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:07:28] 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-08-11 14:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327944704001,"66":27876,"73":206,"83":18688,"24":17,"16":377608804495261696,"45":-5532953592338642944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-08-11 14:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327944704001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:07:28] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-11 14:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377608804495261696,"km_value":377608804495261.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5532953592338642944,"description":"Unknown IO ID 45"} 
[2026-08-11 14:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327944704001,"power":27876,"unknown_73":206,"unknown_83":18688,"ignition":17,"odometer":null,"unknown_45":-5532953592338642944}} 
[2026-08-11 14:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":152588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:07:28] local.INFO: GPS data processed {"connection_id":152588,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:07:28] local.INFO: Acknowledgment sent {"connection_id":152588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:07:59] local.INFO: TCP Data received {"connection_id":152588,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff63958012db2f34005c9dc60001200fb27..."} 
[2026-08-11 14:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff63958012db2f34005c9dc60001200fb27..."} 
[2026-08-11 14:07:59] local.INFO: Processing buffer {"connection_id":152588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff63958012db2f34005c9dc60001200fb27..."} 
[2026-08-11 14:07:59] local.INFO: Packet analysis {"connection_id":152588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff6"} 
[2026-08-11 14:07:59] local.INFO: Extracted packet for processing {"connection_id":152588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff6"} 
[2026-08-11 14:07:59] local.INFO: GPS Element Parsed {"raw_longitude":766702400,"raw_latitude":97115232,"longitude_deg":76.67024,"latitude_deg":9.7115232,"altitude":18,"angle":251,"satellites":39,"speed":24,"hex_longitude":"2db2f340","hex_latitude":"05c9dc60","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327948288001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377609251171860480,"note":"Value kept but may cause issues"} 
[2026-08-11 14:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5542171897826463744,"note":"Value kept but may cause issues"} 
[2026-08-11 14:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786437319000,"timestamp_ms":1786437319000,"timestamp_seconds":1786437319,"priority":1,"record_length":96,"hex_timestamp":"0000019feff63958"} 
[2026-08-11 14:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 14:07:59] 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-08-11 14: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-08-11 14:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:07:59] 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-08-11 14:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327948288001,"66":27843,"73":206,"83":18688,"24":24,"16":377609251171860480,"45":-5542171897826463744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-08-11 14:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327948288001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:07:59] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-11 14:07:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377609251171860480,"km_value":377609251171860.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5542171897826463744,"description":"Unknown IO ID 45"} 
[2026-08-11 14:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327948288001,"power":27843,"unknown_73":206,"unknown_83":18688,"ignition":24,"odometer":null,"unknown_45":-5542171897826463744}} 
[2026-08-11 14:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":152588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:07:59] local.INFO: GPS data processed {"connection_id":152588,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:07:59] local.INFO: Acknowledgment sent {"connection_id":152588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:08:19] local.INFO: TCP Data received {"connection_id":153534,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:08:19] local.INFO: Processing buffer {"connection_id":153534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:08:19] local.INFO: IMEI packet received {"connection_id":153534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":153534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:08:22] local.INFO: TCP Data received {"connection_id":153534,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:08:22] local.INFO: Processing buffer {"connection_id":153534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:08:22] local.INFO: IMEI packet received {"connection_id":153534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":153534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:08:24] local.INFO: TCP Data received {"connection_id":153534,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:08:24] local.INFO: Processing buffer {"connection_id":153534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:08:24] local.INFO: IMEI packet received {"connection_id":153534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":153534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:08:25] local.INFO: TCP Data received {"connection_id":153534,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff63958012db2f34005c9dc60001200fb27..."} 
[2026-08-11 14:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff63958012db2f34005c9dc60001200fb27..."} 
[2026-08-11 14:08:25] local.INFO: Processing buffer {"connection_id":153534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff63958012db2f34005c9dc60001200fb27..."} 
[2026-08-11 14:08:25] local.INFO: Packet analysis {"connection_id":153534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff6"} 
[2026-08-11 14:08:25] local.INFO: Extracted packet for processing {"connection_id":153534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff6"} 
[2026-08-11 14:08:25] local.INFO: GPS Element Parsed {"raw_longitude":766702400,"raw_latitude":97115232,"longitude_deg":76.67024,"latitude_deg":9.7115232,"altitude":18,"angle":251,"satellites":39,"speed":24,"hex_longitude":"2db2f340","hex_latitude":"05c9dc60","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327953664001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377609251171860480,"note":"Value kept but may cause issues"} 
[2026-08-11 14:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5552023522012012544,"note":"Value kept but may cause issues"} 
[2026-08-11 14:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786437319000,"timestamp_ms":1786437319000,"timestamp_seconds":1786437319,"priority":1,"record_length":96,"hex_timestamp":"0000019feff63958"} 
[2026-08-11 14:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 14:08:25] 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-08-11 14: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-08-11 14:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:08:25] 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-08-11 14:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327953664001,"66":27843,"73":206,"83":18688,"24":24,"16":377609251171860480,"45":-5552023522012012544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-08-11 14:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327953664001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:08:25] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-11 14:08:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377609251171860480,"km_value":377609251171860.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5552023522012012544,"description":"Unknown IO ID 45"} 
[2026-08-11 14:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327953664001,"power":27843,"unknown_73":206,"unknown_83":18688,"ignition":24,"odometer":null,"unknown_45":-5552023522012012544}} 
[2026-08-11 14:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":153534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:08:25] local.INFO: GPS data processed {"connection_id":153534,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:08:25] local.INFO: Acknowledgment sent {"connection_id":153534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:08:56] local.INFO: TCP Data received {"connection_id":153534,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff8aa58012db2038005c8fc30002200e428..."} 
[2026-08-11 14:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff8aa58012db2038005c8fc30002200e428..."} 
[2026-08-11 14:08:56] local.INFO: Processing buffer {"connection_id":153534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff8aa58012db2038005c8fc30002200e428..."} 
[2026-08-11 14:08:56] local.INFO: Packet analysis {"connection_id":153534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff8"} 
[2026-08-11 14:08:56] local.INFO: Extracted packet for processing {"connection_id":153534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff8"} 
[2026-08-11 14:08:56] local.INFO: GPS Element Parsed {"raw_longitude":766641024,"raw_latitude":97057840,"longitude_deg":76.6641024,"latitude_deg":9.705784,"altitude":34,"angle":228,"satellites":40,"speed":25,"hex_longitude":"2db20380","hex_latitude":"05c8fc30","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457327990784001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377613434470006784,"note":"Value kept but may cause issues"} 
[2026-08-11 14:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5613455435691995136,"note":"Value kept but may cause issues"} 
[2026-08-11 14:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786437479000,"timestamp_ms":1786437479000,"timestamp_seconds":1786437479,"priority":1,"record_length":96,"hex_timestamp":"0000019feff8aa58"} 
[2026-08-11 14:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 14:08:56] 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-08-11 14: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-08-11 14:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:08:56] 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-08-11 14:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457327990784001,"66":27767,"228":206,"83":18688,"24":25,"16":377613434470006784,"45":-5613455435691995136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,83,24,16,45]} 
[2026-08-11 14:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457327990784001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:08:56] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-11 14:08:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377613434470006784,"km_value":377613434470006.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5613455435691995136,"description":"Unknown IO ID 45"} 
[2026-08-11 14:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457327990784001,"power":27767,"unknown_228":206,"unknown_83":18688,"ignition":25,"odometer":null,"unknown_45":-5613455435691995136}} 
[2026-08-11 14:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":153534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:08:56] local.INFO: GPS data processed {"connection_id":153534,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:08:56] local.INFO: Acknowledgment sent {"connection_id":153534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:09:19] local.INFO: TCP Data received {"connection_id":154911,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:09:19] local.INFO: Processing buffer {"connection_id":154911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:09:19] local.INFO: IMEI packet received {"connection_id":154911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":154911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:09:24] local.INFO: TCP Data received {"connection_id":154911,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:09:24] local.INFO: Processing buffer {"connection_id":154911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:09:24] local.INFO: IMEI packet received {"connection_id":154911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":154911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:09:24] local.INFO: TCP Data received {"connection_id":154911,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:09:24] local.INFO: Processing buffer {"connection_id":154911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:09:24] local.INFO: IMEI packet received {"connection_id":154911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":154911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:09:25] local.INFO: TCP Data received {"connection_id":154911,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff93ae0012db1cd4005c8c9a00011009028..."} 
[2026-08-11 14:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff93ae0012db1cd4005c8c9a00011009028..."} 
[2026-08-11 14:09:25] local.INFO: Processing buffer {"connection_id":154911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff93ae0012db1cd4005c8c9a00011009028..."} 
[2026-08-11 14:09:25] local.INFO: Packet analysis {"connection_id":154911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff9"} 
[2026-08-11 14:09:25] local.INFO: Extracted packet for processing {"connection_id":154911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff9"} 
[2026-08-11 14:09:25] local.INFO: GPS Element Parsed {"raw_longitude":766627136,"raw_latitude":97044896,"longitude_deg":76.6627136,"latitude_deg":9.7044896,"altitude":17,"angle":144,"satellites":40,"speed":6,"hex_longitude":"2db1cd40","hex_latitude":"05c8c9a0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328003328001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377614452377255936,"note":"Value kept but may cause issues"} 
[2026-08-11 14:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5635129008903747584,"note":"Value kept but may cause issues"} 
[2026-08-11 14:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786437516000,"timestamp_ms":1786437516000,"timestamp_seconds":1786437516,"priority":1,"record_length":96,"hex_timestamp":"0000019feff93ae0"} 
[2026-08-11 14:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 14:09:25] 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-08-11 14: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-08-11 14:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:09:25] 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-08-11 14:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328003328001,"66":27658,"230":206,"83":18688,"24":6,"16":377614452377255936,"45":-5635129008903747584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,83,24,16,45]} 
[2026-08-11 14:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328003328001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:09:25] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-11 14:09:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377614452377255936,"km_value":377614452377255.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5635129008903747584,"description":"Unknown IO ID 45"} 
[2026-08-11 14:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328003328001,"power":27658,"unknown_230":206,"unknown_83":18688,"ignition":6,"odometer":null,"unknown_45":-5635129008903747584}} 
[2026-08-11 14:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":154911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:09:25] local.INFO: GPS data processed {"connection_id":154911,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:09:25] local.INFO: Acknowledgment sent {"connection_id":154911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:09:26] local.INFO: TCP Data received {"connection_id":154911,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff94698012db1ce0005c8c7d00011009b29..."} 
[2026-08-11 14:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff94698012db1ce0005c8c7d00011009b29..."} 
[2026-08-11 14:09:26] local.INFO: Processing buffer {"connection_id":154911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff94698012db1ce0005c8c7d00011009b29..."} 
[2026-08-11 14:09:26] local.INFO: Packet analysis {"connection_id":154911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff9"} 
[2026-08-11 14:09:26] local.INFO: Extracted packet for processing {"connection_id":154911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff9"} 
[2026-08-11 14:09:26] local.INFO: GPS Element Parsed {"raw_longitude":766627328,"raw_latitude":97044432,"longitude_deg":76.6627328,"latitude_deg":9.7044432,"altitude":17,"angle":155,"satellites":41,"speed":7,"hex_longitude":"2db1ce00","hex_latitude":"05c8c7d0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328004096001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377614478147059712,"note":"Value kept but may cause issues"} 
[2026-08-11 14:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5634777165182951424,"note":"Value kept but may cause issues"} 
[2026-08-11 14:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786437519000,"timestamp_ms":1786437519000,"timestamp_seconds":1786437519,"priority":1,"record_length":96,"hex_timestamp":"0000019feff94698"} 
[2026-08-11 14:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 14:09:26] 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-08-11 14: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-08-11 14:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:09:26] 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-08-11 14:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328004096001,"66":27843,"230":206,"83":18688,"24":7,"16":377614478147059712,"45":-5634777165182951424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,83,24,16,45]} 
[2026-08-11 14:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328004096001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:09:26] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-11 14:09:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377614478147059712,"km_value":377614478147059.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5634777165182951424,"description":"Unknown IO ID 45"} 
[2026-08-11 14:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328004096001,"power":27843,"unknown_230":206,"unknown_83":18688,"ignition":7,"odometer":null,"unknown_45":-5634777165182951424}} 
[2026-08-11 14:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":154911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:09:26] local.INFO: GPS data processed {"connection_id":154911,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:09:26] local.INFO: Acknowledgment sent {"connection_id":154911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:09:57] local.INFO: TCP Data received {"connection_id":154911,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff95e08012db1cec005c8c520001100c829..."} 
[2026-08-11 14:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff95e08012db1cec005c8c520001100c829..."} 
[2026-08-11 14:09:57] local.INFO: Processing buffer {"connection_id":154911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff95e08012db1cec005c8c520001100c829..."} 
[2026-08-11 14:09:57] local.INFO: Packet analysis {"connection_id":154911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff9"} 
[2026-08-11 14:09:57] local.INFO: Extracted packet for processing {"connection_id":154911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff9"} 
[2026-08-11 14:09:57] local.INFO: GPS Element Parsed {"raw_longitude":766627520,"raw_latitude":97043744,"longitude_deg":76.662752,"latitude_deg":9.7043744,"altitude":17,"angle":200,"satellites":41,"speed":9,"hex_longitude":"2db1cec0","hex_latitude":"05c8c520","is_valid_coordinates":true} 
[2026-08-11 14:09: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-08-11 14:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328004864001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377614516801765376,"note":"Value kept but may cause issues"} 
[2026-08-11 14:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5634566058950537216,"note":"Value kept but may cause issues"} 
[2026-08-11 14:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786437525000,"timestamp_ms":1786437525000,"timestamp_seconds":1786437525,"priority":1,"record_length":96,"hex_timestamp":"0000019feff95e08"} 
[2026-08-11 14:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:09: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":195,"data_length":795,"current_offset":136} 
[2026-08-11 14:09:57] 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-08-11 14:09: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-08-11 14:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:09:57] 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-08-11 14:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328004864001,"66":27865,"230":206,"83":18688,"24":9,"16":377614516801765376,"45":-5634566058950537216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,83,24,16,45]} 
[2026-08-11 14:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328004864001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:09:57] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-11 14:09:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377614516801765376,"km_value":377614516801765.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5634566058950537216,"description":"Unknown IO ID 45"} 
[2026-08-11 14:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328004864001,"power":27865,"unknown_230":206,"unknown_83":18688,"ignition":9,"odometer":null,"unknown_45":-5634566058950537216}} 
[2026-08-11 14:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":154911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:09:57] local.INFO: GPS data processed {"connection_id":154911,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:09:57] local.INFO: Acknowledgment sent {"connection_id":154911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:10:19] local.INFO: TCP Data received {"connection_id":152591,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:10:19] local.INFO: Processing buffer {"connection_id":152591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:10:19] local.INFO: IMEI packet received {"connection_id":152591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":152591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:10:20] local.INFO: TCP Data received {"connection_id":152590,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:10:20] local.INFO: Processing buffer {"connection_id":152590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:10:20] local.INFO: IMEI packet received {"connection_id":152590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":152590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:10:22] local.INFO: TCP Data received {"connection_id":152590,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019feff95a20012d19edc007202bb8002f00442b..."} 
[2026-08-11 14:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff95a20012d19edc007202bb8002f00442b..."} 
[2026-08-11 14:10:22] local.INFO: Processing buffer {"connection_id":152590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff95a20012d19edc007202bb8002f00442b..."} 
[2026-08-11 14:10:22] local.INFO: Packet analysis {"connection_id":152590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff9"} 
[2026-08-11 14:10:22] local.INFO: Extracted packet for processing {"connection_id":152590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff9"} 
[2026-08-11 14:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756673984,"raw_latitude":119548856,"longitude_deg":75.6673984,"latitude_deg":11.9548856,"altitude":47,"angle":68,"satellites":43,"speed":23,"hex_longitude":"2d19edc0","hex_latitude":"07202bb8","is_valid_coordinates":true} 
[2026-08-11 14:10: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-08-11 14:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328003584001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11612925848453120,"note":"Value kept but may cause issues"} 
[2026-08-11 14:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861605157824266240,"note":"Value kept but may cause issues"} 
[2026-08-11 14:10:22] 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-08-11 14:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786437524000,"timestamp_ms":1786437524000,"timestamp_seconds":1786437524,"priority":1,"record_length":96,"hex_timestamp":"0000019feff95a20"} 
[2026-08-11 14:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:10:22] 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-08-11 14:10: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-11 14:10:22] 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-08-11 14:10: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-08-11 14:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328003584001,"66":14070,"121":206,"28":31744,"24":23,"16":11612925848453120,"45":1861605157824266240},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328003584001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:10:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:10:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11612925848453120,"km_value":11612925848453.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861605157824266240,"description":"Unknown IO ID 45"} 
[2026-08-11 14:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328003584001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1861605157824266240}} 
[2026-08-11 14:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":152590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:10:22] local.INFO: GPS data processed {"connection_id":152590,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:10:22] local.INFO: Acknowledgment sent {"connection_id":152590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:10:24] local.INFO: TCP Data received {"connection_id":152591,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:10:24] local.INFO: Processing buffer {"connection_id":152591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:10:24] local.INFO: IMEI packet received {"connection_id":152591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":152591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:10:25] local.INFO: TCP Data received {"connection_id":152591,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feff961f0012db1ce0005c8c450001100e32a..."} 
[2026-08-11 14:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feff961f0012db1ce0005c8c450001100e32a..."} 
[2026-08-11 14:10:25] local.INFO: Processing buffer {"connection_id":152591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feff961f0012db1ce0005c8c450001100e32a..."} 
[2026-08-11 14:10:25] local.INFO: Packet analysis {"connection_id":152591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feff9"} 
[2026-08-11 14:10:25] local.INFO: Extracted packet for processing {"connection_id":152591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feff9"} 
[2026-08-11 14:10:25] local.INFO: GPS Element Parsed {"raw_longitude":766627328,"raw_latitude":97043536,"longitude_deg":76.6627328,"latitude_deg":9.7043536,"altitude":17,"angle":227,"satellites":42,"speed":10,"hex_longitude":"2db1ce00","hex_latitude":"05c8c450","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328006400001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377614529686667264,"note":"Value kept but may cause issues"} 
[2026-08-11 14:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5634354952718180352,"note":"Value kept but may cause issues"} 
[2026-08-11 14:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786437526000,"timestamp_ms":1786437526000,"timestamp_seconds":1786437526,"priority":1,"record_length":96,"hex_timestamp":"0000019feff961f0"} 
[2026-08-11 14:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:10:25] 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-08-11 14: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-08-11 14:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:10:25] 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-08-11 14:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328006400001,"66":27767,"230":206,"83":18688,"24":10,"16":377614529686667264,"45":-5634354952718180352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,83,24,16,45]} 
[2026-08-11 14:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328006400001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:10:25] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-11 14:10:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377614529686667264,"km_value":377614529686667.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5634354952718180352,"description":"Unknown IO ID 45"} 
[2026-08-11 14:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328006400001,"power":27767,"unknown_230":206,"unknown_83":18688,"ignition":10,"odometer":null,"unknown_45":-5634354952718180352}} 
[2026-08-11 14:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":152591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:10:25] local.INFO: GPS data processed {"connection_id":152591,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:10:25] local.INFO: Acknowledgment sent {"connection_id":152591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:10:53] local.INFO: TCP Data received {"connection_id":152590,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019feffaaa10012d19f68007202ec80035012929..."} 
[2026-08-11 14:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffaaa10012d19f68007202ec80035012929..."} 
[2026-08-11 14:10:53] local.INFO: Processing buffer {"connection_id":152590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffaaa10012d19f68007202ec80035012929..."} 
[2026-08-11 14:10:53] local.INFO: Packet analysis {"connection_id":152590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffa"} 
[2026-08-11 14:10:53] local.INFO: Extracted packet for processing {"connection_id":152590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffa"} 
[2026-08-11 14:10:53] local.INFO: GPS Element Parsed {"raw_longitude":756676224,"raw_latitude":119549640,"longitude_deg":75.6676224,"latitude_deg":11.954964,"altitude":53,"angle":297,"satellites":41,"speed":9,"hex_longitude":"2d19f680","hex_latitude":"07202ec8","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328027136001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11613595863351296,"note":"Value kept but may cause issues"} 
[2026-08-11 14:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872019731962867712,"note":"Value kept but may cause issues"} 
[2026-08-11 14:10: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-08-11 14:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786437610000,"timestamp_ms":1786437610000,"timestamp_seconds":1786437610,"priority":1,"record_length":96,"hex_timestamp":"0000019feffaaa10"} 
[2026-08-11 14:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:10: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-08-11 14: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 14:10:53] 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-08-11 14: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-08-11 14:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328027136001,"66":14396,"121":206,"28":31744,"24":9,"16":11613595863351296,"45":1872019731962867712},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328027136001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:10:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:10:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11613595863351296,"km_value":11613595863351.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872019731962867712,"description":"Unknown IO ID 45"} 
[2026-08-11 14:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328027136001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1872019731962867712}} 
[2026-08-11 14:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":152590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:10:53] local.INFO: GPS data processed {"connection_id":152590,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:10:53] local.INFO: Acknowledgment sent {"connection_id":152590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:10:56] local.INFO: TCP Data received {"connection_id":152591,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feffa6f78012db1150005c86e38001600ea29..."} 
[2026-08-11 14:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffa6f78012db1150005c86e38001600ea29..."} 
[2026-08-11 14:10:56] local.INFO: Processing buffer {"connection_id":152591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffa6f78012db1150005c86e38001600ea29..."} 
[2026-08-11 14:10:56] local.INFO: Packet analysis {"connection_id":152591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffa"} 
[2026-08-11 14:10:56] local.INFO: Extracted packet for processing {"connection_id":152591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffa"} 
[2026-08-11 14:10:56] local.INFO: GPS Element Parsed {"raw_longitude":766579968,"raw_latitude":97021496,"longitude_deg":76.6579968,"latitude_deg":9.7021496,"altitude":22,"angle":234,"satellites":41,"speed":29,"hex_longitude":"2db11500","hex_latitude":"05c86e38","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328023040001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377617085192208384,"note":"Value kept but may cause issues"} 
[2026-08-11 14:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5683050123694346240,"note":"Value kept but may cause issues"} 
[2026-08-11 14:10: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-08-11 14:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786437595000,"timestamp_ms":1786437595000,"timestamp_seconds":1786437595,"priority":1,"record_length":96,"hex_timestamp":"0000019feffa6f78"} 
[2026-08-11 14:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:10:56] 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-08-11 14: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-08-11 14:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:10:56] 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-08-11 14:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328023040001,"66":27821,"102":206,"83":18688,"24":29,"16":377617085192208384,"45":-5683050123694346240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 14:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328023040001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:10:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 14:10:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377617085192208384,"km_value":377617085192208.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5683050123694346240,"description":"Unknown IO ID 45"} 
[2026-08-11 14:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328023040001,"power":27821,"unknown_102":206,"unknown_83":18688,"ignition":29,"odometer":null,"unknown_45":-5683050123694346240}} 
[2026-08-11 14:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":152591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:10:56] local.INFO: GPS data processed {"connection_id":152591,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:10:56] local.INFO: Acknowledgment sent {"connection_id":152591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:11:13] local.INFO: TCP Data received {"connection_id":152216,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:11:13] local.INFO: Processing buffer {"connection_id":152216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:11:13] local.INFO: IMEI packet received {"connection_id":152216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":152216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:11:14] local.INFO: TCP Data received {"connection_id":152216,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:11:14] local.INFO: Processing buffer {"connection_id":152216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:11:14] local.INFO: IMEI packet received {"connection_id":152216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":152216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:11:15] local.INFO: TCP Data received {"connection_id":152216,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:11:15] local.INFO: Processing buffer {"connection_id":152216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:11:15] local.INFO: IMEI packet received {"connection_id":152216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":152216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:11:16] local.INFO: TCP Data received {"connection_id":152216,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:11:16] local.INFO: Processing buffer {"connection_id":152216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:11:16] local.INFO: IMEI packet received {"connection_id":152216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":152216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:11:20] local.INFO: TCP Data received {"connection_id":152216,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019feffaadf8012d19f5c007202ef80035010b29..."} 
[2026-08-11 14:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffaadf8012d19f5c007202ef80035010b29..."} 
[2026-08-11 14:11:20] local.INFO: Processing buffer {"connection_id":152216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffaadf8012d19f5c007202ef80035010b29..."} 
[2026-08-11 14:11:20] local.INFO: Packet analysis {"connection_id":152216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffa"} 
[2026-08-11 14:11:20] local.INFO: Extracted packet for processing {"connection_id":152216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffa"} 
[2026-08-11 14:11:20] local.INFO: GPS Element Parsed {"raw_longitude":756676032,"raw_latitude":119549688,"longitude_deg":75.6676032,"latitude_deg":11.9549688,"altitude":53,"angle":267,"satellites":41,"speed":9,"hex_longitude":"2d19f5c0","hex_latitude":"07202ef8","is_valid_coordinates":true} 
[2026-08-11 14:11: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-08-11 14:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328028160001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11613608748253184,"note":"Value kept but may cause issues"} 
[2026-08-11 14:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870823463312082944,"note":"Value kept but may cause issues"} 
[2026-08-11 14:11:20] 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-08-11 14:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786437611000,"timestamp_ms":1786437611000,"timestamp_seconds":1786437611,"priority":1,"record_length":96,"hex_timestamp":"0000019feffaadf8"} 
[2026-08-11 14:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:11:20] 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-08-11 14:11: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 14:11:20] 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-08-11 14:11: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-08-11 14:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328028160001,"66":14374,"121":206,"28":31744,"24":9,"16":11613608748253184,"45":1870823463312082944},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328028160001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:11:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:11:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11613608748253184,"km_value":11613608748253.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870823463312082944,"description":"Unknown IO ID 45"} 
[2026-08-11 14:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328028160001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1870823463312082944}} 
[2026-08-11 14:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":152216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:11:20] local.INFO: GPS data processed {"connection_id":152216,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:11:20] local.INFO: Acknowledgment sent {"connection_id":152216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:11:21] local.INFO: TCP Data received {"connection_id":152216,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019feffab1e0012d19f48007202e88003500f529..."} 
[2026-08-11 14:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffab1e0012d19f48007202e88003500f529..."} 
[2026-08-11 14:11:21] local.INFO: Processing buffer {"connection_id":152216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffab1e0012d19f48007202e88003500f529..."} 
[2026-08-11 14:11:21] local.INFO: Packet analysis {"connection_id":152216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffa"} 
[2026-08-11 14:11:21] local.INFO: Extracted packet for processing {"connection_id":152216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffa"} 
[2026-08-11 14:11:21] local.INFO: GPS Element Parsed {"raw_longitude":756675712,"raw_latitude":119549576,"longitude_deg":75.6675712,"latitude_deg":11.9549576,"altitude":53,"angle":245,"satellites":41,"speed":13,"hex_longitude":"2d19f480","hex_latitude":"07202e88","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328028416001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11613621633155072,"note":"Value kept but may cause issues"} 
[2026-08-11 14:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870612357079562240,"note":"Value kept but may cause issues"} 
[2026-08-11 14:11:21] 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-08-11 14:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786437612000,"timestamp_ms":1786437612000,"timestamp_seconds":1786437612,"priority":1,"record_length":96,"hex_timestamp":"0000019feffab1e0"} 
[2026-08-11 14:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:11:21] 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-08-11 14: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 14:11:21] 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-08-11 14: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-08-11 14:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328028416001,"66":14374,"121":206,"28":31744,"24":13,"16":11613621633155072,"45":1870612357079562240},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328028416001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:11:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:11:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11613621633155072,"km_value":11613621633155.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870612357079562240,"description":"Unknown IO ID 45"} 
[2026-08-11 14:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328028416001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1870612357079562240}} 
[2026-08-11 14:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":152216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:11:21] local.INFO: GPS data processed {"connection_id":152216,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:11:21] local.INFO: Acknowledgment sent {"connection_id":152216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:11:24] local.INFO: TCP Data received {"connection_id":152592,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:11:24] local.INFO: Processing buffer {"connection_id":152592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:11:24] local.INFO: IMEI packet received {"connection_id":152592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":152592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:11:29] local.INFO: TCP Data received {"connection_id":152592,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:11:29] local.INFO: Processing buffer {"connection_id":152592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:11:29] local.INFO: IMEI packet received {"connection_id":152592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":152592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:11:30] local.INFO: TCP Data received {"connection_id":152592,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feffa8eb8012db101c005c86148001900f52a..."} 
[2026-08-11 14:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffa8eb8012db101c005c86148001900f52a..."} 
[2026-08-11 14:11:30] local.INFO: Processing buffer {"connection_id":152592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffa8eb8012db101c005c86148001900f52a..."} 
[2026-08-11 14:11:30] local.INFO: Packet analysis {"connection_id":152592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffa"} 
[2026-08-11 14:11:30] local.INFO: Extracted packet for processing {"connection_id":152592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffa"} 
[2026-08-11 14:11:30] local.INFO: GPS Element Parsed {"raw_longitude":766575040,"raw_latitude":97018184,"longitude_deg":76.657504,"latitude_deg":9.7018184,"altitude":25,"angle":245,"satellites":42,"speed":30,"hex_longitude":"2db101c0","hex_latitude":"05c86148","is_valid_coordinates":true} 
[2026-08-11 14:11: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-08-11 14:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328024320001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377617372955017216,"note":"Value kept but may cause issues"} 
[2026-08-11 14:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5686638929647880192,"note":"Value kept but may cause issues"} 
[2026-08-11 14:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786437603000,"timestamp_ms":1786437603000,"timestamp_seconds":1786437603,"priority":1,"record_length":96,"hex_timestamp":"0000019feffa8eb8"} 
[2026-08-11 14:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 14:11:30] 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-08-11 14:11: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-08-11 14:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:11:30] 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-08-11 14:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328024320001,"66":27789,"102":206,"83":18688,"24":30,"16":377617372955017216,"45":-5686638929647880192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 14:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328024320001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:11:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 14:11:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377617372955017216,"km_value":377617372955017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5686638929647880192,"description":"Unknown IO ID 45"} 
[2026-08-11 14:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328024320001,"power":27789,"unknown_102":206,"unknown_83":18688,"ignition":30,"odometer":null,"unknown_45":-5686638929647880192}} 
[2026-08-11 14:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":152592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:11:30] local.INFO: GPS data processed {"connection_id":152592,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:11:30] local.INFO: Acknowledgment sent {"connection_id":152592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:11:52] local.INFO: TCP Data received {"connection_id":152216,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019feffb9088012d19ac80072092280032000927..."} 
[2026-08-11 14:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffb9088012d19ac80072092280032000927..."} 
[2026-08-11 14:11:52] local.INFO: Processing buffer {"connection_id":152216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffb9088012d19ac80072092280032000927..."} 
[2026-08-11 14:11:52] local.INFO: Packet analysis {"connection_id":152216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffb"} 
[2026-08-11 14:11:52] local.INFO: Extracted packet for processing {"connection_id":152216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffb"} 
[2026-08-11 14:11:52] local.INFO: GPS Element Parsed {"raw_longitude":756657280,"raw_latitude":119575080,"longitude_deg":75.665728,"latitude_deg":11.957508,"altitude":50,"angle":9,"satellites":39,"speed":35,"hex_longitude":"2d19ac80","hex_latitude":"07209228","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328042752001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11615696102359040,"note":"Value kept but may cause issues"} 
[2026-08-11 14:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683785713664,"note":"Value kept but may cause issues"} 
[2026-08-11 14:11: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-08-11 14:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786437669000,"timestamp_ms":1786437669000,"timestamp_seconds":1786437669,"priority":1,"record_length":96,"hex_timestamp":"0000019feffb9088"} 
[2026-08-11 14:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:11: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-08-11 14: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-11 14:11:52] 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-08-11 14: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-08-11 14:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328042752001,"66":13091,"121":206,"28":31744,"24":35,"16":11615696102359040,"45":1850064683785713664},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328042752001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:11:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:11:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11615696102359040,"km_value":11615696102359.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683785713664,"description":"Unknown IO ID 45"} 
[2026-08-11 14:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328042752001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1850064683785713664}} 
[2026-08-11 14:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":152216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:11:52] local.INFO: GPS data processed {"connection_id":152216,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:11:52] local.INFO: Acknowledgment sent {"connection_id":152216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:12:01] local.INFO: TCP Data received {"connection_id":152592,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feffaa628012db0f1c005c85cd0001a010129..."} 
[2026-08-11 14:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffaa628012db0f1c005c85cd0001a010129..."} 
[2026-08-11 14:12:01] local.INFO: Processing buffer {"connection_id":152592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffaa628012db0f1c005c85cd0001a010129..."} 
[2026-08-11 14:12:01] local.INFO: Packet analysis {"connection_id":152592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffa"} 
[2026-08-11 14:12:01] local.INFO: Extracted packet for processing {"connection_id":152592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffa"} 
[2026-08-11 14:12:01] local.INFO: GPS Element Parsed {"raw_longitude":766570944,"raw_latitude":97017040,"longitude_deg":76.6570944,"latitude_deg":9.701704,"altitude":26,"angle":257,"satellites":41,"speed":25,"hex_longitude":"2db0f1c0","hex_latitude":"05c85cd0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328026368001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377617574818480128,"note":"Value kept but may cause issues"} 
[2026-08-11 14:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5692057322950408192,"note":"Value kept but may cause issues"} 
[2026-08-11 14:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786437609000,"timestamp_ms":1786437609000,"timestamp_seconds":1786437609,"priority":1,"record_length":96,"hex_timestamp":"0000019feffaa628"} 
[2026-08-11 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-08-11 14:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-11 14:12:01] 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-08-11 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-08-11 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-08-11 14:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:12:01] 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-08-11 14:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328026368001,"66":27974,"102":206,"83":18688,"24":25,"16":377617574818480128,"45":-5692057322950408192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 14:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328026368001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:12:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 14:12:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377617574818480128,"km_value":377617574818480.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5692057322950408192,"description":"Unknown IO ID 45"} 
[2026-08-11 14:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328026368001,"power":27974,"unknown_102":206,"unknown_83":18688,"ignition":25,"odometer":null,"unknown_45":-5692057322950408192}} 
[2026-08-11 14:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":152592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:12:01] local.INFO: GPS data processed {"connection_id":152592,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:12:01] local.INFO: Acknowledgment sent {"connection_id":152592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:12:06] local.INFO: TCP Data received {"connection_id":152593,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:12:06] local.INFO: Processing buffer {"connection_id":152593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:12:06] local.INFO: IMEI packet received {"connection_id":152593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":152593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:12:10] local.INFO: TCP Data received {"connection_id":152593,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:12:10] local.INFO: Processing buffer {"connection_id":152593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:12:10] local.INFO: IMEI packet received {"connection_id":152593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":152593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:12:14] local.INFO: TCP Data received {"connection_id":152593,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:12:14] local.INFO: Processing buffer {"connection_id":152593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:12:14] local.INFO: IMEI packet received {"connection_id":152593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":152593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:12:15] local.INFO: TCP Data received {"connection_id":152593,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019feffb9470012d19ae00072095600032001628..."} 
[2026-08-11 14:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffb9470012d19ae00072095600032001628..."} 
[2026-08-11 14:12:15] local.INFO: Processing buffer {"connection_id":152593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffb9470012d19ae00072095600032001628..."} 
[2026-08-11 14:12:15] local.INFO: Packet analysis {"connection_id":152593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffb"} 
[2026-08-11 14:12:15] local.INFO: Extracted packet for processing {"connection_id":152593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffb"} 
[2026-08-11 14:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119575904,"longitude_deg":75.6657664,"latitude_deg":11.9575904,"altitude":50,"angle":22,"satellites":40,"speed":34,"hex_longitude":"2d19ae00","hex_latitude":"07209560","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328043264001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11615739052032000,"note":"Value kept but may cause issues"} 
[2026-08-11 14:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849994315042007040,"note":"Value kept but may cause issues"} 
[2026-08-11 14:12:15] 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-08-11 14:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786437670000,"timestamp_ms":1786437670000,"timestamp_seconds":1786437670,"priority":1,"record_length":96,"hex_timestamp":"0000019feffb9470"} 
[2026-08-11 14:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:12:15] 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-08-11 14: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-11 14:12:15] 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-08-11 14: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-08-11 14:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328043264001,"66":13091,"121":206,"28":31744,"24":34,"16":11615739052032000,"45":1849994315042007040},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328043264001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:12:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:12:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11615739052032000,"km_value":11615739052032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849994315042007040,"description":"Unknown IO ID 45"} 
[2026-08-11 14:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328043264001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1849994315042007040}} 
[2026-08-11 14:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":152593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:12:15] local.INFO: GPS data processed {"connection_id":152593,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:12:15] local.INFO: Acknowledgment sent {"connection_id":152593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:12:19] local.INFO: TCP Data received {"connection_id":152217,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:12:19] local.INFO: Processing buffer {"connection_id":152217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:12:19] local.INFO: IMEI packet received {"connection_id":152217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":152217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:12:24] local.INFO: TCP Data received {"connection_id":152217,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:12:24] local.INFO: Processing buffer {"connection_id":152217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:12:24] local.INFO: IMEI packet received {"connection_id":152217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":152217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:12:25] local.INFO: TCP Data received {"connection_id":152217,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feffae0c0012db0d10005c85360001700f528..."} 
[2026-08-11 14:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffae0c0012db0d10005c85360001700f528..."} 
[2026-08-11 14:12:25] local.INFO: Processing buffer {"connection_id":152217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffae0c0012db0d10005c85360001700f528..."} 
[2026-08-11 14:12:25] local.INFO: Packet analysis {"connection_id":152217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffa"} 
[2026-08-11 14:12:25] local.INFO: Extracted packet for processing {"connection_id":152217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffa"} 
[2026-08-11 14:12:25] local.INFO: GPS Element Parsed {"raw_longitude":766562560,"raw_latitude":97014624,"longitude_deg":76.656256,"latitude_deg":9.7014624,"altitude":23,"angle":245,"satellites":40,"speed":26,"hex_longitude":"2db0d100","hex_latitude":"05c85360","is_valid_coordinates":true} 
[2026-08-11 14:12: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-08-11 14:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328027904001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377617991430307840,"note":"Value kept but may cause issues"} 
[2026-08-11 14:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5696560922578071552,"note":"Value kept but may cause issues"} 
[2026-08-11 14:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786437624000,"timestamp_ms":1786437624000,"timestamp_seconds":1786437624,"priority":1,"record_length":96,"hex_timestamp":"0000019feffae0c0"} 
[2026-08-11 14:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 14:12:25] 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-08-11 14:12: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-08-11 14:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:12:25] 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-08-11 14:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328027904001,"66":27865,"102":206,"83":18688,"24":26,"16":377617991430307840,"45":-5696560922578071552},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 14:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328027904001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:12:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 14:12:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377617991430307840,"km_value":377617991430307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5696560922578071552,"description":"Unknown IO ID 45"} 
[2026-08-11 14:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328027904001,"power":27865,"unknown_102":206,"unknown_83":18688,"ignition":26,"odometer":null,"unknown_45":-5696560922578071552}} 
[2026-08-11 14:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":152217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:12:25] local.INFO: GPS data processed {"connection_id":152217,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:12:25] local.INFO: Acknowledgment sent {"connection_id":152217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:12:49] local.INFO: TCP Data received {"connection_id":152593,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019feffc0d88012d19e6000720b2a8003200542b..."} 
[2026-08-11 14:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffc0d88012d19e6000720b2a8003200542b..."} 
[2026-08-11 14:12:49] local.INFO: Processing buffer {"connection_id":152593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffc0d88012d19e6000720b2a8003200542b..."} 
[2026-08-11 14:12:49] local.INFO: Packet analysis {"connection_id":152593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffc"} 
[2026-08-11 14:12:49] local.INFO: Extracted packet for processing {"connection_id":152593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffc"} 
[2026-08-11 14:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756672000,"raw_latitude":119583400,"longitude_deg":75.6672,"latitude_deg":11.95834,"altitude":50,"angle":84,"satellites":43,"speed":21,"hex_longitude":"2d19e600","hex_latitude":"0720b2a8","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328050944001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11616585160589312,"note":"Value kept but may cause issues"} 
[2026-08-11 14:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864912488809814016,"note":"Value kept but may cause issues"} 
[2026-08-11 14:12:49] 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-08-11 14:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786437701000,"timestamp_ms":1786437701000,"timestamp_seconds":1786437701,"priority":1,"record_length":96,"hex_timestamp":"0000019feffc0d88"} 
[2026-08-11 14:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:12:49] 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-08-11 14: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-11 14:12:49] 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-08-11 14: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-08-11 14:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328050944001,"66":13091,"121":206,"28":31744,"24":21,"16":11616585160589312,"45":1864912488809814016},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328050944001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:12:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:12:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11616585160589312,"km_value":11616585160589.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864912488809814016,"description":"Unknown IO ID 45"} 
[2026-08-11 14:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328050944001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1864912488809814016}} 
[2026-08-11 14:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":152593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:12:49] local.INFO: GPS data processed {"connection_id":152593,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:12:49] local.INFO: Acknowledgment sent {"connection_id":152593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:12:58] local.INFO: TCP Data received {"connection_id":152217,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feffc53d8012dafe94005c7ddd0000f00fd23..."} 
[2026-08-11 14:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffc53d8012dafe94005c7ddd0000f00fd23..."} 
[2026-08-11 14:12:58] local.INFO: Processing buffer {"connection_id":152217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffc53d8012dafe94005c7ddd0000f00fd23..."} 
[2026-08-11 14:12:58] local.INFO: Packet analysis {"connection_id":152217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffc"} 
[2026-08-11 14:12:58] local.INFO: Extracted packet for processing {"connection_id":152217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffc"} 
[2026-08-11 14:12:58] local.INFO: GPS Element Parsed {"raw_longitude":766503232,"raw_latitude":96984528,"longitude_deg":76.6503232,"latitude_deg":9.6984528,"altitude":15,"angle":253,"satellites":35,"speed":33,"hex_longitude":"2dafe940","hex_latitude":"05c7ddd0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328052992001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377621272785321984,"note":"Value kept but may cause issues"} 
[2026-08-11 14:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5760385373555134464,"note":"Value kept but may cause issues"} 
[2026-08-11 14:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786437719000,"timestamp_ms":1786437719000,"timestamp_seconds":1786437719,"priority":1,"record_length":96,"hex_timestamp":"0000019feffc53d8"} 
[2026-08-11 14:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 14:12:58] 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-08-11 14: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-08-11 14:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:12:58] 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-08-11 14:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328052992001,"66":27104,"100":206,"83":18688,"24":33,"16":377621272785321984,"45":-5760385373555134464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,83,24,16,45]} 
[2026-08-11 14:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328052992001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:12:58] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 14:12:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377621272785321984,"km_value":377621272785322.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5760385373555134464,"description":"Unknown IO ID 45"} 
[2026-08-11 14:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328052992001,"power":27104,"unknown_100":206,"unknown_83":18688,"ignition":33,"odometer":null,"unknown_45":-5760385373555134464}} 
[2026-08-11 14:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":152217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:12:58] local.INFO: GPS data processed {"connection_id":152217,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:12:58] local.INFO: Acknowledgment sent {"connection_id":152217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:13:10] local.INFO: TCP Data received {"connection_id":154912,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:13:10] local.INFO: Processing buffer {"connection_id":154912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:13:10] local.INFO: IMEI packet received {"connection_id":154912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":154912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:13:16] local.INFO: TCP Data received {"connection_id":154912,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:13:16] local.INFO: Processing buffer {"connection_id":154912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:13:16] local.INFO: IMEI packet received {"connection_id":154912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":154912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:13:17] local.INFO: TCP Data received {"connection_id":154912,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019feffc1558012d19e9c00720b350003200472b..."} 
[2026-08-11 14:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffc1558012d19e9c00720b350003200472b..."} 
[2026-08-11 14:13:17] local.INFO: Processing buffer {"connection_id":154912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffc1558012d19e9c00720b350003200472b..."} 
[2026-08-11 14:13:17] local.INFO: Packet analysis {"connection_id":154912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffc"} 
[2026-08-11 14:13:17] local.INFO: Extracted packet for processing {"connection_id":154912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffc"} 
[2026-08-11 14:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756672960,"raw_latitude":119583568,"longitude_deg":75.667296,"latitude_deg":11.9583568,"altitude":50,"angle":71,"satellites":43,"speed":15,"hex_longitude":"2d19e9c0","hex_latitude":"0720b350","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328051456001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11616632405229568,"note":"Value kept but may cause issues"} 
[2026-08-11 14:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866179126204999680,"note":"Value kept but may cause issues"} 
[2026-08-11 14:13:17] 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-08-11 14:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786437703000,"timestamp_ms":1786437703000,"timestamp_seconds":1786437703,"priority":1,"record_length":96,"hex_timestamp":"0000019feffc1558"} 
[2026-08-11 14:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:13:17] 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-08-11 14: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-11 14:13:17] 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-08-11 14: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-08-11 14:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328051456001,"66":13102,"121":206,"28":31744,"24":15,"16":11616632405229568,"45":1866179126204999680},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328051456001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:13:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:13:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11616632405229568,"km_value":11616632405229.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866179126204999680,"description":"Unknown IO ID 45"} 
[2026-08-11 14:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328051456001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1866179126204999680}} 
[2026-08-11 14:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":154912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:13:17] local.INFO: GPS data processed {"connection_id":154912,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:13:17] local.INFO: Acknowledgment sent {"connection_id":154912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:13:19] local.INFO: TCP Data received {"connection_id":152218,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:13:19] local.INFO: Processing buffer {"connection_id":152218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:13:19] local.INFO: IMEI packet received {"connection_id":152218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":152218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:13:23] local.INFO: TCP Data received {"connection_id":152218,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:13:23] local.INFO: Processing buffer {"connection_id":152218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:13:23] local.INFO: IMEI packet received {"connection_id":152218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":152218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:13:24] local.INFO: TCP Data received {"connection_id":152218,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:13:24] local.INFO: Processing buffer {"connection_id":152218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:13:24] local.INFO: IMEI packet received {"connection_id":152218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":152218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:13:25] local.INFO: TCP Data received {"connection_id":152218,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feffc53d8012dafe94005c7ddd0000f00fd23..."} 
[2026-08-11 14:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffc53d8012dafe94005c7ddd0000f00fd23..."} 
[2026-08-11 14:13:25] local.INFO: Processing buffer {"connection_id":152218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffc53d8012dafe94005c7ddd0000f00fd23..."} 
[2026-08-11 14:13:25] local.INFO: Packet analysis {"connection_id":152218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffc"} 
[2026-08-11 14:13:25] local.INFO: Extracted packet for processing {"connection_id":152218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffc"} 
[2026-08-11 14:13:25] local.INFO: GPS Element Parsed {"raw_longitude":766503232,"raw_latitude":96984528,"longitude_deg":76.6503232,"latitude_deg":9.6984528,"altitude":15,"angle":253,"satellites":35,"speed":33,"hex_longitude":"2dafe940","hex_latitude":"05c7ddd0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328056064001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377621272785321984,"note":"Value kept but may cause issues"} 
[2026-08-11 14:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5771011053926363136,"note":"Value kept but may cause issues"} 
[2026-08-11 14:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786437719000,"timestamp_ms":1786437719000,"timestamp_seconds":1786437719,"priority":1,"record_length":96,"hex_timestamp":"0000019feffc53d8"} 
[2026-08-11 14:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-11 14:13:25] 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-08-11 14: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-08-11 14:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:13:25] 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-08-11 14:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328056064001,"66":27104,"100":206,"83":18688,"24":33,"16":377621272785321984,"45":-5771011053926363136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,83,24,16,45]} 
[2026-08-11 14:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328056064001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:13:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 14:13:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377621272785321984,"km_value":377621272785322.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5771011053926363136,"description":"Unknown IO ID 45"} 
[2026-08-11 14:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328056064001,"power":27104,"unknown_100":206,"unknown_83":18688,"ignition":33,"odometer":null,"unknown_45":-5771011053926363136}} 
[2026-08-11 14:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":152218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:13:25] local.INFO: GPS data processed {"connection_id":152218,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:13:25] local.INFO: Acknowledgment sent {"connection_id":152218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:13:49] local.INFO: TCP Data received {"connection_id":154912,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019feffc6760012d19ec000720b3f0003200422b..."} 
[2026-08-11 14:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffc6760012d19ec000720b3f0003200422b..."} 
[2026-08-11 14:13:49] local.INFO: Processing buffer {"connection_id":154912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffc6760012d19ec000720b3f0003200422b..."} 
[2026-08-11 14:13:49] local.INFO: Packet analysis {"connection_id":154912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffc"} 
[2026-08-11 14:13:49] local.INFO: Extracted packet for processing {"connection_id":154912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffc"} 
[2026-08-11 14:13:49] local.INFO: GPS Element Parsed {"raw_longitude":756673536,"raw_latitude":119583728,"longitude_deg":75.6673536,"latitude_deg":11.9583728,"altitude":50,"angle":66,"satellites":43,"speed":0,"hex_longitude":"2d19ec00","hex_latitude":"0720b3f0","is_valid_coordinates":true} 
[2026-08-11 14:13: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-08-11 14:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328051968001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11616662470000640,"note":"Value kept but may cause issues"} 
[2026-08-11 14:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867234657367707648,"note":"Value kept but may cause issues"} 
[2026-08-11 14:13:49] 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-08-11 14:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786437724000,"timestamp_ms":1786437724000,"timestamp_seconds":1786437724,"priority":1,"record_length":96,"hex_timestamp":"0000019feffc6760"} 
[2026-08-11 14:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:13:49] 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-08-11 14:13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 14:13:49] 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-08-11 14:13: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-08-11 14:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328051968001,"66":13080,"121":206,"28":31744,"24":0,"16":11616662470000640,"45":1867234657367707648},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328051968001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:13:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:13:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11616662470000640,"km_value":11616662470000.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867234657367707648,"description":"Unknown IO ID 45"} 
[2026-08-11 14:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328051968001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1867234657367707648}} 
[2026-08-11 14:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":154912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:13:49] local.INFO: GPS data processed {"connection_id":154912,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:13:49] local.INFO: Acknowledgment sent {"connection_id":154912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:13:56] local.INFO: TCP Data received {"connection_id":152218,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feffc7ed0012dafc54005c7d108000e00f727..."} 
[2026-08-11 14:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffc7ed0012dafc54005c7d108000e00f727..."} 
[2026-08-11 14:13:56] local.INFO: Processing buffer {"connection_id":152218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffc7ed0012dafc54005c7d108000e00f727..."} 
[2026-08-11 14:13:56] local.INFO: Packet analysis {"connection_id":152218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffc"} 
[2026-08-11 14:13:56] local.INFO: Extracted packet for processing {"connection_id":152218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffc"} 
[2026-08-11 14:13:56] local.INFO: GPS Element Parsed {"raw_longitude":766494016,"raw_latitude":96981256,"longitude_deg":76.6494016,"latitude_deg":9.6981256,"altitude":14,"angle":247,"satellites":39,"speed":36,"hex_longitude":"2dafc540","hex_latitude":"05c7d108","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328056064001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377621745231724544,"note":"Value kept but may cause issues"} 
[2026-08-11 14:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5771011053926363136,"note":"Value kept but may cause issues"} 
[2026-08-11 14:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786437730000,"timestamp_ms":1786437730000,"timestamp_seconds":1786437730,"priority":1,"record_length":96,"hex_timestamp":"0000019feffc7ed0"} 
[2026-08-11 14:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-11 14:13:56] 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-08-11 14: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-08-11 14:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:13:56] 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-08-11 14:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328056064001,"66":27930,"100":206,"83":18688,"24":36,"16":377621745231724544,"45":-5771011053926363136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,83,24,16,45]} 
[2026-08-11 14:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328056064001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:13:56] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 14:13:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377621745231724544,"km_value":377621745231724.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5771011053926363136,"description":"Unknown IO ID 45"} 
[2026-08-11 14:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328056064001,"power":27930,"unknown_100":206,"unknown_83":18688,"ignition":36,"odometer":null,"unknown_45":-5771011053926363136}} 
[2026-08-11 14:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":152218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:13:56] local.INFO: GPS data processed {"connection_id":152218,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:13:56] local.INFO: Acknowledgment sent {"connection_id":152218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:14:11] local.INFO: TCP Data received {"connection_id":153535,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:14:11] local.INFO: Processing buffer {"connection_id":153535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:14:11] local.INFO: IMEI packet received {"connection_id":153535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":153535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:14:24] local.INFO: TCP Data received {"connection_id":153536,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:14:24] local.INFO: Processing buffer {"connection_id":153536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:14:24] local.INFO: IMEI packet received {"connection_id":153536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":153536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:14:26] local.INFO: TCP Data received {"connection_id":153536,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:14:26] local.INFO: Processing buffer {"connection_id":153536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:14:26] local.INFO: IMEI packet received {"connection_id":153536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":153536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:14:27] local.INFO: TCP Data received {"connection_id":153536,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feffdab98012daebb0005c6fe70000f00f128..."} 
[2026-08-11 14:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffdab98012daebb0005c6fe70000f00f128..."} 
[2026-08-11 14:14:27] local.INFO: Processing buffer {"connection_id":153536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffdab98012daebb0005c6fe70000f00f128..."} 
[2026-08-11 14:14:27] local.INFO: Packet analysis {"connection_id":153536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffd"} 
[2026-08-11 14:14:27] local.INFO: Extracted packet for processing {"connection_id":153536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffd"} 
[2026-08-11 14:14:27] local.INFO: GPS Element Parsed {"raw_longitude":766425856,"raw_latitude":96927344,"longitude_deg":76.6425856,"latitude_deg":9.6927344,"altitude":15,"angle":241,"satellites":40,"speed":43,"hex_longitude":"2daebb00","hex_latitude":"05c6fe70","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328076288001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377625984364445696,"note":"Value kept but may cause issues"} 
[2026-08-11 14:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5846516716442431488,"note":"Value kept but may cause issues"} 
[2026-08-11 14:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786437807000,"timestamp_ms":1786437807000,"timestamp_seconds":1786437807,"priority":1,"record_length":96,"hex_timestamp":"0000019feffdab98"} 
[2026-08-11 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-08-11 14:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 14:14:27] 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-08-11 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-08-11 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-08-11 14:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:14:27] 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-08-11 14:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328076288001,"66":27832,"218":206,"83":18688,"24":43,"16":377625984364445696,"45":-5846516716442431488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-08-11 14:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328076288001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:14:27] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-11 14:14:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377625984364445696,"km_value":377625984364445.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5846516716442431488,"description":"Unknown IO ID 45"} 
[2026-08-11 14:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328076288001,"power":27832,"unknown_218":206,"unknown_83":18688,"ignition":43,"odometer":null,"unknown_45":-5846516716442431488}} 
[2026-08-11 14:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":153536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:14:27] local.INFO: GPS data processed {"connection_id":153536,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:14:27] local.INFO: Acknowledgment sent {"connection_id":153536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:14:36] local.INFO: TCP Data received {"connection_id":153535,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:14:36] local.INFO: Processing buffer {"connection_id":153535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:14:36] local.INFO: IMEI packet received {"connection_id":153535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":153535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:14:53] local.INFO: TCP Data received {"connection_id":153535,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019feffcb968012d19ec000720b3f00032004229..."} 
[2026-08-11 14:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffcb968012d19ec000720b3f00032004229..."} 
[2026-08-11 14:14:53] local.INFO: Processing buffer {"connection_id":153535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffcb968012d19ec000720b3f00032004229..."} 
[2026-08-11 14:14:53] local.INFO: Packet analysis {"connection_id":153535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffc"} 
[2026-08-11 14:14:53] local.INFO: Extracted packet for processing {"connection_id":153535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffc"} 
[2026-08-11 14:14:53] local.INFO: GPS Element Parsed {"raw_longitude":756673536,"raw_latitude":119583728,"longitude_deg":75.6673536,"latitude_deg":11.9583728,"altitude":50,"angle":66,"satellites":41,"speed":0,"hex_longitude":"2d19ec00","hex_latitude":"0720b3f0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328057344001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11616662470000640,"note":"Value kept but may cause issues"} 
[2026-08-11 14:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867867976065347584,"note":"Value kept but may cause issues"} 
[2026-08-11 14:14: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-08-11 14:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786437745000,"timestamp_ms":1786437745000,"timestamp_seconds":1786437745,"priority":1,"record_length":96,"hex_timestamp":"0000019feffcb968"} 
[2026-08-11 14:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:14: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-08-11 14: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-11 14:14:53] 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-08-11 14: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-08-11 14:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":153535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":153535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":153535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328057344001,"66":13004,"121":206,"28":31744,"24":0,"16":11616662470000640,"45":1867867976065347584},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328057344001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:14:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:14:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11616662470000640,"km_value":11616662470000.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867867976065347584,"description":"Unknown IO ID 45"} 
[2026-08-11 14:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328057344001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1867867976065347584}} 
[2026-08-11 14:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":153535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:14:53] local.INFO: GPS data processed {"connection_id":153535,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:14:53] local.INFO: Acknowledgment sent {"connection_id":153535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:14:58] local.INFO: TCP Data received {"connection_id":153536,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feffdd2a8012dae9a8005c6ed00001200f129..."} 
[2026-08-11 14:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffdd2a8012dae9a8005c6ed00001200f129..."} 
[2026-08-11 14:14:58] local.INFO: Processing buffer {"connection_id":153536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffdd2a8012dae9a8005c6ed00001200f129..."} 
[2026-08-11 14:14:58] local.INFO: Packet analysis {"connection_id":153536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffd"} 
[2026-08-11 14:14:58] local.INFO: Extracted packet for processing {"connection_id":153536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffd"} 
[2026-08-11 14:14:58] local.INFO: GPS Element Parsed {"raw_longitude":766417536,"raw_latitude":96922880,"longitude_deg":76.6417536,"latitude_deg":9.692288,"altitude":18,"angle":241,"satellites":41,"speed":35,"hex_longitude":"2dae9a80","hex_latitude":"05c6ed00","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328078592001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377626435336011776,"note":"Value kept but may cause issues"} 
[2026-08-11 14:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5856086865651798016,"note":"Value kept but may cause issues"} 
[2026-08-11 14:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786437817000,"timestamp_ms":1786437817000,"timestamp_seconds":1786437817,"priority":1,"record_length":96,"hex_timestamp":"0000019feffdd2a8"} 
[2026-08-11 14:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 14:14:58] 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-08-11 14: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-08-11 14:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":153536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":153536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":153536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:14:58] 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-08-11 14:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328078592001,"66":27984,"218":206,"83":18688,"24":35,"16":377626435336011776,"45":-5856086865651798016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-08-11 14:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328078592001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:14:58] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-11 14:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377626435336011776,"km_value":377626435336011.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5856086865651798016,"description":"Unknown IO ID 45"} 
[2026-08-11 14:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328078592001,"power":27984,"unknown_218":206,"unknown_83":18688,"ignition":35,"odometer":null,"unknown_45":-5856086865651798016}} 
[2026-08-11 14:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":153536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:14:58] local.INFO: GPS data processed {"connection_id":153536,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:14:58] local.INFO: Acknowledgment sent {"connection_id":153536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:15:10] local.INFO: TCP Data received {"connection_id":153537,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:15:10] local.INFO: Processing buffer {"connection_id":153537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:15:10] local.INFO: IMEI packet received {"connection_id":153537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":153537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:15:14] local.INFO: TCP Data received {"connection_id":153537,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:15:14] local.INFO: Processing buffer {"connection_id":153537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:15:14] local.INFO: IMEI packet received {"connection_id":153537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":153537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:15:15] local.INFO: TCP Data received {"connection_id":153537,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:15:15] local.INFO: Processing buffer {"connection_id":153537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:15:15] local.INFO: IMEI packet received {"connection_id":153537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":153537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:15:16] local.INFO: TCP Data received {"connection_id":153537,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019feffe72d0012d1a3dc00720f788003e00412c..."} 
[2026-08-11 14:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffe72d0012d1a3dc00720f788003e00412c..."} 
[2026-08-11 14:15:16] local.INFO: Processing buffer {"connection_id":153537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffe72d0012d1a3dc00720f788003e00412c..."} 
[2026-08-11 14:15:16] local.INFO: Packet analysis {"connection_id":153537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffe"} 
[2026-08-11 14:15:16] local.INFO: Extracted packet for processing {"connection_id":153537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffe"} 
[2026-08-11 14:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756694464,"raw_latitude":119601032,"longitude_deg":75.6694464,"latitude_deg":11.9601032,"altitude":62,"angle":65,"satellites":44,"speed":12,"hex_longitude":"2d1a3dc0","hex_latitude":"0720f788","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328091392001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11618023974633472,"note":"Value kept but may cause issues"} 
[2026-08-11 14:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890597080439117824,"note":"Value kept but may cause issues"} 
[2026-08-11 14:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786437858000,"timestamp_ms":1786437858000,"timestamp_seconds":1786437858,"priority":1,"record_length":96,"hex_timestamp":"0000019feffe72d0"} 
[2026-08-11 14:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:15:16] 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-08-11 14: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 14:15:16] 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-08-11 14: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-08-11 14:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328091392001,"66":14265,"50":206,"28":31744,"24":12,"16":11618023974633472,"45":1890597080439117824},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-08-11 14:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328091392001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:15:16] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-11 14:15:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11618023974633472,"km_value":11618023974633.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890597080439117824,"description":"Unknown IO ID 45"} 
[2026-08-11 14:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328091392001,"power":14265,"unknown_50":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1890597080439117824}} 
[2026-08-11 14:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":153537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:15:17] local.INFO: GPS data processed {"connection_id":153537,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:15:17] local.INFO: Acknowledgment sent {"connection_id":153537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:15:18] local.INFO: TCP Data received {"connection_id":153537,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019feffe76b8012d1a3f000720f788003e005e2c..."} 
[2026-08-11 14:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffe76b8012d1a3f000720f788003e005e2c..."} 
[2026-08-11 14:15:18] local.INFO: Processing buffer {"connection_id":153537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffe76b8012d1a3f000720f788003e005e2c..."} 
[2026-08-11 14:15:18] local.INFO: Packet analysis {"connection_id":153537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffe"} 
[2026-08-11 14:15:18] local.INFO: Extracted packet for processing {"connection_id":153537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffe"} 
[2026-08-11 14:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756694784,"raw_latitude":119601032,"longitude_deg":75.6694784,"latitude_deg":11.9601032,"altitude":62,"angle":94,"satellites":44,"speed":10,"hex_longitude":"2d1a3f00","hex_latitude":"0720f788","is_valid_coordinates":true} 
[2026-08-11 14:15: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-08-11 14:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328091648001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11618036859535360,"note":"Value kept but may cause issues"} 
[2026-08-11 14:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890878555415873536,"note":"Value kept but may cause issues"} 
[2026-08-11 14:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786437859000,"timestamp_ms":1786437859000,"timestamp_seconds":1786437859,"priority":1,"record_length":96,"hex_timestamp":"0000019feffe76b8"} 
[2026-08-11 14:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:15:18] 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-08-11 14:15: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":185,"data_length":795,"current_offset":136} 
[2026-08-11 14:15:18] 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-08-11 14:15: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-08-11 14:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328091648001,"66":14396,"50":206,"28":31744,"24":10,"16":11618036859535360,"45":1890878555415873536},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-08-11 14:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328091648001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:15:18] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-11 14:15:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11618036859535360,"km_value":11618036859535.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890878555415873536,"description":"Unknown IO ID 45"} 
[2026-08-11 14:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328091648001,"power":14396,"unknown_50":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1890878555415873536}} 
[2026-08-11 14:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":153537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:15:18] local.INFO: GPS data processed {"connection_id":153537,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:15:18] local.INFO: Acknowledgment sent {"connection_id":153537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:15:19] local.INFO: TCP Data received {"connection_id":152219,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:15:19] local.INFO: Processing buffer {"connection_id":152219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:15:19] local.INFO: IMEI packet received {"connection_id":152219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":152219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:15:25] local.INFO: TCP Data received {"connection_id":152219,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:15:25] local.INFO: Processing buffer {"connection_id":152219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:15:25] local.INFO: IMEI packet received {"connection_id":152219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":152219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:15:26] local.INFO: TCP Data received {"connection_id":152219,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feffdfda0012dae784005c6db38001200f421..."} 
[2026-08-11 14:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffdfda0012dae784005c6db38001200f421..."} 
[2026-08-11 14:15:26] local.INFO: Processing buffer {"connection_id":152219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffdfda0012dae784005c6db38001200f421..."} 
[2026-08-11 14:15:26] local.INFO: Packet analysis {"connection_id":152219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffd"} 
[2026-08-11 14:15:26] local.INFO: Extracted packet for processing {"connection_id":152219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffd"} 
[2026-08-11 14:15:26] local.INFO: GPS Element Parsed {"raw_longitude":766408768,"raw_latitude":96918328,"longitude_deg":76.6408768,"latitude_deg":9.6918328,"altitude":18,"angle":244,"satellites":33,"speed":38,"hex_longitude":"2dae7840","hex_latitude":"05c6db38","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328081152001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377626912077381632,"note":"Value kept but may cause issues"} 
[2026-08-11 14:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5865234802396037120,"note":"Value kept but may cause issues"} 
[2026-08-11 14:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786437828000,"timestamp_ms":1786437828000,"timestamp_seconds":1786437828,"priority":1,"record_length":96,"hex_timestamp":"0000019feffdfda0"} 
[2026-08-11 14:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 14:15:26] 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-08-11 14: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-08-11 14:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:15:26] 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-08-11 14:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328081152001,"66":27876,"218":206,"83":18688,"24":38,"16":377626912077381632,"45":-5865234802396037120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-08-11 14:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328081152001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:15:26] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-11 14:15:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377626912077381632,"km_value":377626912077381.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5865234802396037120,"description":"Unknown IO ID 45"} 
[2026-08-11 14:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328081152001,"power":27876,"unknown_218":206,"unknown_83":18688,"ignition":38,"odometer":null,"unknown_45":-5865234802396037120}} 
[2026-08-11 14:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":152219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:15:26] local.INFO: GPS data processed {"connection_id":152219,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:15:26] local.INFO: Acknowledgment sent {"connection_id":152219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:15:49] local.INFO: TCP Data received {"connection_id":153537,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019feffe7aa0012d1a3fc00720f730003d00762c..."} 
[2026-08-11 14:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffe7aa0012d1a3fc00720f730003d00762c..."} 
[2026-08-11 14:15:49] local.INFO: Processing buffer {"connection_id":153537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffe7aa0012d1a3fc00720f730003d00762c..."} 
[2026-08-11 14:15:49] local.INFO: Packet analysis {"connection_id":153537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffe"} 
[2026-08-11 14:15:49] local.INFO: Extracted packet for processing {"connection_id":153537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffe"} 
[2026-08-11 14:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756694976,"raw_latitude":119600944,"longitude_deg":75.6694976,"latitude_deg":11.9600944,"altitude":61,"angle":118,"satellites":44,"speed":7,"hex_longitude":"2d1a3fc0","hex_latitude":"0720f730","is_valid_coordinates":true} 
[2026-08-11 14:15: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-08-11 14:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328091904001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11618045449469952,"note":"Value kept but may cause issues"} 
[2026-08-11 14:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891230399136761856,"note":"Value kept but may cause issues"} 
[2026-08-11 14:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786437860000,"timestamp_ms":1786437860000,"timestamp_seconds":1786437860,"priority":1,"record_length":96,"hex_timestamp":"0000019feffe7aa0"} 
[2026-08-11 14:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:15:49] 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-08-11 14:15: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-08-11 14:15: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-08-11 14:15: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-08-11 14:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328091904001,"66":14396,"50":206,"28":31744,"24":7,"16":11618045449469952,"45":1891230399136761856},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-08-11 14:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328091904001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:15:49] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-11 14:15:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11618045449469952,"km_value":11618045449469.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891230399136761856,"description":"Unknown IO ID 45"} 
[2026-08-11 14:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328091904001,"power":14396,"unknown_50":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1891230399136761856}} 
[2026-08-11 14:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":153537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:15:49] local.INFO: GPS data processed {"connection_id":153537,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:15:49] local.INFO: Acknowledgment sent {"connection_id":153537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:15:58] local.INFO: TCP Data received {"connection_id":152219,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019feffe24b0012dae568005c6caa0001000f324..."} 
[2026-08-11 14:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019feffe24b0012dae568005c6caa0001000f324..."} 
[2026-08-11 14:15:58] local.INFO: Processing buffer {"connection_id":152219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019feffe24b0012dae568005c6caa0001000f324..."} 
[2026-08-11 14:15:58] local.INFO: Packet analysis {"connection_id":152219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019feffe"} 
[2026-08-11 14:15:58] local.INFO: Extracted packet for processing {"connection_id":152219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019feffe"} 
[2026-08-11 14:15:58] local.INFO: GPS Element Parsed {"raw_longitude":766400128,"raw_latitude":96914080,"longitude_deg":76.6400128,"latitude_deg":9.691408,"altitude":16,"angle":243,"satellites":36,"speed":31,"hex_longitude":"2dae5680","hex_latitude":"05c6caa0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328083968001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377627371638882304,"note":"Value kept but may cause issues"} 
[2026-08-11 14:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5874875320349542400,"note":"Value kept but may cause issues"} 
[2026-08-11 14:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786437838000,"timestamp_ms":1786437838000,"timestamp_seconds":1786437838,"priority":1,"record_length":96,"hex_timestamp":"0000019feffe24b0"} 
[2026-08-11 14:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 14:15:58] 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-08-11 14: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-08-11 14:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:15:58] 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-08-11 14:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328083968001,"66":27745,"120":206,"83":18688,"24":31,"16":377627371638882304,"45":-5874875320349542400},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,83,24,16,45]} 
[2026-08-11 14:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328083968001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:15:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 14:15:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-08-11 14:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377627371638882304,"km_value":377627371638882.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5874875320349542400,"description":"Unknown IO ID 45"} 
[2026-08-11 14:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328083968001,"power":27745,"unknown_120":206,"unknown_83":18688,"ignition":31,"odometer":null,"unknown_45":-5874875320349542400}} 
[2026-08-11 14:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":152219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:15:58] local.INFO: GPS data processed {"connection_id":152219,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:15:58] local.INFO: Acknowledgment sent {"connection_id":152219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:16:12] local.INFO: TCP Data received {"connection_id":152220,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:16:12] local.INFO: Processing buffer {"connection_id":152220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:16:12] local.INFO: IMEI packet received {"connection_id":152220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":152220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:16:15] local.INFO: TCP Data received {"connection_id":152220,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:16:15] local.INFO: Processing buffer {"connection_id":152220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:16:15] local.INFO: IMEI packet received {"connection_id":152220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":152220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:16:16] local.INFO: TCP Data received {"connection_id":152220,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:16:16] local.INFO: Processing buffer {"connection_id":152220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:16:16] local.INFO: IMEI packet received {"connection_id":152220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":152220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:16:17] local.INFO: TCP Data received {"connection_id":152220,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:16:17] local.INFO: Processing buffer {"connection_id":152220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:16:17] local.INFO: IMEI packet received {"connection_id":152220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":152220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:16:18] local.INFO: TCP Data received {"connection_id":154913,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:16:18] local.INFO: Processing buffer {"connection_id":154913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:16:18] local.INFO: IMEI packet received {"connection_id":154913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":154913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:16:19] local.INFO: TCP Data received {"connection_id":154913,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:16:19] local.INFO: Processing buffer {"connection_id":154913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:16:19] local.INFO: IMEI packet received {"connection_id":154913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":154913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:16:19] local.INFO: TCP Data received {"connection_id":154913,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:16:19] local.INFO: Processing buffer {"connection_id":154913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:16:19] local.INFO: IMEI packet received {"connection_id":154913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":154913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:16:19] local.INFO: TCP Data received {"connection_id":152220,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefff0f10012d1a6c000720d258004800bd29..."} 
[2026-08-11 14:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefff0f10012d1a6c000720d258004800bd29..."} 
[2026-08-11 14:16:19] local.INFO: Processing buffer {"connection_id":152220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefff0f10012d1a6c000720d258004800bd29..."} 
[2026-08-11 14:16:19] local.INFO: Packet analysis {"connection_id":152220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:16:19] local.INFO: Extracted packet for processing {"connection_id":152220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756706304,"raw_latitude":119591512,"longitude_deg":75.6706304,"latitude_deg":11.9591512,"altitude":72,"angle":189,"satellites":41,"speed":10,"hex_longitude":"2d1a6c00","hex_latitude":"0720d258","is_valid_coordinates":true} 
[2026-08-11 14:16: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-08-11 14:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328101632001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11618771298942976,"note":"Value kept but may cause issues"} 
[2026-08-11 14:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903896773086365696,"note":"Value kept but may cause issues"} 
[2026-08-11 14:16:19] 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-08-11 14:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786437898000,"timestamp_ms":1786437898000,"timestamp_seconds":1786437898,"priority":1,"record_length":96,"hex_timestamp":"0000019fefff0f10"} 
[2026-08-11 14:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:16: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-08-11 14:16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 14:16:19] 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-08-11 14:16: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-08-11 14:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328101632001,"66":14374,"121":206,"28":31744,"24":10,"16":11618771298942976,"45":1903896773086365696},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328101632001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:16:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:16:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11618771298942976,"km_value":11618771298942.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903896773086365696,"description":"Unknown IO ID 45"} 
[2026-08-11 14:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328101632001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1903896773086365696}} 
[2026-08-11 14:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":152220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:16:20] local.INFO: GPS data processed {"connection_id":152220,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:16:20] local.INFO: Acknowledgment sent {"connection_id":152220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:16:21] local.INFO: TCP Data received {"connection_id":152220,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefff6118012d1a6a800720c020004900bf2b..."} 
[2026-08-11 14:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefff6118012d1a6a800720c020004900bf2b..."} 
[2026-08-11 14:16:21] local.INFO: Processing buffer {"connection_id":152220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefff6118012d1a6a800720c020004900bf2b..."} 
[2026-08-11 14:16:21] local.INFO: Packet analysis {"connection_id":152220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:16:21] local.INFO: Extracted packet for processing {"connection_id":152220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:16:21] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119586848,"longitude_deg":75.670592,"latitude_deg":11.9586848,"altitude":73,"angle":191,"satellites":43,"speed":4,"hex_longitude":"2d1a6a80","hex_latitude":"0720c020","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328101888001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11619003227176960,"note":"Value kept but may cause issues"} 
[2026-08-11 14:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903896773086304256,"note":"Value kept but may cause issues"} 
[2026-08-11 14:16:21] 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-08-11 14:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786437919000,"timestamp_ms":1786437919000,"timestamp_seconds":1786437919,"priority":1,"record_length":96,"hex_timestamp":"0000019fefff6118"} 
[2026-08-11 14:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:16:21] 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-08-11 14: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 14:16:21] 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-08-11 14:16: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-08-11 14:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328101888001,"66":13678,"121":206,"28":31744,"24":4,"16":11619003227176960,"45":1903896773086304256},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328101888001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:16:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:16:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11619003227176960,"km_value":11619003227176.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903896773086304256,"description":"Unknown IO ID 45"} 
[2026-08-11 14:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328101888001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1903896773086304256}} 
[2026-08-11 14:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":152220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:16:21] local.INFO: GPS data processed {"connection_id":152220,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:16:21] local.INFO: Acknowledgment sent {"connection_id":152220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:16:24] local.INFO: TCP Data received {"connection_id":154913,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:16:24] local.INFO: Processing buffer {"connection_id":154913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:16:24] local.INFO: IMEI packet received {"connection_id":154913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":154913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:16:25] local.INFO: TCP Data received {"connection_id":154913,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fefff93e0012daceb0005c65d98000e010e23..."} 
[2026-08-11 14:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefff93e0012daceb0005c65d98000e010e23..."} 
[2026-08-11 14:16:25] local.INFO: Processing buffer {"connection_id":154913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefff93e0012daceb0005c65d98000e010e23..."} 
[2026-08-11 14:16:25] local.INFO: Packet analysis {"connection_id":154913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:16:25] local.INFO: Extracted packet for processing {"connection_id":154913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:16:25] local.INFO: GPS Element Parsed {"raw_longitude":766307072,"raw_latitude":96886168,"longitude_deg":76.6307072,"latitude_deg":9.6886168,"altitude":14,"angle":270,"satellites":35,"speed":46,"hex_longitude":"2daceb00","hex_latitude":"05c65d98","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328108544001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377632104692842496,"note":"Value kept but may cause issues"} 
[2026-08-11 14:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5976347049461848064,"note":"Value kept but may cause issues"} 
[2026-08-11 14:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786437932000,"timestamp_ms":1786437932000,"timestamp_seconds":1786437932,"priority":1,"record_length":96,"hex_timestamp":"0000019fefff93e0"} 
[2026-08-11 14:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 14:16:25] 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-08-11 14: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-08-11 14:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:16:25] 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-08-11 14:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328108544001,"66":27919,"165":206,"83":16896,"24":46,"16":377632104692842496,"45":-5976347049461848064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,45]} 
[2026-08-11 14:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328108544001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:16:25] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 14:16:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377632104692842496,"km_value":377632104692842.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5976347049461848064,"description":"Unknown IO ID 45"} 
[2026-08-11 14:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328108544001,"power":27919,"unknown_165":206,"unknown_83":16896,"ignition":46,"odometer":null,"unknown_45":-5976347049461848064}} 
[2026-08-11 14:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":154913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:16:25] local.INFO: GPS data processed {"connection_id":154913,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:16:25] local.INFO: Acknowledgment sent {"connection_id":154913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:16:27] local.INFO: TCP Data received {"connection_id":152220,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefff93e0012d1a6ac00720b9600046007d2b..."} 
[2026-08-11 14:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefff93e0012d1a6ac00720b9600046007d2b..."} 
[2026-08-11 14:16:27] local.INFO: Processing buffer {"connection_id":152220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefff93e0012d1a6ac00720b9600046007d2b..."} 
[2026-08-11 14:16:27] local.INFO: Packet analysis {"connection_id":152220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:16:27] local.INFO: Extracted packet for processing {"connection_id":152220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756705984,"raw_latitude":119585120,"longitude_deg":75.6705984,"latitude_deg":11.958512,"altitude":70,"angle":125,"satellites":43,"speed":5,"hex_longitude":"2d1a6ac0","hex_latitude":"0720b960","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328107264001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11619089126522880,"note":"Value kept but may cause issues"} 
[2026-08-11 14:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560620044288,"note":"Value kept but may cause issues"} 
[2026-08-11 14:16: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-08-11 14:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786437932000,"timestamp_ms":1786437932000,"timestamp_seconds":1786437932,"priority":1,"record_length":96,"hex_timestamp":"0000019fefff93e0"} 
[2026-08-11 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-08-11 14:16: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-08-11 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-11 14:16: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-08-11 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-08-11 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-08-11 14:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328107264001,"66":14102,"121":206,"28":31744,"24":5,"16":11619089126522880,"45":1903474560620044288},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328107264001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:16:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:16:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11619089126522880,"km_value":11619089126522.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560620044288,"description":"Unknown IO ID 45"} 
[2026-08-11 14:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328107264001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1903474560620044288}} 
[2026-08-11 14:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":152220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:16:27] local.INFO: GPS data processed {"connection_id":152220,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:16:27] local.INFO: Acknowledgment sent {"connection_id":152220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:16:56] local.INFO: TCP Data received {"connection_id":154913,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fefffb320012dacc78005c661200010011924..."} 
[2026-08-11 14:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefffb320012dacc78005c661200010011924..."} 
[2026-08-11 14:16:56] local.INFO: Processing buffer {"connection_id":154913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefffb320012dacc78005c661200010011924..."} 
[2026-08-11 14:16:56] local.INFO: Packet analysis {"connection_id":154913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:16:56] local.INFO: Extracted packet for processing {"connection_id":154913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:16:56] local.INFO: GPS Element Parsed {"raw_longitude":766297984,"raw_latitude":96887072,"longitude_deg":76.6297984,"latitude_deg":9.6887072,"altitude":16,"angle":281,"satellites":36,"speed":43,"hex_longitude":"2dacc780","hex_latitude":"05c66120","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328110592001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377632538484539392,"note":"Value kept but may cause issues"} 
[2026-08-11 14:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5986691254856083456,"note":"Value kept but may cause issues"} 
[2026-08-11 14:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786437940000,"timestamp_ms":1786437940000,"timestamp_seconds":1786437940,"priority":1,"record_length":96,"hex_timestamp":"0000019fefffb320"} 
[2026-08-11 14:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 14:16:56] 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-08-11 14: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-08-11 14:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:16:56] 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-08-11 14:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328110592001,"66":27919,"165":206,"83":16896,"24":43,"16":377632538484539392,"45":-5986691254856083456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,45]} 
[2026-08-11 14:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328110592001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:16:56] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 14:16:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377632538484539392,"km_value":377632538484539.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5986691254856083456,"description":"Unknown IO ID 45"} 
[2026-08-11 14:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328110592001,"power":27919,"unknown_165":206,"unknown_83":16896,"ignition":43,"odometer":null,"unknown_45":-5986691254856083456}} 
[2026-08-11 14:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":154913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:16:56] local.INFO: GPS data processed {"connection_id":154913,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:16:56] local.INFO: Acknowledgment sent {"connection_id":154913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:17:07] local.INFO: TCP Data received {"connection_id":153538,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:17:07] local.INFO: Processing buffer {"connection_id":153538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:17:07] local.INFO: IMEI packet received {"connection_id":153538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":153538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:17:10] local.INFO: TCP Data received {"connection_id":153538,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:17:10] local.INFO: Processing buffer {"connection_id":153538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:17:10] local.INFO: IMEI packet received {"connection_id":153538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":153538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:17:16] local.INFO: TCP Data received {"connection_id":153538,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:17:16] local.INFO: Processing buffer {"connection_id":153538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:17:16] local.INFO: IMEI packet received {"connection_id":153538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":153538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:17:17] local.INFO: TCP Data received {"connection_id":153538,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefff97c8012d1a6b400720b9000046006d2a..."} 
[2026-08-11 14:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefff97c8012d1a6b400720b9000046006d2a..."} 
[2026-08-11 14:17:17] local.INFO: Processing buffer {"connection_id":153538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefff97c8012d1a6b400720b9000046006d2a..."} 
[2026-08-11 14:17:17] local.INFO: Packet analysis {"connection_id":153538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:17:17] local.INFO: Extracted packet for processing {"connection_id":153538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756706112,"raw_latitude":119585024,"longitude_deg":75.6706112,"latitude_deg":11.9585024,"altitude":70,"angle":109,"satellites":42,"speed":5,"hex_longitude":"2d1a6b40","hex_latitude":"0720b900","is_valid_coordinates":true} 
[2026-08-11 14:17: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-08-11 14:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328110592001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11619093421490176,"note":"Value kept but may cause issues"} 
[2026-08-11 14:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903544929363779584,"note":"Value kept but may cause issues"} 
[2026-08-11 14:17:17] 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-08-11 14:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786437933000,"timestamp_ms":1786437933000,"timestamp_seconds":1786437933,"priority":1,"record_length":96,"hex_timestamp":"0000019fefff97c8"} 
[2026-08-11 14:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:17:17] 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-08-11 14:17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 14:17:17] 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-08-11 14:17: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-08-11 14:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328110592001,"66":13993,"121":206,"28":31744,"24":5,"16":11619093421490176,"45":1903544929363779584},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328110592001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:17:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:17:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11619093421490176,"km_value":11619093421490.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903544929363779584,"description":"Unknown IO ID 45"} 
[2026-08-11 14:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328110592001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1903544929363779584}} 
[2026-08-11 14:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":153538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:17:17] local.INFO: GPS data processed {"connection_id":153538,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:17:17] local.INFO: Acknowledgment sent {"connection_id":153538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:17:19] local.INFO: TCP Data received {"connection_id":154914,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:17:19] local.INFO: Processing buffer {"connection_id":154914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:17:19] local.INFO: IMEI packet received {"connection_id":154914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":154914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:17:24] local.INFO: TCP Data received {"connection_id":154914,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:17:24] local.INFO: Processing buffer {"connection_id":154914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:17:24] local.INFO: IMEI packet received {"connection_id":154914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":154914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:17:25] local.INFO: TCP Data received {"connection_id":154914,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fefffb320012dacc78005c661200010011924..."} 
[2026-08-11 14:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefffb320012dacc78005c661200010011924..."} 
[2026-08-11 14:17:25] local.INFO: Processing buffer {"connection_id":154914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefffb320012dacc78005c661200010011924..."} 
[2026-08-11 14:17:25] local.INFO: Packet analysis {"connection_id":154914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:17:25] local.INFO: Extracted packet for processing {"connection_id":154914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:17:25] local.INFO: GPS Element Parsed {"raw_longitude":766297984,"raw_latitude":96887072,"longitude_deg":76.6297984,"latitude_deg":9.6887072,"altitude":16,"angle":281,"satellites":36,"speed":43,"hex_longitude":"2dacc780","hex_latitude":"05c66120","is_valid_coordinates":true} 
[2026-08-11 14:17: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-08-11 14:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328112640001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377632538484539392,"note":"Value kept but may cause issues"} 
[2026-08-11 14:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5996683616529080320,"note":"Value kept but may cause issues"} 
[2026-08-11 14:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786437940000,"timestamp_ms":1786437940000,"timestamp_seconds":1786437940,"priority":1,"record_length":96,"hex_timestamp":"0000019fefffb320"} 
[2026-08-11 14:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 14:17:25] 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-08-11 14:17: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-08-11 14:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:17:25] 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-08-11 14:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328112640001,"66":27919,"165":206,"83":16896,"24":43,"16":377632538484539392,"45":-5996683616529080320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,45]} 
[2026-08-11 14:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328112640001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:17:25] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 14:17:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377632538484539392,"km_value":377632538484539.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5996683616529080320,"description":"Unknown IO ID 45"} 
[2026-08-11 14:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328112640001,"power":27919,"unknown_165":206,"unknown_83":16896,"ignition":43,"odometer":null,"unknown_45":-5996683616529080320}} 
[2026-08-11 14:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":154914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:17:25] local.INFO: GPS data processed {"connection_id":154914,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:17:25] local.INFO: Acknowledgment sent {"connection_id":154914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:17:49] local.INFO: TCP Data received {"connection_id":153538,"ip":"117.225.177.63","data_length":795,"data_hex":"000000000000030f8e0a0000019fefffa768012d1a6d800720b858004600582a..."} 
[2026-08-11 14:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefffa768012d1a6d800720b858004600582a..."} 
[2026-08-11 14:17:49] local.INFO: Processing buffer {"connection_id":153538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefffa768012d1a6d800720b858004600582a..."} 
[2026-08-11 14:17:49] local.INFO: Packet analysis {"connection_id":153538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:17:49] local.INFO: Extracted packet for processing {"connection_id":153538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:17:49] local.INFO: GPS Element Parsed {"raw_longitude":756706688,"raw_latitude":119584856,"longitude_deg":75.6706688,"latitude_deg":11.9584856,"altitude":70,"angle":88,"satellites":42,"speed":6,"hex_longitude":"2d1a6d80","hex_latitude":"0720b858","is_valid_coordinates":true} 
[2026-08-11 14:17: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-08-11 14:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328110848001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11619123486261248,"note":"Value kept but may cause issues"} 
[2026-08-11 14:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903685666852110336,"note":"Value kept but may cause issues"} 
[2026-08-11 14:17:49] 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-08-11 14:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786437937000,"timestamp_ms":1786437937000,"timestamp_seconds":1786437937,"priority":1,"record_length":96,"hex_timestamp":"0000019fefffa768"} 
[2026-08-11 14:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:17:49] 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-08-11 14:17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-11 14:17:49] 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-08-11 14:17: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-08-11 14:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328110848001,"66":13254,"121":206,"28":31744,"24":6,"16":11619123486261248,"45":1903685666852110336},"client_ip":"117.225.177.63","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328110848001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:17:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:17:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11619123486261248,"km_value":11619123486261.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903685666852110336,"description":"Unknown IO ID 45"} 
[2026-08-11 14:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328110848001,"power":13254,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1903685666852110336}} 
[2026-08-11 14:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":153538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:17:49] local.INFO: GPS data processed {"connection_id":153538,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:17:49] local.INFO: Acknowledgment sent {"connection_id":153538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:17:56] local.INFO: TCP Data received {"connection_id":154914,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fefffd648012daca34005c66d50000f012124..."} 
[2026-08-11 14:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fefffd648012daca34005c66d50000f012124..."} 
[2026-08-11 14:17:56] local.INFO: Processing buffer {"connection_id":154914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fefffd648012daca34005c66d50000f012124..."} 
[2026-08-11 14:17:56] local.INFO: Packet analysis {"connection_id":154914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:17:56] local.INFO: Extracted packet for processing {"connection_id":154914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fefff"} 
[2026-08-11 14:17:56] local.INFO: GPS Element Parsed {"raw_longitude":766288704,"raw_latitude":96890192,"longitude_deg":76.6288704,"latitude_deg":9.6890192,"altitude":15,"angle":289,"satellites":36,"speed":44,"hex_longitude":"2daca340","hex_latitude":"05c66d50","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328112640001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377633010930941952,"note":"Value kept but may cause issues"} 
[2026-08-11 14:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5996683616529080320,"note":"Value kept but may cause issues"} 
[2026-08-11 14:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786437949000,"timestamp_ms":1786437949000,"timestamp_seconds":1786437949,"priority":1,"record_length":96,"hex_timestamp":"0000019fefffd648"} 
[2026-08-11 14:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 14:17:56] 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-08-11 14: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-08-11 14:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:17:56] 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-08-11 14:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328112640001,"66":27745,"165":206,"83":16896,"24":44,"16":377633010930941952,"45":-5996683616529080320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,45]} 
[2026-08-11 14:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328112640001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:17:56] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 14:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377633010930941952,"km_value":377633010930941.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5996683616529080320,"description":"Unknown IO ID 45"} 
[2026-08-11 14:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328112640001,"power":27745,"unknown_165":206,"unknown_83":16896,"ignition":44,"odometer":null,"unknown_45":-5996683616529080320}} 
[2026-08-11 14:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":154914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:17:56] local.INFO: GPS data processed {"connection_id":154914,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:17:56] local.INFO: Acknowledgment sent {"connection_id":154914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:18:10] local.INFO: TCP Data received {"connection_id":153539,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:18:10] local.INFO: Processing buffer {"connection_id":153539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:18:10] local.INFO: IMEI packet received {"connection_id":153539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":153539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:18:15] local.INFO: TCP Data received {"connection_id":153539,"ip":"117.225.177.63","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:18:15] local.INFO: Processing buffer {"connection_id":153539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:18:15] local.INFO: IMEI packet received {"connection_id":153539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":153539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:18:19] local.INFO: TCP Data received {"connection_id":153540,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:18:19] local.INFO: Processing buffer {"connection_id":153540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:18:19] local.INFO: IMEI packet received {"connection_id":153540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":153540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:18:21] local.INFO: TCP Data received {"connection_id":153540,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:18:21] local.INFO: Processing buffer {"connection_id":153540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:18:21] local.INFO: IMEI packet received {"connection_id":153540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":153540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:18:25] local.INFO: TCP Data received {"connection_id":153540,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:18:25] local.INFO: Processing buffer {"connection_id":153540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:18:25] local.INFO: IMEI packet received {"connection_id":153540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":153540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:18:29] local.INFO: TCP Data received {"connection_id":153540,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0012e08012dab83c005c64f18001d00fa28..."} 
[2026-08-11 14:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0012e08012dab83c005c64f18001d00fa28..."} 
[2026-08-11 14:18:29] local.INFO: Processing buffer {"connection_id":153540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0012e08012dab83c005c64f18001d00fa28..."} 
[2026-08-11 14:18:29] local.INFO: Packet analysis {"connection_id":153540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff001"} 
[2026-08-11 14:18:29] local.INFO: Extracted packet for processing {"connection_id":153540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff001"} 
[2026-08-11 14:18:29] local.INFO: GPS Element Parsed {"raw_longitude":766215104,"raw_latitude":96882456,"longitude_deg":76.6215104,"latitude_deg":9.6882456,"altitude":29,"angle":250,"satellites":40,"speed":45,"hex_longitude":"2dab83c0","hex_latitude":"05c64f18","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328136960001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377636764732358656,"note":"Value kept but may cause issues"} 
[2026-08-11 14:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6085488971682211840,"note":"Value kept but may cause issues"} 
[2026-08-11 14:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786438037000,"timestamp_ms":1786438037000,"timestamp_seconds":1786438037,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0012e08"} 
[2026-08-11 14:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:18:29] 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-08-11 14: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-08-11 14:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:18:29] 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-08-11 14:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328136960001,"66":27071,"143":206,"83":16896,"24":45,"16":377636764732358656,"45":-6085488971682211840},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,45]} 
[2026-08-11 14:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328136960001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:18:29] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-11 14:18:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377636764732358656,"km_value":377636764732358.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6085488971682211840,"description":"Unknown IO ID 45"} 
[2026-08-11 14:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328136960001,"power":27071,"unknown_143":206,"unknown_83":16896,"ignition":45,"odometer":null,"unknown_45":-6085488971682211840}} 
[2026-08-11 14:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":153540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:18:29] local.INFO: GPS data processed {"connection_id":153540,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:18:29] local.INFO: Acknowledgment sent {"connection_id":153540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:19:12] local.INFO: TCP Data received {"connection_id":153540,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0014190012dab6d8005c64990001b010525..."} 
[2026-08-11 14:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0014190012dab6d8005c64990001b010525..."} 
[2026-08-11 14:19:12] local.INFO: Processing buffer {"connection_id":153540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0014190012dab6d8005c64990001b010525..."} 
[2026-08-11 14:19:12] local.INFO: Packet analysis {"connection_id":153540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff001"} 
[2026-08-11 14:19:12] local.INFO: Extracted packet for processing {"connection_id":153540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff001"} 
[2026-08-11 14:19:12] local.INFO: GPS Element Parsed {"raw_longitude":766209408,"raw_latitude":96881040,"longitude_deg":76.6209408,"latitude_deg":9.688104,"altitude":27,"angle":261,"satellites":37,"speed":45,"hex_longitude":"2dab6d80","hex_latitude":"05c64990","is_valid_coordinates":true} 
[2026-08-11 14:19: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-08-11 14:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328137472001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377637043905232896,"note":"Value kept but may cause issues"} 
[2026-08-11 14:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6087811140240336896,"note":"Value kept but may cause issues"} 
[2026-08-11 14:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786438042000,"timestamp_ms":1786438042000,"timestamp_seconds":1786438042,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0014190"} 
[2026-08-11 14:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:19: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":191,"data_length":795,"current_offset":136} 
[2026-08-11 14:19:12] 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-08-11 14:19: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-08-11 14:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:19:12] 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-08-11 14:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328137472001,"66":27919,"143":206,"83":16896,"24":45,"16":377637043905232896,"45":-6087811140240336896},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,45]} 
[2026-08-11 14:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328137472001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:19:12] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-11 14:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377637043905232896,"km_value":377637043905232.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6087811140240336896,"description":"Unknown IO ID 45"} 
[2026-08-11 14:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328137472001,"power":27919,"unknown_143":206,"unknown_83":16896,"ignition":45,"odometer":null,"unknown_45":-6087811140240336896}} 
[2026-08-11 14:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":153540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:19:12] local.INFO: GPS data processed {"connection_id":153540,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:19:12] local.INFO: Acknowledgment sent {"connection_id":153540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:19:20] local.INFO: TCP Data received {"connection_id":152221,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:19:20] local.INFO: Processing buffer {"connection_id":152221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:19:20] local.INFO: IMEI packet received {"connection_id":152221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":152221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:19:24] local.INFO: TCP Data received {"connection_id":152221,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:19:24] local.INFO: Processing buffer {"connection_id":152221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:19:24] local.INFO: IMEI packet received {"connection_id":152221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":152221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:19:29] local.INFO: TCP Data received {"connection_id":152221,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:19:29] local.INFO: Processing buffer {"connection_id":152221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:19:29] local.INFO: IMEI packet received {"connection_id":152221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":152221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:19:30] local.INFO: TCP Data received {"connection_id":152221,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0014960012dab648005c649500019011327..."} 
[2026-08-11 14:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0014960012dab648005c649500019011327..."} 
[2026-08-11 14:19:30] local.INFO: Processing buffer {"connection_id":152221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0014960012dab648005c649500019011327..."} 
[2026-08-11 14:19:30] local.INFO: Packet analysis {"connection_id":152221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff001"} 
[2026-08-11 14:19:30] local.INFO: Extracted packet for processing {"connection_id":152221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff001"} 
[2026-08-11 14:19:30] local.INFO: GPS Element Parsed {"raw_longitude":766207104,"raw_latitude":96880976,"longitude_deg":76.6207104,"latitude_deg":9.6880976,"altitude":25,"angle":275,"satellites":39,"speed":45,"hex_longitude":"2dab6480","hex_latitude":"05c64950","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328138752001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377637155574382592,"note":"Value kept but may cause issues"} 
[2026-08-11 14:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6094073958472511488,"note":"Value kept but may cause issues"} 
[2026-08-11 14:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786438044000,"timestamp_ms":1786438044000,"timestamp_seconds":1786438044,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0014960"} 
[2026-08-11 14:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 14:19:30] 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-08-11 14: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-08-11 14:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:19:30] 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-08-11 14:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328138752001,"66":27800,"143":206,"83":16896,"24":45,"16":377637155574382592,"45":-6094073958472511488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,45]} 
[2026-08-11 14:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328138752001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:19:30] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-11 14:19:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377637155574382592,"km_value":377637155574382.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6094073958472511488,"description":"Unknown IO ID 45"} 
[2026-08-11 14:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328138752001,"power":27800,"unknown_143":206,"unknown_83":16896,"ignition":45,"odometer":null,"unknown_45":-6094073958472511488}} 
[2026-08-11 14:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":152221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:19:30] local.INFO: GPS data processed {"connection_id":152221,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:19:30] local.INFO: Acknowledgment sent {"connection_id":152221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:19:34] local.INFO: TCP Data received {"connection_id":152221,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00168a0012dab3f0005c64ec00015011326..."} 
[2026-08-11 14:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00168a0012dab3f0005c64ec00015011326..."} 
[2026-08-11 14:19:34] local.INFO: Processing buffer {"connection_id":152221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00168a0012dab3f0005c64ec00015011326..."} 
[2026-08-11 14:19:34] local.INFO: Packet analysis {"connection_id":152221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff001"} 
[2026-08-11 14:19:34] local.INFO: Extracted packet for processing {"connection_id":152221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff001"} 
[2026-08-11 14:19:34] local.INFO: GPS Element Parsed {"raw_longitude":766197504,"raw_latitude":96882368,"longitude_deg":76.6197504,"latitude_deg":9.6882368,"altitude":21,"angle":275,"satellites":38,"speed":48,"hex_longitude":"2dab3f00","hex_latitude":"05c64ec0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328139264001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377637619430850560,"note":"Value kept but may cause issues"} 
[2026-08-11 14:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6096607233262923776,"note":"Value kept but may cause issues"} 
[2026-08-11 14:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786438052000,"timestamp_ms":1786438052000,"timestamp_seconds":1786438052,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00168a0"} 
[2026-08-11 14:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 14:19: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-08-11 14: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-08-11 14:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:19:34] 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-08-11 14:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328139264001,"66":27930,"143":206,"83":16896,"24":48,"16":377637619430850560,"45":-6096607233262923776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,45]} 
[2026-08-11 14:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328139264001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:19:34] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-11 14:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377637619430850560,"km_value":377637619430850.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6096607233262923776,"description":"Unknown IO ID 45"} 
[2026-08-11 14:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328139264001,"power":27930,"unknown_143":206,"unknown_83":16896,"ignition":48,"odometer":null,"unknown_45":-6096607233262923776}} 
[2026-08-11 14:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":152221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:19:34] local.INFO: GPS data processed {"connection_id":152221,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:19:34] local.INFO: Acknowledgment sent {"connection_id":152221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:20:09] local.INFO: TCP Data received {"connection_id":152594,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:20:09] local.INFO: Processing buffer {"connection_id":152594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:20:09] local.INFO: IMEI packet received {"connection_id":152594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":152594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:20:10] local.INFO: TCP Data received {"connection_id":152594,"ip":"117.225.245.48","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 14:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152594,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 14:20:10] local.INFO: Processing buffer {"connection_id":152594,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 14:20:10] local.INFO: IMEI packet received {"connection_id":152594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":152594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:20:11] local.INFO: TCP Data received {"connection_id":152594,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:20:11] local.INFO: Processing buffer {"connection_id":152594,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 14:20:11] local.INFO: IMEI packet received {"connection_id":152594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":152594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:20:19] local.INFO: TCP Data received {"connection_id":154915,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:20:19] local.INFO: Processing buffer {"connection_id":154915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:20:19] local.INFO: IMEI packet received {"connection_id":154915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":154915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:20:25] local.INFO: TCP Data received {"connection_id":154915,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:20:25] local.INFO: Processing buffer {"connection_id":154915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:20:25] local.INFO: IMEI packet received {"connection_id":154915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":154915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:20:25] local.INFO: TCP Data received {"connection_id":154915,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff002acd8012daa0e4005c5bf88001100eb25..."} 
[2026-08-11 14:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff002acd8012daa0e4005c5bf88001100eb25..."} 
[2026-08-11 14:20:25] local.INFO: Processing buffer {"connection_id":154915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff002acd8012daa0e4005c5bf88001100eb25..."} 
[2026-08-11 14:20:25] local.INFO: Packet analysis {"connection_id":154915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff002"} 
[2026-08-11 14:20:25] local.INFO: Extracted packet for processing {"connection_id":154915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff002"} 
[2026-08-11 14:20:25] local.INFO: GPS Element Parsed {"raw_longitude":766119488,"raw_latitude":96845704,"longitude_deg":76.6119488,"latitude_deg":9.6845704,"altitude":17,"angle":235,"satellites":37,"speed":25,"hex_longitude":"2daa0e40","hex_latitude":"05c5bf88","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328159232001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377641841383702528,"note":"Value kept but may cause issues"} 
[2026-08-11 14:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6184497794748493824,"note":"Value kept but may cause issues"} 
[2026-08-11 14:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786438135000,"timestamp_ms":1786438135000,"timestamp_seconds":1786438135,"priority":1,"record_length":96,"hex_timestamp":"0000019ff002acd8"} 
[2026-08-11 14:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 14:20:25] 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-08-11 14: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-08-11 14:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:20:25] 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-08-11 14:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328159232001,"66":27876,"143":206,"83":16896,"24":25,"16":377641841383702528,"45":-6184497794748493824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,45]} 
[2026-08-11 14:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328159232001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:20:25] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-11 14:20:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377641841383702528,"km_value":377641841383702.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6184497794748493824,"description":"Unknown IO ID 45"} 
[2026-08-11 14:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328159232001,"power":27876,"unknown_143":206,"unknown_83":16896,"ignition":25,"odometer":null,"unknown_45":-6184497794748493824}} 
[2026-08-11 14:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":154915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:20:25] local.INFO: GPS data processed {"connection_id":154915,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:20:25] local.INFO: Acknowledgment sent {"connection_id":154915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:20:57] local.INFO: TCP Data received {"connection_id":154915,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff002e770012da9f18005c5ab10001200e729..."} 
[2026-08-11 14:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff002e770012da9f18005c5ab10001200e729..."} 
[2026-08-11 14:20:57] local.INFO: Processing buffer {"connection_id":154915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff002e770012da9f18005c5ab10001200e729..."} 
[2026-08-11 14:20:57] local.INFO: Packet analysis {"connection_id":154915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff002"} 
[2026-08-11 14:20:57] local.INFO: Extracted packet for processing {"connection_id":154915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff002"} 
[2026-08-11 14:20:57] local.INFO: GPS Element Parsed {"raw_longitude":766112128,"raw_latitude":96840464,"longitude_deg":76.6112128,"latitude_deg":9.6840464,"altitude":18,"angle":231,"satellites":41,"speed":16,"hex_longitude":"2da9f180","hex_latitude":"05c5ab10","is_valid_coordinates":true} 
[2026-08-11 14:20: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-08-11 14:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328162560001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377642275175399424,"note":"Value kept but may cause issues"} 
[2026-08-11 14:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6192942044051175424,"note":"Value kept but may cause issues"} 
[2026-08-11 14:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786438150000,"timestamp_ms":1786438150000,"timestamp_seconds":1786438150,"priority":1,"record_length":96,"hex_timestamp":"0000019ff002e770"} 
[2026-08-11 14:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:20: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":228,"data_length":795,"current_offset":136} 
[2026-08-11 14:20:57] 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-08-11 14:20: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-08-11 14:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:20:57] 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-08-11 14:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328162560001,"66":27865,"143":206,"83":16896,"24":16,"16":377642275175399424,"45":-6192942044051175424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,45]} 
[2026-08-11 14:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328162560001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:20:57] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-11 14:20:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377642275175399424,"km_value":377642275175399.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6192942044051175424,"description":"Unknown IO ID 45"} 
[2026-08-11 14:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328162560001,"power":27865,"unknown_143":206,"unknown_83":16896,"ignition":16,"odometer":null,"unknown_45":-6192942044051175424}} 
[2026-08-11 14:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":154915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:20:57] local.INFO: GPS data processed {"connection_id":154915,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:20:57] local.INFO: Acknowledgment sent {"connection_id":154915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:21:20] local.INFO: TCP Data received {"connection_id":152222,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:21:20] local.INFO: Processing buffer {"connection_id":152222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:21:20] local.INFO: IMEI packet received {"connection_id":152222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":152222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:21:27] local.INFO: TCP Data received {"connection_id":152222,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:21:27] local.INFO: Processing buffer {"connection_id":152222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:21:27] local.INFO: IMEI packet received {"connection_id":152222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":152222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:21:28] local.INFO: TCP Data received {"connection_id":152222,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0033978012da9ec4005c5a6f0001200e829..."} 
[2026-08-11 14:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0033978012da9ec4005c5a6f0001200e829..."} 
[2026-08-11 14:21:28] local.INFO: Processing buffer {"connection_id":152222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0033978012da9ec4005c5a6f0001200e829..."} 
[2026-08-11 14:21:28] local.INFO: Packet analysis {"connection_id":152222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff003"} 
[2026-08-11 14:21:28] local.INFO: Extracted packet for processing {"connection_id":152222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff003"} 
[2026-08-11 14:21:28] local.INFO: GPS Element Parsed {"raw_longitude":766110784,"raw_latitude":96839408,"longitude_deg":76.6110784,"latitude_deg":9.6839408,"altitude":18,"angle":232,"satellites":41,"speed":0,"hex_longitude":"2da9ec40","hex_latitude":"05c5a6f0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328166400001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377642361074745344,"note":"Value kept but may cause issues"} 
[2026-08-11 14:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6201034449632948224,"note":"Value kept but may cause issues"} 
[2026-08-11 14:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786438171000,"timestamp_ms":1786438171000,"timestamp_seconds":1786438171,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0033978"} 
[2026-08-11 14:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:21:28] 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-08-11 14: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-08-11 14:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:21:28] 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-08-11 14:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328166400001,"66":27919,"143":206,"83":16896,"24":0,"16":377642361074745344,"45":-6201034449632948224},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,45]} 
[2026-08-11 14:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328166400001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:21:28] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-11 14:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377642361074745344,"km_value":377642361074745.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6201034449632948224,"description":"Unknown IO ID 45"} 
[2026-08-11 14:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328166400001,"power":27919,"unknown_143":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6201034449632948224}} 
[2026-08-11 14:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":152222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:21:28] local.INFO: GPS data processed {"connection_id":152222,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:21:28] local.INFO: Acknowledgment sent {"connection_id":152222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:21:59] local.INFO: TCP Data received {"connection_id":152222,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0038b80012da9ec4005c5a6f0001200e829..."} 
[2026-08-11 14:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0038b80012da9ec4005c5a6f0001200e829..."} 
[2026-08-11 14:21:59] local.INFO: Processing buffer {"connection_id":152222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0038b80012da9ec4005c5a6f0001200e829..."} 
[2026-08-11 14:21:59] local.INFO: Packet analysis {"connection_id":152222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff003"} 
[2026-08-11 14:21:59] local.INFO: Extracted packet for processing {"connection_id":152222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff003"} 
[2026-08-11 14:21:59] local.INFO: GPS Element Parsed {"raw_longitude":766110784,"raw_latitude":96839408,"longitude_deg":76.6110784,"latitude_deg":9.6839408,"altitude":18,"angle":232,"satellites":41,"speed":0,"hex_longitude":"2da9ec40","hex_latitude":"05c5a6f0","is_valid_coordinates":true} 
[2026-08-11 14:21: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-08-11 14:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328171776001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377642361074745344,"note":"Value kept but may cause issues"} 
[2026-08-11 14:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6202512193260949504,"note":"Value kept but may cause issues"} 
[2026-08-11 14:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786438192000,"timestamp_ms":1786438192000,"timestamp_seconds":1786438192,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0038b80"} 
[2026-08-11 14:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:21: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":15,"data_length":795,"current_offset":136} 
[2026-08-11 14:21:59] 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-08-11 14:21: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-08-11 14:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:21:59] 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-08-11 14:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328171776001,"66":27789,"143":206,"83":16896,"24":0,"16":377642361074745344,"45":-6202512193260949504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,45]} 
[2026-08-11 14:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328171776001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:21:59] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-11 14:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377642361074745344,"km_value":377642361074745.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6202512193260949504,"description":"Unknown IO ID 45"} 
[2026-08-11 14:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328171776001,"power":27789,"unknown_143":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6202512193260949504}} 
[2026-08-11 14:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":152222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:21:59] local.INFO: GPS data processed {"connection_id":152222,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:21:59] local.INFO: Acknowledgment sent {"connection_id":152222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:22:25] local.INFO: TCP Data received {"connection_id":153542,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:22:25] local.INFO: Processing buffer {"connection_id":153542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:22:25] local.INFO: IMEI packet received {"connection_id":153542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":153542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:22:26] local.INFO: TCP Data received {"connection_id":153542,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:22:26] local.INFO: Processing buffer {"connection_id":153542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:22:26] local.INFO: IMEI packet received {"connection_id":153542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":153542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:22:30] local.INFO: TCP Data received {"connection_id":153542,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:22:30] local.INFO: Processing buffer {"connection_id":153542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:22:30] local.INFO: IMEI packet received {"connection_id":153542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":153542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:22:33] local.INFO: TCP Data received {"connection_id":153542,"ip":"42.106.6.23","data_length":1348,"data_hex":"000000000000030f8e0a0000019ff003dd88012da9e18005c5a018001400f22a..."} 
[2026-08-11 14:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153542,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019ff003dd88012da9e18005c5a018001400f22a..."} 
[2026-08-11 14:22:33] local.INFO: Processing buffer {"connection_id":153542,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019ff003dd88012da9e18005c5a018001400f22a..."} 
[2026-08-11 14:22:33] local.INFO: Packet analysis {"connection_id":153542,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019ff003"} 
[2026-08-11 14:22:33] local.INFO: Extracted packet for processing {"connection_id":153542,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019ff003"} 
[2026-08-11 14:22:33] local.INFO: GPS Element Parsed {"raw_longitude":766108032,"raw_latitude":96837656,"longitude_deg":76.6108032,"latitude_deg":9.6837656,"altitude":20,"angle":242,"satellites":42,"speed":15,"hex_longitude":"2da9e180","hex_latitude":"05c5a018","is_valid_coordinates":true} 
[2026-08-11 14:22: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-08-11 14:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328177152001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377642515693568000,"note":"Value kept but may cause issues"} 
[2026-08-11 14:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6202512193260949504,"note":"Value kept but may cause issues"} 
[2026-08-11 14:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786438213000,"timestamp_ms":1786438213000,"timestamp_seconds":1786438213,"priority":1,"record_length":96,"hex_timestamp":"0000019ff003dd88"} 
[2026-08-11 14:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:22: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":141,"data_length":795,"current_offset":136} 
[2026-08-11 14:22:33] 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-08-11 14:22: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-08-11 14:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":153542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":153542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":153542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:22:33] 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-08-11 14:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328177152001,"66":27908,"95":206,"83":16896,"24":15,"16":377642515693568000,"45":-6202512193260949504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-08-11 14:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328177152001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:22:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 14:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377642515693568000,"km_value":377642515693568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6202512193260949504,"description":"Unknown IO ID 45"} 
[2026-08-11 14:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328177152001,"power":27908,"unknown_95":206,"unknown_83":16896,"ignition":15,"odometer":null,"unknown_45":-6202512193260949504}} 
[2026-08-11 14:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":153542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:22:33] local.INFO: GPS data processed {"connection_id":153542,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:22:33] local.INFO: Acknowledgment sent {"connection_id":153542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:22:33] local.INFO: Packet analysis {"connection_id":153542,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019ff004"} 
[2026-08-11 14:22:33] local.INFO: Incomplete packet, waiting for more data {"connection_id":153542,"needed":795,"available":553} 
[2026-08-11 14:22:34] local.INFO: TCP Data received {"connection_id":153542,"ip":"42.106.6.23","data_length":242,"data_hex":"0000000000019ff00256e8012daa4e0005c5e788000b00ee29002b0000000a00..."} 
[2026-08-11 14:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153542,"packet_length":242,"packet_hex":"0000000000019ff00256e8012daa4e0005c5e788000b00ee29002b0000000a00..."} 
[2026-08-11 14:22:34] local.INFO: Processing buffer {"connection_id":153542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0041050012da9c28005c58df0001400ee2a..."} 
[2026-08-11 14:22:34] local.INFO: Packet analysis {"connection_id":153542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff004"} 
[2026-08-11 14:22:34] local.INFO: Extracted packet for processing {"connection_id":153542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff004"} 
[2026-08-11 14:22:34] local.INFO: GPS Element Parsed {"raw_longitude":766100096,"raw_latitude":96833008,"longitude_deg":76.6100096,"latitude_deg":9.6833008,"altitude":20,"angle":238,"satellites":42,"speed":35,"hex_longitude":"2da9c280","hex_latitude":"05c58df0","is_valid_coordinates":true} 
[2026-08-11 14:22: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-08-11 14:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328182528001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377642958075199488,"note":"Value kept but may cause issues"} 
[2026-08-11 14:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6205538049261037568,"note":"Value kept but may cause issues"} 
[2026-08-11 14:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786438226000,"timestamp_ms":1786438226000,"timestamp_seconds":1786438226,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0041050"} 
[2026-08-11 14:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:22: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-08-11 14:22: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-08-11 14:22: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-08-11 14:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:22:34] 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-08-11 14:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328182528001,"66":27876,"95":206,"83":16896,"24":35,"16":377642958075199488,"45":-6205538049261037568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-08-11 14:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328182528001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:22:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 14:22:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377642958075199488,"km_value":377642958075199.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6205538049261037568,"description":"Unknown IO ID 45"} 
[2026-08-11 14:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328182528001,"power":27876,"unknown_95":206,"unknown_83":16896,"ignition":35,"odometer":null,"unknown_45":-6205538049261037568}} 
[2026-08-11 14:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":153542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:22:34] local.INFO: GPS data processed {"connection_id":153542,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:22:34] local.INFO: Acknowledgment sent {"connection_id":153542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:22:35] local.INFO: TCP Data received {"connection_id":153542,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0046258012da9ab0005c57f68000d00ef28..."} 
[2026-08-11 14:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0046258012da9ab0005c57f68000d00ef28..."} 
[2026-08-11 14:22:35] local.INFO: Processing buffer {"connection_id":153542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0046258012da9ab0005c57f68000d00ef28..."} 
[2026-08-11 14:22:35] local.INFO: Packet analysis {"connection_id":153542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff004"} 
[2026-08-11 14:22:35] local.INFO: Extracted packet for processing {"connection_id":153542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff004"} 
[2026-08-11 14:22:35] local.INFO: GPS Element Parsed {"raw_longitude":766094080,"raw_latitude":96829288,"longitude_deg":76.609408,"latitude_deg":9.6829288,"altitude":13,"angle":239,"satellites":40,"speed":9,"hex_longitude":"2da9ab00","hex_latitude":"05c57f68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328185856001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377643297377615872,"note":"Value kept but may cause issues"} 
[2026-08-11 14:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6214263773540257792,"note":"Value kept but may cause issues"} 
[2026-08-11 14:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786438247000,"timestamp_ms":1786438247000,"timestamp_seconds":1786438247,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0046258"} 
[2026-08-11 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-08-11 14:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":228,"data_length":795,"current_offset":136} 
[2026-08-11 14:22: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-08-11 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-08-11 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-08-11 14:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:22: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-08-11 14:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328185856001,"66":27865,"95":206,"83":16896,"24":9,"16":377643297377615872,"45":-6214263773540257792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-08-11 14:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328185856001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:22:35] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 14:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377643297377615872,"km_value":377643297377615.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6214263773540257792,"description":"Unknown IO ID 45"} 
[2026-08-11 14:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328185856001,"power":27865,"unknown_95":206,"unknown_83":16896,"ignition":9,"odometer":null,"unknown_45":-6214263773540257792}} 
[2026-08-11 14:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":153542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:22:35] local.INFO: GPS data processed {"connection_id":153542,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:22:35] local.INFO: Acknowledgment sent {"connection_id":153542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:23:25] local.INFO: TCP Data received {"connection_id":153543,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:23:25] local.INFO: Processing buffer {"connection_id":153543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:23:25] local.INFO: IMEI packet received {"connection_id":153543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":153543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:23:28] local.INFO: TCP Data received {"connection_id":153543,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:23:28] local.INFO: Processing buffer {"connection_id":153543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:23:28] local.INFO: IMEI packet received {"connection_id":153543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":153543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:23:29] local.INFO: TCP Data received {"connection_id":153543,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:23:29] local.INFO: Processing buffer {"connection_id":153543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:23:29] local.INFO: IMEI packet received {"connection_id":153543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":153543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:23:30] local.INFO: TCP Data received {"connection_id":153543,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff005fc80012da83f0005c48660001100e128..."} 
[2026-08-11 14:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff005fc80012da83f0005c48660001100e128..."} 
[2026-08-11 14:23:30] local.INFO: Processing buffer {"connection_id":153543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff005fc80012da83f0005c48660001100e128..."} 
[2026-08-11 14:23:30] local.INFO: Packet analysis {"connection_id":153543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff005"} 
[2026-08-11 14:23:30] local.INFO: Extracted packet for processing {"connection_id":153543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff005"} 
[2026-08-11 14:23:30] local.INFO: GPS Element Parsed {"raw_longitude":766000896,"raw_latitude":96765536,"longitude_deg":76.6000896,"latitude_deg":9.6765536,"altitude":17,"angle":225,"satellites":40,"speed":43,"hex_longitude":"2da83f00","hex_latitude":"05c48660","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328216064001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377648769165950976,"note":"Value kept but may cause issues"} 
[2026-08-11 14:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6316439190101706752,"note":"Value kept but may cause issues"} 
[2026-08-11 14:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786438352000,"timestamp_ms":1786438352000,"timestamp_seconds":1786438352,"priority":1,"record_length":96,"hex_timestamp":"0000019ff005fc80"} 
[2026-08-11 14:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 14:23:30] 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-08-11 14: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-08-11 14:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:23:30] 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-08-11 14:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328216064001,"66":27821,"95":206,"83":16896,"24":43,"16":377648769165950976,"45":-6316439190101706752},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-08-11 14:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328216064001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:23:30] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 14:23:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377648769165950976,"km_value":377648769165951.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6316439190101706752,"description":"Unknown IO ID 45"} 
[2026-08-11 14:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328216064001,"power":27821,"unknown_95":206,"unknown_83":16896,"ignition":43,"odometer":null,"unknown_45":-6316439190101706752}} 
[2026-08-11 14:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":153543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:23:30] local.INFO: GPS data processed {"connection_id":153543,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:23:30] local.INFO: Acknowledgment sent {"connection_id":153543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:24:01] local.INFO: TCP Data received {"connection_id":153543,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0061fa8012da8258005c46c90001000ec26..."} 
[2026-08-11 14:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0061fa8012da8258005c46c90001000ec26..."} 
[2026-08-11 14:24:01] local.INFO: Processing buffer {"connection_id":153543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0061fa8012da8258005c46c90001000ec26..."} 
[2026-08-11 14:24:01] local.INFO: Packet analysis {"connection_id":153543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff006"} 
[2026-08-11 14:24:01] local.INFO: Extracted packet for processing {"connection_id":153543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff006"} 
[2026-08-11 14:24:01] local.INFO: GPS Element Parsed {"raw_longitude":765994368,"raw_latitude":96758928,"longitude_deg":76.5994368,"latitude_deg":9.6758928,"altitude":16,"angle":236,"satellites":38,"speed":42,"hex_longitude":"2da82580","hex_latitude":"05c46c90","is_valid_coordinates":true} 
[2026-08-11 14:24: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-08-11 14:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328218112001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377649220137517056,"note":"Value kept but may cause issues"} 
[2026-08-11 14:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6323335327032909824,"note":"Value kept but may cause issues"} 
[2026-08-11 14:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786438361000,"timestamp_ms":1786438361000,"timestamp_seconds":1786438361,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0061fa8"} 
[2026-08-11 14:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:24: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 14:24:01] 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-08-11 14:24: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-08-11 14:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:24:01] 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-08-11 14:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328218112001,"66":27919,"95":206,"83":16896,"24":42,"16":377649220137517056,"45":-6323335327032909824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-08-11 14:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328218112001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:24:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 14:24:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377649220137517056,"km_value":377649220137517.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6323335327032909824,"description":"Unknown IO ID 45"} 
[2026-08-11 14:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328218112001,"power":27919,"unknown_95":206,"unknown_83":16896,"ignition":42,"odometer":null,"unknown_45":-6323335327032909824}} 
[2026-08-11 14:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":153543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:24:01] local.INFO: GPS data processed {"connection_id":153543,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:24:01] local.INFO: Acknowledgment sent {"connection_id":153543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:24:24] local.INFO: TCP Data received {"connection_id":152597,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:24:24] local.INFO: Processing buffer {"connection_id":152597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:24:24] local.INFO: IMEI packet received {"connection_id":152597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":152597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:24:25] local.INFO: TCP Data received {"connection_id":152597,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:24:25] local.INFO: Processing buffer {"connection_id":152597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:24:25] local.INFO: IMEI packet received {"connection_id":152597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":152597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:24:26] local.INFO: TCP Data received {"connection_id":152597,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0061fa8012da8258005c46c90001000ec26..."} 
[2026-08-11 14:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0061fa8012da8258005c46c90001000ec26..."} 
[2026-08-11 14:24:26] local.INFO: Processing buffer {"connection_id":152597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0061fa8012da8258005c46c90001000ec26..."} 
[2026-08-11 14:24:26] local.INFO: Packet analysis {"connection_id":152597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff006"} 
[2026-08-11 14:24:26] local.INFO: Extracted packet for processing {"connection_id":152597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff006"} 
[2026-08-11 14:24:26] local.INFO: GPS Element Parsed {"raw_longitude":765994368,"raw_latitude":96758928,"longitude_deg":76.5994368,"latitude_deg":9.6758928,"altitude":16,"angle":236,"satellites":38,"speed":42,"hex_longitude":"2da82580","hex_latitude":"05c46c90","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328220416001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377649220137517056,"note":"Value kept but may cause issues"} 
[2026-08-11 14:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6330512938940723200,"note":"Value kept but may cause issues"} 
[2026-08-11 14:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786438361000,"timestamp_ms":1786438361000,"timestamp_seconds":1786438361,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0061fa8"} 
[2026-08-11 14:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":15,"data_length":795,"current_offset":136} 
[2026-08-11 14:24:26] 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-08-11 14: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-08-11 14:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:24:26] 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-08-11 14:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328220416001,"66":27919,"95":206,"83":16896,"24":42,"16":377649220137517056,"45":-6330512938940723200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-08-11 14:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328220416001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:24:26] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 14:24:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377649220137517056,"km_value":377649220137517.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6330512938940723200,"description":"Unknown IO ID 45"} 
[2026-08-11 14:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328220416001,"power":27919,"unknown_95":206,"unknown_83":16896,"ignition":42,"odometer":null,"unknown_45":-6330512938940723200}} 
[2026-08-11 14:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":152597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:24:26] local.INFO: GPS data processed {"connection_id":152597,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:24:26] local.INFO: Acknowledgment sent {"connection_id":152597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:24:30] local.INFO: TCP Data received {"connection_id":152597,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0063ee8012da806c005c45a30000e00ee28..."} 
[2026-08-11 14:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0063ee8012da806c005c45a30000e00ee28..."} 
[2026-08-11 14:24:30] local.INFO: Processing buffer {"connection_id":152597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0063ee8012da806c005c45a30000e00ee28..."} 
[2026-08-11 14:24:30] local.INFO: Packet analysis {"connection_id":152597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff006"} 
[2026-08-11 14:24:30] local.INFO: Extracted packet for processing {"connection_id":152597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff006"} 
[2026-08-11 14:24:30] local.INFO: GPS Element Parsed {"raw_longitude":765986496,"raw_latitude":96754224,"longitude_deg":76.5986496,"latitude_deg":9.6754224,"altitude":14,"angle":238,"satellites":40,"speed":47,"hex_longitude":"2da806c0","hex_latitude":"05c45a30","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328220416001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377649662519148544,"note":"Value kept but may cause issues"} 
[2026-08-11 14:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6330512938940723200,"note":"Value kept but may cause issues"} 
[2026-08-11 14:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786438369000,"timestamp_ms":1786438369000,"timestamp_seconds":1786438369,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0063ee8"} 
[2026-08-11 14:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 14:24:30] 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-08-11 14:24: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-08-11 14:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:24:30] 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-08-11 14:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328220416001,"66":27865,"95":206,"83":16896,"24":47,"16":377649662519148544,"45":-6330512938940723200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-08-11 14:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328220416001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:24:30] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 14:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377649662519148544,"km_value":377649662519148.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6330512938940723200,"description":"Unknown IO ID 45"} 
[2026-08-11 14:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328220416001,"power":27865,"unknown_95":206,"unknown_83":16896,"ignition":47,"odometer":null,"unknown_45":-6330512938940723200}} 
[2026-08-11 14:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":152597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:24:30] local.INFO: GPS data processed {"connection_id":152597,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:24:30] local.INFO: Acknowledgment sent {"connection_id":152597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:25:01] local.INFO: TCP Data received {"connection_id":152597,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0076f98012da6cac005c486b0000e01072a..."} 
[2026-08-11 14:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0076f98012da6cac005c486b0000e01072a..."} 
[2026-08-11 14:25:01] local.INFO: Processing buffer {"connection_id":152597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0076f98012da6cac005c486b0000e01072a..."} 
[2026-08-11 14:25:01] local.INFO: Packet analysis {"connection_id":152597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff007"} 
[2026-08-11 14:25:01] local.INFO: Extracted packet for processing {"connection_id":152597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff007"} 
[2026-08-11 14:25:01] local.INFO: GPS Element Parsed {"raw_longitude":765905600,"raw_latitude":96765616,"longitude_deg":76.59056,"latitude_deg":9.6765616,"altitude":14,"angle":263,"satellites":42,"speed":41,"hex_longitude":"2da6cac0","hex_latitude":"05c486b0","is_valid_coordinates":true} 
[2026-08-11 14:25: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-08-11 14:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328241920001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377654064860626944,"note":"Value kept but may cause issues"} 
[2026-08-11 14:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6425862587299770368,"note":"Value kept but may cause issues"} 
[2026-08-11 14:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786438447000,"timestamp_ms":1786438447000,"timestamp_seconds":1786438447,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0076f98"} 
[2026-08-11 14:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:25: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:25:01] 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-08-11 14:25: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-08-11 14:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:25:01] 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-08-11 14:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328241920001,"66":27865,"181":206,"83":16896,"24":41,"16":377654064860626944,"45":-6425862587299770368},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,45]} 
[2026-08-11 14:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328241920001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:25:01] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-11 14:25:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377654064860626944,"km_value":377654064860626.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6425862587299770368,"description":"Unknown IO ID 45"} 
[2026-08-11 14:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328241920001,"power":27865,"unknown_181":206,"unknown_83":16896,"ignition":41,"odometer":null,"unknown_45":-6425862587299770368}} 
[2026-08-11 14:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":152597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:25:01] local.INFO: GPS data processed {"connection_id":152597,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:25:01] local.INFO: Acknowledgment sent {"connection_id":152597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:25:15] local.INFO: TCP Data received {"connection_id":154916,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:25:15] local.INFO: Processing buffer {"connection_id":154916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:25:15] local.INFO: IMEI packet received {"connection_id":154916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":154916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:25:17] local.INFO: TCP Data received {"connection_id":154916,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00617d8012d181c400721a5c0004a00f825..."} 
[2026-08-11 14:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00617d8012d181c400721a5c0004a00f825..."} 
[2026-08-11 14:25:17] local.INFO: Processing buffer {"connection_id":154916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00617d8012d181c400721a5c0004a00f825..."} 
[2026-08-11 14:25:17] local.INFO: Packet analysis {"connection_id":154916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff006"} 
[2026-08-11 14:25:17] local.INFO: Extracted packet for processing {"connection_id":154916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff006"} 
[2026-08-11 14:25:17] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119645632,"longitude_deg":75.6554816,"latitude_deg":11.9645632,"altitude":74,"angle":248,"satellites":37,"speed":5,"hex_longitude":"2d181c40","hex_latitude":"0721a5c0","is_valid_coordinates":true} 
[2026-08-11 14:25: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-08-11 14:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328216576001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629169414766592,"note":"Value kept but may cause issues"} 
[2026-08-11 14:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741696817769963520,"note":"Value kept but may cause issues"} 
[2026-08-11 14:25:17] 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-08-11 14:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786438359000,"timestamp_ms":1786438359000,"timestamp_seconds":1786438359,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00617d8"} 
[2026-08-11 14:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:25:17] 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-08-11 14:25: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-11 14:25:17] 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-08-11 14:25: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-08-11 14:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328216576001,"66":13243,"120":206,"28":31744,"24":5,"16":11629169414766592,"45":1741696817769963520},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-11 14:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328216576001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:25:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 14:25:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629169414766592,"km_value":11629169414766.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741696817769963520,"description":"Unknown IO ID 45"} 
[2026-08-11 14:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328216576001,"power":13243,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1741696817769963520}} 
[2026-08-11 14:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":154916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:25:17] local.INFO: GPS data processed {"connection_id":154916,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:25:17] local.INFO: Acknowledgment sent {"connection_id":154916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:25:19] local.INFO: TCP Data received {"connection_id":152224,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:25:19] local.INFO: Processing buffer {"connection_id":152224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:25:19] local.INFO: IMEI packet received {"connection_id":152224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":152224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:25:28] local.INFO: TCP Data received {"connection_id":152224,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:25:28] local.INFO: Processing buffer {"connection_id":152224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:25:28] local.INFO: IMEI packet received {"connection_id":152224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":152224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:25:31] local.INFO: TCP Data received {"connection_id":152224,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0077768012da6c2c005c48498000d00fa2a..."} 
[2026-08-11 14:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0077768012da6c2c005c48498000d00fa2a..."} 
[2026-08-11 14:25:31] local.INFO: Processing buffer {"connection_id":152224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0077768012da6c2c005c48498000d00fa2a..."} 
[2026-08-11 14:25:31] local.INFO: Packet analysis {"connection_id":152224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff007"} 
[2026-08-11 14:25:31] local.INFO: Extracted packet for processing {"connection_id":152224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff007"} 
[2026-08-11 14:25:31] local.INFO: GPS Element Parsed {"raw_longitude":765903552,"raw_latitude":96765080,"longitude_deg":76.5903552,"latitude_deg":9.676508,"altitude":13,"angle":250,"satellites":42,"speed":43,"hex_longitude":"2da6c2c0","hex_latitude":"05c48498","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328242432001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377654163644874752,"note":"Value kept but may cause issues"} 
[2026-08-11 14:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6428114387113431040,"note":"Value kept but may cause issues"} 
[2026-08-11 14:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786438449000,"timestamp_ms":1786438449000,"timestamp_seconds":1786438449,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0077768"} 
[2026-08-11 14:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:25:31] 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-08-11 14: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-08-11 14:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:25:31] 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-08-11 14:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328242432001,"66":27180,"181":206,"83":16896,"24":43,"16":377654163644874752,"45":-6428114387113431040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,45]} 
[2026-08-11 14:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328242432001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:25:31] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-11 14:25:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377654163644874752,"km_value":377654163644874.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6428114387113431040,"description":"Unknown IO ID 45"} 
[2026-08-11 14:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328242432001,"power":27180,"unknown_181":206,"unknown_83":16896,"ignition":43,"odometer":null,"unknown_45":-6428114387113431040}} 
[2026-08-11 14:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":152224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:25:31] local.INFO: GPS data processed {"connection_id":152224,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:25:31] local.INFO: Acknowledgment sent {"connection_id":152224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:25:32] local.INFO: TCP Data received {"connection_id":152224,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00796a8012da69f8005c475b0000b00f428..."} 
[2026-08-11 14:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00796a8012da69f8005c475b0000b00f428..."} 
[2026-08-11 14:25:32] local.INFO: Processing buffer {"connection_id":152224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00796a8012da69f8005c475b0000b00f428..."} 
[2026-08-11 14:25:32] local.INFO: Packet analysis {"connection_id":152224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff007"} 
[2026-08-11 14:25:32] local.INFO: Extracted packet for processing {"connection_id":152224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff007"} 
[2026-08-11 14:25:32] local.INFO: GPS Element Parsed {"raw_longitude":765894528,"raw_latitude":96761264,"longitude_deg":76.5894528,"latitude_deg":9.6761264,"altitude":11,"angle":244,"satellites":40,"speed":48,"hex_longitude":"2da69f80","hex_latitude":"05c475b0","is_valid_coordinates":true} 
[2026-08-11 14:25: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-08-11 14:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328242944001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377654631796310016,"note":"Value kept but may cause issues"} 
[2026-08-11 14:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6430366186927253504,"note":"Value kept but may cause issues"} 
[2026-08-11 14:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786438457000,"timestamp_ms":1786438457000,"timestamp_seconds":1786438457,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00796a8"} 
[2026-08-11 14:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:25: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":44,"data_length":795,"current_offset":136} 
[2026-08-11 14:25:32] 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-08-11 14:25: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-08-11 14:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:25:32] 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-08-11 14:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328242944001,"66":27745,"181":206,"83":16896,"24":48,"16":377654631796310016,"45":-6430366186927253504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,45]} 
[2026-08-11 14:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328242944001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:25:32] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-11 14:25:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377654631796310016,"km_value":377654631796310.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6430366186927253504,"description":"Unknown IO ID 45"} 
[2026-08-11 14:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328242944001,"power":27745,"unknown_181":206,"unknown_83":16896,"ignition":48,"odometer":null,"unknown_45":-6430366186927253504}} 
[2026-08-11 14:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":152224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:25:32] local.INFO: GPS data processed {"connection_id":152224,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:25:32] local.INFO: Acknowledgment sent {"connection_id":152224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:25:48] local.INFO: TCP Data received {"connection_id":154916,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0079a90012d180b4007219290004c00162d..."} 
[2026-08-11 14:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0079a90012d180b4007219290004c00162d..."} 
[2026-08-11 14:25:48] local.INFO: Processing buffer {"connection_id":154916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0079a90012d180b4007219290004c00162d..."} 
[2026-08-11 14:25:48] local.INFO: Packet analysis {"connection_id":154916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff007"} 
[2026-08-11 14:25:48] local.INFO: Extracted packet for processing {"connection_id":154916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff007"} 
[2026-08-11 14:25:48] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119640720,"longitude_deg":75.6550464,"latitude_deg":11.964072,"altitude":76,"angle":22,"satellites":45,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07219290","is_valid_coordinates":true} 
[2026-08-11 14:25: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-08-11 14:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328239872001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629543076921344,"note":"Value kept but may cause issues"} 
[2026-08-11 14:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881026289664,"note":"Value kept but may cause issues"} 
[2026-08-11 14:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786438458000,"timestamp_ms":1786438458000,"timestamp_seconds":1786438458,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0079a90"} 
[2026-08-11 14:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:25:48] 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-08-11 14:25: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-11 14:25:48] 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-08-11 14:25: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-08-11 14:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328239872001,"66":12917,"122":206,"28":31744,"24":0,"16":11629543076921344,"45":1732548881026289664},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 14:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328239872001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:25:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 14:25:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629543076921344,"km_value":11629543076921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881026289664,"description":"Unknown IO ID 45"} 
[2026-08-11 14:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328239872001,"power":12917,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881026289664}} 
[2026-08-11 14:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":154916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:25:48] local.INFO: GPS data processed {"connection_id":154916,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:25:48] local.INFO: Acknowledgment sent {"connection_id":154916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:26:08] local.INFO: TCP Data received {"connection_id":152224,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0086998012da5e78005c3fb70000e010f26..."} 
[2026-08-11 14:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0086998012da5e78005c3fb70000e010f26..."} 
[2026-08-11 14:26:08] local.INFO: Processing buffer {"connection_id":152224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0086998012da5e78005c3fb70000e010f26..."} 
[2026-08-11 14:26:08] local.INFO: Packet analysis {"connection_id":152224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff008"} 
[2026-08-11 14:26:08] local.INFO: Extracted packet for processing {"connection_id":152224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff008"} 
[2026-08-11 14:26:08] local.INFO: GPS Element Parsed {"raw_longitude":765847424,"raw_latitude":96729968,"longitude_deg":76.5847424,"latitude_deg":9.6729968,"altitude":14,"angle":271,"satellites":38,"speed":36,"hex_longitude":"2da5e780","hex_latitude":"05c3fb70","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328258304001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377657449294856192,"note":"Value kept but may cause issues"} 
[2026-08-11 14:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6490109250743040000,"note":"Value kept but may cause issues"} 
[2026-08-11 14:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786438511000,"timestamp_ms":1786438511000,"timestamp_seconds":1786438511,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0086998"} 
[2026-08-11 14:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 14:26: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-08-11 14: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-08-11 14:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:26:08] 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-08-11 14:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328258304001,"66":27767,"148":206,"83":16896,"24":36,"16":377657449294856192,"45":-6490109250743040000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,83,24,16,45]} 
[2026-08-11 14:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328258304001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:26:08] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-11 14:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377657449294856192,"km_value":377657449294856.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6490109250743040000,"description":"Unknown IO ID 45"} 
[2026-08-11 14:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328258304001,"power":27767,"unknown_148":206,"unknown_83":16896,"ignition":36,"odometer":null,"unknown_45":-6490109250743040000}} 
[2026-08-11 14:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":152224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:26:08] local.INFO: GPS data processed {"connection_id":152224,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:26:08] local.INFO: Acknowledgment sent {"connection_id":152224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:26:10] local.INFO: TCP Data received {"connection_id":154917,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:26:10] local.INFO: Processing buffer {"connection_id":154917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:26:10] local.INFO: IMEI packet received {"connection_id":154917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":154917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:26:15] local.INFO: TCP Data received {"connection_id":154917,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:26:15] local.INFO: Processing buffer {"connection_id":154917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:26:15] local.INFO: IMEI packet received {"connection_id":154917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":154917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:26:17] local.INFO: TCP Data received {"connection_id":154917,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff007ec98012d180b4007219290004c00162d..."} 
[2026-08-11 14:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff007ec98012d180b4007219290004c00162d..."} 
[2026-08-11 14:26:17] local.INFO: Processing buffer {"connection_id":154917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff007ec98012d180b4007219290004c00162d..."} 
[2026-08-11 14:26:17] local.INFO: Packet analysis {"connection_id":154917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff007"} 
[2026-08-11 14:26:17] local.INFO: Extracted packet for processing {"connection_id":154917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff007"} 
[2026-08-11 14:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119640720,"longitude_deg":75.6550464,"latitude_deg":11.964072,"altitude":76,"angle":22,"satellites":45,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07219290","is_valid_coordinates":true} 
[2026-08-11 14:26: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-08-11 14:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328245248001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629543076921344,"note":"Value kept but may cause issues"} 
[2026-08-11 14:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881026289664,"note":"Value kept but may cause issues"} 
[2026-08-11 14:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786438479000,"timestamp_ms":1786438479000,"timestamp_seconds":1786438479,"priority":1,"record_length":96,"hex_timestamp":"0000019ff007ec98"} 
[2026-08-11 14:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:26:17] 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-08-11 14:26: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 14:26:17] 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-08-11 14:26: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-08-11 14:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328245248001,"66":12939,"122":206,"28":31744,"24":0,"16":11629543076921344,"45":1732548881026289664},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 14:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328245248001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:26:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 14:26:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629543076921344,"km_value":11629543076921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881026289664,"description":"Unknown IO ID 45"} 
[2026-08-11 14:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328245248001,"power":12939,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881026289664}} 
[2026-08-11 14:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":154917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:26:17] local.INFO: GPS data processed {"connection_id":154917,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:26:17] local.INFO: Acknowledgment sent {"connection_id":154917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:26:19] local.INFO: TCP Data received {"connection_id":154918,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:26:19] local.INFO: Processing buffer {"connection_id":154918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:26:19] local.INFO: IMEI packet received {"connection_id":154918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":154918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:26:21] local.INFO: TCP Data received {"connection_id":154918,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:26:21] local.INFO: Processing buffer {"connection_id":154918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:26:21] local.INFO: IMEI packet received {"connection_id":154918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":154918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:26:24] local.INFO: TCP Data received {"connection_id":154918,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:26:24] local.INFO: Processing buffer {"connection_id":154918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:26:24] local.INFO: IMEI packet received {"connection_id":154918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":154918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:26:26] local.INFO: TCP Data received {"connection_id":154918,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0087168012da5e04005c3fc50000e011a28..."} 
[2026-08-11 14:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0087168012da5e04005c3fc50000e011a28..."} 
[2026-08-11 14:26:26] local.INFO: Processing buffer {"connection_id":154918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0087168012da5e04005c3fc50000e011a28..."} 
[2026-08-11 14:26:26] local.INFO: Packet analysis {"connection_id":154918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff008"} 
[2026-08-11 14:26:26] local.INFO: Extracted packet for processing {"connection_id":154918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff008"} 
[2026-08-11 14:26:26] local.INFO: GPS Element Parsed {"raw_longitude":765845568,"raw_latitude":96730192,"longitude_deg":76.5845568,"latitude_deg":9.6730192,"altitude":14,"angle":282,"satellites":40,"speed":36,"hex_longitude":"2da5e040","hex_latitude":"05c3fc50","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328258816001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377657535194202112,"note":"Value kept but may cause issues"} 
[2026-08-11 14:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6492079575580053504,"note":"Value kept but may cause issues"} 
[2026-08-11 14:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786438513000,"timestamp_ms":1786438513000,"timestamp_seconds":1786438513,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0087168"} 
[2026-08-11 14:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 14:26:26] 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-08-11 14: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-08-11 14:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:26:26] 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-08-11 14:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328258816001,"66":27908,"148":206,"83":16896,"24":36,"16":377657535194202112,"45":-6492079575580053504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,83,24,16,45]} 
[2026-08-11 14:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328258816001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:26:26] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-11 14:26:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377657535194202112,"km_value":377657535194202.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6492079575580053504,"description":"Unknown IO ID 45"} 
[2026-08-11 14:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328258816001,"power":27908,"unknown_148":206,"unknown_83":16896,"ignition":36,"odometer":null,"unknown_45":-6492079575580053504}} 
[2026-08-11 14:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":154918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:26:26] local.INFO: GPS data processed {"connection_id":154918,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:26:26] local.INFO: Acknowledgment sent {"connection_id":154918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:26:49] local.INFO: TCP Data received {"connection_id":154917,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0083ea0012d180b4007219290004c00162f..."} 
[2026-08-11 14:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0083ea0012d180b4007219290004c00162f..."} 
[2026-08-11 14:26:49] local.INFO: Processing buffer {"connection_id":154917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0083ea0012d180b4007219290004c00162f..."} 
[2026-08-11 14:26:49] local.INFO: Packet analysis {"connection_id":154917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff008"} 
[2026-08-11 14:26:49] local.INFO: Extracted packet for processing {"connection_id":154917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff008"} 
[2026-08-11 14:26:49] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119640720,"longitude_deg":75.6550464,"latitude_deg":11.964072,"altitude":76,"angle":22,"satellites":47,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07219290","is_valid_coordinates":true} 
[2026-08-11 14:26: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-08-11 14:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328250624001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629543076921344,"note":"Value kept but may cause issues"} 
[2026-08-11 14:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881026289664,"note":"Value kept but may cause issues"} 
[2026-08-11 14:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786438500000,"timestamp_ms":1786438500000,"timestamp_seconds":1786438500,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0083ea0"} 
[2026-08-11 14:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:26:49] 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-08-11 14:26: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 14:26:49] 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-08-11 14:26: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-08-11 14:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328250624001,"66":12939,"122":206,"28":31744,"24":0,"16":11629543076921344,"45":1732548881026289664},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 14:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328250624001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:26:49] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 14:26:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629543076921344,"km_value":11629543076921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881026289664,"description":"Unknown IO ID 45"} 
[2026-08-11 14:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328250624001,"power":12939,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881026289664}} 
[2026-08-11 14:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":154917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:26:49] local.INFO: GPS data processed {"connection_id":154917,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:26:49] local.INFO: Acknowledgment sent {"connection_id":154917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:26:58] local.INFO: TCP Data received {"connection_id":154918,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0089878012da5bd0005c406c00011011823..."} 
[2026-08-11 14:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0089878012da5bd0005c406c00011011823..."} 
[2026-08-11 14:26:58] local.INFO: Processing buffer {"connection_id":154918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0089878012da5bd0005c406c00011011823..."} 
[2026-08-11 14:26:58] local.INFO: Packet analysis {"connection_id":154918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff008"} 
[2026-08-11 14:26:58] local.INFO: Extracted packet for processing {"connection_id":154918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff008"} 
[2026-08-11 14:26:58] local.INFO: GPS Element Parsed {"raw_longitude":765836544,"raw_latitude":96732864,"longitude_deg":76.5836544,"latitude_deg":9.6732864,"altitude":17,"angle":280,"satellites":35,"speed":36,"hex_longitude":"2da5bd00","hex_latitude":"05c406c0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328259328001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377657986165768192,"note":"Value kept but may cause issues"} 
[2026-08-11 14:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6494120269161148416,"note":"Value kept but may cause issues"} 
[2026-08-11 14:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786438523000,"timestamp_ms":1786438523000,"timestamp_seconds":1786438523,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0089878"} 
[2026-08-11 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-08-11 14:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 14:26:58] 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-08-11 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-08-11 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-08-11 14:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":154918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":154918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":154918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:26:58] 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-08-11 14:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328259328001,"66":27821,"181":206,"83":16896,"24":36,"16":377657986165768192,"45":-6494120269161148416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,45]} 
[2026-08-11 14:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328259328001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:26:58] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-11 14:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377657986165768192,"km_value":377657986165768.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6494120269161148416,"description":"Unknown IO ID 45"} 
[2026-08-11 14:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328259328001,"power":27821,"unknown_181":206,"unknown_83":16896,"ignition":36,"odometer":null,"unknown_45":-6494120269161148416}} 
[2026-08-11 14:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":154918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:26:58] local.INFO: GPS data processed {"connection_id":154918,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:26:58] local.INFO: Acknowledgment sent {"connection_id":154918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:27:10] local.INFO: TCP Data received {"connection_id":152225,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:27:10] local.INFO: Processing buffer {"connection_id":152225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:27:10] local.INFO: IMEI packet received {"connection_id":152225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":152225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:27:15] local.INFO: TCP Data received {"connection_id":152225,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:27:15] local.INFO: Processing buffer {"connection_id":152225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:27:15] local.INFO: IMEI packet received {"connection_id":152225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":152225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:27:16] local.INFO: TCP Data received {"connection_id":152225,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00890a8012d180b4007219290004c00162e..."} 
[2026-08-11 14:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00890a8012d180b4007219290004c00162e..."} 
[2026-08-11 14:27:16] local.INFO: Processing buffer {"connection_id":152225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00890a8012d180b4007219290004c00162e..."} 
[2026-08-11 14:27:16] local.INFO: Packet analysis {"connection_id":152225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff008"} 
[2026-08-11 14:27:16] local.INFO: Extracted packet for processing {"connection_id":152225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff008"} 
[2026-08-11 14:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119640720,"longitude_deg":75.6550464,"latitude_deg":11.964072,"altitude":76,"angle":22,"satellites":46,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07219290","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328256000001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629543076921344,"note":"Value kept but may cause issues"} 
[2026-08-11 14:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881026289664,"note":"Value kept but may cause issues"} 
[2026-08-11 14:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786438521000,"timestamp_ms":1786438521000,"timestamp_seconds":1786438521,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00890a8"} 
[2026-08-11 14:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:27:16] 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-08-11 14: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 14:27:16] 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-08-11 14: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-08-11 14:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328256000001,"66":12885,"122":206,"28":31744,"24":0,"16":11629543076921344,"45":1732548881026289664},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 14:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328256000001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:27:16] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 14:27:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629543076921344,"km_value":11629543076921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881026289664,"description":"Unknown IO ID 45"} 
[2026-08-11 14:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328256000001,"power":12885,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881026289664}} 
[2026-08-11 14:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":152225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:27:16] local.INFO: GPS data processed {"connection_id":152225,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:27:16] local.INFO: Acknowledgment sent {"connection_id":152225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:27:22] local.INFO: TCP Data received {"connection_id":154919,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:27:22] local.INFO: Processing buffer {"connection_id":154919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:27:22] local.INFO: IMEI packet received {"connection_id":154919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":154919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:27:24] local.INFO: TCP Data received {"connection_id":154919,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:27:24] local.INFO: Processing buffer {"connection_id":154919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:27:24] local.INFO: IMEI packet received {"connection_id":154919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":154919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:27:29] local.INFO: TCP Data received {"connection_id":154919,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:27:29] local.INFO: Processing buffer {"connection_id":154919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:27:29] local.INFO: IMEI packet received {"connection_id":154919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":154919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:27:31] local.INFO: TCP Data received {"connection_id":154919,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0096780012da5244005c386e0001600fd25..."} 
[2026-08-11 14:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0096780012da5244005c386e0001600fd25..."} 
[2026-08-11 14:27:31] local.INFO: Processing buffer {"connection_id":154919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0096780012da5244005c386e0001600fd25..."} 
[2026-08-11 14:27:31] local.INFO: Packet analysis {"connection_id":154919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff009"} 
[2026-08-11 14:27:31] local.INFO: Extracted packet for processing {"connection_id":154919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff009"} 
[2026-08-11 14:27:31] local.INFO: GPS Element Parsed {"raw_longitude":765797440,"raw_latitude":96700128,"longitude_deg":76.579744,"latitude_deg":9.6700128,"altitude":22,"angle":253,"satellites":37,"speed":44,"hex_longitude":"2da52440","hex_latitude":"05c386e0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328273408001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377660597505884160,"note":"Value kept but may cause issues"} 
[2026-08-11 14:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6537256309349138432,"note":"Value kept but may cause issues"} 
[2026-08-11 14:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786438576000,"timestamp_ms":1786438576000,"timestamp_seconds":1786438576,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0096780"} 
[2026-08-11 14:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 14:27:31] 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-08-11 14: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-08-11 14:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:27:31] 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-08-11 14:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328273408001,"66":27865,"54":206,"83":16896,"24":44,"16":377660597505884160,"45":-6537256309349138432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,45]} 
[2026-08-11 14:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328273408001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:27:31] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-11 14:27:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377660597505884160,"km_value":377660597505884.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6537256309349138432,"description":"Unknown IO ID 45"} 
[2026-08-11 14:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328273408001,"power":27865,"unknown_54":206,"unknown_83":16896,"ignition":44,"odometer":null,"unknown_45":-6537256309349138432}} 
[2026-08-11 14:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":154919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:27:31] local.INFO: GPS data processed {"connection_id":154919,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:27:31] local.INFO: Acknowledgment sent {"connection_id":154919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:27:32] local.INFO: TCP Data received {"connection_id":154919,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0097b08012da50fc005c37ef0001600f028..."} 
[2026-08-11 14:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0097b08012da50fc005c37ef0001600f028..."} 
[2026-08-11 14:27:32] local.INFO: Processing buffer {"connection_id":154919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0097b08012da50fc005c37ef0001600f028..."} 
[2026-08-11 14:27:32] local.INFO: Packet analysis {"connection_id":154919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff009"} 
[2026-08-11 14:27:32] local.INFO: Extracted packet for processing {"connection_id":154919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff009"} 
[2026-08-11 14:27:32] local.INFO: GPS Element Parsed {"raw_longitude":765792192,"raw_latitude":96698096,"longitude_deg":76.5792192,"latitude_deg":9.6698096,"altitude":22,"angle":240,"satellites":40,"speed":42,"hex_longitude":"2da50fc0","hex_latitude":"05c37ef0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328275456001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377660868088823808,"note":"Value kept but may cause issues"} 
[2026-08-11 14:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6547037564790448128,"note":"Value kept but may cause issues"} 
[2026-08-11 14:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786438581000,"timestamp_ms":1786438581000,"timestamp_seconds":1786438581,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0097b08"} 
[2026-08-11 14:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:27:32] 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-08-11 14: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-08-11 14:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:27:32] 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-08-11 14:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328275456001,"66":27821,"54":206,"83":16896,"24":42,"16":377660868088823808,"45":-6547037564790448128},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,45]} 
[2026-08-11 14:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328275456001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:27:32] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-11 14:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377660868088823808,"km_value":377660868088823.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6547037564790448128,"description":"Unknown IO ID 45"} 
[2026-08-11 14:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328275456001,"power":27821,"unknown_54":206,"unknown_83":16896,"ignition":42,"odometer":null,"unknown_45":-6547037564790448128}} 
[2026-08-11 14:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":154919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:27:32] local.INFO: GPS data processed {"connection_id":154919,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:27:32] local.INFO: Acknowledgment sent {"connection_id":154919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:27:48] local.INFO: TCP Data received {"connection_id":152225,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff008e2b0012d180b4007219290004c00162e..."} 
[2026-08-11 14:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff008e2b0012d180b4007219290004c00162e..."} 
[2026-08-11 14:27:48] local.INFO: Processing buffer {"connection_id":152225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff008e2b0012d180b4007219290004c00162e..."} 
[2026-08-11 14:27:48] local.INFO: Packet analysis {"connection_id":152225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff008"} 
[2026-08-11 14:27:48] local.INFO: Extracted packet for processing {"connection_id":152225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff008"} 
[2026-08-11 14:27:48] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119640720,"longitude_deg":75.6550464,"latitude_deg":11.964072,"altitude":76,"angle":22,"satellites":46,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07219290","is_valid_coordinates":true} 
[2026-08-11 14:27: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-08-11 14:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328261376001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629543076921344,"note":"Value kept but may cause issues"} 
[2026-08-11 14:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881026289664,"note":"Value kept but may cause issues"} 
[2026-08-11 14:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786438542000,"timestamp_ms":1786438542000,"timestamp_seconds":1786438542,"priority":1,"record_length":96,"hex_timestamp":"0000019ff008e2b0"} 
[2026-08-11 14:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:27:48] 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-08-11 14:27: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-11 14:27:48] 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-08-11 14:27: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-08-11 14:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328261376001,"66":12841,"122":206,"28":31744,"24":0,"16":11629543076921344,"45":1732548881026289664},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 14:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328261376001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:27:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 14:27:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629543076921344,"km_value":11629543076921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881026289664,"description":"Unknown IO ID 45"} 
[2026-08-11 14:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328261376001,"power":12841,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881026289664}} 
[2026-08-11 14:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":152225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:27:48] local.INFO: GPS data processed {"connection_id":152225,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:27:48] local.INFO: Acknowledgment sent {"connection_id":152225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:28:04] local.INFO: TCP Data received {"connection_id":154919,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff009a9e8012da4ef8005c36cc8001500f329..."} 
[2026-08-11 14:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff009a9e8012da4ef8005c36cc8001500f329..."} 
[2026-08-11 14:28:04] local.INFO: Processing buffer {"connection_id":154919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff009a9e8012da4ef8005c36cc8001500f329..."} 
[2026-08-11 14:28:04] local.INFO: Packet analysis {"connection_id":154919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff009"} 
[2026-08-11 14:28:04] local.INFO: Extracted packet for processing {"connection_id":154919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff009"} 
[2026-08-11 14:28:04] local.INFO: GPS Element Parsed {"raw_longitude":765783936,"raw_latitude":96693448,"longitude_deg":76.5783936,"latitude_deg":9.6693448,"altitude":21,"angle":243,"satellites":41,"speed":23,"hex_longitude":"2da4ef80","hex_latitude":"05c36cc8","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328276736001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377661323355357184,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6552807801813536768,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786438593000,"timestamp_ms":1786438593000,"timestamp_seconds":1786438593,"priority":1,"record_length":96,"hex_timestamp":"0000019ff009a9e8"} 
[2026-08-11 14:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 14:28: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-08-11 14: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-08-11 14:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":154919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":154919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":154919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:28: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-08-11 14:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328276736001,"66":27876,"54":206,"83":16896,"24":23,"16":377661323355357184,"45":-6552807801813536768},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,45]} 
[2026-08-11 14:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328276736001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:28:04] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-11 14:28:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377661323355357184,"km_value":377661323355357.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6552807801813536768,"description":"Unknown IO ID 45"} 
[2026-08-11 14:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328276736001,"power":27876,"unknown_54":206,"unknown_83":16896,"ignition":23,"odometer":null,"unknown_45":-6552807801813536768}} 
[2026-08-11 14:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":154919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:28:04] local.INFO: GPS data processed {"connection_id":154919,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:28:04] local.INFO: Acknowledgment sent {"connection_id":154919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:28:16] local.INFO: TCP Data received {"connection_id":152598,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:28:16] local.INFO: Processing buffer {"connection_id":152598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:28:16] local.INFO: IMEI packet received {"connection_id":152598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":152598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:28:16] local.INFO: TCP Data received {"connection_id":154920,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:28:16] local.INFO: Processing buffer {"connection_id":154920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:28:16] local.INFO: IMEI packet received {"connection_id":154920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":154920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:28:20] local.INFO: TCP Data received {"connection_id":154920,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:28:20] local.INFO: Processing buffer {"connection_id":154920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:28:20] local.INFO: IMEI packet received {"connection_id":154920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":154920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:28:20] local.INFO: TCP Data received {"connection_id":152598,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:28:20] local.INFO: Processing buffer {"connection_id":152598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:28:20] local.INFO: IMEI packet received {"connection_id":152598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":152598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:28:22] local.INFO: TCP Data received {"connection_id":152598,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00934b8012d180b4007219290004c00162e..."} 
[2026-08-11 14:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00934b8012d180b4007219290004c00162e..."} 
[2026-08-11 14:28:22] local.INFO: Processing buffer {"connection_id":152598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00934b8012d180b4007219290004c00162e..."} 
[2026-08-11 14:28:22] local.INFO: Packet analysis {"connection_id":152598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff009"} 
[2026-08-11 14:28:22] local.INFO: Extracted packet for processing {"connection_id":152598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff009"} 
[2026-08-11 14:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119640720,"longitude_deg":75.6550464,"latitude_deg":11.964072,"altitude":76,"angle":22,"satellites":46,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07219290","is_valid_coordinates":true} 
[2026-08-11 14:28: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-08-11 14:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328266752001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629543076921344,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881026289664,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786438563000,"timestamp_ms":1786438563000,"timestamp_seconds":1786438563,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00934b8"} 
[2026-08-11 14:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:28:22] 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-08-11 14:28: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":41,"data_length":795,"current_offset":136} 
[2026-08-11 14:28:22] 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-08-11 14:28: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-08-11 14:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328266752001,"66":12863,"122":206,"28":31744,"24":0,"16":11629543076921344,"45":1732548881026289664},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 14:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328266752001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:28:22] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 14:28:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629543076921344,"km_value":11629543076921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881026289664,"description":"Unknown IO ID 45"} 
[2026-08-11 14:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328266752001,"power":12863,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881026289664}} 
[2026-08-11 14:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":152598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:28:22] local.INFO: GPS data processed {"connection_id":152598,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:28:22] local.INFO: Acknowledgment sent {"connection_id":152598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:28:24] local.INFO: TCP Data received {"connection_id":154920,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:28:24] local.INFO: Processing buffer {"connection_id":154920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:28:24] local.INFO: IMEI packet received {"connection_id":154920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":154920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:28:25] local.INFO: TCP Data received {"connection_id":154920,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff009d4e0012da4cf4005c35d50001300f22b..."} 
[2026-08-11 14:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff009d4e0012da4cf4005c35d50001300f22b..."} 
[2026-08-11 14:28:25] local.INFO: Processing buffer {"connection_id":154920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff009d4e0012da4cf4005c35d50001300f22b..."} 
[2026-08-11 14:28:25] local.INFO: Packet analysis {"connection_id":154920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff009"} 
[2026-08-11 14:28:25] local.INFO: Extracted packet for processing {"connection_id":154920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff009"} 
[2026-08-11 14:28:25] local.INFO: GPS Element Parsed {"raw_longitude":765775680,"raw_latitude":96689488,"longitude_deg":76.577568,"latitude_deg":9.6689488,"altitude":19,"angle":242,"satellites":43,"speed":41,"hex_longitude":"2da4cf40","hex_latitude":"05c35d50","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328279808001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377661761442021376,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6561885369813645312,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786438604000,"timestamp_ms":1786438604000,"timestamp_seconds":1786438604,"priority":1,"record_length":96,"hex_timestamp":"0000019ff009d4e0"} 
[2026-08-11 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-08-11 14:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 14:28:25] 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-08-11 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-08-11 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-08-11 14:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:28:25] 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-08-11 14:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328279808001,"66":27865,"54":206,"83":16896,"24":41,"16":377661761442021376,"45":-6561885369813645312},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,45]} 
[2026-08-11 14:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328279808001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:28:25] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-11 14:28:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377661761442021376,"km_value":377661761442021.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6561885369813645312,"description":"Unknown IO ID 45"} 
[2026-08-11 14:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328279808001,"power":27865,"unknown_54":206,"unknown_83":16896,"ignition":41,"odometer":null,"unknown_45":-6561885369813645312}} 
[2026-08-11 14:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":154920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:28:25] local.INFO: GPS data processed {"connection_id":154920,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:28:25] local.INFO: Acknowledgment sent {"connection_id":154920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:28:26] local.INFO: TCP Data received {"connection_id":152598,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00986c0012d180b4007219290004c00162d..."} 
[2026-08-11 14:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00986c0012d180b4007219290004c00162d..."} 
[2026-08-11 14:28:26] local.INFO: Processing buffer {"connection_id":152598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00986c0012d180b4007219290004c00162d..."} 
[2026-08-11 14:28:26] local.INFO: Packet analysis {"connection_id":152598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff009"} 
[2026-08-11 14:28:26] local.INFO: Extracted packet for processing {"connection_id":152598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff009"} 
[2026-08-11 14:28:26] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119640720,"longitude_deg":75.6550464,"latitude_deg":11.964072,"altitude":76,"angle":22,"satellites":45,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07219290","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328272128001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629543076921344,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881026289664,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786438584000,"timestamp_ms":1786438584000,"timestamp_seconds":1786438584,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00986c0"} 
[2026-08-11 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-08-11 14:28: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-08-11 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-11 14:28: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-08-11 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-08-11 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-08-11 14:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328272128001,"66":12863,"122":206,"28":31744,"24":0,"16":11629543076921344,"45":1732548881026289664},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 14:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328272128001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:28:26] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 14:28:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629543076921344,"km_value":11629543076921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881026289664,"description":"Unknown IO ID 45"} 
[2026-08-11 14:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328272128001,"power":12863,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881026289664}} 
[2026-08-11 14:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":152598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:28:26] local.INFO: GPS data processed {"connection_id":152598,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:28:26] local.INFO: Acknowledgment sent {"connection_id":152598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:28:27] local.INFO: TCP Data received {"connection_id":154920,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff009f420012da4af4005c34cf8001100f329..."} 
[2026-08-11 14:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff009f420012da4af4005c34cf8001100f329..."} 
[2026-08-11 14:28:27] local.INFO: Processing buffer {"connection_id":154920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff009f420012da4af4005c34cf8001100f329..."} 
[2026-08-11 14:28:27] local.INFO: Packet analysis {"connection_id":154920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff009"} 
[2026-08-11 14:28:27] local.INFO: Extracted packet for processing {"connection_id":154920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff009"} 
[2026-08-11 14:28:27] local.INFO: GPS Element Parsed {"raw_longitude":765767488,"raw_latitude":96685304,"longitude_deg":76.5767488,"latitude_deg":9.6685304,"altitude":17,"angle":243,"satellites":41,"speed":48,"hex_longitude":"2da4af40","hex_latitude":"05c34cf8","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328282624001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377662199528685568,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6570962937813577728,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786438612000,"timestamp_ms":1786438612000,"timestamp_seconds":1786438612,"priority":1,"record_length":96,"hex_timestamp":"0000019ff009f420"} 
[2026-08-11 14:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:28:27] 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-08-11 14: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-08-11 14:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":154920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":154920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":154920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:28:27] 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-08-11 14:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328282624001,"66":27767,"54":206,"83":16896,"24":48,"16":377662199528685568,"45":-6570962937813577728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,45]} 
[2026-08-11 14:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328282624001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:28:27] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-11 14:28:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377662199528685568,"km_value":377662199528685.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6570962937813577728,"description":"Unknown IO ID 45"} 
[2026-08-11 14:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328282624001,"power":27767,"unknown_54":206,"unknown_83":16896,"ignition":48,"odometer":null,"unknown_45":-6570962937813577728}} 
[2026-08-11 14:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":154920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:28:27] local.INFO: GPS data processed {"connection_id":154920,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:28:27] local.INFO: Acknowledgment sent {"connection_id":154920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:28:58] local.INFO: TCP Data received {"connection_id":154920,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00afdc0012da3c5c005c3c0a8000f01392a..."} 
[2026-08-11 14:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00afdc0012da3c5c005c3c0a8000f01392a..."} 
[2026-08-11 14:28:58] local.INFO: Processing buffer {"connection_id":154920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00afdc0012da3c5c005c3c0a8000f01392a..."} 
[2026-08-11 14:28:58] local.INFO: Packet analysis {"connection_id":154920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00a"} 
[2026-08-11 14:28:58] local.INFO: Extracted packet for processing {"connection_id":154920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00a"} 
[2026-08-11 14:28:58] local.INFO: GPS Element Parsed {"raw_longitude":765707712,"raw_latitude":96714920,"longitude_deg":76.5707712,"latitude_deg":9.671492,"altitude":15,"angle":313,"satellites":42,"speed":42,"hex_longitude":"2da3c5c0","hex_latitude":"05c3c0a8","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328300800001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377665699927031808,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6642598319381116928,"note":"Value kept but may cause issues"} 
[2026-08-11 14:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786438680000,"timestamp_ms":1786438680000,"timestamp_seconds":1786438680,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00afdc0"} 
[2026-08-11 14:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:28:58] 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-08-11 14: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-08-11 14:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":154920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":154920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":154920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:28:58] 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-08-11 14:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328300800001,"66":27821,"98":206,"83":16896,"24":42,"16":377665699927031808,"45":-6642598319381116928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,83,24,16,45]} 
[2026-08-11 14:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328300800001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:28:58] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 14:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377665699927031808,"km_value":377665699927031.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6642598319381116928,"description":"Unknown IO ID 45"} 
[2026-08-11 14:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328300800001,"power":27821,"unknown_98":206,"unknown_83":16896,"ignition":42,"odometer":null,"unknown_45":-6642598319381116928}} 
[2026-08-11 14:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":154920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:28:58] local.INFO: GPS data processed {"connection_id":154920,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:28:58] local.INFO: Acknowledgment sent {"connection_id":154920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:29:08] local.INFO: TCP Data received {"connection_id":154921,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:29:08] local.INFO: Processing buffer {"connection_id":154921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:29:08] local.INFO: IMEI packet received {"connection_id":154921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":154921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:29:10] local.INFO: TCP Data received {"connection_id":154921,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:29:10] local.INFO: Processing buffer {"connection_id":154921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:29:10] local.INFO: IMEI packet received {"connection_id":154921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":154921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:29:15] local.INFO: TCP Data received {"connection_id":154921,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:29:15] local.INFO: Processing buffer {"connection_id":154921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:29:15] local.INFO: IMEI packet received {"connection_id":154921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":154921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:29:17] local.INFO: TCP Data received {"connection_id":154921,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff009d8c8012d180b4007219290004c00162e..."} 
[2026-08-11 14:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff009d8c8012d180b4007219290004c00162e..."} 
[2026-08-11 14:29:17] local.INFO: Processing buffer {"connection_id":154921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff009d8c8012d180b4007219290004c00162e..."} 
[2026-08-11 14:29:17] local.INFO: Packet analysis {"connection_id":154921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff009"} 
[2026-08-11 14:29:17] local.INFO: Extracted packet for processing {"connection_id":154921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff009"} 
[2026-08-11 14:29:17] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119640720,"longitude_deg":75.6550464,"latitude_deg":11.964072,"altitude":76,"angle":22,"satellites":46,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07219290","is_valid_coordinates":true} 
[2026-08-11 14:29: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-08-11 14:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328277504001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629543076921344,"note":"Value kept but may cause issues"} 
[2026-08-11 14:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881026289664,"note":"Value kept but may cause issues"} 
[2026-08-11 14:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786438605000,"timestamp_ms":1786438605000,"timestamp_seconds":1786438605,"priority":1,"record_length":96,"hex_timestamp":"0000019ff009d8c8"} 
[2026-08-11 14:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:29:17] 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-08-11 14:29: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-11 14:29:17] 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-08-11 14:29: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-08-11 14:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328277504001,"66":12841,"122":206,"28":31744,"24":0,"16":11629543076921344,"45":1732548881026289664},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 14:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328277504001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:29:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 14:29:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629543076921344,"km_value":11629543076921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881026289664,"description":"Unknown IO ID 45"} 
[2026-08-11 14:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328277504001,"power":12841,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881026289664}} 
[2026-08-11 14:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":154921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:29:17] local.INFO: GPS data processed {"connection_id":154921,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:29:17] local.INFO: Acknowledgment sent {"connection_id":154921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:29:19] local.INFO: TCP Data received {"connection_id":154922,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:29:19] local.INFO: Processing buffer {"connection_id":154922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:29:19] local.INFO: IMEI packet received {"connection_id":154922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":154922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:29:19] local.INFO: TCP Data received {"connection_id":154922,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:29:19] local.INFO: Processing buffer {"connection_id":154922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:29:19] local.INFO: IMEI packet received {"connection_id":154922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":154922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:29:22] local.INFO: TCP Data received {"connection_id":154922,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:29:22] local.INFO: Processing buffer {"connection_id":154922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:29:22] local.INFO: IMEI packet received {"connection_id":154922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":154922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:29:23] local.INFO: TCP Data received {"connection_id":154922,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00b0590012da3bf4005c3c508000f012729..."} 
[2026-08-11 14:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00b0590012da3bf4005c3c508000f012729..."} 
[2026-08-11 14:29:23] local.INFO: Processing buffer {"connection_id":154922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00b0590012da3bf4005c3c508000f012729..."} 
[2026-08-11 14:29:23] local.INFO: Packet analysis {"connection_id":154922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00b"} 
[2026-08-11 14:29:23] local.INFO: Extracted packet for processing {"connection_id":154922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00b"} 
[2026-08-11 14:29:23] local.INFO: GPS Element Parsed {"raw_longitude":765706048,"raw_latitude":96716040,"longitude_deg":76.5706048,"latitude_deg":9.671604,"altitude":15,"angle":295,"satellites":41,"speed":41,"hex_longitude":"2da3bf40","hex_latitude":"05c3c508","is_valid_coordinates":true} 
[2026-08-11 14:29: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-08-11 14:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328302080001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377665794416312320,"note":"Value kept but may cause issues"} 
[2026-08-11 14:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6645694544123746304,"note":"Value kept but may cause issues"} 
[2026-08-11 14:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786438682000,"timestamp_ms":1786438682000,"timestamp_seconds":1786438682,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00b0590"} 
[2026-08-11 14:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:29: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 14:29:23] 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-08-11 14:29: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-08-11 14:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":154922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":154922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":154922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:29:23] 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-08-11 14:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328302080001,"66":27865,"98":206,"83":16896,"24":41,"16":377665794416312320,"45":-6645694544123746304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,83,24,16,45]} 
[2026-08-11 14:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328302080001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:29:23] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 14:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377665794416312320,"km_value":377665794416312.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6645694544123746304,"description":"Unknown IO ID 45"} 
[2026-08-11 14:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328302080001,"power":27865,"unknown_98":206,"unknown_83":16896,"ignition":41,"odometer":null,"unknown_45":-6645694544123746304}} 
[2026-08-11 14:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":154922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:29:23] local.INFO: GPS data processed {"connection_id":154922,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:29:23] local.INFO: Acknowledgment sent {"connection_id":154922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:29:48] local.INFO: TCP Data received {"connection_id":154921,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00a2ad0012d180b4007219290004c00162e..."} 
[2026-08-11 14:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00a2ad0012d180b4007219290004c00162e..."} 
[2026-08-11 14:29:48] local.INFO: Processing buffer {"connection_id":154921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00a2ad0012d180b4007219290004c00162e..."} 
[2026-08-11 14:29:48] local.INFO: Packet analysis {"connection_id":154921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00a"} 
[2026-08-11 14:29:48] local.INFO: Extracted packet for processing {"connection_id":154921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00a"} 
[2026-08-11 14:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119640720,"longitude_deg":75.6550464,"latitude_deg":11.964072,"altitude":76,"angle":22,"satellites":46,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07219290","is_valid_coordinates":true} 
[2026-08-11 14:29: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-08-11 14:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328282880001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629543076921344,"note":"Value kept but may cause issues"} 
[2026-08-11 14:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881026289664,"note":"Value kept but may cause issues"} 
[2026-08-11 14:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786438626000,"timestamp_ms":1786438626000,"timestamp_seconds":1786438626,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00a2ad0"} 
[2026-08-11 14:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:29:48] 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-08-11 14:29: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 14:29:48] 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-08-11 14:29: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-08-11 14:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328282880001,"66":12841,"122":206,"28":31744,"24":0,"16":11629543076921344,"45":1732548881026289664},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 14:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328282880001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:29:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 14:29:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629543076921344,"km_value":11629543076921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881026289664,"description":"Unknown IO ID 45"} 
[2026-08-11 14:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328282880001,"power":12841,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881026289664}} 
[2026-08-11 14:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":154921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:29:49] local.INFO: GPS data processed {"connection_id":154921,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:29:49] local.INFO: Acknowledgment sent {"connection_id":154921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:29:54] local.INFO: TCP Data received {"connection_id":154922,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00b28b8012da39e0005c3d1c8000f012429..."} 
[2026-08-11 14:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00b28b8012da39e0005c3d1c8000f012429..."} 
[2026-08-11 14:29:54] local.INFO: Processing buffer {"connection_id":154922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00b28b8012da39e0005c3d1c8000f012429..."} 
[2026-08-11 14:29:54] local.INFO: Packet analysis {"connection_id":154922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00b"} 
[2026-08-11 14:29:54] local.INFO: Extracted packet for processing {"connection_id":154922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00b"} 
[2026-08-11 14:29:54] local.INFO: GPS Element Parsed {"raw_longitude":765697536,"raw_latitude":96719304,"longitude_deg":76.5697536,"latitude_deg":9.6719304,"altitude":15,"angle":292,"satellites":41,"speed":40,"hex_longitude":"2da39e00","hex_latitude":"05c3d1c8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328302592001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377666228208009216,"note":"Value kept but may cause issues"} 
[2026-08-11 14:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6647524131472078848,"note":"Value kept but may cause issues"} 
[2026-08-11 14:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786438691000,"timestamp_ms":1786438691000,"timestamp_seconds":1786438691,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00b28b8"} 
[2026-08-11 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-08-11 14:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:29:54] 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-08-11 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-08-11 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-08-11 14:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":154922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":154922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":154922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:29:54] 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-08-11 14:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328302592001,"66":27908,"98":206,"83":16896,"24":40,"16":377666228208009216,"45":-6647524131472078848},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,83,24,16,45]} 
[2026-08-11 14:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328302592001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:29:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 14:29:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377666228208009216,"km_value":377666228208009.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6647524131472078848,"description":"Unknown IO ID 45"} 
[2026-08-11 14:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328302592001,"power":27908,"unknown_98":206,"unknown_83":16896,"ignition":40,"odometer":null,"unknown_45":-6647524131472078848}} 
[2026-08-11 14:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":154922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:29:54] local.INFO: GPS data processed {"connection_id":154922,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:29:54] local.INFO: Acknowledgment sent {"connection_id":154922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:30:11] local.INFO: TCP Data received {"connection_id":154923,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:30:11] local.INFO: Processing buffer {"connection_id":154923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:30:11] local.INFO: IMEI packet received {"connection_id":154923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":154923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:30:12] local.INFO: TCP Data received {"connection_id":154923,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:30:12] local.INFO: Processing buffer {"connection_id":154923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:30:12] local.INFO: IMEI packet received {"connection_id":154923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":154923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:30:13] local.INFO: TCP Data received {"connection_id":154923,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00a7cd8012d180b4007219290004c00162e..."} 
[2026-08-11 14:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00a7cd8012d180b4007219290004c00162e..."} 
[2026-08-11 14:30:13] local.INFO: Processing buffer {"connection_id":154923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00a7cd8012d180b4007219290004c00162e..."} 
[2026-08-11 14:30:13] local.INFO: Packet analysis {"connection_id":154923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00a"} 
[2026-08-11 14:30:13] local.INFO: Extracted packet for processing {"connection_id":154923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00a"} 
[2026-08-11 14:30:13] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119640720,"longitude_deg":75.6550464,"latitude_deg":11.964072,"altitude":76,"angle":22,"satellites":46,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07219290","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328288256001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629543076921344,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881026289664,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786438647000,"timestamp_ms":1786438647000,"timestamp_seconds":1786438647,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00a7cd8"} 
[2026-08-11 14:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:30:13] 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-08-11 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 14:30:13] 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-08-11 14: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-08-11 14:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":154923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":154923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":154923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328288256001,"66":12809,"122":206,"28":31744,"24":0,"16":11629543076921344,"45":1732548881026289664},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 14:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328288256001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:30:13] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 14:30:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629543076921344,"km_value":11629543076921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881026289664,"description":"Unknown IO ID 45"} 
[2026-08-11 14:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328288256001,"power":12809,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881026289664}} 
[2026-08-11 14:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":154923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:30:14] local.INFO: GPS data processed {"connection_id":154923,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:30:14] local.INFO: Acknowledgment sent {"connection_id":154923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:30:18] local.INFO: TCP Data received {"connection_id":152599,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:30:18] local.INFO: Processing buffer {"connection_id":152599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:30:18] local.INFO: IMEI packet received {"connection_id":152599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":152599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:30:19] local.INFO: TCP Data received {"connection_id":152599,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:30:19] local.INFO: Processing buffer {"connection_id":152599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:30:19] local.INFO: IMEI packet received {"connection_id":152599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":152599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:30:20] local.INFO: TCP Data received {"connection_id":152599,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:30:20] local.INFO: Processing buffer {"connection_id":152599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:30:20] local.INFO: IMEI packet received {"connection_id":152599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":152599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:30:24] local.INFO: TCP Data received {"connection_id":152599,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:30:24] local.INFO: Processing buffer {"connection_id":152599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:30:24] local.INFO: IMEI packet received {"connection_id":152599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":152599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:30:25] local.INFO: TCP Data received {"connection_id":152599,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00c5198012da2ab8005c3bc20001000fa2a..."} 
[2026-08-11 14:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00c5198012da2ab8005c3bc20001000fa2a..."} 
[2026-08-11 14:30:25] local.INFO: Processing buffer {"connection_id":152599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00c5198012da2ab8005c3bc20001000fa2a..."} 
[2026-08-11 14:30:25] local.INFO: Packet analysis {"connection_id":152599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00c"} 
[2026-08-11 14:30:25] local.INFO: Extracted packet for processing {"connection_id":152599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00c"} 
[2026-08-11 14:30:25] local.INFO: GPS Element Parsed {"raw_longitude":765635456,"raw_latitude":96713760,"longitude_deg":76.5635456,"latitude_deg":9.671376,"altitude":16,"angle":250,"satellites":42,"speed":21,"hex_longitude":"2da2ab80","hex_latitude":"05c3bc20","is_valid_coordinates":true} 
[2026-08-11 14:30: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-08-11 14:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328321024001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377669561102630912,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6715500338347485184,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786438767000,"timestamp_ms":1786438767000,"timestamp_seconds":1786438767,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00c5198"} 
[2026-08-11 14:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:30: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 14:30:25] 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-08-11 14:30: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-08-11 14:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:30:25] 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-08-11 14:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328321024001,"66":27767,"99":206,"83":16896,"24":21,"16":377669561102630912,"45":-6715500338347485184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,83,24,16,45]} 
[2026-08-11 14:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328321024001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:30:25] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 14:30:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377669561102630912,"km_value":377669561102630.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6715500338347485184,"description":"Unknown IO ID 45"} 
[2026-08-11 14:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328321024001,"power":27767,"unknown_99":206,"unknown_83":16896,"ignition":21,"odometer":null,"unknown_45":-6715500338347485184}} 
[2026-08-11 14:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":152599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:30:25] local.INFO: GPS data processed {"connection_id":152599,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:30:25] local.INFO: Acknowledgment sent {"connection_id":152599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:30:45] local.INFO: TCP Data received {"connection_id":154923,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00acee0012d180b4007219290004c00162d..."} 
[2026-08-11 14:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00acee0012d180b4007219290004c00162d..."} 
[2026-08-11 14:30:45] local.INFO: Processing buffer {"connection_id":154923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00acee0012d180b4007219290004c00162d..."} 
[2026-08-11 14:30:45] local.INFO: Packet analysis {"connection_id":154923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00a"} 
[2026-08-11 14:30:45] local.INFO: Extracted packet for processing {"connection_id":154923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00a"} 
[2026-08-11 14:30:45] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119640720,"longitude_deg":75.6550464,"latitude_deg":11.964072,"altitude":76,"angle":22,"satellites":45,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07219290","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328293632001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629543076921344,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881026289664,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786438668000,"timestamp_ms":1786438668000,"timestamp_seconds":1786438668,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00acee0"} 
[2026-08-11 14:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:30:45] 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-08-11 14: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-11 14:30:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4027093160,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":594088127771446080,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:45] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2458910796,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-11 14:30:45] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121887291887132,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2419154280800851503,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:45] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:45] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,122,28,24,241,158,16,81,159,42,45,64,146,76,46,10,66,216,134,1,240,63,33,4,113,205,226,11,144,239,50,2,41,7,124],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-08-11 14:30:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476401533706829824,"timestamp_seconds":5476401533706830.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 14:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":154923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":154923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":154923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328293632001,"66":12809,"122":206,"28":31744,"24":0,"16":11629543076921344,"45":1732548881026289664},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 14:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328293632001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:30:45] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 14:30:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629543076921344,"km_value":11629543076921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881026289664,"description":"Unknown IO ID 45"} 
[2026-08-11 14:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328293632001,"power":12809,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881026289664}} 
[2026-08-11 14:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":154923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:30:45] local.INFO: GPS data processed {"connection_id":154923,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:30:45] local.INFO: Acknowledgment sent {"connection_id":154923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:30:56] local.INFO: TCP Data received {"connection_id":152599,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00c8460012da28e0005c3b518000f010829..."} 
[2026-08-11 14:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00c8460012da28e0005c3b518000f010829..."} 
[2026-08-11 14:30:56] local.INFO: Processing buffer {"connection_id":152599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00c8460012da28e0005c3b518000f010829..."} 
[2026-08-11 14:30:56] local.INFO: Packet analysis {"connection_id":152599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00c"} 
[2026-08-11 14:30:56] local.INFO: Extracted packet for processing {"connection_id":152599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00c"} 
[2026-08-11 14:30:56] local.INFO: GPS Element Parsed {"raw_longitude":765627904,"raw_latitude":96711960,"longitude_deg":76.5627904,"latitude_deg":9.671196,"altitude":15,"angle":264,"satellites":41,"speed":21,"hex_longitude":"2da28e00","hex_latitude":"05c3b518","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328324352001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377669930469818368,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6725140856300625920,"note":"Value kept but may cause issues"} 
[2026-08-11 14:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786438780000,"timestamp_ms":1786438780000,"timestamp_seconds":1786438780,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00c8460"} 
[2026-08-11 14:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 14:30:56] 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-08-11 14: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-08-11 14:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:30:56] 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-08-11 14:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328324352001,"66":27843,"99":206,"83":16896,"24":21,"16":377669930469818368,"45":-6725140856300625920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,83,24,16,45]} 
[2026-08-11 14:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328324352001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:30:56] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 14:30:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377669930469818368,"km_value":377669930469818.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6725140856300625920,"description":"Unknown IO ID 45"} 
[2026-08-11 14:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328324352001,"power":27843,"unknown_99":206,"unknown_83":16896,"ignition":21,"odometer":null,"unknown_45":-6725140856300625920}} 
[2026-08-11 14:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":152599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:30:56] local.INFO: GPS data processed {"connection_id":152599,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:30:56] local.INFO: Acknowledgment sent {"connection_id":152599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:31:10] local.INFO: TCP Data received {"connection_id":152226,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:31:10] local.INFO: Processing buffer {"connection_id":152226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:31:10] local.INFO: IMEI packet received {"connection_id":152226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":152226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:31:16] local.INFO: TCP Data received {"connection_id":152226,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:31:16] local.INFO: Processing buffer {"connection_id":152226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:31:16] local.INFO: IMEI packet received {"connection_id":152226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":152226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:31:17] local.INFO: TCP Data received {"connection_id":152226,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00b20e8012d180b4007219290004c00162e..."} 
[2026-08-11 14:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00b20e8012d180b4007219290004c00162e..."} 
[2026-08-11 14:31:17] local.INFO: Processing buffer {"connection_id":152226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00b20e8012d180b4007219290004c00162e..."} 
[2026-08-11 14:31:17] local.INFO: Packet analysis {"connection_id":152226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00b"} 
[2026-08-11 14:31:17] local.INFO: Extracted packet for processing {"connection_id":152226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00b"} 
[2026-08-11 14:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119640720,"longitude_deg":75.6550464,"latitude_deg":11.964072,"altitude":76,"angle":22,"satellites":46,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07219290","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328299008001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629543076921344,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881026289664,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786438689000,"timestamp_ms":1786438689000,"timestamp_seconds":1786438689,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00b20e8"} 
[2026-08-11 14:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:31:17] 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-08-11 14: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-11 14:31:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4027114160,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:17] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":617177871954742080,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2458910796,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-11 14:31:17] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:17] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587749623057948,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:17] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2419154280800851502,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:17] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,122,28,24,241,158,16,81,159,124,45,64,146,76,46,10,66,42,216,1,240,41,33,4,113,205,52,11,144,239,50,2,7],"length":535,"final_offset":665,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-08-11 14:31:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476401529411862528,"timestamp_seconds":5476401529411863.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 14:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328299008001,"66":12776,"122":206,"28":31744,"24":0,"16":11629543076921344,"45":1732548881026289664},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-11 14:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328299008001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:31:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 14:31:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629543076921344,"km_value":11629543076921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881026289664,"description":"Unknown IO ID 45"} 
[2026-08-11 14:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328299008001,"power":12776,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881026289664}} 
[2026-08-11 14:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":152226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:31:17] local.INFO: GPS data processed {"connection_id":152226,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:31:17] local.INFO: Acknowledgment sent {"connection_id":152226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:31:19] local.INFO: TCP Data received {"connection_id":152227,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:31:19] local.INFO: Processing buffer {"connection_id":152227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:31:19] local.INFO: IMEI packet received {"connection_id":152227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":152227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:31:20] local.INFO: TCP Data received {"connection_id":152227,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:31:20] local.INFO: Processing buffer {"connection_id":152227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:31:20] local.INFO: IMEI packet received {"connection_id":152227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":152227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:31:25] local.INFO: TCP Data received {"connection_id":152227,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:31:25] local.INFO: Processing buffer {"connection_id":152227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:31:25] local.INFO: IMEI packet received {"connection_id":152227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":152227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:31:26] local.INFO: TCP Data received {"connection_id":152227,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00c8c30012da2898005c3b550000f011629..."} 
[2026-08-11 14:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00c8c30012da2898005c3b550000f011629..."} 
[2026-08-11 14:31:26] local.INFO: Processing buffer {"connection_id":152227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00c8c30012da2898005c3b550000f011629..."} 
[2026-08-11 14:31:26] local.INFO: Packet analysis {"connection_id":152227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00c"} 
[2026-08-11 14:31:26] local.INFO: Extracted packet for processing {"connection_id":152227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00c"} 
[2026-08-11 14:31:26] local.INFO: GPS Element Parsed {"raw_longitude":765626752,"raw_latitude":96712016,"longitude_deg":76.5626752,"latitude_deg":9.6712016,"altitude":15,"angle":278,"satellites":41,"speed":24,"hex_longitude":"2da28980","hex_latitude":"05c3b550","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328327680001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377669986304393216,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6733444368114051072,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786438782000,"timestamp_ms":1786438782000,"timestamp_seconds":1786438782,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00c8c30"} 
[2026-08-11 14:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 14:31:26] 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-08-11 14: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-08-11 14:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:31:26] 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-08-11 14:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328327680001,"66":27908,"99":206,"83":16896,"24":24,"16":377669986304393216,"45":-6733444368114051072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,83,24,16,45]} 
[2026-08-11 14:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328327680001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:31:26] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 14:31:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377669986304393216,"km_value":377669986304393.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6733444368114051072,"description":"Unknown IO ID 45"} 
[2026-08-11 14:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328327680001,"power":27908,"unknown_99":206,"unknown_83":16896,"ignition":24,"odometer":null,"unknown_45":-6733444368114051072}} 
[2026-08-11 14:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":152227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:31:26] local.INFO: GPS data processed {"connection_id":152227,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:31:26] local.INFO: Acknowledgment sent {"connection_id":152227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:31:51] local.INFO: TCP Data received {"connection_id":152226,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00d3bf8012d181ec00721af40004601202d..."} 
[2026-08-11 14:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00d3bf8012d181ec00721af40004601202d..."} 
[2026-08-11 14:31:51] local.INFO: Processing buffer {"connection_id":152226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00d3bf8012d181ec00721af40004601202d..."} 
[2026-08-11 14:31:51] local.INFO: Packet analysis {"connection_id":152226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00d"} 
[2026-08-11 14:31:51] local.INFO: Extracted packet for processing {"connection_id":152226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00d"} 
[2026-08-11 14:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648064,"longitude_deg":75.6555456,"latitude_deg":11.9648064,"altitude":70,"angle":288,"satellites":45,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-08-11 14:31: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-08-11 14:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328334336001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11630024113258496,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074027520,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:51] 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-08-11 14:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786438827000,"timestamp_ms":1786438827000,"timestamp_seconds":1786438827,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00d3bf8"} 
[2026-08-11 14:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:31:52] 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-08-11 14:31: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":85,"data_length":795,"current_offset":136} 
[2026-08-11 14:31:52] 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-08-11 14:31: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-08-11 14:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328334336001,"66":12841,"120":206,"28":31744,"24":0,"16":11630024113258496,"45":1738037643074027520},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-11 14:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328334336001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:31:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 14:31:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11630024113258496,"km_value":11630024113258.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074027520,"description":"Unknown IO ID 45"} 
[2026-08-11 14:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328334336001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074027520}} 
[2026-08-11 14:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":152226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:31:52] local.INFO: GPS data processed {"connection_id":152226,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:31:52] local.INFO: Acknowledgment sent {"connection_id":152226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:31:58] local.INFO: TCP Data received {"connection_id":152227,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00ca788012da275c005c3b6000010010b29..."} 
[2026-08-11 14:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00ca788012da275c005c3b6000010010b29..."} 
[2026-08-11 14:31:58] local.INFO: Processing buffer {"connection_id":152227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00ca788012da275c005c3b6000010010b29..."} 
[2026-08-11 14:31:58] local.INFO: Packet analysis {"connection_id":152227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00c"} 
[2026-08-11 14:31:58] local.INFO: Extracted packet for processing {"connection_id":152227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00c"} 
[2026-08-11 14:31:58] local.INFO: GPS Element Parsed {"raw_longitude":765621696,"raw_latitude":96712192,"longitude_deg":76.5621696,"latitude_deg":9.6712192,"altitude":16,"angle":267,"satellites":41,"speed":31,"hex_longitude":"2da275c0","hex_latitude":"05c3b600","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328328192001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377670226822561792,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6734711005509234688,"note":"Value kept but may cause issues"} 
[2026-08-11 14:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786438789000,"timestamp_ms":1786438789000,"timestamp_seconds":1786438789,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00ca788"} 
[2026-08-11 14:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 14:31:58] 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-08-11 14: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-08-11 14:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:31:58] 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-08-11 14:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328328192001,"66":27865,"99":206,"83":16896,"24":31,"16":377670226822561792,"45":-6734711005509234688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,83,24,16,45]} 
[2026-08-11 14:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328328192001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:31:58] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 14:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377670226822561792,"km_value":377670226822561.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6734711005509234688,"description":"Unknown IO ID 45"} 
[2026-08-11 14:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328328192001,"power":27865,"unknown_99":206,"unknown_83":16896,"ignition":31,"odometer":null,"unknown_45":-6734711005509234688}} 
[2026-08-11 14:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":152227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:31:58] local.INFO: GPS data processed {"connection_id":152227,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:31:58] local.INFO: Acknowledgment sent {"connection_id":152227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:32:08] local.INFO: TCP Data received {"connection_id":152600,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:32:08] local.INFO: Processing buffer {"connection_id":152600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:32:08] local.INFO: IMEI packet received {"connection_id":152600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":152600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:32:10] local.INFO: TCP Data received {"connection_id":152600,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:32:10] local.INFO: Processing buffer {"connection_id":152600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:32:10] local.INFO: IMEI packet received {"connection_id":152600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":152600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:32:16] local.INFO: TCP Data received {"connection_id":152600,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:32:16] local.INFO: Processing buffer {"connection_id":152600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:32:16] local.INFO: IMEI packet received {"connection_id":152600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":152600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:32:17] local.INFO: TCP Data received {"connection_id":152600,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00d8e00012d181ec00721af40004601202c..."} 
[2026-08-11 14:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00d8e00012d181ec00721af40004601202c..."} 
[2026-08-11 14:32:17] local.INFO: Processing buffer {"connection_id":152600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00d8e00012d181ec00721af40004601202c..."} 
[2026-08-11 14:32:17] local.INFO: Packet analysis {"connection_id":152600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00d"} 
[2026-08-11 14:32:17] local.INFO: Extracted packet for processing {"connection_id":152600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00d"} 
[2026-08-11 14:32:17] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648064,"longitude_deg":75.6555456,"latitude_deg":11.9648064,"altitude":70,"angle":288,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-08-11 14:32: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-08-11 14:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328339712001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11630024113258496,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074027520,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:17] 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-08-11 14:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786438848000,"timestamp_ms":1786438848000,"timestamp_seconds":1786438848,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00d8e00"} 
[2026-08-11 14:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:32:17] 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-08-11 14:32: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 14:32:17] 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-08-11 14:32: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-08-11 14:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328339712001,"66":12809,"120":206,"28":31744,"24":0,"16":11630024113258496,"45":1738037643074027520},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-11 14:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328339712001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:32:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 14:32:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11630024113258496,"km_value":11630024113258.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074027520,"description":"Unknown IO ID 45"} 
[2026-08-11 14:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328339712001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074027520}} 
[2026-08-11 14:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":152600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:32:17] local.INFO: GPS data processed {"connection_id":152600,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:32:17] local.INFO: Acknowledgment sent {"connection_id":152600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:32:19] local.INFO: TCP Data received {"connection_id":152601,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:32:19] local.INFO: Processing buffer {"connection_id":152601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:32:19] local.INFO: IMEI packet received {"connection_id":152601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":152601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:32:24] local.INFO: TCP Data received {"connection_id":152601,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:32:24] local.INFO: Processing buffer {"connection_id":152601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:32:24] local.INFO: IMEI packet received {"connection_id":152601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":152601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:32:33] local.INFO: TCP Data received {"connection_id":152601,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00cd280012da2508005c3b3200012010828..."} 
[2026-08-11 14:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00cd280012da2508005c3b3200012010828..."} 
[2026-08-11 14:32:33] local.INFO: Processing buffer {"connection_id":152601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00cd280012da2508005c3b3200012010828..."} 
[2026-08-11 14:32:33] local.INFO: Packet analysis {"connection_id":152601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00c"} 
[2026-08-11 14:32:33] local.INFO: Extracted packet for processing {"connection_id":152601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00c"} 
[2026-08-11 14:32:33] local.INFO: GPS Element Parsed {"raw_longitude":765612160,"raw_latitude":96711456,"longitude_deg":76.561216,"latitude_deg":9.6711456,"altitude":18,"angle":264,"satellites":40,"speed":33,"hex_longitude":"2da25080","hex_latitude":"05c3b320","is_valid_coordinates":true} 
[2026-08-11 14:32: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-08-11 14:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328329984001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377670686384062464,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6740270136299225088,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786438800000,"timestamp_ms":1786438800000,"timestamp_seconds":1786438800,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00cd280"} 
[2026-08-11 14:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:32: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-08-11 14:32: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-08-11 14:32: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-08-11 14:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:32:33] 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-08-11 14:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328329984001,"66":27908,"71":206,"83":16896,"24":33,"16":377670686384062464,"45":-6740270136299225088},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-08-11 14:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328329984001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:32:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 14:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377670686384062464,"km_value":377670686384062.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6740270136299225088,"description":"Unknown IO ID 45"} 
[2026-08-11 14:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328329984001,"power":27908,"unknown_71":206,"unknown_83":16896,"ignition":33,"odometer":null,"unknown_45":-6740270136299225088}} 
[2026-08-11 14:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":152601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:32:33] local.INFO: GPS data processed {"connection_id":152601,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:32:33] local.INFO: Acknowledgment sent {"connection_id":152601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:32:49] local.INFO: TCP Data received {"connection_id":152600,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00de008012d181ec00721af400046012025..."} 
[2026-08-11 14:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00de008012d181ec00721af400046012025..."} 
[2026-08-11 14:32:49] local.INFO: Processing buffer {"connection_id":152600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00de008012d181ec00721af400046012025..."} 
[2026-08-11 14:32:49] local.INFO: Packet analysis {"connection_id":152600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00d"} 
[2026-08-11 14:32:49] local.INFO: Extracted packet for processing {"connection_id":152600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00d"} 
[2026-08-11 14:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648064,"longitude_deg":75.6555456,"latitude_deg":11.9648064,"altitude":70,"angle":288,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-08-11 14:32: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-08-11 14:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328345088001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11630024113258496,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074027520,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32: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-08-11 14:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786438869000,"timestamp_ms":1786438869000,"timestamp_seconds":1786438869,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00de008"} 
[2026-08-11 14:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:32:49] 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-08-11 14:32: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-11 14:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1008806316698764288,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:49] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4027346160,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":888757244015414720,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2945450052,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-11 14:32:49] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2419673250138171950,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:49] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692846,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:49] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909144039,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:49] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-4539402030355001828,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:49] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755506815369457,"note":"Value kept but may cause issues"} 
[2026-08-11 14:32:49] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,81,159,59,45,192,175,70,10,66,233,151,64,1,240,161,33,4,113,205,7,144,32,46,239,47,2,41,68,25,50,124],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-11 14:32:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044348430982316032,"timestamp_seconds":5044348430982316.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 14:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328345088001,"66":12765,"120":206,"28":31744,"24":0,"16":11630024113258496,"45":1738037643074027520},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-11 14:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328345088001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:32:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 14:32:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11630024113258496,"km_value":11630024113258.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074027520,"description":"Unknown IO ID 45"} 
[2026-08-11 14:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328345088001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074027520}} 
[2026-08-11 14:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":152600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:32:49] local.INFO: GPS data processed {"connection_id":152600,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:32:49] local.INFO: Acknowledgment sent {"connection_id":152600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:33:04] local.INFO: TCP Data received {"connection_id":152601,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00d2488012da2344005c3b030001800ff2a..."} 
[2026-08-11 14:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00d2488012da2344005c3b030001800ff2a..."} 
[2026-08-11 14:33:04] local.INFO: Processing buffer {"connection_id":152601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00d2488012da2344005c3b030001800ff2a..."} 
[2026-08-11 14:33:04] local.INFO: Packet analysis {"connection_id":152601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00d"} 
[2026-08-11 14:33:04] local.INFO: Extracted packet for processing {"connection_id":152601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00d"} 
[2026-08-11 14:33:04] local.INFO: GPS Element Parsed {"raw_longitude":765604928,"raw_latitude":96710704,"longitude_deg":76.5604928,"latitude_deg":9.6710704,"altitude":24,"angle":255,"satellites":42,"speed":12,"hex_longitude":"2da23440","hex_latitude":"05c3b030","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328332800001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377671034276413440,"note":"Value kept but may cause issues"} 
[2026-08-11 14:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6750755079181885440,"note":"Value kept but may cause issues"} 
[2026-08-11 14:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786438821000,"timestamp_ms":1786438821000,"timestamp_seconds":1786438821,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00d2488"} 
[2026-08-11 14:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 14:33: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-08-11 14: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-08-11 14:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:33: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-08-11 14:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328332800001,"66":27832,"71":206,"83":16896,"24":12,"16":377671034276413440,"45":-6750755079181885440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-08-11 14:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328332800001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:33:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 14:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377671034276413440,"km_value":377671034276413.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6750755079181885440,"description":"Unknown IO ID 45"} 
[2026-08-11 14:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328332800001,"power":27832,"unknown_71":206,"unknown_83":16896,"ignition":12,"odometer":null,"unknown_45":-6750755079181885440}} 
[2026-08-11 14:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":152601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:33:04] local.INFO: GPS data processed {"connection_id":152601,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:33:04] local.INFO: Acknowledgment sent {"connection_id":152601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:33:10] local.INFO: TCP Data received {"connection_id":154924,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:33:10] local.INFO: Processing buffer {"connection_id":154924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:33:10] local.INFO: IMEI packet received {"connection_id":154924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":154924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:33:11] local.INFO: TCP Data received {"connection_id":154924,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:33:11] local.INFO: Processing buffer {"connection_id":154924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:33:11] local.INFO: IMEI packet received {"connection_id":154924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":154924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:33:15] local.INFO: TCP Data received {"connection_id":154924,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:33:15] local.INFO: Processing buffer {"connection_id":154924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:33:15] local.INFO: IMEI packet received {"connection_id":154924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":154924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:33:16] local.INFO: TCP Data received {"connection_id":154924,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00e3210012d181ec00721af40004601202d..."} 
[2026-08-11 14:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00e3210012d181ec00721af40004601202d..."} 
[2026-08-11 14:33:16] local.INFO: Processing buffer {"connection_id":154924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00e3210012d181ec00721af40004601202d..."} 
[2026-08-11 14:33:16] local.INFO: Packet analysis {"connection_id":154924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00e"} 
[2026-08-11 14:33:16] local.INFO: Extracted packet for processing {"connection_id":154924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00e"} 
[2026-08-11 14:33:16] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648064,"longitude_deg":75.6555456,"latitude_deg":11.9648064,"altitude":70,"angle":288,"satellites":45,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328350464001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11630024113258496,"note":"Value kept but may cause issues"} 
[2026-08-11 14:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074027520,"note":"Value kept but may cause issues"} 
[2026-08-11 14:33:16] 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-08-11 14:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786438890000,"timestamp_ms":1786438890000,"timestamp_seconds":1786438890,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00e3210"} 
[2026-08-11 14:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:33:16] 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-08-11 14: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-11 14:33:16] 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-08-11 14: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-08-11 14:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328350464001,"66":12722,"120":206,"28":31744,"24":0,"16":11630024113258496,"45":1738037643074027520},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-11 14:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328350464001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:33:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 14:33:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11630024113258496,"km_value":11630024113258.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074027520,"description":"Unknown IO ID 45"} 
[2026-08-11 14:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328350464001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074027520}} 
[2026-08-11 14:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":154924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:33:17] local.INFO: GPS data processed {"connection_id":154924,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:33:17] local.INFO: Acknowledgment sent {"connection_id":154924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:33:19] local.INFO: TCP Data received {"connection_id":153544,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:33:19] local.INFO: Processing buffer {"connection_id":153544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:33:19] local.INFO: IMEI packet received {"connection_id":153544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":153544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:33:25] local.INFO: TCP Data received {"connection_id":153544,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:33:25] local.INFO: Processing buffer {"connection_id":153544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:33:25] local.INFO: IMEI packet received {"connection_id":153544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":153544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:33:26] local.INFO: TCP Data received {"connection_id":153544,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00d7690012da218c005c3a9d8001c010529..."} 
[2026-08-11 14:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00d7690012da218c005c3a9d8001c010529..."} 
[2026-08-11 14:33:26] local.INFO: Processing buffer {"connection_id":153544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00d7690012da218c005c3a9d8001c010529..."} 
[2026-08-11 14:33:26] local.INFO: Packet analysis {"connection_id":153544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00d"} 
[2026-08-11 14:33:26] local.INFO: Extracted packet for processing {"connection_id":153544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00d"} 
[2026-08-11 14:33:26] local.INFO: GPS Element Parsed {"raw_longitude":765597888,"raw_latitude":96709080,"longitude_deg":76.5597888,"latitude_deg":9.670908,"altitude":28,"angle":261,"satellites":41,"speed":8,"hex_longitude":"2da218c0","hex_latitude":"05c3a9d8","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328338176001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377671377873797120,"note":"Value kept but may cause issues"} 
[2026-08-11 14:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6758706747274153984,"note":"Value kept but may cause issues"} 
[2026-08-11 14:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786438842000,"timestamp_ms":1786438842000,"timestamp_seconds":1786438842,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00d7690"} 
[2026-08-11 14:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 14:33:26] 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-08-11 14: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-08-11 14:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:33:26] 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-08-11 14:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328338176001,"66":27843,"71":206,"83":16896,"24":8,"16":377671377873797120,"45":-6758706747274153984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-08-11 14:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328338176001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:33:26] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 14:33:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377671377873797120,"km_value":377671377873797.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6758706747274153984,"description":"Unknown IO ID 45"} 
[2026-08-11 14:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328338176001,"power":27843,"unknown_71":206,"unknown_83":16896,"ignition":8,"odometer":null,"unknown_45":-6758706747274153984}} 
[2026-08-11 14:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":153544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:33:26] local.INFO: GPS data processed {"connection_id":153544,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:33:26] local.INFO: Acknowledgment sent {"connection_id":153544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:33:48] local.INFO: TCP Data received {"connection_id":154924,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00e8418012d181ec00721af40004601202a..."} 
[2026-08-11 14:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00e8418012d181ec00721af40004601202a..."} 
[2026-08-11 14:33:48] local.INFO: Processing buffer {"connection_id":154924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00e8418012d181ec00721af40004601202a..."} 
[2026-08-11 14:33:48] local.INFO: Packet analysis {"connection_id":154924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00e"} 
[2026-08-11 14:33:48] local.INFO: Extracted packet for processing {"connection_id":154924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00e"} 
[2026-08-11 14:33:48] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648064,"longitude_deg":75.6555456,"latitude_deg":11.9648064,"altitude":70,"angle":288,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-08-11 14:33: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-08-11 14:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328355840001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11630024113258496,"note":"Value kept but may cause issues"} 
[2026-08-11 14:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074027520,"note":"Value kept but may cause issues"} 
[2026-08-11 14:33:48] 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-08-11 14:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786438911000,"timestamp_ms":1786438911000,"timestamp_seconds":1786438911,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00e8418"} 
[2026-08-11 14:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:33:48] 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-08-11 14:33: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 14:33:48] 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-08-11 14:33: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-08-11 14:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328355840001,"66":14004,"120":206,"28":31744,"24":0,"16":11630024113258496,"45":1738037643074027520},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-11 14:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328355840001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:33:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 14:33:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11630024113258496,"km_value":11630024113258.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074027520,"description":"Unknown IO ID 45"} 
[2026-08-11 14:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328355840001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074027520}} 
[2026-08-11 14:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":154924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:33:48] local.INFO: GPS data processed {"connection_id":154924,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:33:48] local.INFO: Acknowledgment sent {"connection_id":154924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:33:57] local.INFO: TCP Data received {"connection_id":153544,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00dc898012da1fbc005c3a2a8001a010227..."} 
[2026-08-11 14:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00dc898012da1fbc005c3a2a8001a010227..."} 
[2026-08-11 14:33:57] local.INFO: Processing buffer {"connection_id":153544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00dc898012da1fbc005c3a2a8001a010227..."} 
[2026-08-11 14:33:57] local.INFO: Packet analysis {"connection_id":153544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00d"} 
[2026-08-11 14:33:57] local.INFO: Extracted packet for processing {"connection_id":153544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00d"} 
[2026-08-11 14:33:57] local.INFO: GPS Element Parsed {"raw_longitude":765590464,"raw_latitude":96707240,"longitude_deg":76.5590464,"latitude_deg":9.670724,"altitude":26,"angle":258,"satellites":39,"speed":23,"hex_longitude":"2da1fbc0","hex_latitude":"05c3a2a8","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328343552001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377671747240984576,"note":"Value kept but may cause issues"} 
[2026-08-11 14:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6766447309134112768,"note":"Value kept but may cause issues"} 
[2026-08-11 14:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786438863000,"timestamp_ms":1786438863000,"timestamp_seconds":1786438863,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00dc898"} 
[2026-08-11 14:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 14:33:57] 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-08-11 14: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-08-11 14:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:33:57] 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-08-11 14:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328343552001,"66":27800,"168":206,"83":16896,"24":23,"16":377671747240984576,"45":-6766447309134112768},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-08-11 14:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328343552001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:33:57] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 14:33:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377671747240984576,"km_value":377671747240984.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6766447309134112768,"description":"Unknown IO ID 45"} 
[2026-08-11 14:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328343552001,"power":27800,"unknown_168":206,"unknown_83":16896,"ignition":23,"odometer":null,"unknown_45":-6766447309134112768}} 
[2026-08-11 14:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":153544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:33:57] local.INFO: GPS data processed {"connection_id":153544,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:33:57] local.INFO: Acknowledgment sent {"connection_id":153544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:34:10] local.INFO: TCP Data received {"connection_id":152228,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:34:10] local.INFO: Processing buffer {"connection_id":152228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:34:10] local.INFO: IMEI packet received {"connection_id":152228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":152228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:34:16] local.INFO: TCP Data received {"connection_id":152228,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:34:16] local.INFO: Processing buffer {"connection_id":152228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:34:16] local.INFO: IMEI packet received {"connection_id":152228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":152228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:34:17] local.INFO: TCP Data received {"connection_id":152228,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00ed620012d181ec00721af40004601202c..."} 
[2026-08-11 14:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00ed620012d181ec00721af40004601202c..."} 
[2026-08-11 14:34:17] local.INFO: Processing buffer {"connection_id":152228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00ed620012d181ec00721af40004601202c..."} 
[2026-08-11 14:34:17] local.INFO: Packet analysis {"connection_id":152228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00e"} 
[2026-08-11 14:34:17] local.INFO: Extracted packet for processing {"connection_id":152228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00e"} 
[2026-08-11 14:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648064,"longitude_deg":75.6555456,"latitude_deg":11.9648064,"altitude":70,"angle":288,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328361216001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11630024113258496,"note":"Value kept but may cause issues"} 
[2026-08-11 14:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074027520,"note":"Value kept but may cause issues"} 
[2026-08-11 14:34:17] 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-08-11 14:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786438932000,"timestamp_ms":1786438932000,"timestamp_seconds":1786438932,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00ed620"} 
[2026-08-11 14:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:34:17] 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-08-11 14: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-11 14:34:17] 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-08-11 14: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-08-11 14:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328361216001,"66":14233,"120":206,"28":31744,"24":0,"16":11630024113258496,"45":1738037643074027520},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-11 14:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328361216001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:34:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 14:34:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11630024113258496,"km_value":11630024113258.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074027520,"description":"Unknown IO ID 45"} 
[2026-08-11 14:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328361216001,"power":14233,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074027520}} 
[2026-08-11 14:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":152228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:34:17] local.INFO: GPS data processed {"connection_id":152228,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:34:17] local.INFO: Acknowledgment sent {"connection_id":152228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:34:19] local.INFO: TCP Data received {"connection_id":154925,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:34:19] local.INFO: Processing buffer {"connection_id":154925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:34:19] local.INFO: IMEI packet received {"connection_id":154925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":154925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:34:29] local.INFO: TCP Data received {"connection_id":154925,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:34:29] local.INFO: Processing buffer {"connection_id":154925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:34:29] local.INFO: IMEI packet received {"connection_id":154925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":154925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:34:30] local.INFO: TCP Data received {"connection_id":154925,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00fe790012da1300005c2f130002600ca25..."} 
[2026-08-11 14:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00fe790012da1300005c2f130002600ca25..."} 
[2026-08-11 14:34:30] local.INFO: Processing buffer {"connection_id":154925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00fe790012da1300005c2f130002600ca25..."} 
[2026-08-11 14:34:30] local.INFO: Packet analysis {"connection_id":154925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00f"} 
[2026-08-11 14:34:30] local.INFO: Extracted packet for processing {"connection_id":154925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00f"} 
[2026-08-11 14:34:30] local.INFO: GPS Element Parsed {"raw_longitude":765538304,"raw_latitude":96661808,"longitude_deg":76.5538304,"latitude_deg":9.6661808,"altitude":38,"angle":202,"satellites":37,"speed":37,"hex_longitude":"2da13000","hex_latitude":"05c2f130","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328381696001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377675243344363520,"note":"Value kept but may cause issues"} 
[2026-08-11 14:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6826823691648681984,"note":"Value kept but may cause issues"} 
[2026-08-11 14:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786439002000,"timestamp_ms":1786439002000,"timestamp_seconds":1786439002,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00fe790"} 
[2026-08-11 14:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 14:34:30] 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-08-11 14: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-08-11 14:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:34:30] 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-08-11 14:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328381696001,"66":27800,"169":206,"83":16896,"24":37,"16":377675243344363520,"45":-6826823691648681984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,45]} 
[2026-08-11 14:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328381696001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:34:30] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-11 14:34:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377675243344363520,"km_value":377675243344363.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6826823691648681984,"description":"Unknown IO ID 45"} 
[2026-08-11 14:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328381696001,"power":27800,"unknown_169":206,"unknown_83":16896,"ignition":37,"odometer":null,"unknown_45":-6826823691648681984}} 
[2026-08-11 14:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":154925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:34:30] local.INFO: GPS data processed {"connection_id":154925,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:34:30] local.INFO: Acknowledgment sent {"connection_id":154925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:34:48] local.INFO: TCP Data received {"connection_id":152228,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00f2828012d181ec00721af40004601202b..."} 
[2026-08-11 14:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00f2828012d181ec00721af40004601202b..."} 
[2026-08-11 14:34:48] local.INFO: Processing buffer {"connection_id":152228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00f2828012d181ec00721af40004601202b..."} 
[2026-08-11 14:34:48] local.INFO: Packet analysis {"connection_id":152228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00f"} 
[2026-08-11 14:34:48] local.INFO: Extracted packet for processing {"connection_id":152228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00f"} 
[2026-08-11 14:34:48] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648064,"longitude_deg":75.6555456,"latitude_deg":11.9648064,"altitude":70,"angle":288,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-08-11 14:34: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-08-11 14:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328366592001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11630024113258496,"note":"Value kept but may cause issues"} 
[2026-08-11 14:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074027520,"note":"Value kept but may cause issues"} 
[2026-08-11 14:34:48] 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-08-11 14:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786438953000,"timestamp_ms":1786438953000,"timestamp_seconds":1786438953,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00f2828"} 
[2026-08-11 14:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:34:48] 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-08-11 14:34: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-11 14:34:48] 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-08-11 14:34: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-08-11 14:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328366592001,"66":14254,"120":206,"28":31744,"24":0,"16":11630024113258496,"45":1738037643074027520},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-11 14:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328366592001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:34:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 14:34:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11630024113258496,"km_value":11630024113258.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074027520,"description":"Unknown IO ID 45"} 
[2026-08-11 14:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328366592001,"power":14254,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074027520}} 
[2026-08-11 14:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":152228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:34:48] local.INFO: GPS data processed {"connection_id":152228,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:34:48] local.INFO: Acknowledgment sent {"connection_id":152228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:35:02] local.INFO: TCP Data received {"connection_id":154925,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff00fe790012da1300005c2f130002600ca25..."} 
[2026-08-11 14:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff00fe790012da1300005c2f130002600ca25..."} 
[2026-08-11 14:35:02] local.INFO: Processing buffer {"connection_id":154925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff00fe790012da1300005c2f130002600ca25..."} 
[2026-08-11 14:35:02] local.INFO: Packet analysis {"connection_id":154925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff00f"} 
[2026-08-11 14:35:02] local.INFO: Extracted packet for processing {"connection_id":154925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff00f"} 
[2026-08-11 14:35:02] local.INFO: GPS Element Parsed {"raw_longitude":765538304,"raw_latitude":96661808,"longitude_deg":76.5538304,"latitude_deg":9.6661808,"altitude":38,"angle":202,"satellites":37,"speed":37,"hex_longitude":"2da13000","hex_latitude":"05c2f130","is_valid_coordinates":true} 
[2026-08-11 14:35: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-08-11 14:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328384512001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377675243344363520,"note":"Value kept but may cause issues"} 
[2026-08-11 14:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6831960609975619584,"note":"Value kept but may cause issues"} 
[2026-08-11 14:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786439002000,"timestamp_ms":1786439002000,"timestamp_seconds":1786439002,"priority":1,"record_length":96,"hex_timestamp":"0000019ff00fe790"} 
[2026-08-11 14:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:35: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":152,"data_length":795,"current_offset":136} 
[2026-08-11 14:35:02] 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-08-11 14:35: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-08-11 14:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":154925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":154925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":154925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:35:02] 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-08-11 14:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328384512001,"66":27800,"169":206,"83":16896,"24":37,"16":377675243344363520,"45":-6831960609975619584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,45]} 
[2026-08-11 14:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328384512001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:35:02] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-11 14:35:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377675243344363520,"km_value":377675243344363.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6831960609975619584,"description":"Unknown IO ID 45"} 
[2026-08-11 14:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328384512001,"power":27800,"unknown_169":206,"unknown_83":16896,"ignition":37,"odometer":null,"unknown_45":-6831960609975619584}} 
[2026-08-11 14:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":154925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:35:02] local.INFO: GPS data processed {"connection_id":154925,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:35:02] local.INFO: Acknowledgment sent {"connection_id":154925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:35:10] local.INFO: TCP Data received {"connection_id":154926,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:35:10] local.INFO: Processing buffer {"connection_id":154926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:35:10] local.INFO: IMEI packet received {"connection_id":154926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":154926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:35:11] local.INFO: TCP Data received {"connection_id":154926,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:35:11] local.INFO: Processing buffer {"connection_id":154926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:35:11] local.INFO: IMEI packet received {"connection_id":154926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":154926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:35:13] local.INFO: TCP Data received {"connection_id":154926,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:35:13] local.INFO: Processing buffer {"connection_id":154926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:35:13] local.INFO: IMEI packet received {"connection_id":154926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":154926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:35:15] local.INFO: TCP Data received {"connection_id":154926,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:35:15] local.INFO: Processing buffer {"connection_id":154926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:35:15] local.INFO: IMEI packet received {"connection_id":154926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":154926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:35:16] local.INFO: TCP Data received {"connection_id":154926,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0109f28012d186380072182b0004b006928..."} 
[2026-08-11 14:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0109f28012d186380072182b0004b006928..."} 
[2026-08-11 14:35:16] local.INFO: Processing buffer {"connection_id":154926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0109f28012d186380072182b0004b006928..."} 
[2026-08-11 14:35:16] local.INFO: Packet analysis {"connection_id":154926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff010"} 
[2026-08-11 14:35:16] local.INFO: Extracted packet for processing {"connection_id":154926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff010"} 
[2026-08-11 14:35:16] local.INFO: GPS Element Parsed {"raw_longitude":756573056,"raw_latitude":119636656,"longitude_deg":75.6573056,"latitude_deg":11.9636656,"altitude":75,"angle":105,"satellites":40,"speed":33,"hex_longitude":"2d186380","hex_latitude":"072182b0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328395776001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11631106445017088,"note":"Value kept but may cause issues"} 
[2026-08-11 14:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297953122304,"note":"Value kept but may cause issues"} 
[2026-08-11 14:35:16] 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-08-11 14:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786439049000,"timestamp_ms":1786439049000,"timestamp_seconds":1786439049,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0109f28"} 
[2026-08-11 14:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:35:16] 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-08-11 14: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-11 14:35:16] 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-08-11 14: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-08-11 14:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328395776001,"66":14374,"121":206,"28":31744,"24":33,"16":11631106445017088,"45":1754574297953122304},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328395776001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:35:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:35:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11631106445017088,"km_value":11631106445017.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297953122304,"description":"Unknown IO ID 45"} 
[2026-08-11 14:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328395776001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1754574297953122304}} 
[2026-08-11 14:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":154926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:35:16] local.INFO: GPS data processed {"connection_id":154926,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:35:16] local.INFO: Acknowledgment sent {"connection_id":154926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:35:19] local.INFO: TCP Data received {"connection_id":152602,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:35:19] local.INFO: Processing buffer {"connection_id":152602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:35:19] local.INFO: IMEI packet received {"connection_id":152602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":152602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:35:21] local.INFO: TCP Data received {"connection_id":152602,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:35:21] local.INFO: Processing buffer {"connection_id":152602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:35:21] local.INFO: IMEI packet received {"connection_id":152602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":152602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:35:24] local.INFO: TCP Data received {"connection_id":152602,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:35:24] local.INFO: Processing buffer {"connection_id":152602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:35:24] local.INFO: IMEI packet received {"connection_id":152602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":152602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:35:26] local.INFO: TCP Data received {"connection_id":152602,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff010ba80012da0da4005c26d38001a00d328..."} 
[2026-08-11 14:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff010ba80012da0da4005c26d38001a00d328..."} 
[2026-08-11 14:35:26] local.INFO: Processing buffer {"connection_id":152602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff010ba80012da0da4005c26d38001a00d328..."} 
[2026-08-11 14:35:26] local.INFO: Packet analysis {"connection_id":152602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff010"} 
[2026-08-11 14:35:26] local.INFO: Extracted packet for processing {"connection_id":152602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff010"} 
[2026-08-11 14:35:26] local.INFO: GPS Element Parsed {"raw_longitude":765516352,"raw_latitude":96628024,"longitude_deg":76.5516352,"latitude_deg":9.6628024,"altitude":26,"angle":211,"satellites":40,"speed":34,"hex_longitude":"2da0da40","hex_latitude":"05c26d38","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328397312001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377677356468273152,"note":"Value kept but may cause issues"} 
[2026-08-11 14:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6853986026911238144,"note":"Value kept but may cause issues"} 
[2026-08-11 14:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786439056000,"timestamp_ms":1786439056000,"timestamp_seconds":1786439056,"priority":1,"record_length":96,"hex_timestamp":"0000019ff010ba80"} 
[2026-08-11 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-08-11 14:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 14:35:26] 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-08-11 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-08-11 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-08-11 14:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:35:26] 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-08-11 14:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328397312001,"66":27767,"169":206,"83":16896,"24":34,"16":377677356468273152,"45":-6853986026911238144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,45]} 
[2026-08-11 14:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328397312001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:35:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-11 14:35:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377677356468273152,"km_value":377677356468273.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6853986026911238144,"description":"Unknown IO ID 45"} 
[2026-08-11 14:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328397312001,"power":27767,"unknown_169":206,"unknown_83":16896,"ignition":34,"odometer":null,"unknown_45":-6853986026911238144}} 
[2026-08-11 14:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":152602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:35:26] local.INFO: GPS data processed {"connection_id":152602,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:35:26] local.INFO: Acknowledgment sent {"connection_id":152602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:35:48] local.INFO: TCP Data received {"connection_id":154926,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff010aae0012d186d4007218178004b005b29..."} 
[2026-08-11 14:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff010aae0012d186d4007218178004b005b29..."} 
[2026-08-11 14:35:48] local.INFO: Processing buffer {"connection_id":154926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff010aae0012d186d4007218178004b005b29..."} 
[2026-08-11 14:35:48] local.INFO: Packet analysis {"connection_id":154926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff010"} 
[2026-08-11 14:35:48] local.INFO: Extracted packet for processing {"connection_id":154926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff010"} 
[2026-08-11 14:35:48] local.INFO: GPS Element Parsed {"raw_longitude":756575552,"raw_latitude":119636344,"longitude_deg":75.6575552,"latitude_deg":11.9636344,"altitude":75,"angle":91,"satellites":41,"speed":31,"hex_longitude":"2d186d40","hex_latitude":"07218178","is_valid_coordinates":true} 
[2026-08-11 14:35: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-08-11 14:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328396544001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11631226704101376,"note":"Value kept but may cause issues"} 
[2026-08-11 14:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757389047719964672,"note":"Value kept but may cause issues"} 
[2026-08-11 14:35:48] 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-08-11 14:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786439052000,"timestamp_ms":1786439052000,"timestamp_seconds":1786439052,"priority":1,"record_length":96,"hex_timestamp":"0000019ff010aae0"} 
[2026-08-11 14:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:35:48] 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-08-11 14:35: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 14:35:48] 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-08-11 14:35: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-08-11 14:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328396544001,"66":14363,"121":206,"28":31744,"24":31,"16":11631226704101376,"45":1757389047719964672},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328396544001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:35:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:35:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11631226704101376,"km_value":11631226704101.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757389047719964672,"description":"Unknown IO ID 45"} 
[2026-08-11 14:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328396544001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1757389047719964672}} 
[2026-08-11 14:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":154926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:35:49] local.INFO: GPS data processed {"connection_id":154926,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:35:49] local.INFO: Acknowledgment sent {"connection_id":154926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:35:57] local.INFO: TCP Data received {"connection_id":152602,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff010e190012da0cf4005c25548001900c629..."} 
[2026-08-11 14:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff010e190012da0cf4005c25548001900c629..."} 
[2026-08-11 14:35:57] local.INFO: Processing buffer {"connection_id":152602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff010e190012da0cf4005c25548001900c629..."} 
[2026-08-11 14:35:57] local.INFO: Packet analysis {"connection_id":152602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff010"} 
[2026-08-11 14:35:57] local.INFO: Extracted packet for processing {"connection_id":152602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff010"} 
[2026-08-11 14:35:57] local.INFO: GPS Element Parsed {"raw_longitude":765513536,"raw_latitude":96621896,"longitude_deg":76.5513536,"latitude_deg":9.6621896,"altitude":25,"angle":198,"satellites":41,"speed":27,"hex_longitude":"2da0cf40","hex_latitude":"05c25548","is_valid_coordinates":true} 
[2026-08-11 14:35: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-08-11 14:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328398336001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377677687180754944,"note":"Value kept but may cause issues"} 
[2026-08-11 14:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6856097089237207040,"note":"Value kept but may cause issues"} 
[2026-08-11 14:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786439066000,"timestamp_ms":1786439066000,"timestamp_seconds":1786439066,"priority":1,"record_length":96,"hex_timestamp":"0000019ff010e190"} 
[2026-08-11 14:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:35: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-08-11 14:35: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-08-11 14:35: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-08-11 14:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:35:57] 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-08-11 14:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328398336001,"66":27876,"138":206,"83":16896,"24":27,"16":377677687180754944,"45":-6856097089237207040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-08-11 14:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328398336001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:35:57] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-11 14:35:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377677687180754944,"km_value":377677687180754.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6856097089237207040,"description":"Unknown IO ID 45"} 
[2026-08-11 14:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328398336001,"power":27876,"unknown_138":206,"unknown_83":16896,"ignition":27,"odometer":null,"unknown_45":-6856097089237207040}} 
[2026-08-11 14:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":152602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:35:57] local.INFO: GPS data processed {"connection_id":152602,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:35:57] local.INFO: Acknowledgment sent {"connection_id":152602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:36:16] local.INFO: TCP Data received {"connection_id":154927,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:36:16] local.INFO: Processing buffer {"connection_id":154927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:36:16] local.INFO: IMEI packet received {"connection_id":154927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":154927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:36:16] local.INFO: TCP Data received {"connection_id":154927,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:36:16] local.INFO: Processing buffer {"connection_id":154927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:36:16] local.INFO: IMEI packet received {"connection_id":154927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":154927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:36:21] local.INFO: TCP Data received {"connection_id":154927,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:36:21] local.INFO: Processing buffer {"connection_id":154927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:36:21] local.INFO: IMEI packet received {"connection_id":154927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":154927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:36:21] local.INFO: TCP Data received {"connection_id":153545,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:36:21] local.INFO: Processing buffer {"connection_id":153545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:36:21] local.INFO: IMEI packet received {"connection_id":153545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":153545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:36:22] local.INFO: TCP Data received {"connection_id":154927,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0119540012d18d40007210b48003c00a623..."} 
[2026-08-11 14:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0119540012d18d40007210b48003c00a623..."} 
[2026-08-11 14:36:22] local.INFO: Processing buffer {"connection_id":154927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0119540012d18d40007210b48003c00a623..."} 
[2026-08-11 14:36:22] local.INFO: Packet analysis {"connection_id":154927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff011"} 
[2026-08-11 14:36:22] local.INFO: Extracted packet for processing {"connection_id":154927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff011"} 
[2026-08-11 14:36:22] local.INFO: GPS Element Parsed {"raw_longitude":756601856,"raw_latitude":119606088,"longitude_deg":75.6601856,"latitude_deg":11.9606088,"altitude":60,"angle":166,"satellites":35,"speed":36,"hex_longitude":"2d18d400","hex_latitude":"07210b48","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328411136001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11633447202193408,"note":"Value kept but may cause issues"} 
[2026-08-11 14:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876360916992,"note":"Value kept but may cause issues"} 
[2026-08-11 14:36:22] 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-08-11 14:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786439112000,"timestamp_ms":1786439112000,"timestamp_seconds":1786439112,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0119540"} 
[2026-08-11 14:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:36:22] 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-08-11 14: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 14:36: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-08-11 14: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-08-11 14:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":154927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":154927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":154927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328411136001,"66":14461,"121":206,"28":31744,"24":36,"16":11633447202193408,"45":1788843876360916992},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328411136001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:36:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:36:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11633447202193408,"km_value":11633447202193.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876360916992,"description":"Unknown IO ID 45"} 
[2026-08-11 14:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328411136001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1788843876360916992}} 
[2026-08-11 14:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":154927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:36:22] local.INFO: GPS data processed {"connection_id":154927,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:36:22] local.INFO: Acknowledgment sent {"connection_id":154927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:36:23] local.INFO: TCP Data received {"connection_id":154927,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff011a4e0012d18d9000720fda0003b009423..."} 
[2026-08-11 14:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff011a4e0012d18d9000720fda0003b009423..."} 
[2026-08-11 14:36:23] local.INFO: Processing buffer {"connection_id":154927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff011a4e0012d18d9000720fda0003b009423..."} 
[2026-08-11 14:36:23] local.INFO: Packet analysis {"connection_id":154927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff011"} 
[2026-08-11 14:36:23] local.INFO: Extracted packet for processing {"connection_id":154927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff011"} 
[2026-08-11 14:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756603136,"raw_latitude":119602592,"longitude_deg":75.6603136,"latitude_deg":11.9602592,"altitude":59,"angle":148,"satellites":35,"speed":37,"hex_longitude":"2d18d900","hex_latitude":"0720fda0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328412672001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11633627590819840,"note":"Value kept but may cause issues"} 
[2026-08-11 14:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789054982592088064,"note":"Value kept but may cause issues"} 
[2026-08-11 14:36:23] 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-08-11 14:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786439116000,"timestamp_ms":1786439116000,"timestamp_seconds":1786439116,"priority":1,"record_length":96,"hex_timestamp":"0000019ff011a4e0"} 
[2026-08-11 14:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:36:23] 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-08-11 14: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 14:36:23] 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-08-11 14: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-08-11 14:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":154927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":154927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":154927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328412672001,"66":14461,"121":206,"28":31744,"24":37,"16":11633627590819840,"45":1789054982592088064},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328412672001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:36:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:36:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11633627590819840,"km_value":11633627590819.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789054982592088064,"description":"Unknown IO ID 45"} 
[2026-08-11 14:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328412672001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1789054982592088064}} 
[2026-08-11 14:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":154927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:36:23] local.INFO: GPS data processed {"connection_id":154927,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:36:23] local.INFO: Acknowledgment sent {"connection_id":154927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:36:25] local.INFO: TCP Data received {"connection_id":153545,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:36:25] local.INFO: Processing buffer {"connection_id":153545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:36:25] local.INFO: IMEI packet received {"connection_id":153545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":153545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:36:26] local.INFO: TCP Data received {"connection_id":154927,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff011acb0012d18de400720f838003b008423..."} 
[2026-08-11 14:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff011acb0012d18de400720f838003b008423..."} 
[2026-08-11 14:36:26] local.INFO: Processing buffer {"connection_id":154927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff011acb0012d18de400720f838003b008423..."} 
[2026-08-11 14:36:26] local.INFO: Packet analysis {"connection_id":154927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff011"} 
[2026-08-11 14:36:26] local.INFO: Extracted packet for processing {"connection_id":154927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff011"} 
[2026-08-11 14:36:26] local.INFO: GPS Element Parsed {"raw_longitude":756604480,"raw_latitude":119601208,"longitude_deg":75.660448,"latitude_deg":11.9601208,"altitude":59,"angle":132,"satellites":35,"speed":36,"hex_longitude":"2d18de40","hex_latitude":"0720f838","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328413696001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11633717785133056,"note":"Value kept but may cause issues"} 
[2026-08-11 14:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790462357474746368,"note":"Value kept but may cause issues"} 
[2026-08-11 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-08-11 14:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786439118000,"timestamp_ms":1786439118000,"timestamp_seconds":1786439118,"priority":1,"record_length":96,"hex_timestamp":"0000019ff011acb0"} 
[2026-08-11 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-08-11 14:36: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-08-11 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 14:36:26] 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-08-11 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-08-11 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-08-11 14:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328413696001,"66":14461,"121":206,"28":31744,"24":36,"16":11633717785133056,"45":1790462357474746368},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328413696001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:36:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:36:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11633717785133056,"km_value":11633717785133.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790462357474746368,"description":"Unknown IO ID 45"} 
[2026-08-11 14:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328413696001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1790462357474746368}} 
[2026-08-11 14:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":154927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:36:26] local.INFO: GPS data processed {"connection_id":154927,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:36:26] local.INFO: Acknowledgment sent {"connection_id":154927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:36:29] local.INFO: TCP Data received {"connection_id":153545,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:36:29] local.INFO: Processing buffer {"connection_id":153545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:36:29] local.INFO: IMEI packet received {"connection_id":153545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":153545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:36:30] local.INFO: TCP Data received {"connection_id":153545,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff011b868012da0bf8005c1ac40001b00ad27..."} 
[2026-08-11 14:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff011b868012da0bf8005c1ac40001b00ad27..."} 
[2026-08-11 14:36:30] local.INFO: Processing buffer {"connection_id":153545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff011b868012da0bf8005c1ac40001b00ad27..."} 
[2026-08-11 14:36:30] local.INFO: Packet analysis {"connection_id":153545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff011"} 
[2026-08-11 14:36:30] local.INFO: Extracted packet for processing {"connection_id":153545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff011"} 
[2026-08-11 14:36:30] local.INFO: GPS Element Parsed {"raw_longitude":765509504,"raw_latitude":96578624,"longitude_deg":76.5509504,"latitude_deg":9.6578624,"altitude":27,"angle":173,"satellites":39,"speed":41,"hex_longitude":"2da0bf80","hex_latitude":"05c1ac40","is_valid_coordinates":true} 
[2026-08-11 14:36: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-08-11 14:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328414464001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377680156786950144,"note":"Value kept but may cause issues"} 
[2026-08-11 14:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6864259863573952512,"note":"Value kept but may cause issues"} 
[2026-08-11 14:36:30] 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-08-11 14:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786439121000,"timestamp_ms":1786439121000,"timestamp_seconds":1786439121,"priority":1,"record_length":96,"hex_timestamp":"0000019ff011b868"} 
[2026-08-11 14:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:36: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 14:36:30] 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-08-11 14:36: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-08-11 14:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:36:30] 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-08-11 14:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328414464001,"66":27865,"137":206,"83":16896,"24":41,"16":377680156786950144,"45":-6864259863573952512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-11 14:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328414464001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:36:30] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-11 14:36:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377680156786950144,"km_value":377680156786950.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6864259863573952512,"description":"Unknown IO ID 45"} 
[2026-08-11 14:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328414464001,"power":27865,"unknown_137":206,"unknown_83":16896,"ignition":41,"odometer":null,"unknown_45":-6864259863573952512}} 
[2026-08-11 14:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":153545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:36:30] local.INFO: GPS data processed {"connection_id":153545,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:36:30] local.INFO: Acknowledgment sent {"connection_id":153545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:36:35] local.INFO: TCP Data received {"connection_id":153545,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff011df78012da0c0c005c189b8001b00ac2a..."} 
[2026-08-11 14:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff011df78012da0c0c005c189b8001b00ac2a..."} 
[2026-08-11 14:36:35] local.INFO: Processing buffer {"connection_id":153545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff011df78012da0c0c005c189b8001b00ac2a..."} 
[2026-08-11 14:36:35] local.INFO: Packet analysis {"connection_id":153545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff011"} 
[2026-08-11 14:36:35] local.INFO: Extracted packet for processing {"connection_id":153545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff011"} 
[2026-08-11 14:36:35] local.INFO: GPS Element Parsed {"raw_longitude":765509824,"raw_latitude":96569784,"longitude_deg":76.5509824,"latitude_deg":9.6569784,"altitude":27,"angle":172,"satellites":42,"speed":34,"hex_longitude":"2da0c0c0","hex_latitude":"05c189b8","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328414976001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377680586283679744,"note":"Value kept but may cause issues"} 
[2026-08-11 14:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6863626544876863488,"note":"Value kept but may cause issues"} 
[2026-08-11 14:36:35] 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-08-11 14:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786439131000,"timestamp_ms":1786439131000,"timestamp_seconds":1786439131,"priority":1,"record_length":96,"hex_timestamp":"0000019ff011df78"} 
[2026-08-11 14:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:36: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-08-11 14: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-08-11 14:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:36: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-08-11 14:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328414976001,"66":27745,"137":206,"83":16896,"24":34,"16":377680586283679744,"45":-6863626544876863488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-11 14:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328414976001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:36:35] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-11 14:36:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377680586283679744,"km_value":377680586283679.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6863626544876863488,"description":"Unknown IO ID 45"} 
[2026-08-11 14:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328414976001,"power":27745,"unknown_137":206,"unknown_83":16896,"ignition":34,"odometer":null,"unknown_45":-6863626544876863488}} 
[2026-08-11 14:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":153545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:36:35] local.INFO: GPS data processed {"connection_id":153545,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:36:35] local.INFO: Acknowledgment sent {"connection_id":153545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:37:15] local.INFO: TCP Data received {"connection_id":152603,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:37:15] local.INFO: Processing buffer {"connection_id":152603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:37:15] local.INFO: IMEI packet received {"connection_id":152603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":152603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:37:16] local.INFO: TCP Data received {"connection_id":152603,"ip":"117.225.245.48","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 14:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152603,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 14:37:16] local.INFO: Processing buffer {"connection_id":152603,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 14:37:16] local.INFO: IMEI packet received {"connection_id":152603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":152603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:37:16] local.INFO: TCP Data received {"connection_id":152604,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:37:16] local.INFO: Processing buffer {"connection_id":152604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:37:16] local.INFO: IMEI packet received {"connection_id":152604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":152604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:37:18] local.INFO: TCP Data received {"connection_id":152603,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0129af8012d19ae800720af400030006e29..."} 
[2026-08-11 14:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0129af8012d19ae800720af400030006e29..."} 
[2026-08-11 14:37:18] local.INFO: Processing buffer {"connection_id":152603,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019ff0..."} 
[2026-08-11 14:37:18] local.INFO: IMEI packet received {"connection_id":152603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":152603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:37:20] local.INFO: TCP Data received {"connection_id":152604,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:37:20] local.INFO: Processing buffer {"connection_id":152604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:37:20] local.INFO: IMEI packet received {"connection_id":152604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":152604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:37:21] local.INFO: TCP Data received {"connection_id":152603,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff012aa98012d19b9000720aa58002f007a29..."} 
[2026-08-11 14:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff012aa98012d19b9000720aa58002f007a29..."} 
[2026-08-11 14:37:21] local.INFO: Processing buffer {"connection_id":152603,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ff0129af8012d19ae800720af400030006e29..."} 
[2026-08-11 14:37:21] local.INFO: Packet analysis {"connection_id":152603,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff012"} 
[2026-08-11 14:37:21] local.INFO: Extracted packet for processing {"connection_id":152603,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff012"} 
[2026-08-11 14:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119582528,"longitude_deg":75.6657792,"latitude_deg":11.9582528,"altitude":48,"angle":110,"satellites":41,"speed":33,"hex_longitude":"2d19ae80","hex_latitude":"0720af40","is_valid_coordinates":true} 
[2026-08-11 14:37: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-08-11 14:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328427776001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11636608298123264,"note":"Value kept but may cause issues"} 
[2026-08-11 14:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843098178114746368,"note":"Value kept but may cause issues"} 
[2026-08-11 14:37:21] 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-08-11 14:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786439179000,"timestamp_ms":1786439179000,"timestamp_seconds":1786439179,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0129af8"} 
[2026-08-11 14:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:37:21] 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-08-11 14:37: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 14:37:21] 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-08-11 14:37: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-08-11 14:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328427776001,"66":14483,"121":206,"28":31744,"24":33,"16":11636608298123264,"45":1843098178114746368},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328427776001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:37:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:37:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11636608298123264,"km_value":11636608298123.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843098178114746368,"description":"Unknown IO ID 45"} 
[2026-08-11 14:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328427776001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1843098178114746368}} 
[2026-08-11 14:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":152603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:37:21] local.INFO: GPS data processed {"connection_id":152603,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:37:21] local.INFO: Acknowledgment sent {"connection_id":152603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:37:21] local.INFO: Packet analysis {"connection_id":152603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff012"} 
[2026-08-11 14:37:21] local.INFO: Extracted packet for processing {"connection_id":152603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff012"} 
[2026-08-11 14:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119581272,"longitude_deg":75.666048,"latitude_deg":11.9581272,"altitude":47,"angle":122,"satellites":41,"speed":23,"hex_longitude":"2d19b900","hex_latitude":"0720aa58","is_valid_coordinates":true} 
[2026-08-11 14:37: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-08-11 14:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328429824001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11636750032044032,"note":"Value kept but may cause issues"} 
[2026-08-11 14:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264997335040,"note":"Value kept but may cause issues"} 
[2026-08-11 14:37:21] 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-08-11 14:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786439183000,"timestamp_ms":1786439183000,"timestamp_seconds":1786439183,"priority":1,"record_length":96,"hex_timestamp":"0000019ff012aa98"} 
[2026-08-11 14:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:37:21] 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-08-11 14:37: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 14:37:21] 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-08-11 14:37: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-08-11 14:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328429824001,"66":14374,"121":206,"28":31744,"24":23,"16":11636750032044032,"45":1850557264997335040},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328429824001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:37:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:37:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11636750032044032,"km_value":11636750032044.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264997335040,"description":"Unknown IO ID 45"} 
[2026-08-11 14:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328429824001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1850557264997335040}} 
[2026-08-11 14:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":152603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:37:21] local.INFO: GPS data processed {"connection_id":152603,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:37:21] local.INFO: Acknowledgment sent {"connection_id":152603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:37:28] local.INFO: TCP Data received {"connection_id":152604,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:37:28] local.INFO: Processing buffer {"connection_id":152604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:37:28] local.INFO: IMEI packet received {"connection_id":152604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":152604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:37:31] local.INFO: TCP Data received {"connection_id":152603,"ip":"117.225.245.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ff012be20012d19c1000720a558002e006825..."} 
[2026-08-11 14:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff012be20012d19c1000720a558002e006825..."} 
[2026-08-11 14:37:31] local.INFO: Processing buffer {"connection_id":152603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff012be20012d19c1000720a558002e006825..."} 
[2026-08-11 14:37:31] local.INFO: Packet analysis {"connection_id":152603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff012"} 
[2026-08-11 14:37:31] local.INFO: Extracted packet for processing {"connection_id":152603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff012"} 
[2026-08-11 14:37:31] local.INFO: GPS Element Parsed {"raw_longitude":756662528,"raw_latitude":119579992,"longitude_deg":75.6662528,"latitude_deg":11.9579992,"altitude":46,"angle":104,"satellites":37,"speed":18,"hex_longitude":"2d19c100","hex_latitude":"0720a558","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328430848001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11636865996161024,"note":"Value kept but may cause issues"} 
[2026-08-11 14:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752252475392,"note":"Value kept but may cause issues"} 
[2026-08-11 14:37: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-08-11 14:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786439188000,"timestamp_ms":1786439188000,"timestamp_seconds":1786439188,"priority":1,"record_length":96,"hex_timestamp":"0000019ff012be20"} 
[2026-08-11 14:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:37:31] 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-08-11 14: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":38,"data_length":795,"current_offset":136} 
[2026-08-11 14:37:31] 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-08-11 14: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-08-11 14:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328430848001,"66":14428,"121":206,"28":31744,"24":18,"16":11636865996161024,"45":1853512752252475392},"client_ip":"117.225.245.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-11 14:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328430848001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:37:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 14:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11636865996161024,"km_value":11636865996161.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752252475392,"description":"Unknown IO ID 45"} 
[2026-08-11 14:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328430848001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1853512752252475392}} 
[2026-08-11 14:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":152603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:37:31] local.INFO: GPS data processed {"connection_id":152603,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:37:31] local.INFO: Acknowledgment sent {"connection_id":152603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:37:33] local.INFO: TCP Data received {"connection_id":152604,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0120e58012da0c68005c166a8001d00ad29..."} 
[2026-08-11 14:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0120e58012da0c68005c166a8001d00ad29..."} 
[2026-08-11 14:37:33] local.INFO: Processing buffer {"connection_id":152604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0120e58012da0c68005c166a8001d00ad29..."} 
[2026-08-11 14:37:33] local.INFO: Packet analysis {"connection_id":152604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff012"} 
[2026-08-11 14:37:33] local.INFO: Extracted packet for processing {"connection_id":152604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff012"} 
[2026-08-11 14:37:33] local.INFO: GPS Element Parsed {"raw_longitude":765511296,"raw_latitude":96560808,"longitude_deg":76.5511296,"latitude_deg":9.6560808,"altitude":29,"angle":173,"satellites":41,"speed":22,"hex_longitude":"2da0c680","hex_latitude":"05c166a8","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328417536001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377681028665311232,"note":"Value kept but may cause issues"} 
[2026-08-11 14:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6863274701158238208,"note":"Value kept but may cause issues"} 
[2026-08-11 14:37:33] 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-08-11 14:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786439143000,"timestamp_ms":1786439143000,"timestamp_seconds":1786439143,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0120e58"} 
[2026-08-11 14:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 14:37:33] 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-08-11 14: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-08-11 14:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:37:33] 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-08-11 14:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328417536001,"66":27865,"137":206,"83":16896,"24":22,"16":377681028665311232,"45":-6863274701158238208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-11 14:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328417536001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:37:33] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-11 14:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377681028665311232,"km_value":377681028665311.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6863274701158238208,"description":"Unknown IO ID 45"} 
[2026-08-11 14:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328417536001,"power":27865,"unknown_137":206,"unknown_83":16896,"ignition":22,"odometer":null,"unknown_45":-6863274701158238208}} 
[2026-08-11 14:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":152604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:37:33] local.INFO: GPS data processed {"connection_id":152604,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:37:33] local.INFO: Acknowledgment sent {"connection_id":152604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:37:34] local.INFO: TCP Data received {"connection_id":152604,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0124508012da0c7c005c14568002100b827..."} 
[2026-08-11 14:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0124508012da0c7c005c14568002100b827..."} 
[2026-08-11 14:37:34] local.INFO: Processing buffer {"connection_id":152604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0124508012da0c7c005c14568002100b827..."} 
[2026-08-11 14:37:34] local.INFO: Packet analysis {"connection_id":152604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff012"} 
[2026-08-11 14:37:34] local.INFO: Extracted packet for processing {"connection_id":152604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff012"} 
[2026-08-11 14:37:34] local.INFO: GPS Element Parsed {"raw_longitude":765511616,"raw_latitude":96552296,"longitude_deg":76.5511616,"latitude_deg":9.6552296,"altitude":33,"angle":184,"satellites":39,"speed":28,"hex_longitude":"2da0c7c0","hex_latitude":"05c14568","is_valid_coordinates":true} 
[2026-08-11 14:37: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-08-11 14:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328420608001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377681445277138944,"note":"Value kept but may cause issues"} 
[2026-08-11 14:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6861656220044449792,"note":"Value kept but may cause issues"} 
[2026-08-11 14:37:34] 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-08-11 14:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786439157000,"timestamp_ms":1786439157000,"timestamp_seconds":1786439157,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0124508"} 
[2026-08-11 14:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:37: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-08-11 14:37: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-08-11 14:37: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-08-11 14:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:37:34] 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-08-11 14:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328420608001,"66":27908,"137":206,"83":16896,"24":28,"16":377681445277138944,"45":-6861656220044449792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-11 14:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328420608001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:37:34] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-11 14:37:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377681445277138944,"km_value":377681445277138.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6861656220044449792,"description":"Unknown IO ID 45"} 
[2026-08-11 14:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328420608001,"power":27908,"unknown_137":206,"unknown_83":16896,"ignition":28,"odometer":null,"unknown_45":-6861656220044449792}} 
[2026-08-11 14:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":152604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:37:34] local.INFO: GPS data processed {"connection_id":152604,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:37:34] local.INFO: Acknowledgment sent {"connection_id":152604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:38:10] local.INFO: TCP Data received {"connection_id":152229,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:38:10] local.INFO: Processing buffer {"connection_id":152229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:38:10] local.INFO: IMEI packet received {"connection_id":152229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":152229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:38:14] local.INFO: TCP Data received {"connection_id":152229,"ip":"117.225.245.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:38:14] local.INFO: Processing buffer {"connection_id":152229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:38:14] local.INFO: IMEI packet received {"connection_id":152229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":152229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:38:19] local.INFO: TCP Data received {"connection_id":152230,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:38:19] local.INFO: Processing buffer {"connection_id":152230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:38:19] local.INFO: IMEI packet received {"connection_id":152230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":152230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:38:20] local.INFO: TCP Data received {"connection_id":152230,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:38:20] local.INFO: Processing buffer {"connection_id":152230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:38:20] local.INFO: IMEI packet received {"connection_id":152230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":152230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:38:24] local.INFO: TCP Data received {"connection_id":152230,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:38:24] local.INFO: Processing buffer {"connection_id":152230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:38:24] local.INFO: IMEI packet received {"connection_id":152230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":152230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:38:26] local.INFO: TCP Data received {"connection_id":152230,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0127fa0012da0c58005c121d8002000b927..."} 
[2026-08-11 14:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0127fa0012da0c58005c121d8002000b927..."} 
[2026-08-11 14:38:26] local.INFO: Processing buffer {"connection_id":152230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0127fa0012da0c58005c121d8002000b927..."} 
[2026-08-11 14:38:26] local.INFO: Packet analysis {"connection_id":152230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff012"} 
[2026-08-11 14:38:26] local.INFO: Extracted packet for processing {"connection_id":152230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff012"} 
[2026-08-11 14:38:26] local.INFO: GPS Element Parsed {"raw_longitude":765511040,"raw_latitude":96543192,"longitude_deg":76.551104,"latitude_deg":9.6543192,"altitude":32,"angle":185,"satellites":39,"speed":16,"hex_longitude":"2da0c580","hex_latitude":"05c121d8","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328424192001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377681887658770432,"note":"Value kept but may cause issues"} 
[2026-08-11 14:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6861304376325740544,"note":"Value kept but may cause issues"} 
[2026-08-11 14:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786439172000,"timestamp_ms":1786439172000,"timestamp_seconds":1786439172,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0127fa0"} 
[2026-08-11 14:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 14:38: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-08-11 14: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-08-11 14:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:38:26] 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-08-11 14:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328424192001,"66":27930,"246":206,"83":16896,"24":16,"16":377681887658770432,"45":-6861304376325740544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,83,24,16,45]} 
[2026-08-11 14:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328424192001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:38:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377681887658770432,"km_value":377681887658770.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6861304376325740544,"description":"Unknown IO ID 45"} 
[2026-08-11 14:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328424192001,"power":27930,"main_input_voltage":206,"unknown_83":16896,"ignition":16,"odometer":null,"unknown_45":-6861304376325740544}} 
[2026-08-11 14:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":152230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:38:26] local.INFO: GPS data processed {"connection_id":152230,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:38:26] local.INFO: Acknowledgment sent {"connection_id":152230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:38:57] local.INFO: TCP Data received {"connection_id":152230,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff012aa98012da0c40005c112f0002000aa2a..."} 
[2026-08-11 14:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff012aa98012da0c40005c112f0002000aa2a..."} 
[2026-08-11 14:38:57] local.INFO: Processing buffer {"connection_id":152230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff012aa98012da0c40005c112f0002000aa2a..."} 
[2026-08-11 14:38:57] local.INFO: Packet analysis {"connection_id":152230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff012"} 
[2026-08-11 14:38:57] local.INFO: Extracted packet for processing {"connection_id":152230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff012"} 
[2026-08-11 14:38:57] local.INFO: GPS Element Parsed {"raw_longitude":765510656,"raw_latitude":96539376,"longitude_deg":76.5510656,"latitude_deg":9.6539376,"altitude":32,"angle":170,"satellites":42,"speed":15,"hex_longitude":"2da0c400","hex_latitude":"05c112f0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328428032001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377682076637331456,"note":"Value kept but may cause issues"} 
[2026-08-11 14:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6861937695025670144,"note":"Value kept but may cause issues"} 
[2026-08-11 14:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786439183000,"timestamp_ms":1786439183000,"timestamp_seconds":1786439183,"priority":1,"record_length":96,"hex_timestamp":"0000019ff012aa98"} 
[2026-08-11 14:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 14:38:57] 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-08-11 14: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-08-11 14:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:38:57] 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-08-11 14:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328428032001,"66":27908,"246":206,"83":16896,"24":15,"16":377682076637331456,"45":-6861937695025670144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,83,24,16,45]} 
[2026-08-11 14:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328428032001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377682076637331456,"km_value":377682076637331.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6861937695025670144,"description":"Unknown IO ID 45"} 
[2026-08-11 14:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328428032001,"power":27908,"main_input_voltage":206,"unknown_83":16896,"ignition":15,"odometer":null,"unknown_45":-6861937695025670144}} 
[2026-08-11 14:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":152230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:38:57] local.INFO: GPS data processed {"connection_id":152230,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:38:57] local.INFO: Acknowledgment sent {"connection_id":152230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:39:17] local.INFO: TCP Data received {"connection_id":154928,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:39:17] local.INFO: Processing buffer {"connection_id":154928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:39:17] local.INFO: IMEI packet received {"connection_id":154928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":154928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:39:19] local.INFO: TCP Data received {"connection_id":154928,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:39:19] local.INFO: Processing buffer {"connection_id":154928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:39:19] local.INFO: IMEI packet received {"connection_id":154928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":154928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:39:24] local.INFO: TCP Data received {"connection_id":154928,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:39:24] local.INFO: Processing buffer {"connection_id":154928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:39:24] local.INFO: IMEI packet received {"connection_id":154928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":154928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:39:25] local.INFO: TCP Data received {"connection_id":154928,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff012b268012da0c44005c10f60001f00b828..."} 
[2026-08-11 14:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff012b268012da0c44005c10f60001f00b828..."} 
[2026-08-11 14:39:25] local.INFO: Processing buffer {"connection_id":154928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff012b268012da0c44005c10f60001f00b828..."} 
[2026-08-11 14:39:25] local.INFO: Packet analysis {"connection_id":154928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff012"} 
[2026-08-11 14:39:25] local.INFO: Extracted packet for processing {"connection_id":154928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff012"} 
[2026-08-11 14:39:25] local.INFO: GPS Element Parsed {"raw_longitude":765510720,"raw_latitude":96538464,"longitude_deg":76.551072,"latitude_deg":9.6538464,"altitude":31,"angle":184,"satellites":40,"speed":20,"hex_longitude":"2da0c440","hex_latitude":"05c10f60","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328430848001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377682119587004416,"note":"Value kept but may cause issues"} 
[2026-08-11 14:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6862359907491713024,"note":"Value kept but may cause issues"} 
[2026-08-11 14:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786439185000,"timestamp_ms":1786439185000,"timestamp_seconds":1786439185,"priority":1,"record_length":96,"hex_timestamp":"0000019ff012b268"} 
[2026-08-11 14:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 14:39:25] 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-08-11 14: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-08-11 14:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:39:25] 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-08-11 14:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328430848001,"66":27876,"246":206,"83":16896,"24":20,"16":377682119587004416,"45":-6862359907491713024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,83,24,16,45]} 
[2026-08-11 14:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328430848001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:39:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377682119587004416,"km_value":377682119587004.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6862359907491713024,"description":"Unknown IO ID 45"} 
[2026-08-11 14:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328430848001,"power":27876,"main_input_voltage":206,"unknown_83":16896,"ignition":20,"odometer":null,"unknown_45":-6862359907491713024}} 
[2026-08-11 14:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":154928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:39:25] local.INFO: GPS data processed {"connection_id":154928,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:39:25] local.INFO: Acknowledgment sent {"connection_id":154928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:39:57] local.INFO: TCP Data received {"connection_id":154928,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff014e8d0012da027c005bfdab0001c00ce29..."} 
[2026-08-11 14:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff014e8d0012da027c005bfdab0001c00ce29..."} 
[2026-08-11 14:39:57] local.INFO: Processing buffer {"connection_id":154928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff014e8d0012da027c005bfdab0001c00ce29..."} 
[2026-08-11 14:39:57] local.INFO: Packet analysis {"connection_id":154928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff014"} 
[2026-08-11 14:39:57] local.INFO: Extracted packet for processing {"connection_id":154928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff014"} 
[2026-08-11 14:39:57] local.INFO: GPS Element Parsed {"raw_longitude":765470656,"raw_latitude":96459440,"longitude_deg":76.5470656,"latitude_deg":9.645944,"altitude":28,"angle":206,"satellites":41,"speed":15,"hex_longitude":"2da027c0","hex_latitude":"05bfdab0","is_valid_coordinates":true} 
[2026-08-11 14:39: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-08-11 14:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328465664001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377686500453646336,"note":"Value kept but may cause issues"} 
[2026-08-11 14:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6904651522762358784,"note":"Value kept but may cause issues"} 
[2026-08-11 14:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786439330000,"timestamp_ms":1786439330000,"timestamp_seconds":1786439330,"priority":1,"record_length":96,"hex_timestamp":"0000019ff014e8d0"} 
[2026-08-11 14:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:39: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":141,"data_length":795,"current_offset":136} 
[2026-08-11 14:39:57] 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-08-11 14:39: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-08-11 14:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:39:57] 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-08-11 14:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328465664001,"66":27908,"94":206,"83":16896,"24":15,"16":377686500453646336,"45":-6904651522762358784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,45]} 
[2026-08-11 14:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328465664001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:39:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-11 14:39:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377686500453646336,"km_value":377686500453646.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6904651522762358784,"description":"Unknown IO ID 45"} 
[2026-08-11 14:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328465664001,"power":27908,"unknown_94":206,"unknown_83":16896,"ignition":15,"odometer":null,"unknown_45":-6904651522762358784}} 
[2026-08-11 14:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":154928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:39:57] local.INFO: GPS data processed {"connection_id":154928,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:39:57] local.INFO: Acknowledgment sent {"connection_id":154928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:40:19] local.INFO: TCP Data received {"connection_id":153546,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:40:19] local.INFO: Processing buffer {"connection_id":153546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:40:19] local.INFO: IMEI packet received {"connection_id":153546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":153546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:40:23] local.INFO: TCP Data received {"connection_id":153546,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:40:23] local.INFO: Processing buffer {"connection_id":153546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:40:23] local.INFO: IMEI packet received {"connection_id":153546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":153546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:40:24] local.INFO: TCP Data received {"connection_id":153546,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:40:24] local.INFO: Processing buffer {"connection_id":153546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:40:24] local.INFO: IMEI packet received {"connection_id":153546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":153546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:40:25] local.INFO: TCP Data received {"connection_id":153546,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0151f80012da014c005bfbc88001b00d02a..."} 
[2026-08-11 14:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0151f80012da014c005bfbc88001b00d02a..."} 
[2026-08-11 14:40:25] local.INFO: Processing buffer {"connection_id":153546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0151f80012da014c005bfbc88001b00d02a..."} 
[2026-08-11 14:40:25] local.INFO: Packet analysis {"connection_id":153546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff015"} 
[2026-08-11 14:40:25] local.INFO: Extracted packet for processing {"connection_id":153546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff015"} 
[2026-08-11 14:40:25] local.INFO: GPS Element Parsed {"raw_longitude":765465792,"raw_latitude":96451720,"longitude_deg":76.5465792,"latitude_deg":9.645172,"altitude":27,"angle":208,"satellites":42,"speed":32,"hex_longitude":"2da014c0","hex_latitude":"05bfbc88","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328468480001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377686938540310528,"note":"Value kept but may cause issues"} 
[2026-08-11 14:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6906340372623216640,"note":"Value kept but may cause issues"} 
[2026-08-11 14:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786439344000,"timestamp_ms":1786439344000,"timestamp_seconds":1786439344,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0151f80"} 
[2026-08-11 14:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 14:40:25] 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-08-11 14: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-08-11 14:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:40:25] 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-08-11 14:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328468480001,"66":27800,"94":206,"83":16896,"24":32,"16":377686938540310528,"45":-6906340372623216640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,45]} 
[2026-08-11 14:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328468480001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:40:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-11 14:40:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-08-11 14:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377686938540310528,"km_value":377686938540310.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6906340372623216640,"description":"Unknown IO ID 45"} 
[2026-08-11 14:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328468480001,"power":27800,"unknown_94":206,"unknown_83":16896,"ignition":32,"odometer":null,"unknown_45":-6906340372623216640}} 
[2026-08-11 14:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":153546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:40:25] local.INFO: GPS data processed {"connection_id":153546,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:40:25] local.INFO: Acknowledgment sent {"connection_id":153546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:40:26] local.INFO: TCP Data received {"connection_id":153546,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0154a78012da0028005bf9c30001500d12a..."} 
[2026-08-11 14:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0154a78012da0028005bf9c30001500d12a..."} 
[2026-08-11 14:40:26] local.INFO: Processing buffer {"connection_id":153546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0154a78012da0028005bf9c30001500d12a..."} 
[2026-08-11 14:40:26] local.INFO: Packet analysis {"connection_id":153546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff015"} 
[2026-08-11 14:40:26] local.INFO: Extracted packet for processing {"connection_id":153546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff015"} 
[2026-08-11 14:40:26] local.INFO: GPS Element Parsed {"raw_longitude":765461120,"raw_latitude":96443440,"longitude_deg":76.546112,"latitude_deg":9.644344,"altitude":21,"angle":209,"satellites":42,"speed":30,"hex_longitude":"2da00280","hex_latitude":"05bf9c30","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328472064001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377687398101811200,"note":"Value kept but may cause issues"} 
[2026-08-11 14:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6911688397182695424,"note":"Value kept but may cause issues"} 
[2026-08-11 14:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786439355000,"timestamp_ms":1786439355000,"timestamp_seconds":1786439355,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0154a78"} 
[2026-08-11 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-08-11 14:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 14:40: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-08-11 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-08-11 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-08-11 14:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:40:26] 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-08-11 14:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328472064001,"66":27745,"152":206,"83":16640,"24":30,"16":377687398101811200,"45":-6911688397182695424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-08-11 14:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328472064001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:40:26] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-11 14:40:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377687398101811200,"km_value":377687398101811.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6911688397182695424,"description":"Unknown IO ID 45"} 
[2026-08-11 14:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328472064001,"power":27745,"unknown_152":206,"unknown_83":16640,"ignition":30,"odometer":null,"unknown_45":-6911688397182695424}} 
[2026-08-11 14:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":153546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:40:26] local.INFO: GPS data processed {"connection_id":153546,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:40:26] local.INFO: Acknowledgment sent {"connection_id":153546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:40:57] local.INFO: TCP Data received {"connection_id":153546,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0157958012d9ff20005bf7cf0001400c828..."} 
[2026-08-11 14:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0157958012d9ff20005bf7cf0001400c828..."} 
[2026-08-11 14:40:57] local.INFO: Processing buffer {"connection_id":153546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0157958012d9ff20005bf7cf0001400c828..."} 
[2026-08-11 14:40:57] local.INFO: Packet analysis {"connection_id":153546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff015"} 
[2026-08-11 14:40:57] local.INFO: Extracted packet for processing {"connection_id":153546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff015"} 
[2026-08-11 14:40:57] local.INFO: GPS Element Parsed {"raw_longitude":765456896,"raw_latitude":96435440,"longitude_deg":76.5456896,"latitude_deg":9.643544,"altitude":20,"angle":200,"satellites":40,"speed":34,"hex_longitude":"2d9ff200","hex_latitude":"05bf7cf0","is_valid_coordinates":true} 
[2026-08-11 14:40: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-08-11 14:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328474880001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377687836188475392,"note":"Value kept but may cause issues"} 
[2026-08-11 14:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6916825315509784576,"note":"Value kept but may cause issues"} 
[2026-08-11 14:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786439367000,"timestamp_ms":1786439367000,"timestamp_seconds":1786439367,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0157958"} 
[2026-08-11 14:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:40: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":97,"data_length":795,"current_offset":136} 
[2026-08-11 14:40:57] 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-08-11 14:40: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-08-11 14:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:40:57] 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-08-11 14:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328474880001,"66":27865,"152":206,"83":16640,"24":34,"16":377687836188475392,"45":-6916825315509784576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-08-11 14:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328474880001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:40:57] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-11 14:40:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377687836188475392,"km_value":377687836188475.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6916825315509784576,"description":"Unknown IO ID 45"} 
[2026-08-11 14:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328474880001,"power":27865,"unknown_152":206,"unknown_83":16640,"ignition":34,"odometer":null,"unknown_45":-6916825315509784576}} 
[2026-08-11 14:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":153546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:40:57] local.INFO: GPS data processed {"connection_id":153546,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:40:57] local.INFO: Acknowledgment sent {"connection_id":153546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:41:24] local.INFO: TCP Data received {"connection_id":154930,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:41:24] local.INFO: Processing buffer {"connection_id":154930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:41:24] local.INFO: IMEI packet received {"connection_id":154930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":154930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:41:25] local.INFO: TCP Data received {"connection_id":154930,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:41:25] local.INFO: Processing buffer {"connection_id":154930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:41:25] local.INFO: IMEI packet received {"connection_id":154930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":154930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:41:29] local.INFO: TCP Data received {"connection_id":154930,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:41:29] local.INFO: Processing buffer {"connection_id":154930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:41:29] local.INFO: IMEI packet received {"connection_id":154930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":154930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:41:31] local.INFO: TCP Data received {"connection_id":154930,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01588f8012d9feec005bf6f60001300bc28..."} 
[2026-08-11 14:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01588f8012d9feec005bf6f60001300bc28..."} 
[2026-08-11 14:41:31] local.INFO: Processing buffer {"connection_id":154930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01588f8012d9feec005bf6f60001300bc28..."} 
[2026-08-11 14:41:31] local.INFO: Packet analysis {"connection_id":154930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff015"} 
[2026-08-11 14:41:31] local.INFO: Extracted packet for processing {"connection_id":154930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff015"} 
[2026-08-11 14:41:31] local.INFO: GPS Element Parsed {"raw_longitude":765456064,"raw_latitude":96431968,"longitude_deg":76.5456064,"latitude_deg":9.6431968,"altitude":19,"angle":188,"satellites":40,"speed":36,"hex_longitude":"2d9feec0","hex_latitude":"05bf6f60","is_valid_coordinates":true} 
[2026-08-11 14:41: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-08-11 14:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328477952001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377688012282134528,"note":"Value kept but may cause issues"} 
[2026-08-11 14:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6921469652627558400,"note":"Value kept but may cause issues"} 
[2026-08-11 14:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786439371000,"timestamp_ms":1786439371000,"timestamp_seconds":1786439371,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01588f8"} 
[2026-08-11 14:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:41: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":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:41:31] 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-08-11 14:41: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-08-11 14:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:41:31] 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-08-11 14:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328477952001,"66":27843,"152":206,"83":16640,"24":36,"16":377688012282134528,"45":-6921469652627558400},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-08-11 14:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328477952001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:41:31] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-11 14:41:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377688012282134528,"km_value":377688012282134.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6921469652627558400,"description":"Unknown IO ID 45"} 
[2026-08-11 14:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328477952001,"power":27843,"unknown_152":206,"unknown_83":16640,"ignition":36,"odometer":null,"unknown_45":-6921469652627558400}} 
[2026-08-11 14:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":154930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:41:31] local.INFO: GPS data processed {"connection_id":154930,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:41:31] local.INFO: Acknowledgment sent {"connection_id":154930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:41:35] local.INFO: TCP Data received {"connection_id":154930,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff015a838012d9fea0005bf5500001300cb2a..."} 
[2026-08-11 14:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff015a838012d9fea0005bf5500001300cb2a..."} 
[2026-08-11 14:41:35] local.INFO: Processing buffer {"connection_id":154930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff015a838012d9fea0005bf5500001300cb2a..."} 
[2026-08-11 14:41:35] local.INFO: Packet analysis {"connection_id":154930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff015"} 
[2026-08-11 14:41:35] local.INFO: Extracted packet for processing {"connection_id":154930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff015"} 
[2026-08-11 14:41:35] local.INFO: GPS Element Parsed {"raw_longitude":765454848,"raw_latitude":96425216,"longitude_deg":76.5454848,"latitude_deg":9.6425216,"altitude":19,"angle":203,"satellites":42,"speed":32,"hex_longitude":"2d9fea00","hex_latitude":"05bf5500","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328478976001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377688342994616320,"note":"Value kept but may cause issues"} 
[2026-08-11 14:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6922384446302756864,"note":"Value kept but may cause issues"} 
[2026-08-11 14:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786439379000,"timestamp_ms":1786439379000,"timestamp_seconds":1786439379,"priority":1,"record_length":96,"hex_timestamp":"0000019ff015a838"} 
[2026-08-11 14:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 14:41: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-08-11 14: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-08-11 14:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:41: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-08-11 14:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328478976001,"66":27800,"152":206,"83":16640,"24":32,"16":377688342994616320,"45":-6922384446302756864},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-08-11 14:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328478976001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:41:35] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-11 14:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377688342994616320,"km_value":377688342994616.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6922384446302756864,"description":"Unknown IO ID 45"} 
[2026-08-11 14:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328478976001,"power":27800,"unknown_152":206,"unknown_83":16640,"ignition":32,"odometer":null,"unknown_45":-6922384446302756864}} 
[2026-08-11 14:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":154930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:41:35] local.INFO: GPS data processed {"connection_id":154930,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:41:35] local.INFO: Acknowledgment sent {"connection_id":154930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:42:16] local.INFO: TCP Data received {"connection_id":152605,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:42:16] local.INFO: Processing buffer {"connection_id":152605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:42:16] local.INFO: IMEI packet received {"connection_id":152605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":152605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:42:19] local.INFO: TCP Data received {"connection_id":152605,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:42:19] local.INFO: Processing buffer {"connection_id":152605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:42:19] local.INFO: IMEI packet received {"connection_id":152605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":152605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:42:20] local.INFO: TCP Data received {"connection_id":152605,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:42:20] local.INFO: Processing buffer {"connection_id":152605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:42:20] local.INFO: IMEI packet received {"connection_id":152605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":152605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:42:25] local.INFO: TCP Data received {"connection_id":152606,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:42:25] local.INFO: Processing buffer {"connection_id":152606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:42:25] local.INFO: IMEI packet received {"connection_id":152606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":152606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:42:26] local.INFO: TCP Data received {"connection_id":152606,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:42:26] local.INFO: Processing buffer {"connection_id":152606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:42:26] local.INFO: IMEI packet received {"connection_id":152606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":152606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:42:28] local.INFO: TCP Data received {"connection_id":152606,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:42:28] local.INFO: Processing buffer {"connection_id":152606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:42:28] local.INFO: IMEI packet received {"connection_id":152606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":152606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:42:28] local.INFO: TCP Data received {"connection_id":152605,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:42:28] local.INFO: Processing buffer {"connection_id":152605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:42:28] local.INFO: IMEI packet received {"connection_id":152605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":152605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:42:29] local.INFO: TCP Data received {"connection_id":152606,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0171380012d1aaec007214218004500c223..."} 
[2026-08-11 14:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0171380012d1aaec007214218004500c223..."} 
[2026-08-11 14:42:29] local.INFO: Processing buffer {"connection_id":152606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0171380012d1aaec007214218004500c223..."} 
[2026-08-11 14:42:29] local.INFO: Packet analysis {"connection_id":152606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff017"} 
[2026-08-11 14:42:29] local.INFO: Extracted packet for processing {"connection_id":152606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff017"} 
[2026-08-11 14:42:29] local.INFO: GPS Element Parsed {"raw_longitude":756723392,"raw_latitude":119620120,"longitude_deg":75.6723392,"latitude_deg":11.962012,"altitude":69,"angle":194,"satellites":35,"speed":19,"hex_longitude":"2d1aaec0","hex_latitude":"07214218","is_valid_coordinates":true} 
[2026-08-11 14:42: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-08-11 14:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328504064001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11641143783587840,"note":"Value kept but may cause issues"} 
[2026-08-11 14:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923177808998623232,"note":"Value kept but may cause issues"} 
[2026-08-11 14:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786439472000,"timestamp_ms":1786439472000,"timestamp_seconds":1786439472,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0171380"} 
[2026-08-11 14:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:42:29] 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-08-11 14:42: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-08-11 14:42: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-08-11 14:42: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-08-11 14:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328504064001,"66":14428,"50":206,"28":31744,"24":19,"16":11641143783587840,"45":1923177808998623232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-08-11 14:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328504064001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:42:29] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-11 14:42:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-11 14:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11641143783587840,"km_value":11641143783587.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923177808998623232,"description":"Unknown IO ID 45"} 
[2026-08-11 14:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328504064001,"power":14428,"unknown_50":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1923177808998623232}} 
[2026-08-11 14:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":152606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:42:29] local.INFO: GPS data processed {"connection_id":152606,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:42:29] local.INFO: Acknowledgment sent {"connection_id":152606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:42:46] local.INFO: TCP Data received {"connection_id":152605,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01707c8012d9fc14005be2fb0001000c72a..."} 
[2026-08-11 14:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01707c8012d9fc14005be2fb0001000c72a..."} 
[2026-08-11 14:42:46] local.INFO: Processing buffer {"connection_id":152605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01707c8012d9fc14005be2fb0001000c72a..."} 
[2026-08-11 14:42:46] local.INFO: Packet analysis {"connection_id":152605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff017"} 
[2026-08-11 14:42:46] local.INFO: Extracted packet for processing {"connection_id":152605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff017"} 
[2026-08-11 14:42:46] local.INFO: GPS Element Parsed {"raw_longitude":765444416,"raw_latitude":96350128,"longitude_deg":76.5444416,"latitude_deg":9.6350128,"altitude":16,"angle":199,"satellites":42,"speed":44,"hex_longitude":"2d9fc140","hex_latitude":"05be2fb0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328503296001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377692221350084608,"note":"Value kept but may cause issues"} 
[2026-08-11 14:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6934417501577250816,"note":"Value kept but may cause issues"} 
[2026-08-11 14:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786439469000,"timestamp_ms":1786439469000,"timestamp_seconds":1786439469,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01707c8"} 
[2026-08-11 14:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:42: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-08-11 14: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-08-11 14:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:42:46] 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-08-11 14:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328503296001,"66":27865,"120":206,"83":16640,"24":44,"16":377692221350084608,"45":-6934417501577250816},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,83,24,16,45]} 
[2026-08-11 14:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328503296001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:42:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 14:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377692221350084608,"km_value":377692221350084.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6934417501577250816,"description":"Unknown IO ID 45"} 
[2026-08-11 14:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328503296001,"power":27865,"unknown_120":206,"unknown_83":16640,"ignition":44,"odometer":null,"unknown_45":-6934417501577250816}} 
[2026-08-11 14:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":152605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:42:46] local.INFO: GPS data processed {"connection_id":152605,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:42:46] local.INFO: Acknowledgment sent {"connection_id":152605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:43:10] local.INFO: TCP Data received {"connection_id":152607,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:43:10] local.INFO: Processing buffer {"connection_id":152607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:43:10] local.INFO: IMEI packet received {"connection_id":152607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":152607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:43:15] local.INFO: TCP Data received {"connection_id":152607,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:43:15] local.INFO: Processing buffer {"connection_id":152607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:43:15] local.INFO: IMEI packet received {"connection_id":152607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":152607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:43:16] local.INFO: TCP Data received {"connection_id":152607,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0180d80012d1a38800720ef38003d00cb25..."} 
[2026-08-11 14:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0180d80012d1a38800720ef38003d00cb25..."} 
[2026-08-11 14:43:16] local.INFO: Processing buffer {"connection_id":152607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0180d80012d1a38800720ef38003d00cb25..."} 
[2026-08-11 14:43:16] local.INFO: Packet analysis {"connection_id":152607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff018"} 
[2026-08-11 14:43:16] local.INFO: Extracted packet for processing {"connection_id":152607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff018"} 
[2026-08-11 14:43:16] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119598904,"longitude_deg":75.669312,"latitude_deg":11.9598904,"altitude":61,"angle":203,"satellites":37,"speed":30,"hex_longitude":"2d1a3880","hex_latitude":"0720ef38","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328520448001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11642994914492416,"note":"Value kept but may cause issues"} 
[2026-08-11 14:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890597080439093248,"note":"Value kept but may cause issues"} 
[2026-08-11 14:43:16] 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-08-11 14:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786439536000,"timestamp_ms":1786439536000,"timestamp_seconds":1786439536,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0180d80"} 
[2026-08-11 14:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:43:16] 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-08-11 14: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-11 14:43:16] 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-08-11 14: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-08-11 14:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328520448001,"66":14298,"103":206,"83":41984,"24":30,"16":11642994914492416,"45":1890597080439093248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 14:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328520448001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:43:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 14:43:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 14:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11642994914492416,"km_value":11642994914492.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890597080439093248,"description":"Unknown IO ID 45"} 
[2026-08-11 14:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328520448001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1890597080439093248}} 
[2026-08-11 14:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":152607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:43:16] local.INFO: GPS data processed {"connection_id":152607,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:43:16] local.INFO: Acknowledgment sent {"connection_id":152607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:43:19] local.INFO: TCP Data received {"connection_id":152231,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:43:19] local.INFO: Processing buffer {"connection_id":152231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:43:19] local.INFO: IMEI packet received {"connection_id":152231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":152231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:43:24] local.INFO: TCP Data received {"connection_id":152231,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:43:24] local.INFO: Processing buffer {"connection_id":152231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:43:24] local.INFO: IMEI packet received {"connection_id":152231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":152231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:43:25] local.INFO: TCP Data received {"connection_id":152231,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff017f228012d9f6bc005bd83c0000d00c52b..."} 
[2026-08-11 14:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff017f228012d9f6bc005bd83c0000d00c52b..."} 
[2026-08-11 14:43:25] local.INFO: Processing buffer {"connection_id":152231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff017f228012d9f6bc005bd83c0000d00c52b..."} 
[2026-08-11 14:43:25] local.INFO: Packet analysis {"connection_id":152231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff017"} 
[2026-08-11 14:43:25] local.INFO: Extracted packet for processing {"connection_id":152231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff017"} 
[2026-08-11 14:43:25] local.INFO: GPS Element Parsed {"raw_longitude":765422528,"raw_latitude":96306112,"longitude_deg":76.5422528,"latitude_deg":9.6306112,"altitude":13,"angle":197,"satellites":43,"speed":40,"hex_longitude":"2d9f6bc0","hex_latitude":"05bd83c0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328516864001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377694690956279808,"note":"Value kept but may cause issues"} 
[2026-08-11 14:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6956231812282044416,"note":"Value kept but may cause issues"} 
[2026-08-11 14:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786439529000,"timestamp_ms":1786439529000,"timestamp_seconds":1786439529,"priority":1,"record_length":96,"hex_timestamp":"0000019ff017f228"} 
[2026-08-11 14:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 14:43:25] 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-08-11 14: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-08-11 14:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:43:25] 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-08-11 14:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328516864001,"66":27800,"178":206,"83":16640,"24":40,"16":377694690956279808,"45":-6956231812282044416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-08-11 14:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328516864001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:43:25] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-11 14:43:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377694690956279808,"km_value":377694690956279.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6956231812282044416,"description":"Unknown IO ID 45"} 
[2026-08-11 14:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328516864001,"power":27800,"unknown_178":206,"unknown_83":16640,"ignition":40,"odometer":null,"unknown_45":-6956231812282044416}} 
[2026-08-11 14:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":152231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:43:25] local.INFO: GPS data processed {"connection_id":152231,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:43:25] local.INFO: Acknowledgment sent {"connection_id":152231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:43:47] local.INFO: TCP Data received {"connection_id":152607,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01828d8012d1a2e000720d918003c00d725..."} 
[2026-08-11 14:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01828d8012d1a2e000720d918003c00d725..."} 
[2026-08-11 14:43:47] local.INFO: Processing buffer {"connection_id":152607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01828d8012d1a2e000720d918003c00d725..."} 
[2026-08-11 14:43:47] local.INFO: Packet analysis {"connection_id":152607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff018"} 
[2026-08-11 14:43:47] local.INFO: Extracted packet for processing {"connection_id":152607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff018"} 
[2026-08-11 14:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756690432,"raw_latitude":119593240,"longitude_deg":75.6690432,"latitude_deg":11.959324,"altitude":60,"angle":215,"satellites":37,"speed":30,"hex_longitude":"2d1a2e00","hex_latitude":"0720d918","is_valid_coordinates":true} 
[2026-08-11 14:43: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-08-11 14:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328521216001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11643299857170432,"note":"Value kept but may cause issues"} 
[2026-08-11 14:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811787597824,"note":"Value kept but may cause issues"} 
[2026-08-11 14:43:47] 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-08-11 14:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786439543000,"timestamp_ms":1786439543000,"timestamp_seconds":1786439543,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01828d8"} 
[2026-08-11 14:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:43:47] 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-08-11 14:43: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-11 14:43:47] 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-08-11 14:43: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-08-11 14:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328521216001,"66":14396,"103":206,"83":41984,"24":30,"16":11643299857170432,"45":1889400811787597824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 14:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328521216001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:43:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 14:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 14:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11643299857170432,"km_value":11643299857170.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811787597824,"description":"Unknown IO ID 45"} 
[2026-08-11 14:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328521216001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1889400811787597824}} 
[2026-08-11 14:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":152607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:43:47] local.INFO: GPS data processed {"connection_id":152607,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:43:47] local.INFO: Acknowledgment sent {"connection_id":152607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:43:56] local.INFO: TCP Data received {"connection_id":152231,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0181550012d9f60c005bd6260000d00c82a..."} 
[2026-08-11 14:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0181550012d9f60c005bd6260000d00c82a..."} 
[2026-08-11 14:43:56] local.INFO: Processing buffer {"connection_id":152231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0181550012d9f60c005bd6260000d00c82a..."} 
[2026-08-11 14:43:56] local.INFO: Packet analysis {"connection_id":152231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff018"} 
[2026-08-11 14:43:56] local.INFO: Extracted packet for processing {"connection_id":152231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff018"} 
[2026-08-11 14:43:56] local.INFO: GPS Element Parsed {"raw_longitude":765419712,"raw_latitude":96297568,"longitude_deg":76.5419712,"latitude_deg":9.6297568,"altitude":13,"angle":200,"satellites":42,"speed":40,"hex_longitude":"2d9f60c0","hex_latitude":"05bd6260","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328519424001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377695124747976704,"note":"Value kept but may cause issues"} 
[2026-08-11 14:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6959257668284071936,"note":"Value kept but may cause issues"} 
[2026-08-11 14:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786439538000,"timestamp_ms":1786439538000,"timestamp_seconds":1786439538,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0181550"} 
[2026-08-11 14:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 14:43:56] 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-08-11 14: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-08-11 14:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:43:56] 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-08-11 14:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328519424001,"66":28082,"178":206,"83":16640,"24":40,"16":377695124747976704,"45":-6959257668284071936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-08-11 14:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328519424001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:43:56] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-11 14:43:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377695124747976704,"km_value":377695124747976.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6959257668284071936,"description":"Unknown IO ID 45"} 
[2026-08-11 14:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328519424001,"power":28082,"unknown_178":206,"unknown_83":16640,"ignition":40,"odometer":null,"unknown_45":-6959257668284071936}} 
[2026-08-11 14:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":152231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:43:56] local.INFO: GPS data processed {"connection_id":152231,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:43:56] local.INFO: Acknowledgment sent {"connection_id":152231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:44:10] local.INFO: TCP Data received {"connection_id":153547,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:44:10] local.INFO: Processing buffer {"connection_id":153547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:44:10] local.INFO: IMEI packet received {"connection_id":153547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":153547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:44:16] local.INFO: TCP Data received {"connection_id":153547,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:44:16] local.INFO: Processing buffer {"connection_id":153547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:44:16] local.INFO: IMEI packet received {"connection_id":153547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":153547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:44:17] local.INFO: TCP Data received {"connection_id":153547,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0191338012d19cac00720a490003100f527..."} 
[2026-08-11 14:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0191338012d19cac00720a490003100f527..."} 
[2026-08-11 14:44:17] local.INFO: Processing buffer {"connection_id":153547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0191338012d19cac00720a490003100f527..."} 
[2026-08-11 14:44:17] local.INFO: Packet analysis {"connection_id":153547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff019"} 
[2026-08-11 14:44:17] local.INFO: Extracted packet for processing {"connection_id":153547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff019"} 
[2026-08-11 14:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756665024,"raw_latitude":119579792,"longitude_deg":75.6665024,"latitude_deg":11.9579792,"altitude":49,"angle":245,"satellites":39,"speed":17,"hex_longitude":"2d19cac0","hex_latitude":"0720a490","is_valid_coordinates":true} 
[2026-08-11 14:44: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-08-11 14:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328536064001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11644721491345408,"note":"Value kept but may cause issues"} 
[2026-08-11 14:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861534789089075200,"note":"Value kept but may cause issues"} 
[2026-08-11 14:44:17] 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-08-11 14:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786439603000,"timestamp_ms":1786439603000,"timestamp_seconds":1786439603,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0191338"} 
[2026-08-11 14:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:44:17] 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-08-11 14:44: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-11 14:44:17] 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-08-11 14:44: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-08-11 14:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328536064001,"66":14461,"103":206,"83":41984,"24":17,"16":11644721491345408,"45":1861534789089075200},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 14:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328536064001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:44:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 14:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 14:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11644721491345408,"km_value":11644721491345.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861534789089075200,"description":"Unknown IO ID 45"} 
[2026-08-11 14:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328536064001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1861534789089075200}} 
[2026-08-11 14:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":153547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:44:17] local.INFO: GPS data processed {"connection_id":153547,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:44:17] local.INFO: Acknowledgment sent {"connection_id":153547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:44:19] local.INFO: TCP Data received {"connection_id":152232,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:44:19] local.INFO: Processing buffer {"connection_id":152232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:44:19] local.INFO: IMEI packet received {"connection_id":152232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":152232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:44:20] local.INFO: TCP Data received {"connection_id":152232,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:44:20] local.INFO: Processing buffer {"connection_id":152232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:44:20] local.INFO: IMEI packet received {"connection_id":152232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":152232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:44:26] local.INFO: TCP Data received {"connection_id":152232,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:44:26] local.INFO: Processing buffer {"connection_id":152232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:44:26] local.INFO: IMEI packet received {"connection_id":152232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":152232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:44:27] local.INFO: TCP Data received {"connection_id":152232,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01830a8012d9f548005bd48b0000f00d42a..."} 
[2026-08-11 14:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01830a8012d9f548005bd48b0000f00d42a..."} 
[2026-08-11 14:44:27] local.INFO: Processing buffer {"connection_id":152232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01830a8012d9f548005bd48b0000f00d42a..."} 
[2026-08-11 14:44:27] local.INFO: Packet analysis {"connection_id":152232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff018"} 
[2026-08-11 14:44:27] local.INFO: Extracted packet for processing {"connection_id":152232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff018"} 
[2026-08-11 14:44:27] local.INFO: GPS Element Parsed {"raw_longitude":765416576,"raw_latitude":96290992,"longitude_deg":76.5416576,"latitude_deg":9.6290992,"altitude":15,"angle":212,"satellites":42,"speed":41,"hex_longitude":"2d9f5480","hex_latitude":"05bd48b0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328521728001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377695476935294976,"note":"Value kept but may cause issues"} 
[2026-08-11 14:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6962353893030076416,"note":"Value kept but may cause issues"} 
[2026-08-11 14:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786439545000,"timestamp_ms":1786439545000,"timestamp_seconds":1786439545,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01830a8"} 
[2026-08-11 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-08-11 14:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 14:44: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-08-11 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-08-11 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-08-11 14:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:44:27] 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-08-11 14:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328521728001,"66":27865,"178":206,"83":16640,"24":41,"16":377695476935294976,"45":-6962353893030076416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-08-11 14:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328521728001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:44:27] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-11 14:44:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377695476935294976,"km_value":377695476935295.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6962353893030076416,"description":"Unknown IO ID 45"} 
[2026-08-11 14:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328521728001,"power":27865,"unknown_178":206,"unknown_83":16640,"ignition":41,"odometer":null,"unknown_45":-6962353893030076416}} 
[2026-08-11 14:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":152232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:44:27] local.INFO: GPS data processed {"connection_id":152232,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:44:27] local.INFO: Acknowledgment sent {"connection_id":152232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:44:47] local.INFO: TCP Data received {"connection_id":153547,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0191720012d19c9000720a4000032010028..."} 
[2026-08-11 14:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0191720012d19c9000720a4000032010028..."} 
[2026-08-11 14:44:47] local.INFO: Processing buffer {"connection_id":153547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0191720012d19c9000720a4000032010028..."} 
[2026-08-11 14:44:47] local.INFO: Packet analysis {"connection_id":153547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff019"} 
[2026-08-11 14:44:47] local.INFO: Extracted packet for processing {"connection_id":153547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff019"} 
[2026-08-11 14:44:47] local.INFO: GPS Element Parsed {"raw_longitude":756664576,"raw_latitude":119579648,"longitude_deg":75.6664576,"latitude_deg":11.9579648,"altitude":50,"angle":256,"satellites":40,"speed":19,"hex_longitude":"2d19c900","hex_latitude":"0720a400","is_valid_coordinates":true} 
[2026-08-11 14:44: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-08-11 14:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328538368001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11644742966181888,"note":"Value kept but may cause issues"} 
[2026-08-11 14:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933088710656,"note":"Value kept but may cause issues"} 
[2026-08-11 14:44:47] 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-08-11 14:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786439604000,"timestamp_ms":1786439604000,"timestamp_seconds":1786439604,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0191720"} 
[2026-08-11 14:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:44:47] 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-08-11 14:44: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 14:44:47] 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-08-11 14:44: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-08-11 14:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328538368001,"66":14461,"103":206,"83":41984,"24":19,"16":11644742966181888,"45":1858508933088710656},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 14:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328538368001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:44:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 14:44:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 14:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11644742966181888,"km_value":11644742966181.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933088710656,"description":"Unknown IO ID 45"} 
[2026-08-11 14:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328538368001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1858508933088710656}} 
[2026-08-11 14:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":153547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:44:48] local.INFO: GPS data processed {"connection_id":153547,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:44:48] local.INFO: Acknowledgment sent {"connection_id":153547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:45:03] local.INFO: TCP Data received {"connection_id":152232,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01853d0012d9f3e0005bd2d00001100d927..."} 
[2026-08-11 14:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01853d0012d9f3e0005bd2d00001100d927..."} 
[2026-08-11 14:45:03] local.INFO: Processing buffer {"connection_id":152232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01853d0012d9f3e0005bd2d00001100d927..."} 
[2026-08-11 14:45:03] local.INFO: Packet analysis {"connection_id":152232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff018"} 
[2026-08-11 14:45:03] local.INFO: Extracted packet for processing {"connection_id":152232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff018"} 
[2026-08-11 14:45:03] local.INFO: GPS Element Parsed {"raw_longitude":765410816,"raw_latitude":96283904,"longitude_deg":76.5410816,"latitude_deg":9.6283904,"altitude":17,"angle":217,"satellites":39,"speed":38,"hex_longitude":"2d9f3e00","hex_latitude":"05bd2d00","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328523520001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377695919316926464,"note":"Value kept but may cause issues"} 
[2026-08-11 14:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6965801961496465408,"note":"Value kept but may cause issues"} 
[2026-08-11 14:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786439554000,"timestamp_ms":1786439554000,"timestamp_seconds":1786439554,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01853d0"} 
[2026-08-11 14:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:45: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-08-11 14: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-08-11 14:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:45:03] 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-08-11 14:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328523520001,"66":27908,"178":206,"83":16640,"24":38,"16":377695919316926464,"45":-6965801961496465408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-08-11 14:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328523520001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:45:03] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-11 14:45:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377695919316926464,"km_value":377695919316926.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6965801961496465408,"description":"Unknown IO ID 45"} 
[2026-08-11 14:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328523520001,"power":27908,"unknown_178":206,"unknown_83":16640,"ignition":38,"odometer":null,"unknown_45":-6965801961496465408}} 
[2026-08-11 14:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":152232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:45:03] local.INFO: GPS data processed {"connection_id":152232,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:45:03] local.INFO: Acknowledgment sent {"connection_id":152232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:45:10] local.INFO: TCP Data received {"connection_id":153548,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:45:10] local.INFO: Processing buffer {"connection_id":153548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:45:10] local.INFO: IMEI packet received {"connection_id":153548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":153548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:45:14] local.INFO: TCP Data received {"connection_id":153548,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:45:14] local.INFO: Processing buffer {"connection_id":153548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:45:14] local.INFO: IMEI packet received {"connection_id":153548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":153548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:45:15] local.INFO: TCP Data received {"connection_id":153548,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff019edf8012d192bc00720bb480030012426..."} 
[2026-08-11 14:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff019edf8012d192bc00720bb480030012426..."} 
[2026-08-11 14:45:15] local.INFO: Processing buffer {"connection_id":153548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff019edf8012d192bc00720bb480030012426..."} 
[2026-08-11 14:45:15] local.INFO: Packet analysis {"connection_id":153548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff019"} 
[2026-08-11 14:45:15] local.INFO: Extracted packet for processing {"connection_id":153548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff019"} 
[2026-08-11 14:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756624320,"raw_latitude":119585608,"longitude_deg":75.662432,"latitude_deg":11.9585608,"altitude":48,"angle":292,"satellites":38,"speed":43,"hex_longitude":"2d192bc0","hex_latitude":"0720bb48","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328551680001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11646748715909120,"note":"Value kept but may cause issues"} 
[2026-08-11 14:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817906167699177472,"note":"Value kept but may cause issues"} 
[2026-08-11 14:45:15] 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-08-11 14:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786439659000,"timestamp_ms":1786439659000,"timestamp_seconds":1786439659,"priority":1,"record_length":96,"hex_timestamp":"0000019ff019edf8"} 
[2026-08-11 14:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:45:15] 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-08-11 14: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-11 14:45:15] 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-08-11 14: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-08-11 14:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328551680001,"66":14428,"103":206,"83":41984,"24":43,"16":11646748715909120,"45":1817906167699177472},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 14:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328551680001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:45:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 14:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 14:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11646748715909120,"km_value":11646748715909.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817906167699177472,"description":"Unknown IO ID 45"} 
[2026-08-11 14:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328551680001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1817906167699177472}} 
[2026-08-11 14:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":153548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:45:15] local.INFO: GPS data processed {"connection_id":153548,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:45:15] local.INFO: Acknowledgment sent {"connection_id":153548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:45:19] local.INFO: TCP Data received {"connection_id":153549,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:45:19] local.INFO: Processing buffer {"connection_id":153549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:45:19] local.INFO: IMEI packet received {"connection_id":153549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":153549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:45:24] local.INFO: TCP Data received {"connection_id":153549,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:45:24] local.INFO: Processing buffer {"connection_id":153549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:45:24] local.INFO: IMEI packet received {"connection_id":153549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":153549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:45:25] local.INFO: TCP Data received {"connection_id":153549,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:45:25] local.INFO: Processing buffer {"connection_id":153549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:45:25] local.INFO: IMEI packet received {"connection_id":153549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":153549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:45:27] local.INFO: TCP Data received {"connection_id":153549,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0188e68012d9f298005bd0dc8001300d02b..."} 
[2026-08-11 14:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0188e68012d9f298005bd0dc8001300d02b..."} 
[2026-08-11 14:45:27] local.INFO: Processing buffer {"connection_id":153549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0188e68012d9f298005bd0dc8001300d02b..."} 
[2026-08-11 14:45:27] local.INFO: Packet analysis {"connection_id":153549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff018"} 
[2026-08-11 14:45:27] local.INFO: Extracted packet for processing {"connection_id":153549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff018"} 
[2026-08-11 14:45:27] local.INFO: GPS Element Parsed {"raw_longitude":765405568,"raw_latitude":96275912,"longitude_deg":76.5405568,"latitude_deg":9.6275912,"altitude":19,"angle":208,"satellites":43,"speed":31,"hex_longitude":"2d9f2980","hex_latitude":"05bd0dc8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328525824001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377696378878427136,"note":"Value kept but may cause issues"} 
[2026-08-11 14:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972135148474269696,"note":"Value kept but may cause issues"} 
[2026-08-11 14:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786439569000,"timestamp_ms":1786439569000,"timestamp_seconds":1786439569,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0188e68"} 
[2026-08-11 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-08-11 14:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 14:45: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-08-11 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-08-11 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-08-11 14:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:45:27] 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-08-11 14:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328525824001,"66":27767,"178":206,"83":16640,"24":31,"16":377696378878427136,"45":-6972135148474269696},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-08-11 14:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328525824001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:45:27] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-11 14:45:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377696378878427136,"km_value":377696378878427.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972135148474269696,"description":"Unknown IO ID 45"} 
[2026-08-11 14:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328525824001,"power":27767,"unknown_178":206,"unknown_83":16640,"ignition":31,"odometer":null,"unknown_45":-6972135148474269696}} 
[2026-08-11 14:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":153549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:45:27] local.INFO: GPS data processed {"connection_id":153549,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:45:27] local.INFO: Acknowledgment sent {"connection_id":153549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:45:41] local.INFO: TCP Data received {"connection_id":153549,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff018d4b8012d9f19c005bcee98001200cd2a..."} 
[2026-08-11 14:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff018d4b8012d9f19c005bcee98001200cd2a..."} 
[2026-08-11 14:45:41] local.INFO: Processing buffer {"connection_id":153549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff018d4b8012d9f19c005bcee98001200cd2a..."} 
[2026-08-11 14:45:41] local.INFO: Packet analysis {"connection_id":153549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff018"} 
[2026-08-11 14:45:41] local.INFO: Extracted packet for processing {"connection_id":153549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff018"} 
[2026-08-11 14:45:41] local.INFO: GPS Element Parsed {"raw_longitude":765401536,"raw_latitude":96267928,"longitude_deg":76.5401536,"latitude_deg":9.6267928,"altitude":18,"angle":205,"satellites":42,"speed":22,"hex_longitude":"2d9f19c0","hex_latitude":"05bcee98","is_valid_coordinates":true} 
[2026-08-11 14:45: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-08-11 14:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328529664001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377696812670124032,"note":"Value kept but may cause issues"} 
[2026-08-11 14:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6977905385498884096,"note":"Value kept but may cause issues"} 
[2026-08-11 14:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786439587000,"timestamp_ms":1786439587000,"timestamp_seconds":1786439587,"priority":1,"record_length":96,"hex_timestamp":"0000019ff018d4b8"} 
[2026-08-11 14:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:45: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-08-11 14:45: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-08-11 14:45: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-08-11 14:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:45:41] 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-08-11 14:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328529664001,"66":27930,"179":206,"83":16640,"24":22,"16":377696812670124032,"45":-6977905385498884096},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-11 14:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328529664001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:45:41] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-11 14:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377696812670124032,"km_value":377696812670124.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6977905385498884096,"description":"Unknown IO ID 45"} 
[2026-08-11 14:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328529664001,"power":27930,"unknown_179":206,"unknown_83":16640,"ignition":22,"odometer":null,"unknown_45":-6977905385498884096}} 
[2026-08-11 14:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":153549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:45:41] local.INFO: GPS data processed {"connection_id":153549,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:45:41] local.INFO: Acknowledgment sent {"connection_id":153549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:45:46] local.INFO: TCP Data received {"connection_id":153548,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01a1120012d1909c00720c9a80033012b25..."} 
[2026-08-11 14:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01a1120012d1909c00720c9a80033012b25..."} 
[2026-08-11 14:45:46] local.INFO: Processing buffer {"connection_id":153548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01a1120012d1909c00720c9a80033012b25..."} 
[2026-08-11 14:45:46] local.INFO: Packet analysis {"connection_id":153548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01a"} 
[2026-08-11 14:45:46] local.INFO: Extracted packet for processing {"connection_id":153548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01a"} 
[2026-08-11 14:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756615616,"raw_latitude":119589288,"longitude_deg":75.6615616,"latitude_deg":11.9589288,"altitude":51,"angle":299,"satellites":37,"speed":35,"hex_longitude":"2d1909c0","hex_latitude":"0720c9a8","is_valid_coordinates":true} 
[2026-08-11 14:45: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-08-11 14:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328552704001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647199687475200,"note":"Value kept but may cause issues"} 
[2026-08-11 14:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1813754411793205248,"note":"Value kept but may cause issues"} 
[2026-08-11 14:45:46] 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-08-11 14:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786439668000,"timestamp_ms":1786439668000,"timestamp_seconds":1786439668,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01a1120"} 
[2026-08-11 14:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:45:46] 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-08-11 14:45: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 14:45:46] 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-08-11 14:45: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-08-11 14:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328552704001,"66":14407,"103":206,"83":41984,"24":35,"16":11647199687475200,"45":1813754411793205248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 14:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328552704001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:45:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 14:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 14:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647199687475200,"km_value":11647199687475.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1813754411793205248,"description":"Unknown IO ID 45"} 
[2026-08-11 14:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328552704001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1813754411793205248}} 
[2026-08-11 14:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":153548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:45:46] local.INFO: GPS data processed {"connection_id":153548,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:45:46] local.INFO: Acknowledgment sent {"connection_id":153548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:46:12] local.INFO: TCP Data received {"connection_id":153550,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:46:12] local.INFO: Processing buffer {"connection_id":153550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:46:12] local.INFO: IMEI packet received {"connection_id":153550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":153550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:46:15] local.INFO: TCP Data received {"connection_id":153550,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:46:15] local.INFO: Processing buffer {"connection_id":153550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:46:15] local.INFO: IMEI packet received {"connection_id":153550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":153550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:46:16] local.INFO: TCP Data received {"connection_id":153550,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01a3060012d18f3c00720d9000036013829..."} 
[2026-08-11 14:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01a3060012d18f3c00720d9000036013829..."} 
[2026-08-11 14:46:16] local.INFO: Processing buffer {"connection_id":153550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01a3060012d18f3c00720d9000036013829..."} 
[2026-08-11 14:46:16] local.INFO: Packet analysis {"connection_id":153550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01a"} 
[2026-08-11 14:46:16] local.INFO: Extracted packet for processing {"connection_id":153550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01a"} 
[2026-08-11 14:46:16] local.INFO: GPS Element Parsed {"raw_longitude":756609984,"raw_latitude":119593216,"longitude_deg":75.6609984,"latitude_deg":11.9593216,"altitude":54,"angle":312,"satellites":41,"speed":37,"hex_longitude":"2d18f3c0","hex_latitude":"0720d900","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328555008001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647526104989696,"note":"Value kept but may cause issues"} 
[2026-08-11 14:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804184262585985024,"note":"Value kept but may cause issues"} 
[2026-08-11 14:46:16] 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-08-11 14:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786439676000,"timestamp_ms":1786439676000,"timestamp_seconds":1786439676,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01a3060"} 
[2026-08-11 14:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:46:16] 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-08-11 14: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 14:46:16] 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-08-11 14: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-08-11 14:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328555008001,"66":14483,"103":206,"83":41984,"24":37,"16":11647526104989696,"45":1804184262585985024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 14:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328555008001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:46:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 14:46:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 14:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647526104989696,"km_value":11647526104989.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804184262585985024,"description":"Unknown IO ID 45"} 
[2026-08-11 14:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328555008001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1804184262585985024}} 
[2026-08-11 14:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":153550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:46:16] local.INFO: GPS data processed {"connection_id":153550,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:46:16] local.INFO: Acknowledgment sent {"connection_id":153550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:46:19] local.INFO: TCP Data received {"connection_id":152233,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:46:19] local.INFO: Processing buffer {"connection_id":152233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:46:19] local.INFO: IMEI packet received {"connection_id":152233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":152233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:46:21] local.INFO: TCP Data received {"connection_id":152233,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:46:21] local.INFO: Processing buffer {"connection_id":152233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:46:21] local.INFO: IMEI packet received {"connection_id":152233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":152233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:46:25] local.INFO: TCP Data received {"connection_id":152233,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:46:25] local.INFO: Processing buffer {"connection_id":152233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:46:25] local.INFO: IMEI packet received {"connection_id":152233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":152233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:46:26] local.INFO: TCP Data received {"connection_id":152233,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01ab148012d9e42c005bc1288000c00db27..."} 
[2026-08-11 14:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01ab148012d9e42c005bc1288000c00db27..."} 
[2026-08-11 14:46:26] local.INFO: Processing buffer {"connection_id":152233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01ab148012d9e42c005bc1288000c00db27..."} 
[2026-08-11 14:46:26] local.INFO: Packet analysis {"connection_id":152233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01a"} 
[2026-08-11 14:46:26] local.INFO: Extracted packet for processing {"connection_id":152233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01a"} 
[2026-08-11 14:46:26] local.INFO: GPS Element Parsed {"raw_longitude":765346496,"raw_latitude":96211592,"longitude_deg":76.5346496,"latitude_deg":9.6211592,"altitude":12,"angle":219,"satellites":39,"speed":44,"hex_longitude":"2d9e42c0","hex_latitude":"05bc1288","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328564736001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377700686730625024,"note":"Value kept but may cause issues"} 
[2026-08-11 14:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7040322461600360448,"note":"Value kept but may cause issues"} 
[2026-08-11 14:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786439709000,"timestamp_ms":1786439709000,"timestamp_seconds":1786439709,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01ab148"} 
[2026-08-11 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-08-11 14:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 14:46:26] 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-08-11 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-08-11 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-08-11 14:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:46:26] 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-08-11 14:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328564736001,"66":27919,"231":206,"83":16640,"24":44,"16":377700686730625024,"45":-7040322461600360448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-08-11 14:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328564736001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:46:26] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-11 14:46:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377700686730625024,"km_value":377700686730625.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7040322461600360448,"description":"Unknown IO ID 45"} 
[2026-08-11 14:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328564736001,"power":27919,"unknown_231":206,"unknown_83":16640,"ignition":44,"odometer":null,"unknown_45":-7040322461600360448}} 
[2026-08-11 14:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":152233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:46:26] local.INFO: GPS data processed {"connection_id":152233,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:46:26] local.INFO: Acknowledgment sent {"connection_id":152233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:46:54] local.INFO: TCP Data received {"connection_id":153550,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01b5d28012d185600072186d0004d012826..."} 
[2026-08-11 14:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01b5d28012d185600072186d0004d012826..."} 
[2026-08-11 14:46:54] local.INFO: Processing buffer {"connection_id":153550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01b5d28012d185600072186d0004d012826..."} 
[2026-08-11 14:46:54] local.INFO: Packet analysis {"connection_id":153550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01b"} 
[2026-08-11 14:46:54] local.INFO: Extracted packet for processing {"connection_id":153550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01b"} 
[2026-08-11 14:46:54] local.INFO: GPS Element Parsed {"raw_longitude":756569600,"raw_latitude":119637712,"longitude_deg":75.65696,"latitude_deg":11.9637712,"altitude":77,"angle":296,"satellites":38,"speed":37,"hex_longitude":"2d185600","hex_latitude":"072186d0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328576000001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11650768805298176,"note":"Value kept but may cause issues"} 
[2026-08-11 14:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756614991533987840,"note":"Value kept but may cause issues"} 
[2026-08-11 14:46: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-08-11 14:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786439753000,"timestamp_ms":1786439753000,"timestamp_seconds":1786439753,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01b5d28"} 
[2026-08-11 14:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:46:54] 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-08-11 14: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 14:46: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-08-11 14: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-08-11 14:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":153550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":153550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":153550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328576000001,"66":14407,"106":206,"83":41984,"24":37,"16":11650768805298176,"45":1756614991533987840},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 14:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328576000001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:46:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 14:46:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 14:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11650768805298176,"km_value":11650768805298.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756614991533987840,"description":"Unknown IO ID 45"} 
[2026-08-11 14:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328576000001,"power":14407,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1756614991533987840}} 
[2026-08-11 14:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":153550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:46:55] local.INFO: GPS data processed {"connection_id":153550,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:46:55] local.INFO: Acknowledgment sent {"connection_id":153550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:46:57] local.INFO: TCP Data received {"connection_id":152233,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01acca0012d9e328005bbf7b8000d00cf29..."} 
[2026-08-11 14:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01acca0012d9e328005bbf7b8000d00cf29..."} 
[2026-08-11 14:46:57] local.INFO: Processing buffer {"connection_id":152233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01acca0012d9e328005bbf7b8000d00cf29..."} 
[2026-08-11 14:46:57] local.INFO: Packet analysis {"connection_id":152233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01a"} 
[2026-08-11 14:46:57] local.INFO: Extracted packet for processing {"connection_id":152233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01a"} 
[2026-08-11 14:46:57] local.INFO: GPS Element Parsed {"raw_longitude":765342336,"raw_latitude":96204728,"longitude_deg":76.5342336,"latitude_deg":9.6204728,"altitude":13,"angle":207,"satellites":41,"speed":45,"hex_longitude":"2d9e3280","hex_latitude":"05bbf7b8","is_valid_coordinates":true} 
[2026-08-11 14:46: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-08-11 14:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328565504001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377701077572648960,"note":"Value kept but may cause issues"} 
[2026-08-11 14:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042855736391333888,"note":"Value kept but may cause issues"} 
[2026-08-11 14:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786439716000,"timestamp_ms":1786439716000,"timestamp_seconds":1786439716,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01acca0"} 
[2026-08-11 14:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:46: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":15,"data_length":795,"current_offset":136} 
[2026-08-11 14:46:57] 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-08-11 14:46: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-08-11 14:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:46:57] 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-08-11 14:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328565504001,"66":27919,"231":206,"83":16640,"24":45,"16":377701077572648960,"45":-7042855736391333888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-08-11 14:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328565504001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:46:57] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-11 14:46:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377701077572648960,"km_value":377701077572648.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042855736391333888,"description":"Unknown IO ID 45"} 
[2026-08-11 14:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328565504001,"power":27919,"unknown_231":206,"unknown_83":16640,"ignition":45,"odometer":null,"unknown_45":-7042855736391333888}} 
[2026-08-11 14:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":152233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:46:57] local.INFO: GPS data processed {"connection_id":152233,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:46:57] local.INFO: Acknowledgment sent {"connection_id":152233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:47:10] local.INFO: TCP Data received {"connection_id":154931,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:47:10] local.INFO: Processing buffer {"connection_id":154931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:47:10] local.INFO: IMEI packet received {"connection_id":154931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":154931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:47:15] local.INFO: TCP Data received {"connection_id":154931,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:47:15] local.INFO: Processing buffer {"connection_id":154931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:47:15] local.INFO: IMEI packet received {"connection_id":154931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":154931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:47:16] local.INFO: TCP Data received {"connection_id":154931,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01b8438012d18348007219630004d012625..."} 
[2026-08-11 14:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01b8438012d18348007219630004d012625..."} 
[2026-08-11 14:47:16] local.INFO: Processing buffer {"connection_id":154931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01b8438012d18348007219630004d012625..."} 
[2026-08-11 14:47:16] local.INFO: Packet analysis {"connection_id":154931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01b"} 
[2026-08-11 14:47:16] local.INFO: Extracted packet for processing {"connection_id":154931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01b"} 
[2026-08-11 14:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119641648,"longitude_deg":75.6561024,"latitude_deg":11.9641648,"altitude":77,"angle":294,"satellites":37,"speed":33,"hex_longitude":"2d183480","hex_latitude":"07219630","is_valid_coordinates":true} 
[2026-08-11 14:47: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-08-11 14:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328576768001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11651219776864256,"note":"Value kept but may cause issues"} 
[2026-08-11 14:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753589135534641152,"note":"Value kept but may cause issues"} 
[2026-08-11 14:47:16] 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-08-11 14:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786439763000,"timestamp_ms":1786439763000,"timestamp_seconds":1786439763,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01b8438"} 
[2026-08-11 14:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:47:16] 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-08-11 14:47: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 14:47:16] 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-08-11 14:47: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-08-11 14:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328576768001,"66":14396,"105":206,"83":41984,"24":33,"16":11651219776864256,"45":1753589135534641152},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 14:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328576768001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:47:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 14:47:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 14:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11651219776864256,"km_value":11651219776864.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753589135534641152,"description":"Unknown IO ID 45"} 
[2026-08-11 14:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328576768001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1753589135534641152}} 
[2026-08-11 14:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":154931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:47:16] local.INFO: GPS data processed {"connection_id":154931,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:47:16] local.INFO: Acknowledgment sent {"connection_id":154931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:47:26] local.INFO: TCP Data received {"connection_id":152608,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:47:26] local.INFO: Processing buffer {"connection_id":152608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:47:26] local.INFO: IMEI packet received {"connection_id":152608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":152608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:47:27] local.INFO: TCP Data received {"connection_id":152608,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:47:27] local.INFO: Processing buffer {"connection_id":152608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:47:27] local.INFO: IMEI packet received {"connection_id":152608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":152608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:47:29] local.INFO: TCP Data received {"connection_id":152608,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:47:29] local.INFO: Processing buffer {"connection_id":152608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:47:29] local.INFO: IMEI packet received {"connection_id":152608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":152608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:47:30] local.INFO: TCP Data received {"connection_id":152608,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:47:30] local.INFO: Processing buffer {"connection_id":152608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:47:30] local.INFO: IMEI packet received {"connection_id":152608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":152608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:47:31] local.INFO: TCP Data received {"connection_id":152608,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01aebe0012d9e218005bbd838000d00d029..."} 
[2026-08-11 14:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01aebe0012d9e218005bbd838000d00d029..."} 
[2026-08-11 14:47:31] local.INFO: Processing buffer {"connection_id":152608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01aebe0012d9e218005bbd838000d00d029..."} 
[2026-08-11 14:47:31] local.INFO: Packet analysis {"connection_id":152608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01a"} 
[2026-08-11 14:47:31] local.INFO: Extracted packet for processing {"connection_id":152608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01a"} 
[2026-08-11 14:47:31] local.INFO: GPS Element Parsed {"raw_longitude":765337984,"raw_latitude":96196664,"longitude_deg":76.5337984,"latitude_deg":9.6196664,"altitude":13,"angle":208,"satellites":41,"speed":45,"hex_longitude":"2d9e2180","hex_latitude":"05bbd838","is_valid_coordinates":true} 
[2026-08-11 14:47: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-08-11 14:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328567296001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377701519954280448,"note":"Value kept but may cause issues"} 
[2026-08-11 14:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7047429704764639232,"note":"Value kept but may cause issues"} 
[2026-08-11 14:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786439724000,"timestamp_ms":1786439724000,"timestamp_seconds":1786439724,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01aebe0"} 
[2026-08-11 14:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:47: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 14:47:31] 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-08-11 14:47: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-08-11 14:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:47:31] 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-08-11 14:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328567296001,"66":27908,"231":206,"83":16640,"24":45,"16":377701519954280448,"45":-7047429704764639232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-08-11 14:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328567296001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:47:31] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-11 14:47:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377701519954280448,"km_value":377701519954280.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7047429704764639232,"description":"Unknown IO ID 45"} 
[2026-08-11 14:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328567296001,"power":27908,"unknown_231":206,"unknown_83":16640,"ignition":45,"odometer":null,"unknown_45":-7047429704764639232}} 
[2026-08-11 14:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":152608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:47:31] local.INFO: GPS data processed {"connection_id":152608,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:47:31] local.INFO: Acknowledgment sent {"connection_id":152608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:47:38] local.INFO: TCP Data received {"connection_id":152608,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01b0b20012d9e118005bbb8b8000e00cd2a..."} 
[2026-08-11 14:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01b0b20012d9e118005bbb8b8000e00cd2a..."} 
[2026-08-11 14:47:38] local.INFO: Processing buffer {"connection_id":152608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01b0b20012d9e118005bbb8b8000e00cd2a..."} 
[2026-08-11 14:47:38] local.INFO: Packet analysis {"connection_id":152608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01b"} 
[2026-08-11 14:47:38] local.INFO: Extracted packet for processing {"connection_id":152608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01b"} 
[2026-08-11 14:47:38] local.INFO: GPS Element Parsed {"raw_longitude":765333888,"raw_latitude":96188600,"longitude_deg":76.5333888,"latitude_deg":9.61886,"altitude":14,"angle":205,"satellites":42,"speed":43,"hex_longitude":"2d9e1180","hex_latitude":"05bbb8b8","is_valid_coordinates":true} 
[2026-08-11 14:47: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-08-11 14:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328569344001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377701958040944640,"note":"Value kept but may cause issues"} 
[2026-08-11 14:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7052214779370784768,"note":"Value kept but may cause issues"} 
[2026-08-11 14:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786439732000,"timestamp_ms":1786439732000,"timestamp_seconds":1786439732,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01b0b20"} 
[2026-08-11 14:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:47: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-08-11 14:47: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-08-11 14:47: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-08-11 14:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:47:38] 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-08-11 14:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328569344001,"66":27908,"231":206,"83":16640,"24":43,"16":377701958040944640,"45":-7052214779370784768},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-08-11 14:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328569344001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:47:38] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-11 14:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377701958040944640,"km_value":377701958040944.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7052214779370784768,"description":"Unknown IO ID 45"} 
[2026-08-11 14:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328569344001,"power":27908,"unknown_231":206,"unknown_83":16640,"ignition":43,"odometer":null,"unknown_45":-7052214779370784768}} 
[2026-08-11 14:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":152608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:47:38] local.INFO: GPS data processed {"connection_id":152608,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:47:38] local.INFO: Acknowledgment sent {"connection_id":152608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:47:47] local.INFO: TCP Data received {"connection_id":154931,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01b93d8012d182a8007219b98004d013325..."} 
[2026-08-11 14:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01b93d8012d182a8007219b98004d013325..."} 
[2026-08-11 14:47:47] local.INFO: Processing buffer {"connection_id":154931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01b93d8012d182a8007219b98004d013325..."} 
[2026-08-11 14:47:47] local.INFO: Packet analysis {"connection_id":154931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01b"} 
[2026-08-11 14:47:47] local.INFO: Extracted packet for processing {"connection_id":154931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01b"} 
[2026-08-11 14:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643032,"longitude_deg":75.6558464,"latitude_deg":11.9643032,"altitude":77,"angle":307,"satellites":37,"speed":26,"hex_longitude":"2d182a80","hex_latitude":"07219b98","is_valid_coordinates":true} 
[2026-08-11 14:47: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-08-11 14:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328579328001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11651357215817728,"note":"Value kept but may cause issues"} 
[2026-08-11 14:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744159723815841792,"note":"Value kept but may cause issues"} 
[2026-08-11 14:47:47] 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-08-11 14:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786439767000,"timestamp_ms":1786439767000,"timestamp_seconds":1786439767,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01b93d8"} 
[2026-08-11 14:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:47:47] 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-08-11 14:47: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 14:47:47] 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-08-11 14:47: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-08-11 14:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328579328001,"66":14396,"105":206,"83":41984,"24":26,"16":11651357215817728,"45":1744159723815841792},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 14:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328579328001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:47:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 14:47:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 14:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11651357215817728,"km_value":11651357215817.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744159723815841792,"description":"Unknown IO ID 45"} 
[2026-08-11 14:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328579328001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1744159723815841792}} 
[2026-08-11 14:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":154931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:47:47] local.INFO: GPS data processed {"connection_id":154931,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:47:47] local.INFO: Acknowledgment sent {"connection_id":154931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:48:15] local.INFO: TCP Data received {"connection_id":154932,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:48:15] local.INFO: Processing buffer {"connection_id":154932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:48:15] local.INFO: IMEI packet received {"connection_id":154932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":154932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:48:19] local.INFO: TCP Data received {"connection_id":154932,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:48:19] local.INFO: Processing buffer {"connection_id":154932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:48:19] local.INFO: IMEI packet received {"connection_id":154932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":154932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:48:20] local.INFO: TCP Data received {"connection_id":154932,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:48:20] local.INFO: Processing buffer {"connection_id":154932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:48:20] local.INFO: IMEI packet received {"connection_id":154932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":154932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:48:24] local.INFO: TCP Data received {"connection_id":154932,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:48:24] local.INFO: Processing buffer {"connection_id":154932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:48:24] local.INFO: IMEI packet received {"connection_id":154932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":154932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:48:25] local.INFO: TCP Data received {"connection_id":154932,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01ccc58012d9e13c005ba86b0000e00ae2a..."} 
[2026-08-11 14:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01ccc58012d9e13c005ba86b0000e00ae2a..."} 
[2026-08-11 14:48:25] local.INFO: Processing buffer {"connection_id":154932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01ccc58012d9e13c005ba86b0000e00ae2a..."} 
[2026-08-11 14:48:25] local.INFO: Packet analysis {"connection_id":154932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01c"} 
[2026-08-11 14:48:25] local.INFO: Extracted packet for processing {"connection_id":154932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01c"} 
[2026-08-11 14:48:25] local.INFO: GPS Element Parsed {"raw_longitude":765334464,"raw_latitude":96110256,"longitude_deg":76.5334464,"latitude_deg":9.6110256,"altitude":14,"angle":174,"satellites":42,"speed":24,"hex_longitude":"2d9e13c0","hex_latitude":"05ba86b0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328598016001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377705960950464512,"note":"Value kept but may cause issues"} 
[2026-08-11 14:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7057914647669379072,"note":"Value kept but may cause issues"} 
[2026-08-11 14:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786439847000,"timestamp_ms":1786439847000,"timestamp_seconds":1786439847,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01ccc58"} 
[2026-08-11 14:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 14:48:25] 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-08-11 14: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-08-11 14:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:48:25] 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-08-11 14:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328598016001,"66":27876,"207":206,"83":16640,"24":24,"16":377705960950464512,"45":-7057914647669379072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-11 14:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328598016001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:48:25] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-11 14:48:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377705960950464512,"km_value":377705960950464.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7057914647669379072,"description":"Unknown IO ID 45"} 
[2026-08-11 14:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328598016001,"power":27876,"unknown_207":206,"unknown_83":16640,"ignition":24,"odometer":null,"unknown_45":-7057914647669379072}} 
[2026-08-11 14:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":154932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:48:25] local.INFO: GPS data processed {"connection_id":154932,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:48:25] local.INFO: Acknowledgment sent {"connection_id":154932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:48:30] local.INFO: TCP Data received {"connection_id":154932,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01cdbf8012d9e140005ba7d48000e00b92a..."} 
[2026-08-11 14:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01cdbf8012d9e140005ba7d48000e00b92a..."} 
[2026-08-11 14:48:30] local.INFO: Processing buffer {"connection_id":154932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01cdbf8012d9e140005ba7d48000e00b92a..."} 
[2026-08-11 14:48:30] local.INFO: Packet analysis {"connection_id":154932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01c"} 
[2026-08-11 14:48:30] local.INFO: Extracted packet for processing {"connection_id":154932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01c"} 
[2026-08-11 14:48:30] local.INFO: GPS Element Parsed {"raw_longitude":765334528,"raw_latitude":96107848,"longitude_deg":76.5334528,"latitude_deg":9.6107848,"altitude":14,"angle":185,"satellites":42,"speed":26,"hex_longitude":"2d9e1400","hex_latitude":"05ba7d48","is_valid_coordinates":true} 
[2026-08-11 14:48: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-08-11 14:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328600832001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377706076914581504,"note":"Value kept but may cause issues"} 
[2026-08-11 14:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7056085060322676736,"note":"Value kept but may cause issues"} 
[2026-08-11 14:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786439851000,"timestamp_ms":1786439851000,"timestamp_seconds":1786439851,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01cdbf8"} 
[2026-08-11 14:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:48: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 14:48:30] 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-08-11 14:48: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-08-11 14:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:48:30] 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-08-11 14:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328600832001,"66":27843,"207":206,"83":16640,"24":26,"16":377706076914581504,"45":-7056085060322676736},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-11 14:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328600832001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:48:30] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-11 14:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377706076914581504,"km_value":377706076914581.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7056085060322676736,"description":"Unknown IO ID 45"} 
[2026-08-11 14:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328600832001,"power":27843,"unknown_207":206,"unknown_83":16640,"ignition":26,"odometer":null,"unknown_45":-7056085060322676736}} 
[2026-08-11 14:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":154932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:48:30] local.INFO: GPS data processed {"connection_id":154932,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:48:30] local.INFO: Acknowledgment sent {"connection_id":154932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:49:01] local.INFO: TCP Data received {"connection_id":154932,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01cf368012d9e10c005ba6c00000e00c628..."} 
[2026-08-11 14:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01cf368012d9e10c005ba6c00000e00c628..."} 
[2026-08-11 14:49:01] local.INFO: Processing buffer {"connection_id":154932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01cf368012d9e10c005ba6c00000e00c628..."} 
[2026-08-11 14:49:01] local.INFO: Packet analysis {"connection_id":154932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01c"} 
[2026-08-11 14:49:01] local.INFO: Extracted packet for processing {"connection_id":154932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01c"} 
[2026-08-11 14:49:01] local.INFO: GPS Element Parsed {"raw_longitude":765333696,"raw_latitude":96103424,"longitude_deg":76.5333696,"latitude_deg":9.6103424,"altitude":14,"angle":198,"satellites":40,"speed":30,"hex_longitude":"2d9e10c0","hex_latitude":"05ba6c00","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328601856001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377706295957913600,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7056014691579115520,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786439857000,"timestamp_ms":1786439857000,"timestamp_seconds":1786439857,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01cf368"} 
[2026-08-11 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-08-11 14:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 14:49:01] 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-08-11 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-08-11 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-08-11 14:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:49:01] 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-08-11 14:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328601856001,"66":27865,"207":206,"83":16640,"24":30,"16":377706295957913600,"45":-7056014691579115520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-11 14:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328601856001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:49:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-11 14:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377706295957913600,"km_value":377706295957913.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7056014691579115520,"description":"Unknown IO ID 45"} 
[2026-08-11 14:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328601856001,"power":27865,"unknown_207":206,"unknown_83":16640,"ignition":30,"odometer":null,"unknown_45":-7056014691579115520}} 
[2026-08-11 14:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":154932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:49:01] local.INFO: GPS data processed {"connection_id":154932,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:49:01] local.INFO: Acknowledgment sent {"connection_id":154932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:49:18] local.INFO: TCP Data received {"connection_id":152234,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:49:18] local.INFO: Processing buffer {"connection_id":152234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:49:18] local.INFO: IMEI packet received {"connection_id":152234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":152234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:49:18] local.INFO: TCP Data received {"connection_id":152234,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 14:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152234,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 14:49:18] local.INFO: Processing buffer {"connection_id":152234,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 14:49:18] local.INFO: IMEI packet received {"connection_id":152234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":152234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:49:19] local.INFO: TCP Data received {"connection_id":152235,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:49:19] local.INFO: Processing buffer {"connection_id":152235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:49:19] local.INFO: IMEI packet received {"connection_id":152235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":152235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:49:20] local.INFO: TCP Data received {"connection_id":152234,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01d7c20012d18d200072305b00060006325..."} 
[2026-08-11 14:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01d7c20012d18d200072305b00060006325..."} 
[2026-08-11 14:49:20] local.INFO: Processing buffer {"connection_id":152234,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019ff0..."} 
[2026-08-11 14:49:20] local.INFO: IMEI packet received {"connection_id":152234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":152234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:49:20] local.INFO: TCP Data received {"connection_id":152234,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01d8008012d18d64007230380005f006f24..."} 
[2026-08-11 14:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01d8008012d18d64007230380005f006f24..."} 
[2026-08-11 14:49:20] local.INFO: Processing buffer {"connection_id":152234,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ff01d7c20012d18d200072305b00060006325..."} 
[2026-08-11 14:49:20] local.INFO: Packet analysis {"connection_id":152234,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff01d"} 
[2026-08-11 14:49:20] local.INFO: Extracted packet for processing {"connection_id":152234,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01d"} 
[2026-08-11 14:49:20] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119735728,"longitude_deg":75.6601344,"latitude_deg":11.9735728,"altitude":96,"angle":99,"satellites":37,"speed":41,"hex_longitude":"2d18d200","hex_latitude":"072305b0","is_valid_coordinates":true} 
[2026-08-11 14:49: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-08-11 14:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328612096001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11656704450101248,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787225395276744704,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786439892000,"timestamp_ms":1786439892000,"timestamp_seconds":1786439892,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01d7c20"} 
[2026-08-11 14:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:49:20] 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-08-11 14:49: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":22,"data_length":795,"current_offset":136} 
[2026-08-11 14:49:20] 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-08-11 14:49: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-08-11 14:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328612096001,"66":14102,"176":206,"83":42752,"24":41,"16":11656704450101248,"45":1787225395276744704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-11 14:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328612096001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:49:20] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-11 14:49:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11656704450101248,"km_value":11656704450101.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787225395276744704,"description":"Unknown IO ID 45"} 
[2026-08-11 14:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328612096001,"power":14102,"unknown_176":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1787225395276744704}} 
[2026-08-11 14:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":152234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:49:21] local.INFO: GPS data processed {"connection_id":152234,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:49:21] local.INFO: Acknowledgment sent {"connection_id":152234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:49:21] local.INFO: Packet analysis {"connection_id":152234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01d"} 
[2026-08-11 14:49:21] local.INFO: Extracted packet for processing {"connection_id":152234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01d"} 
[2026-08-11 14:49:21] local.INFO: GPS Element Parsed {"raw_longitude":756602432,"raw_latitude":119735168,"longitude_deg":75.6602432,"latitude_deg":11.9735168,"altitude":95,"angle":111,"satellites":36,"speed":42,"hex_longitude":"2d18d640","hex_latitude":"07230380","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328612352001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11656764579643392,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032671854592,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786439893000,"timestamp_ms":1786439893000,"timestamp_seconds":1786439893,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01d8008"} 
[2026-08-11 14:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:49:21] 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-08-11 14: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 14:49:21] 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-08-11 14: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-08-11 14:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328612352001,"66":14135,"176":206,"83":42752,"24":42,"16":11656764579643392,"45":1788492032671854592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-11 14:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328612352001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:49:21] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-11 14:49:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11656764579643392,"km_value":11656764579643.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032671854592,"description":"Unknown IO ID 45"} 
[2026-08-11 14:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328612352001,"power":14135,"unknown_176":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1788492032671854592}} 
[2026-08-11 14:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":152234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:49:21] local.INFO: GPS data processed {"connection_id":152234,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:49:21] local.INFO: Acknowledgment sent {"connection_id":152234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:49:21] local.INFO: TCP Data received {"connection_id":152234,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01d9778012d18ee800722f970005b005f24..."} 
[2026-08-11 14:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01d9778012d18ee800722f970005b005f24..."} 
[2026-08-11 14:49:21] local.INFO: Processing buffer {"connection_id":152234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01d9778012d18ee800722f970005b005f24..."} 
[2026-08-11 14:49:21] local.INFO: Packet analysis {"connection_id":152234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01d"} 
[2026-08-11 14:49:21] local.INFO: Extracted packet for processing {"connection_id":152234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01d"} 
[2026-08-11 14:49:21] local.INFO: GPS Element Parsed {"raw_longitude":756608640,"raw_latitude":119732592,"longitude_deg":75.660864,"latitude_deg":11.9732592,"altitude":91,"angle":95,"satellites":36,"speed":44,"hex_longitude":"2d18ee80","hex_latitude":"0722f970","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328612608001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11657086702190592,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789688301322731520,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:21] 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-08-11 14:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786439899000,"timestamp_ms":1786439899000,"timestamp_seconds":1786439899,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01d9778"} 
[2026-08-11 14:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:49:21] 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-08-11 14: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-11 14:49:21] 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-08-11 14: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-08-11 14:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328612608001,"66":14080,"186":206,"83":42752,"24":44,"16":11657086702190592,"45":1789688301322731520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-11 14:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328612608001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:49:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-11 14:49:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11657086702190592,"km_value":11657086702190.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789688301322731520,"description":"Unknown IO ID 45"} 
[2026-08-11 14:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328612608001,"power":14080,"unknown_186":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1789688301322731520}} 
[2026-08-11 14:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":152234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:49:21] local.INFO: GPS data processed {"connection_id":152234,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:49:21] local.INFO: Acknowledgment sent {"connection_id":152234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:49:22] local.INFO: TCP Data received {"connection_id":152235,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:49:22] local.INFO: Processing buffer {"connection_id":152235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:49:22] local.INFO: IMEI packet received {"connection_id":152235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":152235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:49:23] local.INFO: TCP Data received {"connection_id":152235,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01d0308012d9e0b8005ba6188000e00d127..."} 
[2026-08-11 14:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01d0308012d9e0b8005ba6188000e00d127..."} 
[2026-08-11 14:49:23] local.INFO: Processing buffer {"connection_id":152235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01d0308012d9e0b8005ba6188000e00d127..."} 
[2026-08-11 14:49:23] local.INFO: Packet analysis {"connection_id":152235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01d"} 
[2026-08-11 14:49:23] local.INFO: Extracted packet for processing {"connection_id":152235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01d"} 
[2026-08-11 14:49:23] local.INFO: GPS Element Parsed {"raw_longitude":765332352,"raw_latitude":96100744,"longitude_deg":76.5332352,"latitude_deg":9.6100744,"altitude":14,"angle":209,"satellites":39,"speed":30,"hex_longitude":"2d9e0b80","hex_latitude":"05ba6188","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328603392001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377706441986801664,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7056929485254557696,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786439861000,"timestamp_ms":1786439861000,"timestamp_seconds":1786439861,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01d0308"} 
[2026-08-11 14:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:49:23] 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-08-11 14: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-08-11 14:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:49:23] 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-08-11 14:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328603392001,"66":27800,"207":206,"83":16640,"24":30,"16":377706441986801664,"45":-7056929485254557696},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-11 14:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328603392001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:49:23] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-11 14:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377706441986801664,"km_value":377706441986801.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7056929485254557696,"description":"Unknown IO ID 45"} 
[2026-08-11 14:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328603392001,"power":27800,"unknown_207":206,"unknown_83":16640,"ignition":30,"odometer":null,"unknown_45":-7056929485254557696}} 
[2026-08-11 14:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":152235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:49:23] local.INFO: GPS data processed {"connection_id":152235,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:49:23] local.INFO: Acknowledgment sent {"connection_id":152235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:49:52] local.INFO: TCP Data received {"connection_id":152234,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01d9f48012d18f7400722fa08005a005121..."} 
[2026-08-11 14:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01d9f48012d18f7400722fa08005a005121..."} 
[2026-08-11 14:49:52] local.INFO: Processing buffer {"connection_id":152234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01d9f48012d18f7400722fa08005a005121..."} 
[2026-08-11 14:49:52] local.INFO: Packet analysis {"connection_id":152234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01d"} 
[2026-08-11 14:49:52] local.INFO: Extracted packet for processing {"connection_id":152234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01d"} 
[2026-08-11 14:49:52] local.INFO: GPS Element Parsed {"raw_longitude":756610880,"raw_latitude":119732744,"longitude_deg":75.661088,"latitude_deg":11.9732744,"altitude":90,"angle":81,"satellites":33,"speed":42,"hex_longitude":"2d18f740","hex_latitude":"0722fa08","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328614144001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11657194076372992,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796514069507305472,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:52] 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-08-11 14:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786439901000,"timestamp_ms":1786439901000,"timestamp_seconds":1786439901,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01d9f48"} 
[2026-08-11 14:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:49:52] 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-08-11 14: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-11 14:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446321152,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4028458160,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:52] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-08-11 14:49:52] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:52] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2147951364,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:52] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2566966634,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:52] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,186,83,24,241,157,16,106,159,128,45,64,3,95,36,10,66,176,105,124,5,96,37,120,1,240,22,227,35,4,113,205,40,108,193,232,239,55,2,41,7,98,43],"length":479,"final_offset":609,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-08-11 14:49:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6557345665677787136,"timestamp_seconds":6557345665677787.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 14:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328614144001,"66":14070,"186":206,"83":42752,"24":42,"16":11657194076372992,"45":1796514069507305472},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-11 14:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328614144001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:49:53] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-11 14:49:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11657194076372992,"km_value":11657194076372.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796514069507305472,"description":"Unknown IO ID 45"} 
[2026-08-11 14:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328614144001,"power":14070,"unknown_186":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1796514069507305472}} 
[2026-08-11 14:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":152234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:49:53] local.INFO: GPS data processed {"connection_id":152234,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:49:53] local.INFO: Acknowledgment sent {"connection_id":152234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:49:54] local.INFO: TCP Data received {"connection_id":152235,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01d31e8012d9df9c005ba4280000f00d129..."} 
[2026-08-11 14:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01d31e8012d9df9c005ba4280000f00d129..."} 
[2026-08-11 14:49:54] local.INFO: Processing buffer {"connection_id":152235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01d31e8012d9df9c005ba4280000f00d129..."} 
[2026-08-11 14:49:54] local.INFO: Packet analysis {"connection_id":152235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01d"} 
[2026-08-11 14:49:54] local.INFO: Extracted packet for processing {"connection_id":152235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01d"} 
[2026-08-11 14:49:54] local.INFO: GPS Element Parsed {"raw_longitude":765327808,"raw_latitude":96092800,"longitude_deg":76.5327808,"latitude_deg":9.60928,"altitude":15,"angle":209,"satellites":41,"speed":31,"hex_longitude":"2d9df9c0","hex_latitude":"05ba4280","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328604416001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377706880073465856,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7058407228882974720,"note":"Value kept but may cause issues"} 
[2026-08-11 14:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786439873000,"timestamp_ms":1786439873000,"timestamp_seconds":1786439873,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01d31e8"} 
[2026-08-11 14:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 14:49: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-08-11 14: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-08-11 14:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:49:54] 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-08-11 14:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328604416001,"66":27919,"207":206,"83":16640,"24":31,"16":377706880073465856,"45":-7058407228882974720},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-11 14:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328604416001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:49:54] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-11 14:49:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377706880073465856,"km_value":377706880073465.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7058407228882974720,"description":"Unknown IO ID 45"} 
[2026-08-11 14:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328604416001,"power":27919,"unknown_207":206,"unknown_83":16640,"ignition":31,"odometer":null,"unknown_45":-7058407228882974720}} 
[2026-08-11 14:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":152235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:49:54] local.INFO: GPS data processed {"connection_id":152235,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:49:54] local.INFO: Acknowledgment sent {"connection_id":152235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:50:10] local.INFO: TCP Data received {"connection_id":154933,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:50:10] local.INFO: Processing buffer {"connection_id":154933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:50:10] local.INFO: IMEI packet received {"connection_id":154933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":154933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:50:13] local.INFO: TCP Data received {"connection_id":154933,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:50:13] local.INFO: Processing buffer {"connection_id":154933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:50:13] local.INFO: IMEI packet received {"connection_id":154933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":154933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:50:14] local.INFO: TCP Data received {"connection_id":154933,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01e6e50012d19b7800723a1280037005221..."} 
[2026-08-11 14:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01e6e50012d19b7800723a1280037005221..."} 
[2026-08-11 14:50:14] local.INFO: Processing buffer {"connection_id":154933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01e6e50012d19b7800723a1280037005221..."} 
[2026-08-11 14:50:14] local.INFO: Packet analysis {"connection_id":154933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01e"} 
[2026-08-11 14:50:14] local.INFO: Extracted packet for processing {"connection_id":154933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01e"} 
[2026-08-11 14:50:14] local.INFO: GPS Element Parsed {"raw_longitude":756660096,"raw_latitude":119775528,"longitude_deg":75.6660096,"latitude_deg":11.9775528,"altitude":55,"angle":82,"satellites":33,"speed":54,"hex_longitude":"2d19b780","hex_latitude":"0723a128","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328626432001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11660484021321728,"note":"Value kept but may cause issues"} 
[2026-08-11 14:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843027809419429888,"note":"Value kept but may cause issues"} 
[2026-08-11 14:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786439954000,"timestamp_ms":1786439954000,"timestamp_seconds":1786439954,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01e6e50"} 
[2026-08-11 14:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:50:14] 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-08-11 14: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 14:50:14] 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-08-11 14: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-08-11 14:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328626432001,"66":14428,"42":206,"83":42752,"24":54,"16":11660484021321728,"45":1843027809419429888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-11 14:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328626432001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:50:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-11 14:50:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11660484021321728,"km_value":11660484021321.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843027809419429888,"description":"Unknown IO ID 45"} 
[2026-08-11 14:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328626432001,"power":14428,"unknown_42":206,"unknown_83":42752,"ignition":54,"odometer":null,"unknown_45":1843027809419429888}} 
[2026-08-11 14:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":154933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:50:14] local.INFO: GPS data processed {"connection_id":154933,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:50:14] local.INFO: Acknowledgment sent {"connection_id":154933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:50:20] local.INFO: TCP Data received {"connection_id":152236,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:50:20] local.INFO: Processing buffer {"connection_id":152236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:50:20] local.INFO: IMEI packet received {"connection_id":152236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":152236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:50:25] local.INFO: TCP Data received {"connection_id":152236,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:50:25] local.INFO: Processing buffer {"connection_id":152236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:50:25] local.INFO: IMEI packet received {"connection_id":152236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":152236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:50:26] local.INFO: TCP Data received {"connection_id":152236,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01d60c8012d9de7c005ba2208000f00d129..."} 
[2026-08-11 14:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01d60c8012d9de7c005ba2208000f00d129..."} 
[2026-08-11 14:50:26] local.INFO: Processing buffer {"connection_id":152236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01d60c8012d9de7c005ba2208000f00d129..."} 
[2026-08-11 14:50:26] local.INFO: Packet analysis {"connection_id":152236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01d"} 
[2026-08-11 14:50:26] local.INFO: Extracted packet for processing {"connection_id":152236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01d"} 
[2026-08-11 14:50:26] local.INFO: GPS Element Parsed {"raw_longitude":765323200,"raw_latitude":96084488,"longitude_deg":76.53232,"latitude_deg":9.6084488,"altitude":15,"angle":209,"satellites":41,"speed":32,"hex_longitude":"2d9de7c0","hex_latitude":"05ba2208","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328607488001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377707343929933824,"note":"Value kept but may cause issues"} 
[2026-08-11 14:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7063403409721622528,"note":"Value kept but may cause issues"} 
[2026-08-11 14:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786439885000,"timestamp_ms":1786439885000,"timestamp_seconds":1786439885,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01d60c8"} 
[2026-08-11 14:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 14:50:26] 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-08-11 14: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-08-11 14:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:50:26] 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-08-11 14:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328607488001,"66":27887,"174":206,"83":16640,"24":32,"16":377707343929933824,"45":-7063403409721622528},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,45]} 
[2026-08-11 14:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328607488001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:50:26] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-11 14:50:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377707343929933824,"km_value":377707343929933.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7063403409721622528,"description":"Unknown IO ID 45"} 
[2026-08-11 14:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328607488001,"power":27887,"unknown_174":206,"unknown_83":16640,"ignition":32,"odometer":null,"unknown_45":-7063403409721622528}} 
[2026-08-11 14:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":152236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:50:26] local.INFO: GPS data processed {"connection_id":152236,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:50:26] local.INFO: Acknowledgment sent {"connection_id":152236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:50:45] local.INFO: TCP Data received {"connection_id":154933,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01e89a8012d19de000723a5b80030005422..."} 
[2026-08-11 14:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01e89a8012d19de000723a5b80030005422..."} 
[2026-08-11 14:50:45] local.INFO: Processing buffer {"connection_id":154933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01e89a8012d19de000723a5b80030005422..."} 
[2026-08-11 14:50:45] local.INFO: Packet analysis {"connection_id":154933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01e"} 
[2026-08-11 14:50:45] local.INFO: Extracted packet for processing {"connection_id":154933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01e"} 
[2026-08-11 14:50:45] local.INFO: GPS Element Parsed {"raw_longitude":756669952,"raw_latitude":119776696,"longitude_deg":75.6669952,"latitude_deg":11.9776696,"altitude":48,"angle":84,"satellites":34,"speed":53,"hex_longitude":"2d19de00","hex_latitude":"0723a5b8","is_valid_coordinates":true} 
[2026-08-11 14:50: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-08-11 14:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328628224001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11660952172756992,"note":"Value kept but may cause issues"} 
[2026-08-11 14:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853090539837138944,"note":"Value kept but may cause issues"} 
[2026-08-11 14:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786439961000,"timestamp_ms":1786439961000,"timestamp_seconds":1786439961,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01e89a8"} 
[2026-08-11 14:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:50:45] 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-08-11 14:50: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 14:50:45] 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-08-11 14:50: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-08-11 14:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":154933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":154933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":154933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328628224001,"66":14515,"42":206,"83":42752,"24":53,"16":11660952172756992,"45":1853090539837138944},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-11 14:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328628224001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:50:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-11 14:50:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11660952172756992,"km_value":11660952172756.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853090539837138944,"description":"Unknown IO ID 45"} 
[2026-08-11 14:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328628224001,"power":14515,"unknown_42":206,"unknown_83":42752,"ignition":53,"odometer":null,"unknown_45":1853090539837138944}} 
[2026-08-11 14:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":154933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:50:45] local.INFO: GPS data processed {"connection_id":154933,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:50:45] local.INFO: Acknowledgment sent {"connection_id":154933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:50:58] local.INFO: TCP Data received {"connection_id":152236,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01d8fa8012d9dd68005ba0298000d00cf2a..."} 
[2026-08-11 14:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01d8fa8012d9dd68005ba0298000d00cf2a..."} 
[2026-08-11 14:50:58] local.INFO: Processing buffer {"connection_id":152236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01d8fa8012d9dd68005ba0298000d00cf2a..."} 
[2026-08-11 14:50:58] local.INFO: Packet analysis {"connection_id":152236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01d"} 
[2026-08-11 14:50:58] local.INFO: Extracted packet for processing {"connection_id":152236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01d"} 
[2026-08-11 14:50:58] local.INFO: GPS Element Parsed {"raw_longitude":765318784,"raw_latitude":96076440,"longitude_deg":76.5318784,"latitude_deg":9.607644,"altitude":13,"angle":207,"satellites":42,"speed":29,"hex_longitude":"2d9dd680","hex_latitude":"05ba0298","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328610560001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377707786311565312,"note":"Value kept but may cause issues"} 
[2026-08-11 14:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7068469959304542208,"note":"Value kept but may cause issues"} 
[2026-08-11 14:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786439897000,"timestamp_ms":1786439897000,"timestamp_seconds":1786439897,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01d8fa8"} 
[2026-08-11 14:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 14:50:58] 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-08-11 14: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-08-11 14:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:50:58] 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-08-11 14:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328610560001,"66":27800,"174":206,"83":16640,"24":29,"16":377707786311565312,"45":-7068469959304542208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,45]} 
[2026-08-11 14:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328610560001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:50:58] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-11 14:50:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377707786311565312,"km_value":377707786311565.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7068469959304542208,"description":"Unknown IO ID 45"} 
[2026-08-11 14:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328610560001,"power":27800,"unknown_174":206,"unknown_83":16640,"ignition":29,"odometer":null,"unknown_45":-7068469959304542208}} 
[2026-08-11 14:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":152236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:50:58] local.INFO: GPS data processed {"connection_id":152236,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:50:58] local.INFO: Acknowledgment sent {"connection_id":152236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:51:10] local.INFO: TCP Data received {"connection_id":153551,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:51:10] local.INFO: Processing buffer {"connection_id":153551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:51:10] local.INFO: IMEI packet received {"connection_id":153551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":153551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:51:11] local.INFO: TCP Data received {"connection_id":153551,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:51:11] local.INFO: Processing buffer {"connection_id":153551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:51:11] local.INFO: IMEI packet received {"connection_id":153551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":153551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:51:17] local.INFO: TCP Data received {"connection_id":153551,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:51:17] local.INFO: Processing buffer {"connection_id":153551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:51:17] local.INFO: IMEI packet received {"connection_id":153551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":153551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:51:17] local.INFO: TCP Data received {"connection_id":153551,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:51:17] local.INFO: Processing buffer {"connection_id":153551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:51:17] local.INFO: IMEI packet received {"connection_id":153551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":153551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:51:18] local.INFO: TCP Data received {"connection_id":153551,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01ea8e8012d1a03400723a970002d004f24..."} 
[2026-08-11 14:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01ea8e8012d1a03400723a970002d004f24..."} 
[2026-08-11 14:51:18] local.INFO: Processing buffer {"connection_id":153551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01ea8e8012d1a03400723a970002d004f24..."} 
[2026-08-11 14:51:18] local.INFO: Packet analysis {"connection_id":153551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01e"} 
[2026-08-11 14:51:18] local.INFO: Extracted packet for processing {"connection_id":153551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01e"} 
[2026-08-11 14:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756679488,"raw_latitude":119777648,"longitude_deg":75.6679488,"latitude_deg":11.9777648,"altitude":45,"angle":79,"satellites":36,"speed":43,"hex_longitude":"2d1a0340","hex_latitude":"0723a970","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328630016001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11661407439290368,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927326440798208,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:18] 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-08-11 14:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786439969000,"timestamp_ms":1786439969000,"timestamp_seconds":1786439969,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01ea8e8"} 
[2026-08-11 14:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:51:18] 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-08-11 14: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 14:51:18] 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-08-11 14: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-08-11 14:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328630016001,"66":14080,"43":206,"83":42752,"24":43,"16":11661407439290368,"45":1863927326440798208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-11 14:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328630016001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:51:18] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-11 14:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11661407439290368,"km_value":11661407439290.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927326440798208,"description":"Unknown IO ID 45"} 
[2026-08-11 14:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328630016001,"power":14080,"unknown_43":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1863927326440798208}} 
[2026-08-11 14:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":153551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:51:18] local.INFO: GPS data processed {"connection_id":153551,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:51:18] local.INFO: Acknowledgment sent {"connection_id":153551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:51:19] local.INFO: TCP Data received {"connection_id":153551,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01ec058012d1a1c400723afe8002c004325..."} 
[2026-08-11 14:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01ec058012d1a1c400723afe8002c004325..."} 
[2026-08-11 14:51:19] local.INFO: Processing buffer {"connection_id":153551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01ec058012d1a1c400723afe8002c004325..."} 
[2026-08-11 14:51:19] local.INFO: Packet analysis {"connection_id":153551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01e"} 
[2026-08-11 14:51:19] local.INFO: Extracted packet for processing {"connection_id":153551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01e"} 
[2026-08-11 14:51:19] local.INFO: GPS Element Parsed {"raw_longitude":756685888,"raw_latitude":119779304,"longitude_deg":75.6685888,"latitude_deg":11.9779304,"altitude":44,"angle":67,"satellites":37,"speed":44,"hex_longitude":"2d1a1c40","hex_latitude":"0723afe8","is_valid_coordinates":true} 
[2026-08-11 14:51: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-08-11 14:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328632064001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11661720971902976,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1874412269323513856,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:19] 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-08-11 14:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786439975000,"timestamp_ms":1786439975000,"timestamp_seconds":1786439975,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01ec058"} 
[2026-08-11 14:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:51:19] 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-08-11 14:51: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-11 14:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446321408,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4028510160,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:19] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:19] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3221225472,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-08-11 14:51:19] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,43,83,24,241,157,16,109,159,137,45,165,48,34,10,66,42,110,128,161,55,33,82,192,1,240,92,227,108,35,4,113,205,117,32,239,56,177,2,41,7,65,46],"length":479,"final_offset":609,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-08-11 14:51:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242678747746992128,"timestamp_seconds":3242678747746992.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 14:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328632064001,"66":14048,"43":206,"83":42752,"24":44,"16":11661720971902976,"45":1874412269323513856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-11 14:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328632064001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:51:19] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-11 14:51:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11661720971902976,"km_value":11661720971902.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1874412269323513856,"description":"Unknown IO ID 45"} 
[2026-08-11 14:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328632064001,"power":14048,"unknown_43":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1874412269323513856}} 
[2026-08-11 14:51:19] local.INFO: TCP Data received {"connection_id":152609,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:51:19] local.INFO: Processing buffer {"connection_id":152609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:51:19] local.INFO: IMEI packet received {"connection_id":152609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":152609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":153551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:51:19] local.INFO: GPS data processed {"connection_id":153551,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:51:19] local.INFO: Acknowledgment sent {"connection_id":153551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:51:20] local.INFO: TCP Data received {"connection_id":152609,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:51:20] local.INFO: Processing buffer {"connection_id":152609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:51:20] local.INFO: IMEI packet received {"connection_id":152609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":152609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:51:24] local.INFO: TCP Data received {"connection_id":152609,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:51:24] local.INFO: Processing buffer {"connection_id":152609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:51:24] local.INFO: IMEI packet received {"connection_id":152609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":152609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:51:25] local.INFO: TCP Data received {"connection_id":152609,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01f8b78012d9dca4005b8e570001100cf2b..."} 
[2026-08-11 14:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01f8b78012d9dca4005b8e570001100cf2b..."} 
[2026-08-11 14:51:25] local.INFO: Processing buffer {"connection_id":152609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01f8b78012d9dca4005b8e570001100cf2b..."} 
[2026-08-11 14:51:25] local.INFO: Packet analysis {"connection_id":152609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01f"} 
[2026-08-11 14:51:25] local.INFO: Extracted packet for processing {"connection_id":152609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01f"} 
[2026-08-11 14:51:25] local.INFO: GPS Element Parsed {"raw_longitude":765315648,"raw_latitude":96003440,"longitude_deg":76.5315648,"latitude_deg":9.600344,"altitude":17,"angle":207,"satellites":43,"speed":16,"hex_longitude":"2d9dca40","hex_latitude":"05b8e570","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328645120001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377711402674028544,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7075436464997959680,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786440027000,"timestamp_ms":1786440027000,"timestamp_seconds":1786440027,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01f8b78"} 
[2026-08-11 14:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-11 14:51:25] 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-08-11 14: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-08-11 14:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:51:25] 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-08-11 14:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328645120001,"66":27832,"152":206,"83":16640,"24":16,"16":377711402674028544,"45":-7075436464997959680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-08-11 14:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328645120001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:51:25] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-11 14:51:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377711402674028544,"km_value":377711402674028.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7075436464997959680,"description":"Unknown IO ID 45"} 
[2026-08-11 14:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328645120001,"power":27832,"unknown_152":206,"unknown_83":16640,"ignition":16,"odometer":null,"unknown_45":-7075436464997959680}} 
[2026-08-11 14:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":152609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:51:25] local.INFO: GPS data processed {"connection_id":152609,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:51:25] local.INFO: Acknowledgment sent {"connection_id":152609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:51:57] local.INFO: TCP Data received {"connection_id":152609,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01f9730012d9dc80005b8e258001100da2a..."} 
[2026-08-11 14:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01f9730012d9dc80005b8e258001100da2a..."} 
[2026-08-11 14:51:57] local.INFO: Processing buffer {"connection_id":152609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01f9730012d9dc80005b8e258001100da2a..."} 
[2026-08-11 14:51:57] local.INFO: Packet analysis {"connection_id":152609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01f"} 
[2026-08-11 14:51:57] local.INFO: Extracted packet for processing {"connection_id":152609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01f"} 
[2026-08-11 14:51:57] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":96002648,"longitude_deg":76.5315072,"latitude_deg":9.6002648,"altitude":17,"angle":218,"satellites":42,"speed":8,"hex_longitude":"2d9dc800","hex_latitude":"05b8e258","is_valid_coordinates":true} 
[2026-08-11 14:51: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-08-11 14:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328646912001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377711449918668800,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7076773471138254848,"note":"Value kept but may cause issues"} 
[2026-08-11 14:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786440030000,"timestamp_ms":1786440030000,"timestamp_seconds":1786440030,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01f9730"} 
[2026-08-11 14:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:51: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":184,"data_length":795,"current_offset":136} 
[2026-08-11 14:51:57] 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-08-11 14:51: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-08-11 14:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:51:57] 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-08-11 14:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328646912001,"66":27767,"152":206,"83":16640,"24":8,"16":377711449918668800,"45":-7076773471138254848},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-08-11 14:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328646912001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:51:57] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-11 14:51:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377711449918668800,"km_value":377711449918668.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7076773471138254848,"description":"Unknown IO ID 45"} 
[2026-08-11 14:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328646912001,"power":27767,"unknown_152":206,"unknown_83":16640,"ignition":8,"odometer":null,"unknown_45":-7076773471138254848}} 
[2026-08-11 14:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":152609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:51:57] local.INFO: GPS data processed {"connection_id":152609,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:51:57] local.INFO: Acknowledgment sent {"connection_id":152609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:52:10] local.INFO: TCP Data received {"connection_id":154934,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:52:10] local.INFO: Processing buffer {"connection_id":154934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:52:10] local.INFO: IMEI packet received {"connection_id":154934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":154934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:52:19] local.INFO: TCP Data received {"connection_id":152237,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:52:19] local.INFO: Processing buffer {"connection_id":152237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:52:19] local.INFO: IMEI packet received {"connection_id":152237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":152237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:52:21] local.INFO: TCP Data received {"connection_id":154934,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:52:21] local.INFO: Processing buffer {"connection_id":154934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:52:21] local.INFO: IMEI packet received {"connection_id":154934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":154934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:52:22] local.INFO: TCP Data received {"connection_id":154934,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01fba58012d1ae08007244958002a002124..."} 
[2026-08-11 14:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01fba58012d1ae08007244958002a002124..."} 
[2026-08-11 14:52:22] local.INFO: Processing buffer {"connection_id":154934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01fba58012d1ae08007244958002a002124..."} 
[2026-08-11 14:52:22] local.INFO: Packet analysis {"connection_id":154934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01f"} 
[2026-08-11 14:52:22] local.INFO: Extracted packet for processing {"connection_id":154934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01f"} 
[2026-08-11 14:52:22] local.INFO: GPS Element Parsed {"raw_longitude":756736128,"raw_latitude":119818584,"longitude_deg":75.6736128,"latitude_deg":11.9818584,"altitude":42,"angle":33,"satellites":36,"speed":32,"hex_longitude":"2d1ae080","hex_latitude":"07244958","is_valid_coordinates":true} 
[2026-08-11 14:52: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-08-11 14:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328648960001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11664856298029056,"note":"Value kept but may cause issues"} 
[2026-08-11 14:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934296070628528128,"note":"Value kept but may cause issues"} 
[2026-08-11 14:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786440039000,"timestamp_ms":1786440039000,"timestamp_seconds":1786440039,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01fba58"} 
[2026-08-11 14:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:52:22] 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-08-11 14:52: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":60,"data_length":795,"current_offset":136} 
[2026-08-11 14:52:22] 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-08-11 14:52: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-08-11 14:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":154934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":154934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":154934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328648960001,"66":14233,"176":206,"83":42752,"24":32,"16":11664856298029056,"45":1934296070628528128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-11 14:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328648960001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:52:22] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-11 14:52:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11664856298029056,"km_value":11664856298029.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934296070628528128,"description":"Unknown IO ID 45"} 
[2026-08-11 14:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328648960001,"power":14233,"unknown_176":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1934296070628528128}} 
[2026-08-11 14:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":154934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:52:22] local.INFO: GPS data processed {"connection_id":154934,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:52:22] local.INFO: Acknowledgment sent {"connection_id":154934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:52:23] local.INFO: TCP Data received {"connection_id":152237,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:52:23] local.INFO: Processing buffer {"connection_id":152237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:52:23] local.INFO: IMEI packet received {"connection_id":152237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":152237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:52:24] local.INFO: TCP Data received {"connection_id":152237,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:52:24] local.INFO: Processing buffer {"connection_id":152237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:52:24] local.INFO: IMEI packet received {"connection_id":152237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":152237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:52:25] local.INFO: TCP Data received {"connection_id":152237,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01fb288012d9dc28005b8dcc8001200e92a..."} 
[2026-08-11 14:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01fb288012d9dc28005b8dcc8001200e92a..."} 
[2026-08-11 14:52:25] local.INFO: Processing buffer {"connection_id":152237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01fb288012d9dc28005b8dcc8001200e92a..."} 
[2026-08-11 14:52:25] local.INFO: Packet analysis {"connection_id":152237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01f"} 
[2026-08-11 14:52:25] local.INFO: Extracted packet for processing {"connection_id":152237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01f"} 
[2026-08-11 14:52:25] local.INFO: GPS Element Parsed {"raw_longitude":765313664,"raw_latitude":96001224,"longitude_deg":76.5313664,"latitude_deg":9.6001224,"altitude":18,"angle":233,"satellites":42,"speed":17,"hex_longitude":"2d9dc280","hex_latitude":"05b8dcc8","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328647680001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377711548702916608,"note":"Value kept but may cause issues"} 
[2026-08-11 14:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406789836056576,"note":"Value kept but may cause issues"} 
[2026-08-11 14:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786440037000,"timestamp_ms":1786440037000,"timestamp_seconds":1786440037,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01fb288"} 
[2026-08-11 14:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 14:52:25] 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-08-11 14: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-08-11 14:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:52:25] 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-08-11 14:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328647680001,"66":28093,"152":206,"83":16640,"24":17,"16":377711548702916608,"45":-7077406789836056576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-08-11 14:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328647680001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:52:25] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-11 14:52:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377711548702916608,"km_value":377711548702916.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406789836056576,"description":"Unknown IO ID 45"} 
[2026-08-11 14:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328647680001,"power":28093,"unknown_152":206,"unknown_83":16640,"ignition":17,"odometer":null,"unknown_45":-7077406789836056576}} 
[2026-08-11 14:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":152237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:52:25] local.INFO: GPS data processed {"connection_id":152237,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:52:25] local.INFO: Acknowledgment sent {"connection_id":152237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:52:30] local.INFO: TCP Data received {"connection_id":152237,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01fc610012d9dbdc005b8da00001100f52a..."} 
[2026-08-11 14:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01fc610012d9dbdc005b8da00001100f52a..."} 
[2026-08-11 14:52:30] local.INFO: Processing buffer {"connection_id":152237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01fc610012d9dbdc005b8da00001100f52a..."} 
[2026-08-11 14:52:30] local.INFO: Packet analysis {"connection_id":152237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01f"} 
[2026-08-11 14:52:30] local.INFO: Extracted packet for processing {"connection_id":152237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01f"} 
[2026-08-11 14:52:30] local.INFO: GPS Element Parsed {"raw_longitude":765312448,"raw_latitude":96000512,"longitude_deg":76.5312448,"latitude_deg":9.6000512,"altitude":17,"angle":245,"satellites":42,"speed":8,"hex_longitude":"2d9dbdc0","hex_latitude":"05b8da00","is_valid_coordinates":true} 
[2026-08-11 14:52: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-08-11 14:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328649472001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377711617422393344,"note":"Value kept but may cause issues"} 
[2026-08-11 14:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7078954902208329728,"note":"Value kept but may cause issues"} 
[2026-08-11 14:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786440042000,"timestamp_ms":1786440042000,"timestamp_seconds":1786440042,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01fc610"} 
[2026-08-11 14:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14:52: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-11 14:52:30] 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-08-11 14:52: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-08-11 14:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:52:30] 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-08-11 14:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328649472001,"66":27995,"152":206,"83":16640,"24":8,"16":377711617422393344,"45":-7078954902208329728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-08-11 14:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328649472001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:52:30] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-11 14:52:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377711617422393344,"km_value":377711617422393.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7078954902208329728,"description":"Unknown IO ID 45"} 
[2026-08-11 14:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328649472001,"power":27995,"unknown_152":206,"unknown_83":16640,"ignition":8,"odometer":null,"unknown_45":-7078954902208329728}} 
[2026-08-11 14:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":152237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:52:30] local.INFO: GPS data processed {"connection_id":152237,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:52:30] local.INFO: Acknowledgment sent {"connection_id":152237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:53:01] local.INFO: TCP Data received {"connection_id":152237,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01fd5b0012d9db9c005b8d8f0001401002b..."} 
[2026-08-11 14:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01fd5b0012d9db9c005b8d8f0001401002b..."} 
[2026-08-11 14:53:01] local.INFO: Processing buffer {"connection_id":152237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01fd5b0012d9db9c005b8d8f0001401002b..."} 
[2026-08-11 14:53:01] local.INFO: Packet analysis {"connection_id":152237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01f"} 
[2026-08-11 14:53:01] local.INFO: Extracted packet for processing {"connection_id":152237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01f"} 
[2026-08-11 14:53:01] local.INFO: GPS Element Parsed {"raw_longitude":765311424,"raw_latitude":96000240,"longitude_deg":76.5311424,"latitude_deg":9.600024,"altitude":20,"angle":256,"satellites":43,"speed":10,"hex_longitude":"2d9db9c0","hex_latitude":"05b8d8f0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328650752001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377711664667033600,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7080291908347887616,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786440046000,"timestamp_ms":1786440046000,"timestamp_seconds":1786440046,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01fd5b0"} 
[2026-08-11 14:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 14:53:01] 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-08-11 14: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-08-11 14:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:53:01] 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-08-11 14:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328650752001,"66":27930,"152":206,"83":16640,"24":10,"16":377711664667033600,"45":-7080291908347887616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-08-11 14:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328650752001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:53:01] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-11 14:53:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377711664667033600,"km_value":377711664667033.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7080291908347887616,"description":"Unknown IO ID 45"} 
[2026-08-11 14:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328650752001,"power":27930,"unknown_152":206,"unknown_83":16640,"ignition":10,"odometer":null,"unknown_45":-7080291908347887616}} 
[2026-08-11 14:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":152237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:53:01] local.INFO: GPS data processed {"connection_id":152237,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:53:01] local.INFO: Acknowledgment sent {"connection_id":152237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:53:06] local.INFO: TCP Data received {"connection_id":154934,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff01fe550012d1af4c0072469a00026002925..."} 
[2026-08-11 14:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff01fe550012d1af4c0072469a00026002925..."} 
[2026-08-11 14:53:06] local.INFO: Processing buffer {"connection_id":154934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff01fe550012d1af4c0072469a00026002925..."} 
[2026-08-11 14:53:06] local.INFO: Packet analysis {"connection_id":154934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff01f"} 
[2026-08-11 14:53:06] local.INFO: Extracted packet for processing {"connection_id":154934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff01f"} 
[2026-08-11 14:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756741312,"raw_latitude":119826848,"longitude_deg":75.6741312,"latitude_deg":11.9826848,"altitude":38,"angle":41,"satellites":37,"speed":36,"hex_longitude":"2d1af4c0","hex_latitude":"072469a0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328649984001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11665324449464320,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936688607931226112,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786440050000,"timestamp_ms":1786440050000,"timestamp_seconds":1786440050,"priority":1,"record_length":96,"hex_timestamp":"0000019ff01fe550"} 
[2026-08-11 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-08-11 14:53:06] 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-08-11 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-11 14:53:06] 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-08-11 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-08-11 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-08-11 14:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328649984001,"66":14428,"176":206,"83":42752,"24":36,"16":11665324449464320,"45":1936688607931226112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-11 14:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328649984001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:53:06] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-11 14:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11665324449464320,"km_value":11665324449464.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936688607931226112,"description":"Unknown IO ID 45"} 
[2026-08-11 14:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328649984001,"power":14428,"unknown_176":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1936688607931226112}} 
[2026-08-11 14:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":154934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:53:06] local.INFO: GPS data processed {"connection_id":154934,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:53:06] local.INFO: Acknowledgment sent {"connection_id":154934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:53:10] local.INFO: TCP Data received {"connection_id":153552,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:53:10] local.INFO: Processing buffer {"connection_id":153552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:53:10] local.INFO: IMEI packet received {"connection_id":153552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":153552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:53:11] local.INFO: TCP Data received {"connection_id":153552,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:53:11] local.INFO: Processing buffer {"connection_id":153552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:53:11] local.INFO: IMEI packet received {"connection_id":153552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":153552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:53:15] local.INFO: TCP Data received {"connection_id":153552,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:53:15] local.INFO: Processing buffer {"connection_id":153552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:53:15] local.INFO: IMEI packet received {"connection_id":153552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":153552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:53:16] local.INFO: TCP Data received {"connection_id":153552,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0202f88012d1b0dc0072483c80020002d24..."} 
[2026-08-11 14:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0202f88012d1b0dc0072483c80020002d24..."} 
[2026-08-11 14:53:16] local.INFO: Processing buffer {"connection_id":153552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0202f88012d1b0dc0072483c80020002d24..."} 
[2026-08-11 14:53:16] local.INFO: Packet analysis {"connection_id":153552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff020"} 
[2026-08-11 14:53:16] local.INFO: Extracted packet for processing {"connection_id":153552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff020"} 
[2026-08-11 14:53:16] local.INFO: GPS Element Parsed {"raw_longitude":756747712,"raw_latitude":119833544,"longitude_deg":75.6747712,"latitude_deg":11.9833544,"altitude":32,"angle":45,"satellites":36,"speed":23,"hex_longitude":"2d1b0dc0","hex_latitude":"072483c8","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328652800001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11665771126063104,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942388476211732480,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786440069000,"timestamp_ms":1786440069000,"timestamp_seconds":1786440069,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0202f88"} 
[2026-08-11 14:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:53:16] 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-08-11 14: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 14:53:16] 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-08-11 14: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-08-11 14:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328652800001,"66":14243,"136":206,"83":42752,"24":23,"16":11665771126063104,"45":1942388476211732480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-11 14:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328652800001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:53:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-11 14:53:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11665771126063104,"km_value":11665771126063.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942388476211732480,"description":"Unknown IO ID 45"} 
[2026-08-11 14:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328652800001,"power":14243,"unknown_136":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1942388476211732480}} 
[2026-08-11 14:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":153552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:53:16] local.INFO: GPS data processed {"connection_id":153552,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:53:16] local.INFO: Acknowledgment sent {"connection_id":153552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:53:19] local.INFO: TCP Data received {"connection_id":152238,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:53:19] local.INFO: Processing buffer {"connection_id":152238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:53:19] local.INFO: IMEI packet received {"connection_id":152238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":152238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:53:24] local.INFO: TCP Data received {"connection_id":152238,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:53:24] local.INFO: Processing buffer {"connection_id":152238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:53:24] local.INFO: IMEI packet received {"connection_id":152238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":152238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:53:25] local.INFO: TCP Data received {"connection_id":152238,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02027b8012d9d9d8005b8d270001300fd2a..."} 
[2026-08-11 14:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02027b8012d9d9d8005b8d270001300fd2a..."} 
[2026-08-11 14:53:25] local.INFO: Processing buffer {"connection_id":152238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02027b8012d9d9d8005b8d270001300fd2a..."} 
[2026-08-11 14:53:25] local.INFO: Packet analysis {"connection_id":152238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff020"} 
[2026-08-11 14:53:25] local.INFO: Extracted packet for processing {"connection_id":152238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff020"} 
[2026-08-11 14:53:25] local.INFO: GPS Element Parsed {"raw_longitude":765304192,"raw_latitude":95998576,"longitude_deg":76.5304192,"latitude_deg":9.5998576,"altitude":19,"angle":253,"satellites":42,"speed":2,"hex_longitude":"2d9d9d80","hex_latitude":"05b8d270","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328651776001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377712021149319168,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7081417808254799872,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786440067000,"timestamp_ms":1786440067000,"timestamp_seconds":1786440067,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02027b8"} 
[2026-08-11 14:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 14:53:25] 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-08-11 14: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-08-11 14:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:53:25] 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-08-11 14:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328651776001,"66":28050,"152":206,"83":16640,"24":2,"16":377712021149319168,"45":-7081417808254799872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-08-11 14:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328651776001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:53:25] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-11 14:53:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377712021149319168,"km_value":377712021149319.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7081417808254799872,"description":"Unknown IO ID 45"} 
[2026-08-11 14:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328651776001,"power":28050,"unknown_152":206,"unknown_83":16640,"ignition":2,"odometer":null,"unknown_45":-7081417808254799872}} 
[2026-08-11 14:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":152238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:53:25] local.INFO: GPS data processed {"connection_id":152238,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:53:25] local.INFO: Acknowledgment sent {"connection_id":152238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:53:48] local.INFO: TCP Data received {"connection_id":153552,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0205e68012d1b2a0007249a000022003625..."} 
[2026-08-11 14:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0205e68012d1b2a0007249a000022003625..."} 
[2026-08-11 14:53:48] local.INFO: Processing buffer {"connection_id":153552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0205e68012d1b2a0007249a000022003625..."} 
[2026-08-11 14:53:48] local.INFO: Packet analysis {"connection_id":153552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff020"} 
[2026-08-11 14:53:48] local.INFO: Extracted packet for processing {"connection_id":153552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff020"} 
[2026-08-11 14:53:48] local.INFO: GPS Element Parsed {"raw_longitude":756754944,"raw_latitude":119839232,"longitude_deg":75.6754944,"latitude_deg":11.9839232,"altitude":34,"angle":54,"satellites":37,"speed":32,"hex_longitude":"2d1b2a00","hex_latitude":"07249a00","is_valid_coordinates":true} 
[2026-08-11 14:53: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-08-11 14:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328657664001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11666209212727296,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949425350631213056,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786440081000,"timestamp_ms":1786440081000,"timestamp_seconds":1786440081,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0205e68"} 
[2026-08-11 14:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:53:48] 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-08-11 14:53: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-11 14:53:48] 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-08-11 14:53: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-08-11 14:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328657664001,"66":13972,"136":206,"83":42752,"24":32,"16":11666209212727296,"45":1949425350631213056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-11 14:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328657664001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:53:48] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-11 14:53:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11666209212727296,"km_value":11666209212727.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949425350631213056,"description":"Unknown IO ID 45"} 
[2026-08-11 14:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328657664001,"power":13972,"unknown_136":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1949425350631213056}} 
[2026-08-11 14:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":153552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:53:48] local.INFO: GPS data processed {"connection_id":153552,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:53:48] local.INFO: Acknowledgment sent {"connection_id":153552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:53:56] local.INFO: TCP Data received {"connection_id":152238,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02079c0012d9d924005b8cf10001100fa2b..."} 
[2026-08-11 14:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02079c0012d9d924005b8cf10001100fa2b..."} 
[2026-08-11 14:53:56] local.INFO: Processing buffer {"connection_id":152238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02079c0012d9d924005b8cf10001100fa2b..."} 
[2026-08-11 14:53:56] local.INFO: Packet analysis {"connection_id":152238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff020"} 
[2026-08-11 14:53:56] local.INFO: Extracted packet for processing {"connection_id":152238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff020"} 
[2026-08-11 14:53:56] local.INFO: GPS Element Parsed {"raw_longitude":765301312,"raw_latitude":95997712,"longitude_deg":76.5301312,"latitude_deg":9.5997712,"altitude":17,"angle":250,"satellites":43,"speed":10,"hex_longitude":"2d9d9240","hex_latitude":"05b8cf10","is_valid_coordinates":true} 
[2026-08-11 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-08-11 14:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328657152001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377712167178207232,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7089369476347301888,"note":"Value kept but may cause issues"} 
[2026-08-11 14:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786440088000,"timestamp_ms":1786440088000,"timestamp_seconds":1786440088,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02079c0"} 
[2026-08-11 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-08-11 14:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 14:53: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-08-11 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-08-11 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-08-11 14:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:53:56] 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-08-11 14:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328657152001,"66":27843,"152":206,"83":16640,"24":10,"16":377712167178207232,"45":-7089369476347301888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-08-11 14:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328657152001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:53:56] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-11 14:53:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377712167178207232,"km_value":377712167178207.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7089369476347301888,"description":"Unknown IO ID 45"} 
[2026-08-11 14:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328657152001,"power":27843,"unknown_152":206,"unknown_83":16640,"ignition":10,"odometer":null,"unknown_45":-7089369476347301888}} 
[2026-08-11 14:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":152238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:53:56] local.INFO: GPS data processed {"connection_id":152238,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:53:56] local.INFO: Acknowledgment sent {"connection_id":152238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:54:12] local.INFO: TCP Data received {"connection_id":152610,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:54:12] local.INFO: Processing buffer {"connection_id":152610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:54:12] local.INFO: IMEI packet received {"connection_id":152610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":152610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:54:15] local.INFO: TCP Data received {"connection_id":152610,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:54:15] local.INFO: Processing buffer {"connection_id":152610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:54:15] local.INFO: IMEI packet received {"connection_id":152610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":152610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:54:19] local.INFO: TCP Data received {"connection_id":154935,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:54:19] local.INFO: Processing buffer {"connection_id":154935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:54:19] local.INFO: IMEI packet received {"connection_id":154935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":154935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:54:20] local.INFO: TCP Data received {"connection_id":152610,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:54:20] local.INFO: Processing buffer {"connection_id":152610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:54:20] local.INFO: IMEI packet received {"connection_id":152610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":152610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:54:22] local.INFO: TCP Data received {"connection_id":152610,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff021c1e0012d1b6300072551280025016125..."} 
[2026-08-11 14:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff021c1e0012d1b6300072551280025016125..."} 
[2026-08-11 14:54:22] local.INFO: Processing buffer {"connection_id":152610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff021c1e0012d1b6300072551280025016125..."} 
[2026-08-11 14:54:22] local.INFO: Packet analysis {"connection_id":152610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff021"} 
[2026-08-11 14:54:22] local.INFO: Extracted packet for processing {"connection_id":152610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff021"} 
[2026-08-11 14:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756769536,"raw_latitude":119886120,"longitude_deg":75.6769536,"latitude_deg":11.988612,"altitude":37,"angle":353,"satellites":37,"speed":12,"hex_longitude":"2d1b6300","hex_latitude":"07255128","is_valid_coordinates":true} 
[2026-08-11 14:54: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-08-11 14:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328682240001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11668743243431936,"note":"Value kept but may cause issues"} 
[2026-08-11 14:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972928511198838784,"note":"Value kept but may cause issues"} 
[2026-08-11 14:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786440172000,"timestamp_ms":1786440172000,"timestamp_seconds":1786440172,"priority":1,"record_length":96,"hex_timestamp":"0000019ff021c1e0"} 
[2026-08-11 14:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:54:22] 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-08-11 14:54: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-11 14:54:22] 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-08-11 14:54: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-08-11 14:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328682240001,"66":14461,"216":206,"83":42752,"24":12,"16":11668743243431936,"45":1972928511198838784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-11 14:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328682240001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:54:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 14:54:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11668743243431936,"km_value":11668743243431.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972928511198838784,"description":"Unknown IO ID 45"} 
[2026-08-11 14:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328682240001,"power":14461,"unknown_216":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1972928511198838784}} 
[2026-08-11 14:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":152610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:54:22] local.INFO: GPS data processed {"connection_id":152610,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:54:22] local.INFO: Acknowledgment sent {"connection_id":152610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:54:24] local.INFO: TCP Data received {"connection_id":154935,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:54:24] local.INFO: Processing buffer {"connection_id":154935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:54:24] local.INFO: IMEI packet received {"connection_id":154935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":154935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:54:25] local.INFO: TCP Data received {"connection_id":154935,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff020b840012d9d898005b8cae0000f00ed2c..."} 
[2026-08-11 14:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff020b840012d9d898005b8cae0000f00ed2c..."} 
[2026-08-11 14:54:25] local.INFO: Processing buffer {"connection_id":154935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff020b840012d9d898005b8cae0000f00ed2c..."} 
[2026-08-11 14:54:25] local.INFO: Packet analysis {"connection_id":154935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff020"} 
[2026-08-11 14:54:25] local.INFO: Extracted packet for processing {"connection_id":154935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff020"} 
[2026-08-11 14:54:25] local.INFO: GPS Element Parsed {"raw_longitude":765299072,"raw_latitude":95996640,"longitude_deg":76.5299072,"latitude_deg":9.599664,"altitude":15,"angle":237,"satellites":44,"speed":7,"hex_longitude":"2d9d8980","hex_latitude":"05b8cae0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328662528001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377712287437291520,"note":"Value kept but may cause issues"} 
[2026-08-11 14:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7092536069835517952,"note":"Value kept but may cause issues"} 
[2026-08-11 14:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786440104000,"timestamp_ms":1786440104000,"timestamp_seconds":1786440104,"priority":1,"record_length":96,"hex_timestamp":"0000019ff020b840"} 
[2026-08-11 14:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 14:54:25] 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-08-11 14: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-08-11 14:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:54:25] 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-08-11 14:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328662528001,"66":27865,"152":206,"83":16640,"24":7,"16":377712287437291520,"45":-7092536069835517952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-08-11 14:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328662528001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:54:25] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-11 14:54:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377712287437291520,"km_value":377712287437291.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7092536069835517952,"description":"Unknown IO ID 45"} 
[2026-08-11 14:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328662528001,"power":27865,"unknown_152":206,"unknown_83":16640,"ignition":7,"odometer":null,"unknown_45":-7092536069835517952}} 
[2026-08-11 14:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":154935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:54:25] local.INFO: GPS data processed {"connection_id":154935,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:54:25] local.INFO: Acknowledgment sent {"connection_id":154935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:54:53] local.INFO: TCP Data received {"connection_id":152610,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02213e8012d1b6240072558700023015821..."} 
[2026-08-11 14:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02213e8012d1b6240072558700023015821..."} 
[2026-08-11 14:54:53] local.INFO: Processing buffer {"connection_id":152610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02213e8012d1b6240072558700023015821..."} 
[2026-08-11 14:54:53] local.INFO: Packet analysis {"connection_id":152610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff022"} 
[2026-08-11 14:54:53] local.INFO: Extracted packet for processing {"connection_id":152610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff022"} 
[2026-08-11 14:54:53] local.INFO: GPS Element Parsed {"raw_longitude":756769344,"raw_latitude":119887984,"longitude_deg":75.6769344,"latitude_deg":11.9887984,"altitude":35,"angle":344,"satellites":33,"speed":0,"hex_longitude":"2d1b6240","hex_latitude":"07255870","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328684032001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11668842027679744,"note":"Value kept but may cause issues"} 
[2026-08-11 14:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973421092409255936,"note":"Value kept but may cause issues"} 
[2026-08-11 14:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786440193000,"timestamp_ms":1786440193000,"timestamp_seconds":1786440193,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02213e8"} 
[2026-08-11 14:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:54:53] 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-08-11 14: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 14:54:53] 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-08-11 14: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-08-11 14:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328684032001,"66":14407,"216":206,"83":42752,"24":0,"16":11668842027679744,"45":1973421092409255936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-11 14:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328684032001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:54:53] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 14:54:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11668842027679744,"km_value":11668842027679.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973421092409255936,"description":"Unknown IO ID 45"} 
[2026-08-11 14:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328684032001,"power":14407,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1973421092409255936}} 
[2026-08-11 14:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":152610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:54:54] local.INFO: GPS data processed {"connection_id":152610,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:54:54] local.INFO: Acknowledgment sent {"connection_id":152610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:54:57] local.INFO: TCP Data received {"connection_id":154935,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0210a48012d9d7e8005b8c2f8000d00eb2c..."} 
[2026-08-11 14:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0210a48012d9d7e8005b8c2f8000d00eb2c..."} 
[2026-08-11 14:54:57] local.INFO: Processing buffer {"connection_id":154935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0210a48012d9d7e8005b8c2f8000d00eb2c..."} 
[2026-08-11 14:54:57] local.INFO: Packet analysis {"connection_id":154935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff021"} 
[2026-08-11 14:54:57] local.INFO: Extracted packet for processing {"connection_id":154935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff021"} 
[2026-08-11 14:54:57] local.INFO: GPS Element Parsed {"raw_longitude":765296256,"raw_latitude":95994616,"longitude_deg":76.5296256,"latitude_deg":9.5994616,"altitude":13,"angle":235,"satellites":44,"speed":6,"hex_longitude":"2d9d7e80","hex_latitude":"05b8c2f8","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328666624001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377712454941016064,"note":"Value kept but may cause issues"} 
[2026-08-11 14:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7094998975882010624,"note":"Value kept but may cause issues"} 
[2026-08-11 14:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786440125000,"timestamp_ms":1786440125000,"timestamp_seconds":1786440125,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0210a48"} 
[2026-08-11 14:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:54:57] 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-08-11 14: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-08-11 14:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:54:57] 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-08-11 14:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328666624001,"66":27876,"152":206,"83":16640,"24":6,"16":377712454941016064,"45":-7094998975882010624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-08-11 14:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328666624001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:54:57] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-11 14:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377712454941016064,"km_value":377712454941016.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7094998975882010624,"description":"Unknown IO ID 45"} 
[2026-08-11 14:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328666624001,"power":27876,"unknown_152":206,"unknown_83":16640,"ignition":6,"odometer":null,"unknown_45":-7094998975882010624}} 
[2026-08-11 14:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":154935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:54:57] local.INFO: GPS data processed {"connection_id":154935,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:54:57] local.INFO: Acknowledgment sent {"connection_id":154935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:55:10] local.INFO: TCP Data received {"connection_id":152240,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:55:10] local.INFO: Processing buffer {"connection_id":152240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:55:10] local.INFO: IMEI packet received {"connection_id":152240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":152240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:55:15] local.INFO: TCP Data received {"connection_id":152240,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:55:15] local.INFO: Processing buffer {"connection_id":152240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:55:15] local.INFO: IMEI packet received {"connection_id":152240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":152240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:55:17] local.INFO: TCP Data received {"connection_id":152240,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02265f0012d1b6240072558700023015826..."} 
[2026-08-11 14:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02265f0012d1b6240072558700023015826..."} 
[2026-08-11 14:55:17] local.INFO: Processing buffer {"connection_id":152240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02265f0012d1b6240072558700023015826..."} 
[2026-08-11 14:55:17] local.INFO: Packet analysis {"connection_id":152240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff022"} 
[2026-08-11 14:55:17] local.INFO: Extracted packet for processing {"connection_id":152240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff022"} 
[2026-08-11 14:55:17] local.INFO: GPS Element Parsed {"raw_longitude":756769344,"raw_latitude":119887984,"longitude_deg":75.6769344,"latitude_deg":11.9887984,"altitude":35,"angle":344,"satellites":38,"speed":0,"hex_longitude":"2d1b6240","hex_latitude":"07255870","is_valid_coordinates":true} 
[2026-08-11 14:55: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-08-11 14:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328689408001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11668842027679744,"note":"Value kept but may cause issues"} 
[2026-08-11 14:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973209986177200128,"note":"Value kept but may cause issues"} 
[2026-08-11 14:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786440214000,"timestamp_ms":1786440214000,"timestamp_seconds":1786440214,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02265f0"} 
[2026-08-11 14:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:55:17] 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-08-11 14:55: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 14:55:17] 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-08-11 14:55: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-08-11 14:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328689408001,"66":14483,"216":206,"83":42752,"24":0,"16":11668842027679744,"45":1973209986177200128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-11 14:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328689408001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:55:17] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 14:55:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11668842027679744,"km_value":11668842027679.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973209986177200128,"description":"Unknown IO ID 45"} 
[2026-08-11 14:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328689408001,"power":14483,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1973209986177200128}} 
[2026-08-11 14:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":152240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:55:17] local.INFO: GPS data processed {"connection_id":152240,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:55:17] local.INFO: Acknowledgment sent {"connection_id":152240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:55:24] local.INFO: TCP Data received {"connection_id":153553,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:55:24] local.INFO: Processing buffer {"connection_id":153553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:55:24] local.INFO: IMEI packet received {"connection_id":153553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":153553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:55:29] local.INFO: TCP Data received {"connection_id":153553,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:55:29] local.INFO: Processing buffer {"connection_id":153553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:55:29] local.INFO: IMEI packet received {"connection_id":153553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":153553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:55:30] local.INFO: TCP Data received {"connection_id":153553,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0215c50012d9d740005b8bae8000f00eb2a..."} 
[2026-08-11 14:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0215c50012d9d740005b8bae8000f00eb2a..."} 
[2026-08-11 14:55:30] local.INFO: Processing buffer {"connection_id":153553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0215c50012d9d740005b8bae8000f00eb2a..."} 
[2026-08-11 14:55:30] local.INFO: Packet analysis {"connection_id":153553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff021"} 
[2026-08-11 14:55:30] local.INFO: Extracted packet for processing {"connection_id":153553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff021"} 
[2026-08-11 14:55:30] local.INFO: GPS Element Parsed {"raw_longitude":765293568,"raw_latitude":95992552,"longitude_deg":76.5293568,"latitude_deg":9.5992552,"altitude":15,"angle":235,"satellites":42,"speed":11,"hex_longitude":"2d9d7400","hex_latitude":"05b8bae8","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328672000001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377712622444740608,"note":"Value kept but may cause issues"} 
[2026-08-11 14:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7098095200626345984,"note":"Value kept but may cause issues"} 
[2026-08-11 14:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786440146000,"timestamp_ms":1786440146000,"timestamp_seconds":1786440146,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0215c50"} 
[2026-08-11 14:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 14:55:30] 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-08-11 14: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-08-11 14:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:55:30] 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-08-11 14:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328672000001,"66":27865,"152":206,"83":16640,"24":11,"16":377712622444740608,"45":-7098095200626345984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-08-11 14:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328672000001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:55:30] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-11 14:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377712622444740608,"km_value":377712622444740.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7098095200626345984,"description":"Unknown IO ID 45"} 
[2026-08-11 14:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328672000001,"power":27865,"unknown_152":206,"unknown_83":16640,"ignition":11,"odometer":null,"unknown_45":-7098095200626345984}} 
[2026-08-11 14:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":153553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:55:30] local.INFO: GPS data processed {"connection_id":153553,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:55:30] local.INFO: Acknowledgment sent {"connection_id":153553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:55:35] local.INFO: TCP Data received {"connection_id":153553,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff021ae58012d9d6ac005b8b350001500e92a..."} 
[2026-08-11 14:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff021ae58012d9d6ac005b8b350001500e92a..."} 
[2026-08-11 14:55:35] local.INFO: Processing buffer {"connection_id":153553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff021ae58012d9d6ac005b8b350001500e92a..."} 
[2026-08-11 14:55:35] local.INFO: Packet analysis {"connection_id":153553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff021"} 
[2026-08-11 14:55:35] local.INFO: Extracted packet for processing {"connection_id":153553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff021"} 
[2026-08-11 14:55:35] local.INFO: GPS Element Parsed {"raw_longitude":765291200,"raw_latitude":95990608,"longitude_deg":76.52912,"latitude_deg":9.5990608,"altitude":21,"angle":233,"satellites":42,"speed":4,"hex_longitude":"2d9d6ac0","hex_latitude":"05b8b350","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328677376001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377712772768595968,"note":"Value kept but may cause issues"} 
[2026-08-11 14:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7101050687882336256,"note":"Value kept but may cause issues"} 
[2026-08-11 14:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786440167000,"timestamp_ms":1786440167000,"timestamp_seconds":1786440167,"priority":1,"record_length":96,"hex_timestamp":"0000019ff021ae58"} 
[2026-08-11 14:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 14:55: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-08-11 14: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-08-11 14:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14: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-08-11 14:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328677376001,"66":27930,"152":206,"83":16640,"24":4,"16":377712772768595968,"45":-7101050687882336256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-08-11 14:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328677376001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:55:35] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-11 14:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377712772768595968,"km_value":377712772768595.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7101050687882336256,"description":"Unknown IO ID 45"} 
[2026-08-11 14:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328677376001,"power":27930,"unknown_152":206,"unknown_83":16640,"ignition":4,"odometer":null,"unknown_45":-7101050687882336256}} 
[2026-08-11 14:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":153553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:55:35] local.INFO: GPS data processed {"connection_id":153553,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:55:35] local.INFO: Acknowledgment sent {"connection_id":153553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:55:48] local.INFO: TCP Data received {"connection_id":152240,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02298b8012d1b644007255ba80024004b26..."} 
[2026-08-11 14:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02298b8012d1b644007255ba80024004b26..."} 
[2026-08-11 14:55:48] local.INFO: Processing buffer {"connection_id":152240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02298b8012d1b644007255ba80024004b26..."} 
[2026-08-11 14:55:48] local.INFO: Packet analysis {"connection_id":152240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff022"} 
[2026-08-11 14:55:48] local.INFO: Extracted packet for processing {"connection_id":152240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff022"} 
[2026-08-11 14:55:48] local.INFO: GPS Element Parsed {"raw_longitude":756769856,"raw_latitude":119888808,"longitude_deg":75.6769856,"latitude_deg":11.9888808,"altitude":36,"angle":75,"satellites":38,"speed":6,"hex_longitude":"2d1b6440","hex_latitude":"07255ba8","is_valid_coordinates":true} 
[2026-08-11 14:55: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-08-11 14:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328694784001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11668902157221888,"note":"Value kept but may cause issues"} 
[2026-08-11 14:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973209986177200128,"note":"Value kept but may cause issues"} 
[2026-08-11 14:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786440227000,"timestamp_ms":1786440227000,"timestamp_seconds":1786440227,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02298b8"} 
[2026-08-11 14:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:55:48] 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-08-11 14:55: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 14:55:48] 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-08-11 14:55: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-08-11 14:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328694784001,"66":14515,"216":206,"83":42752,"24":6,"16":11668902157221888,"45":1973209986177200128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-11 14:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328694784001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:55:48] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 14:55:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11668902157221888,"km_value":11668902157221.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973209986177200128,"description":"Unknown IO ID 45"} 
[2026-08-11 14:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328694784001,"power":14515,"unknown_216":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1973209986177200128}} 
[2026-08-11 14:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":152240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:55:48] local.INFO: GPS data processed {"connection_id":152240,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:55:48] local.INFO: Acknowledgment sent {"connection_id":152240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:56:09] local.INFO: TCP Data received {"connection_id":152611,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:56:09] local.INFO: Processing buffer {"connection_id":152611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:56:09] local.INFO: IMEI packet received {"connection_id":152611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":152611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:56:10] local.INFO: TCP Data received {"connection_id":152611,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:56:10] local.INFO: Processing buffer {"connection_id":152611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:56:10] local.INFO: IMEI packet received {"connection_id":152611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":152611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:56:15] local.INFO: TCP Data received {"connection_id":152611,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:56:15] local.INFO: Processing buffer {"connection_id":152611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:56:15] local.INFO: IMEI packet received {"connection_id":152611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":152611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:56:16] local.INFO: TCP Data received {"connection_id":152611,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff023e8a8012d1b810007258e98002a005727..."} 
[2026-08-11 14:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff023e8a8012d1b810007258e98002a005727..."} 
[2026-08-11 14:56:16] local.INFO: Processing buffer {"connection_id":152611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff023e8a8012d1b810007258e98002a005727..."} 
[2026-08-11 14:56:16] local.INFO: Packet analysis {"connection_id":152611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff023"} 
[2026-08-11 14:56:16] local.INFO: Extracted packet for processing {"connection_id":152611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff023"} 
[2026-08-11 14:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756777216,"raw_latitude":119901848,"longitude_deg":75.6777216,"latitude_deg":11.9901848,"altitude":42,"angle":87,"satellites":39,"speed":15,"hex_longitude":"2d1b8100","hex_latitude":"07258e98","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328718336001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11669743970811904,"note":"Value kept but may cause issues"} 
[2026-08-11 14:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979472804412667904,"note":"Value kept but may cause issues"} 
[2026-08-11 14:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786440313000,"timestamp_ms":1786440313000,"timestamp_seconds":1786440313,"priority":1,"record_length":96,"hex_timestamp":"0000019ff023e8a8"} 
[2026-08-11 14:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:56:16] 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-08-11 14: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 14:56:16] 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-08-11 14: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-08-11 14:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328718336001,"66":13124,"216":206,"83":42752,"24":15,"16":11669743970811904,"45":1979472804412667904},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-11 14:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328718336001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:56:16] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 14:56:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11669743970811904,"km_value":11669743970811.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979472804412667904,"description":"Unknown IO ID 45"} 
[2026-08-11 14:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328718336001,"power":13124,"unknown_216":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1979472804412667904}} 
[2026-08-11 14:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":152611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:56:16] local.INFO: GPS data processed {"connection_id":152611,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:56:16] local.INFO: Acknowledgment sent {"connection_id":152611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:56:19] local.INFO: TCP Data received {"connection_id":154936,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:56:19] local.INFO: Processing buffer {"connection_id":154936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:56:19] local.INFO: IMEI packet received {"connection_id":154936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":154936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:56:23] local.INFO: TCP Data received {"connection_id":154936,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:56:23] local.INFO: Processing buffer {"connection_id":154936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:56:23] local.INFO: IMEI packet received {"connection_id":154936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":154936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:56:24] local.INFO: TCP Data received {"connection_id":154936,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0240bd0012d9d008005b87158001701082d..."} 
[2026-08-11 14:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0240bd0012d9d008005b87158001701082d..."} 
[2026-08-11 14:56:24] local.INFO: Processing buffer {"connection_id":154936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0240bd0012d9d008005b87158001701082d..."} 
[2026-08-11 14:56:24] local.INFO: Packet analysis {"connection_id":154936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff024"} 
[2026-08-11 14:56:24] local.INFO: Extracted packet for processing {"connection_id":154936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff024"} 
[2026-08-11 14:56:24] local.INFO: GPS Element Parsed {"raw_longitude":765264000,"raw_latitude":95973720,"longitude_deg":76.5264,"latitude_deg":9.597372,"altitude":23,"angle":264,"satellites":45,"speed":10,"hex_longitude":"2d9d0080","hex_latitude":"05b87158","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328717056001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377714443510874112,"note":"Value kept but may cause issues"} 
[2026-08-11 14:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7126453804535089152,"note":"Value kept but may cause issues"} 
[2026-08-11 14:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786440322000,"timestamp_ms":1786440322000,"timestamp_seconds":1786440322,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0240bd0"} 
[2026-08-11 14:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 14:56:24] 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-08-11 14: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-08-11 14:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":154936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":154936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":154936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:56:24] 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-08-11 14:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328717056001,"66":27930,"154":206,"83":16640,"24":10,"16":377714443510874112,"45":-7126453804535089152},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 14:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328717056001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:56:24] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 14:56:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377714443510874112,"km_value":377714443510874.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7126453804535089152,"description":"Unknown IO ID 45"} 
[2026-08-11 14:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328717056001,"power":27930,"unknown_154":206,"unknown_83":16640,"ignition":10,"odometer":null,"unknown_45":-7126453804535089152}} 
[2026-08-11 14:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":154936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:56:24] local.INFO: GPS data processed {"connection_id":154936,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:56:24] local.INFO: Acknowledgment sent {"connection_id":154936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:56:47] local.INFO: TCP Data received {"connection_id":152611,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff023fc30012d1b8a8007258f88002a004c26..."} 
[2026-08-11 14:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff023fc30012d1b8a8007258f88002a004c26..."} 
[2026-08-11 14:56:47] local.INFO: Processing buffer {"connection_id":152611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff023fc30012d1b8a8007258f88002a004c26..."} 
[2026-08-11 14:56:47] local.INFO: Packet analysis {"connection_id":152611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff023"} 
[2026-08-11 14:56:47] local.INFO: Extracted packet for processing {"connection_id":152611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff023"} 
[2026-08-11 14:56:47] local.INFO: GPS Element Parsed {"raw_longitude":756779648,"raw_latitude":119902088,"longitude_deg":75.6779648,"latitude_deg":11.9902088,"altitude":42,"angle":76,"satellites":38,"speed":22,"hex_longitude":"2d1b8a80","hex_latitude":"07258f88","is_valid_coordinates":true} 
[2026-08-11 14:56: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-08-11 14:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328720128001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11669859934928896,"note":"Value kept but may cause issues"} 
[2026-08-11 14:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1981865341714601984,"note":"Value kept but may cause issues"} 
[2026-08-11 14:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786440318000,"timestamp_ms":1786440318000,"timestamp_seconds":1786440318,"priority":1,"record_length":96,"hex_timestamp":"0000019ff023fc30"} 
[2026-08-11 14:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:56:47] 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-08-11 14:56: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":68,"data_length":795,"current_offset":136} 
[2026-08-11 14:56:47] 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-08-11 14:56: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-08-11 14:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328720128001,"66":13156,"216":206,"83":42752,"24":22,"16":11669859934928896,"45":1981865341714601984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-11 14:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328720128001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:56:47] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 14:56:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11669859934928896,"km_value":11669859934928.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1981865341714601984,"description":"Unknown IO ID 45"} 
[2026-08-11 14:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328720128001,"power":13156,"unknown_216":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1981865341714601984}} 
[2026-08-11 14:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":152611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:56:47] local.INFO: GPS data processed {"connection_id":152611,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:56:47] local.INFO: Acknowledgment sent {"connection_id":152611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:56:55] local.INFO: TCP Data received {"connection_id":154936,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0244668012d9cf18005b86e68001500fd2b..."} 
[2026-08-11 14:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0244668012d9cf18005b86e68001500fd2b..."} 
[2026-08-11 14:56:55] local.INFO: Processing buffer {"connection_id":154936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0244668012d9cf18005b86e68001500fd2b..."} 
[2026-08-11 14:56:55] local.INFO: Packet analysis {"connection_id":154936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff024"} 
[2026-08-11 14:56:55] local.INFO: Extracted packet for processing {"connection_id":154936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff024"} 
[2026-08-11 14:56:55] local.INFO: GPS Element Parsed {"raw_longitude":765260160,"raw_latitude":95972968,"longitude_deg":76.526016,"latitude_deg":9.5972968,"altitude":21,"angle":253,"satellites":43,"speed":19,"hex_longitude":"2d9cf180","hex_latitude":"05b86e68","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328722432001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377714628194467840,"note":"Value kept but may cause issues"} 
[2026-08-11 14:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7133561047697238016,"note":"Value kept but may cause issues"} 
[2026-08-11 14:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786440337000,"timestamp_ms":1786440337000,"timestamp_seconds":1786440337,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0244668"} 
[2026-08-11 14:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 14:56:55] 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-08-11 14: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-08-11 14:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":154936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":154936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":154936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:56:55] 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-08-11 14:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328722432001,"66":27919,"234":206,"83":16640,"24":19,"16":377714628194467840,"45":-7133561047697238016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-11 14:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328722432001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:56:55] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-11 14:56:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377714628194467840,"km_value":377714628194467.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7133561047697238016,"description":"Unknown IO ID 45"} 
[2026-08-11 14:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328722432001,"power":27919,"unknown_234":206,"unknown_83":16640,"ignition":19,"odometer":null,"unknown_45":-7133561047697238016}} 
[2026-08-11 14:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":154936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:56:55] local.INFO: GPS data processed {"connection_id":154936,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:56:55] local.INFO: Acknowledgment sent {"connection_id":154936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:57:10] local.INFO: TCP Data received {"connection_id":153554,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:57:10] local.INFO: Processing buffer {"connection_id":153554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:57:10] local.INFO: IMEI packet received {"connection_id":153554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":153554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:57:12] local.INFO: TCP Data received {"connection_id":153554,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:57:12] local.INFO: Processing buffer {"connection_id":153554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:57:12] local.INFO: IMEI packet received {"connection_id":153554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":153554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:57:15] local.INFO: TCP Data received {"connection_id":153554,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:57:15] local.INFO: Processing buffer {"connection_id":153554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:57:15] local.INFO: IMEI packet received {"connection_id":153554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":153554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:57:16] local.INFO: TCP Data received {"connection_id":153554,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0241788012d1b948007259270002a007424..."} 
[2026-08-11 14:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0241788012d1b948007259270002a007424..."} 
[2026-08-11 14:57:16] local.INFO: Processing buffer {"connection_id":153554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0241788012d1b948007259270002a007424..."} 
[2026-08-11 14:57:16] local.INFO: Packet analysis {"connection_id":153554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff024"} 
[2026-08-11 14:57:16] local.INFO: Extracted packet for processing {"connection_id":153554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff024"} 
[2026-08-11 14:57:16] local.INFO: GPS Element Parsed {"raw_longitude":756782208,"raw_latitude":119902832,"longitude_deg":75.6782208,"latitude_deg":11.9902832,"altitude":42,"angle":116,"satellites":36,"speed":10,"hex_longitude":"2d1b9480","hex_latitude":"07259270","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328721408001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11669988783947776,"note":"Value kept but may cause issues"} 
[2026-08-11 14:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1984539353993414656,"note":"Value kept but may cause issues"} 
[2026-08-11 14:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786440325000,"timestamp_ms":1786440325000,"timestamp_seconds":1786440325,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0241788"} 
[2026-08-11 14:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:57:16] 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-08-11 14: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-11 14:57:16] 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-08-11 14: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-08-11 14:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328721408001,"66":13254,"216":206,"83":42752,"24":10,"16":11669988783947776,"45":1984539353993414656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-11 14:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328721408001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:57:16] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 14:57:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11669988783947776,"km_value":11669988783947.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1984539353993414656,"description":"Unknown IO ID 45"} 
[2026-08-11 14:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328721408001,"power":13254,"unknown_216":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1984539353993414656}} 
[2026-08-11 14:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":153554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:57:16] local.INFO: GPS data processed {"connection_id":153554,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:57:16] local.INFO: Acknowledgment sent {"connection_id":153554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:57:17] local.INFO: TCP Data received {"connection_id":152612,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:57:17] local.INFO: Processing buffer {"connection_id":152612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:57:17] local.INFO: IMEI packet received {"connection_id":152612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":152612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:57:19] local.INFO: TCP Data received {"connection_id":152612,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:57:19] local.INFO: Processing buffer {"connection_id":152612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:57:19] local.INFO: IMEI packet received {"connection_id":152612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":152612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:57:20] local.INFO: TCP Data received {"connection_id":152612,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:57:20] local.INFO: Processing buffer {"connection_id":152612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:57:20] local.INFO: IMEI packet received {"connection_id":152612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":152612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:57:20] local.INFO: TCP Data received {"connection_id":153554,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0241b70012d1b9540072591c0002b009526..."} 
[2026-08-11 14:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0241b70012d1b9540072591c0002b009526..."} 
[2026-08-11 14:57:20] local.INFO: Processing buffer {"connection_id":153554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0241b70012d1b9540072591c0002b009526..."} 
[2026-08-11 14:57:20] local.INFO: Packet analysis {"connection_id":153554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff024"} 
[2026-08-11 14:57:20] local.INFO: Extracted packet for processing {"connection_id":153554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff024"} 
[2026-08-11 14:57:20] local.INFO: GPS Element Parsed {"raw_longitude":756782400,"raw_latitude":119902656,"longitude_deg":75.67824,"latitude_deg":11.9902656,"altitude":43,"angle":149,"satellites":38,"speed":9,"hex_longitude":"2d1b9540","hex_latitude":"072591c0","is_valid_coordinates":true} 
[2026-08-11 14:57: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-08-11 14:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328723200001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11670001668849664,"note":"Value kept but may cause issues"} 
[2026-08-11 14:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987354103760711680,"note":"Value kept but may cause issues"} 
[2026-08-11 14:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786440326000,"timestamp_ms":1786440326000,"timestamp_seconds":1786440326,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0241b70"} 
[2026-08-11 14:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:57:20] 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-08-11 14:57: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 14:57:20] 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-08-11 14:57: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-08-11 14:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328723200001,"66":13254,"216":206,"83":42752,"24":9,"16":11670001668849664,"45":1987354103760711680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-11 14:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328723200001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:57:20] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 14:57:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11670001668849664,"km_value":11670001668849.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987354103760711680,"description":"Unknown IO ID 45"} 
[2026-08-11 14:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328723200001,"power":13254,"unknown_216":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1987354103760711680}} 
[2026-08-11 14:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":153554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:57:21] local.INFO: GPS data processed {"connection_id":153554,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:57:21] local.INFO: Acknowledgment sent {"connection_id":153554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:57:24] local.INFO: TCP Data received {"connection_id":152612,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:57:24] local.INFO: Processing buffer {"connection_id":152612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:57:24] local.INFO: IMEI packet received {"connection_id":152612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":152612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:57:25] local.INFO: TCP Data received {"connection_id":152612,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0252510012d9c8cc005b83bb0000c00e328..."} 
[2026-08-11 14:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0252510012d9c8cc005b83bb0000c00e328..."} 
[2026-08-11 14:57:25] local.INFO: Processing buffer {"connection_id":152612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0252510012d9c8cc005b83bb0000c00e328..."} 
[2026-08-11 14:57:25] local.INFO: Packet analysis {"connection_id":152612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff025"} 
[2026-08-11 14:57:25] local.INFO: Extracted packet for processing {"connection_id":152612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff025"} 
[2026-08-11 14:57:25] local.INFO: GPS Element Parsed {"raw_longitude":765234368,"raw_latitude":95959984,"longitude_deg":76.5234368,"latitude_deg":9.5959984,"altitude":12,"angle":227,"satellites":40,"speed":37,"hex_longitude":"2d9c8cc0","hex_latitude":"05b83bb0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328738304001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377716054123610112,"note":"Value kept but may cause issues"} 
[2026-08-11 14:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7158190108161583104,"note":"Value kept but may cause issues"} 
[2026-08-11 14:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786440394000,"timestamp_ms":1786440394000,"timestamp_seconds":1786440394,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0252510"} 
[2026-08-11 14:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 14:57:25] 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-08-11 14: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-08-11 14:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:57:25] 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-08-11 14:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328738304001,"66":27821,"234":206,"83":16640,"24":37,"16":377716054123610112,"45":-7158190108161583104},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-11 14:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328738304001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:57:25] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-11 14:57:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377716054123610112,"km_value":377716054123610.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7158190108161583104,"description":"Unknown IO ID 45"} 
[2026-08-11 14:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328738304001,"power":27821,"unknown_234":206,"unknown_83":16640,"ignition":37,"odometer":null,"unknown_45":-7158190108161583104}} 
[2026-08-11 14:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":152612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:57:25] local.INFO: GPS data processed {"connection_id":152612,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:57:25] local.INFO: Acknowledgment sent {"connection_id":152612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:57:52] local.INFO: TCP Data received {"connection_id":153554,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0241f58012d1b9580072590f0002a00a028..."} 
[2026-08-11 14:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0241f58012d1b9580072590f0002a00a028..."} 
[2026-08-11 14:57:52] local.INFO: Processing buffer {"connection_id":153554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0241f58012d1b9580072590f0002a00a028..."} 
[2026-08-11 14:57:52] local.INFO: Packet analysis {"connection_id":153554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff024"} 
[2026-08-11 14:57:52] local.INFO: Extracted packet for processing {"connection_id":153554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff024"} 
[2026-08-11 14:57:52] local.INFO: GPS Element Parsed {"raw_longitude":756782464,"raw_latitude":119902448,"longitude_deg":75.6782464,"latitude_deg":11.9902448,"altitude":42,"angle":160,"satellites":40,"speed":8,"hex_longitude":"2d1b9580","hex_latitude":"072590f0","is_valid_coordinates":true} 
[2026-08-11 14:57: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-08-11 14:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328723456001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11670010258784256,"note":"Value kept but may cause issues"} 
[2026-08-11 14:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987565209993199616,"note":"Value kept but may cause issues"} 
[2026-08-11 14:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786440327000,"timestamp_ms":1786440327000,"timestamp_seconds":1786440327,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0241f58"} 
[2026-08-11 14:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:57:52] 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-08-11 14:57: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 14:57:52] 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-08-11 14:57: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-08-11 14:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328723456001,"66":13243,"216":206,"83":42752,"24":8,"16":11670010258784256,"45":1987565209993199616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-11 14:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328723456001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:57:52] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 14:57:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11670010258784256,"km_value":11670010258784.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987565209993199616,"description":"Unknown IO ID 45"} 
[2026-08-11 14:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328723456001,"power":13243,"unknown_216":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1987565209993199616}} 
[2026-08-11 14:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":153554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:57:52] local.INFO: GPS data processed {"connection_id":153554,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:57:52] local.INFO: Acknowledgment sent {"connection_id":153554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:58:10] local.INFO: TCP Data received {"connection_id":154937,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:58:10] local.INFO: Processing buffer {"connection_id":154937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:58:10] local.INFO: IMEI packet received {"connection_id":154937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":154937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:58:15] local.INFO: TCP Data received {"connection_id":154937,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:58:15] local.INFO: Processing buffer {"connection_id":154937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:58:15] local.INFO: IMEI packet received {"connection_id":154937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":154937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:58:16] local.INFO: TCP Data received {"connection_id":154937,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0242ef8012d1b96c007258e30002b008e25..."} 
[2026-08-11 14:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0242ef8012d1b96c007258e30002b008e25..."} 
[2026-08-11 14:58:16] local.INFO: Processing buffer {"connection_id":154937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0242ef8012d1b96c007258e30002b008e25..."} 
[2026-08-11 14:58:16] local.INFO: Packet analysis {"connection_id":154937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff024"} 
[2026-08-11 14:58:16] local.INFO: Extracted packet for processing {"connection_id":154937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff024"} 
[2026-08-11 14:58:16] local.INFO: GPS Element Parsed {"raw_longitude":756782784,"raw_latitude":119901744,"longitude_deg":75.6782784,"latitude_deg":11.9901744,"altitude":43,"angle":142,"satellites":37,"speed":7,"hex_longitude":"2d1b96c0","hex_latitude":"07258e30","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328723712001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11670048913489920,"note":"Value kept but may cause issues"} 
[2026-08-11 14:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987635578737324032,"note":"Value kept but may cause issues"} 
[2026-08-11 14:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786440331000,"timestamp_ms":1786440331000,"timestamp_seconds":1786440331,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0242ef8"} 
[2026-08-11 14:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:58:16] 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-08-11 14: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 14:58:16] 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-08-11 14: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-08-11 14:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328723712001,"66":13222,"216":206,"83":42752,"24":7,"16":11670048913489920,"45":1987635578737324032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-11 14:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328723712001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:58:16] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 14:58:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11670048913489920,"km_value":11670048913489.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987635578737324032,"description":"Unknown IO ID 45"} 
[2026-08-11 14:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328723712001,"power":13222,"unknown_216":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1987635578737324032}} 
[2026-08-11 14:58:16] local.INFO: TCP Data received {"connection_id":152612,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0252510012d9c8cc005b83bb0000c00e328..."} 
[2026-08-11 14:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0252510012d9c8cc005b83bb0000c00e328..."} 
[2026-08-11 14:58:16] local.INFO: Processing buffer {"connection_id":152612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0252510012d9c8cc005b83bb0000c00e328..."} 
[2026-08-11 14:58:16] local.INFO: Packet analysis {"connection_id":152612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff025"} 
[2026-08-11 14:58:16] local.INFO: Extracted packet for processing {"connection_id":152612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff025"} 
[2026-08-11 14:58:16] local.INFO: GPS Element Parsed {"raw_longitude":765234368,"raw_latitude":95959984,"longitude_deg":76.5234368,"latitude_deg":9.5959984,"altitude":12,"angle":227,"satellites":40,"speed":37,"hex_longitude":"2d9c8cc0","hex_latitude":"05b83bb0","is_valid_coordinates":true} 
[2026-08-11 14: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-08-11 14:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328740864001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377716054123610112,"note":"Value kept but may cause issues"} 
[2026-08-11 14:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7166141776255012864,"note":"Value kept but may cause issues"} 
[2026-08-11 14:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786440394000,"timestamp_ms":1786440394000,"timestamp_seconds":1786440394,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0252510"} 
[2026-08-11 14:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 14: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 14:58:16] 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-08-11 14: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-08-11 14:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 14:58: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-08-11 14:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 14:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 14:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328740864001,"66":27821,"234":206,"83":16640,"24":37,"16":377716054123610112,"45":-7166141776255012864},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-11 14:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 14:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 14:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328740864001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:58:16] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-11 14:58:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 14:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377716054123610112,"km_value":377716054123610.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7166141776255012864,"description":"Unknown IO ID 45"} 
[2026-08-11 14:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328740864001,"power":27821,"unknown_234":206,"unknown_83":16640,"ignition":37,"odometer":null,"unknown_45":-7166141776255012864}} 
[2026-08-11 14:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":154937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:58:16] local.INFO: GPS data processed {"connection_id":154937,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:58:16] local.INFO: Acknowledgment sent {"connection_id":154937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":152612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:58:16] local.INFO: GPS data processed {"connection_id":152612,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:58:16] local.INFO: Acknowledgment sent {"connection_id":152612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:58:47] local.INFO: TCP Data received {"connection_id":154937,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0248100012d1b978007258c70002d009424..."} 
[2026-08-11 14:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0248100012d1b978007258c70002d009424..."} 
[2026-08-11 14:58:47] local.INFO: Processing buffer {"connection_id":154937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0248100012d1b978007258c70002d009424..."} 
[2026-08-11 14:58:47] local.INFO: Packet analysis {"connection_id":154937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff024"} 
[2026-08-11 14:58:47] local.INFO: Extracted packet for processing {"connection_id":154937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff024"} 
[2026-08-11 14:58:47] local.INFO: GPS Element Parsed {"raw_longitude":756782976,"raw_latitude":119901296,"longitude_deg":75.6782976,"latitude_deg":11.9901296,"altitude":45,"angle":148,"satellites":36,"speed":0,"hex_longitude":"2d1b9780","hex_latitude":"07258c70","is_valid_coordinates":true} 
[2026-08-11 14:58: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-08-11 14:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328724736001,"note":"Value kept but may cause issues"} 
[2026-08-11 14:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11670100453097472,"note":"Value kept but may cause issues"} 
[2026-08-11 14:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987987422458032128,"note":"Value kept but may cause issues"} 
[2026-08-11 14:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 14:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786440352000,"timestamp_ms":1786440352000,"timestamp_seconds":1786440352,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0248100"} 
[2026-08-11 14:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 14:58:47] 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-08-11 14:58: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":166,"data_length":795,"current_offset":136} 
[2026-08-11 14:58:47] 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-08-11 14:58: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-08-11 14:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 14:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 14:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 14:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 14:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 14:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 14:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 14:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328724736001,"66":13222,"216":206,"83":42752,"24":0,"16":11670100453097472,"45":1987987422458032128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-11 14:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 14:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 14:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328724736001,"description":"Unknown IO ID 0"} 
[2026-08-11 14:58:47] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 14:58:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 14:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11670100453097472,"km_value":11670100453097.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 14:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987987422458032128,"description":"Unknown IO ID 45"} 
[2026-08-11 14:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328724736001,"power":13222,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1987987422458032128}} 
[2026-08-11 14:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":154937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 14:58:47] local.INFO: GPS data processed {"connection_id":154937,"processed":1,"errors":0,"total":1} 
[2026-08-11 14:58:47] local.INFO: Acknowledgment sent {"connection_id":154937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 14:59:10] local.INFO: TCP Data received {"connection_id":152613,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:59:10] local.INFO: Processing buffer {"connection_id":152613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:59:10] local.INFO: IMEI packet received {"connection_id":152613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 14:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":152613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:59:11] local.INFO: TCP Data received {"connection_id":152613,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:59:11] local.INFO: Processing buffer {"connection_id":152613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:59:11] local.INFO: IMEI packet received {"connection_id":152613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":152613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:59:11] local.INFO: TCP Data received {"connection_id":152613,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:59:11] local.INFO: Processing buffer {"connection_id":152613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:59:11] local.INFO: IMEI packet received {"connection_id":152613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":152613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:59:12] local.INFO: TCP Data received {"connection_id":152613,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:59:12] local.INFO: Processing buffer {"connection_id":152613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 14:59:12] local.INFO: IMEI packet received {"connection_id":152613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 14:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":152613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 14:59:45] local.INFO: TCP Data received {"connection_id":152241,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:59:45] local.INFO: Processing buffer {"connection_id":152241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 14:59:45] local.INFO: IMEI packet received {"connection_id":152241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 14:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":152241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 14:59:52] local.INFO: TCP Data received {"connection_id":152241,"ip":"42.106.6.23","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 14:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152241,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 14:59:52] local.INFO: Processing buffer {"connection_id":152241,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 14:59:52] local.INFO: IMEI packet received {"connection_id":152241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 14:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":152241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:04:15] local.INFO: TCP Data received {"connection_id":152614,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:04:15] local.INFO: Processing buffer {"connection_id":152614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:04:15] local.INFO: IMEI packet received {"connection_id":152614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":152614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:04:16] local.INFO: TCP Data received {"connection_id":152614,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02972a0012d1b6f8007257478002b00b72a..."} 
[2026-08-11 15:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02972a0012d1b6f8007257478002b00b72a..."} 
[2026-08-11 15:04:16] local.INFO: Processing buffer {"connection_id":152614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02972a0012d1b6f8007257478002b00b72a..."} 
[2026-08-11 15:04:16] local.INFO: Packet analysis {"connection_id":152614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff029"} 
[2026-08-11 15:04:16] local.INFO: Extracted packet for processing {"connection_id":152614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff029"} 
[2026-08-11 15:04:16] local.INFO: GPS Element Parsed {"raw_longitude":756772736,"raw_latitude":119895160,"longitude_deg":75.6772736,"latitude_deg":11.989516,"altitude":43,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d1b6f80","hex_latitude":"07257478","is_valid_coordinates":true} 
[2026-08-11 15:04: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-08-11 15:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328807680001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11670920791851008,"note":"Value kept but may cause issues"} 
[2026-08-11 15:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976939529620453376,"note":"Value kept but may cause issues"} 
[2026-08-11 15:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786440676000,"timestamp_ms":1786440676000,"timestamp_seconds":1786440676,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02972a0"} 
[2026-08-11 15:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:04: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-08-11 15:04: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 15:04:16] 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-08-11 15:04: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-08-11 15:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328807680001,"66":14407,"216":206,"83":42752,"24":0,"16":11670920791851008,"45":1976939529620453376},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-11 15:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328807680001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:04:16] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 15:04:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 15:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11670920791851008,"km_value":11670920791851.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976939529620453376,"description":"Unknown IO ID 45"} 
[2026-08-11 15:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328807680001,"power":14407,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1976939529620453376}} 
[2026-08-11 15:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":152614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:04:17] local.INFO: GPS data processed {"connection_id":152614,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:04:17] local.INFO: Acknowledgment sent {"connection_id":152614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:04:46] local.INFO: TCP Data received {"connection_id":154944,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:04:46] local.INFO: Processing buffer {"connection_id":154944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:04:46] local.INFO: IMEI packet received {"connection_id":154944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":154944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:04:48] local.INFO: TCP Data received {"connection_id":154944,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02b37c0012d9c1b0005b5f210000f00d128..."} 
[2026-08-11 15:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02b37c0012d9c1b0005b5f210000f00d128..."} 
[2026-08-11 15:04:48] local.INFO: Processing buffer {"connection_id":154944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02b37c0012d9c1b0005b5f210000f00d128..."} 
[2026-08-11 15:04:48] local.INFO: Packet analysis {"connection_id":154944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff02b"} 
[2026-08-11 15:04:48] local.INFO: Extracted packet for processing {"connection_id":154944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff02b"} 
[2026-08-11 15:04:48] local.INFO: GPS Element Parsed {"raw_longitude":765205248,"raw_latitude":95810064,"longitude_deg":76.5205248,"latitude_deg":9.5810064,"altitude":15,"angle":209,"satellites":40,"speed":43,"hex_longitude":"2d9c1b00","hex_latitude":"05b5f210","is_valid_coordinates":true} 
[2026-08-11 15:04: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-08-11 15:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328840704001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377725331252969472,"note":"Value kept but may cause issues"} 
[2026-08-11 15:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7192881899079297024,"note":"Value kept but may cause issues"} 
[2026-08-11 15:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786440792000,"timestamp_ms":1786440792000,"timestamp_seconds":1786440792,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02b37c0"} 
[2026-08-11 15:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:04: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 15:04:48] 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-08-11 15:04: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-08-11 15:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:04:48] 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-08-11 15:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328840704001,"66":27974,"150":206,"83":16640,"24":43,"16":377725331252969472,"45":-7192881899079297024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,45]} 
[2026-08-11 15:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328840704001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:04:48] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-11 15:04:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 15:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377725331252969472,"km_value":377725331252969.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7192881899079297024,"description":"Unknown IO ID 45"} 
[2026-08-11 15:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328840704001,"power":27974,"unknown_150":206,"unknown_83":16640,"ignition":43,"odometer":null,"unknown_45":-7192881899079297024}} 
[2026-08-11 15:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":154944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:04:48] local.INFO: GPS data processed {"connection_id":154944,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:04:48] local.INFO: Acknowledgment sent {"connection_id":154944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:04:48] local.INFO: TCP Data received {"connection_id":152614,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff029c4a8012d1b6d0007256520002700c427..."} 
[2026-08-11 15:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff029c4a8012d1b6d0007256520002700c427..."} 
[2026-08-11 15:04:48] local.INFO: Processing buffer {"connection_id":152614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff029c4a8012d1b6d0007256520002700c427..."} 
[2026-08-11 15:04:48] local.INFO: Packet analysis {"connection_id":152614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff029"} 
[2026-08-11 15:04:48] local.INFO: Extracted packet for processing {"connection_id":152614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff029"} 
[2026-08-11 15:04:48] local.INFO: GPS Element Parsed {"raw_longitude":756772096,"raw_latitude":119891232,"longitude_deg":75.6772096,"latitude_deg":11.9891232,"altitude":39,"angle":196,"satellites":39,"speed":8,"hex_longitude":"2d1b6d00","hex_latitude":"07256520","is_valid_coordinates":true} 
[2026-08-11 15:04: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-08-11 15:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328813056001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11671118360346624,"note":"Value kept but may cause issues"} 
[2026-08-11 15:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976939529620453376,"note":"Value kept but may cause issues"} 
[2026-08-11 15:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786440697000,"timestamp_ms":1786440697000,"timestamp_seconds":1786440697,"priority":1,"record_length":96,"hex_timestamp":"0000019ff029c4a8"} 
[2026-08-11 15:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:04:48] 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-08-11 15:04: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 15:04:48] 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-08-11 15:04: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-08-11 15:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328813056001,"66":14483,"216":206,"83":42752,"24":8,"16":11671118360346624,"45":1976939529620453376},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-11 15:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328813056001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:04:48] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 15:04:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 15:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11671118360346624,"km_value":11671118360346.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976939529620453376,"description":"Unknown IO ID 45"} 
[2026-08-11 15:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328813056001,"power":14483,"unknown_216":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1976939529620453376}} 
[2026-08-11 15:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":152614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:04:48] local.INFO: GPS data processed {"connection_id":152614,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:04:48] local.INFO: Acknowledgment sent {"connection_id":152614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:05:19] local.INFO: TCP Data received {"connection_id":154945,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:05:19] local.INFO: Processing buffer {"connection_id":154945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:05:19] local.INFO: IMEI packet received {"connection_id":154945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":154945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:05:23] local.INFO: TCP Data received {"connection_id":154945,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:05:23] local.INFO: Processing buffer {"connection_id":154945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:05:23] local.INFO: IMEI packet received {"connection_id":154945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":154945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:05:24] local.INFO: TCP Data received {"connection_id":154945,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02b5700012d9c094005b5d318000d00d329..."} 
[2026-08-11 15:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02b5700012d9c094005b5d318000d00d329..."} 
[2026-08-11 15:05:24] local.INFO: Processing buffer {"connection_id":154945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02b5700012d9c094005b5d318000d00d329..."} 
[2026-08-11 15:05:24] local.INFO: Packet analysis {"connection_id":154945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff02b"} 
[2026-08-11 15:05:24] local.INFO: Extracted packet for processing {"connection_id":154945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff02b"} 
[2026-08-11 15:05:24] local.INFO: GPS Element Parsed {"raw_longitude":765200704,"raw_latitude":95802136,"longitude_deg":76.5200704,"latitude_deg":9.5802136,"altitude":13,"angle":211,"satellites":41,"speed":39,"hex_longitude":"2d9c0940","hex_latitude":"05b5d318","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328842752001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377725769339633664,"note":"Value kept but may cause issues"} 
[2026-08-11 15:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7198159554894229504,"note":"Value kept but may cause issues"} 
[2026-08-11 15:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786440800000,"timestamp_ms":1786440800000,"timestamp_seconds":1786440800,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02b5700"} 
[2026-08-11 15:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 15:05:24] 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-08-11 15: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-08-11 15:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":154945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":154945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":154945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:05:24] 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-08-11 15:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328842752001,"66":27876,"150":206,"83":16640,"24":39,"16":377725769339633664,"45":-7198159554894229504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,45]} 
[2026-08-11 15:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328842752001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:05:24] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-11 15:05:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 15:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377725769339633664,"km_value":377725769339633.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7198159554894229504,"description":"Unknown IO ID 45"} 
[2026-08-11 15:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328842752001,"power":27876,"unknown_150":206,"unknown_83":16640,"ignition":39,"odometer":null,"unknown_45":-7198159554894229504}} 
[2026-08-11 15:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":154945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:05:24] local.INFO: GPS data processed {"connection_id":154945,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:05:24] local.INFO: Acknowledgment sent {"connection_id":154945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:05:55] local.INFO: TCP Data received {"connection_id":154945,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02b7258012d9bfe0005b5baf0000e00c72a..."} 
[2026-08-11 15:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02b7258012d9bfe0005b5baf0000e00c72a..."} 
[2026-08-11 15:05:55] local.INFO: Processing buffer {"connection_id":154945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02b7258012d9bfe0005b5baf0000e00c72a..."} 
[2026-08-11 15:05:55] local.INFO: Packet analysis {"connection_id":154945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff02b"} 
[2026-08-11 15:05:55] local.INFO: Extracted packet for processing {"connection_id":154945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff02b"} 
[2026-08-11 15:05:55] local.INFO: GPS Element Parsed {"raw_longitude":765197824,"raw_latitude":95795952,"longitude_deg":76.5197824,"latitude_deg":9.5795952,"altitude":14,"angle":199,"satellites":42,"speed":38,"hex_longitude":"2d9bfe00","hex_latitude":"05b5baf0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 15:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328844800001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377726100052115456,"note":"Value kept but may cause issues"} 
[2026-08-11 15:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7203155735732873216,"note":"Value kept but may cause issues"} 
[2026-08-11 15:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786440807000,"timestamp_ms":1786440807000,"timestamp_seconds":1786440807,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02b7258"} 
[2026-08-11 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-08-11 15:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 15:05: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-08-11 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-08-11 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-08-11 15:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":154945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":154945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":154945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:05:55] 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-08-11 15:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328844800001,"66":27887,"150":206,"83":16640,"24":38,"16":377726100052115456,"45":-7203155735732873216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,45]} 
[2026-08-11 15:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328844800001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:05:55] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-11 15:05:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 15:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377726100052115456,"km_value":377726100052115.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7203155735732873216,"description":"Unknown IO ID 45"} 
[2026-08-11 15:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328844800001,"power":27887,"unknown_150":206,"unknown_83":16640,"ignition":38,"odometer":null,"unknown_45":-7203155735732873216}} 
[2026-08-11 15:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":154945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:05:55] local.INFO: GPS data processed {"connection_id":154945,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:05:55] local.INFO: Acknowledgment sent {"connection_id":154945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:06:19] local.INFO: TCP Data received {"connection_id":152244,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:06:19] local.INFO: Processing buffer {"connection_id":152244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:06:19] local.INFO: IMEI packet received {"connection_id":152244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":152244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:06:24] local.INFO: TCP Data received {"connection_id":152244,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:06:24] local.INFO: Processing buffer {"connection_id":152244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:06:24] local.INFO: IMEI packet received {"connection_id":152244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":152244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:06:25] local.INFO: TCP Data received {"connection_id":152244,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02b9198012d9bf6c005b59db8000f00bb27..."} 
[2026-08-11 15:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02b9198012d9bf6c005b59db8000f00bb27..."} 
[2026-08-11 15:06:25] local.INFO: Processing buffer {"connection_id":152244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02b9198012d9bf6c005b59db8000f00bb27..."} 
[2026-08-11 15:06:25] local.INFO: Packet analysis {"connection_id":152244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff02b"} 
[2026-08-11 15:06:25] local.INFO: Extracted packet for processing {"connection_id":152244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff02b"} 
[2026-08-11 15:06:25] local.INFO: GPS Element Parsed {"raw_longitude":765195968,"raw_latitude":95788472,"longitude_deg":76.5195968,"latitude_deg":9.5788472,"altitude":15,"angle":187,"satellites":39,"speed":37,"hex_longitude":"2d9bf6c0","hex_latitude":"05b59db8","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328846592001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377726473714270208,"note":"Value kept but may cause issues"} 
[2026-08-11 15:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7206322329222451200,"note":"Value kept but may cause issues"} 
[2026-08-11 15:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786440815000,"timestamp_ms":1786440815000,"timestamp_seconds":1786440815,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02b9198"} 
[2026-08-11 15:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 15:06:25] 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-08-11 15: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-08-11 15:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:06:25] 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-08-11 15:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328846592001,"66":27865,"150":206,"83":16640,"24":37,"16":377726473714270208,"45":-7206322329222451200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,45]} 
[2026-08-11 15:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328846592001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:06:25] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-11 15:06:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-08-11 15:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377726473714270208,"km_value":377726473714270.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7206322329222451200,"description":"Unknown IO ID 45"} 
[2026-08-11 15:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328846592001,"power":27865,"unknown_150":206,"unknown_83":16640,"ignition":37,"odometer":null,"unknown_45":-7206322329222451200}} 
[2026-08-11 15:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":152244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:06:25] local.INFO: GPS data processed {"connection_id":152244,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:06:25] local.INFO: Acknowledgment sent {"connection_id":152244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:06:57] local.INFO: TCP Data received {"connection_id":152244,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02d9538012d9c028005b40e70000700b629..."} 
[2026-08-11 15:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02d9538012d9c028005b40e70000700b629..."} 
[2026-08-11 15:06:57] local.INFO: Processing buffer {"connection_id":152244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02d9538012d9c028005b40e70000700b629..."} 
[2026-08-11 15:06:57] local.INFO: Packet analysis {"connection_id":152244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff02d"} 
[2026-08-11 15:06:57] local.INFO: Extracted packet for processing {"connection_id":152244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff02d"} 
[2026-08-11 15:06:57] local.INFO: GPS Element Parsed {"raw_longitude":765198976,"raw_latitude":95686256,"longitude_deg":76.5198976,"latitude_deg":9.5686256,"altitude":7,"angle":182,"satellites":41,"speed":33,"hex_longitude":"2d9c0280","hex_latitude":"05b40e70","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328879360001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377731460171300864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7204774216876165120,"note":"Value kept but may cause issues"} 
[2026-08-11 15:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786440947000,"timestamp_ms":1786440947000,"timestamp_seconds":1786440947,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02d9538"} 
[2026-08-11 15:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 15:06:57] 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-08-11 15: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-08-11 15:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:06:57] 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-08-11 15:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328879360001,"66":27800,"228":206,"83":17408,"24":33,"16":377731460171300864,"45":-7204774216876165120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,83,24,16,45]} 
[2026-08-11 15:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328879360001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:06:57] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-11 15:06:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377731460171300864,"km_value":377731460171300.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7204774216876165120,"description":"Unknown IO ID 45"} 
[2026-08-11 15:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328879360001,"power":27800,"unknown_228":206,"unknown_83":17408,"ignition":33,"odometer":null,"unknown_45":-7204774216876165120}} 
[2026-08-11 15:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":152244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:06:57] local.INFO: GPS data processed {"connection_id":152244,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:06:57] local.INFO: Acknowledgment sent {"connection_id":152244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:07:24] local.INFO: TCP Data received {"connection_id":154946,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:07:24] local.INFO: Processing buffer {"connection_id":154946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:07:24] local.INFO: IMEI packet received {"connection_id":154946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":154946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:07:28] local.INFO: TCP Data received {"connection_id":154946,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:07:28] local.INFO: Processing buffer {"connection_id":154946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:07:28] local.INFO: IMEI packet received {"connection_id":154946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":154946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:07:37] local.INFO: TCP Data received {"connection_id":154946,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02daca8012d9bff8005b3fa78000800c328..."} 
[2026-08-11 15:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02daca8012d9bff8005b3fa78000800c328..."} 
[2026-08-11 15:07:37] local.INFO: Processing buffer {"connection_id":154946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02daca8012d9bff8005b3fa78000800c328..."} 
[2026-08-11 15:07:37] local.INFO: Packet analysis {"connection_id":154946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff02d"} 
[2026-08-11 15:07:37] local.INFO: Extracted packet for processing {"connection_id":154946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff02d"} 
[2026-08-11 15:07:37] local.INFO: GPS Element Parsed {"raw_longitude":765198208,"raw_latitude":95681144,"longitude_deg":76.5198208,"latitude_deg":9.5681144,"altitude":8,"angle":195,"satellites":40,"speed":34,"hex_longitude":"2d9bff80","hex_latitude":"05b3fa78","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328882432001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377731713574371328,"note":"Value kept but may cause issues"} 
[2026-08-11 15:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7205055691855335424,"note":"Value kept but may cause issues"} 
[2026-08-11 15:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786440953000,"timestamp_ms":1786440953000,"timestamp_seconds":1786440953,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02daca8"} 
[2026-08-11 15:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 15:07:37] 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-08-11 15: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-08-11 15:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15: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-08-11 15:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328882432001,"66":27745,"228":206,"83":17408,"24":34,"16":377731713574371328,"45":-7205055691855335424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,83,24,16,45]} 
[2026-08-11 15:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328882432001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:07:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-11 15:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377731713574371328,"km_value":377731713574371.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7205055691855335424,"description":"Unknown IO ID 45"} 
[2026-08-11 15:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328882432001,"power":27745,"unknown_228":206,"unknown_83":17408,"ignition":34,"odometer":null,"unknown_45":-7205055691855335424}} 
[2026-08-11 15:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":154946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:07:37] local.INFO: GPS data processed {"connection_id":154946,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:07:37] local.INFO: Acknowledgment sent {"connection_id":154946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:07:38] local.INFO: TCP Data received {"connection_id":154946,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02dfeb0012d9bf90005b3e578000b00c32b..."} 
[2026-08-11 15:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02dfeb0012d9bf90005b3e578000b00c32b..."} 
[2026-08-11 15:07:38] local.INFO: Processing buffer {"connection_id":154946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02dfeb0012d9bf90005b3e578000b00c32b..."} 
[2026-08-11 15:07:38] local.INFO: Packet analysis {"connection_id":154946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff02d"} 
[2026-08-11 15:07:38] local.INFO: Extracted packet for processing {"connection_id":154946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff02d"} 
[2026-08-11 15:07:38] local.INFO: GPS Element Parsed {"raw_longitude":765196544,"raw_latitude":95675768,"longitude_deg":76.5196544,"latitude_deg":9.5675768,"altitude":11,"angle":195,"satellites":43,"speed":0,"hex_longitude":"2d9bf900","hex_latitude":"05b3e578","is_valid_coordinates":true} 
[2026-08-11 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-08-11 15:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328883968001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377731988452278272,"note":"Value kept but may cause issues"} 
[2026-08-11 15:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7205900116786776064,"note":"Value kept but may cause issues"} 
[2026-08-11 15:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786440974000,"timestamp_ms":1786440974000,"timestamp_seconds":1786440974,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02dfeb0"} 
[2026-08-11 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-08-11 15:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 15:07: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-08-11 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-08-11 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-08-11 15:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":154946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":154946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":154946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:07:38] 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-08-11 15:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328883968001,"66":27745,"226":206,"83":17408,"24":0,"16":377731988452278272,"45":-7205900116786776064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328883968001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:07:38] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:07:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377731988452278272,"km_value":377731988452278.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7205900116786776064,"description":"Unknown IO ID 45"} 
[2026-08-11 15:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328883968001,"power":27745,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7205900116786776064}} 
[2026-08-11 15:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":154946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:07:38] local.INFO: GPS data processed {"connection_id":154946,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:07:38] local.INFO: Acknowledgment sent {"connection_id":154946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:08:20] local.INFO: TCP Data received {"connection_id":152245,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:08:20] local.INFO: Processing buffer {"connection_id":152245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:08:20] local.INFO: IMEI packet received {"connection_id":152245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":152245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:08:25] local.INFO: TCP Data received {"connection_id":152245,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:08:25] local.INFO: Processing buffer {"connection_id":152245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:08:25] local.INFO: IMEI packet received {"connection_id":152245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":152245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:08:26] local.INFO: TCP Data received {"connection_id":152245,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02e3d30012d9bf18005b3c938000b00b62b..."} 
[2026-08-11 15:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02e3d30012d9bf18005b3c938000b00b62b..."} 
[2026-08-11 15:08:26] local.INFO: Processing buffer {"connection_id":152245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02e3d30012d9bf18005b3c938000b00b62b..."} 
[2026-08-11 15:08:26] local.INFO: Packet analysis {"connection_id":152245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff02e"} 
[2026-08-11 15:08:26] local.INFO: Extracted packet for processing {"connection_id":152245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff02e"} 
[2026-08-11 15:08:26] local.INFO: GPS Element Parsed {"raw_longitude":765194624,"raw_latitude":95668536,"longitude_deg":76.5194624,"latitude_deg":9.5668536,"altitude":11,"angle":182,"satellites":43,"speed":22,"hex_longitude":"2d9bf180","hex_latitude":"05b3c938","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328889344001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377732349229531136,"note":"Value kept but may cause issues"} 
[2026-08-11 15:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7207729704136771584,"note":"Value kept but may cause issues"} 
[2026-08-11 15:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786440990000,"timestamp_ms":1786440990000,"timestamp_seconds":1786440990,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02e3d30"} 
[2026-08-11 15:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 15:08:26] 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-08-11 15: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-08-11 15:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:08:26] 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-08-11 15:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328889344001,"66":27821,"226":206,"83":17408,"24":22,"16":377732349229531136,"45":-7207729704136771584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328889344001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:08:26] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:08:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377732349229531136,"km_value":377732349229531.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7207729704136771584,"description":"Unknown IO ID 45"} 
[2026-08-11 15:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328889344001,"power":27821,"unknown_226":206,"unknown_83":17408,"ignition":22,"odometer":null,"unknown_45":-7207729704136771584}} 
[2026-08-11 15:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":152245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:08:26] local.INFO: GPS data processed {"connection_id":152245,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:08:26] local.INFO: Acknowledgment sent {"connection_id":152245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:08:27] local.INFO: TCP Data received {"connection_id":152245,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02e4118012d9bf18005b3c738000b00a52c..."} 
[2026-08-11 15:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02e4118012d9bf18005b3c738000b00a52c..."} 
[2026-08-11 15:08:27] local.INFO: Processing buffer {"connection_id":152245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02e4118012d9bf18005b3c738000b00a52c..."} 
[2026-08-11 15:08:27] local.INFO: Packet analysis {"connection_id":152245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff02e"} 
[2026-08-11 15:08:27] local.INFO: Extracted packet for processing {"connection_id":152245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff02e"} 
[2026-08-11 15:08:27] local.INFO: GPS Element Parsed {"raw_longitude":765194624,"raw_latitude":95668024,"longitude_deg":76.5194624,"latitude_deg":9.5668024,"altitude":11,"angle":165,"satellites":44,"speed":19,"hex_longitude":"2d9bf180","hex_latitude":"05b3c738","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328893440001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377732374999334912,"note":"Value kept but may cause issues"} 
[2026-08-11 15:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7209840766463952896,"note":"Value kept but may cause issues"} 
[2026-08-11 15:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786440991000,"timestamp_ms":1786440991000,"timestamp_seconds":1786440991,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02e4118"} 
[2026-08-11 15:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 15:08:27] 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-08-11 15: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-08-11 15:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:08:27] 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-08-11 15:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328893440001,"66":27821,"226":206,"83":17408,"24":19,"16":377732374999334912,"45":-7209840766463952896},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328893440001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:08:27] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377732374999334912,"km_value":377732374999334.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7209840766463952896,"description":"Unknown IO ID 45"} 
[2026-08-11 15:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328893440001,"power":27821,"unknown_226":206,"unknown_83":17408,"ignition":19,"odometer":null,"unknown_45":-7209840766463952896}} 
[2026-08-11 15:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":152245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:08:27] local.INFO: GPS data processed {"connection_id":152245,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:08:27] local.INFO: Acknowledgment sent {"connection_id":152245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:08:58] local.INFO: TCP Data received {"connection_id":152245,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02f7998012d9cc30005b36858000d00832c..."} 
[2026-08-11 15:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02f7998012d9cc30005b36858000d00832c..."} 
[2026-08-11 15:08:58] local.INFO: Processing buffer {"connection_id":152245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02f7998012d9cc30005b36858000d00832c..."} 
[2026-08-11 15:08:58] local.INFO: Packet analysis {"connection_id":152245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff02f"} 
[2026-08-11 15:08:58] local.INFO: Extracted packet for processing {"connection_id":152245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff02f"} 
[2026-08-11 15:08:58] local.INFO: GPS Element Parsed {"raw_longitude":765248256,"raw_latitude":95643736,"longitude_deg":76.5248256,"latitude_deg":9.5643736,"altitude":13,"angle":131,"satellites":44,"speed":25,"hex_longitude":"2d9cc300","hex_latitude":"05b36858","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328913408001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735226857619456,"note":"Value kept but may cause issues"} 
[2026-08-11 15:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7152912452430268416,"note":"Value kept but may cause issues"} 
[2026-08-11 15:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786441071000,"timestamp_ms":1786441071000,"timestamp_seconds":1786441071,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02f7998"} 
[2026-08-11 15:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-08-11 15:08:58] 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-08-11 15: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-08-11 15:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:08:58] 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-08-11 15:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328913408001,"66":27919,"95":206,"83":17408,"24":25,"16":377735226857619456,"45":-7152912452430268416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-08-11 15:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328913408001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:08:58] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 15:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735226857619456,"km_value":377735226857619.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7152912452430268416,"description":"Unknown IO ID 45"} 
[2026-08-11 15:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328913408001,"power":27919,"unknown_95":206,"unknown_83":17408,"ignition":25,"odometer":null,"unknown_45":-7152912452430268416}} 
[2026-08-11 15:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":152245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:08:58] local.INFO: GPS data processed {"connection_id":152245,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:08:58] local.INFO: Acknowledgment sent {"connection_id":152245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:09:19] local.INFO: TCP Data received {"connection_id":152246,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:09:19] local.INFO: Processing buffer {"connection_id":152246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:09:19] local.INFO: IMEI packet received {"connection_id":152246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":152246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:09:24] local.INFO: TCP Data received {"connection_id":152246,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:09:24] local.INFO: Processing buffer {"connection_id":152246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:09:24] local.INFO: IMEI packet received {"connection_id":152246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":152246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:09:25] local.INFO: TCP Data received {"connection_id":152246,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02f9cc0012d9ccd8005b35e60000d00902b..."} 
[2026-08-11 15:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02f9cc0012d9ccd8005b35e60000d00902b..."} 
[2026-08-11 15:09:25] local.INFO: Processing buffer {"connection_id":152246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02f9cc0012d9ccd8005b35e60000d00902b..."} 
[2026-08-11 15:09:25] local.INFO: Packet analysis {"connection_id":152246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff02f"} 
[2026-08-11 15:09:25] local.INFO: Extracted packet for processing {"connection_id":152246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff02f"} 
[2026-08-11 15:09:25] local.INFO: GPS Element Parsed {"raw_longitude":765250944,"raw_latitude":95641184,"longitude_deg":76.5250944,"latitude_deg":9.5641184,"altitude":13,"angle":144,"satellites":43,"speed":5,"hex_longitude":"2d9ccd80","hex_latitude":"05b35e60","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328914176001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735402951278592,"note":"Value kept but may cause issues"} 
[2026-08-11 15:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7150871758849419264,"note":"Value kept but may cause issues"} 
[2026-08-11 15:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786441080000,"timestamp_ms":1786441080000,"timestamp_seconds":1786441080,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02f9cc0"} 
[2026-08-11 15:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 15:09:25] 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-08-11 15: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-08-11 15:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:09:25] 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-08-11 15:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328914176001,"66":27908,"215":206,"83":17408,"24":5,"16":377735402951278592,"45":-7150871758849419264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328914176001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:09:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:09:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735402951278592,"km_value":377735402951278.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7150871758849419264,"description":"Unknown IO ID 45"} 
[2026-08-11 15:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328914176001,"power":27908,"unknown_215":206,"unknown_83":17408,"ignition":5,"odometer":null,"unknown_45":-7150871758849419264}} 
[2026-08-11 15:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":152246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:09:25] local.INFO: GPS data processed {"connection_id":152246,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:09:25] local.INFO: Acknowledgment sent {"connection_id":152246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:09:56] local.INFO: TCP Data received {"connection_id":152246,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02fbc00012d9cce4005b35c60000e00a62b..."} 
[2026-08-11 15:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02fbc00012d9cce4005b35c60000e00a62b..."} 
[2026-08-11 15:09:56] local.INFO: Processing buffer {"connection_id":152246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02fbc00012d9cce4005b35c60000e00a62b..."} 
[2026-08-11 15:09:56] local.INFO: Packet analysis {"connection_id":152246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff02f"} 
[2026-08-11 15:09:56] local.INFO: Extracted packet for processing {"connection_id":152246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff02f"} 
[2026-08-11 15:09:56] local.INFO: GPS Element Parsed {"raw_longitude":765251136,"raw_latitude":95640672,"longitude_deg":76.5251136,"latitude_deg":9.5640672,"altitude":14,"angle":166,"satellites":43,"speed":7,"hex_longitude":"2d9cce40","hex_latitude":"05b35c60","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328916480001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735433016049664,"note":"Value kept but may cause issues"} 
[2026-08-11 15:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147916271594610688,"note":"Value kept but may cause issues"} 
[2026-08-11 15:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786441088000,"timestamp_ms":1786441088000,"timestamp_seconds":1786441088,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02fbc00"} 
[2026-08-11 15:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 15:09:56] 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-08-11 15: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-08-11 15:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:09:56] 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-08-11 15:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328916480001,"66":27974,"215":206,"83":17408,"24":7,"16":377735433016049664,"45":-7147916271594610688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328916480001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:09:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:09:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735433016049664,"km_value":377735433016049.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147916271594610688,"description":"Unknown IO ID 45"} 
[2026-08-11 15:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328916480001,"power":27974,"unknown_215":206,"unknown_83":17408,"ignition":7,"odometer":null,"unknown_45":-7147916271594610688}} 
[2026-08-11 15:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":152246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:09:56] local.INFO: GPS data processed {"connection_id":152246,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:09:56] local.INFO: Acknowledgment sent {"connection_id":152246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:10:10] local.INFO: TCP Data received {"connection_id":154947,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:10:10] local.INFO: Processing buffer {"connection_id":154947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:10:10] local.INFO: IMEI packet received {"connection_id":154947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":154947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:10:15] local.INFO: TCP Data received {"connection_id":154947,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:10:15] local.INFO: Processing buffer {"connection_id":154947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:10:15] local.INFO: IMEI packet received {"connection_id":154947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":154947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:10:16] local.INFO: TCP Data received {"connection_id":154947,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02c1e38012d1b58c00724f4e0002400a62b..."} 
[2026-08-11 15:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02c1e38012d1b58c00724f4e0002400a62b..."} 
[2026-08-11 15:10:16] local.INFO: Processing buffer {"connection_id":154947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02c1e38012d1b58c00724f4e0002400a62b..."} 
[2026-08-11 15:10:16] local.INFO: Packet analysis {"connection_id":154947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff02c"} 
[2026-08-11 15:10:16] local.INFO: Extracted packet for processing {"connection_id":154947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff02c"} 
[2026-08-11 15:10:16] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119862496,"longitude_deg":75.6766912,"latitude_deg":11.9862496,"altitude":36,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d1b58c0","hex_latitude":"0724f4e0","is_valid_coordinates":true} 
[2026-08-11 15:10: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-08-11 15:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328856832001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11672578649227264,"note":"Value kept but may cause issues"} 
[2026-08-11 15:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973891923968,"note":"Value kept but may cause issues"} 
[2026-08-11 15:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786440851000,"timestamp_ms":1786440851000,"timestamp_seconds":1786440851,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02c1e38"} 
[2026-08-11 15:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:10:16] 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-08-11 15: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 15:10:16] 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-08-11 15: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-08-11 15:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328856832001,"66":12841,"44":206,"83":41984,"24":0,"16":11672578649227264,"45":1970535973891923968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-11 15:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328856832001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:10:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 15:10:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11672578649227264,"km_value":11672578649227.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973891923968,"description":"Unknown IO ID 45"} 
[2026-08-11 15:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328856832001,"power":12841,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970535973891923968}} 
[2026-08-11 15:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":154947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:10:16] local.INFO: GPS data processed {"connection_id":154947,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:10:16] local.INFO: Acknowledgment sent {"connection_id":154947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:10:19] local.INFO: TCP Data received {"connection_id":153556,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:10:19] local.INFO: Processing buffer {"connection_id":153556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:10:19] local.INFO: IMEI packet received {"connection_id":153556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":153556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:10:24] local.INFO: TCP Data received {"connection_id":153556,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:10:24] local.INFO: Processing buffer {"connection_id":153556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:10:24] local.INFO: IMEI packet received {"connection_id":153556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":153556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:10:25] local.INFO: TCP Data received {"connection_id":153556,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0300e08012d9cccc005b35d08000f00a32c..."} 
[2026-08-11 15:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0300e08012d9cccc005b35d08000f00a32c..."} 
[2026-08-11 15:10:25] local.INFO: Processing buffer {"connection_id":153556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0300e08012d9cccc005b35d08000f00a32c..."} 
[2026-08-11 15:10:25] local.INFO: Packet analysis {"connection_id":153556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:10:25] local.INFO: Extracted packet for processing {"connection_id":153556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:10:25] local.INFO: GPS Element Parsed {"raw_longitude":765250752,"raw_latitude":95640840,"longitude_deg":76.5250752,"latitude_deg":9.564084,"altitude":15,"angle":163,"satellites":44,"speed":3,"hex_longitude":"2d9cccc0","hex_latitude":"05b35d08","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328918528001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735518915395584,"note":"Value kept but may cause issues"} 
[2026-08-11 15:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147705165362208768,"note":"Value kept but may cause issues"} 
[2026-08-11 15:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786441109000,"timestamp_ms":1786441109000,"timestamp_seconds":1786441109,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0300e08"} 
[2026-08-11 15:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 15:10:25] 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-08-11 15: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-08-11 15:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:10:25] 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-08-11 15:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328918528001,"66":28028,"215":206,"83":17408,"24":3,"16":377735518915395584,"45":-7147705165362208768},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328918528001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:10:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:10:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735518915395584,"km_value":377735518915395.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147705165362208768,"description":"Unknown IO ID 45"} 
[2026-08-11 15:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328918528001,"power":28028,"unknown_215":206,"unknown_83":17408,"ignition":3,"odometer":null,"unknown_45":-7147705165362208768}} 
[2026-08-11 15:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":153556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:10:25] local.INFO: GPS data processed {"connection_id":153556,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:10:25] local.INFO: Acknowledgment sent {"connection_id":153556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:10:29] local.INFO: TCP Data received {"connection_id":154948,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:10:29] local.INFO: Processing buffer {"connection_id":154948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:10:29] local.INFO: IMEI packet received {"connection_id":154948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":154948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:10:30] local.INFO: TCP Data received {"connection_id":154948,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:10:30] local.INFO: Processing buffer {"connection_id":154948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:10:30] local.INFO: IMEI packet received {"connection_id":154948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":154948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:10:34] local.INFO: TCP Data received {"connection_id":154948,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:10:34] local.INFO: Processing buffer {"connection_id":154948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:10:34] local.INFO: IMEI packet received {"connection_id":154948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":154948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:10:35] local.INFO: TCP Data received {"connection_id":154948,"ip":"42.106.6.44","data_length":93,"data_hex":"00000000000000518e01000000000000bb800100000000000000000000000000..."} 
[2026-08-11 15:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154948,"packet_length":93,"packet_hex":"00000000000000518e01000000000000bb800100000000000000000000000000..."} 
[2026-08-11 15:10:35] local.INFO: Processing buffer {"connection_id":154948,"buffer_length":93,"buffer_hex":"00000000000000518e01000000000000bb800100000000000000000000000000..."} 
[2026-08-11 15:10:35] local.INFO: Packet analysis {"connection_id":154948,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000000"} 
[2026-08-11 15:10:35] local.INFO: Extracted packet for processing {"connection_id":154948,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000000"} 
[2026-08-11 15:10:35] 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-08-11 15: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":93,"current_offset":40} 
[2026-08-11 15:10:35] 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-08-11 15:10:35] 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-08-11 15:10:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:10:35] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 15:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154948,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-11 15:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 15:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 15:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 15:10:35] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 15:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":154948,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 15:10:35] local.ERROR: GPS data processing failed {"connection_id":154948,"error":"No valid data to process"} 
[2026-08-11 15:10:35] local.INFO: Acknowledgment sent {"connection_id":154948,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 15:10:47] local.INFO: TCP Data received {"connection_id":154947,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02c1e38012d1b58c00724f4e0002400a62b..."} 
[2026-08-11 15:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02c1e38012d1b58c00724f4e0002400a62b..."} 
[2026-08-11 15:10:47] local.INFO: Processing buffer {"connection_id":154947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02c1e38012d1b58c00724f4e0002400a62b..."} 
[2026-08-11 15:10:47] local.INFO: Packet analysis {"connection_id":154947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff02c"} 
[2026-08-11 15:10:47] local.INFO: Extracted packet for processing {"connection_id":154947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff02c"} 
[2026-08-11 15:10:47] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119862496,"longitude_deg":75.6766912,"latitude_deg":11.9862496,"altitude":36,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d1b58c0","hex_latitude":"0724f4e0","is_valid_coordinates":true} 
[2026-08-11 15:10:47] 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-08-11 15:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328857856001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11672578649227264,"note":"Value kept but may cause issues"} 
[2026-08-11 15:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973891923968,"note":"Value kept but may cause issues"} 
[2026-08-11 15:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786440851000,"timestamp_ms":1786440851000,"timestamp_seconds":1786440851,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02c1e38"} 
[2026-08-11 15:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 15:10:47] 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-08-11 15: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-08-11 15:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328857856001,"66":12841,"44":206,"83":41984,"24":0,"16":11672578649227264,"45":1970535973891923968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-11 15:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328857856001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:10:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 15:10:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11672578649227264,"km_value":11672578649227.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973891923968,"description":"Unknown IO ID 45"} 
[2026-08-11 15:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328857856001,"power":12841,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970535973891923968}} 
[2026-08-11 15:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":154947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:10:47] local.INFO: GPS data processed {"connection_id":154947,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:10:47] local.INFO: Acknowledgment sent {"connection_id":154947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:10:57] local.INFO: TCP Data received {"connection_id":153556,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0305c28012d9ccfc005b35f78001000a32c..."} 
[2026-08-11 15:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0305c28012d9ccfc005b35f78001000a32c..."} 
[2026-08-11 15:10:57] local.INFO: Processing buffer {"connection_id":153556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0305c28012d9ccfc005b35f78001000a32c..."} 
[2026-08-11 15:10:57] local.INFO: Packet analysis {"connection_id":153556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:10:57] local.INFO: Extracted packet for processing {"connection_id":153556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:10:57] local.INFO: GPS Element Parsed {"raw_longitude":765251520,"raw_latitude":95641464,"longitude_deg":76.525152,"latitude_deg":9.5641464,"altitude":16,"angle":163,"satellites":44,"speed":2,"hex_longitude":"2d9ccfc0","hex_latitude":"05b35f78","is_valid_coordinates":true} 
[2026-08-11 15:10: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-08-11 15:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328923904001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7148127377827231744,"note":"Value kept but may cause issues"} 
[2026-08-11 15:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786441129000,"timestamp_ms":1786441129000,"timestamp_seconds":1786441129,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0305c28"} 
[2026-08-11 15:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:10: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":124,"data_length":795,"current_offset":136} 
[2026-08-11 15:10:57] 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-08-11 15:10: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-08-11 15:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:10:57] 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-08-11 15:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328923904001,"66":27930,"215":206,"83":17408,"24":2,"16":377735579044937728,"45":-7148127377827231744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328923904001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:10:57] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:10:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7148127377827231744,"description":"Unknown IO ID 45"} 
[2026-08-11 15:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328923904001,"power":27930,"unknown_215":206,"unknown_83":17408,"ignition":2,"odometer":null,"unknown_45":-7148127377827231744}} 
[2026-08-11 15:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":153556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:10:57] local.INFO: GPS data processed {"connection_id":153556,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:10:57] local.INFO: Acknowledgment sent {"connection_id":153556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:11:06] local.INFO: TCP Data received {"connection_id":154948,"ip":"42.106.6.44","data_length":93,"data_hex":"00000000000000518e010000000000010d880100000000000000000000000000..."} 
[2026-08-11 15:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154948,"packet_length":93,"packet_hex":"00000000000000518e010000000000010d880100000000000000000000000000..."} 
[2026-08-11 15:11:06] local.INFO: Processing buffer {"connection_id":154948,"buffer_length":93,"buffer_hex":"00000000000000518e010000000000010d880100000000000000000000000000..."} 
[2026-08-11 15:11:06] local.INFO: Packet analysis {"connection_id":154948,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-11 15:11:06] local.INFO: Extracted packet for processing {"connection_id":154948,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-11 15:11: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-08-11 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":93,"current_offset":40} 
[2026-08-11 15:11: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-08-11 15:11: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-08-11 15:11:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:11:06] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 15:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154948,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-11 15:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 15:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 15:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 15:11:06] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 15:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":154948,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 15:11:06] local.ERROR: GPS data processing failed {"connection_id":154948,"error":"No valid data to process"} 
[2026-08-11 15:11:06] local.INFO: Acknowledgment sent {"connection_id":154948,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 15:11:10] local.INFO: TCP Data received {"connection_id":152247,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:11:10] local.INFO: Processing buffer {"connection_id":152247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:11:10] local.INFO: IMEI packet received {"connection_id":152247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":152247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:11:15] local.INFO: TCP Data received {"connection_id":152247,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:11:15] local.INFO: Processing buffer {"connection_id":152247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:11:15] local.INFO: IMEI packet received {"connection_id":152247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":152247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:11:16] local.INFO: TCP Data received {"connection_id":152247,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02c1e38012d1b58c00724f4e0002400a62b..."} 
[2026-08-11 15:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02c1e38012d1b58c00724f4e0002400a62b..."} 
[2026-08-11 15:11:16] local.INFO: Processing buffer {"connection_id":152247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02c1e38012d1b58c00724f4e0002400a62b..."} 
[2026-08-11 15:11:16] local.INFO: Packet analysis {"connection_id":152247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff02c"} 
[2026-08-11 15:11:16] local.INFO: Extracted packet for processing {"connection_id":152247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff02c"} 
[2026-08-11 15:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119862496,"longitude_deg":75.6766912,"latitude_deg":11.9862496,"altitude":36,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d1b58c0","hex_latitude":"0724f4e0","is_valid_coordinates":true} 
[2026-08-11 15:11:16] 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-08-11 15:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328857856001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11672578649227264,"note":"Value kept but may cause issues"} 
[2026-08-11 15:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973891923968,"note":"Value kept but may cause issues"} 
[2026-08-11 15:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786440851000,"timestamp_ms":1786440851000,"timestamp_seconds":1786440851,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02c1e38"} 
[2026-08-11 15:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 15:11:16] 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-08-11 15: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-08-11 15:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328857856001,"66":12841,"44":206,"83":41984,"24":0,"16":11672578649227264,"45":1970535973891923968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-11 15:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328857856001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:11:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 15:11:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11672578649227264,"km_value":11672578649227.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973891923968,"description":"Unknown IO ID 45"} 
[2026-08-11 15:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328857856001,"power":12841,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970535973891923968}} 
[2026-08-11 15:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":152247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:11:16] local.INFO: GPS data processed {"connection_id":152247,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:11:16] local.INFO: Acknowledgment sent {"connection_id":152247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:11:24] local.INFO: TCP Data received {"connection_id":154949,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:11:24] local.INFO: Processing buffer {"connection_id":154949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:11:24] local.INFO: IMEI packet received {"connection_id":154949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":154949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:11:30] local.INFO: TCP Data received {"connection_id":154949,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:11:30] local.INFO: Processing buffer {"connection_id":154949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:11:30] local.INFO: IMEI packet received {"connection_id":154949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":154949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:11:32] local.INFO: TCP Data received {"connection_id":154949,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:11:32] local.INFO: Processing buffer {"connection_id":154949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:11:32] local.INFO: Packet analysis {"connection_id":154949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:11:32] local.INFO: Extracted packet for processing {"connection_id":154949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:11:32] local.INFO: GPS Element Parsed {"raw_longitude":765251648,"raw_latitude":95641472,"longitude_deg":76.5251648,"latitude_deg":9.5641472,"altitude":16,"angle":163,"satellites":43,"speed":2,"hex_longitude":"2d9cd040","hex_latitude":"05b35f80","is_valid_coordinates":true} 
[2026-08-11 15:11: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-08-11 15:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328929024001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147282952896940032,"note":"Value kept but may cause issues"} 
[2026-08-11 15:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786441130000,"timestamp_ms":1786441130000,"timestamp_seconds":1786441130,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0306010"} 
[2026-08-11 15:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:11: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":26,"data_length":795,"current_offset":136} 
[2026-08-11 15:11:32] 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-08-11 15:11: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-08-11 15:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:11:32] 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-08-11 15:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328929024001,"66":27865,"215":206,"83":17408,"24":2,"16":377735579044937728,"45":-7147282952896940032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328929024001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:11:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147282952896940032,"description":"Unknown IO ID 45"} 
[2026-08-11 15:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328929024001,"power":27865,"unknown_215":206,"unknown_83":17408,"ignition":2,"odometer":null,"unknown_45":-7147282952896940032}} 
[2026-08-11 15:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":154949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:11:32] local.INFO: GPS data processed {"connection_id":154949,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:11:32] local.INFO: Acknowledgment sent {"connection_id":154949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:11:35] local.INFO: TCP Data received {"connection_id":154949,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:11:35] local.INFO: Processing buffer {"connection_id":154949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:11:35] local.INFO: Packet analysis {"connection_id":154949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:11:35] local.INFO: Extracted packet for processing {"connection_id":154949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:11:35] local.INFO: GPS Element Parsed {"raw_longitude":765251648,"raw_latitude":95641472,"longitude_deg":76.5251648,"latitude_deg":9.5641472,"altitude":16,"angle":163,"satellites":43,"speed":2,"hex_longitude":"2d9cd040","hex_latitude":"05b35f80","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328929024001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147282952896940032,"note":"Value kept but may cause issues"} 
[2026-08-11 15:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786441130000,"timestamp_ms":1786441130000,"timestamp_seconds":1786441130,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0306010"} 
[2026-08-11 15:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15: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-08-11 15: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-08-11 15:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":154949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":154949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":154949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:11:35] 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-08-11 15:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328929024001,"66":27865,"215":206,"83":17408,"24":2,"16":377735579044937728,"45":-7147282952896940032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328929024001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:11:35] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147282952896940032,"description":"Unknown IO ID 45"} 
[2026-08-11 15:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328929024001,"power":27865,"unknown_215":206,"unknown_83":17408,"ignition":2,"odometer":null,"unknown_45":-7147282952896940032}} 
[2026-08-11 15:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":154949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:11:35] local.INFO: GPS data processed {"connection_id":154949,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:11:35] local.INFO: Acknowledgment sent {"connection_id":154949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:11:37] local.INFO: TCP Data received {"connection_id":154948,"ip":"42.106.6.44","data_length":93,"data_hex":"00000000000000518e010000019ff03286d80100000000000000000000000000..."} 
[2026-08-11 15:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154948,"packet_length":93,"packet_hex":"00000000000000518e010000019ff03286d80100000000000000000000000000..."} 
[2026-08-11 15:11:37] local.INFO: Processing buffer {"connection_id":154948,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ff03286d80100000000000000000000000000..."} 
[2026-08-11 15:11:37] local.INFO: Packet analysis {"connection_id":154948,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ff032"} 
[2026-08-11 15:11:37] local.INFO: Extracted packet for processing {"connection_id":154948,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ff032"} 
[2026-08-11 15:11: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-08-11 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":93,"current_offset":40} 
[2026-08-11 15:11:37] 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-08-11 15:11:37] 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-08-11 15:11:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:11:37] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 15:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":154948,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-11 15:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 15:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 15:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 15:11:37] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 15:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":154948,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 15:11:37] local.ERROR: GPS data processing failed {"connection_id":154948,"error":"No valid data to process"} 
[2026-08-11 15:11:37] local.INFO: Acknowledgment sent {"connection_id":154948,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 15:11:47] local.INFO: TCP Data received {"connection_id":152247,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff02c1e38012d1b58c00724f4e0002400a62b..."} 
[2026-08-11 15:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff02c1e38012d1b58c00724f4e0002400a62b..."} 
[2026-08-11 15:11:47] local.INFO: Processing buffer {"connection_id":152247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff02c1e38012d1b58c00724f4e0002400a62b..."} 
[2026-08-11 15:11:47] local.INFO: Packet analysis {"connection_id":152247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff02c"} 
[2026-08-11 15:11:47] local.INFO: Extracted packet for processing {"connection_id":152247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff02c"} 
[2026-08-11 15:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119862496,"longitude_deg":75.6766912,"latitude_deg":11.9862496,"altitude":36,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d1b58c0","hex_latitude":"0724f4e0","is_valid_coordinates":true} 
[2026-08-11 15:11:47] 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-08-11 15:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328857856001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11672578649227264,"note":"Value kept but may cause issues"} 
[2026-08-11 15:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973891923968,"note":"Value kept but may cause issues"} 
[2026-08-11 15:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786440851000,"timestamp_ms":1786440851000,"timestamp_seconds":1786440851,"priority":1,"record_length":96,"hex_timestamp":"0000019ff02c1e38"} 
[2026-08-11 15:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 15:11:47] 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-08-11 15: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-08-11 15:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328857856001,"66":12841,"44":206,"83":41984,"24":0,"16":11672578649227264,"45":1970535973891923968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-11 15:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328857856001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:11:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 15:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11672578649227264,"km_value":11672578649227.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973891923968,"description":"Unknown IO ID 45"} 
[2026-08-11 15:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328857856001,"power":12841,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970535973891923968}} 
[2026-08-11 15:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":152247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:11:47] local.INFO: GPS data processed {"connection_id":152247,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:11:47] local.INFO: Acknowledgment sent {"connection_id":152247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:12:08] local.INFO: TCP Data received {"connection_id":154948,"ip":"42.106.6.44","data_length":93,"data_hex":"00000000000000518e010000019ff032d8e00100000000000000000000000000..."} 
[2026-08-11 15:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154948,"packet_length":93,"packet_hex":"00000000000000518e010000019ff032d8e00100000000000000000000000000..."} 
[2026-08-11 15:12:08] local.INFO: Processing buffer {"connection_id":154948,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ff032d8e00100000000000000000000000000..."} 
[2026-08-11 15:12:08] local.INFO: Packet analysis {"connection_id":154948,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ff032"} 
[2026-08-11 15:12:08] local.INFO: Extracted packet for processing {"connection_id":154948,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ff032"} 
[2026-08-11 15:12: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-08-11 15: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":93,"current_offset":40} 
[2026-08-11 15:12:08] 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-08-11 15:12:08] 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-08-11 15:12:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:12:08] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 15:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154948,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-11 15:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 15:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 15:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 15:12:08] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 15:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":154948,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 15:12:08] local.ERROR: GPS data processing failed {"connection_id":154948,"error":"No valid data to process"} 
[2026-08-11 15:12:08] local.INFO: Acknowledgment sent {"connection_id":154948,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 15:12:19] local.INFO: TCP Data received {"connection_id":153557,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:12:19] local.INFO: Processing buffer {"connection_id":153557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:12:19] local.INFO: IMEI packet received {"connection_id":153557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":153557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:12:24] local.INFO: TCP Data received {"connection_id":153557,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:12:24] local.INFO: Processing buffer {"connection_id":153557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:12:24] local.INFO: IMEI packet received {"connection_id":153557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":153557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:12:26] local.INFO: TCP Data received {"connection_id":153557,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:12:26] local.INFO: Processing buffer {"connection_id":153557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:12:26] local.INFO: Packet analysis {"connection_id":153557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:12:26] local.INFO: Extracted packet for processing {"connection_id":153557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:12:26] local.INFO: GPS Element Parsed {"raw_longitude":765251648,"raw_latitude":95641472,"longitude_deg":76.5251648,"latitude_deg":9.5641472,"altitude":16,"angle":163,"satellites":43,"speed":2,"hex_longitude":"2d9cd040","hex_latitude":"05b35f80","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328929024001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147282952896940032,"note":"Value kept but may cause issues"} 
[2026-08-11 15:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786441130000,"timestamp_ms":1786441130000,"timestamp_seconds":1786441130,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0306010"} 
[2026-08-11 15:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 15:12:26] 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-08-11 15: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-08-11 15:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328929024001,"66":27865,"215":206,"83":17408,"24":2,"16":377735579044937728,"45":-7147282952896940032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328929024001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:12:26] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:12:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147282952896940032,"description":"Unknown IO ID 45"} 
[2026-08-11 15:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328929024001,"power":27865,"unknown_215":206,"unknown_83":17408,"ignition":2,"odometer":null,"unknown_45":-7147282952896940032}} 
[2026-08-11 15:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":153557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:12:26] local.INFO: GPS data processed {"connection_id":153557,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:12:26] local.INFO: Acknowledgment sent {"connection_id":153557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:12:40] local.INFO: TCP Data received {"connection_id":154948,"ip":"42.106.6.44","data_length":93,"data_hex":"00000000000000518e010000019ff0332ae80100000000000000000000000000..."} 
[2026-08-11 15:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154948,"packet_length":93,"packet_hex":"00000000000000518e010000019ff0332ae80100000000000000000000000000..."} 
[2026-08-11 15:12:40] local.INFO: Processing buffer {"connection_id":154948,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ff0332ae80100000000000000000000000000..."} 
[2026-08-11 15:12:40] local.INFO: Packet analysis {"connection_id":154948,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ff033"} 
[2026-08-11 15:12:40] local.INFO: Extracted packet for processing {"connection_id":154948,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ff033"} 
[2026-08-11 15:12:40] 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-08-11 15: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":93,"current_offset":40} 
[2026-08-11 15:12:40] 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-08-11 15:12:40] 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-08-11 15:12:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:12:40] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 15:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":154948,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-11 15:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 15:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-11 15:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 15:12:40] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 15:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":154948,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 15:12:40] local.ERROR: GPS data processing failed {"connection_id":154948,"error":"No valid data to process"} 
[2026-08-11 15:12:40] local.INFO: Acknowledgment sent {"connection_id":154948,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 15:12:57] local.INFO: TCP Data received {"connection_id":153557,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:12:57] local.INFO: Processing buffer {"connection_id":153557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:12:57] local.INFO: Packet analysis {"connection_id":153557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:12:57] local.INFO: Extracted packet for processing {"connection_id":153557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:12:57] local.INFO: GPS Element Parsed {"raw_longitude":765251648,"raw_latitude":95641472,"longitude_deg":76.5251648,"latitude_deg":9.5641472,"altitude":16,"angle":163,"satellites":43,"speed":2,"hex_longitude":"2d9cd040","hex_latitude":"05b35f80","is_valid_coordinates":true} 
[2026-08-11 15:12: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-08-11 15:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328929024001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147282952896940032,"note":"Value kept but may cause issues"} 
[2026-08-11 15:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786441130000,"timestamp_ms":1786441130000,"timestamp_seconds":1786441130,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0306010"} 
[2026-08-11 15:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:12: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":26,"data_length":795,"current_offset":136} 
[2026-08-11 15:12:57] 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-08-11 15:12: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-08-11 15:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328929024001,"66":27865,"215":206,"83":17408,"24":2,"16":377735579044937728,"45":-7147282952896940032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328929024001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:12:57] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147282952896940032,"description":"Unknown IO ID 45"} 
[2026-08-11 15:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328929024001,"power":27865,"unknown_215":206,"unknown_83":17408,"ignition":2,"odometer":null,"unknown_45":-7147282952896940032}} 
[2026-08-11 15:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":153557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:12:57] local.INFO: GPS data processed {"connection_id":153557,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:12:57] local.INFO: Acknowledgment sent {"connection_id":153557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:13:11] local.INFO: TCP Data received {"connection_id":154948,"ip":"42.106.6.44","data_length":171,"data_hex":"000000000000009f8e020000019ff0337cf00100000000000000000000000000..."} 
[2026-08-11 15:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154948,"packet_length":171,"packet_hex":"000000000000009f8e020000019ff0337cf00100000000000000000000000000..."} 
[2026-08-11 15:13:11] local.INFO: Processing buffer {"connection_id":154948,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019ff0337cf00100000000000000000000000000..."} 
[2026-08-11 15:13:11] local.INFO: Packet analysis {"connection_id":154948,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019ff033"} 
[2026-08-11 15:13:11] local.INFO: Extracted packet for processing {"connection_id":154948,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019ff033"} 
[2026-08-11 15:13: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-08-11 15: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":171,"current_offset":40} 
[2026-08-11 15:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 15:13:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,198,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786441334000,"timestamp_ms":1786441334000,"timestamp_seconds":1786441334,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0337cf0"} 
[2026-08-11 15:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":52,"n8_eight_byte":160,"data_length":171,"current_offset":136} 
[2026-08-11 15:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15:13:11] 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-08-11 15:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:13:11] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":154948,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-11 15:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":154948,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 15:13:11] local.INFO: GPS data processed {"connection_id":154948,"processed":0,"errors":0,"total":1} 
[2026-08-11 15:13:11] local.INFO: Acknowledgment sent {"connection_id":154948,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:13:19] local.INFO: TCP Data received {"connection_id":154950,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:13:19] local.INFO: Processing buffer {"connection_id":154950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:13:19] local.INFO: IMEI packet received {"connection_id":154950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":154950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:13:24] local.INFO: TCP Data received {"connection_id":154950,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:13:24] local.INFO: Processing buffer {"connection_id":154950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:13:24] local.INFO: IMEI packet received {"connection_id":154950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":154950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:13:26] local.INFO: TCP Data received {"connection_id":154950,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:13:26] local.INFO: Processing buffer {"connection_id":154950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:13:26] local.INFO: Packet analysis {"connection_id":154950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:13:26] local.INFO: Extracted packet for processing {"connection_id":154950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:13:26] local.INFO: GPS Element Parsed {"raw_longitude":765251648,"raw_latitude":95641472,"longitude_deg":76.5251648,"latitude_deg":9.5641472,"altitude":16,"angle":163,"satellites":43,"speed":2,"hex_longitude":"2d9cd040","hex_latitude":"05b35f80","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328929024001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147282952896940032,"note":"Value kept but may cause issues"} 
[2026-08-11 15:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786441130000,"timestamp_ms":1786441130000,"timestamp_seconds":1786441130,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0306010"} 
[2026-08-11 15:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 15:13:26] 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-08-11 15: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-08-11 15:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328929024001,"66":27865,"215":206,"83":17408,"24":2,"16":377735579044937728,"45":-7147282952896940032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328929024001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:13:26] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:13:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147282952896940032,"description":"Unknown IO ID 45"} 
[2026-08-11 15:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328929024001,"power":27865,"unknown_215":206,"unknown_83":17408,"ignition":2,"odometer":null,"unknown_45":-7147282952896940032}} 
[2026-08-11 15:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":154950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:13:26] local.INFO: GPS data processed {"connection_id":154950,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:13:26] local.INFO: Acknowledgment sent {"connection_id":154950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:13:42] local.INFO: TCP Data received {"connection_id":154948,"ip":"42.106.6.44","data_length":249,"data_hex":"00000000000000ed8e030000019ff033cef80100000000000000000000000000..."} 
[2026-08-11 15:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154948,"packet_length":249,"packet_hex":"00000000000000ed8e030000019ff033cef80100000000000000000000000000..."} 
[2026-08-11 15:13:42] local.INFO: Processing buffer {"connection_id":154948,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019ff033cef80100000000000000000000000000..."} 
[2026-08-11 15:13:42] local.INFO: Packet analysis {"connection_id":154948,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019ff033"} 
[2026-08-11 15:13:42] local.INFO: Extracted packet for processing {"connection_id":154948,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019ff033"} 
[2026-08-11 15:13:42] 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-08-11 15:13: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":249,"current_offset":40} 
[2026-08-11 15:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 15:13:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,198,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786441355000,"timestamp_ms":1786441355000,"timestamp_seconds":1786441355,"priority":1,"record_length":96,"hex_timestamp":"0000019ff033cef8"} 
[2026-08-11 15:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:13: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":52,"n8_eight_byte":214,"data_length":249,"current_offset":136} 
[2026-08-11 15:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15:13:42] 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-08-11 15:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:13:42] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":154948,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-11 15:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":154948,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 15:13:42] local.INFO: GPS data processed {"connection_id":154948,"processed":0,"errors":0,"total":1} 
[2026-08-11 15:13:42] local.INFO: Acknowledgment sent {"connection_id":154948,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:13:57] local.INFO: TCP Data received {"connection_id":154950,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:13:57] local.INFO: Processing buffer {"connection_id":154950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:13:57] local.INFO: Packet analysis {"connection_id":154950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:13:57] local.INFO: Extracted packet for processing {"connection_id":154950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:13:57] local.INFO: GPS Element Parsed {"raw_longitude":765251648,"raw_latitude":95641472,"longitude_deg":76.5251648,"latitude_deg":9.5641472,"altitude":16,"angle":163,"satellites":43,"speed":2,"hex_longitude":"2d9cd040","hex_latitude":"05b35f80","is_valid_coordinates":true} 
[2026-08-11 15:13: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-08-11 15:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328929024001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147282952896940032,"note":"Value kept but may cause issues"} 
[2026-08-11 15:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786441130000,"timestamp_ms":1786441130000,"timestamp_seconds":1786441130,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0306010"} 
[2026-08-11 15:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:13: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":26,"data_length":795,"current_offset":136} 
[2026-08-11 15:13:57] 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-08-11 15:13: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-08-11 15:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328929024001,"66":27865,"215":206,"83":17408,"24":2,"16":377735579044937728,"45":-7147282952896940032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328929024001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:13:57] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:13:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147282952896940032,"description":"Unknown IO ID 45"} 
[2026-08-11 15:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328929024001,"power":27865,"unknown_215":206,"unknown_83":17408,"ignition":2,"odometer":null,"unknown_45":-7147282952896940032}} 
[2026-08-11 15:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":154950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:13:57] local.INFO: GPS data processed {"connection_id":154950,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:13:57] local.INFO: Acknowledgment sent {"connection_id":154950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:14:15] local.INFO: TCP Data received {"connection_id":154948,"ip":"42.106.6.44","data_length":327,"data_hex":"000000000000013b8e040000019ff03421000100000000000000000000000000..."} 
[2026-08-11 15:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154948,"packet_length":327,"packet_hex":"000000000000013b8e040000019ff03421000100000000000000000000000000..."} 
[2026-08-11 15:14:15] local.INFO: Processing buffer {"connection_id":154948,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019ff03421000100000000000000000000000000..."} 
[2026-08-11 15:14:15] local.INFO: Packet analysis {"connection_id":154948,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019ff034"} 
[2026-08-11 15:14:15] local.INFO: Extracted packet for processing {"connection_id":154948,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019ff034"} 
[2026-08-11 15:14: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-08-11 15: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":327,"current_offset":40} 
[2026-08-11 15:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 15:14:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,198,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786441376000,"timestamp_ms":1786441376000,"timestamp_seconds":1786441376,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0342100"} 
[2026-08-11 15:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:14:15] 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-08-11 15: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":53,"n8_eight_byte":12,"data_length":327,"current_offset":136} 
[2026-08-11 15:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":571,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15:14:15] 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-08-11 15:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:14:15] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154948,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-11 15:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":154948,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 15:14:15] local.INFO: GPS data processed {"connection_id":154948,"processed":0,"errors":0,"total":1} 
[2026-08-11 15:14:15] local.INFO: Acknowledgment sent {"connection_id":154948,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:14:15] local.INFO: TCP Data received {"connection_id":153558,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:14:15] local.INFO: Processing buffer {"connection_id":153558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:14:15] local.INFO: IMEI packet received {"connection_id":153558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":153558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:14:19] local.INFO: TCP Data received {"connection_id":153559,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:14:19] local.INFO: Processing buffer {"connection_id":153559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:14:19] local.INFO: IMEI packet received {"connection_id":153559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":153559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:14:24] local.INFO: TCP Data received {"connection_id":153559,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:14:24] local.INFO: Processing buffer {"connection_id":153559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:14:24] local.INFO: IMEI packet received {"connection_id":153559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":153559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:14:25] local.INFO: TCP Data received {"connection_id":153558,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:14:25] local.INFO: Processing buffer {"connection_id":153558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:14:25] local.INFO: IMEI packet received {"connection_id":153558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":153558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:14:26] local.INFO: TCP Data received {"connection_id":153559,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:14:26] local.INFO: Processing buffer {"connection_id":153559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0306010012d9cd04005b35f80001000a32b..."} 
[2026-08-11 15:14:26] local.INFO: Packet analysis {"connection_id":153559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:14:26] local.INFO: Extracted packet for processing {"connection_id":153559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff030"} 
[2026-08-11 15:14:26] local.INFO: GPS Element Parsed {"raw_longitude":765251648,"raw_latitude":95641472,"longitude_deg":76.5251648,"latitude_deg":9.5641472,"altitude":16,"angle":163,"satellites":43,"speed":2,"hex_longitude":"2d9cd040","hex_latitude":"05b35f80","is_valid_coordinates":true} 
[2026-08-11 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-08-11 15:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328929024001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147282952896940032,"note":"Value kept but may cause issues"} 
[2026-08-11 15:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786441130000,"timestamp_ms":1786441130000,"timestamp_seconds":1786441130,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0306010"} 
[2026-08-11 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-08-11 15:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 15:14:26] 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-08-11 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-08-11 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-08-11 15:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328929024001,"66":27865,"215":206,"83":17408,"24":2,"16":377735579044937728,"45":-7147282952896940032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328929024001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:14:26] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:14:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147282952896940032,"description":"Unknown IO ID 45"} 
[2026-08-11 15:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328929024001,"power":27865,"unknown_215":206,"unknown_83":17408,"ignition":2,"odometer":null,"unknown_45":-7147282952896940032}} 
[2026-08-11 15:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":153559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:14:26] local.INFO: GPS data processed {"connection_id":153559,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:14:26] local.INFO: Acknowledgment sent {"connection_id":153559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:14:26] local.INFO: TCP Data received {"connection_id":153558,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff033d6c8012d1b59800724f4f0002400a629..."} 
[2026-08-11 15:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff033d6c8012d1b59800724f4f0002400a629..."} 
[2026-08-11 15:14:26] local.INFO: Processing buffer {"connection_id":153558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff033d6c8012d1b59800724f4f0002400a629..."} 
[2026-08-11 15:14:26] local.INFO: Packet analysis {"connection_id":153558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff033"} 
[2026-08-11 15:14:26] local.INFO: Extracted packet for processing {"connection_id":153558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff033"} 
[2026-08-11 15:14:26] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":119862512,"longitude_deg":75.6767104,"latitude_deg":11.9862512,"altitude":36,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"0724f4f0","is_valid_coordinates":true} 
[2026-08-11 15:14:26] 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-08-11 15:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328857856001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11672578649227264,"note":"Value kept but may cause issues"} 
[2026-08-11 15:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973891923968,"note":"Value kept but may cause issues"} 
[2026-08-11 15:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786441357000,"timestamp_ms":1786441357000,"timestamp_seconds":1786441357,"priority":1,"record_length":96,"hex_timestamp":"0000019ff033d6c8"} 
[2026-08-11 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-08-11 15:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 15:14: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-08-11 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-08-11 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-08-11 15:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328857856001,"66":2155,"44":206,"83":41984,"24":0,"16":11672578649227264,"45":1970535973891923968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-11 15:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328857856001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:14:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 15:14:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11672578649227264,"km_value":11672578649227.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973891923968,"description":"Unknown IO ID 45"} 
[2026-08-11 15:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328857856001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970535973891923968}} 
[2026-08-11 15:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":153558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:14:26] local.INFO: GPS data processed {"connection_id":153558,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:14:26] local.INFO: Acknowledgment sent {"connection_id":153558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:14:27] local.INFO: TCP Data received {"connection_id":153558,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff033d6c8012d1b59800724f4f0002400a629..."} 
[2026-08-11 15:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff033d6c8012d1b59800724f4f0002400a629..."} 
[2026-08-11 15:14:27] local.INFO: Processing buffer {"connection_id":153558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff033d6c8012d1b59800724f4f0002400a629..."} 
[2026-08-11 15:14:27] local.INFO: Packet analysis {"connection_id":153558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff033"} 
[2026-08-11 15:14:27] local.INFO: Extracted packet for processing {"connection_id":153558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff033"} 
[2026-08-11 15:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":119862512,"longitude_deg":75.6767104,"latitude_deg":11.9862512,"altitude":36,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"0724f4f0","is_valid_coordinates":true} 
[2026-08-11 15:14: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-08-11 15:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328987392001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11672578649227264,"note":"Value kept but may cause issues"} 
[2026-08-11 15:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747080124461056,"note":"Value kept but may cause issues"} 
[2026-08-11 15:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786441357000,"timestamp_ms":1786441357000,"timestamp_seconds":1786441357,"priority":1,"record_length":96,"hex_timestamp":"0000019ff033d6c8"} 
[2026-08-11 15:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:14: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-08-11 15: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 15:14:27] 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-08-11 15: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-08-11 15:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328987392001,"66":2155,"44":206,"83":41984,"24":0,"16":11672578649227264,"45":1970747080124461056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-11 15:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328987392001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:14:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 15:14:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11672578649227264,"km_value":11672578649227.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747080124461056,"description":"Unknown IO ID 45"} 
[2026-08-11 15:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328987392001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970747080124461056}} 
[2026-08-11 15:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":153558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:14:27] local.INFO: GPS data processed {"connection_id":153558,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:14:27] local.INFO: Acknowledgment sent {"connection_id":153558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:14:46] local.INFO: TCP Data received {"connection_id":154948,"ip":"42.106.6.44","data_length":405,"data_hex":"00000000000001898e050000019ff0345b98012d7be10005ec2c98000b01020a..."} 
[2026-08-11 15:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154948,"packet_length":405,"packet_hex":"00000000000001898e050000019ff0345b98012d7be10005ec2c98000b01020a..."} 
[2026-08-11 15:14:46] local.INFO: Processing buffer {"connection_id":154948,"buffer_length":405,"buffer_hex":"00000000000001898e050000019ff0345b98012d7be10005ec2c98000b01020a..."} 
[2026-08-11 15:14:46] local.INFO: Packet analysis {"connection_id":154948,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019ff034"} 
[2026-08-11 15:14:46] local.INFO: Extracted packet for processing {"connection_id":154948,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019ff034"} 
[2026-08-11 15:14:46] local.INFO: GPS Element Parsed {"raw_longitude":763093248,"raw_latitude":99363992,"longitude_deg":76.3093248,"latitude_deg":9.9363992,"altitude":11,"angle":258,"satellites":10,"speed":26,"hex_longitude":"2d7be100","hex_latitude":"05ec2c98","is_valid_coordinates":true} 
[2026-08-11 15:14:46] 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":405,"current_offset":40} 
[2026-08-11 15:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607113781411840,"note":"Value kept but may cause issues"} 
[2026-08-11 15:14:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,198,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786441391000,"timestamp_ms":1786441391000,"timestamp_seconds":1786441391,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0345b98"} 
[2026-08-11 15:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:14:46] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:14: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":405,"current_offset":136} 
[2026-08-11 15:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-11 15:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:14:46] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154948,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-11 15:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13472,"198":206,"87":13824,"24":26,"16":117607113781411840},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16]} 
[2026-08-11 15:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-11 15:14:46] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 15:14:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607113781411840,"km_value":117607113781411.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:14:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13472,"unknown_198":206,"unknown_87":13824,"ignition":26,"odometer":null}} 
[2026-08-11 15:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":154948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:14:46] local.INFO: GPS data processed {"connection_id":154948,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:14:46] local.INFO: Acknowledgment sent {"connection_id":154948,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:14:57] local.INFO: TCP Data received {"connection_id":153559,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:14:57] local.INFO: Processing buffer {"connection_id":153559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:14:57] local.INFO: Packet analysis {"connection_id":153559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:14:57] local.INFO: Extracted packet for processing {"connection_id":153559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:14:57] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328929280001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147142215408582656,"note":"Value kept but may cause issues"} 
[2026-08-11 15:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786441432000,"timestamp_ms":1786441432000,"timestamp_seconds":1786441432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff034fbc0"} 
[2026-08-11 15:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 15:14:57] 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-08-11 15: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-08-11 15:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328929280001,"66":26560,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7147142215408582656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328929280001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:14:57] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:14:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147142215408582656,"description":"Unknown IO ID 45"} 
[2026-08-11 15:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328929280001,"power":26560,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147142215408582656}} 
[2026-08-11 15:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":153559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:14:57] local.INFO: GPS data processed {"connection_id":153559,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:14:57] local.INFO: Acknowledgment sent {"connection_id":153559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:15:08] local.INFO: TCP Data received {"connection_id":152248,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:15:08] local.INFO: Processing buffer {"connection_id":152248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:15:08] local.INFO: IMEI packet received {"connection_id":152248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":152248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:15:10] local.INFO: TCP Data received {"connection_id":153560,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:15:10] local.INFO: Processing buffer {"connection_id":153560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:15:10] local.INFO: IMEI packet received {"connection_id":153560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":153560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:15:14] local.INFO: TCP Data received {"connection_id":152248,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:15:14] local.INFO: Processing buffer {"connection_id":152248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:15:14] local.INFO: IMEI packet received {"connection_id":152248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":152248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:15:14] local.INFO: TCP Data received {"connection_id":152248,"ip":"42.106.6.44","data_length":483,"data_hex":"00000000000001d78e060000019ff0346f20012d7bd3c005ec2968000d00ff0b..."} 
[2026-08-11 15:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152248,"packet_length":483,"packet_hex":"00000000000001d78e060000019ff0346f20012d7bd3c005ec2968000d00ff0b..."} 
[2026-08-11 15:15:14] local.INFO: Processing buffer {"connection_id":152248,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019ff0346f20012d7bd3c005ec2968000d00ff0b..."} 
[2026-08-11 15:15:14] local.INFO: Packet analysis {"connection_id":152248,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019ff034"} 
[2026-08-11 15:15:14] local.INFO: Extracted packet for processing {"connection_id":152248,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019ff034"} 
[2026-08-11 15:15:14] local.INFO: GPS Element Parsed {"raw_longitude":763089856,"raw_latitude":99363176,"longitude_deg":76.3089856,"latitude_deg":9.9363176,"altitude":13,"angle":255,"satellites":11,"speed":28,"hex_longitude":"2d7bd3c0","hex_latitude":"05ec2968","is_valid_coordinates":true} 
[2026-08-11 15:15: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":483,"current_offset":40} 
[2026-08-11 15:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328996096001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607281285136384,"note":"Value kept but may cause issues"} 
[2026-08-11 15:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926415961862215680,"note":"Value kept but may cause issues"} 
[2026-08-11 15:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786441396000,"timestamp_ms":1786441396000,"timestamp_seconds":1786441396,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0346f20"} 
[2026-08-11 15:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:15: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":483,"current_offset":136} 
[2026-08-11 15:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-11 15:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:15:14] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152248,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-08-11 15:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328996096001,"66":13406,"198":206,"87":13824,"24":28,"16":117607281285136384,"45":8926415961862215680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 15:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328996096001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:15:14] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 15:15:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607281285136384,"km_value":117607281285136.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926415961862215680,"description":"Unknown IO ID 45"} 
[2026-08-11 15:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328996096001,"power":13406,"unknown_198":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8926415961862215680}} 
[2026-08-11 15:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":152248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:15:15] local.INFO: GPS data processed {"connection_id":152248,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:15:15] local.INFO: Acknowledgment sent {"connection_id":152248,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:15:15] local.INFO: TCP Data received {"connection_id":153560,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:15:15] local.INFO: Processing buffer {"connection_id":153560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:15:15] local.INFO: IMEI packet received {"connection_id":153560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":153560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:15:16] local.INFO: TCP Data received {"connection_id":153560,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff033d6c8012d1b59800724f4f0002400a629..."} 
[2026-08-11 15:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff033d6c8012d1b59800724f4f0002400a629..."} 
[2026-08-11 15:15:16] local.INFO: Processing buffer {"connection_id":153560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff033d6c8012d1b59800724f4f0002400a629..."} 
[2026-08-11 15:15:16] local.INFO: Packet analysis {"connection_id":153560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff033"} 
[2026-08-11 15:15:16] local.INFO: Extracted packet for processing {"connection_id":153560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff033"} 
[2026-08-11 15:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":119862512,"longitude_deg":75.6767104,"latitude_deg":11.9862512,"altitude":36,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"0724f4f0","is_valid_coordinates":true} 
[2026-08-11 15:15: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-08-11 15:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328987392001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11672578649227264,"note":"Value kept but may cause issues"} 
[2026-08-11 15:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747080124461056,"note":"Value kept but may cause issues"} 
[2026-08-11 15:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786441357000,"timestamp_ms":1786441357000,"timestamp_seconds":1786441357,"priority":1,"record_length":96,"hex_timestamp":"0000019ff033d6c8"} 
[2026-08-11 15:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:15:16] 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-08-11 15: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 15:15:16] 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-08-11 15: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-08-11 15:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328987392001,"66":2155,"44":206,"83":41984,"24":0,"16":11672578649227264,"45":1970747080124461056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-11 15:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328987392001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:15:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 15:15:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11672578649227264,"km_value":11672578649227.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747080124461056,"description":"Unknown IO ID 45"} 
[2026-08-11 15:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328987392001,"power":2155,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970747080124461056}} 
[2026-08-11 15:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":153560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:15:16] local.INFO: GPS data processed {"connection_id":153560,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:15:16] local.INFO: Acknowledgment sent {"connection_id":153560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:15:46] local.INFO: TCP Data received {"connection_id":152248,"ip":"42.106.6.44","data_length":561,"data_hex":"00000000000002258e070000019ff034a1e8012d7bb1c005ec1f08001100fc0d..."} 
[2026-08-11 15:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152248,"packet_length":561,"packet_hex":"00000000000002258e070000019ff034a1e8012d7bb1c005ec1f08001100fc0d..."} 
[2026-08-11 15:15:46] local.INFO: Processing buffer {"connection_id":152248,"buffer_length":561,"buffer_hex":"00000000000002258e070000019ff034a1e8012d7bb1c005ec1f08001100fc0d..."} 
[2026-08-11 15:15:46] local.INFO: Packet analysis {"connection_id":152248,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019ff034"} 
[2026-08-11 15:15:46] local.INFO: Extracted packet for processing {"connection_id":152248,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019ff034"} 
[2026-08-11 15:15:46] local.INFO: GPS Element Parsed {"raw_longitude":763081152,"raw_latitude":99360520,"longitude_deg":76.3081152,"latitude_deg":9.936052,"altitude":17,"angle":252,"satellites":13,"speed":26,"hex_longitude":"2d7bb1c0","hex_latitude":"05ec1f08","is_valid_coordinates":true} 
[2026-08-11 15:15: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":561,"current_offset":40} 
[2026-08-11 15:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328997376001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117607715076833280,"note":"Value kept but may cause issues"} 
[2026-08-11 15:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922686418420590592,"note":"Value kept but may cause issues"} 
[2026-08-11 15:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786441409000,"timestamp_ms":1786441409000,"timestamp_seconds":1786441409,"priority":1,"record_length":96,"hex_timestamp":"0000019ff034a1e8"} 
[2026-08-11 15:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:15: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":94,"data_length":561,"current_offset":136} 
[2026-08-11 15:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-11 15:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:15:46] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152248,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-08-11 15:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328997376001,"66":13580,"198":206,"87":13824,"24":26,"16":117607715076833280,"45":8922686418420590592},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 15:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328997376001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:15:46] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 15:15:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117607715076833280,"km_value":117607715076833.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922686418420590592,"description":"Unknown IO ID 45"} 
[2026-08-11 15:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328997376001,"power":13580,"unknown_198":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8922686418420590592}} 
[2026-08-11 15:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":152248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:15:46] local.INFO: GPS data processed {"connection_id":152248,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:15:46] local.INFO: Acknowledgment sent {"connection_id":152248,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:15:47] local.INFO: TCP Data received {"connection_id":153560,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0343c58012d1b58c00724f4e0002400a629..."} 
[2026-08-11 15:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0343c58012d1b58c00724f4e0002400a629..."} 
[2026-08-11 15:15:47] local.INFO: Processing buffer {"connection_id":153560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0343c58012d1b58c00724f4e0002400a629..."} 
[2026-08-11 15:15:47] local.INFO: Packet analysis {"connection_id":153560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:15:47] local.INFO: Extracted packet for processing {"connection_id":153560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119862496,"longitude_deg":75.6766912,"latitude_deg":11.9862496,"altitude":36,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d1b58c0","hex_latitude":"0724f4e0","is_valid_coordinates":true} 
[2026-08-11 15:15: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-08-11 15:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328987392001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11672578649227264,"note":"Value kept but may cause issues"} 
[2026-08-11 15:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747080124461056,"note":"Value kept but may cause issues"} 
[2026-08-11 15:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786441383000,"timestamp_ms":1786441383000,"timestamp_seconds":1786441383,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0343c58"} 
[2026-08-11 15:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:15:47] 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-08-11 15:15: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 15:15:47] 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-08-11 15:15: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-08-11 15:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328987392001,"66":14157,"44":206,"83":41984,"24":0,"16":11672578649227264,"45":1970747080124461056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-11 15:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328987392001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:15:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 15:15:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11672578649227264,"km_value":11672578649227.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747080124461056,"description":"Unknown IO ID 45"} 
[2026-08-11 15:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328987392001,"power":14157,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970747080124461056}} 
[2026-08-11 15:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":153560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:15:47] local.INFO: GPS data processed {"connection_id":153560,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:15:47] local.INFO: Acknowledgment sent {"connection_id":153560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:15:54] local.INFO: TCP Data received {"connection_id":152615,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:15:54] local.INFO: Processing buffer {"connection_id":152615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:15:54] local.INFO: IMEI packet received {"connection_id":152615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":152615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:15:59] local.INFO: TCP Data received {"connection_id":152615,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:15:59] local.INFO: Processing buffer {"connection_id":152615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:15:59] local.INFO: IMEI packet received {"connection_id":152615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":152615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:16:00] local.INFO: TCP Data received {"connection_id":152615,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:16:00] local.INFO: Processing buffer {"connection_id":152615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:16:00] local.INFO: Packet analysis {"connection_id":152615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:16:00] local.INFO: Extracted packet for processing {"connection_id":152615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:16:00] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328929280001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147142215408582656,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786441432000,"timestamp_ms":1786441432000,"timestamp_seconds":1786441432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff034fbc0"} 
[2026-08-11 15:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 15:16:00] 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-08-11 15: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-08-11 15:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:16:00] 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-08-11 15:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328929280001,"66":26560,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7147142215408582656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328929280001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:16:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:16:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147142215408582656,"description":"Unknown IO ID 45"} 
[2026-08-11 15:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328929280001,"power":26560,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147142215408582656}} 
[2026-08-11 15:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":152615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:16:00] local.INFO: GPS data processed {"connection_id":152615,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:16:00] local.INFO: Acknowledgment sent {"connection_id":152615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:16:10] local.INFO: TCP Data received {"connection_id":154951,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:16:10] local.INFO: Processing buffer {"connection_id":154951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:16:10] local.INFO: IMEI packet received {"connection_id":154951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":154951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:16:15] local.INFO: TCP Data received {"connection_id":154951,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:16:15] local.INFO: Processing buffer {"connection_id":154951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:16:15] local.INFO: IMEI packet received {"connection_id":154951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":154951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:16:16] local.INFO: TCP Data received {"connection_id":154951,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0348e60012d1b58c00724f4e0002400a629..."} 
[2026-08-11 15:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0348e60012d1b58c00724f4e0002400a629..."} 
[2026-08-11 15:16:16] local.INFO: Processing buffer {"connection_id":154951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0348e60012d1b58c00724f4e0002400a629..."} 
[2026-08-11 15:16:16] local.INFO: Packet analysis {"connection_id":154951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:16:16] local.INFO: Extracted packet for processing {"connection_id":154951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:16:16] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119862496,"longitude_deg":75.6766912,"latitude_deg":11.9862496,"altitude":36,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d1b58c0","hex_latitude":"0724f4e0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328994048001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11672578649227264,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973891923968,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786441404000,"timestamp_ms":1786441404000,"timestamp_seconds":1786441404,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0348e60"} 
[2026-08-11 15:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:16:16] 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-08-11 15: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 15:16:16] 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-08-11 15: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-08-11 15:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328994048001,"66":14276,"44":206,"83":41984,"24":0,"16":11672578649227264,"45":1970535973891923968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-11 15:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328994048001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:16:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 15:16:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11672578649227264,"km_value":11672578649227.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973891923968,"description":"Unknown IO ID 45"} 
[2026-08-11 15:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328994048001,"power":14276,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970535973891923968}} 
[2026-08-11 15:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":154951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:16:16] local.INFO: GPS data processed {"connection_id":154951,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:16:16] local.INFO: Acknowledgment sent {"connection_id":154951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:16:17] local.INFO: TCP Data received {"connection_id":152248,"ip":"42.106.6.44","data_length":639,"data_hex":"00000000000002738e080000019ff034dc80012d7b8d4005ec1508001700fd10..."} 
[2026-08-11 15:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152248,"packet_length":639,"packet_hex":"00000000000002738e080000019ff034dc80012d7b8d4005ec1508001700fd10..."} 
[2026-08-11 15:16:17] local.INFO: Processing buffer {"connection_id":152248,"buffer_length":639,"buffer_hex":"00000000000002738e080000019ff034dc80012d7b8d4005ec1508001700fd10..."} 
[2026-08-11 15:16:17] local.INFO: Packet analysis {"connection_id":152248,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019ff034"} 
[2026-08-11 15:16:17] local.INFO: Extracted packet for processing {"connection_id":152248,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019ff034"} 
[2026-08-11 15:16:17] local.INFO: GPS Element Parsed {"raw_longitude":763071808,"raw_latitude":99357960,"longitude_deg":76.3071808,"latitude_deg":9.935796,"altitude":23,"angle":253,"satellites":16,"speed":29,"hex_longitude":"2d7b8d40","hex_latitude":"05ec1508","is_valid_coordinates":true} 
[2026-08-11 15: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":639,"current_offset":40} 
[2026-08-11 15:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329000704001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117608174638333952,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913116269211748352,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786441424000,"timestamp_ms":1786441424000,"timestamp_seconds":1786441424,"priority":1,"record_length":96,"hex_timestamp":"0000019ff034dc80"} 
[2026-08-11 15:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:16:17] 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-08-11 15: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":53,"n8_eight_byte":12,"data_length":639,"current_offset":136} 
[2026-08-11 15:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":571,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-11 15:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:16:17] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152248,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-08-11 15:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329000704001,"66":13624,"198":206,"87":13824,"24":29,"16":117608174638333952,"45":8913116269211748352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 15:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329000704001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:16:17] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 15:16:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117608174638333952,"km_value":117608174638333.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913116269211748352,"description":"Unknown IO ID 45"} 
[2026-08-11 15:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329000704001,"power":13624,"unknown_198":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8913116269211748352}} 
[2026-08-11 15:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":152248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:16:17] local.INFO: GPS data processed {"connection_id":152248,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:16:17] local.INFO: Acknowledgment sent {"connection_id":152248,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:16:25] local.INFO: TCP Data received {"connection_id":154952,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:16:25] local.INFO: Processing buffer {"connection_id":154952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:16:25] local.INFO: IMEI packet received {"connection_id":154952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":154952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:16:29] local.INFO: TCP Data received {"connection_id":154952,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:16:29] local.INFO: Processing buffer {"connection_id":154952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:16:29] local.INFO: IMEI packet received {"connection_id":154952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":154952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:16:30] local.INFO: TCP Data received {"connection_id":154952,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:16:30] local.INFO: Processing buffer {"connection_id":154952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:16:30] local.INFO: Packet analysis {"connection_id":154952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:16:30] local.INFO: Extracted packet for processing {"connection_id":154952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:16:30] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328929280001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147142215408582656,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786441432000,"timestamp_ms":1786441432000,"timestamp_seconds":1786441432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff034fbc0"} 
[2026-08-11 15:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 15:16:30] 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-08-11 15: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-08-11 15:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:16:30] 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-08-11 15:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328929280001,"66":26560,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7147142215408582656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328929280001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:16:30] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:16:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147142215408582656,"description":"Unknown IO ID 45"} 
[2026-08-11 15:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328929280001,"power":26560,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147142215408582656}} 
[2026-08-11 15:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":154952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:16:30] local.INFO: GPS data processed {"connection_id":154952,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:16:30] local.INFO: Acknowledgment sent {"connection_id":154952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:16:47] local.INFO: TCP Data received {"connection_id":154951,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff036ff60012d1b6780072559580029007f2b..."} 
[2026-08-11 15:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff036ff60012d1b6780072559580029007f2b..."} 
[2026-08-11 15:16:47] local.INFO: Processing buffer {"connection_id":154951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff036ff60012d1b6780072559580029007f2b..."} 
[2026-08-11 15:16:47] local.INFO: Packet analysis {"connection_id":154951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff036"} 
[2026-08-11 15:16:47] local.INFO: Extracted packet for processing {"connection_id":154951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff036"} 
[2026-08-11 15:16:47] local.INFO: GPS Element Parsed {"raw_longitude":756770688,"raw_latitude":119888216,"longitude_deg":75.6770688,"latitude_deg":11.9888216,"altitude":41,"angle":127,"satellites":43,"speed":5,"hex_longitude":"2d1b6780","hex_latitude":"07255958","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329035776001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11673935858892800,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973421092409729024,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:47] 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-08-11 15:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786441564000,"timestamp_ms":1786441564000,"timestamp_seconds":1786441564,"priority":1,"record_length":96,"hex_timestamp":"0000019ff036ff60"} 
[2026-08-11 15:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:16:47] 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-08-11 15: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-11 15:16:47] 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-08-11 15: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-08-11 15:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329035776001,"66":14374,"43":206,"83":41984,"24":5,"16":11673935858892800,"45":1973421092409729024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-11 15:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329035776001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:16:47] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-11 15:16:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11673935858892800,"km_value":11673935858892.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973421092409729024,"description":"Unknown IO ID 45"} 
[2026-08-11 15:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329035776001,"power":14374,"unknown_43":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1973421092409729024}} 
[2026-08-11 15:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":154951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:16:47] local.INFO: GPS data processed {"connection_id":154951,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:16:47] local.INFO: Acknowledgment sent {"connection_id":154951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:16:48] local.INFO: TCP Data received {"connection_id":152248,"ip":"42.106.6.44","data_length":717,"data_hex":"00000000000002c18e090000019ff0351330012d7b6a8005ec0a88001800fc11..."} 
[2026-08-11 15:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152248,"packet_length":717,"packet_hex":"00000000000002c18e090000019ff0351330012d7b6a8005ec0a88001800fc11..."} 
[2026-08-11 15:16:48] local.INFO: Processing buffer {"connection_id":152248,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019ff0351330012d7b6a8005ec0a88001800fc11..."} 
[2026-08-11 15:16:48] local.INFO: Packet analysis {"connection_id":152248,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019ff035"} 
[2026-08-11 15:16:48] local.INFO: Extracted packet for processing {"connection_id":152248,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019ff035"} 
[2026-08-11 15:16:48] local.INFO: GPS Element Parsed {"raw_longitude":763062912,"raw_latitude":99355272,"longitude_deg":76.3062912,"latitude_deg":9.9355272,"altitude":24,"angle":252,"satellites":17,"speed":25,"hex_longitude":"2d7b6a80","hex_latitude":"05ec0a88","is_valid_coordinates":true} 
[2026-08-11 15:16: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":717,"current_offset":40} 
[2026-08-11 15:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329004544001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117608621314932736,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902842432561154048,"note":"Value kept but may cause issues"} 
[2026-08-11 15:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786441438000,"timestamp_ms":1786441438000,"timestamp_seconds":1786441438,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0351330"} 
[2026-08-11 15:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:16:48] 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-08-11 15:16: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":56,"data_length":717,"current_offset":136} 
[2026-08-11 15:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-11 15:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:16:48] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152248,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-11 15:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329004544001,"66":13504,"198":206,"87":13824,"24":25,"16":117608621314932736,"45":8902842432561154048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 15:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329004544001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:16:48] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 15:16:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117608621314932736,"km_value":117608621314932.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902842432561154048,"description":"Unknown IO ID 45"} 
[2026-08-11 15:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329004544001,"power":13504,"unknown_198":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8902842432561154048}} 
[2026-08-11 15:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":152248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:16:48] local.INFO: GPS data processed {"connection_id":152248,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:16:48] local.INFO: Acknowledgment sent {"connection_id":152248,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:17:02] local.INFO: TCP Data received {"connection_id":154952,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:17:02] local.INFO: Processing buffer {"connection_id":154952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:17:02] local.INFO: Packet analysis {"connection_id":154952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:17:02] local.INFO: Extracted packet for processing {"connection_id":154952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:17:02] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15:17: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-08-11 15:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328929280001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147142215408582656,"note":"Value kept but may cause issues"} 
[2026-08-11 15:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786441432000,"timestamp_ms":1786441432000,"timestamp_seconds":1786441432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff034fbc0"} 
[2026-08-11 15:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:17: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-08-11 15:17: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-08-11 15:17: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-08-11 15:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":154952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":154952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":154952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:17:02] 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-08-11 15:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328929280001,"66":26560,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7147142215408582656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328929280001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:17:02] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:17:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147142215408582656,"description":"Unknown IO ID 45"} 
[2026-08-11 15:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328929280001,"power":26560,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147142215408582656}} 
[2026-08-11 15:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":154952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:17:02] local.INFO: GPS data processed {"connection_id":154952,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:17:02] local.INFO: Acknowledgment sent {"connection_id":154952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:17:05] local.INFO: TCP Data received {"connection_id":154953,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:17:05] local.INFO: Processing buffer {"connection_id":154953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:17:05] local.INFO: IMEI packet received {"connection_id":154953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":154953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:17:06] local.INFO: TCP Data received {"connection_id":154953,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:17:06] local.INFO: Processing buffer {"connection_id":154953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:17:06] local.INFO: IMEI packet received {"connection_id":154953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":154953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:17:09] local.INFO: TCP Data received {"connection_id":154953,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:17:09] local.INFO: Processing buffer {"connection_id":154953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:17:09] local.INFO: IMEI packet received {"connection_id":154953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":154953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:17:09] local.INFO: TCP Data received {"connection_id":154953,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:17:09] local.INFO: Processing buffer {"connection_id":154953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:17:09] local.INFO: IMEI packet received {"connection_id":154953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":154953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:17:15] local.INFO: TCP Data received {"connection_id":153561,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:17:15] local.INFO: Processing buffer {"connection_id":153561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:17:15] local.INFO: IMEI packet received {"connection_id":153561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":153561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:17:19] local.INFO: TCP Data received {"connection_id":153562,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:17:19] local.INFO: Processing buffer {"connection_id":153562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:17:19] local.INFO: IMEI packet received {"connection_id":153562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":153562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:17:20] local.INFO: TCP Data received {"connection_id":153561,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:17:20] local.INFO: Processing buffer {"connection_id":153561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:17:20] local.INFO: IMEI packet received {"connection_id":153561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":153561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:17:21] local.INFO: TCP Data received {"connection_id":153561,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0370348012d1b6840072559080029008d2b..."} 
[2026-08-11 15:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0370348012d1b6840072559080029008d2b..."} 
[2026-08-11 15:17:21] local.INFO: Processing buffer {"connection_id":153561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0370348012d1b6840072559080029008d2b..."} 
[2026-08-11 15:17:21] local.INFO: Packet analysis {"connection_id":153561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff037"} 
[2026-08-11 15:17:21] local.INFO: Extracted packet for processing {"connection_id":153561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff037"} 
[2026-08-11 15:17:21] local.INFO: GPS Element Parsed {"raw_longitude":756770880,"raw_latitude":119888136,"longitude_deg":75.677088,"latitude_deg":11.9888136,"altitude":41,"angle":141,"satellites":43,"speed":6,"hex_longitude":"2d1b6840","hex_latitude":"07255908","is_valid_coordinates":true} 
[2026-08-11 15:17: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-08-11 15:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329040384001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11673944448827392,"note":"Value kept but may cause issues"} 
[2026-08-11 15:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974687729804990464,"note":"Value kept but may cause issues"} 
[2026-08-11 15:17:21] 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-08-11 15:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786441565000,"timestamp_ms":1786441565000,"timestamp_seconds":1786441565,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0370348"} 
[2026-08-11 15:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:17:21] 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-08-11 15:17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 15:17:21] 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-08-11 15:17: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-08-11 15:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":153561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":153561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":153561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329040384001,"66":13656,"43":206,"83":41984,"24":6,"16":11673944448827392,"45":1974687729804990464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-11 15:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329040384001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:17:21] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-11 15:17:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11673944448827392,"km_value":11673944448827.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974687729804990464,"description":"Unknown IO ID 45"} 
[2026-08-11 15:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329040384001,"power":13656,"unknown_43":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1974687729804990464}} 
[2026-08-11 15:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":153561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:17:21] local.INFO: GPS data processed {"connection_id":153561,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:17:21] local.INFO: Acknowledgment sent {"connection_id":153561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:17:24] local.INFO: TCP Data received {"connection_id":153562,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:17:24] local.INFO: Processing buffer {"connection_id":153562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:17:24] local.INFO: IMEI packet received {"connection_id":153562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":153562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:17:25] local.INFO: TCP Data received {"connection_id":153562,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:17:25] local.INFO: Processing buffer {"connection_id":153562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:17:25] local.INFO: Packet analysis {"connection_id":153562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:17:25] local.INFO: Extracted packet for processing {"connection_id":153562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:17:25] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15:17: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-08-11 15:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328929280001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147142215408582656,"note":"Value kept but may cause issues"} 
[2026-08-11 15:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786441432000,"timestamp_ms":1786441432000,"timestamp_seconds":1786441432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff034fbc0"} 
[2026-08-11 15:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 15:17:25] 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-08-11 15:17: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-08-11 15:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:17:25] 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-08-11 15:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328929280001,"66":26560,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7147142215408582656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328929280001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:17:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:17:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147142215408582656,"description":"Unknown IO ID 45"} 
[2026-08-11 15:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328929280001,"power":26560,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147142215408582656}} 
[2026-08-11 15:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":153562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:17:25] local.INFO: GPS data processed {"connection_id":153562,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:17:25] local.INFO: Acknowledgment sent {"connection_id":153562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:17:52] local.INFO: TCP Data received {"connection_id":153561,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0370730012d1b688007255890002900a02a..."} 
[2026-08-11 15:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0370730012d1b688007255890002900a02a..."} 
[2026-08-11 15:17:52] local.INFO: Processing buffer {"connection_id":153561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0370730012d1b688007255890002900a02a..."} 
[2026-08-11 15:17:52] local.INFO: Packet analysis {"connection_id":153561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff037"} 
[2026-08-11 15:17:52] local.INFO: Extracted packet for processing {"connection_id":153561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff037"} 
[2026-08-11 15:17:52] local.INFO: GPS Element Parsed {"raw_longitude":756770944,"raw_latitude":119888016,"longitude_deg":75.6770944,"latitude_deg":11.9888016,"altitude":41,"angle":160,"satellites":42,"speed":5,"hex_longitude":"2d1b6880","hex_latitude":"07255890","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329040640001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11673953038761984,"note":"Value kept but may cause issues"} 
[2026-08-11 15:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974898836037502976,"note":"Value kept but may cause issues"} 
[2026-08-11 15:17:52] 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-08-11 15:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786441566000,"timestamp_ms":1786441566000,"timestamp_seconds":1786441566,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0370730"} 
[2026-08-11 15:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:17:52] 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-08-11 15: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-11 15:17:52] 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-08-11 15: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-08-11 15:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329040640001,"66":13656,"43":206,"83":41984,"24":5,"16":11673953038761984,"45":1974898836037502976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-11 15:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329040640001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:17:52] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-11 15:17:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11673953038761984,"km_value":11673953038761.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974898836037502976,"description":"Unknown IO ID 45"} 
[2026-08-11 15:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329040640001,"power":13656,"unknown_43":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1974898836037502976}} 
[2026-08-11 15:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":153561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:17:52] local.INFO: GPS data processed {"connection_id":153561,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:17:52] local.INFO: Acknowledgment sent {"connection_id":153561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:17:57] local.INFO: TCP Data received {"connection_id":153562,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:17:57] local.INFO: Processing buffer {"connection_id":153562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:17:57] local.INFO: Packet analysis {"connection_id":153562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:17:57] local.INFO: Extracted packet for processing {"connection_id":153562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:17:57] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15:17: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-08-11 15:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328929280001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147142215408582656,"note":"Value kept but may cause issues"} 
[2026-08-11 15:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786441432000,"timestamp_ms":1786441432000,"timestamp_seconds":1786441432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff034fbc0"} 
[2026-08-11 15:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:17: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":217,"data_length":795,"current_offset":136} 
[2026-08-11 15:17:57] 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-08-11 15:17: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-08-11 15:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:17:57] 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-08-11 15:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328929280001,"66":26560,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7147142215408582656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328929280001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:17:57] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:17:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147142215408582656,"description":"Unknown IO ID 45"} 
[2026-08-11 15:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328929280001,"power":26560,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147142215408582656}} 
[2026-08-11 15:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":153562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:17:57] local.INFO: GPS data processed {"connection_id":153562,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:17:57] local.INFO: Acknowledgment sent {"connection_id":153562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:18:12] local.INFO: TCP Data received {"connection_id":152249,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:18:12] local.INFO: Processing buffer {"connection_id":152249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:18:12] local.INFO: IMEI packet received {"connection_id":152249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":152249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:18:15] local.INFO: TCP Data received {"connection_id":152249,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:18:15] local.INFO: Processing buffer {"connection_id":152249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:18:15] local.INFO: IMEI packet received {"connection_id":152249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":152249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:18:16] local.INFO: TCP Data received {"connection_id":152249,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03712e8012d1b68c007255760002900b02b..."} 
[2026-08-11 15:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03712e8012d1b68c007255760002900b02b..."} 
[2026-08-11 15:18:16] local.INFO: Processing buffer {"connection_id":152249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03712e8012d1b68c007255760002900b02b..."} 
[2026-08-11 15:18:16] local.INFO: Packet analysis {"connection_id":152249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff037"} 
[2026-08-11 15:18:16] local.INFO: Extracted packet for processing {"connection_id":152249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff037"} 
[2026-08-11 15:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756771008,"raw_latitude":119887712,"longitude_deg":75.6771008,"latitude_deg":11.9887712,"altitude":41,"angle":176,"satellites":43,"speed":6,"hex_longitude":"2d1b68c0","hex_latitude":"07255760","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329040896001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11673970218631168,"note":"Value kept but may cause issues"} 
[2026-08-11 15:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974969204781649920,"note":"Value kept but may cause issues"} 
[2026-08-11 15:18:16] 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-08-11 15:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786441569000,"timestamp_ms":1786441569000,"timestamp_seconds":1786441569,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03712e8"} 
[2026-08-11 15:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:18:16] 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-08-11 15: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-11 15:18: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-08-11 15: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-08-11 15:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329040896001,"66":14026,"43":206,"83":41984,"24":6,"16":11673970218631168,"45":1974969204781649920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-11 15:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329040896001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:18:16] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-11 15:18:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11673970218631168,"km_value":11673970218631.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974969204781649920,"description":"Unknown IO ID 45"} 
[2026-08-11 15:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329040896001,"power":14026,"unknown_43":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1974969204781649920}} 
[2026-08-11 15:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":152249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:18:16] local.INFO: GPS data processed {"connection_id":152249,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:18:16] local.INFO: Acknowledgment sent {"connection_id":152249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:18:19] local.INFO: TCP Data received {"connection_id":153563,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:18:19] local.INFO: Processing buffer {"connection_id":153563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:18:19] local.INFO: IMEI packet received {"connection_id":153563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":153563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:18:24] local.INFO: TCP Data received {"connection_id":153563,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:18:24] local.INFO: Processing buffer {"connection_id":153563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:18:24] local.INFO: IMEI packet received {"connection_id":153563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":153563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:18:25] local.INFO: TCP Data received {"connection_id":153563,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:18:25] local.INFO: Processing buffer {"connection_id":153563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:18:25] local.INFO: Packet analysis {"connection_id":153563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:18:25] local.INFO: Extracted packet for processing {"connection_id":153563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:18:25] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328929280001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147142215408582656,"note":"Value kept but may cause issues"} 
[2026-08-11 15:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786441432000,"timestamp_ms":1786441432000,"timestamp_seconds":1786441432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff034fbc0"} 
[2026-08-11 15:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 15:18:25] 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-08-11 15: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-08-11 15:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:18:25] 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-08-11 15:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328929280001,"66":26560,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7147142215408582656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328929280001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:18:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:18:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147142215408582656,"description":"Unknown IO ID 45"} 
[2026-08-11 15:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328929280001,"power":26560,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147142215408582656}} 
[2026-08-11 15:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":153563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:18:25] local.INFO: GPS data processed {"connection_id":153563,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:18:25] local.INFO: Acknowledgment sent {"connection_id":153563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:18:50] local.INFO: TCP Data received {"connection_id":152249,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0371ea0012d1b68c007255470002900bc29..."} 
[2026-08-11 15:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0371ea0012d1b68c007255470002900bc29..."} 
[2026-08-11 15:18:50] local.INFO: Processing buffer {"connection_id":152249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0371ea0012d1b68c007255470002900bc29..."} 
[2026-08-11 15:18:50] local.INFO: Packet analysis {"connection_id":152249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff037"} 
[2026-08-11 15:18:50] local.INFO: Extracted packet for processing {"connection_id":152249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff037"} 
[2026-08-11 15:18:50] local.INFO: GPS Element Parsed {"raw_longitude":756771008,"raw_latitude":119886960,"longitude_deg":75.6771008,"latitude_deg":11.988696,"altitude":41,"angle":188,"satellites":41,"speed":14,"hex_longitude":"2d1b68c0","hex_latitude":"07255470","is_valid_coordinates":true} 
[2026-08-11 15:18: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-08-11 15:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329041664001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11674004578369536,"note":"Value kept but may cause issues"} 
[2026-08-11 15:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975039573525749760,"note":"Value kept but may cause issues"} 
[2026-08-11 15:18:50] 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-08-11 15:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786441572000,"timestamp_ms":1786441572000,"timestamp_seconds":1786441572,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0371ea0"} 
[2026-08-11 15:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:18:50] 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-08-11 15:18: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":202,"data_length":795,"current_offset":136} 
[2026-08-11 15:18:50] 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-08-11 15:18: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-08-11 15:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329041664001,"66":14363,"43":206,"83":41984,"24":14,"16":11674004578369536,"45":1975039573525749760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-11 15:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329041664001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:18:50] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-11 15:18:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11674004578369536,"km_value":11674004578369.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975039573525749760,"description":"Unknown IO ID 45"} 
[2026-08-11 15:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329041664001,"power":14363,"unknown_43":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1975039573525749760}} 
[2026-08-11 15:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":152249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:18:50] local.INFO: GPS data processed {"connection_id":152249,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:18:50] local.INFO: Acknowledgment sent {"connection_id":152249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:18:56] local.INFO: TCP Data received {"connection_id":153563,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:18:56] local.INFO: Processing buffer {"connection_id":153563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:18:56] local.INFO: Packet analysis {"connection_id":153563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:18:56] local.INFO: Extracted packet for processing {"connection_id":153563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:18:56] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328929280001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147142215408582656,"note":"Value kept but may cause issues"} 
[2026-08-11 15:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786441432000,"timestamp_ms":1786441432000,"timestamp_seconds":1786441432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff034fbc0"} 
[2026-08-11 15:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 15:18:56] 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-08-11 15: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-08-11 15:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:18:56] 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-08-11 15:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328929280001,"66":26560,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7147142215408582656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328929280001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:18:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:18:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147142215408582656,"description":"Unknown IO ID 45"} 
[2026-08-11 15:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328929280001,"power":26560,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147142215408582656}} 
[2026-08-11 15:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":153563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:18:56] local.INFO: GPS data processed {"connection_id":153563,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:18:56] local.INFO: Acknowledgment sent {"connection_id":153563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:19:11] local.INFO: TCP Data received {"connection_id":154956,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:19:11] local.INFO: Processing buffer {"connection_id":154956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:19:11] local.INFO: IMEI packet received {"connection_id":154956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":154956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:19:15] local.INFO: TCP Data received {"connection_id":154956,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:19:15] local.INFO: Processing buffer {"connection_id":154956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:19:15] local.INFO: IMEI packet received {"connection_id":154956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":154956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:19:16] local.INFO: TCP Data received {"connection_id":154956,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0376108012d1b6140072530e0002600bf29..."} 
[2026-08-11 15:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0376108012d1b6140072530e0002600bf29..."} 
[2026-08-11 15:19:16] local.INFO: Processing buffer {"connection_id":154956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0376108012d1b6140072530e0002600bf29..."} 
[2026-08-11 15:19:16] local.INFO: Packet analysis {"connection_id":154956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff037"} 
[2026-08-11 15:19:16] local.INFO: Extracted packet for processing {"connection_id":154956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff037"} 
[2026-08-11 15:19:16] local.INFO: GPS Element Parsed {"raw_longitude":756769088,"raw_latitude":119877856,"longitude_deg":75.6769088,"latitude_deg":11.9877856,"altitude":38,"angle":191,"satellites":41,"speed":23,"hex_longitude":"2d1b6140","hex_latitude":"072530e0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329042432001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11674455549935616,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975039573525557248,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:16] 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-08-11 15:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786441589000,"timestamp_ms":1786441589000,"timestamp_seconds":1786441589,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0376108"} 
[2026-08-11 15:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:19:16] 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-08-11 15: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-11 15:19:16] 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-08-11 15: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-08-11 15:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329042432001,"66":14341,"43":206,"83":41984,"24":23,"16":11674455549935616,"45":1975039573525557248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-11 15:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329042432001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:19:16] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-11 15:19:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11674455549935616,"km_value":11674455549935.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975039573525557248,"description":"Unknown IO ID 45"} 
[2026-08-11 15:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329042432001,"power":14341,"unknown_43":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1975039573525557248}} 
[2026-08-11 15:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":154956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:19:16] local.INFO: GPS data processed {"connection_id":154956,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:19:16] local.INFO: Acknowledgment sent {"connection_id":154956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:19:19] local.INFO: TCP Data received {"connection_id":153564,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:19:19] local.INFO: Processing buffer {"connection_id":153564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:19:19] local.INFO: IMEI packet received {"connection_id":153564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":153564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:19:24] local.INFO: TCP Data received {"connection_id":153564,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:19:24] local.INFO: Processing buffer {"connection_id":153564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:19:24] local.INFO: IMEI packet received {"connection_id":153564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":153564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:19:25] local.INFO: TCP Data received {"connection_id":153564,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:19:25] local.INFO: Processing buffer {"connection_id":153564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff034fbc0012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:19:25] local.INFO: Packet analysis {"connection_id":153564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:19:25] local.INFO: Extracted packet for processing {"connection_id":153564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff034"} 
[2026-08-11 15:19:25] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457328929280001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147142215408582656,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786441432000,"timestamp_ms":1786441432000,"timestamp_seconds":1786441432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff034fbc0"} 
[2026-08-11 15:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 15:19:25] 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-08-11 15: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-08-11 15:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:19:25] 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-08-11 15:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457328929280001,"66":26560,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7147142215408582656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457328929280001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:19:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:19:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147142215408582656,"description":"Unknown IO ID 45"} 
[2026-08-11 15:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457328929280001,"power":26560,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147142215408582656}} 
[2026-08-11 15:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":153564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:19:25] local.INFO: GPS data processed {"connection_id":153564,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:19:25] local.INFO: Acknowledgment sent {"connection_id":153564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:19:47] local.INFO: TCP Data received {"connection_id":154956,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff037b310012d1b5e0007251dc8002600bc27..."} 
[2026-08-11 15:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff037b310012d1b5e0007251dc8002600bc27..."} 
[2026-08-11 15:19:47] local.INFO: Processing buffer {"connection_id":154956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff037b310012d1b5e0007251dc8002600bc27..."} 
[2026-08-11 15:19:47] local.INFO: Packet analysis {"connection_id":154956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff037"} 
[2026-08-11 15:19:47] local.INFO: Extracted packet for processing {"connection_id":154956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff037"} 
[2026-08-11 15:19:47] local.INFO: GPS Element Parsed {"raw_longitude":756768256,"raw_latitude":119872968,"longitude_deg":75.6768256,"latitude_deg":11.9872968,"altitude":38,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d1b5e00","hex_latitude":"07251dc8","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329046784001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11674700363071488,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972928511197896704,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:47] 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-08-11 15:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786441610000,"timestamp_ms":1786441610000,"timestamp_seconds":1786441610,"priority":1,"record_length":96,"hex_timestamp":"0000019ff037b310"} 
[2026-08-11 15:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:19:47] 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-08-11 15: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 15:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6978287207,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030118160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:47] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503777756446720,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724238542,"corrected_to":0} 
[2026-08-11 15:19:47] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147951961,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:47] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84754080006088024,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:47] local.WARNING: Large IO value detected {"io_id":96,"raw_value":11260472930074624,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:47] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,43,83,24,241,157,16,121,159,30,45,192,84,41,10,66,18,87,7,128,1,240,88,227,37,4,113,205,6,255,103,239,56,2,40,206,8,96],"length":529,"final_offset":659,"validated_count":38,"validation_warnings":[{"io_id":205,"original":724238542,"validated":0}]} 
[2026-08-11 15:19:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738398756257333248,"timestamp_seconds":2738398756257333.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329046784001,"66":13939,"43":206,"83":41984,"24":0,"16":11674700363071488,"45":1972928511197896704},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-11 15:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329046784001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:19:47] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-11 15:19:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11674700363071488,"km_value":11674700363071.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972928511197896704,"description":"Unknown IO ID 45"} 
[2026-08-11 15:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329046784001,"power":13939,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972928511197896704}} 
[2026-08-11 15:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":154956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:19:47] local.INFO: GPS data processed {"connection_id":154956,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:19:47] local.INFO: Acknowledgment sent {"connection_id":154956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:19:56] local.INFO: TCP Data received {"connection_id":153564,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:19:56] local.INFO: Processing buffer {"connection_id":153564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:19:56] local.INFO: Packet analysis {"connection_id":153564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:19:56] local.INFO: Extracted packet for processing {"connection_id":153564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:19:56] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15:19: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-08-11 15:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329006592001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786441733000,"timestamp_ms":1786441733000,"timestamp_seconds":1786441733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0399388"} 
[2026-08-11 15:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:19: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-11 15:19:56] 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-08-11 15:19: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-08-11 15:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:19:56] 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-08-11 15:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329006592001,"66":26267,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329006592001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:19:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:19:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329006592001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":153564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:19:56] local.INFO: GPS data processed {"connection_id":153564,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:19:56] local.INFO: Acknowledgment sent {"connection_id":153564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:20:10] local.INFO: TCP Data received {"connection_id":152617,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:20:10] local.INFO: Processing buffer {"connection_id":152617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:20:10] local.INFO: IMEI packet received {"connection_id":152617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":152617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:20:15] local.INFO: TCP Data received {"connection_id":152617,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:20:15] local.INFO: Processing buffer {"connection_id":152617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:20:15] local.INFO: IMEI packet received {"connection_id":152617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":152617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:20:16] local.INFO: TCP Data received {"connection_id":152617,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff037ca80012d1b5d8007251aa8002600d326..."} 
[2026-08-11 15:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff037ca80012d1b5d8007251aa8002600d326..."} 
[2026-08-11 15:20:16] local.INFO: Processing buffer {"connection_id":152617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff037ca80012d1b5d8007251aa8002600d326..."} 
[2026-08-11 15:20:16] local.INFO: Packet analysis {"connection_id":152617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff037"} 
[2026-08-11 15:20:16] local.INFO: Extracted packet for processing {"connection_id":152617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff037"} 
[2026-08-11 15:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756768128,"raw_latitude":119872168,"longitude_deg":75.6768128,"latitude_deg":11.9872168,"altitude":38,"angle":211,"satellites":38,"speed":5,"hex_longitude":"2d1b5d80","hex_latitude":"07251aa8","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329052160001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11674739017777152,"note":"Value kept but may cause issues"} 
[2026-08-11 15:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972013717522335744,"note":"Value kept but may cause issues"} 
[2026-08-11 15:20:16] 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-08-11 15:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786441616000,"timestamp_ms":1786441616000,"timestamp_seconds":1786441616,"priority":1,"record_length":96,"hex_timestamp":"0000019ff037ca80"} 
[2026-08-11 15:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:20:16] 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-08-11 15: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-11 15:20:16] 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-08-11 15: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-08-11 15:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329052160001,"66":14396,"43":206,"83":41984,"24":5,"16":11674739017777152,"45":1972013717522335744},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-11 15:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329052160001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:20:16] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-11 15:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11674739017777152,"km_value":11674739017777.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972013717522335744,"description":"Unknown IO ID 45"} 
[2026-08-11 15:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329052160001,"power":14396,"unknown_43":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1972013717522335744}} 
[2026-08-11 15:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":152617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:20:16] local.INFO: GPS data processed {"connection_id":152617,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:20:16] local.INFO: Acknowledgment sent {"connection_id":152617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:20:19] local.INFO: TCP Data received {"connection_id":154957,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:20:19] local.INFO: Processing buffer {"connection_id":154957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:20:19] local.INFO: IMEI packet received {"connection_id":154957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":154957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:20:24] local.INFO: TCP Data received {"connection_id":154957,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:20:24] local.INFO: Processing buffer {"connection_id":154957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:20:24] local.INFO: IMEI packet received {"connection_id":154957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":154957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:20:25] local.INFO: TCP Data received {"connection_id":154957,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:20:25] local.INFO: Processing buffer {"connection_id":154957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:20:25] local.INFO: Packet analysis {"connection_id":154957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:20:25] local.INFO: Extracted packet for processing {"connection_id":154957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:20:25] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329006592001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786441733000,"timestamp_ms":1786441733000,"timestamp_seconds":1786441733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0399388"} 
[2026-08-11 15:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-11 15:20:25] 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-08-11 15: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-08-11 15:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:20:25] 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-08-11 15:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329006592001,"66":26267,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329006592001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:20:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:20:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329006592001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":154957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:20:25] local.INFO: GPS data processed {"connection_id":154957,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:20:25] local.INFO: Acknowledgment sent {"connection_id":154957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:20:47] local.INFO: TCP Data received {"connection_id":152617,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff037ce68012d1b5d80072519f8002600c526..."} 
[2026-08-11 15:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff037ce68012d1b5d80072519f8002600c526..."} 
[2026-08-11 15:20:47] local.INFO: Processing buffer {"connection_id":152617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff037ce68012d1b5d80072519f8002600c526..."} 
[2026-08-11 15:20:47] local.INFO: Packet analysis {"connection_id":152617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff037"} 
[2026-08-11 15:20:47] local.INFO: Extracted packet for processing {"connection_id":152617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff037"} 
[2026-08-11 15:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756768128,"raw_latitude":119871992,"longitude_deg":75.6768128,"latitude_deg":11.9871992,"altitude":38,"angle":197,"satellites":38,"speed":6,"hex_longitude":"2d1b5d80","hex_latitude":"072519f8","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329053696001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11674747607711744,"note":"Value kept but may cause issues"} 
[2026-08-11 15:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971872980033775616,"note":"Value kept but may cause issues"} 
[2026-08-11 15:20:47] 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-08-11 15:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786441617000,"timestamp_ms":1786441617000,"timestamp_seconds":1786441617,"priority":1,"record_length":96,"hex_timestamp":"0000019ff037ce68"} 
[2026-08-11 15:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:20:47] 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-08-11 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 15:20:47] 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-08-11 15: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-08-11 15:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329053696001,"66":14243,"43":206,"83":41984,"24":6,"16":11674747607711744,"45":1971872980033775616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-11 15:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329053696001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:20:47] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-11 15:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11674747607711744,"km_value":11674747607711.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971872980033775616,"description":"Unknown IO ID 45"} 
[2026-08-11 15:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329053696001,"power":14243,"unknown_43":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1971872980033775616}} 
[2026-08-11 15:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":152617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:20:47] local.INFO: GPS data processed {"connection_id":152617,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:20:47] local.INFO: Acknowledgment sent {"connection_id":152617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:20:57] local.INFO: TCP Data received {"connection_id":154957,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:20:57] local.INFO: Processing buffer {"connection_id":154957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:20:57] local.INFO: Packet analysis {"connection_id":154957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:20:57] local.INFO: Extracted packet for processing {"connection_id":154957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:20:57] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15:20: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-08-11 15:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329006592001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786441733000,"timestamp_ms":1786441733000,"timestamp_seconds":1786441733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0399388"} 
[2026-08-11 15:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:20: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-11 15:20:57] 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-08-11 15:20: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-08-11 15:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:20:57] 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-08-11 15:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329006592001,"66":26267,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329006592001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:20:57] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:20:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329006592001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":154957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:20:57] local.INFO: GPS data processed {"connection_id":154957,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:20:57] local.INFO: Acknowledgment sent {"connection_id":154957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:21:11] local.INFO: TCP Data received {"connection_id":153566,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:21:11] local.INFO: Processing buffer {"connection_id":153566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:21:11] local.INFO: IMEI packet received {"connection_id":153566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":153566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:21:19] local.INFO: TCP Data received {"connection_id":153567,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:21:19] local.INFO: Processing buffer {"connection_id":153567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:21:19] local.INFO: IMEI packet received {"connection_id":153567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":153567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:21:23] local.INFO: TCP Data received {"connection_id":153566,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:21:23] local.INFO: Processing buffer {"connection_id":153566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:21:23] local.INFO: IMEI packet received {"connection_id":153566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":153566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:21:24] local.INFO: TCP Data received {"connection_id":153566,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:21:24] local.INFO: Processing buffer {"connection_id":153566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:21:24] local.INFO: IMEI packet received {"connection_id":153566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":153566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:21:24] local.INFO: TCP Data received {"connection_id":153567,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:21:24] local.INFO: Processing buffer {"connection_id":153567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:21:24] local.INFO: IMEI packet received {"connection_id":153567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":153567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:21:24] local.INFO: TCP Data received {"connection_id":153566,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03a7618012d1b5cc00724f4800020009228..."} 
[2026-08-11 15:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03a7618012d1b5cc00724f4800020009228..."} 
[2026-08-11 15:21:24] local.INFO: Processing buffer {"connection_id":153566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03a7618012d1b5cc00724f4800020009228..."} 
[2026-08-11 15:21:24] local.INFO: Packet analysis {"connection_id":153566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03a"} 
[2026-08-11 15:21:24] local.INFO: Extracted packet for processing {"connection_id":153566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03a"} 
[2026-08-11 15:21:24] local.INFO: GPS Element Parsed {"raw_longitude":756767936,"raw_latitude":119862400,"longitude_deg":75.6767936,"latitude_deg":11.98624,"altitude":32,"angle":146,"satellites":40,"speed":0,"hex_longitude":"2d1b5cc0","hex_latitude":"0724f480","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329093120001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11675241528950784,"note":"Value kept but may cause issues"} 
[2026-08-11 15:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971661873798742016,"note":"Value kept but may cause issues"} 
[2026-08-11 15:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786441791000,"timestamp_ms":1786441791000,"timestamp_seconds":1786441791,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03a7618"} 
[2026-08-11 15:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:21:24] 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-08-11 15: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-11 15:21:24] 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-08-11 15: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-08-11 15:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329093120001,"66":13015,"44":206,"83":41984,"24":0,"16":11675241528950784,"45":1971661873798742016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-11 15:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329093120001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:21:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 15:21:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11675241528950784,"km_value":11675241528950.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971661873798742016,"description":"Unknown IO ID 45"} 
[2026-08-11 15:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329093120001,"power":13015,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971661873798742016}} 
[2026-08-11 15:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":153566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:21:24] local.INFO: GPS data processed {"connection_id":153566,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:21:24] local.INFO: Acknowledgment sent {"connection_id":153566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:21:25] local.INFO: TCP Data received {"connection_id":153566,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03ac820012d1b5cc00724f480002000922b..."} 
[2026-08-11 15:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03ac820012d1b5cc00724f480002000922b..."} 
[2026-08-11 15:21:25] local.INFO: Processing buffer {"connection_id":153566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03ac820012d1b5cc00724f480002000922b..."} 
[2026-08-11 15:21:25] local.INFO: Packet analysis {"connection_id":153566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03a"} 
[2026-08-11 15:21:25] local.INFO: Extracted packet for processing {"connection_id":153566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03a"} 
[2026-08-11 15:21:25] local.INFO: GPS Element Parsed {"raw_longitude":756767936,"raw_latitude":119862400,"longitude_deg":75.6767936,"latitude_deg":11.98624,"altitude":32,"angle":146,"satellites":43,"speed":0,"hex_longitude":"2d1b5cc0","hex_latitude":"0724f480","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329098496001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971661873798742016,"note":"Value kept but may cause issues"} 
[2026-08-11 15:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11675241528950784,"note":"Value kept but may cause issues"} 
[2026-08-11 15:21:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786441812000,"timestamp_ms":1786441812000,"timestamp_seconds":1786441812,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03ac820"} 
[2026-08-11 15:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:21:25] 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-08-11 15: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-11 15:21:25] 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-08-11 15: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-08-11 15:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329098496001,"66":12972,"45":1971661873798742016,"83":41984,"24":0,"16":11675241528950784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-08-11 15:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329098496001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971661873798742016,"description":"Unknown IO ID 45"} 
[2026-08-11 15:21:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11675241528950784,"km_value":11675241528950.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:21:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457329098496001,"power":12972,"unknown_45":1971661873798742016,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-08-11 15:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":153566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:21:25] local.INFO: GPS data processed {"connection_id":153566,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:21:25] local.INFO: Acknowledgment sent {"connection_id":153566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:21:25] local.INFO: TCP Data received {"connection_id":153567,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:21:25] local.INFO: Processing buffer {"connection_id":153567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:21:25] local.INFO: Packet analysis {"connection_id":153567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:21:25] local.INFO: Extracted packet for processing {"connection_id":153567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:21:25] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329006592001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786441733000,"timestamp_ms":1786441733000,"timestamp_seconds":1786441733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0399388"} 
[2026-08-11 15:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-11 15:21:25] 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-08-11 15: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-08-11 15:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:21:25] 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-08-11 15:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329006592001,"66":26267,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329006592001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:21:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:21:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329006592001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":153567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:21:25] local.INFO: GPS data processed {"connection_id":153567,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:21:25] local.INFO: Acknowledgment sent {"connection_id":153567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:21:57] local.INFO: TCP Data received {"connection_id":153567,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:21:57] local.INFO: Processing buffer {"connection_id":153567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:21:57] local.INFO: Packet analysis {"connection_id":153567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:21:57] local.INFO: Extracted packet for processing {"connection_id":153567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:21:57] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 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-08-11 15:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329006592001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786441733000,"timestamp_ms":1786441733000,"timestamp_seconds":1786441733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0399388"} 
[2026-08-11 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-08-11 15:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-11 15:21:57] 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-08-11 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-08-11 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-08-11 15:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:21:57] 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-08-11 15:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329006592001,"66":26267,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329006592001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:21:57] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:21:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329006592001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":153567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:21:57] local.INFO: GPS data processed {"connection_id":153567,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:21:57] local.INFO: Acknowledgment sent {"connection_id":153567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:22:08] local.INFO: TCP Data received {"connection_id":154959,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:22:08] local.INFO: Processing buffer {"connection_id":154959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:22:08] local.INFO: IMEI packet received {"connection_id":154959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":154959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:22:10] local.INFO: TCP Data received {"connection_id":154959,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:22:10] local.INFO: Processing buffer {"connection_id":154959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:22:10] local.INFO: IMEI packet received {"connection_id":154959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":154959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:22:11] local.INFO: TCP Data received {"connection_id":154959,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:22:11] local.INFO: Processing buffer {"connection_id":154959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:22:11] local.INFO: IMEI packet received {"connection_id":154959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":154959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:22:14] local.INFO: TCP Data received {"connection_id":154959,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:22:14] local.INFO: Processing buffer {"connection_id":154959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:22:14] local.INFO: IMEI packet received {"connection_id":154959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":154959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:22:15] local.INFO: TCP Data received {"connection_id":154959,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03b1a28012d1b5cc00724f480002000922a..."} 
[2026-08-11 15:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03b1a28012d1b5cc00724f480002000922a..."} 
[2026-08-11 15:22:15] local.INFO: Processing buffer {"connection_id":154959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03b1a28012d1b5cc00724f480002000922a..."} 
[2026-08-11 15:22:15] local.INFO: Packet analysis {"connection_id":154959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03b"} 
[2026-08-11 15:22:15] local.INFO: Extracted packet for processing {"connection_id":154959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03b"} 
[2026-08-11 15:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756767936,"raw_latitude":119862400,"longitude_deg":75.6767936,"latitude_deg":11.98624,"altitude":32,"angle":146,"satellites":42,"speed":0,"hex_longitude":"2d1b5cc0","hex_latitude":"0724f480","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329103872001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11675241528950784,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971661873798742016,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786441833000,"timestamp_ms":1786441833000,"timestamp_seconds":1786441833,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03b1a28"} 
[2026-08-11 15:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:22:15] 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-08-11 15: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-11 15:22:15] 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-08-11 15: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-08-11 15:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329103872001,"66":14080,"44":206,"83":41984,"24":0,"16":11675241528950784,"45":1971661873798742016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-11 15:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329103872001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:22:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 15:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11675241528950784,"km_value":11675241528950.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971661873798742016,"description":"Unknown IO ID 45"} 
[2026-08-11 15:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329103872001,"power":14080,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971661873798742016}} 
[2026-08-11 15:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":154959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:22:15] local.INFO: GPS data processed {"connection_id":154959,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:22:15] local.INFO: Acknowledgment sent {"connection_id":154959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:22:16] local.INFO: TCP Data received {"connection_id":154958,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:22:16] local.INFO: Processing buffer {"connection_id":154958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:22:16] local.INFO: IMEI packet received {"connection_id":154958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":154958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:22:17] local.INFO: TCP Data received {"connection_id":154958,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03a4738012d79e04005ecaa78000b002e1b..."} 
[2026-08-11 15:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03a4738012d79e04005ecaa78000b002e1b..."} 
[2026-08-11 15:22:17] local.INFO: Processing buffer {"connection_id":154958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03a4738012d79e04005ecaa78000b002e1b..."} 
[2026-08-11 15:22:17] local.INFO: Packet analysis {"connection_id":154958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03a"} 
[2026-08-11 15:22:17] local.INFO: Extracted packet for processing {"connection_id":154958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03a"} 
[2026-08-11 15:22:17] local.INFO: GPS Element Parsed {"raw_longitude":762961984,"raw_latitude":99396216,"longitude_deg":76.2961984,"latitude_deg":9.9396216,"altitude":11,"angle":46,"satellites":27,"speed":8,"hex_longitude":"2d79e040","hex_latitude":"05ecaa78","is_valid_coordinates":true} 
[2026-08-11 15:22: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-08-11 15:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329095168001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117616128917766144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8781878561329502208,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786441779000,"timestamp_ms":1786441779000,"timestamp_seconds":1786441779,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03a4738"} 
[2026-08-11 15:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:22:17] 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-08-11 15:22: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-11 15:22:17] 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-08-11 15:22: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-08-11 15:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329095168001,"66":12928,"100":206,"87":13824,"24":8,"16":117616128917766144,"45":8781878561329502208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329095168001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:22:17] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:22:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117616128917766144,"km_value":117616128917766.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8781878561329502208,"description":"Unknown IO ID 45"} 
[2026-08-11 15:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329095168001,"power":12928,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8781878561329502208}} 
[2026-08-11 15:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":154958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:22:17] local.INFO: GPS data processed {"connection_id":154958,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:22:17] local.INFO: Acknowledgment sent {"connection_id":154958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:22:19] local.INFO: TCP Data received {"connection_id":152250,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:22:19] local.INFO: Processing buffer {"connection_id":152250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:22:19] local.INFO: IMEI packet received {"connection_id":152250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":152250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:22:24] local.INFO: TCP Data received {"connection_id":152250,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:22:24] local.INFO: Processing buffer {"connection_id":152250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:22:24] local.INFO: IMEI packet received {"connection_id":152250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":152250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:22:25] local.INFO: TCP Data received {"connection_id":152250,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:22:25] local.INFO: Processing buffer {"connection_id":152250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:22:25] local.INFO: Packet analysis {"connection_id":152250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:22:25] local.INFO: Extracted packet for processing {"connection_id":152250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:22:25] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329006592001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786441733000,"timestamp_ms":1786441733000,"timestamp_seconds":1786441733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0399388"} 
[2026-08-11 15:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-11 15:22:25] 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-08-11 15: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-08-11 15:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:22:25] 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-08-11 15:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329006592001,"66":26267,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329006592001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:22:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:22:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329006592001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":152250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:22:25] local.INFO: GPS data processed {"connection_id":152250,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:22:25] local.INFO: Acknowledgment sent {"connection_id":152250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:22:46] local.INFO: TCP Data received {"connection_id":154959,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03b6c30012d1b5cc00724f480002000922b..."} 
[2026-08-11 15:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03b6c30012d1b5cc00724f480002000922b..."} 
[2026-08-11 15:22:46] local.INFO: Processing buffer {"connection_id":154959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03b6c30012d1b5cc00724f480002000922b..."} 
[2026-08-11 15:22:46] local.INFO: Packet analysis {"connection_id":154959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03b"} 
[2026-08-11 15:22:46] local.INFO: Extracted packet for processing {"connection_id":154959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03b"} 
[2026-08-11 15:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756767936,"raw_latitude":119862400,"longitude_deg":75.6767936,"latitude_deg":11.98624,"altitude":32,"angle":146,"satellites":43,"speed":0,"hex_longitude":"2d1b5cc0","hex_latitude":"0724f480","is_valid_coordinates":true} 
[2026-08-11 15:22: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-08-11 15:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329109248001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971661873798742016,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11675241528950784,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786441854000,"timestamp_ms":1786441854000,"timestamp_seconds":1786441854,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03b6c30"} 
[2026-08-11 15:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:22:46] 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-08-11 15:22: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":0,"data_length":795,"current_offset":136} 
[2026-08-11 15:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3442158592,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:46] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030279160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":8193,"corrected_to":0} 
[2026-08-11 15:22:46] local.WARNING: Large IO value detected {"io_id":36,"raw_value":4118282271,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724304078,"corrected_to":0} 
[2026-08-11 15:22:46] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3221693686,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:46] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3875589419,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:46] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,44,83,24,241,157,16,122,159,200,45,192,244,32,43,10,66,118,40,36,1,240,68,227,4,113,205,128,91,152,41,239,51,2,7,34],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":200,"original":8193,"validated":0},{"io_id":205,"original":724304078,"validated":0}]} 
[2026-08-11 15:22:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2306003718299975680,"timestamp_seconds":2306003718299975.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329109248001,"66":14330,"45":1971661873798742016,"83":41984,"24":0,"16":11675241528950784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-08-11 15:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329109248001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971661873798742016,"description":"Unknown IO ID 45"} 
[2026-08-11 15:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11675241528950784,"km_value":11675241528950.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:22:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457329109248001,"power":14330,"unknown_45":1971661873798742016,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-08-11 15:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":154959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:22:46] local.INFO: GPS data processed {"connection_id":154959,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:22:46] local.INFO: Acknowledgment sent {"connection_id":154959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:22:49] local.INFO: TCP Data received {"connection_id":154958,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03c9ce0012d79f60005ecb190000e00321d..."} 
[2026-08-11 15:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03c9ce0012d79f60005ecb190000e00321d..."} 
[2026-08-11 15:22:49] local.INFO: Processing buffer {"connection_id":154958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03c9ce0012d79f60005ecb190000e00321d..."} 
[2026-08-11 15:22:49] local.INFO: Packet analysis {"connection_id":154958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03c"} 
[2026-08-11 15:22:49] local.INFO: Extracted packet for processing {"connection_id":154958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03c"} 
[2026-08-11 15:22:49] local.INFO: GPS Element Parsed {"raw_longitude":762967552,"raw_latitude":99398032,"longitude_deg":76.2967552,"latitude_deg":9.9398032,"altitude":14,"angle":50,"satellites":29,"speed":0,"hex_longitude":"2d79f600","hex_latitude":"05ecb190","is_valid_coordinates":true} 
[2026-08-11 15:22: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-08-11 15:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329129216001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117616438155411456,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788211748305997824,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786441932000,"timestamp_ms":1786441932000,"timestamp_seconds":1786441932,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03c9ce0"} 
[2026-08-11 15:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:22:49] 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-08-11 15:22: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":110,"data_length":795,"current_offset":136} 
[2026-08-11 15:22:49] 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-08-11 15:22: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-08-11 15:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":154958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":154958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":154958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329129216001,"66":13526,"100":206,"87":13824,"24":0,"16":117616438155411456,"45":8788211748305997824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329129216001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:22:49] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:22:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117616438155411456,"km_value":117616438155411.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788211748305997824,"description":"Unknown IO ID 45"} 
[2026-08-11 15:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329129216001,"power":13526,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788211748305997824}} 
[2026-08-11 15:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":154958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:22:49] local.INFO: GPS data processed {"connection_id":154958,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:22:49] local.INFO: Acknowledgment sent {"connection_id":154958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:22:56] local.INFO: TCP Data received {"connection_id":152250,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:22:56] local.INFO: Processing buffer {"connection_id":152250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:22:56] local.INFO: Packet analysis {"connection_id":152250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:22:56] local.INFO: Extracted packet for processing {"connection_id":152250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:22:56] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 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-08-11 15:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329006592001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786441733000,"timestamp_ms":1786441733000,"timestamp_seconds":1786441733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0399388"} 
[2026-08-11 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-08-11 15:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-11 15:22:56] 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-08-11 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-08-11 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-08-11 15:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:22:56] 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-08-11 15:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329006592001,"66":26267,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329006592001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:22:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:22:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329006592001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":152250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:22:56] local.INFO: GPS data processed {"connection_id":152250,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:22:56] local.INFO: Acknowledgment sent {"connection_id":152250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:23:08] local.INFO: TCP Data received {"connection_id":153568,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:23:08] local.INFO: Processing buffer {"connection_id":153568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:23:08] local.INFO: IMEI packet received {"connection_id":153568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":153568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:23:10] local.INFO: TCP Data received {"connection_id":154960,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:23:10] local.INFO: Processing buffer {"connection_id":154960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:23:10] local.INFO: IMEI packet received {"connection_id":154960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":154960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:23:10] local.INFO: TCP Data received {"connection_id":153568,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:23:10] local.INFO: Processing buffer {"connection_id":153568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:23:10] local.INFO: IMEI packet received {"connection_id":153568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":153568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:23:14] local.INFO: TCP Data received {"connection_id":153568,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:23:14] local.INFO: Processing buffer {"connection_id":153568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:23:14] local.INFO: IMEI packet received {"connection_id":153568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":153568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:23:15] local.INFO: TCP Data received {"connection_id":153568,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03d5860012d79f2c005ecaf78000f011e20..."} 
[2026-08-11 15:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03d5860012d79f2c005ecaf78000f011e20..."} 
[2026-08-11 15:23:15] local.INFO: Processing buffer {"connection_id":153568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03d5860012d79f2c005ecaf78000f011e20..."} 
[2026-08-11 15:23:15] local.INFO: Packet analysis {"connection_id":153568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03d"} 
[2026-08-11 15:23:15] local.INFO: Extracted packet for processing {"connection_id":153568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03d"} 
[2026-08-11 15:23:15] local.INFO: GPS Element Parsed {"raw_longitude":762966720,"raw_latitude":99397496,"longitude_deg":76.296672,"latitude_deg":9.9397496,"altitude":15,"angle":286,"satellites":32,"speed":5,"hex_longitude":"2d79f2c0","hex_latitude":"05ecaf78","is_valid_coordinates":true} 
[2026-08-11 15:23: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-08-11 15:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329146624001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117616528349724672,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787437692119906304,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786441980000,"timestamp_ms":1786441980000,"timestamp_seconds":1786441980,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03d5860"} 
[2026-08-11 15:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:23:15] 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-08-11 15:23: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-08-11 15:23: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-08-11 15:23: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-08-11 15:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329146624001,"66":13515,"118":206,"87":13824,"24":5,"16":117616528349724672,"45":8787437692119906304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-08-11 15:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329146624001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:23:15] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-11 15:23:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117616528349724672,"km_value":117616528349724.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787437692119906304,"description":"Unknown IO ID 45"} 
[2026-08-11 15:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329146624001,"power":13515,"unknown_118":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8787437692119906304}} 
[2026-08-11 15:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":153568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:23:15] local.INFO: GPS data processed {"connection_id":153568,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:23:15] local.INFO: Acknowledgment sent {"connection_id":153568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:23:15] local.INFO: TCP Data received {"connection_id":154960,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:23:15] local.INFO: Processing buffer {"connection_id":154960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:23:15] local.INFO: IMEI packet received {"connection_id":154960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":154960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:23:17] local.INFO: TCP Data received {"connection_id":154960,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03baab0012d1b5c000724f220001e00b22b..."} 
[2026-08-11 15:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03baab0012d1b5c000724f220001e00b22b..."} 
[2026-08-11 15:23:17] local.INFO: Processing buffer {"connection_id":154960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03baab0012d1b5c000724f220001e00b22b..."} 
[2026-08-11 15:23:17] local.INFO: Packet analysis {"connection_id":154960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03b"} 
[2026-08-11 15:23:17] local.INFO: Extracted packet for processing {"connection_id":154960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03b"} 
[2026-08-11 15:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756767744,"raw_latitude":119861792,"longitude_deg":75.6767744,"latitude_deg":11.9861792,"altitude":30,"angle":178,"satellites":43,"speed":6,"hex_longitude":"2d1b5c00","hex_latitude":"0724f220","is_valid_coordinates":true} 
[2026-08-11 15:23: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-08-11 15:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329114624001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971661873798742016,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11675275888689152,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786441870000,"timestamp_ms":1786441870000,"timestamp_seconds":1786441870,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03baab0"} 
[2026-08-11 15:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:23:17] 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-08-11 15:23: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-11 15:23:17] 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-08-11 15:23: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-08-11 15:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329114624001,"66":14363,"45":1971661873798742016,"83":41984,"24":6,"16":11675275888689152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-08-11 15:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329114624001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971661873798742016,"description":"Unknown IO ID 45"} 
[2026-08-11 15:23:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11675275888689152,"km_value":11675275888689.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:23:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457329114624001,"power":14363,"unknown_45":1971661873798742016,"unknown_83":41984,"ignition":6,"odometer":null}} 
[2026-08-11 15:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":154960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:23:17] local.INFO: GPS data processed {"connection_id":154960,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:23:17] local.INFO: Acknowledgment sent {"connection_id":154960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:23:19] local.INFO: TCP Data received {"connection_id":153569,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:23:19] local.INFO: Processing buffer {"connection_id":153569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:23:19] local.INFO: IMEI packet received {"connection_id":153569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":153569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:23:24] local.INFO: TCP Data received {"connection_id":153569,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:23:24] local.INFO: Processing buffer {"connection_id":153569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:23:24] local.INFO: IMEI packet received {"connection_id":153569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":153569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:23:25] local.INFO: TCP Data received {"connection_id":153569,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:23:25] local.INFO: Processing buffer {"connection_id":153569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:23:25] local.INFO: Packet analysis {"connection_id":153569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:23:25] local.INFO: Extracted packet for processing {"connection_id":153569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:23:25] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329006592001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786441733000,"timestamp_ms":1786441733000,"timestamp_seconds":1786441733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0399388"} 
[2026-08-11 15:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-11 15:23:25] 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-08-11 15: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-08-11 15:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:23:25] 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-08-11 15:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329006592001,"66":26267,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329006592001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:23:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:23:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329006592001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":153569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:23:25] local.INFO: GPS data processed {"connection_id":153569,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:23:25] local.INFO: Acknowledgment sent {"connection_id":153569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:23:47] local.INFO: TCP Data received {"connection_id":153568,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03d5c48012d79f20005ecaf78000f010c1f..."} 
[2026-08-11 15:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03d5c48012d79f20005ecaf78000f010c1f..."} 
[2026-08-11 15:23:47] local.INFO: Processing buffer {"connection_id":153568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03d5c48012d79f20005ecaf78000f010c1f..."} 
[2026-08-11 15:23:47] local.INFO: Packet analysis {"connection_id":153568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03d"} 
[2026-08-11 15:23:47] local.INFO: Extracted packet for processing {"connection_id":153568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03d"} 
[2026-08-11 15:23:47] local.INFO: GPS Element Parsed {"raw_longitude":762966528,"raw_latitude":99397496,"longitude_deg":76.2966528,"latitude_deg":9.9397496,"altitude":15,"angle":268,"satellites":31,"speed":5,"hex_longitude":"2d79f200","hex_latitude":"05ecaf78","is_valid_coordinates":true} 
[2026-08-11 15:23: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-08-11 15:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329146880001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117616532644691968,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787296954631550976,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786441981000,"timestamp_ms":1786441981000,"timestamp_seconds":1786441981,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03d5c48"} 
[2026-08-11 15:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:23:47] 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-08-11 15:23: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":203,"data_length":795,"current_offset":136} 
[2026-08-11 15:23:47] 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-08-11 15:23: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-08-11 15:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329146880001,"66":13515,"118":206,"87":13824,"24":5,"16":117616532644691968,"45":8787296954631550976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-08-11 15:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329146880001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:23:47] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-11 15:23:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117616532644691968,"km_value":117616532644691.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787296954631550976,"description":"Unknown IO ID 45"} 
[2026-08-11 15:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329146880001,"power":13515,"unknown_118":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8787296954631550976}} 
[2026-08-11 15:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":153568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:23:47] local.INFO: GPS data processed {"connection_id":153568,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:23:47] local.INFO: Acknowledgment sent {"connection_id":153568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:23:47] local.INFO: TCP Data received {"connection_id":154960,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03be930012d1b5b400724cd70002000ba28..."} 
[2026-08-11 15:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03be930012d1b5b400724cd70002000ba28..."} 
[2026-08-11 15:23:48] local.INFO: Processing buffer {"connection_id":154960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03be930012d1b5b400724cd70002000ba28..."} 
[2026-08-11 15:23:48] local.INFO: Packet analysis {"connection_id":154960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03b"} 
[2026-08-11 15:23:48] local.INFO: Extracted packet for processing {"connection_id":154960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03b"} 
[2026-08-11 15:23:48] local.INFO: GPS Element Parsed {"raw_longitude":756767552,"raw_latitude":119852400,"longitude_deg":75.6767552,"latitude_deg":11.98524,"altitude":32,"angle":186,"satellites":40,"speed":27,"hex_longitude":"2d1b5b40","hex_latitude":"0724cd70","is_valid_coordinates":true} 
[2026-08-11 15:23: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-08-11 15:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329118720001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971450767566053376,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11675731155222528,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786441886000,"timestamp_ms":1786441886000,"timestamp_seconds":1786441886,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03be930"} 
[2026-08-11 15:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:23:48] 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-08-11 15:23: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-11 15:23:48] 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-08-11 15:23: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-08-11 15:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329118720001,"66":14363,"45":1971450767566053376,"83":41984,"24":27,"16":11675731155222528},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-08-11 15:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329118720001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971450767566053376,"description":"Unknown IO ID 45"} 
[2026-08-11 15:23:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11675731155222528,"km_value":11675731155222.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:23:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457329118720001,"power":14363,"unknown_45":1971450767566053376,"unknown_83":41984,"ignition":27,"odometer":null}} 
[2026-08-11 15:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":154960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:23:48] local.INFO: GPS data processed {"connection_id":154960,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:23:48] local.INFO: Acknowledgment sent {"connection_id":154960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:23:56] local.INFO: TCP Data received {"connection_id":153569,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:23:56] local.INFO: Processing buffer {"connection_id":153569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:23:56] local.INFO: Packet analysis {"connection_id":153569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:23:56] local.INFO: Extracted packet for processing {"connection_id":153569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:23:56] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329006592001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786441733000,"timestamp_ms":1786441733000,"timestamp_seconds":1786441733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0399388"} 
[2026-08-11 15:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-11 15:23:56] 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-08-11 15: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-08-11 15:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:23:56] 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-08-11 15:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329006592001,"66":26267,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329006592001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:23:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:23:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329006592001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":153569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:23:56] local.INFO: GPS data processed {"connection_id":153569,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:23:56] local.INFO: Acknowledgment sent {"connection_id":153569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:24:10] local.INFO: TCP Data received {"connection_id":154961,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:24:10] local.INFO: Processing buffer {"connection_id":154961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:24:10] local.INFO: IMEI packet received {"connection_id":154961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":154961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:24:12] local.INFO: TCP Data received {"connection_id":154961,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:24:12] local.INFO: Processing buffer {"connection_id":154961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:24:12] local.INFO: IMEI packet received {"connection_id":154961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":154961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:24:12] local.INFO: TCP Data received {"connection_id":154961,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:24:12] local.INFO: Processing buffer {"connection_id":154961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:24:12] local.INFO: IMEI packet received {"connection_id":154961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":154961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:24:14] local.INFO: TCP Data received {"connection_id":152251,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:24:14] local.INFO: Processing buffer {"connection_id":152251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:24:14] local.INFO: IMEI packet received {"connection_id":152251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":152251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:24:16] local.INFO: TCP Data received {"connection_id":152251,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:24:16] local.INFO: Processing buffer {"connection_id":152251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:24:16] local.INFO: IMEI packet received {"connection_id":152251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":152251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:24:16] local.INFO: TCP Data received {"connection_id":154961,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:24:16] local.INFO: Processing buffer {"connection_id":154961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:24:16] local.INFO: IMEI packet received {"connection_id":154961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":154961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:24:17] local.INFO: TCP Data received {"connection_id":152251,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03d7b88012d79e9c005ecade8000f01011f..."} 
[2026-08-11 15:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03d7b88012d79e9c005ecade8000f01011f..."} 
[2026-08-11 15:24:17] local.INFO: Processing buffer {"connection_id":152251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03d7b88012d79e9c005ecade8000f01011f..."} 
[2026-08-11 15:24:17] local.INFO: Packet analysis {"connection_id":152251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03d"} 
[2026-08-11 15:24:17] local.INFO: Extracted packet for processing {"connection_id":152251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03d"} 
[2026-08-11 15:24:17] local.INFO: GPS Element Parsed {"raw_longitude":762964416,"raw_latitude":99397096,"longitude_deg":76.2964416,"latitude_deg":9.9397096,"altitude":15,"angle":257,"satellites":31,"speed":12,"hex_longitude":"2d79e9c0","hex_latitude":"05ecade8","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329147136001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117616640018874368,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787085848399017984,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786441989000,"timestamp_ms":1786441989000,"timestamp_seconds":1786441989,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03d7b88"} 
[2026-08-11 15:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:24:17] 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-08-11 15: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-11 15:24:17] 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-08-11 15: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-08-11 15:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:24:17] local.INFO: TCP Data received {"connection_id":154961,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03da680012d1a8b40072417d8002d00f425..."} 
[2026-08-11 15:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329147136001,"66":13352,"118":206,"87":13824,"24":12,"16":117616640018874368,"45":8787085848399017984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-08-11 15:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329147136001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:24:17] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-11 15:24:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117616640018874368,"km_value":117616640018874.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787085848399017984,"description":"Unknown IO ID 45"} 
[2026-08-11 15:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329147136001,"power":13352,"unknown_118":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8787085848399017984}} 
[2026-08-11 15:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03da680012d1a8b40072417d8002d00f425..."} 
[2026-08-11 15:24:17] local.INFO: Processing buffer {"connection_id":154961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03da680012d1a8b40072417d8002d00f425..."} 
[2026-08-11 15:24:17] local.INFO: Packet analysis {"connection_id":154961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03d"} 
[2026-08-11 15:24:17] local.INFO: Extracted packet for processing {"connection_id":154961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03d"} 
[2026-08-11 15:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119805912,"longitude_deg":75.6714304,"latitude_deg":11.9805912,"altitude":45,"angle":244,"satellites":37,"speed":26,"hex_longitude":"2d1a8b40","hex_latitude":"072417d8","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329147392001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11679222963634176,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1921840802907473920,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786442000000,"timestamp_ms":1786442000000,"timestamp_seconds":1786442000,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03da680"} 
[2026-08-11 15:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:24:17] 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-08-11 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-11 15:24:17] 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-08-11 15: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-08-11 15:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329147392001,"66":14070,"41":206,"83":42752,"24":26,"16":11679222963634176,"45":1921840802907473920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,83,24,16,45]} 
[2026-08-11 15:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329147392001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:24:17] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-11 15:24:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 15:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11679222963634176,"km_value":11679222963634.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1921840802907473920,"description":"Unknown IO ID 45"} 
[2026-08-11 15:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329147392001,"power":14070,"unknown_41":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1921840802907473920}} 
[2026-08-11 15:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":152251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:24:17] local.INFO: GPS data processed {"connection_id":152251,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:24:17] local.INFO: Acknowledgment sent {"connection_id":152251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":154961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:24:17] local.INFO: GPS data processed {"connection_id":154961,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:24:17] local.INFO: Acknowledgment sent {"connection_id":154961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:24:19] local.INFO: TCP Data received {"connection_id":152251,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03dcd90012d79e70005ecacb0000f00f720..."} 
[2026-08-11 15:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03dcd90012d79e70005ecacb0000f00f720..."} 
[2026-08-11 15:24:19] local.INFO: Processing buffer {"connection_id":152251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03dcd90012d79e70005ecacb0000f00f720..."} 
[2026-08-11 15:24:19] local.INFO: Packet analysis {"connection_id":152251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03d"} 
[2026-08-11 15:24:19] local.INFO: Extracted packet for processing {"connection_id":152251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03d"} 
[2026-08-11 15:24:19] local.INFO: GPS Element Parsed {"raw_longitude":762963712,"raw_latitude":99396784,"longitude_deg":76.2963712,"latitude_deg":9.9396784,"altitude":15,"angle":247,"satellites":32,"speed":0,"hex_longitude":"2d79e700","hex_latitude":"05ecacb0","is_valid_coordinates":true} 
[2026-08-11 15:24: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-08-11 15:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329149184001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117616678673580032,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784763679841052672,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786442010000,"timestamp_ms":1786442010000,"timestamp_seconds":1786442010,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03dcd90"} 
[2026-08-11 15:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:24:19] 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-08-11 15:24: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-11 15:24:19] 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-08-11 15:24: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-08-11 15:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329149184001,"66":13417,"100":206,"87":13824,"24":0,"16":117616678673580032,"45":8784763679841052672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329149184001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:24:19] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:24:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117616678673580032,"km_value":117616678673580.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784763679841052672,"description":"Unknown IO ID 45"} 
[2026-08-11 15:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329149184001,"power":13417,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8784763679841052672}} 
[2026-08-11 15:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":152251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:24:19] local.INFO: GPS data processed {"connection_id":152251,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:24:19] local.INFO: Acknowledgment sent {"connection_id":152251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:24:19] local.INFO: TCP Data received {"connection_id":152618,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:24:19] local.INFO: Processing buffer {"connection_id":152618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:24:19] local.INFO: IMEI packet received {"connection_id":152618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":152618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:24:24] local.INFO: TCP Data received {"connection_id":152618,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:24:24] local.INFO: Processing buffer {"connection_id":152618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:24:24] local.INFO: IMEI packet received {"connection_id":152618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":152618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:24:25] local.INFO: TCP Data received {"connection_id":152618,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:24:25] local.INFO: Processing buffer {"connection_id":152618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0399388012d9cd70005b36170001400a32b..."} 
[2026-08-11 15:24:25] local.INFO: Packet analysis {"connection_id":152618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:24:25] local.INFO: Extracted packet for processing {"connection_id":152618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff039"} 
[2026-08-11 15:24:25] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":43,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329006592001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786441733000,"timestamp_ms":1786441733000,"timestamp_seconds":1786441733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0399388"} 
[2026-08-11 15:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":192,"data_length":795,"current_offset":136} 
[2026-08-11 15:24:25] 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-08-11 15: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-08-11 15:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:24:25] 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-08-11 15:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329006592001,"66":26267,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329006592001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:24:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:24:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329006592001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":152618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:24:25] local.INFO: GPS data processed {"connection_id":152618,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:24:25] local.INFO: Acknowledgment sent {"connection_id":152618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:24:48] local.INFO: TCP Data received {"connection_id":154961,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03dd948012d1a6a8007240628002d00e929..."} 
[2026-08-11 15:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03dd948012d1a6a8007240628002d00e929..."} 
[2026-08-11 15:24:48] local.INFO: Processing buffer {"connection_id":154961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03dd948012d1a6a8007240628002d00e929..."} 
[2026-08-11 15:24:48] local.INFO: Packet analysis {"connection_id":154961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03d"} 
[2026-08-11 15:24:48] local.INFO: Extracted packet for processing {"connection_id":154961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03d"} 
[2026-08-11 15:24:48] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119801384,"longitude_deg":75.670592,"latitude_deg":11.9801384,"altitude":45,"angle":233,"satellites":41,"speed":30,"hex_longitude":"2d1a6a80","hex_latitude":"07240628","is_valid_coordinates":true} 
[2026-08-11 15:24: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-08-11 15:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329152000001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11679678230167552,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866163398656,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:48] 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-08-11 15:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786442013000,"timestamp_ms":1786442013000,"timestamp_seconds":1786442013,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03dd948"} 
[2026-08-11 15:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:24:48] 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-08-11 15:24: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":246,"data_length":795,"current_offset":136} 
[2026-08-11 15:24:48] 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-08-11 15:24: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-08-11 15:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":154961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":154961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":154961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329152000001,"66":13993,"177":206,"83":42752,"24":30,"16":11679678230167552,"45":1912692866163398656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-08-11 15:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329152000001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:24:48] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 15:24:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 15:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11679678230167552,"km_value":11679678230167.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866163398656,"description":"Unknown IO ID 45"} 
[2026-08-11 15:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329152000001,"power":13993,"unknown_177":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1912692866163398656}} 
[2026-08-11 15:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":154961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:24:48] local.INFO: GPS data processed {"connection_id":154961,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:24:48] local.INFO: Acknowledgment sent {"connection_id":154961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:24:51] local.INFO: TCP Data received {"connection_id":152251,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03e0c10012d79e58005ecac08000f00eb1e..."} 
[2026-08-11 15:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03e0c10012d79e58005ecac08000f00eb1e..."} 
[2026-08-11 15:24:51] local.INFO: Processing buffer {"connection_id":152251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03e0c10012d79e58005ecac08000f00eb1e..."} 
[2026-08-11 15:24:51] local.INFO: Packet analysis {"connection_id":152251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:24:51] local.INFO: Extracted packet for processing {"connection_id":152251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:24:51] local.INFO: GPS Element Parsed {"raw_longitude":762963328,"raw_latitude":99396616,"longitude_deg":76.2963328,"latitude_deg":9.9396616,"altitude":15,"angle":235,"satellites":30,"speed":4,"hex_longitude":"2d79e580","hex_latitude":"05ecac08","is_valid_coordinates":true} 
[2026-08-11 15:24: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-08-11 15:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329154560001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117616695853449216,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783989623655018496,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786442026000,"timestamp_ms":1786442026000,"timestamp_seconds":1786442026,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03e0c10"} 
[2026-08-11 15:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:24:51] 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-08-11 15:24: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":105,"data_length":795,"current_offset":136} 
[2026-08-11 15:24:51] 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-08-11 15:24: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-08-11 15:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329154560001,"66":13243,"100":206,"87":13824,"24":4,"16":117616695853449216,"45":8783989623655018496},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329154560001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:24:51] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:24:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117616695853449216,"km_value":117616695853449.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783989623655018496,"description":"Unknown IO ID 45"} 
[2026-08-11 15:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329154560001,"power":13243,"unknown_100":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8783989623655018496}} 
[2026-08-11 15:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":152251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:24:51] local.INFO: GPS data processed {"connection_id":152251,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:24:51] local.INFO: Acknowledgment sent {"connection_id":152251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:24:56] local.INFO: TCP Data received {"connection_id":152618,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:24:56] local.INFO: Processing buffer {"connection_id":152618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:24:56] local.INFO: Packet analysis {"connection_id":152618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:24:56] local.INFO: Extracted packet for processing {"connection_id":152618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:24:56] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329083648001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786442034000,"timestamp_ms":1786442034000,"timestamp_seconds":1786442034,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03e2b50"} 
[2026-08-11 15:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 15:24:56] 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-08-11 15: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-08-11 15:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:24:56] 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-08-11 15:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329083648001,"66":26115,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329083648001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:24:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329083648001,"power":26115,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":152618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:24:56] local.INFO: GPS data processed {"connection_id":152618,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:24:56] local.INFO: Acknowledgment sent {"connection_id":152618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:25:08] local.INFO: TCP Data received {"connection_id":154962,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:25:08] local.INFO: Processing buffer {"connection_id":154962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:25:08] local.INFO: IMEI packet received {"connection_id":154962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":154962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:25:08] local.INFO: TCP Data received {"connection_id":154962,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:25:08] local.INFO: Processing buffer {"connection_id":154962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:25:08] local.INFO: IMEI packet received {"connection_id":154962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":154962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:25:10] local.INFO: TCP Data received {"connection_id":152252,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:25:10] local.INFO: Processing buffer {"connection_id":152252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:25:10] local.INFO: IMEI packet received {"connection_id":152252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":152252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:25:14] local.INFO: TCP Data received {"connection_id":154962,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:25:14] local.INFO: Processing buffer {"connection_id":154962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:25:14] local.INFO: IMEI packet received {"connection_id":154962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":154962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:25:15] local.INFO: TCP Data received {"connection_id":154962,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03f09f8012d7a18c005ec8138000a005a22..."} 
[2026-08-11 15:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03f09f8012d7a18c005ec8138000a005a22..."} 
[2026-08-11 15:25:15] local.INFO: Processing buffer {"connection_id":154962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03f09f8012d7a18c005ec8138000a005a22..."} 
[2026-08-11 15:25:15] local.INFO: Packet analysis {"connection_id":154962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:25:15] local.INFO: Extracted packet for processing {"connection_id":154962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:25:15] local.INFO: GPS Element Parsed {"raw_longitude":762976448,"raw_latitude":99385656,"longitude_deg":76.2976448,"latitude_deg":9.9385656,"altitude":10,"angle":90,"satellites":34,"speed":8,"hex_longitude":"2d7a18c0","hex_latitude":"05ec8138","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329170432001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117617834019782656,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789619123185723392,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786442091000,"timestamp_ms":1786442091000,"timestamp_seconds":1786442091,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03f09f8"} 
[2026-08-11 15:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:25:15] 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-08-11 15: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-11 15:25:15] 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-08-11 15: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-08-11 15:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329170432001,"66":13526,"100":206,"87":13824,"24":8,"16":117617834019782656,"45":8789619123185723392},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329170432001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:25:15] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:25:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117617834019782656,"km_value":117617834019782.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789619123185723392,"description":"Unknown IO ID 45"} 
[2026-08-11 15:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329170432001,"power":13526,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8789619123185723392}} 
[2026-08-11 15:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":154962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:25:15] local.INFO: GPS data processed {"connection_id":154962,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:25:15] local.INFO: Acknowledgment sent {"connection_id":154962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:25:17] local.INFO: TCP Data received {"connection_id":152252,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:25:17] local.INFO: Processing buffer {"connection_id":152252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:25:17] local.INFO: IMEI packet received {"connection_id":152252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":152252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:25:18] local.INFO: TCP Data received {"connection_id":152252,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03dd948012d1a6a8007240628002d00e929..."} 
[2026-08-11 15:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03dd948012d1a6a8007240628002d00e929..."} 
[2026-08-11 15:25:18] local.INFO: Processing buffer {"connection_id":152252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03dd948012d1a6a8007240628002d00e929..."} 
[2026-08-11 15:25:18] local.INFO: Packet analysis {"connection_id":152252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03d"} 
[2026-08-11 15:25:18] local.INFO: Extracted packet for processing {"connection_id":152252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03d"} 
[2026-08-11 15:25:18] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119801384,"longitude_deg":75.670592,"latitude_deg":11.9801384,"altitude":45,"angle":233,"satellites":41,"speed":30,"hex_longitude":"2d1a6a80","hex_latitude":"07240628","is_valid_coordinates":true} 
[2026-08-11 15:25: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-08-11 15:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329155328001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11679678230167552,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560674965504,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:18] 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-08-11 15:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786442013000,"timestamp_ms":1786442013000,"timestamp_seconds":1786442013,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03dd948"} 
[2026-08-11 15:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:25:18] 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-08-11 15:25: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-11 15:25:18] 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-08-11 15:25: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-08-11 15:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329155328001,"66":13993,"177":206,"83":42752,"24":30,"16":11679678230167552,"45":1903474560674965504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-08-11 15:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329155328001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:25:18] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 15:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 15:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11679678230167552,"km_value":11679678230167.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560674965504,"description":"Unknown IO ID 45"} 
[2026-08-11 15:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329155328001,"power":13993,"unknown_177":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1903474560674965504}} 
[2026-08-11 15:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":152252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:25:19] local.INFO: GPS data processed {"connection_id":152252,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:25:19] local.INFO: Acknowledgment sent {"connection_id":152252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:25:19] local.INFO: TCP Data received {"connection_id":152253,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:25:19] local.INFO: Processing buffer {"connection_id":152253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:25:19] local.INFO: IMEI packet received {"connection_id":152253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":152253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:25:25] local.INFO: TCP Data received {"connection_id":152253,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:25:25] local.INFO: Processing buffer {"connection_id":152253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:25:25] local.INFO: IMEI packet received {"connection_id":152253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":152253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:25:26] local.INFO: TCP Data received {"connection_id":152253,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:25:26] local.INFO: Processing buffer {"connection_id":152253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:25:26] local.INFO: Packet analysis {"connection_id":152253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:25:26] local.INFO: Extracted packet for processing {"connection_id":152253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:25:26] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329083648001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786442034000,"timestamp_ms":1786442034000,"timestamp_seconds":1786442034,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03e2b50"} 
[2026-08-11 15:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":155,"data_length":795,"current_offset":136} 
[2026-08-11 15:25:26] 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-08-11 15: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-08-11 15:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:25:26] 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-08-11 15:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329083648001,"66":26115,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329083648001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:25:26] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:25:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329083648001,"power":26115,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":152253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:25:26] local.INFO: GPS data processed {"connection_id":152253,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:25:26] local.INFO: Acknowledgment sent {"connection_id":152253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:25:46] local.INFO: TCP Data received {"connection_id":154962,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03f9698012d7a114005ec7fe8000800fc23..."} 
[2026-08-11 15:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03f9698012d7a114005ec7fe8000800fc23..."} 
[2026-08-11 15:25:46] local.INFO: Processing buffer {"connection_id":154962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03f9698012d7a114005ec7fe8000800fc23..."} 
[2026-08-11 15:25:46] local.INFO: Packet analysis {"connection_id":154962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:25:46] local.INFO: Extracted packet for processing {"connection_id":154962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:25:46] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385320,"longitude_deg":76.2974528,"latitude_deg":9.938532,"altitude":8,"angle":252,"satellites":35,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7fe8","is_valid_coordinates":true} 
[2026-08-11 15:25: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-08-11 15:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329179136001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797078210069231616,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786442127000,"timestamp_ms":1786442127000,"timestamp_seconds":1786442127,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03f9698"} 
[2026-08-11 15:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:25:46] 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-08-11 15:25: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":214,"data_length":795,"current_offset":136} 
[2026-08-11 15:25:46] 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-08-11 15:25: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-08-11 15:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329179136001,"66":13319,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8797078210069231616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329179136001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:25:46] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:25:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797078210069231616,"description":"Unknown IO ID 45"} 
[2026-08-11 15:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329179136001,"power":13319,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797078210069231616}} 
[2026-08-11 15:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":154962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:25:46] local.INFO: GPS data processed {"connection_id":154962,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:25:46] local.INFO: Acknowledgment sent {"connection_id":154962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:25:51] local.INFO: TCP Data received {"connection_id":152252,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03f15b0012d19748007238ff8004200ed26..."} 
[2026-08-11 15:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03f15b0012d19748007238ff8004200ed26..."} 
[2026-08-11 15:25:51] local.INFO: Processing buffer {"connection_id":152252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03f15b0012d19748007238ff8004200ed26..."} 
[2026-08-11 15:25:51] local.INFO: Packet analysis {"connection_id":152252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:25:51] local.INFO: Extracted packet for processing {"connection_id":152252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756642944,"raw_latitude":119771128,"longitude_deg":75.6642944,"latitude_deg":11.9771128,"altitude":66,"angle":237,"satellites":38,"speed":35,"hex_longitude":"2d197480","hex_latitude":"07238ff8","is_valid_coordinates":true} 
[2026-08-11 15:25: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-08-11 15:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329175040001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11683221578186752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837820522349856768,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:51] 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-08-11 15:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786442094000,"timestamp_ms":1786442094000,"timestamp_seconds":1786442094,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03f15b0"} 
[2026-08-11 15:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:25:51] 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-08-11 15:25: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-11 15:25:51] 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-08-11 15:25: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-08-11 15:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329175040001,"66":14070,"186":206,"83":42752,"24":35,"16":11683221578186752,"45":1837820522349856768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-11 15:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329175040001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:25:51] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-11 15:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 15:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11683221578186752,"km_value":11683221578186.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837820522349856768,"description":"Unknown IO ID 45"} 
[2026-08-11 15:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329175040001,"power":14070,"unknown_186":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1837820522349856768}} 
[2026-08-11 15:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":152252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:25:51] local.INFO: GPS data processed {"connection_id":152252,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:25:51] local.INFO: Acknowledgment sent {"connection_id":152252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:25:57] local.INFO: TCP Data received {"connection_id":152253,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:25:57] local.INFO: Processing buffer {"connection_id":152253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:25:57] local.INFO: Packet analysis {"connection_id":152253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:25:57] local.INFO: Extracted packet for processing {"connection_id":152253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:25:57] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15:25: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-08-11 15:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329083648001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786442034000,"timestamp_ms":1786442034000,"timestamp_seconds":1786442034,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03e2b50"} 
[2026-08-11 15:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:25: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 15:25:57] 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-08-11 15:25: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-08-11 15:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:25:57] 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-08-11 15:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329083648001,"66":26115,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329083648001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:25:57] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:25:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329083648001,"power":26115,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":152253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:25:57] local.INFO: GPS data processed {"connection_id":152253,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:25:57] local.INFO: Acknowledgment sent {"connection_id":152253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:26:09] local.INFO: TCP Data received {"connection_id":153570,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:26:09] local.INFO: Processing buffer {"connection_id":153570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:26:09] local.INFO: IMEI packet received {"connection_id":153570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":153570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:26:14] local.INFO: TCP Data received {"connection_id":153570,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:26:14] local.INFO: Processing buffer {"connection_id":153570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:26:14] local.INFO: IMEI packet received {"connection_id":153570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":153570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:26:15] local.INFO: TCP Data received {"connection_id":153571,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:26:15] local.INFO: Processing buffer {"connection_id":153571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:26:15] local.INFO: IMEI packet received {"connection_id":153571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":153571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:26:15] local.INFO: TCP Data received {"connection_id":153570,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:26:15] local.INFO: Processing buffer {"connection_id":153570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:26:15] local.INFO: Packet analysis {"connection_id":153570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:26:15] local.INFO: Extracted packet for processing {"connection_id":153570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:26:15] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385320,"longitude_deg":76.2974528,"latitude_deg":9.938532,"altitude":8,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7fe8","is_valid_coordinates":true} 
[2026-08-11 15:26: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-08-11 15:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329184512001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786442140000,"timestamp_ms":1786442140000,"timestamp_seconds":1786442140,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03fc960"} 
[2026-08-11 15:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:26:15] 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-08-11 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 15:26:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:15] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3758096384,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030669160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:15] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13452388,"corrected_to":0} 
[2026-08-11 15:26:15] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-9004947407682264832,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:26:15] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827396,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:15] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705470976,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968059392,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:15] local.WARNING: Large IO value detected {"io_id":221,"raw_value":57777566526625590,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:15] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2125700318952685573,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:15] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,100,87,24,241,157,16,220,159,68,45,128,129,8,35,10,66,49,132,9,1,240,203,227,236,4,113,205,6,37,27,64,34,239,52,2,161,5,11,221,63],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":203,"original":13452388,"validated":0},{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:26:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737979557478400,"timestamp_seconds":576737979557478.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329184512001,"66":13580,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329184512001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:26:15] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:26:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329184512001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":153570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:26:15] local.INFO: GPS data processed {"connection_id":153570,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:26:15] local.INFO: Acknowledgment sent {"connection_id":153570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:26:16] local.INFO: TCP Data received {"connection_id":153571,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:26:16] local.INFO: Processing buffer {"connection_id":153571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:26:16] local.INFO: IMEI packet received {"connection_id":153571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":153571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:26:24] local.INFO: TCP Data received {"connection_id":152619,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:26:24] local.INFO: Processing buffer {"connection_id":152619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:26:24] local.INFO: IMEI packet received {"connection_id":152619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":152619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:26:27] local.INFO: TCP Data received {"connection_id":153571,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:26:27] local.INFO: Processing buffer {"connection_id":153571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:26:27] local.INFO: IMEI packet received {"connection_id":153571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":153571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:26:28] local.INFO: TCP Data received {"connection_id":153571,"ip":"42.106.6.19","data_length":1348,"data_hex":"000000000000030f8e0a0000019ff03f2168012d196c4007238988004400dd26..."} 
[2026-08-11 15:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153571,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019ff03f2168012d196c4007238988004400dd26..."} 
[2026-08-11 15:26:28] local.INFO: Processing buffer {"connection_id":153571,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019ff03f2168012d196c4007238988004400dd26..."} 
[2026-08-11 15:26:28] local.INFO: Packet analysis {"connection_id":153571,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:26:28] local.INFO: Extracted packet for processing {"connection_id":153571,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756640832,"raw_latitude":119769480,"longitude_deg":75.6640832,"latitude_deg":11.976948,"altitude":68,"angle":221,"satellites":38,"speed":34,"hex_longitude":"2d196c40","hex_latitude":"07238988","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329176064001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11683350427205632,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834231716396398592,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:28] 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-08-11 15:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786442097000,"timestamp_ms":1786442097000,"timestamp_seconds":1786442097,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03f2168"} 
[2026-08-11 15:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:26:28] 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-08-11 15: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-11 15:26: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-08-11 15: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-08-11 15:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329176064001,"66":14070,"186":206,"83":42752,"24":34,"16":11683350427205632,"45":1834231716396398592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-11 15:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329176064001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:26:28] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-11 15:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 15:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11683350427205632,"km_value":11683350427205.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834231716396398592,"description":"Unknown IO ID 45"} 
[2026-08-11 15:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329176064001,"power":14070,"unknown_186":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1834231716396398592}} 
[2026-08-11 15:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":153571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:26:29] local.INFO: GPS data processed {"connection_id":153571,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:26:29] local.INFO: Acknowledgment sent {"connection_id":153571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:26:29] local.INFO: Packet analysis {"connection_id":153571,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:26:29] local.INFO: Incomplete packet, waiting for more data {"connection_id":153571,"needed":795,"available":553} 
[2026-08-11 15:26:29] local.INFO: TCP Data received {"connection_id":152619,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:26:29] local.INFO: Processing buffer {"connection_id":152619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:26:29] local.INFO: IMEI packet received {"connection_id":152619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":152619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:26:29] local.INFO: TCP Data received {"connection_id":153571,"ip":"42.106.6.19","data_length":1037,"data_hex":"0000000000019ff03e8cf8012d19ef400723a668003301072b00270000000a00..."} 
[2026-08-11 15:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153571,"packet_length":1037,"packet_hex":"0000000000019ff03e8cf8012d19ef400723a668003301072b00270000000a00..."} 
[2026-08-11 15:26:29] local.INFO: Processing buffer {"connection_id":153571,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ff03f3cc0012d195ec007237598004700d225..."} 
[2026-08-11 15:26:29] local.INFO: Packet analysis {"connection_id":153571,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:26:29] local.INFO: Extracted packet for processing {"connection_id":153571,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:26:29] local.INFO: GPS Element Parsed {"raw_longitude":756637376,"raw_latitude":119764376,"longitude_deg":75.6637376,"latitude_deg":11.9764376,"altitude":71,"angle":210,"satellites":37,"speed":34,"hex_longitude":"2d195ec0","hex_latitude":"07237598","is_valid_coordinates":true} 
[2026-08-11 15:26: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-08-11 15:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329176832001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11683646779949056,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831909547838113792,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26: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-08-11 15:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786442104000,"timestamp_ms":1786442104000,"timestamp_seconds":1786442104,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03f3cc0"} 
[2026-08-11 15:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:26:29] 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-08-11 15:26: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":246,"data_length":795,"current_offset":136} 
[2026-08-11 15:26:29] 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-08-11 15:26: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-08-11 15:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329176832001,"66":13993,"186":206,"83":42752,"24":34,"16":11683646779949056,"45":1831909547838113792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-11 15:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329176832001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:26:29] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-11 15:26:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 15:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11683646779949056,"km_value":11683646779949.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831909547838113792,"description":"Unknown IO ID 45"} 
[2026-08-11 15:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329176832001,"power":13993,"unknown_186":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1831909547838113792}} 
[2026-08-11 15:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":153571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:26:29] local.INFO: GPS data processed {"connection_id":153571,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:26:29] local.INFO: Acknowledgment sent {"connection_id":153571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:26:29] local.INFO: Packet analysis {"connection_id":153571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:26:29] local.INFO: Extracted packet for processing {"connection_id":153571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:26:29] local.INFO: GPS Element Parsed {"raw_longitude":756632128,"raw_latitude":119756184,"longitude_deg":75.6632128,"latitude_deg":11.9756184,"altitude":76,"angle":214,"satellites":34,"speed":35,"hex_longitude":"2d194a40","hex_latitude":"07235598","is_valid_coordinates":true} 
[2026-08-11 15:26: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-08-11 15:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329178624001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11684114931384320,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828109635651213312,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26: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-08-11 15:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786442115000,"timestamp_ms":1786442115000,"timestamp_seconds":1786442115,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03f67b8"} 
[2026-08-11 15:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:26:29] 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-08-11 15:26: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-08-11 15:26: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-08-11 15:26: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-08-11 15:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329178624001,"66":13993,"186":206,"83":42752,"24":35,"16":11684114931384320,"45":1828109635651213312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-11 15:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329178624001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:26:29] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-11 15:26:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 15:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11684114931384320,"km_value":11684114931384.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828109635651213312,"description":"Unknown IO ID 45"} 
[2026-08-11 15:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329178624001,"power":13993,"unknown_186":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1828109635651213312}} 
[2026-08-11 15:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":153571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:26:30] local.INFO: GPS data processed {"connection_id":153571,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:26:30] local.INFO: Acknowledgment sent {"connection_id":153571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:26:30] local.INFO: TCP Data received {"connection_id":152619,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:26:30] local.INFO: Processing buffer {"connection_id":152619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:26:30] local.INFO: Packet analysis {"connection_id":152619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:26:30] local.INFO: Extracted packet for processing {"connection_id":152619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:26:30] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329083648001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786442034000,"timestamp_ms":1786442034000,"timestamp_seconds":1786442034,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03e2b50"} 
[2026-08-11 15:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 15:26:30] 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-08-11 15: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-08-11 15:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:26:30] 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-08-11 15:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329083648001,"66":26115,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329083648001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:26:30] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329083648001,"power":26115,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":152619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:26:30] local.INFO: GPS data processed {"connection_id":152619,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:26:30] local.INFO: Acknowledgment sent {"connection_id":152619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:26:35] local.INFO: TCP Data received {"connection_id":152619,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:26:35] local.INFO: Processing buffer {"connection_id":152619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:26:35] local.INFO: Packet analysis {"connection_id":152619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:26:35] local.INFO: Extracted packet for processing {"connection_id":152619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:26:35] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15:26: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-08-11 15:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329083648001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786442034000,"timestamp_ms":1786442034000,"timestamp_seconds":1786442034,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03e2b50"} 
[2026-08-11 15:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:26: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":155,"data_length":795,"current_offset":136} 
[2026-08-11 15:26:35] 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-08-11 15:26: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-08-11 15:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:26: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-08-11 15:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329083648001,"66":26115,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329083648001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:26:35] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329083648001,"power":26115,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":152619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:26:35] local.INFO: GPS data processed {"connection_id":152619,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:26:35] local.INFO: Acknowledgment sent {"connection_id":152619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:26:47] local.INFO: TCP Data received {"connection_id":153570,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:26:47] local.INFO: Processing buffer {"connection_id":153570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:26:47] local.INFO: Packet analysis {"connection_id":153570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:26:47] local.INFO: Extracted packet for processing {"connection_id":153570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:26:47] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385320,"longitude_deg":76.2974528,"latitude_deg":9.938532,"altitude":8,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7fe8","is_valid_coordinates":true} 
[2026-08-11 15:26:47] 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-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786442140000,"timestamp_ms":1786442140000,"timestamp_seconds":1786442140,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03fc960"} 
[2026-08-11 15:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:26:47] 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-08-11 15:26: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-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030670160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521790097708233129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5125377885284073482,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13452388,"corrected_to":0} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2220359689,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2147871876,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827396,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705536512,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968090112,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1999604747933843467,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-11 15:26:47] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,100,87,24,241,157,16,220,159,150,45,64,127,8,35,10,66,68,128,129,49,1,240,203,227,236,4,113,205,7,41,26,88,34,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":203,"original":13452388,"validated":0},{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:26:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511343,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":13580,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:26:47] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:26:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":153570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:26:47] local.INFO: GPS data processed {"connection_id":153570,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:26:47] local.INFO: Acknowledgment sent {"connection_id":153570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:27:06] local.INFO: TCP Data received {"connection_id":152620,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:27:06] local.INFO: Processing buffer {"connection_id":152620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:27:06] local.INFO: IMEI packet received {"connection_id":152620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":152620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:27:08] local.INFO: TCP Data received {"connection_id":153572,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:27:08] local.INFO: Processing buffer {"connection_id":153572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:27:08] local.INFO: IMEI packet received {"connection_id":153572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":153572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:27:09] local.INFO: TCP Data received {"connection_id":152620,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:27:09] local.INFO: Processing buffer {"connection_id":152620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:27:09] local.INFO: IMEI packet received {"connection_id":152620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":152620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:27:10] local.INFO: TCP Data received {"connection_id":152620,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:27:10] local.INFO: Processing buffer {"connection_id":152620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:27:10] local.INFO: IMEI packet received {"connection_id":152620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":152620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:27:14] local.INFO: TCP Data received {"connection_id":153572,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:27:14] local.INFO: Processing buffer {"connection_id":153572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:27:14] local.INFO: IMEI packet received {"connection_id":153572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":153572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:27:15] local.INFO: TCP Data received {"connection_id":153572,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:27:15] local.INFO: Processing buffer {"connection_id":153572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:27:15] local.INFO: Packet analysis {"connection_id":153572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:27:15] local.INFO: Extracted packet for processing {"connection_id":153572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:27:15] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385320,"longitude_deg":76.2974528,"latitude_deg":9.938532,"altitude":8,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7fe8","is_valid_coordinates":true} 
[2026-08-11 15:27:15] 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-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786442140000,"timestamp_ms":1786442140000,"timestamp_seconds":1786442140,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03fc960"} 
[2026-08-11 15:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:27:15] 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-08-11 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030670160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521790097708233129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5125377885284073482,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13452388,"corrected_to":0} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2220359689,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2147871876,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827396,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705536512,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968090112,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1999604747933843467,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:15] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,100,87,24,241,157,16,220,159,150,45,64,127,8,35,10,66,68,128,129,49,1,240,203,227,236,4,113,205,7,41,26,88,34,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":203,"original":13452388,"validated":0},{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:27:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511343,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":13580,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:27:15] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:27:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":153572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:27:15] local.INFO: GPS data processed {"connection_id":153572,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:27:15] local.INFO: Acknowledgment sent {"connection_id":153572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:27:15] local.INFO: TCP Data received {"connection_id":152620,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:27:15] local.INFO: Processing buffer {"connection_id":152620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:27:15] local.INFO: IMEI packet received {"connection_id":152620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":152620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:27:16] local.INFO: TCP Data received {"connection_id":152620,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04036c0012d18c08007230110006200ed2a..."} 
[2026-08-11 15:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04036c0012d18c08007230110006200ed2a..."} 
[2026-08-11 15:27:16] local.INFO: Processing buffer {"connection_id":152620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04036c0012d18c08007230110006200ed2a..."} 
[2026-08-11 15:27:16] local.INFO: Packet analysis {"connection_id":152620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff040"} 
[2026-08-11 15:27:16] local.INFO: Extracted packet for processing {"connection_id":152620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff040"} 
[2026-08-11 15:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756596864,"raw_latitude":119734544,"longitude_deg":75.6596864,"latitude_deg":11.9734544,"altitude":98,"angle":237,"satellites":42,"speed":32,"hex_longitude":"2d18c080","hex_latitude":"07230110","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329194752001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11686378379149312,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269908020992000,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:16] 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-08-11 15:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786442168000,"timestamp_ms":1786442168000,"timestamp_seconds":1786442168,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04036c0"} 
[2026-08-11 15:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:27:16] 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-08-11 15: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-11 15:27:16] 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-08-11 15: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-08-11 15:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329194752001,"66":14070,"137":206,"83":42752,"24":32,"16":11686378379149312,"45":1784269908020992000},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-11 15:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329194752001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:27:16] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-11 15:27:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 15:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11686378379149312,"km_value":11686378379149.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269908020992000,"description":"Unknown IO ID 45"} 
[2026-08-11 15:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329194752001,"power":14070,"unknown_137":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1784269908020992000}} 
[2026-08-11 15:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":152620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:27:16] local.INFO: GPS data processed {"connection_id":152620,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:27:16] local.INFO: Acknowledgment sent {"connection_id":152620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:27:19] local.INFO: TCP Data received {"connection_id":154963,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:27:19] local.INFO: Processing buffer {"connection_id":154963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:27:19] local.INFO: IMEI packet received {"connection_id":154963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":154963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:27:24] local.INFO: TCP Data received {"connection_id":154963,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:27:24] local.INFO: Processing buffer {"connection_id":154963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:27:24] local.INFO: IMEI packet received {"connection_id":154963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":154963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:27:25] local.INFO: TCP Data received {"connection_id":154963,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:27:25] local.INFO: Processing buffer {"connection_id":154963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:27:25] local.INFO: Packet analysis {"connection_id":154963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:27:25] local.INFO: Extracted packet for processing {"connection_id":154963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:27:25] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329083648001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786442034000,"timestamp_ms":1786442034000,"timestamp_seconds":1786442034,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03e2b50"} 
[2026-08-11 15:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 15:27:25] 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-08-11 15: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-08-11 15:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329083648001,"66":26115,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329083648001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:27:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:27:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329083648001,"power":26115,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":154963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:27:25] local.INFO: GPS data processed {"connection_id":154963,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:27:25] local.INFO: Acknowledgment sent {"connection_id":154963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:27:42] local.INFO: TCP Data received {"connection_id":152254,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152254,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:27:42] local.INFO: Processing buffer {"connection_id":152254,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:27:42] local.INFO: IMEI packet received {"connection_id":152254,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":152254,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:27:44] local.INFO: TCP Data received {"connection_id":152254,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152254,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:27:44] local.INFO: Processing buffer {"connection_id":152254,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:27:44] local.INFO: IMEI packet received {"connection_id":152254,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":152254,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:27:46] local.INFO: TCP Data received {"connection_id":153572,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:27:46] local.INFO: Processing buffer {"connection_id":153572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:27:46] local.INFO: Packet analysis {"connection_id":153572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:27:46] local.INFO: Extracted packet for processing {"connection_id":153572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:27:46] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385320,"longitude_deg":76.2974528,"latitude_deg":9.938532,"altitude":8,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7fe8","is_valid_coordinates":true} 
[2026-08-11 15:27:46] 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-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786442140000,"timestamp_ms":1786442140000,"timestamp_seconds":1786442140,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03fc960"} 
[2026-08-11 15:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:27:46] 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-08-11 15:27: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":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030670160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521790097708233129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5125377885284073482,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13452388,"corrected_to":0} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2220359689,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2147871876,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827396,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705536512,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968090112,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1999604747933843467,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:46] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,100,87,24,241,157,16,220,159,150,45,64,127,8,35,10,66,68,128,129,49,1,240,203,227,236,4,113,205,7,41,26,88,34,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":203,"original":13452388,"validated":0},{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:27:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511343,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":13580,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:27:46] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:27:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":153572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:27:46] local.INFO: GPS data processed {"connection_id":153572,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:27:46] local.INFO: Acknowledgment sent {"connection_id":153572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:27:47] local.INFO: TCP Data received {"connection_id":152620,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0403e90012d18bb800722fd18006300db29..."} 
[2026-08-11 15:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0403e90012d18bb800722fd18006300db29..."} 
[2026-08-11 15:27:47] local.INFO: Processing buffer {"connection_id":152620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0403e90012d18bb800722fd18006300db29..."} 
[2026-08-11 15:27:47] local.INFO: Packet analysis {"connection_id":152620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff040"} 
[2026-08-11 15:27:47] local.INFO: Extracted packet for processing {"connection_id":152620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff040"} 
[2026-08-11 15:27:47] local.INFO: GPS Element Parsed {"raw_longitude":756595584,"raw_latitude":119733528,"longitude_deg":75.6595584,"latitude_deg":11.9733528,"altitude":99,"angle":219,"satellites":41,"speed":31,"hex_longitude":"2d18bb80","hex_latitude":"0722fd18","is_valid_coordinates":true} 
[2026-08-11 15:27: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-08-11 15:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329195008001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11686455688560640,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783566220579115008,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:47] 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-08-11 15:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786442170000,"timestamp_ms":1786442170000,"timestamp_seconds":1786442170,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0403e90"} 
[2026-08-11 15:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:27:47] 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-08-11 15:27: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":246,"data_length":795,"current_offset":136} 
[2026-08-11 15:27:47] 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-08-11 15:27: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-08-11 15:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329195008001,"66":14004,"137":206,"83":42752,"24":31,"16":11686455688560640,"45":1783566220579115008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-11 15:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329195008001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:27:47] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-11 15:27:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 15:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11686455688560640,"km_value":11686455688560.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783566220579115008,"description":"Unknown IO ID 45"} 
[2026-08-11 15:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329195008001,"power":14004,"unknown_137":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1783566220579115008}} 
[2026-08-11 15:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":152620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:27:47] local.INFO: GPS data processed {"connection_id":152620,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:27:47] local.INFO: Acknowledgment sent {"connection_id":152620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:27:47] local.INFO: TCP Data received {"connection_id":152254,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152254,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:27:47] local.INFO: Processing buffer {"connection_id":152254,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:27:47] local.INFO: IMEI packet received {"connection_id":152254,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":152254,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:27:53] local.INFO: TCP Data received {"connection_id":152254,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000000000002af80100000000000000000000000000..."} 
[2026-08-11 15:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000002af80100000000000000000000000000..."} 
[2026-08-11 15:27:53] local.INFO: Processing buffer {"connection_id":152254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000002af80100000000000000000000000000..."} 
[2026-08-11 15:27:53] local.INFO: Packet analysis {"connection_id":152254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 15:27:53] local.INFO: Extracted packet for processing {"connection_id":152254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 15:27:53] 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-08-11 15:27: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-08-11 15:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27619976902868992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:53] 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-08-11 15:27:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":11000,"timestamp_seconds":11,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:27:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 15:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152254,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152254,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-11 15:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152254,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-11 15:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 15:27:53] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 15:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":152254,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 15:27:53] local.ERROR: GPS data processing failed {"connection_id":152254,"error":"No valid data to process"} 
[2026-08-11 15:27:53] local.INFO: Acknowledgment sent {"connection_id":152254,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 15:27:54] local.INFO: TCP Data received {"connection_id":152254,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000000000002af80100000000000000000000000000..."} 
[2026-08-11 15:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000002af80100000000000000000000000000..."} 
[2026-08-11 15:27:54] local.INFO: Processing buffer {"connection_id":152254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000002af80100000000000000000000000000..."} 
[2026-08-11 15:27:54] local.INFO: Packet analysis {"connection_id":152254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 15:27:54] local.INFO: Extracted packet for processing {"connection_id":152254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 15:27: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-08-11 15:27:54] 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-08-11 15:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27619976902868992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:54] 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-08-11 15:27:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":11000,"timestamp_seconds":11,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:27:54] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 15:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152254,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152254,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-11 15:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152254,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-11 15:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 15:27:54] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 15:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":152254,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 15:27:54] local.ERROR: GPS data processing failed {"connection_id":152254,"error":"No valid data to process"} 
[2026-08-11 15:27:54] local.INFO: Acknowledgment sent {"connection_id":152254,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 15:27:56] local.INFO: TCP Data received {"connection_id":154963,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:27:56] local.INFO: Processing buffer {"connection_id":154963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:27:56] local.INFO: Packet analysis {"connection_id":154963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:27:56] local.INFO: Extracted packet for processing {"connection_id":154963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:27:56] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329083648001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786442034000,"timestamp_ms":1786442034000,"timestamp_seconds":1786442034,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03e2b50"} 
[2026-08-11 15:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 15:27:56] 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-08-11 15: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-08-11 15:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329083648001,"66":26115,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329083648001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:27:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:27:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329083648001,"power":26115,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":154963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:27:56] local.INFO: GPS data processed {"connection_id":154963,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:27:56] local.INFO: Acknowledgment sent {"connection_id":154963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:28:08] local.INFO: TCP Data received {"connection_id":152622,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:28:08] local.INFO: Processing buffer {"connection_id":152622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:28:08] local.INFO: IMEI packet received {"connection_id":152622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":152622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:28:10] local.INFO: TCP Data received {"connection_id":152621,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:28:10] local.INFO: Processing buffer {"connection_id":152621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:28:10] local.INFO: IMEI packet received {"connection_id":152621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":152621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:28:14] local.INFO: TCP Data received {"connection_id":152622,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:28:14] local.INFO: Processing buffer {"connection_id":152622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:28:14] local.INFO: IMEI packet received {"connection_id":152622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":152622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:28:15] local.INFO: TCP Data received {"connection_id":152622,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:28:15] local.INFO: Processing buffer {"connection_id":152622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:28:15] local.INFO: Packet analysis {"connection_id":152622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:28:15] local.INFO: Extracted packet for processing {"connection_id":152622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:28:15] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385320,"longitude_deg":76.2974528,"latitude_deg":9.938532,"altitude":8,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7fe8","is_valid_coordinates":true} 
[2026-08-11 15:28:15] 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-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786442140000,"timestamp_ms":1786442140000,"timestamp_seconds":1786442140,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03fc960"} 
[2026-08-11 15:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:28:15] 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-08-11 15:28: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":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030670160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521790097708233129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5125377885284073482,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13452388,"corrected_to":0} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2220359689,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2147871876,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827396,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705536512,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968090112,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1999604747933843467,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:15] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,100,87,24,241,157,16,220,159,150,45,64,127,8,35,10,66,68,128,129,49,1,240,203,227,236,4,113,205,7,41,26,88,34,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":203,"original":13452388,"validated":0},{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:28:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511343,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":13580,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:28:15] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:28:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":152622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:28:15] local.INFO: GPS data processed {"connection_id":152622,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:28:15] local.INFO: Acknowledgment sent {"connection_id":152622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:28:15] local.INFO: TCP Data received {"connection_id":152621,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:28:15] local.INFO: Processing buffer {"connection_id":152621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:28:15] local.INFO: IMEI packet received {"connection_id":152621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":152621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:28:16] local.INFO: TCP Data received {"connection_id":152621,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0404660012d18b8c00722f798006300c82c..."} 
[2026-08-11 15:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0404660012d18b8c00722f798006300c82c..."} 
[2026-08-11 15:28:16] local.INFO: Processing buffer {"connection_id":152621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0404660012d18b8c00722f798006300c82c..."} 
[2026-08-11 15:28:16] local.INFO: Packet analysis {"connection_id":152621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff040"} 
[2026-08-11 15:28:16] local.INFO: Extracted packet for processing {"connection_id":152621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff040"} 
[2026-08-11 15:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756594880,"raw_latitude":119732120,"longitude_deg":75.659488,"latitude_deg":11.973212,"altitude":99,"angle":200,"satellites":44,"speed":33,"hex_longitude":"2d18b8c0","hex_latitude":"0722f798","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329195520001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11686532997971968,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782158845695301632,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:16] 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-08-11 15:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786442172000,"timestamp_ms":1786442172000,"timestamp_seconds":1786442172,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0404660"} 
[2026-08-11 15:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:28:16] 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-08-11 15: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-11 15:28:16] 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-08-11 15: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-08-11 15:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:28:16] 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-08-11 15:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329195520001,"66":13993,"137":206,"83":42752,"24":33,"16":11686532997971968,"45":1782158845695301632},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-11 15:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329195520001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:28:16] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-11 15:28:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-11 15:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11686532997971968,"km_value":11686532997971.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782158845695301632,"description":"Unknown IO ID 45"} 
[2026-08-11 15:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329195520001,"power":13993,"unknown_137":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1782158845695301632}} 
[2026-08-11 15:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":152621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:28:16] local.INFO: GPS data processed {"connection_id":152621,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:28:16] local.INFO: Acknowledgment sent {"connection_id":152621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:28:19] local.INFO: TCP Data received {"connection_id":153573,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:28:19] local.INFO: Processing buffer {"connection_id":153573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:28:19] local.INFO: IMEI packet received {"connection_id":153573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":153573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:28:24] local.INFO: TCP Data received {"connection_id":153573,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:28:24] local.INFO: Processing buffer {"connection_id":153573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:28:24] local.INFO: IMEI packet received {"connection_id":153573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":153573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:28:25] local.INFO: TCP Data received {"connection_id":153573,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:28:25] local.INFO: Processing buffer {"connection_id":153573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:28:25] local.INFO: Packet analysis {"connection_id":153573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:28:25] local.INFO: Extracted packet for processing {"connection_id":153573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:28:25] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329083648001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786442034000,"timestamp_ms":1786442034000,"timestamp_seconds":1786442034,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03e2b50"} 
[2026-08-11 15:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 15:28:25] 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-08-11 15: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-08-11 15:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:28:25] 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-08-11 15:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329083648001,"66":26115,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329083648001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:28:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:28:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329083648001,"power":26115,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":153573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:28:25] local.INFO: GPS data processed {"connection_id":153573,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:28:25] local.INFO: Acknowledgment sent {"connection_id":153573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:28:46] local.INFO: TCP Data received {"connection_id":152622,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:28:46] local.INFO: Processing buffer {"connection_id":152622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:28:46] local.INFO: Packet analysis {"connection_id":152622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:28:46] local.INFO: Extracted packet for processing {"connection_id":152622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:28:46] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385320,"longitude_deg":76.2974528,"latitude_deg":9.938532,"altitude":8,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7fe8","is_valid_coordinates":true} 
[2026-08-11 15:28:46] 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-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786442140000,"timestamp_ms":1786442140000,"timestamp_seconds":1786442140,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03fc960"} 
[2026-08-11 15:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:28:46] 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-08-11 15:28: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":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030670160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521790097708233129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5125377885284073482,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13452388,"corrected_to":0} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2220359689,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2147871876,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827396,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705536512,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968090112,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1999604747933843467,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:46] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,100,87,24,241,157,16,220,159,150,45,64,127,8,35,10,66,68,128,129,49,1,240,203,227,236,4,113,205,7,41,26,88,34,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":203,"original":13452388,"validated":0},{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:28:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511343,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":13580,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:28:46] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:28:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":152622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:28:46] local.INFO: GPS data processed {"connection_id":152622,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:28:46] local.INFO: Acknowledgment sent {"connection_id":152622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:28:47] local.INFO: TCP Data received {"connection_id":152621,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0419a38012d1850000721f578005000d52a..."} 
[2026-08-11 15:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0419a38012d1850000721f578005000d52a..."} 
[2026-08-11 15:28:47] local.INFO: Processing buffer {"connection_id":152621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0419a38012d1850000721f578005000d52a..."} 
[2026-08-11 15:28:47] local.INFO: Packet analysis {"connection_id":152621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff041"} 
[2026-08-11 15:28:47] local.INFO: Extracted packet for processing {"connection_id":152621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff041"} 
[2026-08-11 15:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756568064,"raw_latitude":119666040,"longitude_deg":75.6568064,"latitude_deg":11.966604,"altitude":80,"angle":213,"satellites":42,"speed":34,"hex_longitude":"2d185000","hex_latitude":"0721f578","is_valid_coordinates":true} 
[2026-08-11 15:28: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-08-11 15:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329215488001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11690106410762240,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757881628938788864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:47] 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-08-11 15:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786442259000,"timestamp_ms":1786442259000,"timestamp_seconds":1786442259,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0419a38"} 
[2026-08-11 15:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:28:47] 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-08-11 15:28: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 15:28:47] 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-08-11 15:28: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-08-11 15:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:28:47] 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-08-11 15:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329215488001,"66":14537,"105":206,"83":41984,"24":34,"16":11690106410762240,"45":1757881628938788864},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 15:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329215488001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:28:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 15:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11690106410762240,"km_value":11690106410762.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757881628938788864,"description":"Unknown IO ID 45"} 
[2026-08-11 15:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329215488001,"power":14537,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1757881628938788864}} 
[2026-08-11 15:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":152621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:28:47] local.INFO: GPS data processed {"connection_id":152621,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:28:47] local.INFO: Acknowledgment sent {"connection_id":152621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:28:48] local.INFO: TCP Data received {"connection_id":152254,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-11 15:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152254,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-11 15:28:48] local.INFO: Processing buffer {"connection_id":152254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-11 15:28:48] local.INFO: Packet analysis {"connection_id":152254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 15:28:48] local.INFO: Extracted packet for processing {"connection_id":152254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-11 15:28:48] 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-08-11 15:28: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-08-11 15:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27619976902868992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:28:48] 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-08-11 15:28:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 15:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152254,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152254,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-11 15:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152254,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-11 15:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 15:28:48] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 15:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":152254,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 15:28:48] local.ERROR: GPS data processing failed {"connection_id":152254,"error":"No valid data to process"} 
[2026-08-11 15:28:48] local.INFO: Acknowledgment sent {"connection_id":152254,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 15:28:56] local.INFO: TCP Data received {"connection_id":153573,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:28:56] local.INFO: Processing buffer {"connection_id":153573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:28:56] local.INFO: Packet analysis {"connection_id":153573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:28:56] local.INFO: Extracted packet for processing {"connection_id":153573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:28:56] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 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-08-11 15:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329083648001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786442034000,"timestamp_ms":1786442034000,"timestamp_seconds":1786442034,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03e2b50"} 
[2026-08-11 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-08-11 15:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 15:28:56] 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-08-11 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-08-11 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-08-11 15:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:28:56] 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-08-11 15:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329083648001,"66":26115,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329083648001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:28:57] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:28:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329083648001,"power":26115,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":153573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:28:57] local.INFO: GPS data processed {"connection_id":153573,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:28:57] local.INFO: Acknowledgment sent {"connection_id":153573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:29:08] local.INFO: TCP Data received {"connection_id":153574,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:29:08] local.INFO: Processing buffer {"connection_id":153574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:29:08] local.INFO: IMEI packet received {"connection_id":153574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":153574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:29:10] local.INFO: TCP Data received {"connection_id":154964,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:29:10] local.INFO: Processing buffer {"connection_id":154964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:29:10] local.INFO: IMEI packet received {"connection_id":154964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":154964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:29:14] local.INFO: TCP Data received {"connection_id":153574,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:29:14] local.INFO: Processing buffer {"connection_id":153574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:29:14] local.INFO: IMEI packet received {"connection_id":153574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":153574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:29:14] local.INFO: TCP Data received {"connection_id":153574,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:29:14] local.INFO: Processing buffer {"connection_id":153574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:29:14] local.INFO: Packet analysis {"connection_id":153574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:29:14] local.INFO: Extracted packet for processing {"connection_id":153574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:29:14] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385320,"longitude_deg":76.2974528,"latitude_deg":9.938532,"altitude":8,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7fe8","is_valid_coordinates":true} 
[2026-08-11 15:29:14] 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-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786442140000,"timestamp_ms":1786442140000,"timestamp_seconds":1786442140,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03fc960"} 
[2026-08-11 15:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:29:14] 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-08-11 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030670160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521790097708233129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5125377885284073482,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13452388,"corrected_to":0} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2220359689,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2147871876,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827396,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705536512,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968090112,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1999604747933843467,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:14] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,100,87,24,241,157,16,220,159,150,45,64,127,8,35,10,66,68,128,129,49,1,240,203,227,236,4,113,205,7,41,26,88,34,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":203,"original":13452388,"validated":0},{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:29:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511343,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":13580,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:29:14] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:29:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":153574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:29:14] local.INFO: GPS data processed {"connection_id":153574,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:29:14] local.INFO: Acknowledgment sent {"connection_id":153574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:29:15] local.INFO: TCP Data received {"connection_id":154964,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:29:15] local.INFO: Processing buffer {"connection_id":154964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:29:15] local.INFO: IMEI packet received {"connection_id":154964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":154964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:29:15] local.INFO: TCP Data received {"connection_id":154964,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff041c530012d183c000721d7d0004d00d52c..."} 
[2026-08-11 15:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff041c530012d183c000721d7d0004d00d52c..."} 
[2026-08-11 15:29:15] local.INFO: Processing buffer {"connection_id":154964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff041c530012d183c000721d7d0004d00d52c..."} 
[2026-08-11 15:29:15] local.INFO: Packet analysis {"connection_id":154964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff041"} 
[2026-08-11 15:29:15] local.INFO: Extracted packet for processing {"connection_id":154964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff041"} 
[2026-08-11 15:29:15] local.INFO: GPS Element Parsed {"raw_longitude":756562944,"raw_latitude":119658448,"longitude_deg":75.6562944,"latitude_deg":11.9658448,"altitude":77,"angle":213,"satellites":44,"speed":29,"hex_longitude":"2d183c00","hex_latitude":"0721d7d0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329218304001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11690544497426432,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751900285681629184,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:15] 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-08-11 15:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786442270000,"timestamp_ms":1786442270000,"timestamp_seconds":1786442270,"priority":1,"record_length":96,"hex_timestamp":"0000019ff041c530"} 
[2026-08-11 15:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:29:15] 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-08-11 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-11 15:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:29:15] 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-08-11 15:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329218304001,"66":14004,"105":206,"83":41984,"24":29,"16":11690544497426432,"45":1751900285681629184},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 15:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329218304001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:29:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 15:29:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11690544497426432,"km_value":11690544497426.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751900285681629184,"description":"Unknown IO ID 45"} 
[2026-08-11 15:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329218304001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1751900285681629184}} 
[2026-08-11 15:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":154964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:29:16] local.INFO: GPS data processed {"connection_id":154964,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:29:16] local.INFO: Acknowledgment sent {"connection_id":154964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:29:19] local.INFO: TCP Data received {"connection_id":153575,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:29:19] local.INFO: Processing buffer {"connection_id":153575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:29:19] local.INFO: IMEI packet received {"connection_id":153575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":153575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:29:24] local.INFO: TCP Data received {"connection_id":153575,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:29:24] local.INFO: Processing buffer {"connection_id":153575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:29:24] local.INFO: IMEI packet received {"connection_id":153575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":153575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:29:29] local.INFO: TCP Data received {"connection_id":153575,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:29:29] local.INFO: Processing buffer {"connection_id":153575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03e2b50012d9cd70005b36170001400a32c..."} 
[2026-08-11 15:29:29] local.INFO: Packet analysis {"connection_id":153575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:29:29] local.INFO: Extracted packet for processing {"connection_id":153575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03e"} 
[2026-08-11 15:29:29] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":20,"angle":163,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15:29: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-08-11 15:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329083648001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786442034000,"timestamp_ms":1786442034000,"timestamp_seconds":1786442034,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03e2b50"} 
[2026-08-11 15:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:29: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 15:29:29] 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-08-11 15:29: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-08-11 15:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329083648001,"66":26115,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329083648001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:29:29] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329083648001,"power":26115,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":153575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:29:29] local.INFO: GPS data processed {"connection_id":153575,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:29:29] local.INFO: Acknowledgment sent {"connection_id":153575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:29:46] local.INFO: TCP Data received {"connection_id":153574,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:29:46] local.INFO: Processing buffer {"connection_id":153574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:29:46] local.INFO: Packet analysis {"connection_id":153574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:29:46] local.INFO: Extracted packet for processing {"connection_id":153574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:29:46] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385320,"longitude_deg":76.2974528,"latitude_deg":9.938532,"altitude":8,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7fe8","is_valid_coordinates":true} 
[2026-08-11 15:29:46] 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-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786442140000,"timestamp_ms":1786442140000,"timestamp_seconds":1786442140,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03fc960"} 
[2026-08-11 15:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:29:46] 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-08-11 15:29: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":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030670160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521790097708233129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5125377885284073482,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13452388,"corrected_to":0} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2220359689,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2147871876,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827396,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705536512,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968090112,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1999604747933843467,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:46] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,100,87,24,241,157,16,220,159,150,45,64,127,8,35,10,66,68,128,129,49,1,240,203,227,236,4,113,205,7,41,26,88,34,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":203,"original":13452388,"validated":0},{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:29:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511343,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":13580,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:29:46] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:29:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":153574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:29:46] local.INFO: GPS data processed {"connection_id":153574,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:29:46] local.INFO: Acknowledgment sent {"connection_id":153574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:29:47] local.INFO: TCP Data received {"connection_id":154964,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff041f7f8012d1828800721ba18004c00d42a..."} 
[2026-08-11 15:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff041f7f8012d1828800721ba18004c00d42a..."} 
[2026-08-11 15:29:47] local.INFO: Processing buffer {"connection_id":154964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff041f7f8012d1828800721ba18004c00d42a..."} 
[2026-08-11 15:29:47] local.INFO: Packet analysis {"connection_id":154964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff041"} 
[2026-08-11 15:29:47] local.INFO: Extracted packet for processing {"connection_id":154964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff041"} 
[2026-08-11 15:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119650840,"longitude_deg":75.6557952,"latitude_deg":11.965084,"altitude":76,"angle":212,"satellites":42,"speed":26,"hex_longitude":"2d182880","hex_latitude":"0721ba18","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329221120001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11690986879057920,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746270786145472512,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:47] 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-08-11 15:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786442283000,"timestamp_ms":1786442283000,"timestamp_seconds":1786442283,"priority":1,"record_length":96,"hex_timestamp":"0000019ff041f7f8"} 
[2026-08-11 15:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:29:47] 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-08-11 15: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-11 15:29:47] 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-08-11 15: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-08-11 15:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:29:47] 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-08-11 15:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329221120001,"66":14004,"105":206,"83":41984,"24":26,"16":11690986879057920,"45":1746270786145472512},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 15:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329221120001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:29:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 15:29:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11690986879057920,"km_value":11690986879057.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746270786145472512,"description":"Unknown IO ID 45"} 
[2026-08-11 15:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329221120001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1746270786145472512}} 
[2026-08-11 15:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":154964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:29:47] local.INFO: GPS data processed {"connection_id":154964,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:29:47] local.INFO: Acknowledgment sent {"connection_id":154964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:29:47] local.INFO: TCP Data received {"connection_id":152254,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-11 15:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152254,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-11 15:29:47] local.INFO: Processing buffer {"connection_id":152254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-11 15:29:47] local.INFO: Packet analysis {"connection_id":152254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-11 15:29:47] local.INFO: Extracted packet for processing {"connection_id":152254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-11 15:29: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-08-11 15: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-08-11 15:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27619976902868992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:29:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:29:47] 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-08-11 15:29:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 15:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152254,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152254,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-11 15:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152254,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-11 15:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 15:29:47] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 15:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":152254,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 15:29:47] local.ERROR: GPS data processing failed {"connection_id":152254,"error":"No valid data to process"} 
[2026-08-11 15:29:47] local.INFO: Acknowledgment sent {"connection_id":152254,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 15:30:00] local.INFO: TCP Data received {"connection_id":153575,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:30:00] local.INFO: Processing buffer {"connection_id":153575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:30:00] local.INFO: Packet analysis {"connection_id":153575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:30:00] local.INFO: Extracted packet for processing {"connection_id":153575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:30:00] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":48,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 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-08-11 15:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329160704001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786442335000,"timestamp_ms":1786442335000,"timestamp_seconds":1786442335,"priority":1,"record_length":96,"hex_timestamp":"0000019ff042c318"} 
[2026-08-11 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-08-11 15:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 15:30:00] 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-08-11 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-08-11 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-08-11 15:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329160704001,"66":26006,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329160704001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:30:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:30:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329160704001,"power":26006,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":153575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:30:00] local.INFO: GPS data processed {"connection_id":153575,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:30:00] local.INFO: Acknowledgment sent {"connection_id":153575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:30:10] local.INFO: TCP Data received {"connection_id":153576,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:30:10] local.INFO: Processing buffer {"connection_id":153576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:30:10] local.INFO: IMEI packet received {"connection_id":153576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":153576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:30:13] local.INFO: TCP Data received {"connection_id":153576,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:30:13] local.INFO: Processing buffer {"connection_id":153576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:30:13] local.INFO: IMEI packet received {"connection_id":153576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":153576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:30:14] local.INFO: TCP Data received {"connection_id":152623,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:30:14] local.INFO: Processing buffer {"connection_id":152623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:30:14] local.INFO: IMEI packet received {"connection_id":152623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":152623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:30:15] local.INFO: TCP Data received {"connection_id":153576,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:30:15] local.INFO: Processing buffer {"connection_id":153576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:30:15] local.INFO: IMEI packet received {"connection_id":153576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":153576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:30:16] local.INFO: TCP Data received {"connection_id":153576,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0430198012d1825c00721a080004a005f26..."} 
[2026-08-11 15:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0430198012d1825c00721a080004a005f26..."} 
[2026-08-11 15:30:16] local.INFO: Processing buffer {"connection_id":153576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0430198012d1825c00721a080004a005f26..."} 
[2026-08-11 15:30:16] local.INFO: Packet analysis {"connection_id":153576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff043"} 
[2026-08-11 15:30:16] local.INFO: Extracted packet for processing {"connection_id":153576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff043"} 
[2026-08-11 15:30:16] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119644288,"longitude_deg":75.6557248,"latitude_deg":11.9644288,"altitude":74,"angle":95,"satellites":38,"speed":1,"hex_longitude":"2d1825c0","hex_latitude":"0721a080","is_valid_coordinates":true} 
[2026-08-11 15:30: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-08-11 15:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329241600001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11691373426114560,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967910035456,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:16] 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-08-11 15:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786442351000,"timestamp_ms":1786442351000,"timestamp_seconds":1786442351,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0430198"} 
[2026-08-11 15:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:30: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-08-11 15:30: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-11 15:30:16] 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-08-11 15:30: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-08-11 15:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329241600001,"66":13624,"105":206,"83":41984,"24":1,"16":11691373426114560,"45":1740007967910035456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 15:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329241600001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:30:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 15:30:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11691373426114560,"km_value":11691373426114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967910035456,"description":"Unknown IO ID 45"} 
[2026-08-11 15:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329241600001,"power":13624,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1740007967910035456}} 
[2026-08-11 15:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":153576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:30:16] local.INFO: GPS data processed {"connection_id":153576,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:30:16] local.INFO: Acknowledgment sent {"connection_id":153576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:30:17] local.INFO: TCP Data received {"connection_id":153576,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0430580012d1826000721a058004a006f26..."} 
[2026-08-11 15:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0430580012d1826000721a058004a006f26..."} 
[2026-08-11 15:30:17] local.INFO: Processing buffer {"connection_id":153576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0430580012d1826000721a058004a006f26..."} 
[2026-08-11 15:30:17] local.INFO: Packet analysis {"connection_id":153576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff043"} 
[2026-08-11 15:30:17] local.INFO: Extracted packet for processing {"connection_id":153576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff043"} 
[2026-08-11 15:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119644248,"longitude_deg":75.6557312,"latitude_deg":11.9644248,"altitude":74,"angle":111,"satellites":38,"speed":2,"hex_longitude":"2d182600","hex_latitude":"0721a058","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329241856001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11691377721081856,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967910035456,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:17] 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-08-11 15:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786442352000,"timestamp_ms":1786442352000,"timestamp_seconds":1786442352,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0430580"} 
[2026-08-11 15:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:30:17] 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-08-11 15: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":56,"data_length":795,"current_offset":136} 
[2026-08-11 15:30:17] 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-08-11 15: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-08-11 15:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329241856001,"66":13624,"105":206,"83":41984,"24":2,"16":11691377721081856,"45":1740007967910035456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 15:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329241856001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:30:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 15:30:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11691377721081856,"km_value":11691377721081.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967910035456,"description":"Unknown IO ID 45"} 
[2026-08-11 15:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329241856001,"power":13624,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1740007967910035456}} 
[2026-08-11 15:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":153576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:30:17] local.INFO: GPS data processed {"connection_id":153576,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:30:17] local.INFO: Acknowledgment sent {"connection_id":153576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:30:19] local.INFO: TCP Data received {"connection_id":152623,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:30:19] local.INFO: Processing buffer {"connection_id":152623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:30:19] local.INFO: IMEI packet received {"connection_id":152623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":152623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:30:19] local.INFO: TCP Data received {"connection_id":152624,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:30:19] local.INFO: Processing buffer {"connection_id":152624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:30:19] local.INFO: IMEI packet received {"connection_id":152624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":152624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:30:23] local.INFO: TCP Data received {"connection_id":152623,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:30:23] local.INFO: Processing buffer {"connection_id":152623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:30:23] local.INFO: Packet analysis {"connection_id":152623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:30:23] local.INFO: Extracted packet for processing {"connection_id":152623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:30:23] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385320,"longitude_deg":76.2974528,"latitude_deg":9.938532,"altitude":8,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7fe8","is_valid_coordinates":true} 
[2026-08-11 15:30:23] 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-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786442140000,"timestamp_ms":1786442140000,"timestamp_seconds":1786442140,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03fc960"} 
[2026-08-11 15:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:30: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-08-11 15:30: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":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030670160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521790097708233129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5125377885284073482,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13452388,"corrected_to":0} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2220359689,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2147871876,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827396,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705536512,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968090112,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1999604747933843467,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:23] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,100,87,24,241,157,16,220,159,150,45,64,127,8,35,10,66,68,128,129,49,1,240,203,227,236,4,113,205,7,41,26,88,34,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":203,"original":13452388,"validated":0},{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:30:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511343,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":13580,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:30:23] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:30:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":152623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:30:23] local.INFO: GPS data processed {"connection_id":152623,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:30:23] local.INFO: Acknowledgment sent {"connection_id":152623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:30:24] local.INFO: TCP Data received {"connection_id":152623,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:30:24] local.INFO: Processing buffer {"connection_id":152623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff03fc960012d7a114005ec7fe8000800fc22..."} 
[2026-08-11 15:30:24] local.INFO: Packet analysis {"connection_id":152623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:30:24] local.INFO: Extracted packet for processing {"connection_id":152623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff03f"} 
[2026-08-11 15:30:24] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385320,"longitude_deg":76.2974528,"latitude_deg":9.938532,"altitude":8,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7fe8","is_valid_coordinates":true} 
[2026-08-11 15:30:24] 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-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786442140000,"timestamp_ms":1786442140000,"timestamp_seconds":1786442140,"priority":1,"record_length":96,"hex_timestamp":"0000019ff03fc960"} 
[2026-08-11 15:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:30: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-08-11 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030670160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521790097708233129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5125377885284073482,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13452388,"corrected_to":0} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2220359689,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2147871876,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827396,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705536512,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968090112,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1999604747933843467,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:24] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,100,87,24,241,157,16,220,159,150,45,64,127,8,35,10,66,68,128,129,49,1,240,203,227,236,4,113,205,7,41,26,88,34,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":203,"original":13452388,"validated":0},{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:30:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511343,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":13580,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:30:24] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:30:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":152623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:30:24] local.INFO: GPS data processed {"connection_id":152623,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:30:24] local.INFO: Acknowledgment sent {"connection_id":152623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:30:24] local.INFO: TCP Data received {"connection_id":152624,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:30:24] local.INFO: Processing buffer {"connection_id":152624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:30:24] local.INFO: IMEI packet received {"connection_id":152624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":152624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:30:25] local.INFO: TCP Data received {"connection_id":152624,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:30:25] local.INFO: Processing buffer {"connection_id":152624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:30:25] local.INFO: Packet analysis {"connection_id":152624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:30:25] local.INFO: Extracted packet for processing {"connection_id":152624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:30:25] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":48,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15:30: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-08-11 15:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329160704001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786442335000,"timestamp_ms":1786442335000,"timestamp_seconds":1786442335,"priority":1,"record_length":96,"hex_timestamp":"0000019ff042c318"} 
[2026-08-11 15:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:30: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 15:30:25] 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-08-11 15:30: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-08-11 15:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:30:25] 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-08-11 15:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329160704001,"66":26006,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329160704001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:30:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:30:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329160704001,"power":26006,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":152624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:30:25] local.INFO: GPS data processed {"connection_id":152624,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:30:25] local.INFO: Acknowledgment sent {"connection_id":152624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:30:48] local.INFO: TCP Data received {"connection_id":153576,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff043bd18012d18b34007216bb0004a009129..."} 
[2026-08-11 15:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff043bd18012d18b34007216bb0004a009129..."} 
[2026-08-11 15:30:48] local.INFO: Processing buffer {"connection_id":153576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff043bd18012d18b34007216bb0004a009129..."} 
[2026-08-11 15:30:48] local.INFO: Packet analysis {"connection_id":153576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff043"} 
[2026-08-11 15:30:48] local.INFO: Extracted packet for processing {"connection_id":153576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff043"} 
[2026-08-11 15:30:48] local.INFO: GPS Element Parsed {"raw_longitude":756593472,"raw_latitude":119630768,"longitude_deg":75.6593472,"latitude_deg":11.9630768,"altitude":74,"angle":145,"satellites":41,"speed":37,"hex_longitude":"2d18b340","hex_latitude":"07216bb0","is_valid_coordinates":true} 
[2026-08-11 15:30: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-08-11 15:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329253632001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11693258916757504,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778429302227924992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:48] 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-08-11 15:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786442399000,"timestamp_ms":1786442399000,"timestamp_seconds":1786442399,"priority":1,"record_length":96,"hex_timestamp":"0000019ff043bd18"} 
[2026-08-11 15:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:30:48] 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-08-11 15:30: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 15:30:48] 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-08-11 15:30: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-08-11 15:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329253632001,"66":14233,"103":206,"83":41984,"24":37,"16":11693258916757504,"45":1778429302227924992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329253632001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:30:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:30:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11693258916757504,"km_value":11693258916757.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778429302227924992,"description":"Unknown IO ID 45"} 
[2026-08-11 15:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329253632001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1778429302227924992}} 
[2026-08-11 15:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":153576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:30:48] local.INFO: GPS data processed {"connection_id":153576,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:30:48] local.INFO: Acknowledgment sent {"connection_id":153576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:30:56] local.INFO: TCP Data received {"connection_id":152624,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:30:56] local.INFO: Processing buffer {"connection_id":152624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:30:56] local.INFO: Packet analysis {"connection_id":152624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:30:56] local.INFO: Extracted packet for processing {"connection_id":152624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:30:56] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":48,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329160704001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786442335000,"timestamp_ms":1786442335000,"timestamp_seconds":1786442335,"priority":1,"record_length":96,"hex_timestamp":"0000019ff042c318"} 
[2026-08-11 15:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 15:30:56] 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-08-11 15: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-08-11 15:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:30:56] 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-08-11 15:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329160704001,"66":26006,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329160704001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:30:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:30:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329160704001,"power":26006,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":152624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:30:56] local.INFO: GPS data processed {"connection_id":152624,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:30:56] local.INFO: Acknowledgment sent {"connection_id":152624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:31:09] local.INFO: TCP Data received {"connection_id":154965,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:31:09] local.INFO: Processing buffer {"connection_id":154965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:31:09] local.INFO: IMEI packet received {"connection_id":154965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":154965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:31:10] local.INFO: TCP Data received {"connection_id":152625,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:31:10] local.INFO: Processing buffer {"connection_id":152625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:31:10] local.INFO: IMEI packet received {"connection_id":152625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":152625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:31:11] local.INFO: TCP Data received {"connection_id":152625,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:31:11] local.INFO: Processing buffer {"connection_id":152625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:31:11] local.INFO: IMEI packet received {"connection_id":152625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":152625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:31:13] local.INFO: TCP Data received {"connection_id":152625,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:31:13] local.INFO: Processing buffer {"connection_id":152625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:31:13] local.INFO: IMEI packet received {"connection_id":152625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":152625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:31:14] local.INFO: TCP Data received {"connection_id":154965,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:31:14] local.INFO: Processing buffer {"connection_id":154965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:31:14] local.INFO: IMEI packet received {"connection_id":154965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":154965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:31:15] local.INFO: TCP Data received {"connection_id":152625,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:31:15] local.INFO: Processing buffer {"connection_id":152625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:31:15] local.INFO: IMEI packet received {"connection_id":152625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":152625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:31:15] local.INFO: TCP Data received {"connection_id":154965,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:31:15] local.INFO: Processing buffer {"connection_id":154965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:31:15] local.INFO: Packet analysis {"connection_id":154965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:31:15] local.INFO: Extracted packet for processing {"connection_id":154965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:31:15] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385360,"longitude_deg":76.297408,"latitude_deg":9.938536,"altitude":8,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786442443000,"timestamp_ms":1786442443000,"timestamp_seconds":1786442443,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04468f8"} 
[2026-08-11 15:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:31:15] 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-08-11 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":220,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030671160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3180104312646795274,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2215116809,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826790390935977,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705667584,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968096256,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1963575950922743818,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,100,87,24,241,157,16,220,159,201,45,64,127,8,34,10,66,150,35,68,128,1,240,214,227,236,4,113,205,26,88,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:31:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511344,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":12428,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:31:15] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:31:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":12428,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:31:15] local.INFO: TCP Data received {"connection_id":152625,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff043dc58012d18c480072150d0004600a02b..."} 
[2026-08-11 15:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff043dc58012d18c480072150d0004600a02b..."} 
[2026-08-11 15:31:15] local.INFO: Processing buffer {"connection_id":152625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff043dc58012d18c480072150d0004600a02b..."} 
[2026-08-11 15:31:15] local.INFO: Packet analysis {"connection_id":152625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff043"} 
[2026-08-11 15:31:15] local.INFO: Extracted packet for processing {"connection_id":152625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff043"} 
[2026-08-11 15:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119623888,"longitude_deg":75.6597888,"latitude_deg":11.9623888,"altitude":70,"angle":160,"satellites":43,"speed":39,"hex_longitude":"2d18c480","hex_latitude":"072150d0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329254144001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11693654053748736,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779836677111132160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:15] 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-08-11 15:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786442407000,"timestamp_ms":1786442407000,"timestamp_seconds":1786442407,"priority":1,"record_length":96,"hex_timestamp":"0000019ff043dc58"} 
[2026-08-11 15:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:31:15] 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-08-11 15: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-11 15:31:15] 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-08-11 15: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-08-11 15:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329254144001,"66":14396,"103":206,"83":41984,"24":39,"16":11693654053748736,"45":1779836677111132160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329254144001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:31:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11693654053748736,"km_value":11693654053748.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779836677111132160,"description":"Unknown IO ID 45"} 
[2026-08-11 15:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329254144001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1779836677111132160}} 
[2026-08-11 15:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":154965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:31:15] local.INFO: GPS data processed {"connection_id":154965,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:31:15] local.INFO: Acknowledgment sent {"connection_id":154965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":152625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:31:16] local.INFO: GPS data processed {"connection_id":152625,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:31:16] local.INFO: Acknowledgment sent {"connection_id":152625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:31:24] local.INFO: TCP Data received {"connection_id":152255,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:31:24] local.INFO: Processing buffer {"connection_id":152255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:31:24] local.INFO: IMEI packet received {"connection_id":152255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":152255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:31:29] local.INFO: TCP Data received {"connection_id":152255,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:31:29] local.INFO: Processing buffer {"connection_id":152255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:31:29] local.INFO: IMEI packet received {"connection_id":152255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":152255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:31:30] local.INFO: TCP Data received {"connection_id":152255,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:31:30] local.INFO: Processing buffer {"connection_id":152255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:31:30] local.INFO: Packet analysis {"connection_id":152255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:31:30] local.INFO: Extracted packet for processing {"connection_id":152255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:31:30] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":48,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15:31: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-08-11 15:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329160704001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786442335000,"timestamp_ms":1786442335000,"timestamp_seconds":1786442335,"priority":1,"record_length":96,"hex_timestamp":"0000019ff042c318"} 
[2026-08-11 15:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:31: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 15:31:30] 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-08-11 15:31: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-08-11 15:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:31:30] 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-08-11 15:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329160704001,"66":26006,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329160704001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:31:30] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:31:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329160704001,"power":26006,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":152255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:31:30] local.INFO: GPS data processed {"connection_id":152255,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:31:30] local.INFO: Acknowledgment sent {"connection_id":152255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:31:34] local.INFO: TCP Data received {"connection_id":152254,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04246180100000000000000000000000000..."} 
[2026-08-11 15:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04246180100000000000000000000000000..."} 
[2026-08-11 15:31:34] local.INFO: Processing buffer {"connection_id":152254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04246180100000000000000000000000000..."} 
[2026-08-11 15:31:34] local.INFO: Packet analysis {"connection_id":152254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:31:34] local.INFO: Extracted packet for processing {"connection_id":152254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:31: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-08-11 15:31: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-08-11 15:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27619976902868992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786442303000,"timestamp_ms":1786442303000,"timestamp_seconds":1786442303,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0424618"} 
[2026-08-11 15:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:31: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 15:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15:31: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-08-11 15:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":152254,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 15:31:34] local.INFO: GPS data processed {"connection_id":152254,"processed":0,"errors":0,"total":1} 
[2026-08-11 15:31:34] local.INFO: Acknowledgment sent {"connection_id":152254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:31:35] local.INFO: TCP Data received {"connection_id":152255,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:31:35] local.INFO: Processing buffer {"connection_id":152255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:31:35] local.INFO: Packet analysis {"connection_id":152255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:31:35] local.INFO: Extracted packet for processing {"connection_id":152255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:31:35] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":48,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329160704001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786442335000,"timestamp_ms":1786442335000,"timestamp_seconds":1786442335,"priority":1,"record_length":96,"hex_timestamp":"0000019ff042c318"} 
[2026-08-11 15:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 15:31:35] 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-08-11 15: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-08-11 15:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:31:35] 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-08-11 15:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329160704001,"66":26006,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329160704001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:31:35] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329160704001,"power":26006,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":152255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:31:35] local.INFO: GPS data processed {"connection_id":152255,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:31:35] local.INFO: Acknowledgment sent {"connection_id":152255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:31:35] local.INFO: TCP Data received {"connection_id":152254,"ip":"42.106.6.20","data_length":1340,"data_hex":"000000000000030f8e0a0000019ff04298200100000000000000000000000000..."} 
[2026-08-11 15:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152254,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019ff04298200100000000000000000000000000..."} 
[2026-08-11 15:31:35] local.INFO: Processing buffer {"connection_id":152254,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019ff04298200100000000000000000000000000..."} 
[2026-08-11 15:31:35] local.INFO: Packet analysis {"connection_id":152254,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:31:35] local.INFO: Extracted packet for processing {"connection_id":152254,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:31:35] 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-08-11 15: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-08-11 15:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27619976902868992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,147,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786442324000,"timestamp_ms":1786442324000,"timestamp_seconds":1786442324,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0429820"} 
[2026-08-11 15:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-11 15:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":152254,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 15:31:35] local.INFO: GPS data processed {"connection_id":152254,"processed":0,"errors":0,"total":1} 
[2026-08-11 15:31:35] local.INFO: Acknowledgment sent {"connection_id":152254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:31:35] local.INFO: Packet analysis {"connection_id":152254,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:31:35] local.INFO: Incomplete packet, waiting for more data {"connection_id":152254,"needed":795,"available":545} 
[2026-08-11 15:31:36] local.INFO: TCP Data received {"connection_id":152254,"ip":"42.106.6.20","data_length":250,"data_hex":"00001000622039000000000000000000001f4001000000000000000000000000..."} 
[2026-08-11 15:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152254,"packet_length":250,"packet_hex":"00001000622039000000000000000000001f4001000000000000000000000000..."} 
[2026-08-11 15:31:36] local.INFO: Processing buffer {"connection_id":152254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff042ea280100000000000000000000000000..."} 
[2026-08-11 15:31:36] local.INFO: Packet analysis {"connection_id":152254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:31:36] local.INFO: Extracted packet for processing {"connection_id":152254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:31:36] 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-08-11 15: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-08-11 15:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27619976902868992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786442345000,"timestamp_ms":1786442345000,"timestamp_seconds":1786442345,"priority":1,"record_length":96,"hex_timestamp":"0000019ff042ea28"} 
[2026-08-11 15:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:31:36] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 15:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":152254,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 15:31:36] local.INFO: GPS data processed {"connection_id":152254,"processed":0,"errors":0,"total":1} 
[2026-08-11 15:31:36] local.INFO: Acknowledgment sent {"connection_id":152254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:31:46] local.INFO: TCP Data received {"connection_id":152625,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0449bc0012d1915400720c5280030007129..."} 
[2026-08-11 15:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0449bc0012d1915400720c5280030007129..."} 
[2026-08-11 15:31:46] local.INFO: Processing buffer {"connection_id":152625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0449bc0012d1915400720c5280030007129..."} 
[2026-08-11 15:31:46] local.INFO: Packet analysis {"connection_id":152625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:31:46] local.INFO: Extracted packet for processing {"connection_id":152625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756618560,"raw_latitude":119588136,"longitude_deg":75.661856,"latitude_deg":11.9588136,"altitude":48,"angle":113,"satellites":41,"speed":53,"hex_longitude":"2d191540","hex_latitude":"0720c528","is_valid_coordinates":true} 
[2026-08-11 15:31: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-08-11 15:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329267200001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11695775767592960,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800736194121893888,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:46] 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-08-11 15:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786442456000,"timestamp_ms":1786442456000,"timestamp_seconds":1786442456,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0449bc0"} 
[2026-08-11 15:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:31:46] 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-08-11 15:31: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-11 15:31:46] 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-08-11 15:31: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-08-11 15:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329267200001,"66":14461,"103":206,"83":41984,"24":53,"16":11695775767592960,"45":1800736194121893888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329267200001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:31:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:31:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11695775767592960,"km_value":11695775767592.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800736194121893888,"description":"Unknown IO ID 45"} 
[2026-08-11 15:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329267200001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":53,"odometer":null,"unknown_45":1800736194121893888}} 
[2026-08-11 15:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":152625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:31:47] local.INFO: GPS data processed {"connection_id":152625,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:31:47] local.INFO: Acknowledgment sent {"connection_id":152625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:31:47] local.INFO: TCP Data received {"connection_id":154965,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:31:47] local.INFO: Processing buffer {"connection_id":154965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:31:47] local.INFO: Packet analysis {"connection_id":154965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:31:47] local.INFO: Extracted packet for processing {"connection_id":154965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:31:47] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385360,"longitude_deg":76.297408,"latitude_deg":9.938536,"altitude":8,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786442443000,"timestamp_ms":1786442443000,"timestamp_seconds":1786442443,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04468f8"} 
[2026-08-11 15:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:31:47] 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-08-11 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":220,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030671160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3180104312646795274,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2215116809,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826790390935977,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705667584,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968096256,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1963575950922743818,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-11 15:31:47] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,100,87,24,241,157,16,220,159,201,45,64,127,8,34,10,66,150,35,68,128,1,240,214,227,236,4,113,205,26,88,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:31:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511344,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":12428,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:31:47] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:31:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":12428,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":154965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:31:47] local.INFO: GPS data processed {"connection_id":154965,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:31:47] local.INFO: Acknowledgment sent {"connection_id":154965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:32:09] local.INFO: TCP Data received {"connection_id":152256,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:32:09] local.INFO: Processing buffer {"connection_id":152256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:32:09] local.INFO: IMEI packet received {"connection_id":152256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":152256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:32:14] local.INFO: TCP Data received {"connection_id":152256,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:32:14] local.INFO: Processing buffer {"connection_id":152256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:32:14] local.INFO: IMEI packet received {"connection_id":152256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":152256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:32:15] local.INFO: TCP Data received {"connection_id":152256,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:32:15] local.INFO: Processing buffer {"connection_id":152256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:32:15] local.INFO: Packet analysis {"connection_id":152256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:32:15] local.INFO: Extracted packet for processing {"connection_id":152256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:32:15] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385360,"longitude_deg":76.297408,"latitude_deg":9.938536,"altitude":8,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786442443000,"timestamp_ms":1786442443000,"timestamp_seconds":1786442443,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04468f8"} 
[2026-08-11 15:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:32:15] 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-08-11 15: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":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":220,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030671160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3180104312646795274,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2215116809,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826790390935977,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705667584,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968096256,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1963575950922743818,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:15] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,100,87,24,241,157,16,220,159,201,45,64,127,8,34,10,66,150,35,68,128,1,240,214,227,236,4,113,205,26,88,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:32:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511344,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":12428,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:32:15] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:32:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":12428,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":152256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:32:15] local.INFO: GPS data processed {"connection_id":152256,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:32:15] local.INFO: Acknowledgment sent {"connection_id":152256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:32:15] local.INFO: TCP Data received {"connection_id":153577,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:32:15] local.INFO: Processing buffer {"connection_id":153577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:32:15] local.INFO: IMEI packet received {"connection_id":153577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":153577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:32:17] local.INFO: TCP Data received {"connection_id":153577,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:32:17] local.INFO: Processing buffer {"connection_id":153577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:32:17] local.INFO: IMEI packet received {"connection_id":153577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":153577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:32:18] local.INFO: TCP Data received {"connection_id":153577,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff044b718012d1937800720b688002900792a..."} 
[2026-08-11 15:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff044b718012d1937800720b688002900792a..."} 
[2026-08-11 15:32:18] local.INFO: Processing buffer {"connection_id":153577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff044b718012d1937800720b688002900792a..."} 
[2026-08-11 15:32:18] local.INFO: Packet analysis {"connection_id":153577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:32:18] local.INFO: Extracted packet for processing {"connection_id":153577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:32:18] local.INFO: GPS Element Parsed {"raw_longitude":756627328,"raw_latitude":119584392,"longitude_deg":75.6627328,"latitude_deg":11.9584392,"altitude":41,"angle":121,"satellites":42,"speed":43,"hex_longitude":"2d193780","hex_latitude":"0720b688","is_valid_coordinates":true} 
[2026-08-11 15:32: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-08-11 15:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329268736001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11696231034126336,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807421224817862656,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:18] 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-08-11 15:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786442463000,"timestamp_ms":1786442463000,"timestamp_seconds":1786442463,"priority":1,"record_length":96,"hex_timestamp":"0000019ff044b718"} 
[2026-08-11 15:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:32:18] 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-08-11 15:32: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 15:32:18] 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-08-11 15:32: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-08-11 15:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329268736001,"66":14080,"103":206,"83":41984,"24":43,"16":11696231034126336,"45":1807421224817862656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329268736001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:32:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:32:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11696231034126336,"km_value":11696231034126.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807421224817862656,"description":"Unknown IO ID 45"} 
[2026-08-11 15:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329268736001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1807421224817862656}} 
[2026-08-11 15:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":153577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:32:18] local.INFO: GPS data processed {"connection_id":153577,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:32:18] local.INFO: Acknowledgment sent {"connection_id":153577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:32:19] local.INFO: TCP Data received {"connection_id":153578,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:32:19] local.INFO: Processing buffer {"connection_id":153578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:32:19] local.INFO: IMEI packet received {"connection_id":153578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":153578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:32:21] local.INFO: TCP Data received {"connection_id":153577,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff044caa0012d1948c00720ad900025006d2b..."} 
[2026-08-11 15:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff044caa0012d1948c00720ad900025006d2b..."} 
[2026-08-11 15:32:21] local.INFO: Processing buffer {"connection_id":153577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff044caa0012d1948c00720ad900025006d2b..."} 
[2026-08-11 15:32:21] local.INFO: Packet analysis {"connection_id":153577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:32:21] local.INFO: Extracted packet for processing {"connection_id":153577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:32:21] local.INFO: GPS Element Parsed {"raw_longitude":756631744,"raw_latitude":119582096,"longitude_deg":75.6631744,"latitude_deg":11.9582096,"altitude":37,"angle":109,"satellites":43,"speed":37,"hex_longitude":"2d1948c0","hex_latitude":"0720ad90","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329270528001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11696467257327616,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817061742769244160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:21] 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-08-11 15:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786442468000,"timestamp_ms":1786442468000,"timestamp_seconds":1786442468,"priority":1,"record_length":96,"hex_timestamp":"0000019ff044caa0"} 
[2026-08-11 15:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:32:21] 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-08-11 15: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-11 15:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:21] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4031005160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:21] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2354249728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:21] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:21] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3945267257,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-11 15:32:21] local.WARNING: Large IO value detected {"io_id":73,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:21] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:21] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,141,159,155,45,64,197,48,41,10,66,132,128,211,54,42,140,120,1,240,92,227,32,4,113,205,37,73,218,152,239,52,2,7,58,21],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-11 15:32:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954494576853450752,"timestamp_seconds":2954494576853451.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":153577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":153577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":153577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329270528001,"66":14080,"103":206,"83":41984,"24":37,"16":11696467257327616,"45":1817061742769244160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329270528001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:32:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:32:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11696467257327616,"km_value":11696467257327.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817061742769244160,"description":"Unknown IO ID 45"} 
[2026-08-11 15:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329270528001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1817061742769244160}} 
[2026-08-11 15:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":153577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:32:21] local.INFO: GPS data processed {"connection_id":153577,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:32:21] local.INFO: Acknowledgment sent {"connection_id":153577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:32:22] local.INFO: TCP Data received {"connection_id":152626,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:32:22] local.INFO: Processing buffer {"connection_id":152626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:32:22] local.INFO: IMEI packet received {"connection_id":152626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":152626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:32:22] local.INFO: TCP Data received {"connection_id":152254,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0433c300100000000000000000000000000..."} 
[2026-08-11 15:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0433c300100000000000000000000000000..."} 
[2026-08-11 15:32:22] local.INFO: Processing buffer {"connection_id":152254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0433c300100000000000000000000000000..."} 
[2026-08-11 15:32:22] local.INFO: Packet analysis {"connection_id":152254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff043"} 
[2026-08-11 15:32:22] local.INFO: Extracted packet for processing {"connection_id":152254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff043"} 
[2026-08-11 15:32:22] 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-08-11 15:32: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-08-11 15:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27619976902868992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:22] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,16,94,24],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-11 15:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786442366000,"timestamp_ms":1786442366000,"timestamp_seconds":1786442366,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0433c30"} 
[2026-08-11 15:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:32:22] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:32: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":103,"data_length":795,"current_offset":136} 
[2026-08-11 15:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15:32: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-08-11 15:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":152254,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 15:32:22] local.INFO: GPS data processed {"connection_id":152254,"processed":0,"errors":0,"total":1} 
[2026-08-11 15:32:22] local.INFO: Acknowledgment sent {"connection_id":152254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:32:24] local.INFO: TCP Data received {"connection_id":153578,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:32:24] local.INFO: Processing buffer {"connection_id":153578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:32:24] local.INFO: IMEI packet received {"connection_id":153578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":153578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:32:27] local.INFO: TCP Data received {"connection_id":152626,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:32:27] local.INFO: Processing buffer {"connection_id":152626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:32:27] local.INFO: IMEI packet received {"connection_id":152626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":152626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:32:27] local.INFO: TCP Data received {"connection_id":153578,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:32:27] local.INFO: Processing buffer {"connection_id":153578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:32:27] local.INFO: Packet analysis {"connection_id":153578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:32:27] local.INFO: Extracted packet for processing {"connection_id":153578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:32:27] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":48,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 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-08-11 15:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329160704001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786442335000,"timestamp_ms":1786442335000,"timestamp_seconds":1786442335,"priority":1,"record_length":96,"hex_timestamp":"0000019ff042c318"} 
[2026-08-11 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-08-11 15:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 15:32:27] 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-08-11 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-08-11 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-08-11 15:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:32:27] 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-08-11 15:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329160704001,"66":26006,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329160704001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:32:27] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:32:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329160704001,"power":26006,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":153578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:32:27] local.INFO: GPS data processed {"connection_id":153578,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:32:27] local.INFO: Acknowledgment sent {"connection_id":153578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:32:28] local.INFO: TCP Data received {"connection_id":152626,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0438e380100000000000000000000000000..."} 
[2026-08-11 15:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0438e380100000000000000000000000000..."} 
[2026-08-11 15:32:28] local.INFO: Processing buffer {"connection_id":152626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0438e380100000000000000000000000000..."} 
[2026-08-11 15:32:28] local.INFO: Packet analysis {"connection_id":152626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff043"} 
[2026-08-11 15:32:28] local.INFO: Extracted packet for processing {"connection_id":152626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff043"} 
[2026-08-11 15:32: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-08-11 15:32: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-08-11 15:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27619976902868992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786442387000,"timestamp_ms":1786442387000,"timestamp_seconds":1786442387,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0438e38"} 
[2026-08-11 15:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:32: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":114,"data_length":795,"current_offset":136} 
[2026-08-11 15:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15:32: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-08-11 15:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":152626,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 15:32:28] local.INFO: GPS data processed {"connection_id":152626,"processed":0,"errors":0,"total":1} 
[2026-08-11 15:32:28] local.INFO: Acknowledgment sent {"connection_id":152626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:32:46] local.INFO: TCP Data received {"connection_id":152256,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:32:46] local.INFO: Processing buffer {"connection_id":152256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:32:46] local.INFO: Packet analysis {"connection_id":152256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:32:46] local.INFO: Extracted packet for processing {"connection_id":152256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:32:46] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385360,"longitude_deg":76.297408,"latitude_deg":9.938536,"altitude":8,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-08-11 15:32: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-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786442443000,"timestamp_ms":1786442443000,"timestamp_seconds":1786442443,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04468f8"} 
[2026-08-11 15:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:32:46] 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-08-11 15:32: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":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":220,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030671160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3180104312646795274,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2215116809,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826790390935977,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705667584,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968096256,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1963575950922743818,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:46] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,100,87,24,241,157,16,220,159,201,45,64,127,8,34,10,66,150,35,68,128,1,240,214,227,236,4,113,205,26,88,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:32:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511344,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":12428,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:32:46] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:32:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":12428,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":152256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:32:46] local.INFO: GPS data processed {"connection_id":152256,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:32:46] local.INFO: Acknowledgment sent {"connection_id":152256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:32:51] local.INFO: TCP Data received {"connection_id":153577,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff045a948012d19d9c00720b258002d004a2a..."} 
[2026-08-11 15:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff045a948012d19d9c00720b258002d004a2a..."} 
[2026-08-11 15:32:51] local.INFO: Processing buffer {"connection_id":153577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff045a948012d19d9c00720b258002d004a2a..."} 
[2026-08-11 15:32:51] local.INFO: Packet analysis {"connection_id":153577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff045"} 
[2026-08-11 15:32:51] local.INFO: Extracted packet for processing {"connection_id":153577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff045"} 
[2026-08-11 15:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756668864,"raw_latitude":119583320,"longitude_deg":75.6668864,"latitude_deg":11.958332,"altitude":45,"angle":74,"satellites":42,"speed":22,"hex_longitude":"2d19d9c0","hex_latitude":"0720b258","is_valid_coordinates":true} 
[2026-08-11 15:32: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-08-11 15:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329286144001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11698352747970560,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862238476530982912,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32: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-08-11 15:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786442525000,"timestamp_ms":1786442525000,"timestamp_seconds":1786442525,"priority":1,"record_length":96,"hex_timestamp":"0000019ff045a948"} 
[2026-08-11 15:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:32:51] 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-08-11 15:32: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-11 15:32:51] 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-08-11 15:32: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-08-11 15:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329286144001,"66":14559,"103":206,"83":41984,"24":22,"16":11698352747970560,"45":1862238476530982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329286144001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:32:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11698352747970560,"km_value":11698352747970.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862238476530982912,"description":"Unknown IO ID 45"} 
[2026-08-11 15:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329286144001,"power":14559,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1862238476530982912}} 
[2026-08-11 15:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":153577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:32:52] local.INFO: GPS data processed {"connection_id":153577,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:32:52] local.INFO: Acknowledgment sent {"connection_id":153577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:32:59] local.INFO: TCP Data received {"connection_id":152626,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff043e0400100000000000000000000000000..."} 
[2026-08-11 15:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff043e0400100000000000000000000000000..."} 
[2026-08-11 15:32:59] local.INFO: Processing buffer {"connection_id":152626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff043e0400100000000000000000000000000..."} 
[2026-08-11 15:32:59] local.INFO: Packet analysis {"connection_id":152626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff043"} 
[2026-08-11 15:32:59] local.INFO: Extracted packet for processing {"connection_id":152626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff043"} 
[2026-08-11 15:32: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-08-11 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-08-11 15:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27619976902868992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:32:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786442408000,"timestamp_ms":1786442408000,"timestamp_seconds":1786442408,"priority":1,"record_length":96,"hex_timestamp":"0000019ff043e040"} 
[2026-08-11 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-08-11 15:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 15:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 15:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":152626,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 15:32:59] local.INFO: GPS data processed {"connection_id":152626,"processed":0,"errors":0,"total":1} 
[2026-08-11 15:32:59] local.INFO: Acknowledgment sent {"connection_id":152626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:33:04] local.INFO: TCP Data received {"connection_id":153578,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:33:04] local.INFO: Processing buffer {"connection_id":153578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:33:04] local.INFO: Packet analysis {"connection_id":153578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:33:04] local.INFO: Extracted packet for processing {"connection_id":153578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:33:04] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":48,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329160704001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786442335000,"timestamp_ms":1786442335000,"timestamp_seconds":1786442335,"priority":1,"record_length":96,"hex_timestamp":"0000019ff042c318"} 
[2026-08-11 15:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 15:33: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-08-11 15: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-08-11 15:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:33: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-08-11 15:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329160704001,"66":26006,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329160704001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:33:04] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329160704001,"power":26006,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":153578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:33:04] local.INFO: GPS data processed {"connection_id":153578,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:33:04] local.INFO: Acknowledgment sent {"connection_id":153578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:33:08] local.INFO: TCP Data received {"connection_id":153579,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:33:08] local.INFO: Processing buffer {"connection_id":153579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:33:08] local.INFO: IMEI packet received {"connection_id":153579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":153579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:33:09] local.INFO: TCP Data received {"connection_id":154966,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:33:09] local.INFO: Processing buffer {"connection_id":154966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:33:09] local.INFO: IMEI packet received {"connection_id":154966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":154966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:33:10] local.INFO: TCP Data received {"connection_id":154966,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:33:10] local.INFO: Processing buffer {"connection_id":154966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:33:10] local.INFO: IMEI packet received {"connection_id":154966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":154966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:33:14] local.INFO: TCP Data received {"connection_id":153579,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:33:14] local.INFO: Processing buffer {"connection_id":153579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:33:14] local.INFO: IMEI packet received {"connection_id":153579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":153579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:33:14] local.INFO: TCP Data received {"connection_id":153579,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:33:14] local.INFO: Processing buffer {"connection_id":153579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:33:14] local.INFO: Packet analysis {"connection_id":153579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:33:14] local.INFO: Extracted packet for processing {"connection_id":153579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:33:14] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385360,"longitude_deg":76.297408,"latitude_deg":9.938536,"altitude":8,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786442443000,"timestamp_ms":1786442443000,"timestamp_seconds":1786442443,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04468f8"} 
[2026-08-11 15:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:33:14] 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-08-11 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":220,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030671160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3180104312646795274,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2215116809,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826790390935977,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705667584,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968096256,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1963575950922743818,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:14] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,100,87,24,241,157,16,220,159,201,45,64,127,8,34,10,66,150,35,68,128,1,240,214,227,236,4,113,205,26,88,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:33:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511344,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:33:14] 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-08-11 15:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":12428,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:33:14] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:33:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":12428,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":153579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:33:14] local.INFO: GPS data processed {"connection_id":153579,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:33:14] local.INFO: Acknowledgment sent {"connection_id":153579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:33:15] local.INFO: TCP Data received {"connection_id":154966,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:33:15] local.INFO: Processing buffer {"connection_id":154966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:33:15] local.INFO: IMEI packet received {"connection_id":154966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":154966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:33:15] local.INFO: TCP Data received {"connection_id":154966,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff045ad30012d19dc800720b298002e00582b..."} 
[2026-08-11 15:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff045ad30012d19dc800720b298002e00582b..."} 
[2026-08-11 15:33:15] local.INFO: Processing buffer {"connection_id":154966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff045ad30012d19dc800720b298002e00582b..."} 
[2026-08-11 15:33:15] local.INFO: Packet analysis {"connection_id":154966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff045"} 
[2026-08-11 15:33:15] local.INFO: Extracted packet for processing {"connection_id":154966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff045"} 
[2026-08-11 15:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756669568,"raw_latitude":119583384,"longitude_deg":75.6669568,"latitude_deg":11.9583384,"altitude":46,"angle":88,"satellites":43,"speed":25,"hex_longitude":"2d19dc80","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329286400001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11698387107708928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862731057740273664,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:15] 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-08-11 15:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786442526000,"timestamp_ms":1786442526000,"timestamp_seconds":1786442526,"priority":1,"record_length":96,"hex_timestamp":"0000019ff045ad30"} 
[2026-08-11 15:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:33:15] 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-08-11 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-11 15:33:15] 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-08-11 15: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-08-11 15:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329286400001,"66":14559,"103":206,"83":41984,"24":25,"16":11698387107708928,"45":1862731057740273664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329286400001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:33:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11698387107708928,"km_value":11698387107708.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862731057740273664,"description":"Unknown IO ID 45"} 
[2026-08-11 15:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329286400001,"power":14559,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1862731057740273664}} 
[2026-08-11 15:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":154966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:33:16] local.INFO: GPS data processed {"connection_id":154966,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:33:16] local.INFO: Acknowledgment sent {"connection_id":154966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:33:19] local.INFO: TCP Data received {"connection_id":152627,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:33:19] local.INFO: Processing buffer {"connection_id":152627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:33:19] local.INFO: IMEI packet received {"connection_id":152627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":152627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:33:24] local.INFO: TCP Data received {"connection_id":152627,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:33:24] local.INFO: Processing buffer {"connection_id":152627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:33:24] local.INFO: IMEI packet received {"connection_id":152627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":152627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:33:25] local.INFO: TCP Data received {"connection_id":152627,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:33:25] local.INFO: Processing buffer {"connection_id":152627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:33:25] local.INFO: Packet analysis {"connection_id":152627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:33:25] local.INFO: Extracted packet for processing {"connection_id":152627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:33:25] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":48,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15:33: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-08-11 15:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329160704001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786442335000,"timestamp_ms":1786442335000,"timestamp_seconds":1786442335,"priority":1,"record_length":96,"hex_timestamp":"0000019ff042c318"} 
[2026-08-11 15:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:33: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 15:33:25] 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-08-11 15:33: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-08-11 15:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:33:25] 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-08-11 15:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329160704001,"66":26006,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329160704001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:33:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:33:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329160704001,"power":26006,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":152627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:33:25] local.INFO: GPS data processed {"connection_id":152627,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:33:25] local.INFO: Acknowledgment sent {"connection_id":152627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:33:30] local.INFO: TCP Data received {"connection_id":152626,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04432480100000000000000000000000000..."} 
[2026-08-11 15:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04432480100000000000000000000000000..."} 
[2026-08-11 15:33:30] local.INFO: Processing buffer {"connection_id":152626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04432480100000000000000000000000000..."} 
[2026-08-11 15:33:30] local.INFO: Packet analysis {"connection_id":152626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:33:30] local.INFO: Extracted packet for processing {"connection_id":152626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:33:30] 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-08-11 15:33: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-08-11 15:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27619976902868992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786442429000,"timestamp_ms":1786442429000,"timestamp_seconds":1786442429,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0443248"} 
[2026-08-11 15:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:33:30] 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-08-11 15:33: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":71,"data_length":795,"current_offset":136} 
[2026-08-11 15:33:30] 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-08-11 15:33: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-08-11 15:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":152626,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 15:33:30] local.INFO: GPS data processed {"connection_id":152626,"processed":0,"errors":0,"total":1} 
[2026-08-11 15:33:30] local.INFO: Acknowledgment sent {"connection_id":152626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:33:46] local.INFO: TCP Data received {"connection_id":153579,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:33:46] local.INFO: Processing buffer {"connection_id":153579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:33:46] local.INFO: Packet analysis {"connection_id":153579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:33:46] local.INFO: Extracted packet for processing {"connection_id":153579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:33:46] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385360,"longitude_deg":76.297408,"latitude_deg":9.938536,"altitude":8,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786442443000,"timestamp_ms":1786442443000,"timestamp_seconds":1786442443,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04468f8"} 
[2026-08-11 15:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:33:46] 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-08-11 15: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":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":220,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030671160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3180104312646795274,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2215116809,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826790390935977,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705667584,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968096256,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1963575950922743818,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:46] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,100,87,24,241,157,16,220,159,201,45,64,127,8,34,10,66,150,35,68,128,1,240,214,227,236,4,113,205,26,88,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:33:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511344,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:33:46] 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-08-11 15:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":12428,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:33:46] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:33:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":12428,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":153579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:33:46] local.INFO: GPS data processed {"connection_id":153579,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:33:46] local.INFO: Acknowledgment sent {"connection_id":153579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:33:47] local.INFO: TCP Data received {"connection_id":154966,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff045c0b8012d19e9400720b298002f004d2c..."} 
[2026-08-11 15:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff045c0b8012d19e9400720b298002f004d2c..."} 
[2026-08-11 15:33:47] local.INFO: Processing buffer {"connection_id":154966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff045c0b8012d19e9400720b298002f004d2c..."} 
[2026-08-11 15:33:47] local.INFO: Packet analysis {"connection_id":154966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff045"} 
[2026-08-11 15:33:47] local.INFO: Extracted packet for processing {"connection_id":154966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff045"} 
[2026-08-11 15:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756672832,"raw_latitude":119583384,"longitude_deg":75.6672832,"latitude_deg":11.9583384,"altitude":47,"angle":77,"satellites":44,"speed":26,"hex_longitude":"2d19e940","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329286656001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11698541726531584,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863505113926244352,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:47] 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-08-11 15:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786442531000,"timestamp_ms":1786442531000,"timestamp_seconds":1786442531,"priority":1,"record_length":96,"hex_timestamp":"0000019ff045c0b8"} 
[2026-08-11 15:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:33:47] 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-08-11 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-11 15:33:47] 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-08-11 15: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-08-11 15:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329286656001,"66":14461,"103":206,"83":41984,"24":26,"16":11698541726531584,"45":1863505113926244352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329286656001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:33:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11698541726531584,"km_value":11698541726531.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863505113926244352,"description":"Unknown IO ID 45"} 
[2026-08-11 15:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329286656001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1863505113926244352}} 
[2026-08-11 15:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":154966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:33:47] local.INFO: GPS data processed {"connection_id":154966,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:33:47] local.INFO: Acknowledgment sent {"connection_id":154966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:33:56] local.INFO: TCP Data received {"connection_id":152627,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:33:56] local.INFO: Processing buffer {"connection_id":152627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:33:56] local.INFO: Packet analysis {"connection_id":152627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:33:56] local.INFO: Extracted packet for processing {"connection_id":152627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:33:56] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":48,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329160704001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786442335000,"timestamp_ms":1786442335000,"timestamp_seconds":1786442335,"priority":1,"record_length":96,"hex_timestamp":"0000019ff042c318"} 
[2026-08-11 15:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 15:33:56] 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-08-11 15: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-08-11 15:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:33:56] 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-08-11 15:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329160704001,"66":26006,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329160704001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:33:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:33:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329160704001,"power":26006,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":152627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:33:56] local.INFO: GPS data processed {"connection_id":152627,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:33:56] local.INFO: Acknowledgment sent {"connection_id":152627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:34:01] local.INFO: TCP Data received {"connection_id":152626,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04484500100000000000000000000000000..."} 
[2026-08-11 15:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04484500100000000000000000000000000..."} 
[2026-08-11 15:34:01] local.INFO: Processing buffer {"connection_id":152626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04484500100000000000000000000000000..."} 
[2026-08-11 15:34:01] local.INFO: Packet analysis {"connection_id":152626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:34:01] local.INFO: Extracted packet for processing {"connection_id":152626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:34:01] 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-08-11 15:34: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-08-11 15:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27619976902868992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786442450000,"timestamp_ms":1786442450000,"timestamp_seconds":1786442450,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0448450"} 
[2026-08-11 15:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:34:01] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:34: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":114,"data_length":795,"current_offset":136} 
[2026-08-11 15:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15:34: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-08-11 15:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":152626,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 15:34:01] local.INFO: GPS data processed {"connection_id":152626,"processed":0,"errors":0,"total":1} 
[2026-08-11 15:34:01] local.INFO: Acknowledgment sent {"connection_id":152626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:34:08] local.INFO: TCP Data received {"connection_id":152257,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:34:08] local.INFO: Processing buffer {"connection_id":152257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:34:08] local.INFO: IMEI packet received {"connection_id":152257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":152257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:34:10] local.INFO: TCP Data received {"connection_id":153580,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:34:10] local.INFO: Processing buffer {"connection_id":153580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:34:10] local.INFO: IMEI packet received {"connection_id":153580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":153580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:34:11] local.INFO: TCP Data received {"connection_id":153580,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:34:11] local.INFO: Processing buffer {"connection_id":153580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:34:11] local.INFO: IMEI packet received {"connection_id":153580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":153580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:34:14] local.INFO: TCP Data received {"connection_id":152257,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:34:14] local.INFO: Processing buffer {"connection_id":152257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:34:14] local.INFO: IMEI packet received {"connection_id":152257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":152257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:34:15] local.INFO: TCP Data received {"connection_id":152257,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:34:15] local.INFO: Processing buffer {"connection_id":152257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:34:15] local.INFO: Packet analysis {"connection_id":152257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:34:15] local.INFO: Extracted packet for processing {"connection_id":152257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:34:15] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385360,"longitude_deg":76.297408,"latitude_deg":9.938536,"altitude":8,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-08-11 15:34: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-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786442443000,"timestamp_ms":1786442443000,"timestamp_seconds":1786442443,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04468f8"} 
[2026-08-11 15:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:34:15] 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-08-11 15:34: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":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":220,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030671160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3180104312646795274,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2215116809,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826790390935977,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705667584,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968096256,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1963575950922743818,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:15] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,100,87,24,241,157,16,220,159,201,45,64,127,8,34,10,66,150,35,68,128,1,240,214,227,236,4,113,205,26,88,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:34:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511344,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:34:15] 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-08-11 15:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":12428,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:34:15] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:34:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":12428,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":152257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:34:15] local.INFO: GPS data processed {"connection_id":152257,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:34:15] local.INFO: Acknowledgment sent {"connection_id":152257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:34:16] local.INFO: TCP Data received {"connection_id":153580,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:34:16] local.INFO: Processing buffer {"connection_id":153580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:34:16] local.INFO: IMEI packet received {"connection_id":153580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":153580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:34:19] local.INFO: TCP Data received {"connection_id":152258,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:34:19] local.INFO: Processing buffer {"connection_id":152258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:34:19] local.INFO: IMEI packet received {"connection_id":152258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":152258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:34:24] local.INFO: TCP Data received {"connection_id":152258,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:34:24] local.INFO: Processing buffer {"connection_id":152258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:34:24] local.INFO: IMEI packet received {"connection_id":152258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":152258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:34:25] local.INFO: TCP Data received {"connection_id":152258,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:34:25] local.INFO: Processing buffer {"connection_id":152258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff042c318012d9cd70005b36170001e00a330..."} 
[2026-08-11 15:34:25] local.INFO: Packet analysis {"connection_id":152258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:34:25] local.INFO: Extracted packet for processing {"connection_id":152258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff042"} 
[2026-08-11 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":48,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329160704001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786442335000,"timestamp_ms":1786442335000,"timestamp_seconds":1786442335,"priority":1,"record_length":96,"hex_timestamp":"0000019ff042c318"} 
[2026-08-11 15:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 15:34:25] 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-08-11 15: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-08-11 15:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:34:25] 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-08-11 15:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329160704001,"66":26006,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329160704001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:34:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:34:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329160704001,"power":26006,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":152258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:34:25] local.INFO: GPS data processed {"connection_id":152258,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:34:25] local.INFO: Acknowledgment sent {"connection_id":152258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:34:30] local.INFO: TCP Data received {"connection_id":153580,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff046d610012d1a6f4007210cb8003b00402b..."} 
[2026-08-11 15:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff046d610012d1a6f4007210cb8003b00402b..."} 
[2026-08-11 15:34:30] local.INFO: Processing buffer {"connection_id":153580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff046d610012d1a6f4007210cb8003b00402b..."} 
[2026-08-11 15:34:30] local.INFO: Packet analysis {"connection_id":153580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff046"} 
[2026-08-11 15:34:30] local.INFO: Extracted packet for processing {"connection_id":153580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff046"} 
[2026-08-11 15:34:30] local.INFO: GPS Element Parsed {"raw_longitude":756707136,"raw_latitude":119606456,"longitude_deg":75.6707136,"latitude_deg":11.9606456,"altitude":59,"angle":64,"satellites":43,"speed":30,"hex_longitude":"2d1a6f40","hex_latitude":"07210cb8","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329305344001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11700607605800960,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902419029462185984,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:30] 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-08-11 15:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786442602000,"timestamp_ms":1786442602000,"timestamp_seconds":1786442602,"priority":1,"record_length":96,"hex_timestamp":"0000019ff046d610"} 
[2026-08-11 15:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:34:30] 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-08-11 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 15:34: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-08-11 15: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-08-11 15:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329305344001,"66":14428,"103":206,"83":41984,"24":30,"16":11700607605800960,"45":1902419029462185984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329305344001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:34:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:34:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11700607605800960,"km_value":11700607605800.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902419029462185984,"description":"Unknown IO ID 45"} 
[2026-08-11 15:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329305344001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1902419029462185984}} 
[2026-08-11 15:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":153580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:34:30] local.INFO: GPS data processed {"connection_id":153580,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:34:30] local.INFO: Acknowledgment sent {"connection_id":153580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:34:32] local.INFO: TCP Data received {"connection_id":152626,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff044d6580100000000000000000000000000..."} 
[2026-08-11 15:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff044d6580100000000000000000000000000..."} 
[2026-08-11 15:34:32] local.INFO: Processing buffer {"connection_id":152626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff044d6580100000000000000000000000000..."} 
[2026-08-11 15:34:32] local.INFO: Packet analysis {"connection_id":152626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:34:32] local.INFO: Extracted packet for processing {"connection_id":152626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:34: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-08-11 15:34: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-08-11 15:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27619976902868992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786442471000,"timestamp_ms":1786442471000,"timestamp_seconds":1786442471,"priority":1,"record_length":96,"hex_timestamp":"0000019ff044d658"} 
[2026-08-11 15:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:34:32] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:34: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-11 15:34:32] 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-08-11 15:34: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-08-11 15:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":152626,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 15:34:32] local.INFO: GPS data processed {"connection_id":152626,"processed":0,"errors":0,"total":1} 
[2026-08-11 15:34:32] local.INFO: Acknowledgment sent {"connection_id":152626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:34:46] local.INFO: TCP Data received {"connection_id":152257,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:34:46] local.INFO: Processing buffer {"connection_id":152257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:34:46] local.INFO: Packet analysis {"connection_id":152257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:34:46] local.INFO: Extracted packet for processing {"connection_id":152257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:34:46] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385360,"longitude_deg":76.297408,"latitude_deg":9.938536,"altitude":8,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-08-11 15:34: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-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786442443000,"timestamp_ms":1786442443000,"timestamp_seconds":1786442443,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04468f8"} 
[2026-08-11 15:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:34:46] 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-08-11 15:34: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":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":220,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030671160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3180104312646795274,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2215116809,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826790390935977,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705667584,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968096256,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1963575950922743818,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:46] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,100,87,24,241,157,16,220,159,201,45,64,127,8,34,10,66,150,35,68,128,1,240,214,227,236,4,113,205,26,88,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:34:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511344,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:34:46] 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-08-11 15:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":12428,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:34:46] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:34:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":12428,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":152257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:34:46] local.INFO: GPS data processed {"connection_id":152257,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:34:46] local.INFO: Acknowledgment sent {"connection_id":152257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:34:56] local.INFO: TCP Data received {"connection_id":152258,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:34:56] local.INFO: Processing buffer {"connection_id":152258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:34:56] local.INFO: Packet analysis {"connection_id":152258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:34:56] local.INFO: Extracted packet for processing {"connection_id":152258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:34:56] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":45,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15:34: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-08-11 15:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329237760001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786442636000,"timestamp_ms":1786442636000,"timestamp_seconds":1786442636,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0475ae0"} 
[2026-08-11 15:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:34: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":150,"data_length":795,"current_offset":136} 
[2026-08-11 15:34:56] 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-08-11 15:34: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-08-11 15:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:34:56] 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-08-11 15:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329237760001,"66":25973,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329237760001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:34:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:34:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329237760001,"power":25973,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":152258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:34:56] local.INFO: GPS data processed {"connection_id":152258,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:34:56] local.INFO: Acknowledgment sent {"connection_id":152258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:35:04] local.INFO: TCP Data received {"connection_id":152626,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04528600100000000000000000000000000..."} 
[2026-08-11 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04528600100000000000000000000000000..."} 
[2026-08-11 15:35:04] local.INFO: Processing buffer {"connection_id":152626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04528600100000000000000000000000000..."} 
[2026-08-11 15:35:04] local.INFO: Packet analysis {"connection_id":152626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff045"} 
[2026-08-11 15:35:04] local.INFO: Extracted packet for processing {"connection_id":152626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff045"} 
[2026-08-11 15:35:04] 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-08-11 15: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-08-11 15:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27619976902868992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786442492000,"timestamp_ms":1786442492000,"timestamp_seconds":1786442492,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0452860"} 
[2026-08-11 15:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:35:04] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 15:35:04] 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-08-11 15: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-08-11 15:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":152626,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 15:35:04] local.INFO: GPS data processed {"connection_id":152626,"processed":0,"errors":0,"total":1} 
[2026-08-11 15:35:04] local.INFO: Acknowledgment sent {"connection_id":152626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:35:14] local.INFO: TCP Data received {"connection_id":152628,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:35:14] local.INFO: Processing buffer {"connection_id":152628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:35:14] local.INFO: IMEI packet received {"connection_id":152628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":152628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:35:16] local.INFO: TCP Data received {"connection_id":152259,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:35:16] local.INFO: Processing buffer {"connection_id":152259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:35:16] local.INFO: IMEI packet received {"connection_id":152259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":152259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:35:16] local.INFO: TCP Data received {"connection_id":152259,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:35:16] local.INFO: Processing buffer {"connection_id":152259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:35:16] local.INFO: IMEI packet received {"connection_id":152259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":152259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:35:19] local.INFO: TCP Data received {"connection_id":152628,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:35:19] local.INFO: Processing buffer {"connection_id":152628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:35:19] local.INFO: IMEI packet received {"connection_id":152628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":152628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:35:19] local.INFO: TCP Data received {"connection_id":152259,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0470108012d1a8e4007211d70003c004029..."} 
[2026-08-11 15:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0470108012d1a8e4007211d70003c004029..."} 
[2026-08-11 15:35:19] local.INFO: Processing buffer {"connection_id":152259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0470108012d1a8e4007211d70003c004029..."} 
[2026-08-11 15:35:19] local.INFO: Packet analysis {"connection_id":152259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:35:19] local.INFO: Extracted packet for processing {"connection_id":152259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119610736,"longitude_deg":75.6715072,"latitude_deg":11.9610736,"altitude":60,"angle":64,"satellites":41,"speed":30,"hex_longitude":"2d1a8e40","hex_latitude":"07211d70","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329306112001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11701037102530560,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904811566764439552,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] 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-08-11 15:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786442613000,"timestamp_ms":1786442613000,"timestamp_seconds":1786442613,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0470108"} 
[2026-08-11 15:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:35:19] 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-08-11 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 15:35:19] 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-08-11 15: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-08-11 15:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329306112001,"66":14515,"103":206,"83":41984,"24":30,"16":11701037102530560,"45":1904811566764439552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329306112001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:35:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:35:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11701037102530560,"km_value":11701037102530.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904811566764439552,"description":"Unknown IO ID 45"} 
[2026-08-11 15:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329306112001,"power":14515,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1904811566764439552}} 
[2026-08-11 15:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":152259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:35:19] local.INFO: GPS data processed {"connection_id":152259,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:35:19] local.INFO: Acknowledgment sent {"connection_id":152259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:35:19] local.INFO: TCP Data received {"connection_id":152628,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:35:19] local.INFO: Processing buffer {"connection_id":152628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:35:19] local.INFO: Packet analysis {"connection_id":152628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:35:19] local.INFO: Extracted packet for processing {"connection_id":152628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:35:19] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385360,"longitude_deg":76.297408,"latitude_deg":9.938536,"altitude":8,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786442443000,"timestamp_ms":1786442443000,"timestamp_seconds":1786442443,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04468f8"} 
[2026-08-11 15:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:35:19] 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-08-11 15: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":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":220,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030671160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3180104312646795274,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2215116809,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826790390935977,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705667584,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968096256,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1963575950922743818,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:19] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,100,87,24,241,157,16,220,159,201,45,64,127,8,34,10,66,150,35,68,128,1,240,214,227,236,4,113,205,26,88,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:35:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511344,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:35:19] 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-08-11 15:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":12428,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:35:19] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:35:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":12428,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":152628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:35:20] local.INFO: GPS data processed {"connection_id":152628,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:35:20] local.INFO: Acknowledgment sent {"connection_id":152628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:35:21] local.INFO: TCP Data received {"connection_id":152259,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04710a8012d1a974007212210003d003429..."} 
[2026-08-11 15:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04710a8012d1a974007212210003d003429..."} 
[2026-08-11 15:35:21] local.INFO: Processing buffer {"connection_id":152259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04710a8012d1a974007212210003d003429..."} 
[2026-08-11 15:35:21] local.INFO: Packet analysis {"connection_id":152259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:35:21] local.INFO: Extracted packet for processing {"connection_id":152259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:35:21] local.INFO: GPS Element Parsed {"raw_longitude":756717376,"raw_latitude":119611920,"longitude_deg":75.6717376,"latitude_deg":11.961192,"altitude":61,"angle":52,"satellites":41,"speed":21,"hex_longitude":"2d1a9740","hex_latitude":"07212210","is_valid_coordinates":true} 
[2026-08-11 15:35: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-08-11 15:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329308928001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11701161656582144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291043565568,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:21] 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-08-11 15:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786442617000,"timestamp_ms":1786442617000,"timestamp_seconds":1786442617,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04710a8"} 
[2026-08-11 15:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:35:21] 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-08-11 15:35: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 15:35:21] 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-08-11 15:35: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-08-11 15:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329308928001,"66":14515,"103":206,"83":41984,"24":21,"16":11701161656582144,"45":1913537291043565568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329308928001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:35:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:35:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11701161656582144,"km_value":11701161656582.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291043565568,"description":"Unknown IO ID 45"} 
[2026-08-11 15:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329308928001,"power":14515,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1913537291043565568}} 
[2026-08-11 15:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":152259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:35:21] local.INFO: GPS data processed {"connection_id":152259,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:35:21] local.INFO: Acknowledgment sent {"connection_id":152259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:35:24] local.INFO: TCP Data received {"connection_id":152628,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:35:24] local.INFO: Processing buffer {"connection_id":152628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04468f8012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:35:24] local.INFO: Packet analysis {"connection_id":152628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:35:24] local.INFO: Extracted packet for processing {"connection_id":152628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff044"} 
[2026-08-11 15:35:24] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385360,"longitude_deg":76.297408,"latitude_deg":9.938536,"altitude":8,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329187840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418108928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786442443000,"timestamp_ms":1786442443000,"timestamp_seconds":1786442443,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04468f8"} 
[2026-08-11 15:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:35: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-08-11 15: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":12,"data_length":795,"current_offset":136} 
[2026-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751620572,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":220,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4030671160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3180104312646795274,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2215116809,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826790390935977,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3705667584,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968096256,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1963575950922743818,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:24] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,100,87,24,241,157,16,220,159,201,45,64,127,8,34,10,66,150,35,68,128,1,240,214,227,236,4,113,205,26,88,239,52,2,161,5,6,122,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-11 15:35:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576737975262511344,"timestamp_seconds":576737975262511.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:35:24] 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-08-11 15:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329187840001,"66":12428,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795881941418108928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329187840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:35:24] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:35:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418108928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329187840001,"power":12428,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418108928}} 
[2026-08-11 15:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":152628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:35:24] local.INFO: GPS data processed {"connection_id":152628,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:35:24] local.INFO: Acknowledgment sent {"connection_id":152628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:35:24] local.INFO: TCP Data received {"connection_id":152629,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:35:24] local.INFO: Processing buffer {"connection_id":152629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:35:24] local.INFO: IMEI packet received {"connection_id":152629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":152629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:35:29] local.INFO: TCP Data received {"connection_id":152629,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:35:29] local.INFO: Processing buffer {"connection_id":152629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:35:29] local.INFO: IMEI packet received {"connection_id":152629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":152629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:35:30] local.INFO: TCP Data received {"connection_id":152629,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:35:30] local.INFO: Processing buffer {"connection_id":152629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:35:30] local.INFO: Packet analysis {"connection_id":152629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:35:30] local.INFO: Extracted packet for processing {"connection_id":152629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:35:30] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":45,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15:35: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-08-11 15:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329237760001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786442636000,"timestamp_ms":1786442636000,"timestamp_seconds":1786442636,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0475ae0"} 
[2026-08-11 15:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:35: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":150,"data_length":795,"current_offset":136} 
[2026-08-11 15:35:30] 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-08-11 15:35: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-08-11 15:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:35:30] 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-08-11 15:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329237760001,"66":25973,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329237760001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:35:30] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:35:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329237760001,"power":25973,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":152629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:35:30] local.INFO: GPS data processed {"connection_id":152629,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:35:30] local.INFO: Acknowledgment sent {"connection_id":152629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:35:35] local.INFO: TCP Data received {"connection_id":152629,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:35:35] local.INFO: Processing buffer {"connection_id":152629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:35:35] local.INFO: Packet analysis {"connection_id":152629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:35:35] local.INFO: Extracted packet for processing {"connection_id":152629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:35:35] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":45,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329237760001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786442636000,"timestamp_ms":1786442636000,"timestamp_seconds":1786442636,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0475ae0"} 
[2026-08-11 15:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":150,"data_length":795,"current_offset":136} 
[2026-08-11 15:35: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-08-11 15: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-08-11 15:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:35:35] 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-08-11 15:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329237760001,"66":25973,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329237760001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:35:35] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329237760001,"power":25973,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":152629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:35:35] local.INFO: GPS data processed {"connection_id":152629,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:35:35] local.INFO: Acknowledgment sent {"connection_id":152629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:35:35] local.INFO: TCP Data received {"connection_id":152626,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0457a680100000000000000000000000000..."} 
[2026-08-11 15:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0457a680100000000000000000000000000..."} 
[2026-08-11 15:35:35] local.INFO: Processing buffer {"connection_id":152626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0457a680100000000000000000000000000..."} 
[2026-08-11 15:35:35] local.INFO: Packet analysis {"connection_id":152626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff045"} 
[2026-08-11 15:35:35] local.INFO: Extracted packet for processing {"connection_id":152626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff045"} 
[2026-08-11 15:35:35] 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-08-11 15: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-08-11 15:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27619976902868992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:35:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786442513000,"timestamp_ms":1786442513000,"timestamp_seconds":1786442513,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0457a68"} 
[2026-08-11 15:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:35:35] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 15:35:35] 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-08-11 15: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-08-11 15:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":152626,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-11 15:35:35] local.INFO: GPS data processed {"connection_id":152626,"processed":0,"errors":0,"total":1} 
[2026-08-11 15:35:35] local.INFO: Acknowledgment sent {"connection_id":152626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:36:02] local.INFO: TCP Data received {"connection_id":152259,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0473ba0012d1aa58007212da8003f002226..."} 
[2026-08-11 15:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0473ba0012d1aa58007212da8003f002226..."} 
[2026-08-11 15:36:02] local.INFO: Processing buffer {"connection_id":152259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0473ba0012d1aa58007212da8003f002226..."} 
[2026-08-11 15:36:02] local.INFO: Packet analysis {"connection_id":152259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:36:02] local.INFO: Extracted packet for processing {"connection_id":152259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:36:02] local.INFO: GPS Element Parsed {"raw_longitude":756721024,"raw_latitude":119614888,"longitude_deg":75.6721024,"latitude_deg":11.9614888,"altitude":63,"angle":34,"satellites":38,"speed":7,"hex_longitude":"2d1aa580","hex_latitude":"07212da8","is_valid_coordinates":true} 
[2026-08-11 15:36: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-08-11 15:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329309952001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11701389289848832,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916070565834264576,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:02] 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-08-11 15:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786442628000,"timestamp_ms":1786442628000,"timestamp_seconds":1786442628,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0473ba0"} 
[2026-08-11 15:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:36:02] 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-08-11 15:36: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-08-11 15:36: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-08-11 15:36: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-08-11 15:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":152259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":152259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":152259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329309952001,"66":13102,"103":206,"83":41984,"24":7,"16":11701389289848832,"45":1916070565834264576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329309952001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:36:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:36:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11701389289848832,"km_value":11701389289848.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916070565834264576,"description":"Unknown IO ID 45"} 
[2026-08-11 15:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329309952001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1916070565834264576}} 
[2026-08-11 15:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":152259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:36:02] local.INFO: GPS data processed {"connection_id":152259,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:36:02] local.INFO: Acknowledgment sent {"connection_id":152259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:36:08] local.INFO: TCP Data received {"connection_id":152626,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0491c18012d0b83000703e8b00018006707..."} 
[2026-08-11 15:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0491c18012d0b83000703e8b00018006707..."} 
[2026-08-11 15:36:08] local.INFO: Processing buffer {"connection_id":152626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0491c18012d0b83000703e8b00018006707..."} 
[2026-08-11 15:36:08] local.INFO: Packet analysis {"connection_id":152626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff049"} 
[2026-08-11 15:36:08] local.INFO: Extracted packet for processing {"connection_id":152626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff049"} 
[2026-08-11 15:36:08] local.INFO: GPS Element Parsed {"raw_longitude":755729152,"raw_latitude":117696688,"longitude_deg":75.5729152,"latitude_deg":11.7696688,"altitude":24,"angle":103,"satellites":7,"speed":18,"hex_longitude":"2d0b8300","hex_latitude":"0703e8b0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329342208001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27620964745347072,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":825143924357797888,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786442751000,"timestamp_ms":1786442751000,"timestamp_seconds":1786442751,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0491c18"} 
[2026-08-11 15:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:36:08] 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-08-11 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 15:36:08] 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-08-11 15: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-08-11 15:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329342208001,"66":14548,"96":206,"94":10240,"24":18,"16":27620964745347072,"45":825143924357797888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 15:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329342208001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:36:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 15:36:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27620964745347072,"km_value":27620964745347.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":825143924357797888,"description":"Unknown IO ID 45"} 
[2026-08-11 15:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329342208001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":825143924357797888}} 
[2026-08-11 15:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":152626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625455,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:36:08] local.INFO: GPS data processed {"connection_id":152626,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:36:08] local.INFO: Acknowledgment sent {"connection_id":152626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:36:09] local.INFO: TCP Data received {"connection_id":152260,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:36:09] local.INFO: Processing buffer {"connection_id":152260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:36:09] local.INFO: IMEI packet received {"connection_id":152260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":152260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:36:13] local.INFO: TCP Data received {"connection_id":154967,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:36:13] local.INFO: Processing buffer {"connection_id":154967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:36:13] local.INFO: IMEI packet received {"connection_id":154967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":154967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:36:14] local.INFO: TCP Data received {"connection_id":152260,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:36:14] local.INFO: Processing buffer {"connection_id":152260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:36:14] local.INFO: IMEI packet received {"connection_id":152260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":152260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:36:15] local.INFO: TCP Data received {"connection_id":152260,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff048f120012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff048f120012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:36:15] local.INFO: Processing buffer {"connection_id":152260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff048f120012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:36:15] local.INFO: Packet analysis {"connection_id":152260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff048"} 
[2026-08-11 15:36:15] local.INFO: Extracted packet for processing {"connection_id":152260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff048"} 
[2026-08-11 15:36:15] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385360,"longitude_deg":76.297408,"latitude_deg":9.938536,"altitude":8,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-08-11 15:36:15] 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-08-11 15:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329265408001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208875520,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786442740000,"timestamp_ms":1786442740000,"timestamp_seconds":1786442740,"priority":1,"record_length":96,"hex_timestamp":"0000019ff048f120"} 
[2026-08-11 15:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 15:36:15] 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-08-11 15: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-08-11 15:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:36:15] 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-08-11 15:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329265408001,"66":12374,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795389360208875520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329265408001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:36:15] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:36:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208875520,"description":"Unknown IO ID 45"} 
[2026-08-11 15:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329265408001,"power":12374,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208875520}} 
[2026-08-11 15:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":152260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:36:15] local.INFO: GPS data processed {"connection_id":152260,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:36:15] local.INFO: Acknowledgment sent {"connection_id":152260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:36:15] local.INFO: TCP Data received {"connection_id":154967,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:36:15] local.INFO: Processing buffer {"connection_id":154967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:36:15] local.INFO: IMEI packet received {"connection_id":154967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":154967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:36:16] local.INFO: TCP Data received {"connection_id":154967,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04756f8012d1aab8007213920003f001527..."} 
[2026-08-11 15:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04756f8012d1aab8007213920003f001527..."} 
[2026-08-11 15:36:16] local.INFO: Processing buffer {"connection_id":154967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04756f8012d1aab8007213920003f001527..."} 
[2026-08-11 15:36:16] local.INFO: Packet analysis {"connection_id":154967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:36:16] local.INFO: Extracted packet for processing {"connection_id":154967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756722560,"raw_latitude":119617824,"longitude_deg":75.672256,"latitude_deg":11.9617824,"altitude":63,"angle":21,"satellites":39,"speed":25,"hex_longitude":"2d1aab80","hex_latitude":"07213920","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329312768001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11701548203638784,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920081584253151232,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:16] 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-08-11 15:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786442635000,"timestamp_ms":1786442635000,"timestamp_seconds":1786442635,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04756f8"} 
[2026-08-11 15:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:36: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-08-11 15: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 15:36:16] 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-08-11 15: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-08-11 15:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329312768001,"66":12548,"103":206,"83":41984,"24":25,"16":11701548203638784,"45":1920081584253151232},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329312768001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:36:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:36:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11701548203638784,"km_value":11701548203638.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920081584253151232,"description":"Unknown IO ID 45"} 
[2026-08-11 15:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329312768001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1920081584253151232}} 
[2026-08-11 15:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":154967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:36:16] local.INFO: GPS data processed {"connection_id":154967,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:36:16] local.INFO: Acknowledgment sent {"connection_id":154967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:36:19] local.INFO: TCP Data received {"connection_id":153581,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:36:19] local.INFO: Processing buffer {"connection_id":153581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:36:19] local.INFO: IMEI packet received {"connection_id":153581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":153581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:36:21] local.INFO: TCP Data received {"connection_id":154967,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0477250012d1ab18007214898003e002828..."} 
[2026-08-11 15:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0477250012d1ab18007214898003e002828..."} 
[2026-08-11 15:36:21] local.INFO: Processing buffer {"connection_id":154967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0477250012d1ab18007214898003e002828..."} 
[2026-08-11 15:36:21] local.INFO: Packet analysis {"connection_id":154967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:36:21] local.INFO: Extracted packet for processing {"connection_id":154967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756724096,"raw_latitude":119621784,"longitude_deg":75.6724096,"latitude_deg":11.9621784,"altitude":62,"angle":40,"satellites":40,"speed":23,"hex_longitude":"2d1ab180","hex_latitude":"07214898","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329314560001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11701754362068992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1921770434114166784,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:21] 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-08-11 15:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786442642000,"timestamp_ms":1786442642000,"timestamp_seconds":1786442642,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0477250"} 
[2026-08-11 15:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:36:21] 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-08-11 15: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 15:36:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:21] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4031156160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:21] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2441740288,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184322400461,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-11 15:36:21] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1476472090,"corrected_to":0} 
[2026-08-11 15:36:21] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692681,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:21] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:21] local.WARNING: Large IO value detected {"io_id":18,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:21] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,146,159,59,45,128,63,38,10,66,64,34,61,41,1,240,179,227,33,4,113,205,30,202,102,120,44,239,56,2,7,58,18],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":202,"original":1476472090,"validated":0}]} 
[2026-08-11 15:36:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539651681639006208,"timestamp_seconds":4539651681639006.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":154967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":154967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":154967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329314560001,"66":12993,"103":206,"83":41984,"24":23,"16":11701754362068992,"45":1921770434114166784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329314560001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:36:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11701754362068992,"km_value":11701754362068.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1921770434114166784,"description":"Unknown IO ID 45"} 
[2026-08-11 15:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329314560001,"power":12993,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1921770434114166784}} 
[2026-08-11 15:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":154967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:36:21] local.INFO: GPS data processed {"connection_id":154967,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:36:21] local.INFO: Acknowledgment sent {"connection_id":154967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:36:24] local.INFO: TCP Data received {"connection_id":153582,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153582,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:36:24] local.INFO: Processing buffer {"connection_id":153582,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:36:24] local.INFO: IMEI packet received {"connection_id":153582,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":153582,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:36:24] local.INFO: TCP Data received {"connection_id":153581,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:36:24] local.INFO: Processing buffer {"connection_id":153581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:36:24] local.INFO: IMEI packet received {"connection_id":153581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":153581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:36:25] local.INFO: TCP Data received {"connection_id":153582,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153582,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:36:25] local.INFO: Processing buffer {"connection_id":153582,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:36:25] local.INFO: IMEI packet received {"connection_id":153582,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":153582,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:36:25] local.INFO: TCP Data received {"connection_id":153581,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:36:25] local.INFO: Processing buffer {"connection_id":153581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:36:25] local.INFO: Packet analysis {"connection_id":153581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:36:25] local.INFO: Extracted packet for processing {"connection_id":153581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:36:25] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":45,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329237760001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786442636000,"timestamp_ms":1786442636000,"timestamp_seconds":1786442636,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0475ae0"} 
[2026-08-11 15:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 15:36:25] 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-08-11 15: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-08-11 15:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:36:25] 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-08-11 15:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329237760001,"66":25973,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329237760001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:36:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:36:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329237760001,"power":25973,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":153581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:36:25] local.INFO: GPS data processed {"connection_id":153581,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:36:25] local.INFO: Acknowledgment sent {"connection_id":153581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:36:26] local.INFO: TCP Data received {"connection_id":153582,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153582,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:36:26] local.INFO: Processing buffer {"connection_id":153582,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:36:26] local.INFO: IMEI packet received {"connection_id":153582,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":153582,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:36:27] local.INFO: TCP Data received {"connection_id":153582,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153582,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:36:27] local.INFO: Processing buffer {"connection_id":153582,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:36:27] local.INFO: IMEI packet received {"connection_id":153582,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":153582,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:36:45] local.INFO: TCP Data received {"connection_id":152260,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff048f120012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff048f120012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:36:45] local.INFO: Processing buffer {"connection_id":152260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff048f120012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:36:45] local.INFO: Packet analysis {"connection_id":152260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff048"} 
[2026-08-11 15:36:45] local.INFO: Extracted packet for processing {"connection_id":152260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff048"} 
[2026-08-11 15:36:45] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385360,"longitude_deg":76.297408,"latitude_deg":9.938536,"altitude":8,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-08-11 15:36:45] 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-08-11 15:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329341440001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208875520,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786442740000,"timestamp_ms":1786442740000,"timestamp_seconds":1786442740,"priority":1,"record_length":96,"hex_timestamp":"0000019ff048f120"} 
[2026-08-11 15:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:36:45] 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-08-11 15:36: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-11 15:36:45] 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-08-11 15:36: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-08-11 15:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:36:45] 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-08-11 15:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329341440001,"66":12374,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795389360208875520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329341440001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:36:45] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:36:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208875520,"description":"Unknown IO ID 45"} 
[2026-08-11 15:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329341440001,"power":12374,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208875520}} 
[2026-08-11 15:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":152260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:36:45] local.INFO: GPS data processed {"connection_id":152260,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:36:45] local.INFO: Acknowledgment sent {"connection_id":152260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:36:52] local.INFO: TCP Data received {"connection_id":154967,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04952c8012d1ab040072150f80043006f28..."} 
[2026-08-11 15:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04952c8012d1ab040072150f80043006f28..."} 
[2026-08-11 15:36:52] local.INFO: Processing buffer {"connection_id":154967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04952c8012d1ab040072150f80043006f28..."} 
[2026-08-11 15:36:52] local.INFO: Packet analysis {"connection_id":154967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff049"} 
[2026-08-11 15:36:52] local.INFO: Extracted packet for processing {"connection_id":154967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff049"} 
[2026-08-11 15:36:52] local.INFO: GPS Element Parsed {"raw_longitude":756723776,"raw_latitude":119623928,"longitude_deg":75.6723776,"latitude_deg":11.9623928,"altitude":67,"angle":111,"satellites":40,"speed":5,"hex_longitude":"2d1ab040","hex_latitude":"072150f8","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329347328001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11701999175204864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1922896334022604800,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36: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-08-11 15:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786442765000,"timestamp_ms":1786442765000,"timestamp_seconds":1786442765,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04952c8"} 
[2026-08-11 15:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:36:52] 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-08-11 15: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-11 15:36:52] 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-08-11 15: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-08-11 15:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329347328001,"66":14102,"103":206,"83":41984,"24":5,"16":11701999175204864,"45":1922896334022604800},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329347328001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:36:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:36:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11701999175204864,"km_value":11701999175204.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1922896334022604800,"description":"Unknown IO ID 45"} 
[2026-08-11 15:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329347328001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1922896334022604800}} 
[2026-08-11 15:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":154967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:36:52] local.INFO: GPS data processed {"connection_id":154967,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:36:52] local.INFO: Acknowledgment sent {"connection_id":154967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:36:56] local.INFO: TCP Data received {"connection_id":153581,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:36:56] local.INFO: Processing buffer {"connection_id":153581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:36:56] local.INFO: Packet analysis {"connection_id":153581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:36:56] local.INFO: Extracted packet for processing {"connection_id":153581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:36:56] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":45,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15:36: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-08-11 15:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329237760001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786442636000,"timestamp_ms":1786442636000,"timestamp_seconds":1786442636,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0475ae0"} 
[2026-08-11 15:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:36: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":150,"data_length":795,"current_offset":136} 
[2026-08-11 15:36:56] 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-08-11 15:36: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-08-11 15:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:36:56] 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-08-11 15:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329237760001,"66":25973,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329237760001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:36:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:36:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329237760001,"power":25973,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":153581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:36:56] local.INFO: GPS data processed {"connection_id":153581,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:36:56] local.INFO: Acknowledgment sent {"connection_id":153581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:37:09] local.INFO: TCP Data received {"connection_id":152630,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:37:09] local.INFO: Processing buffer {"connection_id":152630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:37:09] local.INFO: IMEI packet received {"connection_id":152630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":152630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:37:10] local.INFO: TCP Data received {"connection_id":153583,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:37:10] local.INFO: Processing buffer {"connection_id":153583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:37:10] local.INFO: IMEI packet received {"connection_id":153583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":153583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:37:10] local.INFO: TCP Data received {"connection_id":153583,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:37:10] local.INFO: Processing buffer {"connection_id":153583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:37:10] local.INFO: IMEI packet received {"connection_id":153583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":153583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:37:14] local.INFO: TCP Data received {"connection_id":152630,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:37:14] local.INFO: Processing buffer {"connection_id":152630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:37:14] local.INFO: IMEI packet received {"connection_id":152630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":152630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:37:14] local.INFO: TCP Data received {"connection_id":152630,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04900c0012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04900c0012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:37:14] local.INFO: Processing buffer {"connection_id":152630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04900c0012d7a0f8005ec8010000800fc25..."} 
[2026-08-11 15:37:14] local.INFO: Packet analysis {"connection_id":152630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff049"} 
[2026-08-11 15:37:14] local.INFO: Extracted packet for processing {"connection_id":152630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff049"} 
[2026-08-11 15:37:14] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385360,"longitude_deg":76.297408,"latitude_deg":9.938536,"altitude":8,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-08-11 15:37: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-08-11 15:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329341440001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117618040178212864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208875520,"note":"Value kept but may cause issues"} 
[2026-08-11 15:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786442744000,"timestamp_ms":1786442744000,"timestamp_seconds":1786442744,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04900c0"} 
[2026-08-11 15:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:37:14] 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-08-11 15:37: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-11 15:37:14] 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-08-11 15:37: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-08-11 15:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:37:14] 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-08-11 15:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329341440001,"66":2514,"100":206,"87":13824,"24":0,"16":117618040178212864,"45":8795389360208875520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-11 15:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329341440001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:37:14] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 15:37:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117618040178212864,"km_value":117618040178212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208875520,"description":"Unknown IO ID 45"} 
[2026-08-11 15:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329341440001,"power":2514,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208875520}} 
[2026-08-11 15:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":152630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:37:14] local.INFO: GPS data processed {"connection_id":152630,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:37:14] local.INFO: Acknowledgment sent {"connection_id":152630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:37:15] local.INFO: TCP Data received {"connection_id":153583,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:37:15] local.INFO: Processing buffer {"connection_id":153583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:37:15] local.INFO: IMEI packet received {"connection_id":153583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":153583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:37:16] local.INFO: TCP Data received {"connection_id":153583,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0496e20012d1ab4c0072150000044006327..."} 
[2026-08-11 15:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0496e20012d1ab4c0072150000044006327..."} 
[2026-08-11 15:37:16] local.INFO: Processing buffer {"connection_id":153583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0496e20012d1ab4c0072150000044006327..."} 
[2026-08-11 15:37:16] local.INFO: Packet analysis {"connection_id":153583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff049"} 
[2026-08-11 15:37:16] local.INFO: Extracted packet for processing {"connection_id":153583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff049"} 
[2026-08-11 15:37:16] local.INFO: GPS Element Parsed {"raw_longitude":756724928,"raw_latitude":119623680,"longitude_deg":75.6724928,"latitude_deg":11.962368,"altitude":68,"angle":99,"satellites":39,"speed":6,"hex_longitude":"2d1ab4c0","hex_latitude":"07215000","is_valid_coordinates":true} 
[2026-08-11 15:37: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-08-11 15:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329347840001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11702055009779712,"note":"Value kept but may cause issues"} 
[2026-08-11 15:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923107440255105024,"note":"Value kept but may cause issues"} 
[2026-08-11 15:37:16] 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-08-11 15:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786442772000,"timestamp_ms":1786442772000,"timestamp_seconds":1786442772,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0496e20"} 
[2026-08-11 15:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:37: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-08-11 15:37: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 15:37:16] 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-08-11 15:37: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-08-11 15:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329347840001,"66":14211,"103":206,"83":41984,"24":6,"16":11702055009779712,"45":1923107440255105024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329347840001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:37:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:37:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11702055009779712,"km_value":11702055009779.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923107440255105024,"description":"Unknown IO ID 45"} 
[2026-08-11 15:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329347840001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1923107440255105024}} 
[2026-08-11 15:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":153583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:37:16] local.INFO: GPS data processed {"connection_id":153583,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:37:16] local.INFO: Acknowledgment sent {"connection_id":153583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:37:19] local.INFO: TCP Data received {"connection_id":152261,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:37:19] local.INFO: Processing buffer {"connection_id":152261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:37:19] local.INFO: IMEI packet received {"connection_id":152261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":152261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:37:24] local.INFO: TCP Data received {"connection_id":152261,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:37:24] local.INFO: Processing buffer {"connection_id":152261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:37:24] local.INFO: IMEI packet received {"connection_id":152261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":152261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:37:28] local.INFO: TCP Data received {"connection_id":152261,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:37:28] local.INFO: Processing buffer {"connection_id":152261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:37:28] local.INFO: Packet analysis {"connection_id":152261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:37:28] local.INFO: Extracted packet for processing {"connection_id":152261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:37:28] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":45,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15:37: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-08-11 15:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329237760001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786442636000,"timestamp_ms":1786442636000,"timestamp_seconds":1786442636,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0475ae0"} 
[2026-08-11 15:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15:37: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":150,"data_length":795,"current_offset":136} 
[2026-08-11 15:37:28] 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-08-11 15:37: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-08-11 15:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:37:28] 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-08-11 15:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329237760001,"66":25973,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329237760001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:37:28] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:37:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329237760001,"power":25973,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":152261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:37:28] local.INFO: GPS data processed {"connection_id":152261,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:37:28] local.INFO: Acknowledgment sent {"connection_id":152261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:37:48] local.INFO: TCP Data received {"connection_id":153583,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0497208012d1ab54007214fe00044007029..."} 
[2026-08-11 15:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0497208012d1ab54007214fe00044007029..."} 
[2026-08-11 15:37:48] local.INFO: Processing buffer {"connection_id":153583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0497208012d1ab54007214fe00044007029..."} 
[2026-08-11 15:37:48] local.INFO: Packet analysis {"connection_id":153583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff049"} 
[2026-08-11 15:37:48] local.INFO: Extracted packet for processing {"connection_id":153583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff049"} 
[2026-08-11 15:37:48] local.INFO: GPS Element Parsed {"raw_longitude":756725056,"raw_latitude":119623648,"longitude_deg":75.6725056,"latitude_deg":11.9623648,"altitude":68,"angle":112,"satellites":41,"speed":5,"hex_longitude":"2d1ab540","hex_latitude":"07214fe0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329349632001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11702063599714304,"note":"Value kept but may cause issues"} 
[2026-08-11 15:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924374077650239488,"note":"Value kept but may cause issues"} 
[2026-08-11 15:37:48] 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-08-11 15:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786442773000,"timestamp_ms":1786442773000,"timestamp_seconds":1786442773,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0497208"} 
[2026-08-11 15:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:37:48] 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-08-11 15: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 15:37:48] 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-08-11 15: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-08-11 15:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329349632001,"66":14113,"103":206,"83":41984,"24":5,"16":11702063599714304,"45":1924374077650239488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329349632001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:37:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:37:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11702063599714304,"km_value":11702063599714.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924374077650239488,"description":"Unknown IO ID 45"} 
[2026-08-11 15:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329349632001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1924374077650239488}} 
[2026-08-11 15:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":153583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:37:48] local.INFO: GPS data processed {"connection_id":153583,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:37:48] local.INFO: Acknowledgment sent {"connection_id":153583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:37:59] local.INFO: TCP Data received {"connection_id":152261,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:37:59] local.INFO: Processing buffer {"connection_id":152261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0475ae0012d9cd70005b36170001e00a32d..."} 
[2026-08-11 15:37:59] local.INFO: Packet analysis {"connection_id":152261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:37:59] local.INFO: Extracted packet for processing {"connection_id":152261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff047"} 
[2026-08-11 15:37:59] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":45,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329237760001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786442636000,"timestamp_ms":1786442636000,"timestamp_seconds":1786442636,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0475ae0"} 
[2026-08-11 15:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 15:37:59] 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-08-11 15:37: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-08-11 15:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:37:59] 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-08-11 15:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329237760001,"66":25973,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329237760001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:37:59] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:37:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329237760001,"power":25973,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":152261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:37:59] local.INFO: GPS data processed {"connection_id":152261,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:37:59] local.INFO: Acknowledgment sent {"connection_id":152261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:38:10] local.INFO: TCP Data received {"connection_id":152631,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:38:10] local.INFO: Processing buffer {"connection_id":152631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:38:10] local.INFO: IMEI packet received {"connection_id":152631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":152631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:38:12] local.INFO: TCP Data received {"connection_id":152631,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:38:12] local.INFO: Processing buffer {"connection_id":152631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:38:12] local.INFO: IMEI packet received {"connection_id":152631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":152631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:38:14] local.INFO: TCP Data received {"connection_id":152631,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:38:14] local.INFO: Processing buffer {"connection_id":152631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:38:14] local.INFO: IMEI packet received {"connection_id":152631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":152631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:38:15] local.INFO: TCP Data received {"connection_id":152631,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:38:15] local.INFO: Processing buffer {"connection_id":152631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:38:15] local.INFO: IMEI packet received {"connection_id":152631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":152631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:38:16] local.INFO: TCP Data received {"connection_id":152631,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04a1618012d1a954007212110004300ed25..."} 
[2026-08-11 15:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04a1618012d1a954007212110004300ed25..."} 
[2026-08-11 15:38:16] local.INFO: Processing buffer {"connection_id":152631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04a1618012d1a954007212110004300ed25..."} 
[2026-08-11 15:38:16] local.INFO: Packet analysis {"connection_id":152631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04a"} 
[2026-08-11 15:38:16] local.INFO: Extracted packet for processing {"connection_id":152631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04a"} 
[2026-08-11 15:38:16] local.INFO: GPS Element Parsed {"raw_longitude":756716864,"raw_latitude":119611664,"longitude_deg":75.6716864,"latitude_deg":11.9611664,"altitude":67,"angle":237,"satellites":37,"speed":20,"hex_longitude":"2d1a9540","hex_latitude":"07212110","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329359616001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11702823808925696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917055728253014016,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:16] 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-08-11 15:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786442815000,"timestamp_ms":1786442815000,"timestamp_seconds":1786442815,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04a1618"} 
[2026-08-11 15:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:38: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-08-11 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 15:38:16] 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-08-11 15: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-08-11 15:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329359616001,"66":14341,"103":206,"83":41984,"24":20,"16":11702823808925696,"45":1917055728253014016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329359616001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:38:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:38:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11702823808925696,"km_value":11702823808925.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917055728253014016,"description":"Unknown IO ID 45"} 
[2026-08-11 15:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329359616001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1917055728253014016}} 
[2026-08-11 15:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":152631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:38:16] local.INFO: GPS data processed {"connection_id":152631,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:38:16] local.INFO: Acknowledgment sent {"connection_id":152631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:38:17] local.INFO: TCP Data received {"connection_id":152632,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:38:17] local.INFO: Processing buffer {"connection_id":152632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:38:17] local.INFO: IMEI packet received {"connection_id":152632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":152632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:38:19] local.INFO: TCP Data received {"connection_id":152632,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:38:19] local.INFO: Processing buffer {"connection_id":152632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:38:19] local.INFO: IMEI packet received {"connection_id":152632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":152632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:38:24] local.INFO: TCP Data received {"connection_id":152632,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:38:24] local.INFO: Processing buffer {"connection_id":152632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:38:24] local.INFO: IMEI packet received {"connection_id":152632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":152632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:38:25] local.INFO: TCP Data received {"connection_id":152632,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04ac1f8012d9cd70005b36170001e00a32c..."} 
[2026-08-11 15:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04ac1f8012d9cd70005b36170001e00a32c..."} 
[2026-08-11 15:38:25] local.INFO: Processing buffer {"connection_id":152632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04ac1f8012d9cd70005b36170001e00a32c..."} 
[2026-08-11 15:38:25] local.INFO: Packet analysis {"connection_id":152632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04a"} 
[2026-08-11 15:38:25] local.INFO: Extracted packet for processing {"connection_id":152632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04a"} 
[2026-08-11 15:38:25] local.INFO: GPS Element Parsed {"raw_longitude":765253376,"raw_latitude":95641968,"longitude_deg":76.5253376,"latitude_deg":9.5641968,"altitude":30,"angle":163,"satellites":44,"speed":0,"hex_longitude":"2d9cd700","hex_latitude":"05b36170","is_valid_coordinates":true} 
[2026-08-11 15:38:25] 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-08-11 15:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329314816001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786442859000,"timestamp_ms":1786442859000,"timestamp_seconds":1786442859,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04ac1f8"} 
[2026-08-11 15:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":117,"data_length":795,"current_offset":136} 
[2026-08-11 15:38:25] 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-08-11 15: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-08-11 15:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:38:25] 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-08-11 15:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329314816001,"66":25897,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329314816001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:38:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:38:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329314816001,"power":25897,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":152632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:38:25] local.INFO: GPS data processed {"connection_id":152632,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:38:25] local.INFO: Acknowledgment sent {"connection_id":152632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:38:47] local.INFO: TCP Data received {"connection_id":152631,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04a5498012d1a748007210f68003e00f427..."} 
[2026-08-11 15:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04a5498012d1a748007210f68003e00f427..."} 
[2026-08-11 15:38:47] local.INFO: Processing buffer {"connection_id":152631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04a5498012d1a748007210f68003e00f427..."} 
[2026-08-11 15:38:47] local.INFO: Packet analysis {"connection_id":152631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04a"} 
[2026-08-11 15:38:47] local.INFO: Extracted packet for processing {"connection_id":152631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04a"} 
[2026-08-11 15:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756708480,"raw_latitude":119607144,"longitude_deg":75.670848,"latitude_deg":11.9607144,"altitude":62,"angle":244,"satellites":39,"speed":23,"hex_longitude":"2d1a7480","hex_latitude":"07210f68","is_valid_coordinates":true} 
[2026-08-11 15:38: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-08-11 15:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329360640001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11703279075459072,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915507615880777728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:47] 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-08-11 15:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786442831000,"timestamp_ms":1786442831000,"timestamp_seconds":1786442831,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04a5498"} 
[2026-08-11 15:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:38:47] 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-08-11 15:38: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 15:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6978292136,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4031362160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:47] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":55297,"corrected_to":0} 
[2026-08-11 15:38:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":19141239702032896,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:47] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503778188984320,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-11 15:38:47] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3221692739,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:47] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2469003264,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:47] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84753331608035660,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:47] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,147,159,6,45,192,38,68,37,10,66,246,128,42,235,1,240,218,227,33,4,113,205,188,174,32,40,239,55,2,41,7,67,25,206,184],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":246,"original":55297,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-11 15:38:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828119543712055296,"timestamp_seconds":4828119543712055.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329360640001,"66":14298,"103":206,"83":41984,"24":23,"16":11703279075459072,"45":1915507615880777728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329360640001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:38:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:38:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11703279075459072,"km_value":11703279075459.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915507615880777728,"description":"Unknown IO ID 45"} 
[2026-08-11 15:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329360640001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1915507615880777728}} 
[2026-08-11 15:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":152631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:38:47] local.INFO: GPS data processed {"connection_id":152631,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:38:47] local.INFO: Acknowledgment sent {"connection_id":152631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:38:56] local.INFO: TCP Data received {"connection_id":152632,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04b1bd0012d9cd50005b36090001e00a32d..."} 
[2026-08-11 15:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04b1bd0012d9cd50005b36090001e00a32d..."} 
[2026-08-11 15:38:56] local.INFO: Processing buffer {"connection_id":152632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04b1bd0012d9cd50005b36090001e00a32d..."} 
[2026-08-11 15:38:56] local.INFO: Packet analysis {"connection_id":152632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04b"} 
[2026-08-11 15:38:56] local.INFO: Extracted packet for processing {"connection_id":152632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04b"} 
[2026-08-11 15:38:56] local.INFO: GPS Element Parsed {"raw_longitude":765252864,"raw_latitude":95641744,"longitude_deg":76.5252864,"latitude_deg":9.5641744,"altitude":30,"angle":163,"satellites":45,"speed":0,"hex_longitude":"2d9cd500","hex_latitude":"05b36090","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329371904001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145242259315658752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786442882000,"timestamp_ms":1786442882000,"timestamp_seconds":1786442882,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04b1bd0"} 
[2026-08-11 15:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 15:38: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-08-11 15: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-08-11 15:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:38:56] 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-08-11 15:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329371904001,"66":27995,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145242259315658752},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329371904001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:38:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:38:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145242259315658752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329371904001,"power":27995,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145242259315658752}} 
[2026-08-11 15:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":152632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:38:56] local.INFO: GPS data processed {"connection_id":152632,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:38:56] local.INFO: Acknowledgment sent {"connection_id":152632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:39:10] local.INFO: TCP Data received {"connection_id":152263,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:39:10] local.INFO: Processing buffer {"connection_id":152263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:39:10] local.INFO: IMEI packet received {"connection_id":152263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":152263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:39:13] local.INFO: TCP Data received {"connection_id":152263,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:39:13] local.INFO: Processing buffer {"connection_id":152263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:39:13] local.INFO: IMEI packet received {"connection_id":152263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":152263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:39:14] local.INFO: TCP Data received {"connection_id":152263,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:39:14] local.INFO: Processing buffer {"connection_id":152263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:39:14] local.INFO: IMEI packet received {"connection_id":152263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":152263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:39:15] local.INFO: TCP Data received {"connection_id":152263,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:39:15] local.INFO: Processing buffer {"connection_id":152263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:39:15] local.INFO: IMEI packet received {"connection_id":152263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":152263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:39:16] local.INFO: TCP Data received {"connection_id":152263,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04b8d18012d19e3c00720b2b80033011429..."} 
[2026-08-11 15:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04b8d18012d19e3c00720b2b80033011429..."} 
[2026-08-11 15:39:16] local.INFO: Processing buffer {"connection_id":152263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04b8d18012d19e3c00720b2b80033011429..."} 
[2026-08-11 15:39:16] local.INFO: Packet analysis {"connection_id":152263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04b"} 
[2026-08-11 15:39:16] local.INFO: Extracted packet for processing {"connection_id":152263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04b"} 
[2026-08-11 15:39:16] local.INFO: GPS Element Parsed {"raw_longitude":756671424,"raw_latitude":119583416,"longitude_deg":75.6671424,"latitude_deg":11.9583416,"altitude":51,"angle":276,"satellites":41,"speed":26,"hex_longitude":"2d19e3c0","hex_latitude":"0720b2b8","is_valid_coordinates":true} 
[2026-08-11 15:39: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-08-11 15:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329384704001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11705478098714624,"note":"Value kept but may cause issues"} 
[2026-08-11 15:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867093919879333888,"note":"Value kept but may cause issues"} 
[2026-08-11 15:39:16] 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-08-11 15:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786442911000,"timestamp_ms":1786442911000,"timestamp_seconds":1786442911,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04b8d18"} 
[2026-08-11 15:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:39: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-08-11 15:39: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-11 15:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15:39: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-08-11 15:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329384704001,"66":14396,"103":206,"83":41984,"24":26,"16":11705478098714624,"45":1867093919879333888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329384704001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:39:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:39:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11705478098714624,"km_value":11705478098714.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867093919879333888,"description":"Unknown IO ID 45"} 
[2026-08-11 15:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329384704001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1867093919879333888}} 
[2026-08-11 15:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":152263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:39:16] local.INFO: GPS data processed {"connection_id":152263,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:39:16] local.INFO: Acknowledgment sent {"connection_id":152263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:39:19] local.INFO: TCP Data received {"connection_id":153584,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:39:19] local.INFO: Processing buffer {"connection_id":153584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:39:19] local.INFO: IMEI packet received {"connection_id":153584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":153584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:39:24] local.INFO: TCP Data received {"connection_id":153584,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:39:24] local.INFO: Processing buffer {"connection_id":153584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:39:24] local.INFO: IMEI packet received {"connection_id":153584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":153584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:39:25] local.INFO: TCP Data received {"connection_id":153584,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04b6dd8012d9cd50005b36090001e00a32e..."} 
[2026-08-11 15:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04b6dd8012d9cd50005b36090001e00a32e..."} 
[2026-08-11 15:39:25] local.INFO: Processing buffer {"connection_id":153584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04b6dd8012d9cd50005b36090001e00a32e..."} 
[2026-08-11 15:39:25] local.INFO: Packet analysis {"connection_id":153584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04b"} 
[2026-08-11 15:39:25] local.INFO: Extracted packet for processing {"connection_id":153584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04b"} 
[2026-08-11 15:39:25] local.INFO: GPS Element Parsed {"raw_longitude":765252864,"raw_latitude":95641744,"longitude_deg":76.5252864,"latitude_deg":9.5641744,"altitude":30,"angle":163,"satellites":46,"speed":0,"hex_longitude":"2d9cd500","hex_latitude":"05b36090","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329377792001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735579044937728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145805209269137408,"note":"Value kept but may cause issues"} 
[2026-08-11 15:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786442903000,"timestamp_ms":1786442903000,"timestamp_seconds":1786442903,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04b6dd8"} 
[2026-08-11 15:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 15:39:25] 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-08-11 15: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-08-11 15:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:39:25] 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-08-11 15:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329377792001,"66":27691,"215":206,"83":17408,"24":0,"16":377735579044937728,"45":-7145805209269137408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329377792001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:39:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:39:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735579044937728,"km_value":377735579044937.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145805209269137408,"description":"Unknown IO ID 45"} 
[2026-08-11 15:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329377792001,"power":27691,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145805209269137408}} 
[2026-08-11 15:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":153584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:39:25] local.INFO: GPS data processed {"connection_id":153584,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:39:25] local.INFO: Acknowledgment sent {"connection_id":153584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:39:47] local.INFO: TCP Data received {"connection_id":152263,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04b9cb8012d19da000720b2f8003300fd29..."} 
[2026-08-11 15:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04b9cb8012d19da000720b2f8003300fd29..."} 
[2026-08-11 15:39:47] local.INFO: Processing buffer {"connection_id":152263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04b9cb8012d19da000720b2f8003300fd29..."} 
[2026-08-11 15:39:47] local.INFO: Packet analysis {"connection_id":152263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04b"} 
[2026-08-11 15:39:47] local.INFO: Extracted packet for processing {"connection_id":152263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04b"} 
[2026-08-11 15:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756668928,"raw_latitude":119583480,"longitude_deg":75.6668928,"latitude_deg":11.958348,"altitude":51,"angle":253,"satellites":41,"speed":21,"hex_longitude":"2d19da00","hex_latitude":"0720b2f8","is_valid_coordinates":true} 
[2026-08-11 15:39: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-08-11 15:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329385216001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11705598357798912,"note":"Value kept but may cause issues"} 
[2026-08-11 15:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865545807507404800,"note":"Value kept but may cause issues"} 
[2026-08-11 15:39:47] 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-08-11 15:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786442915000,"timestamp_ms":1786442915000,"timestamp_seconds":1786442915,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04b9cb8"} 
[2026-08-11 15:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:39: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-08-11 15:39: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 15:39:47] 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-08-11 15:39: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-08-11 15:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329385216001,"66":14461,"103":206,"83":41984,"24":21,"16":11705598357798912,"45":1865545807507404800},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329385216001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:39:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:39:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11705598357798912,"km_value":11705598357798.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865545807507404800,"description":"Unknown IO ID 45"} 
[2026-08-11 15:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329385216001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1865545807507404800}} 
[2026-08-11 15:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":152263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:39:47] local.INFO: GPS data processed {"connection_id":152263,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:39:47] local.INFO: Acknowledgment sent {"connection_id":152263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:39:56] local.INFO: TCP Data received {"connection_id":153584,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04b8d18012d9cd68005b36040001800ed2f..."} 
[2026-08-11 15:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04b8d18012d9cd68005b36040001800ed2f..."} 
[2026-08-11 15:39:56] local.INFO: Processing buffer {"connection_id":153584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04b8d18012d9cd68005b36040001800ed2f..."} 
[2026-08-11 15:39:56] local.INFO: Packet analysis {"connection_id":153584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04b"} 
[2026-08-11 15:39:56] local.INFO: Extracted packet for processing {"connection_id":153584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04b"} 
[2026-08-11 15:39:56] local.INFO: GPS Element Parsed {"raw_longitude":765253248,"raw_latitude":95641664,"longitude_deg":76.5253248,"latitude_deg":9.5641664,"altitude":24,"angle":237,"satellites":47,"speed":2,"hex_longitude":"2d9cd680","hex_latitude":"05b36040","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329383168001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735600519774208,"note":"Value kept but may cause issues"} 
[2026-08-11 15:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145805209269137408,"note":"Value kept but may cause issues"} 
[2026-08-11 15:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786442911000,"timestamp_ms":1786442911000,"timestamp_seconds":1786442911,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04b8d18"} 
[2026-08-11 15:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-11 15:39:56] 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-08-11 15: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-08-11 15:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:39:56] 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-08-11 15:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329383168001,"66":27908,"215":206,"83":17408,"24":2,"16":377735600519774208,"45":-7145805209269137408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329383168001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:39:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735600519774208,"km_value":377735600519774.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145805209269137408,"description":"Unknown IO ID 45"} 
[2026-08-11 15:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329383168001,"power":27908,"unknown_215":206,"unknown_83":17408,"ignition":2,"odometer":null,"unknown_45":-7145805209269137408}} 
[2026-08-11 15:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":153584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:39:56] local.INFO: GPS data processed {"connection_id":153584,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:39:56] local.INFO: Acknowledgment sent {"connection_id":153584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:40:14] local.INFO: TCP Data received {"connection_id":153585,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:40:14] local.INFO: Processing buffer {"connection_id":153585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:40:14] local.INFO: IMEI packet received {"connection_id":153585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":153585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:40:15] local.INFO: TCP Data received {"connection_id":153585,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:40:15] local.INFO: Processing buffer {"connection_id":153585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:40:15] local.INFO: IMEI packet received {"connection_id":153585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":153585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:40:16] local.INFO: TCP Data received {"connection_id":153585,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:40:16] local.INFO: Processing buffer {"connection_id":153585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:40:16] local.INFO: IMEI packet received {"connection_id":153585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":153585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:40:17] local.INFO: TCP Data received {"connection_id":153585,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04c40c8012d19aec007208680003400aa29..."} 
[2026-08-11 15:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04c40c8012d19aec007208680003400aa29..."} 
[2026-08-11 15:40:17] local.INFO: Processing buffer {"connection_id":153585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04c40c8012d19aec007208680003400aa29..."} 
[2026-08-11 15:40:17] local.INFO: Packet analysis {"connection_id":153585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04c"} 
[2026-08-11 15:40:17] local.INFO: Extracted packet for processing {"connection_id":153585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04c"} 
[2026-08-11 15:40:17] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119572096,"longitude_deg":75.6657856,"latitude_deg":11.9572096,"altitude":52,"angle":170,"satellites":41,"speed":43,"hex_longitude":"2d19aec0","hex_latitude":"07208680","is_valid_coordinates":true} 
[2026-08-11 15:40: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-08-11 15:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329396480001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11706504595898368,"note":"Value kept but may cause issues"} 
[2026-08-11 15:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506827264,"note":"Value kept but may cause issues"} 
[2026-08-11 15:40:17] 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-08-11 15:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786442957000,"timestamp_ms":1786442957000,"timestamp_seconds":1786442957,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04c40c8"} 
[2026-08-11 15:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:40:17] 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-08-11 15:40: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-11 15:40:17] 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-08-11 15:40: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-08-11 15:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329396480001,"66":13972,"103":206,"83":41984,"24":43,"16":11706504595898368,"45":1850416527506827264},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329396480001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:40:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:40:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11706504595898368,"km_value":11706504595898.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506827264,"description":"Unknown IO ID 45"} 
[2026-08-11 15:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329396480001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1850416527506827264}} 
[2026-08-11 15:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":153585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:40:17] local.INFO: GPS data processed {"connection_id":153585,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:40:17] local.INFO: Acknowledgment sent {"connection_id":153585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:40:24] local.INFO: TCP Data received {"connection_id":152265,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:40:24] local.INFO: Processing buffer {"connection_id":152265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:40:24] local.INFO: IMEI packet received {"connection_id":152265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":152265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:40:29] local.INFO: TCP Data received {"connection_id":152265,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:40:29] local.INFO: Processing buffer {"connection_id":152265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:40:29] local.INFO: IMEI packet received {"connection_id":152265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":152265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:40:30] local.INFO: TCP Data received {"connection_id":152265,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04b94e8012d9cd5c005b36010001800ff2f..."} 
[2026-08-11 15:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04b94e8012d9cd5c005b36010001800ff2f..."} 
[2026-08-11 15:40:30] local.INFO: Processing buffer {"connection_id":152265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04b94e8012d9cd5c005b36010001800ff2f..."} 
[2026-08-11 15:40:30] local.INFO: Packet analysis {"connection_id":152265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04b"} 
[2026-08-11 15:40:30] local.INFO: Extracted packet for processing {"connection_id":152265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04b"} 
[2026-08-11 15:40:30] local.INFO: GPS Element Parsed {"raw_longitude":765253056,"raw_latitude":95641616,"longitude_deg":76.5253056,"latitude_deg":9.5641616,"altitude":24,"angle":255,"satellites":47,"speed":3,"hex_longitude":"2d9cd5c0","hex_latitude":"05b36010","is_valid_coordinates":true} 
[2026-08-11 15:40: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-08-11 15:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329385216001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377735609109708800,"note":"Value kept but may cause issues"} 
[2026-08-11 15:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145382996804091904,"note":"Value kept but may cause issues"} 
[2026-08-11 15:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786442913000,"timestamp_ms":1786442913000,"timestamp_seconds":1786442913,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04b94e8"} 
[2026-08-11 15:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:40: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 15:40:30] 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-08-11 15:40: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-08-11 15:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:40:30] 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-08-11 15:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329385216001,"66":27930,"215":206,"83":17408,"24":3,"16":377735609109708800,"45":-7145382996804091904},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-11 15:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329385216001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:40:30] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-11 15:40:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377735609109708800,"km_value":377735609109708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145382996804091904,"description":"Unknown IO ID 45"} 
[2026-08-11 15:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329385216001,"power":27930,"unknown_215":206,"unknown_83":17408,"ignition":3,"odometer":null,"unknown_45":-7145382996804091904}} 
[2026-08-11 15:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":152265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:40:30] local.INFO: GPS data processed {"connection_id":152265,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:40:30] local.INFO: Acknowledgment sent {"connection_id":152265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:40:48] local.INFO: TCP Data received {"connection_id":153585,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04c5450012d19b4c0072072200031009d2a..."} 
[2026-08-11 15:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04c5450012d19b4c0072072200031009d2a..."} 
[2026-08-11 15:40:48] local.INFO: Processing buffer {"connection_id":153585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04c5450012d19b4c0072072200031009d2a..."} 
[2026-08-11 15:40:48] local.INFO: Packet analysis {"connection_id":153585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04c"} 
[2026-08-11 15:40:48] local.INFO: Extracted packet for processing {"connection_id":153585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04c"} 
[2026-08-11 15:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756659392,"raw_latitude":119566880,"longitude_deg":75.6659392,"latitude_deg":11.956688,"altitude":49,"angle":157,"satellites":42,"speed":37,"hex_longitude":"2d19b4c0","hex_latitude":"07207220","is_valid_coordinates":true} 
[2026-08-11 15:40: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-08-11 15:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329396992001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11706766588903424,"note":"Value kept but may cause issues"} 
[2026-08-11 15:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633738842112,"note":"Value kept but may cause issues"} 
[2026-08-11 15:40:48] 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-08-11 15:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786442962000,"timestamp_ms":1786442962000,"timestamp_seconds":1786442962,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04c5450"} 
[2026-08-11 15:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:40:48] 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-08-11 15:40: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":148,"data_length":795,"current_offset":136} 
[2026-08-11 15:40:48] 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-08-11 15:40: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-08-11 15:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329396992001,"66":13906,"103":206,"83":41984,"24":37,"16":11706766588903424,"45":1850627633738842112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329396992001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:40:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:40:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11706766588903424,"km_value":11706766588903.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633738842112,"description":"Unknown IO ID 45"} 
[2026-08-11 15:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329396992001,"power":13906,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1850627633738842112}} 
[2026-08-11 15:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":153585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:40:48] local.INFO: GPS data processed {"connection_id":153585,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:40:48] local.INFO: Acknowledgment sent {"connection_id":153585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:41:01] local.INFO: TCP Data received {"connection_id":152265,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04d0030012d9c4b4005b39c70000501252e..."} 
[2026-08-11 15:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04d0030012d9c4b4005b39c70000501252e..."} 
[2026-08-11 15:41:01] local.INFO: Processing buffer {"connection_id":152265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04d0030012d9c4b4005b39c70000501252e..."} 
[2026-08-11 15:41:01] local.INFO: Packet analysis {"connection_id":152265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:41:01] local.INFO: Extracted packet for processing {"connection_id":152265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:41:01] local.INFO: GPS Element Parsed {"raw_longitude":765217600,"raw_latitude":95657072,"longitude_deg":76.52176,"latitude_deg":9.5657072,"altitude":5,"angle":293,"satellites":46,"speed":23,"hex_longitude":"2d9c4b40","hex_latitude":"05b39c70","is_valid_coordinates":true} 
[2026-08-11 15:41: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-08-11 15:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329406720001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737507485253632,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7176556350471899136,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786443006000,"timestamp_ms":1786443006000,"timestamp_seconds":1786443006,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04d0030"} 
[2026-08-11 15:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:41: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-08-11 15:41: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-08-11 15:41: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-08-11 15:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:41:01] 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-08-11 15:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329406720001,"66":27821,"226":206,"83":17408,"24":23,"16":377737507485253632,"45":-7176556350471899136},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329406720001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:41:01] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:41:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737507485253632,"km_value":377737507485253.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7176556350471899136,"description":"Unknown IO ID 45"} 
[2026-08-11 15:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329406720001,"power":27821,"unknown_226":206,"unknown_83":17408,"ignition":23,"odometer":null,"unknown_45":-7176556350471899136}} 
[2026-08-11 15:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":152265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:41:01] local.INFO: GPS data processed {"connection_id":152265,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:41:01] local.INFO: Acknowledgment sent {"connection_id":152265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:41:09] local.INFO: TCP Data received {"connection_id":152634,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:41:09] local.INFO: Processing buffer {"connection_id":152634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:41:09] local.INFO: IMEI packet received {"connection_id":152634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":152634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:41:10] local.INFO: TCP Data received {"connection_id":152634,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:41:10] local.INFO: Processing buffer {"connection_id":152634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:41:10] local.INFO: IMEI packet received {"connection_id":152634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":152634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:41:15] local.INFO: TCP Data received {"connection_id":152634,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:41:15] local.INFO: Processing buffer {"connection_id":152634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:41:15] local.INFO: IMEI packet received {"connection_id":152634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":152634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:41:16] local.INFO: TCP Data received {"connection_id":152634,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04c63f0012d19b980072065c0002f00a82a..."} 
[2026-08-11 15:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04c63f0012d19b980072065c0002f00a82a..."} 
[2026-08-11 15:41:16] local.INFO: Processing buffer {"connection_id":152634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04c63f0012d19b980072065c0002f00a82a..."} 
[2026-08-11 15:41:16] local.INFO: Packet analysis {"connection_id":152634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04c"} 
[2026-08-11 15:41:16] local.INFO: Extracted packet for processing {"connection_id":152634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04c"} 
[2026-08-11 15:41:16] local.INFO: GPS Element Parsed {"raw_longitude":756660608,"raw_latitude":119563712,"longitude_deg":75.6660608,"latitude_deg":11.9563712,"altitude":47,"angle":168,"satellites":42,"speed":33,"hex_longitude":"2d19b980","hex_latitude":"072065c0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329398272001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11706929797660672,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852316483597770752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:16] 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-08-11 15:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786442966000,"timestamp_ms":1786442966000,"timestamp_seconds":1786442966,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04c63f0"} 
[2026-08-11 15:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:41: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-08-11 15: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-11 15:41:16] 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-08-11 15: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-08-11 15:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329398272001,"66":13167,"103":206,"83":41984,"24":33,"16":11706929797660672,"45":1852316483597770752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329398272001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:41:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:41:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11706929797660672,"km_value":11706929797660.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852316483597770752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329398272001,"power":13167,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1852316483597770752}} 
[2026-08-11 15:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":152634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:41:16] local.INFO: GPS data processed {"connection_id":152634,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:41:16] local.INFO: Acknowledgment sent {"connection_id":152634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:41:19] local.INFO: TCP Data received {"connection_id":152266,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:41:19] local.INFO: Processing buffer {"connection_id":152266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:41:19] local.INFO: IMEI packet received {"connection_id":152266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":152266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:41:24] local.INFO: TCP Data received {"connection_id":152266,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:41:24] local.INFO: Processing buffer {"connection_id":152266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:41:24] local.INFO: IMEI packet received {"connection_id":152266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":152266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:41:25] local.INFO: TCP Data received {"connection_id":152266,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04d0fd0012d9c440005b39f60000401202f..."} 
[2026-08-11 15:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04d0fd0012d9c440005b39f60000401202f..."} 
[2026-08-11 15:41:25] local.INFO: Processing buffer {"connection_id":152266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04d0fd0012d9c440005b39f60000401202f..."} 
[2026-08-11 15:41:25] local.INFO: Packet analysis {"connection_id":152266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:41:25] local.INFO: Extracted packet for processing {"connection_id":152266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:41:25] local.INFO: GPS Element Parsed {"raw_longitude":765215744,"raw_latitude":95657824,"longitude_deg":76.5215744,"latitude_deg":9.5657824,"altitude":4,"angle":288,"satellites":47,"speed":20,"hex_longitude":"2d9c4400","hex_latitude":"05b39f60","is_valid_coordinates":true} 
[2026-08-11 15:41:25] 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-08-11 15:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329409536001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7184578387307106304,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786443010000,"timestamp_ms":1786443010000,"timestamp_seconds":1786443010,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04d0fd0"} 
[2026-08-11 15:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 15:41:25] 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-08-11 15: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-08-11 15:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:41:25] 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-08-11 15:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329409536001,"66":27843,"226":206,"83":17408,"24":20,"16":377737601974534144,"45":-7184578387307106304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329409536001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:41:25] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:41:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7184578387307106304,"description":"Unknown IO ID 45"} 
[2026-08-11 15:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329409536001,"power":27843,"unknown_226":206,"unknown_83":17408,"ignition":20,"odometer":null,"unknown_45":-7184578387307106304}} 
[2026-08-11 15:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":152266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:41:25] local.INFO: GPS data processed {"connection_id":152266,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:41:25] local.INFO: Acknowledgment sent {"connection_id":152266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:41:32] local.INFO: TCP Data received {"connection_id":154969,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154969,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:41:32] local.INFO: Processing buffer {"connection_id":154969,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:41:32] local.INFO: IMEI packet received {"connection_id":154969,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":154969,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:41:32] local.INFO: TCP Data received {"connection_id":154969,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04d69a8012d0b83c0070351c80015001c0a..."} 
[2026-08-11 15:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04d69a8012d0b83c0070351c80015001c0a..."} 
[2026-08-11 15:41:32] local.INFO: Processing buffer {"connection_id":154969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04d69a8012d0b83c0070351c80015001c0a..."} 
[2026-08-11 15:41:32] local.INFO: Packet analysis {"connection_id":154969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:41:32] local.INFO: Extracted packet for processing {"connection_id":154969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:41:32] local.INFO: GPS Element Parsed {"raw_longitude":755729344,"raw_latitude":117658056,"longitude_deg":75.5729344,"latitude_deg":11.7658056,"altitude":21,"angle":28,"satellites":10,"speed":14,"hex_longitude":"2d0b83c0","hex_latitude":"070351c8","is_valid_coordinates":true} 
[2026-08-11 15:41: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-08-11 15:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329414912001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27625474461007872,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828873467788564480,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786443033000,"timestamp_ms":1786443033000,"timestamp_seconds":1786443033,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04d69a8"} 
[2026-08-11 15:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:41:32] 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-08-11 15:41: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-11 15:41:32] 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-08-11 15:41: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-08-11 15:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":154969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":154969,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":154969,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329414912001,"66":14428,"37":206,"94":11008,"24":14,"16":27625474461007872,"45":828873467788564480},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 15:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329414912001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:41:32] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 15:41:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27625474461007872,"km_value":27625474461007.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":828873467788564480,"description":"Unknown IO ID 45"} 
[2026-08-11 15:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329414912001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":828873467788564480}} 
[2026-08-11 15:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":154969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625482,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:41:33] local.INFO: GPS data processed {"connection_id":154969,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:41:33] local.INFO: Acknowledgment sent {"connection_id":154969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:41:47] local.INFO: TCP Data received {"connection_id":152634,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04ddaf0012d19cdc007201a480031007925..."} 
[2026-08-11 15:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04ddaf0012d19cdc007201a480031007925..."} 
[2026-08-11 15:41:47] local.INFO: Processing buffer {"connection_id":152634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04ddaf0012d19cdc007201a480031007925..."} 
[2026-08-11 15:41:47] local.INFO: Packet analysis {"connection_id":152634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:41:47] local.INFO: Extracted packet for processing {"connection_id":152634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544392,"longitude_deg":75.6665792,"latitude_deg":11.9544392,"altitude":49,"angle":121,"satellites":37,"speed":7,"hex_longitude":"2d19cdc0","hex_latitude":"07201a48","is_valid_coordinates":true} 
[2026-08-11 15:41: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-08-11 15:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329423616001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11707926230073344,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859212620521453568,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:47] 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-08-11 15:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786443062000,"timestamp_ms":1786443062000,"timestamp_seconds":1786443062,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04ddaf0"} 
[2026-08-11 15:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:41: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-08-11 15:41: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":46,"data_length":795,"current_offset":136} 
[2026-08-11 15:41:47] 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-08-11 15:41: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-08-11 15:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329423616001,"66":13102,"101":206,"83":41984,"24":7,"16":11707926230073344,"45":1859212620521453568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329423616001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:41:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:41:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11707926230073344,"km_value":11707926230073.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859212620521453568,"description":"Unknown IO ID 45"} 
[2026-08-11 15:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329423616001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1859212620521453568}} 
[2026-08-11 15:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":152634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:41:47] local.INFO: GPS data processed {"connection_id":152634,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:41:47] local.INFO: Acknowledgment sent {"connection_id":152634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:41:56] local.INFO: TCP Data received {"connection_id":152266,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:41:56] local.INFO: Processing buffer {"connection_id":152266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:41:56] local.INFO: Packet analysis {"connection_id":152266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:41:56] local.INFO: Extracted packet for processing {"connection_id":152266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:41:56] local.INFO: GPS Element Parsed {"raw_longitude":765214784,"raw_latitude":95658248,"longitude_deg":76.5214784,"latitude_deg":9.5658248,"altitude":4,"angle":300,"satellites":46,"speed":0,"hex_longitude":"2d9c4040","hex_latitude":"05b3a108","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329410560001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7186619080888066048,"note":"Value kept but may cause issues"} 
[2026-08-11 15:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786443012000,"timestamp_ms":1786443012000,"timestamp_seconds":1786443012,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04d17a0"} 
[2026-08-11 15:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 15:41:56] 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-08-11 15: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-08-11 15:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:41:56] 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-08-11 15:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329410560001,"66":27365,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7186619080888066048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329410560001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:41:56] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:41:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7186619080888066048,"description":"Unknown IO ID 45"} 
[2026-08-11 15:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329410560001,"power":27365,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7186619080888066048}} 
[2026-08-11 15:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":152266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:41:56] local.INFO: GPS data processed {"connection_id":152266,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:41:56] local.INFO: Acknowledgment sent {"connection_id":152266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:42:03] local.INFO: TCP Data received {"connection_id":154969,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04eb1c8012d0bff80070358e00012007f0a..."} 
[2026-08-11 15:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04eb1c8012d0bff80070358e00012007f0a..."} 
[2026-08-11 15:42:03] local.INFO: Processing buffer {"connection_id":154969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04eb1c8012d0bff80070358e00012007f0a..."} 
[2026-08-11 15:42:03] local.INFO: Packet analysis {"connection_id":154969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04e"} 
[2026-08-11 15:42:03] local.INFO: Extracted packet for processing {"connection_id":154969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04e"} 
[2026-08-11 15:42:03] local.INFO: GPS Element Parsed {"raw_longitude":755761024,"raw_latitude":117659872,"longitude_deg":75.5761024,"latitude_deg":11.7659872,"altitude":18,"angle":127,"satellites":10,"speed":0,"hex_longitude":"2d0bff80","hex_latitude":"070358e0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329437696001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27627016354267136,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864550421087713280,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786443117000,"timestamp_ms":1786443117000,"timestamp_seconds":1786443117,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04eb1c8"} 
[2026-08-11 15:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:42:03] 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-08-11 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-11 15:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":154969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":154969,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":154969,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329437696001,"66":14537,"37":206,"94":11008,"24":0,"16":27627016354267136,"45":864550421087713280},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 15:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329437696001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:42:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 15:42:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27627016354267136,"km_value":27627016354267.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":864550421087713280,"description":"Unknown IO ID 45"} 
[2026-08-11 15:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329437696001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":864550421087713280}} 
[2026-08-11 15:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":154969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625485,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:42:04] local.INFO: GPS data processed {"connection_id":154969,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:42:04] local.INFO: Acknowledgment sent {"connection_id":154969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:42:10] local.INFO: TCP Data received {"connection_id":152267,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:42:10] local.INFO: Processing buffer {"connection_id":152267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:42:10] local.INFO: IMEI packet received {"connection_id":152267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":152267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:42:15] local.INFO: TCP Data received {"connection_id":152267,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:42:15] local.INFO: Processing buffer {"connection_id":152267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:42:15] local.INFO: IMEI packet received {"connection_id":152267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":152267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:42:16] local.INFO: TCP Data received {"connection_id":152267,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04de2c0012d19cec0072019800032008f27..."} 
[2026-08-11 15:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04de2c0012d19cec0072019800032008f27..."} 
[2026-08-11 15:42:16] local.INFO: Processing buffer {"connection_id":152267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04de2c0012d19cec0072019800032008f27..."} 
[2026-08-11 15:42:16] local.INFO: Packet analysis {"connection_id":152267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:42:16] local.INFO: Extracted packet for processing {"connection_id":152267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:42:16] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119544192,"longitude_deg":75.6666048,"latitude_deg":11.9544192,"altitude":50,"angle":143,"satellites":39,"speed":5,"hex_longitude":"2d19cec0","hex_latitude":"07201980","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329423872001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11707943409942528,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009780224,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:16] 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-08-11 15:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786443064000,"timestamp_ms":1786443064000,"timestamp_seconds":1786443064,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04de2c0"} 
[2026-08-11 15:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:42: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-08-11 15: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 15:42:16] 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-08-11 15: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-08-11 15:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329423872001,"66":13048,"101":206,"83":41984,"24":5,"16":11707943409942528,"45":1859353358009780224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329423872001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:42:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:42:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11707943409942528,"km_value":11707943409942.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009780224,"description":"Unknown IO ID 45"} 
[2026-08-11 15:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329423872001,"power":13048,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1859353358009780224}} 
[2026-08-11 15:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":152267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:42:16] local.INFO: GPS data processed {"connection_id":152267,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:42:16] local.INFO: Acknowledgment sent {"connection_id":152267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:42:19] local.INFO: TCP Data received {"connection_id":153586,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:42:19] local.INFO: Processing buffer {"connection_id":153586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:42:19] local.INFO: IMEI packet received {"connection_id":153586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":153586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:42:22] local.INFO: TCP Data received {"connection_id":152635,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:42:22] local.INFO: Processing buffer {"connection_id":152635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:42:22] local.INFO: IMEI packet received {"connection_id":152635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":152635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:42:22] local.INFO: TCP Data received {"connection_id":152635,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:42:22] local.INFO: Processing buffer {"connection_id":152635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:42:22] local.INFO: IMEI packet received {"connection_id":152635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":152635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:42:24] local.INFO: TCP Data received {"connection_id":153586,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:42:24] local.INFO: Processing buffer {"connection_id":153586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:42:24] local.INFO: IMEI packet received {"connection_id":153586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":153586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:42:25] local.INFO: TCP Data received {"connection_id":153586,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:42:25] local.INFO: Processing buffer {"connection_id":153586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:42:25] local.INFO: Packet analysis {"connection_id":153586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:42:25] local.INFO: Extracted packet for processing {"connection_id":153586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:42:25] local.INFO: GPS Element Parsed {"raw_longitude":765214784,"raw_latitude":95658248,"longitude_deg":76.5214784,"latitude_deg":9.5658248,"altitude":4,"angle":300,"satellites":46,"speed":0,"hex_longitude":"2d9c4040","hex_latitude":"05b3a108","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329410560001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7186619080888066048,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786443012000,"timestamp_ms":1786443012000,"timestamp_seconds":1786443012,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04d17a0"} 
[2026-08-11 15:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 15:42:25] 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-08-11 15: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-08-11 15:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:42:25] 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-08-11 15:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329410560001,"66":27365,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7186619080888066048},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329410560001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:42:25] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:42:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7186619080888066048,"description":"Unknown IO ID 45"} 
[2026-08-11 15:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329410560001,"power":27365,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7186619080888066048}} 
[2026-08-11 15:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":153586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:42:25] local.INFO: GPS data processed {"connection_id":153586,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:42:25] local.INFO: Acknowledgment sent {"connection_id":153586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:42:26] local.INFO: TCP Data received {"connection_id":152635,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:42:26] local.INFO: Processing buffer {"connection_id":152635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:42:26] local.INFO: IMEI packet received {"connection_id":152635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":152635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:42:27] local.INFO: TCP Data received {"connection_id":152635,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:42:27] local.INFO: Processing buffer {"connection_id":152635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:42:27] local.INFO: IMEI packet received {"connection_id":152635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":152635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:42:27] local.INFO: TCP Data received {"connection_id":152635,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04eb5b0012d0bffc0070358e00012006a0a..."} 
[2026-08-11 15:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04eb5b0012d0bffc0070358e00012006a0a..."} 
[2026-08-11 15:42:27] local.INFO: Processing buffer {"connection_id":152635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04eb5b0012d0bffc0070358e00012006a0a..."} 
[2026-08-11 15:42:27] local.INFO: Packet analysis {"connection_id":152635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04e"} 
[2026-08-11 15:42:27] local.INFO: Extracted packet for processing {"connection_id":152635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04e"} 
[2026-08-11 15:42:27] local.INFO: GPS Element Parsed {"raw_longitude":755761088,"raw_latitude":117659872,"longitude_deg":75.5761088,"latitude_deg":11.7659872,"altitude":18,"angle":106,"satellites":10,"speed":0,"hex_longitude":"2d0bffc0","hex_latitude":"070358e0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329437952001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27627020649234432,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864550421087707136,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786443118000,"timestamp_ms":1786443118000,"timestamp_seconds":1786443118,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04eb5b0"} 
[2026-08-11 15:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:42: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-08-11 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-11 15:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329437952001,"66":14352,"37":206,"94":11008,"24":0,"16":27627020649234432,"45":864550421087707136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 15:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329437952001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:42:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 15:42:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27627020649234432,"km_value":27627020649234.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":864550421087707136,"description":"Unknown IO ID 45"} 
[2026-08-11 15:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329437952001,"power":14352,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":864550421087707136}} 
[2026-08-11 15:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":152635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625488,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:42:27] local.INFO: GPS data processed {"connection_id":152635,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:42:27] local.INFO: Acknowledgment sent {"connection_id":152635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:42:28] local.INFO: TCP Data received {"connection_id":152635,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04ec168012d0c010007035860001200880a..."} 
[2026-08-11 15:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04ec168012d0c010007035860001200880a..."} 
[2026-08-11 15:42:28] local.INFO: Processing buffer {"connection_id":152635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04ec168012d0c010007035860001200880a..."} 
[2026-08-11 15:42:28] local.INFO: Packet analysis {"connection_id":152635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04e"} 
[2026-08-11 15:42:28] local.INFO: Extracted packet for processing {"connection_id":152635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04e"} 
[2026-08-11 15:42:28] local.INFO: GPS Element Parsed {"raw_longitude":755761408,"raw_latitude":117659744,"longitude_deg":75.5761408,"latitude_deg":11.7659744,"altitude":18,"angle":136,"satellites":10,"speed":6,"hex_longitude":"2d0c0100","hex_latitude":"07035860","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329438208001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27627037829103616,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864620789831884800,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786443121000,"timestamp_ms":1786443121000,"timestamp_seconds":1786443121,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04ec168"} 
[2026-08-11 15:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:42: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-08-11 15: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-11 15:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144320,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5067030784902912,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:28] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4031667160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:28] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504021181530112,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639410753788709,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:28] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101786276102400,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529151694,"corrected_to":0} 
[2026-08-11 15:42:28] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2818649355,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:28] local.WARNING: Large IO value detected {"io_id":253,"raw_value":2147943257,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:28] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:28] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-522409845792964590,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,37,94,24,241,157,16,38,159,177,45,128,88,18,10,66,173,169,1,240,103,227,3,4,113,205,99,253,239,56,2,98,7,6,206,11],"length":628,"final_offset":758,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1529151694,"validated":0}]} 
[2026-08-11 15:42:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297153283864920064,"timestamp_seconds":1297153283864920.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329438208001,"66":14515,"37":206,"94":11008,"24":6,"16":27627037829103616,"45":864620789831884800},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 15:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329438208001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:42:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 15:42:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27627037829103616,"km_value":27627037829103.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":864620789831884800,"description":"Unknown IO ID 45"} 
[2026-08-11 15:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329438208001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":864620789831884800}} 
[2026-08-11 15:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":152635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625489,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:42:28] local.INFO: GPS data processed {"connection_id":152635,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:42:28] local.INFO: Acknowledgment sent {"connection_id":152635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:42:47] local.INFO: TCP Data received {"connection_id":152267,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04de6a8012d19cf00072019480032007d29..."} 
[2026-08-11 15:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04de6a8012d19cf00072019480032007d29..."} 
[2026-08-11 15:42:47] local.INFO: Processing buffer {"connection_id":152267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04de6a8012d19cf00072019480032007d29..."} 
[2026-08-11 15:42:47] local.INFO: Packet analysis {"connection_id":152267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:42:47] local.INFO: Extracted packet for processing {"connection_id":152267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:42:47] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119544136,"longitude_deg":75.6666112,"latitude_deg":11.9544136,"altitude":50,"angle":125,"satellites":41,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201948","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329424384001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11707947704909824,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986439680,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:47] 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-08-11 15:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786443065000,"timestamp_ms":1786443065000,"timestamp_seconds":1786443065,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04de6a8"} 
[2026-08-11 15:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:42: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-08-11 15: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 15:42:47] 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-08-11 15: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-08-11 15:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329424384001,"66":13080,"101":206,"83":41984,"24":0,"16":11707947704909824,"45":1859634832986439680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329424384001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:42:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:42:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11707947704909824,"km_value":11707947704909.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986439680,"description":"Unknown IO ID 45"} 
[2026-08-11 15:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329424384001,"power":13080,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986439680}} 
[2026-08-11 15:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":152267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:42:47] local.INFO: GPS data processed {"connection_id":152267,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:42:47] local.INFO: Acknowledgment sent {"connection_id":152267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:42:57] local.INFO: TCP Data received {"connection_id":153586,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:42:57] local.INFO: Processing buffer {"connection_id":153586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:42:57] local.INFO: Packet analysis {"connection_id":153586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:42:57] local.INFO: Extracted packet for processing {"connection_id":153586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:42:57] local.INFO: GPS Element Parsed {"raw_longitude":765214784,"raw_latitude":95658248,"longitude_deg":76.5214784,"latitude_deg":9.5658248,"altitude":4,"angle":300,"satellites":46,"speed":0,"hex_longitude":"2d9c4040","hex_latitude":"05b3a108","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329410560001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7186619080888066048,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786443012000,"timestamp_ms":1786443012000,"timestamp_seconds":1786443012,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04d17a0"} 
[2026-08-11 15:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 15:42:57] 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-08-11 15: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-08-11 15:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:42:57] 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-08-11 15:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329410560001,"66":27365,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7186619080888066048},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329410560001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:42:57] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:42:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7186619080888066048,"description":"Unknown IO ID 45"} 
[2026-08-11 15:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329410560001,"power":27365,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7186619080888066048}} 
[2026-08-11 15:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":153586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:42:57] local.INFO: GPS data processed {"connection_id":153586,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:42:57] local.INFO: Acknowledgment sent {"connection_id":153586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:42:59] local.INFO: TCP Data received {"connection_id":152635,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04f5da8012d0c1f0007035308001a003f0a..."} 
[2026-08-11 15:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04f5da8012d0c1f0007035308001a003f0a..."} 
[2026-08-11 15:42:59] local.INFO: Processing buffer {"connection_id":152635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04f5da8012d0c1f0007035308001a003f0a..."} 
[2026-08-11 15:42:59] local.INFO: Packet analysis {"connection_id":152635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:42:59] local.INFO: Extracted packet for processing {"connection_id":152635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:42:59] local.INFO: GPS Element Parsed {"raw_longitude":755769088,"raw_latitude":117658376,"longitude_deg":75.5769088,"latitude_deg":11.7658376,"altitude":26,"angle":63,"satellites":10,"speed":15,"hex_longitude":"2d0c1f00","hex_latitude":"07035308","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329448704001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27627832398053376,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872713195411832832,"note":"Value kept but may cause issues"} 
[2026-08-11 15:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786443161000,"timestamp_ms":1786443161000,"timestamp_seconds":1786443161,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04f5da8"} 
[2026-08-11 15:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:42: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-08-11 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-11 15:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329448704001,"66":14559,"37":206,"94":11008,"24":15,"16":27627832398053376,"45":872713195411832832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 15:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329448704001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:42:59] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 15:42:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27627832398053376,"km_value":27627832398053.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":872713195411832832,"description":"Unknown IO ID 45"} 
[2026-08-11 15:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329448704001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":872713195411832832}} 
[2026-08-11 15:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":152635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625492,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:42:59] local.INFO: GPS data processed {"connection_id":152635,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:42:59] local.INFO: Acknowledgment sent {"connection_id":152635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:43:10] local.INFO: TCP Data received {"connection_id":153587,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:43:10] local.INFO: Processing buffer {"connection_id":153587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:43:10] local.INFO: IMEI packet received {"connection_id":153587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":153587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:43:15] local.INFO: TCP Data received {"connection_id":153587,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:43:15] local.INFO: Processing buffer {"connection_id":153587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:43:15] local.INFO: IMEI packet received {"connection_id":153587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":153587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:43:16] local.INFO: TCP Data received {"connection_id":153587,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04e38b0012d19cec0072019400032007d2a..."} 
[2026-08-11 15:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04e38b0012d19cec0072019400032007d2a..."} 
[2026-08-11 15:43:16] local.INFO: Processing buffer {"connection_id":153587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04e38b0012d19cec0072019400032007d2a..."} 
[2026-08-11 15:43:16] local.INFO: Packet analysis {"connection_id":153587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04e"} 
[2026-08-11 15:43:16] local.INFO: Extracted packet for processing {"connection_id":153587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04e"} 
[2026-08-11 15:43:16] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119544128,"longitude_deg":75.6666048,"latitude_deg":11.9544128,"altitude":50,"angle":125,"satellites":42,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201940","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329424640001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11707951999877120,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730603008,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:16] 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-08-11 15:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786443086000,"timestamp_ms":1786443086000,"timestamp_seconds":1786443086,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04e38b0"} 
[2026-08-11 15:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:43: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-08-11 15: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-11 15:43:16] 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-08-11 15: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-08-11 15:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329424640001,"66":13015,"101":206,"83":41984,"24":0,"16":11707951999877120,"45":1859705201730603008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329424640001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:43:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:43:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11707951999877120,"km_value":11707951999877.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730603008,"description":"Unknown IO ID 45"} 
[2026-08-11 15:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329424640001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730603008}} 
[2026-08-11 15:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":153587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:43:16] local.INFO: GPS data processed {"connection_id":153587,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:43:16] local.INFO: Acknowledgment sent {"connection_id":153587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:43:19] local.INFO: TCP Data received {"connection_id":153588,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:43:19] local.INFO: Processing buffer {"connection_id":153588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:43:19] local.INFO: IMEI packet received {"connection_id":153588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":153588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:43:22] local.INFO: TCP Data received {"connection_id":152268,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152268,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:43:22] local.INFO: Processing buffer {"connection_id":152268,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:43:22] local.INFO: IMEI packet received {"connection_id":152268,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":152268,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:43:24] local.INFO: TCP Data received {"connection_id":153588,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:43:24] local.INFO: Processing buffer {"connection_id":153588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:43:24] local.INFO: IMEI packet received {"connection_id":153588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":153588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:43:25] local.INFO: TCP Data received {"connection_id":153588,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:43:25] local.INFO: Processing buffer {"connection_id":153588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:43:25] local.INFO: Packet analysis {"connection_id":153588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:43:25] local.INFO: Extracted packet for processing {"connection_id":153588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:43:25] local.INFO: GPS Element Parsed {"raw_longitude":765214784,"raw_latitude":95658248,"longitude_deg":76.5214784,"latitude_deg":9.5658248,"altitude":4,"angle":300,"satellites":46,"speed":0,"hex_longitude":"2d9c4040","hex_latitude":"05b3a108","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329410560001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7186619080888066048,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786443012000,"timestamp_ms":1786443012000,"timestamp_seconds":1786443012,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04d17a0"} 
[2026-08-11 15:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 15:43:25] 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-08-11 15: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-08-11 15:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:43:25] 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-08-11 15:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329410560001,"66":27365,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7186619080888066048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329410560001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:43:25] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:43:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7186619080888066048,"description":"Unknown IO ID 45"} 
[2026-08-11 15:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329410560001,"power":27365,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7186619080888066048}} 
[2026-08-11 15:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":153588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:43:25] local.INFO: GPS data processed {"connection_id":153588,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:43:25] local.INFO: Acknowledgment sent {"connection_id":153588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:43:27] local.INFO: TCP Data received {"connection_id":152268,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152268,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:43:27] local.INFO: Processing buffer {"connection_id":152268,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:43:27] local.INFO: IMEI packet received {"connection_id":152268,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":152268,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:43:27] local.INFO: TCP Data received {"connection_id":152268,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 15:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152268,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 15:43:27] local.INFO: Processing buffer {"connection_id":152268,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 15:43:27] local.INFO: IMEI packet received {"connection_id":152268,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":152268,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:43:28] local.INFO: TCP Data received {"connection_id":152268,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04f6960012d0c248007035460001a004b0a..."} 
[2026-08-11 15:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04f6960012d0c248007035460001a004b0a..."} 
[2026-08-11 15:43:28] local.INFO: Processing buffer {"connection_id":152268,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019ff0..."} 
[2026-08-11 15:43:28] local.INFO: IMEI packet received {"connection_id":152268,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":152268,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:43:29] local.INFO: TCP Data received {"connection_id":152268,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04f84b8012d0c310007035768001b00590a..."} 
[2026-08-11 15:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04f84b8012d0c310007035768001b00590a..."} 
[2026-08-11 15:43:29] local.INFO: Processing buffer {"connection_id":152268,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ff04f6960012d0c248007035460001a004b0a..."} 
[2026-08-11 15:43:29] local.INFO: Packet analysis {"connection_id":152268,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:43:29] local.INFO: Extracted packet for processing {"connection_id":152268,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:43:29] local.INFO: GPS Element Parsed {"raw_longitude":755770496,"raw_latitude":117658720,"longitude_deg":75.5770496,"latitude_deg":11.765872,"altitude":26,"angle":75,"satellites":10,"speed":17,"hex_longitude":"2d0c2480","hex_latitude":"07035460","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329449216001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27627901117530112,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873416882853709824,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786443164000,"timestamp_ms":1786443164000,"timestamp_seconds":1786443164,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04f6960"} 
[2026-08-11 15:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:43: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-08-11 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-11 15:43:29] 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-08-11 15: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-08-11 15:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329449216001,"66":14450,"37":206,"94":11008,"24":17,"16":27627901117530112,"45":873416882853709824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 15:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329449216001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:43:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 15:43:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27627901117530112,"km_value":27627901117530.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":873416882853709824,"description":"Unknown IO ID 45"} 
[2026-08-11 15:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329449216001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":873416882853709824}} 
[2026-08-11 15:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":152268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625495,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:43:29] local.INFO: GPS data processed {"connection_id":152268,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:43:29] local.INFO: Acknowledgment sent {"connection_id":152268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:43:29] local.INFO: Packet analysis {"connection_id":152268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:43:29] local.INFO: Extracted packet for processing {"connection_id":152268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:43:29] local.INFO: GPS Element Parsed {"raw_longitude":755773696,"raw_latitude":117659496,"longitude_deg":75.5773696,"latitude_deg":11.7659496,"altitude":27,"angle":89,"satellites":10,"speed":17,"hex_longitude":"2d0c3100","hex_latitude":"07035768","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329449984001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27628055736352768,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874964995225706496,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786443171000,"timestamp_ms":1786443171000,"timestamp_seconds":1786443171,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04f84b8"} 
[2026-08-11 15:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:43: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-08-11 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 15:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329449984001,"66":14548,"37":206,"94":11008,"24":17,"16":27628055736352768,"45":874964995225706496},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 15:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329449984001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:43:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 15:43:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27628055736352768,"km_value":27628055736352.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":874964995225706496,"description":"Unknown IO ID 45"} 
[2026-08-11 15:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329449984001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":874964995225706496}} 
[2026-08-11 15:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":152268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625496,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:43:29] local.INFO: GPS data processed {"connection_id":152268,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:43:29] local.INFO: Acknowledgment sent {"connection_id":152268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:43:32] local.INFO: TCP Data received {"connection_id":152268,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04fd2d8012d0c3700070358b0001b00540b..."} 
[2026-08-11 15:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04fd2d8012d0c3700070358b0001b00540b..."} 
[2026-08-11 15:43:32] local.INFO: Processing buffer {"connection_id":152268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04fd2d8012d0c3700070358b0001b00540b..."} 
[2026-08-11 15:43:32] local.INFO: Packet analysis {"connection_id":152268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:43:32] local.INFO: Extracted packet for processing {"connection_id":152268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:43:32] local.INFO: GPS Element Parsed {"raw_longitude":755775232,"raw_latitude":117659824,"longitude_deg":75.5775232,"latitude_deg":11.7659824,"altitude":27,"angle":84,"satellites":11,"speed":0,"hex_longitude":"2d0c3700","hex_latitude":"070358b0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 15:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329451776001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27628137340731392,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":878483432434788352,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786443191000,"timestamp_ms":1786443191000,"timestamp_seconds":1786443191,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04fd2d8"} 
[2026-08-11 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-08-11 15:43:32] 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-08-11 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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 15:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 15:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329451776001,"66":14548,"37":206,"94":11008,"24":0,"16":27628137340731392,"45":878483432434788352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 15:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329451776001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:43:32] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 15:43:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27628137340731392,"km_value":27628137340731.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":878483432434788352,"description":"Unknown IO ID 45"} 
[2026-08-11 15:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329451776001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":878483432434788352}} 
[2026-08-11 15:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":152268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625497,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:43:32] local.INFO: GPS data processed {"connection_id":152268,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:43:32] local.INFO: Acknowledgment sent {"connection_id":152268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:43:56] local.INFO: TCP Data received {"connection_id":153588,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:43:56] local.INFO: Processing buffer {"connection_id":153588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:43:56] local.INFO: Packet analysis {"connection_id":153588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:43:56] local.INFO: Extracted packet for processing {"connection_id":153588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:43:56] local.INFO: GPS Element Parsed {"raw_longitude":765214784,"raw_latitude":95658248,"longitude_deg":76.5214784,"latitude_deg":9.5658248,"altitude":4,"angle":300,"satellites":46,"speed":0,"hex_longitude":"2d9c4040","hex_latitude":"05b3a108","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329410560001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7186619080888066048,"note":"Value kept but may cause issues"} 
[2026-08-11 15:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786443012000,"timestamp_ms":1786443012000,"timestamp_seconds":1786443012,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04d17a0"} 
[2026-08-11 15:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 15:43:56] 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-08-11 15: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-08-11 15:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:43:56] 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-08-11 15:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329410560001,"66":27365,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7186619080888066048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329410560001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:43:56] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:43:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7186619080888066048,"description":"Unknown IO ID 45"} 
[2026-08-11 15:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329410560001,"power":27365,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7186619080888066048}} 
[2026-08-11 15:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":153588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:43:56] local.INFO: GPS data processed {"connection_id":153588,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:43:56] local.INFO: Acknowledgment sent {"connection_id":153588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:44:04] local.INFO: TCP Data received {"connection_id":152268,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04fea48012d0c374007035918001b00100b..."} 
[2026-08-11 15:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04fea48012d0c374007035918001b00100b..."} 
[2026-08-11 15:44:04] local.INFO: Processing buffer {"connection_id":152268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04fea48012d0c374007035918001b00100b..."} 
[2026-08-11 15:44:04] local.INFO: Packet analysis {"connection_id":152268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:44:04] local.INFO: Extracted packet for processing {"connection_id":152268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:44:04] local.INFO: GPS Element Parsed {"raw_longitude":755775296,"raw_latitude":117659928,"longitude_deg":75.5775296,"latitude_deg":11.7659928,"altitude":27,"angle":16,"satellites":11,"speed":5,"hex_longitude":"2d0c3740","hex_latitude":"07035918","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329456896001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27628145930665984,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880172282295136256,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786443197000,"timestamp_ms":1786443197000,"timestamp_seconds":1786443197,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04fea48"} 
[2026-08-11 15:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:44: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-08-11 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 15:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329456896001,"66":14559,"37":206,"94":11008,"24":5,"16":27628145930665984,"45":880172282295136256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 15:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329456896001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:44:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 15:44:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27628145930665984,"km_value":27628145930665.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":880172282295136256,"description":"Unknown IO ID 45"} 
[2026-08-11 15:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329456896001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":880172282295136256}} 
[2026-08-11 15:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":152268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625499,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:44:04] local.INFO: GPS data processed {"connection_id":152268,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:44:04] local.INFO: Acknowledgment sent {"connection_id":152268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:44:04] local.INFO: TCP Data received {"connection_id":153587,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04e8ab8012d19cec0072019400032007d2a..."} 
[2026-08-11 15:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04e8ab8012d19cec0072019400032007d2a..."} 
[2026-08-11 15:44:04] local.INFO: Processing buffer {"connection_id":153587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04e8ab8012d19cec0072019400032007d2a..."} 
[2026-08-11 15:44:04] local.INFO: Packet analysis {"connection_id":153587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04e"} 
[2026-08-11 15:44:04] local.INFO: Extracted packet for processing {"connection_id":153587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04e"} 
[2026-08-11 15:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119544128,"longitude_deg":75.6666048,"latitude_deg":11.9544128,"altitude":50,"angle":125,"satellites":42,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201940","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329430016001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11707951999877120,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986423296,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:04] 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-08-11 15:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786443107000,"timestamp_ms":1786443107000,"timestamp_seconds":1786443107,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04e8ab8"} 
[2026-08-11 15:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:44:04] 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-08-11 15: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-11 15:44:04] 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-08-11 15: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-08-11 15:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329430016001,"66":12993,"101":206,"83":41984,"24":0,"16":11707951999877120,"45":1859634832986423296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329430016001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:44:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11707951999877120,"km_value":11707951999877.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986423296,"description":"Unknown IO ID 45"} 
[2026-08-11 15:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329430016001,"power":12993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986423296}} 
[2026-08-11 15:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":153587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:44:04] local.INFO: GPS data processed {"connection_id":153587,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:44:04] local.INFO: Acknowledgment sent {"connection_id":153587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:44:10] local.INFO: TCP Data received {"connection_id":152269,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:44:10] local.INFO: Processing buffer {"connection_id":152269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:44:10] local.INFO: IMEI packet received {"connection_id":152269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":152269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:44:10] local.INFO: TCP Data received {"connection_id":152269,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:44:10] local.INFO: Processing buffer {"connection_id":152269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:44:10] local.INFO: IMEI packet received {"connection_id":152269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":152269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:44:15] local.INFO: TCP Data received {"connection_id":152269,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:44:15] local.INFO: Processing buffer {"connection_id":152269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:44:15] local.INFO: IMEI packet received {"connection_id":152269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":152269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:44:16] local.INFO: TCP Data received {"connection_id":152269,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04edcc0012d19cec0072019400032007d29..."} 
[2026-08-11 15:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04edcc0012d19cec0072019400032007d29..."} 
[2026-08-11 15:44:16] local.INFO: Processing buffer {"connection_id":152269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04edcc0012d19cec0072019400032007d29..."} 
[2026-08-11 15:44:16] local.INFO: Packet analysis {"connection_id":152269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04e"} 
[2026-08-11 15:44:16] local.INFO: Extracted packet for processing {"connection_id":152269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04e"} 
[2026-08-11 15:44:16] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119544128,"longitude_deg":75.6666048,"latitude_deg":11.9544128,"altitude":50,"angle":125,"satellites":41,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201940","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329435392001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11707951999877120,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986423296,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:16] 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-08-11 15:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786443128000,"timestamp_ms":1786443128000,"timestamp_seconds":1786443128,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04edcc0"} 
[2026-08-11 15:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:44: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-08-11 15: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-11 15:44:16] 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-08-11 15: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-08-11 15:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329435392001,"66":12950,"101":206,"83":41984,"24":0,"16":11707951999877120,"45":1859634832986423296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329435392001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:44:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:44:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11707951999877120,"km_value":11707951999877.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986423296,"description":"Unknown IO ID 45"} 
[2026-08-11 15:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329435392001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986423296}} 
[2026-08-11 15:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":152269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:44:16] local.INFO: GPS data processed {"connection_id":152269,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:44:16] local.INFO: Acknowledgment sent {"connection_id":152269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:44:19] local.INFO: TCP Data received {"connection_id":152636,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:44:19] local.INFO: Processing buffer {"connection_id":152636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:44:19] local.INFO: IMEI packet received {"connection_id":152636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":152636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:44:22] local.INFO: TCP Data received {"connection_id":154970,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:44:22] local.INFO: Processing buffer {"connection_id":154970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:44:22] local.INFO: IMEI packet received {"connection_id":154970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":154970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:44:24] local.INFO: TCP Data received {"connection_id":152636,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:44:24] local.INFO: Processing buffer {"connection_id":152636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:44:24] local.INFO: IMEI packet received {"connection_id":152636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":152636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:44:25] local.INFO: TCP Data received {"connection_id":152636,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:44:25] local.INFO: Processing buffer {"connection_id":152636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:44:25] local.INFO: Packet analysis {"connection_id":152636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:44:25] local.INFO: Extracted packet for processing {"connection_id":152636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:44:25] local.INFO: GPS Element Parsed {"raw_longitude":765214784,"raw_latitude":95658248,"longitude_deg":76.5214784,"latitude_deg":9.5658248,"altitude":4,"angle":300,"satellites":46,"speed":0,"hex_longitude":"2d9c4040","hex_latitude":"05b3a108","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329410560001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7186619080888066048,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786443012000,"timestamp_ms":1786443012000,"timestamp_seconds":1786443012,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04d17a0"} 
[2026-08-11 15:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 15:44:25] 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-08-11 15: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-08-11 15:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:44:25] 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-08-11 15:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329410560001,"66":27365,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7186619080888066048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329410560001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:44:25] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:44:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7186619080888066048,"description":"Unknown IO ID 45"} 
[2026-08-11 15:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329410560001,"power":27365,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7186619080888066048}} 
[2026-08-11 15:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":152636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:44:25] local.INFO: GPS data processed {"connection_id":152636,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:44:25] local.INFO: Acknowledgment sent {"connection_id":152636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:44:27] local.INFO: TCP Data received {"connection_id":154970,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:44:27] local.INFO: Processing buffer {"connection_id":154970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:44:27] local.INFO: IMEI packet received {"connection_id":154970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":154970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:44:27] local.INFO: TCP Data received {"connection_id":154970,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:44:27] local.INFO: Processing buffer {"connection_id":154970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:44:27] local.INFO: IMEI packet received {"connection_id":154970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":154970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:44:28] local.INFO: TCP Data received {"connection_id":154970,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04ff218012d0c374007035a80001b00030b..."} 
[2026-08-11 15:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04ff218012d0c374007035a80001b00030b..."} 
[2026-08-11 15:44:28] local.INFO: Processing buffer {"connection_id":154970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04ff218012d0c374007035a80001b00030b..."} 
[2026-08-11 15:44:28] local.INFO: Packet analysis {"connection_id":154970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:44:28] local.INFO: Extracted packet for processing {"connection_id":154970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:44:28] local.INFO: GPS Element Parsed {"raw_longitude":755775296,"raw_latitude":117660288,"longitude_deg":75.5775296,"latitude_deg":11.7660288,"altitude":27,"angle":3,"satellites":11,"speed":8,"hex_longitude":"2d0c3740","hex_latitude":"07035a80","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329458432001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27628163110535168,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880242651039340544,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786443199000,"timestamp_ms":1786443199000,"timestamp_seconds":1786443199,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04ff218"} 
[2026-08-11 15:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:44:28] 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-08-11 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-11 15:44:28] 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-08-11 15: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-08-11 15:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":154970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":154970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":154970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329458432001,"66":14396,"37":206,"94":11008,"24":8,"16":27628163110535168,"45":880242651039340544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 15:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329458432001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:44:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 15:44:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27628163110535168,"km_value":27628163110535.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":880242651039340544,"description":"Unknown IO ID 45"} 
[2026-08-11 15:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329458432001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":880242651039340544}} 
[2026-08-11 15:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":154970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625503,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:44:29] local.INFO: GPS data processed {"connection_id":154970,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:44:29] local.INFO: Acknowledgment sent {"connection_id":154970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:44:36] local.INFO: TCP Data received {"connection_id":154970,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05001b8012d0c384007035ee8001c00220b..."} 
[2026-08-11 15:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05001b8012d0c384007035ee8001c00220b..."} 
[2026-08-11 15:44:36] local.INFO: Processing buffer {"connection_id":154970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05001b8012d0c384007035ee8001c00220b..."} 
[2026-08-11 15:44:36] local.INFO: Packet analysis {"connection_id":154970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff050"} 
[2026-08-11 15:44:36] local.INFO: Extracted packet for processing {"connection_id":154970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff050"} 
[2026-08-11 15:44:36] local.INFO: GPS Element Parsed {"raw_longitude":755775552,"raw_latitude":117661416,"longitude_deg":75.5775552,"latitude_deg":11.7661416,"altitude":28,"angle":34,"satellites":11,"speed":11,"hex_longitude":"2d0c3840","hex_latitude":"07035ee8","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329458944001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27628218945110016,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880242651039432704,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786443203000,"timestamp_ms":1786443203000,"timestamp_seconds":1786443203,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05001b8"} 
[2026-08-11 15:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:44:36] 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-08-11 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 15:44:36] 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-08-11 15: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-08-11 15:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":154970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":154970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":154970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329458944001,"66":14548,"37":206,"94":11008,"24":11,"16":27628218945110016,"45":880242651039432704},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 15:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329458944001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:44:36] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 15:44:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27628218945110016,"km_value":27628218945110.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":880242651039432704,"description":"Unknown IO ID 45"} 
[2026-08-11 15:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329458944001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":880242651039432704}} 
[2026-08-11 15:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":154970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625504,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:44:36] local.INFO: GPS data processed {"connection_id":154970,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:44:36] local.INFO: Acknowledgment sent {"connection_id":154970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:44:47] local.INFO: TCP Data received {"connection_id":152269,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04f2ec8012d19cec0072019400032007d28..."} 
[2026-08-11 15:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04f2ec8012d19cec0072019400032007d28..."} 
[2026-08-11 15:44:47] local.INFO: Processing buffer {"connection_id":152269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04f2ec8012d19cec0072019400032007d28..."} 
[2026-08-11 15:44:47] local.INFO: Packet analysis {"connection_id":152269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:44:47] local.INFO: Extracted packet for processing {"connection_id":152269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:44:47] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119544128,"longitude_deg":75.6666048,"latitude_deg":11.9544128,"altitude":50,"angle":125,"satellites":40,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201940","is_valid_coordinates":true} 
[2026-08-11 15:44: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-08-11 15:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329440768001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11707951999877120,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986423296,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:47] 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-08-11 15:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786443149000,"timestamp_ms":1786443149000,"timestamp_seconds":1786443149,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04f2ec8"} 
[2026-08-11 15:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:44: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-08-11 15:44: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":150,"data_length":795,"current_offset":136} 
[2026-08-11 15:44:47] 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-08-11 15:44: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-08-11 15:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329440768001,"66":12874,"101":206,"83":41984,"24":0,"16":11707951999877120,"45":1859634832986423296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329440768001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:44:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:44:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11707951999877120,"km_value":11707951999877.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986423296,"description":"Unknown IO ID 45"} 
[2026-08-11 15:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329440768001,"power":12874,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986423296}} 
[2026-08-11 15:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":152269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:44:47] local.INFO: GPS data processed {"connection_id":152269,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:44:47] local.INFO: Acknowledgment sent {"connection_id":152269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:44:57] local.INFO: TCP Data received {"connection_id":152636,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:44:57] local.INFO: Processing buffer {"connection_id":152636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:44:57] local.INFO: Packet analysis {"connection_id":152636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:44:57] local.INFO: Extracted packet for processing {"connection_id":152636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:44:57] local.INFO: GPS Element Parsed {"raw_longitude":765214784,"raw_latitude":95658248,"longitude_deg":76.5214784,"latitude_deg":9.5658248,"altitude":4,"angle":300,"satellites":46,"speed":0,"hex_longitude":"2d9c4040","hex_latitude":"05b3a108","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329410560001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7186619080888066048,"note":"Value kept but may cause issues"} 
[2026-08-11 15:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786443012000,"timestamp_ms":1786443012000,"timestamp_seconds":1786443012,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04d17a0"} 
[2026-08-11 15:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 15:44:57] 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-08-11 15: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-08-11 15:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:44:57] 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-08-11 15:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329410560001,"66":27365,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7186619080888066048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329410560001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:44:57] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:44:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7186619080888066048,"description":"Unknown IO ID 45"} 
[2026-08-11 15:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329410560001,"power":27365,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7186619080888066048}} 
[2026-08-11 15:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":152636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:44:57] local.INFO: GPS data processed {"connection_id":152636,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:44:57] local.INFO: Acknowledgment sent {"connection_id":152636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:45:08] local.INFO: TCP Data received {"connection_id":154970,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05005a0012d0c390007035f90001c00360b..."} 
[2026-08-11 15:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05005a0012d0c390007035f90001c00360b..."} 
[2026-08-11 15:45:08] local.INFO: Processing buffer {"connection_id":154970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05005a0012d0c390007035f90001c00360b..."} 
[2026-08-11 15:45:08] local.INFO: Packet analysis {"connection_id":154970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff050"} 
[2026-08-11 15:45:08] local.INFO: Extracted packet for processing {"connection_id":154970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff050"} 
[2026-08-11 15:45:08] local.INFO: GPS Element Parsed {"raw_longitude":755775744,"raw_latitude":117661584,"longitude_deg":75.5775744,"latitude_deg":11.7661584,"altitude":28,"angle":54,"satellites":11,"speed":11,"hex_longitude":"2d0c3900","hex_latitude":"07035f90","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329459968001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27628231830011904,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880524126016432128,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786443204000,"timestamp_ms":1786443204000,"timestamp_seconds":1786443204,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05005a0"} 
[2026-08-11 15:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:45:08] 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-08-11 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 15:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":154970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":154970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":154970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329459968001,"66":14548,"37":206,"94":11008,"24":11,"16":27628231830011904,"45":880524126016432128},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 15:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329459968001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:45:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 15:45:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27628231830011904,"km_value":27628231830011.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":880524126016432128,"description":"Unknown IO ID 45"} 
[2026-08-11 15:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329459968001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":880524126016432128}} 
[2026-08-11 15:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":154970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625507,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:45:09] local.INFO: GPS data processed {"connection_id":154970,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:45:09] local.INFO: Acknowledgment sent {"connection_id":154970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:45:10] local.INFO: TCP Data received {"connection_id":154971,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:45:10] local.INFO: Processing buffer {"connection_id":154971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:45:10] local.INFO: IMEI packet received {"connection_id":154971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":154971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:45:13] local.INFO: TCP Data received {"connection_id":154971,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:45:13] local.INFO: Processing buffer {"connection_id":154971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:45:13] local.INFO: IMEI packet received {"connection_id":154971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":154971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:45:15] local.INFO: TCP Data received {"connection_id":154971,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:45:15] local.INFO: Processing buffer {"connection_id":154971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:45:15] local.INFO: IMEI packet received {"connection_id":154971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":154971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:45:16] local.INFO: TCP Data received {"connection_id":154971,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04f80d0012d19cec0072019400032007d28..."} 
[2026-08-11 15:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04f80d0012d19cec0072019400032007d28..."} 
[2026-08-11 15:45:16] local.INFO: Processing buffer {"connection_id":154971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04f80d0012d19cec0072019400032007d28..."} 
[2026-08-11 15:45:16] local.INFO: Packet analysis {"connection_id":154971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:45:16] local.INFO: Extracted packet for processing {"connection_id":154971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:45:16] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119544128,"longitude_deg":75.6666048,"latitude_deg":11.9544128,"altitude":50,"angle":125,"satellites":40,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201940","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329446144001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11707951999877120,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986423296,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:16] 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-08-11 15:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786443170000,"timestamp_ms":1786443170000,"timestamp_seconds":1786443170,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04f80d0"} 
[2026-08-11 15:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:45: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-08-11 15: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-11 15:45:16] 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-08-11 15: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-08-11 15:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329446144001,"66":12841,"101":206,"83":41984,"24":0,"16":11707951999877120,"45":1859634832986423296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329446144001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:45:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:45:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11707951999877120,"km_value":11707951999877.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986423296,"description":"Unknown IO ID 45"} 
[2026-08-11 15:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329446144001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986423296}} 
[2026-08-11 15:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":154971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:45:16] local.INFO: GPS data processed {"connection_id":154971,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:45:16] local.INFO: Acknowledgment sent {"connection_id":154971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:45:19] local.INFO: TCP Data received {"connection_id":152270,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:45:19] local.INFO: Processing buffer {"connection_id":152270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:45:19] local.INFO: IMEI packet received {"connection_id":152270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":152270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:45:24] local.INFO: TCP Data received {"connection_id":152270,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:45:24] local.INFO: Processing buffer {"connection_id":152270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:45:24] local.INFO: IMEI packet received {"connection_id":152270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":152270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:45:25] local.INFO: TCP Data received {"connection_id":152270,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:45:25] local.INFO: Processing buffer {"connection_id":152270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04d17a0012d9c404005b3a1080004012c2e..."} 
[2026-08-11 15:45:25] local.INFO: Packet analysis {"connection_id":152270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:45:25] local.INFO: Extracted packet for processing {"connection_id":152270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04d"} 
[2026-08-11 15:45:25] local.INFO: GPS Element Parsed {"raw_longitude":765214784,"raw_latitude":95658248,"longitude_deg":76.5214784,"latitude_deg":9.5658248,"altitude":4,"angle":300,"satellites":46,"speed":0,"hex_longitude":"2d9c4040","hex_latitude":"05b3a108","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329410560001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7186619080888066048,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786443012000,"timestamp_ms":1786443012000,"timestamp_seconds":1786443012,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04d17a0"} 
[2026-08-11 15:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 15:45:25] 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-08-11 15: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-08-11 15:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:45:25] 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-08-11 15:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329410560001,"66":27365,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7186619080888066048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329410560001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:45:25] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:45:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7186619080888066048,"description":"Unknown IO ID 45"} 
[2026-08-11 15:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329410560001,"power":27365,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7186619080888066048}} 
[2026-08-11 15:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":152270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:45:25] local.INFO: GPS data processed {"connection_id":152270,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:45:25] local.INFO: Acknowledgment sent {"connection_id":152270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:45:27] local.INFO: TCP Data received {"connection_id":152271,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:45:27] local.INFO: Processing buffer {"connection_id":152271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:45:27] local.INFO: IMEI packet received {"connection_id":152271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":152271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:45:32] local.INFO: TCP Data received {"connection_id":152271,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:45:32] local.INFO: Processing buffer {"connection_id":152271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:45:32] local.INFO: IMEI packet received {"connection_id":152271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":152271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:45:32] local.INFO: TCP Data received {"connection_id":152271,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0515590012d0c6b800703c9f8002600070b..."} 
[2026-08-11 15:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0515590012d0c6b800703c9f8002600070b..."} 
[2026-08-11 15:45:32] local.INFO: Processing buffer {"connection_id":152271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0515590012d0c6b800703c9f8002600070b..."} 
[2026-08-11 15:45:32] local.INFO: Packet analysis {"connection_id":152271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:45:32] local.INFO: Extracted packet for processing {"connection_id":152271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:45:32] local.INFO: GPS Element Parsed {"raw_longitude":755788672,"raw_latitude":117688824,"longitude_deg":75.5788672,"latitude_deg":11.7688824,"altitude":38,"angle":7,"satellites":11,"speed":21,"hex_longitude":"2d0c6b80","hex_latitude":"0703c9f8","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329481216001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27629936932028416,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894808981090936832,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786443290000,"timestamp_ms":1786443290000,"timestamp_seconds":1786443290,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0515590"} 
[2026-08-11 15:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:45: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-08-11 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-11 15:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329481216001,"66":14233,"16":27629936932028416,"94":11008,"24":21,"45":894808981090936832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 15:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329481216001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27629936932028416,"km_value":27629936932028.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:45:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":894808981090936832,"description":"Unknown IO ID 45"} 
[2026-08-11 15:45:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457329481216001,"power":14233,"odometer":null,"unknown_94":11008,"ignition":21,"unknown_45":894808981090936832}} 
[2026-08-11 15:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":152271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625510,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:45:33] local.INFO: GPS data processed {"connection_id":152271,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:45:33] local.INFO: Acknowledgment sent {"connection_id":152271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:45:38] local.INFO: TCP Data received {"connection_id":152271,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0519be0012d0c6d400703da10002701510b..."} 
[2026-08-11 15:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0519be0012d0c6d400703da10002701510b..."} 
[2026-08-11 15:45:38] local.INFO: Processing buffer {"connection_id":152271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0519be0012d0c6d400703da10002701510b..."} 
[2026-08-11 15:45:38] local.INFO: Packet analysis {"connection_id":152271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:45:38] local.INFO: Extracted packet for processing {"connection_id":152271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:45:38] local.INFO: GPS Element Parsed {"raw_longitude":755789120,"raw_latitude":117692944,"longitude_deg":75.578912,"latitude_deg":11.7692944,"altitude":39,"angle":337,"satellites":11,"speed":6,"hex_longitude":"2d0c6d40","hex_latitude":"0703da10","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329482240001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27630138795491328,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894949718579869696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786443308000,"timestamp_ms":1786443308000,"timestamp_seconds":1786443308,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0519be0"} 
[2026-08-11 15:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:45:38] 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-08-11 15: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-11 15:45:38] 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-08-11 15: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-08-11 15:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329482240001,"66":14070,"16":27630138795491328,"94":11008,"24":6,"45":894949718579869696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 15:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329482240001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27630138795491328,"km_value":27630138795491.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:45:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":894949718579869696,"description":"Unknown IO ID 45"} 
[2026-08-11 15:45:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457329482240001,"power":14070,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":894949718579869696}} 
[2026-08-11 15:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":152271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625511,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:45:38] local.INFO: GPS data processed {"connection_id":152271,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:45:38] local.INFO: Acknowledgment sent {"connection_id":152271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:45:47] local.INFO: TCP Data received {"connection_id":154971,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff04fd2d8012d19cec0072019400032007d29..."} 
[2026-08-11 15:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff04fd2d8012d19cec0072019400032007d29..."} 
[2026-08-11 15:45:47] local.INFO: Processing buffer {"connection_id":154971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff04fd2d8012d19cec0072019400032007d29..."} 
[2026-08-11 15:45:47] local.INFO: Packet analysis {"connection_id":154971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:45:47] local.INFO: Extracted packet for processing {"connection_id":154971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff04f"} 
[2026-08-11 15:45:47] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119544128,"longitude_deg":75.6666048,"latitude_deg":11.9544128,"altitude":50,"angle":125,"satellites":41,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201940","is_valid_coordinates":true} 
[2026-08-11 15:45: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-08-11 15:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329451520001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11707951999877120,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986423296,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:47] 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-08-11 15:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786443191000,"timestamp_ms":1786443191000,"timestamp_seconds":1786443191,"priority":1,"record_length":96,"hex_timestamp":"0000019ff04fd2d8"} 
[2026-08-11 15:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:45: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-08-11 15:45: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":41,"data_length":795,"current_offset":136} 
[2026-08-11 15:45:47] 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-08-11 15:45: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-08-11 15:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329451520001,"66":12504,"101":206,"83":41984,"24":0,"16":11707951999877120,"45":1859634832986423296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329451520001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:45:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:45:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11707951999877120,"km_value":11707951999877.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986423296,"description":"Unknown IO ID 45"} 
[2026-08-11 15:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329451520001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986423296}} 
[2026-08-11 15:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":154971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:45:47] local.INFO: GPS data processed {"connection_id":154971,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:45:47] local.INFO: Acknowledgment sent {"connection_id":154971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:45:56] local.INFO: TCP Data received {"connection_id":152270,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:45:56] local.INFO: Processing buffer {"connection_id":152270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:45:56] local.INFO: Packet analysis {"connection_id":152270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:45:56] local.INFO: Extracted packet for processing {"connection_id":152270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:45:56] local.INFO: GPS Element Parsed {"raw_longitude":765209152,"raw_latitude":95660616,"longitude_deg":76.5209152,"latitude_deg":9.5660616,"altitude":6,"angle":300,"satellites":47,"speed":0,"hex_longitude":"2d9c2a40","hex_latitude":"05b3aa48","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329411072001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7187674612050622464,"note":"Value kept but may cause issues"} 
[2026-08-11 15:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786443313000,"timestamp_ms":1786443313000,"timestamp_seconds":1786443313,"priority":1,"record_length":96,"hex_timestamp":"0000019ff051af68"} 
[2026-08-11 15:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 15:45:56] 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-08-11 15: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-08-11 15:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:45:56] 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-08-11 15:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329411072001,"66":26539,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7187674612050622464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329411072001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:45:56] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:45:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7187674612050622464,"description":"Unknown IO ID 45"} 
[2026-08-11 15:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329411072001,"power":26539,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7187674612050622464}} 
[2026-08-11 15:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":152270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:45:56] local.INFO: GPS data processed {"connection_id":152270,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:45:56] local.INFO: Acknowledgment sent {"connection_id":152270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:46:15] local.INFO: TCP Data received {"connection_id":154972,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:46:15] local.INFO: Processing buffer {"connection_id":154972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:46:15] local.INFO: IMEI packet received {"connection_id":154972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":154972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:46:16] local.INFO: TCP Data received {"connection_id":154972,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:46:16] local.INFO: Processing buffer {"connection_id":154972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:46:16] local.INFO: IMEI packet received {"connection_id":154972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":154972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:46:17] local.INFO: TCP Data received {"connection_id":154972,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05024e0012d19cec0072019400032007d29..."} 
[2026-08-11 15:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05024e0012d19cec0072019400032007d29..."} 
[2026-08-11 15:46:17] local.INFO: Processing buffer {"connection_id":154972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05024e0012d19cec0072019400032007d29..."} 
[2026-08-11 15:46:17] local.INFO: Packet analysis {"connection_id":154972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff050"} 
[2026-08-11 15:46:17] local.INFO: Extracted packet for processing {"connection_id":154972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff050"} 
[2026-08-11 15:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119544128,"longitude_deg":75.6666048,"latitude_deg":11.9544128,"altitude":50,"angle":125,"satellites":41,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201940","is_valid_coordinates":true} 
[2026-08-11 15:46: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-08-11 15:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329456896001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11707951999877120,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986423296,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:17] 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-08-11 15:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786443212000,"timestamp_ms":1786443212000,"timestamp_seconds":1786443212,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05024e0"} 
[2026-08-11 15:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:46:17] 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-08-11 15:46: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 15:46:17] 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-08-11 15:46: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-08-11 15:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":154972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":154972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":154972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329456896001,"66":12722,"101":206,"83":41984,"24":0,"16":11707951999877120,"45":1859634832986423296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329456896001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:46:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:46:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11707951999877120,"km_value":11707951999877.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986423296,"description":"Unknown IO ID 45"} 
[2026-08-11 15:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329456896001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986423296}} 
[2026-08-11 15:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":154972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:46:17] local.INFO: GPS data processed {"connection_id":154972,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:46:17] local.INFO: Acknowledgment sent {"connection_id":154972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:46:19] local.INFO: TCP Data received {"connection_id":153589,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153589,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:46:19] local.INFO: Processing buffer {"connection_id":153589,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:46:19] local.INFO: IMEI packet received {"connection_id":153589,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":153589,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:46:19] local.INFO: TCP Data received {"connection_id":154973,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:46:19] local.INFO: Processing buffer {"connection_id":154973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:46:19] local.INFO: IMEI packet received {"connection_id":154973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":154973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:46:20] local.INFO: TCP Data received {"connection_id":154972,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05076e8012d19cec0072019400032007d2a..."} 
[2026-08-11 15:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05076e8012d19cec0072019400032007d2a..."} 
[2026-08-11 15:46:20] local.INFO: Processing buffer {"connection_id":154972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05076e8012d19cec0072019400032007d2a..."} 
[2026-08-11 15:46:20] local.INFO: Packet analysis {"connection_id":154972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff050"} 
[2026-08-11 15:46:20] local.INFO: Extracted packet for processing {"connection_id":154972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff050"} 
[2026-08-11 15:46:20] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119544128,"longitude_deg":75.6666048,"latitude_deg":11.9544128,"altitude":50,"angle":125,"satellites":42,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201940","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329462272001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11707951999877120,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986423296,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:20] 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-08-11 15:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786443233000,"timestamp_ms":1786443233000,"timestamp_seconds":1786443233,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05076e8"} 
[2026-08-11 15:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:46:20] 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-08-11 15: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 15:46:20] 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-08-11 15: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-08-11 15:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":154972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":154972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":154972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329462272001,"66":12678,"101":206,"83":41984,"24":0,"16":11707951999877120,"45":1859634832986423296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329462272001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:46:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:46:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11707951999877120,"km_value":11707951999877.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986423296,"description":"Unknown IO ID 45"} 
[2026-08-11 15:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329462272001,"power":12678,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986423296}} 
[2026-08-11 15:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":154972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:46:21] local.INFO: GPS data processed {"connection_id":154972,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:46:21] local.INFO: Acknowledgment sent {"connection_id":154972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:46:22] local.INFO: TCP Data received {"connection_id":153589,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153589,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:46:22] local.INFO: Processing buffer {"connection_id":153589,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:46:22] local.INFO: IMEI packet received {"connection_id":153589,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":153589,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:46:23] local.INFO: TCP Data received {"connection_id":153589,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153589,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:46:23] local.INFO: Processing buffer {"connection_id":153589,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:46:23] local.INFO: IMEI packet received {"connection_id":153589,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":153589,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:46:24] local.INFO: TCP Data received {"connection_id":154973,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:46:24] local.INFO: Processing buffer {"connection_id":154973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:46:24] local.INFO: IMEI packet received {"connection_id":154973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":154973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:46:25] local.INFO: TCP Data received {"connection_id":154973,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:46:25] local.INFO: Processing buffer {"connection_id":154973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:46:25] local.INFO: Packet analysis {"connection_id":154973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:46:25] local.INFO: Extracted packet for processing {"connection_id":154973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:46:25] local.INFO: GPS Element Parsed {"raw_longitude":765209152,"raw_latitude":95660616,"longitude_deg":76.5209152,"latitude_deg":9.5660616,"altitude":6,"angle":300,"satellites":47,"speed":0,"hex_longitude":"2d9c2a40","hex_latitude":"05b3aa48","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329411072001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7187674612050622464,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786443313000,"timestamp_ms":1786443313000,"timestamp_seconds":1786443313,"priority":1,"record_length":96,"hex_timestamp":"0000019ff051af68"} 
[2026-08-11 15:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 15:46:25] 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-08-11 15: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-08-11 15:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:46:25] 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-08-11 15:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329411072001,"66":26539,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7187674612050622464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329411072001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:46:25] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:46:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7187674612050622464,"description":"Unknown IO ID 45"} 
[2026-08-11 15:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329411072001,"power":26539,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7187674612050622464}} 
[2026-08-11 15:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":154973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:46:25] local.INFO: GPS data processed {"connection_id":154973,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:46:25] local.INFO: Acknowledgment sent {"connection_id":154973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:46:27] local.INFO: TCP Data received {"connection_id":153589,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153589,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:46:27] local.INFO: Processing buffer {"connection_id":153589,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:46:27] local.INFO: IMEI packet received {"connection_id":153589,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":153589,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:46:27] local.INFO: TCP Data received {"connection_id":153589,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0528258012d0c75800703fe30002600380b..."} 
[2026-08-11 15:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0528258012d0c75800703fe30002600380b..."} 
[2026-08-11 15:46:27] local.INFO: Processing buffer {"connection_id":153589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0528258012d0c75800703fe30002600380b..."} 
[2026-08-11 15:46:27] local.INFO: Packet analysis {"connection_id":153589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff052"} 
[2026-08-11 15:46:27] local.INFO: Extracted packet for processing {"connection_id":153589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff052"} 
[2026-08-11 15:46:27] local.INFO: GPS Element Parsed {"raw_longitude":755791232,"raw_latitude":117702192,"longitude_deg":75.5791232,"latitude_deg":11.7702192,"altitude":38,"angle":56,"satellites":11,"speed":31,"hex_longitude":"2d0c7580","hex_latitude":"0703fe30","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329498368001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27631057918492672,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889883169000953856,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786443367000,"timestamp_ms":1786443367000,"timestamp_seconds":1786443367,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0528258"} 
[2026-08-11 15:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:46:27] 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-08-11 15: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-11 15:46:27] 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-08-11 15: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-08-11 15:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153589,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153589,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329498368001,"66":14407,"16":27631057918492672,"94":11008,"24":31,"45":889883169000953856},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 15:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329498368001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27631057918492672,"km_value":27631057918492.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:46:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":889883169000953856,"description":"Unknown IO ID 45"} 
[2026-08-11 15:46:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457329498368001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":31,"unknown_45":889883169000953856}} 
[2026-08-11 15:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":153589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625517,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:46:27] local.INFO: GPS data processed {"connection_id":153589,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:46:27] local.INFO: Acknowledgment sent {"connection_id":153589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:46:28] local.INFO: TCP Data received {"connection_id":153589,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff052a968012d0c92c007041550002500330b..."} 
[2026-08-11 15:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff052a968012d0c92c007041550002500330b..."} 
[2026-08-11 15:46:28] local.INFO: Processing buffer {"connection_id":153589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff052a968012d0c92c007041550002500330b..."} 
[2026-08-11 15:46:28] local.INFO: Packet analysis {"connection_id":153589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff052"} 
[2026-08-11 15:46:28] local.INFO: Extracted packet for processing {"connection_id":153589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff052"} 
[2026-08-11 15:46:28] local.INFO: GPS Element Parsed {"raw_longitude":755798720,"raw_latitude":117708112,"longitude_deg":75.579872,"latitude_deg":11.7708112,"altitude":37,"angle":51,"satellites":11,"speed":34,"hex_longitude":"2d0c92c0","hex_latitude":"07041550","is_valid_coordinates":true} 
[2026-08-11 15:46: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-08-11 15:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329501952001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27631513185026048,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897764468350398464,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786443377000,"timestamp_ms":1786443377000,"timestamp_seconds":1786443377,"priority":1,"record_length":96,"hex_timestamp":"0000019ff052a968"} 
[2026-08-11 15:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:46: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-08-11 15:46: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":71,"data_length":795,"current_offset":136} 
[2026-08-11 15:46:28] 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-08-11 15:46: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-08-11 15:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153589,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153589,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329501952001,"66":14548,"16":27631513185026048,"94":11008,"24":34,"45":897764468350398464},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 15:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329501952001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27631513185026048,"km_value":27631513185026.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:46:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":897764468350398464,"description":"Unknown IO ID 45"} 
[2026-08-11 15:46:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457329501952001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":34,"unknown_45":897764468350398464}} 
[2026-08-11 15:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":153589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625518,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:46:28] local.INFO: GPS data processed {"connection_id":153589,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:46:28] local.INFO: Acknowledgment sent {"connection_id":153589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:46:52] local.INFO: TCP Data received {"connection_id":154972,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff050c8f0012d19cec0072019400032007d2a..."} 
[2026-08-11 15:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff050c8f0012d19cec0072019400032007d2a..."} 
[2026-08-11 15:46:52] local.INFO: Processing buffer {"connection_id":154972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff050c8f0012d19cec0072019400032007d2a..."} 
[2026-08-11 15:46:52] local.INFO: Packet analysis {"connection_id":154972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff050"} 
[2026-08-11 15:46:52] local.INFO: Extracted packet for processing {"connection_id":154972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff050"} 
[2026-08-11 15:46:52] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119544128,"longitude_deg":75.6666048,"latitude_deg":11.9544128,"altitude":50,"angle":125,"satellites":42,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201940","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329467648001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11707951999877120,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986423296,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46: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-08-11 15:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786443254000,"timestamp_ms":1786443254000,"timestamp_seconds":1786443254,"priority":1,"record_length":96,"hex_timestamp":"0000019ff050c8f0"} 
[2026-08-11 15:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:46: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-08-11 15: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 15:46:52] 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-08-11 15: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-08-11 15:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":154972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":154972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":154972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329467648001,"66":11895,"101":206,"83":41984,"24":0,"16":11707951999877120,"45":1859634832986423296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329467648001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:46:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:46:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11707951999877120,"km_value":11707951999877.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986423296,"description":"Unknown IO ID 45"} 
[2026-08-11 15:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329467648001,"power":11895,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986423296}} 
[2026-08-11 15:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":154972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:46:52] local.INFO: GPS data processed {"connection_id":154972,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:46:52] local.INFO: Acknowledgment sent {"connection_id":154972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:46:56] local.INFO: TCP Data received {"connection_id":154973,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:46:56] local.INFO: Processing buffer {"connection_id":154973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:46:56] local.INFO: Packet analysis {"connection_id":154973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:46:56] local.INFO: Extracted packet for processing {"connection_id":154973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:46:56] local.INFO: GPS Element Parsed {"raw_longitude":765209152,"raw_latitude":95660616,"longitude_deg":76.5209152,"latitude_deg":9.5660616,"altitude":6,"angle":300,"satellites":47,"speed":0,"hex_longitude":"2d9c2a40","hex_latitude":"05b3aa48","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329411072001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7187674612050622464,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786443313000,"timestamp_ms":1786443313000,"timestamp_seconds":1786443313,"priority":1,"record_length":96,"hex_timestamp":"0000019ff051af68"} 
[2026-08-11 15:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 15:46:56] 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-08-11 15: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-08-11 15:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:46:56] 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-08-11 15:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329411072001,"66":26539,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7187674612050622464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329411072001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:46:56] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:46:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7187674612050622464,"description":"Unknown IO ID 45"} 
[2026-08-11 15:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329411072001,"power":26539,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7187674612050622464}} 
[2026-08-11 15:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":154973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:46:56] local.INFO: GPS data processed {"connection_id":154973,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:46:56] local.INFO: Acknowledgment sent {"connection_id":154973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:46:59] local.INFO: TCP Data received {"connection_id":153589,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff052b520012d0c9a4007041d58002500270b..."} 
[2026-08-11 15:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff052b520012d0c9a4007041d58002500270b..."} 
[2026-08-11 15:46:59] local.INFO: Processing buffer {"connection_id":153589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff052b520012d0c9a4007041d58002500270b..."} 
[2026-08-11 15:46:59] local.INFO: Packet analysis {"connection_id":153589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff052"} 
[2026-08-11 15:46:59] local.INFO: Extracted packet for processing {"connection_id":153589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff052"} 
[2026-08-11 15:46:59] local.INFO: GPS Element Parsed {"raw_longitude":755800640,"raw_latitude":117710168,"longitude_deg":75.580064,"latitude_deg":11.7710168,"altitude":37,"angle":39,"satellites":11,"speed":34,"hex_longitude":"2d0c9a40","hex_latitude":"07041d58","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329504512001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27631650623979520,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905997611420700672,"note":"Value kept but may cause issues"} 
[2026-08-11 15:46:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786443380000,"timestamp_ms":1786443380000,"timestamp_seconds":1786443380,"priority":1,"record_length":96,"hex_timestamp":"0000019ff052b520"} 
[2026-08-11 15:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:46: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-08-11 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 15:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153589,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153589,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329504512001,"66":14396,"16":27631650623979520,"94":11008,"24":34,"45":905997611420700672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 15:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329504512001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27631650623979520,"km_value":27631650623979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:46:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":905997611420700672,"description":"Unknown IO ID 45"} 
[2026-08-11 15:46:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457329504512001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":34,"unknown_45":905997611420700672}} 
[2026-08-11 15:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":153589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625521,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:46:59] local.INFO: GPS data processed {"connection_id":153589,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:46:59] local.INFO: Acknowledgment sent {"connection_id":153589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:47:08] local.INFO: TCP Data received {"connection_id":152272,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:47:08] local.INFO: Processing buffer {"connection_id":152272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:47:08] local.INFO: IMEI packet received {"connection_id":152272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":152272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:47:10] local.INFO: TCP Data received {"connection_id":152272,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:47:10] local.INFO: Processing buffer {"connection_id":152272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:47:10] local.INFO: IMEI packet received {"connection_id":152272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":152272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:47:11] local.INFO: TCP Data received {"connection_id":152272,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:47:11] local.INFO: Processing buffer {"connection_id":152272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:47:11] local.INFO: IMEI packet received {"connection_id":152272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":152272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:47:11] local.INFO: TCP Data received {"connection_id":152272,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff052b908012d19dd8007200be8003500962a..."} 
[2026-08-11 15:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff052b908012d19dd8007200be8003500962a..."} 
[2026-08-11 15:47:12] local.INFO: Processing buffer {"connection_id":152272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff052b908012d19dd8007200be8003500962a..."} 
[2026-08-11 15:47:12] local.INFO: Packet analysis {"connection_id":152272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff052"} 
[2026-08-11 15:47:12] local.INFO: Extracted packet for processing {"connection_id":152272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff052"} 
[2026-08-11 15:47:12] local.INFO: GPS Element Parsed {"raw_longitude":756669824,"raw_latitude":119540712,"longitude_deg":75.6669824,"latitude_deg":11.9540712,"altitude":53,"angle":150,"satellites":42,"speed":10,"hex_longitude":"2d19dd80","hex_latitude":"07200be8","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329502464001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11708222582816768,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860057045451141120,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:12] 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-08-11 15:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786443381000,"timestamp_ms":1786443381000,"timestamp_seconds":1786443381,"priority":1,"record_length":96,"hex_timestamp":"0000019ff052b908"} 
[2026-08-11 15:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:47:12] 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-08-11 15: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":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-11 15:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329502464001,"66":14374,"101":206,"83":41984,"24":10,"16":11708222582816768,"45":1860057045451141120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329502464001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:47:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:47:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11708222582816768,"km_value":11708222582816.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860057045451141120,"description":"Unknown IO ID 45"} 
[2026-08-11 15:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329502464001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1860057045451141120}} 
[2026-08-11 15:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":152272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:47:12] local.INFO: GPS data processed {"connection_id":152272,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:47:12] local.INFO: Acknowledgment sent {"connection_id":152272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:47:20] local.INFO: TCP Data received {"connection_id":152637,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:47:20] local.INFO: Processing buffer {"connection_id":152637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:47:20] local.INFO: IMEI packet received {"connection_id":152637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":152637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:47:22] local.INFO: TCP Data received {"connection_id":152273,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152273,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:47:22] local.INFO: Processing buffer {"connection_id":152273,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:47:22] local.INFO: IMEI packet received {"connection_id":152273,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":152273,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:47:24] local.INFO: TCP Data received {"connection_id":152637,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:47:24] local.INFO: Processing buffer {"connection_id":152637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:47:24] local.INFO: IMEI packet received {"connection_id":152637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":152637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:47:25] local.INFO: TCP Data received {"connection_id":152637,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:47:25] local.INFO: Processing buffer {"connection_id":152637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:47:25] local.INFO: Packet analysis {"connection_id":152637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:47:25] local.INFO: Extracted packet for processing {"connection_id":152637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:47:25] local.INFO: GPS Element Parsed {"raw_longitude":765209152,"raw_latitude":95660616,"longitude_deg":76.5209152,"latitude_deg":9.5660616,"altitude":6,"angle":300,"satellites":47,"speed":0,"hex_longitude":"2d9c2a40","hex_latitude":"05b3aa48","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329411072001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7187674612050622464,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786443313000,"timestamp_ms":1786443313000,"timestamp_seconds":1786443313,"priority":1,"record_length":96,"hex_timestamp":"0000019ff051af68"} 
[2026-08-11 15:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 15:47:25] 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-08-11 15: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-08-11 15:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:47:25] 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-08-11 15:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329411072001,"66":26539,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7187674612050622464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329411072001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:47:25] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:47:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7187674612050622464,"description":"Unknown IO ID 45"} 
[2026-08-11 15:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329411072001,"power":26539,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7187674612050622464}} 
[2026-08-11 15:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":152637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:47:25] local.INFO: GPS data processed {"connection_id":152637,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:47:25] local.INFO: Acknowledgment sent {"connection_id":152637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:47:27] local.INFO: TCP Data received {"connection_id":152273,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152273,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:47:27] local.INFO: Processing buffer {"connection_id":152273,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:47:27] local.INFO: IMEI packet received {"connection_id":152273,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":152273,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:47:28] local.INFO: TCP Data received {"connection_id":152273,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff052cc90012d0ca5c0070431d80023001b0b..."} 
[2026-08-11 15:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff052cc90012d0ca5c0070431d80023001b0b..."} 
[2026-08-11 15:47:28] local.INFO: Processing buffer {"connection_id":152273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff052cc90012d0ca5c0070431d80023001b0b..."} 
[2026-08-11 15:47:28] local.INFO: Packet analysis {"connection_id":152273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff052"} 
[2026-08-11 15:47:28] local.INFO: Extracted packet for processing {"connection_id":152273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff052"} 
[2026-08-11 15:47:28] local.INFO: GPS Element Parsed {"raw_longitude":755803584,"raw_latitude":117715416,"longitude_deg":75.5803584,"latitude_deg":11.7715416,"altitude":35,"angle":27,"satellites":11,"speed":37,"hex_longitude":"2d0ca5c0","hex_latitude":"070431d8","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329505280001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27631942681755648,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908108673746556928,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786443386000,"timestamp_ms":1786443386000,"timestamp_seconds":1786443386,"priority":1,"record_length":96,"hex_timestamp":"0000019ff052cc90"} 
[2026-08-11 15:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:47: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-08-11 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 15:47:28] 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-08-11 15: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-08-11 15:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152273,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152273,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329505280001,"66":14439,"16":27631942681755648,"94":11008,"24":37,"45":908108673746556928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 15:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329505280001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27631942681755648,"km_value":27631942681755.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:47:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":908108673746556928,"description":"Unknown IO ID 45"} 
[2026-08-11 15:47:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457329505280001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":37,"unknown_45":908108673746556928}} 
[2026-08-11 15:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":152273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625524,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:47:28] local.INFO: GPS data processed {"connection_id":152273,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:47:28] local.INFO: Acknowledgment sent {"connection_id":152273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:47:42] local.INFO: TCP Data received {"connection_id":152272,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff052bcf0012d19de0007200b18003500a72b..."} 
[2026-08-11 15:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff052bcf0012d19de0007200b18003500a72b..."} 
[2026-08-11 15:47:42] local.INFO: Processing buffer {"connection_id":152272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff052bcf0012d19de0007200b18003500a72b..."} 
[2026-08-11 15:47:42] local.INFO: Packet analysis {"connection_id":152272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff052"} 
[2026-08-11 15:47:42] local.INFO: Extracted packet for processing {"connection_id":152272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff052"} 
[2026-08-11 15:47:42] local.INFO: GPS Element Parsed {"raw_longitude":756669952,"raw_latitude":119540504,"longitude_deg":75.6669952,"latitude_deg":11.9540504,"altitude":53,"angle":167,"satellites":43,"speed":8,"hex_longitude":"2d19de00","hex_latitude":"07200b18","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329505536001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11708235467718656,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863786588892030976,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:42] 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-08-11 15:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786443382000,"timestamp_ms":1786443382000,"timestamp_seconds":1786443382,"priority":1,"record_length":96,"hex_timestamp":"0000019ff052bcf0"} 
[2026-08-11 15:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:47:42] 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-08-11 15: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 15:47:42] 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-08-11 15: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-08-11 15:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329505536001,"66":14374,"101":206,"83":41984,"24":8,"16":11708235467718656,"45":1863786588892030976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329505536001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:47:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11708235467718656,"km_value":11708235467718.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863786588892030976,"description":"Unknown IO ID 45"} 
[2026-08-11 15:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329505536001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1863786588892030976}} 
[2026-08-11 15:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":152272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:47:42] local.INFO: GPS data processed {"connection_id":152272,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:47:42] local.INFO: Acknowledgment sent {"connection_id":152272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:47:56] local.INFO: TCP Data received {"connection_id":152637,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:47:56] local.INFO: Processing buffer {"connection_id":152637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:47:56] local.INFO: Packet analysis {"connection_id":152637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:47:56] local.INFO: Extracted packet for processing {"connection_id":152637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:47:56] local.INFO: GPS Element Parsed {"raw_longitude":765209152,"raw_latitude":95660616,"longitude_deg":76.5209152,"latitude_deg":9.5660616,"altitude":6,"angle":300,"satellites":47,"speed":0,"hex_longitude":"2d9c2a40","hex_latitude":"05b3aa48","is_valid_coordinates":true} 
[2026-08-11 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-08-11 15:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329411072001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7187674612050622464,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786443313000,"timestamp_ms":1786443313000,"timestamp_seconds":1786443313,"priority":1,"record_length":96,"hex_timestamp":"0000019ff051af68"} 
[2026-08-11 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-08-11 15:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 15:47:56] 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-08-11 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-08-11 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-08-11 15:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:47:56] 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-08-11 15:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329411072001,"66":26539,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7187674612050622464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329411072001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:47:56] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:47:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7187674612050622464,"description":"Unknown IO ID 45"} 
[2026-08-11 15:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329411072001,"power":26539,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7187674612050622464}} 
[2026-08-11 15:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":152637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:47:56] local.INFO: GPS data processed {"connection_id":152637,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:47:56] local.INFO: Acknowledgment sent {"connection_id":152637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:47:59] local.INFO: TCP Data received {"connection_id":152273,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff052f788012d0cb20007045340002000130b..."} 
[2026-08-11 15:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff052f788012d0cb20007045340002000130b..."} 
[2026-08-11 15:47:59] local.INFO: Processing buffer {"connection_id":152273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff052f788012d0cb20007045340002000130b..."} 
[2026-08-11 15:47:59] local.INFO: Packet analysis {"connection_id":152273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff052"} 
[2026-08-11 15:47:59] local.INFO: Extracted packet for processing {"connection_id":152273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff052"} 
[2026-08-11 15:47:59] local.INFO: GPS Element Parsed {"raw_longitude":755806720,"raw_latitude":117723968,"longitude_deg":75.580672,"latitude_deg":11.7723968,"altitude":32,"angle":19,"satellites":11,"speed":37,"hex_longitude":"2d0cb200","hex_latitude":"07045340","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329506816001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27632380768419840,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911345635980072960,"note":"Value kept but may cause issues"} 
[2026-08-11 15:47:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786443397000,"timestamp_ms":1786443397000,"timestamp_seconds":1786443397,"priority":1,"record_length":96,"hex_timestamp":"0000019ff052f788"} 
[2026-08-11 15:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:47: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-08-11 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 15:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152273,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152273,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329506816001,"66":14439,"16":27632380768419840,"94":11008,"24":37,"45":911345635980072960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 15:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329506816001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27632380768419840,"km_value":27632380768419.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:47:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 15:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":911345635980072960,"description":"Unknown IO ID 45"} 
[2026-08-11 15:47:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457329506816001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":37,"unknown_45":911345635980072960}} 
[2026-08-11 15:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":152273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625527,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:47:59] local.INFO: GPS data processed {"connection_id":152273,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:47:59] local.INFO: Acknowledgment sent {"connection_id":152273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:48:09] local.INFO: TCP Data received {"connection_id":154974,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:48:09] local.INFO: Processing buffer {"connection_id":154974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:48:09] local.INFO: IMEI packet received {"connection_id":154974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":154974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:48:10] local.INFO: TCP Data received {"connection_id":154974,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:48:10] local.INFO: Processing buffer {"connection_id":154974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:48:10] local.INFO: IMEI packet received {"connection_id":154974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":154974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:48:11] local.INFO: TCP Data received {"connection_id":154974,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:48:11] local.INFO: Processing buffer {"connection_id":154974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:48:11] local.INFO: IMEI packet received {"connection_id":154974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":154974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:48:13] local.INFO: TCP Data received {"connection_id":154974,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:48:13] local.INFO: Processing buffer {"connection_id":154974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:48:13] local.INFO: IMEI packet received {"connection_id":154974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":154974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:48:14] local.INFO: TCP Data received {"connection_id":154974,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0538428012d19a380071ff168003700f52a..."} 
[2026-08-11 15:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0538428012d19a380071ff168003700f52a..."} 
[2026-08-11 15:48:14] local.INFO: Processing buffer {"connection_id":154974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0538428012d19a380071ff168003700f52a..."} 
[2026-08-11 15:48:14] local.INFO: Packet analysis {"connection_id":154974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff053"} 
[2026-08-11 15:48:14] local.INFO: Extracted packet for processing {"connection_id":154974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff053"} 
[2026-08-11 15:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119533928,"longitude_deg":75.6654976,"latitude_deg":11.9533928,"altitude":55,"angle":245,"satellites":42,"speed":12,"hex_longitude":"2d19a380","hex_latitude":"071ff168","is_valid_coordinates":true} 
[2026-08-11 15:48: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-08-11 15:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329518336001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709111641047040,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847953621450369024,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:14] 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-08-11 15:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786443433000,"timestamp_ms":1786443433000,"timestamp_seconds":1786443433,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0538428"} 
[2026-08-11 15:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:48:14] 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-08-11 15:48: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 15:48:14] 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-08-11 15:48: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-08-11 15:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329518336001,"66":14374,"101":206,"83":41984,"24":12,"16":11709111641047040,"45":1847953621450369024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329518336001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:48:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:48:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709111641047040,"km_value":11709111641047.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847953621450369024,"description":"Unknown IO ID 45"} 
[2026-08-11 15:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329518336001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1847953621450369024}} 
[2026-08-11 15:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":154974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:48:14] local.INFO: GPS data processed {"connection_id":154974,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:48:14] local.INFO: Acknowledgment sent {"connection_id":154974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:48:19] local.INFO: TCP Data received {"connection_id":152274,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:48:19] local.INFO: Processing buffer {"connection_id":152274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:48:19] local.INFO: IMEI packet received {"connection_id":152274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":152274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:48:21] local.INFO: TCP Data received {"connection_id":153590,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:48:21] local.INFO: Processing buffer {"connection_id":153590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:48:21] local.INFO: IMEI packet received {"connection_id":153590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":153590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:48:22] local.INFO: TCP Data received {"connection_id":153590,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:48:22] local.INFO: Processing buffer {"connection_id":153590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:48:22] local.INFO: IMEI packet received {"connection_id":153590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":153590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:48:24] local.INFO: TCP Data received {"connection_id":152274,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:48:24] local.INFO: Processing buffer {"connection_id":152274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:48:24] local.INFO: IMEI packet received {"connection_id":152274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":152274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:48:25] local.INFO: TCP Data received {"connection_id":152274,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:48:25] local.INFO: Processing buffer {"connection_id":152274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:48:25] local.INFO: Packet analysis {"connection_id":152274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:48:25] local.INFO: Extracted packet for processing {"connection_id":152274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:48:25] local.INFO: GPS Element Parsed {"raw_longitude":765209152,"raw_latitude":95660616,"longitude_deg":76.5209152,"latitude_deg":9.5660616,"altitude":6,"angle":300,"satellites":47,"speed":0,"hex_longitude":"2d9c2a40","hex_latitude":"05b3aa48","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329411072001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7187674612050622464,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786443313000,"timestamp_ms":1786443313000,"timestamp_seconds":1786443313,"priority":1,"record_length":96,"hex_timestamp":"0000019ff051af68"} 
[2026-08-11 15:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 15:48:25] 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-08-11 15: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-08-11 15:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:48:25] 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-08-11 15:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329411072001,"66":26539,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7187674612050622464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329411072001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:48:25] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:48:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7187674612050622464,"description":"Unknown IO ID 45"} 
[2026-08-11 15:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329411072001,"power":26539,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7187674612050622464}} 
[2026-08-11 15:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":152274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:48:25] local.INFO: GPS data processed {"connection_id":152274,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:48:25] local.INFO: Acknowledgment sent {"connection_id":152274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:48:25] local.INFO: TCP Data received {"connection_id":153590,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:48:25] local.INFO: Processing buffer {"connection_id":153590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:48:25] local.INFO: IMEI packet received {"connection_id":153590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":153590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:48:26] local.INFO: TCP Data received {"connection_id":153590,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0543fa8012d0c87c00704d490002001240c..."} 
[2026-08-11 15:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0543fa8012d0c87c00704d490002001240c..."} 
[2026-08-11 15:48:26] local.INFO: Processing buffer {"connection_id":153590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0543fa8012d0c87c00704d490002001240c..."} 
[2026-08-11 15:48:26] local.INFO: Packet analysis {"connection_id":153590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff054"} 
[2026-08-11 15:48:26] local.INFO: Extracted packet for processing {"connection_id":153590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff054"} 
[2026-08-11 15:48:26] local.INFO: GPS Element Parsed {"raw_longitude":755795904,"raw_latitude":117757072,"longitude_deg":75.5795904,"latitude_deg":11.7757072,"altitude":32,"angle":292,"satellites":12,"speed":18,"hex_longitude":"2d0c87c0","hex_latitude":"0704d490","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329530624001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27634188949651456,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":903886549107818496,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:26] 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-08-11 15:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786443481000,"timestamp_ms":1786443481000,"timestamp_seconds":1786443481,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0543fa8"} 
[2026-08-11 15:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:48: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-08-11 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 15:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329530624001,"66":14439,"95":206,"94":10240,"24":18,"16":27634188949651456,"45":903886549107818496},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-11 15:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329530624001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:48:26] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 15:48:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27634188949651456,"km_value":27634188949651.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":903886549107818496,"description":"Unknown IO ID 45"} 
[2026-08-11 15:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329530624001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":903886549107818496}} 
[2026-08-11 15:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":153590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625530,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:48:26] local.INFO: GPS data processed {"connection_id":153590,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:48:26] local.INFO: Acknowledgment sent {"connection_id":153590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:48:45] local.INFO: TCP Data received {"connection_id":154974,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0538fe0012d199f80071ff058003701082c..."} 
[2026-08-11 15:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0538fe0012d199f80071ff058003701082c..."} 
[2026-08-11 15:48:45] local.INFO: Processing buffer {"connection_id":154974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0538fe0012d199f80071ff058003701082c..."} 
[2026-08-11 15:48:45] local.INFO: Packet analysis {"connection_id":154974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff053"} 
[2026-08-11 15:48:45] local.INFO: Extracted packet for processing {"connection_id":154974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff053"} 
[2026-08-11 15:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756653952,"raw_latitude":119533656,"longitude_deg":75.6653952,"latitude_deg":11.9533656,"altitude":55,"angle":264,"satellites":44,"speed":14,"hex_longitude":"2d199f80","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-08-11 15:48: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-08-11 15:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329518848001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709163180654592,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040241076224,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:45] 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-08-11 15:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786443436000,"timestamp_ms":1786443436000,"timestamp_seconds":1786443436,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0538fe0"} 
[2026-08-11 15:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:48: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-08-11 15:48: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 15:48:45] 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-08-11 15:48: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-08-11 15:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":154974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":154974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":154974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329518848001,"66":14363,"101":206,"83":41984,"24":14,"16":11709163180654592,"45":1847461040241076224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329518848001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:48:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709163180654592,"km_value":11709163180654.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040241076224,"description":"Unknown IO ID 45"} 
[2026-08-11 15:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329518848001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1847461040241076224}} 
[2026-08-11 15:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":154974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:48:45] local.INFO: GPS data processed {"connection_id":154974,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:48:45] local.INFO: Acknowledgment sent {"connection_id":154974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:48:56] local.INFO: TCP Data received {"connection_id":152274,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:48:56] local.INFO: Processing buffer {"connection_id":152274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:48:56] local.INFO: Packet analysis {"connection_id":152274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:48:56] local.INFO: Extracted packet for processing {"connection_id":152274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:48:56] local.INFO: GPS Element Parsed {"raw_longitude":765209152,"raw_latitude":95660616,"longitude_deg":76.5209152,"latitude_deg":9.5660616,"altitude":6,"angle":300,"satellites":47,"speed":0,"hex_longitude":"2d9c2a40","hex_latitude":"05b3aa48","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329411072001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7187674612050622464,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786443313000,"timestamp_ms":1786443313000,"timestamp_seconds":1786443313,"priority":1,"record_length":96,"hex_timestamp":"0000019ff051af68"} 
[2026-08-11 15:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 15:48:56] 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-08-11 15: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-08-11 15:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:48:56] 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-08-11 15:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329411072001,"66":26539,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7187674612050622464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329411072001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:48:56] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:48:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7187674612050622464,"description":"Unknown IO ID 45"} 
[2026-08-11 15:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329411072001,"power":26539,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7187674612050622464}} 
[2026-08-11 15:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":152274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:48:56] local.INFO: GPS data processed {"connection_id":152274,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:48:56] local.INFO: Acknowledgment sent {"connection_id":152274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:48:57] local.INFO: TCP Data received {"connection_id":153590,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0544778012d0c83800704d4e8002001190c..."} 
[2026-08-11 15:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0544778012d0c83800704d4e8002001190c..."} 
[2026-08-11 15:48:57] local.INFO: Processing buffer {"connection_id":153590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0544778012d0c83800704d4e8002001190c..."} 
[2026-08-11 15:48:57] local.INFO: Packet analysis {"connection_id":153590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff054"} 
[2026-08-11 15:48:57] local.INFO: Extracted packet for processing {"connection_id":153590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff054"} 
[2026-08-11 15:48:57] local.INFO: GPS Element Parsed {"raw_longitude":755794816,"raw_latitude":117757160,"longitude_deg":75.5794816,"latitude_deg":11.775716,"altitude":32,"angle":281,"satellites":12,"speed":21,"hex_longitude":"2d0c8380","hex_latitude":"0704d4e8","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329531136001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27634240489259008,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":902901386689417216,"note":"Value kept but may cause issues"} 
[2026-08-11 15:48:57] 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-08-11 15:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786443483000,"timestamp_ms":1786443483000,"timestamp_seconds":1786443483,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0544778"} 
[2026-08-11 15:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:48:57] 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-08-11 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 15:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329531136001,"66":14515,"95":206,"94":10240,"24":21,"16":27634240489259008,"45":902901386689417216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-11 15:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329531136001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:48:57] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 15:48:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27634240489259008,"km_value":27634240489259.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":902901386689417216,"description":"Unknown IO ID 45"} 
[2026-08-11 15:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329531136001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":902901386689417216}} 
[2026-08-11 15:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":153590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625533,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:48:57] local.INFO: GPS data processed {"connection_id":153590,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:48:57] local.INFO: Acknowledgment sent {"connection_id":153590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:49:07] local.INFO: TCP Data received {"connection_id":153591,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:49:07] local.INFO: Processing buffer {"connection_id":153591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:49:07] local.INFO: IMEI packet received {"connection_id":153591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":153591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:49:10] local.INFO: TCP Data received {"connection_id":153591,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:49:10] local.INFO: Processing buffer {"connection_id":153591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:49:10] local.INFO: IMEI packet received {"connection_id":153591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":153591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:49:15] local.INFO: TCP Data received {"connection_id":153591,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:49:15] local.INFO: Processing buffer {"connection_id":153591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:49:15] local.INFO: IMEI packet received {"connection_id":153591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":153591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:49:16] local.INFO: TCP Data received {"connection_id":153591,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05393c8012d199e80071ff068003701142c..."} 
[2026-08-11 15:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05393c8012d199e80071ff068003701142c..."} 
[2026-08-11 15:49:16] local.INFO: Processing buffer {"connection_id":153591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05393c8012d199e80071ff068003701142c..."} 
[2026-08-11 15:49:16] local.INFO: Packet analysis {"connection_id":153591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff053"} 
[2026-08-11 15:49:16] local.INFO: Extracted packet for processing {"connection_id":153591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff053"} 
[2026-08-11 15:49:16] local.INFO: GPS Element Parsed {"raw_longitude":756653696,"raw_latitude":119533672,"longitude_deg":75.6653696,"latitude_deg":11.9533672,"altitude":55,"angle":276,"satellites":44,"speed":15,"hex_longitude":"2d199e80","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329519616001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709176065556480,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846335140334163968,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:16] 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-08-11 15:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786443437000,"timestamp_ms":1786443437000,"timestamp_seconds":1786443437,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05393c8"} 
[2026-08-11 15:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:49: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-08-11 15: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-11 15:49:16] 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-08-11 15: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-08-11 15:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329519616001,"66":14135,"101":206,"83":41984,"24":15,"16":11709176065556480,"45":1846335140334163968},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 15:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329519616001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:49:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 15:49:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709176065556480,"km_value":11709176065556.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846335140334163968,"description":"Unknown IO ID 45"} 
[2026-08-11 15:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329519616001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1846335140334163968}} 
[2026-08-11 15:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":153591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:49:16] local.INFO: GPS data processed {"connection_id":153591,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:49:16] local.INFO: Acknowledgment sent {"connection_id":153591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:49:19] local.INFO: TCP Data received {"connection_id":152275,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:49:19] local.INFO: Processing buffer {"connection_id":152275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:49:19] local.INFO: IMEI packet received {"connection_id":152275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":152275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:49:21] local.INFO: TCP Data received {"connection_id":152276,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152276,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:49:21] local.INFO: Processing buffer {"connection_id":152276,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:49:21] local.INFO: IMEI packet received {"connection_id":152276,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":152276,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:49:22] local.INFO: TCP Data received {"connection_id":152276,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152276,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:49:22] local.INFO: Processing buffer {"connection_id":152276,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:49:22] local.INFO: IMEI packet received {"connection_id":152276,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":152276,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:49:24] local.INFO: TCP Data received {"connection_id":152276,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152276,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:49:24] local.INFO: Processing buffer {"connection_id":152276,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:49:24] local.INFO: IMEI packet received {"connection_id":152276,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":152276,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:49:24] local.INFO: TCP Data received {"connection_id":152275,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:49:24] local.INFO: Processing buffer {"connection_id":152275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:49:24] local.INFO: IMEI packet received {"connection_id":152275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":152275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:49:26] local.INFO: TCP Data received {"connection_id":152275,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:49:26] local.INFO: Processing buffer {"connection_id":152275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff051af68012d9c2a4005b3aa480006012c2f..."} 
[2026-08-11 15:49:26] local.INFO: Packet analysis {"connection_id":152275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:49:26] local.INFO: Extracted packet for processing {"connection_id":152275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff051"} 
[2026-08-11 15:49:26] local.INFO: GPS Element Parsed {"raw_longitude":765209152,"raw_latitude":95660616,"longitude_deg":76.5209152,"latitude_deg":9.5660616,"altitude":6,"angle":300,"satellites":47,"speed":0,"hex_longitude":"2d9c2a40","hex_latitude":"05b3aa48","is_valid_coordinates":true} 
[2026-08-11 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-08-11 15:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329411072001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7187674612050622464,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786443313000,"timestamp_ms":1786443313000,"timestamp_seconds":1786443313,"priority":1,"record_length":96,"hex_timestamp":"0000019ff051af68"} 
[2026-08-11 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-08-11 15:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 15:49:26] 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-08-11 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-08-11 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-08-11 15:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:49:26] 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-08-11 15:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329411072001,"66":26539,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7187674612050622464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329411072001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:49:26] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:49:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7187674612050622464,"description":"Unknown IO ID 45"} 
[2026-08-11 15:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329411072001,"power":26539,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7187674612050622464}} 
[2026-08-11 15:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":152275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:49:26] local.INFO: GPS data processed {"connection_id":152275,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:49:26] local.INFO: Acknowledgment sent {"connection_id":152275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:49:26] local.INFO: TCP Data received {"connection_id":152276,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152276,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:49:26] local.INFO: Processing buffer {"connection_id":152276,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:49:26] local.INFO: IMEI packet received {"connection_id":152276,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":152276,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:49:26] local.INFO: TCP Data received {"connection_id":152276,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0555118012d0b9a400704b6f0001f01080c..."} 
[2026-08-11 15:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0555118012d0b9a400704b6f0001f01080c..."} 
[2026-08-11 15:49:26] local.INFO: Processing buffer {"connection_id":152276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0555118012d0b9a400704b6f0001f01080c..."} 
[2026-08-11 15:49:26] local.INFO: Packet analysis {"connection_id":152276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:49:26] local.INFO: Extracted packet for processing {"connection_id":152276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:49:26] local.INFO: GPS Element Parsed {"raw_longitude":755735104,"raw_latitude":117749488,"longitude_deg":75.5735104,"latitude_deg":11.7749488,"altitude":31,"angle":264,"satellites":12,"speed":41,"hex_longitude":"2d0b9a40","hex_latitude":"0704b6f0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 15:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329546496001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27637122412314624,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":846043441392029696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786443551000,"timestamp_ms":1786443551000,"timestamp_seconds":1786443551,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0555118"} 
[2026-08-11 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-08-11 15:49: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-08-11 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-11 15:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 15:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152276,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152276,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329546496001,"66":14048,"96":206,"94":10240,"24":41,"16":27637122412314624,"45":846043441392029696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 15:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329546496001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:49:26] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 15:49:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27637122412314624,"km_value":27637122412314.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":846043441392029696,"description":"Unknown IO ID 45"} 
[2026-08-11 15:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329546496001,"power":14048,"unknown_96":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":846043441392029696}} 
[2026-08-11 15:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":152276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625536,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:49:27] local.INFO: GPS data processed {"connection_id":152276,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:49:27] local.INFO: Acknowledgment sent {"connection_id":152276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:49:27] local.INFO: TCP Data received {"connection_id":152276,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05560b8012d0b8a800704b750001e01150c..."} 
[2026-08-11 15:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05560b8012d0b8a800704b750001e01150c..."} 
[2026-08-11 15:49:27] local.INFO: Processing buffer {"connection_id":152276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05560b8012d0b8a800704b750001e01150c..."} 
[2026-08-11 15:49:27] local.INFO: Packet analysis {"connection_id":152276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:49:27] local.INFO: Extracted packet for processing {"connection_id":152276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:49:27] local.INFO: GPS Element Parsed {"raw_longitude":755731072,"raw_latitude":117749584,"longitude_deg":75.5731072,"latitude_deg":11.7749584,"altitude":30,"angle":277,"satellites":12,"speed":36,"hex_longitude":"2d0b8a80","hex_latitude":"0704b750","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329549056001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27637315685842944,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":836051079718694912,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786443555000,"timestamp_ms":1786443555000,"timestamp_seconds":1786443555,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05560b8"} 
[2026-08-11 15:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:49: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-08-11 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-11 15:49:27] 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-08-11 15: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-08-11 15:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152276,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152276,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329549056001,"66":14515,"96":206,"94":10240,"24":36,"16":27637315685842944,"45":836051079718694912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 15:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329549056001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:49:27] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 15:49:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27637315685842944,"km_value":27637315685842.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":836051079718694912,"description":"Unknown IO ID 45"} 
[2026-08-11 15:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329549056001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":836051079718694912}} 
[2026-08-11 15:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":152276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625537,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:49:27] local.INFO: GPS data processed {"connection_id":152276,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:49:27] local.INFO: Acknowledgment sent {"connection_id":152276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:49:28] local.INFO: TCP Data received {"connection_id":152638,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:49:28] local.INFO: Processing buffer {"connection_id":152638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:49:28] local.INFO: IMEI packet received {"connection_id":152638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":152638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:49:30] local.INFO: TCP Data received {"connection_id":152638,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:49:30] local.INFO: Processing buffer {"connection_id":152638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:49:30] local.INFO: IMEI packet received {"connection_id":152638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":152638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:49:47] local.INFO: TCP Data received {"connection_id":153591,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff053ca78012d198900071ff138003d01082b..."} 
[2026-08-11 15:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff053ca78012d198900071ff138003d01082b..."} 
[2026-08-11 15:49:47] local.INFO: Processing buffer {"connection_id":153591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff053ca78012d198900071ff138003d01082b..."} 
[2026-08-11 15:49:47] local.INFO: Packet analysis {"connection_id":153591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff053"} 
[2026-08-11 15:49:47] local.INFO: Extracted packet for processing {"connection_id":153591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff053"} 
[2026-08-11 15:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756648192,"raw_latitude":119533880,"longitude_deg":75.6648192,"latitude_deg":11.953388,"altitude":61,"angle":264,"satellites":43,"speed":14,"hex_longitude":"2d198900","hex_latitude":"071ff138","is_valid_coordinates":true} 
[2026-08-11 15:49: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-08-11 15:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329519872001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709438058561536,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846053665357457408,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786443451000,"timestamp_ms":1786443451000,"timestamp_seconds":1786443451,"priority":1,"record_length":96,"hex_timestamp":"0000019ff053ca78"} 
[2026-08-11 15:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:49: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-08-11 15:49: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-11 15:49:47] 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-08-11 15:49: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-08-11 15:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329519872001,"66":13243,"102":206,"83":41984,"24":14,"16":11709438058561536,"45":1846053665357457408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 15:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329519872001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:49:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 15:49:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709438058561536,"km_value":11709438058561.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846053665357457408,"description":"Unknown IO ID 45"} 
[2026-08-11 15:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329519872001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1846053665357457408}} 
[2026-08-11 15:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":153591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:49:47] local.INFO: GPS data processed {"connection_id":153591,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:49:47] local.INFO: Acknowledgment sent {"connection_id":153591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:49:57] local.INFO: TCP Data received {"connection_id":152275,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05502f8012d9c2a4005b3aa480006012c2d..."} 
[2026-08-11 15:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05502f8012d9c2a4005b3aa480006012c2d..."} 
[2026-08-11 15:49:57] local.INFO: Processing buffer {"connection_id":152275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05502f8012d9c2a4005b3aa480006012c2d..."} 
[2026-08-11 15:49:57] local.INFO: Packet analysis {"connection_id":152275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:49:57] local.INFO: Extracted packet for processing {"connection_id":152275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:49:57] local.INFO: GPS Element Parsed {"raw_longitude":765209152,"raw_latitude":95660616,"longitude_deg":76.5209152,"latitude_deg":9.5660616,"altitude":6,"angle":300,"satellites":45,"speed":0,"hex_longitude":"2d9c2a40","hex_latitude":"05b3aa48","is_valid_coordinates":true} 
[2026-08-11 15:49: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-08-11 15:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329488128001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7193867061537650688,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786443531000,"timestamp_ms":1786443531000,"timestamp_seconds":1786443531,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05502f8"} 
[2026-08-11 15:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 15: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-11 15:49:57] 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-08-11 15: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-08-11 15:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:49:57] 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-08-11 15:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329488128001,"66":26289,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7193867061537650688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329488128001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:49:57] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7193867061537650688,"description":"Unknown IO ID 45"} 
[2026-08-11 15:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329488128001,"power":26289,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7193867061537650688}} 
[2026-08-11 15:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":152275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:49:57] local.INFO: GPS data processed {"connection_id":152275,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:49:57] local.INFO: Acknowledgment sent {"connection_id":152275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:49:59] local.INFO: TCP Data received {"connection_id":152276,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff055ddb8012d0b54c00704f540002001360c..."} 
[2026-08-11 15:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff055ddb8012d0b54c00704f540002001360c..."} 
[2026-08-11 15:49:59] local.INFO: Processing buffer {"connection_id":152276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff055ddb8012d0b54c00704f540002001360c..."} 
[2026-08-11 15:49:59] local.INFO: Packet analysis {"connection_id":152276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:49:59] local.INFO: Extracted packet for processing {"connection_id":152276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:49:59] local.INFO: GPS Element Parsed {"raw_longitude":755717312,"raw_latitude":117765440,"longitude_deg":75.5717312,"latitude_deg":11.776544,"altitude":32,"angle":310,"satellites":12,"speed":26,"hex_longitude":"2d0b54c0","hex_latitude":"0704f540","is_valid_coordinates":true} 
[2026-08-11 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-08-11 15:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329557760001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27638475327012864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":817473731259686912,"note":"Value kept but may cause issues"} 
[2026-08-11 15:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786443587000,"timestamp_ms":1786443587000,"timestamp_seconds":1786443587,"priority":1,"record_length":96,"hex_timestamp":"0000019ff055ddb8"} 
[2026-08-11 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-08-11 15:49: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-08-11 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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 15:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 15:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152276,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152276,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329557760001,"66":14428,"96":206,"94":10240,"24":26,"16":27638475327012864,"45":817473731259686912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 15:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329557760001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:49:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 15:49:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27638475327012864,"km_value":27638475327012.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":817473731259686912,"description":"Unknown IO ID 45"} 
[2026-08-11 15:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329557760001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":817473731259686912}} 
[2026-08-11 15:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":152276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625540,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:49:59] local.INFO: GPS data processed {"connection_id":152276,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:49:59] local.INFO: Acknowledgment sent {"connection_id":152276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:50:10] local.INFO: TCP Data received {"connection_id":153592,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:50:10] local.INFO: Processing buffer {"connection_id":153592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:50:10] local.INFO: IMEI packet received {"connection_id":153592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":153592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:50:11] local.INFO: TCP Data received {"connection_id":153592,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:50:11] local.INFO: Processing buffer {"connection_id":153592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:50:11] local.INFO: IMEI packet received {"connection_id":153592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":153592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:50:15] local.INFO: TCP Data received {"connection_id":153592,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:50:15] local.INFO: Processing buffer {"connection_id":153592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:50:15] local.INFO: IMEI packet received {"connection_id":153592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":153592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:50:16] local.INFO: TCP Data received {"connection_id":153592,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff053d248012d198600071ff0c0003d00fd2a..."} 
[2026-08-11 15:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff053d248012d198600071ff0c0003d00fd2a..."} 
[2026-08-11 15:50:16] local.INFO: Processing buffer {"connection_id":153592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff053d248012d198600071ff0c0003d00fd2a..."} 
[2026-08-11 15:50:16] local.INFO: Packet analysis {"connection_id":153592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff053"} 
[2026-08-11 15:50:16] local.INFO: Extracted packet for processing {"connection_id":153592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff053"} 
[2026-08-11 15:50:16] local.INFO: GPS Element Parsed {"raw_longitude":756647424,"raw_latitude":119533760,"longitude_deg":75.6647424,"latitude_deg":11.953376,"altitude":61,"angle":253,"satellites":42,"speed":14,"hex_longitude":"2d198600","hex_latitude":"071ff0c0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329523456001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709472418299904,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840001953358231552,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786443453000,"timestamp_ms":1786443453000,"timestamp_seconds":1786443453,"priority":1,"record_length":96,"hex_timestamp":"0000019ff053d248"} 
[2026-08-11 15:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:50: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-08-11 15: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 15:50:16] 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-08-11 15: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-08-11 15:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329523456001,"66":13156,"102":206,"83":41984,"24":14,"16":11709472418299904,"45":1840001953358231552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 15:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329523456001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:50:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 15:50:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709472418299904,"km_value":11709472418299.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840001953358231552,"description":"Unknown IO ID 45"} 
[2026-08-11 15:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329523456001,"power":13156,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1840001953358231552}} 
[2026-08-11 15:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":153592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:50:16] local.INFO: GPS data processed {"connection_id":153592,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:50:16] local.INFO: Acknowledgment sent {"connection_id":153592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:50:23] local.INFO: TCP Data received {"connection_id":154975,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154975,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:50:23] local.INFO: Processing buffer {"connection_id":154975,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:50:23] local.INFO: IMEI packet received {"connection_id":154975,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":154975,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:50:24] local.INFO: TCP Data received {"connection_id":153593,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:50:24] local.INFO: Processing buffer {"connection_id":153593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:50:24] local.INFO: IMEI packet received {"connection_id":153593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":153593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:50:25] local.INFO: TCP Data received {"connection_id":153593,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:50:25] local.INFO: Processing buffer {"connection_id":153593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:50:25] local.INFO: IMEI packet received {"connection_id":153593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":153593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:50:27] local.INFO: TCP Data received {"connection_id":154975,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154975,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:50:27] local.INFO: Processing buffer {"connection_id":154975,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:50:27] local.INFO: IMEI packet received {"connection_id":154975,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":154975,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:50:29] local.INFO: TCP Data received {"connection_id":153593,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:50:29] local.INFO: Processing buffer {"connection_id":153593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:50:29] local.INFO: IMEI packet received {"connection_id":153593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":153593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:50:30] local.INFO: TCP Data received {"connection_id":153593,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0551a68012d9c27c005b3ab980006011f2d..."} 
[2026-08-11 15:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0551a68012d9c27c005b3ab980006011f2d..."} 
[2026-08-11 15:50:30] local.INFO: Processing buffer {"connection_id":153593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0551a68012d9c27c005b3ab980006011f2d..."} 
[2026-08-11 15:50:30] local.INFO: Packet analysis {"connection_id":153593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:50:30] local.INFO: Extracted packet for processing {"connection_id":153593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:50:30] local.INFO: GPS Element Parsed {"raw_longitude":765208512,"raw_latitude":95660952,"longitude_deg":76.5208512,"latitude_deg":9.5660952,"altitude":6,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d9c27c0","hex_latitude":"05b3ab98","is_valid_coordinates":true} 
[2026-08-11 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-08-11 15:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329543936001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7193867061537650688,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786443537000,"timestamp_ms":1786443537000,"timestamp_seconds":1786443537,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0551a68"} 
[2026-08-11 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-08-11 15:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-11 15:50:30] 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-08-11 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-08-11 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-08-11 15:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:50:30] 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-08-11 15:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329543936001,"66":27767,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7193867061537650688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329543936001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:50:30] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:50:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7193867061537650688,"description":"Unknown IO ID 45"} 
[2026-08-11 15:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329543936001,"power":27767,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7193867061537650688}} 
[2026-08-11 15:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":153593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:50:30] local.INFO: GPS data processed {"connection_id":153593,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:50:30] local.INFO: Acknowledgment sent {"connection_id":153593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:50:32] local.INFO: TCP Data received {"connection_id":154975,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154975,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:50:32] local.INFO: Processing buffer {"connection_id":154975,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:50:32] local.INFO: IMEI packet received {"connection_id":154975,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":154975,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:50:33] local.INFO: TCP Data received {"connection_id":154975,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff055e588012d0b4f000704f708002101260c..."} 
[2026-08-11 15:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff055e588012d0b4f000704f708002101260c..."} 
[2026-08-11 15:50:33] local.INFO: Processing buffer {"connection_id":154975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff055e588012d0b4f000704f708002101260c..."} 
[2026-08-11 15:50:33] local.INFO: Packet analysis {"connection_id":154975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:50:33] local.INFO: Extracted packet for processing {"connection_id":154975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:50:33] local.INFO: GPS Element Parsed {"raw_longitude":755715840,"raw_latitude":117765896,"longitude_deg":75.571584,"latitude_deg":11.7765896,"altitude":33,"angle":294,"satellites":12,"speed":29,"hex_longitude":"2d0b4f00","hex_latitude":"0704f708","is_valid_coordinates":true} 
[2026-08-11 15:50: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-08-11 15:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329558272001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27638548341456896,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816488568841388032,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786443589000,"timestamp_ms":1786443589000,"timestamp_seconds":1786443589,"priority":1,"record_length":96,"hex_timestamp":"0000019ff055e588"} 
[2026-08-11 15:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:50:33] 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-08-11 15:50: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-08-11 15:50: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-08-11 15:50: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-08-11 15:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":154975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":154975,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":154975,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329558272001,"66":14428,"96":206,"94":10240,"24":29,"16":27638548341456896,"45":816488568841388032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 15:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329558272001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:50:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 15:50:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27638548341456896,"km_value":27638548341456.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":816488568841388032,"description":"Unknown IO ID 45"} 
[2026-08-11 15:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329558272001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":816488568841388032}} 
[2026-08-11 15:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":154975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625543,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:50:33] local.INFO: GPS data processed {"connection_id":154975,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:50:33] local.INFO: Acknowledgment sent {"connection_id":154975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:50:35] local.INFO: TCP Data received {"connection_id":153593,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0556c70012d9c27c005b3ab980006011f2c..."} 
[2026-08-11 15:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0556c70012d9c27c005b3ab980006011f2c..."} 
[2026-08-11 15:50:35] local.INFO: Processing buffer {"connection_id":153593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0556c70012d9c27c005b3ab980006011f2c..."} 
[2026-08-11 15:50:35] local.INFO: Packet analysis {"connection_id":153593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:50:35] local.INFO: Extracted packet for processing {"connection_id":153593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:50:35] local.INFO: GPS Element Parsed {"raw_longitude":765208512,"raw_latitude":95660952,"longitude_deg":76.5208512,"latitude_deg":9.5660952,"altitude":6,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d9c27c0","hex_latitude":"05b3ab98","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329545472001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737601974534144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7194570748979341312,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786443558000,"timestamp_ms":1786443558000,"timestamp_seconds":1786443558,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0556c70"} 
[2026-08-11 15:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 15:50: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-08-11 15: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-08-11 15:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:50:35] 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-08-11 15:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329545472001,"66":27865,"226":206,"83":17408,"24":0,"16":377737601974534144,"45":-7194570748979341312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329545472001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:50:35] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737601974534144,"km_value":377737601974534.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7194570748979341312,"description":"Unknown IO ID 45"} 
[2026-08-11 15:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329545472001,"power":27865,"unknown_226":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7194570748979341312}} 
[2026-08-11 15:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":153593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:50:35] local.INFO: GPS data processed {"connection_id":153593,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:50:35] local.INFO: Acknowledgment sent {"connection_id":153593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:50:47] local.INFO: TCP Data received {"connection_id":153592,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff053da18012d198340071fef90003d00ec2c..."} 
[2026-08-11 15:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff053da18012d198340071fef90003d00ec2c..."} 
[2026-08-11 15:50:47] local.INFO: Processing buffer {"connection_id":153592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff053da18012d198340071fef90003d00ec2c..."} 
[2026-08-11 15:50:47] local.INFO: Packet analysis {"connection_id":153592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff053"} 
[2026-08-11 15:50:47] local.INFO: Extracted packet for processing {"connection_id":153592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff053"} 
[2026-08-11 15:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756646720,"raw_latitude":119533456,"longitude_deg":75.664672,"latitude_deg":11.9533456,"altitude":61,"angle":236,"satellites":44,"speed":14,"hex_longitude":"2d198340","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-08-11 15:50: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-08-11 15:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329523968001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709511073005568,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839157528428068864,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786443455000,"timestamp_ms":1786443455000,"timestamp_seconds":1786443455,"priority":1,"record_length":96,"hex_timestamp":"0000019ff053da18"} 
[2026-08-11 15:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:50: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-08-11 15:50: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":100,"data_length":795,"current_offset":136} 
[2026-08-11 15:50:47] 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-08-11 15:50: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-08-11 15:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329523968001,"66":12711,"102":206,"83":41984,"24":14,"16":11709511073005568,"45":1839157528428068864},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 15:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329523968001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:50:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 15:50:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709511073005568,"km_value":11709511073005.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839157528428068864,"description":"Unknown IO ID 45"} 
[2026-08-11 15:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329523968001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1839157528428068864}} 
[2026-08-11 15:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":153592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:50:47] local.INFO: GPS data processed {"connection_id":153592,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:50:47] local.INFO: Acknowledgment sent {"connection_id":153592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:50:47] local.INFO: TCP Data received {"connection_id":154975,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff055ed58012d0b48400704f700002101170c..."} 
[2026-08-11 15:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff055ed58012d0b48400704f700002101170c..."} 
[2026-08-11 15:50:47] local.INFO: Processing buffer {"connection_id":154975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff055ed58012d0b48400704f700002101170c..."} 
[2026-08-11 15:50:47] local.INFO: Packet analysis {"connection_id":154975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:50:47] local.INFO: Extracted packet for processing {"connection_id":154975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:50:47] local.INFO: GPS Element Parsed {"raw_longitude":755714112,"raw_latitude":117765888,"longitude_deg":75.5714112,"latitude_deg":11.7765888,"altitude":33,"angle":279,"satellites":12,"speed":33,"hex_longitude":"2d0b4840","hex_latitude":"0704f700","is_valid_coordinates":true} 
[2026-08-11 15:50: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-08-11 15:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329558784001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27638629945835520,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814870087725418496,"note":"Value kept but may cause issues"} 
[2026-08-11 15:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786443591000,"timestamp_ms":1786443591000,"timestamp_seconds":1786443591,"priority":1,"record_length":96,"hex_timestamp":"0000019ff055ed58"} 
[2026-08-11 15:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:50: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-08-11 15:50: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 15:50:47] 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-08-11 15:50: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-08-11 15:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154975,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154975,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329558784001,"66":14396,"96":206,"94":10240,"24":33,"16":27638629945835520,"45":814870087725418496},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 15:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329558784001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:50:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 15:50:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27638629945835520,"km_value":27638629945835.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":814870087725418496,"description":"Unknown IO ID 45"} 
[2026-08-11 15:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329558784001,"power":14396,"unknown_96":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":814870087725418496}} 
[2026-08-11 15:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":154975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625546,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:50:48] local.INFO: GPS data processed {"connection_id":154975,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:50:48] local.INFO: Acknowledgment sent {"connection_id":154975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:51:10] local.INFO: TCP Data received {"connection_id":152639,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:51:10] local.INFO: Processing buffer {"connection_id":152639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:51:10] local.INFO: IMEI packet received {"connection_id":152639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":152639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:51:13] local.INFO: TCP Data received {"connection_id":152639,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:51:13] local.INFO: Processing buffer {"connection_id":152639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:51:13] local.INFO: IMEI packet received {"connection_id":152639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":152639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:51:14] local.INFO: TCP Data received {"connection_id":152639,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff053e9b8012d197e00071fec58003d01052c..."} 
[2026-08-11 15:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff053e9b8012d197e00071fec58003d01052c..."} 
[2026-08-11 15:51:14] local.INFO: Processing buffer {"connection_id":152639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff053e9b8012d197e00071fec58003d01052c..."} 
[2026-08-11 15:51:14] local.INFO: Packet analysis {"connection_id":152639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff053"} 
[2026-08-11 15:51:14] local.INFO: Extracted packet for processing {"connection_id":152639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff053"} 
[2026-08-11 15:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756645376,"raw_latitude":119532632,"longitude_deg":75.6645376,"latitude_deg":11.9532632,"altitude":61,"angle":261,"satellites":44,"speed":17,"hex_longitude":"2d197e00","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329524480001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709584087449600,"note":"Value kept but may cause issues"} 
[2026-08-11 15:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838383472242036736,"note":"Value kept but may cause issues"} 
[2026-08-11 15:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786443459000,"timestamp_ms":1786443459000,"timestamp_seconds":1786443459,"priority":1,"record_length":96,"hex_timestamp":"0000019ff053e9b8"} 
[2026-08-11 15:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:51:14] 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-08-11 15: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-11 15:51:14] 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-08-11 15: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-08-11 15:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329524480001,"66":13156,"102":206,"83":41984,"24":17,"16":11709584087449600,"45":1838383472242036736},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 15:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329524480001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:51:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 15:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709584087449600,"km_value":11709584087449.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838383472242036736,"description":"Unknown IO ID 45"} 
[2026-08-11 15:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329524480001,"power":13156,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1838383472242036736}} 
[2026-08-11 15:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":152639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:51:14] local.INFO: GPS data processed {"connection_id":152639,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:51:14] local.INFO: Acknowledgment sent {"connection_id":152639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:51:18] local.INFO: TCP Data received {"connection_id":152640,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:51:18] local.INFO: Processing buffer {"connection_id":152640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:51:18] local.INFO: IMEI packet received {"connection_id":152640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":152640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:51:19] local.INFO: TCP Data received {"connection_id":152640,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:51:19] local.INFO: Processing buffer {"connection_id":152640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:51:19] local.INFO: IMEI packet received {"connection_id":152640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":152640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:51:24] local.INFO: TCP Data received {"connection_id":152640,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:51:24] local.INFO: Processing buffer {"connection_id":152640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:51:24] local.INFO: IMEI packet received {"connection_id":152640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":152640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:51:25] local.INFO: TCP Data received {"connection_id":152640,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff055ba90012d9c264005b3acf0000801312e..."} 
[2026-08-11 15:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff055ba90012d9c264005b3acf0000801312e..."} 
[2026-08-11 15:51:25] local.INFO: Processing buffer {"connection_id":152640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff055ba90012d9c264005b3acf0000801312e..."} 
[2026-08-11 15:51:25] local.INFO: Packet analysis {"connection_id":152640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:51:25] local.INFO: Extracted packet for processing {"connection_id":152640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:51:25] local.INFO: GPS Element Parsed {"raw_longitude":765208128,"raw_latitude":95661296,"longitude_deg":76.5208128,"latitude_deg":9.5661296,"altitude":8,"angle":305,"satellites":46,"speed":5,"hex_longitude":"2d9c2640","hex_latitude":"05b3acf0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329550848001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737627744337920,"note":"Value kept but may cause issues"} 
[2026-08-11 15:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7194570748979341312,"note":"Value kept but may cause issues"} 
[2026-08-11 15:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786443578000,"timestamp_ms":1786443578000,"timestamp_seconds":1786443578,"priority":1,"record_length":96,"hex_timestamp":"0000019ff055ba90"} 
[2026-08-11 15:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 15:51:25] 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-08-11 15: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-08-11 15:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:51:25] 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-08-11 15:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329550848001,"66":27691,"226":206,"83":17408,"24":5,"16":377737627744337920,"45":-7194570748979341312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329550848001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:51:25] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:51:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737627744337920,"km_value":377737627744337.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7194570748979341312,"description":"Unknown IO ID 45"} 
[2026-08-11 15:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329550848001,"power":27691,"unknown_226":206,"unknown_83":17408,"ignition":5,"odometer":null,"unknown_45":-7194570748979341312}} 
[2026-08-11 15:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":152640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:51:25] local.INFO: GPS data processed {"connection_id":152640,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:51:25] local.INFO: Acknowledgment sent {"connection_id":152640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:51:27] local.INFO: TCP Data received {"connection_id":154975,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff056f310012d0b30c007055dc8002b01270d..."} 
[2026-08-11 15:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff056f310012d0b30c007055dc8002b01270d..."} 
[2026-08-11 15:51:27] local.INFO: Processing buffer {"connection_id":154975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff056f310012d0b30c007055dc8002b01270d..."} 
[2026-08-11 15:51:27] local.INFO: Packet analysis {"connection_id":154975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff056"} 
[2026-08-11 15:51:27] local.INFO: Extracted packet for processing {"connection_id":154975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff056"} 
[2026-08-11 15:51:27] local.INFO: GPS Element Parsed {"raw_longitude":755708096,"raw_latitude":117792200,"longitude_deg":75.5708096,"latitude_deg":11.77922,"altitude":43,"angle":295,"satellites":13,"speed":19,"hex_longitude":"2d0b30c0","hex_latitude":"07055dc8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 15:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329575936001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27640412357263360,"note":"Value kept but may cause issues"} 
[2026-08-11 15:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808044319546857472,"note":"Value kept but may cause issues"} 
[2026-08-11 15:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786443658000,"timestamp_ms":1786443658000,"timestamp_seconds":1786443658,"priority":1,"record_length":96,"hex_timestamp":"0000019ff056f310"} 
[2026-08-11 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-08-11 15:51: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-08-11 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 15:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 15:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":154975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":154975,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":154975,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329575936001,"66":14548,"165":206,"94":10240,"24":19,"16":27640412357263360,"45":808044319546857472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-11 15:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329575936001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:51:27] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 15:51:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27640412357263360,"km_value":27640412357263.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":808044319546857472,"description":"Unknown IO ID 45"} 
[2026-08-11 15:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329575936001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":808044319546857472}} 
[2026-08-11 15:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":154975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625549,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:51:28] local.INFO: GPS data processed {"connection_id":154975,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:51:28] local.INFO: Acknowledgment sent {"connection_id":154975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:51:28] local.INFO: TCP Data received {"connection_id":154976,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154976,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:51:28] local.INFO: Processing buffer {"connection_id":154976,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:51:28] local.INFO: IMEI packet received {"connection_id":154976,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":154976,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:51:28] local.INFO: TCP Data received {"connection_id":154976,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 15:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154976,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 15:51:28] local.INFO: Processing buffer {"connection_id":154976,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 15:51:28] local.INFO: IMEI packet received {"connection_id":154976,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":154976,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:51:29] local.INFO: TCP Data received {"connection_id":154976,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154976,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:51:29] local.INFO: Processing buffer {"connection_id":154976,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 15:51:29] local.INFO: IMEI packet received {"connection_id":154976,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":154976,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:51:45] local.INFO: TCP Data received {"connection_id":152639,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff053f188012d197a00071fec30003d01112c..."} 
[2026-08-11 15:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff053f188012d197a00071fec30003d01112c..."} 
[2026-08-11 15:51:45] local.INFO: Processing buffer {"connection_id":152639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff053f188012d197a00071fec30003d01112c..."} 
[2026-08-11 15:51:45] local.INFO: Packet analysis {"connection_id":152639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff053"} 
[2026-08-11 15:51:45] local.INFO: Extracted packet for processing {"connection_id":152639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff053"} 
[2026-08-11 15:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756644352,"raw_latitude":119532592,"longitude_deg":75.6644352,"latitude_deg":11.9532592,"altitude":61,"angle":273,"satellites":44,"speed":18,"hex_longitude":"2d197a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329525504001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709631332089856,"note":"Value kept but may cause issues"} 
[2026-08-11 15:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836905728614094848,"note":"Value kept but may cause issues"} 
[2026-08-11 15:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786443461000,"timestamp_ms":1786443461000,"timestamp_seconds":1786443461,"priority":1,"record_length":96,"hex_timestamp":"0000019ff053f188"} 
[2026-08-11 15:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:51:45] 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-08-11 15: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-11 15:51:45] 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-08-11 15: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-08-11 15:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329525504001,"66":13135,"102":206,"83":41984,"24":18,"16":11709631332089856,"45":1836905728614094848},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 15:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329525504001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:51:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 15:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709631332089856,"km_value":11709631332089.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836905728614094848,"description":"Unknown IO ID 45"} 
[2026-08-11 15:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329525504001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1836905728614094848}} 
[2026-08-11 15:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":152639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:51:45] local.INFO: GPS data processed {"connection_id":152639,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:51:45] local.INFO: Acknowledgment sent {"connection_id":152639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:52:10] local.INFO: TCP Data received {"connection_id":152277,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:52:10] local.INFO: Processing buffer {"connection_id":152277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:52:10] local.INFO: IMEI packet received {"connection_id":152277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":152277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:52:15] local.INFO: TCP Data received {"connection_id":152277,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:52:15] local.INFO: Processing buffer {"connection_id":152277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:52:15] local.INFO: IMEI packet received {"connection_id":152277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":152277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:52:16] local.INFO: TCP Data received {"connection_id":152277,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05408f8012d197080071fecc0003d01202c..."} 
[2026-08-11 15:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05408f8012d197080071fecc0003d01202c..."} 
[2026-08-11 15:52:16] local.INFO: Processing buffer {"connection_id":152277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05408f8012d197080071fecc0003d01202c..."} 
[2026-08-11 15:52:16] local.INFO: Packet analysis {"connection_id":152277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff054"} 
[2026-08-11 15:52:16] local.INFO: Extracted packet for processing {"connection_id":152277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff054"} 
[2026-08-11 15:52:16] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532736,"longitude_deg":75.664192,"latitude_deg":11.9532736,"altitude":61,"angle":288,"satellites":44,"speed":11,"hex_longitude":"2d197080","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329526016001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709751591174144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835779828707241984,"note":"Value kept but may cause issues"} 
[2026-08-11 15:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786443467000,"timestamp_ms":1786443467000,"timestamp_seconds":1786443467,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05408f8"} 
[2026-08-11 15:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:52: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-08-11 15: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-11 15:52:16] 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-08-11 15: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-08-11 15:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329526016001,"66":13167,"102":206,"83":41984,"24":11,"16":11709751591174144,"45":1835779828707241984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 15:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329526016001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:52:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 15:52:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709751591174144,"km_value":11709751591174.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835779828707241984,"description":"Unknown IO ID 45"} 
[2026-08-11 15:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329526016001,"power":13167,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1835779828707241984}} 
[2026-08-11 15:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":152277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:52:16] local.INFO: GPS data processed {"connection_id":152277,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:52:16] local.INFO: Acknowledgment sent {"connection_id":152277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:52:17] local.INFO: TCP Data received {"connection_id":152640,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff055ddb8012d9c1c0005b3b280000801232e..."} 
[2026-08-11 15:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff055ddb8012d9c1c0005b3b280000801232e..."} 
[2026-08-11 15:52:17] local.INFO: Processing buffer {"connection_id":152640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff055ddb8012d9c1c0005b3b280000801232e..."} 
[2026-08-11 15:52:17] local.INFO: Packet analysis {"connection_id":152640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:52:17] local.INFO: Extracted packet for processing {"connection_id":152640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff055"} 
[2026-08-11 15:52:17] local.INFO: GPS Element Parsed {"raw_longitude":765205504,"raw_latitude":95662720,"longitude_deg":76.5205504,"latitude_deg":9.566272,"altitude":8,"angle":291,"satellites":46,"speed":20,"hex_longitude":"2d9c1c00","hex_latitude":"05b3b280","is_valid_coordinates":true} 
[2026-08-11 15:52: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-08-11 15:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329555968001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377737769478258688,"note":"Value kept but may cause issues"} 
[2026-08-11 15:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7194992961444319232,"note":"Value kept but may cause issues"} 
[2026-08-11 15:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786443587000,"timestamp_ms":1786443587000,"timestamp_seconds":1786443587,"priority":1,"record_length":96,"hex_timestamp":"0000019ff055ddb8"} 
[2026-08-11 15:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:52: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":43,"data_length":795,"current_offset":136} 
[2026-08-11 15:52:17] 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-08-11 15:52: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-08-11 15:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:52:17] 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-08-11 15:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329555968001,"66":27865,"226":206,"83":17408,"24":20,"16":377737769478258688,"45":-7194992961444319232},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-08-11 15:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329555968001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:52:17] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-11 15:52:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377737769478258688,"km_value":377737769478258.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7194992961444319232,"description":"Unknown IO ID 45"} 
[2026-08-11 15:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329555968001,"power":27865,"unknown_226":206,"unknown_83":17408,"ignition":20,"odometer":null,"unknown_45":-7194992961444319232}} 
[2026-08-11 15:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":152640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:52:17] local.INFO: GPS data processed {"connection_id":152640,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:52:17] local.INFO: Acknowledgment sent {"connection_id":152640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:52:18] local.INFO: TCP Data received {"connection_id":152641,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:52:18] local.INFO: Processing buffer {"connection_id":152641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:52:18] local.INFO: IMEI packet received {"connection_id":152641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":152641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:52:19] local.INFO: TCP Data received {"connection_id":152641,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:52:19] local.INFO: Processing buffer {"connection_id":152641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:52:19] local.INFO: IMEI packet received {"connection_id":152641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":152641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:52:24] local.INFO: TCP Data received {"connection_id":152641,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:52:24] local.INFO: Processing buffer {"connection_id":152641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:52:24] local.INFO: IMEI packet received {"connection_id":152641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":152641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:52:25] local.INFO: TCP Data received {"connection_id":152641,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0571a20012d9b9a8005b36980000a00d52d..."} 
[2026-08-11 15:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0571a20012d9b9a8005b36980000a00d52d..."} 
[2026-08-11 15:52:25] local.INFO: Processing buffer {"connection_id":152641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0571a20012d9b9a8005b36980000a00d52d..."} 
[2026-08-11 15:52:25] local.INFO: Packet analysis {"connection_id":152641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff057"} 
[2026-08-11 15:52:25] local.INFO: Extracted packet for processing {"connection_id":152641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff057"} 
[2026-08-11 15:52:25] local.INFO: GPS Element Parsed {"raw_longitude":765172352,"raw_latitude":95644032,"longitude_deg":76.5172352,"latitude_deg":9.5644032,"altitude":10,"angle":213,"satellites":45,"speed":28,"hex_longitude":"2d9b9a80","hex_latitude":"05b36980","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329576192001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377739882602168320,"note":"Value kept but may cause issues"} 
[2026-08-11 15:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7228629221163708416,"note":"Value kept but may cause issues"} 
[2026-08-11 15:52:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786443668000,"timestamp_ms":1786443668000,"timestamp_seconds":1786443668,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0571a20"} 
[2026-08-11 15:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 15:52:25] 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-08-11 15: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-08-11 15:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:52:25] 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-08-11 15:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329576192001,"66":27887,"24":28,"83":17408,"16":377739882602168320,"45":-7228629221163708416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-08-11 15:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329576192001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:52:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377739882602168320,"km_value":377739882602168.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7228629221163708416,"description":"Unknown IO ID 45"} 
[2026-08-11 15:52:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457329576192001,"power":27887,"ignition":28,"unknown_83":17408,"odometer":null,"unknown_45":-7228629221163708416}} 
[2026-08-11 15:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":152641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:52:25] local.INFO: GPS data processed {"connection_id":152641,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:52:25] local.INFO: Acknowledgment sent {"connection_id":152641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:52:47] local.INFO: TCP Data received {"connection_id":152277,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0545b00012d1968c0071fee68003e011c29..."} 
[2026-08-11 15:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0545b00012d1968c0071fee68003e011c29..."} 
[2026-08-11 15:52:47] local.INFO: Processing buffer {"connection_id":152277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0545b00012d1968c0071fee68003e011c29..."} 
[2026-08-11 15:52:47] local.INFO: Packet analysis {"connection_id":152277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff054"} 
[2026-08-11 15:52:47] local.INFO: Extracted packet for processing {"connection_id":152277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff054"} 
[2026-08-11 15:52:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 15:52: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-08-11 15:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329527552001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 15:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428527616,"note":"Value kept but may cause issues"} 
[2026-08-11 15:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786443488000,"timestamp_ms":1786443488000,"timestamp_seconds":1786443488,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0545b00"} 
[2026-08-11 15:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:52: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-08-11 15:52: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":111,"data_length":795,"current_offset":136} 
[2026-08-11 15:52:47] 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-08-11 15:52: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-08-11 15:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329527552001,"66":12548,"102":206,"83":41984,"24":0,"16":11709850375421952,"45":1833105816428527616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 15:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329527552001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:52:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 15:52:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428527616,"description":"Unknown IO ID 45"} 
[2026-08-11 15:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329527552001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1833105816428527616}} 
[2026-08-11 15:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":152277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:52:47] local.INFO: GPS data processed {"connection_id":152277,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:52:47] local.INFO: Acknowledgment sent {"connection_id":152277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:52:56] local.INFO: TCP Data received {"connection_id":152641,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0574ce8012d9b84c005b34a88000a00d82d..."} 
[2026-08-11 15:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0574ce8012d9b84c005b34a88000a00d82d..."} 
[2026-08-11 15:52:56] local.INFO: Processing buffer {"connection_id":152641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0574ce8012d9b84c005b34a88000a00d82d..."} 
[2026-08-11 15:52:56] local.INFO: Packet analysis {"connection_id":152641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff057"} 
[2026-08-11 15:52:56] local.INFO: Extracted packet for processing {"connection_id":152641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff057"} 
[2026-08-11 15:52:56] local.INFO: GPS Element Parsed {"raw_longitude":765166784,"raw_latitude":95636104,"longitude_deg":76.5166784,"latitude_deg":9.5636104,"altitude":10,"angle":216,"satellites":45,"speed":33,"hex_longitude":"2d9b84c0","hex_latitude":"05b34a88","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329579008001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377740350753603584,"note":"Value kept but may cause issues"} 
[2026-08-11 15:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7234329089444052992,"note":"Value kept but may cause issues"} 
[2026-08-11 15:52:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786443681000,"timestamp_ms":1786443681000,"timestamp_seconds":1786443681,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0574ce8"} 
[2026-08-11 15:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 15:52:56] 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-08-11 15: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-08-11 15:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:52:56] 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-08-11 15:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329579008001,"66":27908,"24":33,"83":17408,"16":377740350753603584,"45":-7234329089444052992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-08-11 15:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329579008001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:52:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377740350753603584,"km_value":377740350753603.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7234329089444052992,"description":"Unknown IO ID 45"} 
[2026-08-11 15:52:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457329579008001,"power":27908,"ignition":33,"unknown_83":17408,"odometer":null,"unknown_45":-7234329089444052992}} 
[2026-08-11 15:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":152641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:52:56] local.INFO: GPS data processed {"connection_id":152641,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:52:56] local.INFO: Acknowledgment sent {"connection_id":152641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:53:10] local.INFO: TCP Data received {"connection_id":153594,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:53:10] local.INFO: Processing buffer {"connection_id":153594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:53:10] local.INFO: IMEI packet received {"connection_id":153594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":153594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:53:15] local.INFO: TCP Data received {"connection_id":153594,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:53:15] local.INFO: Processing buffer {"connection_id":153594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:53:15] local.INFO: IMEI packet received {"connection_id":153594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":153594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:53:16] local.INFO: TCP Data received {"connection_id":153594,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff054ad08012d1968c0071fee68003e011c2a..."} 
[2026-08-11 15:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff054ad08012d1968c0071fee68003e011c2a..."} 
[2026-08-11 15:53:16] local.INFO: Processing buffer {"connection_id":153594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff054ad08012d1968c0071fee68003e011c2a..."} 
[2026-08-11 15:53:16] local.INFO: Packet analysis {"connection_id":153594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff054"} 
[2026-08-11 15:53:16] local.INFO: Extracted packet for processing {"connection_id":153594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff054"} 
[2026-08-11 15:53:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329532928001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786443509000,"timestamp_ms":1786443509000,"timestamp_seconds":1786443509,"priority":1,"record_length":96,"hex_timestamp":"0000019ff054ad08"} 
[2026-08-11 15:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:53: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-08-11 15: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 15:53:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4032023160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:16] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184242577613,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4019191869,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-11 15:53:16] local.WARNING: Large IO value detected {"io_id":14,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:16] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2578710528,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:16] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:16] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,154,159,8,45,128,236,61,44,10,66,153,233,1,240,100,227,31,4,113,205,14,210,134,192,42,239,51,2,41,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-11 15:53:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883267747479552,"timestamp_seconds":4467883267747479.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329532928001,"66":13080,"102":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 15:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329532928001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:53:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 15:53:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 15:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329532928001,"power":13080,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 15:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":153594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:53:16] local.INFO: GPS data processed {"connection_id":153594,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:53:16] local.INFO: Acknowledgment sent {"connection_id":153594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:53:19] local.INFO: TCP Data received {"connection_id":152642,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:53:19] local.INFO: Processing buffer {"connection_id":152642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:53:19] local.INFO: IMEI packet received {"connection_id":152642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":152642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:53:24] local.INFO: TCP Data received {"connection_id":152642,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:53:24] local.INFO: Processing buffer {"connection_id":152642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:53:24] local.INFO: IMEI packet received {"connection_id":152642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":152642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:53:25] local.INFO: TCP Data received {"connection_id":152642,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0577bc8012d9b6f8005b32d58000900d72f..."} 
[2026-08-11 15:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0577bc8012d9b6f8005b32d58000900d72f..."} 
[2026-08-11 15:53:25] local.INFO: Processing buffer {"connection_id":152642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0577bc8012d9b6f8005b32d58000900d72f..."} 
[2026-08-11 15:53:25] local.INFO: Packet analysis {"connection_id":152642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff057"} 
[2026-08-11 15:53:25] local.INFO: Extracted packet for processing {"connection_id":152642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff057"} 
[2026-08-11 15:53:25] local.INFO: GPS Element Parsed {"raw_longitude":765161344,"raw_latitude":95628632,"longitude_deg":76.5161344,"latitude_deg":9.5628632,"altitude":9,"angle":215,"satellites":47,"speed":19,"hex_longitude":"2d9b6f80","hex_latitude":"05b32d58","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329582336001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377740797430202368,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7240451170189539328,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786443693000,"timestamp_ms":1786443693000,"timestamp_seconds":1786443693,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0577bc8"} 
[2026-08-11 15:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 15:53:25] 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-08-11 15: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-08-11 15:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:53:25] 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-08-11 15:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329582336001,"66":27974,"24":19,"83":17408,"16":377740797430202368,"45":-7240451170189539328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-08-11 15:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329582336001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:53:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377740797430202368,"km_value":377740797430202.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7240451170189539328,"description":"Unknown IO ID 45"} 
[2026-08-11 15:53:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457329582336001,"power":27974,"ignition":19,"unknown_83":17408,"odometer":null,"unknown_45":-7240451170189539328}} 
[2026-08-11 15:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":152642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:53:26] local.INFO: GPS data processed {"connection_id":152642,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:53:26] local.INFO: Acknowledgment sent {"connection_id":152642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:53:47] local.INFO: TCP Data received {"connection_id":153594,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0583360012d1968c0071fee68003e011c29..."} 
[2026-08-11 15:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0583360012d1968c0071fee68003e011c29..."} 
[2026-08-11 15:53:47] local.INFO: Processing buffer {"connection_id":153594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0583360012d1968c0071fee68003e011c29..."} 
[2026-08-11 15:53:47] local.INFO: Packet analysis {"connection_id":153594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff058"} 
[2026-08-11 15:53:47] local.INFO: Extracted packet for processing {"connection_id":153594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff058"} 
[2026-08-11 15:53:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329592064001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:47] 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-08-11 15:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786443740000,"timestamp_ms":1786443740000,"timestamp_seconds":1786443740,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0583360"} 
[2026-08-11 15:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:53: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-08-11 15: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-11 15:53:47] 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-08-11 15: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-08-11 15:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329592064001,"66":12841,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329592064001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:53:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:53:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 15:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329592064001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 15:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":153594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:53:47] local.INFO: GPS data processed {"connection_id":153594,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:53:47] local.INFO: Acknowledgment sent {"connection_id":153594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:53:57] local.INFO: TCP Data received {"connection_id":152642,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0579720012d9b6b0005b324c0000800c92f..."} 
[2026-08-11 15:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0579720012d9b6b0005b324c0000800c92f..."} 
[2026-08-11 15:53:57] local.INFO: Processing buffer {"connection_id":152642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0579720012d9b6b0005b324c0000800c92f..."} 
[2026-08-11 15:53:57] local.INFO: Packet analysis {"connection_id":152642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff057"} 
[2026-08-11 15:53:57] local.INFO: Extracted packet for processing {"connection_id":152642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff057"} 
[2026-08-11 15:53:57] local.INFO: GPS Element Parsed {"raw_longitude":765160192,"raw_latitude":95626432,"longitude_deg":76.5160192,"latitude_deg":9.5626432,"altitude":8,"angle":201,"satellites":47,"speed":9,"hex_longitude":"2d9b6b00","hex_latitude":"05b324c0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329585408001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377740917689286656,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7246432513446553600,"note":"Value kept but may cause issues"} 
[2026-08-11 15:53:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 15:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786443700000,"timestamp_ms":1786443700000,"timestamp_seconds":1786443700,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0579720"} 
[2026-08-11 15:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 15:53:57] 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-08-11 15: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-08-11 15:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:53:57] 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-08-11 15:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329585408001,"66":27843,"24":9,"83":17408,"16":377740917689286656,"45":-7246432513446553600},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-08-11 15:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329585408001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377740917689286656,"km_value":377740917689286.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7246432513446553600,"description":"Unknown IO ID 45"} 
[2026-08-11 15:53:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457329585408001,"power":27843,"ignition":9,"unknown_83":17408,"odometer":null,"unknown_45":-7246432513446553600}} 
[2026-08-11 15:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":152642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:53:57] local.INFO: GPS data processed {"connection_id":152642,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:53:57] local.INFO: Acknowledgment sent {"connection_id":152642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:54:10] local.INFO: TCP Data received {"connection_id":152278,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:54:10] local.INFO: Processing buffer {"connection_id":152278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:54:10] local.INFO: IMEI packet received {"connection_id":152278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":152278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:54:15] local.INFO: TCP Data received {"connection_id":152278,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:54:15] local.INFO: Processing buffer {"connection_id":152278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:54:15] local.INFO: IMEI packet received {"connection_id":152278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":152278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:54:16] local.INFO: TCP Data received {"connection_id":152278,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0588568012d1968c0071fee68003e011c28..."} 
[2026-08-11 15:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0588568012d1968c0071fee68003e011c28..."} 
[2026-08-11 15:54:16] local.INFO: Processing buffer {"connection_id":152278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0588568012d1968c0071fee68003e011c28..."} 
[2026-08-11 15:54:16] local.INFO: Packet analysis {"connection_id":152278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff058"} 
[2026-08-11 15:54:16] local.INFO: Extracted packet for processing {"connection_id":152278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff058"} 
[2026-08-11 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329597440001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 15:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 15:54:16] 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-08-11 15:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786443761000,"timestamp_ms":1786443761000,"timestamp_seconds":1786443761,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0588568"} 
[2026-08-11 15:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:54: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-08-11 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 15:54:16] 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-08-11 15: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-08-11 15:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329597440001,"66":12841,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329597440001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:54:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:54:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 15:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329597440001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 15:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":152278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:54:16] local.INFO: GPS data processed {"connection_id":152278,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:54:16] local.INFO: Acknowledgment sent {"connection_id":152278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:54:19] local.INFO: TCP Data received {"connection_id":152644,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:54:19] local.INFO: Processing buffer {"connection_id":152644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:54:19] local.INFO: IMEI packet received {"connection_id":152644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":152644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:54:24] local.INFO: TCP Data received {"connection_id":152644,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:54:24] local.INFO: Processing buffer {"connection_id":152644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:54:24] local.INFO: IMEI packet received {"connection_id":152644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":152644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:54:33] local.INFO: TCP Data received {"connection_id":152644,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff057c600012d9b664005b31408000800be2c..."} 
[2026-08-11 15:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff057c600012d9b664005b31408000800be2c..."} 
[2026-08-11 15:54:33] local.INFO: Processing buffer {"connection_id":152644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff057c600012d9b664005b31408000800be2c..."} 
[2026-08-11 15:54:33] local.INFO: Packet analysis {"connection_id":152644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff057"} 
[2026-08-11 15:54:33] local.INFO: Extracted packet for processing {"connection_id":152644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff057"} 
[2026-08-11 15:54:33] local.INFO: GPS Element Parsed {"raw_longitude":765158976,"raw_latitude":95622152,"longitude_deg":76.5158976,"latitude_deg":9.5622152,"altitude":8,"angle":190,"satellites":44,"speed":20,"hex_longitude":"2d9b6640","hex_latitude":"05b31408","is_valid_coordinates":true} 
[2026-08-11 15:54: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-08-11 15:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329587200001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377741132437651456,"note":"Value kept but may cause issues"} 
[2026-08-11 15:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7247699150842314752,"note":"Value kept but may cause issues"} 
[2026-08-11 15:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786443712000,"timestamp_ms":1786443712000,"timestamp_seconds":1786443712,"priority":1,"record_length":96,"hex_timestamp":"0000019ff057c600"} 
[2026-08-11 15:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:54: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-08-11 15:54: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-08-11 15:54: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-08-11 15:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:54:33] 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-08-11 15:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329587200001,"66":27865,"26":206,"83":17408,"24":20,"16":377741132437651456,"45":-7247699150842314752},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,45]} 
[2026-08-11 15:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329587200001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:54:33] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-11 15:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377741132437651456,"km_value":377741132437651.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7247699150842314752,"description":"Unknown IO ID 45"} 
[2026-08-11 15:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329587200001,"power":27865,"unknown_26":206,"unknown_83":17408,"ignition":20,"odometer":null,"unknown_45":-7247699150842314752}} 
[2026-08-11 15:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":152644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:54:33] local.INFO: GPS data processed {"connection_id":152644,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:54:33] local.INFO: Acknowledgment sent {"connection_id":152644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:54:47] local.INFO: TCP Data received {"connection_id":152278,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff058d770012d1968c0071fee68003e011c29..."} 
[2026-08-11 15:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff058d770012d1968c0071fee68003e011c29..."} 
[2026-08-11 15:54:47] local.INFO: Processing buffer {"connection_id":152278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff058d770012d1968c0071fee68003e011c29..."} 
[2026-08-11 15:54:47] local.INFO: Packet analysis {"connection_id":152278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff058"} 
[2026-08-11 15:54:47] local.INFO: Extracted packet for processing {"connection_id":152278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff058"} 
[2026-08-11 15:54:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329602816001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 15:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 15:54:47] 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-08-11 15:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786443782000,"timestamp_ms":1786443782000,"timestamp_seconds":1786443782,"priority":1,"record_length":96,"hex_timestamp":"0000019ff058d770"} 
[2026-08-11 15:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:54: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-08-11 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 15:54:47] 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-08-11 15: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-08-11 15:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329602816001,"66":12841,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329602816001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:54:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:54:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 15:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329602816001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 15:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":152278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:54:47] local.INFO: GPS data processed {"connection_id":152278,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:54:47] local.INFO: Acknowledgment sent {"connection_id":152278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:55:13] local.INFO: TCP Data received {"connection_id":152644,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff059aa60012d9b024005b1e318000e00ca2e..."} 
[2026-08-11 15:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff059aa60012d9b024005b1e318000e00ca2e..."} 
[2026-08-11 15:55:13] local.INFO: Processing buffer {"connection_id":152644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff059aa60012d9b024005b1e318000e00ca2e..."} 
[2026-08-11 15:55:13] local.INFO: Packet analysis {"connection_id":152644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff059"} 
[2026-08-11 15:55:13] local.INFO: Extracted packet for processing {"connection_id":152644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff059"} 
[2026-08-11 15:55:13] local.INFO: GPS Element Parsed {"raw_longitude":765133376,"raw_latitude":95544088,"longitude_deg":76.5133376,"latitude_deg":9.5544088,"altitude":14,"angle":202,"satellites":46,"speed":29,"hex_longitude":"2d9b0240","hex_latitude":"05b1e318","is_valid_coordinates":true} 
[2026-08-11 15:55: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-08-11 15:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329619200001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377745178296844288,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7275002223602268160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786443836000,"timestamp_ms":1786443836000,"timestamp_seconds":1786443836,"priority":1,"record_length":96,"hex_timestamp":"0000019ff059aa60"} 
[2026-08-11 15:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 15:55:13] 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-08-11 15: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-08-11 15:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:55:13] 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-08-11 15:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329619200001,"66":27995,"118":206,"83":17408,"24":29,"16":377745178296844288,"45":-7275002223602268160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,45]} 
[2026-08-11 15:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329619200001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:55:13] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-11 15:55:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377745178296844288,"km_value":377745178296844.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7275002223602268160,"description":"Unknown IO ID 45"} 
[2026-08-11 15:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329619200001,"power":27995,"unknown_118":206,"unknown_83":17408,"ignition":29,"odometer":null,"unknown_45":-7275002223602268160}} 
[2026-08-11 15:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":152644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:55:13] local.INFO: GPS data processed {"connection_id":152644,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:55:13] local.INFO: Acknowledgment sent {"connection_id":152644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:55:15] local.INFO: TCP Data received {"connection_id":153596,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:55:15] local.INFO: Processing buffer {"connection_id":153596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:55:15] local.INFO: IMEI packet received {"connection_id":153596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":153596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:55:20] local.INFO: TCP Data received {"connection_id":153596,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:55:20] local.INFO: Processing buffer {"connection_id":153596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:55:20] local.INFO: IMEI packet received {"connection_id":153596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":153596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:55:21] local.INFO: TCP Data received {"connection_id":153596,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0592978012d1968c0071fee68003e011c2b..."} 
[2026-08-11 15:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0592978012d1968c0071fee68003e011c2b..."} 
[2026-08-11 15:55:21] local.INFO: Processing buffer {"connection_id":153596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0592978012d1968c0071fee68003e011c2b..."} 
[2026-08-11 15:55:21] local.INFO: Packet analysis {"connection_id":153596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff059"} 
[2026-08-11 15:55:21] local.INFO: Extracted packet for processing {"connection_id":153596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff059"} 
[2026-08-11 15:55:21] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 15:55: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-08-11 15:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329608192001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:21] 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-08-11 15:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786443803000,"timestamp_ms":1786443803000,"timestamp_seconds":1786443803,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0592978"} 
[2026-08-11 15:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:55: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-08-11 15:55: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":41,"data_length":795,"current_offset":136} 
[2026-08-11 15:55:21] 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-08-11 15:55: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-08-11 15:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":153596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":153596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":153596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329608192001,"66":12841,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329608192001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:55:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:55:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 15:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329608192001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 15:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":153596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:55:21] local.INFO: GPS data processed {"connection_id":153596,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:55:21] local.INFO: Acknowledgment sent {"connection_id":153596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:55:24] local.INFO: TCP Data received {"connection_id":152646,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:55:24] local.INFO: Processing buffer {"connection_id":152646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:55:24] local.INFO: IMEI packet received {"connection_id":152646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":152646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:55:25] local.INFO: TCP Data received {"connection_id":152646,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:55:25] local.INFO: Processing buffer {"connection_id":152646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:55:25] local.INFO: IMEI packet received {"connection_id":152646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":152646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:55:25] local.INFO: TCP Data received {"connection_id":153596,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0597b80012d1968c0071fee68003e011c2c..."} 
[2026-08-11 15:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0597b80012d1968c0071fee68003e011c2c..."} 
[2026-08-11 15:55:25] local.INFO: Processing buffer {"connection_id":153596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0597b80012d1968c0071fee68003e011c2c..."} 
[2026-08-11 15:55:25] local.INFO: Packet analysis {"connection_id":153596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff059"} 
[2026-08-11 15:55:25] local.INFO: Extracted packet for processing {"connection_id":153596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff059"} 
[2026-08-11 15:55:25] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329613568001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55: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-08-11 15:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786443824000,"timestamp_ms":1786443824000,"timestamp_seconds":1786443824,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0597b80"} 
[2026-08-11 15:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:55:25] 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-08-11 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 15:55: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-08-11 15: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-08-11 15:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329613568001,"66":12809,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329613568001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:55:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:55:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 15:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329613568001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 15:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":153596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:55:25] local.INFO: GPS data processed {"connection_id":153596,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:55:25] local.INFO: Acknowledgment sent {"connection_id":153596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:55:29] local.INFO: TCP Data received {"connection_id":154979,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:55:29] local.INFO: Processing buffer {"connection_id":154979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:55:29] local.INFO: IMEI packet received {"connection_id":154979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":154979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:55:29] local.INFO: TCP Data received {"connection_id":152646,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:55:29] local.INFO: Processing buffer {"connection_id":152646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:55:29] local.INFO: IMEI packet received {"connection_id":152646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":152646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:55:30] local.INFO: TCP Data received {"connection_id":152646,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff059dd28012d9af48005b1c298001300c42d..."} 
[2026-08-11 15:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff059dd28012d9af48005b1c298001300c42d..."} 
[2026-08-11 15:55:30] local.INFO: Processing buffer {"connection_id":152646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff059dd28012d9af48005b1c298001300c42d..."} 
[2026-08-11 15:55:30] local.INFO: Packet analysis {"connection_id":152646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff059"} 
[2026-08-11 15:55:30] local.INFO: Extracted packet for processing {"connection_id":152646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff059"} 
[2026-08-11 15:55:30] local.INFO: GPS Element Parsed {"raw_longitude":765129856,"raw_latitude":95535768,"longitude_deg":76.5129856,"latitude_deg":9.5535768,"altitude":19,"angle":196,"satellites":45,"speed":29,"hex_longitude":"2d9af480","hex_latitude":"05b1c298","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329622016001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377745616383508480,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7277183654673836032,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786443849000,"timestamp_ms":1786443849000,"timestamp_seconds":1786443849,"priority":1,"record_length":96,"hex_timestamp":"0000019ff059dd28"} 
[2026-08-11 15:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 15:55:30] 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-08-11 15: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-08-11 15:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:55:30] 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-08-11 15:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329622016001,"66":27974,"35":206,"83":17408,"24":29,"16":377745616383508480,"45":-7277183654673836032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,45]} 
[2026-08-11 15:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329622016001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:55:30] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-11 15:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377745616383508480,"km_value":377745616383508.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7277183654673836032,"description":"Unknown IO ID 45"} 
[2026-08-11 15:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329622016001,"power":27974,"unknown_35":206,"unknown_83":17408,"ignition":29,"odometer":null,"unknown_45":-7277183654673836032}} 
[2026-08-11 15:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":152646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:55:30] local.INFO: GPS data processed {"connection_id":152646,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:55:30] local.INFO: Acknowledgment sent {"connection_id":152646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:55:31] local.INFO: TCP Data received {"connection_id":154979,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:55:31] local.INFO: Processing buffer {"connection_id":154979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:55:31] local.INFO: IMEI packet received {"connection_id":154979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":154979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:55:33] local.INFO: TCP Data received {"connection_id":154979,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:55:33] local.INFO: Processing buffer {"connection_id":154979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:55:33] local.INFO: IMEI packet received {"connection_id":154979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":154979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:55:34] local.INFO: TCP Data received {"connection_id":154979,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff058e710012d7a5a4005eb96600006004423..."} 
[2026-08-11 15:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff058e710012d7a5a4005eb96600006004423..."} 
[2026-08-11 15:55:34] local.INFO: Processing buffer {"connection_id":154979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff058e710012d7a5a4005eb96600006004423..."} 
[2026-08-11 15:55:34] local.INFO: Packet analysis {"connection_id":154979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff058"} 
[2026-08-11 15:55:34] local.INFO: Extracted packet for processing {"connection_id":154979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff058"} 
[2026-08-11 15:55:34] local.INFO: GPS Element Parsed {"raw_longitude":762993216,"raw_latitude":99325536,"longitude_deg":76.2993216,"latitude_deg":9.9325536,"altitude":6,"angle":68,"satellites":35,"speed":2,"hex_longitude":"2d7a5a40","hex_latitude":"05eb9660","is_valid_coordinates":true} 
[2026-08-11 15:55: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-08-11 15:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329607168001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117621467562115072,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816007402237603840,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786443786000,"timestamp_ms":1786443786000,"timestamp_seconds":1786443786,"priority":1,"record_length":96,"hex_timestamp":"0000019ff058e710"} 
[2026-08-11 15:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:55:34] 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-08-11 15:55: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 15:55:34] 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-08-11 15:55: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-08-11 15:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":154979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":154979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":154979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329607168001,"66":13200,"163":206,"87":13824,"24":2,"16":117621467562115072,"45":8816007402237603840},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-11 15:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329607168001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:55:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 15:55:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117621467562115072,"km_value":117621467562115.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816007402237603840,"description":"Unknown IO ID 45"} 
[2026-08-11 15:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329607168001,"power":13200,"unknown_163":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8816007402237603840}} 
[2026-08-11 15:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":154979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:55:35] local.INFO: GPS data processed {"connection_id":154979,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:55:35] local.INFO: Acknowledgment sent {"connection_id":154979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:55:39] local.INFO: TCP Data received {"connection_id":154979,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0593918012d7a6e4005eb9d000005004725..."} 
[2026-08-11 15:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0593918012d7a6e4005eb9d000005004725..."} 
[2026-08-11 15:55:39] local.INFO: Processing buffer {"connection_id":154979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0593918012d7a6e4005eb9d000005004725..."} 
[2026-08-11 15:55:39] local.INFO: Packet analysis {"connection_id":154979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff059"} 
[2026-08-11 15:55:39] local.INFO: Extracted packet for processing {"connection_id":154979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff059"} 
[2026-08-11 15:55:39] local.INFO: GPS Element Parsed {"raw_longitude":762998336,"raw_latitude":99327232,"longitude_deg":76.2998336,"latitude_deg":9.9327232,"altitude":5,"angle":71,"satellites":37,"speed":15,"hex_longitude":"2d7a6e40","hex_latitude":"05eb9d00","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329609216001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117621725260152832,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816429614702682112,"note":"Value kept but may cause issues"} 
[2026-08-11 15:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786443807000,"timestamp_ms":1786443807000,"timestamp_seconds":1786443807,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0593918"} 
[2026-08-11 15:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:55:39] 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-08-11 15: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-11 15:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":154979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":154979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":154979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329609216001,"66":13493,"163":206,"87":13824,"24":15,"16":117621725260152832,"45":8816429614702682112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-11 15:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329609216001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:55:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 15:55:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117621725260152832,"km_value":117621725260152.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816429614702682112,"description":"Unknown IO ID 45"} 
[2026-08-11 15:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329609216001,"power":13493,"unknown_163":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8816429614702682112}} 
[2026-08-11 15:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":154979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:55:39] local.INFO: GPS data processed {"connection_id":154979,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:55:39] local.INFO: Acknowledgment sent {"connection_id":154979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:56:07] local.INFO: TCP Data received {"connection_id":154980,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:56:07] local.INFO: Processing buffer {"connection_id":154980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:56:07] local.INFO: IMEI packet received {"connection_id":154980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":154980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:56:07] local.INFO: TCP Data received {"connection_id":154981,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:56:07] local.INFO: Processing buffer {"connection_id":154981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:56:07] local.INFO: IMEI packet received {"connection_id":154981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":154981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:56:08] local.INFO: TCP Data received {"connection_id":154981,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:56:08] local.INFO: Processing buffer {"connection_id":154981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:56:08] local.INFO: IMEI packet received {"connection_id":154981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":154981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:56:10] local.INFO: TCP Data received {"connection_id":154980,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:56:10] local.INFO: Processing buffer {"connection_id":154980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:56:10] local.INFO: IMEI packet received {"connection_id":154980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":154980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:56:15] local.INFO: TCP Data received {"connection_id":154980,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:56:15] local.INFO: Processing buffer {"connection_id":154980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:56:15] local.INFO: IMEI packet received {"connection_id":154980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":154980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:56:15] local.INFO: TCP Data received {"connection_id":154981,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:56:15] local.INFO: Processing buffer {"connection_id":154981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:56:15] local.INFO: IMEI packet received {"connection_id":154981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":154981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:56:16] local.INFO: TCP Data received {"connection_id":154980,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff059cd88012d1968c0071fee68003e011c29..."} 
[2026-08-11 15:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff059cd88012d1968c0071fee68003e011c29..."} 
[2026-08-11 15:56:16] local.INFO: Processing buffer {"connection_id":154980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff059cd88012d1968c0071fee68003e011c29..."} 
[2026-08-11 15:56:16] local.INFO: Packet analysis {"connection_id":154980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff059"} 
[2026-08-11 15:56:16] local.INFO: Extracted packet for processing {"connection_id":154980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff059"} 
[2026-08-11 15:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329618944001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:16] 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-08-11 15:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786443845000,"timestamp_ms":1786443845000,"timestamp_seconds":1786443845,"priority":1,"record_length":96,"hex_timestamp":"0000019ff059cd88"} 
[2026-08-11 15:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:56: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-08-11 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-11 15:56:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4032270160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:16] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2584477696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":6286259824767887552,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3999793214,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-11 15:56:16] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146119846900141,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:16] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300890809882450987,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:16] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:16] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,103,83,24,241,157,16,154,159,41,45,192,238,62,43,10,66,215,133,1,240,227,31,4,113,205,225,104,239,50,2,7,164,12],"length":535,"final_offset":665,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-11 15:56:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883280632381440,"timestamp_seconds":4467883280632381.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329618944001,"66":12776,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329618944001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:56:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:56:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 15:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329618944001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 15:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":154980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:56:16] local.INFO: GPS data processed {"connection_id":154980,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:56:16] local.INFO: Acknowledgment sent {"connection_id":154980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:56:18] local.INFO: TCP Data received {"connection_id":154981,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0597798012d7a8fc005ebaa300006004422..."} 
[2026-08-11 15:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0597798012d7a8fc005ebaa300006004422..."} 
[2026-08-11 15:56:18] local.INFO: Processing buffer {"connection_id":154981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0597798012d7a8fc005ebaa300006004422..."} 
[2026-08-11 15:56:18] local.INFO: Packet analysis {"connection_id":154981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff059"} 
[2026-08-11 15:56:18] local.INFO: Extracted packet for processing {"connection_id":154981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff059"} 
[2026-08-11 15:56:18] local.INFO: GPS Element Parsed {"raw_longitude":763006912,"raw_latitude":99330608,"longitude_deg":76.3006912,"latitude_deg":9.9330608,"altitude":6,"angle":68,"satellites":34,"speed":26,"hex_longitude":"2d7a8fc0","hex_latitude":"05ebaa30","is_valid_coordinates":true} 
[2026-08-11 15:56: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-08-11 15:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329614592001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117622167641784320,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822059114237329408,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786443823000,"timestamp_ms":1786443823000,"timestamp_seconds":1786443823,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0597798"} 
[2026-08-11 15:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:56: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-08-11 15:56: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 15:56:18] 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-08-11 15:56: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-08-11 15:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":154981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":154981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":154981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329614592001,"66":13428,"161":206,"87":13824,"24":26,"16":117622167641784320,"45":8822059114237329408},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-11 15:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329614592001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:56:18] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-11 15:56:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117622167641784320,"km_value":117622167641784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822059114237329408,"description":"Unknown IO ID 45"} 
[2026-08-11 15:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329614592001,"power":13428,"unknown_161":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8822059114237329408}} 
[2026-08-11 15:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":154981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:56:18] local.INFO: GPS data processed {"connection_id":154981,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:56:18] local.INFO: Acknowledgment sent {"connection_id":154981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:56:19] local.INFO: TCP Data received {"connection_id":152647,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:56:19] local.INFO: Processing buffer {"connection_id":152647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:56:19] local.INFO: IMEI packet received {"connection_id":152647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":152647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:56:24] local.INFO: TCP Data received {"connection_id":152647,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:56:24] local.INFO: Processing buffer {"connection_id":152647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:56:24] local.INFO: IMEI packet received {"connection_id":152647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":152647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:56:26] local.INFO: TCP Data received {"connection_id":152647,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:56:26] local.INFO: Processing buffer {"connection_id":152647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:56:26] local.INFO: IMEI packet received {"connection_id":152647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":152647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:56:26] local.INFO: TCP Data received {"connection_id":152647,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05b11c0012d9b1a0005b0bb50000600ad2d..."} 
[2026-08-11 15:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05b11c0012d9b1a0005b0bb50000600ad2d..."} 
[2026-08-11 15:56:26] local.INFO: Processing buffer {"connection_id":152647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05b11c0012d9b1a0005b0bb50000600ad2d..."} 
[2026-08-11 15:56:26] local.INFO: Packet analysis {"connection_id":152647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:56:26] local.INFO: Extracted packet for processing {"connection_id":152647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:56:26] local.INFO: GPS Element Parsed {"raw_longitude":765139456,"raw_latitude":95468368,"longitude_deg":76.5139456,"latitude_deg":9.5468368,"altitude":6,"angle":173,"satellites":45,"speed":39,"hex_longitude":"2d9b1a00","hex_latitude":"05b0bb50","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329643264001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377749048062377984,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7270217149017354240,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786443928000,"timestamp_ms":1786443928000,"timestamp_seconds":1786443928,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05b11c0"} 
[2026-08-11 15:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 15:56:26] 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-08-11 15: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-08-11 15:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:56:26] 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-08-11 15:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329643264001,"66":27919,"8":206,"83":17408,"24":39,"16":377749048062377984,"45":-7270217149017354240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,45]} 
[2026-08-11 15:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329643264001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:56:26] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 15:56:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377749048062377984,"km_value":377749048062378.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7270217149017354240,"description":"Unknown IO ID 45"} 
[2026-08-11 15:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329643264001,"power":27919,"unknown_8":206,"unknown_83":17408,"ignition":39,"odometer":null,"unknown_45":-7270217149017354240}} 
[2026-08-11 15:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":152647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:56:26] local.INFO: GPS data processed {"connection_id":152647,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:56:26] local.INFO: Acknowledgment sent {"connection_id":152647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:56:31] local.INFO: TCP Data received {"connection_id":152647,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05b34e8012d9b1cc005b094e0000700b02e..."} 
[2026-08-11 15:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05b34e8012d9b1cc005b094e0000700b02e..."} 
[2026-08-11 15:56:31] local.INFO: Processing buffer {"connection_id":152647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05b34e8012d9b1cc005b094e0000700b02e..."} 
[2026-08-11 15:56:31] local.INFO: Packet analysis {"connection_id":152647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:56:31] local.INFO: Extracted packet for processing {"connection_id":152647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:56:31] local.INFO: GPS Element Parsed {"raw_longitude":765140160,"raw_latitude":95458528,"longitude_deg":76.514016,"latitude_deg":9.5458528,"altitude":7,"angle":176,"satellites":46,"speed":45,"hex_longitude":"2d9b1cc0","hex_latitude":"05b094e0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329645568001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377749524803747840,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7270498623996342272,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786443937000,"timestamp_ms":1786443937000,"timestamp_seconds":1786443937,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05b34e8"} 
[2026-08-11 15:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 15:56:31] 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-08-11 15: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-08-11 15:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:56:31] 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-08-11 15:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329645568001,"66":27974,"8":206,"83":17408,"24":45,"16":377749524803747840,"45":-7270498623996342272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,45]} 
[2026-08-11 15:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329645568001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:56:31] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 15:56:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377749524803747840,"km_value":377749524803747.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7270498623996342272,"description":"Unknown IO ID 45"} 
[2026-08-11 15:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329645568001,"power":27974,"unknown_8":206,"unknown_83":17408,"ignition":45,"odometer":null,"unknown_45":-7270498623996342272}} 
[2026-08-11 15:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":152647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:56:31] local.INFO: GPS data processed {"connection_id":152647,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:56:31] local.INFO: Acknowledgment sent {"connection_id":152647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:56:32] local.INFO: TCP Data received {"connection_id":152279,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152279,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:56:32] local.INFO: Processing buffer {"connection_id":152279,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:56:32] local.INFO: IMEI packet received {"connection_id":152279,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":152279,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:56:33] local.INFO: TCP Data received {"connection_id":152279,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05b86f0012d0a7200070604e8001d00b312..."} 
[2026-08-11 15:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05b86f0012d0a7200070604e8001d00b312..."} 
[2026-08-11 15:56:33] local.INFO: Processing buffer {"connection_id":152279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05b86f0012d0a7200070604e8001d00b312..."} 
[2026-08-11 15:56:33] local.INFO: Packet analysis {"connection_id":152279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:56:33] local.INFO: Extracted packet for processing {"connection_id":152279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":755659264,"raw_latitude":117834984,"longitude_deg":75.5659264,"latitude_deg":11.7834984,"altitude":29,"angle":179,"satellites":18,"speed":4,"hex_longitude":"2d0a7200","hex_latitude":"070604e8","is_valid_coordinates":true} 
[2026-08-11 15:56: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-08-11 15:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329652224001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27644827583643648,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752804855378436096,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786443958000,"timestamp_ms":1786443958000,"timestamp_seconds":1786443958,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05b86f0"} 
[2026-08-11 15:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:56: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":179,"data_length":795,"current_offset":136} 
[2026-08-11 15:56:33] 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-08-11 15:56: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-08-11 15:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152279,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152279,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329652224001,"66":14428,"153":206,"94":10240,"24":4,"16":27644827583643648,"45":752804855378436096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-11 15:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329652224001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:56:33] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-11 15:56:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27644827583643648,"km_value":27644827583643.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":752804855378436096,"description":"Unknown IO ID 45"} 
[2026-08-11 15:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329652224001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":752804855378436096}} 
[2026-08-11 15:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":152279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625573,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:56:33] local.INFO: GPS data processed {"connection_id":152279,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:56:33] local.INFO: Acknowledgment sent {"connection_id":152279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:56:47] local.INFO: TCP Data received {"connection_id":154980,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05a1f90012d1968c0071fee68003e011c26..."} 
[2026-08-11 15:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05a1f90012d1968c0071fee68003e011c26..."} 
[2026-08-11 15:56:47] local.INFO: Processing buffer {"connection_id":154980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05a1f90012d1968c0071fee68003e011c26..."} 
[2026-08-11 15:56:47] local.INFO: Packet analysis {"connection_id":154980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05a"} 
[2026-08-11 15:56:47] local.INFO: Extracted packet for processing {"connection_id":154980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05a"} 
[2026-08-11 15:56:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 15:56: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-08-11 15:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329624320001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:47] 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-08-11 15:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786443866000,"timestamp_ms":1786443866000,"timestamp_seconds":1786443866,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05a1f90"} 
[2026-08-11 15:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:56: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-08-11 15:56: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-11 15:56:47] 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-08-11 15:56: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-08-11 15:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329624320001,"66":12798,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329624320001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:56:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:56:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 15:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329624320001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 15:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":154980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:56:47] local.INFO: GPS data processed {"connection_id":154980,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:56:47] local.INFO: Acknowledgment sent {"connection_id":154980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:56:51] local.INFO: TCP Data received {"connection_id":154981,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff059aa60012d7ab10005ebb5b00008004424..."} 
[2026-08-11 15:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff059aa60012d7ab10005ebb5b00008004424..."} 
[2026-08-11 15:56:51] local.INFO: Processing buffer {"connection_id":154981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff059aa60012d7ab10005ebb5b00008004424..."} 
[2026-08-11 15:56:51] local.INFO: Packet analysis {"connection_id":154981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff059"} 
[2026-08-11 15:56:51] local.INFO: Extracted packet for processing {"connection_id":154981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff059"} 
[2026-08-11 15:56:51] local.INFO: GPS Element Parsed {"raw_longitude":763015424,"raw_latitude":99333552,"longitude_deg":76.3015424,"latitude_deg":9.9333552,"altitude":8,"angle":68,"satellites":36,"speed":23,"hex_longitude":"2d7ab100","hex_latitude":"05ebb5b0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329618688001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117622601433481216,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831488525958000640,"note":"Value kept but may cause issues"} 
[2026-08-11 15:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786443836000,"timestamp_ms":1786443836000,"timestamp_seconds":1786443836,"priority":1,"record_length":96,"hex_timestamp":"0000019ff059aa60"} 
[2026-08-11 15:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:56:51] 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-08-11 15: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":116,"data_length":795,"current_offset":136} 
[2026-08-11 15:56:51] 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-08-11 15: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-08-11 15:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":154981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":154981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":154981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329618688001,"66":13374,"161":206,"87":13824,"24":23,"16":117622601433481216,"45":8831488525958000640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-11 15:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329618688001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:56:51] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-11 15:56:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117622601433481216,"km_value":117622601433481.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831488525958000640,"description":"Unknown IO ID 45"} 
[2026-08-11 15:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329618688001,"power":13374,"unknown_161":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8831488525958000640}} 
[2026-08-11 15:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":154981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:56:51] local.INFO: GPS data processed {"connection_id":154981,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:56:51] local.INFO: Acknowledgment sent {"connection_id":154981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:57:02] local.INFO: TCP Data received {"connection_id":152647,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05b5428012d9b1f0005b07008000800b030..."} 
[2026-08-11 15:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05b5428012d9b1f0005b07008000800b030..."} 
[2026-08-11 15:57:02] local.INFO: Processing buffer {"connection_id":152647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05b5428012d9b1f0005b07008000800b030..."} 
[2026-08-11 15:57:02] local.INFO: Packet analysis {"connection_id":152647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:57:02] local.INFO: Extracted packet for processing {"connection_id":152647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:57:02] local.INFO: GPS Element Parsed {"raw_longitude":765140736,"raw_latitude":95449096,"longitude_deg":76.5140736,"latitude_deg":9.5449096,"altitude":8,"angle":176,"satellites":48,"speed":48,"hex_longitude":"2d9b1f00","hex_latitude":"05b07008","is_valid_coordinates":true} 
[2026-08-11 15:57: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-08-11 15:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329647872001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377749984365248512,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7269724567812907008,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786443945000,"timestamp_ms":1786443945000,"timestamp_seconds":1786443945,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05b5428"} 
[2026-08-11 15:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:57: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":70,"data_length":795,"current_offset":136} 
[2026-08-11 15:57:02] 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-08-11 15:57: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-08-11 15:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":152647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":152647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":152647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:57:02] 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-08-11 15:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329647872001,"66":27832,"8":206,"83":17408,"24":48,"16":377749984365248512,"45":-7269724567812907008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,45]} 
[2026-08-11 15:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329647872001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:57:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 15:57:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377749984365248512,"km_value":377749984365248.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7269724567812907008,"description":"Unknown IO ID 45"} 
[2026-08-11 15:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329647872001,"power":27832,"unknown_8":206,"unknown_83":17408,"ignition":48,"odometer":null,"unknown_45":-7269724567812907008}} 
[2026-08-11 15:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":152647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:57:02] local.INFO: GPS data processed {"connection_id":152647,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:57:02] local.INFO: Acknowledgment sent {"connection_id":152647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:57:04] local.INFO: TCP Data received {"connection_id":152279,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05bc570012d0a73c00705e8c8002000c112..."} 
[2026-08-11 15:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05bc570012d0a73c00705e8c8002000c112..."} 
[2026-08-11 15:57:04] local.INFO: Processing buffer {"connection_id":152279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05bc570012d0a73c00705e8c8002000c112..."} 
[2026-08-11 15:57:04] local.INFO: Packet analysis {"connection_id":152279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:57:04] local.INFO: Extracted packet for processing {"connection_id":152279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:57:04] local.INFO: GPS Element Parsed {"raw_longitude":755659712,"raw_latitude":117827784,"longitude_deg":75.5659712,"latitude_deg":11.7827784,"altitude":32,"angle":193,"satellites":18,"speed":19,"hex_longitude":"2d0a73c0","hex_latitude":"0705e8c8","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329653248001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27645179770961920,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752664117890050048,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786443974000,"timestamp_ms":1786443974000,"timestamp_seconds":1786443974,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05bc570"} 
[2026-08-11 15:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 15:57:04] 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-08-11 15: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-08-11 15:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152279,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152279,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329653248001,"66":14407,"153":206,"94":10240,"24":19,"16":27645179770961920,"45":752664117890050048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-11 15:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329653248001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:57:04] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-11 15:57:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27645179770961920,"km_value":27645179770961.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":752664117890050048,"description":"Unknown IO ID 45"} 
[2026-08-11 15:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329653248001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":752664117890050048}} 
[2026-08-11 15:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":152279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625577,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:57:04] local.INFO: GPS data processed {"connection_id":152279,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:57:04] local.INFO: Acknowledgment sent {"connection_id":152279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:57:08] local.INFO: TCP Data received {"connection_id":152649,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:57:08] local.INFO: Processing buffer {"connection_id":152649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:57:08] local.INFO: IMEI packet received {"connection_id":152649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":152649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:57:10] local.INFO: TCP Data received {"connection_id":152648,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:57:10] local.INFO: Processing buffer {"connection_id":152648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:57:10] local.INFO: IMEI packet received {"connection_id":152648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":152648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:57:11] local.INFO: TCP Data received {"connection_id":152648,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:57:11] local.INFO: Processing buffer {"connection_id":152648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:57:11] local.INFO: IMEI packet received {"connection_id":152648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":152648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:57:14] local.INFO: TCP Data received {"connection_id":152649,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:57:14] local.INFO: Processing buffer {"connection_id":152649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:57:14] local.INFO: IMEI packet received {"connection_id":152649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":152649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:57:14] local.INFO: TCP Data received {"connection_id":152649,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05c2ee8012d7c114005ec34a8000f00562c..."} 
[2026-08-11 15:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05c2ee8012d7c114005ec34a8000f00562c..."} 
[2026-08-11 15:57:14] local.INFO: Processing buffer {"connection_id":152649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05c2ee8012d7c114005ec34a8000f00562c..."} 
[2026-08-11 15:57:14] local.INFO: Packet analysis {"connection_id":152649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 15:57:14] local.INFO: Extracted packet for processing {"connection_id":152649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 15:57:14] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":99366056,"longitude_deg":76.31056,"latitude_deg":9.9366056,"altitude":15,"angle":86,"satellites":44,"speed":34,"hex_longitude":"2d7c1140","hex_latitude":"05ec34a8","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329660416001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117627218523324416,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929512186606325760,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786444001000,"timestamp_ms":1786444001000,"timestamp_seconds":1786444001,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05c2ee8"} 
[2026-08-11 15:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:57:14] 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-08-11 15: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-11 15:57:14] 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-08-11 15: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-08-11 15:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329660416001,"66":13406,"110":206,"87":13824,"24":34,"16":117627218523324416,"45":8929512186606325760},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 15:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329660416001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:57:14] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 15:57:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117627218523324416,"km_value":117627218523324.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929512186606325760,"description":"Unknown IO ID 45"} 
[2026-08-11 15:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329660416001,"power":13406,"unknown_110":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8929512186606325760}} 
[2026-08-11 15:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":152649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:57:15] local.INFO: GPS data processed {"connection_id":152649,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:57:15] local.INFO: Acknowledgment sent {"connection_id":152649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:57:15] local.INFO: TCP Data received {"connection_id":152648,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:57:15] local.INFO: Processing buffer {"connection_id":152648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:57:15] local.INFO: IMEI packet received {"connection_id":152648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":152648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:57:16] local.INFO: TCP Data received {"connection_id":152648,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05a7198012d1968c0071fee68003e011c28..."} 
[2026-08-11 15:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05a7198012d1968c0071fee68003e011c28..."} 
[2026-08-11 15:57:16] local.INFO: Processing buffer {"connection_id":152648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05a7198012d1968c0071fee68003e011c28..."} 
[2026-08-11 15:57:16] local.INFO: Packet analysis {"connection_id":152648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05a"} 
[2026-08-11 15:57:16] local.INFO: Extracted packet for processing {"connection_id":152648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05a"} 
[2026-08-11 15:57:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329629696001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:16] 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-08-11 15:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786443887000,"timestamp_ms":1786443887000,"timestamp_seconds":1786443887,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05a7198"} 
[2026-08-11 15:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:57: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-08-11 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 15:57:16] 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-08-11 15: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-08-11 15:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329629696001,"66":12776,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329629696001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:57:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:57:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 15:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329629696001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 15:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":152648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:57:16] local.INFO: GPS data processed {"connection_id":152648,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:57:16] local.INFO: Acknowledgment sent {"connection_id":152648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:57:20] local.INFO: TCP Data received {"connection_id":153597,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:57:20] local.INFO: Processing buffer {"connection_id":153597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:57:20] local.INFO: IMEI packet received {"connection_id":153597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":153597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:57:22] local.INFO: TCP Data received {"connection_id":154982,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154982,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:57:22] local.INFO: Processing buffer {"connection_id":154982,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:57:22] local.INFO: IMEI packet received {"connection_id":154982,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":154982,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:57:24] local.INFO: TCP Data received {"connection_id":153597,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:57:24] local.INFO: Processing buffer {"connection_id":153597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:57:24] local.INFO: IMEI packet received {"connection_id":153597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":153597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:57:27] local.INFO: TCP Data received {"connection_id":154982,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154982,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:57:27] local.INFO: Processing buffer {"connection_id":154982,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:57:27] local.INFO: IMEI packet received {"connection_id":154982,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":154982,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:57:27] local.INFO: TCP Data received {"connection_id":154982,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05bd128012d0a72400705e450002100d312..."} 
[2026-08-11 15:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05bd128012d0a72400705e450002100d312..."} 
[2026-08-11 15:57:27] local.INFO: Processing buffer {"connection_id":154982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05bd128012d0a72400705e450002100d312..."} 
[2026-08-11 15:57:27] local.INFO: Packet analysis {"connection_id":154982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:57:27] local.INFO: Extracted packet for processing {"connection_id":154982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:57:27] local.INFO: GPS Element Parsed {"raw_longitude":755659328,"raw_latitude":117826640,"longitude_deg":75.5659328,"latitude_deg":11.782664,"altitude":33,"angle":211,"satellites":18,"speed":12,"hex_longitude":"2d0a7240","hex_latitude":"0705e450","is_valid_coordinates":true} 
[2026-08-11 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-08-11 15:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329657344001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27645239900504064,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753156699097450496,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786443977000,"timestamp_ms":1786443977000,"timestamp_seconds":1786443977,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05bd128"} 
[2026-08-11 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-08-11 15:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 15:57:27] 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-08-11 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-08-11 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-08-11 15:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":154982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":154982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":154982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329657344001,"66":14352,"153":206,"94":10240,"24":12,"16":27645239900504064,"45":753156699097450496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-11 15:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329657344001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:57:27] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-11 15:57:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27645239900504064,"km_value":27645239900504.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":753156699097450496,"description":"Unknown IO ID 45"} 
[2026-08-11 15:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329657344001,"power":14352,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":753156699097450496}} 
[2026-08-11 15:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":154982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625580,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:57:27] local.INFO: GPS data processed {"connection_id":154982,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:57:27] local.INFO: Acknowledgment sent {"connection_id":154982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:57:28] local.INFO: TCP Data received {"connection_id":153597,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:57:28] local.INFO: Processing buffer {"connection_id":153597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:57:28] local.INFO: IMEI packet received {"connection_id":153597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":153597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:57:30] local.INFO: TCP Data received {"connection_id":153597,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05b7368012d9b204005b04910000800b52f..."} 
[2026-08-11 15:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05b7368012d9b204005b04910000800b52f..."} 
[2026-08-11 15:57:30] local.INFO: Processing buffer {"connection_id":153597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05b7368012d9b204005b04910000800b52f..."} 
[2026-08-11 15:57:30] local.INFO: Packet analysis {"connection_id":153597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:57:30] local.INFO: Extracted packet for processing {"connection_id":153597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:57:30] local.INFO: GPS Element Parsed {"raw_longitude":765141056,"raw_latitude":95439120,"longitude_deg":76.5141056,"latitude_deg":9.543912,"altitude":8,"angle":181,"satellites":47,"speed":49,"hex_longitude":"2d9b2040","hex_latitude":"05b04910","is_valid_coordinates":true} 
[2026-08-11 15:57: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-08-11 15:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329649920001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377750469696552960,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7269091249117722624,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786443953000,"timestamp_ms":1786443953000,"timestamp_seconds":1786443953,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05b7368"} 
[2026-08-11 15:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:57: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 15:57:30] 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-08-11 15:57: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-08-11 15:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:57:30] 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-08-11 15:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329649920001,"66":27919,"8":206,"83":17408,"24":49,"16":377750469696552960,"45":-7269091249117722624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,45]} 
[2026-08-11 15:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329649920001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:57:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 15:57:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377750469696552960,"km_value":377750469696552.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7269091249117722624,"description":"Unknown IO ID 45"} 
[2026-08-11 15:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329649920001,"power":27919,"unknown_8":206,"unknown_83":17408,"ignition":49,"odometer":null,"unknown_45":-7269091249117722624}} 
[2026-08-11 15:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":153597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:57:30] local.INFO: GPS data processed {"connection_id":153597,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:57:30] local.INFO: Acknowledgment sent {"connection_id":153597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:57:47] local.INFO: TCP Data received {"connection_id":152648,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05ac3a0012d1968c0071fee68003e011c28..."} 
[2026-08-11 15:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05ac3a0012d1968c0071fee68003e011c28..."} 
[2026-08-11 15:57:47] local.INFO: Processing buffer {"connection_id":152648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05ac3a0012d1968c0071fee68003e011c28..."} 
[2026-08-11 15:57:47] local.INFO: Packet analysis {"connection_id":152648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05a"} 
[2026-08-11 15:57:47] local.INFO: Extracted packet for processing {"connection_id":152648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05a"} 
[2026-08-11 15:57:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329635072001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:47] 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-08-11 15:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786443908000,"timestamp_ms":1786443908000,"timestamp_seconds":1786443908,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05ac3a0"} 
[2026-08-11 15:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:57: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-08-11 15: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-11 15:57:47] 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-08-11 15: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-08-11 15:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329635072001,"66":12743,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329635072001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:57:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:57:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 15:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329635072001,"power":12743,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 15:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":152648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:57:47] local.INFO: GPS data processed {"connection_id":152648,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:57:47] local.INFO: Acknowledgment sent {"connection_id":152648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:57:47] local.INFO: TCP Data received {"connection_id":152649,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05c55f8012d7c360005ec35e0000f00582d..."} 
[2026-08-11 15:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05c55f8012d7c360005ec35e0000f00582d..."} 
[2026-08-11 15:57:47] local.INFO: Processing buffer {"connection_id":152649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05c55f8012d7c360005ec35e0000f00582d..."} 
[2026-08-11 15:57:47] local.INFO: Packet analysis {"connection_id":152649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 15:57:47] local.INFO: Extracted packet for processing {"connection_id":152649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 15:57:47] local.INFO: GPS Element Parsed {"raw_longitude":763115008,"raw_latitude":99366368,"longitude_deg":76.3115008,"latitude_deg":9.9366368,"altitude":15,"angle":88,"satellites":45,"speed":34,"hex_longitude":"2d7c3600","hex_latitude":"05ec35e0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329664256001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117627665199923200,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129489033216,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786444011000,"timestamp_ms":1786444011000,"timestamp_seconds":1786444011,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05c55f8"} 
[2026-08-11 15:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:57:47] 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-08-11 15: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":94,"data_length":795,"current_offset":136} 
[2026-08-11 15:57: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-08-11 15: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-08-11 15:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329664256001,"66":13276,"110":206,"87":13824,"24":34,"16":117627665199923200,"45":8939997129489033216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-11 15:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329664256001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:57:47] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-11 15:57:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117627665199923200,"km_value":117627665199923.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129489033216,"description":"Unknown IO ID 45"} 
[2026-08-11 15:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329664256001,"power":13276,"unknown_110":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8939997129489033216}} 
[2026-08-11 15:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":152649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:57:47] local.INFO: GPS data processed {"connection_id":152649,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:57:47] local.INFO: Acknowledgment sent {"connection_id":152649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:57:58] local.INFO: TCP Data received {"connection_id":154982,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05c1f48012d0a71c00705e150002200cd13..."} 
[2026-08-11 15:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05c1f48012d0a71c00705e150002200cd13..."} 
[2026-08-11 15:57:58] local.INFO: Processing buffer {"connection_id":154982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05c1f48012d0a71c00705e150002200cd13..."} 
[2026-08-11 15:57:58] local.INFO: Packet analysis {"connection_id":154982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 15:57:58] local.INFO: Extracted packet for processing {"connection_id":154982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 15:57:58] local.INFO: GPS Element Parsed {"raw_longitude":755659200,"raw_latitude":117825872,"longitude_deg":75.56592,"latitude_deg":11.7825872,"altitude":34,"angle":205,"satellites":19,"speed":0,"hex_longitude":"2d0a71c0","hex_latitude":"0705e150","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329658112001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27645300030046208,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752734486632091648,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786443997000,"timestamp_ms":1786443997000,"timestamp_seconds":1786443997,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05c1f48"} 
[2026-08-11 15:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-11 15:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146880,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:58] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84735458101626374,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:58] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485671,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:58] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4032463160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:58] local.WARNING: Large IO value detected {"io_id":192,"raw_value":8727223439721728,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":8358688630385410084,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638757918762905,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:58] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:58] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504021453373440,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:58] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738080462,"corrected_to":0} 
[2026-08-11 15:57:58] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 15:57:58] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,153,94,24,241,157,16,55,159,197,45,192,232,32,18,10,66,134,4,29,54,119,128,1,240,179,227,6,113,205,211,115,15,239,2,98,7,30,206],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1738080462,"validated":0}]} 
[2026-08-11 15:57:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378132677515280384,"timestamp_seconds":2378132677515280.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":154982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":154982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":154982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329658112001,"66":14548,"153":206,"94":10240,"24":0,"16":27645300030046208,"45":752734486632091648},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-11 15:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329658112001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:57:58] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-11 15:57:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27645300030046208,"km_value":27645300030046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":752734486632091648,"description":"Unknown IO ID 45"} 
[2026-08-11 15:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329658112001,"power":14548,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":752734486632091648}} 
[2026-08-11 15:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":154982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625584,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:57:59] local.INFO: GPS data processed {"connection_id":154982,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:57:59] local.INFO: Acknowledgment sent {"connection_id":154982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:58:01] local.INFO: TCP Data received {"connection_id":153597,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05b92a8012d9b1e4005b02338000900b831..."} 
[2026-08-11 15:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05b92a8012d9b1e4005b02338000900b831..."} 
[2026-08-11 15:58:01] local.INFO: Processing buffer {"connection_id":153597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05b92a8012d9b1e4005b02338000900b831..."} 
[2026-08-11 15:58:01] local.INFO: Packet analysis {"connection_id":153597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:58:01] local.INFO: Extracted packet for processing {"connection_id":153597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:58:01] local.INFO: GPS Element Parsed {"raw_longitude":765140544,"raw_latitude":95429432,"longitude_deg":76.5140544,"latitude_deg":9.5429432,"altitude":9,"angle":184,"satellites":49,"speed":45,"hex_longitude":"2d9b1e40","hex_latitude":"05b02338","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329651968001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377750937847988224,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7268739405399388160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786443961000,"timestamp_ms":1786443961000,"timestamp_seconds":1786443961,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05b92a8"} 
[2026-08-11 15:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 15:58: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-08-11 15: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-08-11 15:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:58:01] 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-08-11 15:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329651968001,"66":28006,"8":206,"83":17408,"24":45,"16":377750937847988224,"45":-7268739405399388160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,45]} 
[2026-08-11 15:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329651968001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:58:01] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 15:58:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377750937847988224,"km_value":377750937847988.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7268739405399388160,"description":"Unknown IO ID 45"} 
[2026-08-11 15:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329651968001,"power":28006,"unknown_8":206,"unknown_83":17408,"ignition":45,"odometer":null,"unknown_45":-7268739405399388160}} 
[2026-08-11 15:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":153597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:58:01] local.INFO: GPS data processed {"connection_id":153597,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:58:01] local.INFO: Acknowledgment sent {"connection_id":153597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:58:08] local.INFO: TCP Data received {"connection_id":153598,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:58:08] local.INFO: Processing buffer {"connection_id":153598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:58:08] local.INFO: IMEI packet received {"connection_id":153598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":153598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:58:10] local.INFO: TCP Data received {"connection_id":154983,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:58:10] local.INFO: Processing buffer {"connection_id":154983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:58:10] local.INFO: IMEI packet received {"connection_id":154983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":154983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:58:13] local.INFO: TCP Data received {"connection_id":154983,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:58:13] local.INFO: Processing buffer {"connection_id":154983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:58:13] local.INFO: IMEI packet received {"connection_id":154983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":154983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:58:14] local.INFO: TCP Data received {"connection_id":153598,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:58:14] local.INFO: Processing buffer {"connection_id":153598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:58:14] local.INFO: IMEI packet received {"connection_id":153598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":153598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:58:14] local.INFO: TCP Data received {"connection_id":154983,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05b15a8012d1968c0071fee68003e011c29..."} 
[2026-08-11 15:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05b15a8012d1968c0071fee68003e011c29..."} 
[2026-08-11 15:58:14] local.INFO: Processing buffer {"connection_id":154983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05b15a8012d1968c0071fee68003e011c29..."} 
[2026-08-11 15:58:14] local.INFO: Packet analysis {"connection_id":154983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:58:14] local.INFO: Extracted packet for processing {"connection_id":154983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 15:58: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-08-11 15:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329640448001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:14] 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-08-11 15:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786443929000,"timestamp_ms":1786443929000,"timestamp_seconds":1786443929,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05b15a8"} 
[2026-08-11 15:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:58:14] 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-08-11 15:58: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-11 15:58:14] 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-08-11 15:58: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-08-11 15:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329640448001,"66":12689,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329640448001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:58:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:58:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 15:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329640448001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 15:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":154983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:58:14] local.INFO: GPS data processed {"connection_id":154983,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:58:14] local.INFO: Acknowledgment sent {"connection_id":154983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:58:16] local.INFO: TCP Data received {"connection_id":153598,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05d6f38012d7d1cc005ec41680007014529..."} 
[2026-08-11 15:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05d6f38012d7d1cc005ec41680007014529..."} 
[2026-08-11 15:58:16] local.INFO: Processing buffer {"connection_id":153598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05d6f38012d7d1cc005ec41680007014529..."} 
[2026-08-11 15:58:16] local.INFO: Packet analysis {"connection_id":153598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:58:16] local.INFO: Extracted packet for processing {"connection_id":153598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:58:16] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99369320,"longitude_deg":76.317408,"latitude_deg":9.936932,"altitude":7,"angle":325,"satellites":41,"speed":7,"hex_longitude":"2d7d1cc0","hex_latitude":"05ec4168","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329684992001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117630521353175040,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054504101888,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786444083000,"timestamp_ms":1786444083000,"timestamp_seconds":1786444083,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05d6f38"} 
[2026-08-11 15:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:58:16] 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-08-11 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 15:58:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:16] local.WARNING: Large IO value detected {"io_id":232,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4032627160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:16] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4114038311148333824,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-08-11 15:58:16] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:16] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3888906240,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963230208,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:16] local.WARNING: Large IO value detected {"io_id":92,"raw_value":-2963367259933392891,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:16] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,197,87,24,241,157,16,232,159,103,45,63,8,41,10,66,99,192,9,95,1,240,227,236,4,113,205,40,239,80,50,198,2,161,5,11,34,92],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-08-11 15:58:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504777168313122816,"timestamp_seconds":504777168313122.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329684992001,"66":13319,"197":206,"87":13824,"24":7,"16":117630521353175040,"45":9015362054504101888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-11 15:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329684992001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:58:16] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 15:58:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117630521353175040,"km_value":117630521353175.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054504101888,"description":"Unknown IO ID 45"} 
[2026-08-11 15:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329684992001,"power":13319,"unknown_197":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9015362054504101888}} 
[2026-08-11 15:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":153598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:58:16] local.INFO: GPS data processed {"connection_id":153598,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:58:16] local.INFO: Acknowledgment sent {"connection_id":153598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:58:19] local.INFO: TCP Data received {"connection_id":154984,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:58:19] local.INFO: Processing buffer {"connection_id":154984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:58:19] local.INFO: IMEI packet received {"connection_id":154984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":154984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:58:20] local.INFO: TCP Data received {"connection_id":154984,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:58:20] local.INFO: Processing buffer {"connection_id":154984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:58:20] local.INFO: IMEI packet received {"connection_id":154984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":154984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:58:22] local.INFO: TCP Data received {"connection_id":152280,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152280,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:58:22] local.INFO: Processing buffer {"connection_id":152280,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:58:22] local.INFO: IMEI packet received {"connection_id":152280,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":152280,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:58:22] local.INFO: TCP Data received {"connection_id":154984,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:58:22] local.INFO: Processing buffer {"connection_id":154984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:58:22] local.INFO: IMEI packet received {"connection_id":154984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":154984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:58:23] local.INFO: TCP Data received {"connection_id":154984,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05ce680012d9ad30005aeb640001000b530..."} 
[2026-08-11 15:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05ce680012d9ad30005aeb640001000b530..."} 
[2026-08-11 15:58:23] local.INFO: Processing buffer {"connection_id":154984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05ce680012d9ad30005aeb640001000b530..."} 
[2026-08-11 15:58:23] local.INFO: Packet analysis {"connection_id":154984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 15:58:23] local.INFO: Extracted packet for processing {"connection_id":154984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 15:58:23] local.INFO: GPS Element Parsed {"raw_longitude":765121280,"raw_latitude":95336000,"longitude_deg":76.512128,"latitude_deg":9.5336,"altitude":16,"angle":181,"satellites":48,"speed":45,"hex_longitude":"2d9ad300","hex_latitude":"05aeb640","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329674496001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377755597887504384,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7289709291188721664,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786444048000,"timestamp_ms":1786444048000,"timestamp_seconds":1786444048,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05ce680"} 
[2026-08-11 15:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 15:58:23] 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-08-11 15: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-08-11 15:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":154984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":154984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":154984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:58:23] 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-08-11 15:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329674496001,"66":27908,"8":206,"83":17408,"24":45,"16":377755597887504384,"45":-7289709291188721664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,45]} 
[2026-08-11 15:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329674496001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:58:23] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 15:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377755597887504384,"km_value":377755597887504.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7289709291188721664,"description":"Unknown IO ID 45"} 
[2026-08-11 15:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329674496001,"power":27908,"unknown_8":206,"unknown_83":17408,"ignition":45,"odometer":null,"unknown_45":-7289709291188721664}} 
[2026-08-11 15:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":154984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:58:23] local.INFO: GPS data processed {"connection_id":154984,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:58:23] local.INFO: Acknowledgment sent {"connection_id":154984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:58:25] local.INFO: TCP Data received {"connection_id":152280,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152280,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:58:25] local.INFO: Processing buffer {"connection_id":152280,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:58:25] local.INFO: IMEI packet received {"connection_id":152280,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":152280,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:58:25] local.INFO: TCP Data received {"connection_id":154984,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05d05c0012d9acfc005ae91a0001000b82d..."} 
[2026-08-11 15:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05d05c0012d9acfc005ae91a0001000b82d..."} 
[2026-08-11 15:58:25] local.INFO: Processing buffer {"connection_id":154984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05d05c0012d9acfc005ae91a0001000b82d..."} 
[2026-08-11 15:58:25] local.INFO: Packet analysis {"connection_id":154984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:58:25] local.INFO: Extracted packet for processing {"connection_id":154984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:58:25] local.INFO: GPS Element Parsed {"raw_longitude":765120448,"raw_latitude":95326624,"longitude_deg":76.5120448,"latitude_deg":9.5326624,"altitude":16,"angle":184,"satellites":45,"speed":47,"hex_longitude":"2d9acfc0","hex_latitude":"05ae91a0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329676288001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377756057449005056,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7290483347376685056,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786444056000,"timestamp_ms":1786444056000,"timestamp_seconds":1786444056,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05d05c0"} 
[2026-08-11 15:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 15:58:25] 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-08-11 15: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-08-11 15:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:58:25] 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-08-11 15:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329676288001,"66":28006,"8":206,"83":17408,"24":47,"16":377756057449005056,"45":-7290483347376685056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,45]} 
[2026-08-11 15:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329676288001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:58:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-11 15:58:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377756057449005056,"km_value":377756057449005.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7290483347376685056,"description":"Unknown IO ID 45"} 
[2026-08-11 15:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329676288001,"power":28006,"unknown_8":206,"unknown_83":17408,"ignition":47,"odometer":null,"unknown_45":-7290483347376685056}} 
[2026-08-11 15:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":154984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:58:25] local.INFO: GPS data processed {"connection_id":154984,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:58:25] local.INFO: Acknowledgment sent {"connection_id":154984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:58:25] local.INFO: TCP Data received {"connection_id":152280,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152280,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:58:25] local.INFO: Processing buffer {"connection_id":152280,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:58:25] local.INFO: IMEI packet received {"connection_id":152280,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":152280,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:58:27] local.INFO: TCP Data received {"connection_id":152280,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152280,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:58:27] local.INFO: Processing buffer {"connection_id":152280,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:58:27] local.INFO: IMEI packet received {"connection_id":152280,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":152280,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:58:29] local.INFO: TCP Data received {"connection_id":152280,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05c7150012d0a71c00705e150002200cd15..."} 
[2026-08-11 15:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05c7150012d0a71c00705e150002200cd15..."} 
[2026-08-11 15:58:29] local.INFO: Processing buffer {"connection_id":152280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05c7150012d0a71c00705e150002200cd15..."} 
[2026-08-11 15:58:29] local.INFO: Packet analysis {"connection_id":152280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 15:58:29] local.INFO: Extracted packet for processing {"connection_id":152280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 15:58:29] local.INFO: GPS Element Parsed {"raw_longitude":755659200,"raw_latitude":117825872,"longitude_deg":75.56592,"latitude_deg":11.7825872,"altitude":34,"angle":205,"satellites":21,"speed":0,"hex_longitude":"2d0a71c0","hex_latitude":"0705e150","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329663232001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27645300030046208,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752593749143539712,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786444018000,"timestamp_ms":1786444018000,"timestamp_seconds":1786444018,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05c7150"} 
[2026-08-11 15:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 15:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329663232001,"66":14407,"153":206,"94":10240,"24":0,"16":27645300030046208,"45":752593749143539712},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-11 15:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329663232001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:58:29] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-11 15:58:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27645300030046208,"km_value":27645300030046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":752593749143539712,"description":"Unknown IO ID 45"} 
[2026-08-11 15:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329663232001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":752593749143539712}} 
[2026-08-11 15:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":152280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625590,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:58:29] local.INFO: GPS data processed {"connection_id":152280,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:58:29] local.INFO: Acknowledgment sent {"connection_id":152280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:58:32] local.INFO: TCP Data received {"connection_id":152280,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05c8ca8012d0a71c00705e0e8002200b615..."} 
[2026-08-11 15:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05c8ca8012d0a71c00705e0e8002200b615..."} 
[2026-08-11 15:58:32] local.INFO: Processing buffer {"connection_id":152280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05c8ca8012d0a71c00705e0e8002200b615..."} 
[2026-08-11 15:58:32] local.INFO: Packet analysis {"connection_id":152280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 15:58:32] local.INFO: Extracted packet for processing {"connection_id":152280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 15:58:32] local.INFO: GPS Element Parsed {"raw_longitude":755659200,"raw_latitude":117825768,"longitude_deg":75.56592,"latitude_deg":11.7825768,"altitude":34,"angle":182,"satellites":21,"speed":3,"hex_longitude":"2d0a71c0","hex_latitude":"0705e0e8","is_valid_coordinates":true} 
[2026-08-11 15:58: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-08-11 15:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329668608001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27645308619980800,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752593749143539712,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786444025000,"timestamp_ms":1786444025000,"timestamp_seconds":1786444025,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05c8ca8"} 
[2026-08-11 15:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15:58: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 15:58:32] 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-08-11 15:58: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-08-11 15:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329668608001,"66":13722,"153":206,"94":10240,"24":3,"16":27645308619980800,"45":752593749143539712},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-11 15:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329668608001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:58:32] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-11 15:58:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27645308619980800,"km_value":27645308619980.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":752593749143539712,"description":"Unknown IO ID 45"} 
[2026-08-11 15:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329668608001,"power":13722,"unknown_153":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":752593749143539712}} 
[2026-08-11 15:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":152280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625591,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:58:32] local.INFO: GPS data processed {"connection_id":152280,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:58:32] local.INFO: Acknowledgment sent {"connection_id":152280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:58:47] local.INFO: TCP Data received {"connection_id":153598,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05d7320012d7d1c0005ec42000006013528..."} 
[2026-08-11 15:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05d7320012d7d1c0005ec42000006013528..."} 
[2026-08-11 15:58:47] local.INFO: Processing buffer {"connection_id":153598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05d7320012d7d1c0005ec42000006013528..."} 
[2026-08-11 15:58:47] local.INFO: Packet analysis {"connection_id":153598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:58:47] local.INFO: Extracted packet for processing {"connection_id":153598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:58:47] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":99369472,"longitude_deg":76.3173888,"latitude_deg":9.9369472,"altitude":6,"angle":309,"satellites":40,"speed":8,"hex_longitude":"2d7d1c00","hex_latitude":"05ec4200","is_valid_coordinates":true} 
[2026-08-11 15:58: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-08-11 15:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329685248001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117630529943109632,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685759969280,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786444084000,"timestamp_ms":1786444084000,"timestamp_seconds":1786444084,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05d7320"} 
[2026-08-11 15:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:58:47] 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-08-11 15:58: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-08-11 15:58:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4032637160,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:47] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4186095900891360256,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1438974158,"corrected_to":0} 
[2026-08-11 15:58:47] local.WARNING: Large IO value detected {"io_id":79,"raw_value":4160826749,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:47] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2147871805,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:47] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3895918592,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963310080,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:47] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:47] local.WARNING: Large IO value detected {"io_id":93,"raw_value":132857483886198789,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:47] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,197,87,24,241,157,16,232,159,107,45,64,7,41,10,66,103,63,8,99,192,1,240,97,227,236,4,113,205,13,79,20,104,38,239,49,198,2,161,5,117,93],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1438974158,"validated":0}]} 
[2026-08-11 15:58:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504760675638640640,"timestamp_seconds":504760675638640.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 15:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329685248001,"66":13515,"197":206,"87":13824,"24":8,"16":117630529943109632,"45":9015291685759969280},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-11 15:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329685248001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:58:47] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 15:58:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117630529943109632,"km_value":117630529943109.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685759969280,"description":"Unknown IO ID 45"} 
[2026-08-11 15:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329685248001,"power":13515,"unknown_197":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9015291685759969280}} 
[2026-08-11 15:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":153598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:58:47] local.INFO: GPS data processed {"connection_id":153598,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:58:47] local.INFO: Acknowledgment sent {"connection_id":153598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:58:50] local.INFO: TCP Data received {"connection_id":154983,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05b67b0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05b67b0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 15:58:50] local.INFO: Processing buffer {"connection_id":154983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05b67b0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 15:58:50] local.INFO: Packet analysis {"connection_id":154983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:58:50] local.INFO: Extracted packet for processing {"connection_id":154983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 15:58: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-08-11 15:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329645824001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:50] 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-08-11 15:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786443950000,"timestamp_ms":1786443950000,"timestamp_seconds":1786443950,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05b67b0"} 
[2026-08-11 15:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:58:50] 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-08-11 15:58: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 15:58:50] 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-08-11 15:58: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-08-11 15:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":154983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":154983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":154983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329645824001,"66":12156,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329645824001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:58:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 15:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329645824001,"power":12156,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 15:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":154983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:58:50] local.INFO: GPS data processed {"connection_id":154983,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:58:50] local.INFO: Acknowledgment sent {"connection_id":154983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:58:57] local.INFO: TCP Data received {"connection_id":154984,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05d1d30012d9acec005ae7658001000ab2d..."} 
[2026-08-11 15:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05d1d30012d9acec005ae7658001000ab2d..."} 
[2026-08-11 15:58:57] local.INFO: Processing buffer {"connection_id":154984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05d1d30012d9acec005ae7658001000ab2d..."} 
[2026-08-11 15:58:57] local.INFO: Packet analysis {"connection_id":154984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:58:57] local.INFO: Extracted packet for processing {"connection_id":154984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:58:57] local.INFO: GPS Element Parsed {"raw_longitude":765120192,"raw_latitude":95319640,"longitude_deg":76.5120192,"latitude_deg":9.531964,"altitude":16,"angle":171,"satellites":45,"speed":46,"hex_longitude":"2d9acec0","hex_latitude":"05ae7658","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329678336001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377756396751421440,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7291398141053394944,"note":"Value kept but may cause issues"} 
[2026-08-11 15:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786444062000,"timestamp_ms":1786444062000,"timestamp_seconds":1786444062,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05d1d30"} 
[2026-08-11 15:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 15:58: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-08-11 15: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-08-11 15:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:58:57] 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-08-11 15:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329678336001,"66":27974,"9":206,"83":17408,"24":46,"16":377756396751421440,"45":-7291398141053394944},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,83,24,16,45]} 
[2026-08-11 15:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329678336001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:58:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-11 15:58:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377756396751421440,"km_value":377756396751421.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7291398141053394944,"description":"Unknown IO ID 45"} 
[2026-08-11 15:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329678336001,"power":27974,"unknown_9":206,"unknown_83":17408,"ignition":46,"odometer":null,"unknown_45":-7291398141053394944}} 
[2026-08-11 15:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":154984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:58:57] local.INFO: GPS data processed {"connection_id":154984,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:58:57] local.INFO: Acknowledgment sent {"connection_id":154984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:59:03] local.INFO: TCP Data received {"connection_id":152280,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05df408012d0a510007057b180010010c16..."} 
[2026-08-11 15:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05df408012d0a510007057b180010010c16..."} 
[2026-08-11 15:59:03] local.INFO: Processing buffer {"connection_id":152280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05df408012d0a510007057b180010010c16..."} 
[2026-08-11 15:59:03] local.INFO: Packet analysis {"connection_id":152280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:59:03] local.INFO: Extracted packet for processing {"connection_id":152280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:59:03] local.INFO: GPS Element Parsed {"raw_longitude":755650816,"raw_latitude":117799704,"longitude_deg":75.5650816,"latitude_deg":11.7799704,"altitude":16,"angle":268,"satellites":22,"speed":10,"hex_longitude":"2d0a5100","hex_latitude":"07057b18","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329693440001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27646893462913024,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743938393603024896,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786444117000,"timestamp_ms":1786444117000,"timestamp_seconds":1786444117,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05df408"} 
[2026-08-11 15:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 15:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 15: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-08-11 15:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329693440001,"66":14428,"153":206,"94":10240,"24":10,"16":27646893462913024,"45":743938393603024896},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-11 15:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329693440001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:59:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-11 15:59:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27646893462913024,"km_value":27646893462913.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":743938393603024896,"description":"Unknown IO ID 45"} 
[2026-08-11 15:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329693440001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":743938393603024896}} 
[2026-08-11 15:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":152280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625595,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:59:04] local.INFO: GPS data processed {"connection_id":152280,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:59:04] local.INFO: Acknowledgment sent {"connection_id":152280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:59:10] local.INFO: TCP Data received {"connection_id":154985,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:59:10] local.INFO: Processing buffer {"connection_id":154985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:59:10] local.INFO: IMEI packet received {"connection_id":154985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 15:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":154985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:59:14] local.INFO: TCP Data received {"connection_id":154986,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:59:14] local.INFO: Processing buffer {"connection_id":154986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:59:14] local.INFO: IMEI packet received {"connection_id":154986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 15:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":154986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:59:15] local.INFO: TCP Data received {"connection_id":154985,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:59:15] local.INFO: Processing buffer {"connection_id":154985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 15:59:15] local.INFO: IMEI packet received {"connection_id":154985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 15:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":154985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:59:16] local.INFO: TCP Data received {"connection_id":154985,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05bb9b8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 15:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05bb9b8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 15:59:16] local.INFO: Processing buffer {"connection_id":154985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05bb9b8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 15:59:16] local.INFO: Packet analysis {"connection_id":154985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:59:16] local.INFO: Extracted packet for processing {"connection_id":154985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05b"} 
[2026-08-11 15:59:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329651200001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:16] 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-08-11 15:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786443971000,"timestamp_ms":1786443971000,"timestamp_seconds":1786443971,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05bb9b8"} 
[2026-08-11 15:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:59: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-08-11 15: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-11 15:59:16] 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-08-11 15: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-08-11 15:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329651200001,"66":12667,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329651200001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:59:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:59:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 15:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329651200001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 15:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":154985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:59:16] local.INFO: GPS data processed {"connection_id":154985,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:59:16] local.INFO: Acknowledgment sent {"connection_id":154985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:59:22] local.INFO: TCP Data received {"connection_id":152650,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:59:22] local.INFO: Processing buffer {"connection_id":152650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:59:22] local.INFO: IMEI packet received {"connection_id":152650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 15:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":152650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:59:26] local.INFO: TCP Data received {"connection_id":154986,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:59:26] local.INFO: Processing buffer {"connection_id":154986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 15:59:26] local.INFO: IMEI packet received {"connection_id":154986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 15:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":154986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:59:27] local.INFO: TCP Data received {"connection_id":152650,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:59:27] local.INFO: Processing buffer {"connection_id":152650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 15:59:27] local.INFO: IMEI packet received {"connection_id":152650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 15:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":152650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:59:27] local.INFO: TCP Data received {"connection_id":154986,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05d7708012d7d1b4005ec42700006012428..."} 
[2026-08-11 15:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05d7708012d7d1b4005ec42700006012428..."} 
[2026-08-11 15:59:27] local.INFO: Processing buffer {"connection_id":154986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05d7708012d7d1b4005ec42700006012428..."} 
[2026-08-11 15:59:27] local.INFO: Packet analysis {"connection_id":154986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:59:27] local.INFO: Extracted packet for processing {"connection_id":154986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763173696,"raw_latitude":99369584,"longitude_deg":76.3173696,"latitude_deg":9.9369584,"altitude":6,"angle":292,"satellites":40,"speed":10,"hex_longitude":"2d7d1b40","hex_latitude":"05ec4270","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329685504001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117630542828011520,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579527475200,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786444085000,"timestamp_ms":1786444085000,"timestamp_seconds":1786444085,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05d7708"} 
[2026-08-11 15:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:59: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-08-11 15: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-11 15:59: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-08-11 15: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-08-11 15:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":154986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":154986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":154986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329685504001,"66":13515,"197":206,"87":13824,"24":10,"16":117630542828011520,"45":9015080579527475200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-11 15:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329685504001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:59:27] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 15:59:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117630542828011520,"km_value":117630542828011.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579527475200,"description":"Unknown IO ID 45"} 
[2026-08-11 15:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329685504001,"power":13515,"unknown_197":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9015080579527475200}} 
[2026-08-11 15:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":154986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:59:27] local.INFO: GPS data processed {"connection_id":154986,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:59:27] local.INFO: Acknowledgment sent {"connection_id":154986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:59:28] local.INFO: TCP Data received {"connection_id":152650,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05df7f0012d0a500007057b500010011e16..."} 
[2026-08-11 15:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05df7f0012d0a500007057b500010011e16..."} 
[2026-08-11 15:59:28] local.INFO: Processing buffer {"connection_id":152650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05df7f0012d0a500007057b500010011e16..."} 
[2026-08-11 15:59:28] local.INFO: Packet analysis {"connection_id":152650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:59:28] local.INFO: Extracted packet for processing {"connection_id":152650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:59:28] local.INFO: GPS Element Parsed {"raw_longitude":755650560,"raw_latitude":117799760,"longitude_deg":75.565056,"latitude_deg":11.779976,"altitude":16,"angle":286,"satellites":22,"speed":8,"hex_longitude":"2d0a5000","hex_latitude":"07057b50","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329693952001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27646906347814912,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743375443649566720,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786444118000,"timestamp_ms":1786444118000,"timestamp_seconds":1786444118,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05df7f0"} 
[2026-08-11 15:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 15:59:28] 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-08-11 15: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-08-11 15:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329693952001,"66":14559,"153":206,"94":10240,"24":8,"16":27646906347814912,"45":743375443649566720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-11 15:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329693952001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:59:28] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-11 15:59:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27646906347814912,"km_value":27646906347814.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":743375443649566720,"description":"Unknown IO ID 45"} 
[2026-08-11 15:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329693952001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":743375443649566720}} 
[2026-08-11 15:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":152650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625598,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:59:28] local.INFO: GPS data processed {"connection_id":152650,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:59:28] local.INFO: Acknowledgment sent {"connection_id":152650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:59:28] local.INFO: TCP Data received {"connection_id":154986,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05d7af0012d7d1a0005ec42a00006011229..."} 
[2026-08-11 15:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05d7af0012d7d1a0005ec42a00006011229..."} 
[2026-08-11 15:59:28] local.INFO: Processing buffer {"connection_id":154986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05d7af0012d7d1a0005ec42a00006011229..."} 
[2026-08-11 15:59:28] local.INFO: Packet analysis {"connection_id":154986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:59:28] local.INFO: Extracted packet for processing {"connection_id":154986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763173376,"raw_latitude":99369632,"longitude_deg":76.3173376,"latitude_deg":9.9369632,"altitude":6,"angle":274,"satellites":41,"speed":13,"hex_longitude":"2d7d1a00","hex_latitude":"05ec42a0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329685760001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117630560007880704,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014869473294970880,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786444086000,"timestamp_ms":1786444086000,"timestamp_seconds":1786444086,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05d7af0"} 
[2026-08-11 15:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:59:28] 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-08-11 15: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-11 15:59:28] 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-08-11 15: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-08-11 15:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":154986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":154986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":154986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 15:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 15:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 15:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329685760001,"66":13515,"197":206,"87":13824,"24":13,"16":117630560007880704,"45":9014869473294970880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-11 15:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 15:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 15:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329685760001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:59:28] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 15:59:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 15:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117630560007880704,"km_value":117630560007880.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014869473294970880,"description":"Unknown IO ID 45"} 
[2026-08-11 15:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329685760001,"power":13515,"unknown_197":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9014869473294970880}} 
[2026-08-11 15:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":154986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:59:28] local.INFO: GPS data processed {"connection_id":154986,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:59:28] local.INFO: Acknowledgment sent {"connection_id":154986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:59:32] local.INFO: TCP Data received {"connection_id":153599,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:59:32] local.INFO: Processing buffer {"connection_id":153599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:59:32] local.INFO: IMEI packet received {"connection_id":153599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 15:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":153599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 15:59:33] local.INFO: TCP Data received {"connection_id":153599,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:59:33] local.INFO: Processing buffer {"connection_id":153599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:59:33] local.INFO: IMEI packet received {"connection_id":153599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":153599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:59:34] local.INFO: TCP Data received {"connection_id":153599,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:59:34] local.INFO: Processing buffer {"connection_id":153599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:59:34] local.INFO: IMEI packet received {"connection_id":153599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":153599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:59:38] local.INFO: TCP Data received {"connection_id":153599,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:59:38] local.INFO: Processing buffer {"connection_id":153599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 15:59:38] local.INFO: IMEI packet received {"connection_id":153599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 15:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":153599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 15:59:39] local.INFO: TCP Data received {"connection_id":153599,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05df408012d9b4f0005add5b80018008130..."} 
[2026-08-11 15:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05df408012d9b4f0005add5b80018008130..."} 
[2026-08-11 15:59:39] local.INFO: Processing buffer {"connection_id":153599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05df408012d9b4f0005add5b80018008130..."} 
[2026-08-11 15:59:39] local.INFO: Packet analysis {"connection_id":153599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:59:39] local.INFO: Extracted packet for processing {"connection_id":153599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 15:59:39] local.INFO: GPS Element Parsed {"raw_longitude":765153024,"raw_latitude":95278520,"longitude_deg":76.5153024,"latitude_deg":9.527852,"altitude":24,"angle":129,"satellites":48,"speed":37,"hex_longitude":"2d9b4f00","hex_latitude":"05add5b8","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329692928001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377759033861341184,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7258395200045715456,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786444117000,"timestamp_ms":1786444117000,"timestamp_seconds":1786444117,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05df408"} 
[2026-08-11 15:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 15:59: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-08-11 15: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-08-11 15:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 15:59: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-08-11 15:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 15:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 15:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329692928001,"66":27995,"139":206,"83":17408,"24":37,"16":377759033861341184,"45":-7258395200045715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,83,24,16,45]} 
[2026-08-11 15:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 15:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 15:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329692928001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:59:39] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-11 15:59:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 15:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377759033861341184,"km_value":377759033861341.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7258395200045715456,"description":"Unknown IO ID 45"} 
[2026-08-11 15:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329692928001,"power":27995,"unknown_139":206,"unknown_83":17408,"ignition":37,"odometer":null,"unknown_45":-7258395200045715456}} 
[2026-08-11 15:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":153599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:59:39] local.INFO: GPS data processed {"connection_id":153599,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:59:39] local.INFO: Acknowledgment sent {"connection_id":153599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:59:47] local.INFO: TCP Data received {"connection_id":154985,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05c0bc0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 15:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05c0bc0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 15:59:47] local.INFO: Processing buffer {"connection_id":154985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05c0bc0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 15:59:47] local.INFO: Packet analysis {"connection_id":154985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 15:59:47] local.INFO: Extracted packet for processing {"connection_id":154985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 15:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 15:59: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-08-11 15:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329656576001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:47] 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-08-11 15:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786443992000,"timestamp_ms":1786443992000,"timestamp_seconds":1786443992,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05c0bc0"} 
[2026-08-11 15:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:59: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-08-11 15:59: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-11 15:59:47] 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-08-11 15:59: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-08-11 15:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 15:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 15:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 15:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329656576001,"66":12689,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 15:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 15:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 15:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329656576001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:59:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 15:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 15:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 15:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329656576001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 15:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":154985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:59:47] local.INFO: GPS data processed {"connection_id":154985,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:59:47] local.INFO: Acknowledgment sent {"connection_id":154985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 15:59:59] local.INFO: TCP Data received {"connection_id":152650,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05e4228012d0a4ec007057bc00012015c16..."} 
[2026-08-11 15:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05e4228012d0a4ec007057bc00012015c16..."} 
[2026-08-11 15:59:59] local.INFO: Processing buffer {"connection_id":152650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05e4228012d0a4ec007057bc00012015c16..."} 
[2026-08-11 15:59:59] local.INFO: Packet analysis {"connection_id":152650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05e"} 
[2026-08-11 15:59:59] local.INFO: Extracted packet for processing {"connection_id":152650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05e"} 
[2026-08-11 15:59:59] local.INFO: GPS Element Parsed {"raw_longitude":755650240,"raw_latitude":117799872,"longitude_deg":75.565024,"latitude_deg":11.7799872,"altitude":18,"angle":348,"satellites":22,"speed":4,"hex_longitude":"2d0a4ec0","hex_latitude":"07057bc0","is_valid_coordinates":true} 
[2026-08-11 15: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-08-11 15:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329694208001,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27646923527684096,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743093968672870400,"note":"Value kept but may cause issues"} 
[2026-08-11 15:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 15:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786444137000,"timestamp_ms":1786444137000,"timestamp_seconds":1786444137,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05e4228"} 
[2026-08-11 15:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 15:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-11 15:59:59] 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-08-11 15: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-08-11 15:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 15:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 15:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 15:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 15:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 15:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 15:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 15:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329694208001,"66":14450,"177":206,"94":10240,"24":4,"16":27646923527684096,"45":743093968672870400},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 15:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 15:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 15:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329694208001,"description":"Unknown IO ID 0"} 
[2026-08-11 15:59:59] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 15:59:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 15:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27646923527684096,"km_value":27646923527684.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 15:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":743093968672870400,"description":"Unknown IO ID 45"} 
[2026-08-11 15:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329694208001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":743093968672870400}} 
[2026-08-11 15:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":152650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625602,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 15:59:59] local.INFO: GPS data processed {"connection_id":152650,"processed":1,"errors":0,"total":1} 
[2026-08-11 15:59:59] local.INFO: Acknowledgment sent {"connection_id":152650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:00:10] local.INFO: TCP Data received {"connection_id":152651,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:00:10] local.INFO: Processing buffer {"connection_id":152651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:00:10] local.INFO: IMEI packet received {"connection_id":152651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":152651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:00:12] local.INFO: TCP Data received {"connection_id":152281,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:00:12] local.INFO: Processing buffer {"connection_id":152281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:00:12] local.INFO: IMEI packet received {"connection_id":152281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":152281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:00:13] local.INFO: TCP Data received {"connection_id":152281,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:00:13] local.INFO: Processing buffer {"connection_id":152281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:00:13] local.INFO: IMEI packet received {"connection_id":152281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":152281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:00:15] local.INFO: TCP Data received {"connection_id":152281,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05f1130012d7be4c005ec3030000100bf2c..."} 
[2026-08-11 16:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05f1130012d7be4c005ec3030000100bf2c..."} 
[2026-08-11 16:00:15] local.INFO: Processing buffer {"connection_id":152281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05f1130012d7be4c005ec3030000100bf2c..."} 
[2026-08-11 16:00:15] local.INFO: Packet analysis {"connection_id":152281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:00:15] local.INFO: Extracted packet for processing {"connection_id":152281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:00:15] local.INFO: GPS Element Parsed {"raw_longitude":763094208,"raw_latitude":99364912,"longitude_deg":76.3094208,"latitude_deg":9.9364912,"altitude":1,"angle":191,"satellites":44,"speed":11,"hex_longitude":"2d7be4c0","hex_latitude":"05ec3030","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329712384001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117634378233806848,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471493025183744,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786444190000,"timestamp_ms":1786444190000,"timestamp_seconds":1786444190,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05f1130"} 
[2026-08-11 16:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:00:15] 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-08-11 16: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-11 16:00:15] 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-08-11 16: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-08-11 16:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329712384001,"66":13341,"198":206,"87":13824,"24":11,"16":117634378233806848,"45":8927471493025183744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 16:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329712384001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:00:15] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 16:00:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117634378233806848,"km_value":117634378233806.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471493025183744,"description":"Unknown IO ID 45"} 
[2026-08-11 16:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329712384001,"power":13341,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8927471493025183744}} 
[2026-08-11 16:00:15] local.INFO: TCP Data received {"connection_id":152651,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:00:15] local.INFO: Processing buffer {"connection_id":152651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:00:15] local.INFO: IMEI packet received {"connection_id":152651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":152651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":152281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:00:15] local.INFO: GPS data processed {"connection_id":152281,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:00:15] local.INFO: Acknowledgment sent {"connection_id":152281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:00:16] local.INFO: TCP Data received {"connection_id":152651,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05c5dc8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05c5dc8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:00:16] local.INFO: Processing buffer {"connection_id":152651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05c5dc8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:00:16] local.INFO: Packet analysis {"connection_id":152651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 16:00:16] local.INFO: Extracted packet for processing {"connection_id":152651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 16:00:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329661952001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:16] 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-08-11 16:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786444013000,"timestamp_ms":1786444013000,"timestamp_seconds":1786444013,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05c5dc8"} 
[2026-08-11 16:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:00: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-08-11 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 16:00:16] 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-08-11 16: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-08-11 16:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329661952001,"66":12689,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329661952001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:00:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:00:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329661952001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":152651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:00:16] local.INFO: GPS data processed {"connection_id":152651,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:00:16] local.INFO: Acknowledgment sent {"connection_id":152651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:00:19] local.INFO: TCP Data received {"connection_id":154987,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:00:19] local.INFO: Processing buffer {"connection_id":154987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:00:19] local.INFO: IMEI packet received {"connection_id":154987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":154987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:00:20] local.INFO: TCP Data received {"connection_id":154987,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:00:20] local.INFO: Processing buffer {"connection_id":154987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:00:20] local.INFO: IMEI packet received {"connection_id":154987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":154987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:00:22] local.INFO: TCP Data received {"connection_id":152281,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05f1518012d7be4c005ec2f00000100ab2c..."} 
[2026-08-11 16:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05f1518012d7be4c005ec2f00000100ab2c..."} 
[2026-08-11 16:00:22] local.INFO: Processing buffer {"connection_id":152281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05f1518012d7be4c005ec2f00000100ab2c..."} 
[2026-08-11 16:00:22] local.INFO: Packet analysis {"connection_id":152281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:00:22] local.INFO: Extracted packet for processing {"connection_id":152281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:00:22] local.INFO: GPS Element Parsed {"raw_longitude":763094208,"raw_latitude":99364608,"longitude_deg":76.3094208,"latitude_deg":9.9364608,"altitude":1,"angle":171,"satellites":44,"speed":10,"hex_longitude":"2d7be4c0","hex_latitude":"05ec2f00","is_valid_coordinates":true} 
[2026-08-11 16:00: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-08-11 16:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329712640001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117634391118708736,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471493025116160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786444191000,"timestamp_ms":1786444191000,"timestamp_seconds":1786444191,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05f1518"} 
[2026-08-11 16:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:00:22] 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-08-11 16:00: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":29,"data_length":795,"current_offset":136} 
[2026-08-11 16:00:22] 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-08-11 16:00: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-08-11 16:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329712640001,"66":13341,"198":206,"87":13824,"24":10,"16":117634391118708736,"45":8927471493025116160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 16:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329712640001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:00:22] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 16:00:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117634391118708736,"km_value":117634391118708.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471493025116160,"description":"Unknown IO ID 45"} 
[2026-08-11 16:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329712640001,"power":13341,"unknown_198":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8927471493025116160}} 
[2026-08-11 16:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":152281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:00:22] local.INFO: GPS data processed {"connection_id":152281,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:00:22] local.INFO: Acknowledgment sent {"connection_id":152281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:00:24] local.INFO: TCP Data received {"connection_id":154987,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:00:24] local.INFO: Processing buffer {"connection_id":154987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:00:24] local.INFO: IMEI packet received {"connection_id":154987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":154987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:00:25] local.INFO: TCP Data received {"connection_id":154987,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05dffc0012d9b588005adcfa00019007430..."} 
[2026-08-11 16:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05dffc0012d9b588005adcfa00019007430..."} 
[2026-08-11 16:00:25] local.INFO: Processing buffer {"connection_id":154987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05dffc0012d9b588005adcfa00019007430..."} 
[2026-08-11 16:00:25] local.INFO: Packet analysis {"connection_id":154987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 16:00:25] local.INFO: Extracted packet for processing {"connection_id":154987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 16:00:25] local.INFO: GPS Element Parsed {"raw_longitude":765155456,"raw_latitude":95276960,"longitude_deg":76.5155456,"latitude_deg":9.527696,"altitude":25,"angle":116,"satellites":48,"speed":38,"hex_longitude":"2d9b5880","hex_latitude":"05adcfa0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329693952001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377759171300294656,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7255580450279278592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786444120000,"timestamp_ms":1786444120000,"timestamp_seconds":1786444120,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05dffc0"} 
[2026-08-11 16:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 16:00:25] 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-08-11 16: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-08-11 16:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":154987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":154987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":154987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:00:25] 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-08-11 16:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329693952001,"66":27984,"139":206,"83":17408,"24":38,"16":377759171300294656,"45":-7255580450279278592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,83,24,16,45]} 
[2026-08-11 16:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329693952001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:00:25] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-11 16:00:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377759171300294656,"km_value":377759171300294.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7255580450279278592,"description":"Unknown IO ID 45"} 
[2026-08-11 16:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329693952001,"power":27984,"unknown_139":206,"unknown_83":17408,"ignition":38,"odometer":null,"unknown_45":-7255580450279278592}} 
[2026-08-11 16:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":154987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:00:25] local.INFO: GPS data processed {"connection_id":154987,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:00:25] local.INFO: Acknowledgment sent {"connection_id":154987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:00:27] local.INFO: TCP Data received {"connection_id":154988,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154988,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:00:27] local.INFO: Processing buffer {"connection_id":154988,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:00:27] local.INFO: IMEI packet received {"connection_id":154988,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":154988,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:00:32] local.INFO: TCP Data received {"connection_id":154988,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154988,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:00:32] local.INFO: Processing buffer {"connection_id":154988,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:00:32] local.INFO: IMEI packet received {"connection_id":154988,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":154988,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:00:33] local.INFO: TCP Data received {"connection_id":154988,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05e6168012d0a4c00070583d80012014f16..."} 
[2026-08-11 16:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05e6168012d0a4c00070583d80012014f16..."} 
[2026-08-11 16:00:33] local.INFO: Processing buffer {"connection_id":154988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05e6168012d0a4c00070583d80012014f16..."} 
[2026-08-11 16:00:33] local.INFO: Packet analysis {"connection_id":154988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05e"} 
[2026-08-11 16:00:33] local.INFO: Extracted packet for processing {"connection_id":154988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05e"} 
[2026-08-11 16:00:33] local.INFO: GPS Element Parsed {"raw_longitude":755649536,"raw_latitude":117801944,"longitude_deg":75.5649536,"latitude_deg":11.7801944,"altitude":18,"angle":335,"satellites":22,"speed":4,"hex_longitude":"2d0a4c00","hex_latitude":"070583d8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329699072001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27647026606899200,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742742124952010752,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786444145000,"timestamp_ms":1786444145000,"timestamp_seconds":1786444145,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05e6168"} 
[2026-08-11 16:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 16:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":154988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":154988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":154988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329699072001,"66":14515,"177":206,"94":10240,"24":4,"16":27647026606899200,"45":742742124952010752},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 16:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329699072001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:00:33] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 16:00:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27647026606899200,"km_value":27647026606899.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":742742124952010752,"description":"Unknown IO ID 45"} 
[2026-08-11 16:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329699072001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":742742124952010752}} 
[2026-08-11 16:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":154988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625607,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:00:33] local.INFO: GPS data processed {"connection_id":154988,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:00:33] local.INFO: Acknowledgment sent {"connection_id":154988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:00:34] local.INFO: TCP Data received {"connection_id":154988,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05eaf88012d0a4a40070586600012014c16..."} 
[2026-08-11 16:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05eaf88012d0a4a40070586600012014c16..."} 
[2026-08-11 16:00:34] local.INFO: Processing buffer {"connection_id":154988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05eaf88012d0a4a40070586600012014c16..."} 
[2026-08-11 16:00:34] local.INFO: Packet analysis {"connection_id":154988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05e"} 
[2026-08-11 16:00:34] local.INFO: Extracted packet for processing {"connection_id":154988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05e"} 
[2026-08-11 16:00:34] local.INFO: GPS Element Parsed {"raw_longitude":755649088,"raw_latitude":117802592,"longitude_deg":75.5649088,"latitude_deg":11.7802592,"altitude":18,"angle":332,"satellites":22,"speed":10,"hex_longitude":"2d0a4a40","hex_latitude":"07058660","is_valid_coordinates":true} 
[2026-08-11 16:00: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-08-11 16:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329701120001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27647069556572160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741968068766586880,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786444165000,"timestamp_ms":1786444165000,"timestamp_seconds":1786444165,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05eaf88"} 
[2026-08-11 16:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:00: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 16:00:34] 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-08-11 16:00: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-08-11 16:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":154988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":154988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":154988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329701120001,"66":14537,"177":206,"94":10240,"24":10,"16":27647069556572160,"45":741968068766586880},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 16:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329701120001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:00:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 16:00:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27647069556572160,"km_value":27647069556572.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":741968068766586880,"description":"Unknown IO ID 45"} 
[2026-08-11 16:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329701120001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":741968068766586880}} 
[2026-08-11 16:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":154988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625608,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:00:35] local.INFO: GPS data processed {"connection_id":154988,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:00:35] local.INFO: Acknowledgment sent {"connection_id":154988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:00:47] local.INFO: TCP Data received {"connection_id":152651,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05cafd0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05cafd0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:00:47] local.INFO: Processing buffer {"connection_id":152651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05cafd0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:00:47] local.INFO: Packet analysis {"connection_id":152651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 16:00:47] local.INFO: Extracted packet for processing {"connection_id":152651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05c"} 
[2026-08-11 16:00:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329667328001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:47] 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-08-11 16:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786444034000,"timestamp_ms":1786444034000,"timestamp_seconds":1786444034,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05cafd0"} 
[2026-08-11 16:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:00: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-08-11 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 16:00:47] 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-08-11 16:00: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-08-11 16:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329667328001,"66":12689,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329667328001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:00:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:00:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329667328001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":152651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:00:47] local.INFO: GPS data processed {"connection_id":152651,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:00:47] local.INFO: Acknowledgment sent {"connection_id":152651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:00:54] local.INFO: TCP Data received {"connection_id":152281,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05f1900012d7be54005ec2de8000200962c..."} 
[2026-08-11 16:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05f1900012d7be54005ec2de8000200962c..."} 
[2026-08-11 16:00:54] local.INFO: Processing buffer {"connection_id":152281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05f1900012d7be54005ec2de8000200962c..."} 
[2026-08-11 16:00:54] local.INFO: Packet analysis {"connection_id":152281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:00:54] local.INFO: Extracted packet for processing {"connection_id":152281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:00:54] local.INFO: GPS Element Parsed {"raw_longitude":763094336,"raw_latitude":99364328,"longitude_deg":76.3094336,"latitude_deg":9.9364328,"altitude":2,"angle":150,"satellites":44,"speed":10,"hex_longitude":"2d7be540","hex_latitude":"05ec2de8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329712896001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117634408298577920,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471493025038336,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786444192000,"timestamp_ms":1786444192000,"timestamp_seconds":1786444192,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05f1900"} 
[2026-08-11 16:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:00:54] 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-08-11 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-11 16:00:54] 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-08-11 16: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-08-11 16:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329712896001,"66":13276,"198":206,"87":13824,"24":10,"16":117634408298577920,"45":8927471493025038336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 16:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329712896001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:00:54] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 16:00:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117634408298577920,"km_value":117634408298577.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471493025038336,"description":"Unknown IO ID 45"} 
[2026-08-11 16:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329712896001,"power":13276,"unknown_198":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8927471493025038336}} 
[2026-08-11 16:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":152281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:00:54] local.INFO: GPS data processed {"connection_id":152281,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:00:54] local.INFO: Acknowledgment sent {"connection_id":152281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:00:56] local.INFO: TCP Data received {"connection_id":154987,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05f4bc8012d9c7f0005ad88c8001a006a30..."} 
[2026-08-11 16:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05f4bc8012d9c7f0005ad88c8001a006a30..."} 
[2026-08-11 16:00:56] local.INFO: Processing buffer {"connection_id":154987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05f4bc8012d9c7f0005ad88c8001a006a30..."} 
[2026-08-11 16:00:56] local.INFO: Packet analysis {"connection_id":154987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:00:56] local.INFO: Extracted packet for processing {"connection_id":154987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:00:56] local.INFO: GPS Element Parsed {"raw_longitude":765230848,"raw_latitude":95258824,"longitude_deg":76.5230848,"latitude_deg":9.5258824,"altitude":26,"angle":106,"satellites":48,"speed":40,"hex_longitude":"2d9c7f00","hex_latitude":"05ad88c8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329714176001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377763139850076160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7180145156525250560,"note":"Value kept but may cause issues"} 
[2026-08-11 16:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786444205000,"timestamp_ms":1786444205000,"timestamp_seconds":1786444205,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05f4bc8"} 
[2026-08-11 16:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:00: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-08-11 16: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-08-11 16:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":154987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":154987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":154987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:00:56] 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-08-11 16:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329714176001,"66":27974,"129":206,"83":17408,"24":40,"16":377763139850076160,"45":-7180145156525250560},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-08-11 16:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329714176001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:00:56] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 16:00:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377763139850076160,"km_value":377763139850076.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7180145156525250560,"description":"Unknown IO ID 45"} 
[2026-08-11 16:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329714176001,"power":27974,"unknown_129":206,"unknown_83":17408,"ignition":40,"odometer":null,"unknown_45":-7180145156525250560}} 
[2026-08-11 16:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":154987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:00:56] local.INFO: GPS data processed {"connection_id":154987,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:00:56] local.INFO: Acknowledgment sent {"connection_id":154987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:01:06] local.INFO: TCP Data received {"connection_id":154988,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0600b30012d09e98007056f88001100ec16..."} 
[2026-08-11 16:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0600b30012d09e98007056f88001100ec16..."} 
[2026-08-11 16:01:06] local.INFO: Processing buffer {"connection_id":154988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0600b30012d09e98007056f88001100ec16..."} 
[2026-08-11 16:01:06] local.INFO: Packet analysis {"connection_id":154988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:01:06] local.INFO: Extracted packet for processing {"connection_id":154988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:01:06] local.INFO: GPS Element Parsed {"raw_longitude":755624320,"raw_latitude":117796744,"longitude_deg":75.562432,"latitude_deg":11.7796744,"altitude":17,"angle":236,"satellites":22,"speed":7,"hex_longitude":"2d09e980","hex_latitude":"07056f88","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329728512001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27648418176303104,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714453889791864832,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786444254000,"timestamp_ms":1786444254000,"timestamp_seconds":1786444254,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0600b30"} 
[2026-08-11 16:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 16:01:06] 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-08-11 16: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-08-11 16:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":154988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":154988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":154988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329728512001,"66":14396,"177":206,"94":10240,"24":7,"16":27648418176303104,"45":714453889791864832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 16:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329728512001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:01:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 16:01:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27648418176303104,"km_value":27648418176303.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":714453889791864832,"description":"Unknown IO ID 45"} 
[2026-08-11 16:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329728512001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":714453889791864832}} 
[2026-08-11 16:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":154988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625612,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:01:06] local.INFO: GPS data processed {"connection_id":154988,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:01:06] local.INFO: Acknowledgment sent {"connection_id":154988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:01:09] local.INFO: TCP Data received {"connection_id":152282,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:01:09] local.INFO: Processing buffer {"connection_id":152282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:01:09] local.INFO: IMEI packet received {"connection_id":152282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":152282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:01:10] local.INFO: TCP Data received {"connection_id":152652,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:01:10] local.INFO: Processing buffer {"connection_id":152652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:01:10] local.INFO: IMEI packet received {"connection_id":152652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":152652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:01:14] local.INFO: TCP Data received {"connection_id":152282,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:01:14] local.INFO: Processing buffer {"connection_id":152282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:01:14] local.INFO: IMEI packet received {"connection_id":152282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":152282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:01:15] local.INFO: TCP Data received {"connection_id":152652,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:01:15] local.INFO: Processing buffer {"connection_id":152652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:01:15] local.INFO: IMEI packet received {"connection_id":152652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":152652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:01:16] local.INFO: TCP Data received {"connection_id":152652,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05d01d8012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05d01d8012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:01:16] local.INFO: Processing buffer {"connection_id":152652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05d01d8012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:01:16] local.INFO: Packet analysis {"connection_id":152652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 16:01:16] local.INFO: Extracted packet for processing {"connection_id":152652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 16:01:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:01: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-08-11 16:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329672704001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:16] 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-08-11 16:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786444055000,"timestamp_ms":1786444055000,"timestamp_seconds":1786444055,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05d01d8"} 
[2026-08-11 16:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:01: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-08-11 16:01: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 16:01:16] 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-08-11 16:01: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-08-11 16:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329672704001,"66":12613,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329672704001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:01:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:01:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329672704001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":152652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:01:16] local.INFO: GPS data processed {"connection_id":152652,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:01:16] local.INFO: Acknowledgment sent {"connection_id":152652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:01:19] local.INFO: TCP Data received {"connection_id":152653,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:01:19] local.INFO: Processing buffer {"connection_id":152653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:01:19] local.INFO: IMEI packet received {"connection_id":152653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":152653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:01:19] local.INFO: TCP Data received {"connection_id":152282,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05f1ce8012d7be68005ec2d10000300832c..."} 
[2026-08-11 16:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05f1ce8012d7be68005ec2d10000300832c..."} 
[2026-08-11 16:01:19] local.INFO: Processing buffer {"connection_id":152282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05f1ce8012d7be68005ec2d10000300832c..."} 
[2026-08-11 16:01:19] local.INFO: Packet analysis {"connection_id":152282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:01:19] local.INFO: Extracted packet for processing {"connection_id":152282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:01:19] local.INFO: GPS Element Parsed {"raw_longitude":763094656,"raw_latitude":99364112,"longitude_deg":76.3094656,"latitude_deg":9.9364112,"altitude":3,"angle":131,"satellites":44,"speed":11,"hex_longitude":"2d7be680","hex_latitude":"05ec2d10","is_valid_coordinates":true} 
[2026-08-11 16:01: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-08-11 16:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329713152001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117634425478447104,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927612230513321984,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786444193000,"timestamp_ms":1786444193000,"timestamp_seconds":1786444193,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05f1ce8"} 
[2026-08-11 16:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:01:19] 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-08-11 16:01: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":220,"data_length":795,"current_offset":136} 
[2026-08-11 16:01:19] 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-08-11 16:01: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-08-11 16:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329713152001,"66":13276,"198":206,"87":13824,"24":11,"16":117634425478447104,"45":8927612230513321984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 16:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329713152001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:01:19] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 16:01:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117634425478447104,"km_value":117634425478447.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927612230513321984,"description":"Unknown IO ID 45"} 
[2026-08-11 16:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329713152001,"power":13276,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8927612230513321984}} 
[2026-08-11 16:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":152282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:01:19] local.INFO: GPS data processed {"connection_id":152282,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:01:19] local.INFO: Acknowledgment sent {"connection_id":152282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:01:20] local.INFO: TCP Data received {"connection_id":152654,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:01:20] local.INFO: Processing buffer {"connection_id":152654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:01:20] local.INFO: IMEI packet received {"connection_id":152654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":152654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:01:21] local.INFO: TCP Data received {"connection_id":152654,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:01:21] local.INFO: Processing buffer {"connection_id":152654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:01:21] local.INFO: IMEI packet received {"connection_id":152654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":152654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:01:22] local.INFO: TCP Data received {"connection_id":152654,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:01:22] local.INFO: Processing buffer {"connection_id":152654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:01:22] local.INFO: IMEI packet received {"connection_id":152654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":152654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:01:22] local.INFO: TCP Data received {"connection_id":152654,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:01:22] local.INFO: Processing buffer {"connection_id":152654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:01:22] local.INFO: IMEI packet received {"connection_id":152654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":152654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:01:24] local.INFO: TCP Data received {"connection_id":152653,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:01:24] local.INFO: Processing buffer {"connection_id":152653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:01:24] local.INFO: IMEI packet received {"connection_id":152653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":152653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:01:25] local.INFO: TCP Data received {"connection_id":152653,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05f6338012d9c958005ad80900018007531..."} 
[2026-08-11 16:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05f6338012d9c958005ad80900018007531..."} 
[2026-08-11 16:01:25] local.INFO: Processing buffer {"connection_id":152653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05f6338012d9c958005ad80900018007531..."} 
[2026-08-11 16:01:25] local.INFO: Packet analysis {"connection_id":152653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:01:25] local.INFO: Extracted packet for processing {"connection_id":152653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:01:25] local.INFO: GPS Element Parsed {"raw_longitude":765236608,"raw_latitude":95256720,"longitude_deg":76.5236608,"latitude_deg":9.525672,"altitude":24,"angle":117,"satellites":49,"speed":40,"hex_longitude":"2d9c9580","hex_latitude":"05ad8090","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329716480001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377763431907852288,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7170012057364281344,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786444211000,"timestamp_ms":1786444211000,"timestamp_seconds":1786444211,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05f6338"} 
[2026-08-11 16:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 16:01:25] 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-08-11 16: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-08-11 16:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:01:25] 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-08-11 16:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329716480001,"66":27930,"129":206,"83":17408,"24":40,"16":377763431907852288,"45":-7170012057364281344},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-08-11 16:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329716480001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:01:25] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 16:01:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377763431907852288,"km_value":377763431907852.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7170012057364281344,"description":"Unknown IO ID 45"} 
[2026-08-11 16:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329716480001,"power":27930,"unknown_129":206,"unknown_83":17408,"ignition":40,"odometer":null,"unknown_45":-7170012057364281344}} 
[2026-08-11 16:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":152653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:01:25] local.INFO: GPS data processed {"connection_id":152653,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:01:25] local.INFO: Acknowledgment sent {"connection_id":152653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:01:47] local.INFO: TCP Data received {"connection_id":152652,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05d53e0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05d53e0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:01:47] local.INFO: Processing buffer {"connection_id":152652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05d53e0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:01:47] local.INFO: Packet analysis {"connection_id":152652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 16:01:47] local.INFO: Extracted packet for processing {"connection_id":152652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 16:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:01: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-08-11 16:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329678080001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:47] 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-08-11 16:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786444076000,"timestamp_ms":1786444076000,"timestamp_seconds":1786444076,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05d53e0"} 
[2026-08-11 16:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:01: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-08-11 16:01: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-11 16:01:47] 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-08-11 16:01: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-08-11 16:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329678080001,"66":12667,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329678080001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:01:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:01:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329678080001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":152652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:01:47] local.INFO: GPS data processed {"connection_id":152652,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:01:47] local.INFO: Acknowledgment sent {"connection_id":152652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:01:52] local.INFO: TCP Data received {"connection_id":152282,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0605180012d7bf54005ebfa80000600ac2d..."} 
[2026-08-11 16:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0605180012d7bf54005ebfa80000600ac2d..."} 
[2026-08-11 16:01:52] local.INFO: Processing buffer {"connection_id":152282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0605180012d7bf54005ebfa80000600ac2d..."} 
[2026-08-11 16:01:52] local.INFO: Packet analysis {"connection_id":152282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:01:52] local.INFO: Extracted packet for processing {"connection_id":152282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:01:52] local.INFO: GPS Element Parsed {"raw_longitude":763098432,"raw_latitude":99351168,"longitude_deg":76.3098432,"latitude_deg":9.9351168,"altitude":6,"angle":172,"satellites":45,"speed":21,"hex_longitude":"2d7bf540","hex_latitude":"05ebfa80","is_valid_coordinates":true} 
[2026-08-11 16:01: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-08-11 16:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329729024001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117635108378247168,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930426980279377920,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786444272000,"timestamp_ms":1786444272000,"timestamp_seconds":1786444272,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0605180"} 
[2026-08-11 16:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:01:52] 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-08-11 16:01: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":237,"data_length":795,"current_offset":136} 
[2026-08-11 16:01:52] 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-08-11 16:01: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-08-11 16:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329729024001,"66":13341,"198":206,"87":13824,"24":21,"16":117635108378247168,"45":8930426980279377920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 16:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329729024001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:01:52] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 16:01:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117635108378247168,"km_value":117635108378247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930426980279377920,"description":"Unknown IO ID 45"} 
[2026-08-11 16:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329729024001,"power":13341,"unknown_198":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8930426980279377920}} 
[2026-08-11 16:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":152282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:01:52] local.INFO: GPS data processed {"connection_id":152282,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:01:52] local.INFO: Acknowledgment sent {"connection_id":152282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:01:56] local.INFO: TCP Data received {"connection_id":152653,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05f72d8012d9ca40005ad7770001700802f..."} 
[2026-08-11 16:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05f72d8012d9ca40005ad7770001700802f..."} 
[2026-08-11 16:01:56] local.INFO: Processing buffer {"connection_id":152653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05f72d8012d9ca40005ad7770001700802f..."} 
[2026-08-11 16:01:56] local.INFO: Packet analysis {"connection_id":152653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:01:56] local.INFO: Extracted packet for processing {"connection_id":152653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:01:56] local.INFO: GPS Element Parsed {"raw_longitude":765240320,"raw_latitude":95254384,"longitude_deg":76.524032,"latitude_deg":9.5254384,"altitude":23,"angle":128,"satellites":47,"speed":43,"hex_longitude":"2d9ca400","hex_latitude":"05ad7770","is_valid_coordinates":true} 
[2026-08-11 16:01: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-08-11 16:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329718016001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377763646656217088,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7163678870388830208,"note":"Value kept but may cause issues"} 
[2026-08-11 16:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786444215000,"timestamp_ms":1786444215000,"timestamp_seconds":1786444215,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05f72d8"} 
[2026-08-11 16:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:01: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":26,"data_length":795,"current_offset":136} 
[2026-08-11 16:01:56] 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-08-11 16:01: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-08-11 16:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:01:56] 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-08-11 16:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329718016001,"66":28017,"129":206,"83":17408,"24":43,"16":377763646656217088,"45":-7163678870388830208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-08-11 16:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329718016001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:01:56] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 16:01:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377763646656217088,"km_value":377763646656217.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7163678870388830208,"description":"Unknown IO ID 45"} 
[2026-08-11 16:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329718016001,"power":28017,"unknown_129":206,"unknown_83":17408,"ignition":43,"odometer":null,"unknown_45":-7163678870388830208}} 
[2026-08-11 16:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":152653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:01:56] local.INFO: GPS data processed {"connection_id":152653,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:01:56] local.INFO: Acknowledgment sent {"connection_id":152653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:02:08] local.INFO: TCP Data received {"connection_id":152283,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:02:08] local.INFO: Processing buffer {"connection_id":152283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:02:08] local.INFO: IMEI packet received {"connection_id":152283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":152283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:02:10] local.INFO: TCP Data received {"connection_id":153600,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:02:10] local.INFO: Processing buffer {"connection_id":153600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:02:10] local.INFO: IMEI packet received {"connection_id":153600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":153600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:02:14] local.INFO: TCP Data received {"connection_id":152283,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:02:14] local.INFO: Processing buffer {"connection_id":152283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:02:14] local.INFO: IMEI packet received {"connection_id":152283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":152283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:02:15] local.INFO: TCP Data received {"connection_id":153600,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:02:15] local.INFO: Processing buffer {"connection_id":153600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:02:15] local.INFO: IMEI packet received {"connection_id":153600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":153600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:02:16] local.INFO: TCP Data received {"connection_id":153600,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05da5e8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05da5e8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:02:16] local.INFO: Processing buffer {"connection_id":153600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05da5e8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:02:16] local.INFO: Packet analysis {"connection_id":153600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 16:02:16] local.INFO: Extracted packet for processing {"connection_id":153600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 16:02:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329683456001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:16] 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-08-11 16:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786444097000,"timestamp_ms":1786444097000,"timestamp_seconds":1786444097,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05da5e8"} 
[2026-08-11 16:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:02: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-08-11 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-11 16:02:16] 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-08-11 16:02: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-08-11 16:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329683456001,"66":12645,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329683456001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:02:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:02:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329683456001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:02:16] local.INFO: TCP Data received {"connection_id":152283,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0608830012d7bfcc005ebd618000700a42a..."} 
[2026-08-11 16:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0608830012d7bfcc005ebd618000700a42a..."} 
[2026-08-11 16:02:16] local.INFO: Processing buffer {"connection_id":152283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0608830012d7bfcc005ebd618000700a42a..."} 
[2026-08-11 16:02:16] local.INFO: Packet analysis {"connection_id":152283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:02:16] local.INFO: Extracted packet for processing {"connection_id":152283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:02:16] local.INFO: GPS Element Parsed {"raw_longitude":763100352,"raw_latitude":99341848,"longitude_deg":76.3100352,"latitude_deg":9.9341848,"altitude":7,"angle":164,"satellites":42,"speed":30,"hex_longitude":"2d7bfcc0","hex_latitude":"05ebd618","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329733632001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117635567939747840,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932115830137323520,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786444286000,"timestamp_ms":1786444286000,"timestamp_seconds":1786444286,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0608830"} 
[2026-08-11 16:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16: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-08-11 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-11 16:02: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-08-11 16:02: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-08-11 16:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329733632001,"66":13374,"198":206,"87":13824,"24":30,"16":117635567939747840,"45":8932115830137323520},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 16:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329733632001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:02:16] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 16:02:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117635567939747840,"km_value":117635567939747.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932115830137323520,"description":"Unknown IO ID 45"} 
[2026-08-11 16:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329733632001,"power":13374,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8932115830137323520}} 
[2026-08-11 16:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":153600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:02:16] local.INFO: GPS data processed {"connection_id":153600,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:02:16] local.INFO: Acknowledgment sent {"connection_id":153600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":152283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:02:16] local.INFO: GPS data processed {"connection_id":152283,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:02:16] local.INFO: Acknowledgment sent {"connection_id":152283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:02:19] local.INFO: TCP Data received {"connection_id":154989,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:02:19] local.INFO: Processing buffer {"connection_id":154989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:02:19] local.INFO: IMEI packet received {"connection_id":154989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":154989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:02:24] local.INFO: TCP Data received {"connection_id":154989,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:02:24] local.INFO: Processing buffer {"connection_id":154989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:02:24] local.INFO: IMEI packet received {"connection_id":154989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":154989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:02:26] local.INFO: TCP Data received {"connection_id":154989,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05f8a48012d9cb68005ad66280016008b31..."} 
[2026-08-11 16:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05f8a48012d9cb68005ad66280016008b31..."} 
[2026-08-11 16:02:26] local.INFO: Processing buffer {"connection_id":154989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05f8a48012d9cb68005ad66280016008b31..."} 
[2026-08-11 16:02:26] local.INFO: Packet analysis {"connection_id":154989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:02:26] local.INFO: Extracted packet for processing {"connection_id":154989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:02:26] local.INFO: GPS Element Parsed {"raw_longitude":765245056,"raw_latitude":95249960,"longitude_deg":76.5245056,"latitude_deg":9.524996,"altitude":22,"angle":139,"satellites":49,"speed":42,"hex_longitude":"2d9cb680","hex_latitude":"05ad6628","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329719040001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377763955893862400,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7159597483227123712,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786444221000,"timestamp_ms":1786444221000,"timestamp_seconds":1786444221,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05f8a48"} 
[2026-08-11 16:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-11 16:02:26] 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-08-11 16: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-08-11 16:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":154989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":154989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":154989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:02:26] 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-08-11 16:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329719040001,"66":27984,"129":206,"83":17408,"24":42,"16":377763955893862400,"45":-7159597483227123712},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-08-11 16:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329719040001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:02:26] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 16:02:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377763955893862400,"km_value":377763955893862.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7159597483227123712,"description":"Unknown IO ID 45"} 
[2026-08-11 16:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329719040001,"power":27984,"unknown_129":206,"unknown_83":17408,"ignition":42,"odometer":null,"unknown_45":-7159597483227123712}} 
[2026-08-11 16:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":154989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:02:26] local.INFO: GPS data processed {"connection_id":154989,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:02:26] local.INFO: Acknowledgment sent {"connection_id":154989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:02:47] local.INFO: TCP Data received {"connection_id":153600,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05df7f0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05df7f0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:02:47] local.INFO: Processing buffer {"connection_id":153600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05df7f0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:02:47] local.INFO: Packet analysis {"connection_id":153600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 16:02:47] local.INFO: Extracted packet for processing {"connection_id":153600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05d"} 
[2026-08-11 16:02:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:02: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-08-11 16:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329688832001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:47] 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-08-11 16:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786444118000,"timestamp_ms":1786444118000,"timestamp_seconds":1786444118,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05df7f0"} 
[2026-08-11 16:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:02: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-08-11 16:02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 16:02:47] 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-08-11 16:02: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-08-11 16:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329688832001,"66":12602,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329688832001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:02:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:02:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329688832001,"power":12602,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":153600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:02:47] local.INFO: GPS data processed {"connection_id":153600,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:02:47] local.INFO: Acknowledgment sent {"connection_id":153600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:02:47] local.INFO: TCP Data received {"connection_id":152283,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff060baf8012d7c08c005ebb5200004009d29..."} 
[2026-08-11 16:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff060baf8012d7c08c005ebb5200004009d29..."} 
[2026-08-11 16:02:47] local.INFO: Processing buffer {"connection_id":152283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff060baf8012d7c08c005ebb5200004009d29..."} 
[2026-08-11 16:02:47] local.INFO: Packet analysis {"connection_id":152283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:02:47] local.INFO: Extracted packet for processing {"connection_id":152283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:02:47] local.INFO: GPS Element Parsed {"raw_longitude":763103424,"raw_latitude":99333408,"longitude_deg":76.3103424,"latitude_deg":9.9333408,"altitude":4,"angle":157,"satellites":41,"speed":22,"hex_longitude":"2d7c08c0","hex_latitude":"05ebb520","is_valid_coordinates":true} 
[2026-08-11 16:02: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-08-11 16:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329737216001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117636006026412032,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934226892460267520,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786444299000,"timestamp_ms":1786444299000,"timestamp_seconds":1786444299,"priority":1,"record_length":96,"hex_timestamp":"0000019ff060baf8"} 
[2026-08-11 16:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:02:47] 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-08-11 16:02: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":62,"data_length":795,"current_offset":136} 
[2026-08-11 16:02:47] 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-08-11 16:02: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-08-11 16:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329737216001,"66":13319,"198":206,"87":13824,"24":22,"16":117636006026412032,"45":8934226892460267520},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 16:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329737216001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:02:47] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 16:02:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117636006026412032,"km_value":117636006026412.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934226892460267520,"description":"Unknown IO ID 45"} 
[2026-08-11 16:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329737216001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8934226892460267520}} 
[2026-08-11 16:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":152283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:02:47] local.INFO: GPS data processed {"connection_id":152283,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:02:47] local.INFO: Acknowledgment sent {"connection_id":152283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:02:57] local.INFO: TCP Data received {"connection_id":154989,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05fa1b8012d9cc28005ad56180015009931..."} 
[2026-08-11 16:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05fa1b8012d9cc28005ad56180015009931..."} 
[2026-08-11 16:02:57] local.INFO: Processing buffer {"connection_id":154989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05fa1b8012d9cc28005ad56180015009931..."} 
[2026-08-11 16:02:57] local.INFO: Packet analysis {"connection_id":154989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:02:57] local.INFO: Extracted packet for processing {"connection_id":154989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:02:57] local.INFO: GPS Element Parsed {"raw_longitude":765248128,"raw_latitude":95245848,"longitude_deg":76.5248128,"latitude_deg":9.5245848,"altitude":21,"angle":153,"satellites":49,"speed":23,"hex_longitude":"2d9cc280","hex_latitude":"05ad5618","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329720576001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377764205001965568,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7154390196159109120,"note":"Value kept but may cause issues"} 
[2026-08-11 16:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786444227000,"timestamp_ms":1786444227000,"timestamp_seconds":1786444227,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05fa1b8"} 
[2026-08-11 16:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 16:02:57] 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-08-11 16: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-08-11 16:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:02:57] 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-08-11 16:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329720576001,"66":27887,"127":206,"83":17408,"24":23,"16":377764205001965568,"45":-7154390196159109120},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,45]} 
[2026-08-11 16:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329720576001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:02:57] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-11 16:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377764205001965568,"km_value":377764205001965.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7154390196159109120,"description":"Unknown IO ID 45"} 
[2026-08-11 16:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329720576001,"power":27887,"unknown_127":206,"unknown_83":17408,"ignition":23,"odometer":null,"unknown_45":-7154390196159109120}} 
[2026-08-11 16:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":154989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:02:57] local.INFO: GPS data processed {"connection_id":154989,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:02:57] local.INFO: Acknowledgment sent {"connection_id":154989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:03:08] local.INFO: TCP Data received {"connection_id":152284,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:03:08] local.INFO: Processing buffer {"connection_id":152284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:03:08] local.INFO: IMEI packet received {"connection_id":152284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":152284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:03:12] local.INFO: TCP Data received {"connection_id":152284,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:03:12] local.INFO: Processing buffer {"connection_id":152284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:03:12] local.INFO: IMEI packet received {"connection_id":152284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":152284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:03:12] local.INFO: TCP Data received {"connection_id":152284,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:03:12] local.INFO: Processing buffer {"connection_id":152284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:03:12] local.INFO: IMEI packet received {"connection_id":152284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":152284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:03:13] local.INFO: TCP Data received {"connection_id":152284,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:03:13] local.INFO: Processing buffer {"connection_id":152284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:03:13] local.INFO: IMEI packet received {"connection_id":152284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":152284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:03:14] local.INFO: TCP Data received {"connection_id":152284,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff060f978012d7c158005eb93c0000400a02c..."} 
[2026-08-11 16:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff060f978012d7c158005eb93c0000400a02c..."} 
[2026-08-11 16:03:14] local.INFO: Processing buffer {"connection_id":152284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff060f978012d7c158005eb93c0000400a02c..."} 
[2026-08-11 16:03:14] local.INFO: Packet analysis {"connection_id":152284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:03:14] local.INFO: Extracted packet for processing {"connection_id":152284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:03:14] local.INFO: GPS Element Parsed {"raw_longitude":763106688,"raw_latitude":99324864,"longitude_deg":76.3106688,"latitude_deg":9.9324864,"altitude":4,"angle":160,"satellites":44,"speed":19,"hex_longitude":"2d7c1580","hex_latitude":"05eb93c0","is_valid_coordinates":true} 
[2026-08-11 16:03: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-08-11 16:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329740544001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117636448408043520,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604592178634752,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786444315000,"timestamp_ms":1786444315000,"timestamp_seconds":1786444315,"priority":1,"record_length":96,"hex_timestamp":"0000019ff060f978"} 
[2026-08-11 16:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:03:14] 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-08-11 16:03: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":7,"data_length":795,"current_offset":136} 
[2026-08-11 16:03:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4032814160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:14] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2571555417302838272,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-08-11 16:03:14] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:14] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3221613602,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:14] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3960340480,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3961735168,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:14] local.WARNING: Large IO value detected {"io_id":221,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:14] local.WARNING: Large IO value detected {"io_id":95,"raw_value":-3134504045785530363,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:14] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,198,87,24,241,157,16,237,159,136,45,192,214,7,42,10,66,236,81,64,250,6,11,1,240,227,4,113,205,3,243,238,44,239,52,2,161,5,221,95],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-08-11 16:03:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288403175572373504,"timestamp_seconds":288403175572373.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329740544001,"66":12885,"198":206,"87":13824,"24":19,"16":117636448408043520,"45":8937604592178634752},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 16:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329740544001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:03:14] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 16:03:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117636448408043520,"km_value":117636448408043.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604592178634752,"description":"Unknown IO ID 45"} 
[2026-08-11 16:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329740544001,"power":12885,"unknown_198":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8937604592178634752}} 
[2026-08-11 16:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":152284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:03:14] local.INFO: GPS data processed {"connection_id":152284,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:03:14] local.INFO: Acknowledgment sent {"connection_id":152284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:03:15] local.INFO: TCP Data received {"connection_id":152285,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:03:15] local.INFO: Processing buffer {"connection_id":152285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:03:15] local.INFO: IMEI packet received {"connection_id":152285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":152285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:03:19] local.INFO: TCP Data received {"connection_id":152284,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0614798012d7c1e8005eb7078000400a72d..."} 
[2026-08-11 16:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0614798012d7c1e8005eb7078000400a72d..."} 
[2026-08-11 16:03:19] local.INFO: Processing buffer {"connection_id":152284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0614798012d7c1e8005eb7078000400a72d..."} 
[2026-08-11 16:03:19] local.INFO: Packet analysis {"connection_id":152284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff061"} 
[2026-08-11 16:03:19] local.INFO: Extracted packet for processing {"connection_id":152284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff061"} 
[2026-08-11 16:03:19] local.INFO: GPS Element Parsed {"raw_longitude":763108992,"raw_latitude":99315832,"longitude_deg":76.3108992,"latitude_deg":9.9315832,"altitude":4,"angle":167,"satellites":45,"speed":29,"hex_longitude":"2d7c1e80","hex_latitude":"05eb7078","is_valid_coordinates":true} 
[2026-08-11 16:03: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-08-11 16:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329744640001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117636903674576896,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941193398129508352,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786444335000,"timestamp_ms":1786444335000,"timestamp_seconds":1786444335,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0614798"} 
[2026-08-11 16:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:03:19] 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-08-11 16:03: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-11 16:03:19] 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-08-11 16:03: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-08-11 16:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329744640001,"66":13135,"198":206,"87":13824,"24":29,"16":117636903674576896,"45":8941193398129508352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 16:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329744640001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:03:19] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 16:03:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117636903674576896,"km_value":117636903674576.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941193398129508352,"description":"Unknown IO ID 45"} 
[2026-08-11 16:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329744640001,"power":13135,"unknown_198":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8941193398129508352}} 
[2026-08-11 16:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":152284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:03:19] local.INFO: GPS data processed {"connection_id":152284,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:03:19] local.INFO: Acknowledgment sent {"connection_id":152284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:03:20] local.INFO: TCP Data received {"connection_id":152285,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:03:20] local.INFO: Processing buffer {"connection_id":152285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:03:20] local.INFO: IMEI packet received {"connection_id":152285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":152285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:03:21] local.INFO: TCP Data received {"connection_id":152285,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05e49f8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05e49f8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:03:21] local.INFO: Processing buffer {"connection_id":152285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05e49f8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:03:21] local.INFO: Packet analysis {"connection_id":152285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05e"} 
[2026-08-11 16:03:21] local.INFO: Extracted packet for processing {"connection_id":152285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05e"} 
[2026-08-11 16:03:21] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:03: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-08-11 16:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329694208001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:21] 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-08-11 16:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786444139000,"timestamp_ms":1786444139000,"timestamp_seconds":1786444139,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05e49f8"} 
[2026-08-11 16:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:03: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-08-11 16:03: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":58,"data_length":795,"current_offset":136} 
[2026-08-11 16:03:21] 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-08-11 16:03: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-08-11 16:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329694208001,"66":12602,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329694208001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:03:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:03:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329694208001,"power":12602,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":152285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:03:21] local.INFO: GPS data processed {"connection_id":152285,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:03:21] local.INFO: Acknowledgment sent {"connection_id":152285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:03:24] local.INFO: TCP Data received {"connection_id":152656,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:03:24] local.INFO: Processing buffer {"connection_id":152656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:03:24] local.INFO: IMEI packet received {"connection_id":152656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":152656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:03:29] local.INFO: TCP Data received {"connection_id":152656,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:03:29] local.INFO: Processing buffer {"connection_id":152656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:03:29] local.INFO: IMEI packet received {"connection_id":152656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":152656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:03:30] local.INFO: TCP Data received {"connection_id":152656,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05ff3c0012d9cc34005ad5020001b009f30..."} 
[2026-08-11 16:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05ff3c0012d9cc34005ad5020001b009f30..."} 
[2026-08-11 16:03:30] local.INFO: Processing buffer {"connection_id":152656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05ff3c0012d9cc34005ad5020001b009f30..."} 
[2026-08-11 16:03:30] local.INFO: Packet analysis {"connection_id":152656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:03:30] local.INFO: Extracted packet for processing {"connection_id":152656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:03:30] local.INFO: GPS Element Parsed {"raw_longitude":765248320,"raw_latitude":95244320,"longitude_deg":76.524832,"latitude_deg":9.524432,"altitude":27,"angle":159,"satellites":48,"speed":2,"hex_longitude":"2d9cc340","hex_latitude":"05ad5020","is_valid_coordinates":true} 
[2026-08-11 16:03: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-08-11 16:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329722112001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377764286606344192,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7151012496439633920,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786444248000,"timestamp_ms":1786444248000,"timestamp_seconds":1786444248,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05ff3c0"} 
[2026-08-11 16:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:03: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 16:03:30] 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-08-11 16:03: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-08-11 16:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:03:30] 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-08-11 16:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329722112001,"66":27919,"127":206,"83":17408,"24":2,"16":377764286606344192,"45":-7151012496439633920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,45]} 
[2026-08-11 16:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329722112001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:03:30] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-11 16:03:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377764286606344192,"km_value":377764286606344.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7151012496439633920,"description":"Unknown IO ID 45"} 
[2026-08-11 16:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329722112001,"power":27919,"unknown_127":206,"unknown_83":17408,"ignition":2,"odometer":null,"unknown_45":-7151012496439633920}} 
[2026-08-11 16:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":152656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:03:30] local.INFO: GPS data processed {"connection_id":152656,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:03:30] local.INFO: Acknowledgment sent {"connection_id":152656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:03:32] local.INFO: TCP Data received {"connection_id":152656,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0603a10012d9cc44005ad4b00001b00ad31..."} 
[2026-08-11 16:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0603a10012d9cc44005ad4b00001b00ad31..."} 
[2026-08-11 16:03:32] local.INFO: Processing buffer {"connection_id":152656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0603a10012d9cc44005ad4b00001b00ad31..."} 
[2026-08-11 16:03:32] local.INFO: Packet analysis {"connection_id":152656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:03:32] local.INFO: Extracted packet for processing {"connection_id":152656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:03:32] local.INFO: GPS Element Parsed {"raw_longitude":765248576,"raw_latitude":95243008,"longitude_deg":76.5248576,"latitude_deg":9.5243008,"altitude":27,"angle":173,"satellites":49,"speed":7,"hex_longitude":"2d9cc440","hex_latitude":"05ad4b00","is_valid_coordinates":true} 
[2026-08-11 16:03: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-08-11 16:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329727488001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377764355325820928,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7150801390207492096,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786444266000,"timestamp_ms":1786444266000,"timestamp_seconds":1786444266,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0603a10"} 
[2026-08-11 16:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:03: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-08-11 16:03: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-08-11 16:03: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-08-11 16:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:03:32] 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-08-11 16:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329727488001,"66":27876,"127":206,"83":17408,"24":7,"16":377764355325820928,"45":-7150801390207492096},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,45]} 
[2026-08-11 16:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329727488001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:03:32] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-11 16:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377764355325820928,"km_value":377764355325820.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7150801390207492096,"description":"Unknown IO ID 45"} 
[2026-08-11 16:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329727488001,"power":27876,"unknown_127":206,"unknown_83":17408,"ignition":7,"odometer":null,"unknown_45":-7150801390207492096}} 
[2026-08-11 16:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":152656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:03:32] local.INFO: GPS data processed {"connection_id":152656,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:03:32] local.INFO: Acknowledgment sent {"connection_id":152656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:03:37] local.INFO: TCP Data received {"connection_id":152285,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05e9c00012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05e9c00012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:03:37] local.INFO: Processing buffer {"connection_id":152285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05e9c00012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:03:37] local.INFO: Packet analysis {"connection_id":152285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05e"} 
[2026-08-11 16:03:37] local.INFO: Extracted packet for processing {"connection_id":152285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05e"} 
[2026-08-11 16:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329699584001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:37] 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-08-11 16:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786444160000,"timestamp_ms":1786444160000,"timestamp_seconds":1786444160,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05e9c00"} 
[2026-08-11 16:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:03:37] 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-08-11 16: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-11 16:03:37] 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-08-11 16: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-08-11 16:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329699584001,"66":12548,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329699584001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:03:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329699584001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":152285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:03:37] local.INFO: GPS data processed {"connection_id":152285,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:03:37] local.INFO: Acknowledgment sent {"connection_id":152285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:03:50] local.INFO: TCP Data received {"connection_id":152284,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0618230012d7c254005eb4e90000200ac2c..."} 
[2026-08-11 16:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0618230012d7c254005eb4e90000200ac2c..."} 
[2026-08-11 16:03:50] local.INFO: Processing buffer {"connection_id":152284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0618230012d7c254005eb4e90000200ac2c..."} 
[2026-08-11 16:03:50] local.INFO: Packet analysis {"connection_id":152284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff061"} 
[2026-08-11 16:03:50] local.INFO: Extracted packet for processing {"connection_id":152284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff061"} 
[2026-08-11 16:03:50] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":99307152,"longitude_deg":76.311072,"latitude_deg":9.9307152,"altitude":2,"angle":172,"satellites":44,"speed":8,"hex_longitude":"2d7c2540","hex_latitude":"05eb4e90","is_valid_coordinates":true} 
[2026-08-11 16:03: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-08-11 16:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329749760001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117637333171306496,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943726672917592064,"note":"Value kept but may cause issues"} 
[2026-08-11 16:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786444350000,"timestamp_ms":1786444350000,"timestamp_seconds":1786444350,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0618230"} 
[2026-08-11 16:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:03:50] 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-08-11 16:03: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-11 16:03:50] 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-08-11 16:03: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-08-11 16:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329749760001,"66":13080,"198":206,"87":13824,"24":8,"16":117637333171306496,"45":8943726672917592064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-11 16:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329749760001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:03:50] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 16:03:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117637333171306496,"km_value":117637333171306.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943726672917592064,"description":"Unknown IO ID 45"} 
[2026-08-11 16:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329749760001,"power":13080,"unknown_198":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8943726672917592064}} 
[2026-08-11 16:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":152284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:03:50] local.INFO: GPS data processed {"connection_id":152284,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:03:50] local.INFO: Acknowledgment sent {"connection_id":152284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:04:03] local.INFO: TCP Data received {"connection_id":152656,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0608c18012d9cc70005ad3268001900af31..."} 
[2026-08-11 16:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0608c18012d9cc70005ad3268001900af31..."} 
[2026-08-11 16:04:03] local.INFO: Processing buffer {"connection_id":152656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0608c18012d9cc70005ad3268001900af31..."} 
[2026-08-11 16:04:03] local.INFO: Packet analysis {"connection_id":152656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:04:03] local.INFO: Extracted packet for processing {"connection_id":152656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:04:03] local.INFO: GPS Element Parsed {"raw_longitude":765249280,"raw_latitude":95236712,"longitude_deg":76.524928,"latitude_deg":9.5236712,"altitude":25,"angle":175,"satellites":49,"speed":16,"hex_longitude":"2d9cc700","hex_latitude":"05ad3268","is_valid_coordinates":true} 
[2026-08-11 16:04: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-08-11 16:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329732096001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377764664563466240,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7150519915231117312,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786444287000,"timestamp_ms":1786444287000,"timestamp_seconds":1786444287,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0608c18"} 
[2026-08-11 16:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:04: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":228,"data_length":795,"current_offset":136} 
[2026-08-11 16:04:03] 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-08-11 16:04: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-08-11 16:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:04:03] 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-08-11 16:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329732096001,"66":27995,"128":206,"83":17408,"24":16,"16":377764664563466240,"45":-7150519915231117312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-08-11 16:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329732096001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:04:03] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-11 16:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377764664563466240,"km_value":377764664563466.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7150519915231117312,"description":"Unknown IO ID 45"} 
[2026-08-11 16:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329732096001,"power":27995,"unknown_128":206,"unknown_83":17408,"ignition":16,"odometer":null,"unknown_45":-7150519915231117312}} 
[2026-08-11 16:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":152656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:04:03] local.INFO: GPS data processed {"connection_id":152656,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:04:03] local.INFO: Acknowledgment sent {"connection_id":152656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:04:08] local.INFO: TCP Data received {"connection_id":154990,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:04:08] local.INFO: Processing buffer {"connection_id":154990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:04:08] local.INFO: IMEI packet received {"connection_id":154990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":154990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:04:10] local.INFO: TCP Data received {"connection_id":153601,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:04:10] local.INFO: Processing buffer {"connection_id":153601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:04:10] local.INFO: IMEI packet received {"connection_id":153601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":153601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:04:10] local.INFO: TCP Data received {"connection_id":154990,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:04:10] local.INFO: Processing buffer {"connection_id":154990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:04:10] local.INFO: IMEI packet received {"connection_id":154990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":154990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:04:11] local.INFO: TCP Data received {"connection_id":153601,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:04:11] local.INFO: Processing buffer {"connection_id":153601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:04:11] local.INFO: IMEI packet received {"connection_id":153601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":153601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:04:14] local.INFO: TCP Data received {"connection_id":154990,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:04:14] local.INFO: Processing buffer {"connection_id":154990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:04:14] local.INFO: IMEI packet received {"connection_id":154990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":154990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:04:15] local.INFO: TCP Data received {"connection_id":154990,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff062d608012d7c3e4005eac998000200a92b..."} 
[2026-08-11 16:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff062d608012d7c3e4005eac998000200a92b..."} 
[2026-08-11 16:04:15] local.INFO: Processing buffer {"connection_id":154990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff062d608012d7c3e4005eac998000200a92b..."} 
[2026-08-11 16:04:15] local.INFO: Packet analysis {"connection_id":154990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff062"} 
[2026-08-11 16:04:15] local.INFO: Extracted packet for processing {"connection_id":154990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff062"} 
[2026-08-11 16:04:15] local.INFO: GPS Element Parsed {"raw_longitude":763117120,"raw_latitude":99273112,"longitude_deg":76.311712,"latitude_deg":9.9273112,"altitude":2,"angle":169,"satellites":43,"speed":10,"hex_longitude":"2d7c3e40","hex_latitude":"05eac998","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329773312001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117639068338094080,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952452397185593344,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786444437000,"timestamp_ms":1786444437000,"timestamp_seconds":1786444437,"priority":1,"record_length":96,"hex_timestamp":"0000019ff062d608"} 
[2026-08-11 16:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:04:15] 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-08-11 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 16:04:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4032950160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:15] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2862037584678169600,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309278414,"corrected_to":0} 
[2026-08-11 16:04:15] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422286,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:15] local.WARNING: Large IO value detected {"io_id":161,"raw_value":4013686784,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:15] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57788175095846710,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:15] local.WARNING: Large IO value detected {"io_id":97,"raw_value":-2591820290683420667,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:15] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,10,87,24,241,157,16,239,159,92,45,232,3,66,34,64,6,5,30,128,1,240,187,227,235,4,113,205,21,51,88,43,2,161,7,97],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1309278414,"validated":0}]} 
[2026-08-11 16:04:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144317687194976256,"timestamp_seconds":144317687194976.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":154990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":154990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":154990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329773312001,"66":12743,"10":206,"87":13824,"24":10,"16":117639068338094080,"45":8952452397185593344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-11 16:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329773312001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:04:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 16:04:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117639068338094080,"km_value":117639068338094.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952452397185593344,"description":"Unknown IO ID 45"} 
[2026-08-11 16:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329773312001,"power":12743,"unknown_10":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8952452397185593344}} 
[2026-08-11 16:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":154990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:04:15] local.INFO: GPS data processed {"connection_id":154990,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:04:15] local.INFO: Acknowledgment sent {"connection_id":154990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:04:15] local.INFO: TCP Data received {"connection_id":153601,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:04:15] local.INFO: Processing buffer {"connection_id":153601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:04:15] local.INFO: IMEI packet received {"connection_id":153601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":153601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:04:16] local.INFO: TCP Data received {"connection_id":153601,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05eee08012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05eee08012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:04:16] local.INFO: Processing buffer {"connection_id":153601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05eee08012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:04:16] local.INFO: Packet analysis {"connection_id":153601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05e"} 
[2026-08-11 16:04:16] local.INFO: Extracted packet for processing {"connection_id":153601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05e"} 
[2026-08-11 16:04:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:04: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-08-11 16:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329704960001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:16] 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-08-11 16:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786444181000,"timestamp_ms":1786444181000,"timestamp_seconds":1786444181,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05eee08"} 
[2026-08-11 16:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:04: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-08-11 16:04: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 16:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4032606160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:16] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":61441,"corrected_to":0} 
[2026-08-11 16:04:16] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2584477696,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3999793214,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-11 16:04:16] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:16] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,154,159,73,45,192,238,62,43,10,66,247,41,165,1,240,101,227,31,4,113,205,104,42,239,49,2,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":247,"original":61441,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-11 16:04:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883267747479552,"timestamp_seconds":4467883267747479.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329704960001,"66":12580,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329704960001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:04:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:04:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329704960001,"power":12580,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":153601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:04:16] local.INFO: GPS data processed {"connection_id":153601,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:04:16] local.INFO: Acknowledgment sent {"connection_id":153601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:04:20] local.INFO: TCP Data received {"connection_id":153601,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05f4010012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05f4010012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:04:20] local.INFO: Processing buffer {"connection_id":153601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05f4010012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:04:20] local.INFO: Packet analysis {"connection_id":153601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:04:20] local.INFO: Extracted packet for processing {"connection_id":153601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:04:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:04: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-08-11 16:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329710336001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:20] 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-08-11 16:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786444202000,"timestamp_ms":1786444202000,"timestamp_seconds":1786444202,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05f4010"} 
[2026-08-11 16:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:04:20] 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-08-11 16:04: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-11 16:04:20] 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-08-11 16:04: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-08-11 16:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329710336001,"66":12591,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329710336001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:04:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:04:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329710336001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":153601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:04:20] local.INFO: GPS data processed {"connection_id":153601,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:04:20] local.INFO: Acknowledgment sent {"connection_id":153601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:04:24] local.INFO: TCP Data received {"connection_id":154992,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:04:24] local.INFO: Processing buffer {"connection_id":154992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:04:24] local.INFO: IMEI packet received {"connection_id":154992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":154992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:04:29] local.INFO: TCP Data received {"connection_id":154992,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:04:29] local.INFO: Processing buffer {"connection_id":154992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:04:29] local.INFO: IMEI packet received {"connection_id":154992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":154992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:04:30] local.INFO: TCP Data received {"connection_id":154992,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff060de20012d9ccb4005ad0fc8001800ae30..."} 
[2026-08-11 16:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff060de20012d9ccb4005ad0fc8001800ae30..."} 
[2026-08-11 16:04:30] local.INFO: Processing buffer {"connection_id":154992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff060de20012d9ccb4005ad0fc8001800ae30..."} 
[2026-08-11 16:04:30] local.INFO: Packet analysis {"connection_id":154992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:04:30] local.INFO: Extracted packet for processing {"connection_id":154992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:04:30] local.INFO: GPS Element Parsed {"raw_longitude":765250368,"raw_latitude":95227848,"longitude_deg":76.5250368,"latitude_deg":9.5227848,"altitude":24,"angle":174,"satellites":48,"speed":13,"hex_longitude":"2d9ccb40","hex_latitude":"05ad0fc8","is_valid_coordinates":true} 
[2026-08-11 16:04: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-08-11 16:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329737472001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377765098355163136,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7149745859046774784,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786444308000,"timestamp_ms":1786444308000,"timestamp_seconds":1786444308,"priority":1,"record_length":96,"hex_timestamp":"0000019ff060de20"} 
[2026-08-11 16:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:04: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 16:04:30] 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-08-11 16:04: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-08-11 16:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":154992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":154992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":154992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:04:30] 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-08-11 16:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329737472001,"66":27887,"128":206,"83":17408,"24":13,"16":377765098355163136,"45":-7149745859046774784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-08-11 16:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329737472001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:04:30] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-11 16:04:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377765098355163136,"km_value":377765098355163.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7149745859046774784,"description":"Unknown IO ID 45"} 
[2026-08-11 16:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329737472001,"power":27887,"unknown_128":206,"unknown_83":17408,"ignition":13,"odometer":null,"unknown_45":-7149745859046774784}} 
[2026-08-11 16:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":154992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:04:30] local.INFO: GPS data processed {"connection_id":154992,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:04:30] local.INFO: Acknowledgment sent {"connection_id":154992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:04:46] local.INFO: TCP Data received {"connection_id":154990,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff062ddd8012d7c3ec005eac7d80003008e2b..."} 
[2026-08-11 16:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff062ddd8012d7c3ec005eac7d80003008e2b..."} 
[2026-08-11 16:04:46] local.INFO: Processing buffer {"connection_id":154990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff062ddd8012d7c3ec005eac7d80003008e2b..."} 
[2026-08-11 16:04:46] local.INFO: Packet analysis {"connection_id":154990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff062"} 
[2026-08-11 16:04:46] local.INFO: Extracted packet for processing {"connection_id":154990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff062"} 
[2026-08-11 16:04:46] local.INFO: GPS Element Parsed {"raw_longitude":763117248,"raw_latitude":99272664,"longitude_deg":76.3117248,"latitude_deg":9.9272664,"altitude":3,"angle":142,"satellites":43,"speed":8,"hex_longitude":"2d7c3ec0","hex_latitude":"05eac7d8","is_valid_coordinates":true} 
[2026-08-11 16:04: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-08-11 16:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329775872001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117639089812930560,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952663503417219072,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786444439000,"timestamp_ms":1786444439000,"timestamp_seconds":1786444439,"priority":1,"record_length":96,"hex_timestamp":"0000019ff062ddd8"} 
[2026-08-11 16:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:04:46] 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-08-11 16:04: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-11 16:04:46] 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-08-11 16:04: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-08-11 16:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329775872001,"66":13048,"10":206,"87":13824,"24":8,"16":117639089812930560,"45":8952663503417219072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-11 16:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329775872001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:04:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 16:04:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117639089812930560,"km_value":117639089812930.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952663503417219072,"description":"Unknown IO ID 45"} 
[2026-08-11 16:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329775872001,"power":13048,"unknown_10":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8952663503417219072}} 
[2026-08-11 16:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":154990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:04:46] local.INFO: GPS data processed {"connection_id":154990,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:04:46] local.INFO: Acknowledgment sent {"connection_id":154990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:04:52] local.INFO: TCP Data received {"connection_id":153601,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05f9218012d1968c0071fee68003e011c2c..."} 
[2026-08-11 16:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05f9218012d1968c0071fee68003e011c2c..."} 
[2026-08-11 16:04:52] local.INFO: Processing buffer {"connection_id":153601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05f9218012d1968c0071fee68003e011c2c..."} 
[2026-08-11 16:04:52] local.INFO: Packet analysis {"connection_id":153601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:04:52] local.INFO: Extracted packet for processing {"connection_id":153601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:04:52] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:04: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-08-11 16:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329715712001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:04: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-08-11 16:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786444223000,"timestamp_ms":1786444223000,"timestamp_seconds":1786444223,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05f9218"} 
[2026-08-11 16:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:04: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-08-11 16:04: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 16:04:52] 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-08-11 16:04: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-08-11 16:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329715712001,"66":12558,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329715712001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:04:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:04:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329715712001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":153601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:04:52] local.INFO: GPS data processed {"connection_id":153601,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:04:52] local.INFO: Acknowledgment sent {"connection_id":153601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:05:01] local.INFO: TCP Data received {"connection_id":154992,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff060de20012d9ccb4005ad0fc8001800ae30..."} 
[2026-08-11 16:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff060de20012d9ccb4005ad0fc8001800ae30..."} 
[2026-08-11 16:05:01] local.INFO: Processing buffer {"connection_id":154992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff060de20012d9ccb4005ad0fc8001800ae30..."} 
[2026-08-11 16:05:01] local.INFO: Packet analysis {"connection_id":154992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:05:01] local.INFO: Extracted packet for processing {"connection_id":154992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:05:01] local.INFO: GPS Element Parsed {"raw_longitude":765250368,"raw_latitude":95227848,"longitude_deg":76.5250368,"latitude_deg":9.5227848,"altitude":24,"angle":174,"satellites":48,"speed":13,"hex_longitude":"2d9ccb40","hex_latitude":"05ad0fc8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329742848001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377765098355163136,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7148549590398023680,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786444308000,"timestamp_ms":1786444308000,"timestamp_seconds":1786444308,"priority":1,"record_length":96,"hex_timestamp":"0000019ff060de20"} 
[2026-08-11 16:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 16:05:01] 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-08-11 16: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-08-11 16:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":154992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":154992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":154992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:05:01] 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-08-11 16:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329742848001,"66":27887,"128":206,"83":17408,"24":13,"16":377765098355163136,"45":-7148549590398023680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-08-11 16:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329742848001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:05:01] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-11 16:05:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377765098355163136,"km_value":377765098355163.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7148549590398023680,"description":"Unknown IO ID 45"} 
[2026-08-11 16:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329742848001,"power":27887,"unknown_128":206,"unknown_83":17408,"ignition":13,"odometer":null,"unknown_45":-7148549590398023680}} 
[2026-08-11 16:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":154992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:05:01] local.INFO: GPS data processed {"connection_id":154992,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:05:01] local.INFO: Acknowledgment sent {"connection_id":154992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:05:10] local.INFO: TCP Data received {"connection_id":152286,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:05:10] local.INFO: Processing buffer {"connection_id":152286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:05:10] local.INFO: IMEI packet received {"connection_id":152286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":152286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:05:13] local.INFO: TCP Data received {"connection_id":152287,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:05:13] local.INFO: Processing buffer {"connection_id":152287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:05:13] local.INFO: IMEI packet received {"connection_id":152287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":152287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:05:13] local.INFO: TCP Data received {"connection_id":152287,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:05:13] local.INFO: Processing buffer {"connection_id":152287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:05:13] local.INFO: IMEI packet received {"connection_id":152287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":152287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:05:13] local.INFO: TCP Data received {"connection_id":152286,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:05:13] local.INFO: Processing buffer {"connection_id":152286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:05:13] local.INFO: IMEI packet received {"connection_id":152286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":152286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:05:14] local.INFO: TCP Data received {"connection_id":152286,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff05fe420012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff05fe420012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:05:14] local.INFO: Processing buffer {"connection_id":152286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff05fe420012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:05:14] local.INFO: Packet analysis {"connection_id":152286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:05:14] local.INFO: Extracted packet for processing {"connection_id":152286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff05f"} 
[2026-08-11 16:05:14] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:05: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-08-11 16:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329721088001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:14] 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-08-11 16:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786444244000,"timestamp_ms":1786444244000,"timestamp_seconds":1786444244,"priority":1,"record_length":96,"hex_timestamp":"0000019ff05fe420"} 
[2026-08-11 16:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:05:14] 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-08-11 16:05: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-11 16:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4032669160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:14] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2584477696,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743780087066216,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:14] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3999793214,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-11 16:05:14] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":4026608921,"corrected_to":0} 
[2026-08-11 16:05:14] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:14] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:14] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:14] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,154,159,64,45,192,238,62,38,10,66,41,156,1,240,4,227,31,113,205,247,104,239,49,2,7,120,76,206],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":247,"original":4026608921,"validated":0}]} 
[2026-08-11 16:05:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883280632381440,"timestamp_seconds":4467883280632381.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329721088001,"66":12558,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329721088001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:05:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:05:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329721088001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":152286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:05:14] local.INFO: GPS data processed {"connection_id":152286,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:05:14] local.INFO: Acknowledgment sent {"connection_id":152286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:05:18] local.INFO: TCP Data received {"connection_id":152287,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:05:18] local.INFO: Processing buffer {"connection_id":152287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:05:18] local.INFO: IMEI packet received {"connection_id":152287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":152287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:05:20] local.INFO: TCP Data received {"connection_id":154993,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:05:20] local.INFO: Processing buffer {"connection_id":154993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:05:20] local.INFO: IMEI packet received {"connection_id":154993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":154993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:05:20] local.INFO: TCP Data received {"connection_id":154993,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:05:20] local.INFO: Processing buffer {"connection_id":154993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:05:20] local.INFO: IMEI packet received {"connection_id":154993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":154993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:05:20] local.INFO: TCP Data received {"connection_id":152287,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff062e1c0012d7c3f4005eac7480004007c2c..."} 
[2026-08-11 16:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff062e1c0012d7c3f4005eac7480004007c2c..."} 
[2026-08-11 16:05:20] local.INFO: Processing buffer {"connection_id":152287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff062e1c0012d7c3f4005eac7480004007c2c..."} 
[2026-08-11 16:05:20] local.INFO: Packet analysis {"connection_id":152287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff062"} 
[2026-08-11 16:05:20] local.INFO: Extracted packet for processing {"connection_id":152287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff062"} 
[2026-08-11 16:05:20] local.INFO: GPS Element Parsed {"raw_longitude":763117376,"raw_latitude":99272520,"longitude_deg":76.3117376,"latitude_deg":9.927252,"altitude":4,"angle":124,"satellites":44,"speed":7,"hex_longitude":"2d7c3f40","hex_latitude":"05eac748","is_valid_coordinates":true} 
[2026-08-11 16:05: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-08-11 16:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329776384001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117639098402865152,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952804240905459712,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786444440000,"timestamp_ms":1786444440000,"timestamp_seconds":1786444440,"priority":1,"record_length":96,"hex_timestamp":"0000019ff062e1c0"} 
[2026-08-11 16:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:05:20] 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-08-11 16:05: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 16:05:20] 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-08-11 16:05: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-08-11 16:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329776384001,"66":13319,"10":206,"87":13824,"24":7,"16":117639098402865152,"45":8952804240905459712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-11 16:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329776384001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:05:20] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 16:05:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117639098402865152,"km_value":117639098402865.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952804240905459712,"description":"Unknown IO ID 45"} 
[2026-08-11 16:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329776384001,"power":13319,"unknown_10":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8952804240905459712}} 
[2026-08-11 16:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":152287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:05:20] local.INFO: GPS data processed {"connection_id":152287,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:05:20] local.INFO: Acknowledgment sent {"connection_id":152287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:05:22] local.INFO: TCP Data received {"connection_id":154993,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:05:22] local.INFO: Processing buffer {"connection_id":154993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:05:22] local.INFO: IMEI packet received {"connection_id":154993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":154993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:05:23] local.INFO: TCP Data received {"connection_id":154993,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0613028012d9ccc4005ad0488001a00af30..."} 
[2026-08-11 16:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0613028012d9ccc4005ad0488001a00af30..."} 
[2026-08-11 16:05:23] local.INFO: Processing buffer {"connection_id":154993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0613028012d9ccc4005ad0488001a00af30..."} 
[2026-08-11 16:05:23] local.INFO: Packet analysis {"connection_id":154993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff061"} 
[2026-08-11 16:05:23] local.INFO: Extracted packet for processing {"connection_id":154993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff061"} 
[2026-08-11 16:05:23] local.INFO: GPS Element Parsed {"raw_longitude":765250624,"raw_latitude":95224968,"longitude_deg":76.5250624,"latitude_deg":9.5224968,"altitude":26,"angle":175,"satellites":48,"speed":0,"hex_longitude":"2d9ccc40","hex_latitude":"05ad0488","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329742848001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377765240089083904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7148549590398023680,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786444329000,"timestamp_ms":1786444329000,"timestamp_seconds":1786444329,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0613028"} 
[2026-08-11 16:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 16:05:23] 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-08-11 16: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-08-11 16:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":154993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":154993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":154993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:05:23] 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-08-11 16:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329742848001,"66":28017,"128":206,"83":17408,"24":0,"16":377765240089083904,"45":-7148549590398023680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-08-11 16:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329742848001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:05:23] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-11 16:05:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377765240089083904,"km_value":377765240089083.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7148549590398023680,"description":"Unknown IO ID 45"} 
[2026-08-11 16:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329742848001,"power":28017,"unknown_128":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7148549590398023680}} 
[2026-08-11 16:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":154993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:05:23] local.INFO: GPS data processed {"connection_id":154993,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:05:23] local.INFO: Acknowledgment sent {"connection_id":154993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:05:45] local.INFO: TCP Data received {"connection_id":152286,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0603628012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0603628012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:05:45] local.INFO: Processing buffer {"connection_id":152286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0603628012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:05:45] local.INFO: Packet analysis {"connection_id":152286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:05:45] local.INFO: Extracted packet for processing {"connection_id":152286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:05:45] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:05: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-08-11 16:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329726464001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:45] 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-08-11 16:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786444265000,"timestamp_ms":1786444265000,"timestamp_seconds":1786444265,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0603628"} 
[2026-08-11 16:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:05:45] 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-08-11 16:05: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-11 16:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4032690160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743780087066216,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3999793214,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-11 16:05:45] local.WARNING: Large IO value detected {"io_id":73,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:45] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2584477696,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:45] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:45] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:45] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,154,159,146,45,192,238,62,44,10,66,64,38,1,240,36,227,31,4,113,205,73,104,43,239,49,2,41,7,120,76,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-11 16:05:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883272042446848,"timestamp_seconds":4467883272042447.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329726464001,"66":12558,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329726464001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:05:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:05:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329726464001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":152286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:05:45] local.INFO: GPS data processed {"connection_id":152286,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:05:45] local.INFO: Acknowledgment sent {"connection_id":152286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:05:52] local.INFO: TCP Data received {"connection_id":152287,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff062e5a8012d7c3fc005eac7200004005d2c..."} 
[2026-08-11 16:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff062e5a8012d7c3fc005eac7200004005d2c..."} 
[2026-08-11 16:05:52] local.INFO: Processing buffer {"connection_id":152287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff062e5a8012d7c3fc005eac7200004005d2c..."} 
[2026-08-11 16:05:52] local.INFO: Packet analysis {"connection_id":152287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff062"} 
[2026-08-11 16:05:52] local.INFO: Extracted packet for processing {"connection_id":152287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff062"} 
[2026-08-11 16:05:52] local.INFO: GPS Element Parsed {"raw_longitude":763117504,"raw_latitude":99272480,"longitude_deg":76.3117504,"latitude_deg":9.927248,"altitude":4,"angle":93,"satellites":44,"speed":7,"hex_longitude":"2d7c3fc0","hex_latitude":"05eac720","is_valid_coordinates":true} 
[2026-08-11 16:05: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-08-11 16:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329776640001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117639106992799744,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952944978393778176,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786444441000,"timestamp_ms":1786444441000,"timestamp_seconds":1786444441,"priority":1,"record_length":96,"hex_timestamp":"0000019ff062e5a8"} 
[2026-08-11 16:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:05:52] 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-08-11 16:05: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":7,"data_length":795,"current_offset":136} 
[2026-08-11 16:05:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4032962160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:52] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3900178435,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309278414,"corrected_to":0} 
[2026-08-11 16:05:52] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391950,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:52] local.WARNING: Large IO value detected {"io_id":161,"raw_value":4016766976,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:52] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57788175095846710,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:52] local.WARNING: Large IO value detected {"io_id":98,"raw_value":785879429845237765,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:52] local.WARNING: Large IO value detected {"io_id":235,"raw_value":1137158927395073280,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:52] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,10,87,24,241,157,16,240,159,221,45,192,199,3,43,66,214,64,201,2,174,128,1,7,227,239,234,4,113,205,6,34,61,120,51,161,5,18,187,98,235],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1309278414,"validated":0}]} 
[2026-08-11 16:05:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288366904572575744,"timestamp_seconds":288366904572575.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329776640001,"66":13319,"10":206,"87":13824,"24":7,"16":117639106992799744,"45":8952944978393778176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-11 16:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329776640001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:05:52] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 16:05:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117639106992799744,"km_value":117639106992799.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952944978393778176,"description":"Unknown IO ID 45"} 
[2026-08-11 16:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329776640001,"power":13319,"unknown_10":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8952944978393778176}} 
[2026-08-11 16:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":152287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:05:52] local.INFO: GPS data processed {"connection_id":152287,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:05:52] local.INFO: Acknowledgment sent {"connection_id":152287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:05:54] local.INFO: TCP Data received {"connection_id":154993,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff063cc20012d9cf08005ac0188001a00722f..."} 
[2026-08-11 16:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff063cc20012d9cf08005ac0188001a00722f..."} 
[2026-08-11 16:05:54] local.INFO: Processing buffer {"connection_id":154993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff063cc20012d9cf08005ac0188001a00722f..."} 
[2026-08-11 16:05:54] local.INFO: Packet analysis {"connection_id":154993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff063"} 
[2026-08-11 16:05:54] local.INFO: Extracted packet for processing {"connection_id":154993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff063"} 
[2026-08-11 16:05:54] local.INFO: GPS Element Parsed {"raw_longitude":765259904,"raw_latitude":95158664,"longitude_deg":76.5259904,"latitude_deg":9.5158664,"altitude":26,"angle":114,"satellites":47,"speed":43,"hex_longitude":"2d9cf080","hex_latitude":"05ac0188","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329789696001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377768886516318208,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147353321763680256,"note":"Value kept but may cause issues"} 
[2026-08-11 16:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786444500000,"timestamp_ms":1786444500000,"timestamp_seconds":1786444500,"priority":1,"record_length":96,"hex_timestamp":"0000019ff063cc20"} 
[2026-08-11 16:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-11 16:05:54] 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-08-11 16: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-08-11 16:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":154993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":154993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":154993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:05:54] 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-08-11 16:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329789696001,"66":28028,"138":206,"83":17408,"24":43,"16":377768886516318208,"45":-7147353321763680256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-08-11 16:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329789696001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:05:54] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-11 16:05:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377768886516318208,"km_value":377768886516318.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147353321763680256,"description":"Unknown IO ID 45"} 
[2026-08-11 16:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329789696001,"power":28028,"unknown_138":206,"unknown_83":17408,"ignition":43,"odometer":null,"unknown_45":-7147353321763680256}} 
[2026-08-11 16:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":154993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:05:54] local.INFO: GPS data processed {"connection_id":154993,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:05:54] local.INFO: Acknowledgment sent {"connection_id":154993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:06:08] local.INFO: TCP Data received {"connection_id":154994,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:06:08] local.INFO: Processing buffer {"connection_id":154994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:06:08] local.INFO: IMEI packet received {"connection_id":154994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":154994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:06:10] local.INFO: TCP Data received {"connection_id":153603,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:06:10] local.INFO: Processing buffer {"connection_id":153603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:06:10] local.INFO: IMEI packet received {"connection_id":153603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":153603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:06:13] local.INFO: TCP Data received {"connection_id":154994,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:06:13] local.INFO: Processing buffer {"connection_id":154994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:06:13] local.INFO: IMEI packet received {"connection_id":154994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":154994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:06:14] local.INFO: TCP Data received {"connection_id":154994,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff062f548012d7c420005eac7280006004c2b..."} 
[2026-08-11 16:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff062f548012d7c420005eac7280006004c2b..."} 
[2026-08-11 16:06:14] local.INFO: Processing buffer {"connection_id":154994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff062f548012d7c420005eac7280006004c2b..."} 
[2026-08-11 16:06:14] local.INFO: Packet analysis {"connection_id":154994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff062"} 
[2026-08-11 16:06:14] local.INFO: Extracted packet for processing {"connection_id":154994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff062"} 
[2026-08-11 16:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763118080,"raw_latitude":99272488,"longitude_deg":76.311808,"latitude_deg":9.9272488,"altitude":6,"angle":76,"satellites":43,"speed":5,"hex_longitude":"2d7c4200","hex_latitude":"05eac728","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329776896001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117639132762603520,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953085715882123264,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786444445000,"timestamp_ms":1786444445000,"timestamp_seconds":1786444445,"priority":1,"record_length":96,"hex_timestamp":"0000019ff062f548"} 
[2026-08-11 16:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:06:14] 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-08-11 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 16:06:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4032963160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:14] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3614441474,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309278414,"corrected_to":0} 
[2026-08-11 16:06:14] local.WARNING: Large IO value detected {"io_id":92,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:14] local.WARNING: Large IO value detected {"io_id":161,"raw_value":4022468608,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:14] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57788175095846710,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:14] local.WARNING: Large IO value detected {"io_id":98,"raw_value":2193254313398927365,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:14] local.WARNING: Large IO value detected {"io_id":235,"raw_value":596726972111793408,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:14] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,10,87,24,241,157,16,240,159,225,45,64,199,4,44,66,221,192,3,43,214,1,227,234,113,205,92,62,120,239,52,2,161,5,19,187,98,235],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1309278414,"validated":0}]} 
[2026-08-11 16:06:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288332819712114688,"timestamp_seconds":288332819712114.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329776896001,"66":13222,"10":206,"87":13824,"24":5,"16":117639132762603520,"45":8953085715882123264},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-11 16:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329776896001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:06:14] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-11 16:06:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117639132762603520,"km_value":117639132762603.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953085715882123264,"description":"Unknown IO ID 45"} 
[2026-08-11 16:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329776896001,"power":13222,"unknown_10":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8953085715882123264}} 
[2026-08-11 16:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":154994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:06:14] local.INFO: GPS data processed {"connection_id":154994,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:06:14] local.INFO: Acknowledgment sent {"connection_id":154994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:06:15] local.INFO: TCP Data received {"connection_id":153603,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:06:15] local.INFO: Processing buffer {"connection_id":153603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:06:15] local.INFO: IMEI packet received {"connection_id":153603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":153603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:06:16] local.INFO: TCP Data received {"connection_id":153603,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0608830012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0608830012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:06:16] local.INFO: Processing buffer {"connection_id":153603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0608830012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:06:16] local.INFO: Packet analysis {"connection_id":153603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:06:16] local.INFO: Extracted packet for processing {"connection_id":153603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff060"} 
[2026-08-11 16:06:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329731840001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:16] 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-08-11 16:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786444286000,"timestamp_ms":1786444286000,"timestamp_seconds":1786444286,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0608830"} 
[2026-08-11 16:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:06: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-08-11 16: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-11 16:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4032711160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743780087066216,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3999793214,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-11 16:06:16] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2584477696,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:16] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:16] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:16] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,154,159,228,45,192,238,62,42,10,66,146,44,64,1,240,47,227,31,4,113,205,156,104,41,239,49,2,7,120,76,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-11 16:06:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883276337414144,"timestamp_seconds":4467883276337414.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329731840001,"66":12537,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329731840001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:06:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:06:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329731840001,"power":12537,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":153603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:06:16] local.INFO: GPS data processed {"connection_id":153603,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:06:16] local.INFO: Acknowledgment sent {"connection_id":153603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:06:19] local.INFO: TCP Data received {"connection_id":153604,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:06:19] local.INFO: Processing buffer {"connection_id":153604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:06:19] local.INFO: IMEI packet received {"connection_id":153604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":153604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:06:22] local.INFO: TCP Data received {"connection_id":153604,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:06:22] local.INFO: Processing buffer {"connection_id":153604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:06:22] local.INFO: IMEI packet received {"connection_id":153604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":153604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:06:23] local.INFO: TCP Data received {"connection_id":153604,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff063eb60012d9d0e8005abf070001700812e..."} 
[2026-08-11 16:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff063eb60012d9d0e8005abf070001700812e..."} 
[2026-08-11 16:06:23] local.INFO: Processing buffer {"connection_id":153604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff063eb60012d9d0e8005abf070001700812e..."} 
[2026-08-11 16:06:23] local.INFO: Packet analysis {"connection_id":153604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff063"} 
[2026-08-11 16:06:23] local.INFO: Extracted packet for processing {"connection_id":153604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff063"} 
[2026-08-11 16:06:23] local.INFO: GPS Element Parsed {"raw_longitude":765267584,"raw_latitude":95154288,"longitude_deg":76.5267584,"latitude_deg":9.5154288,"altitude":23,"angle":129,"satellites":46,"speed":45,"hex_longitude":"2d9d0e80","hex_latitude":"05abf070","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329792000001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377769311718080512,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7138064647533262848,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786444508000,"timestamp_ms":1786444508000,"timestamp_seconds":1786444508,"priority":1,"record_length":96,"hex_timestamp":"0000019ff063eb60"} 
[2026-08-11 16:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-11 16:06:23] 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-08-11 16: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-08-11 16:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:06:23] 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-08-11 16:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329792000001,"66":27984,"138":206,"83":17408,"24":45,"16":377769311718080512,"45":-7138064647533262848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-08-11 16:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329792000001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:06:23] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-11 16:06:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377769311718080512,"km_value":377769311718080.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7138064647533262848,"description":"Unknown IO ID 45"} 
[2026-08-11 16:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329792000001,"power":27984,"unknown_138":206,"unknown_83":17408,"ignition":45,"odometer":null,"unknown_45":-7138064647533262848}} 
[2026-08-11 16:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":153604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:06:23] local.INFO: GPS data processed {"connection_id":153604,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:06:23] local.INFO: Acknowledgment sent {"connection_id":153604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:06:37] local.INFO: TCP Data received {"connection_id":154995,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:06:37] local.INFO: Processing buffer {"connection_id":154995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:06:37] local.INFO: IMEI packet received {"connection_id":154995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":154995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:06:40] local.INFO: TCP Data received {"connection_id":154995,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:06:40] local.INFO: Processing buffer {"connection_id":154995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:06:40] local.INFO: IMEI packet received {"connection_id":154995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":154995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:06:41] local.INFO: TCP Data received {"connection_id":154995,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff064ca08012d0b17400704fb080019006a16..."} 
[2026-08-11 16:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff064ca08012d0b17400704fb080019006a16..."} 
[2026-08-11 16:06:41] local.INFO: Processing buffer {"connection_id":154995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff064ca08012d0b17400704fb080019006a16..."} 
[2026-08-11 16:06:41] local.INFO: Packet analysis {"connection_id":154995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff064"} 
[2026-08-11 16:06:41] local.INFO: Extracted packet for processing {"connection_id":154995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff064"} 
[2026-08-11 16:06:41] local.INFO: GPS Element Parsed {"raw_longitude":755701568,"raw_latitude":117766920,"longitude_deg":75.5701568,"latitude_deg":11.776692,"altitude":25,"angle":106,"satellites":22,"speed":13,"hex_longitude":"2d0b1740","hex_latitude":"0704fb08","is_valid_coordinates":true} 
[2026-08-11 16:06: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-08-11 16:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329807872001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27655547822014464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797559376657993728,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786444565000,"timestamp_ms":1786444565000,"timestamp_seconds":1786444565,"priority":1,"record_length":96,"hex_timestamp":"0000019ff064ca08"} 
[2026-08-11 16:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:06: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 16:06:41] 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-08-11 16:06: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-08-11 16:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":154995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":154995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":154995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329807872001,"66":14341,"177":206,"94":10240,"24":13,"16":27655547822014464,"45":797559376657993728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 16:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329807872001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:06:41] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 16:06:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27655547822014464,"km_value":27655547822014.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":797559376657993728,"description":"Unknown IO ID 45"} 
[2026-08-11 16:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329807872001,"power":14341,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":797559376657993728}} 
[2026-08-11 16:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":154995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625649,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:06:41] local.INFO: GPS data processed {"connection_id":154995,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:06:41] local.INFO: Acknowledgment sent {"connection_id":154995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:06:45] local.INFO: TCP Data received {"connection_id":154995,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff064d1d8012d0b1a000704fa800019005e16..."} 
[2026-08-11 16:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff064d1d8012d0b1a000704fa800019005e16..."} 
[2026-08-11 16:06:45] local.INFO: Processing buffer {"connection_id":154995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff064d1d8012d0b1a000704fa800019005e16..."} 
[2026-08-11 16:06:45] local.INFO: Packet analysis {"connection_id":154995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff064"} 
[2026-08-11 16:06:45] local.INFO: Extracted packet for processing {"connection_id":154995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff064"} 
[2026-08-11 16:06:45] local.INFO: GPS Element Parsed {"raw_longitude":755702272,"raw_latitude":117766784,"longitude_deg":75.5702272,"latitude_deg":11.7766784,"altitude":25,"angle":94,"satellites":22,"speed":15,"hex_longitude":"2d0b1a00","hex_latitude":"0704fa80","is_valid_coordinates":true} 
[2026-08-11 16:06: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-08-11 16:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329808640001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27655582181752832,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":799177857774061568,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786444567000,"timestamp_ms":1786444567000,"timestamp_seconds":1786444567,"priority":1,"record_length":96,"hex_timestamp":"0000019ff064d1d8"} 
[2026-08-11 16:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:06: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 16:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6978298937,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4033101160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:45] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84735644932703473,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:45] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504021595193344,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:45] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2008088782,"corrected_to":0} 
[2026-08-11 16:06:45] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3221685489,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:45] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3003174263,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:45] local.WARNING: Large IO value detected {"io_id":8,"raw_value":9851903726849024,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:45] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,177,94,24,241,157,16,64,159,190,45,128,251,25,22,10,66,192,248,29,123,1,240,28,227,63,4,113,205,37,69,160,120,239,56,2,98,7,35,9,206,8],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2008088782,"validated":0}]} 
[2026-08-11 16:06:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801556493670875136,"timestamp_seconds":1801556493670875.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":154995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":154995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":154995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329808640001,"66":13722,"177":206,"94":10240,"24":15,"16":27655582181752832,"45":799177857774061568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-11 16:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329808640001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:06:45] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-11 16:06:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27655582181752832,"km_value":27655582181752.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":799177857774061568,"description":"Unknown IO ID 45"} 
[2026-08-11 16:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329808640001,"power":13722,"unknown_177":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":799177857774061568}} 
[2026-08-11 16:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":154995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625650,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:06:45] local.INFO: GPS data processed {"connection_id":154995,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:06:45] local.INFO: Acknowledgment sent {"connection_id":154995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:06:46] local.INFO: TCP Data received {"connection_id":154994,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0650c70012d7cf44005eaecf00008004d28..."} 
[2026-08-11 16:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0650c70012d7cf44005eaecf00008004d28..."} 
[2026-08-11 16:06:46] local.INFO: Processing buffer {"connection_id":154994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0650c70012d7cf44005eaecf00008004d28..."} 
[2026-08-11 16:06:46] local.INFO: Packet analysis {"connection_id":154994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:06:46] local.INFO: Extracted packet for processing {"connection_id":154994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:06:46] local.INFO: GPS Element Parsed {"raw_longitude":763163712,"raw_latitude":99282160,"longitude_deg":76.3163712,"latitude_deg":9.928216,"altitude":8,"angle":77,"satellites":40,"speed":0,"hex_longitude":"2d7cf440","hex_latitude":"05eaecf0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329807616001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117641391915401216,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003891949180874752,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786444582000,"timestamp_ms":1786444582000,"timestamp_seconds":1786444582,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0650c70"} 
[2026-08-11 16:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:06:46] 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-08-11 16: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-11 16:06:46] 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-08-11 16: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-08-11 16:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329807616001,"66":13048,"158":206,"87":13824,"24":0,"16":117641391915401216,"45":9003891949180874752},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 16:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329807616001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:06:46] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 16:06:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117641391915401216,"km_value":117641391915401.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003891949180874752,"description":"Unknown IO ID 45"} 
[2026-08-11 16:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329807616001,"power":13048,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9003891949180874752}} 
[2026-08-11 16:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":154994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:06:46] local.INFO: GPS data processed {"connection_id":154994,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:06:46] local.INFO: Acknowledgment sent {"connection_id":154994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:06:47] local.INFO: TCP Data received {"connection_id":153603,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0640e88012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0640e88012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:06:47] local.INFO: Processing buffer {"connection_id":153603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0640e88012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:06:47] local.INFO: Packet analysis {"connection_id":153603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff064"} 
[2026-08-11 16:06:47] local.INFO: Extracted packet for processing {"connection_id":153603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff064"} 
[2026-08-11 16:06:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:06: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-08-11 16:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329790976001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:47] 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-08-11 16:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786444517000,"timestamp_ms":1786444517000,"timestamp_seconds":1786444517,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0640e88"} 
[2026-08-11 16:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:06: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-08-11 16:06: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 16:06:47] 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-08-11 16:06: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-08-11 16:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329790976001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329790976001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:06:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:06:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329790976001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":153603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:06:47] local.INFO: GPS data processed {"connection_id":153603,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:06:47] local.INFO: Acknowledgment sent {"connection_id":153603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:06:54] local.INFO: TCP Data received {"connection_id":153604,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff063fee8012d9d1f0005abe0500015008d30..."} 
[2026-08-11 16:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff063fee8012d9d1f0005abe0500015008d30..."} 
[2026-08-11 16:06:54] local.INFO: Processing buffer {"connection_id":153604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff063fee8012d9d1f0005abe0500015008d30..."} 
[2026-08-11 16:06:54] local.INFO: Packet analysis {"connection_id":153604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff063"} 
[2026-08-11 16:06:54] local.INFO: Extracted packet for processing {"connection_id":153604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff063"} 
[2026-08-11 16:06:54] local.INFO: GPS Element Parsed {"raw_longitude":765271808,"raw_latitude":95150160,"longitude_deg":76.5271808,"latitude_deg":9.515016,"altitude":21,"angle":141,"satellites":48,"speed":46,"hex_longitude":"2d9d1f00","hex_latitude":"05abe050","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329794048001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377769599480889344,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7129620398233063424,"note":"Value kept but may cause issues"} 
[2026-08-11 16:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786444513000,"timestamp_ms":1786444513000,"timestamp_seconds":1786444513,"priority":1,"record_length":96,"hex_timestamp":"0000019ff063fee8"} 
[2026-08-11 16:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 16:06:54] 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-08-11 16: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-08-11 16:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":153604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":153604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":153604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:06:54] 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-08-11 16:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329794048001,"66":27919,"138":206,"83":17408,"24":46,"16":377769599480889344,"45":-7129620398233063424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-08-11 16:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329794048001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:06:54] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-11 16:06:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377769599480889344,"km_value":377769599480889.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7129620398233063424,"description":"Unknown IO ID 45"} 
[2026-08-11 16:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329794048001,"power":27919,"unknown_138":206,"unknown_83":17408,"ignition":46,"odometer":null,"unknown_45":-7129620398233063424}} 
[2026-08-11 16:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":153604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:06:54] local.INFO: GPS data processed {"connection_id":153604,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:06:54] local.INFO: Acknowledgment sent {"connection_id":153604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:07:09] local.INFO: TCP Data received {"connection_id":154997,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:07:09] local.INFO: Processing buffer {"connection_id":154997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:07:09] local.INFO: IMEI packet received {"connection_id":154997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":154997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:07:10] local.INFO: TCP Data received {"connection_id":154996,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:07:10] local.INFO: Processing buffer {"connection_id":154996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:07:10] local.INFO: IMEI packet received {"connection_id":154996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":154996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:07:13] local.INFO: TCP Data received {"connection_id":154997,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:07:14] local.INFO: Processing buffer {"connection_id":154997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:07:14] local.INFO: IMEI packet received {"connection_id":154997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":154997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:07:14] local.INFO: TCP Data received {"connection_id":154997,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0653380012d7cfac005eaeda80008004026..."} 
[2026-08-11 16:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0653380012d7cfac005eaeda80008004026..."} 
[2026-08-11 16:07:14] local.INFO: Processing buffer {"connection_id":154997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0653380012d7cfac005eaeda80008004026..."} 
[2026-08-11 16:07:14] local.INFO: Packet analysis {"connection_id":154997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:07:14] local.INFO: Extracted packet for processing {"connection_id":154997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:07:14] local.INFO: GPS Element Parsed {"raw_longitude":763165376,"raw_latitude":99282344,"longitude_deg":76.3165376,"latitude_deg":9.9282344,"altitude":8,"angle":64,"satellites":38,"speed":3,"hex_longitude":"2d7cfac0","hex_latitude":"05eaeda8","is_valid_coordinates":true} 
[2026-08-11 16:07: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-08-11 16:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329812992001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117641473519779840,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003891949180874752,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786444592000,"timestamp_ms":1786444592000,"timestamp_seconds":1786444592,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0653380"} 
[2026-08-11 16:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:07:14] 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-08-11 16:07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 16:07:14] 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-08-11 16:07: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-08-11 16:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329812992001,"66":13102,"158":206,"87":13824,"24":3,"16":117641473519779840,"45":9003891949180874752},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 16:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329812992001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:07:14] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 16:07:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117641473519779840,"km_value":117641473519779.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003891949180874752,"description":"Unknown IO ID 45"} 
[2026-08-11 16:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329812992001,"power":13102,"unknown_158":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9003891949180874752}} 
[2026-08-11 16:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":154997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:07:15] local.INFO: GPS data processed {"connection_id":154997,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:07:15] local.INFO: Acknowledgment sent {"connection_id":154997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:07:15] local.INFO: TCP Data received {"connection_id":154996,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:07:15] local.INFO: Processing buffer {"connection_id":154996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:07:15] local.INFO: IMEI packet received {"connection_id":154996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":154996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:07:16] local.INFO: TCP Data received {"connection_id":154996,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0646090012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0646090012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:07:16] local.INFO: Processing buffer {"connection_id":154996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0646090012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:07:16] local.INFO: Packet analysis {"connection_id":154996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff064"} 
[2026-08-11 16:07:16] local.INFO: Extracted packet for processing {"connection_id":154996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff064"} 
[2026-08-11 16:07:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329796352001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:16] 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-08-11 16:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786444538000,"timestamp_ms":1786444538000,"timestamp_seconds":1786444538,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0646090"} 
[2026-08-11 16:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:07: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-08-11 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:07:16] 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-08-11 16: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-08-11 16:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":154996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":154996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":154996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329796352001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329796352001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:07:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:07:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329796352001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":154996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:07:16] local.INFO: GPS data processed {"connection_id":154996,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:07:16] local.INFO: Acknowledgment sent {"connection_id":154996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:07:19] local.INFO: TCP Data received {"connection_id":152288,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152288,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:07:19] local.INFO: Processing buffer {"connection_id":152288,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:07:19] local.INFO: IMEI packet received {"connection_id":152288,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":152288,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:07:22] local.INFO: TCP Data received {"connection_id":152288,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152288,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:07:22] local.INFO: Processing buffer {"connection_id":152288,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:07:22] local.INFO: IMEI packet received {"connection_id":152288,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":152288,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:07:24] local.INFO: TCP Data received {"connection_id":154998,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:07:24] local.INFO: Processing buffer {"connection_id":154998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:07:24] local.INFO: IMEI packet received {"connection_id":154998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":154998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:07:25] local.INFO: TCP Data received {"connection_id":152288,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152288,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:07:25] local.INFO: Processing buffer {"connection_id":152288,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:07:25] local.INFO: IMEI packet received {"connection_id":152288,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":152288,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:07:26] local.INFO: TCP Data received {"connection_id":152288,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff065a0e0012d0b7d400704c4700020007d15..."} 
[2026-08-11 16:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff065a0e0012d0b7d400704c4700020007d15..."} 
[2026-08-11 16:07:26] local.INFO: Processing buffer {"connection_id":152288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff065a0e0012d0b7d400704c4700020007d15..."} 
[2026-08-11 16:07:26] local.INFO: Packet analysis {"connection_id":152288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:07:26] local.INFO: Extracted packet for processing {"connection_id":152288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:07:26] local.INFO: GPS Element Parsed {"raw_longitude":755727680,"raw_latitude":117752944,"longitude_deg":75.572768,"latitude_deg":11.7752944,"altitude":32,"angle":125,"satellites":21,"speed":22,"hex_longitude":"2d0b7d40","hex_latitude":"0704c470","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329822208001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27657257218998272,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":826621667999911936,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786444620000,"timestamp_ms":1786444620000,"timestamp_seconds":1786444620,"priority":1,"record_length":96,"hex_timestamp":"0000019ff065a0e0"} 
[2026-08-11 16:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-11 16:07:26] 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-08-11 16: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-08-11 16:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329822208001,"66":14439,"96":206,"94":10240,"24":22,"16":27657257218998272,"45":826621667999911936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 16:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329822208001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:07:26] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 16:07:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27657257218998272,"km_value":27657257218998.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":826621667999911936,"description":"Unknown IO ID 45"} 
[2026-08-11 16:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329822208001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":826621667999911936}} 
[2026-08-11 16:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":152288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625656,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:07:26] local.INFO: GPS data processed {"connection_id":152288,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:07:26] local.INFO: Acknowledgment sent {"connection_id":152288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:07:29] local.INFO: TCP Data received {"connection_id":154998,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:07:29] local.INFO: Processing buffer {"connection_id":154998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:07:29] local.INFO: IMEI packet received {"connection_id":154998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":154998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:07:31] local.INFO: TCP Data received {"connection_id":154998,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0641a40012d9d2f0005abc6f00010009c31..."} 
[2026-08-11 16:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0641a40012d9d2f0005abc6f00010009c31..."} 
[2026-08-11 16:07:31] local.INFO: Processing buffer {"connection_id":154998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0641a40012d9d2f0005abc6f00010009c31..."} 
[2026-08-11 16:07:31] local.INFO: Packet analysis {"connection_id":154998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff064"} 
[2026-08-11 16:07:31] local.INFO: Extracted packet for processing {"connection_id":154998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff064"} 
[2026-08-11 16:07:31] local.INFO: GPS Element Parsed {"raw_longitude":765275904,"raw_latitude":95143664,"longitude_deg":76.5275904,"latitude_deg":9.5143664,"altitude":16,"angle":156,"satellites":49,"speed":41,"hex_longitude":"2d9d2f00","hex_latitude":"05abc6f0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329795328001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377769968848076800,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7124976061118394368,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786444520000,"timestamp_ms":1786444520000,"timestamp_seconds":1786444520,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0641a40"} 
[2026-08-11 16:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 16:07:31] 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-08-11 16: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-08-11 16:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":154998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":154998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":154998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:07:31] 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-08-11 16:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329795328001,"66":27930,"138":206,"83":17408,"24":41,"16":377769968848076800,"45":-7124976061118394368},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-08-11 16:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329795328001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:07:31] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-11 16:07:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377769968848076800,"km_value":377769968848076.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7124976061118394368,"description":"Unknown IO ID 45"} 
[2026-08-11 16:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329795328001,"power":27930,"unknown_138":206,"unknown_83":17408,"ignition":41,"odometer":null,"unknown_45":-7124976061118394368}} 
[2026-08-11 16:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":154998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:07:31] local.INFO: GPS data processed {"connection_id":154998,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:07:31] local.INFO: Acknowledgment sent {"connection_id":154998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:07:46] local.INFO: TCP Data received {"connection_id":154997,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0653f38012d7cfc0005eaedf00008004e27..."} 
[2026-08-11 16:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0653f38012d7cfc0005eaedf00008004e27..."} 
[2026-08-11 16:07:46] local.INFO: Processing buffer {"connection_id":154997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0653f38012d7cfc0005eaedf00008004e27..."} 
[2026-08-11 16:07:46] local.INFO: Packet analysis {"connection_id":154997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:07:46] local.INFO: Extracted packet for processing {"connection_id":154997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:07:46] local.INFO: GPS Element Parsed {"raw_longitude":763165696,"raw_latitude":99282416,"longitude_deg":76.3165696,"latitude_deg":9.9282416,"altitude":8,"angle":78,"satellites":39,"speed":2,"hex_longitude":"2d7cfc00","hex_latitude":"05eaedf0","is_valid_coordinates":true} 
[2026-08-11 16:07: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-08-11 16:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329815552001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117641486404681728,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005721536529541120,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786444595000,"timestamp_ms":1786444595000,"timestamp_seconds":1786444595,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0653f38"} 
[2026-08-11 16:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:07:46] 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-08-11 16:07: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 16:07:46] 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-08-11 16:07: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-08-11 16:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":154997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":154997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":154997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329815552001,"66":13167,"158":206,"87":13824,"24":2,"16":117641486404681728,"45":9005721536529541120},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 16:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329815552001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:07:46] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 16:07:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117641486404681728,"km_value":117641486404681.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005721536529541120,"description":"Unknown IO ID 45"} 
[2026-08-11 16:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329815552001,"power":13167,"unknown_158":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9005721536529541120}} 
[2026-08-11 16:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":154997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:07:46] local.INFO: GPS data processed {"connection_id":154997,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:07:46] local.INFO: Acknowledgment sent {"connection_id":154997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:07:47] local.INFO: TCP Data received {"connection_id":154996,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff064b298012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff064b298012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:07:47] local.INFO: Processing buffer {"connection_id":154996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff064b298012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:07:47] local.INFO: Packet analysis {"connection_id":154996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff064"} 
[2026-08-11 16:07:47] local.INFO: Extracted packet for processing {"connection_id":154996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff064"} 
[2026-08-11 16:07:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:07: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-08-11 16:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329801728001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:47] 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-08-11 16:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786444559000,"timestamp_ms":1786444559000,"timestamp_seconds":1786444559,"priority":1,"record_length":96,"hex_timestamp":"0000019ff064b298"} 
[2026-08-11 16:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:07:47] 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-08-11 16:07: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:07:47] 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-08-11 16:07: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-08-11 16:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":154996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":154996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":154996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329801728001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329801728001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:07:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:07:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329801728001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":154996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:07:47] local.INFO: GPS data processed {"connection_id":154996,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:07:47] local.INFO: Acknowledgment sent {"connection_id":154996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:07:57] local.INFO: TCP Data received {"connection_id":152288,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff065a4c8012d0b7e400704c270001f008a16..."} 
[2026-08-11 16:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff065a4c8012d0b7e400704c270001f008a16..."} 
[2026-08-11 16:07:57] local.INFO: Processing buffer {"connection_id":152288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff065a4c8012d0b7e400704c270001f008a16..."} 
[2026-08-11 16:07:57] local.INFO: Packet analysis {"connection_id":152288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:07:57] local.INFO: Extracted packet for processing {"connection_id":152288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:07:57] local.INFO: GPS Element Parsed {"raw_longitude":755727936,"raw_latitude":117752432,"longitude_deg":75.5727936,"latitude_deg":11.7752432,"altitude":31,"angle":138,"satellites":22,"speed":21,"hex_longitude":"2d0b7e40","hex_latitude":"0704c270","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329822720001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27657282988802048,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827888305394970624,"note":"Value kept but may cause issues"} 
[2026-08-11 16:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786444621000,"timestamp_ms":1786444621000,"timestamp_seconds":1786444621,"priority":1,"record_length":96,"hex_timestamp":"0000019ff065a4c8"} 
[2026-08-11 16:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 16:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329822720001,"66":14439,"96":206,"94":10240,"24":21,"16":27657282988802048,"45":827888305394970624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 16:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329822720001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:07:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 16:07:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27657282988802048,"km_value":27657282988802.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":827888305394970624,"description":"Unknown IO ID 45"} 
[2026-08-11 16:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329822720001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":827888305394970624}} 
[2026-08-11 16:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":152288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625660,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:07:57] local.INFO: GPS data processed {"connection_id":152288,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:07:57] local.INFO: Acknowledgment sent {"connection_id":152288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:08:05] local.INFO: TCP Data received {"connection_id":154998,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06429e0012d9d33c005abb670000d00ab30..."} 
[2026-08-11 16:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06429e0012d9d33c005abb670000d00ab30..."} 
[2026-08-11 16:08:05] local.INFO: Processing buffer {"connection_id":154998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06429e0012d9d33c005abb670000d00ab30..."} 
[2026-08-11 16:08:05] local.INFO: Packet analysis {"connection_id":154998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff064"} 
[2026-08-11 16:08:05] local.INFO: Extracted packet for processing {"connection_id":154998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff064"} 
[2026-08-11 16:08:05] local.INFO: GPS Element Parsed {"raw_longitude":765277120,"raw_latitude":95139440,"longitude_deg":76.527712,"latitude_deg":9.513944,"altitude":13,"angle":171,"satellites":48,"speed":45,"hex_longitude":"2d9d33c0","hex_latitude":"05abb670","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329797120001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377770179301474304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7120472461492686848,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786444524000,"timestamp_ms":1786444524000,"timestamp_seconds":1786444524,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06429e0"} 
[2026-08-11 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-08-11 16:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 16:08: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-08-11 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-08-11 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-08-11 16:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":154998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":154998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":154998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:08:05] 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-08-11 16:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329797120001,"66":27930,"138":206,"83":17408,"24":45,"16":377770179301474304,"45":-7120472461492686848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-08-11 16:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329797120001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:08:05] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-11 16:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-08-11 16:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377770179301474304,"km_value":377770179301474.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7120472461492686848,"description":"Unknown IO ID 45"} 
[2026-08-11 16:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329797120001,"power":27930,"unknown_138":206,"unknown_83":17408,"ignition":45,"odometer":null,"unknown_45":-7120472461492686848}} 
[2026-08-11 16:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":154998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:08:05] local.INFO: GPS data processed {"connection_id":154998,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:08:05] local.INFO: Acknowledgment sent {"connection_id":154998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:08:10] local.INFO: TCP Data received {"connection_id":152658,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:08:10] local.INFO: Processing buffer {"connection_id":152658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:08:10] local.INFO: IMEI packet received {"connection_id":152658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":152658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:08:13] local.INFO: TCP Data received {"connection_id":153605,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:08:14] local.INFO: Processing buffer {"connection_id":153605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:08:14] local.INFO: IMEI packet received {"connection_id":153605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":153605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:08:15] local.INFO: TCP Data received {"connection_id":152658,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:08:15] local.INFO: Processing buffer {"connection_id":152658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:08:15] local.INFO: IMEI packet received {"connection_id":152658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":152658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:08:16] local.INFO: TCP Data received {"connection_id":152658,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06504a0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06504a0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:08:16] local.INFO: Processing buffer {"connection_id":152658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06504a0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:08:16] local.INFO: Packet analysis {"connection_id":152658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:08:16] local.INFO: Extracted packet for processing {"connection_id":152658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:08:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329807104001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:16] 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-08-11 16:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786444580000,"timestamp_ms":1786444580000,"timestamp_seconds":1786444580,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06504a0"} 
[2026-08-11 16:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:08: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-08-11 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:08:16] 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-08-11 16: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-08-11 16:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329807104001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329807104001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:08:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:08:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329807104001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":152658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:08:16] local.INFO: GPS data processed {"connection_id":152658,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:08:16] local.INFO: Acknowledgment sent {"connection_id":152658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:08:19] local.INFO: TCP Data received {"connection_id":153605,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:08:19] local.INFO: Processing buffer {"connection_id":153605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:08:19] local.INFO: IMEI packet received {"connection_id":153605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":153605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:08:19] local.INFO: TCP Data received {"connection_id":153606,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:08:19] local.INFO: Processing buffer {"connection_id":153606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:08:19] local.INFO: IMEI packet received {"connection_id":153606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":153606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:08:20] local.INFO: TCP Data received {"connection_id":153605,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0656260012d7d040005eaf0a00008003e27..."} 
[2026-08-11 16:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0656260012d7d040005eaf0a00008003e27..."} 
[2026-08-11 16:08:20] local.INFO: Processing buffer {"connection_id":153605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0656260012d7d040005eaf0a00008003e27..."} 
[2026-08-11 16:08:20] local.INFO: Packet analysis {"connection_id":153605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:08:20] local.INFO: Extracted packet for processing {"connection_id":153605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:08:20] local.INFO: GPS Element Parsed {"raw_longitude":763167744,"raw_latitude":99283104,"longitude_deg":76.3167744,"latitude_deg":9.9283104,"altitude":8,"angle":62,"satellites":39,"speed":6,"hex_longitude":"2d7d0400","hex_latitude":"05eaf0a0","is_valid_coordinates":true} 
[2026-08-11 16:08: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-08-11 16:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329816320001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117641589483896832,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006073380250447872,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786444604000,"timestamp_ms":1786444604000,"timestamp_seconds":1786444604,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0656260"} 
[2026-08-11 16:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:08:20] 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-08-11 16:08: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-11 16:08:20] 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-08-11 16:08: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-08-11 16:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329816320001,"66":12689,"158":206,"87":13824,"24":6,"16":117641589483896832,"45":9006073380250447872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 16:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329816320001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:08:20] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 16:08:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117641589483896832,"km_value":117641589483896.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006073380250447872,"description":"Unknown IO ID 45"} 
[2026-08-11 16:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329816320001,"power":12689,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9006073380250447872}} 
[2026-08-11 16:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":153605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:08:20] local.INFO: GPS data processed {"connection_id":153605,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:08:20] local.INFO: Acknowledgment sent {"connection_id":153605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:08:20] local.INFO: TCP Data received {"connection_id":153606,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:08:20] local.INFO: Processing buffer {"connection_id":153606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:08:20] local.INFO: IMEI packet received {"connection_id":153606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":153606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:08:22] local.INFO: TCP Data received {"connection_id":153605,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0656648012d7d044005eaf0f00008003329..."} 
[2026-08-11 16:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0656648012d7d044005eaf0f00008003329..."} 
[2026-08-11 16:08:22] local.INFO: Processing buffer {"connection_id":153605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0656648012d7d044005eaf0f00008003329..."} 
[2026-08-11 16:08:22] local.INFO: Packet analysis {"connection_id":153605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:08:22] local.INFO: Extracted packet for processing {"connection_id":153605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:08:22] local.INFO: GPS Element Parsed {"raw_longitude":763167808,"raw_latitude":99283184,"longitude_deg":76.3167808,"latitude_deg":9.9283184,"altitude":8,"angle":51,"satellites":41,"speed":2,"hex_longitude":"2d7d0440","hex_latitude":"05eaf0f0","is_valid_coordinates":true} 
[2026-08-11 16:08: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-08-11 16:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329818624001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117641598073831424,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008325180064309248,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786444605000,"timestamp_ms":1786444605000,"timestamp_seconds":1786444605,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0656648"} 
[2026-08-11 16:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:08:22] 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-08-11 16:08: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 16:08:22] 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-08-11 16:08: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-08-11 16:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":153605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":153605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":153605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329818624001,"66":12689,"158":206,"87":13824,"24":2,"16":117641598073831424,"45":9008325180064309248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 16:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329818624001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:08:22] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 16:08:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117641598073831424,"km_value":117641598073831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008325180064309248,"description":"Unknown IO ID 45"} 
[2026-08-11 16:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329818624001,"power":12689,"unknown_158":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9008325180064309248}} 
[2026-08-11 16:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":153605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:08:22] local.INFO: GPS data processed {"connection_id":153605,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:08:22] local.INFO: Acknowledgment sent {"connection_id":153605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:08:22] local.INFO: TCP Data received {"connection_id":152289,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152289,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:08:22] local.INFO: Processing buffer {"connection_id":152289,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:08:22] local.INFO: IMEI packet received {"connection_id":152289,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":152289,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:08:23] local.INFO: TCP Data received {"connection_id":152289,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152289,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:08:23] local.INFO: Processing buffer {"connection_id":152289,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:08:23] local.INFO: IMEI packet received {"connection_id":152289,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":152289,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:08:24] local.INFO: TCP Data received {"connection_id":153606,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:08:24] local.INFO: Processing buffer {"connection_id":153606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:08:24] local.INFO: IMEI packet received {"connection_id":153606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":153606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:08:25] local.INFO: TCP Data received {"connection_id":153606,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0660a58012d9cf28005aa6150001d00d631..."} 
[2026-08-11 16:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0660a58012d9cf28005aa6150001d00d631..."} 
[2026-08-11 16:08:25] local.INFO: Processing buffer {"connection_id":153606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0660a58012d9cf28005aa6150001d00d631..."} 
[2026-08-11 16:08:25] local.INFO: Packet analysis {"connection_id":153606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:08:25] local.INFO: Extracted packet for processing {"connection_id":153606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:08:25] local.INFO: GPS Element Parsed {"raw_longitude":765260416,"raw_latitude":95052112,"longitude_deg":76.5260416,"latitude_deg":9.5052112,"altitude":29,"angle":214,"satellites":49,"speed":34,"hex_longitude":"2d9cf280","hex_latitude":"05aa6150","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329826816001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377774521513410560,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7132998097977747456,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786444647000,"timestamp_ms":1786444647000,"timestamp_seconds":1786444647,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0660a58"} 
[2026-08-11 16:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 16:08:25] 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-08-11 16: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-08-11 16:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:08:25] 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-08-11 16:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329826816001,"66":27908,"225":206,"83":17152,"24":34,"16":377774521513410560,"45":-7132998097977747456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-08-11 16:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329826816001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:08:25] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-11 16:08:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377774521513410560,"km_value":377774521513410.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7132998097977747456,"description":"Unknown IO ID 45"} 
[2026-08-11 16:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329826816001,"power":27908,"unknown_225":206,"unknown_83":17152,"ignition":34,"odometer":null,"unknown_45":-7132998097977747456}} 
[2026-08-11 16:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":153606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:08:25] local.INFO: GPS data processed {"connection_id":153606,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:08:25] local.INFO: Acknowledgment sent {"connection_id":153606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:08:27] local.INFO: TCP Data received {"connection_id":152289,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152289,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:08:27] local.INFO: Processing buffer {"connection_id":152289,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:08:27] local.INFO: IMEI packet received {"connection_id":152289,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":152289,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:08:28] local.INFO: TCP Data received {"connection_id":152289,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0669ae0012d0c50800704ce48001a004616..."} 
[2026-08-11 16:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0669ae0012d0c50800704ce48001a004616..."} 
[2026-08-11 16:08:28] local.INFO: Processing buffer {"connection_id":152289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0669ae0012d0c50800704ce48001a004616..."} 
[2026-08-11 16:08:28] local.INFO: Packet analysis {"connection_id":152289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:08:28] local.INFO: Extracted packet for processing {"connection_id":152289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:08:28] local.INFO: GPS Element Parsed {"raw_longitude":755781760,"raw_latitude":117755464,"longitude_deg":75.578176,"latitude_deg":11.7755464,"altitude":26,"angle":70,"satellites":22,"speed":34,"hex_longitude":"2d0c5080","hex_latitude":"0704ce48","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329838336001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27659924393689088,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884535144458475520,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786444684000,"timestamp_ms":1786444684000,"timestamp_seconds":1786444684,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0669ae0"} 
[2026-08-11 16:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:08:28] 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-08-11 16: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 16:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329838336001,"66":14450,"96":206,"94":10240,"24":34,"16":27659924393689088,"45":884535144458475520},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 16:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329838336001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:08:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 16:08:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27659924393689088,"km_value":27659924393689.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":884535144458475520,"description":"Unknown IO ID 45"} 
[2026-08-11 16:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329838336001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":884535144458475520}} 
[2026-08-11 16:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":152289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625666,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:08:28] local.INFO: GPS data processed {"connection_id":152289,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:08:28] local.INFO: Acknowledgment sent {"connection_id":152289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:08:32] local.INFO: TCP Data received {"connection_id":152289,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff066be08012d0c6f000704d7780019005615..."} 
[2026-08-11 16:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff066be08012d0c6f000704d7780019005615..."} 
[2026-08-11 16:08:32] local.INFO: Processing buffer {"connection_id":152289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff066be08012d0c6f000704d7780019005615..."} 
[2026-08-11 16:08:32] local.INFO: Packet analysis {"connection_id":152289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:08:32] local.INFO: Extracted packet for processing {"connection_id":152289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:08:32] local.INFO: GPS Element Parsed {"raw_longitude":755789568,"raw_latitude":117757816,"longitude_deg":75.5789568,"latitude_deg":11.7757816,"altitude":25,"angle":86,"satellites":21,"speed":23,"hex_longitude":"2d0c6f00","hex_latitude":"0704d778","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329839104001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27660310940745728,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887349894225741824,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786444693000,"timestamp_ms":1786444693000,"timestamp_seconds":1786444693,"priority":1,"record_length":96,"hex_timestamp":"0000019ff066be08"} 
[2026-08-11 16:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:08:32] 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-08-11 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 16:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329839104001,"66":14537,"96":206,"94":10240,"24":23,"16":27660310940745728,"45":887349894225741824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 16:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329839104001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:08:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 16:08:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27660310940745728,"km_value":27660310940745.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":887349894225741824,"description":"Unknown IO ID 45"} 
[2026-08-11 16:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329839104001,"power":14537,"unknown_96":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":887349894225741824}} 
[2026-08-11 16:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":152289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625667,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:08:32] local.INFO: GPS data processed {"connection_id":152289,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:08:32] local.INFO: Acknowledgment sent {"connection_id":152289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:08:47] local.INFO: TCP Data received {"connection_id":152658,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06556a8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06556a8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:08:47] local.INFO: Processing buffer {"connection_id":152658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06556a8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:08:47] local.INFO: Packet analysis {"connection_id":152658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:08:47] local.INFO: Extracted packet for processing {"connection_id":152658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329812480001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:47] 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-08-11 16:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786444601000,"timestamp_ms":1786444601000,"timestamp_seconds":1786444601,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06556a8"} 
[2026-08-11 16:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:08: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-08-11 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:08:47] 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-08-11 16: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-08-11 16:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329812480001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329812480001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:08:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:08:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329812480001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":152658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:08:47] local.INFO: GPS data processed {"connection_id":152658,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:08:47] local.INFO: Acknowledgment sent {"connection_id":152658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:08:54] local.INFO: TCP Data received {"connection_id":153605,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0658588012d7d064005eaf2500008004129..."} 
[2026-08-11 16:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0658588012d7d064005eaf2500008004129..."} 
[2026-08-11 16:08:54] local.INFO: Processing buffer {"connection_id":153605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0658588012d7d064005eaf2500008004129..."} 
[2026-08-11 16:08:54] local.INFO: Packet analysis {"connection_id":153605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:08:54] local.INFO: Extracted packet for processing {"connection_id":153605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763168320,"raw_latitude":99283536,"longitude_deg":76.316832,"latitude_deg":9.9283536,"altitude":8,"angle":65,"satellites":41,"speed":11,"hex_longitude":"2d7d0640","hex_latitude":"05eaf250","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329818880001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117641628138602496,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008395548808507392,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786444613000,"timestamp_ms":1786444613000,"timestamp_seconds":1786444613,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0658588"} 
[2026-08-11 16:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:08: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-08-11 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 16:08:54] 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-08-11 16: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-08-11 16:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":153605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":153605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":153605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329818880001,"66":13200,"158":206,"87":13824,"24":11,"16":117641628138602496,"45":9008395548808507392},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 16:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329818880001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:08:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 16:08:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117641628138602496,"km_value":117641628138602.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008395548808507392,"description":"Unknown IO ID 45"} 
[2026-08-11 16:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329818880001,"power":13200,"unknown_158":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9008395548808507392}} 
[2026-08-11 16:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":153605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:08:54] local.INFO: GPS data processed {"connection_id":153605,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:08:54] local.INFO: Acknowledgment sent {"connection_id":153605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:08:55] local.INFO: TCP Data received {"connection_id":153606,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06621c8012d9ce48005aa50e8001b00e231..."} 
[2026-08-11 16:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06621c8012d9ce48005aa50e8001b00e231..."} 
[2026-08-11 16:08:56] local.INFO: Processing buffer {"connection_id":153606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06621c8012d9ce48005aa50e8001b00e231..."} 
[2026-08-11 16:08:56] local.INFO: Packet analysis {"connection_id":153606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:08:56] local.INFO: Extracted packet for processing {"connection_id":153606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:08:56] local.INFO: GPS Element Parsed {"raw_longitude":765256832,"raw_latitude":95047912,"longitude_deg":76.5256832,"latitude_deg":9.5047912,"altitude":27,"angle":226,"satellites":49,"speed":37,"hex_longitude":"2d9ce480","hex_latitude":"05aa50e8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329829632001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377774787801382912,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7137501697607118848,"note":"Value kept but may cause issues"} 
[2026-08-11 16:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786444653000,"timestamp_ms":1786444653000,"timestamp_seconds":1786444653,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06621c8"} 
[2026-08-11 16:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 16:08:56] 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-08-11 16: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-08-11 16:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:08:56] 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-08-11 16:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329829632001,"66":27984,"225":206,"83":17152,"24":37,"16":377774787801382912,"45":-7137501697607118848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-08-11 16:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329829632001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:08:56] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-11 16:08:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377774787801382912,"km_value":377774787801382.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7137501697607118848,"description":"Unknown IO ID 45"} 
[2026-08-11 16:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329829632001,"power":27984,"unknown_225":206,"unknown_83":17152,"ignition":37,"odometer":null,"unknown_45":-7137501697607118848}} 
[2026-08-11 16:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":153606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:08:56] local.INFO: GPS data processed {"connection_id":153606,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:08:56] local.INFO: Acknowledgment sent {"connection_id":153606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:09:03] local.INFO: TCP Data received {"connection_id":152289,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff066d960012d0c82400704d620001a006216..."} 
[2026-08-11 16:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff066d960012d0c82400704d620001a006216..."} 
[2026-08-11 16:09:03] local.INFO: Processing buffer {"connection_id":152289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff066d960012d0c82400704d620001a006216..."} 
[2026-08-11 16:09:03] local.INFO: Packet analysis {"connection_id":152289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:09:03] local.INFO: Extracted packet for processing {"connection_id":152289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:09:03] local.INFO: GPS Element Parsed {"raw_longitude":755794496,"raw_latitude":117757472,"longitude_deg":75.5794496,"latitude_deg":11.7757472,"altitude":26,"angle":98,"satellites":22,"speed":32,"hex_longitude":"2d0c8240","hex_latitude":"0704d620","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329841408001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27660547163947008,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895934881016018944,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786444700000,"timestamp_ms":1786444700000,"timestamp_seconds":1786444700,"priority":1,"record_length":96,"hex_timestamp":"0000019ff066d960"} 
[2026-08-11 16:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:09:03] 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-08-11 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-11 16:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329841408001,"66":14548,"96":206,"94":10240,"24":32,"16":27660547163947008,"45":895934881016018944},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 16:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329841408001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:09:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 16:09:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27660547163947008,"km_value":27660547163947.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":895934881016018944,"description":"Unknown IO ID 45"} 
[2026-08-11 16:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329841408001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":895934881016018944}} 
[2026-08-11 16:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":152289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625671,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:09:04] local.INFO: GPS data processed {"connection_id":152289,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:09:04] local.INFO: Acknowledgment sent {"connection_id":152289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:09:08] local.INFO: TCP Data received {"connection_id":154999,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:09:08] local.INFO: Processing buffer {"connection_id":154999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:09:08] local.INFO: IMEI packet received {"connection_id":154999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":154999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:09:10] local.INFO: TCP Data received {"connection_id":155000,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:09:10] local.INFO: Processing buffer {"connection_id":155000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:09:10] local.INFO: IMEI packet received {"connection_id":155000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":155000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:09:11] local.INFO: TCP Data received {"connection_id":154999,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:09:11] local.INFO: Processing buffer {"connection_id":154999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:09:11] local.INFO: IMEI packet received {"connection_id":154999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":154999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:09:12] local.INFO: TCP Data received {"connection_id":154999,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0672b68012d7d1d8005ea8588000700b32b..."} 
[2026-08-11 16:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0672b68012d7d1d8005ea8588000700b32b..."} 
[2026-08-11 16:09:12] local.INFO: Processing buffer {"connection_id":154999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0672b68012d7d1d8005ea8588000700b32b..."} 
[2026-08-11 16:09:12] local.INFO: Packet analysis {"connection_id":154999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:09:12] local.INFO: Extracted packet for processing {"connection_id":154999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":99255688,"longitude_deg":76.3174272,"latitude_deg":9.9255688,"altitude":7,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2d7d1d80","hex_latitude":"05ea8588","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329843200001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117643487859441664,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015925004430514176,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786444721000,"timestamp_ms":1786444721000,"timestamp_seconds":1786444721,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0672b68"} 
[2026-08-11 16:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:09:12] 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-08-11 16: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 16:09:12] 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-08-11 16: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-08-11 16:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":154999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":154999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":154999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329843200001,"66":12602,"158":206,"87":13824,"24":0,"16":117643487859441664,"45":9015925004430514176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 16:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329843200001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:09:12] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 16:09:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117643487859441664,"km_value":117643487859441.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015925004430514176,"description":"Unknown IO ID 45"} 
[2026-08-11 16:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329843200001,"power":12602,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9015925004430514176}} 
[2026-08-11 16:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":154999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:09:12] local.INFO: GPS data processed {"connection_id":154999,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:09:12] local.INFO: Acknowledgment sent {"connection_id":154999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:09:14] local.INFO: TCP Data received {"connection_id":154999,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06775a0012d7d1bc005ea6020000900b72c..."} 
[2026-08-11 16:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06775a0012d7d1bc005ea6020000900b72c..."} 
[2026-08-11 16:09:14] local.INFO: Processing buffer {"connection_id":154999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06775a0012d7d1bc005ea6020000900b72c..."} 
[2026-08-11 16:09:14] local.INFO: Packet analysis {"connection_id":154999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:09:14] local.INFO: Extracted packet for processing {"connection_id":154999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:09:14] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":99246112,"longitude_deg":76.3173824,"latitude_deg":9.9246112,"altitude":9,"angle":183,"satellites":44,"speed":37,"hex_longitude":"2d7d1bc0","hex_latitude":"05ea6020","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329848576001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117643956010876928,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791963412480,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786444740000,"timestamp_ms":1786444740000,"timestamp_seconds":1786444740,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06775a0"} 
[2026-08-11 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-08-11 16:09:14] 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-08-11 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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-11 16:09:14] 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-08-11 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-08-11 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-08-11 16:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":154999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":154999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":154999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329848576001,"66":12776,"158":206,"87":13824,"24":37,"16":117643956010876928,"45":9015502791963412480},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 16:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329848576001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:09:14] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 16:09:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117643956010876928,"km_value":117643956010876.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791963412480,"description":"Unknown IO ID 45"} 
[2026-08-11 16:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329848576001,"power":12776,"unknown_158":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":9015502791963412480}} 
[2026-08-11 16:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":154999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:09:14] local.INFO: GPS data processed {"connection_id":154999,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:09:14] local.INFO: Acknowledgment sent {"connection_id":154999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:09:15] local.INFO: TCP Data received {"connection_id":155000,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:09:15] local.INFO: Processing buffer {"connection_id":155000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:09:15] local.INFO: IMEI packet received {"connection_id":155000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":155000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:09:16] local.INFO: TCP Data received {"connection_id":155000,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff065a8b0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff065a8b0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:09:16] local.INFO: Processing buffer {"connection_id":155000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff065a8b0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:09:16] local.INFO: Packet analysis {"connection_id":155000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:09:16] local.INFO: Extracted packet for processing {"connection_id":155000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329817856001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:16] 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-08-11 16:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786444622000,"timestamp_ms":1786444622000,"timestamp_seconds":1786444622,"priority":1,"record_length":96,"hex_timestamp":"0000019ff065a8b0"} 
[2026-08-11 16:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:09: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-08-11 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:09:16] 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-08-11 16: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-08-11 16:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329817856001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329817856001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:09:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:09:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329817856001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":155000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:09:16] local.INFO: GPS data processed {"connection_id":155000,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:09:16] local.INFO: Acknowledgment sent {"connection_id":155000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:09:21] local.INFO: TCP Data received {"connection_id":155001,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:09:21] local.INFO: Processing buffer {"connection_id":155001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:09:21] local.INFO: IMEI packet received {"connection_id":155001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":155001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:09:22] local.INFO: TCP Data received {"connection_id":152659,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152659,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:09:22] local.INFO: Processing buffer {"connection_id":152659,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:09:22] local.INFO: IMEI packet received {"connection_id":152659,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":152659,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:09:24] local.INFO: TCP Data received {"connection_id":155001,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:09:24] local.INFO: Processing buffer {"connection_id":155001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:09:24] local.INFO: IMEI packet received {"connection_id":155001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":155001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:09:27] local.INFO: TCP Data received {"connection_id":152659,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152659,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:09:27] local.INFO: Processing buffer {"connection_id":152659,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:09:27] local.INFO: IMEI packet received {"connection_id":152659,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":152659,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:09:28] local.INFO: TCP Data received {"connection_id":152659,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0672780012d0c8e000704d498001f002b16..."} 
[2026-08-11 16:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0672780012d0c8e000704d498001f002b16..."} 
[2026-08-11 16:09:28] local.INFO: Processing buffer {"connection_id":152659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0672780012d0c8e000704d498001f002b16..."} 
[2026-08-11 16:09:28] local.INFO: Packet analysis {"connection_id":152659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:09:28] local.INFO: Extracted packet for processing {"connection_id":152659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:09:28] local.INFO: GPS Element Parsed {"raw_longitude":755797504,"raw_latitude":117757080,"longitude_deg":75.5797504,"latitude_deg":11.775708,"altitude":31,"angle":43,"satellites":22,"speed":2,"hex_longitude":"2d0c8e00","hex_latitude":"0704d498","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329843200001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27660706077736960,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901353274317611008,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:28] 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-08-11 16:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786444720000,"timestamp_ms":1786444720000,"timestamp_seconds":1786444720,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0672780"} 
[2026-08-11 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-08-11 16:09:28] 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-08-11 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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 16:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 16:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152659,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152659,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329843200001,"66":14515,"95":206,"94":10240,"24":2,"16":27660706077736960,"45":901353274317611008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-11 16:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329843200001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:09:28] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:09:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27660706077736960,"km_value":27660706077736.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":901353274317611008,"description":"Unknown IO ID 45"} 
[2026-08-11 16:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329843200001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":901353274317611008}} 
[2026-08-11 16:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":152659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625675,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:09:28] local.INFO: GPS data processed {"connection_id":152659,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:09:28] local.INFO: Acknowledgment sent {"connection_id":152659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:09:29] local.INFO: TCP Data received {"connection_id":155001,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:09:29] local.INFO: Processing buffer {"connection_id":155001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:09:29] local.INFO: IMEI packet received {"connection_id":155001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":155001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:09:30] local.INFO: TCP Data received {"connection_id":155001,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06644f0012d9cc8c005aa3900001600dd31..."} 
[2026-08-11 16:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06644f0012d9cc8c005aa3900001600dd31..."} 
[2026-08-11 16:09:30] local.INFO: Processing buffer {"connection_id":155001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06644f0012d9cc8c005aa3900001600dd31..."} 
[2026-08-11 16:09:30] local.INFO: Packet analysis {"connection_id":155001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:09:30] local.INFO: Extracted packet for processing {"connection_id":155001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:09:30] local.INFO: GPS Element Parsed {"raw_longitude":765249728,"raw_latitude":95041792,"longitude_deg":76.5249728,"latitude_deg":9.5041792,"altitude":22,"angle":221,"satellites":49,"speed":43,"hex_longitude":"2d9cc8c0","hex_latitude":"05aa3900","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329831168001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377775238772948992,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7141442347282143232,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786444662000,"timestamp_ms":1786444662000,"timestamp_seconds":1786444662,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06644f0"} 
[2026-08-11 16:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 16:09:30] 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-08-11 16: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-08-11 16:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":155001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":155001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":155001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:09:30] 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-08-11 16:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329831168001,"66":27876,"225":206,"83":17152,"24":43,"16":377775238772948992,"45":-7141442347282143232},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-08-11 16:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329831168001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:09:30] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-11 16:09:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377775238772948992,"km_value":377775238772949.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7141442347282143232,"description":"Unknown IO ID 45"} 
[2026-08-11 16:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329831168001,"power":27876,"unknown_225":206,"unknown_83":17152,"ignition":43,"odometer":null,"unknown_45":-7141442347282143232}} 
[2026-08-11 16:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":155001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:09:30] local.INFO: GPS data processed {"connection_id":155001,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:09:30] local.INFO: Acknowledgment sent {"connection_id":155001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:09:47] local.INFO: TCP Data received {"connection_id":155000,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff065fab8012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff065fab8012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:09:47] local.INFO: Processing buffer {"connection_id":155000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff065fab8012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:09:47] local.INFO: Packet analysis {"connection_id":155000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:09:47] local.INFO: Extracted packet for processing {"connection_id":155000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff065"} 
[2026-08-11 16:09:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329823232001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:47] 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-08-11 16:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786444643000,"timestamp_ms":1786444643000,"timestamp_seconds":1786444643,"priority":1,"record_length":96,"hex_timestamp":"0000019ff065fab8"} 
[2026-08-11 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-08-11 16:09:47] 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-08-11 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:09:47] 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-08-11 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-08-11 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-08-11 16:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329823232001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329823232001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:09:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:09:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329823232001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":155000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:09:47] local.INFO: GPS data processed {"connection_id":155000,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:09:47] local.INFO: Acknowledgment sent {"connection_id":155000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:09:57] local.INFO: TCP Data received {"connection_id":154999,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06798c8012d7d198005ea3ba0000a00b62b..."} 
[2026-08-11 16:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":154999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06798c8012d7d198005ea3ba0000a00b62b..."} 
[2026-08-11 16:09:57] local.INFO: Processing buffer {"connection_id":154999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06798c8012d7d198005ea3ba0000a00b62b..."} 
[2026-08-11 16:09:57] local.INFO: Packet analysis {"connection_id":154999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:09:57] local.INFO: Extracted packet for processing {"connection_id":154999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763173248,"raw_latitude":99236768,"longitude_deg":76.3173248,"latitude_deg":9.9236768,"altitude":10,"angle":182,"satellites":43,"speed":41,"hex_longitude":"2d7d1980","hex_latitude":"05ea3ba0","is_valid_coordinates":true} 
[2026-08-11 16:09: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-08-11 16:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329853440001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117644411277410304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015010210751717376,"note":"Value kept but may cause issues"} 
[2026-08-11 16:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786444749000,"timestamp_ms":1786444749000,"timestamp_seconds":1786444749,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06798c8"} 
[2026-08-11 16:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:09:57] 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-08-11 16:09: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":232,"data_length":795,"current_offset":136} 
[2026-08-11 16:09:57] 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-08-11 16:09: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-08-11 16:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":154999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":154999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":154999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329853440001,"66":12906,"158":206,"87":13824,"24":41,"16":117644411277410304,"45":9015010210751717376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 16:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329853440001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:09:57] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 16:09:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117644411277410304,"km_value":117644411277410.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015010210751717376,"description":"Unknown IO ID 45"} 
[2026-08-11 16:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329853440001,"power":12906,"unknown_158":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":9015010210751717376}} 
[2026-08-11 16:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":154999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:09:57] local.INFO: GPS data processed {"connection_id":154999,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:09:57] local.INFO: Acknowledgment sent {"connection_id":154999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:10:01] local.INFO: TCP Data received {"connection_id":152659,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0672780012d0c8e000704d498001f002b16..."} 
[2026-08-11 16:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0672780012d0c8e000704d498001f002b16..."} 
[2026-08-11 16:10:01] local.INFO: Processing buffer {"connection_id":152659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0672780012d0c8e000704d498001f002b16..."} 
[2026-08-11 16:10:01] local.INFO: Packet analysis {"connection_id":152659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:10:01] local.INFO: Extracted packet for processing {"connection_id":152659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:10:01] local.INFO: GPS Element Parsed {"raw_longitude":755797504,"raw_latitude":117757080,"longitude_deg":75.5797504,"latitude_deg":11.775708,"altitude":31,"angle":43,"satellites":22,"speed":2,"hex_longitude":"2d0c8e00","hex_latitude":"0704d498","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329848320001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27660706077736960,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904660605293860864,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:01] 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-08-11 16:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786444720000,"timestamp_ms":1786444720000,"timestamp_seconds":1786444720,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0672780"} 
[2026-08-11 16:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:10: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-08-11 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 16:10:01] 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-08-11 16: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-08-11 16:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152659,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152659,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329848320001,"66":14515,"95":206,"94":10240,"24":2,"16":27660706077736960,"45":904660605293860864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-11 16:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329848320001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:10:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:10:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27660706077736960,"km_value":27660706077736.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":904660605293860864,"description":"Unknown IO ID 45"} 
[2026-08-11 16:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329848320001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":904660605293860864}} 
[2026-08-11 16:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":152659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625679,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:10:01] local.INFO: GPS data processed {"connection_id":152659,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:10:01] local.INFO: Acknowledgment sent {"connection_id":152659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:10:08] local.INFO: TCP Data received {"connection_id":153607,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:10:08] local.INFO: Processing buffer {"connection_id":153607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:10:08] local.INFO: IMEI packet received {"connection_id":153607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":153607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:10:09] local.INFO: TCP Data received {"connection_id":153607,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:10:09] local.INFO: Processing buffer {"connection_id":153607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:10:09] local.INFO: IMEI packet received {"connection_id":153607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":153607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:10:09] local.INFO: TCP Data received {"connection_id":155001,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0678540012d9cd8c005a91de0000a00c430..."} 
[2026-08-11 16:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0678540012d9cd8c005a91de0000a00c430..."} 
[2026-08-11 16:10:09] local.INFO: Processing buffer {"connection_id":155001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0678540012d9cd8c005a91de0000a00c430..."} 
[2026-08-11 16:10:09] local.INFO: Packet analysis {"connection_id":155001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:10:09] local.INFO: Extracted packet for processing {"connection_id":155001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:10:09] local.INFO: GPS Element Parsed {"raw_longitude":765253824,"raw_latitude":94969312,"longitude_deg":76.5253824,"latitude_deg":9.4969312,"altitude":10,"angle":196,"satellites":48,"speed":32,"hex_longitude":"2d9cd8c0","hex_latitude":"05a91de0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329853696001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377778880905216000,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144257097068748800,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786444744000,"timestamp_ms":1786444744000,"timestamp_seconds":1786444744,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0678540"} 
[2026-08-11 16:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 16:10: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-08-11 16: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-08-11 16:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":155001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":155001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":155001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:10:09] 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-08-11 16:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329853696001,"66":27930,"219":206,"83":17152,"24":32,"16":377778880905216000,"45":-7144257097068748800},"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,45]} 
[2026-08-11 16:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329853696001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:10:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:10:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377778880905216000,"km_value":377778880905216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144257097068748800,"description":"Unknown IO ID 45"} 
[2026-08-11 16:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329853696001,"power":27930,"unknown_219":206,"unknown_83":17152,"ignition":32,"odometer":null,"unknown_45":-7144257097068748800}} 
[2026-08-11 16:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":155001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:10:09] local.INFO: GPS data processed {"connection_id":155001,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:10:09] local.INFO: Acknowledgment sent {"connection_id":155001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:10:10] local.INFO: TCP Data received {"connection_id":153608,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:10:10] local.INFO: Processing buffer {"connection_id":153608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:10:10] local.INFO: IMEI packet received {"connection_id":153608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":153608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:10:13] local.INFO: TCP Data received {"connection_id":153607,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:10:13] local.INFO: Processing buffer {"connection_id":153607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:10:13] local.INFO: IMEI packet received {"connection_id":153607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":153607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:10:14] local.INFO: TCP Data received {"connection_id":153607,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff067db30012d7d180005ea1728000800b629..."} 
[2026-08-11 16:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff067db30012d7d180005ea1728000800b629..."} 
[2026-08-11 16:10:14] local.INFO: Processing buffer {"connection_id":153607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff067db30012d7d180005ea1728000800b629..."} 
[2026-08-11 16:10:14] local.INFO: Packet analysis {"connection_id":153607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:10:14] local.INFO: Extracted packet for processing {"connection_id":153607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:10:14] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":99227432,"longitude_deg":76.3172864,"latitude_deg":9.9227432,"altitude":8,"angle":182,"satellites":41,"speed":23,"hex_longitude":"2d7d1800","hex_latitude":"05ea1728","is_valid_coordinates":true} 
[2026-08-11 16:10: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-08-11 16:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329855744001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117644862248976384,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014376892051726336,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786444766000,"timestamp_ms":1786444766000,"timestamp_seconds":1786444766,"priority":1,"record_length":96,"hex_timestamp":"0000019ff067db30"} 
[2026-08-11 16:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:10:14] 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-08-11 16:10: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-11 16:10:14] 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-08-11 16:10: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-08-11 16:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329855744001,"66":13439,"158":206,"87":13824,"24":23,"16":117644862248976384,"45":9014376892051726336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-11 16:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329855744001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:10:14] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 16:10:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117644862248976384,"km_value":117644862248976.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014376892051726336,"description":"Unknown IO ID 45"} 
[2026-08-11 16:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329855744001,"power":13439,"unknown_158":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":9014376892051726336}} 
[2026-08-11 16:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":153607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:10:14] local.INFO: GPS data processed {"connection_id":153607,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:10:14] local.INFO: Acknowledgment sent {"connection_id":153607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:10:15] local.INFO: TCP Data received {"connection_id":153608,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:10:15] local.INFO: Processing buffer {"connection_id":153608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:10:15] local.INFO: IMEI packet received {"connection_id":153608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":153608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:10:16] local.INFO: TCP Data received {"connection_id":153608,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0664cc0012d1968c0071fee68003e011c2d..."} 
[2026-08-11 16:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0664cc0012d1968c0071fee68003e011c2d..."} 
[2026-08-11 16:10:16] local.INFO: Processing buffer {"connection_id":153608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0664cc0012d1968c0071fee68003e011c2d..."} 
[2026-08-11 16:10:16] local.INFO: Packet analysis {"connection_id":153608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:10:16] local.INFO: Extracted packet for processing {"connection_id":153608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:10:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329828608001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:16] 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-08-11 16:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786444664000,"timestamp_ms":1786444664000,"timestamp_seconds":1786444664,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0664cc0"} 
[2026-08-11 16:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:10: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-08-11 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:10:16] 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-08-11 16: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-08-11 16:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329828608001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329828608001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:10:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:10:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329828608001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":153608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:10:16] local.INFO: GPS data processed {"connection_id":153608,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:10:16] local.INFO: Acknowledgment sent {"connection_id":153608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:10:17] local.INFO: TCP Data received {"connection_id":152290,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:10:17] local.INFO: Processing buffer {"connection_id":152290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:10:17] local.INFO: IMEI packet received {"connection_id":152290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":152290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:10:21] local.INFO: TCP Data received {"connection_id":155002,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155002,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:10:21] local.INFO: Processing buffer {"connection_id":155002,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:10:21] local.INFO: IMEI packet received {"connection_id":155002,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":155002,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:10:25] local.INFO: TCP Data received {"connection_id":152290,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:10:25] local.INFO: Processing buffer {"connection_id":152290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:10:25] local.INFO: IMEI packet received {"connection_id":152290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":152290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:10:25] local.INFO: TCP Data received {"connection_id":152290,"ip":"42.106.6.19","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 16:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152290,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 16:10:25] local.INFO: Processing buffer {"connection_id":152290,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 16:10:25] local.INFO: IMEI packet received {"connection_id":152290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":152290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:10:27] local.INFO: TCP Data received {"connection_id":155002,"ip":"42.106.6.22","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 16:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155002,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 16:10:27] local.INFO: Processing buffer {"connection_id":155002,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 16:10:27] local.INFO: IMEI packet received {"connection_id":155002,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":155002,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:10:29] local.INFO: TCP Data received {"connection_id":155002,"ip":"42.106.6.22","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019ff0..."} 
[2026-08-11 16:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155002,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019ff0..."} 
[2026-08-11 16:10:29] local.INFO: Processing buffer {"connection_id":155002,"buffer_length":829,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 16:10:29] local.INFO: IMEI packet received {"connection_id":155002,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":155002,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:10:44] local.INFO: TCP Data received {"connection_id":155002,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff068aa38012d0c640007051b280022015418..."} 
[2026-08-11 16:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff068aa38012d0c640007051b280022015418..."} 
[2026-08-11 16:10:44] local.INFO: Processing buffer {"connection_id":155002,"buffer_length":1607,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019ff0..."} 
[2026-08-11 16:10:44] local.INFO: IMEI packet received {"connection_id":155002,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":155002,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:10:45] local.INFO: TCP Data received {"connection_id":155002,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff068b9d8012d0c6200070523900021016119..."} 
[2026-08-11 16:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff068b9d8012d0c6200070523900021016119..."} 
[2026-08-11 16:10:45] local.INFO: Processing buffer {"connection_id":155002,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019ff0685c18012d0c6740070512880021015017..."} 
[2026-08-11 16:10:45] local.INFO: Packet analysis {"connection_id":155002,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019ff068"} 
[2026-08-11 16:10:45] local.INFO: Extracted packet for processing {"connection_id":155002,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff068"} 
[2026-08-11 16:10:45] local.INFO: GPS Element Parsed {"raw_longitude":755787584,"raw_latitude":117772936,"longitude_deg":75.5787584,"latitude_deg":11.7772936,"altitude":33,"angle":336,"satellites":23,"speed":1,"hex_longitude":"2d0c6740","hex_latitude":"07051288","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329867264001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27661646675574784,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893753449950373888,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] 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-08-11 16:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786444799000,"timestamp_ms":1786444799000,"timestamp_seconds":1786444799,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0685c18"} 
[2026-08-11 16:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:10:45] 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-08-11 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 16:10:45] 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-08-11 16: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-08-11 16:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155002,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155002,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329867264001,"66":14515,"95":206,"94":10240,"24":1,"16":27661646675574784,"45":893753449950373888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-11 16:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329867264001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:10:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:10:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27661646675574784,"km_value":27661646675574.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":893753449950373888,"description":"Unknown IO ID 45"} 
[2026-08-11 16:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329867264001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":893753449950373888}} 
[2026-08-11 16:10:45] local.INFO: TCP Data received {"connection_id":153607,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff068fc40012d7ccb4005e9bcd0000001342a..."} 
[2026-08-11 16:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff068fc40012d7ccb4005e9bcd0000001342a..."} 
[2026-08-11 16:10:45] local.INFO: Processing buffer {"connection_id":153607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff068fc40012d7ccb4005e9bcd0000001342a..."} 
[2026-08-11 16:10:45] local.INFO: Packet analysis {"connection_id":153607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff068"} 
[2026-08-11 16:10:45] local.INFO: Extracted packet for processing {"connection_id":153607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff068"} 
[2026-08-11 16:10:45] local.INFO: GPS Element Parsed {"raw_longitude":763153216,"raw_latitude":99204304,"longitude_deg":76.3153216,"latitude_deg":9.9204304,"altitude":0,"angle":308,"satellites":42,"speed":11,"hex_longitude":"2d7ccb40","hex_latitude":"05e9bcd0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329878784001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117646910948376576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992632950092457984,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786444840000,"timestamp_ms":1786444840000,"timestamp_seconds":1786444840,"priority":1,"record_length":96,"hex_timestamp":"0000019ff068fc40"} 
[2026-08-11 16:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:10:45] 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-08-11 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":721420288,"corrected_to":0} 
[2026-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4033404160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-5014758176470127616,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3221612981,"corrected_to":0} 
[2026-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802134,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":161,"raw_value":4146397184,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3920930816,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":104,"raw_value":-5899714216974319611,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,192,87,24,241,157,16,247,159,244,45,128,186,42,10,66,236,183,44,232,1,240,3,227,233,4,113,205,224,8,239,50,2,161,5,12,248,104],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":247,"original":721420288,"validated":0},{"io_id":205,"original":3221612981,"validated":0}]} 
[2026-08-11 16:10:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":366313466494976,"timestamp_seconds":366313466494.976,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329878784001,"66":13200,"192":206,"87":13824,"24":11,"16":117646910948376576,"45":8992632950092457984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-11 16:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329878784001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:10:45] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-11 16:10:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117646910948376576,"km_value":117646910948376.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992632950092457984,"description":"Unknown IO ID 45"} 
[2026-08-11 16:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329878784001,"power":13200,"unknown_192":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8992632950092457984}} 
[2026-08-11 16:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":153607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:10:45] local.INFO: GPS data processed {"connection_id":153607,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:10:45] local.INFO: Acknowledgment sent {"connection_id":153607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":155002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625684,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:10:45] local.INFO: GPS data processed {"connection_id":155002,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:10:45] local.INFO: Acknowledgment sent {"connection_id":155002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:10:45] local.INFO: Packet analysis {"connection_id":155002,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff068"} 
[2026-08-11 16:10:45] local.INFO: Extracted packet for processing {"connection_id":155002,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff068"} 
[2026-08-11 16:10:45] local.INFO: GPS Element Parsed {"raw_longitude":755786752,"raw_latitude":117775144,"longitude_deg":75.5786752,"latitude_deg":11.7775144,"altitude":34,"angle":340,"satellites":24,"speed":18,"hex_longitude":"2d0c6400","hex_latitude":"07051b28","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329868544001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27661766934659072,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893753449950382080,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:45] 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-08-11 16:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786444819000,"timestamp_ms":1786444819000,"timestamp_seconds":1786444819,"priority":1,"record_length":96,"hex_timestamp":"0000019ff068aa38"} 
[2026-08-11 16:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:10:45] 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-08-11 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 16:10:45] 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-08-11 16: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-08-11 16:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155002,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155002,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329868544001,"66":14548,"95":206,"94":10240,"24":18,"16":27661766934659072,"45":893753449950382080},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-11 16:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329868544001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:10:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:10:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27661766934659072,"km_value":27661766934659.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":893753449950382080,"description":"Unknown IO ID 45"} 
[2026-08-11 16:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329868544001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":893753449950382080}} 
[2026-08-11 16:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":155002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625685,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:10:46] local.INFO: GPS data processed {"connection_id":155002,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:10:46] local.INFO: Acknowledgment sent {"connection_id":155002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:10:46] local.INFO: Packet analysis {"connection_id":155002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff068"} 
[2026-08-11 16:10:46] local.INFO: Extracted packet for processing {"connection_id":155002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff068"} 
[2026-08-11 16:10:46] local.INFO: GPS Element Parsed {"raw_longitude":755786240,"raw_latitude":117777296,"longitude_deg":75.578624,"latitude_deg":11.7777296,"altitude":33,"angle":353,"satellites":25,"speed":22,"hex_longitude":"2d0c6200","hex_latitude":"07052390","is_valid_coordinates":true} 
[2026-08-11 16:10: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-08-11 16:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329873664001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27661874308841472,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892838656276637696,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:46] 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-08-11 16:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786444823000,"timestamp_ms":1786444823000,"timestamp_seconds":1786444823,"priority":1,"record_length":96,"hex_timestamp":"0000019ff068b9d8"} 
[2026-08-11 16:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:10:46] 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-08-11 16:10: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 16:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16:10: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-08-11 16:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":155002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":155002,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":155002,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329873664001,"66":14135,"95":206,"94":10240,"24":22,"16":27661874308841472,"45":892838656276637696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-11 16:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329873664001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:10:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:10:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27661874308841472,"km_value":27661874308841.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":892838656276637696,"description":"Unknown IO ID 45"} 
[2026-08-11 16:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329873664001,"power":14135,"unknown_95":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":892838656276637696}} 
[2026-08-11 16:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":155002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625686,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:10:46] local.INFO: GPS data processed {"connection_id":155002,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:10:46] local.INFO: Acknowledgment sent {"connection_id":155002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:10:47] local.INFO: TCP Data received {"connection_id":153608,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0669ec8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0669ec8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:10:47] local.INFO: Processing buffer {"connection_id":153608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0669ec8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:10:47] local.INFO: Packet analysis {"connection_id":153608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:10:47] local.INFO: Extracted packet for processing {"connection_id":153608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:10:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329833984001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:10:47] 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-08-11 16:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786444685000,"timestamp_ms":1786444685000,"timestamp_seconds":1786444685,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0669ec8"} 
[2026-08-11 16:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:10:47] 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-08-11 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:10:47] 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-08-11 16: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-08-11 16:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329833984001,"66":12515,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329833984001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:10:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:10:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329833984001,"power":12515,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":153608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:10:47] local.INFO: GPS data processed {"connection_id":153608,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:10:47] local.INFO: Acknowledgment sent {"connection_id":153608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:11:12] local.INFO: TCP Data received {"connection_id":152291,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:11:12] local.INFO: Processing buffer {"connection_id":152291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:11:12] local.INFO: IMEI packet received {"connection_id":152291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":152291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:11:13] local.INFO: TCP Data received {"connection_id":152291,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:11:13] local.INFO: Processing buffer {"connection_id":152291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:11:13] local.INFO: IMEI packet received {"connection_id":152291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":152291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:11:14] local.INFO: TCP Data received {"connection_id":152291,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0690028012d7cca0005e9bd380000011e29..."} 
[2026-08-11 16:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0690028012d7cca0005e9bd380000011e29..."} 
[2026-08-11 16:11:14] local.INFO: Processing buffer {"connection_id":152291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0690028012d7cca0005e9bd380000011e29..."} 
[2026-08-11 16:11:14] local.INFO: Packet analysis {"connection_id":152291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:11:14] local.INFO: Extracted packet for processing {"connection_id":152291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:11:14] local.INFO: GPS Element Parsed {"raw_longitude":763152896,"raw_latitude":99204408,"longitude_deg":76.3152896,"latitude_deg":9.9204408,"altitude":0,"angle":286,"satellites":41,"speed":12,"hex_longitude":"2d7cca00","hex_latitude":"05e9bd38","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329879040001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117646928128245760,"note":"Value kept but may cause issues"} 
[2026-08-11 16:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992351475115806720,"note":"Value kept but may cause issues"} 
[2026-08-11 16:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786444841000,"timestamp_ms":1786444841000,"timestamp_seconds":1786444841,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0690028"} 
[2026-08-11 16:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:11:14] 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-08-11 16: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-11 16:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329879040001,"66":13200,"192":206,"87":13824,"24":12,"16":117646928128245760,"45":8992351475115806720},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-11 16:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329879040001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:11:14] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-11 16:11:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117646928128245760,"km_value":117646928128245.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992351475115806720,"description":"Unknown IO ID 45"} 
[2026-08-11 16:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329879040001,"power":13200,"unknown_192":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8992351475115806720}} 
[2026-08-11 16:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":152291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:11:14] local.INFO: GPS data processed {"connection_id":152291,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:11:14] local.INFO: Acknowledgment sent {"connection_id":152291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:11:15] local.INFO: TCP Data received {"connection_id":152660,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:11:15] local.INFO: Processing buffer {"connection_id":152660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:11:15] local.INFO: IMEI packet received {"connection_id":152660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":152660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:11:17] local.INFO: TCP Data received {"connection_id":152291,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0690410012d7cc84005e9bd300000010a29..."} 
[2026-08-11 16:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0690410012d7cc84005e9bd300000010a29..."} 
[2026-08-11 16:11:17] local.INFO: Processing buffer {"connection_id":152291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0690410012d7cc84005e9bd300000010a29..."} 
[2026-08-11 16:11:17] local.INFO: Packet analysis {"connection_id":152291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:11:17] local.INFO: Extracted packet for processing {"connection_id":152291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:11:17] local.INFO: GPS Element Parsed {"raw_longitude":763152448,"raw_latitude":99204400,"longitude_deg":76.3152448,"latitude_deg":9.92044,"altitude":0,"angle":266,"satellites":41,"speed":16,"hex_longitude":"2d7cc840","hex_latitude":"05e9bd30","is_valid_coordinates":true} 
[2026-08-11 16:11: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-08-11 16:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329879296001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117646949603082240,"note":"Value kept but may cause issues"} 
[2026-08-11 16:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991999631394945024,"note":"Value kept but may cause issues"} 
[2026-08-11 16:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786444842000,"timestamp_ms":1786444842000,"timestamp_seconds":1786444842,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0690410"} 
[2026-08-11 16:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:11:17] 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-08-11 16:11: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-11 16:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16:11: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-08-11 16:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329879296001,"66":13319,"192":206,"87":13824,"24":16,"16":117646949603082240,"45":8991999631394945024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-11 16:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329879296001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:11:17] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-11 16:11:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117646949603082240,"km_value":117646949603082.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991999631394945024,"description":"Unknown IO ID 45"} 
[2026-08-11 16:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329879296001,"power":13319,"unknown_192":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8991999631394945024}} 
[2026-08-11 16:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":152291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:11:17] local.INFO: GPS data processed {"connection_id":152291,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:11:17] local.INFO: Acknowledgment sent {"connection_id":152291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:11:20] local.INFO: TCP Data received {"connection_id":152660,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:11:20] local.INFO: Processing buffer {"connection_id":152660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:11:20] local.INFO: IMEI packet received {"connection_id":152660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":152660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:11:21] local.INFO: TCP Data received {"connection_id":152660,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff066f0d0012d1968c0071fee68003e011c2c..."} 
[2026-08-11 16:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff066f0d0012d1968c0071fee68003e011c2c..."} 
[2026-08-11 16:11:21] local.INFO: Processing buffer {"connection_id":152660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff066f0d0012d1968c0071fee68003e011c2c..."} 
[2026-08-11 16:11:21] local.INFO: Packet analysis {"connection_id":152660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:11:21] local.INFO: Extracted packet for processing {"connection_id":152660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff066"} 
[2026-08-11 16:11:21] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329839360001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:11:21] 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-08-11 16:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786444706000,"timestamp_ms":1786444706000,"timestamp_seconds":1786444706,"priority":1,"record_length":96,"hex_timestamp":"0000019ff066f0d0"} 
[2026-08-11 16:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:11:21] 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-08-11 16: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-11 16:11:21] 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-08-11 16: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-08-11 16:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329839360001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329839360001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:11:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:11:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329839360001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":152660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:11:21] local.INFO: GPS data processed {"connection_id":152660,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:11:21] local.INFO: Acknowledgment sent {"connection_id":152660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:11:25] local.INFO: TCP Data received {"connection_id":152660,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06742d8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06742d8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:11:25] local.INFO: Processing buffer {"connection_id":152660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06742d8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:11:25] local.INFO: Packet analysis {"connection_id":152660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:11:25] local.INFO: Extracted packet for processing {"connection_id":152660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:11:25] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329844736001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:11: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-08-11 16:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786444727000,"timestamp_ms":1786444727000,"timestamp_seconds":1786444727,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06742d8"} 
[2026-08-11 16:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:11: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-08-11 16: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":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:11: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-08-11 16: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-08-11 16:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329844736001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329844736001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:11:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:11:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329844736001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":152660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:11:25] local.INFO: GPS data processed {"connection_id":152660,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:11:25] local.INFO: Acknowledgment sent {"connection_id":152660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:11:27] local.INFO: TCP Data received {"connection_id":153610,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153610,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:11:27] local.INFO: Processing buffer {"connection_id":153610,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:11:27] local.INFO: IMEI packet received {"connection_id":153610,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":153610,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:11:32] local.INFO: TCP Data received {"connection_id":153610,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153610,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:11:32] local.INFO: Processing buffer {"connection_id":153610,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:11:32] local.INFO: IMEI packet received {"connection_id":153610,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":153610,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:11:33] local.INFO: TCP Data received {"connection_id":153610,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0699498012d0c3b8007057e800018001219..."} 
[2026-08-11 16:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0699498012d0c3b8007057e800018001219..."} 
[2026-08-11 16:11:33] local.INFO: Processing buffer {"connection_id":153610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0699498012d0c3b8007057e800018001219..."} 
[2026-08-11 16:11:33] local.INFO: Packet analysis {"connection_id":153610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:11:33] local.INFO: Extracted packet for processing {"connection_id":153610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:11:33] local.INFO: GPS Element Parsed {"raw_longitude":755776384,"raw_latitude":117800576,"longitude_deg":75.5776384,"latitude_deg":11.7800576,"altitude":24,"angle":18,"satellites":25,"speed":9,"hex_longitude":"2d0c3b80","hex_latitude":"07057e80","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329888768001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27663119849357312,"note":"Value kept but may cause issues"} 
[2026-08-11 16:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881368550982135808,"note":"Value kept but may cause issues"} 
[2026-08-11 16:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786444879000,"timestamp_ms":1786444879000,"timestamp_seconds":1786444879,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0699498"} 
[2026-08-11 16:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:11:33] 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-08-11 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 16:11:33] 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-08-11 16: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-08-11 16:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":153610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":153610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":153610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329888768001,"66":14461,"164":206,"94":10240,"24":9,"16":27663119849357312,"45":881368550982135808},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-11 16:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329888768001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:11:33] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-11 16:11:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27663119849357312,"km_value":27663119849357.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":881368550982135808,"description":"Unknown IO ID 45"} 
[2026-08-11 16:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329888768001,"power":14461,"unknown_164":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":881368550982135808}} 
[2026-08-11 16:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":153610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625692,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:11:33] local.INFO: GPS data processed {"connection_id":153610,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:11:33] local.INFO: Acknowledgment sent {"connection_id":153610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:12:00] local.INFO: TCP Data received {"connection_id":152291,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0691b80012d7cbf0005e9bce00000012529..."} 
[2026-08-11 16:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0691b80012d7cbf0005e9bce00000012529..."} 
[2026-08-11 16:12:00] local.INFO: Processing buffer {"connection_id":152291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0691b80012d7cbf0005e9bce00000012529..."} 
[2026-08-11 16:12:00] local.INFO: Packet analysis {"connection_id":152291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:12:00] local.INFO: Extracted packet for processing {"connection_id":152291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763150080,"raw_latitude":99204320,"longitude_deg":76.315008,"latitude_deg":9.920432,"altitude":0,"angle":293,"satellites":41,"speed":11,"hex_longitude":"2d7cbf00","hex_latitude":"05e9bce0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329879552001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117647065567199232,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991507050185699328,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786444848000,"timestamp_ms":1786444848000,"timestamp_seconds":1786444848,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0691b80"} 
[2026-08-11 16:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:12:00] 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-08-11 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 16:12:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:00] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":973078528,"corrected_to":0} 
[2026-08-11 16:12:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4033407160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:00] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-5350276357295232000,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-08-11 16:12:00] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2684431740,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:00] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2147871159,"corrected_to":0} 
[2026-08-11 16:12:00] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085590,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:00] local.WARNING: Large IO value detected {"io_id":161,"raw_value":4147052544,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921065984,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:00] local.WARNING: Large IO value detected {"io_id":3,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:00] local.WARNING: Large IO value detected {"io_id":104,"raw_value":-1959064543027216379,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:00] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,192,87,24,241,157,16,247,159,45,189,41,10,66,252,64,188,42,248,1,240,7,227,233,4,113,205,13,236,204,44,239,50,2,161,5,3,104],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":247,"original":973078528,"validated":0},{"io_id":205,"original":1455423694,"validated":0},{"io_id":204,"original":2147871159,"validated":0}]} 
[2026-08-11 16:12:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":292646187696128,"timestamp_seconds":292646187696.128,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329879552001,"66":13059,"192":206,"87":13824,"24":11,"16":117647065567199232,"45":8991507050185699328},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-11 16:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329879552001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:12:00] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-11 16:12:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117647065567199232,"km_value":117647065567199.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991507050185699328,"description":"Unknown IO ID 45"} 
[2026-08-11 16:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329879552001,"power":13059,"unknown_192":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8991507050185699328}} 
[2026-08-11 16:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":152291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:12:01] local.INFO: GPS data processed {"connection_id":152291,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:12:01] local.INFO: Acknowledgment sent {"connection_id":152291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:12:10] local.INFO: TCP Data received {"connection_id":152661,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:12:10] local.INFO: Processing buffer {"connection_id":152661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:12:10] local.INFO: IMEI packet received {"connection_id":152661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":152661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:12:13] local.INFO: TCP Data received {"connection_id":152662,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:12:13] local.INFO: Processing buffer {"connection_id":152662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:12:13] local.INFO: IMEI packet received {"connection_id":152662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":152662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:12:13] local.INFO: TCP Data received {"connection_id":152661,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:12:13] local.INFO: Processing buffer {"connection_id":152661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:12:13] local.INFO: IMEI packet received {"connection_id":152661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":152661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:12:14] local.INFO: TCP Data received {"connection_id":152661,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06794e0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06794e0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:12:14] local.INFO: Processing buffer {"connection_id":152661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06794e0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:12:14] local.INFO: Packet analysis {"connection_id":152661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:12:14] local.INFO: Extracted packet for processing {"connection_id":152661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:12:14] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329850112001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:14] 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-08-11 16:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786444748000,"timestamp_ms":1786444748000,"timestamp_seconds":1786444748,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06794e0"} 
[2026-08-11 16:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:12:14] 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-08-11 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:12:14] 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-08-11 16: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-08-11 16:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329850112001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329850112001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:12:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:12:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329850112001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":152661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:12:14] local.INFO: GPS data processed {"connection_id":152661,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:12:14] local.INFO: Acknowledgment sent {"connection_id":152661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:12:18] local.INFO: TCP Data received {"connection_id":152662,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:12:19] local.INFO: Processing buffer {"connection_id":152662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:12:19] local.INFO: IMEI packet received {"connection_id":152662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":152662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:12:19] local.INFO: TCP Data received {"connection_id":152662,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0692738012d7cba4005e9be680000010f2a..."} 
[2026-08-11 16:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0692738012d7cba4005e9be680000010f2a..."} 
[2026-08-11 16:12:19] local.INFO: Processing buffer {"connection_id":152662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0692738012d7cba4005e9be680000010f2a..."} 
[2026-08-11 16:12:19] local.INFO: Packet analysis {"connection_id":152662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:12:19] local.INFO: Extracted packet for processing {"connection_id":152662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:12:19] local.INFO: GPS Element Parsed {"raw_longitude":763148864,"raw_latitude":99204712,"longitude_deg":76.3148864,"latitude_deg":9.9204712,"altitude":0,"angle":271,"satellites":42,"speed":18,"hex_longitude":"2d7cba40","hex_latitude":"05e9be68","is_valid_coordinates":true} 
[2026-08-11 16:12: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-08-11 16:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329881088001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117647125696741376,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988903406651105280,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786444851000,"timestamp_ms":1786444851000,"timestamp_seconds":1786444851,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0692738"} 
[2026-08-11 16:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:12:19] 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-08-11 16:12: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":3,"data_length":795,"current_offset":136} 
[2026-08-11 16:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595350,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:19] local.WARNING: Large IO value detected {"io_id":192,"raw_value":58079734643818508,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:19] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":1040187392,"corrected_to":0} 
[2026-08-11 16:12:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4033408160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:19] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3152543744,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-08-11 16:12:19] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2147871162,"corrected_to":0} 
[2026-08-11 16:12:19] local.WARNING: Large IO value detected {"io_id":161,"raw_value":4147576832,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921145856,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:19] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,192,87,24,241,157,16,247,159,4,45,64,189,41,10,66,252,1,240,144,227,233,113,205,12,244,204,42,239,52,2,161,5],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":247,"original":1040187392,"validated":0},{"io_id":205,"original":1455423694,"validated":0},{"io_id":204,"original":2147871162,"validated":0}]} 
[2026-08-11 16:12:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":322333001318400,"timestamp_seconds":322333001318.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329881088001,"66":13472,"192":206,"87":13824,"24":18,"16":117647125696741376,"45":8988903406651105280},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-11 16:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329881088001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:12:19] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-11 16:12:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117647125696741376,"km_value":117647125696741.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988903406651105280,"description":"Unknown IO ID 45"} 
[2026-08-11 16:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329881088001,"power":13472,"unknown_192":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8988903406651105280}} 
[2026-08-11 16:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":152662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:12:19] local.INFO: GPS data processed {"connection_id":152662,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:12:19] local.INFO: Acknowledgment sent {"connection_id":152662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:12:20] local.INFO: TCP Data received {"connection_id":152662,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0692f08012d7cb64005e9be38000001042a..."} 
[2026-08-11 16:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0692f08012d7cb64005e9be38000001042a..."} 
[2026-08-11 16:12:20] local.INFO: Processing buffer {"connection_id":152662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0692f08012d7cb64005e9be38000001042a..."} 
[2026-08-11 16:12:20] local.INFO: Packet analysis {"connection_id":152662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:12:20] local.INFO: Extracted packet for processing {"connection_id":152662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:12:20] local.INFO: GPS Element Parsed {"raw_longitude":763147840,"raw_latitude":99204664,"longitude_deg":76.314784,"latitude_deg":9.9204664,"altitude":0,"angle":260,"satellites":42,"speed":18,"hex_longitude":"2d7cb640","hex_latitude":"05e9be38","is_valid_coordinates":true} 
[2026-08-11 16:12: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-08-11 16:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329881856001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117647177236348928,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987566400511830016,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786444853000,"timestamp_ms":1786444853000,"timestamp_seconds":1786444853,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0692f08"} 
[2026-08-11 16:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:12:20] 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-08-11 16:12: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":160,"data_length":795,"current_offset":136} 
[2026-08-11 16:12:20] 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-08-11 16:12: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-08-11 16:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329881856001,"66":13004,"192":206,"87":13824,"24":18,"16":117647177236348928,"45":8987566400511830016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-11 16:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329881856001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:12:20] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-11 16:12:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117647177236348928,"km_value":117647177236348.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987566400511830016,"description":"Unknown IO ID 45"} 
[2026-08-11 16:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329881856001,"power":13004,"unknown_192":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8987566400511830016}} 
[2026-08-11 16:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":152662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:12:20] local.INFO: GPS data processed {"connection_id":152662,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:12:20] local.INFO: Acknowledgment sent {"connection_id":152662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:12:45] local.INFO: TCP Data received {"connection_id":152661,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff067e6e8012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff067e6e8012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:12:45] local.INFO: Processing buffer {"connection_id":152661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff067e6e8012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:12:45] local.INFO: Packet analysis {"connection_id":152661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:12:45] local.INFO: Extracted packet for processing {"connection_id":152661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff067"} 
[2026-08-11 16:12:45] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:12: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-08-11 16:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329855488001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:45] 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-08-11 16:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786444769000,"timestamp_ms":1786444769000,"timestamp_seconds":1786444769,"priority":1,"record_length":96,"hex_timestamp":"0000019ff067e6e8"} 
[2026-08-11 16:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:12:45] 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-08-11 16:12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:12:45] 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-08-11 16:12: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-08-11 16:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329855488001,"66":11895,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329855488001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:12:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:12:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329855488001,"power":11895,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":152661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:12:45] local.INFO: GPS data processed {"connection_id":152661,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:12:45] local.INFO: Acknowledgment sent {"connection_id":152661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:12:52] local.INFO: TCP Data received {"connection_id":152662,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0695618012d7ca3c005e9bba0000000f92a..."} 
[2026-08-11 16:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0695618012d7ca3c005e9bba0000000f92a..."} 
[2026-08-11 16:12:52] local.INFO: Processing buffer {"connection_id":152662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0695618012d7ca3c005e9bba0000000f92a..."} 
[2026-08-11 16:12:52] local.INFO: Packet analysis {"connection_id":152662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:12:52] local.INFO: Extracted packet for processing {"connection_id":152662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:12:52] local.INFO: GPS Element Parsed {"raw_longitude":763143104,"raw_latitude":99204000,"longitude_deg":76.3143104,"latitude_deg":9.9204,"altitude":0,"angle":249,"satellites":42,"speed":15,"hex_longitude":"2d7ca3c0","hex_latitude":"05e9bba0","is_valid_coordinates":true} 
[2026-08-11 16:12: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-08-11 16:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329882368001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117647404869615616,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986440500604975104,"note":"Value kept but may cause issues"} 
[2026-08-11 16:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786444863000,"timestamp_ms":1786444863000,"timestamp_seconds":1786444863,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0695618"} 
[2026-08-11 16:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:12:52] 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-08-11 16:12: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-08-11 16:12: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-08-11 16:12: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-08-11 16:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329882368001,"66":13319,"192":206,"87":13824,"24":15,"16":117647404869615616,"45":8986440500604975104},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-11 16:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329882368001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:12:52] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-11 16:12:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117647404869615616,"km_value":117647404869615.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986440500604975104,"description":"Unknown IO ID 45"} 
[2026-08-11 16:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329882368001,"power":13319,"unknown_192":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8986440500604975104}} 
[2026-08-11 16:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":152662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:12:52] local.INFO: GPS data processed {"connection_id":152662,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:12:52] local.INFO: Acknowledgment sent {"connection_id":152662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:13:10] local.INFO: TCP Data received {"connection_id":152293,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:13:10] local.INFO: Processing buffer {"connection_id":152293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:13:10] local.INFO: IMEI packet received {"connection_id":152293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":152293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:13:15] local.INFO: TCP Data received {"connection_id":152293,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:13:15] local.INFO: Processing buffer {"connection_id":152293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:13:15] local.INFO: IMEI packet received {"connection_id":152293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":152293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:13:15] local.INFO: TCP Data received {"connection_id":152292,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:13:15] local.INFO: Processing buffer {"connection_id":152292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:13:15] local.INFO: IMEI packet received {"connection_id":152292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":152292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:13:16] local.INFO: TCP Data received {"connection_id":152293,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06838f0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06838f0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:13:16] local.INFO: Processing buffer {"connection_id":152293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06838f0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:13:16] local.INFO: Packet analysis {"connection_id":152293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff068"} 
[2026-08-11 16:13:16] local.INFO: Extracted packet for processing {"connection_id":152293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff068"} 
[2026-08-11 16:13:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329860864001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:16] 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-08-11 16:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786444790000,"timestamp_ms":1786444790000,"timestamp_seconds":1786444790,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06838f0"} 
[2026-08-11 16:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:13: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-08-11 16: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 16:13:16] 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-08-11 16: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-08-11 16:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329860864001,"66":12439,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329860864001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:13:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:13:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329860864001,"power":12439,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":152293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:13:16] local.INFO: GPS data processed {"connection_id":152293,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:13:16] local.INFO: Acknowledgment sent {"connection_id":152293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:13:17] local.INFO: TCP Data received {"connection_id":152292,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:13:17] local.INFO: Processing buffer {"connection_id":152292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:13:17] local.INFO: IMEI packet received {"connection_id":152292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":152292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:13:19] local.INFO: TCP Data received {"connection_id":152292,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06984f8012d7c9c4005e9b9c0000001042c..."} 
[2026-08-11 16:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06984f8012d7c9c4005e9b9c0000001042c..."} 
[2026-08-11 16:13:19] local.INFO: Processing buffer {"connection_id":152292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06984f8012d7c9c4005e9b9c0000001042c..."} 
[2026-08-11 16:13:19] local.INFO: Packet analysis {"connection_id":152292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:13:19] local.INFO: Extracted packet for processing {"connection_id":152292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:13:19] local.INFO: GPS Element Parsed {"raw_longitude":763141184,"raw_latitude":99203520,"longitude_deg":76.3141184,"latitude_deg":9.920352,"altitude":0,"angle":260,"satellites":44,"speed":9,"hex_longitude":"2d7c9c40","hex_latitude":"05e9b9c0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329884928001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117647507948830720,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981233213535657984,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786444875000,"timestamp_ms":1786444875000,"timestamp_seconds":1786444875,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06984f8"} 
[2026-08-11 16:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:13:19] 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-08-11 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 16:13:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:19] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":1644167168,"corrected_to":0} 
[2026-08-11 16:13:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4033412160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:19] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-4906671793998321408,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-08-11 16:13:19] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":387517,"corrected_to":0} 
[2026-08-11 16:13:19] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2415971670,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:19] local.WARNING: Large IO value detected {"io_id":161,"raw_value":4148297728,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921465344,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:19] local.WARNING: Large IO value detected {"io_id":144,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:19] local.WARNING: Large IO value detected {"io_id":104,"raw_value":-551689659473969147,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,192,87,24,241,157,16,247,159,47,45,64,190,42,10,66,39,27,1,240,3,227,233,4,113,205,202,56,41,239,51,2,161,5,11,144,104],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":247,"original":1644167168,"validated":0},{"io_id":205,"original":1455423694,"validated":0},{"io_id":202,"original":387517,"validated":0}]} 
[2026-08-11 16:13:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":273958784925696,"timestamp_seconds":273958784925.696,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329884928001,"66":13178,"192":206,"87":13824,"24":9,"16":117647507948830720,"45":8981233213535657984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-11 16:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329884928001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:13:19] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-11 16:13:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117647507948830720,"km_value":117647507948830.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981233213535657984,"description":"Unknown IO ID 45"} 
[2026-08-11 16:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329884928001,"power":13178,"unknown_192":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8981233213535657984}} 
[2026-08-11 16:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":152292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:13:19] local.INFO: GPS data processed {"connection_id":152292,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:13:19] local.INFO: Acknowledgment sent {"connection_id":152292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:13:20] local.INFO: TCP Data received {"connection_id":152292,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0699c68012d7c950005e9b870000000f42c..."} 
[2026-08-11 16:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0699c68012d7c950005e9b870000000f42c..."} 
[2026-08-11 16:13:20] local.INFO: Processing buffer {"connection_id":152292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0699c68012d7c950005e9b870000000f42c..."} 
[2026-08-11 16:13:20] local.INFO: Packet analysis {"connection_id":152292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:13:20] local.INFO: Extracted packet for processing {"connection_id":152292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:13:20] local.INFO: GPS Element Parsed {"raw_longitude":763139328,"raw_latitude":99203184,"longitude_deg":76.3139328,"latitude_deg":9.9203184,"altitude":0,"angle":244,"satellites":44,"speed":14,"hex_longitude":"2d7c9500","hex_latitude":"05e9b870","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329888000001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117647598143143936,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979122151210205184,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786444881000,"timestamp_ms":1786444881000,"timestamp_seconds":1786444881,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0699c68"} 
[2026-08-11 16:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:13:20] 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-08-11 16: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 16:13:20] 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-08-11 16: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-08-11 16:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329888000001,"66":13091,"192":206,"87":13824,"24":14,"16":117647598143143936,"45":8979122151210205184},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-11 16:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329888000001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:13:20] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-11 16:13:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117647598143143936,"km_value":117647598143143.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979122151210205184,"description":"Unknown IO ID 45"} 
[2026-08-11 16:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329888000001,"power":13091,"unknown_192":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8979122151210205184}} 
[2026-08-11 16:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":152292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:13:20] local.INFO: GPS data processed {"connection_id":152292,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:13:20] local.INFO: Acknowledgment sent {"connection_id":152292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:13:47] local.INFO: TCP Data received {"connection_id":152293,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0688af8012d1968c0071fee68003e011c2c..."} 
[2026-08-11 16:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0688af8012d1968c0071fee68003e011c2c..."} 
[2026-08-11 16:13:47] local.INFO: Processing buffer {"connection_id":152293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0688af8012d1968c0071fee68003e011c2c..."} 
[2026-08-11 16:13:47] local.INFO: Packet analysis {"connection_id":152293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff068"} 
[2026-08-11 16:13:47] local.INFO: Extracted packet for processing {"connection_id":152293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff068"} 
[2026-08-11 16:13:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329866240001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:47] 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-08-11 16:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786444811000,"timestamp_ms":1786444811000,"timestamp_seconds":1786444811,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0688af8"} 
[2026-08-11 16:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:13:47] 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-08-11 16: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-11 16:13:47] 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-08-11 16: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-08-11 16:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329866240001,"66":12428,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329866240001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:13:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:13:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329866240001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":152293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:13:47] local.INFO: GPS data processed {"connection_id":152293,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:13:47] local.INFO: Acknowledgment sent {"connection_id":152293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:13:51] local.INFO: TCP Data received {"connection_id":152292,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff069d700012d7c8c0005e9b448000000a82c..."} 
[2026-08-11 16:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff069d700012d7c8c0005e9b448000000a82c..."} 
[2026-08-11 16:13:51] local.INFO: Processing buffer {"connection_id":152292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff069d700012d7c8c0005e9b448000000a82c..."} 
[2026-08-11 16:13:51] local.INFO: Packet analysis {"connection_id":152292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:13:51] local.INFO: Extracted packet for processing {"connection_id":152292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:13:51] local.INFO: GPS Element Parsed {"raw_longitude":763137024,"raw_latitude":99202120,"longitude_deg":76.3137024,"latitude_deg":9.920212,"altitude":0,"angle":168,"satellites":44,"speed":7,"hex_longitude":"2d7c8c00","hex_latitude":"05e9b448","is_valid_coordinates":true} 
[2026-08-11 16:13: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-08-11 16:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329889536001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117647726992162816,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977081457628966912,"note":"Value kept but may cause issues"} 
[2026-08-11 16:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786444896000,"timestamp_ms":1786444896000,"timestamp_seconds":1786444896,"priority":1,"record_length":96,"hex_timestamp":"0000019ff069d700"} 
[2026-08-11 16:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:13:51] 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-08-11 16:13: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-11 16:13:51] 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-08-11 16:13: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-08-11 16:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329889536001,"66":13559,"192":206,"87":13824,"24":7,"16":117647726992162816,"45":8977081457628966912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-11 16:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329889536001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:13:51] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-11 16:13:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117647726992162816,"km_value":117647726992162.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977081457628966912,"description":"Unknown IO ID 45"} 
[2026-08-11 16:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329889536001,"power":13559,"unknown_192":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8977081457628966912}} 
[2026-08-11 16:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":152292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:13:51] local.INFO: GPS data processed {"connection_id":152292,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:13:51] local.INFO: Acknowledgment sent {"connection_id":152292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:14:10] local.INFO: TCP Data received {"connection_id":152664,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:14:10] local.INFO: Processing buffer {"connection_id":152664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:14:10] local.INFO: IMEI packet received {"connection_id":152664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":152664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:14:13] local.INFO: TCP Data received {"connection_id":152663,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:14:13] local.INFO: Processing buffer {"connection_id":152663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:14:13] local.INFO: IMEI packet received {"connection_id":152663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":152663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:14:13] local.INFO: TCP Data received {"connection_id":152663,"ip":"42.106.6.38","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 16:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152663,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 16:14:13] local.INFO: Processing buffer {"connection_id":152663,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 16:14:13] local.INFO: IMEI packet received {"connection_id":152663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":152663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:14:15] local.INFO: TCP Data received {"connection_id":152664,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:14:15] local.INFO: Processing buffer {"connection_id":152664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:14:15] local.INFO: IMEI packet received {"connection_id":152664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":152664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:14:16] local.INFO: TCP Data received {"connection_id":152663,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06bbb60012d7c1f0005e96f50000400f82c..."} 
[2026-08-11 16:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06bbb60012d7c1f0005e96f50000400f82c..."} 
[2026-08-11 16:14:16] local.INFO: Processing buffer {"connection_id":152663,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019ff0..."} 
[2026-08-11 16:14:16] local.INFO: IMEI packet received {"connection_id":152663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":152663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:14:16] local.INFO: TCP Data received {"connection_id":152664,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff068dd00012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff068dd00012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:14:16] local.INFO: Processing buffer {"connection_id":152664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff068dd00012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:14:16] local.INFO: Packet analysis {"connection_id":152664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff068"} 
[2026-08-11 16:14:16] local.INFO: Extracted packet for processing {"connection_id":152664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff068"} 
[2026-08-11 16:14:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329871616001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:16] 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-08-11 16:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786444832000,"timestamp_ms":1786444832000,"timestamp_seconds":1786444832,"priority":1,"record_length":96,"hex_timestamp":"0000019ff068dd00"} 
[2026-08-11 16:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16: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-08-11 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 16:14:16] 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-08-11 16: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-08-11 16:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329871616001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329871616001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:14:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:14:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329871616001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":152664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:14:16] local.INFO: GPS data processed {"connection_id":152664,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:14:16] local.INFO: Acknowledgment sent {"connection_id":152664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:14:18] local.INFO: TCP Data received {"connection_id":152663,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06bee28012d7bfd4005e962a0000600fb2d..."} 
[2026-08-11 16:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06bee28012d7bfd4005e962a0000600fb2d..."} 
[2026-08-11 16:14:18] local.INFO: Processing buffer {"connection_id":152663,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ff06bbb60012d7c1f0005e96f50000400f82c..."} 
[2026-08-11 16:14:18] local.INFO: Packet analysis {"connection_id":152663,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff06b"} 
[2026-08-11 16:14:18] local.INFO: Extracted packet for processing {"connection_id":152663,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06b"} 
[2026-08-11 16:14:18] local.INFO: GPS Element Parsed {"raw_longitude":763109120,"raw_latitude":99184464,"longitude_deg":76.310912,"latitude_deg":9.9184464,"altitude":4,"angle":248,"satellites":44,"speed":21,"hex_longitude":"2d7c1f00","hex_latitude":"05e96f50","is_valid_coordinates":true} 
[2026-08-11 16:14: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-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329920256001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117649548058296320,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953296822092910592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786445020000,"timestamp_ms":1786445020000,"timestamp_seconds":1786445020,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06bbb60"} 
[2026-08-11 16:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:14:18] 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-08-11 16:14: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4033496160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":248,"raw_value":2432696320,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-7232781001542849280,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":143,"raw_value":3221612955,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029974,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":161,"raw_value":4165533696,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3919271936,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":238,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":106,"raw_value":4645464310507700229,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,156,87,24,241,157,16,249,159,35,45,138,44,10,66,192,248,209,64,147,205,1,240,166,227,233,4,113,72,143,32,239,48,2,161,5,238,106],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0}]} 
[2026-08-11 16:14:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":272859273887744,"timestamp_seconds":272859273887.744,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329920256001,"66":13363,"156":206,"87":13824,"24":21,"16":117649548058296320,"45":8953296822092910592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-11 16:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329920256001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:14:18] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 16:14:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117649548058296320,"km_value":117649548058296.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953296822092910592,"description":"Unknown IO ID 45"} 
[2026-08-11 16:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329920256001,"power":13363,"unknown_156":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8953296822092910592}} 
[2026-08-11 16:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":152663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:14:18] local.INFO: GPS data processed {"connection_id":152663,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:14:18] local.INFO: Acknowledgment sent {"connection_id":152663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:14:18] local.INFO: Packet analysis {"connection_id":152663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06b"} 
[2026-08-11 16:14:18] local.INFO: Extracted packet for processing {"connection_id":152663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06b"} 
[2026-08-11 16:14:18] local.INFO: GPS Element Parsed {"raw_longitude":763100480,"raw_latitude":99181216,"longitude_deg":76.310048,"latitude_deg":9.9181216,"altitude":6,"angle":251,"satellites":45,"speed":30,"hex_longitude":"2d7bfd40","hex_latitude":"05e962a0","is_valid_coordinates":true} 
[2026-08-11 16:14: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-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329925120001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117649986144960512,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943867410372317184,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786445033000,"timestamp_ms":1786445033000,"timestamp_seconds":1786445033,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06bee28"} 
[2026-08-11 16:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:14:18] 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-08-11 16:14: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 16:14:18] 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-08-11 16:14: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-08-11 16:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329925120001,"66":13189,"156":206,"87":13824,"24":30,"16":117649986144960512,"45":8943867410372317184},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-11 16:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329925120001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:14:18] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 16:14:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117649986144960512,"km_value":117649986144960.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943867410372317184,"description":"Unknown IO ID 45"} 
[2026-08-11 16:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329925120001,"power":13189,"unknown_156":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8943867410372317184}} 
[2026-08-11 16:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":152663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:14:18] local.INFO: GPS data processed {"connection_id":152663,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:14:18] local.INFO: Acknowledgment sent {"connection_id":152663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:14:21] local.INFO: TCP Data received {"connection_id":152663,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06bf9e0012d7bf50005e960f8000501082e..."} 
[2026-08-11 16:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06bf9e0012d7bf50005e960f8000501082e..."} 
[2026-08-11 16:14:21] local.INFO: Processing buffer {"connection_id":152663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06bf9e0012d7bf50005e960f8000501082e..."} 
[2026-08-11 16:14:21] local.INFO: Packet analysis {"connection_id":152663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06b"} 
[2026-08-11 16:14:21] local.INFO: Extracted packet for processing {"connection_id":152663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06b"} 
[2026-08-11 16:14:21] local.INFO: GPS Element Parsed {"raw_longitude":763098368,"raw_latitude":99180792,"longitude_deg":76.3098368,"latitude_deg":9.9180792,"altitude":5,"angle":264,"satellites":46,"speed":26,"hex_longitude":"2d7bf500","hex_latitude":"05e960f8","is_valid_coordinates":true} 
[2026-08-11 16:14: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-08-11 16:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329928448001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117650093519142912,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934367629907501056,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786445036000,"timestamp_ms":1786445036000,"timestamp_seconds":1786445036,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06bf9e0"} 
[2026-08-11 16:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:14:21] 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-08-11 16:14: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-08-11 16:14: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-08-11 16:14: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-08-11 16:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329928448001,"66":13363,"156":206,"87":13824,"24":26,"16":117650093519142912,"45":8934367629907501056},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-11 16:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329928448001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:14:21] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 16:14:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117650093519142912,"km_value":117650093519142.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934367629907501056,"description":"Unknown IO ID 45"} 
[2026-08-11 16:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329928448001,"power":13363,"unknown_156":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8934367629907501056}} 
[2026-08-11 16:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":152663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:14:21] local.INFO: GPS data processed {"connection_id":152663,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:14:21] local.INFO: Acknowledgment sent {"connection_id":152663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:14:50] local.INFO: TCP Data received {"connection_id":152664,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0692f08012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0692f08012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:14:50] local.INFO: Processing buffer {"connection_id":152664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0692f08012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:14:50] local.INFO: Packet analysis {"connection_id":152664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:14:50] local.INFO: Extracted packet for processing {"connection_id":152664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:14: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-08-11 16:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329876992001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:50] 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-08-11 16:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786444853000,"timestamp_ms":1786444853000,"timestamp_seconds":1786444853,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0692f08"} 
[2026-08-11 16:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:14:50] 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-08-11 16:14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:14:50] 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-08-11 16:14: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-08-11 16:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329876992001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329876992001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:14:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329876992001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":152664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:14:50] local.INFO: GPS data processed {"connection_id":152664,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:14:50] local.INFO: Acknowledgment sent {"connection_id":152664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:14:52] local.INFO: TCP Data received {"connection_id":152663,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06c1538012d7be38005e95d68000100fc2e..."} 
[2026-08-11 16:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06c1538012d7be38005e95d68000100fc2e..."} 
[2026-08-11 16:14:52] local.INFO: Processing buffer {"connection_id":152663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06c1538012d7be38005e95d68000100fc2e..."} 
[2026-08-11 16:14:52] local.INFO: Packet analysis {"connection_id":152663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06c"} 
[2026-08-11 16:14:52] local.INFO: Extracted packet for processing {"connection_id":152663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06c"} 
[2026-08-11 16:14:52] local.INFO: GPS Element Parsed {"raw_longitude":763093888,"raw_latitude":99179880,"longitude_deg":76.3093888,"latitude_deg":9.917988,"altitude":1,"angle":252,"satellites":46,"speed":25,"hex_longitude":"2d7be380","hex_latitude":"05e95d68","is_valid_coordinates":true} 
[2026-08-11 16:14: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-08-11 16:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329929216001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117650312562475008,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932045461349529600,"note":"Value kept but may cause issues"} 
[2026-08-11 16:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786445043000,"timestamp_ms":1786445043000,"timestamp_seconds":1786445043,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06c1538"} 
[2026-08-11 16:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:14:52] 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-08-11 16:14: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":51,"data_length":795,"current_offset":136} 
[2026-08-11 16:14:52] 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-08-11 16:14: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-08-11 16:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329929216001,"66":13319,"156":206,"87":13824,"24":25,"16":117650312562475008,"45":8932045461349529600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-11 16:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329929216001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:14:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 16:14:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117650312562475008,"km_value":117650312562475.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932045461349529600,"description":"Unknown IO ID 45"} 
[2026-08-11 16:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329929216001,"power":13319,"unknown_156":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8932045461349529600}} 
[2026-08-11 16:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":152663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:14:52] local.INFO: GPS data processed {"connection_id":152663,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:14:52] local.INFO: Acknowledgment sent {"connection_id":152663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:15:08] local.INFO: TCP Data received {"connection_id":153612,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:15:08] local.INFO: Processing buffer {"connection_id":153612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:15:08] local.INFO: IMEI packet received {"connection_id":153612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":153612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:15:08] local.INFO: TCP Data received {"connection_id":153612,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:15:08] local.INFO: Processing buffer {"connection_id":153612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:15:08] local.INFO: IMEI packet received {"connection_id":153612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":153612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:15:10] local.INFO: TCP Data received {"connection_id":152294,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:15:10] local.INFO: Processing buffer {"connection_id":152294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:15:10] local.INFO: IMEI packet received {"connection_id":152294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":152294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:15:14] local.INFO: TCP Data received {"connection_id":153612,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:15:14] local.INFO: Processing buffer {"connection_id":153612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:15:14] local.INFO: IMEI packet received {"connection_id":153612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":153612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:15:15] local.INFO: TCP Data received {"connection_id":152294,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:15:15] local.INFO: Processing buffer {"connection_id":152294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:15:15] local.INFO: IMEI packet received {"connection_id":152294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":152294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:15:16] local.INFO: TCP Data received {"connection_id":153612,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06c24d8012d7bd80005e95b20000001092c..."} 
[2026-08-11 16:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06c24d8012d7bd80005e95b20000001092c..."} 
[2026-08-11 16:15:16] local.INFO: Processing buffer {"connection_id":153612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06c24d8012d7bd80005e95b20000001092c..."} 
[2026-08-11 16:15:16] local.INFO: Packet analysis {"connection_id":153612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06c"} 
[2026-08-11 16:15:16] local.INFO: Extracted packet for processing {"connection_id":153612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06c"} 
[2026-08-11 16:15:16] local.INFO: GPS Element Parsed {"raw_longitude":763090944,"raw_latitude":99179296,"longitude_deg":76.3090944,"latitude_deg":9.9179296,"altitude":0,"angle":265,"satellites":44,"speed":28,"hex_longitude":"2d7bd800","hex_latitude":"05e95b20","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329931008001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117650454296395776,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927119649256859648,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786445047000,"timestamp_ms":1786445047000,"timestamp_seconds":1786445047,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06c24d8"} 
[2026-08-11 16:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:15: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-08-11 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 16:15:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4033532160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:16] local.WARNING: Large IO value detected {"io_id":249,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3918731264,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:16] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-7865536749187092992,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469841614,"corrected_to":0} 
[2026-08-11 16:15:16] local.WARNING: Large IO value detected {"io_id":161,"raw_value":4174774272,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:16] local.WARNING: Large IO value detected {"io_id":199,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:16] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-3668180601619857403,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:16] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,156,87,24,241,157,16,250,159,249,45,96,5,46,10,66,238,64,98,6,187,1,240,51,227,233,4,113,205,35,8,44,239,50,192,2,161,199,106],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1469841614,"validated":0}]} 
[2026-08-11 16:15:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72334868538261504,"timestamp_seconds":72334868538261.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329931008001,"66":13243,"156":206,"87":13824,"24":28,"16":117650454296395776,"45":8927119649256859648},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-11 16:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329931008001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:15:16] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 16:15:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117650454296395776,"km_value":117650454296395.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927119649256859648,"description":"Unknown IO ID 45"} 
[2026-08-11 16:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329931008001,"power":13243,"unknown_156":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8927119649256859648}} 
[2026-08-11 16:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":153612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:15:16] local.INFO: GPS data processed {"connection_id":153612,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:15:16] local.INFO: Acknowledgment sent {"connection_id":153612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:15:16] local.INFO: TCP Data received {"connection_id":152294,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0698110012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0698110012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:15:16] local.INFO: Processing buffer {"connection_id":152294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0698110012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:15:16] local.INFO: Packet analysis {"connection_id":152294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:15:16] local.INFO: Extracted packet for processing {"connection_id":152294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329882368001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:16] 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-08-11 16:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786444874000,"timestamp_ms":1786444874000,"timestamp_seconds":1786444874,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0698110"} 
[2026-08-11 16:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:15: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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:15:16] 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-08-11 16: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-08-11 16:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329882368001,"66":12428,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329882368001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:15:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:15:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329882368001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":152294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:15:16] local.INFO: GPS data processed {"connection_id":152294,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:15:16] local.INFO: Acknowledgment sent {"connection_id":152294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:15:29] local.INFO: TCP Data received {"connection_id":152295,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:15:29] local.INFO: Processing buffer {"connection_id":152295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:15:29] local.INFO: IMEI packet received {"connection_id":152295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":152295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:15:30] local.INFO: TCP Data received {"connection_id":152295,"ip":"42.106.6.25","data_length":93,"data_hex":"00000000000000518e010000019ff06b3e60012d9d59c005a59b38000800a92e..."} 
[2026-08-11 16:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152295,"packet_length":93,"packet_hex":"00000000000000518e010000019ff06b3e60012d9d59c005a59b38000800a92e..."} 
[2026-08-11 16:15:30] local.INFO: Processing buffer {"connection_id":152295,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ff06b3e60012d9d59c005a59b38000800a92e..."} 
[2026-08-11 16:15:30] local.INFO: Packet analysis {"connection_id":152295,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ff06b"} 
[2026-08-11 16:15:30] local.INFO: Extracted packet for processing {"connection_id":152295,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ff06b"} 
[2026-08-11 16:15:30] local.INFO: GPS Element Parsed {"raw_longitude":765286848,"raw_latitude":94739256,"longitude_deg":76.5286848,"latitude_deg":9.4739256,"altitude":8,"angle":169,"satellites":46,"speed":44,"hex_longitude":"2d9d59c0","hex_latitude":"05a59b38","is_valid_coordinates":true} 
[2026-08-11 16: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":93,"current_offset":40} 
[2026-08-11 16:15:30] 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-08-11 16:15:30] 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-08-11 16:15:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:15:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 16:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152295,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-11 16:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152295,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-11 16:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152295,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-11 16:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 16:15:30] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 16:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":152295,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 16:15:30] local.ERROR: GPS data processing failed {"connection_id":152295,"error":"No valid data to process"} 
[2026-08-11 16:15:30] local.INFO: Acknowledgment sent {"connection_id":152295,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 16:15:47] local.INFO: TCP Data received {"connection_id":152294,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff069d318012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff069d318012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:15:47] local.INFO: Processing buffer {"connection_id":152294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff069d318012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:15:47] local.INFO: Packet analysis {"connection_id":152294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:15:47] local.INFO: Extracted packet for processing {"connection_id":152294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff069"} 
[2026-08-11 16:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:15: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-08-11 16:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329887744001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:47] 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-08-11 16:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786444895000,"timestamp_ms":1786444895000,"timestamp_seconds":1786444895,"priority":1,"record_length":96,"hex_timestamp":"0000019ff069d318"} 
[2026-08-11 16:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:15:47] 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-08-11 16:15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 16:15:47] 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-08-11 16:15: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-08-11 16:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329887744001,"66":12493,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329887744001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:15:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:15:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329887744001,"power":12493,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":152294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:15:47] local.INFO: GPS data processed {"connection_id":152294,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:15:47] local.INFO: Acknowledgment sent {"connection_id":152294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:15:47] local.INFO: TCP Data received {"connection_id":153612,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06c3090012d7bcf8005e959e8000000fd2e..."} 
[2026-08-11 16:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06c3090012d7bcf8005e959e8000000fd2e..."} 
[2026-08-11 16:15:47] local.INFO: Processing buffer {"connection_id":153612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06c3090012d7bcf8005e959e8000000fd2e..."} 
[2026-08-11 16:15:47] local.INFO: Packet analysis {"connection_id":153612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06c"} 
[2026-08-11 16:15:47] local.INFO: Extracted packet for processing {"connection_id":153612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06c"} 
[2026-08-11 16:15:47] local.INFO: GPS Element Parsed {"raw_longitude":763088768,"raw_latitude":99178984,"longitude_deg":76.3088768,"latitude_deg":9.9178984,"altitude":0,"angle":253,"satellites":46,"speed":27,"hex_longitude":"2d7bcf80","hex_latitude":"05e959e8","is_valid_coordinates":true} 
[2026-08-11 16:15: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-08-11 16:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329932032001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117650561670578176,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923882687024537600,"note":"Value kept but may cause issues"} 
[2026-08-11 16:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786445050000,"timestamp_ms":1786445050000,"timestamp_seconds":1786445050,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06c3090"} 
[2026-08-11 16:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:15: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-08-11 16:15: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":187,"data_length":795,"current_offset":136} 
[2026-08-11 16:15:47] 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-08-11 16:15: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-08-11 16:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329932032001,"66":13059,"156":206,"87":13824,"24":27,"16":117650561670578176,"45":8923882687024537600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-11 16:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329932032001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:15:47] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 16:15:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117650561670578176,"km_value":117650561670578.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923882687024537600,"description":"Unknown IO ID 45"} 
[2026-08-11 16:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329932032001,"power":13059,"unknown_156":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8923882687024537600}} 
[2026-08-11 16:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":153612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:15:47] local.INFO: GPS data processed {"connection_id":153612,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:15:47] local.INFO: Acknowledgment sent {"connection_id":153612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:16:02] local.INFO: TCP Data received {"connection_id":152295,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06cec10012d9da3c005a44b880008007330..."} 
[2026-08-11 16:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06cec10012d9da3c005a44b880008007330..."} 
[2026-08-11 16:16:02] local.INFO: Processing buffer {"connection_id":152295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06cec10012d9da3c005a44b880008007330..."} 
[2026-08-11 16:16:02] local.INFO: Packet analysis {"connection_id":152295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06c"} 
[2026-08-11 16:16:02] local.INFO: Extracted packet for processing {"connection_id":152295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06c"} 
[2026-08-11 16:16:02] local.INFO: GPS Element Parsed {"raw_longitude":765305792,"raw_latitude":94653320,"longitude_deg":76.5305792,"latitude_deg":9.465332,"altitude":8,"angle":115,"satellites":48,"speed":19,"hex_longitude":"2d9da3c0","hex_latitude":"05a44b88","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329944832001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377794978442641408,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7088032470552244224,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786445098000,"timestamp_ms":1786445098000,"timestamp_seconds":1786445098,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06cec10"} 
[2026-08-11 16:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 16:16:02] 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-08-11 16: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-08-11 16:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":152295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":152295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":152295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:16: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-08-11 16:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329944832001,"66":27908,"58":206,"83":17152,"24":19,"16":377794978442641408,"45":-7088032470552244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-08-11 16:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329944832001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:16:02] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 16:16:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377794978442641408,"km_value":377794978442641.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7088032470552244224,"description":"Unknown IO ID 45"} 
[2026-08-11 16:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329944832001,"power":27908,"unknown_58":206,"unknown_83":17152,"ignition":19,"odometer":null,"unknown_45":-7088032470552244224}} 
[2026-08-11 16:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":152295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:16:02] local.INFO: GPS data processed {"connection_id":152295,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:16:02] local.INFO: Acknowledgment sent {"connection_id":152295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:16:07] local.INFO: TCP Data received {"connection_id":152665,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:16:07] local.INFO: Processing buffer {"connection_id":152665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:16:07] local.INFO: IMEI packet received {"connection_id":152665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":152665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:16:08] local.INFO: TCP Data received {"connection_id":152665,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:16:08] local.INFO: Processing buffer {"connection_id":152665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:16:08] local.INFO: IMEI packet received {"connection_id":152665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":152665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:16:09] local.INFO: TCP Data received {"connection_id":152665,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:16:09] local.INFO: Processing buffer {"connection_id":152665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:16:09] local.INFO: IMEI packet received {"connection_id":152665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":152665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:16:10] local.INFO: TCP Data received {"connection_id":152666,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:16:10] local.INFO: Processing buffer {"connection_id":152666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:16:10] local.INFO: IMEI packet received {"connection_id":152666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":152666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:16:11] local.INFO: TCP Data received {"connection_id":152665,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:16:11] local.INFO: Processing buffer {"connection_id":152665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:16:11] local.INFO: IMEI packet received {"connection_id":152665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":152665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:16:15] local.INFO: TCP Data received {"connection_id":152666,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:16:15] local.INFO: Processing buffer {"connection_id":152666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:16:15] local.INFO: IMEI packet received {"connection_id":152666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":152666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:16:16] local.INFO: TCP Data received {"connection_id":152666,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06a2520012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06a2520012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:16:16] local.INFO: Processing buffer {"connection_id":152666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06a2520012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:16:16] local.INFO: Packet analysis {"connection_id":152666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06a"} 
[2026-08-11 16:16:16] local.INFO: Extracted packet for processing {"connection_id":152666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06a"} 
[2026-08-11 16:16:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329893120001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:16] 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-08-11 16:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786444916000,"timestamp_ms":1786444916000,"timestamp_seconds":1786444916,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06a2520"} 
[2026-08-11 16:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:16: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-08-11 16: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-11 16:16:16] 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-08-11 16: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-08-11 16:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329893120001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329893120001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:16:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:16:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329893120001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":152666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:16:16] local.INFO: GPS data processed {"connection_id":152666,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:16:16] local.INFO: Acknowledgment sent {"connection_id":152666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:16:18] local.INFO: TCP Data received {"connection_id":153613,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153613,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:16:18] local.INFO: Processing buffer {"connection_id":153613,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:16:18] local.INFO: IMEI packet received {"connection_id":153613,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":153613,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:16:19] local.INFO: TCP Data received {"connection_id":152296,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:16:19] local.INFO: Processing buffer {"connection_id":152296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:16:19] local.INFO: IMEI packet received {"connection_id":152296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":152296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:16:22] local.INFO: TCP Data received {"connection_id":153613,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153613,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:16:22] local.INFO: Processing buffer {"connection_id":153613,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:16:22] local.INFO: IMEI packet received {"connection_id":153613,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":153613,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:16:24] local.INFO: TCP Data received {"connection_id":152296,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:16:24] local.INFO: Processing buffer {"connection_id":152296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:16:24] local.INFO: IMEI packet received {"connection_id":152296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":152296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:16:25] local.INFO: TCP Data received {"connection_id":152296,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06cf3e0012d9da78005a44a580007006731..."} 
[2026-08-11 16:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06cf3e0012d9da78005a44a580007006731..."} 
[2026-08-11 16:16:25] local.INFO: Processing buffer {"connection_id":152296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06cf3e0012d9da78005a44a580007006731..."} 
[2026-08-11 16:16:25] local.INFO: Packet analysis {"connection_id":152296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06c"} 
[2026-08-11 16:16:25] local.INFO: Extracted packet for processing {"connection_id":152296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06c"} 
[2026-08-11 16:16:25] local.INFO: GPS Element Parsed {"raw_longitude":765306752,"raw_latitude":94653016,"longitude_deg":76.5306752,"latitude_deg":9.4653016,"altitude":7,"angle":103,"satellites":49,"speed":21,"hex_longitude":"2d9da780","hex_latitude":"05a44a58","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329945088001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795025687281664,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7087610258087245824,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786445100000,"timestamp_ms":1786445100000,"timestamp_seconds":1786445100,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06cf3e0"} 
[2026-08-11 16:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 16:16:25] 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-08-11 16: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-08-11 16:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:16:25] 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-08-11 16:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329945088001,"66":27876,"58":206,"83":17152,"24":21,"16":377795025687281664,"45":-7087610258087245824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-08-11 16:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329945088001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:16:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 16:16:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795025687281664,"km_value":377795025687281.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7087610258087245824,"description":"Unknown IO ID 45"} 
[2026-08-11 16:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329945088001,"power":27876,"unknown_58":206,"unknown_83":17152,"ignition":21,"odometer":null,"unknown_45":-7087610258087245824}} 
[2026-08-11 16:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":152296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:16:25] local.INFO: GPS data processed {"connection_id":152296,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:16:25] local.INFO: Acknowledgment sent {"connection_id":152296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:16:27] local.INFO: TCP Data received {"connection_id":153613,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153613,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:16:27] local.INFO: Processing buffer {"connection_id":153613,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:16:27] local.INFO: IMEI packet received {"connection_id":153613,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":153613,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:16:28] local.INFO: TCP Data received {"connection_id":153613,"ip":"117.225.170.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06d1ed8012d0c3bc0070643380014002219..."} 
[2026-08-11 16:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06d1ed8012d0c3bc0070643380014002219..."} 
[2026-08-11 16:16:28] local.INFO: Processing buffer {"connection_id":153613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06d1ed8012d0c3bc0070643380014002219..."} 
[2026-08-11 16:16:28] local.INFO: Packet analysis {"connection_id":153613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:16:28] local.INFO: Extracted packet for processing {"connection_id":153613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:16:28] local.INFO: GPS Element Parsed {"raw_longitude":755776448,"raw_latitude":117850936,"longitude_deg":75.5776448,"latitude_deg":11.7850936,"altitude":20,"angle":34,"satellites":25,"speed":6,"hex_longitude":"2d0c3bc0","hex_latitude":"07064338","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329948160001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27666676082278400,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881509288483397632,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,178,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786445111000,"timestamp_ms":1786445111000,"timestamp_seconds":1786445111,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06d1ed8"} 
[2026-08-11 16:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:16: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-08-11 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 16:16:28] 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-08-11 16: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-08-11 16:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.170.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329948160001,"66":14428,"122":206,"178":8192,"24":6,"16":27666676082278400,"45":881509288483397632},"client_ip":"117.225.170.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,178,24,16,45]} 
[2026-08-11 16:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329948160001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:16:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 16:16:28] local.INFO: Unknown IO ID detected {"io_id":178,"value":8192,"description":"Unknown IO ID 178"} 
[2026-08-11 16:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27666676082278400,"km_value":27666676082278.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":881509288483397632,"description":"Unknown IO ID 45"} 
[2026-08-11 16:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329948160001,"power":14428,"unknown_122":206,"unknown_178":8192,"ignition":6,"odometer":null,"unknown_45":881509288483397632}} 
[2026-08-11 16:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":153613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625717,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:16:28] local.INFO: GPS data processed {"connection_id":153613,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:16:28] local.INFO: Acknowledgment sent {"connection_id":153613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:16:47] local.INFO: TCP Data received {"connection_id":152666,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06a7728012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06a7728012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:16:47] local.INFO: Processing buffer {"connection_id":152666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06a7728012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:16:47] local.INFO: Packet analysis {"connection_id":152666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06a"} 
[2026-08-11 16:16:47] local.INFO: Extracted packet for processing {"connection_id":152666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06a"} 
[2026-08-11 16:16:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329898496001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:47] 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-08-11 16:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786444937000,"timestamp_ms":1786444937000,"timestamp_seconds":1786444937,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06a7728"} 
[2026-08-11 16:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:16:47] 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-08-11 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:16:47] 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-08-11 16: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-08-11 16:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329898496001,"66":12493,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329898496001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:16:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:16:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329898496001,"power":12493,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":152666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:16:47] local.INFO: GPS data processed {"connection_id":152666,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:16:47] local.INFO: Acknowledgment sent {"connection_id":152666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:16:56] local.INFO: TCP Data received {"connection_id":152296,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:16:56] local.INFO: Processing buffer {"connection_id":152296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:16:56] local.INFO: Packet analysis {"connection_id":152296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:16:56] local.INFO: Extracted packet for processing {"connection_id":152296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:16:56] local.INFO: GPS Element Parsed {"raw_longitude":765310976,"raw_latitude":94651576,"longitude_deg":76.5310976,"latitude_deg":9.4651576,"altitude":6,"angle":113,"satellites":47,"speed":24,"hex_longitude":"2d9db800","hex_latitude":"05a444b8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329945600001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086554726924658688,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786445108000,"timestamp_ms":1786445108000,"timestamp_seconds":1786445108,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06d1320"} 
[2026-08-11 16:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 16:16: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-08-11 16: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-08-11 16:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:16:56] 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-08-11 16:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329945600001,"66":28050,"154":206,"83":17152,"24":24,"16":377795240435646464,"45":-7086554726924658688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329945600001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:16:56] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:16:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086554726924658688,"description":"Unknown IO ID 45"} 
[2026-08-11 16:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329945600001,"power":28050,"unknown_154":206,"unknown_83":17152,"ignition":24,"odometer":null,"unknown_45":-7086554726924658688}} 
[2026-08-11 16:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":152296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:16:56] local.INFO: GPS data processed {"connection_id":152296,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:16:56] local.INFO: Acknowledgment sent {"connection_id":152296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:16:59] local.INFO: TCP Data received {"connection_id":153613,"ip":"117.225.170.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06d70e0012d0c3e00070644080013006418..."} 
[2026-08-11 16:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06d70e0012d0c3e00070644080013006418..."} 
[2026-08-11 16:16:59] local.INFO: Processing buffer {"connection_id":153613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06d70e0012d0c3e00070644080013006418..."} 
[2026-08-11 16:16:59] local.INFO: Packet analysis {"connection_id":153613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:16:59] local.INFO: Extracted packet for processing {"connection_id":153613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:16:59] local.INFO: GPS Element Parsed {"raw_longitude":755777024,"raw_latitude":117851144,"longitude_deg":75.5777024,"latitude_deg":11.7851144,"altitude":19,"angle":100,"satellites":24,"speed":4,"hex_longitude":"2d0c3e00","hex_latitude":"07064408","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329948416001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27666710442016768,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881509288483436544,"note":"Value kept but may cause issues"} 
[2026-08-11 16:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786445132000,"timestamp_ms":1786445132000,"timestamp_seconds":1786445132,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06d70e0"} 
[2026-08-11 16:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:16: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-08-11 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 16:16:59] 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-08-11 16: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-08-11 16:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.170.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329948416001,"66":14407,"115":206,"28":32256,"24":4,"16":27666710442016768,"45":881509288483436544},"client_ip":"117.225.170.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-08-11 16:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329948416001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:16:59] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 16:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-11 16:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27666710442016768,"km_value":27666710442016.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":881509288483436544,"description":"Unknown IO ID 45"} 
[2026-08-11 16:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329948416001,"power":14407,"unknown_115":206,"unknown_28":32256,"ignition":4,"odometer":null,"unknown_45":881509288483436544}} 
[2026-08-11 16:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":153613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625720,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:16:59] local.INFO: GPS data processed {"connection_id":153613,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:16:59] local.INFO: Acknowledgment sent {"connection_id":153613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:17:10] local.INFO: TCP Data received {"connection_id":155005,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:17:10] local.INFO: Processing buffer {"connection_id":155005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:17:10] local.INFO: IMEI packet received {"connection_id":155005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":155005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:17:15] local.INFO: TCP Data received {"connection_id":155005,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:17:15] local.INFO: Processing buffer {"connection_id":155005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:17:15] local.INFO: IMEI packet received {"connection_id":155005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":155005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:17:16] local.INFO: TCP Data received {"connection_id":155005,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06ac930012d1968c0071fee68003e011c2d..."} 
[2026-08-11 16:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06ac930012d1968c0071fee68003e011c2d..."} 
[2026-08-11 16:17:16] local.INFO: Processing buffer {"connection_id":155005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06ac930012d1968c0071fee68003e011c2d..."} 
[2026-08-11 16:17:16] local.INFO: Packet analysis {"connection_id":155005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06a"} 
[2026-08-11 16:17:16] local.INFO: Extracted packet for processing {"connection_id":155005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06a"} 
[2026-08-11 16:17:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329903872001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:17:16] 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-08-11 16:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786444958000,"timestamp_ms":1786444958000,"timestamp_seconds":1786444958,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06ac930"} 
[2026-08-11 16:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:17: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-08-11 16: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-11 16:17:16] 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-08-11 16: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-08-11 16:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329903872001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329903872001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:17:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:17:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329903872001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":155005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:17:16] local.INFO: GPS data processed {"connection_id":155005,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:17:16] local.INFO: Acknowledgment sent {"connection_id":155005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:17:19] local.INFO: TCP Data received {"connection_id":152297,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:17:19] local.INFO: Processing buffer {"connection_id":152297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:17:19] local.INFO: IMEI packet received {"connection_id":152297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":152297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:17:21] local.INFO: TCP Data received {"connection_id":152298,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152298,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:17:21] local.INFO: Processing buffer {"connection_id":152298,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:17:21] local.INFO: IMEI packet received {"connection_id":152298,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":152298,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:17:22] local.INFO: TCP Data received {"connection_id":152298,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152298,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:17:22] local.INFO: Processing buffer {"connection_id":152298,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:17:22] local.INFO: IMEI packet received {"connection_id":152298,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":152298,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:17:24] local.INFO: TCP Data received {"connection_id":152297,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:17:24] local.INFO: Processing buffer {"connection_id":152297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:17:24] local.INFO: IMEI packet received {"connection_id":152297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":152297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:17:28] local.INFO: TCP Data received {"connection_id":152298,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152298,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:17:28] local.INFO: Processing buffer {"connection_id":152298,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:17:28] local.INFO: IMEI packet received {"connection_id":152298,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":152298,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:17:29] local.INFO: TCP Data received {"connection_id":152298,"ip":"117.225.170.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06d9bd8012d0c4d80070640280013007019..."} 
[2026-08-11 16:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06d9bd8012d0c4d80070640280013007019..."} 
[2026-08-11 16:17:29] local.INFO: Processing buffer {"connection_id":152298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06d9bd8012d0c4d80070640280013007019..."} 
[2026-08-11 16:17:29] local.INFO: Packet analysis {"connection_id":152298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:17:29] local.INFO: Extracted packet for processing {"connection_id":152298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:17:29] local.INFO: GPS Element Parsed {"raw_longitude":755780992,"raw_latitude":117850152,"longitude_deg":75.5780992,"latitude_deg":11.7850152,"altitude":19,"angle":112,"satellites":25,"speed":20,"hex_longitude":"2d0c4d80","hex_latitude":"07064028","is_valid_coordinates":true} 
[2026-08-11 16:17: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-08-11 16:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329953792001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27666903715545088,"note":"Value kept but may cause issues"} 
[2026-08-11 16:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882142607181088768,"note":"Value kept but may cause issues"} 
[2026-08-11 16:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786445143000,"timestamp_ms":1786445143000,"timestamp_seconds":1786445143,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06d9bd8"} 
[2026-08-11 16:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:17: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-08-11 16:17: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":71,"data_length":795,"current_offset":136} 
[2026-08-11 16:17:29] 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-08-11 16:17: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-08-11 16:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152298,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152298,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.170.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329953792001,"66":14461,"139":206,"28":32256,"24":20,"16":27666903715545088,"45":882142607181088768},"client_ip":"117.225.170.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-08-11 16:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329953792001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:17:29] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-11 16:17:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-11 16:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27666903715545088,"km_value":27666903715545.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":882142607181088768,"description":"Unknown IO ID 45"} 
[2026-08-11 16:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329953792001,"power":14461,"unknown_139":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":882142607181088768}} 
[2026-08-11 16:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":152298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625722,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:17:29] local.INFO: GPS data processed {"connection_id":152298,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:17:29] local.INFO: Acknowledgment sent {"connection_id":152298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:17:31] local.INFO: TCP Data received {"connection_id":152297,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:17:31] local.INFO: Processing buffer {"connection_id":152297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:17:31] local.INFO: Packet analysis {"connection_id":152297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:17:31] local.INFO: Extracted packet for processing {"connection_id":152297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:17:31] local.INFO: GPS Element Parsed {"raw_longitude":765310976,"raw_latitude":94651576,"longitude_deg":76.5310976,"latitude_deg":9.4651576,"altitude":6,"angle":113,"satellites":47,"speed":24,"hex_longitude":"2d9db800","hex_latitude":"05a444b8","is_valid_coordinates":true} 
[2026-08-11 16:17:31] 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-08-11 16:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329945600001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086554726924658688,"note":"Value kept but may cause issues"} 
[2026-08-11 16:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786445108000,"timestamp_ms":1786445108000,"timestamp_seconds":1786445108,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06d1320"} 
[2026-08-11 16:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:17: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":228,"data_length":795,"current_offset":136} 
[2026-08-11 16:17:31] 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-08-11 16:17: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-08-11 16:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:17:31] 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-08-11 16:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329945600001,"66":28050,"154":206,"83":17152,"24":24,"16":377795240435646464,"45":-7086554726924658688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329945600001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:17:31] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:17:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086554726924658688,"description":"Unknown IO ID 45"} 
[2026-08-11 16:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329945600001,"power":28050,"unknown_154":206,"unknown_83":17152,"ignition":24,"odometer":null,"unknown_45":-7086554726924658688}} 
[2026-08-11 16:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":152297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:17:31] local.INFO: GPS data processed {"connection_id":152297,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:17:31] local.INFO: Acknowledgment sent {"connection_id":152297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:17:47] local.INFO: TCP Data received {"connection_id":155005,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06b1b38012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06b1b38012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:17:47] local.INFO: Processing buffer {"connection_id":155005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06b1b38012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:17:47] local.INFO: Packet analysis {"connection_id":155005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06b"} 
[2026-08-11 16:17:47] local.INFO: Extracted packet for processing {"connection_id":155005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06b"} 
[2026-08-11 16:17:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329909248001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:17:47] 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-08-11 16:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786444979000,"timestamp_ms":1786444979000,"timestamp_seconds":1786444979,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06b1b38"} 
[2026-08-11 16:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:17:47] 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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:17:47] 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-08-11 16: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-08-11 16:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329909248001,"66":12493,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329909248001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:17:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:17:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329909248001,"power":12493,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":155005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:17:47] local.INFO: GPS data processed {"connection_id":155005,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:17:47] local.INFO: Acknowledgment sent {"connection_id":155005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:18:00] local.INFO: TCP Data received {"connection_id":152298,"ip":"117.225.170.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06f8420012d0cb9000705cbd0001400941a..."} 
[2026-08-11 16:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06f8420012d0cb9000705cbd0001400941a..."} 
[2026-08-11 16:18:00] local.INFO: Processing buffer {"connection_id":152298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06f8420012d0cb9000705cbd0001400941a..."} 
[2026-08-11 16:18:00] local.INFO: Packet analysis {"connection_id":152298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06f"} 
[2026-08-11 16:18:00] local.INFO: Extracted packet for processing {"connection_id":152298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06f"} 
[2026-08-11 16:18:00] local.INFO: GPS Element Parsed {"raw_longitude":755808512,"raw_latitude":117820368,"longitude_deg":75.5808512,"latitude_deg":11.7820368,"altitude":20,"angle":148,"satellites":26,"speed":14,"hex_longitude":"2d0cb900","hex_latitude":"0705cbd0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329985536001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27668879400501248,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912964117123837952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786445268000,"timestamp_ms":1786445268000,"timestamp_seconds":1786445268,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06f8420"} 
[2026-08-11 16:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:18: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-08-11 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 16:18:00] 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-08-11 16: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-08-11 16:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152298,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152298,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.170.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329985536001,"66":14450,"220":206,"28":32256,"24":14,"16":27668879400501248,"45":912964117123837952},"client_ip":"117.225.170.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-11 16:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329985536001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:18:00] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-11 16:18:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-11 16:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27668879400501248,"km_value":27668879400501.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":912964117123837952,"description":"Unknown IO ID 45"} 
[2026-08-11 16:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329985536001,"power":14450,"unknown_220":206,"unknown_28":32256,"ignition":14,"odometer":null,"unknown_45":912964117123837952}} 
[2026-08-11 16:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":152298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625725,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:18:00] local.INFO: GPS data processed {"connection_id":152298,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:18:00] local.INFO: Acknowledgment sent {"connection_id":152298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:18:10] local.INFO: TCP Data received {"connection_id":152299,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:18:10] local.INFO: Processing buffer {"connection_id":152299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:18:10] local.INFO: IMEI packet received {"connection_id":152299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":152299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:18:10] local.INFO: TCP Data received {"connection_id":152299,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:18:10] local.INFO: Processing buffer {"connection_id":152299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:18:10] local.INFO: IMEI packet received {"connection_id":152299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":152299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:18:15] local.INFO: TCP Data received {"connection_id":152299,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:18:15] local.INFO: Processing buffer {"connection_id":152299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:18:15] local.INFO: IMEI packet received {"connection_id":152299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":152299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:18:16] local.INFO: TCP Data received {"connection_id":152299,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06ea190012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06ea190012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:18:16] local.INFO: Processing buffer {"connection_id":152299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06ea190012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:18:16] local.INFO: Packet analysis {"connection_id":152299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06e"} 
[2026-08-11 16:18:16] local.INFO: Extracted packet for processing {"connection_id":152299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06e"} 
[2026-08-11 16:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329968384001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:16] 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-08-11 16:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786445210000,"timestamp_ms":1786445210000,"timestamp_seconds":1786445210,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06ea190"} 
[2026-08-11 16:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:18: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-08-11 16: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-11 16:18:16] 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-08-11 16: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-08-11 16:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329968384001,"66":12428,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329968384001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:18:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:18:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329968384001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":152299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:18:16] local.INFO: GPS data processed {"connection_id":152299,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:18:16] local.INFO: Acknowledgment sent {"connection_id":152299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:18:19] local.INFO: TCP Data received {"connection_id":153614,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:18:19] local.INFO: Processing buffer {"connection_id":153614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:18:19] local.INFO: IMEI packet received {"connection_id":153614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":153614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:18:22] local.INFO: TCP Data received {"connection_id":155006,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155006,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:18:22] local.INFO: Processing buffer {"connection_id":155006,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:18:22] local.INFO: IMEI packet received {"connection_id":155006,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":155006,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:18:22] local.INFO: TCP Data received {"connection_id":155006,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155006,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:18:22] local.INFO: Processing buffer {"connection_id":155006,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:18:22] local.INFO: IMEI packet received {"connection_id":155006,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":155006,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:18:24] local.INFO: TCP Data received {"connection_id":153614,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:18:24] local.INFO: Processing buffer {"connection_id":153614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:18:24] local.INFO: IMEI packet received {"connection_id":153614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":153614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:18:25] local.INFO: TCP Data received {"connection_id":153614,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:18:25] local.INFO: Processing buffer {"connection_id":153614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:18:25] local.INFO: Packet analysis {"connection_id":153614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:18:25] local.INFO: Extracted packet for processing {"connection_id":153614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:18:25] local.INFO: GPS Element Parsed {"raw_longitude":765310976,"raw_latitude":94651576,"longitude_deg":76.5310976,"latitude_deg":9.4651576,"altitude":6,"angle":113,"satellites":47,"speed":24,"hex_longitude":"2d9db800","hex_latitude":"05a444b8","is_valid_coordinates":true} 
[2026-08-11 16:18:25] 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-08-11 16:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329945600001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086554726924658688,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786445108000,"timestamp_ms":1786445108000,"timestamp_seconds":1786445108,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06d1320"} 
[2026-08-11 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-08-11 16:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 16:18:25] 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-08-11 16: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-08-11 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-08-11 16:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:18:25] 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-08-11 16:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329945600001,"66":28050,"154":206,"83":17152,"24":24,"16":377795240435646464,"45":-7086554726924658688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329945600001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:18:25] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:18:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086554726924658688,"description":"Unknown IO ID 45"} 
[2026-08-11 16:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329945600001,"power":28050,"unknown_154":206,"unknown_83":17152,"ignition":24,"odometer":null,"unknown_45":-7086554726924658688}} 
[2026-08-11 16:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":153614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:18:25] local.INFO: GPS data processed {"connection_id":153614,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:18:25] local.INFO: Acknowledgment sent {"connection_id":153614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:18:27] local.INFO: TCP Data received {"connection_id":155006,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155006,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:18:27] local.INFO: Processing buffer {"connection_id":155006,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:18:27] local.INFO: IMEI packet received {"connection_id":155006,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":155006,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:18:28] local.INFO: TCP Data received {"connection_id":155006,"ip":"117.225.170.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06f8bf0012d0cba800705c8e8001400a01a..."} 
[2026-08-11 16:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06f8bf0012d0cba800705c8e8001400a01a..."} 
[2026-08-11 16:18:28] local.INFO: Processing buffer {"connection_id":155006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06f8bf0012d0cba800705c8e8001400a01a..."} 
[2026-08-11 16:18:28] local.INFO: Packet analysis {"connection_id":155006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06f"} 
[2026-08-11 16:18:28] local.INFO: Extracted packet for processing {"connection_id":155006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06f"} 
[2026-08-11 16:18:28] local.INFO: GPS Element Parsed {"raw_longitude":755808896,"raw_latitude":117819624,"longitude_deg":75.5808896,"latitude_deg":11.7819624,"altitude":20,"angle":160,"satellites":26,"speed":17,"hex_longitude":"2d0cba80","hex_latitude":"0705c8e8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329988608001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27668918055206912,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916764029308620800,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786445270000,"timestamp_ms":1786445270000,"timestamp_seconds":1786445270,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06f8bf0"} 
[2026-08-11 16:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:18: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-08-11 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 16:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":155006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":155006,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":155006,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.170.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329988608001,"66":14428,"220":206,"28":32256,"24":17,"16":27668918055206912,"45":916764029308620800},"client_ip":"117.225.170.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-11 16:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329988608001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:18:28] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-11 16:18:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-11 16:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27668918055206912,"km_value":27668918055206.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":916764029308620800,"description":"Unknown IO ID 45"} 
[2026-08-11 16:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329988608001,"power":14428,"unknown_220":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_45":916764029308620800}} 
[2026-08-11 16:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":155006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625728,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:18:29] local.INFO: GPS data processed {"connection_id":155006,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:18:29] local.INFO: Acknowledgment sent {"connection_id":155006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:18:47] local.INFO: TCP Data received {"connection_id":152299,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06ef398012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06ef398012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:18:47] local.INFO: Processing buffer {"connection_id":152299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06ef398012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:18:47] local.INFO: Packet analysis {"connection_id":152299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06e"} 
[2026-08-11 16:18:47] local.INFO: Extracted packet for processing {"connection_id":152299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06e"} 
[2026-08-11 16:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329973760001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:47] 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-08-11 16:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786445231000,"timestamp_ms":1786445231000,"timestamp_seconds":1786445231,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06ef398"} 
[2026-08-11 16:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:18:47] 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-08-11 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 16:18:47] 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-08-11 16: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-08-11 16:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329973760001,"66":12428,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329973760001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:18:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:18:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329973760001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":152299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:18:47] local.INFO: GPS data processed {"connection_id":152299,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:18:47] local.INFO: Acknowledgment sent {"connection_id":152299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:18:56] local.INFO: TCP Data received {"connection_id":153614,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:18:56] local.INFO: Processing buffer {"connection_id":153614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:18:56] local.INFO: Packet analysis {"connection_id":153614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:18:56] local.INFO: Extracted packet for processing {"connection_id":153614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:18:56] local.INFO: GPS Element Parsed {"raw_longitude":765310976,"raw_latitude":94651576,"longitude_deg":76.5310976,"latitude_deg":9.4651576,"altitude":6,"angle":113,"satellites":47,"speed":24,"hex_longitude":"2d9db800","hex_latitude":"05a444b8","is_valid_coordinates":true} 
[2026-08-11 16:18: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-08-11 16:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329945600001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086554726924658688,"note":"Value kept but may cause issues"} 
[2026-08-11 16:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786445108000,"timestamp_ms":1786445108000,"timestamp_seconds":1786445108,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06d1320"} 
[2026-08-11 16:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 16:18: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-08-11 16: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-08-11 16:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:18:56] 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-08-11 16:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329945600001,"66":28050,"154":206,"83":17152,"24":24,"16":377795240435646464,"45":-7086554726924658688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329945600001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:18:56] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:18:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086554726924658688,"description":"Unknown IO ID 45"} 
[2026-08-11 16:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329945600001,"power":28050,"unknown_154":206,"unknown_83":17152,"ignition":24,"odometer":null,"unknown_45":-7086554726924658688}} 
[2026-08-11 16:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":153614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:18:56] local.INFO: GPS data processed {"connection_id":153614,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:18:56] local.INFO: Acknowledgment sent {"connection_id":153614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:19:00] local.INFO: TCP Data received {"connection_id":155006,"ip":"117.225.170.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0704b58012d0cf1000705d590001300441b..."} 
[2026-08-11 16:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0704b58012d0cf1000705d590001300441b..."} 
[2026-08-11 16:19:00] local.INFO: Processing buffer {"connection_id":155006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0704b58012d0cf1000705d590001300441b..."} 
[2026-08-11 16:19:00] local.INFO: Packet analysis {"connection_id":155006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff070"} 
[2026-08-11 16:19:00] local.INFO: Extracted packet for processing {"connection_id":155006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff070"} 
[2026-08-11 16:19:00] local.INFO: GPS Element Parsed {"raw_longitude":755822848,"raw_latitude":117822864,"longitude_deg":75.5822848,"latitude_deg":11.7822864,"altitude":19,"angle":68,"satellites":27,"speed":23,"hex_longitude":"2d0cf100","hex_latitude":"0705d590","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330001408001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27670021861801984,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931893309307404288,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786445319000,"timestamp_ms":1786445319000,"timestamp_seconds":1786445319,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0704b58"} 
[2026-08-11 16:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:19: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-08-11 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-11 16:19:00] 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-08-11 16: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-08-11 16:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":155006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":155006,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":155006,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.170.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330001408001,"66":14135,"220":206,"28":32256,"24":23,"16":27670021861801984,"45":931893309307404288},"client_ip":"117.225.170.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-11 16:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330001408001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:19:00] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-11 16:19:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-11 16:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27670021861801984,"km_value":27670021861801.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":931893309307404288,"description":"Unknown IO ID 45"} 
[2026-08-11 16:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330001408001,"power":14135,"unknown_220":206,"unknown_28":32256,"ignition":23,"odometer":null,"unknown_45":931893309307404288}} 
[2026-08-11 16:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":155006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625731,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:19:01] local.INFO: GPS data processed {"connection_id":155006,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:19:01] local.INFO: Acknowledgment sent {"connection_id":155006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:19:13] local.INFO: TCP Data received {"connection_id":155007,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:19:13] local.INFO: Processing buffer {"connection_id":155007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:19:13] local.INFO: IMEI packet received {"connection_id":155007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":155007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:19:15] local.INFO: TCP Data received {"connection_id":155007,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:19:15] local.INFO: Processing buffer {"connection_id":155007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:19:15] local.INFO: IMEI packet received {"connection_id":155007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":155007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:19:20] local.INFO: TCP Data received {"connection_id":155007,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:19:20] local.INFO: Processing buffer {"connection_id":155007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:19:20] local.INFO: IMEI packet received {"connection_id":155007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":155007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:19:21] local.INFO: TCP Data received {"connection_id":155007,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06f45a0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06f45a0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:19:21] local.INFO: Processing buffer {"connection_id":155007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06f45a0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:19:21] local.INFO: Packet analysis {"connection_id":155007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06f"} 
[2026-08-11 16:19:21] local.INFO: Extracted packet for processing {"connection_id":155007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06f"} 
[2026-08-11 16:19:21] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329979136001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:21] 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-08-11 16:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786445252000,"timestamp_ms":1786445252000,"timestamp_seconds":1786445252,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06f45a0"} 
[2026-08-11 16:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:19:21] 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-08-11 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 16:19:21] 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-08-11 16: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-08-11 16:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":155007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":155007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":155007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329979136001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329979136001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:19:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:19:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329979136001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":155007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:19:21] local.INFO: GPS data processed {"connection_id":155007,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:19:21] local.INFO: Acknowledgment sent {"connection_id":155007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:19:22] local.INFO: TCP Data received {"connection_id":152670,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:19:22] local.INFO: Processing buffer {"connection_id":152670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:19:22] local.INFO: IMEI packet received {"connection_id":152670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":152670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:19:22] local.INFO: TCP Data received {"connection_id":152670,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:19:22] local.INFO: Processing buffer {"connection_id":152670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:19:22] local.INFO: IMEI packet received {"connection_id":152670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":152670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:19:24] local.INFO: TCP Data received {"connection_id":152670,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:19:24] local.INFO: Processing buffer {"connection_id":152670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:19:24] local.INFO: IMEI packet received {"connection_id":152670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":152670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:19:27] local.INFO: TCP Data received {"connection_id":152670,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:19:27] local.INFO: Processing buffer {"connection_id":152670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:19:27] local.INFO: IMEI packet received {"connection_id":152670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":152670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:19:28] local.INFO: TCP Data received {"connection_id":152670,"ip":"117.225.170.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0704f40012d0cf3400705d5f0001400511b..."} 
[2026-08-11 16:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0704f40012d0cf3400705d5f0001400511b..."} 
[2026-08-11 16:19:28] local.INFO: Processing buffer {"connection_id":152670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0704f40012d0cf3400705d5f0001400511b..."} 
[2026-08-11 16:19:28] local.INFO: Packet analysis {"connection_id":152670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff070"} 
[2026-08-11 16:19:28] local.INFO: Extracted packet for processing {"connection_id":152670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff070"} 
[2026-08-11 16:19:28] local.INFO: GPS Element Parsed {"raw_longitude":755823424,"raw_latitude":117822960,"longitude_deg":75.5823424,"latitude_deg":11.782296,"altitude":20,"angle":81,"satellites":27,"speed":22,"hex_longitude":"2d0cf340","hex_latitude":"0705d5f0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330001664001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27670047631605760,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":932526628005056512,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786445320000,"timestamp_ms":1786445320000,"timestamp_seconds":1786445320,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0704f40"} 
[2026-08-11 16:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:19: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-08-11 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-11 16:19:28] 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-08-11 16: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-08-11 16:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.170.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330001664001,"66":14309,"220":206,"28":32256,"24":22,"16":27670047631605760,"45":932526628005056512},"client_ip":"117.225.170.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-11 16:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330001664001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:19:28] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-11 16:19:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-11 16:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27670047631605760,"km_value":27670047631605.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":932526628005056512,"description":"Unknown IO ID 45"} 
[2026-08-11 16:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330001664001,"power":14309,"unknown_220":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_45":932526628005056512}} 
[2026-08-11 16:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":152670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625733,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:19:28] local.INFO: GPS data processed {"connection_id":152670,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:19:28] local.INFO: Acknowledgment sent {"connection_id":152670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:19:29] local.INFO: TCP Data received {"connection_id":152671,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:19:29] local.INFO: Processing buffer {"connection_id":152671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:19:29] local.INFO: IMEI packet received {"connection_id":152671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":152671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:19:34] local.INFO: TCP Data received {"connection_id":152671,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:19:34] local.INFO: Processing buffer {"connection_id":152671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:19:34] local.INFO: IMEI packet received {"connection_id":152671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":152671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:19:35] local.INFO: TCP Data received {"connection_id":152671,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:19:35] local.INFO: Processing buffer {"connection_id":152671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:19:35] local.INFO: Packet analysis {"connection_id":152671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:19:35] local.INFO: Extracted packet for processing {"connection_id":152671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:19:35] local.INFO: GPS Element Parsed {"raw_longitude":765310976,"raw_latitude":94651576,"longitude_deg":76.5310976,"latitude_deg":9.4651576,"altitude":6,"angle":113,"satellites":47,"speed":24,"hex_longitude":"2d9db800","hex_latitude":"05a444b8","is_valid_coordinates":true} 
[2026-08-11 16:19: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-08-11 16:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329945600001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086554726924658688,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786445108000,"timestamp_ms":1786445108000,"timestamp_seconds":1786445108,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06d1320"} 
[2026-08-11 16:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 16:19: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-08-11 16: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-08-11 16:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:19: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-08-11 16:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329945600001,"66":28050,"154":206,"83":17152,"24":24,"16":377795240435646464,"45":-7086554726924658688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329945600001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:19:35] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086554726924658688,"description":"Unknown IO ID 45"} 
[2026-08-11 16:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329945600001,"power":28050,"unknown_154":206,"unknown_83":17152,"ignition":24,"odometer":null,"unknown_45":-7086554726924658688}} 
[2026-08-11 16:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":152671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:19:35] local.INFO: GPS data processed {"connection_id":152671,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:19:35] local.INFO: Acknowledgment sent {"connection_id":152671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:19:52] local.INFO: TCP Data received {"connection_id":155007,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06f97a8012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06f97a8012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:19:52] local.INFO: Processing buffer {"connection_id":155007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06f97a8012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:19:52] local.INFO: Packet analysis {"connection_id":155007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06f"} 
[2026-08-11 16:19:52] local.INFO: Extracted packet for processing {"connection_id":155007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06f"} 
[2026-08-11 16:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329984512001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19: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-08-11 16:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786445273000,"timestamp_ms":1786445273000,"timestamp_seconds":1786445273,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06f97a8"} 
[2026-08-11 16:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:19: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-08-11 16: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":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:19:52] 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-08-11 16: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-08-11 16:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":155007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":155007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":155007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329984512001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329984512001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:19:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:19:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329984512001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":155007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:19:52] local.INFO: GPS data processed {"connection_id":155007,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:19:52] local.INFO: Acknowledgment sent {"connection_id":155007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:19:59] local.INFO: TCP Data received {"connection_id":152670,"ip":"117.225.170.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0714170012d0d3c400705c0d0001500931b..."} 
[2026-08-11 16:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0714170012d0d3c400705c0d0001500931b..."} 
[2026-08-11 16:19:59] local.INFO: Processing buffer {"connection_id":152670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0714170012d0d3c400705c0d0001500931b..."} 
[2026-08-11 16:19:59] local.INFO: Packet analysis {"connection_id":152670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:19:59] local.INFO: Extracted packet for processing {"connection_id":152670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:19:59] local.INFO: GPS Element Parsed {"raw_longitude":755842112,"raw_latitude":117817552,"longitude_deg":75.5842112,"latitude_deg":11.7817552,"altitude":21,"angle":147,"satellites":27,"speed":5,"hex_longitude":"2d0d3c40","hex_latitude":"0705c0d0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330017024001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27671207272775680,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953566882512873472,"note":"Value kept but may cause issues"} 
[2026-08-11 16:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786445382000,"timestamp_ms":1786445382000,"timestamp_seconds":1786445382,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0714170"} 
[2026-08-11 16:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16: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-08-11 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 16:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.170.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330017024001,"66":14396,"220":206,"28":32256,"24":5,"16":27671207272775680,"45":953566882512873472},"client_ip":"117.225.170.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-11 16:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330017024001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:19:59] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-11 16:19:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-11 16:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27671207272775680,"km_value":27671207272775.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":953566882512873472,"description":"Unknown IO ID 45"} 
[2026-08-11 16:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330017024001,"power":14396,"unknown_220":206,"unknown_28":32256,"ignition":5,"odometer":null,"unknown_45":953566882512873472}} 
[2026-08-11 16:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":152670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625736,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:19:59] local.INFO: GPS data processed {"connection_id":152670,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:19:59] local.INFO: Acknowledgment sent {"connection_id":152670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:20:10] local.INFO: TCP Data received {"connection_id":152300,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:20:10] local.INFO: Processing buffer {"connection_id":152300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:20:10] local.INFO: IMEI packet received {"connection_id":152300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":152300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:20:15] local.INFO: TCP Data received {"connection_id":152300,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:20:15] local.INFO: Processing buffer {"connection_id":152300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:20:15] local.INFO: IMEI packet received {"connection_id":152300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":152300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:20:16] local.INFO: TCP Data received {"connection_id":152300,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06fe9b0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06fe9b0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:20:16] local.INFO: Processing buffer {"connection_id":152300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06fe9b0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:20:16] local.INFO: Packet analysis {"connection_id":152300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06f"} 
[2026-08-11 16:20:16] local.INFO: Extracted packet for processing {"connection_id":152300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06f"} 
[2026-08-11 16:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329989888001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:20:16] 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-08-11 16:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786445294000,"timestamp_ms":1786445294000,"timestamp_seconds":1786445294,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06fe9b0"} 
[2026-08-11 16:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:20: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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:20:16] 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-08-11 16: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-08-11 16:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329989888001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329989888001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:20:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329989888001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":152300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:20:16] local.INFO: GPS data processed {"connection_id":152300,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:20:16] local.INFO: Acknowledgment sent {"connection_id":152300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:20:19] local.INFO: TCP Data received {"connection_id":155009,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:20:19] local.INFO: Processing buffer {"connection_id":155009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:20:19] local.INFO: IMEI packet received {"connection_id":155009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":155009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:20:22] local.INFO: TCP Data received {"connection_id":155010,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155010,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:20:22] local.INFO: Processing buffer {"connection_id":155010,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:20:22] local.INFO: IMEI packet received {"connection_id":155010,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":155010,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:20:24] local.INFO: TCP Data received {"connection_id":155009,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:20:24] local.INFO: Processing buffer {"connection_id":155009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:20:24] local.INFO: IMEI packet received {"connection_id":155009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":155009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:20:25] local.INFO: TCP Data received {"connection_id":155009,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:20:25] local.INFO: Processing buffer {"connection_id":155009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff06d1320012d9db80005a444b8000600712f..."} 
[2026-08-11 16:20:25] local.INFO: Packet analysis {"connection_id":155009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:20:25] local.INFO: Extracted packet for processing {"connection_id":155009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff06d"} 
[2026-08-11 16:20:25] local.INFO: GPS Element Parsed {"raw_longitude":765310976,"raw_latitude":94651576,"longitude_deg":76.5310976,"latitude_deg":9.4651576,"altitude":6,"angle":113,"satellites":47,"speed":24,"hex_longitude":"2d9db800","hex_latitude":"05a444b8","is_valid_coordinates":true} 
[2026-08-11 16:20:25] 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-08-11 16:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329945600001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086554726924658688,"note":"Value kept but may cause issues"} 
[2026-08-11 16:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786445108000,"timestamp_ms":1786445108000,"timestamp_seconds":1786445108,"priority":1,"record_length":96,"hex_timestamp":"0000019ff06d1320"} 
[2026-08-11 16:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 16:20:25] 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-08-11 16: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-08-11 16:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:20:25] 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-08-11 16:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329945600001,"66":28050,"154":206,"83":17152,"24":24,"16":377795240435646464,"45":-7086554726924658688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329945600001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:20:25] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:20:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086554726924658688,"description":"Unknown IO ID 45"} 
[2026-08-11 16:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329945600001,"power":28050,"unknown_154":206,"unknown_83":17152,"ignition":24,"odometer":null,"unknown_45":-7086554726924658688}} 
[2026-08-11 16:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":155009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:20:25] local.INFO: GPS data processed {"connection_id":155009,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:20:25] local.INFO: Acknowledgment sent {"connection_id":155009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:20:27] local.INFO: TCP Data received {"connection_id":155010,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155010,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:20:27] local.INFO: Processing buffer {"connection_id":155010,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:20:27] local.INFO: IMEI packet received {"connection_id":155010,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":155010,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:20:28] local.INFO: TCP Data received {"connection_id":155010,"ip":"117.225.170.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0714558012d0d3cc00705c038001500a01b..."} 
[2026-08-11 16:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0714558012d0d3cc00705c038001500a01b..."} 
[2026-08-11 16:20:28] local.INFO: Processing buffer {"connection_id":155010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0714558012d0d3cc00705c038001500a01b..."} 
[2026-08-11 16:20:28] local.INFO: Packet analysis {"connection_id":155010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:20:28] local.INFO: Extracted packet for processing {"connection_id":155010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:20:28] local.INFO: GPS Element Parsed {"raw_longitude":755842240,"raw_latitude":117817400,"longitude_deg":75.584224,"latitude_deg":11.78174,"altitude":21,"angle":160,"satellites":27,"speed":6,"hex_longitude":"2d0d3cc0","hex_latitude":"0705c038","is_valid_coordinates":true} 
[2026-08-11 16:20: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-08-11 16:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330017792001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27671215862710272,"note":"Value kept but may cause issues"} 
[2026-08-11 16:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953707620001173504,"note":"Value kept but may cause issues"} 
[2026-08-11 16:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786445383000,"timestamp_ms":1786445383000,"timestamp_seconds":1786445383,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0714558"} 
[2026-08-11 16:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:20: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-08-11 16:20: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":60,"data_length":795,"current_offset":136} 
[2026-08-11 16:20:28] 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-08-11 16:20: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-08-11 16:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":155010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":155010,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":155010,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.170.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330017792001,"66":14396,"220":206,"28":32256,"24":6,"16":27671215862710272,"45":953707620001173504},"client_ip":"117.225.170.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-11 16:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330017792001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:20:28] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-11 16:20:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-11 16:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27671215862710272,"km_value":27671215862710.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":953707620001173504,"description":"Unknown IO ID 45"} 
[2026-08-11 16:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330017792001,"power":14396,"unknown_220":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":953707620001173504}} 
[2026-08-11 16:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":155010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625739,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:20:29] local.INFO: GPS data processed {"connection_id":155010,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:20:29] local.INFO: Acknowledgment sent {"connection_id":155010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:20:49] local.INFO: TCP Data received {"connection_id":152300,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0703bb8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0703bb8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:20:49] local.INFO: Processing buffer {"connection_id":152300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0703bb8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:20:49] local.INFO: Packet analysis {"connection_id":152300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff070"} 
[2026-08-11 16:20:49] local.INFO: Extracted packet for processing {"connection_id":152300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff070"} 
[2026-08-11 16:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:20: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-08-11 16:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329995264001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:20:49] 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-08-11 16:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786445315000,"timestamp_ms":1786445315000,"timestamp_seconds":1786445315,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0703bb8"} 
[2026-08-11 16:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:20:49] 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-08-11 16:20: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:20:49] 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-08-11 16:20: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-08-11 16:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329995264001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329995264001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:20:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329995264001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":152300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:20:49] local.INFO: GPS data processed {"connection_id":152300,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:20:49] local.INFO: Acknowledgment sent {"connection_id":152300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:20:56] local.INFO: TCP Data received {"connection_id":155009,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:20:56] local.INFO: Processing buffer {"connection_id":155009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:20:56] local.INFO: Packet analysis {"connection_id":155009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:20:56] local.INFO: Extracted packet for processing {"connection_id":155009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:20:56] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":49,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329947648001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7081910389809301504,"note":"Value kept but may cause issues"} 
[2026-08-11 16:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786445412000,"timestamp_ms":1786445412000,"timestamp_seconds":1786445412,"priority":1,"record_length":96,"hex_timestamp":"0000019ff071b6a0"} 
[2026-08-11 16:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:20: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-08-11 16: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-08-11 16:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:20:56] 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-08-11 16:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329947648001,"66":26539,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7081910389809301504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329947648001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:20:56] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7081910389809301504,"description":"Unknown IO ID 45"} 
[2026-08-11 16:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329947648001,"power":26539,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7081910389809301504}} 
[2026-08-11 16:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":155009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:20:56] local.INFO: GPS data processed {"connection_id":155009,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:20:56] local.INFO: Acknowledgment sent {"connection_id":155009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:21:00] local.INFO: TCP Data received {"connection_id":155010,"ip":"117.225.170.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0717820012d0d3dc00705bd680015015a1b..."} 
[2026-08-11 16:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0717820012d0d3dc00705bd680015015a1b..."} 
[2026-08-11 16:21:00] local.INFO: Processing buffer {"connection_id":155010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0717820012d0d3dc00705bd680015015a1b..."} 
[2026-08-11 16:21:00] local.INFO: Packet analysis {"connection_id":155010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:21:00] local.INFO: Extracted packet for processing {"connection_id":155010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:21:00] local.INFO: GPS Element Parsed {"raw_longitude":755842496,"raw_latitude":117816680,"longitude_deg":75.5842496,"latitude_deg":11.781668,"altitude":21,"angle":346,"satellites":27,"speed":2,"hex_longitude":"2d0d3dc0","hex_latitude":"0705bd68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330018048001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27671267402317824,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953848357489489920,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786445396000,"timestamp_ms":1786445396000,"timestamp_seconds":1786445396,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0717820"} 
[2026-08-11 16:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:21: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-08-11 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 16:21:00] 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-08-11 16: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-08-11 16:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":155010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":155010,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":155010,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.170.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330018048001,"66":14309,"220":206,"28":32256,"24":2,"16":27671267402317824,"45":953848357489489920},"client_ip":"117.225.170.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-11 16:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330018048001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:21:00] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-11 16:21:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-11 16:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27671267402317824,"km_value":27671267402317.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":953848357489489920,"description":"Unknown IO ID 45"} 
[2026-08-11 16:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330018048001,"power":14309,"unknown_220":206,"unknown_28":32256,"ignition":2,"odometer":null,"unknown_45":953848357489489920}} 
[2026-08-11 16:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":155010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625742,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:21:00] local.INFO: GPS data processed {"connection_id":155010,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:21:00] local.INFO: Acknowledgment sent {"connection_id":155010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:21:10] local.INFO: TCP Data received {"connection_id":153616,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:21:10] local.INFO: Processing buffer {"connection_id":153616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:21:10] local.INFO: IMEI packet received {"connection_id":153616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":153616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:21:13] local.INFO: TCP Data received {"connection_id":153615,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:21:13] local.INFO: Processing buffer {"connection_id":153615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:21:13] local.INFO: IMEI packet received {"connection_id":153615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":153615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:21:15] local.INFO: TCP Data received {"connection_id":153616,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:21:15] local.INFO: Processing buffer {"connection_id":153616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:21:15] local.INFO: IMEI packet received {"connection_id":153616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":153616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:21:16] local.INFO: TCP Data received {"connection_id":153616,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0708dc0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0708dc0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:21:16] local.INFO: Processing buffer {"connection_id":153616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0708dc0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:21:16] local.INFO: Packet analysis {"connection_id":153616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff070"} 
[2026-08-11 16:21:16] local.INFO: Extracted packet for processing {"connection_id":153616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff070"} 
[2026-08-11 16:21:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330000640001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:16] 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-08-11 16:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786445336000,"timestamp_ms":1786445336000,"timestamp_seconds":1786445336,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0708dc0"} 
[2026-08-11 16:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:21: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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:21:16] 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-08-11 16: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-08-11 16:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330000640001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330000640001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:21:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:21:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330000640001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":153616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:21:16] local.INFO: GPS data processed {"connection_id":153616,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:21:16] local.INFO: Acknowledgment sent {"connection_id":153616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:21:21] local.INFO: TCP Data received {"connection_id":153615,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0711e48012d7b660005e78fd80002009628..."} 
[2026-08-11 16:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0711e48012d7b660005e78fd80002009628..."} 
[2026-08-11 16:21:21] local.INFO: Processing buffer {"connection_id":153615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0711e48012d7b660005e78fd80002009628..."} 
[2026-08-11 16:21:21] local.INFO: Packet analysis {"connection_id":153615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:21:21] local.INFO: Extracted packet for processing {"connection_id":153615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:21:21] local.INFO: GPS Element Parsed {"raw_longitude":763061760,"raw_latitude":99061720,"longitude_deg":76.306176,"latitude_deg":9.906172,"altitude":2,"angle":150,"satellites":40,"speed":6,"hex_longitude":"2d7b6600","hex_latitude":"05e78fd8","is_valid_coordinates":true} 
[2026-08-11 16:21: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-08-11 16:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330013696001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117657506632695808,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890950114720018432,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786445373000,"timestamp_ms":1786445373000,"timestamp_seconds":1786445373,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0711e48"} 
[2026-08-11 16:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:21:21] 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-08-11 16:21: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":237,"data_length":795,"current_offset":136} 
[2026-08-11 16:21:21] 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-08-11 16:21: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-08-11 16:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":153615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":153615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":153615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330013696001,"66":12961,"96":206,"87":13824,"24":6,"16":117657506632695808,"45":8890950114720018432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-11 16:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330013696001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:21:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 16:21:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117657506632695808,"km_value":117657506632695.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890950114720018432,"description":"Unknown IO ID 45"} 
[2026-08-11 16:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330013696001,"power":12961,"unknown_96":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8890950114720018432}} 
[2026-08-11 16:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":153615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:21:21] local.INFO: GPS data processed {"connection_id":153615,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:21:21] local.INFO: Acknowledgment sent {"connection_id":153615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:21:24] local.INFO: TCP Data received {"connection_id":152672,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:21:24] local.INFO: Processing buffer {"connection_id":152672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:21:24] local.INFO: IMEI packet received {"connection_id":152672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":152672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:21:24] local.INFO: TCP Data received {"connection_id":152673,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152673,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:21:24] local.INFO: Processing buffer {"connection_id":152673,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:21:24] local.INFO: IMEI packet received {"connection_id":152673,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":152673,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:21:25] local.INFO: TCP Data received {"connection_id":152673,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152673,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:21:25] local.INFO: Processing buffer {"connection_id":152673,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:21:25] local.INFO: IMEI packet received {"connection_id":152673,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":152673,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:21:26] local.INFO: TCP Data received {"connection_id":152673,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152673,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:21:26] local.INFO: Processing buffer {"connection_id":152673,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:21:26] local.INFO: IMEI packet received {"connection_id":152673,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":152673,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:21:27] local.INFO: TCP Data received {"connection_id":152673,"ip":"117.225.170.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152673,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:21:27] local.INFO: Processing buffer {"connection_id":152673,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:21:27] local.INFO: IMEI packet received {"connection_id":152673,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":152673,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:21:29] local.INFO: TCP Data received {"connection_id":152672,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:21:29] local.INFO: Processing buffer {"connection_id":152672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:21:29] local.INFO: IMEI packet received {"connection_id":152672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":152672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:21:30] local.INFO: TCP Data received {"connection_id":152672,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:21:30] local.INFO: Processing buffer {"connection_id":152672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:21:30] local.INFO: Packet analysis {"connection_id":152672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:21:30] local.INFO: Extracted packet for processing {"connection_id":152672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:21:30] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":49,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329947648001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7081910389809301504,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786445412000,"timestamp_ms":1786445412000,"timestamp_seconds":1786445412,"priority":1,"record_length":96,"hex_timestamp":"0000019ff071b6a0"} 
[2026-08-11 16:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:21:30] 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-08-11 16: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-08-11 16:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:21:30] 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-08-11 16:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329947648001,"66":26539,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7081910389809301504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329947648001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:21:30] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7081910389809301504,"description":"Unknown IO ID 45"} 
[2026-08-11 16:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329947648001,"power":26539,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7081910389809301504}} 
[2026-08-11 16:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":152672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:21:30] local.INFO: GPS data processed {"connection_id":152672,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:21:30] local.INFO: Acknowledgment sent {"connection_id":152672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:21:49] local.INFO: TCP Data received {"connection_id":153616,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff070dfc8012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff070dfc8012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:21:49] local.INFO: Processing buffer {"connection_id":153616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff070dfc8012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:21:49] local.INFO: Packet analysis {"connection_id":153616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff070"} 
[2026-08-11 16:21:49] local.INFO: Extracted packet for processing {"connection_id":153616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff070"} 
[2026-08-11 16:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:21: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-08-11 16:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330006016001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:49] 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-08-11 16:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786445357000,"timestamp_ms":1786445357000,"timestamp_seconds":1786445357,"priority":1,"record_length":96,"hex_timestamp":"0000019ff070dfc8"} 
[2026-08-11 16:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:21:49] 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-08-11 16:21: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:21:49] 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-08-11 16:21: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-08-11 16:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330006016001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330006016001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:21:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330006016001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":153616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:21:49] local.INFO: GPS data processed {"connection_id":153616,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:21:49] local.INFO: Acknowledgment sent {"connection_id":153616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:21:52] local.INFO: TCP Data received {"connection_id":153615,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff072e368012d7b980005e6e0b0000000a227..."} 
[2026-08-11 16:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff072e368012d7b980005e6e0b0000000a227..."} 
[2026-08-11 16:21:52] local.INFO: Processing buffer {"connection_id":153615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff072e368012d7b980005e6e0b0000000a227..."} 
[2026-08-11 16:21:52] local.INFO: Packet analysis {"connection_id":153615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff072"} 
[2026-08-11 16:21:52] local.INFO: Extracted packet for processing {"connection_id":153615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff072"} 
[2026-08-11 16:21:52] local.INFO: GPS Element Parsed {"raw_longitude":763074560,"raw_latitude":99016880,"longitude_deg":76.307456,"latitude_deg":9.901688,"altitude":0,"angle":162,"satellites":39,"speed":3,"hex_longitude":"2d7b9800","hex_latitude":"05e6e0b0","is_valid_coordinates":true} 
[2026-08-11 16:21: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-08-11 16:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330040576001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117659795850264576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904531282334754816,"note":"Value kept but may cause issues"} 
[2026-08-11 16:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786445489000,"timestamp_ms":1786445489000,"timestamp_seconds":1786445489,"priority":1,"record_length":96,"hex_timestamp":"0000019ff072e368"} 
[2026-08-11 16:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:21:52] 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-08-11 16:21: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 16:21:52] 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-08-11 16:21: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-08-11 16:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330040576001,"66":13189,"96":206,"87":13824,"24":3,"16":117659795850264576,"45":8904531282334754816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-11 16:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330040576001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:21:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 16:21:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117659795850264576,"km_value":117659795850264.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904531282334754816,"description":"Unknown IO ID 45"} 
[2026-08-11 16:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330040576001,"power":13189,"unknown_96":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8904531282334754816}} 
[2026-08-11 16:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":153615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:21:52] local.INFO: GPS data processed {"connection_id":153615,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:21:52] local.INFO: Acknowledgment sent {"connection_id":153615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:22:01] local.INFO: TCP Data received {"connection_id":152672,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:22:01] local.INFO: Processing buffer {"connection_id":152672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:22:01] local.INFO: Packet analysis {"connection_id":152672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:22:01] local.INFO: Extracted packet for processing {"connection_id":152672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:22:01] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":49,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16:22: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-08-11 16:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329947648001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7081910389809301504,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786445412000,"timestamp_ms":1786445412000,"timestamp_seconds":1786445412,"priority":1,"record_length":96,"hex_timestamp":"0000019ff071b6a0"} 
[2026-08-11 16:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16:22: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-08-11 16:22: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-08-11 16:22: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-08-11 16:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:22: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-08-11 16:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329947648001,"66":26539,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7081910389809301504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329947648001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:22:01] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:22:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7081910389809301504,"description":"Unknown IO ID 45"} 
[2026-08-11 16:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329947648001,"power":26539,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7081910389809301504}} 
[2026-08-11 16:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":152672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:22:01] local.INFO: GPS data processed {"connection_id":152672,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:22:01] local.INFO: Acknowledgment sent {"connection_id":152672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:22:08] local.INFO: TCP Data received {"connection_id":153617,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:22:08] local.INFO: Processing buffer {"connection_id":153617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:22:08] local.INFO: IMEI packet received {"connection_id":153617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":153617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:22:10] local.INFO: TCP Data received {"connection_id":152301,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:22:10] local.INFO: Processing buffer {"connection_id":152301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:22:10] local.INFO: IMEI packet received {"connection_id":152301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":152301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:22:13] local.INFO: TCP Data received {"connection_id":153617,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:22:13] local.INFO: Processing buffer {"connection_id":153617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:22:13] local.INFO: IMEI packet received {"connection_id":153617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":153617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:22:14] local.INFO: TCP Data received {"connection_id":153617,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff072ef20012d7b980005e6de90000000b127..."} 
[2026-08-11 16:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff072ef20012d7b980005e6de90000000b127..."} 
[2026-08-11 16:22:14] local.INFO: Processing buffer {"connection_id":153617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff072ef20012d7b980005e6de90000000b127..."} 
[2026-08-11 16:22:14] local.INFO: Packet analysis {"connection_id":153617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff072"} 
[2026-08-11 16:22:14] local.INFO: Extracted packet for processing {"connection_id":153617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff072"} 
[2026-08-11 16:22:14] local.INFO: GPS Element Parsed {"raw_longitude":763074560,"raw_latitude":99016336,"longitude_deg":76.307456,"latitude_deg":9.9016336,"altitude":0,"angle":177,"satellites":39,"speed":6,"hex_longitude":"2d7b9800","hex_latitude":"05e6de90","is_valid_coordinates":true} 
[2026-08-11 16:22: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-08-11 16:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330045184001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117659821620068352,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905868288473477120,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786445492000,"timestamp_ms":1786445492000,"timestamp_seconds":1786445492,"priority":1,"record_length":96,"hex_timestamp":"0000019ff072ef20"} 
[2026-08-11 16:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:22:14] 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-08-11 16:22: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 16:22:14] 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-08-11 16:22: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-08-11 16:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330045184001,"66":13048,"96":206,"87":13824,"24":6,"16":117659821620068352,"45":8905868288473477120},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-11 16:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330045184001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:22:14] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 16:22:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117659821620068352,"km_value":117659821620068.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905868288473477120,"description":"Unknown IO ID 45"} 
[2026-08-11 16:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330045184001,"power":13048,"unknown_96":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8905868288473477120}} 
[2026-08-11 16:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":153617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:22:15] local.INFO: GPS data processed {"connection_id":153617,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:22:15] local.INFO: Acknowledgment sent {"connection_id":153617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:22:15] local.INFO: TCP Data received {"connection_id":152301,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:22:15] local.INFO: Processing buffer {"connection_id":152301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:22:15] local.INFO: IMEI packet received {"connection_id":152301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":152301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:22:16] local.INFO: TCP Data received {"connection_id":152301,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07131d0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07131d0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:22:16] local.INFO: Processing buffer {"connection_id":152301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07131d0012d1968c0071fee68003e011c2a..."} 
[2026-08-11 16:22:16] local.INFO: Packet analysis {"connection_id":152301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:22:16] local.INFO: Extracted packet for processing {"connection_id":152301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:22:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330011392001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:16] 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-08-11 16:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786445378000,"timestamp_ms":1786445378000,"timestamp_seconds":1786445378,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07131d0"} 
[2026-08-11 16:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:22: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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:22:16] 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-08-11 16: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-08-11 16:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330011392001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330011392001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:22:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:22:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330011392001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":152301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:22:16] local.INFO: GPS data processed {"connection_id":152301,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:22:16] local.INFO: Acknowledgment sent {"connection_id":152301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:22:19] local.INFO: TCP Data received {"connection_id":155011,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:22:19] local.INFO: Processing buffer {"connection_id":155011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:22:19] local.INFO: IMEI packet received {"connection_id":155011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":155011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:22:24] local.INFO: TCP Data received {"connection_id":155011,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:22:24] local.INFO: Processing buffer {"connection_id":155011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:22:24] local.INFO: IMEI packet received {"connection_id":155011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":155011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:22:25] local.INFO: TCP Data received {"connection_id":155011,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:22:25] local.INFO: Processing buffer {"connection_id":155011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:22:25] local.INFO: Packet analysis {"connection_id":155011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:22:25] local.INFO: Extracted packet for processing {"connection_id":155011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:22:25] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":49,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329947648001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7081910389809301504,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786445412000,"timestamp_ms":1786445412000,"timestamp_seconds":1786445412,"priority":1,"record_length":96,"hex_timestamp":"0000019ff071b6a0"} 
[2026-08-11 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-08-11 16:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:22:25] 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-08-11 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-08-11 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-08-11 16:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:22:25] 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-08-11 16:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329947648001,"66":26539,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7081910389809301504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329947648001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:22:25] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:22:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7081910389809301504,"description":"Unknown IO ID 45"} 
[2026-08-11 16:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329947648001,"power":26539,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7081910389809301504}} 
[2026-08-11 16:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":155011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:22:25] local.INFO: GPS data processed {"connection_id":155011,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:22:25] local.INFO: Acknowledgment sent {"connection_id":155011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:22:46] local.INFO: TCP Data received {"connection_id":153617,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0730e60012d7b984005e6cec0000000bc28..."} 
[2026-08-11 16:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0730e60012d7b984005e6cec0000000bc28..."} 
[2026-08-11 16:22:46] local.INFO: Processing buffer {"connection_id":153617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0730e60012d7b984005e6cec0000000bc28..."} 
[2026-08-11 16:22:46] local.INFO: Packet analysis {"connection_id":153617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff073"} 
[2026-08-11 16:22:46] local.INFO: Extracted packet for processing {"connection_id":153617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff073"} 
[2026-08-11 16:22:46] local.INFO: GPS Element Parsed {"raw_longitude":763074624,"raw_latitude":99012288,"longitude_deg":76.3074624,"latitude_deg":9.9012288,"altitude":0,"angle":188,"satellites":40,"speed":21,"hex_longitude":"2d7b9840","hex_latitude":"05e6cec0","is_valid_coordinates":true} 
[2026-08-11 16:22: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-08-11 16:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330045952001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117660019188563968,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905868288473337856,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786445500000,"timestamp_ms":1786445500000,"timestamp_seconds":1786445500,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0730e60"} 
[2026-08-11 16:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:22:46] 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-08-11 16:22: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 16:22:46] 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-08-11 16:22: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-08-11 16:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330045952001,"66":12961,"96":206,"87":13824,"24":21,"16":117660019188563968,"45":8905868288473337856},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-11 16:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330045952001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:22:46] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 16:22:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117660019188563968,"km_value":117660019188563.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905868288473337856,"description":"Unknown IO ID 45"} 
[2026-08-11 16:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330045952001,"power":12961,"unknown_96":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8905868288473337856}} 
[2026-08-11 16:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":153617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:22:46] local.INFO: GPS data processed {"connection_id":153617,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:22:46] local.INFO: Acknowledgment sent {"connection_id":153617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:22:46] local.INFO: TCP Data received {"connection_id":152301,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07183d8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07183d8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:22:46] local.INFO: Processing buffer {"connection_id":152301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07183d8012d1968c0071fee68003e011c2b..."} 
[2026-08-11 16:22:46] local.INFO: Packet analysis {"connection_id":152301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:22:46] local.INFO: Extracted packet for processing {"connection_id":152301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:22: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-08-11 16:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330016768001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:46] 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-08-11 16:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786445399000,"timestamp_ms":1786445399000,"timestamp_seconds":1786445399,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07183d8"} 
[2026-08-11 16:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:22:46] 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-08-11 16:22: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:22:46] 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-08-11 16:22: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-08-11 16:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330016768001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330016768001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:22:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330016768001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":152301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:22:47] local.INFO: GPS data processed {"connection_id":152301,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:22:47] local.INFO: Acknowledgment sent {"connection_id":152301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:22:56] local.INFO: TCP Data received {"connection_id":155011,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:22:56] local.INFO: Processing buffer {"connection_id":155011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:22:56] local.INFO: Packet analysis {"connection_id":155011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:22:56] local.INFO: Extracted packet for processing {"connection_id":155011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:22:56] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":49,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329947648001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7081910389809301504,"note":"Value kept but may cause issues"} 
[2026-08-11 16:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786445412000,"timestamp_ms":1786445412000,"timestamp_seconds":1786445412,"priority":1,"record_length":96,"hex_timestamp":"0000019ff071b6a0"} 
[2026-08-11 16:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:22: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-08-11 16: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-08-11 16:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:22:56] 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-08-11 16:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329947648001,"66":26539,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7081910389809301504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329947648001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:22:56] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:22:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7081910389809301504,"description":"Unknown IO ID 45"} 
[2026-08-11 16:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329947648001,"power":26539,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7081910389809301504}} 
[2026-08-11 16:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":155011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:22:56] local.INFO: GPS data processed {"connection_id":155011,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:22:56] local.INFO: Acknowledgment sent {"connection_id":155011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:23:09] local.INFO: TCP Data received {"connection_id":152674,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:23:09] local.INFO: Processing buffer {"connection_id":152674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:23:09] local.INFO: IMEI packet received {"connection_id":152674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":152674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:23:10] local.INFO: TCP Data received {"connection_id":152675,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:23:10] local.INFO: Processing buffer {"connection_id":152675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:23:10] local.INFO: IMEI packet received {"connection_id":152675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":152675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:23:14] local.INFO: TCP Data received {"connection_id":152674,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:23:14] local.INFO: Processing buffer {"connection_id":152674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:23:14] local.INFO: IMEI packet received {"connection_id":152674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":152674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:23:15] local.INFO: TCP Data received {"connection_id":152674,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0733d40012d7b960005e6b7a0000000ad28..."} 
[2026-08-11 16:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0733d40012d7b960005e6b7a0000000ad28..."} 
[2026-08-11 16:23:15] local.INFO: Processing buffer {"connection_id":152674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0733d40012d7b960005e6b7a0000000ad28..."} 
[2026-08-11 16:23:15] local.INFO: Packet analysis {"connection_id":152674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff073"} 
[2026-08-11 16:23:15] local.INFO: Extracted packet for processing {"connection_id":152674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff073"} 
[2026-08-11 16:23:15] local.INFO: GPS Element Parsed {"raw_longitude":763074048,"raw_latitude":99006368,"longitude_deg":76.3074048,"latitude_deg":9.9006368,"altitude":0,"angle":173,"satellites":40,"speed":22,"hex_longitude":"2d7b9600","hex_latitude":"05e6b7a0","is_valid_coordinates":true} 
[2026-08-11 16:23: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-08-11 16:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330048000001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117660311246340096,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905938657216479232,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786445512000,"timestamp_ms":1786445512000,"timestamp_seconds":1786445512,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0733d40"} 
[2026-08-11 16:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:23: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-08-11 16:23: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-11 16:23:15] 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-08-11 16:23: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-08-11 16:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330048000001,"66":13037,"96":206,"87":13824,"24":22,"16":117660311246340096,"45":8905938657216479232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-11 16:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330048000001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:23:15] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 16:23:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117660311246340096,"km_value":117660311246340.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905938657216479232,"description":"Unknown IO ID 45"} 
[2026-08-11 16:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330048000001,"power":13037,"unknown_96":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8905938657216479232}} 
[2026-08-11 16:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":152674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:23:15] local.INFO: GPS data processed {"connection_id":152674,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:23:15] local.INFO: Acknowledgment sent {"connection_id":152674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:23:15] local.INFO: TCP Data received {"connection_id":152675,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:23:15] local.INFO: Processing buffer {"connection_id":152675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:23:15] local.INFO: IMEI packet received {"connection_id":152675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":152675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:23:16] local.INFO: TCP Data received {"connection_id":152675,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff071d5e0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff071d5e0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:23:16] local.INFO: Processing buffer {"connection_id":152675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff071d5e0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:23:16] local.INFO: Packet analysis {"connection_id":152675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:23:16] local.INFO: Extracted packet for processing {"connection_id":152675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330022144001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:16] 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-08-11 16:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786445420000,"timestamp_ms":1786445420000,"timestamp_seconds":1786445420,"priority":1,"record_length":96,"hex_timestamp":"0000019ff071d5e0"} 
[2026-08-11 16:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:23: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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:23:16] 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-08-11 16: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-08-11 16:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330022144001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330022144001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:23:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330022144001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":152675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:23:16] local.INFO: GPS data processed {"connection_id":152675,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:23:16] local.INFO: Acknowledgment sent {"connection_id":152675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:23:19] local.INFO: TCP Data received {"connection_id":152676,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:23:19] local.INFO: Processing buffer {"connection_id":152676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:23:19] local.INFO: IMEI packet received {"connection_id":152676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":152676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:23:24] local.INFO: TCP Data received {"connection_id":152676,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:23:24] local.INFO: Processing buffer {"connection_id":152676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:23:24] local.INFO: IMEI packet received {"connection_id":152676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":152676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:23:25] local.INFO: TCP Data received {"connection_id":152676,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:23:25] local.INFO: Processing buffer {"connection_id":152676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:23:25] local.INFO: Packet analysis {"connection_id":152676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:23:25] local.INFO: Extracted packet for processing {"connection_id":152676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:23:25] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":49,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329947648001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7081910389809301504,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786445412000,"timestamp_ms":1786445412000,"timestamp_seconds":1786445412,"priority":1,"record_length":96,"hex_timestamp":"0000019ff071b6a0"} 
[2026-08-11 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-08-11 16:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:23:25] 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-08-11 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-08-11 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-08-11 16:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:23:25] 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-08-11 16:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329947648001,"66":26539,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7081910389809301504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329947648001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:23:25] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:23:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7081910389809301504,"description":"Unknown IO ID 45"} 
[2026-08-11 16:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329947648001,"power":26539,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7081910389809301504}} 
[2026-08-11 16:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":152676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:23:25] local.INFO: GPS data processed {"connection_id":152676,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:23:25] local.INFO: Acknowledgment sent {"connection_id":152676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:23:46] local.INFO: TCP Data received {"connection_id":152674,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff074ac70012d7be88005e5e6000005007c28..."} 
[2026-08-11 16:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff074ac70012d7be88005e5e6000005007c28..."} 
[2026-08-11 16:23:46] local.INFO: Processing buffer {"connection_id":152674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff074ac70012d7be88005e5e6000005007c28..."} 
[2026-08-11 16:23:46] local.INFO: Packet analysis {"connection_id":152674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff074"} 
[2026-08-11 16:23:46] local.INFO: Extracted packet for processing {"connection_id":152674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff074"} 
[2026-08-11 16:23:46] local.INFO: GPS Element Parsed {"raw_longitude":763095168,"raw_latitude":98952704,"longitude_deg":76.3095168,"latitude_deg":9.8952704,"altitude":5,"angle":124,"satellites":40,"speed":24,"hex_longitude":"2d7be880","hex_latitude":"05e5e600","is_valid_coordinates":true} 
[2026-08-11 16:23: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-08-11 16:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330074624001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117663141629788160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471492919781376,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786445606000,"timestamp_ms":1786445606000,"timestamp_seconds":1786445606,"priority":1,"record_length":96,"hex_timestamp":"0000019ff074ac70"} 
[2026-08-11 16:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:23: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-11 16:23:46] 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-08-11 16:23: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-08-11 16:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330074624001,"66":12874,"40":206,"87":13824,"24":24,"16":117663141629788160,"45":8927471492919781376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-08-11 16:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330074624001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:23:46] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-11 16:23:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117663141629788160,"km_value":117663141629788.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471492919781376,"description":"Unknown IO ID 45"} 
[2026-08-11 16:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330074624001,"power":12874,"unknown_40":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8927471492919781376}} 
[2026-08-11 16:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":152674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:23:46] local.INFO: GPS data processed {"connection_id":152674,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:23:46] local.INFO: Acknowledgment sent {"connection_id":152674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:23:47] local.INFO: TCP Data received {"connection_id":152675,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07227e8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07227e8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:23:47] local.INFO: Processing buffer {"connection_id":152675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07227e8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:23:47] local.INFO: Packet analysis {"connection_id":152675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff072"} 
[2026-08-11 16:23:47] local.INFO: Extracted packet for processing {"connection_id":152675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff072"} 
[2026-08-11 16:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:23: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-08-11 16:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330027520001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:47] 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-08-11 16:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786445441000,"timestamp_ms":1786445441000,"timestamp_seconds":1786445441,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07227e8"} 
[2026-08-11 16:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:23:47] 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-08-11 16:23: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:23:47] 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-08-11 16:23: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-08-11 16:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330027520001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330027520001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:23:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330027520001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":152675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:23:47] local.INFO: GPS data processed {"connection_id":152675,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:23:47] local.INFO: Acknowledgment sent {"connection_id":152675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:23:59] local.INFO: TCP Data received {"connection_id":152676,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:23:59] local.INFO: Processing buffer {"connection_id":152676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:23:59] local.INFO: Packet analysis {"connection_id":152676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:23:59] local.INFO: Extracted packet for processing {"connection_id":152676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:23:59] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":49,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329947648001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7081910389809301504,"note":"Value kept but may cause issues"} 
[2026-08-11 16:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786445412000,"timestamp_ms":1786445412000,"timestamp_seconds":1786445412,"priority":1,"record_length":96,"hex_timestamp":"0000019ff071b6a0"} 
[2026-08-11 16:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:23: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-08-11 16:23: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-08-11 16:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:23:59] 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-08-11 16:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329947648001,"66":26539,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7081910389809301504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329947648001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:23:59] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:23:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7081910389809301504,"description":"Unknown IO ID 45"} 
[2026-08-11 16:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329947648001,"power":26539,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7081910389809301504}} 
[2026-08-11 16:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":152676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:23:59] local.INFO: GPS data processed {"connection_id":152676,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:23:59] local.INFO: Acknowledgment sent {"connection_id":152676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:24:08] local.INFO: TCP Data received {"connection_id":153618,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:24:08] local.INFO: Processing buffer {"connection_id":153618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:24:08] local.INFO: IMEI packet received {"connection_id":153618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":153618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:24:11] local.INFO: TCP Data received {"connection_id":152304,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:24:11] local.INFO: Processing buffer {"connection_id":152304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:24:11] local.INFO: IMEI packet received {"connection_id":152304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":152304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:24:13] local.INFO: TCP Data received {"connection_id":153618,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:24:13] local.INFO: Processing buffer {"connection_id":153618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:24:13] local.INFO: IMEI packet received {"connection_id":153618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":153618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:24:14] local.INFO: TCP Data received {"connection_id":153618,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff074d768012d7c01c005e5cfc80003008b29..."} 
[2026-08-11 16:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff074d768012d7c01c005e5cfc80003008b29..."} 
[2026-08-11 16:24:14] local.INFO: Processing buffer {"connection_id":153618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff074d768012d7c01c005e5cfc80003008b29..."} 
[2026-08-11 16:24:14] local.INFO: Packet analysis {"connection_id":153618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff074"} 
[2026-08-11 16:24:14] local.INFO: Extracted packet for processing {"connection_id":153618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff074"} 
[2026-08-11 16:24:14] local.INFO: GPS Element Parsed {"raw_longitude":763101632,"raw_latitude":98947016,"longitude_deg":76.3101632,"latitude_deg":9.8947016,"altitude":3,"angle":139,"satellites":41,"speed":31,"hex_longitude":"2d7c01c0","hex_latitude":"05e5cfc8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330075136001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117663558241615872,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928527024082255872,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786445617000,"timestamp_ms":1786445617000,"timestamp_seconds":1786445617,"priority":1,"record_length":96,"hex_timestamp":"0000019ff074d768"} 
[2026-08-11 16:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:24: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-08-11 16: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-11 16:24:14] 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-08-11 16: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-08-11 16:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330075136001,"66":13178,"40":206,"87":13824,"24":31,"16":117663558241615872,"45":8928527024082255872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-08-11 16:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330075136001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:24:14] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-11 16:24:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117663558241615872,"km_value":117663558241615.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928527024082255872,"description":"Unknown IO ID 45"} 
[2026-08-11 16:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330075136001,"power":13178,"unknown_40":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8928527024082255872}} 
[2026-08-11 16:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":153618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:24:14] local.INFO: GPS data processed {"connection_id":153618,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:24:14] local.INFO: Acknowledgment sent {"connection_id":153618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:24:15] local.INFO: TCP Data received {"connection_id":152304,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:24:15] local.INFO: Processing buffer {"connection_id":152304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:24:15] local.INFO: IMEI packet received {"connection_id":152304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":152304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:24:16] local.INFO: TCP Data received {"connection_id":152304,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07279f0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07279f0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:24:16] local.INFO: Processing buffer {"connection_id":152304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07279f0012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:24:16] local.INFO: Packet analysis {"connection_id":152304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff072"} 
[2026-08-11 16:24:16] local.INFO: Extracted packet for processing {"connection_id":152304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff072"} 
[2026-08-11 16:24:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330032896001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:16] 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-08-11 16:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786445462000,"timestamp_ms":1786445462000,"timestamp_seconds":1786445462,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07279f0"} 
[2026-08-11 16:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:24:16] 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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:24:16] 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-08-11 16: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-08-11 16:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330032896001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330032896001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:24:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:24:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330032896001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":152304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:24:16] local.INFO: GPS data processed {"connection_id":152304,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:24:16] local.INFO: Acknowledgment sent {"connection_id":152304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:24:19] local.INFO: TCP Data received {"connection_id":155012,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:24:19] local.INFO: Processing buffer {"connection_id":155012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:24:19] local.INFO: IMEI packet received {"connection_id":155012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":155012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:24:24] local.INFO: TCP Data received {"connection_id":155012,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:24:24] local.INFO: Processing buffer {"connection_id":155012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:24:24] local.INFO: IMEI packet received {"connection_id":155012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":155012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:24:25] local.INFO: TCP Data received {"connection_id":155012,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:24:25] local.INFO: Processing buffer {"connection_id":155012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:24:25] local.INFO: Packet analysis {"connection_id":155012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:24:25] local.INFO: Extracted packet for processing {"connection_id":155012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:24:25] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":49,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329947648001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7081910389809301504,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786445412000,"timestamp_ms":1786445412000,"timestamp_seconds":1786445412,"priority":1,"record_length":96,"hex_timestamp":"0000019ff071b6a0"} 
[2026-08-11 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-08-11 16:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:24:25] 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-08-11 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-08-11 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-08-11 16:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:24:25] 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-08-11 16:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329947648001,"66":26539,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7081910389809301504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329947648001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:24:25] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:24:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7081910389809301504,"description":"Unknown IO ID 45"} 
[2026-08-11 16:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329947648001,"power":26539,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7081910389809301504}} 
[2026-08-11 16:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":155012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:24:25] local.INFO: GPS data processed {"connection_id":155012,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:24:25] local.INFO: Acknowledgment sent {"connection_id":155012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:24:45] local.INFO: TCP Data received {"connection_id":153618,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff074e320012d7c078005e5c7600005009728..."} 
[2026-08-11 16:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff074e320012d7c078005e5c7600005009728..."} 
[2026-08-11 16:24:45] local.INFO: Processing buffer {"connection_id":153618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff074e320012d7c078005e5c7600005009728..."} 
[2026-08-11 16:24:45] local.INFO: Packet analysis {"connection_id":153618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff074"} 
[2026-08-11 16:24:45] local.INFO: Extracted packet for processing {"connection_id":153618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff074"} 
[2026-08-11 16:24:45] local.INFO: GPS Element Parsed {"raw_longitude":763103104,"raw_latitude":98944864,"longitude_deg":76.3103104,"latitude_deg":9.8944864,"altitude":5,"angle":151,"satellites":40,"speed":35,"hex_longitude":"2d7c0780","hex_latitude":"05e5c760","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330077952001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117663682795667456,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935634267242743808,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786445620000,"timestamp_ms":1786445620000,"timestamp_seconds":1786445620,"priority":1,"record_length":96,"hex_timestamp":"0000019ff074e320"} 
[2026-08-11 16:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:24: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-08-11 16: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 16:24:45] 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-08-11 16: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-08-11 16:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330077952001,"66":12765,"40":206,"87":13824,"24":35,"16":117663682795667456,"45":8935634267242743808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-08-11 16:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330077952001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:24:45] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-11 16:24:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117663682795667456,"km_value":117663682795667.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935634267242743808,"description":"Unknown IO ID 45"} 
[2026-08-11 16:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330077952001,"power":12765,"unknown_40":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8935634267242743808}} 
[2026-08-11 16:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":153618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:24:45] local.INFO: GPS data processed {"connection_id":153618,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:24:45] local.INFO: Acknowledgment sent {"connection_id":153618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:24:47] local.INFO: TCP Data received {"connection_id":152304,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff072cbf8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff072cbf8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:24:47] local.INFO: Processing buffer {"connection_id":152304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff072cbf8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:24:47] local.INFO: Packet analysis {"connection_id":152304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff072"} 
[2026-08-11 16:24:47] local.INFO: Extracted packet for processing {"connection_id":152304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff072"} 
[2026-08-11 16:24:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:24: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-08-11 16:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330038272001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:47] 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-08-11 16:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786445483000,"timestamp_ms":1786445483000,"timestamp_seconds":1786445483,"priority":1,"record_length":96,"hex_timestamp":"0000019ff072cbf8"} 
[2026-08-11 16:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:24:47] 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-08-11 16:24: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:24:47] 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-08-11 16:24: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-08-11 16:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330038272001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330038272001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:24:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:24:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330038272001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":152304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:24:47] local.INFO: GPS data processed {"connection_id":152304,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:24:47] local.INFO: Acknowledgment sent {"connection_id":152304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:24:57] local.INFO: TCP Data received {"connection_id":155012,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:24:57] local.INFO: Processing buffer {"connection_id":155012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:24:57] local.INFO: Packet analysis {"connection_id":155012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:24:57] local.INFO: Extracted packet for processing {"connection_id":155012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:24:57] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":49,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16:24: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-08-11 16:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329947648001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7081910389809301504,"note":"Value kept but may cause issues"} 
[2026-08-11 16:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786445412000,"timestamp_ms":1786445412000,"timestamp_seconds":1786445412,"priority":1,"record_length":96,"hex_timestamp":"0000019ff071b6a0"} 
[2026-08-11 16:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16:24: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":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:24:57] 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-08-11 16:24: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-08-11 16:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":155012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":155012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":155012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:24:57] 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-08-11 16:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329947648001,"66":26539,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7081910389809301504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329947648001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:24:57] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:24:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7081910389809301504,"description":"Unknown IO ID 45"} 
[2026-08-11 16:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329947648001,"power":26539,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7081910389809301504}} 
[2026-08-11 16:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":155012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:24:57] local.INFO: GPS data processed {"connection_id":155012,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:24:57] local.INFO: Acknowledgment sent {"connection_id":155012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:25:09] local.INFO: TCP Data received {"connection_id":152305,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:25:09] local.INFO: Processing buffer {"connection_id":152305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:25:09] local.INFO: IMEI packet received {"connection_id":152305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":152305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:25:10] local.INFO: TCP Data received {"connection_id":152306,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:25:10] local.INFO: Processing buffer {"connection_id":152306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:25:10] local.INFO: IMEI packet received {"connection_id":152306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":152306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:25:10] local.INFO: TCP Data received {"connection_id":152306,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:25:10] local.INFO: Processing buffer {"connection_id":152306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:25:10] local.INFO: IMEI packet received {"connection_id":152306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":152306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:25:13] local.INFO: TCP Data received {"connection_id":152305,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:25:13] local.INFO: Processing buffer {"connection_id":152305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:25:13] local.INFO: IMEI packet received {"connection_id":152305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":152305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:25:14] local.INFO: TCP Data received {"connection_id":152305,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0750648012d7c170005e5a7980006009928..."} 
[2026-08-11 16:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0750648012d7c170005e5a7980006009928..."} 
[2026-08-11 16:25:14] local.INFO: Processing buffer {"connection_id":152305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0750648012d7c170005e5a7980006009928..."} 
[2026-08-11 16:25:14] local.INFO: Packet analysis {"connection_id":152305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff075"} 
[2026-08-11 16:25:14] local.INFO: Extracted packet for processing {"connection_id":152305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff075"} 
[2026-08-11 16:25:14] local.INFO: GPS Element Parsed {"raw_longitude":763107072,"raw_latitude":98936728,"longitude_deg":76.3107072,"latitude_deg":9.8936728,"altitude":6,"angle":153,"satellites":40,"speed":40,"hex_longitude":"2d7c1700","hex_latitude":"05e5a798","is_valid_coordinates":true} 
[2026-08-11 16:25: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-08-11 16:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330078720001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117664120882331648,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937252748358279168,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786445629000,"timestamp_ms":1786445629000,"timestamp_seconds":1786445629,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0750648"} 
[2026-08-11 16:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:25: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-08-11 16:25: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-11 16:25:14] 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-08-11 16:25: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-08-11 16:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330078720001,"66":12993,"40":206,"87":13824,"24":40,"16":117664120882331648,"45":8937252748358279168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-08-11 16:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330078720001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:25:14] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-11 16:25:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117664120882331648,"km_value":117664120882331.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937252748358279168,"description":"Unknown IO ID 45"} 
[2026-08-11 16:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330078720001,"power":12993,"unknown_40":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8937252748358279168}} 
[2026-08-11 16:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":152305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:25:15] local.INFO: GPS data processed {"connection_id":152305,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:25:15] local.INFO: Acknowledgment sent {"connection_id":152305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:25:15] local.INFO: TCP Data received {"connection_id":152306,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:25:15] local.INFO: Processing buffer {"connection_id":152306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:25:15] local.INFO: IMEI packet received {"connection_id":152306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":152306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:25:15] local.INFO: TCP Data received {"connection_id":152306,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0731e00012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0731e00012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:25:15] local.INFO: Processing buffer {"connection_id":152306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0731e00012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:25:15] local.INFO: Packet analysis {"connection_id":152306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff073"} 
[2026-08-11 16:25:15] local.INFO: Extracted packet for processing {"connection_id":152306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff073"} 
[2026-08-11 16:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330043648001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:15] 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-08-11 16:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786445504000,"timestamp_ms":1786445504000,"timestamp_seconds":1786445504,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0731e00"} 
[2026-08-11 16:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:25:15] 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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:25:15] 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-08-11 16: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-08-11 16:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330043648001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330043648001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:25:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330043648001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":152306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:25:16] local.INFO: GPS data processed {"connection_id":152306,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:25:16] local.INFO: Acknowledgment sent {"connection_id":152306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:25:19] local.INFO: TCP Data received {"connection_id":152307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:25:19] local.INFO: Processing buffer {"connection_id":152307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:25:19] local.INFO: IMEI packet received {"connection_id":152307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":152307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:25:24] local.INFO: TCP Data received {"connection_id":152307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:25:24] local.INFO: Processing buffer {"connection_id":152307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:25:24] local.INFO: IMEI packet received {"connection_id":152307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":152307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:25:29] local.INFO: TCP Data received {"connection_id":152307,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:25:29] local.INFO: Processing buffer {"connection_id":152307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff071b6a0012d9deb0005a421380006007831..."} 
[2026-08-11 16:25:29] local.INFO: Packet analysis {"connection_id":152307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:25:29] local.INFO: Extracted packet for processing {"connection_id":152307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff071"} 
[2026-08-11 16:25:29] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":49,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457329947648001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7081910389809301504,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786445412000,"timestamp_ms":1786445412000,"timestamp_seconds":1786445412,"priority":1,"record_length":96,"hex_timestamp":"0000019ff071b6a0"} 
[2026-08-11 16:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:25:29] 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-08-11 16: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-08-11 16:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:25:29] 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-08-11 16:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457329947648001,"66":26539,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7081910389809301504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457329947648001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:25:29] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:25:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7081910389809301504,"description":"Unknown IO ID 45"} 
[2026-08-11 16:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457329947648001,"power":26539,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7081910389809301504}} 
[2026-08-11 16:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":152307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:25:29] local.INFO: GPS data processed {"connection_id":152307,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:25:29] local.INFO: Acknowledgment sent {"connection_id":152307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:25:46] local.INFO: TCP Data received {"connection_id":152305,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0767960012d7c1a8005e4dc98000700d428..."} 
[2026-08-11 16:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0767960012d7c1a8005e4dc98000700d428..."} 
[2026-08-11 16:25:46] local.INFO: Processing buffer {"connection_id":152305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0767960012d7c1a8005e4dc98000700d428..."} 
[2026-08-11 16:25:46] local.INFO: Packet analysis {"connection_id":152305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:25:46] local.INFO: Extracted packet for processing {"connection_id":152305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:25:46] local.INFO: GPS Element Parsed {"raw_longitude":763107968,"raw_latitude":98884760,"longitude_deg":76.3107968,"latitude_deg":9.888476,"altitude":7,"angle":212,"satellites":40,"speed":40,"hex_longitude":"2d7c1a80","hex_latitude":"05e4dc98","is_valid_coordinates":true} 
[2026-08-11 16:25: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-08-11 16:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330103040001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117666891136237568,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948230272436690944,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786445724000,"timestamp_ms":1786445724000,"timestamp_seconds":1786445724,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0767960"} 
[2026-08-11 16:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:25: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-08-11 16:25: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":7,"data_length":795,"current_offset":136} 
[2026-08-11 16:25:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4034268160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:46] local.WARNING: Large IO value detected {"io_id":229,"raw_value":2542282002545125632,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-11 16:25:46] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3489738108,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:46] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2147869984,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:46] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154008,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:46] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:46] local.WARNING: Large IO value detected {"io_id":117,"raw_value":-2794482273913618427,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:46] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,39,87,24,241,157,16,8,159,45,128,27,5,41,10,66,31,29,1,240,166,227,229,4,113,205,19,67,152,239,50,2,162,7,237,117],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-08-11 16:25:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504634227508510720,"timestamp_seconds":504634227508510.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330103040001,"66":13450,"39":206,"87":13824,"24":40,"16":117666891136237568,"45":8948230272436690944},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-11 16:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330103040001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:25:46] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-11 16:25:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117666891136237568,"km_value":117666891136237.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948230272436690944,"description":"Unknown IO ID 45"} 
[2026-08-11 16:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330103040001,"power":13450,"unknown_39":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8948230272436690944}} 
[2026-08-11 16:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":152305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:25:46] local.INFO: GPS data processed {"connection_id":152305,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:25:46] local.INFO: Acknowledgment sent {"connection_id":152305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:25:46] local.INFO: TCP Data received {"connection_id":152306,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0737008012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0737008012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:25:46] local.INFO: Processing buffer {"connection_id":152306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0737008012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:25:46] local.INFO: Packet analysis {"connection_id":152306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff073"} 
[2026-08-11 16:25:46] local.INFO: Extracted packet for processing {"connection_id":152306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff073"} 
[2026-08-11 16:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:25: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-08-11 16:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330049024001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:46] 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-08-11 16:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786445525000,"timestamp_ms":1786445525000,"timestamp_seconds":1786445525,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0737008"} 
[2026-08-11 16:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:25:46] 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-08-11 16:25: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:25:46] 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-08-11 16:25: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-08-11 16:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330049024001,"66":12504,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330049024001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:25:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330049024001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":152306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:25:46] local.INFO: GPS data processed {"connection_id":152306,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:25:46] local.INFO: Acknowledgment sent {"connection_id":152306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:25:59] local.INFO: TCP Data received {"connection_id":152307,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:25:59] local.INFO: Processing buffer {"connection_id":152307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:25:59] local.INFO: Packet analysis {"connection_id":152307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:25:59] local.INFO: Extracted packet for processing {"connection_id":152307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:25:59] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330025472001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786445713000,"timestamp_ms":1786445713000,"timestamp_seconds":1786445713,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0764e68"} 
[2026-08-11 16:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-11 16:25:59] 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-08-11 16: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-08-11 16:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:25:59] 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-08-11 16:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330025472001,"66":26234,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330025472001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:25:59] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330025472001,"power":26234,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":152307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:25:59] local.INFO: GPS data processed {"connection_id":152307,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:25:59] local.INFO: Acknowledgment sent {"connection_id":152307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:26:08] local.INFO: TCP Data received {"connection_id":153620,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:26:08] local.INFO: Processing buffer {"connection_id":153620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:26:08] local.INFO: IMEI packet received {"connection_id":153620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":153620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:26:13] local.INFO: TCP Data received {"connection_id":153621,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:26:13] local.INFO: Processing buffer {"connection_id":153621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:26:13] local.INFO: IMEI packet received {"connection_id":153621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":153621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:26:13] local.INFO: TCP Data received {"connection_id":153620,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:26:13] local.INFO: Processing buffer {"connection_id":153620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:26:13] local.INFO: IMEI packet received {"connection_id":153620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":153620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:26:14] local.INFO: TCP Data received {"connection_id":153620,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0769c88012d7c068005e4be40000800d529..."} 
[2026-08-11 16:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0769c88012d7c068005e4be40000800d529..."} 
[2026-08-11 16:26:14] local.INFO: Processing buffer {"connection_id":153620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0769c88012d7c068005e4be40000800d529..."} 
[2026-08-11 16:26:14] local.INFO: Packet analysis {"connection_id":153620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:26:14] local.INFO: Extracted packet for processing {"connection_id":153620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:26:14] local.INFO: GPS Element Parsed {"raw_longitude":763102848,"raw_latitude":98876992,"longitude_deg":76.3102848,"latitude_deg":9.8876992,"altitude":8,"angle":213,"satellites":41,"speed":44,"hex_longitude":"2d7c0680","hex_latitude":"05e4be40","is_valid_coordinates":true} 
[2026-08-11 16:26: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-08-11 16:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330105344001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117667342107803648,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942600772900395008,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786445733000,"timestamp_ms":1786445733000,"timestamp_seconds":1786445733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0769c88"} 
[2026-08-11 16:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:26: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-08-11 16:26: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":138,"data_length":795,"current_offset":136} 
[2026-08-11 16:26:14] 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-08-11 16:26: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-08-11 16:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330105344001,"66":13363,"39":206,"87":13824,"24":44,"16":117667342107803648,"45":8942600772900395008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-11 16:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330105344001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:26:14] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-11 16:26:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117667342107803648,"km_value":117667342107803.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942600772900395008,"description":"Unknown IO ID 45"} 
[2026-08-11 16:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330105344001,"power":13363,"unknown_39":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8942600772900395008}} 
[2026-08-11 16:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":153620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:26:14] local.INFO: GPS data processed {"connection_id":153620,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:26:14] local.INFO: Acknowledgment sent {"connection_id":153620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:26:15] local.INFO: TCP Data received {"connection_id":153621,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:26:15] local.INFO: Processing buffer {"connection_id":153621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:26:15] local.INFO: IMEI packet received {"connection_id":153621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":153621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:26:19] local.INFO: TCP Data received {"connection_id":153622,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:26:19] local.INFO: Processing buffer {"connection_id":153622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:26:19] local.INFO: IMEI packet received {"connection_id":153622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":153622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:26:20] local.INFO: TCP Data received {"connection_id":153621,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:26:20] local.INFO: Processing buffer {"connection_id":153621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:26:20] local.INFO: IMEI packet received {"connection_id":153621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":153621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:26:21] local.INFO: TCP Data received {"connection_id":153621,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff073c210012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff073c210012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:26:21] local.INFO: Processing buffer {"connection_id":153621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff073c210012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:26:21] local.INFO: Packet analysis {"connection_id":153621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff073"} 
[2026-08-11 16:26:21] local.INFO: Extracted packet for processing {"connection_id":153621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff073"} 
[2026-08-11 16:26:21] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:26: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-08-11 16:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330054400001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:21] 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-08-11 16:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786445546000,"timestamp_ms":1786445546000,"timestamp_seconds":1786445546,"priority":1,"record_length":96,"hex_timestamp":"0000019ff073c210"} 
[2026-08-11 16:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:26:21] 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-08-11 16:26: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:26:21] 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-08-11 16:26: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-08-11 16:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":153621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":153621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":153621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330054400001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330054400001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:26:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:26:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330054400001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":153621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:26:21] local.INFO: GPS data processed {"connection_id":153621,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:26:21] local.INFO: Acknowledgment sent {"connection_id":153621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:26:24] local.INFO: TCP Data received {"connection_id":153622,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:26:24] local.INFO: Processing buffer {"connection_id":153622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:26:24] local.INFO: IMEI packet received {"connection_id":153622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":153622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:26:25] local.INFO: TCP Data received {"connection_id":153622,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:26:25] local.INFO: Processing buffer {"connection_id":153622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:26:25] local.INFO: Packet analysis {"connection_id":153622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:26:25] local.INFO: Extracted packet for processing {"connection_id":153622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:26:25] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330025472001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786445713000,"timestamp_ms":1786445713000,"timestamp_seconds":1786445713,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0764e68"} 
[2026-08-11 16:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-11 16:26: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-08-11 16: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-08-11 16:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:26:25] 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-08-11 16:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330025472001,"66":26234,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330025472001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:26:25] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:26:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330025472001,"power":26234,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":153622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:26:25] local.INFO: GPS data processed {"connection_id":153622,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:26:25] local.INFO: Acknowledgment sent {"connection_id":153622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:26:25] local.INFO: TCP Data received {"connection_id":153621,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0741418012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0741418012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:26:25] local.INFO: Processing buffer {"connection_id":153621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0741418012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:26:25] local.INFO: Packet analysis {"connection_id":153621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff074"} 
[2026-08-11 16:26:25] local.INFO: Extracted packet for processing {"connection_id":153621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff074"} 
[2026-08-11 16:26:25] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330059776001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26: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-08-11 16:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786445567000,"timestamp_ms":1786445567000,"timestamp_seconds":1786445567,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0741418"} 
[2026-08-11 16:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:26:25] 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-08-11 16: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":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:26: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-08-11 16: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-08-11 16:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330059776001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330059776001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:26:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:26:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330059776001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":153621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:26:25] local.INFO: GPS data processed {"connection_id":153621,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:26:25] local.INFO: Acknowledgment sent {"connection_id":153621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:26:32] local.INFO: TCP Data received {"connection_id":152677,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:26:32] local.INFO: Processing buffer {"connection_id":152677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:26:32] local.INFO: IMEI packet received {"connection_id":152677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":152677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:26:32] local.INFO: TCP Data received {"connection_id":152677,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:26:32] local.INFO: Processing buffer {"connection_id":152677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:26:32] local.INFO: IMEI packet received {"connection_id":152677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":152677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:26:36] local.INFO: TCP Data received {"connection_id":152677,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:26:36] local.INFO: Processing buffer {"connection_id":152677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:26:36] local.INFO: IMEI packet received {"connection_id":152677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":152677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:26:37] local.INFO: TCP Data received {"connection_id":152677,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:26:37] local.INFO: Processing buffer {"connection_id":152677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:26:37] local.INFO: IMEI packet received {"connection_id":152677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":152677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:26:37] local.INFO: TCP Data received {"connection_id":152677,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff076ac28012d0da14007063390001800321e..."} 
[2026-08-11 16:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff076ac28012d0da14007063390001800321e..."} 
[2026-08-11 16:26:37] local.INFO: Processing buffer {"connection_id":152677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff076ac28012d0da14007063390001800321e..."} 
[2026-08-11 16:26:37] local.INFO: Packet analysis {"connection_id":152677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:26:37] local.INFO: Extracted packet for processing {"connection_id":152677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":755867968,"raw_latitude":117846928,"longitude_deg":75.5867968,"latitude_deg":11.7846928,"altitude":24,"angle":50,"satellites":30,"speed":18,"hex_longitude":"2d0da140","hex_latitude":"07063390","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330106880001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27676408478171136,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":978547786703040512,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786445737000,"timestamp_ms":1786445737000,"timestamp_seconds":1786445737,"priority":1,"record_length":96,"hex_timestamp":"0000019ff076ac28"} 
[2026-08-11 16:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:26:37] 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-08-11 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 16:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330106880001,"66":14439,"167":206,"94":11008,"24":18,"16":27676408478171136,"45":978547786703040512},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-11 16:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330106880001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:26:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 16:26:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 16:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27676408478171136,"km_value":27676408478171.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":978547786703040512,"description":"Unknown IO ID 45"} 
[2026-08-11 16:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330106880001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":978547786703040512}} 
[2026-08-11 16:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":152677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625777,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:26:37] local.INFO: GPS data processed {"connection_id":152677,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:26:37] local.INFO: Acknowledgment sent {"connection_id":152677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:26:38] local.INFO: TCP Data received {"connection_id":152677,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff076b010012d0da240070634e0001800221e..."} 
[2026-08-11 16:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff076b010012d0da240070634e0001800221e..."} 
[2026-08-11 16:26:38] local.INFO: Processing buffer {"connection_id":152677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff076b010012d0da240070634e0001800221e..."} 
[2026-08-11 16:26:38] local.INFO: Packet analysis {"connection_id":152677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:26:38] local.INFO: Extracted packet for processing {"connection_id":152677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:26:38] local.INFO: GPS Element Parsed {"raw_longitude":755868224,"raw_latitude":117847264,"longitude_deg":75.5868224,"latitude_deg":11.7847264,"altitude":24,"angle":34,"satellites":30,"speed":15,"hex_longitude":"2d0da240","hex_latitude":"070634e0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330108672001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27676429953007616,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982136592656470016,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786445738000,"timestamp_ms":1786445738000,"timestamp_seconds":1786445738,"priority":1,"record_length":96,"hex_timestamp":"0000019ff076b010"} 
[2026-08-11 16:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:26:38] 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-08-11 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 16:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330108672001,"66":14428,"167":206,"94":11008,"24":15,"16":27676429953007616,"45":982136592656470016},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-11 16:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330108672001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:26:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 16:26:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 16:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27676429953007616,"km_value":27676429953007.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":982136592656470016,"description":"Unknown IO ID 45"} 
[2026-08-11 16:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330108672001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":982136592656470016}} 
[2026-08-11 16:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":152677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625778,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:26:38] local.INFO: GPS data processed {"connection_id":152677,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:26:38] local.INFO: Acknowledgment sent {"connection_id":152677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:26:45] local.INFO: TCP Data received {"connection_id":153620,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff076bbc8012d7bf20005e49e00000900d428..."} 
[2026-08-11 16:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff076bbc8012d7bf20005e49e00000900d428..."} 
[2026-08-11 16:26:45] local.INFO: Processing buffer {"connection_id":153620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff076bbc8012d7bf20005e49e00000900d428..."} 
[2026-08-11 16:26:45] local.INFO: Packet analysis {"connection_id":153620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:26:45] local.INFO: Extracted packet for processing {"connection_id":153620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:26:45] local.INFO: GPS Element Parsed {"raw_longitude":763097600,"raw_latitude":98868736,"longitude_deg":76.30976,"latitude_deg":9.8868736,"altitude":9,"angle":212,"satellites":40,"speed":51,"hex_longitude":"2d7bf200","hex_latitude":"05e49e00","is_valid_coordinates":true} 
[2026-08-11 16:26: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-08-11 16:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330107648001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117667814554206208,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936971273364193280,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786445741000,"timestamp_ms":1786445741000,"timestamp_seconds":1786445741,"priority":1,"record_length":96,"hex_timestamp":"0000019ff076bbc8"} 
[2026-08-11 16:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:26: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-08-11 16:26: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 16:26:45] 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-08-11 16:26: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-08-11 16:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330107648001,"66":12906,"39":206,"87":13824,"24":51,"16":117667814554206208,"45":8936971273364193280},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-11 16:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330107648001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:26:45] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-11 16:26:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117667814554206208,"km_value":117667814554206.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936971273364193280,"description":"Unknown IO ID 45"} 
[2026-08-11 16:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330107648001,"power":12906,"unknown_39":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":8936971273364193280}} 
[2026-08-11 16:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":153620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:26:45] local.INFO: GPS data processed {"connection_id":153620,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:26:45] local.INFO: Acknowledgment sent {"connection_id":153620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:26:59] local.INFO: TCP Data received {"connection_id":153622,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:26:59] local.INFO: Processing buffer {"connection_id":153622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:26:59] local.INFO: Packet analysis {"connection_id":153622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:26:59] local.INFO: Extracted packet for processing {"connection_id":153622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:26:59] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330025472001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786445713000,"timestamp_ms":1786445713000,"timestamp_seconds":1786445713,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0764e68"} 
[2026-08-11 16:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-11 16:26:59] 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-08-11 16: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-08-11 16:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:26:59] 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-08-11 16:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330025472001,"66":26234,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330025472001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:26:59] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330025472001,"power":26234,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":153622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:26:59] local.INFO: GPS data processed {"connection_id":153622,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:26:59] local.INFO: Acknowledgment sent {"connection_id":153622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:27:10] local.INFO: TCP Data received {"connection_id":155013,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:27:10] local.INFO: Processing buffer {"connection_id":155013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:27:10] local.INFO: IMEI packet received {"connection_id":155013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":155013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:27:13] local.INFO: TCP Data received {"connection_id":152678,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:27:13] local.INFO: Processing buffer {"connection_id":152678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:27:13] local.INFO: IMEI packet received {"connection_id":152678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":152678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:27:14] local.INFO: TCP Data received {"connection_id":152678,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:27:14] local.INFO: Processing buffer {"connection_id":152678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:27:14] local.INFO: IMEI packet received {"connection_id":152678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":152678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:27:15] local.INFO: TCP Data received {"connection_id":155013,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:27:15] local.INFO: Processing buffer {"connection_id":155013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:27:15] local.INFO: IMEI packet received {"connection_id":155013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":155013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:27:16] local.INFO: TCP Data received {"connection_id":155013,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0746620012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0746620012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:27:16] local.INFO: Processing buffer {"connection_id":155013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0746620012d1968c0071fee68003e011c29..."} 
[2026-08-11 16:27:16] local.INFO: Packet analysis {"connection_id":155013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff074"} 
[2026-08-11 16:27:16] local.INFO: Extracted packet for processing {"connection_id":155013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff074"} 
[2026-08-11 16:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330065152001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:16] 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-08-11 16:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786445588000,"timestamp_ms":1786445588000,"timestamp_seconds":1786445588,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0746620"} 
[2026-08-11 16:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:27: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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:27:16] 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-08-11 16: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-08-11 16:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330065152001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330065152001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:27:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:27:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330065152001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":155013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:27:16] local.INFO: GPS data processed {"connection_id":155013,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:27:16] local.INFO: Acknowledgment sent {"connection_id":155013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:27:18] local.INFO: TCP Data received {"connection_id":152678,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:27:18] local.INFO: Processing buffer {"connection_id":152678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:27:18] local.INFO: IMEI packet received {"connection_id":152678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":152678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:27:19] local.INFO: TCP Data received {"connection_id":152679,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:27:19] local.INFO: Processing buffer {"connection_id":152679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:27:19] local.INFO: IMEI packet received {"connection_id":152679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":152679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:27:19] local.INFO: TCP Data received {"connection_id":152678,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff076d720012d7bdd8005e47ed0000b00d429..."} 
[2026-08-11 16:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff076d720012d7bdd8005e47ed0000b00d429..."} 
[2026-08-11 16:27:19] local.INFO: Processing buffer {"connection_id":152678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff076d720012d7bdd8005e47ed0000b00d429..."} 
[2026-08-11 16:27:19] local.INFO: Packet analysis {"connection_id":152678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:27:19] local.INFO: Extracted packet for processing {"connection_id":152678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:27:19] local.INFO: GPS Element Parsed {"raw_longitude":763092352,"raw_latitude":98860752,"longitude_deg":76.3092352,"latitude_deg":9.8860752,"altitude":11,"angle":212,"satellites":41,"speed":54,"hex_longitude":"2d7bdd80","hex_latitude":"05e47ed0","is_valid_coordinates":true} 
[2026-08-11 16:27: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-08-11 16:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330109696001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117668274115706880,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931201036339511296,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786445748000,"timestamp_ms":1786445748000,"timestamp_seconds":1786445748,"priority":1,"record_length":96,"hex_timestamp":"0000019ff076d720"} 
[2026-08-11 16:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:27: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-08-11 16:27: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-11 16:27:19] 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-08-11 16:27: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-08-11 16:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330109696001,"66":12885,"39":206,"87":13824,"24":54,"16":117668274115706880,"45":8931201036339511296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-11 16:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330109696001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:27:19] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-11 16:27:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117668274115706880,"km_value":117668274115706.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931201036339511296,"description":"Unknown IO ID 45"} 
[2026-08-11 16:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330109696001,"power":12885,"unknown_39":206,"unknown_87":13824,"ignition":54,"odometer":null,"unknown_45":8931201036339511296}} 
[2026-08-11 16:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":152678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:27:19] local.INFO: GPS data processed {"connection_id":152678,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:27:19] local.INFO: Acknowledgment sent {"connection_id":152678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:27:24] local.INFO: TCP Data received {"connection_id":152678,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff076f278012d7bc90005e45fd0000c00d527..."} 
[2026-08-11 16:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff076f278012d7bc90005e45fd0000c00d527..."} 
[2026-08-11 16:27:24] local.INFO: Processing buffer {"connection_id":152678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff076f278012d7bc90005e45fd0000c00d527..."} 
[2026-08-11 16:27:24] local.INFO: Packet analysis {"connection_id":152678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:27:24] local.INFO: Extracted packet for processing {"connection_id":152678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:27:24] local.INFO: GPS Element Parsed {"raw_longitude":763087104,"raw_latitude":98852816,"longitude_deg":76.3087104,"latitude_deg":9.8852816,"altitude":12,"angle":213,"satellites":39,"speed":52,"hex_longitude":"2d7bc900","hex_latitude":"05e45fd0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330111488001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117668733677207552,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925430799314898944,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786445755000,"timestamp_ms":1786445755000,"timestamp_seconds":1786445755,"priority":1,"record_length":96,"hex_timestamp":"0000019ff076f278"} 
[2026-08-11 16:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:27: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-08-11 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-11 16:27:24] 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-08-11 16: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-08-11 16:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330111488001,"66":12950,"39":206,"87":13824,"24":52,"16":117668733677207552,"45":8925430799314898944},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-11 16:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330111488001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:27:24] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-11 16:27:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117668733677207552,"km_value":117668733677207.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925430799314898944,"description":"Unknown IO ID 45"} 
[2026-08-11 16:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330111488001,"power":12950,"unknown_39":206,"unknown_87":13824,"ignition":52,"odometer":null,"unknown_45":8925430799314898944}} 
[2026-08-11 16:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":152678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:27:24] local.INFO: GPS data processed {"connection_id":152678,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:27:24] local.INFO: Acknowledgment sent {"connection_id":152678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:27:24] local.INFO: TCP Data received {"connection_id":152679,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:27:24] local.INFO: Processing buffer {"connection_id":152679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:27:24] local.INFO: IMEI packet received {"connection_id":152679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":152679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:27:25] local.INFO: TCP Data received {"connection_id":152679,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:27:25] local.INFO: Processing buffer {"connection_id":152679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:27:25] local.INFO: Packet analysis {"connection_id":152679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:27:25] local.INFO: Extracted packet for processing {"connection_id":152679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:27:25] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330025472001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786445713000,"timestamp_ms":1786445713000,"timestamp_seconds":1786445713,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0764e68"} 
[2026-08-11 16:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-11 16:27: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-08-11 16: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-08-11 16:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:27:25] 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-08-11 16:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330025472001,"66":26234,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330025472001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:27:25] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:27:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330025472001,"power":26234,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":152679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:27:25] local.INFO: GPS data processed {"connection_id":152679,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:27:25] local.INFO: Acknowledgment sent {"connection_id":152679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:27:27] local.INFO: TCP Data received {"connection_id":152680,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152680,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:27:27] local.INFO: Processing buffer {"connection_id":152680,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:27:27] local.INFO: IMEI packet received {"connection_id":152680,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":152680,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:27:28] local.INFO: TCP Data received {"connection_id":152680,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152680,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:27:28] local.INFO: Processing buffer {"connection_id":152680,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:27:28] local.INFO: IMEI packet received {"connection_id":152680,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":152680,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:27:28] local.INFO: TCP Data received {"connection_id":152680,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff077ec78012d0dbfc007067fa8001800401c..."} 
[2026-08-11 16:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff077ec78012d0dbfc007067fa8001800401c..."} 
[2026-08-11 16:27:28] local.INFO: Processing buffer {"connection_id":152680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff077ec78012d0dbfc007067fa8001800401c..."} 
[2026-08-11 16:27:28] local.INFO: Packet analysis {"connection_id":152680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff077"} 
[2026-08-11 16:27:28] local.INFO: Extracted packet for processing {"connection_id":152680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff077"} 
[2026-08-11 16:27:28] local.INFO: GPS Element Parsed {"raw_longitude":755875776,"raw_latitude":117866408,"longitude_deg":75.5875776,"latitude_deg":11.7866408,"altitude":24,"angle":64,"satellites":28,"speed":17,"hex_longitude":"2d0dbfc0","hex_latitude":"07067fa8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330129408001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27677495104897024,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":990158629497663488,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786445819000,"timestamp_ms":1786445819000,"timestamp_seconds":1786445819,"priority":1,"record_length":96,"hex_timestamp":"0000019ff077ec78"} 
[2026-08-11 16:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:27:28] 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-08-11 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 16:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330129408001,"66":14439,"167":206,"94":11008,"24":17,"16":27677495104897024,"45":990158629497663488},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-11 16:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330129408001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:27:28] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 16:27:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 16:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27677495104897024,"km_value":27677495104897.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":990158629497663488,"description":"Unknown IO ID 45"} 
[2026-08-11 16:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330129408001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":990158629497663488}} 
[2026-08-11 16:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":152680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625785,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:27:29] local.INFO: GPS data processed {"connection_id":152680,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:27:29] local.INFO: Acknowledgment sent {"connection_id":152680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:27:29] local.INFO: TCP Data received {"connection_id":152680,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff077f060012d0dc1c007067ff0001800501c..."} 
[2026-08-11 16:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff077f060012d0dc1c007067ff0001800501c..."} 
[2026-08-11 16:27:29] local.INFO: Processing buffer {"connection_id":152680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff077f060012d0dc1c007067ff0001800501c..."} 
[2026-08-11 16:27:29] local.INFO: Packet analysis {"connection_id":152680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff077"} 
[2026-08-11 16:27:29] local.INFO: Extracted packet for processing {"connection_id":152680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff077"} 
[2026-08-11 16:27:29] local.INFO: GPS Element Parsed {"raw_longitude":755876288,"raw_latitude":117866480,"longitude_deg":75.5876288,"latitude_deg":11.786648,"altitude":24,"angle":80,"satellites":28,"speed":19,"hex_longitude":"2d0dc1c0","hex_latitude":"07067ff0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330129664001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27677520874700800,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":990721579451131904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786445820000,"timestamp_ms":1786445820000,"timestamp_seconds":1786445820,"priority":1,"record_length":96,"hex_timestamp":"0000019ff077f060"} 
[2026-08-11 16:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:27:29] 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-08-11 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 16:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330129664001,"66":14428,"167":206,"94":11008,"24":19,"16":27677520874700800,"45":990721579451131904},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-11 16:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330129664001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:27:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 16:27:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 16:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27677520874700800,"km_value":27677520874700.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":990721579451131904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330129664001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":990721579451131904}} 
[2026-08-11 16:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":152680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625786,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:27:29] local.INFO: GPS data processed {"connection_id":152680,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:27:29] local.INFO: Acknowledgment sent {"connection_id":152680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:27:47] local.INFO: TCP Data received {"connection_id":155013,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff074b828012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff074b828012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:27:47] local.INFO: Processing buffer {"connection_id":155013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff074b828012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:27:47] local.INFO: Packet analysis {"connection_id":155013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff074"} 
[2026-08-11 16:27:47] local.INFO: Extracted packet for processing {"connection_id":155013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff074"} 
[2026-08-11 16:27:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:27: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-08-11 16:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330070528001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:47] 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-08-11 16:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786445609000,"timestamp_ms":1786445609000,"timestamp_seconds":1786445609,"priority":1,"record_length":96,"hex_timestamp":"0000019ff074b828"} 
[2026-08-11 16:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:27:47] 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-08-11 16:27: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:27:47] 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-08-11 16:27: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-08-11 16:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330070528001,"66":12406,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330070528001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:27:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:27:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330070528001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":155013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:27:47] local.INFO: GPS data processed {"connection_id":155013,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:27:47] local.INFO: Acknowledgment sent {"connection_id":155013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:27:59] local.INFO: TCP Data received {"connection_id":152679,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:27:59] local.INFO: Processing buffer {"connection_id":152679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:27:59] local.INFO: Packet analysis {"connection_id":152679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:27:59] local.INFO: Extracted packet for processing {"connection_id":152679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:27:59] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330025472001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786445713000,"timestamp_ms":1786445713000,"timestamp_seconds":1786445713,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0764e68"} 
[2026-08-11 16:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-11 16:27:59] 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-08-11 16:27: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-08-11 16:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:27:59] 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-08-11 16:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330025472001,"66":26234,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330025472001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:27:59] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330025472001,"power":26234,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":152679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:27:59] local.INFO: GPS data processed {"connection_id":152679,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:27:59] local.INFO: Acknowledgment sent {"connection_id":152679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:28:08] local.INFO: TCP Data received {"connection_id":152309,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:28:08] local.INFO: Processing buffer {"connection_id":152309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:28:08] local.INFO: IMEI packet received {"connection_id":152309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":152309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:28:10] local.INFO: TCP Data received {"connection_id":155014,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:28:10] local.INFO: Processing buffer {"connection_id":155014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:28:10] local.INFO: IMEI packet received {"connection_id":155014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":155014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:28:10] local.INFO: TCP Data received {"connection_id":152309,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:28:10] local.INFO: Processing buffer {"connection_id":152309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:28:10] local.INFO: IMEI packet received {"connection_id":152309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":152309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:28:11] local.INFO: TCP Data received {"connection_id":152309,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07715a0012d7bb40005e440d0000a00d427..."} 
[2026-08-11 16:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07715a0012d7bb40005e440d0000a00d427..."} 
[2026-08-11 16:28:11] local.INFO: Processing buffer {"connection_id":152309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07715a0012d7bb40005e440d0000a00d427..."} 
[2026-08-11 16:28:11] local.INFO: Packet analysis {"connection_id":152309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff077"} 
[2026-08-11 16:28:11] local.INFO: Extracted packet for processing {"connection_id":152309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff077"} 
[2026-08-11 16:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763081728,"raw_latitude":98844880,"longitude_deg":76.3081728,"latitude_deg":9.884488,"altitude":10,"angle":212,"satellites":39,"speed":34,"hex_longitude":"2d7bb400","hex_latitude":"05e440d0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330113280001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117669197533675520,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919660562290298880,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786445764000,"timestamp_ms":1786445764000,"timestamp_seconds":1786445764,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07715a0"} 
[2026-08-11 16:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16: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-08-11 16: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 16:28:11] 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-08-11 16: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-08-11 16:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330113280001,"66":12939,"39":206,"87":13824,"24":34,"16":117669197533675520,"45":8919660562290298880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-11 16:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330113280001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:28:11] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-11 16:28:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 16:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117669197533675520,"km_value":117669197533675.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919660562290298880,"description":"Unknown IO ID 45"} 
[2026-08-11 16:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330113280001,"power":12939,"unknown_39":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8919660562290298880}} 
[2026-08-11 16:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":152309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:28:11] local.INFO: GPS data processed {"connection_id":152309,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:28:11] local.INFO: Acknowledgment sent {"connection_id":152309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:28:15] local.INFO: TCP Data received {"connection_id":155014,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:28:15] local.INFO: Processing buffer {"connection_id":155014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:28:15] local.INFO: IMEI packet received {"connection_id":155014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":155014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:28:16] local.INFO: TCP Data received {"connection_id":155014,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0750a30012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0750a30012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:28:16] local.INFO: Processing buffer {"connection_id":155014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0750a30012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:28:16] local.INFO: Packet analysis {"connection_id":155014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff075"} 
[2026-08-11 16:28:16] local.INFO: Extracted packet for processing {"connection_id":155014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff075"} 
[2026-08-11 16:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330075904001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:16] 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-08-11 16:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786445630000,"timestamp_ms":1786445630000,"timestamp_seconds":1786445630,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0750a30"} 
[2026-08-11 16:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:28: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-08-11 16: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 16:28:16] 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-08-11 16: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-08-11 16:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330075904001,"66":12428,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330075904001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:28:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:28:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330075904001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":155014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:28:16] local.INFO: GPS data processed {"connection_id":155014,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:28:16] local.INFO: Acknowledgment sent {"connection_id":155014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:28:17] local.INFO: TCP Data received {"connection_id":152310,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152310,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:28:17] local.INFO: Processing buffer {"connection_id":152310,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:28:17] local.INFO: IMEI packet received {"connection_id":152310,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":152310,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:28:19] local.INFO: TCP Data received {"connection_id":152311,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:28:19] local.INFO: Processing buffer {"connection_id":152311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:28:19] local.INFO: IMEI packet received {"connection_id":152311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":152311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:28:21] local.INFO: TCP Data received {"connection_id":152310,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152310,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:28:21] local.INFO: Processing buffer {"connection_id":152310,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:28:21] local.INFO: IMEI packet received {"connection_id":152310,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":152310,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:28:22] local.INFO: TCP Data received {"connection_id":152310,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff078b798012d0dea800706bc38001b01441e..."} 
[2026-08-11 16:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff078b798012d0dea800706bc38001b01441e..."} 
[2026-08-11 16:28:22] local.INFO: Processing buffer {"connection_id":152310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff078b798012d0dea800706bc38001b01441e..."} 
[2026-08-11 16:28:22] local.INFO: Packet analysis {"connection_id":152310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff078"} 
[2026-08-11 16:28:22] local.INFO: Extracted packet for processing {"connection_id":152310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff078"} 
[2026-08-11 16:28:22] local.INFO: GPS Element Parsed {"raw_longitude":755886720,"raw_latitude":117881912,"longitude_deg":75.588672,"latitude_deg":11.7881912,"altitude":27,"angle":324,"satellites":30,"speed":24,"hex_longitude":"2d0dea80","hex_latitude":"0706bc38","is_valid_coordinates":true} 
[2026-08-11 16:28: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-08-11 16:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330142464001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27678680515870720,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1003387953406806016,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786445871000,"timestamp_ms":1786445871000,"timestamp_seconds":1786445871,"priority":1,"record_length":96,"hex_timestamp":"0000019ff078b798"} 
[2026-08-11 16:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:28:22] 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-08-11 16:28: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":114,"data_length":795,"current_offset":136} 
[2026-08-11 16:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16:28: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-08-11 16:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330142464001,"66":14407,"219":206,"94":10240,"24":24,"16":27678680515870720,"45":1003387953406806016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330142464001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:28:22] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:28:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27678680515870720,"km_value":27678680515870.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1003387953406806016,"description":"Unknown IO ID 45"} 
[2026-08-11 16:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330142464001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":1003387953406806016}} 
[2026-08-11 16:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":152310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625791,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:28:22] local.INFO: GPS data processed {"connection_id":152310,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:28:22] local.INFO: Acknowledgment sent {"connection_id":152310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:28:24] local.INFO: TCP Data received {"connection_id":152311,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:28:24] local.INFO: Processing buffer {"connection_id":152311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:28:24] local.INFO: IMEI packet received {"connection_id":152311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":152311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:28:25] local.INFO: TCP Data received {"connection_id":152311,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:28:25] local.INFO: Processing buffer {"connection_id":152311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:28:25] local.INFO: Packet analysis {"connection_id":152311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:28:25] local.INFO: Extracted packet for processing {"connection_id":152311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:28:25] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330025472001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786445713000,"timestamp_ms":1786445713000,"timestamp_seconds":1786445713,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0764e68"} 
[2026-08-11 16:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-11 16:28: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-08-11 16: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-08-11 16:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:28:25] 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-08-11 16:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330025472001,"66":26234,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330025472001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:28:25] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:28:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330025472001,"power":26234,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":152311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:28:25] local.INFO: GPS data processed {"connection_id":152311,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:28:25] local.INFO: Acknowledgment sent {"connection_id":152311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:28:43] local.INFO: TCP Data received {"connection_id":152309,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0773cb0012d7b9f4005e42150000700d527..."} 
[2026-08-11 16:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0773cb0012d7b9f4005e42150000700d527..."} 
[2026-08-11 16:28:43] local.INFO: Processing buffer {"connection_id":152309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0773cb0012d7b9f4005e42150000700d527..."} 
[2026-08-11 16:28:43] local.INFO: Packet analysis {"connection_id":152309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff077"} 
[2026-08-11 16:28:43] local.INFO: Extracted packet for processing {"connection_id":152309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff077"} 
[2026-08-11 16:28:43] local.INFO: GPS Element Parsed {"raw_longitude":763076416,"raw_latitude":98836816,"longitude_deg":76.3076416,"latitude_deg":9.8836816,"altitude":7,"angle":213,"satellites":39,"speed":41,"hex_longitude":"2d7b9f40","hex_latitude":"05e42150","is_valid_coordinates":true} 
[2026-08-11 16:28: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-08-11 16:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330115584001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117669665685110784,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913749587777343488,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786445774000,"timestamp_ms":1786445774000,"timestamp_seconds":1786445774,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0773cb0"} 
[2026-08-11 16:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:28: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-08-11 16:28: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 16:28:43] 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-08-11 16:28: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-08-11 16:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330115584001,"66":12722,"95":206,"85":15104,"24":41,"16":117669665685110784,"45":8913749587777343488},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330115584001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:28:43] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:28:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117669665685110784,"km_value":117669665685110.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913749587777343488,"description":"Unknown IO ID 45"} 
[2026-08-11 16:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330115584001,"power":12722,"unknown_95":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8913749587777343488}} 
[2026-08-11 16:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":152309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:28:43] local.INFO: GPS data processed {"connection_id":152309,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:28:43] local.INFO: Acknowledgment sent {"connection_id":152309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:28:47] local.INFO: TCP Data received {"connection_id":155014,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0755c38012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0755c38012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:28:47] local.INFO: Processing buffer {"connection_id":155014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0755c38012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:28:47] local.INFO: Packet analysis {"connection_id":155014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff075"} 
[2026-08-11 16:28:47] local.INFO: Extracted packet for processing {"connection_id":155014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff075"} 
[2026-08-11 16:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:28: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-08-11 16:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330081280001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:47] 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-08-11 16:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786445651000,"timestamp_ms":1786445651000,"timestamp_seconds":1786445651,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0755c38"} 
[2026-08-11 16:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:28:47] 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-08-11 16:28: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 16:28:47] 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-08-11 16:28: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-08-11 16:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330081280001,"66":12428,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330081280001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:28:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330081280001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":155014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:28:47] local.INFO: GPS data processed {"connection_id":155014,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:28:47] local.INFO: Acknowledgment sent {"connection_id":155014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:28:53] local.INFO: TCP Data received {"connection_id":152310,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0795ba8012d0dcf000706fa200029002f1d..."} 
[2026-08-11 16:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0795ba8012d0dcf000706fa200029002f1d..."} 
[2026-08-11 16:28:53] local.INFO: Processing buffer {"connection_id":152310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0795ba8012d0dcf000706fa200029002f1d..."} 
[2026-08-11 16:28:53] local.INFO: Packet analysis {"connection_id":152310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff079"} 
[2026-08-11 16:28:53] local.INFO: Extracted packet for processing {"connection_id":152310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff079"} 
[2026-08-11 16:28:53] local.INFO: GPS Element Parsed {"raw_longitude":755879680,"raw_latitude":117897760,"longitude_deg":75.587968,"latitude_deg":11.789776,"altitude":41,"angle":47,"satellites":29,"speed":14,"hex_longitude":"2d0dcf00","hex_latitude":"0706fa20","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330152704001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27679719897956352,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994099279179296768,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786445913000,"timestamp_ms":1786445913000,"timestamp_seconds":1786445913,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0795ba8"} 
[2026-08-11 16:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:28:53] 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-08-11 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 16:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330152704001,"66":14407,"219":206,"94":10240,"24":14,"16":27679719897956352,"45":994099279179296768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330152704001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:28:53] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:28:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27679719897956352,"km_value":27679719897956.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":994099279179296768,"description":"Unknown IO ID 45"} 
[2026-08-11 16:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330152704001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":994099279179296768}} 
[2026-08-11 16:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":152310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625795,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:28:53] local.INFO: GPS data processed {"connection_id":152310,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:28:53] local.INFO: Acknowledgment sent {"connection_id":152310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:28:56] local.INFO: TCP Data received {"connection_id":152311,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:28:56] local.INFO: Processing buffer {"connection_id":152311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:28:56] local.INFO: Packet analysis {"connection_id":152311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:28:56] local.INFO: Extracted packet for processing {"connection_id":152311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:28:56] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330025472001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786445713000,"timestamp_ms":1786445713000,"timestamp_seconds":1786445713,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0764e68"} 
[2026-08-11 16:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-11 16:28:56] 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-08-11 16: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-08-11 16:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:28:56] 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-08-11 16:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330025472001,"66":26234,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330025472001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:28:56] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:28:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330025472001,"power":26234,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":152311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:28:56] local.INFO: GPS data processed {"connection_id":152311,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:28:56] local.INFO: Acknowledgment sent {"connection_id":152311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:29:09] local.INFO: TCP Data received {"connection_id":152681,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:29:09] local.INFO: Processing buffer {"connection_id":152681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:29:09] local.INFO: IMEI packet received {"connection_id":152681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":152681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:29:09] local.INFO: TCP Data received {"connection_id":152681,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:29:09] local.INFO: Processing buffer {"connection_id":152681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:29:09] local.INFO: IMEI packet received {"connection_id":152681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":152681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:29:10] local.INFO: TCP Data received {"connection_id":152682,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:29:10] local.INFO: Processing buffer {"connection_id":152682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:29:10] local.INFO: IMEI packet received {"connection_id":152682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":152682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:29:13] local.INFO: TCP Data received {"connection_id":152681,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:29:14] local.INFO: Processing buffer {"connection_id":152681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:29:14] local.INFO: IMEI packet received {"connection_id":152681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":152681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:29:14] local.INFO: TCP Data received {"connection_id":152681,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff079b580012d7b094005e32b400009011a16..."} 
[2026-08-11 16:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff079b580012d7b094005e32b400009011a16..."} 
[2026-08-11 16:29:15] local.INFO: Processing buffer {"connection_id":152681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff079b580012d7b094005e32b400009011a16..."} 
[2026-08-11 16:29:15] local.INFO: Packet analysis {"connection_id":152681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff079"} 
[2026-08-11 16:29:15] local.INFO: Extracted packet for processing {"connection_id":152681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff079"} 
[2026-08-11 16:29:15] local.INFO: GPS Element Parsed {"raw_longitude":763038016,"raw_latitude":98773824,"longitude_deg":76.3038016,"latitude_deg":9.8773824,"altitude":9,"angle":282,"satellites":22,"speed":1,"hex_longitude":"2d7b0940","hex_latitude":"05e32b40","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330154496001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117673290637508608,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866813635392716800,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786445936000,"timestamp_ms":1786445936000,"timestamp_seconds":1786445936,"priority":1,"record_length":96,"hex_timestamp":"0000019ff079b580"} 
[2026-08-11 16:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:29:15] 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-08-11 16: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-11 16:29:15] 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-08-11 16: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-08-11 16:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330154496001,"66":12624,"97":206,"85":15104,"24":1,"16":117673290637508608,"45":8866813635392716800},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330154496001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:29:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:29:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117673290637508608,"km_value":117673290637508.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866813635392716800,"description":"Unknown IO ID 45"} 
[2026-08-11 16:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330154496001,"power":12624,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8866813635392716800}} 
[2026-08-11 16:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":152681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:29:15] local.INFO: GPS data processed {"connection_id":152681,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:29:15] local.INFO: Acknowledgment sent {"connection_id":152681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:29:15] local.INFO: TCP Data received {"connection_id":152682,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:29:15] local.INFO: Processing buffer {"connection_id":152682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:29:15] local.INFO: IMEI packet received {"connection_id":152682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":152682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:29:16] local.INFO: TCP Data received {"connection_id":152682,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff075ae40012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff075ae40012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:29:16] local.INFO: Processing buffer {"connection_id":152682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff075ae40012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:29:16] local.INFO: Packet analysis {"connection_id":152682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff075"} 
[2026-08-11 16:29:16] local.INFO: Extracted packet for processing {"connection_id":152682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff075"} 
[2026-08-11 16:29:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330086656001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:16] 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-08-11 16:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786445672000,"timestamp_ms":1786445672000,"timestamp_seconds":1786445672,"priority":1,"record_length":96,"hex_timestamp":"0000019ff075ae40"} 
[2026-08-11 16:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:29:16] 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-08-11 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 16:29:16] 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-08-11 16: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-08-11 16:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330086656001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330086656001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:29:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:29:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330086656001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":152682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:29:16] local.INFO: GPS data processed {"connection_id":152682,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:29:16] local.INFO: Acknowledgment sent {"connection_id":152682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:29:19] local.INFO: TCP Data received {"connection_id":152312,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:29:19] local.INFO: Processing buffer {"connection_id":152312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:29:19] local.INFO: IMEI packet received {"connection_id":152312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":152312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:29:22] local.INFO: TCP Data received {"connection_id":155015,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155015,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:29:22] local.INFO: Processing buffer {"connection_id":155015,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:29:22] local.INFO: IMEI packet received {"connection_id":155015,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":155015,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:29:24] local.INFO: TCP Data received {"connection_id":152312,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:29:24] local.INFO: Processing buffer {"connection_id":152312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:29:24] local.INFO: IMEI packet received {"connection_id":152312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":152312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:29:25] local.INFO: TCP Data received {"connection_id":152312,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:29:25] local.INFO: Processing buffer {"connection_id":152312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:29:25] local.INFO: Packet analysis {"connection_id":152312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:29:25] local.INFO: Extracted packet for processing {"connection_id":152312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:29:25] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16:29: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-08-11 16:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330025472001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786445713000,"timestamp_ms":1786445713000,"timestamp_seconds":1786445713,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0764e68"} 
[2026-08-11 16:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16:29: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-08-11 16:29: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-08-11 16:29: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-08-11 16:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:29:25] 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-08-11 16:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330025472001,"66":26234,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330025472001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:29:25] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:29:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330025472001,"power":26234,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":152312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:29:25] local.INFO: GPS data processed {"connection_id":152312,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:29:25] local.INFO: Acknowledgment sent {"connection_id":152312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:29:27] local.INFO: TCP Data received {"connection_id":155015,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155015,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:29:27] local.INFO: Processing buffer {"connection_id":155015,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:29:27] local.INFO: IMEI packet received {"connection_id":155015,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":155015,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:29:27] local.INFO: TCP Data received {"connection_id":155015,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0795f90012d0dd0400706fae00029003f1d..."} 
[2026-08-11 16:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0795f90012d0dd0400706fae00029003f1d..."} 
[2026-08-11 16:29:27] local.INFO: Processing buffer {"connection_id":155015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0795f90012d0dd0400706fae00029003f1d..."} 
[2026-08-11 16:29:27] local.INFO: Packet analysis {"connection_id":155015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff079"} 
[2026-08-11 16:29:27] local.INFO: Extracted packet for processing {"connection_id":155015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff079"} 
[2026-08-11 16:29:27] local.INFO: GPS Element Parsed {"raw_longitude":755880000,"raw_latitude":117897952,"longitude_deg":75.588,"latitude_deg":11.7897952,"altitude":41,"angle":63,"satellites":29,"speed":13,"hex_longitude":"2d0dd040","hex_latitude":"0706fae0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330153728001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27679737077825536,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995014072853995520,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786445914000,"timestamp_ms":1786445914000,"timestamp_seconds":1786445914,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0795f90"} 
[2026-08-11 16:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:29:27] 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-08-11 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 16:29:27] 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-08-11 16: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-08-11 16:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":155015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":155015,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":155015,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330153728001,"66":14102,"219":206,"94":10240,"24":13,"16":27679737077825536,"45":995014072853995520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330153728001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:29:27] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:29:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27679737077825536,"km_value":27679737077825.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":995014072853995520,"description":"Unknown IO ID 45"} 
[2026-08-11 16:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330153728001,"power":14102,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":995014072853995520}} 
[2026-08-11 16:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":155015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625800,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:29:28] local.INFO: GPS data processed {"connection_id":155015,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:29:28] local.INFO: Acknowledgment sent {"connection_id":155015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:29:46] local.INFO: TCP Data received {"connection_id":152681,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff079d4c0012d7b080005e32c000009015417..."} 
[2026-08-11 16:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff079d4c0012d7b080005e32c000009015417..."} 
[2026-08-11 16:29:46] local.INFO: Processing buffer {"connection_id":152681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff079d4c0012d7b080005e32c000009015417..."} 
[2026-08-11 16:29:46] local.INFO: Packet analysis {"connection_id":152681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff079"} 
[2026-08-11 16:29:46] local.INFO: Extracted packet for processing {"connection_id":152681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff079"} 
[2026-08-11 16:29:46] local.INFO: GPS Element Parsed {"raw_longitude":763037696,"raw_latitude":98774016,"longitude_deg":76.3037696,"latitude_deg":9.8774016,"altitude":9,"angle":340,"satellites":23,"speed":6,"hex_longitude":"2d7b0800","hex_latitude":"05e32c00","is_valid_coordinates":true} 
[2026-08-11 16:29: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-08-11 16:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330159616001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117673307817377792,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865687735485808640,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786445944000,"timestamp_ms":1786445944000,"timestamp_seconds":1786445944,"priority":1,"record_length":96,"hex_timestamp":"0000019ff079d4c0"} 
[2026-08-11 16:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:29:46] 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-08-11 16:29: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 16:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16:29: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-08-11 16:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330159616001,"66":12863,"97":206,"85":15104,"24":6,"16":117673307817377792,"45":8865687735485808640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330159616001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:29:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:29:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117673307817377792,"km_value":117673307817377.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865687735485808640,"description":"Unknown IO ID 45"} 
[2026-08-11 16:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330159616001,"power":12863,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8865687735485808640}} 
[2026-08-11 16:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":152681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:29:46] local.INFO: GPS data processed {"connection_id":152681,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:29:46] local.INFO: Acknowledgment sent {"connection_id":152681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:29:47] local.INFO: TCP Data received {"connection_id":152682,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0793498012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0793498012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:29:47] local.INFO: Processing buffer {"connection_id":152682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0793498012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:29:47] local.INFO: Packet analysis {"connection_id":152682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff079"} 
[2026-08-11 16:29:47] local.INFO: Extracted packet for processing {"connection_id":152682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff079"} 
[2026-08-11 16:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330145792001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:47] 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-08-11 16:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786445903000,"timestamp_ms":1786445903000,"timestamp_seconds":1786445903,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0793498"} 
[2026-08-11 16:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:29:47] 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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:29:47] 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-08-11 16: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-08-11 16:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330145792001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330145792001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:29:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:29:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330145792001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":152682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:29:47] local.INFO: GPS data processed {"connection_id":152682,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:29:47] local.INFO: Acknowledgment sent {"connection_id":152682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:29:55] local.INFO: TCP Data received {"connection_id":152312,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:29:55] local.INFO: Processing buffer {"connection_id":152312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:29:55] local.INFO: Packet analysis {"connection_id":152312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:29:55] local.INFO: Extracted packet for processing {"connection_id":152312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:29:55] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330025472001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786445713000,"timestamp_ms":1786445713000,"timestamp_seconds":1786445713,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0764e68"} 
[2026-08-11 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-08-11 16:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-11 16:29:55] 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-08-11 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-08-11 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-08-11 16:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:29:55] 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-08-11 16:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330025472001,"66":26234,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330025472001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:29:55] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:29:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330025472001,"power":26234,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":152312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:29:55] local.INFO: GPS data processed {"connection_id":152312,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:29:55] local.INFO: Acknowledgment sent {"connection_id":152312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:29:58] local.INFO: TCP Data received {"connection_id":155015,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07a7100012d0e3d400706f550002b00b01e..."} 
[2026-08-11 16:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07a7100012d0e3d400706f550002b00b01e..."} 
[2026-08-11 16:29:58] local.INFO: Processing buffer {"connection_id":155015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07a7100012d0e3d400706f550002b00b01e..."} 
[2026-08-11 16:29:58] local.INFO: Packet analysis {"connection_id":155015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:29:58] local.INFO: Extracted packet for processing {"connection_id":155015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:29:58] local.INFO: GPS Element Parsed {"raw_longitude":755907904,"raw_latitude":117896528,"longitude_deg":75.5907904,"latitude_deg":11.7896528,"altitude":43,"angle":176,"satellites":30,"speed":16,"hex_longitude":"2d0e3d40","hex_latitude":"0706f550","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330170112001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27681261791215616,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026257795269150720,"note":"Value kept but may cause issues"} 
[2026-08-11 16:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786445984000,"timestamp_ms":1786445984000,"timestamp_seconds":1786445984,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07a7100"} 
[2026-08-11 16:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:29: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-08-11 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-11 16:29:58] 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-08-11 16:29: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-08-11 16:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":155015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":155015,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":155015,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330170112001,"66":14439,"219":206,"94":10240,"24":16,"16":27681261791215616,"45":1026257795269150720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330170112001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:29:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:29:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27681261791215616,"km_value":27681261791215.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026257795269150720,"description":"Unknown IO ID 45"} 
[2026-08-11 16:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330170112001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":1026257795269150720}} 
[2026-08-11 16:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":155015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:29:59] local.INFO: GPS data processed {"connection_id":155015,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:29:59] local.INFO: Acknowledgment sent {"connection_id":155015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:30:09] local.INFO: TCP Data received {"connection_id":152683,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:30:09] local.INFO: Processing buffer {"connection_id":152683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:30:09] local.INFO: IMEI packet received {"connection_id":152683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":152683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:30:10] local.INFO: TCP Data received {"connection_id":152684,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:30:10] local.INFO: Processing buffer {"connection_id":152684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:30:10] local.INFO: IMEI packet received {"connection_id":152684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":152684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:30:13] local.INFO: TCP Data received {"connection_id":152683,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:30:13] local.INFO: Processing buffer {"connection_id":152683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:30:13] local.INFO: IMEI packet received {"connection_id":152683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":152683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:30:15] local.INFO: TCP Data received {"connection_id":152683,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff079e078012d7b078005e32f580009015f19..."} 
[2026-08-11 16:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff079e078012d7b078005e32f580009015f19..."} 
[2026-08-11 16:30:15] local.INFO: Processing buffer {"connection_id":152683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff079e078012d7b078005e32f580009015f19..."} 
[2026-08-11 16:30:15] local.INFO: Packet analysis {"connection_id":152683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff079"} 
[2026-08-11 16:30:15] local.INFO: Extracted packet for processing {"connection_id":152683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff079"} 
[2026-08-11 16:30:15] local.INFO: GPS Element Parsed {"raw_longitude":763037568,"raw_latitude":98774872,"longitude_deg":76.3037568,"latitude_deg":9.8774872,"altitude":9,"angle":351,"satellites":25,"speed":12,"hex_longitude":"2d7b0780","hex_latitude":"05e32f58","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330161664001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117673350767050752,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865335891764969472,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786445947000,"timestamp_ms":1786445947000,"timestamp_seconds":1786445947,"priority":1,"record_length":96,"hex_timestamp":"0000019ff079e078"} 
[2026-08-11 16:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:30: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-08-11 16: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-11 16:30:15] 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-08-11 16: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-08-11 16:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330161664001,"66":13363,"97":206,"85":15104,"24":12,"16":117673350767050752,"45":8865335891764969472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330161664001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:30:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117673350767050752,"km_value":117673350767050.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865335891764969472,"description":"Unknown IO ID 45"} 
[2026-08-11 16:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330161664001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8865335891764969472}} 
[2026-08-11 16:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":152683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:30:15] local.INFO: GPS data processed {"connection_id":152683,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:30:15] local.INFO: Acknowledgment sent {"connection_id":152683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:30:15] local.INFO: TCP Data received {"connection_id":152684,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:30:15] local.INFO: Processing buffer {"connection_id":152684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:30:15] local.INFO: IMEI packet received {"connection_id":152684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":152684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:30:16] local.INFO: TCP Data received {"connection_id":152684,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07986a0012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07986a0012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:30:16] local.INFO: Processing buffer {"connection_id":152684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07986a0012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:30:16] local.INFO: Packet analysis {"connection_id":152684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff079"} 
[2026-08-11 16:30:16] local.INFO: Extracted packet for processing {"connection_id":152684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff079"} 
[2026-08-11 16:30:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:30: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-08-11 16:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330151168001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:16] 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-08-11 16:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786445924000,"timestamp_ms":1786445924000,"timestamp_seconds":1786445924,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07986a0"} 
[2026-08-11 16:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:30:16] 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-08-11 16:30: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":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:30:16] 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-08-11 16:30: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-08-11 16:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330151168001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330151168001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:30:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:30:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330151168001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":152684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:30:16] local.INFO: GPS data processed {"connection_id":152684,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:30:16] local.INFO: Acknowledgment sent {"connection_id":152684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:30:19] local.INFO: TCP Data received {"connection_id":155016,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:30:19] local.INFO: Processing buffer {"connection_id":155016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:30:19] local.INFO: IMEI packet received {"connection_id":155016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":155016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:30:22] local.INFO: TCP Data received {"connection_id":152685,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:30:22] local.INFO: Processing buffer {"connection_id":152685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:30:22] local.INFO: IMEI packet received {"connection_id":152685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":152685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:30:24] local.INFO: TCP Data received {"connection_id":155016,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:30:24] local.INFO: Processing buffer {"connection_id":155016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:30:24] local.INFO: IMEI packet received {"connection_id":155016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":155016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:30:24] local.INFO: TCP Data received {"connection_id":152685,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:30:24] local.INFO: Processing buffer {"connection_id":152685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:30:24] local.INFO: IMEI packet received {"connection_id":152685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":152685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:30:25] local.INFO: TCP Data received {"connection_id":155016,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:30:25] local.INFO: Processing buffer {"connection_id":155016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0764e68012d9deb0005a42138000600782c..."} 
[2026-08-11 16:30:25] local.INFO: Packet analysis {"connection_id":155016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:30:25] local.INFO: Extracted packet for processing {"connection_id":155016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff076"} 
[2026-08-11 16:30:25] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16:30: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-08-11 16:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330025472001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786445713000,"timestamp_ms":1786445713000,"timestamp_seconds":1786445713,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0764e68"} 
[2026-08-11 16:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16:30: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-08-11 16:30: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-08-11 16:30: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-08-11 16:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:30:25] 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-08-11 16:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330025472001,"66":26234,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330025472001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:30:25] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:30:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330025472001,"power":26234,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":155016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:30:25] local.INFO: GPS data processed {"connection_id":155016,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:30:25] local.INFO: Acknowledgment sent {"connection_id":155016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:30:27] local.INFO: TCP Data received {"connection_id":152685,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:30:27] local.INFO: Processing buffer {"connection_id":152685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:30:27] local.INFO: IMEI packet received {"connection_id":152685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":152685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:30:27] local.INFO: TCP Data received {"connection_id":152685,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07a8c58012d0e3d400706ecf0002c00bc1e..."} 
[2026-08-11 16:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07a8c58012d0e3d400706ecf0002c00bc1e..."} 
[2026-08-11 16:30:27] local.INFO: Processing buffer {"connection_id":152685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07a8c58012d0e3d400706ecf0002c00bc1e..."} 
[2026-08-11 16:30:27] local.INFO: Packet analysis {"connection_id":152685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:30:27] local.INFO: Extracted packet for processing {"connection_id":152685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:30:27] local.INFO: GPS Element Parsed {"raw_longitude":755907904,"raw_latitude":117894384,"longitude_deg":75.5907904,"latitude_deg":11.7894384,"altitude":44,"angle":188,"satellites":30,"speed":7,"hex_longitude":"2d0e3d40","hex_latitude":"0706ecf0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330171904001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27681364870430720,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026046689036029952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786445991000,"timestamp_ms":1786445991000,"timestamp_seconds":1786445991,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07a8c58"} 
[2026-08-11 16:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:30:27] 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-08-11 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 16:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330171904001,"66":14548,"219":206,"94":10240,"24":7,"16":27681364870430720,"45":1026046689036029952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330171904001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:30:27] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:30:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27681364870430720,"km_value":27681364870430.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026046689036029952,"description":"Unknown IO ID 45"} 
[2026-08-11 16:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330171904001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1026046689036029952}} 
[2026-08-11 16:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":152685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625808,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:30:28] local.INFO: GPS data processed {"connection_id":152685,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:30:28] local.INFO: Acknowledgment sent {"connection_id":152685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:30:33] local.INFO: TCP Data received {"connection_id":152685,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07a9810012d0e3d400706eae8002d00c71e..."} 
[2026-08-11 16:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07a9810012d0e3d400706eae8002d00c71e..."} 
[2026-08-11 16:30:33] local.INFO: Processing buffer {"connection_id":152685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07a9810012d0e3d400706eae8002d00c71e..."} 
[2026-08-11 16:30:33] local.INFO: Packet analysis {"connection_id":152685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:30:33] local.INFO: Extracted packet for processing {"connection_id":152685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:30:33] local.INFO: GPS Element Parsed {"raw_longitude":755907904,"raw_latitude":117893864,"longitude_deg":75.5907904,"latitude_deg":11.7893864,"altitude":45,"angle":199,"satellites":30,"speed":5,"hex_longitude":"2d0e3d40","hex_latitude":"0706eae8","is_valid_coordinates":true} 
[2026-08-11 16:30: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-08-11 16:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330173696001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27681390640234496,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026046689035481088,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786445994000,"timestamp_ms":1786445994000,"timestamp_seconds":1786445994,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07a9810"} 
[2026-08-11 16:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:30:33] 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-08-11 16:30: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":212,"data_length":795,"current_offset":136} 
[2026-08-11 16:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16:30: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-08-11 16:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330173696001,"66":14428,"219":206,"94":10240,"24":5,"16":27681390640234496,"45":1026046689035481088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330173696001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:30:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:30:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27681390640234496,"km_value":27681390640234.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026046689035481088,"description":"Unknown IO ID 45"} 
[2026-08-11 16:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330173696001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1026046689035481088}} 
[2026-08-11 16:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":152685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625809,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:30:33] local.INFO: GPS data processed {"connection_id":152685,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:30:33] local.INFO: Acknowledgment sent {"connection_id":152685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:30:46] local.INFO: TCP Data received {"connection_id":152683,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07a0b70012d7b05c005e342e00009015419..."} 
[2026-08-11 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07a0b70012d7b05c005e342e00009015419..."} 
[2026-08-11 16:30:46] local.INFO: Processing buffer {"connection_id":152683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07a0b70012d7b05c005e342e00009015419..."} 
[2026-08-11 16:30:46] local.INFO: Packet analysis {"connection_id":152683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:30:46] local.INFO: Extracted packet for processing {"connection_id":152683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":763037120,"raw_latitude":98779872,"longitude_deg":76.303712,"latitude_deg":9.8779872,"altitude":9,"angle":340,"satellites":25,"speed":10,"hex_longitude":"2d7b05c0","hex_latitude":"05e342e0","is_valid_coordinates":true} 
[2026-08-11 16:30: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-08-11 16:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330162432001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117673595580186624,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154276833280,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786445958000,"timestamp_ms":1786445958000,"timestamp_seconds":1786445958,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07a0b70"} 
[2026-08-11 16:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:30: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-08-11 16:30: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":51,"data_length":795,"current_offset":136} 
[2026-08-11 16:30:46] 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-08-11 16:30: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-08-11 16:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330162432001,"66":13254,"97":206,"85":15104,"24":10,"16":117673595580186624,"45":8865195154276833280},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330162432001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:30:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:30:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117673595580186624,"km_value":117673595580186.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154276833280,"description":"Unknown IO ID 45"} 
[2026-08-11 16:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330162432001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8865195154276833280}} 
[2026-08-11 16:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":152683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:30:46] local.INFO: GPS data processed {"connection_id":152683,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:30:46] local.INFO: Acknowledgment sent {"connection_id":152683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:30:47] local.INFO: TCP Data received {"connection_id":152684,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff079d8a8012d1968c0071fee68003e011c25..."} 
[2026-08-11 16:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff079d8a8012d1968c0071fee68003e011c25..."} 
[2026-08-11 16:30:47] local.INFO: Processing buffer {"connection_id":152684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff079d8a8012d1968c0071fee68003e011c25..."} 
[2026-08-11 16:30:47] local.INFO: Packet analysis {"connection_id":152684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff079"} 
[2026-08-11 16:30:47] local.INFO: Extracted packet for processing {"connection_id":152684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff079"} 
[2026-08-11 16:30:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:30: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-08-11 16:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330156544001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:47] 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-08-11 16:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786445945000,"timestamp_ms":1786445945000,"timestamp_seconds":1786445945,"priority":1,"record_length":96,"hex_timestamp":"0000019ff079d8a8"} 
[2026-08-11 16:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:30:47] 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-08-11 16:30: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:30:47] 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-08-11 16:30: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-08-11 16:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330156544001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330156544001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:30:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:30:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330156544001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":152684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:30:47] local.INFO: GPS data processed {"connection_id":152684,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:30:47] local.INFO: Acknowledgment sent {"connection_id":152684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:30:57] local.INFO: TCP Data received {"connection_id":155016,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:30:57] local.INFO: Processing buffer {"connection_id":155016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:30:57] local.INFO: Packet analysis {"connection_id":155016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:30:57] local.INFO: Extracted packet for processing {"connection_id":155016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:30:57] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":46,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330102528001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786446014000,"timestamp_ms":1786446014000,"timestamp_seconds":1786446014,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07ae630"} 
[2026-08-11 16:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 16:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":155016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":155016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":155016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:30:57] 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-08-11 16:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330102528001,"66":26071,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330102528001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:30:57] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:30:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330102528001,"power":26071,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":155016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:30:57] local.INFO: GPS data processed {"connection_id":155016,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:30:57] local.INFO: Acknowledgment sent {"connection_id":155016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:31:04] local.INFO: TCP Data received {"connection_id":152685,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07b5b60012d0e36400706a258001f00aa1e..."} 
[2026-08-11 16:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07b5b60012d0e36400706a258001f00aa1e..."} 
[2026-08-11 16:31:04] local.INFO: Processing buffer {"connection_id":152685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07b5b60012d0e36400706a258001f00aa1e..."} 
[2026-08-11 16:31:04] local.INFO: Packet analysis {"connection_id":152685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07b"} 
[2026-08-11 16:31:04] local.INFO: Extracted packet for processing {"connection_id":152685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07b"} 
[2026-08-11 16:31:04] local.INFO: GPS Element Parsed {"raw_longitude":755906112,"raw_latitude":117875288,"longitude_deg":75.5906112,"latitude_deg":11.7875288,"altitude":31,"angle":170,"satellites":30,"speed":9,"hex_longitude":"2d0e3640","hex_latitude":"0706a258","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330186752001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27682322648137728,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1024005995449577472,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786446044000,"timestamp_ms":1786446044000,"timestamp_seconds":1786446044,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07b5b60"} 
[2026-08-11 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-08-11 16:31:04] 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-08-11 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 16:31:04] 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-08-11 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-08-11 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-08-11 16:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330186752001,"66":14450,"219":206,"94":10240,"24":9,"16":27682322648137728,"45":1024005995449577472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330186752001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:31:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:31:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27682322648137728,"km_value":27682322648137.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1024005995449577472,"description":"Unknown IO ID 45"} 
[2026-08-11 16:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330186752001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1024005995449577472}} 
[2026-08-11 16:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":152685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625813,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:31:04] local.INFO: GPS data processed {"connection_id":152685,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:31:04] local.INFO: Acknowledgment sent {"connection_id":152685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:31:08] local.INFO: TCP Data received {"connection_id":152313,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:31:08] local.INFO: Processing buffer {"connection_id":152313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:31:08] local.INFO: IMEI packet received {"connection_id":152313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":152313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:31:09] local.INFO: TCP Data received {"connection_id":152313,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:31:09] local.INFO: Processing buffer {"connection_id":152313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:31:09] local.INFO: IMEI packet received {"connection_id":152313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":152313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:31:10] local.INFO: TCP Data received {"connection_id":152314,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:31:10] local.INFO: Processing buffer {"connection_id":152314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:31:10] local.INFO: IMEI packet received {"connection_id":152314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":152314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:31:15] local.INFO: TCP Data received {"connection_id":152314,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:31:15] local.INFO: Processing buffer {"connection_id":152314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:31:15] local.INFO: IMEI packet received {"connection_id":152314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":152314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:31:15] local.INFO: TCP Data received {"connection_id":152313,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:31:15] local.INFO: Processing buffer {"connection_id":152313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:31:15] local.INFO: IMEI packet received {"connection_id":152313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":152313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:31:16] local.INFO: TCP Data received {"connection_id":152314,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07a2ab0012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07a2ab0012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:31:16] local.INFO: Processing buffer {"connection_id":152314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07a2ab0012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:31:16] local.INFO: Packet analysis {"connection_id":152314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:31:16] local.INFO: Extracted packet for processing {"connection_id":152314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:31:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330161920001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:16] 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-08-11 16:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786445966000,"timestamp_ms":1786445966000,"timestamp_seconds":1786445966,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07a2ab0"} 
[2026-08-11 16:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:31:16] 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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:31:16] 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-08-11 16: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-08-11 16:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330161920001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330161920001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:31:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:31:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330161920001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":152314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:31:16] local.INFO: GPS data processed {"connection_id":152314,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:31:16] local.INFO: Acknowledgment sent {"connection_id":152314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:31:18] local.INFO: TCP Data received {"connection_id":152313,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07a4220012d7b04c005e346b00009000520..."} 
[2026-08-11 16:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07a4220012d7b04c005e346b00009000520..."} 
[2026-08-11 16:31:18] local.INFO: Processing buffer {"connection_id":152313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07a4220012d7b04c005e346b00009000520..."} 
[2026-08-11 16:31:18] local.INFO: Packet analysis {"connection_id":152313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:31:18] local.INFO: Extracted packet for processing {"connection_id":152313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:31:18] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98780848,"longitude_deg":76.3036864,"latitude_deg":9.8780848,"altitude":9,"angle":5,"satellites":32,"speed":5,"hex_longitude":"2d7b04c0","hex_latitude":"05e346b0","is_valid_coordinates":true} 
[2026-08-11 16:31: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-08-11 16:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330165248001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117673655709728768,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864702573068869632,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786445972000,"timestamp_ms":1786445972000,"timestamp_seconds":1786445972,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07a4220"} 
[2026-08-11 16:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:31:18] 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-08-11 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 16:31:18] 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-08-11 16: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-08-11 16:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330165248001,"66":13178,"97":206,"85":15104,"24":5,"16":117673655709728768,"45":8864702573068869632},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330165248001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:31:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:31:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117673655709728768,"km_value":117673655709728.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864702573068869632,"description":"Unknown IO ID 45"} 
[2026-08-11 16:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330165248001,"power":13178,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8864702573068869632}} 
[2026-08-11 16:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":152313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:31:18] local.INFO: GPS data processed {"connection_id":152313,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:31:18] local.INFO: Acknowledgment sent {"connection_id":152313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:31:19] local.INFO: TCP Data received {"connection_id":152315,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:31:19] local.INFO: Processing buffer {"connection_id":152315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:31:19] local.INFO: IMEI packet received {"connection_id":152315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":152315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:31:22] local.INFO: TCP Data received {"connection_id":155017,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155017,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:31:22] local.INFO: Processing buffer {"connection_id":155017,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:31:22] local.INFO: IMEI packet received {"connection_id":155017,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":155017,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:31:22] local.INFO: TCP Data received {"connection_id":155017,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155017,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:31:22] local.INFO: Processing buffer {"connection_id":155017,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:31:22] local.INFO: IMEI packet received {"connection_id":155017,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":155017,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:31:23] local.INFO: TCP Data received {"connection_id":155017,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155017,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:31:23] local.INFO: Processing buffer {"connection_id":155017,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:31:23] local.INFO: IMEI packet received {"connection_id":155017,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":155017,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:31:24] local.INFO: TCP Data received {"connection_id":152315,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:31:24] local.INFO: Processing buffer {"connection_id":152315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:31:24] local.INFO: IMEI packet received {"connection_id":152315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":152315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:31:25] local.INFO: TCP Data received {"connection_id":152315,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:31:25] local.INFO: Processing buffer {"connection_id":152315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:31:25] local.INFO: Packet analysis {"connection_id":152315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:31:25] local.INFO: Extracted packet for processing {"connection_id":152315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:31:25] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":46,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330102528001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786446014000,"timestamp_ms":1786446014000,"timestamp_seconds":1786446014,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07ae630"} 
[2026-08-11 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-08-11 16:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 16:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 16:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:31:25] 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-08-11 16:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330102528001,"66":26071,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330102528001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:31:25] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:31:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330102528001,"power":26071,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":152315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:31:25] local.INFO: GPS data processed {"connection_id":152315,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:31:25] local.INFO: Acknowledgment sent {"connection_id":152315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:31:26] local.INFO: TCP Data received {"connection_id":155017,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155017,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:31:26] local.INFO: Processing buffer {"connection_id":155017,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:31:26] local.INFO: IMEI packet received {"connection_id":155017,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":155017,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:31:27] local.INFO: TCP Data received {"connection_id":155017,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07b6718012d0e364007069f40001f00b51e..."} 
[2026-08-11 16:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07b6718012d0e364007069f40001f00b51e..."} 
[2026-08-11 16:31:27] local.INFO: Processing buffer {"connection_id":155017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07b6718012d0e364007069f40001f00b51e..."} 
[2026-08-11 16:31:27] local.INFO: Packet analysis {"connection_id":155017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07b"} 
[2026-08-11 16:31:27] local.INFO: Extracted packet for processing {"connection_id":155017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07b"} 
[2026-08-11 16:31:27] local.INFO: GPS Element Parsed {"raw_longitude":755906112,"raw_latitude":117874496,"longitude_deg":75.5906112,"latitude_deg":11.7874496,"altitude":31,"angle":181,"satellites":30,"speed":13,"hex_longitude":"2d0e3640","hex_latitude":"07069f40","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330187264001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27682361302843392,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1024076364193617920,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786446047000,"timestamp_ms":1786446047000,"timestamp_seconds":1786446047,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07b6718"} 
[2026-08-11 16:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:31:27] 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-08-11 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 16:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":155017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":155017,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":155017,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330187264001,"66":13830,"219":206,"94":10240,"24":13,"16":27682361302843392,"45":1024076364193617920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330187264001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:31:27] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:31:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27682361302843392,"km_value":27682361302843.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1024076364193617920,"description":"Unknown IO ID 45"} 
[2026-08-11 16:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330187264001,"power":13830,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1024076364193617920}} 
[2026-08-11 16:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":155017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625817,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:31:27] local.INFO: GPS data processed {"connection_id":155017,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:31:27] local.INFO: Acknowledgment sent {"connection_id":155017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:31:29] local.INFO: TCP Data received {"connection_id":152315,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:31:29] local.INFO: Processing buffer {"connection_id":152315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:31:29] local.INFO: Packet analysis {"connection_id":152315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:31:29] local.INFO: Extracted packet for processing {"connection_id":152315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:31:29] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":46,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16:31: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-08-11 16:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330102528001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786446014000,"timestamp_ms":1786446014000,"timestamp_seconds":1786446014,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07ae630"} 
[2026-08-11 16:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16:31: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 16:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16:31: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-08-11 16:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:31:29] 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-08-11 16:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330102528001,"66":26071,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330102528001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:31:29] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:31:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330102528001,"power":26071,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":152315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:31:29] local.INFO: GPS data processed {"connection_id":152315,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:31:29] local.INFO: Acknowledgment sent {"connection_id":152315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:31:47] local.INFO: TCP Data received {"connection_id":152314,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07a7cb8012d1968c0071fee68003e011c25..."} 
[2026-08-11 16:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07a7cb8012d1968c0071fee68003e011c25..."} 
[2026-08-11 16:31:47] local.INFO: Processing buffer {"connection_id":152314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07a7cb8012d1968c0071fee68003e011c25..."} 
[2026-08-11 16:31:47] local.INFO: Packet analysis {"connection_id":152314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:31:47] local.INFO: Extracted packet for processing {"connection_id":152314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:31:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330167296001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:47] 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-08-11 16:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786445987000,"timestamp_ms":1786445987000,"timestamp_seconds":1786445987,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07a7cb8"} 
[2026-08-11 16:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:31:47] 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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:31:47] 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-08-11 16: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-08-11 16:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330167296001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330167296001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:31:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:31:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330167296001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":152314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:31:47] local.INFO: GPS data processed {"connection_id":152314,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:31:47] local.INFO: Acknowledgment sent {"connection_id":152314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:31:51] local.INFO: TCP Data received {"connection_id":152313,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07a4608012d7b04c005e347780009016320..."} 
[2026-08-11 16:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07a4608012d7b04c005e347780009016320..."} 
[2026-08-11 16:31:51] local.INFO: Processing buffer {"connection_id":152313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07a4608012d7b04c005e347780009016320..."} 
[2026-08-11 16:31:51] local.INFO: Packet analysis {"connection_id":152313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:31:51] local.INFO: Extracted packet for processing {"connection_id":152313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:31:51] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98781048,"longitude_deg":76.3036864,"latitude_deg":9.8781048,"altitude":9,"angle":355,"satellites":32,"speed":9,"hex_longitude":"2d7b04c0","hex_latitude":"05e34778","is_valid_coordinates":true} 
[2026-08-11 16:31: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-08-11 16:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330168832001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117673664299663360,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098092408832,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786445973000,"timestamp_ms":1786445973000,"timestamp_seconds":1786445973,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07a4608"} 
[2026-08-11 16:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:31: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 16:31:51] 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-08-11 16:31: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-08-11 16:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330168832001,"66":13178,"97":206,"85":15104,"24":9,"16":117673664299663360,"45":8864421098092408832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330168832001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:31:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:31:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117673664299663360,"km_value":117673664299663.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098092408832,"description":"Unknown IO ID 45"} 
[2026-08-11 16:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330168832001,"power":13178,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8864421098092408832}} 
[2026-08-11 16:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":152313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:31:51] local.INFO: GPS data processed {"connection_id":152313,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:31:51] local.INFO: Acknowledgment sent {"connection_id":152313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:31:58] local.INFO: TCP Data received {"connection_id":155017,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07b99e0012d0e340007068818002100c41e..."} 
[2026-08-11 16:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07b99e0012d0e340007068818002100c41e..."} 
[2026-08-11 16:31:58] local.INFO: Processing buffer {"connection_id":155017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07b99e0012d0e340007068818002100c41e..."} 
[2026-08-11 16:31:58] local.INFO: Packet analysis {"connection_id":155017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07b"} 
[2026-08-11 16:31:58] local.INFO: Extracted packet for processing {"connection_id":155017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07b"} 
[2026-08-11 16:31:58] local.INFO: GPS Element Parsed {"raw_longitude":755905536,"raw_latitude":117868568,"longitude_deg":75.5905536,"latitude_deg":11.7868568,"altitude":33,"angle":196,"satellites":30,"speed":13,"hex_longitude":"2d0e3400","hex_latitude":"07068818","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330188032001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27682649065652224,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1024076364193415168,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786446060000,"timestamp_ms":1786446060000,"timestamp_seconds":1786446060,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07b99e0"} 
[2026-08-11 16:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:31: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-08-11 16: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-08-11 16:31:58] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1407383489282048,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633263909376,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:58] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3087007744,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:58] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4034588160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:58] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3320840227,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802881742,"corrected_to":0} 
[2026-08-11 16:31:58] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3003174191,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:58] local.WARNING: Large IO value detected {"io_id":226,"raw_value":5188477784934057734,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:58] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3458808497072635915,"note":"Value kept but may cause issues"} 
[2026-08-11 16:31:58] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,219,94,24,241,157,16,88,159,91,45,64,162,31,30,10,66,83,164,52,128,1,240,252,227,6,4,113,205,20,5,63,232,239,56,2,98,7,39,226,215],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":205,"original":802881742,"validated":0}]} 
[2026-08-11 16:31:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233984555630264320,"timestamp_seconds":2233984555630264.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":155017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":155017,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":155017,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330188032001,"66":14548,"219":206,"94":10240,"24":13,"16":27682649065652224,"45":1024076364193415168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330188032001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:31:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:31:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27682649065652224,"km_value":27682649065652.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1024076364193415168,"description":"Unknown IO ID 45"} 
[2026-08-11 16:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330188032001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1024076364193415168}} 
[2026-08-11 16:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":155017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625821,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:31:58] local.INFO: GPS data processed {"connection_id":155017,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:31:58] local.INFO: Acknowledgment sent {"connection_id":155017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:32:00] local.INFO: TCP Data received {"connection_id":152315,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:32:00] local.INFO: Processing buffer {"connection_id":152315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:32:00] local.INFO: Packet analysis {"connection_id":152315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:32:00] local.INFO: Extracted packet for processing {"connection_id":152315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:32:00] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":46,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330102528001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786446014000,"timestamp_ms":1786446014000,"timestamp_seconds":1786446014,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07ae630"} 
[2026-08-11 16:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 16:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:32: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-08-11 16:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330102528001,"66":26071,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330102528001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:32:00] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:32:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330102528001,"power":26071,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":152315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:32:00] local.INFO: GPS data processed {"connection_id":152315,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:32:00] local.INFO: Acknowledgment sent {"connection_id":152315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:32:08] local.INFO: TCP Data received {"connection_id":153623,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:32:08] local.INFO: Processing buffer {"connection_id":153623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:32:08] local.INFO: IMEI packet received {"connection_id":153623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":153623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:32:10] local.INFO: TCP Data received {"connection_id":155018,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:32:10] local.INFO: Processing buffer {"connection_id":155018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:32:10] local.INFO: IMEI packet received {"connection_id":155018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":155018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:32:10] local.INFO: TCP Data received {"connection_id":155018,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:32:10] local.INFO: Processing buffer {"connection_id":155018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:32:10] local.INFO: IMEI packet received {"connection_id":155018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":155018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:32:13] local.INFO: TCP Data received {"connection_id":153623,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:32:13] local.INFO: Processing buffer {"connection_id":153623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:32:13] local.INFO: IMEI packet received {"connection_id":153623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":153623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:32:14] local.INFO: TCP Data received {"connection_id":153623,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07c3a08012d7ad44005e3f0e00006015c2a..."} 
[2026-08-11 16:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07c3a08012d7ad44005e3f0e00006015c2a..."} 
[2026-08-11 16:32:14] local.INFO: Processing buffer {"connection_id":153623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07c3a08012d7ad44005e3f0e00006015c2a..."} 
[2026-08-11 16:32:14] local.INFO: Packet analysis {"connection_id":153623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07c"} 
[2026-08-11 16:32:14] local.INFO: Extracted packet for processing {"connection_id":153623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07c"} 
[2026-08-11 16:32:14] local.INFO: GPS Element Parsed {"raw_longitude":763024448,"raw_latitude":98824416,"longitude_deg":76.3024448,"latitude_deg":9.8824416,"altitude":6,"angle":348,"satellites":42,"speed":31,"hex_longitude":"2d7ad440","hex_latitude":"05e3f0e0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330196480001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117675867617886208,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852036199126900736,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786446101000,"timestamp_ms":1786446101000,"timestamp_seconds":1786446101,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07c3a08"} 
[2026-08-11 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-08-11 16:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-11 16:32:14] 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-08-11 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-08-11 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-08-11 16:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330196480001,"66":12809,"97":206,"85":15104,"24":31,"16":117675867617886208,"45":8852036199126900736},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330196480001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:32:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:32:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117675867617886208,"km_value":117675867617886.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852036199126900736,"description":"Unknown IO ID 45"} 
[2026-08-11 16:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330196480001,"power":12809,"unknown_97":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8852036199126900736}} 
[2026-08-11 16:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":153623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:32:14] local.INFO: GPS data processed {"connection_id":153623,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:32:14] local.INFO: Acknowledgment sent {"connection_id":153623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:32:15] local.INFO: TCP Data received {"connection_id":155018,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:32:15] local.INFO: Processing buffer {"connection_id":155018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:32:15] local.INFO: IMEI packet received {"connection_id":155018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":155018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:32:16] local.INFO: TCP Data received {"connection_id":155018,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07acec0012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07acec0012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:32:16] local.INFO: Processing buffer {"connection_id":155018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07acec0012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:32:16] local.INFO: Packet analysis {"connection_id":155018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:32:16] local.INFO: Extracted packet for processing {"connection_id":155018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:32:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330172672001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:16] 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-08-11 16:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786446008000,"timestamp_ms":1786446008000,"timestamp_seconds":1786446008,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07acec0"} 
[2026-08-11 16:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:32:16] 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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:32:16] 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-08-11 16: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-08-11 16:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330172672001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330172672001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:32:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:32:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330172672001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":155018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:32:16] local.INFO: GPS data processed {"connection_id":155018,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:32:16] local.INFO: Acknowledgment sent {"connection_id":155018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:32:21] local.INFO: TCP Data received {"connection_id":152316,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:32:21] local.INFO: Processing buffer {"connection_id":152316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:32:21] local.INFO: IMEI packet received {"connection_id":152316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":152316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:32:22] local.INFO: TCP Data received {"connection_id":152686,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:32:22] local.INFO: Processing buffer {"connection_id":152686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:32:22] local.INFO: IMEI packet received {"connection_id":152686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":152686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:32:23] local.INFO: TCP Data received {"connection_id":152686,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:32:23] local.INFO: Processing buffer {"connection_id":152686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:32:23] local.INFO: IMEI packet received {"connection_id":152686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":152686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:32:24] local.INFO: TCP Data received {"connection_id":152316,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:32:24] local.INFO: Processing buffer {"connection_id":152316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:32:24] local.INFO: IMEI packet received {"connection_id":152316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":152316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:32:24] local.INFO: TCP Data received {"connection_id":152316,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:32:24] local.INFO: Processing buffer {"connection_id":152316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:32:24] local.INFO: Packet analysis {"connection_id":152316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:32:24] local.INFO: Extracted packet for processing {"connection_id":152316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:32:24] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":46,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330102528001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786446014000,"timestamp_ms":1786446014000,"timestamp_seconds":1786446014,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07ae630"} 
[2026-08-11 16:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 16:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:32:24] 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-08-11 16:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330102528001,"66":26071,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330102528001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:32:24] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:32:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330102528001,"power":26071,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":152316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:32:24] local.INFO: GPS data processed {"connection_id":152316,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:32:24] local.INFO: Acknowledgment sent {"connection_id":152316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:32:27] local.INFO: TCP Data received {"connection_id":152686,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:32:27] local.INFO: Processing buffer {"connection_id":152686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:32:27] local.INFO: IMEI packet received {"connection_id":152686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":152686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:32:27] local.INFO: TCP Data received {"connection_id":152686,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07cbaf0012d0e0b40070686c0002101331e..."} 
[2026-08-11 16:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07cbaf0012d0e0b40070686c0002101331e..."} 
[2026-08-11 16:32:27] local.INFO: Processing buffer {"connection_id":152686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07cbaf0012d0e0b40070686c0002101331e..."} 
[2026-08-11 16:32:27] local.INFO: Packet analysis {"connection_id":152686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07c"} 
[2026-08-11 16:32:27] local.INFO: Extracted packet for processing {"connection_id":152686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07c"} 
[2026-08-11 16:32:27] local.INFO: GPS Element Parsed {"raw_longitude":755895104,"raw_latitude":117868224,"longitude_deg":75.5895104,"latitude_deg":11.7868224,"altitude":33,"angle":307,"satellites":30,"speed":3,"hex_longitude":"2d0e0b40","hex_latitude":"070686c0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330209792001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27683203116433408,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012184046425755648,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786446134000,"timestamp_ms":1786446134000,"timestamp_seconds":1786446134,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07cbaf0"} 
[2026-08-11 16:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:32: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-08-11 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 16:32:28] 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-08-11 16:32: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-08-11 16:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330209792001,"66":14265,"219":206,"94":10240,"24":3,"16":27683203116433408,"45":1012184046425755648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330209792001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:32:28] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:32:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27683203116433408,"km_value":27683203116433.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012184046425755648,"description":"Unknown IO ID 45"} 
[2026-08-11 16:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330209792001,"power":14265,"unknown_219":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":1012184046425755648}} 
[2026-08-11 16:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":152686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625826,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:32:28] local.INFO: GPS data processed {"connection_id":152686,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:32:28] local.INFO: Acknowledgment sent {"connection_id":152686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:32:30] local.INFO: TCP Data received {"connection_id":152316,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:32:30] local.INFO: Processing buffer {"connection_id":152316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:32:30] local.INFO: Packet analysis {"connection_id":152316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:32:30] local.INFO: Extracted packet for processing {"connection_id":152316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":46,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330102528001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786446014000,"timestamp_ms":1786446014000,"timestamp_seconds":1786446014,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07ae630"} 
[2026-08-11 16:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 16:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:32:30] 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-08-11 16:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330102528001,"66":26071,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330102528001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:32:30] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:32:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330102528001,"power":26071,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":152316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:32:30] local.INFO: GPS data processed {"connection_id":152316,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:32:30] local.INFO: Acknowledgment sent {"connection_id":152316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:32:45] local.INFO: TCP Data received {"connection_id":153623,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07c6500012d7acd0005e40e680007014d27..."} 
[2026-08-11 16:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07c6500012d7acd0005e40e680007014d27..."} 
[2026-08-11 16:32:45] local.INFO: Processing buffer {"connection_id":153623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07c6500012d7acd0005e40e680007014d27..."} 
[2026-08-11 16:32:45] local.INFO: Packet analysis {"connection_id":153623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07c"} 
[2026-08-11 16:32:45] local.INFO: Extracted packet for processing {"connection_id":153623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07c"} 
[2026-08-11 16:32:45] local.INFO: GPS Element Parsed {"raw_longitude":763022592,"raw_latitude":98831976,"longitude_deg":76.3022592,"latitude_deg":9.8831976,"altitude":7,"angle":333,"satellites":39,"speed":15,"hex_longitude":"2d7acd00","hex_latitude":"05e40e68","is_valid_coordinates":true} 
[2026-08-11 16:32: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-08-11 16:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330201856001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117676245575008256,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850769561733095424,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786446112000,"timestamp_ms":1786446112000,"timestamp_seconds":1786446112,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07c6500"} 
[2026-08-11 16:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:32:45] 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-08-11 16:32: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":9,"data_length":795,"current_offset":136} 
[2026-08-11 16:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4034592160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":8852519964003464000,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:45] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2527592454,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-11 16:32:45] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2818649466,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:45] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3221611413,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2052365996475197143,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:45] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241905803185749,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:45] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:45] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,97,85,24,241,157,16,17,159,232,45,192,219,6,41,10,66,181,64,186,122,1,240,187,227,4,113,205,79,236,224,38,239,50,2,162,5,7,15,51,59,112],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-11 16:32:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432728374664691712,"timestamp_seconds":432728374664691.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330201856001,"66":12982,"97":206,"85":15104,"24":15,"16":117676245575008256,"45":8850769561733095424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330201856001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:32:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:32:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117676245575008256,"km_value":117676245575008.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850769561733095424,"description":"Unknown IO ID 45"} 
[2026-08-11 16:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330201856001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8850769561733095424}} 
[2026-08-11 16:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":153623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:32:45] local.INFO: GPS data processed {"connection_id":153623,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:32:45] local.INFO: Acknowledgment sent {"connection_id":153623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:32:47] local.INFO: TCP Data received {"connection_id":155018,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07b20c8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07b20c8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:32:47] local.INFO: Processing buffer {"connection_id":155018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07b20c8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:32:47] local.INFO: Packet analysis {"connection_id":155018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07b"} 
[2026-08-11 16:32:47] local.INFO: Extracted packet for processing {"connection_id":155018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07b"} 
[2026-08-11 16:32:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330178048001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:32:47] 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-08-11 16:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786446029000,"timestamp_ms":1786446029000,"timestamp_seconds":1786446029,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07b20c8"} 
[2026-08-11 16:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:32:47] 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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:32:47] 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-08-11 16: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-08-11 16:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330178048001,"66":12319,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330178048001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:32:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:32:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330178048001,"power":12319,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":155018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:32:47] local.INFO: GPS data processed {"connection_id":155018,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:32:47] local.INFO: Acknowledgment sent {"connection_id":155018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:32:59] local.INFO: TCP Data received {"connection_id":152686,"ip":"42.106.6.16","data_length":93,"data_hex":"00000000000000518e010000019ff07d4f60012d0e024007068fe0002300441c..."} 
[2026-08-11 16:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152686,"packet_length":93,"packet_hex":"00000000000000518e010000019ff07d4f60012d0e024007068fe0002300441c..."} 
[2026-08-11 16:32:59] local.INFO: Processing buffer {"connection_id":152686,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ff07d4f60012d0e024007068fe0002300441c..."} 
[2026-08-11 16:32:59] local.INFO: Packet analysis {"connection_id":152686,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ff07d"} 
[2026-08-11 16:32:59] local.INFO: Extracted packet for processing {"connection_id":152686,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ff07d"} 
[2026-08-11 16:32:59] local.INFO: GPS Element Parsed {"raw_longitude":755892800,"raw_latitude":117870560,"longitude_deg":75.58928,"latitude_deg":11.787056,"altitude":35,"angle":68,"satellites":28,"speed":4,"hex_longitude":"2d0e0240","hex_latitude":"07068fe0","is_valid_coordinates":true} 
[2026-08-11 16: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":93,"current_offset":40} 
[2026-08-11 16:32:59] 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-08-11 16:32:59] 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-08-11 16:32:59] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:32:59] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 16:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152686,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-11 16:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152686,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-11 16:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152686,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-11 16:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 16:32:59] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 16:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":152686,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 16:32:59] local.ERROR: GPS data processing failed {"connection_id":152686,"error":"No valid data to process"} 
[2026-08-11 16:32:59] local.INFO: Acknowledgment sent {"connection_id":152686,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 16:33:05] local.INFO: TCP Data received {"connection_id":152316,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:33:05] local.INFO: Processing buffer {"connection_id":152316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:33:05] local.INFO: Packet analysis {"connection_id":152316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:33:05] local.INFO: Extracted packet for processing {"connection_id":152316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":46,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330102528001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786446014000,"timestamp_ms":1786446014000,"timestamp_seconds":1786446014,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07ae630"} 
[2026-08-11 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-08-11 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 16:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 16:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:33: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-08-11 16:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330102528001,"66":26071,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330102528001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:33:05] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330102528001,"power":26071,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":152316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:33:05] local.INFO: GPS data processed {"connection_id":152316,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:33:05] local.INFO: Acknowledgment sent {"connection_id":152316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:33:08] local.INFO: TCP Data received {"connection_id":153624,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:33:08] local.INFO: Processing buffer {"connection_id":153624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:33:08] local.INFO: IMEI packet received {"connection_id":153624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":153624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:33:13] local.INFO: TCP Data received {"connection_id":155019,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:33:13] local.INFO: Processing buffer {"connection_id":155019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:33:13] local.INFO: IMEI packet received {"connection_id":155019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":155019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:33:13] local.INFO: TCP Data received {"connection_id":153624,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:33:13] local.INFO: Processing buffer {"connection_id":153624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:33:13] local.INFO: IMEI packet received {"connection_id":153624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":153624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:33:15] local.INFO: TCP Data received {"connection_id":155019,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:33:15] local.INFO: Processing buffer {"connection_id":155019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:33:15] local.INFO: IMEI packet received {"connection_id":155019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":155019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:33:15] local.INFO: TCP Data received {"connection_id":153624,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07c6cd0012d7acc0005e410200008013927..."} 
[2026-08-11 16:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07c6cd0012d7acc0005e410200008013927..."} 
[2026-08-11 16:33:15] local.INFO: Processing buffer {"connection_id":153624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07c6cd0012d7acc0005e410200008013927..."} 
[2026-08-11 16:33:15] local.INFO: Packet analysis {"connection_id":153624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07c"} 
[2026-08-11 16:33:15] local.INFO: Extracted packet for processing {"connection_id":153624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07c"} 
[2026-08-11 16:33:15] local.INFO: GPS Element Parsed {"raw_longitude":763022336,"raw_latitude":98832416,"longitude_deg":76.3022336,"latitude_deg":9.8832416,"altitude":8,"angle":313,"satellites":39,"speed":8,"hex_longitude":"2d7acc00","hex_latitude":"05e41020","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330204672001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117676271344812032,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848728868153878528,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786446114000,"timestamp_ms":1786446114000,"timestamp_seconds":1786446114,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07c6cd0"} 
[2026-08-11 16:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:33: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-08-11 16: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-11 16:33:15] 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-08-11 16: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-08-11 16:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330204672001,"66":12526,"97":206,"85":15104,"24":8,"16":117676271344812032,"45":8848728868153878528},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330204672001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:33:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:33:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117676271344812032,"km_value":117676271344812.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848728868153878528,"description":"Unknown IO ID 45"} 
[2026-08-11 16:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330204672001,"power":12526,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8848728868153878528}} 
[2026-08-11 16:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":153624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:33:15] local.INFO: GPS data processed {"connection_id":153624,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:33:15] local.INFO: Acknowledgment sent {"connection_id":153624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:33:19] local.INFO: TCP Data received {"connection_id":155020,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:33:19] local.INFO: Processing buffer {"connection_id":155020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:33:19] local.INFO: IMEI packet received {"connection_id":155020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":155020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:33:20] local.INFO: TCP Data received {"connection_id":155019,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:33:20] local.INFO: Processing buffer {"connection_id":155019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:33:20] local.INFO: IMEI packet received {"connection_id":155019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":155019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:33:21] local.INFO: TCP Data received {"connection_id":155019,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07b72d0012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07b72d0012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:33:21] local.INFO: Processing buffer {"connection_id":155019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07b72d0012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:33:21] local.INFO: Packet analysis {"connection_id":155019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07b"} 
[2026-08-11 16:33:21] local.INFO: Extracted packet for processing {"connection_id":155019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07b"} 
[2026-08-11 16:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:33: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-08-11 16:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330183424001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:21] 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-08-11 16:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786446050000,"timestamp_ms":1786446050000,"timestamp_seconds":1786446050,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07b72d0"} 
[2026-08-11 16:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:33: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-08-11 16:33: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-11 16:33:21] 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-08-11 16:33: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-08-11 16:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":155019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":155019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":155019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330183424001,"66":12113,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330183424001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:33:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:33:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330183424001,"power":12113,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":155019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:33:21] local.INFO: GPS data processed {"connection_id":155019,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:33:21] local.INFO: Acknowledgment sent {"connection_id":155019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:33:22] local.INFO: TCP Data received {"connection_id":152317,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:33:22] local.INFO: Processing buffer {"connection_id":152317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:33:22] local.INFO: IMEI packet received {"connection_id":152317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":152317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:33:22] local.INFO: TCP Data received {"connection_id":152317,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:33:22] local.INFO: Processing buffer {"connection_id":152317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:33:22] local.INFO: IMEI packet received {"connection_id":152317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":152317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:33:24] local.INFO: TCP Data received {"connection_id":155020,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:33:24] local.INFO: Processing buffer {"connection_id":155020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:33:24] local.INFO: IMEI packet received {"connection_id":155020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":155020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:33:25] local.INFO: TCP Data received {"connection_id":155019,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07bc4d8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07bc4d8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:33:25] local.INFO: Processing buffer {"connection_id":155019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07bc4d8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:33:25] local.INFO: Packet analysis {"connection_id":155019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07b"} 
[2026-08-11 16:33:25] local.INFO: Extracted packet for processing {"connection_id":155019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07b"} 
[2026-08-11 16:33:25] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:33: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-08-11 16:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330188800001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33: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-08-11 16:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786446071000,"timestamp_ms":1786446071000,"timestamp_seconds":1786446071,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07bc4d8"} 
[2026-08-11 16:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:33:25] 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-08-11 16:33: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-11 16:33:25] 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-08-11 16:33: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-08-11 16:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330188800001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330188800001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:33:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:33:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330188800001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":155019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:33:25] local.INFO: GPS data processed {"connection_id":155019,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:33:25] local.INFO: Acknowledgment sent {"connection_id":155019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:33:27] local.INFO: TCP Data received {"connection_id":152317,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:33:27] local.INFO: Processing buffer {"connection_id":152317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:33:27] local.INFO: IMEI packet received {"connection_id":152317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":152317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:33:27] local.INFO: TCP Data received {"connection_id":155020,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:33:27] local.INFO: Processing buffer {"connection_id":155020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:33:27] local.INFO: Packet analysis {"connection_id":155020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:33:27] local.INFO: Extracted packet for processing {"connection_id":155020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:33:27] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":46,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330102528001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786446014000,"timestamp_ms":1786446014000,"timestamp_seconds":1786446014,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07ae630"} 
[2026-08-11 16:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 16:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":155020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":155020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":155020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:33:27] 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-08-11 16:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330102528001,"66":26071,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330102528001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:33:27] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:33:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330102528001,"power":26071,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":155020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:33:27] local.INFO: GPS data processed {"connection_id":155020,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:33:27] local.INFO: Acknowledgment sent {"connection_id":155020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:33:27] local.INFO: TCP Data received {"connection_id":152317,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07d5730012d0e038007068fe80023005a1b..."} 
[2026-08-11 16:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07d5730012d0e038007068fe80023005a1b..."} 
[2026-08-11 16:33:27] local.INFO: Processing buffer {"connection_id":152317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07d5730012d0e038007068fe80023005a1b..."} 
[2026-08-11 16:33:27] local.INFO: Packet analysis {"connection_id":152317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07d"} 
[2026-08-11 16:33:27] local.INFO: Extracted packet for processing {"connection_id":152317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07d"} 
[2026-08-11 16:33:27] local.INFO: GPS Element Parsed {"raw_longitude":755893120,"raw_latitude":117870568,"longitude_deg":75.589312,"latitude_deg":11.7870568,"altitude":35,"angle":90,"satellites":27,"speed":6,"hex_longitude":"2d0e0380","hex_latitude":"07068fe8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330220032001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27683460814471168,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009439665403453440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786446174000,"timestamp_ms":1786446174000,"timestamp_seconds":1786446174,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07d5730"} 
[2026-08-11 16:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:33:27] 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-08-11 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 16:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330220032001,"66":14407,"219":206,"94":10240,"24":6,"16":27683460814471168,"45":1009439665403453440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330220032001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:33:27] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:33:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27683460814471168,"km_value":27683460814471.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009439665403453440,"description":"Unknown IO ID 45"} 
[2026-08-11 16:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330220032001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1009439665403453440}} 
[2026-08-11 16:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":152317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625835,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:33:28] local.INFO: GPS data processed {"connection_id":152317,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:33:28] local.INFO: Acknowledgment sent {"connection_id":152317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:33:47] local.INFO: TCP Data received {"connection_id":153624,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07deba0012d7acc0005e41148000e008128..."} 
[2026-08-11 16:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07deba0012d7acc0005e41148000e008128..."} 
[2026-08-11 16:33:47] local.INFO: Processing buffer {"connection_id":153624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07deba0012d7acc0005e41148000e008128..."} 
[2026-08-11 16:33:47] local.INFO: Packet analysis {"connection_id":153624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07d"} 
[2026-08-11 16:33:47] local.INFO: Extracted packet for processing {"connection_id":153624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07d"} 
[2026-08-11 16:33:47] local.INFO: GPS Element Parsed {"raw_longitude":763022336,"raw_latitude":98832712,"longitude_deg":76.3022336,"latitude_deg":9.8832712,"altitude":14,"angle":129,"satellites":40,"speed":9,"hex_longitude":"2d7acc00","hex_latitude":"05e41148","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330227456001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117677443870883840,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8845984487131064320,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786446212000,"timestamp_ms":1786446212000,"timestamp_seconds":1786446212,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07deba0"} 
[2026-08-11 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-08-11 16:33:47] 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-08-11 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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-11 16:33:47] 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-08-11 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-08-11 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-08-11 16:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330227456001,"66":13080,"97":206,"85":15104,"24":9,"16":117677443870883840,"45":8845984487131064320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330227456001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:33:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:33:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117677443870883840,"km_value":117677443870883.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8845984487131064320,"description":"Unknown IO ID 45"} 
[2026-08-11 16:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330227456001,"power":13080,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8845984487131064320}} 
[2026-08-11 16:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":153624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:33:47] local.INFO: GPS data processed {"connection_id":153624,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:33:47] local.INFO: Acknowledgment sent {"connection_id":153624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:33:58] local.INFO: TCP Data received {"connection_id":152317,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07e2e08012d0e310007068730002200141c..."} 
[2026-08-11 16:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07e2e08012d0e310007068730002200141c..."} 
[2026-08-11 16:33:58] local.INFO: Processing buffer {"connection_id":152317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07e2e08012d0e310007068730002200141c..."} 
[2026-08-11 16:33:58] local.INFO: Packet analysis {"connection_id":152317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:33:58] local.INFO: Extracted packet for processing {"connection_id":152317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:33:58] local.INFO: GPS Element Parsed {"raw_longitude":755904768,"raw_latitude":117868336,"longitude_deg":75.5904768,"latitude_deg":11.7868336,"altitude":34,"angle":20,"satellites":28,"speed":15,"hex_longitude":"2d0e3100","hex_latitude":"07068730","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330234112001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27684117944467456,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022246776843046912,"note":"Value kept but may cause issues"} 
[2026-08-11 16:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786446229000,"timestamp_ms":1786446229000,"timestamp_seconds":1786446229,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07e2e08"} 
[2026-08-11 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-08-11 16:33:58] 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-08-11 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 16:33: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-08-11 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-08-11 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-08-11 16:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330234112001,"66":14396,"219":206,"94":10240,"24":15,"16":27684117944467456,"45":1022246776843046912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330234112001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:33:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:33:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27684117944467456,"km_value":27684117944467.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022246776843046912,"description":"Unknown IO ID 45"} 
[2026-08-11 16:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330234112001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":1022246776843046912}} 
[2026-08-11 16:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":152317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625837,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:33:58] local.INFO: GPS data processed {"connection_id":152317,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:33:58] local.INFO: Acknowledgment sent {"connection_id":152317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:34:00] local.INFO: TCP Data received {"connection_id":155020,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:34:00] local.INFO: Processing buffer {"connection_id":155020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:34:00] local.INFO: Packet analysis {"connection_id":155020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:34:00] local.INFO: Extracted packet for processing {"connection_id":155020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:34:00] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":46,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330102528001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786446014000,"timestamp_ms":1786446014000,"timestamp_seconds":1786446014,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07ae630"} 
[2026-08-11 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-08-11 16:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 16:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 16:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":155020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":155020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":155020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:34:00] 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-08-11 16:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330102528001,"66":26071,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330102528001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:34:00] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330102528001,"power":26071,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":155020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:34:00] local.INFO: GPS data processed {"connection_id":155020,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:34:00] local.INFO: Acknowledgment sent {"connection_id":155020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:34:10] local.INFO: TCP Data received {"connection_id":153625,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:34:10] local.INFO: Processing buffer {"connection_id":153625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:34:10] local.INFO: IMEI packet received {"connection_id":153625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":153625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:34:13] local.INFO: TCP Data received {"connection_id":152318,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:34:13] local.INFO: Processing buffer {"connection_id":152318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:34:13] local.INFO: IMEI packet received {"connection_id":152318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":152318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:34:15] local.INFO: TCP Data received {"connection_id":153625,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:34:15] local.INFO: Processing buffer {"connection_id":153625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:34:15] local.INFO: IMEI packet received {"connection_id":153625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":153625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:34:16] local.INFO: TCP Data received {"connection_id":153625,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07c16e0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07c16e0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:34:16] local.INFO: Processing buffer {"connection_id":153625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07c16e0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:34:16] local.INFO: Packet analysis {"connection_id":153625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07c"} 
[2026-08-11 16:34:16] local.INFO: Extracted packet for processing {"connection_id":153625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07c"} 
[2026-08-11 16:34:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330194176001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:16] 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-08-11 16:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786446092000,"timestamp_ms":1786446092000,"timestamp_seconds":1786446092,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07c16e0"} 
[2026-08-11 16:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:34:16] 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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:34:16] 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-08-11 16: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-08-11 16:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330194176001,"66":12428,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330194176001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:34:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:34:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330194176001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":153625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:34:16] local.INFO: GPS data processed {"connection_id":153625,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:34:16] local.INFO: Acknowledgment sent {"connection_id":153625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:34:18] local.INFO: TCP Data received {"connection_id":152318,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:34:18] local.INFO: Processing buffer {"connection_id":152318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:34:18] local.INFO: IMEI packet received {"connection_id":152318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":152318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:34:19] local.INFO: TCP Data received {"connection_id":155021,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:34:19] local.INFO: Processing buffer {"connection_id":155021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:34:19] local.INFO: IMEI packet received {"connection_id":155021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":155021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:34:19] local.INFO: TCP Data received {"connection_id":152318,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07df370012d7acd8005e40fc0000e009729..."} 
[2026-08-11 16:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07df370012d7acd8005e40fc0000e009729..."} 
[2026-08-11 16:34:19] local.INFO: Processing buffer {"connection_id":152318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07df370012d7acd8005e40fc0000e009729..."} 
[2026-08-11 16:34:19] local.INFO: Packet analysis {"connection_id":152318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07d"} 
[2026-08-11 16:34:19] local.INFO: Extracted packet for processing {"connection_id":152318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07d"} 
[2026-08-11 16:34:19] local.INFO: GPS Element Parsed {"raw_longitude":763022720,"raw_latitude":98832320,"longitude_deg":76.302272,"latitude_deg":9.883232,"altitude":14,"angle":151,"satellites":41,"speed":12,"hex_longitude":"2d7acd80","hex_latitude":"05e40fc0","is_valid_coordinates":true} 
[2026-08-11 16:34: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-08-11 16:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330230272001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117677469640687616,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848447393177356288,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786446214000,"timestamp_ms":1786446214000,"timestamp_seconds":1786446214,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07df370"} 
[2026-08-11 16:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:34:19] 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-08-11 16:34: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":24,"data_length":795,"current_offset":136} 
[2026-08-11 16:34:19] 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-08-11 16:34: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-08-11 16:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330230272001,"66":13189,"97":206,"85":15104,"24":12,"16":117677469640687616,"45":8848447393177356288},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330230272001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:34:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:34:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117677469640687616,"km_value":117677469640687.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848447393177356288,"description":"Unknown IO ID 45"} 
[2026-08-11 16:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330230272001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8848447393177356288}} 
[2026-08-11 16:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":152318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:34:19] local.INFO: GPS data processed {"connection_id":152318,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:34:19] local.INFO: Acknowledgment sent {"connection_id":152318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:34:24] local.INFO: TCP Data received {"connection_id":155021,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:34:24] local.INFO: Processing buffer {"connection_id":155021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:34:24] local.INFO: IMEI packet received {"connection_id":155021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":155021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:34:24] local.INFO: TCP Data received {"connection_id":152318,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07dfb40012d7ace8005e40c70000e00a628..."} 
[2026-08-11 16:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07dfb40012d7ace8005e40c70000e00a628..."} 
[2026-08-11 16:34:24] local.INFO: Processing buffer {"connection_id":152318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07dfb40012d7ace8005e40c70000e00a628..."} 
[2026-08-11 16:34:24] local.INFO: Packet analysis {"connection_id":152318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07d"} 
[2026-08-11 16:34:24] local.INFO: Extracted packet for processing {"connection_id":152318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07d"} 
[2026-08-11 16:34:24] local.INFO: GPS Element Parsed {"raw_longitude":763022976,"raw_latitude":98831472,"longitude_deg":76.3022976,"latitude_deg":9.8831472,"altitude":14,"angle":166,"satellites":40,"speed":21,"hex_longitude":"2d7ace80","hex_latitude":"05e40c70","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330230784001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117677512590360576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848869605642321920,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786446216000,"timestamp_ms":1786446216000,"timestamp_seconds":1786446216,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07dfb40"} 
[2026-08-11 16:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:34: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-08-11 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 16:34:24] 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-08-11 16: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-08-11 16:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330230784001,"66":13189,"97":206,"85":15104,"24":21,"16":117677512590360576,"45":8848869605642321920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330230784001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:34:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:34:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117677512590360576,"km_value":117677512590360.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848869605642321920,"description":"Unknown IO ID 45"} 
[2026-08-11 16:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330230784001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8848869605642321920}} 
[2026-08-11 16:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":152318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:34:24] local.INFO: GPS data processed {"connection_id":152318,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:34:24] local.INFO: Acknowledgment sent {"connection_id":152318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:34:24] local.INFO: TCP Data received {"connection_id":153626,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:34:24] local.INFO: Processing buffer {"connection_id":153626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:34:24] local.INFO: IMEI packet received {"connection_id":153626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":153626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:34:25] local.INFO: TCP Data received {"connection_id":155021,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:34:25] local.INFO: Processing buffer {"connection_id":155021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:34:25] local.INFO: Packet analysis {"connection_id":155021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:34:25] local.INFO: Extracted packet for processing {"connection_id":155021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:34:25] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":46,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330102528001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786446014000,"timestamp_ms":1786446014000,"timestamp_seconds":1786446014,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07ae630"} 
[2026-08-11 16:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 16:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:34:25] 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-08-11 16:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330102528001,"66":26071,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330102528001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:34:25] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:34:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330102528001,"power":26071,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":155021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:34:25] local.INFO: GPS data processed {"connection_id":155021,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:34:25] local.INFO: Acknowledgment sent {"connection_id":155021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:34:26] local.INFO: TCP Data received {"connection_id":153626,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:34:26] local.INFO: Processing buffer {"connection_id":153626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:34:26] local.INFO: IMEI packet received {"connection_id":153626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":153626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:34:27] local.INFO: TCP Data received {"connection_id":153626,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:34:27] local.INFO: Processing buffer {"connection_id":153626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:34:27] local.INFO: IMEI packet received {"connection_id":153626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":153626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:34:29] local.INFO: TCP Data received {"connection_id":153626,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:34:29] local.INFO: Processing buffer {"connection_id":153626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:34:29] local.INFO: IMEI packet received {"connection_id":153626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":153626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:34:30] local.INFO: TCP Data received {"connection_id":153626,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07e39c0012d0e324007068bc0002200081c..."} 
[2026-08-11 16:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07e39c0012d0e324007068bc0002200081c..."} 
[2026-08-11 16:34:30] local.INFO: Processing buffer {"connection_id":153626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07e39c0012d0e324007068bc0002200081c..."} 
[2026-08-11 16:34:30] local.INFO: Packet analysis {"connection_id":153626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:34:30] local.INFO: Extracted packet for processing {"connection_id":153626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:34:30] local.INFO: GPS Element Parsed {"raw_longitude":755905088,"raw_latitude":117869504,"longitude_deg":75.5905088,"latitude_deg":11.7869504,"altitude":34,"angle":8,"satellites":28,"speed":15,"hex_longitude":"2d0e3240","hex_latitude":"07068bc0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330234624001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27684178074009600,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022598620564107264,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786446232000,"timestamp_ms":1786446232000,"timestamp_seconds":1786446232,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07e39c0"} 
[2026-08-11 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-08-11 16:34: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-08-11 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 16:34:30] 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-08-11 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-08-11 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-08-11 16:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330234624001,"66":14537,"219":206,"94":10240,"24":15,"16":27684178074009600,"45":1022598620564107264},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330234624001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:34:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:34:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27684178074009600,"km_value":27684178074009.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022598620564107264,"description":"Unknown IO ID 45"} 
[2026-08-11 16:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330234624001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":1022598620564107264}} 
[2026-08-11 16:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":153626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625843,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:34:30] local.INFO: GPS data processed {"connection_id":153626,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:34:30] local.INFO: Acknowledgment sent {"connection_id":153626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:34:33] local.INFO: TCP Data received {"connection_id":153626,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07e4578012d0e324007068f88002301641d..."} 
[2026-08-11 16:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07e4578012d0e324007068f88002301641d..."} 
[2026-08-11 16:34:33] local.INFO: Processing buffer {"connection_id":153626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07e4578012d0e324007068f88002301641d..."} 
[2026-08-11 16:34:33] local.INFO: Packet analysis {"connection_id":153626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:34:33] local.INFO: Extracted packet for processing {"connection_id":153626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:34:33] local.INFO: GPS Element Parsed {"raw_longitude":755905088,"raw_latitude":117870472,"longitude_deg":75.5905088,"latitude_deg":11.7870472,"altitude":35,"angle":356,"satellites":29,"speed":9,"hex_longitude":"2d0e3240","hex_latitude":"07068f88","is_valid_coordinates":true} 
[2026-08-11 16:34: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-08-11 16:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330235392001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27684225318649856,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022950464285294592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786446235000,"timestamp_ms":1786446235000,"timestamp_seconds":1786446235,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07e4578"} 
[2026-08-11 16:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:34:33] 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-08-11 16:34: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":201,"data_length":795,"current_offset":136} 
[2026-08-11 16:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16:34: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-08-11 16:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":153626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":153626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":153626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330235392001,"66":14548,"219":206,"94":10240,"24":9,"16":27684225318649856,"45":1022950464285294592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330235392001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:34:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:34:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27684225318649856,"km_value":27684225318649.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022950464285294592,"description":"Unknown IO ID 45"} 
[2026-08-11 16:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330235392001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1022950464285294592}} 
[2026-08-11 16:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":153626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625844,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:34:33] local.INFO: GPS data processed {"connection_id":153626,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:34:33] local.INFO: Acknowledgment sent {"connection_id":153626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:34:47] local.INFO: TCP Data received {"connection_id":153625,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07c68e8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07c68e8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:34:47] local.INFO: Processing buffer {"connection_id":153625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07c68e8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:34:47] local.INFO: Packet analysis {"connection_id":153625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07c"} 
[2026-08-11 16:34:47] local.INFO: Extracted packet for processing {"connection_id":153625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07c"} 
[2026-08-11 16:34:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:34: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-08-11 16:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330199552001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:34:47] 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-08-11 16:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786446113000,"timestamp_ms":1786446113000,"timestamp_seconds":1786446113,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07c68e8"} 
[2026-08-11 16:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:34:47] 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-08-11 16:34: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 16:34:47] 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-08-11 16:34: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-08-11 16:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330199552001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330199552001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:34:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:34:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330199552001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":153625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:34:47] local.INFO: GPS data processed {"connection_id":153625,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:34:47] local.INFO: Acknowledgment sent {"connection_id":153625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:35:02] local.INFO: TCP Data received {"connection_id":155021,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:35:02] local.INFO: Processing buffer {"connection_id":155021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07ae630012d9deb0005a42138000600782e..."} 
[2026-08-11 16:35:02] local.INFO: Packet analysis {"connection_id":155021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:35:02] local.INFO: Extracted packet for processing {"connection_id":155021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07a"} 
[2026-08-11 16:35:02] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":46,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16:35: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-08-11 16:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330102528001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786446014000,"timestamp_ms":1786446014000,"timestamp_seconds":1786446014,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07ae630"} 
[2026-08-11 16:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16:35: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 16:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16:35: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-08-11 16:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":155021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":155021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":155021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:35:02] 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-08-11 16:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330102528001,"66":26071,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330102528001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:35:02] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:35:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330102528001,"power":26071,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":155021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:35:02] local.INFO: GPS data processed {"connection_id":155021,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:35:02] local.INFO: Acknowledgment sent {"connection_id":155021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:35:04] local.INFO: TCP Data received {"connection_id":153626,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07e9398012d0e328007069198002101651d..."} 
[2026-08-11 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07e9398012d0e328007069198002101651d..."} 
[2026-08-11 16:35:04] local.INFO: Processing buffer {"connection_id":153626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07e9398012d0e328007069198002101651d..."} 
[2026-08-11 16:35:04] local.INFO: Packet analysis {"connection_id":153626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:35:04] local.INFO: Extracted packet for processing {"connection_id":153626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:35:04] local.INFO: GPS Element Parsed {"raw_longitude":755905152,"raw_latitude":117871000,"longitude_deg":75.5905152,"latitude_deg":11.7871,"altitude":33,"angle":357,"satellites":29,"speed":0,"hex_longitude":"2d0e3280","hex_latitude":"07069198","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330236160001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27684251088453632,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022950464285542400,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786446255000,"timestamp_ms":1786446255000,"timestamp_seconds":1786446255,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07e9398"} 
[2026-08-11 16:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:35:04] 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-08-11 16: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 16:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330236160001,"66":14613,"219":206,"94":10240,"24":0,"16":27684251088453632,"45":1022950464285542400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330236160001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:35:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:35:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27684251088453632,"km_value":27684251088453.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022950464285542400,"description":"Unknown IO ID 45"} 
[2026-08-11 16:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330236160001,"power":14613,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1022950464285542400}} 
[2026-08-11 16:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":153626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625847,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:35:04] local.INFO: GPS data processed {"connection_id":153626,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:35:04] local.INFO: Acknowledgment sent {"connection_id":153626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:35:04] local.INFO: TCP Data received {"connection_id":152687,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:35:04] local.INFO: Processing buffer {"connection_id":152687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:35:04] local.INFO: IMEI packet received {"connection_id":152687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":152687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:35:08] local.INFO: TCP Data received {"connection_id":152687,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:35:08] local.INFO: Processing buffer {"connection_id":152687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:35:08] local.INFO: IMEI packet received {"connection_id":152687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":152687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:35:10] local.INFO: TCP Data received {"connection_id":155022,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:35:10] local.INFO: Processing buffer {"connection_id":155022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:35:10] local.INFO: IMEI packet received {"connection_id":155022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":155022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:35:12] local.INFO: TCP Data received {"connection_id":152687,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:35:12] local.INFO: Processing buffer {"connection_id":152687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:35:12] local.INFO: IMEI packet received {"connection_id":152687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":152687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:35:13] local.INFO: TCP Data received {"connection_id":152687,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07e2638012d7ad64005e3ea60000d00a928..."} 
[2026-08-11 16:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07e2638012d7ad64005e3ea60000d00a928..."} 
[2026-08-11 16:35:13] local.INFO: Processing buffer {"connection_id":152687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07e2638012d7ad64005e3ea60000d00a928..."} 
[2026-08-11 16:35:13] local.INFO: Packet analysis {"connection_id":152687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:35:13] local.INFO: Extracted packet for processing {"connection_id":152687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763024960,"raw_latitude":98822752,"longitude_deg":76.302496,"latitude_deg":9.8822752,"altitude":13,"angle":169,"satellites":40,"speed":39,"hex_longitude":"2d7ad640","hex_latitude":"05e3ea60","is_valid_coordinates":true} 
[2026-08-11 16:35: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-08-11 16:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330231296001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117677946382057472,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849151080618815488,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786446227000,"timestamp_ms":1786446227000,"timestamp_seconds":1786446227,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07e2638"} 
[2026-08-11 16:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:35:13] 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-08-11 16:35: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 16:35:13] 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-08-11 16:35: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-08-11 16:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330231296001,"66":13189,"97":206,"85":15104,"24":39,"16":117677946382057472,"45":8849151080618815488},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330231296001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:35:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117677946382057472,"km_value":117677946382057.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849151080618815488,"description":"Unknown IO ID 45"} 
[2026-08-11 16:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330231296001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8849151080618815488}} 
[2026-08-11 16:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":152687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:35:13] local.INFO: GPS data processed {"connection_id":152687,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:35:13] local.INFO: Acknowledgment sent {"connection_id":152687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:35:14] local.INFO: TCP Data received {"connection_id":152687,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07e4960012d7ae08005e3c540000900a329..."} 
[2026-08-11 16:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07e4960012d7ae08005e3c540000900a329..."} 
[2026-08-11 16:35:14] local.INFO: Processing buffer {"connection_id":152687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07e4960012d7ae08005e3c540000900a329..."} 
[2026-08-11 16:35:14] local.INFO: Packet analysis {"connection_id":152687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:35:14] local.INFO: Extracted packet for processing {"connection_id":152687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:35:14] local.INFO: GPS Element Parsed {"raw_longitude":763027584,"raw_latitude":98813248,"longitude_deg":76.3027584,"latitude_deg":9.8813248,"altitude":9,"angle":163,"satellites":41,"speed":45,"hex_longitude":"2d7ae080","hex_latitude":"05e3c540","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330234112001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117678423123427328,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851332511686090752,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786446236000,"timestamp_ms":1786446236000,"timestamp_seconds":1786446236,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07e4960"} 
[2026-08-11 16:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:35:14] 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-08-11 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 16:35:14] 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-08-11 16: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-08-11 16:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330234112001,"66":12722,"97":206,"85":15104,"24":45,"16":117678423123427328,"45":8851332511686090752},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330234112001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:35:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:35:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117678423123427328,"km_value":117678423123427.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851332511686090752,"description":"Unknown IO ID 45"} 
[2026-08-11 16:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330234112001,"power":12722,"unknown_97":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8851332511686090752}} 
[2026-08-11 16:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":152687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:35:14] local.INFO: GPS data processed {"connection_id":152687,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:35:14] local.INFO: Acknowledgment sent {"connection_id":152687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:35:15] local.INFO: TCP Data received {"connection_id":155022,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:35:15] local.INFO: Processing buffer {"connection_id":155022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:35:15] local.INFO: IMEI packet received {"connection_id":155022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":155022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:35:16] local.INFO: TCP Data received {"connection_id":155022,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07cbaf0012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07cbaf0012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:35:16] local.INFO: Processing buffer {"connection_id":155022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07cbaf0012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:35:16] local.INFO: Packet analysis {"connection_id":155022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07c"} 
[2026-08-11 16:35:16] local.INFO: Extracted packet for processing {"connection_id":155022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07c"} 
[2026-08-11 16:35:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330204928001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:16] 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-08-11 16:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786446134000,"timestamp_ms":1786446134000,"timestamp_seconds":1786446134,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07cbaf0"} 
[2026-08-11 16:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:35:16] 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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:35:16] 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-08-11 16: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-08-11 16:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330204928001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330204928001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:35:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:35:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330204928001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":155022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:35:16] local.INFO: GPS data processed {"connection_id":155022,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:35:16] local.INFO: Acknowledgment sent {"connection_id":155022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:35:21] local.INFO: TCP Data received {"connection_id":152688,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152688,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:35:21] local.INFO: Processing buffer {"connection_id":152688,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:35:21] local.INFO: IMEI packet received {"connection_id":152688,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":152688,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:35:21] local.INFO: TCP Data received {"connection_id":152688,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152688,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:35:22] local.INFO: Processing buffer {"connection_id":152688,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:35:22] local.INFO: IMEI packet received {"connection_id":152688,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":152688,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:35:24] local.INFO: TCP Data received {"connection_id":152688,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152688,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:35:24] local.INFO: Processing buffer {"connection_id":152688,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:35:24] local.INFO: IMEI packet received {"connection_id":152688,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":152688,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:35:25] local.INFO: TCP Data received {"connection_id":152688,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07eaef0012d0e324007069130002100bc1d..."} 
[2026-08-11 16:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07eaef0012d0e324007069130002100bc1d..."} 
[2026-08-11 16:35:25] local.INFO: Processing buffer {"connection_id":152688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07eaef0012d0e324007069130002100bc1d..."} 
[2026-08-11 16:35:25] local.INFO: Packet analysis {"connection_id":152688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:35:25] local.INFO: Extracted packet for processing {"connection_id":152688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:35:25] local.INFO: GPS Element Parsed {"raw_longitude":755905088,"raw_latitude":117870896,"longitude_deg":75.5905088,"latitude_deg":11.7870896,"altitude":33,"angle":188,"satellites":29,"speed":1,"hex_longitude":"2d0e3240","hex_latitude":"07069130","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330241280001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27684255383420928,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023020833029855232,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786446262000,"timestamp_ms":1786446262000,"timestamp_seconds":1786446262,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07eaef0"} 
[2026-08-11 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-08-11 16:35:25] 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-08-11 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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-08-11 16:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 16:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152688,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152688,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330241280001,"66":14428,"219":206,"94":10240,"24":1,"16":27684255383420928,"45":1023020833029855232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330241280001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:35:25] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:35:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27684255383420928,"km_value":27684255383420.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023020833029855232,"description":"Unknown IO ID 45"} 
[2026-08-11 16:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330241280001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":1023020833029855232}} 
[2026-08-11 16:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":152688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625851,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:35:25] local.INFO: GPS data processed {"connection_id":152688,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:35:25] local.INFO: Acknowledgment sent {"connection_id":152688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:35:26] local.INFO: TCP Data received {"connection_id":153627,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:35:26] local.INFO: Processing buffer {"connection_id":153627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:35:26] local.INFO: IMEI packet received {"connection_id":153627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":153627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:35:34] local.INFO: TCP Data received {"connection_id":153627,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:35:34] local.INFO: Processing buffer {"connection_id":153627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:35:34] local.INFO: IMEI packet received {"connection_id":153627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":153627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:35:35] local.INFO: TCP Data received {"connection_id":153627,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07eca48012d9deb0005a42138000600782f..."} 
[2026-08-11 16:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07eca48012d9deb0005a42138000600782f..."} 
[2026-08-11 16:35:35] local.INFO: Processing buffer {"connection_id":153627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07eca48012d9deb0005a42138000600782f..."} 
[2026-08-11 16:35:35] local.INFO: Packet analysis {"connection_id":153627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:35:35] local.INFO: Extracted packet for processing {"connection_id":153627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:35:35] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94642488,"longitude_deg":76.5324032,"latitude_deg":9.4642488,"altitude":6,"angle":120,"satellites":47,"speed":0,"hex_longitude":"2d9deb00","hex_latitude":"05a42138","is_valid_coordinates":true} 
[2026-08-11 16:35: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-08-11 16:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330179584001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786446269000,"timestamp_ms":1786446269000,"timestamp_seconds":1786446269,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07eca48"} 
[2026-08-11 16:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":215,"data_length":795,"current_offset":136} 
[2026-08-11 16:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:35: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-08-11 16:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330179584001,"66":25962,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330179584001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:35:35] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330179584001,"power":25962,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":153627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:35:35] local.INFO: GPS data processed {"connection_id":153627,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:35:35] local.INFO: Acknowledgment sent {"connection_id":153627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:35:36] local.INFO: TCP Data received {"connection_id":153627,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07ed600012d9df2c005a41950000600872f..."} 
[2026-08-11 16:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07ed600012d9df2c005a41950000600872f..."} 
[2026-08-11 16:35:36] local.INFO: Processing buffer {"connection_id":153627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07ed600012d9df2c005a41950000600872f..."} 
[2026-08-11 16:35:36] local.INFO: Packet analysis {"connection_id":153627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:35:36] local.INFO: Extracted packet for processing {"connection_id":153627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:35:36] local.INFO: GPS Element Parsed {"raw_longitude":765326016,"raw_latitude":94640464,"longitude_deg":76.5326016,"latitude_deg":9.4640464,"altitude":6,"angle":135,"satellites":47,"speed":0,"hex_longitude":"2d9df2c0","hex_latitude":"05a41950","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330244864001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555165999384576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786446272000,"timestamp_ms":1786446272000,"timestamp_seconds":1786446272,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07ed600"} 
[2026-08-11 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-08-11 16:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"data_length":795,"current_offset":136} 
[2026-08-11 16:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 16:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:35:36] 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-08-11 16:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330244864001,"66":26941,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7067555165999384576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330244864001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:35:36] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555165999384576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330244864001,"power":26941,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7067555165999384576}} 
[2026-08-11 16:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":153627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:35:36] local.INFO: GPS data processed {"connection_id":153627,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:35:36] local.INFO: Acknowledgment sent {"connection_id":153627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:35:46] local.INFO: TCP Data received {"connection_id":152687,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07e6c88012d7aebc005e3a410000600a229..."} 
[2026-08-11 16:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07e6c88012d7aebc005e3a410000600a229..."} 
[2026-08-11 16:35:46] local.INFO: Processing buffer {"connection_id":152687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07e6c88012d7aebc005e3a410000600a229..."} 
[2026-08-11 16:35:46] local.INFO: Packet analysis {"connection_id":152687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:35:46] local.INFO: Extracted packet for processing {"connection_id":152687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:35:46] local.INFO: GPS Element Parsed {"raw_longitude":763030464,"raw_latitude":98804752,"longitude_deg":76.3030464,"latitude_deg":9.8804752,"altitude":6,"angle":162,"satellites":41,"speed":32,"hex_longitude":"2d7aebc0","hex_latitude":"05e3a410","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330236416001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117678856915124224,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854217630194941952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786446245000,"timestamp_ms":1786446245000,"timestamp_seconds":1786446245,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07e6c88"} 
[2026-08-11 16:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:35:46] 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-08-11 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 16:35:46] 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-08-11 16: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-08-11 16:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330236416001,"66":13015,"97":206,"85":15104,"24":32,"16":117678856915124224,"45":8854217630194941952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330236416001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:35:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117678856915124224,"km_value":117678856915124.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854217630194941952,"description":"Unknown IO ID 45"} 
[2026-08-11 16:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330236416001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8854217630194941952}} 
[2026-08-11 16:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":152687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:35:46] local.INFO: GPS data processed {"connection_id":152687,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:35:46] local.INFO: Acknowledgment sent {"connection_id":152687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:35:47] local.INFO: TCP Data received {"connection_id":155022,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07d0cf8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07d0cf8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:35:47] local.INFO: Processing buffer {"connection_id":155022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07d0cf8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:35:47] local.INFO: Packet analysis {"connection_id":155022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07d"} 
[2026-08-11 16:35:47] local.INFO: Extracted packet for processing {"connection_id":155022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07d"} 
[2026-08-11 16:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330210304001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:47] 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-08-11 16:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786446155000,"timestamp_ms":1786446155000,"timestamp_seconds":1786446155,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07d0cf8"} 
[2026-08-11 16:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:35:47] 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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:35:47] 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-08-11 16: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-08-11 16:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330210304001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330210304001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:35:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330210304001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":155022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:35:47] local.INFO: GPS data processed {"connection_id":155022,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:35:47] local.INFO: Acknowledgment sent {"connection_id":155022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:35:59] local.INFO: TCP Data received {"connection_id":152688,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07fc060012d0e3300070691f0002100061d..."} 
[2026-08-11 16:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07fc060012d0e3300070691f0002100061d..."} 
[2026-08-11 16:35:59] local.INFO: Processing buffer {"connection_id":152688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07fc060012d0e3300070691f0002100061d..."} 
[2026-08-11 16:35:59] local.INFO: Packet analysis {"connection_id":152688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:35:59] local.INFO: Extracted packet for processing {"connection_id":152688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:35:59] local.INFO: GPS Element Parsed {"raw_longitude":755905280,"raw_latitude":117871088,"longitude_deg":75.590528,"latitude_deg":11.7871088,"altitude":33,"angle":6,"satellites":29,"speed":10,"hex_longitude":"2d0e3300","hex_latitude":"070691f0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330260736001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27684358462636032,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023161570518177792,"note":"Value kept but may cause issues"} 
[2026-08-11 16:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786446332000,"timestamp_ms":1786446332000,"timestamp_seconds":1786446332,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07fc060"} 
[2026-08-11 16:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:35: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-08-11 16: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":201,"data_length":795,"current_offset":136} 
[2026-08-11 16:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152688,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152688,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330260736001,"66":14439,"219":206,"94":10240,"24":10,"16":27684358462636032,"45":1023161570518177792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330260736001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:35:59] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:35:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27684358462636032,"km_value":27684358462636.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023161570518177792,"description":"Unknown IO ID 45"} 
[2026-08-11 16:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330260736001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1023161570518177792}} 
[2026-08-11 16:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":152688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625856,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:35:59] local.INFO: GPS data processed {"connection_id":152688,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:35:59] local.INFO: Acknowledgment sent {"connection_id":152688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:36:08] local.INFO: TCP Data received {"connection_id":152319,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:36:08] local.INFO: Processing buffer {"connection_id":152319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:36:08] local.INFO: IMEI packet received {"connection_id":152319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":152319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:36:08] local.INFO: TCP Data received {"connection_id":152319,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:36:08] local.INFO: Processing buffer {"connection_id":152319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:36:08] local.INFO: IMEI packet received {"connection_id":152319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":152319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:36:10] local.INFO: TCP Data received {"connection_id":155023,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:36:10] local.INFO: Processing buffer {"connection_id":155023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:36:10] local.INFO: IMEI packet received {"connection_id":155023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":155023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:36:13] local.INFO: TCP Data received {"connection_id":152319,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:36:13] local.INFO: Processing buffer {"connection_id":152319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:36:13] local.INFO: IMEI packet received {"connection_id":152319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":152319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:36:15] local.INFO: TCP Data received {"connection_id":152319,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07fef40012d7b16c005e30098000500aa1e..."} 
[2026-08-11 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07fef40012d7b16c005e30098000500aa1e..."} 
[2026-08-11 16:36:15] local.INFO: Processing buffer {"connection_id":152319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07fef40012d7b16c005e30098000500aa1e..."} 
[2026-08-11 16:36:15] local.INFO: Packet analysis {"connection_id":152319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:36:15] local.INFO: Extracted packet for processing {"connection_id":152319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:36:15] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98762904,"longitude_deg":76.3041472,"latitude_deg":9.8762904,"altitude":5,"angle":170,"satellites":30,"speed":28,"hex_longitude":"2d7b16c0","hex_latitude":"05e30098","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330260480001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117680982923935744,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867024741624752128,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786446344000,"timestamp_ms":1786446344000,"timestamp_seconds":1786446344,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07fef40"} 
[2026-08-11 16:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:36:15] 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-08-11 16: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 16:36: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-08-11 16: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-08-11 16:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330260480001,"66":13396,"97":206,"85":15104,"24":28,"16":117680982923935744,"45":8867024741624752128},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330260480001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:36:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:36:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117680982923935744,"km_value":117680982923935.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867024741624752128,"description":"Unknown IO ID 45"} 
[2026-08-11 16:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330260480001,"power":13396,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8867024741624752128}} 
[2026-08-11 16:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":152319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:36:15] local.INFO: GPS data processed {"connection_id":152319,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:36:15] local.INFO: Acknowledgment sent {"connection_id":152319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:36:15] local.INFO: TCP Data received {"connection_id":155023,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:36:15] local.INFO: Processing buffer {"connection_id":155023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:36:15] local.INFO: IMEI packet received {"connection_id":155023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":155023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:36:16] local.INFO: TCP Data received {"connection_id":155023,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07d5f00012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07d5f00012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:36:16] local.INFO: Processing buffer {"connection_id":155023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07d5f00012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:36:16] local.INFO: Packet analysis {"connection_id":155023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07d"} 
[2026-08-11 16:36:16] local.INFO: Extracted packet for processing {"connection_id":155023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07d"} 
[2026-08-11 16:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330215680001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:16] 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-08-11 16:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786446176000,"timestamp_ms":1786446176000,"timestamp_seconds":1786446176,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07d5f00"} 
[2026-08-11 16:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:36: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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:36:16] 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-08-11 16: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-08-11 16:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330215680001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330215680001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:36:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:36:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330215680001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":155023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:36:16] local.INFO: GPS data processed {"connection_id":155023,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:36:16] local.INFO: Acknowledgment sent {"connection_id":155023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:36:20] local.INFO: TCP Data received {"connection_id":152689,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:36:20] local.INFO: Processing buffer {"connection_id":152689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:36:20] local.INFO: IMEI packet received {"connection_id":152689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":152689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:36:22] local.INFO: TCP Data received {"connection_id":152689,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:36:22] local.INFO: Processing buffer {"connection_id":152689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:36:22] local.INFO: IMEI packet received {"connection_id":152689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":152689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:36:22] local.INFO: TCP Data received {"connection_id":152320,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152320,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:36:22] local.INFO: Processing buffer {"connection_id":152320,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:36:22] local.INFO: IMEI packet received {"connection_id":152320,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":152320,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:36:23] local.INFO: TCP Data received {"connection_id":152689,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07f2808012d9df2c005a41950000600872c..."} 
[2026-08-11 16:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07f2808012d9df2c005a41950000600872c..."} 
[2026-08-11 16:36:23] local.INFO: Processing buffer {"connection_id":152689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07f2808012d9df2c005a41950000600872c..."} 
[2026-08-11 16:36:23] local.INFO: Packet analysis {"connection_id":152689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:36:23] local.INFO: Extracted packet for processing {"connection_id":152689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:36:23] local.INFO: GPS Element Parsed {"raw_longitude":765326016,"raw_latitude":94640464,"longitude_deg":76.5326016,"latitude_deg":9.4640464,"altitude":6,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2d9df2c0","hex_latitude":"05a41950","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330245632001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7065373734930395136,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786446293000,"timestamp_ms":1786446293000,"timestamp_seconds":1786446293,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07f2808"} 
[2026-08-11 16:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-08-11 16:36:23] 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-08-11 16: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-08-11 16:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:36:23] 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-08-11 16:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330245632001,"66":27865,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7065373734930395136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330245632001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:36:23] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7065373734930395136,"description":"Unknown IO ID 45"} 
[2026-08-11 16:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330245632001,"power":27865,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7065373734930395136}} 
[2026-08-11 16:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":152689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:36:23] local.INFO: GPS data processed {"connection_id":152689,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:36:23] local.INFO: Acknowledgment sent {"connection_id":152689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:36:26] local.INFO: TCP Data received {"connection_id":152320,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152320,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:36:26] local.INFO: Processing buffer {"connection_id":152320,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:36:26] local.INFO: IMEI packet received {"connection_id":152320,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":152320,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:36:27] local.INFO: TCP Data received {"connection_id":152320,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07fe770012d0e34000706a208002001631d..."} 
[2026-08-11 16:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07fe770012d0e34000706a208002001631d..."} 
[2026-08-11 16:36:27] local.INFO: Processing buffer {"connection_id":152320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07fe770012d0e34000706a208002001631d..."} 
[2026-08-11 16:36:27] local.INFO: Packet analysis {"connection_id":152320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:36:27] local.INFO: Extracted packet for processing {"connection_id":152320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:36:27] local.INFO: GPS Element Parsed {"raw_longitude":755905536,"raw_latitude":117875208,"longitude_deg":75.5905536,"latitude_deg":11.7875208,"altitude":32,"angle":355,"satellites":29,"speed":12,"hex_longitude":"2d0e3400","hex_latitude":"0706a208","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330260992001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27684556031131648,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023161570518233088,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786446342000,"timestamp_ms":1786446342000,"timestamp_seconds":1786446342,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07fe770"} 
[2026-08-11 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-08-11 16:36: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-08-11 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 16:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 16:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152320,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152320,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330260992001,"66":14537,"219":206,"94":10240,"24":12,"16":27684556031131648,"45":1023161570518233088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330260992001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:36:27] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:36:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27684556031131648,"km_value":27684556031131.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023161570518233088,"description":"Unknown IO ID 45"} 
[2026-08-11 16:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330260992001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1023161570518233088}} 
[2026-08-11 16:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":152320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625860,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:36:27] local.INFO: GPS data processed {"connection_id":152320,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:36:27] local.INFO: Acknowledgment sent {"connection_id":152320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:36:46] local.INFO: TCP Data received {"connection_id":152319,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0801a38012d7b1f0005e2dcc0000500a919..."} 
[2026-08-11 16:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0801a38012d7b1f0005e2dcc0000500a919..."} 
[2026-08-11 16:36:46] local.INFO: Processing buffer {"connection_id":152319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0801a38012d7b1f0005e2dcc0000500a919..."} 
[2026-08-11 16:36:46] local.INFO: Packet analysis {"connection_id":152319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff080"} 
[2026-08-11 16:36:46] local.INFO: Extracted packet for processing {"connection_id":152319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff080"} 
[2026-08-11 16:36:46] local.INFO: GPS Element Parsed {"raw_longitude":763043584,"raw_latitude":98753728,"longitude_deg":76.3043584,"latitude_deg":9.8753728,"altitude":5,"angle":169,"satellites":25,"speed":34,"hex_longitude":"2d7b1f00","hex_latitude":"05e2dcc0","is_valid_coordinates":true} 
[2026-08-11 16:36: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-08-11 16:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330264064001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117681442485436416,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869487647668606976,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786446355000,"timestamp_ms":1786446355000,"timestamp_seconds":1786446355,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0801a38"} 
[2026-08-11 16:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:36:46] 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-08-11 16:36: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":84,"data_length":795,"current_offset":136} 
[2026-08-11 16:36:46] 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-08-11 16:36: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-08-11 16:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330264064001,"66":13276,"97":206,"85":15104,"24":34,"16":117681442485436416,"45":8869487647668606976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330264064001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:36:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:36:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117681442485436416,"km_value":117681442485436.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869487647668606976,"description":"Unknown IO ID 45"} 
[2026-08-11 16:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330264064001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8869487647668606976}} 
[2026-08-11 16:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":152319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:36:46] local.INFO: GPS data processed {"connection_id":152319,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:36:46] local.INFO: Acknowledgment sent {"connection_id":152319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:36:47] local.INFO: TCP Data received {"connection_id":155023,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07db108012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07db108012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:36:47] local.INFO: Processing buffer {"connection_id":155023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07db108012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:36:47] local.INFO: Packet analysis {"connection_id":155023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07d"} 
[2026-08-11 16:36:47] local.INFO: Extracted packet for processing {"connection_id":155023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07d"} 
[2026-08-11 16:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330221056001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:47] 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-08-11 16:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786446197000,"timestamp_ms":1786446197000,"timestamp_seconds":1786446197,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07db108"} 
[2026-08-11 16:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:36: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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:36:47] 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-08-11 16: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-08-11 16:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330221056001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330221056001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:36:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:36:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330221056001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":155023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:36:47] local.INFO: GPS data processed {"connection_id":155023,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:36:47] local.INFO: Acknowledgment sent {"connection_id":155023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:36:58] local.INFO: TCP Data received {"connection_id":152320,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff080d1d0012d0e3900070704000023011f1c..."} 
[2026-08-11 16:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff080d1d0012d0e3900070704000023011f1c..."} 
[2026-08-11 16:36:58] local.INFO: Processing buffer {"connection_id":152320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff080d1d0012d0e3900070704000023011f1c..."} 
[2026-08-11 16:36:58] local.INFO: Packet analysis {"connection_id":152320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff080"} 
[2026-08-11 16:36:58] local.INFO: Extracted packet for processing {"connection_id":152320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff080"} 
[2026-08-11 16:36:58] local.INFO: GPS Element Parsed {"raw_longitude":755906816,"raw_latitude":117900288,"longitude_deg":75.5906816,"latitude_deg":11.7900288,"altitude":35,"angle":287,"satellites":28,"speed":13,"hex_longitude":"2d0e3900","hex_latitude":"07070400","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330278656001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27685814456549376,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025202264106821632,"note":"Value kept but may cause issues"} 
[2026-08-11 16:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786446402000,"timestamp_ms":1786446402000,"timestamp_seconds":1786446402,"priority":1,"record_length":96,"hex_timestamp":"0000019ff080d1d0"} 
[2026-08-11 16:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:36:58] 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-08-11 16: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-11 16:36: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-08-11 16: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-08-11 16:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152320,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152320,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330278656001,"66":13798,"219":206,"94":10240,"24":13,"16":27685814456549376,"45":1025202264106821632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330278656001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:36:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:36:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27685814456549376,"km_value":27685814456549.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025202264106821632,"description":"Unknown IO ID 45"} 
[2026-08-11 16:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330278656001,"power":13798,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1025202264106821632}} 
[2026-08-11 16:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":152320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625863,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:36:59] local.INFO: GPS data processed {"connection_id":152320,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:36:59] local.INFO: Acknowledgment sent {"connection_id":152320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:37:06] local.INFO: TCP Data received {"connection_id":152690,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:37:06] local.INFO: Processing buffer {"connection_id":152690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:37:06] local.INFO: IMEI packet received {"connection_id":152690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":152690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:37:07] local.INFO: TCP Data received {"connection_id":152689,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07f7a10012d9df2c005a41950000600872c..."} 
[2026-08-11 16:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07f7a10012d9df2c005a41950000600872c..."} 
[2026-08-11 16:37:07] local.INFO: Processing buffer {"connection_id":152689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07f7a10012d9df2c005a41950000600872c..."} 
[2026-08-11 16:37:07] local.INFO: Packet analysis {"connection_id":152689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:37:07] local.INFO: Extracted packet for processing {"connection_id":152689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:37:07] local.INFO: GPS Element Parsed {"raw_longitude":765326016,"raw_latitude":94640464,"longitude_deg":76.5326016,"latitude_deg":9.4640464,"altitude":6,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2d9df2c0","hex_latitude":"05a41950","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330251008001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795240435646464,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7065373734930395136,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786446314000,"timestamp_ms":1786446314000,"timestamp_seconds":1786446314,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07f7a10"} 
[2026-08-11 16:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 16:37: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-08-11 16: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-08-11 16:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:37:07] 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-08-11 16:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330251008001,"66":27767,"154":206,"83":17152,"24":0,"16":377795240435646464,"45":-7065373734930395136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330251008001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:37:07] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795240435646464,"km_value":377795240435646.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7065373734930395136,"description":"Unknown IO ID 45"} 
[2026-08-11 16:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330251008001,"power":27767,"unknown_154":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7065373734930395136}} 
[2026-08-11 16:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":152689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:37:07] local.INFO: GPS data processed {"connection_id":152689,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:37:07] local.INFO: Acknowledgment sent {"connection_id":152689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:37:07] local.INFO: TCP Data received {"connection_id":152690,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:37:07] local.INFO: Processing buffer {"connection_id":152690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:37:07] local.INFO: IMEI packet received {"connection_id":152690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":152690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:37:08] local.INFO: TCP Data received {"connection_id":152690,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:37:08] local.INFO: Processing buffer {"connection_id":152690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:37:08] local.INFO: IMEI packet received {"connection_id":152690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":152690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:37:10] local.INFO: TCP Data received {"connection_id":155024,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:37:10] local.INFO: Processing buffer {"connection_id":155024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:37:10] local.INFO: IMEI packet received {"connection_id":155024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":155024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:37:13] local.INFO: TCP Data received {"connection_id":152690,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:37:13] local.INFO: Processing buffer {"connection_id":152690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:37:13] local.INFO: IMEI packet received {"connection_id":152690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":152690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:37:14] local.INFO: TCP Data received {"connection_id":152690,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0811c08012d7b238005e291180001010f25..."} 
[2026-08-11 16:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0811c08012d7b238005e291180001010f25..."} 
[2026-08-11 16:37:14] local.INFO: Processing buffer {"connection_id":152690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0811c08012d7b238005e291180001010f25..."} 
[2026-08-11 16:37:14] local.INFO: Packet analysis {"connection_id":152690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:37:14] local.INFO: Extracted packet for processing {"connection_id":152690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:37:14] local.INFO: GPS Element Parsed {"raw_longitude":763044736,"raw_latitude":98734360,"longitude_deg":76.3044736,"latitude_deg":9.873436,"altitude":1,"angle":271,"satellites":37,"speed":2,"hex_longitude":"2d7b2380","hex_latitude":"05e29118","is_valid_coordinates":true} 
[2026-08-11 16:37: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-08-11 16:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330282496001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117682438917849088,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873639403567820800,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786446421000,"timestamp_ms":1786446421000,"timestamp_seconds":1786446421,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0811c08"} 
[2026-08-11 16:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:37:14] 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-08-11 16:37: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-11 16:37:14] 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-08-11 16:37: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-08-11 16:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330282496001,"66":12950,"96":206,"85":15104,"24":2,"16":117682438917849088,"45":8873639403567820800},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 16:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330282496001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:37:14] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 16:37:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117682438917849088,"km_value":117682438917849.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873639403567820800,"description":"Unknown IO ID 45"} 
[2026-08-11 16:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330282496001,"power":12950,"unknown_96":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8873639403567820800}} 
[2026-08-11 16:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":152690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:37:14] local.INFO: GPS data processed {"connection_id":152690,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:37:14] local.INFO: Acknowledgment sent {"connection_id":152690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:37:15] local.INFO: TCP Data received {"connection_id":155024,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:37:15] local.INFO: Processing buffer {"connection_id":155024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:37:15] local.INFO: IMEI packet received {"connection_id":155024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":155024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:37:16] local.INFO: TCP Data received {"connection_id":155024,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07e0310012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07e0310012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:37:16] local.INFO: Processing buffer {"connection_id":155024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07e0310012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:37:16] local.INFO: Packet analysis {"connection_id":155024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:37:16] local.INFO: Extracted packet for processing {"connection_id":155024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:37:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:37: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-08-11 16:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330226432001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:16] 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-08-11 16:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786446218000,"timestamp_ms":1786446218000,"timestamp_seconds":1786446218,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07e0310"} 
[2026-08-11 16:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:37: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-08-11 16:37: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":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:37:16] 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-08-11 16:37: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-08-11 16:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330226432001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330226432001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:37:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:37:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330226432001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":155024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:37:16] local.INFO: GPS data processed {"connection_id":155024,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:37:16] local.INFO: Acknowledgment sent {"connection_id":155024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:37:21] local.INFO: TCP Data received {"connection_id":152691,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:37:21] local.INFO: Processing buffer {"connection_id":152691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:37:21] local.INFO: IMEI packet received {"connection_id":152691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":152691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:37:21] local.INFO: TCP Data received {"connection_id":152691,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:37:21] local.INFO: Processing buffer {"connection_id":152691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:37:21] local.INFO: IMEI packet received {"connection_id":152691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":152691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:37:22] local.INFO: TCP Data received {"connection_id":153628,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153628,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:37:22] local.INFO: Processing buffer {"connection_id":153628,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:37:22] local.INFO: IMEI packet received {"connection_id":153628,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":153628,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:37:24] local.INFO: TCP Data received {"connection_id":152691,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:37:24] local.INFO: Processing buffer {"connection_id":152691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:37:24] local.INFO: IMEI packet received {"connection_id":152691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":152691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:37:25] local.INFO: TCP Data received {"connection_id":152691,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07fa120012d9df40005a418180006009d2e..."} 
[2026-08-11 16:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07fa120012d9df40005a418180006009d2e..."} 
[2026-08-11 16:37:25] local.INFO: Processing buffer {"connection_id":152691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07fa120012d9df40005a418180006009d2e..."} 
[2026-08-11 16:37:25] local.INFO: Packet analysis {"connection_id":152691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:37:25] local.INFO: Extracted packet for processing {"connection_id":152691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:37:25] local.INFO: GPS Element Parsed {"raw_longitude":765326336,"raw_latitude":94640152,"longitude_deg":76.5326336,"latitude_deg":9.4640152,"altitude":6,"angle":157,"satellites":46,"speed":4,"hex_longitude":"2d9df400","hex_latitude":"05a41818","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330256384001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377795261910482944,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7065373734930395136,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786446324000,"timestamp_ms":1786446324000,"timestamp_seconds":1786446324,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07fa120"} 
[2026-08-11 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-08-11 16:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 16:37:25] 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-08-11 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-08-11 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-08-11 16:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:37:25] 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-08-11 16:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330256384001,"66":27876,"154":206,"83":17152,"24":4,"16":377795261910482944,"45":-7065373734930395136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,45]} 
[2026-08-11 16:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330256384001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:37:25] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 16:37:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377795261910482944,"km_value":377795261910482.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7065373734930395136,"description":"Unknown IO ID 45"} 
[2026-08-11 16:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330256384001,"power":27876,"unknown_154":206,"unknown_83":17152,"ignition":4,"odometer":null,"unknown_45":-7065373734930395136}} 
[2026-08-11 16:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":152691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:37:25] local.INFO: GPS data processed {"connection_id":152691,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:37:25] local.INFO: Acknowledgment sent {"connection_id":152691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:37:27] local.INFO: TCP Data received {"connection_id":153628,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153628,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:37:27] local.INFO: Processing buffer {"connection_id":153628,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:37:27] local.INFO: IMEI packet received {"connection_id":153628,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":153628,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:37:27] local.INFO: TCP Data received {"connection_id":153628,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff080d5b8012d0e374007070440002301111c..."} 
[2026-08-11 16:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff080d5b8012d0e374007070440002301111c..."} 
[2026-08-11 16:37:27] local.INFO: Processing buffer {"connection_id":153628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff080d5b8012d0e374007070440002301111c..."} 
[2026-08-11 16:37:27] local.INFO: Packet analysis {"connection_id":153628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff080"} 
[2026-08-11 16:37:27] local.INFO: Extracted packet for processing {"connection_id":153628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff080"} 
[2026-08-11 16:37:27] local.INFO: GPS Element Parsed {"raw_longitude":755906368,"raw_latitude":117900352,"longitude_deg":75.5906368,"latitude_deg":11.7900352,"altitude":35,"angle":273,"satellites":28,"speed":18,"hex_longitude":"2d0e3740","hex_latitude":"07070440","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330278912001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27685835931385856,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1024850420385972224,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786446403000,"timestamp_ms":1786446403000,"timestamp_seconds":1786446403,"priority":1,"record_length":96,"hex_timestamp":"0000019ff080d5b8"} 
[2026-08-11 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-08-11 16:37: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-08-11 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-11 16:37: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-08-11 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-08-11 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-08-11 16:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330278912001,"66":13798,"219":206,"94":10240,"24":18,"16":27685835931385856,"45":1024850420385972224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330278912001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:37:27] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:37:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27685835931385856,"km_value":27685835931385.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1024850420385972224,"description":"Unknown IO ID 45"} 
[2026-08-11 16:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330278912001,"power":13798,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1024850420385972224}} 
[2026-08-11 16:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":153628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625868,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:37:28] local.INFO: GPS data processed {"connection_id":153628,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:37:28] local.INFO: Acknowledgment sent {"connection_id":153628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:37:47] local.INFO: TCP Data received {"connection_id":155024,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07e5518012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07e5518012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:37:47] local.INFO: Processing buffer {"connection_id":155024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07e5518012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:37:47] local.INFO: Packet analysis {"connection_id":155024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:37:47] local.INFO: Extracted packet for processing {"connection_id":155024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:37:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:37: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-08-11 16:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330231808001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:47] 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-08-11 16:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786446239000,"timestamp_ms":1786446239000,"timestamp_seconds":1786446239,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07e5518"} 
[2026-08-11 16:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:37: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-08-11 16:37: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:37:47] 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-08-11 16:37: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-08-11 16:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330231808001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330231808001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:37:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:37:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330231808001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":155024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:37:47] local.INFO: GPS data processed {"connection_id":155024,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:37:47] local.INFO: Acknowledgment sent {"connection_id":155024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:37:48] local.INFO: TCP Data received {"connection_id":152690,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0811ff0012d7b228005e291200001011e26..."} 
[2026-08-11 16:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0811ff0012d7b228005e291200001011e26..."} 
[2026-08-11 16:37:48] local.INFO: Processing buffer {"connection_id":152690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0811ff0012d7b228005e291200001011e26..."} 
[2026-08-11 16:37:48] local.INFO: Packet analysis {"connection_id":152690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:37:48] local.INFO: Extracted packet for processing {"connection_id":152690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:37:48] local.INFO: GPS Element Parsed {"raw_longitude":763044480,"raw_latitude":98734368,"longitude_deg":76.304448,"latitude_deg":9.8734368,"altitude":1,"angle":286,"satellites":38,"speed":3,"hex_longitude":"2d7b2280","hex_latitude":"05e29120","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330283776001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117682451802750976,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873076453614360576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786446422000,"timestamp_ms":1786446422000,"timestamp_seconds":1786446422,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0811ff0"} 
[2026-08-11 16:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:37:48] 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-08-11 16: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 16:37:48] 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-08-11 16: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-08-11 16:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330283776001,"66":13059,"96":206,"85":15104,"24":3,"16":117682451802750976,"45":8873076453614360576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 16:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330283776001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:37:48] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 16:37:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117682451802750976,"km_value":117682451802750.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873076453614360576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330283776001,"power":13059,"unknown_96":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8873076453614360576}} 
[2026-08-11 16:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":152690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:37:48] local.INFO: GPS data processed {"connection_id":152690,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:37:48] local.INFO: Acknowledgment sent {"connection_id":152690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:37:56] local.INFO: TCP Data received {"connection_id":152691,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08127c0012d9ecf0005a30810001000892c..."} 
[2026-08-11 16:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08127c0012d9ecf0005a30810001000892c..."} 
[2026-08-11 16:37:56] local.INFO: Processing buffer {"connection_id":152691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08127c0012d9ecf0005a30810001000892c..."} 
[2026-08-11 16:37:56] local.INFO: Packet analysis {"connection_id":152691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:37:56] local.INFO: Extracted packet for processing {"connection_id":152691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:37:56] local.INFO: GPS Element Parsed {"raw_longitude":765382400,"raw_latitude":94570512,"longitude_deg":76.53824,"latitude_deg":9.4570512,"altitude":16,"angle":137,"satellites":44,"speed":27,"hex_longitude":"2d9ecf00","hex_latitude":"05a30810","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330283520001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377799672841895936,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7005067721187434496,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786446424000,"timestamp_ms":1786446424000,"timestamp_seconds":1786446424,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08127c0"} 
[2026-08-11 16:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 16:37:56] 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-08-11 16:37: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-08-11 16:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:37:56] 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-08-11 16:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330283520001,"66":27821,"172":206,"83":17152,"24":27,"16":377799672841895936,"45":-7005067721187434496},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,83,24,16,45]} 
[2026-08-11 16:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330283520001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:37:56] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-11 16:37:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377799672841895936,"km_value":377799672841895.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7005067721187434496,"description":"Unknown IO ID 45"} 
[2026-08-11 16:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330283520001,"power":27821,"unknown_172":206,"unknown_83":17152,"ignition":27,"odometer":null,"unknown_45":-7005067721187434496}} 
[2026-08-11 16:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":152691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:37:56] local.INFO: GPS data processed {"connection_id":152691,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:37:56] local.INFO: Acknowledgment sent {"connection_id":152691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:37:58] local.INFO: TCP Data received {"connection_id":153628,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff080f4f8012d0e2ac007070430002301051b..."} 
[2026-08-11 16:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff080f4f8012d0e2ac007070430002301051b..."} 
[2026-08-11 16:37:58] local.INFO: Processing buffer {"connection_id":153628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff080f4f8012d0e2ac007070430002301051b..."} 
[2026-08-11 16:37:58] local.INFO: Packet analysis {"connection_id":153628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff080"} 
[2026-08-11 16:37:58] local.INFO: Extracted packet for processing {"connection_id":153628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff080"} 
[2026-08-11 16:37:58] local.INFO: GPS Element Parsed {"raw_longitude":755903168,"raw_latitude":117900336,"longitude_deg":75.5903168,"latitude_deg":11.7900336,"altitude":35,"angle":261,"satellites":27,"speed":8,"hex_longitude":"2d0e2ac0","hex_latitude":"07070430","is_valid_coordinates":true} 
[2026-08-11 16:37: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-08-11 16:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330279168001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27685990550208512,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1024357839176744960,"note":"Value kept but may cause issues"} 
[2026-08-11 16:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786446411000,"timestamp_ms":1786446411000,"timestamp_seconds":1786446411,"priority":1,"record_length":96,"hex_timestamp":"0000019ff080f4f8"} 
[2026-08-11 16:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:37:58] 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-08-11 16:37: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":230,"data_length":795,"current_offset":136} 
[2026-08-11 16:37:58] 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-08-11 16:37: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-08-11 16:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":153628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":153628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":153628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330279168001,"66":14428,"219":206,"94":10240,"24":8,"16":27685990550208512,"45":1024357839176744960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330279168001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:37:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:37:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27685990550208512,"km_value":27685990550208.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1024357839176744960,"description":"Unknown IO ID 45"} 
[2026-08-11 16:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330279168001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1024357839176744960}} 
[2026-08-11 16:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":153628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625872,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:37:58] local.INFO: GPS data processed {"connection_id":153628,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:37:58] local.INFO: Acknowledgment sent {"connection_id":153628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:38:10] local.INFO: TCP Data received {"connection_id":152692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:38:10] local.INFO: Processing buffer {"connection_id":152692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:38:10] local.INFO: IMEI packet received {"connection_id":152692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":152692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:38:10] local.INFO: TCP Data received {"connection_id":152321,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:38:10] local.INFO: Processing buffer {"connection_id":152321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:38:10] local.INFO: IMEI packet received {"connection_id":152321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":152321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:38:10] local.INFO: TCP Data received {"connection_id":152692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:38:10] local.INFO: Processing buffer {"connection_id":152692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:38:10] local.INFO: IMEI packet received {"connection_id":152692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":152692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:38:15] local.INFO: TCP Data received {"connection_id":152321,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:38:15] local.INFO: Processing buffer {"connection_id":152321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:38:15] local.INFO: IMEI packet received {"connection_id":152321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":152321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:38:15] local.INFO: TCP Data received {"connection_id":152692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:38:15] local.INFO: Processing buffer {"connection_id":152692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:38:15] local.INFO: IMEI packet received {"connection_id":152692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":152692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:38:16] local.INFO: TCP Data received {"connection_id":152321,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07ea720012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07ea720012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:38:16] local.INFO: Processing buffer {"connection_id":152321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07ea720012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:38:16] local.INFO: Packet analysis {"connection_id":152321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:38:16] local.INFO: Extracted packet for processing {"connection_id":152321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:38:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330237184001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:16] 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-08-11 16:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786446260000,"timestamp_ms":1786446260000,"timestamp_seconds":1786446260,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07ea720"} 
[2026-08-11 16:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:38:16] 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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:38:16] 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-08-11 16: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-08-11 16:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330237184001,"66":12406,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330237184001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:38:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:38:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330237184001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":152321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:38:16] local.INFO: GPS data processed {"connection_id":152321,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:38:16] local.INFO: Acknowledgment sent {"connection_id":152321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:38:18] local.INFO: TCP Data received {"connection_id":152692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08123d8012d7b220005e291800001013228..."} 
[2026-08-11 16:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08123d8012d7b220005e291800001013228..."} 
[2026-08-11 16:38:18] local.INFO: Processing buffer {"connection_id":152692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08123d8012d7b220005e291800001013228..."} 
[2026-08-11 16:38:18] local.INFO: Packet analysis {"connection_id":152692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:38:18] local.INFO: Extracted packet for processing {"connection_id":152692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:38:18] local.INFO: GPS Element Parsed {"raw_longitude":763044352,"raw_latitude":98734464,"longitude_deg":76.3044352,"latitude_deg":9.8734464,"altitude":1,"angle":306,"satellites":40,"speed":4,"hex_longitude":"2d7b2200","hex_latitude":"05e29180","is_valid_coordinates":true} 
[2026-08-11 16:38: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-08-11 16:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330284032001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117682460392685568,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872794978637651968,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786446423000,"timestamp_ms":1786446423000,"timestamp_seconds":1786446423,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08123d8"} 
[2026-08-11 16:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:38:18] 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-08-11 16:38: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 16:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159909076390,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:18] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58077557095399431,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:18] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4034979160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2164049921,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:18] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2460483585,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791309518,"corrected_to":0} 
[2026-08-11 16:38:18] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3758173563,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252838,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3801722880,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:18] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,96,85,24,241,157,16,23,159,28,45,128,145,1,37,10,66,8,36,64,240,79,227,226,4,113,205,7,248,39,38,239,50,2,162,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2791309518,"validated":0}]} 
[2026-08-11 16:38:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72372217572425728,"timestamp_seconds":72372217572425.73,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330284032001,"66":13059,"96":206,"85":15104,"24":4,"16":117682460392685568,"45":8872794978637651968},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 16:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330284032001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:38:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 16:38:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117682460392685568,"km_value":117682460392685.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872794978637651968,"description":"Unknown IO ID 45"} 
[2026-08-11 16:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330284032001,"power":13059,"unknown_96":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8872794978637651968}} 
[2026-08-11 16:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":152692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:38:18] local.INFO: GPS data processed {"connection_id":152692,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:38:18] local.INFO: Acknowledgment sent {"connection_id":152692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:38:19] local.INFO: TCP Data received {"connection_id":153629,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:38:19] local.INFO: Processing buffer {"connection_id":153629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:38:19] local.INFO: IMEI packet received {"connection_id":153629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":153629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:38:21] local.INFO: TCP Data received {"connection_id":153629,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:38:21] local.INFO: Processing buffer {"connection_id":153629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:38:21] local.INFO: IMEI packet received {"connection_id":153629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":153629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:38:22] local.INFO: TCP Data received {"connection_id":153630,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153630,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:38:22] local.INFO: Processing buffer {"connection_id":153630,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:38:22] local.INFO: IMEI packet received {"connection_id":153630,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":153630,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:38:24] local.INFO: TCP Data received {"connection_id":153629,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:38:24] local.INFO: Processing buffer {"connection_id":153629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:38:24] local.INFO: IMEI packet received {"connection_id":153629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":153629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:38:25] local.INFO: TCP Data received {"connection_id":153629,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0812f90012d9ed2c005a304700011007a2b..."} 
[2026-08-11 16:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0812f90012d9ed2c005a304700011007a2b..."} 
[2026-08-11 16:38:25] local.INFO: Processing buffer {"connection_id":153629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0812f90012d9ed2c005a304700011007a2b..."} 
[2026-08-11 16:38:25] local.INFO: Packet analysis {"connection_id":153629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:38:25] local.INFO: Extracted packet for processing {"connection_id":153629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:38:25] local.INFO: GPS Element Parsed {"raw_longitude":765383360,"raw_latitude":94569584,"longitude_deg":76.538336,"latitude_deg":9.4569584,"altitude":17,"angle":122,"satellites":43,"speed":26,"hex_longitude":"2d9ed2c0","hex_latitude":"05a30470","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330284544001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377799737266405376,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7003378871327780864,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786446426000,"timestamp_ms":1786446426000,"timestamp_seconds":1786446426,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0812f90"} 
[2026-08-11 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-08-11 16:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:38:25] 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-08-11 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-08-11 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-08-11 16:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:38:25] 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-08-11 16:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330284544001,"66":27843,"172":206,"83":17152,"24":26,"16":377799737266405376,"45":-7003378871327780864},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,83,24,16,45]} 
[2026-08-11 16:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330284544001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:38:25] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-11 16:38:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377799737266405376,"km_value":377799737266405.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7003378871327780864,"description":"Unknown IO ID 45"} 
[2026-08-11 16:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330284544001,"power":27843,"unknown_172":206,"unknown_83":17152,"ignition":26,"odometer":null,"unknown_45":-7003378871327780864}} 
[2026-08-11 16:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":153629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:38:25] local.INFO: GPS data processed {"connection_id":153629,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:38:25] local.INFO: Acknowledgment sent {"connection_id":153629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:38:27] local.INFO: TCP Data received {"connection_id":153630,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153630,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:38:27] local.INFO: Processing buffer {"connection_id":153630,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:38:27] local.INFO: IMEI packet received {"connection_id":153630,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":153630,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:38:27] local.INFO: TCP Data received {"connection_id":153630,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff081fab0012d0dad400706ee480023010a1c..."} 
[2026-08-11 16:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff081fab0012d0dad400706ee480023010a1c..."} 
[2026-08-11 16:38:27] local.INFO: Processing buffer {"connection_id":153630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff081fab0012d0dad400706ee480023010a1c..."} 
[2026-08-11 16:38:27] local.INFO: Packet analysis {"connection_id":153630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:38:27] local.INFO: Extracted packet for processing {"connection_id":153630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:38:27] local.INFO: GPS Element Parsed {"raw_longitude":755871040,"raw_latitude":117894728,"longitude_deg":75.587104,"latitude_deg":11.7894728,"altitude":35,"angle":266,"satellites":28,"speed":25,"hex_longitude":"2d0dad40","hex_latitude":"0706ee48","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330297600001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27687601162944512,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":987766092203055104,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786446478000,"timestamp_ms":1786446478000,"timestamp_seconds":1786446478,"priority":1,"record_length":96,"hex_timestamp":"0000019ff081fab0"} 
[2026-08-11 16:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:38: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-08-11 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 16:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153630,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153630,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330297600001,"66":14439,"219":206,"94":10240,"24":25,"16":27687601162944512,"45":987766092203055104},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330297600001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:38:27] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:38:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27687601162944512,"km_value":27687601162944.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":987766092203055104,"description":"Unknown IO ID 45"} 
[2026-08-11 16:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330297600001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":987766092203055104}} 
[2026-08-11 16:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":153630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625876,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:38:28] local.INFO: GPS data processed {"connection_id":153630,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:38:28] local.INFO: Acknowledgment sent {"connection_id":153630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:38:47] local.INFO: TCP Data received {"connection_id":152321,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07ef928012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07ef928012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:38:47] local.INFO: Processing buffer {"connection_id":152321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07ef928012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:38:47] local.INFO: Packet analysis {"connection_id":152321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:38:47] local.INFO: Extracted packet for processing {"connection_id":152321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07e"} 
[2026-08-11 16:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:38: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-08-11 16:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330242560001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:47] 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-08-11 16:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786446281000,"timestamp_ms":1786446281000,"timestamp_seconds":1786446281,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07ef928"} 
[2026-08-11 16:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:38:47] 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-08-11 16:38: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 16:38:47] 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-08-11 16:38: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-08-11 16:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330242560001,"66":12428,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330242560001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:38:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:38:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330242560001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":152321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:38:47] local.INFO: GPS data processed {"connection_id":152321,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:38:47] local.INFO: Acknowledgment sent {"connection_id":152321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:38:50] local.INFO: TCP Data received {"connection_id":152692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08127c0012d7b218005e291d80001013e26..."} 
[2026-08-11 16:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08127c0012d7b218005e291d80001013e26..."} 
[2026-08-11 16:38:50] local.INFO: Processing buffer {"connection_id":152692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08127c0012d7b218005e291d80001013e26..."} 
[2026-08-11 16:38:50] local.INFO: Packet analysis {"connection_id":152692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:38:50] local.INFO: Extracted packet for processing {"connection_id":152692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:38:50] local.INFO: GPS Element Parsed {"raw_longitude":763044224,"raw_latitude":98734552,"longitude_deg":76.3044224,"latitude_deg":9.8734552,"altitude":1,"angle":318,"satellites":38,"speed":5,"hex_longitude":"2d7b2180","hex_latitude":"05e291d8","is_valid_coordinates":true} 
[2026-08-11 16:38: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-08-11 16:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330284288001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117682464687652864,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872654241149321216,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786446424000,"timestamp_ms":1786446424000,"timestamp_seconds":1786446424,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08127c0"} 
[2026-08-11 16:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:38:50] 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-08-11 16:38: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 16:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162643762598,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:50] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58077557095399434,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:50] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4034984160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2164305921,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:50] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2451570689,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791309518,"corrected_to":0} 
[2026-08-11 16:38:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3801317376,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:50] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:50] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252838,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:50] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,96,85,24,241,157,16,23,159,31,45,128,145,1,38,10,66,28,37,8,240,220,227,226,4,113,205,5,252,168,239,50,2,162],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2791309518,"validated":0}]} 
[2026-08-11 16:38:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72394216394981376,"timestamp_seconds":72394216394981.38,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330284288001,"66":13374,"96":206,"85":15104,"24":5,"16":117682464687652864,"45":8872654241149321216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 16:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330284288001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:38:50] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 16:38:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117682464687652864,"km_value":117682464687652.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872654241149321216,"description":"Unknown IO ID 45"} 
[2026-08-11 16:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330284288001,"power":13374,"unknown_96":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8872654241149321216}} 
[2026-08-11 16:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":152692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:38:50] local.INFO: GPS data processed {"connection_id":152692,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:38:50] local.INFO: Acknowledgment sent {"connection_id":152692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:38:57] local.INFO: TCP Data received {"connection_id":153629,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0813b48012d9eda8005a300e80011006c2c..."} 
[2026-08-11 16:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0813b48012d9eda8005a300e80011006c2c..."} 
[2026-08-11 16:38:57] local.INFO: Processing buffer {"connection_id":153629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0813b48012d9eda8005a300e80011006c2c..."} 
[2026-08-11 16:38:57] local.INFO: Packet analysis {"connection_id":153629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:38:57] local.INFO: Extracted packet for processing {"connection_id":153629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:38:57] local.INFO: GPS Element Parsed {"raw_longitude":765385344,"raw_latitude":94568680,"longitude_deg":76.5385344,"latitude_deg":9.456868,"altitude":17,"angle":108,"satellites":44,"speed":29,"hex_longitude":"2d9eda80","hex_latitude":"05a300e8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330285056001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377799840345620480,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7002323340165353472,"note":"Value kept but may cause issues"} 
[2026-08-11 16:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786446429000,"timestamp_ms":1786446429000,"timestamp_seconds":1786446429,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0813b48"} 
[2026-08-11 16:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 16:38:57] 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-08-11 16: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-08-11 16:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:38:57] 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-08-11 16:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330285056001,"66":27865,"172":206,"83":17152,"24":29,"16":377799840345620480,"45":-7002323340165353472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,83,24,16,45]} 
[2026-08-11 16:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330285056001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:38:57] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-11 16:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377799840345620480,"km_value":377799840345620.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7002323340165353472,"description":"Unknown IO ID 45"} 
[2026-08-11 16:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330285056001,"power":27865,"unknown_172":206,"unknown_83":17152,"ignition":29,"odometer":null,"unknown_45":-7002323340165353472}} 
[2026-08-11 16:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":153629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:38:57] local.INFO: GPS data processed {"connection_id":153629,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:38:57] local.INFO: Acknowledgment sent {"connection_id":153629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:39:00] local.INFO: TCP Data received {"connection_id":153630,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0820280012d0da8000706ee98002401171c..."} 
[2026-08-11 16:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0820280012d0da8000706ee98002401171c..."} 
[2026-08-11 16:39:00] local.INFO: Processing buffer {"connection_id":153630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0820280012d0da8000706ee98002401171c..."} 
[2026-08-11 16:39:00] local.INFO: Packet analysis {"connection_id":153630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff082"} 
[2026-08-11 16:39:00] local.INFO: Extracted packet for processing {"connection_id":153630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff082"} 
[2026-08-11 16:39:00] local.INFO: GPS Element Parsed {"raw_longitude":755869696,"raw_latitude":117894808,"longitude_deg":75.5869696,"latitude_deg":11.7894808,"altitude":36,"angle":279,"satellites":28,"speed":26,"hex_longitude":"2d0da800","hex_latitude":"0706ee98","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330298368001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27687665587453952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":985514292389234688,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786446480000,"timestamp_ms":1786446480000,"timestamp_seconds":1786446480,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0820280"} 
[2026-08-11 16:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:39: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-08-11 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 16:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153630,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153630,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330298368001,"66":14309,"219":206,"94":10240,"24":26,"16":27687665587453952,"45":985514292389234688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330298368001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:39:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:39:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27687665587453952,"km_value":27687665587453.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":985514292389234688,"description":"Unknown IO ID 45"} 
[2026-08-11 16:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330298368001,"power":14309,"unknown_219":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":985514292389234688}} 
[2026-08-11 16:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":153630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625880,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:39:01] local.INFO: GPS data processed {"connection_id":153630,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:39:01] local.INFO: Acknowledgment sent {"connection_id":153630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:39:08] local.INFO: TCP Data received {"connection_id":153631,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:39:08] local.INFO: Processing buffer {"connection_id":153631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:39:08] local.INFO: IMEI packet received {"connection_id":153631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":153631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:39:10] local.INFO: TCP Data received {"connection_id":152322,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:39:10] local.INFO: Processing buffer {"connection_id":152322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:39:10] local.INFO: IMEI packet received {"connection_id":152322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":152322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:39:10] local.INFO: TCP Data received {"connection_id":152322,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:39:10] local.INFO: Processing buffer {"connection_id":152322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:39:10] local.INFO: IMEI packet received {"connection_id":152322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":152322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:39:13] local.INFO: TCP Data received {"connection_id":153631,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:39:13] local.INFO: Processing buffer {"connection_id":153631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:39:13] local.INFO: IMEI packet received {"connection_id":153631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":153631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:39:14] local.INFO: TCP Data received {"connection_id":153631,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0827b98012d7b0a4005e30dd00000000521..."} 
[2026-08-11 16:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0827b98012d7b0a4005e30dd00000000521..."} 
[2026-08-11 16:39:14] local.INFO: Processing buffer {"connection_id":153631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0827b98012d7b0a4005e30dd00000000521..."} 
[2026-08-11 16:39:14] local.INFO: Packet analysis {"connection_id":153631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff082"} 
[2026-08-11 16:39:14] local.INFO: Extracted packet for processing {"connection_id":153631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff082"} 
[2026-08-11 16:39:14] local.INFO: GPS Element Parsed {"raw_longitude":763038272,"raw_latitude":98766288,"longitude_deg":76.3038272,"latitude_deg":9.8766288,"altitude":0,"angle":5,"satellites":33,"speed":2,"hex_longitude":"2d7b0a40","hex_latitude":"05e30dd0","is_valid_coordinates":true} 
[2026-08-11 16:39: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-08-11 16:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330305536001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684053825552384,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866109947948756992,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786446511000,"timestamp_ms":1786446511000,"timestamp_seconds":1786446511,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0827b98"} 
[2026-08-11 16:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:39:14] 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-08-11 16:39: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-11 16:39:14] 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-08-11 16:39: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-08-11 16:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330305536001,"66":13037,"97":206,"85":15104,"24":2,"16":117684053825552384,"45":8866109947948756992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330305536001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:39:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684053825552384,"km_value":117684053825552.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866109947948756992,"description":"Unknown IO ID 45"} 
[2026-08-11 16:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330305536001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8866109947948756992}} 
[2026-08-11 16:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":153631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:39:15] local.INFO: GPS data processed {"connection_id":153631,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:39:15] local.INFO: Acknowledgment sent {"connection_id":153631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:39:15] local.INFO: TCP Data received {"connection_id":152322,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:39:15] local.INFO: Processing buffer {"connection_id":152322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:39:15] local.INFO: IMEI packet received {"connection_id":152322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":152322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:39:16] local.INFO: TCP Data received {"connection_id":152322,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07f4b30012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07f4b30012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:39:16] local.INFO: Processing buffer {"connection_id":152322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07f4b30012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:39:16] local.INFO: Packet analysis {"connection_id":152322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:39:16] local.INFO: Extracted packet for processing {"connection_id":152322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:39:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:39: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-08-11 16:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330247936001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:16] 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-08-11 16:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786446302000,"timestamp_ms":1786446302000,"timestamp_seconds":1786446302,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07f4b30"} 
[2026-08-11 16:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:39:16] 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-08-11 16:39: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":140,"data_length":795,"current_offset":136} 
[2026-08-11 16:39:16] 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-08-11 16:39: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-08-11 16:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330247936001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330247936001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:39:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:39:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330247936001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":152322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:39:16] local.INFO: GPS data processed {"connection_id":152322,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:39:16] local.INFO: Acknowledgment sent {"connection_id":152322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:39:19] local.INFO: TCP Data received {"connection_id":153632,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:39:19] local.INFO: Processing buffer {"connection_id":153632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:39:19] local.INFO: IMEI packet received {"connection_id":153632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":153632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:39:21] local.INFO: TCP Data received {"connection_id":155025,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155025,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:39:21] local.INFO: Processing buffer {"connection_id":155025,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:39:21] local.INFO: IMEI packet received {"connection_id":155025,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":155025,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:39:21] local.INFO: TCP Data received {"connection_id":155025,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155025,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:39:21] local.INFO: Processing buffer {"connection_id":155025,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:39:21] local.INFO: IMEI packet received {"connection_id":155025,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":155025,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:39:22] local.INFO: TCP Data received {"connection_id":153632,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:39:22] local.INFO: Processing buffer {"connection_id":153632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:39:22] local.INFO: IMEI packet received {"connection_id":153632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":153632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:39:24] local.INFO: TCP Data received {"connection_id":153632,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:39:24] local.INFO: Processing buffer {"connection_id":153632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:39:24] local.INFO: IMEI packet received {"connection_id":153632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":153632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:39:24] local.INFO: TCP Data received {"connection_id":153632,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0816640012d9efdc005a2f518000f006b2d..."} 
[2026-08-11 16:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0816640012d9efdc005a2f518000f006b2d..."} 
[2026-08-11 16:39:24] local.INFO: Processing buffer {"connection_id":153632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0816640012d9efdc005a2f518000f006b2d..."} 
[2026-08-11 16:39:24] local.INFO: Packet analysis {"connection_id":153632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:39:24] local.INFO: Extracted packet for processing {"connection_id":153632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:39:24] local.INFO: GPS Element Parsed {"raw_longitude":765394368,"raw_latitude":94565656,"longitude_deg":76.5394368,"latitude_deg":9.4565656,"altitude":15,"angle":107,"satellites":45,"speed":36,"hex_longitude":"2d9efdc0","hex_latitude":"05a2f518","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330285824001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377800295612153856,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7000141909096077312,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786446440000,"timestamp_ms":1786446440000,"timestamp_seconds":1786446440,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0816640"} 
[2026-08-11 16:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 16:39:24] 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-08-11 16: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-08-11 16:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:39:24] 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-08-11 16:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330285824001,"66":27843,"172":206,"83":17152,"24":36,"16":377800295612153856,"45":-7000141909096077312},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,83,24,16,45]} 
[2026-08-11 16:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330285824001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:39:24] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-11 16:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377800295612153856,"km_value":377800295612153.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7000141909096077312,"description":"Unknown IO ID 45"} 
[2026-08-11 16:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330285824001,"power":27843,"unknown_172":206,"unknown_83":17152,"ignition":36,"odometer":null,"unknown_45":-7000141909096077312}} 
[2026-08-11 16:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":153632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:39:24] local.INFO: GPS data processed {"connection_id":153632,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:39:24] local.INFO: Acknowledgment sent {"connection_id":153632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:39:27] local.INFO: TCP Data received {"connection_id":155025,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155025,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:39:27] local.INFO: Processing buffer {"connection_id":155025,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:39:27] local.INFO: IMEI packet received {"connection_id":155025,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":155025,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:39:27] local.INFO: TCP Data received {"connection_id":155025,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0830c20012d0d2d8007071808001f013c1b..."} 
[2026-08-11 16:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0830c20012d0d2d8007071808001f013c1b..."} 
[2026-08-11 16:39:27] local.INFO: Processing buffer {"connection_id":155025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0830c20012d0d2d8007071808001f013c1b..."} 
[2026-08-11 16:39:27] local.INFO: Packet analysis {"connection_id":155025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:39:27] local.INFO: Extracted packet for processing {"connection_id":155025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:39:27] local.INFO: GPS Element Parsed {"raw_longitude":755838336,"raw_latitude":117905416,"longitude_deg":75.5838336,"latitude_deg":11.7905416,"altitude":31,"angle":316,"satellites":27,"speed":5,"hex_longitude":"2d0d2d80","hex_latitude":"07071808","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330314752001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27689289085091840,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950259551558856704,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786446548000,"timestamp_ms":1786446548000,"timestamp_seconds":1786446548,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0830c20"} 
[2026-08-11 16:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16: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-08-11 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 16:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":155025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":155025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":155025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330314752001,"66":14559,"219":206,"94":10240,"24":5,"16":27689289085091840,"45":950259551558856704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330314752001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:39:27] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:39:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27689289085091840,"km_value":27689289085091.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":950259551558856704,"description":"Unknown IO ID 45"} 
[2026-08-11 16:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330314752001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":950259551558856704}} 
[2026-08-11 16:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":155025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625884,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:39:28] local.INFO: GPS data processed {"connection_id":155025,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:39:28] local.INFO: Acknowledgment sent {"connection_id":155025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:39:46] local.INFO: TCP Data received {"connection_id":153631,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff082be00012d7b098005e310780000015921..."} 
[2026-08-11 16:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff082be00012d7b098005e310780000015921..."} 
[2026-08-11 16:39:46] local.INFO: Processing buffer {"connection_id":153631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff082be00012d7b098005e310780000015921..."} 
[2026-08-11 16:39:46] local.INFO: Packet analysis {"connection_id":153631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff082"} 
[2026-08-11 16:39:46] local.INFO: Extracted packet for processing {"connection_id":153631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff082"} 
[2026-08-11 16:39:46] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98766968,"longitude_deg":76.303808,"latitude_deg":9.8766968,"altitude":0,"angle":345,"satellites":33,"speed":0,"hex_longitude":"2d7b0980","hex_latitude":"05e31078","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330306816001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684088185290752,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865969210460590080,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786446528000,"timestamp_ms":1786446528000,"timestamp_seconds":1786446528,"priority":1,"record_length":96,"hex_timestamp":"0000019ff082be00"} 
[2026-08-11 16:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:39:46] 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-08-11 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-11 16:39:46] 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-08-11 16: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-08-11 16:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330306816001,"66":12863,"97":206,"85":15104,"24":0,"16":117684088185290752,"45":8865969210460590080},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330306816001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:39:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684088185290752,"km_value":117684088185290.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865969210460590080,"description":"Unknown IO ID 45"} 
[2026-08-11 16:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330306816001,"power":12863,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865969210460590080}} 
[2026-08-11 16:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":153631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:39:46] local.INFO: GPS data processed {"connection_id":153631,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:39:46] local.INFO: Acknowledgment sent {"connection_id":153631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:39:47] local.INFO: TCP Data received {"connection_id":152322,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07f9d38012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07f9d38012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:39:47] local.INFO: Processing buffer {"connection_id":152322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07f9d38012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:39:47] local.INFO: Packet analysis {"connection_id":152322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:39:47] local.INFO: Extracted packet for processing {"connection_id":152322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:39: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-08-11 16:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330253312001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:47] 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-08-11 16:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786446323000,"timestamp_ms":1786446323000,"timestamp_seconds":1786446323,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07f9d38"} 
[2026-08-11 16:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:39:47] 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-08-11 16:39: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:39:47] 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-08-11 16:39: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-08-11 16:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330253312001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330253312001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:39:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:39:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330253312001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":152322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:39:47] local.INFO: GPS data processed {"connection_id":152322,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:39:47] local.INFO: Acknowledgment sent {"connection_id":152322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:39:56] local.INFO: TCP Data received {"connection_id":153632,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0819138012d9f214005a2e8e0000c00702c..."} 
[2026-08-11 16:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0819138012d9f214005a2e8e0000c00702c..."} 
[2026-08-11 16:39:56] local.INFO: Processing buffer {"connection_id":153632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0819138012d9f214005a2e8e0000c00702c..."} 
[2026-08-11 16:39:56] local.INFO: Packet analysis {"connection_id":153632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:39:56] local.INFO: Extracted packet for processing {"connection_id":153632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:39:56] local.INFO: GPS Element Parsed {"raw_longitude":765403456,"raw_latitude":94562528,"longitude_deg":76.5403456,"latitude_deg":9.4562528,"altitude":12,"angle":112,"satellites":44,"speed":27,"hex_longitude":"2d9f2140","hex_latitude":"05a2e8e0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330288640001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377800759468621824,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6990219916167800832,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786446451000,"timestamp_ms":1786446451000,"timestamp_seconds":1786446451,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0819138"} 
[2026-08-11 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-08-11 16:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 16:39:56] 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-08-11 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-08-11 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-08-11 16:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:39:56] 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-08-11 16:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330288640001,"66":27767,"172":206,"83":17152,"24":27,"16":377800759468621824,"45":-6990219916167800832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,83,24,16,45]} 
[2026-08-11 16:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330288640001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:39:56] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-11 16:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377800759468621824,"km_value":377800759468621.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6990219916167800832,"description":"Unknown IO ID 45"} 
[2026-08-11 16:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330288640001,"power":27767,"unknown_172":206,"unknown_83":17152,"ignition":27,"odometer":null,"unknown_45":-6990219916167800832}} 
[2026-08-11 16:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":153632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:39:56] local.INFO: GPS data processed {"connection_id":153632,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:39:56] local.INFO: Acknowledgment sent {"connection_id":153632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:39:58] local.INFO: TCP Data received {"connection_id":155025,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08313f0012d0d2c80070718e00020014b1b..."} 
[2026-08-11 16:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08313f0012d0d2c80070718e00020014b1b..."} 
[2026-08-11 16:39:58] local.INFO: Processing buffer {"connection_id":155025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08313f0012d0d2c80070718e00020014b1b..."} 
[2026-08-11 16:39:58] local.INFO: Packet analysis {"connection_id":155025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:39:58] local.INFO: Extracted packet for processing {"connection_id":155025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:39:58] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117905632,"longitude_deg":75.583808,"latitude_deg":11.7905632,"altitude":32,"angle":331,"satellites":27,"speed":6,"hex_longitude":"2d0d2c80","hex_latitude":"070718e0","is_valid_coordinates":true} 
[2026-08-11 16:39: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-08-11 16:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330316288001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27689301969993728,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949555864117184512,"note":"Value kept but may cause issues"} 
[2026-08-11 16:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786446550000,"timestamp_ms":1786446550000,"timestamp_seconds":1786446550,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08313f0"} 
[2026-08-11 16:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:39:58] 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-08-11 16:39: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":223,"data_length":795,"current_offset":136} 
[2026-08-11 16:39:58] 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-08-11 16:39: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-08-11 16:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":155025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":155025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":155025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330316288001,"66":14374,"219":206,"94":10240,"24":6,"16":27689301969993728,"45":949555864117184512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-11 16:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330316288001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:39:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 16:39:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27689301969993728,"km_value":27689301969993.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":949555864117184512,"description":"Unknown IO ID 45"} 
[2026-08-11 16:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330316288001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":949555864117184512}} 
[2026-08-11 16:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":155025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625888,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:39:58] local.INFO: GPS data processed {"connection_id":155025,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:39:58] local.INFO: Acknowledgment sent {"connection_id":155025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:40:08] local.INFO: TCP Data received {"connection_id":152323,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:40:08] local.INFO: Processing buffer {"connection_id":152323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:40:08] local.INFO: IMEI packet received {"connection_id":152323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":152323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:40:10] local.INFO: TCP Data received {"connection_id":155026,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:40:10] local.INFO: Processing buffer {"connection_id":155026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:40:10] local.INFO: IMEI packet received {"connection_id":155026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":155026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:40:13] local.INFO: TCP Data received {"connection_id":155026,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:40:13] local.INFO: Processing buffer {"connection_id":155026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:40:13] local.INFO: IMEI packet received {"connection_id":155026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":155026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:40:14] local.INFO: TCP Data received {"connection_id":152323,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:40:14] local.INFO: Processing buffer {"connection_id":152323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:40:14] local.INFO: IMEI packet received {"connection_id":152323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":152323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:40:15] local.INFO: TCP Data received {"connection_id":155026,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:40:15] local.INFO: Processing buffer {"connection_id":155026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:40:15] local.INFO: IMEI packet received {"connection_id":155026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":155026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:40:15] local.INFO: TCP Data received {"connection_id":152323,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff082d958012d7b090005e31110000000191e..."} 
[2026-08-11 16:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff082d958012d7b090005e31110000000191e..."} 
[2026-08-11 16:40:15] local.INFO: Processing buffer {"connection_id":152323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff082d958012d7b090005e31110000000191e..."} 
[2026-08-11 16:40:15] local.INFO: Packet analysis {"connection_id":152323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff082"} 
[2026-08-11 16:40:15] local.INFO: Extracted packet for processing {"connection_id":152323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff082"} 
[2026-08-11 16:40:15] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":98767120,"longitude_deg":76.3037952,"latitude_deg":9.876712,"altitude":0,"angle":25,"satellites":30,"speed":3,"hex_longitude":"2d7b0900","hex_latitude":"05e31110","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330311168001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684101070192640,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104228231168,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786446535000,"timestamp_ms":1786446535000,"timestamp_seconds":1786446535,"priority":1,"record_length":96,"hex_timestamp":"0000019ff082d958"} 
[2026-08-11 16:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:40:15] 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-08-11 16: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-11 16:40:15] 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-08-11 16: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-08-11 16:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330311168001,"66":12939,"97":206,"85":15104,"24":3,"16":117684101070192640,"45":8865758104228231168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330311168001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:40:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:40:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684101070192640,"km_value":117684101070192.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104228231168,"description":"Unknown IO ID 45"} 
[2026-08-11 16:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330311168001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8865758104228231168}} 
[2026-08-11 16:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":152323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:40:15] local.INFO: GPS data processed {"connection_id":152323,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:40:15] local.INFO: Acknowledgment sent {"connection_id":152323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:40:15] local.INFO: TCP Data received {"connection_id":155026,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff07fef40012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff07fef40012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:40:15] local.INFO: Processing buffer {"connection_id":155026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff07fef40012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:40:15] local.INFO: Packet analysis {"connection_id":155026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:40:15] local.INFO: Extracted packet for processing {"connection_id":155026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff07f"} 
[2026-08-11 16:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330258688001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:15] 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-08-11 16:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786446344000,"timestamp_ms":1786446344000,"timestamp_seconds":1786446344,"priority":1,"record_length":96,"hex_timestamp":"0000019ff07fef40"} 
[2026-08-11 16:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:40:15] 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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:40:15] 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-08-11 16: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-08-11 16:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330258688001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330258688001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:40:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330258688001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":155026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:40:16] local.INFO: GPS data processed {"connection_id":155026,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:40:16] local.INFO: Acknowledgment sent {"connection_id":155026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:40:19] local.INFO: TCP Data received {"connection_id":155027,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:40:19] local.INFO: Processing buffer {"connection_id":155027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:40:19] local.INFO: IMEI packet received {"connection_id":155027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":155027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:40:22] local.INFO: TCP Data received {"connection_id":152693,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152693,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:40:22] local.INFO: Processing buffer {"connection_id":152693,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:40:22] local.INFO: IMEI packet received {"connection_id":152693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":152693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:40:24] local.INFO: TCP Data received {"connection_id":155027,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:40:24] local.INFO: Processing buffer {"connection_id":155027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:40:24] local.INFO: IMEI packet received {"connection_id":155027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":155027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:40:25] local.INFO: TCP Data received {"connection_id":152693,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152693,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:40:25] local.INFO: Processing buffer {"connection_id":152693,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:40:25] local.INFO: IMEI packet received {"connection_id":152693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":152693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:40:25] local.INFO: TCP Data received {"connection_id":155027,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff081c018012d9f41c005a2db90000c006d2c..."} 
[2026-08-11 16:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff081c018012d9f41c005a2db90000c006d2c..."} 
[2026-08-11 16:40:25] local.INFO: Processing buffer {"connection_id":155027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff081c018012d9f41c005a2db90000c006d2c..."} 
[2026-08-11 16:40:25] local.INFO: Packet analysis {"connection_id":155027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:40:25] local.INFO: Extracted packet for processing {"connection_id":155027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff081"} 
[2026-08-11 16:40:25] local.INFO: GPS Element Parsed {"raw_longitude":765411776,"raw_latitude":94559120,"longitude_deg":76.5411776,"latitude_deg":9.455912,"altitude":12,"angle":109,"satellites":44,"speed":32,"hex_longitude":"2d9f41c0","hex_latitude":"05a2db90","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330291456001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377801188965351424,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6980227554495373312,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786446463000,"timestamp_ms":1786446463000,"timestamp_seconds":1786446463,"priority":1,"record_length":96,"hex_timestamp":"0000019ff081c018"} 
[2026-08-11 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-08-11 16:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 16:40:25] 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-08-11 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-08-11 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-08-11 16:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:40:25] 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-08-11 16:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330291456001,"66":27865,"172":206,"83":17152,"24":32,"16":377801188965351424,"45":-6980227554495373312},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,83,24,16,45]} 
[2026-08-11 16:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330291456001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:40:25] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-11 16:40:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377801188965351424,"km_value":377801188965351.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6980227554495373312,"description":"Unknown IO ID 45"} 
[2026-08-11 16:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330291456001,"power":27865,"unknown_172":206,"unknown_83":17152,"ignition":32,"odometer":null,"unknown_45":-6980227554495373312}} 
[2026-08-11 16:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":155027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:40:25] local.INFO: GPS data processed {"connection_id":155027,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:40:25] local.INFO: Acknowledgment sent {"connection_id":155027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:40:27] local.INFO: TCP Data received {"connection_id":152693,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152693,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:40:27] local.INFO: Processing buffer {"connection_id":152693,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:40:27] local.INFO: IMEI packet received {"connection_id":152693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":152693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:40:27] local.INFO: TCP Data received {"connection_id":152693,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff083db28012d0ce400070755a8002700f51c..."} 
[2026-08-11 16:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff083db28012d0ce400070755a8002700f51c..."} 
[2026-08-11 16:40:27] local.INFO: Processing buffer {"connection_id":152693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff083db28012d0ce400070755a8002700f51c..."} 
[2026-08-11 16:40:27] local.INFO: Packet analysis {"connection_id":152693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:40:27] local.INFO: Extracted packet for processing {"connection_id":152693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:40:27] local.INFO: GPS Element Parsed {"raw_longitude":755819520,"raw_latitude":117921192,"longitude_deg":75.581952,"latitude_deg":11.7921192,"altitude":39,"angle":245,"satellites":28,"speed":15,"hex_longitude":"2d0ce400","hex_latitude":"070755a8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330329344001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27690697834364928,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":929852615751518208,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786446601000,"timestamp_ms":1786446601000,"timestamp_seconds":1786446601,"priority":1,"record_length":96,"hex_timestamp":"0000019ff083db28"} 
[2026-08-11 16:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:40: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-08-11 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 16:40:27] 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-08-11 16: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-08-11 16:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330329344001,"66":14407,"221":206,"94":10240,"24":15,"16":27690697834364928,"45":929852615751518208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 16:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330329344001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:40:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 16:40:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27690697834364928,"km_value":27690697834364.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":929852615751518208,"description":"Unknown IO ID 45"} 
[2026-08-11 16:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330329344001,"power":14407,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":929852615751518208}} 
[2026-08-11 16:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":152693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625892,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:40:28] local.INFO: GPS data processed {"connection_id":152693,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:40:28] local.INFO: Acknowledgment sent {"connection_id":152693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:40:31] local.INFO: TCP Data received {"connection_id":152693,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff083df10012d0ce30007075468002700e21b..."} 
[2026-08-11 16:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff083df10012d0ce30007075468002700e21b..."} 
[2026-08-11 16:40:31] local.INFO: Processing buffer {"connection_id":152693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff083df10012d0ce30007075468002700e21b..."} 
[2026-08-11 16:40:31] local.INFO: Packet analysis {"connection_id":152693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:40:31] local.INFO: Extracted packet for processing {"connection_id":152693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:40:31] local.INFO: GPS Element Parsed {"raw_longitude":755819264,"raw_latitude":117920872,"longitude_deg":75.5819264,"latitude_deg":11.7920872,"altitude":39,"angle":226,"satellites":27,"speed":17,"hex_longitude":"2d0ce300","hex_latitude":"07075468","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330329856001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27690719309201408,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928867453332989952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786446602000,"timestamp_ms":1786446602000,"timestamp_seconds":1786446602,"priority":1,"record_length":96,"hex_timestamp":"0000019ff083df10"} 
[2026-08-11 16:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:40: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-08-11 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 16:40:31] 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-08-11 16: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-08-11 16:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330329856001,"66":14461,"221":206,"94":10240,"24":17,"16":27690719309201408,"45":928867453332989952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 16:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330329856001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:40:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 16:40:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27690719309201408,"km_value":27690719309201.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":928867453332989952,"description":"Unknown IO ID 45"} 
[2026-08-11 16:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330329856001,"power":14461,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":928867453332989952}} 
[2026-08-11 16:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":152693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625893,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:40:31] local.INFO: GPS data processed {"connection_id":152693,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:40:31] local.INFO: Acknowledgment sent {"connection_id":152693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:40:46] local.INFO: TCP Data received {"connection_id":155026,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0804148012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0804148012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:40:46] local.INFO: Processing buffer {"connection_id":155026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0804148012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:40:46] local.INFO: Packet analysis {"connection_id":155026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff080"} 
[2026-08-11 16:40:46] local.INFO: Extracted packet for processing {"connection_id":155026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff080"} 
[2026-08-11 16:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:40: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-08-11 16:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330264064001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:46] 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-08-11 16:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786446365000,"timestamp_ms":1786446365000,"timestamp_seconds":1786446365,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0804148"} 
[2026-08-11 16:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:40:46] 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-08-11 16:40: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:40:46] 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-08-11 16:40: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-08-11 16:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":155026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":155026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":155026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330264064001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330264064001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:40:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330264064001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":155026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:40:46] local.INFO: GPS data processed {"connection_id":155026,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:40:46] local.INFO: Acknowledgment sent {"connection_id":155026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:40:47] local.INFO: TCP Data received {"connection_id":152323,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff082e510012d7b098005e312b8000001671e..."} 
[2026-08-11 16:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff082e510012d7b098005e312b8000001671e..."} 
[2026-08-11 16:40:47] local.INFO: Processing buffer {"connection_id":152323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff082e510012d7b098005e312b8000001671e..."} 
[2026-08-11 16:40:47] local.INFO: Packet analysis {"connection_id":152323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff082"} 
[2026-08-11 16:40:47] local.INFO: Extracted packet for processing {"connection_id":152323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff082"} 
[2026-08-11 16:40:47] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98767544,"longitude_deg":76.303808,"latitude_deg":9.8767544,"altitude":0,"angle":359,"satellites":30,"speed":6,"hex_longitude":"2d7b0980","hex_latitude":"05e312b8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330312960001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684122545029120,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366739914752,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786446538000,"timestamp_ms":1786446538000,"timestamp_seconds":1786446538,"priority":1,"record_length":96,"hex_timestamp":"0000019ff082e510"} 
[2026-08-11 16:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:40: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-08-11 16: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 16:40:47] 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-08-11 16: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-08-11 16:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330312960001,"66":12906,"97":206,"85":15104,"24":6,"16":117684122545029120,"45":8865617366739914752},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330312960001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:40:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:40:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684122545029120,"km_value":117684122545029.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366739914752,"description":"Unknown IO ID 45"} 
[2026-08-11 16:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330312960001,"power":12906,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8865617366739914752}} 
[2026-08-11 16:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":152323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:40:47] local.INFO: GPS data processed {"connection_id":152323,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:40:47] local.INFO: Acknowledgment sent {"connection_id":152323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:40:57] local.INFO: TCP Data received {"connection_id":155027,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0835a40012d9fe4c005a220580012009d2e..."} 
[2026-08-11 16:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0835a40012d9fe4c005a220580012009d2e..."} 
[2026-08-11 16:40:57] local.INFO: Processing buffer {"connection_id":155027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0835a40012d9fe4c005a220580012009d2e..."} 
[2026-08-11 16:40:57] local.INFO: Packet analysis {"connection_id":155027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:40:57] local.INFO: Extracted packet for processing {"connection_id":155027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:40:57] local.INFO: GPS Element Parsed {"raw_longitude":765453504,"raw_latitude":94511192,"longitude_deg":76.5453504,"latitude_deg":9.4511192,"altitude":18,"angle":157,"satellites":46,"speed":0,"hex_longitude":"2d9fe4c0","hex_latitude":"05a22058","is_valid_coordinates":true} 
[2026-08-11 16:40: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-08-11 16:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330316032001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377804298521673728,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6925199196561582080,"note":"Value kept but may cause issues"} 
[2026-08-11 16:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786446568000,"timestamp_ms":1786446568000,"timestamp_seconds":1786446568,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0835a40"} 
[2026-08-11 16:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:40: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":26,"data_length":795,"current_offset":136} 
[2026-08-11 16:40:57] 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-08-11 16:40: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-08-11 16:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":155027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":155027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":155027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:40:57] 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-08-11 16:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330316032001,"66":27865,"124":206,"83":17152,"24":0,"16":377804298521673728,"45":-6925199196561582080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,83,24,16,45]} 
[2026-08-11 16:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330316032001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:40:57] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-11 16:40:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377804298521673728,"km_value":377804298521673.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6925199196561582080,"description":"Unknown IO ID 45"} 
[2026-08-11 16:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330316032001,"power":27865,"unknown_124":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6925199196561582080}} 
[2026-08-11 16:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":155027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:40:57] local.INFO: GPS data processed {"connection_id":155027,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:40:57] local.INFO: Acknowledgment sent {"connection_id":155027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:41:02] local.INFO: TCP Data received {"connection_id":152693,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff083e2f8012d0ce200070752b8002700d31c..."} 
[2026-08-11 16:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff083e2f8012d0ce200070752b8002700d31c..."} 
[2026-08-11 16:41:02] local.INFO: Processing buffer {"connection_id":152693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff083e2f8012d0ce200070752b8002700d31c..."} 
[2026-08-11 16:41:02] local.INFO: Packet analysis {"connection_id":152693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:41:02] local.INFO: Extracted packet for processing {"connection_id":152693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:41:02] local.INFO: GPS Element Parsed {"raw_longitude":755819008,"raw_latitude":117920440,"longitude_deg":75.5819008,"latitude_deg":11.792044,"altitude":39,"angle":211,"satellites":28,"speed":18,"hex_longitude":"2d0ce200","hex_latitude":"070752b8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330330112001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27690745079005184,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928585978356197376,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786446603000,"timestamp_ms":1786446603000,"timestamp_seconds":1786446603,"priority":1,"record_length":96,"hex_timestamp":"0000019ff083e2f8"} 
[2026-08-11 16:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:41:02] 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-08-11 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 16:41:02] 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-08-11 16: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-08-11 16:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":152693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":152693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":152693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330330112001,"66":14461,"221":206,"94":10240,"24":18,"16":27690745079005184,"45":928585978356197376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 16:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330330112001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:41:02] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 16:41:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27690745079005184,"km_value":27690745079005.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":928585978356197376,"description":"Unknown IO ID 45"} 
[2026-08-11 16:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330330112001,"power":14461,"unknown_221":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":928585978356197376}} 
[2026-08-11 16:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":152693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625897,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:41:02] local.INFO: GPS data processed {"connection_id":152693,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:41:02] local.INFO: Acknowledgment sent {"connection_id":152693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:41:13] local.INFO: TCP Data received {"connection_id":155028,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:41:13] local.INFO: Processing buffer {"connection_id":155028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:41:13] local.INFO: IMEI packet received {"connection_id":155028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":155028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:41:15] local.INFO: TCP Data received {"connection_id":155029,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:41:15] local.INFO: Processing buffer {"connection_id":155029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:41:15] local.INFO: IMEI packet received {"connection_id":155029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":155029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:41:16] local.INFO: TCP Data received {"connection_id":155029,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:41:16] local.INFO: Processing buffer {"connection_id":155029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:41:16] local.INFO: IMEI packet received {"connection_id":155029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":155029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:41:16] local.INFO: TCP Data received {"connection_id":155029,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff083c7a0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff083c7a0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:41:16] local.INFO: Processing buffer {"connection_id":155029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff083c7a0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:41:16] local.INFO: Packet analysis {"connection_id":155029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:41:16] local.INFO: Extracted packet for processing {"connection_id":155029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:41:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330323200001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:16] 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-08-11 16:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786446596000,"timestamp_ms":1786446596000,"timestamp_seconds":1786446596,"priority":1,"record_length":96,"hex_timestamp":"0000019ff083c7a0"} 
[2026-08-11 16:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:41: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-08-11 16: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-11 16:41:16] 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-08-11 16: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-08-11 16:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330323200001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330323200001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:41:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:41:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330323200001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":155029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:41:17] local.INFO: GPS data processed {"connection_id":155029,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:41:17] local.INFO: Acknowledgment sent {"connection_id":155029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:41:18] local.INFO: TCP Data received {"connection_id":155028,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:41:18] local.INFO: Processing buffer {"connection_id":155028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:41:18] local.INFO: IMEI packet received {"connection_id":155028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":155028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:41:19] local.INFO: TCP Data received {"connection_id":155028,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08317d8012d7b05c005e335d0000001641c..."} 
[2026-08-11 16:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08317d8012d7b05c005e335d0000001641c..."} 
[2026-08-11 16:41:19] local.INFO: Processing buffer {"connection_id":155028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08317d8012d7b05c005e335d0000001641c..."} 
[2026-08-11 16:41:19] local.INFO: Packet analysis {"connection_id":155028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:41:19] local.INFO: Extracted packet for processing {"connection_id":155028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:41:19] local.INFO: GPS Element Parsed {"raw_longitude":763037120,"raw_latitude":98776528,"longitude_deg":76.303712,"latitude_deg":9.8776528,"altitude":0,"angle":356,"satellites":28,"speed":30,"hex_longitude":"2d7b05c0","hex_latitude":"05e335d0","is_valid_coordinates":true} 
[2026-08-11 16:41: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-08-11 16:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330313728001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684564926660608,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104228378624,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786446551000,"timestamp_ms":1786446551000,"timestamp_seconds":1786446551,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08317d8"} 
[2026-08-11 16:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:41:19] 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-08-11 16:41: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-11 16:41:19] 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-08-11 16:41: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-08-11 16:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":155028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":155028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":155028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330313728001,"66":12798,"97":206,"85":15104,"24":30,"16":117684564926660608,"45":8865758104228378624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330313728001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:41:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:41:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684564926660608,"km_value":117684564926660.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104228378624,"description":"Unknown IO ID 45"} 
[2026-08-11 16:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330313728001,"power":12798,"unknown_97":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8865758104228378624}} 
[2026-08-11 16:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":155028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:41:19] local.INFO: GPS data processed {"connection_id":155028,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:41:19] local.INFO: Acknowledgment sent {"connection_id":155028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:41:20] local.INFO: TCP Data received {"connection_id":155029,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08419a8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08419a8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:41:20] local.INFO: Processing buffer {"connection_id":155029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08419a8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:41:20] local.INFO: Packet analysis {"connection_id":155029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:41:20] local.INFO: Extracted packet for processing {"connection_id":155029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:41:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:41: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-08-11 16:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330328576001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:20] 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-08-11 16:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786446617000,"timestamp_ms":1786446617000,"timestamp_seconds":1786446617,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08419a8"} 
[2026-08-11 16:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:41: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-08-11 16:41: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:41:20] 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-08-11 16:41: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-08-11 16:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":155029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":155029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":155029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330328576001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330328576001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:41:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:41:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330328576001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":155029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:41:21] local.INFO: GPS data processed {"connection_id":155029,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:41:21] local.INFO: Acknowledgment sent {"connection_id":155029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:41:22] local.INFO: TCP Data received {"connection_id":152325,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:41:22] local.INFO: Processing buffer {"connection_id":152325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:41:22] local.INFO: IMEI packet received {"connection_id":152325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":152325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:41:24] local.INFO: TCP Data received {"connection_id":152324,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:41:24] local.INFO: TCP Data received {"connection_id":155028,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0832778012d7b04c005e33fe8000001511a..."} 
[2026-08-11 16:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:41:24] local.INFO: Processing buffer {"connection_id":152324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:41:24] local.INFO: IMEI packet received {"connection_id":152324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":152324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0832778012d7b04c005e33fe8000001511a..."} 
[2026-08-11 16:41:24] local.INFO: Processing buffer {"connection_id":155028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0832778012d7b04c005e33fe8000001511a..."} 
[2026-08-11 16:41:24] local.INFO: Packet analysis {"connection_id":155028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:41:24] local.INFO: Extracted packet for processing {"connection_id":155028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98779112,"longitude_deg":76.3036864,"latitude_deg":9.8779112,"altitude":0,"angle":337,"satellites":26,"speed":14,"hex_longitude":"2d7b04c0","hex_latitude":"05e33fe8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330317056001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684689480712192,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864702573068013568,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786446555000,"timestamp_ms":1786446555000,"timestamp_seconds":1786446555,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0832778"} 
[2026-08-11 16:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:41: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-08-11 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 16:41:24] 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-08-11 16: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-08-11 16:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330317056001,"66":13048,"97":206,"85":15104,"24":14,"16":117684689480712192,"45":8864702573068013568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330317056001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:41:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:41:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684689480712192,"km_value":117684689480712.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864702573068013568,"description":"Unknown IO ID 45"} 
[2026-08-11 16:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330317056001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8864702573068013568}} 
[2026-08-11 16:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":155028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:41:24] local.INFO: GPS data processed {"connection_id":155028,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:41:24] local.INFO: Acknowledgment sent {"connection_id":155028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:41:27] local.INFO: TCP Data received {"connection_id":152325,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:41:27] local.INFO: Processing buffer {"connection_id":152325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:41:27] local.INFO: IMEI packet received {"connection_id":152325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":152325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:41:28] local.INFO: TCP Data received {"connection_id":152325,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff083eeb0012d0cdf0007074e78002600e61c..."} 
[2026-08-11 16:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff083eeb0012d0cdf0007074e78002600e61c..."} 
[2026-08-11 16:41:28] local.INFO: Processing buffer {"connection_id":152325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff083eeb0012d0cdf0007074e78002600e61c..."} 
[2026-08-11 16:41:28] local.INFO: Packet analysis {"connection_id":152325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:41:28] local.INFO: Extracted packet for processing {"connection_id":152325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:41:28] local.INFO: GPS Element Parsed {"raw_longitude":755818240,"raw_latitude":117919352,"longitude_deg":75.581824,"latitude_deg":11.7919352,"altitude":38,"angle":230,"satellites":28,"speed":17,"hex_longitude":"2d0cdf00","hex_latitude":"07074e78","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330330368001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27690809503514624,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928304503379376128,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786446606000,"timestamp_ms":1786446606000,"timestamp_seconds":1786446606,"priority":1,"record_length":96,"hex_timestamp":"0000019ff083eeb0"} 
[2026-08-11 16:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:41: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-08-11 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 16:41:28] 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-08-11 16: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-08-11 16:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330330368001,"66":14396,"221":206,"94":10240,"24":17,"16":27690809503514624,"45":928304503379376128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 16:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330330368001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:41:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 16:41:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27690809503514624,"km_value":27690809503514.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":928304503379376128,"description":"Unknown IO ID 45"} 
[2026-08-11 16:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330330368001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":928304503379376128}} 
[2026-08-11 16:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":152325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625902,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:41:28] local.INFO: GPS data processed {"connection_id":152325,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:41:28] local.INFO: Acknowledgment sent {"connection_id":152325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:41:30] local.INFO: TCP Data received {"connection_id":152324,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:41:30] local.INFO: Processing buffer {"connection_id":152324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:41:30] local.INFO: IMEI packet received {"connection_id":152324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":152324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:41:32] local.INFO: TCP Data received {"connection_id":152324,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff083ac48012d9fe4c005a220580012009d2e..."} 
[2026-08-11 16:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff083ac48012d9fe4c005a220580012009d2e..."} 
[2026-08-11 16:41:32] local.INFO: Processing buffer {"connection_id":152324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff083ac48012d9fe4c005a220580012009d2e..."} 
[2026-08-11 16:41:32] local.INFO: Packet analysis {"connection_id":152324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:41:32] local.INFO: Extracted packet for processing {"connection_id":152324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:41:32] local.INFO: GPS Element Parsed {"raw_longitude":765453504,"raw_latitude":94511192,"longitude_deg":76.5453504,"latitude_deg":9.4511192,"altitude":18,"angle":157,"satellites":46,"speed":0,"hex_longitude":"2d9fe4c0","hex_latitude":"05a22058","is_valid_coordinates":true} 
[2026-08-11 16:41: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-08-11 16:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330321408001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377804298521673728,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6925199196561582080,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786446589000,"timestamp_ms":1786446589000,"timestamp_seconds":1786446589,"priority":1,"record_length":96,"hex_timestamp":"0000019ff083ac48"} 
[2026-08-11 16:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:41: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 16:41:32] 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-08-11 16:41: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-08-11 16:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:41:32] 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-08-11 16:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330321408001,"66":27930,"124":206,"83":17152,"24":0,"16":377804298521673728,"45":-6925199196561582080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,83,24,16,45]} 
[2026-08-11 16:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330321408001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:41:32] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-11 16:41:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377804298521673728,"km_value":377804298521673.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6925199196561582080,"description":"Unknown IO ID 45"} 
[2026-08-11 16:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330321408001,"power":27930,"unknown_124":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6925199196561582080}} 
[2026-08-11 16:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":152324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:41:32] local.INFO: GPS data processed {"connection_id":152324,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:41:32] local.INFO: Acknowledgment sent {"connection_id":152324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:41:33] local.INFO: TCP Data received {"connection_id":152324,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff083fe50012d9fe4c005a220580012009d2d..."} 
[2026-08-11 16:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff083fe50012d9fe4c005a220580012009d2d..."} 
[2026-08-11 16:41:33] local.INFO: Processing buffer {"connection_id":152324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff083fe50012d9fe4c005a220580012009d2d..."} 
[2026-08-11 16:41:33] local.INFO: Packet analysis {"connection_id":152324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:41:33] local.INFO: Extracted packet for processing {"connection_id":152324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:41:33] local.INFO: GPS Element Parsed {"raw_longitude":765453504,"raw_latitude":94511192,"longitude_deg":76.5453504,"latitude_deg":9.4511192,"altitude":18,"angle":157,"satellites":45,"speed":0,"hex_longitude":"2d9fe4c0","hex_latitude":"05a22058","is_valid_coordinates":true} 
[2026-08-11 16:41: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-08-11 16:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330326784001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377804298521673728,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6925199196561582080,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786446610000,"timestamp_ms":1786446610000,"timestamp_seconds":1786446610,"priority":1,"record_length":96,"hex_timestamp":"0000019ff083fe50"} 
[2026-08-11 16:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:41: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":26,"data_length":795,"current_offset":136} 
[2026-08-11 16:41:33] 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-08-11 16:41: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-08-11 16:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:41:33] 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-08-11 16:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330326784001,"66":27843,"124":206,"83":17152,"24":0,"16":377804298521673728,"45":-6925199196561582080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,83,24,16,45]} 
[2026-08-11 16:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330326784001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:41:33] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-11 16:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377804298521673728,"km_value":377804298521673.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6925199196561582080,"description":"Unknown IO ID 45"} 
[2026-08-11 16:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330326784001,"power":27843,"unknown_124":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6925199196561582080}} 
[2026-08-11 16:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":152324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:41:33] local.INFO: GPS data processed {"connection_id":152324,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:41:33] local.INFO: Acknowledgment sent {"connection_id":152324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:41:52] local.INFO: TCP Data received {"connection_id":155029,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0846bb0012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0846bb0012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:41:52] local.INFO: Processing buffer {"connection_id":155029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0846bb0012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:41:52] local.INFO: Packet analysis {"connection_id":155029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:41:52] local.INFO: Extracted packet for processing {"connection_id":155029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:41:52] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330333952001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41: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-08-11 16:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786446638000,"timestamp_ms":1786446638000,"timestamp_seconds":1786446638,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0846bb0"} 
[2026-08-11 16:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:41: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-08-11 16: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-08-11 16:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":155029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":155029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":155029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330333952001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330333952001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:41:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:41:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330333952001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":155029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:41:52] local.INFO: GPS data processed {"connection_id":155029,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:41:52] local.INFO: Acknowledgment sent {"connection_id":155029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:41:59] local.INFO: TCP Data received {"connection_id":152325,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff083f298012d0cdd4007074df8002600fb1c..."} 
[2026-08-11 16:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff083f298012d0cdd4007074df8002600fb1c..."} 
[2026-08-11 16:41:59] local.INFO: Processing buffer {"connection_id":152325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff083f298012d0cdd4007074df8002600fb1c..."} 
[2026-08-11 16:41:59] local.INFO: Packet analysis {"connection_id":152325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:41:59] local.INFO: Extracted packet for processing {"connection_id":152325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:41:59] local.INFO: GPS Element Parsed {"raw_longitude":755817792,"raw_latitude":117919224,"longitude_deg":75.5817792,"latitude_deg":11.7919224,"altitude":38,"angle":251,"satellites":28,"speed":15,"hex_longitude":"2d0cdd40","hex_latitude":"07074df8","is_valid_coordinates":true} 
[2026-08-11 16:41: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-08-11 16:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330331136001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27690830978351104,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927460078448965632,"note":"Value kept but may cause issues"} 
[2026-08-11 16:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786446607000,"timestamp_ms":1786446607000,"timestamp_seconds":1786446607,"priority":1,"record_length":96,"hex_timestamp":"0000019ff083f298"} 
[2026-08-11 16:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:41: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-08-11 16:41: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-08-11 16:41: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-08-11 16:41: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-08-11 16:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330331136001,"66":14396,"221":206,"94":10240,"24":15,"16":27690830978351104,"45":927460078448965632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 16:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330331136001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:41:59] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 16:41:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27690830978351104,"km_value":27690830978351.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":927460078448965632,"description":"Unknown IO ID 45"} 
[2026-08-11 16:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330331136001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":927460078448965632}} 
[2026-08-11 16:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":152325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625906,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:41:59] local.INFO: GPS data processed {"connection_id":152325,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:41:59] local.INFO: Acknowledgment sent {"connection_id":152325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:42:04] local.INFO: TCP Data received {"connection_id":152324,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0845058012d9fe4c005a220580012009d2d..."} 
[2026-08-11 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0845058012d9fe4c005a220580012009d2d..."} 
[2026-08-11 16:42:04] local.INFO: Processing buffer {"connection_id":152324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0845058012d9fe4c005a220580012009d2d..."} 
[2026-08-11 16:42:04] local.INFO: Packet analysis {"connection_id":152324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:42:04] local.INFO: Extracted packet for processing {"connection_id":152324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:42:04] local.INFO: GPS Element Parsed {"raw_longitude":765453504,"raw_latitude":94511192,"longitude_deg":76.5453504,"latitude_deg":9.4511192,"altitude":18,"angle":157,"satellites":45,"speed":0,"hex_longitude":"2d9fe4c0","hex_latitude":"05a22058","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330332160001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377804298521673728,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6925199196561582080,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786446631000,"timestamp_ms":1786446631000,"timestamp_seconds":1786446631,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0845058"} 
[2026-08-11 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-08-11 16:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 16:42: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-08-11 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-08-11 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-08-11 16:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:42: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-08-11 16:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330332160001,"66":27919,"124":206,"83":17152,"24":0,"16":377804298521673728,"45":-6925199196561582080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,83,24,16,45]} 
[2026-08-11 16:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330332160001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:42:04] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-11 16:42:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377804298521673728,"km_value":377804298521673.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6925199196561582080,"description":"Unknown IO ID 45"} 
[2026-08-11 16:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330332160001,"power":27919,"unknown_124":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6925199196561582080}} 
[2026-08-11 16:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":152324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:42:04] local.INFO: GPS data processed {"connection_id":152324,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:42:04] local.INFO: Acknowledgment sent {"connection_id":152324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:42:08] local.INFO: TCP Data received {"connection_id":153633,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:42:08] local.INFO: Processing buffer {"connection_id":153633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:42:08] local.INFO: IMEI packet received {"connection_id":153633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":153633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:42:10] local.INFO: TCP Data received {"connection_id":155030,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:42:10] local.INFO: Processing buffer {"connection_id":155030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:42:10] local.INFO: IMEI packet received {"connection_id":155030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":155030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:42:13] local.INFO: TCP Data received {"connection_id":153633,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:42:13] local.INFO: Processing buffer {"connection_id":153633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:42:13] local.INFO: IMEI packet received {"connection_id":153633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":153633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:42:15] local.INFO: TCP Data received {"connection_id":155030,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:42:15] local.INFO: Processing buffer {"connection_id":155030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:42:15] local.INFO: IMEI packet received {"connection_id":155030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":155030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:42:16] local.INFO: TCP Data received {"connection_id":155030,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff084bdb8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff084bdb8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:42:16] local.INFO: Processing buffer {"connection_id":155030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff084bdb8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:42:16] local.INFO: Packet analysis {"connection_id":155030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:42:16] local.INFO: Extracted packet for processing {"connection_id":155030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:42:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330339328001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:16] 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-08-11 16:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786446659000,"timestamp_ms":1786446659000,"timestamp_seconds":1786446659,"priority":1,"record_length":96,"hex_timestamp":"0000019ff084bdb8"} 
[2026-08-11 16:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:42: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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:42:16] 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-08-11 16: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-08-11 16:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330339328001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330339328001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:42:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:42:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330339328001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:42:16] local.INFO: TCP Data received {"connection_id":152694,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:42:16] local.INFO: Processing buffer {"connection_id":152694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:42:16] local.INFO: IMEI packet received {"connection_id":152694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":152694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":155030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:42:16] local.INFO: GPS data processed {"connection_id":155030,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:42:16] local.INFO: Acknowledgment sent {"connection_id":155030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:42:19] local.INFO: TCP Data received {"connection_id":152694,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:42:19] local.INFO: Processing buffer {"connection_id":152694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:42:19] local.INFO: IMEI packet received {"connection_id":152694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":152694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:42:22] local.INFO: TCP Data received {"connection_id":155031,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155031,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:42:22] local.INFO: Processing buffer {"connection_id":155031,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:42:22] local.INFO: IMEI packet received {"connection_id":155031,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":155031,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:42:24] local.INFO: TCP Data received {"connection_id":152694,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:42:24] local.INFO: Processing buffer {"connection_id":152694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:42:24] local.INFO: IMEI packet received {"connection_id":152694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":152694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:42:25] local.INFO: TCP Data received {"connection_id":152694,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff084a260012d9fe58005a21e800013009d2e..."} 
[2026-08-11 16:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff084a260012d9fe58005a21e800013009d2e..."} 
[2026-08-11 16:42:25] local.INFO: Processing buffer {"connection_id":152694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff084a260012d9fe58005a21e800013009d2e..."} 
[2026-08-11 16:42:25] local.INFO: Packet analysis {"connection_id":152694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:42:25] local.INFO: Extracted packet for processing {"connection_id":152694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:42:25] local.INFO: GPS Element Parsed {"raw_longitude":765453696,"raw_latitude":94510720,"longitude_deg":76.5453696,"latitude_deg":9.451072,"altitude":19,"angle":157,"satellites":46,"speed":0,"hex_longitude":"2d9fe580","hex_latitude":"05a21e80","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330337536001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377804328586444800,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6925199196561582080,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786446652000,"timestamp_ms":1786446652000,"timestamp_seconds":1786446652,"priority":1,"record_length":96,"hex_timestamp":"0000019ff084a260"} 
[2026-08-11 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-08-11 16:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 16:42:25] 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-08-11 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-08-11 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-08-11 16:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:42:25] 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-08-11 16:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330337536001,"66":27908,"124":206,"83":17152,"24":0,"16":377804328586444800,"45":-6925199196561582080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,83,24,16,45]} 
[2026-08-11 16:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330337536001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:42:25] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-11 16:42:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377804328586444800,"km_value":377804328586444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6925199196561582080,"description":"Unknown IO ID 45"} 
[2026-08-11 16:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330337536001,"power":27908,"unknown_124":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6925199196561582080}} 
[2026-08-11 16:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":152694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:42:25] local.INFO: GPS data processed {"connection_id":152694,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:42:25] local.INFO: Acknowledgment sent {"connection_id":152694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:42:27] local.INFO: TCP Data received {"connection_id":155031,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155031,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:42:27] local.INFO: Processing buffer {"connection_id":155031,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:42:27] local.INFO: IMEI packet received {"connection_id":155031,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":155031,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:42:27] local.INFO: TCP Data received {"connection_id":155031,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff085cf28012d0caa8007076220001d016021..."} 
[2026-08-11 16:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff085cf28012d0caa8007076220001d016021..."} 
[2026-08-11 16:42:27] local.INFO: Processing buffer {"connection_id":155031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff085cf28012d0caa8007076220001d016021..."} 
[2026-08-11 16:42:27] local.INFO: Packet analysis {"connection_id":155031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:42:27] local.INFO: Extracted packet for processing {"connection_id":155031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:42:27] local.INFO: GPS Element Parsed {"raw_longitude":755804800,"raw_latitude":117924384,"longitude_deg":75.58048,"latitude_deg":11.7924384,"altitude":29,"angle":352,"satellites":33,"speed":3,"hex_longitude":"2d0caa80","hex_latitude":"07076220","is_valid_coordinates":true} 
[2026-08-11 16:42: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-08-11 16:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330362624001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27691505288216576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912682642172944384,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786446729000,"timestamp_ms":1786446729000,"timestamp_seconds":1786446729,"priority":1,"record_length":96,"hex_timestamp":"0000019ff085cf28"} 
[2026-08-11 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-08-11 16:42:27] 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-08-11 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 16:42:27] 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-08-11 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-08-11 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-08-11 16:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":155031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":155031,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":155031,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330362624001,"66":14515,"221":206,"94":10240,"24":3,"16":27691505288216576,"45":912682642172944384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 16:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330362624001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:42:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 16:42:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27691505288216576,"km_value":27691505288216.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":912682642172944384,"description":"Unknown IO ID 45"} 
[2026-08-11 16:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330362624001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":912682642172944384}} 
[2026-08-11 16:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":155031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625910,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:42:28] local.INFO: GPS data processed {"connection_id":155031,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:42:28] local.INFO: Acknowledgment sent {"connection_id":155031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:42:35] local.INFO: TCP Data received {"connection_id":153633,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0832b60012d7b044005e34138000001421c..."} 
[2026-08-11 16:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0832b60012d7b044005e34138000001421c..."} 
[2026-08-11 16:42:35] local.INFO: Processing buffer {"connection_id":153633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0832b60012d7b044005e34138000001421c..."} 
[2026-08-11 16:42:35] local.INFO: Packet analysis {"connection_id":153633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:42:35] local.INFO: Extracted packet for processing {"connection_id":153633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:42:35] local.INFO: GPS Element Parsed {"raw_longitude":763036736,"raw_latitude":98779448,"longitude_deg":76.3036736,"latitude_deg":9.8779448,"altitude":0,"angle":322,"satellites":28,"speed":10,"hex_longitude":"2d7b0440","hex_latitude":"05e34138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330318080001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684706660581376,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098091964416,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786446556000,"timestamp_ms":1786446556000,"timestamp_seconds":1786446556,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0832b60"} 
[2026-08-11 16:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:42:35] 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-08-11 16: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 16:42:35] 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-08-11 16: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-08-11 16:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":153633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":153633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":153633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330318080001,"66":12950,"97":206,"85":15104,"24":10,"16":117684706660581376,"45":8864421098091964416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330318080001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:42:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684706660581376,"km_value":117684706660581.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098091964416,"description":"Unknown IO ID 45"} 
[2026-08-11 16:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330318080001,"power":12950,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8864421098091964416}} 
[2026-08-11 16:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":153633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:42:36] local.INFO: GPS data processed {"connection_id":153633,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:42:36] local.INFO: Acknowledgment sent {"connection_id":153633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:42:47] local.INFO: TCP Data received {"connection_id":155030,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0850fc0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0850fc0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:42:47] local.INFO: Processing buffer {"connection_id":155030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0850fc0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:42:47] local.INFO: Packet analysis {"connection_id":155030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:42:47] local.INFO: Extracted packet for processing {"connection_id":155030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:42:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330344704001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:47] 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-08-11 16:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786446680000,"timestamp_ms":1786446680000,"timestamp_seconds":1786446680,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0850fc0"} 
[2026-08-11 16:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:42: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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:42:47] 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-08-11 16: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-08-11 16:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330344704001,"66":12428,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330344704001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:42:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:42:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330344704001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":155030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:42:47] local.INFO: GPS data processed {"connection_id":155030,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:42:47] local.INFO: Acknowledgment sent {"connection_id":155030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:42:56] local.INFO: TCP Data received {"connection_id":152694,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff084f468012d9fe58005a21e800013009d2e..."} 
[2026-08-11 16:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff084f468012d9fe58005a21e800013009d2e..."} 
[2026-08-11 16:42:56] local.INFO: Processing buffer {"connection_id":152694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff084f468012d9fe58005a21e800013009d2e..."} 
[2026-08-11 16:42:56] local.INFO: Packet analysis {"connection_id":152694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:42:56] local.INFO: Extracted packet for processing {"connection_id":152694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:42:56] local.INFO: GPS Element Parsed {"raw_longitude":765453696,"raw_latitude":94510720,"longitude_deg":76.5453696,"latitude_deg":9.451072,"altitude":19,"angle":157,"satellites":46,"speed":0,"hex_longitude":"2d9fe580","hex_latitude":"05a21e80","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330342912001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377804328586444800,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6924988090329169920,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786446673000,"timestamp_ms":1786446673000,"timestamp_seconds":1786446673,"priority":1,"record_length":96,"hex_timestamp":"0000019ff084f468"} 
[2026-08-11 16:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 16:42:56] 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-08-11 16: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-08-11 16:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:42:56] 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-08-11 16:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330342912001,"66":27930,"124":206,"83":17152,"24":0,"16":377804328586444800,"45":-6924988090329169920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,83,24,16,45]} 
[2026-08-11 16:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330342912001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:42:56] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-11 16:42:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377804328586444800,"km_value":377804328586444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6924988090329169920,"description":"Unknown IO ID 45"} 
[2026-08-11 16:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330342912001,"power":27930,"unknown_124":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-6924988090329169920}} 
[2026-08-11 16:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":152694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:42:56] local.INFO: GPS data processed {"connection_id":152694,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:42:56] local.INFO: Acknowledgment sent {"connection_id":152694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:42:59] local.INFO: TCP Data received {"connection_id":155031,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff085d310012d0caa8007076248001d015421..."} 
[2026-08-11 16:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff085d310012d0caa8007076248001d015421..."} 
[2026-08-11 16:42:59] local.INFO: Processing buffer {"connection_id":155031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff085d310012d0caa8007076248001d015421..."} 
[2026-08-11 16:42:59] local.INFO: Packet analysis {"connection_id":155031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:42:59] local.INFO: Extracted packet for processing {"connection_id":155031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:42:59] local.INFO: GPS Element Parsed {"raw_longitude":755804800,"raw_latitude":117924424,"longitude_deg":75.58048,"latitude_deg":11.7924424,"altitude":29,"angle":340,"satellites":33,"speed":2,"hex_longitude":"2d0caa80","hex_latitude":"07076248","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330362624001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27691505288216576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912682642172944384,"note":"Value kept but may cause issues"} 
[2026-08-11 16:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786446730000,"timestamp_ms":1786446730000,"timestamp_seconds":1786446730,"priority":1,"record_length":96,"hex_timestamp":"0000019ff085d310"} 
[2026-08-11 16:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:42:59] 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-08-11 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 16:42:59] 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-08-11 16: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-08-11 16:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":155031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":155031,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":155031,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330362624001,"66":14515,"221":206,"94":10240,"24":2,"16":27691505288216576,"45":912682642172944384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 16:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330362624001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:42:59] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 16:42:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27691505288216576,"km_value":27691505288216.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":912682642172944384,"description":"Unknown IO ID 45"} 
[2026-08-11 16:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330362624001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":912682642172944384}} 
[2026-08-11 16:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":155031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625914,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:42:59] local.INFO: GPS data processed {"connection_id":155031,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:42:59] local.INFO: Acknowledgment sent {"connection_id":155031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:43:08] local.INFO: TCP Data received {"connection_id":153634,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:43:08] local.INFO: Processing buffer {"connection_id":153634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:43:08] local.INFO: IMEI packet received {"connection_id":153634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":153634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:43:10] local.INFO: TCP Data received {"connection_id":152326,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:43:10] local.INFO: Processing buffer {"connection_id":152326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:43:10] local.INFO: IMEI packet received {"connection_id":152326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":152326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:43:13] local.INFO: TCP Data received {"connection_id":153634,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:43:13] local.INFO: Processing buffer {"connection_id":153634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:43:13] local.INFO: IMEI packet received {"connection_id":153634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":153634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:43:14] local.INFO: TCP Data received {"connection_id":153634,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0832f48012d7b034005e342180000012c1e..."} 
[2026-08-11 16:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0832f48012d7b034005e342180000012c1e..."} 
[2026-08-11 16:43:14] local.INFO: Processing buffer {"connection_id":153634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0832f48012d7b034005e342180000012c1e..."} 
[2026-08-11 16:43:14] local.INFO: Packet analysis {"connection_id":153634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:43:14] local.INFO: Extracted packet for processing {"connection_id":153634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:43:14] local.INFO: GPS Element Parsed {"raw_longitude":763036480,"raw_latitude":98779672,"longitude_deg":76.303648,"latitude_deg":9.8779672,"altitude":0,"angle":300,"satellites":30,"speed":8,"hex_longitude":"2d7b0340","hex_latitude":"05e34218","is_valid_coordinates":true} 
[2026-08-11 16:43: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-08-11 16:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330318336001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684723840450560,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864280360603695104,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786446557000,"timestamp_ms":1786446557000,"timestamp_seconds":1786446557,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0832f48"} 
[2026-08-11 16:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:43:14] 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-08-11 16:43: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 16:43:14] 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-08-11 16:43: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-08-11 16:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:43:14] 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-08-11 16:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330318336001,"66":12950,"97":206,"85":15104,"24":8,"16":117684723840450560,"45":8864280360603695104},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330318336001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:43:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:43:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684723840450560,"km_value":117684723840450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864280360603695104,"description":"Unknown IO ID 45"} 
[2026-08-11 16:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330318336001,"power":12950,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8864280360603695104}} 
[2026-08-11 16:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":153634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:43:14] local.INFO: GPS data processed {"connection_id":153634,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:43:14] local.INFO: Acknowledgment sent {"connection_id":153634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:43:15] local.INFO: TCP Data received {"connection_id":152326,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:43:15] local.INFO: Processing buffer {"connection_id":152326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:43:15] local.INFO: IMEI packet received {"connection_id":152326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":152326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:43:16] local.INFO: TCP Data received {"connection_id":152326,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08561c8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08561c8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:43:16] local.INFO: Processing buffer {"connection_id":152326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08561c8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:43:16] local.INFO: Packet analysis {"connection_id":152326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:43:16] local.INFO: Extracted packet for processing {"connection_id":152326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:43:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330350080001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:16] 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-08-11 16:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786446701000,"timestamp_ms":1786446701000,"timestamp_seconds":1786446701,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08561c8"} 
[2026-08-11 16:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:43: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-08-11 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 16:43:16] 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-08-11 16: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-08-11 16:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330350080001,"66":12428,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330350080001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:43:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:43:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330350080001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":152326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:43:16] local.INFO: GPS data processed {"connection_id":152326,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:43:16] local.INFO: Acknowledgment sent {"connection_id":152326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:43:17] local.INFO: TCP Data received {"connection_id":155032,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:43:17] local.INFO: Processing buffer {"connection_id":155032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:43:17] local.INFO: IMEI packet received {"connection_id":155032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":155032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:43:19] local.INFO: TCP Data received {"connection_id":155032,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:43:19] local.INFO: Processing buffer {"connection_id":155032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:43:19] local.INFO: IMEI packet received {"connection_id":155032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":155032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:43:22] local.INFO: TCP Data received {"connection_id":153635,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:43:22] local.INFO: Processing buffer {"connection_id":153635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:43:22] local.INFO: IMEI packet received {"connection_id":153635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":153635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:43:24] local.INFO: TCP Data received {"connection_id":155032,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:43:24] local.INFO: Processing buffer {"connection_id":155032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:43:24] local.INFO: IMEI packet received {"connection_id":155032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":155032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:43:26] local.INFO: TCP Data received {"connection_id":155032,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0854670012d9fea0005a21660001200932d..."} 
[2026-08-11 16:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0854670012d9fea0005a21660001200932d..."} 
[2026-08-11 16:43:26] local.INFO: Processing buffer {"connection_id":155032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0854670012d9fea0005a21660001200932d..."} 
[2026-08-11 16:43:26] local.INFO: Packet analysis {"connection_id":155032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:43:26] local.INFO: Extracted packet for processing {"connection_id":155032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:43:26] local.INFO: GPS Element Parsed {"raw_longitude":765454848,"raw_latitude":94508640,"longitude_deg":76.5454848,"latitude_deg":9.450864,"altitude":18,"angle":147,"satellites":45,"speed":18,"hex_longitude":"2d9fea00","hex_latitude":"05a21660","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330348288001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377804444550561792,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6924988090329169920,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786446694000,"timestamp_ms":1786446694000,"timestamp_seconds":1786446694,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0854670"} 
[2026-08-11 16:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 16:43:26] 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-08-11 16: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-08-11 16:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":155032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":155032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":155032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:43:26] 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-08-11 16:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330348288001,"66":27919,"81":206,"83":17152,"24":18,"16":377804444550561792,"45":-6924988090329169920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,83,24,16,45]} 
[2026-08-11 16:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330348288001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:43:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-11 16:43:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377804444550561792,"km_value":377804444550561.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6924988090329169920,"description":"Unknown IO ID 45"} 
[2026-08-11 16:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330348288001,"power":27919,"unknown_81":206,"unknown_83":17152,"ignition":18,"odometer":null,"unknown_45":-6924988090329169920}} 
[2026-08-11 16:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":155032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:43:26] local.INFO: GPS data processed {"connection_id":155032,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:43:26] local.INFO: Acknowledgment sent {"connection_id":155032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:43:27] local.INFO: TCP Data received {"connection_id":153635,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:43:27] local.INFO: Processing buffer {"connection_id":153635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:43:27] local.INFO: IMEI packet received {"connection_id":153635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":153635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:43:27] local.INFO: TCP Data received {"connection_id":153635,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff085d6f8012d0caa8007076250001d014621..."} 
[2026-08-11 16:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff085d6f8012d0caa8007076250001d014621..."} 
[2026-08-11 16:43:27] local.INFO: Processing buffer {"connection_id":153635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff085d6f8012d0caa8007076250001d014621..."} 
[2026-08-11 16:43:27] local.INFO: Packet analysis {"connection_id":153635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:43:27] local.INFO: Extracted packet for processing {"connection_id":153635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:43:27] local.INFO: GPS Element Parsed {"raw_longitude":755804800,"raw_latitude":117924432,"longitude_deg":75.58048,"latitude_deg":11.7924432,"altitude":29,"angle":326,"satellites":33,"speed":0,"hex_longitude":"2d0caa80","hex_latitude":"07076250","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330362880001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27691505288216576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912682642172954624,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786446731000,"timestamp_ms":1786446731000,"timestamp_seconds":1786446731,"priority":1,"record_length":96,"hex_timestamp":"0000019ff085d6f8"} 
[2026-08-11 16:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:43:27] 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-08-11 16: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":179,"data_length":795,"current_offset":136} 
[2026-08-11 16:43:27] 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-08-11 16: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-08-11 16:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330362880001,"66":14515,"221":206,"94":10240,"24":0,"16":27691505288216576,"45":912682642172954624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 16:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330362880001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:43:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 16:43:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27691505288216576,"km_value":27691505288216.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":912682642172954624,"description":"Unknown IO ID 45"} 
[2026-08-11 16:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330362880001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":912682642172954624}} 
[2026-08-11 16:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":153635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625918,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:43:28] local.INFO: GPS data processed {"connection_id":153635,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:43:28] local.INFO: Acknowledgment sent {"connection_id":153635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:43:46] local.INFO: TCP Data received {"connection_id":153634,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0838150012d7b018005e347680002012c28..."} 
[2026-08-11 16:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0838150012d7b018005e347680002012c28..."} 
[2026-08-11 16:43:46] local.INFO: Processing buffer {"connection_id":153634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0838150012d7b018005e347680002012c28..."} 
[2026-08-11 16:43:46] local.INFO: Packet analysis {"connection_id":153634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:43:46] local.INFO: Extracted packet for processing {"connection_id":153634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:43:46] local.INFO: GPS Element Parsed {"raw_longitude":763036032,"raw_latitude":98781032,"longitude_deg":76.3036032,"latitude_deg":9.8781032,"altitude":2,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7b0180","hex_latitude":"05e34768","is_valid_coordinates":true} 
[2026-08-11 16:43: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-08-11 16:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330318592001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863998885627041792,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786446578000,"timestamp_ms":1786446578000,"timestamp_seconds":1786446578,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0838150"} 
[2026-08-11 16:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:43:46] 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-08-11 16:43: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 16:43:46] 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-08-11 16:43: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-08-11 16:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:43:46] 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-08-11 16:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330318592001,"66":13319,"97":206,"85":15104,"24":0,"16":117684796854894592,"45":8863998885627041792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330318592001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:43:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:43:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863998885627041792,"description":"Unknown IO ID 45"} 
[2026-08-11 16:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330318592001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863998885627041792}} 
[2026-08-11 16:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":153634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:43:46] local.INFO: GPS data processed {"connection_id":153634,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:43:46] local.INFO: Acknowledgment sent {"connection_id":153634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:43:47] local.INFO: TCP Data received {"connection_id":152326,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff085b3d0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff085b3d0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:43:47] local.INFO: Processing buffer {"connection_id":152326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff085b3d0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:43:47] local.INFO: Packet analysis {"connection_id":152326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:43:47] local.INFO: Extracted packet for processing {"connection_id":152326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:43: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-08-11 16:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330355456001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:47] 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-08-11 16:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786446722000,"timestamp_ms":1786446722000,"timestamp_seconds":1786446722,"priority":1,"record_length":96,"hex_timestamp":"0000019ff085b3d0"} 
[2026-08-11 16:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:43: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-08-11 16:43: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 16:43:47] 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-08-11 16:43: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-08-11 16:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330355456001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330355456001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:43:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330355456001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":152326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:43:47] local.INFO: GPS data processed {"connection_id":152326,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:43:47] local.INFO: Acknowledgment sent {"connection_id":152326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:43:57] local.INFO: TCP Data received {"connection_id":155032,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0864458012da094c005a14d58000e00a02e..."} 
[2026-08-11 16:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0864458012da094c005a14d58000e00a02e..."} 
[2026-08-11 16:43:57] local.INFO: Processing buffer {"connection_id":155032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0864458012da094c005a14d58000e00a02e..."} 
[2026-08-11 16:43:57] local.INFO: Packet analysis {"connection_id":155032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff086"} 
[2026-08-11 16:43:57] local.INFO: Extracted packet for processing {"connection_id":155032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff086"} 
[2026-08-11 16:43:57] local.INFO: GPS Element Parsed {"raw_longitude":765498560,"raw_latitude":94457176,"longitude_deg":76.549856,"latitude_deg":9.4457176,"altitude":14,"angle":160,"satellites":46,"speed":36,"hex_longitude":"2da094c0","hex_latitude":"05a14d58","is_valid_coordinates":true} 
[2026-08-11 16:43: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-08-11 16:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330369024001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377807777445183488,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6878333612951967744,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786446759000,"timestamp_ms":1786446759000,"timestamp_seconds":1786446759,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0864458"} 
[2026-08-11 16:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:43: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":26,"data_length":795,"current_offset":136} 
[2026-08-11 16:43:57] 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-08-11 16:43: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-08-11 16:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":155032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":155032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":155032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:43:57] 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-08-11 16:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330369024001,"66":27908,"166":206,"83":17152,"24":36,"16":377807777445183488,"45":-6878333612951967744},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,83,24,16,45]} 
[2026-08-11 16:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330369024001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:43:57] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-11 16:43:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377807777445183488,"km_value":377807777445183.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6878333612951967744,"description":"Unknown IO ID 45"} 
[2026-08-11 16:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330369024001,"power":27908,"unknown_166":206,"unknown_83":17152,"ignition":36,"odometer":null,"unknown_45":-6878333612951967744}} 
[2026-08-11 16:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":155032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:43:57] local.INFO: GPS data processed {"connection_id":155032,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:43:57] local.INFO: Acknowledgment sent {"connection_id":155032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:43:58] local.INFO: TCP Data received {"connection_id":153635,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08726e8012d0cac0007076238001d014624..."} 
[2026-08-11 16:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08726e8012d0cac0007076238001d014624..."} 
[2026-08-11 16:43:58] local.INFO: Processing buffer {"connection_id":153635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08726e8012d0cac0007076238001d014624..."} 
[2026-08-11 16:43:58] local.INFO: Packet analysis {"connection_id":153635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff087"} 
[2026-08-11 16:43:58] local.INFO: Extracted packet for processing {"connection_id":153635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff087"} 
[2026-08-11 16:43:58] local.INFO: GPS Element Parsed {"raw_longitude":755805184,"raw_latitude":117924408,"longitude_deg":75.5805184,"latitude_deg":11.7924408,"altitude":29,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d0cac00","hex_latitude":"07076238","is_valid_coordinates":true} 
[2026-08-11 16:43:58] 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-08-11 16:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330363136001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27691505288216576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912682642172956672,"note":"Value kept but may cause issues"} 
[2026-08-11 16:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786446817000,"timestamp_ms":1786446817000,"timestamp_seconds":1786446817,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08726e8"} 
[2026-08-11 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-08-11 16:43:58] 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-08-11 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 16:43:58] 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-08-11 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-08-11 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-08-11 16:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":153635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":153635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":153635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330363136001,"66":13004,"221":206,"94":10240,"24":0,"16":27691505288216576,"45":912682642172956672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 16:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330363136001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:43:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 16:43:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27691505288216576,"km_value":27691505288216.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":912682642172956672,"description":"Unknown IO ID 45"} 
[2026-08-11 16:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330363136001,"power":13004,"unknown_221":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":912682642172956672}} 
[2026-08-11 16:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":153635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625922,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:43:58] local.INFO: GPS data processed {"connection_id":153635,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:43:58] local.INFO: Acknowledgment sent {"connection_id":153635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:44:09] local.INFO: TCP Data received {"connection_id":153636,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:44:09] local.INFO: Processing buffer {"connection_id":153636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:44:09] local.INFO: IMEI packet received {"connection_id":153636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":153636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:44:10] local.INFO: TCP Data received {"connection_id":153637,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:44:10] local.INFO: Processing buffer {"connection_id":153637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:44:10] local.INFO: IMEI packet received {"connection_id":153637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":153637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:44:13] local.INFO: TCP Data received {"connection_id":153636,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:44:13] local.INFO: Processing buffer {"connection_id":153636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:44:13] local.INFO: IMEI packet received {"connection_id":153636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":153636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:44:14] local.INFO: TCP Data received {"connection_id":153636,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff083d358012d7b018005e347680002012c27..."} 
[2026-08-11 16:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff083d358012d7b018005e347680002012c27..."} 
[2026-08-11 16:44:14] local.INFO: Processing buffer {"connection_id":153636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff083d358012d7b018005e347680002012c27..."} 
[2026-08-11 16:44:14] local.INFO: Packet analysis {"connection_id":153636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:44:14] local.INFO: Extracted packet for processing {"connection_id":153636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff083"} 
[2026-08-11 16:44:14] local.INFO: GPS Element Parsed {"raw_longitude":763036032,"raw_latitude":98781032,"longitude_deg":76.3036032,"latitude_deg":9.8781032,"altitude":2,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7b0180","hex_latitude":"05e34768","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330323968001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863506304418146304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786446599000,"timestamp_ms":1786446599000,"timestamp_seconds":1786446599,"priority":1,"record_length":96,"hex_timestamp":"0000019ff083d358"} 
[2026-08-11 16:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:44:14] 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-08-11 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 16:44:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:14] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4035107160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2199377921,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:14] local.WARNING: Large IO value detected {"io_id":227,"raw_value":1186698501834744064,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-11 16:44:14] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2147869458,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3809546240,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:14] local.WARNING: Large IO value detected {"io_id":139,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:14] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-4755799911653867515,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:14] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,97,85,24,241,157,16,25,159,47,45,64,66,30,10,43,65,28,39,192,1,240,248,227,4,113,205,229,9,184,239,50,2,162,5,3,139,130],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-11 16:44:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144445213362880512,"timestamp_seconds":144445213362880.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330323968001,"66":13428,"97":206,"85":15104,"24":0,"16":117684796854894592,"45":8863506304418146304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330323968001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:44:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:44:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863506304418146304,"description":"Unknown IO ID 45"} 
[2026-08-11 16:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330323968001,"power":13428,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863506304418146304}} 
[2026-08-11 16:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":153636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:44:14] local.INFO: GPS data processed {"connection_id":153636,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:44:14] local.INFO: Acknowledgment sent {"connection_id":153636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:44:16] local.INFO: TCP Data received {"connection_id":153637,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:44:16] local.INFO: Processing buffer {"connection_id":153637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:44:16] local.INFO: IMEI packet received {"connection_id":153637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":153637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:44:16] local.INFO: TCP Data received {"connection_id":153637,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08605d8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08605d8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:44:16] local.INFO: Processing buffer {"connection_id":153637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08605d8012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:44:16] local.INFO: Packet analysis {"connection_id":153637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff086"} 
[2026-08-11 16:44:16] local.INFO: Extracted packet for processing {"connection_id":153637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff086"} 
[2026-08-11 16:44:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330360832001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:16] 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-08-11 16:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786446743000,"timestamp_ms":1786446743000,"timestamp_seconds":1786446743,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08605d8"} 
[2026-08-11 16:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:44: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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:44:16] 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-08-11 16: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-08-11 16:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330360832001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330360832001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:44:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:44:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330360832001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":153637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:44:16] local.INFO: GPS data processed {"connection_id":153637,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:44:16] local.INFO: Acknowledgment sent {"connection_id":153637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:44:19] local.INFO: TCP Data received {"connection_id":152327,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:44:19] local.INFO: Processing buffer {"connection_id":152327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:44:19] local.INFO: IMEI packet received {"connection_id":152327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":152327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:44:19] local.INFO: TCP Data received {"connection_id":152327,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:44:19] local.INFO: Processing buffer {"connection_id":152327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:44:19] local.INFO: IMEI packet received {"connection_id":152327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":152327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:44:20] local.INFO: TCP Data received {"connection_id":155033,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155033,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:44:20] local.INFO: Processing buffer {"connection_id":155033,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:44:20] local.INFO: IMEI packet received {"connection_id":155033,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":155033,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:44:21] local.INFO: TCP Data received {"connection_id":152327,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:44:21] local.INFO: Processing buffer {"connection_id":152327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:44:21] local.INFO: IMEI packet received {"connection_id":152327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":152327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:44:21] local.INFO: TCP Data received {"connection_id":155033,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155033,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:44:21] local.INFO: Processing buffer {"connection_id":155033,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:44:21] local.INFO: IMEI packet received {"connection_id":155033,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":155033,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:44:24] local.INFO: TCP Data received {"connection_id":152327,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0869660012da0990005a13ca8001000a22e..."} 
[2026-08-11 16:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0869660012da0990005a13ca8001000a22e..."} 
[2026-08-11 16:44:24] local.INFO: Processing buffer {"connection_id":152327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0869660012da0990005a13ca8001000a22e..."} 
[2026-08-11 16:44:24] local.INFO: Packet analysis {"connection_id":152327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff086"} 
[2026-08-11 16:44:24] local.INFO: Extracted packet for processing {"connection_id":152327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff086"} 
[2026-08-11 16:44:24] local.INFO: GPS Element Parsed {"raw_longitude":765499648,"raw_latitude":94452904,"longitude_deg":76.5499648,"latitude_deg":9.4452904,"altitude":16,"angle":162,"satellites":46,"speed":4,"hex_longitude":"2da09900","hex_latitude":"05a13ca8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330370304001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377807992193548288,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6875659600674334720,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786446780000,"timestamp_ms":1786446780000,"timestamp_seconds":1786446780,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0869660"} 
[2026-08-11 16:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 16:44:24] 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-08-11 16: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-08-11 16:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:44:24] 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-08-11 16:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330370304001,"66":27919,"166":206,"83":17152,"24":4,"16":377807992193548288,"45":-6875659600674334720},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,83,24,16,45]} 
[2026-08-11 16:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330370304001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:44:24] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-11 16:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377807992193548288,"km_value":377807992193548.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6875659600674334720,"description":"Unknown IO ID 45"} 
[2026-08-11 16:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330370304001,"power":27919,"unknown_166":206,"unknown_83":17152,"ignition":4,"odometer":null,"unknown_45":-6875659600674334720}} 
[2026-08-11 16:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":152327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:44:24] local.INFO: GPS data processed {"connection_id":152327,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:44:24] local.INFO: Acknowledgment sent {"connection_id":152327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:44:27] local.INFO: TCP Data received {"connection_id":155033,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155033,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:44:27] local.INFO: Processing buffer {"connection_id":155033,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:44:27] local.INFO: IMEI packet received {"connection_id":155033,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":155033,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:44:28] local.INFO: TCP Data received {"connection_id":155033,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08726e8012d0cac0007076238001d014624..."} 
[2026-08-11 16:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08726e8012d0cac0007076238001d014624..."} 
[2026-08-11 16:44:28] local.INFO: Processing buffer {"connection_id":155033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08726e8012d0cac0007076238001d014624..."} 
[2026-08-11 16:44:28] local.INFO: Packet analysis {"connection_id":155033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff087"} 
[2026-08-11 16:44:28] local.INFO: Extracted packet for processing {"connection_id":155033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff087"} 
[2026-08-11 16:44:28] local.INFO: GPS Element Parsed {"raw_longitude":755805184,"raw_latitude":117924408,"longitude_deg":75.5805184,"latitude_deg":11.7924408,"altitude":29,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d0cac00","hex_latitude":"07076238","is_valid_coordinates":true} 
[2026-08-11 16:44: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-08-11 16:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330385152001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27691505288216576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913104854638016512,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786446817000,"timestamp_ms":1786446817000,"timestamp_seconds":1786446817,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08726e8"} 
[2026-08-11 16:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:44: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-08-11 16: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-11 16:44: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-08-11 16: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-08-11 16:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":155033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":155033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":155033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330385152001,"66":13004,"221":206,"94":10240,"24":0,"16":27691505288216576,"45":913104854638016512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 16:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330385152001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:44:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 16:44:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27691505288216576,"km_value":27691505288216.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":913104854638016512,"description":"Unknown IO ID 45"} 
[2026-08-11 16:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330385152001,"power":13004,"unknown_221":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":913104854638016512}} 
[2026-08-11 16:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":155033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625926,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:44:28] local.INFO: GPS data processed {"connection_id":155033,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:44:28] local.INFO: Acknowledgment sent {"connection_id":155033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:44:45] local.INFO: TCP Data received {"connection_id":153636,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0842560012d7b018005e347680002012c27..."} 
[2026-08-11 16:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0842560012d7b018005e347680002012c27..."} 
[2026-08-11 16:44:45] local.INFO: Processing buffer {"connection_id":153636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0842560012d7b018005e347680002012c27..."} 
[2026-08-11 16:44:45] local.INFO: Packet analysis {"connection_id":153636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:44:45] local.INFO: Extracted packet for processing {"connection_id":153636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:44:45] local.INFO: GPS Element Parsed {"raw_longitude":763036032,"raw_latitude":98781032,"longitude_deg":76.3036032,"latitude_deg":9.8781032,"altitude":2,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7b0180","hex_latitude":"05e34768","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330329344001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863506304418146304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786446620000,"timestamp_ms":1786446620000,"timestamp_seconds":1786446620,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0842560"} 
[2026-08-11 16:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:44:45] 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-08-11 16: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 16:44:45] 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-08-11 16: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-08-11 16:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330329344001,"66":13363,"97":206,"85":15104,"24":0,"16":117684796854894592,"45":8863506304418146304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330329344001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:44:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:44:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863506304418146304,"description":"Unknown IO ID 45"} 
[2026-08-11 16:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330329344001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863506304418146304}} 
[2026-08-11 16:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":153636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:44:46] local.INFO: GPS data processed {"connection_id":153636,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:44:46] local.INFO: Acknowledgment sent {"connection_id":153636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:44:47] local.INFO: TCP Data received {"connection_id":153637,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08657e0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08657e0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:44:47] local.INFO: Processing buffer {"connection_id":153637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08657e0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:44:47] local.INFO: Packet analysis {"connection_id":153637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff086"} 
[2026-08-11 16:44:47] local.INFO: Extracted packet for processing {"connection_id":153637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff086"} 
[2026-08-11 16:44:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:44: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-08-11 16:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330366208001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:47] 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-08-11 16:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786446764000,"timestamp_ms":1786446764000,"timestamp_seconds":1786446764,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08657e0"} 
[2026-08-11 16:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:44: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-08-11 16:44: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:44:47] 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-08-11 16:44: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-08-11 16:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330366208001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330366208001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:44:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:44:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330366208001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":153637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:44:47] local.INFO: GPS data processed {"connection_id":153637,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:44:47] local.INFO: Acknowledgment sent {"connection_id":153637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:44:58] local.INFO: TCP Data received {"connection_id":155033,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0883470012d0c7cc0070777180019011e23..."} 
[2026-08-11 16:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0883470012d0c7cc0070777180019011e23..."} 
[2026-08-11 16:44:58] local.INFO: Processing buffer {"connection_id":155033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0883470012d0c7cc0070777180019011e23..."} 
[2026-08-11 16:44:58] local.INFO: Packet analysis {"connection_id":155033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:44:58] local.INFO: Extracted packet for processing {"connection_id":155033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:44:58] local.INFO: GPS Element Parsed {"raw_longitude":755793088,"raw_latitude":117929752,"longitude_deg":75.5793088,"latitude_deg":11.7929752,"altitude":25,"angle":286,"satellites":35,"speed":17,"hex_longitude":"2d0c7cc0","hex_latitude":"07077718","is_valid_coordinates":true} 
[2026-08-11 16:44: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-08-11 16:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330402560001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27692355691741184,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900297743199010816,"note":"Value kept but may cause issues"} 
[2026-08-11 16:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786446886000,"timestamp_ms":1786446886000,"timestamp_seconds":1786446886,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0883470"} 
[2026-08-11 16:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:44:58] 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-08-11 16:44: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-08-11 16:44: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-08-11 16:44: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-08-11 16:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":155033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":155033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":155033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330402560001,"66":14515,"221":206,"94":10240,"24":17,"16":27692355691741184,"45":900297743199010816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 16:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330402560001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:44:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 16:44:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27692355691741184,"km_value":27692355691741.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":900297743199010816,"description":"Unknown IO ID 45"} 
[2026-08-11 16:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330402560001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":900297743199010816}} 
[2026-08-11 16:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":155033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625929,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:44:59] local.INFO: GPS data processed {"connection_id":155033,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:44:59] local.INFO: Acknowledgment sent {"connection_id":155033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:45:00] local.INFO: TCP Data received {"connection_id":152327,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff086dcb0012da0a38005a11980001200a12e..."} 
[2026-08-11 16:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff086dcb0012da0a38005a11980001200a12e..."} 
[2026-08-11 16:45:00] local.INFO: Processing buffer {"connection_id":152327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff086dcb0012da0a38005a11980001200a12e..."} 
[2026-08-11 16:45:00] local.INFO: Packet analysis {"connection_id":152327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff086"} 
[2026-08-11 16:45:00] local.INFO: Extracted packet for processing {"connection_id":152327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff086"} 
[2026-08-11 16:45:00] local.INFO: GPS Element Parsed {"raw_longitude":765502336,"raw_latitude":94443904,"longitude_deg":76.5502336,"latitude_deg":9.4443904,"altitude":18,"angle":161,"satellites":46,"speed":32,"hex_longitude":"2da0a380","hex_latitude":"05a11980","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330375680001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377808451755048960,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6874463332024408064,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786446798000,"timestamp_ms":1786446798000,"timestamp_seconds":1786446798,"priority":1,"record_length":96,"hex_timestamp":"0000019ff086dcb0"} 
[2026-08-11 16:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 16:45: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-08-11 16: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-08-11 16:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:45:00] 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-08-11 16:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330375680001,"66":27930,"167":206,"83":17152,"24":32,"16":377808451755048960,"45":-6874463332024408064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,45]} 
[2026-08-11 16:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330375680001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:45:00] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 16:45:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377808451755048960,"km_value":377808451755048.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6874463332024408064,"description":"Unknown IO ID 45"} 
[2026-08-11 16:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330375680001,"power":27930,"unknown_167":206,"unknown_83":17152,"ignition":32,"odometer":null,"unknown_45":-6874463332024408064}} 
[2026-08-11 16:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":152327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:45:00] local.INFO: GPS data processed {"connection_id":152327,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:45:00] local.INFO: Acknowledgment sent {"connection_id":152327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:45:08] local.INFO: TCP Data received {"connection_id":152695,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:45:08] local.INFO: Processing buffer {"connection_id":152695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:45:08] local.INFO: IMEI packet received {"connection_id":152695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":152695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:45:10] local.INFO: TCP Data received {"connection_id":155034,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:45:10] local.INFO: Processing buffer {"connection_id":155034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:45:10] local.INFO: IMEI packet received {"connection_id":155034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":155034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:45:13] local.INFO: TCP Data received {"connection_id":152695,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:45:13] local.INFO: Processing buffer {"connection_id":152695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:45:13] local.INFO: IMEI packet received {"connection_id":152695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":152695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:45:14] local.INFO: TCP Data received {"connection_id":152695,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0847768012d7b018005e347680002012c27..."} 
[2026-08-11 16:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0847768012d7b018005e347680002012c27..."} 
[2026-08-11 16:45:14] local.INFO: Processing buffer {"connection_id":152695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0847768012d7b018005e347680002012c27..."} 
[2026-08-11 16:45:14] local.INFO: Packet analysis {"connection_id":152695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:45:14] local.INFO: Extracted packet for processing {"connection_id":152695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:45:14] local.INFO: GPS Element Parsed {"raw_longitude":763036032,"raw_latitude":98781032,"longitude_deg":76.3036032,"latitude_deg":9.8781032,"altitude":2,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7b0180","hex_latitude":"05e34768","is_valid_coordinates":true} 
[2026-08-11 16:45: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-08-11 16:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330334720001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863506304418146304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786446641000,"timestamp_ms":1786446641000,"timestamp_seconds":1786446641,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0847768"} 
[2026-08-11 16:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:45:14] 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-08-11 16:45: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":51,"data_length":795,"current_offset":136} 
[2026-08-11 16:45:14] 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-08-11 16:45: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-08-11 16:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330334720001,"66":13319,"97":206,"85":15104,"24":0,"16":117684796854894592,"45":8863506304418146304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330334720001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:45:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:45:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863506304418146304,"description":"Unknown IO ID 45"} 
[2026-08-11 16:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330334720001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863506304418146304}} 
[2026-08-11 16:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":152695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:45:14] local.INFO: GPS data processed {"connection_id":152695,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:45:14] local.INFO: Acknowledgment sent {"connection_id":152695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:45:15] local.INFO: TCP Data received {"connection_id":155034,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:45:15] local.INFO: Processing buffer {"connection_id":155034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:45:15] local.INFO: IMEI packet received {"connection_id":155034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":155034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:45:16] local.INFO: TCP Data received {"connection_id":155034,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff086a9e8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff086a9e8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:45:16] local.INFO: Processing buffer {"connection_id":155034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff086a9e8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:45:16] local.INFO: Packet analysis {"connection_id":155034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff086"} 
[2026-08-11 16:45:16] local.INFO: Extracted packet for processing {"connection_id":155034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff086"} 
[2026-08-11 16:45:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330371584001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:16] 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-08-11 16:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786446785000,"timestamp_ms":1786446785000,"timestamp_seconds":1786446785,"priority":1,"record_length":96,"hex_timestamp":"0000019ff086a9e8"} 
[2026-08-11 16:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:45: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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:45:16] 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-08-11 16: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-08-11 16:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330371584001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330371584001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:45:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:45:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330371584001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":155034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:45:16] local.INFO: GPS data processed {"connection_id":155034,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:45:16] local.INFO: Acknowledgment sent {"connection_id":155034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:45:18] local.INFO: TCP Data received {"connection_id":153638,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:45:18] local.INFO: Processing buffer {"connection_id":153638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:45:18] local.INFO: IMEI packet received {"connection_id":153638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":153638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:45:19] local.INFO: TCP Data received {"connection_id":153638,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:45:19] local.INFO: Processing buffer {"connection_id":153638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:45:19] local.INFO: IMEI packet received {"connection_id":153638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":153638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:45:21] local.INFO: TCP Data received {"connection_id":153639,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153639,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:45:21] local.INFO: Processing buffer {"connection_id":153639,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:45:21] local.INFO: IMEI packet received {"connection_id":153639,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":153639,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:45:24] local.INFO: TCP Data received {"connection_id":153638,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:45:24] local.INFO: Processing buffer {"connection_id":153638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:45:24] local.INFO: IMEI packet received {"connection_id":153638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":153638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:45:26] local.INFO: TCP Data received {"connection_id":153638,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff087da98012da09e0005a019d8000800da2d..."} 
[2026-08-11 16:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff087da98012da09e0005a019d8000800da2d..."} 
[2026-08-11 16:45:26] local.INFO: Processing buffer {"connection_id":153638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff087da98012da09e0005a019d8000800da2d..."} 
[2026-08-11 16:45:26] local.INFO: Packet analysis {"connection_id":153638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff087"} 
[2026-08-11 16:45:26] local.INFO: Extracted packet for processing {"connection_id":153638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff087"} 
[2026-08-11 16:45:26] local.INFO: GPS Element Parsed {"raw_longitude":765500928,"raw_latitude":94378456,"longitude_deg":76.5500928,"latitude_deg":9.4378456,"altitude":8,"angle":218,"satellites":45,"speed":48,"hex_longitude":"2da09e00","hex_latitude":"05a019d8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330395392001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377811926383591424,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6868763463763517440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786446863000,"timestamp_ms":1786446863000,"timestamp_seconds":1786446863,"priority":1,"record_length":96,"hex_timestamp":"0000019ff087da98"} 
[2026-08-11 16:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 16:45:26] 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-08-11 16: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-08-11 16:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:45:26] 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-08-11 16:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330395392001,"66":27821,"51":206,"83":17152,"24":48,"16":377811926383591424,"45":-6868763463763517440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,83,24,16,45]} 
[2026-08-11 16:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330395392001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:45:26] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-11 16:45:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377811926383591424,"km_value":377811926383591.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6868763463763517440,"description":"Unknown IO ID 45"} 
[2026-08-11 16:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330395392001,"power":27821,"unknown_51":206,"unknown_83":17152,"ignition":48,"odometer":null,"unknown_45":-6868763463763517440}} 
[2026-08-11 16:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":153638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:45:26] local.INFO: GPS data processed {"connection_id":153638,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:45:26] local.INFO: Acknowledgment sent {"connection_id":153638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:45:27] local.INFO: TCP Data received {"connection_id":153639,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153639,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:45:27] local.INFO: Processing buffer {"connection_id":153639,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:45:27] local.INFO: IMEI packet received {"connection_id":153639,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":153639,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:45:28] local.INFO: TCP Data received {"connection_id":153639,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0883c40012d0c7840070777800018010f23..."} 
[2026-08-11 16:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0883c40012d0c7840070777800018010f23..."} 
[2026-08-11 16:45:28] local.INFO: Processing buffer {"connection_id":153639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0883c40012d0c7840070777800018010f23..."} 
[2026-08-11 16:45:28] local.INFO: Packet analysis {"connection_id":153639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:45:28] local.INFO: Extracted packet for processing {"connection_id":153639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:45:28] local.INFO: GPS Element Parsed {"raw_longitude":755791936,"raw_latitude":117929856,"longitude_deg":75.5791936,"latitude_deg":11.7929856,"altitude":24,"angle":271,"satellites":35,"speed":23,"hex_longitude":"2d0c7840","hex_latitude":"07077780","is_valid_coordinates":true} 
[2026-08-11 16:45: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-08-11 16:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330402816001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27692411526316032,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":899805161989806080,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786446888000,"timestamp_ms":1786446888000,"timestamp_seconds":1786446888,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0883c40"} 
[2026-08-11 16:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:45: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-08-11 16:45: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-08-11 16:45: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-08-11 16:45: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-08-11 16:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153639,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153639,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330402816001,"66":14439,"221":206,"94":10240,"24":23,"16":27692411526316032,"45":899805161989806080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 16:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330402816001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:45:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 16:45:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27692411526316032,"km_value":27692411526316.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":899805161989806080,"description":"Unknown IO ID 45"} 
[2026-08-11 16:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330402816001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":899805161989806080}} 
[2026-08-11 16:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":153639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625934,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:45:29] local.INFO: GPS data processed {"connection_id":153639,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:45:29] local.INFO: Acknowledgment sent {"connection_id":153639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:45:46] local.INFO: TCP Data received {"connection_id":152695,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff084c970012d7b018005e347680002012c27..."} 
[2026-08-11 16:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff084c970012d7b018005e347680002012c27..."} 
[2026-08-11 16:45:46] local.INFO: Processing buffer {"connection_id":152695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff084c970012d7b018005e347680002012c27..."} 
[2026-08-11 16:45:46] local.INFO: Packet analysis {"connection_id":152695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:45:46] local.INFO: Extracted packet for processing {"connection_id":152695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff084"} 
[2026-08-11 16:45:46] local.INFO: GPS Element Parsed {"raw_longitude":763036032,"raw_latitude":98781032,"longitude_deg":76.3036032,"latitude_deg":9.8781032,"altitude":2,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7b0180","hex_latitude":"05e34768","is_valid_coordinates":true} 
[2026-08-11 16:45: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-08-11 16:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330340096001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863506304418146304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786446662000,"timestamp_ms":1786446662000,"timestamp_seconds":1786446662,"priority":1,"record_length":96,"hex_timestamp":"0000019ff084c970"} 
[2026-08-11 16:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:45:46] 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-08-11 16:45: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":7,"data_length":795,"current_offset":136} 
[2026-08-11 16:45:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:46] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4035127160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2200913921,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3877599279189335040,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-11 16:45:46] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516635046,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812616192,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:46] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:46] local.WARNING: Large IO value detected {"io_id":131,"raw_value":1718124552690974725,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:46] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,97,85,24,241,157,16,25,159,37,45,128,71,2,39,10,66,211,129,1,240,7,227,4,113,205,8,43,56,28,239,50,162,5,14,248,131],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-11 16:45:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144445209067913216,"timestamp_seconds":144445209067913.22,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330340096001,"66":13319,"97":206,"85":15104,"24":0,"16":117684796854894592,"45":8863506304418146304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330340096001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:45:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:45:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863506304418146304,"description":"Unknown IO ID 45"} 
[2026-08-11 16:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330340096001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863506304418146304}} 
[2026-08-11 16:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":152695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:45:46] local.INFO: GPS data processed {"connection_id":152695,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:45:46] local.INFO: Acknowledgment sent {"connection_id":152695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:45:47] local.INFO: TCP Data received {"connection_id":155034,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff086fbf0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff086fbf0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:45:47] local.INFO: Processing buffer {"connection_id":155034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff086fbf0012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:45:47] local.INFO: Packet analysis {"connection_id":155034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff086"} 
[2026-08-11 16:45:47] local.INFO: Extracted packet for processing {"connection_id":155034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff086"} 
[2026-08-11 16:45:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:45: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-08-11 16:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330376960001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:47] 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-08-11 16:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786446806000,"timestamp_ms":1786446806000,"timestamp_seconds":1786446806,"priority":1,"record_length":96,"hex_timestamp":"0000019ff086fbf0"} 
[2026-08-11 16:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:45: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-08-11 16:45: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:45:47] 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-08-11 16:45: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-08-11 16:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330376960001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330376960001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:45:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:45:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330376960001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":155034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:45:47] local.INFO: GPS data processed {"connection_id":155034,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:45:47] local.INFO: Acknowledgment sent {"connection_id":155034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:45:56] local.INFO: TCP Data received {"connection_id":153638,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff087f9d8012da08980059ffc00000700d02e..."} 
[2026-08-11 16:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff087f9d8012da08980059ffc00000700d02e..."} 
[2026-08-11 16:45:56] local.INFO: Processing buffer {"connection_id":153638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff087f9d8012da08980059ffc00000700d02e..."} 
[2026-08-11 16:45:56] local.INFO: Packet analysis {"connection_id":153638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff087"} 
[2026-08-11 16:45:56] local.INFO: Extracted packet for processing {"connection_id":153638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff087"} 
[2026-08-11 16:45:56] local.INFO: GPS Element Parsed {"raw_longitude":765495680,"raw_latitude":94370816,"longitude_deg":76.549568,"latitude_deg":9.4370816,"altitude":7,"angle":208,"satellites":46,"speed":45,"hex_longitude":"2da08980","hex_latitude":"059ffc00","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330396928001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377812377355157504,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6873055957159913472,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786446871000,"timestamp_ms":1786446871000,"timestamp_seconds":1786446871,"priority":1,"record_length":96,"hex_timestamp":"0000019ff087f9d8"} 
[2026-08-11 16:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:45:56] 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-08-11 16: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-08-11 16:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:45:56] 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-08-11 16:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330396928001,"66":27876,"51":206,"83":17152,"24":45,"16":377812377355157504,"45":-6873055957159913472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,83,24,16,45]} 
[2026-08-11 16:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330396928001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:45:56] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-11 16:45:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377812377355157504,"km_value":377812377355157.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6873055957159913472,"description":"Unknown IO ID 45"} 
[2026-08-11 16:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330396928001,"power":27876,"unknown_51":206,"unknown_83":17152,"ignition":45,"odometer":null,"unknown_45":-6873055957159913472}} 
[2026-08-11 16:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":153638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:45:56] local.INFO: GPS data processed {"connection_id":153638,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:45:56] local.INFO: Acknowledgment sent {"connection_id":153638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:45:59] local.INFO: TCP Data received {"connection_id":153639,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0885b80012d0c6bc0070776d00016010023..."} 
[2026-08-11 16:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0885b80012d0c6bc0070776d00016010023..."} 
[2026-08-11 16:45:59] local.INFO: Processing buffer {"connection_id":153639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0885b80012d0c6bc0070776d00016010023..."} 
[2026-08-11 16:45:59] local.INFO: Packet analysis {"connection_id":153639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:45:59] local.INFO: Extracted packet for processing {"connection_id":153639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:45:59] local.INFO: GPS Element Parsed {"raw_longitude":755788736,"raw_latitude":117929680,"longitude_deg":75.5788736,"latitude_deg":11.792968,"altitude":22,"angle":256,"satellites":35,"speed":19,"hex_longitude":"2d0c6bc0","hex_latitude":"070776d0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330403328001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27692561850171392,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":898538524594634752,"note":"Value kept but may cause issues"} 
[2026-08-11 16:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786446896000,"timestamp_ms":1786446896000,"timestamp_seconds":1786446896,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0885b80"} 
[2026-08-11 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-08-11 16:45: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-08-11 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 16:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 16:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153639,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153639,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330403328001,"66":14396,"221":206,"94":10240,"24":19,"16":27692561850171392,"45":898538524594634752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 16:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330403328001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:45:59] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 16:45:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27692561850171392,"km_value":27692561850171.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":898538524594634752,"description":"Unknown IO ID 45"} 
[2026-08-11 16:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330403328001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":898538524594634752}} 
[2026-08-11 16:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":153639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625938,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:45:59] local.INFO: GPS data processed {"connection_id":153639,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:45:59] local.INFO: Acknowledgment sent {"connection_id":153639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:46:08] local.INFO: TCP Data received {"connection_id":152328,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:46:08] local.INFO: Processing buffer {"connection_id":152328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:46:08] local.INFO: IMEI packet received {"connection_id":152328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":152328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:46:10] local.INFO: TCP Data received {"connection_id":155035,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:46:10] local.INFO: Processing buffer {"connection_id":155035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:46:10] local.INFO: IMEI packet received {"connection_id":155035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":155035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:46:11] local.INFO: TCP Data received {"connection_id":155035,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:46:11] local.INFO: Processing buffer {"connection_id":155035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:46:11] local.INFO: IMEI packet received {"connection_id":155035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":155035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:46:13] local.INFO: TCP Data received {"connection_id":152328,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:46:13] local.INFO: Processing buffer {"connection_id":152328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:46:13] local.INFO: IMEI packet received {"connection_id":152328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":152328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:46:14] local.INFO: TCP Data received {"connection_id":152328,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0851790012d7b018005e347680002012c26..."} 
[2026-08-11 16:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0851790012d7b018005e347680002012c26..."} 
[2026-08-11 16:46:14] local.INFO: Processing buffer {"connection_id":152328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0851790012d7b018005e347680002012c26..."} 
[2026-08-11 16:46:14] local.INFO: Packet analysis {"connection_id":152328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:46:14] local.INFO: Extracted packet for processing {"connection_id":152328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:46:14] local.INFO: GPS Element Parsed {"raw_longitude":763036032,"raw_latitude":98781032,"longitude_deg":76.3036032,"latitude_deg":9.8781032,"altitude":2,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7b0180","hex_latitude":"05e34768","is_valid_coordinates":true} 
[2026-08-11 16:46: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-08-11 16:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330345472001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863506304418146304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786446682000,"timestamp_ms":1786446682000,"timestamp_seconds":1786446682,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0851790"} 
[2026-08-11 16:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:46:14] 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-08-11 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 16:46:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:14] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4035128160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2206289921,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:14] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4604930619008424448,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-11 16:46:14] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516635046,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812702208,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:14] local.WARNING: Large IO value detected {"io_id":150,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:14] local.WARNING: Large IO value detected {"io_id":131,"raw_value":2844024459533533189,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:14] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,97,85,24,241,157,16,25,159,119,45,128,71,2,39,10,66,37,211,1,240,116,227,4,113,205,47,3,30,239,50,162,5,150,131],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-11 16:46:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144445209067913216,"timestamp_seconds":144445209067913.22,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330345472001,"66":13341,"97":206,"85":15104,"24":0,"16":117684796854894592,"45":8863506304418146304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330345472001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:46:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:46:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863506304418146304,"description":"Unknown IO ID 45"} 
[2026-08-11 16:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330345472001,"power":13341,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863506304418146304}} 
[2026-08-11 16:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":152328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:46:14] local.INFO: GPS data processed {"connection_id":152328,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:46:14] local.INFO: Acknowledgment sent {"connection_id":152328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:46:15] local.INFO: TCP Data received {"connection_id":155035,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:46:15] local.INFO: Processing buffer {"connection_id":155035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:46:15] local.INFO: IMEI packet received {"connection_id":155035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":155035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:46:16] local.INFO: TCP Data received {"connection_id":155035,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0874df8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0874df8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:46:16] local.INFO: Processing buffer {"connection_id":155035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0874df8012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:46:16] local.INFO: Packet analysis {"connection_id":155035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff087"} 
[2026-08-11 16:46:16] local.INFO: Extracted packet for processing {"connection_id":155035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff087"} 
[2026-08-11 16:46:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330382336001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:16] 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-08-11 16:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786446827000,"timestamp_ms":1786446827000,"timestamp_seconds":1786446827,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0874df8"} 
[2026-08-11 16:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:46: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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:46:16] 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-08-11 16: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-08-11 16:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330382336001,"66":12439,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330382336001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:46:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:46:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330382336001,"power":12439,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":155035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:46:16] local.INFO: GPS data processed {"connection_id":155035,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:46:16] local.INFO: Acknowledgment sent {"connection_id":155035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:46:19] local.INFO: TCP Data received {"connection_id":152329,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:46:19] local.INFO: Processing buffer {"connection_id":152329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:46:19] local.INFO: IMEI packet received {"connection_id":152329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":152329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:46:22] local.INFO: TCP Data received {"connection_id":152696,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152696,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:46:22] local.INFO: Processing buffer {"connection_id":152696,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:46:22] local.INFO: IMEI packet received {"connection_id":152696,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":152696,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:46:22] local.INFO: TCP Data received {"connection_id":152696,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152696,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:46:22] local.INFO: Processing buffer {"connection_id":152696,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:46:22] local.INFO: IMEI packet received {"connection_id":152696,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":152696,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:46:23] local.INFO: TCP Data received {"connection_id":152696,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152696,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:46:23] local.INFO: Processing buffer {"connection_id":152696,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:46:23] local.INFO: IMEI packet received {"connection_id":152696,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":152696,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:46:27] local.INFO: TCP Data received {"connection_id":152696,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152696,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:46:27] local.INFO: Processing buffer {"connection_id":152696,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:46:27] local.INFO: IMEI packet received {"connection_id":152696,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":152696,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:46:28] local.INFO: TCP Data received {"connection_id":152696,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08945e0012d0c068007074f280015010822..."} 
[2026-08-11 16:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08945e0012d0c068007074f280015010822..."} 
[2026-08-11 16:46:28] local.INFO: Processing buffer {"connection_id":152696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08945e0012d0c068007074f280015010822..."} 
[2026-08-11 16:46:28] local.INFO: Packet analysis {"connection_id":152696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:46:28] local.INFO: Extracted packet for processing {"connection_id":152696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:46:28] local.INFO: GPS Element Parsed {"raw_longitude":755762816,"raw_latitude":117919528,"longitude_deg":75.5762816,"latitude_deg":11.7919528,"altitude":21,"angle":264,"satellites":34,"speed":36,"hex_longitude":"2d0c0680","hex_latitude":"07074f28","is_valid_coordinates":true} 
[2026-08-11 16:46: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-08-11 16:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330418176001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27694129513234432,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876724213897179136,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786446956000,"timestamp_ms":1786446956000,"timestamp_seconds":1786446956,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08945e0"} 
[2026-08-11 16:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:46: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-08-11 16:46: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":103,"data_length":795,"current_offset":136} 
[2026-08-11 16:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16:46: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-08-11 16:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330418176001,"66":14515,"221":206,"94":10240,"24":36,"16":27694129513234432,"45":876724213897179136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-11 16:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330418176001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:46:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 16:46:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27694129513234432,"km_value":27694129513234.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":876724213897179136,"description":"Unknown IO ID 45"} 
[2026-08-11 16:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330418176001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":876724213897179136}} 
[2026-08-11 16:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":152696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625941,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:46:28] local.INFO: GPS data processed {"connection_id":152696,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:46:28] local.INFO: Acknowledgment sent {"connection_id":152696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:46:34] local.INFO: TCP Data received {"connection_id":152329,"ip":"42.106.6.21","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 16:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152329,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 16:46:34] local.INFO: Processing buffer {"connection_id":152329,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 16:46:34] local.INFO: IMEI packet received {"connection_id":152329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":152329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:46:35] local.INFO: TCP Data received {"connection_id":152329,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0881d00012da07800059fdaa8000500ce2d..."} 
[2026-08-11 16:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0881d00012da07800059fdaa8000500ce2d..."} 
[2026-08-11 16:46:35] local.INFO: Processing buffer {"connection_id":152329,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 16:46:35] local.INFO: IMEI packet received {"connection_id":152329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":152329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:46:45] local.INFO: TCP Data received {"connection_id":152328,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0851790012d7b018005e347680002012c26..."} 
[2026-08-11 16:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0851790012d7b018005e347680002012c26..."} 
[2026-08-11 16:46:45] local.INFO: Processing buffer {"connection_id":152328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0851790012d7b018005e347680002012c26..."} 
[2026-08-11 16:46:45] local.INFO: Packet analysis {"connection_id":152328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:46:45] local.INFO: Extracted packet for processing {"connection_id":152328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:46:45] local.INFO: GPS Element Parsed {"raw_longitude":763036032,"raw_latitude":98781032,"longitude_deg":76.3036032,"latitude_deg":9.8781032,"altitude":2,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7b0180","hex_latitude":"05e34768","is_valid_coordinates":true} 
[2026-08-11 16:46:45] 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-08-11 16:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330350592001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863506304418146304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786446682000,"timestamp_ms":1786446682000,"timestamp_seconds":1786446682,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0851790"} 
[2026-08-11 16:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-11 16:46:45] 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-08-11 16: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-08-11 16:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330350592001,"66":13341,"97":206,"85":15104,"24":0,"16":117684796854894592,"45":8863506304418146304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330350592001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:46:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:46:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863506304418146304,"description":"Unknown IO ID 45"} 
[2026-08-11 16:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330350592001,"power":13341,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863506304418146304}} 
[2026-08-11 16:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":152328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:46:45] local.INFO: GPS data processed {"connection_id":152328,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:46:45] local.INFO: Acknowledgment sent {"connection_id":152328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:46:47] local.INFO: TCP Data received {"connection_id":155035,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff087a000012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff087a000012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:46:47] local.INFO: Processing buffer {"connection_id":155035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff087a000012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:46:47] local.INFO: Packet analysis {"connection_id":155035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff087"} 
[2026-08-11 16:46:47] local.INFO: Extracted packet for processing {"connection_id":155035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff087"} 
[2026-08-11 16:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:46: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-08-11 16:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330387712001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:46:47] 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-08-11 16:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786446848000,"timestamp_ms":1786446848000,"timestamp_seconds":1786446848,"priority":1,"record_length":96,"hex_timestamp":"0000019ff087a000"} 
[2026-08-11 16:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:46: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-08-11 16:46: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-11 16:46:47] 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-08-11 16:46: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-08-11 16:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330387712001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330387712001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:46:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:46:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330387712001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":155035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:46:47] local.INFO: GPS data processed {"connection_id":155035,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:46:47] local.INFO: Acknowledgment sent {"connection_id":155035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:46:58] local.INFO: TCP Data received {"connection_id":152329,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0884028012da06980059fb7f0000600c72e..."} 
[2026-08-11 16:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0884028012da06980059fb7f0000600c72e..."} 
[2026-08-11 16:46:58] local.INFO: Processing buffer {"connection_id":152329,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ff0..."} 
[2026-08-11 16:46:58] local.INFO: IMEI packet received {"connection_id":152329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":152329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:46:59] local.INFO: TCP Data received {"connection_id":152696,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff089fd78012d0ba80007071548001100ed23..."} 
[2026-08-11 16:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff089fd78012d0ba80007071548001100ed23..."} 
[2026-08-11 16:47:00] local.INFO: Processing buffer {"connection_id":152696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff089fd78012d0ba80007071548001100ed23..."} 
[2026-08-11 16:47:00] local.INFO: Packet analysis {"connection_id":152696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:47:00] local.INFO: Extracted packet for processing {"connection_id":152696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:47:00] local.INFO: GPS Element Parsed {"raw_longitude":755738624,"raw_latitude":117904712,"longitude_deg":75.5738624,"latitude_deg":11.7904712,"altitude":17,"angle":237,"satellites":35,"speed":27,"hex_longitude":"2d0ba800","hex_latitude":"07071548","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330432000001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27695795960545280,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841891685525379072,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786447003000,"timestamp_ms":1786447003000,"timestamp_seconds":1786447003,"priority":1,"record_length":96,"hex_timestamp":"0000019ff089fd78"} 
[2026-08-11 16:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:47:00] 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-08-11 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-11 16:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330432000001,"66":14439,"163":206,"94":10240,"24":27,"16":27695795960545280,"45":841891685525379072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-11 16:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330432000001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:47:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 16:47:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27695795960545280,"km_value":27695795960545.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":841891685525379072,"description":"Unknown IO ID 45"} 
[2026-08-11 16:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330432000001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":841891685525379072}} 
[2026-08-11 16:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":152696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625944,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:47:00] local.INFO: GPS data processed {"connection_id":152696,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:47:00] local.INFO: Acknowledgment sent {"connection_id":152696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:47:08] local.INFO: TCP Data received {"connection_id":155036,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:47:08] local.INFO: Processing buffer {"connection_id":155036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:47:08] local.INFO: IMEI packet received {"connection_id":155036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":155036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:47:09] local.INFO: TCP Data received {"connection_id":152329,"ip":"42.106.6.21","data_length":1590,"data_hex":"000000000000030f8e0a0000019ff08853b0012da06000059fa3c8000500d62c..."} 
[2026-08-11 16:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152329,"packet_length":1590,"packet_hex":"000000000000030f8e0a0000019ff08853b0012da06000059fa3c8000500d62c..."} 
[2026-08-11 16:47:09] local.INFO: Processing buffer {"connection_id":152329,"buffer_length":3180,"buffer_hex":"000000000000030f8e0a0000019ff0881d00012da07800059fdaa8000500ce2d..."} 
[2026-08-11 16:47:09] local.INFO: Packet analysis {"connection_id":152329,"data_field_length":783,"total_packet_length":795,"buffer_length":3180,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:47:09] local.INFO: Extracted packet for processing {"connection_id":152329,"packet_length":795,"remaining_buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":765491200,"raw_latitude":94362280,"longitude_deg":76.54912,"latitude_deg":9.436228,"altitude":5,"angle":206,"satellites":45,"speed":41,"hex_longitude":"2da07800","hex_latitude":"059fdaa8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330398976001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377812841211625472,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6878826194184437760,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786446880000,"timestamp_ms":1786446880000,"timestamp_seconds":1786446880,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0881d00"} 
[2026-08-11 16:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 16:47: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-08-11 16: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-08-11 16:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:47:09] 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-08-11 16:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330398976001,"66":27876,"51":206,"83":17152,"24":41,"16":377812841211625472,"45":-6878826194184437760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,83,24,16,45]} 
[2026-08-11 16:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330398976001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377812841211625472,"km_value":377812841211625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6878826194184437760,"description":"Unknown IO ID 45"} 
[2026-08-11 16:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330398976001,"power":27876,"unknown_51":206,"unknown_83":17152,"ignition":41,"odometer":null,"unknown_45":-6878826194184437760}} 
[2026-08-11 16:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":152329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:47:09] local.INFO: GPS data processed {"connection_id":152329,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:47:09] local.INFO: Acknowledgment sent {"connection_id":152329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:47:09] local.INFO: Packet analysis {"connection_id":152329,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:47:09] local.INFO: Extracted packet for processing {"connection_id":152329,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":765487488,"raw_latitude":94353392,"longitude_deg":76.5487488,"latitude_deg":9.4353392,"altitude":6,"angle":199,"satellites":46,"speed":45,"hex_longitude":"2da06980","hex_latitude":"059fb7f0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330401280001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377813309363060736,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6883752006279059456,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786446889000,"timestamp_ms":1786446889000,"timestamp_seconds":1786446889,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0884028"} 
[2026-08-11 16:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 16:47: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-08-11 16: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-08-11 16:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:47:09] 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-08-11 16:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330401280001,"66":27626,"51":206,"83":17152,"24":45,"16":377813309363060736,"45":-6883752006279059456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,83,24,16,45]} 
[2026-08-11 16:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330401280001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377813309363060736,"km_value":377813309363060.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6883752006279059456,"description":"Unknown IO ID 45"} 
[2026-08-11 16:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330401280001,"power":27626,"unknown_51":206,"unknown_83":17152,"ignition":45,"odometer":null,"unknown_45":-6883752006279059456}} 
[2026-08-11 16:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":152329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:47:09] local.INFO: GPS data processed {"connection_id":152329,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:47:09] local.INFO: Acknowledgment sent {"connection_id":152329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:47:09] local.INFO: Packet analysis {"connection_id":152329,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:47:09] local.INFO: Extracted packet for processing {"connection_id":152329,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":765485056,"raw_latitude":94348232,"longitude_deg":76.5485056,"latitude_deg":9.4348232,"altitude":5,"angle":214,"satellites":44,"speed":45,"hex_longitude":"2da06000","hex_latitude":"059fa3c8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330403584001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377813584240967680,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6887833393443639296,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786446894000,"timestamp_ms":1786446894000,"timestamp_seconds":1786446894,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08853b0"} 
[2026-08-11 16:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-11 16:47:09] 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-08-11 16: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-08-11 16:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:47:09] 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-08-11 16:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330403584001,"66":27865,"51":206,"83":17152,"24":45,"16":377813584240967680,"45":-6887833393443639296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,83,24,16,45]} 
[2026-08-11 16:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330403584001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377813584240967680,"km_value":377813584240967.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6887833393443639296,"description":"Unknown IO ID 45"} 
[2026-08-11 16:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330403584001,"power":27865,"unknown_51":206,"unknown_83":17152,"ignition":45,"odometer":null,"unknown_45":-6887833393443639296}} 
[2026-08-11 16:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":152329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:47:09] local.INFO: GPS data processed {"connection_id":152329,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:47:09] local.INFO: Acknowledgment sent {"connection_id":152329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:47:09] local.INFO: Packet analysis {"connection_id":152329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:47:09] local.INFO: Extracted packet for processing {"connection_id":152329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":765443328,"raw_latitude":94301216,"longitude_deg":76.5443328,"latitude_deg":9.4301216,"altitude":4,"angle":321,"satellites":45,"speed":20,"hex_longitude":"2d9fbd00","hex_latitude":"059eec20","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330423296001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377816668027486208,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6935965614474604544,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786446967000,"timestamp_ms":1786446967000,"timestamp_seconds":1786446967,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08970d8"} 
[2026-08-11 16:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 16:47: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-08-11 16: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-08-11 16:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:47:09] 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-08-11 16:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330423296001,"66":27865,"233":206,"83":17152,"24":20,"16":377816668027486208,"45":-6935965614474604544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-08-11 16:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330423296001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377816668027486208,"km_value":377816668027486.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6935965614474604544,"description":"Unknown IO ID 45"} 
[2026-08-11 16:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330423296001,"power":27865,"unknown_233":206,"unknown_83":17152,"ignition":20,"odometer":null,"unknown_45":-6935965614474604544}} 
[2026-08-11 16:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":152329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:47:09] local.INFO: GPS data processed {"connection_id":152329,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:47:09] local.INFO: Acknowledgment sent {"connection_id":152329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:47:10] local.INFO: TCP Data received {"connection_id":153640,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:47:10] local.INFO: Processing buffer {"connection_id":153640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:47:10] local.INFO: IMEI packet received {"connection_id":153640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":153640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:47:13] local.INFO: TCP Data received {"connection_id":153640,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:47:13] local.INFO: Processing buffer {"connection_id":153640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:47:13] local.INFO: IMEI packet received {"connection_id":153640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":153640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:47:13] local.INFO: TCP Data received {"connection_id":155036,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:47:13] local.INFO: Processing buffer {"connection_id":155036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:47:13] local.INFO: IMEI packet received {"connection_id":155036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":155036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:47:14] local.INFO: TCP Data received {"connection_id":153640,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff087f208012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff087f208012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:47:14] local.INFO: Processing buffer {"connection_id":153640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff087f208012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:47:14] local.INFO: Packet analysis {"connection_id":153640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff087"} 
[2026-08-11 16:47:14] local.INFO: Extracted packet for processing {"connection_id":153640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff087"} 
[2026-08-11 16:47:14] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330393088001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:14] 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-08-11 16:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786446869000,"timestamp_ms":1786446869000,"timestamp_seconds":1786446869,"priority":1,"record_length":96,"hex_timestamp":"0000019ff087f208"} 
[2026-08-11 16:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:47: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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:47:14] 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-08-11 16: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-08-11 16:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330393088001,"66":11830,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330393088001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:47:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:47:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330393088001,"power":11830,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":153640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:47:14] local.INFO: GPS data processed {"connection_id":153640,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:47:14] local.INFO: Acknowledgment sent {"connection_id":153640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:47:14] local.INFO: TCP Data received {"connection_id":155036,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0851b78012d7b018005e347680002012c27..."} 
[2026-08-11 16:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0851b78012d7b018005e347680002012c27..."} 
[2026-08-11 16:47:14] local.INFO: Processing buffer {"connection_id":155036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0851b78012d7b018005e347680002012c27..."} 
[2026-08-11 16:47:14] local.INFO: Packet analysis {"connection_id":155036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:47:14] local.INFO: Extracted packet for processing {"connection_id":155036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff085"} 
[2026-08-11 16:47:14] local.INFO: GPS Element Parsed {"raw_longitude":763036032,"raw_latitude":98781032,"longitude_deg":76.3036032,"latitude_deg":9.8781032,"altitude":2,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7b0180","hex_latitude":"05e34768","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330350592001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863506304418146304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786446683000,"timestamp_ms":1786446683000,"timestamp_seconds":1786446683,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0851b78"} 
[2026-08-11 16:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-11 16:47:14] 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-08-11 16: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-08-11 16:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330350592001,"66":13341,"97":206,"85":15104,"24":0,"16":117684796854894592,"45":8863506304418146304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 16:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330350592001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:47:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 16:47:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863506304418146304,"description":"Unknown IO ID 45"} 
[2026-08-11 16:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330350592001,"power":13341,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863506304418146304}} 
[2026-08-11 16:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":155036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:47:14] local.INFO: GPS data processed {"connection_id":155036,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:47:14] local.INFO: Acknowledgment sent {"connection_id":155036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:47:21] local.INFO: TCP Data received {"connection_id":152697,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:47:21] local.INFO: Processing buffer {"connection_id":152697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:47:21] local.INFO: IMEI packet received {"connection_id":152697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":152697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:47:21] local.INFO: TCP Data received {"connection_id":152697,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:47:21] local.INFO: Processing buffer {"connection_id":152697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:47:21] local.INFO: IMEI packet received {"connection_id":152697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":152697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:47:21] local.INFO: TCP Data received {"connection_id":152330,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:47:21] local.INFO: Processing buffer {"connection_id":152330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:47:21] local.INFO: IMEI packet received {"connection_id":152330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":152330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:47:24] local.INFO: TCP Data received {"connection_id":152697,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:47:24] local.INFO: Processing buffer {"connection_id":152697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:47:24] local.INFO: IMEI packet received {"connection_id":152697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":152697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:47:27] local.INFO: TCP Data received {"connection_id":152330,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:47:27] local.INFO: Processing buffer {"connection_id":152330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:47:27] local.INFO: IMEI packet received {"connection_id":152330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":152330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:47:27] local.INFO: TCP Data received {"connection_id":152330,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08a0548012d0ba280070712b8001100fc23..."} 
[2026-08-11 16:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08a0548012d0ba280070712b8001100fc23..."} 
[2026-08-11 16:47:27] local.INFO: Processing buffer {"connection_id":152330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08a0548012d0ba280070712b8001100fc23..."} 
[2026-08-11 16:47:27] local.INFO: Packet analysis {"connection_id":152330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08a"} 
[2026-08-11 16:47:27] local.INFO: Extracted packet for processing {"connection_id":152330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08a"} 
[2026-08-11 16:47:27] local.INFO: GPS Element Parsed {"raw_longitude":755737216,"raw_latitude":117904056,"longitude_deg":75.5737216,"latitude_deg":11.7904056,"altitude":17,"angle":252,"satellites":35,"speed":32,"hex_longitude":"2d0ba280","hex_latitude":"070712b8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330432768001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27695868974989312,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":839921360688203776,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786447005000,"timestamp_ms":1786447005000,"timestamp_seconds":1786447005,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08a0548"} 
[2026-08-11 16:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:47: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-08-11 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 16:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330432768001,"66":14439,"163":206,"94":10240,"24":32,"16":27695868974989312,"45":839921360688203776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-11 16:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330432768001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:47:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 16:47:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27695868974989312,"km_value":27695868974989.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":839921360688203776,"description":"Unknown IO ID 45"} 
[2026-08-11 16:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330432768001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":839921360688203776}} 
[2026-08-11 16:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":152330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625951,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:47:28] local.INFO: GPS data processed {"connection_id":152330,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:47:28] local.INFO: Acknowledgment sent {"connection_id":152330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:47:28] local.INFO: TCP Data received {"connection_id":152697,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08974c0012d9fbc40059eee18000401502d..."} 
[2026-08-11 16:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08974c0012d9fbc40059eee18000401502d..."} 
[2026-08-11 16:47:29] local.INFO: Processing buffer {"connection_id":152697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08974c0012d9fbc40059eee18000401502d..."} 
[2026-08-11 16:47:29] local.INFO: Packet analysis {"connection_id":152697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:47:29] local.INFO: Extracted packet for processing {"connection_id":152697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:47:29] local.INFO: GPS Element Parsed {"raw_longitude":765443136,"raw_latitude":94301720,"longitude_deg":76.5443136,"latitude_deg":9.430172,"altitude":4,"angle":336,"satellites":45,"speed":23,"hex_longitude":"2d9fbc40","hex_latitude":"059eee18","is_valid_coordinates":true} 
[2026-08-11 16:47: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-08-11 16:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330423552001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377816693797289984,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6936387826939584512,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786446968000,"timestamp_ms":1786446968000,"timestamp_seconds":1786446968,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08974c0"} 
[2026-08-11 16:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:47: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 16:47:29] 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-08-11 16:47: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-08-11 16:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:47:29] 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-08-11 16:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330423552001,"66":27887,"233":206,"83":17152,"24":23,"16":377816693797289984,"45":-6936387826939584512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-08-11 16:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330423552001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:47:29] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-11 16:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377816693797289984,"km_value":377816693797290.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6936387826939584512,"description":"Unknown IO ID 45"} 
[2026-08-11 16:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330423552001,"power":27887,"unknown_233":206,"unknown_83":17152,"ignition":23,"odometer":null,"unknown_45":-6936387826939584512}} 
[2026-08-11 16:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":152697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:47:29] local.INFO: GPS data processed {"connection_id":152697,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:47:29] local.INFO: Acknowledgment sent {"connection_id":152697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:47:46] local.INFO: TCP Data received {"connection_id":155036,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:47:46] local.INFO: Processing buffer {"connection_id":155036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:47:46] local.INFO: Packet analysis {"connection_id":155036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:47:46] local.INFO: Extracted packet for processing {"connection_id":155036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:47:46] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:47: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-08-11 16:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330350848001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863506304418146304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786446988000,"timestamp_ms":1786446988000,"timestamp_seconds":1786446988,"priority":1,"record_length":96,"hex_timestamp":"0000019ff089c2e0"} 
[2026-08-11 16:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16:47: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":29,"data_length":795,"current_offset":136} 
[2026-08-11 16:47:46] 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-08-11 16:47: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-08-11 16:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":155036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":155036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":155036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330350848001,"66":12330,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8863506304418146304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330350848001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:47:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:47:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863506304418146304,"description":"Unknown IO ID 45"} 
[2026-08-11 16:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330350848001,"power":12330,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863506304418146304}} 
[2026-08-11 16:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":155036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:47:46] local.INFO: GPS data processed {"connection_id":155036,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:47:46] local.INFO: Acknowledgment sent {"connection_id":155036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:47:48] local.INFO: TCP Data received {"connection_id":153640,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0884410012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0884410012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:47:48] local.INFO: Processing buffer {"connection_id":153640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0884410012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:47:48] local.INFO: Packet analysis {"connection_id":153640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:47:48] local.INFO: Extracted packet for processing {"connection_id":153640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:47:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:47: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-08-11 16:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330398464001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:48] 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-08-11 16:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786446890000,"timestamp_ms":1786446890000,"timestamp_seconds":1786446890,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0884410"} 
[2026-08-11 16:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:47: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-08-11 16:47: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-11 16:47:48] 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-08-11 16:47: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-08-11 16:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330398464001,"66":12298,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330398464001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:47:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:47:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330398464001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":153640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:47:48] local.INFO: GPS data processed {"connection_id":153640,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:47:48] local.INFO: Acknowledgment sent {"connection_id":153640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:47:59] local.INFO: TCP Data received {"connection_id":152330,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08ae3f0012d0b0e40070690b8000b00ea23..."} 
[2026-08-11 16:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08ae3f0012d0b0e40070690b8000b00ea23..."} 
[2026-08-11 16:47:59] local.INFO: Processing buffer {"connection_id":152330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08ae3f0012d0b0e40070690b8000b00ea23..."} 
[2026-08-11 16:47:59] local.INFO: Packet analysis {"connection_id":152330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08a"} 
[2026-08-11 16:47:59] local.INFO: Extracted packet for processing {"connection_id":152330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08a"} 
[2026-08-11 16:47:59] local.INFO: GPS Element Parsed {"raw_longitude":755699264,"raw_latitude":117870776,"longitude_deg":75.5699264,"latitude_deg":11.7870776,"altitude":11,"angle":234,"satellites":35,"speed":8,"hex_longitude":"2d0b0e40","hex_latitude":"070690b8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330445824001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27698531854712832,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798192695382575104,"note":"Value kept but may cause issues"} 
[2026-08-11 16:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786447062000,"timestamp_ms":1786447062000,"timestamp_seconds":1786447062,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08ae3f0"} 
[2026-08-11 16:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:47: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-08-11 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 16:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330445824001,"66":14537,"163":206,"94":10240,"24":8,"16":27698531854712832,"45":798192695382575104},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-11 16:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330445824001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:47:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 16:47:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27698531854712832,"km_value":27698531854712.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":798192695382575104,"description":"Unknown IO ID 45"} 
[2026-08-11 16:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330445824001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":798192695382575104}} 
[2026-08-11 16:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":152330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625955,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:47:59] local.INFO: GPS data processed {"connection_id":152330,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:47:59] local.INFO: Acknowledgment sent {"connection_id":152330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:48:04] local.INFO: TCP Data received {"connection_id":152697,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff089a3a0012d9faf00059f10300005015629..."} 
[2026-08-11 16:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff089a3a0012d9faf00059f10300005015629..."} 
[2026-08-11 16:48:04] local.INFO: Processing buffer {"connection_id":152697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff089a3a0012d9faf00059f10300005015629..."} 
[2026-08-11 16:48:04] local.INFO: Packet analysis {"connection_id":152697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:48:04] local.INFO: Extracted packet for processing {"connection_id":152697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:48:04] local.INFO: GPS Element Parsed {"raw_longitude":765439744,"raw_latitude":94310448,"longitude_deg":76.5439744,"latitude_deg":9.4310448,"altitude":5,"angle":342,"satellites":41,"speed":37,"hex_longitude":"2d9faf00","hex_latitude":"059f1030","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330423808001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377817149063823360,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6936598933171988480,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786446980000,"timestamp_ms":1786446980000,"timestamp_seconds":1786446980,"priority":1,"record_length":96,"hex_timestamp":"0000019ff089a3a0"} 
[2026-08-11 16:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":239,"data_length":795,"current_offset":136} 
[2026-08-11 16:48: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-08-11 16: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-08-11 16:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:48: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-08-11 16:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330423808001,"66":27908,"233":206,"83":17152,"24":37,"16":377817149063823360,"45":-6936598933171988480},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-08-11 16:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330423808001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:48:04] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-11 16:48:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377817149063823360,"km_value":377817149063823.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6936598933171988480,"description":"Unknown IO ID 45"} 
[2026-08-11 16:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330423808001,"power":27908,"unknown_233":206,"unknown_83":17152,"ignition":37,"odometer":null,"unknown_45":-6936598933171988480}} 
[2026-08-11 16:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":152697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:48:04] local.INFO: GPS data processed {"connection_id":152697,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:48:04] local.INFO: Acknowledgment sent {"connection_id":152697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:48:08] local.INFO: TCP Data received {"connection_id":153641,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:48:08] local.INFO: Processing buffer {"connection_id":153641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:48:08] local.INFO: IMEI packet received {"connection_id":153641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":153641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:48:10] local.INFO: TCP Data received {"connection_id":155037,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:48:10] local.INFO: Processing buffer {"connection_id":155037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:48:10] local.INFO: IMEI packet received {"connection_id":155037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":155037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:48:13] local.INFO: TCP Data received {"connection_id":153641,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:48:13] local.INFO: Processing buffer {"connection_id":153641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:48:13] local.INFO: IMEI packet received {"connection_id":153641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":153641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:48:14] local.INFO: TCP Data received {"connection_id":153641,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:48:14] local.INFO: Processing buffer {"connection_id":153641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:48:14] local.INFO: Packet analysis {"connection_id":153641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:48:14] local.INFO: Extracted packet for processing {"connection_id":153641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:48:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:48: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-08-11 16:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330350848001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863506304418146304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786446988000,"timestamp_ms":1786446988000,"timestamp_seconds":1786446988,"priority":1,"record_length":96,"hex_timestamp":"0000019ff089c2e0"} 
[2026-08-11 16:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16:48: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":29,"data_length":795,"current_offset":136} 
[2026-08-11 16:48:14] 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-08-11 16:48: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-08-11 16:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330350848001,"66":12330,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8863506304418146304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330350848001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:48:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:48:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863506304418146304,"description":"Unknown IO ID 45"} 
[2026-08-11 16:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330350848001,"power":12330,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863506304418146304}} 
[2026-08-11 16:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":153641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:48:14] local.INFO: GPS data processed {"connection_id":153641,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:48:14] local.INFO: Acknowledgment sent {"connection_id":153641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:48:15] local.INFO: TCP Data received {"connection_id":155037,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:48:15] local.INFO: Processing buffer {"connection_id":155037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:48:15] local.INFO: IMEI packet received {"connection_id":155037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":155037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:48:16] local.INFO: TCP Data received {"connection_id":155037,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0889618012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0889618012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:48:16] local.INFO: Processing buffer {"connection_id":155037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0889618012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:48:16] local.INFO: Packet analysis {"connection_id":155037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:48:16] local.INFO: Extracted packet for processing {"connection_id":155037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:48:16] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330403840001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] 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-08-11 16:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786446911000,"timestamp_ms":1786446911000,"timestamp_seconds":1786446911,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0889618"} 
[2026-08-11 16:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:48: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-08-11 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185641,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":154,"raw_value":864691128455135233,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1115197432436811416,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391012991598876,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79982873850937344,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460567279796430,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2264657921,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3999793214,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510968,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2584477696,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:16] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,154,159,242,45,192,238,62,39,10,66,160,77,1,240,151,227,31,4,113,205,169,104,239,48,2,41,7,40],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-11 16:48:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467883259157544960,"timestamp_seconds":4467883259157545.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330403840001,"66":12385,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330403840001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:48:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:48:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330403840001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":155037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:48:16] local.INFO: GPS data processed {"connection_id":155037,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:48:16] local.INFO: Acknowledgment sent {"connection_id":155037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:48:21] local.INFO: TCP Data received {"connection_id":155038,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:48:21] local.INFO: Processing buffer {"connection_id":155038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:48:21] local.INFO: IMEI packet received {"connection_id":155038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":155038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:48:24] local.INFO: TCP Data received {"connection_id":155038,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:48:24] local.INFO: Processing buffer {"connection_id":155038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:48:24] local.INFO: IMEI packet received {"connection_id":155038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":155038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:48:27] local.INFO: TCP Data received {"connection_id":152331,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:48:27] local.INFO: Processing buffer {"connection_id":152331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:48:27] local.INFO: IMEI packet received {"connection_id":152331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":152331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:48:29] local.INFO: TCP Data received {"connection_id":155038,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:48:29] local.INFO: Processing buffer {"connection_id":155038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:48:29] local.INFO: IMEI packet received {"connection_id":155038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":155038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:48:30] local.INFO: TCP Data received {"connection_id":155038,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff089c6c8012d9fa800059f34900005015f2b..."} 
[2026-08-11 16:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff089c6c8012d9fa800059f34900005015f2b..."} 
[2026-08-11 16:48:30] local.INFO: Processing buffer {"connection_id":155038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff089c6c8012d9fa800059f34900005015f2b..."} 
[2026-08-11 16:48:30] local.INFO: Packet analysis {"connection_id":155038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:48:30] local.INFO: Extracted packet for processing {"connection_id":155038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:48:30] local.INFO: GPS Element Parsed {"raw_longitude":765437952,"raw_latitude":94319760,"longitude_deg":76.5437952,"latitude_deg":9.431976,"altitude":5,"angle":351,"satellites":43,"speed":42,"hex_longitude":"2d9fa800","hex_latitude":"059f3490","is_valid_coordinates":true} 
[2026-08-11 16:48: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-08-11 16:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330426880001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377817608625324032,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6940328476611170304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786446989000,"timestamp_ms":1786446989000,"timestamp_seconds":1786446989,"priority":1,"record_length":96,"hex_timestamp":"0000019ff089c6c8"} 
[2026-08-11 16:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:48: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 16:48:30] 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-08-11 16:48: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-08-11 16:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":155038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":155038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":155038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:48:30] 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-08-11 16:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330426880001,"66":27865,"156":206,"83":17152,"24":42,"16":377817608625324032,"45":-6940328476611170304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-08-11 16:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330426880001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:48:30] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 16:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377817608625324032,"km_value":377817608625324.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6940328476611170304,"description":"Unknown IO ID 45"} 
[2026-08-11 16:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330426880001,"power":27865,"unknown_156":206,"unknown_83":17152,"ignition":42,"odometer":null,"unknown_45":-6940328476611170304}} 
[2026-08-11 16:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":155038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:48:30] local.INFO: GPS data processed {"connection_id":155038,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:48:30] local.INFO: Acknowledgment sent {"connection_id":155038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:48:32] local.INFO: TCP Data received {"connection_id":152331,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:48:32] local.INFO: Processing buffer {"connection_id":152331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:48:32] local.INFO: IMEI packet received {"connection_id":152331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":152331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:48:32] local.INFO: TCP Data received {"connection_id":152331,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08aebc0012d0b0c4007068f28000c00dc23..."} 
[2026-08-11 16:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08aebc0012d0b0c4007068f28000c00dc23..."} 
[2026-08-11 16:48:32] local.INFO: Processing buffer {"connection_id":152331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08aebc0012d0b0c4007068f28000c00dc23..."} 
[2026-08-11 16:48:32] local.INFO: Packet analysis {"connection_id":152331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08a"} 
[2026-08-11 16:48:32] local.INFO: Extracted packet for processing {"connection_id":152331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08a"} 
[2026-08-11 16:48:32] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117870376,"longitude_deg":75.5698752,"latitude_deg":11.7870376,"altitude":12,"angle":220,"satellites":35,"speed":14,"hex_longitude":"2d0b0c40","hex_latitude":"07068f28","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330447872001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27698561919483904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796644583010252800,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786447064000,"timestamp_ms":1786447064000,"timestamp_seconds":1786447064,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08aebc0"} 
[2026-08-11 16:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:48:32] 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-08-11 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-11 16:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330447872001,"66":14374,"163":206,"94":10240,"24":14,"16":27698561919483904,"45":796644583010252800},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-11 16:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330447872001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:48:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 16:48:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27698561919483904,"km_value":27698561919483.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":796644583010252800,"description":"Unknown IO ID 45"} 
[2026-08-11 16:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330447872001,"power":14374,"unknown_163":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":796644583010252800}} 
[2026-08-11 16:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":152331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625960,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:48:33] local.INFO: GPS data processed {"connection_id":152331,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:48:33] local.INFO: Acknowledgment sent {"connection_id":152331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:48:35] local.INFO: TCP Data received {"connection_id":155038,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff089da50012d9fa740059f49e8000700022b..."} 
[2026-08-11 16:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff089da50012d9fa740059f49e8000700022b..."} 
[2026-08-11 16:48:35] local.INFO: Processing buffer {"connection_id":155038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff089da50012d9fa740059f49e8000700022b..."} 
[2026-08-11 16:48:35] local.INFO: Packet analysis {"connection_id":155038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:48:35] local.INFO: Extracted packet for processing {"connection_id":155038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:48:35] local.INFO: GPS Element Parsed {"raw_longitude":765437760,"raw_latitude":94325224,"longitude_deg":76.543776,"latitude_deg":9.4325224,"altitude":7,"angle":2,"satellites":43,"speed":44,"hex_longitude":"2d9fa740","hex_latitude":"059f49e8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330429184001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377817874913296384,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6942298801445761024,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786446994000,"timestamp_ms":1786446994000,"timestamp_seconds":1786446994,"priority":1,"record_length":96,"hex_timestamp":"0000019ff089da50"} 
[2026-08-11 16:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":217,"data_length":795,"current_offset":136} 
[2026-08-11 16:48: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-08-11 16: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-08-11 16:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":155038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":155038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":155038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:48: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-08-11 16:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330429184001,"66":28006,"156":206,"83":17152,"24":44,"16":377817874913296384,"45":-6942298801445761024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-08-11 16:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330429184001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:48:35] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 16:48:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377817874913296384,"km_value":377817874913296.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6942298801445761024,"description":"Unknown IO ID 45"} 
[2026-08-11 16:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330429184001,"power":28006,"unknown_156":206,"unknown_83":17152,"ignition":44,"odometer":null,"unknown_45":-6942298801445761024}} 
[2026-08-11 16:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":155038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:48:35] local.INFO: GPS data processed {"connection_id":155038,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:48:35] local.INFO: Acknowledgment sent {"connection_id":155038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:48:38] local.INFO: TCP Data received {"connection_id":152331,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08b0ee8012d0afc0007067d40000c00ce23..."} 
[2026-08-11 16:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08b0ee8012d0afc0007067d40000c00ce23..."} 
[2026-08-11 16:48:38] local.INFO: Processing buffer {"connection_id":152331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08b0ee8012d0afc0007067d40000c00ce23..."} 
[2026-08-11 16:48:38] local.INFO: Packet analysis {"connection_id":152331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:48:38] local.INFO: Extracted packet for processing {"connection_id":152331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:48:38] local.INFO: GPS Element Parsed {"raw_longitude":755694592,"raw_latitude":117865792,"longitude_deg":75.5694592,"latitude_deg":11.7865792,"altitude":12,"angle":206,"satellites":35,"speed":29,"hex_longitude":"2d0afc00","hex_latitude":"07067d40","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330448384001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27698862567194624,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796081633056729088,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786447073000,"timestamp_ms":1786447073000,"timestamp_seconds":1786447073,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08b0ee8"} 
[2026-08-11 16:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:48:38] 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-08-11 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 16:48:38] 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-08-11 16: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-08-11 16:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330448384001,"66":14450,"163":206,"94":10240,"24":29,"16":27698862567194624,"45":796081633056729088},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-11 16:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330448384001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:48:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 16:48:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27698862567194624,"km_value":27698862567194.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":796081633056729088,"description":"Unknown IO ID 45"} 
[2026-08-11 16:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330448384001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":796081633056729088}} 
[2026-08-11 16:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":152331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625962,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:48:39] local.INFO: GPS data processed {"connection_id":152331,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:48:39] local.INFO: Acknowledgment sent {"connection_id":152331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:48:45] local.INFO: TCP Data received {"connection_id":153641,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:48:45] local.INFO: Processing buffer {"connection_id":153641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:48:45] local.INFO: Packet analysis {"connection_id":153641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:48:45] local.INFO: Extracted packet for processing {"connection_id":153641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:48:45] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:48: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-08-11 16:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330350848001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863506304418146304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786446988000,"timestamp_ms":1786446988000,"timestamp_seconds":1786446988,"priority":1,"record_length":96,"hex_timestamp":"0000019ff089c2e0"} 
[2026-08-11 16:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16:48: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-11 16:48:45] 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-08-11 16:48: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-08-11 16:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330350848001,"66":12330,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8863506304418146304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330350848001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:48:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:48:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863506304418146304,"description":"Unknown IO ID 45"} 
[2026-08-11 16:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330350848001,"power":12330,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863506304418146304}} 
[2026-08-11 16:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":153641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:48:45] local.INFO: GPS data processed {"connection_id":153641,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:48:45] local.INFO: Acknowledgment sent {"connection_id":153641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:48:47] local.INFO: TCP Data received {"connection_id":155037,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff088e820012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff088e820012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:48:47] local.INFO: Processing buffer {"connection_id":155037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff088e820012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:48:47] local.INFO: Packet analysis {"connection_id":155037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:48:47] local.INFO: Extracted packet for processing {"connection_id":155037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff088"} 
[2026-08-11 16:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:48: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-08-11 16:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330409216001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:48:47] 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-08-11 16:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786446932000,"timestamp_ms":1786446932000,"timestamp_seconds":1786446932,"priority":1,"record_length":96,"hex_timestamp":"0000019ff088e820"} 
[2026-08-11 16:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:48: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-08-11 16:48: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 16:48:47] 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-08-11 16:48: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-08-11 16:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330409216001,"66":12428,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330409216001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:48:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:48:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330409216001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":155037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:48:47] local.INFO: GPS data processed {"connection_id":155037,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:48:47] local.INFO: Acknowledgment sent {"connection_id":155037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:49:09] local.INFO: TCP Data received {"connection_id":152698,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:49:09] local.INFO: Processing buffer {"connection_id":152698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:49:09] local.INFO: IMEI packet received {"connection_id":152698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":152698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:49:13] local.INFO: TCP Data received {"connection_id":152698,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:49:13] local.INFO: Processing buffer {"connection_id":152698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:49:13] local.INFO: IMEI packet received {"connection_id":152698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":152698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:49:14] local.INFO: TCP Data received {"connection_id":152698,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:49:14] local.INFO: Processing buffer {"connection_id":152698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:49:14] local.INFO: Packet analysis {"connection_id":152698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:49:14] local.INFO: Extracted packet for processing {"connection_id":152698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:49:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:49: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-08-11 16:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330350848001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863506304418146304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786446988000,"timestamp_ms":1786446988000,"timestamp_seconds":1786446988,"priority":1,"record_length":96,"hex_timestamp":"0000019ff089c2e0"} 
[2026-08-11 16:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16:49: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":29,"data_length":795,"current_offset":136} 
[2026-08-11 16:49:14] 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-08-11 16:49: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-08-11 16:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330350848001,"66":12330,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8863506304418146304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330350848001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:49:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:49:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863506304418146304,"description":"Unknown IO ID 45"} 
[2026-08-11 16:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330350848001,"power":12330,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863506304418146304}} 
[2026-08-11 16:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":152698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:49:14] local.INFO: GPS data processed {"connection_id":152698,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:49:14] local.INFO: Acknowledgment sent {"connection_id":152698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:49:15] local.INFO: TCP Data received {"connection_id":153642,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:49:15] local.INFO: Processing buffer {"connection_id":153642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:49:15] local.INFO: IMEI packet received {"connection_id":153642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":153642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:49:19] local.INFO: TCP Data received {"connection_id":153642,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:49:19] local.INFO: Processing buffer {"connection_id":153642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:49:19] local.INFO: IMEI packet received {"connection_id":153642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":153642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:49:20] local.INFO: TCP Data received {"connection_id":153642,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0893a28012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0893a28012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:49:20] local.INFO: Processing buffer {"connection_id":153642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0893a28012d1968c0071fee68003e011c28..."} 
[2026-08-11 16:49:20] local.INFO: Packet analysis {"connection_id":153642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:49:20] local.INFO: Extracted packet for processing {"connection_id":153642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:49:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16:49: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-08-11 16:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330414592001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:20] 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-08-11 16:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786446953000,"timestamp_ms":1786446953000,"timestamp_seconds":1786446953,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0893a28"} 
[2026-08-11 16:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:49: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-08-11 16:49: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 16:49:20] 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-08-11 16:49: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-08-11 16:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330414592001,"66":12439,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330414592001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:49:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:49:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330414592001,"power":12439,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":153642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:49:20] local.INFO: GPS data processed {"connection_id":153642,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:49:20] local.INFO: Acknowledgment sent {"connection_id":153642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:49:21] local.INFO: TCP Data received {"connection_id":153642,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0898c30012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0898c30012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:49:21] local.INFO: Processing buffer {"connection_id":153642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0898c30012d1968c0071fee68003e011c26..."} 
[2026-08-11 16:49:21] local.INFO: Packet analysis {"connection_id":153642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:49:21] local.INFO: Extracted packet for processing {"connection_id":153642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:49:21] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330419968001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:21] 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-08-11 16:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786446974000,"timestamp_ms":1786446974000,"timestamp_seconds":1786446974,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0898c30"} 
[2026-08-11 16:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:49: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-08-11 16: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-11 16:49:21] 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-08-11 16: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-08-11 16:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":153642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":153642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":153642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330419968001,"66":12461,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330419968001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:49:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:49:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330419968001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":153642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:49:21] local.INFO: GPS data processed {"connection_id":153642,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:49:21] local.INFO: Acknowledgment sent {"connection_id":153642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:49:22] local.INFO: TCP Data received {"connection_id":153643,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153643,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:49:22] local.INFO: Processing buffer {"connection_id":153643,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:49:22] local.INFO: IMEI packet received {"connection_id":153643,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":153643,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:49:26] local.INFO: TCP Data received {"connection_id":153643,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153643,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:49:26] local.INFO: Processing buffer {"connection_id":153643,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:49:26] local.INFO: IMEI packet received {"connection_id":153643,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":153643,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:49:27] local.INFO: TCP Data received {"connection_id":153643,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08b1e88012d0af78007067560000d00e723..."} 
[2026-08-11 16:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08b1e88012d0af78007067560000d00e723..."} 
[2026-08-11 16:49:27] local.INFO: Processing buffer {"connection_id":153643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08b1e88012d0af78007067560000d00e723..."} 
[2026-08-11 16:49:27] local.INFO: Packet analysis {"connection_id":153643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:49:27] local.INFO: Extracted packet for processing {"connection_id":153643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:49:27] local.INFO: GPS Element Parsed {"raw_longitude":755693440,"raw_latitude":117863776,"longitude_deg":75.569344,"latitude_deg":11.7863776,"altitude":13,"angle":231,"satellites":35,"speed":22,"hex_longitude":"2d0af780","hex_latitude":"07067560","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330450688001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27698974236344320,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791507664684007424,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786447077000,"timestamp_ms":1786447077000,"timestamp_seconds":1786447077,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08b1e88"} 
[2026-08-11 16:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:49: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-08-11 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 16:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330450688001,"66":14363,"163":206,"94":10240,"24":22,"16":27698974236344320,"45":791507664684007424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-11 16:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330450688001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:49:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 16:49:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27698974236344320,"km_value":27698974236344.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":791507664684007424,"description":"Unknown IO ID 45"} 
[2026-08-11 16:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330450688001,"power":14363,"unknown_163":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":791507664684007424}} 
[2026-08-11 16:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":153643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625968,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:49:27] local.INFO: GPS data processed {"connection_id":153643,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:49:27] local.INFO: Acknowledgment sent {"connection_id":153643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:49:27] local.INFO: TCP Data received {"connection_id":153643,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08b3dc8012d0aef4007066f08000e00b523..."} 
[2026-08-11 16:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08b3dc8012d0aef4007066f08000e00b523..."} 
[2026-08-11 16:49:27] local.INFO: Processing buffer {"connection_id":153643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08b3dc8012d0aef4007066f08000e00b523..."} 
[2026-08-11 16:49:27] local.INFO: Packet analysis {"connection_id":153643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:49:27] local.INFO: Extracted packet for processing {"connection_id":153643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:49:27] local.INFO: GPS Element Parsed {"raw_longitude":755691328,"raw_latitude":117862152,"longitude_deg":75.5691328,"latitude_deg":11.7862152,"altitude":14,"angle":181,"satellites":35,"speed":5,"hex_longitude":"2d0aef40","hex_latitude":"07066f08","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330451712001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27699107380330496,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790241027288293376,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786447085000,"timestamp_ms":1786447085000,"timestamp_seconds":1786447085,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08b3dc8"} 
[2026-08-11 16:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:49: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-08-11 16: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-11 16:49: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-08-11 16: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-08-11 16:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330451712001,"66":14537,"163":206,"94":10240,"24":5,"16":27699107380330496,"45":790241027288293376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-11 16:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330451712001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:49:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 16:49:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27699107380330496,"km_value":27699107380330.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":790241027288293376,"description":"Unknown IO ID 45"} 
[2026-08-11 16:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330451712001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":790241027288293376}} 
[2026-08-11 16:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":153643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625969,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:49:27] local.INFO: GPS data processed {"connection_id":153643,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:49:27] local.INFO: Acknowledgment sent {"connection_id":153643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:49:29] local.INFO: TCP Data received {"connection_id":152332,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:49:29] local.INFO: Processing buffer {"connection_id":152332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:49:29] local.INFO: IMEI packet received {"connection_id":152332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":152332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:49:33] local.INFO: TCP Data received {"connection_id":152332,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:49:33] local.INFO: Processing buffer {"connection_id":152332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:49:33] local.INFO: IMEI packet received {"connection_id":152332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":152332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:49:34] local.INFO: TCP Data received {"connection_id":152332,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08b3dc8012d9fb20005a025f0000b01072d..."} 
[2026-08-11 16:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08b3dc8012d9fb20005a025f0000b01072d..."} 
[2026-08-11 16:49:34] local.INFO: Processing buffer {"connection_id":152332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08b3dc8012d9fb20005a025f0000b01072d..."} 
[2026-08-11 16:49:34] local.INFO: Packet analysis {"connection_id":152332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:49:34] local.INFO: Extracted packet for processing {"connection_id":152332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:49:34] local.INFO: GPS Element Parsed {"raw_longitude":765440512,"raw_latitude":94381552,"longitude_deg":76.5440512,"latitude_deg":9.4381552,"altitude":11,"angle":263,"satellites":45,"speed":21,"hex_longitude":"2d9fb200","hex_latitude":"05a025f0","is_valid_coordinates":true} 
[2026-08-11 16:49: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-08-11 16:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330453504001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377820752541384704,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6938921101709412352,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786447085000,"timestamp_ms":1786447085000,"timestamp_seconds":1786447085,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08b3dc8"} 
[2026-08-11 16:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:49: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":184,"data_length":795,"current_offset":136} 
[2026-08-11 16:49:34] 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-08-11 16:49: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-08-11 16:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:49:34] 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-08-11 16:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330453504001,"66":27832,"158":206,"83":17152,"24":21,"16":377820752541384704,"45":-6938921101709412352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,83,24,16,45]} 
[2026-08-11 16:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330453504001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:49:34] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 16:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377820752541384704,"km_value":377820752541384.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6938921101709412352,"description":"Unknown IO ID 45"} 
[2026-08-11 16:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330453504001,"power":27832,"unknown_158":206,"unknown_83":17152,"ignition":21,"odometer":null,"unknown_45":-6938921101709412352}} 
[2026-08-11 16:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":152332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:49:34] local.INFO: GPS data processed {"connection_id":152332,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:49:34] local.INFO: Acknowledgment sent {"connection_id":152332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:49:36] local.INFO: TCP Data received {"connection_id":152332,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08b4598012d9fad4005a02498000a00fa2e..."} 
[2026-08-11 16:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08b4598012d9fad4005a02498000a00fa2e..."} 
[2026-08-11 16:49:36] local.INFO: Processing buffer {"connection_id":152332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08b4598012d9fad4005a02498000a00fa2e..."} 
[2026-08-11 16:49:36] local.INFO: Packet analysis {"connection_id":152332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:49:36] local.INFO: Extracted packet for processing {"connection_id":152332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:49:36] local.INFO: GPS Element Parsed {"raw_longitude":765439296,"raw_latitude":94381208,"longitude_deg":76.5439296,"latitude_deg":9.4381208,"altitude":10,"angle":250,"satellites":46,"speed":25,"hex_longitude":"2d9fad40","hex_latitude":"05a02498","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330453760001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377820812670926848,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6939484051662835712,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786447087000,"timestamp_ms":1786447087000,"timestamp_seconds":1786447087,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08b4598"} 
[2026-08-11 16:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":184,"data_length":795,"current_offset":136} 
[2026-08-11 16:49: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-08-11 16: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-08-11 16:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:49:36] 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-08-11 16:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330453760001,"66":27517,"158":206,"83":17152,"24":25,"16":377820812670926848,"45":-6939484051662835712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,83,24,16,45]} 
[2026-08-11 16:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330453760001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:49:36] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 16:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377820812670926848,"km_value":377820812670926.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6939484051662835712,"description":"Unknown IO ID 45"} 
[2026-08-11 16:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330453760001,"power":27517,"unknown_158":206,"unknown_83":17152,"ignition":25,"odometer":null,"unknown_45":-6939484051662835712}} 
[2026-08-11 16:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":152332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:49:36] local.INFO: GPS data processed {"connection_id":152332,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:49:36] local.INFO: Acknowledgment sent {"connection_id":152332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:49:45] local.INFO: TCP Data received {"connection_id":152698,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:49:45] local.INFO: Processing buffer {"connection_id":152698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:49:45] local.INFO: Packet analysis {"connection_id":152698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:49:45] local.INFO: Extracted packet for processing {"connection_id":152698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:49:45] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:49: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-08-11 16:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330350848001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863506304418146304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786446988000,"timestamp_ms":1786446988000,"timestamp_seconds":1786446988,"priority":1,"record_length":96,"hex_timestamp":"0000019ff089c2e0"} 
[2026-08-11 16:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16:49: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-11 16:49:45] 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-08-11 16:49: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-08-11 16:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330350848001,"66":12330,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8863506304418146304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330350848001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:49:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:49:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863506304418146304,"description":"Unknown IO ID 45"} 
[2026-08-11 16:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330350848001,"power":12330,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863506304418146304}} 
[2026-08-11 16:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":152698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:49:46] local.INFO: GPS data processed {"connection_id":152698,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:49:46] local.INFO: Acknowledgment sent {"connection_id":152698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:49:52] local.INFO: TCP Data received {"connection_id":153642,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff089de38012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff089de38012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:49:52] local.INFO: Processing buffer {"connection_id":153642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff089de38012d1968c0071fee68003e011c27..."} 
[2026-08-11 16:49:52] local.INFO: Packet analysis {"connection_id":153642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:49:52] local.INFO: Extracted packet for processing {"connection_id":153642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:49:52] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533160,"longitude_deg":75.6639936,"latitude_deg":11.953316,"altitude":62,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330425344001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709850375421952,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359128576,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49: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-08-11 16:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786446995000,"timestamp_ms":1786446995000,"timestamp_seconds":1786446995,"priority":1,"record_length":96,"hex_timestamp":"0000019ff089de38"} 
[2026-08-11 16:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:49: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-08-11 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 16:49: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-08-11 16: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-08-11 16:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330425344001,"66":12439,"103":206,"83":41984,"24":0,"16":11709850375421952,"45":1830924385359128576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330425344001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:49:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:49:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709850375421952,"km_value":11709850375421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359128576,"description":"Unknown IO ID 45"} 
[2026-08-11 16:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330425344001,"power":12439,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359128576}} 
[2026-08-11 16:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":153642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:49:52] local.INFO: GPS data processed {"connection_id":153642,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:49:52] local.INFO: Acknowledgment sent {"connection_id":153642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:49:58] local.INFO: TCP Data received {"connection_id":153643,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08b4598012d0aef8007066df8000e00a623..."} 
[2026-08-11 16:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08b4598012d0aef8007066df8000e00a623..."} 
[2026-08-11 16:49:58] local.INFO: Processing buffer {"connection_id":153643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08b4598012d0aef8007066df8000e00a623..."} 
[2026-08-11 16:49:58] local.INFO: Packet analysis {"connection_id":153643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:49:58] local.INFO: Extracted packet for processing {"connection_id":153643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:49:58] local.INFO: GPS Element Parsed {"raw_longitude":755691392,"raw_latitude":117861880,"longitude_deg":75.5691392,"latitude_deg":11.786188,"altitude":14,"angle":166,"satellites":35,"speed":5,"hex_longitude":"2d0aef80","hex_latitude":"07066df8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330453760001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27699120265232384,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787918858730014720,"note":"Value kept but may cause issues"} 
[2026-08-11 16:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786447087000,"timestamp_ms":1786447087000,"timestamp_seconds":1786447087,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08b4598"} 
[2026-08-11 16:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:49:58] 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-08-11 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-11 16:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":153643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":153643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":153643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330453760001,"66":14396,"163":206,"94":10240,"24":5,"16":27699120265232384,"45":787918858730014720},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-11 16:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330453760001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:49:58] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 16:49:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27699120265232384,"km_value":27699120265232.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":787918858730014720,"description":"Unknown IO ID 45"} 
[2026-08-11 16:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330453760001,"power":14396,"unknown_163":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":787918858730014720}} 
[2026-08-11 16:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":153643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625974,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:49:59] local.INFO: GPS data processed {"connection_id":153643,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:49:59] local.INFO: Acknowledgment sent {"connection_id":153643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:50:08] local.INFO: TCP Data received {"connection_id":152700,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:50:08] local.INFO: Processing buffer {"connection_id":152700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:50:08] local.INFO: IMEI packet received {"connection_id":152700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":152700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:50:10] local.INFO: TCP Data received {"connection_id":152699,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:50:10] local.INFO: Processing buffer {"connection_id":152699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:50:10] local.INFO: IMEI packet received {"connection_id":152699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":152699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:50:10] local.INFO: TCP Data received {"connection_id":152699,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:50:10] local.INFO: Processing buffer {"connection_id":152699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:50:10] local.INFO: IMEI packet received {"connection_id":152699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":152699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:50:11] local.INFO: TCP Data received {"connection_id":152699,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:50:11] local.INFO: Processing buffer {"connection_id":152699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:50:11] local.INFO: IMEI packet received {"connection_id":152699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":152699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:50:12] local.INFO: TCP Data received {"connection_id":152699,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08c37c8012d1969c0071fecf0003e009227..."} 
[2026-08-11 16:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08c37c8012d1969c0071fecf0003e009227..."} 
[2026-08-11 16:50:12] local.INFO: Processing buffer {"connection_id":152699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08c37c8012d1969c0071fecf0003e009227..."} 
[2026-08-11 16:50:12] local.INFO: Packet analysis {"connection_id":152699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08c"} 
[2026-08-11 16:50:12] local.INFO: Extracted packet for processing {"connection_id":152699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08c"} 
[2026-08-11 16:50:12] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532784,"longitude_deg":75.6640192,"latitude_deg":11.9532784,"altitude":62,"angle":146,"satellites":39,"speed":2,"hex_longitude":"2d1969c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330469888001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11709884735160320,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335755264,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:12] 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-08-11 16:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786447149000,"timestamp_ms":1786447149000,"timestamp_seconds":1786447149,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08c37c8"} 
[2026-08-11 16:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:50: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-08-11 16: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-11 16:50:12] 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-08-11 16: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-08-11 16:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330469888001,"66":13993,"103":206,"83":41984,"24":2,"16":11709884735160320,"45":1831205860335755264},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330469888001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:50:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:50:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11709884735160320,"km_value":11709884735160.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335755264,"description":"Unknown IO ID 45"} 
[2026-08-11 16:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330469888001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1831205860335755264}} 
[2026-08-11 16:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":152699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:50:12] local.INFO: GPS data processed {"connection_id":152699,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:50:12] local.INFO: Acknowledgment sent {"connection_id":152699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:50:13] local.INFO: TCP Data received {"connection_id":152700,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:50:13] local.INFO: Processing buffer {"connection_id":152700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:50:13] local.INFO: IMEI packet received {"connection_id":152700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":152700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:50:14] local.INFO: TCP Data received {"connection_id":152700,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:50:14] local.INFO: Processing buffer {"connection_id":152700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff089c2e0012d7b038005e347980002012c2a..."} 
[2026-08-11 16:50:14] local.INFO: Packet analysis {"connection_id":152700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:50:14] local.INFO: Extracted packet for processing {"connection_id":152700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff089"} 
[2026-08-11 16:50:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330350848001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863506304418146304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786446988000,"timestamp_ms":1786446988000,"timestamp_seconds":1786446988,"priority":1,"record_length":96,"hex_timestamp":"0000019ff089c2e0"} 
[2026-08-11 16:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-11 16:50:14] 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-08-11 16: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-08-11 16:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:50:14] 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-08-11 16:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330350848001,"66":12330,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8863506304418146304},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330350848001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:50:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:50:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863506304418146304,"description":"Unknown IO ID 45"} 
[2026-08-11 16:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330350848001,"power":12330,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863506304418146304}} 
[2026-08-11 16:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":152700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:50:14] local.INFO: GPS data processed {"connection_id":152700,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:50:14] local.INFO: Acknowledgment sent {"connection_id":152700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:50:19] local.INFO: TCP Data received {"connection_id":153644,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:50:19] local.INFO: Processing buffer {"connection_id":153644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:50:19] local.INFO: IMEI packet received {"connection_id":153644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":153644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:50:19] local.INFO: TCP Data received {"connection_id":153644,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:50:19] local.INFO: Processing buffer {"connection_id":153644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:50:19] local.INFO: IMEI packet received {"connection_id":153644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":153644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:50:22] local.INFO: TCP Data received {"connection_id":153645,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:50:22] local.INFO: Processing buffer {"connection_id":153645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:50:22] local.INFO: IMEI packet received {"connection_id":153645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":153645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:50:24] local.INFO: TCP Data received {"connection_id":153644,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:50:24] local.INFO: Processing buffer {"connection_id":153644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:50:24] local.INFO: IMEI packet received {"connection_id":153644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":153644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:50:24] local.INFO: TCP Data received {"connection_id":153644,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08b7090012d9f8b8005a017c0000900f82c..."} 
[2026-08-11 16:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08b7090012d9f8b8005a017c0000900f82c..."} 
[2026-08-11 16:50:24] local.INFO: Processing buffer {"connection_id":153644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08b7090012d9f8b8005a017c0000900f82c..."} 
[2026-08-11 16:50:24] local.INFO: Packet analysis {"connection_id":153644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:50:24] local.INFO: Extracted packet for processing {"connection_id":153644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:50:24] local.INFO: GPS Element Parsed {"raw_longitude":765430656,"raw_latitude":94377920,"longitude_deg":76.5430656,"latitude_deg":9.437792,"altitude":9,"angle":248,"satellites":44,"speed":37,"hex_longitude":"2d9f8b80","hex_latitude":"05a017c0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330454272001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377821255052558336,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6940821057802299392,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786447098000,"timestamp_ms":1786447098000,"timestamp_seconds":1786447098,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08b7090"} 
[2026-08-11 16:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 16:50:24] 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-08-11 16: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-08-11 16:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:50:24] 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-08-11 16:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330454272001,"66":27865,"158":206,"83":17152,"24":37,"16":377821255052558336,"45":-6940821057802299392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,83,24,16,45]} 
[2026-08-11 16:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330454272001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:50:24] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 16:50:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377821255052558336,"km_value":377821255052558.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6940821057802299392,"description":"Unknown IO ID 45"} 
[2026-08-11 16:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330454272001,"power":27865,"unknown_158":206,"unknown_83":17152,"ignition":37,"odometer":null,"unknown_45":-6940821057802299392}} 
[2026-08-11 16:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":153644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:50:24] local.INFO: GPS data processed {"connection_id":153644,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:50:24] local.INFO: Acknowledgment sent {"connection_id":153644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:50:27] local.INFO: TCP Data received {"connection_id":153645,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:50:27] local.INFO: Processing buffer {"connection_id":153645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:50:27] local.INFO: IMEI packet received {"connection_id":153645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":153645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:50:28] local.INFO: TCP Data received {"connection_id":153645,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08b7478012d0af38007065f28000e009723..."} 
[2026-08-11 16:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08b7478012d0af38007065f28000e009723..."} 
[2026-08-11 16:50:28] local.INFO: Processing buffer {"connection_id":153645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08b7478012d0af38007065f28000e009723..."} 
[2026-08-11 16:50:28] local.INFO: Packet analysis {"connection_id":153645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:50:28] local.INFO: Extracted packet for processing {"connection_id":153645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:50:28] local.INFO: GPS Element Parsed {"raw_longitude":755692416,"raw_latitude":117858088,"longitude_deg":75.5692416,"latitude_deg":11.7858088,"altitude":14,"angle":151,"satellites":35,"speed":20,"hex_longitude":"2d0af380","hex_latitude":"07065f28","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330454272001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27699313538760704,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787989227474122752,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786447099000,"timestamp_ms":1786447099000,"timestamp_seconds":1786447099,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08b7478"} 
[2026-08-11 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-08-11 16:50: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-08-11 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 16:50:28] 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-08-11 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-08-11 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-08-11 16:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330454272001,"66":14439,"163":206,"94":10240,"24":20,"16":27699313538760704,"45":787989227474122752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-11 16:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330454272001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:50:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-11 16:50:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27699313538760704,"km_value":27699313538760.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":787989227474122752,"description":"Unknown IO ID 45"} 
[2026-08-11 16:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330454272001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":787989227474122752}} 
[2026-08-11 16:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":153645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625978,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:50:28] local.INFO: GPS data processed {"connection_id":153645,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:50:28] local.INFO: Acknowledgment sent {"connection_id":153645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:50:43] local.INFO: TCP Data received {"connection_id":152699,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08ceb78012d19a440071ff190003b005c28..."} 
[2026-08-11 16:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08ceb78012d19a440071ff190003b005c28..."} 
[2026-08-11 16:50:43] local.INFO: Processing buffer {"connection_id":152699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08ceb78012d19a440071ff190003b005c28..."} 
[2026-08-11 16:50:43] local.INFO: Packet analysis {"connection_id":152699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08c"} 
[2026-08-11 16:50:43] local.INFO: Extracted packet for processing {"connection_id":152699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08c"} 
[2026-08-11 16:50:43] local.INFO: GPS Element Parsed {"raw_longitude":756655168,"raw_latitude":119533968,"longitude_deg":75.6655168,"latitude_deg":11.9533968,"altitude":59,"angle":92,"satellites":40,"speed":13,"hex_longitude":"2d19a440","hex_latitude":"071ff190","is_valid_coordinates":true} 
[2026-08-11 16:50: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-08-11 16:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330481152001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11710619174567936,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846616615310876672,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:43] 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-08-11 16:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786447195000,"timestamp_ms":1786447195000,"timestamp_seconds":1786447195,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08ceb78"} 
[2026-08-11 16:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:50: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-08-11 16:50: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-11 16:50:43] 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-08-11 16:50: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-08-11 16:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330481152001,"66":14233,"101":206,"83":41984,"24":13,"16":11710619174567936,"45":1846616615310876672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 16:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330481152001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:50:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 16:50:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11710619174567936,"km_value":11710619174567.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846616615310876672,"description":"Unknown IO ID 45"} 
[2026-08-11 16:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330481152001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1846616615310876672}} 
[2026-08-11 16:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":152699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:50:43] local.INFO: GPS data processed {"connection_id":152699,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:50:43] local.INFO: Acknowledgment sent {"connection_id":152699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:50:45] local.INFO: TCP Data received {"connection_id":152700,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08d9758012d7b038005e347980002012c2b..."} 
[2026-08-11 16:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08d9758012d7b038005e347980002012c2b..."} 
[2026-08-11 16:50:45] local.INFO: Processing buffer {"connection_id":152700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08d9758012d7b038005e347980002012c2b..."} 
[2026-08-11 16:50:45] local.INFO: Packet analysis {"connection_id":152700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:50:45] local.INFO: Extracted packet for processing {"connection_id":152700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:50:45] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:50:45] 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-08-11 16:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330428928001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786447239000,"timestamp_ms":1786447239000,"timestamp_seconds":1786447239,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08d9758"} 
[2026-08-11 16:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16:50: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-11 16:50:45] 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-08-11 16:50: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-08-11 16:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:50:45] 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-08-11 16:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330428928001,"66":12526,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330428928001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:50:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:50:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330428928001,"power":12526,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":152700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:50:45] local.INFO: GPS data processed {"connection_id":152700,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:50:45] local.INFO: Acknowledgment sent {"connection_id":152700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:50:55] local.INFO: TCP Data received {"connection_id":153644,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08b97a0012d9f674005a00a10000900fa29..."} 
[2026-08-11 16:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08b97a0012d9f674005a00a10000900fa29..."} 
[2026-08-11 16:50:55] local.INFO: Processing buffer {"connection_id":153644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08b97a0012d9f674005a00a10000900fa29..."} 
[2026-08-11 16:50:55] local.INFO: Packet analysis {"connection_id":153644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:50:55] local.INFO: Extracted packet for processing {"connection_id":153644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:50:55] local.INFO: GPS Element Parsed {"raw_longitude":765421376,"raw_latitude":94374416,"longitude_deg":76.5421376,"latitude_deg":9.4374416,"altitude":9,"angle":250,"satellites":41,"speed":40,"hex_longitude":"2d9f6740","hex_latitude":"05a00a10","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330457088001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377821731793928192,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6950320838267125760,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786447108000,"timestamp_ms":1786447108000,"timestamp_seconds":1786447108,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08b97a0"} 
[2026-08-11 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-08-11 16:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 16:50:55] 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-08-11 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-08-11 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-08-11 16:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:50:55] 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-08-11 16:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330457088001,"66":27800,"158":206,"83":17152,"24":40,"16":377821731793928192,"45":-6950320838267125760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,83,24,16,45]} 
[2026-08-11 16:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330457088001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:50:55] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-11 16:50:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377821731793928192,"km_value":377821731793928.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6950320838267125760,"description":"Unknown IO ID 45"} 
[2026-08-11 16:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330457088001,"power":27800,"unknown_158":206,"unknown_83":17152,"ignition":40,"odometer":null,"unknown_45":-6950320838267125760}} 
[2026-08-11 16:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":153644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:50:55] local.INFO: GPS data processed {"connection_id":153644,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:50:55] local.INFO: Acknowledgment sent {"connection_id":153644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:50:59] local.INFO: TCP Data received {"connection_id":153645,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08bb6e0012d0b0600070640d0000e009423..."} 
[2026-08-11 16:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08bb6e0012d0b0600070640d0000e009423..."} 
[2026-08-11 16:50:59] local.INFO: Processing buffer {"connection_id":153645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08bb6e0012d0b0600070640d0000e009423..."} 
[2026-08-11 16:50:59] local.INFO: Packet analysis {"connection_id":153645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:50:59] local.INFO: Extracted packet for processing {"connection_id":153645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08b"} 
[2026-08-11 16:50:59] local.INFO: GPS Element Parsed {"raw_longitude":755697152,"raw_latitude":117850320,"longitude_deg":75.5697152,"latitude_deg":11.785032,"altitude":14,"angle":148,"satellites":35,"speed":18,"hex_longitude":"2d0b0600","hex_latitude":"070640d0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330457344001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27699751625424896,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789115127379994624,"note":"Value kept but may cause issues"} 
[2026-08-11 16:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786447116000,"timestamp_ms":1786447116000,"timestamp_seconds":1786447116,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08bb6e0"} 
[2026-08-11 16:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:50: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-08-11 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 16:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330457344001,"66":14352,"165":206,"94":10240,"24":18,"16":27699751625424896,"45":789115127379994624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-11 16:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330457344001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:50:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 16:50:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27699751625424896,"km_value":27699751625424.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":789115127379994624,"description":"Unknown IO ID 45"} 
[2026-08-11 16:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330457344001,"power":14352,"unknown_165":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":789115127379994624}} 
[2026-08-11 16:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":153645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625982,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:50:59] local.INFO: GPS data processed {"connection_id":153645,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:50:59] local.INFO: Acknowledgment sent {"connection_id":153645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:51:10] local.INFO: TCP Data received {"connection_id":153646,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:51:10] local.INFO: Processing buffer {"connection_id":153646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:51:10] local.INFO: IMEI packet received {"connection_id":153646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":153646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:51:12] local.INFO: TCP Data received {"connection_id":153646,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:51:12] local.INFO: Processing buffer {"connection_id":153646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:51:12] local.INFO: IMEI packet received {"connection_id":153646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":153646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:51:13] local.INFO: TCP Data received {"connection_id":152333,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:51:13] local.INFO: Processing buffer {"connection_id":152333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:51:13] local.INFO: IMEI packet received {"connection_id":152333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":152333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:51:16] local.INFO: TCP Data received {"connection_id":153646,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08cef60012d19a640071ff138003b006828..."} 
[2026-08-11 16:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08cef60012d19a640071ff138003b006828..."} 
[2026-08-11 16:51:16] local.INFO: Processing buffer {"connection_id":153646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08cef60012d19a640071ff138003b006828..."} 
[2026-08-11 16:51:16] local.INFO: Packet analysis {"connection_id":153646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08c"} 
[2026-08-11 16:51:16] local.INFO: Extracted packet for processing {"connection_id":153646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08c"} 
[2026-08-11 16:51:16] local.INFO: GPS Element Parsed {"raw_longitude":756655680,"raw_latitude":119533880,"longitude_deg":75.665568,"latitude_deg":11.953388,"altitude":59,"angle":104,"satellites":40,"speed":16,"hex_longitude":"2d19a640","hex_latitude":"071ff138","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330481920001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11710640649404416,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847672146473619456,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:16] 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-08-11 16:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786447196000,"timestamp_ms":1786447196000,"timestamp_seconds":1786447196,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08cef60"} 
[2026-08-11 16:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:51: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-08-11 16: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-11 16:51:16] 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-08-11 16: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-08-11 16:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330481920001,"66":14233,"101":206,"83":41984,"24":16,"16":11710640649404416,"45":1847672146473619456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 16:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330481920001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:51:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 16:51:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11710640649404416,"km_value":11710640649404.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847672146473619456,"description":"Unknown IO ID 45"} 
[2026-08-11 16:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330481920001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1847672146473619456}} 
[2026-08-11 16:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":153646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:51:16] local.INFO: GPS data processed {"connection_id":153646,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:51:16] local.INFO: Acknowledgment sent {"connection_id":153646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:51:18] local.INFO: TCP Data received {"connection_id":152333,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:51:18] local.INFO: Processing buffer {"connection_id":152333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:51:18] local.INFO: IMEI packet received {"connection_id":152333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":152333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:51:19] local.INFO: TCP Data received {"connection_id":152334,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:51:19] local.INFO: Processing buffer {"connection_id":152334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:51:19] local.INFO: IMEI packet received {"connection_id":152334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":152334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:51:19] local.INFO: TCP Data received {"connection_id":152333,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08d9758012d7b038005e347980002012c2b..."} 
[2026-08-11 16:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08d9758012d7b038005e347980002012c2b..."} 
[2026-08-11 16:51:19] local.INFO: Processing buffer {"connection_id":152333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08d9758012d7b038005e347980002012c2b..."} 
[2026-08-11 16:51:19] local.INFO: Packet analysis {"connection_id":152333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:51:19] local.INFO: Extracted packet for processing {"connection_id":152333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:51:19] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:51:19] 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-08-11 16:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330493184001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786447239000,"timestamp_ms":1786447239000,"timestamp_seconds":1786447239,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08d9758"} 
[2026-08-11 16:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:51:19] 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-08-11 16:51: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 16:51:19] 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-08-11 16:51: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-08-11 16:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330493184001,"66":12526,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330493184001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:51:19] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:51:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330493184001,"power":12526,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":152333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:51:19] local.INFO: GPS data processed {"connection_id":152333,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:51:19] local.INFO: Acknowledgment sent {"connection_id":152333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:51:22] local.INFO: TCP Data received {"connection_id":153647,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:51:22] local.INFO: Processing buffer {"connection_id":153647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:51:22] local.INFO: IMEI packet received {"connection_id":153647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":153647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:51:23] local.INFO: TCP Data received {"connection_id":153647,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:51:23] local.INFO: Processing buffer {"connection_id":153647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:51:23] local.INFO: IMEI packet received {"connection_id":153647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":153647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:51:24] local.INFO: TCP Data received {"connection_id":152334,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:51:24] local.INFO: Processing buffer {"connection_id":152334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:51:24] local.INFO: IMEI packet received {"connection_id":152334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":152334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:51:24] local.INFO: TCP Data received {"connection_id":152334,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08d3d80012d9deb00059f7a50000800fa2c..."} 
[2026-08-11 16:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08d3d80012d9deb00059f7a50000800fa2c..."} 
[2026-08-11 16:51:24] local.INFO: Processing buffer {"connection_id":152334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08d3d80012d9deb00059f7a50000800fa2c..."} 
[2026-08-11 16:51:24] local.INFO: Packet analysis {"connection_id":152334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:51:24] local.INFO: Extracted packet for processing {"connection_id":152334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:51:24] local.INFO: GPS Element Parsed {"raw_longitude":765324032,"raw_latitude":94337616,"longitude_deg":76.5324032,"latitude_deg":9.4337616,"altitude":8,"angle":250,"satellites":44,"speed":34,"hex_longitude":"2d9deb00","hex_latitude":"059f7a50","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330484480001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377826718250958848,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7057492435659214848,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786447216000,"timestamp_ms":1786447216000,"timestamp_seconds":1786447216,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08d3d80"} 
[2026-08-11 16:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 16:51:24] 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-08-11 16: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-08-11 16:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:51:24] 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-08-11 16:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330484480001,"66":27767,"132":206,"83":17152,"24":34,"16":377826718250958848,"45":-7057492435659214848},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330484480001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:51:24] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:51:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377826718250958848,"km_value":377826718250958.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7057492435659214848,"description":"Unknown IO ID 45"} 
[2026-08-11 16:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330484480001,"power":27767,"unknown_132":206,"unknown_83":17152,"ignition":34,"odometer":null,"unknown_45":-7057492435659214848}} 
[2026-08-11 16:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":152334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:51:24] local.INFO: GPS data processed {"connection_id":152334,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:51:24] local.INFO: Acknowledgment sent {"connection_id":152334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:51:27] local.INFO: TCP Data received {"connection_id":153647,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:51:27] local.INFO: Processing buffer {"connection_id":153647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:51:27] local.INFO: IMEI packet received {"connection_id":153647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":153647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:51:27] local.INFO: TCP Data received {"connection_id":153647,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08de960012d0b4d000705fe68001000ac22..."} 
[2026-08-11 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08de960012d0b4d000705fe68001000ac22..."} 
[2026-08-11 16:51:27] local.INFO: Processing buffer {"connection_id":153647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08de960012d0b4d000705fe68001000ac22..."} 
[2026-08-11 16:51:27] local.INFO: Packet analysis {"connection_id":153647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:51:27] local.INFO: Extracted packet for processing {"connection_id":153647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":755715328,"raw_latitude":117833320,"longitude_deg":75.5715328,"latitude_deg":11.783332,"altitude":16,"angle":172,"satellites":34,"speed":0,"hex_longitude":"2d0b4d00","hex_latitude":"0705fe68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330498304001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27701345058291712,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814236769045108736,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786447260000,"timestamp_ms":1786447260000,"timestamp_seconds":1786447260,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08de960"} 
[2026-08-11 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-08-11 16:51: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-08-11 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 16:51: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-08-11 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-08-11 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-08-11 16:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330498304001,"66":14428,"165":206,"94":10240,"24":0,"16":27701345058291712,"45":814236769045108736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-11 16:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330498304001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:51:27] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 16:51:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27701345058291712,"km_value":27701345058291.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":814236769045108736,"description":"Unknown IO ID 45"} 
[2026-08-11 16:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330498304001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":814236769045108736}} 
[2026-08-11 16:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":153647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625986,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:51:27] local.INFO: GPS data processed {"connection_id":153647,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:51:27] local.INFO: Acknowledgment sent {"connection_id":153647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:51:50] local.INFO: TCP Data received {"connection_id":152333,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:51:50] local.INFO: Processing buffer {"connection_id":152333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:51:50] local.INFO: Packet analysis {"connection_id":152333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:51:50] local.INFO: Extracted packet for processing {"connection_id":152333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:51:50] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:51: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-08-11 16:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330493184001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786447289000,"timestamp_ms":1786447289000,"timestamp_seconds":1786447289,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08e5aa8"} 
[2026-08-11 16:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:51:50] 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-08-11 16:51: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 16:51:50] 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-08-11 16:51: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-08-11 16:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330493184001,"66":2264,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330493184001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:51:50] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:51:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330493184001,"power":2264,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":152333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:51:50] local.INFO: GPS data processed {"connection_id":152333,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:51:50] local.INFO: Acknowledgment sent {"connection_id":152333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:51:55] local.INFO: TCP Data received {"connection_id":152334,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08d6878012d9dc740059f6d98000800f82a..."} 
[2026-08-11 16:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08d6878012d9dc740059f6d98000800f82a..."} 
[2026-08-11 16:51:55] local.INFO: Processing buffer {"connection_id":152334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08d6878012d9dc740059f6d98000800f82a..."} 
[2026-08-11 16:51:55] local.INFO: Packet analysis {"connection_id":152334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:51:55] local.INFO: Extracted packet for processing {"connection_id":152334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:51:55] local.INFO: GPS Element Parsed {"raw_longitude":765314880,"raw_latitude":94334360,"longitude_deg":76.531488,"latitude_deg":9.433436,"altitude":8,"angle":248,"satellites":42,"speed":33,"hex_longitude":"2d9dc740","hex_latitude":"059f6d98","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330487296001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827182107426816,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7067555166077431808,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786447227000,"timestamp_ms":1786447227000,"timestamp_seconds":1786447227,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08d6878"} 
[2026-08-11 16:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 16:51:55] 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-08-11 16: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-08-11 16:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:51:55] 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-08-11 16:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330487296001,"66":27984,"132":206,"83":17152,"24":33,"16":377827182107426816,"45":-7067555166077431808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330487296001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:51:55] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:51:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827182107426816,"km_value":377827182107426.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7067555166077431808,"description":"Unknown IO ID 45"} 
[2026-08-11 16:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330487296001,"power":27984,"unknown_132":206,"unknown_83":17152,"ignition":33,"odometer":null,"unknown_45":-7067555166077431808}} 
[2026-08-11 16:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":152334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:51:55] local.INFO: GPS data processed {"connection_id":152334,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:51:55] local.INFO: Acknowledgment sent {"connection_id":152334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:51:58] local.INFO: TCP Data received {"connection_id":153646,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08dce08012d19cd4007201780002d014328..."} 
[2026-08-11 16:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08dce08012d19cd4007201780002d014328..."} 
[2026-08-11 16:51:58] local.INFO: Processing buffer {"connection_id":153646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08dce08012d19cd4007201780002d014328..."} 
[2026-08-11 16:51:58] local.INFO: Packet analysis {"connection_id":153646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:51:58] local.INFO: Extracted packet for processing {"connection_id":153646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:51:58] local.INFO: GPS Element Parsed {"raw_longitude":756665664,"raw_latitude":119543680,"longitude_deg":75.6665664,"latitude_deg":11.954368,"altitude":45,"angle":323,"satellites":40,"speed":23,"hex_longitude":"2d19cd40","hex_latitude":"07201780","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330495488001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11711748750966784,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470381105152,"note":"Value kept but may cause issues"} 
[2026-08-11 16:51: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-08-11 16:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786447253000,"timestamp_ms":1786447253000,"timestamp_seconds":1786447253,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08dce08"} 
[2026-08-11 16:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16: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-08-11 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 16:51:58] 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-08-11 16: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-08-11 16:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":153646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":153646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":153646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330495488001,"66":14189,"103":206,"83":41984,"24":23,"16":11711748750966784,"45":1860901470381105152},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 16:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330495488001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:51:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 16:51:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11711748750966784,"km_value":11711748750966.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470381105152,"description":"Unknown IO ID 45"} 
[2026-08-11 16:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330495488001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1860901470381105152}} 
[2026-08-11 16:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":153646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:51:58] local.INFO: GPS data processed {"connection_id":153646,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:51:58] local.INFO: Acknowledgment sent {"connection_id":153646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:52:08] local.INFO: TCP Data received {"connection_id":153649,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:52:08] local.INFO: Processing buffer {"connection_id":153649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:52:08] local.INFO: IMEI packet received {"connection_id":153649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":153649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:52:08] local.INFO: TCP Data received {"connection_id":153648,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:52:08] local.INFO: Processing buffer {"connection_id":153648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:52:08] local.INFO: IMEI packet received {"connection_id":153648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":153648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:52:10] local.INFO: TCP Data received {"connection_id":153649,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:52:10] local.INFO: Processing buffer {"connection_id":153649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:52:10] local.INFO: IMEI packet received {"connection_id":153649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":153649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:52:10] local.INFO: TCP Data received {"connection_id":153649,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:52:10] local.INFO: Processing buffer {"connection_id":153649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:52:10] local.INFO: IMEI packet received {"connection_id":153649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":153649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:52:11] local.INFO: TCP Data received {"connection_id":153649,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:52:11] local.INFO: Processing buffer {"connection_id":153649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:52:11] local.INFO: IMEI packet received {"connection_id":153649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":153649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:52:13] local.INFO: TCP Data received {"connection_id":153648,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:52:13] local.INFO: Processing buffer {"connection_id":153648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:52:13] local.INFO: IMEI packet received {"connection_id":153648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":153648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:52:14] local.INFO: TCP Data received {"connection_id":153648,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:52:14] local.INFO: Processing buffer {"connection_id":153648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:52:14] local.INFO: Packet analysis {"connection_id":153648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:52:14] local.INFO: Extracted packet for processing {"connection_id":153648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:52:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:52: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-08-11 16:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330493184001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786447289000,"timestamp_ms":1786447289000,"timestamp_seconds":1786447289,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08e5aa8"} 
[2026-08-11 16:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:52:14] 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-08-11 16:52: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 16:52:14] 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-08-11 16:52: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-08-11 16:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330493184001,"66":2264,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330493184001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:52:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:52:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330493184001,"power":2264,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":153648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:52:14] local.INFO: GPS data processed {"connection_id":153648,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:52:14] local.INFO: Acknowledgment sent {"connection_id":153648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:52:24] local.INFO: TCP Data received {"connection_id":155039,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:52:24] local.INFO: Processing buffer {"connection_id":155039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:52:24] local.INFO: IMEI packet received {"connection_id":155039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":155039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:52:30] local.INFO: TCP Data received {"connection_id":155039,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:52:30] local.INFO: Processing buffer {"connection_id":155039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:52:30] local.INFO: IMEI packet received {"connection_id":155039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":155039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:52:32] local.INFO: TCP Data received {"connection_id":155039,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:52:32] local.INFO: Processing buffer {"connection_id":155039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:52:32] local.INFO: Packet analysis {"connection_id":155039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:52:32] local.INFO: Extracted packet for processing {"connection_id":155039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:52:32] local.INFO: GPS Element Parsed {"raw_longitude":765313280,"raw_latitude":94333776,"longitude_deg":76.531328,"latitude_deg":9.4333776,"altitude":8,"angle":247,"satellites":43,"speed":32,"hex_longitude":"2d9dc100","hex_latitude":"059f6b50","is_valid_coordinates":true} 
[2026-08-11 16:52:32] 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-08-11 16:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490112001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077617896495671296,"note":"Value kept but may cause issues"} 
[2026-08-11 16:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786447229000,"timestamp_ms":1786447229000,"timestamp_seconds":1786447229,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08d7048"} 
[2026-08-11 16:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:52: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 16:52:32] 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-08-11 16:52: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-08-11 16:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":155039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":155039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":155039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:52:32] 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-08-11 16:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490112001,"66":28050,"132":206,"83":17152,"24":32,"16":377827263711805440,"45":-7077617896495671296},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490112001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:52:32] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:52:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077617896495671296,"description":"Unknown IO ID 45"} 
[2026-08-11 16:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490112001,"power":28050,"unknown_132":206,"unknown_83":17152,"ignition":32,"odometer":null,"unknown_45":-7077617896495671296}} 
[2026-08-11 16:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":155039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:52:32] local.INFO: GPS data processed {"connection_id":155039,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:52:32] local.INFO: Acknowledgment sent {"connection_id":155039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:52:46] local.INFO: TCP Data received {"connection_id":153648,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:52:46] local.INFO: Processing buffer {"connection_id":153648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:52:46] local.INFO: Packet analysis {"connection_id":153648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:52:46] local.INFO: Extracted packet for processing {"connection_id":153648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:52:46] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:52: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-08-11 16:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330493184001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786447289000,"timestamp_ms":1786447289000,"timestamp_seconds":1786447289,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08e5aa8"} 
[2026-08-11 16:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:52:46] 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-08-11 16:52: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 16:52:46] 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-08-11 16:52: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-08-11 16:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330493184001,"66":2264,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330493184001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:52:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:52:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330493184001,"power":2264,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":153648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:52:46] local.INFO: GPS data processed {"connection_id":153648,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:52:46] local.INFO: Acknowledgment sent {"connection_id":153648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:53:04] local.INFO: TCP Data received {"connection_id":155039,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:53:04] local.INFO: Processing buffer {"connection_id":155039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:53:04] local.INFO: Packet analysis {"connection_id":155039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:53:04] local.INFO: Extracted packet for processing {"connection_id":155039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:53:04] local.INFO: GPS Element Parsed {"raw_longitude":765313280,"raw_latitude":94333776,"longitude_deg":76.531328,"latitude_deg":9.4333776,"altitude":8,"angle":247,"satellites":43,"speed":32,"hex_longitude":"2d9dc100","hex_latitude":"059f6b50","is_valid_coordinates":true} 
[2026-08-11 16:53: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-08-11 16:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490112001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077617896495671296,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786447229000,"timestamp_ms":1786447229000,"timestamp_seconds":1786447229,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08d7048"} 
[2026-08-11 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-08-11 16:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 16:53: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-08-11 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-08-11 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-08-11 16:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":155039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":155039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":155039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:53: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-08-11 16:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490112001,"66":28050,"132":206,"83":17152,"24":32,"16":377827263711805440,"45":-7077617896495671296},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490112001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:53:04] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:53:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077617896495671296,"description":"Unknown IO ID 45"} 
[2026-08-11 16:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490112001,"power":28050,"unknown_132":206,"unknown_83":17152,"ignition":32,"odometer":null,"unknown_45":-7077617896495671296}} 
[2026-08-11 16:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":155039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:53:04] local.INFO: GPS data processed {"connection_id":155039,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:53:04] local.INFO: Acknowledgment sent {"connection_id":155039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:53:09] local.INFO: TCP Data received {"connection_id":155040,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:53:09] local.INFO: Processing buffer {"connection_id":155040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:53:09] local.INFO: IMEI packet received {"connection_id":155040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":155040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:53:13] local.INFO: TCP Data received {"connection_id":155040,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:53:13] local.INFO: Processing buffer {"connection_id":155040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:53:13] local.INFO: IMEI packet received {"connection_id":155040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":155040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:53:14] local.INFO: TCP Data received {"connection_id":155040,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:53:14] local.INFO: Processing buffer {"connection_id":155040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:53:14] local.INFO: Packet analysis {"connection_id":155040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:53:14] local.INFO: Extracted packet for processing {"connection_id":155040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:53:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330493184001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786447289000,"timestamp_ms":1786447289000,"timestamp_seconds":1786447289,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08e5aa8"} 
[2026-08-11 16:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:53:14] 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-08-11 16: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 16:53:14] 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-08-11 16: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-08-11 16:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330493184001,"66":2264,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330493184001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:53:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:53:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330493184001,"power":2264,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":155040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:53:14] local.INFO: GPS data processed {"connection_id":155040,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:53:14] local.INFO: Acknowledgment sent {"connection_id":155040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:53:19] local.INFO: TCP Data received {"connection_id":152702,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:53:19] local.INFO: Processing buffer {"connection_id":152702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:53:19] local.INFO: IMEI packet received {"connection_id":152702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":152702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:53:24] local.INFO: TCP Data received {"connection_id":152702,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:53:24] local.INFO: Processing buffer {"connection_id":152702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:53:24] local.INFO: IMEI packet received {"connection_id":152702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":152702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:53:24] local.INFO: TCP Data received {"connection_id":152702,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:53:24] local.INFO: Processing buffer {"connection_id":152702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:53:24] local.INFO: Packet analysis {"connection_id":152702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:53:24] local.INFO: Extracted packet for processing {"connection_id":152702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:53:24] local.INFO: GPS Element Parsed {"raw_longitude":765313280,"raw_latitude":94333776,"longitude_deg":76.531328,"latitude_deg":9.4333776,"altitude":8,"angle":247,"satellites":43,"speed":32,"hex_longitude":"2d9dc100","hex_latitude":"059f6b50","is_valid_coordinates":true} 
[2026-08-11 16:53:24] 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-08-11 16:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490112001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077617896495671296,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786447229000,"timestamp_ms":1786447229000,"timestamp_seconds":1786447229,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08d7048"} 
[2026-08-11 16:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 16:53:24] 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-08-11 16: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-08-11 16:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:53:24] 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-08-11 16:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490112001,"66":28050,"132":206,"83":17152,"24":32,"16":377827263711805440,"45":-7077617896495671296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490112001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:53:24] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:53:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077617896495671296,"description":"Unknown IO ID 45"} 
[2026-08-11 16:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490112001,"power":28050,"unknown_132":206,"unknown_83":17152,"ignition":32,"odometer":null,"unknown_45":-7077617896495671296}} 
[2026-08-11 16:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":152702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:53:24] local.INFO: GPS data processed {"connection_id":152702,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:53:24] local.INFO: Acknowledgment sent {"connection_id":152702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:53:34] local.INFO: TCP Data received {"connection_id":153650,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:53:34] local.INFO: Processing buffer {"connection_id":153650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:53:34] local.INFO: IMEI packet received {"connection_id":153650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":153650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:53:36] local.INFO: TCP Data received {"connection_id":153650,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:53:36] local.INFO: Processing buffer {"connection_id":153650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:53:36] local.INFO: IMEI packet received {"connection_id":153650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":153650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:53:42] local.INFO: TCP Data received {"connection_id":153650,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:53:42] local.INFO: Processing buffer {"connection_id":153650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:53:42] local.INFO: IMEI packet received {"connection_id":153650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":153650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:53:43] local.INFO: TCP Data received {"connection_id":153650,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08ffca0012d0c8c000704db50001a009822..."} 
[2026-08-11 16:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08ffca0012d0c8c000704db50001a009822..."} 
[2026-08-11 16:53:43] local.INFO: Processing buffer {"connection_id":153650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08ffca0012d0c8c000704db50001a009822..."} 
[2026-08-11 16:53:43] local.INFO: Packet analysis {"connection_id":153650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08f"} 
[2026-08-11 16:53:43] local.INFO: Extracted packet for processing {"connection_id":153650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08f"} 
[2026-08-11 16:53:43] local.INFO: GPS Element Parsed {"raw_longitude":755796992,"raw_latitude":117758800,"longitude_deg":75.5796992,"latitude_deg":11.77588,"altitude":26,"angle":152,"satellites":34,"speed":41,"hex_longitude":"2d0c8c00","hex_latitude":"0704db50","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330533376001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27707014415122432,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904097655340879872,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786447396000,"timestamp_ms":1786447396000,"timestamp_seconds":1786447396,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08ffca0"} 
[2026-08-11 16:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:53:43] 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-08-11 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 16:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330533376001,"66":14450,"164":206,"94":10240,"24":41,"16":27707014415122432,"45":904097655340879872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-11 16:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330533376001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:53:43] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-11 16:53:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27707014415122432,"km_value":27707014415122.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":904097655340879872,"description":"Unknown IO ID 45"} 
[2026-08-11 16:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330533376001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":904097655340879872}} 
[2026-08-11 16:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":153650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625996,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:53:43] local.INFO: GPS data processed {"connection_id":153650,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:53:43] local.INFO: Acknowledgment sent {"connection_id":153650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:53:45] local.INFO: TCP Data received {"connection_id":155040,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:53:45] local.INFO: Processing buffer {"connection_id":155040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:53:45] local.INFO: Packet analysis {"connection_id":155040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:53:45] local.INFO: Extracted packet for processing {"connection_id":155040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:53:45] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:53: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-08-11 16:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330493184001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786447289000,"timestamp_ms":1786447289000,"timestamp_seconds":1786447289,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08e5aa8"} 
[2026-08-11 16:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:53:45] 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-08-11 16:53: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 16:53:45] 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-08-11 16:53: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-08-11 16:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330493184001,"66":2264,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330493184001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:53:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:53:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330493184001,"power":2264,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":155040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:53:45] local.INFO: GPS data processed {"connection_id":155040,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:53:45] local.INFO: Acknowledgment sent {"connection_id":155040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:53:55] local.INFO: TCP Data received {"connection_id":152702,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:53:55] local.INFO: Processing buffer {"connection_id":152702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:53:55] local.INFO: Packet analysis {"connection_id":152702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:53:55] local.INFO: Extracted packet for processing {"connection_id":152702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:53:55] local.INFO: GPS Element Parsed {"raw_longitude":765313280,"raw_latitude":94333776,"longitude_deg":76.531328,"latitude_deg":9.4333776,"altitude":8,"angle":247,"satellites":43,"speed":32,"hex_longitude":"2d9dc100","hex_latitude":"059f6b50","is_valid_coordinates":true} 
[2026-08-11 16:53: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-08-11 16:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490112001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077617896495671296,"note":"Value kept but may cause issues"} 
[2026-08-11 16:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786447229000,"timestamp_ms":1786447229000,"timestamp_seconds":1786447229,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08d7048"} 
[2026-08-11 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-08-11 16:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 16:53: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-08-11 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-08-11 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-08-11 16:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:53:55] 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-08-11 16:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490112001,"66":28050,"132":206,"83":17152,"24":32,"16":377827263711805440,"45":-7077617896495671296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490112001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:53:55] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:53:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077617896495671296,"description":"Unknown IO ID 45"} 
[2026-08-11 16:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490112001,"power":28050,"unknown_132":206,"unknown_83":17152,"ignition":32,"odometer":null,"unknown_45":-7077617896495671296}} 
[2026-08-11 16:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":152702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:53:55] local.INFO: GPS data processed {"connection_id":152702,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:53:55] local.INFO: Acknowledgment sent {"connection_id":152702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:54:08] local.INFO: TCP Data received {"connection_id":152335,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:54:08] local.INFO: Processing buffer {"connection_id":152335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:54:08] local.INFO: IMEI packet received {"connection_id":152335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":152335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:54:13] local.INFO: TCP Data received {"connection_id":152335,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:54:13] local.INFO: Processing buffer {"connection_id":152335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:54:13] local.INFO: IMEI packet received {"connection_id":152335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":152335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:54:14] local.INFO: TCP Data received {"connection_id":152335,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:54:14] local.INFO: Processing buffer {"connection_id":152335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:54:14] local.INFO: Packet analysis {"connection_id":152335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:54:14] local.INFO: Extracted packet for processing {"connection_id":152335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:54:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:54: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-08-11 16:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330493184001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786447289000,"timestamp_ms":1786447289000,"timestamp_seconds":1786447289,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08e5aa8"} 
[2026-08-11 16:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:54:14] 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-08-11 16:54: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 16:54:14] 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-08-11 16:54: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-08-11 16:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330493184001,"66":2264,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330493184001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:54:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:54:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330493184001,"power":2264,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":152335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:54:14] local.INFO: GPS data processed {"connection_id":152335,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:54:14] local.INFO: Acknowledgment sent {"connection_id":152335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:54:24] local.INFO: TCP Data received {"connection_id":152705,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:54:24] local.INFO: Processing buffer {"connection_id":152705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:54:24] local.INFO: IMEI packet received {"connection_id":152705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":152705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:54:29] local.INFO: TCP Data received {"connection_id":152705,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:54:29] local.INFO: Processing buffer {"connection_id":152705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:54:29] local.INFO: IMEI packet received {"connection_id":152705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":152705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:54:31] local.INFO: TCP Data received {"connection_id":152705,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:54:31] local.INFO: Processing buffer {"connection_id":152705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:54:31] local.INFO: Packet analysis {"connection_id":152705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:54:31] local.INFO: Extracted packet for processing {"connection_id":152705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":765313280,"raw_latitude":94333776,"longitude_deg":76.531328,"latitude_deg":9.4333776,"altitude":8,"angle":247,"satellites":43,"speed":32,"hex_longitude":"2d9dc100","hex_latitude":"059f6b50","is_valid_coordinates":true} 
[2026-08-11 16:54:31] 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-08-11 16:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490112001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077617896495671296,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786447229000,"timestamp_ms":1786447229000,"timestamp_seconds":1786447229,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08d7048"} 
[2026-08-11 16:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:54: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 16:54:31] 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-08-11 16:54: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-08-11 16:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:54:31] 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-08-11 16:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490112001,"66":28050,"132":206,"83":17152,"24":32,"16":377827263711805440,"45":-7077617896495671296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490112001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:54:31] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:54:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077617896495671296,"description":"Unknown IO ID 45"} 
[2026-08-11 16:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490112001,"power":28050,"unknown_132":206,"unknown_83":17152,"ignition":32,"odometer":null,"unknown_45":-7077617896495671296}} 
[2026-08-11 16:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":152705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:54:31] local.INFO: GPS data processed {"connection_id":152705,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:54:31] local.INFO: Acknowledgment sent {"connection_id":152705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:54:34] local.INFO: TCP Data received {"connection_id":152705,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:54:34] local.INFO: Processing buffer {"connection_id":152705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:54:34] local.INFO: Packet analysis {"connection_id":152705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:54:34] local.INFO: Extracted packet for processing {"connection_id":152705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:54:34] local.INFO: GPS Element Parsed {"raw_longitude":765313280,"raw_latitude":94333776,"longitude_deg":76.531328,"latitude_deg":9.4333776,"altitude":8,"angle":247,"satellites":43,"speed":32,"hex_longitude":"2d9dc100","hex_latitude":"059f6b50","is_valid_coordinates":true} 
[2026-08-11 16:54:34] 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-08-11 16:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490112001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077617896495671296,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786447229000,"timestamp_ms":1786447229000,"timestamp_seconds":1786447229,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08d7048"} 
[2026-08-11 16:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 16:54:34] 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-08-11 16: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-08-11 16:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:54:34] 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-08-11 16:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490112001,"66":28050,"132":206,"83":17152,"24":32,"16":377827263711805440,"45":-7077617896495671296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490112001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:54:34] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:54:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077617896495671296,"description":"Unknown IO ID 45"} 
[2026-08-11 16:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490112001,"power":28050,"unknown_132":206,"unknown_83":17152,"ignition":32,"odometer":null,"unknown_45":-7077617896495671296}} 
[2026-08-11 16:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":152705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:54:34] local.INFO: GPS data processed {"connection_id":152705,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:54:34] local.INFO: Acknowledgment sent {"connection_id":152705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:54:35] local.INFO: TCP Data received {"connection_id":152704,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152704,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:54:35] local.INFO: Processing buffer {"connection_id":152704,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:54:35] local.INFO: IMEI packet received {"connection_id":152704,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":152704,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:54:36] local.INFO: TCP Data received {"connection_id":152704,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 16:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152704,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 16:54:36] local.INFO: Processing buffer {"connection_id":152704,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-11 16:54:36] local.INFO: IMEI packet received {"connection_id":152704,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":152704,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:54:37] local.INFO: TCP Data received {"connection_id":152704,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0902798012d0c98c00704ba70001b00a022..."} 
[2026-08-11 16:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0902798012d0c98c00704ba70001b00a022..."} 
[2026-08-11 16:54:37] local.INFO: Processing buffer {"connection_id":152704,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019ff0..."} 
[2026-08-11 16:54:37] local.INFO: IMEI packet received {"connection_id":152704,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":152704,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:54:38] local.INFO: TCP Data received {"connection_id":152704,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0903b20012d0c9f400704ad08001d009522..."} 
[2026-08-11 16:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0903b20012d0c9f400704ad08001d009522..."} 
[2026-08-11 16:54:38] local.INFO: Processing buffer {"connection_id":152704,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ff0902798012d0c98c00704ba70001b00a022..."} 
[2026-08-11 16:54:38] local.INFO: Packet analysis {"connection_id":152704,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff090"} 
[2026-08-11 16:54:38] local.INFO: Extracted packet for processing {"connection_id":152704,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff090"} 
[2026-08-11 16:54:38] local.INFO: GPS Element Parsed {"raw_longitude":755800256,"raw_latitude":117750384,"longitude_deg":75.5800256,"latitude_deg":11.7750384,"altitude":27,"angle":160,"satellites":34,"speed":25,"hex_longitude":"2d0c98c0","hex_latitude":"0704ba70","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330533376001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27707448206819328,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904097655340879872,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786447407000,"timestamp_ms":1786447407000,"timestamp_seconds":1786447407,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0902798"} 
[2026-08-11 16:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:54:38] 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-08-11 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 16:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152704,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152704,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330533376001,"66":14352,"164":206,"94":10240,"24":25,"16":27707448206819328,"45":904097655340879872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-11 16:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330533376001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:54:38] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-11 16:54:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27707448206819328,"km_value":27707448206819.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":904097655340879872,"description":"Unknown IO ID 45"} 
[2026-08-11 16:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330533376001,"power":14352,"unknown_164":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":904097655340879872}} 
[2026-08-11 16:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":152704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626002,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:54:38] local.INFO: GPS data processed {"connection_id":152704,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:54:38] local.INFO: Acknowledgment sent {"connection_id":152704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:54:38] local.INFO: Packet analysis {"connection_id":152704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff090"} 
[2026-08-11 16:54:38] local.INFO: Extracted packet for processing {"connection_id":152704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff090"} 
[2026-08-11 16:54:38] local.INFO: GPS Element Parsed {"raw_longitude":755801920,"raw_latitude":117746952,"longitude_deg":75.580192,"latitude_deg":11.7746952,"altitude":29,"angle":149,"satellites":34,"speed":34,"hex_longitude":"2d0c9f40","hex_latitude":"0704ad08","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330536192001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27707637185380352,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907686461291786240,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786447412000,"timestamp_ms":1786447412000,"timestamp_seconds":1786447412,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0903b20"} 
[2026-08-11 16:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:54:38] 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-08-11 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141760,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4035942160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504022384377856,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":110,"raw_value":4076863488,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639410753791908,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738801358,"corrected_to":0} 
[2026-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84737579815470395,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":128,"raw_value":8726412060009472,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.WARNING: Large IO value detected {"io_id":12,"raw_value":5746600844142837790,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:38] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,164,94,24,241,157,16,111,159,252,45,219,26,34,10,66,213,192,1,240,71,227,110,4,113,205,36,190,105,120,33,239,56,2,98,7,30,27,206,112,128,12],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1738801358,"validated":0}]} 
[2026-08-11 16:54:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1945731106915024896,"timestamp_seconds":1945731106915025.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 16:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152704,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152704,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330536192001,"66":14461,"96":206,"94":10240,"24":34,"16":27707637185380352,"45":907686461291786240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-11 16:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330536192001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:54:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 16:54:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27707637185380352,"km_value":27707637185380.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":907686461291786240,"description":"Unknown IO ID 45"} 
[2026-08-11 16:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330536192001,"power":14461,"unknown_96":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":907686461291786240}} 
[2026-08-11 16:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":152704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626003,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:54:38] local.INFO: GPS data processed {"connection_id":152704,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:54:38] local.INFO: Acknowledgment sent {"connection_id":152704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:54:39] local.INFO: TCP Data received {"connection_id":152704,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0906230012d0cb60007048d50001d009422..."} 
[2026-08-11 16:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0906230012d0cb60007048d50001d009422..."} 
[2026-08-11 16:54:39] local.INFO: Processing buffer {"connection_id":152704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0906230012d0cb60007048d50001d009422..."} 
[2026-08-11 16:54:39] local.INFO: Packet analysis {"connection_id":152704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff090"} 
[2026-08-11 16:54:39] local.INFO: Extracted packet for processing {"connection_id":152704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff090"} 
[2026-08-11 16:54:39] local.INFO: GPS Element Parsed {"raw_longitude":755807744,"raw_latitude":117738832,"longitude_deg":75.5807744,"latitude_deg":11.7738832,"altitude":29,"angle":148,"satellites":34,"speed":44,"hex_longitude":"2d0cb600","hex_latitude":"07048d50","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330537472001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27708118221717504,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909516048639526912,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54: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-08-11 16:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786447422000,"timestamp_ms":1786447422000,"timestamp_seconds":1786447422,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0906230"} 
[2026-08-11 16:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:54:39] 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-08-11 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 16:54:39] 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-08-11 16: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-08-11 16:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152704,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152704,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330537472001,"66":14396,"95":206,"94":10240,"24":44,"16":27708118221717504,"45":909516048639526912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-11 16:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330537472001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:54:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:54:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 16:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27708118221717504,"km_value":27708118221717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":909516048639526912,"description":"Unknown IO ID 45"} 
[2026-08-11 16:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330537472001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_45":909516048639526912}} 
[2026-08-11 16:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":152704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626004,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:54:39] local.INFO: GPS data processed {"connection_id":152704,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:54:39] local.INFO: Acknowledgment sent {"connection_id":152704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:54:45] local.INFO: TCP Data received {"connection_id":152335,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:54:45] local.INFO: Processing buffer {"connection_id":152335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:54:45] local.INFO: Packet analysis {"connection_id":152335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:54:45] local.INFO: Extracted packet for processing {"connection_id":152335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:54:45] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:54: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-08-11 16:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330493184001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786447289000,"timestamp_ms":1786447289000,"timestamp_seconds":1786447289,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08e5aa8"} 
[2026-08-11 16:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:54:45] 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-08-11 16:54: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 16:54:45] 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-08-11 16:54: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-08-11 16:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330493184001,"66":2264,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330493184001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:54:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:54:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330493184001,"power":2264,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":152335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:54:45] local.INFO: GPS data processed {"connection_id":152335,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:54:45] local.INFO: Acknowledgment sent {"connection_id":152335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:55:08] local.INFO: TCP Data received {"connection_id":153651,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:55:08] local.INFO: Processing buffer {"connection_id":153651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:55:08] local.INFO: IMEI packet received {"connection_id":153651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":153651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:55:13] local.INFO: TCP Data received {"connection_id":153651,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:55:13] local.INFO: Processing buffer {"connection_id":153651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:55:13] local.INFO: IMEI packet received {"connection_id":153651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":153651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:55:14] local.INFO: TCP Data received {"connection_id":153651,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:55:14] local.INFO: Processing buffer {"connection_id":153651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:55:14] local.INFO: Packet analysis {"connection_id":153651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:55:14] local.INFO: Extracted packet for processing {"connection_id":153651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:55:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330493184001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786447289000,"timestamp_ms":1786447289000,"timestamp_seconds":1786447289,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08e5aa8"} 
[2026-08-11 16:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:55:14] 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-08-11 16: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 16:55:14] 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-08-11 16: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-08-11 16:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330493184001,"66":2264,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330493184001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:55:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:55:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330493184001,"power":2264,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":153651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:55:14] local.INFO: GPS data processed {"connection_id":153651,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:55:14] local.INFO: Acknowledgment sent {"connection_id":153651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:55:19] local.INFO: TCP Data received {"connection_id":155041,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:55:19] local.INFO: Processing buffer {"connection_id":155041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:55:19] local.INFO: IMEI packet received {"connection_id":155041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":155041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:55:21] local.INFO: TCP Data received {"connection_id":152336,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:55:21] local.INFO: Processing buffer {"connection_id":152336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:55:21] local.INFO: IMEI packet received {"connection_id":152336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":152336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:55:22] local.INFO: TCP Data received {"connection_id":152336,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:55:22] local.INFO: Processing buffer {"connection_id":152336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:55:22] local.INFO: IMEI packet received {"connection_id":152336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":152336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:55:24] local.INFO: TCP Data received {"connection_id":155041,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:55:24] local.INFO: Processing buffer {"connection_id":155041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:55:24] local.INFO: IMEI packet received {"connection_id":155041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":155041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:55:24] local.INFO: TCP Data received {"connection_id":155041,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:55:24] local.INFO: Processing buffer {"connection_id":155041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:55:24] local.INFO: Packet analysis {"connection_id":155041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:55:24] local.INFO: Extracted packet for processing {"connection_id":155041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:55:24] local.INFO: GPS Element Parsed {"raw_longitude":765313280,"raw_latitude":94333776,"longitude_deg":76.531328,"latitude_deg":9.4333776,"altitude":8,"angle":247,"satellites":43,"speed":32,"hex_longitude":"2d9dc100","hex_latitude":"059f6b50","is_valid_coordinates":true} 
[2026-08-11 16:55:24] 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-08-11 16:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490112001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077617896495671296,"note":"Value kept but may cause issues"} 
[2026-08-11 16:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786447229000,"timestamp_ms":1786447229000,"timestamp_seconds":1786447229,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08d7048"} 
[2026-08-11 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-08-11 16:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 16:55:24] 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-08-11 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-08-11 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-08-11 16:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:55:24] 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-08-11 16:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490112001,"66":28050,"132":206,"83":17152,"24":32,"16":377827263711805440,"45":-7077617896495671296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490112001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:55:24] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:55:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077617896495671296,"description":"Unknown IO ID 45"} 
[2026-08-11 16:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490112001,"power":28050,"unknown_132":206,"unknown_83":17152,"ignition":32,"odometer":null,"unknown_45":-7077617896495671296}} 
[2026-08-11 16:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":155041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:55:24] local.INFO: GPS data processed {"connection_id":155041,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:55:24] local.INFO: Acknowledgment sent {"connection_id":155041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:55:27] local.INFO: TCP Data received {"connection_id":152336,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:55:27] local.INFO: Processing buffer {"connection_id":152336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:55:27] local.INFO: IMEI packet received {"connection_id":152336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":152336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:55:28] local.INFO: TCP Data received {"connection_id":152336,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0916fb8012d0c4a000703c2d8001100dd23..."} 
[2026-08-11 16:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0916fb8012d0c4a000703c2d8001100dd23..."} 
[2026-08-11 16:55:28] local.INFO: Processing buffer {"connection_id":152336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0916fb8012d0c4a000703c2d8001100dd23..."} 
[2026-08-11 16:55:28] local.INFO: Packet analysis {"connection_id":152336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff091"} 
[2026-08-11 16:55:28] local.INFO: Extracted packet for processing {"connection_id":152336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff091"} 
[2026-08-11 16:55:28] local.INFO: GPS Element Parsed {"raw_longitude":755780096,"raw_latitude":117687000,"longitude_deg":75.5780096,"latitude_deg":11.7687,"altitude":17,"angle":221,"satellites":35,"speed":28,"hex_longitude":"2d0c4a00","hex_latitude":"0703c2d8","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330557440001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27711189123334144,"note":"Value kept but may cause issues"} 
[2026-08-11 16:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886083256813148160,"note":"Value kept but may cause issues"} 
[2026-08-11 16:55:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 16:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786447491000,"timestamp_ms":1786447491000,"timestamp_seconds":1786447491,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0916fb8"} 
[2026-08-11 16:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:55:28] 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-08-11 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 16:55:28] 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-08-11 16: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-08-11 16:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330557440001,"66":14428,"16":27711189123334144,"94":11008,"24":28,"45":886083256813148160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 16:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330557440001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27711189123334144,"km_value":27711189123334.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:55:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 16:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":886083256813148160,"description":"Unknown IO ID 45"} 
[2026-08-11 16:55:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457330557440001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":28,"unknown_45":886083256813148160}} 
[2026-08-11 16:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":152336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626008,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:55:28] local.INFO: GPS data processed {"connection_id":152336,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:55:28] local.INFO: Acknowledgment sent {"connection_id":152336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:55:29] local.INFO: TCP Data received {"connection_id":155041,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:55:29] local.INFO: Processing buffer {"connection_id":155041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:55:29] local.INFO: Packet analysis {"connection_id":155041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:55:29] local.INFO: Extracted packet for processing {"connection_id":155041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:55:29] local.INFO: GPS Element Parsed {"raw_longitude":765313280,"raw_latitude":94333776,"longitude_deg":76.531328,"latitude_deg":9.4333776,"altitude":8,"angle":247,"satellites":43,"speed":32,"hex_longitude":"2d9dc100","hex_latitude":"059f6b50","is_valid_coordinates":true} 
[2026-08-11 16:55:29] 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-08-11 16:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490112001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077617896495671296,"note":"Value kept but may cause issues"} 
[2026-08-11 16:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786447229000,"timestamp_ms":1786447229000,"timestamp_seconds":1786447229,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08d7048"} 
[2026-08-11 16:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16:55: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 16:55:29] 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-08-11 16:55: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-08-11 16:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:55:29] 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-08-11 16:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490112001,"66":28050,"132":206,"83":17152,"24":32,"16":377827263711805440,"45":-7077617896495671296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490112001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:55:29] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:55:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077617896495671296,"description":"Unknown IO ID 45"} 
[2026-08-11 16:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490112001,"power":28050,"unknown_132":206,"unknown_83":17152,"ignition":32,"odometer":null,"unknown_45":-7077617896495671296}} 
[2026-08-11 16:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":155041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:55:29] local.INFO: GPS data processed {"connection_id":155041,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:55:29] local.INFO: Acknowledgment sent {"connection_id":155041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:55:46] local.INFO: TCP Data received {"connection_id":153651,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:55:46] local.INFO: Processing buffer {"connection_id":153651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:55:46] local.INFO: Packet analysis {"connection_id":153651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:55:46] local.INFO: Extracted packet for processing {"connection_id":153651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:55:46] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:55: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-08-11 16:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330493184001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786447289000,"timestamp_ms":1786447289000,"timestamp_seconds":1786447289,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08e5aa8"} 
[2026-08-11 16:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:55:46] 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-08-11 16:55: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 16:55:46] 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-08-11 16:55: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-08-11 16:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330493184001,"66":2264,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330493184001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:55:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:55:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330493184001,"power":2264,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":153651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:55:46] local.INFO: GPS data processed {"connection_id":153651,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:55:46] local.INFO: Acknowledgment sent {"connection_id":153651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:56:00] local.INFO: TCP Data received {"connection_id":152336,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0917788012d0c44c00703c070001000f822..."} 
[2026-08-11 16:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0917788012d0c44c00703c070001000f822..."} 
[2026-08-11 16:56:00] local.INFO: Processing buffer {"connection_id":152336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0917788012d0c44c00703c070001000f822..."} 
[2026-08-11 16:56:00] local.INFO: Packet analysis {"connection_id":152336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff091"} 
[2026-08-11 16:56:00] local.INFO: Extracted packet for processing {"connection_id":152336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff091"} 
[2026-08-11 16:56:00] local.INFO: GPS Element Parsed {"raw_longitude":755778752,"raw_latitude":117686384,"longitude_deg":75.5778752,"latitude_deg":11.7686384,"altitude":16,"angle":248,"satellites":34,"speed":29,"hex_longitude":"2d0c44c0","hex_latitude":"0703c070","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330557696001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27711262137778176,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885520306859595776,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 16:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786447493000,"timestamp_ms":1786447493000,"timestamp_seconds":1786447493,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0917788"} 
[2026-08-11 16:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:56:00] 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-08-11 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 16:56: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-08-11 16: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-08-11 16:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330557696001,"66":14298,"16":27711262137778176,"94":11008,"24":29,"45":885520306859595776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 16:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330557696001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27711262137778176,"km_value":27711262137778.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:56:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 16:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":885520306859595776,"description":"Unknown IO ID 45"} 
[2026-08-11 16:56:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457330557696001,"power":14298,"odometer":null,"unknown_94":11008,"ignition":29,"unknown_45":885520306859595776}} 
[2026-08-11 16:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":152336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626011,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:56:00] local.INFO: GPS data processed {"connection_id":152336,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:56:00] local.INFO: Acknowledgment sent {"connection_id":152336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:56:01] local.INFO: TCP Data received {"connection_id":155041,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:56:01] local.INFO: Processing buffer {"connection_id":155041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08d7048012d9dc100059f6b50000800f72b..."} 
[2026-08-11 16:56:01] local.INFO: Packet analysis {"connection_id":155041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:56:01] local.INFO: Extracted packet for processing {"connection_id":155041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08d"} 
[2026-08-11 16:56:01] local.INFO: GPS Element Parsed {"raw_longitude":765313280,"raw_latitude":94333776,"longitude_deg":76.531328,"latitude_deg":9.4333776,"altitude":8,"angle":247,"satellites":43,"speed":32,"hex_longitude":"2d9dc100","hex_latitude":"059f6b50","is_valid_coordinates":true} 
[2026-08-11 16:56: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-08-11 16:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490112001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077617896495671296,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786447229000,"timestamp_ms":1786447229000,"timestamp_seconds":1786447229,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08d7048"} 
[2026-08-11 16:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 16:56:01] 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-08-11 16: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-08-11 16:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":155041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":155041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":155041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:56:01] 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-08-11 16:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490112001,"66":28050,"132":206,"83":17152,"24":32,"16":377827263711805440,"45":-7077617896495671296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490112001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:56:01] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:56:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077617896495671296,"description":"Unknown IO ID 45"} 
[2026-08-11 16:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490112001,"power":28050,"unknown_132":206,"unknown_83":17152,"ignition":32,"odometer":null,"unknown_45":-7077617896495671296}} 
[2026-08-11 16:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":155041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:56:01] local.INFO: GPS data processed {"connection_id":155041,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:56:01] local.INFO: Acknowledgment sent {"connection_id":155041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:56:13] local.INFO: TCP Data received {"connection_id":152706,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:56:13] local.INFO: Processing buffer {"connection_id":152706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:56:13] local.INFO: IMEI packet received {"connection_id":152706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":152706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:56:18] local.INFO: TCP Data received {"connection_id":152706,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:56:18] local.INFO: Processing buffer {"connection_id":152706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:56:18] local.INFO: IMEI packet received {"connection_id":152706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":152706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:56:19] local.INFO: TCP Data received {"connection_id":152707,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:56:19] local.INFO: Processing buffer {"connection_id":152707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:56:19] local.INFO: IMEI packet received {"connection_id":152707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":152707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:56:19] local.INFO: TCP Data received {"connection_id":152706,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:56:19] local.INFO: Processing buffer {"connection_id":152706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:56:19] local.INFO: Packet analysis {"connection_id":152706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:56:19] local.INFO: Extracted packet for processing {"connection_id":152706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:56:19] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:56: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-08-11 16:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330493184001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786447289000,"timestamp_ms":1786447289000,"timestamp_seconds":1786447289,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08e5aa8"} 
[2026-08-11 16:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:56:19] 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-08-11 16:56: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 16:56:19] 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-08-11 16:56: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-08-11 16:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:56:19] 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-08-11 16:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330493184001,"66":2264,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330493184001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:56:19] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:56:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330493184001,"power":2264,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":152706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:56:19] local.INFO: GPS data processed {"connection_id":152706,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:56:19] local.INFO: Acknowledgment sent {"connection_id":152706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:56:21] local.INFO: TCP Data received {"connection_id":153654,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:56:21] local.INFO: Processing buffer {"connection_id":153654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:56:21] local.INFO: IMEI packet received {"connection_id":153654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":153654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:56:24] local.INFO: TCP Data received {"connection_id":152706,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:56:24] local.INFO: Processing buffer {"connection_id":152706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff08e5aa8012d7b038005e347980002012c2b..."} 
[2026-08-11 16:56:24] local.INFO: Packet analysis {"connection_id":152706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:56:24] local.INFO: Extracted packet for processing {"connection_id":152706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff08e"} 
[2026-08-11 16:56:24] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330493184001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786447289000,"timestamp_ms":1786447289000,"timestamp_seconds":1786447289,"priority":1,"record_length":96,"hex_timestamp":"0000019ff08e5aa8"} 
[2026-08-11 16:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:56: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-08-11 16: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":238,"data_length":795,"current_offset":136} 
[2026-08-11 16:56: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-08-11 16: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-08-11 16:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:56:24] 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-08-11 16:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330493184001,"66":2264,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330493184001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:56:24] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:56:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330493184001,"power":2264,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":152706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:56:24] local.INFO: GPS data processed {"connection_id":152706,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:56:24] local.INFO: Acknowledgment sent {"connection_id":152706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:56:24] local.INFO: TCP Data received {"connection_id":152707,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:56:24] local.INFO: Processing buffer {"connection_id":152707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:56:24] local.INFO: IMEI packet received {"connection_id":152707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":152707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:56:25] local.INFO: TCP Data received {"connection_id":152707,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:56:25] local.INFO: Processing buffer {"connection_id":152707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:56:25] local.INFO: Packet analysis {"connection_id":152707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:56:25] local.INFO: Extracted packet for processing {"connection_id":152707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:56:25] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490624001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7079377115100262400,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786447532000,"timestamp_ms":1786447532000,"timestamp_seconds":1786447532,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0920fe0"} 
[2026-08-11 16:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:56:25] 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-08-11 16: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-08-11 16:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:56:25] 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-08-11 16:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490624001,"66":26539,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7079377115100262400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490624001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:56:25] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:56:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7079377115100262400,"description":"Unknown IO ID 45"} 
[2026-08-11 16:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490624001,"power":26539,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7079377115100262400}} 
[2026-08-11 16:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":152707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:56:25] local.INFO: GPS data processed {"connection_id":152707,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:56:25] local.INFO: Acknowledgment sent {"connection_id":152707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:56:27] local.INFO: TCP Data received {"connection_id":153654,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:56:27] local.INFO: Processing buffer {"connection_id":153654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:56:27] local.INFO: IMEI packet received {"connection_id":153654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":153654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:56:27] local.INFO: TCP Data received {"connection_id":153654,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff091a280012d0c22c00703b0d0000d00ee22..."} 
[2026-08-11 16:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff091a280012d0c22c00703b0d0000d00ee22..."} 
[2026-08-11 16:56:28] local.INFO: Processing buffer {"connection_id":153654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff091a280012d0c22c00703b0d0000d00ee22..."} 
[2026-08-11 16:56:28] local.INFO: Packet analysis {"connection_id":153654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff091"} 
[2026-08-11 16:56:28] local.INFO: Extracted packet for processing {"connection_id":153654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff091"} 
[2026-08-11 16:56:28] local.INFO: GPS Element Parsed {"raw_longitude":755770048,"raw_latitude":117682384,"longitude_deg":75.5770048,"latitude_deg":11.7682384,"altitude":13,"angle":238,"satellites":34,"speed":26,"hex_longitude":"2d0c22c0","hex_latitude":"0703b0d0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330558208001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27711721699278848,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884042563231707136,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 16:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786447504000,"timestamp_ms":1786447504000,"timestamp_seconds":1786447504,"priority":1,"record_length":96,"hex_timestamp":"0000019ff091a280"} 
[2026-08-11 16:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:56:28] 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-08-11 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-11 16:56: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-08-11 16: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-08-11 16:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330558208001,"66":14374,"16":27711721699278848,"94":11008,"24":26,"45":884042563231707136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 16:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330558208001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27711721699278848,"km_value":27711721699278.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:56:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 16:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":884042563231707136,"description":"Unknown IO ID 45"} 
[2026-08-11 16:56:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457330558208001,"power":14374,"odometer":null,"unknown_94":11008,"ignition":26,"unknown_45":884042563231707136}} 
[2026-08-11 16:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":153654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626016,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:56:28] local.INFO: GPS data processed {"connection_id":153654,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:56:28] local.INFO: Acknowledgment sent {"connection_id":153654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:56:56] local.INFO: TCP Data received {"connection_id":152707,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:56:56] local.INFO: Processing buffer {"connection_id":152707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:56:56] local.INFO: Packet analysis {"connection_id":152707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:56:56] local.INFO: Extracted packet for processing {"connection_id":152707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:56:56] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 16:56: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-08-11 16:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490624001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7079377115100262400,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786447532000,"timestamp_ms":1786447532000,"timestamp_seconds":1786447532,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0920fe0"} 
[2026-08-11 16:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16:56: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-08-11 16:56: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-08-11 16:56: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-08-11 16:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:56:56] 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-08-11 16:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490624001,"66":26539,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7079377115100262400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490624001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:56:56] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:56:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7079377115100262400,"description":"Unknown IO ID 45"} 
[2026-08-11 16:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490624001,"power":26539,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7079377115100262400}} 
[2026-08-11 16:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":152707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:56:56] local.INFO: GPS data processed {"connection_id":152707,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:56:56] local.INFO: Acknowledgment sent {"connection_id":152707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:56:59] local.INFO: TCP Data received {"connection_id":153654,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff091b220012d0c1a400703aa08000d00de22..."} 
[2026-08-11 16:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff091b220012d0c1a400703aa08000d00de22..."} 
[2026-08-11 16:56:59] local.INFO: Processing buffer {"connection_id":153654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff091b220012d0c1a400703aa08000d00de22..."} 
[2026-08-11 16:56:59] local.INFO: Packet analysis {"connection_id":153654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff091"} 
[2026-08-11 16:56:59] local.INFO: Extracted packet for processing {"connection_id":153654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff091"} 
[2026-08-11 16:56:59] local.INFO: GPS Element Parsed {"raw_longitude":755767872,"raw_latitude":117680648,"longitude_deg":75.5767872,"latitude_deg":11.7680648,"altitude":13,"angle":222,"satellites":34,"speed":30,"hex_longitude":"2d0c1a40","hex_latitude":"0703aa08","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330561024001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27711854843265024,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874472414022520832,"note":"Value kept but may cause issues"} 
[2026-08-11 16:56:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 16:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786447508000,"timestamp_ms":1786447508000,"timestamp_seconds":1786447508,"priority":1,"record_length":96,"hex_timestamp":"0000019ff091b220"} 
[2026-08-11 16:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:56: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-08-11 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 16:56:59] 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-08-11 16: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-08-11 16:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330561024001,"66":14461,"16":27711854843265024,"94":11008,"24":30,"45":874472414022520832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 16:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330561024001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27711854843265024,"km_value":27711854843265.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:56:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 16:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":874472414022520832,"description":"Unknown IO ID 45"} 
[2026-08-11 16:56:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457330561024001,"power":14461,"odometer":null,"unknown_94":11008,"ignition":30,"unknown_45":874472414022520832}} 
[2026-08-11 16:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":153654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626018,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:56:59] local.INFO: GPS data processed {"connection_id":153654,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:56:59] local.INFO: Acknowledgment sent {"connection_id":153654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:57:08] local.INFO: TCP Data received {"connection_id":152708,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:57:08] local.INFO: Processing buffer {"connection_id":152708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:57:08] local.INFO: IMEI packet received {"connection_id":152708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":152708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:57:13] local.INFO: TCP Data received {"connection_id":152708,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:57:13] local.INFO: Processing buffer {"connection_id":152708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:57:13] local.INFO: IMEI packet received {"connection_id":152708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":152708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:57:14] local.INFO: TCP Data received {"connection_id":152708,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:57:14] local.INFO: Processing buffer {"connection_id":152708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:57:14] local.INFO: Packet analysis {"connection_id":152708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:57:14] local.INFO: Extracted packet for processing {"connection_id":152708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:57:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330505984001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786447590000,"timestamp_ms":1786447590000,"timestamp_seconds":1786447590,"priority":1,"record_length":96,"hex_timestamp":"0000019ff092f270"} 
[2026-08-11 16:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:57:14] 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-08-11 16: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":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330505984001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330505984001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:57:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:57:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330505984001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":152708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:57:14] local.INFO: GPS data processed {"connection_id":152708,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:57:14] local.INFO: Acknowledgment sent {"connection_id":152708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:57:15] local.INFO: TCP Data received {"connection_id":153655,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:57:15] local.INFO: Processing buffer {"connection_id":153655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:57:15] local.INFO: IMEI packet received {"connection_id":153655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":153655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:57:16] local.INFO: TCP Data received {"connection_id":153655,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff091c5a8012d18764007218150004b010727..."} 
[2026-08-11 16:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff091c5a8012d18764007218150004b010727..."} 
[2026-08-11 16:57:16] local.INFO: Processing buffer {"connection_id":153655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff091c5a8012d18764007218150004b010727..."} 
[2026-08-11 16:57:16] local.INFO: Packet analysis {"connection_id":153655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff091"} 
[2026-08-11 16:57:16] local.INFO: Extracted packet for processing {"connection_id":153655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff091"} 
[2026-08-11 16:57:16] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636304,"longitude_deg":75.6577856,"latitude_deg":11.9636304,"altitude":75,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d187640","hex_latitude":"07218150","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330557952001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11719144684650496,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763792603440060416,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:16] 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-08-11 16:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786447513000,"timestamp_ms":1786447513000,"timestamp_seconds":1786447513,"priority":1,"record_length":96,"hex_timestamp":"0000019ff091c5a8"} 
[2026-08-11 16:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:57: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-08-11 16: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-11 16:57:16] 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-08-11 16: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-08-11 16:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330557952001,"66":14428,"106":206,"83":41984,"24":0,"16":11719144684650496,"45":1763792603440060416},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 16:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330557952001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:57:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 16:57:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11719144684650496,"km_value":11719144684650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763792603440060416,"description":"Unknown IO ID 45"} 
[2026-08-11 16:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330557952001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1763792603440060416}} 
[2026-08-11 16:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":153655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:57:16] local.INFO: GPS data processed {"connection_id":153655,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:57:16] local.INFO: Acknowledgment sent {"connection_id":153655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:57:19] local.INFO: TCP Data received {"connection_id":153656,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:57:19] local.INFO: Processing buffer {"connection_id":153656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:57:19] local.INFO: IMEI packet received {"connection_id":153656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":153656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:57:21] local.INFO: TCP Data received {"connection_id":152709,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152709,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:57:21] local.INFO: Processing buffer {"connection_id":152709,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:57:21] local.INFO: IMEI packet received {"connection_id":152709,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":152709,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:57:24] local.INFO: TCP Data received {"connection_id":153656,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:57:24] local.INFO: Processing buffer {"connection_id":153656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:57:24] local.INFO: IMEI packet received {"connection_id":153656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":153656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:57:25] local.INFO: TCP Data received {"connection_id":153656,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:57:25] local.INFO: Processing buffer {"connection_id":153656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:57:25] local.INFO: Packet analysis {"connection_id":153656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:57:25] local.INFO: Extracted packet for processing {"connection_id":153656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:57:25] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 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-08-11 16:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490624001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7079377115100262400,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786447532000,"timestamp_ms":1786447532000,"timestamp_seconds":1786447532,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0920fe0"} 
[2026-08-11 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-08-11 16:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:57:25] 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-08-11 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-08-11 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-08-11 16:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:57:25] 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-08-11 16:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490624001,"66":26539,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7079377115100262400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490624001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:57:25] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:57:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7079377115100262400,"description":"Unknown IO ID 45"} 
[2026-08-11 16:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490624001,"power":26539,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7079377115100262400}} 
[2026-08-11 16:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":153656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:57:25] local.INFO: GPS data processed {"connection_id":153656,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:57:25] local.INFO: Acknowledgment sent {"connection_id":153656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:57:27] local.INFO: TCP Data received {"connection_id":152709,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152709,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:57:27] local.INFO: Processing buffer {"connection_id":152709,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:57:27] local.INFO: IMEI packet received {"connection_id":152709,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":152709,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:57:27] local.INFO: TCP Data received {"connection_id":152709,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff091cd78012d0c0e4007039808000c00d023..."} 
[2026-08-11 16:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff091cd78012d0c0e4007039808000c00d023..."} 
[2026-08-11 16:57:27] local.INFO: Processing buffer {"connection_id":152709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff091cd78012d0c0e4007039808000c00d023..."} 
[2026-08-11 16:57:27] local.INFO: Packet analysis {"connection_id":152709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff091"} 
[2026-08-11 16:57:27] local.INFO: Extracted packet for processing {"connection_id":152709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff091"} 
[2026-08-11 16:57:27] local.INFO: GPS Element Parsed {"raw_longitude":755764800,"raw_latitude":117676040,"longitude_deg":75.57648,"latitude_deg":11.767604,"altitude":12,"angle":208,"satellites":35,"speed":31,"hex_longitude":"2d0c0e40","hex_latitude":"07039808","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330562048001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27712121131237376,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872079876720035840,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 16:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786447515000,"timestamp_ms":1786447515000,"timestamp_seconds":1786447515,"priority":1,"record_length":96,"hex_timestamp":"0000019ff091cd78"} 
[2026-08-11 16:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:57: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-08-11 16: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":125,"data_length":795,"current_offset":136} 
[2026-08-11 16:57:27] 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-08-11 16: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-08-11 16:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330562048001,"66":14439,"16":27712121131237376,"94":11008,"24":31,"45":872079876720035840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-11 16:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330562048001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27712121131237376,"km_value":27712121131237.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:57:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 16:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":872079876720035840,"description":"Unknown IO ID 45"} 
[2026-08-11 16:57:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457330562048001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":31,"unknown_45":872079876720035840}} 
[2026-08-11 16:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":152709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626022,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:57:28] local.INFO: GPS data processed {"connection_id":152709,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:57:28] local.INFO: Acknowledgment sent {"connection_id":152709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:57:45] local.INFO: TCP Data received {"connection_id":152708,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:57:45] local.INFO: Processing buffer {"connection_id":152708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:57:45] local.INFO: Packet analysis {"connection_id":152708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:57:45] local.INFO: Extracted packet for processing {"connection_id":152708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:57:45] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:57: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-08-11 16:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330505984001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786447590000,"timestamp_ms":1786447590000,"timestamp_seconds":1786447590,"priority":1,"record_length":96,"hex_timestamp":"0000019ff092f270"} 
[2026-08-11 16:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:57:45] 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-08-11 16:57: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":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16:57: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-08-11 16:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330505984001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330505984001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:57:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330505984001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":152708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:57:45] local.INFO: GPS data processed {"connection_id":152708,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:57:45] local.INFO: Acknowledgment sent {"connection_id":152708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:57:47] local.INFO: TCP Data received {"connection_id":153655,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09217b0012d18764007218150004b010727..."} 
[2026-08-11 16:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09217b0012d18764007218150004b010727..."} 
[2026-08-11 16:57:47] local.INFO: Processing buffer {"connection_id":153655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09217b0012d18764007218150004b010727..."} 
[2026-08-11 16:57:47] local.INFO: Packet analysis {"connection_id":153655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:57:47] local.INFO: Extracted packet for processing {"connection_id":153655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:57:47] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636304,"longitude_deg":75.6577856,"latitude_deg":11.9636304,"altitude":75,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d187640","hex_latitude":"07218150","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330563328001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11719144684650496,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533199360,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:47] 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-08-11 16:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786447534000,"timestamp_ms":1786447534000,"timestamp_seconds":1786447534,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09217b0"} 
[2026-08-11 16:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:57: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-08-11 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 16:57:47] 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-08-11 16: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-08-11 16:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330563328001,"66":14363,"106":206,"83":41984,"24":0,"16":11719144684650496,"45":1762666703533199360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 16:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330563328001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:57:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 16:57:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11719144684650496,"km_value":11719144684650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533199360,"description":"Unknown IO ID 45"} 
[2026-08-11 16:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330563328001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533199360}} 
[2026-08-11 16:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":153655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:57:47] local.INFO: GPS data processed {"connection_id":153655,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:57:47] local.INFO: Acknowledgment sent {"connection_id":153655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:57:56] local.INFO: TCP Data received {"connection_id":153656,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:57:56] local.INFO: Processing buffer {"connection_id":153656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:57:56] local.INFO: Packet analysis {"connection_id":153656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:57:56] local.INFO: Extracted packet for processing {"connection_id":153656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:57:56] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490624001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7079377115100262400,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786447532000,"timestamp_ms":1786447532000,"timestamp_seconds":1786447532,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0920fe0"} 
[2026-08-11 16:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:57: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-08-11 16: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-08-11 16:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:57:56] 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-08-11 16:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490624001,"66":26539,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7079377115100262400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490624001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:57:56] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:57:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7079377115100262400,"description":"Unknown IO ID 45"} 
[2026-08-11 16:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490624001,"power":26539,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7079377115100262400}} 
[2026-08-11 16:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":153656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:57:56] local.INFO: GPS data processed {"connection_id":153656,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:57:56] local.INFO: Acknowledgment sent {"connection_id":153656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:57:58] local.INFO: TCP Data received {"connection_id":152709,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0942320012d0c26c00702ab080017011b23..."} 
[2026-08-11 16:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0942320012d0c26c00702ab080017011b23..."} 
[2026-08-11 16:57:58] local.INFO: Processing buffer {"connection_id":152709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0942320012d0c26c00702ab080017011b23..."} 
[2026-08-11 16:57:58] local.INFO: Packet analysis {"connection_id":152709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff094"} 
[2026-08-11 16:57:58] local.INFO: Extracted packet for processing {"connection_id":152709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff094"} 
[2026-08-11 16:57:58] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":117615368,"longitude_deg":75.5771072,"latitude_deg":11.7615368,"altitude":23,"angle":283,"satellites":35,"speed":3,"hex_longitude":"2d0c26c0","hex_latitude":"0702ab08","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330600704001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27715196327821312,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875809420144738304,"note":"Value kept but may cause issues"} 
[2026-08-11 16:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786447668000,"timestamp_ms":1786447668000,"timestamp_seconds":1786447668,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0942320"} 
[2026-08-11 16:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:57:58] 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-08-11 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-11 16:57:58] 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-08-11 16: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-08-11 16:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330600704001,"66":14450,"37":206,"94":11008,"24":3,"16":27715196327821312,"45":875809420144738304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 16:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330600704001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:57:58] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 16:57:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 16:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27715196327821312,"km_value":27715196327821.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":875809420144738304,"description":"Unknown IO ID 45"} 
[2026-08-11 16:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330600704001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":875809420144738304}} 
[2026-08-11 16:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":152709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626026,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:57:59] local.INFO: GPS data processed {"connection_id":152709,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:57:59] local.INFO: Acknowledgment sent {"connection_id":152709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:58:08] local.INFO: TCP Data received {"connection_id":155042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:58:08] local.INFO: Processing buffer {"connection_id":155042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:58:08] local.INFO: IMEI packet received {"connection_id":155042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":155042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:58:10] local.INFO: TCP Data received {"connection_id":152337,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:58:10] local.INFO: Processing buffer {"connection_id":152337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:58:10] local.INFO: IMEI packet received {"connection_id":152337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":152337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:58:13] local.INFO: TCP Data received {"connection_id":152337,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:58:13] local.INFO: Processing buffer {"connection_id":152337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:58:13] local.INFO: IMEI packet received {"connection_id":152337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":152337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:58:13] local.INFO: TCP Data received {"connection_id":155042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:58:13] local.INFO: Processing buffer {"connection_id":155042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:58:13] local.INFO: IMEI packet received {"connection_id":155042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":155042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:58:14] local.INFO: TCP Data received {"connection_id":152337,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09269b8012d18740007218138004b010724..."} 
[2026-08-11 16:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09269b8012d18740007218138004b010724..."} 
[2026-08-11 16:58:14] local.INFO: Processing buffer {"connection_id":152337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09269b8012d18740007218138004b010724..."} 
[2026-08-11 16:58:14] local.INFO: Packet analysis {"connection_id":152337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:58:14] local.INFO: Extracted packet for processing {"connection_id":152337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756577280,"raw_latitude":119636280,"longitude_deg":75.657728,"latitude_deg":11.963628,"altitude":75,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d187400","hex_latitude":"07218138","is_valid_coordinates":true} 
[2026-08-11 16:58: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-08-11 16:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330568704001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11719166159486976,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533199360,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:14] 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-08-11 16:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786447555000,"timestamp_ms":1786447555000,"timestamp_seconds":1786447555,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09269b8"} 
[2026-08-11 16:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:58: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-08-11 16:58: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-11 16:58:14] 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-08-11 16:58: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-08-11 16:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330568704001,"66":14135,"106":206,"83":41984,"24":0,"16":11719166159486976,"45":1762666703533199360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 16:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330568704001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:58:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 16:58:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11719166159486976,"km_value":11719166159486.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533199360,"description":"Unknown IO ID 45"} 
[2026-08-11 16:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330568704001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533199360}} 
[2026-08-11 16:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":152337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:58:14] local.INFO: GPS data processed {"connection_id":152337,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:58:14] local.INFO: Acknowledgment sent {"connection_id":152337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:58:14] local.INFO: TCP Data received {"connection_id":155042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:58:14] local.INFO: Processing buffer {"connection_id":155042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:58:14] local.INFO: Packet analysis {"connection_id":155042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:58:14] local.INFO: Extracted packet for processing {"connection_id":155042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:58:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:58: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-08-11 16:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330505984001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786447590000,"timestamp_ms":1786447590000,"timestamp_seconds":1786447590,"priority":1,"record_length":96,"hex_timestamp":"0000019ff092f270"} 
[2026-08-11 16:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:58:14] 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-08-11 16:58: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":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16:58: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-08-11 16:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330505984001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330505984001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:58:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:58:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330505984001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":155042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:58:14] local.INFO: GPS data processed {"connection_id":155042,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:58:14] local.INFO: Acknowledgment sent {"connection_id":155042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:58:21] local.INFO: TCP Data received {"connection_id":152710,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152710,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:58:21] local.INFO: Processing buffer {"connection_id":152710,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:58:21] local.INFO: IMEI packet received {"connection_id":152710,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":152710,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:58:24] local.INFO: TCP Data received {"connection_id":153657,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:58:24] local.INFO: Processing buffer {"connection_id":153657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:58:24] local.INFO: IMEI packet received {"connection_id":153657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":153657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:58:27] local.INFO: TCP Data received {"connection_id":152710,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152710,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:58:27] local.INFO: Processing buffer {"connection_id":152710,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:58:27] local.INFO: IMEI packet received {"connection_id":152710,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":152710,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:58:27] local.INFO: TCP Data received {"connection_id":152710,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0942708012d0c26800702aad0001700f824..."} 
[2026-08-11 16:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0942708012d0c26800702aad0001700f824..."} 
[2026-08-11 16:58:27] local.INFO: Processing buffer {"connection_id":152710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0942708012d0c26800702aad0001700f824..."} 
[2026-08-11 16:58:27] local.INFO: Packet analysis {"connection_id":152710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff094"} 
[2026-08-11 16:58:27] local.INFO: Extracted packet for processing {"connection_id":152710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff094"} 
[2026-08-11 16:58:27] local.INFO: GPS Element Parsed {"raw_longitude":755771008,"raw_latitude":117615312,"longitude_deg":75.5771008,"latitude_deg":11.7615312,"altitude":23,"angle":248,"satellites":36,"speed":3,"hex_longitude":"2d0c2680","hex_latitude":"0702aad0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330603008001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27715200622788608,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598313912207360,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786447669000,"timestamp_ms":1786447669000,"timestamp_seconds":1786447669,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0942708"} 
[2026-08-11 16:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:58: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-08-11 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 16:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152710,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152710,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330603008001,"66":14450,"37":206,"94":11008,"24":3,"16":27715200622788608,"45":875598313912207360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 16:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330603008001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:58:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 16:58:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 16:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27715200622788608,"km_value":27715200622788.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598313912207360,"description":"Unknown IO ID 45"} 
[2026-08-11 16:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330603008001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":875598313912207360}} 
[2026-08-11 16:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":152710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626029,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:58:28] local.INFO: GPS data processed {"connection_id":152710,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:58:28] local.INFO: Acknowledgment sent {"connection_id":152710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:58:29] local.INFO: TCP Data received {"connection_id":153657,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:58:29] local.INFO: Processing buffer {"connection_id":153657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:58:29] local.INFO: IMEI packet received {"connection_id":153657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":153657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:58:31] local.INFO: TCP Data received {"connection_id":153657,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:58:31] local.INFO: Processing buffer {"connection_id":153657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:58:31] local.INFO: Packet analysis {"connection_id":153657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:58:31] local.INFO: Extracted packet for processing {"connection_id":153657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:58:31] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490624001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7079377115100262400,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786447532000,"timestamp_ms":1786447532000,"timestamp_seconds":1786447532,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0920fe0"} 
[2026-08-11 16:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:58:31] 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-08-11 16: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-08-11 16:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:58:31] 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-08-11 16:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490624001,"66":26539,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7079377115100262400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490624001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:58:31] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:58:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7079377115100262400,"description":"Unknown IO ID 45"} 
[2026-08-11 16:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490624001,"power":26539,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7079377115100262400}} 
[2026-08-11 16:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":153657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:58:31] local.INFO: GPS data processed {"connection_id":153657,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:58:31] local.INFO: Acknowledgment sent {"connection_id":153657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:58:45] local.INFO: TCP Data received {"connection_id":155042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:58:45] local.INFO: Processing buffer {"connection_id":155042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:58:45] local.INFO: Packet analysis {"connection_id":155042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:58:45] local.INFO: Extracted packet for processing {"connection_id":155042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:58:45] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330505984001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786447590000,"timestamp_ms":1786447590000,"timestamp_seconds":1786447590,"priority":1,"record_length":96,"hex_timestamp":"0000019ff092f270"} 
[2026-08-11 16:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:58:45] 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-08-11 16: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":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330505984001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330505984001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:58:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:58:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330505984001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":155042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:58:45] local.INFO: GPS data processed {"connection_id":155042,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:58:45] local.INFO: Acknowledgment sent {"connection_id":155042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:58:48] local.INFO: TCP Data received {"connection_id":152337,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff092bbc0012d18720007218200004c010726..."} 
[2026-08-11 16:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff092bbc0012d18720007218200004c010726..."} 
[2026-08-11 16:58:48] local.INFO: Processing buffer {"connection_id":152337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff092bbc0012d18720007218200004c010726..."} 
[2026-08-11 16:58:48] local.INFO: Packet analysis {"connection_id":152337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:58:48] local.INFO: Extracted packet for processing {"connection_id":152337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119636480,"longitude_deg":75.6576768,"latitude_deg":11.963648,"altitude":76,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07218200","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330574080001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11719230583996416,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762033384835594240,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:48] 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-08-11 16:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786447576000,"timestamp_ms":1786447576000,"timestamp_seconds":1786447576,"priority":1,"record_length":96,"hex_timestamp":"0000019ff092bbc0"} 
[2026-08-11 16:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:58: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-08-11 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-11 16:58:48] 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-08-11 16: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-08-11 16:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330574080001,"66":14080,"106":206,"83":41984,"24":0,"16":11719230583996416,"45":1762033384835594240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 16:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330574080001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:58:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 16:58:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11719230583996416,"km_value":11719230583996.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762033384835594240,"description":"Unknown IO ID 45"} 
[2026-08-11 16:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330574080001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762033384835594240}} 
[2026-08-11 16:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":152337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:58:48] local.INFO: GPS data processed {"connection_id":152337,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:58:48] local.INFO: Acknowledgment sent {"connection_id":152337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:58:58] local.INFO: TCP Data received {"connection_id":152710,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09432c0012d0c25c00702aaa00017010a24..."} 
[2026-08-11 16:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09432c0012d0c25c00702aaa00017010a24..."} 
[2026-08-11 16:58:58] local.INFO: Processing buffer {"connection_id":152710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09432c0012d0c25c00702aaa00017010a24..."} 
[2026-08-11 16:58:58] local.INFO: Packet analysis {"connection_id":152710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff094"} 
[2026-08-11 16:58:58] local.INFO: Extracted packet for processing {"connection_id":152710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff094"} 
[2026-08-11 16:58:58] local.INFO: GPS Element Parsed {"raw_longitude":755770816,"raw_latitude":117615264,"longitude_deg":75.5770816,"latitude_deg":11.7615264,"altitude":23,"angle":266,"satellites":36,"speed":2,"hex_longitude":"2d0c25c0","hex_latitude":"0702aaa0","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330603264001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27715213507690496,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875527945168015360,"note":"Value kept but may cause issues"} 
[2026-08-11 16:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786447672000,"timestamp_ms":1786447672000,"timestamp_seconds":1786447672,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09432c0"} 
[2026-08-11 16:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:58:58] 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-08-11 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-11 16:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16: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-08-11 16:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152710,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152710,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330603264001,"66":14407,"37":206,"94":11008,"24":2,"16":27715213507690496,"45":875527945168015360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 16:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330603264001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:58:58] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 16:58:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 16:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27715213507690496,"km_value":27715213507690.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":875527945168015360,"description":"Unknown IO ID 45"} 
[2026-08-11 16:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330603264001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":875527945168015360}} 
[2026-08-11 16:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":152710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626033,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:58:59] local.INFO: GPS data processed {"connection_id":152710,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:58:59] local.INFO: Acknowledgment sent {"connection_id":152710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:59:02] local.INFO: TCP Data received {"connection_id":153657,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:59:02] local.INFO: Processing buffer {"connection_id":153657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:59:02] local.INFO: Packet analysis {"connection_id":153657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:59:02] local.INFO: Extracted packet for processing {"connection_id":153657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:59:02] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 16:59: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-08-11 16:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490624001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7079377115100262400,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786447532000,"timestamp_ms":1786447532000,"timestamp_seconds":1786447532,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0920fe0"} 
[2026-08-11 16:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16:59: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":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:59:02] 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-08-11 16:59: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-08-11 16:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":153657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":153657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":153657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:59:02] 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-08-11 16:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490624001,"66":26539,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7079377115100262400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490624001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:59:02] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:59:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7079377115100262400,"description":"Unknown IO ID 45"} 
[2026-08-11 16:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490624001,"power":26539,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7079377115100262400}} 
[2026-08-11 16:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":153657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:59:02] local.INFO: GPS data processed {"connection_id":153657,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:59:02] local.INFO: Acknowledgment sent {"connection_id":153657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:59:08] local.INFO: TCP Data received {"connection_id":153659,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:59:08] local.INFO: Processing buffer {"connection_id":153659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:59:08] local.INFO: IMEI packet received {"connection_id":153659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 16:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":153659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:59:10] local.INFO: TCP Data received {"connection_id":153658,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:59:10] local.INFO: Processing buffer {"connection_id":153658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:59:10] local.INFO: IMEI packet received {"connection_id":153658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 16:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":153658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:59:11] local.INFO: TCP Data received {"connection_id":153658,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:59:11] local.INFO: Processing buffer {"connection_id":153658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:59:11] local.INFO: IMEI packet received {"connection_id":153658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":153658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:59:12] local.INFO: TCP Data received {"connection_id":153658,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:59:12] local.INFO: Processing buffer {"connection_id":153658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 16:59:12] local.INFO: IMEI packet received {"connection_id":153658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 16:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":153658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:59:12] local.INFO: TCP Data received {"connection_id":153658,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0949468012d18c280072154500049009b26..."} 
[2026-08-11 16:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0949468012d18c280072154500049009b26..."} 
[2026-08-11 16:59:12] local.INFO: Processing buffer {"connection_id":153658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0949468012d18c280072154500049009b26..."} 
[2026-08-11 16:59:12] local.INFO: Packet analysis {"connection_id":153658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff094"} 
[2026-08-11 16:59:12] local.INFO: Extracted packet for processing {"connection_id":153658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff094"} 
[2026-08-11 16:59:12] local.INFO: GPS Element Parsed {"raw_longitude":756597376,"raw_latitude":119624784,"longitude_deg":75.6597376,"latitude_deg":11.9624784,"altitude":73,"angle":155,"satellites":38,"speed":31,"hex_longitude":"2d18c280","hex_latitude":"07215450","is_valid_coordinates":true} 
[2026-08-11 16:59: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-08-11 16:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330607872001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11720437469806592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095901937664,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:12] 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-08-11 16:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786447697000,"timestamp_ms":1786447697000,"timestamp_seconds":1786447697,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0949468"} 
[2026-08-11 16:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:59: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-08-11 16:59: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 16:59:12] 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-08-11 16:59: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-08-11 16:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330607872001,"66":14396,"106":206,"83":41984,"24":31,"16":11720437469806592,"45":1779344095901937664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 16:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330607872001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:59:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 16:59:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11720437469806592,"km_value":11720437469806.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095901937664,"description":"Unknown IO ID 45"} 
[2026-08-11 16:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330607872001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1779344095901937664}} 
[2026-08-11 16:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":153658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:59:13] local.INFO: GPS data processed {"connection_id":153658,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:59:13] local.INFO: Acknowledgment sent {"connection_id":153658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:59:13] local.INFO: TCP Data received {"connection_id":153659,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:59:13] local.INFO: Processing buffer {"connection_id":153659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 16:59:13] local.INFO: IMEI packet received {"connection_id":153659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 16:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":153659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:59:14] local.INFO: TCP Data received {"connection_id":153659,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:59:14] local.INFO: Processing buffer {"connection_id":153659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:59:14] local.INFO: Packet analysis {"connection_id":153659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:59:14] local.INFO: Extracted packet for processing {"connection_id":153659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:59:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:59: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-08-11 16:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330505984001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786447590000,"timestamp_ms":1786447590000,"timestamp_seconds":1786447590,"priority":1,"record_length":96,"hex_timestamp":"0000019ff092f270"} 
[2026-08-11 16:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:59:14] 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-08-11 16:59: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":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16:59: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-08-11 16:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330505984001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330505984001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:59:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:59:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330505984001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":153659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:59:14] local.INFO: GPS data processed {"connection_id":153659,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:59:14] local.INFO: Acknowledgment sent {"connection_id":153659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:59:19] local.INFO: TCP Data received {"connection_id":155043,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:59:19] local.INFO: Processing buffer {"connection_id":155043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:59:19] local.INFO: IMEI packet received {"connection_id":155043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 16:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":155043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:59:24] local.INFO: TCP Data received {"connection_id":155043,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:59:24] local.INFO: Processing buffer {"connection_id":155043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 16:59:24] local.INFO: IMEI packet received {"connection_id":155043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 16:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":155043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:59:25] local.INFO: TCP Data received {"connection_id":155043,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:59:25] local.INFO: Processing buffer {"connection_id":155043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:59:25] local.INFO: Packet analysis {"connection_id":155043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:59:25] local.INFO: Extracted packet for processing {"connection_id":155043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:59:25] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490624001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7079377115100262400,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786447532000,"timestamp_ms":1786447532000,"timestamp_seconds":1786447532,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0920fe0"} 
[2026-08-11 16:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:59:25] 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-08-11 16: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-08-11 16:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490624001,"66":26539,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7079377115100262400},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490624001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:59:25] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:59:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7079377115100262400,"description":"Unknown IO ID 45"} 
[2026-08-11 16:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490624001,"power":26539,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7079377115100262400}} 
[2026-08-11 16:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":155043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:59:25] local.INFO: GPS data processed {"connection_id":155043,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:59:25] local.INFO: Acknowledgment sent {"connection_id":155043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:59:27] local.INFO: TCP Data received {"connection_id":152338,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152338,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:59:27] local.INFO: Processing buffer {"connection_id":152338,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:59:27] local.INFO: IMEI packet received {"connection_id":152338,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 16:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":152338,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 16:59:29] local.INFO: TCP Data received {"connection_id":152338,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152338,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:59:29] local.INFO: Processing buffer {"connection_id":152338,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 16:59:29] local.INFO: IMEI packet received {"connection_id":152338,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 16:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":152338,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 16:59:29] local.INFO: TCP Data received {"connection_id":152338,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0956b40012d0bf3000702a0280012011423..."} 
[2026-08-11 16:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0956b40012d0bf3000702a0280012011423..."} 
[2026-08-11 16:59:29] local.INFO: Processing buffer {"connection_id":152338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0956b40012d0bf3000702a0280012011423..."} 
[2026-08-11 16:59:29] local.INFO: Packet analysis {"connection_id":152338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff095"} 
[2026-08-11 16:59:29] local.INFO: Extracted packet for processing {"connection_id":152338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff095"} 
[2026-08-11 16:59:29] local.INFO: GPS Element Parsed {"raw_longitude":755757824,"raw_latitude":117612584,"longitude_deg":75.5757824,"latitude_deg":11.7612584,"altitude":18,"angle":276,"satellites":35,"speed":8,"hex_longitude":"2d0bf300","hex_latitude":"0702a028","is_valid_coordinates":true} 
[2026-08-11 16:59: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-08-11 16:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330624000001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27715883522588672,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861594933820141568,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786447752000,"timestamp_ms":1786447752000,"timestamp_seconds":1786447752,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0956b40"} 
[2026-08-11 16:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:59:29] 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-08-11 16:59: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":92,"data_length":795,"current_offset":136} 
[2026-08-11 16:59:29] 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-08-11 16:59: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-08-11 16:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152338,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152338,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 16:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 16:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 16:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330624000001,"66":14407,"37":206,"94":11008,"24":8,"16":27715883522588672,"45":861594933820141568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 16:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 16:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 16:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330624000001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:59:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 16:59:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 16:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27715883522588672,"km_value":27715883522588.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":861594933820141568,"description":"Unknown IO ID 45"} 
[2026-08-11 16:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330624000001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":861594933820141568}} 
[2026-08-11 16:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":152338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626038,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:59:30] local.INFO: GPS data processed {"connection_id":152338,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:59:30] local.INFO: Acknowledgment sent {"connection_id":152338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:59:44] local.INFO: TCP Data received {"connection_id":153658,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0949c38012d18c44007214e90004800ab27..."} 
[2026-08-11 16:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0949c38012d18c44007214e90004800ab27..."} 
[2026-08-11 16:59:44] local.INFO: Processing buffer {"connection_id":153658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0949c38012d18c44007214e90004800ab27..."} 
[2026-08-11 16:59:44] local.INFO: Packet analysis {"connection_id":153658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff094"} 
[2026-08-11 16:59:44] local.INFO: Extracted packet for processing {"connection_id":153658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff094"} 
[2026-08-11 16:59:44] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119623312,"longitude_deg":75.6597824,"latitude_deg":11.9623312,"altitude":72,"angle":171,"satellites":39,"speed":30,"hex_longitude":"2d18c440","hex_latitude":"07214e90","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330610432001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11720514779217920,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784129170504437760,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:44] 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-08-11 16:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786447699000,"timestamp_ms":1786447699000,"timestamp_seconds":1786447699,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0949c38"} 
[2026-08-11 16:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:59: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-08-11 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 16:59:44] 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-08-11 16:59: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-08-11 16:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 16:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 16:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 16:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330610432001,"66":14396,"106":206,"83":41984,"24":30,"16":11720514779217920,"45":1784129170504437760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 16:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 16:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 16:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330610432001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:59:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 16:59:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 16:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11720514779217920,"km_value":11720514779217.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784129170504437760,"description":"Unknown IO ID 45"} 
[2026-08-11 16:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330610432001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1784129170504437760}} 
[2026-08-11 16:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":153658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:59:44] local.INFO: GPS data processed {"connection_id":153658,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:59:44] local.INFO: Acknowledgment sent {"connection_id":153658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:59:45] local.INFO: TCP Data received {"connection_id":153659,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:59:45] local.INFO: Processing buffer {"connection_id":153659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 16:59:45] local.INFO: Packet analysis {"connection_id":153659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:59:45] local.INFO: Extracted packet for processing {"connection_id":153659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:59:45] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 16:59: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-08-11 16:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330505984001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786447590000,"timestamp_ms":1786447590000,"timestamp_seconds":1786447590,"priority":1,"record_length":96,"hex_timestamp":"0000019ff092f270"} 
[2026-08-11 16:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:59:45] 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-08-11 16:59: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":216,"data_length":795,"current_offset":136} 
[2026-08-11 16:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 16:59: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-08-11 16:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 16:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 16:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 16:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330505984001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 16:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 16:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 16:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330505984001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:59:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 16:59:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 16:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 16:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330505984001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 16:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":153659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:59:46] local.INFO: GPS data processed {"connection_id":153659,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:59:46] local.INFO: Acknowledgment sent {"connection_id":153659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 16:59:56] local.INFO: TCP Data received {"connection_id":155043,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:59:56] local.INFO: Processing buffer {"connection_id":155043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 16:59:56] local.INFO: Packet analysis {"connection_id":155043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:59:56] local.INFO: Extracted packet for processing {"connection_id":155043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 16:59:56] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 16: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-08-11 16:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490624001,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7079377115100262400,"note":"Value kept but may cause issues"} 
[2026-08-11 16:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 16:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786447532000,"timestamp_ms":1786447532000,"timestamp_seconds":1786447532,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0920fe0"} 
[2026-08-11 16:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 16:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 16:59: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-08-11 16: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-08-11 16:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 16:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 16:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 16:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 16:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 16:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 16:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 16:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490624001,"66":26539,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7079377115100262400},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 16:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 16:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 16:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490624001,"description":"Unknown IO ID 0"} 
[2026-08-11 16:59:56] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 16:59:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 16:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 16:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7079377115100262400,"description":"Unknown IO ID 45"} 
[2026-08-11 16:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490624001,"power":26539,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7079377115100262400}} 
[2026-08-11 16:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":155043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 16:59:56] local.INFO: GPS data processed {"connection_id":155043,"processed":1,"errors":0,"total":1} 
[2026-08-11 16:59:56] local.INFO: Acknowledgment sent {"connection_id":155043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:00:01] local.INFO: TCP Data received {"connection_id":152338,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0958a80012d0bec400702a1a00014012124..."} 
[2026-08-11 17:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0958a80012d0bec400702a1a00014012124..."} 
[2026-08-11 17:00:01] local.INFO: Processing buffer {"connection_id":152338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0958a80012d0bec400702a1a00014012124..."} 
[2026-08-11 17:00:01] local.INFO: Packet analysis {"connection_id":152338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff095"} 
[2026-08-11 17:00:01] local.INFO: Extracted packet for processing {"connection_id":152338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff095"} 
[2026-08-11 17:00:01] local.INFO: GPS Element Parsed {"raw_longitude":755756096,"raw_latitude":117612960,"longitude_deg":75.5756096,"latitude_deg":11.761296,"altitude":20,"angle":289,"satellites":36,"speed":9,"hex_longitude":"2d0bec40","hex_latitude":"0702a1a0","is_valid_coordinates":true} 
[2026-08-11 17:00: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-08-11 17:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330624512001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27715969421934592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861031983866718208,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786447760000,"timestamp_ms":1786447760000,"timestamp_seconds":1786447760,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0958a80"} 
[2026-08-11 17:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:00: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-08-11 17:00: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-08-11 17:00: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-08-11 17:00: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-08-11 17:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152338,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152338,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 17:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 17:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330624512001,"66":14537,"37":206,"94":11008,"24":9,"16":27715969421934592,"45":861031983866718208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 17:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 17:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 17:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330624512001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:00:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 17:00:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 17:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27715969421934592,"km_value":27715969421934.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":861031983866718208,"description":"Unknown IO ID 45"} 
[2026-08-11 17:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330624512001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":861031983866718208}} 
[2026-08-11 17:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":152338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626042,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:00:01] local.INFO: GPS data processed {"connection_id":152338,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:00:01] local.INFO: Acknowledgment sent {"connection_id":152338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:00:09] local.INFO: TCP Data received {"connection_id":155044,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:00:09] local.INFO: Processing buffer {"connection_id":155044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:00:09] local.INFO: IMEI packet received {"connection_id":155044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":155044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:00:10] local.INFO: TCP Data received {"connection_id":155044,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:00:10] local.INFO: Processing buffer {"connection_id":155044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:00:10] local.INFO: IMEI packet received {"connection_id":155044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":155044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:00:13] local.INFO: TCP Data received {"connection_id":155045,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:00:13] local.INFO: Processing buffer {"connection_id":155045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:00:13] local.INFO: IMEI packet received {"connection_id":155045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":155045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:00:15] local.INFO: TCP Data received {"connection_id":155044,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:00:15] local.INFO: Processing buffer {"connection_id":155044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:00:15] local.INFO: IMEI packet received {"connection_id":155044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":155044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:00:15] local.INFO: TCP Data received {"connection_id":155044,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0956758012d191a000720c2c00033007026..."} 
[2026-08-11 17:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0956758012d191a000720c2c00033007026..."} 
[2026-08-11 17:00:15] local.INFO: Processing buffer {"connection_id":155044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0956758012d191a000720c2c00033007026..."} 
[2026-08-11 17:00:15] local.INFO: Packet analysis {"connection_id":155044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff095"} 
[2026-08-11 17:00:15] local.INFO: Extracted packet for processing {"connection_id":155044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff095"} 
[2026-08-11 17:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756619776,"raw_latitude":119587520,"longitude_deg":75.6619776,"latitude_deg":11.958752,"altitude":51,"angle":112,"satellites":38,"speed":42,"hex_longitude":"2d191a00","hex_latitude":"0720c2c0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330622208001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11722675147767808,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800876931610167296,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:15] 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-08-11 17:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786447751000,"timestamp_ms":1786447751000,"timestamp_seconds":1786447751,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0956758"} 
[2026-08-11 17:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:00:15] 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-08-11 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-11 17:00:15] 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-08-11 17: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-08-11 17:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330622208001,"66":14428,"103":206,"83":41984,"24":42,"16":11722675147767808,"45":1800876931610167296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 17:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330622208001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:00:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 17:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11722675147767808,"km_value":11722675147767.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800876931610167296,"description":"Unknown IO ID 45"} 
[2026-08-11 17:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330622208001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1800876931610167296}} 
[2026-08-11 17:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":155044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:00:15] local.INFO: GPS data processed {"connection_id":155044,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:00:15] local.INFO: Acknowledgment sent {"connection_id":155044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:00:18] local.INFO: TCP Data received {"connection_id":155045,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:00:18] local.INFO: Processing buffer {"connection_id":155045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:00:18] local.INFO: IMEI packet received {"connection_id":155045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":155045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:00:19] local.INFO: TCP Data received {"connection_id":155045,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 17:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 17:00:19] local.INFO: Processing buffer {"connection_id":155045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 17:00:19] local.INFO: Packet analysis {"connection_id":155045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 17:00:19] local.INFO: Extracted packet for processing {"connection_id":155045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 17:00:19] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:00: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-08-11 17:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330505984001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786447590000,"timestamp_ms":1786447590000,"timestamp_seconds":1786447590,"priority":1,"record_length":96,"hex_timestamp":"0000019ff092f270"} 
[2026-08-11 17:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:00:19] 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-08-11 17:00: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":216,"data_length":795,"current_offset":136} 
[2026-08-11 17:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:00: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-08-11 17:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":155045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":155045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":155045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330505984001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330505984001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:00:19] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:00:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330505984001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":155045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:00:19] local.INFO: GPS data processed {"connection_id":155045,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:00:19] local.INFO: Acknowledgment sent {"connection_id":155045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:00:23] local.INFO: TCP Data received {"connection_id":152711,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152711,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:00:23] local.INFO: Processing buffer {"connection_id":152711,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:00:23] local.INFO: IMEI packet received {"connection_id":152711,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 17:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":152711,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:00:24] local.INFO: TCP Data received {"connection_id":155045,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 17:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 17:00:24] local.INFO: Processing buffer {"connection_id":155045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 17:00:24] local.INFO: Packet analysis {"connection_id":155045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 17:00:24] local.INFO: Extracted packet for processing {"connection_id":155045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 17:00:24] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330505984001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786447590000,"timestamp_ms":1786447590000,"timestamp_seconds":1786447590,"priority":1,"record_length":96,"hex_timestamp":"0000019ff092f270"} 
[2026-08-11 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-08-11 17:00: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-08-11 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":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 17:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 17:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330505984001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330505984001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:00:24] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:00:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330505984001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":155045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:00:24] local.INFO: GPS data processed {"connection_id":155045,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:00:24] local.INFO: Acknowledgment sent {"connection_id":155045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:00:24] local.INFO: TCP Data received {"connection_id":152712,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:00:24] local.INFO: Processing buffer {"connection_id":152712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:00:24] local.INFO: IMEI packet received {"connection_id":152712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":152712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:00:24] local.INFO: TCP Data received {"connection_id":152711,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152711,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:00:24] local.INFO: Processing buffer {"connection_id":152711,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:00:24] local.INFO: IMEI packet received {"connection_id":152711,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 17:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":152711,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:00:27] local.INFO: TCP Data received {"connection_id":152711,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152711,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:00:27] local.INFO: Processing buffer {"connection_id":152711,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:00:27] local.INFO: IMEI packet received {"connection_id":152711,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 17:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":152711,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:00:28] local.INFO: TCP Data received {"connection_id":152711,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff095a5d8012d0be4c00702a3580013011425..."} 
[2026-08-11 17:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff095a5d8012d0be4c00702a3580013011425..."} 
[2026-08-11 17:00:28] local.INFO: Processing buffer {"connection_id":152711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff095a5d8012d0be4c00702a3580013011425..."} 
[2026-08-11 17:00:28] local.INFO: Packet analysis {"connection_id":152711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff095"} 
[2026-08-11 17:00:28] local.INFO: Extracted packet for processing {"connection_id":152711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff095"} 
[2026-08-11 17:00:28] local.INFO: GPS Element Parsed {"raw_longitude":755754176,"raw_latitude":117613400,"longitude_deg":75.5754176,"latitude_deg":11.76134,"altitude":19,"angle":276,"satellites":37,"speed":9,"hex_longitude":"2d0be4c0","hex_latitude":"0702a358","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330626560001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27716059616247808,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":859132027774017536,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786447767000,"timestamp_ms":1786447767000,"timestamp_seconds":1786447767,"priority":1,"record_length":96,"hex_timestamp":"0000019ff095a5d8"} 
[2026-08-11 17:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:00:28] 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-08-11 17: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":201,"data_length":795,"current_offset":136} 
[2026-08-11 17:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 17:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 17:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330626560001,"66":14461,"37":206,"94":11008,"24":9,"16":27716059616247808,"45":859132027774017536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 17:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 17:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 17:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330626560001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:00:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 17:00:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 17:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27716059616247808,"km_value":27716059616247.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":859132027774017536,"description":"Unknown IO ID 45"} 
[2026-08-11 17:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330626560001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":859132027774017536}} 
[2026-08-11 17:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":152711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626046,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:00:28] local.INFO: GPS data processed {"connection_id":152711,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:00:28] local.INFO: Acknowledgment sent {"connection_id":152711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:00:29] local.INFO: TCP Data received {"connection_id":152712,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:00:29] local.INFO: Processing buffer {"connection_id":152712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:00:29] local.INFO: IMEI packet received {"connection_id":152712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":152712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:00:31] local.INFO: TCP Data received {"connection_id":152712,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:00:31] local.INFO: Processing buffer {"connection_id":152712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:00:31] local.INFO: Packet analysis {"connection_id":152712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 17:00:31] local.INFO: Extracted packet for processing {"connection_id":152712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 17:00:31] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 17:00: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-08-11 17:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490624001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7079377115100262400,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786447532000,"timestamp_ms":1786447532000,"timestamp_seconds":1786447532,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0920fe0"} 
[2026-08-11 17:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:00: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 17:00:31] 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-08-11 17:00: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-08-11 17:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490624001,"66":26539,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7079377115100262400},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490624001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:00:31] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:00:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7079377115100262400,"description":"Unknown IO ID 45"} 
[2026-08-11 17:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490624001,"power":26539,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7079377115100262400}} 
[2026-08-11 17:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":152712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:00:31] local.INFO: GPS data processed {"connection_id":152712,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:00:31] local.INFO: Acknowledgment sent {"connection_id":152712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:00:34] local.INFO: TCP Data received {"connection_id":152712,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:00:34] local.INFO: Processing buffer {"connection_id":152712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:00:34] local.INFO: Packet analysis {"connection_id":152712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 17:00:34] local.INFO: Extracted packet for processing {"connection_id":152712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 17:00:34] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 17:00: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-08-11 17:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490624001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7079377115100262400,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786447532000,"timestamp_ms":1786447532000,"timestamp_seconds":1786447532,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0920fe0"} 
[2026-08-11 17:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:00: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":146,"data_length":795,"current_offset":136} 
[2026-08-11 17:00:34] 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-08-11 17:00: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-08-11 17:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490624001,"66":26539,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7079377115100262400},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490624001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:00:34] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7079377115100262400,"description":"Unknown IO ID 45"} 
[2026-08-11 17:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490624001,"power":26539,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7079377115100262400}} 
[2026-08-11 17:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":152712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:00:34] local.INFO: GPS data processed {"connection_id":152712,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:00:34] local.INFO: Acknowledgment sent {"connection_id":152712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:00:35] local.INFO: TCP Data received {"connection_id":152711,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff095d4b8012d0bd9000702a4800012010826..."} 
[2026-08-11 17:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff095d4b8012d0bd9000702a4800012010826..."} 
[2026-08-11 17:00:35] local.INFO: Processing buffer {"connection_id":152711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff095d4b8012d0bd9000702a4800012010826..."} 
[2026-08-11 17:00:35] local.INFO: Packet analysis {"connection_id":152711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff095"} 
[2026-08-11 17:00:35] local.INFO: Extracted packet for processing {"connection_id":152711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff095"} 
[2026-08-11 17:00:35] local.INFO: GPS Element Parsed {"raw_longitude":755751168,"raw_latitude":117613696,"longitude_deg":75.5751168,"latitude_deg":11.7613696,"altitude":18,"angle":264,"satellites":38,"speed":13,"hex_longitude":"2d0bd900","hex_latitude":"0702a480","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330628352001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27716201350168576,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857020965448800256,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786447779000,"timestamp_ms":1786447779000,"timestamp_seconds":1786447779,"priority":1,"record_length":96,"hex_timestamp":"0000019ff095d4b8"} 
[2026-08-11 17:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:00:35] 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-08-11 17: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 17:00:35] 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-08-11 17: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-08-11 17:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 17:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 17:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330628352001,"66":14396,"37":206,"94":11008,"24":13,"16":27716201350168576,"45":857020965448800256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 17:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 17:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 17:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330628352001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:00:35] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 17:00:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 17:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27716201350168576,"km_value":27716201350168.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":857020965448800256,"description":"Unknown IO ID 45"} 
[2026-08-11 17:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330628352001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":857020965448800256}} 
[2026-08-11 17:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":152711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626049,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:00:35] local.INFO: GPS data processed {"connection_id":152711,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:00:35] local.INFO: Acknowledgment sent {"connection_id":152711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:00:39] local.INFO: TCP Data received {"connection_id":152712,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:00:39] local.INFO: Processing buffer {"connection_id":152712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0920fe0012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:00:39] local.INFO: Packet analysis {"connection_id":152712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 17:00:39] local.INFO: Extracted packet for processing {"connection_id":152712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 17:00:39] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330490624001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7079377115100262400,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786447532000,"timestamp_ms":1786447532000,"timestamp_seconds":1786447532,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0920fe0"} 
[2026-08-11 17:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 17:00:39] 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-08-11 17: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-08-11 17:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330490624001,"66":26539,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7079377115100262400},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330490624001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:00:39] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:00:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7079377115100262400,"description":"Unknown IO ID 45"} 
[2026-08-11 17:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330490624001,"power":26539,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7079377115100262400}} 
[2026-08-11 17:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":152712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:00:39] local.INFO: GPS data processed {"connection_id":152712,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:00:39] local.INFO: Acknowledgment sent {"connection_id":152712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:00:46] local.INFO: TCP Data received {"connection_id":155044,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0963a48012d19bc800720a678002e00a626..."} 
[2026-08-11 17:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0963a48012d19bc800720a678002e00a626..."} 
[2026-08-11 17:00:46] local.INFO: Processing buffer {"connection_id":155044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0963a48012d19bc800720a678002e00a626..."} 
[2026-08-11 17:00:46] local.INFO: Packet analysis {"connection_id":155044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:00:46] local.INFO: Extracted packet for processing {"connection_id":155044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119580280,"longitude_deg":75.6661376,"latitude_deg":11.958028,"altitude":46,"angle":166,"satellites":38,"speed":20,"hex_longitude":"2d19bc80","hex_latitude":"0720a678","is_valid_coordinates":true} 
[2026-08-11 17:00: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-08-11 17:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330637824001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11724762501873664,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177182480384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:00:46] 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-08-11 17:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786447805000,"timestamp_ms":1786447805000,"timestamp_seconds":1786447805,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0963a48"} 
[2026-08-11 17:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:00:46] 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-08-11 17:00: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 17:00:46] 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-08-11 17:00: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-08-11 17:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":155044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":155044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":155044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330637824001,"66":14363,"103":206,"83":41984,"24":20,"16":11724762501873664,"45":1854357177182480384},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 17:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330637824001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:00:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 17:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11724762501873664,"km_value":11724762501873.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177182480384,"description":"Unknown IO ID 45"} 
[2026-08-11 17:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330637824001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1854357177182480384}} 
[2026-08-11 17:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":155044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:00:46] local.INFO: GPS data processed {"connection_id":155044,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:00:46] local.INFO: Acknowledgment sent {"connection_id":155044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:01:08] local.INFO: TCP Data received {"connection_id":152711,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff095fbc8012d0bcdc00702a310001100fd25..."} 
[2026-08-11 17:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff095fbc8012d0bcdc00702a310001100fd25..."} 
[2026-08-11 17:01:08] local.INFO: Processing buffer {"connection_id":152711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff095fbc8012d0bcdc00702a310001100fd25..."} 
[2026-08-11 17:01:08] local.INFO: Packet analysis {"connection_id":152711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff095"} 
[2026-08-11 17:01:08] local.INFO: Extracted packet for processing {"connection_id":152711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff095"} 
[2026-08-11 17:01:08] local.INFO: GPS Element Parsed {"raw_longitude":755748288,"raw_latitude":117613328,"longitude_deg":75.5748288,"latitude_deg":11.7613328,"altitude":17,"angle":253,"satellites":37,"speed":12,"hex_longitude":"2d0bcdc0","hex_latitude":"0702a310","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330631424001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27716343084089344,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853713634472525824,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786447789000,"timestamp_ms":1786447789000,"timestamp_seconds":1786447789,"priority":1,"record_length":96,"hex_timestamp":"0000019ff095fbc8"} 
[2026-08-11 17:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:01:08] 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-08-11 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 17:01:08] 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-08-11 17: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-08-11 17:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 17:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 17:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330631424001,"66":14407,"37":206,"94":11008,"24":12,"16":27716343084089344,"45":853713634472525824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-11 17:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 17:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 17:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330631424001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:01:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-11 17:01:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 17:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27716343084089344,"km_value":27716343084089.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":853713634472525824,"description":"Unknown IO ID 45"} 
[2026-08-11 17:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330631424001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":853713634472525824}} 
[2026-08-11 17:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":152711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626052,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:01:08] local.INFO: GPS data processed {"connection_id":152711,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:01:08] local.INFO: Acknowledgment sent {"connection_id":152711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:01:08] local.INFO: TCP Data received {"connection_id":152713,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:01:08] local.INFO: Processing buffer {"connection_id":152713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:01:08] local.INFO: IMEI packet received {"connection_id":152713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":152713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:01:10] local.INFO: TCP Data received {"connection_id":155046,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:01:10] local.INFO: Processing buffer {"connection_id":155046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:01:10] local.INFO: IMEI packet received {"connection_id":155046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":155046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:01:13] local.INFO: TCP Data received {"connection_id":152713,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:01:13] local.INFO: Processing buffer {"connection_id":152713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:01:13] local.INFO: IMEI packet received {"connection_id":152713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":152713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:01:14] local.INFO: TCP Data received {"connection_id":152713,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 17:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 17:01:14] local.INFO: Processing buffer {"connection_id":152713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff092f270012d7b038005e347980002012c29..."} 
[2026-08-11 17:01:14] local.INFO: Packet analysis {"connection_id":152713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 17:01:14] local.INFO: Extracted packet for processing {"connection_id":152713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff092"} 
[2026-08-11 17:01:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330505984001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786447590000,"timestamp_ms":1786447590000,"timestamp_seconds":1786447590,"priority":1,"record_length":96,"hex_timestamp":"0000019ff092f270"} 
[2026-08-11 17:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:01:14] 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-08-11 17: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":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 17:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330505984001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330505984001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:01:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:01:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330505984001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":152713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:01:14] local.INFO: GPS data processed {"connection_id":152713,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:01:14] local.INFO: Acknowledgment sent {"connection_id":152713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:01:15] local.INFO: TCP Data received {"connection_id":155046,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:01:15] local.INFO: Processing buffer {"connection_id":155046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:01:15] local.INFO: IMEI packet received {"connection_id":155046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":155046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:01:17] local.INFO: TCP Data received {"connection_id":155046,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0963e30012d19bc400720a460002e00bc26..."} 
[2026-08-11 17:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0963e30012d19bc400720a460002e00bc26..."} 
[2026-08-11 17:01:17] local.INFO: Processing buffer {"connection_id":155046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0963e30012d19bc400720a460002e00bc26..."} 
[2026-08-11 17:01:17] local.INFO: Packet analysis {"connection_id":155046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:01:17] local.INFO: Extracted packet for processing {"connection_id":155046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:01:17] local.INFO: GPS Element Parsed {"raw_longitude":756661312,"raw_latitude":119579744,"longitude_deg":75.6661312,"latitude_deg":11.9579744,"altitude":46,"angle":188,"satellites":38,"speed":20,"hex_longitude":"2d19bc40","hex_latitude":"0720a460","is_valid_coordinates":true} 
[2026-08-11 17:01: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-08-11 17:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330638080001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11724788271677440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914670708736,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:17] 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-08-11 17:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786447806000,"timestamp_ms":1786447806000,"timestamp_seconds":1786447806,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0963e30"} 
[2026-08-11 17:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:01:17] 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-08-11 17:01: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-11 17:01:17] 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-08-11 17:01: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-08-11 17:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":155046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":155046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":155046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330638080001,"66":14363,"103":206,"83":41984,"24":20,"16":11724788271677440,"45":1854497914670708736},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 17:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330638080001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:01:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 17:01:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11724788271677440,"km_value":11724788271677.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914670708736,"description":"Unknown IO ID 45"} 
[2026-08-11 17:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330638080001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1854497914670708736}} 
[2026-08-11 17:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":155046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:01:17] local.INFO: GPS data processed {"connection_id":155046,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:01:17] local.INFO: Acknowledgment sent {"connection_id":155046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:01:19] local.INFO: TCP Data received {"connection_id":155047,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:01:19] local.INFO: Processing buffer {"connection_id":155047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:01:19] local.INFO: IMEI packet received {"connection_id":155047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":155047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:01:20] local.INFO: TCP Data received {"connection_id":152714,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152714,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:01:20] local.INFO: Processing buffer {"connection_id":152714,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:01:20] local.INFO: IMEI packet received {"connection_id":152714,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 17:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":152714,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:01:22] local.INFO: TCP Data received {"connection_id":152714,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152714,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:01:22] local.INFO: Processing buffer {"connection_id":152714,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:01:22] local.INFO: IMEI packet received {"connection_id":152714,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 17:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":152714,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:01:22] local.INFO: TCP Data received {"connection_id":152714,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152714,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:01:22] local.INFO: Processing buffer {"connection_id":152714,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:01:22] local.INFO: IMEI packet received {"connection_id":152714,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 17:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":152714,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:01:23] local.INFO: TCP Data received {"connection_id":152714,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152714,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:01:23] local.INFO: Processing buffer {"connection_id":152714,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:01:23] local.INFO: IMEI packet received {"connection_id":152714,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 17:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":152714,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:01:24] local.INFO: TCP Data received {"connection_id":155047,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:01:24] local.INFO: Processing buffer {"connection_id":155047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:01:24] local.INFO: IMEI packet received {"connection_id":155047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":155047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:01:25] local.INFO: TCP Data received {"connection_id":155047,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:01:25] local.INFO: Processing buffer {"connection_id":155047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:01:25] local.INFO: Packet analysis {"connection_id":155047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:01:25] local.INFO: Extracted packet for processing {"connection_id":155047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:01:25] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330568192001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7091902751565051904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786447833000,"timestamp_ms":1786447833000,"timestamp_seconds":1786447833,"priority":1,"record_length":96,"hex_timestamp":"0000019ff096a7a8"} 
[2026-08-11 17:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-11 17:01: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-08-11 17: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-08-11 17:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330568192001,"66":26267,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7091902751565051904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330568192001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:01:25] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:01:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7091902751565051904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330568192001,"power":26267,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7091902751565051904}} 
[2026-08-11 17:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":155047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:01:25] local.INFO: GPS data processed {"connection_id":155047,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:01:25] local.INFO: Acknowledgment sent {"connection_id":155047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:01:30] local.INFO: TCP Data received {"connection_id":155047,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:01:30] local.INFO: Processing buffer {"connection_id":155047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:01:30] local.INFO: Packet analysis {"connection_id":155047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:01:30] local.INFO: Extracted packet for processing {"connection_id":155047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:01:30] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 17:01: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-08-11 17:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330568192001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7091902751565051904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786447833000,"timestamp_ms":1786447833000,"timestamp_seconds":1786447833,"priority":1,"record_length":96,"hex_timestamp":"0000019ff096a7a8"} 
[2026-08-11 17:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:01: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":171,"data_length":795,"current_offset":136} 
[2026-08-11 17:01:30] 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-08-11 17:01: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-08-11 17:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":155047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":155047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":155047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330568192001,"66":26267,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7091902751565051904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330568192001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:01:30] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:01:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7091902751565051904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330568192001,"power":26267,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7091902751565051904}} 
[2026-08-11 17:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":155047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:01:30] local.INFO: GPS data processed {"connection_id":155047,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:01:30] local.INFO: Acknowledgment sent {"connection_id":155047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:01:45] local.INFO: TCP Data received {"connection_id":152713,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:01:45] local.INFO: Processing buffer {"connection_id":152713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:01:45] local.INFO: Packet analysis {"connection_id":152713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:01:45] local.INFO: Extracted packet for processing {"connection_id":152713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:01:45] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:01: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-08-11 17:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330583040001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786447891000,"timestamp_ms":1786447891000,"timestamp_seconds":1786447891,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0978a38"} 
[2026-08-11 17:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:01: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":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:01: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-08-11 17:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330583040001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330583040001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:01:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:01:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330583040001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":152713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:01:45] local.INFO: GPS data processed {"connection_id":152713,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:01:45] local.INFO: Acknowledgment sent {"connection_id":152713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:01:47] local.INFO: TCP Data received {"connection_id":155046,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0971cd8012d19e00007200a58002c009922..."} 
[2026-08-11 17:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0971cd8012d19e00007200a58002c009922..."} 
[2026-08-11 17:01:47] local.INFO: Processing buffer {"connection_id":155046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0971cd8012d19e00007200a58002c009922..."} 
[2026-08-11 17:01:47] local.INFO: Packet analysis {"connection_id":155046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:01:47] local.INFO: Extracted packet for processing {"connection_id":155046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756670464,"raw_latitude":119540312,"longitude_deg":75.6670464,"latitude_deg":11.9540312,"altitude":44,"angle":153,"satellites":34,"speed":7,"hex_longitude":"2d19e000","hex_latitude":"07200a58","is_valid_coordinates":true} 
[2026-08-11 17:01: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-08-11 17:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330650880001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11726935755325440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945357807616,"note":"Value kept but may cause issues"} 
[2026-08-11 17:01:47] 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-08-11 17:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786447863000,"timestamp_ms":1786447863000,"timestamp_seconds":1786447863,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0971cd8"} 
[2026-08-11 17:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:01: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-08-11 17:01: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 17:01:47] 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-08-11 17:01: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-08-11 17:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330650880001,"66":14580,"101":206,"83":41984,"24":7,"16":11726935755325440,"45":1861182945357807616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330650880001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:01:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:01:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11726935755325440,"km_value":11726935755325.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945357807616,"description":"Unknown IO ID 45"} 
[2026-08-11 17:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330650880001,"power":14580,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1861182945357807616}} 
[2026-08-11 17:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":155046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:01:48] local.INFO: GPS data processed {"connection_id":155046,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:01:48] local.INFO: Acknowledgment sent {"connection_id":155046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:02:02] local.INFO: TCP Data received {"connection_id":155047,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:02:02] local.INFO: Processing buffer {"connection_id":155047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:02:02] local.INFO: Packet analysis {"connection_id":155047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:02:02] local.INFO: Extracted packet for processing {"connection_id":155047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:02:02] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 17:02: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-08-11 17:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330568192001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7091902751565051904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786447833000,"timestamp_ms":1786447833000,"timestamp_seconds":1786447833,"priority":1,"record_length":96,"hex_timestamp":"0000019ff096a7a8"} 
[2026-08-11 17:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:02: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-11 17:02:02] 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-08-11 17:02: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-08-11 17:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":155047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":155047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":155047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330568192001,"66":26267,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7091902751565051904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330568192001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:02:02] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:02:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7091902751565051904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330568192001,"power":26267,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7091902751565051904}} 
[2026-08-11 17:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":155047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:02:02] local.INFO: GPS data processed {"connection_id":155047,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:02:02] local.INFO: Acknowledgment sent {"connection_id":155047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:02:08] local.INFO: TCP Data received {"connection_id":152339,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:02:08] local.INFO: Processing buffer {"connection_id":152339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:02:08] local.INFO: IMEI packet received {"connection_id":152339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":152339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:02:10] local.INFO: TCP Data received {"connection_id":153660,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:02:10] local.INFO: Processing buffer {"connection_id":153660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:02:10] local.INFO: IMEI packet received {"connection_id":153660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":153660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:02:13] local.INFO: TCP Data received {"connection_id":152339,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:02:13] local.INFO: Processing buffer {"connection_id":152339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:02:13] local.INFO: IMEI packet received {"connection_id":152339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":152339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:02:14] local.INFO: TCP Data received {"connection_id":152339,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:02:14] local.INFO: Processing buffer {"connection_id":152339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:02:14] local.INFO: Packet analysis {"connection_id":152339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:02:14] local.INFO: Extracted packet for processing {"connection_id":152339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:02:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:02: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-08-11 17:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330583040001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786447891000,"timestamp_ms":1786447891000,"timestamp_seconds":1786447891,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0978a38"} 
[2026-08-11 17:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:02: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:02: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-08-11 17:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:02:14] 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-08-11 17:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330583040001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330583040001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:02:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:02:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330583040001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":152339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:02:14] local.INFO: GPS data processed {"connection_id":152339,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:02:14] local.INFO: Acknowledgment sent {"connection_id":152339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:02:15] local.INFO: TCP Data received {"connection_id":153660,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:02:15] local.INFO: Processing buffer {"connection_id":153660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:02:15] local.INFO: IMEI packet received {"connection_id":153660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":153660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:02:16] local.INFO: TCP Data received {"connection_id":153660,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09720c0012d19dfc0072009d0002c00c322..."} 
[2026-08-11 17:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09720c0012d19dfc0072009d0002c00c322..."} 
[2026-08-11 17:02:16] local.INFO: Processing buffer {"connection_id":153660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09720c0012d19dfc0072009d0002c00c322..."} 
[2026-08-11 17:02:16] local.INFO: Packet analysis {"connection_id":153660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:02:16] local.INFO: Extracted packet for processing {"connection_id":153660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:02:16] local.INFO: GPS Element Parsed {"raw_longitude":756670400,"raw_latitude":119540176,"longitude_deg":75.66704,"latitude_deg":11.9540176,"altitude":44,"angle":195,"satellites":34,"speed":6,"hex_longitude":"2d19dfc0","hex_latitude":"072009d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330652928001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11726940050292736,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864490276333705216,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:16] 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-08-11 17:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786447864000,"timestamp_ms":1786447864000,"timestamp_seconds":1786447864,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09720c0"} 
[2026-08-11 17:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:02: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-08-11 17: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-11 17:02:16] 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-08-11 17:02: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-08-11 17:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330652928001,"66":14580,"101":206,"83":41984,"24":6,"16":11726940050292736,"45":1864490276333705216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330652928001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:02:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:02:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11726940050292736,"km_value":11726940050292.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864490276333705216,"description":"Unknown IO ID 45"} 
[2026-08-11 17:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330652928001,"power":14580,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1864490276333705216}} 
[2026-08-11 17:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":153660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:02:16] local.INFO: GPS data processed {"connection_id":153660,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:02:16] local.INFO: Acknowledgment sent {"connection_id":153660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:02:19] local.INFO: TCP Data received {"connection_id":152715,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:02:19] local.INFO: Processing buffer {"connection_id":152715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:02:19] local.INFO: IMEI packet received {"connection_id":152715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":152715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:02:24] local.INFO: TCP Data received {"connection_id":152715,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:02:24] local.INFO: Processing buffer {"connection_id":152715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:02:24] local.INFO: IMEI packet received {"connection_id":152715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":152715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:02:25] local.INFO: TCP Data received {"connection_id":152715,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:02:25] local.INFO: Processing buffer {"connection_id":152715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:02:25] local.INFO: Packet analysis {"connection_id":152715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:02:25] local.INFO: Extracted packet for processing {"connection_id":152715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:02:25] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330568192001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7091902751565051904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786447833000,"timestamp_ms":1786447833000,"timestamp_seconds":1786447833,"priority":1,"record_length":96,"hex_timestamp":"0000019ff096a7a8"} 
[2026-08-11 17:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-11 17:02: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-08-11 17: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-08-11 17:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330568192001,"66":26267,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7091902751565051904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330568192001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:02:25] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:02:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7091902751565051904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330568192001,"power":26267,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7091902751565051904}} 
[2026-08-11 17:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":152715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:02:25] local.INFO: GPS data processed {"connection_id":152715,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:02:25] local.INFO: Acknowledgment sent {"connection_id":152715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:02:45] local.INFO: TCP Data received {"connection_id":152339,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:02:45] local.INFO: Processing buffer {"connection_id":152339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:02:45] local.INFO: Packet analysis {"connection_id":152339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:02:45] local.INFO: Extracted packet for processing {"connection_id":152339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:02:45] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:02: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-08-11 17:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330583040001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786447891000,"timestamp_ms":1786447891000,"timestamp_seconds":1786447891,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0978a38"} 
[2026-08-11 17:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:02: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":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:02: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-08-11 17:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:02:45] 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-08-11 17:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330583040001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330583040001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:02:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:02:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330583040001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":152339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:02:45] local.INFO: GPS data processed {"connection_id":152339,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:02:45] local.INFO: Acknowledgment sent {"connection_id":152339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:02:47] local.INFO: TCP Data received {"connection_id":153660,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff097dc40012d19a340071ff0a0003300d323..."} 
[2026-08-11 17:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff097dc40012d19a340071ff0a0003300d323..."} 
[2026-08-11 17:02:47] local.INFO: Processing buffer {"connection_id":153660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff097dc40012d19a340071ff0a0003300d323..."} 
[2026-08-11 17:02:47] local.INFO: Packet analysis {"connection_id":153660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:02:47] local.INFO: Extracted packet for processing {"connection_id":153660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:02:47] local.INFO: GPS Element Parsed {"raw_longitude":756654912,"raw_latitude":119533728,"longitude_deg":75.6654912,"latitude_deg":11.9533728,"altitude":51,"angle":211,"satellites":35,"speed":7,"hex_longitude":"2d19a340","hex_latitude":"071ff0a0","is_valid_coordinates":true} 
[2026-08-11 17:02: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-08-11 17:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330665216001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11727824813555712,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847531408985243648,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:47] 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-08-11 17:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786447912000,"timestamp_ms":1786447912000,"timestamp_seconds":1786447912,"priority":1,"record_length":96,"hex_timestamp":"0000019ff097dc40"} 
[2026-08-11 17:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:02:47] 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-08-11 17:02: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 17:02:47] 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-08-11 17:02: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-08-11 17:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330665216001,"66":14428,"101":206,"83":41984,"24":7,"16":11727824813555712,"45":1847531408985243648},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330665216001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:02:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:02:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11727824813555712,"km_value":11727824813555.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847531408985243648,"description":"Unknown IO ID 45"} 
[2026-08-11 17:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330665216001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1847531408985243648}} 
[2026-08-11 17:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":153660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:02:47] local.INFO: GPS data processed {"connection_id":153660,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:02:47] local.INFO: Acknowledgment sent {"connection_id":153660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:02:57] local.INFO: TCP Data received {"connection_id":152715,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:02:57] local.INFO: Processing buffer {"connection_id":152715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:02:57] local.INFO: Packet analysis {"connection_id":152715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:02:57] local.INFO: Extracted packet for processing {"connection_id":152715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:02:57] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330568192001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7091902751565051904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786447833000,"timestamp_ms":1786447833000,"timestamp_seconds":1786447833,"priority":1,"record_length":96,"hex_timestamp":"0000019ff096a7a8"} 
[2026-08-11 17:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-11 17:02:57] 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-08-11 17: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-08-11 17:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330568192001,"66":26267,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7091902751565051904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330568192001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:02:57] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7091902751565051904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330568192001,"power":26267,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7091902751565051904}} 
[2026-08-11 17:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":152715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:02:57] local.INFO: GPS data processed {"connection_id":152715,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:02:57] local.INFO: Acknowledgment sent {"connection_id":152715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:03:08] local.INFO: TCP Data received {"connection_id":152340,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:03:08] local.INFO: Processing buffer {"connection_id":152340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:03:08] local.INFO: IMEI packet received {"connection_id":152340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":152340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:03:10] local.INFO: TCP Data received {"connection_id":155049,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:03:10] local.INFO: Processing buffer {"connection_id":155049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:03:10] local.INFO: IMEI packet received {"connection_id":155049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":155049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:03:13] local.INFO: TCP Data received {"connection_id":152340,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:03:13] local.INFO: Processing buffer {"connection_id":152340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:03:13] local.INFO: IMEI packet received {"connection_id":152340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":152340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:03:14] local.INFO: TCP Data received {"connection_id":155049,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:03:14] local.INFO: Processing buffer {"connection_id":155049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:03:14] local.INFO: IMEI packet received {"connection_id":155049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":155049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:03:14] local.INFO: TCP Data received {"connection_id":152340,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:03:14] local.INFO: Processing buffer {"connection_id":152340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:03:14] local.INFO: Packet analysis {"connection_id":152340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:03:14] local.INFO: Extracted packet for processing {"connection_id":152340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:03:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:03: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-08-11 17:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330583040001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786447891000,"timestamp_ms":1786447891000,"timestamp_seconds":1786447891,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0978a38"} 
[2026-08-11 17:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:03: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:03: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-08-11 17:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330583040001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330583040001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:03:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:03:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330583040001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":152340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:03:14] local.INFO: GPS data processed {"connection_id":152340,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:03:14] local.INFO: Acknowledgment sent {"connection_id":152340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:03:15] local.INFO: TCP Data received {"connection_id":155049,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:03:15] local.INFO: Processing buffer {"connection_id":155049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:03:15] local.INFO: IMEI packet received {"connection_id":155049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":155049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:03:15] local.INFO: TCP Data received {"connection_id":155049,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff097e028012d19a2c0071feff8003300c623..."} 
[2026-08-11 17:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff097e028012d19a2c0071feff8003300c623..."} 
[2026-08-11 17:03:15] local.INFO: Processing buffer {"connection_id":155049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff097e028012d19a2c0071feff8003300c623..."} 
[2026-08-11 17:03:15] local.INFO: Packet analysis {"connection_id":155049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:03:15] local.INFO: Extracted packet for processing {"connection_id":155049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756654784,"raw_latitude":119533560,"longitude_deg":75.6654784,"latitude_deg":11.953356,"altitude":51,"angle":198,"satellites":35,"speed":7,"hex_longitude":"2d19a2c0","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-11 17:03: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-08-11 17:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330665472001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11727833403490304,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847390671496847360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:15] 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-08-11 17:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786447913000,"timestamp_ms":1786447913000,"timestamp_seconds":1786447913,"priority":1,"record_length":96,"hex_timestamp":"0000019ff097e028"} 
[2026-08-11 17:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:03:15] 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-08-11 17:03: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 17:03:15] 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-08-11 17:03: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-08-11 17:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330665472001,"66":14559,"101":206,"83":41984,"24":7,"16":11727833403490304,"45":1847390671496847360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330665472001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:03:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11727833403490304,"km_value":11727833403490.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847390671496847360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330665472001,"power":14559,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1847390671496847360}} 
[2026-08-11 17:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":155049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:03:16] local.INFO: GPS data processed {"connection_id":155049,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:03:16] local.INFO: Acknowledgment sent {"connection_id":155049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:03:16] local.INFO: TCP Data received {"connection_id":155049,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff097ebe0012d19a280071fece8003400ba25..."} 
[2026-08-11 17:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff097ebe0012d19a280071fece8003400ba25..."} 
[2026-08-11 17:03:16] local.INFO: Processing buffer {"connection_id":155049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff097ebe0012d19a280071fece8003400ba25..."} 
[2026-08-11 17:03:16] local.INFO: Packet analysis {"connection_id":155049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:03:16] local.INFO: Extracted packet for processing {"connection_id":155049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:03:16] local.INFO: GPS Element Parsed {"raw_longitude":756654720,"raw_latitude":119532776,"longitude_deg":75.665472,"latitude_deg":11.9532776,"altitude":52,"angle":186,"satellites":37,"speed":14,"hex_longitude":"2d19a280","hex_latitude":"071fece8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330665728001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11727872058195968,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847249934008449024,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:16] 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-08-11 17:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786447916000,"timestamp_ms":1786447916000,"timestamp_seconds":1786447916,"priority":1,"record_length":96,"hex_timestamp":"0000019ff097ebe0"} 
[2026-08-11 17:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:03:16] 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-08-11 17: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-11 17:03:16] 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-08-11 17:03: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-08-11 17:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330665728001,"66":13939,"101":206,"83":41984,"24":14,"16":11727872058195968,"45":1847249934008449024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330665728001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:03:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:03:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11727872058195968,"km_value":11727872058195.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847249934008449024,"description":"Unknown IO ID 45"} 
[2026-08-11 17:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330665728001,"power":13939,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1847249934008449024}} 
[2026-08-11 17:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":155049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:03:16] local.INFO: GPS data processed {"connection_id":155049,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:03:16] local.INFO: Acknowledgment sent {"connection_id":155049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:03:19] local.INFO: TCP Data received {"connection_id":153661,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:03:19] local.INFO: Processing buffer {"connection_id":153661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:03:19] local.INFO: IMEI packet received {"connection_id":153661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":153661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:03:24] local.INFO: TCP Data received {"connection_id":153661,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:03:24] local.INFO: Processing buffer {"connection_id":153661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:03:24] local.INFO: IMEI packet received {"connection_id":153661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":153661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:03:25] local.INFO: TCP Data received {"connection_id":153661,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:03:25] local.INFO: Processing buffer {"connection_id":153661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:03:25] local.INFO: Packet analysis {"connection_id":153661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:03:25] local.INFO: Extracted packet for processing {"connection_id":153661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:03:25] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330568192001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7091902751565051904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786447833000,"timestamp_ms":1786447833000,"timestamp_seconds":1786447833,"priority":1,"record_length":96,"hex_timestamp":"0000019ff096a7a8"} 
[2026-08-11 17:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-11 17:03: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-08-11 17: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-08-11 17:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330568192001,"66":26267,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7091902751565051904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330568192001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:03:25] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:03:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7091902751565051904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330568192001,"power":26267,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7091902751565051904}} 
[2026-08-11 17:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":153661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:03:25] local.INFO: GPS data processed {"connection_id":153661,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:03:25] local.INFO: Acknowledgment sent {"connection_id":153661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:03:46] local.INFO: TCP Data received {"connection_id":152340,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:03:46] local.INFO: Processing buffer {"connection_id":152340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:03:46] local.INFO: Packet analysis {"connection_id":152340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:03:46] local.INFO: Extracted packet for processing {"connection_id":152340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:03:46] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:03: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-08-11 17:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330583040001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786447891000,"timestamp_ms":1786447891000,"timestamp_seconds":1786447891,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0978a38"} 
[2026-08-11 17:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:03: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":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:03: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-08-11 17:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330583040001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330583040001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:03:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:03:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330583040001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":152340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:03:46] local.INFO: GPS data processed {"connection_id":152340,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:03:46] local.INFO: Acknowledgment sent {"connection_id":152340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:03:48] local.INFO: TCP Data received {"connection_id":155049,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff098da28012d19b780071fb048002d005421..."} 
[2026-08-11 17:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff098da28012d19b780071fb048002d005421..."} 
[2026-08-11 17:03:48] local.INFO: Processing buffer {"connection_id":155049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff098da28012d19b780071fb048002d005421..."} 
[2026-08-11 17:03:48] local.INFO: Packet analysis {"connection_id":155049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff098"} 
[2026-08-11 17:03:48] local.INFO: Extracted packet for processing {"connection_id":155049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff098"} 
[2026-08-11 17:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756660096,"raw_latitude":119517256,"longitude_deg":75.6660096,"latitude_deg":11.9517256,"altitude":45,"angle":84,"satellites":33,"speed":17,"hex_longitude":"2d19b780","hex_latitude":"071fb048","is_valid_coordinates":true} 
[2026-08-11 17:03: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-08-11 17:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330681344001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11728799771131904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851753533631582208,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:48] 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-08-11 17:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786447977000,"timestamp_ms":1786447977000,"timestamp_seconds":1786447977,"priority":1,"record_length":96,"hex_timestamp":"0000019ff098da28"} 
[2026-08-11 17:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:03:48] 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-08-11 17:03: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 17:03:48] 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-08-11 17:03: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-08-11 17:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":155049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":155049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":155049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330681344001,"66":14428,"101":206,"83":41984,"24":17,"16":11728799771131904,"45":1851753533631582208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330681344001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:03:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:03:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11728799771131904,"km_value":11728799771131.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851753533631582208,"description":"Unknown IO ID 45"} 
[2026-08-11 17:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330681344001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1851753533631582208}} 
[2026-08-11 17:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":155049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:03:48] local.INFO: GPS data processed {"connection_id":155049,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:03:48] local.INFO: Acknowledgment sent {"connection_id":155049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:03:56] local.INFO: TCP Data received {"connection_id":153661,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:03:56] local.INFO: Processing buffer {"connection_id":153661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff096a7a8012d9d9480059f5988000700f82d..."} 
[2026-08-11 17:03:56] local.INFO: Packet analysis {"connection_id":153661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:03:56] local.INFO: Extracted packet for processing {"connection_id":153661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff096"} 
[2026-08-11 17:03:56] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330568192001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7091902751565051904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786447833000,"timestamp_ms":1786447833000,"timestamp_seconds":1786447833,"priority":1,"record_length":96,"hex_timestamp":"0000019ff096a7a8"} 
[2026-08-11 17:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-11 17:03:56] 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-08-11 17: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-08-11 17:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330568192001,"66":26267,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7091902751565051904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330568192001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:03:56] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:03:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7091902751565051904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330568192001,"power":26267,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7091902751565051904}} 
[2026-08-11 17:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":153661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:03:56] local.INFO: GPS data processed {"connection_id":153661,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:03:56] local.INFO: Acknowledgment sent {"connection_id":153661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:04:10] local.INFO: TCP Data received {"connection_id":152716,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:04:10] local.INFO: Processing buffer {"connection_id":152716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:04:10] local.INFO: IMEI packet received {"connection_id":152716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":152716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:04:10] local.INFO: TCP Data received {"connection_id":152716,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:04:10] local.INFO: Processing buffer {"connection_id":152716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:04:10] local.INFO: IMEI packet received {"connection_id":152716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":152716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:04:11] local.INFO: TCP Data received {"connection_id":152716,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:04:11] local.INFO: Processing buffer {"connection_id":152716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:04:11] local.INFO: IMEI packet received {"connection_id":152716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":152716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:04:13] local.INFO: TCP Data received {"connection_id":153662,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:04:13] local.INFO: Processing buffer {"connection_id":153662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:04:13] local.INFO: IMEI packet received {"connection_id":153662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":153662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:04:15] local.INFO: TCP Data received {"connection_id":152716,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:04:15] local.INFO: Processing buffer {"connection_id":152716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:04:15] local.INFO: IMEI packet received {"connection_id":152716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":152716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:04:16] local.INFO: TCP Data received {"connection_id":152716,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff098e1f8012d19bb80071fafa0002e006421..."} 
[2026-08-11 17:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff098e1f8012d19bb80071fafa0002e006421..."} 
[2026-08-11 17:04:16] local.INFO: Processing buffer {"connection_id":152716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff098e1f8012d19bb80071fafa0002e006421..."} 
[2026-08-11 17:04:16] local.INFO: Packet analysis {"connection_id":152716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff098"} 
[2026-08-11 17:04:16] local.INFO: Extracted packet for processing {"connection_id":152716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff098"} 
[2026-08-11 17:04:16] local.INFO: GPS Element Parsed {"raw_longitude":756661120,"raw_latitude":119517088,"longitude_deg":75.666112,"latitude_deg":11.9517088,"altitude":46,"angle":100,"satellites":33,"speed":19,"hex_longitude":"2d19bb80","hex_latitude":"071fafa0","is_valid_coordinates":true} 
[2026-08-11 17:04: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-08-11 17:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330682112001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11728851310739456,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853090539771021312,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:16] 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-08-11 17:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786447979000,"timestamp_ms":1786447979000,"timestamp_seconds":1786447979,"priority":1,"record_length":96,"hex_timestamp":"0000019ff098e1f8"} 
[2026-08-11 17:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:04:16] 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-08-11 17:04: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 17:04:16] 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-08-11 17:04: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-08-11 17:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330682112001,"66":14396,"101":206,"83":41984,"24":19,"16":11728851310739456,"45":1853090539771021312},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330682112001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:04:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:04:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11728851310739456,"km_value":11728851310739.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853090539771021312,"description":"Unknown IO ID 45"} 
[2026-08-11 17:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330682112001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1853090539771021312}} 
[2026-08-11 17:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":152716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:04:16] local.INFO: GPS data processed {"connection_id":152716,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:04:16] local.INFO: Acknowledgment sent {"connection_id":152716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:04:18] local.INFO: TCP Data received {"connection_id":153662,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:04:18] local.INFO: Processing buffer {"connection_id":153662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:04:18] local.INFO: IMEI packet received {"connection_id":153662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":153662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:04:19] local.INFO: TCP Data received {"connection_id":155050,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:04:19] local.INFO: Processing buffer {"connection_id":155050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:04:19] local.INFO: IMEI packet received {"connection_id":155050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":155050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:04:19] local.INFO: TCP Data received {"connection_id":153662,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:04:19] local.INFO: Processing buffer {"connection_id":153662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:04:19] local.INFO: Packet analysis {"connection_id":153662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:04:19] local.INFO: Extracted packet for processing {"connection_id":153662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:04:19] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:04: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-08-11 17:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330583040001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786447891000,"timestamp_ms":1786447891000,"timestamp_seconds":1786447891,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0978a38"} 
[2026-08-11 17:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:04: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":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:04: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-08-11 17:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330583040001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330583040001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:04:19] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:04:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330583040001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":153662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:04:19] local.INFO: GPS data processed {"connection_id":153662,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:04:19] local.INFO: Acknowledgment sent {"connection_id":153662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:04:24] local.INFO: TCP Data received {"connection_id":155050,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:04:24] local.INFO: Processing buffer {"connection_id":155050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:04:24] local.INFO: IMEI packet received {"connection_id":155050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":155050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:04:24] local.INFO: TCP Data received {"connection_id":153662,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:04:24] local.INFO: Processing buffer {"connection_id":153662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:04:24] local.INFO: Packet analysis {"connection_id":153662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:04:24] local.INFO: Extracted packet for processing {"connection_id":153662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:04:24] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330583040001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786447891000,"timestamp_ms":1786447891000,"timestamp_seconds":1786447891,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0978a38"} 
[2026-08-11 17:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330583040001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330583040001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:04:24] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:04:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330583040001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":153662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:04:24] local.INFO: GPS data processed {"connection_id":153662,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:04:24] local.INFO: Acknowledgment sent {"connection_id":153662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:04:25] local.INFO: TCP Data received {"connection_id":155050,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0997a50012d9d9480059f5988000700f82b..."} 
[2026-08-11 17:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0997a50012d9d9480059f5988000700f82b..."} 
[2026-08-11 17:04:25] local.INFO: Processing buffer {"connection_id":155050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0997a50012d9d9480059f5988000700f82b..."} 
[2026-08-11 17:04:25] local.INFO: Packet analysis {"connection_id":155050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:04:25] local.INFO: Extracted packet for processing {"connection_id":155050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:04:25] local.INFO: GPS Element Parsed {"raw_longitude":765301888,"raw_latitude":94329224,"longitude_deg":76.5301888,"latitude_deg":9.4329224,"altitude":7,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9d9480","hex_latitude":"059f5988","is_valid_coordinates":true} 
[2026-08-11 17:04:25] 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-08-11 17:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330645248001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7091902751565051904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786448018000,"timestamp_ms":1786448018000,"timestamp_seconds":1786448018,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0997a50"} 
[2026-08-11 17:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-11 17:04:25] 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-08-11 17: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-08-11 17:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330645248001,"66":26136,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7091902751565051904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330645248001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:04:25] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:04:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7091902751565051904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330645248001,"power":26136,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7091902751565051904}} 
[2026-08-11 17:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":155050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:04:25] local.INFO: GPS data processed {"connection_id":155050,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:04:25] local.INFO: Acknowledgment sent {"connection_id":155050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:04:47] local.INFO: TCP Data received {"connection_id":152716,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff098e9c8012d19bf40071faf40002e005721..."} 
[2026-08-11 17:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff098e9c8012d19bf40071faf40002e005721..."} 
[2026-08-11 17:04:47] local.INFO: Processing buffer {"connection_id":152716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff098e9c8012d19bf40071faf40002e005721..."} 
[2026-08-11 17:04:47] local.INFO: Packet analysis {"connection_id":152716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff098"} 
[2026-08-11 17:04:47] local.INFO: Extracted packet for processing {"connection_id":152716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff098"} 
[2026-08-11 17:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756662080,"raw_latitude":119516992,"longitude_deg":75.666208,"latitude_deg":11.9516992,"altitude":46,"angle":87,"satellites":33,"speed":17,"hex_longitude":"2d19bf40","hex_latitude":"071faf40","is_valid_coordinates":true} 
[2026-08-11 17:04: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-08-11 17:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330682624001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11728898555379712,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439677820928,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:47] 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-08-11 17:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786447981000,"timestamp_ms":1786447981000,"timestamp_seconds":1786447981,"priority":1,"record_length":96,"hex_timestamp":"0000019ff098e9c8"} 
[2026-08-11 17:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:04:47] 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-08-11 17:04: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 17:04:47] 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-08-11 17:04: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-08-11 17:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330682624001,"66":14396,"101":206,"83":41984,"24":17,"16":11728898555379712,"45":1854216439677820928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330682624001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:04:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:04:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11728898555379712,"km_value":11728898555379.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439677820928,"description":"Unknown IO ID 45"} 
[2026-08-11 17:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330682624001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1854216439677820928}} 
[2026-08-11 17:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":152716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:04:48] local.INFO: GPS data processed {"connection_id":152716,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:04:48] local.INFO: Acknowledgment sent {"connection_id":152716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:04:56] local.INFO: TCP Data received {"connection_id":155050,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff099d810012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff099d810012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:04:56] local.INFO: Processing buffer {"connection_id":155050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff099d810012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:04:56] local.INFO: Packet analysis {"connection_id":155050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:04:56] local.INFO: Extracted packet for processing {"connection_id":155050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:04:56] local.INFO: GPS Element Parsed {"raw_longitude":765300544,"raw_latitude":94328768,"longitude_deg":76.5300544,"latitude_deg":9.4328768,"altitude":7,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8f40","hex_latitude":"059f57c0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330692608001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7091902751565051904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786448042000,"timestamp_ms":1786448042000,"timestamp_seconds":1786448042,"priority":1,"record_length":96,"hex_timestamp":"0000019ff099d810"} 
[2026-08-11 17:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-11 17:04:56] 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-08-11 17: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-08-11 17:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330692608001,"66":27832,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7091902751565051904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330692608001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:04:56] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7091902751565051904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330692608001,"power":27832,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7091902751565051904}} 
[2026-08-11 17:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":155050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:04:56] local.INFO: GPS data processed {"connection_id":155050,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:04:56] local.INFO: Acknowledgment sent {"connection_id":155050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:05:08] local.INFO: TCP Data received {"connection_id":153663,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:05:08] local.INFO: Processing buffer {"connection_id":153663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:05:08] local.INFO: IMEI packet received {"connection_id":153663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":153663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:05:13] local.INFO: TCP Data received {"connection_id":153663,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:05:13] local.INFO: Processing buffer {"connection_id":153663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:05:13] local.INFO: IMEI packet received {"connection_id":153663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":153663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:05:14] local.INFO: TCP Data received {"connection_id":153663,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:05:14] local.INFO: Processing buffer {"connection_id":153663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:05:14] local.INFO: Packet analysis {"connection_id":153663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:05:14] local.INFO: Extracted packet for processing {"connection_id":153663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:05:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:05: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-08-11 17:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330583040001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786447891000,"timestamp_ms":1786447891000,"timestamp_seconds":1786447891,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0978a38"} 
[2026-08-11 17:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:05: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:05: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-08-11 17:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:05:14] 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-08-11 17:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330583040001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330583040001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:05:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:05:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330583040001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":153663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:05:14] local.INFO: GPS data processed {"connection_id":153663,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:05:14] local.INFO: Acknowledgment sent {"connection_id":153663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:05:15] local.INFO: TCP Data received {"connection_id":152717,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:05:15] local.INFO: Processing buffer {"connection_id":152717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:05:15] local.INFO: IMEI packet received {"connection_id":152717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":152717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:05:19] local.INFO: TCP Data received {"connection_id":152718,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:05:19] local.INFO: Processing buffer {"connection_id":152718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:05:19] local.INFO: IMEI packet received {"connection_id":152718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":152718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:05:19] local.INFO: TCP Data received {"connection_id":152717,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:05:19] local.INFO: Processing buffer {"connection_id":152717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:05:19] local.INFO: IMEI packet received {"connection_id":152717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":152717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:05:20] local.INFO: TCP Data received {"connection_id":152717,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09a2630012d19f980071f7bf8004500ca22..."} 
[2026-08-11 17:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09a2630012d19f980071f7bf8004500ca22..."} 
[2026-08-11 17:05:20] local.INFO: Processing buffer {"connection_id":152717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09a2630012d19f980071f7bf8004500ca22..."} 
[2026-08-11 17:05:20] local.INFO: Packet analysis {"connection_id":152717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09a"} 
[2026-08-11 17:05:20] local.INFO: Extracted packet for processing {"connection_id":152717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09a"} 
[2026-08-11 17:05:20] local.INFO: GPS Element Parsed {"raw_longitude":756676992,"raw_latitude":119503864,"longitude_deg":75.6676992,"latitude_deg":11.9503864,"altitude":69,"angle":202,"satellites":34,"speed":12,"hex_longitude":"2d19f980","hex_latitude":"071f7bf8","is_valid_coordinates":true} 
[2026-08-11 17:05: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-08-11 17:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330700800001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11730470513410048,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872793788138444800,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:20] 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-08-11 17:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786448062000,"timestamp_ms":1786448062000,"timestamp_seconds":1786448062,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09a2630"} 
[2026-08-11 17:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:05: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-08-11 17:05: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-11 17:05:20] 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-08-11 17:05: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-08-11 17:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330700800001,"66":13961,"101":206,"83":41984,"24":12,"16":11730470513410048,"45":1872793788138444800},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330700800001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:05:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:05:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11730470513410048,"km_value":11730470513410.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872793788138444800,"description":"Unknown IO ID 45"} 
[2026-08-11 17:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330700800001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1872793788138444800}} 
[2026-08-11 17:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":152717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:05:20] local.INFO: GPS data processed {"connection_id":152717,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:05:20] local.INFO: Acknowledgment sent {"connection_id":152717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:05:21] local.INFO: TCP Data received {"connection_id":152717,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09a2e00012d19f940071f79e0004600ba22..."} 
[2026-08-11 17:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09a2e00012d19f940071f79e0004600ba22..."} 
[2026-08-11 17:05:21] local.INFO: Processing buffer {"connection_id":152717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09a2e00012d19f940071f79e0004600ba22..."} 
[2026-08-11 17:05:21] local.INFO: Packet analysis {"connection_id":152717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09a"} 
[2026-08-11 17:05:21] local.INFO: Extracted packet for processing {"connection_id":152717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09a"} 
[2026-08-11 17:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756676928,"raw_latitude":119503328,"longitude_deg":75.6676928,"latitude_deg":11.9503328,"altitude":70,"angle":186,"satellites":34,"speed":10,"hex_longitude":"2d19f940","hex_latitude":"071f79e0","is_valid_coordinates":true} 
[2026-08-11 17:05: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-08-11 17:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330703872001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11730496283213824,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871667888230496256,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05: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-08-11 17:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786448064000,"timestamp_ms":1786448064000,"timestamp_seconds":1786448064,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09a2e00"} 
[2026-08-11 17:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:05:21] 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-08-11 17:05: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-11 17:05:21] 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-08-11 17:05: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-08-11 17:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330703872001,"66":14048,"101":206,"83":41984,"24":10,"16":11730496283213824,"45":1871667888230496256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330703872001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:05:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11730496283213824,"km_value":11730496283213.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871667888230496256,"description":"Unknown IO ID 45"} 
[2026-08-11 17:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330703872001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1871667888230496256}} 
[2026-08-11 17:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":152717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:05:21] local.INFO: GPS data processed {"connection_id":152717,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:05:21] local.INFO: Acknowledgment sent {"connection_id":152717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:05:24] local.INFO: TCP Data received {"connection_id":152718,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:05:24] local.INFO: Processing buffer {"connection_id":152718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:05:24] local.INFO: IMEI packet received {"connection_id":152718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":152718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:05:26] local.INFO: TCP Data received {"connection_id":152718,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:05:26] local.INFO: Processing buffer {"connection_id":152718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:05:26] local.INFO: Packet analysis {"connection_id":152718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:05:26] local.INFO: Extracted packet for processing {"connection_id":152718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:05:26] local.INFO: GPS Element Parsed {"raw_longitude":765300544,"raw_latitude":94328768,"longitude_deg":76.5300544,"latitude_deg":9.4328768,"altitude":7,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8f40","hex_latitude":"059f57c0","is_valid_coordinates":true} 
[2026-08-11 17:05: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-08-11 17:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330698752001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786448043000,"timestamp_ms":1786448043000,"timestamp_seconds":1786448043,"priority":1,"record_length":96,"hex_timestamp":"0000019ff099dbf8"} 
[2026-08-11 17:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:05:26] 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-08-11 17: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-08-11 17:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330698752001,"66":27832,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330698752001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:05:26] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:05:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330698752001,"power":27832,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":152718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:05:26] local.INFO: GPS data processed {"connection_id":152718,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:05:26] local.INFO: Acknowledgment sent {"connection_id":152718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:05:49] local.INFO: TCP Data received {"connection_id":153663,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:05:49] local.INFO: Processing buffer {"connection_id":153663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:05:49] local.INFO: Packet analysis {"connection_id":153663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:05:49] local.INFO: Extracted packet for processing {"connection_id":153663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:05:49] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:05: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-08-11 17:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330583040001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786447891000,"timestamp_ms":1786447891000,"timestamp_seconds":1786447891,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0978a38"} 
[2026-08-11 17:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:05: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":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:05: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-08-11 17:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:05:49] 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-08-11 17:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330583040001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330583040001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:05:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:05:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330583040001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":153663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:05:49] local.INFO: GPS data processed {"connection_id":153663,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:05:49] local.INFO: Acknowledgment sent {"connection_id":153663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:05:52] local.INFO: TCP Data received {"connection_id":152717,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09a31e8012d19f940071f78f0004700ad23..."} 
[2026-08-11 17:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09a31e8012d19f940071f78f0004700ad23..."} 
[2026-08-11 17:05:52] local.INFO: Processing buffer {"connection_id":152717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09a31e8012d19f940071f78f0004700ad23..."} 
[2026-08-11 17:05:52] local.INFO: Packet analysis {"connection_id":152717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09a"} 
[2026-08-11 17:05:52] local.INFO: Extracted packet for processing {"connection_id":152717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09a"} 
[2026-08-11 17:05:52] local.INFO: GPS Element Parsed {"raw_longitude":756676928,"raw_latitude":119503088,"longitude_deg":75.6676928,"latitude_deg":11.9503088,"altitude":71,"angle":173,"satellites":35,"speed":9,"hex_longitude":"2d19f940","hex_latitude":"071f78f0","is_valid_coordinates":true} 
[2026-08-11 17:05: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-08-11 17:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330704384001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11730509168115712,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871597519486181376,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05: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-08-11 17:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786448065000,"timestamp_ms":1786448065000,"timestamp_seconds":1786448065,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09a31e8"} 
[2026-08-11 17:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:05: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-08-11 17:05: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":224,"data_length":795,"current_offset":136} 
[2026-08-11 17:05:52] 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-08-11 17:05: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-08-11 17:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330704384001,"66":13276,"101":206,"83":41984,"24":9,"16":11730509168115712,"45":1871597519486181376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330704384001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:05:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:05:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11730509168115712,"km_value":11730509168115.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871597519486181376,"description":"Unknown IO ID 45"} 
[2026-08-11 17:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330704384001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1871597519486181376}} 
[2026-08-11 17:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":152717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:05:52] local.INFO: GPS data processed {"connection_id":152717,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:05:52] local.INFO: Acknowledgment sent {"connection_id":152717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:05:57] local.INFO: TCP Data received {"connection_id":152718,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:05:57] local.INFO: Processing buffer {"connection_id":152718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:05:57] local.INFO: Packet analysis {"connection_id":152718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:05:57] local.INFO: Extracted packet for processing {"connection_id":152718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:05:57] local.INFO: GPS Element Parsed {"raw_longitude":765300544,"raw_latitude":94328768,"longitude_deg":76.5300544,"latitude_deg":9.4328768,"altitude":7,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8f40","hex_latitude":"059f57c0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330698752001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786448043000,"timestamp_ms":1786448043000,"timestamp_seconds":1786448043,"priority":1,"record_length":96,"hex_timestamp":"0000019ff099dbf8"} 
[2026-08-11 17:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:05:57] 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-08-11 17: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-08-11 17:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330698752001,"66":27832,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330698752001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:05:57] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330698752001,"power":27832,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":152718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:05:57] local.INFO: GPS data processed {"connection_id":152718,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:05:57] local.INFO: Acknowledgment sent {"connection_id":152718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:06:08] local.INFO: TCP Data received {"connection_id":152341,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:06:08] local.INFO: Processing buffer {"connection_id":152341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:06:08] local.INFO: IMEI packet received {"connection_id":152341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":152341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:06:10] local.INFO: TCP Data received {"connection_id":152719,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:06:10] local.INFO: Processing buffer {"connection_id":152719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:06:10] local.INFO: IMEI packet received {"connection_id":152719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":152719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:06:13] local.INFO: TCP Data received {"connection_id":152341,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:06:13] local.INFO: Processing buffer {"connection_id":152341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:06:13] local.INFO: IMEI packet received {"connection_id":152341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":152341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:06:14] local.INFO: TCP Data received {"connection_id":152341,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:06:14] local.INFO: Processing buffer {"connection_id":152341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0978a38012d7b038005e347980002012c2b..."} 
[2026-08-11 17:06:14] local.INFO: Packet analysis {"connection_id":152341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:06:14] local.INFO: Extracted packet for processing {"connection_id":152341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff097"} 
[2026-08-11 17:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330583040001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786447891000,"timestamp_ms":1786447891000,"timestamp_seconds":1786447891,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0978a38"} 
[2026-08-11 17:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:06:14] 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-08-11 17:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330583040001,"66":2253,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330583040001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:06:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:06:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330583040001,"power":2253,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":152341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:06:14] local.INFO: GPS data processed {"connection_id":152341,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:06:14] local.INFO: Acknowledgment sent {"connection_id":152341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:06:15] local.INFO: TCP Data received {"connection_id":152719,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:06:15] local.INFO: Processing buffer {"connection_id":152719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:06:15] local.INFO: IMEI packet received {"connection_id":152719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":152719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:06:16] local.INFO: TCP Data received {"connection_id":152719,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09a39b8012d19fa00071f77b80047008e23..."} 
[2026-08-11 17:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09a39b8012d19fa00071f77b80047008e23..."} 
[2026-08-11 17:06:16] local.INFO: Processing buffer {"connection_id":152719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09a39b8012d19fa00071f77b80047008e23..."} 
[2026-08-11 17:06:16] local.INFO: Packet analysis {"connection_id":152719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09a"} 
[2026-08-11 17:06:16] local.INFO: Extracted packet for processing {"connection_id":152719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09a"} 
[2026-08-11 17:06:16] local.INFO: GPS Element Parsed {"raw_longitude":756677120,"raw_latitude":119502776,"longitude_deg":75.667712,"latitude_deg":11.9502776,"altitude":71,"angle":142,"satellites":35,"speed":8,"hex_longitude":"2d19fa00","hex_latitude":"071f77b8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330704640001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11730526347984896,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871597519486119936,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:16] 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-08-11 17:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786448067000,"timestamp_ms":1786448067000,"timestamp_seconds":1786448067,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09a39b8"} 
[2026-08-11 17:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:06:16] 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-08-11 17: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-11 17:06:16] 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-08-11 17: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-08-11 17:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330704640001,"66":13993,"101":206,"83":41984,"24":8,"16":11730526347984896,"45":1871597519486119936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330704640001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:06:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:06:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11730526347984896,"km_value":11730526347984.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871597519486119936,"description":"Unknown IO ID 45"} 
[2026-08-11 17:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330704640001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1871597519486119936}} 
[2026-08-11 17:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":152719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:06:16] local.INFO: GPS data processed {"connection_id":152719,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:06:16] local.INFO: Acknowledgment sent {"connection_id":152719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:06:19] local.INFO: TCP Data received {"connection_id":152342,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:06:19] local.INFO: Processing buffer {"connection_id":152342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:06:19] local.INFO: IMEI packet received {"connection_id":152342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":152342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:06:24] local.INFO: TCP Data received {"connection_id":152342,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:06:24] local.INFO: Processing buffer {"connection_id":152342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:06:24] local.INFO: IMEI packet received {"connection_id":152342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":152342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:06:24] local.INFO: TCP Data received {"connection_id":152342,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:06:24] local.INFO: Processing buffer {"connection_id":152342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:06:24] local.INFO: Packet analysis {"connection_id":152342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:06:24] local.INFO: Extracted packet for processing {"connection_id":152342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:06:24] local.INFO: GPS Element Parsed {"raw_longitude":765300544,"raw_latitude":94328768,"longitude_deg":76.5300544,"latitude_deg":9.4328768,"altitude":7,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8f40","hex_latitude":"059f57c0","is_valid_coordinates":true} 
[2026-08-11 17:06:24] 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-08-11 17:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330698752001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786448043000,"timestamp_ms":1786448043000,"timestamp_seconds":1786448043,"priority":1,"record_length":96,"hex_timestamp":"0000019ff099dbf8"} 
[2026-08-11 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-08-11 17:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:06:24] 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-08-11 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-08-11 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-08-11 17:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:06:24] 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-08-11 17:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330698752001,"66":27832,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330698752001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:06:24] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:06:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330698752001,"power":27832,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":152342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:06:24] local.INFO: GPS data processed {"connection_id":152342,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:06:24] local.INFO: Acknowledgment sent {"connection_id":152342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:06:45] local.INFO: TCP Data received {"connection_id":152341,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:06:45] local.INFO: Processing buffer {"connection_id":152341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:06:45] local.INFO: Packet analysis {"connection_id":152341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:06:45] local.INFO: Extracted packet for processing {"connection_id":152341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:06:45] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:06: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-08-11 17:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330660096001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786448192000,"timestamp_ms":1786448192000,"timestamp_seconds":1786448192,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09c2200"} 
[2026-08-11 17:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:06:45] 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-08-11 17:06: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":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:06: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-08-11 17:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:06:45] 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-08-11 17:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330660096001,"66":2231,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330660096001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:06:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:06:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330660096001,"power":2231,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":152341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:06:46] local.INFO: GPS data processed {"connection_id":152341,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:06:46] local.INFO: Acknowledgment sent {"connection_id":152341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:06:47] local.INFO: TCP Data received {"connection_id":152719,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09a3da0012d19fa80071f77580048008023..."} 
[2026-08-11 17:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09a3da0012d19fa80071f77580048008023..."} 
[2026-08-11 17:06:47] local.INFO: Processing buffer {"connection_id":152719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09a3da0012d19fa80071f77580048008023..."} 
[2026-08-11 17:06:47] local.INFO: Packet analysis {"connection_id":152719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09a"} 
[2026-08-11 17:06:47] local.INFO: Extracted packet for processing {"connection_id":152719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09a"} 
[2026-08-11 17:06:47] local.INFO: GPS Element Parsed {"raw_longitude":756677248,"raw_latitude":119502680,"longitude_deg":75.6677248,"latitude_deg":11.950268,"altitude":72,"angle":128,"satellites":35,"speed":7,"hex_longitude":"2d19fa80","hex_latitude":"071f7758","is_valid_coordinates":true} 
[2026-08-11 17:06: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-08-11 17:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330705152001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11730534937919488,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871808625718573056,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:47] 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-08-11 17:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786448068000,"timestamp_ms":1786448068000,"timestamp_seconds":1786448068,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09a3da0"} 
[2026-08-11 17:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:06:47] 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-08-11 17:06: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":169,"data_length":795,"current_offset":136} 
[2026-08-11 17:06:47] 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-08-11 17:06: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-08-11 17:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330705152001,"66":13993,"101":206,"83":41984,"24":7,"16":11730534937919488,"45":1871808625718573056},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330705152001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:06:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:06:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11730534937919488,"km_value":11730534937919.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871808625718573056,"description":"Unknown IO ID 45"} 
[2026-08-11 17:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330705152001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1871808625718573056}} 
[2026-08-11 17:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":152719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:06:47] local.INFO: GPS data processed {"connection_id":152719,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:06:47] local.INFO: Acknowledgment sent {"connection_id":152719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:06:56] local.INFO: TCP Data received {"connection_id":152342,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:06:56] local.INFO: Processing buffer {"connection_id":152342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:06:56] local.INFO: Packet analysis {"connection_id":152342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:06:56] local.INFO: Extracted packet for processing {"connection_id":152342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:06:56] local.INFO: GPS Element Parsed {"raw_longitude":765300544,"raw_latitude":94328768,"longitude_deg":76.5300544,"latitude_deg":9.4328768,"altitude":7,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8f40","hex_latitude":"059f57c0","is_valid_coordinates":true} 
[2026-08-11 17:06: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-08-11 17:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330698752001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786448043000,"timestamp_ms":1786448043000,"timestamp_seconds":1786448043,"priority":1,"record_length":96,"hex_timestamp":"0000019ff099dbf8"} 
[2026-08-11 17:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:06:56] 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-08-11 17: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-08-11 17:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:06:56] 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-08-11 17:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330698752001,"66":27832,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330698752001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:06:56] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:06:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330698752001,"power":27832,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":152342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:06:56] local.INFO: GPS data processed {"connection_id":152342,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:06:56] local.INFO: Acknowledgment sent {"connection_id":152342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:07:08] local.INFO: TCP Data received {"connection_id":152344,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:07:08] local.INFO: Processing buffer {"connection_id":152344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:07:08] local.INFO: IMEI packet received {"connection_id":152344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":152344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:07:10] local.INFO: TCP Data received {"connection_id":152343,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:07:10] local.INFO: Processing buffer {"connection_id":152343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:07:10] local.INFO: IMEI packet received {"connection_id":152343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":152343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:07:13] local.INFO: TCP Data received {"connection_id":152344,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:07:13] local.INFO: Processing buffer {"connection_id":152344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:07:13] local.INFO: IMEI packet received {"connection_id":152344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":152344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:07:14] local.INFO: TCP Data received {"connection_id":152344,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:07:14] local.INFO: Processing buffer {"connection_id":152344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:07:14] local.INFO: Packet analysis {"connection_id":152344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:07:14] local.INFO: Extracted packet for processing {"connection_id":152344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:07:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:07: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-08-11 17:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330660096001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786448192000,"timestamp_ms":1786448192000,"timestamp_seconds":1786448192,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09c2200"} 
[2026-08-11 17:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:07:14] 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-08-11 17:07: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:07: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-08-11 17:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330660096001,"66":2231,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330660096001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:07:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:07:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330660096001,"power":2231,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":152344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:07:14] local.INFO: GPS data processed {"connection_id":152344,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:07:14] local.INFO: Acknowledgment sent {"connection_id":152344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:07:15] local.INFO: TCP Data received {"connection_id":152343,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:07:15] local.INFO: Processing buffer {"connection_id":152343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:07:15] local.INFO: IMEI packet received {"connection_id":152343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":152343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:07:16] local.INFO: TCP Data received {"connection_id":152343,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09a7068012d19f980071f77c80048012e22..."} 
[2026-08-11 17:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09a7068012d19f980071f77c80048012e22..."} 
[2026-08-11 17:07:16] local.INFO: Processing buffer {"connection_id":152343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09a7068012d19f980071f77c80048012e22..."} 
[2026-08-11 17:07:16] local.INFO: Packet analysis {"connection_id":152343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09a"} 
[2026-08-11 17:07:16] local.INFO: Extracted packet for processing {"connection_id":152343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09a"} 
[2026-08-11 17:07:16] local.INFO: GPS Element Parsed {"raw_longitude":756676992,"raw_latitude":119502792,"longitude_deg":75.6676992,"latitude_deg":11.9502792,"altitude":72,"angle":302,"satellites":34,"speed":2,"hex_longitude":"2d19f980","hex_latitude":"071f77c8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330705408001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11730569297657856,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871949363206903808,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:16] 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-08-11 17:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786448081000,"timestamp_ms":1786448081000,"timestamp_seconds":1786448081,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09a7068"} 
[2026-08-11 17:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:07:16] 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-08-11 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-11 17:07:16] 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-08-11 17: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-08-11 17:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330705408001,"66":14070,"101":206,"83":41984,"24":2,"16":11730569297657856,"45":1871949363206903808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330705408001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:07:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:07:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11730569297657856,"km_value":11730569297657.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871949363206903808,"description":"Unknown IO ID 45"} 
[2026-08-11 17:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330705408001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1871949363206903808}} 
[2026-08-11 17:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":152343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:07:16] local.INFO: GPS data processed {"connection_id":152343,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:07:16] local.INFO: Acknowledgment sent {"connection_id":152343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:07:24] local.INFO: TCP Data received {"connection_id":153664,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:07:24] local.INFO: Processing buffer {"connection_id":153664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:07:24] local.INFO: IMEI packet received {"connection_id":153664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":153664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:07:29] local.INFO: TCP Data received {"connection_id":153664,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:07:29] local.INFO: Processing buffer {"connection_id":153664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:07:29] local.INFO: IMEI packet received {"connection_id":153664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":153664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:07:31] local.INFO: TCP Data received {"connection_id":153664,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:07:31] local.INFO: Processing buffer {"connection_id":153664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:07:31] local.INFO: Packet analysis {"connection_id":153664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:07:31] local.INFO: Extracted packet for processing {"connection_id":153664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:07:31] local.INFO: GPS Element Parsed {"raw_longitude":765300544,"raw_latitude":94328768,"longitude_deg":76.5300544,"latitude_deg":9.4328768,"altitude":7,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8f40","hex_latitude":"059f57c0","is_valid_coordinates":true} 
[2026-08-11 17:07:31] 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-08-11 17:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330698752001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786448043000,"timestamp_ms":1786448043000,"timestamp_seconds":1786448043,"priority":1,"record_length":96,"hex_timestamp":"0000019ff099dbf8"} 
[2026-08-11 17:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:07:31] 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-08-11 17: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-08-11 17:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:07:31] 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-08-11 17:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330698752001,"66":27832,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330698752001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:07:31] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:07:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330698752001,"power":27832,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":153664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:07:31] local.INFO: GPS data processed {"connection_id":153664,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:07:31] local.INFO: Acknowledgment sent {"connection_id":153664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:07:34] local.INFO: TCP Data received {"connection_id":153664,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:07:34] local.INFO: Processing buffer {"connection_id":153664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:07:34] local.INFO: Packet analysis {"connection_id":153664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:07:34] local.INFO: Extracted packet for processing {"connection_id":153664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:07:34] local.INFO: GPS Element Parsed {"raw_longitude":765300544,"raw_latitude":94328768,"longitude_deg":76.5300544,"latitude_deg":9.4328768,"altitude":7,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8f40","hex_latitude":"059f57c0","is_valid_coordinates":true} 
[2026-08-11 17:07:34] 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-08-11 17:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330698752001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786448043000,"timestamp_ms":1786448043000,"timestamp_seconds":1786448043,"priority":1,"record_length":96,"hex_timestamp":"0000019ff099dbf8"} 
[2026-08-11 17:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:07:34] 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-08-11 17: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-08-11 17:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:07:34] 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-08-11 17:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330698752001,"66":27832,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330698752001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:07:34] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:07:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330698752001,"power":27832,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":153664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:07:34] local.INFO: GPS data processed {"connection_id":153664,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:07:34] local.INFO: Acknowledgment sent {"connection_id":153664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:07:45] local.INFO: TCP Data received {"connection_id":152344,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:07:45] local.INFO: Processing buffer {"connection_id":152344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:07:45] local.INFO: Packet analysis {"connection_id":152344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:07:45] local.INFO: Extracted packet for processing {"connection_id":152344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:07:45] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:07: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-08-11 17:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330660096001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786448192000,"timestamp_ms":1786448192000,"timestamp_seconds":1786448192,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09c2200"} 
[2026-08-11 17:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:07:45] 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-08-11 17:07: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":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:07: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-08-11 17:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330660096001,"66":2231,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330660096001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:07:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:07:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330660096001,"power":2231,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":152344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:07:45] local.INFO: GPS data processed {"connection_id":152344,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:07:45] local.INFO: Acknowledgment sent {"connection_id":152344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:07:47] local.INFO: TCP Data received {"connection_id":152343,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09a7838012d19f980071f77d80048013d23..."} 
[2026-08-11 17:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09a7838012d19f980071f77d80048013d23..."} 
[2026-08-11 17:07:47] local.INFO: Processing buffer {"connection_id":152343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09a7838012d19f980071f77d80048013d23..."} 
[2026-08-11 17:07:47] local.INFO: Packet analysis {"connection_id":152343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09a"} 
[2026-08-11 17:07:47] local.INFO: Extracted packet for processing {"connection_id":152343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09a"} 
[2026-08-11 17:07:47] local.INFO: GPS Element Parsed {"raw_longitude":756676992,"raw_latitude":119502808,"longitude_deg":75.6676992,"latitude_deg":11.9502808,"altitude":72,"angle":317,"satellites":35,"speed":1,"hex_longitude":"2d19f980","hex_latitude":"071f77d8","is_valid_coordinates":true} 
[2026-08-11 17:07: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-08-11 17:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330708736001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11730569297657856,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871667888230221824,"note":"Value kept but may cause issues"} 
[2026-08-11 17:07:47] 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-08-11 17:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786448083000,"timestamp_ms":1786448083000,"timestamp_seconds":1786448083,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09a7838"} 
[2026-08-11 17:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:07:47] 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-08-11 17:07: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":246,"data_length":795,"current_offset":136} 
[2026-08-11 17:07:47] 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-08-11 17:07: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-08-11 17:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330708736001,"66":14048,"101":206,"83":41984,"24":1,"16":11730569297657856,"45":1871667888230221824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330708736001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:07:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:07:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11730569297657856,"km_value":11730569297657.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871667888230221824,"description":"Unknown IO ID 45"} 
[2026-08-11 17:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330708736001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1871667888230221824}} 
[2026-08-11 17:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":152343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:07:47] local.INFO: GPS data processed {"connection_id":152343,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:07:47] local.INFO: Acknowledgment sent {"connection_id":152343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:08:08] local.INFO: TCP Data received {"connection_id":153666,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:08:08] local.INFO: Processing buffer {"connection_id":153666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:08:08] local.INFO: IMEI packet received {"connection_id":153666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":153666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:08:09] local.INFO: TCP Data received {"connection_id":153665,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:08:09] local.INFO: Processing buffer {"connection_id":153665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:08:09] local.INFO: IMEI packet received {"connection_id":153665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":153665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:08:10] local.INFO: TCP Data received {"connection_id":153665,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:08:10] local.INFO: Processing buffer {"connection_id":153665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:08:10] local.INFO: IMEI packet received {"connection_id":153665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":153665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:08:13] local.INFO: TCP Data received {"connection_id":153666,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:08:13] local.INFO: Processing buffer {"connection_id":153666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:08:13] local.INFO: IMEI packet received {"connection_id":153666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":153666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:08:14] local.INFO: TCP Data received {"connection_id":153666,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:08:14] local.INFO: Processing buffer {"connection_id":153666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:08:14] local.INFO: Packet analysis {"connection_id":153666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:08:14] local.INFO: Extracted packet for processing {"connection_id":153666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:08:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:08: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-08-11 17:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330660096001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786448192000,"timestamp_ms":1786448192000,"timestamp_seconds":1786448192,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09c2200"} 
[2026-08-11 17:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:08:14] 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-08-11 17:08: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:08: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-08-11 17:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330660096001,"66":2231,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330660096001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:08:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:08:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330660096001,"power":2231,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":153666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:08:14] local.INFO: GPS data processed {"connection_id":153666,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:08:14] local.INFO: Acknowledgment sent {"connection_id":153666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:08:15] local.INFO: TCP Data received {"connection_id":153665,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:08:15] local.INFO: Processing buffer {"connection_id":153665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:08:15] local.INFO: IMEI packet received {"connection_id":153665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":153665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:08:16] local.INFO: TCP Data received {"connection_id":153665,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09aca40012d19f900071f77d8004a013e25..."} 
[2026-08-11 17:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09aca40012d19f900071f77d8004a013e25..."} 
[2026-08-11 17:08:16] local.INFO: Processing buffer {"connection_id":153665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09aca40012d19f900071f77d8004a013e25..."} 
[2026-08-11 17:08:16] local.INFO: Packet analysis {"connection_id":153665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09a"} 
[2026-08-11 17:08:16] local.INFO: Extracted packet for processing {"connection_id":153665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09a"} 
[2026-08-11 17:08:16] local.INFO: GPS Element Parsed {"raw_longitude":756676864,"raw_latitude":119502808,"longitude_deg":75.6676864,"latitude_deg":11.9502808,"altitude":74,"angle":318,"satellites":37,"speed":0,"hex_longitude":"2d19f900","hex_latitude":"071f77d8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330709248001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11730577887592448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871667888230225920,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:16] 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-08-11 17:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786448104000,"timestamp_ms":1786448104000,"timestamp_seconds":1786448104,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09aca40"} 
[2026-08-11 17:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:08:16] 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-08-11 17: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-11 17:08:16] 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-08-11 17: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-08-11 17:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330709248001,"66":13993,"101":206,"83":41984,"24":0,"16":11730577887592448,"45":1871667888230225920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330709248001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:08:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:08:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11730577887592448,"km_value":11730577887592.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871667888230225920,"description":"Unknown IO ID 45"} 
[2026-08-11 17:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330709248001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1871667888230225920}} 
[2026-08-11 17:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":153665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:08:16] local.INFO: GPS data processed {"connection_id":153665,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:08:16] local.INFO: Acknowledgment sent {"connection_id":153665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:08:19] local.INFO: TCP Data received {"connection_id":152345,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:08:19] local.INFO: Processing buffer {"connection_id":152345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:08:19] local.INFO: IMEI packet received {"connection_id":152345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":152345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:08:24] local.INFO: TCP Data received {"connection_id":152345,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:08:24] local.INFO: Processing buffer {"connection_id":152345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:08:24] local.INFO: IMEI packet received {"connection_id":152345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":152345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:08:25] local.INFO: TCP Data received {"connection_id":152345,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:08:25] local.INFO: Processing buffer {"connection_id":152345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:08:25] local.INFO: Packet analysis {"connection_id":152345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:08:25] local.INFO: Extracted packet for processing {"connection_id":152345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:08:25] local.INFO: GPS Element Parsed {"raw_longitude":765300544,"raw_latitude":94328768,"longitude_deg":76.5300544,"latitude_deg":9.4328768,"altitude":7,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8f40","hex_latitude":"059f57c0","is_valid_coordinates":true} 
[2026-08-11 17:08:25] 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-08-11 17:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330698752001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786448043000,"timestamp_ms":1786448043000,"timestamp_seconds":1786448043,"priority":1,"record_length":96,"hex_timestamp":"0000019ff099dbf8"} 
[2026-08-11 17:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:08:25] 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-08-11 17: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-08-11 17:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:08:25] 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-08-11 17:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330698752001,"66":27832,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330698752001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:08:25] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:08:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330698752001,"power":27832,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":152345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:08:25] local.INFO: GPS data processed {"connection_id":152345,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:08:25] local.INFO: Acknowledgment sent {"connection_id":152345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:08:45] local.INFO: TCP Data received {"connection_id":153666,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:08:45] local.INFO: Processing buffer {"connection_id":153666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:08:45] local.INFO: Packet analysis {"connection_id":153666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:08:45] local.INFO: Extracted packet for processing {"connection_id":153666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:08:45] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:08: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-08-11 17:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330660096001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786448192000,"timestamp_ms":1786448192000,"timestamp_seconds":1786448192,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09c2200"} 
[2026-08-11 17:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:08:45] 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-08-11 17:08: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":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:08: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-08-11 17:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330660096001,"66":2231,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330660096001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:08:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:08:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330660096001,"power":2231,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":153666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:08:45] local.INFO: GPS data processed {"connection_id":153666,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:08:45] local.INFO: Acknowledgment sent {"connection_id":153666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:08:47] local.INFO: TCP Data received {"connection_id":153665,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09d6e08012d19fb80071fbc00003b012124..."} 
[2026-08-11 17:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09d6e08012d19fb80071fbc00003b012124..."} 
[2026-08-11 17:08:47] local.INFO: Processing buffer {"connection_id":153665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09d6e08012d19fb80071fbc00003b012124..."} 
[2026-08-11 17:08:47] local.INFO: Packet analysis {"connection_id":153665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09d"} 
[2026-08-11 17:08:47] local.INFO: Extracted packet for processing {"connection_id":153665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09d"} 
[2026-08-11 17:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756677504,"raw_latitude":119520256,"longitude_deg":75.6677504,"latitude_deg":11.9520256,"altitude":59,"angle":289,"satellites":36,"speed":11,"hex_longitude":"2d19fb80","hex_latitude":"071fbc00","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330758656001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11731488420659200,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872441944420608000,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:47] 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-08-11 17:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786448277000,"timestamp_ms":1786448277000,"timestamp_seconds":1786448277,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09d6e08"} 
[2026-08-11 17:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:08: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-08-11 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 17:08:47] 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-08-11 17: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-08-11 17:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330758656001,"66":14102,"101":206,"83":41984,"24":11,"16":11731488420659200,"45":1872441944420608000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330758656001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:08:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:08:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11731488420659200,"km_value":11731488420659.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872441944420608000,"description":"Unknown IO ID 45"} 
[2026-08-11 17:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330758656001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1872441944420608000}} 
[2026-08-11 17:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":153665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:08:47] local.INFO: GPS data processed {"connection_id":153665,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:08:47] local.INFO: Acknowledgment sent {"connection_id":153665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:08:57] local.INFO: TCP Data received {"connection_id":152345,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:08:57] local.INFO: Processing buffer {"connection_id":152345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:08:57] local.INFO: Packet analysis {"connection_id":152345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:08:57] local.INFO: Extracted packet for processing {"connection_id":152345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:08:57] local.INFO: GPS Element Parsed {"raw_longitude":765300544,"raw_latitude":94328768,"longitude_deg":76.5300544,"latitude_deg":9.4328768,"altitude":7,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8f40","hex_latitude":"059f57c0","is_valid_coordinates":true} 
[2026-08-11 17:08: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-08-11 17:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330698752001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786448043000,"timestamp_ms":1786448043000,"timestamp_seconds":1786448043,"priority":1,"record_length":96,"hex_timestamp":"0000019ff099dbf8"} 
[2026-08-11 17:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:08: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":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:08:57] 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-08-11 17:08: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-08-11 17:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:08:57] 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-08-11 17:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330698752001,"66":27832,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330698752001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:08:57] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:08:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330698752001,"power":27832,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":152345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:08:57] local.INFO: GPS data processed {"connection_id":152345,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:08:57] local.INFO: Acknowledgment sent {"connection_id":152345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:09:10] local.INFO: TCP Data received {"connection_id":155051,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:09:10] local.INFO: Processing buffer {"connection_id":155051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:09:10] local.INFO: IMEI packet received {"connection_id":155051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":155051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:09:10] local.INFO: TCP Data received {"connection_id":155051,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:09:10] local.INFO: Processing buffer {"connection_id":155051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:09:10] local.INFO: IMEI packet received {"connection_id":155051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":155051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:09:13] local.INFO: TCP Data received {"connection_id":155051,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:09:13] local.INFO: Processing buffer {"connection_id":155051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:09:13] local.INFO: IMEI packet received {"connection_id":155051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":155051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:09:13] local.INFO: TCP Data received {"connection_id":152720,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:09:13] local.INFO: Processing buffer {"connection_id":152720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:09:13] local.INFO: IMEI packet received {"connection_id":152720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":152720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:09:15] local.INFO: TCP Data received {"connection_id":155051,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:09:15] local.INFO: Processing buffer {"connection_id":155051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:09:15] local.INFO: IMEI packet received {"connection_id":155051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":155051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:09:15] local.INFO: TCP Data received {"connection_id":155051,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09d71f0012d19fa40071fbc28003b010b25..."} 
[2026-08-11 17:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09d71f0012d19fa40071fbc28003b010b25..."} 
[2026-08-11 17:09:15] local.INFO: Processing buffer {"connection_id":155051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09d71f0012d19fa40071fbc28003b010b25..."} 
[2026-08-11 17:09:15] local.INFO: Packet analysis {"connection_id":155051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09d"} 
[2026-08-11 17:09:15] local.INFO: Extracted packet for processing {"connection_id":155051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09d"} 
[2026-08-11 17:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756677184,"raw_latitude":119520296,"longitude_deg":75.6677184,"latitude_deg":11.9520296,"altitude":59,"angle":267,"satellites":37,"speed":11,"hex_longitude":"2d19fa40","hex_latitude":"071fbc28","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330758912001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11731501305561088,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872230838188113920,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:15] 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-08-11 17:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786448278000,"timestamp_ms":1786448278000,"timestamp_seconds":1786448278,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09d71f0"} 
[2026-08-11 17:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:09: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-08-11 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 17:09:15] 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-08-11 17: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-08-11 17:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330758912001,"66":14102,"101":206,"83":41984,"24":11,"16":11731501305561088,"45":1872230838188113920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330758912001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:09:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11731501305561088,"km_value":11731501305561.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872230838188113920,"description":"Unknown IO ID 45"} 
[2026-08-11 17:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330758912001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1872230838188113920}} 
[2026-08-11 17:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":155051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:09:15] local.INFO: GPS data processed {"connection_id":155051,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:09:15] local.INFO: Acknowledgment sent {"connection_id":155051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:09:16] local.INFO: TCP Data received {"connection_id":155051,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09d8190012d19f400071fbb40003a00fe25..."} 
[2026-08-11 17:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09d8190012d19f400071fbb40003a00fe25..."} 
[2026-08-11 17:09:16] local.INFO: Processing buffer {"connection_id":155051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09d8190012d19f400071fbb40003a00fe25..."} 
[2026-08-11 17:09:16] local.INFO: Packet analysis {"connection_id":155051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09d"} 
[2026-08-11 17:09:16] local.INFO: Extracted packet for processing {"connection_id":155051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09d"} 
[2026-08-11 17:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756675584,"raw_latitude":119520064,"longitude_deg":75.6675584,"latitude_deg":11.9520064,"altitude":58,"angle":254,"satellites":37,"speed":18,"hex_longitude":"2d19f400","hex_latitude":"071fbb40","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330759168001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11731578614972416,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871878994467235840,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:16] 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-08-11 17:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786448282000,"timestamp_ms":1786448282000,"timestamp_seconds":1786448282,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09d8190"} 
[2026-08-11 17:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:09: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-08-11 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 17:09:16] 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-08-11 17: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-08-11 17:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330759168001,"66":14461,"101":206,"83":41984,"24":18,"16":11731578614972416,"45":1871878994467235840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330759168001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:09:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:09:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11731578614972416,"km_value":11731578614972.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871878994467235840,"description":"Unknown IO ID 45"} 
[2026-08-11 17:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330759168001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1871878994467235840}} 
[2026-08-11 17:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":155051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:09:16] local.INFO: GPS data processed {"connection_id":155051,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:09:16] local.INFO: Acknowledgment sent {"connection_id":155051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:09:18] local.INFO: TCP Data received {"connection_id":152720,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:09:18] local.INFO: Processing buffer {"connection_id":152720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:09:18] local.INFO: IMEI packet received {"connection_id":152720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":152720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:09:19] local.INFO: TCP Data received {"connection_id":155052,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:09:19] local.INFO: Processing buffer {"connection_id":155052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:09:19] local.INFO: IMEI packet received {"connection_id":155052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":155052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:09:19] local.INFO: TCP Data received {"connection_id":152720,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:09:19] local.INFO: Processing buffer {"connection_id":152720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:09:19] local.INFO: Packet analysis {"connection_id":152720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:09:19] local.INFO: Extracted packet for processing {"connection_id":152720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:09:19] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:09: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-08-11 17:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330660096001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786448192000,"timestamp_ms":1786448192000,"timestamp_seconds":1786448192,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09c2200"} 
[2026-08-11 17:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:09:19] 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-08-11 17:09: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":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:09: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-08-11 17:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:09:19] 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-08-11 17:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330660096001,"66":2231,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330660096001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:09:19] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:09:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330660096001,"power":2231,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":152720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:09:19] local.INFO: GPS data processed {"connection_id":152720,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:09:19] local.INFO: Acknowledgment sent {"connection_id":152720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:09:24] local.INFO: TCP Data received {"connection_id":152720,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:09:24] local.INFO: Processing buffer {"connection_id":152720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:09:24] local.INFO: Packet analysis {"connection_id":152720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:09:24] local.INFO: Extracted packet for processing {"connection_id":152720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:09:24] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330660096001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786448192000,"timestamp_ms":1786448192000,"timestamp_seconds":1786448192,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09c2200"} 
[2026-08-11 17:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:09: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-08-11 17: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":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:09:24] 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-08-11 17:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330660096001,"66":2231,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330660096001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:09:24] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:09:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330660096001,"power":2231,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":152720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:09:24] local.INFO: GPS data processed {"connection_id":152720,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:09:24] local.INFO: Acknowledgment sent {"connection_id":152720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:09:24] local.INFO: TCP Data received {"connection_id":155052,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:09:24] local.INFO: Processing buffer {"connection_id":155052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:09:24] local.INFO: IMEI packet received {"connection_id":155052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":155052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:09:26] local.INFO: TCP Data received {"connection_id":155052,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:09:26] local.INFO: Processing buffer {"connection_id":155052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff099dbf8012d9d8f40059f57c0000700f62c..."} 
[2026-08-11 17:09:26] local.INFO: Packet analysis {"connection_id":155052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:09:26] local.INFO: Extracted packet for processing {"connection_id":155052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:09:26] local.INFO: GPS Element Parsed {"raw_longitude":765300544,"raw_latitude":94328768,"longitude_deg":76.5300544,"latitude_deg":9.4328768,"altitude":7,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8f40","hex_latitude":"059f57c0","is_valid_coordinates":true} 
[2026-08-11 17:09: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-08-11 17:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330698752001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786448043000,"timestamp_ms":1786448043000,"timestamp_seconds":1786448043,"priority":1,"record_length":96,"hex_timestamp":"0000019ff099dbf8"} 
[2026-08-11 17:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:09:26] 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-08-11 17: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-08-11 17:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":155052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":155052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":155052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:09:26] 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-08-11 17:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330698752001,"66":27832,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330698752001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:09:26] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:09:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330698752001,"power":27832,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":155052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:09:26] local.INFO: GPS data processed {"connection_id":155052,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:09:26] local.INFO: Acknowledgment sent {"connection_id":155052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:09:47] local.INFO: TCP Data received {"connection_id":155051,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09e5868012d19a6c0071fc2c8003e015a22..."} 
[2026-08-11 17:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09e5868012d19a6c0071fc2c8003e015a22..."} 
[2026-08-11 17:09:47] local.INFO: Processing buffer {"connection_id":155051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09e5868012d19a6c0071fc2c8003e015a22..."} 
[2026-08-11 17:09:47] local.INFO: Packet analysis {"connection_id":155051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:09:47] local.INFO: Extracted packet for processing {"connection_id":155051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:09:47] local.INFO: GPS Element Parsed {"raw_longitude":756655808,"raw_latitude":119521992,"longitude_deg":75.6655808,"latitude_deg":11.9521992,"altitude":62,"angle":346,"satellites":34,"speed":9,"hex_longitude":"2d19a6c0","hex_latitude":"071fc2c8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330774016001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11732695306469376,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848446202656450560,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:47] 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-08-11 17:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786448337000,"timestamp_ms":1786448337000,"timestamp_seconds":1786448337,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09e5868"} 
[2026-08-11 17:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:09:47] 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-08-11 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 17:09:47] 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-08-11 17: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-08-11 17:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330774016001,"66":14428,"101":206,"83":41984,"24":9,"16":11732695306469376,"45":1848446202656450560},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330774016001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:09:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:09:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11732695306469376,"km_value":11732695306469.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848446202656450560,"description":"Unknown IO ID 45"} 
[2026-08-11 17:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330774016001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1848446202656450560}} 
[2026-08-11 17:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":155051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:09:47] local.INFO: GPS data processed {"connection_id":155051,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:09:47] local.INFO: Acknowledgment sent {"connection_id":155051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:09:58] local.INFO: TCP Data received {"connection_id":155052,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:09:58] local.INFO: Processing buffer {"connection_id":155052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:09:58] local.INFO: Packet analysis {"connection_id":155052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:09:58] local.INFO: Extracted packet for processing {"connection_id":155052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:09:58] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330699008001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786448347000,"timestamp_ms":1786448347000,"timestamp_seconds":1786448347,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09e7f78"} 
[2026-08-11 17:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:09:58] 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-08-11 17: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-08-11 17:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":155052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":155052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":155052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:09:58] 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-08-11 17:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330699008001,"66":26234,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330699008001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:09:58] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:09:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330699008001,"power":26234,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":155052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:09:58] local.INFO: GPS data processed {"connection_id":155052,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:09:58] local.INFO: Acknowledgment sent {"connection_id":155052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:10:08] local.INFO: TCP Data received {"connection_id":155053,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:10:08] local.INFO: Processing buffer {"connection_id":155053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:10:08] local.INFO: IMEI packet received {"connection_id":155053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":155053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:10:10] local.INFO: TCP Data received {"connection_id":152346,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:10:10] local.INFO: Processing buffer {"connection_id":152346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:10:10] local.INFO: IMEI packet received {"connection_id":152346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":152346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:10:10] local.INFO: TCP Data received {"connection_id":152346,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:10:10] local.INFO: Processing buffer {"connection_id":152346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:10:10] local.INFO: IMEI packet received {"connection_id":152346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":152346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:10:11] local.INFO: TCP Data received {"connection_id":152346,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:10:11] local.INFO: Processing buffer {"connection_id":152346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:10:11] local.INFO: IMEI packet received {"connection_id":152346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":152346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:10:13] local.INFO: TCP Data received {"connection_id":152346,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:10:13] local.INFO: Processing buffer {"connection_id":152346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:10:13] local.INFO: IMEI packet received {"connection_id":152346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":152346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:10:13] local.INFO: TCP Data received {"connection_id":155053,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:10:13] local.INFO: Processing buffer {"connection_id":155053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:10:13] local.INFO: IMEI packet received {"connection_id":155053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":155053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:10:14] local.INFO: TCP Data received {"connection_id":155053,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:10:14] local.INFO: Processing buffer {"connection_id":155053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:10:14] local.INFO: Packet analysis {"connection_id":155053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:10:14] local.INFO: Extracted packet for processing {"connection_id":155053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:10:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:10: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-08-11 17:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330660096001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786448192000,"timestamp_ms":1786448192000,"timestamp_seconds":1786448192,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09c2200"} 
[2026-08-11 17:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:10:14] 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-08-11 17:10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:10: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-08-11 17:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330660096001,"66":2231,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330660096001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:10:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:10:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330660096001,"power":2231,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":155053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:10:14] local.INFO: GPS data processed {"connection_id":155053,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:10:14] local.INFO: Acknowledgment sent {"connection_id":155053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:10:29] local.INFO: TCP Data received {"connection_id":152721,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:10:29] local.INFO: Processing buffer {"connection_id":152721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:10:29] local.INFO: IMEI packet received {"connection_id":152721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":152721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:10:34] local.INFO: TCP Data received {"connection_id":152721,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:10:34] local.INFO: Processing buffer {"connection_id":152721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:10:34] local.INFO: IMEI packet received {"connection_id":152721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":152721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:10:35] local.INFO: TCP Data received {"connection_id":152721,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:10:35] local.INFO: Processing buffer {"connection_id":152721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:10:35] local.INFO: Packet analysis {"connection_id":152721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:10:35] local.INFO: Extracted packet for processing {"connection_id":152721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:10:35] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330699008001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786448347000,"timestamp_ms":1786448347000,"timestamp_seconds":1786448347,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09e7f78"} 
[2026-08-11 17:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:10:35] 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-08-11 17: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-08-11 17:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:10:35] 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-08-11 17:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330699008001,"66":26234,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330699008001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:10:35] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330699008001,"power":26234,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":152721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:10:35] local.INFO: GPS data processed {"connection_id":152721,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:10:35] local.INFO: Acknowledgment sent {"connection_id":152721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:10:45] local.INFO: TCP Data received {"connection_id":155053,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:10:45] local.INFO: Processing buffer {"connection_id":155053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09c2200012d7b038005e347980002012c29..."} 
[2026-08-11 17:10:45] local.INFO: Packet analysis {"connection_id":155053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:10:45] local.INFO: Extracted packet for processing {"connection_id":155053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09c"} 
[2026-08-11 17:10:45] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330660096001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786448192000,"timestamp_ms":1786448192000,"timestamp_seconds":1786448192,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09c2200"} 
[2026-08-11 17:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:10:45] 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-08-11 17: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-11 17:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330660096001,"66":2231,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330660096001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:10:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:10:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330660096001,"power":2231,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":155053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:10:45] local.INFO: GPS data processed {"connection_id":155053,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:10:45] local.INFO: Acknowledgment sent {"connection_id":155053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:11:24] local.INFO: TCP Data received {"connection_id":152347,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:11:24] local.INFO: Processing buffer {"connection_id":152347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:11:24] local.INFO: IMEI packet received {"connection_id":152347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":152347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:11:29] local.INFO: TCP Data received {"connection_id":152347,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:11:29] local.INFO: Processing buffer {"connection_id":152347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:11:29] local.INFO: IMEI packet received {"connection_id":152347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":152347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:11:31] local.INFO: TCP Data received {"connection_id":152347,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:11:31] local.INFO: Processing buffer {"connection_id":152347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:11:31] local.INFO: Packet analysis {"connection_id":152347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:11:31] local.INFO: Extracted packet for processing {"connection_id":152347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:11:31] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330699008001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786448347000,"timestamp_ms":1786448347000,"timestamp_seconds":1786448347,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09e7f78"} 
[2026-08-11 17:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:11:31] 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-08-11 17: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-08-11 17:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:11:31] 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-08-11 17:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330699008001,"66":26234,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330699008001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:11:31] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:11:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330699008001,"power":26234,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":152347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:11:31] local.INFO: GPS data processed {"connection_id":152347,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:11:31] local.INFO: Acknowledgment sent {"connection_id":152347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:11:34] local.INFO: TCP Data received {"connection_id":152347,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:11:34] local.INFO: Processing buffer {"connection_id":152347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:11:34] local.INFO: Packet analysis {"connection_id":152347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:11:34] local.INFO: Extracted packet for processing {"connection_id":152347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:11:34] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17:11: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-08-11 17:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330699008001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786448347000,"timestamp_ms":1786448347000,"timestamp_seconds":1786448347,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09e7f78"} 
[2026-08-11 17:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:11: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":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:11:34] 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-08-11 17:11: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-08-11 17:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:11:34] 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-08-11 17:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330699008001,"66":26234,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330699008001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:11:34] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330699008001,"power":26234,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":152347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:11:34] local.INFO: GPS data processed {"connection_id":152347,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:11:34] local.INFO: Acknowledgment sent {"connection_id":152347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:12:21] local.INFO: TCP Data received {"connection_id":152723,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:12:21] local.INFO: Processing buffer {"connection_id":152723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:12:21] local.INFO: IMEI packet received {"connection_id":152723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":152723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:12:24] local.INFO: TCP Data received {"connection_id":152723,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:12:24] local.INFO: Processing buffer {"connection_id":152723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:12:24] local.INFO: IMEI packet received {"connection_id":152723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":152723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:12:26] local.INFO: TCP Data received {"connection_id":152723,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:12:26] local.INFO: Processing buffer {"connection_id":152723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:12:26] local.INFO: Packet analysis {"connection_id":152723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:12:26] local.INFO: Extracted packet for processing {"connection_id":152723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:12:26] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330699008001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786448347000,"timestamp_ms":1786448347000,"timestamp_seconds":1786448347,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09e7f78"} 
[2026-08-11 17:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:12:26] 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-08-11 17: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-08-11 17:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:12:26] 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-08-11 17:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330699008001,"66":26234,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330699008001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:12:26] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:12:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330699008001,"power":26234,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":152723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:12:26] local.INFO: GPS data processed {"connection_id":152723,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:12:26] local.INFO: Acknowledgment sent {"connection_id":152723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:12:59] local.INFO: TCP Data received {"connection_id":152723,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:12:59] local.INFO: Processing buffer {"connection_id":152723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:12:59] local.INFO: Packet analysis {"connection_id":152723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:12:59] local.INFO: Extracted packet for processing {"connection_id":152723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:12:59] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330699008001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786448347000,"timestamp_ms":1786448347000,"timestamp_seconds":1786448347,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09e7f78"} 
[2026-08-11 17:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:12:59] 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-08-11 17: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-08-11 17:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:12:59] 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-08-11 17:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330699008001,"66":26234,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330699008001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:12:59] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:12:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330699008001,"power":26234,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":152723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:12:59] local.INFO: GPS data processed {"connection_id":152723,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:12:59] local.INFO: Acknowledgment sent {"connection_id":152723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:13:19] local.INFO: TCP Data received {"connection_id":153668,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:13:19] local.INFO: Processing buffer {"connection_id":153668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:13:19] local.INFO: IMEI packet received {"connection_id":153668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":153668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:13:24] local.INFO: TCP Data received {"connection_id":153668,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:13:24] local.INFO: Processing buffer {"connection_id":153668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:13:24] local.INFO: IMEI packet received {"connection_id":153668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":153668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:13:26] local.INFO: TCP Data received {"connection_id":153668,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:13:26] local.INFO: Processing buffer {"connection_id":153668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:13:26] local.INFO: Packet analysis {"connection_id":153668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:13:26] local.INFO: Extracted packet for processing {"connection_id":153668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:13:26] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330699008001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786448347000,"timestamp_ms":1786448347000,"timestamp_seconds":1786448347,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09e7f78"} 
[2026-08-11 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-08-11 17:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:13:26] 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-08-11 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-08-11 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-08-11 17:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:13:26] 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-08-11 17:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330699008001,"66":26234,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330699008001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:13:26] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:13:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330699008001,"power":26234,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":153668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:13:26] local.INFO: GPS data processed {"connection_id":153668,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:13:26] local.INFO: Acknowledgment sent {"connection_id":153668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:13:57] local.INFO: TCP Data received {"connection_id":153668,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:13:57] local.INFO: Processing buffer {"connection_id":153668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:13:57] local.INFO: Packet analysis {"connection_id":153668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:13:57] local.INFO: Extracted packet for processing {"connection_id":153668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:13:57] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17:13: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-08-11 17:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330699008001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786448347000,"timestamp_ms":1786448347000,"timestamp_seconds":1786448347,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09e7f78"} 
[2026-08-11 17:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:13: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":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:13:57] 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-08-11 17:13: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-08-11 17:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:13:57] 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-08-11 17:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330699008001,"66":26234,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330699008001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:13:57] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:13:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330699008001,"power":26234,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":153668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:13:57] local.INFO: GPS data processed {"connection_id":153668,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:13:57] local.INFO: Acknowledgment sent {"connection_id":153668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:14:24] local.INFO: TCP Data received {"connection_id":152725,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:14:24] local.INFO: Processing buffer {"connection_id":152725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:14:24] local.INFO: IMEI packet received {"connection_id":152725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":152725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:14:29] local.INFO: TCP Data received {"connection_id":152725,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:14:29] local.INFO: Processing buffer {"connection_id":152725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:14:29] local.INFO: IMEI packet received {"connection_id":152725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":152725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:14:31] local.INFO: TCP Data received {"connection_id":152725,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:14:31] local.INFO: Processing buffer {"connection_id":152725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:14:31] local.INFO: Packet analysis {"connection_id":152725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:14:31] local.INFO: Extracted packet for processing {"connection_id":152725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:14:31] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330699008001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786448347000,"timestamp_ms":1786448347000,"timestamp_seconds":1786448347,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09e7f78"} 
[2026-08-11 17:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:14:31] 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-08-11 17: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-08-11 17:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:14:31] 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-08-11 17:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330699008001,"66":26234,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330699008001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:14:31] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:14:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330699008001,"power":26234,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":152725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:14:31] local.INFO: GPS data processed {"connection_id":152725,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:14:31] local.INFO: Acknowledgment sent {"connection_id":152725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:14:34] local.INFO: TCP Data received {"connection_id":152725,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:14:34] local.INFO: Processing buffer {"connection_id":152725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09e7f78012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:14:34] local.INFO: Packet analysis {"connection_id":152725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:14:34] local.INFO: Extracted packet for processing {"connection_id":152725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff09e"} 
[2026-08-11 17:14:34] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330699008001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093380495192899584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786448347000,"timestamp_ms":1786448347000,"timestamp_seconds":1786448347,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09e7f78"} 
[2026-08-11 17:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:14:34] 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-08-11 17: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-08-11 17:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:14:34] 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-08-11 17:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330699008001,"66":26234,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093380495192899584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330699008001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:14:34] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:14:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093380495192899584,"description":"Unknown IO ID 45"} 
[2026-08-11 17:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330699008001,"power":26234,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093380495192899584}} 
[2026-08-11 17:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":152725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:14:34] local.INFO: GPS data processed {"connection_id":152725,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:14:34] local.INFO: Acknowledgment sent {"connection_id":152725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:15:15] local.INFO: TCP Data received {"connection_id":155055,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:15:15] local.INFO: Processing buffer {"connection_id":155055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:15:15] local.INFO: IMEI packet received {"connection_id":155055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":155055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:15:16] local.INFO: TCP Data received {"connection_id":155055,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a2b1b0012d18788007218178004c010b24..."} 
[2026-08-11 17:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a2b1b0012d18788007218178004c010b24..."} 
[2026-08-11 17:15:16] local.INFO: Processing buffer {"connection_id":155055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a2b1b0012d18788007218178004c010b24..."} 
[2026-08-11 17:15:16] local.INFO: Packet analysis {"connection_id":155055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a2"} 
[2026-08-11 17:15:16] local.INFO: Extracted packet for processing {"connection_id":155055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a2"} 
[2026-08-11 17:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756578432,"raw_latitude":119636344,"longitude_deg":75.6578432,"latitude_deg":11.9636344,"altitude":76,"angle":267,"satellites":36,"speed":31,"hex_longitude":"2d187880","hex_latitude":"07218178","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330846464001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11741749097529344,"note":"Value kept but may cause issues"} 
[2026-08-11 17:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765974034509518848,"note":"Value kept but may cause issues"} 
[2026-08-11 17:15:16] 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-08-11 17:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786448622000,"timestamp_ms":1786448622000,"timestamp_seconds":1786448622,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a2b1b0"} 
[2026-08-11 17:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:15:16] 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-08-11 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 17:15:16] 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-08-11 17: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-08-11 17:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330846464001,"66":14428,"105":206,"83":41984,"24":31,"16":11741749097529344,"45":1765974034509518848},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330846464001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:15:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:15:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11741749097529344,"km_value":11741749097529.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765974034509518848,"description":"Unknown IO ID 45"} 
[2026-08-11 17:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330846464001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1765974034509518848}} 
[2026-08-11 17:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":155055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:15:16] local.INFO: GPS data processed {"connection_id":155055,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:15:16] local.INFO: Acknowledgment sent {"connection_id":155055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:15:19] local.INFO: TCP Data received {"connection_id":153669,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:15:19] local.INFO: Processing buffer {"connection_id":153669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:15:19] local.INFO: IMEI packet received {"connection_id":153669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":153669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:15:24] local.INFO: TCP Data received {"connection_id":153669,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:15:24] local.INFO: Processing buffer {"connection_id":153669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:15:24] local.INFO: IMEI packet received {"connection_id":153669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":153669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:15:25] local.INFO: TCP Data received {"connection_id":153669,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:15:25] local.INFO: Processing buffer {"connection_id":153669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:15:25] local.INFO: Packet analysis {"connection_id":153669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:15:25] local.INFO: Extracted packet for processing {"connection_id":153669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:15:25] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330776832001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786448648000,"timestamp_ms":1786448648000,"timestamp_seconds":1786448648,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a31740"} 
[2026-08-11 17:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 17:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:15:25] 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-08-11 17:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330776832001,"66":26060,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330776832001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:15:25] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:15:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330776832001,"power":26060,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":153669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:15:25] local.INFO: GPS data processed {"connection_id":153669,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:15:25] local.INFO: Acknowledgment sent {"connection_id":153669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:15:47] local.INFO: TCP Data received {"connection_id":155055,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a2c920012d186580072180a8004c011823..."} 
[2026-08-11 17:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a2c920012d186580072180a8004c011823..."} 
[2026-08-11 17:15:47] local.INFO: Processing buffer {"connection_id":155055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a2c920012d186580072180a8004c011823..."} 
[2026-08-11 17:15:47] local.INFO: Packet analysis {"connection_id":155055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a2"} 
[2026-08-11 17:15:47] local.INFO: Extracted packet for processing {"connection_id":155055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a2"} 
[2026-08-11 17:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756573568,"raw_latitude":119636136,"longitude_deg":75.6573568,"latitude_deg":11.9636136,"altitude":76,"angle":280,"satellites":35,"speed":32,"hex_longitude":"2d186580","hex_latitude":"072180a8","is_valid_coordinates":true} 
[2026-08-11 17:15: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-08-11 17:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330847232001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11741981025763328,"note":"Value kept but may cause issues"} 
[2026-08-11 17:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763300022230808576,"note":"Value kept but may cause issues"} 
[2026-08-11 17:15:47] 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-08-11 17:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786448628000,"timestamp_ms":1786448628000,"timestamp_seconds":1786448628,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a2c920"} 
[2026-08-11 17:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:15:47] 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-08-11 17:15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 17:15:47] 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-08-11 17:15: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-08-11 17:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330847232001,"66":14483,"105":206,"83":41984,"24":32,"16":11741981025763328,"45":1763300022230808576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330847232001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:15:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:15:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11741981025763328,"km_value":11741981025763.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763300022230808576,"description":"Unknown IO ID 45"} 
[2026-08-11 17:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330847232001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1763300022230808576}} 
[2026-08-11 17:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":155055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:15:47] local.INFO: GPS data processed {"connection_id":155055,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:15:47] local.INFO: Acknowledgment sent {"connection_id":155055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:15:56] local.INFO: TCP Data received {"connection_id":153669,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:15:56] local.INFO: Processing buffer {"connection_id":153669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:15:56] local.INFO: Packet analysis {"connection_id":153669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:15:56] local.INFO: Extracted packet for processing {"connection_id":153669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:15:56] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330776832001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786448648000,"timestamp_ms":1786448648000,"timestamp_seconds":1786448648,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a31740"} 
[2026-08-11 17:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 17:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:15:56] 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-08-11 17:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330776832001,"66":26060,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330776832001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:15:56] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:15:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330776832001,"power":26060,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":153669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:15:56] local.INFO: GPS data processed {"connection_id":153669,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:15:56] local.INFO: Acknowledgment sent {"connection_id":153669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:16:03] local.INFO: TCP Data received {"connection_id":153670,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:16:03] local.INFO: Processing buffer {"connection_id":153670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:16:03] local.INFO: IMEI packet received {"connection_id":153670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":153670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:16:04] local.INFO: TCP Data received {"connection_id":153670,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:16:04] local.INFO: Processing buffer {"connection_id":153670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:16:04] local.INFO: IMEI packet received {"connection_id":153670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":153670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:16:08] local.INFO: TCP Data received {"connection_id":153670,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:16:08] local.INFO: Processing buffer {"connection_id":153670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:16:08] local.INFO: IMEI packet received {"connection_id":153670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":153670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:16:10] local.INFO: TCP Data received {"connection_id":152348,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:16:10] local.INFO: Processing buffer {"connection_id":152348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:16:10] local.INFO: IMEI packet received {"connection_id":152348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":152348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:16:12] local.INFO: TCP Data received {"connection_id":152348,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:16:12] local.INFO: Processing buffer {"connection_id":152348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:16:12] local.INFO: IMEI packet received {"connection_id":152348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":152348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:16:13] local.INFO: TCP Data received {"connection_id":152348,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:16:13] local.INFO: Processing buffer {"connection_id":152348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:16:13] local.INFO: IMEI packet received {"connection_id":152348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":152348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:16:13] local.INFO: TCP Data received {"connection_id":153670,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:16:13] local.INFO: Processing buffer {"connection_id":153670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:16:13] local.INFO: IMEI packet received {"connection_id":153670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":153670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:16:14] local.INFO: TCP Data received {"connection_id":153670,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a0b9c8012d7b038005e347980002012c2b..."} 
[2026-08-11 17:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a0b9c8012d7b038005e347980002012c2b..."} 
[2026-08-11 17:16:14] local.INFO: Processing buffer {"connection_id":153670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a0b9c8012d7b038005e347980002012c2b..."} 
[2026-08-11 17:16:14] local.INFO: Packet analysis {"connection_id":153670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a0"} 
[2026-08-11 17:16:14] local.INFO: Extracted packet for processing {"connection_id":153670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a0"} 
[2026-08-11 17:16:14] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:16: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-08-11 17:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330737152001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786448493000,"timestamp_ms":1786448493000,"timestamp_seconds":1786448493,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a0b9c8"} 
[2026-08-11 17:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:16:14] 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-08-11 17:16: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 17:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:16: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-08-11 17:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330737152001,"66":2231,"95":206,"85":15104,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-11 17:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330737152001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:16:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-11 17:16:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330737152001,"power":2231,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":153670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:16:14] local.INFO: GPS data processed {"connection_id":153670,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:16:14] local.INFO: Acknowledgment sent {"connection_id":153670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:16:15] local.INFO: TCP Data received {"connection_id":152348,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:16:15] local.INFO: Processing buffer {"connection_id":152348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:16:15] local.INFO: IMEI packet received {"connection_id":152348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":152348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:16:15] local.INFO: TCP Data received {"connection_id":153670,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a401a0012d7b038005e347980002012c2b..."} 
[2026-08-11 17:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a401a0012d7b038005e347980002012c2b..."} 
[2026-08-11 17:16:15] local.INFO: Processing buffer {"connection_id":153670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a401a0012d7b038005e347980002012c2b..."} 
[2026-08-11 17:16:15] local.INFO: Packet analysis {"connection_id":153670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:16:15] local.INFO: Extracted packet for processing {"connection_id":153670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:16:15] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98781080,"longitude_deg":76.3036544,"latitude_deg":9.878108,"altitude":2,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7b0380","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-08-11 17:16:15] 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-08-11 17:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330814208001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117684796854894592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371579904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:15] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-11 17:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786448708000,"timestamp_ms":1786448708000,"timestamp_seconds":1786448708,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a401a0"} 
[2026-08-11 17:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:16:15] 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-08-11 17:16: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":183,"data_length":795,"current_offset":136} 
[2026-08-11 17:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:16: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-08-11 17:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330814208001,"66":2242,"24":0,"16":117684796854894592,"45":8864069254371579904},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-11 17:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330814208001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117684796854894592,"km_value":117684796854894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371579904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:16:15] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457330814208001,"power":2242,"ignition":0,"odometer":null,"unknown_45":8864069254371579904}} 
[2026-08-11 17:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":153670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:16:15] local.INFO: GPS data processed {"connection_id":153670,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:16:15] local.INFO: Acknowledgment sent {"connection_id":153670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:16:15] local.INFO: TCP Data received {"connection_id":152348,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a420e0012d181ec00721a5600052011423..."} 
[2026-08-11 17:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a420e0012d181ec00721a5600052011423..."} 
[2026-08-11 17:16:15] local.INFO: Processing buffer {"connection_id":152348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a420e0012d181ec00721a5600052011423..."} 
[2026-08-11 17:16:15] local.INFO: Packet analysis {"connection_id":152348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:16:15] local.INFO: Extracted packet for processing {"connection_id":152348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119645536,"longitude_deg":75.6555456,"latitude_deg":11.9645536,"altitude":82,"angle":276,"satellites":35,"speed":3,"hex_longitude":"2d181ec0","hex_latitude":"0721a560","is_valid_coordinates":true} 
[2026-08-11 17:16: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-08-11 17:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330870784001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11742968868241408,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050084864,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:15] 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-08-11 17:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786448716000,"timestamp_ms":1786448716000,"timestamp_seconds":1786448716,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a420e0"} 
[2026-08-11 17:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:16:15] 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-08-11 17:16: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-11 17:16:15] 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-08-11 17:16: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-08-11 17:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330870784001,"66":14102,"105":206,"83":41984,"24":3,"16":11742968868241408,"45":1738319118050084864},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330870784001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:16:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:16:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11742968868241408,"km_value":11742968868241.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050084864,"description":"Unknown IO ID 45"} 
[2026-08-11 17:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330870784001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1738319118050084864}} 
[2026-08-11 17:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":152348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:16:15] local.INFO: GPS data processed {"connection_id":152348,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:16:15] local.INFO: Acknowledgment sent {"connection_id":152348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:16:19] local.INFO: TCP Data received {"connection_id":155056,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:16:19] local.INFO: Processing buffer {"connection_id":155056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:16:19] local.INFO: IMEI packet received {"connection_id":155056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":155056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:16:23] local.INFO: TCP Data received {"connection_id":152349,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152349,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:16:23] local.INFO: Processing buffer {"connection_id":152349,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:16:23] local.INFO: IMEI packet received {"connection_id":152349,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 17:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":152349,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:16:24] local.INFO: TCP Data received {"connection_id":155056,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:16:24] local.INFO: Processing buffer {"connection_id":155056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:16:24] local.INFO: IMEI packet received {"connection_id":155056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":155056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:16:26] local.INFO: TCP Data received {"connection_id":155056,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:16:26] local.INFO: Processing buffer {"connection_id":155056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:16:26] local.INFO: Packet analysis {"connection_id":155056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:16:26] local.INFO: Extracted packet for processing {"connection_id":155056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:16:26] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330776832001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786448648000,"timestamp_ms":1786448648000,"timestamp_seconds":1786448648,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a31740"} 
[2026-08-11 17:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 17:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":155056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":155056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":155056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:16:26] 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-08-11 17:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330776832001,"66":26060,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330776832001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:16:26] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:16:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330776832001,"power":26060,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":155056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:16:26] local.INFO: GPS data processed {"connection_id":155056,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:16:26] local.INFO: Acknowledgment sent {"connection_id":155056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:16:27] local.INFO: TCP Data received {"connection_id":152349,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152349,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:16:27] local.INFO: Processing buffer {"connection_id":152349,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:16:27] local.INFO: IMEI packet received {"connection_id":152349,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 17:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":152349,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:16:44] local.INFO: TCP Data received {"connection_id":152349,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ff098da28012d0b14c007029f10001000991e..."} 
[2026-08-11 17:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff098da28012d0b14c007029f10001000991e..."} 
[2026-08-11 17:16:44] local.INFO: Processing buffer {"connection_id":152349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff098da28012d0b14c007029f10001000991e..."} 
[2026-08-11 17:16:44] local.INFO: Packet analysis {"connection_id":152349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff098"} 
[2026-08-11 17:16:44] local.INFO: Extracted packet for processing {"connection_id":152349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff098"} 
[2026-08-11 17:16:44] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612304,"longitude_deg":75.5700928,"latitude_deg":11.7612304,"altitude":16,"angle":153,"satellites":30,"speed":0,"hex_longitude":"2d0b14c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330681856001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27719675978711040,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292703232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786447977000,"timestamp_ms":1786447977000,"timestamp_seconds":1786447977,"priority":1,"record_length":96,"hex_timestamp":"0000019ff098da28"} 
[2026-08-11 17:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:16:44] 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-08-11 17: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 17:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 17:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 17:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330681856001,"66":14439,"17":206,"94":11008,"24":0,"16":27719675978711040,"45":798474170292703232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 17:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 17:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 17:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330681856001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:16:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 17:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27719675978711040,"km_value":27719675978711.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292703232,"description":"Unknown IO ID 45"} 
[2026-08-11 17:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330681856001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798474170292703232}} 
[2026-08-11 17:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":152349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626130,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:16:45] local.INFO: GPS data processed {"connection_id":152349,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:16:45] local.INFO: Acknowledgment sent {"connection_id":152349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:16:45] local.INFO: TCP Data received {"connection_id":152349,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09937e8012d0b148007029f100010009918..."} 
[2026-08-11 17:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09937e8012d0b148007029f100010009918..."} 
[2026-08-11 17:16:45] local.INFO: Processing buffer {"connection_id":152349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09937e8012d0b148007029f100010009918..."} 
[2026-08-11 17:16:45] local.INFO: Packet analysis {"connection_id":152349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:16:45] local.INFO: Extracted packet for processing {"connection_id":152349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:16:45] local.INFO: GPS Element Parsed {"raw_longitude":755700864,"raw_latitude":117612304,"longitude_deg":75.5700864,"latitude_deg":11.7612304,"altitude":16,"angle":153,"satellites":24,"speed":0,"hex_longitude":"2d0b1480","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-08-11 17:16:45] 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-08-11 17:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330682112001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27719675978711040,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292703232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786448001000,"timestamp_ms":1786448001000,"timestamp_seconds":1786448001,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09937e8"} 
[2026-08-11 17:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:16:45] 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-08-11 17:16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 17:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:16: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-08-11 17:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 17:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 17:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330682112001,"66":4884,"18":206,"94":10240,"24":0,"16":27719675978711040,"45":798474170292703232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-08-11 17:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 17:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 17:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330682112001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:16:45] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-11 17:16:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 17:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27719675978711040,"km_value":27719675978711.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170292703232,"description":"Unknown IO ID 45"} 
[2026-08-11 17:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330682112001,"power":4884,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798474170292703232}} 
[2026-08-11 17:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":152349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626131,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:16:45] local.INFO: GPS data processed {"connection_id":152349,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:16:45] local.INFO: Acknowledgment sent {"connection_id":152349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:16:46] local.INFO: TCP Data received {"connection_id":152348,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a428b0012d181e400721a5a80052012323..."} 
[2026-08-11 17:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a428b0012d181e400721a5a80052012323..."} 
[2026-08-11 17:16:46] local.INFO: Processing buffer {"connection_id":152348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a428b0012d181e400721a5a80052012323..."} 
[2026-08-11 17:16:46] local.INFO: Packet analysis {"connection_id":152348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:16:46] local.INFO: Extracted packet for processing {"connection_id":152348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119645608,"longitude_deg":75.6555328,"latitude_deg":11.9645608,"altitude":82,"angle":291,"satellites":35,"speed":4,"hex_longitude":"2d181e40","hex_latitude":"0721a5a8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330871296001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11742977458176000,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073380352,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:46] 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-08-11 17:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786448718000,"timestamp_ms":1786448718000,"timestamp_seconds":1786448718,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a428b0"} 
[2026-08-11 17:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:16: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-08-11 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 17:16:46] 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-08-11 17: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-08-11 17:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330871296001,"66":14352,"105":206,"83":41984,"24":4,"16":11742977458176000,"45":1738037643073380352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330871296001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:16:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:16:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11742977458176000,"km_value":11742977458176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073380352,"description":"Unknown IO ID 45"} 
[2026-08-11 17:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330871296001,"power":14352,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1738037643073380352}} 
[2026-08-11 17:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":152348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:16:47] local.INFO: GPS data processed {"connection_id":152348,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:16:47] local.INFO: Acknowledgment sent {"connection_id":152348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:16:47] local.INFO: TCP Data received {"connection_id":153670,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a4ff88012d7af58005e37cc00008014e2d..."} 
[2026-08-11 17:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a4ff88012d7af58005e37cc00008014e2d..."} 
[2026-08-11 17:16:47] local.INFO: Processing buffer {"connection_id":153670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a4ff88012d7af58005e37cc00008014e2d..."} 
[2026-08-11 17:16:47] local.INFO: Packet analysis {"connection_id":153670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:16:47] local.INFO: Extracted packet for processing {"connection_id":153670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:16:47] local.INFO: GPS Element Parsed {"raw_longitude":763032960,"raw_latitude":98794688,"longitude_deg":76.303296,"latitude_deg":9.8794688,"altitude":8,"angle":334,"satellites":45,"speed":12,"hex_longitude":"2d7af580","hex_latitude":"05e37cc0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330883328001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117685496934563840,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860973029630595072,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786448773000,"timestamp_ms":1786448773000,"timestamp_seconds":1786448773,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a4ff88"} 
[2026-08-11 17:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:16:47] 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-08-11 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 17:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162643762598,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:47] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4037305160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:47] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3221225472,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2758737921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-11 17:16:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3813107712,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:47] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,97,85,24,241,157,16,26,159,130,45,192,81,7,10,66,25,122,76,43,118,1,240,63,227,4,113,205,107,3,208,239,49,2,162,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-11 17:16:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648898966343778304,"timestamp_seconds":648898966343778.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330883328001,"66":13222,"97":206,"85":15104,"24":12,"16":117685496934563840,"45":8860973029630595072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 17:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330883328001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:16:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 17:16:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117685496934563840,"km_value":117685496934563.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860973029630595072,"description":"Unknown IO ID 45"} 
[2026-08-11 17:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330883328001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8860973029630595072}} 
[2026-08-11 17:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":153670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:16:47] local.INFO: GPS data processed {"connection_id":153670,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:16:47] local.INFO: Acknowledgment sent {"connection_id":153670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:16:57] local.INFO: TCP Data received {"connection_id":155056,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:16:57] local.INFO: Processing buffer {"connection_id":155056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:16:57] local.INFO: Packet analysis {"connection_id":155056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:16:57] local.INFO: Extracted packet for processing {"connection_id":155056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:16:57] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17:16: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-08-11 17:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330776832001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786448648000,"timestamp_ms":1786448648000,"timestamp_seconds":1786448648,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a31740"} 
[2026-08-11 17:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:16: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 17:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:16: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-08-11 17:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":155056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":155056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":155056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:16:57] 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-08-11 17:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330776832001,"66":26060,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330776832001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:16:57] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:16:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330776832001,"power":26060,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":155056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:16:57] local.INFO: GPS data processed {"connection_id":155056,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:16:57] local.INFO: Acknowledgment sent {"connection_id":155056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:17:08] local.INFO: TCP Data received {"connection_id":155057,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:17:08] local.INFO: Processing buffer {"connection_id":155057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:17:08] local.INFO: IMEI packet received {"connection_id":155057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":155057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:17:13] local.INFO: TCP Data received {"connection_id":155057,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:17:13] local.INFO: Processing buffer {"connection_id":155057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:17:13] local.INFO: IMEI packet received {"connection_id":155057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":155057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:17:14] local.INFO: TCP Data received {"connection_id":155057,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a51310012d7af44005e381500009015a2d..."} 
[2026-08-11 17:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a51310012d7af44005e381500009015a2d..."} 
[2026-08-11 17:17:14] local.INFO: Processing buffer {"connection_id":155057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a51310012d7af44005e381500009015a2d..."} 
[2026-08-11 17:17:14] local.INFO: Packet analysis {"connection_id":155057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a5"} 
[2026-08-11 17:17:14] local.INFO: Extracted packet for processing {"connection_id":155057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a5"} 
[2026-08-11 17:17:14] local.INFO: GPS Element Parsed {"raw_longitude":763032640,"raw_latitude":98795856,"longitude_deg":76.303264,"latitude_deg":9.8795856,"altitude":9,"angle":346,"satellites":45,"speed":5,"hex_longitude":"2d7af440","hex_latitude":"05e38150","is_valid_coordinates":true} 
[2026-08-11 17:17: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-08-11 17:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330885888001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117685557064105984,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860128604701114368,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786448778000,"timestamp_ms":1786448778000,"timestamp_seconds":1786448778,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a51310"} 
[2026-08-11 17:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:17:14] 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-08-11 17:17: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 17:17:14] 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-08-11 17:17: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-08-11 17:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330885888001,"66":13037,"97":206,"85":15104,"24":5,"16":117685557064105984,"45":8860128604701114368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 17:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330885888001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:17:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 17:17:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117685557064105984,"km_value":117685557064105.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860128604701114368,"description":"Unknown IO ID 45"} 
[2026-08-11 17:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330885888001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8860128604701114368}} 
[2026-08-11 17:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":155057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:17:14] local.INFO: GPS data processed {"connection_id":155057,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:17:14] local.INFO: Acknowledgment sent {"connection_id":155057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:17:15] local.INFO: TCP Data received {"connection_id":152350,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:17:15] local.INFO: Processing buffer {"connection_id":152350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:17:15] local.INFO: IMEI packet received {"connection_id":152350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":152350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:17:16] local.INFO: TCP Data received {"connection_id":152350,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:17:16] local.INFO: Processing buffer {"connection_id":152350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:17:16] local.INFO: IMEI packet received {"connection_id":152350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":152350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:17:17] local.INFO: TCP Data received {"connection_id":152350,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a42c98012d181dc00721a5f80052013723..."} 
[2026-08-11 17:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a42c98012d181dc00721a5f80052013723..."} 
[2026-08-11 17:17:17] local.INFO: Processing buffer {"connection_id":152350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a42c98012d181dc00721a5f80052013723..."} 
[2026-08-11 17:17:17] local.INFO: Packet analysis {"connection_id":152350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:17:17] local.INFO: Extracted packet for processing {"connection_id":152350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119645688,"longitude_deg":75.65552,"latitude_deg":11.9645688,"altitude":82,"angle":311,"satellites":35,"speed":6,"hex_longitude":"2d181dc0","hex_latitude":"0721a5f8","is_valid_coordinates":true} 
[2026-08-11 17:17: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-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330871808001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11742986048110592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585043456,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] 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-08-11 17:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786448719000,"timestamp_ms":1786448719000,"timestamp_seconds":1786448719,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a42c98"} 
[2026-08-11 17:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:17:17] 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-08-11 17:17: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144064,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3747002730801004625,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4037258160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692835,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3036833562385973258,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503778807775232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2760376403,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637916105173609,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5908986598200246528,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247722,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3088973824,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84750563501613463,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.WARNING: Large IO value detected {"io_id":248,"raw_value":23363759372240896,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:17] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,184,159,32,45,192,165,82,35,10,66,25,34,234,1,240,114,227,33,4,113,205,2,218,160,239,54,41,7,3,206,168,248],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-11 17:17:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5909042819317891072,"timestamp_seconds":5909042819317891.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330871808001,"66":14428,"105":206,"83":41984,"24":6,"16":11742986048110592,"45":1737896905585043456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330871808001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:17:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:17:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11742986048110592,"km_value":11742986048110.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585043456,"description":"Unknown IO ID 45"} 
[2026-08-11 17:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330871808001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737896905585043456}} 
[2026-08-11 17:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":152350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:17:17] local.INFO: GPS data processed {"connection_id":152350,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:17:17] local.INFO: Acknowledgment sent {"connection_id":152350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:17:21] local.INFO: TCP Data received {"connection_id":152351,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152351,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:17:21] local.INFO: Processing buffer {"connection_id":152351,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:17:21] local.INFO: IMEI packet received {"connection_id":152351,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 17:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":152351,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:17:24] local.INFO: TCP Data received {"connection_id":153671,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:17:24] local.INFO: Processing buffer {"connection_id":153671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:17:24] local.INFO: IMEI packet received {"connection_id":153671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":153671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:17:26] local.INFO: TCP Data received {"connection_id":152351,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152351,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:17:26] local.INFO: Processing buffer {"connection_id":152351,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:17:26] local.INFO: IMEI packet received {"connection_id":152351,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 17:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":152351,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:17:27] local.INFO: TCP Data received {"connection_id":152351,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff09937e8012d0b148007029f100010009918..."} 
[2026-08-11 17:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff09937e8012d0b148007029f100010009918..."} 
[2026-08-11 17:17:27] local.INFO: Processing buffer {"connection_id":152351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff09937e8012d0b148007029f100010009918..."} 
[2026-08-11 17:17:27] local.INFO: Packet analysis {"connection_id":152351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:17:27] local.INFO: Extracted packet for processing {"connection_id":152351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:17:27] local.INFO: GPS Element Parsed {"raw_longitude":755700864,"raw_latitude":117612304,"longitude_deg":75.5700864,"latitude_deg":11.7612304,"altitude":16,"angle":153,"satellites":24,"speed":0,"hex_longitude":"2d0b1480","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-08-11 17:17: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-08-11 17:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330688256001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27719675978711040,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798403801548525568,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786448001000,"timestamp_ms":1786448001000,"timestamp_seconds":1786448001,"priority":1,"record_length":96,"hex_timestamp":"0000019ff09937e8"} 
[2026-08-11 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-08-11 17:17:27] 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-08-11 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":19,"n8_eight_byte":20,"data_length":795,"current_offset":136} 
[2026-08-11 17:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":4771629779342201088,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:27] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:27] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2559057921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:27] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-6597773389663689472,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846018800,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245703074853070608,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:27] local.WARNING: Large IO value detected {"io_id":196,"raw_value":57805797346663979,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:27] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-8919377769036496889,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:27] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:27] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:27] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,18,94,24,241,157,16,122,159,218,45,192,30,10,66,17,214,31,240,103,227,2,4,1,196,152,14,72],"length":479,"final_offset":609,"validated_count":28,"validation_warnings":[]} 
[2026-08-11 17:17:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153089832965111839,"timestamp_seconds":1153089832965111.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 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-08-11 17:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 17:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 17:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330688256001,"66":4884,"18":206,"94":10240,"24":0,"16":27719675978711040,"45":798403801548525568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-08-11 17:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 17:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 17:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330688256001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:17:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-11 17:17:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 17:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27719675978711040,"km_value":27719675978711.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":798403801548525568,"description":"Unknown IO ID 45"} 
[2026-08-11 17:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330688256001,"power":4884,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798403801548525568}} 
[2026-08-11 17:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":152351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626137,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:17:28] local.INFO: GPS data processed {"connection_id":152351,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:17:28] local.INFO: Acknowledgment sent {"connection_id":152351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:17:32] local.INFO: TCP Data received {"connection_id":153671,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:17:32] local.INFO: Processing buffer {"connection_id":153671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:17:32] local.INFO: IMEI packet received {"connection_id":153671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":153671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:17:34] local.INFO: TCP Data received {"connection_id":153671,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:17:34] local.INFO: Processing buffer {"connection_id":153671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:17:34] local.INFO: Packet analysis {"connection_id":153671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:17:34] local.INFO: Extracted packet for processing {"connection_id":153671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:17:34] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330776832001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786448648000,"timestamp_ms":1786448648000,"timestamp_seconds":1786448648,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a31740"} 
[2026-08-11 17:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 17:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:17:34] 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-08-11 17:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330776832001,"66":26060,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330776832001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:17:34] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:17:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330776832001,"power":26060,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":153671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:17:34] local.INFO: GPS data processed {"connection_id":153671,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:17:34] local.INFO: Acknowledgment sent {"connection_id":153671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:17:41] local.INFO: TCP Data received {"connection_id":153671,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:17:41] local.INFO: Processing buffer {"connection_id":153671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:17:41] local.INFO: Packet analysis {"connection_id":153671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:17:41] local.INFO: Extracted packet for processing {"connection_id":153671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:17:41] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330776832001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786448648000,"timestamp_ms":1786448648000,"timestamp_seconds":1786448648,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a31740"} 
[2026-08-11 17:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 17:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:17:41] 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-08-11 17:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330776832001,"66":26060,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330776832001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:17:41] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330776832001,"power":26060,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":153671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:17:41] local.INFO: GPS data processed {"connection_id":153671,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:17:41] local.INFO: Acknowledgment sent {"connection_id":153671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:17:45] local.INFO: TCP Data received {"connection_id":155057,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a56518012d7aee8005e393c0000701532c..."} 
[2026-08-11 17:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a56518012d7aee8005e393c0000701532c..."} 
[2026-08-11 17:17:45] local.INFO: Processing buffer {"connection_id":155057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a56518012d7aee8005e393c0000701532c..."} 
[2026-08-11 17:17:45] local.INFO: Packet analysis {"connection_id":155057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a5"} 
[2026-08-11 17:17:45] local.INFO: Extracted packet for processing {"connection_id":155057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a5"} 
[2026-08-11 17:17:45] local.INFO: GPS Element Parsed {"raw_longitude":763031168,"raw_latitude":98800576,"longitude_deg":76.3031168,"latitude_deg":9.8800576,"altitude":7,"angle":339,"satellites":44,"speed":9,"hex_longitude":"2d7aee80","hex_latitude":"05e393c0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330887168001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117685797582274560,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859776760980525056,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786448799000,"timestamp_ms":1786448799000,"timestamp_seconds":1786448799,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a56518"} 
[2026-08-11 17:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:17:45] 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-08-11 17: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-11 17:17:45] 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-08-11 17: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-08-11 17:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330887168001,"66":13091,"97":206,"85":15104,"24":9,"16":117685797582274560,"45":8859776760980525056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 17:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330887168001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:17:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 17:17:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117685797582274560,"km_value":117685797582274.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859776760980525056,"description":"Unknown IO ID 45"} 
[2026-08-11 17:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330887168001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8859776760980525056}} 
[2026-08-11 17:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":155057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:17:45] local.INFO: GPS data processed {"connection_id":155057,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:17:45] local.INFO: Acknowledgment sent {"connection_id":155057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:17:48] local.INFO: TCP Data received {"connection_id":152350,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a43080012d181d000721a6a00052014a23..."} 
[2026-08-11 17:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a43080012d181d000721a6a00052014a23..."} 
[2026-08-11 17:17:48] local.INFO: Processing buffer {"connection_id":152350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a43080012d181d000721a6a00052014a23..."} 
[2026-08-11 17:17:48] local.INFO: Packet analysis {"connection_id":152350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:17:48] local.INFO: Extracted packet for processing {"connection_id":152350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119645856,"longitude_deg":75.6555008,"latitude_deg":11.9645856,"altitude":82,"angle":330,"satellites":35,"speed":9,"hex_longitude":"2d181d00","hex_latitude":"0721a6a0","is_valid_coordinates":true} 
[2026-08-11 17:17: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-08-11 17:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330872064001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11742994638045184,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096708608,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:48] 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-08-11 17:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786448720000,"timestamp_ms":1786448720000,"timestamp_seconds":1786448720,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a43080"} 
[2026-08-11 17:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:17:48] 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-08-11 17:17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 17:17:48] 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-08-11 17:17: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-08-11 17:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330872064001,"66":14428,"105":206,"83":41984,"24":9,"16":11742994638045184,"45":1737756168096708608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330872064001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:17:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:17:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11742994638045184,"km_value":11742994638045.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096708608,"description":"Unknown IO ID 45"} 
[2026-08-11 17:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330872064001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737756168096708608}} 
[2026-08-11 17:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":152350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:17:48] local.INFO: GPS data processed {"connection_id":152350,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:17:48] local.INFO: Acknowledgment sent {"connection_id":152350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:17:58] local.INFO: TCP Data received {"connection_id":152351,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0995340012d0b140007029f10001000991c..."} 
[2026-08-11 17:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0995340012d0b140007029f10001000991c..."} 
[2026-08-11 17:17:58] local.INFO: Processing buffer {"connection_id":152351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0995340012d0b140007029f10001000991c..."} 
[2026-08-11 17:17:58] local.INFO: Packet analysis {"connection_id":152351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:17:58] local.INFO: Extracted packet for processing {"connection_id":152351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:17:58] local.INFO: GPS Element Parsed {"raw_longitude":755700736,"raw_latitude":117612304,"longitude_deg":75.5700736,"latitude_deg":11.7612304,"altitude":16,"angle":153,"satellites":28,"speed":0,"hex_longitude":"2d0b1400","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-08-11 17:17: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-08-11 17:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330688256001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27719675978711040,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798403801548525568,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786448008000,"timestamp_ms":1786448008000,"timestamp_seconds":1786448008,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0995340"} 
[2026-08-11 17:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:17: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-08-11 17:17: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":19,"n8_eight_byte":20,"data_length":795,"current_offset":136} 
[2026-08-11 17:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":4771664963714289920,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:58] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:58] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2564177921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:58] local.WARNING: Large IO value detected {"io_id":103,"raw_value":57805797346663979,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:58] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-6692348981837683456,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521334456560,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:58] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-8637902792325808121,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:58] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245705823632139376,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:58] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-11 17:17:58] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,18,94,24,241,157,16,122,159,55,45,128,10,66,218,192,30,17,214,240,103,227,2,4,152,14,1,72],"length":479,"final_offset":609,"validated_count":28,"validation_warnings":[]} 
[2026-08-11 17:17:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153089832965111874,"timestamp_seconds":1153089832965111.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 17:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 17:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330688256001,"66":2514,"18":206,"94":10240,"24":0,"16":27719675978711040,"45":798403801548525568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-08-11 17:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 17:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 17:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330688256001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:17:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-11 17:17:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 17:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27719675978711040,"km_value":27719675978711.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":798403801548525568,"description":"Unknown IO ID 45"} 
[2026-08-11 17:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330688256001,"power":2514,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798403801548525568}} 
[2026-08-11 17:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":152351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626142,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:17:58] local.INFO: GPS data processed {"connection_id":152351,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:17:58] local.INFO: Acknowledgment sent {"connection_id":152351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:18:10] local.INFO: TCP Data received {"connection_id":152352,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:18:10] local.INFO: Processing buffer {"connection_id":152352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:18:10] local.INFO: IMEI packet received {"connection_id":152352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":152352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:18:11] local.INFO: TCP Data received {"connection_id":153672,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:18:11] local.INFO: Processing buffer {"connection_id":153672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:18:11] local.INFO: IMEI packet received {"connection_id":153672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":153672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:18:14] local.INFO: TCP Data received {"connection_id":153672,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:18:14] local.INFO: Processing buffer {"connection_id":153672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:18:14] local.INFO: IMEI packet received {"connection_id":153672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":153672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:18:15] local.INFO: TCP Data received {"connection_id":152352,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:18:15] local.INFO: Processing buffer {"connection_id":152352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:18:15] local.INFO: IMEI packet received {"connection_id":152352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":152352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:18:15] local.INFO: TCP Data received {"connection_id":153672,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a5ab68012d7ae40005e3b560000601572c..."} 
[2026-08-11 17:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a5ab68012d7ae40005e3b560000601572c..."} 
[2026-08-11 17:18:15] local.INFO: Processing buffer {"connection_id":153672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a5ab68012d7ae40005e3b560000601572c..."} 
[2026-08-11 17:18:15] local.INFO: Packet analysis {"connection_id":153672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a5"} 
[2026-08-11 17:18:15] local.INFO: Extracted packet for processing {"connection_id":153672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a5"} 
[2026-08-11 17:18:15] local.INFO: GPS Element Parsed {"raw_longitude":763028480,"raw_latitude":98809184,"longitude_deg":76.302848,"latitude_deg":9.8809184,"altitude":6,"angle":343,"satellites":44,"speed":24,"hex_longitude":"2d7ae400","hex_latitude":"05e3b560","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330892544001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117686235668938752,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858158279865647104,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786448817000,"timestamp_ms":1786448817000,"timestamp_seconds":1786448817,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a5ab68"} 
[2026-08-11 17:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:18:15] 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-08-11 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-11 17:18:15] 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-08-11 17: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-08-11 17:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330892544001,"66":13135,"97":206,"85":15104,"24":24,"16":117686235668938752,"45":8858158279865647104},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 17:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330892544001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:18:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 17:18:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117686235668938752,"km_value":117686235668938.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858158279865647104,"description":"Unknown IO ID 45"} 
[2026-08-11 17:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330892544001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8858158279865647104}} 
[2026-08-11 17:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":153672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:18:15] local.INFO: GPS data processed {"connection_id":153672,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:18:15] local.INFO: Acknowledgment sent {"connection_id":153672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:18:15] local.INFO: TCP Data received {"connection_id":152352,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a43468012d181cc00721a7980052016124..."} 
[2026-08-11 17:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a43468012d181cc00721a7980052016124..."} 
[2026-08-11 17:18:15] local.INFO: Processing buffer {"connection_id":152352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a43468012d181cc00721a7980052016124..."} 
[2026-08-11 17:18:15] local.INFO: Packet analysis {"connection_id":152352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:18:15] local.INFO: Extracted packet for processing {"connection_id":152352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646104,"longitude_deg":75.6554944,"latitude_deg":11.9646104,"altitude":82,"angle":353,"satellites":36,"speed":10,"hex_longitude":"2d181cc0","hex_latitude":"0721a798","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330872320001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743007522947072,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864218624,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:15] 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-08-11 17:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786448721000,"timestamp_ms":1786448721000,"timestamp_seconds":1786448721,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a43468"} 
[2026-08-11 17:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:18:15] 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-08-11 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 17:18:15] 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-08-11 17: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-08-11 17:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330872320001,"66":14135,"105":206,"83":41984,"24":10,"16":11743007522947072,"45":1737545061864218624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330872320001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:18:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:18:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743007522947072,"km_value":11743007522947.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864218624,"description":"Unknown IO ID 45"} 
[2026-08-11 17:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330872320001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737545061864218624}} 
[2026-08-11 17:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":152352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:18:15] local.INFO: GPS data processed {"connection_id":152352,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:18:15] local.INFO: Acknowledgment sent {"connection_id":152352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:18:19] local.INFO: TCP Data received {"connection_id":152726,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:18:19] local.INFO: Processing buffer {"connection_id":152726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:18:19] local.INFO: IMEI packet received {"connection_id":152726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":152726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:18:21] local.INFO: TCP Data received {"connection_id":153673,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153673,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:18:21] local.INFO: Processing buffer {"connection_id":153673,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:18:21] local.INFO: IMEI packet received {"connection_id":153673,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 17:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":153673,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:18:24] local.INFO: TCP Data received {"connection_id":152726,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:18:24] local.INFO: Processing buffer {"connection_id":152726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:18:24] local.INFO: IMEI packet received {"connection_id":152726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":152726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:18:26] local.INFO: TCP Data received {"connection_id":152726,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:18:26] local.INFO: Processing buffer {"connection_id":152726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:18:26] local.INFO: Packet analysis {"connection_id":152726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:18:26] local.INFO: Extracted packet for processing {"connection_id":152726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:18:26] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330776832001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786448648000,"timestamp_ms":1786448648000,"timestamp_seconds":1786448648,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a31740"} 
[2026-08-11 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-08-11 17:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 17:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 17:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:18:26] 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-08-11 17:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330776832001,"66":26060,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330776832001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:18:26] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:18:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330776832001,"power":26060,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":152726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:18:26] local.INFO: GPS data processed {"connection_id":152726,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:18:26] local.INFO: Acknowledgment sent {"connection_id":152726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:18:27] local.INFO: TCP Data received {"connection_id":153673,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153673,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:18:27] local.INFO: Processing buffer {"connection_id":153673,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:18:27] local.INFO: IMEI packet received {"connection_id":153673,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 17:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":153673,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:18:28] local.INFO: TCP Data received {"connection_id":153673,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0995340012d0b140007029f10001000991c..."} 
[2026-08-11 17:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0995340012d0b140007029f10001000991c..."} 
[2026-08-11 17:18:28] local.INFO: Processing buffer {"connection_id":153673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0995340012d0b140007029f10001000991c..."} 
[2026-08-11 17:18:28] local.INFO: Packet analysis {"connection_id":153673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:18:28] local.INFO: Extracted packet for processing {"connection_id":153673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff099"} 
[2026-08-11 17:18:28] local.INFO: GPS Element Parsed {"raw_longitude":755700736,"raw_latitude":117612304,"longitude_deg":75.5700736,"latitude_deg":11.7612304,"altitude":16,"angle":153,"satellites":28,"speed":0,"hex_longitude":"2d0b1400","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-08-11 17:18:28] 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-08-11 17:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330690048001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27719675978711040,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798263064060170240,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786448008000,"timestamp_ms":1786448008000,"timestamp_seconds":1786448008,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0995340"} 
[2026-08-11 17:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-08-11 17:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 17:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 17:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330690048001,"66":2514,"18":206,"94":10240,"24":0,"16":27719675978711040,"45":798263064060170240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-08-11 17:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 17:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 17:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330690048001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:18:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-11 17:18:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-11 17:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27719675978711040,"km_value":27719675978711.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":798263064060170240,"description":"Unknown IO ID 45"} 
[2026-08-11 17:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330690048001,"power":2514,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":798263064060170240}} 
[2026-08-11 17:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":153673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626146,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:18:28] local.INFO: GPS data processed {"connection_id":153673,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:18:28] local.INFO: Acknowledgment sent {"connection_id":153673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:18:46] local.INFO: TCP Data received {"connection_id":152352,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a43850012d181d000721a8a00052001024..."} 
[2026-08-11 17:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a43850012d181d000721a8a00052001024..."} 
[2026-08-11 17:18:46] local.INFO: Processing buffer {"connection_id":152352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a43850012d181d000721a8a00052001024..."} 
[2026-08-11 17:18:46] local.INFO: Packet analysis {"connection_id":152352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:18:46] local.INFO: Extracted packet for processing {"connection_id":152352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:18:46] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646368,"longitude_deg":75.6555008,"latitude_deg":11.9646368,"altitude":82,"angle":16,"satellites":36,"speed":12,"hex_longitude":"2d181d00","hex_latitude":"0721a8a0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330872576001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743020407848960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120104448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:46] 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-08-11 17:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786448722000,"timestamp_ms":1786448722000,"timestamp_seconds":1786448722,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a43850"} 
[2026-08-11 17:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:18:46] 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-08-11 17: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-11 17:18:46] 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-08-11 17: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-08-11 17:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330872576001,"66":14135,"105":206,"83":41984,"24":12,"16":11743020407848960,"45":1737474693120104448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330872576001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:18:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:18:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743020407848960,"km_value":11743020407848.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120104448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330872576001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737474693120104448}} 
[2026-08-11 17:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":152352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:18:46] local.INFO: GPS data processed {"connection_id":152352,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:18:46] local.INFO: Acknowledgment sent {"connection_id":152352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:18:58] local.INFO: TCP Data received {"connection_id":152726,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:18:58] local.INFO: Processing buffer {"connection_id":152726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:18:58] local.INFO: Packet analysis {"connection_id":152726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:18:58] local.INFO: Extracted packet for processing {"connection_id":152726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:18:58] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330776832001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786448648000,"timestamp_ms":1786448648000,"timestamp_seconds":1786448648,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a31740"} 
[2026-08-11 17:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 17:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:18:58] 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-08-11 17:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330776832001,"66":26060,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330776832001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:18:58] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330776832001,"power":26060,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":152726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:18:58] local.INFO: GPS data processed {"connection_id":152726,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:18:58] local.INFO: Acknowledgment sent {"connection_id":152726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:18:59] local.INFO: TCP Data received {"connection_id":153673,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a1bf80012d0b134007029f70001100991b..."} 
[2026-08-11 17:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a1bf80012d0b134007029f70001100991b..."} 
[2026-08-11 17:18:59] local.INFO: Processing buffer {"connection_id":153673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a1bf80012d0b134007029f70001100991b..."} 
[2026-08-11 17:18:59] local.INFO: Packet analysis {"connection_id":153673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a1"} 
[2026-08-11 17:18:59] local.INFO: Extracted packet for processing {"connection_id":153673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a1"} 
[2026-08-11 17:18:59] local.INFO: GPS Element Parsed {"raw_longitude":755700544,"raw_latitude":117612400,"longitude_deg":75.5700544,"latitude_deg":11.76124,"altitude":17,"angle":153,"satellites":27,"speed":0,"hex_longitude":"2d0b1340","hex_latitude":"07029f70","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330690048001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27719675978711040,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798263064060170240,"note":"Value kept but may cause issues"} 
[2026-08-11 17:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786448560000,"timestamp_ms":1786448560000,"timestamp_seconds":1786448560,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a1bf80"} 
[2026-08-11 17:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-08-11 17:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 17:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 17:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330690048001,"66":12841,"147":206,"94":11008,"24":0,"16":27719675978711040,"45":798263064060170240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-08-11 17:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 17:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 17:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330690048001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:18:59] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-11 17:18:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 17:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27719675978711040,"km_value":27719675978711.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":798263064060170240,"description":"Unknown IO ID 45"} 
[2026-08-11 17:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330690048001,"power":12841,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798263064060170240}} 
[2026-08-11 17:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":153673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626149,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:18:59] local.INFO: GPS data processed {"connection_id":153673,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:18:59] local.INFO: Acknowledgment sent {"connection_id":153673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:19:10] local.INFO: TCP Data received {"connection_id":152353,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:19:10] local.INFO: Processing buffer {"connection_id":152353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:19:10] local.INFO: IMEI packet received {"connection_id":152353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":152353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:19:15] local.INFO: TCP Data received {"connection_id":152353,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:19:15] local.INFO: Processing buffer {"connection_id":152353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:19:15] local.INFO: IMEI packet received {"connection_id":152353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":152353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:19:15] local.INFO: TCP Data received {"connection_id":152353,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a43c38012d181d400721a9b80052001f24..."} 
[2026-08-11 17:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a43c38012d181d400721a9b80052001f24..."} 
[2026-08-11 17:19:15] local.INFO: Processing buffer {"connection_id":152353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a43c38012d181d400721a9b80052001f24..."} 
[2026-08-11 17:19:15] local.INFO: Packet analysis {"connection_id":152353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:19:15] local.INFO: Extracted packet for processing {"connection_id":152353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646648,"longitude_deg":75.6555072,"latitude_deg":11.9646648,"altitude":82,"angle":31,"satellites":36,"speed":12,"hex_longitude":"2d181d40","hex_latitude":"0721a9b8","is_valid_coordinates":true} 
[2026-08-11 17:19: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-08-11 17:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330872832001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743037587718144,"note":"Value kept but may cause issues"} 
[2026-08-11 17:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864349696,"note":"Value kept but may cause issues"} 
[2026-08-11 17:19:15] 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-08-11 17:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786448723000,"timestamp_ms":1786448723000,"timestamp_seconds":1786448723,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a43c38"} 
[2026-08-11 17:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:19:15] 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-08-11 17:19: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-11 17:19:15] 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-08-11 17:19: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-08-11 17:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330872832001,"66":14374,"105":206,"83":41984,"24":12,"16":11743037587718144,"45":1737545061864349696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330872832001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:19:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743037587718144,"km_value":11743037587718.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864349696,"description":"Unknown IO ID 45"} 
[2026-08-11 17:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330872832001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737545061864349696}} 
[2026-08-11 17:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":152353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:19:15] local.INFO: GPS data processed {"connection_id":152353,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:19:15] local.INFO: Acknowledgment sent {"connection_id":152353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:19:19] local.INFO: TCP Data received {"connection_id":152354,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:19:19] local.INFO: Processing buffer {"connection_id":152354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:19:19] local.INFO: IMEI packet received {"connection_id":152354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":152354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:19:24] local.INFO: TCP Data received {"connection_id":152354,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:19:24] local.INFO: Processing buffer {"connection_id":152354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:19:24] local.INFO: IMEI packet received {"connection_id":152354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":152354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:19:27] local.INFO: TCP Data received {"connection_id":155058,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155058,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:19:27] local.INFO: Processing buffer {"connection_id":155058,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:19:27] local.INFO: IMEI packet received {"connection_id":155058,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-11 17:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":155058,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:19:27] local.INFO: TCP Data received {"connection_id":152354,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:19:27] local.INFO: Processing buffer {"connection_id":152354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a31740012d9d8d80059f56d0000600f62c..."} 
[2026-08-11 17:19:27] local.INFO: Packet analysis {"connection_id":152354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:19:27] local.INFO: Extracted packet for processing {"connection_id":152354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a3"} 
[2026-08-11 17:19:27] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330776832001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786448648000,"timestamp_ms":1786448648000,"timestamp_seconds":1786448648,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a31740"} 
[2026-08-11 17:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 17:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:19:27] 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-08-11 17:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330776832001,"66":26060,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330776832001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:19:27] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:19:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330776832001,"power":26060,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":152354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:19:27] local.INFO: GPS data processed {"connection_id":152354,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:19:27] local.INFO: Acknowledgment sent {"connection_id":152354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:19:32] local.INFO: TCP Data received {"connection_id":155058,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155058,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:19:32] local.INFO: Processing buffer {"connection_id":155058,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-11 17:19:32] local.INFO: IMEI packet received {"connection_id":155058,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-11 17:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":155058,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:19:33] local.INFO: TCP Data received {"connection_id":155058,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a65748012d0b134007029f70001100991f..."} 
[2026-08-11 17:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a65748012d0b134007029f70001100991f..."} 
[2026-08-11 17:19:33] local.INFO: Processing buffer {"connection_id":155058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a65748012d0b134007029f70001100991f..."} 
[2026-08-11 17:19:33] local.INFO: Packet analysis {"connection_id":155058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a6"} 
[2026-08-11 17:19:33] local.INFO: Extracted packet for processing {"connection_id":155058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a6"} 
[2026-08-11 17:19:33] local.INFO: GPS Element Parsed {"raw_longitude":755700544,"raw_latitude":117612400,"longitude_deg":75.5700544,"latitude_deg":11.76124,"altitude":17,"angle":153,"satellites":31,"speed":0,"hex_longitude":"2d0b1340","hex_latitude":"07029f70","is_valid_coordinates":true} 
[2026-08-11 17:19: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-08-11 17:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330831360001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":27719675978711040,"note":"Value kept but may cause issues"} 
[2026-08-11 17:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798051957827661824,"note":"Value kept but may cause issues"} 
[2026-08-11 17:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786448861000,"timestamp_ms":1786448861000,"timestamp_seconds":1786448861,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a65748"} 
[2026-08-11 17:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:19: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":41,"data_length":795,"current_offset":136} 
[2026-08-11 17:19:33] 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-08-11 17:19: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-08-11 17:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":155058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":155058,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":155058,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-11 17:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-11 17:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-11 17:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330831360001,"66":12819,"17":206,"94":11008,"24":0,"16":27719675978711040,"45":798051957827661824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-11 17:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-11 17:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-11 17:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330831360001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:19:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-11 17:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":27719675978711040,"km_value":27719675978711.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":798051957827661824,"description":"Unknown IO ID 45"} 
[2026-08-11 17:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330831360001,"power":12819,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798051957827661824}} 
[2026-08-11 17:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":155058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626152,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:19:33] local.INFO: GPS data processed {"connection_id":155058,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:19:33] local.INFO: Acknowledgment sent {"connection_id":155058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:19:46] local.INFO: TCP Data received {"connection_id":152353,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a46730012d1825800721b5c00051000525..."} 
[2026-08-11 17:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a46730012d1825800721b5c00051000525..."} 
[2026-08-11 17:19:46] local.INFO: Processing buffer {"connection_id":152353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a46730012d1825800721b5c00051000525..."} 
[2026-08-11 17:19:46] local.INFO: Packet analysis {"connection_id":152353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:19:46] local.INFO: Extracted packet for processing {"connection_id":152353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119649728,"longitude_deg":75.6557184,"latitude_deg":11.9649728,"altitude":81,"angle":5,"satellites":37,"speed":10,"hex_longitude":"2d182580","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-08-11 17:19: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-08-11 17:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330873088001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743213681377280,"note":"Value kept but may cause issues"} 
[2026-08-11 17:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608599040,"note":"Value kept but may cause issues"} 
[2026-08-11 17:19:46] 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-08-11 17:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786448734000,"timestamp_ms":1786448734000,"timestamp_seconds":1786448734,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a46730"} 
[2026-08-11 17:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:19:46] 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-08-11 17:19: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 17:19:46] 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-08-11 17:19: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-08-11 17:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330873088001,"66":14070,"105":206,"83":41984,"24":10,"16":11743213681377280,"45":1737615430608599040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330873088001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:19:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743213681377280,"km_value":11743213681377.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608599040,"description":"Unknown IO ID 45"} 
[2026-08-11 17:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330873088001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737615430608599040}} 
[2026-08-11 17:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":152353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:19:46] local.INFO: GPS data processed {"connection_id":152353,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:19:46] local.INFO: Acknowledgment sent {"connection_id":152353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:20:00] local.INFO: TCP Data received {"connection_id":152354,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:20:00] local.INFO: Processing buffer {"connection_id":152354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:20:00] local.INFO: Packet analysis {"connection_id":152354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:20:00] local.INFO: Extracted packet for processing {"connection_id":152354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:20:00] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330853888001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786448949000,"timestamp_ms":1786448949000,"timestamp_seconds":1786448949,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a7af08"} 
[2026-08-11 17:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-11 17:20: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-08-11 17: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-08-11 17:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:20:00] 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-08-11 17:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330853888001,"66":25995,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330853888001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:20:00] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:20:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330853888001,"power":25995,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":152354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:20:00] local.INFO: GPS data processed {"connection_id":152354,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:20:00] local.INFO: Acknowledgment sent {"connection_id":152354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:20:10] local.INFO: TCP Data received {"connection_id":152727,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:20:10] local.INFO: Processing buffer {"connection_id":152727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:20:10] local.INFO: IMEI packet received {"connection_id":152727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":152727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:20:15] local.INFO: TCP Data received {"connection_id":152727,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:20:15] local.INFO: Processing buffer {"connection_id":152727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:20:15] local.INFO: IMEI packet received {"connection_id":152727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":152727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:20:19] local.INFO: TCP Data received {"connection_id":152727,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a46b18012d1825800721b6900050015325..."} 
[2026-08-11 17:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a46b18012d1825800721b6900050015325..."} 
[2026-08-11 17:20:19] local.INFO: Processing buffer {"connection_id":152727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a46b18012d1825800721b6900050015325..."} 
[2026-08-11 17:20:19] local.INFO: Packet analysis {"connection_id":152727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:20:19] local.INFO: Extracted packet for processing {"connection_id":152727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a4"} 
[2026-08-11 17:20:19] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119649936,"longitude_deg":75.6557184,"latitude_deg":11.9649936,"altitude":80,"angle":339,"satellites":37,"speed":6,"hex_longitude":"2d182580","hex_latitude":"0721b690","is_valid_coordinates":true} 
[2026-08-11 17:20: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-08-11 17:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330875904001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743226566279168,"note":"Value kept but may cause issues"} 
[2026-08-11 17:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167250432,"note":"Value kept but may cause issues"} 
[2026-08-11 17:20:19] 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-08-11 17:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786448735000,"timestamp_ms":1786448735000,"timestamp_seconds":1786448735,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a46b18"} 
[2026-08-11 17:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:20: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-08-11 17:20: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-11 17:20:19] 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-08-11 17:20: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-08-11 17:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330875904001,"66":13135,"105":206,"83":41984,"24":6,"16":11743226566279168,"45":1739937599167250432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330875904001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:20:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:20:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743226566279168,"km_value":11743226566279.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167250432,"description":"Unknown IO ID 45"} 
[2026-08-11 17:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330875904001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739937599167250432}} 
[2026-08-11 17:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":152727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:20:19] local.INFO: GPS data processed {"connection_id":152727,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:20:19] local.INFO: Acknowledgment sent {"connection_id":152727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:20:24] local.INFO: TCP Data received {"connection_id":153674,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:20:24] local.INFO: Processing buffer {"connection_id":153674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:20:24] local.INFO: IMEI packet received {"connection_id":153674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":153674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:20:29] local.INFO: TCP Data received {"connection_id":153674,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:20:29] local.INFO: Processing buffer {"connection_id":153674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:20:29] local.INFO: IMEI packet received {"connection_id":153674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":153674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:20:31] local.INFO: TCP Data received {"connection_id":153674,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:20:31] local.INFO: Processing buffer {"connection_id":153674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:20:31] local.INFO: Packet analysis {"connection_id":153674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:20:31] local.INFO: Extracted packet for processing {"connection_id":153674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:20:31] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330853888001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786448949000,"timestamp_ms":1786448949000,"timestamp_seconds":1786448949,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a7af08"} 
[2026-08-11 17:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-11 17:20:31] 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-08-11 17: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-08-11 17:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:20:31] 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-08-11 17:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330853888001,"66":25995,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330853888001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:20:31] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:20:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330853888001,"power":25995,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":153674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:20:31] local.INFO: GPS data processed {"connection_id":153674,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:20:31] local.INFO: Acknowledgment sent {"connection_id":153674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:20:50] local.INFO: TCP Data received {"connection_id":152727,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a7f170012d1824000721b8b0004e01532a..."} 
[2026-08-11 17:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a7f170012d1824000721b8b0004e01532a..."} 
[2026-08-11 17:20:50] local.INFO: Processing buffer {"connection_id":152727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a7f170012d1824000721b8b0004e01532a..."} 
[2026-08-11 17:20:50] local.INFO: Packet analysis {"connection_id":152727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:20:50] local.INFO: Extracted packet for processing {"connection_id":152727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:20:50] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":42,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330929920001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:20:50] 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-08-11 17:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786448966000,"timestamp_ms":1786448966000,"timestamp_seconds":1786448966,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a7f170"} 
[2026-08-11 17:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:20:50] 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-08-11 17: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 17:20:50] 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-08-11 17: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-08-11 17:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330929920001,"66":12939,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330929920001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:20:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:20:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330929920001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":152727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:20:50] local.INFO: GPS data processed {"connection_id":152727,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:20:50] local.INFO: Acknowledgment sent {"connection_id":152727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:21:02] local.INFO: TCP Data received {"connection_id":153674,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:21:02] local.INFO: Processing buffer {"connection_id":153674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:21:02] local.INFO: Packet analysis {"connection_id":153674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:21:02] local.INFO: Extracted packet for processing {"connection_id":153674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:21:02] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17:21: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-08-11 17:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330853888001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786448949000,"timestamp_ms":1786448949000,"timestamp_seconds":1786448949,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a7af08"} 
[2026-08-11 17:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:21: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-11 17:21:02] 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-08-11 17:21: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-08-11 17:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":153674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":153674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":153674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:21:02] 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-08-11 17:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330853888001,"66":25995,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330853888001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:21:02] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:21:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330853888001,"power":25995,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":153674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:21:02] local.INFO: GPS data processed {"connection_id":153674,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:21:02] local.INFO: Acknowledgment sent {"connection_id":153674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:21:10] local.INFO: TCP Data received {"connection_id":152728,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:21:10] local.INFO: Processing buffer {"connection_id":152728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:21:10] local.INFO: IMEI packet received {"connection_id":152728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":152728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:21:15] local.INFO: TCP Data received {"connection_id":152728,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:21:15] local.INFO: Processing buffer {"connection_id":152728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:21:15] local.INFO: IMEI packet received {"connection_id":152728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":152728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:21:15] local.INFO: TCP Data received {"connection_id":152728,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a84378012d1824000721b8b0004e015328..."} 
[2026-08-11 17:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a84378012d1824000721b8b0004e015328..."} 
[2026-08-11 17:21:15] local.INFO: Processing buffer {"connection_id":152728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a84378012d1824000721b8b0004e015328..."} 
[2026-08-11 17:21:15] local.INFO: Packet analysis {"connection_id":152728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a8"} 
[2026-08-11 17:21:15] local.INFO: Extracted packet for processing {"connection_id":152728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a8"} 
[2026-08-11 17:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":40,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330935296001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:21:15] 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-08-11 17:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786448987000,"timestamp_ms":1786448987000,"timestamp_seconds":1786448987,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a84378"} 
[2026-08-11 17:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:21: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-08-11 17: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 17:21:15] 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-08-11 17: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-08-11 17:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330935296001,"66":12852,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330935296001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:21:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:21:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330935296001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":152728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:21:15] local.INFO: GPS data processed {"connection_id":152728,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:21:15] local.INFO: Acknowledgment sent {"connection_id":152728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:21:19] local.INFO: TCP Data received {"connection_id":152729,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:21:19] local.INFO: Processing buffer {"connection_id":152729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:21:19] local.INFO: IMEI packet received {"connection_id":152729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":152729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:21:24] local.INFO: TCP Data received {"connection_id":152729,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:21:24] local.INFO: Processing buffer {"connection_id":152729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:21:24] local.INFO: IMEI packet received {"connection_id":152729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":152729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:21:26] local.INFO: TCP Data received {"connection_id":152729,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:21:26] local.INFO: Processing buffer {"connection_id":152729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:21:26] local.INFO: Packet analysis {"connection_id":152729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:21:26] local.INFO: Extracted packet for processing {"connection_id":152729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:21:26] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330853888001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786448949000,"timestamp_ms":1786448949000,"timestamp_seconds":1786448949,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a7af08"} 
[2026-08-11 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-08-11 17:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-11 17:21:26] 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-08-11 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-08-11 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-08-11 17:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:21:26] 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-08-11 17:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330853888001,"66":25995,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330853888001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:21:26] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:21:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330853888001,"power":25995,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":152729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:21:26] local.INFO: GPS data processed {"connection_id":152729,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:21:26] local.INFO: Acknowledgment sent {"connection_id":152729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:21:46] local.INFO: TCP Data received {"connection_id":152728,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a89580012d1824000721b8b0004e015327..."} 
[2026-08-11 17:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a89580012d1824000721b8b0004e015327..."} 
[2026-08-11 17:21:46] local.INFO: Processing buffer {"connection_id":152728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a89580012d1824000721b8b0004e015327..."} 
[2026-08-11 17:21:46] local.INFO: Packet analysis {"connection_id":152728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a8"} 
[2026-08-11 17:21:46] local.INFO: Extracted packet for processing {"connection_id":152728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a8"} 
[2026-08-11 17:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":39,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17:21: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-08-11 17:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330940672001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:21:46] 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-08-11 17:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786449008000,"timestamp_ms":1786449008000,"timestamp_seconds":1786449008,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a89580"} 
[2026-08-11 17:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:21:46] 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-08-11 17:21: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-11 17:21:46] 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-08-11 17:21: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-08-11 17:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330940672001,"66":12885,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330940672001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:21:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330940672001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":152728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:21:47] local.INFO: GPS data processed {"connection_id":152728,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:21:47] local.INFO: Acknowledgment sent {"connection_id":152728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:21:58] local.INFO: TCP Data received {"connection_id":152729,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:21:58] local.INFO: Processing buffer {"connection_id":152729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:21:58] local.INFO: Packet analysis {"connection_id":152729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:21:58] local.INFO: Extracted packet for processing {"connection_id":152729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:21:58] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330853888001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786448949000,"timestamp_ms":1786448949000,"timestamp_seconds":1786448949,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a7af08"} 
[2026-08-11 17:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-11 17:21:58] 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-08-11 17: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-08-11 17:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:21:58] 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-08-11 17:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330853888001,"66":25995,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330853888001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:21:58] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:21:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330853888001,"power":25995,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":152729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:21:58] local.INFO: GPS data processed {"connection_id":152729,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:21:58] local.INFO: Acknowledgment sent {"connection_id":152729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:22:10] local.INFO: TCP Data received {"connection_id":155059,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:22:10] local.INFO: Processing buffer {"connection_id":155059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:22:10] local.INFO: IMEI packet received {"connection_id":155059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":155059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:22:10] local.INFO: TCP Data received {"connection_id":155059,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:22:10] local.INFO: Processing buffer {"connection_id":155059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:22:10] local.INFO: IMEI packet received {"connection_id":155059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":155059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:22:15] local.INFO: TCP Data received {"connection_id":155059,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:22:15] local.INFO: Processing buffer {"connection_id":155059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:22:15] local.INFO: IMEI packet received {"connection_id":155059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":155059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:22:19] local.INFO: TCP Data received {"connection_id":153675,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:22:19] local.INFO: Processing buffer {"connection_id":153675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:22:19] local.INFO: IMEI packet received {"connection_id":153675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":153675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:22:20] local.INFO: TCP Data received {"connection_id":155059,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a8e788012d1824000721b8b0004e015327..."} 
[2026-08-11 17:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a8e788012d1824000721b8b0004e015327..."} 
[2026-08-11 17:22:20] local.INFO: Processing buffer {"connection_id":155059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a8e788012d1824000721b8b0004e015327..."} 
[2026-08-11 17:22:20] local.INFO: Packet analysis {"connection_id":155059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a8"} 
[2026-08-11 17:22:20] local.INFO: Extracted packet for processing {"connection_id":155059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a8"} 
[2026-08-11 17:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":39,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330946048001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:22:20] 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-08-11 17:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786449029000,"timestamp_ms":1786449029000,"timestamp_seconds":1786449029,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a8e788"} 
[2026-08-11 17:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17: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-08-11 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-11 17:22:20] 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-08-11 17: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-08-11 17:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":155059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":155059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":155059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330946048001,"66":12852,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330946048001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:22:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:22:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330946048001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":155059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:22:20] local.INFO: GPS data processed {"connection_id":155059,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:22:20] local.INFO: Acknowledgment sent {"connection_id":155059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:22:24] local.INFO: TCP Data received {"connection_id":153675,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:22:24] local.INFO: Processing buffer {"connection_id":153675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:22:24] local.INFO: IMEI packet received {"connection_id":153675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":153675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:22:26] local.INFO: TCP Data received {"connection_id":153675,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:22:26] local.INFO: Processing buffer {"connection_id":153675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:22:26] local.INFO: Packet analysis {"connection_id":153675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:22:26] local.INFO: Extracted packet for processing {"connection_id":153675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:22:26] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330853888001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786448949000,"timestamp_ms":1786448949000,"timestamp_seconds":1786448949,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a7af08"} 
[2026-08-11 17:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-11 17:22:26] 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-08-11 17: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-08-11 17:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:22:26] 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-08-11 17:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330853888001,"66":25995,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330853888001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:22:26] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:22:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330853888001,"power":25995,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":153675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:22:26] local.INFO: GPS data processed {"connection_id":153675,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:22:26] local.INFO: Acknowledgment sent {"connection_id":153675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:22:52] local.INFO: TCP Data received {"connection_id":155059,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a93990012d1824000721b8b0004e015328..."} 
[2026-08-11 17:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a93990012d1824000721b8b0004e015328..."} 
[2026-08-11 17:22:52] local.INFO: Processing buffer {"connection_id":155059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a93990012d1824000721b8b0004e015328..."} 
[2026-08-11 17:22:52] local.INFO: Packet analysis {"connection_id":155059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a9"} 
[2026-08-11 17:22:52] local.INFO: Extracted packet for processing {"connection_id":155059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a9"} 
[2026-08-11 17:22:52] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":40,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330951424001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17: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-08-11 17:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786449050000,"timestamp_ms":1786449050000,"timestamp_seconds":1786449050,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a93990"} 
[2026-08-11 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-08-11 17:22: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-08-11 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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-11 17:22:52] 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-08-11 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-08-11 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-08-11 17:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":155059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":155059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":155059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330951424001,"66":12863,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330951424001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:22:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:22:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330951424001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":155059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:22:53] local.INFO: GPS data processed {"connection_id":155059,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:22:53] local.INFO: Acknowledgment sent {"connection_id":155059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:22:58] local.INFO: TCP Data received {"connection_id":153675,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:22:58] local.INFO: Processing buffer {"connection_id":153675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:22:58] local.INFO: Packet analysis {"connection_id":153675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:22:58] local.INFO: Extracted packet for processing {"connection_id":153675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:22:58] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330853888001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786448949000,"timestamp_ms":1786448949000,"timestamp_seconds":1786448949,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a7af08"} 
[2026-08-11 17:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-11 17:22:58] 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-08-11 17: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-08-11 17:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":153675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":153675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":153675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:22:58] 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-08-11 17:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330853888001,"66":25995,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330853888001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:22:58] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:22:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330853888001,"power":25995,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":153675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:22:58] local.INFO: GPS data processed {"connection_id":153675,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:22:58] local.INFO: Acknowledgment sent {"connection_id":153675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:23:10] local.INFO: TCP Data received {"connection_id":152730,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:23:10] local.INFO: Processing buffer {"connection_id":152730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:23:10] local.INFO: IMEI packet received {"connection_id":152730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":152730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:23:13] local.INFO: TCP Data received {"connection_id":152730,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:23:13] local.INFO: Processing buffer {"connection_id":152730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:23:13] local.INFO: IMEI packet received {"connection_id":152730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":152730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:23:15] local.INFO: TCP Data received {"connection_id":152730,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:23:15] local.INFO: Processing buffer {"connection_id":152730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:23:15] local.INFO: IMEI packet received {"connection_id":152730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":152730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:23:15] local.INFO: TCP Data received {"connection_id":152730,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a98b98012d1824000721b8b0004e015329..."} 
[2026-08-11 17:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a98b98012d1824000721b8b0004e015329..."} 
[2026-08-11 17:23:15] local.INFO: Processing buffer {"connection_id":152730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a98b98012d1824000721b8b0004e015329..."} 
[2026-08-11 17:23:15] local.INFO: Packet analysis {"connection_id":152730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a9"} 
[2026-08-11 17:23:15] local.INFO: Extracted packet for processing {"connection_id":152730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a9"} 
[2026-08-11 17:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":41,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17:23: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-08-11 17:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330956800001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:23:15] 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-08-11 17:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786449071000,"timestamp_ms":1786449071000,"timestamp_seconds":1786449071,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a98b98"} 
[2026-08-11 17:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:23:15] 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-08-11 17:23: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-11 17:23:15] 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-08-11 17:23: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-08-11 17:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330956800001,"66":12841,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330956800001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:23:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330956800001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":152730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:23:15] local.INFO: GPS data processed {"connection_id":152730,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:23:15] local.INFO: Acknowledgment sent {"connection_id":152730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:23:24] local.INFO: TCP Data received {"connection_id":152731,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:23:24] local.INFO: Processing buffer {"connection_id":152731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:23:24] local.INFO: IMEI packet received {"connection_id":152731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":152731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:23:29] local.INFO: TCP Data received {"connection_id":152731,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:23:29] local.INFO: Processing buffer {"connection_id":152731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:23:29] local.INFO: IMEI packet received {"connection_id":152731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":152731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:23:31] local.INFO: TCP Data received {"connection_id":152731,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:23:31] local.INFO: Processing buffer {"connection_id":152731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:23:31] local.INFO: Packet analysis {"connection_id":152731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:23:31] local.INFO: Extracted packet for processing {"connection_id":152731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:23:31] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17:23: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-08-11 17:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330853888001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786448949000,"timestamp_ms":1786448949000,"timestamp_seconds":1786448949,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a7af08"} 
[2026-08-11 17:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:23: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":204,"data_length":795,"current_offset":136} 
[2026-08-11 17:23:31] 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-08-11 17:23: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-08-11 17:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:23:31] 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-08-11 17:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330853888001,"66":25995,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330853888001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:23:31] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:23:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330853888001,"power":25995,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":152731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:23:31] local.INFO: GPS data processed {"connection_id":152731,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:23:31] local.INFO: Acknowledgment sent {"connection_id":152731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:23:46] local.INFO: TCP Data received {"connection_id":152730,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a9dda0012d1824000721b8b0004e01532a..."} 
[2026-08-11 17:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a9dda0012d1824000721b8b0004e01532a..."} 
[2026-08-11 17:23:46] local.INFO: Processing buffer {"connection_id":152730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a9dda0012d1824000721b8b0004e01532a..."} 
[2026-08-11 17:23:46] local.INFO: Packet analysis {"connection_id":152730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a9"} 
[2026-08-11 17:23:46] local.INFO: Extracted packet for processing {"connection_id":152730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a9"} 
[2026-08-11 17:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":42,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17:23: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-08-11 17:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330962176001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:23:46] 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-08-11 17:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786449092000,"timestamp_ms":1786449092000,"timestamp_seconds":1786449092,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a9dda0"} 
[2026-08-11 17:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:23:46] 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-08-11 17:23: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 17:23:46] 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-08-11 17:23: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-08-11 17:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330962176001,"66":12265,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330962176001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:23:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330962176001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":152730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:23:46] local.INFO: GPS data processed {"connection_id":152730,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:23:46] local.INFO: Acknowledgment sent {"connection_id":152730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:24:04] local.INFO: TCP Data received {"connection_id":152731,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:24:04] local.INFO: Processing buffer {"connection_id":152731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:24:04] local.INFO: Packet analysis {"connection_id":152731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:24:04] local.INFO: Extracted packet for processing {"connection_id":152731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:24:04] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330853888001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786448949000,"timestamp_ms":1786448949000,"timestamp_seconds":1786448949,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a7af08"} 
[2026-08-11 17:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-11 17:24:04] 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-08-11 17: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-08-11 17:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:24:04] 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-08-11 17:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330853888001,"66":25995,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330853888001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:24:04] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:24:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330853888001,"power":25995,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":152731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:24:04] local.INFO: GPS data processed {"connection_id":152731,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:24:04] local.INFO: Acknowledgment sent {"connection_id":152731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:24:09] local.INFO: TCP Data received {"connection_id":152732,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:24:09] local.INFO: Processing buffer {"connection_id":152732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:24:09] local.INFO: IMEI packet received {"connection_id":152732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":152732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:24:14] local.INFO: TCP Data received {"connection_id":152732,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:24:14] local.INFO: Processing buffer {"connection_id":152732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:24:14] local.INFO: IMEI packet received {"connection_id":152732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":152732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:24:15] local.INFO: TCP Data received {"connection_id":152355,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:24:15] local.INFO: Processing buffer {"connection_id":152355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:24:15] local.INFO: IMEI packet received {"connection_id":152355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":152355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:24:15] local.INFO: TCP Data received {"connection_id":152732,"ip":"117.224.211.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ab4500012d7ae14005e3c3d8000500a62a..."} 
[2026-08-11 17:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ab4500012d7ae14005e3c3d8000500a62a..."} 
[2026-08-11 17:24:15] local.INFO: Processing buffer {"connection_id":152732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ab4500012d7ae14005e3c3d8000500a62a..."} 
[2026-08-11 17:24:15] local.INFO: Packet analysis {"connection_id":152732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ab"} 
[2026-08-11 17:24:15] local.INFO: Extracted packet for processing {"connection_id":152732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ab"} 
[2026-08-11 17:24:15] local.INFO: GPS Element Parsed {"raw_longitude":763027776,"raw_latitude":98812888,"longitude_deg":76.3027776,"latitude_deg":9.8812888,"altitude":5,"angle":166,"satellites":42,"speed":26,"hex_longitude":"2d7ae140","hex_latitude":"05e3c3d8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330987264001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117695061826732032,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851754724150923264,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786449184000,"timestamp_ms":1786449184000,"timestamp_seconds":1786449184,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ab4500"} 
[2026-08-11 17:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:24:15] 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-08-11 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 17:24:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4037678160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:15] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":59393,"corrected_to":0} 
[2026-08-11 17:24:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2860625921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:15] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7757450474117671424,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2115305678,"corrected_to":0} 
[2026-08-11 17:24:15] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3489738106,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:15] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2147869779,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832141824,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:15] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57981899595752964,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:15] local.WARNING: Large IO value detected {"io_id":170,"raw_value":619246243601891333,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:15] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,21,9,24,241,158,16,34,159,211,45,8,41,10,66,203,14,168,192,1,240,182,33,228,4,113,205,82,128,42,239,52,179,2,162,5,27,35,170],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":203,"original":59393,"validated":0},{"io_id":205,"original":2115305678,"validated":0}]} 
[2026-08-11 17:24:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504588065199095808,"timestamp_seconds":504588065199095.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.211.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330987264001,"66":13091,"221":206,"19":45824,"24":26,"16":117695061826732032,"45":8851754724150923264},"client_ip":"117.224.211.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-11 17:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330987264001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:24:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 17:24:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117695061826732032,"km_value":117695061826732.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851754724150923264,"description":"Unknown IO ID 45"} 
[2026-08-11 17:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330987264001,"power":13091,"unknown_221":206,"unknown_19":45824,"ignition":26,"odometer":null,"unknown_45":8851754724150923264}} 
[2026-08-11 17:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":152732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:24:15] local.INFO: GPS data processed {"connection_id":152732,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:24:15] local.INFO: Acknowledgment sent {"connection_id":152732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:24:16] local.INFO: TCP Data received {"connection_id":152355,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:24:16] local.INFO: Processing buffer {"connection_id":152355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:24:16] local.INFO: IMEI packet received {"connection_id":152355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":152355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:24:16] local.INFO: TCP Data received {"connection_id":152355,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0aa2fa8012d1824000721b8b0004e015328..."} 
[2026-08-11 17:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0aa2fa8012d1824000721b8b0004e015328..."} 
[2026-08-11 17:24:16] local.INFO: Processing buffer {"connection_id":152355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0aa2fa8012d1824000721b8b0004e015328..."} 
[2026-08-11 17:24:16] local.INFO: Packet analysis {"connection_id":152355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0aa"} 
[2026-08-11 17:24:16] local.INFO: Extracted packet for processing {"connection_id":152355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0aa"} 
[2026-08-11 17:24:16] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":40,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330967552001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:16] 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-08-11 17:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786449113000,"timestamp_ms":1786449113000,"timestamp_seconds":1786449113,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0aa2fa8"} 
[2026-08-11 17:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:24:16] 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-08-11 17: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-11 17:24:16] 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-08-11 17: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-08-11 17:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330967552001,"66":12819,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330967552001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:24:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:24:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330967552001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":152355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:24:17] local.INFO: GPS data processed {"connection_id":152355,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:24:17] local.INFO: Acknowledgment sent {"connection_id":152355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:24:18] local.INFO: TCP Data received {"connection_id":152732,"ip":"117.224.211.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ab77c8012d7aebc005e3a098000400a42b..."} 
[2026-08-11 17:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ab77c8012d7aebc005e3a098000400a42b..."} 
[2026-08-11 17:24:18] local.INFO: Processing buffer {"connection_id":152732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ab77c8012d7aebc005e3a098000400a42b..."} 
[2026-08-11 17:24:18] local.INFO: Packet analysis {"connection_id":152732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ab"} 
[2026-08-11 17:24:18] local.INFO: Extracted packet for processing {"connection_id":152732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ab"} 
[2026-08-11 17:24:18] local.INFO: GPS Element Parsed {"raw_longitude":763030464,"raw_latitude":98803864,"longitude_deg":76.3030464,"latitude_deg":9.8803864,"altitude":4,"angle":164,"satellites":43,"speed":22,"hex_longitude":"2d7aebc0","hex_latitude":"05e3a098","is_valid_coordinates":true} 
[2026-08-11 17:24: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-08-11 17:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330991104001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117695517093265408,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854428736427382784,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786449197000,"timestamp_ms":1786449197000,"timestamp_seconds":1786449197,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ab77c8"} 
[2026-08-11 17:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:24:18] 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-08-11 17:24: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-11 17:24:18] 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-08-11 17:24: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-08-11 17:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.211.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330991104001,"66":12982,"221":206,"19":45824,"24":22,"16":117695517093265408,"45":8854428736427382784},"client_ip":"117.224.211.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-11 17:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330991104001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:24:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 17:24:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117695517093265408,"km_value":117695517093265.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854428736427382784,"description":"Unknown IO ID 45"} 
[2026-08-11 17:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330991104001,"power":12982,"unknown_221":206,"unknown_19":45824,"ignition":22,"odometer":null,"unknown_45":8854428736427382784}} 
[2026-08-11 17:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":152732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:24:18] local.INFO: GPS data processed {"connection_id":152732,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:24:18] local.INFO: Acknowledgment sent {"connection_id":152732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:24:19] local.INFO: TCP Data received {"connection_id":152733,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:24:19] local.INFO: Processing buffer {"connection_id":152733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:24:19] local.INFO: IMEI packet received {"connection_id":152733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":152733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:24:24] local.INFO: TCP Data received {"connection_id":152733,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:24:24] local.INFO: Processing buffer {"connection_id":152733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:24:24] local.INFO: IMEI packet received {"connection_id":152733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":152733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:24:25] local.INFO: TCP Data received {"connection_id":152733,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:24:25] local.INFO: Processing buffer {"connection_id":152733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0a7af08012d9d8d80059f56d0000600f62a..."} 
[2026-08-11 17:24:25] local.INFO: Packet analysis {"connection_id":152733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:24:25] local.INFO: Extracted packet for processing {"connection_id":152733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0a7"} 
[2026-08-11 17:24:25] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330853888001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786448949000,"timestamp_ms":1786448949000,"timestamp_seconds":1786448949,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0a7af08"} 
[2026-08-11 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-08-11 17:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-11 17:24:25] 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-08-11 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-08-11 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-08-11 17:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:24:25] 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-08-11 17:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330853888001,"66":25995,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330853888001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:24:25] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:24:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330853888001,"power":25995,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":152733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:24:25] local.INFO: GPS data processed {"connection_id":152733,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:24:25] local.INFO: Acknowledgment sent {"connection_id":152733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:24:48] local.INFO: TCP Data received {"connection_id":152355,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0aa81b0012d1824000721b8b0004e01532a..."} 
[2026-08-11 17:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0aa81b0012d1824000721b8b0004e01532a..."} 
[2026-08-11 17:24:48] local.INFO: Processing buffer {"connection_id":152355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0aa81b0012d1824000721b8b0004e01532a..."} 
[2026-08-11 17:24:48] local.INFO: Packet analysis {"connection_id":152355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0aa"} 
[2026-08-11 17:24:48] local.INFO: Extracted packet for processing {"connection_id":152355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0aa"} 
[2026-08-11 17:24:48] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":42,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17:24: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-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330972928001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] 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-08-11 17:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786449134000,"timestamp_ms":1786449134000,"timestamp_seconds":1786449134,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0aa81b0"} 
[2026-08-11 17:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:24: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4037559160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3095134208,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-6345167249634483200,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503778816163840,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3098542158,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5908986598200246528,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":149,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":176,"raw_value":21956504865210368,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182195349881088,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3747220746884140627,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429885514321580842,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195047680,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84750510888264120,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:48] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,184,159,221,45,78,42,10,66,139,41,57,1,240,63,227,33,4,113,205,149,36,176,39,239,50,2,7,164,124,69,104],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-08-11 17:24:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620865241198886912,"timestamp_seconds":5620865241198887.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330972928001,"66":12776,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330972928001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:24:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:24:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330972928001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":152355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:24:48] local.INFO: GPS data processed {"connection_id":152355,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:24:48] local.INFO: Acknowledgment sent {"connection_id":152355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:24:49] local.INFO: TCP Data received {"connection_id":152732,"ip":"117.224.211.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0abb648012d7af04005e391e8000500982d..."} 
[2026-08-11 17:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0abb648012d7af04005e391e8000500982d..."} 
[2026-08-11 17:24:49] local.INFO: Processing buffer {"connection_id":152732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0abb648012d7af04005e391e8000500982d..."} 
[2026-08-11 17:24:49] local.INFO: Packet analysis {"connection_id":152732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ab"} 
[2026-08-11 17:24:49] local.INFO: Extracted packet for processing {"connection_id":152732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ab"} 
[2026-08-11 17:24:49] local.INFO: GPS Element Parsed {"raw_longitude":763031616,"raw_latitude":98800104,"longitude_deg":76.3031616,"latitude_deg":9.8800104,"altitude":5,"angle":152,"satellites":45,"speed":13,"hex_longitude":"2d7af040","hex_latitude":"05e391e8","is_valid_coordinates":true} 
[2026-08-11 17:24: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-08-11 17:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330994432001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117695710366793728,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857384223680534528,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786449213000,"timestamp_ms":1786449213000,"timestamp_seconds":1786449213,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0abb648"} 
[2026-08-11 17:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:24:49] 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-08-11 17:24: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-11 17:24:49] 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-08-11 17:24: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-08-11 17:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.211.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330994432001,"66":13319,"221":206,"19":45824,"24":13,"16":117695710366793728,"45":8857384223680534528},"client_ip":"117.224.211.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-11 17:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330994432001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:24:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 17:24:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117695710366793728,"km_value":117695710366793.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857384223680534528,"description":"Unknown IO ID 45"} 
[2026-08-11 17:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330994432001,"power":13319,"unknown_221":206,"unknown_19":45824,"ignition":13,"odometer":null,"unknown_45":8857384223680534528}} 
[2026-08-11 17:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":152732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:24:49] local.INFO: GPS data processed {"connection_id":152732,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:24:49] local.INFO: Acknowledgment sent {"connection_id":152732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:24:57] local.INFO: TCP Data received {"connection_id":152733,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:24:57] local.INFO: Processing buffer {"connection_id":152733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:24:57] local.INFO: Packet analysis {"connection_id":152733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:24:57] local.INFO: Extracted packet for processing {"connection_id":152733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:24:57] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":43,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17:24: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-08-11 17:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330930944001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786449250000,"timestamp_ms":1786449250000,"timestamp_seconds":1786449250,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ac46d0"} 
[2026-08-11 17:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:24: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 17:24:57] 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-08-11 17:24: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-08-11 17:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:24:57] 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-08-11 17:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330930944001,"66":25908,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330930944001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:24:57] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:24:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330930944001,"power":25908,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":152733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:24:57] local.INFO: GPS data processed {"connection_id":152733,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:24:57] local.INFO: Acknowledgment sent {"connection_id":152733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:25:08] local.INFO: TCP Data received {"connection_id":155060,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:25:08] local.INFO: Processing buffer {"connection_id":155060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:25:08] local.INFO: IMEI packet received {"connection_id":155060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":155060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:25:10] local.INFO: TCP Data received {"connection_id":152356,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:25:10] local.INFO: Processing buffer {"connection_id":152356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:25:10] local.INFO: IMEI packet received {"connection_id":152356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":152356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:25:14] local.INFO: TCP Data received {"connection_id":155060,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:25:14] local.INFO: Processing buffer {"connection_id":155060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:25:14] local.INFO: IMEI packet received {"connection_id":155060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":155060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:25:15] local.INFO: TCP Data received {"connection_id":152356,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:25:15] local.INFO: Processing buffer {"connection_id":152356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:25:15] local.INFO: IMEI packet received {"connection_id":152356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":152356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:25:15] local.INFO: TCP Data received {"connection_id":155060,"ip":"117.224.211.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0abcdb8012d7af44005e38930000600a42c..."} 
[2026-08-11 17:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0abcdb8012d7af44005e38930000600a42c..."} 
[2026-08-11 17:25:15] local.INFO: Processing buffer {"connection_id":155060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0abcdb8012d7af44005e38930000600a42c..."} 
[2026-08-11 17:25:15] local.INFO: Packet analysis {"connection_id":155060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ab"} 
[2026-08-11 17:25:15] local.INFO: Extracted packet for processing {"connection_id":155060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ab"} 
[2026-08-11 17:25:15] local.INFO: GPS Element Parsed {"raw_longitude":763032640,"raw_latitude":98797872,"longitude_deg":76.303264,"latitude_deg":9.8797872,"altitude":6,"angle":164,"satellites":44,"speed":6,"hex_longitude":"2d7af440","hex_latitude":"05e38930","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330998528001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117695830625878016,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858650861074769920,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786449219000,"timestamp_ms":1786449219000,"timestamp_seconds":1786449219,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0abcdb8"} 
[2026-08-11 17:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:25:15] 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-08-11 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 17:25:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4037716160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3827503104,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2866001921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:15] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:15] local.WARNING: Large IO value detected {"io_id":228,"raw_value":4282923297177348096,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2115305678,"corrected_to":0} 
[2026-08-11 17:25:15] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3892391290,"corrected_to":0} 
[2026-08-11 17:25:15] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391998,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:15] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57840998898600290,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:15] local.WARNING: Large IO value detected {"io_id":170,"raw_value":-9101773552073408507,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:15] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,221,19,24,241,16,35,159,119,45,192,160,4,43,10,66,158,69,64,195,5,42,1,240,7,34,228,113,205,9,27,203,206,48,41,239,51,21,2,162,37,182,170],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2115305678,"validated":0},{"io_id":203,"original":3892391290,"validated":0}]} 
[2026-08-11 17:25:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360455289231441920,"timestamp_seconds":360455289231441.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.211.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330998528001,"66":12939,"221":206,"19":45824,"24":6,"16":117695830625878016,"45":8858650861074769920},"client_ip":"117.224.211.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-11 17:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330998528001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:25:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 17:25:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117695830625878016,"km_value":117695830625878.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858650861074769920,"description":"Unknown IO ID 45"} 
[2026-08-11 17:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330998528001,"power":12939,"unknown_221":206,"unknown_19":45824,"ignition":6,"odometer":null,"unknown_45":8858650861074769920}} 
[2026-08-11 17:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":155060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:25:15] local.INFO: GPS data processed {"connection_id":155060,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:25:15] local.INFO: Acknowledgment sent {"connection_id":155060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:25:15] local.INFO: TCP Data received {"connection_id":152356,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0aad3b8012d1824000721b8b0004e01532a..."} 
[2026-08-11 17:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0aad3b8012d1824000721b8b0004e01532a..."} 
[2026-08-11 17:25:15] local.INFO: Processing buffer {"connection_id":152356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0aad3b8012d1824000721b8b0004e01532a..."} 
[2026-08-11 17:25:15] local.INFO: Packet analysis {"connection_id":152356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0aa"} 
[2026-08-11 17:25:15] local.INFO: Extracted packet for processing {"connection_id":152356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0aa"} 
[2026-08-11 17:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":42,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330978304001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:15] 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-08-11 17:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786449155000,"timestamp_ms":1786449155000,"timestamp_seconds":1786449155,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0aad3b8"} 
[2026-08-11 17:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:25:15] 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-08-11 17: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-11 17:25:15] 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-08-11 17: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-08-11 17:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330978304001,"66":12798,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330978304001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:25:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330978304001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":152356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:25:15] local.INFO: GPS data processed {"connection_id":152356,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:25:15] local.INFO: Acknowledgment sent {"connection_id":152356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:25:19] local.INFO: TCP Data received {"connection_id":153676,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:25:19] local.INFO: Processing buffer {"connection_id":153676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:25:19] local.INFO: IMEI packet received {"connection_id":153676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":153676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:25:24] local.INFO: TCP Data received {"connection_id":153676,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:25:24] local.INFO: Processing buffer {"connection_id":153676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:25:24] local.INFO: IMEI packet received {"connection_id":153676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":153676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:25:25] local.INFO: TCP Data received {"connection_id":153676,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:25:25] local.INFO: Processing buffer {"connection_id":153676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:25:25] local.INFO: Packet analysis {"connection_id":153676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:25:25] local.INFO: Extracted packet for processing {"connection_id":153676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:25:25] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":43,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330930944001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786449250000,"timestamp_ms":1786449250000,"timestamp_seconds":1786449250,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ac46d0"} 
[2026-08-11 17:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 17:25:25] 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-08-11 17: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-08-11 17:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:25:25] 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-08-11 17:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330930944001,"66":25908,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330930944001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:25:25] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:25:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330930944001,"power":25908,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":153676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:25:25] local.INFO: GPS data processed {"connection_id":153676,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:25:25] local.INFO: Acknowledgment sent {"connection_id":153676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:25:29] local.INFO: TCP Data received {"connection_id":153676,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:25:29] local.INFO: Processing buffer {"connection_id":153676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:25:29] local.INFO: Packet analysis {"connection_id":153676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:25:29] local.INFO: Extracted packet for processing {"connection_id":153676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:25:29] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":43,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330930944001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786449250000,"timestamp_ms":1786449250000,"timestamp_seconds":1786449250,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ac46d0"} 
[2026-08-11 17:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 17:25:29] 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-08-11 17: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-08-11 17:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:25:29] 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-08-11 17:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330930944001,"66":25908,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330930944001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:25:29] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:25:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330930944001,"power":25908,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":153676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:25:29] local.INFO: GPS data processed {"connection_id":153676,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:25:29] local.INFO: Acknowledgment sent {"connection_id":153676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:25:46] local.INFO: TCP Data received {"connection_id":152356,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ab25c0012d1824000721b8b0004e01532a..."} 
[2026-08-11 17:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ab25c0012d1824000721b8b0004e01532a..."} 
[2026-08-11 17:25:46] local.INFO: Processing buffer {"connection_id":152356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ab25c0012d1824000721b8b0004e01532a..."} 
[2026-08-11 17:25:46] local.INFO: Packet analysis {"connection_id":152356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ab"} 
[2026-08-11 17:25:46] local.INFO: Extracted packet for processing {"connection_id":152356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ab"} 
[2026-08-11 17:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":42,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17:25: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-08-11 17:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330983680001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:46] 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-08-11 17:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786449176000,"timestamp_ms":1786449176000,"timestamp_seconds":1786449176,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ab25c0"} 
[2026-08-11 17:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:25:46] 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-08-11 17:25: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 17:25:46] 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-08-11 17:25: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-08-11 17:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330983680001,"66":12776,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330983680001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:25:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330983680001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":152356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:25:46] local.INFO: GPS data processed {"connection_id":152356,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:25:46] local.INFO: Acknowledgment sent {"connection_id":152356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:25:47] local.INFO: TCP Data received {"connection_id":155060,"ip":"117.224.211.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ac1fc0012d7af98005e375b0000500a42d..."} 
[2026-08-11 17:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ac1fc0012d7af98005e375b0000500a42d..."} 
[2026-08-11 17:25:47] local.INFO: Processing buffer {"connection_id":155060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ac1fc0012d7af98005e375b0000500a42d..."} 
[2026-08-11 17:25:47] local.INFO: Packet analysis {"connection_id":155060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:25:47] local.INFO: Extracted packet for processing {"connection_id":155060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:25:47] local.INFO: GPS Element Parsed {"raw_longitude":763033984,"raw_latitude":98792880,"longitude_deg":76.3033984,"latitude_deg":9.879288,"altitude":5,"angle":164,"satellites":45,"speed":15,"hex_longitude":"2d7af980","hex_latitude":"05e375b0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331000064001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117696084028948480,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859776760981041152,"note":"Value kept but may cause issues"} 
[2026-08-11 17:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786449240000,"timestamp_ms":1786449240000,"timestamp_seconds":1786449240,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ac1fc0"} 
[2026-08-11 17:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:25:47] 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-08-11 17: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 17:25:47] 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-08-11 17: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-08-11 17:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.211.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331000064001,"66":13015,"221":206,"19":45824,"24":15,"16":117696084028948480,"45":8859776760981041152},"client_ip":"117.224.211.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-11 17:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331000064001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:25:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 17:25:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117696084028948480,"km_value":117696084028948.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859776760981041152,"description":"Unknown IO ID 45"} 
[2026-08-11 17:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331000064001,"power":13015,"unknown_221":206,"unknown_19":45824,"ignition":15,"odometer":null,"unknown_45":8859776760981041152}} 
[2026-08-11 17:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":155060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:25:47] local.INFO: GPS data processed {"connection_id":155060,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:25:47] local.INFO: Acknowledgment sent {"connection_id":155060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:26:01] local.INFO: TCP Data received {"connection_id":153676,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:26:01] local.INFO: Processing buffer {"connection_id":153676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:26:01] local.INFO: Packet analysis {"connection_id":153676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:26:01] local.INFO: Extracted packet for processing {"connection_id":153676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:26:01] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":43,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330930944001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786449250000,"timestamp_ms":1786449250000,"timestamp_seconds":1786449250,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ac46d0"} 
[2026-08-11 17:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 17:26:01] 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-08-11 17: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-08-11 17:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:26:01] 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-08-11 17:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330930944001,"66":25908,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330930944001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:26:01] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:26:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330930944001,"power":25908,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":153676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:26:01] local.INFO: GPS data processed {"connection_id":153676,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:26:01] local.INFO: Acknowledgment sent {"connection_id":153676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:26:09] local.INFO: TCP Data received {"connection_id":155061,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:26:09] local.INFO: Processing buffer {"connection_id":155061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:26:09] local.INFO: IMEI packet received {"connection_id":155061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":155061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:26:10] local.INFO: TCP Data received {"connection_id":152357,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:26:10] local.INFO: Processing buffer {"connection_id":152357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:26:10] local.INFO: IMEI packet received {"connection_id":152357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":152357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:26:14] local.INFO: TCP Data received {"connection_id":155061,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:26:14] local.INFO: Processing buffer {"connection_id":155061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:26:14] local.INFO: IMEI packet received {"connection_id":155061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":155061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:26:15] local.INFO: TCP Data received {"connection_id":152357,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:26:15] local.INFO: Processing buffer {"connection_id":152357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:26:15] local.INFO: IMEI packet received {"connection_id":152357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":152357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:26:15] local.INFO: TCP Data received {"connection_id":155061,"ip":"117.224.211.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ac5e40012d7b030005e359f8000600982c..."} 
[2026-08-11 17:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ac5e40012d7b030005e359f8000600982c..."} 
[2026-08-11 17:26:15] local.INFO: Processing buffer {"connection_id":155061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ac5e40012d7b030005e359f8000600982c..."} 
[2026-08-11 17:26:15] local.INFO: Packet analysis {"connection_id":155061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:26:15] local.INFO: Extracted packet for processing {"connection_id":155061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:26:15] local.INFO: GPS Element Parsed {"raw_longitude":763036416,"raw_latitude":98785784,"longitude_deg":76.3036416,"latitude_deg":9.8785784,"altitude":6,"angle":152,"satellites":44,"speed":18,"hex_longitude":"2d7b0300","hex_latitude":"05e359f8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331005440001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117696449101168640,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861254504607494144,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786449256000,"timestamp_ms":1786449256000,"timestamp_seconds":1786449256,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ac5e40"} 
[2026-08-11 17:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:26:15] 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-08-11 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-11 17:26:15] 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-08-11 17: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-08-11 17:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.211.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331005440001,"66":12461,"221":206,"19":45824,"24":18,"16":117696449101168640,"45":8861254504607494144},"client_ip":"117.224.211.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-11 17:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331005440001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:26:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 17:26:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117696449101168640,"km_value":117696449101168.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861254504607494144,"description":"Unknown IO ID 45"} 
[2026-08-11 17:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331005440001,"power":12461,"unknown_221":206,"unknown_19":45824,"ignition":18,"odometer":null,"unknown_45":8861254504607494144}} 
[2026-08-11 17:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":155061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:26:15] local.INFO: GPS data processed {"connection_id":155061,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:26:15] local.INFO: Acknowledgment sent {"connection_id":155061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:26:15] local.INFO: TCP Data received {"connection_id":152357,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ab77c8012d1824000721b8b0004e015328..."} 
[2026-08-11 17:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ab77c8012d1824000721b8b0004e015328..."} 
[2026-08-11 17:26:15] local.INFO: Processing buffer {"connection_id":152357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ab77c8012d1824000721b8b0004e015328..."} 
[2026-08-11 17:26:15] local.INFO: Packet analysis {"connection_id":152357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ab"} 
[2026-08-11 17:26:15] local.INFO: Extracted packet for processing {"connection_id":152357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ab"} 
[2026-08-11 17:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":40,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330989056001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:15] 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-08-11 17:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786449197000,"timestamp_ms":1786449197000,"timestamp_seconds":1786449197,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ab77c8"} 
[2026-08-11 17:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:26:15] 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-08-11 17: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-11 17:26:15] 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-08-11 17: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-08-11 17:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330989056001,"66":12722,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330989056001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:26:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330989056001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":152357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:26:15] local.INFO: GPS data processed {"connection_id":152357,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:26:15] local.INFO: Acknowledgment sent {"connection_id":152357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:26:19] local.INFO: TCP Data received {"connection_id":152358,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:26:19] local.INFO: Processing buffer {"connection_id":152358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:26:19] local.INFO: IMEI packet received {"connection_id":152358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":152358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:26:24] local.INFO: TCP Data received {"connection_id":152358,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:26:24] local.INFO: Processing buffer {"connection_id":152358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:26:24] local.INFO: IMEI packet received {"connection_id":152358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":152358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:26:26] local.INFO: TCP Data received {"connection_id":152358,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:26:26] local.INFO: Processing buffer {"connection_id":152358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:26:26] local.INFO: Packet analysis {"connection_id":152358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:26:26] local.INFO: Extracted packet for processing {"connection_id":152358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:26:26] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":43,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330930944001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786449250000,"timestamp_ms":1786449250000,"timestamp_seconds":1786449250,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ac46d0"} 
[2026-08-11 17:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 17:26:26] 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-08-11 17: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-08-11 17:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:26:26] 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-08-11 17:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330930944001,"66":25908,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330930944001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:26:26] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:26:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330930944001,"power":25908,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":152358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:26:26] local.INFO: GPS data processed {"connection_id":152358,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:26:26] local.INFO: Acknowledgment sent {"connection_id":152358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:26:46] local.INFO: TCP Data received {"connection_id":152357,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0abc9d0012d1824000721b8b0004e015327..."} 
[2026-08-11 17:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0abc9d0012d1824000721b8b0004e015327..."} 
[2026-08-11 17:26:46] local.INFO: Processing buffer {"connection_id":152357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0abc9d0012d1824000721b8b0004e015327..."} 
[2026-08-11 17:26:46] local.INFO: Packet analysis {"connection_id":152357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ab"} 
[2026-08-11 17:26:46] local.INFO: Extracted packet for processing {"connection_id":152357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ab"} 
[2026-08-11 17:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":39,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330994432001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:46] 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-08-11 17:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786449218000,"timestamp_ms":1786449218000,"timestamp_seconds":1786449218,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0abc9d0"} 
[2026-08-11 17:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:26:46] 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-08-11 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 17:26:46] 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-08-11 17: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-08-11 17:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330994432001,"66":12722,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330994432001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:26:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330994432001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":152357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:26:46] local.INFO: GPS data processed {"connection_id":152357,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:26:46] local.INFO: Acknowledgment sent {"connection_id":152357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:26:47] local.INFO: TCP Data received {"connection_id":155061,"ip":"117.224.211.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ac9cc0012d7b090005e34e30000700a62c..."} 
[2026-08-11 17:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ac9cc0012d7b090005e34e30000700a62c..."} 
[2026-08-11 17:26:47] local.INFO: Processing buffer {"connection_id":155061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ac9cc0012d7b090005e34e30000700a62c..."} 
[2026-08-11 17:26:47] local.INFO: Packet analysis {"connection_id":155061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:26:47] local.INFO: Extracted packet for processing {"connection_id":155061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:26:47] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":98782768,"longitude_deg":76.3037952,"latitude_deg":9.8782768,"altitude":7,"angle":166,"satellites":44,"speed":7,"hex_longitude":"2d7b0900","hex_latitude":"05e34e30","is_valid_coordinates":true} 
[2026-08-11 17:26: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-08-11 17:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331009536001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117696612309925888,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863928516884428800,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786449272000,"timestamp_ms":1786449272000,"timestamp_seconds":1786449272,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ac9cc0"} 
[2026-08-11 17:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:26:47] 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-08-11 17:26: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 17:26:47] 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-08-11 17:26: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-08-11 17:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.211.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331009536001,"66":13102,"221":206,"19":45824,"24":7,"16":117696612309925888,"45":8863928516884428800},"client_ip":"117.224.211.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-08-11 17:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331009536001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:26:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-11 17:26:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117696612309925888,"km_value":117696612309925.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863928516884428800,"description":"Unknown IO ID 45"} 
[2026-08-11 17:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331009536001,"power":13102,"unknown_221":206,"unknown_19":45824,"ignition":7,"odometer":null,"unknown_45":8863928516884428800}} 
[2026-08-11 17:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":155061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:26:47] local.INFO: GPS data processed {"connection_id":155061,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:26:47] local.INFO: Acknowledgment sent {"connection_id":155061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:26:58] local.INFO: TCP Data received {"connection_id":152358,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:26:58] local.INFO: Processing buffer {"connection_id":152358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ac46d0012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:26:58] local.INFO: Packet analysis {"connection_id":152358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:26:58] local.INFO: Extracted packet for processing {"connection_id":152358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:26:58] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":43,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330930944001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786449250000,"timestamp_ms":1786449250000,"timestamp_seconds":1786449250,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ac46d0"} 
[2026-08-11 17:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 17:26:58] 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-08-11 17: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-08-11 17:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:26:58] 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-08-11 17:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330930944001,"66":25908,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330930944001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:26:58] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330930944001,"power":25908,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":152358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:26:58] local.INFO: GPS data processed {"connection_id":152358,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:26:58] local.INFO: Acknowledgment sent {"connection_id":152358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:27:08] local.INFO: TCP Data received {"connection_id":152359,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:27:08] local.INFO: Processing buffer {"connection_id":152359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:27:08] local.INFO: IMEI packet received {"connection_id":152359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":152359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:27:10] local.INFO: TCP Data received {"connection_id":152734,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:27:10] local.INFO: Processing buffer {"connection_id":152734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:27:10] local.INFO: IMEI packet received {"connection_id":152734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":152734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:27:14] local.INFO: TCP Data received {"connection_id":152359,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:27:14] local.INFO: Processing buffer {"connection_id":152359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:27:14] local.INFO: IMEI packet received {"connection_id":152359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":152359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:27:15] local.INFO: TCP Data received {"connection_id":152359,"ip":"117.224.211.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0acdf28012d7b0c0005e33c00000600b220..."} 
[2026-08-11 17:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0acdf28012d7b0c0005e33c00000600b220..."} 
[2026-08-11 17:27:15] local.INFO: Processing buffer {"connection_id":152359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0acdf28012d7b0c0005e33c00000600b220..."} 
[2026-08-11 17:27:15] local.INFO: Packet analysis {"connection_id":152359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:27:15] local.INFO: Extracted packet for processing {"connection_id":152359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:27:15] local.INFO: GPS Element Parsed {"raw_longitude":763038720,"raw_latitude":98778112,"longitude_deg":76.303872,"latitude_deg":9.8778112,"altitude":6,"angle":178,"satellites":32,"speed":8,"hex_longitude":"2d7b0c00","hex_latitude":"05e33c00","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331013632001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117696844238159872,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366743920640,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786449289000,"timestamp_ms":1786449289000,"timestamp_seconds":1786449289,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0acdf28"} 
[2026-08-11 17:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:27:15] 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-08-11 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 17:27:15] 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-08-11 17: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-08-11 17:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.211.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331013632001,"66":12885,"219":206,"19":45824,"24":8,"16":117696844238159872,"45":8865617366743920640},"client_ip":"117.224.211.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-08-11 17:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331013632001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:27:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-11 17:27:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117696844238159872,"km_value":117696844238159.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366743920640,"description":"Unknown IO ID 45"} 
[2026-08-11 17:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331013632001,"power":12885,"unknown_219":206,"unknown_19":45824,"ignition":8,"odometer":null,"unknown_45":8865617366743920640}} 
[2026-08-11 17:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":152359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:27:15] local.INFO: GPS data processed {"connection_id":152359,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:27:15] local.INFO: Acknowledgment sent {"connection_id":152359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:27:15] local.INFO: TCP Data received {"connection_id":152734,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:27:15] local.INFO: Processing buffer {"connection_id":152734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:27:15] local.INFO: IMEI packet received {"connection_id":152734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":152734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:27:16] local.INFO: TCP Data received {"connection_id":152734,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ac1bd8012d1824000721b8b0004e015329..."} 
[2026-08-11 17:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ac1bd8012d1824000721b8b0004e015329..."} 
[2026-08-11 17:27:16] local.INFO: Processing buffer {"connection_id":152734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ac1bd8012d1824000721b8b0004e015329..."} 
[2026-08-11 17:27:16] local.INFO: Packet analysis {"connection_id":152734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:27:16] local.INFO: Extracted packet for processing {"connection_id":152734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":41,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457330999808001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:16] 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-08-11 17:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786449239000,"timestamp_ms":1786449239000,"timestamp_seconds":1786449239,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ac1bd8"} 
[2026-08-11 17:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17: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-08-11 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 17:27:16] 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-08-11 17: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-08-11 17:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457330999808001,"66":12722,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457330999808001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:27:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:27:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457330999808001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":152734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:27:16] local.INFO: GPS data processed {"connection_id":152734,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:27:16] local.INFO: Acknowledgment sent {"connection_id":152734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:27:24] local.INFO: TCP Data received {"connection_id":153677,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:27:24] local.INFO: Processing buffer {"connection_id":153677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:27:24] local.INFO: IMEI packet received {"connection_id":153677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":153677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:27:29] local.INFO: TCP Data received {"connection_id":153677,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:27:29] local.INFO: Processing buffer {"connection_id":153677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:27:29] local.INFO: IMEI packet received {"connection_id":153677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":153677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:27:30] local.INFO: TCP Data received {"connection_id":153677,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ae5a10012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ae5a10012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:27:30] local.INFO: Processing buffer {"connection_id":153677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ae5a10012d9d8d80059f56d0000600f62b..."} 
[2026-08-11 17:27:30] local.INFO: Packet analysis {"connection_id":153677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ae"} 
[2026-08-11 17:27:30] local.INFO: Extracted packet for processing {"connection_id":153677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ae"} 
[2026-08-11 17:27:30] local.INFO: GPS Element Parsed {"raw_longitude":765300096,"raw_latitude":94328528,"longitude_deg":76.5300096,"latitude_deg":9.4328528,"altitude":6,"angle":246,"satellites":43,"speed":0,"hex_longitude":"2d9d8d80","hex_latitude":"059f56d0","is_valid_coordinates":true} 
[2026-08-11 17:27:30] 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-08-11 17:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331008000001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786449386000,"timestamp_ms":1786449386000,"timestamp_seconds":1786449386,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ae5a10"} 
[2026-08-11 17:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 17:27: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":52,"data_length":795,"current_offset":136} 
[2026-08-11 17:27:30] 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-08-11 17:27: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-08-11 17:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:27:30] 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-08-11 17:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331008000001,"66":25875,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331008000001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:27:30] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331008000001,"power":25875,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":153677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:27:30] local.INFO: GPS data processed {"connection_id":153677,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:27:30] local.INFO: Acknowledgment sent {"connection_id":153677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:27:32] local.INFO: TCP Data received {"connection_id":153677,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0aebfa0012d9d8ac0059f5660000600fa2b..."} 
[2026-08-11 17:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0aebfa0012d9d8ac0059f5660000600fa2b..."} 
[2026-08-11 17:27:32] local.INFO: Processing buffer {"connection_id":153677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0aebfa0012d9d8ac0059f5660000600fa2b..."} 
[2026-08-11 17:27:32] local.INFO: Packet analysis {"connection_id":153677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ae"} 
[2026-08-11 17:27:32] local.INFO: Extracted packet for processing {"connection_id":153677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ae"} 
[2026-08-11 17:27:32] local.INFO: GPS Element Parsed {"raw_longitude":765299392,"raw_latitude":94328416,"longitude_deg":76.5299392,"latitude_deg":9.4328416,"altitude":6,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d9d8ac0","hex_latitude":"059f5660","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331042816001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7093873076402204672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786449412000,"timestamp_ms":1786449412000,"timestamp_seconds":1786449412,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0aebfa0"} 
[2026-08-11 17:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 17:27:32] 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-08-11 17: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-08-11 17:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":153677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":153677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":153677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:27:32] 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-08-11 17:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331042816001,"66":27821,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7093873076402204672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331042816001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:27:32] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7093873076402204672,"description":"Unknown IO ID 45"} 
[2026-08-11 17:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331042816001,"power":27821,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7093873076402204672}} 
[2026-08-11 17:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":153677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:27:32] local.INFO: GPS data processed {"connection_id":153677,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:27:32] local.INFO: Acknowledgment sent {"connection_id":153677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:27:47] local.INFO: TCP Data received {"connection_id":152734,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ac6de0012d1824000721b8b0004e015329..."} 
[2026-08-11 17:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ac6de0012d1824000721b8b0004e015329..."} 
[2026-08-11 17:27:47] local.INFO: Processing buffer {"connection_id":152734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ac6de0012d1824000721b8b0004e015329..."} 
[2026-08-11 17:27:47] local.INFO: Packet analysis {"connection_id":152734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:27:47] local.INFO: Extracted packet for processing {"connection_id":152734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:27:47] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":41,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17:27: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-08-11 17:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331005184001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:47] 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-08-11 17:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786449260000,"timestamp_ms":1786449260000,"timestamp_seconds":1786449260,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ac6de0"} 
[2026-08-11 17:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:27:47] 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-08-11 17:27: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 17:27:47] 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-08-11 17:27: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-08-11 17:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331005184001,"66":12722,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331005184001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:27:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:27:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331005184001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":152734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:27:47] local.INFO: GPS data processed {"connection_id":152734,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:27:47] local.INFO: Acknowledgment sent {"connection_id":152734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:27:48] local.INFO: TCP Data received {"connection_id":152359,"ip":"117.224.211.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0af7f08012d7b40c005e1b1e80000009a27..."} 
[2026-08-11 17:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0af7f08012d7b40c005e1b1e80000009a27..."} 
[2026-08-11 17:27:48] local.INFO: Processing buffer {"connection_id":152359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0af7f08012d7b40c005e1b1e80000009a27..."} 
[2026-08-11 17:27:48] local.INFO: Packet analysis {"connection_id":152359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:27:48] local.INFO: Extracted packet for processing {"connection_id":152359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:27:48] local.INFO: GPS Element Parsed {"raw_longitude":763052224,"raw_latitude":98677224,"longitude_deg":76.3052224,"latitude_deg":9.8677224,"altitude":0,"angle":154,"satellites":39,"speed":19,"hex_longitude":"2d7b40c0","hex_latitude":"05e1b1e8","is_valid_coordinates":true} 
[2026-08-11 17:27: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-08-11 17:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331061504001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117701800630419456,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880887384203704320,"note":"Value kept but may cause issues"} 
[2026-08-11 17:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786449461000,"timestamp_ms":1786449461000,"timestamp_seconds":1786449461,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0af7f08"} 
[2026-08-11 17:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:27:48] 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-08-11 17:27: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-11 17:27:48] 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-08-11 17:27: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-08-11 17:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.211.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331061504001,"66":12645,"47":206,"19":45824,"24":19,"16":117701800630419456,"45":8880887384203704320},"client_ip":"117.224.211.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-08-11 17:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331061504001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:27:48] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-11 17:27:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117701800630419456,"km_value":117701800630419.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880887384203704320,"description":"Unknown IO ID 45"} 
[2026-08-11 17:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331061504001,"power":12645,"unknown_47":206,"unknown_19":45824,"ignition":19,"odometer":null,"unknown_45":8880887384203704320}} 
[2026-08-11 17:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":152359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:27:48] local.INFO: GPS data processed {"connection_id":152359,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:27:48] local.INFO: Acknowledgment sent {"connection_id":152359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:28:03] local.INFO: TCP Data received {"connection_id":153677,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0af11a8012d9d8ac0059f5660000600fa2d..."} 
[2026-08-11 17:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0af11a8012d9d8ac0059f5660000600fa2d..."} 
[2026-08-11 17:28:03] local.INFO: Processing buffer {"connection_id":153677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0af11a8012d9d8ac0059f5660000600fa2d..."} 
[2026-08-11 17:28:03] local.INFO: Packet analysis {"connection_id":153677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:28:03] local.INFO: Extracted packet for processing {"connection_id":153677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:28:03] local.INFO: GPS Element Parsed {"raw_longitude":765299392,"raw_latitude":94328416,"longitude_deg":76.5299392,"latitude_deg":9.4328416,"altitude":6,"angle":250,"satellites":45,"speed":0,"hex_longitude":"2d9d8ac0","hex_latitude":"059f5660","is_valid_coordinates":true} 
[2026-08-11 17:28: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-08-11 17:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331049472001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827263711805440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7094647132588187648,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786449433000,"timestamp_ms":1786449433000,"timestamp_seconds":1786449433,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0af11a8"} 
[2026-08-11 17:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:28: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":173,"data_length":795,"current_offset":136} 
[2026-08-11 17:28:03] 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-08-11 17:28: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-08-11 17:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":153677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":153677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":153677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:28:03] 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-08-11 17:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331049472001,"66":27908,"132":206,"83":17152,"24":0,"16":377827263711805440,"45":-7094647132588187648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331049472001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:28:03] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827263711805440,"km_value":377827263711805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7094647132588187648,"description":"Unknown IO ID 45"} 
[2026-08-11 17:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331049472001,"power":27908,"unknown_132":206,"unknown_83":17152,"ignition":0,"odometer":null,"unknown_45":-7094647132588187648}} 
[2026-08-11 17:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":153677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:28:03] local.INFO: GPS data processed {"connection_id":153677,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:28:03] local.INFO: Acknowledgment sent {"connection_id":153677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:28:08] local.INFO: TCP Data received {"connection_id":152360,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:28:08] local.INFO: Processing buffer {"connection_id":152360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:28:08] local.INFO: IMEI packet received {"connection_id":152360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":152360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:28:10] local.INFO: TCP Data received {"connection_id":153678,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:28:10] local.INFO: Processing buffer {"connection_id":153678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:28:10] local.INFO: IMEI packet received {"connection_id":153678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":153678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:28:11] local.INFO: TCP Data received {"connection_id":152360,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:28:11] local.INFO: Processing buffer {"connection_id":152360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:28:11] local.INFO: IMEI packet received {"connection_id":152360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":152360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:28:13] local.INFO: TCP Data received {"connection_id":152360,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:28:13] local.INFO: Processing buffer {"connection_id":152360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:28:13] local.INFO: IMEI packet received {"connection_id":152360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":152360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:28:14] local.INFO: TCP Data received {"connection_id":152360,"ip":"117.224.211.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0af86d8012d7b428005e1af800000008b26..."} 
[2026-08-11 17:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0af86d8012d7b428005e1af800000008b26..."} 
[2026-08-11 17:28:14] local.INFO: Processing buffer {"connection_id":152360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0af86d8012d7b428005e1af800000008b26..."} 
[2026-08-11 17:28:14] local.INFO: Packet analysis {"connection_id":152360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:28:14] local.INFO: Extracted packet for processing {"connection_id":152360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:28:14] local.INFO: GPS Element Parsed {"raw_longitude":763052672,"raw_latitude":98676608,"longitude_deg":76.3052672,"latitude_deg":9.8676608,"altitude":0,"angle":139,"satellites":38,"speed":11,"hex_longitude":"2d7b4280","hex_latitude":"05e1af80","is_valid_coordinates":true} 
[2026-08-11 17:28: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-08-11 17:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331062016001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117701834990157824,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881309596668520448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786449463000,"timestamp_ms":1786449463000,"timestamp_seconds":1786449463,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0af86d8"} 
[2026-08-11 17:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:28:14] 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-08-11 17:28: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 17:28:14] 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-08-11 17:28: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-08-11 17:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.211.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331062016001,"66":12809,"47":206,"19":45824,"24":11,"16":117701834990157824,"45":8881309596668520448},"client_ip":"117.224.211.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-08-11 17:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331062016001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:28:14] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-11 17:28:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117701834990157824,"km_value":117701834990157.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881309596668520448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331062016001,"power":12809,"unknown_47":206,"unknown_19":45824,"ignition":11,"odometer":null,"unknown_45":8881309596668520448}} 
[2026-08-11 17:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":152360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:28:14] local.INFO: GPS data processed {"connection_id":152360,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:28:14] local.INFO: Acknowledgment sent {"connection_id":152360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:28:15] local.INFO: TCP Data received {"connection_id":153678,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:28:15] local.INFO: Processing buffer {"connection_id":153678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:28:15] local.INFO: IMEI packet received {"connection_id":153678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":153678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:28:15] local.INFO: TCP Data received {"connection_id":153678,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0acbfe8012d1824000721b8b0004e015328..."} 
[2026-08-11 17:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0acbfe8012d1824000721b8b0004e015328..."} 
[2026-08-11 17:28:15] local.INFO: Processing buffer {"connection_id":153678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0acbfe8012d1824000721b8b0004e015328..."} 
[2026-08-11 17:28:15] local.INFO: Packet analysis {"connection_id":153678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:28:15] local.INFO: Extracted packet for processing {"connection_id":153678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ac"} 
[2026-08-11 17:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":40,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17:28: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-08-11 17:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331010560001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:15] 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-08-11 17:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786449281000,"timestamp_ms":1786449281000,"timestamp_seconds":1786449281,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0acbfe8"} 
[2026-08-11 17:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:28: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-08-11 17:28: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 17:28:15] 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-08-11 17:28: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-08-11 17:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331010560001,"66":12711,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331010560001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:28:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331010560001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":153678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:28:15] local.INFO: GPS data processed {"connection_id":153678,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:28:15] local.INFO: Acknowledgment sent {"connection_id":153678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:28:23] local.INFO: TCP Data received {"connection_id":152361,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:28:23] local.INFO: Processing buffer {"connection_id":152361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:28:23] local.INFO: IMEI packet received {"connection_id":152361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":152361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:28:23] local.INFO: TCP Data received {"connection_id":152361,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:28:23] local.INFO: Processing buffer {"connection_id":152361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:28:23] local.INFO: IMEI packet received {"connection_id":152361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":152361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:28:24] local.INFO: TCP Data received {"connection_id":152361,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:28:24] local.INFO: Processing buffer {"connection_id":152361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:28:24] local.INFO: IMEI packet received {"connection_id":152361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":152361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:28:29] local.INFO: TCP Data received {"connection_id":152361,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:28:29] local.INFO: Processing buffer {"connection_id":152361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:28:29] local.INFO: IMEI packet received {"connection_id":152361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":152361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:28:30] local.INFO: TCP Data received {"connection_id":152361,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0af38b8012d9d8900059f55e80006010a2b..."} 
[2026-08-11 17:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0af38b8012d9d8900059f55e80006010a2b..."} 
[2026-08-11 17:28:30] local.INFO: Processing buffer {"connection_id":152361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0af38b8012d9d8900059f55e80006010a2b..."} 
[2026-08-11 17:28:30] local.INFO: Packet analysis {"connection_id":152361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:28:30] local.INFO: Extracted packet for processing {"connection_id":152361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:28:30] local.INFO: GPS Element Parsed {"raw_longitude":765298944,"raw_latitude":94328296,"longitude_deg":76.5298944,"latitude_deg":9.4328296,"altitude":6,"angle":266,"satellites":43,"speed":10,"hex_longitude":"2d9d8900","hex_latitude":"059f55e8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331054848001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827289481609216,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7094647132588187648,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786449443000,"timestamp_ms":1786449443000,"timestamp_seconds":1786449443,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0af38b8"} 
[2026-08-11 17:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 17:28:30] 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-08-11 17: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-08-11 17:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:28:30] 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-08-11 17:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331054848001,"66":27995,"132":206,"83":17152,"24":10,"16":377827289481609216,"45":-7094647132588187648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331054848001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:28:30] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827289481609216,"km_value":377827289481609.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7094647132588187648,"description":"Unknown IO ID 45"} 
[2026-08-11 17:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331054848001,"power":27995,"unknown_132":206,"unknown_83":17152,"ignition":10,"odometer":null,"unknown_45":-7094647132588187648}} 
[2026-08-11 17:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":152361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:28:30] local.INFO: GPS data processed {"connection_id":152361,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:28:30] local.INFO: Acknowledgment sent {"connection_id":152361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:28:46] local.INFO: TCP Data received {"connection_id":153678,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ad11f0012d1824000721b8b0004e015328..."} 
[2026-08-11 17:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ad11f0012d1824000721b8b0004e015328..."} 
[2026-08-11 17:28:46] local.INFO: Processing buffer {"connection_id":153678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ad11f0012d1824000721b8b0004e015328..."} 
[2026-08-11 17:28:46] local.INFO: Packet analysis {"connection_id":153678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ad"} 
[2026-08-11 17:28:46] local.INFO: Extracted packet for processing {"connection_id":153678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ad"} 
[2026-08-11 17:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":40,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17:28: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-08-11 17:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331015936001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:46] 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-08-11 17:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786449302000,"timestamp_ms":1786449302000,"timestamp_seconds":1786449302,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ad11f0"} 
[2026-08-11 17:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:28:46] 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-08-11 17:28: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-11 17:28:46] 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-08-11 17:28: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-08-11 17:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331015936001,"66":12689,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331015936001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:28:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331015936001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":153678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:28:46] local.INFO: GPS data processed {"connection_id":153678,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:28:46] local.INFO: Acknowledgment sent {"connection_id":153678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:28:48] local.INFO: TCP Data received {"connection_id":152360,"ip":"117.224.211.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0af8ac0012d7b430005e1aef80000007d27..."} 
[2026-08-11 17:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0af8ac0012d7b430005e1aef80000007d27..."} 
[2026-08-11 17:28:48] local.INFO: Processing buffer {"connection_id":152360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0af8ac0012d7b430005e1aef80000007d27..."} 
[2026-08-11 17:28:48] local.INFO: Packet analysis {"connection_id":152360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:28:48] local.INFO: Extracted packet for processing {"connection_id":152360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:28:48] local.INFO: GPS Element Parsed {"raw_longitude":763052800,"raw_latitude":98676472,"longitude_deg":76.30528,"latitude_deg":9.8676472,"altitude":0,"angle":125,"satellites":39,"speed":8,"hex_longitude":"2d7b4300","hex_latitude":"05e1aef8","is_valid_coordinates":true} 
[2026-08-11 17:28: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-08-11 17:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331062528001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117701847875059712,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881802177877606400,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786449464000,"timestamp_ms":1786449464000,"timestamp_seconds":1786449464,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0af8ac0"} 
[2026-08-11 17:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:28:48] 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-08-11 17:28: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-11 17:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1801439851115971584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:48] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4037971160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-5884471877589848576,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:48] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4267180032,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2737766606,"corrected_to":0} 
[2026-08-11 17:28:48] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3758173563,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:48] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3221611042,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:48] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398882865729043,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2136298316210590682,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:48] local.WARNING: Large IO value detected {"io_id":179,"raw_value":6755459570729201,"note":"Value kept but may cause issues"} 
[2026-08-11 17:28:48] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,47,19,24,241,158,16,41,159,127,45,192,177,39,10,66,119,64,181,38,72,1,240,144,40,225,4,113,205,35,222,53,160,239,51,2,162,5,14,179,165],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2737766606,"validated":0}]} 
[2026-08-11 17:28:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":152995325739008,"timestamp_seconds":152995325739.008,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.211.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331062528001,"66":13363,"47":206,"19":45824,"24":8,"16":117701847875059712,"45":8881802177877606400},"client_ip":"117.224.211.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-08-11 17:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331062528001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:28:48] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-11 17:28:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117701847875059712,"km_value":117701847875059.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881802177877606400,"description":"Unknown IO ID 45"} 
[2026-08-11 17:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331062528001,"power":13363,"unknown_47":206,"unknown_19":45824,"ignition":8,"odometer":null,"unknown_45":8881802177877606400}} 
[2026-08-11 17:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":152360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:28:48] local.INFO: GPS data processed {"connection_id":152360,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:28:48] local.INFO: Acknowledgment sent {"connection_id":152360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:29:02] local.INFO: TCP Data received {"connection_id":152361,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0af4c40012d9d81c0059f54c0000600fd2d..."} 
[2026-08-11 17:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0af4c40012d9d81c0059f54c0000600fd2d..."} 
[2026-08-11 17:29:02] local.INFO: Processing buffer {"connection_id":152361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0af4c40012d9d81c0059f54c0000600fd2d..."} 
[2026-08-11 17:29:02] local.INFO: Packet analysis {"connection_id":152361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:29:02] local.INFO: Extracted packet for processing {"connection_id":152361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:29:02] local.INFO: GPS Element Parsed {"raw_longitude":765297088,"raw_latitude":94328000,"longitude_deg":76.5297088,"latitude_deg":9.4328,"altitude":6,"angle":253,"satellites":45,"speed":17,"hex_longitude":"2d9d81c0","hex_latitude":"059f54c0","is_valid_coordinates":true} 
[2026-08-11 17: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":795,"current_offset":40} 
[2026-08-11 17:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331057408001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827375380955136,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7095139713797462016,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786449448000,"timestamp_ms":1786449448000,"timestamp_seconds":1786449448,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0af4c40"} 
[2026-08-11 17:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:29: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 17:29:02] 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-08-11 17:29: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-08-11 17:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":152361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":152361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":152361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:29:02] 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-08-11 17:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331057408001,"66":27930,"132":206,"83":17152,"24":17,"16":377827375380955136,"45":-7095139713797462016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331057408001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:29:02] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:29:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827375380955136,"km_value":377827375380955.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7095139713797462016,"description":"Unknown IO ID 45"} 
[2026-08-11 17:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331057408001,"power":27930,"unknown_132":206,"unknown_83":17152,"ignition":17,"odometer":null,"unknown_45":-7095139713797462016}} 
[2026-08-11 17:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":152361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:29:02] local.INFO: GPS data processed {"connection_id":152361,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:29:02] local.INFO: Acknowledgment sent {"connection_id":152361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:29:10] local.INFO: TCP Data received {"connection_id":153679,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:29:10] local.INFO: Processing buffer {"connection_id":153679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:29:10] local.INFO: IMEI packet received {"connection_id":153679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":153679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:29:14] local.INFO: TCP Data received {"connection_id":155062,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:29:14] local.INFO: Processing buffer {"connection_id":155062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:29:14] local.INFO: IMEI packet received {"connection_id":155062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":155062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:29:15] local.INFO: TCP Data received {"connection_id":153679,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:29:15] local.INFO: Processing buffer {"connection_id":153679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:29:15] local.INFO: IMEI packet received {"connection_id":153679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":153679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:29:16] local.INFO: TCP Data received {"connection_id":153679,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ad63f8012d1824000721b8b0004e015325..."} 
[2026-08-11 17:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ad63f8012d1824000721b8b0004e015325..."} 
[2026-08-11 17:29:16] local.INFO: Processing buffer {"connection_id":153679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ad63f8012d1824000721b8b0004e015325..."} 
[2026-08-11 17:29:16] local.INFO: Packet analysis {"connection_id":153679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ad"} 
[2026-08-11 17:29:16] local.INFO: Extracted packet for processing {"connection_id":153679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ad"} 
[2026-08-11 17:29:16] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650480,"longitude_deg":75.65568,"latitude_deg":11.965048,"altitude":78,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331021312001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743316760592384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702376960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:16] 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-08-11 17:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786449323000,"timestamp_ms":1786449323000,"timestamp_seconds":1786449323,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ad63f8"} 
[2026-08-11 17:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:29:16] 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-08-11 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 17:29:16] 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-08-11 17: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-08-11 17:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331021312001,"66":12711,"105":206,"83":41984,"24":0,"16":11743316760592384,"45":1739515386702376960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331021312001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:29:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:29:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743316760592384,"km_value":11743316760592.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702376960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331021312001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702376960}} 
[2026-08-11 17:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":153679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:29:16] local.INFO: GPS data processed {"connection_id":153679,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:29:16] local.INFO: Acknowledgment sent {"connection_id":153679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:29:17] local.INFO: TCP Data received {"connection_id":155062,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:29:17] local.INFO: Processing buffer {"connection_id":155062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:29:17] local.INFO: IMEI packet received {"connection_id":155062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":155062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:29:18] local.INFO: TCP Data received {"connection_id":155062,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:29:18] local.INFO: Processing buffer {"connection_id":155062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:29:18] local.INFO: IMEI packet received {"connection_id":155062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":155062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:29:19] local.INFO: TCP Data received {"connection_id":155063,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:29:19] local.INFO: Processing buffer {"connection_id":155063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:29:19] local.INFO: IMEI packet received {"connection_id":155063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":155063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:29:20] local.INFO: TCP Data received {"connection_id":155062,"ip":"117.224.211.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0af8ea8012d7b43c005e1aea00000007127..."} 
[2026-08-11 17:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0af8ea8012d7b43c005e1aea00000007127..."} 
[2026-08-11 17:29:20] local.INFO: Processing buffer {"connection_id":155062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0af8ea8012d7b43c005e1aea00000007127..."} 
[2026-08-11 17:29:20] local.INFO: Packet analysis {"connection_id":155062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:29:20] local.INFO: Extracted packet for processing {"connection_id":155062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:29:20] local.INFO: GPS Element Parsed {"raw_longitude":763052992,"raw_latitude":98676384,"longitude_deg":76.3052992,"latitude_deg":9.8676384,"altitude":0,"angle":113,"satellites":39,"speed":8,"hex_longitude":"2d7b43c0","hex_latitude":"05e1aea0","is_valid_coordinates":true} 
[2026-08-11 17:29: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-08-11 17:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331062784001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117701856464994304,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881942915365926912,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786449465000,"timestamp_ms":1786449465000,"timestamp_seconds":1786449465,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0af8ea8"} 
[2026-08-11 17:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:29:20] 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-08-11 17:29: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":51,"data_length":795,"current_offset":136} 
[2026-08-11 17:29:20] 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-08-11 17:29: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-08-11 17:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":155062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":155062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":155062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.211.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331062784001,"66":13363,"47":206,"19":45824,"24":8,"16":117701856464994304,"45":8881942915365926912},"client_ip":"117.224.211.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-08-11 17:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331062784001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:29:20] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-11 17:29:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117701856464994304,"km_value":117701856464994.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881942915365926912,"description":"Unknown IO ID 45"} 
[2026-08-11 17:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331062784001,"power":13363,"unknown_47":206,"unknown_19":45824,"ignition":8,"odometer":null,"unknown_45":8881942915365926912}} 
[2026-08-11 17:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":155062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:29:20] local.INFO: GPS data processed {"connection_id":155062,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:29:20] local.INFO: Acknowledgment sent {"connection_id":155062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:29:23] local.INFO: TCP Data received {"connection_id":155062,"ip":"117.224.211.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0af9290012d7b450005e1ae780000006229..."} 
[2026-08-11 17:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0af9290012d7b450005e1ae780000006229..."} 
[2026-08-11 17:29:23] local.INFO: Processing buffer {"connection_id":155062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0af9290012d7b450005e1ae780000006229..."} 
[2026-08-11 17:29:23] local.INFO: Packet analysis {"connection_id":155062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:29:23] local.INFO: Extracted packet for processing {"connection_id":155062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:29:23] local.INFO: GPS Element Parsed {"raw_longitude":763053312,"raw_latitude":98676344,"longitude_deg":76.3053312,"latitude_deg":9.8676344,"altitude":0,"angle":98,"satellites":41,"speed":9,"hex_longitude":"2d7b4500","hex_latitude":"05e1ae78","is_valid_coordinates":true} 
[2026-08-11 17:29: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-08-11 17:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331063040001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117701869349896192,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882154021598437376,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786449466000,"timestamp_ms":1786449466000,"timestamp_seconds":1786449466,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0af9290"} 
[2026-08-11 17:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:29:23] 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-08-11 17:29: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":51,"data_length":795,"current_offset":136} 
[2026-08-11 17:29:23] 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-08-11 17:29: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-08-11 17:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":155062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":155062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":155062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.211.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331063040001,"66":13406,"47":206,"19":45824,"24":9,"16":117701869349896192,"45":8882154021598437376},"client_ip":"117.224.211.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-08-11 17:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331063040001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:29:23] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-11 17:29:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117701869349896192,"km_value":117701869349896.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882154021598437376,"description":"Unknown IO ID 45"} 
[2026-08-11 17:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331063040001,"power":13406,"unknown_47":206,"unknown_19":45824,"ignition":9,"odometer":null,"unknown_45":8882154021598437376}} 
[2026-08-11 17:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":155062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:29:23] local.INFO: GPS data processed {"connection_id":155062,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:29:23] local.INFO: Acknowledgment sent {"connection_id":155062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:29:24] local.INFO: TCP Data received {"connection_id":155063,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:29:24] local.INFO: Processing buffer {"connection_id":155063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:29:24] local.INFO: IMEI packet received {"connection_id":155063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":155063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:29:25] local.INFO: TCP Data received {"connection_id":155063,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0af86d8012d9d5f00059f4858000600f92d..."} 
[2026-08-11 17:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0af86d8012d9d5f00059f4858000600f92d..."} 
[2026-08-11 17:29:25] local.INFO: Processing buffer {"connection_id":155063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0af86d8012d9d5f00059f4858000600f92d..."} 
[2026-08-11 17:29:25] local.INFO: Packet analysis {"connection_id":155063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:29:25] local.INFO: Extracted packet for processing {"connection_id":155063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:29:25] local.INFO: GPS Element Parsed {"raw_longitude":765288192,"raw_latitude":94324824,"longitude_deg":76.5288192,"latitude_deg":9.4324824,"altitude":6,"angle":249,"satellites":45,"speed":28,"hex_longitude":"2d9d5f00","hex_latitude":"059f4858","is_valid_coordinates":true} 
[2026-08-11 17:29: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-08-11 17:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331058688001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377827830647488512,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7097180407378690048,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786449463000,"timestamp_ms":1786449463000,"timestamp_seconds":1786449463,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0af86d8"} 
[2026-08-11 17:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:29: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 17:29:25] 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-08-11 17:29: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-08-11 17:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:29:25] 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-08-11 17:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331058688001,"66":27800,"132":206,"83":17152,"24":28,"16":377827830647488512,"45":-7097180407378690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-08-11 17:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331058688001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:29:25] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-11 17:29:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377827830647488512,"km_value":377827830647488.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7097180407378690048,"description":"Unknown IO ID 45"} 
[2026-08-11 17:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331058688001,"power":27800,"unknown_132":206,"unknown_83":17152,"ignition":28,"odometer":null,"unknown_45":-7097180407378690048}} 
[2026-08-11 17:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":155063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:29:25] local.INFO: GPS data processed {"connection_id":155063,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:29:25] local.INFO: Acknowledgment sent {"connection_id":155063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:29:47] local.INFO: TCP Data received {"connection_id":153679,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b02ed0012d1823000721b698004700c02a..."} 
[2026-08-11 17:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b02ed0012d1823000721b698004700c02a..."} 
[2026-08-11 17:29:47] local.INFO: Processing buffer {"connection_id":153679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b02ed0012d1823000721b698004700c02a..."} 
[2026-08-11 17:29:47] local.INFO: Packet analysis {"connection_id":153679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b0"} 
[2026-08-11 17:29:47] local.INFO: Extracted packet for processing {"connection_id":153679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b0"} 
[2026-08-11 17:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":71,"angle":192,"satellites":42,"speed":1,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331072512001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743346825363456,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725578240,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:47] 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-08-11 17:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786449506000,"timestamp_ms":1786449506000,"timestamp_seconds":1786449506,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b02ed0"} 
[2026-08-11 17:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:29:47] 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-08-11 17: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 17:29:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4037979160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:47] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3095134208,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2941265921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:47] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194964224,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3098542158,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-11 17:29:47] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182191054913792,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:47] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429885514321580839,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:47] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,184,159,23,45,183,71,41,10,66,244,78,40,162,1,240,69,227,33,4,113,205,254,36,176,37,239,49,2,7],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-08-11 17:29:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116280672104873984,"timestamp_seconds":5116280672104874.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331072512001,"66":12591,"105":206,"83":41984,"24":1,"16":11743346825363456,"45":1739233911725578240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331072512001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:29:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:29:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743346825363456,"km_value":11743346825363.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725578240,"description":"Unknown IO ID 45"} 
[2026-08-11 17:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331072512001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739233911725578240}} 
[2026-08-11 17:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":153679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:29:47] local.INFO: GPS data processed {"connection_id":153679,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:29:47] local.INFO: Acknowledgment sent {"connection_id":153679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:29:56] local.INFO: TCP Data received {"connection_id":155063,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0afb1d0012d9d3d80059f3c38000400f92b..."} 
[2026-08-11 17:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0afb1d0012d9d3d80059f3c38000400f92b..."} 
[2026-08-11 17:29:56] local.INFO: Processing buffer {"connection_id":155063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0afb1d0012d9d3d80059f3c38000400f92b..."} 
[2026-08-11 17:29:56] local.INFO: Packet analysis {"connection_id":155063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:29:56] local.INFO: Extracted packet for processing {"connection_id":155063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0af"} 
[2026-08-11 17:29:56] local.INFO: GPS Element Parsed {"raw_longitude":765279616,"raw_latitude":94321720,"longitude_deg":76.5279616,"latitude_deg":9.432172,"altitude":4,"angle":249,"satellites":43,"speed":36,"hex_longitude":"2d9d3d80","hex_latitude":"059f3c38","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331062528001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377828268734152704,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7106961662820198400,"note":"Value kept but may cause issues"} 
[2026-08-11 17:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786449474000,"timestamp_ms":1786449474000,"timestamp_seconds":1786449474,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0afb1d0"} 
[2026-08-11 17:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 17:29:56] 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-08-11 17: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-08-11 17:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:29:56] 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-08-11 17:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331062528001,"66":27865,"123":206,"83":17152,"24":36,"16":377828268734152704,"45":-7106961662820198400},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,45]} 
[2026-08-11 17:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331062528001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:29:56] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-11 17:29:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377828268734152704,"km_value":377828268734152.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7106961662820198400,"description":"Unknown IO ID 45"} 
[2026-08-11 17:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331062528001,"power":27865,"unknown_123":206,"unknown_83":17152,"ignition":36,"odometer":null,"unknown_45":-7106961662820198400}} 
[2026-08-11 17:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":155063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:29:56] local.INFO: GPS data processed {"connection_id":155063,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:29:56] local.INFO: Acknowledgment sent {"connection_id":155063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:30:08] local.INFO: TCP Data received {"connection_id":153680,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:30:08] local.INFO: Processing buffer {"connection_id":153680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:30:08] local.INFO: IMEI packet received {"connection_id":153680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":153680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:30:10] local.INFO: TCP Data received {"connection_id":153680,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:30:10] local.INFO: Processing buffer {"connection_id":153680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:30:10] local.INFO: IMEI packet received {"connection_id":153680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":153680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:30:11] local.INFO: TCP Data received {"connection_id":153680,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:30:11] local.INFO: Processing buffer {"connection_id":153680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:30:11] local.INFO: IMEI packet received {"connection_id":153680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":153680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:30:13] local.INFO: TCP Data received {"connection_id":153680,"ip":"117.224.211.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:30:13] local.INFO: Processing buffer {"connection_id":153680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:30:13] local.INFO: IMEI packet received {"connection_id":153680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":153680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:30:14] local.INFO: TCP Data received {"connection_id":153680,"ip":"117.224.211.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b157b0012d7bfc4005e1d9d00007005229..."} 
[2026-08-11 17:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b157b0012d7bfc4005e1d9d00007005229..."} 
[2026-08-11 17:30:14] local.INFO: Processing buffer {"connection_id":153680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b157b0012d7bfc4005e1d9d00007005229..."} 
[2026-08-11 17:30:14] local.INFO: Packet analysis {"connection_id":153680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:30:14] local.INFO: Extracted packet for processing {"connection_id":153680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:30:14] local.INFO: GPS Element Parsed {"raw_longitude":763100224,"raw_latitude":98687440,"longitude_deg":76.3100224,"latitude_deg":9.868744,"altitude":7,"angle":82,"satellites":41,"speed":28,"hex_longitude":"2d7bfc40","hex_latitude":"05e1d9d0","is_valid_coordinates":true} 
[2026-08-11 17:30: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-08-11 17:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331089664001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117704265941647360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923460474433787904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786449582000,"timestamp_ms":1786449582000,"timestamp_seconds":1786449582,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b157b0"} 
[2026-08-11 17:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:30:14] 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-08-11 17:30: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 17:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861347,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:14] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:14] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4038084160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2962513921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:14] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3263168521,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2737569998,"corrected_to":0} 
[2026-08-11 17:30:14] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2415996283,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:14] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2147869121,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:14] local.WARNING: Large IO value detected {"io_id":47,"raw_value":58005504724041743,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3787216896,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:14] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,44,19,24,241,158,16,42,159,29,45,221,7,41,10,66,1,217,6,40,230,128,240,117,225,4,113,205,11,140,174,56,35,239,52,47,2,162,5,15],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2737569998,"validated":0}]} 
[2026-08-11 17:30:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504506688453607424,"timestamp_seconds":504506688453607.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.211.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331089664001,"66":13319,"44":206,"19":45824,"24":28,"16":117704265941647360,"45":8923460474433787904},"client_ip":"117.224.211.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-08-11 17:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331089664001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:30:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 17:30:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117704265941647360,"km_value":117704265941647.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923460474433787904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331089664001,"power":13319,"unknown_44":206,"unknown_19":45824,"ignition":28,"odometer":null,"unknown_45":8923460474433787904}} 
[2026-08-11 17:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":153680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:30:14] local.INFO: GPS data processed {"connection_id":153680,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:30:14] local.INFO: Acknowledgment sent {"connection_id":153680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:30:15] local.INFO: TCP Data received {"connection_id":152735,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:30:15] local.INFO: Processing buffer {"connection_id":152735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:30:15] local.INFO: IMEI packet received {"connection_id":152735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":152735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:30:16] local.INFO: TCP Data received {"connection_id":153680,"ip":"117.224.211.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b157b0012d7bfc4005e1d9d00007005229..."} 
[2026-08-11 17:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b157b0012d7bfc4005e1d9d00007005229..."} 
[2026-08-11 17:30:16] local.INFO: Processing buffer {"connection_id":153680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b157b0012d7bfc4005e1d9d00007005229..."} 
[2026-08-11 17:30:16] local.INFO: Packet analysis {"connection_id":153680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:30:16] local.INFO: Extracted packet for processing {"connection_id":153680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:30:16] local.INFO: GPS Element Parsed {"raw_longitude":763100224,"raw_latitude":98687440,"longitude_deg":76.3100224,"latitude_deg":9.868744,"altitude":7,"angle":82,"satellites":41,"speed":28,"hex_longitude":"2d7bfc40","hex_latitude":"05e1d9d0","is_valid_coordinates":true} 
[2026-08-11 17:30: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-08-11 17:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331092992001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117704265941647360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934086154804383744,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786449582000,"timestamp_ms":1786449582000,"timestamp_seconds":1786449582,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b157b0"} 
[2026-08-11 17:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:30: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-08-11 17:30: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":7,"data_length":795,"current_offset":136} 
[2026-08-11 17:30:16] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4038102160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:16] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2967889921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:16] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-4875146570853439488,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2737569998,"corrected_to":0} 
[2026-08-11 17:30:16] local.WARNING: Large IO value detected {"io_id":176,"raw_value":5062047276022448133,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3787536384,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:16] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57881792497980339,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:16] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,44,19,24,241,158,16,43,159,36,45,128,221,7,41,10,66,42,29,1,240,198,225,4,113,205,3,148,176,39,239,52,2,162,5,14,51],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2737569998,"validated":0}]} 
[2026-08-11 17:30:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504493494314467328,"timestamp_seconds":504493494314467.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.211.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331092992001,"66":13319,"44":206,"19":45824,"24":28,"16":117704265941647360,"45":8934086154804383744},"client_ip":"117.224.211.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-08-11 17:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331092992001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:30:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 17:30:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117704265941647360,"km_value":117704265941647.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934086154804383744,"description":"Unknown IO ID 45"} 
[2026-08-11 17:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331092992001,"power":13319,"unknown_44":206,"unknown_19":45824,"ignition":28,"odometer":null,"unknown_45":8934086154804383744}} 
[2026-08-11 17:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":153680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:30:16] local.INFO: GPS data processed {"connection_id":153680,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:30:16] local.INFO: Acknowledgment sent {"connection_id":153680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:30:19] local.INFO: TCP Data received {"connection_id":152736,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:30:19] local.INFO: Processing buffer {"connection_id":152736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:30:19] local.INFO: IMEI packet received {"connection_id":152736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":152736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:30:20] local.INFO: TCP Data received {"connection_id":152735,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:30:20] local.INFO: Processing buffer {"connection_id":152735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:30:20] local.INFO: IMEI packet received {"connection_id":152735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":152735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:30:20] local.INFO: TCP Data received {"connection_id":152735,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b080d8012d1823000721b630004700c828..."} 
[2026-08-11 17:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b080d8012d1823000721b630004700c828..."} 
[2026-08-11 17:30:20] local.INFO: Processing buffer {"connection_id":152735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b080d8012d1823000721b630004700c828..."} 
[2026-08-11 17:30:20] local.INFO: Packet analysis {"connection_id":152735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b0"} 
[2026-08-11 17:30:20] local.INFO: Extracted packet for processing {"connection_id":152735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b0"} 
[2026-08-11 17:30:20] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649840,"longitude_deg":75.6556544,"latitude_deg":11.964984,"altitude":71,"angle":200,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-08-11 17:30: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-08-11 17:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331073536001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743351120330752,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:20] 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-08-11 17:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786449527000,"timestamp_ms":1786449527000,"timestamp_seconds":1786449527,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b080d8"} 
[2026-08-11 17:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:30: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-08-11 17:30: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 17:30:20] 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-08-11 17:30: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-08-11 17:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331073536001,"66":12591,"105":206,"83":41984,"24":0,"16":11743351120330752,"45":1739233911725529088},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331073536001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:30:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:30:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743351120330752,"km_value":11743351120330.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-08-11 17:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331073536001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-08-11 17:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":152735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:30:20] local.INFO: GPS data processed {"connection_id":152735,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:30:20] local.INFO: Acknowledgment sent {"connection_id":152735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:30:21] local.INFO: TCP Data received {"connection_id":152735,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b0d2e0012d1823000721b630004700c827..."} 
[2026-08-11 17:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b0d2e0012d1823000721b630004700c827..."} 
[2026-08-11 17:30:21] local.INFO: Processing buffer {"connection_id":152735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b0d2e0012d1823000721b630004700c827..."} 
[2026-08-11 17:30:21] local.INFO: Packet analysis {"connection_id":152735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b0"} 
[2026-08-11 17:30:21] local.INFO: Extracted packet for processing {"connection_id":152735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b0"} 
[2026-08-11 17:30:21] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649840,"longitude_deg":75.6556544,"latitude_deg":11.964984,"altitude":71,"angle":200,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-08-11 17:30: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-08-11 17:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331078912001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743351120330752,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725502464,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:21] 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-08-11 17:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786449548000,"timestamp_ms":1786449548000,"timestamp_seconds":1786449548,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b0d2e0"} 
[2026-08-11 17:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:30:21] 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-08-11 17:30: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 17:30:21] 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-08-11 17:30: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-08-11 17:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331078912001,"66":12591,"105":206,"83":41984,"24":0,"16":11743351120330752,"45":1739233911725502464},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331078912001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:30:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:30:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743351120330752,"km_value":11743351120330.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725502464,"description":"Unknown IO ID 45"} 
[2026-08-11 17:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331078912001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725502464}} 
[2026-08-11 17:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":152735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:30:21] local.INFO: GPS data processed {"connection_id":152735,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:30:21] local.INFO: Acknowledgment sent {"connection_id":152735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:30:22] local.INFO: TCP Data received {"connection_id":152736,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:30:22] local.INFO: Processing buffer {"connection_id":152736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:30:22] local.INFO: IMEI packet received {"connection_id":152736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":152736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:30:24] local.INFO: TCP Data received {"connection_id":152736,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:30:24] local.INFO: Processing buffer {"connection_id":152736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:30:24] local.INFO: IMEI packet received {"connection_id":152736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":152736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:30:25] local.INFO: TCP Data received {"connection_id":152736,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b11d18012d9bbd00059eb388000400fa2c..."} 
[2026-08-11 17:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b11d18012d9bbd00059eb388000400fa2c..."} 
[2026-08-11 17:30:25] local.INFO: Processing buffer {"connection_id":152736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b11d18012d9bbd00059eb388000400fa2c..."} 
[2026-08-11 17:30:25] local.INFO: Packet analysis {"connection_id":152736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:30:25] local.INFO: Extracted packet for processing {"connection_id":152736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:30:25] local.INFO: GPS Element Parsed {"raw_longitude":765181184,"raw_latitude":94286728,"longitude_deg":76.5181184,"latitude_deg":9.4286728,"altitude":4,"angle":250,"satellites":44,"speed":45,"hex_longitude":"2d9bbd00","hex_latitude":"059eb388","is_valid_coordinates":true} 
[2026-08-11 17:30: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-08-11 17:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331087104001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377833268076085248,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7214977685141866496,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786449567000,"timestamp_ms":1786449567000,"timestamp_seconds":1786449567,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b11d18"} 
[2026-08-11 17:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:30: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 17:30:25] 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-08-11 17:30: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-08-11 17:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:30:25] 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-08-11 17:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331087104001,"66":27974,"123":206,"83":17152,"24":45,"16":377833268076085248,"45":-7214977685141866496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,45]} 
[2026-08-11 17:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331087104001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:30:25] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-11 17:30:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377833268076085248,"km_value":377833268076085.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7214977685141866496,"description":"Unknown IO ID 45"} 
[2026-08-11 17:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331087104001,"power":27974,"unknown_123":206,"unknown_83":17152,"ignition":45,"odometer":null,"unknown_45":-7214977685141866496}} 
[2026-08-11 17:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":152736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:30:25] local.INFO: GPS data processed {"connection_id":152736,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:30:25] local.INFO: Acknowledgment sent {"connection_id":152736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:30:48] local.INFO: TCP Data received {"connection_id":153680,"ip":"117.224.211.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b23270012d7c65c005e213380006005123..."} 
[2026-08-11 17:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b23270012d7c65c005e213380006005123..."} 
[2026-08-11 17:30:48] local.INFO: Processing buffer {"connection_id":153680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b23270012d7c65c005e213380006005123..."} 
[2026-08-11 17:30:48] local.INFO: Packet analysis {"connection_id":153680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b2"} 
[2026-08-11 17:30:48] local.INFO: Extracted packet for processing {"connection_id":153680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b2"} 
[2026-08-11 17:30:48] local.INFO: GPS Element Parsed {"raw_longitude":763127232,"raw_latitude":98702136,"longitude_deg":76.3127232,"latitude_deg":9.8702136,"altitude":6,"angle":81,"satellites":35,"speed":25,"hex_longitude":"2d7c65c0","hex_latitude":"05e21338","is_valid_coordinates":true} 
[2026-08-11 17:30: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-08-11 17:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331106816001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117705880849350656,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962444758711664640,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786449638000,"timestamp_ms":1786449638000,"timestamp_seconds":1786449638,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b23270"} 
[2026-08-11 17:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:30:48] 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-08-11 17:30: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":242,"data_length":795,"current_offset":136} 
[2026-08-11 17:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:30: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-08-11 17:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.211.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331106816001,"66":13319,"44":206,"19":45824,"24":25,"16":117705880849350656,"45":8962444758711664640},"client_ip":"117.224.211.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-08-11 17:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331106816001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:30:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 17:30:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117705880849350656,"km_value":117705880849350.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962444758711664640,"description":"Unknown IO ID 45"} 
[2026-08-11 17:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331106816001,"power":13319,"unknown_44":206,"unknown_19":45824,"ignition":25,"odometer":null,"unknown_45":8962444758711664640}} 
[2026-08-11 17:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":153680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:30:48] local.INFO: GPS data processed {"connection_id":153680,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:30:48] local.INFO: Acknowledgment sent {"connection_id":153680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:30:52] local.INFO: TCP Data received {"connection_id":152735,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b124e8012d1823000721b630004700c829..."} 
[2026-08-11 17:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b124e8012d1823000721b630004700c829..."} 
[2026-08-11 17:30:52] local.INFO: Processing buffer {"connection_id":152735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b124e8012d1823000721b630004700c829..."} 
[2026-08-11 17:30:52] local.INFO: Packet analysis {"connection_id":152735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:30:52] local.INFO: Extracted packet for processing {"connection_id":152735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649840,"longitude_deg":75.6556544,"latitude_deg":11.964984,"altitude":71,"angle":200,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331084288001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743351120330752,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725502464,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30: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-08-11 17:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786449569000,"timestamp_ms":1786449569000,"timestamp_seconds":1786449569,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b124e8"} 
[2026-08-11 17:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:30: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-08-11 17: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 17:30:52] 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-08-11 17: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-08-11 17:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331084288001,"66":12558,"105":206,"83":41984,"24":0,"16":11743351120330752,"45":1739233911725502464},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331084288001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:30:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:30:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743351120330752,"km_value":11743351120330.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725502464,"description":"Unknown IO ID 45"} 
[2026-08-11 17:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331084288001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725502464}} 
[2026-08-11 17:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":152735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:30:52] local.INFO: GPS data processed {"connection_id":152735,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:30:52] local.INFO: Acknowledgment sent {"connection_id":152735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:30:56] local.INFO: TCP Data received {"connection_id":152736,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b14040012d9b9800059ea620000600f92c..."} 
[2026-08-11 17:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b14040012d9b9800059ea620000600f92c..."} 
[2026-08-11 17:30:56] local.INFO: Processing buffer {"connection_id":152736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b14040012d9b9800059ea620000600f92c..."} 
[2026-08-11 17:30:56] local.INFO: Packet analysis {"connection_id":152736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:30:56] local.INFO: Extracted packet for processing {"connection_id":152736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:30:56] local.INFO: GPS Element Parsed {"raw_longitude":765171712,"raw_latitude":94283296,"longitude_deg":76.5171712,"latitude_deg":9.4283296,"altitude":6,"angle":249,"satellites":44,"speed":42,"hex_longitude":"2d9b9800","hex_latitude":"059ea620","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331089152001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377833753407389696,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7224618203095005184,"note":"Value kept but may cause issues"} 
[2026-08-11 17:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786449576000,"timestamp_ms":1786449576000,"timestamp_seconds":1786449576,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b14040"} 
[2026-08-11 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-08-11 17:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 17:30:56] 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-08-11 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-08-11 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-08-11 17:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:30:56] 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-08-11 17:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331089152001,"66":27832,"123":206,"83":17152,"24":42,"16":377833753407389696,"45":-7224618203095005184},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,45]} 
[2026-08-11 17:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331089152001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:30:56] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-11 17:30:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377833753407389696,"km_value":377833753407389.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7224618203095005184,"description":"Unknown IO ID 45"} 
[2026-08-11 17:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331089152001,"power":27832,"unknown_123":206,"unknown_83":17152,"ignition":42,"odometer":null,"unknown_45":-7224618203095005184}} 
[2026-08-11 17:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":152736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:30:56] local.INFO: GPS data processed {"connection_id":152736,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:30:56] local.INFO: Acknowledgment sent {"connection_id":152736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:31:10] local.INFO: TCP Data received {"connection_id":152362,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:31:10] local.INFO: Processing buffer {"connection_id":152362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:31:10] local.INFO: IMEI packet received {"connection_id":152362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":152362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:31:15] local.INFO: TCP Data received {"connection_id":152362,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:31:15] local.INFO: Processing buffer {"connection_id":152362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:31:15] local.INFO: IMEI packet received {"connection_id":152362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":152362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:31:16] local.INFO: TCP Data received {"connection_id":152362,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b157b0012d1822400721b4e8004800d829..."} 
[2026-08-11 17:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b157b0012d1822400721b4e8004800d829..."} 
[2026-08-11 17:31:16] local.INFO: Processing buffer {"connection_id":152362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b157b0012d1822400721b4e8004800d829..."} 
[2026-08-11 17:31:16] local.INFO: Packet analysis {"connection_id":152362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:31:16] local.INFO: Extracted packet for processing {"connection_id":152362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:31:16] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649512,"longitude_deg":75.6556352,"latitude_deg":11.9649512,"altitude":72,"angle":216,"satellites":41,"speed":1,"hex_longitude":"2d182240","hex_latitude":"0721b4e8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331089664001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743372595167232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725502464,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:16] 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-08-11 17:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786449582000,"timestamp_ms":1786449582000,"timestamp_seconds":1786449582,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b157b0"} 
[2026-08-11 17:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:31:16] 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-08-11 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-11 17:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:16] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4038063160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249386713686063280,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2954833921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3075997767,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-11 17:31:16] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3095330816,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:16] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:16] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:16] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,184,159,210,45,182,71,39,10,66,128,40,46,1,240,47,227,33,4,113,205,2,23,35,208,41,239,49,7,78,106,82,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-11 17:31:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116309255112097792,"timestamp_seconds":5116309255112098.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331089664001,"66":12515,"105":206,"83":41984,"24":1,"16":11743372595167232,"45":1739233911725502464},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331089664001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:31:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:31:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743372595167232,"km_value":11743372595167.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725502464,"description":"Unknown IO ID 45"} 
[2026-08-11 17:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331089664001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739233911725502464}} 
[2026-08-11 17:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":152362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:31:16] local.INFO: GPS data processed {"connection_id":152362,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:31:16] local.INFO: Acknowledgment sent {"connection_id":152362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:31:24] local.INFO: TCP Data received {"connection_id":155064,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:31:24] local.INFO: Processing buffer {"connection_id":155064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:31:24] local.INFO: IMEI packet received {"connection_id":155064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":155064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:31:28] local.INFO: TCP Data received {"connection_id":155064,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:31:28] local.INFO: Processing buffer {"connection_id":155064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:31:28] local.INFO: IMEI packet received {"connection_id":155064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":155064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:31:29] local.INFO: TCP Data received {"connection_id":155064,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b15f80012d9b76c0059e9a50000400fc2c..."} 
[2026-08-11 17:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b15f80012d9b76c0059e9a50000400fc2c..."} 
[2026-08-11 17:31:29] local.INFO: Processing buffer {"connection_id":155064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b15f80012d9b76c0059e9a50000400fc2c..."} 
[2026-08-11 17:31:29] local.INFO: Packet analysis {"connection_id":155064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:31:29] local.INFO: Extracted packet for processing {"connection_id":155064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:31:29] local.INFO: GPS Element Parsed {"raw_longitude":765163200,"raw_latitude":94280272,"longitude_deg":76.51632,"latitude_deg":9.4280272,"altitude":4,"angle":252,"satellites":44,"speed":47,"hex_longitude":"2d9b76c0","hex_latitude":"059e9a50","is_valid_coordinates":true} 
[2026-08-11 17:31: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-08-11 17:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331091456001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377834187199086592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7235032777234178048,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786449584000,"timestamp_ms":1786449584000,"timestamp_seconds":1786449584,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b15f80"} 
[2026-08-11 17:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:31: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:31:29] 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-08-11 17:31: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-08-11 17:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:31:29] 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-08-11 17:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331091456001,"66":27974,"123":206,"83":17152,"24":47,"16":377834187199086592,"45":-7235032777234178048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,45]} 
[2026-08-11 17:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331091456001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:31:29] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-11 17:31:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377834187199086592,"km_value":377834187199086.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7235032777234178048,"description":"Unknown IO ID 45"} 
[2026-08-11 17:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331091456001,"power":27974,"unknown_123":206,"unknown_83":17152,"ignition":47,"odometer":null,"unknown_45":-7235032777234178048}} 
[2026-08-11 17:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":155064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:31:29] local.INFO: GPS data processed {"connection_id":155064,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:31:29] local.INFO: Acknowledgment sent {"connection_id":155064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:31:31] local.INFO: TCP Data received {"connection_id":155064,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b17ec0012d9b5300059e8e28000400fa2d..."} 
[2026-08-11 17:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b17ec0012d9b5300059e8e28000400fa2d..."} 
[2026-08-11 17:31:31] local.INFO: Processing buffer {"connection_id":155064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b17ec0012d9b5300059e8e28000400fa2d..."} 
[2026-08-11 17:31:31] local.INFO: Packet analysis {"connection_id":155064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:31:31] local.INFO: Extracted packet for processing {"connection_id":155064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:31:31] local.INFO: GPS Element Parsed {"raw_longitude":765154048,"raw_latitude":94277160,"longitude_deg":76.5154048,"latitude_deg":9.427716,"altitude":4,"angle":250,"satellites":45,"speed":47,"hex_longitude":"2d9b5300","hex_latitude":"059e8e28","is_valid_coordinates":true} 
[2026-08-11 17:31: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-08-11 17:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331093504001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377834651055554560,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7244391820210581504,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786449592000,"timestamp_ms":1786449592000,"timestamp_seconds":1786449592,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b17ec0"} 
[2026-08-11 17:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:31: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 17:31:31] 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-08-11 17:31: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-08-11 17:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":155064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":155064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":155064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:31:31] 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-08-11 17:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331093504001,"66":27930,"123":206,"83":17152,"24":47,"16":377834651055554560,"45":-7244391820210581504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,45]} 
[2026-08-11 17:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331093504001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:31:31] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-11 17:31:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377834651055554560,"km_value":377834651055554.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7244391820210581504,"description":"Unknown IO ID 45"} 
[2026-08-11 17:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331093504001,"power":27930,"unknown_123":206,"unknown_83":17152,"ignition":47,"odometer":null,"unknown_45":-7244391820210581504}} 
[2026-08-11 17:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":155064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:31:31] local.INFO: GPS data processed {"connection_id":155064,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:31:31] local.INFO: Acknowledgment sent {"connection_id":155064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:31:47] local.INFO: TCP Data received {"connection_id":152362,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b1a9b8012d1822400721b4d0004800d82a..."} 
[2026-08-11 17:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b1a9b8012d1822400721b4d0004800d82a..."} 
[2026-08-11 17:31:47] local.INFO: Processing buffer {"connection_id":152362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b1a9b8012d1822400721b4d0004800d82a..."} 
[2026-08-11 17:31:47] local.INFO: Packet analysis {"connection_id":152362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:31:47] local.INFO: Extracted packet for processing {"connection_id":152362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:31:47] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":72,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331092992001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743372595167232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492885504,"note":"Value kept but may cause issues"} 
[2026-08-11 17:31:47] 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-08-11 17:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786449603000,"timestamp_ms":1786449603000,"timestamp_seconds":1786449603,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b1a9b8"} 
[2026-08-11 17:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:31:47] 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-08-11 17: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-11 17:31:47] 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-08-11 17: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-08-11 17:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331092992001,"66":12548,"105":206,"83":41984,"24":0,"16":11743372595167232,"45":1739022805492885504},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331092992001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:31:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:31:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743372595167232,"km_value":11743372595167.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492885504,"description":"Unknown IO ID 45"} 
[2026-08-11 17:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331092992001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492885504}} 
[2026-08-11 17:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":152362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:31:47] local.INFO: GPS data processed {"connection_id":152362,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:31:47] local.INFO: Acknowledgment sent {"connection_id":152362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:32:10] local.INFO: TCP Data received {"connection_id":152737,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:32:10] local.INFO: Processing buffer {"connection_id":152737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:32:10] local.INFO: IMEI packet received {"connection_id":152737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":152737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:32:15] local.INFO: TCP Data received {"connection_id":152737,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:32:15] local.INFO: Processing buffer {"connection_id":152737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:32:15] local.INFO: IMEI packet received {"connection_id":152737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":152737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:32:16] local.INFO: TCP Data received {"connection_id":155064,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b19e00012d9b2f40059e81f0000400fa2d..."} 
[2026-08-11 17:32:16] local.INFO: TCP Data received {"connection_id":152737,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b1fbc0012d1822400721b4d0004800d828..."} 
[2026-08-11 17:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b19e00012d9b2f40059e81f0000400fa2d..."} 
[2026-08-11 17:32:16] local.INFO: Processing buffer {"connection_id":155064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b19e00012d9b2f40059e81f0000400fa2d..."} 
[2026-08-11 17:32:16] local.INFO: Packet analysis {"connection_id":155064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:32:16] local.INFO: Extracted packet for processing {"connection_id":155064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:32:16] local.INFO: GPS Element Parsed {"raw_longitude":765144896,"raw_latitude":94274032,"longitude_deg":76.5144896,"latitude_deg":9.4274032,"altitude":4,"angle":250,"satellites":45,"speed":47,"hex_longitude":"2d9b2f40","hex_latitude":"059e81f0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331095552001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377835110617055232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7254454550628784128,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786449600000,"timestamp_ms":1786449600000,"timestamp_seconds":1786449600,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b19e00"} 
[2026-08-11 17:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b1fbc0012d1822400721b4d0004800d828..."} 
[2026-08-11 17:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:32:16] local.INFO: Processing buffer {"connection_id":152737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b1fbc0012d1822400721b4d0004800d828..."} 
[2026-08-11 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 17:32:16] local.INFO: Packet analysis {"connection_id":152737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:32:16] 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-08-11 17:32:16] local.INFO: Extracted packet for processing {"connection_id":152737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17: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-08-11 17:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:32:16] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":72,"angle":216,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331098368001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743372595167232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] 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-08-11 17:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786449624000,"timestamp_ms":1786449624000,"timestamp_seconds":1786449624,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b1fbc0"} 
[2026-08-11 17:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:32:16] 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-08-11 17:32: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-08-11 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 17:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4038074160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3095592960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184163541197,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2961233921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3056599111,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:16] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,184,159,87,45,64,180,72,41,10,66,36,182,71,210,1,240,47,227,33,4,113,205,46,35,152,42,239,49,2,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-11 17:32:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188384445631037440,"timestamp_seconds":5188384445631037.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331095552001,"66":27930,"123":206,"83":17152,"24":47,"16":377835110617055232,"45":-7254454550628784128},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,45]} 
[2026-08-11 17:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331098368001,"66":12548,"105":206,"83":41984,"24":0,"16":11743372595167232,"45":1739022805492879360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331095552001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:32:16] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-11 17:32:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377835110617055232,"km_value":377835110617055.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7254454550628784128,"description":"Unknown IO ID 45"} 
[2026-08-11 17:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331095552001,"power":27930,"unknown_123":206,"unknown_83":17152,"ignition":47,"odometer":null,"unknown_45":-7254454550628784128}} 
[2026-08-11 17:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331098368001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:32:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:32:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743372595167232,"km_value":11743372595167.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331098368001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-11 17:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":155064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:32:16] local.INFO: GPS data processed {"connection_id":155064,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:32:16] local.INFO: Acknowledgment sent {"connection_id":155064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":152737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:32:16] local.INFO: GPS data processed {"connection_id":152737,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:32:16] local.INFO: Acknowledgment sent {"connection_id":152737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:32:19] local.INFO: TCP Data received {"connection_id":153681,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:32:19] local.INFO: Processing buffer {"connection_id":153681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:32:19] local.INFO: IMEI packet received {"connection_id":153681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":153681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:32:20] local.INFO: TCP Data received {"connection_id":153681,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:32:20] local.INFO: Processing buffer {"connection_id":153681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:32:20] local.INFO: IMEI packet received {"connection_id":153681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":153681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:32:24] local.INFO: TCP Data received {"connection_id":153681,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:32:24] local.INFO: Processing buffer {"connection_id":153681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:32:24] local.INFO: IMEI packet received {"connection_id":153681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":153681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:32:25] local.INFO: TCP Data received {"connection_id":153681,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b1bd40012d9b0b80059e7518000400f92d..."} 
[2026-08-11 17:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b1bd40012d9b0b80059e7518000400f92d..."} 
[2026-08-11 17:32:25] local.INFO: Processing buffer {"connection_id":153681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b1bd40012d9b0b80059e7518000400f92d..."} 
[2026-08-11 17:32:25] local.INFO: Packet analysis {"connection_id":153681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:32:25] local.INFO: Extracted packet for processing {"connection_id":153681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b1"} 
[2026-08-11 17:32:25] local.INFO: GPS Element Parsed {"raw_longitude":765135744,"raw_latitude":94270744,"longitude_deg":76.5135744,"latitude_deg":9.4270744,"altitude":4,"angle":249,"satellites":45,"speed":47,"hex_longitude":"2d9b0b80","hex_latitude":"059e7518","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331097600001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377835578768490496,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7264517281046990848,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786449608000,"timestamp_ms":1786449608000,"timestamp_seconds":1786449608,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b1bd40"} 
[2026-08-11 17:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 17:32:25] 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-08-11 17: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-08-11 17:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:32:25] 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-08-11 17:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331097600001,"66":27930,"123":206,"83":17152,"24":47,"16":377835578768490496,"45":-7264517281046990848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,45]} 
[2026-08-11 17:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331097600001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:32:25] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-11 17:32:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-08-11 17:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377835578768490496,"km_value":377835578768490.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7264517281046990848,"description":"Unknown IO ID 45"} 
[2026-08-11 17:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331097600001,"power":27930,"unknown_123":206,"unknown_83":17152,"ignition":47,"odometer":null,"unknown_45":-7264517281046990848}} 
[2026-08-11 17:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":153681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:32:25] local.INFO: GPS data processed {"connection_id":153681,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:32:25] local.INFO: Acknowledgment sent {"connection_id":153681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:32:33] local.INFO: TCP Data received {"connection_id":153682,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:32:33] local.INFO: Processing buffer {"connection_id":153682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:32:33] local.INFO: IMEI packet received {"connection_id":153682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":153682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:32:38] local.INFO: TCP Data received {"connection_id":153682,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:32:38] local.INFO: Processing buffer {"connection_id":153682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:32:38] local.INFO: IMEI packet received {"connection_id":153682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":153682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:32:39] local.INFO: TCP Data received {"connection_id":153682,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b24210012d7c718005e212e80006005e22..."} 
[2026-08-11 17:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b24210012d7c718005e212e80006005e22..."} 
[2026-08-11 17:32:39] local.INFO: Processing buffer {"connection_id":153682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b24210012d7c718005e212e80006005e22..."} 
[2026-08-11 17:32:39] local.INFO: Packet analysis {"connection_id":153682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b2"} 
[2026-08-11 17:32:39] local.INFO: Extracted packet for processing {"connection_id":153682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b2"} 
[2026-08-11 17:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763130240,"raw_latitude":98702056,"longitude_deg":76.313024,"latitude_deg":9.8702056,"altitude":6,"angle":94,"satellites":34,"speed":29,"hex_longitude":"2d7c7180","hex_latitude":"05e212e8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331107328001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117706026878238720,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963781764851120128,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786449642000,"timestamp_ms":1786449642000,"timestamp_seconds":1786449642,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b24210"} 
[2026-08-11 17:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:32:39] 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-08-11 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 17:32:39] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4038190160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2986321921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:39] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-1763159224048999168,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2737569998,"corrected_to":0} 
[2026-08-11 17:32:39] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2147869170,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:39] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3422604707,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3790555136,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:39] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57881779613078451,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:39] local.WARNING: Large IO value detected {"io_id":177,"raw_value":-3120993246898192379,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,44,19,24,241,158,16,159,42,45,18,6,35,10,66,38,11,192,1,240,237,225,4,113,205,236,71,176,36,239,50,2,162,5,7,26,220,177],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2737569998,"validated":0}]} 
[2026-08-11 17:32:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432434774994911232,"timestamp_seconds":432434774994911.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331107328001,"66":13276,"44":206,"19":45824,"24":29,"16":117706026878238720,"45":8963781764851120128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-08-11 17:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331107328001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:32:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 17:32:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-11 17:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117706026878238720,"km_value":117706026878238.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963781764851120128,"description":"Unknown IO ID 45"} 
[2026-08-11 17:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331107328001,"power":13276,"unknown_44":206,"unknown_19":45824,"ignition":29,"odometer":null,"unknown_45":8963781764851120128}} 
[2026-08-11 17:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":153682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:32:39] local.INFO: GPS data processed {"connection_id":153682,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:32:39] local.INFO: Acknowledgment sent {"connection_id":153682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:32:47] local.INFO: TCP Data received {"connection_id":152737,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b24dc8012d1822400721b4d0004800d828..."} 
[2026-08-11 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b24dc8012d1822400721b4d0004800d828..."} 
[2026-08-11 17:32:47] local.INFO: Processing buffer {"connection_id":152737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b24dc8012d1822400721b4d0004800d828..."} 
[2026-08-11 17:32:47] local.INFO: Packet analysis {"connection_id":152737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b2"} 
[2026-08-11 17:32:47] local.INFO: Extracted packet for processing {"connection_id":152737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b2"} 
[2026-08-11 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":72,"angle":216,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331103744001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743372595167232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:47] 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-08-11 17:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786449645000,"timestamp_ms":1786449645000,"timestamp_seconds":1786449645,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b24dc8"} 
[2026-08-11 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-08-11 17:32:47] 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-08-11 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 17:32:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:47] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4038078160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:47] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3095658496,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2966609921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3056599111,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-11 17:32:47] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:47] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:47] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,184,159,169,45,64,180,72,42,10,66,87,41,36,1,240,14,227,33,4,113,205,128,35,48,40,239,49,2,7,71,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-11 17:32:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188384437041102848,"timestamp_seconds":5188384437041103.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 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-08-11 17:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331103744001,"66":12548,"105":206,"83":41984,"24":0,"16":11743372595167232,"45":1739022805492879360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331103744001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:32:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:32:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743372595167232,"km_value":11743372595167.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331103744001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-11 17:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":152737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:32:47] local.INFO: GPS data processed {"connection_id":152737,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:32:47] local.INFO: Acknowledgment sent {"connection_id":152737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:32:56] local.INFO: TCP Data received {"connection_id":153681,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b36708012d993c80059dced0000400fa2b..."} 
[2026-08-11 17:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b36708012d993c80059dced0000400fa2b..."} 
[2026-08-11 17:32:56] local.INFO: Processing buffer {"connection_id":153681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b36708012d993c80059dced0000400fa2b..."} 
[2026-08-11 17:32:56] local.INFO: Packet analysis {"connection_id":153681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b3"} 
[2026-08-11 17:32:56] local.INFO: Extracted packet for processing {"connection_id":153681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b3"} 
[2026-08-11 17:32:56] local.INFO: GPS Element Parsed {"raw_longitude":765017216,"raw_latitude":94228176,"longitude_deg":76.5017216,"latitude_deg":9.4228176,"altitude":4,"angle":250,"satellites":43,"speed":49,"hex_longitude":"2d993c80","hex_latitude":"059dced0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331125504001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377841608902574080,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7394558720298188800,"note":"Value kept but may cause issues"} 
[2026-08-11 17:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786449717000,"timestamp_ms":1786449717000,"timestamp_seconds":1786449717,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b36708"} 
[2026-08-11 17:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 17:32:56] 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-08-11 17: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-08-11 17:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:32:56] 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-08-11 17:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331125504001,"66":27974,"71":206,"85":14592,"24":49,"16":377841608902574080,"45":-7394558720298188800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331125504001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:32:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377841608902574080,"km_value":377841608902574.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7394558720298188800,"description":"Unknown IO ID 45"} 
[2026-08-11 17:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331125504001,"power":27974,"unknown_71":206,"unknown_85":14592,"ignition":49,"odometer":null,"unknown_45":-7394558720298188800}} 
[2026-08-11 17:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":153681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:32:56] local.INFO: GPS data processed {"connection_id":153681,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:32:56] local.INFO: Acknowledgment sent {"connection_id":153681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:33:08] local.INFO: TCP Data received {"connection_id":152363,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:33:08] local.INFO: Processing buffer {"connection_id":152363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:33:08] local.INFO: IMEI packet received {"connection_id":152363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":152363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:33:08] local.INFO: TCP Data received {"connection_id":152738,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:33:08] local.INFO: Processing buffer {"connection_id":152738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:33:08] local.INFO: IMEI packet received {"connection_id":152738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":152738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:33:10] local.INFO: TCP Data received {"connection_id":152363,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:33:10] local.INFO: Processing buffer {"connection_id":152363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:33:10] local.INFO: IMEI packet received {"connection_id":152363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":152363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:33:13] local.INFO: TCP Data received {"connection_id":152738,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:33:13] local.INFO: Processing buffer {"connection_id":152738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:33:13] local.INFO: IMEI packet received {"connection_id":152738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":152738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:33:14] local.INFO: TCP Data received {"connection_id":152738,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b441c8012d7daac005e1ff300007006328..."} 
[2026-08-11 17:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b441c8012d7daac005e1ff300007006328..."} 
[2026-08-11 17:33:14] local.INFO: Processing buffer {"connection_id":152738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b441c8012d7daac005e1ff300007006328..."} 
[2026-08-11 17:33:14] local.INFO: Packet analysis {"connection_id":152738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b4"} 
[2026-08-11 17:33:14] local.INFO: Extracted packet for processing {"connection_id":152738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b4"} 
[2026-08-11 17:33:14] local.INFO: GPS Element Parsed {"raw_longitude":763210432,"raw_latitude":98697008,"longitude_deg":76.3210432,"latitude_deg":9.8697008,"altitude":7,"angle":99,"satellites":40,"speed":35,"hex_longitude":"2d7daac0","hex_latitude":"05e1ff30","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331138560001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117709896643772416,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9045057664375230464,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786449773000,"timestamp_ms":1786449773000,"timestamp_seconds":1786449773,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b441c8"} 
[2026-08-11 17:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:33:14] 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-08-11 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 17:33:14] 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-08-11 17: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-08-11 17:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331138560001,"66":13298,"61":206,"85":15104,"24":35,"16":117709896643772416,"45":9045057664375230464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-11 17:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331138560001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:33:14] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-11 17:33:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117709896643772416,"km_value":117709896643772.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9045057664375230464,"description":"Unknown IO ID 45"} 
[2026-08-11 17:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331138560001,"power":13298,"unknown_61":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9045057664375230464}} 
[2026-08-11 17:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":152738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:33:14] local.INFO: GPS data processed {"connection_id":152738,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:33:14] local.INFO: Acknowledgment sent {"connection_id":152738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:33:15] local.INFO: TCP Data received {"connection_id":152363,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:33:15] local.INFO: Processing buffer {"connection_id":152363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:33:15] local.INFO: IMEI packet received {"connection_id":152363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":152363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:33:16] local.INFO: TCP Data received {"connection_id":152363,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b29fd0012d1822400721b4d0004800d829..."} 
[2026-08-11 17:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b29fd0012d1822400721b4d0004800d829..."} 
[2026-08-11 17:33:16] local.INFO: Processing buffer {"connection_id":152363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b29fd0012d1822400721b4d0004800d829..."} 
[2026-08-11 17:33:16] local.INFO: Packet analysis {"connection_id":152363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b2"} 
[2026-08-11 17:33:16] local.INFO: Extracted packet for processing {"connection_id":152363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b2"} 
[2026-08-11 17:33:16] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":72,"angle":216,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331109120001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743372595167232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:16] 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-08-11 17:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786449666000,"timestamp_ms":1786449666000,"timestamp_seconds":1786449666,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b29fd0"} 
[2026-08-11 17:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:33:16] 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-08-11 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 17:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:16] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2298478592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4038099160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2971985921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3056599111,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-11 17:33:16] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:16] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3095658496,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:16] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:16] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,184,159,251,45,64,180,72,40,10,66,169,42,87,1,240,227,33,4,113,205,210,35,48,39,239,49,2,41,7,71,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-11 17:33:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188384437041102848,"timestamp_seconds":5188384437041103.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331109120001,"66":12548,"105":206,"83":41984,"24":0,"16":11743372595167232,"45":1739022805492879360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331109120001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:33:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:33:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743372595167232,"km_value":11743372595167.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331109120001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-11 17:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":152363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:33:16] local.INFO: GPS data processed {"connection_id":152363,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:33:16] local.INFO: Acknowledgment sent {"connection_id":152363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:33:19] local.INFO: TCP Data received {"connection_id":152739,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:33:19] local.INFO: Processing buffer {"connection_id":152739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:33:19] local.INFO: IMEI packet received {"connection_id":152739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":152739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:33:23] local.INFO: TCP Data received {"connection_id":152739,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:33:23] local.INFO: Processing buffer {"connection_id":152739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:33:23] local.INFO: IMEI packet received {"connection_id":152739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":152739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:33:24] local.INFO: TCP Data received {"connection_id":152739,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b38648012d991800059dc1e0000400fa2c..."} 
[2026-08-11 17:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b38648012d991800059dc1e0000400fa2c..."} 
[2026-08-11 17:33:24] local.INFO: Processing buffer {"connection_id":152739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b38648012d991800059dc1e0000400fa2c..."} 
[2026-08-11 17:33:24] local.INFO: Packet analysis {"connection_id":152739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b3"} 
[2026-08-11 17:33:24] local.INFO: Extracted packet for processing {"connection_id":152739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b3"} 
[2026-08-11 17:33:24] local.INFO: GPS Element Parsed {"raw_longitude":765007872,"raw_latitude":94224864,"longitude_deg":76.5007872,"latitude_deg":9.4224864,"altitude":4,"angle":250,"satellites":44,"speed":48,"hex_longitude":"2d991800","hex_latitude":"059dc1e0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331127552001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377842085643943936,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7404902925693169664,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786449725000,"timestamp_ms":1786449725000,"timestamp_seconds":1786449725,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b38648"} 
[2026-08-11 17:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 17:33:24] 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-08-11 17: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-08-11 17:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:33:24] 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-08-11 17:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331127552001,"66":27984,"71":206,"85":14592,"24":48,"16":377842085643943936,"45":-7404902925693169664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331127552001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:33:24] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:33:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377842085643943936,"km_value":377842085643943.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7404902925693169664,"description":"Unknown IO ID 45"} 
[2026-08-11 17:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331127552001,"power":27984,"unknown_71":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-7404902925693169664}} 
[2026-08-11 17:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":152739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:33:24] local.INFO: GPS data processed {"connection_id":152739,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:33:24] local.INFO: Acknowledgment sent {"connection_id":152739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:33:45] local.INFO: TCP Data received {"connection_id":152738,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b45d20012d7dc50005e1fd300005005327..."} 
[2026-08-11 17:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b45d20012d7dc50005e1fd300005005327..."} 
[2026-08-11 17:33:45] local.INFO: Processing buffer {"connection_id":152738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b45d20012d7dc50005e1fd300005005327..."} 
[2026-08-11 17:33:45] local.INFO: Packet analysis {"connection_id":152738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b4"} 
[2026-08-11 17:33:45] local.INFO: Extracted packet for processing {"connection_id":152738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b4"} 
[2026-08-11 17:33:45] local.INFO: GPS Element Parsed {"raw_longitude":763217152,"raw_latitude":98696496,"longitude_deg":76.3217152,"latitude_deg":9.8696496,"altitude":5,"angle":83,"satellites":39,"speed":37,"hex_longitude":"2d7dc500","hex_latitude":"05e1fd30","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331141888001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117710218766319616,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9055261132280770560,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786449780000,"timestamp_ms":1786449780000,"timestamp_seconds":1786449780,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b45d20"} 
[2026-08-11 17:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:33:45] 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-08-11 17: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-11 17:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17: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-08-11 17:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331141888001,"66":13254,"61":206,"85":15104,"24":37,"16":117710218766319616,"45":9055261132280770560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-11 17:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331141888001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:33:45] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-11 17:33:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117710218766319616,"km_value":117710218766319.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9055261132280770560,"description":"Unknown IO ID 45"} 
[2026-08-11 17:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331141888001,"power":13254,"unknown_61":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9055261132280770560}} 
[2026-08-11 17:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":152738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:33:45] local.INFO: GPS data processed {"connection_id":152738,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:33:45] local.INFO: Acknowledgment sent {"connection_id":152738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:33:47] local.INFO: TCP Data received {"connection_id":152363,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b2f1d8012d1822400721b4d0004800d829..."} 
[2026-08-11 17:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b2f1d8012d1822400721b4d0004800d829..."} 
[2026-08-11 17:33:47] local.INFO: Processing buffer {"connection_id":152363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b2f1d8012d1822400721b4d0004800d829..."} 
[2026-08-11 17:33:47] local.INFO: Packet analysis {"connection_id":152363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b2"} 
[2026-08-11 17:33:47] local.INFO: Extracted packet for processing {"connection_id":152363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b2"} 
[2026-08-11 17:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":72,"angle":216,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331114496001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743372595167232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:47] 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-08-11 17:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786449687000,"timestamp_ms":1786449687000,"timestamp_seconds":1786449687,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b2f1d8"} 
[2026-08-11 17:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:33:47] 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-08-11 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 17:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:47] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2298478592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4038120160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2975313921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3035103304,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-11 17:33:47] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:47] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3095658496,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:47] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:47] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,184,159,77,45,64,180,72,40,10,66,251,169,1,240,4,227,33,113,205,36,35,48,41,239,49,2,7,71,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-11 17:33:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188384441336070144,"timestamp_seconds":5188384441336070.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331114496001,"66":12526,"105":206,"83":41984,"24":0,"16":11743372595167232,"45":1739022805492879360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331114496001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:33:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743372595167232,"km_value":11743372595167.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331114496001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-11 17:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":152363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:33:47] local.INFO: GPS data processed {"connection_id":152363,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:33:47] local.INFO: Acknowledgment sent {"connection_id":152363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:33:55] local.INFO: TCP Data received {"connection_id":152739,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b3a588012d98f440059db518000500f92c..."} 
[2026-08-11 17:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b3a588012d98f440059db518000500f92c..."} 
[2026-08-11 17:33:55] local.INFO: Processing buffer {"connection_id":152739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b3a588012d98f440059db518000500f92c..."} 
[2026-08-11 17:33:55] local.INFO: Packet analysis {"connection_id":152739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b3"} 
[2026-08-11 17:33:55] local.INFO: Extracted packet for processing {"connection_id":152739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b3"} 
[2026-08-11 17:33:55] local.INFO: GPS Element Parsed {"raw_longitude":764998720,"raw_latitude":94221592,"longitude_deg":76.499872,"latitude_deg":9.4221592,"altitude":5,"angle":249,"satellites":44,"speed":47,"hex_longitude":"2d98f440","hex_latitude":"059db518","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331129600001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377842549500411904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7415176762343956480,"note":"Value kept but may cause issues"} 
[2026-08-11 17:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786449733000,"timestamp_ms":1786449733000,"timestamp_seconds":1786449733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b3a588"} 
[2026-08-11 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-08-11 17:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 17:33: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-08-11 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-08-11 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-08-11 17:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:33:55] 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-08-11 17:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331129600001,"66":27865,"71":206,"85":14592,"24":47,"16":377842549500411904,"45":-7415176762343956480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331129600001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:33:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377842549500411904,"km_value":377842549500411.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7415176762343956480,"description":"Unknown IO ID 45"} 
[2026-08-11 17:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331129600001,"power":27865,"unknown_71":206,"unknown_85":14592,"ignition":47,"odometer":null,"unknown_45":-7415176762343956480}} 
[2026-08-11 17:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":152739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:33:55] local.INFO: GPS data processed {"connection_id":152739,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:33:55] local.INFO: Acknowledgment sent {"connection_id":152739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:34:08] local.INFO: TCP Data received {"connection_id":152741,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:34:08] local.INFO: Processing buffer {"connection_id":152741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:34:08] local.INFO: IMEI packet received {"connection_id":152741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":152741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:34:10] local.INFO: TCP Data received {"connection_id":152740,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:34:10] local.INFO: Processing buffer {"connection_id":152740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:34:10] local.INFO: IMEI packet received {"connection_id":152740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":152740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:34:11] local.INFO: TCP Data received {"connection_id":152740,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:34:11] local.INFO: Processing buffer {"connection_id":152740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:34:11] local.INFO: IMEI packet received {"connection_id":152740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":152740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:34:14] local.INFO: TCP Data received {"connection_id":152741,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:34:14] local.INFO: Processing buffer {"connection_id":152741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:34:14] local.INFO: IMEI packet received {"connection_id":152741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":152741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:34:15] local.INFO: TCP Data received {"connection_id":152741,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b468d8012d7dd00005e1fff80004004727..."} 
[2026-08-11 17:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b468d8012d7dd00005e1fff80004004727..."} 
[2026-08-11 17:34:15] local.INFO: Processing buffer {"connection_id":152741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b468d8012d7dd00005e1fff80004004727..."} 
[2026-08-11 17:34:15] local.INFO: Packet analysis {"connection_id":152741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b4"} 
[2026-08-11 17:34:15] local.INFO: Extracted packet for processing {"connection_id":152741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b4"} 
[2026-08-11 17:34:15] local.INFO: GPS Element Parsed {"raw_longitude":763219968,"raw_latitude":98697208,"longitude_deg":76.3219968,"latitude_deg":9.8697208,"altitude":4,"angle":71,"satellites":39,"speed":38,"hex_longitude":"2d7dd000","hex_latitude":"05e1fff8","is_valid_coordinates":true} 
[2026-08-11 17:34: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-08-11 17:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331143680001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117710356205273088,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062649850419294208,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786449783000,"timestamp_ms":1786449783000,"timestamp_seconds":1786449783,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b468d8"} 
[2026-08-11 17:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:34:15] 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-08-11 17:34: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":198,"data_length":795,"current_offset":136} 
[2026-08-11 17:34:15] 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-08-11 17:34: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-08-11 17:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331143680001,"66":13243,"61":206,"85":15104,"24":38,"16":117710356205273088,"45":9062649850419294208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-11 17:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331143680001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:34:15] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-11 17:34:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117710356205273088,"km_value":117710356205273.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062649850419294208,"description":"Unknown IO ID 45"} 
[2026-08-11 17:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331143680001,"power":13243,"unknown_61":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9062649850419294208}} 
[2026-08-11 17:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":152741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:34:15] local.INFO: GPS data processed {"connection_id":152741,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:34:15] local.INFO: Acknowledgment sent {"connection_id":152741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:34:15] local.INFO: TCP Data received {"connection_id":152740,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:34:15] local.INFO: Processing buffer {"connection_id":152740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:34:15] local.INFO: IMEI packet received {"connection_id":152740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":152740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:34:16] local.INFO: TCP Data received {"connection_id":152740,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b343e0012d1822400721b4d0004800d823..."} 
[2026-08-11 17:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b343e0012d1822400721b4d0004800d823..."} 
[2026-08-11 17:34:16] local.INFO: Processing buffer {"connection_id":152740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b343e0012d1822400721b4d0004800d823..."} 
[2026-08-11 17:34:16] local.INFO: Packet analysis {"connection_id":152740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b3"} 
[2026-08-11 17:34:16] local.INFO: Extracted packet for processing {"connection_id":152740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b3"} 
[2026-08-11 17:34:16] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":72,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331119872001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743372595167232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:16] 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-08-11 17:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786449708000,"timestamp_ms":1786449708000,"timestamp_seconds":1786449708,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b343e0"} 
[2026-08-11 17:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:34:16] 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-08-11 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 17:34: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-08-11 17: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-08-11 17:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331119872001,"66":12537,"105":206,"83":41984,"24":0,"16":11743372595167232,"45":1739022805492879360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331119872001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:34:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:34:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743372595167232,"km_value":11743372595167.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331119872001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-11 17:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":152740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:34:16] local.INFO: GPS data processed {"connection_id":152740,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:34:16] local.INFO: Acknowledgment sent {"connection_id":152740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:34:19] local.INFO: TCP Data received {"connection_id":152742,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:34:19] local.INFO: Processing buffer {"connection_id":152742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:34:19] local.INFO: IMEI packet received {"connection_id":152742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":152742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:34:23] local.INFO: TCP Data received {"connection_id":152742,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:34:23] local.INFO: Processing buffer {"connection_id":152742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:34:23] local.INFO: IMEI packet received {"connection_id":152742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":152742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:34:24] local.INFO: TCP Data received {"connection_id":152742,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:34:24] local.INFO: Processing buffer {"connection_id":152742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:34:24] local.INFO: IMEI packet received {"connection_id":152742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":152742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:34:24] local.INFO: TCP Data received {"connection_id":152742,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b3c4c8012d98d140059da8c0000500fa2d..."} 
[2026-08-11 17:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b3c4c8012d98d140059da8c0000500fa2d..."} 
[2026-08-11 17:34:24] local.INFO: Processing buffer {"connection_id":152742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b3c4c8012d98d140059da8c0000500fa2d..."} 
[2026-08-11 17:34:24] local.INFO: Packet analysis {"connection_id":152742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b3"} 
[2026-08-11 17:34:24] local.INFO: Extracted packet for processing {"connection_id":152742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b3"} 
[2026-08-11 17:34:24] local.INFO: GPS Element Parsed {"raw_longitude":764989760,"raw_latitude":94218432,"longitude_deg":76.498976,"latitude_deg":9.4218432,"altitude":5,"angle":250,"satellites":45,"speed":46,"hex_longitude":"2d98d140","hex_latitude":"059da8c0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331131648001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377843004766945280,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7425239492762200064,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786449741000,"timestamp_ms":1786449741000,"timestamp_seconds":1786449741,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b3c4c8"} 
[2026-08-11 17:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 17:34:24] 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-08-11 17: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-08-11 17:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:34:24] 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-08-11 17:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331131648001,"66":27821,"71":206,"85":14592,"24":46,"16":377843004766945280,"45":-7425239492762200064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331131648001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:34:24] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:34:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377843004766945280,"km_value":377843004766945.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7425239492762200064,"description":"Unknown IO ID 45"} 
[2026-08-11 17:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331131648001,"power":27821,"unknown_71":206,"unknown_85":14592,"ignition":46,"odometer":null,"unknown_45":-7425239492762200064}} 
[2026-08-11 17:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":152742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:34:24] local.INFO: GPS data processed {"connection_id":152742,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:34:24] local.INFO: Acknowledgment sent {"connection_id":152742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:34:29] local.INFO: TCP Data received {"connection_id":152742,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b3e408012d98ae80059d9c50000500fb2c..."} 
[2026-08-11 17:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b3e408012d98ae80059d9c50000500fb2c..."} 
[2026-08-11 17:34:29] local.INFO: Processing buffer {"connection_id":152742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b3e408012d98ae80059d9c50000500fb2c..."} 
[2026-08-11 17:34:29] local.INFO: Packet analysis {"connection_id":152742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b3"} 
[2026-08-11 17:34:29] local.INFO: Extracted packet for processing {"connection_id":152742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b3"} 
[2026-08-11 17:34:29] local.INFO: GPS Element Parsed {"raw_longitude":764980864,"raw_latitude":94215248,"longitude_deg":76.4980864,"latitude_deg":9.4215248,"altitude":5,"angle":251,"satellites":44,"speed":46,"hex_longitude":"2d98ae80","hex_latitude":"059d9c50","is_valid_coordinates":true} 
[2026-08-11 17:34: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-08-11 17:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331133696001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377843460033478656,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7435091116947881984,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786449749000,"timestamp_ms":1786449749000,"timestamp_seconds":1786449749,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b3e408"} 
[2026-08-11 17:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:34: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 17:34:29] 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-08-11 17:34: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-08-11 17:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:34:29] 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-08-11 17:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331133696001,"66":27843,"72":206,"85":14592,"24":46,"16":377843460033478656,"45":-7435091116947881984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,45]} 
[2026-08-11 17:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331133696001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:34:29] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-11 17:34:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377843460033478656,"km_value":377843460033478.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7435091116947881984,"description":"Unknown IO ID 45"} 
[2026-08-11 17:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331133696001,"power":27843,"unknown_72":206,"unknown_85":14592,"ignition":46,"odometer":null,"unknown_45":-7435091116947881984}} 
[2026-08-11 17:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":152742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:34:29] local.INFO: GPS data processed {"connection_id":152742,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:34:29] local.INFO: Acknowledgment sent {"connection_id":152742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:34:45] local.INFO: TCP Data received {"connection_id":152741,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b595a0012d7e1cc005e1a9f8000700c826..."} 
[2026-08-11 17:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b595a0012d7e1cc005e1a9f8000700c826..."} 
[2026-08-11 17:34:45] local.INFO: Processing buffer {"connection_id":152741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b595a0012d7e1cc005e1a9f8000700c826..."} 
[2026-08-11 17:34:45] local.INFO: Packet analysis {"connection_id":152741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:34:45] local.INFO: Extracted packet for processing {"connection_id":152741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:34:45] local.INFO: GPS Element Parsed {"raw_longitude":763239616,"raw_latitude":98675192,"longitude_deg":76.3239616,"latitude_deg":9.8675192,"altitude":7,"angle":200,"satellites":38,"speed":36,"hex_longitude":"2d7e1cc0","hex_latitude":"05e1a9f8","is_valid_coordinates":true} 
[2026-08-11 17:34: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-08-11 17:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331163136001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117712808631599104,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089530710690498560,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786449860000,"timestamp_ms":1786449860000,"timestamp_seconds":1786449860,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b595a0"} 
[2026-08-11 17:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:34:45] 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-08-11 17:34: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-11 17:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:34: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-08-11 17:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331163136001,"66":13243,"61":206,"85":15104,"24":36,"16":117712808631599104,"45":9089530710690498560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-11 17:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331163136001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:34:45] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-11 17:34:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117712808631599104,"km_value":117712808631599.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089530710690498560,"description":"Unknown IO ID 45"} 
[2026-08-11 17:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331163136001,"power":13243,"unknown_61":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9089530710690498560}} 
[2026-08-11 17:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":152741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:34:46] local.INFO: GPS data processed {"connection_id":152741,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:34:46] local.INFO: Acknowledgment sent {"connection_id":152741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:34:47] local.INFO: TCP Data received {"connection_id":152740,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b395e8012d1822400721b4d0004800d827..."} 
[2026-08-11 17:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b395e8012d1822400721b4d0004800d827..."} 
[2026-08-11 17:34:47] local.INFO: Processing buffer {"connection_id":152740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b395e8012d1822400721b4d0004800d827..."} 
[2026-08-11 17:34:47] local.INFO: Packet analysis {"connection_id":152740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b3"} 
[2026-08-11 17:34:47] local.INFO: Extracted packet for processing {"connection_id":152740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b3"} 
[2026-08-11 17:34:47] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":72,"angle":216,"satellites":39,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-11 17:34: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-08-11 17:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331125248001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743372595167232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:34:47] 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-08-11 17:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786449729000,"timestamp_ms":1786449729000,"timestamp_seconds":1786449729,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b395e8"} 
[2026-08-11 17:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:34:47] 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-08-11 17:34: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-11 17:34:47] 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-08-11 17:34: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-08-11 17:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331125248001,"66":12526,"105":206,"83":41984,"24":0,"16":11743372595167232,"45":1739022805492879360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331125248001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:34:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:34:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743372595167232,"km_value":11743372595167.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331125248001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-11 17:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":152740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:34:47] local.INFO: GPS data processed {"connection_id":152740,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:34:47] local.INFO: Acknowledgment sent {"connection_id":152740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:35:01] local.INFO: TCP Data received {"connection_id":152742,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b562d8012d971540059d0f20000501092a..."} 
[2026-08-11 17:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b562d8012d971540059d0f20000501092a..."} 
[2026-08-11 17:35:01] local.INFO: Processing buffer {"connection_id":152742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b562d8012d971540059d0f20000501092a..."} 
[2026-08-11 17:35:01] local.INFO: Packet analysis {"connection_id":152742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:35:01] local.INFO: Extracted packet for processing {"connection_id":152742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:35:01] local.INFO: GPS Element Parsed {"raw_longitude":764876096,"raw_latitude":94179104,"longitude_deg":76.4876096,"latitude_deg":9.4179104,"altitude":5,"angle":265,"satellites":42,"speed":44,"hex_longitude":"2d971540","hex_latitude":"059d0f20","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331159296001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377848768613056512,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7552818025966813184,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786449847000,"timestamp_ms":1786449847000,"timestamp_seconds":1786449847,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b562d8"} 
[2026-08-11 17:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 17:35:01] 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-08-11 17: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-08-11 17:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:35:01] 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-08-11 17:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331159296001,"66":27930,"98":206,"85":14592,"24":44,"16":377848768613056512,"45":-7552818025966813184},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-11 17:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331159296001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:35:01] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 17:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377848768613056512,"km_value":377848768613056.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7552818025966813184,"description":"Unknown IO ID 45"} 
[2026-08-11 17:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331159296001,"power":27930,"unknown_98":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-7552818025966813184}} 
[2026-08-11 17:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":152742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:35:01] local.INFO: GPS data processed {"connection_id":152742,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:35:01] local.INFO: Acknowledgment sent {"connection_id":152742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:35:10] local.INFO: TCP Data received {"connection_id":152364,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:35:10] local.INFO: Processing buffer {"connection_id":152364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:35:10] local.INFO: IMEI packet received {"connection_id":152364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":152364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:35:10] local.INFO: TCP Data received {"connection_id":152364,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:35:10] local.INFO: Processing buffer {"connection_id":152364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:35:10] local.INFO: IMEI packet received {"connection_id":152364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":152364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:35:13] local.INFO: TCP Data received {"connection_id":152365,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:35:13] local.INFO: Processing buffer {"connection_id":152365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:35:13] local.INFO: IMEI packet received {"connection_id":152365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":152365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:35:15] local.INFO: TCP Data received {"connection_id":152364,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:35:15] local.INFO: Processing buffer {"connection_id":152364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:35:15] local.INFO: IMEI packet received {"connection_id":152364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":152364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:35:15] local.INFO: TCP Data received {"connection_id":152365,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:35:15] local.INFO: Processing buffer {"connection_id":152365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:35:15] local.INFO: IMEI packet received {"connection_id":152365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":152365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:35:16] local.INFO: TCP Data received {"connection_id":152364,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b3e7f0012d1822400721b4d0004800d828..."} 
[2026-08-11 17:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b3e7f0012d1822400721b4d0004800d828..."} 
[2026-08-11 17:35:16] local.INFO: Processing buffer {"connection_id":152364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b3e7f0012d1822400721b4d0004800d828..."} 
[2026-08-11 17:35:16] local.INFO: Packet analysis {"connection_id":152364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b3"} 
[2026-08-11 17:35:16] local.INFO: Extracted packet for processing {"connection_id":152364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b3"} 
[2026-08-11 17:35:16] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":72,"angle":216,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331130624001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743372595167232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:16] 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-08-11 17:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786449750000,"timestamp_ms":1786449750000,"timestamp_seconds":1786449750,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b3e7f0"} 
[2026-08-11 17:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:35:16] 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-08-11 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 17:35: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-08-11 17: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-08-11 17:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331130624001,"66":12232,"105":206,"83":41984,"24":0,"16":11743372595167232,"45":1739022805492879360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331130624001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:35:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:35:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743372595167232,"km_value":11743372595167.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331130624001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-11 17:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":152364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:35:16] local.INFO: GPS data processed {"connection_id":152364,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:35:16] local.INFO: Acknowledgment sent {"connection_id":152364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:35:16] local.INFO: TCP Data received {"connection_id":152365,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:35:16] local.INFO: Processing buffer {"connection_id":152365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:35:16] local.INFO: IMEI packet received {"connection_id":152365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":152365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:35:17] local.INFO: TCP Data received {"connection_id":152365,"ip":"42.106.6.35","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019ff0..."} 
[2026-08-11 17:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152365,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019ff0..."} 
[2026-08-11 17:35:17] local.INFO: Processing buffer {"connection_id":152365,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019ff0..."} 
[2026-08-11 17:35:17] local.INFO: IMEI packet received {"connection_id":152365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":152365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:35:18] local.INFO: TCP Data received {"connection_id":152365,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b5ef78012d7e19c005e18f98000600b826..."} 
[2026-08-11 17:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b5ef78012d7e19c005e18f98000600b826..."} 
[2026-08-11 17:35:18] local.INFO: Processing buffer {"connection_id":152365,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ff0b59d70012d7e1b4005e1a388000600ba26..."} 
[2026-08-11 17:35:18] local.INFO: Packet analysis {"connection_id":152365,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:35:18] local.INFO: Extracted packet for processing {"connection_id":152365,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:35:18] local.INFO: GPS Element Parsed {"raw_longitude":763239232,"raw_latitude":98673544,"longitude_deg":76.3239232,"latitude_deg":9.8673544,"altitude":6,"angle":186,"satellites":38,"speed":30,"hex_longitude":"2d7e1b40","hex_latitude":"05e1a388","is_valid_coordinates":true} 
[2026-08-11 17:35: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-08-11 17:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331164160001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117712890235977728,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087349279620200448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786449862000,"timestamp_ms":1786449862000,"timestamp_seconds":1786449862,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b59d70"} 
[2026-08-11 17:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:35:18] 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-08-11 17:35: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 17:35:18] 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-08-11 17:35: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-08-11 17:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331164160001,"66":13189,"61":206,"85":15104,"24":30,"16":117712890235977728,"45":9087349279620200448},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-11 17:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331164160001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:35:18] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-11 17:35:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117712890235977728,"km_value":117712890235977.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087349279620200448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331164160001,"power":13189,"unknown_61":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9087349279620200448}} 
[2026-08-11 17:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":152365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:35:18] local.INFO: GPS data processed {"connection_id":152365,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:35:18] local.INFO: Acknowledgment sent {"connection_id":152365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:35:18] local.INFO: Packet analysis {"connection_id":152365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:35:18] local.INFO: Extracted packet for processing {"connection_id":152365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:35:18] local.INFO: GPS Element Parsed {"raw_longitude":763238848,"raw_latitude":98668440,"longitude_deg":76.3238848,"latitude_deg":9.866844,"altitude":6,"angle":184,"satellites":38,"speed":20,"hex_longitude":"2d7e19c0","hex_latitude":"05e18f98","is_valid_coordinates":true} 
[2026-08-11 17:35: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-08-11 17:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331164672001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117713139344080896,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086927067154712576,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786449883000,"timestamp_ms":1786449883000,"timestamp_seconds":1786449883,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b5ef78"} 
[2026-08-11 17:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:35:18] 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-08-11 17:35: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 17:35:18] 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-08-11 17:35: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-08-11 17:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331164672001,"66":13319,"61":206,"85":15104,"24":20,"16":117713139344080896,"45":9086927067154712576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-11 17:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331164672001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:35:18] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-11 17:35:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117713139344080896,"km_value":117713139344080.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086927067154712576,"description":"Unknown IO ID 45"} 
[2026-08-11 17:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331164672001,"power":13319,"unknown_61":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9086927067154712576}} 
[2026-08-11 17:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":152365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:35:19] local.INFO: GPS data processed {"connection_id":152365,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:35:19] local.INFO: Acknowledgment sent {"connection_id":152365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:35:19] local.INFO: TCP Data received {"connection_id":153683,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:35:19] local.INFO: Processing buffer {"connection_id":153683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:35:19] local.INFO: IMEI packet received {"connection_id":153683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":153683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:35:19] local.INFO: TCP Data received {"connection_id":152365,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b62240012d7e188005e16a70000300ad22..."} 
[2026-08-11 17:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b62240012d7e188005e16a70000300ad22..."} 
[2026-08-11 17:35:19] local.INFO: Processing buffer {"connection_id":152365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b62240012d7e188005e16a70000300ad22..."} 
[2026-08-11 17:35:19] local.INFO: Packet analysis {"connection_id":152365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b6"} 
[2026-08-11 17:35:19] local.INFO: Extracted packet for processing {"connection_id":152365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b6"} 
[2026-08-11 17:35:19] local.INFO: GPS Element Parsed {"raw_longitude":763238528,"raw_latitude":98658928,"longitude_deg":76.3238528,"latitude_deg":9.8658928,"altitude":3,"angle":173,"satellites":34,"speed":37,"hex_longitude":"2d7e1880","hex_latitude":"05e16a70","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331170048001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117713603200548864,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086504854688339968,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786449896000,"timestamp_ms":1786449896000,"timestamp_seconds":1786449896,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b62240"} 
[2026-08-11 17:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:35:19] 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-08-11 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 17:35:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:19] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57886250674050363,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4038416160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3044945921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:19] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3159883782,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-08-11 17:35:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3789494272,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:19] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3181794431639289861,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:19] local.WARNING: Large IO value detected {"io_id":226,"raw_value":240942618730833408,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:19] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,61,85,24,241,157,16,51,159,45,64,163,6,38,10,66,149,192,169,7,134,128,1,240,242,227,225,4,113,205,36,126,40,88,39,239,2,162,5,33,181,226],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-08-11 17:35:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432548037577146368,"timestamp_seconds":432548037577146.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331170048001,"66":13015,"61":206,"85":15104,"24":37,"16":117713603200548864,"45":9086504854688339968},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-11 17:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331170048001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:35:19] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-11 17:35:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117713603200548864,"km_value":117713603200548.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086504854688339968,"description":"Unknown IO ID 45"} 
[2026-08-11 17:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331170048001,"power":13015,"unknown_61":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9086504854688339968}} 
[2026-08-11 17:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":152365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:35:19] local.INFO: GPS data processed {"connection_id":152365,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:35:19] local.INFO: Acknowledgment sent {"connection_id":152365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:35:24] local.INFO: TCP Data received {"connection_id":153683,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:35:24] local.INFO: Processing buffer {"connection_id":153683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:35:24] local.INFO: IMEI packet received {"connection_id":153683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":153683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:35:25] local.INFO: TCP Data received {"connection_id":153683,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b57278012d9703c0059d1008000401152a..."} 
[2026-08-11 17:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b57278012d9703c0059d1008000401152a..."} 
[2026-08-11 17:35:25] local.INFO: Processing buffer {"connection_id":153683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b57278012d9703c0059d1008000401152a..."} 
[2026-08-11 17:35:25] local.INFO: Packet analysis {"connection_id":153683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:35:25] local.INFO: Extracted packet for processing {"connection_id":153683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:35:25] local.INFO: GPS Element Parsed {"raw_longitude":764871616,"raw_latitude":94179336,"longitude_deg":76.4871616,"latitude_deg":9.4179336,"altitude":4,"angle":277,"satellites":42,"speed":44,"hex_longitude":"2d9703c0","hex_latitude":"059d1008","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331160832001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377848983361421312,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7560066006617481216,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786449851000,"timestamp_ms":1786449851000,"timestamp_seconds":1786449851,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b57278"} 
[2026-08-11 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-08-11 17:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 17:35:25] 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-08-11 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-08-11 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-08-11 17:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:35:25] 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-08-11 17:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331160832001,"66":27865,"98":206,"85":14592,"24":44,"16":377848983361421312,"45":-7560066006617481216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-11 17:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331160832001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:35:25] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 17:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377848983361421312,"km_value":377848983361421.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7560066006617481216,"description":"Unknown IO ID 45"} 
[2026-08-11 17:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331160832001,"power":27865,"unknown_98":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-7560066006617481216}} 
[2026-08-11 17:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":153683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:35:25] local.INFO: GPS data processed {"connection_id":153683,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:35:25] local.INFO: Acknowledgment sent {"connection_id":153683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:35:47] local.INFO: TCP Data received {"connection_id":152364,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b439f8012d1822400721b4d0004800d827..."} 
[2026-08-11 17:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b439f8012d1822400721b4d0004800d827..."} 
[2026-08-11 17:35:47] local.INFO: Processing buffer {"connection_id":152364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b439f8012d1822400721b4d0004800d827..."} 
[2026-08-11 17:35:47] local.INFO: Packet analysis {"connection_id":152364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b4"} 
[2026-08-11 17:35:47] local.INFO: Extracted packet for processing {"connection_id":152364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b4"} 
[2026-08-11 17:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":72,"angle":216,"satellites":39,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331136000001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743372595167232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:47] 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-08-11 17:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786449771000,"timestamp_ms":1786449771000,"timestamp_seconds":1786449771,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b439f8"} 
[2026-08-11 17:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:35:47] 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-08-11 17: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 17:35:47] 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-08-11 17: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-08-11 17:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331136000001,"66":12526,"105":206,"83":41984,"24":0,"16":11743372595167232,"45":1739022805492879360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331136000001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:35:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743372595167232,"km_value":11743372595167.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331136000001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-11 17:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":152364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:35:47] local.INFO: GPS data processed {"connection_id":152364,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:35:47] local.INFO: Acknowledgment sent {"connection_id":152364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:35:50] local.INFO: TCP Data received {"connection_id":152365,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b62240012d7e188005e16a70000300ad22..."} 
[2026-08-11 17:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b62240012d7e188005e16a70000300ad22..."} 
[2026-08-11 17:35:50] local.INFO: Processing buffer {"connection_id":152365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b62240012d7e188005e16a70000300ad22..."} 
[2026-08-11 17:35:50] local.INFO: Packet analysis {"connection_id":152365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b6"} 
[2026-08-11 17:35:50] local.INFO: Extracted packet for processing {"connection_id":152365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b6"} 
[2026-08-11 17:35:50] local.INFO: GPS Element Parsed {"raw_longitude":763238528,"raw_latitude":98658928,"longitude_deg":76.3238528,"latitude_deg":9.8658928,"altitude":3,"angle":173,"satellites":34,"speed":37,"hex_longitude":"2d7e1880","hex_latitude":"05e16a70","is_valid_coordinates":true} 
[2026-08-11 17:35: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-08-11 17:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331173376001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117713603200548864,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086153010965016576,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786449896000,"timestamp_ms":1786449896000,"timestamp_seconds":1786449896,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b62240"} 
[2026-08-11 17:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:35:50] 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-08-11 17:35: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-11 17:35:50] 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-08-11 17:35: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-08-11 17:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331173376001,"66":13015,"61":206,"85":15104,"24":37,"16":117713603200548864,"45":9086153010965016576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-11 17:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331173376001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:35:50] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-11 17:35:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117713603200548864,"km_value":117713603200548.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086153010965016576,"description":"Unknown IO ID 45"} 
[2026-08-11 17:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331173376001,"power":13015,"unknown_61":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9086153010965016576}} 
[2026-08-11 17:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":152365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:35:50] local.INFO: GPS data processed {"connection_id":152365,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:35:50] local.INFO: Acknowledgment sent {"connection_id":152365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:35:56] local.INFO: TCP Data received {"connection_id":153683,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b595a0012d96dd80059d18900002011d2c..."} 
[2026-08-11 17:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b595a0012d96dd80059d18900002011d2c..."} 
[2026-08-11 17:35:56] local.INFO: Processing buffer {"connection_id":153683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b595a0012d96dd80059d18900002011d2c..."} 
[2026-08-11 17:35:56] local.INFO: Packet analysis {"connection_id":153683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:35:56] local.INFO: Extracted packet for processing {"connection_id":153683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:35:56] local.INFO: GPS Element Parsed {"raw_longitude":764861824,"raw_latitude":94181520,"longitude_deg":76.4861824,"latitude_deg":9.418152,"altitude":2,"angle":285,"satellites":44,"speed":42,"hex_longitude":"2d96dd80","hex_latitude":"059d1890","is_valid_coordinates":true} 
[2026-08-11 17:35: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-08-11 17:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331161856001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377849464397758464,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7564991818709858304,"note":"Value kept but may cause issues"} 
[2026-08-11 17:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786449860000,"timestamp_ms":1786449860000,"timestamp_seconds":1786449860,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b595a0"} 
[2026-08-11 17:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:35: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":217,"data_length":795,"current_offset":136} 
[2026-08-11 17:35:56] 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-08-11 17:35: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-08-11 17:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:35:56] 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-08-11 17:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331161856001,"66":27974,"98":206,"85":14592,"24":42,"16":377849464397758464,"45":-7564991818709858304},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-11 17:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331161856001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:35:56] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 17:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377849464397758464,"km_value":377849464397758.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7564991818709858304,"description":"Unknown IO ID 45"} 
[2026-08-11 17:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331161856001,"power":27974,"unknown_98":206,"unknown_85":14592,"ignition":42,"odometer":null,"unknown_45":-7564991818709858304}} 
[2026-08-11 17:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":153683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:35:56] local.INFO: GPS data processed {"connection_id":153683,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:35:56] local.INFO: Acknowledgment sent {"connection_id":153683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:36:06] local.INFO: TCP Data received {"connection_id":155065,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:36:06] local.INFO: Processing buffer {"connection_id":155065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:36:06] local.INFO: IMEI packet received {"connection_id":155065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":155065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:36:08] local.INFO: TCP Data received {"connection_id":155065,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:36:08] local.INFO: Processing buffer {"connection_id":155065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:36:08] local.INFO: IMEI packet received {"connection_id":155065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":155065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:36:08] local.INFO: TCP Data received {"connection_id":155065,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:36:08] local.INFO: Processing buffer {"connection_id":155065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:36:08] local.INFO: IMEI packet received {"connection_id":155065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":155065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:36:10] local.INFO: TCP Data received {"connection_id":152743,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:36:10] local.INFO: Processing buffer {"connection_id":152743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:36:10] local.INFO: IMEI packet received {"connection_id":152743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":152743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:36:13] local.INFO: TCP Data received {"connection_id":155065,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:36:13] local.INFO: Processing buffer {"connection_id":155065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:36:13] local.INFO: IMEI packet received {"connection_id":155065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":155065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:36:13] local.INFO: TCP Data received {"connection_id":152743,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:36:13] local.INFO: Processing buffer {"connection_id":152743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:36:13] local.INFO: IMEI packet received {"connection_id":152743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":152743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:36:14] local.INFO: TCP Data received {"connection_id":155065,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b72028012d7e108005e0c8a8000600b226..."} 
[2026-08-11 17:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b72028012d7e108005e0c8a8000600b226..."} 
[2026-08-11 17:36:14] local.INFO: Processing buffer {"connection_id":155065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b72028012d7e108005e0c8a8000600b226..."} 
[2026-08-11 17:36:14] local.INFO: Packet analysis {"connection_id":155065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:36:14] local.INFO: Extracted packet for processing {"connection_id":155065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:36:14] local.INFO: GPS Element Parsed {"raw_longitude":763236480,"raw_latitude":98617512,"longitude_deg":76.323648,"latitude_deg":9.8617512,"altitude":6,"angle":178,"satellites":38,"speed":27,"hex_longitude":"2d7e1080","hex_latitude":"05e0c8a8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331186944001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117715669079818240,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084675267328126976,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786449961000,"timestamp_ms":1786449961000,"timestamp_seconds":1786449961,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b72028"} 
[2026-08-11 17:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:36: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-08-11 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 17:36:14] 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-08-11 17: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-08-11 17:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331186944001,"66":13124,"105":206,"85":15104,"24":27,"16":117715669079818240,"45":9084675267328126976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-11 17:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331186944001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:36:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:36:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117715669079818240,"km_value":117715669079818.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084675267328126976,"description":"Unknown IO ID 45"} 
[2026-08-11 17:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331186944001,"power":13124,"unknown_105":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9084675267328126976}} 
[2026-08-11 17:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":155065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:36:14] local.INFO: GPS data processed {"connection_id":155065,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:36:14] local.INFO: Acknowledgment sent {"connection_id":155065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:36:15] local.INFO: TCP Data received {"connection_id":152743,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:36:15] local.INFO: Processing buffer {"connection_id":152743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:36:15] local.INFO: IMEI packet received {"connection_id":152743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":152743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:36:15] local.INFO: TCP Data received {"connection_id":152743,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b48c00012d1822400721b4d0004800d828..."} 
[2026-08-11 17:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b48c00012d1822400721b4d0004800d828..."} 
[2026-08-11 17:36:15] local.INFO: Processing buffer {"connection_id":152743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b48c00012d1822400721b4d0004800d828..."} 
[2026-08-11 17:36:15] local.INFO: Packet analysis {"connection_id":152743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b4"} 
[2026-08-11 17:36:15] local.INFO: Extracted packet for processing {"connection_id":152743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b4"} 
[2026-08-11 17:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":72,"angle":216,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331141376001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743372595167232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:15] 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-08-11 17:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786449792000,"timestamp_ms":1786449792000,"timestamp_seconds":1786449792,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b48c00"} 
[2026-08-11 17:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:36:15] 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-08-11 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 17:36:15] 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-08-11 17: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-08-11 17:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331141376001,"66":12504,"105":206,"83":41984,"24":0,"16":11743372595167232,"45":1739022805492879360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331141376001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:36:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743372595167232,"km_value":11743372595167.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331141376001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-11 17:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":152743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:36:15] local.INFO: GPS data processed {"connection_id":152743,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:36:15] local.INFO: Acknowledgment sent {"connection_id":152743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:36:24] local.INFO: TCP Data received {"connection_id":152366,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:36:24] local.INFO: Processing buffer {"connection_id":152366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:36:24] local.INFO: IMEI packet received {"connection_id":152366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":152366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:36:34] local.INFO: TCP Data received {"connection_id":152366,"ip":"42.106.6.37","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 17:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152366,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 17:36:34] local.INFO: Processing buffer {"connection_id":152366,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 17:36:34] local.INFO: IMEI packet received {"connection_id":152366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":152366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:36:36] local.INFO: TCP Data received {"connection_id":152366,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b5b8c8012d96b9c0059d22880003011d29..."} 
[2026-08-11 17:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b5b8c8012d96b9c0059d22880003011d29..."} 
[2026-08-11 17:36:36] local.INFO: Processing buffer {"connection_id":152366,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ff0..."} 
[2026-08-11 17:36:36] local.INFO: IMEI packet received {"connection_id":152366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":152366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:36:37] local.INFO: TCP Data received {"connection_id":152366,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b5dfd8012d9694c0059d2c680002011c2b..."} 
[2026-08-11 17:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b5dfd8012d9694c0059d2c680002011c2b..."} 
[2026-08-11 17:36:37] local.INFO: Processing buffer {"connection_id":152366,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ff0b5b8c8012d96b9c0059d22880003011d29..."} 
[2026-08-11 17:36:37] local.INFO: Packet analysis {"connection_id":152366,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:36:37] local.INFO: Extracted packet for processing {"connection_id":152366,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:36:37] local.INFO: GPS Element Parsed {"raw_longitude":764852672,"raw_latitude":94184072,"longitude_deg":76.4852672,"latitude_deg":9.4184072,"altitude":3,"angle":285,"satellites":41,"speed":38,"hex_longitude":"2d96b9c0","hex_latitude":"059d2288","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331164160001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377849919664291840,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7575758236568481792,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786449869000,"timestamp_ms":1786449869000,"timestamp_seconds":1786449869,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b5b8c8"} 
[2026-08-11 17:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 17:36:37] 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-08-11 17: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-08-11 17:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:36: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-08-11 17:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331164160001,"66":27865,"98":206,"85":14592,"24":38,"16":377849919664291840,"45":-7575758236568481792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-11 17:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331164160001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:36:37] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 17:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377849919664291840,"km_value":377849919664291.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7575758236568481792,"description":"Unknown IO ID 45"} 
[2026-08-11 17:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331164160001,"power":27865,"unknown_98":206,"unknown_85":14592,"ignition":38,"odometer":null,"unknown_45":-7575758236568481792}} 
[2026-08-11 17:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":152366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:36:37] local.INFO: GPS data processed {"connection_id":152366,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:36:37] local.INFO: Acknowledgment sent {"connection_id":152366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:36:37] local.INFO: Packet analysis {"connection_id":152366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:36:37] local.INFO: Extracted packet for processing {"connection_id":152366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:36:37] local.INFO: GPS Element Parsed {"raw_longitude":764843200,"raw_latitude":94186600,"longitude_deg":76.48432,"latitude_deg":9.41866,"altitude":2,"angle":284,"satellites":43,"speed":43,"hex_longitude":"2d9694c0","hex_latitude":"059d2c68","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331166464001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377850387815727104,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7585820966985234432,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786449879000,"timestamp_ms":1786449879000,"timestamp_seconds":1786449879,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b5dfd8"} 
[2026-08-11 17:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 17:36: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-08-11 17: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-08-11 17:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:36: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-08-11 17:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331166464001,"66":27865,"98":206,"85":14592,"24":43,"16":377850387815727104,"45":-7585820966985234432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-11 17:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331166464001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:36:37] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 17:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377850387815727104,"km_value":377850387815727.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7585820966985234432,"description":"Unknown IO ID 45"} 
[2026-08-11 17:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331166464001,"power":27865,"unknown_98":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-7585820966985234432}} 
[2026-08-11 17:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":152366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:36:37] local.INFO: GPS data processed {"connection_id":152366,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:36:37] local.INFO: Acknowledgment sent {"connection_id":152366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:36:45] local.INFO: TCP Data received {"connection_id":155065,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b7b0b0012d7e3ec005e05d98000600c928..."} 
[2026-08-11 17:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b7b0b0012d7e3ec005e05d98000600c928..."} 
[2026-08-11 17:36:45] local.INFO: Processing buffer {"connection_id":155065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b7b0b0012d7e3ec005e05d98000600c928..."} 
[2026-08-11 17:36:45] local.INFO: Packet analysis {"connection_id":155065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:36:45] local.INFO: Extracted packet for processing {"connection_id":155065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:36:45] local.INFO: GPS Element Parsed {"raw_longitude":763248320,"raw_latitude":98590104,"longitude_deg":76.324832,"latitude_deg":9.8590104,"altitude":6,"angle":201,"satellites":40,"speed":10,"hex_longitude":"2d7e3ec0","hex_latitude":"05e05d98","is_valid_coordinates":true} 
[2026-08-11 17:36: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-08-11 17:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331197952001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117717206678110208,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096778691318829056,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786449998000,"timestamp_ms":1786449998000,"timestamp_seconds":1786449998,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b7b0b0"} 
[2026-08-11 17:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:36: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-08-11 17:36: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 17:36:45] 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-08-11 17:36: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-08-11 17:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331197952001,"66":13298,"105":206,"85":15104,"24":10,"16":117717206678110208,"45":9096778691318829056},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-11 17:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331197952001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:36:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:36:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117717206678110208,"km_value":117717206678110.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096778691318829056,"description":"Unknown IO ID 45"} 
[2026-08-11 17:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331197952001,"power":13298,"unknown_105":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9096778691318829056}} 
[2026-08-11 17:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":155065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:36:45] local.INFO: GPS data processed {"connection_id":155065,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:36:45] local.INFO: Acknowledgment sent {"connection_id":155065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:36:46] local.INFO: TCP Data received {"connection_id":152743,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b4de08012d1822400721b4d0004800d828..."} 
[2026-08-11 17:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b4de08012d1822400721b4d0004800d828..."} 
[2026-08-11 17:36:46] local.INFO: Processing buffer {"connection_id":152743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b4de08012d1822400721b4d0004800d828..."} 
[2026-08-11 17:36:46] local.INFO: Packet analysis {"connection_id":152743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b4"} 
[2026-08-11 17:36:46] local.INFO: Extracted packet for processing {"connection_id":152743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b4"} 
[2026-08-11 17:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":72,"angle":216,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-11 17:36: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-08-11 17:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331146752001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743372595167232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:36:46] 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-08-11 17:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786449813000,"timestamp_ms":1786449813000,"timestamp_seconds":1786449813,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b4de08"} 
[2026-08-11 17:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:36:46] 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-08-11 17:36: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 17:36:46] 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-08-11 17:36: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-08-11 17:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331146752001,"66":12461,"105":206,"83":41984,"24":0,"16":11743372595167232,"45":1739022805492879360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331146752001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:36:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:36:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743372595167232,"km_value":11743372595167.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331146752001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-11 17:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":152743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:36:46] local.INFO: GPS data processed {"connection_id":152743,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:36:46] local.INFO: Acknowledgment sent {"connection_id":152743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:37:07] local.INFO: TCP Data received {"connection_id":152744,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:37:07] local.INFO: Processing buffer {"connection_id":152744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:37:07] local.INFO: IMEI packet received {"connection_id":152744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":152744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:37:08] local.INFO: TCP Data received {"connection_id":152744,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:37:08] local.INFO: Processing buffer {"connection_id":152744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:37:08] local.INFO: IMEI packet received {"connection_id":152744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":152744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:37:13] local.INFO: TCP Data received {"connection_id":152744,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:37:13] local.INFO: Processing buffer {"connection_id":152744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:37:13] local.INFO: IMEI packet received {"connection_id":152744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":152744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:37:14] local.INFO: TCP Data received {"connection_id":152744,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b7b498012d7e3e4005e05c70000700b528..."} 
[2026-08-11 17:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b7b498012d7e3e4005e05c70000700b528..."} 
[2026-08-11 17:37:14] local.INFO: Processing buffer {"connection_id":152744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b7b498012d7e3e4005e05c70000700b528..."} 
[2026-08-11 17:37:14] local.INFO: Packet analysis {"connection_id":152744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:37:14] local.INFO: Extracted packet for processing {"connection_id":152744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:37:14] local.INFO: GPS Element Parsed {"raw_longitude":763248192,"raw_latitude":98589808,"longitude_deg":76.3248192,"latitude_deg":9.8589808,"altitude":7,"angle":181,"satellites":40,"speed":14,"hex_longitude":"2d7e3e40","hex_latitude":"05e05c70","is_valid_coordinates":true} 
[2026-08-11 17:37: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-08-11 17:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331199488001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117717219563012096,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428806580224,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786449999000,"timestamp_ms":1786449999000,"timestamp_seconds":1786449999,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b7b498"} 
[2026-08-11 17:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:37: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-08-11 17:37: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-11 17:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:37: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-08-11 17:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331199488001,"66":13298,"105":206,"85":15104,"24":14,"16":117717219563012096,"45":9096919428806580224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-11 17:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331199488001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:37:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:37:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117717219563012096,"km_value":117717219563012.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428806580224,"description":"Unknown IO ID 45"} 
[2026-08-11 17:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331199488001,"power":13298,"unknown_105":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9096919428806580224}} 
[2026-08-11 17:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":152744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:37:14] local.INFO: GPS data processed {"connection_id":152744,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:37:14] local.INFO: Acknowledgment sent {"connection_id":152744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:37:15] local.INFO: TCP Data received {"connection_id":153684,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:37:15] local.INFO: Processing buffer {"connection_id":153684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:37:15] local.INFO: IMEI packet received {"connection_id":153684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":153684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:37:16] local.INFO: TCP Data received {"connection_id":153684,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:37:16] local.INFO: Processing buffer {"connection_id":153684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:37:16] local.INFO: IMEI packet received {"connection_id":153684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":153684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:37:16] local.INFO: TCP Data received {"connection_id":155066,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:37:16] local.INFO: Processing buffer {"connection_id":155066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:37:16] local.INFO: IMEI packet received {"connection_id":155066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":155066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:37:16] local.INFO: TCP Data received {"connection_id":153684,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b53010012d1822400721b4d0004800d827..."} 
[2026-08-11 17:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b53010012d1822400721b4d0004800d827..."} 
[2026-08-11 17:37:16] local.INFO: Processing buffer {"connection_id":153684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b53010012d1822400721b4d0004800d827..."} 
[2026-08-11 17:37:16] local.INFO: Packet analysis {"connection_id":153684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:37:16] local.INFO: Extracted packet for processing {"connection_id":153684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:37:16] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":72,"angle":216,"satellites":39,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-11 17:37: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-08-11 17:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331152128001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743372595167232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:16] 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-08-11 17:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786449834000,"timestamp_ms":1786449834000,"timestamp_seconds":1786449834,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b53010"} 
[2026-08-11 17:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:37:16] 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-08-11 17:37: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":173,"data_length":795,"current_offset":136} 
[2026-08-11 17:37:16] 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-08-11 17:37: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-08-11 17:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331152128001,"66":12526,"105":206,"83":41984,"24":0,"16":11743372595167232,"45":1739022805492879360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331152128001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:37:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:37:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743372595167232,"km_value":11743372595167.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331152128001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-11 17:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":153684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:37:17] local.INFO: GPS data processed {"connection_id":153684,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:37:17] local.INFO: Acknowledgment sent {"connection_id":153684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:37:19] local.INFO: TCP Data received {"connection_id":155066,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:37:19] local.INFO: Processing buffer {"connection_id":155066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:37:19] local.INFO: IMEI packet received {"connection_id":155066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":155066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:37:20] local.INFO: TCP Data received {"connection_id":153684,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b58218012d1822400721b4d0004800d823..."} 
[2026-08-11 17:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b58218012d1822400721b4d0004800d823..."} 
[2026-08-11 17:37:20] local.INFO: Processing buffer {"connection_id":153684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b58218012d1822400721b4d0004800d823..."} 
[2026-08-11 17:37:20] local.INFO: Packet analysis {"connection_id":153684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:37:20] local.INFO: Extracted packet for processing {"connection_id":153684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:37:20] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":72,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-11 17:37: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-08-11 17:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331157504001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743372595167232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:20] 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-08-11 17:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786449855000,"timestamp_ms":1786449855000,"timestamp_seconds":1786449855,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b58218"} 
[2026-08-11 17:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:37: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-08-11 17:37: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 17:37:20] 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-08-11 17:37: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-08-11 17:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331157504001,"66":12526,"105":206,"83":41984,"24":0,"16":11743372595167232,"45":1739022805492879360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331157504001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:37:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:37:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743372595167232,"km_value":11743372595167.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331157504001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-11 17:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":153684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:37:20] local.INFO: GPS data processed {"connection_id":153684,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:37:20] local.INFO: Acknowledgment sent {"connection_id":153684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:37:25] local.INFO: TCP Data received {"connection_id":155066,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:37:25] local.INFO: Processing buffer {"connection_id":155066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:37:25] local.INFO: IMEI packet received {"connection_id":155066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":155066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:37:26] local.INFO: TCP Data received {"connection_id":155066,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b74f08012d9503c0059d97700003011c2b..."} 
[2026-08-11 17:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b74f08012d9503c0059d97700003011c2b..."} 
[2026-08-11 17:37:26] local.INFO: Processing buffer {"connection_id":155066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b74f08012d9503c0059d97700003011c2b..."} 
[2026-08-11 17:37:26] local.INFO: Packet analysis {"connection_id":155066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:37:26] local.INFO: Extracted packet for processing {"connection_id":155066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:37:26] local.INFO: GPS Element Parsed {"raw_longitude":764740544,"raw_latitude":94214000,"longitude_deg":76.4740544,"latitude_deg":9.4214,"altitude":3,"angle":284,"satellites":43,"speed":39,"hex_longitude":"2d9503c0","hex_latitude":"059d9770","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331190784001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377855477351972864,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7699466488825114624,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:26] 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-08-11 17:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786449973000,"timestamp_ms":1786449973000,"timestamp_seconds":1786449973,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b74f08"} 
[2026-08-11 17:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 17:37:26] 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-08-11 17: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-08-11 17:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":155066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":155066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":155066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:37:26] 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-08-11 17:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331190784001,"66":27876,"99":206,"85":14592,"24":39,"16":377855477351972864,"45":-7699466488825114624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-08-11 17:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331190784001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:37:26] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 17:37:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377855477351972864,"km_value":377855477351972.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7699466488825114624,"description":"Unknown IO ID 45"} 
[2026-08-11 17:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331190784001,"power":27876,"unknown_99":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-7699466488825114624}} 
[2026-08-11 17:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":155066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:37:26] local.INFO: GPS data processed {"connection_id":155066,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:37:26] local.INFO: Acknowledgment sent {"connection_id":155066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:37:45] local.INFO: TCP Data received {"connection_id":152744,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b7c050012d7e3f4005e05668000700a928..."} 
[2026-08-11 17:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b7c050012d7e3f4005e05668000700a928..."} 
[2026-08-11 17:37:45] local.INFO: Processing buffer {"connection_id":152744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b7c050012d7e3f4005e05668000700a928..."} 
[2026-08-11 17:37:45] local.INFO: Packet analysis {"connection_id":152744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:37:45] local.INFO: Extracted packet for processing {"connection_id":152744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:37:45] local.INFO: GPS Element Parsed {"raw_longitude":763248448,"raw_latitude":98588264,"longitude_deg":76.3248448,"latitude_deg":9.8588264,"altitude":7,"angle":169,"satellites":40,"speed":25,"hex_longitude":"2d7e3f40","hex_latitude":"05e05668","is_valid_coordinates":true} 
[2026-08-11 17:37: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-08-11 17:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331199744001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117717296872423424,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096778691318149120,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:45] 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-08-11 17:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786450002000,"timestamp_ms":1786450002000,"timestamp_seconds":1786450002,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b7c050"} 
[2026-08-11 17:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:37: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-08-11 17:37: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-11 17:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:37: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-08-11 17:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331199744001,"66":13428,"104":206,"85":15104,"24":25,"16":117717296872423424,"45":9096778691318149120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-11 17:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331199744001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:37:45] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-11 17:37:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117717296872423424,"km_value":117717296872423.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096778691318149120,"description":"Unknown IO ID 45"} 
[2026-08-11 17:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331199744001,"power":13428,"unknown_104":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9096778691318149120}} 
[2026-08-11 17:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":152744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:37:45] local.INFO: GPS data processed {"connection_id":152744,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:37:45] local.INFO: Acknowledgment sent {"connection_id":152744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:37:51] local.INFO: TCP Data received {"connection_id":153684,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b5c480012d1820c00721b3a0005000cc29..."} 
[2026-08-11 17:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b5c480012d1820c00721b3a0005000cc29..."} 
[2026-08-11 17:37:51] local.INFO: Processing buffer {"connection_id":153684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b5c480012d1820c00721b3a0005000cc29..."} 
[2026-08-11 17:37:51] local.INFO: Packet analysis {"connection_id":153684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:37:51] local.INFO: Extracted packet for processing {"connection_id":153684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b5"} 
[2026-08-11 17:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649184,"longitude_deg":75.6555968,"latitude_deg":11.9649184,"altitude":80,"angle":204,"satellites":41,"speed":1,"hex_longitude":"2d1820c0","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-08-11 17:37: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-08-11 17:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331162880001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743398364971008,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37: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-08-11 17:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786449872000,"timestamp_ms":1786449872000,"timestamp_seconds":1786449872,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b5c480"} 
[2026-08-11 17:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:37:51] 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-08-11 17:37: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 17:37:51] 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-08-11 17:37: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-08-11 17:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331162880001,"66":12461,"105":206,"83":41984,"24":1,"16":11743398364971008,"45":1739022805492879360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331162880001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:37:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:37:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743398364971008,"km_value":11743398364971.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331162880001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-11 17:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":153684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:37:51] local.INFO: GPS data processed {"connection_id":153684,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:37:51] local.INFO: Acknowledgment sent {"connection_id":153684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:37:58] local.INFO: TCP Data received {"connection_id":155066,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b77230012d94e040059da1480004011e2a..."} 
[2026-08-11 17:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b77230012d94e040059da1480004011e2a..."} 
[2026-08-11 17:37:58] local.INFO: Processing buffer {"connection_id":155066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b77230012d94e040059da1480004011e2a..."} 
[2026-08-11 17:37:58] local.INFO: Packet analysis {"connection_id":155066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:37:58] local.INFO: Extracted packet for processing {"connection_id":155066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:37:58] local.INFO: GPS Element Parsed {"raw_longitude":764731456,"raw_latitude":94216520,"longitude_deg":76.4731456,"latitude_deg":9.421652,"altitude":4,"angle":286,"satellites":42,"speed":42,"hex_longitude":"2d94e040","hex_latitude":"059da148","is_valid_coordinates":true} 
[2026-08-11 17:37: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-08-11 17:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331193088001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377855928323538944,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7709107006776840192,"note":"Value kept but may cause issues"} 
[2026-08-11 17:37:58] 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-08-11 17:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786449982000,"timestamp_ms":1786449982000,"timestamp_seconds":1786449982,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b77230"} 
[2026-08-11 17:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:37: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 17:37:58] 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-08-11 17:37: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-08-11 17:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":155066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":155066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":155066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:37:58] 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-08-11 17:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331193088001,"66":27767,"99":206,"85":14592,"24":42,"16":377855928323538944,"45":-7709107006776840192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-08-11 17:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331193088001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:37:58] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 17:37:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377855928323538944,"km_value":377855928323538.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7709107006776840192,"description":"Unknown IO ID 45"} 
[2026-08-11 17:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331193088001,"power":27767,"unknown_99":206,"unknown_85":14592,"ignition":42,"odometer":null,"unknown_45":-7709107006776840192}} 
[2026-08-11 17:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":155066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:37:58] local.INFO: GPS data processed {"connection_id":155066,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:37:58] local.INFO: Acknowledgment sent {"connection_id":155066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:38:09] local.INFO: TCP Data received {"connection_id":153685,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:38:09] local.INFO: Processing buffer {"connection_id":153685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:38:09] local.INFO: IMEI packet received {"connection_id":153685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":153685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:38:10] local.INFO: TCP Data received {"connection_id":152745,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:38:10] local.INFO: Processing buffer {"connection_id":152745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:38:10] local.INFO: IMEI packet received {"connection_id":152745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":152745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:38:10] local.INFO: TCP Data received {"connection_id":153685,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:38:10] local.INFO: Processing buffer {"connection_id":153685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:38:10] local.INFO: IMEI packet received {"connection_id":153685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":153685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:38:13] local.INFO: TCP Data received {"connection_id":153685,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:38:13] local.INFO: Processing buffer {"connection_id":153685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:38:13] local.INFO: IMEI packet received {"connection_id":153685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":153685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:38:14] local.INFO: TCP Data received {"connection_id":153685,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b7e760012d7e488005e031900006009f27..."} 
[2026-08-11 17:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b7e760012d7e488005e031900006009f27..."} 
[2026-08-11 17:38:14] local.INFO: Processing buffer {"connection_id":153685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b7e760012d7e488005e031900006009f27..."} 
[2026-08-11 17:38:14] local.INFO: Packet analysis {"connection_id":153685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:38:14] local.INFO: Extracted packet for processing {"connection_id":153685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:38:14] local.INFO: GPS Element Parsed {"raw_longitude":763250816,"raw_latitude":98578832,"longitude_deg":76.3250816,"latitude_deg":9.8578832,"altitude":6,"angle":159,"satellites":39,"speed":48,"hex_longitude":"2d7e4880","hex_latitude":"05e03190","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331200512001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117717769318825984,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097060166294464512,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:14] 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-08-11 17:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786450012000,"timestamp_ms":1786450012000,"timestamp_seconds":1786450012,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b7e760"} 
[2026-08-11 17:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:38: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-08-11 17: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 17:38:14] 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-08-11 17: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-08-11 17:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331200512001,"66":13439,"104":206,"85":15104,"24":48,"16":117717769318825984,"45":9097060166294464512},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-11 17:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331200512001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:38:14] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-11 17:38:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117717769318825984,"km_value":117717769318825.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097060166294464512,"description":"Unknown IO ID 45"} 
[2026-08-11 17:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331200512001,"power":13439,"unknown_104":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9097060166294464512}} 
[2026-08-11 17:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":153685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:38:14] local.INFO: GPS data processed {"connection_id":153685,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:38:14] local.INFO: Acknowledgment sent {"connection_id":153685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:38:15] local.INFO: TCP Data received {"connection_id":152745,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:38:15] local.INFO: Processing buffer {"connection_id":152745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:38:15] local.INFO: IMEI packet received {"connection_id":152745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":152745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:38:16] local.INFO: TCP Data received {"connection_id":152745,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b61688012d1820c00721b2e8004f00ce29..."} 
[2026-08-11 17:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b61688012d1820c00721b2e8004f00ce29..."} 
[2026-08-11 17:38:16] local.INFO: Processing buffer {"connection_id":152745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b61688012d1820c00721b2e8004f00ce29..."} 
[2026-08-11 17:38:16] local.INFO: Packet analysis {"connection_id":152745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b6"} 
[2026-08-11 17:38:16] local.INFO: Extracted packet for processing {"connection_id":152745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b6"} 
[2026-08-11 17:38:16] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":79,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331167232001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743406954905600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027735552,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:16] 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-08-11 17:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786449893000,"timestamp_ms":1786449893000,"timestamp_seconds":1786449893,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b61688"} 
[2026-08-11 17:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:38:16] 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-08-11 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 17:38:16] 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-08-11 17: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-08-11 17:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331167232001,"66":12504,"105":206,"83":41984,"24":0,"16":11743406954905600,"45":1738600593027735552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331167232001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:38:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:38:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743406954905600,"km_value":11743406954905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027735552,"description":"Unknown IO ID 45"} 
[2026-08-11 17:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331167232001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027735552}} 
[2026-08-11 17:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":152745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:38:16] local.INFO: GPS data processed {"connection_id":152745,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:38:16] local.INFO: Acknowledgment sent {"connection_id":152745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:38:17] local.INFO: TCP Data received {"connection_id":152746,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:38:17] local.INFO: Processing buffer {"connection_id":152746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:38:17] local.INFO: IMEI packet received {"connection_id":152746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":152746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:38:19] local.INFO: TCP Data received {"connection_id":152746,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:38:19] local.INFO: Processing buffer {"connection_id":152746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:38:19] local.INFO: IMEI packet received {"connection_id":152746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":152746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:38:24] local.INFO: TCP Data received {"connection_id":152746,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:38:24] local.INFO: Processing buffer {"connection_id":152746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:38:24] local.INFO: IMEI packet received {"connection_id":152746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":152746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:38:25] local.INFO: TCP Data received {"connection_id":152746,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b79170012d94be00059daa300005011d2b..."} 
[2026-08-11 17:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b79170012d94be00059daa300005011d2b..."} 
[2026-08-11 17:38:25] local.INFO: Processing buffer {"connection_id":152746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b79170012d94be00059daa300005011d2b..."} 
[2026-08-11 17:38:25] local.INFO: Packet analysis {"connection_id":152746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:38:25] local.INFO: Extracted packet for processing {"connection_id":152746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:38:25] local.INFO: GPS Element Parsed {"raw_longitude":764722688,"raw_latitude":94218800,"longitude_deg":76.4722688,"latitude_deg":9.42188,"altitude":5,"angle":285,"satellites":43,"speed":46,"hex_longitude":"2d94be00","hex_latitude":"059daa30","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331195392001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377856362115235840,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7719099368449423360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:25] 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-08-11 17:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786449990000,"timestamp_ms":1786449990000,"timestamp_seconds":1786449990,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b79170"} 
[2026-08-11 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-08-11 17:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 17:38:25] 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-08-11 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-08-11 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-08-11 17:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:38:25] 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-08-11 17:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331195392001,"66":27908,"99":206,"85":14592,"24":46,"16":377856362115235840,"45":-7719099368449423360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-08-11 17:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331195392001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:38:25] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 17:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377856362115235840,"km_value":377856362115235.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7719099368449423360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331195392001,"power":27908,"unknown_99":206,"unknown_85":14592,"ignition":46,"odometer":null,"unknown_45":-7719099368449423360}} 
[2026-08-11 17:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":152746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:38:25] local.INFO: GPS data processed {"connection_id":152746,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:38:25] local.INFO: Acknowledgment sent {"connection_id":152746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:38:45] local.INFO: TCP Data received {"connection_id":153685,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b95e60012d7ece0005dee0c8000b00af22..."} 
[2026-08-11 17:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b95e60012d7ece0005dee0c8000b00af22..."} 
[2026-08-11 17:38:45] local.INFO: Processing buffer {"connection_id":153685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b95e60012d7ece0005dee0c8000b00af22..."} 
[2026-08-11 17:38:45] local.INFO: Packet analysis {"connection_id":153685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:38:45] local.INFO: Extracted packet for processing {"connection_id":153685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:38:45] local.INFO: GPS Element Parsed {"raw_longitude":763284992,"raw_latitude":98492616,"longitude_deg":76.3284992,"latitude_deg":9.8492616,"altitude":11,"angle":175,"satellites":34,"speed":30,"hex_longitude":"2d7ece00","hex_latitude":"05dee0c8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331226880001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117722309099257856,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136818506730895360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786450108000,"timestamp_ms":1786450108000,"timestamp_seconds":1786450108,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b95e60"} 
[2026-08-11 17:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:38: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-08-11 17: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 17:38:45] 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-08-11 17: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-08-11 17:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331226880001,"66":13363,"206":206,"85":15104,"24":30,"16":117722309099257856,"45":9136818506730895360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-11 17:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331226880001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:38:45] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-11 17:38:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117722309099257856,"km_value":117722309099257.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136818506730895360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331226880001,"power":13363,"unknown_206":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9136818506730895360}} 
[2026-08-11 17:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":153685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:38:45] local.INFO: GPS data processed {"connection_id":153685,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:38:45] local.INFO: Acknowledgment sent {"connection_id":153685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:38:47] local.INFO: TCP Data received {"connection_id":152745,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b66890012d1820c00721b2e8004f00ce26..."} 
[2026-08-11 17:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b66890012d1820c00721b2e8004f00ce26..."} 
[2026-08-11 17:38:47] local.INFO: Processing buffer {"connection_id":152745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b66890012d1820c00721b2e8004f00ce26..."} 
[2026-08-11 17:38:47] local.INFO: Packet analysis {"connection_id":152745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b6"} 
[2026-08-11 17:38:47] local.INFO: Extracted packet for processing {"connection_id":152745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b6"} 
[2026-08-11 17:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":79,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-11 17:38: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-08-11 17:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331172608001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743406954905600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:47] 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-08-11 17:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786449914000,"timestamp_ms":1786449914000,"timestamp_seconds":1786449914,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b66890"} 
[2026-08-11 17:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:38:47] 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-08-11 17:38: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 17:38:47] 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-08-11 17:38: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-08-11 17:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331172608001,"66":12504,"105":206,"83":41984,"24":0,"16":11743406954905600,"45":1738600593027688448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331172608001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:38:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:38:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743406954905600,"km_value":11743406954905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331172608001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-08-11 17:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":152745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:38:47] local.INFO: GPS data processed {"connection_id":152745,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:38:47] local.INFO: Acknowledgment sent {"connection_id":152745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:38:57] local.INFO: TCP Data received {"connection_id":152746,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b7b0b0012d949940059db3f00004011c2b..."} 
[2026-08-11 17:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b7b0b0012d949940059db3f00004011c2b..."} 
[2026-08-11 17:38:57] local.INFO: Processing buffer {"connection_id":152746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b7b0b0012d949940059db3f00004011c2b..."} 
[2026-08-11 17:38:57] local.INFO: Packet analysis {"connection_id":152746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:38:57] local.INFO: Extracted packet for processing {"connection_id":152746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:38:57] local.INFO: GPS Element Parsed {"raw_longitude":764713280,"raw_latitude":94221296,"longitude_deg":76.471328,"latitude_deg":9.4221296,"altitude":4,"angle":284,"satellites":43,"speed":49,"hex_longitude":"2d949940","hex_latitude":"059db3f0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331197440001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377856825971703808,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7728739886401179648,"note":"Value kept but may cause issues"} 
[2026-08-11 17:38:57] 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-08-11 17:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786449998000,"timestamp_ms":1786449998000,"timestamp_seconds":1786449998,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b7b0b0"} 
[2026-08-11 17:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 17:38: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-08-11 17: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-08-11 17:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:38:57] 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-08-11 17:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331197440001,"66":27843,"99":206,"85":14592,"24":49,"16":377856825971703808,"45":-7728739886401179648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-08-11 17:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331197440001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:38:57] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-11 17:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377856825971703808,"km_value":377856825971703.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7728739886401179648,"description":"Unknown IO ID 45"} 
[2026-08-11 17:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331197440001,"power":27843,"unknown_99":206,"unknown_85":14592,"ignition":49,"odometer":null,"unknown_45":-7728739886401179648}} 
[2026-08-11 17:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":152746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:38:57] local.INFO: GPS data processed {"connection_id":152746,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:38:57] local.INFO: Acknowledgment sent {"connection_id":152746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:39:08] local.INFO: TCP Data received {"connection_id":152747,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:39:08] local.INFO: Processing buffer {"connection_id":152747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:39:08] local.INFO: IMEI packet received {"connection_id":152747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":152747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:39:10] local.INFO: TCP Data received {"connection_id":152367,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:39:10] local.INFO: Processing buffer {"connection_id":152367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:39:10] local.INFO: IMEI packet received {"connection_id":152367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":152367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:39:13] local.INFO: TCP Data received {"connection_id":152747,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:39:13] local.INFO: Processing buffer {"connection_id":152747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:39:13] local.INFO: IMEI packet received {"connection_id":152747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":152747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:39:14] local.INFO: TCP Data received {"connection_id":152747,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b98958012d7ed10005debdf8000900b325..."} 
[2026-08-11 17:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b98958012d7ed10005debdf8000900b325..."} 
[2026-08-11 17:39:14] local.INFO: Processing buffer {"connection_id":152747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b98958012d7ed10005debdf8000900b325..."} 
[2026-08-11 17:39:14] local.INFO: Packet analysis {"connection_id":152747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:39:14] local.INFO: Extracted packet for processing {"connection_id":152747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:39:14] local.INFO: GPS Element Parsed {"raw_longitude":763285760,"raw_latitude":98483704,"longitude_deg":76.328576,"latitude_deg":9.8483704,"altitude":9,"angle":179,"satellites":37,"speed":39,"hex_longitude":"2d7ed100","hex_latitude":"05debdf8","is_valid_coordinates":true} 
[2026-08-11 17:39: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-08-11 17:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331227648001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117722742890954752,"note":"Value kept but may cause issues"} 
[2026-08-11 17:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137240719195424768,"note":"Value kept but may cause issues"} 
[2026-08-11 17:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786450119000,"timestamp_ms":1786450119000,"timestamp_seconds":1786450119,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b98958"} 
[2026-08-11 17:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:39: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-08-11 17:39: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":51,"data_length":795,"current_offset":136} 
[2026-08-11 17:39:14] 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-08-11 17:39: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-08-11 17:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331227648001,"66":13363,"206":206,"85":15104,"24":39,"16":117722742890954752,"45":9137240719195424768},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-11 17:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331227648001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:39:14] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-11 17:39:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117722742890954752,"km_value":117722742890954.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137240719195424768,"description":"Unknown IO ID 45"} 
[2026-08-11 17:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331227648001,"power":13363,"unknown_206":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9137240719195424768}} 
[2026-08-11 17:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":152747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:39:14] local.INFO: GPS data processed {"connection_id":152747,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:39:14] local.INFO: Acknowledgment sent {"connection_id":152747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:39:15] local.INFO: TCP Data received {"connection_id":152367,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:39:15] local.INFO: Processing buffer {"connection_id":152367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:39:15] local.INFO: IMEI packet received {"connection_id":152367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":152367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:39:16] local.INFO: TCP Data received {"connection_id":152367,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b6ba98012d1820c00721b2e8004f00ce29..."} 
[2026-08-11 17:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b6ba98012d1820c00721b2e8004f00ce29..."} 
[2026-08-11 17:39:16] local.INFO: Processing buffer {"connection_id":152367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b6ba98012d1820c00721b2e8004f00ce29..."} 
[2026-08-11 17:39:16] local.INFO: Packet analysis {"connection_id":152367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b6"} 
[2026-08-11 17:39:16] local.INFO: Extracted packet for processing {"connection_id":152367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b6"} 
[2026-08-11 17:39:16] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":79,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-11 17:39: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-08-11 17:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331177984001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743406954905600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:39:16] 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-08-11 17:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786449935000,"timestamp_ms":1786449935000,"timestamp_seconds":1786449935,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b6ba98"} 
[2026-08-11 17:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:39:16] 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-08-11 17:39: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":216,"data_length":795,"current_offset":136} 
[2026-08-11 17:39:16] 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-08-11 17:39: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-08-11 17:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331177984001,"66":12504,"105":206,"83":41984,"24":0,"16":11743406954905600,"45":1738600593027688448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331177984001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:39:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:39:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743406954905600,"km_value":11743406954905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331177984001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-08-11 17:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":152367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:39:16] local.INFO: GPS data processed {"connection_id":152367,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:39:16] local.INFO: Acknowledgment sent {"connection_id":152367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:39:18] local.INFO: TCP Data received {"connection_id":153686,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:39:18] local.INFO: Processing buffer {"connection_id":153686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:39:18] local.INFO: IMEI packet received {"connection_id":153686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":153686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:39:19] local.INFO: TCP Data received {"connection_id":153686,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:39:19] local.INFO: Processing buffer {"connection_id":153686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:39:19] local.INFO: IMEI packet received {"connection_id":153686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":153686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:39:24] local.INFO: TCP Data received {"connection_id":153686,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:39:24] local.INFO: Processing buffer {"connection_id":153686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:39:24] local.INFO: IMEI packet received {"connection_id":153686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":153686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:39:25] local.INFO: TCP Data received {"connection_id":153686,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b92f80012d932c00059e15780002011c2c..."} 
[2026-08-11 17:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b92f80012d932c00059e15780002011c2c..."} 
[2026-08-11 17:39:25] local.INFO: Processing buffer {"connection_id":153686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b92f80012d932c00059e15780002011c2c..."} 
[2026-08-11 17:39:25] local.INFO: Packet analysis {"connection_id":153686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:39:25] local.INFO: Extracted packet for processing {"connection_id":153686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:39:25] local.INFO: GPS Element Parsed {"raw_longitude":764619776,"raw_latitude":94246264,"longitude_deg":76.4619776,"latitude_deg":9.4246264,"altitude":2,"angle":284,"satellites":44,"speed":45,"hex_longitude":"2d932c00","hex_latitude":"059e1578","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331222528001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377861460241416192,"note":"Value kept but may cause issues"} 
[2026-08-11 17:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7832111571591745536,"note":"Value kept but may cause issues"} 
[2026-08-11 17:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786450096000,"timestamp_ms":1786450096000,"timestamp_seconds":1786450096,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b92f80"} 
[2026-08-11 17:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 17:39:25] 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-08-11 17: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-08-11 17:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:39:25] 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-08-11 17:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331222528001,"66":27887,"118":206,"85":14592,"24":45,"16":377861460241416192,"45":-7832111571591745536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,85,24,16,45]} 
[2026-08-11 17:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331222528001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:39:25] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-11 17:39:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377861460241416192,"km_value":377861460241416.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7832111571591745536,"description":"Unknown IO ID 45"} 
[2026-08-11 17:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331222528001,"power":27887,"unknown_118":206,"unknown_85":14592,"ignition":45,"odometer":null,"unknown_45":-7832111571591745536}} 
[2026-08-11 17:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":153686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:39:25] local.INFO: GPS data processed {"connection_id":153686,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:39:25] local.INFO: Acknowledgment sent {"connection_id":153686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:39:45] local.INFO: TCP Data received {"connection_id":152747,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b998f8012d7ed2c005deade8000800a826..."} 
[2026-08-11 17:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b998f8012d7ed2c005deade8000800a826..."} 
[2026-08-11 17:39:45] local.INFO: Processing buffer {"connection_id":152747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b998f8012d7ed2c005deade8000800a826..."} 
[2026-08-11 17:39:45] local.INFO: Packet analysis {"connection_id":152747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:39:45] local.INFO: Extracted packet for processing {"connection_id":152747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:39:45] local.INFO: GPS Element Parsed {"raw_longitude":763286208,"raw_latitude":98479592,"longitude_deg":76.3286208,"latitude_deg":9.8479592,"altitude":8,"angle":168,"satellites":38,"speed":39,"hex_longitude":"2d7ed2c0","hex_latitude":"05deade8","is_valid_coordinates":true} 
[2026-08-11 17:39: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-08-11 17:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331230464001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117722944754417664,"note":"Value kept but may cause issues"} 
[2026-08-11 17:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138085144123275264,"note":"Value kept but may cause issues"} 
[2026-08-11 17:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786450123000,"timestamp_ms":1786450123000,"timestamp_seconds":1786450123,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b998f8"} 
[2026-08-11 17:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:39:45] 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-08-11 17:39: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 17:39:45] 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-08-11 17:39: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-08-11 17:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331230464001,"66":13319,"206":206,"85":15104,"24":39,"16":117722944754417664,"45":9138085144123275264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-11 17:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331230464001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:39:45] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-11 17:39:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117722944754417664,"km_value":117722944754417.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138085144123275264,"description":"Unknown IO ID 45"} 
[2026-08-11 17:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331230464001,"power":13319,"unknown_206":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9138085144123275264}} 
[2026-08-11 17:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":152747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:39:45] local.INFO: GPS data processed {"connection_id":152747,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:39:45] local.INFO: Acknowledgment sent {"connection_id":152747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:39:47] local.INFO: TCP Data received {"connection_id":152367,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b70ca0012d1820c00721b2e8004f00ce25..."} 
[2026-08-11 17:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b70ca0012d1820c00721b2e8004f00ce25..."} 
[2026-08-11 17:39:47] local.INFO: Processing buffer {"connection_id":152367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b70ca0012d1820c00721b2e8004f00ce25..."} 
[2026-08-11 17:39:47] local.INFO: Packet analysis {"connection_id":152367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:39:47] local.INFO: Extracted packet for processing {"connection_id":152367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":79,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-11 17:39: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-08-11 17:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331183360001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743406954905600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:39:47] 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-08-11 17:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786449956000,"timestamp_ms":1786449956000,"timestamp_seconds":1786449956,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b70ca0"} 
[2026-08-11 17:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:39:47] 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-08-11 17:39: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 17:39:47] 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-08-11 17:39: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-08-11 17:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331183360001,"66":12504,"105":206,"83":41984,"24":0,"16":11743406954905600,"45":1738600593027688448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331183360001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:39:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:39:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743406954905600,"km_value":11743406954905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331183360001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-08-11 17:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":152367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:39:47] local.INFO: GPS data processed {"connection_id":152367,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:39:47] local.INFO: Acknowledgment sent {"connection_id":152367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:40:08] local.INFO: TCP Data received {"connection_id":155067,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:40:08] local.INFO: Processing buffer {"connection_id":155067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:40:08] local.INFO: IMEI packet received {"connection_id":155067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":155067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:40:10] local.INFO: TCP Data received {"connection_id":155068,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:40:10] local.INFO: Processing buffer {"connection_id":155068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:40:10] local.INFO: IMEI packet received {"connection_id":155068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":155068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:40:13] local.INFO: TCP Data received {"connection_id":155067,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:40:13] local.INFO: Processing buffer {"connection_id":155067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:40:13] local.INFO: IMEI packet received {"connection_id":155067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":155067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:40:14] local.INFO: TCP Data received {"connection_id":155067,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:40:14] local.INFO: Processing buffer {"connection_id":155067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:40:14] local.INFO: IMEI packet received {"connection_id":155067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":155067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:40:15] local.INFO: TCP Data received {"connection_id":155067,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b9c008012d7edb0005de8b78000600a026..."} 
[2026-08-11 17:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b9c008012d7edb0005de8b78000600a026..."} 
[2026-08-11 17:40:15] local.INFO: Processing buffer {"connection_id":155067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b9c008012d7edb0005de8b78000600a026..."} 
[2026-08-11 17:40:15] local.INFO: Packet analysis {"connection_id":155067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:40:15] local.INFO: Extracted packet for processing {"connection_id":155067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:40:15] local.INFO: GPS Element Parsed {"raw_longitude":763288320,"raw_latitude":98470776,"longitude_deg":76.328832,"latitude_deg":9.8470776,"altitude":6,"angle":160,"satellites":38,"speed":29,"hex_longitude":"2d7edb00","hex_latitude":"05de8b78","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331231488001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117723387136049152,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138577725331466240,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786450133000,"timestamp_ms":1786450133000,"timestamp_seconds":1786450133,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b9c008"} 
[2026-08-11 17:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:40:15] 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-08-11 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 17:40:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4038661160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:15] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3103784960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3108433921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:15] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4032823304,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2798518478,"corrected_to":0} 
[2026-08-11 17:40:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3742429184,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:15] local.WARNING: Large IO value detected {"io_id":3,"raw_value":57885778227647803,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:15] local.WARNING: Large IO value detected {"io_id":185,"raw_value":326512267894292485,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:15] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2035627065941042688,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:15] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,206,85,24,241,157,16,60,159,137,45,189,9,37,10,66,94,224,11,34,59,82,128,1,240,214,227,222,4,113,205,31,63,198,168,239,52,2,162,5,8,3,185,223],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2798518478,"validated":0}]} 
[2026-08-11 17:40:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576645633468203008,"timestamp_seconds":576645633468203.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331231488001,"66":13515,"206":206,"85":15104,"24":29,"16":117723387136049152,"45":9138577725331466240},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-11 17:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331231488001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:40:15] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-11 17:40:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117723387136049152,"km_value":117723387136049.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138577725331466240,"description":"Unknown IO ID 45"} 
[2026-08-11 17:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331231488001,"power":13515,"unknown_206":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9138577725331466240}} 
[2026-08-11 17:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":155067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:40:15] local.INFO: GPS data processed {"connection_id":155067,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:40:15] local.INFO: Acknowledgment sent {"connection_id":155067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:40:15] local.INFO: TCP Data received {"connection_id":155068,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:40:15] local.INFO: Processing buffer {"connection_id":155068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:40:15] local.INFO: IMEI packet received {"connection_id":155068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":155068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:40:16] local.INFO: TCP Data received {"connection_id":155068,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b75ea8012d1820c00721b2e8004f00ce28..."} 
[2026-08-11 17:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b75ea8012d1820c00721b2e8004f00ce28..."} 
[2026-08-11 17:40:16] local.INFO: Processing buffer {"connection_id":155068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b75ea8012d1820c00721b2e8004f00ce28..."} 
[2026-08-11 17:40:16] local.INFO: Packet analysis {"connection_id":155068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:40:16] local.INFO: Extracted packet for processing {"connection_id":155068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:40:16] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":79,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331188736001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743406954905600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:16] 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-08-11 17:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786449977000,"timestamp_ms":1786449977000,"timestamp_seconds":1786449977,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b75ea8"} 
[2026-08-11 17:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:40:16] 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-08-11 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 17:40:16] 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-08-11 17: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-08-11 17:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331188736001,"66":12504,"105":206,"83":41984,"24":0,"16":11743406954905600,"45":1738600593027688448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331188736001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:40:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:40:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743406954905600,"km_value":11743406954905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331188736001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-08-11 17:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":155068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:40:16] local.INFO: GPS data processed {"connection_id":155068,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:40:16] local.INFO: Acknowledgment sent {"connection_id":155068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:40:19] local.INFO: TCP Data received {"connection_id":155067,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b9eee8012d7ee9c005de6aa0000500a326..."} 
[2026-08-11 17:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b9eee8012d7ee9c005de6aa0000500a326..."} 
[2026-08-11 17:40:19] local.INFO: Processing buffer {"connection_id":155067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b9eee8012d7ee9c005de6aa0000500a326..."} 
[2026-08-11 17:40:19] local.INFO: Packet analysis {"connection_id":155067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:40:19] local.INFO: Extracted packet for processing {"connection_id":155067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:40:19] local.INFO: GPS Element Parsed {"raw_longitude":763292096,"raw_latitude":98462368,"longitude_deg":76.3292096,"latitude_deg":9.8462368,"altitude":5,"angle":163,"satellites":38,"speed":32,"hex_longitude":"2d7ee9c0","hex_latitude":"05de6aa0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331234048001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117723829517680640,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140899893887072256,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786450145000,"timestamp_ms":1786450145000,"timestamp_seconds":1786450145,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b9eee8"} 
[2026-08-11 17:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:40: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-08-11 17: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-11 17:40:19] 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-08-11 17: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-08-11 17:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":155067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":155067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":155067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331234048001,"66":13678,"206":206,"85":15104,"24":32,"16":117723829517680640,"45":9140899893887072256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-11 17:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331234048001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:40:19] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-11 17:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117723829517680640,"km_value":117723829517680.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140899893887072256,"description":"Unknown IO ID 45"} 
[2026-08-11 17:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331234048001,"power":13678,"unknown_206":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9140899893887072256}} 
[2026-08-11 17:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":155067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:40:19] local.INFO: GPS data processed {"connection_id":155067,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:40:19] local.INFO: Acknowledgment sent {"connection_id":155067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:40:19] local.INFO: TCP Data received {"connection_id":152748,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:40:19] local.INFO: Processing buffer {"connection_id":152748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:40:19] local.INFO: IMEI packet received {"connection_id":152748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":152748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:40:22] local.INFO: TCP Data received {"connection_id":152748,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:40:22] local.INFO: Processing buffer {"connection_id":152748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:40:22] local.INFO: IMEI packet received {"connection_id":152748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":152748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:40:29] local.INFO: TCP Data received {"connection_id":152748,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ba0a40012d922f80059e59980003011c2b..."} 
[2026-08-11 17:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ba0a40012d922f80059e59980003011c2b..."} 
[2026-08-11 17:40:29] local.INFO: Processing buffer {"connection_id":152748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ba0a40012d922f80059e59980003011c2b..."} 
[2026-08-11 17:40:29] local.INFO: Packet analysis {"connection_id":152748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ba"} 
[2026-08-11 17:40:29] local.INFO: Extracted packet for processing {"connection_id":152748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ba"} 
[2026-08-11 17:40:29] local.INFO: GPS Element Parsed {"raw_longitude":764555136,"raw_latitude":94263704,"longitude_deg":76.4555136,"latitude_deg":9.4263704,"altitude":3,"angle":284,"satellites":43,"speed":48,"hex_longitude":"2d922f80","hex_latitude":"059e5998","is_valid_coordinates":true} 
[2026-08-11 17:40: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-08-11 17:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331236864001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377864664287019008,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7902621053253353472,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786450152000,"timestamp_ms":1786450152000,"timestamp_seconds":1786450152,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ba0a40"} 
[2026-08-11 17:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:40: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 17:40:29] 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-08-11 17:40: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-08-11 17:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:40:29] 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-08-11 17:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331236864001,"66":27865,"118":206,"85":14592,"24":48,"16":377864664287019008,"45":-7902621053253353472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,85,24,16,45]} 
[2026-08-11 17:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331236864001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:40:29] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-11 17:40:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377864664287019008,"km_value":377864664287019.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7902621053253353472,"description":"Unknown IO ID 45"} 
[2026-08-11 17:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331236864001,"power":27865,"unknown_118":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-7902621053253353472}} 
[2026-08-11 17:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":152748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:40:29] local.INFO: GPS data processed {"connection_id":152748,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:40:29] local.INFO: Acknowledgment sent {"connection_id":152748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:40:50] local.INFO: TCP Data received {"connection_id":152748,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ba2980012d920a40059e63700003011d29..."} 
[2026-08-11 17:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ba2980012d920a40059e63700003011d29..."} 
[2026-08-11 17:40:50] local.INFO: Processing buffer {"connection_id":152748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ba2980012d920a40059e63700003011d29..."} 
[2026-08-11 17:40:50] local.INFO: Packet analysis {"connection_id":152748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ba"} 
[2026-08-11 17:40:50] local.INFO: Extracted packet for processing {"connection_id":152748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ba"} 
[2026-08-11 17:40:50] local.INFO: GPS Element Parsed {"raw_longitude":764545600,"raw_latitude":94266224,"longitude_deg":76.45456,"latitude_deg":9.4266224,"altitude":3,"angle":285,"satellites":41,"speed":48,"hex_longitude":"2d920a40","hex_latitude":"059e6370","is_valid_coordinates":true} 
[2026-08-11 17:40: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-08-11 17:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331238912001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377865136733421568,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7912965258646808576,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786450160000,"timestamp_ms":1786450160000,"timestamp_seconds":1786450160,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ba2980"} 
[2026-08-11 17:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:40: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":217,"data_length":795,"current_offset":136} 
[2026-08-11 17:40:50] 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-08-11 17:40: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-08-11 17:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:40:50] 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-08-11 17:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331238912001,"66":27919,"118":206,"85":14592,"24":48,"16":377865136733421568,"45":-7912965258646808576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,85,24,16,45]} 
[2026-08-11 17:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331238912001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:40:50] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-11 17:40:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377865136733421568,"km_value":377865136733421.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7912965258646808576,"description":"Unknown IO ID 45"} 
[2026-08-11 17:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331238912001,"power":27919,"unknown_118":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-7912965258646808576}} 
[2026-08-11 17:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":152748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:40:50] local.INFO: GPS data processed {"connection_id":152748,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:40:50] local.INFO: Acknowledgment sent {"connection_id":152748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:40:50] local.INFO: TCP Data received {"connection_id":155067,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bb6db8012d7f7a8005dccd280002009526..."} 
[2026-08-11 17:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bb6db8012d7f7a8005dccd280002009526..."} 
[2026-08-11 17:40:50] local.INFO: Processing buffer {"connection_id":155067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bb6db8012d7f7a8005dccd280002009526..."} 
[2026-08-11 17:40:50] local.INFO: Packet analysis {"connection_id":155067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bb"} 
[2026-08-11 17:40:50] local.INFO: Extracted packet for processing {"connection_id":155067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bb"} 
[2026-08-11 17:40:50] local.INFO: GPS Element Parsed {"raw_longitude":763329152,"raw_latitude":98356520,"longitude_deg":76.3329152,"latitude_deg":9.835652,"altitude":2,"angle":149,"satellites":38,"speed":38,"hex_longitude":"2d7f7a80","hex_latitude":"05dccd28","is_valid_coordinates":true} 
[2026-08-11 17:40: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-08-11 17:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331260672001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117729331370786816,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183824827807748096,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786450243000,"timestamp_ms":1786450243000,"timestamp_seconds":1786450243,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bb6db8"} 
[2026-08-11 17:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:40:50] 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-08-11 17:40: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 17:40:50] 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-08-11 17:40: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-08-11 17:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":155067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":155067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":155067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331260672001,"66":13472,"111":206,"85":15104,"24":38,"16":117729331370786816,"45":9183824827807748096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-11 17:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331260672001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:40:50] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 17:40:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117729331370786816,"km_value":117729331370786.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183824827807748096,"description":"Unknown IO ID 45"} 
[2026-08-11 17:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331260672001,"power":13472,"unknown_111":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9183824827807748096}} 
[2026-08-11 17:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":155067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:40:50] local.INFO: GPS data processed {"connection_id":155067,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:40:50] local.INFO: Acknowledgment sent {"connection_id":155067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:40:50] local.INFO: TCP Data received {"connection_id":155068,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b7b0b0012d1820c00721b2e8004f00ce28..."} 
[2026-08-11 17:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b7b0b0012d1820c00721b2e8004f00ce28..."} 
[2026-08-11 17:40:50] local.INFO: Processing buffer {"connection_id":155068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b7b0b0012d1820c00721b2e8004f00ce28..."} 
[2026-08-11 17:40:50] local.INFO: Packet analysis {"connection_id":155068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:40:50] local.INFO: Extracted packet for processing {"connection_id":155068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b7"} 
[2026-08-11 17:40:50] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":79,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-11 17:40: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-08-11 17:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331194112001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743406954905600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:40:50] 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-08-11 17:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786449998000,"timestamp_ms":1786449998000,"timestamp_seconds":1786449998,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b7b0b0"} 
[2026-08-11 17:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:40:50] 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-08-11 17:40: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 17:40:50] 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-08-11 17:40: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-08-11 17:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":155068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":155068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":155068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331194112001,"66":12504,"105":206,"83":41984,"24":0,"16":11743406954905600,"45":1738600593027688448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331194112001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:40:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:40:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743406954905600,"km_value":11743406954905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331194112001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-08-11 17:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":155068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:40:50] local.INFO: GPS data processed {"connection_id":155068,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:40:50] local.INFO: Acknowledgment sent {"connection_id":155068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:41:10] local.INFO: TCP Data received {"connection_id":152368,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:41:10] local.INFO: Processing buffer {"connection_id":152368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:41:10] local.INFO: IMEI packet received {"connection_id":152368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":152368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:41:10] local.INFO: TCP Data received {"connection_id":155069,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:41:10] local.INFO: Processing buffer {"connection_id":155069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:41:10] local.INFO: IMEI packet received {"connection_id":155069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":155069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:41:13] local.INFO: TCP Data received {"connection_id":155069,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:41:13] local.INFO: Processing buffer {"connection_id":155069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:41:13] local.INFO: IMEI packet received {"connection_id":155069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":155069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:41:15] local.INFO: TCP Data received {"connection_id":152749,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:41:15] local.INFO: Processing buffer {"connection_id":152749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:41:15] local.INFO: IMEI packet received {"connection_id":152749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":152749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:41:15] local.INFO: TCP Data received {"connection_id":152368,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:41:15] local.INFO: Processing buffer {"connection_id":152368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:41:15] local.INFO: IMEI packet received {"connection_id":152368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":152368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:41:16] local.INFO: TCP Data received {"connection_id":152368,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b802b8012d1820c00721b2e8004f00ce29..."} 
[2026-08-11 17:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b802b8012d1820c00721b2e8004f00ce29..."} 
[2026-08-11 17:41:16] local.INFO: Processing buffer {"connection_id":152368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b802b8012d1820c00721b2e8004f00ce29..."} 
[2026-08-11 17:41:16] local.INFO: Packet analysis {"connection_id":152368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b8"} 
[2026-08-11 17:41:16] local.INFO: Extracted packet for processing {"connection_id":152368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b8"} 
[2026-08-11 17:41:16] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":79,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331199488001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743406954905600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:16] 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-08-11 17:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786450019000,"timestamp_ms":1786450019000,"timestamp_seconds":1786450019,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b802b8"} 
[2026-08-11 17:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:41:16] 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-08-11 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 17:41:16] 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-08-11 17: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-08-11 17:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331199488001,"66":12504,"105":206,"83":41984,"24":0,"16":11743406954905600,"45":1738600593027688448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331199488001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:41:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:41:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743406954905600,"km_value":11743406954905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331199488001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-08-11 17:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":152368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:41:16] local.INFO: GPS data processed {"connection_id":152368,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:41:16] local.INFO: Acknowledgment sent {"connection_id":152368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:41:19] local.INFO: TCP Data received {"connection_id":152749,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:41:19] local.INFO: Processing buffer {"connection_id":152749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:41:19] local.INFO: IMEI packet received {"connection_id":152749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":152749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:41:23] local.INFO: TCP Data received {"connection_id":155069,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:41:23] local.INFO: Processing buffer {"connection_id":155069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:41:23] local.INFO: IMEI packet received {"connection_id":155069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":155069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:41:24] local.INFO: TCP Data received {"connection_id":152749,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:41:24] local.INFO: Processing buffer {"connection_id":152749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:41:24] local.INFO: IMEI packet received {"connection_id":152749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":152749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:41:24] local.INFO: TCP Data received {"connection_id":155069,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bb7588012d7f800005dcc7380002008626..."} 
[2026-08-11 17:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bb7588012d7f800005dcc7380002008626..."} 
[2026-08-11 17:41:24] local.INFO: Processing buffer {"connection_id":155069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bb7588012d7f800005dcc7380002008626..."} 
[2026-08-11 17:41:24] local.INFO: Packet analysis {"connection_id":155069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bb"} 
[2026-08-11 17:41:24] local.INFO: Extracted packet for processing {"connection_id":155069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bb"} 
[2026-08-11 17:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763330560,"raw_latitude":98355000,"longitude_deg":76.333056,"latitude_deg":9.8355,"altitude":2,"angle":134,"satellites":38,"speed":40,"hex_longitude":"2d7f8000","hex_latitude":"05dcc738","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331262208001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117729430155034624,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9185795152643172352,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786450245000,"timestamp_ms":1786450245000,"timestamp_seconds":1786450245,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bb7588"} 
[2026-08-11 17:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:41:24] 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-08-11 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-11 17:41:24] 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-08-11 17: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-08-11 17:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331262208001,"66":13428,"111":206,"85":15104,"24":40,"16":117729430155034624,"45":9185795152643172352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-11 17:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331262208001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:41:24] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 17:41:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117729430155034624,"km_value":117729430155034.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9185795152643172352,"description":"Unknown IO ID 45"} 
[2026-08-11 17:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331262208001,"power":13428,"unknown_111":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9185795152643172352}} 
[2026-08-11 17:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":155069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:41:24] local.INFO: GPS data processed {"connection_id":155069,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:41:24] local.INFO: Acknowledgment sent {"connection_id":155069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:41:25] local.INFO: TCP Data received {"connection_id":155069,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bb8140012d7f884005dcbdf00003009226..."} 
[2026-08-11 17:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bb8140012d7f884005dcbdf00003009226..."} 
[2026-08-11 17:41:25] local.INFO: Processing buffer {"connection_id":155069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bb8140012d7f884005dcbdf00003009226..."} 
[2026-08-11 17:41:25] local.INFO: Packet analysis {"connection_id":155069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bb"} 
[2026-08-11 17:41:25] local.INFO: Extracted packet for processing {"connection_id":155069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bb"} 
[2026-08-11 17:41:25] local.INFO: GPS Element Parsed {"raw_longitude":763332672,"raw_latitude":98352624,"longitude_deg":76.3332672,"latitude_deg":9.8352624,"altitude":3,"angle":146,"satellites":38,"speed":44,"hex_longitude":"2d7f8840","hex_latitude":"05dcbdf0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331262720001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117729584773857280,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9187343265014691840,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786450248000,"timestamp_ms":1786450248000,"timestamp_seconds":1786450248,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bb8140"} 
[2026-08-11 17:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:41: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-08-11 17: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 17:41:25] 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-08-11 17: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-08-11 17:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331262720001,"66":13472,"111":206,"85":15104,"24":44,"16":117729584773857280,"45":9187343265014691840},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-11 17:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331262720001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:41:25] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 17:41:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117729584773857280,"km_value":117729584773857.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9187343265014691840,"description":"Unknown IO ID 45"} 
[2026-08-11 17:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331262720001,"power":13472,"unknown_111":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9187343265014691840}} 
[2026-08-11 17:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":155069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:41:25] local.INFO: GPS data processed {"connection_id":155069,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:41:25] local.INFO: Acknowledgment sent {"connection_id":155069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:41:27] local.INFO: TCP Data received {"connection_id":152749,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ba48c0012d91e500059e6d500003011e29..."} 
[2026-08-11 17:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ba48c0012d91e500059e6d500003011e29..."} 
[2026-08-11 17:41:27] local.INFO: Processing buffer {"connection_id":152749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ba48c0012d91e500059e6d500003011e29..."} 
[2026-08-11 17:41:27] local.INFO: Packet analysis {"connection_id":152749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ba"} 
[2026-08-11 17:41:27] local.INFO: Extracted packet for processing {"connection_id":152749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ba"} 
[2026-08-11 17:41:27] local.INFO: GPS Element Parsed {"raw_longitude":764536064,"raw_latitude":94268752,"longitude_deg":76.4536064,"latitude_deg":9.4268752,"altitude":3,"angle":286,"satellites":41,"speed":49,"hex_longitude":"2d91e500","hex_latitude":"059e6d50","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331240960001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377865609179824128,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7923450201528635392,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786450168000,"timestamp_ms":1786450168000,"timestamp_seconds":1786450168,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ba48c0"} 
[2026-08-11 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-08-11 17:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 17:41:27] 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-08-11 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-08-11 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-08-11 17:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:41:27] 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-08-11 17:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331240960001,"66":27865,"118":206,"85":14592,"24":49,"16":377865609179824128,"45":-7923450201528635392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,85,24,16,45]} 
[2026-08-11 17:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331240960001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:41:27] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-11 17:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377865609179824128,"km_value":377865609179824.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7923450201528635392,"description":"Unknown IO ID 45"} 
[2026-08-11 17:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331240960001,"power":27865,"unknown_118":206,"unknown_85":14592,"ignition":49,"odometer":null,"unknown_45":-7923450201528635392}} 
[2026-08-11 17:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":152749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:41:27] local.INFO: GPS data processed {"connection_id":152749,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:41:27] local.INFO: Acknowledgment sent {"connection_id":152749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:41:47] local.INFO: TCP Data received {"connection_id":152368,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b854c0012d1820c00721b2e8004f00ce28..."} 
[2026-08-11 17:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b854c0012d1820c00721b2e8004f00ce28..."} 
[2026-08-11 17:41:47] local.INFO: Processing buffer {"connection_id":152368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b854c0012d1820c00721b2e8004f00ce28..."} 
[2026-08-11 17:41:47] local.INFO: Packet analysis {"connection_id":152368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b8"} 
[2026-08-11 17:41:47] local.INFO: Extracted packet for processing {"connection_id":152368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b8"} 
[2026-08-11 17:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":79,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-11 17:41: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-08-11 17:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331204864001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743406954905600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:47] 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-08-11 17:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786450040000,"timestamp_ms":1786450040000,"timestamp_seconds":1786450040,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b854c0"} 
[2026-08-11 17:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:41:47] 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-08-11 17:41: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 17:41:47] 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-08-11 17:41: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-08-11 17:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331204864001,"66":12461,"105":206,"83":41984,"24":0,"16":11743406954905600,"45":1738600593027688448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331204864001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:41:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:41:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743406954905600,"km_value":11743406954905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331204864001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-08-11 17:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":152368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:41:47] local.INFO: GPS data processed {"connection_id":152368,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:41:47] local.INFO: Acknowledgment sent {"connection_id":152368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:41:58] local.INFO: TCP Data received {"connection_id":152749,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bbbfc0012d905640059ed6d80003011b29..."} 
[2026-08-11 17:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bbbfc0012d905640059ed6d80003011b29..."} 
[2026-08-11 17:41:58] local.INFO: Processing buffer {"connection_id":152749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bbbfc0012d905640059ed6d80003011b29..."} 
[2026-08-11 17:41:58] local.INFO: Packet analysis {"connection_id":152749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bb"} 
[2026-08-11 17:41:58] local.INFO: Extracted packet for processing {"connection_id":152749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bb"} 
[2026-08-11 17:41:58] local.INFO: GPS Element Parsed {"raw_longitude":764433984,"raw_latitude":94295768,"longitude_deg":76.4433984,"latitude_deg":9.4295768,"altitude":3,"angle":283,"satellites":41,"speed":56,"hex_longitude":"2d905640","hex_latitude":"059ed6d8","is_valid_coordinates":true} 
[2026-08-11 17:41: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-08-11 17:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331265792001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377870664356331520,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8036040192205955072,"note":"Value kept but may cause issues"} 
[2026-08-11 17:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786450264000,"timestamp_ms":1786450264000,"timestamp_seconds":1786450264,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bbbfc0"} 
[2026-08-11 17:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:41: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 17:41:58] 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-08-11 17:41: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-08-11 17:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:41:58] 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-08-11 17:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331265792001,"66":27865,"119":206,"85":14592,"24":56,"16":377870664356331520,"45":-8036040192205955072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-11 17:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331265792001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:41:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-11 17:41:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377870664356331520,"km_value":377870664356331.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8036040192205955072,"description":"Unknown IO ID 45"} 
[2026-08-11 17:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331265792001,"power":27865,"unknown_119":206,"unknown_85":14592,"ignition":56,"odometer":null,"unknown_45":-8036040192205955072}} 
[2026-08-11 17:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":152749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:41:58] local.INFO: GPS data processed {"connection_id":152749,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:41:58] local.INFO: Acknowledgment sent {"connection_id":152749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:42:05] local.INFO: TCP Data received {"connection_id":153687,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:42:05] local.INFO: Processing buffer {"connection_id":153687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:42:05] local.INFO: IMEI packet received {"connection_id":153687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":153687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:42:08] local.INFO: TCP Data received {"connection_id":153687,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:42:08] local.INFO: Processing buffer {"connection_id":153687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:42:08] local.INFO: IMEI packet received {"connection_id":153687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":153687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:42:13] local.INFO: TCP Data received {"connection_id":153687,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:42:13] local.INFO: Processing buffer {"connection_id":153687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:42:13] local.INFO: IMEI packet received {"connection_id":153687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":153687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:42:14] local.INFO: TCP Data received {"connection_id":153687,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bb8910012d7f8c0005dcb5d8000300a124..."} 
[2026-08-11 17:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bb8910012d7f8c0005dcb5d8000300a124..."} 
[2026-08-11 17:42:14] local.INFO: Processing buffer {"connection_id":153687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bb8910012d7f8c0005dcb5d8000300a124..."} 
[2026-08-11 17:42:14] local.INFO: Packet analysis {"connection_id":153687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bb"} 
[2026-08-11 17:42:14] local.INFO: Extracted packet for processing {"connection_id":153687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bb"} 
[2026-08-11 17:42:14] local.INFO: GPS Element Parsed {"raw_longitude":763333632,"raw_latitude":98350552,"longitude_deg":76.3333632,"latitude_deg":9.8350552,"altitude":3,"angle":161,"satellites":36,"speed":45,"hex_longitude":"2d7f8c00","hex_latitude":"05dcb5d8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331263488001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117729696443006976,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665433571946496,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786450250000,"timestamp_ms":1786450250000,"timestamp_seconds":1786450250,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bb8910"} 
[2026-08-11 17:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:42: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-08-11 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-11 17:42: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-08-11 17: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-08-11 17:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331263488001,"66":13091,"111":206,"85":15104,"24":45,"16":117729696443006976,"45":9189665433571946496},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-11 17:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331263488001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:42:14] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 17:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117729696443006976,"km_value":117729696443006.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665433571946496,"description":"Unknown IO ID 45"} 
[2026-08-11 17:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331263488001,"power":13091,"unknown_111":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9189665433571946496}} 
[2026-08-11 17:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":153687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:42:14] local.INFO: GPS data processed {"connection_id":153687,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:42:14] local.INFO: Acknowledgment sent {"connection_id":153687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:42:15] local.INFO: TCP Data received {"connection_id":152369,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:42:15] local.INFO: Processing buffer {"connection_id":152369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:42:15] local.INFO: IMEI packet received {"connection_id":152369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":152369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:42:19] local.INFO: TCP Data received {"connection_id":152750,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:42:19] local.INFO: Processing buffer {"connection_id":152750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:42:19] local.INFO: IMEI packet received {"connection_id":152750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":152750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:42:19] local.INFO: TCP Data received {"connection_id":152750,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:42:19] local.INFO: Processing buffer {"connection_id":152750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:42:19] local.INFO: IMEI packet received {"connection_id":152750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":152750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:42:20] local.INFO: TCP Data received {"connection_id":152369,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:42:20] local.INFO: Processing buffer {"connection_id":152369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:42:20] local.INFO: IMEI packet received {"connection_id":152369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":152369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:42:20] local.INFO: TCP Data received {"connection_id":152369,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b8a6c8012d1820c00721b2e8004f00ce27..."} 
[2026-08-11 17:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b8a6c8012d1820c00721b2e8004f00ce27..."} 
[2026-08-11 17:42:20] local.INFO: Processing buffer {"connection_id":152369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b8a6c8012d1820c00721b2e8004f00ce27..."} 
[2026-08-11 17:42:20] local.INFO: Packet analysis {"connection_id":152369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b8"} 
[2026-08-11 17:42:20] local.INFO: Extracted packet for processing {"connection_id":152369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b8"} 
[2026-08-11 17:42:20] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":79,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-11 17:42: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-08-11 17:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331210240001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743406954905600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:20] 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-08-11 17:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786450061000,"timestamp_ms":1786450061000,"timestamp_seconds":1786450061,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b8a6c8"} 
[2026-08-11 17:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:42: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-08-11 17:42: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 17:42:20] 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-08-11 17:42: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-08-11 17:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331210240001,"66":12428,"105":206,"83":41984,"24":0,"16":11743406954905600,"45":1738600593027688448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331210240001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:42:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:42:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743406954905600,"km_value":11743406954905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331210240001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-08-11 17:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":152369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:42:20] local.INFO: GPS data processed {"connection_id":152369,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:42:20] local.INFO: Acknowledgment sent {"connection_id":152369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:42:22] local.INFO: TCP Data received {"connection_id":152369,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b8f8d0012d1820c00721b2e8004f00ce23..."} 
[2026-08-11 17:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b8f8d0012d1820c00721b2e8004f00ce23..."} 
[2026-08-11 17:42:22] local.INFO: Processing buffer {"connection_id":152369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b8f8d0012d1820c00721b2e8004f00ce23..."} 
[2026-08-11 17:42:22] local.INFO: Packet analysis {"connection_id":152369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b8"} 
[2026-08-11 17:42:22] local.INFO: Extracted packet for processing {"connection_id":152369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b8"} 
[2026-08-11 17:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":79,"angle":206,"satellites":35,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-11 17:42: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-08-11 17:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331215616001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743406954905600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42: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-08-11 17:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786450082000,"timestamp_ms":1786450082000,"timestamp_seconds":1786450082,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b8f8d0"} 
[2026-08-11 17:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:42: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-08-11 17:42: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 17:42:22] 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-08-11 17:42: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-08-11 17:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331215616001,"66":12461,"105":206,"83":41984,"24":0,"16":11743406954905600,"45":1738600593027688448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331215616001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:42:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743406954905600,"km_value":11743406954905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331215616001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-08-11 17:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":152369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:42:22] local.INFO: GPS data processed {"connection_id":152369,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:42:22] local.INFO: Acknowledgment sent {"connection_id":152369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:42:24] local.INFO: TCP Data received {"connection_id":152750,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:42:24] local.INFO: Processing buffer {"connection_id":152750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:42:24] local.INFO: IMEI packet received {"connection_id":152750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":152750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:42:25] local.INFO: TCP Data received {"connection_id":152750,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bbdb18012d902f40059ee1700003011d29..."} 
[2026-08-11 17:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bbdb18012d902f40059ee1700003011d29..."} 
[2026-08-11 17:42:25] local.INFO: Processing buffer {"connection_id":152750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bbdb18012d902f40059ee1700003011d29..."} 
[2026-08-11 17:42:25] local.INFO: Packet analysis {"connection_id":152750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bb"} 
[2026-08-11 17:42:25] local.INFO: Extracted packet for processing {"connection_id":152750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bb"} 
[2026-08-11 17:42:25] local.INFO: GPS Element Parsed {"raw_longitude":764424000,"raw_latitude":94298480,"longitude_deg":76.4424,"latitude_deg":9.429848,"altitude":3,"angle":285,"satellites":41,"speed":55,"hex_longitude":"2d902f40","hex_latitude":"059ee170","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331267584001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377871158277570560,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8046173291366918144,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786450271000,"timestamp_ms":1786450271000,"timestamp_seconds":1786450271,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bbdb18"} 
[2026-08-11 17:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 17:42:25] 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-08-11 17: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-08-11 17:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:42:25] 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-08-11 17:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331267584001,"66":27865,"119":206,"85":14592,"24":55,"16":377871158277570560,"45":-8046173291366918144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-11 17:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331267584001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:42:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-11 17:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377871158277570560,"km_value":377871158277570.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8046173291366918144,"description":"Unknown IO ID 45"} 
[2026-08-11 17:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331267584001,"power":27865,"unknown_119":206,"unknown_85":14592,"ignition":55,"odometer":null,"unknown_45":-8046173291366918144}} 
[2026-08-11 17:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":152750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:42:25] local.INFO: GPS data processed {"connection_id":152750,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:42:25] local.INFO: Acknowledgment sent {"connection_id":152750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:42:45] local.INFO: TCP Data received {"connection_id":153687,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bcf840012d80730005dc95b00007009f26..."} 
[2026-08-11 17:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bcf840012d80730005dc95b00007009f26..."} 
[2026-08-11 17:42:45] local.INFO: Processing buffer {"connection_id":153687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bcf840012d80730005dc95b00007009f26..."} 
[2026-08-11 17:42:45] local.INFO: Packet analysis {"connection_id":153687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bc"} 
[2026-08-11 17:42:45] local.INFO: Extracted packet for processing {"connection_id":153687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bc"} 
[2026-08-11 17:42:45] local.INFO: GPS Element Parsed {"raw_longitude":763392768,"raw_latitude":98342320,"longitude_deg":76.3392768,"latitude_deg":9.834232,"altitude":7,"angle":159,"satellites":38,"speed":34,"hex_longitude":"2d807300","hex_latitude":"05dc95b0","is_valid_coordinates":true} 
[2026-08-11 17:42: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-08-11 17:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331286528001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117733214021222400,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192831976705107968,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786450344000,"timestamp_ms":1786450344000,"timestamp_seconds":1786450344,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bcf840"} 
[2026-08-11 17:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:42: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-08-11 17:42: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":106,"data_length":795,"current_offset":136} 
[2026-08-11 17:42:45] 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-08-11 17:42: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-08-11 17:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331286528001,"66":13015,"251":206,"85":15104,"24":34,"16":117733214021222400,"45":-9192831976705107968},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-11 17:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331286528001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:42:45] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-11 17:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117733214021222400,"km_value":117733214021222.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192831976705107968,"description":"Unknown IO ID 45"} 
[2026-08-11 17:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331286528001,"power":13015,"unknown_251":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9192831976705107968}} 
[2026-08-11 17:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":153687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:42:45] local.INFO: GPS data processed {"connection_id":153687,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:42:45] local.INFO: Acknowledgment sent {"connection_id":153687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:42:53] local.INFO: TCP Data received {"connection_id":152369,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b94ad8012d1820c00721b2e8004f00ce24..."} 
[2026-08-11 17:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b94ad8012d1820c00721b2e8004f00ce24..."} 
[2026-08-11 17:42:53] local.INFO: Processing buffer {"connection_id":152369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b94ad8012d1820c00721b2e8004f00ce24..."} 
[2026-08-11 17:42:53] local.INFO: Packet analysis {"connection_id":152369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:42:53] local.INFO: Extracted packet for processing {"connection_id":152369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:42:53] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":79,"angle":206,"satellites":36,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331220992001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743406954905600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42: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-08-11 17:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786450103000,"timestamp_ms":1786450103000,"timestamp_seconds":1786450103,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b94ad8"} 
[2026-08-11 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-08-11 17:42: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-08-11 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 17:42: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-08-11 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-08-11 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-08-11 17:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331220992001,"66":12461,"105":206,"83":41984,"24":0,"16":11743406954905600,"45":1738600593027688448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331220992001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:42:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:42:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743406954905600,"km_value":11743406954905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331220992001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-08-11 17:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":152369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:42:53] local.INFO: GPS data processed {"connection_id":152369,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:42:53] local.INFO: Acknowledgment sent {"connection_id":152369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:42:56] local.INFO: TCP Data received {"connection_id":152750,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bbfa58012d900980059eeb380003011c29..."} 
[2026-08-11 17:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bbfa58012d900980059eeb380003011c29..."} 
[2026-08-11 17:42:56] local.INFO: Processing buffer {"connection_id":152750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bbfa58012d900980059eeb380003011c29..."} 
[2026-08-11 17:42:56] local.INFO: Packet analysis {"connection_id":152750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bb"} 
[2026-08-11 17:42:56] local.INFO: Extracted packet for processing {"connection_id":152750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bb"} 
[2026-08-11 17:42:56] local.INFO: GPS Element Parsed {"raw_longitude":764414336,"raw_latitude":94300984,"longitude_deg":76.4414336,"latitude_deg":9.4300984,"altitude":3,"angle":284,"satellites":41,"speed":52,"hex_longitude":"2d900980","hex_latitude":"059eeb38","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331269376001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377871635018940416,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8057150815457939456,"note":"Value kept but may cause issues"} 
[2026-08-11 17:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786450279000,"timestamp_ms":1786450279000,"timestamp_seconds":1786450279,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bbfa58"} 
[2026-08-11 17:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 17:42:56] 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-08-11 17: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-08-11 17:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:42:56] 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-08-11 17:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331269376001,"66":27887,"119":206,"85":14592,"24":52,"16":377871635018940416,"45":-8057150815457939456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-11 17:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331269376001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:42:56] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-11 17:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377871635018940416,"km_value":377871635018940.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8057150815457939456,"description":"Unknown IO ID 45"} 
[2026-08-11 17:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331269376001,"power":27887,"unknown_119":206,"unknown_85":14592,"ignition":52,"odometer":null,"unknown_45":-8057150815457939456}} 
[2026-08-11 17:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":152750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:42:56] local.INFO: GPS data processed {"connection_id":152750,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:42:56] local.INFO: Acknowledgment sent {"connection_id":152750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:43:07] local.INFO: TCP Data received {"connection_id":153688,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:43:07] local.INFO: Processing buffer {"connection_id":153688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:43:07] local.INFO: IMEI packet received {"connection_id":153688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":153688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:43:10] local.INFO: TCP Data received {"connection_id":153689,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:43:10] local.INFO: Processing buffer {"connection_id":153689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:43:10] local.INFO: IMEI packet received {"connection_id":153689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":153689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:43:15] local.INFO: TCP Data received {"connection_id":153689,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:43:15] local.INFO: Processing buffer {"connection_id":153689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:43:15] local.INFO: IMEI packet received {"connection_id":153689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":153689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:43:16] local.INFO: TCP Data received {"connection_id":153689,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b99ce0012d1820c00721b2e8004f00ce25..."} 
[2026-08-11 17:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b99ce0012d1820c00721b2e8004f00ce25..."} 
[2026-08-11 17:43:16] local.INFO: Processing buffer {"connection_id":153689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b99ce0012d1820c00721b2e8004f00ce25..."} 
[2026-08-11 17:43:16] local.INFO: Packet analysis {"connection_id":153689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:43:16] local.INFO: Extracted packet for processing {"connection_id":153689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:43:16] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":79,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331226368001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743406954905600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:16] 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-08-11 17:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786450124000,"timestamp_ms":1786450124000,"timestamp_seconds":1786450124,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b99ce0"} 
[2026-08-11 17:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:43:16] 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-08-11 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 17:43:16] 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-08-11 17: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-08-11 17:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331226368001,"66":12428,"105":206,"83":41984,"24":0,"16":11743406954905600,"45":1738600593027688448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331226368001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:43:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:43:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743406954905600,"km_value":11743406954905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331226368001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-08-11 17:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":153689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:43:16] local.INFO: GPS data processed {"connection_id":153689,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:43:16] local.INFO: Acknowledgment sent {"connection_id":153689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:43:16] local.INFO: TCP Data received {"connection_id":153688,"ip":"42.106.6.35","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 17:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153688,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 17:43:16] local.INFO: Processing buffer {"connection_id":153688,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 17:43:16] local.INFO: IMEI packet received {"connection_id":153688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":153688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:43:16] local.INFO: TCP Data received {"connection_id":153688,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bd1b68012d807f0005dc7498000800a021..."} 
[2026-08-11 17:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bd1b68012d807f0005dc7498000800a021..."} 
[2026-08-11 17:43:16] local.INFO: Processing buffer {"connection_id":153688,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019ff0..."} 
[2026-08-11 17:43:16] local.INFO: IMEI packet received {"connection_id":153688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":153688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:43:18] local.INFO: TCP Data received {"connection_id":153688,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bd36c0012d808b8005dc58800009009321..."} 
[2026-08-11 17:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bd36c0012d808b8005dc58800009009321..."} 
[2026-08-11 17:43:18] local.INFO: Processing buffer {"connection_id":153688,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ff0bd1b68012d807f0005dc7498000800a021..."} 
[2026-08-11 17:43:18] local.INFO: Packet analysis {"connection_id":153688,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff0bd"} 
[2026-08-11 17:43:18] local.INFO: Extracted packet for processing {"connection_id":153688,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bd"} 
[2026-08-11 17:43:18] local.INFO: GPS Element Parsed {"raw_longitude":763395840,"raw_latitude":98333848,"longitude_deg":76.339584,"latitude_deg":9.8333848,"altitude":8,"angle":160,"satellites":33,"speed":39,"hex_longitude":"2d807f00","hex_latitude":"05dc7498","is_valid_coordinates":true} 
[2026-08-11 17:43: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-08-11 17:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331288064001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117733652107886592,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191002389357416448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786450353000,"timestamp_ms":1786450353000,"timestamp_seconds":1786450353,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bd1b68"} 
[2026-08-11 17:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:43: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-11 17:43:18] 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-08-11 17:43: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-08-11 17:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331288064001,"66":13374,"251":206,"85":15104,"24":39,"16":117733652107886592,"45":-9191002389357416448},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-11 17:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331288064001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:43:18] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-11 17:43:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117733652107886592,"km_value":117733652107886.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191002389357416448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331288064001,"power":13374,"unknown_251":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9191002389357416448}} 
[2026-08-11 17:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":153688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:43:18] local.INFO: GPS data processed {"connection_id":153688,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:43:18] local.INFO: Acknowledgment sent {"connection_id":153688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:43:18] local.INFO: Packet analysis {"connection_id":153688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bd"} 
[2026-08-11 17:43:18] local.INFO: Extracted packet for processing {"connection_id":153688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bd"} 
[2026-08-11 17:43:18] local.INFO: GPS Element Parsed {"raw_longitude":763399040,"raw_latitude":98326656,"longitude_deg":76.339904,"latitude_deg":9.8326656,"altitude":9,"angle":147,"satellites":33,"speed":48,"hex_longitude":"2d808b80","hex_latitude":"05dc5880","is_valid_coordinates":true} 
[2026-08-11 17:43: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-08-11 17:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331290368001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117734034359975936,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187624689639057408,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786450360000,"timestamp_ms":1786450360000,"timestamp_seconds":1786450360,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bd36c0"} 
[2026-08-11 17:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:43: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 17:43:18] 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-08-11 17:43: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-08-11 17:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331290368001,"66":13352,"251":206,"85":15104,"24":48,"16":117734034359975936,"45":-9187624689639057408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-11 17:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331290368001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:43:18] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-11 17:43:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117734034359975936,"km_value":117734034359975.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187624689639057408,"description":"Unknown IO ID 45"} 
[2026-08-11 17:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331290368001,"power":13352,"unknown_251":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9187624689639057408}} 
[2026-08-11 17:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":153688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:43:18] local.INFO: GPS data processed {"connection_id":153688,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:43:18] local.INFO: Acknowledgment sent {"connection_id":153688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:43:19] local.INFO: TCP Data received {"connection_id":152751,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:43:19] local.INFO: Processing buffer {"connection_id":152751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:43:19] local.INFO: IMEI packet received {"connection_id":152751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":152751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:43:20] local.INFO: TCP Data received {"connection_id":153689,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0b9eee8012d1820c00721b2e8004f00ce27..."} 
[2026-08-11 17:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0b9eee8012d1820c00721b2e8004f00ce27..."} 
[2026-08-11 17:43:20] local.INFO: Processing buffer {"connection_id":153689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0b9eee8012d1820c00721b2e8004f00ce27..."} 
[2026-08-11 17:43:20] local.INFO: Packet analysis {"connection_id":153689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:43:20] local.INFO: Extracted packet for processing {"connection_id":153689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0b9"} 
[2026-08-11 17:43:20] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":79,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-11 17:43: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-08-11 17:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331231744001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743406954905600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:20] 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-08-11 17:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786450145000,"timestamp_ms":1786450145000,"timestamp_seconds":1786450145,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0b9eee8"} 
[2026-08-11 17:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:43: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-08-11 17:43: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 17:43:20] 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-08-11 17:43: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-08-11 17:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331231744001,"66":12504,"107":206,"83":41984,"24":0,"16":11743406954905600,"45":1738600593027688448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 17:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331231744001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:43:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 17:43:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743406954905600,"km_value":11743406954905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331231744001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-08-11 17:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":153689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:43:20] local.INFO: GPS data processed {"connection_id":153689,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:43:20] local.INFO: Acknowledgment sent {"connection_id":153689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:43:23] local.INFO: TCP Data received {"connection_id":152751,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:43:23] local.INFO: Processing buffer {"connection_id":152751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:43:23] local.INFO: IMEI packet received {"connection_id":152751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":152751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:43:23] local.INFO: TCP Data received {"connection_id":153688,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bd5218012d8099c005dc3df0000900a023..."} 
[2026-08-11 17:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bd5218012d8099c005dc3df0000900a023..."} 
[2026-08-11 17:43:23] local.INFO: Processing buffer {"connection_id":153688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bd5218012d8099c005dc3df0000900a023..."} 
[2026-08-11 17:43:23] local.INFO: Packet analysis {"connection_id":153688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bd"} 
[2026-08-11 17:43:23] local.INFO: Extracted packet for processing {"connection_id":153688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bd"} 
[2026-08-11 17:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763402688,"raw_latitude":98319856,"longitude_deg":76.3402688,"latitude_deg":9.8319856,"altitude":9,"angle":160,"satellites":35,"speed":38,"hex_longitude":"2d8099c0","hex_latitude":"05dc3df0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331292160001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117734408022130688,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184106252432015360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786450367000,"timestamp_ms":1786450367000,"timestamp_seconds":1786450367,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bd5218"} 
[2026-08-11 17:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:43: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-08-11 17: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-11 17:43:23] 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-08-11 17: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-08-11 17:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331292160001,"66":13222,"251":206,"85":15104,"24":38,"16":117734408022130688,"45":-9184106252432015360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-11 17:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331292160001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:43:23] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-11 17:43:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117734408022130688,"km_value":117734408022130.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184106252432015360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331292160001,"power":13222,"unknown_251":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9184106252432015360}} 
[2026-08-11 17:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":153688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:43:23] local.INFO: GPS data processed {"connection_id":153688,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:43:23] local.INFO: Acknowledgment sent {"connection_id":153688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:43:24] local.INFO: TCP Data received {"connection_id":152751,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bc1998012d8fe380059ef5d00004011d2a..."} 
[2026-08-11 17:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bc1998012d8fe380059ef5d00004011d2a..."} 
[2026-08-11 17:43:24] local.INFO: Processing buffer {"connection_id":152751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bc1998012d8fe380059ef5d00004011d2a..."} 
[2026-08-11 17:43:24] local.INFO: Packet analysis {"connection_id":152751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bc"} 
[2026-08-11 17:43:24] local.INFO: Extracted packet for processing {"connection_id":152751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bc"} 
[2026-08-11 17:43:24] local.INFO: GPS Element Parsed {"raw_longitude":764404608,"raw_latitude":94303696,"longitude_deg":76.4404608,"latitude_deg":9.4303696,"altitude":4,"angle":285,"satellites":42,"speed":49,"hex_longitude":"2d8fe380","hex_latitude":"059ef5d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331271424001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377872120350244864,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8067776495828125696,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786450287000,"timestamp_ms":1786450287000,"timestamp_seconds":1786450287,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bc1998"} 
[2026-08-11 17:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 17:43:24] 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-08-11 17: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-08-11 17:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:43:24] 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-08-11 17:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331271424001,"66":27843,"119":206,"85":14592,"24":49,"16":377872120350244864,"45":-8067776495828125696},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-11 17:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331271424001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:43:24] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-11 17:43:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377872120350244864,"km_value":377872120350244.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8067776495828125696,"description":"Unknown IO ID 45"} 
[2026-08-11 17:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331271424001,"power":27843,"unknown_119":206,"unknown_85":14592,"ignition":49,"odometer":null,"unknown_45":-8067776495828125696}} 
[2026-08-11 17:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":152751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:43:24] local.INFO: GPS data processed {"connection_id":152751,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:43:24] local.INFO: Acknowledgment sent {"connection_id":152751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:43:51] local.INFO: TCP Data received {"connection_id":153689,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ba40f0012d1820c00721b2e8004f00ce26..."} 
[2026-08-11 17:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ba40f0012d1820c00721b2e8004f00ce26..."} 
[2026-08-11 17:43:51] local.INFO: Processing buffer {"connection_id":153689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ba40f0012d1820c00721b2e8004f00ce26..."} 
[2026-08-11 17:43:51] local.INFO: Packet analysis {"connection_id":153689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ba"} 
[2026-08-11 17:43:51] local.INFO: Extracted packet for processing {"connection_id":153689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ba"} 
[2026-08-11 17:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":79,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-11 17:43: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-08-11 17:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331237120001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743406954905600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:51] 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-08-11 17:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786450166000,"timestamp_ms":1786450166000,"timestamp_seconds":1786450166,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ba40f0"} 
[2026-08-11 17:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:43:51] 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-08-11 17:43: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 17:43:51] 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-08-11 17:43: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-08-11 17:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331237120001,"66":12461,"107":206,"83":41984,"24":0,"16":11743406954905600,"45":1738600593027688448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 17:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331237120001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:43:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 17:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743406954905600,"km_value":11743406954905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331237120001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-08-11 17:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":153689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:43:51] local.INFO: GPS data processed {"connection_id":153689,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:43:51] local.INFO: Acknowledgment sent {"connection_id":153689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:43:55] local.INFO: TCP Data received {"connection_id":152751,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bd6d70012d8e2e80059f69a00003011e29..."} 
[2026-08-11 17:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bd6d70012d8e2e80059f69a00003011e29..."} 
[2026-08-11 17:43:55] local.INFO: Processing buffer {"connection_id":152751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bd6d70012d8e2e80059f69a00003011e29..."} 
[2026-08-11 17:43:55] local.INFO: Packet analysis {"connection_id":152751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bd"} 
[2026-08-11 17:43:55] local.INFO: Extracted packet for processing {"connection_id":152751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bd"} 
[2026-08-11 17:43:55] local.INFO: GPS Element Parsed {"raw_longitude":764292736,"raw_latitude":94333344,"longitude_deg":76.4292736,"latitude_deg":9.4333344,"altitude":3,"angle":286,"satellites":41,"speed":44,"hex_longitude":"2d8e2e80","hex_latitude":"059f69a0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331293440001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377877660858056704,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8190992166875688960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786450374000,"timestamp_ms":1786450374000,"timestamp_seconds":1786450374,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bd6d70"} 
[2026-08-11 17:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 17:43:55] 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-08-11 17: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-08-11 17:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:43:55] 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-08-11 17:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331293440001,"66":27919,"237":206,"85":14592,"24":44,"16":377877660858056704,"45":-8190992166875688960},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-11 17:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331293440001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:43:55] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-11 17:43:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377877660858056704,"km_value":377877660858056.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8190992166875688960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331293440001,"power":27919,"unknown_237":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-8190992166875688960}} 
[2026-08-11 17:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":152751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:43:55] local.INFO: GPS data processed {"connection_id":152751,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:43:55] local.INFO: Acknowledgment sent {"connection_id":152751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:44:07] local.INFO: TCP Data received {"connection_id":152753,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:44:07] local.INFO: Processing buffer {"connection_id":152753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:44:07] local.INFO: IMEI packet received {"connection_id":152753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":152753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:44:08] local.INFO: TCP Data received {"connection_id":152752,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:44:08] local.INFO: Processing buffer {"connection_id":152752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:44:08] local.INFO: IMEI packet received {"connection_id":152752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":152752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:44:10] local.INFO: TCP Data received {"connection_id":152753,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:44:10] local.INFO: Processing buffer {"connection_id":152753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:44:10] local.INFO: IMEI packet received {"connection_id":152753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":152753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:44:10] local.INFO: TCP Data received {"connection_id":152752,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:44:10] local.INFO: Processing buffer {"connection_id":152752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:44:10] local.INFO: IMEI packet received {"connection_id":152752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":152752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:44:11] local.INFO: TCP Data received {"connection_id":152752,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0be7328012d812ec005db1cb00008009324..."} 
[2026-08-11 17:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0be7328012d812ec005db1cb00008009324..."} 
[2026-08-11 17:44:11] local.INFO: Processing buffer {"connection_id":152752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0be7328012d812ec005db1cb00008009324..."} 
[2026-08-11 17:44:11] local.INFO: Packet analysis {"connection_id":152752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:44:11] local.INFO: Extracted packet for processing {"connection_id":152752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763440832,"raw_latitude":98245808,"longitude_deg":76.3440832,"latitude_deg":9.8245808,"altitude":8,"angle":147,"satellites":36,"speed":47,"hex_longitude":"2d812ec0","hex_latitude":"05db1cb0","is_valid_coordinates":true} 
[2026-08-11 17:44: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-08-11 17:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331311104001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117738453881323520,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143714593292777472,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786450441000,"timestamp_ms":1786450441000,"timestamp_seconds":1786450441,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0be7328"} 
[2026-08-11 17:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:44: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-08-11 17:44: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-11 17:44:11] 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-08-11 17:44: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-08-11 17:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331311104001,"66":13374,"154":206,"85":15104,"24":47,"16":117738453881323520,"45":-9143714593292777472},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-11 17:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331311104001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:44:11] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 17:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117738453881323520,"km_value":117738453881323.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143714593292777472,"description":"Unknown IO ID 45"} 
[2026-08-11 17:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331311104001,"power":13374,"unknown_154":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9143714593292777472}} 
[2026-08-11 17:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":152752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:44:11] local.INFO: GPS data processed {"connection_id":152752,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:44:11] local.INFO: Acknowledgment sent {"connection_id":152752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:44:15] local.INFO: TCP Data received {"connection_id":152753,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:44:15] local.INFO: Processing buffer {"connection_id":152753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:44:15] local.INFO: IMEI packet received {"connection_id":152753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":152753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:44:15] local.INFO: TCP Data received {"connection_id":152753,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ba92f8012d1820c00721b2e8004f00ce25..."} 
[2026-08-11 17:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ba92f8012d1820c00721b2e8004f00ce25..."} 
[2026-08-11 17:44:15] local.INFO: Processing buffer {"connection_id":152753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ba92f8012d1820c00721b2e8004f00ce25..."} 
[2026-08-11 17:44:15] local.INFO: Packet analysis {"connection_id":152753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ba"} 
[2026-08-11 17:44:15] local.INFO: Extracted packet for processing {"connection_id":152753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ba"} 
[2026-08-11 17:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":79,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-11 17:44: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-08-11 17:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331242496001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743406954905600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:15] 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-08-11 17:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786450187000,"timestamp_ms":1786450187000,"timestamp_seconds":1786450187,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ba92f8"} 
[2026-08-11 17:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:44:15] 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-08-11 17:44: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 17:44:15] 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-08-11 17:44: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-08-11 17:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331242496001,"66":12461,"107":206,"83":41984,"24":0,"16":11743406954905600,"45":1738600593027688448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 17:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331242496001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:44:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 17:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743406954905600,"km_value":11743406954905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331242496001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-08-11 17:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":152753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:44:15] local.INFO: GPS data processed {"connection_id":152753,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:44:15] local.INFO: Acknowledgment sent {"connection_id":152753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:44:19] local.INFO: TCP Data received {"connection_id":152370,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:44:19] local.INFO: Processing buffer {"connection_id":152370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:44:19] local.INFO: IMEI packet received {"connection_id":152370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":152370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:44:21] local.INFO: TCP Data received {"connection_id":152370,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:44:21] local.INFO: Processing buffer {"connection_id":152370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:44:21] local.INFO: IMEI packet received {"connection_id":152370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":152370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:44:24] local.INFO: TCP Data received {"connection_id":152370,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:44:24] local.INFO: Processing buffer {"connection_id":152370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:44:24] local.INFO: IMEI packet received {"connection_id":152370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":152370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:44:24] local.INFO: TCP Data received {"connection_id":152370,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bd9480012d8e0a80059f72c00004011c29..."} 
[2026-08-11 17:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bd9480012d8e0a80059f72c00004011c29..."} 
[2026-08-11 17:44:24] local.INFO: Processing buffer {"connection_id":152370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bd9480012d8e0a80059f72c00004011c29..."} 
[2026-08-11 17:44:24] local.INFO: Packet analysis {"connection_id":152370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bd"} 
[2026-08-11 17:44:24] local.INFO: Extracted packet for processing {"connection_id":152370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bd"} 
[2026-08-11 17:44:24] local.INFO: GPS Element Parsed {"raw_longitude":764283520,"raw_latitude":94335680,"longitude_deg":76.428352,"latitude_deg":9.433568,"altitude":4,"angle":284,"satellites":41,"speed":27,"hex_longitude":"2d8e0a80","hex_latitude":"059f72c0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331295744001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377878116124590080,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8201477109757403136,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786450384000,"timestamp_ms":1786450384000,"timestamp_seconds":1786450384,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bd9480"} 
[2026-08-11 17:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 17:44:24] 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-08-11 17: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-08-11 17:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:44:24] 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-08-11 17:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331295744001,"66":27930,"237":206,"85":14592,"24":27,"16":377878116124590080,"45":-8201477109757403136},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-11 17:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331295744001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:44:24] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-11 17:44:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377878116124590080,"km_value":377878116124590.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8201477109757403136,"description":"Unknown IO ID 45"} 
[2026-08-11 17:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331295744001,"power":27930,"unknown_237":206,"unknown_85":14592,"ignition":27,"odometer":null,"unknown_45":-8201477109757403136}} 
[2026-08-11 17:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":152370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:44:24] local.INFO: GPS data processed {"connection_id":152370,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:44:24] local.INFO: Acknowledgment sent {"connection_id":152370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:44:30] local.INFO: TCP Data received {"connection_id":152370,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bdc360012d8de740059f7bb00004011c29..."} 
[2026-08-11 17:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bdc360012d8de740059f7bb00004011c29..."} 
[2026-08-11 17:44:30] local.INFO: Processing buffer {"connection_id":152370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bdc360012d8de740059f7bb00004011c29..."} 
[2026-08-11 17:44:30] local.INFO: Packet analysis {"connection_id":152370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bd"} 
[2026-08-11 17:44:30] local.INFO: Extracted packet for processing {"connection_id":152370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bd"} 
[2026-08-11 17:44:30] local.INFO: GPS Element Parsed {"raw_longitude":764274496,"raw_latitude":94337968,"longitude_deg":76.4274496,"latitude_deg":9.4337968,"altitude":4,"angle":284,"satellites":41,"speed":36,"hex_longitude":"2d8de740","hex_latitude":"059f7bb0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331298304001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377878558506221568,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8211610208918388736,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786450396000,"timestamp_ms":1786450396000,"timestamp_seconds":1786450396,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bdc360"} 
[2026-08-11 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-08-11 17:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 17:44:30] 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-08-11 17:44: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-08-11 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-08-11 17:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:44:30] 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-08-11 17:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331298304001,"66":27876,"237":206,"85":14592,"24":36,"16":377878558506221568,"45":-8211610208918388736},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-11 17:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331298304001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:44:30] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-11 17:44:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377878558506221568,"km_value":377878558506221.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8211610208918388736,"description":"Unknown IO ID 45"} 
[2026-08-11 17:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331298304001,"power":27876,"unknown_237":206,"unknown_85":14592,"ignition":36,"odometer":null,"unknown_45":-8211610208918388736}} 
[2026-08-11 17:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":152370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:44:30] local.INFO: GPS data processed {"connection_id":152370,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:44:30] local.INFO: Acknowledgment sent {"connection_id":152370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:44:42] local.INFO: TCP Data received {"connection_id":152752,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0be7af8012d81330005db1478000800a024..."} 
[2026-08-11 17:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0be7af8012d81330005db1478000800a024..."} 
[2026-08-11 17:44:42] local.INFO: Processing buffer {"connection_id":152752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0be7af8012d81330005db1478000800a024..."} 
[2026-08-11 17:44:42] local.INFO: Packet analysis {"connection_id":152752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:44:42] local.INFO: Extracted packet for processing {"connection_id":152752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:44:42] local.INFO: GPS Element Parsed {"raw_longitude":763441920,"raw_latitude":98243704,"longitude_deg":76.344192,"latitude_deg":9.8243704,"altitude":8,"angle":160,"satellites":36,"speed":45,"hex_longitude":"2d813300","hex_latitude":"05db1478","is_valid_coordinates":true} 
[2026-08-11 17:44: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-08-11 17:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331312896001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117738569845440512,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138155462504697856,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786450443000,"timestamp_ms":1786450443000,"timestamp_seconds":1786450443,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0be7af8"} 
[2026-08-11 17:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:44: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-08-11 17:44: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 17:44:42] 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-08-11 17:44: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-08-11 17:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331312896001,"66":13374,"154":206,"85":15104,"24":45,"16":117738569845440512,"45":-9138155462504697856},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-11 17:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331312896001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:44:42] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 17:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117738569845440512,"km_value":117738569845440.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138155462504697856,"description":"Unknown IO ID 45"} 
[2026-08-11 17:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331312896001,"power":13374,"unknown_154":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9138155462504697856}} 
[2026-08-11 17:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":152752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:44:42] local.INFO: GPS data processed {"connection_id":152752,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:44:42] local.INFO: Acknowledgment sent {"connection_id":152752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:44:46] local.INFO: TCP Data received {"connection_id":152753,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bae500012d1820c00721b2e8004f00ce28..."} 
[2026-08-11 17:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bae500012d1820c00721b2e8004f00ce28..."} 
[2026-08-11 17:44:46] local.INFO: Processing buffer {"connection_id":152753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bae500012d1820c00721b2e8004f00ce28..."} 
[2026-08-11 17:44:46] local.INFO: Packet analysis {"connection_id":152753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ba"} 
[2026-08-11 17:44:46] local.INFO: Extracted packet for processing {"connection_id":152753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ba"} 
[2026-08-11 17:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649000,"longitude_deg":75.6555968,"latitude_deg":11.9649,"altitude":79,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-11 17:44: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-08-11 17:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331247872001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743406954905600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027688448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:44:46] 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-08-11 17:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786450208000,"timestamp_ms":1786450208000,"timestamp_seconds":1786450208,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bae500"} 
[2026-08-11 17:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:44:46] 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-08-11 17:44: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 17:44:46] 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-08-11 17:44: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-08-11 17:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331247872001,"66":12504,"107":206,"83":41984,"24":0,"16":11743406954905600,"45":1738600593027688448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-11 17:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331247872001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:44:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-11 17:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743406954905600,"km_value":11743406954905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027688448,"description":"Unknown IO ID 45"} 
[2026-08-11 17:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331247872001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027688448}} 
[2026-08-11 17:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":152753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:44:46] local.INFO: GPS data processed {"connection_id":152753,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:44:46] local.INFO: Acknowledgment sent {"connection_id":152753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:45:01] local.INFO: TCP Data received {"connection_id":152370,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bde688012d8dc380059f84580004011a2a..."} 
[2026-08-11 17:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bde688012d8dc380059f84580004011a2a..."} 
[2026-08-11 17:45:01] local.INFO: Processing buffer {"connection_id":152370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bde688012d8dc380059f84580004011a2a..."} 
[2026-08-11 17:45:01] local.INFO: Packet analysis {"connection_id":152370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bd"} 
[2026-08-11 17:45:01] local.INFO: Extracted packet for processing {"connection_id":152370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bd"} 
[2026-08-11 17:45:01] local.INFO: GPS Element Parsed {"raw_longitude":764265344,"raw_latitude":94340184,"longitude_deg":76.4265344,"latitude_deg":9.4340184,"altitude":4,"angle":282,"satellites":42,"speed":42,"hex_longitude":"2d8dc380","hex_latitude":"059f8458","is_valid_coordinates":true} 
[2026-08-11 17:45: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-08-11 17:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331301376001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377879009477787648,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8221532201846853632,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786450405000,"timestamp_ms":1786450405000,"timestamp_seconds":1786450405,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bde688"} 
[2026-08-11 17:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:45: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 17:45:01] 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-08-11 17:45: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-08-11 17:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:45: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-08-11 17:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331301376001,"66":27745,"237":206,"85":14592,"24":42,"16":377879009477787648,"45":-8221532201846853632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-11 17:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331301376001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:45:01] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-11 17:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377879009477787648,"km_value":377879009477787.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8221532201846853632,"description":"Unknown IO ID 45"} 
[2026-08-11 17:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331301376001,"power":27745,"unknown_237":206,"unknown_85":14592,"ignition":42,"odometer":null,"unknown_45":-8221532201846853632}} 
[2026-08-11 17:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":152370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:45:01] local.INFO: GPS data processed {"connection_id":152370,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:45:01] local.INFO: Acknowledgment sent {"connection_id":152370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:45:10] local.INFO: TCP Data received {"connection_id":152754,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:45:10] local.INFO: Processing buffer {"connection_id":152754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:45:10] local.INFO: IMEI packet received {"connection_id":152754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":152754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:45:13] local.INFO: TCP Data received {"connection_id":152754,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:45:13] local.INFO: Processing buffer {"connection_id":152754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:45:13] local.INFO: IMEI packet received {"connection_id":152754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":152754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:45:13] local.INFO: TCP Data received {"connection_id":155070,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:45:13] local.INFO: Processing buffer {"connection_id":155070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:45:13] local.INFO: IMEI packet received {"connection_id":155070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":155070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:45:13] local.INFO: TCP Data received {"connection_id":152754,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:45:13] local.INFO: Processing buffer {"connection_id":152754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:45:13] local.INFO: IMEI packet received {"connection_id":152754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":152754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:45:14] local.INFO: TCP Data received {"connection_id":152754,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0be4830012d181e800721aff8004700dc27..."} 
[2026-08-11 17:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0be4830012d181e800721aff8004700dc27..."} 
[2026-08-11 17:45:14] local.INFO: Processing buffer {"connection_id":152754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0be4830012d181e800721aff8004700dc27..."} 
[2026-08-11 17:45:14] local.INFO: Packet analysis {"connection_id":152754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:45:14] local.INFO: Extracted packet for processing {"connection_id":152754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648248,"longitude_deg":75.6555392,"latitude_deg":11.9648248,"altitude":71,"angle":220,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-11 17:45: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-08-11 17:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331304704001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743458494513152,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329896960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:14] 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-08-11 17:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786450430000,"timestamp_ms":1786450430000,"timestamp_seconds":1786450430,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0be4830"} 
[2026-08-11 17:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:45: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 17:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 17:45: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-08-11 17:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331304704001,"66":13928,"105":206,"83":41984,"24":0,"16":11743458494513152,"45":1737967274329896960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331304704001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:45:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:45:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743458494513152,"km_value":11743458494513.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329896960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331304704001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329896960}} 
[2026-08-11 17:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":152754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:45:14] local.INFO: GPS data processed {"connection_id":152754,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:45:14] local.INFO: Acknowledgment sent {"connection_id":152754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:45:15] local.INFO: TCP Data received {"connection_id":152754,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0be9a38012d181e800721aff8004700dc23..."} 
[2026-08-11 17:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0be9a38012d181e800721aff8004700dc23..."} 
[2026-08-11 17:45:15] local.INFO: Processing buffer {"connection_id":152754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0be9a38012d181e800721aff8004700dc23..."} 
[2026-08-11 17:45:15] local.INFO: Packet analysis {"connection_id":152754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:45:15] local.INFO: Extracted packet for processing {"connection_id":152754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648248,"longitude_deg":75.6555392,"latitude_deg":11.9648248,"altitude":71,"angle":220,"satellites":35,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331310080001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743458494513152,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329896960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:15] 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-08-11 17:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786450451000,"timestamp_ms":1786450451000,"timestamp_seconds":1786450451,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0be9a38"} 
[2026-08-11 17:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:45: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-08-11 17: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-11 17:45:15] 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-08-11 17: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-08-11 17:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331310080001,"66":14070,"105":206,"83":41984,"24":0,"16":11743458494513152,"45":1737967274329896960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331310080001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:45:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743458494513152,"km_value":11743458494513.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329896960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331310080001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329896960}} 
[2026-08-11 17:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":152754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:45:15] local.INFO: GPS data processed {"connection_id":152754,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:45:15] local.INFO: Acknowledgment sent {"connection_id":152754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:45:18] local.INFO: TCP Data received {"connection_id":155070,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:45:18] local.INFO: Processing buffer {"connection_id":155070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:45:18] local.INFO: IMEI packet received {"connection_id":155070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":155070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:45:19] local.INFO: TCP Data received {"connection_id":155070,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bf1350012d816e0005da82480004006b25..."} 
[2026-08-11 17:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bf1350012d816e0005da82480004006b25..."} 
[2026-08-11 17:45:19] local.INFO: Processing buffer {"connection_id":155070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bf1350012d816e0005da82480004006b25..."} 
[2026-08-11 17:45:19] local.INFO: Packet analysis {"connection_id":155070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bf"} 
[2026-08-11 17:45:19] local.INFO: Extracted packet for processing {"connection_id":155070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bf"} 
[2026-08-11 17:45:19] local.INFO: GPS Element Parsed {"raw_longitude":763457024,"raw_latitude":98206280,"longitude_deg":76.3457024,"latitude_deg":9.820628,"altitude":4,"angle":107,"satellites":37,"speed":22,"hex_longitude":"2d816e00","hex_latitude":"05da8248","is_valid_coordinates":true} 
[2026-08-11 17:45: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-08-11 17:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331323136001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117740571300200448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9120985488935432192,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786450482000,"timestamp_ms":1786450482000,"timestamp_seconds":1786450482,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bf1350"} 
[2026-08-11 17:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:45:19] 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-08-11 17:45: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 17:45:19] 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-08-11 17:45: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-08-11 17:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":155070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":155070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":155070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331323136001,"66":13004,"154":206,"85":15104,"24":22,"16":117740571300200448,"45":-9120985488935432192},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-11 17:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331323136001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:45:19] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-11 17:45:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117740571300200448,"km_value":117740571300200.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9120985488935432192,"description":"Unknown IO ID 45"} 
[2026-08-11 17:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331323136001,"power":13004,"unknown_154":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9120985488935432192}} 
[2026-08-11 17:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":155070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:45:19] local.INFO: GPS data processed {"connection_id":155070,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:45:19] local.INFO: Acknowledgment sent {"connection_id":155070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:45:19] local.INFO: TCP Data received {"connection_id":152371,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:45:19] local.INFO: Processing buffer {"connection_id":152371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:45:19] local.INFO: IMEI packet received {"connection_id":152371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":152371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:45:22] local.INFO: TCP Data received {"connection_id":152371,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:45:22] local.INFO: Processing buffer {"connection_id":152371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:45:22] local.INFO: IMEI packet received {"connection_id":152371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":152371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:45:24] local.INFO: TCP Data received {"connection_id":152371,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:45:24] local.INFO: Processing buffer {"connection_id":152371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:45:24] local.INFO: IMEI packet received {"connection_id":152371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":152371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:45:25] local.INFO: TCP Data received {"connection_id":152371,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0be09b0012d8d9e40059f8d28000501202b..."} 
[2026-08-11 17:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0be09b0012d8d9e40059f8d28000501202b..."} 
[2026-08-11 17:45:25] local.INFO: Processing buffer {"connection_id":152371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0be09b0012d8d9e40059f8d28000501202b..."} 
[2026-08-11 17:45:25] local.INFO: Packet analysis {"connection_id":152371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:45:25] local.INFO: Extracted packet for processing {"connection_id":152371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:45:25] local.INFO: GPS Element Parsed {"raw_longitude":764255808,"raw_latitude":94342440,"longitude_deg":76.4255808,"latitude_deg":9.434244,"altitude":5,"angle":288,"satellites":43,"speed":42,"hex_longitude":"2d8d9e40","hex_latitude":"059f8d28","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331303680001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377879477629222912,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8231594932263692288,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786450414000,"timestamp_ms":1786450414000,"timestamp_seconds":1786450414,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0be09b0"} 
[2026-08-11 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-08-11 17:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 17:45:25] 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-08-11 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-08-11 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-08-11 17:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:45:25] 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-08-11 17:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331303680001,"66":27974,"237":206,"85":14592,"24":42,"16":377879477629222912,"45":-8231594932263692288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-11 17:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331303680001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:45:25] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-11 17:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377879477629222912,"km_value":377879477629222.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8231594932263692288,"description":"Unknown IO ID 45"} 
[2026-08-11 17:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331303680001,"power":27974,"unknown_237":206,"unknown_85":14592,"ignition":42,"odometer":null,"unknown_45":-8231594932263692288}} 
[2026-08-11 17:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":152371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:45:25] local.INFO: GPS data processed {"connection_id":152371,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:45:25] local.INFO: Acknowledgment sent {"connection_id":152371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:45:29] local.INFO: TCP Data received {"connection_id":152371,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0be2cd8012d8d7b40059f96600008011d29..."} 
[2026-08-11 17:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0be2cd8012d8d7b40059f96600008011d29..."} 
[2026-08-11 17:45:29] local.INFO: Processing buffer {"connection_id":152371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0be2cd8012d8d7b40059f96600008011d29..."} 
[2026-08-11 17:45:29] local.INFO: Packet analysis {"connection_id":152371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:45:29] local.INFO: Extracted packet for processing {"connection_id":152371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:45:29] local.INFO: GPS Element Parsed {"raw_longitude":764246848,"raw_latitude":94344800,"longitude_deg":76.4246848,"latitude_deg":9.43448,"altitude":8,"angle":285,"satellites":41,"speed":38,"hex_longitude":"2d8d7b40","hex_latitude":"059f9660","is_valid_coordinates":true} 
[2026-08-11 17:45: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-08-11 17:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331305984001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377879924305821696,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8242079875145586688,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786450423000,"timestamp_ms":1786450423000,"timestamp_seconds":1786450423,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0be2cd8"} 
[2026-08-11 17:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:45: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":70,"data_length":795,"current_offset":136} 
[2026-08-11 17:45:29] 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-08-11 17:45: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-08-11 17:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:45:29] 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-08-11 17:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331305984001,"66":27876,"237":206,"85":14592,"24":38,"16":377879924305821696,"45":-8242079875145586688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-11 17:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331305984001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:45:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-11 17:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377879924305821696,"km_value":377879924305821.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8242079875145586688,"description":"Unknown IO ID 45"} 
[2026-08-11 17:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331305984001,"power":27876,"unknown_237":206,"unknown_85":14592,"ignition":38,"odometer":null,"unknown_45":-8242079875145586688}} 
[2026-08-11 17:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":152371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:45:29] local.INFO: GPS data processed {"connection_id":152371,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:45:29] local.INFO: Acknowledgment sent {"connection_id":152371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:45:46] local.INFO: TCP Data received {"connection_id":152754,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bec918012d181cc00721ac88004900c126..."} 
[2026-08-11 17:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bec918012d181cc00721ac88004900c126..."} 
[2026-08-11 17:45:46] local.INFO: Processing buffer {"connection_id":152754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bec918012d181cc00721ac88004900c126..."} 
[2026-08-11 17:45:46] local.INFO: Packet analysis {"connection_id":152754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:45:46] local.INFO: Extracted packet for processing {"connection_id":152754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647368,"longitude_deg":75.6554944,"latitude_deg":11.9647368,"altitude":73,"angle":193,"satellites":38,"speed":2,"hex_longitude":"2d181cc0","hex_latitude":"0721ac88","is_valid_coordinates":true} 
[2026-08-11 17:45: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-08-11 17:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331315456001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743505739153408,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329896960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:46] 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-08-11 17:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786450463000,"timestamp_ms":1786450463000,"timestamp_seconds":1786450463,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bec918"} 
[2026-08-11 17:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:45: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-08-11 17:45: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-11 17:45:46] 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-08-11 17:45: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-08-11 17:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331315456001,"66":14135,"105":206,"83":41984,"24":2,"16":11743505739153408,"45":1737967274329896960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331315456001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:45:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743505739153408,"km_value":11743505739153.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329896960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331315456001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737967274329896960}} 
[2026-08-11 17:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":152754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:45:47] local.INFO: GPS data processed {"connection_id":152754,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:45:47] local.INFO: Acknowledgment sent {"connection_id":152754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:45:50] local.INFO: TCP Data received {"connection_id":155070,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bfea28012d821fc005da8bf00006008924..."} 
[2026-08-11 17:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bfea28012d821fc005da8bf00006008924..."} 
[2026-08-11 17:45:50] local.INFO: Processing buffer {"connection_id":155070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bfea28012d821fc005da8bf00006008924..."} 
[2026-08-11 17:45:50] local.INFO: Packet analysis {"connection_id":155070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bf"} 
[2026-08-11 17:45:50] local.INFO: Extracted packet for processing {"connection_id":155070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bf"} 
[2026-08-11 17:45:50] local.INFO: GPS Element Parsed {"raw_longitude":763502528,"raw_latitude":98208752,"longitude_deg":76.3502528,"latitude_deg":9.8208752,"altitude":6,"angle":137,"satellites":36,"speed":22,"hex_longitude":"2d821fc0","hex_latitude":"05da8bf0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331337216001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117742851927834624,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070742205591869440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786450537000,"timestamp_ms":1786450537000,"timestamp_seconds":1786450537,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bfea28"} 
[2026-08-11 17:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:45:50] 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-08-11 17: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 17:45:50] 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-08-11 17: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-08-11 17:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":155070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":155070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":155070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331337216001,"66":13526,"71":206,"85":15104,"24":22,"16":117742851927834624,"45":-9070742205591869440},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331337216001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:45:50] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:45:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117742851927834624,"km_value":117742851927834.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070742205591869440,"description":"Unknown IO ID 45"} 
[2026-08-11 17:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331337216001,"power":13526,"unknown_71":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9070742205591869440}} 
[2026-08-11 17:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":155070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:45:50] local.INFO: GPS data processed {"connection_id":155070,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:45:50] local.INFO: Acknowledgment sent {"connection_id":155070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:46:01] local.INFO: TCP Data received {"connection_id":152371,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0be5000012d8d5940059f9f28000a011d2a..."} 
[2026-08-11 17:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0be5000012d8d5940059f9f28000a011d2a..."} 
[2026-08-11 17:46:01] local.INFO: Processing buffer {"connection_id":152371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0be5000012d8d5940059f9f28000a011d2a..."} 
[2026-08-11 17:46:01] local.INFO: Packet analysis {"connection_id":152371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:46:01] local.INFO: Extracted packet for processing {"connection_id":152371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:46:01] local.INFO: GPS Element Parsed {"raw_longitude":764238144,"raw_latitude":94347048,"longitude_deg":76.4238144,"latitude_deg":9.4347048,"altitude":10,"angle":285,"satellites":42,"speed":41,"hex_longitude":"2d8d5940","hex_latitude":"059f9f28","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331308288001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377880353802551296,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8251931499329855488,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786450432000,"timestamp_ms":1786450432000,"timestamp_seconds":1786450432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0be5000"} 
[2026-08-11 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-08-11 17:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 17:46:01] 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-08-11 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-08-11 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-08-11 17:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:46: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-08-11 17:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331308288001,"66":27876,"237":206,"85":14592,"24":41,"16":377880353802551296,"45":-8251931499329855488},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-11 17:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331308288001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:46:01] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-11 17:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377880353802551296,"km_value":377880353802551.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8251931499329855488,"description":"Unknown IO ID 45"} 
[2026-08-11 17:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331308288001,"power":27876,"unknown_237":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-8251931499329855488}} 
[2026-08-11 17:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":152371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:46:01] local.INFO: GPS data processed {"connection_id":152371,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:46:01] local.INFO: Acknowledgment sent {"connection_id":152371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:46:08] local.INFO: TCP Data received {"connection_id":152755,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:46:08] local.INFO: Processing buffer {"connection_id":152755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:46:08] local.INFO: IMEI packet received {"connection_id":152755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":152755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:46:10] local.INFO: TCP Data received {"connection_id":152372,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:46:10] local.INFO: Processing buffer {"connection_id":152372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:46:10] local.INFO: IMEI packet received {"connection_id":152372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":152372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:46:13] local.INFO: TCP Data received {"connection_id":152755,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:46:13] local.INFO: Processing buffer {"connection_id":152755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:46:13] local.INFO: IMEI packet received {"connection_id":152755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":152755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:46:14] local.INFO: TCP Data received {"connection_id":152755,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bfee10012d8220c005da89100007009b24..."} 
[2026-08-11 17:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bfee10012d8220c005da89100007009b24..."} 
[2026-08-11 17:46:14] local.INFO: Processing buffer {"connection_id":152755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bfee10012d8220c005da89100007009b24..."} 
[2026-08-11 17:46:14] local.INFO: Packet analysis {"connection_id":152755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0bf"} 
[2026-08-11 17:46:14] local.INFO: Extracted packet for processing {"connection_id":152755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0bf"} 
[2026-08-11 17:46:14] local.INFO: GPS Element Parsed {"raw_longitude":763502784,"raw_latitude":98208016,"longitude_deg":76.3502784,"latitude_deg":9.8208016,"altitude":7,"angle":155,"satellites":36,"speed":29,"hex_longitude":"2d8220c0","hex_latitude":"05da8910","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331337472001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117742890582540288,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070319993126916096,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786450538000,"timestamp_ms":1786450538000,"timestamp_seconds":1786450538,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bfee10"} 
[2026-08-11 17:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:46:14] 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-08-11 17: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 17:46:14] 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-08-11 17: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-08-11 17:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331337472001,"66":13374,"71":206,"85":15104,"24":29,"16":117742890582540288,"45":-9070319993126916096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331337472001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:46:14] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:46:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117742890582540288,"km_value":117742890582540.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070319993126916096,"description":"Unknown IO ID 45"} 
[2026-08-11 17:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331337472001,"power":13374,"unknown_71":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9070319993126916096}} 
[2026-08-11 17:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":152755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:46:14] local.INFO: GPS data processed {"connection_id":152755,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:46:14] local.INFO: Acknowledgment sent {"connection_id":152755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:46:15] local.INFO: TCP Data received {"connection_id":152372,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:46:15] local.INFO: Processing buffer {"connection_id":152372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:46:15] local.INFO: IMEI packet received {"connection_id":152372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":152372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:46:16] local.INFO: TCP Data received {"connection_id":152372,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0bed0e8012d181d000721ac10004800ac26..."} 
[2026-08-11 17:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0bed0e8012d181d000721ac10004800ac26..."} 
[2026-08-11 17:46:16] local.INFO: Processing buffer {"connection_id":152372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0bed0e8012d181d000721ac10004800ac26..."} 
[2026-08-11 17:46:16] local.INFO: Packet analysis {"connection_id":152372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:46:16] local.INFO: Extracted packet for processing {"connection_id":152372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:46:16] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647248,"longitude_deg":75.6555008,"latitude_deg":11.9647248,"altitude":72,"angle":172,"satellites":38,"speed":2,"hex_longitude":"2d181d00","hex_latitude":"0721ac10","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331318528001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11743514329088000,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120428032,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:16] 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-08-11 17:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786450465000,"timestamp_ms":1786450465000,"timestamp_seconds":1786450465,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0bed0e8"} 
[2026-08-11 17:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:46: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-08-11 17: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-11 17:46:16] 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-08-11 17: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-08-11 17:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331318528001,"66":14113,"105":206,"83":41984,"24":2,"16":11743514329088000,"45":1737474693120428032},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 17:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331318528001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:46:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 17:46:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11743514329088000,"km_value":11743514329088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120428032,"description":"Unknown IO ID 45"} 
[2026-08-11 17:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331318528001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737474693120428032}} 
[2026-08-11 17:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":152372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:46:16] local.INFO: GPS data processed {"connection_id":152372,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:46:16] local.INFO: Acknowledgment sent {"connection_id":152372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:46:19] local.INFO: TCP Data received {"connection_id":153690,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:46:19] local.INFO: Processing buffer {"connection_id":153690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:46:19] local.INFO: IMEI packet received {"connection_id":153690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":153690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:46:24] local.INFO: TCP Data received {"connection_id":153690,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:46:24] local.INFO: Processing buffer {"connection_id":153690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:46:24] local.INFO: IMEI packet received {"connection_id":153690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":153690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:46:25] local.INFO: TCP Data received {"connection_id":153690,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0be7328012d8d3440059fa8e00009011d28..."} 
[2026-08-11 17:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0be7328012d8d3440059fa8e00009011d28..."} 
[2026-08-11 17:46:25] local.INFO: Processing buffer {"connection_id":153690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0be7328012d8d3440059fa8e00009011d28..."} 
[2026-08-11 17:46:25] local.INFO: Packet analysis {"connection_id":153690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:46:25] local.INFO: Extracted packet for processing {"connection_id":153690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0be"} 
[2026-08-11 17:46:25] local.INFO: GPS Element Parsed {"raw_longitude":764228672,"raw_latitude":94349536,"longitude_deg":76.4228672,"latitude_deg":9.4349536,"altitude":9,"angle":285,"satellites":40,"speed":43,"hex_longitude":"2d8d3440","hex_latitude":"059fa8e0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331310592001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377880821953986560,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8261501648537442304,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786450441000,"timestamp_ms":1786450441000,"timestamp_seconds":1786450441,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0be7328"} 
[2026-08-11 17:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 17:46:25] 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-08-11 17: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-08-11 17:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:46:25] 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-08-11 17:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331310592001,"66":27930,"237":206,"85":14592,"24":43,"16":377880821953986560,"45":-8261501648537442304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-11 17:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331310592001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:46:25] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-11 17:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377880821953986560,"km_value":377880821953986.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8261501648537442304,"description":"Unknown IO ID 45"} 
[2026-08-11 17:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331310592001,"power":27930,"unknown_237":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-8261501648537442304}} 
[2026-08-11 17:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":153690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:46:25] local.INFO: GPS data processed {"connection_id":153690,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:46:25] local.INFO: Acknowledgment sent {"connection_id":153690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:46:45] local.INFO: TCP Data received {"connection_id":152755,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c01520012d822d4005da66280009009c23..."} 
[2026-08-11 17:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c01520012d822d4005da66280009009c23..."} 
[2026-08-11 17:46:45] local.INFO: Processing buffer {"connection_id":152755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c01520012d822d4005da66280009009c23..."} 
[2026-08-11 17:46:45] local.INFO: Packet analysis {"connection_id":152755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:46:45] local.INFO: Extracted packet for processing {"connection_id":152755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:46:45] local.INFO: GPS Element Parsed {"raw_longitude":763505984,"raw_latitude":98199080,"longitude_deg":76.3505984,"latitude_deg":9.819908,"altitude":9,"angle":156,"satellites":35,"speed":36,"hex_longitude":"2d822d40","hex_latitude":"05da6628","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331337728001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117743350144040960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070038518150393856,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786450548000,"timestamp_ms":1786450548000,"timestamp_seconds":1786450548,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c01520"} 
[2026-08-11 17:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:46:45] 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-08-11 17: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 17:46:45] 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-08-11 17: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-08-11 17:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331337728001,"66":13363,"71":206,"85":15104,"24":36,"16":117743350144040960,"45":-9070038518150393856},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331337728001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:46:45] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:46:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117743350144040960,"km_value":117743350144040.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070038518150393856,"description":"Unknown IO ID 45"} 
[2026-08-11 17:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331337728001,"power":13363,"unknown_71":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9070038518150393856}} 
[2026-08-11 17:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":152755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:46:45] local.INFO: GPS data processed {"connection_id":152755,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:46:45] local.INFO: Acknowledgment sent {"connection_id":152755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:46:47] local.INFO: TCP Data received {"connection_id":152372,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c04fb8012d18d24007212678004100a723..."} 
[2026-08-11 17:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c04fb8012d18d24007212678004100a723..."} 
[2026-08-11 17:46:47] local.INFO: Processing buffer {"connection_id":152372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c04fb8012d18d24007212678004100a723..."} 
[2026-08-11 17:46:47] local.INFO: Packet analysis {"connection_id":152372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:46:47] local.INFO: Extracted packet for processing {"connection_id":152372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119613048,"longitude_deg":75.6601408,"latitude_deg":11.9613048,"altitude":65,"angle":167,"satellites":35,"speed":39,"hex_longitude":"2d18d240","hex_latitude":"07212678","is_valid_coordinates":true} 
[2026-08-11 17:46: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-08-11 17:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331342848001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11746529396129792,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786029126595336192,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:47] 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-08-11 17:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786450563000,"timestamp_ms":1786450563000,"timestamp_seconds":1786450563,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c04fb8"} 
[2026-08-11 17:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:46: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-08-11 17:46: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 17:46:47] 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-08-11 17:46: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-08-11 17:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331342848001,"66":14298,"103":206,"83":41984,"24":39,"16":11746529396129792,"45":1786029126595336192},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 17:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331342848001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:46:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 17:46:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11746529396129792,"km_value":11746529396129.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786029126595336192,"description":"Unknown IO ID 45"} 
[2026-08-11 17:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331342848001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1786029126595336192}} 
[2026-08-11 17:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":152372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:46:47] local.INFO: GPS data processed {"connection_id":152372,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:46:47] local.INFO: Acknowledgment sent {"connection_id":152372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:46:56] local.INFO: TCP Data received {"connection_id":153690,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c03078012d8b828005a064000009012927..."} 
[2026-08-11 17:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c03078012d8b828005a064000009012927..."} 
[2026-08-11 17:46:56] local.INFO: Processing buffer {"connection_id":153690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c03078012d8b828005a064000009012927..."} 
[2026-08-11 17:46:56] local.INFO: Packet analysis {"connection_id":153690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:46:56] local.INFO: Extracted packet for processing {"connection_id":153690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:46:56] local.INFO: GPS Element Parsed {"raw_longitude":764117632,"raw_latitude":94397440,"longitude_deg":76.4117632,"latitude_deg":9.439744,"altitude":9,"angle":297,"satellites":39,"speed":43,"hex_longitude":"2d8b8280","hex_latitude":"05a06400","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331339776001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377886637339705344,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8384717319580710912,"note":"Value kept but may cause issues"} 
[2026-08-11 17:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786450555000,"timestamp_ms":1786450555000,"timestamp_seconds":1786450555,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c03078"} 
[2026-08-11 17:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 17:46:56] 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-08-11 17: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-08-11 17:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:46:56] 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-08-11 17:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331339776001,"66":27930,"51":206,"85":14592,"24":43,"16":377886637339705344,"45":-8384717319580710912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,85,24,16,45]} 
[2026-08-11 17:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331339776001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:46:56] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-11 17:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377886637339705344,"km_value":377886637339705.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8384717319580710912,"description":"Unknown IO ID 45"} 
[2026-08-11 17:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331339776001,"power":27930,"unknown_51":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-8384717319580710912}} 
[2026-08-11 17:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":153690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:46:56] local.INFO: GPS data processed {"connection_id":153690,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:46:56] local.INFO: Acknowledgment sent {"connection_id":153690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:47:11] local.INFO: TCP Data received {"connection_id":155071,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:47:11] local.INFO: Processing buffer {"connection_id":155071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:47:11] local.INFO: IMEI packet received {"connection_id":155071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":155071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:47:13] local.INFO: TCP Data received {"connection_id":152373,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:47:13] local.INFO: Processing buffer {"connection_id":152373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:47:13] local.INFO: IMEI packet received {"connection_id":152373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":152373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:47:15] local.INFO: TCP Data received {"connection_id":155071,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:47:15] local.INFO: Processing buffer {"connection_id":155071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:47:15] local.INFO: IMEI packet received {"connection_id":155071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":155071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:47:16] local.INFO: TCP Data received {"connection_id":155071,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c05788012d18d2c007211e90003f00b422..."} 
[2026-08-11 17:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c05788012d18d2c007211e90003f00b422..."} 
[2026-08-11 17:47:16] local.INFO: Processing buffer {"connection_id":155071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c05788012d18d2c007211e90003f00b422..."} 
[2026-08-11 17:47:16] local.INFO: Packet analysis {"connection_id":155071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:47:16] local.INFO: Extracted packet for processing {"connection_id":155071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119611024,"longitude_deg":75.6601536,"latitude_deg":11.9611024,"altitude":63,"angle":180,"satellites":34,"speed":40,"hex_longitude":"2d18d2c0","hex_latitude":"07211e90","is_valid_coordinates":true} 
[2026-08-11 17:47: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-08-11 17:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331344128001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11746628180377600,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384626176,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:16] 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-08-11 17:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786450565000,"timestamp_ms":1786450565000,"timestamp_seconds":1786450565,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c05788"} 
[2026-08-11 17:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:47: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-08-11 17:47: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-11 17:47:16] 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-08-11 17:47: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-08-11 17:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331344128001,"66":14374,"103":206,"83":41984,"24":40,"16":11746628180377600,"45":1788562401384626176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 17:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331344128001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:47:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 17:47:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11746628180377600,"km_value":11746628180377.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384626176,"description":"Unknown IO ID 45"} 
[2026-08-11 17:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331344128001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1788562401384626176}} 
[2026-08-11 17:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":155071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:47:16] local.INFO: GPS data processed {"connection_id":155071,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:47:16] local.INFO: Acknowledgment sent {"connection_id":155071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:47:18] local.INFO: TCP Data received {"connection_id":152373,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:47:18] local.INFO: Processing buffer {"connection_id":152373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:47:18] local.INFO: IMEI packet received {"connection_id":152373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":152373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:47:19] local.INFO: TCP Data received {"connection_id":152373,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c028a8012d8232c005da5378000800a822..."} 
[2026-08-11 17:47:19] local.INFO: TCP Data received {"connection_id":152756,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c028a8012d8232c005da5378000800a822..."} 
[2026-08-11 17:47:19] local.INFO: Processing buffer {"connection_id":152373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c028a8012d8232c005da5378000800a822..."} 
[2026-08-11 17:47:19] local.INFO: Packet analysis {"connection_id":152373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:47:19] local.INFO: Extracted packet for processing {"connection_id":152373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:47:19] local.INFO: GPS Element Parsed {"raw_longitude":763507392,"raw_latitude":98194296,"longitude_deg":76.3507392,"latitude_deg":9.8194296,"altitude":8,"angle":168,"satellites":34,"speed":41,"hex_longitude":"2d8232c0","hex_latitude":"05da5378","is_valid_coordinates":true} 
[2026-08-11 17:47: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-08-11 17:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331340288001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117743590662209536,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9066520080943798272,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786450553000,"timestamp_ms":1786450553000,"timestamp_seconds":1786450553,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c028a8"} 
[2026-08-11 17:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:47:19] local.INFO: Processing buffer {"connection_id":152756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:47:19] local.INFO: IMEI packet received {"connection_id":152756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:47:19] 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-08-11 17:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":152756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:47: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 17:47:19] 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-08-11 17:47: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-08-11 17:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331340288001,"66":13428,"71":206,"85":15104,"24":41,"16":117743590662209536,"45":-9066520080943798272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331340288001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:47:19] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:47:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117743590662209536,"km_value":117743590662209.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9066520080943798272,"description":"Unknown IO ID 45"} 
[2026-08-11 17:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331340288001,"power":13428,"unknown_71":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9066520080943798272}} 
[2026-08-11 17:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":152373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:47:19] local.INFO: GPS data processed {"connection_id":152373,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:47:19] local.INFO: Acknowledgment sent {"connection_id":152373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:47:24] local.INFO: TCP Data received {"connection_id":152756,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:47:24] local.INFO: Processing buffer {"connection_id":152756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:47:24] local.INFO: IMEI packet received {"connection_id":152756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":152756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:47:24] local.INFO: TCP Data received {"connection_id":152373,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c04bd0012d82394005da3108000900aa23..."} 
[2026-08-11 17:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c04bd0012d82394005da3108000900aa23..."} 
[2026-08-11 17:47:24] local.INFO: Processing buffer {"connection_id":152373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c04bd0012d82394005da3108000900aa23..."} 
[2026-08-11 17:47:24] local.INFO: Packet analysis {"connection_id":152373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:47:24] local.INFO: Extracted packet for processing {"connection_id":152373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:47:24] local.INFO: GPS Element Parsed {"raw_longitude":763509056,"raw_latitude":98185480,"longitude_deg":76.3509056,"latitude_deg":9.818548,"altitude":9,"angle":170,"satellites":35,"speed":37,"hex_longitude":"2d823940","hex_latitude":"05da3108","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331341568001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117744028748873728,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9064971968573114368,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786450562000,"timestamp_ms":1786450562000,"timestamp_seconds":1786450562,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c04bd0"} 
[2026-08-11 17:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:47: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-08-11 17: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 17:47:24] 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-08-11 17: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-08-11 17:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331341568001,"66":13167,"71":206,"85":15104,"24":37,"16":117744028748873728,"45":-9064971968573114368},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331341568001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:47:24] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:47:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117744028748873728,"km_value":117744028748873.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9064971968573114368,"description":"Unknown IO ID 45"} 
[2026-08-11 17:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331341568001,"power":13167,"unknown_71":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9064971968573114368}} 
[2026-08-11 17:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":152373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:47:24] local.INFO: GPS data processed {"connection_id":152373,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:47:24] local.INFO: Acknowledgment sent {"connection_id":152373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:47:25] local.INFO: TCP Data received {"connection_id":152756,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c04fb8012d8b634005a074200007012828..."} 
[2026-08-11 17:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c04fb8012d8b634005a074200007012828..."} 
[2026-08-11 17:47:25] local.INFO: Processing buffer {"connection_id":152756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c04fb8012d8b634005a074200007012828..."} 
[2026-08-11 17:47:25] local.INFO: Packet analysis {"connection_id":152756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:47:25] local.INFO: Extracted packet for processing {"connection_id":152756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:47:25] local.INFO: GPS Element Parsed {"raw_longitude":764109632,"raw_latitude":94401568,"longitude_deg":76.4109632,"latitude_deg":9.4401568,"altitude":7,"angle":296,"satellites":40,"speed":46,"hex_longitude":"2d8b6340","hex_latitude":"05a07420","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331342080001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377887071131402240,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8394005993811083264,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786450563000,"timestamp_ms":1786450563000,"timestamp_seconds":1786450563,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c04fb8"} 
[2026-08-11 17:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 17:47:25] 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-08-11 17: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-08-11 17:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:47:25] 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-08-11 17:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331342080001,"66":27821,"51":206,"85":14592,"24":46,"16":377887071131402240,"45":-8394005993811083264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,85,24,16,45]} 
[2026-08-11 17:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331342080001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:47:25] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-11 17:47:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377887071131402240,"km_value":377887071131402.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8394005993811083264,"description":"Unknown IO ID 45"} 
[2026-08-11 17:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331342080001,"power":27821,"unknown_51":206,"unknown_85":14592,"ignition":46,"odometer":null,"unknown_45":-8394005993811083264}} 
[2026-08-11 17:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":152756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:47:25] local.INFO: GPS data processed {"connection_id":152756,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:47:25] local.INFO: Acknowledgment sent {"connection_id":152756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:47:47] local.INFO: TCP Data received {"connection_id":155071,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c11308012d195d400720aac8003000551f..."} 
[2026-08-11 17:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c11308012d195d400720aac8003000551f..."} 
[2026-08-11 17:47:47] local.INFO: Processing buffer {"connection_id":155071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c11308012d195d400720aac8003000551f..."} 
[2026-08-11 17:47:47] local.INFO: Packet analysis {"connection_id":155071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c1"} 
[2026-08-11 17:47:47] local.INFO: Extracted packet for processing {"connection_id":155071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c1"} 
[2026-08-11 17:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756636992,"raw_latitude":119581384,"longitude_deg":75.6636992,"latitude_deg":11.9581384,"altitude":48,"angle":85,"satellites":31,"speed":32,"hex_longitude":"2d195d40","hex_latitude":"0720aac8","is_valid_coordinates":true} 
[2026-08-11 17:47: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-08-11 17:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331356160001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11749037657030656,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824661567139633152,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:47] 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-08-11 17:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786450613000,"timestamp_ms":1786450613000,"timestamp_seconds":1786450613,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c11308"} 
[2026-08-11 17:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:47: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-08-11 17:47: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-11 17:47:47] 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-08-11 17:47: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-08-11 17:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331356160001,"66":14298,"103":206,"83":41984,"24":32,"16":11749037657030656,"45":1824661567139633152},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 17:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331356160001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:47:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 17:47:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11749037657030656,"km_value":11749037657030.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824661567139633152,"description":"Unknown IO ID 45"} 
[2026-08-11 17:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331356160001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1824661567139633152}} 
[2026-08-11 17:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":155071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:47:47] local.INFO: GPS data processed {"connection_id":155071,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:47:47] local.INFO: Acknowledgment sent {"connection_id":155071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:47:56] local.INFO: TCP Data received {"connection_id":152756,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c06ef8012d8b41c005a084e80004012928..."} 
[2026-08-11 17:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c06ef8012d8b41c005a084e80004012928..."} 
[2026-08-11 17:47:56] local.INFO: Processing buffer {"connection_id":152756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c06ef8012d8b41c005a084e80004012928..."} 
[2026-08-11 17:47:56] local.INFO: Packet analysis {"connection_id":152756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:47:56] local.INFO: Extracted packet for processing {"connection_id":152756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:47:56] local.INFO: GPS Element Parsed {"raw_longitude":764101056,"raw_latitude":94405864,"longitude_deg":76.4101056,"latitude_deg":9.4405864,"altitude":4,"angle":297,"satellites":40,"speed":46,"hex_longitude":"2d8b41c0","hex_latitude":"05a084e8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331344128001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377887530692902912,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8402802086832234496,"note":"Value kept but may cause issues"} 
[2026-08-11 17:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786450571000,"timestamp_ms":1786450571000,"timestamp_seconds":1786450571,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c06ef8"} 
[2026-08-11 17:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 17:47:56] 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-08-11 17: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-08-11 17:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:47:56] 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-08-11 17:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331344128001,"66":27876,"51":206,"85":14592,"24":46,"16":377887530692902912,"45":-8402802086832234496},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,85,24,16,45]} 
[2026-08-11 17:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331344128001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:47:56] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-11 17:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377887530692902912,"km_value":377887530692902.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8402802086832234496,"description":"Unknown IO ID 45"} 
[2026-08-11 17:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331344128001,"power":27876,"unknown_51":206,"unknown_85":14592,"ignition":46,"odometer":null,"unknown_45":-8402802086832234496}} 
[2026-08-11 17:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":152756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:47:56] local.INFO: GPS data processed {"connection_id":152756,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:47:56] local.INFO: Acknowledgment sent {"connection_id":152756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:48:08] local.INFO: TCP Data received {"connection_id":152374,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:48:08] local.INFO: Processing buffer {"connection_id":152374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:48:08] local.INFO: IMEI packet received {"connection_id":152374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":152374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:48:10] local.INFO: TCP Data received {"connection_id":153691,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:48:10] local.INFO: Processing buffer {"connection_id":153691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:48:10] local.INFO: IMEI packet received {"connection_id":153691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":153691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:48:10] local.INFO: TCP Data received {"connection_id":153691,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:48:10] local.INFO: Processing buffer {"connection_id":153691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:48:10] local.INFO: IMEI packet received {"connection_id":153691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":153691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:48:15] local.INFO: TCP Data received {"connection_id":153691,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:48:15] local.INFO: Processing buffer {"connection_id":153691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:48:15] local.INFO: IMEI packet received {"connection_id":153691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":153691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:48:16] local.INFO: TCP Data received {"connection_id":152374,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:48:16] local.INFO: Processing buffer {"connection_id":152374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:48:16] local.INFO: IMEI packet received {"connection_id":152374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":152374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:48:16] local.INFO: TCP Data received {"connection_id":153691,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c12a78012d1970800720adb00032004620..."} 
[2026-08-11 17:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c12a78012d1970800720adb00032004620..."} 
[2026-08-11 17:48:16] local.INFO: Processing buffer {"connection_id":153691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c12a78012d1970800720adb00032004620..."} 
[2026-08-11 17:48:16] local.INFO: Packet analysis {"connection_id":153691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c1"} 
[2026-08-11 17:48:16] local.INFO: Extracted packet for processing {"connection_id":153691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c1"} 
[2026-08-11 17:48:16] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119582128,"longitude_deg":75.664192,"latitude_deg":11.9582128,"altitude":50,"angle":70,"satellites":32,"speed":34,"hex_longitude":"2d197080","hex_latitude":"0720adb0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331356928001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11749278175199232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827687423139301376,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:16] 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-08-11 17:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786450619000,"timestamp_ms":1786450619000,"timestamp_seconds":1786450619,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c12a78"} 
[2026-08-11 17:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:48: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-08-11 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-11 17:48:16] 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-08-11 17: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-08-11 17:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331356928001,"66":14352,"103":206,"83":41984,"24":34,"16":11749278175199232,"45":1827687423139301376},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 17:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331356928001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:48:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 17:48:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11749278175199232,"km_value":11749278175199.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827687423139301376,"description":"Unknown IO ID 45"} 
[2026-08-11 17:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331356928001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1827687423139301376}} 
[2026-08-11 17:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":153691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:48:16] local.INFO: GPS data processed {"connection_id":153691,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:48:16] local.INFO: Acknowledgment sent {"connection_id":153691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:48:16] local.INFO: TCP Data received {"connection_id":152374,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c07ab0012d823f8005da11300008008f23..."} 
[2026-08-11 17:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c07ab0012d823f8005da11300008008f23..."} 
[2026-08-11 17:48:16] local.INFO: Processing buffer {"connection_id":152374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c07ab0012d823f8005da11300008008f23..."} 
[2026-08-11 17:48:16] local.INFO: Packet analysis {"connection_id":152374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:48:16] local.INFO: Extracted packet for processing {"connection_id":152374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:48:16] local.INFO: GPS Element Parsed {"raw_longitude":763510656,"raw_latitude":98177328,"longitude_deg":76.3510656,"latitude_deg":9.8177328,"altitude":8,"angle":143,"satellites":35,"speed":11,"hex_longitude":"2d823f80","hex_latitude":"05da1130","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331343872001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117744432475799552,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063142381226752000,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786450574000,"timestamp_ms":1786450574000,"timestamp_seconds":1786450574,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c07ab0"} 
[2026-08-11 17:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:48: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-08-11 17: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-11 17:48:16] 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-08-11 17: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-08-11 17:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331343872001,"66":13178,"71":206,"85":15104,"24":11,"16":117744432475799552,"45":-9063142381226752000},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331343872001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:48:16] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:48:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117744432475799552,"km_value":117744432475799.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063142381226752000,"description":"Unknown IO ID 45"} 
[2026-08-11 17:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331343872001,"power":13178,"unknown_71":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9063142381226752000}} 
[2026-08-11 17:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":152374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:48:16] local.INFO: GPS data processed {"connection_id":152374,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:48:16] local.INFO: Acknowledgment sent {"connection_id":152374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:48:24] local.INFO: TCP Data received {"connection_id":153692,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:48:24] local.INFO: Processing buffer {"connection_id":153692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:48:24] local.INFO: IMEI packet received {"connection_id":153692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":153692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:48:25] local.INFO: TCP Data received {"connection_id":153692,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:48:25] local.INFO: Processing buffer {"connection_id":153692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:48:25] local.INFO: IMEI packet received {"connection_id":153692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":153692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:48:25] local.INFO: TCP Data received {"connection_id":153692,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c08e38012d8b220005a095100004012928..."} 
[2026-08-11 17:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c08e38012d8b220005a095100004012928..."} 
[2026-08-11 17:48:25] local.INFO: Processing buffer {"connection_id":153692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c08e38012d8b220005a095100004012928..."} 
[2026-08-11 17:48:25] local.INFO: Packet analysis {"connection_id":153692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:48:25] local.INFO: Extracted packet for processing {"connection_id":153692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:48:25] local.INFO: GPS Element Parsed {"raw_longitude":764092928,"raw_latitude":94410000,"longitude_deg":76.4092928,"latitude_deg":9.441,"altitude":4,"angle":297,"satellites":40,"speed":42,"hex_longitude":"2d8b2200","hex_latitude":"05a09510","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331346176001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377887968779567104,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8412231498550941696,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786450579000,"timestamp_ms":1786450579000,"timestamp_seconds":1786450579,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c08e38"} 
[2026-08-11 17:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 17:48:25] 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-08-11 17: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-08-11 17:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:48:25] 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-08-11 17:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331346176001,"66":27908,"53":206,"85":14592,"24":42,"16":377887968779567104,"45":-8412231498550941696},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-11 17:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331346176001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:48:25] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 17:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377887968779567104,"km_value":377887968779567.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8412231498550941696,"description":"Unknown IO ID 45"} 
[2026-08-11 17:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331346176001,"power":27908,"unknown_53":206,"unknown_85":14592,"ignition":42,"odometer":null,"unknown_45":-8412231498550941696}} 
[2026-08-11 17:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":153692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:48:25] local.INFO: GPS data processed {"connection_id":153692,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:48:25] local.INFO: Acknowledgment sent {"connection_id":153692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:48:29] local.INFO: TCP Data received {"connection_id":153692,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c0b548012d8b014005a0a5680005012826..."} 
[2026-08-11 17:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c0b548012d8b014005a0a5680005012826..."} 
[2026-08-11 17:48:29] local.INFO: Processing buffer {"connection_id":153692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c0b548012d8b014005a0a5680005012826..."} 
[2026-08-11 17:48:29] local.INFO: Packet analysis {"connection_id":153692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:48:29] local.INFO: Extracted packet for processing {"connection_id":153692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:48:29] local.INFO: GPS Element Parsed {"raw_longitude":764084544,"raw_latitude":94414184,"longitude_deg":76.4084544,"latitude_deg":9.4414184,"altitude":5,"angle":296,"satellites":38,"speed":33,"hex_longitude":"2d8b0140","hex_latitude":"05a0a568","is_valid_coordinates":true} 
[2026-08-11 17:48: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-08-11 17:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331348224001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377888419751133184,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8421168329060446208,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786450589000,"timestamp_ms":1786450589000,"timestamp_seconds":1786450589,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c0b548"} 
[2026-08-11 17:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:48: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":4,"data_length":795,"current_offset":136} 
[2026-08-11 17:48:29] 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-08-11 17:48: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-08-11 17:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:48:29] 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-08-11 17:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331348224001,"66":27767,"53":206,"85":14592,"24":33,"16":377888419751133184,"45":-8421168329060446208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-11 17:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331348224001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:48:29] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 17:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377888419751133184,"km_value":377888419751133.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8421168329060446208,"description":"Unknown IO ID 45"} 
[2026-08-11 17:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331348224001,"power":27767,"unknown_53":206,"unknown_85":14592,"ignition":33,"odometer":null,"unknown_45":-8421168329060446208}} 
[2026-08-11 17:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":153692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:48:29] local.INFO: GPS data processed {"connection_id":153692,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:48:29] local.INFO: Acknowledgment sent {"connection_id":153692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:48:47] local.INFO: TCP Data received {"connection_id":153691,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c20538012d19bf40072039280027009f25..."} 
[2026-08-11 17:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c20538012d19bf40072039280027009f25..."} 
[2026-08-11 17:48:47] local.INFO: Processing buffer {"connection_id":153691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c20538012d19bf40072039280027009f25..."} 
[2026-08-11 17:48:47] local.INFO: Packet analysis {"connection_id":153691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c2"} 
[2026-08-11 17:48:47] local.INFO: Extracted packet for processing {"connection_id":153691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c2"} 
[2026-08-11 17:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756662080,"raw_latitude":119552296,"longitude_deg":75.666208,"latitude_deg":11.9552296,"altitude":39,"angle":159,"satellites":37,"speed":38,"hex_longitude":"2d19bf40","hex_latitude":"07203928","is_valid_coordinates":true} 
[2026-08-11 17:48: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-08-11 17:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331372800001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11751691946819584,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855271970849499136,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:47] 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-08-11 17:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786450675000,"timestamp_ms":1786450675000,"timestamp_seconds":1786450675,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c20538"} 
[2026-08-11 17:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:48: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-08-11 17:48: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":246,"data_length":795,"current_offset":136} 
[2026-08-11 17:48:47] 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-08-11 17:48: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-08-11 17:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331372800001,"66":14070,"101":206,"83":41984,"24":38,"16":11751691946819584,"45":1855271970849499136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331372800001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:48:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:48:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11751691946819584,"km_value":11751691946819.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855271970849499136,"description":"Unknown IO ID 45"} 
[2026-08-11 17:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331372800001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1855271970849499136}} 
[2026-08-11 17:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":153691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:48:47] local.INFO: GPS data processed {"connection_id":153691,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:48:47] local.INFO: Acknowledgment sent {"connection_id":153691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:48:50] local.INFO: TCP Data received {"connection_id":152374,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c07e98012d82404005da10900007007c23..."} 
[2026-08-11 17:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c07e98012d82404005da10900007007c23..."} 
[2026-08-11 17:48:50] local.INFO: Processing buffer {"connection_id":152374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c07e98012d82404005da10900007007c23..."} 
[2026-08-11 17:48:50] local.INFO: Packet analysis {"connection_id":152374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:48:50] local.INFO: Extracted packet for processing {"connection_id":152374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:48:50] local.INFO: GPS Element Parsed {"raw_longitude":763510848,"raw_latitude":98177168,"longitude_deg":76.3510848,"latitude_deg":9.8177168,"altitude":7,"angle":124,"satellites":35,"speed":7,"hex_longitude":"2d824040","hex_latitude":"05da1090","is_valid_coordinates":true} 
[2026-08-11 17:48: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-08-11 17:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331346944001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117744441065734144,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061383162624397312,"note":"Value kept but may cause issues"} 
[2026-08-11 17:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786450575000,"timestamp_ms":1786450575000,"timestamp_seconds":1786450575,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c07e98"} 
[2026-08-11 17:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:48:50] 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-08-11 17:48: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 17:48:50] 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-08-11 17:48: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-08-11 17:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331346944001,"66":13178,"71":206,"85":15104,"24":7,"16":117744441065734144,"45":-9061383162624397312},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331346944001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:48:50] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:48:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117744441065734144,"km_value":117744441065734.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061383162624397312,"description":"Unknown IO ID 45"} 
[2026-08-11 17:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331346944001,"power":13178,"unknown_71":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9061383162624397312}} 
[2026-08-11 17:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":152374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:48:50] local.INFO: GPS data processed {"connection_id":152374,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:48:50] local.INFO: Acknowledgment sent {"connection_id":152374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:49:00] local.INFO: TCP Data received {"connection_id":153692,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c0dc58012d8ae0c005a0b5a00005012927..."} 
[2026-08-11 17:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c0dc58012d8ae0c005a0b5a00005012927..."} 
[2026-08-11 17:49:00] local.INFO: Processing buffer {"connection_id":153692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c0dc58012d8ae0c005a0b5a00005012927..."} 
[2026-08-11 17:49:00] local.INFO: Packet analysis {"connection_id":153692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:49:00] local.INFO: Extracted packet for processing {"connection_id":153692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:49:00] local.INFO: GPS Element Parsed {"raw_longitude":764076224,"raw_latitude":94418336,"longitude_deg":76.4076224,"latitude_deg":9.4418336,"altitude":5,"angle":297,"satellites":39,"speed":36,"hex_longitude":"2d8ae0c0","hex_latitude":"05a0b5a0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331350784001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377888862132764672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8430386634546649088,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786450599000,"timestamp_ms":1786450599000,"timestamp_seconds":1786450599,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c0dc58"} 
[2026-08-11 17:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 17:49:00] 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-08-11 17: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-08-11 17:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:49: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-08-11 17:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331350784001,"66":27908,"53":206,"85":14592,"24":36,"16":377888862132764672,"45":-8430386634546649088},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-11 17:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331350784001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:49:00] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 17:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377888862132764672,"km_value":377888862132764.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8430386634546649088,"description":"Unknown IO ID 45"} 
[2026-08-11 17:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331350784001,"power":27908,"unknown_53":206,"unknown_85":14592,"ignition":36,"odometer":null,"unknown_45":-8430386634546649088}} 
[2026-08-11 17:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":153692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:49:00] local.INFO: GPS data processed {"connection_id":153692,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:49:00] local.INFO: Acknowledgment sent {"connection_id":153692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:49:08] local.INFO: TCP Data received {"connection_id":155072,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:49:08] local.INFO: Processing buffer {"connection_id":155072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:49:08] local.INFO: IMEI packet received {"connection_id":155072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":155072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:49:13] local.INFO: TCP Data received {"connection_id":155072,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:49:13] local.INFO: Processing buffer {"connection_id":155072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:49:13] local.INFO: IMEI packet received {"connection_id":155072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":155072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:49:14] local.INFO: TCP Data received {"connection_id":155072,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c08280012d8240c005da10600007005d23..."} 
[2026-08-11 17:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c08280012d8240c005da10600007005d23..."} 
[2026-08-11 17:49:14] local.INFO: Processing buffer {"connection_id":155072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c08280012d8240c005da10600007005d23..."} 
[2026-08-11 17:49:14] local.INFO: Packet analysis {"connection_id":155072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:49:14] local.INFO: Extracted packet for processing {"connection_id":155072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:49:14] local.INFO: GPS Element Parsed {"raw_longitude":763510976,"raw_latitude":98177120,"longitude_deg":76.3510976,"latitude_deg":9.817712,"altitude":7,"angle":93,"satellites":35,"speed":6,"hex_longitude":"2d8240c0","hex_latitude":"05da1060","is_valid_coordinates":true} 
[2026-08-11 17:49: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-08-11 17:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331347200001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117744449655668736,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061172056391905280,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786450576000,"timestamp_ms":1786450576000,"timestamp_seconds":1786450576,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c08280"} 
[2026-08-11 17:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:49:14] 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-08-11 17:49: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 17:49:14] 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-08-11 17:49: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-08-11 17:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331347200001,"66":13243,"71":206,"85":15104,"24":6,"16":117744449655668736,"45":-9061172056391905280},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331347200001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:49:14] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:49:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117744449655668736,"km_value":117744449655668.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061172056391905280,"description":"Unknown IO ID 45"} 
[2026-08-11 17:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331347200001,"power":13243,"unknown_71":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9061172056391905280}} 
[2026-08-11 17:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":155072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:49:14] local.INFO: GPS data processed {"connection_id":155072,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:49:14] local.INFO: Acknowledgment sent {"connection_id":155072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:49:15] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:49:15] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:49:15] local.INFO: IMEI packet received {"connection_id":152757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":152757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:49:16] local.INFO: TCP Data received {"connection_id":153693,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:49:16] local.INFO: Processing buffer {"connection_id":153693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:49:16] local.INFO: IMEI packet received {"connection_id":153693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":153693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:49:17] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:49:17] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:49:17] local.INFO: IMEI packet received {"connection_id":152757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":152757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:49:17] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c22c48012d19cd00072019300027009523..."} 
[2026-08-11 17:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c22c48012d19cd00072019300027009523..."} 
[2026-08-11 17:49:17] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c22c48012d19cd00072019300027009523..."} 
[2026-08-11 17:49:17] local.INFO: Packet analysis {"connection_id":152757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c2"} 
[2026-08-11 17:49:17] local.INFO: Extracted packet for processing {"connection_id":152757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c2"} 
[2026-08-11 17:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544112,"longitude_deg":75.66656,"latitude_deg":11.9544112,"altitude":39,"angle":149,"satellites":35,"speed":32,"hex_longitude":"2d19cd00","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-08-11 17:49: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-08-11 17:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331372800001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11752121443549184,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855271970849499136,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:17] 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-08-11 17:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786450685000,"timestamp_ms":1786450685000,"timestamp_seconds":1786450685,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c22c48"} 
[2026-08-11 17:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:49: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-08-11 17:49: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-11 17:49:17] 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-08-11 17:49: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-08-11 17:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331372800001,"66":14396,"101":206,"83":41984,"24":32,"16":11752121443549184,"45":1855271970849499136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331372800001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:49:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:49:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11752121443549184,"km_value":11752121443549.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855271970849499136,"description":"Unknown IO ID 45"} 
[2026-08-11 17:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331372800001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1855271970849499136}} 
[2026-08-11 17:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":152757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:49:17] local.INFO: GPS data processed {"connection_id":152757,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:49:17] local.INFO: Acknowledgment sent {"connection_id":152757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:49:19] local.INFO: TCP Data received {"connection_id":153693,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:49:19] local.INFO: Processing buffer {"connection_id":153693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:49:19] local.INFO: IMEI packet received {"connection_id":153693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":153693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:49:20] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c23418012d19d0c0072014500027008625..."} 
[2026-08-11 17:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c23418012d19d0c0072014500027008625..."} 
[2026-08-11 17:49:20] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c23418012d19d0c0072014500027008625..."} 
[2026-08-11 17:49:20] local.INFO: Packet analysis {"connection_id":152757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c2"} 
[2026-08-11 17:49:20] local.INFO: Extracted packet for processing {"connection_id":152757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c2"} 
[2026-08-11 17:49:20] local.INFO: GPS Element Parsed {"raw_longitude":756666560,"raw_latitude":119542864,"longitude_deg":75.666656,"latitude_deg":11.9542864,"altitude":39,"angle":134,"satellites":37,"speed":32,"hex_longitude":"2d19d0c0","hex_latitude":"07201450","is_valid_coordinates":true} 
[2026-08-11 17:49: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-08-11 17:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331375360001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11752198752960512,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777175552,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:20] 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-08-11 17:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786450687000,"timestamp_ms":1786450687000,"timestamp_seconds":1786450687,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c23418"} 
[2026-08-11 17:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:49: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-08-11 17:49: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 17:49:20] 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-08-11 17:49: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-08-11 17:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331375360001,"66":14276,"101":206,"83":41984,"24":32,"16":11752198752960512,"45":1859142251777175552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331375360001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:49:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:49:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11752198752960512,"km_value":11752198752960.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777175552,"description":"Unknown IO ID 45"} 
[2026-08-11 17:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331375360001,"power":14276,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1859142251777175552}} 
[2026-08-11 17:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":152757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:49:20] local.INFO: GPS data processed {"connection_id":152757,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:49:20] local.INFO: Acknowledgment sent {"connection_id":152757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:49:24] local.INFO: TCP Data received {"connection_id":153693,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:49:24] local.INFO: Processing buffer {"connection_id":153693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:49:24] local.INFO: IMEI packet received {"connection_id":153693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":153693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:49:25] local.INFO: TCP Data received {"connection_id":153693,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c10b38012d8ac10005a0c5f80004012f27..."} 
[2026-08-11 17:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c10b38012d8ac10005a0c5f80004012f27..."} 
[2026-08-11 17:49:25] local.INFO: Processing buffer {"connection_id":153693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c10b38012d8ac10005a0c5f80004012f27..."} 
[2026-08-11 17:49:25] local.INFO: Packet analysis {"connection_id":153693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c1"} 
[2026-08-11 17:49:25] local.INFO: Extracted packet for processing {"connection_id":153693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c1"} 
[2026-08-11 17:49:25] local.INFO: GPS Element Parsed {"raw_longitude":764068096,"raw_latitude":94422520,"longitude_deg":76.4068096,"latitude_deg":9.442252,"altitude":4,"angle":303,"satellites":39,"speed":30,"hex_longitude":"2d8ac100","hex_latitude":"05a0c5f8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331353344001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377889304514396160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8439534571288682496,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786450611000,"timestamp_ms":1786450611000,"timestamp_seconds":1786450611,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c10b38"} 
[2026-08-11 17:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 17:49:25] 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-08-11 17: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-08-11 17:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:49:25] 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-08-11 17:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331353344001,"66":27843,"53":206,"85":14592,"24":30,"16":377889304514396160,"45":-8439534571288682496},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-11 17:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331353344001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:49:25] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 17:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377889304514396160,"km_value":377889304514396.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8439534571288682496,"description":"Unknown IO ID 45"} 
[2026-08-11 17:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331353344001,"power":27843,"unknown_53":206,"unknown_85":14592,"ignition":30,"odometer":null,"unknown_45":-8439534571288682496}} 
[2026-08-11 17:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":153693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:49:25] local.INFO: GPS data processed {"connection_id":153693,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:49:25] local.INFO: Acknowledgment sent {"connection_id":153693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:49:45] local.INFO: TCP Data received {"connection_id":155072,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c08668012d82410005da10700007005d22..."} 
[2026-08-11 17:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c08668012d82410005da10700007005d22..."} 
[2026-08-11 17:49:45] local.INFO: Processing buffer {"connection_id":155072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c08668012d82410005da10700007005d22..."} 
[2026-08-11 17:49:45] local.INFO: Packet analysis {"connection_id":155072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:49:45] local.INFO: Extracted packet for processing {"connection_id":155072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:49:45] local.INFO: GPS Element Parsed {"raw_longitude":763511040,"raw_latitude":98177136,"longitude_deg":76.351104,"latitude_deg":9.8177136,"altitude":7,"angle":93,"satellites":34,"speed":0,"hex_longitude":"2d824100","hex_latitude":"05da1070","is_valid_coordinates":true} 
[2026-08-11 17:49:45] 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-08-11 17:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331347456001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117744453950636032,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061031318903562240,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786450577000,"timestamp_ms":1786450577000,"timestamp_seconds":1786450577,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c08668"} 
[2026-08-11 17:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:49:45] 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-08-11 17:49: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 17:49:45] 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-08-11 17:49: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-08-11 17:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331347456001,"66":13243,"71":206,"85":15104,"24":0,"16":117744453950636032,"45":-9061031318903562240},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331347456001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:49:45] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:49:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117744453950636032,"km_value":117744453950636.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061031318903562240,"description":"Unknown IO ID 45"} 
[2026-08-11 17:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331347456001,"power":13243,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061031318903562240}} 
[2026-08-11 17:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":155072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:49:45] local.INFO: GPS data processed {"connection_id":155072,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:49:45] local.INFO: Acknowledgment sent {"connection_id":155072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:49:51] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c23fd0012d19d84007200ef80027007924..."} 
[2026-08-11 17:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c23fd0012d19d84007200ef80027007924..."} 
[2026-08-11 17:49:51] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c23fd0012d19d84007200ef80027007924..."} 
[2026-08-11 17:49:51] local.INFO: Packet analysis {"connection_id":152757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c2"} 
[2026-08-11 17:49:51] local.INFO: Extracted packet for processing {"connection_id":152757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c2"} 
[2026-08-11 17:49:51] local.INFO: GPS Element Parsed {"raw_longitude":756668480,"raw_latitude":119541496,"longitude_deg":75.666848,"latitude_deg":11.9541496,"altitude":39,"angle":121,"satellites":36,"speed":28,"hex_longitude":"2d19d840","hex_latitude":"07200ef8","is_valid_coordinates":true} 
[2026-08-11 17:49: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-08-11 17:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331375872001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11752310422110208,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860197782939521024,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:51] 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-08-11 17:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786450690000,"timestamp_ms":1786450690000,"timestamp_seconds":1786450690,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c23fd0"} 
[2026-08-11 17:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:49: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":196,"data_length":795,"current_offset":136} 
[2026-08-11 17:49:51] 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-08-11 17:49: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-08-11 17:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331375872001,"66":13656,"101":206,"83":41984,"24":28,"16":11752310422110208,"45":1860197782939521024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331375872001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:49:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11752310422110208,"km_value":11752310422110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860197782939521024,"description":"Unknown IO ID 45"} 
[2026-08-11 17:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331375872001,"power":13656,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1860197782939521024}} 
[2026-08-11 17:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":152757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:49:51] local.INFO: GPS data processed {"connection_id":152757,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:49:51] local.INFO: Acknowledgment sent {"connection_id":152757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:49:57] local.INFO: TCP Data received {"connection_id":153693,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c2ff38012d894d0005a17de80004012827..."} 
[2026-08-11 17:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c2ff38012d894d0005a17de80004012827..."} 
[2026-08-11 17:49:57] local.INFO: Processing buffer {"connection_id":153693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c2ff38012d894d0005a17de80004012827..."} 
[2026-08-11 17:49:57] local.INFO: Packet analysis {"connection_id":153693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c2"} 
[2026-08-11 17:49:57] local.INFO: Extracted packet for processing {"connection_id":153693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c2"} 
[2026-08-11 17:49:57] local.INFO: GPS Element Parsed {"raw_longitude":763972864,"raw_latitude":94469608,"longitude_deg":76.3972864,"latitude_deg":9.4469608,"altitude":4,"angle":296,"satellites":39,"speed":35,"hex_longitude":"2d894d00","hex_latitude":"05a17de8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331386624001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377894398345609216,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8544313631357161472,"note":"Value kept but may cause issues"} 
[2026-08-11 17:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786450739000,"timestamp_ms":1786450739000,"timestamp_seconds":1786450739,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c2ff38"} 
[2026-08-11 17:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 17:49: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-08-11 17: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-08-11 17:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:49:57] 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-08-11 17:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331386624001,"66":27908,"53":206,"85":14592,"24":35,"16":377894398345609216,"45":-8544313631357161472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-11 17:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331386624001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:49:57] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 17:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377894398345609216,"km_value":377894398345609.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8544313631357161472,"description":"Unknown IO ID 45"} 
[2026-08-11 17:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331386624001,"power":27908,"unknown_53":206,"unknown_85":14592,"ignition":35,"odometer":null,"unknown_45":-8544313631357161472}} 
[2026-08-11 17:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":153693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:49:57] local.INFO: GPS data processed {"connection_id":153693,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:49:57] local.INFO: Acknowledgment sent {"connection_id":153693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:50:08] local.INFO: TCP Data received {"connection_id":155073,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:50:08] local.INFO: Processing buffer {"connection_id":155073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:50:08] local.INFO: IMEI packet received {"connection_id":155073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":155073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:50:09] local.INFO: TCP Data received {"connection_id":153694,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:50:09] local.INFO: Processing buffer {"connection_id":153694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:50:09] local.INFO: IMEI packet received {"connection_id":153694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":153694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:50:10] local.INFO: TCP Data received {"connection_id":153694,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:50:10] local.INFO: Processing buffer {"connection_id":153694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:50:10] local.INFO: IMEI packet received {"connection_id":153694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":153694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:50:12] local.INFO: TCP Data received {"connection_id":153694,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:50:12] local.INFO: Processing buffer {"connection_id":153694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:50:12] local.INFO: IMEI packet received {"connection_id":153694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":153694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:50:13] local.INFO: TCP Data received {"connection_id":153694,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c33db8012d19cac0071ff330002600dd22..."} 
[2026-08-11 17:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c33db8012d19cac0071ff330002600dd22..."} 
[2026-08-11 17:50:13] local.INFO: Processing buffer {"connection_id":153694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c33db8012d19cac0071ff330002600dd22..."} 
[2026-08-11 17:50:13] local.INFO: Packet analysis {"connection_id":153694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c3"} 
[2026-08-11 17:50:13] local.INFO: Extracted packet for processing {"connection_id":153694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c3"} 
[2026-08-11 17:50:13] local.INFO: GPS Element Parsed {"raw_longitude":756665024,"raw_latitude":119534384,"longitude_deg":75.6665024,"latitude_deg":11.9534384,"altitude":38,"angle":221,"satellites":34,"speed":11,"hex_longitude":"2d19cac0","hex_latitude":"071ff330","is_valid_coordinates":true} 
[2026-08-11 17:50: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-08-11 17:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331391744001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11752817228251136,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989263405056,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50: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-08-11 17:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786450755000,"timestamp_ms":1786450755000,"timestamp_seconds":1786450755,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c33db8"} 
[2026-08-11 17:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:50: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-08-11 17:50: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":55,"data_length":795,"current_offset":136} 
[2026-08-11 17:50:13] 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-08-11 17:50: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-08-11 17:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331391744001,"66":14070,"101":206,"83":41984,"24":11,"16":11752817228251136,"45":1859282989263405056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331391744001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:50:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:50:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11752817228251136,"km_value":11752817228251.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989263405056,"description":"Unknown IO ID 45"} 
[2026-08-11 17:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331391744001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1859282989263405056}} 
[2026-08-11 17:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":153694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:50:13] local.INFO: GPS data processed {"connection_id":153694,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:50:13] local.INFO: Acknowledgment sent {"connection_id":153694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:50:13] local.INFO: TCP Data received {"connection_id":155073,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:50:13] local.INFO: Processing buffer {"connection_id":155073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:50:13] local.INFO: IMEI packet received {"connection_id":155073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":155073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:50:14] local.INFO: TCP Data received {"connection_id":155073,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c08668012d82410005da10700007005d22..."} 
[2026-08-11 17:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c08668012d82410005da10700007005d22..."} 
[2026-08-11 17:50:14] local.INFO: Processing buffer {"connection_id":155073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c08668012d82410005da10700007005d22..."} 
[2026-08-11 17:50:14] local.INFO: Packet analysis {"connection_id":155073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:50:14] local.INFO: Extracted packet for processing {"connection_id":155073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:50:14] local.INFO: GPS Element Parsed {"raw_longitude":763511040,"raw_latitude":98177136,"longitude_deg":76.351104,"latitude_deg":9.8177136,"altitude":7,"angle":93,"satellites":34,"speed":0,"hex_longitude":"2d824100","hex_latitude":"05da1070","is_valid_coordinates":true} 
[2026-08-11 17:50:14] 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-08-11 17:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331347712001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117744453950636032,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060960950159380480,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786450577000,"timestamp_ms":1786450577000,"timestamp_seconds":1786450577,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c08668"} 
[2026-08-11 17:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:50:14] 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-08-11 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 17:50:14] 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-08-11 17: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-08-11 17:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331347712001,"66":13243,"71":206,"85":15104,"24":0,"16":117744453950636032,"45":-9060960950159380480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331347712001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:50:14] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:50:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117744453950636032,"km_value":117744453950636.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060960950159380480,"description":"Unknown IO ID 45"} 
[2026-08-11 17:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331347712001,"power":13243,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9060960950159380480}} 
[2026-08-11 17:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":155073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:50:14] local.INFO: GPS data processed {"connection_id":155073,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:50:14] local.INFO: Acknowledgment sent {"connection_id":155073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:50:19] local.INFO: TCP Data received {"connection_id":152758,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:50:19] local.INFO: Processing buffer {"connection_id":152758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:50:19] local.INFO: IMEI packet received {"connection_id":152758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":152758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:50:20] local.INFO: TCP Data received {"connection_id":152758,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:50:20] local.INFO: Processing buffer {"connection_id":152758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:50:20] local.INFO: IMEI packet received {"connection_id":152758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":152758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:50:24] local.INFO: TCP Data received {"connection_id":152758,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:50:24] local.INFO: Processing buffer {"connection_id":152758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:50:24] local.INFO: IMEI packet received {"connection_id":152758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":152758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:50:25] local.INFO: TCP Data received {"connection_id":152758,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c32648012d892d0005a18d600003012d27..."} 
[2026-08-11 17:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c32648012d892d0005a18d600003012d27..."} 
[2026-08-11 17:50:25] local.INFO: Processing buffer {"connection_id":152758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c32648012d892d0005a18d600003012d27..."} 
[2026-08-11 17:50:25] local.INFO: Packet analysis {"connection_id":152758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c3"} 
[2026-08-11 17:50:25] local.INFO: Extracted packet for processing {"connection_id":152758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c3"} 
[2026-08-11 17:50:25] local.INFO: GPS Element Parsed {"raw_longitude":763964672,"raw_latitude":94473568,"longitude_deg":76.3964672,"latitude_deg":9.4473568,"altitude":3,"angle":301,"satellites":39,"speed":39,"hex_longitude":"2d892d00","hex_latitude":"05a18d60","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331389184001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377894832137306112,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8553180093122484224,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786450749000,"timestamp_ms":1786450749000,"timestamp_seconds":1786450749,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c32648"} 
[2026-08-11 17:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 17:50:25] 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-08-11 17: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-08-11 17:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:50:25] 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-08-11 17:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331389184001,"66":27930,"53":206,"85":14592,"24":39,"16":377894832137306112,"45":-8553180093122484224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-11 17:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331389184001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:50:25] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 17:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377894832137306112,"km_value":377894832137306.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8553180093122484224,"description":"Unknown IO ID 45"} 
[2026-08-11 17:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331389184001,"power":27930,"unknown_53":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-8553180093122484224}} 
[2026-08-11 17:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":152758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:50:25] local.INFO: GPS data processed {"connection_id":152758,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:50:25] local.INFO: Acknowledgment sent {"connection_id":152758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:50:44] local.INFO: TCP Data received {"connection_id":153694,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c341a0012d19ca00071ff260002500ea22..."} 
[2026-08-11 17:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c341a0012d19ca00071ff260002500ea22..."} 
[2026-08-11 17:50:44] local.INFO: Processing buffer {"connection_id":153694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c341a0012d19ca00071ff260002500ea22..."} 
[2026-08-11 17:50:44] local.INFO: Packet analysis {"connection_id":153694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c3"} 
[2026-08-11 17:50:44] local.INFO: Extracted packet for processing {"connection_id":153694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c3"} 
[2026-08-11 17:50:44] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119534176,"longitude_deg":75.6664832,"latitude_deg":11.9534176,"altitude":37,"angle":234,"satellites":34,"speed":13,"hex_longitude":"2d19ca00","hex_latitude":"071ff260","is_valid_coordinates":true} 
[2026-08-11 17:50: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-08-11 17:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331393280001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11752830113153024,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933077086208,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:44] 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-08-11 17:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786450756000,"timestamp_ms":1786450756000,"timestamp_seconds":1786450756,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c341a0"} 
[2026-08-11 17:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:50: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-08-11 17:50: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":246,"data_length":795,"current_offset":136} 
[2026-08-11 17:50:44] 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-08-11 17:50: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-08-11 17:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331393280001,"66":14070,"101":206,"83":41984,"24":13,"16":11752830113153024,"45":1858508933077086208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331393280001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:50:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:50:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11752830113153024,"km_value":11752830113153.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933077086208,"description":"Unknown IO ID 45"} 
[2026-08-11 17:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331393280001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1858508933077086208}} 
[2026-08-11 17:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":153694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:50:44] local.INFO: GPS data processed {"connection_id":153694,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:50:44] local.INFO: Acknowledgment sent {"connection_id":153694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:50:45] local.INFO: TCP Data received {"connection_id":155073,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c08668012d82410005da10700007005d22..."} 
[2026-08-11 17:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c08668012d82410005da10700007005d22..."} 
[2026-08-11 17:50:45] local.INFO: Processing buffer {"connection_id":155073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c08668012d82410005da10700007005d22..."} 
[2026-08-11 17:50:45] local.INFO: Packet analysis {"connection_id":155073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:50:45] local.INFO: Extracted packet for processing {"connection_id":155073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:50:45] local.INFO: GPS Element Parsed {"raw_longitude":763511040,"raw_latitude":98177136,"longitude_deg":76.351104,"latitude_deg":9.8177136,"altitude":7,"angle":93,"satellites":34,"speed":0,"hex_longitude":"2d824100","hex_latitude":"05da1070","is_valid_coordinates":true} 
[2026-08-11 17:50:45] 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-08-11 17:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331347712001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117744453950636032,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060960950159380480,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786450577000,"timestamp_ms":1786450577000,"timestamp_seconds":1786450577,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c08668"} 
[2026-08-11 17:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:50:45] 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-08-11 17:50: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 17:50:45] 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-08-11 17:50: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-08-11 17:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331347712001,"66":13243,"71":206,"85":15104,"24":0,"16":117744453950636032,"45":-9060960950159380480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331347712001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:50:45] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:50:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117744453950636032,"km_value":117744453950636.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060960950159380480,"description":"Unknown IO ID 45"} 
[2026-08-11 17:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331347712001,"power":13243,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9060960950159380480}} 
[2026-08-11 17:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":155073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:50:45] local.INFO: GPS data processed {"connection_id":155073,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:50:45] local.INFO: Acknowledgment sent {"connection_id":155073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:50:56] local.INFO: TCP Data received {"connection_id":152758,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c34970012d890b0005a19ec80003012728..."} 
[2026-08-11 17:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c34970012d890b0005a19ec80003012728..."} 
[2026-08-11 17:50:56] local.INFO: Processing buffer {"connection_id":152758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c34970012d890b0005a19ec80003012728..."} 
[2026-08-11 17:50:56] local.INFO: Packet analysis {"connection_id":152758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c3"} 
[2026-08-11 17:50:56] local.INFO: Extracted packet for processing {"connection_id":152758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c3"} 
[2026-08-11 17:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763955968,"raw_latitude":94478024,"longitude_deg":76.3955968,"latitude_deg":9.4478024,"altitude":3,"angle":295,"satellites":40,"speed":44,"hex_longitude":"2d890b00","hex_latitude":"05a19ec8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331391744001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377895300288741376,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8562187292376211456,"note":"Value kept but may cause issues"} 
[2026-08-11 17:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786450758000,"timestamp_ms":1786450758000,"timestamp_seconds":1786450758,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c34970"} 
[2026-08-11 17:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 17:50:56] 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-08-11 17: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-08-11 17:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:50:56] 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-08-11 17:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331391744001,"66":27930,"151":206,"85":14592,"24":44,"16":377895300288741376,"45":-8562187292376211456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-08-11 17:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331391744001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:50:56] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-11 17:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377895300288741376,"km_value":377895300288741.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8562187292376211456,"description":"Unknown IO ID 45"} 
[2026-08-11 17:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331391744001,"power":27930,"unknown_151":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-8562187292376211456}} 
[2026-08-11 17:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":152758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:50:56] local.INFO: GPS data processed {"connection_id":152758,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:50:56] local.INFO: Acknowledgment sent {"connection_id":152758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:51:07] local.INFO: TCP Data received {"connection_id":155074,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:51:07] local.INFO: Processing buffer {"connection_id":155074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:51:07] local.INFO: IMEI packet received {"connection_id":155074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":155074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:51:08] local.INFO: TCP Data received {"connection_id":155074,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:51:08] local.INFO: Processing buffer {"connection_id":155074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:51:08] local.INFO: IMEI packet received {"connection_id":155074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":155074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:51:08] local.INFO: TCP Data received {"connection_id":155075,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:51:08] local.INFO: Processing buffer {"connection_id":155075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:51:08] local.INFO: IMEI packet received {"connection_id":155075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":155075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:51:09] local.INFO: TCP Data received {"connection_id":155074,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:51:09] local.INFO: Processing buffer {"connection_id":155074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:51:09] local.INFO: IMEI packet received {"connection_id":155074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":155074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:51:10] local.INFO: TCP Data received {"connection_id":155074,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:51:10] local.INFO: Processing buffer {"connection_id":155074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:51:10] local.INFO: IMEI packet received {"connection_id":155074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":155074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:51:13] local.INFO: TCP Data received {"connection_id":155075,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:51:13] local.INFO: Processing buffer {"connection_id":155075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:51:13] local.INFO: IMEI packet received {"connection_id":155075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":155075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:51:14] local.INFO: TCP Data received {"connection_id":155075,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c08668012d82410005da10700007005d22..."} 
[2026-08-11 17:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c08668012d82410005da10700007005d22..."} 
[2026-08-11 17:51:14] local.INFO: Processing buffer {"connection_id":155075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c08668012d82410005da10700007005d22..."} 
[2026-08-11 17:51:14] local.INFO: Packet analysis {"connection_id":155075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:51:14] local.INFO: Extracted packet for processing {"connection_id":155075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c0"} 
[2026-08-11 17:51:14] local.INFO: GPS Element Parsed {"raw_longitude":763511040,"raw_latitude":98177136,"longitude_deg":76.351104,"latitude_deg":9.8177136,"altitude":7,"angle":93,"satellites":34,"speed":0,"hex_longitude":"2d824100","hex_latitude":"05da1070","is_valid_coordinates":true} 
[2026-08-11 17:51:14] 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-08-11 17:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331347712001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117744453950636032,"note":"Value kept but may cause issues"} 
[2026-08-11 17:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060960950159380480,"note":"Value kept but may cause issues"} 
[2026-08-11 17:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786450577000,"timestamp_ms":1786450577000,"timestamp_seconds":1786450577,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c08668"} 
[2026-08-11 17:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:51:14] 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-08-11 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 17:51:14] 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-08-11 17: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-08-11 17:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331347712001,"66":13243,"71":206,"85":15104,"24":0,"16":117744453950636032,"45":-9060960950159380480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331347712001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:51:14] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:51:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117744453950636032,"km_value":117744453950636.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060960950159380480,"description":"Unknown IO ID 45"} 
[2026-08-11 17:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331347712001,"power":13243,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9060960950159380480}} 
[2026-08-11 17:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":155075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:51:14] local.INFO: GPS data processed {"connection_id":155075,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:51:14] local.INFO: Acknowledgment sent {"connection_id":155075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:51:19] local.INFO: TCP Data received {"connection_id":153695,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:51:19] local.INFO: Processing buffer {"connection_id":153695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:51:19] local.INFO: IMEI packet received {"connection_id":153695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":153695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:51:22] local.INFO: TCP Data received {"connection_id":153695,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:51:22] local.INFO: Processing buffer {"connection_id":153695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:51:22] local.INFO: IMEI packet received {"connection_id":153695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":153695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:51:23] local.INFO: TCP Data received {"connection_id":153695,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c368b0012d88ea8005a1aea80003012927..."} 
[2026-08-11 17:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c368b0012d88ea8005a1aea80003012927..."} 
[2026-08-11 17:51:23] local.INFO: Processing buffer {"connection_id":153695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c368b0012d88ea8005a1aea80003012927..."} 
[2026-08-11 17:51:23] local.INFO: Packet analysis {"connection_id":153695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c3"} 
[2026-08-11 17:51:23] local.INFO: Extracted packet for processing {"connection_id":153695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c3"} 
[2026-08-11 17:51:23] local.INFO: GPS Element Parsed {"raw_longitude":763947648,"raw_latitude":94482088,"longitude_deg":76.3947648,"latitude_deg":9.4482088,"altitude":3,"angle":297,"satellites":39,"speed":47,"hex_longitude":"2d88ea80","hex_latitude":"05a1aea8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331394048001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377895746965340160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8571757441583233024,"note":"Value kept but may cause issues"} 
[2026-08-11 17:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786450766000,"timestamp_ms":1786450766000,"timestamp_seconds":1786450766,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c368b0"} 
[2026-08-11 17:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 17:51:23] 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-08-11 17: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-08-11 17:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:51: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-08-11 17:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331394048001,"66":27919,"151":206,"85":14592,"24":47,"16":377895746965340160,"45":-8571757441583233024},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-08-11 17:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331394048001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:51:23] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-11 17:51:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377895746965340160,"km_value":377895746965340.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8571757441583233024,"description":"Unknown IO ID 45"} 
[2026-08-11 17:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331394048001,"power":27919,"unknown_151":206,"unknown_85":14592,"ignition":47,"odometer":null,"unknown_45":-8571757441583233024}} 
[2026-08-11 17:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":153695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:51:23] local.INFO: GPS data processed {"connection_id":153695,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:51:23] local.INFO: Acknowledgment sent {"connection_id":153695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:51:45] local.INFO: TCP Data received {"connection_id":155075,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c531b8012d82404005da10780008005d24..."} 
[2026-08-11 17:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c531b8012d82404005da10780008005d24..."} 
[2026-08-11 17:51:45] local.INFO: Processing buffer {"connection_id":155075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c531b8012d82404005da10780008005d24..."} 
[2026-08-11 17:51:45] local.INFO: Packet analysis {"connection_id":155075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c5"} 
[2026-08-11 17:51:45] local.INFO: Extracted packet for processing {"connection_id":155075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c5"} 
[2026-08-11 17:51:45] local.INFO: GPS Element Parsed {"raw_longitude":763510848,"raw_latitude":98177144,"longitude_deg":76.3510848,"latitude_deg":9.8177144,"altitude":8,"angle":93,"satellites":36,"speed":0,"hex_longitude":"2d824040","hex_latitude":"05da1078","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331347712001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117744453950636032,"note":"Value kept but may cause issues"} 
[2026-08-11 17:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060960950159380480,"note":"Value kept but may cause issues"} 
[2026-08-11 17:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786450883000,"timestamp_ms":1786450883000,"timestamp_seconds":1786450883,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c531b8"} 
[2026-08-11 17:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:51:45] 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-08-11 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 17:51:45] 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-08-11 17: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-08-11 17:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331347712001,"66":12863,"71":206,"85":15104,"24":0,"16":117744453950636032,"45":-9060960950159380480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331347712001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:51:45] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:51:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117744453950636032,"km_value":117744453950636.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060960950159380480,"description":"Unknown IO ID 45"} 
[2026-08-11 17:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331347712001,"power":12863,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9060960950159380480}} 
[2026-08-11 17:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":155075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:51:45] local.INFO: GPS data processed {"connection_id":155075,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:51:45] local.INFO: Acknowledgment sent {"connection_id":155075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:51:54] local.INFO: TCP Data received {"connection_id":153695,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c387f0012d88ca4005a1be600005012826..."} 
[2026-08-11 17:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c387f0012d88ca4005a1be600005012826..."} 
[2026-08-11 17:51:54] local.INFO: Processing buffer {"connection_id":153695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c387f0012d88ca4005a1be600005012826..."} 
[2026-08-11 17:51:54] local.INFO: Packet analysis {"connection_id":153695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c3"} 
[2026-08-11 17:51:54] local.INFO: Extracted packet for processing {"connection_id":153695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c3"} 
[2026-08-11 17:51:54] local.INFO: GPS Element Parsed {"raw_longitude":763939392,"raw_latitude":94486112,"longitude_deg":76.3939392,"latitude_deg":9.4486112,"altitude":5,"angle":296,"satellites":38,"speed":43,"hex_longitude":"2d88ca40","hex_latitude":"05a1be60","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331396096001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377896189346971648,"note":"Value kept but may cause issues"} 
[2026-08-11 17:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8580905378325288960,"note":"Value kept but may cause issues"} 
[2026-08-11 17:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786450774000,"timestamp_ms":1786450774000,"timestamp_seconds":1786450774,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c387f0"} 
[2026-08-11 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-08-11 17:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 17:51:54] 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-08-11 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-08-11 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-08-11 17:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":153695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":153695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":153695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:51:54] 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-08-11 17:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331396096001,"66":27745,"151":206,"85":14592,"24":43,"16":377896189346971648,"45":-8580905378325288960},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-08-11 17:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331396096001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:51:54] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-11 17:51:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377896189346971648,"km_value":377896189346971.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8580905378325288960,"description":"Unknown IO ID 45"} 
[2026-08-11 17:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331396096001,"power":27745,"unknown_151":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-8580905378325288960}} 
[2026-08-11 17:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":153695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:51:54] local.INFO: GPS data processed {"connection_id":153695,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:51:54] local.INFO: Acknowledgment sent {"connection_id":153695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:52:09] local.INFO: TCP Data received {"connection_id":152760,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:52:09] local.INFO: Processing buffer {"connection_id":152760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:52:09] local.INFO: IMEI packet received {"connection_id":152760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":152760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:52:10] local.INFO: TCP Data received {"connection_id":152760,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:52:10] local.INFO: Processing buffer {"connection_id":152760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:52:10] local.INFO: IMEI packet received {"connection_id":152760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":152760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:52:13] local.INFO: TCP Data received {"connection_id":152760,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:52:13] local.INFO: Processing buffer {"connection_id":152760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:52:13] local.INFO: IMEI packet received {"connection_id":152760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":152760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:52:18] local.INFO: TCP Data received {"connection_id":152760,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:52:18] local.INFO: Processing buffer {"connection_id":152760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:52:18] local.INFO: IMEI packet received {"connection_id":152760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":152760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:52:19] local.INFO: TCP Data received {"connection_id":153696,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:52:19] local.INFO: Processing buffer {"connection_id":153696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:52:19] local.INFO: IMEI packet received {"connection_id":153696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":153696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:52:19] local.INFO: TCP Data received {"connection_id":152760,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c5e180012d82404005da10780008005d24..."} 
[2026-08-11 17:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c5e180012d82404005da10780008005d24..."} 
[2026-08-11 17:52:19] local.INFO: Processing buffer {"connection_id":152760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c5e180012d82404005da10780008005d24..."} 
[2026-08-11 17:52:19] local.INFO: Packet analysis {"connection_id":152760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c5"} 
[2026-08-11 17:52:19] local.INFO: Extracted packet for processing {"connection_id":152760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c5"} 
[2026-08-11 17:52:19] local.INFO: GPS Element Parsed {"raw_longitude":763510848,"raw_latitude":98177144,"longitude_deg":76.3510848,"latitude_deg":9.8177144,"altitude":8,"angle":93,"satellites":36,"speed":0,"hex_longitude":"2d824040","hex_latitude":"05da1078","is_valid_coordinates":true} 
[2026-08-11 17:52:19] 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-08-11 17:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331426048001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117744453950636032,"note":"Value kept but may cause issues"} 
[2026-08-11 17:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061172056391911424,"note":"Value kept but may cause issues"} 
[2026-08-11 17:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786450928000,"timestamp_ms":1786450928000,"timestamp_seconds":1786450928,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c5e180"} 
[2026-08-11 17:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:52:19] 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-08-11 17:52: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-11 17:52:19] 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-08-11 17:52: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-08-11 17:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331426048001,"66":12765,"71":206,"85":15104,"24":0,"16":117744453950636032,"45":-9061172056391911424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331426048001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:52:19] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:52:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117744453950636032,"km_value":117744453950636.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061172056391911424,"description":"Unknown IO ID 45"} 
[2026-08-11 17:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331426048001,"power":12765,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061172056391911424}} 
[2026-08-11 17:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":152760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:52:19] local.INFO: GPS data processed {"connection_id":152760,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:52:19] local.INFO: Acknowledgment sent {"connection_id":152760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:52:24] local.INFO: TCP Data received {"connection_id":152760,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c5e180012d82404005da10780008005d24..."} 
[2026-08-11 17:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c5e180012d82404005da10780008005d24..."} 
[2026-08-11 17:52:24] local.INFO: Processing buffer {"connection_id":152760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c5e180012d82404005da10780008005d24..."} 
[2026-08-11 17:52:24] local.INFO: Packet analysis {"connection_id":152760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c5"} 
[2026-08-11 17:52:24] local.INFO: Extracted packet for processing {"connection_id":152760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c5"} 
[2026-08-11 17:52:24] local.INFO: GPS Element Parsed {"raw_longitude":763510848,"raw_latitude":98177144,"longitude_deg":76.3510848,"latitude_deg":9.8177144,"altitude":8,"angle":93,"satellites":36,"speed":0,"hex_longitude":"2d824040","hex_latitude":"05da1078","is_valid_coordinates":true} 
[2026-08-11 17:52:24] 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-08-11 17:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331437568001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117744453950636032,"note":"Value kept but may cause issues"} 
[2026-08-11 17:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061172056391911424,"note":"Value kept but may cause issues"} 
[2026-08-11 17:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786450928000,"timestamp_ms":1786450928000,"timestamp_seconds":1786450928,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c5e180"} 
[2026-08-11 17:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:52:24] 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-08-11 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-11 17:52:24] 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-08-11 17: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-08-11 17:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331437568001,"66":12765,"71":206,"85":15104,"24":0,"16":117744453950636032,"45":-9061172056391911424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331437568001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:52:24] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:52:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117744453950636032,"km_value":117744453950636.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061172056391911424,"description":"Unknown IO ID 45"} 
[2026-08-11 17:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331437568001,"power":12765,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061172056391911424}} 
[2026-08-11 17:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":152760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:52:24] local.INFO: GPS data processed {"connection_id":152760,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:52:24] local.INFO: Acknowledgment sent {"connection_id":152760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:52:29] local.INFO: TCP Data received {"connection_id":153696,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:52:29] local.INFO: Processing buffer {"connection_id":153696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:52:29] local.INFO: IMEI packet received {"connection_id":153696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":153696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:52:30] local.INFO: TCP Data received {"connection_id":153696,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c4fef0012d875b8005a273d80005012827..."} 
[2026-08-11 17:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c4fef0012d875b8005a273d80005012827..."} 
[2026-08-11 17:52:30] local.INFO: Processing buffer {"connection_id":153696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c4fef0012d875b8005a273d80005012827..."} 
[2026-08-11 17:52:30] local.INFO: Packet analysis {"connection_id":153696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c4"} 
[2026-08-11 17:52:30] local.INFO: Extracted packet for processing {"connection_id":153696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c4"} 
[2026-08-11 17:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763845504,"raw_latitude":94532568,"longitude_deg":76.3845504,"latitude_deg":9.4532568,"altitude":5,"angle":296,"satellites":39,"speed":37,"hex_longitude":"2d875b80","hex_latitude":"05a273d8","is_valid_coordinates":true} 
[2026-08-11 17:52: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-08-11 17:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331420416001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377901210163740672,"note":"Value kept but may cause issues"} 
[2026-08-11 17:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8684277063510386688,"note":"Value kept but may cause issues"} 
[2026-08-11 17:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786450870000,"timestamp_ms":1786450870000,"timestamp_seconds":1786450870,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c4fef0"} 
[2026-08-11 17:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:52: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 17:52:30] 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-08-11 17:52: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-08-11 17:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:52:30] 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-08-11 17:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331420416001,"66":27930,"151":206,"85":14592,"24":37,"16":377901210163740672,"45":-8684277063510386688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-08-11 17:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331420416001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:52:30] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-11 17:52:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377901210163740672,"km_value":377901210163740.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8684277063510386688,"description":"Unknown IO ID 45"} 
[2026-08-11 17:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331420416001,"power":27930,"unknown_151":206,"unknown_85":14592,"ignition":37,"odometer":null,"unknown_45":-8684277063510386688}} 
[2026-08-11 17:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":153696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:52:30] local.INFO: GPS data processed {"connection_id":153696,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:52:30] local.INFO: Acknowledgment sent {"connection_id":153696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:53:01] local.INFO: TCP Data received {"connection_id":153696,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c52600012d873b0005a284600005012629..."} 
[2026-08-11 17:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c52600012d873b0005a284600005012629..."} 
[2026-08-11 17:53:01] local.INFO: Processing buffer {"connection_id":153696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c52600012d873b0005a284600005012629..."} 
[2026-08-11 17:53:01] local.INFO: Packet analysis {"connection_id":153696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c5"} 
[2026-08-11 17:53:01] local.INFO: Extracted packet for processing {"connection_id":153696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c5"} 
[2026-08-11 17:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763837184,"raw_latitude":94536800,"longitude_deg":76.3837184,"latitude_deg":9.45368,"altitude":5,"angle":294,"satellites":41,"speed":40,"hex_longitude":"2d873b00","hex_latitude":"05a28460","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331422720001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377901661135306752,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8693213894019917824,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786450880000,"timestamp_ms":1786450880000,"timestamp_seconds":1786450880,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c52600"} 
[2026-08-11 17:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":26,"data_length":795,"current_offset":136} 
[2026-08-11 17:53:01] 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-08-11 17: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-08-11 17:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:53: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-08-11 17:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331422720001,"66":27865,"151":206,"85":14592,"24":40,"16":377901661135306752,"45":-8693213894019917824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-08-11 17:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331422720001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:53:01] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-11 17:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377901661135306752,"km_value":377901661135306.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8693213894019917824,"description":"Unknown IO ID 45"} 
[2026-08-11 17:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331422720001,"power":27865,"unknown_151":206,"unknown_85":14592,"ignition":40,"odometer":null,"unknown_45":-8693213894019917824}} 
[2026-08-11 17:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":153696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:53:01] local.INFO: GPS data processed {"connection_id":153696,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:53:01] local.INFO: Acknowledgment sent {"connection_id":153696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:53:08] local.INFO: TCP Data received {"connection_id":155076,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:53:08] local.INFO: Processing buffer {"connection_id":155076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:53:08] local.INFO: IMEI packet received {"connection_id":155076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":155076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:53:13] local.INFO: TCP Data received {"connection_id":155076,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:53:13] local.INFO: Processing buffer {"connection_id":155076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:53:13] local.INFO: IMEI packet received {"connection_id":155076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":155076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:53:13] local.INFO: TCP Data received {"connection_id":155076,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c61c18012d8240c005da11580006010724..."} 
[2026-08-11 17:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c61c18012d8240c005da11580006010724..."} 
[2026-08-11 17:53:13] local.INFO: Processing buffer {"connection_id":155076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c61c18012d8240c005da11580006010724..."} 
[2026-08-11 17:53:13] local.INFO: Packet analysis {"connection_id":155076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c6"} 
[2026-08-11 17:53:13] local.INFO: Extracted packet for processing {"connection_id":155076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c6"} 
[2026-08-11 17:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763510976,"raw_latitude":98177368,"longitude_deg":76.3510976,"latitude_deg":9.8177368,"altitude":6,"angle":263,"satellites":36,"speed":1,"hex_longitude":"2d8240c0","hex_latitude":"05da1158","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331437568001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117744462540570624,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061172056391911424,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786450943000,"timestamp_ms":1786450943000,"timestamp_seconds":1786450943,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c61c18"} 
[2026-08-11 17:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:53:13] 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-08-11 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-11 17:53:13] 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-08-11 17: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-08-11 17:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":155076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":155076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":155076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331437568001,"66":11624,"71":206,"85":15104,"24":1,"16":117744462540570624,"45":-9061172056391911424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331437568001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:53:13] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117744462540570624,"km_value":117744462540570.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061172056391911424,"description":"Unknown IO ID 45"} 
[2026-08-11 17:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331437568001,"power":11624,"unknown_71":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":-9061172056391911424}} 
[2026-08-11 17:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":155076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:53:13] local.INFO: GPS data processed {"connection_id":155076,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:53:13] local.INFO: Acknowledgment sent {"connection_id":155076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:53:23] local.INFO: TCP Data received {"connection_id":153697,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:53:23] local.INFO: Processing buffer {"connection_id":153697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:53:23] local.INFO: IMEI packet received {"connection_id":153697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":153697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:53:24] local.INFO: TCP Data received {"connection_id":153697,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:53:24] local.INFO: Processing buffer {"connection_id":153697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:53:24] local.INFO: IMEI packet received {"connection_id":153697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":153697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:53:29] local.INFO: TCP Data received {"connection_id":153697,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:53:29] local.INFO: Processing buffer {"connection_id":153697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:53:29] local.INFO: IMEI packet received {"connection_id":153697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":153697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:53:37] local.INFO: TCP Data received {"connection_id":153697,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c54928012d87178005a294180004012727..."} 
[2026-08-11 17:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c54928012d87178005a294180004012727..."} 
[2026-08-11 17:53:37] local.INFO: Processing buffer {"connection_id":153697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c54928012d87178005a294180004012727..."} 
[2026-08-11 17:53:37] local.INFO: Packet analysis {"connection_id":153697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c5"} 
[2026-08-11 17:53:37] local.INFO: Extracted packet for processing {"connection_id":153697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c5"} 
[2026-08-11 17:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763828096,"raw_latitude":94540824,"longitude_deg":76.3828096,"latitude_deg":9.4540824,"altitude":4,"angle":295,"satellites":39,"speed":44,"hex_longitude":"2d871780","hex_latitude":"05a29418","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331425280001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377902133581709312,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8702361830761930752,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786450889000,"timestamp_ms":1786450889000,"timestamp_seconds":1786450889,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c54928"} 
[2026-08-11 17:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 17:53: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-08-11 17: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-08-11 17:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:53: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-08-11 17:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331425280001,"66":27745,"151":206,"85":14592,"24":44,"16":377902133581709312,"45":-8702361830761930752},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-08-11 17:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331425280001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:53:37] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-11 17:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377902133581709312,"km_value":377902133581709.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8702361830761930752,"description":"Unknown IO ID 45"} 
[2026-08-11 17:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331425280001,"power":27745,"unknown_151":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-8702361830761930752}} 
[2026-08-11 17:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":153697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:53:37] local.INFO: GPS data processed {"connection_id":153697,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:53:37] local.INFO: Acknowledgment sent {"connection_id":153697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:53:38] local.INFO: TCP Data received {"connection_id":153697,"ip":"42.106.6.25","data_length":1348,"data_hex":"000000000000030f8e0a0000019ff0c56c50012d86f50005a2a5180006012826..."} 
[2026-08-11 17:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153697,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019ff0c56c50012d86f50005a2a5180006012826..."} 
[2026-08-11 17:53:38] local.INFO: Processing buffer {"connection_id":153697,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019ff0c56c50012d86f50005a2a5180006012826..."} 
[2026-08-11 17:53:38] local.INFO: Packet analysis {"connection_id":153697,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019ff0c5"} 
[2026-08-11 17:53:38] local.INFO: Extracted packet for processing {"connection_id":153697,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019ff0c5"} 
[2026-08-11 17:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763819264,"raw_latitude":94545176,"longitude_deg":76.3819264,"latitude_deg":9.4545176,"altitude":6,"angle":296,"satellites":38,"speed":42,"hex_longitude":"2d86f500","hex_latitude":"05a2a518","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331427584001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377902606028111872,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8712354192434128896,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786450898000,"timestamp_ms":1786450898000,"timestamp_seconds":1786450898,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c56c50"} 
[2026-08-11 17:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":97,"data_length":795,"current_offset":136} 
[2026-08-11 17:53: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-08-11 17: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-08-11 17:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:53: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-08-11 17:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331427584001,"66":27876,"151":206,"85":14592,"24":42,"16":377902606028111872,"45":-8712354192434128896},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-08-11 17:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331427584001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:53:38] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-11 17:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377902606028111872,"km_value":377902606028111.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8712354192434128896,"description":"Unknown IO ID 45"} 
[2026-08-11 17:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331427584001,"power":27876,"unknown_151":206,"unknown_85":14592,"ignition":42,"odometer":null,"unknown_45":-8712354192434128896}} 
[2026-08-11 17:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":153697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:53:38] local.INFO: GPS data processed {"connection_id":153697,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:53:38] local.INFO: Acknowledgment sent {"connection_id":153697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:53:38] local.INFO: Packet analysis {"connection_id":153697,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019ff0c5"} 
[2026-08-11 17:53:38] local.INFO: Incomplete packet, waiting for more data {"connection_id":153697,"needed":795,"available":553} 
[2026-08-11 17:53:38] local.INFO: TCP Data received {"connection_id":153697,"ip":"42.106.6.25","data_length":242,"data_hex":"0000000000019ff0c49960012d87bec005a242f80003012828002e0000000a00..."} 
[2026-08-11 17:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153697,"packet_length":242,"packet_hex":"0000000000019ff0c49960012d87bec005a242f80003012828002e0000000a00..."} 
[2026-08-11 17:53:38] local.INFO: Processing buffer {"connection_id":153697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c58f78012d86d34005a2b5980009012927..."} 
[2026-08-11 17:53:38] local.INFO: Packet analysis {"connection_id":153697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c5"} 
[2026-08-11 17:53:38] local.INFO: Extracted packet for processing {"connection_id":153697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c5"} 
[2026-08-11 17:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763810624,"raw_latitude":94549400,"longitude_deg":76.3810624,"latitude_deg":9.45494,"altitude":9,"angle":297,"satellites":39,"speed":43,"hex_longitude":"2d86d340","hex_latitude":"05a2b598","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331429888001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377903069884579840,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8722065079129532416,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786450907000,"timestamp_ms":1786450907000,"timestamp_seconds":1786450907,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c58f78"} 
[2026-08-11 17:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17: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-08-11 17: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-08-11 17:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:53: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-08-11 17:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331429888001,"66":27930,"151":206,"85":14592,"24":43,"16":377903069884579840,"45":-8722065079129532416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-08-11 17:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331429888001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:53:38] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-11 17:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377903069884579840,"km_value":377903069884579.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8722065079129532416,"description":"Unknown IO ID 45"} 
[2026-08-11 17:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331429888001,"power":27930,"unknown_151":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-8722065079129532416}} 
[2026-08-11 17:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":153697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:53:39] local.INFO: GPS data processed {"connection_id":153697,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:53:39] local.INFO: Acknowledgment sent {"connection_id":153697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:53:45] local.INFO: TCP Data received {"connection_id":155076,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c62bb8012d823fc005da11680007011925..."} 
[2026-08-11 17:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c62bb8012d823fc005da11680007011925..."} 
[2026-08-11 17:53:45] local.INFO: Processing buffer {"connection_id":155076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c62bb8012d823fc005da11680007011925..."} 
[2026-08-11 17:53:45] local.INFO: Packet analysis {"connection_id":155076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c6"} 
[2026-08-11 17:53:45] local.INFO: Extracted packet for processing {"connection_id":155076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c6"} 
[2026-08-11 17:53:45] local.INFO: GPS Element Parsed {"raw_longitude":763510720,"raw_latitude":98177384,"longitude_deg":76.351072,"latitude_deg":9.8177384,"altitude":7,"angle":281,"satellites":37,"speed":1,"hex_longitude":"2d823fc0","hex_latitude":"05da1168","is_valid_coordinates":true} 
[2026-08-11 17:53: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-08-11 17:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331441408001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117744475425472512,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061031318903498752,"note":"Value kept but may cause issues"} 
[2026-08-11 17:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786450947000,"timestamp_ms":1786450947000,"timestamp_seconds":1786450947,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c62bb8"} 
[2026-08-11 17:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:53: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-08-11 17:53: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-11 17:53:45] 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-08-11 17:53: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-08-11 17:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331441408001,"66":11711,"71":206,"85":15104,"24":1,"16":117744475425472512,"45":-9061031318903498752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331441408001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:53:45] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:53:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117744475425472512,"km_value":117744475425472.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061031318903498752,"description":"Unknown IO ID 45"} 
[2026-08-11 17:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331441408001,"power":11711,"unknown_71":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":-9061031318903498752}} 
[2026-08-11 17:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":155076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:53:45] local.INFO: GPS data processed {"connection_id":155076,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:53:45] local.INFO: Acknowledgment sent {"connection_id":155076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:54:08] local.INFO: TCP Data received {"connection_id":152761,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:54:08] local.INFO: Processing buffer {"connection_id":152761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:54:08] local.INFO: IMEI packet received {"connection_id":152761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":152761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:54:13] local.INFO: TCP Data received {"connection_id":152761,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:54:13] local.INFO: Processing buffer {"connection_id":152761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:54:13] local.INFO: IMEI packet received {"connection_id":152761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":152761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:54:14] local.INFO: TCP Data received {"connection_id":152761,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c64328012d823fc005da1090000700b225..."} 
[2026-08-11 17:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c64328012d823fc005da1090000700b225..."} 
[2026-08-11 17:54:14] local.INFO: Processing buffer {"connection_id":152761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c64328012d823fc005da1090000700b225..."} 
[2026-08-11 17:54:14] local.INFO: Packet analysis {"connection_id":152761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c6"} 
[2026-08-11 17:54:14] local.INFO: Extracted packet for processing {"connection_id":152761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c6"} 
[2026-08-11 17:54:14] local.INFO: GPS Element Parsed {"raw_longitude":763510720,"raw_latitude":98177168,"longitude_deg":76.351072,"latitude_deg":9.8177168,"altitude":7,"angle":178,"satellites":37,"speed":4,"hex_longitude":"2d823fc0","hex_latitude":"05da1090","is_valid_coordinates":true} 
[2026-08-11 17:54: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-08-11 17:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331442432001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117744484015407104,"note":"Value kept but may cause issues"} 
[2026-08-11 17:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061312793880205312,"note":"Value kept but may cause issues"} 
[2026-08-11 17:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786450953000,"timestamp_ms":1786450953000,"timestamp_seconds":1786450953,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c64328"} 
[2026-08-11 17:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:54: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-08-11 17:54: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-11 17:54:14] 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-08-11 17:54: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-08-11 17:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331442432001,"66":11776,"71":206,"85":15104,"24":4,"16":117744484015407104,"45":-9061312793880205312},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-11 17:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331442432001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:54:14] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 17:54:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117744484015407104,"km_value":117744484015407.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061312793880205312,"description":"Unknown IO ID 45"} 
[2026-08-11 17:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331442432001,"power":11776,"unknown_71":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":-9061312793880205312}} 
[2026-08-11 17:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":152761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:54:14] local.INFO: GPS data processed {"connection_id":152761,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:54:14] local.INFO: Acknowledgment sent {"connection_id":152761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:54:29] local.INFO: TCP Data received {"connection_id":152375,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:54:29] local.INFO: Processing buffer {"connection_id":152375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:54:29] local.INFO: IMEI packet received {"connection_id":152375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":152375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:54:36] local.INFO: TCP Data received {"connection_id":152375,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:54:36] local.INFO: Processing buffer {"connection_id":152375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:54:36] local.INFO: IMEI packet received {"connection_id":152375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":152375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:54:37] local.INFO: TCP Data received {"connection_id":152375,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c6ef08012d8564c005a36ea80003012926..."} 
[2026-08-11 17:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c6ef08012d8564c005a36ea80003012926..."} 
[2026-08-11 17:54:37] local.INFO: Processing buffer {"connection_id":152375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c6ef08012d8564c005a36ea80003012926..."} 
[2026-08-11 17:54:37] local.INFO: Packet analysis {"connection_id":152375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c6"} 
[2026-08-11 17:54:37] local.INFO: Extracted packet for processing {"connection_id":152375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c6"} 
[2026-08-11 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763716800,"raw_latitude":94596776,"longitude_deg":76.37168,"latitude_deg":9.4596776,"altitude":3,"angle":297,"satellites":38,"speed":47,"hex_longitude":"2d8564c0","hex_latitude":"05a36ea8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331453184001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377908112176185344,"note":"Value kept but may cause issues"} 
[2026-08-11 17:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8825296026826110976,"note":"Value kept but may cause issues"} 
[2026-08-11 17:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786450997000,"timestamp_ms":1786450997000,"timestamp_seconds":1786450997,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c6ef08"} 
[2026-08-11 17:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":173,"data_length":795,"current_offset":136} 
[2026-08-11 17:54: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-08-11 17: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-08-11 17:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:54: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-08-11 17:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331453184001,"66":27930,"153":206,"85":14592,"24":47,"16":377908112176185344,"45":-8825296026826110976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-11 17:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331453184001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:54:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-11 17:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377908112176185344,"km_value":377908112176185.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8825296026826110976,"description":"Unknown IO ID 45"} 
[2026-08-11 17:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331453184001,"power":27930,"unknown_153":206,"unknown_85":14592,"ignition":47,"odometer":null,"unknown_45":-8825296026826110976}} 
[2026-08-11 17:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":152375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:54:37] local.INFO: GPS data processed {"connection_id":152375,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:54:37] local.INFO: Acknowledgment sent {"connection_id":152375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:54:45] local.INFO: TCP Data received {"connection_id":152761,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c80078012d82868005d8ba10000800b022..."} 
[2026-08-11 17:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c80078012d82868005d8ba10000800b022..."} 
[2026-08-11 17:54:45] local.INFO: Processing buffer {"connection_id":152761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c80078012d82868005d8ba10000800b022..."} 
[2026-08-11 17:54:45] local.INFO: Packet analysis {"connection_id":152761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:54:45] local.INFO: Extracted packet for processing {"connection_id":152761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:54:45] local.INFO: GPS Element Parsed {"raw_longitude":763528832,"raw_latitude":98089488,"longitude_deg":76.3528832,"latitude_deg":9.8089488,"altitude":8,"angle":176,"satellites":34,"speed":44,"hex_longitude":"2d828680","hex_latitude":"05d8ba10","is_valid_coordinates":true} 
[2026-08-11 17:54: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-08-11 17:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331470848001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117748864882049024,"note":"Value kept but may cause issues"} 
[2026-08-11 17:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042172495483836416,"note":"Value kept but may cause issues"} 
[2026-08-11 17:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786451067000,"timestamp_ms":1786451067000,"timestamp_seconds":1786451067,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c80078"} 
[2026-08-11 17:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:54:45] 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-08-11 17:54: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":237,"data_length":795,"current_offset":136} 
[2026-08-11 17:54:45] 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-08-11 17:54: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-08-11 17:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331470848001,"66":13319,"49":206,"85":15104,"24":44,"16":117748864882049024,"45":-9042172495483836416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-11 17:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331470848001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:54:45] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-11 17:54:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117748864882049024,"km_value":117748864882049.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042172495483836416,"description":"Unknown IO ID 45"} 
[2026-08-11 17:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331470848001,"power":13319,"unknown_49":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9042172495483836416}} 
[2026-08-11 17:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":152761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:54:45] local.INFO: GPS data processed {"connection_id":152761,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:54:45] local.INFO: Acknowledgment sent {"connection_id":152761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:55:08] local.INFO: TCP Data received {"connection_id":153698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:55:08] local.INFO: Processing buffer {"connection_id":153698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:55:08] local.INFO: IMEI packet received {"connection_id":153698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":153698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:55:13] local.INFO: TCP Data received {"connection_id":153698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:55:13] local.INFO: Processing buffer {"connection_id":153698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:55:13] local.INFO: IMEI packet received {"connection_id":153698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":153698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:55:14] local.INFO: TCP Data received {"connection_id":153698,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c823a0012d8286c005d894a8000700af24..."} 
[2026-08-11 17:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c823a0012d8286c005d894a8000700af24..."} 
[2026-08-11 17:55:14] local.INFO: Processing buffer {"connection_id":153698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c823a0012d8286c005d894a8000700af24..."} 
[2026-08-11 17:55:14] local.INFO: Packet analysis {"connection_id":153698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:55:14] local.INFO: Extracted packet for processing {"connection_id":153698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:55:14] local.INFO: GPS Element Parsed {"raw_longitude":763528896,"raw_latitude":98079912,"longitude_deg":76.3528896,"latitude_deg":9.8079912,"altitude":7,"angle":175,"satellites":36,"speed":39,"hex_longitude":"2d8286c0","hex_latitude":"05d894a8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331473152001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117749328738516992,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041398439300427776,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786451076000,"timestamp_ms":1786451076000,"timestamp_seconds":1786451076,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c823a0"} 
[2026-08-11 17:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 17:55:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4039572160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2188427269,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3342929921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:14] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57886293623723323,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:14] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:14] local.WARNING: Large IO value detected {"io_id":217,"raw_value":-6708111614892497664,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806382798,"corrected_to":0} 
[2026-08-11 17:55:14] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3892391298,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:14] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941415,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3649085440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:14] local.WARNING: Large IO value detected {"io_id":198,"raw_value":-2911575864123391995,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:14] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,49,85,24,241,157,16,83,159,221,45,192,224,8,35,10,66,139,1,37,70,104,240,46,227,82,217,4,113,205,38,29,99,80,239,51,2,162,5,43,198],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2806382798,"validated":0}]} 
[2026-08-11 17:55:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576654412381683712,"timestamp_seconds":576654412381683.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331473152001,"66":13135,"49":206,"85":15104,"24":39,"16":117749328738516992,"45":-9041398439300427776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-11 17:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331473152001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:55:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-11 17:55:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117749328738516992,"km_value":117749328738516.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041398439300427776,"description":"Unknown IO ID 45"} 
[2026-08-11 17:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331473152001,"power":13135,"unknown_49":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9041398439300427776}} 
[2026-08-11 17:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":153698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:55:14] local.INFO: GPS data processed {"connection_id":153698,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:55:14] local.INFO: Acknowledgment sent {"connection_id":153698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:55:19] local.INFO: TCP Data received {"connection_id":152376,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:55:19] local.INFO: Processing buffer {"connection_id":152376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:55:19] local.INFO: IMEI packet received {"connection_id":152376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":152376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:55:44] local.INFO: TCP Data received {"connection_id":153698,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c82f58012d82894005d88968000700a025..."} 
[2026-08-11 17:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c82f58012d82894005d88968000700a025..."} 
[2026-08-11 17:55:44] local.INFO: Processing buffer {"connection_id":153698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c82f58012d82894005d88968000700a025..."} 
[2026-08-11 17:55:44] local.INFO: Packet analysis {"connection_id":153698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:55:44] local.INFO: Extracted packet for processing {"connection_id":153698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:55:44] local.INFO: GPS Element Parsed {"raw_longitude":763529536,"raw_latitude":98077032,"longitude_deg":76.3529536,"latitude_deg":9.8077032,"altitude":7,"angle":160,"satellites":37,"speed":38,"hex_longitude":"2d828940","hex_latitude":"05d88968","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331475456001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117749470472437760,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041328070558701568,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786451079000,"timestamp_ms":1786451079000,"timestamp_seconds":1786451079,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c82f58"} 
[2026-08-11 17:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:55: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-08-11 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-11 17:55:44] 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-08-11 17: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-08-11 17:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331475456001,"66":13135,"49":206,"85":15104,"24":38,"16":117749470472437760,"45":-9041328070558701568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-11 17:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331475456001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:55:44] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-11 17:55:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117749470472437760,"km_value":117749470472437.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041328070558701568,"description":"Unknown IO ID 45"} 
[2026-08-11 17:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331475456001,"power":13135,"unknown_49":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9041328070558701568}} 
[2026-08-11 17:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":153698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:55:45] local.INFO: GPS data processed {"connection_id":153698,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:55:45] local.INFO: Acknowledgment sent {"connection_id":153698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:55:47] local.INFO: TCP Data received {"connection_id":152376,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:55:47] local.INFO: Processing buffer {"connection_id":152376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:55:47] local.INFO: IMEI packet received {"connection_id":152376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":152376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:55:49] local.INFO: TCP Data received {"connection_id":152376,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c71230012d85428005a37f180003012827..."} 
[2026-08-11 17:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c71230012d85428005a37f180003012827..."} 
[2026-08-11 17:55:49] local.INFO: Processing buffer {"connection_id":152376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c71230012d85428005a37f180003012827..."} 
[2026-08-11 17:55:49] local.INFO: Packet analysis {"connection_id":152376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c7"} 
[2026-08-11 17:55:49] local.INFO: Extracted packet for processing {"connection_id":152376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c7"} 
[2026-08-11 17:55:49] local.INFO: GPS Element Parsed {"raw_longitude":763708032,"raw_latitude":94600984,"longitude_deg":76.3708032,"latitude_deg":9.4600984,"altitude":3,"angle":296,"satellites":39,"speed":38,"hex_longitude":"2d854280","hex_latitude":"05a37f18","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331455232001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377908576032653312,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8834725438544762880,"note":"Value kept but may cause issues"} 
[2026-08-11 17:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786451006000,"timestamp_ms":1786451006000,"timestamp_seconds":1786451006,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c71230"} 
[2026-08-11 17:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 17:55:49] 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-08-11 17: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-08-11 17:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:55:49] 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-08-11 17:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331455232001,"66":27843,"153":206,"85":14592,"24":38,"16":377908576032653312,"45":-8834725438544762880},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-11 17:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331455232001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:55:49] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-11 17:55:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-11 17:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377908576032653312,"km_value":377908576032653.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8834725438544762880,"description":"Unknown IO ID 45"} 
[2026-08-11 17:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331455232001,"power":27843,"unknown_153":206,"unknown_85":14592,"ignition":38,"odometer":null,"unknown_45":-8834725438544762880}} 
[2026-08-11 17:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":152376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:55:49] local.INFO: GPS data processed {"connection_id":152376,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:55:49] local.INFO: Acknowledgment sent {"connection_id":152376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:56:08] local.INFO: TCP Data received {"connection_id":152377,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:56:08] local.INFO: Processing buffer {"connection_id":152377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:56:08] local.INFO: IMEI packet received {"connection_id":152377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":152377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:56:11] local.INFO: TCP Data received {"connection_id":152377,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:56:11] local.INFO: Processing buffer {"connection_id":152377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:56:11] local.INFO: IMEI packet received {"connection_id":152377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":152377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:56:11] local.INFO: TCP Data received {"connection_id":155079,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:56:11] local.INFO: Processing buffer {"connection_id":155079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:56:11] local.INFO: IMEI packet received {"connection_id":155079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":155079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:56:12] local.INFO: TCP Data received {"connection_id":155079,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:56:12] local.INFO: Processing buffer {"connection_id":155079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:56:12] local.INFO: IMEI packet received {"connection_id":155079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":155079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:56:13] local.INFO: TCP Data received {"connection_id":155079,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:56:13] local.INFO: Processing buffer {"connection_id":155079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:56:13] local.INFO: IMEI packet received {"connection_id":155079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":155079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:56:14] local.INFO: TCP Data received {"connection_id":152377,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:56:14] local.INFO: Processing buffer {"connection_id":152377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:56:14] local.INFO: IMEI packet received {"connection_id":152377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":152377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:56:14] local.INFO: TCP Data received {"connection_id":152377,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c85e38012d82974005d867a8000700a326..."} 
[2026-08-11 17:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c85e38012d82974005d867a8000700a326..."} 
[2026-08-11 17:56:14] local.INFO: Processing buffer {"connection_id":152377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c85e38012d82974005d867a8000700a326..."} 
[2026-08-11 17:56:14] local.INFO: Packet analysis {"connection_id":152377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:56:14] local.INFO: Extracted packet for processing {"connection_id":152377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:56:14] local.INFO: GPS Element Parsed {"raw_longitude":763533120,"raw_latitude":98068392,"longitude_deg":76.353312,"latitude_deg":9.8068392,"altitude":7,"angle":163,"satellites":38,"speed":29,"hex_longitude":"2d829740","hex_latitude":"05d867a8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331476224001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117749925738971136,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040624383117662208,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786451091000,"timestamp_ms":1786451091000,"timestamp_seconds":1786451091,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c85e38"} 
[2026-08-11 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-08-11 17:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-11 17:56:14] 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-08-11 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-08-11 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-08-11 17:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331476224001,"66":13319,"49":206,"85":15104,"24":29,"16":117749925738971136,"45":-9040624383117662208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-11 17:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331476224001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:56:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-11 17:56:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117749925738971136,"km_value":117749925738971.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040624383117662208,"description":"Unknown IO ID 45"} 
[2026-08-11 17:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331476224001,"power":13319,"unknown_49":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9040624383117662208}} 
[2026-08-11 17:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":152377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:56:15] local.INFO: GPS data processed {"connection_id":152377,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:56:15] local.INFO: Acknowledgment sent {"connection_id":152377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:56:15] local.INFO: TCP Data received {"connection_id":155079,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:56:15] local.INFO: Processing buffer {"connection_id":155079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:56:15] local.INFO: IMEI packet received {"connection_id":155079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":155079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:56:16] local.INFO: TCP Data received {"connection_id":155079,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c8a488012d19b1c0071f1150004d001b22..."} 
[2026-08-11 17:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c8a488012d19b1c0071f1150004d001b22..."} 
[2026-08-11 17:56:16] local.INFO: Processing buffer {"connection_id":155079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c8a488012d19b1c0071f1150004d001b22..."} 
[2026-08-11 17:56:16] local.INFO: Packet analysis {"connection_id":155079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:56:16] local.INFO: Extracted packet for processing {"connection_id":155079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756658624,"raw_latitude":119476560,"longitude_deg":75.6658624,"latitude_deg":11.947656,"altitude":77,"angle":27,"satellites":34,"speed":6,"hex_longitude":"2d19b1c0","hex_latitude":"071f1150","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331483392001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11758044203450368,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851260952411908096,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:16] 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-08-11 17:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786451109000,"timestamp_ms":1786451109000,"timestamp_seconds":1786451109,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c8a488"} 
[2026-08-11 17:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:56: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-08-11 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 17:56:16] 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-08-11 17: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-08-11 17:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331483392001,"66":14396,"101":206,"83":41984,"24":6,"16":11758044203450368,"45":1851260952411908096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331483392001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:56:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:56:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11758044203450368,"km_value":11758044203450.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851260952411908096,"description":"Unknown IO ID 45"} 
[2026-08-11 17:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331483392001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1851260952411908096}} 
[2026-08-11 17:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":155079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:56:16] local.INFO: GPS data processed {"connection_id":155079,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:56:16] local.INFO: Acknowledgment sent {"connection_id":155079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:56:19] local.INFO: TCP Data received {"connection_id":153700,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:56:19] local.INFO: Processing buffer {"connection_id":153700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:56:19] local.INFO: IMEI packet received {"connection_id":153700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":153700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:56:19] local.INFO: TCP Data received {"connection_id":153700,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:56:19] local.INFO: Processing buffer {"connection_id":153700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:56:19] local.INFO: IMEI packet received {"connection_id":153700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":153700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:56:24] local.INFO: TCP Data received {"connection_id":153700,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:56:24] local.INFO: Processing buffer {"connection_id":153700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:56:24] local.INFO: IMEI packet received {"connection_id":153700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":153700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:56:28] local.INFO: TCP Data received {"connection_id":153700,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c8a0a0012d83ae8005a446d80003012b27..."} 
[2026-08-11 17:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c8a0a0012d83ae8005a446d80003012b27..."} 
[2026-08-11 17:56:28] local.INFO: Processing buffer {"connection_id":153700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c8a0a0012d83ae8005a446d80003012b27..."} 
[2026-08-11 17:56:28] local.INFO: Packet analysis {"connection_id":153700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:56:28] local.INFO: Extracted packet for processing {"connection_id":153700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763604608,"raw_latitude":94652120,"longitude_deg":76.3604608,"latitude_deg":9.465212,"altitude":3,"angle":299,"satellites":39,"speed":50,"hex_longitude":"2d83ae80","hex_latitude":"05a446d8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331481856001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377914112245497856,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8949356122797115392,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786451108000,"timestamp_ms":1786451108000,"timestamp_seconds":1786451108,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c8a0a0"} 
[2026-08-11 17:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 17:56: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-08-11 17: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-08-11 17:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:56:28] 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-08-11 17:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331481856001,"66":27930,"232":206,"85":14336,"24":50,"16":377914112245497856,"45":-8949356122797115392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,85,24,16,45]} 
[2026-08-11 17:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331481856001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:56:28] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-11 17:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 17:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377914112245497856,"km_value":377914112245497.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8949356122797115392,"description":"Unknown IO ID 45"} 
[2026-08-11 17:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331481856001,"power":27930,"unknown_232":206,"unknown_85":14336,"ignition":50,"odometer":null,"unknown_45":-8949356122797115392}} 
[2026-08-11 17:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":153700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:56:28] local.INFO: GPS data processed {"connection_id":153700,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:56:28] local.INFO: Acknowledgment sent {"connection_id":153700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:56:45] local.INFO: TCP Data received {"connection_id":152377,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c88548012d829c4005d84b58000800af26..."} 
[2026-08-11 17:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c88548012d829c4005d84b58000800af26..."} 
[2026-08-11 17:56:45] local.INFO: Processing buffer {"connection_id":152377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c88548012d829c4005d84b58000800af26..."} 
[2026-08-11 17:56:45] local.INFO: Packet analysis {"connection_id":152377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:56:45] local.INFO: Extracted packet for processing {"connection_id":152377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:56:45] local.INFO: GPS Element Parsed {"raw_longitude":763534400,"raw_latitude":98061144,"longitude_deg":76.35344,"latitude_deg":9.8061144,"altitude":8,"angle":175,"satellites":38,"speed":23,"hex_longitude":"2d829c40","hex_latitude":"05d84b58","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331479296001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117750282221256704,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036683733445924864,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786451101000,"timestamp_ms":1786451101000,"timestamp_seconds":1786451101,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c88548"} 
[2026-08-11 17:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:56:45] 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-08-11 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 17:56:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4039600160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2189672453,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3353169921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:45] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3773300744,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1580269774,"corrected_to":0} 
[2026-08-11 17:56:45] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511015,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3642314752,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:45] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57886289328756027,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:45] local.WARNING: Large IO value detected {"io_id":199,"raw_value":4688248507066269701,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:45] local.WARNING: Large IO value detected {"io_id":217,"raw_value":4233383684098499840,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:45] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,49,85,24,241,157,16,84,159,47,45,64,137,7,37,10,66,35,192,148,36,128,1,240,227,83,216,4,113,205,40,139,130,224,239,48,70,2,162,5,8,46,199,217],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1580269774,"validated":0}]} 
[2026-08-11 17:56:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504582541871480832,"timestamp_seconds":504582541871480.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331479296001,"66":12613,"47":206,"85":15104,"24":23,"16":117750282221256704,"45":-9036683733445924864},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-11 17:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331479296001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:56:45] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-11 17:56:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117750282221256704,"km_value":117750282221256.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036683733445924864,"description":"Unknown IO ID 45"} 
[2026-08-11 17:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331479296001,"power":12613,"unknown_47":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9036683733445924864}} 
[2026-08-11 17:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":152377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:56:45] local.INFO: GPS data processed {"connection_id":152377,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:56:45] local.INFO: Acknowledgment sent {"connection_id":152377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:56:47] local.INFO: TCP Data received {"connection_id":155079,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c97778012d19b780071f5df00044000a23..."} 
[2026-08-11 17:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c97778012d19b780071f5df00044000a23..."} 
[2026-08-11 17:56:47] local.INFO: Processing buffer {"connection_id":155079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c97778012d19b780071f5df00044000a23..."} 
[2026-08-11 17:56:47] local.INFO: Packet analysis {"connection_id":155079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c9"} 
[2026-08-11 17:56:47] local.INFO: Extracted packet for processing {"connection_id":155079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c9"} 
[2026-08-11 17:56:47] local.INFO: GPS Element Parsed {"raw_longitude":756660096,"raw_latitude":119496176,"longitude_deg":75.6660096,"latitude_deg":11.9496176,"altitude":68,"angle":10,"satellites":35,"speed":25,"hex_longitude":"2d19b780","hex_latitude":"071f5df0","is_valid_coordinates":true} 
[2026-08-11 17:56: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-08-11 17:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331496192001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11759233909391360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853160908508860416,"note":"Value kept but may cause issues"} 
[2026-08-11 17:56:47] 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-08-11 17:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786451163000,"timestamp_ms":1786451163000,"timestamp_seconds":1786451163,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c97778"} 
[2026-08-11 17:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:56:47] 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-08-11 17:56: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":219,"data_length":795,"current_offset":136} 
[2026-08-11 17:56:47] 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-08-11 17:56: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-08-11 17:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331496192001,"66":14070,"101":206,"83":41984,"24":25,"16":11759233909391360,"45":1853160908508860416},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331496192001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:56:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:56:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11759233909391360,"km_value":11759233909391.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853160908508860416,"description":"Unknown IO ID 45"} 
[2026-08-11 17:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331496192001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1853160908508860416}} 
[2026-08-11 17:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":155079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:56:47] local.INFO: GPS data processed {"connection_id":155079,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:56:47] local.INFO: Acknowledgment sent {"connection_id":155079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:57:08] local.INFO: TCP Data received {"connection_id":152762,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:57:08] local.INFO: Processing buffer {"connection_id":152762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:57:08] local.INFO: IMEI packet received {"connection_id":152762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":152762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:57:13] local.INFO: TCP Data received {"connection_id":152762,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:57:13] local.INFO: Processing buffer {"connection_id":152762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:57:13] local.INFO: IMEI packet received {"connection_id":152762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":152762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:57:14] local.INFO: TCP Data received {"connection_id":152762,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c8cf80012d829dc005d84270000700bf26..."} 
[2026-08-11 17:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c8cf80012d829dc005d84270000700bf26..."} 
[2026-08-11 17:57:14] local.INFO: Processing buffer {"connection_id":152762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c8cf80012d829dc005d84270000700bf26..."} 
[2026-08-11 17:57:14] local.INFO: Packet analysis {"connection_id":152762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:57:14] local.INFO: Extracted packet for processing {"connection_id":152762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:57:14] local.INFO: GPS Element Parsed {"raw_longitude":763534784,"raw_latitude":98058864,"longitude_deg":76.3534784,"latitude_deg":9.8058864,"altitude":7,"angle":191,"satellites":38,"speed":3,"hex_longitude":"2d829dc0","hex_latitude":"05d84270","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331481856001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117750398185373696,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035276358564227072,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786451120000,"timestamp_ms":1786451120000,"timestamp_seconds":1786451120,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c8cf80"} 
[2026-08-11 17:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:57:14] 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-08-11 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-11 17:57:14] 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-08-11 17: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-08-11 17:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331481856001,"66":12939,"47":206,"85":15104,"24":3,"16":117750398185373696,"45":-9035276358564227072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-11 17:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331481856001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:57:14] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-11 17:57:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117750398185373696,"km_value":117750398185373.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035276358564227072,"description":"Unknown IO ID 45"} 
[2026-08-11 17:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331481856001,"power":12939,"unknown_47":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":-9035276358564227072}} 
[2026-08-11 17:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":152762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:57:14] local.INFO: GPS data processed {"connection_id":152762,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:57:14] local.INFO: Acknowledgment sent {"connection_id":152762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:57:15] local.INFO: TCP Data received {"connection_id":152763,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:57:15] local.INFO: Processing buffer {"connection_id":152763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:57:15] local.INFO: IMEI packet received {"connection_id":152763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":152763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:57:15] local.INFO: TCP Data received {"connection_id":152763,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:57:15] local.INFO: Processing buffer {"connection_id":152763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:57:15] local.INFO: IMEI packet received {"connection_id":152763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":152763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:57:16] local.INFO: TCP Data received {"connection_id":152763,"ip":"42.106.6.22","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019ff0..."} 
[2026-08-11 17:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152763,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019ff0..."} 
[2026-08-11 17:57:16] local.INFO: Processing buffer {"connection_id":152763,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019ff0..."} 
[2026-08-11 17:57:16] local.INFO: IMEI packet received {"connection_id":152763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":152763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:57:17] local.INFO: TCP Data received {"connection_id":152763,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c98718012d19ba80071f64280041003a23..."} 
[2026-08-11 17:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c98718012d19ba80071f64280041003a23..."} 
[2026-08-11 17:57:17] local.INFO: Processing buffer {"connection_id":152763,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ff0c98330012d19b940071f63400041002523..."} 
[2026-08-11 17:57:17] local.INFO: Packet analysis {"connection_id":152763,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff0c9"} 
[2026-08-11 17:57:17] local.INFO: Extracted packet for processing {"connection_id":152763,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c9"} 
[2026-08-11 17:57:17] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119497536,"longitude_deg":75.6660544,"latitude_deg":11.9497536,"altitude":65,"angle":37,"satellites":35,"speed":15,"hex_longitude":"2d19b940","hex_latitude":"071f6340","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331497728001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11759302628868096,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853090539765624832,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:17] 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-08-11 17:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786451166000,"timestamp_ms":1786451166000,"timestamp_seconds":1786451166,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c98330"} 
[2026-08-11 17:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:57:17] 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-08-11 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-11 17:57:17] 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-08-11 17: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-08-11 17:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331497728001,"66":13820,"101":206,"83":41984,"24":15,"16":11759302628868096,"45":1853090539765624832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331497728001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:57:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:57:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11759302628868096,"km_value":11759302628868.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853090539765624832,"description":"Unknown IO ID 45"} 
[2026-08-11 17:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331497728001,"power":13820,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1853090539765624832}} 
[2026-08-11 17:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":152763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:57:17] local.INFO: GPS data processed {"connection_id":152763,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:57:17] local.INFO: Acknowledgment sent {"connection_id":152763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:57:17] local.INFO: Packet analysis {"connection_id":152763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c9"} 
[2026-08-11 17:57:17] local.INFO: Extracted packet for processing {"connection_id":152763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c9"} 
[2026-08-11 17:57:17] local.INFO: GPS Element Parsed {"raw_longitude":756660864,"raw_latitude":119497768,"longitude_deg":75.6660864,"latitude_deg":11.9497768,"altitude":65,"angle":58,"satellites":35,"speed":15,"hex_longitude":"2d19ba80","hex_latitude":"071f6428","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331498496001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11759319808737280,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120975216640,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:17] 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-08-11 17:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786451167000,"timestamp_ms":1786451167000,"timestamp_seconds":1786451167,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c98718"} 
[2026-08-11 17:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:57:17] 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-08-11 17: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-11 17:57:17] 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-08-11 17: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-08-11 17:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331498496001,"66":14374,"101":206,"83":41984,"24":15,"16":11759319808737280,"45":1853583120975216640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331498496001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:57:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:57:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11759319808737280,"km_value":11759319808737.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120975216640,"description":"Unknown IO ID 45"} 
[2026-08-11 17:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331498496001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1853583120975216640}} 
[2026-08-11 17:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":152763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:57:17] local.INFO: GPS data processed {"connection_id":152763,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:57:17] local.INFO: Acknowledgment sent {"connection_id":152763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:57:18] local.INFO: TCP Data received {"connection_id":152763,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c99e88012d19c2c0071f69780041002922..."} 
[2026-08-11 17:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c99e88012d19c2c0071f69780041002922..."} 
[2026-08-11 17:57:18] local.INFO: Processing buffer {"connection_id":152763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c99e88012d19c2c0071f69780041002922..."} 
[2026-08-11 17:57:18] local.INFO: Packet analysis {"connection_id":152763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c9"} 
[2026-08-11 17:57:18] local.INFO: Extracted packet for processing {"connection_id":152763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c9"} 
[2026-08-11 17:57:18] local.INFO: GPS Element Parsed {"raw_longitude":756662976,"raw_latitude":119499128,"longitude_deg":75.6662976,"latitude_deg":11.9499128,"altitude":65,"angle":41,"satellites":34,"speed":21,"hex_longitude":"2d19c2c0","hex_latitude":"071f6978","is_valid_coordinates":true} 
[2026-08-11 17:57: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-08-11 17:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331498752001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11759444362788864,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964696164352,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:18] 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-08-11 17:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786451173000,"timestamp_ms":1786451173000,"timestamp_seconds":1786451173,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c99e88"} 
[2026-08-11 17:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:57:18] 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-08-11 17:57: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 17:57:18] 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-08-11 17:57: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-08-11 17:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331498752001,"66":14048,"101":206,"83":41984,"24":21,"16":11759444362788864,"45":1853934964696164352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331498752001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:57:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:57:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11759444362788864,"km_value":11759444362788.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964696164352,"description":"Unknown IO ID 45"} 
[2026-08-11 17:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331498752001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1853934964696164352}} 
[2026-08-11 17:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":152763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:57:18] local.INFO: GPS data processed {"connection_id":152763,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:57:18] local.INFO: Acknowledgment sent {"connection_id":152763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:57:19] local.INFO: TCP Data received {"connection_id":155080,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:57:19] local.INFO: Processing buffer {"connection_id":155080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:57:19] local.INFO: IMEI packet received {"connection_id":155080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":155080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:57:36] local.INFO: TCP Data received {"connection_id":153700,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c8bfe0012d838c4005a459200002012827..."} 
[2026-08-11 17:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c8bfe0012d838c4005a459200002012827..."} 
[2026-08-11 17:57:36] local.INFO: Processing buffer {"connection_id":153700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c8bfe0012d838c4005a459200002012827..."} 
[2026-08-11 17:57:36] local.INFO: Packet analysis {"connection_id":153700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:57:36] local.INFO: Extracted packet for processing {"connection_id":153700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:57:36] local.INFO: GPS Element Parsed {"raw_longitude":763595840,"raw_latitude":94656800,"longitude_deg":76.359584,"latitude_deg":9.46568,"altitude":2,"angle":296,"satellites":39,"speed":48,"hex_longitude":"2d838c40","hex_latitude":"05a45920","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331483648001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377914588986867712,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8958081847074039808,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786451116000,"timestamp_ms":1786451116000,"timestamp_seconds":1786451116,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c8bfe0"} 
[2026-08-11 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-08-11 17:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 17: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-08-11 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-08-11 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-08-11 17:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:57: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-08-11 17:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331483648001,"66":27843,"232":206,"85":14336,"24":48,"16":377914588986867712,"45":-8958081847074039808},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,85,24,16,45]} 
[2026-08-11 17:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331483648001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:57:36] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-11 17:57:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 17:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377914588986867712,"km_value":377914588986867.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8958081847074039808,"description":"Unknown IO ID 45"} 
[2026-08-11 17:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331483648001,"power":27843,"unknown_232":206,"unknown_85":14336,"ignition":48,"odometer":null,"unknown_45":-8958081847074039808}} 
[2026-08-11 17:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":153700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:57:36] local.INFO: GPS data processed {"connection_id":153700,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:57:36] local.INFO: Acknowledgment sent {"connection_id":153700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:57:45] local.INFO: TCP Data received {"connection_id":155080,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 17:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155080,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 17:57:45] local.INFO: Processing buffer {"connection_id":155080,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 17:57:45] local.INFO: IMEI packet received {"connection_id":155080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":155080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:57:46] local.INFO: TCP Data received {"connection_id":152762,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cac768012d82cf8005d687880000008325..."} 
[2026-08-11 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cac768012d82cf8005d687880000008325..."} 
[2026-08-11 17:57:46] local.INFO: Processing buffer {"connection_id":152762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cac768012d82cf8005d687880000008325..."} 
[2026-08-11 17:57:46] local.INFO: Packet analysis {"connection_id":152762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ca"} 
[2026-08-11 17:57:46] local.INFO: Extracted packet for processing {"connection_id":152762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ca"} 
[2026-08-11 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":763547520,"raw_latitude":97945480,"longitude_deg":76.354752,"latitude_deg":9.794548,"altitude":0,"angle":131,"satellites":37,"speed":7,"hex_longitude":"2d82cf80","hex_latitude":"05d68788","is_valid_coordinates":true} 
[2026-08-11 17:57: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-08-11 17:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331519232001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117756046067367936,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021132241014093824,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786451249000,"timestamp_ms":1786451249000,"timestamp_seconds":1786451249,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cac768"} 
[2026-08-11 17:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:57:46] 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-08-11 17:57: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 17:57:46] 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-08-11 17:57: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-08-11 17:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331519232001,"66":12906,"156":206,"85":15104,"24":7,"16":117756046067367936,"45":-9021132241014093824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-11 17:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331519232001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:57:46] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 17:57:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117756046067367936,"km_value":117756046067367.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021132241014093824,"description":"Unknown IO ID 45"} 
[2026-08-11 17:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331519232001,"power":12906,"unknown_156":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9021132241014093824}} 
[2026-08-11 17:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":152762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:57:46] local.INFO: GPS data processed {"connection_id":152762,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:57:46] local.INFO: Acknowledgment sent {"connection_id":152762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:57:46] local.INFO: TCP Data received {"connection_id":155080,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c8df20012d836a8005a46a180003012827..."} 
[2026-08-11 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c8df20012d836a8005a46a180003012827..."} 
[2026-08-11 17:57:46] local.INFO: Processing buffer {"connection_id":155080,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ff0..."} 
[2026-08-11 17:57:46] local.INFO: IMEI packet received {"connection_id":155080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":155080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:57:47] local.INFO: TCP Data received {"connection_id":155080,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c8fe60012d834a4005a479e00002012828..."} 
[2026-08-11 17:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c8fe60012d834a4005a479e00002012828..."} 
[2026-08-11 17:57:47] local.INFO: Processing buffer {"connection_id":155080,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ff0c8df20012d836a8005a46a180003012827..."} 
[2026-08-11 17:57:47] local.INFO: Packet analysis {"connection_id":155080,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:57:47] local.INFO: Extracted packet for processing {"connection_id":155080,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:57:47] local.INFO: GPS Element Parsed {"raw_longitude":763587200,"raw_latitude":94661144,"longitude_deg":76.35872,"latitude_deg":9.4661144,"altitude":3,"angle":296,"satellites":39,"speed":46,"hex_longitude":"2d836a80","hex_latitude":"05a46a18","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331485696001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377915052843335680,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8967722365025181696,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786451124000,"timestamp_ms":1786451124000,"timestamp_seconds":1786451124,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c8df20"} 
[2026-08-11 17:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 17:57:47] 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-08-11 17: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-08-11 17:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:57:47] 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-08-11 17:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331485696001,"66":27832,"232":206,"85":14336,"24":46,"16":377915052843335680,"45":-8967722365025181696},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,85,24,16,45]} 
[2026-08-11 17:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331485696001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:57:47] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-11 17:57:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 17:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377915052843335680,"km_value":377915052843335.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8967722365025181696,"description":"Unknown IO ID 45"} 
[2026-08-11 17:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331485696001,"power":27832,"unknown_232":206,"unknown_85":14336,"ignition":46,"odometer":null,"unknown_45":-8967722365025181696}} 
[2026-08-11 17:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":155080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:57:47] local.INFO: GPS data processed {"connection_id":155080,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:57:47] local.INFO: Acknowledgment sent {"connection_id":155080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:57:47] local.INFO: Packet analysis {"connection_id":155080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:57:47] local.INFO: Extracted packet for processing {"connection_id":155080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c8"} 
[2026-08-11 17:57:47] local.INFO: GPS Element Parsed {"raw_longitude":763578944,"raw_latitude":94665184,"longitude_deg":76.3578944,"latitude_deg":9.4665184,"altitude":2,"angle":296,"satellites":40,"speed":44,"hex_longitude":"2d834a40","hex_latitude":"05a479e0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331487744001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377915490929999872,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8977222145488054272,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786451132000,"timestamp_ms":1786451132000,"timestamp_seconds":1786451132,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c8fe60"} 
[2026-08-11 17:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 17:57:47] 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-08-11 17: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-08-11 17:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:57:47] 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-08-11 17:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331487744001,"66":27908,"232":206,"85":14336,"24":44,"16":377915490929999872,"45":-8977222145488054272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,85,24,16,45]} 
[2026-08-11 17:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331487744001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:57:47] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-11 17:57:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 17:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377915490929999872,"km_value":377915490929999.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8977222145488054272,"description":"Unknown IO ID 45"} 
[2026-08-11 17:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331487744001,"power":27908,"unknown_232":206,"unknown_85":14336,"ignition":44,"odometer":null,"unknown_45":-8977222145488054272}} 
[2026-08-11 17:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":155080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:57:47] local.INFO: GPS data processed {"connection_id":155080,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:57:47] local.INFO: Acknowledgment sent {"connection_id":155080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:57:48] local.INFO: TCP Data received {"connection_id":155080,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0c92188012d8327c005a48b300002012927..."} 
[2026-08-11 17:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0c92188012d8327c005a48b300002012927..."} 
[2026-08-11 17:57:48] local.INFO: Processing buffer {"connection_id":155080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0c92188012d8327c005a48b300002012927..."} 
[2026-08-11 17:57:48] local.INFO: Packet analysis {"connection_id":155080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0c9"} 
[2026-08-11 17:57:48] local.INFO: Extracted packet for processing {"connection_id":155080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0c9"} 
[2026-08-11 17:57:48] local.INFO: GPS Element Parsed {"raw_longitude":763570112,"raw_latitude":94669616,"longitude_deg":76.3570112,"latitude_deg":9.4669616,"altitude":2,"angle":297,"satellites":39,"speed":42,"hex_longitude":"2d8327c0","hex_latitude":"05a48b30","is_valid_coordinates":true} 
[2026-08-11 17:57: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-08-11 17:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331489792001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377915967671369728,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8986299713485938688,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786451141000,"timestamp_ms":1786451141000,"timestamp_seconds":1786451141,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0c92188"} 
[2026-08-11 17:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17:57: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 17:57:48] 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-08-11 17:57: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-08-11 17:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":155080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":155080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":155080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:57:48] 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-08-11 17:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331489792001,"66":27843,"232":206,"85":14336,"24":42,"16":377915967671369728,"45":-8986299713485938688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,85,24,16,45]} 
[2026-08-11 17:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331489792001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:57:48] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-11 17:57:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 17:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377915967671369728,"km_value":377915967671369.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8986299713485938688,"description":"Unknown IO ID 45"} 
[2026-08-11 17:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331489792001,"power":27843,"unknown_232":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-8986299713485938688}} 
[2026-08-11 17:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":155080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:57:48] local.INFO: GPS data processed {"connection_id":155080,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:57:48] local.INFO: Acknowledgment sent {"connection_id":155080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:57:49] local.INFO: TCP Data received {"connection_id":152763,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ca5620012d19ac80071f9480003a013122..."} 
[2026-08-11 17:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ca5620012d19ac80071f9480003a013122..."} 
[2026-08-11 17:57:49] local.INFO: Processing buffer {"connection_id":152763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ca5620012d19ac80071f9480003a013122..."} 
[2026-08-11 17:57:49] local.INFO: Packet analysis {"connection_id":152763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ca"} 
[2026-08-11 17:57:49] local.INFO: Extracted packet for processing {"connection_id":152763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ca"} 
[2026-08-11 17:57:49] local.INFO: GPS Element Parsed {"raw_longitude":756657280,"raw_latitude":119510144,"longitude_deg":75.665728,"latitude_deg":11.9510144,"altitude":58,"angle":305,"satellites":34,"speed":11,"hex_longitude":"2d19ac80","hex_latitude":"071f9480","is_valid_coordinates":true} 
[2026-08-11 17:57: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-08-11 17:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331512064001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11760221751869440,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421257873408,"note":"Value kept but may cause issues"} 
[2026-08-11 17:57:49] 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-08-11 17:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786451220000,"timestamp_ms":1786451220000,"timestamp_seconds":1786451220,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ca5620"} 
[2026-08-11 17:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:57:49] 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-08-11 17:57: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-08-11 17:57: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-08-11 17:57: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-08-11 17:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331512064001,"66":14396,"101":206,"83":41984,"24":11,"16":11760221751869440,"45":1850205421257873408},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331512064001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:57:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:57:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11760221751869440,"km_value":11760221751869.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421257873408,"description":"Unknown IO ID 45"} 
[2026-08-11 17:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331512064001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1850205421257873408}} 
[2026-08-11 17:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":152763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:57:49] local.INFO: GPS data processed {"connection_id":152763,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:57:49] local.INFO: Acknowledgment sent {"connection_id":152763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:58:08] local.INFO: TCP Data received {"connection_id":155081,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:58:08] local.INFO: Processing buffer {"connection_id":155081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:58:08] local.INFO: IMEI packet received {"connection_id":155081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":155081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:58:10] local.INFO: TCP Data received {"connection_id":155081,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:58:10] local.INFO: Processing buffer {"connection_id":155081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:58:10] local.INFO: IMEI packet received {"connection_id":155081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":155081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:58:10] local.INFO: TCP Data received {"connection_id":153701,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:58:10] local.INFO: Processing buffer {"connection_id":153701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:58:10] local.INFO: IMEI packet received {"connection_id":153701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":153701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:58:12] local.INFO: TCP Data received {"connection_id":155081,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:58:12] local.INFO: Processing buffer {"connection_id":155081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:58:12] local.INFO: IMEI packet received {"connection_id":155081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":155081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:58:13] local.INFO: TCP Data received {"connection_id":155081,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ca5df0012d19aa80071f95a8003a012423..."} 
[2026-08-11 17:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ca5df0012d19aa80071f95a8003a012423..."} 
[2026-08-11 17:58:13] local.INFO: Processing buffer {"connection_id":155081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ca5df0012d19aa80071f95a8003a012423..."} 
[2026-08-11 17:58:13] local.INFO: Packet analysis {"connection_id":155081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ca"} 
[2026-08-11 17:58:13] local.INFO: Extracted packet for processing {"connection_id":155081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ca"} 
[2026-08-11 17:58:13] local.INFO: GPS Element Parsed {"raw_longitude":756656768,"raw_latitude":119510440,"longitude_deg":75.6656768,"latitude_deg":11.951044,"altitude":58,"angle":292,"satellites":35,"speed":9,"hex_longitude":"2d19aa80","hex_latitude":"071f95a8","is_valid_coordinates":true} 
[2026-08-11 17:58: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-08-11 17:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331512320001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11760247521673216,"note":"Value kept but may cause issues"} 
[2026-08-11 17:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849994315025383424,"note":"Value kept but may cause issues"} 
[2026-08-11 17:58: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-08-11 17:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786451222000,"timestamp_ms":1786451222000,"timestamp_seconds":1786451222,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ca5df0"} 
[2026-08-11 17:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:58:13] 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-08-11 17:58: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 17:58:13] 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-08-11 17:58: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-08-11 17:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":155081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":155081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":155081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331512320001,"66":13961,"101":206,"83":41984,"24":9,"16":11760247521673216,"45":1849994315025383424},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331512320001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:58:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11760247521673216,"km_value":11760247521673.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849994315025383424,"description":"Unknown IO ID 45"} 
[2026-08-11 17:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331512320001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1849994315025383424}} 
[2026-08-11 17:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":155081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:58:13] local.INFO: GPS data processed {"connection_id":155081,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:58:13] local.INFO: Acknowledgment sent {"connection_id":155081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:58:13] local.INFO: TCP Data received {"connection_id":153701,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:58:13] local.INFO: Processing buffer {"connection_id":153701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:58:13] local.INFO: IMEI packet received {"connection_id":153701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":153701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:58:18] local.INFO: TCP Data received {"connection_id":153701,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:58:18] local.INFO: Processing buffer {"connection_id":153701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:58:18] local.INFO: IMEI packet received {"connection_id":153701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":153701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:58:19] local.INFO: TCP Data received {"connection_id":153701,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cacf38012d82d08005d686200000009d25..."} 
[2026-08-11 17:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cacf38012d82d08005d686200000009d25..."} 
[2026-08-11 17:58:19] local.INFO: Processing buffer {"connection_id":153701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cacf38012d82d08005d686200000009d25..."} 
[2026-08-11 17:58:19] local.INFO: Packet analysis {"connection_id":153701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ca"} 
[2026-08-11 17:58:19] local.INFO: Extracted packet for processing {"connection_id":153701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ca"} 
[2026-08-11 17:58:19] local.INFO: GPS Element Parsed {"raw_longitude":763547776,"raw_latitude":97945120,"longitude_deg":76.3547776,"latitude_deg":9.794512,"altitude":0,"angle":157,"satellites":37,"speed":9,"hex_longitude":"2d82d080","hex_latitude":"05d68620","is_valid_coordinates":true} 
[2026-08-11 17:58: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-08-11 17:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331519744001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117756067542204416,"note":"Value kept but may cause issues"} 
[2026-08-11 17:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020850766037415936,"note":"Value kept but may cause issues"} 
[2026-08-11 17:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786451251000,"timestamp_ms":1786451251000,"timestamp_seconds":1786451251,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cacf38"} 
[2026-08-11 17:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:58:19] 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-08-11 17:58: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-11 17:58:19] 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-08-11 17:58: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-08-11 17:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331519744001,"66":13015,"156":206,"85":15104,"24":9,"16":117756067542204416,"45":-9020850766037415936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-11 17:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331519744001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:58:19] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 17:58:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117756067542204416,"km_value":117756067542204.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020850766037415936,"description":"Unknown IO ID 45"} 
[2026-08-11 17:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331519744001,"power":13015,"unknown_156":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9020850766037415936}} 
[2026-08-11 17:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":153701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:58:19] local.INFO: GPS data processed {"connection_id":153701,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:58:19] local.INFO: Acknowledgment sent {"connection_id":153701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:58:24] local.INFO: TCP Data received {"connection_id":152764,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:58:24] local.INFO: Processing buffer {"connection_id":152764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:58:24] local.INFO: IMEI packet received {"connection_id":152764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":152764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:58:26] local.INFO: TCP Data received {"connection_id":152764,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:58:26] local.INFO: Processing buffer {"connection_id":152764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:58:26] local.INFO: IMEI packet received {"connection_id":152764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":152764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:58:29] local.INFO: TCP Data received {"connection_id":152764,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:58:29] local.INFO: Processing buffer {"connection_id":152764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:58:29] local.INFO: IMEI packet received {"connection_id":152764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":152764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:58:30] local.INFO: TCP Data received {"connection_id":152764,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cab3e0012d81e20005a504300004011028..."} 
[2026-08-11 17:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cab3e0012d81e20005a504300004011028..."} 
[2026-08-11 17:58:30] local.INFO: Processing buffer {"connection_id":152764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cab3e0012d81e20005a504300004011028..."} 
[2026-08-11 17:58:30] local.INFO: Packet analysis {"connection_id":152764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ca"} 
[2026-08-11 17:58:30] local.INFO: Extracted packet for processing {"connection_id":152764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ca"} 
[2026-08-11 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763486720,"raw_latitude":94700592,"longitude_deg":76.348672,"latitude_deg":9.4700592,"altitude":4,"angle":272,"satellites":40,"speed":26,"hex_longitude":"2d81e200","hex_latitude":"05a50430","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331515136001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377920288408469504,"note":"Value kept but may cause issues"} 
[2026-08-11 17:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9077708712163807232,"note":"Value kept but may cause issues"} 
[2026-08-11 17:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786451244000,"timestamp_ms":1786451244000,"timestamp_seconds":1786451244,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cab3e0"} 
[2026-08-11 17:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 17:58:30] 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-08-11 17: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-08-11 17:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:58:30] 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-08-11 17:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331515136001,"66":27876,"222":206,"85":14336,"24":26,"16":377920288408469504,"45":-9077708712163807232},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,85,24,16,45]} 
[2026-08-11 17:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331515136001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:58:30] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-08-11 17:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 17:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377920288408469504,"km_value":377920288408469.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9077708712163807232,"description":"Unknown IO ID 45"} 
[2026-08-11 17:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331515136001,"power":27876,"unknown_222":206,"unknown_85":14336,"ignition":26,"odometer":null,"unknown_45":-9077708712163807232}} 
[2026-08-11 17:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":152764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:58:30] local.INFO: GPS data processed {"connection_id":152764,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:58:30] local.INFO: Acknowledgment sent {"connection_id":152764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:58:44] local.INFO: TCP Data received {"connection_id":155081,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cb2140012d19a340071fd7900033014f20..."} 
[2026-08-11 17:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cb2140012d19a340071fd7900033014f20..."} 
[2026-08-11 17:58:44] local.INFO: Processing buffer {"connection_id":155081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cb2140012d19a340071fd7900033014f20..."} 
[2026-08-11 17:58:44] local.INFO: Packet analysis {"connection_id":155081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cb"} 
[2026-08-11 17:58:44] local.INFO: Extracted packet for processing {"connection_id":155081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cb"} 
[2026-08-11 17:58:44] local.INFO: GPS Element Parsed {"raw_longitude":756654912,"raw_latitude":119527312,"longitude_deg":75.6654912,"latitude_deg":11.9527312,"altitude":51,"angle":335,"satellites":32,"speed":16,"hex_longitude":"2d19a340","hex_latitude":"071fd790","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331525120001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11761231069184000,"note":"Value kept but may cause issues"} 
[2026-08-11 17:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847672146471675904,"note":"Value kept but may cause issues"} 
[2026-08-11 17:58:44] 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-08-11 17:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786451272000,"timestamp_ms":1786451272000,"timestamp_seconds":1786451272,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cb2140"} 
[2026-08-11 17:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:58:44] 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-08-11 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-11 17:58:44] 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-08-11 17: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-08-11 17:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 17:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 17:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 17:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331525120001,"66":13428,"101":206,"83":41984,"24":16,"16":11761231069184000,"45":1847672146471675904},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 17:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 17:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 17:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331525120001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:58:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 17:58:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 17:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11761231069184000,"km_value":11761231069184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847672146471675904,"description":"Unknown IO ID 45"} 
[2026-08-11 17:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331525120001,"power":13428,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1847672146471675904}} 
[2026-08-11 17:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":155081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:58:44] local.INFO: GPS data processed {"connection_id":155081,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:58:44] local.INFO: Acknowledgment sent {"connection_id":155081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:58:52] local.INFO: TCP Data received {"connection_id":153701,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cbd8d8012d829e8005d61428000a00c725..."} 
[2026-08-11 17:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cbd8d8012d829e8005d61428000a00c725..."} 
[2026-08-11 17:58:52] local.INFO: Processing buffer {"connection_id":153701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cbd8d8012d829e8005d61428000a00c725..."} 
[2026-08-11 17:58:52] local.INFO: Packet analysis {"connection_id":153701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cb"} 
[2026-08-11 17:58:52] local.INFO: Extracted packet for processing {"connection_id":153701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cb"} 
[2026-08-11 17:58:52] local.INFO: GPS Element Parsed {"raw_longitude":763534976,"raw_latitude":97915944,"longitude_deg":76.3534976,"latitude_deg":9.7915944,"altitude":10,"angle":199,"satellites":37,"speed":11,"hex_longitude":"2d829e80","hex_latitude":"05d61428","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331537152001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117757686744875008,"note":"Value kept but may cause issues"} 
[2026-08-11 17:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034080089950285824,"note":"Value kept but may cause issues"} 
[2026-08-11 17:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786451319000,"timestamp_ms":1786451319000,"timestamp_seconds":1786451319,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cbd8d8"} 
[2026-08-11 17:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:58:52] 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-08-11 17: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 17:58:52] 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-08-11 17: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-08-11 17:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331537152001,"66":13319,"156":206,"85":15104,"24":11,"16":117757686744875008,"45":-9034080089950285824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-11 17:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331537152001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:58:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 17:58:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117757686744875008,"km_value":117757686744875.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034080089950285824,"description":"Unknown IO ID 45"} 
[2026-08-11 17:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331537152001,"power":13319,"unknown_156":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9034080089950285824}} 
[2026-08-11 17:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":153701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:58:52] local.INFO: GPS data processed {"connection_id":153701,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:58:52] local.INFO: Acknowledgment sent {"connection_id":153701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:59:01] local.INFO: TCP Data received {"connection_id":152764,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cae2c0012d81be8005a505f80004011129..."} 
[2026-08-11 17:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cae2c0012d81be8005a505f80004011129..."} 
[2026-08-11 17:59:01] local.INFO: Processing buffer {"connection_id":152764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cae2c0012d81be8005a505f80004011129..."} 
[2026-08-11 17:59:01] local.INFO: Packet analysis {"connection_id":152764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ca"} 
[2026-08-11 17:59:01] local.INFO: Extracted packet for processing {"connection_id":152764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ca"} 
[2026-08-11 17:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763477632,"raw_latitude":94701048,"longitude_deg":76.3477632,"latitude_deg":9.4701048,"altitude":4,"angle":273,"satellites":41,"speed":32,"hex_longitude":"2d81be80","hex_latitude":"05a505f8","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331518464001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377920722200166400,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9087701073836888064,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786451256000,"timestamp_ms":1786451256000,"timestamp_seconds":1786451256,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cae2c0"} 
[2026-08-11 17:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 17:59:01] 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-08-11 17: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-08-11 17:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:59: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-08-11 17:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331518464001,"66":27919,"222":206,"85":14336,"24":32,"16":377920722200166400,"45":-9087701073836888064},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,85,24,16,45]} 
[2026-08-11 17:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331518464001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:59:01] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-08-11 17:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 17:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377920722200166400,"km_value":377920722200166.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9087701073836888064,"description":"Unknown IO ID 45"} 
[2026-08-11 17:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331518464001,"power":27919,"unknown_222":206,"unknown_85":14336,"ignition":32,"odometer":null,"unknown_45":-9087701073836888064}} 
[2026-08-11 17:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":152764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:59:01] local.INFO: GPS data processed {"connection_id":152764,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:59:01] local.INFO: Acknowledgment sent {"connection_id":152764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:59:07] local.INFO: TCP Data received {"connection_id":152378,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:59:07] local.INFO: Processing buffer {"connection_id":152378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:59:07] local.INFO: IMEI packet received {"connection_id":152378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 17:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":152378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:59:08] local.INFO: TCP Data received {"connection_id":152378,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:59:08] local.INFO: Processing buffer {"connection_id":152378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:59:08] local.INFO: IMEI packet received {"connection_id":152378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":152378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:59:09] local.INFO: TCP Data received {"connection_id":155082,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:59:09] local.INFO: Processing buffer {"connection_id":155082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:59:09] local.INFO: IMEI packet received {"connection_id":155082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 17:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":155082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:59:09] local.INFO: TCP Data received {"connection_id":155082,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:59:09] local.INFO: Processing buffer {"connection_id":155082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:59:09] local.INFO: IMEI packet received {"connection_id":155082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":155082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:59:10] local.INFO: TCP Data received {"connection_id":152378,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:59:10] local.INFO: Processing buffer {"connection_id":152378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:59:10] local.INFO: IMEI packet received {"connection_id":152378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":152378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:59:11] local.INFO: TCP Data received {"connection_id":152378,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:59:11] local.INFO: Processing buffer {"connection_id":152378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 17:59:11] local.INFO: IMEI packet received {"connection_id":152378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 17:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":152378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:59:13] local.INFO: TCP Data received {"connection_id":155082,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:59:13] local.INFO: Processing buffer {"connection_id":155082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 17:59:13] local.INFO: IMEI packet received {"connection_id":155082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 17:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":155082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:59:15] local.INFO: TCP Data received {"connection_id":155082,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cbdcc0012d829e8005d612d0000a00b725..."} 
[2026-08-11 17:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cbdcc0012d829e8005d612d0000a00b725..."} 
[2026-08-11 17:59:15] local.INFO: Processing buffer {"connection_id":155082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cbdcc0012d829e8005d612d0000a00b725..."} 
[2026-08-11 17:59:15] local.INFO: Packet analysis {"connection_id":155082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cb"} 
[2026-08-11 17:59:15] local.INFO: Extracted packet for processing {"connection_id":155082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cb"} 
[2026-08-11 17:59:15] local.INFO: GPS Element Parsed {"raw_longitude":763534976,"raw_latitude":97915600,"longitude_deg":76.3534976,"latitude_deg":9.79156,"altitude":10,"angle":183,"satellites":37,"speed":13,"hex_longitude":"2d829e80","hex_latitude":"05d612d0","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331537664001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117757703924744192,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034643039903799296,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786451320000,"timestamp_ms":1786451320000,"timestamp_seconds":1786451320,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cbdcc0"} 
[2026-08-11 17:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:59:15] 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-08-11 17: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":7,"data_length":795,"current_offset":136} 
[2026-08-11 17:59:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:15] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4039876160,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2192080901,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3417937921,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:15] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3258354360482472448,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-08-11 17:59:15] local.WARNING: Large IO value detected {"io_id":169,"raw_value":4160826754,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3592962048,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:15] local.WARNING: Large IO value detected {"io_id":215,"raw_value":57885559184315707,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:15] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":-8169528429071826939,"corrected_to":0} 
[2026-08-11 17:59:15] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,156,85,24,241,157,16,91,159,209,45,128,21,10,37,66,193,192,23,9,36,189,64,1,240,237,227,214,4,113,205,19,169,173,35,239,51,2,162,5,8,25,215,203],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0},{"io_id":203,"original":-8169528429071826939,"validated":0}]} 
[2026-08-11 17:59:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720794902107717632,"timestamp_seconds":720794902107717.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 17:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331537664001,"66":12069,"156":206,"85":15104,"24":13,"16":117757703924744192,"45":-9034643039903799296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-11 17:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331537664001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:59:15] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 17:59:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117757703924744192,"km_value":117757703924744.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034643039903799296,"description":"Unknown IO ID 45"} 
[2026-08-11 17:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331537664001,"power":12069,"unknown_156":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9034643039903799296}} 
[2026-08-11 17:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":155082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:59:15] local.INFO: GPS data processed {"connection_id":155082,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:59:15] local.INFO: Acknowledgment sent {"connection_id":155082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:59:19] local.INFO: TCP Data received {"connection_id":155083,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:59:19] local.INFO: Processing buffer {"connection_id":155083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:59:19] local.INFO: IMEI packet received {"connection_id":155083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 17:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":155083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 17:59:24] local.INFO: TCP Data received {"connection_id":155083,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:59:24] local.INFO: Processing buffer {"connection_id":155083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 17:59:24] local.INFO: IMEI packet received {"connection_id":155083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 17:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":155083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 17:59:25] local.INFO: TCP Data received {"connection_id":155083,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cb11a0012d819b4005a507100003010d28..."} 
[2026-08-11 17:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cb11a0012d819b4005a507100003010d28..."} 
[2026-08-11 17:59:25] local.INFO: Processing buffer {"connection_id":155083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cb11a0012d819b4005a507100003010d28..."} 
[2026-08-11 17:59:25] local.INFO: Packet analysis {"connection_id":155083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cb"} 
[2026-08-11 17:59:25] local.INFO: Extracted packet for processing {"connection_id":155083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cb"} 
[2026-08-11 17:59:25] local.INFO: GPS Element Parsed {"raw_longitude":763468608,"raw_latitude":94701328,"longitude_deg":76.3468608,"latitude_deg":9.4701328,"altitude":3,"angle":269,"satellites":40,"speed":25,"hex_longitude":"2d819b40","hex_latitude":"05a50710","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331521536001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377921155991863296,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097693435509999616,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786451268000,"timestamp_ms":1786451268000,"timestamp_seconds":1786451268,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cb11a0"} 
[2026-08-11 17:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 17:59:25] 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-08-11 17: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-08-11 17:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:59:25] 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-08-11 17:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331521536001,"66":27930,"52":206,"85":14336,"24":25,"16":377921155991863296,"45":-9097693435509999616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-08-11 17:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331521536001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:59:25] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-11 17:59:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 17:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377921155991863296,"km_value":377921155991863.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097693435509999616,"description":"Unknown IO ID 45"} 
[2026-08-11 17:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331521536001,"power":27930,"unknown_52":206,"unknown_85":14336,"ignition":25,"odometer":null,"unknown_45":-9097693435509999616}} 
[2026-08-11 17:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":155083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:59:25] local.INFO: GPS data processed {"connection_id":155083,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:59:25] local.INFO: Acknowledgment sent {"connection_id":155083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:59:53] local.INFO: TCP Data received {"connection_id":155082,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cbe490012d829f0005d60f80000900a623..."} 
[2026-08-11 17:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cbe490012d829f0005d60f80000900a623..."} 
[2026-08-11 17:59:53] local.INFO: Processing buffer {"connection_id":155082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cbe490012d829f0005d60f80000900a623..."} 
[2026-08-11 17:59:53] local.INFO: Packet analysis {"connection_id":155082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cb"} 
[2026-08-11 17:59:53] local.INFO: Extracted packet for processing {"connection_id":155082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cb"} 
[2026-08-11 17:59:53] local.INFO: GPS Element Parsed {"raw_longitude":763535104,"raw_latitude":97914752,"longitude_deg":76.3535104,"latitude_deg":9.7914752,"altitude":9,"angle":166,"satellites":35,"speed":19,"hex_longitude":"2d829f00","hex_latitude":"05d60f80","is_valid_coordinates":true} 
[2026-08-11 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-08-11 17:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331537920001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117757746874417152,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034643039903887360,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786451322000,"timestamp_ms":1786451322000,"timestamp_seconds":1786451322,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cbe490"} 
[2026-08-11 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-08-11 17:59:53] 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-08-11 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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-11 17:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 17:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":155082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":155082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":155082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 17:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 17:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 17:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 17:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331537920001,"66":13319,"156":206,"85":15104,"24":19,"16":117757746874417152,"45":-9034643039903887360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-11 17:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 17:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 17:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331537920001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:59:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 17:59:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 17:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117757746874417152,"km_value":117757746874417.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034643039903887360,"description":"Unknown IO ID 45"} 
[2026-08-11 17:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331537920001,"power":13319,"unknown_156":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9034643039903887360}} 
[2026-08-11 17:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":155082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:59:54] local.INFO: GPS data processed {"connection_id":155082,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:59:54] local.INFO: Acknowledgment sent {"connection_id":155082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 17:59:56] local.INFO: TCP Data received {"connection_id":155083,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cb5020012d81784005a506480005010a29..."} 
[2026-08-11 17:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cb5020012d81784005a506480005010a29..."} 
[2026-08-11 17:59:56] local.INFO: Processing buffer {"connection_id":155083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cb5020012d81784005a506480005010a29..."} 
[2026-08-11 17:59:56] local.INFO: Packet analysis {"connection_id":155083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cb"} 
[2026-08-11 17:59:56] local.INFO: Extracted packet for processing {"connection_id":155083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cb"} 
[2026-08-11 17:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763459648,"raw_latitude":94701128,"longitude_deg":76.3459648,"latitude_deg":9.4701128,"altitude":5,"angle":266,"satellites":41,"speed":23,"hex_longitude":"2d817840","hex_latitude":"05a50648","is_valid_coordinates":true} 
[2026-08-11 17: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-08-11 17:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331524608001,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377921585488592896,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107615428438978560,"note":"Value kept but may cause issues"} 
[2026-08-11 17:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 17:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786451284000,"timestamp_ms":1786451284000,"timestamp_seconds":1786451284,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cb5020"} 
[2026-08-11 17:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 17:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 17:59:56] 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-08-11 17: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-08-11 17:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 17:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 17:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 17:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 17:59:56] 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-08-11 17:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 17:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 17:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331524608001,"66":27767,"142":206,"85":14336,"24":23,"16":377921585488592896,"45":-9107615428438978560},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,45]} 
[2026-08-11 17:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 17:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 17:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331524608001,"description":"Unknown IO ID 0"} 
[2026-08-11 17:59:56] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-11 17:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 17:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377921585488592896,"km_value":377921585488592.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 17:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107615428438978560,"description":"Unknown IO ID 45"} 
[2026-08-11 17:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331524608001,"power":27767,"unknown_142":206,"unknown_85":14336,"ignition":23,"odometer":null,"unknown_45":-9107615428438978560}} 
[2026-08-11 17:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":155083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 17:59:56] local.INFO: GPS data processed {"connection_id":155083,"processed":1,"errors":0,"total":1} 
[2026-08-11 17:59:56] local.INFO: Acknowledgment sent {"connection_id":155083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:00:16] local.INFO: TCP Data received {"connection_id":152379,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:00:16] local.INFO: Processing buffer {"connection_id":152379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:00:16] local.INFO: IMEI packet received {"connection_id":152379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":152379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:00:18] local.INFO: TCP Data received {"connection_id":152379,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:00:18] local.INFO: Processing buffer {"connection_id":152379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:00:18] local.INFO: IMEI packet received {"connection_id":152379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":152379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:00:19] local.INFO: TCP Data received {"connection_id":152380,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:00:19] local.INFO: Processing buffer {"connection_id":152380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:00:19] local.INFO: IMEI packet received {"connection_id":152380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":152380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:00:19] local.INFO: TCP Data received {"connection_id":152379,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:00:19] local.INFO: Processing buffer {"connection_id":152379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:00:19] local.INFO: IMEI packet received {"connection_id":152379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":152379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:00:23] local.INFO: TCP Data received {"connection_id":152379,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:00:23] local.INFO: Processing buffer {"connection_id":152379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:00:23] local.INFO: IMEI packet received {"connection_id":152379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":152379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:00:24] local.INFO: TCP Data received {"connection_id":152379,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cd05a0012d823a8005d5c4c8000300e124..."} 
[2026-08-11 18:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cd05a0012d823a8005d5c4c8000300e124..."} 
[2026-08-11 18:00:24] local.INFO: Processing buffer {"connection_id":152379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cd05a0012d823a8005d5c4c8000300e124..."} 
[2026-08-11 18:00:24] local.INFO: Packet analysis {"connection_id":152379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cd"} 
[2026-08-11 18:00:24] local.INFO: Extracted packet for processing {"connection_id":152379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cd"} 
[2026-08-11 18:00:24] local.INFO: GPS Element Parsed {"raw_longitude":763509376,"raw_latitude":97895624,"longitude_deg":76.3509376,"latitude_deg":9.7895624,"altitude":3,"angle":225,"satellites":36,"speed":21,"hex_longitude":"2d823a80","hex_latitude":"05d5c4c8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331556096001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117759520695910400,"note":"Value kept but may cause issues"} 
[2026-08-11 18:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061031318975068160,"note":"Value kept but may cause issues"} 
[2026-08-11 18:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786451396000,"timestamp_ms":1786451396000,"timestamp_seconds":1786451396,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cd05a0"} 
[2026-08-11 18:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:00:24] 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-08-11 18: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 18:00:24] 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-08-11 18: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-08-11 18:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331556096001,"66":13298,"156":206,"85":15104,"24":21,"16":117759520695910400,"45":-9061031318975068160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-11 18:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331556096001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:00:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 18:00:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117759520695910400,"km_value":117759520695910.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061031318975068160,"description":"Unknown IO ID 45"} 
[2026-08-11 18:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331556096001,"power":13298,"unknown_156":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9061031318975068160}} 
[2026-08-11 18:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":152379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:00:24] local.INFO: GPS data processed {"connection_id":152379,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:00:24] local.INFO: Acknowledgment sent {"connection_id":152379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:00:24] local.INFO: TCP Data received {"connection_id":152380,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:00:24] local.INFO: Processing buffer {"connection_id":152380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:00:24] local.INFO: IMEI packet received {"connection_id":152380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":152380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:00:25] local.INFO: TCP Data received {"connection_id":152379,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cd0d70012d82370005d5c258000300f324..."} 
[2026-08-11 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cd0d70012d82370005d5c258000300f324..."} 
[2026-08-11 18:00:25] local.INFO: Processing buffer {"connection_id":152379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cd0d70012d82370005d5c258000300f324..."} 
[2026-08-11 18:00:25] local.INFO: Packet analysis {"connection_id":152379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cd"} 
[2026-08-11 18:00:25] local.INFO: Extracted packet for processing {"connection_id":152379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cd"} 
[2026-08-11 18:00:25] local.INFO: GPS Element Parsed {"raw_longitude":763508480,"raw_latitude":97895000,"longitude_deg":76.350848,"latitude_deg":9.7895,"altitude":3,"angle":243,"satellites":36,"speed":23,"hex_longitude":"2d823700","hex_latitude":"05d5c258","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331557376001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117759572235517952,"note":"Value kept but may cause issues"} 
[2026-08-11 18:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062790537580066816,"note":"Value kept but may cause issues"} 
[2026-08-11 18:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786451398000,"timestamp_ms":1786451398000,"timestamp_seconds":1786451398,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cd0d70"} 
[2026-08-11 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-08-11 18:00: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-08-11 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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-11 18:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 18:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331557376001,"66":13493,"156":206,"85":15104,"24":23,"16":117759572235517952,"45":-9062790537580066816},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-11 18:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331557376001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:00:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-11 18:00:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117759572235517952,"km_value":117759572235517.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062790537580066816,"description":"Unknown IO ID 45"} 
[2026-08-11 18:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331557376001,"power":13493,"unknown_156":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9062790537580066816}} 
[2026-08-11 18:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":152379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:00:25] local.INFO: GPS data processed {"connection_id":152379,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:00:25] local.INFO: Acknowledgment sent {"connection_id":152379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:00:25] local.INFO: TCP Data received {"connection_id":152380,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cb86d0012d81524005a505a00006011025..."} 
[2026-08-11 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cb86d0012d81524005a505a00006011025..."} 
[2026-08-11 18:00:25] local.INFO: Processing buffer {"connection_id":152380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cb86d0012d81524005a505a00006011025..."} 
[2026-08-11 18:00:25] local.INFO: Packet analysis {"connection_id":152380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cb"} 
[2026-08-11 18:00:25] local.INFO: Extracted packet for processing {"connection_id":152380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cb"} 
[2026-08-11 18:00:25] local.INFO: GPS Element Parsed {"raw_longitude":763449920,"raw_latitude":94700960,"longitude_deg":76.344992,"latitude_deg":9.470096,"altitude":6,"angle":272,"satellites":37,"speed":30,"hex_longitude":"2d815240","hex_latitude":"05a505a0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331528704001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377922049345060864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9117467052623902720,"note":"Value kept but may cause issues"} 
[2026-08-11 18:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786451298000,"timestamp_ms":1786451298000,"timestamp_seconds":1786451298,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cb86d0"} 
[2026-08-11 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-08-11 18:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:00:25] 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-08-11 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-08-11 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-08-11 18:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:00:25] 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-08-11 18:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331528704001,"66":27908,"142":206,"85":14336,"24":30,"16":377922049345060864,"45":-9117467052623902720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,45]} 
[2026-08-11 18:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331528704001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:00:25] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-11 18:00:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377922049345060864,"km_value":377922049345060.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9117467052623902720,"description":"Unknown IO ID 45"} 
[2026-08-11 18:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331528704001,"power":27908,"unknown_142":206,"unknown_85":14336,"ignition":30,"odometer":null,"unknown_45":-9117467052623902720}} 
[2026-08-11 18:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":152380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:00:25] local.INFO: GPS data processed {"connection_id":152380,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:00:25] local.INFO: Acknowledgment sent {"connection_id":152380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:00:56] local.INFO: TCP Data received {"connection_id":152380,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cbc938012d812e8005a50af80007011927..."} 
[2026-08-11 18:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cbc938012d812e8005a50af80007011927..."} 
[2026-08-11 18:00:56] local.INFO: Processing buffer {"connection_id":152380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cbc938012d812e8005a50af80007011927..."} 
[2026-08-11 18:00:56] local.INFO: Packet analysis {"connection_id":152380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cb"} 
[2026-08-11 18:00:56] local.INFO: Extracted packet for processing {"connection_id":152380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cb"} 
[2026-08-11 18:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763440768,"raw_latitude":94702328,"longitude_deg":76.3440768,"latitude_deg":9.4702328,"altitude":7,"angle":281,"satellites":39,"speed":24,"hex_longitude":"2d812e80","hex_latitude":"05a50af8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331532288001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377922491726692352,"note":"Value kept but may cause issues"} 
[2026-08-11 18:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9128163101738950656,"note":"Value kept but may cause issues"} 
[2026-08-11 18:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786451315000,"timestamp_ms":1786451315000,"timestamp_seconds":1786451315,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cbc938"} 
[2026-08-11 18:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 18:00:56] 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-08-11 18: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-08-11 18:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:00:56] 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-08-11 18:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331532288001,"66":27876,"143":206,"85":14336,"24":24,"16":377922491726692352,"45":-9128163101738950656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-08-11 18:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331532288001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:00:56] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-11 18:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377922491726692352,"km_value":377922491726692.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9128163101738950656,"description":"Unknown IO ID 45"} 
[2026-08-11 18:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331532288001,"power":27876,"unknown_143":206,"unknown_85":14336,"ignition":24,"odometer":null,"unknown_45":-9128163101738950656}} 
[2026-08-11 18:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":152380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:00:56] local.INFO: GPS data processed {"connection_id":152380,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:00:56] local.INFO: Acknowledgment sent {"connection_id":152380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:01:08] local.INFO: TCP Data received {"connection_id":152765,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:01:08] local.INFO: Processing buffer {"connection_id":152765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:01:08] local.INFO: IMEI packet received {"connection_id":152765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":152765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:01:13] local.INFO: TCP Data received {"connection_id":152765,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:01:13] local.INFO: Processing buffer {"connection_id":152765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:01:13] local.INFO: IMEI packet received {"connection_id":152765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":152765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:01:14] local.INFO: TCP Data received {"connection_id":152765,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cdd890012d81b9c005d5c6c0000000f225..."} 
[2026-08-11 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cdd890012d81b9c005d5c6c0000000f225..."} 
[2026-08-11 18:01:14] local.INFO: Processing buffer {"connection_id":152765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cdd890012d81b9c005d5c6c0000000f225..."} 
[2026-08-11 18:01:14] local.INFO: Packet analysis {"connection_id":152765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cd"} 
[2026-08-11 18:01:14] local.INFO: Extracted packet for processing {"connection_id":152765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cd"} 
[2026-08-11 18:01:14] local.INFO: GPS Element Parsed {"raw_longitude":763476416,"raw_latitude":97896128,"longitude_deg":76.3476416,"latitude_deg":9.7896128,"altitude":0,"angle":242,"satellites":37,"speed":6,"hex_longitude":"2d81b9c0","hex_latitude":"05d5c6c0","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331570944001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117761247272763392,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098819334598885376,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786451450000,"timestamp_ms":1786451450000,"timestamp_seconds":1786451450,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cdd890"} 
[2026-08-11 18:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:01:14] 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-08-11 18: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 18:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166653517222,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4039990160,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2180956165,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:14] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":36864,"corrected_to":0} 
[2026-08-11 18:01:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3446609921,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:14] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3488088064,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795307214,"corrected_to":0} 
[2026-08-11 18:01:14] local.WARNING: Large IO value detected {"io_id":255,"raw_value":2147866063,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3586672640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:14] local.WARNING: Large IO value detected {"io_id":156,"raw_value":58077557095399452,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:14] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,157,85,24,241,16,95,159,169,45,128,203,1,37,10,66,94,118,192,207,36,115,240,220,227,213,4,113,205,107,255,35,239,52,2,162,5,28,156],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":203,"original":36864,"validated":0},{"io_id":205,"original":2795307214,"validated":0}]} 
[2026-08-11 18:01:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":279434868031488,"timestamp_seconds":279434868031.488,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 18:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331570944001,"66":13254,"157":206,"85":15104,"24":6,"16":117761247272763392,"45":-9098819334598885376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-11 18:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331570944001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:01:14] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-11 18:01:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117761247272763392,"km_value":117761247272763.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098819334598885376,"description":"Unknown IO ID 45"} 
[2026-08-11 18:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331570944001,"power":13254,"unknown_157":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9098819334598885376}} 
[2026-08-11 18:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":152765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:01:15] local.INFO: GPS data processed {"connection_id":152765,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:01:15] local.INFO: Acknowledgment sent {"connection_id":152765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:01:19] local.INFO: TCP Data received {"connection_id":153704,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:01:19] local.INFO: Processing buffer {"connection_id":153704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:01:19] local.INFO: IMEI packet received {"connection_id":153704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":153704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:01:24] local.INFO: TCP Data received {"connection_id":153704,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:01:24] local.INFO: Processing buffer {"connection_id":153704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:01:24] local.INFO: IMEI packet received {"connection_id":153704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":153704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:01:25] local.INFO: TCP Data received {"connection_id":153704,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cc1b40012d81128005a51020000a011329..."} 
[2026-08-11 18:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cc1b40012d81128005a51020000a011329..."} 
[2026-08-11 18:01:25] local.INFO: Processing buffer {"connection_id":153704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cc1b40012d81128005a51020000a011329..."} 
[2026-08-11 18:01:25] local.INFO: Packet analysis {"connection_id":153704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cc"} 
[2026-08-11 18:01:25] local.INFO: Extracted packet for processing {"connection_id":153704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cc"} 
[2026-08-11 18:01:25] local.INFO: GPS Element Parsed {"raw_longitude":763433600,"raw_latitude":94703648,"longitude_deg":76.34336,"latitude_deg":9.4703648,"altitude":10,"angle":275,"satellites":41,"speed":5,"hex_longitude":"2d811280","hex_latitude":"05a51020","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331536640001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377922839619043328,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138225832156006400,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786451336000,"timestamp_ms":1786451336000,"timestamp_seconds":1786451336,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cc1b40"} 
[2026-08-11 18:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 18:01:25] 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-08-11 18: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-08-11 18:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:01:25] 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-08-11 18:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331536640001,"66":27876,"52":206,"85":14336,"24":5,"16":377922839619043328,"45":-9138225832156006400},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-08-11 18:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331536640001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:01:25] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-11 18:01:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377922839619043328,"km_value":377922839619043.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138225832156006400,"description":"Unknown IO ID 45"} 
[2026-08-11 18:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331536640001,"power":27876,"unknown_52":206,"unknown_85":14336,"ignition":5,"odometer":null,"unknown_45":-9138225832156006400}} 
[2026-08-11 18:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":153704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:01:25] local.INFO: GPS data processed {"connection_id":153704,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:01:25] local.INFO: Acknowledgment sent {"connection_id":153704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:01:46] local.INFO: TCP Data received {"connection_id":152765,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cddc78012d81b94005d5c658000000db24..."} 
[2026-08-11 18:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cddc78012d81b94005d5c658000000db24..."} 
[2026-08-11 18:01:46] local.INFO: Processing buffer {"connection_id":152765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cddc78012d81b94005d5c658000000db24..."} 
[2026-08-11 18:01:46] local.INFO: Packet analysis {"connection_id":152765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cd"} 
[2026-08-11 18:01:46] local.INFO: Extracted packet for processing {"connection_id":152765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cd"} 
[2026-08-11 18:01:46] local.INFO: GPS Element Parsed {"raw_longitude":763476288,"raw_latitude":97896024,"longitude_deg":76.3476288,"latitude_deg":9.7896024,"altitude":0,"angle":219,"satellites":36,"speed":5,"hex_longitude":"2d81b940","hex_latitude":"05d5c658","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331571200001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117761255862697984,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099030440831434752,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786451451000,"timestamp_ms":1786451451000,"timestamp_seconds":1786451451,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cddc78"} 
[2026-08-11 18:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:01:46] 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-08-11 18: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 18:01:46] 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-08-11 18: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-08-11 18:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331571200001,"66":13254,"157":206,"85":15104,"24":5,"16":117761255862697984,"45":-9099030440831434752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-11 18:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331571200001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:01:46] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-11 18:01:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117761255862697984,"km_value":117761255862697.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099030440831434752,"description":"Unknown IO ID 45"} 
[2026-08-11 18:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331571200001,"power":13254,"unknown_157":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9099030440831434752}} 
[2026-08-11 18:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":152765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:01:46] local.INFO: GPS data processed {"connection_id":152765,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:01:46] local.INFO: Acknowledgment sent {"connection_id":152765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:01:56] local.INFO: TCP Data received {"connection_id":153704,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cc6d48012d80fa0005a51460000d011628..."} 
[2026-08-11 18:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cc6d48012d80fa0005a51460000d011628..."} 
[2026-08-11 18:01:56] local.INFO: Processing buffer {"connection_id":153704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cc6d48012d80fa0005a51460000d011628..."} 
[2026-08-11 18:01:56] local.INFO: Packet analysis {"connection_id":153704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cc"} 
[2026-08-11 18:01:56] local.INFO: Extracted packet for processing {"connection_id":153704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cc"} 
[2026-08-11 18:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763427328,"raw_latitude":94704736,"longitude_deg":76.3427328,"latitude_deg":9.4704736,"altitude":13,"angle":278,"satellites":40,"speed":18,"hex_longitude":"2d80fa00","hex_latitude":"05a51460","is_valid_coordinates":true} 
[2026-08-11 18:01: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-08-11 18:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331542016001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377923144561721344,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146107131503566848,"note":"Value kept but may cause issues"} 
[2026-08-11 18:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786451357000,"timestamp_ms":1786451357000,"timestamp_seconds":1786451357,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cc6d48"} 
[2026-08-11 18:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18:01: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-08-11 18:01: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-08-11 18:01: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-08-11 18:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:01:56] 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-08-11 18:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331542016001,"66":27843,"52":206,"85":14336,"24":18,"16":377923144561721344,"45":-9146107131503566848},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-08-11 18:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331542016001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:01:56] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-11 18:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377923144561721344,"km_value":377923144561721.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146107131503566848,"description":"Unknown IO ID 45"} 
[2026-08-11 18:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331542016001,"power":27843,"unknown_52":206,"unknown_85":14336,"ignition":18,"odometer":null,"unknown_45":-9146107131503566848}} 
[2026-08-11 18:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":153704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:01:56] local.INFO: GPS data processed {"connection_id":153704,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:01:56] local.INFO: Acknowledgment sent {"connection_id":153704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:02:08] local.INFO: TCP Data received {"connection_id":152766,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:02:08] local.INFO: Processing buffer {"connection_id":152766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:02:08] local.INFO: IMEI packet received {"connection_id":152766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":152766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:02:11] local.INFO: TCP Data received {"connection_id":152766,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:02:11] local.INFO: Processing buffer {"connection_id":152766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:02:11] local.INFO: IMEI packet received {"connection_id":152766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":152766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:02:13] local.INFO: TCP Data received {"connection_id":152766,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:02:13] local.INFO: Processing buffer {"connection_id":152766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:02:13] local.INFO: IMEI packet received {"connection_id":152766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":152766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:02:13] local.INFO: TCP Data received {"connection_id":152766,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cebb20012d81be0005d4e508000700a825..."} 
[2026-08-11 18:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cebb20012d81be0005d4e508000700a825..."} 
[2026-08-11 18:02:13] local.INFO: Processing buffer {"connection_id":152766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cebb20012d81be0005d4e508000700a825..."} 
[2026-08-11 18:02:13] local.INFO: Packet analysis {"connection_id":152766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ce"} 
[2026-08-11 18:02:13] local.INFO: Extracted packet for processing {"connection_id":152766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ce"} 
[2026-08-11 18:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763477504,"raw_latitude":97838344,"longitude_deg":76.3477504,"latitude_deg":9.7838344,"altitude":7,"angle":168,"satellites":37,"speed":51,"hex_longitude":"2d81be00","hex_latitude":"05d4e508","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331584000001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117764090541113344,"note":"Value kept but may cause issues"} 
[2026-08-11 18:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099945234518056960,"note":"Value kept but may cause issues"} 
[2026-08-11 18:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786451508000,"timestamp_ms":1786451508000,"timestamp_seconds":1786451508,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cebb20"} 
[2026-08-11 18:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:02:13] 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-08-11 18: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":84,"data_length":795,"current_offset":136} 
[2026-08-11 18:02:13] 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-08-11 18:02: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-08-11 18:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331584000001,"66":13189,"165":206,"85":15104,"24":51,"16":117764090541113344,"45":-9099945234518056960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-11 18:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331584000001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:02:14] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 18:02:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117764090541113344,"km_value":117764090541113.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099945234518056960,"description":"Unknown IO ID 45"} 
[2026-08-11 18:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331584000001,"power":13189,"unknown_165":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9099945234518056960}} 
[2026-08-11 18:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":152766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:02:14] local.INFO: GPS data processed {"connection_id":152766,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:02:14] local.INFO: Acknowledgment sent {"connection_id":152766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:02:14] local.INFO: TCP Data received {"connection_id":152766,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ceda60012d81c30005d4c208000700b425..."} 
[2026-08-11 18:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ceda60012d81c30005d4c208000700b425..."} 
[2026-08-11 18:02:14] local.INFO: Processing buffer {"connection_id":152766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ceda60012d81c30005d4c208000700b425..."} 
[2026-08-11 18:02:14] local.INFO: Packet analysis {"connection_id":152766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ce"} 
[2026-08-11 18:02:14] local.INFO: Extracted packet for processing {"connection_id":152766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ce"} 
[2026-08-11 18:02:14] local.INFO: GPS Element Parsed {"raw_longitude":763478784,"raw_latitude":97829384,"longitude_deg":76.3478784,"latitude_deg":9.7829384,"altitude":7,"angle":180,"satellites":37,"speed":33,"hex_longitude":"2d81c300","hex_latitude":"05d4c208","is_valid_coordinates":true} 
[2026-08-11 18:02: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-08-11 18:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331586048001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117764532922744832,"note":"Value kept but may cause issues"} 
[2026-08-11 18:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097834172195207168,"note":"Value kept but may cause issues"} 
[2026-08-11 18:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786451516000,"timestamp_ms":1786451516000,"timestamp_seconds":1786451516,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ceda60"} 
[2026-08-11 18:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:02:14] 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-08-11 18:02: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 18:02:14] 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-08-11 18:02: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-08-11 18:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331586048001,"66":13243,"165":206,"85":15104,"24":33,"16":117764532922744832,"45":-9097834172195207168},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-11 18:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331586048001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:02:14] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 18:02:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117764532922744832,"km_value":117764532922744.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097834172195207168,"description":"Unknown IO ID 45"} 
[2026-08-11 18:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331586048001,"power":13243,"unknown_165":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9097834172195207168}} 
[2026-08-11 18:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":152766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:02:14] local.INFO: GPS data processed {"connection_id":152766,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:02:14] local.INFO: Acknowledgment sent {"connection_id":152766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:02:19] local.INFO: TCP Data received {"connection_id":152767,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:02:19] local.INFO: Processing buffer {"connection_id":152767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:02:19] local.INFO: IMEI packet received {"connection_id":152767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":152767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:02:24] local.INFO: TCP Data received {"connection_id":152767,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:02:24] local.INFO: Processing buffer {"connection_id":152767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:02:24] local.INFO: IMEI packet received {"connection_id":152767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":152767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:02:25] local.INFO: TCP Data received {"connection_id":152767,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ccafb0012d80d4c005a51848000c011129..."} 
[2026-08-11 18:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ccafb0012d80d4c005a51848000c011129..."} 
[2026-08-11 18:02:25] local.INFO: Processing buffer {"connection_id":152767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ccafb0012d80d4c005a51848000c011129..."} 
[2026-08-11 18:02:25] local.INFO: Packet analysis {"connection_id":152767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cc"} 
[2026-08-11 18:02:25] local.INFO: Extracted packet for processing {"connection_id":152767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cc"} 
[2026-08-11 18:02:25] local.INFO: GPS Element Parsed {"raw_longitude":763417792,"raw_latitude":94705736,"longitude_deg":76.3417792,"latitude_deg":9.4705736,"altitude":12,"angle":273,"satellites":41,"speed":27,"hex_longitude":"2d80d4c0","hex_latitude":"05a51848","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331547392001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377923604123222016,"note":"Value kept but may cause issues"} 
[2026-08-11 18:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153003268432699392,"note":"Value kept but may cause issues"} 
[2026-08-11 18:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786451374000,"timestamp_ms":1786451374000,"timestamp_seconds":1786451374,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ccafb0"} 
[2026-08-11 18:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 18:02:25] 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-08-11 18: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-08-11 18:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:02:25] 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-08-11 18:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331547392001,"66":27908,"52":206,"85":14336,"24":27,"16":377923604123222016,"45":-9153003268432699392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-08-11 18:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331547392001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:02:25] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-11 18:02:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377923604123222016,"km_value":377923604123222.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153003268432699392,"description":"Unknown IO ID 45"} 
[2026-08-11 18:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331547392001,"power":27908,"unknown_52":206,"unknown_85":14336,"ignition":27,"odometer":null,"unknown_45":-9153003268432699392}} 
[2026-08-11 18:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":152767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:02:25] local.INFO: GPS data processed {"connection_id":152767,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:02:25] local.INFO: Acknowledgment sent {"connection_id":152767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:02:45] local.INFO: TCP Data received {"connection_id":152766,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cf7a88012d819f0005d43c48000500a525..."} 
[2026-08-11 18:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cf7a88012d819f0005d43c48000500a525..."} 
[2026-08-11 18:02:45] local.INFO: Processing buffer {"connection_id":152766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cf7a88012d819f0005d43c48000500a525..."} 
[2026-08-11 18:02:45] local.INFO: Packet analysis {"connection_id":152766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:02:45] local.INFO: Extracted packet for processing {"connection_id":152766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:02:45] local.INFO: GPS Element Parsed {"raw_longitude":763469568,"raw_latitude":97795144,"longitude_deg":76.3469568,"latitude_deg":9.7795144,"altitude":5,"angle":165,"satellites":37,"speed":40,"hex_longitude":"2d819f00","hex_latitude":"05d43c48","is_valid_coordinates":true} 
[2026-08-11 18:02: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-08-11 18:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331597056001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117766547262406656,"note":"Value kept but may cause issues"} 
[2026-08-11 18:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107474690156890112,"note":"Value kept but may cause issues"} 
[2026-08-11 18:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786451557000,"timestamp_ms":1786451557000,"timestamp_seconds":1786451557,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cf7a88"} 
[2026-08-11 18:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:02:45] 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-08-11 18:02: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 18:02:45] 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-08-11 18:02: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-08-11 18:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331597056001,"66":13222,"165":206,"85":15104,"24":40,"16":117766547262406656,"45":-9107474690156890112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-11 18:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331597056001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:02:45] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 18:02:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117766547262406656,"km_value":117766547262406.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107474690156890112,"description":"Unknown IO ID 45"} 
[2026-08-11 18:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331597056001,"power":13222,"unknown_165":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9107474690156890112}} 
[2026-08-11 18:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":152766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:02:45] local.INFO: GPS data processed {"connection_id":152766,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:02:45] local.INFO: Acknowledgment sent {"connection_id":152766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:02:56] local.INFO: TCP Data received {"connection_id":152767,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cce278012d80b10005a51920000c010d28..."} 
[2026-08-11 18:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cce278012d80b10005a51920000c010d28..."} 
[2026-08-11 18:02:56] local.INFO: Processing buffer {"connection_id":152767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cce278012d80b10005a51920000c010d28..."} 
[2026-08-11 18:02:56] local.INFO: Packet analysis {"connection_id":152767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cc"} 
[2026-08-11 18:02:56] local.INFO: Extracted packet for processing {"connection_id":152767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cc"} 
[2026-08-11 18:02:56] local.INFO: GPS Element Parsed {"raw_longitude":763408640,"raw_latitude":94705952,"longitude_deg":76.340864,"latitude_deg":9.4705952,"altitude":12,"angle":269,"satellites":40,"speed":29,"hex_longitude":"2d80b100","hex_latitude":"05a51920","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331551744001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377924042209886208,"note":"Value kept but may cause issues"} 
[2026-08-11 18:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9163488211314915328,"note":"Value kept but may cause issues"} 
[2026-08-11 18:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786451387000,"timestamp_ms":1786451387000,"timestamp_seconds":1786451387,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cce278"} 
[2026-08-11 18:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 18:02:56] 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-08-11 18: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-08-11 18:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:02:56] 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-08-11 18:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331551744001,"66":27767,"52":206,"85":14336,"24":29,"16":377924042209886208,"45":-9163488211314915328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-08-11 18:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331551744001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:02:56] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-11 18:02:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377924042209886208,"km_value":377924042209886.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9163488211314915328,"description":"Unknown IO ID 45"} 
[2026-08-11 18:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331551744001,"power":27767,"unknown_52":206,"unknown_85":14336,"ignition":29,"odometer":null,"unknown_45":-9163488211314915328}} 
[2026-08-11 18:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":152767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:02:56] local.INFO: GPS data processed {"connection_id":152767,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:02:56] local.INFO: Acknowledgment sent {"connection_id":152767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:03:08] local.INFO: TCP Data received {"connection_id":152381,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:03:08] local.INFO: Processing buffer {"connection_id":152381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:03:08] local.INFO: IMEI packet received {"connection_id":152381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":152381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:03:13] local.INFO: TCP Data received {"connection_id":152381,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:03:13] local.INFO: Processing buffer {"connection_id":152381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:03:13] local.INFO: IMEI packet received {"connection_id":152381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":152381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:03:14] local.INFO: TCP Data received {"connection_id":152381,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cf8258012d81a14005d435180005009925..."} 
[2026-08-11 18:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cf8258012d81a14005d435180005009925..."} 
[2026-08-11 18:03:14] local.INFO: Processing buffer {"connection_id":152381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cf8258012d81a14005d435180005009925..."} 
[2026-08-11 18:03:14] local.INFO: Packet analysis {"connection_id":152381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:03:14] local.INFO: Extracted packet for processing {"connection_id":152381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:03:14] local.INFO: GPS Element Parsed {"raw_longitude":763470144,"raw_latitude":97793304,"longitude_deg":76.3470144,"latitude_deg":9.7793304,"altitude":5,"angle":153,"satellites":37,"speed":38,"hex_longitude":"2d81a140","hex_latitude":"05d43518","is_valid_coordinates":true} 
[2026-08-11 18:03: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-08-11 18:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331598592001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117766641751687168,"note":"Value kept but may cause issues"} 
[2026-08-11 18:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106559896484296704,"note":"Value kept but may cause issues"} 
[2026-08-11 18:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786451559000,"timestamp_ms":1786451559000,"timestamp_seconds":1786451559,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cf8258"} 
[2026-08-11 18:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:03:14] 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-08-11 18:03: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 18:03:14] 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-08-11 18:03: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-08-11 18:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331598592001,"66":12776,"165":206,"85":15104,"24":38,"16":117766641751687168,"45":-9106559896484296704},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-11 18:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331598592001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:03:14] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 18:03:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117766641751687168,"km_value":117766641751687.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106559896484296704,"description":"Unknown IO ID 45"} 
[2026-08-11 18:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331598592001,"power":12776,"unknown_165":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9106559896484296704}} 
[2026-08-11 18:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":152381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:03:14] local.INFO: GPS data processed {"connection_id":152381,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:03:14] local.INFO: Acknowledgment sent {"connection_id":152381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:03:24] local.INFO: TCP Data received {"connection_id":153706,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:03:24] local.INFO: Processing buffer {"connection_id":153706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:03:24] local.INFO: IMEI packet received {"connection_id":153706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":153706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:03:29] local.INFO: TCP Data received {"connection_id":153706,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:03:29] local.INFO: Processing buffer {"connection_id":153706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:03:29] local.INFO: IMEI packet received {"connection_id":153706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":153706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:03:29] local.INFO: TCP Data received {"connection_id":153706,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cf3c08012d8057c005a4a0e80006012b28..."} 
[2026-08-11 18:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cf3c08012d8057c005a4a0e80006012b28..."} 
[2026-08-11 18:03:29] local.INFO: Processing buffer {"connection_id":153706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cf3c08012d8057c005a4a0e80006012b28..."} 
[2026-08-11 18:03:29] local.INFO: Packet analysis {"connection_id":153706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:03:29] local.INFO: Extracted packet for processing {"connection_id":153706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:03:29] local.INFO: GPS Element Parsed {"raw_longitude":763385792,"raw_latitude":94675176,"longitude_deg":76.3385792,"latitude_deg":9.4675176,"altitude":6,"angle":299,"satellites":40,"speed":18,"hex_longitude":"2d8057c0","hex_latitude":"05a4a0e8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331594240001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377926735154380800,"note":"Value kept but may cause issues"} 
[2026-08-11 18:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198180002202363904,"note":"Value kept but may cause issues"} 
[2026-08-11 18:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786451541000,"timestamp_ms":1786451541000,"timestamp_seconds":1786451541,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cf3c08"} 
[2026-08-11 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-08-11 18:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 18:03:29] 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-08-11 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-08-11 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-08-11 18:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:03:29] 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-08-11 18:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331594240001,"66":27821,"53":206,"85":14336,"24":18,"16":377926735154380800,"45":-9198180002202363904},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-11 18:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331594240001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:03:29] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 18:03:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377926735154380800,"km_value":377926735154380.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198180002202363904,"description":"Unknown IO ID 45"} 
[2026-08-11 18:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331594240001,"power":27821,"unknown_53":206,"unknown_85":14336,"ignition":18,"odometer":null,"unknown_45":-9198180002202363904}} 
[2026-08-11 18:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":153706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:03:29] local.INFO: GPS data processed {"connection_id":153706,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:03:29] local.INFO: Acknowledgment sent {"connection_id":153706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:03:30] local.INFO: TCP Data received {"connection_id":153706,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cf3ff0012d80568005a4a2380005014028..."} 
[2026-08-11 18:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cf3ff0012d80568005a4a2380005014028..."} 
[2026-08-11 18:03:30] local.INFO: Processing buffer {"connection_id":153706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cf3ff0012d80568005a4a2380005014028..."} 
[2026-08-11 18:03:30] local.INFO: Packet analysis {"connection_id":153706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:03:30] local.INFO: Extracted packet for processing {"connection_id":153706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:03:30] local.INFO: GPS Element Parsed {"raw_longitude":763385472,"raw_latitude":94675512,"longitude_deg":76.3385472,"latitude_deg":9.4675512,"altitude":5,"angle":320,"satellites":40,"speed":19,"hex_longitude":"2d805680","hex_latitude":"05a4a238","is_valid_coordinates":true} 
[2026-08-11 18:03: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-08-11 18:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331594496001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377926756629217280,"note":"Value kept but may cause issues"} 
[2026-08-11 18:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198672583411570688,"note":"Value kept but may cause issues"} 
[2026-08-11 18:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786451542000,"timestamp_ms":1786451542000,"timestamp_seconds":1786451542,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cf3ff0"} 
[2026-08-11 18:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18:03: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 18:03:30] 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-08-11 18:03: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-08-11 18:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:03:30] 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-08-11 18:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331594496001,"66":27821,"53":206,"85":14336,"24":19,"16":377926756629217280,"45":-9198672583411570688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-11 18:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331594496001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:03:30] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 18:03:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377926756629217280,"km_value":377926756629217.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198672583411570688,"description":"Unknown IO ID 45"} 
[2026-08-11 18:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331594496001,"power":27821,"unknown_53":206,"unknown_85":14336,"ignition":19,"odometer":null,"unknown_45":-9198672583411570688}} 
[2026-08-11 18:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":153706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:03:30] local.INFO: GPS data processed {"connection_id":153706,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:03:30] local.INFO: Acknowledgment sent {"connection_id":153706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:03:45] local.INFO: TCP Data received {"connection_id":152381,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d064e8012d81c10005d37a380006008f24..."} 
[2026-08-11 18:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d064e8012d81c10005d37a380006008f24..."} 
[2026-08-11 18:03:45] local.INFO: Processing buffer {"connection_id":152381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d064e8012d81c10005d37a380006008f24..."} 
[2026-08-11 18:03:45] local.INFO: Packet analysis {"connection_id":152381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:03:45] local.INFO: Extracted packet for processing {"connection_id":152381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:03:45] local.INFO: GPS Element Parsed {"raw_longitude":763478272,"raw_latitude":97745464,"longitude_deg":76.3478272,"latitude_deg":9.7745464,"altitude":6,"angle":143,"satellites":36,"speed":26,"hex_longitude":"2d81c100","hex_latitude":"05d37a38","is_valid_coordinates":true} 
[2026-08-11 18:03: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-08-11 18:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331613696001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117769128537751552,"note":"Value kept but may cause issues"} 
[2026-08-11 18:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097552697242157056,"note":"Value kept but may cause issues"} 
[2026-08-11 18:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786451617000,"timestamp_ms":1786451617000,"timestamp_seconds":1786451617,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d064e8"} 
[2026-08-11 18:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:03:45] 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-08-11 18:03: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 18:03:45] 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-08-11 18:03: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-08-11 18:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331613696001,"66":13363,"166":206,"85":15104,"24":26,"16":117769128537751552,"45":-9097552697242157056},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-11 18:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331613696001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:03:45] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-11 18:03:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117769128537751552,"km_value":117769128537751.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097552697242157056,"description":"Unknown IO ID 45"} 
[2026-08-11 18:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331613696001,"power":13363,"unknown_166":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9097552697242157056}} 
[2026-08-11 18:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":152381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:03:45] local.INFO: GPS data processed {"connection_id":152381,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:03:45] local.INFO: Acknowledgment sent {"connection_id":152381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:04:01] local.INFO: TCP Data received {"connection_id":153706,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cf43d8012d80554005a4a3e80006014c27..."} 
[2026-08-11 18:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cf43d8012d80554005a4a3e80006014c27..."} 
[2026-08-11 18:04:01] local.INFO: Processing buffer {"connection_id":153706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cf43d8012d80554005a4a3e80006014c27..."} 
[2026-08-11 18:04:01] local.INFO: Packet analysis {"connection_id":153706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:04:01] local.INFO: Extracted packet for processing {"connection_id":153706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763385152,"raw_latitude":94675944,"longitude_deg":76.3385152,"latitude_deg":9.4675944,"altitude":6,"angle":332,"satellites":39,"speed":19,"hex_longitude":"2d805540","hex_latitude":"05a4a3e8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331594752001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377926782399021056,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9199024427132372992,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786451543000,"timestamp_ms":1786451543000,"timestamp_seconds":1786451543,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cf43d8"} 
[2026-08-11 18:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 18:04:01] 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-08-11 18: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-08-11 18:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:04: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-08-11 18:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331594752001,"66":27745,"53":206,"85":14336,"24":19,"16":377926782399021056,"45":-9199024427132372992},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-11 18:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331594752001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:04:01] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 18:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377926782399021056,"km_value":377926782399021.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9199024427132372992,"description":"Unknown IO ID 45"} 
[2026-08-11 18:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331594752001,"power":27745,"unknown_53":206,"unknown_85":14336,"ignition":19,"odometer":null,"unknown_45":-9199024427132372992}} 
[2026-08-11 18:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":153706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:04:01] local.INFO: GPS data processed {"connection_id":153706,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:04:01] local.INFO: Acknowledgment sent {"connection_id":153706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:04:08] local.INFO: TCP Data received {"connection_id":153707,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:04:08] local.INFO: Processing buffer {"connection_id":153707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:04:08] local.INFO: IMEI packet received {"connection_id":153707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":153707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:04:12] local.INFO: TCP Data received {"connection_id":153707,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:04:12] local.INFO: Processing buffer {"connection_id":153707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:04:12] local.INFO: IMEI packet received {"connection_id":153707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":153707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:04:13] local.INFO: TCP Data received {"connection_id":153707,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:04:13] local.INFO: Processing buffer {"connection_id":153707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:04:13] local.INFO: IMEI packet received {"connection_id":153707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":153707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:04:14] local.INFO: TCP Data received {"connection_id":153707,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d068d0012d81c20005d377c8000600a225..."} 
[2026-08-11 18:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d068d0012d81c20005d377c8000600a225..."} 
[2026-08-11 18:04:14] local.INFO: Processing buffer {"connection_id":153707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d068d0012d81c20005d377c8000600a225..."} 
[2026-08-11 18:04:14] local.INFO: Packet analysis {"connection_id":153707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:04:14] local.INFO: Extracted packet for processing {"connection_id":153707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:04:14] local.INFO: GPS Element Parsed {"raw_longitude":763478528,"raw_latitude":97744840,"longitude_deg":76.3478528,"latitude_deg":9.774484,"altitude":6,"angle":162,"satellites":37,"speed":27,"hex_longitude":"2d81c200","hex_latitude":"05d377c8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331613952001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117769162897489920,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096989747288852480,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786451618000,"timestamp_ms":1786451618000,"timestamp_seconds":1786451618,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d068d0"} 
[2026-08-11 18:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:04:14] 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-08-11 18: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 18:04:14] 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-08-11 18: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-08-11 18:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331613952001,"66":12330,"166":206,"85":15104,"24":27,"16":117769162897489920,"45":-9096989747288852480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-11 18:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331613952001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:04:14] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-11 18:04:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117769162897489920,"km_value":117769162897489.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096989747288852480,"description":"Unknown IO ID 45"} 
[2026-08-11 18:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331613952001,"power":12330,"unknown_166":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9096989747288852480}} 
[2026-08-11 18:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":153707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:04:14] local.INFO: GPS data processed {"connection_id":153707,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:04:14] local.INFO: Acknowledgment sent {"connection_id":153707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:04:15] local.INFO: TCP Data received {"connection_id":155085,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:04:15] local.INFO: Processing buffer {"connection_id":155085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:04:15] local.INFO: IMEI packet received {"connection_id":155085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":155085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:04:16] local.INFO: TCP Data received {"connection_id":155085,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cef5b8012d18aa40072172500046013124..."} 
[2026-08-11 18:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cef5b8012d18aa40072172500046013124..."} 
[2026-08-11 18:04:16] local.INFO: Processing buffer {"connection_id":155085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cef5b8012d18aa40072172500046013124..."} 
[2026-08-11 18:04:16] local.INFO: Packet analysis {"connection_id":155085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ce"} 
[2026-08-11 18:04:16] local.INFO: Extracted packet for processing {"connection_id":155085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ce"} 
[2026-08-11 18:04:16] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119632464,"longitude_deg":75.6591168,"latitude_deg":11.9632464,"altitude":70,"angle":305,"satellites":36,"speed":27,"hex_longitude":"2d18aa40","hex_latitude":"07217250","is_valid_coordinates":true} 
[2026-08-11 18:04: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-08-11 18:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331589632001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11769430161752064,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018656768,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:16] 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-08-11 18:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786451523000,"timestamp_ms":1786451523000,"timestamp_seconds":1786451523,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cef5b8"} 
[2026-08-11 18:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:04: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-08-11 18:04: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":82,"data_length":795,"current_offset":136} 
[2026-08-11 18:04:16] 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-08-11 18:04: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-08-11 18:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331589632001,"66":13820,"106":206,"83":41984,"24":27,"16":11769430161752064,"45":1777936721018656768},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331589632001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:04:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:04:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11769430161752064,"km_value":11769430161752.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018656768,"description":"Unknown IO ID 45"} 
[2026-08-11 18:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331589632001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1777936721018656768}} 
[2026-08-11 18:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":155085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:04:16] local.INFO: GPS data processed {"connection_id":155085,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:04:16] local.INFO: Acknowledgment sent {"connection_id":155085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:04:19] local.INFO: TCP Data received {"connection_id":153708,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:04:19] local.INFO: Processing buffer {"connection_id":153708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:04:19] local.INFO: IMEI packet received {"connection_id":153708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":153708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:04:22] local.INFO: TCP Data received {"connection_id":153708,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:04:22] local.INFO: Processing buffer {"connection_id":153708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:04:22] local.INFO: IMEI packet received {"connection_id":153708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":153708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:04:22] local.INFO: TCP Data received {"connection_id":153708,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cf8640012d80438005a4c4000008014c25..."} 
[2026-08-11 18:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cf8640012d80438005a4c4000008014c25..."} 
[2026-08-11 18:04:22] local.INFO: Processing buffer {"connection_id":153708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cf8640012d80438005a4c4000008014c25..."} 
[2026-08-11 18:04:22] local.INFO: Packet analysis {"connection_id":153708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:04:22] local.INFO: Extracted packet for processing {"connection_id":153708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:04:22] local.INFO: GPS Element Parsed {"raw_longitude":763380608,"raw_latitude":94684160,"longitude_deg":76.3380608,"latitude_deg":9.468416,"altitude":8,"angle":332,"satellites":37,"speed":24,"hex_longitude":"2d804380","hex_latitude":"05a4c400","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331595008001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377927237665554432,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9199376270853150720,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786451560000,"timestamp_ms":1786451560000,"timestamp_seconds":1786451560,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cf8640"} 
[2026-08-11 18:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 18:04:22] 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-08-11 18: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-08-11 18:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":153708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":153708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":153708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:04:22] 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-08-11 18:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331595008001,"66":27876,"53":206,"85":14336,"24":24,"16":377927237665554432,"45":-9199376270853150720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-11 18:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331595008001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:04:23] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 18:04:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377927237665554432,"km_value":377927237665554.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9199376270853150720,"description":"Unknown IO ID 45"} 
[2026-08-11 18:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331595008001,"power":27876,"unknown_53":206,"unknown_85":14336,"ignition":24,"odometer":null,"unknown_45":-9199376270853150720}} 
[2026-08-11 18:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":153708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:04:23] local.INFO: GPS data processed {"connection_id":153708,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:04:23] local.INFO: Acknowledgment sent {"connection_id":153708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:04:24] local.INFO: TCP Data received {"connection_id":153708,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cfb908012d80310005a4e3900007014428..."} 
[2026-08-11 18:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cfb908012d80310005a4e3900007014428..."} 
[2026-08-11 18:04:24] local.INFO: Processing buffer {"connection_id":153708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cfb908012d80310005a4e3900007014428..."} 
[2026-08-11 18:04:24] local.INFO: Packet analysis {"connection_id":153708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:04:24] local.INFO: Extracted packet for processing {"connection_id":153708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:04:24] local.INFO: GPS Element Parsed {"raw_longitude":763375872,"raw_latitude":94692240,"longitude_deg":76.3375872,"latitude_deg":9.469224,"altitude":7,"angle":324,"satellites":40,"speed":27,"hex_longitude":"2d803100","hex_latitude":"05a4e390","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331599360001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377927688637120512,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204372451687661568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786451573000,"timestamp_ms":1786451573000,"timestamp_seconds":1786451573,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cfb908"} 
[2026-08-11 18:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 18:04:24] 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-08-11 18: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-08-11 18:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:04:24] 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-08-11 18:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331599360001,"66":27908,"53":206,"85":14336,"24":27,"16":377927688637120512,"45":-9204372451687661568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-11 18:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331599360001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:04:24] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-11 18:04:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377927688637120512,"km_value":377927688637120.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204372451687661568,"description":"Unknown IO ID 45"} 
[2026-08-11 18:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331599360001,"power":27908,"unknown_53":206,"unknown_85":14336,"ignition":27,"odometer":null,"unknown_45":-9204372451687661568}} 
[2026-08-11 18:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":153708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:04:24] local.INFO: GPS data processed {"connection_id":153708,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:04:24] local.INFO: Acknowledgment sent {"connection_id":153708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:04:47] local.INFO: TCP Data received {"connection_id":155085,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cefd88012d18a540072174c80046012224..."} 
[2026-08-11 18:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cefd88012d18a540072174c80046012224..."} 
[2026-08-11 18:04:47] local.INFO: Processing buffer {"connection_id":155085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cefd88012d18a540072174c80046012224..."} 
[2026-08-11 18:04:47] local.INFO: Packet analysis {"connection_id":155085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ce"} 
[2026-08-11 18:04:47] local.INFO: Extracted packet for processing {"connection_id":155085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ce"} 
[2026-08-11 18:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756589888,"raw_latitude":119633096,"longitude_deg":75.6589888,"latitude_deg":11.9633096,"altitude":70,"angle":290,"satellites":36,"speed":30,"hex_longitude":"2d18a540","hex_latitude":"072174c8","is_valid_coordinates":true} 
[2026-08-11 18:04: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-08-11 18:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331589888001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11769498881228800,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402321170432,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:47] 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-08-11 18:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786451525000,"timestamp_ms":1786451525000,"timestamp_seconds":1786451525,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cefd88"} 
[2026-08-11 18:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:04:47] 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-08-11 18:04: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-08-11 18:04: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-08-11 18:04: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-08-11 18:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331589888001,"66":13798,"106":206,"83":41984,"24":30,"16":11769498881228800,"45":1777303402321170432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331589888001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:04:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11769498881228800,"km_value":11769498881228.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402321170432,"description":"Unknown IO ID 45"} 
[2026-08-11 18:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331589888001,"power":13798,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1777303402321170432}} 
[2026-08-11 18:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":155085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:04:47] local.INFO: GPS data processed {"connection_id":155085,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:04:47] local.INFO: Acknowledgment sent {"connection_id":155085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:04:48] local.INFO: TCP Data received {"connection_id":153707,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d070a0012d81c2c005d37190000700b125..."} 
[2026-08-11 18:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d070a0012d81c2c005d37190000700b125..."} 
[2026-08-11 18:04:48] local.INFO: Processing buffer {"connection_id":153707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d070a0012d81c2c005d37190000700b125..."} 
[2026-08-11 18:04:48] local.INFO: Packet analysis {"connection_id":153707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:04:48] local.INFO: Extracted packet for processing {"connection_id":153707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:04:48] local.INFO: GPS Element Parsed {"raw_longitude":763478720,"raw_latitude":97743248,"longitude_deg":76.347872,"latitude_deg":9.7743248,"altitude":7,"angle":177,"satellites":37,"speed":35,"hex_longitude":"2d81c2c0","hex_latitude":"05d37190","is_valid_coordinates":true} 
[2026-08-11 18:04: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-08-11 18:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331614208001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117769240206901248,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096708272312301568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786451620000,"timestamp_ms":1786451620000,"timestamp_seconds":1786451620,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d070a0"} 
[2026-08-11 18:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:04:48] 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-08-11 18:04: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-11 18:04:48] 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-08-11 18:04: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-08-11 18:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331614208001,"66":13298,"166":206,"85":15104,"24":35,"16":117769240206901248,"45":-9096708272312301568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-11 18:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331614208001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:04:48] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-11 18:04:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117769240206901248,"km_value":117769240206901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096708272312301568,"description":"Unknown IO ID 45"} 
[2026-08-11 18:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331614208001,"power":13298,"unknown_166":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9096708272312301568}} 
[2026-08-11 18:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":153707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:04:48] local.INFO: GPS data processed {"connection_id":153707,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:04:48] local.INFO: Acknowledgment sent {"connection_id":153707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:04:55] local.INFO: TCP Data received {"connection_id":153708,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cfe7e8012d801b0005a4ff400008013e28..."} 
[2026-08-11 18:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cfe7e8012d801b0005a4ff400008013e28..."} 
[2026-08-11 18:04:55] local.INFO: Processing buffer {"connection_id":153708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cfe7e8012d801b0005a4ff400008013e28..."} 
[2026-08-11 18:04:55] local.INFO: Packet analysis {"connection_id":153708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:04:55] local.INFO: Extracted packet for processing {"connection_id":153708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763370240,"raw_latitude":94699328,"longitude_deg":76.337024,"latitude_deg":9.4699328,"altitude":8,"angle":318,"satellites":40,"speed":33,"hex_longitude":"2d801b00","hex_latitude":"05a4ff40","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331602688001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377928126723784704,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9209579738754740224,"note":"Value kept but may cause issues"} 
[2026-08-11 18:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786451585000,"timestamp_ms":1786451585000,"timestamp_seconds":1786451585,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cfe7e8"} 
[2026-08-11 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-08-11 18:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 18:04: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-08-11 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-08-11 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-08-11 18:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:04:55] 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-08-11 18:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331602688001,"66":27843,"54":206,"85":14336,"24":33,"16":377928126723784704,"45":-9209579738754740224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-08-11 18:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331602688001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:04:55] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-11 18:04:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377928126723784704,"km_value":377928126723784.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9209579738754740224,"description":"Unknown IO ID 45"} 
[2026-08-11 18:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331602688001,"power":27843,"unknown_54":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":-9209579738754740224}} 
[2026-08-11 18:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":153708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:04:55] local.INFO: GPS data processed {"connection_id":153708,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:04:55] local.INFO: Acknowledgment sent {"connection_id":153708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:05:09] local.INFO: TCP Data received {"connection_id":152768,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152768,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:05:09] local.INFO: Processing buffer {"connection_id":152768,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:05:09] local.INFO: IMEI packet received {"connection_id":152768,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":152768,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:05:13] local.INFO: TCP Data received {"connection_id":152768,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152768,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:05:13] local.INFO: Processing buffer {"connection_id":152768,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:05:13] local.INFO: IMEI packet received {"connection_id":152768,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":152768,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:05:15] local.INFO: TCP Data received {"connection_id":152382,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:05:15] local.INFO: Processing buffer {"connection_id":152382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:05:15] local.INFO: IMEI packet received {"connection_id":152382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":152382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:05:17] local.INFO: TCP Data received {"connection_id":152383,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:05:17] local.INFO: Processing buffer {"connection_id":152383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:05:17] local.INFO: IMEI packet received {"connection_id":152383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":152383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:05:18] local.INFO: TCP Data received {"connection_id":152768,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152768,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:05:18] local.INFO: Processing buffer {"connection_id":152768,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:05:18] local.INFO: IMEI packet received {"connection_id":152768,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":152768,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:05:19] local.INFO: TCP Data received {"connection_id":152768,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d19980012d8277c005d34a280006004525..."} 
[2026-08-11 18:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d19980012d8277c005d34a280006004525..."} 
[2026-08-11 18:05:19] local.INFO: Processing buffer {"connection_id":152768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d19980012d8277c005d34a280006004525..."} 
[2026-08-11 18:05:19] local.INFO: Packet analysis {"connection_id":152768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d1"} 
[2026-08-11 18:05:19] local.INFO: Extracted packet for processing {"connection_id":152768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d1"} 
[2026-08-11 18:05:19] local.INFO: GPS Element Parsed {"raw_longitude":763525056,"raw_latitude":97733160,"longitude_deg":76.3525056,"latitude_deg":9.773316,"altitude":6,"angle":69,"satellites":37,"speed":22,"hex_longitude":"2d8277c0","hex_latitude":"05d34a28","is_valid_coordinates":true} 
[2026-08-11 18:05: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-08-11 18:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331631872001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117771950331265024,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053220388413829120,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786451696000,"timestamp_ms":1786451696000,"timestamp_seconds":1786451696,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d19980"} 
[2026-08-11 18:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:05:19] 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-08-11 18:05: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":242,"data_length":795,"current_offset":136} 
[2026-08-11 18:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18:05: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-08-11 18:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331631872001,"66":13222,"68":206,"85":15104,"24":22,"16":117771950331265024,"45":-9053220388413829120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-11 18:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331631872001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:05:19] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-11 18:05:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117771950331265024,"km_value":117771950331265.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053220388413829120,"description":"Unknown IO ID 45"} 
[2026-08-11 18:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331631872001,"power":13222,"unknown_68":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9053220388413829120}} 
[2026-08-11 18:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":152768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:05:19] local.INFO: GPS data processed {"connection_id":152768,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:05:19] local.INFO: Acknowledgment sent {"connection_id":152768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:05:20] local.INFO: TCP Data received {"connection_id":152382,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:05:20] local.INFO: Processing buffer {"connection_id":152382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:05:20] local.INFO: IMEI packet received {"connection_id":152382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":152382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:05:21] local.INFO: TCP Data received {"connection_id":152382,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cf2c68012d188400072180b00046011924..."} 
[2026-08-11 18:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cf2c68012d188400072180b00046011924..."} 
[2026-08-11 18:05:21] local.INFO: Processing buffer {"connection_id":152382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cf2c68012d188400072180b00046011924..."} 
[2026-08-11 18:05:21] local.INFO: Packet analysis {"connection_id":152382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:05:21] local.INFO: Extracted packet for processing {"connection_id":152382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756581376,"raw_latitude":119636144,"longitude_deg":75.6581376,"latitude_deg":11.9636144,"altitude":70,"angle":281,"satellites":36,"speed":18,"hex_longitude":"2d188400","hex_latitude":"072180b0","is_valid_coordinates":true} 
[2026-08-11 18:05: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-08-11 18:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331590400001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11769932672925696,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775896027437778944,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:21] 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-08-11 18:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786451537000,"timestamp_ms":1786451537000,"timestamp_seconds":1786451537,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cf2c68"} 
[2026-08-11 18:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:05:21] 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-08-11 18:05: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":230,"data_length":795,"current_offset":136} 
[2026-08-11 18:05:21] 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-08-11 18:05: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-08-11 18:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331590400001,"66":14048,"106":206,"83":41984,"24":18,"16":11769932672925696,"45":1775896027437778944},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331590400001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:05:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11769932672925696,"km_value":11769932672925.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775896027437778944,"description":"Unknown IO ID 45"} 
[2026-08-11 18:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331590400001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1775896027437778944}} 
[2026-08-11 18:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":152382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:05:21] local.INFO: GPS data processed {"connection_id":152382,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:05:21] local.INFO: Acknowledgment sent {"connection_id":152382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:05:21] local.INFO: TCP Data received {"connection_id":152383,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:05:21] local.INFO: Processing buffer {"connection_id":152383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:05:21] local.INFO: IMEI packet received {"connection_id":152383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":152383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:05:24] local.INFO: TCP Data received {"connection_id":152768,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d1a920012d827e8005d34bf80007005425..."} 
[2026-08-11 18:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d1a920012d827e8005d34bf80007005425..."} 
[2026-08-11 18:05:24] local.INFO: Processing buffer {"connection_id":152768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d1a920012d827e8005d34bf80007005425..."} 
[2026-08-11 18:05:24] local.INFO: Packet analysis {"connection_id":152768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d1"} 
[2026-08-11 18:05:24] local.INFO: Extracted packet for processing {"connection_id":152768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d1"} 
[2026-08-11 18:05:24] local.INFO: GPS Element Parsed {"raw_longitude":763526784,"raw_latitude":97733624,"longitude_deg":76.3526784,"latitude_deg":9.7733624,"altitude":7,"angle":84,"satellites":37,"speed":11,"hex_longitude":"2d827e80","hex_latitude":"05d34bf8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331634176001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117772031935643648,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9045550195298129920,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786451700000,"timestamp_ms":1786451700000,"timestamp_seconds":1786451700,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d1a920"} 
[2026-08-11 18:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18: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-08-11 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 18:05: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-08-11 18: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-08-11 18:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331634176001,"66":13254,"68":206,"85":15104,"24":11,"16":117772031935643648,"45":-9045550195298129920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-11 18:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331634176001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:05:24] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-11 18:05:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117772031935643648,"km_value":117772031935643.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9045550195298129920,"description":"Unknown IO ID 45"} 
[2026-08-11 18:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331634176001,"power":13254,"unknown_68":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9045550195298129920}} 
[2026-08-11 18:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":152768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:05:24] local.INFO: GPS data processed {"connection_id":152768,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:05:24] local.INFO: Acknowledgment sent {"connection_id":152768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:05:24] local.INFO: TCP Data received {"connection_id":152383,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:05:24] local.INFO: Processing buffer {"connection_id":152383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:05:24] local.INFO: IMEI packet received {"connection_id":152383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":152383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:05:24] local.INFO: TCP Data received {"connection_id":152383,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d012e0012d80010005a518d80008013526..."} 
[2026-08-11 18:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d012e0012d80010005a518d80008013526..."} 
[2026-08-11 18:05:24] local.INFO: Processing buffer {"connection_id":152383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d012e0012d80010005a518d80008013526..."} 
[2026-08-11 18:05:24] local.INFO: Packet analysis {"connection_id":152383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:05:24] local.INFO: Extracted packet for processing {"connection_id":152383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:05:24] local.INFO: GPS Element Parsed {"raw_longitude":763363584,"raw_latitude":94705880,"longitude_deg":76.3363584,"latitude_deg":9.470588,"altitude":8,"angle":309,"satellites":38,"speed":33,"hex_longitude":"2d800100","hex_latitude":"05a518d8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331605760001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377928573400383488,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215772188240560128,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786451596000,"timestamp_ms":1786451596000,"timestamp_seconds":1786451596,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d012e0"} 
[2026-08-11 18:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 18:05:24] 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-08-11 18: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-08-11 18:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:05:24] 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-08-11 18:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331605760001,"66":27821,"54":206,"85":14336,"24":33,"16":377928573400383488,"45":-9215772188240560128},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-08-11 18:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331605760001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:05:24] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-11 18:05:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377928573400383488,"km_value":377928573400383.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215772188240560128,"description":"Unknown IO ID 45"} 
[2026-08-11 18:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331605760001,"power":27821,"unknown_54":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":-9215772188240560128}} 
[2026-08-11 18:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":152383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:05:24] local.INFO: GPS data processed {"connection_id":152383,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:05:24] local.INFO: Acknowledgment sent {"connection_id":152383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:05:25] local.INFO: TCP Data received {"connection_id":152382,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cf3ff0012d187980072181a00047010c24..."} 
[2026-08-11 18:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cf3ff0012d187980072181a00047010c24..."} 
[2026-08-11 18:05:25] local.INFO: Processing buffer {"connection_id":152382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cf3ff0012d187980072181a00047010c24..."} 
[2026-08-11 18:05:25] local.INFO: Packet analysis {"connection_id":152382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:05:25] local.INFO: Extracted packet for processing {"connection_id":152382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:05:25] local.INFO: GPS Element Parsed {"raw_longitude":756578688,"raw_latitude":119636384,"longitude_deg":75.6578688,"latitude_deg":11.9636384,"altitude":71,"angle":268,"satellites":36,"speed":19,"hex_longitude":"2d187980","hex_latitude":"072181a0","is_valid_coordinates":true} 
[2026-08-11 18:05: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-08-11 18:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331593472001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11770057226977280,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766536984462929920,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05: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-08-11 18:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786451542000,"timestamp_ms":1786451542000,"timestamp_seconds":1786451542,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cf3ff0"} 
[2026-08-11 18:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:05:25] 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-08-11 18:05: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-08-11 18:05: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-08-11 18:05: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-08-11 18:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331593472001,"66":14494,"106":206,"83":41984,"24":19,"16":11770057226977280,"45":1766536984462929920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331593472001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:05:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:05:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11770057226977280,"km_value":11770057226977.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766536984462929920,"description":"Unknown IO ID 45"} 
[2026-08-11 18:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331593472001,"power":14494,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1766536984462929920}} 
[2026-08-11 18:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":152382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:05:25] local.INFO: GPS data processed {"connection_id":152382,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:05:25] local.INFO: Acknowledgment sent {"connection_id":152382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:05:28] local.INFO: TCP Data received {"connection_id":152383,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d039f0012d7fe44005a52e480008013325..."} 
[2026-08-11 18:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d039f0012d7fe44005a52e480008013325..."} 
[2026-08-11 18:05:28] local.INFO: Processing buffer {"connection_id":152383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d039f0012d7fe44005a52e480008013325..."} 
[2026-08-11 18:05:28] local.INFO: Packet analysis {"connection_id":152383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:05:28] local.INFO: Extracted packet for processing {"connection_id":152383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:05:28] local.INFO: GPS Element Parsed {"raw_longitude":763356224,"raw_latitude":94711368,"longitude_deg":76.3356224,"latitude_deg":9.4711368,"altitude":8,"angle":307,"satellites":37,"speed":38,"hex_longitude":"2d7fe440","hex_latitude":"05a52e48","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331608576001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377929015782014976,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9223090537633359872,"note":"Value kept but may cause issues"} 
[2026-08-11 18:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786451606000,"timestamp_ms":1786451606000,"timestamp_seconds":1786451606,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d039f0"} 
[2026-08-11 18:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 18:05:28] 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-08-11 18: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-08-11 18:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:05:28] 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-08-11 18:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331608576001,"66":27789,"54":206,"85":14336,"24":38,"16":377929015782014976,"45":-9223090537633359872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-08-11 18:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331608576001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:05:28] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-11 18:05:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377929015782014976,"km_value":377929015782015.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9223090537633359872,"description":"Unknown IO ID 45"} 
[2026-08-11 18:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331608576001,"power":27789,"unknown_54":206,"unknown_85":14336,"ignition":38,"odometer":null,"unknown_45":-9223090537633359872}} 
[2026-08-11 18:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":152383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:05:28] local.INFO: GPS data processed {"connection_id":152383,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:05:28] local.INFO: Acknowledgment sent {"connection_id":152383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:06:06] local.INFO: TCP Data received {"connection_id":152383,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d06100012d7fc50005a544080008012d24..."} 
[2026-08-11 18:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d06100012d7fc50005a544080008012d24..."} 
[2026-08-11 18:06:06] local.INFO: Processing buffer {"connection_id":152383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d06100012d7fc50005a544080008012d24..."} 
[2026-08-11 18:06:06] local.INFO: Packet analysis {"connection_id":152383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:06:06] local.INFO: Extracted packet for processing {"connection_id":152383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763348224,"raw_latitude":94716936,"longitude_deg":76.3348224,"latitude_deg":9.4716936,"altitude":8,"angle":301,"satellites":36,"speed":38,"hex_longitude":"2d7fc500","hex_latitude":"05a54408","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331611136001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377929483933450240,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9215561130497165312,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786451616000,"timestamp_ms":1786451616000,"timestamp_seconds":1786451616,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d06100"} 
[2026-08-11 18:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":141,"data_length":795,"current_offset":136} 
[2026-08-11 18:06:06] 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-08-11 18: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-08-11 18:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:06: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-08-11 18:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331611136001,"66":27876,"54":206,"85":14336,"24":38,"16":377929483933450240,"45":9215561130497165312},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-08-11 18:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331611136001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:06:06] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-11 18:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377929483933450240,"km_value":377929483933450.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9215561130497165312,"description":"Unknown IO ID 45"} 
[2026-08-11 18:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331611136001,"power":27876,"unknown_54":206,"unknown_85":14336,"ignition":38,"odometer":null,"unknown_45":9215561130497165312}} 
[2026-08-11 18:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":152383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:06:06] local.INFO: GPS data processed {"connection_id":152383,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:06:06] local.INFO: Acknowledgment sent {"connection_id":152383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:06:08] local.INFO: TCP Data received {"connection_id":152769,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:06:08] local.INFO: Processing buffer {"connection_id":152769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:06:08] local.INFO: IMEI packet received {"connection_id":152769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":152769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:06:09] local.INFO: TCP Data received {"connection_id":155086,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:06:09] local.INFO: Processing buffer {"connection_id":155086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:06:09] local.INFO: IMEI packet received {"connection_id":155086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":155086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:06:10] local.INFO: TCP Data received {"connection_id":155086,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:06:10] local.INFO: Processing buffer {"connection_id":155086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:06:10] local.INFO: IMEI packet received {"connection_id":155086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":155086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:06:11] local.INFO: TCP Data received {"connection_id":152769,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:06:11] local.INFO: Processing buffer {"connection_id":152769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:06:11] local.INFO: IMEI packet received {"connection_id":152769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":152769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:06:12] local.INFO: TCP Data received {"connection_id":152769,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d1ad08012d827f8005d34bf00007006025..."} 
[2026-08-11 18:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d1ad08012d827f8005d34bf00007006025..."} 
[2026-08-11 18:06:12] local.INFO: Processing buffer {"connection_id":152769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d1ad08012d827f8005d34bf00007006025..."} 
[2026-08-11 18:06:12] local.INFO: Packet analysis {"connection_id":152769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d1"} 
[2026-08-11 18:06:12] local.INFO: Extracted packet for processing {"connection_id":152769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d1"} 
[2026-08-11 18:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763527040,"raw_latitude":97733616,"longitude_deg":76.352704,"latitude_deg":9.7733616,"altitude":7,"angle":96,"satellites":37,"speed":9,"hex_longitude":"2d827f80","hex_latitude":"05d34bf0","is_valid_coordinates":true} 
[2026-08-11 18:06: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-08-11 18:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331635200001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117772049115512832,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043650239205214208,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786451701000,"timestamp_ms":1786451701000,"timestamp_seconds":1786451701,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d1ad08"} 
[2026-08-11 18:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:06:12] 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-08-11 18:06: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 18:06:12] 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-08-11 18:06: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-08-11 18:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331635200001,"66":13254,"68":206,"85":15104,"24":9,"16":117772049115512832,"45":-9043650239205214208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-11 18:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331635200001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:06:12] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-11 18:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117772049115512832,"km_value":117772049115512.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043650239205214208,"description":"Unknown IO ID 45"} 
[2026-08-11 18:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331635200001,"power":13254,"unknown_68":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9043650239205214208}} 
[2026-08-11 18:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":152769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:06:12] local.INFO: GPS data processed {"connection_id":152769,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:06:12] local.INFO: Acknowledgment sent {"connection_id":152769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:06:15] local.INFO: TCP Data received {"connection_id":155086,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:06:15] local.INFO: Processing buffer {"connection_id":155086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:06:15] local.INFO: IMEI packet received {"connection_id":155086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":155086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:06:16] local.INFO: TCP Data received {"connection_id":155086,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cf91f8012d18750007218138004b010524..."} 
[2026-08-11 18:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cf91f8012d18750007218138004b010524..."} 
[2026-08-11 18:06:16] local.INFO: Processing buffer {"connection_id":155086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cf91f8012d18750007218138004b010524..."} 
[2026-08-11 18:06:16] local.INFO: Packet analysis {"connection_id":155086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:06:16] local.INFO: Extracted packet for processing {"connection_id":155086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:06:16] local.INFO: GPS Element Parsed {"raw_longitude":756577536,"raw_latitude":119636280,"longitude_deg":75.6577536,"latitude_deg":11.963628,"altitude":75,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d187500","hex_latitude":"07218138","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331594752001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11770113061552128,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763581497207529472,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:16] 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-08-11 18:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786451563000,"timestamp_ms":1786451563000,"timestamp_seconds":1786451563,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cf91f8"} 
[2026-08-11 18:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:06: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-08-11 18: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-11 18:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18: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-08-11 18:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331594752001,"66":13222,"106":206,"83":41984,"24":0,"16":11770113061552128,"45":1763581497207529472},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331594752001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:06:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:06:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11770113061552128,"km_value":11770113061552.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763581497207529472,"description":"Unknown IO ID 45"} 
[2026-08-11 18:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331594752001,"power":13222,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1763581497207529472}} 
[2026-08-11 18:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":155086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:06:16] local.INFO: GPS data processed {"connection_id":155086,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:06:16] local.INFO: Acknowledgment sent {"connection_id":155086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:06:19] local.INFO: TCP Data received {"connection_id":152384,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:06:19] local.INFO: Processing buffer {"connection_id":152384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:06:19] local.INFO: IMEI packet received {"connection_id":152384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":152384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:06:22] local.INFO: TCP Data received {"connection_id":152384,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:06:22] local.INFO: Processing buffer {"connection_id":152384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:06:22] local.INFO: IMEI packet received {"connection_id":152384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":152384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:06:23] local.INFO: TCP Data received {"connection_id":152384,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d1f740012d7e724005a5f088000b012b28..."} 
[2026-08-11 18:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d1f740012d7e724005a5f088000b012b28..."} 
[2026-08-11 18:06:23] local.INFO: Processing buffer {"connection_id":152384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d1f740012d7e724005a5f088000b012b28..."} 
[2026-08-11 18:06:23] local.INFO: Packet analysis {"connection_id":152384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d1"} 
[2026-08-11 18:06:23] local.INFO: Extracted packet for processing {"connection_id":152384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d1"} 
[2026-08-11 18:06:23] local.INFO: GPS Element Parsed {"raw_longitude":763261504,"raw_latitude":94761096,"longitude_deg":76.3261504,"latitude_deg":9.4761096,"altitude":11,"angle":299,"satellites":40,"speed":37,"hex_longitude":"2d7e7240","hex_latitude":"05a5f088","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331638016001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377934161152835584,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9119930007171244032,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786451720000,"timestamp_ms":1786451720000,"timestamp_seconds":1786451720,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d1f740"} 
[2026-08-11 18:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 18:06:23] 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-08-11 18: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-08-11 18:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:06: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-08-11 18:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331638016001,"66":27865,"32":206,"85":14336,"24":37,"16":377934161152835584,"45":9119930007171244032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-11 18:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331638016001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:06:23] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-11 18:06:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377934161152835584,"km_value":377934161152835.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9119930007171244032,"description":"Unknown IO ID 45"} 
[2026-08-11 18:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331638016001,"power":27865,"unknown_32":206,"unknown_85":14336,"ignition":37,"odometer":null,"unknown_45":9119930007171244032}} 
[2026-08-11 18:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":152384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:06:23] local.INFO: GPS data processed {"connection_id":152384,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:06:23] local.INFO: Acknowledgment sent {"connection_id":152384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:06:43] local.INFO: TCP Data received {"connection_id":152769,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d1b0f0012d82808005d34bb00007007225..."} 
[2026-08-11 18:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d1b0f0012d82808005d34bb00007007225..."} 
[2026-08-11 18:06:43] local.INFO: Processing buffer {"connection_id":152769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d1b0f0012d82808005d34bb00007007225..."} 
[2026-08-11 18:06:43] local.INFO: Packet analysis {"connection_id":152769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d1"} 
[2026-08-11 18:06:43] local.INFO: Extracted packet for processing {"connection_id":152769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d1"} 
[2026-08-11 18:06:43] local.INFO: GPS Element Parsed {"raw_longitude":763527296,"raw_latitude":97733552,"longitude_deg":76.3527296,"latitude_deg":9.7733552,"altitude":7,"angle":114,"satellites":37,"speed":10,"hex_longitude":"2d828080","hex_latitude":"05d34bb0","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331635456001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117772057705447424,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043368764228505600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786451702000,"timestamp_ms":1786451702000,"timestamp_seconds":1786451702,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d1b0f0"} 
[2026-08-11 18:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:06:43] 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-08-11 18: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 18:06:43] 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-08-11 18: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-08-11 18:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331635456001,"66":12635,"68":206,"85":15104,"24":10,"16":117772057705447424,"45":-9043368764228505600},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-11 18:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331635456001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:06:43] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-11 18:06:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117772057705447424,"km_value":117772057705447.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043368764228505600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331635456001,"power":12635,"unknown_68":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9043368764228505600}} 
[2026-08-11 18:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":152769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:06:43] local.INFO: GPS data processed {"connection_id":152769,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:06:43] local.INFO: Acknowledgment sent {"connection_id":152769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:06:48] local.INFO: TCP Data received {"connection_id":155086,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0cfe400012d18770007218070004e010525..."} 
[2026-08-11 18:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0cfe400012d18770007218070004e010525..."} 
[2026-08-11 18:06:48] local.INFO: Processing buffer {"connection_id":155086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0cfe400012d18770007218070004e010525..."} 
[2026-08-11 18:06:48] local.INFO: Packet analysis {"connection_id":155086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:06:48] local.INFO: Extracted packet for processing {"connection_id":155086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0cf"} 
[2026-08-11 18:06:48] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636080,"longitude_deg":75.6578048,"latitude_deg":11.963608,"altitude":78,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d187700","hex_latitude":"07218070","is_valid_coordinates":true} 
[2026-08-11 18:06: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-08-11 18:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331600128001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11770177486061568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762314859812304896,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:48] 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-08-11 18:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786451584000,"timestamp_ms":1786451584000,"timestamp_seconds":1786451584,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0cfe400"} 
[2026-08-11 18:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:06:48] 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-08-11 18:06: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-08-11 18:06: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-08-11 18:06: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-08-11 18:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":155086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":155086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":155086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331600128001,"66":13222,"106":206,"83":41984,"24":0,"16":11770177486061568,"45":1762314859812304896},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331600128001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:06:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:06:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11770177486061568,"km_value":11770177486061.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762314859812304896,"description":"Unknown IO ID 45"} 
[2026-08-11 18:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331600128001,"power":13222,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762314859812304896}} 
[2026-08-11 18:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":155086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:06:48] local.INFO: GPS data processed {"connection_id":155086,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:06:48] local.INFO: Acknowledgment sent {"connection_id":155086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:06:54] local.INFO: TCP Data received {"connection_id":152384,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d22620012d7e530005a602d8000e012c2a..."} 
[2026-08-11 18:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d22620012d7e530005a602d8000e012c2a..."} 
[2026-08-11 18:06:54] local.INFO: Processing buffer {"connection_id":152384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d22620012d7e530005a602d8000e012c2a..."} 
[2026-08-11 18:06:54] local.INFO: Packet analysis {"connection_id":152384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d2"} 
[2026-08-11 18:06:54] local.INFO: Extracted packet for processing {"connection_id":152384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d2"} 
[2026-08-11 18:06:54] local.INFO: GPS Element Parsed {"raw_longitude":763253504,"raw_latitude":94765784,"longitude_deg":76.3253504,"latitude_deg":9.4765784,"altitude":14,"angle":300,"satellites":42,"speed":26,"hex_longitude":"2d7e5300","hex_latitude":"05a602d8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331640320001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377934607829434368,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9111415389126952960,"note":"Value kept but may cause issues"} 
[2026-08-11 18:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786451732000,"timestamp_ms":1786451732000,"timestamp_seconds":1786451732,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d22620"} 
[2026-08-11 18:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 18:06:54] 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-08-11 18: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-08-11 18:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:06:54] 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-08-11 18:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331640320001,"66":27919,"165":206,"85":14336,"24":26,"16":377934607829434368,"45":9111415389126952960},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-11 18:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331640320001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:06:54] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 18:06:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377934607829434368,"km_value":377934607829434.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9111415389126952960,"description":"Unknown IO ID 45"} 
[2026-08-11 18:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331640320001,"power":27919,"unknown_165":206,"unknown_85":14336,"ignition":26,"odometer":null,"unknown_45":9111415389126952960}} 
[2026-08-11 18:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":152384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:06:54] local.INFO: GPS data processed {"connection_id":152384,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:06:54] local.INFO: Acknowledgment sent {"connection_id":152384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:07:06] local.INFO: TCP Data received {"connection_id":152770,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:07:06] local.INFO: Processing buffer {"connection_id":152770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:07:06] local.INFO: IMEI packet received {"connection_id":152770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":152770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:07:08] local.INFO: TCP Data received {"connection_id":152770,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:07:08] local.INFO: Processing buffer {"connection_id":152770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:07:08] local.INFO: IMEI packet received {"connection_id":152770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":152770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:07:10] local.INFO: TCP Data received {"connection_id":152385,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:07:10] local.INFO: Processing buffer {"connection_id":152385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:07:10] local.INFO: IMEI packet received {"connection_id":152385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":152385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:07:12] local.INFO: TCP Data received {"connection_id":152385,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:07:12] local.INFO: Processing buffer {"connection_id":152385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:07:12] local.INFO: IMEI packet received {"connection_id":152385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":152385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:07:13] local.INFO: TCP Data received {"connection_id":152770,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:07:13] local.INFO: Processing buffer {"connection_id":152770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:07:13] local.INFO: IMEI packet received {"connection_id":152770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":152770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:07:14] local.INFO: TCP Data received {"connection_id":152770,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d33b78012d82954005d26420000b00ab23..."} 
[2026-08-11 18:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d33b78012d82954005d26420000b00ab23..."} 
[2026-08-11 18:07:14] local.INFO: Processing buffer {"connection_id":152770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d33b78012d82954005d26420000b00ab23..."} 
[2026-08-11 18:07:14] local.INFO: Packet analysis {"connection_id":152770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d3"} 
[2026-08-11 18:07:14] local.INFO: Extracted packet for processing {"connection_id":152770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d3"} 
[2026-08-11 18:07:14] local.INFO: GPS Element Parsed {"raw_longitude":763532608,"raw_latitude":97674272,"longitude_deg":76.3532608,"latitude_deg":9.7674272,"altitude":11,"angle":171,"satellites":35,"speed":28,"hex_longitude":"2d829540","hex_latitude":"05d26420","is_valid_coordinates":true} 
[2026-08-11 18:07: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-08-11 18:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331657984001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117774965398306816,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038372583404668928,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786451803000,"timestamp_ms":1786451803000,"timestamp_seconds":1786451803,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d33b78"} 
[2026-08-11 18:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:07:14] 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-08-11 18:07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 18:07:14] 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-08-11 18:07: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-08-11 18:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331657984001,"66":13276,"68":206,"85":15104,"24":28,"16":117774965398306816,"45":-9038372583404668928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-11 18:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331657984001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:07:14] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-11 18:07:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117774965398306816,"km_value":117774965398306.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038372583404668928,"description":"Unknown IO ID 45"} 
[2026-08-11 18:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331657984001,"power":13276,"unknown_68":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9038372583404668928}} 
[2026-08-11 18:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":152770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:07:14] local.INFO: GPS data processed {"connection_id":152770,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:07:14] local.INFO: Acknowledgment sent {"connection_id":152770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:07:15] local.INFO: TCP Data received {"connection_id":152385,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:07:15] local.INFO: Processing buffer {"connection_id":152385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:07:15] local.INFO: IMEI packet received {"connection_id":152385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":152385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:07:16] local.INFO: TCP Data received {"connection_id":152385,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d03608012d18770007218098004e010524..."} 
[2026-08-11 18:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d03608012d18770007218098004e010524..."} 
[2026-08-11 18:07:16] local.INFO: Processing buffer {"connection_id":152385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d03608012d18770007218098004e010524..."} 
[2026-08-11 18:07:16] local.INFO: Packet analysis {"connection_id":152385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:07:16] local.INFO: Extracted packet for processing {"connection_id":152385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:07:16] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636120,"longitude_deg":75.6578048,"latitude_deg":11.963612,"altitude":78,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d187700","hex_latitude":"07218098","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331605504001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11770177486061568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765675008,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:16] 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-08-11 18:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786451605000,"timestamp_ms":1786451605000,"timestamp_seconds":1786451605,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d03608"} 
[2026-08-11 18:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:07: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-08-11 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 18:07: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-08-11 18: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-08-11 18:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331605504001,"66":13156,"106":206,"83":41984,"24":0,"16":11770177486061568,"45":1762877809765675008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331605504001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:07:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:07:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11770177486061568,"km_value":11770177486061.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765675008,"description":"Unknown IO ID 45"} 
[2026-08-11 18:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331605504001,"power":13156,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762877809765675008}} 
[2026-08-11 18:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":152385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:07:16] local.INFO: GPS data processed {"connection_id":152385,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:07:16] local.INFO: Acknowledgment sent {"connection_id":152385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:07:18] local.INFO: TCP Data received {"connection_id":152770,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d36670012d8297c005d24530000b00b624..."} 
[2026-08-11 18:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d36670012d8297c005d24530000b00b624..."} 
[2026-08-11 18:07:18] local.INFO: Processing buffer {"connection_id":152770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d36670012d8297c005d24530000b00b624..."} 
[2026-08-11 18:07:18] local.INFO: Packet analysis {"connection_id":152770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d3"} 
[2026-08-11 18:07:18] local.INFO: Extracted packet for processing {"connection_id":152770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d3"} 
[2026-08-11 18:07:18] local.INFO: GPS Element Parsed {"raw_longitude":763533248,"raw_latitude":97666352,"longitude_deg":76.3533248,"latitude_deg":9.7666352,"altitude":11,"angle":182,"satellites":36,"speed":29,"hex_longitude":"2d8297c0","hex_latitude":"05d24530","is_valid_coordinates":true} 
[2026-08-11 18:07: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-08-11 18:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331661568001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117775347650396160,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683500240896,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786451814000,"timestamp_ms":1786451814000,"timestamp_seconds":1786451814,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d36670"} 
[2026-08-11 18:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:07:18] 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-08-11 18:07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-11 18:07:18] 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-08-11 18:07: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-08-11 18:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331661568001,"66":13135,"68":206,"85":15104,"24":29,"16":117775347650396160,"45":-9037246683500240896},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-11 18:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331661568001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:07:18] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-11 18:07:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117775347650396160,"km_value":117775347650396.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683500240896,"description":"Unknown IO ID 45"} 
[2026-08-11 18:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331661568001,"power":13135,"unknown_68":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9037246683500240896}} 
[2026-08-11 18:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":152770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:07:18] local.INFO: GPS data processed {"connection_id":152770,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:07:18] local.INFO: Acknowledgment sent {"connection_id":152770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:07:19] local.INFO: TCP Data received {"connection_id":152771,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:07:19] local.INFO: Processing buffer {"connection_id":152771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:07:19] local.INFO: IMEI packet received {"connection_id":152771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":152771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:07:20] local.INFO: TCP Data received {"connection_id":152385,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d08810012d18770007218098004e010524..."} 
[2026-08-11 18:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d08810012d18770007218098004e010524..."} 
[2026-08-11 18:07:20] local.INFO: Processing buffer {"connection_id":152385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d08810012d18770007218098004e010524..."} 
[2026-08-11 18:07:20] local.INFO: Packet analysis {"connection_id":152385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:07:20] local.INFO: Extracted packet for processing {"connection_id":152385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:07:20] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636120,"longitude_deg":75.6578048,"latitude_deg":11.963612,"altitude":78,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d187700","hex_latitude":"07218098","is_valid_coordinates":true} 
[2026-08-11 18:07: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-08-11 18:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331610880001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11770177486061568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765685248,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:20] 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-08-11 18:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786451626000,"timestamp_ms":1786451626000,"timestamp_seconds":1786451626,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d08810"} 
[2026-08-11 18:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:07:20] 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-08-11 18:07: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-11 18:07:20] 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-08-11 18:07: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-08-11 18:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331610880001,"66":13124,"106":206,"83":41984,"24":0,"16":11770177486061568,"45":1762877809765685248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331610880001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:07:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:07:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11770177486061568,"km_value":11770177486061.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765685248,"description":"Unknown IO ID 45"} 
[2026-08-11 18:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331610880001,"power":13124,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762877809765685248}} 
[2026-08-11 18:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":152385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:07:20] local.INFO: GPS data processed {"connection_id":152385,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:07:20] local.INFO: Acknowledgment sent {"connection_id":152385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:07:24] local.INFO: TCP Data received {"connection_id":152771,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:07:24] local.INFO: Processing buffer {"connection_id":152771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:07:24] local.INFO: IMEI packet received {"connection_id":152771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":152771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:07:26] local.INFO: TCP Data received {"connection_id":152771,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d25cd0012d7e330005a616080010012d29..."} 
[2026-08-11 18:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d25cd0012d7e330005a616080010012d29..."} 
[2026-08-11 18:07:26] local.INFO: Processing buffer {"connection_id":152771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d25cd0012d7e330005a616080010012d29..."} 
[2026-08-11 18:07:26] local.INFO: Packet analysis {"connection_id":152771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d2"} 
[2026-08-11 18:07:26] local.INFO: Extracted packet for processing {"connection_id":152771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d2"} 
[2026-08-11 18:07:26] local.INFO: GPS Element Parsed {"raw_longitude":763245312,"raw_latitude":94770696,"longitude_deg":76.3245312,"latitude_deg":9.4770696,"altitude":16,"angle":301,"satellites":41,"speed":28,"hex_longitude":"2d7e3300","hex_latitude":"05a61608","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331643392001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377935063095967744,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102619296105945088,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786451746000,"timestamp_ms":1786451746000,"timestamp_seconds":1786451746,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d25cd0"} 
[2026-08-11 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-08-11 18:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 18:07:26] 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-08-11 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-08-11 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-08-11 18:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:07:26] 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-08-11 18:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331643392001,"66":27930,"165":206,"85":14336,"24":28,"16":377935063095967744,"45":9102619296105945088},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-11 18:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331643392001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:07:26] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 18:07:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377935063095967744,"km_value":377935063095967.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102619296105945088,"description":"Unknown IO ID 45"} 
[2026-08-11 18:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331643392001,"power":27930,"unknown_165":206,"unknown_85":14336,"ignition":28,"odometer":null,"unknown_45":9102619296105945088}} 
[2026-08-11 18:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":152771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:07:26] local.INFO: GPS data processed {"connection_id":152771,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:07:26] local.INFO: Acknowledgment sent {"connection_id":152771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:07:49] local.INFO: TCP Data received {"connection_id":152770,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d39168012d82968005d221b8000900b323..."} 
[2026-08-11 18:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d39168012d82968005d221b8000900b323..."} 
[2026-08-11 18:07:49] local.INFO: Processing buffer {"connection_id":152770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d39168012d82968005d221b8000900b323..."} 
[2026-08-11 18:07:49] local.INFO: Packet analysis {"connection_id":152770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d3"} 
[2026-08-11 18:07:49] local.INFO: Extracted packet for processing {"connection_id":152770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d3"} 
[2026-08-11 18:07:49] local.INFO: GPS Element Parsed {"raw_longitude":763532928,"raw_latitude":97657272,"longitude_deg":76.3532928,"latitude_deg":9.7657272,"altitude":9,"angle":179,"satellites":35,"speed":34,"hex_longitude":"2d829680","hex_latitude":"05d221b8","is_valid_coordinates":true} 
[2026-08-11 18:07: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-08-11 18:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331664384001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117775790032027648,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036542996060491776,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786451825000,"timestamp_ms":1786451825000,"timestamp_seconds":1786451825,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d39168"} 
[2026-08-11 18:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:07:49] 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-08-11 18:07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-11 18:07:49] 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-08-11 18:07: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-08-11 18:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331664384001,"66":13363,"68":206,"85":15104,"24":34,"16":117775790032027648,"45":-9036542996060491776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-11 18:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331664384001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:07:49] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-11 18:07:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117775790032027648,"km_value":117775790032027.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036542996060491776,"description":"Unknown IO ID 45"} 
[2026-08-11 18:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331664384001,"power":13363,"unknown_68":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9036542996060491776}} 
[2026-08-11 18:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":152770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:07:49] local.INFO: GPS data processed {"connection_id":152770,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:07:49] local.INFO: Acknowledgment sent {"connection_id":152770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:07:51] local.INFO: TCP Data received {"connection_id":152385,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d0da18012d18770007218098004e010524..."} 
[2026-08-11 18:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d0da18012d18770007218098004e010524..."} 
[2026-08-11 18:07:51] local.INFO: Processing buffer {"connection_id":152385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d0da18012d18770007218098004e010524..."} 
[2026-08-11 18:07:51] local.INFO: Packet analysis {"connection_id":152385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:07:51] local.INFO: Extracted packet for processing {"connection_id":152385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d0"} 
[2026-08-11 18:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636120,"longitude_deg":75.6578048,"latitude_deg":11.963612,"altitude":78,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d187700","hex_latitude":"07218098","is_valid_coordinates":true} 
[2026-08-11 18:07: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-08-11 18:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331616256001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11770177486061568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765685248,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:51] 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-08-11 18:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786451647000,"timestamp_ms":1786451647000,"timestamp_seconds":1786451647,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d0da18"} 
[2026-08-11 18:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:07:51] 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-08-11 18:07: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-11 18:07:51] 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-08-11 18:07: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-08-11 18:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331616256001,"66":13102,"106":206,"83":41984,"24":0,"16":11770177486061568,"45":1762877809765685248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331616256001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:07:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11770177486061568,"km_value":11770177486061.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765685248,"description":"Unknown IO ID 45"} 
[2026-08-11 18:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331616256001,"power":13102,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762877809765685248}} 
[2026-08-11 18:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":152385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:07:51] local.INFO: GPS data processed {"connection_id":152385,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:07:51] local.INFO: Acknowledgment sent {"connection_id":152385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:07:58] local.INFO: TCP Data received {"connection_id":152771,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d28f98012d7e134005a628f80010012e28..."} 
[2026-08-11 18:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d28f98012d7e134005a628f80010012e28..."} 
[2026-08-11 18:07:58] local.INFO: Processing buffer {"connection_id":152771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d28f98012d7e134005a628f80010012e28..."} 
[2026-08-11 18:07:58] local.INFO: Packet analysis {"connection_id":152771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d2"} 
[2026-08-11 18:07:58] local.INFO: Extracted packet for processing {"connection_id":152771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d2"} 
[2026-08-11 18:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763237184,"raw_latitude":94775544,"longitude_deg":76.3237184,"latitude_deg":9.4775544,"altitude":16,"angle":302,"satellites":40,"speed":28,"hex_longitude":"2d7e1340","hex_latitude":"05a628f8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331646976001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377935518362501120,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093612096852461568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786451759000,"timestamp_ms":1786451759000,"timestamp_seconds":1786451759,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d28f98"} 
[2026-08-11 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-08-11 18:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 18:07:58] 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-08-11 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-08-11 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-08-11 18:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:07:58] 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-08-11 18:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331646976001,"66":27908,"165":206,"85":14336,"24":28,"16":377935518362501120,"45":9093612096852461568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-11 18:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331646976001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:07:58] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 18:07:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377935518362501120,"km_value":377935518362501.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093612096852461568,"description":"Unknown IO ID 45"} 
[2026-08-11 18:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331646976001,"power":27908,"unknown_165":206,"unknown_85":14336,"ignition":28,"odometer":null,"unknown_45":9093612096852461568}} 
[2026-08-11 18:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":152771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:07:58] local.INFO: GPS data processed {"connection_id":152771,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:07:58] local.INFO: Acknowledgment sent {"connection_id":152771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:08:06] local.INFO: TCP Data received {"connection_id":152386,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:08:06] local.INFO: Processing buffer {"connection_id":152386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:08:06] local.INFO: IMEI packet received {"connection_id":152386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":152386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:08:08] local.INFO: TCP Data received {"connection_id":152386,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:08:08] local.INFO: Processing buffer {"connection_id":152386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:08:08] local.INFO: IMEI packet received {"connection_id":152386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":152386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:08:10] local.INFO: TCP Data received {"connection_id":153709,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:08:10] local.INFO: Processing buffer {"connection_id":153709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:08:10] local.INFO: IMEI packet received {"connection_id":153709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":153709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:08:13] local.INFO: TCP Data received {"connection_id":152386,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:08:13] local.INFO: Processing buffer {"connection_id":152386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:08:13] local.INFO: IMEI packet received {"connection_id":152386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":152386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:08:14] local.INFO: TCP Data received {"connection_id":152386,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d3bc60012d82974005d1fd18000a00b223..."} 
[2026-08-11 18:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d3bc60012d82974005d1fd18000a00b223..."} 
[2026-08-11 18:08:14] local.INFO: Processing buffer {"connection_id":152386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d3bc60012d82974005d1fd18000a00b223..."} 
[2026-08-11 18:08:14] local.INFO: Packet analysis {"connection_id":152386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d3"} 
[2026-08-11 18:08:14] local.INFO: Extracted packet for processing {"connection_id":152386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d3"} 
[2026-08-11 18:08:14] local.INFO: GPS Element Parsed {"raw_longitude":763533120,"raw_latitude":97647896,"longitude_deg":76.353312,"latitude_deg":9.7647896,"altitude":10,"angle":178,"satellites":35,"speed":32,"hex_longitude":"2d829740","hex_latitude":"05d1fd18","is_valid_coordinates":true} 
[2026-08-11 18:08: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-08-11 18:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331667200001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117776245298561024,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894839783704576,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786451836000,"timestamp_ms":1786451836000,"timestamp_seconds":1786451836,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d3bc60"} 
[2026-08-11 18:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:08:14] 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-08-11 18:08: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":51,"data_length":795,"current_offset":136} 
[2026-08-11 18:08:14] 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-08-11 18:08: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-08-11 18:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331667200001,"66":13298,"68":206,"85":15104,"24":32,"16":117776245298561024,"45":-9036894839783704576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-11 18:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331667200001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:08:14] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-11 18:08:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117776245298561024,"km_value":117776245298561.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894839783704576,"description":"Unknown IO ID 45"} 
[2026-08-11 18:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331667200001,"power":13298,"unknown_68":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9036894839783704576}} 
[2026-08-11 18:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":152386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:08:14] local.INFO: GPS data processed {"connection_id":152386,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:08:14] local.INFO: Acknowledgment sent {"connection_id":152386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:08:15] local.INFO: TCP Data received {"connection_id":153709,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:08:15] local.INFO: Processing buffer {"connection_id":153709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:08:15] local.INFO: IMEI packet received {"connection_id":153709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":153709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:08:16] local.INFO: TCP Data received {"connection_id":153709,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d13008012d18770007218098004e010525..."} 
[2026-08-11 18:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d13008012d18770007218098004e010525..."} 
[2026-08-11 18:08:16] local.INFO: Processing buffer {"connection_id":153709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d13008012d18770007218098004e010525..."} 
[2026-08-11 18:08:16] local.INFO: Packet analysis {"connection_id":153709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d1"} 
[2026-08-11 18:08:16] local.INFO: Extracted packet for processing {"connection_id":153709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d1"} 
[2026-08-11 18:08:16] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636120,"longitude_deg":75.6578048,"latitude_deg":11.963612,"altitude":78,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d187700","hex_latitude":"07218098","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331621632001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11770177486061568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765685248,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:16] 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-08-11 18:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786451669000,"timestamp_ms":1786451669000,"timestamp_seconds":1786451669,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d13008"} 
[2026-08-11 18:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:08: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-08-11 18: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 18:08:16] 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-08-11 18: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-08-11 18:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331621632001,"66":13059,"106":206,"83":41984,"24":0,"16":11770177486061568,"45":1762877809765685248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331621632001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:08:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:08:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11770177486061568,"km_value":11770177486061.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765685248,"description":"Unknown IO ID 45"} 
[2026-08-11 18:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331621632001,"power":13059,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762877809765685248}} 
[2026-08-11 18:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":153709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:08:16] local.INFO: GPS data processed {"connection_id":153709,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:08:16] local.INFO: Acknowledgment sent {"connection_id":153709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:08:19] local.INFO: TCP Data received {"connection_id":155087,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:08:19] local.INFO: Processing buffer {"connection_id":155087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:08:19] local.INFO: IMEI packet received {"connection_id":155087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":155087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:08:22] local.INFO: TCP Data received {"connection_id":155087,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:08:22] local.INFO: Processing buffer {"connection_id":155087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:08:22] local.INFO: IMEI packet received {"connection_id":155087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":155087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:08:24] local.INFO: TCP Data received {"connection_id":155087,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:08:24] local.INFO: Processing buffer {"connection_id":155087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:08:24] local.INFO: IMEI packet received {"connection_id":155087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":155087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:08:25] local.INFO: TCP Data received {"connection_id":155087,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d2be78012d7df70005a63f08001001382a..."} 
[2026-08-11 18:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d2be78012d7df70005a63f08001001382a..."} 
[2026-08-11 18:08:25] local.INFO: Processing buffer {"connection_id":155087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d2be78012d7df70005a63f08001001382a..."} 
[2026-08-11 18:08:25] local.INFO: Packet analysis {"connection_id":155087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d2"} 
[2026-08-11 18:08:25] local.INFO: Extracted packet for processing {"connection_id":155087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d2"} 
[2026-08-11 18:08:25] local.INFO: GPS Element Parsed {"raw_longitude":763229952,"raw_latitude":94781192,"longitude_deg":76.3229952,"latitude_deg":9.4781192,"altitude":16,"angle":312,"satellites":42,"speed":33,"hex_longitude":"2d7df700","hex_latitude":"05a63f08","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331650304001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377935960744132608,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084675266343139328,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786451771000,"timestamp_ms":1786451771000,"timestamp_seconds":1786451771,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d2be78"} 
[2026-08-11 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-08-11 18:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 18:08:25] 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-08-11 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-08-11 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-08-11 18:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:08:25] 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-08-11 18:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331650304001,"66":27995,"165":206,"85":14336,"24":33,"16":377935960744132608,"45":9084675266343139328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-11 18:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331650304001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:08:25] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 18:08:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377935960744132608,"km_value":377935960744132.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084675266343139328,"description":"Unknown IO ID 45"} 
[2026-08-11 18:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331650304001,"power":27995,"unknown_165":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":9084675266343139328}} 
[2026-08-11 18:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":155087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:08:25] local.INFO: GPS data processed {"connection_id":155087,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:08:25] local.INFO: Acknowledgment sent {"connection_id":155087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:08:29] local.INFO: TCP Data received {"connection_id":155087,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d2e1a0012d7de28005a656000010014529..."} 
[2026-08-11 18:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d2e1a0012d7de28005a656000010014529..."} 
[2026-08-11 18:08:29] local.INFO: Processing buffer {"connection_id":155087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d2e1a0012d7de28005a656000010014529..."} 
[2026-08-11 18:08:29] local.INFO: Packet analysis {"connection_id":155087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d2"} 
[2026-08-11 18:08:29] local.INFO: Extracted packet for processing {"connection_id":155087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d2"} 
[2026-08-11 18:08:29] local.INFO: GPS Element Parsed {"raw_longitude":763224704,"raw_latitude":94787072,"longitude_deg":76.3224704,"latitude_deg":9.4787072,"altitude":16,"angle":325,"satellites":41,"speed":35,"hex_longitude":"2d7de280","hex_latitude":"05a65600","is_valid_coordinates":true} 
[2026-08-11 18:08: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-08-11 18:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331653376001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377936338701254656,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9076723598252509184,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786451780000,"timestamp_ms":1786451780000,"timestamp_seconds":1786451780,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d2e1a0"} 
[2026-08-11 18:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18:08: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 18:08:29] 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-08-11 18:08: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-08-11 18:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:08:29] 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-08-11 18:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331653376001,"66":27767,"165":206,"85":14336,"24":35,"16":377936338701254656,"45":9076723598252509184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-11 18:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331653376001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:08:29] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-11 18:08:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377936338701254656,"km_value":377936338701254.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9076723598252509184,"description":"Unknown IO ID 45"} 
[2026-08-11 18:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331653376001,"power":27767,"unknown_165":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":9076723598252509184}} 
[2026-08-11 18:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":155087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:08:29] local.INFO: GPS data processed {"connection_id":155087,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:08:29] local.INFO: Acknowledgment sent {"connection_id":155087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:08:45] local.INFO: TCP Data received {"connection_id":152386,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d40e68012d82978005d1e5a0000a00b123..."} 
[2026-08-11 18:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d40e68012d82978005d1e5a0000a00b123..."} 
[2026-08-11 18:08:45] local.INFO: Processing buffer {"connection_id":152386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d40e68012d82978005d1e5a0000a00b123..."} 
[2026-08-11 18:08:45] local.INFO: Packet analysis {"connection_id":152386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d4"} 
[2026-08-11 18:08:45] local.INFO: Extracted packet for processing {"connection_id":152386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d4"} 
[2026-08-11 18:08:45] local.INFO: GPS Element Parsed {"raw_longitude":763533184,"raw_latitude":97641888,"longitude_deg":76.3533184,"latitude_deg":9.7641888,"altitude":10,"angle":177,"satellites":35,"speed":9,"hex_longitude":"2d829780","hex_latitude":"05d1e5a0","is_valid_coordinates":true} 
[2026-08-11 18:08: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-08-11 18:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331670016001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117776541651304448,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036683733553571840,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786451857000,"timestamp_ms":1786451857000,"timestamp_seconds":1786451857,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d40e68"} 
[2026-08-11 18:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:08:45] 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-08-11 18:08: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-11 18:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18:08: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-08-11 18:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331670016001,"66":13319,"63":206,"85":15104,"24":9,"16":117776541651304448,"45":-9036683733553571840},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 18:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331670016001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:08:45] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 18:08:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117776541651304448,"km_value":117776541651304.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036683733553571840,"description":"Unknown IO ID 45"} 
[2026-08-11 18:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331670016001,"power":13319,"unknown_63":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9036683733553571840}} 
[2026-08-11 18:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":152386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:08:45] local.INFO: GPS data processed {"connection_id":152386,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:08:45] local.INFO: Acknowledgment sent {"connection_id":152386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:08:47] local.INFO: TCP Data received {"connection_id":153709,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d18210012d18770007218098004e010522..."} 
[2026-08-11 18:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d18210012d18770007218098004e010522..."} 
[2026-08-11 18:08:47] local.INFO: Processing buffer {"connection_id":153709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d18210012d18770007218098004e010522..."} 
[2026-08-11 18:08:47] local.INFO: Packet analysis {"connection_id":153709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d1"} 
[2026-08-11 18:08:47] local.INFO: Extracted packet for processing {"connection_id":153709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d1"} 
[2026-08-11 18:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636120,"longitude_deg":75.6578048,"latitude_deg":11.963612,"altitude":78,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d187700","hex_latitude":"07218098","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331627264001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11770177486061568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765685248,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:47] 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-08-11 18:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786451690000,"timestamp_ms":1786451690000,"timestamp_seconds":1786451690,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d18210"} 
[2026-08-11 18:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:08:47] 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-08-11 18: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 18:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303187088166250,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:47] local.WARNING: Large IO value detected {"io_id":106,"raw_value":58075809043709971,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:47] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4040114160,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3487825921,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2154823758,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-11 18:08:47] local.WARNING: Large IO value detected {"io_id":145,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:47] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070442,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:47] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3504013312,"note":"Value kept but may cause issues"} 
[2026-08-11 18:08:47] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,106,83,24,241,157,16,208,159,218,45,128,78,36,10,66,136,54,1,240,100,227,33,4,113,205,145,117,56,239,51,2,41,7,71,19],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-11 18:08:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620779466407018496,"timestamp_seconds":5620779466407018.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 18:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331627264001,"66":13015,"106":206,"83":41984,"24":0,"16":11770177486061568,"45":1762877809765685248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331627264001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:08:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:08:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11770177486061568,"km_value":11770177486061.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765685248,"description":"Unknown IO ID 45"} 
[2026-08-11 18:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331627264001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762877809765685248}} 
[2026-08-11 18:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":153709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:08:47] local.INFO: GPS data processed {"connection_id":153709,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:08:47] local.INFO: Acknowledgment sent {"connection_id":153709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:09:00] local.INFO: TCP Data received {"connection_id":155087,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d46840012d7d6e0005a7f3e80010015b29..."} 
[2026-08-11 18:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d46840012d7d6e0005a7f3e80010015b29..."} 
[2026-08-11 18:09:00] local.INFO: Processing buffer {"connection_id":155087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d46840012d7d6e0005a7f3e80010015b29..."} 
[2026-08-11 18:09:00] local.INFO: Packet analysis {"connection_id":155087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d4"} 
[2026-08-11 18:09:00] local.INFO: Extracted packet for processing {"connection_id":155087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d4"} 
[2026-08-11 18:09:00] local.INFO: GPS Element Parsed {"raw_longitude":763194880,"raw_latitude":94893032,"longitude_deg":76.319488,"latitude_deg":9.4893032,"altitude":16,"angle":347,"satellites":41,"speed":45,"hex_longitude":"2d7d6e00","hex_latitude":"05a7f3e8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331679232001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377941690230505472,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9040342957539045376,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786451880000,"timestamp_ms":1786451880000,"timestamp_seconds":1786451880,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d46840"} 
[2026-08-11 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-08-11 18:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 18:09:00] 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-08-11 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-08-11 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-08-11 18:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":155087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":155087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":155087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:09: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-08-11 18:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331679232001,"66":27919,"63":206,"85":14336,"24":45,"16":377941690230505472,"45":9040342957539045376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 18:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331679232001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:09:00] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 18:09:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377941690230505472,"km_value":377941690230505.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9040342957539045376,"description":"Unknown IO ID 45"} 
[2026-08-11 18:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331679232001,"power":27919,"unknown_63":206,"unknown_85":14336,"ignition":45,"odometer":null,"unknown_45":9040342957539045376}} 
[2026-08-11 18:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":155087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:09:00] local.INFO: GPS data processed {"connection_id":155087,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:09:00] local.INFO: Acknowledgment sent {"connection_id":155087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:09:08] local.INFO: TCP Data received {"connection_id":152772,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:09:08] local.INFO: Processing buffer {"connection_id":152772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:09:08] local.INFO: IMEI packet received {"connection_id":152772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":152772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:09:08] local.INFO: TCP Data received {"connection_id":152772,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:09:08] local.INFO: Processing buffer {"connection_id":152772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:09:08] local.INFO: IMEI packet received {"connection_id":152772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":152772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:09:13] local.INFO: TCP Data received {"connection_id":152772,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:09:13] local.INFO: Processing buffer {"connection_id":152772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:09:13] local.INFO: IMEI packet received {"connection_id":152772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":152772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:09:14] local.INFO: TCP Data received {"connection_id":152772,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d44900012d82974005d1c1f8000900b623..."} 
[2026-08-11 18:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d44900012d82974005d1c1f8000900b623..."} 
[2026-08-11 18:09:14] local.INFO: Processing buffer {"connection_id":152772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d44900012d82974005d1c1f8000900b623..."} 
[2026-08-11 18:09:14] local.INFO: Packet analysis {"connection_id":152772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d4"} 
[2026-08-11 18:09:14] local.INFO: Extracted packet for processing {"connection_id":152772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d4"} 
[2026-08-11 18:09:14] local.INFO: GPS Element Parsed {"raw_longitude":763533120,"raw_latitude":97632760,"longitude_deg":76.353312,"latitude_deg":9.763276,"altitude":9,"angle":182,"satellites":35,"speed":29,"hex_longitude":"2d829740","hex_latitude":"05d1c1f8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331675392001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117776984032935936,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036613364810932224,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786451872000,"timestamp_ms":1786451872000,"timestamp_seconds":1786451872,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d44900"} 
[2026-08-11 18:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:09:14] 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-08-11 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 18:09:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4040348160,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190819333,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3543889921,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:14] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-4785074561120328704,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":3355520386,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1665401038,"corrected_to":0} 
[2026-08-11 18:09:14] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57811513948132667,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3534530560,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:14] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,63,85,24,241,157,16,109,159,188,45,64,253,10,35,66,68,108,145,128,33,9,102,192,1,240,79,227,210,4,113,205,28,248,36,239,51,2,162,5,27],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1665401038,"validated":0}]} 
[2026-08-11 18:09:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720770704261840896,"timestamp_seconds":720770704261840.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 18:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331675392001,"66":13330,"63":206,"85":15104,"24":29,"16":117776984032935936,"45":-9036613364810932224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 18:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331675392001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:09:14] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 18:09:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117776984032935936,"km_value":117776984032935.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036613364810932224,"description":"Unknown IO ID 45"} 
[2026-08-11 18:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331675392001,"power":13330,"unknown_63":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9036613364810932224}} 
[2026-08-11 18:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":152772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:09:14] local.INFO: GPS data processed {"connection_id":152772,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:09:14] local.INFO: Acknowledgment sent {"connection_id":152772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:09:15] local.INFO: TCP Data received {"connection_id":152387,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:09:15] local.INFO: Processing buffer {"connection_id":152387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:09:15] local.INFO: IMEI packet received {"connection_id":152387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":152387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:09:18] local.INFO: TCP Data received {"connection_id":152387,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:09:18] local.INFO: Processing buffer {"connection_id":152387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:09:18] local.INFO: IMEI packet received {"connection_id":152387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":152387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:09:19] local.INFO: TCP Data received {"connection_id":152388,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:09:19] local.INFO: Processing buffer {"connection_id":152388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:09:19] local.INFO: IMEI packet received {"connection_id":152388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":152388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:09:19] local.INFO: TCP Data received {"connection_id":152387,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d1d800012d18770007218098004e010525..."} 
[2026-08-11 18:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d1d800012d18770007218098004e010525..."} 
[2026-08-11 18:09:19] local.INFO: Processing buffer {"connection_id":152387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d1d800012d18770007218098004e010525..."} 
[2026-08-11 18:09:19] local.INFO: Packet analysis {"connection_id":152387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d1"} 
[2026-08-11 18:09:19] local.INFO: Extracted packet for processing {"connection_id":152387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d1"} 
[2026-08-11 18:09:19] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636120,"longitude_deg":75.6578048,"latitude_deg":11.963612,"altitude":78,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d187700","hex_latitude":"07218098","is_valid_coordinates":true} 
[2026-08-11 18:09: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-08-11 18:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331632640001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11770177486061568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765685248,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:19] 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-08-11 18:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786451712000,"timestamp_ms":1786451712000,"timestamp_seconds":1786451712,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d1d800"} 
[2026-08-11 18:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:09:19] 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-08-11 18:09: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-11 18:09:19] 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-08-11 18:09: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-08-11 18:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331632640001,"66":13015,"106":206,"83":41984,"24":0,"16":11770177486061568,"45":1762877809765685248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331632640001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:09:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:09:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11770177486061568,"km_value":11770177486061.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765685248,"description":"Unknown IO ID 45"} 
[2026-08-11 18:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331632640001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762877809765685248}} 
[2026-08-11 18:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":152387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:09:19] local.INFO: GPS data processed {"connection_id":152387,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:09:19] local.INFO: Acknowledgment sent {"connection_id":152387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:09:20] local.INFO: TCP Data received {"connection_id":152387,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d22df0012d18770007218098004e010525..."} 
[2026-08-11 18:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d22df0012d18770007218098004e010525..."} 
[2026-08-11 18:09:20] local.INFO: Processing buffer {"connection_id":152387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d22df0012d18770007218098004e010525..."} 
[2026-08-11 18:09:20] local.INFO: Packet analysis {"connection_id":152387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d2"} 
[2026-08-11 18:09:20] local.INFO: Extracted packet for processing {"connection_id":152387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d2"} 
[2026-08-11 18:09:20] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636120,"longitude_deg":75.6578048,"latitude_deg":11.963612,"altitude":78,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d187700","hex_latitude":"07218098","is_valid_coordinates":true} 
[2026-08-11 18:09: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-08-11 18:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331638272001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11770177486061568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765685248,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:20] 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-08-11 18:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786451734000,"timestamp_ms":1786451734000,"timestamp_seconds":1786451734,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d22df0"} 
[2026-08-11 18:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:09:20] 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-08-11 18:09: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-11 18:09:20] 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-08-11 18:09: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-08-11 18:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331638272001,"66":12982,"106":206,"83":41984,"24":0,"16":11770177486061568,"45":1762877809765685248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331638272001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:09:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:09:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11770177486061568,"km_value":11770177486061.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765685248,"description":"Unknown IO ID 45"} 
[2026-08-11 18:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331638272001,"power":12982,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762877809765685248}} 
[2026-08-11 18:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":152387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:09:20] local.INFO: GPS data processed {"connection_id":152387,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:09:20] local.INFO: Acknowledgment sent {"connection_id":152387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:09:23] local.INFO: TCP Data received {"connection_id":152388,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:09:23] local.INFO: Processing buffer {"connection_id":152388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:09:23] local.INFO: IMEI packet received {"connection_id":152388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":152388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:09:24] local.INFO: TCP Data received {"connection_id":152388,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d48780012d7d65c005a817400010015a2a..."} 
[2026-08-11 18:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d48780012d7d65c005a817400010015a2a..."} 
[2026-08-11 18:09:24] local.INFO: Processing buffer {"connection_id":152388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d48780012d7d65c005a817400010015a2a..."} 
[2026-08-11 18:09:24] local.INFO: Packet analysis {"connection_id":152388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d4"} 
[2026-08-11 18:09:24] local.INFO: Extracted packet for processing {"connection_id":152388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d4"} 
[2026-08-11 18:09:24] local.INFO: GPS Element Parsed {"raw_longitude":763192768,"raw_latitude":94902080,"longitude_deg":76.3192768,"latitude_deg":9.490208,"altitude":16,"angle":346,"satellites":42,"speed":46,"hex_longitude":"2d7d65c0","hex_latitude":"05a81740","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331681280001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377942141202071552,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9038161526471780352,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786451888000,"timestamp_ms":1786451888000,"timestamp_seconds":1786451888,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d48780"} 
[2026-08-11 18:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 18:09:24] 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-08-11 18: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-08-11 18:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:09:24] 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-08-11 18:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331681280001,"66":27876,"63":206,"85":14336,"24":46,"16":377942141202071552,"45":9038161526471780352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 18:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331681280001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:09:24] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 18:09:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377942141202071552,"km_value":377942141202071.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9038161526471780352,"description":"Unknown IO ID 45"} 
[2026-08-11 18:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331681280001,"power":27876,"unknown_63":206,"unknown_85":14336,"ignition":46,"odometer":null,"unknown_45":9038161526471780352}} 
[2026-08-11 18:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":152388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:09:24] local.INFO: GPS data processed {"connection_id":152388,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:09:24] local.INFO: Acknowledgment sent {"connection_id":152388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:09:45] local.INFO: TCP Data received {"connection_id":152772,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d5f2c8012d83330005d15230000900e523..."} 
[2026-08-11 18:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d5f2c8012d83330005d15230000900e523..."} 
[2026-08-11 18:09:45] local.INFO: Processing buffer {"connection_id":152772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d5f2c8012d83330005d15230000900e523..."} 
[2026-08-11 18:09:45] local.INFO: Packet analysis {"connection_id":152772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d5"} 
[2026-08-11 18:09:45] local.INFO: Extracted packet for processing {"connection_id":152772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d5"} 
[2026-08-11 18:09:45] local.INFO: GPS Element Parsed {"raw_longitude":763572992,"raw_latitude":97604144,"longitude_deg":76.3572992,"latitude_deg":9.7604144,"altitude":9,"angle":229,"satellites":35,"speed":8,"hex_longitude":"2d833300","hex_latitude":"05d15230","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331706880001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117780213848342528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992703268453701632,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786451981000,"timestamp_ms":1786451981000,"timestamp_seconds":1786451981,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d5f2c8"} 
[2026-08-11 18:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:09:45] 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-08-11 18: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-11 18:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18: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-08-11 18:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331706880001,"66":13298,"63":206,"85":15104,"24":8,"16":117780213848342528,"45":-8992703268453701632},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 18:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331706880001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:09:45] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 18:09:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117780213848342528,"km_value":117780213848342.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992703268453701632,"description":"Unknown IO ID 45"} 
[2026-08-11 18:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331706880001,"power":13298,"unknown_63":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-8992703268453701632}} 
[2026-08-11 18:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":152772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:09:45] local.INFO: GPS data processed {"connection_id":152772,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:09:45] local.INFO: Acknowledgment sent {"connection_id":152772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:09:51] local.INFO: TCP Data received {"connection_id":152387,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d283e0012d18770007218098004e010520..."} 
[2026-08-11 18:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d283e0012d18770007218098004e010520..."} 
[2026-08-11 18:09:51] local.INFO: Processing buffer {"connection_id":152387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d283e0012d18770007218098004e010520..."} 
[2026-08-11 18:09:51] local.INFO: Packet analysis {"connection_id":152387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d2"} 
[2026-08-11 18:09:51] local.INFO: Extracted packet for processing {"connection_id":152387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d2"} 
[2026-08-11 18:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636120,"longitude_deg":75.6578048,"latitude_deg":11.963612,"altitude":78,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d187700","hex_latitude":"07218098","is_valid_coordinates":true} 
[2026-08-11 18:09: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-08-11 18:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331643904001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11770177486061568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765685248,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:51] 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-08-11 18:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786451756000,"timestamp_ms":1786451756000,"timestamp_seconds":1786451756,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d283e0"} 
[2026-08-11 18:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:09:51] 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-08-11 18:09: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":182,"data_length":795,"current_offset":136} 
[2026-08-11 18:09:51] 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-08-11 18:09: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-08-11 18:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331643904001,"66":12982,"106":206,"83":41984,"24":0,"16":11770177486061568,"45":1762877809765685248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331643904001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:09:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11770177486061568,"km_value":11770177486061.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765685248,"description":"Unknown IO ID 45"} 
[2026-08-11 18:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331643904001,"power":12982,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762877809765685248}} 
[2026-08-11 18:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":152387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:09:51] local.INFO: GPS data processed {"connection_id":152387,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:09:51] local.INFO: Acknowledgment sent {"connection_id":152387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:09:55] local.INFO: TCP Data received {"connection_id":152388,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d4a6c0012d7d5d4005a83ad00011015c2a..."} 
[2026-08-11 18:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d4a6c0012d7d5d4005a83ad00011015c2a..."} 
[2026-08-11 18:09:55] local.INFO: Processing buffer {"connection_id":152388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d4a6c0012d7d5d4005a83ad00011015c2a..."} 
[2026-08-11 18:09:55] local.INFO: Packet analysis {"connection_id":152388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d4"} 
[2026-08-11 18:09:55] local.INFO: Extracted packet for processing {"connection_id":152388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d4"} 
[2026-08-11 18:09:55] local.INFO: GPS Element Parsed {"raw_longitude":763190592,"raw_latitude":94911184,"longitude_deg":76.3190592,"latitude_deg":9.4911184,"altitude":17,"angle":348,"satellites":42,"speed":46,"hex_longitude":"2d7d5d40","hex_latitude":"05a83ad0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331683328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377942596468604928,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9035839357916233728,"note":"Value kept but may cause issues"} 
[2026-08-11 18:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786451896000,"timestamp_ms":1786451896000,"timestamp_seconds":1786451896,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d4a6c0"} 
[2026-08-11 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-08-11 18:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 18:09: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-08-11 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-08-11 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-08-11 18:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:09:55] 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-08-11 18:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331683328001,"66":27919,"63":206,"85":14336,"24":46,"16":377942596468604928,"45":9035839357916233728},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 18:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331683328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:09:55] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 18:09:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377942596468604928,"km_value":377942596468604.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9035839357916233728,"description":"Unknown IO ID 45"} 
[2026-08-11 18:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331683328001,"power":27919,"unknown_63":206,"unknown_85":14336,"ignition":46,"odometer":null,"unknown_45":9035839357916233728}} 
[2026-08-11 18:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":152388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:09:55] local.INFO: GPS data processed {"connection_id":152388,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:09:55] local.INFO: Acknowledgment sent {"connection_id":152388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:10:06] local.INFO: TCP Data received {"connection_id":152773,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:10:06] local.INFO: Processing buffer {"connection_id":152773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:10:06] local.INFO: IMEI packet received {"connection_id":152773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":152773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:10:07] local.INFO: TCP Data received {"connection_id":152773,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:10:07] local.INFO: Processing buffer {"connection_id":152773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:10:07] local.INFO: IMEI packet received {"connection_id":152773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":152773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:10:08] local.INFO: TCP Data received {"connection_id":155088,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:10:08] local.INFO: Processing buffer {"connection_id":155088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:10:08] local.INFO: IMEI packet received {"connection_id":155088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":155088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:10:10] local.INFO: TCP Data received {"connection_id":152773,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:10:10] local.INFO: Processing buffer {"connection_id":152773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:10:10] local.INFO: IMEI packet received {"connection_id":152773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":152773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:10:10] local.INFO: TCP Data received {"connection_id":152773,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:10:10] local.INFO: Processing buffer {"connection_id":152773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:10:10] local.INFO: IMEI packet received {"connection_id":152773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":152773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:10:13] local.INFO: TCP Data received {"connection_id":155088,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:10:13] local.INFO: Processing buffer {"connection_id":155088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:10:13] local.INFO: IMEI packet received {"connection_id":155088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":155088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:10:14] local.INFO: TCP Data received {"connection_id":155088,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d5f6b0012d83328005d151b0000900f723..."} 
[2026-08-11 18:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d5f6b0012d83328005d151b0000900f723..."} 
[2026-08-11 18:10:14] local.INFO: Processing buffer {"connection_id":155088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d5f6b0012d83328005d151b0000900f723..."} 
[2026-08-11 18:10:14] local.INFO: Packet analysis {"connection_id":155088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d5"} 
[2026-08-11 18:10:14] local.INFO: Extracted packet for processing {"connection_id":155088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d5"} 
[2026-08-11 18:10:14] local.INFO: GPS Element Parsed {"raw_longitude":763572864,"raw_latitude":97604016,"longitude_deg":76.3572864,"latitude_deg":9.7604016,"altitude":9,"angle":247,"satellites":35,"speed":12,"hex_longitude":"2d833280","hex_latitude":"05d151b0","is_valid_coordinates":true} 
[2026-08-11 18:10: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-08-11 18:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331707136001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117780222438277120,"note":"Value kept but may cause issues"} 
[2026-08-11 18:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992844005942087680,"note":"Value kept but may cause issues"} 
[2026-08-11 18:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786451982000,"timestamp_ms":1786451982000,"timestamp_seconds":1786451982,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d5f6b0"} 
[2026-08-11 18:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:10:14] 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-08-11 18:10: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-11 18:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18:10: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-08-11 18:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331707136001,"66":13091,"63":206,"85":15104,"24":12,"16":117780222438277120,"45":-8992844005942087680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 18:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331707136001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:10:14] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 18:10:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117780222438277120,"km_value":117780222438277.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992844005942087680,"description":"Unknown IO ID 45"} 
[2026-08-11 18:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331707136001,"power":13091,"unknown_63":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-8992844005942087680}} 
[2026-08-11 18:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":155088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:10:14] local.INFO: GPS data processed {"connection_id":155088,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:10:14] local.INFO: Acknowledgment sent {"connection_id":155088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:10:32] local.INFO: TCP Data received {"connection_id":153710,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:10:32] local.INFO: Processing buffer {"connection_id":153710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:10:32] local.INFO: IMEI packet received {"connection_id":153710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":153710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:10:34] local.INFO: TCP Data received {"connection_id":153710,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:10:34] local.INFO: Processing buffer {"connection_id":153710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:10:34] local.INFO: IMEI packet received {"connection_id":153710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":153710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:10:39] local.INFO: TCP Data received {"connection_id":153710,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:10:39] local.INFO: Processing buffer {"connection_id":153710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:10:39] local.INFO: IMEI packet received {"connection_id":153710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":153710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:10:40] local.INFO: TCP Data received {"connection_id":153710,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d5df40012d7d5d4005a9a9c8000e00212a..."} 
[2026-08-11 18:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d5df40012d7d5d4005a9a9c8000e00212a..."} 
[2026-08-11 18:10:40] local.INFO: Processing buffer {"connection_id":153710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d5df40012d7d5d4005a9a9c8000e00212a..."} 
[2026-08-11 18:10:40] local.INFO: Packet analysis {"connection_id":153710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d5"} 
[2026-08-11 18:10:40] local.INFO: Extracted packet for processing {"connection_id":153710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d5"} 
[2026-08-11 18:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763190592,"raw_latitude":95005128,"longitude_deg":76.3190592,"latitude_deg":9.5005128,"altitude":14,"angle":33,"satellites":42,"speed":42,"hex_longitude":"2d7d5d40","hex_latitude":"05a9a9c8","is_valid_coordinates":true} 
[2026-08-11 18:10: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-08-11 18:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331703552001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377947355292368896,"note":"Value kept but may cause issues"} 
[2026-08-11 18:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027746952360210432,"note":"Value kept but may cause issues"} 
[2026-08-11 18:10:40] 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-08-11 18:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786451976000,"timestamp_ms":1786451976000,"timestamp_seconds":1786451976,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d5df40"} 
[2026-08-11 18:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18:10: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-08-11 18:10: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-08-11 18:10: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-08-11 18:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:10: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-08-11 18:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331703552001,"66":27865,"185":206,"85":14336,"24":42,"16":377947355292368896,"45":9027746952360210432},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 18:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331703552001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:10:40] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 18:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377947355292368896,"km_value":377947355292368.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027746952360210432,"description":"Unknown IO ID 45"} 
[2026-08-11 18:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331703552001,"power":27865,"unknown_185":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":9027746952360210432}} 
[2026-08-11 18:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":153710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:10:40] local.INFO: GPS data processed {"connection_id":153710,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:10:40] local.INFO: Acknowledgment sent {"connection_id":153710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:10:45] local.INFO: TCP Data received {"connection_id":155088,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d5fa98012d83314005d151700009010a23..."} 
[2026-08-11 18:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d5fa98012d83314005d151700009010a23..."} 
[2026-08-11 18:10:45] local.INFO: Processing buffer {"connection_id":155088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d5fa98012d83314005d151700009010a23..."} 
[2026-08-11 18:10:45] local.INFO: Packet analysis {"connection_id":155088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d5"} 
[2026-08-11 18:10:45] local.INFO: Extracted packet for processing {"connection_id":155088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d5"} 
[2026-08-11 18:10:45] local.INFO: GPS Element Parsed {"raw_longitude":763572544,"raw_latitude":97603952,"longitude_deg":76.3572544,"latitude_deg":9.7603952,"altitude":9,"angle":266,"satellites":35,"speed":12,"hex_longitude":"2d833140","hex_latitude":"05d15170","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331707392001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117780239618146304,"note":"Value kept but may cause issues"} 
[2026-08-11 18:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992984743430475776,"note":"Value kept but may cause issues"} 
[2026-08-11 18:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786451983000,"timestamp_ms":1786451983000,"timestamp_seconds":1786451983,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d5fa98"} 
[2026-08-11 18:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:10:45] 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-08-11 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-11 18:10:45] 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-08-11 18: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-08-11 18:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331707392001,"66":13091,"63":206,"85":15104,"24":12,"16":117780239618146304,"45":-8992984743430475776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 18:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331707392001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:10:45] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 18:10:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117780239618146304,"km_value":117780239618146.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992984743430475776,"description":"Unknown IO ID 45"} 
[2026-08-11 18:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331707392001,"power":13091,"unknown_63":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-8992984743430475776}} 
[2026-08-11 18:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":155088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:10:45] local.INFO: GPS data processed {"connection_id":155088,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:10:45] local.INFO: Acknowledgment sent {"connection_id":155088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:11:08] local.INFO: TCP Data received {"connection_id":155089,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:11:08] local.INFO: Processing buffer {"connection_id":155089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:11:08] local.INFO: IMEI packet received {"connection_id":155089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":155089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:11:12] local.INFO: TCP Data received {"connection_id":155089,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:11:12] local.INFO: Processing buffer {"connection_id":155089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:11:12] local.INFO: IMEI packet received {"connection_id":155089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":155089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:11:13] local.INFO: TCP Data received {"connection_id":155089,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:11:13] local.INFO: Processing buffer {"connection_id":155089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:11:13] local.INFO: IMEI packet received {"connection_id":155089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":155089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:11:14] local.INFO: TCP Data received {"connection_id":155089,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d6f0b0012d82948005d16848000c012224..."} 
[2026-08-11 18:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d6f0b0012d82948005d16848000c012224..."} 
[2026-08-11 18:11:14] local.INFO: Processing buffer {"connection_id":155089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d6f0b0012d82948005d16848000c012224..."} 
[2026-08-11 18:11:14] local.INFO: Packet analysis {"connection_id":155089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d6"} 
[2026-08-11 18:11:14] local.INFO: Extracted packet for processing {"connection_id":155089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d6"} 
[2026-08-11 18:11:14] local.INFO: GPS Element Parsed {"raw_longitude":763532416,"raw_latitude":97609800,"longitude_deg":76.3532416,"latitude_deg":9.76098,"altitude":12,"angle":290,"satellites":36,"speed":12,"hex_longitude":"2d829480","hex_latitude":"05d16848","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331723520001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117782228188004352,"note":"Value kept but may cause issues"} 
[2026-08-11 18:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037105946028427264,"note":"Value kept but may cause issues"} 
[2026-08-11 18:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786452046000,"timestamp_ms":1786452046000,"timestamp_seconds":1786452046,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d6f0b0"} 
[2026-08-11 18:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:11:14] 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-08-11 18: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-11 18:11:14] 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-08-11 18: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-08-11 18:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331723520001,"66":13276,"63":206,"85":15104,"24":12,"16":117782228188004352,"45":-9037105946028427264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 18:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331723520001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:11:14] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 18:11:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117782228188004352,"km_value":117782228188004.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037105946028427264,"description":"Unknown IO ID 45"} 
[2026-08-11 18:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331723520001,"power":13276,"unknown_63":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9037105946028427264}} 
[2026-08-11 18:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":155089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:11:14] local.INFO: GPS data processed {"connection_id":155089,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:11:14] local.INFO: Acknowledgment sent {"connection_id":155089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:11:29] local.INFO: TCP Data received {"connection_id":152774,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:11:29] local.INFO: Processing buffer {"connection_id":152774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:11:29] local.INFO: IMEI packet received {"connection_id":152774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":152774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:11:34] local.INFO: TCP Data received {"connection_id":152774,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:11:34] local.INFO: Processing buffer {"connection_id":152774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:11:34] local.INFO: IMEI packet received {"connection_id":152774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":152774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:11:34] local.INFO: TCP Data received {"connection_id":152774,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d5fe80012d7d708005a9c788000c001f2a..."} 
[2026-08-11 18:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d5fe80012d7d708005a9c788000c001f2a..."} 
[2026-08-11 18:11:34] local.INFO: Processing buffer {"connection_id":152774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d5fe80012d7d708005a9c788000c001f2a..."} 
[2026-08-11 18:11:34] local.INFO: Packet analysis {"connection_id":152774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d5"} 
[2026-08-11 18:11:34] local.INFO: Extracted packet for processing {"connection_id":152774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d5"} 
[2026-08-11 18:11:34] local.INFO: GPS Element Parsed {"raw_longitude":763195520,"raw_latitude":95012744,"longitude_deg":76.319552,"latitude_deg":9.5012744,"altitude":12,"angle":31,"satellites":42,"speed":45,"hex_longitude":"2d7d7080","hex_latitude":"05a9c788","is_valid_coordinates":true} 
[2026-08-11 18:11: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-08-11 18:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331705856001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377947793379033088,"note":"Value kept but may cause issues"} 
[2026-08-11 18:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9033446820640573440,"note":"Value kept but may cause issues"} 
[2026-08-11 18:11:34] 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-08-11 18:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786451984000,"timestamp_ms":1786451984000,"timestamp_seconds":1786451984,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d5fe80"} 
[2026-08-11 18:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18:11: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-08-11 18:11: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-08-11 18:11: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-08-11 18:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:11: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-08-11 18:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331705856001,"66":27767,"185":206,"85":14336,"24":45,"16":377947793379033088,"45":9033446820640573440},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 18:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331705856001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:11:34] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 18:11:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377947793379033088,"km_value":377947793379033.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9033446820640573440,"description":"Unknown IO ID 45"} 
[2026-08-11 18:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331705856001,"power":27767,"unknown_185":206,"unknown_85":14336,"ignition":45,"odometer":null,"unknown_45":9033446820640573440}} 
[2026-08-11 18:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":152774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:11:34] local.INFO: GPS data processed {"connection_id":152774,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:11:34] local.INFO: Acknowledgment sent {"connection_id":152774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:11:45] local.INFO: TCP Data received {"connection_id":155089,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d6f498012d82930005d16878000d010f24..."} 
[2026-08-11 18:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d6f498012d82930005d16878000d010f24..."} 
[2026-08-11 18:11:45] local.INFO: Processing buffer {"connection_id":155089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d6f498012d82930005d16878000d010f24..."} 
[2026-08-11 18:11:45] local.INFO: Packet analysis {"connection_id":155089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d6"} 
[2026-08-11 18:11:45] local.INFO: Extracted packet for processing {"connection_id":155089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d6"} 
[2026-08-11 18:11:45] local.INFO: GPS Element Parsed {"raw_longitude":763532032,"raw_latitude":97609848,"longitude_deg":76.3532032,"latitude_deg":9.7609848,"altitude":13,"angle":271,"satellites":36,"speed":15,"hex_longitude":"2d829300","hex_latitude":"05d16878","is_valid_coordinates":true} 
[2026-08-11 18:11: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-08-11 18:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331723776001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117782245367873536,"note":"Value kept but may cause issues"} 
[2026-08-11 18:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037457789749278720,"note":"Value kept but may cause issues"} 
[2026-08-11 18:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786452047000,"timestamp_ms":1786452047000,"timestamp_seconds":1786452047,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d6f498"} 
[2026-08-11 18:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:11:45] 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-08-11 18:11: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-11 18:11:45] 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-08-11 18:11: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-08-11 18:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331723776001,"66":13276,"63":206,"85":15104,"24":15,"16":117782245367873536,"45":-9037457789749278720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 18:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331723776001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:11:45] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 18:11:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117782245367873536,"km_value":117782245367873.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037457789749278720,"description":"Unknown IO ID 45"} 
[2026-08-11 18:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331723776001,"power":13276,"unknown_63":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9037457789749278720}} 
[2026-08-11 18:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":155089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:11:45] local.INFO: GPS data processed {"connection_id":155089,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:11:45] local.INFO: Acknowledgment sent {"connection_id":155089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:12:13] local.INFO: TCP Data received {"connection_id":153712,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:12:13] local.INFO: Processing buffer {"connection_id":153712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:12:13] local.INFO: IMEI packet received {"connection_id":153712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":153712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:12:18] local.INFO: TCP Data received {"connection_id":153712,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:12:18] local.INFO: Processing buffer {"connection_id":153712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:12:18] local.INFO: IMEI packet received {"connection_id":153712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":153712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:12:19] local.INFO: TCP Data received {"connection_id":153712,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d72760012d826f8005d165e0000e010a24..."} 
[2026-08-11 18:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d72760012d826f8005d165e0000e010a24..."} 
[2026-08-11 18:12:19] local.INFO: Processing buffer {"connection_id":153712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d72760012d826f8005d165e0000e010a24..."} 
[2026-08-11 18:12:19] local.INFO: Packet analysis {"connection_id":153712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d7"} 
[2026-08-11 18:12:19] local.INFO: Extracted packet for processing {"connection_id":153712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d7"} 
[2026-08-11 18:12:19] local.INFO: GPS Element Parsed {"raw_longitude":763522944,"raw_latitude":97609184,"longitude_deg":76.3522944,"latitude_deg":9.7609184,"altitude":14,"angle":266,"satellites":36,"speed":30,"hex_longitude":"2d826f80","hex_latitude":"05d165e0","is_valid_coordinates":true} 
[2026-08-11 18:12: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-08-11 18:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331724032001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117782683454537728,"note":"Value kept but may cause issues"} 
[2026-08-11 18:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037880002214332416,"note":"Value kept but may cause issues"} 
[2026-08-11 18:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786452060000,"timestamp_ms":1786452060000,"timestamp_seconds":1786452060,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d72760"} 
[2026-08-11 18:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:12:19] 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-08-11 18:12: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":220,"data_length":795,"current_offset":136} 
[2026-08-11 18:12:19] 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-08-11 18:12: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-08-11 18:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331724032001,"66":13135,"63":206,"85":15104,"24":30,"16":117782683454537728,"45":-9037880002214332416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 18:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331724032001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:12:19] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 18:12:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117782683454537728,"km_value":117782683454537.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037880002214332416,"description":"Unknown IO ID 45"} 
[2026-08-11 18:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331724032001,"power":13135,"unknown_63":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9037880002214332416}} 
[2026-08-11 18:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":153712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:12:19] local.INFO: GPS data processed {"connection_id":153712,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:12:19] local.INFO: Acknowledgment sent {"connection_id":153712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:12:19] local.INFO: TCP Data received {"connection_id":153712,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d75258012d8249c005d16470000b011224..."} 
[2026-08-11 18:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d75258012d8249c005d16470000b011224..."} 
[2026-08-11 18:12:19] local.INFO: Processing buffer {"connection_id":153712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d75258012d8249c005d16470000b011224..."} 
[2026-08-11 18:12:19] local.INFO: Packet analysis {"connection_id":153712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d7"} 
[2026-08-11 18:12:19] local.INFO: Extracted packet for processing {"connection_id":153712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d7"} 
[2026-08-11 18:12:19] local.INFO: GPS Element Parsed {"raw_longitude":763513280,"raw_latitude":97608816,"longitude_deg":76.351328,"latitude_deg":9.7608816,"altitude":11,"angle":274,"satellites":36,"speed":32,"hex_longitude":"2d8249c0","hex_latitude":"05d16470","is_valid_coordinates":true} 
[2026-08-11 18:12: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-08-11 18:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331727360001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117783143016038400,"note":"Value kept but may cause issues"} 
[2026-08-11 18:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9047872363887730688,"note":"Value kept but may cause issues"} 
[2026-08-11 18:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786452071000,"timestamp_ms":1786452071000,"timestamp_seconds":1786452071,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d75258"} 
[2026-08-11 18:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:12:19] 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-08-11 18:12: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":79,"data_length":795,"current_offset":136} 
[2026-08-11 18:12:19] 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-08-11 18:12: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-08-11 18:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331727360001,"66":13276,"63":206,"85":15104,"24":32,"16":117783143016038400,"45":-9047872363887730688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 18:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331727360001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:12:19] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 18:12:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117783143016038400,"km_value":117783143016038.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9047872363887730688,"description":"Unknown IO ID 45"} 
[2026-08-11 18:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331727360001,"power":13276,"unknown_63":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9047872363887730688}} 
[2026-08-11 18:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":153712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:12:19] local.INFO: GPS data processed {"connection_id":153712,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:12:19] local.INFO: Acknowledgment sent {"connection_id":153712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:12:22] local.INFO: TCP Data received {"connection_id":153713,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:12:22] local.INFO: Processing buffer {"connection_id":153713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:12:22] local.INFO: IMEI packet received {"connection_id":153713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":153713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:12:23] local.INFO: TCP Data received {"connection_id":153713,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:12:24] local.INFO: Processing buffer {"connection_id":153713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:12:24] local.INFO: IMEI packet received {"connection_id":153713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":153713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:12:29] local.INFO: TCP Data received {"connection_id":153713,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:12:29] local.INFO: Processing buffer {"connection_id":153713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:12:29] local.INFO: IMEI packet received {"connection_id":153713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":153713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:12:30] local.INFO: TCP Data received {"connection_id":153713,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d78138012d7e3b4005ab09c0000700202a..."} 
[2026-08-11 18:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d78138012d7e3b4005ab09c0000700202a..."} 
[2026-08-11 18:12:30] local.INFO: Processing buffer {"connection_id":153713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d78138012d7e3b4005ab09c0000700202a..."} 
[2026-08-11 18:12:30] local.INFO: Packet analysis {"connection_id":153713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d7"} 
[2026-08-11 18:12:30] local.INFO: Extracted packet for processing {"connection_id":153713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d7"} 
[2026-08-11 18:12:30] local.INFO: GPS Element Parsed {"raw_longitude":763247424,"raw_latitude":95095232,"longitude_deg":76.3247424,"latitude_deg":9.5095232,"altitude":7,"angle":32,"satellites":42,"speed":40,"hex_longitude":"2d7e3b40","hex_latitude":"05ab09c0","is_valid_coordinates":true} 
[2026-08-11 18:12: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-08-11 18:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331730688001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377952509253124096,"note":"Value kept but may cause issues"} 
[2026-08-11 18:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090515872189777920,"note":"Value kept but may cause issues"} 
[2026-08-11 18:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786452083000,"timestamp_ms":1786452083000,"timestamp_seconds":1786452083,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d78138"} 
[2026-08-11 18:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18:12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:12:30] 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-08-11 18:12: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-08-11 18:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:12:30] 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-08-11 18:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331730688001,"66":27800,"40":206,"85":14336,"24":40,"16":377952509253124096,"45":9090515872189777920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-08-11 18:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331730688001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:12:30] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-11 18:12:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377952509253124096,"km_value":377952509253124.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090515872189777920,"description":"Unknown IO ID 45"} 
[2026-08-11 18:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331730688001,"power":27800,"unknown_40":206,"unknown_85":14336,"ignition":40,"odometer":null,"unknown_45":9090515872189777920}} 
[2026-08-11 18:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":153713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:12:30] local.INFO: GPS data processed {"connection_id":153713,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:12:30] local.INFO: Acknowledgment sent {"connection_id":153713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:12:34] local.INFO: TCP Data received {"connection_id":153713,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d7a460012d7e50c005ab2a10000700212a..."} 
[2026-08-11 18:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d7a460012d7e50c005ab2a10000700212a..."} 
[2026-08-11 18:12:34] local.INFO: Processing buffer {"connection_id":153713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d7a460012d7e50c005ab2a10000700212a..."} 
[2026-08-11 18:12:34] local.INFO: Packet analysis {"connection_id":153713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d7"} 
[2026-08-11 18:12:34] local.INFO: Extracted packet for processing {"connection_id":153713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d7"} 
[2026-08-11 18:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763252928,"raw_latitude":95103504,"longitude_deg":76.3252928,"latitude_deg":9.5103504,"altitude":7,"angle":33,"satellites":42,"speed":46,"hex_longitude":"2d7e50c0","hex_latitude":"05ab2a10","is_valid_coordinates":true} 
[2026-08-11 18:12: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-08-11 18:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331733248001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377952985994493952,"note":"Value kept but may cause issues"} 
[2026-08-11 18:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095934265493405696,"note":"Value kept but may cause issues"} 
[2026-08-11 18:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786452092000,"timestamp_ms":1786452092000,"timestamp_seconds":1786452092,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d7a460"} 
[2026-08-11 18:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18:12: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-08-11 18:12: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-08-11 18:12: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-08-11 18:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:12: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-08-11 18:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331733248001,"66":27865,"40":206,"85":14336,"24":46,"16":377952985994493952,"45":9095934265493405696},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-08-11 18:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331733248001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:12:34] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-11 18:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377952985994493952,"km_value":377952985994493.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095934265493405696,"description":"Unknown IO ID 45"} 
[2026-08-11 18:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331733248001,"power":27865,"unknown_40":206,"unknown_85":14336,"ignition":46,"odometer":null,"unknown_45":9095934265493405696}} 
[2026-08-11 18:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":153713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:12:34] local.INFO: GPS data processed {"connection_id":153713,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:12:34] local.INFO: Acknowledgment sent {"connection_id":153713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:12:51] local.INFO: TCP Data received {"connection_id":153712,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d761f8012d823cc005d16700000b011e24..."} 
[2026-08-11 18:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d761f8012d823cc005d16700000b011e24..."} 
[2026-08-11 18:12:51] local.INFO: Processing buffer {"connection_id":153712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d761f8012d823cc005d16700000b011e24..."} 
[2026-08-11 18:12:51] local.INFO: Packet analysis {"connection_id":153712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d7"} 
[2026-08-11 18:12:51] local.INFO: Extracted packet for processing {"connection_id":153712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d7"} 
[2026-08-11 18:12:51] local.INFO: GPS Element Parsed {"raw_longitude":763509952,"raw_latitude":97609472,"longitude_deg":76.3509952,"latitude_deg":9.7609472,"altitude":11,"angle":286,"satellites":36,"speed":32,"hex_longitude":"2d823cc0","hex_latitude":"05d16700","is_valid_coordinates":true} 
[2026-08-11 18:12: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-08-11 18:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331730176001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117783306224795648,"note":"Value kept but may cause issues"} 
[2026-08-11 18:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058498044258652160,"note":"Value kept but may cause issues"} 
[2026-08-11 18:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786452075000,"timestamp_ms":1786452075000,"timestamp_seconds":1786452075,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d761f8"} 
[2026-08-11 18:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:12:51] 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-08-11 18:12: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-11 18:12:51] 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-08-11 18:12: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-08-11 18:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331730176001,"66":13135,"63":206,"85":15104,"24":32,"16":117783306224795648,"45":-9058498044258652160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 18:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331730176001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:12:51] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 18:12:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117783306224795648,"km_value":117783306224795.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058498044258652160,"description":"Unknown IO ID 45"} 
[2026-08-11 18:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331730176001,"power":13135,"unknown_63":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9058498044258652160}} 
[2026-08-11 18:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":153712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:12:51] local.INFO: GPS data processed {"connection_id":153712,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:12:51] local.INFO: Acknowledgment sent {"connection_id":153712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:13:08] local.INFO: TCP Data received {"connection_id":152775,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:13:08] local.INFO: Processing buffer {"connection_id":152775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:13:08] local.INFO: IMEI packet received {"connection_id":152775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":152775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:13:13] local.INFO: TCP Data received {"connection_id":152775,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:13:13] local.INFO: Processing buffer {"connection_id":152775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:13:13] local.INFO: IMEI packet received {"connection_id":152775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":152775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:13:14] local.INFO: TCP Data received {"connection_id":152775,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d76db0012d8234c005d16ab0000a012f23..."} 
[2026-08-11 18:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d76db0012d8234c005d16ab0000a012f23..."} 
[2026-08-11 18:13:14] local.INFO: Processing buffer {"connection_id":152775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d76db0012d8234c005d16ab0000a012f23..."} 
[2026-08-11 18:13:14] local.INFO: Packet analysis {"connection_id":152775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d7"} 
[2026-08-11 18:13:14] local.INFO: Extracted packet for processing {"connection_id":152775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d7"} 
[2026-08-11 18:13:14] local.INFO: GPS Element Parsed {"raw_longitude":763507904,"raw_latitude":97610416,"longitude_deg":76.3507904,"latitude_deg":9.7610416,"altitude":10,"angle":303,"satellites":35,"speed":26,"hex_longitude":"2d8234c0","hex_latitude":"05d16ab0","is_valid_coordinates":true} 
[2026-08-11 18:13: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-08-11 18:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331731200001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117783413598978048,"note":"Value kept but may cause issues"} 
[2026-08-11 18:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062157218955722752,"note":"Value kept but may cause issues"} 
[2026-08-11 18:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786452078000,"timestamp_ms":1786452078000,"timestamp_seconds":1786452078,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d76db0"} 
[2026-08-11 18:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:13:14] 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-08-11 18:13: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-11 18:13:14] 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-08-11 18:13: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-08-11 18:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331731200001,"66":13319,"63":206,"85":15104,"24":26,"16":117783413598978048,"45":-9062157218955722752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-11 18:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331731200001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:13:14] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-11 18:13:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117783413598978048,"km_value":117783413598978.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062157218955722752,"description":"Unknown IO ID 45"} 
[2026-08-11 18:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331731200001,"power":13319,"unknown_63":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9062157218955722752}} 
[2026-08-11 18:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":152775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:13:14] local.INFO: GPS data processed {"connection_id":152775,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:13:14] local.INFO: Acknowledgment sent {"connection_id":152775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:13:17] local.INFO: TCP Data received {"connection_id":155091,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:13:17] local.INFO: Processing buffer {"connection_id":155091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:13:17] local.INFO: IMEI packet received {"connection_id":155091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":155091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:13:19] local.INFO: TCP Data received {"connection_id":155091,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:13:19] local.INFO: Processing buffer {"connection_id":155091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:13:19] local.INFO: IMEI packet received {"connection_id":155091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":155091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:13:24] local.INFO: TCP Data received {"connection_id":155091,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:13:24] local.INFO: Processing buffer {"connection_id":155091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:13:24] local.INFO: IMEI packet received {"connection_id":155091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":155091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:13:24] local.INFO: TCP Data received {"connection_id":155091,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d7c3a0012d7e5ec005ab4228000700142a..."} 
[2026-08-11 18:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d7c3a0012d7e5ec005ab4228000700142a..."} 
[2026-08-11 18:13:24] local.INFO: Processing buffer {"connection_id":155091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d7c3a0012d7e5ec005ab4228000700142a..."} 
[2026-08-11 18:13:24] local.INFO: Packet analysis {"connection_id":155091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d7"} 
[2026-08-11 18:13:24] local.INFO: Extracted packet for processing {"connection_id":155091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d7"} 
[2026-08-11 18:13:24] local.INFO: GPS Element Parsed {"raw_longitude":763256512,"raw_latitude":95109672,"longitude_deg":76.3256512,"latitude_deg":9.5109672,"altitude":7,"angle":20,"satellites":42,"speed":24,"hex_longitude":"2d7e5ec0","hex_latitude":"05ab4228","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331735552001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377953329591877632,"note":"Value kept but may cause issues"} 
[2026-08-11 18:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101985977494802432,"note":"Value kept but may cause issues"} 
[2026-08-11 18:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786452100000,"timestamp_ms":1786452100000,"timestamp_seconds":1786452100,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d7c3a0"} 
[2026-08-11 18:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 18:13:24] 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-08-11 18: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-08-11 18:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:13:24] 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-08-11 18:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331735552001,"66":27908,"40":206,"85":14336,"24":24,"16":377953329591877632,"45":9101985977494802432},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-08-11 18:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331735552001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:13:24] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-11 18:13:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377953329591877632,"km_value":377953329591877.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101985977494802432,"description":"Unknown IO ID 45"} 
[2026-08-11 18:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331735552001,"power":27908,"unknown_40":206,"unknown_85":14336,"ignition":24,"odometer":null,"unknown_45":9101985977494802432}} 
[2026-08-11 18:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":155091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:13:25] local.INFO: GPS data processed {"connection_id":155091,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:13:25] local.INFO: Acknowledgment sent {"connection_id":155091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:13:45] local.INFO: TCP Data received {"connection_id":152775,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d94a40012d81bd0005d182980003010b24..."} 
[2026-08-11 18:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d94a40012d81bd0005d182980003010b24..."} 
[2026-08-11 18:13:45] local.INFO: Processing buffer {"connection_id":152775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d94a40012d81bd0005d182980003010b24..."} 
[2026-08-11 18:13:45] local.INFO: Packet analysis {"connection_id":152775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d9"} 
[2026-08-11 18:13:45] local.INFO: Extracted packet for processing {"connection_id":152775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d9"} 
[2026-08-11 18:13:45] local.INFO: GPS Element Parsed {"raw_longitude":763477248,"raw_latitude":97616536,"longitude_deg":76.3477248,"latitude_deg":9.7616536,"altitude":3,"angle":267,"satellites":36,"speed":0,"hex_longitude":"2d81bd00","hex_latitude":"05d18298","is_valid_coordinates":true} 
[2026-08-11 18:13: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-08-11 18:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331757824001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117784938312368128,"note":"Value kept but may cause issues"} 
[2026-08-11 18:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098115647228700672,"note":"Value kept but may cause issues"} 
[2026-08-11 18:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786452200000,"timestamp_ms":1786452200000,"timestamp_seconds":1786452200,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d94a40"} 
[2026-08-11 18:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:13:45] 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-08-11 18:13: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 18:13:45] 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-08-11 18:13: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-08-11 18:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331757824001,"66":13091,"65":206,"85":15104,"24":0,"16":117784938312368128,"45":-9098115647228700672},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-11 18:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331757824001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:13:45] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-11 18:13:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117784938312368128,"km_value":117784938312368.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098115647228700672,"description":"Unknown IO ID 45"} 
[2026-08-11 18:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331757824001,"power":13091,"unknown_65":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9098115647228700672}} 
[2026-08-11 18:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":152775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:13:45] local.INFO: GPS data processed {"connection_id":152775,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:13:45] local.INFO: Acknowledgment sent {"connection_id":152775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:13:59] local.INFO: TCP Data received {"connection_id":155091,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d7d340012d7e61c005ab49180007001f2a..."} 
[2026-08-11 18:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d7d340012d7e61c005ab49180007001f2a..."} 
[2026-08-11 18:13:59] local.INFO: Processing buffer {"connection_id":155091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d7d340012d7e61c005ab49180007001f2a..."} 
[2026-08-11 18:13:59] local.INFO: Packet analysis {"connection_id":155091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d7"} 
[2026-08-11 18:13:59] local.INFO: Extracted packet for processing {"connection_id":155091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d7"} 
[2026-08-11 18:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763257280,"raw_latitude":95111448,"longitude_deg":76.325728,"latitude_deg":9.5111448,"altitude":7,"angle":31,"satellites":42,"speed":15,"hex_longitude":"2d7e61c0","hex_latitude":"05ab4918","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331737600001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377953424081158144,"note":"Value kept but may cause issues"} 
[2026-08-11 18:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105926627170330624,"note":"Value kept but may cause issues"} 
[2026-08-11 18:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786452104000,"timestamp_ms":1786452104000,"timestamp_seconds":1786452104,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d7d340"} 
[2026-08-11 18:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 18:13: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-08-11 18: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-08-11 18:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":155091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":155091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":155091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:13:59] 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-08-11 18:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331737600001,"66":27767,"40":206,"85":14336,"24":15,"16":377953424081158144,"45":9105926627170330624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-08-11 18:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331737600001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:13:59] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-11 18:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377953424081158144,"km_value":377953424081158.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105926627170330624,"description":"Unknown IO ID 45"} 
[2026-08-11 18:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331737600001,"power":27767,"unknown_40":206,"unknown_85":14336,"ignition":15,"odometer":null,"unknown_45":9105926627170330624}} 
[2026-08-11 18:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":155091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:13:59] local.INFO: GPS data processed {"connection_id":155091,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:13:59] local.INFO: Acknowledgment sent {"connection_id":155091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:14:08] local.INFO: TCP Data received {"connection_id":153714,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:14:08] local.INFO: Processing buffer {"connection_id":153714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:14:08] local.INFO: IMEI packet received {"connection_id":153714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":153714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:14:11] local.INFO: TCP Data received {"connection_id":153714,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:14:11] local.INFO: Processing buffer {"connection_id":153714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:14:11] local.INFO: IMEI packet received {"connection_id":153714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":153714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:14:12] local.INFO: TCP Data received {"connection_id":153714,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d99090012d8198c005d183200004010c25..."} 
[2026-08-11 18:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d99090012d8198c005d183200004010c25..."} 
[2026-08-11 18:14:12] local.INFO: Processing buffer {"connection_id":153714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d99090012d8198c005d183200004010c25..."} 
[2026-08-11 18:14:12] local.INFO: Packet analysis {"connection_id":153714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d9"} 
[2026-08-11 18:14:12] local.INFO: Extracted packet for processing {"connection_id":153714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d9"} 
[2026-08-11 18:14:12] local.INFO: GPS Element Parsed {"raw_longitude":763467968,"raw_latitude":97616672,"longitude_deg":76.3467968,"latitude_deg":9.7616672,"altitude":4,"angle":268,"satellites":37,"speed":30,"hex_longitude":"2d8198c0","hex_latitude":"05d18320","is_valid_coordinates":true} 
[2026-08-11 18:14: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-08-11 18:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331763200001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117785389283934208,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098115647228700672,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786452218000,"timestamp_ms":1786452218000,"timestamp_seconds":1786452218,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d99090"} 
[2026-08-11 18:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:14:12] 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-08-11 18:14: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-11 18:14:12] 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-08-11 18:14: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-08-11 18:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331763200001,"66":13319,"65":206,"85":15104,"24":30,"16":117785389283934208,"45":-9098115647228700672},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-11 18:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331763200001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:14:12] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-11 18:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117785389283934208,"km_value":117785389283934.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098115647228700672,"description":"Unknown IO ID 45"} 
[2026-08-11 18:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331763200001,"power":13319,"unknown_65":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9098115647228700672}} 
[2026-08-11 18:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":153714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:14:12] local.INFO: GPS data processed {"connection_id":153714,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:14:12] local.INFO: Acknowledgment sent {"connection_id":153714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:14:19] local.INFO: TCP Data received {"connection_id":155092,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:14:19] local.INFO: Processing buffer {"connection_id":155092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:14:19] local.INFO: IMEI packet received {"connection_id":155092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":155092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:14:24] local.INFO: TCP Data received {"connection_id":155092,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:14:24] local.INFO: Processing buffer {"connection_id":155092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:14:24] local.INFO: IMEI packet received {"connection_id":155092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":155092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:14:25] local.INFO: TCP Data received {"connection_id":155092,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d80608012d7e758005ab67500007002028..."} 
[2026-08-11 18:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d80608012d7e758005ab67500007002028..."} 
[2026-08-11 18:14:25] local.INFO: Processing buffer {"connection_id":155092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d80608012d7e758005ab67500007002028..."} 
[2026-08-11 18:14:25] local.INFO: Packet analysis {"connection_id":155092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d8"} 
[2026-08-11 18:14:25] local.INFO: Extracted packet for processing {"connection_id":155092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d8"} 
[2026-08-11 18:14:25] local.INFO: GPS Element Parsed {"raw_longitude":763262336,"raw_latitude":95119184,"longitude_deg":76.3262336,"latitude_deg":9.5119184,"altitude":7,"angle":32,"satellites":40,"speed":33,"hex_longitude":"2d7e7580","hex_latitude":"05ab6750","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331738624001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377953870757756928,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106771052100917248,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786452117000,"timestamp_ms":1786452117000,"timestamp_seconds":1786452117,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d80608"} 
[2026-08-11 18:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:14:25] 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-08-11 18: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-08-11 18:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:14:25] 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-08-11 18:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331738624001,"66":27604,"40":206,"85":14336,"24":33,"16":377953870757756928,"45":9106771052100917248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-08-11 18:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331738624001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:14:25] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-11 18:14:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377953870757756928,"km_value":377953870757756.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106771052100917248,"description":"Unknown IO ID 45"} 
[2026-08-11 18:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331738624001,"power":27604,"unknown_40":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":9106771052100917248}} 
[2026-08-11 18:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":155092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:14:25] local.INFO: GPS data processed {"connection_id":155092,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:14:25] local.INFO: Acknowledgment sent {"connection_id":155092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:14:43] local.INFO: TCP Data received {"connection_id":153714,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d99c48012d818f8005d184400004011c25..."} 
[2026-08-11 18:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d99c48012d818f8005d184400004011c25..."} 
[2026-08-11 18:14:43] local.INFO: Processing buffer {"connection_id":153714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d99c48012d818f8005d184400004011c25..."} 
[2026-08-11 18:14:43] local.INFO: Packet analysis {"connection_id":153714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d9"} 
[2026-08-11 18:14:43] local.INFO: Extracted packet for processing {"connection_id":153714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d9"} 
[2026-08-11 18:14:43] local.INFO: GPS Element Parsed {"raw_longitude":763465600,"raw_latitude":97616960,"longitude_deg":76.34656,"latitude_deg":9.761696,"altitude":4,"angle":284,"satellites":37,"speed":31,"hex_longitude":"2d818f80","hex_latitude":"05d18440","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331767808001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117785500953083904,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9108319115134427136,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786452221000,"timestamp_ms":1786452221000,"timestamp_seconds":1786452221,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d99c48"} 
[2026-08-11 18:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:14:43] 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-08-11 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 18:14:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4040686160,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176647173,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:43] local.WARNING: Large IO value detected {"io_id":3,"raw_value":57788411319047483,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:43] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3629393921,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:43] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-1535726177969799163,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:43] local.WARNING: Large IO value detected {"io_id":209,"raw_value":9002695680903095040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312882894,"corrected_to":0} 
[2026-08-11 18:14:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":381314,"corrected_to":0} 
[2026-08-11 18:14:43] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,65,85,24,241,157,16,117,159,74,45,130,3,36,10,66,116,248,35,166,1,240,215,227,209,4,113,205,2,200,216,239,49,162,5,28],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1312882894,"validated":0},{"io_id":200,"original":381314,"validated":0}]} 
[2026-08-11 18:14:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288525204183711744,"timestamp_seconds":288525204183711.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 18:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331767808001,"66":13254,"65":206,"85":15104,"24":31,"16":117785500953083904,"45":-9108319115134427136},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-11 18:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331767808001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:14:43] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-11 18:14:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117785500953083904,"km_value":117785500953083.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9108319115134427136,"description":"Unknown IO ID 45"} 
[2026-08-11 18:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331767808001,"power":13254,"unknown_65":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9108319115134427136}} 
[2026-08-11 18:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":153714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:14:43] local.INFO: GPS data processed {"connection_id":153714,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:14:43] local.INFO: Acknowledgment sent {"connection_id":153714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:14:56] local.INFO: TCP Data received {"connection_id":155092,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0d84870012d7e884005ab85680007001c25..."} 
[2026-08-11 18:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0d84870012d7e884005ab85680007001c25..."} 
[2026-08-11 18:14:56] local.INFO: Processing buffer {"connection_id":155092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0d84870012d7e884005ab85680007001c25..."} 
[2026-08-11 18:14:56] local.INFO: Packet analysis {"connection_id":155092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0d8"} 
[2026-08-11 18:14:56] local.INFO: Extracted packet for processing {"connection_id":155092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0d8"} 
[2026-08-11 18:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763267136,"raw_latitude":95126888,"longitude_deg":76.3267136,"latitude_deg":9.5126888,"altitude":7,"angle":28,"satellites":37,"speed":18,"hex_longitude":"2d7e8840","hex_latitude":"05ab8568","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331741952001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377954308844421120,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112330182892933120,"note":"Value kept but may cause issues"} 
[2026-08-11 18:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786452134000,"timestamp_ms":1786452134000,"timestamp_seconds":1786452134,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0d84870"} 
[2026-08-11 18:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 18:14:56] 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-08-11 18: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-08-11 18:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:14:56] 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-08-11 18:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331741952001,"66":27995,"40":206,"85":14336,"24":18,"16":377954308844421120,"45":9112330182892933120},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-08-11 18:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331741952001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:14:56] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-11 18:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377954308844421120,"km_value":377954308844421.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112330182892933120,"description":"Unknown IO ID 45"} 
[2026-08-11 18:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331741952001,"power":27995,"unknown_40":206,"unknown_85":14336,"ignition":18,"odometer":null,"unknown_45":9112330182892933120}} 
[2026-08-11 18:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":155092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:14:56] local.INFO: GPS data processed {"connection_id":155092,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:14:56] local.INFO: Acknowledgment sent {"connection_id":155092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:15:08] local.INFO: TCP Data received {"connection_id":152389,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:15:08] local.INFO: Processing buffer {"connection_id":152389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:15:08] local.INFO: IMEI packet received {"connection_id":152389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":152389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:15:12] local.INFO: TCP Data received {"connection_id":152389,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:15:12] local.INFO: Processing buffer {"connection_id":152389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:15:12] local.INFO: IMEI packet received {"connection_id":152389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":152389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:15:13] local.INFO: TCP Data received {"connection_id":152389,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0da6380012d81104005d197280001000021..."} 
[2026-08-11 18:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0da6380012d81104005d197280001000021..."} 
[2026-08-11 18:15:13] local.INFO: Processing buffer {"connection_id":152389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0da6380012d81104005d197280001000021..."} 
[2026-08-11 18:15:13] local.INFO: Packet analysis {"connection_id":152389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0da"} 
[2026-08-11 18:15:13] local.INFO: Extracted packet for processing {"connection_id":152389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0da"} 
[2026-08-11 18:15:13] local.INFO: GPS Element Parsed {"raw_longitude":763433024,"raw_latitude":97621800,"longitude_deg":76.3433024,"latitude_deg":9.76218,"altitude":1,"angle":0,"satellites":33,"speed":27,"hex_longitude":"2d811040","hex_latitude":"05d19728","is_valid_coordinates":true} 
[2026-08-11 18:15: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-08-11 18:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331780608001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117787214645035008,"note":"Value kept but may cause issues"} 
[2026-08-11 18:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146670080710490112,"note":"Value kept but may cause issues"} 
[2026-08-11 18:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786452272000,"timestamp_ms":1786452272000,"timestamp_seconds":1786452272,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0da6380"} 
[2026-08-11 18:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:15:13] 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-08-11 18:15: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-11 18:15:13] 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-08-11 18:15: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-08-11 18:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331780608001,"66":13319,"65":206,"85":15104,"24":27,"16":117787214645035008,"45":-9146670080710490112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-11 18:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331780608001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:15:13] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-11 18:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117787214645035008,"km_value":117787214645035.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146670080710490112,"description":"Unknown IO ID 45"} 
[2026-08-11 18:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331780608001,"power":13319,"unknown_65":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9146670080710490112}} 
[2026-08-11 18:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":152389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:15:13] local.INFO: GPS data processed {"connection_id":152389,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:15:13] local.INFO: Acknowledgment sent {"connection_id":152389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:15:15] local.INFO: TCP Data received {"connection_id":152778,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:15:15] local.INFO: Processing buffer {"connection_id":152778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:15:15] local.INFO: IMEI packet received {"connection_id":152778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":152778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:15:16] local.INFO: TCP Data received {"connection_id":152778,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0da30b8012d1ac640071f8d30003700a624..."} 
[2026-08-11 18:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0da30b8012d1ac640071f8d30003700a624..."} 
[2026-08-11 18:15:16] local.INFO: Processing buffer {"connection_id":152778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0da30b8012d1ac640071f8d30003700a624..."} 
[2026-08-11 18:15:16] local.INFO: Packet analysis {"connection_id":152778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0da"} 
[2026-08-11 18:15:16] local.INFO: Extracted packet for processing {"connection_id":152778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0da"} 
[2026-08-11 18:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756729408,"raw_latitude":119508272,"longitude_deg":75.6729408,"latitude_deg":11.9508272,"altitude":55,"angle":166,"satellites":36,"speed":26,"hex_longitude":"2d1ac640","hex_latitude":"071f8d30","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331778048001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11781271386587136,"note":"Value kept but may cause issues"} 
[2026-08-11 18:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929159152224944128,"note":"Value kept but may cause issues"} 
[2026-08-11 18:15:16] 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-08-11 18:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786452259000,"timestamp_ms":1786452259000,"timestamp_seconds":1786452259,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0da30b8"} 
[2026-08-11 18:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:15: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-08-11 18: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-11 18:15: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-08-11 18: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-08-11 18:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331778048001,"66":13450,"101":206,"83":41984,"24":26,"16":11781271386587136,"45":1929159152224944128},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 18:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331778048001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:15:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 18:15:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11781271386587136,"km_value":11781271386587.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929159152224944128,"description":"Unknown IO ID 45"} 
[2026-08-11 18:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331778048001,"power":13450,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1929159152224944128}} 
[2026-08-11 18:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":152778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:15:16] local.INFO: GPS data processed {"connection_id":152778,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:15:16] local.INFO: Acknowledgment sent {"connection_id":152778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:15:18] local.INFO: TCP Data received {"connection_id":152779,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:15:18] local.INFO: Processing buffer {"connection_id":152779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:15:18] local.INFO: IMEI packet received {"connection_id":152779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":152779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:15:18] local.INFO: TCP Data received {"connection_id":152779,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:15:18] local.INFO: Processing buffer {"connection_id":152779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:15:18] local.INFO: IMEI packet received {"connection_id":152779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":152779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:15:24] local.INFO: TCP Data received {"connection_id":152779,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:15:24] local.INFO: Processing buffer {"connection_id":152779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:15:24] local.INFO: IMEI packet received {"connection_id":152779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":152779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:15:25] local.INFO: TCP Data received {"connection_id":152779,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0da1560012d7eabc005acb370000801662a..."} 
[2026-08-11 18:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0da1560012d7eabc005acb370000801662a..."} 
[2026-08-11 18:15:25] local.INFO: Processing buffer {"connection_id":152779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0da1560012d7eabc005acb370000801662a..."} 
[2026-08-11 18:15:25] local.INFO: Packet analysis {"connection_id":152779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0da"} 
[2026-08-11 18:15:25] local.INFO: Extracted packet for processing {"connection_id":152779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0da"} 
[2026-08-11 18:15:25] local.INFO: GPS Element Parsed {"raw_longitude":763276224,"raw_latitude":95204208,"longitude_deg":76.3276224,"latitude_deg":9.5204208,"altitude":8,"angle":358,"satellites":42,"speed":48,"hex_longitude":"2d7eabc0","hex_latitude":"05acb370","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331774464001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377958135660281856,"note":"Value kept but may cause issues"} 
[2026-08-11 18:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127952044119732224,"note":"Value kept but may cause issues"} 
[2026-08-11 18:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786452252000,"timestamp_ms":1786452252000,"timestamp_seconds":1786452252,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0da1560"} 
[2026-08-11 18:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-11 18:15:25] 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-08-11 18: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-08-11 18:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:15:25] 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-08-11 18:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331774464001,"66":27604,"42":206,"85":14336,"24":48,"16":377958135660281856,"45":9127952044119732224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-08-11 18:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331774464001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:15:25] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-11 18:15:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377958135660281856,"km_value":377958135660281.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127952044119732224,"description":"Unknown IO ID 45"} 
[2026-08-11 18:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331774464001,"power":27604,"unknown_42":206,"unknown_85":14336,"ignition":48,"odometer":null,"unknown_45":9127952044119732224}} 
[2026-08-11 18:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":152779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:15:25] local.INFO: GPS data processed {"connection_id":152779,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:15:25] local.INFO: Acknowledgment sent {"connection_id":152779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:15:44] local.INFO: TCP Data received {"connection_id":152389,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0db6938012d81070005d274200000015a23..."} 
[2026-08-11 18:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0db6938012d81070005d274200000015a23..."} 
[2026-08-11 18:15:44] local.INFO: Processing buffer {"connection_id":152389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0db6938012d81070005d274200000015a23..."} 
[2026-08-11 18:15:44] local.INFO: Packet analysis {"connection_id":152389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0db"} 
[2026-08-11 18:15:44] local.INFO: Extracted packet for processing {"connection_id":152389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0db"} 
[2026-08-11 18:15:44] local.INFO: GPS Element Parsed {"raw_longitude":763430656,"raw_latitude":97678368,"longitude_deg":76.3430656,"latitude_deg":9.7678368,"altitude":0,"angle":346,"satellites":35,"speed":23,"hex_longitude":"2d810700","hex_latitude":"05d27420","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331798528001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117790130927828992,"note":"Value kept but may cause issues"} 
[2026-08-11 18:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149273724230182912,"note":"Value kept but may cause issues"} 
[2026-08-11 18:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786452339000,"timestamp_ms":1786452339000,"timestamp_seconds":1786452339,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0db6938"} 
[2026-08-11 18:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:15:44] 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-08-11 18: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 18:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18: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-08-11 18:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331798528001,"66":12102,"208":206,"85":15104,"24":23,"16":117790130927828992,"45":-9149273724230182912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-11 18:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331798528001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:15:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-11 18:15:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117790130927828992,"km_value":117790130927828.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149273724230182912,"description":"Unknown IO ID 45"} 
[2026-08-11 18:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331798528001,"power":12102,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9149273724230182912}} 
[2026-08-11 18:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":152389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:15:44] local.INFO: GPS data processed {"connection_id":152389,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:15:44] local.INFO: Acknowledgment sent {"connection_id":152389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:15:47] local.INFO: TCP Data received {"connection_id":152778,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0daf408012d1af680071f4018003f00921e..."} 
[2026-08-11 18:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0daf408012d1af680071f4018003f00921e..."} 
[2026-08-11 18:15:47] local.INFO: Processing buffer {"connection_id":152778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0daf408012d1af680071f4018003f00921e..."} 
[2026-08-11 18:15:47] local.INFO: Packet analysis {"connection_id":152778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0da"} 
[2026-08-11 18:15:47] local.INFO: Extracted packet for processing {"connection_id":152778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0da"} 
[2026-08-11 18:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756741760,"raw_latitude":119488536,"longitude_deg":75.674176,"latitude_deg":11.9488536,"altitude":63,"angle":146,"satellites":30,"speed":21,"hex_longitude":"2d1af680","hex_latitude":"071f4018","is_valid_coordinates":true} 
[2026-08-11 18:15: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-08-11 18:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331790848001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11782955013767168,"note":"Value kept but may cause issues"} 
[2026-08-11 18:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942599582357772288,"note":"Value kept but may cause issues"} 
[2026-08-11 18:15:47] 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-08-11 18:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786452309000,"timestamp_ms":1786452309000,"timestamp_seconds":1786452309,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0daf408"} 
[2026-08-11 18:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:15:47] 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-08-11 18:15: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 18:15:47] 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-08-11 18:15: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-08-11 18:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331790848001,"66":13972,"101":206,"83":41984,"24":21,"16":11782955013767168,"45":1942599582357772288},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 18:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331790848001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:15:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 18:15:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11782955013767168,"km_value":11782955013767.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942599582357772288,"description":"Unknown IO ID 45"} 
[2026-08-11 18:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331790848001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1942599582357772288}} 
[2026-08-11 18:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":152778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:15:47] local.INFO: GPS data processed {"connection_id":152778,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:15:47] local.INFO: Acknowledgment sent {"connection_id":152778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:16:05] local.INFO: TCP Data received {"connection_id":152779,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0da34a0012d7eab0005acdac8000a01672a..."} 
[2026-08-11 18:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0da34a0012d7eab0005acdac8000a01672a..."} 
[2026-08-11 18:16:05] local.INFO: Processing buffer {"connection_id":152779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0da34a0012d7eab0005acdac8000a01672a..."} 
[2026-08-11 18:16:05] local.INFO: Packet analysis {"connection_id":152779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0da"} 
[2026-08-11 18:16:05] local.INFO: Extracted packet for processing {"connection_id":152779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0da"} 
[2026-08-11 18:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763276032,"raw_latitude":95214280,"longitude_deg":76.3276032,"latitude_deg":9.521428,"altitude":10,"angle":359,"satellites":42,"speed":52,"hex_longitude":"2d7eab00","hex_latitude":"05acdac8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331776512001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377958625286553600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127600200401252352,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786452260000,"timestamp_ms":1786452260000,"timestamp_seconds":1786452260,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0da34a0"} 
[2026-08-11 18:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":212,"data_length":795,"current_offset":136} 
[2026-08-11 18:16: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-08-11 18: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-08-11 18:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:16: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-08-11 18:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331776512001,"66":27800,"42":206,"85":14336,"24":52,"16":377958625286553600,"45":9127600200401252352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-08-11 18:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331776512001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:16:05] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-11 18:16:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377958625286553600,"km_value":377958625286553.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127600200401252352,"description":"Unknown IO ID 45"} 
[2026-08-11 18:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331776512001,"power":27800,"unknown_42":206,"unknown_85":14336,"ignition":52,"odometer":null,"unknown_45":9127600200401252352}} 
[2026-08-11 18:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":152779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:16:05] local.INFO: GPS data processed {"connection_id":152779,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:16:05] local.INFO: Acknowledgment sent {"connection_id":152779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:16:07] local.INFO: TCP Data received {"connection_id":152780,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:16:07] local.INFO: Processing buffer {"connection_id":152780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:16:07] local.INFO: IMEI packet received {"connection_id":152780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":152780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:16:08] local.INFO: TCP Data received {"connection_id":152780,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:16:08] local.INFO: Processing buffer {"connection_id":152780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:16:08] local.INFO: IMEI packet received {"connection_id":152780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":152780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:16:13] local.INFO: TCP Data received {"connection_id":152780,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:16:13] local.INFO: Processing buffer {"connection_id":152780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:16:13] local.INFO: IMEI packet received {"connection_id":152780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":152780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:16:14] local.INFO: TCP Data received {"connection_id":152780,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0db6d20012d81070005d276900000016623..."} 
[2026-08-11 18:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0db6d20012d81070005d276900000016623..."} 
[2026-08-11 18:16:14] local.INFO: Processing buffer {"connection_id":152780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0db6d20012d81070005d276900000016623..."} 
[2026-08-11 18:16:14] local.INFO: Packet analysis {"connection_id":152780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0db"} 
[2026-08-11 18:16:14] local.INFO: Extracted packet for processing {"connection_id":152780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0db"} 
[2026-08-11 18:16:14] local.INFO: GPS Element Parsed {"raw_longitude":763430656,"raw_latitude":97678992,"longitude_deg":76.3430656,"latitude_deg":9.7678992,"altitude":0,"angle":358,"satellites":35,"speed":24,"hex_longitude":"2d810700","hex_latitude":"05d27690","is_valid_coordinates":true} 
[2026-08-11 18:16: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-08-11 18:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331798784001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117790160992600064,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149344092974211072,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786452340000,"timestamp_ms":1786452340000,"timestamp_seconds":1786452340,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0db6d20"} 
[2026-08-11 18:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:16:14] 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-08-11 18:16: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 18:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18:16: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-08-11 18:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331798784001,"66":13135,"208":206,"85":15104,"24":24,"16":117790160992600064,"45":-9149344092974211072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-11 18:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331798784001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:16:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-11 18:16:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117790160992600064,"km_value":117790160992600.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149344092974211072,"description":"Unknown IO ID 45"} 
[2026-08-11 18:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331798784001,"power":13135,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9149344092974211072}} 
[2026-08-11 18:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":152780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:16:14] local.INFO: GPS data processed {"connection_id":152780,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:16:14] local.INFO: Acknowledgment sent {"connection_id":152780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:16:18] local.INFO: TCP Data received {"connection_id":153715,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:16:18] local.INFO: Processing buffer {"connection_id":153715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:16:18] local.INFO: IMEI packet received {"connection_id":153715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":153715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:16:19] local.INFO: TCP Data received {"connection_id":155093,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:16:19] local.INFO: Processing buffer {"connection_id":155093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:16:19] local.INFO: IMEI packet received {"connection_id":155093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":155093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:16:24] local.INFO: TCP Data received {"connection_id":155093,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:16:24] local.INFO: Processing buffer {"connection_id":155093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:16:24] local.INFO: IMEI packet received {"connection_id":155093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":155093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:16:24] local.INFO: TCP Data received {"connection_id":153715,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:16:24] local.INFO: Processing buffer {"connection_id":153715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:16:24] local.INFO: IMEI packet received {"connection_id":153715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":153715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:16:25] local.INFO: TCP Data received {"connection_id":153715,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0da4ff8012d7eaa8005acfea0000b000029..."} 
[2026-08-11 18:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0da4ff8012d7eaa8005acfea0000b000029..."} 
[2026-08-11 18:16:25] local.INFO: Processing buffer {"connection_id":153715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0da4ff8012d7eaa8005acfea0000b000029..."} 
[2026-08-11 18:16:25] local.INFO: Packet analysis {"connection_id":153715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0da"} 
[2026-08-11 18:16:25] local.INFO: Extracted packet for processing {"connection_id":153715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0da"} 
[2026-08-11 18:16:25] local.INFO: GPS Element Parsed {"raw_longitude":763275904,"raw_latitude":95223456,"longitude_deg":76.3275904,"latitude_deg":9.5223456,"altitude":11,"angle":0,"satellites":41,"speed":52,"hex_longitude":"2d7eaa80","hex_latitude":"05acfea0","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331778560001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377959067668185088,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127389094171297792,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786452267000,"timestamp_ms":1786452267000,"timestamp_seconds":1786452267,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0da4ff8"} 
[2026-08-11 18:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 18:16:25] 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-08-11 18: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-08-11 18:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:16:25] 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-08-11 18:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331778560001,"66":27865,"42":206,"85":14336,"24":52,"16":377959067668185088,"45":9127389094171297792},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-08-11 18:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331778560001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:16:25] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-11 18:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-11 18:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377959067668185088,"km_value":377959067668185.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127389094171297792,"description":"Unknown IO ID 45"} 
[2026-08-11 18:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331778560001,"power":27865,"unknown_42":206,"unknown_85":14336,"ignition":52,"odometer":null,"unknown_45":9127389094171297792}} 
[2026-08-11 18:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":153715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:16:25] local.INFO: GPS data processed {"connection_id":153715,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:16:25] local.INFO: Acknowledgment sent {"connection_id":153715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:16:25] local.INFO: TCP Data received {"connection_id":155093,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0db03a8012d1afa80071f38600041009f1e..."} 
[2026-08-11 18:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0db03a8012d1afa80071f38600041009f1e..."} 
[2026-08-11 18:16:25] local.INFO: Processing buffer {"connection_id":155093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0db03a8012d1afa80071f38600041009f1e..."} 
[2026-08-11 18:16:25] local.INFO: Packet analysis {"connection_id":155093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0db"} 
[2026-08-11 18:16:25] local.INFO: Extracted packet for processing {"connection_id":155093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0db"} 
[2026-08-11 18:16:25] local.INFO: GPS Element Parsed {"raw_longitude":756742784,"raw_latitude":119486560,"longitude_deg":75.6742784,"latitude_deg":11.948656,"altitude":65,"angle":159,"satellites":30,"speed":21,"hex_longitude":"2d1afa80","hex_latitude":"071f3860","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331791104001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11783062387949568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942881057334368256,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16: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-08-11 18:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786452313000,"timestamp_ms":1786452313000,"timestamp_seconds":1786452313,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0db03a8"} 
[2026-08-11 18:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:16:25] 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-08-11 18: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-11 18:16:25] 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-08-11 18: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-08-11 18:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331791104001,"66":14048,"101":206,"83":41984,"24":21,"16":11783062387949568,"45":1942881057334368256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 18:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331791104001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:16:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 18:16:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11783062387949568,"km_value":11783062387949.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942881057334368256,"description":"Unknown IO ID 45"} 
[2026-08-11 18:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331791104001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1942881057334368256}} 
[2026-08-11 18:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":155093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:16:25] local.INFO: GPS data processed {"connection_id":155093,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:16:25] local.INFO: Acknowledgment sent {"connection_id":155093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:16:45] local.INFO: TCP Data received {"connection_id":152780,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dc4010012d80c20005d2f7800000012423..."} 
[2026-08-11 18:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dc4010012d80c20005d2f7800000012423..."} 
[2026-08-11 18:16:45] local.INFO: Processing buffer {"connection_id":152780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dc4010012d80c20005d2f7800000012423..."} 
[2026-08-11 18:16:45] local.INFO: Packet analysis {"connection_id":152780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dc"} 
[2026-08-11 18:16:45] local.INFO: Extracted packet for processing {"connection_id":152780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dc"} 
[2026-08-11 18:16:45] local.INFO: GPS Element Parsed {"raw_longitude":763412992,"raw_latitude":97712000,"longitude_deg":76.3412992,"latitude_deg":9.7712,"altitude":0,"angle":292,"satellites":35,"speed":27,"hex_longitude":"2d80c200","hex_latitude":"05d2f780","is_valid_coordinates":true} 
[2026-08-11 18:16: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-08-11 18:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331812608001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117792256936640512,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167991810172747776,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786452394000,"timestamp_ms":1786452394000,"timestamp_seconds":1786452394,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dc4010"} 
[2026-08-11 18:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:16:45] 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-08-11 18:16: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-11 18:16:45] 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-08-11 18:16: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-08-11 18:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331812608001,"66":12798,"208":206,"85":15104,"24":27,"16":117792256936640512,"45":-9167991810172747776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-11 18:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331812608001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:16:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-11 18:16:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117792256936640512,"km_value":117792256936640.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167991810172747776,"description":"Unknown IO ID 45"} 
[2026-08-11 18:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331812608001,"power":12798,"unknown_208":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9167991810172747776}} 
[2026-08-11 18:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":152780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:16:45] local.INFO: GPS data processed {"connection_id":152780,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:16:45] local.INFO: Acknowledgment sent {"connection_id":152780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:16:56] local.INFO: TCP Data received {"connection_id":153715,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dbaba0012d7e9cc005aeb5300007015a2a..."} 
[2026-08-11 18:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dbaba0012d7e9cc005aeb5300007015a2a..."} 
[2026-08-11 18:16:56] local.INFO: Processing buffer {"connection_id":153715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dbaba0012d7e9cc005aeb5300007015a2a..."} 
[2026-08-11 18:16:56] local.INFO: Packet analysis {"connection_id":153715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0db"} 
[2026-08-11 18:16:56] local.INFO: Extracted packet for processing {"connection_id":153715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0db"} 
[2026-08-11 18:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763272384,"raw_latitude":95335728,"longitude_deg":76.3272384,"latitude_deg":9.5335728,"altitude":7,"angle":346,"satellites":42,"speed":23,"hex_longitude":"2d7e9cc0","hex_latitude":"05aeb530","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331800576001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377964517981683712,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124011394479915008,"note":"Value kept but may cause issues"} 
[2026-08-11 18:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786452356000,"timestamp_ms":1786452356000,"timestamp_seconds":1786452356,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dbaba0"} 
[2026-08-11 18:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:16:56] 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-08-11 18: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-08-11 18:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:16:56] 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-08-11 18:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331800576001,"66":27974,"29":206,"85":12544,"24":23,"16":377964517981683712,"45":9124011394479915008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-11 18:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331800576001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:16:56] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 18:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377964517981683712,"km_value":377964517981683.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124011394479915008,"description":"Unknown IO ID 45"} 
[2026-08-11 18:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331800576001,"power":27974,"unknown_29":206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9124011394479915008}} 
[2026-08-11 18:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":153715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:16:56] local.INFO: GPS data processed {"connection_id":153715,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:16:56] local.INFO: Acknowledgment sent {"connection_id":153715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:17:09] local.INFO: TCP Data received {"connection_id":152782,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:17:09] local.INFO: Processing buffer {"connection_id":152782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:17:09] local.INFO: IMEI packet received {"connection_id":152782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":152782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:17:10] local.INFO: TCP Data received {"connection_id":152781,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:17:10] local.INFO: Processing buffer {"connection_id":152781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:17:10] local.INFO: IMEI packet received {"connection_id":152781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":152781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:17:12] local.INFO: TCP Data received {"connection_id":152781,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:17:12] local.INFO: Processing buffer {"connection_id":152781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:17:12] local.INFO: IMEI packet received {"connection_id":152781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":152781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:17:13] local.INFO: TCP Data received {"connection_id":152781,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dc20d0012d1b4d40071ec990004700901e..."} 
[2026-08-11 18:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dc20d0012d1b4d40071ec990004700901e..."} 
[2026-08-11 18:17:13] local.INFO: Processing buffer {"connection_id":152781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dc20d0012d1b4d40071ec990004700901e..."} 
[2026-08-11 18:17:13] local.INFO: Packet analysis {"connection_id":152781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dc"} 
[2026-08-11 18:17:13] local.INFO: Extracted packet for processing {"connection_id":152781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dc"} 
[2026-08-11 18:17:13] local.INFO: GPS Element Parsed {"raw_longitude":756763968,"raw_latitude":119458192,"longitude_deg":75.6763968,"latitude_deg":11.9458192,"altitude":71,"angle":144,"satellites":30,"speed":25,"hex_longitude":"2d1b4d40","hex_latitude":"071ec990","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331809024001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11785098202447872,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963287993138862080,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17: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-08-11 18:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786452386000,"timestamp_ms":1786452386000,"timestamp_seconds":1786452386,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dc20d0"} 
[2026-08-11 18:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:17:13] 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-08-11 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 18:17:13] 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-08-11 18: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-08-11 18:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331809024001,"66":14515,"101":206,"83":41984,"24":25,"16":11785098202447872,"45":1963287993138862080},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 18:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331809024001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:17:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 18:17:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11785098202447872,"km_value":11785098202447.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963287993138862080,"description":"Unknown IO ID 45"} 
[2026-08-11 18:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331809024001,"power":14515,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1963287993138862080}} 
[2026-08-11 18:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":152781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:17:13] local.INFO: GPS data processed {"connection_id":152781,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:17:13] local.INFO: Acknowledgment sent {"connection_id":152781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:17:13] local.INFO: TCP Data received {"connection_id":152782,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:17:13] local.INFO: Processing buffer {"connection_id":152782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:17:13] local.INFO: IMEI packet received {"connection_id":152782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":152782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:17:14] local.INFO: TCP Data received {"connection_id":152782,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dc47e0012d80bbc005d2f8800001011423..."} 
[2026-08-11 18:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dc47e0012d80bbc005d2f8800001011423..."} 
[2026-08-11 18:17:14] local.INFO: Processing buffer {"connection_id":152782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dc47e0012d80bbc005d2f8800001011423..."} 
[2026-08-11 18:17:14] local.INFO: Packet analysis {"connection_id":152782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dc"} 
[2026-08-11 18:17:14] local.INFO: Extracted packet for processing {"connection_id":152782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dc"} 
[2026-08-11 18:17:14] local.INFO: GPS Element Parsed {"raw_longitude":763411392,"raw_latitude":97712256,"longitude_deg":76.3411392,"latitude_deg":9.7712256,"altitude":1,"angle":276,"satellites":35,"speed":33,"hex_longitude":"2d80bbc0","hex_latitude":"05d2f880","is_valid_coordinates":true} 
[2026-08-11 18:17: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-08-11 18:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331812864001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117792334246051840,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9168765866358636544,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786452396000,"timestamp_ms":1786452396000,"timestamp_seconds":1786452396,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dc47e0"} 
[2026-08-11 18:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:17:14] 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-08-11 18:17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 18:17:14] 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-08-11 18:17: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-08-11 18:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331812864001,"66":13200,"208":206,"85":15104,"24":33,"16":117792334246051840,"45":-9168765866358636544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-11 18:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331812864001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:17:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-11 18:17:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117792334246051840,"km_value":117792334246051.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9168765866358636544,"description":"Unknown IO ID 45"} 
[2026-08-11 18:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331812864001,"power":13200,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9168765866358636544}} 
[2026-08-11 18:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":152782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:17:14] local.INFO: GPS data processed {"connection_id":152782,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:17:14] local.INFO: Acknowledgment sent {"connection_id":152782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:17:18] local.INFO: TCP Data received {"connection_id":152783,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:17:18] local.INFO: Processing buffer {"connection_id":152783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:17:18] local.INFO: IMEI packet received {"connection_id":152783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":152783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:17:22] local.INFO: TCP Data received {"connection_id":152783,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:17:22] local.INFO: Processing buffer {"connection_id":152783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:17:22] local.INFO: IMEI packet received {"connection_id":152783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":152783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:17:22] local.INFO: TCP Data received {"connection_id":152783,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:17:22] local.INFO: Processing buffer {"connection_id":152783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:17:22] local.INFO: IMEI packet received {"connection_id":152783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":152783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:17:23] local.INFO: TCP Data received {"connection_id":152783,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:17:23] local.INFO: Processing buffer {"connection_id":152783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:17:23] local.INFO: IMEI packet received {"connection_id":152783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":152783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:17:24] local.INFO: TCP Data received {"connection_id":152783,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dbbf28012d7e9b0005aec130000701652a..."} 
[2026-08-11 18:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dbbf28012d7e9b0005aec130000701652a..."} 
[2026-08-11 18:17:24] local.INFO: Processing buffer {"connection_id":152783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dbbf28012d7e9b0005aec130000701652a..."} 
[2026-08-11 18:17:24] local.INFO: Packet analysis {"connection_id":152783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0db"} 
[2026-08-11 18:17:24] local.INFO: Extracted packet for processing {"connection_id":152783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0db"} 
[2026-08-11 18:17:24] local.INFO: GPS Element Parsed {"raw_longitude":763271936,"raw_latitude":95338800,"longitude_deg":76.3271936,"latitude_deg":9.53388,"altitude":7,"angle":357,"satellites":42,"speed":23,"hex_longitude":"2d7e9b00","hex_latitude":"05aec130","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331803136001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377964668305539072,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123378075784261632,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786452361000,"timestamp_ms":1786452361000,"timestamp_seconds":1786452361,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dbbf28"} 
[2026-08-11 18:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 18:17:24] 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-08-11 18: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-08-11 18:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:17:24] 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-08-11 18:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331803136001,"66":27908,"29":206,"85":12544,"24":23,"16":377964668305539072,"45":9123378075784261632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-11 18:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331803136001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:17:24] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 18:17:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377964668305539072,"km_value":377964668305539.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123378075784261632,"description":"Unknown IO ID 45"} 
[2026-08-11 18:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331803136001,"power":27908,"unknown_29":206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9123378075784261632}} 
[2026-08-11 18:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":152783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:17:24] local.INFO: GPS data processed {"connection_id":152783,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:17:24] local.INFO: Acknowledgment sent {"connection_id":152783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:17:44] local.INFO: TCP Data received {"connection_id":152781,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dc2c88012d1b5100071ec2b80048009c1e..."} 
[2026-08-11 18:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dc2c88012d1b5100071ec2b80048009c1e..."} 
[2026-08-11 18:17:44] local.INFO: Processing buffer {"connection_id":152781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dc2c88012d1b5100071ec2b80048009c1e..."} 
[2026-08-11 18:17:44] local.INFO: Packet analysis {"connection_id":152781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dc"} 
[2026-08-11 18:17:44] local.INFO: Extracted packet for processing {"connection_id":152781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dc"} 
[2026-08-11 18:17:44] local.INFO: GPS Element Parsed {"raw_longitude":756764928,"raw_latitude":119456440,"longitude_deg":75.6764928,"latitude_deg":11.945644,"altitude":72,"angle":156,"satellites":30,"speed":26,"hex_longitude":"2d1b5100","hex_latitude":"071ec2b8","is_valid_coordinates":true} 
[2026-08-11 18:17: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-08-11 18:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331810816001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11785196986695680,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967299011556249600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:44] 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-08-11 18:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786452389000,"timestamp_ms":1786452389000,"timestamp_seconds":1786452389,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dc2c88"} 
[2026-08-11 18:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:17:44] 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-08-11 18:17: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 18:17:44] 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-08-11 18:17: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-08-11 18:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331810816001,"66":14483,"101":206,"83":41984,"24":26,"16":11785196986695680,"45":1967299011556249600},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 18:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331810816001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:17:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 18:17:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11785196986695680,"km_value":11785196986695.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967299011556249600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331810816001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1967299011556249600}} 
[2026-08-11 18:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":152781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:17:44] local.INFO: GPS data processed {"connection_id":152781,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:17:44] local.INFO: Acknowledgment sent {"connection_id":152781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:17:45] local.INFO: TCP Data received {"connection_id":152782,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dd0b30012d80ac0005d36f580000012822..."} 
[2026-08-11 18:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dd0b30012d80ac0005d36f580000012822..."} 
[2026-08-11 18:17:45] local.INFO: Processing buffer {"connection_id":152782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dd0b30012d80ac0005d36f580000012822..."} 
[2026-08-11 18:17:45] local.INFO: Packet analysis {"connection_id":152782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:17:45] local.INFO: Extracted packet for processing {"connection_id":152782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:17:45] local.INFO: GPS Element Parsed {"raw_longitude":763407360,"raw_latitude":97742680,"longitude_deg":76.340736,"latitude_deg":9.774268,"altitude":0,"angle":296,"satellites":34,"speed":10,"hex_longitude":"2d80ac00","hex_latitude":"05d36f58","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331825920001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117794073707806720,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840861734912,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786452446000,"timestamp_ms":1786452446000,"timestamp_seconds":1786452446,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dd0b30"} 
[2026-08-11 18:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:17:45] 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-08-11 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-11 18:17:45] 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-08-11 18: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-08-11 18:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331825920001,"66":12982,"207":206,"85":15104,"24":10,"16":117794073707806720,"45":-9174676840861734912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-11 18:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331825920001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:17:45] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-11 18:17:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117794073707806720,"km_value":117794073707806.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840861734912,"description":"Unknown IO ID 45"} 
[2026-08-11 18:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331825920001,"power":12982,"unknown_207":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9174676840861734912}} 
[2026-08-11 18:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":152782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:17:45] local.INFO: GPS data processed {"connection_id":152782,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:17:45] local.INFO: Acknowledgment sent {"connection_id":152782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:17:55] local.INFO: TCP Data received {"connection_id":152783,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dbee08012d7e99c005aee3d8000601672a..."} 
[2026-08-11 18:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dbee08012d7e99c005aee3d8000601672a..."} 
[2026-08-11 18:17:55] local.INFO: Processing buffer {"connection_id":152783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dbee08012d7e99c005aee3d8000601672a..."} 
[2026-08-11 18:17:55] local.INFO: Packet analysis {"connection_id":152783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0db"} 
[2026-08-11 18:17:55] local.INFO: Extracted packet for processing {"connection_id":152783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0db"} 
[2026-08-11 18:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763271616,"raw_latitude":95347672,"longitude_deg":76.3271616,"latitude_deg":9.5347672,"altitude":6,"angle":359,"satellites":42,"speed":36,"hex_longitude":"2d7e99c0","hex_latitude":"05aee3d8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331804416001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377965102097235968,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122885494575804416,"note":"Value kept but may cause issues"} 
[2026-08-11 18:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786452373000,"timestamp_ms":1786452373000,"timestamp_seconds":1786452373,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dbee08"} 
[2026-08-11 18:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 18:17: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-08-11 18: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-08-11 18:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:17:55] 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-08-11 18:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331804416001,"66":27865,"28":206,"85":12544,"24":36,"16":377965102097235968,"45":9122885494575804416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331804416001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:17:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377965102097235968,"km_value":377965102097235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122885494575804416,"description":"Unknown IO ID 45"} 
[2026-08-11 18:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331804416001,"power":27865,"unknown_28":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9122885494575804416}} 
[2026-08-11 18:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":152783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:17:55] local.INFO: GPS data processed {"connection_id":152783,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:17:55] local.INFO: Acknowledgment sent {"connection_id":152783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:18:08] local.INFO: TCP Data received {"connection_id":153716,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:18:08] local.INFO: Processing buffer {"connection_id":153716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:18:08] local.INFO: IMEI packet received {"connection_id":153716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":153716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:18:08] local.INFO: TCP Data received {"connection_id":153716,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:18:08] local.INFO: Processing buffer {"connection_id":153716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:18:08] local.INFO: IMEI packet received {"connection_id":153716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":153716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:18:13] local.INFO: TCP Data received {"connection_id":153716,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:18:13] local.INFO: Processing buffer {"connection_id":153716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:18:13] local.INFO: IMEI packet received {"connection_id":153716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":153716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:18:14] local.INFO: TCP Data received {"connection_id":153716,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dd2e58012d809fc005d373100001011b24..."} 
[2026-08-11 18:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dd2e58012d809fc005d373100001011b24..."} 
[2026-08-11 18:18:14] local.INFO: Processing buffer {"connection_id":153716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dd2e58012d809fc005d373100001011b24..."} 
[2026-08-11 18:18:14] local.INFO: Packet analysis {"connection_id":153716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:18:14] local.INFO: Extracted packet for processing {"connection_id":153716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:18:14] local.INFO: GPS Element Parsed {"raw_longitude":763404224,"raw_latitude":97743632,"longitude_deg":76.3404224,"latitude_deg":9.7743632,"altitude":1,"angle":283,"satellites":36,"speed":14,"hex_longitude":"2d809fc0","hex_latitude":"05d37310","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331826176001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117794232621596672,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174958315838416896,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786452455000,"timestamp_ms":1786452455000,"timestamp_seconds":1786452455,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dd2e58"} 
[2026-08-11 18:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:18:14] 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-08-11 18: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-11 18:18:14] 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-08-11 18: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-08-11 18:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331826176001,"66":12982,"207":206,"85":15104,"24":14,"16":117794232621596672,"45":-9174958315838416896},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-11 18:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331826176001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:18:14] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-11 18:18:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117794232621596672,"km_value":117794232621596.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174958315838416896,"description":"Unknown IO ID 45"} 
[2026-08-11 18:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331826176001,"power":12982,"unknown_207":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9174958315838416896}} 
[2026-08-11 18:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":153716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:18:14] local.INFO: GPS data processed {"connection_id":153716,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:18:14] local.INFO: Acknowledgment sent {"connection_id":153716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:18:17] local.INFO: TCP Data received {"connection_id":152784,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:18:17] local.INFO: Processing buffer {"connection_id":152784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:18:17] local.INFO: IMEI packet received {"connection_id":152784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":152784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:18:20] local.INFO: TCP Data received {"connection_id":152784,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:18:20] local.INFO: Processing buffer {"connection_id":152784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:18:20] local.INFO: IMEI packet received {"connection_id":152784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":152784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:18:20] local.INFO: TCP Data received {"connection_id":152784,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dce808012d1b9200071e9c20005c00a31f..."} 
[2026-08-11 18:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dce808012d1b9200071e9c20005c00a31f..."} 
[2026-08-11 18:18:20] local.INFO: Processing buffer {"connection_id":152784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dce808012d1b9200071e9c20005c00a31f..."} 
[2026-08-11 18:18:20] local.INFO: Packet analysis {"connection_id":152784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dc"} 
[2026-08-11 18:18:20] local.INFO: Extracted packet for processing {"connection_id":152784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dc"} 
[2026-08-11 18:18:20] local.INFO: GPS Element Parsed {"raw_longitude":756781568,"raw_latitude":119446560,"longitude_deg":75.6781568,"latitude_deg":11.944656,"altitude":92,"angle":163,"satellites":31,"speed":17,"hex_longitude":"2d1b9200","hex_latitude":"071e9c20","is_valid_coordinates":true} 
[2026-08-11 18:18: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-08-11 18:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331822592001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11786257843617792,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1985524516295870464,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:20] 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-08-11 18:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786452437000,"timestamp_ms":1786452437000,"timestamp_seconds":1786452437,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dce808"} 
[2026-08-11 18:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:18:20] 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-08-11 18:18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-11 18:18:20] 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-08-11 18:18: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-08-11 18:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331822592001,"66":13928,"101":206,"83":41984,"24":17,"16":11786257843617792,"45":1985524516295870464},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 18:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331822592001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:18:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 18:18:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11786257843617792,"km_value":11786257843617.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1985524516295870464,"description":"Unknown IO ID 45"} 
[2026-08-11 18:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331822592001,"power":13928,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1985524516295870464}} 
[2026-08-11 18:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":152784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:18:20] local.INFO: GPS data processed {"connection_id":152784,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:18:20] local.INFO: Acknowledgment sent {"connection_id":152784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:18:23] local.INFO: TCP Data received {"connection_id":152784,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dd22a0012d1b9c40071e79600060009822..."} 
[2026-08-11 18:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dd22a0012d1b9c40071e79600060009822..."} 
[2026-08-11 18:18:23] local.INFO: Processing buffer {"connection_id":152784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dd22a0012d1b9c40071e79600060009822..."} 
[2026-08-11 18:18:23] local.INFO: Packet analysis {"connection_id":152784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:18:23] local.INFO: Extracted packet for processing {"connection_id":152784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756784192,"raw_latitude":119437664,"longitude_deg":75.6784192,"latitude_deg":11.9437664,"altitude":96,"angle":152,"satellites":34,"speed":26,"hex_longitude":"2d1b9c40","hex_latitude":"071e7960","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331823872001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11786708815183872,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1986650416202129408,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786452452000,"timestamp_ms":1786452452000,"timestamp_seconds":1786452452,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dd22a0"} 
[2026-08-11 18:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:18:23] 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-08-11 18: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-11 18:18:23] 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-08-11 18: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-08-11 18:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331823872001,"66":14070,"109":206,"83":41984,"24":26,"16":11786708815183872,"45":1986650416202129408},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-11 18:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331823872001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:18:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 18:18:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11786708815183872,"km_value":11786708815183.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1986650416202129408,"description":"Unknown IO ID 45"} 
[2026-08-11 18:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331823872001,"power":14070,"unknown_109":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1986650416202129408}} 
[2026-08-11 18:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":152784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:18:23] local.INFO: GPS data processed {"connection_id":152784,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:18:23] local.INFO: Acknowledgment sent {"connection_id":152784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:18:24] local.INFO: TCP Data received {"connection_id":152785,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:18:24] local.INFO: Processing buffer {"connection_id":152785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:18:24] local.INFO: IMEI packet received {"connection_id":152785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":152785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:18:27] local.INFO: TCP Data received {"connection_id":152785,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:18:27] local.INFO: Processing buffer {"connection_id":152785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:18:27] local.INFO: IMEI packet received {"connection_id":152785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":152785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:18:28] local.INFO: TCP Data received {"connection_id":152785,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dc1518012d7e984005af08b0000601662a..."} 
[2026-08-11 18:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dc1518012d7e984005af08b0000601662a..."} 
[2026-08-11 18:18:28] local.INFO: Processing buffer {"connection_id":152785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dc1518012d7e984005af08b0000601662a..."} 
[2026-08-11 18:18:28] local.INFO: Packet analysis {"connection_id":152785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dc"} 
[2026-08-11 18:18:28] local.INFO: Extracted packet for processing {"connection_id":152785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dc"} 
[2026-08-11 18:18:28] local.INFO: GPS Element Parsed {"raw_longitude":763271232,"raw_latitude":95357104,"longitude_deg":76.3271232,"latitude_deg":9.5357104,"altitude":6,"angle":358,"satellites":42,"speed":34,"hex_longitude":"2d7e9840","hex_latitude":"05af08b0","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331807488001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377965557363769344,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122533650857187328,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786452383000,"timestamp_ms":1786452383000,"timestamp_seconds":1786452383,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dc1518"} 
[2026-08-11 18:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 18:18:28] 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-08-11 18: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-08-11 18:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:18:28] 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-08-11 18:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331807488001,"66":27821,"28":206,"85":12544,"24":34,"16":377965557363769344,"45":9122533650857187328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331807488001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:18:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377965557363769344,"km_value":377965557363769.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122533650857187328,"description":"Unknown IO ID 45"} 
[2026-08-11 18:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331807488001,"power":27821,"unknown_28":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9122533650857187328}} 
[2026-08-11 18:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":152785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:18:28] local.INFO: GPS data processed {"connection_id":152785,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:18:28] local.INFO: Acknowledgment sent {"connection_id":152785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:18:29] local.INFO: TCP Data received {"connection_id":152785,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dc6720012d7e974005af2c280007016729..."} 
[2026-08-11 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dc6720012d7e974005af2c280007016729..."} 
[2026-08-11 18:18:29] local.INFO: Processing buffer {"connection_id":152785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dc6720012d7e974005af2c280007016729..."} 
[2026-08-11 18:18:29] local.INFO: Packet analysis {"connection_id":152785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dc"} 
[2026-08-11 18:18:29] local.INFO: Extracted packet for processing {"connection_id":152785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dc"} 
[2026-08-11 18:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763270976,"raw_latitude":95366184,"longitude_deg":76.3270976,"latitude_deg":9.5366184,"altitude":7,"angle":359,"satellites":41,"speed":23,"hex_longitude":"2d7e9740","hex_latitude":"05af2c28","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331810048001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377965999745400832,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122111438394535936,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786452404000,"timestamp_ms":1786452404000,"timestamp_seconds":1786452404,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dc6720"} 
[2026-08-11 18:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 18:18:29] 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-08-11 18: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-08-11 18:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:18:29] 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-08-11 18:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331810048001,"66":27995,"28":206,"85":12544,"24":23,"16":377965999745400832,"45":9122111438394535936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331810048001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:18:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377965999745400832,"km_value":377965999745400.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122111438394535936,"description":"Unknown IO ID 45"} 
[2026-08-11 18:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331810048001,"power":27995,"unknown_28":206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9122111438394535936}} 
[2026-08-11 18:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":152785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:18:29] local.INFO: GPS data processed {"connection_id":152785,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:18:29] local.INFO: Acknowledgment sent {"connection_id":152785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:18:45] local.INFO: TCP Data received {"connection_id":153716,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dd3df8012d809a4005d374a00003012724..."} 
[2026-08-11 18:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dd3df8012d809a4005d374a00003012724..."} 
[2026-08-11 18:18:45] local.INFO: Processing buffer {"connection_id":153716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dd3df8012d809a4005d374a00003012724..."} 
[2026-08-11 18:18:45] local.INFO: Packet analysis {"connection_id":153716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:18:45] local.INFO: Extracted packet for processing {"connection_id":153716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:18:45] local.INFO: GPS Element Parsed {"raw_longitude":763402816,"raw_latitude":97744032,"longitude_deg":76.3402816,"latitude_deg":9.7744032,"altitude":3,"angle":295,"satellites":36,"speed":11,"hex_longitude":"2d809a40","hex_latitude":"05d374a0","is_valid_coordinates":true} 
[2026-08-11 18:18: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-08-11 18:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331828480001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117794305636040704,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9178406384302878720,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786452459000,"timestamp_ms":1786452459000,"timestamp_seconds":1786452459,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dd3df8"} 
[2026-08-11 18:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:18:45] 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-08-11 18:18: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":182,"data_length":795,"current_offset":136} 
[2026-08-11 18:18:45] 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-08-11 18:18: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-08-11 18:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331828480001,"66":12906,"207":206,"85":15104,"24":11,"16":117794305636040704,"45":-9178406384302878720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-11 18:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331828480001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:18:45] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-11 18:18:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117794305636040704,"km_value":117794305636040.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9178406384302878720,"description":"Unknown IO ID 45"} 
[2026-08-11 18:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331828480001,"power":12906,"unknown_207":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9178406384302878720}} 
[2026-08-11 18:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":153716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:18:45] local.INFO: GPS data processed {"connection_id":153716,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:18:45] local.INFO: Acknowledgment sent {"connection_id":153716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:18:55] local.INFO: TCP Data received {"connection_id":152784,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dd22a0012d1b9c40071e79600060009822..."} 
[2026-08-11 18:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dd22a0012d1b9c40071e79600060009822..."} 
[2026-08-11 18:18:55] local.INFO: Processing buffer {"connection_id":152784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dd22a0012d1b9c40071e79600060009822..."} 
[2026-08-11 18:18:55] local.INFO: Packet analysis {"connection_id":152784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:18:55] local.INFO: Extracted packet for processing {"connection_id":152784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756784192,"raw_latitude":119437664,"longitude_deg":75.6784192,"latitude_deg":11.9437664,"altitude":96,"angle":152,"satellites":34,"speed":26,"hex_longitude":"2d1b9c40","hex_latitude":"071e7960","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331827712001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11786708815183872,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1989535534711136256,"note":"Value kept but may cause issues"} 
[2026-08-11 18:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786452452000,"timestamp_ms":1786452452000,"timestamp_seconds":1786452452,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dd22a0"} 
[2026-08-11 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-08-11 18:18: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-08-11 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-11 18:18: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-08-11 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-08-11 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-08-11 18:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331827712001,"66":14070,"109":206,"83":41984,"24":26,"16":11786708815183872,"45":1989535534711136256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-11 18:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331827712001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:18:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 18:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11786708815183872,"km_value":11786708815183.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1989535534711136256,"description":"Unknown IO ID 45"} 
[2026-08-11 18:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331827712001,"power":14070,"unknown_109":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1989535534711136256}} 
[2026-08-11 18:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":152784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:18:55] local.INFO: GPS data processed {"connection_id":152784,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:18:55] local.INFO: Acknowledgment sent {"connection_id":152784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:19:05] local.INFO: TCP Data received {"connection_id":152785,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dc6720012d7e974005af2c280007016729..."} 
[2026-08-11 18:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dc6720012d7e974005af2c280007016729..."} 
[2026-08-11 18:19:05] local.INFO: Processing buffer {"connection_id":152785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dc6720012d7e974005af2c280007016729..."} 
[2026-08-11 18:19:05] local.INFO: Packet analysis {"connection_id":152785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dc"} 
[2026-08-11 18:19:05] local.INFO: Extracted packet for processing {"connection_id":152785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dc"} 
[2026-08-11 18:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763270976,"raw_latitude":95366184,"longitude_deg":76.3270976,"latitude_deg":9.5366184,"altitude":7,"angle":359,"satellites":41,"speed":23,"hex_longitude":"2d7e9740","hex_latitude":"05af2c28","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331815424001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377965999745400832,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121829963420149760,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786452404000,"timestamp_ms":1786452404000,"timestamp_seconds":1786452404,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dc6720"} 
[2026-08-11 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-08-11 18:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 18:19: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-08-11 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-08-11 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-08-11 18:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:19: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-08-11 18:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331815424001,"66":27995,"28":206,"85":12544,"24":23,"16":377965999745400832,"45":9121829963420149760},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331815424001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:19:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:19:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377965999745400832,"km_value":377965999745400.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121829963420149760,"description":"Unknown IO ID 45"} 
[2026-08-11 18:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331815424001,"power":27995,"unknown_28":206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9121829963420149760}} 
[2026-08-11 18:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":152785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:19:05] local.INFO: GPS data processed {"connection_id":152785,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:19:05] local.INFO: Acknowledgment sent {"connection_id":152785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:19:13] local.INFO: TCP Data received {"connection_id":155094,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:19:13] local.INFO: Processing buffer {"connection_id":155094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:19:13] local.INFO: IMEI packet received {"connection_id":155094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":155094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:19:15] local.INFO: TCP Data received {"connection_id":155095,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:19:15] local.INFO: Processing buffer {"connection_id":155095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:19:15] local.INFO: IMEI packet received {"connection_id":155095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":155095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:19:16] local.INFO: TCP Data received {"connection_id":155094,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:19:16] local.INFO: Processing buffer {"connection_id":155094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:19:16] local.INFO: IMEI packet received {"connection_id":155094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":155094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:19:17] local.INFO: TCP Data received {"connection_id":155094,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0de66d8012d7fe9c005d395980006011023..."} 
[2026-08-11 18:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0de66d8012d7fe9c005d395980006011023..."} 
[2026-08-11 18:19:17] local.INFO: Processing buffer {"connection_id":155094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0de66d8012d7fe9c005d395980006011023..."} 
[2026-08-11 18:19:17] local.INFO: Packet analysis {"connection_id":155094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:19:17] local.INFO: Extracted packet for processing {"connection_id":155094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:19:17] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":97752472,"longitude_deg":76.3357632,"latitude_deg":9.7752472,"altitude":6,"angle":272,"satellites":35,"speed":33,"hex_longitude":"2d7fe9c0","hex_latitude":"05d39598","is_valid_coordinates":true} 
[2026-08-11 18:19: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-08-11 18:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331845376001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117796607738511360,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219149887179427840,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786452535000,"timestamp_ms":1786452535000,"timestamp_seconds":1786452535,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0de66d8"} 
[2026-08-11 18:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:19:17] 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-08-11 18:19: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 18:19:17] 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-08-11 18:19: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-08-11 18:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":155094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":155094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":155094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331845376001,"66":13048,"167":206,"85":15104,"24":33,"16":117796607738511360,"45":-9219149887179427840},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-11 18:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331845376001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:19:17] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 18:19:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117796607738511360,"km_value":117796607738511.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219149887179427840,"description":"Unknown IO ID 45"} 
[2026-08-11 18:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331845376001,"power":13048,"unknown_167":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9219149887179427840}} 
[2026-08-11 18:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":155094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:19:17] local.INFO: GPS data processed {"connection_id":155094,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:19:17] local.INFO: Acknowledgment sent {"connection_id":155094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:19:18] local.INFO: TCP Data received {"connection_id":155094,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0de8de8012d7fc48005d394300007010b24..."} 
[2026-08-11 18:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0de8de8012d7fc48005d394300007010b24..."} 
[2026-08-11 18:19:18] local.INFO: Processing buffer {"connection_id":155094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0de8de8012d7fc48005d394300007010b24..."} 
[2026-08-11 18:19:18] local.INFO: Packet analysis {"connection_id":155094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:19:18] local.INFO: Extracted packet for processing {"connection_id":155094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:19:18] local.INFO: GPS Element Parsed {"raw_longitude":763348096,"raw_latitude":97752112,"longitude_deg":76.3348096,"latitude_deg":9.7752112,"altitude":7,"angle":267,"satellites":36,"speed":38,"hex_longitude":"2d7fc480","hex_latitude":"05d39430","is_valid_coordinates":true} 
[2026-08-11 18:19: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-08-11 18:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331848960001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117797063005044736,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243647596544,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786452545000,"timestamp_ms":1786452545000,"timestamp_seconds":1786452545,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0de8de8"} 
[2026-08-11 18:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:19:18] 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-08-11 18:19: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 18:19:18] 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-08-11 18:19: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-08-11 18:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":155094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":155094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":155094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331848960001,"66":12906,"167":206,"85":15104,"24":38,"16":117797063005044736,"45":9217109243647596544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-11 18:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331848960001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:19:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 18:19:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117797063005044736,"km_value":117797063005044.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243647596544,"description":"Unknown IO ID 45"} 
[2026-08-11 18:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331848960001,"power":12906,"unknown_167":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9217109243647596544}} 
[2026-08-11 18:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":155094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:19:18] local.INFO: GPS data processed {"connection_id":155094,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:19:18] local.INFO: Acknowledgment sent {"connection_id":155094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:19:19] local.INFO: TCP Data received {"connection_id":152390,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:19:19] local.INFO: Processing buffer {"connection_id":152390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:19:19] local.INFO: IMEI packet received {"connection_id":152390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":152390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:19:20] local.INFO: TCP Data received {"connection_id":155095,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:19:20] local.INFO: Processing buffer {"connection_id":155095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:19:20] local.INFO: IMEI packet received {"connection_id":155095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":155095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:19:21] local.INFO: TCP Data received {"connection_id":155095,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dd2e58012d1ba240071e71d8005d008722..."} 
[2026-08-11 18:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dd2e58012d1ba240071e71d8005d008722..."} 
[2026-08-11 18:19:21] local.INFO: Processing buffer {"connection_id":155095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dd2e58012d1ba240071e71d8005d008722..."} 
[2026-08-11 18:19:21] local.INFO: Packet analysis {"connection_id":155095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:19:21] local.INFO: Extracted packet for processing {"connection_id":155095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:19:21] local.INFO: GPS Element Parsed {"raw_longitude":756785728,"raw_latitude":119435736,"longitude_deg":75.6785728,"latitude_deg":11.9435736,"altitude":93,"angle":135,"satellites":34,"speed":30,"hex_longitude":"2d1ba240","hex_latitude":"071e71d8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331827712001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11786829074268160,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1989535534711136256,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786452455000,"timestamp_ms":1786452455000,"timestamp_seconds":1786452455,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dd2e58"} 
[2026-08-11 18:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:19:21] 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-08-11 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-11 18:19:21] 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-08-11 18: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-08-11 18:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":155095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":155095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":155095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331827712001,"66":13972,"109":206,"83":41984,"24":30,"16":11786829074268160,"45":1989535534711136256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-11 18:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331827712001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:19:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 18:19:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11786829074268160,"km_value":11786829074268.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1989535534711136256,"description":"Unknown IO ID 45"} 
[2026-08-11 18:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331827712001,"power":13972,"unknown_109":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1989535534711136256}} 
[2026-08-11 18:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":155095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:19:21] local.INFO: GPS data processed {"connection_id":155095,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:19:21] local.INFO: Acknowledgment sent {"connection_id":155095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:19:23] local.INFO: TCP Data received {"connection_id":152390,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:19:23] local.INFO: Processing buffer {"connection_id":152390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:19:23] local.INFO: IMEI packet received {"connection_id":152390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":152390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:19:23] local.INFO: TCP Data received {"connection_id":152390,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dde5f0012d7efd4005af79b00008005328..."} 
[2026-08-11 18:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dde5f0012d7efd4005af79b00008005328..."} 
[2026-08-11 18:19:23] local.INFO: Processing buffer {"connection_id":152390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dde5f0012d7efd4005af79b00008005328..."} 
[2026-08-11 18:19:23] local.INFO: Packet analysis {"connection_id":152390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:19:23] local.INFO: Extracted packet for processing {"connection_id":152390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763297088,"raw_latitude":95386032,"longitude_deg":76.3297088,"latitude_deg":9.5386032,"altitude":8,"angle":83,"satellites":40,"speed":30,"hex_longitude":"2d7efd40","hex_latitude":"05af79b0","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331838208001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377968228833427456,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142588742957735936,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786452502000,"timestamp_ms":1786452502000,"timestamp_seconds":1786452502,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dde5f0"} 
[2026-08-11 18:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 18:19:23] 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-08-11 18: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-08-11 18:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:19: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-08-11 18:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331838208001,"66":27919,"27":206,"85":12544,"24":30,"16":377968228833427456,"45":9142588742957735936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-11 18:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331838208001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:19:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-11 18:19:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377968228833427456,"km_value":377968228833427.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142588742957735936,"description":"Unknown IO ID 45"} 
[2026-08-11 18:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331838208001,"power":27919,"unknown_27":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9142588742957735936}} 
[2026-08-11 18:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":152390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:19:23] local.INFO: GPS data processed {"connection_id":152390,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:19:23] local.INFO: Acknowledgment sent {"connection_id":152390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:19:25] local.INFO: TCP Data received {"connection_id":155095,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dd3628012d1ba740071e6e80005d007323..."} 
[2026-08-11 18:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dd3628012d1ba740071e6e80005d007323..."} 
[2026-08-11 18:19:25] local.INFO: Processing buffer {"connection_id":155095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dd3628012d1ba740071e6e80005d007323..."} 
[2026-08-11 18:19:25] local.INFO: Packet analysis {"connection_id":155095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:19:25] local.INFO: Extracted packet for processing {"connection_id":155095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:19:25] local.INFO: GPS Element Parsed {"raw_longitude":756787008,"raw_latitude":119434880,"longitude_deg":75.6787008,"latitude_deg":11.943488,"altitude":93,"angle":115,"satellites":35,"speed":28,"hex_longitude":"2d1ba740","hex_latitude":"071e6e80","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331828480001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11786902088712192,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991224384570906624,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786452457000,"timestamp_ms":1786452457000,"timestamp_seconds":1786452457,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dd3628"} 
[2026-08-11 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-08-11 18:19:25] 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-08-11 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-11 18:19:25] 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-08-11 18: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-08-11 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-08-11 18:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331828480001,"66":13928,"109":206,"83":41984,"24":28,"16":11786902088712192,"45":1991224384570906624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-11 18:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331828480001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:19:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 18:19:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11786902088712192,"km_value":11786902088712.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991224384570906624,"description":"Unknown IO ID 45"} 
[2026-08-11 18:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331828480001,"power":13928,"unknown_109":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1991224384570906624}} 
[2026-08-11 18:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":155095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:19:25] local.INFO: GPS data processed {"connection_id":155095,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:19:25] local.INFO: Acknowledgment sent {"connection_id":155095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:19:49] local.INFO: TCP Data received {"connection_id":155094,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0deb4f8012d7fa10005d393100006010a25..."} 
[2026-08-11 18:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0deb4f8012d7fa10005d393100006010a25..."} 
[2026-08-11 18:19:49] local.INFO: Processing buffer {"connection_id":155094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0deb4f8012d7fa10005d393100006010a25..."} 
[2026-08-11 18:19:49] local.INFO: Packet analysis {"connection_id":155094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:19:49] local.INFO: Extracted packet for processing {"connection_id":155094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:19:49] local.INFO: GPS Element Parsed {"raw_longitude":763339008,"raw_latitude":97751824,"longitude_deg":76.3339008,"latitude_deg":9.7751824,"altitude":6,"angle":266,"satellites":37,"speed":33,"hex_longitude":"2d7fa100","hex_latitude":"05d39310","is_valid_coordinates":true} 
[2026-08-11 18:19: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-08-11 18:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331851520001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117797496796741632,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9206624300765032448,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786452555000,"timestamp_ms":1786452555000,"timestamp_seconds":1786452555,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0deb4f8"} 
[2026-08-11 18:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:19:49] 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-08-11 18:19: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-11 18:19:49] 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-08-11 18:19: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-08-11 18:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":155094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":155094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":155094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331851520001,"66":13222,"167":206,"85":15104,"24":33,"16":117797496796741632,"45":9206624300765032448},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-11 18:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331851520001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:19:49] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 18:19:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117797496796741632,"km_value":117797496796741.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9206624300765032448,"description":"Unknown IO ID 45"} 
[2026-08-11 18:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331851520001,"power":13222,"unknown_167":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9206624300765032448}} 
[2026-08-11 18:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":155094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:19:49] local.INFO: GPS data processed {"connection_id":155094,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:19:49] local.INFO: Acknowledgment sent {"connection_id":155094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:19:54] local.INFO: TCP Data received {"connection_id":152390,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0de62f0012d7f31c005af58880007000d2a..."} 
[2026-08-11 18:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0de62f0012d7f31c005af58880007000d2a..."} 
[2026-08-11 18:19:54] local.INFO: Processing buffer {"connection_id":152390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0de62f0012d7f31c005af58880007000d2a..."} 
[2026-08-11 18:19:54] local.INFO: Packet analysis {"connection_id":152390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:19:54] local.INFO: Extracted packet for processing {"connection_id":152390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763310528,"raw_latitude":95377544,"longitude_deg":76.3310528,"latitude_deg":9.5377544,"altitude":7,"angle":13,"satellites":42,"speed":15,"hex_longitude":"2d7f31c0","hex_latitude":"05af5888","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331848448001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377969156546363392,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165177109836406784,"note":"Value kept but may cause issues"} 
[2026-08-11 18:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786452534000,"timestamp_ms":1786452534000,"timestamp_seconds":1786452534,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0de62f0"} 
[2026-08-11 18:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 18:19:54] 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-08-11 18: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-08-11 18:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:19:54] 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-08-11 18:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331848448001,"66":27887,"250":206,"85":12544,"24":15,"16":377969156546363392,"45":9165177109836406784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331848448001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:19:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:19:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377969156546363392,"km_value":377969156546363.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165177109836406784,"description":"Unknown IO ID 45"} 
[2026-08-11 18:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331848448001,"power":27887,"unknown_250":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9165177109836406784}} 
[2026-08-11 18:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":152390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:19:54] local.INFO: GPS data processed {"connection_id":152390,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:19:54] local.INFO: Acknowledgment sent {"connection_id":152390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:20:08] local.INFO: TCP Data received {"connection_id":153718,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:20:08] local.INFO: Processing buffer {"connection_id":153718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:20:08] local.INFO: IMEI packet received {"connection_id":153718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":153718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:20:08] local.INFO: TCP Data received {"connection_id":153717,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:20:08] local.INFO: Processing buffer {"connection_id":153717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:20:08] local.INFO: IMEI packet received {"connection_id":153717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":153717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:20:11] local.INFO: TCP Data received {"connection_id":153718,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:20:11] local.INFO: Processing buffer {"connection_id":153718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:20:11] local.INFO: IMEI packet received {"connection_id":153718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":153718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:20:13] local.INFO: TCP Data received {"connection_id":153717,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:20:13] local.INFO: Processing buffer {"connection_id":153717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:20:13] local.INFO: IMEI packet received {"connection_id":153717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":153717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:20:13] local.INFO: TCP Data received {"connection_id":153718,"ip":"42.106.6.22","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 18:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153718,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 18:20:13] local.INFO: Processing buffer {"connection_id":153718,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 18:20:13] local.INFO: IMEI packet received {"connection_id":153718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":153718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:20:14] local.INFO: TCP Data received {"connection_id":153717,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dee3d8012d7f7d4005d391b00003010b25..."} 
[2026-08-11 18:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dee3d8012d7f7d4005d391b00003010b25..."} 
[2026-08-11 18:20:14] local.INFO: Processing buffer {"connection_id":153717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dee3d8012d7f7d4005d391b00003010b25..."} 
[2026-08-11 18:20:14] local.INFO: Packet analysis {"connection_id":153717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:20:14] local.INFO: Extracted packet for processing {"connection_id":153717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:20:14] local.INFO: GPS Element Parsed {"raw_longitude":763329856,"raw_latitude":97751472,"longitude_deg":76.3329856,"latitude_deg":9.7751472,"altitude":3,"angle":267,"satellites":37,"speed":31,"hex_longitude":"2d7f7d40","hex_latitude":"05d391b0","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331854080001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117797934883405824,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631939091730432,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786452567000,"timestamp_ms":1786452567000,"timestamp_seconds":1786452567,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dee3d8"} 
[2026-08-11 18:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:20:14] 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-08-11 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 18:20:14] 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-08-11 18: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-08-11 18:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331854080001,"66":13015,"167":206,"85":15104,"24":31,"16":117797934883405824,"45":9196631939091730432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-11 18:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331854080001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:20:14] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 18:20:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117797934883405824,"km_value":117797934883405.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631939091730432,"description":"Unknown IO ID 45"} 
[2026-08-11 18:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331854080001,"power":13015,"unknown_167":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9196631939091730432}} 
[2026-08-11 18:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":153717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:20:14] local.INFO: GPS data processed {"connection_id":153717,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:20:14] local.INFO: Acknowledgment sent {"connection_id":153717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:20:14] local.INFO: TCP Data received {"connection_id":153718,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dd45c8012d1bb240071e6b88005c006724..."} 
[2026-08-11 18:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dd45c8012d1bb240071e6b88005c006724..."} 
[2026-08-11 18:20:14] local.INFO: Processing buffer {"connection_id":153718,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019ff0..."} 
[2026-08-11 18:20:14] local.INFO: IMEI packet received {"connection_id":153718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":153718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:20:15] local.INFO: TCP Data received {"connection_id":153718,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dd8830012d1bd680071e6558005d006724..."} 
[2026-08-11 18:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dd8830012d1bd680071e6558005d006724..."} 
[2026-08-11 18:20:15] local.INFO: Processing buffer {"connection_id":153718,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ff0dd45c8012d1bb240071e6b88005c006724..."} 
[2026-08-11 18:20:15] local.INFO: Packet analysis {"connection_id":153718,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:20:15] local.INFO: Extracted packet for processing {"connection_id":153718,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756789824,"raw_latitude":119434120,"longitude_deg":75.6789824,"latitude_deg":11.943412,"altitude":92,"angle":103,"satellites":36,"speed":24,"hex_longitude":"2d1bb240","hex_latitude":"071e6b88","is_valid_coordinates":true} 
[2026-08-11 18:20: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-08-11 18:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331828992001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11787039527665664,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1992631759454240768,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786452461000,"timestamp_ms":1786452461000,"timestamp_seconds":1786452461,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dd45c8"} 
[2026-08-11 18:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:20:15] 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-08-11 18:20: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-11 18:20:15] 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-08-11 18:20: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-08-11 18:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331828992001,"66":14004,"109":206,"83":41984,"24":24,"16":11787039527665664,"45":1992631759454240768},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-11 18:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331828992001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:20:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 18:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11787039527665664,"km_value":11787039527665.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1992631759454240768,"description":"Unknown IO ID 45"} 
[2026-08-11 18:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331828992001,"power":14004,"unknown_109":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1992631759454240768}} 
[2026-08-11 18:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":153718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:20:15] local.INFO: GPS data processed {"connection_id":153718,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:20:15] local.INFO: Acknowledgment sent {"connection_id":153718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:20:15] local.INFO: Packet analysis {"connection_id":153718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:20:15] local.INFO: Extracted packet for processing {"connection_id":153718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756799104,"raw_latitude":119432536,"longitude_deg":75.6799104,"latitude_deg":11.9432536,"altitude":93,"angle":103,"satellites":36,"speed":20,"hex_longitude":"2d1bd680","hex_latitude":"071e6558","is_valid_coordinates":true} 
[2026-08-11 18:20: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-08-11 18:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331830016001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11787486204264448,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1995727984197863424,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786452478000,"timestamp_ms":1786452478000,"timestamp_seconds":1786452478,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dd8830"} 
[2026-08-11 18:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:20:15] 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-08-11 18:20: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-11 18:20:15] 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-08-11 18:20: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-08-11 18:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331830016001,"66":14102,"109":206,"83":41984,"24":20,"16":11787486204264448,"45":1995727984197863424},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-11 18:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331830016001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:20:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 18:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11787486204264448,"km_value":11787486204264.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1995727984197863424,"description":"Unknown IO ID 45"} 
[2026-08-11 18:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331830016001,"power":14102,"unknown_109":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1995727984197863424}} 
[2026-08-11 18:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":153718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:20:15] local.INFO: GPS data processed {"connection_id":153718,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:20:15] local.INFO: Acknowledgment sent {"connection_id":153718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:20:16] local.INFO: TCP Data received {"connection_id":153718,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dd9fa0012d1be200071e6280005c005c23..."} 
[2026-08-11 18:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dd9fa0012d1be200071e6280005c005c23..."} 
[2026-08-11 18:20:16] local.INFO: Processing buffer {"connection_id":153718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dd9fa0012d1be200071e6280005c005c23..."} 
[2026-08-11 18:20:16] local.INFO: Packet analysis {"connection_id":153718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:20:16] local.INFO: Extracted packet for processing {"connection_id":153718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0dd"} 
[2026-08-11 18:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756802048,"raw_latitude":119431808,"longitude_deg":75.6802048,"latitude_deg":11.9431808,"altitude":92,"angle":92,"satellites":35,"speed":16,"hex_longitude":"2d1be200","hex_latitude":"071e6280","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331834368001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11787632233152512,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2005931452103219200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786452484000,"timestamp_ms":1786452484000,"timestamp_seconds":1786452484,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dd9fa0"} 
[2026-08-11 18:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:20: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-08-11 18: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 18:20:16] 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-08-11 18: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-08-11 18:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331834368001,"66":14102,"71":206,"83":41984,"24":16,"16":11787632233152512,"45":2005931452103219200},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-08-11 18:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331834368001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:20:16] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 18:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11787632233152512,"km_value":11787632233152.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2005931452103219200,"description":"Unknown IO ID 45"} 
[2026-08-11 18:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331834368001,"power":14102,"unknown_71":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":2005931452103219200}} 
[2026-08-11 18:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":153718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:20:17] local.INFO: GPS data processed {"connection_id":153718,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:20:17] local.INFO: Acknowledgment sent {"connection_id":153718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:20:18] local.INFO: TCP Data received {"connection_id":152786,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:20:18] local.INFO: Processing buffer {"connection_id":152786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:20:18] local.INFO: IMEI packet received {"connection_id":152786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":152786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:20:19] local.INFO: TCP Data received {"connection_id":152786,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:20:19] local.INFO: Processing buffer {"connection_id":152786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:20:19] local.INFO: IMEI packet received {"connection_id":152786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":152786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:20:24] local.INFO: TCP Data received {"connection_id":152786,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:20:24] local.INFO: Processing buffer {"connection_id":152786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:20:24] local.INFO: IMEI packet received {"connection_id":152786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":152786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:20:25] local.INFO: TCP Data received {"connection_id":152786,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0de7a60012d7f334005af64f80008000229..."} 
[2026-08-11 18:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0de7a60012d7f334005af64f80008000229..."} 
[2026-08-11 18:20:25] local.INFO: Processing buffer {"connection_id":152786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0de7a60012d7f334005af64f80008000229..."} 
[2026-08-11 18:20:25] local.INFO: Packet analysis {"connection_id":152786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:20:25] local.INFO: Extracted packet for processing {"connection_id":152786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763310912,"raw_latitude":95380728,"longitude_deg":76.3310912,"latitude_deg":9.5380728,"altitude":8,"angle":2,"satellites":41,"speed":25,"hex_longitude":"2d7f3340","hex_latitude":"05af64f8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331848704001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377969311165186048,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165317847324854272,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786452540000,"timestamp_ms":1786452540000,"timestamp_seconds":1786452540,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0de7a60"} 
[2026-08-11 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-08-11 18:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 18:20:25] 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-08-11 18: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-08-11 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-08-11 18:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:20:25] 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-08-11 18:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331848704001,"66":27919,"250":206,"85":12544,"24":25,"16":377969311165186048,"45":9165317847324854272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331848704001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:20:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377969311165186048,"km_value":377969311165186.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165317847324854272,"description":"Unknown IO ID 45"} 
[2026-08-11 18:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331848704001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":25,"odometer":null,"unknown_45":9165317847324854272}} 
[2026-08-11 18:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":152786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:20:25] local.INFO: GPS data processed {"connection_id":152786,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:20:25] local.INFO: Acknowledgment sent {"connection_id":152786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:20:47] local.INFO: TCP Data received {"connection_id":153717,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0df0318012d7f648005d38f40000100fe25..."} 
[2026-08-11 18:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0df0318012d7f648005d38f40000100fe25..."} 
[2026-08-11 18:20:47] local.INFO: Processing buffer {"connection_id":153717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0df0318012d7f648005d38f40000100fe25..."} 
[2026-08-11 18:20:47] local.INFO: Packet analysis {"connection_id":153717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0df"} 
[2026-08-11 18:20:47] local.INFO: Extracted packet for processing {"connection_id":153717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0df"} 
[2026-08-11 18:20:47] local.INFO: GPS Element Parsed {"raw_longitude":763323520,"raw_latitude":97750848,"longitude_deg":76.332352,"latitude_deg":9.7750848,"altitude":1,"angle":254,"satellites":37,"speed":39,"hex_longitude":"2d7f6480","hex_latitude":"05d38f40","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331857152001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117798239826083840,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9186569208674234368,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786452575000,"timestamp_ms":1786452575000,"timestamp_seconds":1786452575,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0df0318"} 
[2026-08-11 18:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:20:47] 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-08-11 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-11 18:20:47] 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-08-11 18: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-08-11 18:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331857152001,"66":13048,"167":206,"85":15104,"24":39,"16":117798239826083840,"45":9186569208674234368},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-11 18:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331857152001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:20:47] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 18:20:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117798239826083840,"km_value":117798239826083.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9186569208674234368,"description":"Unknown IO ID 45"} 
[2026-08-11 18:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331857152001,"power":13048,"unknown_167":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9186569208674234368}} 
[2026-08-11 18:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":153717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:20:47] local.INFO: GPS data processed {"connection_id":153717,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:20:47] local.INFO: Acknowledgment sent {"connection_id":153717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:20:51] local.INFO: TCP Data received {"connection_id":153718,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0df3db0012d1bf5c0071e5db8005a010f24..."} 
[2026-08-11 18:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0df3db0012d1bf5c0071e5db8005a010f24..."} 
[2026-08-11 18:20:51] local.INFO: Processing buffer {"connection_id":153718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0df3db0012d1bf5c0071e5db8005a010f24..."} 
[2026-08-11 18:20:51] local.INFO: Packet analysis {"connection_id":153718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0df"} 
[2026-08-11 18:20:51] local.INFO: Extracted packet for processing {"connection_id":153718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0df"} 
[2026-08-11 18:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756807104,"raw_latitude":119430584,"longitude_deg":75.6807104,"latitude_deg":11.9430584,"altitude":90,"angle":271,"satellites":36,"speed":14,"hex_longitude":"2d1bf5c0","hex_latitude":"071e5db8","is_valid_coordinates":true} 
[2026-08-11 18:20: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-08-11 18:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331862528001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11787975830536192,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2015220126334158848,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786452590000,"timestamp_ms":1786452590000,"timestamp_seconds":1786452590,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0df3db0"} 
[2026-08-11 18:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:20:51] 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-08-11 18:20: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 18:20:51] 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-08-11 18:20: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-08-11 18:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331862528001,"66":13928,"109":206,"83":41984,"24":14,"16":11787975830536192,"45":2015220126334158848},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-11 18:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331862528001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:20:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 18:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11787975830536192,"km_value":11787975830536.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2015220126334158848,"description":"Unknown IO ID 45"} 
[2026-08-11 18:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331862528001,"power":13928,"unknown_109":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":2015220126334158848}} 
[2026-08-11 18:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":153718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:20:51] local.INFO: GPS data processed {"connection_id":153718,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:20:51] local.INFO: Acknowledgment sent {"connection_id":153718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:20:56] local.INFO: TCP Data received {"connection_id":152786,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0dea940012d7f35c005af8790000a000529..."} 
[2026-08-11 18:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0dea940012d7f35c005af8790000a000529..."} 
[2026-08-11 18:20:56] local.INFO: Processing buffer {"connection_id":152786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0dea940012d7f35c005af8790000a000529..."} 
[2026-08-11 18:20:56] local.INFO: Packet analysis {"connection_id":152786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:20:56] local.INFO: Extracted packet for processing {"connection_id":152786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763311552,"raw_latitude":95389584,"longitude_deg":76.3311552,"latitude_deg":9.5389584,"altitude":10,"angle":5,"satellites":41,"speed":33,"hex_longitude":"2d7f35c0","hex_latitude":"05af8790","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331850240001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377969740661915648,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165740059790735360,"note":"Value kept but may cause issues"} 
[2026-08-11 18:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786452552000,"timestamp_ms":1786452552000,"timestamp_seconds":1786452552,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0dea940"} 
[2026-08-11 18:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 18:20:56] 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-08-11 18: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-08-11 18:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:20:56] 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-08-11 18:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331850240001,"66":27876,"250":206,"85":12544,"24":33,"16":377969740661915648,"45":9165740059790735360},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331850240001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:20:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377969740661915648,"km_value":377969740661915.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165740059790735360,"description":"Unknown IO ID 45"} 
[2026-08-11 18:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331850240001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9165740059790735360}} 
[2026-08-11 18:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":152786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:20:56] local.INFO: GPS data processed {"connection_id":152786,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:20:56] local.INFO: Acknowledgment sent {"connection_id":152786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:21:10] local.INFO: TCP Data received {"connection_id":152392,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:21:10] local.INFO: Processing buffer {"connection_id":152392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:21:10] local.INFO: IMEI packet received {"connection_id":152392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":152392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:21:14] local.INFO: TCP Data received {"connection_id":152391,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:21:14] local.INFO: Processing buffer {"connection_id":152391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:21:14] local.INFO: IMEI packet received {"connection_id":152391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":152391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:21:16] local.INFO: TCP Data received {"connection_id":152391,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:21:16] local.INFO: Processing buffer {"connection_id":152391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:21:16] local.INFO: IMEI packet received {"connection_id":152391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":152391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:21:16] local.INFO: TCP Data received {"connection_id":152392,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:21:16] local.INFO: Processing buffer {"connection_id":152392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:21:16] local.INFO: IMEI packet received {"connection_id":152392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":152392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:21:17] local.INFO: TCP Data received {"connection_id":152392,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0df7078012d1bdc80071e61a8005b011c24..."} 
[2026-08-11 18:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0df7078012d1bdc80071e61a8005b011c24..."} 
[2026-08-11 18:21:17] local.INFO: Processing buffer {"connection_id":152392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0df7078012d1bdc80071e61a8005b011c24..."} 
[2026-08-11 18:21:17] local.INFO: Packet analysis {"connection_id":152392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0df"} 
[2026-08-11 18:21:17] local.INFO: Extracted packet for processing {"connection_id":152392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0df"} 
[2026-08-11 18:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756800640,"raw_latitude":119431592,"longitude_deg":75.680064,"latitude_deg":11.9431592,"altitude":91,"angle":284,"satellites":36,"speed":22,"hex_longitude":"2d1bdc80","hex_latitude":"071e61a8","is_valid_coordinates":true} 
[2026-08-11 18:21: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-08-11 18:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331863040001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11788285068181504,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2014727545124927488,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786452603000,"timestamp_ms":1786452603000,"timestamp_seconds":1786452603,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0df7078"} 
[2026-08-11 18:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:21: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-08-11 18:21: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-11 18:21:17] 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-08-11 18:21: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-08-11 18:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331863040001,"66":14396,"109":206,"83":41984,"24":22,"16":11788285068181504,"45":2014727545124927488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-11 18:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331863040001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:21:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 18:21:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11788285068181504,"km_value":11788285068181.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2014727545124927488,"description":"Unknown IO ID 45"} 
[2026-08-11 18:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331863040001,"power":14396,"unknown_109":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":2014727545124927488}} 
[2026-08-11 18:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":152392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:21:18] local.INFO: GPS data processed {"connection_id":152392,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:21:18] local.INFO: Acknowledgment sent {"connection_id":152392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:21:18] local.INFO: TCP Data received {"connection_id":152391,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0df0ed0012d7f58c005d38ad8000100f325..."} 
[2026-08-11 18:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0df0ed0012d7f58c005d38ad8000100f325..."} 
[2026-08-11 18:21:18] local.INFO: Processing buffer {"connection_id":152391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0df0ed0012d7f58c005d38ad8000100f325..."} 
[2026-08-11 18:21:18] local.INFO: Packet analysis {"connection_id":152391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0df"} 
[2026-08-11 18:21:18] local.INFO: Extracted packet for processing {"connection_id":152391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0df"} 
[2026-08-11 18:21:18] local.INFO: GPS Element Parsed {"raw_longitude":763320512,"raw_latitude":97749720,"longitude_deg":76.3320512,"latitude_deg":9.774972,"altitude":1,"angle":243,"satellites":37,"speed":44,"hex_longitude":"2d7f58c0","hex_latitude":"05d38ad8","is_valid_coordinates":true} 
[2026-08-11 18:21: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-08-11 18:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331859200001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117798390149939200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179602703000485888,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786452578000,"timestamp_ms":1786452578000,"timestamp_seconds":1786452578,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0df0ed0"} 
[2026-08-11 18:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:21:18] 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-08-11 18:21: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 18:21:18] 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-08-11 18:21: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-08-11 18:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331859200001,"66":13091,"167":206,"85":15104,"24":44,"16":117798390149939200,"45":9179602703000485888},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-11 18:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331859200001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:21:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 18:21:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117798390149939200,"km_value":117798390149939.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179602703000485888,"description":"Unknown IO ID 45"} 
[2026-08-11 18:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331859200001,"power":13091,"unknown_167":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9179602703000485888}} 
[2026-08-11 18:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":152391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:21:18] local.INFO: GPS data processed {"connection_id":152391,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:21:18] local.INFO: Acknowledgment sent {"connection_id":152391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:21:18] local.INFO: TCP Data received {"connection_id":152391,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e056f0012d7ea00005d31908000400e923..."} 
[2026-08-11 18:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e056f0012d7ea00005d31908000400e923..."} 
[2026-08-11 18:21:18] local.INFO: Processing buffer {"connection_id":152391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e056f0012d7ea00005d31908000400e923..."} 
[2026-08-11 18:21:18] local.INFO: Packet analysis {"connection_id":152391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e0"} 
[2026-08-11 18:21:18] local.INFO: Extracted packet for processing {"connection_id":152391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e0"} 
[2026-08-11 18:21:18] local.INFO: GPS Element Parsed {"raw_longitude":763273216,"raw_latitude":97720584,"longitude_deg":76.3273216,"latitude_deg":9.7720584,"altitude":4,"angle":233,"satellites":35,"speed":24,"hex_longitude":"2d7ea000","hex_latitude":"05d31908","is_valid_coordinates":true} 
[2026-08-11 18:21: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-08-11 18:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331880704001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117801216238419968,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125981719929593856,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786452662000,"timestamp_ms":1786452662000,"timestamp_seconds":1786452662,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e056f0"} 
[2026-08-11 18:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:21:18] 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-08-11 18:21: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-11 18:21:18] 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-08-11 18:21: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-08-11 18:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331880704001,"66":12765,"167":206,"85":15104,"24":24,"16":117801216238419968,"45":9125981719929593856},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-11 18:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331880704001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:21:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 18:21:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117801216238419968,"km_value":117801216238419.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125981719929593856,"description":"Unknown IO ID 45"} 
[2026-08-11 18:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331880704001,"power":12765,"unknown_167":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9125981719929593856}} 
[2026-08-11 18:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":152391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:21:18] local.INFO: GPS data processed {"connection_id":152391,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:21:18] local.INFO: Acknowledgment sent {"connection_id":152391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:21:18] local.INFO: TCP Data received {"connection_id":155096,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:21:18] local.INFO: Processing buffer {"connection_id":155096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:21:18] local.INFO: IMEI packet received {"connection_id":155096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":155096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:21:24] local.INFO: TCP Data received {"connection_id":155096,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:21:24] local.INFO: Processing buffer {"connection_id":155096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:21:24] local.INFO: IMEI packet received {"connection_id":155096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":155096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:21:25] local.INFO: TCP Data received {"connection_id":155096,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ded820012d7f378005afab180008000529..."} 
[2026-08-11 18:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ded820012d7f378005afab180008000529..."} 
[2026-08-11 18:21:25] local.INFO: Processing buffer {"connection_id":155096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ded820012d7f378005afab180008000529..."} 
[2026-08-11 18:21:25] local.INFO: Packet analysis {"connection_id":155096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:21:25] local.INFO: Extracted packet for processing {"connection_id":155096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:21:25] local.INFO: GPS Element Parsed {"raw_longitude":763312000,"raw_latitude":95398680,"longitude_deg":76.3312,"latitude_deg":9.539868,"altitude":8,"angle":5,"satellites":41,"speed":26,"hex_longitude":"2d7f3780","hex_latitude":"05afab18","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331853312001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377970183043547136,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166443747234779136,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786452564000,"timestamp_ms":1786452564000,"timestamp_seconds":1786452564,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ded820"} 
[2026-08-11 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-08-11 18:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 18:21:25] 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-08-11 18: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-08-11 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-08-11 18:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:21:25] 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-08-11 18:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331853312001,"66":27908,"250":206,"85":12544,"24":26,"16":377970183043547136,"45":9166443747234779136},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331853312001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:21:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377970183043547136,"km_value":377970183043547.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166443747234779136,"description":"Unknown IO ID 45"} 
[2026-08-11 18:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331853312001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9166443747234779136}} 
[2026-08-11 18:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":155096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:21:25] local.INFO: GPS data processed {"connection_id":155096,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:21:25] local.INFO: Acknowledgment sent {"connection_id":155096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:21:49] local.INFO: TCP Data received {"connection_id":152392,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e081e8012d1b5200071ebc380048013e1d..."} 
[2026-08-11 18:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e081e8012d1b5200071ebc380048013e1d..."} 
[2026-08-11 18:21:49] local.INFO: Processing buffer {"connection_id":152392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e081e8012d1b5200071ebc380048013e1d..."} 
[2026-08-11 18:21:49] local.INFO: Packet analysis {"connection_id":152392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e0"} 
[2026-08-11 18:21:49] local.INFO: Extracted packet for processing {"connection_id":152392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e0"} 
[2026-08-11 18:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756765184,"raw_latitude":119454776,"longitude_deg":75.6765184,"latitude_deg":11.9454776,"altitude":72,"angle":318,"satellites":29,"speed":20,"hex_longitude":"2d1b5200","hex_latitude":"071ebc38","is_valid_coordinates":true} 
[2026-08-11 18:21: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-08-11 18:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331884032001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11790561400848384,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968987861415518208,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:49] 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-08-11 18:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786452673000,"timestamp_ms":1786452673000,"timestamp_seconds":1786452673,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e081e8"} 
[2026-08-11 18:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:21:49] 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-08-11 18:21: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-08-11 18:21: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-08-11 18:21: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-08-11 18:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331884032001,"66":14428,"106":206,"83":41984,"24":20,"16":11790561400848384,"45":1968987861415518208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331884032001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:21:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11790561400848384,"km_value":11790561400848.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968987861415518208,"description":"Unknown IO ID 45"} 
[2026-08-11 18:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331884032001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1968987861415518208}} 
[2026-08-11 18:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":152392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:21:49] local.INFO: GPS data processed {"connection_id":152392,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:21:49] local.INFO: Acknowledgment sent {"connection_id":152392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:21:49] local.INFO: TCP Data received {"connection_id":152391,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e081e8012d7e89c005d30930000400f423..."} 
[2026-08-11 18:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e081e8012d7e89c005d30930000400f423..."} 
[2026-08-11 18:21:49] local.INFO: Processing buffer {"connection_id":152391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e081e8012d7e89c005d30930000400f423..."} 
[2026-08-11 18:21:49] local.INFO: Packet analysis {"connection_id":152391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e0"} 
[2026-08-11 18:21:49] local.INFO: Extracted packet for processing {"connection_id":152391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e0"} 
[2026-08-11 18:21:49] local.INFO: GPS Element Parsed {"raw_longitude":763267520,"raw_latitude":97716528,"longitude_deg":76.326752,"latitude_deg":9.7716528,"altitude":4,"angle":244,"satellites":35,"speed":31,"hex_longitude":"2d7e89c0","hex_latitude":"05d30930","is_valid_coordinates":true} 
[2026-08-11 18:21: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-08-11 18:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331881472001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117801555540836352,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124292870069094400,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786452673000,"timestamp_ms":1786452673000,"timestamp_seconds":1786452673,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e081e8"} 
[2026-08-11 18:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:21:49] 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-08-11 18:21: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-11 18:21:49] 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-08-11 18:21: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-08-11 18:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331881472001,"66":12982,"167":206,"85":15104,"24":31,"16":117801555540836352,"45":9124292870069094400},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-11 18:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331881472001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:21:49] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 18:21:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117801555540836352,"km_value":117801555540836.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124292870069094400,"description":"Unknown IO ID 45"} 
[2026-08-11 18:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331881472001,"power":12982,"unknown_167":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9124292870069094400}} 
[2026-08-11 18:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":152391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:21:49] local.INFO: GPS data processed {"connection_id":152391,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:21:49] local.INFO: Acknowledgment sent {"connection_id":152391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:21:56] local.INFO: TCP Data received {"connection_id":155096,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0deef90012d7f39c005afb6980009001329..."} 
[2026-08-11 18:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0deef90012d7f39c005afb6980009001329..."} 
[2026-08-11 18:21:56] local.INFO: Processing buffer {"connection_id":155096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0deef90012d7f39c005afb6980009001329..."} 
[2026-08-11 18:21:56] local.INFO: Packet analysis {"connection_id":155096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:21:56] local.INFO: Extracted packet for processing {"connection_id":155096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0de"} 
[2026-08-11 18:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763312576,"raw_latitude":95401624,"longitude_deg":76.3312576,"latitude_deg":9.5401624,"altitude":9,"angle":19,"satellites":41,"speed":8,"hex_longitude":"2d7f39c0","hex_latitude":"05afb698","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331856384001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377970329072435200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166936328446351360,"note":"Value kept but may cause issues"} 
[2026-08-11 18:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786452570000,"timestamp_ms":1786452570000,"timestamp_seconds":1786452570,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0deef90"} 
[2026-08-11 18:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 18:21:56] 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-08-11 18: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-08-11 18:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:21:56] 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-08-11 18:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331856384001,"66":27821,"250":206,"85":12544,"24":8,"16":377970329072435200,"45":9166936328446351360},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331856384001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:21:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377970329072435200,"km_value":377970329072435.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166936328446351360,"description":"Unknown IO ID 45"} 
[2026-08-11 18:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331856384001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9166936328446351360}} 
[2026-08-11 18:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":155096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:21:56] local.INFO: GPS data processed {"connection_id":155096,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:21:56] local.INFO: Acknowledgment sent {"connection_id":155096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:22:06] local.INFO: TCP Data received {"connection_id":152787,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:22:06] local.INFO: Processing buffer {"connection_id":152787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:22:06] local.INFO: IMEI packet received {"connection_id":152787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":152787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:22:08] local.INFO: TCP Data received {"connection_id":152393,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:22:08] local.INFO: Processing buffer {"connection_id":152393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:22:08] local.INFO: IMEI packet received {"connection_id":152393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":152393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:22:08] local.INFO: TCP Data received {"connection_id":152787,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:22:08] local.INFO: Processing buffer {"connection_id":152787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:22:08] local.INFO: IMEI packet received {"connection_id":152787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":152787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:22:09] local.INFO: TCP Data received {"connection_id":152393,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:22:09] local.INFO: Processing buffer {"connection_id":152393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:22:09] local.INFO: IMEI packet received {"connection_id":152393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":152393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:22:09] local.INFO: TCP Data received {"connection_id":152393,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:22:09] local.INFO: Processing buffer {"connection_id":152393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:22:09] local.INFO: IMEI packet received {"connection_id":152393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":152393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:22:13] local.INFO: TCP Data received {"connection_id":152787,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:22:13] local.INFO: Processing buffer {"connection_id":152787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:22:13] local.INFO: IMEI packet received {"connection_id":152787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":152787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:22:14] local.INFO: TCP Data received {"connection_id":152787,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e08da0012d7e810005d306000005010023..."} 
[2026-08-11 18:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e08da0012d7e810005d306000005010023..."} 
[2026-08-11 18:22:14] local.INFO: Processing buffer {"connection_id":152787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e08da0012d7e810005d306000005010023..."} 
[2026-08-11 18:22:14] local.INFO: Packet analysis {"connection_id":152787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e0"} 
[2026-08-11 18:22:14] local.INFO: Extracted packet for processing {"connection_id":152787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e0"} 
[2026-08-11 18:22:14] local.INFO: GPS Element Parsed {"raw_longitude":763265280,"raw_latitude":97715712,"longitude_deg":76.326528,"latitude_deg":9.7715712,"altitude":5,"angle":256,"satellites":35,"speed":30,"hex_longitude":"2d7e8100","hex_latitude":"05d30600","is_valid_coordinates":true} 
[2026-08-11 18:22: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-08-11 18:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331884288001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117801667209986048,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9118030051836243968,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786452676000,"timestamp_ms":1786452676000,"timestamp_seconds":1786452676,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e08da0"} 
[2026-08-11 18:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:22:14] 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-08-11 18:22: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-11 18:22:14] 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-08-11 18:22: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-08-11 18:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331884288001,"66":12341,"167":206,"85":15104,"24":30,"16":117801667209986048,"45":9118030051836243968},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-11 18:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331884288001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:22:14] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-11 18:22:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117801667209986048,"km_value":117801667209986.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9118030051836243968,"description":"Unknown IO ID 45"} 
[2026-08-11 18:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331884288001,"power":12341,"unknown_167":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9118030051836243968}} 
[2026-08-11 18:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":152787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:22:14] local.INFO: GPS data processed {"connection_id":152787,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:22:14] local.INFO: Acknowledgment sent {"connection_id":152787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:22:15] local.INFO: TCP Data received {"connection_id":152393,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:22:15] local.INFO: Processing buffer {"connection_id":152393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:22:15] local.INFO: IMEI packet received {"connection_id":152393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":152393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:22:16] local.INFO: TCP Data received {"connection_id":152393,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e085d0012d1b5140071ebec80047014b1c..."} 
[2026-08-11 18:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e085d0012d1b5140071ebec80047014b1c..."} 
[2026-08-11 18:22:16] local.INFO: Processing buffer {"connection_id":152393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e085d0012d1b5140071ebec80047014b1c..."} 
[2026-08-11 18:22:16] local.INFO: Packet analysis {"connection_id":152393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e0"} 
[2026-08-11 18:22:16] local.INFO: Extracted packet for processing {"connection_id":152393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e0"} 
[2026-08-11 18:22:16] local.INFO: GPS Element Parsed {"raw_longitude":756764992,"raw_latitude":119455432,"longitude_deg":75.6764992,"latitude_deg":11.9455432,"altitude":71,"angle":331,"satellites":28,"speed":25,"hex_longitude":"2d1b5140","hex_latitude":"071ebec8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331884288001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11790595760586752,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968636017694750720,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:16] 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-08-11 18:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786452674000,"timestamp_ms":1786452674000,"timestamp_seconds":1786452674,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e085d0"} 
[2026-08-11 18:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:22: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-08-11 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 18:22:16] 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-08-11 18: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-08-11 18:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331884288001,"66":14428,"106":206,"83":41984,"24":25,"16":11790595760586752,"45":1968636017694750720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331884288001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:22:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:22:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11790595760586752,"km_value":11790595760586.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968636017694750720,"description":"Unknown IO ID 45"} 
[2026-08-11 18:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331884288001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1968636017694750720}} 
[2026-08-11 18:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":152393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:22:16] local.INFO: GPS data processed {"connection_id":152393,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:22:16] local.INFO: Acknowledgment sent {"connection_id":152393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:22:19] local.INFO: TCP Data received {"connection_id":152788,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:22:19] local.INFO: Processing buffer {"connection_id":152788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:22:19] local.INFO: IMEI packet received {"connection_id":152788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":152788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:22:19] local.INFO: TCP Data received {"connection_id":152788,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:22:19] local.INFO: Processing buffer {"connection_id":152788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:22:19] local.INFO: IMEI packet received {"connection_id":152788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":152788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:22:24] local.INFO: TCP Data received {"connection_id":152788,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:22:24] local.INFO: Processing buffer {"connection_id":152788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:22:24] local.INFO: IMEI packet received {"connection_id":152788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":152788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:22:25] local.INFO: TCP Data received {"connection_id":152788,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e04b38012d7f9fc005afbb000008000e27..."} 
[2026-08-11 18:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e04b38012d7f9fc005afbb000008000e27..."} 
[2026-08-11 18:22:25] local.INFO: Processing buffer {"connection_id":152788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e04b38012d7f9fc005afbb000008000e27..."} 
[2026-08-11 18:22:25] local.INFO: Packet analysis {"connection_id":152788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e0"} 
[2026-08-11 18:22:25] local.INFO: Extracted packet for processing {"connection_id":152788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e0"} 
[2026-08-11 18:22:25] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95402752,"longitude_deg":76.3338688,"latitude_deg":9.5402752,"altitude":8,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afbb00","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331875328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971608972689408,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094769479680,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786452659000,"timestamp_ms":1786452659000,"timestamp_seconds":1786452659,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e04b38"} 
[2026-08-11 18:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 18:22:25] 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-08-11 18: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-08-11 18:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:22:25] 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-08-11 18:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331875328001,"66":27713,"250":206,"85":12544,"24":0,"16":377971608972689408,"45":9196280094769479680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331875328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:22:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:22:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971608972689408,"km_value":377971608972689.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094769479680,"description":"Unknown IO ID 45"} 
[2026-08-11 18:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331875328001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094769479680}} 
[2026-08-11 18:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":152788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:22:25] local.INFO: GPS data processed {"connection_id":152788,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:22:25] local.INFO: Acknowledgment sent {"connection_id":152788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:22:45] local.INFO: TCP Data received {"connection_id":152787,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e1aac8012d7e4ec005d357500002011624..."} 
[2026-08-11 18:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e1aac8012d7e4ec005d357500002011624..."} 
[2026-08-11 18:22:45] local.INFO: Processing buffer {"connection_id":152787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e1aac8012d7e4ec005d357500002011624..."} 
[2026-08-11 18:22:45] local.INFO: Packet analysis {"connection_id":152787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:22:45] local.INFO: Extracted packet for processing {"connection_id":152787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:22:45] local.INFO: GPS Element Parsed {"raw_longitude":763252416,"raw_latitude":97736528,"longitude_deg":76.3252416,"latitude_deg":9.7736528,"altitude":2,"angle":278,"satellites":36,"speed":15,"hex_longitude":"2d7e4ec0","hex_latitude":"05d35750","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331902720001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803187628408832,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102760034354728960,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:45] 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-08-11 18:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786452749000,"timestamp_ms":1786452749000,"timestamp_seconds":1786452749,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e1aac8"} 
[2026-08-11 18:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:22:45] 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-08-11 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 18:22:45] 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-08-11 18: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-08-11 18:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331902720001,"66":13319,"109":206,"85":15104,"24":15,"16":117803187628408832,"45":9102760034354728960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 18:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331902720001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:22:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 18:22:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803187628408832,"km_value":117803187628408.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102760034354728960,"description":"Unknown IO ID 45"} 
[2026-08-11 18:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331902720001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9102760034354728960}} 
[2026-08-11 18:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":152787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:22:45] local.INFO: GPS data processed {"connection_id":152787,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:22:45] local.INFO: Acknowledgment sent {"connection_id":152787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:22:47] local.INFO: TCP Data received {"connection_id":152393,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e150f0012d1afdc0071f1478004e016024..."} 
[2026-08-11 18:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e150f0012d1afdc0071f1478004e016024..."} 
[2026-08-11 18:22:47] local.INFO: Processing buffer {"connection_id":152393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e150f0012d1afdc0071f1478004e016024..."} 
[2026-08-11 18:22:47] local.INFO: Packet analysis {"connection_id":152393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:22:47] local.INFO: Extracted packet for processing {"connection_id":152393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:22:47] local.INFO: GPS Element Parsed {"raw_longitude":756743616,"raw_latitude":119477368,"longitude_deg":75.6743616,"latitude_deg":11.9477368,"altitude":78,"angle":352,"satellites":36,"speed":30,"hex_longitude":"2d1afdc0","hex_latitude":"071f1478","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331895040001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11792352402210816,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945836544584685568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:47] 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-08-11 18:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786452726000,"timestamp_ms":1786452726000,"timestamp_seconds":1786452726,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e150f0"} 
[2026-08-11 18:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:22: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-08-11 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 18:22:47] 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-08-11 18: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-08-11 18:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331895040001,"66":14004,"101":206,"83":41984,"24":30,"16":11792352402210816,"45":1945836544584685568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 18:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331895040001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:22:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 18:22:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11792352402210816,"km_value":11792352402210.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945836544584685568,"description":"Unknown IO ID 45"} 
[2026-08-11 18:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331895040001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1945836544584685568}} 
[2026-08-11 18:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":152393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:22:47] local.INFO: GPS data processed {"connection_id":152393,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:22:47] local.INFO: Acknowledgment sent {"connection_id":152393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:22:57] local.INFO: TCP Data received {"connection_id":152788,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e09d40012d7f9fc005afbb000008000e28..."} 
[2026-08-11 18:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e09d40012d7f9fc005afbb000008000e28..."} 
[2026-08-11 18:22:57] local.INFO: Processing buffer {"connection_id":152788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e09d40012d7f9fc005afbb000008000e28..."} 
[2026-08-11 18:22:57] local.INFO: Packet analysis {"connection_id":152788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e0"} 
[2026-08-11 18:22:57] local.INFO: Extracted packet for processing {"connection_id":152788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e0"} 
[2026-08-11 18:22:57] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95402752,"longitude_deg":76.3338688,"latitude_deg":9.5402752,"altitude":8,"angle":14,"satellites":40,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afbb00","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331880704001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971608972689408,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094769479680,"note":"Value kept but may cause issues"} 
[2026-08-11 18:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786452680000,"timestamp_ms":1786452680000,"timestamp_seconds":1786452680,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e09d40"} 
[2026-08-11 18:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-11 18:22:57] 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-08-11 18: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-08-11 18:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:22:57] 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-08-11 18:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331880704001,"66":27615,"250":206,"85":12544,"24":0,"16":377971608972689408,"45":9196280094769479680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331880704001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:22:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971608972689408,"km_value":377971608972689.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094769479680,"description":"Unknown IO ID 45"} 
[2026-08-11 18:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331880704001,"power":27615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094769479680}} 
[2026-08-11 18:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":152788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:22:57] local.INFO: GPS data processed {"connection_id":152788,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:22:57] local.INFO: Acknowledgment sent {"connection_id":152788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:23:08] local.INFO: TCP Data received {"connection_id":155097,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:23:08] local.INFO: Processing buffer {"connection_id":155097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:23:08] local.INFO: IMEI packet received {"connection_id":155097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":155097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:23:09] local.INFO: TCP Data received {"connection_id":152394,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:23:09] local.INFO: Processing buffer {"connection_id":152394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:23:09] local.INFO: IMEI packet received {"connection_id":152394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":152394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:23:09] local.INFO: TCP Data received {"connection_id":152394,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:23:09] local.INFO: Processing buffer {"connection_id":152394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:23:09] local.INFO: IMEI packet received {"connection_id":152394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":152394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:23:12] local.INFO: TCP Data received {"connection_id":152394,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:23:12] local.INFO: Processing buffer {"connection_id":152394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:23:12] local.INFO: IMEI packet received {"connection_id":152394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":152394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:23:13] local.INFO: TCP Data received {"connection_id":152394,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:23:13] local.INFO: Processing buffer {"connection_id":152394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:23:13] local.INFO: IMEI packet received {"connection_id":152394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":152394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:23:18] local.INFO: TCP Data received {"connection_id":155097,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:23:18] local.INFO: Processing buffer {"connection_id":155097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:23:18] local.INFO: IMEI packet received {"connection_id":155097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":155097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:23:19] local.INFO: TCP Data received {"connection_id":152395,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:23:19] local.INFO: Processing buffer {"connection_id":152395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:23:19] local.INFO: IMEI packet received {"connection_id":152395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":152395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:23:19] local.INFO: TCP Data received {"connection_id":155097,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e1b680012d7e4a0005d357b00002010725..."} 
[2026-08-11 18:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e1b680012d7e4a0005d357b00002010725..."} 
[2026-08-11 18:23:19] local.INFO: Processing buffer {"connection_id":155097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e1b680012d7e4a0005d357b00002010725..."} 
[2026-08-11 18:23:19] local.INFO: Packet analysis {"connection_id":155097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:23:19] local.INFO: Extracted packet for processing {"connection_id":155097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:23:19] local.INFO: GPS Element Parsed {"raw_longitude":763251200,"raw_latitude":97736624,"longitude_deg":76.32512,"latitude_deg":9.7736624,"altitude":2,"angle":263,"satellites":37,"speed":14,"hex_longitude":"2d7e4a00","hex_latitude":"05d357b0","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331903744001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803247757950976,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101423028215435264,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:19] 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-08-11 18:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786452752000,"timestamp_ms":1786452752000,"timestamp_seconds":1786452752,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e1b680"} 
[2026-08-11 18:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:23:19] 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-08-11 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 18:23:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4041289160,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3778641921,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:19] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2961116767904408576,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-11 18:23:19] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2550214014,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:19] local.WARNING: Large IO value detected {"io_id":94,"raw_value":2147865423,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505869,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:19] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2234122240,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3544944640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:19] local.WARNING: Large IO value detected {"io_id":221,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:19] local.WARNING: Large IO value detected {"io_id":225,"raw_value":765613231558574085,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,85,24,241,157,16,133,159,155,45,128,86,2,36,10,66,77,69,1,240,178,227,211,4,113,205,18,53,94,48,239,50,162,5,26,221,225],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-11 18:23:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144421006928183296,"timestamp_seconds":144421006928183.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 18:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":155097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":155097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":155097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331903744001,"66":13276,"109":206,"85":15104,"24":14,"16":117803247757950976,"45":9101423028215435264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 18:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331903744001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:23:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 18:23:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803247757950976,"km_value":117803247757950.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101423028215435264,"description":"Unknown IO ID 45"} 
[2026-08-11 18:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331903744001,"power":13276,"unknown_109":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9101423028215435264}} 
[2026-08-11 18:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":155097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:23:20] local.INFO: GPS data processed {"connection_id":155097,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:23:20] local.INFO: Acknowledgment sent {"connection_id":155097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:23:24] local.INFO: TCP Data received {"connection_id":152395,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:23:24] local.INFO: Processing buffer {"connection_id":152395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:23:24] local.INFO: IMEI packet received {"connection_id":152395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":152395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:23:25] local.INFO: TCP Data received {"connection_id":152395,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e0ef48012d7f9fc005afbb000008000e27..."} 
[2026-08-11 18:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e0ef48012d7f9fc005afbb000008000e27..."} 
[2026-08-11 18:23:25] local.INFO: Processing buffer {"connection_id":152395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e0ef48012d7f9fc005afbb000008000e27..."} 
[2026-08-11 18:23:25] local.INFO: Packet analysis {"connection_id":152395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e0"} 
[2026-08-11 18:23:25] local.INFO: Extracted packet for processing {"connection_id":152395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e0"} 
[2026-08-11 18:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95402752,"longitude_deg":76.3338688,"latitude_deg":9.5402752,"altitude":8,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afbb00","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331886080001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971608972689408,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094769479680,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786452701000,"timestamp_ms":1786452701000,"timestamp_seconds":1786452701,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e0ef48"} 
[2026-08-11 18:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-11 18:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18: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-08-11 18:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:23:25] 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-08-11 18:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331886080001,"66":27647,"250":206,"85":12544,"24":0,"16":377971608972689408,"45":9196280094769479680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331886080001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:23:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971608972689408,"km_value":377971608972689.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094769479680,"description":"Unknown IO ID 45"} 
[2026-08-11 18:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331886080001,"power":27647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196280094769479680}} 
[2026-08-11 18:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":152395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:23:25] local.INFO: GPS data processed {"connection_id":152395,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:23:25] local.INFO: Acknowledgment sent {"connection_id":152395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:23:51] local.INFO: TCP Data received {"connection_id":155097,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e1cdf0012d7e428005d357300002011325..."} 
[2026-08-11 18:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e1cdf0012d7e428005d357300002011325..."} 
[2026-08-11 18:23:51] local.INFO: Processing buffer {"connection_id":155097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e1cdf0012d7e428005d357300002011325..."} 
[2026-08-11 18:23:51] local.INFO: Packet analysis {"connection_id":155097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:23:51] local.INFO: Extracted packet for processing {"connection_id":155097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:23:51] local.INFO: GPS Element Parsed {"raw_longitude":763249280,"raw_latitude":97736496,"longitude_deg":76.324928,"latitude_deg":9.7736496,"altitude":2,"angle":275,"satellites":37,"speed":11,"hex_longitude":"2d7e4280","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-08-11 18:23: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-08-11 18:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331904512001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803337952264192,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100086022076084224,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:51] 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-08-11 18:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786452758000,"timestamp_ms":1786452758000,"timestamp_seconds":1786452758,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e1cdf0"} 
[2026-08-11 18:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:23: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-08-11 18:23: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-11 18:23:51] 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-08-11 18:23: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-08-11 18:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":155097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":155097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":155097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331904512001,"66":13091,"109":206,"85":15104,"24":11,"16":117803337952264192,"45":9100086022076084224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 18:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331904512001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:23:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 18:23:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803337952264192,"km_value":117803337952264.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100086022076084224,"description":"Unknown IO ID 45"} 
[2026-08-11 18:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331904512001,"power":13091,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9100086022076084224}} 
[2026-08-11 18:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":155097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:23:51] local.INFO: GPS data processed {"connection_id":155097,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:23:51] local.INFO: Acknowledgment sent {"connection_id":155097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:23:56] local.INFO: TCP Data received {"connection_id":152395,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e14150012d7fa14005afbda80008000828..."} 
[2026-08-11 18:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e14150012d7fa14005afbda80008000828..."} 
[2026-08-11 18:23:56] local.INFO: Processing buffer {"connection_id":152395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e14150012d7fa14005afbda80008000828..."} 
[2026-08-11 18:23:56] local.INFO: Packet analysis {"connection_id":152395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:23:56] local.INFO: Extracted packet for processing {"connection_id":152395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763339072,"raw_latitude":95403432,"longitude_deg":76.3339072,"latitude_deg":9.5403432,"altitude":8,"angle":8,"satellites":40,"speed":8,"hex_longitude":"2d7fa140","hex_latitude":"05afbda8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331891456001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971651922362368,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094769479680,"note":"Value kept but may cause issues"} 
[2026-08-11 18:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786452722000,"timestamp_ms":1786452722000,"timestamp_seconds":1786452722,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e14150"} 
[2026-08-11 18:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 18:23:56] 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-08-11 18: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-08-11 18:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:23:56] 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-08-11 18:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331891456001,"66":27865,"250":206,"85":12544,"24":8,"16":377971651922362368,"45":9196280094769479680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331891456001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:23:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971651922362368,"km_value":377971651922362.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094769479680,"description":"Unknown IO ID 45"} 
[2026-08-11 18:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331891456001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9196280094769479680}} 
[2026-08-11 18:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":152395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:23:56] local.INFO: GPS data processed {"connection_id":152395,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:23:56] local.INFO: Acknowledgment sent {"connection_id":152395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:24:08] local.INFO: TCP Data received {"connection_id":152789,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:24:09] local.INFO: Processing buffer {"connection_id":152789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:24:09] local.INFO: IMEI packet received {"connection_id":152789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":152789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:24:09] local.INFO: TCP Data received {"connection_id":152789,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:24:09] local.INFO: Processing buffer {"connection_id":152789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:24:09] local.INFO: IMEI packet received {"connection_id":152789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":152789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:24:10] local.INFO: TCP Data received {"connection_id":152789,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:24:10] local.INFO: Processing buffer {"connection_id":152789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:24:10] local.INFO: IMEI packet received {"connection_id":152789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":152789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:24:11] local.INFO: TCP Data received {"connection_id":152789,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:24:11] local.INFO: Processing buffer {"connection_id":152789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:24:11] local.INFO: IMEI packet received {"connection_id":152789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":152789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:24:18] local.INFO: TCP Data received {"connection_id":152790,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:24:18] local.INFO: Processing buffer {"connection_id":152790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:24:18] local.INFO: IMEI packet received {"connection_id":152790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":152790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:24:24] local.INFO: TCP Data received {"connection_id":152790,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:24:24] local.INFO: Processing buffer {"connection_id":152790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:24:24] local.INFO: IMEI packet received {"connection_id":152790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":152790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:24:25] local.INFO: TCP Data received {"connection_id":152790,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e19358012d7fa48005afd480000a000229..."} 
[2026-08-11 18:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e19358012d7fa48005afd480000a000229..."} 
[2026-08-11 18:24:25] local.INFO: Processing buffer {"connection_id":152790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e19358012d7fa48005afd480000a000229..."} 
[2026-08-11 18:24:25] local.INFO: Packet analysis {"connection_id":152790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:24:25] local.INFO: Extracted packet for processing {"connection_id":152790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:24:25] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95409280,"longitude_deg":76.3339904,"latitude_deg":9.540928,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afd480","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331896832001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196702307234719744,"note":"Value kept but may cause issues"} 
[2026-08-11 18:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786452743000,"timestamp_ms":1786452743000,"timestamp_seconds":1786452743,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e19358"} 
[2026-08-11 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-08-11 18:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 18:24:25] 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-08-11 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-08-11 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-08-11 18:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:24:25] 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-08-11 18:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331896832001,"66":27767,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9196702307234719744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331896832001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:24:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:24:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196702307234719744,"description":"Unknown IO ID 45"} 
[2026-08-11 18:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331896832001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196702307234719744}} 
[2026-08-11 18:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":152790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:24:25] local.INFO: GPS data processed {"connection_id":152790,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:24:25] local.INFO: Acknowledgment sent {"connection_id":152790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:24:56] local.INFO: TCP Data received {"connection_id":152790,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:24:56] local.INFO: Processing buffer {"connection_id":152790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:24:56] local.INFO: Packet analysis {"connection_id":152790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:24:56] local.INFO: Extracted packet for processing {"connection_id":152790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95409304,"longitude_deg":76.3339904,"latitude_deg":9.5409304,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afd498","is_valid_coordinates":true} 
[2026-08-11 18:24: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-08-11 18:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331902208001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910526464,"note":"Value kept but may cause issues"} 
[2026-08-11 18:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786452746000,"timestamp_ms":1786452746000,"timestamp_seconds":1786452746,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e19f10"} 
[2026-08-11 18:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:24:56] 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-08-11 18: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-08-11 18:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:24:56] 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-08-11 18:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331902208001,"66":27745,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9197617100910526464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331902208001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:24:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910526464,"description":"Unknown IO ID 45"} 
[2026-08-11 18:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331902208001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910526464}} 
[2026-08-11 18:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":152790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:24:56] local.INFO: GPS data processed {"connection_id":152790,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:24:56] local.INFO: Acknowledgment sent {"connection_id":152790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:25:23] local.INFO: TCP Data received {"connection_id":152396,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:25:23] local.INFO: Processing buffer {"connection_id":152396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:25:23] local.INFO: IMEI packet received {"connection_id":152396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":152396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:25:28] local.INFO: TCP Data received {"connection_id":152396,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:25:28] local.INFO: Processing buffer {"connection_id":152396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:25:28] local.INFO: IMEI packet received {"connection_id":152396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":152396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:25:34] local.INFO: TCP Data received {"connection_id":152396,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:25:34] local.INFO: Processing buffer {"connection_id":152396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:25:34] local.INFO: Packet analysis {"connection_id":152396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:25:34] local.INFO: Extracted packet for processing {"connection_id":152396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95409304,"longitude_deg":76.3339904,"latitude_deg":9.5409304,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afd498","is_valid_coordinates":true} 
[2026-08-11 18:25:34] 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-08-11 18:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331902208001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910526464,"note":"Value kept but may cause issues"} 
[2026-08-11 18:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786452746000,"timestamp_ms":1786452746000,"timestamp_seconds":1786452746,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e19f10"} 
[2026-08-11 18:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18:25: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":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:25:34] 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-08-11 18:25: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-08-11 18:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331902208001,"66":27745,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9197617100910526464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331902208001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:25:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910526464,"description":"Unknown IO ID 45"} 
[2026-08-11 18:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331902208001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910526464}} 
[2026-08-11 18:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":152396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:25:34] local.INFO: GPS data processed {"connection_id":152396,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:25:34] local.INFO: Acknowledgment sent {"connection_id":152396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:25:37] local.INFO: TCP Data received {"connection_id":152396,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:25:37] local.INFO: Processing buffer {"connection_id":152396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:25:37] local.INFO: Packet analysis {"connection_id":152396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:25:37] local.INFO: Extracted packet for processing {"connection_id":152396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95409304,"longitude_deg":76.3339904,"latitude_deg":9.5409304,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afd498","is_valid_coordinates":true} 
[2026-08-11 18:25: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-08-11 18:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331902208001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910526464,"note":"Value kept but may cause issues"} 
[2026-08-11 18:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786452746000,"timestamp_ms":1786452746000,"timestamp_seconds":1786452746,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e19f10"} 
[2026-08-11 18:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:25: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-08-11 18: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-08-11 18:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331902208001,"66":27745,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9197617100910526464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331902208001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:25:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910526464,"description":"Unknown IO ID 45"} 
[2026-08-11 18:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331902208001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910526464}} 
[2026-08-11 18:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":152396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:25:37] local.INFO: GPS data processed {"connection_id":152396,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:25:37] local.INFO: Acknowledgment sent {"connection_id":152396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:26:18] local.INFO: TCP Data received {"connection_id":155099,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:26:18] local.INFO: Processing buffer {"connection_id":155099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:26:18] local.INFO: IMEI packet received {"connection_id":155099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":155099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:26:24] local.INFO: TCP Data received {"connection_id":155099,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:26:24] local.INFO: Processing buffer {"connection_id":155099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:26:24] local.INFO: IMEI packet received {"connection_id":155099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":155099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:26:25] local.INFO: TCP Data received {"connection_id":155099,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:26:25] local.INFO: Processing buffer {"connection_id":155099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:26:25] local.INFO: Packet analysis {"connection_id":155099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:26:25] local.INFO: Extracted packet for processing {"connection_id":155099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:26:25] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95409304,"longitude_deg":76.3339904,"latitude_deg":9.5409304,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afd498","is_valid_coordinates":true} 
[2026-08-11 18:26:25] 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-08-11 18:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331902208001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910526464,"note":"Value kept but may cause issues"} 
[2026-08-11 18:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786452746000,"timestamp_ms":1786452746000,"timestamp_seconds":1786452746,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e19f10"} 
[2026-08-11 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-08-11 18:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:26:25] 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-08-11 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-08-11 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-08-11 18:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331902208001,"66":27745,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9197617100910526464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331902208001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:26:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:26:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910526464,"description":"Unknown IO ID 45"} 
[2026-08-11 18:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331902208001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910526464}} 
[2026-08-11 18:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":155099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:26:25] local.INFO: GPS data processed {"connection_id":155099,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:26:25] local.INFO: Acknowledgment sent {"connection_id":155099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:26:56] local.INFO: TCP Data received {"connection_id":155099,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:26:56] local.INFO: Processing buffer {"connection_id":155099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:26:56] local.INFO: Packet analysis {"connection_id":155099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:26:56] local.INFO: Extracted packet for processing {"connection_id":155099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95409304,"longitude_deg":76.3339904,"latitude_deg":9.5409304,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afd498","is_valid_coordinates":true} 
[2026-08-11 18:26: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-08-11 18:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331902208001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910526464,"note":"Value kept but may cause issues"} 
[2026-08-11 18:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786452746000,"timestamp_ms":1786452746000,"timestamp_seconds":1786452746,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e19f10"} 
[2026-08-11 18:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:26:56] 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-08-11 18: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-08-11 18:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331902208001,"66":27745,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9197617100910526464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331902208001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:26:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910526464,"description":"Unknown IO ID 45"} 
[2026-08-11 18:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331902208001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910526464}} 
[2026-08-11 18:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":155099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:26:56] local.INFO: GPS data processed {"connection_id":155099,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:26:56] local.INFO: Acknowledgment sent {"connection_id":155099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:27:18] local.INFO: TCP Data received {"connection_id":155100,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:27:18] local.INFO: Processing buffer {"connection_id":155100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:27:18] local.INFO: IMEI packet received {"connection_id":155100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":155100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:27:26] local.INFO: TCP Data received {"connection_id":155100,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:27:26] local.INFO: Processing buffer {"connection_id":155100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:27:26] local.INFO: IMEI packet received {"connection_id":155100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":155100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:27:56] local.INFO: TCP Data received {"connection_id":155100,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:27:56] local.INFO: Processing buffer {"connection_id":155100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:27:56] local.INFO: Packet analysis {"connection_id":155100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:27:56] local.INFO: Extracted packet for processing {"connection_id":155100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95409304,"longitude_deg":76.3339904,"latitude_deg":9.5409304,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afd498","is_valid_coordinates":true} 
[2026-08-11 18:27: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-08-11 18:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331902208001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910526464,"note":"Value kept but may cause issues"} 
[2026-08-11 18:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786452746000,"timestamp_ms":1786452746000,"timestamp_seconds":1786452746,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e19f10"} 
[2026-08-11 18:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:27:56] 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-08-11 18: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-08-11 18:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331902208001,"66":27745,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9197617100910526464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331902208001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:27:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910526464,"description":"Unknown IO ID 45"} 
[2026-08-11 18:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331902208001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910526464}} 
[2026-08-11 18:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":155100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:27:56] local.INFO: GPS data processed {"connection_id":155100,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:27:56] local.INFO: Acknowledgment sent {"connection_id":155100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:27:57] local.INFO: TCP Data received {"connection_id":155100,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:27:57] local.INFO: Processing buffer {"connection_id":155100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e19f10012d7fa48005afd498000a000229..."} 
[2026-08-11 18:27:57] local.INFO: Packet analysis {"connection_id":155100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:27:57] local.INFO: Extracted packet for processing {"connection_id":155100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e1"} 
[2026-08-11 18:27:57] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95409304,"longitude_deg":76.3339904,"latitude_deg":9.5409304,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afd498","is_valid_coordinates":true} 
[2026-08-11 18:27: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-08-11 18:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331902208001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910526464,"note":"Value kept but may cause issues"} 
[2026-08-11 18:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786452746000,"timestamp_ms":1786452746000,"timestamp_seconds":1786452746,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e19f10"} 
[2026-08-11 18:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18:27: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-08-11 18:27: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-08-11 18:27: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-08-11 18:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":155100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":155100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":155100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331902208001,"66":27745,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9197617100910526464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331902208001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:27:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:27:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910526464,"description":"Unknown IO ID 45"} 
[2026-08-11 18:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331902208001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910526464}} 
[2026-08-11 18:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":155100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:27:57] local.INFO: GPS data processed {"connection_id":155100,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:27:57] local.INFO: Acknowledgment sent {"connection_id":155100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:28:15] local.INFO: TCP Data received {"connection_id":153723,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:28:15] local.INFO: Processing buffer {"connection_id":153723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:28:15] local.INFO: IMEI packet received {"connection_id":153723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":153723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:28:16] local.INFO: TCP Data received {"connection_id":153723,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e5d148012d188100072181600047011823..."} 
[2026-08-11 18:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e5d148012d188100072181600047011823..."} 
[2026-08-11 18:28:16] local.INFO: Processing buffer {"connection_id":153723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e5d148012d188100072181600047011823..."} 
[2026-08-11 18:28:16] local.INFO: Packet analysis {"connection_id":153723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e5"} 
[2026-08-11 18:28:16] local.INFO: Extracted packet for processing {"connection_id":153723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e5"} 
[2026-08-11 18:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756580608,"raw_latitude":119636320,"longitude_deg":75.6580608,"latitude_deg":11.963632,"altitude":71,"angle":280,"satellites":35,"speed":24,"hex_longitude":"2d188100","hex_latitude":"07218160","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331970560001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11805516476973056,"note":"Value kept but may cause issues"} 
[2026-08-11 18:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775473814972727296,"note":"Value kept but may cause issues"} 
[2026-08-11 18:28:16] 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-08-11 18:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786453021000,"timestamp_ms":1786453021000,"timestamp_seconds":1786453021,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e5d148"} 
[2026-08-11 18:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:28: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-08-11 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-11 18:28:16] 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-08-11 18: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-08-11 18:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331970560001,"66":14135,"106":206,"83":41984,"24":24,"16":11805516476973056,"45":1775473814972727296},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331970560001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:28:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:28:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11805516476973056,"km_value":11805516476973.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775473814972727296,"description":"Unknown IO ID 45"} 
[2026-08-11 18:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331970560001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1775473814972727296}} 
[2026-08-11 18:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":153723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:28:16] local.INFO: GPS data processed {"connection_id":153723,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:28:16] local.INFO: Acknowledgment sent {"connection_id":153723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:28:18] local.INFO: TCP Data received {"connection_id":152792,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:28:18] local.INFO: Processing buffer {"connection_id":152792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:28:18] local.INFO: IMEI packet received {"connection_id":152792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":152792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:28:23] local.INFO: TCP Data received {"connection_id":152792,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:28:23] local.INFO: Processing buffer {"connection_id":152792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:28:23] local.INFO: IMEI packet received {"connection_id":152792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":152792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:28:25] local.INFO: TCP Data received {"connection_id":152792,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:28:25] local.INFO: Processing buffer {"connection_id":152792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:28:25] local.INFO: Packet analysis {"connection_id":152792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:28:25] local.INFO: Extracted packet for processing {"connection_id":152792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:28:25] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95409848,"longitude_deg":76.333984,"latitude_deg":9.5409848,"altitude":13,"angle":2,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afd6b8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331902976001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910532608,"note":"Value kept but may cause issues"} 
[2026-08-11 18:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786453052000,"timestamp_ms":1786453052000,"timestamp_seconds":1786453052,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e64a60"} 
[2026-08-11 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-08-11 18:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 18:28:25] 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-08-11 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-08-11 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-08-11 18:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:28:25] 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-08-11 18:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331902976001,"66":26495,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9197617100910532608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331902976001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:28:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910532608,"description":"Unknown IO ID 45"} 
[2026-08-11 18:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331902976001,"power":26495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910532608}} 
[2026-08-11 18:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":152792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:28:25] local.INFO: GPS data processed {"connection_id":152792,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:28:25] local.INFO: Acknowledgment sent {"connection_id":152792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:28:47] local.INFO: TCP Data received {"connection_id":153723,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e5e0e8012d187700072181e00047010b23..."} 
[2026-08-11 18:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e5e0e8012d187700072181e00047010b23..."} 
[2026-08-11 18:28:47] local.INFO: Processing buffer {"connection_id":153723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e5e0e8012d187700072181e00047010b23..."} 
[2026-08-11 18:28:47] local.INFO: Packet analysis {"connection_id":153723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e5"} 
[2026-08-11 18:28:47] local.INFO: Extracted packet for processing {"connection_id":153723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e5"} 
[2026-08-11 18:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636448,"longitude_deg":75.6578048,"latitude_deg":11.9636448,"altitude":71,"angle":267,"satellites":35,"speed":27,"hex_longitude":"2d187700","hex_latitude":"072181e0","is_valid_coordinates":true} 
[2026-08-11 18:28: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-08-11 18:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331973376001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11805636736057344,"note":"Value kept but may cause issues"} 
[2026-08-11 18:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765692559532843008,"note":"Value kept but may cause issues"} 
[2026-08-11 18:28:47] 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-08-11 18:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786453025000,"timestamp_ms":1786453025000,"timestamp_seconds":1786453025,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e5e0e8"} 
[2026-08-11 18:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:28: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-08-11 18:28: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-11 18:28:47] 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-08-11 18:28: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-08-11 18:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331973376001,"66":13993,"106":206,"83":41984,"24":27,"16":11805636736057344,"45":1765692559532843008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331973376001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:28:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11805636736057344,"km_value":11805636736057.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765692559532843008,"description":"Unknown IO ID 45"} 
[2026-08-11 18:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331973376001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1765692559532843008}} 
[2026-08-11 18:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":153723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:28:47] local.INFO: GPS data processed {"connection_id":153723,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:28:47] local.INFO: Acknowledgment sent {"connection_id":153723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:28:56] local.INFO: TCP Data received {"connection_id":152792,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:28:56] local.INFO: Processing buffer {"connection_id":152792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:28:56] local.INFO: Packet analysis {"connection_id":152792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:28:56] local.INFO: Extracted packet for processing {"connection_id":152792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95409848,"longitude_deg":76.333984,"latitude_deg":9.5409848,"altitude":13,"angle":2,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afd6b8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331902976001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910532608,"note":"Value kept but may cause issues"} 
[2026-08-11 18:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786453052000,"timestamp_ms":1786453052000,"timestamp_seconds":1786453052,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e64a60"} 
[2026-08-11 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-08-11 18:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 18:28:56] 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-08-11 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-08-11 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-08-11 18:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:28:56] 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-08-11 18:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331902976001,"66":26495,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9197617100910532608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331902976001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:28:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910532608,"description":"Unknown IO ID 45"} 
[2026-08-11 18:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331902976001,"power":26495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910532608}} 
[2026-08-11 18:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":152792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:28:56] local.INFO: GPS data processed {"connection_id":152792,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:28:56] local.INFO: Acknowledgment sent {"connection_id":152792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:29:10] local.INFO: TCP Data received {"connection_id":153725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:29:10] local.INFO: Processing buffer {"connection_id":153725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:29:10] local.INFO: IMEI packet received {"connection_id":153725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":153725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:29:11] local.INFO: TCP Data received {"connection_id":153725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:29:11] local.INFO: Processing buffer {"connection_id":153725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:29:11] local.INFO: IMEI packet received {"connection_id":153725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":153725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:29:14] local.INFO: TCP Data received {"connection_id":153724,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:29:14] local.INFO: Processing buffer {"connection_id":153724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:29:14] local.INFO: IMEI packet received {"connection_id":153724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":153724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:29:15] local.INFO: TCP Data received {"connection_id":153724,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e57388012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e57388012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:29:15] local.INFO: Processing buffer {"connection_id":153724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e57388012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:29:15] local.INFO: Packet analysis {"connection_id":153724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e5"} 
[2026-08-11 18:29:15] local.INFO: Extracted packet for processing {"connection_id":153724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e5"} 
[2026-08-11 18:29:15] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733984,"longitude_deg":76.3246016,"latitude_deg":9.7733984,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331961856001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:15] 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-08-11 18:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786452997000,"timestamp_ms":1786452997000,"timestamp_seconds":1786452997,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e57388"} 
[2026-08-11 18:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:29:15] 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-08-11 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 18:29:15] 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-08-11 18: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-08-11 18:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331961856001,"66":13222,"109":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 18:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331961856001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:29:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 18:29:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331961856001,"power":13222,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":153724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:29:15] local.INFO: GPS data processed {"connection_id":153724,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:29:15] local.INFO: Acknowledgment sent {"connection_id":153724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:29:15] local.INFO: TCP Data received {"connection_id":153725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:29:15] local.INFO: Processing buffer {"connection_id":153725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:29:15] local.INFO: IMEI packet received {"connection_id":153725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":153725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:29:16] local.INFO: TCP Data received {"connection_id":153725,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e72138012d182a8007219ca80048004c1f..."} 
[2026-08-11 18:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e72138012d182a8007219ca80048004c1f..."} 
[2026-08-11 18:29:16] local.INFO: Processing buffer {"connection_id":153725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e72138012d182a8007219ca80048004c1f..."} 
[2026-08-11 18:29:16] local.INFO: Packet analysis {"connection_id":153725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e7"} 
[2026-08-11 18:29:16] local.INFO: Extracted packet for processing {"connection_id":153725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e7"} 
[2026-08-11 18:29:16] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643304,"longitude_deg":75.6558464,"latitude_deg":11.9643304,"altitude":72,"angle":76,"satellites":31,"speed":4,"hex_longitude":"2d182a80","hex_latitude":"07219ca8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331995136001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11806693298012160,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816622080,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:16] 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-08-11 18:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786453107000,"timestamp_ms":1786453107000,"timestamp_seconds":1786453107,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e72138"} 
[2026-08-11 18:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:29: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-08-11 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 18:29:16] 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-08-11 18: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-08-11 18:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331995136001,"66":14428,"105":206,"83":41984,"24":4,"16":11806693298012160,"45":1741133867816622080},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 18:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331995136001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:29:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 18:29:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11806693298012160,"km_value":11806693298012.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816622080,"description":"Unknown IO ID 45"} 
[2026-08-11 18:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331995136001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1741133867816622080}} 
[2026-08-11 18:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":153725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:29:16] local.INFO: GPS data processed {"connection_id":153725,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:29:16] local.INFO: Acknowledgment sent {"connection_id":153725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:29:18] local.INFO: TCP Data received {"connection_id":153726,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:29:18] local.INFO: Processing buffer {"connection_id":153726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:29:18] local.INFO: IMEI packet received {"connection_id":153726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":153726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:29:24] local.INFO: TCP Data received {"connection_id":153726,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:29:24] local.INFO: Processing buffer {"connection_id":153726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:29:24] local.INFO: IMEI packet received {"connection_id":153726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":153726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:29:25] local.INFO: TCP Data received {"connection_id":153726,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:29:25] local.INFO: Processing buffer {"connection_id":153726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:29:25] local.INFO: Packet analysis {"connection_id":153726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:29:25] local.INFO: Extracted packet for processing {"connection_id":153726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:29:25] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95409848,"longitude_deg":76.333984,"latitude_deg":9.5409848,"altitude":13,"angle":2,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afd6b8","is_valid_coordinates":true} 
[2026-08-11 18:29: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-08-11 18:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331902976001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910532608,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786453052000,"timestamp_ms":1786453052000,"timestamp_seconds":1786453052,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e64a60"} 
[2026-08-11 18:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:29: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 18:29:25] 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-08-11 18:29: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-08-11 18:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:29:25] 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-08-11 18:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331902976001,"66":26495,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9197617100910532608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331902976001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:29:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:29:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910532608,"description":"Unknown IO ID 45"} 
[2026-08-11 18:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331902976001,"power":26495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910532608}} 
[2026-08-11 18:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":153726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:29:25] local.INFO: GPS data processed {"connection_id":153726,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:29:25] local.INFO: Acknowledgment sent {"connection_id":153726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:29:46] local.INFO: TCP Data received {"connection_id":153724,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e5c590012d7e35c005d34d600000004f24..."} 
[2026-08-11 18:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e5c590012d7e35c005d34d600000004f24..."} 
[2026-08-11 18:29:46] local.INFO: Processing buffer {"connection_id":153724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e5c590012d7e35c005d34d600000004f24..."} 
[2026-08-11 18:29:46] local.INFO: Packet analysis {"connection_id":153724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e5"} 
[2026-08-11 18:29:46] local.INFO: Extracted packet for processing {"connection_id":153724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e5"} 
[2026-08-11 18:29:46] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733984,"longitude_deg":76.3246016,"latitude_deg":9.7733984,"altitude":0,"angle":79,"satellites":36,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-08-11 18:29: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-08-11 18:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331967232001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29: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-08-11 18:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786453018000,"timestamp_ms":1786453018000,"timestamp_seconds":1786453018,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e5c590"} 
[2026-08-11 18:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:29:46] 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-08-11 18:29: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 18:29:46] 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-08-11 18:29: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-08-11 18:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331967232001,"66":13091,"109":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 18:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331967232001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:29:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 18:29:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331967232001,"power":13091,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":153724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:29:46] local.INFO: GPS data processed {"connection_id":153724,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:29:46] local.INFO: Acknowledgment sent {"connection_id":153724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:29:48] local.INFO: TCP Data received {"connection_id":153725,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e72520012d182b0007219c70004800661f..."} 
[2026-08-11 18:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e72520012d182b0007219c70004800661f..."} 
[2026-08-11 18:29:48] local.INFO: Processing buffer {"connection_id":153725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e72520012d182b0007219c70004800661f..."} 
[2026-08-11 18:29:48] local.INFO: Packet analysis {"connection_id":153725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e7"} 
[2026-08-11 18:29:48] local.INFO: Extracted packet for processing {"connection_id":153725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e7"} 
[2026-08-11 18:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643248,"longitude_deg":75.6558592,"latitude_deg":11.9643248,"altitude":72,"angle":102,"satellites":31,"speed":4,"hex_longitude":"2d182b00","hex_latitude":"07219c70","is_valid_coordinates":true} 
[2026-08-11 18:29: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-08-11 18:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331995392001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11806701887946752,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049159168,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:48] 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-08-11 18:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786453108000,"timestamp_ms":1786453108000,"timestamp_seconds":1786453108,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e72520"} 
[2026-08-11 18:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:29:48] 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-08-11 18:29: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 18:29:48] 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-08-11 18:29: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-08-11 18:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331995392001,"66":14428,"105":206,"83":41984,"24":4,"16":11806701887946752,"45":1741344974049159168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-11 18:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331995392001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:29:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-11 18:29:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11806701887946752,"km_value":11806701887946.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049159168,"description":"Unknown IO ID 45"} 
[2026-08-11 18:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331995392001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1741344974049159168}} 
[2026-08-11 18:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":153725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:29:48] local.INFO: GPS data processed {"connection_id":153725,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:29:48] local.INFO: Acknowledgment sent {"connection_id":153725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:29:56] local.INFO: TCP Data received {"connection_id":153726,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:29:56] local.INFO: Processing buffer {"connection_id":153726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:29:56] local.INFO: Packet analysis {"connection_id":153726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:29:56] local.INFO: Extracted packet for processing {"connection_id":153726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95409848,"longitude_deg":76.333984,"latitude_deg":9.5409848,"altitude":13,"angle":2,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afd6b8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331902976001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910532608,"note":"Value kept but may cause issues"} 
[2026-08-11 18:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786453052000,"timestamp_ms":1786453052000,"timestamp_seconds":1786453052,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e64a60"} 
[2026-08-11 18:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 18:29:56] 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-08-11 18: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-08-11 18:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:29:56] 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-08-11 18:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331902976001,"66":26495,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9197617100910532608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331902976001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:29:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910532608,"description":"Unknown IO ID 45"} 
[2026-08-11 18:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331902976001,"power":26495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910532608}} 
[2026-08-11 18:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":153726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:29:56] local.INFO: GPS data processed {"connection_id":153726,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:29:56] local.INFO: Acknowledgment sent {"connection_id":153726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:30:08] local.INFO: TCP Data received {"connection_id":152793,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:30:08] local.INFO: Processing buffer {"connection_id":152793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:30:08] local.INFO: IMEI packet received {"connection_id":152793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":152793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:30:09] local.INFO: TCP Data received {"connection_id":152794,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:30:09] local.INFO: Processing buffer {"connection_id":152794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:30:09] local.INFO: IMEI packet received {"connection_id":152794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":152794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:30:09] local.INFO: TCP Data received {"connection_id":152794,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:30:09] local.INFO: Processing buffer {"connection_id":152794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:30:09] local.INFO: IMEI packet received {"connection_id":152794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":152794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:30:13] local.INFO: TCP Data received {"connection_id":152794,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:30:13] local.INFO: Processing buffer {"connection_id":152794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:30:13] local.INFO: IMEI packet received {"connection_id":152794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":152794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:30:14] local.INFO: TCP Data received {"connection_id":152793,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:30:14] local.INFO: Processing buffer {"connection_id":152793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:30:14] local.INFO: IMEI packet received {"connection_id":152793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":152793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:30:14] local.INFO: TCP Data received {"connection_id":152793,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e61798012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e61798012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:30:14] local.INFO: Processing buffer {"connection_id":152793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e61798012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:30:14] local.INFO: Packet analysis {"connection_id":152793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:30:14] local.INFO: Extracted packet for processing {"connection_id":152793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:30:14] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733984,"longitude_deg":76.3246016,"latitude_deg":9.7733984,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-08-11 18:30: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-08-11 18:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331972608001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786453039000,"timestamp_ms":1786453039000,"timestamp_seconds":1786453039,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e61798"} 
[2026-08-11 18:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:30:14] 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-08-11 18:30: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-11 18:30:14] 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-08-11 18:30: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-08-11 18:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331972608001,"66":13319,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331972608001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:30:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:30:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331972608001,"power":13319,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":152793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:30:14] local.INFO: GPS data processed {"connection_id":152793,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:30:14] local.INFO: Acknowledgment sent {"connection_id":152793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:30:15] local.INFO: TCP Data received {"connection_id":152794,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:30:15] local.INFO: Processing buffer {"connection_id":152794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:30:15] local.INFO: IMEI packet received {"connection_id":152794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":152794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:30:15] local.INFO: TCP Data received {"connection_id":152794,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e7e488012d18b30007216b200048008e23..."} 
[2026-08-11 18:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e7e488012d18b30007216b200048008e23..."} 
[2026-08-11 18:30:15] local.INFO: Processing buffer {"connection_id":152794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e7e488012d18b30007216b200048008e23..."} 
[2026-08-11 18:30:15] local.INFO: Packet analysis {"connection_id":152794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e7"} 
[2026-08-11 18:30:15] local.INFO: Extracted packet for processing {"connection_id":152794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e7"} 
[2026-08-11 18:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756593408,"raw_latitude":119630624,"longitude_deg":75.6593408,"latitude_deg":11.9630624,"altitude":72,"angle":142,"satellites":35,"speed":37,"hex_longitude":"2d18b300","hex_latitude":"07216b20","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332007680001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11808505774211072,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778429302227886080,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:15] 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-08-11 18:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786453157000,"timestamp_ms":1786453157000,"timestamp_seconds":1786453157,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e7e488"} 
[2026-08-11 18:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:30:15] 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-08-11 18: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-11 18:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18: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-08-11 18:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332007680001,"66":14461,"106":206,"83":41984,"24":37,"16":11808505774211072,"45":1778429302227886080},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-11 18:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332007680001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:30:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-11 18:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11808505774211072,"km_value":11808505774211.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778429302227886080,"description":"Unknown IO ID 45"} 
[2026-08-11 18:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332007680001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1778429302227886080}} 
[2026-08-11 18:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":152794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:30:16] local.INFO: GPS data processed {"connection_id":152794,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:30:16] local.INFO: Acknowledgment sent {"connection_id":152794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:30:16] local.INFO: TCP Data received {"connection_id":152794,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e803c8012d18c480072150a8004200a024..."} 
[2026-08-11 18:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e803c8012d18c480072150a8004200a024..."} 
[2026-08-11 18:30:16] local.INFO: Processing buffer {"connection_id":152794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e803c8012d18c480072150a8004200a024..."} 
[2026-08-11 18:30:16] local.INFO: Packet analysis {"connection_id":152794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e8"} 
[2026-08-11 18:30:16] local.INFO: Extracted packet for processing {"connection_id":152794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e8"} 
[2026-08-11 18:30:16] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119623848,"longitude_deg":75.6597888,"latitude_deg":11.9623848,"altitude":66,"angle":160,"satellites":36,"speed":39,"hex_longitude":"2d18c480","hex_latitude":"072150a8","is_valid_coordinates":true} 
[2026-08-11 18:30: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-08-11 18:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332008192001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11808896616235008,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779766308366917632,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:16] 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-08-11 18:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786453165000,"timestamp_ms":1786453165000,"timestamp_seconds":1786453165,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e803c8"} 
[2026-08-11 18:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:30: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-08-11 18:30: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 18:30:16] 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-08-11 18:30: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-08-11 18:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332008192001,"66":14048,"103":206,"83":41984,"24":39,"16":11808896616235008,"45":1779766308366917632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 18:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332008192001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:30:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 18:30:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11808896616235008,"km_value":11808896616235.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779766308366917632,"description":"Unknown IO ID 45"} 
[2026-08-11 18:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332008192001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1779766308366917632}} 
[2026-08-11 18:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":152794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:30:16] local.INFO: GPS data processed {"connection_id":152794,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:30:16] local.INFO: Acknowledgment sent {"connection_id":152794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:30:18] local.INFO: TCP Data received {"connection_id":155101,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:30:18] local.INFO: Processing buffer {"connection_id":155101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:30:18] local.INFO: IMEI packet received {"connection_id":155101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":155101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:30:24] local.INFO: TCP Data received {"connection_id":155101,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:30:24] local.INFO: Processing buffer {"connection_id":155101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:30:24] local.INFO: IMEI packet received {"connection_id":155101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":155101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:30:25] local.INFO: TCP Data received {"connection_id":155101,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:30:25] local.INFO: Processing buffer {"connection_id":155101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:30:25] local.INFO: Packet analysis {"connection_id":155101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:30:25] local.INFO: Extracted packet for processing {"connection_id":155101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95409848,"longitude_deg":76.333984,"latitude_deg":9.5409848,"altitude":13,"angle":2,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afd6b8","is_valid_coordinates":true} 
[2026-08-11 18:30: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-08-11 18:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331902976001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910532608,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786453052000,"timestamp_ms":1786453052000,"timestamp_seconds":1786453052,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e64a60"} 
[2026-08-11 18:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:30: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 18:30:25] 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-08-11 18:30: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-08-11 18:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331902976001,"66":26495,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9197617100910532608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331902976001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:30:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910532608,"description":"Unknown IO ID 45"} 
[2026-08-11 18:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331902976001,"power":26495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910532608}} 
[2026-08-11 18:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":155101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:30:25] local.INFO: GPS data processed {"connection_id":155101,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:30:25] local.INFO: Acknowledgment sent {"connection_id":155101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:30:45] local.INFO: TCP Data received {"connection_id":152793,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e669a0012d7e35c005d34d600000004f24..."} 
[2026-08-11 18:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e669a0012d7e35c005d34d600000004f24..."} 
[2026-08-11 18:30:45] local.INFO: Processing buffer {"connection_id":152793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e669a0012d7e35c005d34d600000004f24..."} 
[2026-08-11 18:30:45] local.INFO: Packet analysis {"connection_id":152793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:30:45] local.INFO: Extracted packet for processing {"connection_id":152793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:30:45] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733984,"longitude_deg":76.3246016,"latitude_deg":9.7733984,"altitude":0,"angle":79,"satellites":36,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331977984001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786453060000,"timestamp_ms":1786453060000,"timestamp_seconds":1786453060,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e669a0"} 
[2026-08-11 18:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:30:45] 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-08-11 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 18:30:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:45] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4093640704,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4041485160,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3838801921,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:45] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:45] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-2783223274812325883,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:45] local.WARNING: Large IO value detected {"io_id":211,"raw_value":5584463537944601344,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-11 18:30:45] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3221607246,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:45] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070413,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:45] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2247229440,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545114624,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:45] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,115,85,24,241,157,16,133,159,197,45,192,77,36,10,66,109,37,33,1,240,187,227,211,4,113,205,125,53,40,239,51,2,162,5],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-11 18:30:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":87020332384256,"timestamp_seconds":87020332384.256,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 18:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331977984001,"66":13222,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331977984001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:30:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:30:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331977984001,"power":13222,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":152793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:30:45] local.INFO: GPS data processed {"connection_id":152793,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:30:45] local.INFO: Acknowledgment sent {"connection_id":152793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:30:47] local.INFO: TCP Data received {"connection_id":152794,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e80b98012d18c5c0072148e0004100b124..."} 
[2026-08-11 18:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e80b98012d18c5c0072148e0004100b124..."} 
[2026-08-11 18:30:47] local.INFO: Processing buffer {"connection_id":152794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e80b98012d18c5c0072148e0004100b124..."} 
[2026-08-11 18:30:47] local.INFO: Packet analysis {"connection_id":152794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e8"} 
[2026-08-11 18:30:47] local.INFO: Extracted packet for processing {"connection_id":152794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e8"} 
[2026-08-11 18:30:47] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119621856,"longitude_deg":75.6598208,"latitude_deg":11.9621856,"altitude":65,"angle":177,"satellites":36,"speed":40,"hex_longitude":"2d18c5c0","hex_latitude":"072148e0","is_valid_coordinates":true} 
[2026-08-11 18:30: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-08-11 18:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332010240001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11808995400482816,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457619456,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:47] 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-08-11 18:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786453167000,"timestamp_ms":1786453167000,"timestamp_seconds":1786453167,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e80b98"} 
[2026-08-11 18:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:30: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-08-11 18:30: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":224,"data_length":795,"current_offset":136} 
[2026-08-11 18:30:47] 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-08-11 18:30: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-08-11 18:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332010240001,"66":14048,"103":206,"83":41984,"24":40,"16":11808995400482816,"45":1784692120457619456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 18:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332010240001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:30:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 18:30:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11808995400482816,"km_value":11808995400482.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457619456,"description":"Unknown IO ID 45"} 
[2026-08-11 18:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332010240001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1784692120457619456}} 
[2026-08-11 18:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":152794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:30:47] local.INFO: GPS data processed {"connection_id":152794,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:30:47] local.INFO: Acknowledgment sent {"connection_id":152794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:30:56] local.INFO: TCP Data received {"connection_id":155101,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:30:56] local.INFO: Processing buffer {"connection_id":155101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:30:56] local.INFO: Packet analysis {"connection_id":155101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:30:56] local.INFO: Extracted packet for processing {"connection_id":155101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95409848,"longitude_deg":76.333984,"latitude_deg":9.5409848,"altitude":13,"angle":2,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afd6b8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331902976001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910532608,"note":"Value kept but may cause issues"} 
[2026-08-11 18:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786453052000,"timestamp_ms":1786453052000,"timestamp_seconds":1786453052,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e64a60"} 
[2026-08-11 18:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 18:30:56] 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-08-11 18: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-08-11 18:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331902976001,"66":26495,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9197617100910532608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331902976001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:30:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910532608,"description":"Unknown IO ID 45"} 
[2026-08-11 18:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331902976001,"power":26495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910532608}} 
[2026-08-11 18:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":155101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:30:56] local.INFO: GPS data processed {"connection_id":155101,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:30:56] local.INFO: Acknowledgment sent {"connection_id":155101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:31:08] local.INFO: TCP Data received {"connection_id":153727,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:31:08] local.INFO: Processing buffer {"connection_id":153727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:31:08] local.INFO: IMEI packet received {"connection_id":153727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":153727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:31:09] local.INFO: TCP Data received {"connection_id":153728,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:31:09] local.INFO: Processing buffer {"connection_id":153728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:31:09] local.INFO: IMEI packet received {"connection_id":153728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":153728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:31:11] local.INFO: TCP Data received {"connection_id":153728,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:31:11] local.INFO: Processing buffer {"connection_id":153728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:31:11] local.INFO: IMEI packet received {"connection_id":153728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":153728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:31:15] local.INFO: TCP Data received {"connection_id":153728,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:31:15] local.INFO: Processing buffer {"connection_id":153728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:31:15] local.INFO: IMEI packet received {"connection_id":153728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":153728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:31:16] local.INFO: TCP Data received {"connection_id":153728,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e8c718012d1929000720bcf0002e006f22..."} 
[2026-08-11 18:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e8c718012d1929000720bcf0002e006f22..."} 
[2026-08-11 18:31:16] local.INFO: Processing buffer {"connection_id":153728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e8c718012d1929000720bcf0002e006f22..."} 
[2026-08-11 18:31:16] local.INFO: Packet analysis {"connection_id":153728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e8"} 
[2026-08-11 18:31:16] local.INFO: Extracted packet for processing {"connection_id":153728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e8"} 
[2026-08-11 18:31:16] local.INFO: GPS Element Parsed {"raw_longitude":756623616,"raw_latitude":119586032,"longitude_deg":75.6623616,"latitude_deg":11.9586032,"altitude":46,"angle":111,"satellites":34,"speed":45,"hex_longitude":"2d192900","hex_latitude":"0720bcf0","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332020480001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11811276028116992,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802987993935187968,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:16] 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-08-11 18:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786453215000,"timestamp_ms":1786453215000,"timestamp_seconds":1786453215,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e8c718"} 
[2026-08-11 18:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:31: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-08-11 18: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 18:31:16] 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-08-11 18: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-08-11 18:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332020480001,"66":14080,"103":206,"83":41984,"24":45,"16":11811276028116992,"45":1802987993935187968},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 18:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332020480001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:31:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 18:31:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11811276028116992,"km_value":11811276028116.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802987993935187968,"description":"Unknown IO ID 45"} 
[2026-08-11 18:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332020480001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1802987993935187968}} 
[2026-08-11 18:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":153728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:31:16] local.INFO: GPS data processed {"connection_id":153728,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:31:16] local.INFO: Acknowledgment sent {"connection_id":153728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:31:16] local.INFO: TCP Data received {"connection_id":153727,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:31:16] local.INFO: Processing buffer {"connection_id":153727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:31:16] local.INFO: IMEI packet received {"connection_id":153727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":153727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:31:17] local.INFO: TCP Data received {"connection_id":153727,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e6bba8012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e6bba8012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:31:17] local.INFO: Processing buffer {"connection_id":153727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e6bba8012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:31:17] local.INFO: Packet analysis {"connection_id":153727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:31:17] local.INFO: Extracted packet for processing {"connection_id":153727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:31:17] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733984,"longitude_deg":76.3246016,"latitude_deg":9.7733984,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331983360001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786453081000,"timestamp_ms":1786453081000,"timestamp_seconds":1786453081,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e6bba8"} 
[2026-08-11 18:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:31:17] 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-08-11 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 18:31:17] 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-08-11 18: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-08-11 18:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331983360001,"66":13363,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331983360001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:31:17] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:31:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331983360001,"power":13363,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":153727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:31:17] local.INFO: GPS data processed {"connection_id":153727,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:31:17] local.INFO: Acknowledgment sent {"connection_id":153727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:31:24] local.INFO: TCP Data received {"connection_id":153729,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:31:24] local.INFO: Processing buffer {"connection_id":153729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:31:24] local.INFO: IMEI packet received {"connection_id":153729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":153729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:31:29] local.INFO: TCP Data received {"connection_id":153729,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:31:29] local.INFO: Processing buffer {"connection_id":153729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:31:29] local.INFO: IMEI packet received {"connection_id":153729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":153729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:31:32] local.INFO: TCP Data received {"connection_id":153729,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:31:32] local.INFO: Processing buffer {"connection_id":153729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:31:32] local.INFO: Packet analysis {"connection_id":153729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:31:32] local.INFO: Extracted packet for processing {"connection_id":153729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95409848,"longitude_deg":76.333984,"latitude_deg":9.5409848,"altitude":13,"angle":2,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afd6b8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331902976001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910532608,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786453052000,"timestamp_ms":1786453052000,"timestamp_seconds":1786453052,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e64a60"} 
[2026-08-11 18:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 18:31:32] 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-08-11 18: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-08-11 18:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":153729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":153729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":153729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:31: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-08-11 18:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331902976001,"66":26495,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9197617100910532608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331902976001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:31:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:31:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910532608,"description":"Unknown IO ID 45"} 
[2026-08-11 18:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331902976001,"power":26495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910532608}} 
[2026-08-11 18:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":153729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:31:32] local.INFO: GPS data processed {"connection_id":153729,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:31:32] local.INFO: Acknowledgment sent {"connection_id":153729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:31:34] local.INFO: TCP Data received {"connection_id":153729,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:31:34] local.INFO: Processing buffer {"connection_id":153729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e64a60012d7fa44005afd6b8000d000227..."} 
[2026-08-11 18:31:34] local.INFO: Packet analysis {"connection_id":153729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:31:34] local.INFO: Extracted packet for processing {"connection_id":153729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e6"} 
[2026-08-11 18:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95409848,"longitude_deg":76.333984,"latitude_deg":9.5409848,"altitude":13,"angle":2,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afd6b8","is_valid_coordinates":true} 
[2026-08-11 18:31: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-08-11 18:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331902976001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910532608,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786453052000,"timestamp_ms":1786453052000,"timestamp_seconds":1786453052,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e64a60"} 
[2026-08-11 18:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:31: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-08-11 18:31: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-08-11 18:31: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-08-11 18:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:31:34] 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-08-11 18:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331902976001,"66":26495,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9197617100910532608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331902976001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:31:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:31:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910532608,"description":"Unknown IO ID 45"} 
[2026-08-11 18:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331902976001,"power":26495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910532608}} 
[2026-08-11 18:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":153729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:31:34] local.INFO: GPS data processed {"connection_id":153729,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:31:34] local.INFO: Acknowledgment sent {"connection_id":153729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:31:47] local.INFO: TCP Data received {"connection_id":153728,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e8ea40012d194a400720ad68002b006a22..."} 
[2026-08-11 18:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e8ea40012d194a400720ad68002b006a22..."} 
[2026-08-11 18:31:47] local.INFO: Processing buffer {"connection_id":153728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e8ea40012d194a400720ad68002b006a22..."} 
[2026-08-11 18:31:47] local.INFO: Packet analysis {"connection_id":153728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e8"} 
[2026-08-11 18:31:47] local.INFO: Extracted packet for processing {"connection_id":153728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e8"} 
[2026-08-11 18:31:47] local.INFO: GPS Element Parsed {"raw_longitude":756632128,"raw_latitude":119582056,"longitude_deg":75.6632128,"latitude_deg":11.9582056,"altitude":43,"angle":106,"satellites":34,"speed":36,"hex_longitude":"2d194a40","hex_latitude":"0720ad68","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332023040001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11811722704715776,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812980355607359488,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:47] 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-08-11 18:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786453224000,"timestamp_ms":1786453224000,"timestamp_seconds":1786453224,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e8ea40"} 
[2026-08-11 18:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:31: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-08-11 18: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-11 18:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:47] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":19200,"corrected_to":0} 
[2026-08-11 18:31:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4041756160,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-11 18:31:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3898449921,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:47] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:47] local.WARNING: Large IO value detected {"io_id":41,"raw_value":4112515072,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:47] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,246,159,160,45,128,205,53,37,10,66,245,136,192,214,55,35,109,1,240,92,227,32,4,113,43,89,218,224,239,56,2,41,7,60],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":246,"original":19200,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-11 18:31:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314771517567205376,"timestamp_seconds":3314771517567205.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 18:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332023040001,"66":14483,"103":206,"83":41984,"24":36,"16":11811722704715776,"45":1812980355607359488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 18:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332023040001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:31:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 18:31:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11811722704715776,"km_value":11811722704715.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812980355607359488,"description":"Unknown IO ID 45"} 
[2026-08-11 18:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332023040001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1812980355607359488}} 
[2026-08-11 18:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":153728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:31:47] local.INFO: GPS data processed {"connection_id":153728,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:31:47] local.INFO: Acknowledgment sent {"connection_id":153728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:31:48] local.INFO: TCP Data received {"connection_id":153727,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e70db0012d7e35c005d34d600000004f26..."} 
[2026-08-11 18:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e70db0012d7e35c005d34d600000004f26..."} 
[2026-08-11 18:31:48] local.INFO: Processing buffer {"connection_id":153727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e70db0012d7e35c005d34d600000004f26..."} 
[2026-08-11 18:31:48] local.INFO: Packet analysis {"connection_id":153727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e7"} 
[2026-08-11 18:31:48] local.INFO: Extracted packet for processing {"connection_id":153727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e7"} 
[2026-08-11 18:31:48] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733984,"longitude_deg":76.3246016,"latitude_deg":9.7733984,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-08-11 18:31: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-08-11 18:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331988736001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786453102000,"timestamp_ms":1786453102000,"timestamp_seconds":1786453102,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e70db0"} 
[2026-08-11 18:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:31:48] 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-08-11 18:31: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":51,"data_length":795,"current_offset":136} 
[2026-08-11 18:31:48] 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-08-11 18:31: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-08-11 18:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331988736001,"66":13222,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331988736001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:31:48] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:31:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331988736001,"power":13222,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":153727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:31:48] local.INFO: GPS data processed {"connection_id":153727,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:31:48] local.INFO: Acknowledgment sent {"connection_id":153727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:32:09] local.INFO: TCP Data received {"connection_id":152795,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:32:09] local.INFO: Processing buffer {"connection_id":152795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:32:09] local.INFO: IMEI packet received {"connection_id":152795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":152795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:32:13] local.INFO: TCP Data received {"connection_id":153730,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:32:13] local.INFO: Processing buffer {"connection_id":153730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:32:13] local.INFO: IMEI packet received {"connection_id":153730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":153730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:32:14] local.INFO: TCP Data received {"connection_id":152795,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:32:14] local.INFO: Processing buffer {"connection_id":152795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:32:14] local.INFO: IMEI packet received {"connection_id":152795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":152795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:32:15] local.INFO: TCP Data received {"connection_id":152795,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:32:15] local.INFO: Processing buffer {"connection_id":152795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:32:15] local.INFO: IMEI packet received {"connection_id":152795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":152795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:32:18] local.INFO: TCP Data received {"connection_id":153730,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:32:18] local.INFO: Processing buffer {"connection_id":153730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:32:18] local.INFO: IMEI packet received {"connection_id":153730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":153730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:32:19] local.INFO: TCP Data received {"connection_id":153731,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:32:19] local.INFO: Processing buffer {"connection_id":153731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:32:19] local.INFO: IMEI packet received {"connection_id":153731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":153731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:32:19] local.INFO: TCP Data received {"connection_id":153730,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e75fb8012d7e35c005d34d600000004f23..."} 
[2026-08-11 18:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e75fb8012d7e35c005d34d600000004f23..."} 
[2026-08-11 18:32:19] local.INFO: Processing buffer {"connection_id":153730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e75fb8012d7e35c005d34d600000004f23..."} 
[2026-08-11 18:32:19] local.INFO: Packet analysis {"connection_id":153730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e7"} 
[2026-08-11 18:32:19] local.INFO: Extracted packet for processing {"connection_id":153730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e7"} 
[2026-08-11 18:32:19] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733984,"longitude_deg":76.3246016,"latitude_deg":9.7733984,"altitude":0,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-08-11 18:32: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-08-11 18:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331994112001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786453123000,"timestamp_ms":1786453123000,"timestamp_seconds":1786453123,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e75fb8"} 
[2026-08-11 18:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:32:19] 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-08-11 18:32: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-08-11 18:32: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-08-11 18:32: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-08-11 18:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331994112001,"66":13254,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331994112001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:32:19] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:32:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331994112001,"power":13254,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":153730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:32:19] local.INFO: GPS data processed {"connection_id":153730,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:32:19] local.INFO: Acknowledgment sent {"connection_id":153730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:32:23] local.INFO: TCP Data received {"connection_id":153731,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:32:23] local.INFO: Processing buffer {"connection_id":153731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:32:23] local.INFO: IMEI packet received {"connection_id":153731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":153731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:32:24] local.INFO: TCP Data received {"connection_id":153730,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e7b1c0012d7e35c005d34d600000004f26..."} 
[2026-08-11 18:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e7b1c0012d7e35c005d34d600000004f26..."} 
[2026-08-11 18:32:24] local.INFO: Processing buffer {"connection_id":153730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e7b1c0012d7e35c005d34d600000004f26..."} 
[2026-08-11 18:32:24] local.INFO: Packet analysis {"connection_id":153730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e7"} 
[2026-08-11 18:32:24] local.INFO: Extracted packet for processing {"connection_id":153730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e7"} 
[2026-08-11 18:32:24] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733984,"longitude_deg":76.3246016,"latitude_deg":9.7733984,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331999488001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786453144000,"timestamp_ms":1786453144000,"timestamp_seconds":1786453144,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e7b1c0"} 
[2026-08-11 18:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:32: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-08-11 18: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 18:32:24] 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-08-11 18: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-08-11 18:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331999488001,"66":13352,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331999488001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:32:24] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:32:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331999488001,"power":13352,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":153730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:32:24] local.INFO: GPS data processed {"connection_id":153730,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:32:24] local.INFO: Acknowledgment sent {"connection_id":153730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:32:24] local.INFO: TCP Data received {"connection_id":153731,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ea26a8012d7fa44005afd6b80008000227..."} 
[2026-08-11 18:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ea26a8012d7fa44005afd6b80008000227..."} 
[2026-08-11 18:32:24] local.INFO: Processing buffer {"connection_id":153731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ea26a8012d7fa44005afd6b80008000227..."} 
[2026-08-11 18:32:24] local.INFO: Packet analysis {"connection_id":153731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:32:24] local.INFO: Extracted packet for processing {"connection_id":153731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:32:24] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95409848,"longitude_deg":76.333984,"latitude_deg":9.5409848,"altitude":8,"angle":2,"satellites":39,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afd6b8","is_valid_coordinates":true} 
[2026-08-11 18:32:24] 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-08-11 18:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457331981312001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166494208,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786453305000,"timestamp_ms":1786453305000,"timestamp_seconds":1786453305,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ea26a8"} 
[2026-08-11 18:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-11 18:32:24] 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-08-11 18: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-08-11 18:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:32:24] 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-08-11 18:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457331981312001,"66":26180,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9197546732166494208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457331981312001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:32:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:32:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166494208,"description":"Unknown IO ID 45"} 
[2026-08-11 18:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457331981312001,"power":26180,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197546732166494208}} 
[2026-08-11 18:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":153731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:32:24] local.INFO: GPS data processed {"connection_id":153731,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:32:24] local.INFO: Acknowledgment sent {"connection_id":153731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:32:26] local.INFO: TCP Data received {"connection_id":152795,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e99df0012d19ae0007209370002e00c921..."} 
[2026-08-11 18:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e99df0012d19ae0007209370002e00c921..."} 
[2026-08-11 18:32:26] local.INFO: Processing buffer {"connection_id":152795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e99df0012d19ae0007209370002e00c921..."} 
[2026-08-11 18:32:26] local.INFO: Packet analysis {"connection_id":152795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e9"} 
[2026-08-11 18:32:26] local.INFO: Extracted packet for processing {"connection_id":152795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e9"} 
[2026-08-11 18:32:26] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119575408,"longitude_deg":75.6657664,"latitude_deg":11.9575408,"altitude":46,"angle":201,"satellites":33,"speed":30,"hex_longitude":"2d19ae00","hex_latitude":"07209370","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332035584001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11813449281568768,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752251930624,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32: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-08-11 18:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786453270000,"timestamp_ms":1786453270000,"timestamp_seconds":1786453270,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e99df0"} 
[2026-08-11 18:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18: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-08-11 18: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":0,"data_length":795,"current_offset":136} 
[2026-08-11 18:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:26] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4041824160,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3916881921,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:26] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":4261412864,"corrected_to":0} 
[2026-08-11 18:32:26] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2843213872,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-11 18:32:26] local.WARNING: Large IO value detected {"io_id":114,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:26] local.WARNING: Large IO value detected {"io_id":41,"raw_value":4159963136,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:26] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,248,159,130,45,164,48,35,10,66,126,166,122,192,1,240,92,227,247,32,4,113,205,17,114,185,176,37,239,56,2,41,7,50,36],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":247,"original":4261412864,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-11 18:32:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386941266084888576,"timestamp_seconds":3386941266084888.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 18:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332035584001,"66":14396,"103":206,"83":41984,"24":30,"16":11813449281568768,"45":1853512752251930624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 18:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332035584001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:32:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 18:32:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11813449281568768,"km_value":11813449281568.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752251930624,"description":"Unknown IO ID 45"} 
[2026-08-11 18:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332035584001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1853512752251930624}} 
[2026-08-11 18:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":152795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:32:26] local.INFO: GPS data processed {"connection_id":152795,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:32:26] local.INFO: Acknowledgment sent {"connection_id":152795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:32:27] local.INFO: TCP Data received {"connection_id":152795,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e9a1d8012d19ad40072090a0002e00bc22..."} 
[2026-08-11 18:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e9a1d8012d19ad40072090a0002e00bc22..."} 
[2026-08-11 18:32:27] local.INFO: Processing buffer {"connection_id":152795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e9a1d8012d19ad40072090a0002e00bc22..."} 
[2026-08-11 18:32:27] local.INFO: Packet analysis {"connection_id":152795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e9"} 
[2026-08-11 18:32:27] local.INFO: Extracted packet for processing {"connection_id":152795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e9"} 
[2026-08-11 18:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119574688,"longitude_deg":75.6657472,"latitude_deg":11.9574688,"altitude":46,"angle":188,"satellites":34,"speed":29,"hex_longitude":"2d19ad40","hex_latitude":"072090a0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332037120001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11813483641307136,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527507156992,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:27] 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-08-11 18:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786453271000,"timestamp_ms":1786453271000,"timestamp_seconds":1786453271,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e9a1d8"} 
[2026-08-11 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-08-11 18:32: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-08-11 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-11 18:32:27] 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-08-11 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-08-11 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-08-11 18:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332037120001,"66":13135,"103":206,"83":41984,"24":29,"16":11813483641307136,"45":1850416527507156992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 18:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332037120001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:32:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 18:32:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11813483641307136,"km_value":11813483641307.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527507156992,"description":"Unknown IO ID 45"} 
[2026-08-11 18:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332037120001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1850416527507156992}} 
[2026-08-11 18:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":152795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:32:27] local.INFO: GPS data processed {"connection_id":152795,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:32:27] local.INFO: Acknowledgment sent {"connection_id":152795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:32:56] local.INFO: TCP Data received {"connection_id":153731,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ea2e78012d7f9d0005afd9980008011627..."} 
[2026-08-11 18:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ea2e78012d7f9d0005afd9980008011627..."} 
[2026-08-11 18:32:56] local.INFO: Processing buffer {"connection_id":153731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ea2e78012d7f9d0005afd9980008011627..."} 
[2026-08-11 18:32:56] local.INFO: Packet analysis {"connection_id":153731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:32:56] local.INFO: Extracted packet for processing {"connection_id":153731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95410584,"longitude_deg":76.3337984,"latitude_deg":9.5410584,"altitude":8,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd998","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332046080001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166494208,"note":"Value kept but may cause issues"} 
[2026-08-11 18:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786453307000,"timestamp_ms":1786453307000,"timestamp_seconds":1786453307,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ea2e78"} 
[2026-08-11 18:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-11 18:32:56] 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-08-11 18: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-08-11 18:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:32:56] 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-08-11 18:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332046080001,"66":26136,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9197546732166494208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332046080001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:32:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166494208,"description":"Unknown IO ID 45"} 
[2026-08-11 18:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332046080001,"power":26136,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197546732166494208}} 
[2026-08-11 18:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":153731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:32:56] local.INFO: GPS data processed {"connection_id":153731,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:32:56] local.INFO: Acknowledgment sent {"connection_id":153731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:33:08] local.INFO: TCP Data received {"connection_id":152399,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:33:08] local.INFO: Processing buffer {"connection_id":152399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:33:08] local.INFO: IMEI packet received {"connection_id":152399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":152399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:33:10] local.INFO: TCP Data received {"connection_id":155102,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:33:10] local.INFO: Processing buffer {"connection_id":155102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:33:10] local.INFO: IMEI packet received {"connection_id":155102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":155102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:33:13] local.INFO: TCP Data received {"connection_id":155102,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:33:13] local.INFO: Processing buffer {"connection_id":155102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:33:13] local.INFO: IMEI packet received {"connection_id":155102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":155102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:33:13] local.INFO: TCP Data received {"connection_id":152399,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:33:13] local.INFO: Processing buffer {"connection_id":152399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:33:13] local.INFO: IMEI packet received {"connection_id":152399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":152399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:33:14] local.INFO: TCP Data received {"connection_id":155102,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ea8080012d19de8007200818002c00d625..."} 
[2026-08-11 18:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ea8080012d19de8007200818002c00d625..."} 
[2026-08-11 18:33:14] local.INFO: Processing buffer {"connection_id":155102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ea8080012d19de8007200818002c00d625..."} 
[2026-08-11 18:33:14] local.INFO: Packet analysis {"connection_id":155102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:33:14] local.INFO: Extracted packet for processing {"connection_id":155102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756670080,"raw_latitude":119539736,"longitude_deg":75.667008,"latitude_deg":11.9539736,"altitude":44,"angle":214,"satellites":37,"speed":10,"hex_longitude":"2d19de80","hex_latitude":"07200818","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332051712001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11815356247048192,"note":"Value kept but may cause issues"} 
[2026-08-11 18:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864208801356904448,"note":"Value kept but may cause issues"} 
[2026-08-11 18:33:14] 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-08-11 18:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786453328000,"timestamp_ms":1786453328000,"timestamp_seconds":1786453328,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ea8080"} 
[2026-08-11 18:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:33:14] 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-08-11 18: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-11 18:33:14] 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-08-11 18: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-08-11 18:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332051712001,"66":13961,"103":206,"83":41984,"24":10,"16":11815356247048192,"45":1864208801356904448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-11 18:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332051712001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:33:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-11 18:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11815356247048192,"km_value":11815356247048.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864208801356904448,"description":"Unknown IO ID 45"} 
[2026-08-11 18:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332051712001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1864208801356904448}} 
[2026-08-11 18:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":155102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:33:14] local.INFO: GPS data processed {"connection_id":155102,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:33:14] local.INFO: Acknowledgment sent {"connection_id":155102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:33:14] local.INFO: TCP Data received {"connection_id":152399,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e7ffe0012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e7ffe0012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:33:14] local.INFO: Processing buffer {"connection_id":152399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e7ffe0012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:33:14] local.INFO: Packet analysis {"connection_id":152399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e7"} 
[2026-08-11 18:33:14] local.INFO: Extracted packet for processing {"connection_id":152399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e7"} 
[2026-08-11 18:33:14] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733984,"longitude_deg":76.3246016,"latitude_deg":9.7733984,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-08-11 18:33: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-08-11 18:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332004864001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786453164000,"timestamp_ms":1786453164000,"timestamp_seconds":1786453164,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e7ffe0"} 
[2026-08-11 18:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:33:14] 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-08-11 18: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-11 18:33:14] 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-08-11 18: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-08-11 18:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332004864001,"66":13493,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332004864001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:33:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:33:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332004864001,"power":13493,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":152399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:33:14] local.INFO: GPS data processed {"connection_id":152399,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:33:14] local.INFO: Acknowledgment sent {"connection_id":152399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:33:24] local.INFO: TCP Data received {"connection_id":152400,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:33:24] local.INFO: Processing buffer {"connection_id":152400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:33:24] local.INFO: IMEI packet received {"connection_id":152400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":152400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:33:31] local.INFO: TCP Data received {"connection_id":152400,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:33:31] local.INFO: Processing buffer {"connection_id":152400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:33:31] local.INFO: IMEI packet received {"connection_id":152400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":152400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:33:32] local.INFO: TCP Data received {"connection_id":152400,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ea78b0012d7f9d0005afd998000801162b..."} 
[2026-08-11 18:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ea78b0012d7f9d0005afd998000801162b..."} 
[2026-08-11 18:33:32] local.INFO: Processing buffer {"connection_id":152400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ea78b0012d7f9d0005afd998000801162b..."} 
[2026-08-11 18:33:32] local.INFO: Packet analysis {"connection_id":152400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:33:32] local.INFO: Extracted packet for processing {"connection_id":152400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95410584,"longitude_deg":76.3337984,"latitude_deg":9.5410584,"altitude":8,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd998","is_valid_coordinates":true} 
[2026-08-11 18:33:32] 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-08-11 18:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332046592001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585530368,"note":"Value kept but may cause issues"} 
[2026-08-11 18:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786453326000,"timestamp_ms":1786453326000,"timestamp_seconds":1786453326,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ea78b0"} 
[2026-08-11 18:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-11 18:33:32] 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-08-11 18: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-08-11 18:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:33: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-08-11 18:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332046592001,"66":27767,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9195506038585530368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332046592001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:33:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585530368,"description":"Unknown IO ID 45"} 
[2026-08-11 18:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332046592001,"power":27767,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585530368}} 
[2026-08-11 18:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":152400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:33:32] local.INFO: GPS data processed {"connection_id":152400,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:33:32] local.INFO: Acknowledgment sent {"connection_id":152400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:33:45] local.INFO: TCP Data received {"connection_id":155102,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eb1108012d19a1c0071ff090003200f521..."} 
[2026-08-11 18:33:45] local.INFO: TCP Data received {"connection_id":152399,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e7ffe0012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eb1108012d19a1c0071ff090003200f521..."} 
[2026-08-11 18:33:45] local.INFO: Processing buffer {"connection_id":155102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eb1108012d19a1c0071ff090003200f521..."} 
[2026-08-11 18:33:45] local.INFO: Packet analysis {"connection_id":155102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:33:45] local.INFO: Extracted packet for processing {"connection_id":155102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756654528,"raw_latitude":119533712,"longitude_deg":75.6654528,"latitude_deg":11.9533712,"altitude":50,"angle":245,"satellites":33,"speed":0,"hex_longitude":"2d19a1c0","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332060416001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816228125409280,"note":"Value kept but may cause issues"} 
[2026-08-11 18:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847672146473629696,"note":"Value kept but may cause issues"} 
[2026-08-11 18:33:45] 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-08-11 18:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786453365000,"timestamp_ms":1786453365000,"timestamp_seconds":1786453365,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eb1108"} 
[2026-08-11 18:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:33:45] 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-08-11 18: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-11 18:33:45] 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-08-11 18: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-08-11 18:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e7ffe0012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:33:45] local.INFO: Processing buffer {"connection_id":152399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e7ffe0012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:33:45] local.INFO: Packet analysis {"connection_id":152399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e7"} 
[2026-08-11 18:33:45] local.INFO: Extracted packet for processing {"connection_id":152399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e7"} 
[2026-08-11 18:33:45] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733984,"longitude_deg":76.3246016,"latitude_deg":9.7733984,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-08-11 18:33:45] 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-08-11 18:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332009984001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786453164000,"timestamp_ms":1786453164000,"timestamp_seconds":1786453164,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e7ffe0"} 
[2026-08-11 18:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:33:45] 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-08-11 18: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 18:33:45] 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-08-11 18: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-08-11 18:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332060416001,"66":14461,"101":206,"83":41984,"24":0,"16":11816228125409280,"45":1847672146473629696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 18:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332060416001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:33:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 18:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816228125409280,"km_value":11816228125409.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847672146473629696,"description":"Unknown IO ID 45"} 
[2026-08-11 18:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332060416001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847672146473629696}} 
[2026-08-11 18:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332009984001,"66":13493,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332009984001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:33:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:33:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332009984001,"power":13493,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":152399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:33:45] local.INFO: GPS data processed {"connection_id":152399,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:33:45] local.INFO: Acknowledgment sent {"connection_id":152399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":155102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:33:45] local.INFO: GPS data processed {"connection_id":155102,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:33:45] local.INFO: Acknowledgment sent {"connection_id":155102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:34:08] local.INFO: TCP Data received {"connection_id":152796,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:34:08] local.INFO: Processing buffer {"connection_id":152796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:34:08] local.INFO: IMEI packet received {"connection_id":152796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":152796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:34:10] local.INFO: TCP Data received {"connection_id":152401,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:34:10] local.INFO: Processing buffer {"connection_id":152401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:34:10] local.INFO: IMEI packet received {"connection_id":152401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":152401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:34:12] local.INFO: TCP Data received {"connection_id":152400,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:34:12] local.INFO: Processing buffer {"connection_id":152400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:34:12] local.INFO: Packet analysis {"connection_id":152400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:34:12] local.INFO: Extracted packet for processing {"connection_id":152400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:34:12] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95410584,"longitude_deg":76.3337984,"latitude_deg":9.5410584,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd998","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332051456001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585530368,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786453328000,"timestamp_ms":1786453328000,"timestamp_seconds":1786453328,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ea8080"} 
[2026-08-11 18:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:34: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-08-11 18: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-08-11 18:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:34: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-08-11 18:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332051456001,"66":26691,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9195506038585530368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332051456001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:34:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585530368,"description":"Unknown IO ID 45"} 
[2026-08-11 18:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332051456001,"power":26691,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585530368}} 
[2026-08-11 18:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":152400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:34:12] local.INFO: GPS data processed {"connection_id":152400,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:34:12] local.INFO: Acknowledgment sent {"connection_id":152400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:34:13] local.INFO: TCP Data received {"connection_id":152796,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:34:13] local.INFO: Processing buffer {"connection_id":152796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:34:13] local.INFO: IMEI packet received {"connection_id":152796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":152796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:34:14] local.INFO: TCP Data received {"connection_id":152796,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0e803c8012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0e803c8012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:34:14] local.INFO: Processing buffer {"connection_id":152796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0e803c8012d7e35c005d34d600000004f25..."} 
[2026-08-11 18:34:14] local.INFO: Packet analysis {"connection_id":152796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0e8"} 
[2026-08-11 18:34:14] local.INFO: Extracted packet for processing {"connection_id":152796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0e8"} 
[2026-08-11 18:34:14] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733984,"longitude_deg":76.3246016,"latitude_deg":9.7733984,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-08-11 18:34: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-08-11 18:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332009984001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786453165000,"timestamp_ms":1786453165000,"timestamp_seconds":1786453165,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0e803c8"} 
[2026-08-11 18:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:34:14] 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-08-11 18:34: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":181,"data_length":795,"current_offset":136} 
[2026-08-11 18:34:14] 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-08-11 18:34: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-08-11 18:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332009984001,"66":13493,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332009984001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:34:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:34:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332009984001,"power":13493,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":152796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:34:14] local.INFO: GPS data processed {"connection_id":152796,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:34:14] local.INFO: Acknowledgment sent {"connection_id":152796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:34:15] local.INFO: TCP Data received {"connection_id":152401,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:34:15] local.INFO: Processing buffer {"connection_id":152401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:34:15] local.INFO: IMEI packet received {"connection_id":152401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":152401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:34:17] local.INFO: TCP Data received {"connection_id":152401,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eb3fe8012d199f40071fefd00032010424..."} 
[2026-08-11 18:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eb3fe8012d199f40071fefd00032010424..."} 
[2026-08-11 18:34:17] local.INFO: Processing buffer {"connection_id":152401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eb3fe8012d199f40071fefd00032010424..."} 
[2026-08-11 18:34:17] local.INFO: Packet analysis {"connection_id":152401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:34:17] local.INFO: Extracted packet for processing {"connection_id":152401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756653888,"raw_latitude":119533520,"longitude_deg":75.6653888,"latitude_deg":11.953352,"altitude":50,"angle":260,"satellites":36,"speed":4,"hex_longitude":"2d199f40","hex_latitude":"071fefd0","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332061440001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816258190180352,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846968459031777280,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:17] 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-08-11 18:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786453377000,"timestamp_ms":1786453377000,"timestamp_seconds":1786453377,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eb3fe8"} 
[2026-08-11 18:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18: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-08-11 18: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-11 18:34:17] 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-08-11 18: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-08-11 18:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332061440001,"66":14070,"101":206,"83":41984,"24":4,"16":11816258190180352,"45":1846968459031777280},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 18:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332061440001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:34:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 18:34:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816258190180352,"km_value":11816258190180.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846968459031777280,"description":"Unknown IO ID 45"} 
[2026-08-11 18:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332061440001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1846968459031777280}} 
[2026-08-11 18:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":152401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:34:17] local.INFO: GPS data processed {"connection_id":152401,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:34:17] local.INFO: Acknowledgment sent {"connection_id":152401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:34:19] local.INFO: TCP Data received {"connection_id":153732,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:34:19] local.INFO: Processing buffer {"connection_id":153732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:34:19] local.INFO: IMEI packet received {"connection_id":153732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":153732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:34:24] local.INFO: TCP Data received {"connection_id":153732,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:34:24] local.INFO: Processing buffer {"connection_id":153732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:34:24] local.INFO: IMEI packet received {"connection_id":153732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":153732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:34:26] local.INFO: TCP Data received {"connection_id":153732,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:34:26] local.INFO: Processing buffer {"connection_id":153732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:34:26] local.INFO: Packet analysis {"connection_id":153732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:34:26] local.INFO: Extracted packet for processing {"connection_id":153732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95410584,"longitude_deg":76.3337984,"latitude_deg":9.5410584,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd998","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332051456001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585530368,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786453328000,"timestamp_ms":1786453328000,"timestamp_seconds":1786453328,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ea8080"} 
[2026-08-11 18:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:34:26] 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-08-11 18: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-08-11 18:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:34:26] 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-08-11 18:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332051456001,"66":26691,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9195506038585530368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332051456001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:34:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585530368,"description":"Unknown IO ID 45"} 
[2026-08-11 18:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332051456001,"power":26691,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585530368}} 
[2026-08-11 18:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":153732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:34:26] local.INFO: GPS data processed {"connection_id":153732,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:34:26] local.INFO: Acknowledgment sent {"connection_id":153732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:34:45] local.INFO: TCP Data received {"connection_id":152796,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:34:45] local.INFO: Processing buffer {"connection_id":152796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:34:45] local.INFO: Packet analysis {"connection_id":152796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:34:45] local.INFO: Extracted packet for processing {"connection_id":152796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:34:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18:34: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-08-11 18:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332010240001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786453468000,"timestamp_ms":1786453468000,"timestamp_seconds":1786453468,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eca360"} 
[2026-08-11 18:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:34:45] 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-08-11 18:34: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 18:34:45] 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-08-11 18:34: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-08-11 18:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332010240001,"66":12961,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332010240001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:34:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:34:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332010240001,"power":12961,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":152796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:34:45] local.INFO: GPS data processed {"connection_id":152796,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:34:45] local.INFO: Acknowledgment sent {"connection_id":152796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:34:50] local.INFO: TCP Data received {"connection_id":152401,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eb47b8012d199d40071fefd00032011724..."} 
[2026-08-11 18:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eb47b8012d199d40071fefd00032011724..."} 
[2026-08-11 18:34:50] local.INFO: Processing buffer {"connection_id":152401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eb47b8012d199d40071fefd00032011724..."} 
[2026-08-11 18:34:50] local.INFO: Packet analysis {"connection_id":152401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:34:50] local.INFO: Extracted packet for processing {"connection_id":152401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756653376,"raw_latitude":119533520,"longitude_deg":75.6653376,"latitude_deg":11.953352,"altitude":50,"angle":279,"satellites":36,"speed":10,"hex_longitude":"2d199d40","hex_latitude":"071fefd0","is_valid_coordinates":true} 
[2026-08-11 18:34: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-08-11 18:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332064512001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816283959984128,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846264771589951488,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34: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-08-11 18:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786453379000,"timestamp_ms":1786453379000,"timestamp_seconds":1786453379,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eb47b8"} 
[2026-08-11 18:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:34:50] 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-08-11 18:34: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":246,"data_length":795,"current_offset":136} 
[2026-08-11 18:34:50] 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-08-11 18:34: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-08-11 18:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332064512001,"66":13526,"101":206,"83":41984,"24":10,"16":11816283959984128,"45":1846264771589951488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 18:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332064512001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:34:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 18:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816283959984128,"km_value":11816283959984.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846264771589951488,"description":"Unknown IO ID 45"} 
[2026-08-11 18:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332064512001,"power":13526,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1846264771589951488}} 
[2026-08-11 18:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":152401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:34:50] local.INFO: GPS data processed {"connection_id":152401,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:34:50] local.INFO: Acknowledgment sent {"connection_id":152401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:34:57] local.INFO: TCP Data received {"connection_id":153732,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:34:57] local.INFO: Processing buffer {"connection_id":153732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:34:57] local.INFO: Packet analysis {"connection_id":153732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:34:57] local.INFO: Extracted packet for processing {"connection_id":153732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95410584,"longitude_deg":76.3337984,"latitude_deg":9.5410584,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd998","is_valid_coordinates":true} 
[2026-08-11 18:34: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-08-11 18:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332051456001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585530368,"note":"Value kept but may cause issues"} 
[2026-08-11 18:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786453328000,"timestamp_ms":1786453328000,"timestamp_seconds":1786453328,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ea8080"} 
[2026-08-11 18:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:34: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-08-11 18:34: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-08-11 18:34: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-08-11 18:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:34:57] 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-08-11 18:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332051456001,"66":26691,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9195506038585530368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332051456001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:34:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585530368,"description":"Unknown IO ID 45"} 
[2026-08-11 18:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332051456001,"power":26691,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585530368}} 
[2026-08-11 18:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":153732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:34:57] local.INFO: GPS data processed {"connection_id":153732,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:34:57] local.INFO: Acknowledgment sent {"connection_id":153732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:35:08] local.INFO: TCP Data received {"connection_id":152402,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:35:08] local.INFO: Processing buffer {"connection_id":152402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:35:08] local.INFO: IMEI packet received {"connection_id":152402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":152402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:35:08] local.INFO: TCP Data received {"connection_id":152403,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:35:08] local.INFO: Processing buffer {"connection_id":152403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:35:08] local.INFO: IMEI packet received {"connection_id":152403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":152403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:35:10] local.INFO: TCP Data received {"connection_id":152402,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:35:10] local.INFO: Processing buffer {"connection_id":152402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:35:10] local.INFO: IMEI packet received {"connection_id":152402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":152402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:35:13] local.INFO: TCP Data received {"connection_id":152403,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:35:13] local.INFO: Processing buffer {"connection_id":152403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:35:13] local.INFO: IMEI packet received {"connection_id":152403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":152403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:35:14] local.INFO: TCP Data received {"connection_id":152403,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:35:14] local.INFO: Processing buffer {"connection_id":152403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:35:14] local.INFO: Packet analysis {"connection_id":152403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:35:14] local.INFO: Extracted packet for processing {"connection_id":152403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:35:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332010240001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786453468000,"timestamp_ms":1786453468000,"timestamp_seconds":1786453468,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eca360"} 
[2026-08-11 18:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:35:14] 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-08-11 18: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 18:35:14] 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-08-11 18: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-08-11 18:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332010240001,"66":12961,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332010240001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:35:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:35:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332010240001,"power":12961,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":152403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:35:14] local.INFO: GPS data processed {"connection_id":152403,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:35:14] local.INFO: Acknowledgment sent {"connection_id":152403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:35:15] local.INFO: TCP Data received {"connection_id":152402,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:35:15] local.INFO: Processing buffer {"connection_id":152402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:35:15] local.INFO: IMEI packet received {"connection_id":152402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":152402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:35:15] local.INFO: TCP Data received {"connection_id":152402,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eb72b0012d198c00071ff0780034010c25..."} 
[2026-08-11 18:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eb72b0012d198c00071ff0780034010c25..."} 
[2026-08-11 18:35:15] local.INFO: Processing buffer {"connection_id":152402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eb72b0012d198c00071ff0780034010c25..."} 
[2026-08-11 18:35:15] local.INFO: Packet analysis {"connection_id":152402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:35:15] local.INFO: Extracted packet for processing {"connection_id":152402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119533688,"longitude_deg":75.664896,"latitude_deg":11.9533688,"altitude":52,"angle":268,"satellites":37,"speed":17,"hex_longitude":"2d198c00","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332065024001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816494413381632,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845701821636530176,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786453390000,"timestamp_ms":1786453390000,"timestamp_seconds":1786453390,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eb72b0"} 
[2026-08-11 18:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:35:15] 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-08-11 18: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 18:35: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-08-11 18: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-08-11 18:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332065024001,"66":14004,"102":206,"83":41984,"24":17,"16":11816494413381632,"45":1845701821636530176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332065024001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:35:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816494413381632,"km_value":11816494413381.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845701821636530176,"description":"Unknown IO ID 45"} 
[2026-08-11 18:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332065024001,"power":14004,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1845701821636530176}} 
[2026-08-11 18:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":152402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:35:16] local.INFO: GPS data processed {"connection_id":152402,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:35:16] local.INFO: Acknowledgment sent {"connection_id":152402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:35:19] local.INFO: TCP Data received {"connection_id":153733,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:35:19] local.INFO: Processing buffer {"connection_id":153733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:35:19] local.INFO: IMEI packet received {"connection_id":153733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":153733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:35:24] local.INFO: TCP Data received {"connection_id":153733,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:35:24] local.INFO: Processing buffer {"connection_id":153733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:35:24] local.INFO: IMEI packet received {"connection_id":153733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":153733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:35:25] local.INFO: TCP Data received {"connection_id":153733,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:35:25] local.INFO: Processing buffer {"connection_id":153733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:35:25] local.INFO: Packet analysis {"connection_id":153733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:35:25] local.INFO: Extracted packet for processing {"connection_id":153733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:35:25] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95410584,"longitude_deg":76.3337984,"latitude_deg":9.5410584,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd998","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332051456001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585530368,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786453328000,"timestamp_ms":1786453328000,"timestamp_seconds":1786453328,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ea8080"} 
[2026-08-11 18:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:35:25] 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-08-11 18: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-08-11 18:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:35:25] 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-08-11 18:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332051456001,"66":26691,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9195506038585530368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332051456001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:35:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585530368,"description":"Unknown IO ID 45"} 
[2026-08-11 18:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332051456001,"power":26691,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585530368}} 
[2026-08-11 18:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":153733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:35:25] local.INFO: GPS data processed {"connection_id":153733,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:35:25] local.INFO: Acknowledgment sent {"connection_id":153733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:35:45] local.INFO: TCP Data received {"connection_id":152403,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:35:45] local.INFO: Processing buffer {"connection_id":152403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:35:45] local.INFO: Packet analysis {"connection_id":152403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:35:45] local.INFO: Extracted packet for processing {"connection_id":152403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:35:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18:35: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-08-11 18:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332010240001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786453468000,"timestamp_ms":1786453468000,"timestamp_seconds":1786453468,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eca360"} 
[2026-08-11 18:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:35:45] 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-08-11 18:35: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 18:35:45] 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-08-11 18:35: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-08-11 18:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332010240001,"66":12961,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332010240001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:35:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:35:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332010240001,"power":12961,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":152403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:35:45] local.INFO: GPS data processed {"connection_id":152403,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:35:45] local.INFO: Acknowledgment sent {"connection_id":152403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:35:47] local.INFO: TCP Data received {"connection_id":152402,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eb8250012d198480071fef78003500f524..."} 
[2026-08-11 18:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eb8250012d198480071fef78003500f524..."} 
[2026-08-11 18:35:47] local.INFO: Processing buffer {"connection_id":152402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eb8250012d198480071fef78003500f524..."} 
[2026-08-11 18:35:47] local.INFO: Packet analysis {"connection_id":152402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:35:47] local.INFO: Extracted packet for processing {"connection_id":152402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756647040,"raw_latitude":119533432,"longitude_deg":75.664704,"latitude_deg":11.9533432,"altitude":53,"angle":245,"satellites":36,"speed":18,"hex_longitude":"2d198480","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332067840001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816584607694848,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378288314368,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786453394000,"timestamp_ms":1786453394000,"timestamp_seconds":1786453394,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eb8250"} 
[2026-08-11 18:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:35: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-08-11 18: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-11 18:35:47] 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-08-11 18: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-08-11 18:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332067840001,"66":13374,"102":206,"83":41984,"24":18,"16":11816584607694848,"45":1840846378288314368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332067840001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:35:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816584607694848,"km_value":11816584607694.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378288314368,"description":"Unknown IO ID 45"} 
[2026-08-11 18:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332067840001,"power":13374,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1840846378288314368}} 
[2026-08-11 18:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":152402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:35:47] local.INFO: GPS data processed {"connection_id":152402,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:35:47] local.INFO: Acknowledgment sent {"connection_id":152402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:35:56] local.INFO: TCP Data received {"connection_id":153733,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:35:56] local.INFO: Processing buffer {"connection_id":153733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:35:56] local.INFO: Packet analysis {"connection_id":153733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:35:56] local.INFO: Extracted packet for processing {"connection_id":153733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95410584,"longitude_deg":76.3337984,"latitude_deg":9.5410584,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd998","is_valid_coordinates":true} 
[2026-08-11 18:35: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-08-11 18:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332051456001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585530368,"note":"Value kept but may cause issues"} 
[2026-08-11 18:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786453328000,"timestamp_ms":1786453328000,"timestamp_seconds":1786453328,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ea8080"} 
[2026-08-11 18:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:35: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":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:35:56] 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-08-11 18:35: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-08-11 18:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:35:56] 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-08-11 18:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332051456001,"66":26691,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9195506038585530368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332051456001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:35:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585530368,"description":"Unknown IO ID 45"} 
[2026-08-11 18:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332051456001,"power":26691,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585530368}} 
[2026-08-11 18:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":153733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:35:56] local.INFO: GPS data processed {"connection_id":153733,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:35:56] local.INFO: Acknowledgment sent {"connection_id":153733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:36:09] local.INFO: TCP Data received {"connection_id":152797,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:36:09] local.INFO: Processing buffer {"connection_id":152797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:36:09] local.INFO: IMEI packet received {"connection_id":152797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":152797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:36:11] local.INFO: TCP Data received {"connection_id":152797,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:36:11] local.INFO: Processing buffer {"connection_id":152797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:36:11] local.INFO: IMEI packet received {"connection_id":152797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":152797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:36:13] local.INFO: TCP Data received {"connection_id":152798,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:36:13] local.INFO: Processing buffer {"connection_id":152798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:36:13] local.INFO: IMEI packet received {"connection_id":152798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":152798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:36:15] local.INFO: TCP Data received {"connection_id":152797,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:36:15] local.INFO: Processing buffer {"connection_id":152797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:36:15] local.INFO: IMEI packet received {"connection_id":152797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":152797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:36:15] local.INFO: TCP Data received {"connection_id":152797,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eb8a20012d198140071fed60003600e624..."} 
[2026-08-11 18:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eb8a20012d198140071fed60003600e624..."} 
[2026-08-11 18:36:15] local.INFO: Processing buffer {"connection_id":152797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eb8a20012d198140071fed60003600e624..."} 
[2026-08-11 18:36:15] local.INFO: Packet analysis {"connection_id":152797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:36:15] local.INFO: Extracted packet for processing {"connection_id":152797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756646208,"raw_latitude":119532896,"longitude_deg":75.6646208,"latitude_deg":11.9532896,"altitude":54,"angle":230,"satellites":36,"speed":17,"hex_longitude":"2d198140","hex_latitude":"071fed60","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332068864001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816636147302400,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838735315962918912,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786453396000,"timestamp_ms":1786453396000,"timestamp_seconds":1786453396,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eb8a20"} 
[2026-08-11 18:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:36:15] 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-08-11 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 18:36:15] 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-08-11 18: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-08-11 18:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332068864001,"66":13243,"102":206,"83":41984,"24":17,"16":11816636147302400,"45":1838735315962918912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332068864001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:36:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816636147302400,"km_value":11816636147302.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838735315962918912,"description":"Unknown IO ID 45"} 
[2026-08-11 18:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332068864001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1838735315962918912}} 
[2026-08-11 18:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":152797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:36:16] local.INFO: GPS data processed {"connection_id":152797,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:36:16] local.INFO: Acknowledgment sent {"connection_id":152797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:36:18] local.INFO: TCP Data received {"connection_id":152798,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:36:18] local.INFO: Processing buffer {"connection_id":152798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:36:18] local.INFO: IMEI packet received {"connection_id":152798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":152798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:36:18] local.INFO: TCP Data received {"connection_id":152799,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:36:18] local.INFO: Processing buffer {"connection_id":152799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:36:18] local.INFO: IMEI packet received {"connection_id":152799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":152799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:36:19] local.INFO: TCP Data received {"connection_id":152798,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:36:19] local.INFO: Processing buffer {"connection_id":152798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:36:19] local.INFO: Packet analysis {"connection_id":152798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:36:19] local.INFO: Extracted packet for processing {"connection_id":152798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:36:19] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18:36: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-08-11 18:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332010240001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786453468000,"timestamp_ms":1786453468000,"timestamp_seconds":1786453468,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eca360"} 
[2026-08-11 18:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:36: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-08-11 18:36: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 18:36:19] 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-08-11 18:36: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-08-11 18:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332010240001,"66":12961,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332010240001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:36:19] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:36:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332010240001,"power":12961,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":152798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:36:19] local.INFO: GPS data processed {"connection_id":152798,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:36:19] local.INFO: Acknowledgment sent {"connection_id":152798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:36:24] local.INFO: TCP Data received {"connection_id":152799,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:36:24] local.INFO: Processing buffer {"connection_id":152799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:36:24] local.INFO: IMEI packet received {"connection_id":152799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":152799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:36:24] local.INFO: TCP Data received {"connection_id":152798,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:36:24] local.INFO: Processing buffer {"connection_id":152798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:36:24] local.INFO: Packet analysis {"connection_id":152798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:36:24] local.INFO: Extracted packet for processing {"connection_id":152798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:36:24] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332010240001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786453468000,"timestamp_ms":1786453468000,"timestamp_seconds":1786453468,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eca360"} 
[2026-08-11 18:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:36: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-08-11 18: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 18:36:24] 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-08-11 18: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-08-11 18:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332010240001,"66":12961,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332010240001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:36:24] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:36:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332010240001,"power":12961,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":152798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:36:24] local.INFO: GPS data processed {"connection_id":152798,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:36:24] local.INFO: Acknowledgment sent {"connection_id":152798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:36:25] local.INFO: TCP Data received {"connection_id":152799,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:36:25] local.INFO: Processing buffer {"connection_id":152799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:36:25] local.INFO: Packet analysis {"connection_id":152799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:36:25] local.INFO: Extracted packet for processing {"connection_id":152799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:36:25] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95410584,"longitude_deg":76.3337984,"latitude_deg":9.5410584,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd998","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332051456001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585530368,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786453328000,"timestamp_ms":1786453328000,"timestamp_seconds":1786453328,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ea8080"} 
[2026-08-11 18:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:36:25] 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-08-11 18: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-08-11 18:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:36:25] 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-08-11 18:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332051456001,"66":26691,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9195506038585530368},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332051456001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:36:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585530368,"description":"Unknown IO ID 45"} 
[2026-08-11 18:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332051456001,"power":26691,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585530368}} 
[2026-08-11 18:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":152799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:36:25] local.INFO: GPS data processed {"connection_id":152799,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:36:25] local.INFO: Acknowledgment sent {"connection_id":152799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:36:47] local.INFO: TCP Data received {"connection_id":152797,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eb91f0012d197e40071febb8003700fa24..."} 
[2026-08-11 18:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eb91f0012d197e40071febb8003700fa24..."} 
[2026-08-11 18:36:47] local.INFO: Processing buffer {"connection_id":152797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eb91f0012d197e40071febb8003700fa24..."} 
[2026-08-11 18:36:47] local.INFO: Packet analysis {"connection_id":152797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:36:47] local.INFO: Extracted packet for processing {"connection_id":152797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756645440,"raw_latitude":119532472,"longitude_deg":75.664544,"latitude_deg":11.9532472,"altitude":55,"angle":250,"satellites":36,"speed":16,"hex_longitude":"2d197e40","hex_latitude":"071febb8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332069376001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816674802008064,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837820522288472064,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786453398000,"timestamp_ms":1786453398000,"timestamp_seconds":1786453398,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eb91f0"} 
[2026-08-11 18:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18: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-08-11 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 18:36:47] 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-08-11 18: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-08-11 18:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332069376001,"66":13276,"102":206,"83":41984,"24":16,"16":11816674802008064,"45":1837820522288472064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332069376001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:36:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:36:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816674802008064,"km_value":11816674802008.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837820522288472064,"description":"Unknown IO ID 45"} 
[2026-08-11 18:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332069376001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1837820522288472064}} 
[2026-08-11 18:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":152797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:36:47] local.INFO: GPS data processed {"connection_id":152797,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:36:47] local.INFO: Acknowledgment sent {"connection_id":152797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:36:56] local.INFO: TCP Data received {"connection_id":152799,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:36:56] local.INFO: Processing buffer {"connection_id":152799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:36:56] local.INFO: Packet analysis {"connection_id":152799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:36:56] local.INFO: Extracted packet for processing {"connection_id":152799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95410584,"longitude_deg":76.3337984,"latitude_deg":9.5410584,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd998","is_valid_coordinates":true} 
[2026-08-11 18:36: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-08-11 18:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332051456001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585530368,"note":"Value kept but may cause issues"} 
[2026-08-11 18:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786453328000,"timestamp_ms":1786453328000,"timestamp_seconds":1786453328,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ea8080"} 
[2026-08-11 18:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:36: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":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:36:56] 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-08-11 18:36: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-08-11 18:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:36:56] 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-08-11 18:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332051456001,"66":26691,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9195506038585530368},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332051456001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:36:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585530368,"description":"Unknown IO ID 45"} 
[2026-08-11 18:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332051456001,"power":26691,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585530368}} 
[2026-08-11 18:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":152799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:36:56] local.INFO: GPS data processed {"connection_id":152799,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:36:56] local.INFO: Acknowledgment sent {"connection_id":152799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:37:08] local.INFO: TCP Data received {"connection_id":152800,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:37:08] local.INFO: Processing buffer {"connection_id":152800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:37:08] local.INFO: IMEI packet received {"connection_id":152800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":152800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:37:09] local.INFO: TCP Data received {"connection_id":152801,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:37:09] local.INFO: Processing buffer {"connection_id":152801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:37:09] local.INFO: IMEI packet received {"connection_id":152801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":152801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:37:13] local.INFO: TCP Data received {"connection_id":152800,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:37:13] local.INFO: Processing buffer {"connection_id":152800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:37:13] local.INFO: IMEI packet received {"connection_id":152800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":152800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:37:14] local.INFO: TCP Data received {"connection_id":152801,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:37:14] local.INFO: Processing buffer {"connection_id":152801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:37:14] local.INFO: IMEI packet received {"connection_id":152801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":152801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:37:14] local.INFO: TCP Data received {"connection_id":152801,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:37:14] local.INFO: Processing buffer {"connection_id":152801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:37:14] local.INFO: IMEI packet received {"connection_id":152801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":152801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:37:15] local.INFO: TCP Data received {"connection_id":152801,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eb9da8012d1978c0071feab80037010925..."} 
[2026-08-11 18:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eb9da8012d1978c0071feab80037010925..."} 
[2026-08-11 18:37:15] local.INFO: Processing buffer {"connection_id":152801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eb9da8012d1978c0071feab80037010925..."} 
[2026-08-11 18:37:15] local.INFO: Packet analysis {"connection_id":152801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:37:15] local.INFO: Extracted packet for processing {"connection_id":152801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756644032,"raw_latitude":119532216,"longitude_deg":75.6644032,"latitude_deg":11.9532216,"altitude":55,"angle":265,"satellites":37,"speed":17,"hex_longitude":"2d1978c0","hex_latitude":"071feab8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332069888001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816743521484800,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836976097358231552,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786453401000,"timestamp_ms":1786453401000,"timestamp_seconds":1786453401,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eb9da8"} 
[2026-08-11 18:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:37:15] 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-08-11 18: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-11 18:37: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-08-11 18: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-08-11 18:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332069888001,"66":13243,"102":206,"83":41984,"24":17,"16":11816743521484800,"45":1836976097358231552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332069888001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:37:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816743521484800,"km_value":11816743521484.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836976097358231552,"description":"Unknown IO ID 45"} 
[2026-08-11 18:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332069888001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1836976097358231552}} 
[2026-08-11 18:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":152801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:37:15] local.INFO: GPS data processed {"connection_id":152801,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:37:15] local.INFO: Acknowledgment sent {"connection_id":152801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:37:18] local.INFO: TCP Data received {"connection_id":152800,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:37:18] local.INFO: Processing buffer {"connection_id":152800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:37:18] local.INFO: Packet analysis {"connection_id":152800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:37:18] local.INFO: Extracted packet for processing {"connection_id":152800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:37:18] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18:37: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-08-11 18:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332010240001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786453468000,"timestamp_ms":1786453468000,"timestamp_seconds":1786453468,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eca360"} 
[2026-08-11 18:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:37:18] 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-08-11 18:37: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 18:37:18] 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-08-11 18:37: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-08-11 18:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332010240001,"66":12961,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332010240001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:37:18] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:37:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332010240001,"power":12961,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":152800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:37:18] local.INFO: GPS data processed {"connection_id":152800,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:37:18] local.INFO: Acknowledgment sent {"connection_id":152800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:37:18] local.INFO: TCP Data received {"connection_id":153734,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:37:18] local.INFO: Processing buffer {"connection_id":153734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:37:18] local.INFO: IMEI packet received {"connection_id":153734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":153734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:37:20] local.INFO: TCP Data received {"connection_id":152801,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eba960012d197340071feb080038011724..."} 
[2026-08-11 18:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eba960012d197340071feb080038011724..."} 
[2026-08-11 18:37:20] local.INFO: Processing buffer {"connection_id":152801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eba960012d197340071feb080038011724..."} 
[2026-08-11 18:37:20] local.INFO: Packet analysis {"connection_id":152801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:37:20] local.INFO: Extracted packet for processing {"connection_id":152801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:37:20] local.INFO: GPS Element Parsed {"raw_longitude":756642624,"raw_latitude":119532296,"longitude_deg":75.6642624,"latitude_deg":11.9532296,"altitude":56,"angle":279,"satellites":36,"speed":18,"hex_longitude":"2d197340","hex_latitude":"071feb08","is_valid_coordinates":true} 
[2026-08-11 18:37: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-08-11 18:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332070656001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816812240961536,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835427984986257408,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37: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-08-11 18:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786453404000,"timestamp_ms":1786453404000,"timestamp_seconds":1786453404,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eba960"} 
[2026-08-11 18:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:37:20] 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-08-11 18:37: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-11 18:37:20] 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-08-11 18:37: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-08-11 18:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332070656001,"66":13287,"102":206,"83":41984,"24":18,"16":11816812240961536,"45":1835427984986257408},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332070656001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:37:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:37:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816812240961536,"km_value":11816812240961.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835427984986257408,"description":"Unknown IO ID 45"} 
[2026-08-11 18:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332070656001,"power":13287,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1835427984986257408}} 
[2026-08-11 18:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":152801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:37:20] local.INFO: GPS data processed {"connection_id":152801,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:37:20] local.INFO: Acknowledgment sent {"connection_id":152801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:37:24] local.INFO: TCP Data received {"connection_id":153734,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:37:24] local.INFO: Processing buffer {"connection_id":153734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:37:24] local.INFO: IMEI packet received {"connection_id":153734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":153734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:37:34] local.INFO: TCP Data received {"connection_id":153734,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:37:34] local.INFO: Processing buffer {"connection_id":153734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ea8080012d7f9d0005afd998000801162a..."} 
[2026-08-11 18:37:34] local.INFO: Packet analysis {"connection_id":153734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:37:34] local.INFO: Extracted packet for processing {"connection_id":153734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ea"} 
[2026-08-11 18:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95410584,"longitude_deg":76.3337984,"latitude_deg":9.5410584,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd998","is_valid_coordinates":true} 
[2026-08-11 18:37: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-08-11 18:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332051456001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585530368,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786453328000,"timestamp_ms":1786453328000,"timestamp_seconds":1786453328,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ea8080"} 
[2026-08-11 18:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:37: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":119,"data_length":795,"current_offset":136} 
[2026-08-11 18:37:34] 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-08-11 18:37: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-08-11 18:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:37:34] 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-08-11 18:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332051456001,"66":26691,"28":206,"85":12544,"24":0,"16":377971939685171200,"45":9195506038585530368},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-11 18:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332051456001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:37:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-11 18:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585530368,"description":"Unknown IO ID 45"} 
[2026-08-11 18:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332051456001,"power":26691,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585530368}} 
[2026-08-11 18:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":153734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:37:34] local.INFO: GPS data processed {"connection_id":153734,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:37:34] local.INFO: Acknowledgment sent {"connection_id":153734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:37:51] local.INFO: TCP Data received {"connection_id":152801,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ebb900012d196dc0071febc00038010a22..."} 
[2026-08-11 18:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ebb900012d196dc0071febc00038010a22..."} 
[2026-08-11 18:37:51] local.INFO: Processing buffer {"connection_id":152801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ebb900012d196dc0071febc00038010a22..."} 
[2026-08-11 18:37:51] local.INFO: Packet analysis {"connection_id":152801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:37:51] local.INFO: Extracted packet for processing {"connection_id":152801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0eb"} 
[2026-08-11 18:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756641216,"raw_latitude":119532480,"longitude_deg":75.6641216,"latitude_deg":11.953248,"altitude":56,"angle":266,"satellites":34,"speed":9,"hex_longitude":"2d196dc0","hex_latitude":"071febc0","is_valid_coordinates":true} 
[2026-08-11 18:37: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-08-11 18:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332071424001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816876665470976,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833879872614369280,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786453408000,"timestamp_ms":1786453408000,"timestamp_seconds":1786453408,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ebb900"} 
[2026-08-11 18:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:37:51] 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-08-11 18:37: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-08-11 18:37:51] 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-08-11 18:37: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-08-11 18:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332071424001,"66":13276,"102":206,"83":41984,"24":9,"16":11816876665470976,"45":1833879872614369280},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332071424001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:37:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:37:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816876665470976,"km_value":11816876665470.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833879872614369280,"description":"Unknown IO ID 45"} 
[2026-08-11 18:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332071424001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1833879872614369280}} 
[2026-08-11 18:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":152801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:37:51] local.INFO: GPS data processed {"connection_id":152801,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:37:51] local.INFO: Acknowledgment sent {"connection_id":152801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:37:53] local.INFO: TCP Data received {"connection_id":152800,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:37:53] local.INFO: Processing buffer {"connection_id":152800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:37:53] local.INFO: Packet analysis {"connection_id":152800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:37:53] local.INFO: Extracted packet for processing {"connection_id":152800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:37:53] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332010240001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786453468000,"timestamp_ms":1786453468000,"timestamp_seconds":1786453468,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eca360"} 
[2026-08-11 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-08-11 18:37: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-08-11 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 18:37:53] 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-08-11 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-08-11 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-08-11 18:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332010240001,"66":12961,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332010240001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:37:53] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:37:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332010240001,"power":12961,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":152800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:37:53] local.INFO: GPS data processed {"connection_id":152800,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:37:53] local.INFO: Acknowledgment sent {"connection_id":152800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:38:08] local.INFO: TCP Data received {"connection_id":152802,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:38:08] local.INFO: Processing buffer {"connection_id":152802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:38:08] local.INFO: IMEI packet received {"connection_id":152802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":152802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:38:13] local.INFO: TCP Data received {"connection_id":152802,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:38:13] local.INFO: Processing buffer {"connection_id":152802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:38:13] local.INFO: IMEI packet received {"connection_id":152802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":152802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:38:14] local.INFO: TCP Data received {"connection_id":152802,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:38:14] local.INFO: Processing buffer {"connection_id":152802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:38:14] local.INFO: Packet analysis {"connection_id":152802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:38:14] local.INFO: Extracted packet for processing {"connection_id":152802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:38:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332010240001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786453468000,"timestamp_ms":1786453468000,"timestamp_seconds":1786453468,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eca360"} 
[2026-08-11 18:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:38:14] 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-08-11 18: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 18:38:14] 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-08-11 18: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-08-11 18:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332010240001,"66":12961,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332010240001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:38:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:38:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332010240001,"power":12961,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":152802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:38:14] local.INFO: GPS data processed {"connection_id":152802,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:38:14] local.INFO: Acknowledgment sent {"connection_id":152802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:38:15] local.INFO: TCP Data received {"connection_id":153735,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:38:15] local.INFO: Processing buffer {"connection_id":153735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:38:15] local.INFO: IMEI packet received {"connection_id":153735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":153735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:38:17] local.INFO: TCP Data received {"connection_id":153735,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:38:17] local.INFO: Processing buffer {"connection_id":153735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:38:17] local.INFO: IMEI packet received {"connection_id":153735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":153735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:38:18] local.INFO: TCP Data received {"connection_id":153735,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ec0b08012d1969c0071feb900039010b25..."} 
[2026-08-11 18:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ec0b08012d1969c0071feb900039010b25..."} 
[2026-08-11 18:38:18] local.INFO: Processing buffer {"connection_id":153735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ec0b08012d1969c0071feb900039010b25..."} 
[2026-08-11 18:38:18] local.INFO: Packet analysis {"connection_id":153735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:38:18] local.INFO: Extracted packet for processing {"connection_id":153735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:38:18] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:38: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-08-11 18:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332072448001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832331760242507776,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38: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-08-11 18:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786453429000,"timestamp_ms":1786453429000,"timestamp_seconds":1786453429,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ec0b08"} 
[2026-08-11 18:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:38:18] 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-08-11 18:38: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-11 18:38:18] 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-08-11 18:38: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-08-11 18:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332072448001,"66":13243,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1832331760242507776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332072448001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:38:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:38:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832331760242507776,"description":"Unknown IO ID 45"} 
[2026-08-11 18:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332072448001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832331760242507776}} 
[2026-08-11 18:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":153735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:38:18] local.INFO: GPS data processed {"connection_id":153735,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:38:18] local.INFO: Acknowledgment sent {"connection_id":153735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:38:21] local.INFO: TCP Data received {"connection_id":153735,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ec5d10012d1969c0071feb900039010b25..."} 
[2026-08-11 18:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ec5d10012d1969c0071feb900039010b25..."} 
[2026-08-11 18:38:21] local.INFO: Processing buffer {"connection_id":153735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ec5d10012d1969c0071feb900039010b25..."} 
[2026-08-11 18:38:21] local.INFO: Packet analysis {"connection_id":153735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:38:21] local.INFO: Extracted packet for processing {"connection_id":153735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:38: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-08-11 18:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332077824001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786453450000,"timestamp_ms":1786453450000,"timestamp_seconds":1786453450,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ec5d10"} 
[2026-08-11 18:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:38:21] 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-08-11 18:38: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":187,"data_length":795,"current_offset":136} 
[2026-08-11 18:38:21] 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-08-11 18:38: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-08-11 18:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":153735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":153735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":153735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332077824001,"66":13222,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332077824001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:38:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:38:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332077824001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":153735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:38:21] local.INFO: GPS data processed {"connection_id":153735,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:38:21] local.INFO: Acknowledgment sent {"connection_id":153735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:38:24] local.INFO: TCP Data received {"connection_id":153736,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:38:24] local.INFO: Processing buffer {"connection_id":153736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:38:24] local.INFO: IMEI packet received {"connection_id":153736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":153736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:38:29] local.INFO: TCP Data received {"connection_id":153736,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:38:29] local.INFO: Processing buffer {"connection_id":153736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:38:29] local.INFO: IMEI packet received {"connection_id":153736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":153736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:38:29] local.INFO: TCP Data received {"connection_id":153736,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ef3788012d7f9c8005afd7200009011629..."} 
[2026-08-11 18:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ef3788012d7f9c8005afd7200009011629..."} 
[2026-08-11 18:38:30] local.INFO: Processing buffer {"connection_id":153736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ef3788012d7f9c8005afd7200009011629..."} 
[2026-08-11 18:38:30] local.INFO: Packet analysis {"connection_id":153736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ef"} 
[2026-08-11 18:38:30] local.INFO: Extracted packet for processing {"connection_id":153736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ef"} 
[2026-08-11 18:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95409952,"longitude_deg":76.3337856,"latitude_deg":9.5409952,"altitude":9,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd720","is_valid_coordinates":true} 
[2026-08-11 18:38: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-08-11 18:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332051968001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585530368,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786453637000,"timestamp_ms":1786453637000,"timestamp_seconds":1786453637,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ef3788"} 
[2026-08-11 18:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:38: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-08-11 18:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18:38: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-08-11 18:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:38:30] 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-08-11 18:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332051968001,"66":26169,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195506038585530368},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332051968001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:38:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:38:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585530368,"description":"Unknown IO ID 45"} 
[2026-08-11 18:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332051968001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585530368}} 
[2026-08-11 18:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":153736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:38:30] local.INFO: GPS data processed {"connection_id":153736,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:38:30] local.INFO: Acknowledgment sent {"connection_id":153736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:38:45] local.INFO: TCP Data received {"connection_id":152802,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:38:45] local.INFO: Processing buffer {"connection_id":152802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:38:45] local.INFO: Packet analysis {"connection_id":152802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:38:45] local.INFO: Extracted packet for processing {"connection_id":152802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:38:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332010240001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786453468000,"timestamp_ms":1786453468000,"timestamp_seconds":1786453468,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eca360"} 
[2026-08-11 18:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:38:45] 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-08-11 18: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 18:38:45] 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-08-11 18: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-08-11 18:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332010240001,"66":12961,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332010240001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:38:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:38:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332010240001,"power":12961,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":152802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:38:45] local.INFO: GPS data processed {"connection_id":152802,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:38:45] local.INFO: Acknowledgment sent {"connection_id":152802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:38:52] local.INFO: TCP Data received {"connection_id":153735,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ecb300012d1969c0071feb900039010b24..."} 
[2026-08-11 18:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ecb300012d1969c0071feb900039010b24..."} 
[2026-08-11 18:38:52] local.INFO: Processing buffer {"connection_id":153735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ecb300012d1969c0071feb900039010b24..."} 
[2026-08-11 18:38:52] local.INFO: Packet analysis {"connection_id":153735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:38:52] local.INFO: Extracted packet for processing {"connection_id":153735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:38:52] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":36,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:38: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-08-11 18:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332083200001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:38: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-08-11 18:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786453472000,"timestamp_ms":1786453472000,"timestamp_seconds":1786453472,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ecb300"} 
[2026-08-11 18:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:38:52] 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-08-11 18:38: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-11 18:38:52] 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-08-11 18:38: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-08-11 18:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332083200001,"66":13156,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332083200001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:38:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:38:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332083200001,"power":13156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":153735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:38:52] local.INFO: GPS data processed {"connection_id":153735,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:38:52] local.INFO: Acknowledgment sent {"connection_id":153735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:39:01] local.INFO: TCP Data received {"connection_id":153736,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ef3788012d7f9c8005afd7200009011629..."} 
[2026-08-11 18:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ef3788012d7f9c8005afd7200009011629..."} 
[2026-08-11 18:39:01] local.INFO: Processing buffer {"connection_id":153736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ef3788012d7f9c8005afd7200009011629..."} 
[2026-08-11 18:39:01] local.INFO: Packet analysis {"connection_id":153736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ef"} 
[2026-08-11 18:39:01] local.INFO: Extracted packet for processing {"connection_id":153736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ef"} 
[2026-08-11 18:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95409952,"longitude_deg":76.3337856,"latitude_deg":9.5409952,"altitude":9,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd720","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332051968001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585530368,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786453637000,"timestamp_ms":1786453637000,"timestamp_seconds":1786453637,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ef3788"} 
[2026-08-11 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-08-11 18:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-08-11 18:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 18:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:39:01] 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-08-11 18:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332051968001,"66":26169,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195506038585530368},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332051968001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:39:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:39:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585530368,"description":"Unknown IO ID 45"} 
[2026-08-11 18:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332051968001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585530368}} 
[2026-08-11 18:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":153736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:39:01] local.INFO: GPS data processed {"connection_id":153736,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:39:01] local.INFO: Acknowledgment sent {"connection_id":153736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:39:08] local.INFO: TCP Data received {"connection_id":153738,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:39:08] local.INFO: Processing buffer {"connection_id":153738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:39:08] local.INFO: IMEI packet received {"connection_id":153738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":153738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:39:10] local.INFO: TCP Data received {"connection_id":153737,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:39:10] local.INFO: Processing buffer {"connection_id":153737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:39:10] local.INFO: IMEI packet received {"connection_id":153737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":153737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:39:13] local.INFO: TCP Data received {"connection_id":153738,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:39:13] local.INFO: Processing buffer {"connection_id":153738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:39:13] local.INFO: IMEI packet received {"connection_id":153738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":153738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:39:14] local.INFO: TCP Data received {"connection_id":153738,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:39:14] local.INFO: Processing buffer {"connection_id":153738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0eca360012d7e37c005d34d580000004f27..."} 
[2026-08-11 18:39:14] local.INFO: Packet analysis {"connection_id":153738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:39:14] local.INFO: Extracted packet for processing {"connection_id":153738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ec"} 
[2026-08-11 18:39:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18:39: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-08-11 18:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332010240001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797017600,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786453468000,"timestamp_ms":1786453468000,"timestamp_seconds":1786453468,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0eca360"} 
[2026-08-11 18:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:39:14] 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-08-11 18:39: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":181,"data_length":795,"current_offset":136} 
[2026-08-11 18:39:14] 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-08-11 18:39: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-08-11 18:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:39:14] 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-08-11 18:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332010240001,"66":12961,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094386153797017600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332010240001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:39:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:39:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797017600,"description":"Unknown IO ID 45"} 
[2026-08-11 18:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332010240001,"power":12961,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797017600}} 
[2026-08-11 18:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":153738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:39:14] local.INFO: GPS data processed {"connection_id":153738,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:39:14] local.INFO: Acknowledgment sent {"connection_id":153738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:39:15] local.INFO: TCP Data received {"connection_id":153737,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:39:15] local.INFO: Processing buffer {"connection_id":153737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:39:15] local.INFO: IMEI packet received {"connection_id":153737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":153737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:39:15] local.INFO: TCP Data received {"connection_id":153737,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ed0508012d1969c0071feb900039010b21..."} 
[2026-08-11 18:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ed0508012d1969c0071feb900039010b21..."} 
[2026-08-11 18:39:15] local.INFO: Processing buffer {"connection_id":153737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ed0508012d1969c0071feb900039010b21..."} 
[2026-08-11 18:39:15] local.INFO: Packet analysis {"connection_id":153737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ed"} 
[2026-08-11 18:39:15] local.INFO: Extracted packet for processing {"connection_id":153737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ed"} 
[2026-08-11 18:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":33,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332088832001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786453493000,"timestamp_ms":1786453493000,"timestamp_seconds":1786453493,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ed0508"} 
[2026-08-11 18:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:39:15] 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-08-11 18: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-11 18:39:15] 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-08-11 18: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-08-11 18:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332088832001,"66":13102,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332088832001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:39:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332088832001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":153737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:39:16] local.INFO: GPS data processed {"connection_id":153737,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:39:16] local.INFO: Acknowledgment sent {"connection_id":153737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:39:19] local.INFO: TCP Data received {"connection_id":152404,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:39:19] local.INFO: Processing buffer {"connection_id":152404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:39:19] local.INFO: IMEI packet received {"connection_id":152404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":152404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:39:24] local.INFO: TCP Data received {"connection_id":152404,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:39:24] local.INFO: Processing buffer {"connection_id":152404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:39:24] local.INFO: IMEI packet received {"connection_id":152404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":152404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:39:25] local.INFO: TCP Data received {"connection_id":152404,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ef3788012d7f9c8005afd7200009011629..."} 
[2026-08-11 18:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ef3788012d7f9c8005afd7200009011629..."} 
[2026-08-11 18:39:25] local.INFO: Processing buffer {"connection_id":152404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ef3788012d7f9c8005afd7200009011629..."} 
[2026-08-11 18:39:25] local.INFO: Packet analysis {"connection_id":152404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ef"} 
[2026-08-11 18:39:25] local.INFO: Extracted packet for processing {"connection_id":152404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ef"} 
[2026-08-11 18:39:25] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95409952,"longitude_deg":76.3337856,"latitude_deg":9.5409952,"altitude":9,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd720","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332051968001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585530368,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786453637000,"timestamp_ms":1786453637000,"timestamp_seconds":1786453637,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ef3788"} 
[2026-08-11 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-08-11 18:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-08-11 18:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 18:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:39:25] 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-08-11 18:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332051968001,"66":26169,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195506038585530368},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332051968001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:39:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:39:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585530368,"description":"Unknown IO ID 45"} 
[2026-08-11 18:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332051968001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585530368}} 
[2026-08-11 18:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":152404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:39:25] local.INFO: GPS data processed {"connection_id":152404,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:39:25] local.INFO: Acknowledgment sent {"connection_id":152404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:39:45] local.INFO: TCP Data received {"connection_id":153738,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f123b8012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f123b8012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:39:45] local.INFO: Processing buffer {"connection_id":153738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f123b8012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:39:45] local.INFO: Packet analysis {"connection_id":153738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:39:45] local.INFO: Extracted packet for processing {"connection_id":153738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:39:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18:39:45] 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-08-11 18:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332087808001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786453763000,"timestamp_ms":1786453763000,"timestamp_seconds":1786453763,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f123b8"} 
[2026-08-11 18:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:39: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":161,"data_length":795,"current_offset":136} 
[2026-08-11 18:39:45] 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-08-11 18:39: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-08-11 18:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:39:45] 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-08-11 18:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332087808001,"66":12645,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332087808001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:39:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:39:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332087808001,"power":12645,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":153738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:39:45] local.INFO: GPS data processed {"connection_id":153738,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:39:45] local.INFO: Acknowledgment sent {"connection_id":153738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:39:47] local.INFO: TCP Data received {"connection_id":153737,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ed5710012d1969c0071feb900039010b23..."} 
[2026-08-11 18:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ed5710012d1969c0071feb900039010b23..."} 
[2026-08-11 18:39:47] local.INFO: Processing buffer {"connection_id":153737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ed5710012d1969c0071feb900039010b23..."} 
[2026-08-11 18:39:47] local.INFO: Packet analysis {"connection_id":153737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ed"} 
[2026-08-11 18:39:47] local.INFO: Extracted packet for processing {"connection_id":153737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ed"} 
[2026-08-11 18:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":35,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:39: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-08-11 18:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332094208001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786453514000,"timestamp_ms":1786453514000,"timestamp_seconds":1786453514,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ed5710"} 
[2026-08-11 18:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:39: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-08-11 18:39: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":46,"data_length":795,"current_offset":136} 
[2026-08-11 18:39:47] 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-08-11 18:39: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-08-11 18:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332094208001,"66":13091,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332094208001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:39:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:39:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332094208001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":153737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:39:47] local.INFO: GPS data processed {"connection_id":153737,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:39:47] local.INFO: Acknowledgment sent {"connection_id":153737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:39:56] local.INFO: TCP Data received {"connection_id":152404,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f0d980012d7f9c8005afd720000901162a..."} 
[2026-08-11 18:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f0d980012d7f9c8005afd720000901162a..."} 
[2026-08-11 18:39:56] local.INFO: Processing buffer {"connection_id":152404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f0d980012d7f9c8005afd720000901162a..."} 
[2026-08-11 18:39:56] local.INFO: Packet analysis {"connection_id":152404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f0"} 
[2026-08-11 18:39:56] local.INFO: Extracted packet for processing {"connection_id":152404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f0"} 
[2026-08-11 18:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95409952,"longitude_deg":76.3337856,"latitude_deg":9.5409952,"altitude":9,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd720","is_valid_coordinates":true} 
[2026-08-11 18:39: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-08-11 18:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332131072001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301097013248,"note":"Value kept but may cause issues"} 
[2026-08-11 18:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786453744000,"timestamp_ms":1786453744000,"timestamp_seconds":1786453744,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f0d980"} 
[2026-08-11 18:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-11 18:39:56] 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-08-11 18: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-08-11 18:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:39:56] 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-08-11 18:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332131072001,"66":26136,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301097013248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332131072001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:39:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301097013248,"description":"Unknown IO ID 45"} 
[2026-08-11 18:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332131072001,"power":26136,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301097013248}} 
[2026-08-11 18:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":152404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:39:56] local.INFO: GPS data processed {"connection_id":152404,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:39:56] local.INFO: Acknowledgment sent {"connection_id":152404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:40:08] local.INFO: TCP Data received {"connection_id":152405,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:40:08] local.INFO: Processing buffer {"connection_id":152405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:40:08] local.INFO: IMEI packet received {"connection_id":152405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":152405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:40:10] local.INFO: TCP Data received {"connection_id":155103,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:40:10] local.INFO: Processing buffer {"connection_id":155103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:40:10] local.INFO: IMEI packet received {"connection_id":155103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":155103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:40:13] local.INFO: TCP Data received {"connection_id":152405,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:40:13] local.INFO: Processing buffer {"connection_id":152405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:40:13] local.INFO: IMEI packet received {"connection_id":152405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":152405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:40:14] local.INFO: TCP Data received {"connection_id":152405,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f123b8012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f123b8012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:40:14] local.INFO: Processing buffer {"connection_id":152405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f123b8012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:40:14] local.INFO: Packet analysis {"connection_id":152405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:40:14] local.INFO: Extracted packet for processing {"connection_id":152405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:40:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18:40:14] 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-08-11 18:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786453763000,"timestamp_ms":1786453763000,"timestamp_seconds":1786453763,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f123b8"} 
[2026-08-11 18:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:40: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 18:40:14] 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-08-11 18:40: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-08-11 18:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:40:14] 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-08-11 18:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":12645,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:40:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:40:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":12645,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":152405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:40:14] local.INFO: GPS data processed {"connection_id":152405,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:40:14] local.INFO: Acknowledgment sent {"connection_id":152405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:40:15] local.INFO: TCP Data received {"connection_id":155103,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:40:15] local.INFO: Processing buffer {"connection_id":155103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:40:15] local.INFO: IMEI packet received {"connection_id":155103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":155103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:40:15] local.INFO: TCP Data received {"connection_id":155103,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0edad00012d1969c0071feb900039010b23..."} 
[2026-08-11 18:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0edad00012d1969c0071feb900039010b23..."} 
[2026-08-11 18:40:15] local.INFO: Processing buffer {"connection_id":155103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0edad00012d1969c0071feb900039010b23..."} 
[2026-08-11 18:40:15] local.INFO: Packet analysis {"connection_id":155103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ed"} 
[2026-08-11 18:40:15] local.INFO: Extracted packet for processing {"connection_id":155103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ed"} 
[2026-08-11 18:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":35,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332099584001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786453536000,"timestamp_ms":1786453536000,"timestamp_seconds":1786453536,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0edad00"} 
[2026-08-11 18:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:40:15] 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-08-11 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-11 18:40:15] 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-08-11 18: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-08-11 18:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332099584001,"66":13004,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332099584001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:40:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332099584001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":155103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:40:16] local.INFO: GPS data processed {"connection_id":155103,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:40:16] local.INFO: Acknowledgment sent {"connection_id":155103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:40:19] local.INFO: TCP Data received {"connection_id":153739,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:40:19] local.INFO: Processing buffer {"connection_id":153739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:40:19] local.INFO: IMEI packet received {"connection_id":153739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":153739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:40:24] local.INFO: TCP Data received {"connection_id":153739,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:40:24] local.INFO: Processing buffer {"connection_id":153739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:40:24] local.INFO: IMEI packet received {"connection_id":153739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":153739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:40:25] local.INFO: TCP Data received {"connection_id":153739,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f0ed08012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f0ed08012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:40:25] local.INFO: Processing buffer {"connection_id":153739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f0ed08012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:40:25] local.INFO: Packet analysis {"connection_id":153739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f0"} 
[2026-08-11 18:40:25] local.INFO: Extracted packet for processing {"connection_id":153739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f0"} 
[2026-08-11 18:40:25] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95409584,"longitude_deg":76.3337856,"latitude_deg":9.5409584,"altitude":9,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd5b0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332158464001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301097013248,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786453749000,"timestamp_ms":1786453749000,"timestamp_seconds":1786453749,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f0ed08"} 
[2026-08-11 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-08-11 18:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-11 18:40:25] 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-08-11 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-08-11 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-08-11 18:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:40:25] 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-08-11 18:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332158464001,"66":27691,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301097013248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332158464001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:40:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301097013248,"description":"Unknown IO ID 45"} 
[2026-08-11 18:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332158464001,"power":27691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301097013248}} 
[2026-08-11 18:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":153739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:40:25] local.INFO: GPS data processed {"connection_id":153739,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:40:25] local.INFO: Acknowledgment sent {"connection_id":153739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:40:45] local.INFO: TCP Data received {"connection_id":152405,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:40:45] local.INFO: Processing buffer {"connection_id":152405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:40:45] local.INFO: Packet analysis {"connection_id":152405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:40:45] local.INFO: Extracted packet for processing {"connection_id":152405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:40:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786453769000,"timestamp_ms":1786453769000,"timestamp_seconds":1786453769,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f13b28"} 
[2026-08-11 18:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 18:40:45] 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-08-11 18: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-08-11 18:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:40:45] 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-08-11 18:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":3286,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:40:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:40:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":3286,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":152405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:40:45] local.INFO: GPS data processed {"connection_id":152405,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:40:45] local.INFO: Acknowledgment sent {"connection_id":152405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:40:47] local.INFO: TCP Data received {"connection_id":155103,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f13b28012d1969c0071feb900039010b23..."} 
[2026-08-11 18:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f13b28012d1969c0071feb900039010b23..."} 
[2026-08-11 18:40:47] local.INFO: Processing buffer {"connection_id":155103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f13b28012d1969c0071feb900039010b23..."} 
[2026-08-11 18:40:47] local.INFO: Packet analysis {"connection_id":155103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:40:47] local.INFO: Extracted packet for processing {"connection_id":155103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:40:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":35,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332159488001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786453769000,"timestamp_ms":1786453769000,"timestamp_seconds":1786453769,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f13b28"} 
[2026-08-11 18:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:40: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-08-11 18: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-11 18:40: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-08-11 18: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-08-11 18:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332159488001,"66":12874,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332159488001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:40:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:40:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332159488001,"power":12874,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":155103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:40:47] local.INFO: GPS data processed {"connection_id":155103,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:40:47] local.INFO: Acknowledgment sent {"connection_id":155103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:40:56] local.INFO: TCP Data received {"connection_id":153739,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:40:56] local.INFO: Processing buffer {"connection_id":153739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:40:56] local.INFO: Packet analysis {"connection_id":153739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:40:56] local.INFO: Extracted packet for processing {"connection_id":153739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95409584,"longitude_deg":76.3337856,"latitude_deg":9.5409584,"altitude":9,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd5b0","is_valid_coordinates":true} 
[2026-08-11 18:40: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-08-11 18:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332159744001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786453763000,"timestamp_ms":1786453763000,"timestamp_seconds":1786453763,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f123b8"} 
[2026-08-11 18:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-11 18:40:56] 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-08-11 18: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-08-11 18:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:40:56] 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-08-11 18:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332159744001,"66":27658,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332159744001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:40:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332159744001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":153739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:40:56] local.INFO: GPS data processed {"connection_id":153739,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:40:56] local.INFO: Acknowledgment sent {"connection_id":153739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:41:10] local.INFO: TCP Data received {"connection_id":152406,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:41:10] local.INFO: Processing buffer {"connection_id":152406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:41:10] local.INFO: IMEI packet received {"connection_id":152406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":152406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:41:13] local.INFO: TCP Data received {"connection_id":152803,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:41:13] local.INFO: Processing buffer {"connection_id":152803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:41:13] local.INFO: IMEI packet received {"connection_id":152803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":152803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:41:15] local.INFO: TCP Data received {"connection_id":152406,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:41:15] local.INFO: Processing buffer {"connection_id":152406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:41:15] local.INFO: IMEI packet received {"connection_id":152406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":152406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:41:15] local.INFO: TCP Data received {"connection_id":152406,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f18d30012d1969c0071feb900039010b24..."} 
[2026-08-11 18:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f18d30012d1969c0071feb900039010b24..."} 
[2026-08-11 18:41:15] local.INFO: Processing buffer {"connection_id":152406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f18d30012d1969c0071feb900039010b24..."} 
[2026-08-11 18:41:15] local.INFO: Packet analysis {"connection_id":152406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:41:15] local.INFO: Extracted packet for processing {"connection_id":152406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":36,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332164864001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786453790000,"timestamp_ms":1786453790000,"timestamp_seconds":1786453790,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f18d30"} 
[2026-08-11 18:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:41:15] 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-08-11 18: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-11 18:41:15] 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-08-11 18: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-08-11 18:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332164864001,"66":12798,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332164864001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:41:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332164864001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":152406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:41:16] local.INFO: GPS data processed {"connection_id":152406,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:41:16] local.INFO: Acknowledgment sent {"connection_id":152406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:41:18] local.INFO: TCP Data received {"connection_id":152803,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:41:18] local.INFO: Processing buffer {"connection_id":152803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:41:18] local.INFO: IMEI packet received {"connection_id":152803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":152803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:41:19] local.INFO: TCP Data received {"connection_id":152803,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:41:19] local.INFO: Processing buffer {"connection_id":152803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:41:19] local.INFO: Packet analysis {"connection_id":152803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:41:19] local.INFO: Extracted packet for processing {"connection_id":152803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:41:19] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18:41: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-08-11 18:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786453769000,"timestamp_ms":1786453769000,"timestamp_seconds":1786453769,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f13b28"} 
[2026-08-11 18:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:41: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 18:41:19] 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-08-11 18:41: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-08-11 18:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":3286,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:41:19] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:41:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":3286,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":152803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:41:19] local.INFO: GPS data processed {"connection_id":152803,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:41:19] local.INFO: Acknowledgment sent {"connection_id":152803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:41:19] local.INFO: TCP Data received {"connection_id":152804,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:41:19] local.INFO: Processing buffer {"connection_id":152804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:41:19] local.INFO: IMEI packet received {"connection_id":152804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":152804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:41:24] local.INFO: TCP Data received {"connection_id":152803,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:41:24] local.INFO: Processing buffer {"connection_id":152803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:41:24] local.INFO: Packet analysis {"connection_id":152803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:41:24] local.INFO: Extracted packet for processing {"connection_id":152803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786453769000,"timestamp_ms":1786453769000,"timestamp_seconds":1786453769,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f13b28"} 
[2026-08-11 18:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 18:41:24] 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-08-11 18: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-08-11 18:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":3286,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:41:24] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:41:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":3286,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":152803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:41:24] local.INFO: GPS data processed {"connection_id":152803,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:41:24] local.INFO: Acknowledgment sent {"connection_id":152803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:41:24] local.INFO: TCP Data received {"connection_id":152804,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:41:24] local.INFO: Processing buffer {"connection_id":152804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:41:24] local.INFO: IMEI packet received {"connection_id":152804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":152804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:41:25] local.INFO: TCP Data received {"connection_id":152804,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:41:25] local.INFO: Processing buffer {"connection_id":152804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:41:25] local.INFO: Packet analysis {"connection_id":152804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:41:25] local.INFO: Extracted packet for processing {"connection_id":152804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:41:25] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95409584,"longitude_deg":76.3337856,"latitude_deg":9.5409584,"altitude":9,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd5b0","is_valid_coordinates":true} 
[2026-08-11 18:41:25] 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-08-11 18:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332159744001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786453763000,"timestamp_ms":1786453763000,"timestamp_seconds":1786453763,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f123b8"} 
[2026-08-11 18:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-11 18:41:25] 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-08-11 18: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-08-11 18:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:41:25] 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-08-11 18:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332159744001,"66":27658,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332159744001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:41:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:41:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332159744001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":152804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:41:25] local.INFO: GPS data processed {"connection_id":152804,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:41:25] local.INFO: Acknowledgment sent {"connection_id":152804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:41:47] local.INFO: TCP Data received {"connection_id":152406,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f1e320012d1969c0071feb900039010b23..."} 
[2026-08-11 18:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f1e320012d1969c0071feb900039010b23..."} 
[2026-08-11 18:41:47] local.INFO: Processing buffer {"connection_id":152406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f1e320012d1969c0071feb900039010b23..."} 
[2026-08-11 18:41:47] local.INFO: Packet analysis {"connection_id":152406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:41:47] local.INFO: Extracted packet for processing {"connection_id":152406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":35,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:41: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-08-11 18:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332170240001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786453812000,"timestamp_ms":1786453812000,"timestamp_seconds":1786453812,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f1e320"} 
[2026-08-11 18:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:41: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-08-11 18:41: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 18:41:47] 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-08-11 18:41: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-08-11 18:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332170240001,"66":12776,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332170240001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:41:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:41:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332170240001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":152406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:41:47] local.INFO: GPS data processed {"connection_id":152406,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:41:47] local.INFO: Acknowledgment sent {"connection_id":152406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:41:56] local.INFO: TCP Data received {"connection_id":152804,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:41:56] local.INFO: Processing buffer {"connection_id":152804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:41:56] local.INFO: Packet analysis {"connection_id":152804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:41:56] local.INFO: Extracted packet for processing {"connection_id":152804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95409584,"longitude_deg":76.3337856,"latitude_deg":9.5409584,"altitude":9,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd5b0","is_valid_coordinates":true} 
[2026-08-11 18:41: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-08-11 18:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332159744001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786453763000,"timestamp_ms":1786453763000,"timestamp_seconds":1786453763,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f123b8"} 
[2026-08-11 18:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-11 18:41:56] 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-08-11 18: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-08-11 18:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:41:56] 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-08-11 18:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332159744001,"66":27658,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332159744001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:41:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332159744001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":152804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:41:56] local.INFO: GPS data processed {"connection_id":152804,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:41:56] local.INFO: Acknowledgment sent {"connection_id":152804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:42:08] local.INFO: TCP Data received {"connection_id":152407,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:42:08] local.INFO: Processing buffer {"connection_id":152407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:42:08] local.INFO: IMEI packet received {"connection_id":152407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":152407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:42:09] local.INFO: TCP Data received {"connection_id":152408,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:42:09] local.INFO: Processing buffer {"connection_id":152408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:42:09] local.INFO: IMEI packet received {"connection_id":152408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":152408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:42:13] local.INFO: TCP Data received {"connection_id":152407,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:42:13] local.INFO: Processing buffer {"connection_id":152407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:42:13] local.INFO: IMEI packet received {"connection_id":152407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":152407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:42:14] local.INFO: TCP Data received {"connection_id":152407,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:42:14] local.INFO: Processing buffer {"connection_id":152407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:42:14] local.INFO: Packet analysis {"connection_id":152407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:42:14] local.INFO: Extracted packet for processing {"connection_id":152407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:42:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786453769000,"timestamp_ms":1786453769000,"timestamp_seconds":1786453769,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f13b28"} 
[2026-08-11 18:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 18:42:14] 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-08-11 18: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-08-11 18:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":3286,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:42:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":3286,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":152407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:42:14] local.INFO: GPS data processed {"connection_id":152407,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:42:14] local.INFO: Acknowledgment sent {"connection_id":152407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:42:15] local.INFO: TCP Data received {"connection_id":152408,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:42:15] local.INFO: Processing buffer {"connection_id":152408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:42:15] local.INFO: IMEI packet received {"connection_id":152408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":152408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:42:16] local.INFO: TCP Data received {"connection_id":152408,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f23140012d1969c0071feb900039010b24..."} 
[2026-08-11 18:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f23140012d1969c0071feb900039010b24..."} 
[2026-08-11 18:42:16] local.INFO: Processing buffer {"connection_id":152408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f23140012d1969c0071feb900039010b24..."} 
[2026-08-11 18:42:16] local.INFO: Packet analysis {"connection_id":152408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f2"} 
[2026-08-11 18:42:16] local.INFO: Extracted packet for processing {"connection_id":152408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f2"} 
[2026-08-11 18:42:16] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":36,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332175872001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786453832000,"timestamp_ms":1786453832000,"timestamp_seconds":1786453832,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f23140"} 
[2026-08-11 18:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:42: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-08-11 18: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-11 18:42:16] 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-08-11 18: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-08-11 18:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332175872001,"66":12743,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332175872001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:42:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:42:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332175872001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":152408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:42:16] local.INFO: GPS data processed {"connection_id":152408,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:42:16] local.INFO: Acknowledgment sent {"connection_id":152408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:42:18] local.INFO: TCP Data received {"connection_id":155104,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:42:18] local.INFO: Processing buffer {"connection_id":155104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:42:18] local.INFO: IMEI packet received {"connection_id":155104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":155104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:42:24] local.INFO: TCP Data received {"connection_id":155104,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:42:24] local.INFO: Processing buffer {"connection_id":155104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:42:24] local.INFO: IMEI packet received {"connection_id":155104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":155104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:42:25] local.INFO: TCP Data received {"connection_id":155104,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:42:25] local.INFO: Processing buffer {"connection_id":155104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:42:25] local.INFO: Packet analysis {"connection_id":155104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:42:25] local.INFO: Extracted packet for processing {"connection_id":155104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95409584,"longitude_deg":76.3337856,"latitude_deg":9.5409584,"altitude":9,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd5b0","is_valid_coordinates":true} 
[2026-08-11 18:42:25] 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-08-11 18:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332159744001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786453763000,"timestamp_ms":1786453763000,"timestamp_seconds":1786453763,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f123b8"} 
[2026-08-11 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-08-11 18:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-11 18:42:25] 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-08-11 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-08-11 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-08-11 18:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:42:25] 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-08-11 18:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332159744001,"66":27658,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332159744001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:42:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332159744001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":155104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:42:25] local.INFO: GPS data processed {"connection_id":155104,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:42:25] local.INFO: Acknowledgment sent {"connection_id":155104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:42:45] local.INFO: TCP Data received {"connection_id":152407,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:42:45] local.INFO: Processing buffer {"connection_id":152407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:42:45] local.INFO: Packet analysis {"connection_id":152407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:42:45] local.INFO: Extracted packet for processing {"connection_id":152407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:42:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18:42: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-08-11 18:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786453769000,"timestamp_ms":1786453769000,"timestamp_seconds":1786453769,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f13b28"} 
[2026-08-11 18:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:42: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 18:42:45] 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-08-11 18:42: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-08-11 18:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":3286,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:42:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":3286,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":152407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:42:45] local.INFO: GPS data processed {"connection_id":152407,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:42:45] local.INFO: Acknowledgment sent {"connection_id":152407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:42:47] local.INFO: TCP Data received {"connection_id":152408,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f28348012d1969c0071feb900039010b22..."} 
[2026-08-11 18:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f28348012d1969c0071feb900039010b22..."} 
[2026-08-11 18:42:47] local.INFO: Processing buffer {"connection_id":152408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f28348012d1969c0071feb900039010b22..."} 
[2026-08-11 18:42:47] local.INFO: Packet analysis {"connection_id":152408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f2"} 
[2026-08-11 18:42:47] local.INFO: Extracted packet for processing {"connection_id":152408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f2"} 
[2026-08-11 18:42:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":34,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332180992001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786453853000,"timestamp_ms":1786453853000,"timestamp_seconds":1786453853,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f28348"} 
[2026-08-11 18:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:42: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-08-11 18: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-11 18:42:47] 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-08-11 18: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-08-11 18:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332180992001,"66":12809,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332180992001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:42:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:42:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332180992001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":152408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:42:47] local.INFO: GPS data processed {"connection_id":152408,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:42:47] local.INFO: Acknowledgment sent {"connection_id":152408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:42:56] local.INFO: TCP Data received {"connection_id":155104,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:42:56] local.INFO: Processing buffer {"connection_id":155104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:42:56] local.INFO: Packet analysis {"connection_id":155104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:42:56] local.INFO: Extracted packet for processing {"connection_id":155104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95409584,"longitude_deg":76.3337856,"latitude_deg":9.5409584,"altitude":9,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd5b0","is_valid_coordinates":true} 
[2026-08-11 18:42: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-08-11 18:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332159744001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786453763000,"timestamp_ms":1786453763000,"timestamp_seconds":1786453763,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f123b8"} 
[2026-08-11 18:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-11 18:42:56] 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-08-11 18: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-08-11 18:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:42:56] 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-08-11 18:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332159744001,"66":27658,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332159744001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:42:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332159744001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":155104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:42:56] local.INFO: GPS data processed {"connection_id":155104,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:42:56] local.INFO: Acknowledgment sent {"connection_id":155104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:43:08] local.INFO: TCP Data received {"connection_id":155105,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:43:08] local.INFO: Processing buffer {"connection_id":155105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:43:08] local.INFO: IMEI packet received {"connection_id":155105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":155105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:43:09] local.INFO: TCP Data received {"connection_id":155106,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:43:09] local.INFO: Processing buffer {"connection_id":155106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:43:09] local.INFO: IMEI packet received {"connection_id":155106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":155106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:43:11] local.INFO: TCP Data received {"connection_id":155106,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:43:11] local.INFO: Processing buffer {"connection_id":155106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:43:11] local.INFO: IMEI packet received {"connection_id":155106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":155106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:43:13] local.INFO: TCP Data received {"connection_id":155105,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:43:13] local.INFO: Processing buffer {"connection_id":155105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:43:13] local.INFO: IMEI packet received {"connection_id":155105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":155105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:43:14] local.INFO: TCP Data received {"connection_id":155105,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:43:14] local.INFO: Processing buffer {"connection_id":155105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:43:14] local.INFO: Packet analysis {"connection_id":155105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:43:14] local.INFO: Extracted packet for processing {"connection_id":155105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:43:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18:43: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-08-11 18:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786453769000,"timestamp_ms":1786453769000,"timestamp_seconds":1786453769,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f13b28"} 
[2026-08-11 18:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:43: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 18:43:14] 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-08-11 18:43: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-08-11 18:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:43:14] 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-08-11 18:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":3286,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:43:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:43:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":3286,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":155105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:43:14] local.INFO: GPS data processed {"connection_id":155105,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:43:14] local.INFO: Acknowledgment sent {"connection_id":155105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:43:15] local.INFO: TCP Data received {"connection_id":155106,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:43:15] local.INFO: Processing buffer {"connection_id":155106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:43:15] local.INFO: IMEI packet received {"connection_id":155106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":155106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:43:15] local.INFO: TCP Data received {"connection_id":155106,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f2d550012d1969c0071feb900039010b24..."} 
[2026-08-11 18:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f2d550012d1969c0071feb900039010b24..."} 
[2026-08-11 18:43:15] local.INFO: Processing buffer {"connection_id":155106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f2d550012d1969c0071feb900039010b24..."} 
[2026-08-11 18:43:15] local.INFO: Packet analysis {"connection_id":155106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f2"} 
[2026-08-11 18:43:15] local.INFO: Extracted packet for processing {"connection_id":155106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f2"} 
[2026-08-11 18:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":36,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332186368001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786453874000,"timestamp_ms":1786453874000,"timestamp_seconds":1786453874,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f2d550"} 
[2026-08-11 18:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:43:15] 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-08-11 18: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-11 18:43:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4042299160,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-1133482133976159808,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3952083001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-11 18:43:15] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221692395,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:15] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854341380558419,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:15] local.WARNING: Large IO value detected {"io_id":41,"raw_value":4218355712,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:15] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300090365333539618,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:15] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:15] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,251,159,49,45,192,235,57,36,10,66,227,35,141,1,240,254,31,4,113,205,233,105,144,239,50,2,41,7,164,111],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-11 18:43:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107576575795396608,"timestamp_seconds":4107576575795396.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 18:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332186368001,"66":12776,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332186368001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:43:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332186368001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":155106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:43:16] local.INFO: GPS data processed {"connection_id":155106,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:43:16] local.INFO: Acknowledgment sent {"connection_id":155106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:43:25] local.INFO: TCP Data received {"connection_id":152409,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:43:25] local.INFO: Processing buffer {"connection_id":152409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:43:25] local.INFO: IMEI packet received {"connection_id":152409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":152409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:43:29] local.INFO: TCP Data received {"connection_id":152409,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:43:29] local.INFO: Processing buffer {"connection_id":152409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:43:29] local.INFO: IMEI packet received {"connection_id":152409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":152409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:43:30] local.INFO: TCP Data received {"connection_id":152409,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:43:30] local.INFO: Processing buffer {"connection_id":152409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:43:30] local.INFO: Packet analysis {"connection_id":152409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:43:30] local.INFO: Extracted packet for processing {"connection_id":152409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95409584,"longitude_deg":76.3337856,"latitude_deg":9.5409584,"altitude":9,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd5b0","is_valid_coordinates":true} 
[2026-08-11 18:43:30] 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-08-11 18:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332159744001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786453763000,"timestamp_ms":1786453763000,"timestamp_seconds":1786453763,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f123b8"} 
[2026-08-11 18:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-11 18:43:30] 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-08-11 18: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-08-11 18:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:43:30] 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-08-11 18:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332159744001,"66":27658,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332159744001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:43:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:43:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332159744001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":152409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:43:30] local.INFO: GPS data processed {"connection_id":152409,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:43:30] local.INFO: Acknowledgment sent {"connection_id":152409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:43:34] local.INFO: TCP Data received {"connection_id":152409,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:43:34] local.INFO: Processing buffer {"connection_id":152409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:43:34] local.INFO: Packet analysis {"connection_id":152409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:43:34] local.INFO: Extracted packet for processing {"connection_id":152409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:43:34] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95409584,"longitude_deg":76.3337856,"latitude_deg":9.5409584,"altitude":9,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd5b0","is_valid_coordinates":true} 
[2026-08-11 18:43:34] 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-08-11 18:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332159744001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786453763000,"timestamp_ms":1786453763000,"timestamp_seconds":1786453763,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f123b8"} 
[2026-08-11 18:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-11 18:43:34] 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-08-11 18: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-08-11 18:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:43:34] 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-08-11 18:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332159744001,"66":27658,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332159744001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:43:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:43:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332159744001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":152409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:43:34] local.INFO: GPS data processed {"connection_id":152409,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:43:34] local.INFO: Acknowledgment sent {"connection_id":152409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:43:45] local.INFO: TCP Data received {"connection_id":155105,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:43:45] local.INFO: Processing buffer {"connection_id":155105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:43:45] local.INFO: Packet analysis {"connection_id":155105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:43:45] local.INFO: Extracted packet for processing {"connection_id":155105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18:43: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-08-11 18:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786453769000,"timestamp_ms":1786453769000,"timestamp_seconds":1786453769,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f13b28"} 
[2026-08-11 18:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:43: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 18:43:45] 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-08-11 18:43: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-08-11 18:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:43:45] 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-08-11 18:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":3286,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:43:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:43:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":3286,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":155105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:43:45] local.INFO: GPS data processed {"connection_id":155105,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:43:45] local.INFO: Acknowledgment sent {"connection_id":155105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:43:47] local.INFO: TCP Data received {"connection_id":155106,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f32370012d1969c0071feb900039010b24..."} 
[2026-08-11 18:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f32370012d1969c0071feb900039010b24..."} 
[2026-08-11 18:43:47] local.INFO: Processing buffer {"connection_id":155106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f32370012d1969c0071feb900039010b24..."} 
[2026-08-11 18:43:47] local.INFO: Packet analysis {"connection_id":155106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f3"} 
[2026-08-11 18:43:47] local.INFO: Extracted packet for processing {"connection_id":155106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f3"} 
[2026-08-11 18:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":36,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:43: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-08-11 18:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332191744001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786453894000,"timestamp_ms":1786453894000,"timestamp_seconds":1786453894,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f32370"} 
[2026-08-11 18:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:43: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-08-11 18:43: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-11 18:43:47] 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-08-11 18:43: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-08-11 18:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332191744001,"66":12776,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332191744001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:43:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332191744001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":155106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:43:47] local.INFO: GPS data processed {"connection_id":155106,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:43:47] local.INFO: Acknowledgment sent {"connection_id":155106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:44:08] local.INFO: TCP Data received {"connection_id":155107,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:44:08] local.INFO: Processing buffer {"connection_id":155107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:44:08] local.INFO: IMEI packet received {"connection_id":155107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":155107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:44:13] local.INFO: TCP Data received {"connection_id":155107,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:44:13] local.INFO: Processing buffer {"connection_id":155107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:44:13] local.INFO: IMEI packet received {"connection_id":155107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":155107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:44:14] local.INFO: TCP Data received {"connection_id":155107,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:44:14] local.INFO: Processing buffer {"connection_id":155107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f13b28012d7e37c005d34d580000004f28..."} 
[2026-08-11 18:44:14] local.INFO: Packet analysis {"connection_id":155107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:44:14] local.INFO: Extracted packet for processing {"connection_id":155107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:44:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786453769000,"timestamp_ms":1786453769000,"timestamp_seconds":1786453769,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f13b28"} 
[2026-08-11 18:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 18:44:14] 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-08-11 18: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-08-11 18:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":3286,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:44:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:44:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":3286,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:44:14] local.INFO: TCP Data received {"connection_id":152805,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:44:14] local.INFO: Processing buffer {"connection_id":152805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:44:14] local.INFO: IMEI packet received {"connection_id":152805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":152805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":155107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:44:14] local.INFO: GPS data processed {"connection_id":155107,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:44:14] local.INFO: Acknowledgment sent {"connection_id":155107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:44:14] local.INFO: TCP Data received {"connection_id":152805,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:44:14] local.INFO: Processing buffer {"connection_id":152805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:44:14] local.INFO: IMEI packet received {"connection_id":152805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":152805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:44:19] local.INFO: TCP Data received {"connection_id":152806,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:44:19] local.INFO: Processing buffer {"connection_id":152806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:44:19] local.INFO: IMEI packet received {"connection_id":152806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":152806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:44:20] local.INFO: TCP Data received {"connection_id":152805,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:44:20] local.INFO: Processing buffer {"connection_id":152805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:44:20] local.INFO: IMEI packet received {"connection_id":152805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":152805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:44:21] local.INFO: TCP Data received {"connection_id":152805,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f37578012d1969c0071feb900039010b23..."} 
[2026-08-11 18:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f37578012d1969c0071feb900039010b23..."} 
[2026-08-11 18:44:21] local.INFO: Processing buffer {"connection_id":152805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f37578012d1969c0071feb900039010b23..."} 
[2026-08-11 18:44:21] local.INFO: Packet analysis {"connection_id":152805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f3"} 
[2026-08-11 18:44:21] local.INFO: Extracted packet for processing {"connection_id":152805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f3"} 
[2026-08-11 18:44:21] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":35,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:44: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-08-11 18:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332196864001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786453915000,"timestamp_ms":1786453915000,"timestamp_seconds":1786453915,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f37578"} 
[2026-08-11 18:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:44:21] 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-08-11 18:44: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":232,"data_length":795,"current_offset":136} 
[2026-08-11 18:44:21] 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-08-11 18:44: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-08-11 18:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332196864001,"66":12743,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332196864001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:44:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:44:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332196864001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":152805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:44:21] local.INFO: GPS data processed {"connection_id":152805,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:44:21] local.INFO: Acknowledgment sent {"connection_id":152805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:44:24] local.INFO: TCP Data received {"connection_id":152806,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:44:24] local.INFO: Processing buffer {"connection_id":152806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:44:24] local.INFO: IMEI packet received {"connection_id":152806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":152806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:44:25] local.INFO: TCP Data received {"connection_id":152806,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:44:25] local.INFO: Processing buffer {"connection_id":152806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:44:25] local.INFO: Packet analysis {"connection_id":152806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:44:25] local.INFO: Extracted packet for processing {"connection_id":152806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:44:25] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95409584,"longitude_deg":76.3337856,"latitude_deg":9.5409584,"altitude":9,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd5b0","is_valid_coordinates":true} 
[2026-08-11 18:44:25] 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-08-11 18:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332159744001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786453763000,"timestamp_ms":1786453763000,"timestamp_seconds":1786453763,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f123b8"} 
[2026-08-11 18:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-11 18:44:25] 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-08-11 18: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-08-11 18:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:44:25] 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-08-11 18:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332159744001,"66":27658,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332159744001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:44:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332159744001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":152806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:44:25] local.INFO: GPS data processed {"connection_id":152806,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:44:25] local.INFO: Acknowledgment sent {"connection_id":152806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:44:45] local.INFO: TCP Data received {"connection_id":155107,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:44:45] local.INFO: Processing buffer {"connection_id":155107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:44:45] local.INFO: Packet analysis {"connection_id":155107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:44:45] local.INFO: Extracted packet for processing {"connection_id":155107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:44:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332164864001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786454070000,"timestamp_ms":1786454070000,"timestamp_seconds":1786454070,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5d2f0"} 
[2026-08-11 18:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:44:45] 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-08-11 18: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":12,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 18:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2184,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18: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-08-11 18:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332164864001,"66":2231,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332164864001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:44:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:44:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332164864001,"power":2231,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":155107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:44:45] local.INFO: GPS data processed {"connection_id":155107,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:44:45] local.INFO: Acknowledgment sent {"connection_id":155107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:44:52] local.INFO: TCP Data received {"connection_id":152805,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f3c398012d1969c0071feb900039010b24..."} 
[2026-08-11 18:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f3c398012d1969c0071feb900039010b24..."} 
[2026-08-11 18:44:52] local.INFO: Processing buffer {"connection_id":152805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f3c398012d1969c0071feb900039010b24..."} 
[2026-08-11 18:44:52] local.INFO: Packet analysis {"connection_id":152805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f3"} 
[2026-08-11 18:44:52] local.INFO: Extracted packet for processing {"connection_id":152805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f3"} 
[2026-08-11 18:44:52] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":36,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332202240001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18: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-08-11 18:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786453935000,"timestamp_ms":1786453935000,"timestamp_seconds":1786453935,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f3c398"} 
[2026-08-11 18:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:44:52] 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-08-11 18: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-11 18:44:52] 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-08-11 18: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-08-11 18:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332202240001,"66":12689,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332202240001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:44:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332202240001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":152805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:44:52] local.INFO: GPS data processed {"connection_id":152805,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:44:52] local.INFO: Acknowledgment sent {"connection_id":152805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:44:56] local.INFO: TCP Data received {"connection_id":152806,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:44:56] local.INFO: Processing buffer {"connection_id":152806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f123b8012d7f9c8005afd5b0000900ab29..."} 
[2026-08-11 18:44:56] local.INFO: Packet analysis {"connection_id":152806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:44:56] local.INFO: Extracted packet for processing {"connection_id":152806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f1"} 
[2026-08-11 18:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95409584,"longitude_deg":76.3337856,"latitude_deg":9.5409584,"altitude":9,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd5b0","is_valid_coordinates":true} 
[2026-08-11 18:44: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-08-11 18:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332159744001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786453763000,"timestamp_ms":1786453763000,"timestamp_seconds":1786453763,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f123b8"} 
[2026-08-11 18:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-11 18:44:56] 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-08-11 18: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-08-11 18:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:44:56] 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-08-11 18:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332159744001,"66":27658,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332159744001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:44:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332159744001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":152806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:44:56] local.INFO: GPS data processed {"connection_id":152806,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:44:56] local.INFO: Acknowledgment sent {"connection_id":152806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:45:08] local.INFO: TCP Data received {"connection_id":153740,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:45:08] local.INFO: Processing buffer {"connection_id":153740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:45:08] local.INFO: IMEI packet received {"connection_id":153740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":153740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:45:10] local.INFO: TCP Data received {"connection_id":152807,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:45:10] local.INFO: Processing buffer {"connection_id":152807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:45:10] local.INFO: IMEI packet received {"connection_id":152807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":152807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:45:13] local.INFO: TCP Data received {"connection_id":153740,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:45:13] local.INFO: Processing buffer {"connection_id":153740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:45:13] local.INFO: IMEI packet received {"connection_id":153740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":153740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:45:14] local.INFO: TCP Data received {"connection_id":153740,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:45:14] local.INFO: Processing buffer {"connection_id":153740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:45:14] local.INFO: Packet analysis {"connection_id":153740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:45:14] local.INFO: Extracted packet for processing {"connection_id":153740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:45:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18:45: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-08-11 18:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332164864001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786454070000,"timestamp_ms":1786454070000,"timestamp_seconds":1786454070,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5d2f0"} 
[2026-08-11 18:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:45:14] 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-08-11 18:45: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":12,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 18:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2184,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18:45: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-08-11 18:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332164864001,"66":2231,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332164864001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:45:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:45:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332164864001,"power":2231,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":153740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:45:14] local.INFO: GPS data processed {"connection_id":153740,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:45:14] local.INFO: Acknowledgment sent {"connection_id":153740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:45:15] local.INFO: TCP Data received {"connection_id":152807,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:45:15] local.INFO: Processing buffer {"connection_id":152807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:45:15] local.INFO: IMEI packet received {"connection_id":152807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":152807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:45:16] local.INFO: TCP Data received {"connection_id":152807,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f415a0012d1969c0071feb900039010b25..."} 
[2026-08-11 18:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f415a0012d1969c0071feb900039010b25..."} 
[2026-08-11 18:45:16] local.INFO: Processing buffer {"connection_id":152807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f415a0012d1969c0071feb900039010b25..."} 
[2026-08-11 18:45:16] local.INFO: Packet analysis {"connection_id":152807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f4"} 
[2026-08-11 18:45:16] local.INFO: Extracted packet for processing {"connection_id":152807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f4"} 
[2026-08-11 18:45:16] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332207360001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786453956000,"timestamp_ms":1786453956000,"timestamp_seconds":1786453956,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f415a0"} 
[2026-08-11 18:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:45: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-08-11 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 18:45:16] 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-08-11 18: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-08-11 18:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332207360001,"66":12461,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332207360001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:45:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:45:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332207360001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":152807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:45:16] local.INFO: GPS data processed {"connection_id":152807,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:45:16] local.INFO: Acknowledgment sent {"connection_id":152807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:45:18] local.INFO: TCP Data received {"connection_id":155108,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:45:18] local.INFO: Processing buffer {"connection_id":155108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:45:18] local.INFO: IMEI packet received {"connection_id":155108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":155108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:45:24] local.INFO: TCP Data received {"connection_id":155108,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:45:24] local.INFO: Processing buffer {"connection_id":155108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:45:24] local.INFO: IMEI packet received {"connection_id":155108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":155108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:45:28] local.INFO: TCP Data received {"connection_id":155108,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:45:28] local.INFO: Processing buffer {"connection_id":155108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:45:28] local.INFO: Packet analysis {"connection_id":155108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:45:28] local.INFO: Extracted packet for processing {"connection_id":155108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:45:28] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408640,"longitude_deg":76.3337792,"latitude_deg":9.540864,"altitude":6,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd200","is_valid_coordinates":true} 
[2026-08-11 18:45: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-08-11 18:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786454076000,"timestamp_ms":1786454076000,"timestamp_seconds":1786454076,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5ea60"} 
[2026-08-11 18:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:45: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":10,"data_length":795,"current_offset":136} 
[2026-08-11 18:45:28] 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-08-11 18:45: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-08-11 18:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":155108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":155108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":155108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:45:28] 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-08-11 18:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":26060,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:45:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:45:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":26060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":155108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:45:28] local.INFO: GPS data processed {"connection_id":155108,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:45:28] local.INFO: Acknowledgment sent {"connection_id":155108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:45:45] local.INFO: TCP Data received {"connection_id":153740,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:45:45] local.INFO: Processing buffer {"connection_id":153740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:45:45] local.INFO: Packet analysis {"connection_id":153740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:45:45] local.INFO: Extracted packet for processing {"connection_id":153740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:45:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18:45: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-08-11 18:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332164864001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786454070000,"timestamp_ms":1786454070000,"timestamp_seconds":1786454070,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5d2f0"} 
[2026-08-11 18:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:45:45] 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-08-11 18:45: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":12,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 18:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2184,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18:45: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-08-11 18:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332164864001,"66":2231,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332164864001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:45:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:45:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332164864001,"power":2231,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":153740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:45:45] local.INFO: GPS data processed {"connection_id":153740,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:45:45] local.INFO: Acknowledgment sent {"connection_id":153740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:45:47] local.INFO: TCP Data received {"connection_id":152807,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f463c0012d1969c0071feb900039010b26..."} 
[2026-08-11 18:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f463c0012d1969c0071feb900039010b26..."} 
[2026-08-11 18:45:47] local.INFO: Processing buffer {"connection_id":152807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f463c0012d1969c0071feb900039010b26..."} 
[2026-08-11 18:45:47] local.INFO: Packet analysis {"connection_id":152807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f4"} 
[2026-08-11 18:45:47] local.INFO: Extracted packet for processing {"connection_id":152807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f4"} 
[2026-08-11 18:45:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:45: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-08-11 18:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332212736001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786453976000,"timestamp_ms":1786453976000,"timestamp_seconds":1786453976,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f463c0"} 
[2026-08-11 18:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:45: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-08-11 18:45: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 18:45:47] 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-08-11 18:45: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-08-11 18:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332212736001,"66":12722,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332212736001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:45:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:45:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332212736001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":152807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:45:47] local.INFO: GPS data processed {"connection_id":152807,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:45:47] local.INFO: Acknowledgment sent {"connection_id":152807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:45:59] local.INFO: TCP Data received {"connection_id":155108,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:45:59] local.INFO: Processing buffer {"connection_id":155108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:45:59] local.INFO: Packet analysis {"connection_id":155108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:45:59] local.INFO: Extracted packet for processing {"connection_id":155108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408640,"longitude_deg":76.3337792,"latitude_deg":9.540864,"altitude":6,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd200","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786454076000,"timestamp_ms":1786454076000,"timestamp_seconds":1786454076,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5ea60"} 
[2026-08-11 18:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 18:45:59] 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-08-11 18: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-08-11 18:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":155108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":155108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":155108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:45:59] 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-08-11 18:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":26060,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:45:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:45:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":26060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":155108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:45:59] local.INFO: GPS data processed {"connection_id":155108,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:45:59] local.INFO: Acknowledgment sent {"connection_id":155108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:46:10] local.INFO: TCP Data received {"connection_id":153741,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:46:10] local.INFO: Processing buffer {"connection_id":153741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:46:10] local.INFO: IMEI packet received {"connection_id":153741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":153741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:46:13] local.INFO: TCP Data received {"connection_id":152808,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:46:13] local.INFO: Processing buffer {"connection_id":152808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:46:13] local.INFO: IMEI packet received {"connection_id":152808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":152808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:46:15] local.INFO: TCP Data received {"connection_id":153741,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:46:15] local.INFO: Processing buffer {"connection_id":153741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:46:15] local.INFO: IMEI packet received {"connection_id":153741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":153741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:46:16] local.INFO: TCP Data received {"connection_id":153741,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f4b5c8012d1969c0071feb900039010b23..."} 
[2026-08-11 18:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f4b5c8012d1969c0071feb900039010b23..."} 
[2026-08-11 18:46:16] local.INFO: Processing buffer {"connection_id":153741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f4b5c8012d1969c0071feb900039010b23..."} 
[2026-08-11 18:46:16] local.INFO: Packet analysis {"connection_id":153741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f4"} 
[2026-08-11 18:46:16] local.INFO: Extracted packet for processing {"connection_id":153741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f4"} 
[2026-08-11 18:46:16] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":35,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332217856001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786453997000,"timestamp_ms":1786453997000,"timestamp_seconds":1786453997,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f4b5c8"} 
[2026-08-11 18:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:46: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-08-11 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 18:46:16] 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-08-11 18: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-08-11 18:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332217856001,"66":12711,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332217856001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:46:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:46:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332217856001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":153741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:46:16] local.INFO: GPS data processed {"connection_id":153741,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:46:16] local.INFO: Acknowledgment sent {"connection_id":153741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:46:18] local.INFO: TCP Data received {"connection_id":152808,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:46:18] local.INFO: Processing buffer {"connection_id":152808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:46:18] local.INFO: IMEI packet received {"connection_id":152808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":152808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:46:18] local.INFO: TCP Data received {"connection_id":155109,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:46:18] local.INFO: Processing buffer {"connection_id":155109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:46:18] local.INFO: IMEI packet received {"connection_id":155109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":155109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:46:19] local.INFO: TCP Data received {"connection_id":152808,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:46:19] local.INFO: Processing buffer {"connection_id":152808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:46:19] local.INFO: Packet analysis {"connection_id":152808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:46:19] local.INFO: Extracted packet for processing {"connection_id":152808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:46:19] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332164864001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786454070000,"timestamp_ms":1786454070000,"timestamp_seconds":1786454070,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5d2f0"} 
[2026-08-11 18:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:46:19] 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-08-11 18: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":12,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 18:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2184,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18: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-08-11 18:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:46:19] 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-08-11 18:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332164864001,"66":2231,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332164864001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:46:19] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:46:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332164864001,"power":2231,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":152808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:46:19] local.INFO: GPS data processed {"connection_id":152808,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:46:19] local.INFO: Acknowledgment sent {"connection_id":152808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:46:23] local.INFO: TCP Data received {"connection_id":152808,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:46:23] local.INFO: Processing buffer {"connection_id":152808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:46:23] local.INFO: Packet analysis {"connection_id":152808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:46:23] local.INFO: Extracted packet for processing {"connection_id":152808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:46:23] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332164864001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786454070000,"timestamp_ms":1786454070000,"timestamp_seconds":1786454070,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5d2f0"} 
[2026-08-11 18:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:46:23] 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-08-11 18: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":12,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 18:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2184,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18: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-08-11 18:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:46:23] 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-08-11 18:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332164864001,"66":2231,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332164864001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:46:23] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:46:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332164864001,"power":2231,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":152808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:46:24] local.INFO: GPS data processed {"connection_id":152808,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:46:24] local.INFO: Acknowledgment sent {"connection_id":152808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:46:24] local.INFO: TCP Data received {"connection_id":155109,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:46:24] local.INFO: Processing buffer {"connection_id":155109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:46:24] local.INFO: IMEI packet received {"connection_id":155109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":155109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:46:25] local.INFO: TCP Data received {"connection_id":155109,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:46:25] local.INFO: Processing buffer {"connection_id":155109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:46:25] local.INFO: Packet analysis {"connection_id":155109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:46:25] local.INFO: Extracted packet for processing {"connection_id":155109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:46:25] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408640,"longitude_deg":76.3337792,"latitude_deg":9.540864,"altitude":6,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd200","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786454076000,"timestamp_ms":1786454076000,"timestamp_seconds":1786454076,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5ea60"} 
[2026-08-11 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-08-11 18:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 18:46:25] 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-08-11 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-08-11 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-08-11 18:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:46:25] 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-08-11 18:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":26060,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:46:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":26060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":155109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:46:25] local.INFO: GPS data processed {"connection_id":155109,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:46:25] local.INFO: Acknowledgment sent {"connection_id":155109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:46:47] local.INFO: TCP Data received {"connection_id":153741,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f503e8012d1969c0071feb900039010b26..."} 
[2026-08-11 18:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f503e8012d1969c0071feb900039010b26..."} 
[2026-08-11 18:46:47] local.INFO: Processing buffer {"connection_id":153741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f503e8012d1969c0071feb900039010b26..."} 
[2026-08-11 18:46:47] local.INFO: Packet analysis {"connection_id":153741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:46:47] local.INFO: Extracted packet for processing {"connection_id":153741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:46: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-08-11 18:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332223232001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786454017000,"timestamp_ms":1786454017000,"timestamp_seconds":1786454017,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f503e8"} 
[2026-08-11 18:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:46: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-08-11 18:46: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-11 18:46:47] 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-08-11 18:46: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-08-11 18:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332223232001,"66":12689,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332223232001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:46:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:46:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332223232001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":153741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:46:47] local.INFO: GPS data processed {"connection_id":153741,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:46:47] local.INFO: Acknowledgment sent {"connection_id":153741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:46:56] local.INFO: TCP Data received {"connection_id":155109,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:46:56] local.INFO: Processing buffer {"connection_id":155109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:46:56] local.INFO: Packet analysis {"connection_id":155109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:46:56] local.INFO: Extracted packet for processing {"connection_id":155109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408640,"longitude_deg":76.3337792,"latitude_deg":9.540864,"altitude":6,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd200","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786454076000,"timestamp_ms":1786454076000,"timestamp_seconds":1786454076,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5ea60"} 
[2026-08-11 18:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 18:46:56] 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-08-11 18: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-08-11 18:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:46:56] 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-08-11 18:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":26060,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:46:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":26060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":155109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:46:56] local.INFO: GPS data processed {"connection_id":155109,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:46:56] local.INFO: Acknowledgment sent {"connection_id":155109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:47:08] local.INFO: TCP Data received {"connection_id":152410,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:47:08] local.INFO: Processing buffer {"connection_id":152410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:47:08] local.INFO: IMEI packet received {"connection_id":152410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":152410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:47:10] local.INFO: TCP Data received {"connection_id":152411,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:47:10] local.INFO: Processing buffer {"connection_id":152411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:47:10] local.INFO: IMEI packet received {"connection_id":152411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":152411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:47:13] local.INFO: TCP Data received {"connection_id":152410,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:47:13] local.INFO: Processing buffer {"connection_id":152410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:47:13] local.INFO: IMEI packet received {"connection_id":152410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":152410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:47:14] local.INFO: TCP Data received {"connection_id":152410,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:47:14] local.INFO: Processing buffer {"connection_id":152410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:47:14] local.INFO: Packet analysis {"connection_id":152410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:47:14] local.INFO: Extracted packet for processing {"connection_id":152410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:47:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332164864001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786454070000,"timestamp_ms":1786454070000,"timestamp_seconds":1786454070,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5d2f0"} 
[2026-08-11 18:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:47:14] 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-08-11 18: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":12,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 18:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2184,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18: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-08-11 18:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:47:14] 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-08-11 18:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332164864001,"66":2231,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332164864001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:47:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:47:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332164864001,"power":2231,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":152410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:47:14] local.INFO: GPS data processed {"connection_id":152410,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:47:14] local.INFO: Acknowledgment sent {"connection_id":152410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:47:15] local.INFO: TCP Data received {"connection_id":152411,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:47:15] local.INFO: Processing buffer {"connection_id":152411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:47:15] local.INFO: IMEI packet received {"connection_id":152411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":152411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:47:15] local.INFO: TCP Data received {"connection_id":152411,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f555f0012d1969c0071feb900039010b25..."} 
[2026-08-11 18:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f555f0012d1969c0071feb900039010b25..."} 
[2026-08-11 18:47:15] local.INFO: Processing buffer {"connection_id":152411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f555f0012d1969c0071feb900039010b25..."} 
[2026-08-11 18:47:15] local.INFO: Packet analysis {"connection_id":152411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:47:15] local.INFO: Extracted packet for processing {"connection_id":152411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332228352001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786454038000,"timestamp_ms":1786454038000,"timestamp_seconds":1786454038,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f555f0"} 
[2026-08-11 18:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:47:15] 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-08-11 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 18:47:15] 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-08-11 18: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-08-11 18:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332228352001,"66":12689,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332228352001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:47:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332228352001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":152411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:47:16] local.INFO: GPS data processed {"connection_id":152411,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:47:16] local.INFO: Acknowledgment sent {"connection_id":152411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:47:24] local.INFO: TCP Data received {"connection_id":152412,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:47:24] local.INFO: Processing buffer {"connection_id":152412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:47:24] local.INFO: IMEI packet received {"connection_id":152412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":152412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:47:29] local.INFO: TCP Data received {"connection_id":152412,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:47:29] local.INFO: Processing buffer {"connection_id":152412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:47:29] local.INFO: IMEI packet received {"connection_id":152412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":152412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:47:30] local.INFO: TCP Data received {"connection_id":152412,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:47:30] local.INFO: Processing buffer {"connection_id":152412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:47:30] local.INFO: Packet analysis {"connection_id":152412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:47:30] local.INFO: Extracted packet for processing {"connection_id":152412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:47:30] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408640,"longitude_deg":76.3337792,"latitude_deg":9.540864,"altitude":6,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd200","is_valid_coordinates":true} 
[2026-08-11 18:47: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-08-11 18:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786454076000,"timestamp_ms":1786454076000,"timestamp_seconds":1786454076,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5ea60"} 
[2026-08-11 18:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:47: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 18:47:30] 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-08-11 18:47: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-08-11 18:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:47:30] 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-08-11 18:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":26060,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:47:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:47:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":26060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":152412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:47:30] local.INFO: GPS data processed {"connection_id":152412,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:47:30] local.INFO: Acknowledgment sent {"connection_id":152412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:47:34] local.INFO: TCP Data received {"connection_id":152412,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:47:34] local.INFO: Processing buffer {"connection_id":152412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:47:34] local.INFO: Packet analysis {"connection_id":152412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:47:34] local.INFO: Extracted packet for processing {"connection_id":152412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408640,"longitude_deg":76.3337792,"latitude_deg":9.540864,"altitude":6,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd200","is_valid_coordinates":true} 
[2026-08-11 18:47: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-08-11 18:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786454076000,"timestamp_ms":1786454076000,"timestamp_seconds":1786454076,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5ea60"} 
[2026-08-11 18:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18:47: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":10,"data_length":795,"current_offset":136} 
[2026-08-11 18:47:34] 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-08-11 18:47: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-08-11 18:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:47:34] 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-08-11 18:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":26060,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:47:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:47:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":26060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":152412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:47:34] local.INFO: GPS data processed {"connection_id":152412,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:47:34] local.INFO: Acknowledgment sent {"connection_id":152412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:47:45] local.INFO: TCP Data received {"connection_id":152410,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:47:45] local.INFO: Processing buffer {"connection_id":152410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:47:45] local.INFO: Packet analysis {"connection_id":152410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:47:45] local.INFO: Extracted packet for processing {"connection_id":152410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:47:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18:47: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-08-11 18:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332164864001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786454070000,"timestamp_ms":1786454070000,"timestamp_seconds":1786454070,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5d2f0"} 
[2026-08-11 18:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:47:45] 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-08-11 18:47: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":12,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 18:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2184,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18:47: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-08-11 18:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:47:45] 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-08-11 18:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332164864001,"66":2231,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332164864001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:47:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:47:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332164864001,"power":2231,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":152410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:47:45] local.INFO: GPS data processed {"connection_id":152410,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:47:45] local.INFO: Acknowledgment sent {"connection_id":152410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:47:47] local.INFO: TCP Data received {"connection_id":152411,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5a410012d1969c0071feb900039010b24..."} 
[2026-08-11 18:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5a410012d1969c0071feb900039010b24..."} 
[2026-08-11 18:47:47] local.INFO: Processing buffer {"connection_id":152411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5a410012d1969c0071feb900039010b24..."} 
[2026-08-11 18:47:47] local.INFO: Packet analysis {"connection_id":152411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:47:47] local.INFO: Extracted packet for processing {"connection_id":152411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":36,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:47: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-08-11 18:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332233728001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786454058000,"timestamp_ms":1786454058000,"timestamp_seconds":1786454058,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5a410"} 
[2026-08-11 18:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:47: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-08-11 18:47: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 18:47:47] 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-08-11 18:47: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-08-11 18:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332233728001,"66":12667,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332233728001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:47:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:47:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332233728001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":152411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:47:47] local.INFO: GPS data processed {"connection_id":152411,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:47:47] local.INFO: Acknowledgment sent {"connection_id":152411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:48:08] local.INFO: TCP Data received {"connection_id":152809,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:48:08] local.INFO: Processing buffer {"connection_id":152809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:48:08] local.INFO: IMEI packet received {"connection_id":152809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":152809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:48:09] local.INFO: TCP Data received {"connection_id":155110,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:48:09] local.INFO: Processing buffer {"connection_id":155110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:48:09] local.INFO: IMEI packet received {"connection_id":155110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":155110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:48:13] local.INFO: TCP Data received {"connection_id":152809,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:48:13] local.INFO: Processing buffer {"connection_id":152809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:48:13] local.INFO: IMEI packet received {"connection_id":152809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":152809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:48:15] local.INFO: TCP Data received {"connection_id":155110,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:48:15] local.INFO: Processing buffer {"connection_id":155110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:48:15] local.INFO: IMEI packet received {"connection_id":155110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":155110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:48:16] local.INFO: TCP Data received {"connection_id":155110,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5f618012d1969c0071feb900039010b25..."} 
[2026-08-11 18:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5f618012d1969c0071feb900039010b25..."} 
[2026-08-11 18:48:16] local.INFO: Processing buffer {"connection_id":155110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5f618012d1969c0071feb900039010b25..."} 
[2026-08-11 18:48:16] local.INFO: Packet analysis {"connection_id":155110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:48:16] local.INFO: Extracted packet for processing {"connection_id":155110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:48:16] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332238848001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786454079000,"timestamp_ms":1786454079000,"timestamp_seconds":1786454079,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5f618"} 
[2026-08-11 18:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:48: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-08-11 18: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-11 18:48:16] 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-08-11 18: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-08-11 18:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332238848001,"66":12645,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332238848001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:48:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:48:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332238848001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":155110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:48:16] local.INFO: GPS data processed {"connection_id":155110,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:48:16] local.INFO: Acknowledgment sent {"connection_id":155110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:48:16] local.INFO: TCP Data received {"connection_id":152809,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:48:16] local.INFO: Processing buffer {"connection_id":152809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:48:16] local.INFO: Packet analysis {"connection_id":152809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:48:16] local.INFO: Extracted packet for processing {"connection_id":152809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:48:16] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332164864001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786454070000,"timestamp_ms":1786454070000,"timestamp_seconds":1786454070,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5d2f0"} 
[2026-08-11 18:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:48: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-08-11 18: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":12,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 18:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2184,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18: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-08-11 18:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332164864001,"66":2231,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332164864001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:48:16] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:48:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332164864001,"power":2231,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":152809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:48:16] local.INFO: GPS data processed {"connection_id":152809,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:48:16] local.INFO: Acknowledgment sent {"connection_id":152809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:48:19] local.INFO: TCP Data received {"connection_id":153742,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:48:19] local.INFO: Processing buffer {"connection_id":153742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:48:19] local.INFO: IMEI packet received {"connection_id":153742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":153742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:48:24] local.INFO: TCP Data received {"connection_id":153742,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:48:24] local.INFO: Processing buffer {"connection_id":153742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:48:24] local.INFO: IMEI packet received {"connection_id":153742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":153742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:48:25] local.INFO: TCP Data received {"connection_id":153742,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:48:25] local.INFO: Processing buffer {"connection_id":153742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:48:25] local.INFO: Packet analysis {"connection_id":153742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:48:25] local.INFO: Extracted packet for processing {"connection_id":153742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:48:25] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408640,"longitude_deg":76.3337792,"latitude_deg":9.540864,"altitude":6,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd200","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786454076000,"timestamp_ms":1786454076000,"timestamp_seconds":1786454076,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5ea60"} 
[2026-08-11 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-08-11 18:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 18:48:25] 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-08-11 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-08-11 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-08-11 18:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:48:25] 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-08-11 18:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":26060,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:48:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":26060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":153742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:48:25] local.INFO: GPS data processed {"connection_id":153742,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:48:25] local.INFO: Acknowledgment sent {"connection_id":153742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:48:47] local.INFO: TCP Data received {"connection_id":155110,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f64820012d1969c0071feb900039010b26..."} 
[2026-08-11 18:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f64820012d1969c0071feb900039010b26..."} 
[2026-08-11 18:48:47] local.INFO: Processing buffer {"connection_id":155110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f64820012d1969c0071feb900039010b26..."} 
[2026-08-11 18:48:47] local.INFO: Packet analysis {"connection_id":155110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f6"} 
[2026-08-11 18:48:47] local.INFO: Extracted packet for processing {"connection_id":155110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f6"} 
[2026-08-11 18:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:48: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-08-11 18:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332244224001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786454100000,"timestamp_ms":1786454100000,"timestamp_seconds":1786454100,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f64820"} 
[2026-08-11 18:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:48: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-08-11 18:48: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 18:48:47] 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-08-11 18:48: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-08-11 18:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332244224001,"66":12667,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332244224001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:48:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:48:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332244224001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":155110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:48:47] local.INFO: GPS data processed {"connection_id":155110,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:48:47] local.INFO: Acknowledgment sent {"connection_id":155110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:48:49] local.INFO: TCP Data received {"connection_id":152809,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:48:49] local.INFO: Processing buffer {"connection_id":152809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5d2f0012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:48:49] local.INFO: Packet analysis {"connection_id":152809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:48:49] local.INFO: Extracted packet for processing {"connection_id":152809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:48:49] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332164864001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786454070000,"timestamp_ms":1786454070000,"timestamp_seconds":1786454070,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5d2f0"} 
[2026-08-11 18:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:48:49] 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-08-11 18: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":12,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-11 18:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2184,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18: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-08-11 18:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332164864001,"66":2231,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332164864001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:48:49] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:48:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332164864001,"power":2231,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":152809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:48:50] local.INFO: GPS data processed {"connection_id":152809,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:48:50] local.INFO: Acknowledgment sent {"connection_id":152809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:48:56] local.INFO: TCP Data received {"connection_id":153742,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:48:56] local.INFO: Processing buffer {"connection_id":153742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:48:56] local.INFO: Packet analysis {"connection_id":153742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:48:56] local.INFO: Extracted packet for processing {"connection_id":153742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408640,"longitude_deg":76.3337792,"latitude_deg":9.540864,"altitude":6,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd200","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786454076000,"timestamp_ms":1786454076000,"timestamp_seconds":1786454076,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5ea60"} 
[2026-08-11 18:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 18:48:56] 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-08-11 18: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-08-11 18:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:48:56] 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-08-11 18:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":26060,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:48:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":26060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":153742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:48:56] local.INFO: GPS data processed {"connection_id":153742,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:48:56] local.INFO: Acknowledgment sent {"connection_id":153742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:49:09] local.INFO: TCP Data received {"connection_id":153743,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:49:09] local.INFO: Processing buffer {"connection_id":153743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:49:09] local.INFO: IMEI packet received {"connection_id":153743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":153743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:49:15] local.INFO: TCP Data received {"connection_id":153743,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:49:15] local.INFO: Processing buffer {"connection_id":153743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:49:15] local.INFO: IMEI packet received {"connection_id":153743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":153743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:49:16] local.INFO: TCP Data received {"connection_id":153743,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f69a28012d1969c0071feb900039010b24..."} 
[2026-08-11 18:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f69a28012d1969c0071feb900039010b24..."} 
[2026-08-11 18:49:16] local.INFO: Processing buffer {"connection_id":153743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f69a28012d1969c0071feb900039010b24..."} 
[2026-08-11 18:49:16] local.INFO: Packet analysis {"connection_id":153743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f6"} 
[2026-08-11 18:49:16] local.INFO: Extracted packet for processing {"connection_id":153743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f6"} 
[2026-08-11 18:49:16] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":36,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332249600001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786454121000,"timestamp_ms":1786454121000,"timestamp_seconds":1786454121,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f69a28"} 
[2026-08-11 18:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:49: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-08-11 18: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-11 18:49:16] 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-08-11 18: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-08-11 18:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332249600001,"66":12645,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332249600001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:49:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:49:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332249600001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":153743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:49:16] local.INFO: GPS data processed {"connection_id":153743,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:49:16] local.INFO: Acknowledgment sent {"connection_id":153743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:49:18] local.INFO: TCP Data received {"connection_id":152413,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:49:18] local.INFO: Processing buffer {"connection_id":152413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:49:18] local.INFO: IMEI packet received {"connection_id":152413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":152413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:49:24] local.INFO: TCP Data received {"connection_id":152413,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:49:24] local.INFO: Processing buffer {"connection_id":152413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:49:24] local.INFO: IMEI packet received {"connection_id":152413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":152413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:49:25] local.INFO: TCP Data received {"connection_id":152413,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:49:25] local.INFO: Processing buffer {"connection_id":152413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:49:25] local.INFO: Packet analysis {"connection_id":152413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:49:25] local.INFO: Extracted packet for processing {"connection_id":152413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:49:25] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408640,"longitude_deg":76.3337792,"latitude_deg":9.540864,"altitude":6,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd200","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786454076000,"timestamp_ms":1786454076000,"timestamp_seconds":1786454076,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5ea60"} 
[2026-08-11 18:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 18:49:25] 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-08-11 18: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-08-11 18:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:49:25] 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-08-11 18:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":26060,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:49:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":26060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":152413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:49:25] local.INFO: GPS data processed {"connection_id":152413,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:49:25] local.INFO: Acknowledgment sent {"connection_id":152413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:49:47] local.INFO: TCP Data received {"connection_id":153743,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f6ec30012d1969c0071feb900039010b26..."} 
[2026-08-11 18:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f6ec30012d1969c0071feb900039010b26..."} 
[2026-08-11 18:49:47] local.INFO: Processing buffer {"connection_id":153743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f6ec30012d1969c0071feb900039010b26..."} 
[2026-08-11 18:49:47] local.INFO: Packet analysis {"connection_id":153743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f6"} 
[2026-08-11 18:49:47] local.INFO: Extracted packet for processing {"connection_id":153743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f6"} 
[2026-08-11 18:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:49: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-08-11 18:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332254976001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786454142000,"timestamp_ms":1786454142000,"timestamp_seconds":1786454142,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f6ec30"} 
[2026-08-11 18:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:49: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-08-11 18:49: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 18:49:47] 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-08-11 18:49: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-08-11 18:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332254976001,"66":12613,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332254976001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:49:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:49:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332254976001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":153743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:49:47] local.INFO: GPS data processed {"connection_id":153743,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:49:47] local.INFO: Acknowledgment sent {"connection_id":153743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:49:58] local.INFO: TCP Data received {"connection_id":152413,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:49:58] local.INFO: Processing buffer {"connection_id":152413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f5ea60012d7f9c4005afd200000600ab28..."} 
[2026-08-11 18:49:58] local.INFO: Packet analysis {"connection_id":152413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:49:58] local.INFO: Extracted packet for processing {"connection_id":152413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f5"} 
[2026-08-11 18:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408640,"longitude_deg":76.3337792,"latitude_deg":9.540864,"altitude":6,"angle":171,"satellites":40,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd200","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332163328001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096919040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786454076000,"timestamp_ms":1786454076000,"timestamp_seconds":1786454076,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f5ea60"} 
[2026-08-11 18:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 18:49:58] 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-08-11 18: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-08-11 18:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:49:58] 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-08-11 18:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332163328001,"66":26060,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195365301096919040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332163328001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:49:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:49:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096919040,"description":"Unknown IO ID 45"} 
[2026-08-11 18:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332163328001,"power":26060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096919040}} 
[2026-08-11 18:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":152413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:49:58] local.INFO: GPS data processed {"connection_id":152413,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:49:58] local.INFO: Acknowledgment sent {"connection_id":152413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:50:09] local.INFO: TCP Data received {"connection_id":153744,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:50:09] local.INFO: Processing buffer {"connection_id":153744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:50:09] local.INFO: IMEI packet received {"connection_id":153744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":153744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:50:11] local.INFO: TCP Data received {"connection_id":153744,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:50:11] local.INFO: Processing buffer {"connection_id":153744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:50:11] local.INFO: IMEI packet received {"connection_id":153744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":153744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:50:15] local.INFO: TCP Data received {"connection_id":153744,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:50:15] local.INFO: Processing buffer {"connection_id":153744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:50:15] local.INFO: IMEI packet received {"connection_id":153744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":153744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:50:24] local.INFO: TCP Data received {"connection_id":152810,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:50:24] local.INFO: Processing buffer {"connection_id":152810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:50:24] local.INFO: IMEI packet received {"connection_id":152810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":152810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:50:29] local.INFO: TCP Data received {"connection_id":152810,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:50:29] local.INFO: Processing buffer {"connection_id":152810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:50:29] local.INFO: IMEI packet received {"connection_id":152810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":152810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:50:30] local.INFO: TCP Data received {"connection_id":152810,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fa91c8012d7f9c4005afd200000600ab2b..."} 
[2026-08-11 18:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fa91c8012d7f9c4005afd200000600ab2b..."} 
[2026-08-11 18:50:30] local.INFO: Processing buffer {"connection_id":152810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fa91c8012d7f9c4005afd200000600ab2b..."} 
[2026-08-11 18:50:30] local.INFO: Packet analysis {"connection_id":152810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fa"} 
[2026-08-11 18:50:30] local.INFO: Extracted packet for processing {"connection_id":152810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fa"} 
[2026-08-11 18:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408640,"longitude_deg":76.3337792,"latitude_deg":9.540864,"altitude":6,"angle":171,"satellites":43,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd200","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332243456001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352499712,"note":"Value kept but may cause issues"} 
[2026-08-11 18:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786454381000,"timestamp_ms":1786454381000,"timestamp_seconds":1786454381,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fa91c8"} 
[2026-08-11 18:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-11 18:50:30] 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-08-11 18: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-08-11 18:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:50:30] 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-08-11 18:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332243456001,"66":25995,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195294932352499712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332243456001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:50:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352499712,"description":"Unknown IO ID 45"} 
[2026-08-11 18:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332243456001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352499712}} 
[2026-08-11 18:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":152810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:50:30] local.INFO: GPS data processed {"connection_id":152810,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:50:30] local.INFO: Acknowledgment sent {"connection_id":152810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:50:33] local.INFO: TCP Data received {"connection_id":153744,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0f73e38012d1969c0071feb900039010b27..."} 
[2026-08-11 18:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0f73e38012d1969c0071feb900039010b27..."} 
[2026-08-11 18:50:33] local.INFO: Processing buffer {"connection_id":153744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0f73e38012d1969c0071feb900039010b27..."} 
[2026-08-11 18:50:33] local.INFO: Packet analysis {"connection_id":153744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0f7"} 
[2026-08-11 18:50:33] local.INFO: Extracted packet for processing {"connection_id":153744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0f7"} 
[2026-08-11 18:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:50: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-08-11 18:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332260352001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786454163000,"timestamp_ms":1786454163000,"timestamp_seconds":1786454163,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0f73e38"} 
[2026-08-11 18:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:50: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-08-11 18:50: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-11 18:50:33] 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-08-11 18:50: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-08-11 18:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":153744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":153744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":153744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332260352001,"66":12602,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332260352001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:50:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332260352001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":153744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:50:33] local.INFO: GPS data processed {"connection_id":153744,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:50:33] local.INFO: Acknowledgment sent {"connection_id":153744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:50:35] local.INFO: TCP Data received {"connection_id":152810,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fa91c8012d7f9c4005afd200000600ab2b..."} 
[2026-08-11 18:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fa91c8012d7f9c4005afd200000600ab2b..."} 
[2026-08-11 18:50:35] local.INFO: Processing buffer {"connection_id":152810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fa91c8012d7f9c4005afd200000600ab2b..."} 
[2026-08-11 18:50:35] local.INFO: Packet analysis {"connection_id":152810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fa"} 
[2026-08-11 18:50:35] local.INFO: Extracted packet for processing {"connection_id":152810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fa"} 
[2026-08-11 18:50:35] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408640,"longitude_deg":76.3337792,"latitude_deg":9.540864,"altitude":6,"angle":171,"satellites":43,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd200","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332243456001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352499712,"note":"Value kept but may cause issues"} 
[2026-08-11 18:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786454381000,"timestamp_ms":1786454381000,"timestamp_seconds":1786454381,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fa91c8"} 
[2026-08-11 18:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-11 18:50:35] 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-08-11 18: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-08-11 18:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:50:35] 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-08-11 18:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332243456001,"66":25995,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195294932352499712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332243456001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:50:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:50:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352499712,"description":"Unknown IO ID 45"} 
[2026-08-11 18:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332243456001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352499712}} 
[2026-08-11 18:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":152810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:50:35] local.INFO: GPS data processed {"connection_id":152810,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:50:35] local.INFO: Acknowledgment sent {"connection_id":152810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:51:14] local.INFO: TCP Data received {"connection_id":155111,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:51:14] local.INFO: Processing buffer {"connection_id":155111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:51:14] local.INFO: IMEI packet received {"connection_id":155111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":155111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:51:14] local.INFO: TCP Data received {"connection_id":155111,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:51:14] local.INFO: Processing buffer {"connection_id":155111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:51:14] local.INFO: IMEI packet received {"connection_id":155111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":155111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:51:19] local.INFO: TCP Data received {"connection_id":155112,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:51:19] local.INFO: Processing buffer {"connection_id":155112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:51:19] local.INFO: IMEI packet received {"connection_id":155112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":155112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:51:20] local.INFO: TCP Data received {"connection_id":155111,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:51:20] local.INFO: Processing buffer {"connection_id":155111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:51:20] local.INFO: IMEI packet received {"connection_id":155111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":155111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:51:21] local.INFO: TCP Data received {"connection_id":155111,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fac490012d1969c0071feb900039010b26..."} 
[2026-08-11 18:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fac490012d1969c0071feb900039010b26..."} 
[2026-08-11 18:51:21] local.INFO: Processing buffer {"connection_id":155111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fac490012d1969c0071feb900039010b26..."} 
[2026-08-11 18:51:21] local.INFO: Packet analysis {"connection_id":155111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fa"} 
[2026-08-11 18:51:21] local.INFO: Extracted packet for processing {"connection_id":155111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fa"} 
[2026-08-11 18:51:21] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:51: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-08-11 18:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332319488001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786454394000,"timestamp_ms":1786454394000,"timestamp_seconds":1786454394,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fac490"} 
[2026-08-11 18:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:51:21] 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-08-11 18:51: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 18:51:21] 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-08-11 18:51: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-08-11 18:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":155111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":155111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":155111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332319488001,"66":12526,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332319488001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:51:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332319488001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":155111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:51:21] local.INFO: GPS data processed {"connection_id":155111,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:51:21] local.INFO: Acknowledgment sent {"connection_id":155111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:51:23] local.INFO: TCP Data received {"connection_id":155112,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:51:23] local.INFO: Processing buffer {"connection_id":155112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:51:23] local.INFO: IMEI packet received {"connection_id":155112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":155112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:51:24] local.INFO: TCP Data received {"connection_id":155112,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fb7c28012d7f9c4005afd200000600ab2c..."} 
[2026-08-11 18:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fb7c28012d7f9c4005afd200000600ab2c..."} 
[2026-08-11 18:51:24] local.INFO: Processing buffer {"connection_id":155112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fb7c28012d7f9c4005afd200000600ab2c..."} 
[2026-08-11 18:51:24] local.INFO: Packet analysis {"connection_id":155112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fb"} 
[2026-08-11 18:51:24] local.INFO: Extracted packet for processing {"connection_id":155112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fb"} 
[2026-08-11 18:51:24] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408640,"longitude_deg":76.3337792,"latitude_deg":9.540864,"altitude":6,"angle":171,"satellites":44,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd200","is_valid_coordinates":true} 
[2026-08-11 18:51:24] 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-08-11 18:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332321536001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352499712,"note":"Value kept but may cause issues"} 
[2026-08-11 18:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786454441000,"timestamp_ms":1786454441000,"timestamp_seconds":1786454441,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fb7c28"} 
[2026-08-11 18:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 18: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 18:51:24] 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-08-11 18: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-08-11 18:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:51:24] 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-08-11 18:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332321536001,"66":25843,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195294932352499712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332321536001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:51:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:51:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352499712,"description":"Unknown IO ID 45"} 
[2026-08-11 18:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332321536001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352499712}} 
[2026-08-11 18:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":155112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:51:24] local.INFO: GPS data processed {"connection_id":155112,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:51:24] local.INFO: Acknowledgment sent {"connection_id":155112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:51:25] local.INFO: TCP Data received {"connection_id":155111,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fb1698012d1969c0071feb900039010b28..."} 
[2026-08-11 18:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fb1698012d1969c0071feb900039010b28..."} 
[2026-08-11 18:51:25] local.INFO: Processing buffer {"connection_id":155111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fb1698012d1969c0071feb900039010b28..."} 
[2026-08-11 18:51:25] local.INFO: Packet analysis {"connection_id":155111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fb"} 
[2026-08-11 18:51:25] local.INFO: Extracted packet for processing {"connection_id":155111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fb"} 
[2026-08-11 18:51:25] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332324864001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786454415000,"timestamp_ms":1786454415000,"timestamp_seconds":1786454415,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fb1698"} 
[2026-08-11 18:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:51: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-08-11 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 18:51: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-08-11 18: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-08-11 18:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332324864001,"66":12526,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332324864001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:51:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:51:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332324864001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":155111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:51:25] local.INFO: GPS data processed {"connection_id":155111,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:51:25] local.INFO: Acknowledgment sent {"connection_id":155111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:51:55] local.INFO: TCP Data received {"connection_id":155112,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fbddd0012d7f9d0005afd0b0000600ab2b..."} 
[2026-08-11 18:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fbddd0012d7f9d0005afd0b0000600ab2b..."} 
[2026-08-11 18:51:55] local.INFO: Processing buffer {"connection_id":155112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fbddd0012d7f9d0005afd0b0000600ab2b..."} 
[2026-08-11 18:51:55] local.INFO: Packet analysis {"connection_id":155112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fb"} 
[2026-08-11 18:51:55] local.INFO: Extracted packet for processing {"connection_id":155112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fb"} 
[2026-08-11 18:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408304,"longitude_deg":76.3337984,"latitude_deg":9.5408304,"altitude":6,"angle":171,"satellites":43,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd0b0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332336896001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377971939685171200,"note":"Value kept but may cause issues"} 
[2026-08-11 18:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352499712,"note":"Value kept but may cause issues"} 
[2026-08-11 18:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786454466000,"timestamp_ms":1786454466000,"timestamp_seconds":1786454466,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fbddd0"} 
[2026-08-11 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-08-11 18:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-11 18:51:55] 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-08-11 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-08-11 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-08-11 18:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:51:55] 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-08-11 18:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332336896001,"66":27800,"250":206,"85":12544,"24":0,"16":377971939685171200,"45":9195294932352499712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332336896001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:51:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:51:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377971939685171200,"km_value":377971939685171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352499712,"description":"Unknown IO ID 45"} 
[2026-08-11 18:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332336896001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352499712}} 
[2026-08-11 18:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":155112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:51:55] local.INFO: GPS data processed {"connection_id":155112,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:51:55] local.INFO: Acknowledgment sent {"connection_id":155112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:52:10] local.INFO: TCP Data received {"connection_id":153745,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:52:10] local.INFO: Processing buffer {"connection_id":153745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:52:10] local.INFO: IMEI packet received {"connection_id":153745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":153745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:52:15] local.INFO: TCP Data received {"connection_id":153745,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:52:15] local.INFO: Processing buffer {"connection_id":153745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:52:15] local.INFO: IMEI packet received {"connection_id":153745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":153745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:52:15] local.INFO: TCP Data received {"connection_id":153745,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fb68a0012d1969c0071feb900039010b28..."} 
[2026-08-11 18:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fb68a0012d1969c0071feb900039010b28..."} 
[2026-08-11 18:52:15] local.INFO: Processing buffer {"connection_id":153745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fb68a0012d1969c0071feb900039010b28..."} 
[2026-08-11 18:52:15] local.INFO: Packet analysis {"connection_id":153745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fb"} 
[2026-08-11 18:52:15] local.INFO: Extracted packet for processing {"connection_id":153745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fb"} 
[2026-08-11 18:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332330240001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786454436000,"timestamp_ms":1786454436000,"timestamp_seconds":1786454436,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fb68a0"} 
[2026-08-11 18:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:52:15] 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-08-11 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 18:52:15] 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-08-11 18: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-08-11 18:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332330240001,"66":12504,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332330240001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:52:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332330240001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":153745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:52:16] local.INFO: GPS data processed {"connection_id":153745,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:52:16] local.INFO: Acknowledgment sent {"connection_id":153745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:52:17] local.INFO: TCP Data received {"connection_id":153746,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:52:17] local.INFO: Processing buffer {"connection_id":153746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:52:17] local.INFO: IMEI packet received {"connection_id":153746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":153746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:52:18] local.INFO: TCP Data received {"connection_id":153746,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:52:18] local.INFO: Processing buffer {"connection_id":153746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:52:18] local.INFO: IMEI packet received {"connection_id":153746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":153746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:52:19] local.INFO: TCP Data received {"connection_id":153746,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:52:19] local.INFO: Processing buffer {"connection_id":153746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:52:19] local.INFO: IMEI packet received {"connection_id":153746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":153746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:52:20] local.INFO: TCP Data received {"connection_id":153746,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:52:20] local.INFO: Processing buffer {"connection_id":153746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:52:20] local.INFO: IMEI packet received {"connection_id":153746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":153746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:52:47] local.INFO: TCP Data received {"connection_id":153745,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fbbaa8012d1969c0071feb900039010b25..."} 
[2026-08-11 18:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fbbaa8012d1969c0071feb900039010b25..."} 
[2026-08-11 18:52:47] local.INFO: Processing buffer {"connection_id":153745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fbbaa8012d1969c0071feb900039010b25..."} 
[2026-08-11 18:52:47] local.INFO: Packet analysis {"connection_id":153745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fb"} 
[2026-08-11 18:52:47] local.INFO: Extracted packet for processing {"connection_id":153745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fb"} 
[2026-08-11 18:52:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:52: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-08-11 18:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332335616001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786454457000,"timestamp_ms":1786454457000,"timestamp_seconds":1786454457,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fbbaa8"} 
[2026-08-11 18:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:52: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-08-11 18:52: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 18:52:47] 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-08-11 18:52: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-08-11 18:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332335616001,"66":12504,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332335616001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:52:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:52:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332335616001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":153745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:52:47] local.INFO: GPS data processed {"connection_id":153745,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:52:47] local.INFO: Acknowledgment sent {"connection_id":153745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:53:10] local.INFO: TCP Data received {"connection_id":153747,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:53:10] local.INFO: Processing buffer {"connection_id":153747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:53:10] local.INFO: IMEI packet received {"connection_id":153747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":153747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:53:15] local.INFO: TCP Data received {"connection_id":153747,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:53:15] local.INFO: Processing buffer {"connection_id":153747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:53:15] local.INFO: IMEI packet received {"connection_id":153747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":153747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:53:16] local.INFO: TCP Data received {"connection_id":153747,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fc0cb0012d1969c0071feb900039010b27..."} 
[2026-08-11 18:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fc0cb0012d1969c0071feb900039010b27..."} 
[2026-08-11 18:53:16] local.INFO: Processing buffer {"connection_id":153747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fc0cb0012d1969c0071feb900039010b27..."} 
[2026-08-11 18:53:16] local.INFO: Packet analysis {"connection_id":153747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:53:16] local.INFO: Extracted packet for processing {"connection_id":153747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:53:16] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332340992001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786454478000,"timestamp_ms":1786454478000,"timestamp_seconds":1786454478,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fc0cb0"} 
[2026-08-11 18:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:53: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-08-11 18: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":216,"data_length":795,"current_offset":136} 
[2026-08-11 18:53:16] 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-08-11 18: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-08-11 18:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332340992001,"66":12504,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332340992001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:53:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:53:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332340992001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":153747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:53:16] local.INFO: GPS data processed {"connection_id":153747,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:53:16] local.INFO: Acknowledgment sent {"connection_id":153747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:53:33] local.INFO: TCP Data received {"connection_id":152812,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:53:33] local.INFO: Processing buffer {"connection_id":152812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:53:33] local.INFO: IMEI packet received {"connection_id":152812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":152812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:53:38] local.INFO: TCP Data received {"connection_id":152812,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:53:38] local.INFO: Processing buffer {"connection_id":152812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:53:38] local.INFO: IMEI packet received {"connection_id":152812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":152812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:53:39] local.INFO: TCP Data received {"connection_id":152812,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fa6ab8012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fa6ab8012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:53:39] local.INFO: Processing buffer {"connection_id":152812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fa6ab8012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:53:39] local.INFO: Packet analysis {"connection_id":152812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fa"} 
[2026-08-11 18:53:39] local.INFO: Extracted packet for processing {"connection_id":152812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fa"} 
[2026-08-11 18:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332241920001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786454371000,"timestamp_ms":1786454371000,"timestamp_seconds":1786454371,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fa6ab8"} 
[2026-08-11 18:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:53:39] 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-08-11 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 18:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18: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-08-11 18:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332241920001,"66":2242,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332241920001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:53:39] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332241920001,"power":2242,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":152812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:53:39] local.INFO: GPS data processed {"connection_id":152812,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:53:39] local.INFO: Acknowledgment sent {"connection_id":152812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:53:47] local.INFO: TCP Data received {"connection_id":153747,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fc5eb8012d1969c0071feb900039010b28..."} 
[2026-08-11 18:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fc5eb8012d1969c0071feb900039010b28..."} 
[2026-08-11 18:53:47] local.INFO: Processing buffer {"connection_id":153747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fc5eb8012d1969c0071feb900039010b28..."} 
[2026-08-11 18:53:47] local.INFO: Packet analysis {"connection_id":153747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:53:47] local.INFO: Extracted packet for processing {"connection_id":153747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:53:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332346368001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786454499000,"timestamp_ms":1786454499000,"timestamp_seconds":1786454499,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fc5eb8"} 
[2026-08-11 18:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:53: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-08-11 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 18:53:47] 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-08-11 18: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-08-11 18:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332346368001,"66":12439,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332346368001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:53:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:53:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332346368001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":153747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:53:47] local.INFO: GPS data processed {"connection_id":153747,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:53:47] local.INFO: Acknowledgment sent {"connection_id":153747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:54:08] local.INFO: TCP Data received {"connection_id":153748,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:54:08] local.INFO: Processing buffer {"connection_id":153748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:54:08] local.INFO: IMEI packet received {"connection_id":153748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 18:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":153748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:54:10] local.INFO: TCP Data received {"connection_id":153749,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:54:10] local.INFO: Processing buffer {"connection_id":153749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:54:10] local.INFO: IMEI packet received {"connection_id":153749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":153749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:54:13] local.INFO: TCP Data received {"connection_id":153748,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:54:13] local.INFO: Processing buffer {"connection_id":153748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 18:54:13] local.INFO: IMEI packet received {"connection_id":153748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 18:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":153748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:54:14] local.INFO: TCP Data received {"connection_id":153748,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fa6ab8012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fa6ab8012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:54:14] local.INFO: Processing buffer {"connection_id":153748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fa6ab8012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:54:14] local.INFO: Packet analysis {"connection_id":153748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fa"} 
[2026-08-11 18:54:14] local.INFO: Extracted packet for processing {"connection_id":153748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fa"} 
[2026-08-11 18:54:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18:54: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-08-11 18:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332241920001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786454371000,"timestamp_ms":1786454371000,"timestamp_seconds":1786454371,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fa6ab8"} 
[2026-08-11 18:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:54:14] 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-08-11 18:54: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 18:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18:54: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-08-11 18:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:54:14] 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-08-11 18:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332241920001,"66":2242,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332241920001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:54:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:54:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332241920001,"power":2242,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":153748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:54:14] local.INFO: GPS data processed {"connection_id":153748,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:54:14] local.INFO: Acknowledgment sent {"connection_id":153748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:54:15] local.INFO: TCP Data received {"connection_id":153749,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:54:15] local.INFO: Processing buffer {"connection_id":153749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:54:15] local.INFO: IMEI packet received {"connection_id":153749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":153749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:54:16] local.INFO: TCP Data received {"connection_id":153749,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fcb0c0012d1969c0071feb900039010b28..."} 
[2026-08-11 18:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fcb0c0012d1969c0071feb900039010b28..."} 
[2026-08-11 18:54:16] local.INFO: Processing buffer {"connection_id":153749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fcb0c0012d1969c0071feb900039010b28..."} 
[2026-08-11 18:54:16] local.INFO: Packet analysis {"connection_id":153749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:54:16] local.INFO: Extracted packet for processing {"connection_id":153749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:54:16] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332351744001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786454520000,"timestamp_ms":1786454520000,"timestamp_seconds":1786454520,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fcb0c0"} 
[2026-08-11 18:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:54: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-08-11 18: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-11 18:54:16] 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-08-11 18: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-08-11 18:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332351744001,"66":12504,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332351744001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:54:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:54:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332351744001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":153749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:54:16] local.INFO: GPS data processed {"connection_id":153749,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:54:16] local.INFO: Acknowledgment sent {"connection_id":153749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:54:45] local.INFO: TCP Data received {"connection_id":153748,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fa6ab8012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fa6ab8012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:54:45] local.INFO: Processing buffer {"connection_id":153748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fa6ab8012d7e37c005d34d580000004f26..."} 
[2026-08-11 18:54:45] local.INFO: Packet analysis {"connection_id":153748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fa"} 
[2026-08-11 18:54:45] local.INFO: Extracted packet for processing {"connection_id":153748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fa"} 
[2026-08-11 18:54:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733976,"longitude_deg":76.3246528,"latitude_deg":9.7733976,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-08-11 18:54: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-08-11 18:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332241920001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117803823283568640,"note":"Value kept but may cause issues"} 
[2026-08-11 18:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750436864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786454371000,"timestamp_ms":1786454371000,"timestamp_seconds":1786454371,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fa6ab8"} 
[2026-08-11 18:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:54:45] 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-08-11 18:54: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":183,"data_length":795,"current_offset":136} 
[2026-08-11 18:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18:54: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-08-11 18:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 18:54:45] 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-08-11 18:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 18:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 18:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332241920001,"66":2242,"115":206,"85":15104,"24":0,"16":117803823283568640,"45":9094949103750436864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-11 18:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 18:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 18:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332241920001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:54:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-11 18:54:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 18:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117803823283568640,"km_value":117803823283568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750436864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332241920001,"power":2242,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750436864}} 
[2026-08-11 18:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":153748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:54:45] local.INFO: GPS data processed {"connection_id":153748,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:54:45] local.INFO: Acknowledgment sent {"connection_id":153748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:54:47] local.INFO: TCP Data received {"connection_id":153749,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fd02c8012d1969c0071feb900039010b27..."} 
[2026-08-11 18:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fd02c8012d1969c0071feb900039010b27..."} 
[2026-08-11 18:54:47] local.INFO: Processing buffer {"connection_id":153749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fd02c8012d1969c0071feb900039010b27..."} 
[2026-08-11 18:54:47] local.INFO: Packet analysis {"connection_id":153749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fd"} 
[2026-08-11 18:54:47] local.INFO: Extracted packet for processing {"connection_id":153749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fd"} 
[2026-08-11 18:54:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332357120001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786454541000,"timestamp_ms":1786454541000,"timestamp_seconds":1786454541,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fd02c8"} 
[2026-08-11 18:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:54: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-08-11 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 18:54:47] 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-08-11 18: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-08-11 18:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332357120001,"66":12493,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332357120001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:54:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:54:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332357120001,"power":12493,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":153749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:54:47] local.INFO: GPS data processed {"connection_id":153749,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:54:47] local.INFO: Acknowledgment sent {"connection_id":153749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:55:09] local.INFO: TCP Data received {"connection_id":153751,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:55:09] local.INFO: Processing buffer {"connection_id":153751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:55:09] local.INFO: IMEI packet received {"connection_id":153751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":153751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:55:15] local.INFO: TCP Data received {"connection_id":153751,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:55:15] local.INFO: Processing buffer {"connection_id":153751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:55:15] local.INFO: IMEI packet received {"connection_id":153751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":153751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:55:16] local.INFO: TCP Data received {"connection_id":153751,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fd54d0012d1969c0071feb900039010b27..."} 
[2026-08-11 18:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fd54d0012d1969c0071feb900039010b27..."} 
[2026-08-11 18:55:16] local.INFO: Processing buffer {"connection_id":153751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fd54d0012d1969c0071feb900039010b27..."} 
[2026-08-11 18:55:16] local.INFO: Packet analysis {"connection_id":153751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fd"} 
[2026-08-11 18:55:16] local.INFO: Extracted packet for processing {"connection_id":153751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fd"} 
[2026-08-11 18:55:16] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332362496001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786454562000,"timestamp_ms":1786454562000,"timestamp_seconds":1786454562,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fd54d0"} 
[2026-08-11 18:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:55: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-08-11 18: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-11 18:55:16] 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-08-11 18: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-08-11 18:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332362496001,"66":12504,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332362496001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:55:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:55:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332362496001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":153751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:55:16] local.INFO: GPS data processed {"connection_id":153751,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:55:16] local.INFO: Acknowledgment sent {"connection_id":153751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:55:47] local.INFO: TCP Data received {"connection_id":153751,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fda6d8012d1969c0071feb900039010b27..."} 
[2026-08-11 18:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fda6d8012d1969c0071feb900039010b27..."} 
[2026-08-11 18:55:47] local.INFO: Processing buffer {"connection_id":153751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fda6d8012d1969c0071feb900039010b27..."} 
[2026-08-11 18:55:47] local.INFO: Packet analysis {"connection_id":153751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fd"} 
[2026-08-11 18:55:47] local.INFO: Extracted packet for processing {"connection_id":153751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fd"} 
[2026-08-11 18:55:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:55: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-08-11 18:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332367872001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786454583000,"timestamp_ms":1786454583000,"timestamp_seconds":1786454583,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fda6d8"} 
[2026-08-11 18:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:55: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-08-11 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 18:55:47] 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-08-11 18: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-08-11 18:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332367872001,"66":12504,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332367872001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:55:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:55:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332367872001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":153751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:55:47] local.INFO: GPS data processed {"connection_id":153751,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:55:47] local.INFO: Acknowledgment sent {"connection_id":153751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:56:09] local.INFO: TCP Data received {"connection_id":155114,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:56:09] local.INFO: Processing buffer {"connection_id":155114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:56:09] local.INFO: IMEI packet received {"connection_id":155114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":155114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:56:15] local.INFO: TCP Data received {"connection_id":155114,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:56:15] local.INFO: Processing buffer {"connection_id":155114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:56:15] local.INFO: IMEI packet received {"connection_id":155114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":155114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:56:16] local.INFO: TCP Data received {"connection_id":155114,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fdf8e0012d1969c0071feb900039010b28..."} 
[2026-08-11 18:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fdf8e0012d1969c0071feb900039010b28..."} 
[2026-08-11 18:56:16] local.INFO: Processing buffer {"connection_id":155114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fdf8e0012d1969c0071feb900039010b28..."} 
[2026-08-11 18:56:16] local.INFO: Packet analysis {"connection_id":155114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fd"} 
[2026-08-11 18:56:16] local.INFO: Extracted packet for processing {"connection_id":155114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fd"} 
[2026-08-11 18:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332373248001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786454604000,"timestamp_ms":1786454604000,"timestamp_seconds":1786454604,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fdf8e0"} 
[2026-08-11 18:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:56: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-08-11 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 18:56:16] 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-08-11 18: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-08-11 18:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332373248001,"66":12504,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332373248001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:56:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:56:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332373248001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":155114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:56:16] local.INFO: GPS data processed {"connection_id":155114,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:56:16] local.INFO: Acknowledgment sent {"connection_id":155114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:56:47] local.INFO: TCP Data received {"connection_id":155114,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fe4ae8012d1969c0071feb900039010b29..."} 
[2026-08-11 18:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fe4ae8012d1969c0071feb900039010b29..."} 
[2026-08-11 18:56:47] local.INFO: Processing buffer {"connection_id":155114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fe4ae8012d1969c0071feb900039010b29..."} 
[2026-08-11 18:56:47] local.INFO: Packet analysis {"connection_id":155114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fe"} 
[2026-08-11 18:56:47] local.INFO: Extracted packet for processing {"connection_id":155114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fe"} 
[2026-08-11 18:56:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:56: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-08-11 18:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332378624001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786454625000,"timestamp_ms":1786454625000,"timestamp_seconds":1786454625,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fe4ae8"} 
[2026-08-11 18:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:56: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-08-11 18:56: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 18:56:47] 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-08-11 18:56: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-08-11 18:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332378624001,"66":12341,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332378624001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:56:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:56:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332378624001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":155114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:56:47] local.INFO: GPS data processed {"connection_id":155114,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:56:47] local.INFO: Acknowledgment sent {"connection_id":155114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:57:09] local.INFO: TCP Data received {"connection_id":155115,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:57:09] local.INFO: Processing buffer {"connection_id":155115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:57:09] local.INFO: IMEI packet received {"connection_id":155115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":155115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:57:10] local.INFO: TCP Data received {"connection_id":155115,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:57:10] local.INFO: Processing buffer {"connection_id":155115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:57:10] local.INFO: IMEI packet received {"connection_id":155115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":155115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:57:15] local.INFO: TCP Data received {"connection_id":155115,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:57:15] local.INFO: Processing buffer {"connection_id":155115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:57:15] local.INFO: IMEI packet received {"connection_id":155115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":155115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:57:15] local.INFO: TCP Data received {"connection_id":155115,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fe9cf0012d1969c0071feb900039010b28..."} 
[2026-08-11 18:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fe9cf0012d1969c0071feb900039010b28..."} 
[2026-08-11 18:57:15] local.INFO: Processing buffer {"connection_id":155115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fe9cf0012d1969c0071feb900039010b28..."} 
[2026-08-11 18:57:15] local.INFO: Packet analysis {"connection_id":155115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fe"} 
[2026-08-11 18:57:15] local.INFO: Extracted packet for processing {"connection_id":155115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fe"} 
[2026-08-11 18:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332384000001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786454646000,"timestamp_ms":1786454646000,"timestamp_seconds":1786454646,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fe9cf0"} 
[2026-08-11 18:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:57:15] 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-08-11 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-11 18:57:15] 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-08-11 18: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-08-11 18:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332384000001,"66":12113,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332384000001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:57:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332384000001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":155115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:57:16] local.INFO: GPS data processed {"connection_id":155115,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:57:16] local.INFO: Acknowledgment sent {"connection_id":155115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:57:24] local.INFO: TCP Data received {"connection_id":155116,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:57:24] local.INFO: Processing buffer {"connection_id":155116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:57:24] local.INFO: IMEI packet received {"connection_id":155116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":155116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:57:24] local.INFO: TCP Data received {"connection_id":155116,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fc7628012d7fa58005afcbd8000800a92c..."} 
[2026-08-11 18:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fc7628012d7fa58005afcbd8000800a92c..."} 
[2026-08-11 18:57:24] local.INFO: Processing buffer {"connection_id":155116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fc7628012d7fa58005afcbd8000800a92c..."} 
[2026-08-11 18:57:24] local.INFO: Packet analysis {"connection_id":155116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:57:24] local.INFO: Extracted packet for processing {"connection_id":155116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:57:24] local.INFO: GPS Element Parsed {"raw_longitude":763340160,"raw_latitude":95407064,"longitude_deg":76.334016,"latitude_deg":9.5407064,"altitude":8,"angle":169,"satellites":44,"speed":7,"hex_longitude":"2d7fa580","hex_latitude":"05afcbd8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332353024001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972077124124672,"note":"Value kept but may cause issues"} 
[2026-08-11 18:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207142537216,"note":"Value kept but may cause issues"} 
[2026-08-11 18:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786454505000,"timestamp_ms":1786454505000,"timestamp_seconds":1786454505,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fc7628"} 
[2026-08-11 18:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-08-11 18:57:24] 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-08-11 18: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-08-11 18:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:57:24] 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-08-11 18:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332353024001,"66":27615,"250":206,"85":12544,"24":7,"16":377972077124124672,"45":9197828207142537216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332353024001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:57:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:57:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972077124124672,"km_value":377972077124124.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207142537216,"description":"Unknown IO ID 45"} 
[2026-08-11 18:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332353024001,"power":27615,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9197828207142537216}} 
[2026-08-11 18:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":155116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:57:25] local.INFO: GPS data processed {"connection_id":155116,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:57:25] local.INFO: Acknowledgment sent {"connection_id":155116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:57:47] local.INFO: TCP Data received {"connection_id":155115,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0feeef8012d1969c0071feb900039010b26..."} 
[2026-08-11 18:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0feeef8012d1969c0071feb900039010b26..."} 
[2026-08-11 18:57:47] local.INFO: Processing buffer {"connection_id":155115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0feeef8012d1969c0071feb900039010b26..."} 
[2026-08-11 18:57:47] local.INFO: Packet analysis {"connection_id":155115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fe"} 
[2026-08-11 18:57:47] local.INFO: Extracted packet for processing {"connection_id":155115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fe"} 
[2026-08-11 18:57:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332389376001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786454667000,"timestamp_ms":1786454667000,"timestamp_seconds":1786454667,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0feeef8"} 
[2026-08-11 18:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:57: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-08-11 18: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-11 18:57:47] 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-08-11 18: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-08-11 18:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332389376001,"66":12461,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332389376001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:57:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:57:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332389376001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":155115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:57:47] local.INFO: GPS data processed {"connection_id":155115,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:57:47] local.INFO: Acknowledgment sent {"connection_id":155115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:57:56] local.INFO: TCP Data received {"connection_id":155116,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fc7df8012d7fa58005afca78000800c52c..."} 
[2026-08-11 18:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fc7df8012d7fa58005afca78000800c52c..."} 
[2026-08-11 18:57:56] local.INFO: Processing buffer {"connection_id":155116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fc7df8012d7fa58005afca78000800c52c..."} 
[2026-08-11 18:57:56] local.INFO: Packet analysis {"connection_id":155116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:57:56] local.INFO: Extracted packet for processing {"connection_id":155116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763340160,"raw_latitude":95406712,"longitude_deg":76.334016,"latitude_deg":9.5406712,"altitude":8,"angle":197,"satellites":44,"speed":6,"hex_longitude":"2d7fa580","hex_latitude":"05afca78","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332353280001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972094303993856,"note":"Value kept but may cause issues"} 
[2026-08-11 18:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197898575886669824,"note":"Value kept but may cause issues"} 
[2026-08-11 18:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786454507000,"timestamp_ms":1786454507000,"timestamp_seconds":1786454507,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fc7df8"} 
[2026-08-11 18:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-11 18:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 18: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-08-11 18:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:57:56] 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-08-11 18:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332353280001,"66":27604,"250":206,"85":12544,"24":6,"16":377972094303993856,"45":9197898575886669824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332353280001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:57:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972094303993856,"km_value":377972094303993.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197898575886669824,"description":"Unknown IO ID 45"} 
[2026-08-11 18:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332353280001,"power":27604,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9197898575886669824}} 
[2026-08-11 18:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":155116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:57:56] local.INFO: GPS data processed {"connection_id":155116,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:57:56] local.INFO: Acknowledgment sent {"connection_id":155116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:58:14] local.INFO: TCP Data received {"connection_id":155117,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:58:14] local.INFO: Processing buffer {"connection_id":155117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:58:14] local.INFO: IMEI packet received {"connection_id":155117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":155117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:58:14] local.INFO: TCP Data received {"connection_id":155117,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:58:14] local.INFO: Processing buffer {"connection_id":155117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:58:14] local.INFO: IMEI packet received {"connection_id":155117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":155117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:58:19] local.INFO: TCP Data received {"connection_id":155118,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:58:19] local.INFO: Processing buffer {"connection_id":155118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:58:19] local.INFO: IMEI packet received {"connection_id":155118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":155118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:58:20] local.INFO: TCP Data received {"connection_id":155117,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:58:20] local.INFO: Processing buffer {"connection_id":155117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:58:20] local.INFO: IMEI packet received {"connection_id":155117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":155117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:58:21] local.INFO: TCP Data received {"connection_id":155117,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ff4100012d1969c0071feb900039010b29..."} 
[2026-08-11 18:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ff4100012d1969c0071feb900039010b29..."} 
[2026-08-11 18:58:21] local.INFO: Processing buffer {"connection_id":155117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ff4100012d1969c0071feb900039010b29..."} 
[2026-08-11 18:58:21] local.INFO: Packet analysis {"connection_id":155117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ff"} 
[2026-08-11 18:58:21] local.INFO: Extracted packet for processing {"connection_id":155117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ff"} 
[2026-08-11 18:58:21] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18:58: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-08-11 18:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332394752001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786454688000,"timestamp_ms":1786454688000,"timestamp_seconds":1786454688,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ff4100"} 
[2026-08-11 18:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:58:21] 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-08-11 18:58: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 18:58:21] 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-08-11 18:58: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-08-11 18:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":155117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":155117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":155117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332394752001,"66":12461,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332394752001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:58:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:58:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332394752001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":155117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:58:21] local.INFO: GPS data processed {"connection_id":155117,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:58:21] local.INFO: Acknowledgment sent {"connection_id":155117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:58:24] local.INFO: TCP Data received {"connection_id":155118,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:58:24] local.INFO: Processing buffer {"connection_id":155118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:58:24] local.INFO: IMEI packet received {"connection_id":155118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":155118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:58:25] local.INFO: TCP Data received {"connection_id":155118,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fc81e0012d7fa54005afc9e8000700d12c..."} 
[2026-08-11 18:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fc81e0012d7fa54005afc9e8000700d12c..."} 
[2026-08-11 18:58:25] local.INFO: Processing buffer {"connection_id":155118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fc81e0012d7fa54005afc9e8000700d12c..."} 
[2026-08-11 18:58:25] local.INFO: Packet analysis {"connection_id":155118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:58:25] local.INFO: Extracted packet for processing {"connection_id":155118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:58:25] local.INFO: GPS Element Parsed {"raw_longitude":763340096,"raw_latitude":95406568,"longitude_deg":76.3340096,"latitude_deg":9.5406568,"altitude":7,"angle":209,"satellites":44,"speed":5,"hex_longitude":"2d7fa540","hex_latitude":"05afc9e8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332353792001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972102893928448,"note":"Value kept but may cause issues"} 
[2026-08-11 18:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197898575886579712,"note":"Value kept but may cause issues"} 
[2026-08-11 18:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786454508000,"timestamp_ms":1786454508000,"timestamp_seconds":1786454508,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fc81e0"} 
[2026-08-11 18:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 18:58:25] 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-08-11 18: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-08-11 18:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332353792001,"66":27604,"250":206,"85":12544,"24":5,"16":377972102893928448,"45":9197898575886579712},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332353792001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:58:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:58:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972102893928448,"km_value":377972102893928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197898575886579712,"description":"Unknown IO ID 45"} 
[2026-08-11 18:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332353792001,"power":27604,"unknown_250":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9197898575886579712}} 
[2026-08-11 18:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":155118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:58:25] local.INFO: GPS data processed {"connection_id":155118,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:58:25] local.INFO: Acknowledgment sent {"connection_id":155118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:58:52] local.INFO: TCP Data received {"connection_id":155117,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ff9308012d1969c0071feb900039010b29..."} 
[2026-08-11 18:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ff9308012d1969c0071feb900039010b29..."} 
[2026-08-11 18:58:52] local.INFO: Processing buffer {"connection_id":155117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ff9308012d1969c0071feb900039010b29..."} 
[2026-08-11 18:58:52] local.INFO: Packet analysis {"connection_id":155117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ff"} 
[2026-08-11 18:58:52] local.INFO: Extracted packet for processing {"connection_id":155117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ff"} 
[2026-08-11 18:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332400128001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:58: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-08-11 18:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786454709000,"timestamp_ms":1786454709000,"timestamp_seconds":1786454709,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ff9308"} 
[2026-08-11 18:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:58:52] 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-08-11 18: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":173,"data_length":795,"current_offset":136} 
[2026-08-11 18:58: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-08-11 18: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-08-11 18:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":155117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":155117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":155117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332400128001,"66":12461,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332400128001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:58:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:58:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332400128001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":155117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:58:52] local.INFO: GPS data processed {"connection_id":155117,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:58:52] local.INFO: Acknowledgment sent {"connection_id":155117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:58:56] local.INFO: TCP Data received {"connection_id":155118,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fc9d38012d7fa4c005afc9d8000701382d..."} 
[2026-08-11 18:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fc9d38012d7fa4c005afc9d8000701382d..."} 
[2026-08-11 18:58:56] local.INFO: Processing buffer {"connection_id":155118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fc9d38012d7fa4c005afc9d8000701382d..."} 
[2026-08-11 18:58:56] local.INFO: Packet analysis {"connection_id":155118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:58:56] local.INFO: Extracted packet for processing {"connection_id":155118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:58:56] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95406552,"longitude_deg":76.3339968,"latitude_deg":9.5406552,"altitude":7,"angle":312,"satellites":45,"speed":2,"hex_longitude":"2d7fa4c0","hex_latitude":"05afc9d8","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332354048001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972111483863040,"note":"Value kept but may cause issues"} 
[2026-08-11 18:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207142365184,"note":"Value kept but may cause issues"} 
[2026-08-11 18:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786454515000,"timestamp_ms":1786454515000,"timestamp_seconds":1786454515,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fc9d38"} 
[2026-08-11 18:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-11 18:58:56] 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-08-11 18: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-08-11 18:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332354048001,"66":27908,"250":206,"85":12544,"24":2,"16":377972111483863040,"45":9197828207142365184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332354048001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:58:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:58:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972111483863040,"km_value":377972111483863.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207142365184,"description":"Unknown IO ID 45"} 
[2026-08-11 18:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332354048001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9197828207142365184}} 
[2026-08-11 18:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":155118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:58:56] local.INFO: GPS data processed {"connection_id":155118,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:58:56] local.INFO: Acknowledgment sent {"connection_id":155118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:59:10] local.INFO: TCP Data received {"connection_id":152815,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:59:10] local.INFO: Processing buffer {"connection_id":152815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:59:10] local.INFO: IMEI packet received {"connection_id":152815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 18:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":152815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:59:15] local.INFO: TCP Data received {"connection_id":152815,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:59:15] local.INFO: Processing buffer {"connection_id":152815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 18:59:15] local.INFO: IMEI packet received {"connection_id":152815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 18:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":152815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:59:15] local.INFO: TCP Data received {"connection_id":152815,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0ffe510012d1969c0071feb900039010b28..."} 
[2026-08-11 18:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0ffe510012d1969c0071feb900039010b28..."} 
[2026-08-11 18:59:15] local.INFO: Processing buffer {"connection_id":152815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0ffe510012d1969c0071feb900039010b28..."} 
[2026-08-11 18:59:15] local.INFO: Packet analysis {"connection_id":152815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0ff"} 
[2026-08-11 18:59:15] local.INFO: Extracted packet for processing {"connection_id":152815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0ff"} 
[2026-08-11 18:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332405504001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786454730000,"timestamp_ms":1786454730000,"timestamp_seconds":1786454730,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0ffe510"} 
[2026-08-11 18:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:59:15] 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-08-11 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 18:59:15] 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-08-11 18: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-08-11 18:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332405504001,"66":12461,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332405504001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:59:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332405504001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":152815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:59:15] local.INFO: GPS data processed {"connection_id":152815,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:59:15] local.INFO: Acknowledgment sent {"connection_id":152815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:59:19] local.INFO: TCP Data received {"connection_id":153752,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:59:19] local.INFO: Processing buffer {"connection_id":153752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:59:19] local.INFO: IMEI packet received {"connection_id":153752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 18:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":153752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 18:59:24] local.INFO: TCP Data received {"connection_id":153752,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:59:24] local.INFO: Processing buffer {"connection_id":153752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 18:59:24] local.INFO: IMEI packet received {"connection_id":153752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 18:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":153752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 18:59:25] local.INFO: TCP Data received {"connection_id":153752,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fca8f0012d7fa48005afca48000701482d..."} 
[2026-08-11 18:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fca8f0012d7fa48005afca48000701482d..."} 
[2026-08-11 18:59:25] local.INFO: Processing buffer {"connection_id":153752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fca8f0012d7fa48005afca48000701482d..."} 
[2026-08-11 18:59:25] local.INFO: Packet analysis {"connection_id":153752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:59:25] local.INFO: Extracted packet for processing {"connection_id":153752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:59:25] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406664,"longitude_deg":76.3339904,"latitude_deg":9.5406664,"altitude":7,"angle":328,"satellites":45,"speed":1,"hex_longitude":"2d7fa480","hex_latitude":"05afca48","is_valid_coordinates":true} 
[2026-08-11 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-08-11 18:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332355840001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972120073797632,"note":"Value kept but may cause issues"} 
[2026-08-11 18:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654005760,"note":"Value kept but may cause issues"} 
[2026-08-11 18:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786454518000,"timestamp_ms":1786454518000,"timestamp_seconds":1786454518,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fca8f0"} 
[2026-08-11 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-08-11 18:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 18:59:25] 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-08-11 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-08-11 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-08-11 18:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:59:25] 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-08-11 18:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332355840001,"66":28050,"250":206,"85":12544,"24":1,"16":377972120073797632,"45":9197687469654005760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332355840001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:59:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:59:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972120073797632,"km_value":377972120073797.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654005760,"description":"Unknown IO ID 45"} 
[2026-08-11 18:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332355840001,"power":28050,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9197687469654005760}} 
[2026-08-11 18:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":153752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:59:25] local.INFO: GPS data processed {"connection_id":153752,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:59:25] local.INFO: Acknowledgment sent {"connection_id":153752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:59:46] local.INFO: TCP Data received {"connection_id":152815,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1003718012d1969c0071feb900039010b27..."} 
[2026-08-11 18:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1003718012d1969c0071feb900039010b27..."} 
[2026-08-11 18:59:46] local.INFO: Processing buffer {"connection_id":152815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1003718012d1969c0071feb900039010b27..."} 
[2026-08-11 18:59:46] local.INFO: Packet analysis {"connection_id":152815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff100"} 
[2026-08-11 18:59:46] local.INFO: Extracted packet for processing {"connection_id":152815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff100"} 
[2026-08-11 18:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332410880001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 18:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 18:59: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-08-11 18:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786454751000,"timestamp_ms":1786454751000,"timestamp_seconds":1786454751,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1003718"} 
[2026-08-11 18:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:59:46] 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-08-11 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 18:59:46] 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-08-11 18: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-08-11 18:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 18:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 18:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 18:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 18:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332410880001,"66":12461,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 18:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 18:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 18:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332410880001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:59:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 18:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 18:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 18:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332410880001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 18:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":152815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:59:47] local.INFO: GPS data processed {"connection_id":152815,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:59:47] local.INFO: Acknowledgment sent {"connection_id":152815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 18:59:56] local.INFO: TCP Data received {"connection_id":153752,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fcb0c0012d7fa44005afcab00007015a2d..."} 
[2026-08-11 18:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fcb0c0012d7fa44005afcab00007015a2d..."} 
[2026-08-11 18:59:56] local.INFO: Processing buffer {"connection_id":153752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fcb0c0012d7fa44005afcab00007015a2d..."} 
[2026-08-11 18:59:56] local.INFO: Packet analysis {"connection_id":153752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:59:56] local.INFO: Extracted packet for processing {"connection_id":153752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 18:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95406768,"longitude_deg":76.333984,"latitude_deg":9.5406768,"altitude":7,"angle":346,"satellites":45,"speed":1,"hex_longitude":"2d7fa440","hex_latitude":"05afcab0","is_valid_coordinates":true} 
[2026-08-11 18: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-08-11 18:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332356608001,"note":"Value kept but may cause issues"} 
[2026-08-11 18:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972128663732224,"note":"Value kept but may cause issues"} 
[2026-08-11 18:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909856768,"note":"Value kept but may cause issues"} 
[2026-08-11 18:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 18:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786454520000,"timestamp_ms":1786454520000,"timestamp_seconds":1786454520,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fcb0c0"} 
[2026-08-11 18:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 18:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 18: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 18:59: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-08-11 18: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-08-11 18:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 18:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 18:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 18:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 18:59:56] 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-08-11 18:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 18:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 18:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332356608001,"66":27658,"250":206,"85":12544,"24":1,"16":377972128663732224,"45":9197617100909856768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 18:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 18:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 18:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332356608001,"description":"Unknown IO ID 0"} 
[2026-08-11 18:59:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 18:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 18:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972128663732224,"km_value":377972128663732.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 18:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909856768,"description":"Unknown IO ID 45"} 
[2026-08-11 18:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332356608001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9197617100909856768}} 
[2026-08-11 18:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":153752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 18:59:56] local.INFO: GPS data processed {"connection_id":153752,"processed":1,"errors":0,"total":1} 
[2026-08-11 18:59:56] local.INFO: Acknowledgment sent {"connection_id":153752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:00:10] local.INFO: TCP Data received {"connection_id":155119,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:00:10] local.INFO: Processing buffer {"connection_id":155119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:00:10] local.INFO: IMEI packet received {"connection_id":155119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":155119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:00:15] local.INFO: TCP Data received {"connection_id":155120,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:00:15] local.INFO: Processing buffer {"connection_id":155120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:00:15] local.INFO: IMEI packet received {"connection_id":155120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:00:15] local.ERROR: TCP Connection error {"connection_id":155120,"code":2,"message":"client closed"} 
[2026-08-11 19:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":155120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:00:15] local.INFO: TCP Data received {"connection_id":155119,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:00:15] local.INFO: Processing buffer {"connection_id":155119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:00:15] local.INFO: IMEI packet received {"connection_id":155119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":155119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:00:15] local.INFO: TCP Data received {"connection_id":155119,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1008920012d1969c0071feb900039010b25..."} 
[2026-08-11 19:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1008920012d1969c0071feb900039010b25..."} 
[2026-08-11 19:00:15] local.INFO: Processing buffer {"connection_id":155119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1008920012d1969c0071feb900039010b25..."} 
[2026-08-11 19:00:15] local.INFO: Packet analysis {"connection_id":155119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff100"} 
[2026-08-11 19:00:15] local.INFO: Extracted packet for processing {"connection_id":155119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff100"} 
[2026-08-11 19:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332416256001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 19:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 19:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786454772000,"timestamp_ms":1786454772000,"timestamp_seconds":1786454772,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1008920"} 
[2026-08-11 19:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:00:15] 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-08-11 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 19:00:15] 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-08-11 19: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-08-11 19:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332416256001,"66":12428,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 19:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332416256001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:00:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 19:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 19:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332416256001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 19:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":155119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:00:16] local.INFO: GPS data processed {"connection_id":155119,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:00:16] local.INFO: Acknowledgment sent {"connection_id":155119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:00:18] local.INFO: TCP Data received {"connection_id":155121,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:00:18] local.INFO: Processing buffer {"connection_id":155121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:00:18] local.INFO: IMEI packet received {"connection_id":155121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":155121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:00:24] local.INFO: TCP Data received {"connection_id":155121,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:00:24] local.INFO: Processing buffer {"connection_id":155121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:00:24] local.INFO: IMEI packet received {"connection_id":155121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":155121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:00:24] local.INFO: TCP Data received {"connection_id":155121,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fcb4a8012d7fa44005afcae8000700092d..."} 
[2026-08-11 19:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fcb4a8012d7fa44005afcae8000700092d..."} 
[2026-08-11 19:00:24] local.INFO: Processing buffer {"connection_id":155121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fcb4a8012d7fa44005afcae8000700092d..."} 
[2026-08-11 19:00:24] local.INFO: Packet analysis {"connection_id":155121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 19:00:24] local.INFO: Extracted packet for processing {"connection_id":155121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 19:00:24] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95406824,"longitude_deg":76.333984,"latitude_deg":9.5406824,"altitude":7,"angle":9,"satellites":45,"speed":1,"hex_longitude":"2d7fa440","hex_latitude":"05afcae8","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332357120001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972128663732224,"note":"Value kept but may cause issues"} 
[2026-08-11 19:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165705728,"note":"Value kept but may cause issues"} 
[2026-08-11 19:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786454521000,"timestamp_ms":1786454521000,"timestamp_seconds":1786454521,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fcb4a8"} 
[2026-08-11 19:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 19:00:24] 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-08-11 19: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-08-11 19:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:00:24] 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-08-11 19:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332357120001,"66":27865,"250":206,"85":12544,"24":1,"16":377972128663732224,"45":9197546732165705728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332357120001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:00:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:00:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972128663732224,"km_value":377972128663732.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165705728,"description":"Unknown IO ID 45"} 
[2026-08-11 19:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332357120001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9197546732165705728}} 
[2026-08-11 19:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":155121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:00:24] local.INFO: GPS data processed {"connection_id":155121,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:00:24] local.INFO: Acknowledgment sent {"connection_id":155121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:00:47] local.INFO: TCP Data received {"connection_id":155119,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff100db28012d1969c0071feb900039010b27..."} 
[2026-08-11 19:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff100db28012d1969c0071feb900039010b27..."} 
[2026-08-11 19:00:47] local.INFO: Processing buffer {"connection_id":155119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff100db28012d1969c0071feb900039010b27..."} 
[2026-08-11 19:00:47] local.INFO: Packet analysis {"connection_id":155119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff100"} 
[2026-08-11 19:00:47] local.INFO: Extracted packet for processing {"connection_id":155119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff100"} 
[2026-08-11 19:00:47] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332421632001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 19:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 19:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786454793000,"timestamp_ms":1786454793000,"timestamp_seconds":1786454793,"priority":1,"record_length":96,"hex_timestamp":"0000019ff100db28"} 
[2026-08-11 19:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:00: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-08-11 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 19:00:47] 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-08-11 19:00: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-08-11 19:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332421632001,"66":12428,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 19:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332421632001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:00:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 19:00:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 19:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332421632001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 19:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":155119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:00:47] local.INFO: GPS data processed {"connection_id":155119,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:00:47] local.INFO: Acknowledgment sent {"connection_id":155119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:00:56] local.INFO: TCP Data received {"connection_id":155121,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fcb890012d7fa44005afcb28000700182d..."} 
[2026-08-11 19:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fcb890012d7fa44005afcb28000700182d..."} 
[2026-08-11 19:00:56] local.INFO: Processing buffer {"connection_id":155121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fcb890012d7fa44005afcb28000700182d..."} 
[2026-08-11 19:00:56] local.INFO: Packet analysis {"connection_id":155121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 19:00:56] local.INFO: Extracted packet for processing {"connection_id":155121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 19:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95406888,"longitude_deg":76.333984,"latitude_deg":9.5406888,"altitude":7,"angle":24,"satellites":45,"speed":1,"hex_longitude":"2d7fa440","hex_latitude":"05afcb28","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332357376001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972132958699520,"note":"Value kept but may cause issues"} 
[2026-08-11 19:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165720064,"note":"Value kept but may cause issues"} 
[2026-08-11 19:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786454522000,"timestamp_ms":1786454522000,"timestamp_seconds":1786454522,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fcb890"} 
[2026-08-11 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-08-11 19:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 19:00:56] 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-08-11 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-08-11 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-08-11 19:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:00:56] 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-08-11 19:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332357376001,"66":27865,"250":206,"85":12544,"24":1,"16":377972132958699520,"45":9197546732165720064},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332357376001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:00:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972132958699520,"km_value":377972132958699.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165720064,"description":"Unknown IO ID 45"} 
[2026-08-11 19:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332357376001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9197546732165720064}} 
[2026-08-11 19:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":155121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:00:56] local.INFO: GPS data processed {"connection_id":155121,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:00:56] local.INFO: Acknowledgment sent {"connection_id":155121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:01:10] local.INFO: TCP Data received {"connection_id":153753,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:01:10] local.INFO: Processing buffer {"connection_id":153753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:01:10] local.INFO: IMEI packet received {"connection_id":153753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":153753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:01:14] local.INFO: TCP Data received {"connection_id":153753,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:01:14] local.INFO: Processing buffer {"connection_id":153753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:01:14] local.INFO: IMEI packet received {"connection_id":153753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":153753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:01:20] local.INFO: TCP Data received {"connection_id":153753,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1012d30012d1969c0071feb900039010b28..."} 
[2026-08-11 19:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1012d30012d1969c0071feb900039010b28..."} 
[2026-08-11 19:01:20] local.INFO: Processing buffer {"connection_id":153753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1012d30012d1969c0071feb900039010b28..."} 
[2026-08-11 19:01:20] local.INFO: Packet analysis {"connection_id":153753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff101"} 
[2026-08-11 19:01:20] local.INFO: Extracted packet for processing {"connection_id":153753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff101"} 
[2026-08-11 19:01:20] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 19:01: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-08-11 19:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332427008001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 19:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 19:01: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-08-11 19:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786454814000,"timestamp_ms":1786454814000,"timestamp_seconds":1786454814,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1012d30"} 
[2026-08-11 19:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:01:20] 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-08-11 19:01: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 19:01:20] 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-08-11 19:01: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-08-11 19:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332427008001,"66":12461,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 19:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332427008001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:01:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 19:01:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 19:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332427008001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 19:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":153753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:01:20] local.INFO: GPS data processed {"connection_id":153753,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:01:20] local.INFO: Acknowledgment sent {"connection_id":153753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:01:24] local.INFO: TCP Data received {"connection_id":155122,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:01:24] local.INFO: Processing buffer {"connection_id":155122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:01:24] local.INFO: IMEI packet received {"connection_id":155122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":155122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:01:29] local.INFO: TCP Data received {"connection_id":155122,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:01:29] local.INFO: Processing buffer {"connection_id":155122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:01:29] local.INFO: IMEI packet received {"connection_id":155122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":155122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:01:29] local.INFO: TCP Data received {"connection_id":155122,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fcbc78012d7fa48005afcb68000700262d..."} 
[2026-08-11 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fcbc78012d7fa48005afcb68000700262d..."} 
[2026-08-11 19:01:29] local.INFO: Processing buffer {"connection_id":155122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fcbc78012d7fa48005afcb68000700262d..."} 
[2026-08-11 19:01:29] local.INFO: Packet analysis {"connection_id":155122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 19:01:29] local.INFO: Extracted packet for processing {"connection_id":155122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 19:01:29] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406952,"longitude_deg":76.3339904,"latitude_deg":9.5406952,"altitude":7,"angle":38,"satellites":45,"speed":2,"hex_longitude":"2d7fa480","hex_latitude":"05afcb68","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332357632001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972137253666816,"note":"Value kept but may cause issues"} 
[2026-08-11 19:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165736448,"note":"Value kept but may cause issues"} 
[2026-08-11 19:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786454523000,"timestamp_ms":1786454523000,"timestamp_seconds":1786454523,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fcbc78"} 
[2026-08-11 19:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 19:01:29] 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-08-11 19: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-08-11 19:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:01:29] 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-08-11 19:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332357632001,"66":27908,"250":206,"85":12544,"24":2,"16":377972137253666816,"45":9197546732165736448},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332357632001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:01:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972137253666816,"km_value":377972137253666.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165736448,"description":"Unknown IO ID 45"} 
[2026-08-11 19:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332357632001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9197546732165736448}} 
[2026-08-11 19:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":155122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:01:29] local.INFO: GPS data processed {"connection_id":155122,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:01:29] local.INFO: Acknowledgment sent {"connection_id":155122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:01:34] local.INFO: TCP Data received {"connection_id":155122,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff0fcd000012d7fa48005afcba00007002b2c..."} 
[2026-08-11 19:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff0fcd000012d7fa48005afcba00007002b2c..."} 
[2026-08-11 19:01:34] local.INFO: Processing buffer {"connection_id":155122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff0fcd000012d7fa48005afcba00007002b2c..."} 
[2026-08-11 19:01:34] local.INFO: Packet analysis {"connection_id":155122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 19:01:34] local.INFO: Extracted packet for processing {"connection_id":155122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff0fc"} 
[2026-08-11 19:01:34] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95407008,"longitude_deg":76.3339904,"latitude_deg":9.5407008,"altitude":7,"angle":43,"satellites":44,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afcba0","is_valid_coordinates":true} 
[2026-08-11 19:01:34] 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-08-11 19:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332357888001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909930496,"note":"Value kept but may cause issues"} 
[2026-08-11 19:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786454528000,"timestamp_ms":1786454528000,"timestamp_seconds":1786454528,"priority":1,"record_length":96,"hex_timestamp":"0000019ff0fcd000"} 
[2026-08-11 19:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19:01: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-08-11 19:01: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-08-11 19:01: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-08-11 19:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":155122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":155122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":155122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:01:34] 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-08-11 19:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332357888001,"66":27974,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909930496},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332357888001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:01:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:01:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909930496,"description":"Unknown IO ID 45"} 
[2026-08-11 19:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332357888001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909930496}} 
[2026-08-11 19:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":155122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:01:34] local.INFO: GPS data processed {"connection_id":155122,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:01:34] local.INFO: Acknowledgment sent {"connection_id":155122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:01:51] local.INFO: TCP Data received {"connection_id":153753,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1017f38012d1969c0071feb900039010b26..."} 
[2026-08-11 19:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1017f38012d1969c0071feb900039010b26..."} 
[2026-08-11 19:01:51] local.INFO: Processing buffer {"connection_id":153753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1017f38012d1969c0071feb900039010b26..."} 
[2026-08-11 19:01:51] local.INFO: Packet analysis {"connection_id":153753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff101"} 
[2026-08-11 19:01:51] local.INFO: Extracted packet for processing {"connection_id":153753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff101"} 
[2026-08-11 19:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 19:01: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-08-11 19:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332432384001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 19:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 19:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786454835000,"timestamp_ms":1786454835000,"timestamp_seconds":1786454835,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1017f38"} 
[2026-08-11 19:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:01:51] 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-08-11 19:01: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 19:01:51] 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-08-11 19:01: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-08-11 19:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332432384001,"66":12461,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 19:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332432384001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:01:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 19:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 19:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332432384001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 19:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":153753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:01:51] local.INFO: GPS data processed {"connection_id":153753,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:01:51] local.INFO: Acknowledgment sent {"connection_id":153753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:02:09] local.INFO: TCP Data received {"connection_id":153754,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:02:09] local.INFO: Processing buffer {"connection_id":153754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:02:09] local.INFO: IMEI packet received {"connection_id":153754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":153754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:02:15] local.INFO: TCP Data received {"connection_id":153754,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:02:15] local.INFO: Processing buffer {"connection_id":153754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:02:15] local.INFO: IMEI packet received {"connection_id":153754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":153754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:02:15] local.INFO: TCP Data received {"connection_id":153754,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff101d140012d1969c0071feb900039010b25..."} 
[2026-08-11 19:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff101d140012d1969c0071feb900039010b25..."} 
[2026-08-11 19:02:15] local.INFO: Processing buffer {"connection_id":153754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff101d140012d1969c0071feb900039010b25..."} 
[2026-08-11 19:02:15] local.INFO: Packet analysis {"connection_id":153754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff101"} 
[2026-08-11 19:02:15] local.INFO: Extracted packet for processing {"connection_id":153754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff101"} 
[2026-08-11 19:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332437760001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 19:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 19:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786454856000,"timestamp_ms":1786454856000,"timestamp_seconds":1786454856,"priority":1,"record_length":96,"hex_timestamp":"0000019ff101d140"} 
[2026-08-11 19:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:02:15] 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-08-11 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 19:02:15] 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-08-11 19: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-08-11 19:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332437760001,"66":12461,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 19:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332437760001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:02:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 19:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 19:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332437760001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 19:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":153754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:02:16] local.INFO: GPS data processed {"connection_id":153754,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:02:16] local.INFO: Acknowledgment sent {"connection_id":153754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:02:18] local.INFO: TCP Data received {"connection_id":155123,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:02:18] local.INFO: Processing buffer {"connection_id":155123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:02:18] local.INFO: IMEI packet received {"connection_id":155123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":155123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:02:24] local.INFO: TCP Data received {"connection_id":155123,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:02:24] local.INFO: Processing buffer {"connection_id":155123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:02:24] local.INFO: IMEI packet received {"connection_id":155123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":155123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:02:24] local.INFO: TCP Data received {"connection_id":155123,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1017b50012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1017b50012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:02:24] local.INFO: Processing buffer {"connection_id":155123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1017b50012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:02:24] local.INFO: Packet analysis {"connection_id":155123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff101"} 
[2026-08-11 19:02:24] local.INFO: Extracted packet for processing {"connection_id":155123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff101"} 
[2026-08-11 19:02:24] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332359168001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909944832,"note":"Value kept but may cause issues"} 
[2026-08-11 19:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786454834000,"timestamp_ms":1786454834000,"timestamp_seconds":1786454834,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1017b50"} 
[2026-08-11 19:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 19:02:24] 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-08-11 19: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-08-11 19:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:02:24] 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-08-11 19:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332359168001,"66":26321,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909944832},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332359168001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:02:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:02:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909944832,"description":"Unknown IO ID 45"} 
[2026-08-11 19:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332359168001,"power":26321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909944832}} 
[2026-08-11 19:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":155123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:02:24] local.INFO: GPS data processed {"connection_id":155123,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:02:24] local.INFO: Acknowledgment sent {"connection_id":155123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:02:46] local.INFO: TCP Data received {"connection_id":153754,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff105a9a0012d1969c0071feb900039010b27..."} 
[2026-08-11 19:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff105a9a0012d1969c0071feb900039010b27..."} 
[2026-08-11 19:02:46] local.INFO: Processing buffer {"connection_id":153754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff105a9a0012d1969c0071feb900039010b27..."} 
[2026-08-11 19:02:46] local.INFO: Packet analysis {"connection_id":153754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff105"} 
[2026-08-11 19:02:46] local.INFO: Extracted packet for processing {"connection_id":153754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff105"} 
[2026-08-11 19:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532432,"longitude_deg":75.6640192,"latitude_deg":11.9532432,"altitude":57,"angle":267,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332502272001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816928205078528,"note":"Value kept but may cause issues"} 
[2026-08-11 19:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 19:02: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-08-11 19:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786455108000,"timestamp_ms":1786455108000,"timestamp_seconds":1786455108,"priority":1,"record_length":96,"hex_timestamp":"0000019ff105a9a0"} 
[2026-08-11 19:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:02:46] 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-08-11 19: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":127,"data_length":795,"current_offset":136} 
[2026-08-11 19:02:46] 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-08-11 19: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-08-11 19:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332502272001,"66":14048,"102":206,"83":41984,"24":0,"16":11816928205078528,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 19:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332502272001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:02:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 19:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816928205078528,"km_value":11816928205078.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 19:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332502272001,"power":14048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 19:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":153754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:02:46] local.INFO: GPS data processed {"connection_id":153754,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:02:46] local.INFO: Acknowledgment sent {"connection_id":153754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:02:55] local.INFO: TCP Data received {"connection_id":155123,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:02:55] local.INFO: Processing buffer {"connection_id":155123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:02:55] local.INFO: Packet analysis {"connection_id":155123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:02:55] local.INFO: Extracted packet for processing {"connection_id":155123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332437504001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786455137000,"timestamp_ms":1786455137000,"timestamp_seconds":1786455137,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1061ae8"} 
[2026-08-11 19:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-11 19:02:55] 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-08-11 19: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-08-11 19:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:02:55] 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-08-11 19:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332437504001,"66":26158,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332437504001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:02:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:02:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332437504001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":155123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:02:55] local.INFO: GPS data processed {"connection_id":155123,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:02:55] local.INFO: Acknowledgment sent {"connection_id":155123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:03:15] local.INFO: TCP Data received {"connection_id":152414,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:03:15] local.INFO: Processing buffer {"connection_id":152414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:03:15] local.INFO: IMEI packet received {"connection_id":152414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":152414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:03:16] local.INFO: TCP Data received {"connection_id":152414,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff105f3d8012d196900071fec980038011e25..."} 
[2026-08-11 19:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff105f3d8012d196900071fec980038011e25..."} 
[2026-08-11 19:03:16] local.INFO: Processing buffer {"connection_id":152414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff105f3d8012d196900071fec980038011e25..."} 
[2026-08-11 19:03:16] local.INFO: Packet analysis {"connection_id":152414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff105"} 
[2026-08-11 19:03:16] local.INFO: Extracted packet for processing {"connection_id":152414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff105"} 
[2026-08-11 19:03:16] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532696,"longitude_deg":75.664,"latitude_deg":11.9532696,"altitude":56,"angle":286,"satellites":37,"speed":3,"hex_longitude":"2d196900","hex_latitude":"071fec98","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332507648001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11816945384947712,"note":"Value kept but may cause issues"} 
[2026-08-11 19:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335652864,"note":"Value kept but may cause issues"} 
[2026-08-11 19:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786455127000,"timestamp_ms":1786455127000,"timestamp_seconds":1786455127,"priority":1,"record_length":96,"hex_timestamp":"0000019ff105f3d8"} 
[2026-08-11 19:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:03: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-08-11 19: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-11 19:03:16] 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-08-11 19:03: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-08-11 19:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332507648001,"66":14113,"102":206,"83":41984,"24":3,"16":11816945384947712,"45":1831205860335652864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 19:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332507648001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:03:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 19:03:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11816945384947712,"km_value":11816945384947.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335652864,"description":"Unknown IO ID 45"} 
[2026-08-11 19:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332507648001,"power":14113,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1831205860335652864}} 
[2026-08-11 19:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":152414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:03:16] local.INFO: GPS data processed {"connection_id":152414,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:03:16] local.INFO: Acknowledgment sent {"connection_id":152414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:03:19] local.INFO: TCP Data received {"connection_id":152816,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:03:19] local.INFO: Processing buffer {"connection_id":152816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:03:19] local.INFO: IMEI packet received {"connection_id":152816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":152816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:03:24] local.INFO: TCP Data received {"connection_id":152816,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:03:24] local.INFO: Processing buffer {"connection_id":152816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:03:24] local.INFO: IMEI packet received {"connection_id":152816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":152816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:03:25] local.INFO: TCP Data received {"connection_id":152816,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:03:25] local.INFO: Processing buffer {"connection_id":152816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:03:25] local.INFO: Packet analysis {"connection_id":152816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:03:25] local.INFO: Extracted packet for processing {"connection_id":152816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:03:25] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332437504001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786455137000,"timestamp_ms":1786455137000,"timestamp_seconds":1786455137,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1061ae8"} 
[2026-08-11 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-08-11 19:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-11 19:03:25] 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-08-11 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-08-11 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-08-11 19:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:03:25] 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-08-11 19:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332437504001,"66":26158,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332437504001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:03:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:03:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332437504001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":152816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:03:25] local.INFO: GPS data processed {"connection_id":152816,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:03:25] local.INFO: Acknowledgment sent {"connection_id":152816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:03:47] local.INFO: TCP Data received {"connection_id":152414,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff106c2e0012d199300071ff0400038006429..."} 
[2026-08-11 19:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff106c2e0012d199300071ff0400038006429..."} 
[2026-08-11 19:03:47] local.INFO: Processing buffer {"connection_id":152414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff106c2e0012d199300071ff0400038006429..."} 
[2026-08-11 19:03:47] local.INFO: Packet analysis {"connection_id":152414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:03:47] local.INFO: Extracted packet for processing {"connection_id":152414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:03:47] local.INFO: GPS Element Parsed {"raw_longitude":756650752,"raw_latitude":119533632,"longitude_deg":75.6650752,"latitude_deg":11.9533632,"altitude":56,"angle":100,"satellites":41,"speed":17,"hex_longitude":"2d199300","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-08-11 19:03: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-08-11 19:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332524288001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11817525205532672,"note":"Value kept but may cause issues"} 
[2026-08-11 19:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839579740893120512,"note":"Value kept but may cause issues"} 
[2026-08-11 19:03:47] 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-08-11 19:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786455180000,"timestamp_ms":1786455180000,"timestamp_seconds":1786455180,"priority":1,"record_length":96,"hex_timestamp":"0000019ff106c2e0"} 
[2026-08-11 19:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:03: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-08-11 19:03: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 19:03:47] 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-08-11 19:03: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-08-11 19:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332524288001,"66":14113,"101":206,"83":41984,"24":17,"16":11817525205532672,"45":1839579740893120512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 19:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332524288001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:03:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 19:03:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11817525205532672,"km_value":11817525205532.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839579740893120512,"description":"Unknown IO ID 45"} 
[2026-08-11 19:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332524288001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1839579740893120512}} 
[2026-08-11 19:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":152414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:03:47] local.INFO: GPS data processed {"connection_id":152414,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:03:47] local.INFO: Acknowledgment sent {"connection_id":152414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:03:56] local.INFO: TCP Data received {"connection_id":152816,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:03:56] local.INFO: Processing buffer {"connection_id":152816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:03:56] local.INFO: Packet analysis {"connection_id":152816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:03:56] local.INFO: Extracted packet for processing {"connection_id":152816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332437504001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786455137000,"timestamp_ms":1786455137000,"timestamp_seconds":1786455137,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1061ae8"} 
[2026-08-11 19:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-11 19:03:56] 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-08-11 19: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-08-11 19:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:03:56] 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-08-11 19:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332437504001,"66":26158,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332437504001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:03:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332437504001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":152816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:03:56] local.INFO: GPS data processed {"connection_id":152816,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:03:56] local.INFO: Acknowledgment sent {"connection_id":152816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:04:06] local.INFO: TCP Data received {"connection_id":155124,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:04:06] local.INFO: Processing buffer {"connection_id":155124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:04:06] local.INFO: IMEI packet received {"connection_id":155124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":155124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:04:09] local.INFO: TCP Data received {"connection_id":155124,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:04:09] local.INFO: Processing buffer {"connection_id":155124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:04:09] local.INFO: IMEI packet received {"connection_id":155124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":155124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:04:10] local.INFO: TCP Data received {"connection_id":155124,"ip":"42.106.6.22","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 19:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155124,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 19:04:10] local.INFO: Processing buffer {"connection_id":155124,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 19:04:10] local.INFO: IMEI packet received {"connection_id":155124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":155124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:04:19] local.INFO: TCP Data received {"connection_id":153755,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:04:19] local.INFO: Processing buffer {"connection_id":153755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:04:19] local.INFO: IMEI packet received {"connection_id":153755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":153755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:04:24] local.INFO: TCP Data received {"connection_id":153755,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:04:24] local.INFO: Processing buffer {"connection_id":153755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:04:24] local.INFO: IMEI packet received {"connection_id":153755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":153755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:04:24] local.INFO: TCP Data received {"connection_id":153755,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:04:24] local.INFO: Processing buffer {"connection_id":153755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:04:24] local.INFO: Packet analysis {"connection_id":153755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:04:24] local.INFO: Extracted packet for processing {"connection_id":153755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:04:24] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332437504001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786455137000,"timestamp_ms":1786455137000,"timestamp_seconds":1786455137,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1061ae8"} 
[2026-08-11 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-08-11 19:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-11 19:04:24] 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-08-11 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-08-11 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-08-11 19:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:04:24] 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-08-11 19:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332437504001,"66":26158,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332437504001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:04:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:04:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332437504001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":153755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:04:24] local.INFO: GPS data processed {"connection_id":153755,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:04:24] local.INFO: Acknowledgment sent {"connection_id":153755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:04:55] local.INFO: TCP Data received {"connection_id":153755,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:04:55] local.INFO: Processing buffer {"connection_id":153755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:04:55] local.INFO: Packet analysis {"connection_id":153755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:04:55] local.INFO: Extracted packet for processing {"connection_id":153755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332437504001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786455137000,"timestamp_ms":1786455137000,"timestamp_seconds":1786455137,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1061ae8"} 
[2026-08-11 19:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-11 19:04:55] 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-08-11 19: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-08-11 19:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:04:55] 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-08-11 19:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332437504001,"66":26158,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332437504001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:04:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:04:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332437504001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":153755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:04:55] local.INFO: GPS data processed {"connection_id":153755,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:04:55] local.INFO: Acknowledgment sent {"connection_id":153755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:05:18] local.INFO: TCP Data received {"connection_id":152817,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:05:18] local.INFO: Processing buffer {"connection_id":152817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:05:18] local.INFO: IMEI packet received {"connection_id":152817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":152817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:05:24] local.INFO: TCP Data received {"connection_id":152817,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:05:24] local.INFO: Processing buffer {"connection_id":152817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:05:24] local.INFO: IMEI packet received {"connection_id":152817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":152817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:05:24] local.INFO: TCP Data received {"connection_id":152817,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:05:24] local.INFO: Processing buffer {"connection_id":152817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:05:24] local.INFO: Packet analysis {"connection_id":152817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:05:24] local.INFO: Extracted packet for processing {"connection_id":152817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:05:24] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332437504001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786455137000,"timestamp_ms":1786455137000,"timestamp_seconds":1786455137,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1061ae8"} 
[2026-08-11 19:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-11 19:05:24] 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-08-11 19: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-08-11 19:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:05:24] 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-08-11 19:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332437504001,"66":26158,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332437504001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:05:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:05:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332437504001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":152817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:05:24] local.INFO: GPS data processed {"connection_id":152817,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:05:24] local.INFO: Acknowledgment sent {"connection_id":152817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:05:55] local.INFO: TCP Data received {"connection_id":152817,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:05:55] local.INFO: Processing buffer {"connection_id":152817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:05:55] local.INFO: Packet analysis {"connection_id":152817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:05:55] local.INFO: Extracted packet for processing {"connection_id":152817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332437504001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786455137000,"timestamp_ms":1786455137000,"timestamp_seconds":1786455137,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1061ae8"} 
[2026-08-11 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-08-11 19:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-11 19:05:55] 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-08-11 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-08-11 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-08-11 19:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:05:55] 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-08-11 19:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332437504001,"66":26158,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332437504001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:05:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:05:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332437504001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":152817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:05:55] local.INFO: GPS data processed {"connection_id":152817,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:05:55] local.INFO: Acknowledgment sent {"connection_id":152817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:06:18] local.INFO: TCP Data received {"connection_id":155126,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:06:18] local.INFO: Processing buffer {"connection_id":155126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:06:18] local.INFO: IMEI packet received {"connection_id":155126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":155126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:06:24] local.INFO: TCP Data received {"connection_id":155126,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:06:24] local.INFO: Processing buffer {"connection_id":155126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:06:24] local.INFO: IMEI packet received {"connection_id":155126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":155126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:06:24] local.INFO: TCP Data received {"connection_id":155126,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:06:24] local.INFO: Processing buffer {"connection_id":155126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:06:24] local.INFO: Packet analysis {"connection_id":155126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:06:24] local.INFO: Extracted packet for processing {"connection_id":155126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332437504001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786455137000,"timestamp_ms":1786455137000,"timestamp_seconds":1786455137,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1061ae8"} 
[2026-08-11 19:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-11 19:06:24] 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-08-11 19: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-08-11 19:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:06:24] 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-08-11 19:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332437504001,"66":26158,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332437504001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:06:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:06:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332437504001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":155126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:06:24] local.INFO: GPS data processed {"connection_id":155126,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:06:24] local.INFO: Acknowledgment sent {"connection_id":155126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:06:55] local.INFO: TCP Data received {"connection_id":155126,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:06:55] local.INFO: Processing buffer {"connection_id":155126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:06:55] local.INFO: Packet analysis {"connection_id":155126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:06:55] local.INFO: Extracted packet for processing {"connection_id":155126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332437504001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786455137000,"timestamp_ms":1786455137000,"timestamp_seconds":1786455137,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1061ae8"} 
[2026-08-11 19:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-11 19:06:55] 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-08-11 19: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-08-11 19:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:06:55] 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-08-11 19:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332437504001,"66":26158,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332437504001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:06:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:06:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332437504001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":155126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:06:55] local.INFO: GPS data processed {"connection_id":155126,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:06:55] local.INFO: Acknowledgment sent {"connection_id":155126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:07:24] local.INFO: TCP Data received {"connection_id":155128,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:07:24] local.INFO: Processing buffer {"connection_id":155128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:07:24] local.INFO: IMEI packet received {"connection_id":155128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":155128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:07:29] local.INFO: TCP Data received {"connection_id":155128,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:07:29] local.INFO: Processing buffer {"connection_id":155128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:07:29] local.INFO: IMEI packet received {"connection_id":155128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":155128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:07:29] local.INFO: TCP Data received {"connection_id":155128,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:07:29] local.INFO: Processing buffer {"connection_id":155128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1061ae8012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:07:29] local.INFO: Packet analysis {"connection_id":155128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:07:29] local.INFO: Extracted packet for processing {"connection_id":155128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff106"} 
[2026-08-11 19:07:29] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19:07: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-08-11 19:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332437504001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786455137000,"timestamp_ms":1786455137000,"timestamp_seconds":1786455137,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1061ae8"} 
[2026-08-11 19:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19:07: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-11 19:07:29] 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-08-11 19:07: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-08-11 19:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:07:29] 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-08-11 19:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332437504001,"66":26158,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332437504001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:07:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:07:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332437504001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":155128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:07:29] local.INFO: GPS data processed {"connection_id":155128,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:07:29] local.INFO: Acknowledgment sent {"connection_id":155128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:08:00] local.INFO: TCP Data received {"connection_id":155128,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:08:00] local.INFO: Processing buffer {"connection_id":155128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:08:00] local.INFO: Packet analysis {"connection_id":155128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:08:00] local.INFO: Extracted packet for processing {"connection_id":155128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332515072001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786455440000,"timestamp_ms":1786455440000,"timestamp_seconds":1786455440,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10aba80"} 
[2026-08-11 19:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 19:08:00] 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-08-11 19: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-08-11 19:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":155128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":155128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":155128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:08:00] 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-08-11 19:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332515072001,"66":26006,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332515072001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:08:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:08:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332515072001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":155128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:08:00] local.INFO: GPS data processed {"connection_id":155128,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:08:00] local.INFO: Acknowledgment sent {"connection_id":155128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:08:19] local.INFO: TCP Data received {"connection_id":153757,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:08:19] local.INFO: Processing buffer {"connection_id":153757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:08:19] local.INFO: IMEI packet received {"connection_id":153757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":153757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:08:24] local.INFO: TCP Data received {"connection_id":153757,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:08:24] local.INFO: Processing buffer {"connection_id":153757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:08:24] local.INFO: IMEI packet received {"connection_id":153757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":153757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:08:25] local.INFO: TCP Data received {"connection_id":153757,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:08:25] local.INFO: Processing buffer {"connection_id":153757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:08:25] local.INFO: Packet analysis {"connection_id":153757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:08:25] local.INFO: Extracted packet for processing {"connection_id":153757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:08:25] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332515072001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786455440000,"timestamp_ms":1786455440000,"timestamp_seconds":1786455440,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10aba80"} 
[2026-08-11 19:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 19:08:25] 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-08-11 19: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-08-11 19:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:08:25] 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-08-11 19:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332515072001,"66":26006,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332515072001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:08:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:08:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332515072001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":153757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:08:25] local.INFO: GPS data processed {"connection_id":153757,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:08:25] local.INFO: Acknowledgment sent {"connection_id":153757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:08:56] local.INFO: TCP Data received {"connection_id":153757,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:08:56] local.INFO: Processing buffer {"connection_id":153757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:08:56] local.INFO: Packet analysis {"connection_id":153757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:08:56] local.INFO: Extracted packet for processing {"connection_id":153757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332515072001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786455440000,"timestamp_ms":1786455440000,"timestamp_seconds":1786455440,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10aba80"} 
[2026-08-11 19:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 19:08:56] 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-08-11 19: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-08-11 19:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:08:56] 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-08-11 19:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332515072001,"66":26006,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332515072001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:08:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332515072001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":153757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:08:56] local.INFO: GPS data processed {"connection_id":153757,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:08:56] local.INFO: Acknowledgment sent {"connection_id":153757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:09:19] local.INFO: TCP Data received {"connection_id":152819,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:09:19] local.INFO: Processing buffer {"connection_id":152819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:09:19] local.INFO: IMEI packet received {"connection_id":152819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":152819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:09:24] local.INFO: TCP Data received {"connection_id":152819,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:09:24] local.INFO: Processing buffer {"connection_id":152819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:09:24] local.INFO: IMEI packet received {"connection_id":152819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":152819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:09:28] local.INFO: TCP Data received {"connection_id":152819,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:09:28] local.INFO: Processing buffer {"connection_id":152819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:09:28] local.INFO: Packet analysis {"connection_id":152819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:09:28] local.INFO: Extracted packet for processing {"connection_id":152819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:09:28] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332515072001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786455440000,"timestamp_ms":1786455440000,"timestamp_seconds":1786455440,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10aba80"} 
[2026-08-11 19:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 19:09:28] 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-08-11 19: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-08-11 19:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:09:28] 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-08-11 19:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332515072001,"66":26006,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332515072001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:09:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:09:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332515072001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":152819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:09:28] local.INFO: GPS data processed {"connection_id":152819,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:09:28] local.INFO: Acknowledgment sent {"connection_id":152819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:09:59] local.INFO: TCP Data received {"connection_id":152819,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:09:59] local.INFO: Processing buffer {"connection_id":152819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:09:59] local.INFO: Packet analysis {"connection_id":152819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:09:59] local.INFO: Extracted packet for processing {"connection_id":152819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332515072001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786455440000,"timestamp_ms":1786455440000,"timestamp_seconds":1786455440,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10aba80"} 
[2026-08-11 19:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 19:09:59] 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-08-11 19: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-08-11 19:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:09:59] 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-08-11 19:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332515072001,"66":26006,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332515072001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:09:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:09:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332515072001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":152819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:09:59] local.INFO: GPS data processed {"connection_id":152819,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:09:59] local.INFO: Acknowledgment sent {"connection_id":152819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:10:19] local.INFO: TCP Data received {"connection_id":152820,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:10:19] local.INFO: Processing buffer {"connection_id":152820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:10:19] local.INFO: IMEI packet received {"connection_id":152820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":152820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:10:20] local.INFO: TCP Data received {"connection_id":153758,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:10:20] local.INFO: Processing buffer {"connection_id":153758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:10:20] local.INFO: IMEI packet received {"connection_id":153758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":153758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:10:24] local.INFO: TCP Data received {"connection_id":152820,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:10:24] local.INFO: Processing buffer {"connection_id":152820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:10:24] local.INFO: IMEI packet received {"connection_id":152820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":152820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:10:24] local.INFO: TCP Data received {"connection_id":152820,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:10:24] local.INFO: Processing buffer {"connection_id":152820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:10:24] local.INFO: Packet analysis {"connection_id":152820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:10:24] local.INFO: Extracted packet for processing {"connection_id":152820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:10:24] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332515072001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786455440000,"timestamp_ms":1786455440000,"timestamp_seconds":1786455440,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10aba80"} 
[2026-08-11 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-08-11 19:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 19:10:24] 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-08-11 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-08-11 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-08-11 19:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:10:24] 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-08-11 19:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332515072001,"66":26006,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332515072001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:10:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:10:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332515072001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":152820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:10:24] local.INFO: GPS data processed {"connection_id":152820,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:10:24] local.INFO: Acknowledgment sent {"connection_id":152820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:10:25] local.INFO: TCP Data received {"connection_id":153758,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:10:25] local.INFO: Processing buffer {"connection_id":153758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:10:25] local.INFO: IMEI packet received {"connection_id":153758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":153758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:10:26] local.INFO: TCP Data received {"connection_id":153758,"ip":"42.106.6.46","data_length":93,"data_hex":"00000000000000518e010000019ff10c3d38012d1be240071e61800056008928..."} 
[2026-08-11 19:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153758,"packet_length":93,"packet_hex":"00000000000000518e010000019ff10c3d38012d1be240071e61800056008928..."} 
[2026-08-11 19:10:26] local.INFO: Processing buffer {"connection_id":153758,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ff10c3d38012d1be240071e61800056008928..."} 
[2026-08-11 19:10:26] local.INFO: Packet analysis {"connection_id":153758,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ff10c"} 
[2026-08-11 19:10:26] local.INFO: Extracted packet for processing {"connection_id":153758,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ff10c"} 
[2026-08-11 19:10:26] local.INFO: GPS Element Parsed {"raw_longitude":756802112,"raw_latitude":119431552,"longitude_deg":75.6802112,"latitude_deg":11.9431552,"altitude":86,"angle":137,"satellites":40,"speed":8,"hex_longitude":"2d1be240","hex_latitude":"071e6180","is_valid_coordinates":true} 
[2026-08-11 19: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":93,"current_offset":40} 
[2026-08-11 19:10:26] 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-08-11 19:10:26] 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-08-11 19:10:26] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:10:26] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-11 19:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153758,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-11 19:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153758,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-11 19:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153758,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-11 19:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-11 19:10:26] local.WARNING: DEBUG: No valid data to process  
[2026-08-11 19:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":153758,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-11 19:10:26] local.ERROR: GPS data processing failed {"connection_id":153758,"error":"No valid data to process"} 
[2026-08-11 19:10:26] local.INFO: Acknowledgment sent {"connection_id":153758,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-11 19:10:56] local.INFO: TCP Data received {"connection_id":152820,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:10:56] local.INFO: Processing buffer {"connection_id":152820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:10:56] local.INFO: Packet analysis {"connection_id":152820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:10:56] local.INFO: Extracted packet for processing {"connection_id":152820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332515072001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786455440000,"timestamp_ms":1786455440000,"timestamp_seconds":1786455440,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10aba80"} 
[2026-08-11 19:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 19:10:56] 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-08-11 19: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-08-11 19:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:10:56] 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-08-11 19:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332515072001,"66":26006,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332515072001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:10:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332515072001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":152820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:10:56] local.INFO: GPS data processed {"connection_id":152820,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:10:56] local.INFO: Acknowledgment sent {"connection_id":152820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:11:18] local.INFO: TCP Data received {"connection_id":155129,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:11:18] local.INFO: Processing buffer {"connection_id":155129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:11:18] local.INFO: IMEI packet received {"connection_id":155129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":155129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:11:24] local.INFO: TCP Data received {"connection_id":155129,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:11:24] local.INFO: Processing buffer {"connection_id":155129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:11:24] local.INFO: IMEI packet received {"connection_id":155129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":155129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:11:25] local.INFO: TCP Data received {"connection_id":155129,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:11:25] local.INFO: Processing buffer {"connection_id":155129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:11:25] local.INFO: Packet analysis {"connection_id":155129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:11:25] local.INFO: Extracted packet for processing {"connection_id":155129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:11:25] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332515072001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786455440000,"timestamp_ms":1786455440000,"timestamp_seconds":1786455440,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10aba80"} 
[2026-08-11 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-08-11 19:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 19:11:25] 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-08-11 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-08-11 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-08-11 19:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:11:25] 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-08-11 19:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332515072001,"66":26006,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332515072001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:11:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:11:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332515072001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":155129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:11:25] local.INFO: GPS data processed {"connection_id":155129,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:11:25] local.INFO: Acknowledgment sent {"connection_id":155129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:11:56] local.INFO: TCP Data received {"connection_id":155129,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:11:56] local.INFO: Processing buffer {"connection_id":155129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:11:56] local.INFO: Packet analysis {"connection_id":155129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:11:56] local.INFO: Extracted packet for processing {"connection_id":155129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332515072001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786455440000,"timestamp_ms":1786455440000,"timestamp_seconds":1786455440,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10aba80"} 
[2026-08-11 19:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 19:11:56] 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-08-11 19: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-08-11 19:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:11:56] 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-08-11 19:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332515072001,"66":26006,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332515072001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:11:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332515072001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":155129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:11:56] local.INFO: GPS data processed {"connection_id":155129,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:11:56] local.INFO: Acknowledgment sent {"connection_id":155129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:12:24] local.INFO: TCP Data received {"connection_id":153759,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:12:24] local.INFO: Processing buffer {"connection_id":153759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:12:24] local.INFO: IMEI packet received {"connection_id":153759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":153759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:12:29] local.INFO: TCP Data received {"connection_id":153759,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:12:29] local.INFO: Processing buffer {"connection_id":153759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:12:29] local.INFO: IMEI packet received {"connection_id":153759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":153759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:12:29] local.INFO: TCP Data received {"connection_id":153759,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:12:29] local.INFO: Processing buffer {"connection_id":153759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10aba80012d7fa48005afc9f00007002b2a..."} 
[2026-08-11 19:12:29] local.INFO: Packet analysis {"connection_id":153759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:12:29] local.INFO: Extracted packet for processing {"connection_id":153759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10a"} 
[2026-08-11 19:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332515072001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786455440000,"timestamp_ms":1786455440000,"timestamp_seconds":1786455440,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10aba80"} 
[2026-08-11 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-08-11 19:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-11 19:12:29] 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-08-11 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-08-11 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-08-11 19:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:12:29] 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-08-11 19:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332515072001,"66":26006,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332515072001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:12:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:12:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332515072001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":153759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:12:29] local.INFO: GPS data processed {"connection_id":153759,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:12:29] local.INFO: Acknowledgment sent {"connection_id":153759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:12:36] local.INFO: TCP Data received {"connection_id":153759,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:12:36] local.INFO: Processing buffer {"connection_id":153759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:12:36] local.INFO: Packet analysis {"connection_id":153759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:12:36] local.INFO: Extracted packet for processing {"connection_id":153759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332592640001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786455741000,"timestamp_ms":1786455741000,"timestamp_seconds":1786455741,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10f5248"} 
[2026-08-11 19:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 19:12: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-08-11 19: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-08-11 19:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:12:36] 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-08-11 19:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332592640001,"66":25875,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332592640001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:12:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332592640001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":153759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:12:36] local.INFO: GPS data processed {"connection_id":153759,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:12:36] local.INFO: Acknowledgment sent {"connection_id":153759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:13:19] local.INFO: TCP Data received {"connection_id":155130,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:13:19] local.INFO: Processing buffer {"connection_id":155130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:13:19] local.INFO: IMEI packet received {"connection_id":155130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":155130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:13:24] local.INFO: TCP Data received {"connection_id":155130,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:13:24] local.INFO: Processing buffer {"connection_id":155130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:13:24] local.INFO: IMEI packet received {"connection_id":155130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":155130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:13:25] local.INFO: TCP Data received {"connection_id":155130,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:13:25] local.INFO: Processing buffer {"connection_id":155130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:13:25] local.INFO: Packet analysis {"connection_id":155130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:13:25] local.INFO: Extracted packet for processing {"connection_id":155130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:13:25] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332592640001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786455741000,"timestamp_ms":1786455741000,"timestamp_seconds":1786455741,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10f5248"} 
[2026-08-11 19:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 19:13:25] 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-08-11 19: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-08-11 19:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:13:25] 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-08-11 19:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332592640001,"66":25875,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332592640001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:13:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332592640001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":155130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:13:25] local.INFO: GPS data processed {"connection_id":155130,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:13:25] local.INFO: Acknowledgment sent {"connection_id":155130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:13:56] local.INFO: TCP Data received {"connection_id":155130,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:13:56] local.INFO: Processing buffer {"connection_id":155130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:13:56] local.INFO: Packet analysis {"connection_id":155130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:13:56] local.INFO: Extracted packet for processing {"connection_id":155130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:13:56] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332592640001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786455741000,"timestamp_ms":1786455741000,"timestamp_seconds":1786455741,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10f5248"} 
[2026-08-11 19:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 19:13:56] 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-08-11 19: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-08-11 19:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:13:56] 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-08-11 19:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332592640001,"66":25875,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332592640001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:13:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:13:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332592640001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":155130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:13:56] local.INFO: GPS data processed {"connection_id":155130,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:13:56] local.INFO: Acknowledgment sent {"connection_id":155130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:14:10] local.INFO: TCP Data received {"connection_id":152415,"ip":"117.224.103.192","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:14:10] local.INFO: Processing buffer {"connection_id":152415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:14:10] local.INFO: IMEI packet received {"connection_id":152415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":152415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:14:14] local.INFO: TCP Data received {"connection_id":152415,"ip":"117.224.103.192","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:14:14] local.INFO: Processing buffer {"connection_id":152415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:14:14] local.INFO: IMEI packet received {"connection_id":152415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":152415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:14:16] local.INFO: TCP Data received {"connection_id":152415,"ip":"117.224.103.192","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10fb3f0012d1bf640071c79e8003200d724..."} 
[2026-08-11 19:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10fb3f0012d1bf640071c79e8003200d724..."} 
[2026-08-11 19:14:16] local.INFO: Processing buffer {"connection_id":152415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10fb3f0012d1bf640071c79e8003200d724..."} 
[2026-08-11 19:14:16] local.INFO: Packet analysis {"connection_id":152415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:14:16] local.INFO: Extracted packet for processing {"connection_id":152415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:14:16] local.INFO: GPS Element Parsed {"raw_longitude":756807232,"raw_latitude":119306728,"longitude_deg":75.6807232,"latitude_deg":11.9306728,"altitude":50,"angle":215,"satellites":36,"speed":43,"hex_longitude":"2d1bf640","hex_latitude":"071c79e8","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332673536001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11835001427460096,"note":"Value kept but may cause issues"} 
[2026-08-11 19:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020286675885176832,"note":"Value kept but may cause issues"} 
[2026-08-11 19:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786455766000,"timestamp_ms":1786455766000,"timestamp_seconds":1786455766,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10fb3f0"} 
[2026-08-11 19:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:14: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-08-11 19: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 19:14: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-08-11 19: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-08-11 19:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.103.192","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332673536001,"66":13526,"71":206,"83":41984,"24":43,"16":11835001427460096,"45":2020286675885176832},"client_ip":"117.224.103.192","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-08-11 19:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332673536001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:14:16] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 19:14:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11835001427460096,"km_value":11835001427460.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020286675885176832,"description":"Unknown IO ID 45"} 
[2026-08-11 19:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332673536001,"power":13526,"unknown_71":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":2020286675885176832}} 
[2026-08-11 19:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":152415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:14:16] local.INFO: GPS data processed {"connection_id":152415,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:14:16] local.INFO: Acknowledgment sent {"connection_id":152415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:14:19] local.INFO: TCP Data received {"connection_id":153760,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:14:19] local.INFO: Processing buffer {"connection_id":153760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:14:19] local.INFO: IMEI packet received {"connection_id":153760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":153760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:14:24] local.INFO: TCP Data received {"connection_id":153760,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:14:24] local.INFO: Processing buffer {"connection_id":153760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:14:24] local.INFO: IMEI packet received {"connection_id":153760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":153760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:14:25] local.INFO: TCP Data received {"connection_id":153760,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:14:25] local.INFO: Processing buffer {"connection_id":153760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:14:25] local.INFO: Packet analysis {"connection_id":153760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:14:25] local.INFO: Extracted packet for processing {"connection_id":153760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:14:25] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332592640001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786455741000,"timestamp_ms":1786455741000,"timestamp_seconds":1786455741,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10f5248"} 
[2026-08-11 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-08-11 19:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 19:14:25] 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-08-11 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-08-11 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-08-11 19:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:14:25] 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-08-11 19:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332592640001,"66":25875,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332592640001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:14:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:14:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332592640001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":153760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:14:25] local.INFO: GPS data processed {"connection_id":153760,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:14:25] local.INFO: Acknowledgment sent {"connection_id":153760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:14:56] local.INFO: TCP Data received {"connection_id":153760,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:14:56] local.INFO: Processing buffer {"connection_id":153760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:14:56] local.INFO: Packet analysis {"connection_id":153760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:14:56] local.INFO: Extracted packet for processing {"connection_id":153760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332592640001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786455741000,"timestamp_ms":1786455741000,"timestamp_seconds":1786455741,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10f5248"} 
[2026-08-11 19:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 19:14:56] 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-08-11 19: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-08-11 19:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:14:56] 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-08-11 19:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332592640001,"66":25875,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332592640001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:14:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332592640001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":153760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:14:56] local.INFO: GPS data processed {"connection_id":153760,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:14:56] local.INFO: Acknowledgment sent {"connection_id":153760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:15:20] local.INFO: TCP Data received {"connection_id":152821,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:15:20] local.INFO: Processing buffer {"connection_id":152821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:15:20] local.INFO: IMEI packet received {"connection_id":152821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":152821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:15:24] local.INFO: TCP Data received {"connection_id":152821,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:15:24] local.INFO: Processing buffer {"connection_id":152821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:15:24] local.INFO: IMEI packet received {"connection_id":152821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":152821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:15:24] local.INFO: TCP Data received {"connection_id":152821,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:15:24] local.INFO: Processing buffer {"connection_id":152821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:15:24] local.INFO: Packet analysis {"connection_id":152821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:15:24] local.INFO: Extracted packet for processing {"connection_id":152821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:15:24] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332592640001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786455741000,"timestamp_ms":1786455741000,"timestamp_seconds":1786455741,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10f5248"} 
[2026-08-11 19:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 19:15:24] 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-08-11 19: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-08-11 19:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:15:24] 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-08-11 19:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332592640001,"66":25875,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332592640001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:15:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:15:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332592640001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":152821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:15:24] local.INFO: GPS data processed {"connection_id":152821,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:15:24] local.INFO: Acknowledgment sent {"connection_id":152821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:15:55] local.INFO: TCP Data received {"connection_id":152821,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:15:55] local.INFO: Processing buffer {"connection_id":152821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:15:55] local.INFO: Packet analysis {"connection_id":152821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:15:55] local.INFO: Extracted packet for processing {"connection_id":152821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332592640001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786455741000,"timestamp_ms":1786455741000,"timestamp_seconds":1786455741,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10f5248"} 
[2026-08-11 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-08-11 19:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 19:15:55] 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-08-11 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-08-11 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-08-11 19:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:15:55] 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-08-11 19:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332592640001,"66":25875,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332592640001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:15:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:15:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332592640001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":152821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:15:55] local.INFO: GPS data processed {"connection_id":152821,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:15:55] local.INFO: Acknowledgment sent {"connection_id":152821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:16:18] local.INFO: TCP Data received {"connection_id":152822,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:16:18] local.INFO: Processing buffer {"connection_id":152822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:16:18] local.INFO: IMEI packet received {"connection_id":152822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":152822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:16:24] local.INFO: TCP Data received {"connection_id":152822,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:16:24] local.INFO: Processing buffer {"connection_id":152822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:16:24] local.INFO: IMEI packet received {"connection_id":152822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":152822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:16:24] local.INFO: TCP Data received {"connection_id":152822,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:16:24] local.INFO: Processing buffer {"connection_id":152822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:16:24] local.INFO: Packet analysis {"connection_id":152822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:16:24] local.INFO: Extracted packet for processing {"connection_id":152822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:16:24] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332592640001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786455741000,"timestamp_ms":1786455741000,"timestamp_seconds":1786455741,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10f5248"} 
[2026-08-11 19:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 19:16:24] 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-08-11 19: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-08-11 19:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:16:24] 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-08-11 19:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332592640001,"66":25875,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332592640001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:16:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:16:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332592640001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":152822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:16:24] local.INFO: GPS data processed {"connection_id":152822,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:16:24] local.INFO: Acknowledgment sent {"connection_id":152822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:16:56] local.INFO: TCP Data received {"connection_id":152822,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:16:56] local.INFO: Processing buffer {"connection_id":152822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:16:56] local.INFO: Packet analysis {"connection_id":152822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:16:56] local.INFO: Extracted packet for processing {"connection_id":152822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332592640001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786455741000,"timestamp_ms":1786455741000,"timestamp_seconds":1786455741,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10f5248"} 
[2026-08-11 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-08-11 19:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 19:16:56] 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-08-11 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-08-11 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-08-11 19:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:16:56] 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-08-11 19:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332592640001,"66":25875,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332592640001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:16:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332592640001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":152822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:16:56] local.INFO: GPS data processed {"connection_id":152822,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:16:56] local.INFO: Acknowledgment sent {"connection_id":152822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:17:24] local.INFO: TCP Data received {"connection_id":152823,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:17:24] local.INFO: Processing buffer {"connection_id":152823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:17:24] local.INFO: IMEI packet received {"connection_id":152823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":152823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:17:29] local.INFO: TCP Data received {"connection_id":152823,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:17:29] local.INFO: Processing buffer {"connection_id":152823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:17:29] local.INFO: IMEI packet received {"connection_id":152823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":152823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:17:29] local.INFO: TCP Data received {"connection_id":152823,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:17:29] local.INFO: Processing buffer {"connection_id":152823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:17:29] local.INFO: Packet analysis {"connection_id":152823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:17:29] local.INFO: Extracted packet for processing {"connection_id":152823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:17:29] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19:17: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-08-11 19:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332592640001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786455741000,"timestamp_ms":1786455741000,"timestamp_seconds":1786455741,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10f5248"} 
[2026-08-11 19:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19:17: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 19:17:29] 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-08-11 19:17: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-08-11 19:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:17:29] 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-08-11 19:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332592640001,"66":25875,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332592640001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:17:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332592640001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":152823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:17:29] local.INFO: GPS data processed {"connection_id":152823,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:17:29] local.INFO: Acknowledgment sent {"connection_id":152823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:17:34] local.INFO: TCP Data received {"connection_id":152823,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:17:34] local.INFO: Processing buffer {"connection_id":152823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff10f5248012d7fa48005afc9f00007002b2b..."} 
[2026-08-11 19:17:34] local.INFO: Packet analysis {"connection_id":152823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:17:34] local.INFO: Extracted packet for processing {"connection_id":152823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff10f"} 
[2026-08-11 19:17:34] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332592640001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786455741000,"timestamp_ms":1786455741000,"timestamp_seconds":1786455741,"priority":1,"record_length":96,"hex_timestamp":"0000019ff10f5248"} 
[2026-08-11 19:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-11 19:17:34] 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-08-11 19: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-08-11 19:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:17:34] 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-08-11 19:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332592640001,"66":25875,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332592640001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:17:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:17:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332592640001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":152823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:17:34] local.INFO: GPS data processed {"connection_id":152823,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:17:34] local.INFO: Acknowledgment sent {"connection_id":152823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:18:19] local.INFO: TCP Data received {"connection_id":155131,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:18:19] local.INFO: Processing buffer {"connection_id":155131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:18:19] local.INFO: IMEI packet received {"connection_id":155131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":155131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:18:24] local.INFO: TCP Data received {"connection_id":155131,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:18:24] local.INFO: Processing buffer {"connection_id":155131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:18:24] local.INFO: IMEI packet received {"connection_id":155131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":155131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:18:24] local.INFO: TCP Data received {"connection_id":155131,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:18:24] local.INFO: Processing buffer {"connection_id":155131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:18:24] local.INFO: Packet analysis {"connection_id":155131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff113"} 
[2026-08-11 19:18:24] local.INFO: Extracted packet for processing {"connection_id":155131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff113"} 
[2026-08-11 19:18:24] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332669696001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786456040000,"timestamp_ms":1786456040000,"timestamp_seconds":1786456040,"priority":1,"record_length":96,"hex_timestamp":"0000019ff113e240"} 
[2026-08-11 19:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 19:18:24] 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-08-11 19: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-08-11 19:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:18:24] 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-08-11 19:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332669696001,"66":25832,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332669696001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:18:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:18:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332669696001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":155131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:18:24] local.INFO: GPS data processed {"connection_id":155131,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:18:24] local.INFO: Acknowledgment sent {"connection_id":155131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:18:56] local.INFO: TCP Data received {"connection_id":155131,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:18:56] local.INFO: Processing buffer {"connection_id":155131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:18:56] local.INFO: Packet analysis {"connection_id":155131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff113"} 
[2026-08-11 19:18:56] local.INFO: Extracted packet for processing {"connection_id":155131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff113"} 
[2026-08-11 19:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332669696001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786456040000,"timestamp_ms":1786456040000,"timestamp_seconds":1786456040,"priority":1,"record_length":96,"hex_timestamp":"0000019ff113e240"} 
[2026-08-11 19:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 19:18:56] 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-08-11 19: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-08-11 19:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:18:56] 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-08-11 19:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332669696001,"66":25832,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332669696001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:18:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332669696001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":155131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:18:56] local.INFO: GPS data processed {"connection_id":155131,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:18:56] local.INFO: Acknowledgment sent {"connection_id":155131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:19:19] local.INFO: TCP Data received {"connection_id":152824,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:19:19] local.INFO: Processing buffer {"connection_id":152824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:19:19] local.INFO: IMEI packet received {"connection_id":152824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":152824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:19:24] local.INFO: TCP Data received {"connection_id":152824,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:19:24] local.INFO: Processing buffer {"connection_id":152824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:19:24] local.INFO: IMEI packet received {"connection_id":152824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":152824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:19:24] local.INFO: TCP Data received {"connection_id":152824,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:19:24] local.INFO: Processing buffer {"connection_id":152824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:19:24] local.INFO: Packet analysis {"connection_id":152824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff113"} 
[2026-08-11 19:19:24] local.INFO: Extracted packet for processing {"connection_id":152824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff113"} 
[2026-08-11 19:19:24] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332669696001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786456040000,"timestamp_ms":1786456040000,"timestamp_seconds":1786456040,"priority":1,"record_length":96,"hex_timestamp":"0000019ff113e240"} 
[2026-08-11 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-08-11 19:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 19:19:24] 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-08-11 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-08-11 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-08-11 19:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:19:24] 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-08-11 19:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332669696001,"66":25832,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332669696001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:19:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:19:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332669696001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":152824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:19:24] local.INFO: GPS data processed {"connection_id":152824,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:19:24] local.INFO: Acknowledgment sent {"connection_id":152824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:19:56] local.INFO: TCP Data received {"connection_id":152824,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:19:56] local.INFO: Processing buffer {"connection_id":152824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:19:56] local.INFO: Packet analysis {"connection_id":152824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff113"} 
[2026-08-11 19:19:56] local.INFO: Extracted packet for processing {"connection_id":152824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff113"} 
[2026-08-11 19:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19:19: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-08-11 19:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332669696001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786456040000,"timestamp_ms":1786456040000,"timestamp_seconds":1786456040,"priority":1,"record_length":96,"hex_timestamp":"0000019ff113e240"} 
[2026-08-11 19:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19:19: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":19,"data_length":795,"current_offset":136} 
[2026-08-11 19:19:56] 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-08-11 19:19: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-08-11 19:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:19:56] 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-08-11 19:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332669696001,"66":25832,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332669696001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:19:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332669696001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":152824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:19:56] local.INFO: GPS data processed {"connection_id":152824,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:19:56] local.INFO: Acknowledgment sent {"connection_id":152824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:20:18] local.INFO: TCP Data received {"connection_id":152416,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:20:18] local.INFO: Processing buffer {"connection_id":152416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:20:18] local.INFO: IMEI packet received {"connection_id":152416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":152416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:20:24] local.INFO: TCP Data received {"connection_id":152416,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:20:24] local.INFO: Processing buffer {"connection_id":152416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:20:24] local.INFO: IMEI packet received {"connection_id":152416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":152416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:20:25] local.INFO: TCP Data received {"connection_id":152416,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:20:25] local.INFO: Processing buffer {"connection_id":152416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:20:25] local.INFO: Packet analysis {"connection_id":152416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff113"} 
[2026-08-11 19:20:25] local.INFO: Extracted packet for processing {"connection_id":152416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff113"} 
[2026-08-11 19:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332669696001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786456040000,"timestamp_ms":1786456040000,"timestamp_seconds":1786456040,"priority":1,"record_length":96,"hex_timestamp":"0000019ff113e240"} 
[2026-08-11 19:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 19:20:25] 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-08-11 19: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-08-11 19:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:20:25] 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-08-11 19:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332669696001,"66":25832,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332669696001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:20:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332669696001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":152416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:20:25] local.INFO: GPS data processed {"connection_id":152416,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:20:25] local.INFO: Acknowledgment sent {"connection_id":152416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:20:56] local.INFO: TCP Data received {"connection_id":152416,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:20:56] local.INFO: Processing buffer {"connection_id":152416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff113e240012d7fa48005afc9f00007002b29..."} 
[2026-08-11 19:20:56] local.INFO: Packet analysis {"connection_id":152416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff113"} 
[2026-08-11 19:20:56] local.INFO: Extracted packet for processing {"connection_id":152416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff113"} 
[2026-08-11 19:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332669696001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786456040000,"timestamp_ms":1786456040000,"timestamp_seconds":1786456040,"priority":1,"record_length":96,"hex_timestamp":"0000019ff113e240"} 
[2026-08-11 19:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 19:20:56] 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-08-11 19: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-08-11 19:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:20:56] 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-08-11 19:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332669696001,"66":25832,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332669696001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:20:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332669696001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":152416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:20:56] local.INFO: GPS data processed {"connection_id":152416,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:20:56] local.INFO: Acknowledgment sent {"connection_id":152416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:21:18] local.INFO: TCP Data received {"connection_id":152825,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:21:18] local.INFO: Processing buffer {"connection_id":152825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:21:18] local.INFO: IMEI packet received {"connection_id":152825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":152825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:21:23] local.INFO: TCP Data received {"connection_id":152825,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:21:23] local.INFO: Processing buffer {"connection_id":152825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:21:23] local.INFO: IMEI packet received {"connection_id":152825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":152825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:21:23] local.INFO: TCP Data received {"connection_id":152825,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:21:23] local.INFO: Processing buffer {"connection_id":152825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:21:23] local.INFO: IMEI packet received {"connection_id":152825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":152825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:21:26] local.INFO: TCP Data received {"connection_id":152825,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1175128012d7fa48005afc9f00007002b2c..."} 
[2026-08-11 19:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1175128012d7fa48005afc9f00007002b2c..."} 
[2026-08-11 19:21:26] local.INFO: Processing buffer {"connection_id":152825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1175128012d7fa48005afc9f00007002b2c..."} 
[2026-08-11 19:21:26] local.INFO: Packet analysis {"connection_id":152825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff117"} 
[2026-08-11 19:21:26] local.INFO: Extracted packet for processing {"connection_id":152825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff117"} 
[2026-08-11 19:21:26] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406576,"longitude_deg":76.3339904,"latitude_deg":9.5406576,"altitude":7,"angle":43,"satellites":44,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afc9f0","is_valid_coordinates":true} 
[2026-08-11 19:21: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-08-11 19:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332746240001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786456265000,"timestamp_ms":1786456265000,"timestamp_seconds":1786456265,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1175128"} 
[2026-08-11 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-08-11 19:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-11 19:21:26] 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-08-11 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-08-11 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-08-11 19:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:21:26] 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-08-11 19:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332746240001,"66":25756,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332746240001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:21:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:21:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332746240001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":152825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:21:26] local.INFO: GPS data processed {"connection_id":152825,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:21:26] local.INFO: Acknowledgment sent {"connection_id":152825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:22:18] local.INFO: TCP Data received {"connection_id":152417,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:22:18] local.INFO: Processing buffer {"connection_id":152417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:22:18] local.INFO: IMEI packet received {"connection_id":152417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":152417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:22:24] local.INFO: TCP Data received {"connection_id":152417,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:22:24] local.INFO: Processing buffer {"connection_id":152417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:22:24] local.INFO: IMEI packet received {"connection_id":152417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":152417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:22:24] local.INFO: TCP Data received {"connection_id":152417,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff117baa0012d7fa28005afc7d8000400c02e..."} 
[2026-08-11 19:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff117baa0012d7fa28005afc7d8000400c02e..."} 
[2026-08-11 19:22:24] local.INFO: Processing buffer {"connection_id":152417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff117baa0012d7fa28005afc7d8000400c02e..."} 
[2026-08-11 19:22:24] local.INFO: Packet analysis {"connection_id":152417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff117"} 
[2026-08-11 19:22:24] local.INFO: Extracted packet for processing {"connection_id":152417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff117"} 
[2026-08-11 19:22:24] local.INFO: GPS Element Parsed {"raw_longitude":763339392,"raw_latitude":95406040,"longitude_deg":76.3339392,"latitude_deg":9.540604,"altitude":4,"angle":192,"satellites":46,"speed":11,"hex_longitude":"2d7fa280","hex_latitude":"05afc7d8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332810240001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972184498307072,"note":"Value kept but may cause issues"} 
[2026-08-11 19:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444745728,"note":"Value kept but may cause issues"} 
[2026-08-11 19:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786456292000,"timestamp_ms":1786456292000,"timestamp_seconds":1786456292,"priority":1,"record_length":96,"hex_timestamp":"0000019ff117baa0"} 
[2026-08-11 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-08-11 19:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 19:22:24] 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-08-11 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-08-11 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-08-11 19:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:22:24] 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-08-11 19:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332810240001,"66":27180,"250":206,"85":12544,"24":11,"16":377972184498307072,"45":9197194888444745728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332810240001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:22:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:22:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972184498307072,"km_value":377972184498307.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444745728,"description":"Unknown IO ID 45"} 
[2026-08-11 19:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332810240001,"power":27180,"unknown_250":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9197194888444745728}} 
[2026-08-11 19:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":152417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:22:24] local.INFO: GPS data processed {"connection_id":152417,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:22:24] local.INFO: Acknowledgment sent {"connection_id":152417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:22:55] local.INFO: TCP Data received {"connection_id":152417,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11808c0012d7fa0c005afbd68000100b72c..."} 
[2026-08-11 19:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11808c0012d7fa0c005afbd68000100b72c..."} 
[2026-08-11 19:22:55] local.INFO: Processing buffer {"connection_id":152417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11808c0012d7fa0c005afbd68000100b72c..."} 
[2026-08-11 19:22:55] local.INFO: Packet analysis {"connection_id":152417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff118"} 
[2026-08-11 19:22:55] local.INFO: Extracted packet for processing {"connection_id":152417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff118"} 
[2026-08-11 19:22:55] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95403368,"longitude_deg":76.3338944,"latitude_deg":9.5403368,"altitude":1,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2d7fa0c0","hex_latitude":"05afbd68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332810752001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972317642293248,"note":"Value kept but may cause issues"} 
[2026-08-11 19:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956275712,"note":"Value kept but may cause issues"} 
[2026-08-11 19:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786456312000,"timestamp_ms":1786456312000,"timestamp_seconds":1786456312,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11808c0"} 
[2026-08-11 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-08-11 19:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-11 19:22:55] 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-08-11 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-08-11 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-08-11 19:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:22:55] 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-08-11 19:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332810752001,"66":27484,"250":206,"85":12544,"24":0,"16":377972317642293248,"45":9197054150956275712},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332810752001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:22:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:22:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972317642293248,"km_value":377972317642293.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956275712,"description":"Unknown IO ID 45"} 
[2026-08-11 19:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332810752001,"power":27484,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197054150956275712}} 
[2026-08-11 19:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":152417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:22:55] local.INFO: GPS data processed {"connection_id":152417,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:22:55] local.INFO: Acknowledgment sent {"connection_id":152417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:23:18] local.INFO: TCP Data received {"connection_id":153761,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:23:18] local.INFO: Processing buffer {"connection_id":153761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:23:18] local.INFO: IMEI packet received {"connection_id":153761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":153761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:23:24] local.INFO: TCP Data received {"connection_id":153761,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:23:24] local.INFO: Processing buffer {"connection_id":153761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:23:24] local.INFO: IMEI packet received {"connection_id":153761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":153761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:23:25] local.INFO: TCP Data received {"connection_id":153761,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11852f8012d7fa0c005afbd68000100b72b..."} 
[2026-08-11 19:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11852f8012d7fa0c005afbd68000100b72b..."} 
[2026-08-11 19:23:25] local.INFO: Processing buffer {"connection_id":153761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11852f8012d7fa0c005afbd68000100b72b..."} 
[2026-08-11 19:23:25] local.INFO: Packet analysis {"connection_id":153761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff118"} 
[2026-08-11 19:23:25] local.INFO: Extracted packet for processing {"connection_id":153761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff118"} 
[2026-08-11 19:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95403368,"longitude_deg":76.3338944,"latitude_deg":9.5403368,"altitude":1,"angle":183,"satellites":43,"speed":0,"hex_longitude":"2d7fa0c0","hex_latitude":"05afbd68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332815872001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972317642293248,"note":"Value kept but may cause issues"} 
[2026-08-11 19:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569746348032,"note":"Value kept but may cause issues"} 
[2026-08-11 19:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786456331000,"timestamp_ms":1786456331000,"timestamp_seconds":1786456331,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11852f8"} 
[2026-08-11 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-08-11 19:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 19:23:25] 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-08-11 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-08-11 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-08-11 19:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:23:25] 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-08-11 19:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332815872001,"66":27332,"250":206,"85":12544,"24":0,"16":377972317642293248,"45":9196561569746348032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332815872001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:23:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972317642293248,"km_value":377972317642293.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569746348032,"description":"Unknown IO ID 45"} 
[2026-08-11 19:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332815872001,"power":27332,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196561569746348032}} 
[2026-08-11 19:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":153761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:23:25] local.INFO: GPS data processed {"connection_id":153761,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:23:25] local.INFO: Acknowledgment sent {"connection_id":153761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:23:33] local.INFO: TCP Data received {"connection_id":152825,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11760c8012d7fa48005afca00000700cd2b..."} 
[2026-08-11 19:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11760c8012d7fa48005afca00000700cd2b..."} 
[2026-08-11 19:23:33] local.INFO: Processing buffer {"connection_id":152825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11760c8012d7fa48005afca00000700cd2b..."} 
[2026-08-11 19:23:33] local.INFO: Packet analysis {"connection_id":152825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff117"} 
[2026-08-11 19:23:33] local.INFO: Extracted packet for processing {"connection_id":152825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff117"} 
[2026-08-11 19:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95406592,"longitude_deg":76.3339904,"latitude_deg":9.5406592,"altitude":7,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afca00","is_valid_coordinates":true} 
[2026-08-11 19:23: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-08-11 19:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332803840001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972141548634112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100909834240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786456269000,"timestamp_ms":1786456269000,"timestamp_seconds":1786456269,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11760c8"} 
[2026-08-11 19:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19:23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 19:23:33] 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-08-11 19:23: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-08-11 19:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:23:33] 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-08-11 19:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332803840001,"66":26299,"250":206,"85":12544,"24":0,"16":377972141548634112,"45":9197617100909834240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332803840001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:23:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972141548634112,"km_value":377972141548634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100909834240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332803840001,"power":26299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100909834240}} 
[2026-08-11 19:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":152825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:23:33] local.INFO: GPS data processed {"connection_id":152825,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:23:33] local.INFO: Acknowledgment sent {"connection_id":152825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:23:57] local.INFO: TCP Data received {"connection_id":153761,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff118a118012d7fa0c005afbd68000100b72b..."} 
[2026-08-11 19:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff118a118012d7fa0c005afbd68000100b72b..."} 
[2026-08-11 19:23:57] local.INFO: Processing buffer {"connection_id":153761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff118a118012d7fa0c005afbd68000100b72b..."} 
[2026-08-11 19:23:57] local.INFO: Packet analysis {"connection_id":153761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff118"} 
[2026-08-11 19:23:57] local.INFO: Extracted packet for processing {"connection_id":153761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff118"} 
[2026-08-11 19:23:57] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95403368,"longitude_deg":76.3338944,"latitude_deg":9.5403368,"altitude":1,"angle":183,"satellites":43,"speed":0,"hex_longitude":"2d7fa0c0","hex_latitude":"05afbd68","is_valid_coordinates":true} 
[2026-08-11 19:23: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-08-11 19:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332820736001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972317642293248,"note":"Value kept but may cause issues"} 
[2026-08-11 19:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569746348032,"note":"Value kept but may cause issues"} 
[2026-08-11 19:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786456351000,"timestamp_ms":1786456351000,"timestamp_seconds":1786456351,"priority":1,"record_length":96,"hex_timestamp":"0000019ff118a118"} 
[2026-08-11 19:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19:23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 19:23:57] 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-08-11 19:23: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-08-11 19:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:23:57] 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-08-11 19:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332820736001,"66":27484,"250":206,"85":12544,"24":0,"16":377972317642293248,"45":9196561569746348032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332820736001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:23:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:23:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972317642293248,"km_value":377972317642293.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569746348032,"description":"Unknown IO ID 45"} 
[2026-08-11 19:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332820736001,"power":27484,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196561569746348032}} 
[2026-08-11 19:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":153761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:23:57] local.INFO: GPS data processed {"connection_id":153761,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:23:57] local.INFO: Acknowledgment sent {"connection_id":153761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:24:18] local.INFO: TCP Data received {"connection_id":155132,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:24:18] local.INFO: Processing buffer {"connection_id":155132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:24:18] local.INFO: IMEI packet received {"connection_id":155132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":155132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:24:22] local.INFO: TCP Data received {"connection_id":155132,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:24:22] local.INFO: Processing buffer {"connection_id":155132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:24:22] local.INFO: IMEI packet received {"connection_id":155132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":155132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:24:23] local.INFO: TCP Data received {"connection_id":155132,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:24:23] local.INFO: Processing buffer {"connection_id":155132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:24:23] local.INFO: IMEI packet received {"connection_id":155132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":155132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:24:23] local.INFO: TCP Data received {"connection_id":155132,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:24:23] local.INFO: Processing buffer {"connection_id":155132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:24:23] local.INFO: IMEI packet received {"connection_id":155132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":155132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:24:24] local.INFO: TCP Data received {"connection_id":155132,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff118ef38012d7fa0c005afbd68000100b72c..."} 
[2026-08-11 19:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff118ef38012d7fa0c005afbd68000100b72c..."} 
[2026-08-11 19:24:24] local.INFO: Processing buffer {"connection_id":155132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff118ef38012d7fa0c005afbd68000100b72c..."} 
[2026-08-11 19:24:24] local.INFO: Packet analysis {"connection_id":155132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff118"} 
[2026-08-11 19:24:24] local.INFO: Extracted packet for processing {"connection_id":155132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff118"} 
[2026-08-11 19:24:24] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95403368,"longitude_deg":76.3338944,"latitude_deg":9.5403368,"altitude":1,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2d7fa0c0","hex_latitude":"05afbd68","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332825856001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972317642293248,"note":"Value kept but may cause issues"} 
[2026-08-11 19:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569746348032,"note":"Value kept but may cause issues"} 
[2026-08-11 19:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786456371000,"timestamp_ms":1786456371000,"timestamp_seconds":1786456371,"priority":1,"record_length":96,"hex_timestamp":"0000019ff118ef38"} 
[2026-08-11 19:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 19:24:24] 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-08-11 19: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-08-11 19:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:24:24] 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-08-11 19:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332825856001,"66":27245,"250":206,"85":12544,"24":0,"16":377972317642293248,"45":9196561569746348032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332825856001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:24:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:24:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972317642293248,"km_value":377972317642293.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569746348032,"description":"Unknown IO ID 45"} 
[2026-08-11 19:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332825856001,"power":27245,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196561569746348032}} 
[2026-08-11 19:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":155132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:24:24] local.INFO: GPS data processed {"connection_id":155132,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:24:24] local.INFO: Acknowledgment sent {"connection_id":155132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:24:55] local.INFO: TCP Data received {"connection_id":155132,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1193970012d7fa0c005afbd68000100b72d..."} 
[2026-08-11 19:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1193970012d7fa0c005afbd68000100b72d..."} 
[2026-08-11 19:24:55] local.INFO: Processing buffer {"connection_id":155132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1193970012d7fa0c005afbd68000100b72d..."} 
[2026-08-11 19:24:55] local.INFO: Packet analysis {"connection_id":155132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff119"} 
[2026-08-11 19:24:55] local.INFO: Extracted packet for processing {"connection_id":155132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff119"} 
[2026-08-11 19:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95403368,"longitude_deg":76.3338944,"latitude_deg":9.5403368,"altitude":1,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7fa0c0","hex_latitude":"05afbd68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332830976001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377972317642293248,"note":"Value kept but may cause issues"} 
[2026-08-11 19:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569746348032,"note":"Value kept but may cause issues"} 
[2026-08-11 19:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786456390000,"timestamp_ms":1786456390000,"timestamp_seconds":1786456390,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1193970"} 
[2026-08-11 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-08-11 19:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 19:24:55] 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-08-11 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-08-11 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-08-11 19:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:24:55] 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-08-11 19:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332830976001,"66":27571,"250":206,"85":12544,"24":0,"16":377972317642293248,"45":9196561569746348032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332830976001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:24:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377972317642293248,"km_value":377972317642293.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569746348032,"description":"Unknown IO ID 45"} 
[2026-08-11 19:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332830976001,"power":27571,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196561569746348032}} 
[2026-08-11 19:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":155132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:24:55] local.INFO: GPS data processed {"connection_id":155132,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:24:55] local.INFO: Acknowledgment sent {"connection_id":155132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:25:09] local.INFO: TCP Data received {"connection_id":152826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:25:09] local.INFO: Processing buffer {"connection_id":152826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:25:09] local.INFO: IMEI packet received {"connection_id":152826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":152826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:25:11] local.INFO: TCP Data received {"connection_id":152826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:25:11] local.INFO: Processing buffer {"connection_id":152826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:25:11] local.INFO: IMEI packet received {"connection_id":152826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":152826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:25:12] local.INFO: TCP Data received {"connection_id":152826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1193d58012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1193d58012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:25:12] local.INFO: Processing buffer {"connection_id":152826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1193d58012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:25:12] local.INFO: Packet analysis {"connection_id":152826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff119"} 
[2026-08-11 19:25:12] local.INFO: Extracted packet for processing {"connection_id":152826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff119"} 
[2026-08-11 19:25:12] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":38,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332830720001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,17,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786456391000,"timestamp_ms":1786456391000,"timestamp_seconds":1786456391,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1193d58"} 
[2026-08-11 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-08-11 19:25:12] 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-08-11 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 19:25:12] 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-08-11 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-08-11 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-08-11 19:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332830720001,"66":12809,"235":206,"17":42496,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,17,24,16,45]} 
[2026-08-11 19:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332830720001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:25:12] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 19:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332830720001,"power":12809,"unknown_235":206,"axis_x":42496,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":152826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:25:12] local.INFO: GPS data processed {"connection_id":152826,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:25:12] local.INFO: Acknowledgment sent {"connection_id":152826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:25:16] local.INFO: TCP Data received {"connection_id":152826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff119cde0012d1d9140071b2d88003e010421..."} 
[2026-08-11 19:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff119cde0012d1d9140071b2d88003e010421..."} 
[2026-08-11 19:25:16] local.INFO: Processing buffer {"connection_id":152826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff119cde0012d1d9140071b2d88003e010421..."} 
[2026-08-11 19:25:16] local.INFO: Packet analysis {"connection_id":152826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff119"} 
[2026-08-11 19:25:16] local.INFO: Extracted packet for processing {"connection_id":152826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff119"} 
[2026-08-11 19:25:16] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":33,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332836096001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,17,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786456428000,"timestamp_ms":1786456428000,"timestamp_seconds":1786456428,"priority":1,"record_length":96,"hex_timestamp":"0000019ff119cde0"} 
[2026-08-11 19:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:25: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-08-11 19: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-11 19:25:16] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2785024000,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:16] local.WARNING: Large IO value detected {"io_id":241,"raw_value":1657078377319600448,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4044837160,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1240137934,"corrected_to":0} 
[2026-08-11 19:25:16] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146319495770607,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:16] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1958370947597665316,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:16] local.WARNING: Large IO value detected {"io_id":166,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:16] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,235,17,24,241,16,159,45,64,62,37,10,66,153,36,71,1,240,63,27,4,113,205,163,145,136,239,50,2,42,7,166,9],"length":535,"final_offset":665,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1240137934,"validated":0}]} 
[2026-08-11 19:25:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467856866583511040,"timestamp_seconds":4467856866583511.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 19:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332836096001,"66":12743,"235":206,"17":42496,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,17,24,16,45]} 
[2026-08-11 19:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332836096001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:25:16] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 19:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332836096001,"power":12743,"unknown_235":206,"axis_x":42496,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":152826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:25:16] local.INFO: GPS data processed {"connection_id":152826,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:25:16] local.INFO: Acknowledgment sent {"connection_id":152826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:25:24] local.INFO: TCP Data received {"connection_id":153762,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:25:24] local.INFO: Processing buffer {"connection_id":153762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:25:24] local.INFO: IMEI packet received {"connection_id":153762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":153762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:25:25] local.INFO: TCP Data received {"connection_id":153762,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:25:25] local.INFO: Processing buffer {"connection_id":153762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:25:25] local.INFO: IMEI packet received {"connection_id":153762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":153762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:25:27] local.INFO: TCP Data received {"connection_id":153762,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11a7da8012d7f684005afba500005010d2d..."} 
[2026-08-11 19:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11a7da8012d7f684005afba500005010d2d..."} 
[2026-08-11 19:25:27] local.INFO: Processing buffer {"connection_id":153762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11a7da8012d7f684005afba500005010d2d..."} 
[2026-08-11 19:25:27] local.INFO: Packet analysis {"connection_id":153762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11a"} 
[2026-08-11 19:25:27] local.INFO: Extracted packet for processing {"connection_id":153762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11a"} 
[2026-08-11 19:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763324480,"raw_latitude":95402576,"longitude_deg":76.332448,"latitude_deg":9.5402576,"altitude":5,"angle":269,"satellites":45,"speed":23,"hex_longitude":"2d7f6840","hex_latitude":"05afba50","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332855296001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377973052081700864,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9184247039514949632,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786456473000,"timestamp_ms":1786456473000,"timestamp_seconds":1786456473,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11a7da8"} 
[2026-08-11 19:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 19:25:27] 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-08-11 19: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-08-11 19:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:25:27] 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-08-11 19:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332855296001,"66":27343,"250":206,"85":12544,"24":23,"16":377973052081700864,"45":9184247039514949632},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332855296001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:25:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377973052081700864,"km_value":377973052081700.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9184247039514949632,"description":"Unknown IO ID 45"} 
[2026-08-11 19:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332855296001,"power":27343,"unknown_250":206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9184247039514949632}} 
[2026-08-11 19:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":153762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:25:27] local.INFO: GPS data processed {"connection_id":153762,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:25:27] local.INFO: Acknowledgment sent {"connection_id":153762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:25:28] local.INFO: TCP Data received {"connection_id":153762,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11ab458012d7f430005afb8280002010f2e..."} 
[2026-08-11 19:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11ab458012d7f430005afb8280002010f2e..."} 
[2026-08-11 19:25:28] local.INFO: Processing buffer {"connection_id":153762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11ab458012d7f430005afb8280002010f2e..."} 
[2026-08-11 19:25:28] local.INFO: Packet analysis {"connection_id":153762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11a"} 
[2026-08-11 19:25:28] local.INFO: Extracted packet for processing {"connection_id":153762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11a"} 
[2026-08-11 19:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763314944,"raw_latitude":95402024,"longitude_deg":76.3314944,"latitude_deg":9.5402024,"altitude":2,"angle":271,"satellites":46,"speed":21,"hex_longitude":"2d7f4300","hex_latitude":"05afb828","is_valid_coordinates":true} 
[2026-08-11 19:25: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-08-11 19:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332857088001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377973507348234240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9180658233561993216,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786456487000,"timestamp_ms":1786456487000,"timestamp_seconds":1786456487,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11ab458"} 
[2026-08-11 19:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19:25: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 19:25:28] 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-08-11 19:25: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-08-11 19:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:25:28] 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-08-11 19:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332857088001,"66":27463,"250":206,"85":12544,"24":21,"16":377973507348234240,"45":9180658233561993216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332857088001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:25:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:25:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377973507348234240,"km_value":377973507348234.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9180658233561993216,"description":"Unknown IO ID 45"} 
[2026-08-11 19:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332857088001,"power":27463,"unknown_250":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":9180658233561993216}} 
[2026-08-11 19:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":153762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:25:29] local.INFO: GPS data processed {"connection_id":153762,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:25:29] local.INFO: Acknowledgment sent {"connection_id":153762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:25:47] local.INFO: TCP Data received {"connection_id":152826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11a1fe8012d1d9140071b2d88003e010422..."} 
[2026-08-11 19:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11a1fe8012d1d9140071b2d88003e010422..."} 
[2026-08-11 19:25:47] local.INFO: Processing buffer {"connection_id":152826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11a1fe8012d1d9140071b2d88003e010422..."} 
[2026-08-11 19:25:47] local.INFO: Packet analysis {"connection_id":152826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11a"} 
[2026-08-11 19:25:47] local.INFO: Extracted packet for processing {"connection_id":152826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11a"} 
[2026-08-11 19:25:47] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":34,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332845568001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786456449000,"timestamp_ms":1786456449000,"timestamp_seconds":1786456449,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11a1fe8"} 
[2026-08-11 19:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:25: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-08-11 19: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-11 19:25:47] 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-08-11 19: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-08-11 19:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332845568001,"66":12776,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332845568001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:25:47] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:25:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332845568001,"power":12776,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":152826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:25:47] local.INFO: GPS data processed {"connection_id":152826,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:25:47] local.INFO: Acknowledgment sent {"connection_id":152826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:26:00] local.INFO: TCP Data received {"connection_id":153762,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11ad780012d7f3b4005afb830000400f32e..."} 
[2026-08-11 19:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11ad780012d7f3b4005afb830000400f32e..."} 
[2026-08-11 19:26:00] local.INFO: Processing buffer {"connection_id":153762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11ad780012d7f3b4005afb830000400f32e..."} 
[2026-08-11 19:26:00] local.INFO: Packet analysis {"connection_id":153762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11a"} 
[2026-08-11 19:26:00] local.INFO: Extracted packet for processing {"connection_id":153762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11a"} 
[2026-08-11 19:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763312960,"raw_latitude":95402032,"longitude_deg":76.331296,"latitude_deg":9.5402032,"altitude":4,"angle":243,"satellites":46,"speed":8,"hex_longitude":"2d7f3b40","hex_latitude":"05afb830","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332860672001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377973601837514752,"note":"Value kept but may cause issues"} 
[2026-08-11 19:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170173290679379968,"note":"Value kept but may cause issues"} 
[2026-08-11 19:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786456496000,"timestamp_ms":1786456496000,"timestamp_seconds":1786456496,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11ad780"} 
[2026-08-11 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-08-11 19:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 19:26:00] 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-08-11 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-08-11 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-08-11 19:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:26:00] 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-08-11 19:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332860672001,"66":27397,"250":206,"85":12544,"24":8,"16":377973601837514752,"45":9170173290679379968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-11 19:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332860672001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:26:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-11 19:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377973601837514752,"km_value":377973601837514.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170173290679379968,"description":"Unknown IO ID 45"} 
[2026-08-11 19:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332860672001,"power":27397,"unknown_250":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9170173290679379968}} 
[2026-08-11 19:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":153762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:26:00] local.INFO: GPS data processed {"connection_id":153762,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:26:00] local.INFO: Acknowledgment sent {"connection_id":153762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:26:10] local.INFO: TCP Data received {"connection_id":153763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:26:10] local.INFO: Processing buffer {"connection_id":153763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:26:10] local.INFO: IMEI packet received {"connection_id":153763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":153763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:26:16] local.INFO: TCP Data received {"connection_id":152827,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:26:16] local.INFO: Processing buffer {"connection_id":152827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:26:16] local.INFO: IMEI packet received {"connection_id":152827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":152827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:26:18] local.INFO: TCP Data received {"connection_id":153763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:26:18] local.INFO: Processing buffer {"connection_id":153763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:26:18] local.INFO: IMEI packet received {"connection_id":153763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":153763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:26:19] local.INFO: TCP Data received {"connection_id":152827,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:26:19] local.INFO: Processing buffer {"connection_id":152827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:26:19] local.INFO: IMEI packet received {"connection_id":152827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":152827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:26:19] local.INFO: TCP Data received {"connection_id":152827,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:26:19] local.INFO: Processing buffer {"connection_id":152827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:26:19] local.INFO: IMEI packet received {"connection_id":152827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":152827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:26:19] local.INFO: TCP Data received {"connection_id":153763,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11a7da8012d1d9140071b2d88003e010421..."} 
[2026-08-11 19:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11a7da8012d1d9140071b2d88003e010421..."} 
[2026-08-11 19:26:19] local.INFO: Processing buffer {"connection_id":153763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11a7da8012d1d9140071b2d88003e010421..."} 
[2026-08-11 19:26:19] local.INFO: Packet analysis {"connection_id":153763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11a"} 
[2026-08-11 19:26:19] local.INFO: Extracted packet for processing {"connection_id":153763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11a"} 
[2026-08-11 19:26:19] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":33,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19:26: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-08-11 19:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332850944001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786456473000,"timestamp_ms":1786456473000,"timestamp_seconds":1786456473,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11a7da8"} 
[2026-08-11 19:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:26:19] 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-08-11 19:26: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-11 19:26:19] 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-08-11 19:26: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-08-11 19:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332850944001,"66":12711,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332850944001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:26:19] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:26:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332850944001,"power":12711,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":153763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:26:20] local.INFO: GPS data processed {"connection_id":153763,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:26:20] local.INFO: Acknowledgment sent {"connection_id":153763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:26:20] local.INFO: TCP Data received {"connection_id":152827,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:26:20] local.INFO: Processing buffer {"connection_id":152827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:26:20] local.INFO: IMEI packet received {"connection_id":152827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":152827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:26:25] local.INFO: TCP Data received {"connection_id":153763,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11acfb0012d1d9140071b2d88003e010422..."} 
[2026-08-11 19:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11acfb0012d1d9140071b2d88003e010422..."} 
[2026-08-11 19:26:25] local.INFO: Processing buffer {"connection_id":153763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11acfb0012d1d9140071b2d88003e010422..."} 
[2026-08-11 19:26:25] local.INFO: Packet analysis {"connection_id":153763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11a"} 
[2026-08-11 19:26:25] local.INFO: Extracted packet for processing {"connection_id":153763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11a"} 
[2026-08-11 19:26:25] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":34,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332857088001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786456494000,"timestamp_ms":1786456494000,"timestamp_seconds":1786456494,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11acfb0"} 
[2026-08-11 19:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:26: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-08-11 19: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-11 19:26:25] 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-08-11 19: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-08-11 19:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332857088001,"66":11874,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332857088001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:26:25] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:26:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332857088001,"power":11874,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":153763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:26:25] local.INFO: GPS data processed {"connection_id":153763,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:26:25] local.INFO: Acknowledgment sent {"connection_id":153763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:27:09] local.INFO: TCP Data received {"connection_id":152418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:27:09] local.INFO: Processing buffer {"connection_id":152418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:27:09] local.INFO: IMEI packet received {"connection_id":152418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":152418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:27:14] local.INFO: TCP Data received {"connection_id":152418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:27:14] local.INFO: Processing buffer {"connection_id":152418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:27:14] local.INFO: IMEI packet received {"connection_id":152418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":152418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:27:15] local.INFO: TCP Data received {"connection_id":152418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11b21b8012d1d9140071b2d88003e010423..."} 
[2026-08-11 19:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11b21b8012d1d9140071b2d88003e010423..."} 
[2026-08-11 19:27:15] local.INFO: Processing buffer {"connection_id":152418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11b21b8012d1d9140071b2d88003e010423..."} 
[2026-08-11 19:27:15] local.INFO: Packet analysis {"connection_id":152418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11b"} 
[2026-08-11 19:27:15] local.INFO: Extracted packet for processing {"connection_id":152418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11b"} 
[2026-08-11 19:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":35,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332862464001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786456515000,"timestamp_ms":1786456515000,"timestamp_seconds":1786456515,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11b21b8"} 
[2026-08-11 19:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:27: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-08-11 19: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 19:27:15] 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-08-11 19: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-08-11 19:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332862464001,"66":12689,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332862464001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:27:15] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332862464001,"power":12689,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":152418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:27:15] local.INFO: GPS data processed {"connection_id":152418,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:27:15] local.INFO: Acknowledgment sent {"connection_id":152418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:27:46] local.INFO: TCP Data received {"connection_id":152418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11b73c0012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11b73c0012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:27:46] local.INFO: Processing buffer {"connection_id":152418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11b73c0012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:27:46] local.INFO: Packet analysis {"connection_id":152418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11b"} 
[2026-08-11 19:27:46] local.INFO: Extracted packet for processing {"connection_id":152418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11b"} 
[2026-08-11 19:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":38,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19:27: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-08-11 19:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332867840001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786456536000,"timestamp_ms":1786456536000,"timestamp_seconds":1786456536,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11b73c0"} 
[2026-08-11 19:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:27: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-08-11 19:27: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-11 19:27:46] 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-08-11 19:27: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-08-11 19:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332867840001,"66":12678,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332867840001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:27:46] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332867840001,"power":12678,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":152418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:27:47] local.INFO: GPS data processed {"connection_id":152418,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:27:47] local.INFO: Acknowledgment sent {"connection_id":152418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:28:09] local.INFO: TCP Data received {"connection_id":152419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:28:09] local.INFO: Processing buffer {"connection_id":152419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:28:09] local.INFO: IMEI packet received {"connection_id":152419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":152419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:28:14] local.INFO: TCP Data received {"connection_id":152419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:28:14] local.INFO: Processing buffer {"connection_id":152419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:28:14] local.INFO: IMEI packet received {"connection_id":152419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":152419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:28:15] local.INFO: TCP Data received {"connection_id":152419,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11bc5c8012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11bc5c8012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:28:15] local.INFO: Processing buffer {"connection_id":152419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11bc5c8012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:28:15] local.INFO: Packet analysis {"connection_id":152419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11b"} 
[2026-08-11 19:28:15] local.INFO: Extracted packet for processing {"connection_id":152419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11b"} 
[2026-08-11 19:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":37,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19:28: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-08-11 19:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332873216001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786456557000,"timestamp_ms":1786456557000,"timestamp_seconds":1786456557,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11bc5c8"} 
[2026-08-11 19:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:28: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-08-11 19:28: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 19:28:15] 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-08-11 19:28: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-08-11 19:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332873216001,"66":12363,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332873216001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:28:15] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332873216001,"power":12363,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":152419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:28:15] local.INFO: GPS data processed {"connection_id":152419,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:28:15] local.INFO: Acknowledgment sent {"connection_id":152419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:28:47] local.INFO: TCP Data received {"connection_id":152419,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11c17d0012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11c17d0012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:28:47] local.INFO: Processing buffer {"connection_id":152419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11c17d0012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:28:47] local.INFO: Packet analysis {"connection_id":152419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11c"} 
[2026-08-11 19:28:47] local.INFO: Extracted packet for processing {"connection_id":152419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11c"} 
[2026-08-11 19:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":37,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19:28: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-08-11 19:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332878592001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786456578000,"timestamp_ms":1786456578000,"timestamp_seconds":1786456578,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11c17d0"} 
[2026-08-11 19:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:28: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-08-11 19:28: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-11 19:28:47] 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-08-11 19:28: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-08-11 19:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332878592001,"66":12645,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332878592001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:28:47] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332878592001,"power":12645,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":152419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:28:47] local.INFO: GPS data processed {"connection_id":152419,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:28:47] local.INFO: Acknowledgment sent {"connection_id":152419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:29:19] local.INFO: TCP Data received {"connection_id":155135,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:29:19] local.INFO: Processing buffer {"connection_id":155135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:29:19] local.INFO: IMEI packet received {"connection_id":155135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":155135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:29:23] local.INFO: TCP Data received {"connection_id":155135,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:29:23] local.INFO: Processing buffer {"connection_id":155135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:29:23] local.INFO: IMEI packet received {"connection_id":155135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":155135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:29:31] local.INFO: TCP Data received {"connection_id":155135,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:29:31] local.INFO: Processing buffer {"connection_id":155135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:29:31] local.INFO: IMEI packet received {"connection_id":155135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":155135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:29:32] local.INFO: TCP Data received {"connection_id":155135,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11c69d8012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11c69d8012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:29:32] local.INFO: Processing buffer {"connection_id":155135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11c69d8012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:29:32] local.INFO: Packet analysis {"connection_id":155135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11c"} 
[2026-08-11 19:29:32] local.INFO: Extracted packet for processing {"connection_id":155135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11c"} 
[2026-08-11 19:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":38,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332883968001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786456599000,"timestamp_ms":1786456599000,"timestamp_seconds":1786456599,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11c69d8"} 
[2026-08-11 19:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:29: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-08-11 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 19:29:32] 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-08-11 19: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-08-11 19:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":155135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":155135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":155135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332883968001,"66":12645,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332883968001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:29:32] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:29:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332883968001,"power":12645,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":155135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:29:32] local.INFO: GPS data processed {"connection_id":155135,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:29:32] local.INFO: Acknowledgment sent {"connection_id":155135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:29:33] local.INFO: TCP Data received {"connection_id":155135,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11cbbe0012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11cbbe0012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:29:33] local.INFO: Processing buffer {"connection_id":155135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11cbbe0012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:29:33] local.INFO: Packet analysis {"connection_id":155135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11c"} 
[2026-08-11 19:29:33] local.INFO: Extracted packet for processing {"connection_id":155135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11c"} 
[2026-08-11 19:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":37,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332889344001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786456620000,"timestamp_ms":1786456620000,"timestamp_seconds":1786456620,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11cbbe0"} 
[2026-08-11 19:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:29: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-08-11 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-11 19:29:33] 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-08-11 19:29: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-08-11 19:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":155135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":155135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":155135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332889344001,"66":12667,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332889344001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:29:33] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:29:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332889344001,"power":12667,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":155135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:29:33] local.INFO: GPS data processed {"connection_id":155135,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:29:33] local.INFO: Acknowledgment sent {"connection_id":155135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:30:14] local.INFO: TCP Data received {"connection_id":152421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:30:14] local.INFO: Processing buffer {"connection_id":152421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:30:14] local.INFO: IMEI packet received {"connection_id":152421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":152421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:30:19] local.INFO: TCP Data received {"connection_id":152421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:30:19] local.INFO: Processing buffer {"connection_id":152421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:30:19] local.INFO: IMEI packet received {"connection_id":152421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":152421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:30:20] local.INFO: TCP Data received {"connection_id":152421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11d0de8012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11d0de8012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:30:20] local.INFO: Processing buffer {"connection_id":152421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11d0de8012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:30:20] local.INFO: Packet analysis {"connection_id":152421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11d"} 
[2026-08-11 19:30:20] local.INFO: Extracted packet for processing {"connection_id":152421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11d"} 
[2026-08-11 19:30:20] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":38,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19:30: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-08-11 19:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332894720001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786456641000,"timestamp_ms":1786456641000,"timestamp_seconds":1786456641,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11d0de8"} 
[2026-08-11 19:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:30:20] 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-08-11 19:30: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-11 19:30:20] 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-08-11 19:30: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-08-11 19:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332894720001,"66":12504,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332894720001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:30:20] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:30:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332894720001,"power":12504,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":152421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:30:21] local.INFO: GPS data processed {"connection_id":152421,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:30:21] local.INFO: Acknowledgment sent {"connection_id":152421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:30:55] local.INFO: TCP Data received {"connection_id":152421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11d5ff0012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11d5ff0012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:30:55] local.INFO: Processing buffer {"connection_id":152421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11d5ff0012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:30:55] local.INFO: Packet analysis {"connection_id":152421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11d"} 
[2026-08-11 19:30:55] local.INFO: Extracted packet for processing {"connection_id":152421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11d"} 
[2026-08-11 19:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":37,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332900096001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786456662000,"timestamp_ms":1786456662000,"timestamp_seconds":1786456662,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11d5ff0"} 
[2026-08-11 19:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:30: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-08-11 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 19:30: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-08-11 19: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-08-11 19:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332900096001,"66":12591,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332900096001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:30:55] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332900096001,"power":12591,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":152421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:30:55] local.INFO: GPS data processed {"connection_id":152421,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:30:55] local.INFO: Acknowledgment sent {"connection_id":152421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:31:11] local.INFO: TCP Data received {"connection_id":155136,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:31:11] local.INFO: Processing buffer {"connection_id":155136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:31:11] local.INFO: IMEI packet received {"connection_id":155136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":155136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:31:14] local.INFO: TCP Data received {"connection_id":155136,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:31:14] local.INFO: Processing buffer {"connection_id":155136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:31:14] local.INFO: IMEI packet received {"connection_id":155136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":155136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:31:15] local.INFO: TCP Data received {"connection_id":155136,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11db1f8012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11db1f8012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:31:15] local.INFO: Processing buffer {"connection_id":155136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11db1f8012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:31:15] local.INFO: Packet analysis {"connection_id":155136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11d"} 
[2026-08-11 19:31:15] local.INFO: Extracted packet for processing {"connection_id":155136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11d"} 
[2026-08-11 19:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":38,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332905472001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786456683000,"timestamp_ms":1786456683000,"timestamp_seconds":1786456683,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11db1f8"} 
[2026-08-11 19:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:31:15] 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-08-11 19: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 19:31:15] 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-08-11 19: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-08-11 19:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332905472001,"66":12613,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332905472001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:31:15] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332905472001,"power":12613,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":155136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:31:15] local.INFO: GPS data processed {"connection_id":155136,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:31:15] local.INFO: Acknowledgment sent {"connection_id":155136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:31:24] local.INFO: TCP Data received {"connection_id":152828,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:31:24] local.INFO: Processing buffer {"connection_id":152828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:31:24] local.INFO: IMEI packet received {"connection_id":152828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":152828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:31:25] local.INFO: TCP Data received {"connection_id":152828,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11ed6f0012d7ea0c005b0dbe8000a000030..."} 
[2026-08-11 19:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11ed6f0012d7ea0c005b0dbe8000a000030..."} 
[2026-08-11 19:31:25] local.INFO: Processing buffer {"connection_id":152828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11ed6f0012d7ea0c005b0dbe8000a000030..."} 
[2026-08-11 19:31:25] local.INFO: Packet analysis {"connection_id":152828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11e"} 
[2026-08-11 19:31:25] local.INFO: Extracted packet for processing {"connection_id":152828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11e"} 
[2026-08-11 19:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763273408,"raw_latitude":95476712,"longitude_deg":76.3273408,"latitude_deg":9.5476712,"altitude":10,"angle":0,"satellites":48,"speed":31,"hex_longitude":"2d7ea0c0","hex_latitude":"05b0dbe8","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332928768001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377981495987404800,"note":"Value kept but may cause issues"} 
[2026-08-11 19:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729919540367360,"note":"Value kept but may cause issues"} 
[2026-08-11 19:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786456758000,"timestamp_ms":1786456758000,"timestamp_seconds":1786456758,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11ed6f0"} 
[2026-08-11 19:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 19:31:25] 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-08-11 19: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-08-11 19:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:31:25] 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-08-11 19:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332928768001,"66":27376,"251":206,"85":12544,"24":31,"16":377981495987404800,"45":9123729919540367360},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-11 19:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332928768001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:31:25] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-11 19:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377981495987404800,"km_value":377981495987404.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729919540367360,"description":"Unknown IO ID 45"} 
[2026-08-11 19:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332928768001,"power":27376,"unknown_251":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9123729919540367360}} 
[2026-08-11 19:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":152828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:31:25] local.INFO: GPS data processed {"connection_id":152828,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:31:25] local.INFO: Acknowledgment sent {"connection_id":152828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:31:46] local.INFO: TCP Data received {"connection_id":155136,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11e0400012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11e0400012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:31:46] local.INFO: Processing buffer {"connection_id":155136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11e0400012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:31:46] local.INFO: Packet analysis {"connection_id":155136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11e"} 
[2026-08-11 19:31:46] local.INFO: Extracted packet for processing {"connection_id":155136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11e"} 
[2026-08-11 19:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":37,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19:31: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-08-11 19:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332910848001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786456704000,"timestamp_ms":1786456704000,"timestamp_seconds":1786456704,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11e0400"} 
[2026-08-11 19:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:31: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-08-11 19:31: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-11 19:31:46] 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-08-11 19:31: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-08-11 19:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":155136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":155136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":155136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332910848001,"66":12591,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332910848001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:31:46] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:31:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332910848001,"power":12591,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":155136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:31:46] local.INFO: GPS data processed {"connection_id":155136,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:31:46] local.INFO: Acknowledgment sent {"connection_id":155136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:31:56] local.INFO: TCP Data received {"connection_id":152828,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1206948012d7eb88005b2e430000c01662d..."} 
[2026-08-11 19:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1206948012d7eb88005b2e430000c01662d..."} 
[2026-08-11 19:31:56] local.INFO: Processing buffer {"connection_id":152828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1206948012d7eb88005b2e430000c01662d..."} 
[2026-08-11 19:31:56] local.INFO: Packet analysis {"connection_id":152828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff120"} 
[2026-08-11 19:31:56] local.INFO: Extracted packet for processing {"connection_id":152828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff120"} 
[2026-08-11 19:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763279488,"raw_latitude":95609904,"longitude_deg":76.3279488,"latitude_deg":9.5609904,"altitude":12,"angle":358,"satellites":45,"speed":54,"hex_longitude":"2d7eb880","hex_latitude":"05b2e430","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332954624001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377987968503119872,"note":"Value kept but may cause issues"} 
[2026-08-11 19:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131540850176616448,"note":"Value kept but may cause issues"} 
[2026-08-11 19:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786456861000,"timestamp_ms":1786456861000,"timestamp_seconds":1786456861,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1206948"} 
[2026-08-11 19:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 19:31:56] 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-08-11 19: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-08-11 19:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:31:56] 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-08-11 19:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332954624001,"66":27310,"58":206,"85":12544,"24":54,"16":377987968503119872,"45":9131540850176616448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-08-11 19:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332954624001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:31:56] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 19:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377987968503119872,"km_value":377987968503119.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131540850176616448,"description":"Unknown IO ID 45"} 
[2026-08-11 19:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332954624001,"power":27310,"unknown_58":206,"unknown_85":12544,"ignition":54,"odometer":null,"unknown_45":9131540850176616448}} 
[2026-08-11 19:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":152828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:31:56] local.INFO: GPS data processed {"connection_id":152828,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:31:56] local.INFO: Acknowledgment sent {"connection_id":152828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:32:11] local.INFO: TCP Data received {"connection_id":153765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:32:11] local.INFO: Processing buffer {"connection_id":153765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:32:11] local.INFO: IMEI packet received {"connection_id":153765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":153765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:32:14] local.INFO: TCP Data received {"connection_id":153765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:32:14] local.INFO: Processing buffer {"connection_id":153765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:32:14] local.INFO: IMEI packet received {"connection_id":153765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":153765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:32:20] local.INFO: TCP Data received {"connection_id":153765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:32:20] local.INFO: Processing buffer {"connection_id":153765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:32:20] local.INFO: IMEI packet received {"connection_id":153765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":153765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:32:20] local.INFO: TCP Data received {"connection_id":153765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11e5608012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11e5608012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:32:20] local.INFO: Processing buffer {"connection_id":153765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11e5608012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:32:20] local.INFO: Packet analysis {"connection_id":153765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11e"} 
[2026-08-11 19:32:20] local.INFO: Extracted packet for processing {"connection_id":153765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11e"} 
[2026-08-11 19:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":36,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332916224001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786456725000,"timestamp_ms":1786456725000,"timestamp_seconds":1786456725,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11e5608"} 
[2026-08-11 19:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:32:20] 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-08-11 19: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 19:32:20] 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-08-11 19: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-08-11 19:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332916224001,"66":12526,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332916224001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:32:20] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:32:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332916224001,"power":12526,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":153765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:32:20] local.INFO: GPS data processed {"connection_id":153765,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:32:20] local.INFO: Acknowledgment sent {"connection_id":153765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:32:23] local.INFO: TCP Data received {"connection_id":152829,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:32:23] local.INFO: Processing buffer {"connection_id":152829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:32:23] local.INFO: IMEI packet received {"connection_id":152829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":152829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:32:27] local.INFO: TCP Data received {"connection_id":152829,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:32:27] local.INFO: Processing buffer {"connection_id":152829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:32:27] local.INFO: IMEI packet received {"connection_id":152829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":152829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:32:28] local.INFO: TCP Data received {"connection_id":152829,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:32:28] local.INFO: Processing buffer {"connection_id":152829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:32:28] local.INFO: IMEI packet received {"connection_id":152829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":152829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:32:29] local.INFO: TCP Data received {"connection_id":152829,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12084a0012d7eb74005b30960000b01652d..."} 
[2026-08-11 19:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12084a0012d7eb74005b30960000b01652d..."} 
[2026-08-11 19:32:29] local.INFO: Processing buffer {"connection_id":152829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12084a0012d7eb74005b30960000b01652d..."} 
[2026-08-11 19:32:29] local.INFO: Packet analysis {"connection_id":152829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff120"} 
[2026-08-11 19:32:29] local.INFO: Extracted packet for processing {"connection_id":152829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff120"} 
[2026-08-11 19:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763279168,"raw_latitude":95619424,"longitude_deg":76.3279168,"latitude_deg":9.5619424,"altitude":11,"angle":357,"satellites":45,"speed":53,"hex_longitude":"2d7eb740","hex_latitude":"05b30960","is_valid_coordinates":true} 
[2026-08-11 19:32: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-08-11 19:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332956416001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377988428064620544,"note":"Value kept but may cause issues"} 
[2026-08-11 19:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131189006458171392,"note":"Value kept but may cause issues"} 
[2026-08-11 19:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786456868000,"timestamp_ms":1786456868000,"timestamp_seconds":1786456868,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12084a0"} 
[2026-08-11 19:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19:32: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":174,"data_length":795,"current_offset":136} 
[2026-08-11 19:32:29] 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-08-11 19:32: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-08-11 19:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:32:29] 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-08-11 19:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332956416001,"66":27332,"58":206,"85":12544,"24":53,"16":377988428064620544,"45":9131189006458171392},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-08-11 19:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332956416001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:32:29] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 19:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377988428064620544,"km_value":377988428064620.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131189006458171392,"description":"Unknown IO ID 45"} 
[2026-08-11 19:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332956416001,"power":27332,"unknown_58":206,"unknown_85":12544,"ignition":53,"odometer":null,"unknown_45":9131189006458171392}} 
[2026-08-11 19:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":152829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:32:29] local.INFO: GPS data processed {"connection_id":152829,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:32:29] local.INFO: Acknowledgment sent {"connection_id":152829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:32:54] local.INFO: TCP Data received {"connection_id":153765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11ea810012d1d9140071b2d88003e010422..."} 
[2026-08-11 19:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11ea810012d1d9140071b2d88003e010422..."} 
[2026-08-11 19:32:54] local.INFO: Processing buffer {"connection_id":153765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11ea810012d1d9140071b2d88003e010422..."} 
[2026-08-11 19:32:54] local.INFO: Packet analysis {"connection_id":153765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11e"} 
[2026-08-11 19:32:54] local.INFO: Extracted packet for processing {"connection_id":153765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11e"} 
[2026-08-11 19:32:54] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":34,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332921600001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786456746000,"timestamp_ms":1786456746000,"timestamp_seconds":1786456746,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11ea810"} 
[2026-08-11 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-08-11 19:32: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-08-11 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 19:32: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-08-11 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-08-11 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-08-11 19:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":153765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":153765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":153765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332921600001,"66":12526,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332921600001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:32:54] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:32:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332921600001,"power":12526,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":153765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:32:55] local.INFO: GPS data processed {"connection_id":153765,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:32:55] local.INFO: Acknowledgment sent {"connection_id":153765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:33:01] local.INFO: TCP Data received {"connection_id":152829,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1209ff8012d7eb64005b32db8000a01662c..."} 
[2026-08-11 19:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1209ff8012d7eb64005b32db8000a01662c..."} 
[2026-08-11 19:33:01] local.INFO: Processing buffer {"connection_id":152829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1209ff8012d7eb64005b32db8000a01662c..."} 
[2026-08-11 19:33:01] local.INFO: Packet analysis {"connection_id":152829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff120"} 
[2026-08-11 19:33:01] local.INFO: Extracted packet for processing {"connection_id":152829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff120"} 
[2026-08-11 19:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763278912,"raw_latitude":95628728,"longitude_deg":76.3278912,"latitude_deg":9.5628728,"altitude":10,"angle":358,"satellites":44,"speed":52,"hex_longitude":"2d7eb640","hex_latitude":"05b32db8","is_valid_coordinates":true} 
[2026-08-11 19:33: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-08-11 19:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332958208001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377988879036186624,"note":"Value kept but may cause issues"} 
[2026-08-11 19:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130837162739720192,"note":"Value kept but may cause issues"} 
[2026-08-11 19:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786456875000,"timestamp_ms":1786456875000,"timestamp_seconds":1786456875,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1209ff8"} 
[2026-08-11 19:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19:33: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-08-11 19:33: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-08-11 19:33: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-08-11 19:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:33:01] 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-08-11 19:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332958208001,"66":27365,"58":206,"85":12544,"24":52,"16":377988879036186624,"45":9130837162739720192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-08-11 19:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332958208001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:33:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 19:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377988879036186624,"km_value":377988879036186.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130837162739720192,"description":"Unknown IO ID 45"} 
[2026-08-11 19:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332958208001,"power":27365,"unknown_58":206,"unknown_85":12544,"ignition":52,"odometer":null,"unknown_45":9130837162739720192}} 
[2026-08-11 19:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":152829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:33:01] local.INFO: GPS data processed {"connection_id":152829,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:33:01] local.INFO: Acknowledgment sent {"connection_id":152829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:33:09] local.INFO: TCP Data received {"connection_id":153766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:33:09] local.INFO: Processing buffer {"connection_id":153766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:33:09] local.INFO: IMEI packet received {"connection_id":153766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":153766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:33:14] local.INFO: TCP Data received {"connection_id":153766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:33:14] local.INFO: Processing buffer {"connection_id":153766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:33:14] local.INFO: IMEI packet received {"connection_id":153766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":153766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:33:15] local.INFO: TCP Data received {"connection_id":153766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11efa18012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11efa18012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:33:15] local.INFO: Processing buffer {"connection_id":153766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11efa18012d1d9140071b2d88003e010426..."} 
[2026-08-11 19:33:15] local.INFO: Packet analysis {"connection_id":153766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11e"} 
[2026-08-11 19:33:15] local.INFO: Extracted packet for processing {"connection_id":153766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11e"} 
[2026-08-11 19:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":38,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332926976001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786456767000,"timestamp_ms":1786456767000,"timestamp_seconds":1786456767,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11efa18"} 
[2026-08-11 19:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:33:15] 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-08-11 19: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 19:33:15] 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-08-11 19: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-08-11 19:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332926976001,"66":12526,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332926976001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:33:15] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332926976001,"power":12526,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":153766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:33:15] local.INFO: GPS data processed {"connection_id":153766,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:33:15] local.INFO: Acknowledgment sent {"connection_id":153766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:33:24] local.INFO: TCP Data received {"connection_id":152830,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:33:24] local.INFO: Processing buffer {"connection_id":152830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:33:24] local.INFO: IMEI packet received {"connection_id":152830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":152830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:33:24] local.INFO: TCP Data received {"connection_id":152830,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:33:24] local.INFO: Processing buffer {"connection_id":152830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:33:24] local.INFO: IMEI packet received {"connection_id":152830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":152830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:33:25] local.INFO: TCP Data received {"connection_id":152830,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff120bf38012d7eb54005b354d0000a00002b..."} 
[2026-08-11 19:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff120bf38012d7eb54005b354d0000a00002b..."} 
[2026-08-11 19:33:25] local.INFO: Processing buffer {"connection_id":152830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff120bf38012d7eb54005b354d0000a00002b..."} 
[2026-08-11 19:33:25] local.INFO: Packet analysis {"connection_id":152830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff120"} 
[2026-08-11 19:33:25] local.INFO: Extracted packet for processing {"connection_id":152830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff120"} 
[2026-08-11 19:33:25] local.INFO: GPS Element Parsed {"raw_longitude":763278656,"raw_latitude":95638736,"longitude_deg":76.3278656,"latitude_deg":9.5638736,"altitude":10,"angle":0,"satellites":43,"speed":46,"hex_longitude":"2d7eb540","hex_latitude":"05b354d0","is_valid_coordinates":true} 
[2026-08-11 19:33: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-08-11 19:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332960000001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377989364367491072,"note":"Value kept but may cause issues"} 
[2026-08-11 19:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130555687765391360,"note":"Value kept but may cause issues"} 
[2026-08-11 19:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786456883000,"timestamp_ms":1786456883000,"timestamp_seconds":1786456883,"priority":1,"record_length":96,"hex_timestamp":"0000019ff120bf38"} 
[2026-08-11 19:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19:33: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":229,"data_length":795,"current_offset":136} 
[2026-08-11 19:33:25] 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-08-11 19:33: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-08-11 19:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:33:25] 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-08-11 19:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332960000001,"66":27484,"58":206,"85":12544,"24":46,"16":377989364367491072,"45":9130555687765391360},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-08-11 19:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332960000001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:33:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 19:33:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377989364367491072,"km_value":377989364367491.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130555687765391360,"description":"Unknown IO ID 45"} 
[2026-08-11 19:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332960000001,"power":27484,"unknown_58":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9130555687765391360}} 
[2026-08-11 19:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":152830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:33:25] local.INFO: GPS data processed {"connection_id":152830,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:33:25] local.INFO: Acknowledgment sent {"connection_id":152830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:33:47] local.INFO: TCP Data received {"connection_id":153766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11f4c20012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11f4c20012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:33:47] local.INFO: Processing buffer {"connection_id":153766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11f4c20012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:33:47] local.INFO: Packet analysis {"connection_id":153766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11f"} 
[2026-08-11 19:33:47] local.INFO: Extracted packet for processing {"connection_id":153766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11f"} 
[2026-08-11 19:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":36,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332932352001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786456788000,"timestamp_ms":1786456788000,"timestamp_seconds":1786456788,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11f4c20"} 
[2026-08-11 19:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:33: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-08-11 19: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 19:33:47] 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-08-11 19: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-08-11 19:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332932352001,"66":12515,"109":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-11 19:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332932352001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:33:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 19:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332932352001,"power":12515,"unknown_109":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":153766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:33:47] local.INFO: GPS data processed {"connection_id":153766,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:33:47] local.INFO: Acknowledgment sent {"connection_id":153766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:33:56] local.INFO: TCP Data received {"connection_id":152830,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff120de78012d7eb44005b37850000901652d..."} 
[2026-08-11 19:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff120de78012d7eb44005b37850000901652d..."} 
[2026-08-11 19:33:56] local.INFO: Processing buffer {"connection_id":152830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff120de78012d7eb44005b37850000901652d..."} 
[2026-08-11 19:33:56] local.INFO: Packet analysis {"connection_id":152830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff120"} 
[2026-08-11 19:33:56] local.INFO: Extracted packet for processing {"connection_id":152830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff120"} 
[2026-08-11 19:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763278400,"raw_latitude":95647824,"longitude_deg":76.32784,"latitude_deg":9.5647824,"altitude":9,"angle":357,"satellites":45,"speed":43,"hex_longitude":"2d7eb440","hex_latitude":"05b37850","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332962048001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377989806749122560,"note":"Value kept but may cause issues"} 
[2026-08-11 19:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130274212791242752,"note":"Value kept but may cause issues"} 
[2026-08-11 19:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786456891000,"timestamp_ms":1786456891000,"timestamp_seconds":1786456891,"priority":1,"record_length":96,"hex_timestamp":"0000019ff120de78"} 
[2026-08-11 19:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 19:33:56] 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-08-11 19: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-08-11 19:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:33:56] 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-08-11 19:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332962048001,"66":27332,"58":206,"85":12544,"24":43,"16":377989806749122560,"45":9130274212791242752},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-08-11 19:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332962048001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:33:56] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-11 19:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377989806749122560,"km_value":377989806749122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130274212791242752,"description":"Unknown IO ID 45"} 
[2026-08-11 19:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332962048001,"power":27332,"unknown_58":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9130274212791242752}} 
[2026-08-11 19:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":152830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:33:56] local.INFO: GPS data processed {"connection_id":152830,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:33:56] local.INFO: Acknowledgment sent {"connection_id":152830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:34:09] local.INFO: TCP Data received {"connection_id":155137,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:34:09] local.INFO: Processing buffer {"connection_id":155137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:34:09] local.INFO: IMEI packet received {"connection_id":155137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":155137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:34:15] local.INFO: TCP Data received {"connection_id":155137,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:34:15] local.INFO: Processing buffer {"connection_id":155137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:34:15] local.INFO: IMEI packet received {"connection_id":155137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":155137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:34:16] local.INFO: TCP Data received {"connection_id":155137,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11f9e28012d1d9140071b2d88003e010423..."} 
[2026-08-11 19:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11f9e28012d1d9140071b2d88003e010423..."} 
[2026-08-11 19:34:16] local.INFO: Processing buffer {"connection_id":155137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11f9e28012d1d9140071b2d88003e010423..."} 
[2026-08-11 19:34:16] local.INFO: Packet analysis {"connection_id":155137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11f"} 
[2026-08-11 19:34:16] local.INFO: Extracted packet for processing {"connection_id":155137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11f"} 
[2026-08-11 19:34:16] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":35,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332937728001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786456809000,"timestamp_ms":1786456809000,"timestamp_seconds":1786456809,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11f9e28"} 
[2026-08-11 19:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:34: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-08-11 19: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-11 19:34:16] 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-08-11 19: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-08-11 19:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":155137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":155137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":155137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332937728001,"66":11874,"109":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-11 19:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332937728001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:34:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 19:34:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332937728001,"power":11874,"unknown_109":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":155137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:34:16] local.INFO: GPS data processed {"connection_id":155137,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:34:16] local.INFO: Acknowledgment sent {"connection_id":155137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:34:18] local.INFO: TCP Data received {"connection_id":155138,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:34:18] local.INFO: Processing buffer {"connection_id":155138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:34:18] local.INFO: IMEI packet received {"connection_id":155138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":155138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:34:19] local.INFO: TCP Data received {"connection_id":155138,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:34:19] local.INFO: Processing buffer {"connection_id":155138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:34:19] local.INFO: IMEI packet received {"connection_id":155138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":155138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:34:24] local.INFO: TCP Data received {"connection_id":155138,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:34:24] local.INFO: Processing buffer {"connection_id":155138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:34:24] local.INFO: IMEI packet received {"connection_id":155138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":155138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:34:24] local.INFO: TCP Data received {"connection_id":155138,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12278a0012d7ea44005b50dd8000801672c..."} 
[2026-08-11 19:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12278a0012d7ea44005b50dd8000801672c..."} 
[2026-08-11 19:34:24] local.INFO: Processing buffer {"connection_id":155138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12278a0012d7ea44005b50dd8000801672c..."} 
[2026-08-11 19:34:24] local.INFO: Packet analysis {"connection_id":155138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff122"} 
[2026-08-11 19:34:24] local.INFO: Extracted packet for processing {"connection_id":155138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff122"} 
[2026-08-11 19:34:24] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95751640,"longitude_deg":76.3274304,"latitude_deg":9.575164,"altitude":8,"angle":359,"satellites":44,"speed":33,"hex_longitude":"2d7ea440","hex_latitude":"05b50dd8","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332988416001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377994844745760768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125840981934665728,"note":"Value kept but may cause issues"} 
[2026-08-11 19:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786456996000,"timestamp_ms":1786456996000,"timestamp_seconds":1786456996,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12278a0"} 
[2026-08-11 19:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 19:34: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-08-11 19: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-08-11 19:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:34:24] 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-08-11 19:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332988416001,"66":27517,"122":206,"85":12544,"24":33,"16":377994844745760768,"45":9125840981934665728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-11 19:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332988416001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:34:24] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 19:34:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377994844745760768,"km_value":377994844745760.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125840981934665728,"description":"Unknown IO ID 45"} 
[2026-08-11 19:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332988416001,"power":27517,"unknown_122":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9125840981934665728}} 
[2026-08-11 19:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":155138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:34:25] local.INFO: GPS data processed {"connection_id":155138,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:34:25] local.INFO: Acknowledgment sent {"connection_id":155138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:34:52] local.INFO: TCP Data received {"connection_id":155137,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff11ff030012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff11ff030012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:34:52] local.INFO: Processing buffer {"connection_id":155137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff11ff030012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:34:52] local.INFO: Packet analysis {"connection_id":155137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff11f"} 
[2026-08-11 19:34:52] local.INFO: Extracted packet for processing {"connection_id":155137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff11f"} 
[2026-08-11 19:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":36,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332943104001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786456830000,"timestamp_ms":1786456830000,"timestamp_seconds":1786456830,"priority":1,"record_length":96,"hex_timestamp":"0000019ff11ff030"} 
[2026-08-11 19:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:34: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-08-11 19: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 19:34:52] 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-08-11 19: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-08-11 19:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":155137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":155137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":155137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332943104001,"66":11906,"108":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-11 19:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332943104001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:34:52] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-11 19:34:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332943104001,"power":11906,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":155137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:34:52] local.INFO: GPS data processed {"connection_id":155137,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:34:52] local.INFO: Acknowledgment sent {"connection_id":155137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:34:56] local.INFO: TCP Data received {"connection_id":155138,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff122a398012d7ea48005b530c0000900002c..."} 
[2026-08-11 19:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff122a398012d7ea48005b530c0000900002c..."} 
[2026-08-11 19:34:56] local.INFO: Processing buffer {"connection_id":155138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff122a398012d7ea48005b530c0000900002c..."} 
[2026-08-11 19:34:56] local.INFO: Packet analysis {"connection_id":155138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff122"} 
[2026-08-11 19:34:56] local.INFO: Extracted packet for processing {"connection_id":155138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff122"} 
[2026-08-11 19:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763274368,"raw_latitude":95760576,"longitude_deg":76.3274368,"latitude_deg":9.5760576,"altitude":9,"angle":0,"satellites":44,"speed":31,"hex_longitude":"2d7ea480","hex_latitude":"05b530c0","is_valid_coordinates":true} 
[2026-08-11 19:34: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-08-11 19:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332990976001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377995278537457664,"note":"Value kept but may cause issues"} 
[2026-08-11 19:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138216065024,"note":"Value kept but may cause issues"} 
[2026-08-11 19:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786457007000,"timestamp_ms":1786457007000,"timestamp_seconds":1786457007,"priority":1,"record_length":96,"hex_timestamp":"0000019ff122a398"} 
[2026-08-11 19:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19:34: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":125,"data_length":795,"current_offset":136} 
[2026-08-11 19:34:56] 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-08-11 19:34: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-08-11 19:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:34:56] 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-08-11 19:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332990976001,"66":27343,"122":206,"85":12544,"24":31,"16":377995278537457664,"45":9125489138216065024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-11 19:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332990976001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:34:56] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 19:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377995278537457664,"km_value":377995278537457.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138216065024,"description":"Unknown IO ID 45"} 
[2026-08-11 19:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332990976001,"power":27343,"unknown_122":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9125489138216065024}} 
[2026-08-11 19:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":155138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:34:56] local.INFO: GPS data processed {"connection_id":155138,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:34:56] local.INFO: Acknowledgment sent {"connection_id":155138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:35:09] local.INFO: TCP Data received {"connection_id":152831,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:35:09] local.INFO: Processing buffer {"connection_id":152831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:35:09] local.INFO: IMEI packet received {"connection_id":152831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":152831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:35:15] local.INFO: TCP Data received {"connection_id":152831,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:35:15] local.INFO: Processing buffer {"connection_id":152831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:35:15] local.INFO: IMEI packet received {"connection_id":152831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":152831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:35:16] local.INFO: TCP Data received {"connection_id":152831,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1204238012d1d9140071b2d88003e010422..."} 
[2026-08-11 19:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1204238012d1d9140071b2d88003e010422..."} 
[2026-08-11 19:35:16] local.INFO: Processing buffer {"connection_id":152831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1204238012d1d9140071b2d88003e010422..."} 
[2026-08-11 19:35:16] local.INFO: Packet analysis {"connection_id":152831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff120"} 
[2026-08-11 19:35:16] local.INFO: Extracted packet for processing {"connection_id":152831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff120"} 
[2026-08-11 19:35:16] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":34,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332948480001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786456851000,"timestamp_ms":1786456851000,"timestamp_seconds":1786456851,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1204238"} 
[2026-08-11 19:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:35: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-08-11 19: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-08-11 19:35:16] 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-08-11 19: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-08-11 19:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332948480001,"66":12504,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332948480001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:35:16] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:35:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332948480001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":152831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:35:16] local.INFO: GPS data processed {"connection_id":152831,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:35:16] local.INFO: Acknowledgment sent {"connection_id":152831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:35:19] local.INFO: TCP Data received {"connection_id":152422,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:35:19] local.INFO: Processing buffer {"connection_id":152422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:35:19] local.INFO: IMEI packet received {"connection_id":152422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":152422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:35:24] local.INFO: TCP Data received {"connection_id":152422,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:35:24] local.INFO: Processing buffer {"connection_id":152422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:35:24] local.INFO: IMEI packet received {"connection_id":152422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":152422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:35:24] local.INFO: TCP Data received {"connection_id":152422,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff122d660012d7ea54005b558c8000900002c..."} 
[2026-08-11 19:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff122d660012d7ea54005b558c8000900002c..."} 
[2026-08-11 19:35:24] local.INFO: Processing buffer {"connection_id":152422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff122d660012d7ea54005b558c8000900002c..."} 
[2026-08-11 19:35:24] local.INFO: Packet analysis {"connection_id":152422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff122"} 
[2026-08-11 19:35:24] local.INFO: Extracted packet for processing {"connection_id":152422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff122"} 
[2026-08-11 19:35:24] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95770824,"longitude_deg":76.327456,"latitude_deg":9.5770824,"altitude":9,"angle":0,"satellites":44,"speed":30,"hex_longitude":"2d7ea540","hex_latitude":"05b558c8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332993792001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377995776753664000,"note":"Value kept but may cause issues"} 
[2026-08-11 19:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125559506962530304,"note":"Value kept but may cause issues"} 
[2026-08-11 19:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786457020000,"timestamp_ms":1786457020000,"timestamp_seconds":1786457020,"priority":1,"record_length":96,"hex_timestamp":"0000019ff122d660"} 
[2026-08-11 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-08-11 19:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 19:35:24] 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-08-11 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-08-11 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-08-11 19:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:35:24] 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-08-11 19:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332993792001,"66":27321,"122":206,"85":12544,"24":30,"16":377995776753664000,"45":9125559506962530304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-11 19:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332993792001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:35:24] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 19:35:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377995776753664000,"km_value":377995776753664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125559506962530304,"description":"Unknown IO ID 45"} 
[2026-08-11 19:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332993792001,"power":27321,"unknown_122":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9125559506962530304}} 
[2026-08-11 19:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":152422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:35:24] local.INFO: GPS data processed {"connection_id":152422,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:35:24] local.INFO: Acknowledgment sent {"connection_id":152422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:35:47] local.INFO: TCP Data received {"connection_id":152831,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1209440012d1d9140071b2d88003e010423..."} 
[2026-08-11 19:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1209440012d1d9140071b2d88003e010423..."} 
[2026-08-11 19:35:47] local.INFO: Processing buffer {"connection_id":152831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1209440012d1d9140071b2d88003e010423..."} 
[2026-08-11 19:35:47] local.INFO: Packet analysis {"connection_id":152831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff120"} 
[2026-08-11 19:35:47] local.INFO: Extracted packet for processing {"connection_id":152831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff120"} 
[2026-08-11 19:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":35,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332953856001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786456872000,"timestamp_ms":1786456872000,"timestamp_seconds":1786456872,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1209440"} 
[2026-08-11 19:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:35: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-08-11 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 19:35:47] 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-08-11 19: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-08-11 19:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332953856001,"66":12504,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332953856001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:35:47] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332953856001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":152831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:35:47] local.INFO: GPS data processed {"connection_id":152831,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:35:47] local.INFO: Acknowledgment sent {"connection_id":152831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:35:55] local.INFO: TCP Data received {"connection_id":152422,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff122f1b8012d7ea6c005b56dd80009000e2d..."} 
[2026-08-11 19:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff122f1b8012d7ea6c005b56dd80009000e2d..."} 
[2026-08-11 19:35:55] local.INFO: Processing buffer {"connection_id":152422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff122f1b8012d7ea6c005b56dd80009000e2d..."} 
[2026-08-11 19:35:55] local.INFO: Packet analysis {"connection_id":152422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff122"} 
[2026-08-11 19:35:55] local.INFO: Extracted packet for processing {"connection_id":152422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff122"} 
[2026-08-11 19:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763274944,"raw_latitude":95776216,"longitude_deg":76.3274944,"latitude_deg":9.5776216,"altitude":9,"angle":14,"satellites":45,"speed":27,"hex_longitude":"2d7ea6c0","hex_latitude":"05b56dd8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332997120001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377996038746669056,"note":"Value kept but may cause issues"} 
[2026-08-11 19:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613197686784,"note":"Value kept but may cause issues"} 
[2026-08-11 19:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786457027000,"timestamp_ms":1786457027000,"timestamp_seconds":1786457027,"priority":1,"record_length":96,"hex_timestamp":"0000019ff122f1b8"} 
[2026-08-11 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-08-11 19:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 19:35:55] 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-08-11 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-08-11 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-08-11 19:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:35:55] 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-08-11 19:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332997120001,"66":27365,"122":206,"85":12544,"24":27,"16":377996038746669056,"45":9125770613197686784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-11 19:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332997120001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:35:55] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 19:35:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377996038746669056,"km_value":377996038746669.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613197686784,"description":"Unknown IO ID 45"} 
[2026-08-11 19:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332997120001,"power":27365,"unknown_122":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9125770613197686784}} 
[2026-08-11 19:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":152422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:35:55] local.INFO: GPS data processed {"connection_id":152422,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:35:55] local.INFO: Acknowledgment sent {"connection_id":152422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:36:14] local.INFO: TCP Data received {"connection_id":155139,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:36:14] local.INFO: Processing buffer {"connection_id":155139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:36:14] local.INFO: IMEI packet received {"connection_id":155139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":155139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:36:18] local.INFO: TCP Data received {"connection_id":153767,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:36:18] local.INFO: Processing buffer {"connection_id":153767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:36:18] local.INFO: IMEI packet received {"connection_id":153767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":153767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:36:20] local.INFO: TCP Data received {"connection_id":155139,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:36:20] local.INFO: Processing buffer {"connection_id":155139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:36:20] local.INFO: IMEI packet received {"connection_id":155139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":155139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:36:21] local.INFO: TCP Data received {"connection_id":155139,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff120e648012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff120e648012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:36:21] local.INFO: Processing buffer {"connection_id":155139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff120e648012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:36:21] local.INFO: Packet analysis {"connection_id":155139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff120"} 
[2026-08-11 19:36:21] local.INFO: Extracted packet for processing {"connection_id":155139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff120"} 
[2026-08-11 19:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":36,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332959232001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786456893000,"timestamp_ms":1786456893000,"timestamp_seconds":1786456893,"priority":1,"record_length":96,"hex_timestamp":"0000019ff120e648"} 
[2026-08-11 19:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:36: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-08-11 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 19:36:21] 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-08-11 19: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-08-11 19:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":155139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":155139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":155139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332959232001,"66":12504,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332959232001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:36:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332959232001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":155139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:36:21] local.INFO: GPS data processed {"connection_id":155139,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:36:21] local.INFO: Acknowledgment sent {"connection_id":155139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:36:22] local.INFO: TCP Data received {"connection_id":153767,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:36:22] local.INFO: Processing buffer {"connection_id":153767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:36:22] local.INFO: IMEI packet received {"connection_id":153767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":153767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:36:23] local.INFO: TCP Data received {"connection_id":155139,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1213850012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1213850012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:36:23] local.INFO: Processing buffer {"connection_id":155139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1213850012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:36:23] local.INFO: Packet analysis {"connection_id":155139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff121"} 
[2026-08-11 19:36:23] local.INFO: Extracted packet for processing {"connection_id":155139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff121"} 
[2026-08-11 19:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":36,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332964608001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786456914000,"timestamp_ms":1786456914000,"timestamp_seconds":1786456914,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1213850"} 
[2026-08-11 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-08-11 19:36: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-08-11 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 19:36:23] 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-08-11 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-08-11 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-08-11 19:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":155139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":155139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":155139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332964608001,"66":12526,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332964608001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:36:23] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332964608001,"power":12526,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":155139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:36:23] local.INFO: GPS data processed {"connection_id":155139,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:36:23] local.INFO: Acknowledgment sent {"connection_id":155139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:36:23] local.INFO: TCP Data received {"connection_id":153767,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:36:23] local.INFO: Processing buffer {"connection_id":153767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:36:23] local.INFO: IMEI packet received {"connection_id":153767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":153767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:36:24] local.INFO: TCP Data received {"connection_id":153767,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1231cb0012d7eaa8005b58a80000800022c..."} 
[2026-08-11 19:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1231cb0012d7eaa8005b58a80000800022c..."} 
[2026-08-11 19:36:24] local.INFO: Processing buffer {"connection_id":153767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1231cb0012d7eaa8005b58a80000800022c..."} 
[2026-08-11 19:36:24] local.INFO: Packet analysis {"connection_id":153767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff123"} 
[2026-08-11 19:36:24] local.INFO: Extracted packet for processing {"connection_id":153767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff123"} 
[2026-08-11 19:36:24] local.INFO: GPS Element Parsed {"raw_longitude":763275904,"raw_latitude":95783552,"longitude_deg":76.3275904,"latitude_deg":9.5783552,"altitude":8,"angle":2,"satellites":44,"speed":28,"hex_longitude":"2d7eaa80","hex_latitude":"05b58a80","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332998912001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377996399523921920,"note":"Value kept but may cause issues"} 
[2026-08-11 19:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126192825664133120,"note":"Value kept but may cause issues"} 
[2026-08-11 19:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786457038000,"timestamp_ms":1786457038000,"timestamp_seconds":1786457038,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1231cb0"} 
[2026-08-11 19:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 19:36:24] 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-08-11 19: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-08-11 19:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:36:24] 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-08-11 19:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332998912001,"66":27321,"122":206,"85":12544,"24":28,"16":377996399523921920,"45":9126192825664133120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-11 19:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332998912001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:36:24] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 19:36:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377996399523921920,"km_value":377996399523921.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126192825664133120,"description":"Unknown IO ID 45"} 
[2026-08-11 19:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332998912001,"power":27321,"unknown_122":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":9126192825664133120}} 
[2026-08-11 19:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":153767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:36:24] local.INFO: GPS data processed {"connection_id":153767,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:36:24] local.INFO: Acknowledgment sent {"connection_id":153767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:36:29] local.INFO: TCP Data received {"connection_id":153767,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1235360012d7ead8005b5af60000800032c..."} 
[2026-08-11 19:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1235360012d7ead8005b5af60000800032c..."} 
[2026-08-11 19:36:29] local.INFO: Processing buffer {"connection_id":153767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1235360012d7ead8005b5af60000800032c..."} 
[2026-08-11 19:36:29] local.INFO: Packet analysis {"connection_id":153767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff123"} 
[2026-08-11 19:36:29] local.INFO: Extracted packet for processing {"connection_id":153767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff123"} 
[2026-08-11 19:36:29] local.INFO: GPS Element Parsed {"raw_longitude":763276672,"raw_latitude":95792992,"longitude_deg":76.3276672,"latitude_deg":9.5792992,"altitude":8,"angle":3,"satellites":44,"speed":26,"hex_longitude":"2d7ead80","hex_latitude":"05b5af60","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333001728001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377996859085422592,"note":"Value kept but may cause issues"} 
[2026-08-11 19:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127248356828676096,"note":"Value kept but may cause issues"} 
[2026-08-11 19:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786457052000,"timestamp_ms":1786457052000,"timestamp_seconds":1786457052,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1235360"} 
[2026-08-11 19:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 19:36:29] 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-08-11 19: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-08-11 19:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:36:29] 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-08-11 19:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333001728001,"66":27463,"122":206,"85":12544,"24":26,"16":377996859085422592,"45":9127248356828676096},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-11 19:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333001728001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:36:29] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 19:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377996859085422592,"km_value":377996859085422.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127248356828676096,"description":"Unknown IO ID 45"} 
[2026-08-11 19:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333001728001,"power":27463,"unknown_122":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9127248356828676096}} 
[2026-08-11 19:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":153767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:36:29] local.INFO: GPS data processed {"connection_id":153767,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:36:29] local.INFO: Acknowledgment sent {"connection_id":153767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:36:54] local.INFO: TCP Data received {"connection_id":155139,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1218a58012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1218a58012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:36:54] local.INFO: Processing buffer {"connection_id":155139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1218a58012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:36:54] local.INFO: Packet analysis {"connection_id":155139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff121"} 
[2026-08-11 19:36:54] local.INFO: Extracted packet for processing {"connection_id":155139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff121"} 
[2026-08-11 19:36:54] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":36,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332969984001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786456935000,"timestamp_ms":1786456935000,"timestamp_seconds":1786456935,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1218a58"} 
[2026-08-11 19:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:36: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-08-11 19: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 19:36: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-08-11 19: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-08-11 19:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":155139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":155139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":155139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332969984001,"66":12504,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332969984001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:36:54] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:36:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332969984001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":155139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:36:54] local.INFO: GPS data processed {"connection_id":155139,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:36:54] local.INFO: Acknowledgment sent {"connection_id":155139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:37:01] local.INFO: TCP Data received {"connection_id":153767,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1238a10012d7eae0005b5d388000901662d..."} 
[2026-08-11 19:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1238a10012d7eae0005b5d388000901662d..."} 
[2026-08-11 19:37:01] local.INFO: Processing buffer {"connection_id":153767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1238a10012d7eae0005b5d388000901662d..."} 
[2026-08-11 19:37:01] local.INFO: Packet analysis {"connection_id":153767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff123"} 
[2026-08-11 19:37:01] local.INFO: Extracted packet for processing {"connection_id":153767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff123"} 
[2026-08-11 19:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763276800,"raw_latitude":95802248,"longitude_deg":76.32768,"latitude_deg":9.5802248,"altitude":9,"angle":358,"satellites":45,"speed":25,"hex_longitude":"2d7eae00","hex_latitude":"05b5d388","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333005312001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377997310056988672,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128092781761224704,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786457066000,"timestamp_ms":1786457066000,"timestamp_seconds":1786457066,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1238a10"} 
[2026-08-11 19:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 19:37:01] 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-08-11 19: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-08-11 19:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:37:01] 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-08-11 19:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333005312001,"66":27463,"122":206,"85":12544,"24":25,"16":377997310056988672,"45":9128092781761224704},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-11 19:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333005312001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:37:01] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 19:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377997310056988672,"km_value":377997310056988.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128092781761224704,"description":"Unknown IO ID 45"} 
[2026-08-11 19:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333005312001,"power":27463,"unknown_122":206,"unknown_85":12544,"ignition":25,"odometer":null,"unknown_45":9128092781761224704}} 
[2026-08-11 19:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":153767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:37:01] local.INFO: GPS data processed {"connection_id":153767,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:37:01] local.INFO: Acknowledgment sent {"connection_id":153767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:37:10] local.INFO: TCP Data received {"connection_id":152423,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:37:10] local.INFO: Processing buffer {"connection_id":152423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:37:10] local.INFO: IMEI packet received {"connection_id":152423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":152423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:37:15] local.INFO: TCP Data received {"connection_id":152423,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:37:15] local.INFO: Processing buffer {"connection_id":152423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:37:15] local.INFO: IMEI packet received {"connection_id":152423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":152423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:37:16] local.INFO: TCP Data received {"connection_id":152423,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff121dc60012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff121dc60012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:37:16] local.INFO: Processing buffer {"connection_id":152423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff121dc60012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:37:16] local.INFO: Packet analysis {"connection_id":152423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff121"} 
[2026-08-11 19:37:16] local.INFO: Extracted packet for processing {"connection_id":152423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff121"} 
[2026-08-11 19:37:16] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":36,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19:37: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-08-11 19:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332975360001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786456956000,"timestamp_ms":1786456956000,"timestamp_seconds":1786456956,"priority":1,"record_length":96,"hex_timestamp":"0000019ff121dc60"} 
[2026-08-11 19:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:37: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-08-11 19:37: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":216,"data_length":795,"current_offset":136} 
[2026-08-11 19:37:16] 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-08-11 19:37: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-08-11 19:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332975360001,"66":12504,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332975360001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:37:16] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:37:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332975360001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":152423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:37:16] local.INFO: GPS data processed {"connection_id":152423,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:37:16] local.INFO: Acknowledgment sent {"connection_id":152423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:37:18] local.INFO: TCP Data received {"connection_id":152832,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:37:18] local.INFO: Processing buffer {"connection_id":152832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:37:18] local.INFO: IMEI packet received {"connection_id":152832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":152832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:37:20] local.INFO: TCP Data received {"connection_id":152423,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1222e68012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1222e68012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:37:20] local.INFO: Processing buffer {"connection_id":152423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1222e68012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:37:20] local.INFO: Packet analysis {"connection_id":152423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff122"} 
[2026-08-11 19:37:20] local.INFO: Extracted packet for processing {"connection_id":152423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff122"} 
[2026-08-11 19:37:20] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":36,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19:37: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-08-11 19:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332980736001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786456977000,"timestamp_ms":1786456977000,"timestamp_seconds":1786456977,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1222e68"} 
[2026-08-11 19:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:37:20] 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-08-11 19:37: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 19:37:20] 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-08-11 19:37: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-08-11 19:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332980736001,"66":12504,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332980736001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:37:20] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:37:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332980736001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":152423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:37:20] local.INFO: GPS data processed {"connection_id":152423,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:37:20] local.INFO: Acknowledgment sent {"connection_id":152423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:37:24] local.INFO: TCP Data received {"connection_id":152832,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:37:24] local.INFO: Processing buffer {"connection_id":152832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:37:24] local.INFO: IMEI packet received {"connection_id":152832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":152832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:37:24] local.INFO: TCP Data received {"connection_id":152832,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff123b8f0012d7eac4005b5efb0000701582e..."} 
[2026-08-11 19:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff123b8f0012d7eac4005b5efb0000701582e..."} 
[2026-08-11 19:37:24] local.INFO: Processing buffer {"connection_id":152832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff123b8f0012d7eac4005b5efb0000701582e..."} 
[2026-08-11 19:37:24] local.INFO: Packet analysis {"connection_id":152832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff123"} 
[2026-08-11 19:37:24] local.INFO: Extracted packet for processing {"connection_id":152832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff123"} 
[2026-08-11 19:37:24] local.INFO: GPS Element Parsed {"raw_longitude":763276352,"raw_latitude":95809456,"longitude_deg":76.3276352,"latitude_deg":9.5809456,"altitude":7,"angle":344,"satellites":46,"speed":21,"hex_longitude":"2d7eac40","hex_latitude":"05b5efb0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333008896001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377997662244306944,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128233519251949568,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786457078000,"timestamp_ms":1786457078000,"timestamp_seconds":1786457078,"priority":1,"record_length":96,"hex_timestamp":"0000019ff123b8f0"} 
[2026-08-11 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-08-11 19:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 19:37:24] 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-08-11 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-08-11 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-08-11 19:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:37:24] 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-08-11 19:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333008896001,"66":27397,"122":206,"85":12544,"24":21,"16":377997662244306944,"45":9128233519251949568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-11 19:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333008896001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:37:24] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 19:37:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377997662244306944,"km_value":377997662244306.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128233519251949568,"description":"Unknown IO ID 45"} 
[2026-08-11 19:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333008896001,"power":27397,"unknown_122":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":9128233519251949568}} 
[2026-08-11 19:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":152832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:37:24] local.INFO: GPS data processed {"connection_id":152832,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:37:24] local.INFO: Acknowledgment sent {"connection_id":152832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:37:52] local.INFO: TCP Data received {"connection_id":152423,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1228070012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1228070012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:37:52] local.INFO: Processing buffer {"connection_id":152423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1228070012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:37:52] local.INFO: Packet analysis {"connection_id":152423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff122"} 
[2026-08-11 19:37:52] local.INFO: Extracted packet for processing {"connection_id":152423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff122"} 
[2026-08-11 19:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":37,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332986112001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786456998000,"timestamp_ms":1786456998000,"timestamp_seconds":1786456998,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1228070"} 
[2026-08-11 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-08-11 19:37: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-08-11 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 19:37:52] 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-08-11 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-08-11 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-08-11 19:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332986112001,"66":12461,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332986112001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:37:52] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:37:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332986112001,"power":12461,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":152423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:37:52] local.INFO: GPS data processed {"connection_id":152423,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:37:52] local.INFO: Acknowledgment sent {"connection_id":152423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:37:56] local.INFO: TCP Data received {"connection_id":152832,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff123ebb8012d7ea4c005b60f00000701652c..."} 
[2026-08-11 19:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff123ebb8012d7ea4c005b60f00000701652c..."} 
[2026-08-11 19:37:56] local.INFO: Processing buffer {"connection_id":152832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff123ebb8012d7ea4c005b60f00000701652c..."} 
[2026-08-11 19:37:56] local.INFO: Packet analysis {"connection_id":152832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff123"} 
[2026-08-11 19:37:56] local.INFO: Extracted packet for processing {"connection_id":152832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff123"} 
[2026-08-11 19:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763274432,"raw_latitude":95817472,"longitude_deg":76.3274432,"latitude_deg":9.5817472,"altitude":7,"angle":357,"satellites":44,"speed":28,"hex_longitude":"2d7ea4c0","hex_latitude":"05b60f00","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333011968001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377998061676265472,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127740938044551168,"note":"Value kept but may cause issues"} 
[2026-08-11 19:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786457091000,"timestamp_ms":1786457091000,"timestamp_seconds":1786457091,"priority":1,"record_length":96,"hex_timestamp":"0000019ff123ebb8"} 
[2026-08-11 19:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 19:37: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-08-11 19:37: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-08-11 19:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:37:56] 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-08-11 19:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333011968001,"66":27332,"122":206,"85":12544,"24":28,"16":377998061676265472,"45":9127740938044551168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-11 19:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333011968001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:37:56] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-11 19:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377998061676265472,"km_value":377998061676265.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127740938044551168,"description":"Unknown IO ID 45"} 
[2026-08-11 19:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333011968001,"power":27332,"unknown_122":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":9127740938044551168}} 
[2026-08-11 19:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":152832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:37:56] local.INFO: GPS data processed {"connection_id":152832,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:37:56] local.INFO: Acknowledgment sent {"connection_id":152832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:38:07] local.INFO: TCP Data received {"connection_id":153768,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:38:08] local.INFO: Processing buffer {"connection_id":153768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:38:08] local.INFO: IMEI packet received {"connection_id":153768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":153768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:38:10] local.INFO: TCP Data received {"connection_id":153768,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:38:10] local.INFO: Processing buffer {"connection_id":153768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:38:10] local.INFO: IMEI packet received {"connection_id":153768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":153768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:38:15] local.INFO: TCP Data received {"connection_id":153768,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:38:15] local.INFO: Processing buffer {"connection_id":153768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:38:15] local.INFO: IMEI packet received {"connection_id":153768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":153768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:38:16] local.INFO: TCP Data received {"connection_id":153768,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff122d278012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff122d278012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:38:16] local.INFO: Processing buffer {"connection_id":153768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff122d278012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:38:16] local.INFO: Packet analysis {"connection_id":153768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff122"} 
[2026-08-11 19:38:16] local.INFO: Extracted packet for processing {"connection_id":153768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff122"} 
[2026-08-11 19:38:16] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":36,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332991488001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786457019000,"timestamp_ms":1786457019000,"timestamp_seconds":1786457019,"priority":1,"record_length":96,"hex_timestamp":"0000019ff122d278"} 
[2026-08-11 19:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:38: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-08-11 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 19:38:16] 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-08-11 19: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-08-11 19:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332991488001,"66":12439,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332991488001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:38:16] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:38:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332991488001,"power":12439,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":153768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:38:16] local.INFO: GPS data processed {"connection_id":153768,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:38:16] local.INFO: Acknowledgment sent {"connection_id":153768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:38:21] local.INFO: TCP Data received {"connection_id":153769,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:38:21] local.INFO: Processing buffer {"connection_id":153769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:38:21] local.INFO: IMEI packet received {"connection_id":153769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":153769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:38:24] local.INFO: TCP Data received {"connection_id":153769,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:38:24] local.INFO: Processing buffer {"connection_id":153769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:38:24] local.INFO: IMEI packet received {"connection_id":153769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":153769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:38:24] local.INFO: TCP Data received {"connection_id":153769,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1263990012d7ead0005b79ad00007000027..."} 
[2026-08-11 19:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1263990012d7ead0005b79ad00007000027..."} 
[2026-08-11 19:38:24] local.INFO: Processing buffer {"connection_id":153769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1263990012d7ead0005b79ad00007000027..."} 
[2026-08-11 19:38:24] local.INFO: Packet analysis {"connection_id":153769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff126"} 
[2026-08-11 19:38:24] local.INFO: Extracted packet for processing {"connection_id":153769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff126"} 
[2026-08-11 19:38:24] local.INFO: GPS Element Parsed {"raw_longitude":763276544,"raw_latitude":95918800,"longitude_deg":76.3276544,"latitude_deg":9.59188,"altitude":7,"angle":0,"satellites":39,"speed":31,"hex_longitude":"2d7ead00","hex_latitude":"05b79ad0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333050624001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378002979413819392,"note":"Value kept but may cause issues"} 
[2026-08-11 19:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127670569325967360,"note":"Value kept but may cause issues"} 
[2026-08-11 19:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786457242000,"timestamp_ms":1786457242000,"timestamp_seconds":1786457242,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1263990"} 
[2026-08-11 19:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 19:38:24] 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-08-11 19: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-08-11 19:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:38:24] 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-08-11 19:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333050624001,"66":27310,"121":206,"85":12544,"24":31,"16":378002979413819392,"45":9127670569325967360},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-11 19:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333050624001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:38:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 19:38:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378002979413819392,"km_value":378002979413819.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127670569325967360,"description":"Unknown IO ID 45"} 
[2026-08-11 19:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333050624001,"power":27310,"unknown_121":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9127670569325967360}} 
[2026-08-11 19:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":153769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:38:24] local.INFO: GPS data processed {"connection_id":153769,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:38:24] local.INFO: Acknowledgment sent {"connection_id":153769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:38:47] local.INFO: TCP Data received {"connection_id":153768,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1232480012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1232480012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:38:47] local.INFO: Processing buffer {"connection_id":153768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1232480012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:38:47] local.INFO: Packet analysis {"connection_id":153768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff123"} 
[2026-08-11 19:38:47] local.INFO: Extracted packet for processing {"connection_id":153768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff123"} 
[2026-08-11 19:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":37,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19:38: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-08-11 19:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457332996864001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786457040000,"timestamp_ms":1786457040000,"timestamp_seconds":1786457040,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1232480"} 
[2026-08-11 19:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:38: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-08-11 19:38: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-11 19:38:47] 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-08-11 19:38: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-08-11 19:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457332996864001,"66":12461,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457332996864001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:38:47] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:38:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457332996864001,"power":12461,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":153768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:38:47] local.INFO: GPS data processed {"connection_id":153768,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:38:47] local.INFO: Acknowledgment sent {"connection_id":153768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:39:01] local.INFO: TCP Data received {"connection_id":153769,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1266488012d7eadc005b7bec8000700022d..."} 
[2026-08-11 19:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1266488012d7eadc005b7bec8000700022d..."} 
[2026-08-11 19:39:01] local.INFO: Processing buffer {"connection_id":153769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1266488012d7eadc005b7bec8000700022d..."} 
[2026-08-11 19:39:01] local.INFO: Packet analysis {"connection_id":153769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff126"} 
[2026-08-11 19:39:01] local.INFO: Extracted packet for processing {"connection_id":153769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff126"} 
[2026-08-11 19:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763276736,"raw_latitude":95928008,"longitude_deg":76.3276736,"latitude_deg":9.5928008,"altitude":7,"angle":2,"satellites":45,"speed":33,"hex_longitude":"2d7eadc0","hex_latitude":"05b7bec8","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333053952001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378003426090418176,"note":"Value kept but may cause issues"} 
[2026-08-11 19:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127952044305076224,"note":"Value kept but may cause issues"} 
[2026-08-11 19:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786457253000,"timestamp_ms":1786457253000,"timestamp_seconds":1786457253,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1266488"} 
[2026-08-11 19:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-11 19:39:01] 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-08-11 19: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-08-11 19:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:39:01] 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-08-11 19:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333053952001,"66":27365,"121":206,"85":12544,"24":33,"16":378003426090418176,"45":9127952044305076224},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-11 19:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333053952001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:39:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 19:39:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378003426090418176,"km_value":378003426090418.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127952044305076224,"description":"Unknown IO ID 45"} 
[2026-08-11 19:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333053952001,"power":27365,"unknown_121":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9127952044305076224}} 
[2026-08-11 19:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":153769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:39:01] local.INFO: GPS data processed {"connection_id":153769,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:39:01] local.INFO: Acknowledgment sent {"connection_id":153769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:39:10] local.INFO: TCP Data received {"connection_id":155140,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:39:10] local.INFO: Processing buffer {"connection_id":155140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:39:10] local.INFO: IMEI packet received {"connection_id":155140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":155140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:39:11] local.INFO: TCP Data received {"connection_id":155140,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:39:11] local.INFO: Processing buffer {"connection_id":155140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:39:11] local.INFO: IMEI packet received {"connection_id":155140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":155140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:39:15] local.INFO: TCP Data received {"connection_id":155140,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:39:15] local.INFO: Processing buffer {"connection_id":155140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:39:15] local.INFO: IMEI packet received {"connection_id":155140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":155140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:39:18] local.INFO: TCP Data received {"connection_id":155141,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:39:18] local.INFO: Processing buffer {"connection_id":155141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:39:18] local.INFO: IMEI packet received {"connection_id":155141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":155141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:39:19] local.INFO: TCP Data received {"connection_id":155141,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:39:19] local.INFO: Processing buffer {"connection_id":155141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:39:19] local.INFO: IMEI packet received {"connection_id":155141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":155141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:39:24] local.INFO: TCP Data received {"connection_id":155141,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:39:24] local.INFO: Processing buffer {"connection_id":155141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:39:24] local.INFO: IMEI packet received {"connection_id":155141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":155141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:39:32] local.INFO: TCP Data received {"connection_id":155141,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1268b98012d7eb00005b7db400008000f2b..."} 
[2026-08-11 19:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1268b98012d7eb00005b7db400008000f2b..."} 
[2026-08-11 19:39:32] local.INFO: Processing buffer {"connection_id":155141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1268b98012d7eb00005b7db400008000f2b..."} 
[2026-08-11 19:39:32] local.INFO: Packet analysis {"connection_id":155141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff126"} 
[2026-08-11 19:39:32] local.INFO: Extracted packet for processing {"connection_id":155141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff126"} 
[2026-08-11 19:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763277312,"raw_latitude":95935296,"longitude_deg":76.3277312,"latitude_deg":9.5935296,"altitude":8,"angle":15,"satellites":43,"speed":20,"hex_longitude":"2d7eb000","hex_latitude":"05b7db40","is_valid_coordinates":true} 
[2026-08-11 19:39: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-08-11 19:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333056768001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378003782572703744,"note":"Value kept but may cause issues"} 
[2026-08-11 19:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128163150539966464,"note":"Value kept but may cause issues"} 
[2026-08-11 19:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786457263000,"timestamp_ms":1786457263000,"timestamp_seconds":1786457263,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1268b98"} 
[2026-08-11 19:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19:39: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":229,"data_length":795,"current_offset":136} 
[2026-08-11 19:39:32] 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-08-11 19:39: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-08-11 19:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":155141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":155141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":155141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:39:32] 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-08-11 19:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333056768001,"66":27397,"121":206,"85":12544,"24":20,"16":378003782572703744,"45":9128163150539966464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-11 19:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333056768001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:39:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 19:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378003782572703744,"km_value":378003782572703.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128163150539966464,"description":"Unknown IO ID 45"} 
[2026-08-11 19:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333056768001,"power":27397,"unknown_121":206,"unknown_85":12544,"ignition":20,"odometer":null,"unknown_45":9128163150539966464}} 
[2026-08-11 19:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":155141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:39:32] local.INFO: GPS data processed {"connection_id":155141,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:39:32] local.INFO: Acknowledgment sent {"connection_id":155141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:39:48] local.INFO: TCP Data received {"connection_id":155140,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff126aad8012d1d9140071b2d88003e010423..."} 
[2026-08-11 19:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff126aad8012d1d9140071b2d88003e010423..."} 
[2026-08-11 19:39:48] local.INFO: Processing buffer {"connection_id":155140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff126aad8012d1d9140071b2d88003e010423..."} 
[2026-08-11 19:39:48] local.INFO: Packet analysis {"connection_id":155140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff126"} 
[2026-08-11 19:39:48] local.INFO: Extracted packet for processing {"connection_id":155140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff126"} 
[2026-08-11 19:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":35,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19:39: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-08-11 19:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333056000001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786457271000,"timestamp_ms":1786457271000,"timestamp_seconds":1786457271,"priority":1,"record_length":96,"hex_timestamp":"0000019ff126aad8"} 
[2026-08-11 19:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:39:48] 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-08-11 19:39: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 19:39:48] 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-08-11 19:39: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-08-11 19:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":155140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":155140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":155140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333056000001,"66":12461,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333056000001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:39:48] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:39:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333056000001,"power":12461,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":155140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:39:48] local.INFO: GPS data processed {"connection_id":155140,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:39:48] local.INFO: Acknowledgment sent {"connection_id":155140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:39:53] local.INFO: TCP Data received {"connection_id":155140,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff126fce0012d1d9140071b2d88003e010422..."} 
[2026-08-11 19:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff126fce0012d1d9140071b2d88003e010422..."} 
[2026-08-11 19:39:53] local.INFO: Processing buffer {"connection_id":155140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff126fce0012d1d9140071b2d88003e010422..."} 
[2026-08-11 19:39:53] local.INFO: Packet analysis {"connection_id":155140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff126"} 
[2026-08-11 19:39:53] local.INFO: Extracted packet for processing {"connection_id":155140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff126"} 
[2026-08-11 19:39:53] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":34,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333061376001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786457292000,"timestamp_ms":1786457292000,"timestamp_seconds":1786457292,"priority":1,"record_length":96,"hex_timestamp":"0000019ff126fce0"} 
[2026-08-11 19:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:39: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-08-11 19: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-08-11 19: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-08-11 19: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-08-11 19:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":155140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":155140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":155140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333061376001,"66":12385,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333061376001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:39:53] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:39:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333061376001,"power":12385,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":155140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:39:53] local.INFO: GPS data processed {"connection_id":155140,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:39:53] local.INFO: Acknowledgment sent {"connection_id":155140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:40:04] local.INFO: TCP Data received {"connection_id":155141,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff126aad8012d7eb28005b7f060000800042c..."} 
[2026-08-11 19:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff126aad8012d7eb28005b7f060000800042c..."} 
[2026-08-11 19:40:04] local.INFO: Processing buffer {"connection_id":155141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff126aad8012d7eb28005b7f060000800042c..."} 
[2026-08-11 19:40:04] local.INFO: Packet analysis {"connection_id":155141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff126"} 
[2026-08-11 19:40:04] local.INFO: Extracted packet for processing {"connection_id":155141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff126"} 
[2026-08-11 19:40:04] local.INFO: GPS Element Parsed {"raw_longitude":763277952,"raw_latitude":95940704,"longitude_deg":76.3277952,"latitude_deg":9.5940704,"altitude":8,"angle":4,"satellites":44,"speed":34,"hex_longitude":"2d7eb280","hex_latitude":"05b7f060","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333059328001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378004048860676096,"note":"Value kept but may cause issues"} 
[2026-08-11 19:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128796469239431168,"note":"Value kept but may cause issues"} 
[2026-08-11 19:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786457271000,"timestamp_ms":1786457271000,"timestamp_seconds":1786457271,"priority":1,"record_length":96,"hex_timestamp":"0000019ff126aad8"} 
[2026-08-11 19:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 19:40: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-08-11 19: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-08-11 19:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":155141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":155141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":155141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:40: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-08-11 19:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333059328001,"66":27397,"121":206,"85":12544,"24":34,"16":378004048860676096,"45":9128796469239431168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-11 19:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333059328001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:40:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 19:40:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378004048860676096,"km_value":378004048860676.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128796469239431168,"description":"Unknown IO ID 45"} 
[2026-08-11 19:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333059328001,"power":27397,"unknown_121":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9128796469239431168}} 
[2026-08-11 19:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":155141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:40:04] local.INFO: GPS data processed {"connection_id":155141,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:40:04] local.INFO: Acknowledgment sent {"connection_id":155141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:40:11] local.INFO: TCP Data received {"connection_id":155142,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:40:11] local.INFO: Processing buffer {"connection_id":155142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:40:11] local.INFO: IMEI packet received {"connection_id":155142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":155142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:40:17] local.INFO: TCP Data received {"connection_id":155142,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:40:17] local.INFO: Processing buffer {"connection_id":155142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:40:17] local.INFO: IMEI packet received {"connection_id":155142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":155142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:40:18] local.INFO: TCP Data received {"connection_id":155142,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1274ee8012d1d9140071b2d88003e010423..."} 
[2026-08-11 19:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1274ee8012d1d9140071b2d88003e010423..."} 
[2026-08-11 19:40:18] local.INFO: Processing buffer {"connection_id":155142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1274ee8012d1d9140071b2d88003e010423..."} 
[2026-08-11 19:40:18] local.INFO: Packet analysis {"connection_id":155142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff127"} 
[2026-08-11 19:40:18] local.INFO: Extracted packet for processing {"connection_id":155142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff127"} 
[2026-08-11 19:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":35,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19:40: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-08-11 19:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333066752001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786457313000,"timestamp_ms":1786457313000,"timestamp_seconds":1786457313,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1274ee8"} 
[2026-08-11 19:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:40:18] 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-08-11 19:40: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 19:40:18] 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-08-11 19:40: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-08-11 19:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":155142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":155142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":155142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333066752001,"66":12406,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333066752001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:40:18] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333066752001,"power":12406,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":155142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:40:18] local.INFO: GPS data processed {"connection_id":155142,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:40:18] local.INFO: Acknowledgment sent {"connection_id":155142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:40:19] local.INFO: TCP Data received {"connection_id":152424,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:40:19] local.INFO: Processing buffer {"connection_id":152424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:40:19] local.INFO: IMEI packet received {"connection_id":152424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":152424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:40:24] local.INFO: TCP Data received {"connection_id":152424,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:40:24] local.INFO: Processing buffer {"connection_id":152424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:40:24] local.INFO: IMEI packet received {"connection_id":152424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":152424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:40:24] local.INFO: TCP Data received {"connection_id":152424,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff127fac8012d7ed48005b96ef00008000c2d..."} 
[2026-08-11 19:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff127fac8012d7ed48005b96ef00008000c2d..."} 
[2026-08-11 19:40:24] local.INFO: Processing buffer {"connection_id":152424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff127fac8012d7ed48005b96ef00008000c2d..."} 
[2026-08-11 19:40:24] local.INFO: Packet analysis {"connection_id":152424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff127"} 
[2026-08-11 19:40:24] local.INFO: Extracted packet for processing {"connection_id":152424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff127"} 
[2026-08-11 19:40:24] local.INFO: GPS Element Parsed {"raw_longitude":763286656,"raw_latitude":96038640,"longitude_deg":76.3286656,"latitude_deg":9.603864,"altitude":8,"angle":12,"satellites":45,"speed":28,"hex_longitude":"2d7ed480","hex_latitude":"05b96ef0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333081088001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378008820569341952,"note":"Value kept but may cause issues"} 
[2026-08-11 19:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137381456053291008,"note":"Value kept but may cause issues"} 
[2026-08-11 19:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786457357000,"timestamp_ms":1786457357000,"timestamp_seconds":1786457357,"priority":1,"record_length":96,"hex_timestamp":"0000019ff127fac8"} 
[2026-08-11 19:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 19:40:24] 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-08-11 19: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-08-11 19:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:40:24] 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-08-11 19:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333081088001,"66":27365,"127":206,"85":12544,"24":28,"16":378008820569341952,"45":9137381456053291008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-11 19:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333081088001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:40:24] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-11 19:40:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378008820569341952,"km_value":378008820569341.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137381456053291008,"description":"Unknown IO ID 45"} 
[2026-08-11 19:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333081088001,"power":27365,"unknown_127":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":9137381456053291008}} 
[2026-08-11 19:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":152424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:40:24] local.INFO: GPS data processed {"connection_id":152424,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:40:24] local.INFO: Acknowledgment sent {"connection_id":152424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:40:48] local.INFO: TCP Data received {"connection_id":152425,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:40:48] local.INFO: Processing buffer {"connection_id":152425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:40:48] local.INFO: IMEI packet received {"connection_id":152425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":152425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:40:49] local.INFO: TCP Data received {"connection_id":155142,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff127a0f0012d1d9140071b2d88003e010421..."} 
[2026-08-11 19:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff127a0f0012d1d9140071b2d88003e010421..."} 
[2026-08-11 19:40:49] local.INFO: Processing buffer {"connection_id":155142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff127a0f0012d1d9140071b2d88003e010421..."} 
[2026-08-11 19:40:49] local.INFO: Packet analysis {"connection_id":155142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff127"} 
[2026-08-11 19:40:49] local.INFO: Extracted packet for processing {"connection_id":155142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff127"} 
[2026-08-11 19:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":33,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19:40: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-08-11 19:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333072128001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786457334000,"timestamp_ms":1786457334000,"timestamp_seconds":1786457334,"priority":1,"record_length":96,"hex_timestamp":"0000019ff127a0f0"} 
[2026-08-11 19:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:40:49] 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-08-11 19:40: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 19:40:49] 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-08-11 19:40: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-08-11 19:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":155142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":155142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":155142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333072128001,"66":12406,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333072128001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:40:49] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:40:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333072128001,"power":12406,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":155142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:40:49] local.INFO: GPS data processed {"connection_id":155142,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:40:49] local.INFO: Acknowledgment sent {"connection_id":155142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:40:56] local.INFO: TCP Data received {"connection_id":152424,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12829a8012d7edac005b994900007000a2e..."} 
[2026-08-11 19:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12829a8012d7edac005b994900007000a2e..."} 
[2026-08-11 19:40:56] local.INFO: Processing buffer {"connection_id":152424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12829a8012d7edac005b994900007000a2e..."} 
[2026-08-11 19:40:56] local.INFO: Packet analysis {"connection_id":152424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:40:56] local.INFO: Extracted packet for processing {"connection_id":152424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763288256,"raw_latitude":96048272,"longitude_deg":76.3288256,"latitude_deg":9.6048272,"altitude":7,"angle":10,"satellites":46,"speed":39,"hex_longitude":"2d7edac0","hex_latitude":"05b99490","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333083392001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378009293015744512,"note":"Value kept but may cause issues"} 
[2026-08-11 19:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9139070305915826176,"note":"Value kept but may cause issues"} 
[2026-08-11 19:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786457369000,"timestamp_ms":1786457369000,"timestamp_seconds":1786457369,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12829a8"} 
[2026-08-11 19:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 19:40:56] 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-08-11 19: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-08-11 19:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:40:56] 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-08-11 19:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333083392001,"66":27213,"127":206,"85":12544,"24":39,"16":378009293015744512,"45":9139070305915826176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-11 19:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333083392001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:40:56] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-11 19:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378009293015744512,"km_value":378009293015744.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9139070305915826176,"description":"Unknown IO ID 45"} 
[2026-08-11 19:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333083392001,"power":27213,"unknown_127":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":9139070305915826176}} 
[2026-08-11 19:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":152424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:40:56] local.INFO: GPS data processed {"connection_id":152424,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:40:56] local.INFO: Acknowledgment sent {"connection_id":152424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:41:10] local.INFO: TCP Data received {"connection_id":152426,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:41:10] local.INFO: Processing buffer {"connection_id":152426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:41:10] local.INFO: IMEI packet received {"connection_id":152426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":152426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:41:15] local.INFO: TCP Data received {"connection_id":152426,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:41:15] local.INFO: Processing buffer {"connection_id":152426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:41:15] local.INFO: IMEI packet received {"connection_id":152426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":152426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:41:16] local.INFO: TCP Data received {"connection_id":152426,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff127f2f8012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff127f2f8012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:41:16] local.INFO: Processing buffer {"connection_id":152426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff127f2f8012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:41:16] local.INFO: Packet analysis {"connection_id":152426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff127"} 
[2026-08-11 19:41:16] local.INFO: Extracted packet for processing {"connection_id":152426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff127"} 
[2026-08-11 19:41:16] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":36,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333077504001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786457355000,"timestamp_ms":1786457355000,"timestamp_seconds":1786457355,"priority":1,"record_length":96,"hex_timestamp":"0000019ff127f2f8"} 
[2026-08-11 19:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:41: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-08-11 19: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 19:41:16] 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-08-11 19: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-08-11 19:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333077504001,"66":12406,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333077504001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:41:16] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:41:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333077504001,"power":12406,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":152426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:41:16] local.INFO: GPS data processed {"connection_id":152426,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:41:16] local.INFO: Acknowledgment sent {"connection_id":152426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:41:19] local.INFO: TCP Data received {"connection_id":153770,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:41:19] local.INFO: Processing buffer {"connection_id":153770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:41:19] local.INFO: IMEI packet received {"connection_id":153770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":153770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:41:23] local.INFO: TCP Data received {"connection_id":152833,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:41:23] local.INFO: Processing buffer {"connection_id":152833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:41:23] local.INFO: IMEI packet received {"connection_id":152833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":152833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:41:24] local.INFO: TCP Data received {"connection_id":153770,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:41:24] local.INFO: Processing buffer {"connection_id":153770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:41:24] local.INFO: IMEI packet received {"connection_id":153770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":153770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:41:25] local.INFO: TCP Data received {"connection_id":153770,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1284cd0012d7ee10005b9b840000700092d..."} 
[2026-08-11 19:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1284cd0012d7ee10005b9b840000700092d..."} 
[2026-08-11 19:41:25] local.INFO: Processing buffer {"connection_id":153770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1284cd0012d7ee10005b9b840000700092d..."} 
[2026-08-11 19:41:25] local.INFO: Packet analysis {"connection_id":153770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:41:25] local.INFO: Extracted packet for processing {"connection_id":153770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:41:25] local.INFO: GPS Element Parsed {"raw_longitude":763289856,"raw_latitude":96057408,"longitude_deg":76.3289856,"latitude_deg":9.6057408,"altitude":7,"angle":9,"satellites":45,"speed":41,"hex_longitude":"2d7ee100","hex_latitude":"05b9b840","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333086464001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378009743987310592,"note":"Value kept but may cause issues"} 
[2026-08-11 19:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140829524522733568,"note":"Value kept but may cause issues"} 
[2026-08-11 19:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786457378000,"timestamp_ms":1786457378000,"timestamp_seconds":1786457378,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1284cd0"} 
[2026-08-11 19:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 19:41:25] 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-08-11 19: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-08-11 19:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:41:25] 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-08-11 19:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333086464001,"66":27463,"127":206,"85":12544,"24":41,"16":378009743987310592,"45":9140829524522733568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-11 19:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333086464001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:41:25] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-11 19:41:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378009743987310592,"km_value":378009743987310.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140829524522733568,"description":"Unknown IO ID 45"} 
[2026-08-11 19:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333086464001,"power":27463,"unknown_127":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9140829524522733568}} 
[2026-08-11 19:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":153770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:41:25] local.INFO: GPS data processed {"connection_id":153770,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:41:25] local.INFO: Acknowledgment sent {"connection_id":153770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:41:27] local.INFO: TCP Data received {"connection_id":152833,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:41:27] local.INFO: Processing buffer {"connection_id":152833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:41:27] local.INFO: IMEI packet received {"connection_id":152833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":152833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:41:28] local.INFO: TCP Data received {"connection_id":152833,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff129a490012d7e574005d357080006001329..."} 
[2026-08-11 19:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff129a490012d7e574005d357080006001329..."} 
[2026-08-11 19:41:28] local.INFO: Processing buffer {"connection_id":152833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff129a490012d7e574005d357080006001329..."} 
[2026-08-11 19:41:28] local.INFO: Packet analysis {"connection_id":152833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff129"} 
[2026-08-11 19:41:28] local.INFO: Extracted packet for processing {"connection_id":152833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff129"} 
[2026-08-11 19:41:28] local.INFO: GPS Element Parsed {"raw_longitude":763254592,"raw_latitude":97736456,"longitude_deg":76.3254592,"latitude_deg":9.7736456,"altitude":6,"angle":19,"satellites":41,"speed":3,"hex_longitude":"2d7e5740","hex_latitude":"05d35708","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333111040001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117804484708532224,"note":"Value kept but may cause issues"} 
[2026-08-11 19:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103745196773255168,"note":"Value kept but may cause issues"} 
[2026-08-11 19:41:28] 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-08-11 19:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786457466000,"timestamp_ms":1786457466000,"timestamp_seconds":1786457466,"priority":1,"record_length":96,"hex_timestamp":"0000019ff129a490"} 
[2026-08-11 19:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:41:28] 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-08-11 19: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-08-11 19: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-08-11 19: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-08-11 19:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333111040001,"66":12428,"109":206,"85":15104,"24":3,"16":117804484708532224,"45":9103745196773255168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 19:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333111040001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:41:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 19:41:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117804484708532224,"km_value":117804484708532.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103745196773255168,"description":"Unknown IO ID 45"} 
[2026-08-11 19:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333111040001,"power":12428,"unknown_109":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9103745196773255168}} 
[2026-08-11 19:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":152833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:41:28] local.INFO: GPS data processed {"connection_id":152833,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:41:28] local.INFO: Acknowledgment sent {"connection_id":152833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:41:48] local.INFO: TCP Data received {"connection_id":152426,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1284500012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1284500012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:41:48] local.INFO: Processing buffer {"connection_id":152426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1284500012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:41:48] local.INFO: Packet analysis {"connection_id":152426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:41:48] local.INFO: Extracted packet for processing {"connection_id":152426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:41:48] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":37,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19:41: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-08-11 19:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333082880001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786457376000,"timestamp_ms":1786457376000,"timestamp_seconds":1786457376,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1284500"} 
[2026-08-11 19:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:41:48] 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-08-11 19:41: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 19:41:48] 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-08-11 19:41: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-08-11 19:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333082880001,"66":12428,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333082880001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:41:48] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:41:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333082880001,"power":12428,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":152426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:41:48] local.INFO: GPS data processed {"connection_id":152426,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:41:48] local.INFO: Acknowledgment sent {"connection_id":152426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:41:56] local.INFO: TCP Data received {"connection_id":153770,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1286ff8012d7ee74005b9dd30000700092d..."} 
[2026-08-11 19:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1286ff8012d7ee74005b9dd30000700092d..."} 
[2026-08-11 19:41:56] local.INFO: Processing buffer {"connection_id":153770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1286ff8012d7ee74005b9dd30000700092d..."} 
[2026-08-11 19:41:56] local.INFO: Packet analysis {"connection_id":153770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:41:56] local.INFO: Extracted packet for processing {"connection_id":153770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763291456,"raw_latitude":96066864,"longitude_deg":76.3291456,"latitude_deg":9.6066864,"altitude":7,"angle":9,"satellites":45,"speed":44,"hex_longitude":"2d7ee740","hex_latitude":"05b9dd30","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333088768001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378010207843778560,"note":"Value kept but may cause issues"} 
[2026-08-11 19:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142588743129513984,"note":"Value kept but may cause issues"} 
[2026-08-11 19:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786457387000,"timestamp_ms":1786457387000,"timestamp_seconds":1786457387,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1286ff8"} 
[2026-08-11 19:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 19:41:56] 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-08-11 19: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-08-11 19:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:41:56] 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-08-11 19:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333088768001,"66":27365,"127":206,"85":12544,"24":44,"16":378010207843778560,"45":9142588743129513984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-11 19:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333088768001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:41:56] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-11 19:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378010207843778560,"km_value":378010207843778.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142588743129513984,"description":"Unknown IO ID 45"} 
[2026-08-11 19:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333088768001,"power":27365,"unknown_127":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9142588743129513984}} 
[2026-08-11 19:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":153770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:41:56] local.INFO: GPS data processed {"connection_id":153770,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:41:56] local.INFO: Acknowledgment sent {"connection_id":153770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:42:07] local.INFO: TCP Data received {"connection_id":155143,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:42:07] local.INFO: Processing buffer {"connection_id":155143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:42:07] local.INFO: IMEI packet received {"connection_id":155143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":155143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:42:08] local.INFO: TCP Data received {"connection_id":155143,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:42:08] local.INFO: Processing buffer {"connection_id":155143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:42:08] local.INFO: IMEI packet received {"connection_id":155143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":155143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:42:13] local.INFO: TCP Data received {"connection_id":155143,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:42:13] local.INFO: Processing buffer {"connection_id":155143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:42:13] local.INFO: IMEI packet received {"connection_id":155143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":155143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:42:14] local.INFO: TCP Data received {"connection_id":155143,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12a3130012d7e538005d36c600003016029..."} 
[2026-08-11 19:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12a3130012d7e538005d36c600003016029..."} 
[2026-08-11 19:42:14] local.INFO: Processing buffer {"connection_id":155143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12a3130012d7e538005d36c600003016029..."} 
[2026-08-11 19:42:14] local.INFO: Packet analysis {"connection_id":155143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12a"} 
[2026-08-11 19:42:14] local.INFO: Extracted packet for processing {"connection_id":155143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12a"} 
[2026-08-11 19:42:14] local.INFO: GPS Element Parsed {"raw_longitude":763253632,"raw_latitude":97741920,"longitude_deg":76.3253632,"latitude_deg":9.774192,"altitude":3,"angle":352,"satellites":41,"speed":21,"hex_longitude":"2d7e5380","hex_latitude":"05d36c60","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333118976001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117804793946177536,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102830403099535360,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:14] 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-08-11 19:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786457502000,"timestamp_ms":1786457502000,"timestamp_seconds":1786457502,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12a3130"} 
[2026-08-11 19:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:42:14] 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-08-11 19: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-11 19:42:14] 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-08-11 19: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-08-11 19:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333118976001,"66":12624,"109":206,"85":15104,"24":21,"16":117804793946177536,"45":9102830403099535360},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 19:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333118976001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:42:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 19:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117804793946177536,"km_value":117804793946177.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102830403099535360,"description":"Unknown IO ID 45"} 
[2026-08-11 19:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333118976001,"power":12624,"unknown_109":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9102830403099535360}} 
[2026-08-11 19:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":155143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:42:14] local.INFO: GPS data processed {"connection_id":155143,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:42:14] local.INFO: Acknowledgment sent {"connection_id":155143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:42:14] local.INFO: TCP Data received {"connection_id":155144,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:42:14] local.INFO: Processing buffer {"connection_id":155144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:42:14] local.INFO: IMEI packet received {"connection_id":155144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":155144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:42:17] local.INFO: TCP Data received {"connection_id":153771,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:42:17] local.INFO: Processing buffer {"connection_id":153771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:42:17] local.INFO: IMEI packet received {"connection_id":153771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":153771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:42:18] local.INFO: TCP Data received {"connection_id":153771,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:42:18] local.INFO: Processing buffer {"connection_id":153771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:42:18] local.INFO: IMEI packet received {"connection_id":153771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":153771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:42:19] local.INFO: TCP Data received {"connection_id":155144,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:42:19] local.INFO: Processing buffer {"connection_id":155144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:42:19] local.INFO: IMEI packet received {"connection_id":155144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":155144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:42:21] local.INFO: TCP Data received {"connection_id":155144,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1289708012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1289708012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:42:21] local.INFO: Processing buffer {"connection_id":155144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1289708012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:42:21] local.INFO: Packet analysis {"connection_id":155144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:42:21] local.INFO: Extracted packet for processing {"connection_id":155144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:42:21] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":36,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19:42: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-08-11 19:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333088256001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786457397000,"timestamp_ms":1786457397000,"timestamp_seconds":1786457397,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1289708"} 
[2026-08-11 19:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:42: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-08-11 19:42: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 19:42:21] 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-08-11 19:42: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-08-11 19:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":155144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":155144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":155144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333088256001,"66":12428,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333088256001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:42:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:42:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333088256001,"power":12428,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":155144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:42:21] local.INFO: GPS data processed {"connection_id":155144,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:42:21] local.INFO: Acknowledgment sent {"connection_id":155144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:42:22] local.INFO: TCP Data received {"connection_id":155144,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff128e910012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff128e910012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:42:22] local.INFO: Processing buffer {"connection_id":155144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff128e910012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:42:22] local.INFO: Packet analysis {"connection_id":155144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:42:22] local.INFO: Extracted packet for processing {"connection_id":155144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":36,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19:42: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-08-11 19:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333093632001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786457418000,"timestamp_ms":1786457418000,"timestamp_seconds":1786457418,"priority":1,"record_length":96,"hex_timestamp":"0000019ff128e910"} 
[2026-08-11 19:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:42:22] 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-08-11 19:42: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 19:42:22] 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-08-11 19:42: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-08-11 19:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":155144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":155144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":155144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333093632001,"66":12428,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333093632001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:42:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333093632001,"power":12428,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":155144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:42:22] local.INFO: GPS data processed {"connection_id":155144,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:42:22] local.INFO: Acknowledgment sent {"connection_id":155144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:42:24] local.INFO: TCP Data received {"connection_id":153771,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:42:24] local.INFO: Processing buffer {"connection_id":153771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:42:24] local.INFO: IMEI packet received {"connection_id":153771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":153771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:42:25] local.INFO: TCP Data received {"connection_id":153771,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1289320012d7eee4005ba0288000700092e..."} 
[2026-08-11 19:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1289320012d7eee4005ba0288000700092e..."} 
[2026-08-11 19:42:25] local.INFO: Processing buffer {"connection_id":153771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1289320012d7eee4005ba0288000700092e..."} 
[2026-08-11 19:42:25] local.INFO: Packet analysis {"connection_id":153771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:42:25] local.INFO: Extracted packet for processing {"connection_id":153771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763293248,"raw_latitude":96076424,"longitude_deg":76.3293248,"latitude_deg":9.6076424,"altitude":7,"angle":9,"satellites":46,"speed":37,"hex_longitude":"2d7eee40","hex_latitude":"05ba0288","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333091072001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378010680290181120,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9144347961736376320,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786457396000,"timestamp_ms":1786457396000,"timestamp_seconds":1786457396,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1289320"} 
[2026-08-11 19:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 19:42:25] 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-08-11 19: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-08-11 19:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:42:25] 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-08-11 19:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333091072001,"66":27343,"127":206,"85":12544,"24":37,"16":378010680290181120,"45":9144347961736376320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-11 19:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333091072001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:42:25] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-11 19:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378010680290181120,"km_value":378010680290181.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9144347961736376320,"description":"Unknown IO ID 45"} 
[2026-08-11 19:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333091072001,"power":27343,"unknown_127":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9144347961736376320}} 
[2026-08-11 19:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":153771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:42:25] local.INFO: GPS data processed {"connection_id":153771,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:42:25] local.INFO: Acknowledgment sent {"connection_id":153771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:42:45] local.INFO: TCP Data received {"connection_id":155143,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12a5458012d7e524005d380000003000527..."} 
[2026-08-11 19:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12a5458012d7e524005d380000003000527..."} 
[2026-08-11 19:42:45] local.INFO: Processing buffer {"connection_id":155143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12a5458012d7e524005d380000003000527..."} 
[2026-08-11 19:42:45] local.INFO: Packet analysis {"connection_id":155143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12a"} 
[2026-08-11 19:42:45] local.INFO: Extracted packet for processing {"connection_id":155143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12a"} 
[2026-08-11 19:42:45] local.INFO: GPS Element Parsed {"raw_longitude":763253312,"raw_latitude":97746944,"longitude_deg":76.3253312,"latitude_deg":9.7746944,"altitude":3,"angle":5,"satellites":39,"speed":27,"hex_longitude":"2d7e5240","hex_latitude":"05d38000","is_valid_coordinates":true} 
[2026-08-11 19:42: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-08-11 19:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333120512001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117805038759313408,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102760034356191232,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:45] 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-08-11 19:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786457511000,"timestamp_ms":1786457511000,"timestamp_seconds":1786457511,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12a5458"} 
[2026-08-11 19:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:42:45] 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-08-11 19:42: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 19:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 19:42: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-08-11 19:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333120512001,"66":12374,"109":206,"85":15104,"24":27,"16":117805038759313408,"45":9102760034356191232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 19:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333120512001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:42:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 19:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117805038759313408,"km_value":117805038759313.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102760034356191232,"description":"Unknown IO ID 45"} 
[2026-08-11 19:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333120512001,"power":12374,"unknown_109":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9102760034356191232}} 
[2026-08-11 19:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":155143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:42:45] local.INFO: GPS data processed {"connection_id":155143,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:42:45] local.INFO: Acknowledgment sent {"connection_id":155143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:42:53] local.INFO: TCP Data received {"connection_id":155144,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1293b18012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1293b18012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:42:53] local.INFO: Processing buffer {"connection_id":155144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1293b18012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:42:53] local.INFO: Packet analysis {"connection_id":155144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff129"} 
[2026-08-11 19:42:53] local.INFO: Extracted packet for processing {"connection_id":155144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff129"} 
[2026-08-11 19:42:53] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":37,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333099008001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786457439000,"timestamp_ms":1786457439000,"timestamp_seconds":1786457439,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1293b18"} 
[2026-08-11 19:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:42: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-08-11 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 19:42: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-08-11 19: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-08-11 19:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":155144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":155144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":155144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333099008001,"66":12385,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333099008001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:42:53] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:42:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333099008001,"power":12385,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":155144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:42:53] local.INFO: GPS data processed {"connection_id":155144,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:42:53] local.INFO: Acknowledgment sent {"connection_id":155144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:42:56] local.INFO: TCP Data received {"connection_id":153771,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff128b648012d7ef44005ba2568000800092b..."} 
[2026-08-11 19:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff128b648012d7ef44005ba2568000800092b..."} 
[2026-08-11 19:42:56] local.INFO: Processing buffer {"connection_id":153771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff128b648012d7ef44005ba2568000800092b..."} 
[2026-08-11 19:42:56] local.INFO: Packet analysis {"connection_id":153771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:42:56] local.INFO: Extracted packet for processing {"connection_id":153771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763294784,"raw_latitude":96085352,"longitude_deg":76.3294784,"latitude_deg":9.6085352,"altitude":8,"angle":9,"satellites":43,"speed":40,"hex_longitude":"2d7ef440","hex_latitude":"05ba2568","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333093376001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378011118376845312,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9146318286575798272,"note":"Value kept but may cause issues"} 
[2026-08-11 19:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786457405000,"timestamp_ms":1786457405000,"timestamp_seconds":1786457405,"priority":1,"record_length":96,"hex_timestamp":"0000019ff128b648"} 
[2026-08-11 19:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 19:42:56] 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-08-11 19: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-08-11 19:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:42:56] 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-08-11 19:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333093376001,"66":27180,"120":206,"85":12544,"24":40,"16":378011118376845312,"45":9146318286575798272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-11 19:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333093376001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:42:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 19:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378011118376845312,"km_value":378011118376845.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9146318286575798272,"description":"Unknown IO ID 45"} 
[2026-08-11 19:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333093376001,"power":27180,"unknown_120":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9146318286575798272}} 
[2026-08-11 19:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":153771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:42:56] local.INFO: GPS data processed {"connection_id":153771,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:42:56] local.INFO: Acknowledgment sent {"connection_id":153771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:43:08] local.INFO: TCP Data received {"connection_id":152428,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:43:08] local.INFO: Processing buffer {"connection_id":152428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:43:08] local.INFO: IMEI packet received {"connection_id":152428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":152428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:43:12] local.INFO: TCP Data received {"connection_id":152427,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:43:12] local.INFO: Processing buffer {"connection_id":152427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:43:12] local.INFO: IMEI packet received {"connection_id":152427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":152427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:43:13] local.INFO: TCP Data received {"connection_id":152428,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:43:13] local.INFO: Processing buffer {"connection_id":152428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:43:13] local.INFO: IMEI packet received {"connection_id":152428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":152428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:43:14] local.INFO: TCP Data received {"connection_id":152428,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12a6bc8012d7e530005d391200003016127..."} 
[2026-08-11 19:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12a6bc8012d7e530005d391200003016127..."} 
[2026-08-11 19:43:14] local.INFO: Processing buffer {"connection_id":152428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12a6bc8012d7e530005d391200003016127..."} 
[2026-08-11 19:43:14] local.INFO: Packet analysis {"connection_id":152428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12a"} 
[2026-08-11 19:43:14] local.INFO: Extracted packet for processing {"connection_id":152428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12a"} 
[2026-08-11 19:43:14] local.INFO: GPS Element Parsed {"raw_longitude":763253504,"raw_latitude":97751328,"longitude_deg":76.3253504,"latitude_deg":9.7751328,"altitude":3,"angle":353,"satellites":39,"speed":27,"hex_longitude":"2d7e5300","hex_latitude":"05d39120","is_valid_coordinates":true} 
[2026-08-11 19:43: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-08-11 19:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333122816001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117805253507678208,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102408190636589056,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:14] 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-08-11 19:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786457517000,"timestamp_ms":1786457517000,"timestamp_seconds":1786457517,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12a6bc8"} 
[2026-08-11 19:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:43:14] 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-08-11 19:43: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-11 19:43:14] 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-08-11 19:43: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-08-11 19:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333122816001,"66":12602,"109":206,"85":15104,"24":27,"16":117805253507678208,"45":9102408190636589056},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 19:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333122816001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:43:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 19:43:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117805253507678208,"km_value":117805253507678.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102408190636589056,"description":"Unknown IO ID 45"} 
[2026-08-11 19:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333122816001,"power":12602,"unknown_109":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9102408190636589056}} 
[2026-08-11 19:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":152428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:43:14] local.INFO: GPS data processed {"connection_id":152428,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:43:14] local.INFO: Acknowledgment sent {"connection_id":152428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:43:14] local.INFO: TCP Data received {"connection_id":152427,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:43:14] local.INFO: Processing buffer {"connection_id":152427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:43:14] local.INFO: IMEI packet received {"connection_id":152427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":152427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:43:15] local.INFO: TCP Data received {"connection_id":152427,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1298d20012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1298d20012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:43:15] local.INFO: Processing buffer {"connection_id":152427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1298d20012d1d9140071b2d88003e010424..."} 
[2026-08-11 19:43:15] local.INFO: Packet analysis {"connection_id":152427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff129"} 
[2026-08-11 19:43:15] local.INFO: Extracted packet for processing {"connection_id":152427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff129"} 
[2026-08-11 19:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":36,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333104384001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786457460000,"timestamp_ms":1786457460000,"timestamp_seconds":1786457460,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1298d20"} 
[2026-08-11 19:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:43:15] 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-08-11 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 19:43:15] 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-08-11 19: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-08-11 19:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333104384001,"66":12385,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333104384001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:43:15] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333104384001,"power":12385,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":152427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:43:16] local.INFO: GPS data processed {"connection_id":152427,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:43:16] local.INFO: Acknowledgment sent {"connection_id":152427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:43:18] local.INFO: TCP Data received {"connection_id":152834,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:43:18] local.INFO: Processing buffer {"connection_id":152834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:43:18] local.INFO: IMEI packet received {"connection_id":152834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":152834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:43:20] local.INFO: TCP Data received {"connection_id":152427,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff129df28012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff129df28012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:43:20] local.INFO: Processing buffer {"connection_id":152427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff129df28012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:43:20] local.INFO: Packet analysis {"connection_id":152427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff129"} 
[2026-08-11 19:43:20] local.INFO: Extracted packet for processing {"connection_id":152427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff129"} 
[2026-08-11 19:43:20] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":37,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19:43: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-08-11 19:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333109760001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786457481000,"timestamp_ms":1786457481000,"timestamp_seconds":1786457481,"priority":1,"record_length":96,"hex_timestamp":"0000019ff129df28"} 
[2026-08-11 19:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:43:20] 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-08-11 19:43: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 19:43:20] 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-08-11 19:43: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-08-11 19:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333109760001,"66":12428,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333109760001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:43:20] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:43:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333109760001,"power":12428,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":152427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:43:20] local.INFO: GPS data processed {"connection_id":152427,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:43:20] local.INFO: Acknowledgment sent {"connection_id":152427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:43:21] local.INFO: TCP Data received {"connection_id":152834,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:43:21] local.INFO: Processing buffer {"connection_id":152834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:43:21] local.INFO: IMEI packet received {"connection_id":152834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":152834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:43:24] local.INFO: TCP Data received {"connection_id":152834,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:43:24] local.INFO: Processing buffer {"connection_id":152834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:43:24] local.INFO: IMEI packet received {"connection_id":152834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":152834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:43:24] local.INFO: TCP Data received {"connection_id":152834,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff128e528012d7ef98005ba49c00008000a2d..."} 
[2026-08-11 19:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff128e528012d7ef98005ba49c00008000a2d..."} 
[2026-08-11 19:43:24] local.INFO: Processing buffer {"connection_id":152834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff128e528012d7ef98005ba49c00008000a2d..."} 
[2026-08-11 19:43:24] local.INFO: Packet analysis {"connection_id":152834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:43:24] local.INFO: Extracted packet for processing {"connection_id":152834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff128"} 
[2026-08-11 19:43:24] local.INFO: GPS Element Parsed {"raw_longitude":763296128,"raw_latitude":96094656,"longitude_deg":76.3296128,"latitude_deg":9.6094656,"altitude":8,"angle":10,"satellites":45,"speed":28,"hex_longitude":"2d7ef980","hex_latitude":"05ba49c0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333095680001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378011577938345984,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148007136438347776,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786457417000,"timestamp_ms":1786457417000,"timestamp_seconds":1786457417,"priority":1,"record_length":96,"hex_timestamp":"0000019ff128e528"} 
[2026-08-11 19:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-11 19:43:24] 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-08-11 19: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-08-11 19:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:43:24] 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-08-11 19:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333095680001,"66":27310,"120":206,"85":12544,"24":28,"16":378011577938345984,"45":9148007136438347776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-11 19:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333095680001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:43:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 19:43:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378011577938345984,"km_value":378011577938346.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148007136438347776,"description":"Unknown IO ID 45"} 
[2026-08-11 19:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333095680001,"power":27310,"unknown_120":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":9148007136438347776}} 
[2026-08-11 19:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":152834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:43:24] local.INFO: GPS data processed {"connection_id":152834,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:43:24] local.INFO: Acknowledgment sent {"connection_id":152834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:43:45] local.INFO: TCP Data received {"connection_id":152428,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12a7398012d7e51c005d395d80002014f28..."} 
[2026-08-11 19:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12a7398012d7e51c005d395d80002014f28..."} 
[2026-08-11 19:43:45] local.INFO: Processing buffer {"connection_id":152428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12a7398012d7e51c005d395d80002014f28..."} 
[2026-08-11 19:43:45] local.INFO: Packet analysis {"connection_id":152428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12a"} 
[2026-08-11 19:43:45] local.INFO: Extracted packet for processing {"connection_id":152428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12a"} 
[2026-08-11 19:43:45] local.INFO: GPS Element Parsed {"raw_longitude":763253184,"raw_latitude":97752536,"longitude_deg":76.3253184,"latitude_deg":9.7752536,"altitude":2,"angle":335,"satellites":40,"speed":23,"hex_longitude":"2d7e51c0","hex_latitude":"05d395d8","is_valid_coordinates":true} 
[2026-08-11 19:43: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-08-11 19:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333124352001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117805313637220352,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102619296870244352,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:45] 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-08-11 19:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786457519000,"timestamp_ms":1786457519000,"timestamp_seconds":1786457519,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12a7398"} 
[2026-08-11 19:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:43:45] 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-08-11 19:43: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-11 19:43:45] 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-08-11 19:43: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-08-11 19:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333124352001,"66":11906,"109":206,"85":15104,"24":23,"16":117805313637220352,"45":9102619296870244352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 19:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333124352001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:43:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 19:43:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117805313637220352,"km_value":117805313637220.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102619296870244352,"description":"Unknown IO ID 45"} 
[2026-08-11 19:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333124352001,"power":11906,"unknown_109":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9102619296870244352}} 
[2026-08-11 19:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":152428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:43:45] local.INFO: GPS data processed {"connection_id":152428,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:43:45] local.INFO: Acknowledgment sent {"connection_id":152428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:43:55] local.INFO: TCP Data received {"connection_id":152427,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12a3130012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12a3130012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:43:55] local.INFO: Processing buffer {"connection_id":152427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12a3130012d1d9140071b2d88003e010425..."} 
[2026-08-11 19:43:55] local.INFO: Packet analysis {"connection_id":152427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12a"} 
[2026-08-11 19:43:55] local.INFO: Extracted packet for processing {"connection_id":152427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12a"} 
[2026-08-11 19:43:55] local.INFO: GPS Element Parsed {"raw_longitude":756912448,"raw_latitude":119221640,"longitude_deg":75.6912448,"latitude_deg":11.922164,"altitude":62,"angle":260,"satellites":37,"speed":0,"hex_longitude":"2d1d9140","hex_latitude":"071b2d88","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333115136001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11848375955619840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130554497987872768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786457502000,"timestamp_ms":1786457502000,"timestamp_seconds":1786457502,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12a3130"} 
[2026-08-11 19:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:43:55] 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-08-11 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 19:43: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-08-11 19: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-08-11 19:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333115136001,"66":12406,"82":206,"83":41984,"24":0,"16":11848375955619840,"45":2130554497987872768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333115136001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:43:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:43:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11848375955619840,"km_value":11848375955619.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130554497987872768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333115136001,"power":12406,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130554497987872768}} 
[2026-08-11 19:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":152427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:43:55] local.INFO: GPS data processed {"connection_id":152427,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:43:55] local.INFO: Acknowledgment sent {"connection_id":152427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:43:56] local.INFO: TCP Data received {"connection_id":152834,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12b3300012d7f328005bb8d900008000b30..."} 
[2026-08-11 19:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12b3300012d7f328005bb8d900008000b30..."} 
[2026-08-11 19:43:56] local.INFO: Processing buffer {"connection_id":152834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12b3300012d7f328005bb8d900008000b30..."} 
[2026-08-11 19:43:56] local.INFO: Packet analysis {"connection_id":152834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12b"} 
[2026-08-11 19:43:56] local.INFO: Extracted packet for processing {"connection_id":152834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12b"} 
[2026-08-11 19:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763310720,"raw_latitude":96177552,"longitude_deg":76.331072,"latitude_deg":9.6177552,"altitude":8,"angle":11,"satellites":48,"speed":20,"hex_longitude":"2d7f3280","hex_latitude":"05bb8d90","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333136128001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378015675337146368,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165247478784927744,"note":"Value kept but may cause issues"} 
[2026-08-11 19:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786457568000,"timestamp_ms":1786457568000,"timestamp_seconds":1786457568,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12b3300"} 
[2026-08-11 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-08-11 19:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 19:43:56] 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-08-11 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-08-11 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-08-11 19:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:43:56] 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-08-11 19:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333136128001,"66":27321,"120":206,"85":12544,"24":20,"16":378015675337146368,"45":9165247478784927744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-11 19:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333136128001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:43:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 19:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378015675337146368,"km_value":378015675337146.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165247478784927744,"description":"Unknown IO ID 45"} 
[2026-08-11 19:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333136128001,"power":27321,"unknown_120":206,"unknown_85":12544,"ignition":20,"odometer":null,"unknown_45":9165247478784927744}} 
[2026-08-11 19:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":152834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:43:56] local.INFO: GPS data processed {"connection_id":152834,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:43:56] local.INFO: Acknowledgment sent {"connection_id":152834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:44:08] local.INFO: TCP Data received {"connection_id":155146,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:44:08] local.INFO: Processing buffer {"connection_id":155146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:44:08] local.INFO: IMEI packet received {"connection_id":155146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":155146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:44:09] local.INFO: TCP Data received {"connection_id":155145,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:44:09] local.INFO: Processing buffer {"connection_id":155145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:44:09] local.INFO: IMEI packet received {"connection_id":155145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":155145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:44:13] local.INFO: TCP Data received {"connection_id":155146,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:44:13] local.INFO: Processing buffer {"connection_id":155146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:44:13] local.INFO: IMEI packet received {"connection_id":155146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":155146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:44:14] local.INFO: TCP Data received {"connection_id":155146,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12a8ef0012d7e4dc005d39f300002015c29..."} 
[2026-08-11 19:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12a8ef0012d7e4dc005d39f300002015c29..."} 
[2026-08-11 19:44:14] local.INFO: Processing buffer {"connection_id":155146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12a8ef0012d7e4dc005d39f300002015c29..."} 
[2026-08-11 19:44:14] local.INFO: Packet analysis {"connection_id":155146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12a"} 
[2026-08-11 19:44:14] local.INFO: Extracted packet for processing {"connection_id":155146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12a"} 
[2026-08-11 19:44:14] local.INFO: GPS Element Parsed {"raw_longitude":763252160,"raw_latitude":97754928,"longitude_deg":76.325216,"latitude_deg":9.7754928,"altitude":2,"angle":348,"satellites":41,"speed":12,"hex_longitude":"2d7e4dc0","hex_latitude":"05d39f30","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333124864001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117805438191271936,"note":"Value kept but may cause issues"} 
[2026-08-11 19:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102267453149665280,"note":"Value kept but may cause issues"} 
[2026-08-11 19:44:14] 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-08-11 19:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786457526000,"timestamp_ms":1786457526000,"timestamp_seconds":1786457526,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12a8ef0"} 
[2026-08-11 19:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:44:14] 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-08-11 19: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-08-11 19:44:14] 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-08-11 19: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-08-11 19:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333124864001,"66":12613,"109":206,"85":15104,"24":12,"16":117805438191271936,"45":9102267453149665280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 19:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333124864001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:44:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 19:44:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117805438191271936,"km_value":117805438191271.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102267453149665280,"description":"Unknown IO ID 45"} 
[2026-08-11 19:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333124864001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9102267453149665280}} 
[2026-08-11 19:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":155146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:44:14] local.INFO: GPS data processed {"connection_id":155146,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:44:14] local.INFO: Acknowledgment sent {"connection_id":155146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:44:15] local.INFO: TCP Data received {"connection_id":155145,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:44:15] local.INFO: Processing buffer {"connection_id":155145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:44:15] local.INFO: IMEI packet received {"connection_id":155145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":155145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:44:22] local.INFO: TCP Data received {"connection_id":152429,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:44:22] local.INFO: Processing buffer {"connection_id":152429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:44:22] local.INFO: IMEI packet received {"connection_id":152429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":152429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:44:23] local.INFO: TCP Data received {"connection_id":152429,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:44:23] local.INFO: Processing buffer {"connection_id":152429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:44:23] local.INFO: IMEI packet received {"connection_id":152429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":152429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:44:29] local.INFO: TCP Data received {"connection_id":152429,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:44:29] local.INFO: Processing buffer {"connection_id":152429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:44:29] local.INFO: IMEI packet received {"connection_id":152429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":152429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:44:29] local.INFO: TCP Data received {"connection_id":152429,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12b61e0012d7f388005bbb0c00008000b30..."} 
[2026-08-11 19:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12b61e0012d7f388005bbb0c00008000b30..."} 
[2026-08-11 19:44:29] local.INFO: Processing buffer {"connection_id":152429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12b61e0012d7f388005bbb0c00008000b30..."} 
[2026-08-11 19:44:29] local.INFO: Packet analysis {"connection_id":152429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12b"} 
[2026-08-11 19:44:29] local.INFO: Extracted packet for processing {"connection_id":152429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12b"} 
[2026-08-11 19:44:29] local.INFO: GPS Element Parsed {"raw_longitude":763312256,"raw_latitude":96186560,"longitude_deg":76.3312256,"latitude_deg":9.618656,"altitude":8,"angle":11,"satellites":48,"speed":38,"hex_longitude":"2d7f3880","hex_latitude":"05bbb0c0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333137408001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378016117718777856,"note":"Value kept but may cause issues"} 
[2026-08-11 19:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165528953762189312,"note":"Value kept but may cause issues"} 
[2026-08-11 19:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786457580000,"timestamp_ms":1786457580000,"timestamp_seconds":1786457580,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12b61e0"} 
[2026-08-11 19:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 19:44:29] 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-08-11 19: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-08-11 19:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:44:29] 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-08-11 19:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333137408001,"66":27321,"120":206,"85":12544,"24":38,"16":378016117718777856,"45":9165528953762189312},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-11 19:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333137408001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:44:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 19:44:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378016117718777856,"km_value":378016117718777.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165528953762189312,"description":"Unknown IO ID 45"} 
[2026-08-11 19:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333137408001,"power":27321,"unknown_120":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9165528953762189312}} 
[2026-08-11 19:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":152429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:44:30] local.INFO: GPS data processed {"connection_id":152429,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:44:30] local.INFO: Acknowledgment sent {"connection_id":152429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:44:45] local.INFO: TCP Data received {"connection_id":155146,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12cb1d0012d7e32c005d4cf100001014e24..."} 
[2026-08-11 19:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12cb1d0012d7e32c005d4cf100001014e24..."} 
[2026-08-11 19:44:45] local.INFO: Processing buffer {"connection_id":155146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12cb1d0012d7e32c005d4cf100001014e24..."} 
[2026-08-11 19:44:45] local.INFO: Packet analysis {"connection_id":155146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12c"} 
[2026-08-11 19:44:45] local.INFO: Extracted packet for processing {"connection_id":155146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12c"} 
[2026-08-11 19:44:45] local.INFO: GPS Element Parsed {"raw_longitude":763245248,"raw_latitude":97832720,"longitude_deg":76.3245248,"latitude_deg":9.783272,"altitude":1,"angle":334,"satellites":36,"speed":12,"hex_longitude":"2d7e32c0","hex_latitude":"05d4cf10","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333161984001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117809252122230784,"note":"Value kept but may cause issues"} 
[2026-08-11 19:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093682466380392448,"note":"Value kept but may cause issues"} 
[2026-08-11 19:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786457666000,"timestamp_ms":1786457666000,"timestamp_seconds":1786457666,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12cb1d0"} 
[2026-08-11 19:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:44:45] 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-08-11 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 19:44:45] 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-08-11 19: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-08-11 19:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333161984001,"66":12135,"111":206,"85":15104,"24":12,"16":117809252122230784,"45":9093682466380392448},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-11 19:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333161984001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:44:45] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 19:44:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117809252122230784,"km_value":117809252122230.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093682466380392448,"description":"Unknown IO ID 45"} 
[2026-08-11 19:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333161984001,"power":12135,"unknown_111":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9093682466380392448}} 
[2026-08-11 19:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":155146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:44:45] local.INFO: GPS data processed {"connection_id":155146,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:44:45] local.INFO: Acknowledgment sent {"connection_id":155146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:45:01] local.INFO: TCP Data received {"connection_id":152429,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12b8508012d7f3ec005bbd438000800092f..."} 
[2026-08-11 19:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12b8508012d7f3ec005bbd438000800092f..."} 
[2026-08-11 19:45:01] local.INFO: Processing buffer {"connection_id":152429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12b8508012d7f3ec005bbd438000800092f..."} 
[2026-08-11 19:45:01] local.INFO: Packet analysis {"connection_id":152429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12b"} 
[2026-08-11 19:45:01] local.INFO: Extracted packet for processing {"connection_id":152429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12b"} 
[2026-08-11 19:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763313856,"raw_latitude":96195640,"longitude_deg":76.3313856,"latitude_deg":9.619564,"altitude":8,"angle":9,"satellites":47,"speed":42,"hex_longitude":"2d7f3ec0","hex_latitude":"05bbd438","is_valid_coordinates":true} 
[2026-08-11 19:45: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-08-11 19:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333140480001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378016564395376640,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167217803624759296,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786457589000,"timestamp_ms":1786457589000,"timestamp_seconds":1786457589,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12b8508"} 
[2026-08-11 19:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19:45: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":185,"data_length":795,"current_offset":136} 
[2026-08-11 19:45:01] 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-08-11 19:45: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-08-11 19:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:45:01] 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-08-11 19:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333140480001,"66":27213,"120":206,"85":12544,"24":42,"16":378016564395376640,"45":9167217803624759296},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-11 19:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333140480001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:45:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-11 19:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378016564395376640,"km_value":378016564395376.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167217803624759296,"description":"Unknown IO ID 45"} 
[2026-08-11 19:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333140480001,"power":27213,"unknown_120":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9167217803624759296}} 
[2026-08-11 19:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":152429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:45:01] local.INFO: GPS data processed {"connection_id":152429,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:45:01] local.INFO: Acknowledgment sent {"connection_id":152429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:45:08] local.INFO: TCP Data received {"connection_id":155147,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:45:08] local.INFO: Processing buffer {"connection_id":155147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:45:08] local.INFO: IMEI packet received {"connection_id":155147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":155147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:45:13] local.INFO: TCP Data received {"connection_id":155147,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:45:13] local.INFO: Processing buffer {"connection_id":155147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:45:13] local.INFO: IMEI packet received {"connection_id":155147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":155147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:45:18] local.INFO: TCP Data received {"connection_id":155147,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12cb9a0012d7e310005d4d1b00001014025..."} 
[2026-08-11 19:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12cb9a0012d7e310005d4d1b00001014025..."} 
[2026-08-11 19:45:18] local.INFO: Processing buffer {"connection_id":155147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12cb9a0012d7e310005d4d1b00001014025..."} 
[2026-08-11 19:45:18] local.INFO: Packet analysis {"connection_id":155147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12c"} 
[2026-08-11 19:45:18] local.INFO: Extracted packet for processing {"connection_id":155147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12c"} 
[2026-08-11 19:45:18] local.INFO: GPS Element Parsed {"raw_longitude":763244800,"raw_latitude":97833392,"longitude_deg":76.32448,"latitude_deg":9.7833392,"altitude":1,"angle":320,"satellites":37,"speed":17,"hex_longitude":"2d7e3100","hex_latitude":"05d4d1b0","is_valid_coordinates":true} 
[2026-08-11 19:45: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-08-11 19:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333162496001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117809290776936448,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093541728892162048,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786457668000,"timestamp_ms":1786457668000,"timestamp_seconds":1786457668,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12cb9a0"} 
[2026-08-11 19:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:45:18] 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-08-11 19:45: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 19:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 19:45: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-08-11 19:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":155147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":155147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":155147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333162496001,"66":12298,"111":206,"85":15104,"24":17,"16":117809290776936448,"45":9093541728892162048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-11 19:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333162496001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:45:18] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 19:45:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117809290776936448,"km_value":117809290776936.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093541728892162048,"description":"Unknown IO ID 45"} 
[2026-08-11 19:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333162496001,"power":12298,"unknown_111":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9093541728892162048}} 
[2026-08-11 19:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":155147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:45:18] local.INFO: GPS data processed {"connection_id":155147,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:45:18] local.INFO: Acknowledgment sent {"connection_id":155147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:45:19] local.INFO: TCP Data received {"connection_id":155148,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:45:19] local.INFO: Processing buffer {"connection_id":155148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:45:19] local.INFO: IMEI packet received {"connection_id":155148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":155148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:45:24] local.INFO: TCP Data received {"connection_id":155148,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:45:24] local.INFO: Processing buffer {"connection_id":155148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:45:24] local.INFO: IMEI packet received {"connection_id":155148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":155148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:45:24] local.INFO: TCP Data received {"connection_id":155148,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12ba830012d7f458005bbf9b00008000a30..."} 
[2026-08-11 19:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12ba830012d7f458005bbf9b00008000a30..."} 
[2026-08-11 19:45:24] local.INFO: Processing buffer {"connection_id":155148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12ba830012d7f458005bbf9b00008000a30..."} 
[2026-08-11 19:45:24] local.INFO: Packet analysis {"connection_id":155148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12b"} 
[2026-08-11 19:45:24] local.INFO: Extracted packet for processing {"connection_id":155148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12b"} 
[2026-08-11 19:45:24] local.INFO: GPS Element Parsed {"raw_longitude":763315584,"raw_latitude":96205232,"longitude_deg":76.3315584,"latitude_deg":9.6205232,"altitude":8,"angle":10,"satellites":48,"speed":43,"hex_longitude":"2d7f4580","hex_latitude":"05bbf9b0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333142784001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378017036841779200,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168977022231525376,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786457598000,"timestamp_ms":1786457598000,"timestamp_seconds":1786457598,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12ba830"} 
[2026-08-11 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-08-11 19:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 19:45:24] 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-08-11 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-08-11 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-08-11 19:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:45:24] 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-08-11 19:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333142784001,"66":27321,"121":206,"85":12544,"24":43,"16":378017036841779200,"45":9168977022231525376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-11 19:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333142784001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:45:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 19:45:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378017036841779200,"km_value":378017036841779.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168977022231525376,"description":"Unknown IO ID 45"} 
[2026-08-11 19:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333142784001,"power":27321,"unknown_121":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9168977022231525376}} 
[2026-08-11 19:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":155148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:45:24] local.INFO: GPS data processed {"connection_id":155148,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:45:24] local.INFO: Acknowledgment sent {"connection_id":155148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:45:52] local.INFO: TCP Data received {"connection_id":155147,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12ccd28012d7e2bc005d4d8d80001015629..."} 
[2026-08-11 19:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12ccd28012d7e2bc005d4d8d80001015629..."} 
[2026-08-11 19:45:52] local.INFO: Processing buffer {"connection_id":155147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12ccd28012d7e2bc005d4d8d80001015629..."} 
[2026-08-11 19:45:52] local.INFO: Packet analysis {"connection_id":155147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12c"} 
[2026-08-11 19:45:52] local.INFO: Extracted packet for processing {"connection_id":155147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12c"} 
[2026-08-11 19:45:52] local.INFO: GPS Element Parsed {"raw_longitude":763243456,"raw_latitude":97835224,"longitude_deg":76.3243456,"latitude_deg":9.7835224,"altitude":1,"angle":342,"satellites":41,"speed":22,"hex_longitude":"2d7e2bc0","hex_latitude":"05d4d8d8","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333163008001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117809398151118848,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093049147683090432,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786457673000,"timestamp_ms":1786457673000,"timestamp_seconds":1786457673,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12ccd28"} 
[2026-08-11 19:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:45:52] 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-08-11 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437020131840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186018,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":138,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1068519727863857609,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068468328825038,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1299120334,"corrected_to":0} 
[2026-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":128,"raw_value":420066046570266632,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3381657602,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3221607594,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2323120128,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":600333852082176,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.WARNING: Large IO value detected {"io_id":37,"raw_value":6473924465000452,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:52] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,111,85,24,241,157,16,138,159,177,45,192,207,1,36,10,66,170,64,205,35,166,128,240,168,227,212,4,113,68,55,96,39,239,48,2,162,5,37],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1299120334,"validated":0}]} 
[2026-08-11 19:45:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72409596673720320,"timestamp_seconds":72409596673720.31,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 19:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":155147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":155147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":155147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333163008001,"66":12374,"111":206,"85":15104,"24":22,"16":117809398151118848,"45":9093049147683090432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-11 19:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333163008001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:45:52] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 19:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117809398151118848,"km_value":117809398151118.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093049147683090432,"description":"Unknown IO ID 45"} 
[2026-08-11 19:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333163008001,"power":12374,"unknown_111":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9093049147683090432}} 
[2026-08-11 19:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":155147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:45:52] local.INFO: GPS data processed {"connection_id":155147,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:45:52] local.INFO: Acknowledgment sent {"connection_id":155147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:45:55] local.INFO: TCP Data received {"connection_id":155148,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12bcb58012d7f4cc005bc1f780008000a30..."} 
[2026-08-11 19:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12bcb58012d7f4cc005bc1f780008000a30..."} 
[2026-08-11 19:45:55] local.INFO: Processing buffer {"connection_id":155148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12bcb58012d7f4cc005bc1f780008000a30..."} 
[2026-08-11 19:45:55] local.INFO: Packet analysis {"connection_id":155148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12b"} 
[2026-08-11 19:45:55] local.INFO: Extracted packet for processing {"connection_id":155148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12b"} 
[2026-08-11 19:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763317440,"raw_latitude":96214904,"longitude_deg":76.331744,"latitude_deg":9.6214904,"altitude":8,"angle":10,"satellites":48,"speed":44,"hex_longitude":"2d7f4cc0","hex_latitude":"05bc1f78","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333145088001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378017513583149056,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170876978326777856,"note":"Value kept but may cause issues"} 
[2026-08-11 19:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786457607000,"timestamp_ms":1786457607000,"timestamp_seconds":1786457607,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12bcb58"} 
[2026-08-11 19:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 19:45:55] 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-08-11 19: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-08-11 19:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:45:55] 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-08-11 19:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333145088001,"66":27376,"121":206,"85":12544,"24":44,"16":378017513583149056,"45":9170876978326777856},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-11 19:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333145088001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:45:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 19:45:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378017513583149056,"km_value":378017513583149.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170876978326777856,"description":"Unknown IO ID 45"} 
[2026-08-11 19:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333145088001,"power":27376,"unknown_121":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9170876978326777856}} 
[2026-08-11 19:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":155148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:45:55] local.INFO: GPS data processed {"connection_id":155148,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:45:55] local.INFO: Acknowledgment sent {"connection_id":155148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:46:09] local.INFO: TCP Data received {"connection_id":152430,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:46:09] local.INFO: Processing buffer {"connection_id":152430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:46:09] local.INFO: IMEI packet received {"connection_id":152430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":152430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:46:13] local.INFO: TCP Data received {"connection_id":152430,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:46:13] local.INFO: Processing buffer {"connection_id":152430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:46:13] local.INFO: IMEI packet received {"connection_id":152430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":152430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:46:14] local.INFO: TCP Data received {"connection_id":152430,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:46:14] local.INFO: Processing buffer {"connection_id":152430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:46:14] local.INFO: IMEI packet received {"connection_id":152430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":152430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:46:16] local.INFO: TCP Data received {"connection_id":152430,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:46:16] local.INFO: Processing buffer {"connection_id":152430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:46:16] local.INFO: IMEI packet received {"connection_id":152430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":152430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:46:18] local.INFO: TCP Data received {"connection_id":152430,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12e4040012d7e19c005d564900005011826..."} 
[2026-08-11 19:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12e4040012d7e19c005d564900005011826..."} 
[2026-08-11 19:46:18] local.INFO: Processing buffer {"connection_id":152430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12e4040012d7e19c005d564900005011826..."} 
[2026-08-11 19:46:18] local.INFO: Packet analysis {"connection_id":152430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12e"} 
[2026-08-11 19:46:18] local.INFO: Extracted packet for processing {"connection_id":152430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12e"} 
[2026-08-11 19:46:18] local.INFO: GPS Element Parsed {"raw_longitude":763238848,"raw_latitude":97870992,"longitude_deg":76.3238848,"latitude_deg":9.7870992,"altitude":5,"angle":280,"satellites":38,"speed":8,"hex_longitude":"2d7e19c0","hex_latitude":"05d56490","is_valid_coordinates":true} 
[2026-08-11 19:46: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-08-11 19:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333188352001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117811176267579392,"note":"Value kept but may cause issues"} 
[2026-08-11 19:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086715960716713984,"note":"Value kept but may cause issues"} 
[2026-08-11 19:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786457768000,"timestamp_ms":1786457768000,"timestamp_seconds":1786457768,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12e4040"} 
[2026-08-11 19:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:46:18] 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-08-11 19:46: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 19:46:18] 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-08-11 19:46: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-08-11 19:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333188352001,"66":12428,"111":206,"85":15104,"24":8,"16":117811176267579392,"45":9086715960716713984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-11 19:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333188352001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:46:18] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 19:46:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117811176267579392,"km_value":117811176267579.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086715960716713984,"description":"Unknown IO ID 45"} 
[2026-08-11 19:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333188352001,"power":12428,"unknown_111":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9086715960716713984}} 
[2026-08-11 19:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":152430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:46:18] local.INFO: GPS data processed {"connection_id":152430,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:46:18] local.INFO: Acknowledgment sent {"connection_id":152430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:46:19] local.INFO: TCP Data received {"connection_id":152430,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12e4810012d7e180005d564980005010b27..."} 
[2026-08-11 19:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12e4810012d7e180005d564980005010b27..."} 
[2026-08-11 19:46:19] local.INFO: Processing buffer {"connection_id":152430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12e4810012d7e180005d564980005010b27..."} 
[2026-08-11 19:46:19] local.INFO: Packet analysis {"connection_id":152430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12e"} 
[2026-08-11 19:46:19] local.INFO: Extracted packet for processing {"connection_id":152430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12e"} 
[2026-08-11 19:46:19] local.INFO: GPS Element Parsed {"raw_longitude":763238400,"raw_latitude":97871000,"longitude_deg":76.32384,"latitude_deg":9.7871,"altitude":5,"angle":267,"satellites":39,"speed":10,"hex_longitude":"2d7e1800","hex_latitude":"05d56498","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333188608001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117811197742415872,"note":"Value kept but may cause issues"} 
[2026-08-11 19:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086504854484193280,"note":"Value kept but may cause issues"} 
[2026-08-11 19:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786457770000,"timestamp_ms":1786457770000,"timestamp_seconds":1786457770,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12e4810"} 
[2026-08-11 19:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:46:19] 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-08-11 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 19:46:19] 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-08-11 19: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-08-11 19:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333188608001,"66":12461,"111":206,"85":15104,"24":10,"16":117811197742415872,"45":9086504854484193280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-11 19:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333188608001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:46:19] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 19:46:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117811197742415872,"km_value":117811197742415.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086504854484193280,"description":"Unknown IO ID 45"} 
[2026-08-11 19:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333188608001,"power":12461,"unknown_111":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9086504854484193280}} 
[2026-08-11 19:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":152430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:46:19] local.INFO: GPS data processed {"connection_id":152430,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:46:19] local.INFO: Acknowledgment sent {"connection_id":152430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:46:21] local.INFO: TCP Data received {"connection_id":152430,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12e5b98012d7e11c005d564f80006011826..."} 
[2026-08-11 19:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12e5b98012d7e11c005d564f80006011826..."} 
[2026-08-11 19:46:21] local.INFO: Processing buffer {"connection_id":152430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12e5b98012d7e11c005d564f80006011826..."} 
[2026-08-11 19:46:21] local.INFO: Packet analysis {"connection_id":152430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12e"} 
[2026-08-11 19:46:21] local.INFO: Extracted packet for processing {"connection_id":152430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12e"} 
[2026-08-11 19:46:21] local.INFO: GPS Element Parsed {"raw_longitude":763236800,"raw_latitude":97871096,"longitude_deg":76.32368,"latitude_deg":9.7871096,"altitude":6,"angle":280,"satellites":38,"speed":18,"hex_longitude":"2d7e11c0","hex_latitude":"05d564f8","is_valid_coordinates":true} 
[2026-08-11 19:46: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-08-11 19:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333189120001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117811275051827200,"note":"Value kept but may cause issues"} 
[2026-08-11 19:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086012273274951680,"note":"Value kept but may cause issues"} 
[2026-08-11 19:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786457775000,"timestamp_ms":1786457775000,"timestamp_seconds":1786457775,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12e5b98"} 
[2026-08-11 19:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:46:21] 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-08-11 19:46: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 19:46:21] 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-08-11 19:46: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-08-11 19:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333189120001,"66":12341,"111":206,"85":15104,"24":18,"16":117811275051827200,"45":9086012273274951680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-11 19:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333189120001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:46:21] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 19:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117811275051827200,"km_value":117811275051827.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086012273274951680,"description":"Unknown IO ID 45"} 
[2026-08-11 19:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333189120001,"power":12341,"unknown_111":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9086012273274951680}} 
[2026-08-11 19:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":152430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:46:22] local.INFO: GPS data processed {"connection_id":152430,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:46:22] local.INFO: Acknowledgment sent {"connection_id":152430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:46:27] local.INFO: TCP Data received {"connection_id":152431,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:46:27] local.INFO: Processing buffer {"connection_id":152431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:46:27] local.INFO: IMEI packet received {"connection_id":152431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":152431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:46:28] local.INFO: TCP Data received {"connection_id":152431,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:46:28] local.INFO: Processing buffer {"connection_id":152431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:46:28] local.INFO: IMEI packet received {"connection_id":152431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":152431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:46:34] local.INFO: TCP Data received {"connection_id":152431,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:46:34] local.INFO: Processing buffer {"connection_id":152431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:46:34] local.INFO: IMEI packet received {"connection_id":152431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":152431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:46:34] local.INFO: TCP Data received {"connection_id":152431,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12bea98012d7f530005bc42f00008000930..."} 
[2026-08-11 19:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12bea98012d7f530005bc42f00008000930..."} 
[2026-08-11 19:46:34] local.INFO: Processing buffer {"connection_id":152431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12bea98012d7f530005bc42f00008000930..."} 
[2026-08-11 19:46:34] local.INFO: Packet analysis {"connection_id":152431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12b"} 
[2026-08-11 19:46:34] local.INFO: Extracted packet for processing {"connection_id":152431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12b"} 
[2026-08-11 19:46:34] local.INFO: GPS Element Parsed {"raw_longitude":763319040,"raw_latitude":96223984,"longitude_deg":76.331904,"latitude_deg":9.6223984,"altitude":8,"angle":9,"satellites":48,"speed":46,"hex_longitude":"2d7f5300","hex_latitude":"05bc42f0","is_valid_coordinates":true} 
[2026-08-11 19:46: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-08-11 19:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333147392001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378017960259747840,"note":"Value kept but may cause issues"} 
[2026-08-11 19:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9172917671910406144,"note":"Value kept but may cause issues"} 
[2026-08-11 19:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786457615000,"timestamp_ms":1786457615000,"timestamp_seconds":1786457615,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12bea98"} 
[2026-08-11 19:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19:46: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-08-11 19:46: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-08-11 19:46: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-08-11 19:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:46:34] 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-08-11 19:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333147392001,"66":27321,"121":206,"85":12544,"24":46,"16":378017960259747840,"45":9172917671910406144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-11 19:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333147392001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:46:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 19:46:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378017960259747840,"km_value":378017960259747.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9172917671910406144,"description":"Unknown IO ID 45"} 
[2026-08-11 19:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333147392001,"power":27321,"unknown_121":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9172917671910406144}} 
[2026-08-11 19:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":152431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:46:35] local.INFO: GPS data processed {"connection_id":152431,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:46:35] local.INFO: Acknowledgment sent {"connection_id":152431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:46:52] local.INFO: TCP Data received {"connection_id":152430,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12e6f20012d7e088005d567980006012627..."} 
[2026-08-11 19:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12e6f20012d7e088005d567980006012627..."} 
[2026-08-11 19:46:52] local.INFO: Processing buffer {"connection_id":152430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12e6f20012d7e088005d567980006012627..."} 
[2026-08-11 19:46:52] local.INFO: Packet analysis {"connection_id":152430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12e"} 
[2026-08-11 19:46:52] local.INFO: Extracted packet for processing {"connection_id":152430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12e"} 
[2026-08-11 19:46:52] local.INFO: GPS Element Parsed {"raw_longitude":763234432,"raw_latitude":97871768,"longitude_deg":76.3234432,"latitude_deg":9.7871768,"altitude":6,"angle":294,"satellites":39,"speed":21,"hex_longitude":"2d7e0880","hex_latitude":"05d56798","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333190400001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117811391015944192,"note":"Value kept but may cause issues"} 
[2026-08-11 19:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084253054670534656,"note":"Value kept but may cause issues"} 
[2026-08-11 19:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786457780000,"timestamp_ms":1786457780000,"timestamp_seconds":1786457780,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12e6f20"} 
[2026-08-11 19:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:46:52] 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-08-11 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-11 19:46:52] 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-08-11 19: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-08-11 19:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333190400001,"66":12374,"111":206,"85":15104,"24":21,"16":117811391015944192,"45":9084253054670534656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-11 19:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333190400001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:46:52] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-11 19:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117811391015944192,"km_value":117811391015944.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084253054670534656,"description":"Unknown IO ID 45"} 
[2026-08-11 19:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333190400001,"power":12374,"unknown_111":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9084253054670534656}} 
[2026-08-11 19:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":152430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:46:52] local.INFO: GPS data processed {"connection_id":152430,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:46:52] local.INFO: Acknowledgment sent {"connection_id":152430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:47:08] local.INFO: TCP Data received {"connection_id":155149,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:47:08] local.INFO: Processing buffer {"connection_id":155149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:47:08] local.INFO: IMEI packet received {"connection_id":155149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":155149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:47:09] local.INFO: TCP Data received {"connection_id":155149,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:47:09] local.INFO: Processing buffer {"connection_id":155149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:47:09] local.INFO: IMEI packet received {"connection_id":155149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":155149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:47:09] local.INFO: TCP Data received {"connection_id":155149,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:47:09] local.INFO: Processing buffer {"connection_id":155149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:47:09] local.INFO: IMEI packet received {"connection_id":155149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":155149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:47:13] local.INFO: TCP Data received {"connection_id":155149,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:47:13] local.INFO: Processing buffer {"connection_id":155149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:47:13] local.INFO: IMEI packet received {"connection_id":155149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":155149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:47:13] local.INFO: TCP Data received {"connection_id":155149,"ip":"42.106.6.30","data_length":1340,"data_hex":"000000000000030f8e0a0000019ff12f26b8012d7dad8005d57a580004010c26..."} 
[2026-08-11 19:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155149,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019ff12f26b8012d7dad8005d57a580004010c26..."} 
[2026-08-11 19:47:14] local.INFO: Processing buffer {"connection_id":155149,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019ff12f26b8012d7dad8005d57a580004010c26..."} 
[2026-08-11 19:47:14] local.INFO: Packet analysis {"connection_id":155149,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:47:14] local.INFO: Extracted packet for processing {"connection_id":155149,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:47:14] local.INFO: GPS Element Parsed {"raw_longitude":763211136,"raw_latitude":97876568,"longitude_deg":76.3211136,"latitude_deg":9.7876568,"altitude":4,"angle":268,"satellites":38,"speed":20,"hex_longitude":"2d7dad80","hex_latitude":"05d57a58","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333201408001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117812640851427328,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9061875794023684096,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786457827000,"timestamp_ms":1786457827000,"timestamp_seconds":1786457827,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12f26b8"} 
[2026-08-11 19:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:47:14] 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-08-11 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436818805248,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186018,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":141,"raw_value":-8863084066665136127,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1067686504208433711,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":6,"raw_value":84202799780331520,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876018841256142,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":55297,"corrected_to":0} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":64,"raw_value":420364735775899923,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1299120334,"corrected_to":0} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147560829,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2147865969,"corrected_to":0} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862797,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2374631424,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3580921856,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":40,"raw_value":5348024558157828,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,111,85,24,241,157,16,141,159,255,45,192,126,6,37,10,66,251,125,247,64,1,240,227,213,4,113,205,18,220,204,38,239,48,2,162,5,40],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":247,"original":55297,"validated":0},{"io_id":205,"original":1299120334,"validated":0},{"io_id":204,"original":2147865969,"validated":0}]} 
[2026-08-11 19:47:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360570703592947712,"timestamp_seconds":360570703592947.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 19:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333201408001,"66":12189,"29":206,"85":15104,"24":20,"16":117812640851427328,"45":9061875794023684096},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-11 19:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333201408001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:47:14] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 19:47:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117812640851427328,"km_value":117812640851427.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9061875794023684096,"description":"Unknown IO ID 45"} 
[2026-08-11 19:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333201408001,"power":12189,"unknown_29":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9061875794023684096}} 
[2026-08-11 19:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":155149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:47:14] local.INFO: GPS data processed {"connection_id":155149,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:47:14] local.INFO: Acknowledgment sent {"connection_id":155149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:47:14] local.INFO: Packet analysis {"connection_id":155149,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:47:14] local.INFO: Incomplete packet, waiting for more data {"connection_id":155149,"needed":795,"available":545} 
[2026-08-11 19:47:14] local.INFO: TCP Data received {"connection_id":155149,"ip":"42.106.6.30","data_length":250,"data_hex":"e3001001a28d90000000000000019ff12edc80012d7dcc8005d571f00006013d..."} 
[2026-08-11 19:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155149,"packet_length":250,"packet_hex":"e3001001a28d90000000000000019ff12edc80012d7dcc8005d571f00006013d..."} 
[2026-08-11 19:47:14] local.INFO: Processing buffer {"connection_id":155149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12f2aa0012d7dab8005d57ac80004011926..."} 
[2026-08-11 19:47:14] local.INFO: Packet analysis {"connection_id":155149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:47:14] local.INFO: Extracted packet for processing {"connection_id":155149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:47:14] local.INFO: GPS Element Parsed {"raw_longitude":763210624,"raw_latitude":97876680,"longitude_deg":76.3210624,"latitude_deg":9.787668,"altitude":4,"angle":281,"satellites":38,"speed":19,"hex_longitude":"2d7dab80","hex_latitude":"05d57ac8","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333203712001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117812666621231104,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9056035188256692224,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786457828000,"timestamp_ms":1786457828000,"timestamp_seconds":1786457828,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12f2aa0"} 
[2026-08-11 19:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:47:14] 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-08-11 19: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-11 19:47:14] 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-08-11 19: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-08-11 19:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333203712001,"66":12298,"29":206,"85":15104,"24":19,"16":117812666621231104,"45":9056035188256692224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-11 19:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333203712001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:47:14] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 19:47:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117812666621231104,"km_value":117812666621231.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9056035188256692224,"description":"Unknown IO ID 45"} 
[2026-08-11 19:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333203712001,"power":12298,"unknown_29":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9056035188256692224}} 
[2026-08-11 19:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":155149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:47:14] local.INFO: GPS data processed {"connection_id":155149,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:47:14] local.INFO: Acknowledgment sent {"connection_id":155149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:47:15] local.INFO: TCP Data received {"connection_id":155149,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12f3a40012d7da3c005d57c680004010328..."} 
[2026-08-11 19:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12f3a40012d7da3c005d57c680004010328..."} 
[2026-08-11 19:47:15] local.INFO: Processing buffer {"connection_id":155149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12f3a40012d7da3c005d57c680004010328..."} 
[2026-08-11 19:47:15] local.INFO: Packet analysis {"connection_id":155149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:47:15] local.INFO: Extracted packet for processing {"connection_id":155149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:47:15] local.INFO: GPS Element Parsed {"raw_longitude":763208640,"raw_latitude":97877096,"longitude_deg":76.320864,"latitude_deg":9.7877096,"altitude":4,"angle":259,"satellites":40,"speed":19,"hex_longitude":"2d7da3c0","hex_latitude":"05d57c68","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333203968001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117812765405478912,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9055472238303299584,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786457832000,"timestamp_ms":1786457832000,"timestamp_seconds":1786457832,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12f3a40"} 
[2026-08-11 19:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:47:15] 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-08-11 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 19:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:15] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436818805248,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:15] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186018,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:15] local.WARNING: Large IO value detected {"io_id":141,"raw_value":-8070450532247928831,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1067673619306545716,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:15] local.WARNING: Large IO value detected {"io_id":38,"raw_value":5348024558157828,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:15] local.WARNING: Large IO value detected {"io_id":128,"raw_value":420367415835492669,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:15] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:15] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3498171892327448782,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3581122560,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1299120334,"corrected_to":0} 
[2026-08-11 19:47:15] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":3623955837,"corrected_to":0} 
[2026-08-11 19:47:15] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2376990720,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:15] local.WARNING: Large IO value detected {"io_id":6,"raw_value":93490374500155392,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:15] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,29,85,24,241,157,16,141,159,38,45,128,122,4,10,66,3,64,126,5,37,111,255,192,1,240,114,227,213,113,205,17,247,199,239,48,2,162,6],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1299120334,"validated":0},{"io_id":247,"original":3623955837,"validated":0}]} 
[2026-08-11 19:47:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288539502129119232,"timestamp_seconds":288539502129119.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 19:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333203968001,"66":12189,"29":206,"85":15104,"24":19,"16":117812765405478912,"45":9055472238303299584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-11 19:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333203968001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:47:15] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 19:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117812765405478912,"km_value":117812765405478.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9055472238303299584,"description":"Unknown IO ID 45"} 
[2026-08-11 19:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333203968001,"power":12189,"unknown_29":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9055472238303299584}} 
[2026-08-11 19:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":155149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:47:15] local.INFO: GPS data processed {"connection_id":155149,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:47:15] local.INFO: Acknowledgment sent {"connection_id":155149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:47:19] local.INFO: TCP Data received {"connection_id":152835,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:47:19] local.INFO: Processing buffer {"connection_id":152835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:47:19] local.INFO: IMEI packet received {"connection_id":152835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":152835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:47:24] local.INFO: TCP Data received {"connection_id":152835,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:47:24] local.INFO: Processing buffer {"connection_id":152835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:47:24] local.INFO: IMEI packet received {"connection_id":152835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":152835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:47:25] local.INFO: TCP Data received {"connection_id":152835,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12c09d8012d7f584005bc66b0000900082f..."} 
[2026-08-11 19:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12c09d8012d7f584005bc66b0000900082f..."} 
[2026-08-11 19:47:25] local.INFO: Processing buffer {"connection_id":152835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12c09d8012d7f584005bc66b0000900082f..."} 
[2026-08-11 19:47:25] local.INFO: Packet analysis {"connection_id":152835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12c"} 
[2026-08-11 19:47:25] local.INFO: Extracted packet for processing {"connection_id":152835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12c"} 
[2026-08-11 19:47:25] local.INFO: GPS Element Parsed {"raw_longitude":763320384,"raw_latitude":96233136,"longitude_deg":76.3320384,"latitude_deg":9.6233136,"altitude":9,"angle":8,"satellites":47,"speed":46,"hex_longitude":"2d7f5840","hex_latitude":"05bc66b0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333149440001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378018406936346624,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174676890517172224,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786457623000,"timestamp_ms":1786457623000,"timestamp_seconds":1786457623,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12c09d8"} 
[2026-08-11 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-08-11 19:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 19:47:25] 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-08-11 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-08-11 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-08-11 19:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:47:25] 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-08-11 19:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333149440001,"66":27397,"121":206,"85":12544,"24":46,"16":378018406936346624,"45":9174676890517172224},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-11 19:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333149440001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:47:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 19:47:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378018406936346624,"km_value":378018406936346.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174676890517172224,"description":"Unknown IO ID 45"} 
[2026-08-11 19:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333149440001,"power":27397,"unknown_121":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9174676890517172224}} 
[2026-08-11 19:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":152835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:47:25] local.INFO: GPS data processed {"connection_id":152835,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:47:25] local.INFO: Acknowledgment sent {"connection_id":152835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:47:47] local.INFO: TCP Data received {"connection_id":155149,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12f4210012d7d9f0005d57ac8000400f628..."} 
[2026-08-11 19:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12f4210012d7d9f0005d57ac8000400f628..."} 
[2026-08-11 19:47:47] local.INFO: Processing buffer {"connection_id":155149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12f4210012d7d9f0005d57ac8000400f628..."} 
[2026-08-11 19:47:47] local.INFO: Packet analysis {"connection_id":155149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:47:47] local.INFO: Extracted packet for processing {"connection_id":155149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:47:47] local.INFO: GPS Element Parsed {"raw_longitude":763207424,"raw_latitude":97876680,"longitude_deg":76.3207424,"latitude_deg":9.787668,"altitude":4,"angle":246,"satellites":40,"speed":27,"hex_longitude":"2d7d9f00","hex_latitude":"05d57ac8","is_valid_coordinates":true} 
[2026-08-11 19:47: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-08-11 19:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333204992001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117812825535021056,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9053290807233898496,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786457834000,"timestamp_ms":1786457834000,"timestamp_seconds":1786457834,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12f4210"} 
[2026-08-11 19:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:47:47] 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-08-11 19:47: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-11 19:47:47] 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-08-11 19:47: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-08-11 19:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333204992001,"66":12156,"29":206,"85":15104,"24":27,"16":117812825535021056,"45":9053290807233898496},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-11 19:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333204992001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:47:47] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 19:47:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117812825535021056,"km_value":117812825535021.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9053290807233898496,"description":"Unknown IO ID 45"} 
[2026-08-11 19:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333204992001,"power":12156,"unknown_29":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9053290807233898496}} 
[2026-08-11 19:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":155149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:47:47] local.INFO: GPS data processed {"connection_id":155149,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:47:47] local.INFO: Acknowledgment sent {"connection_id":155149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:47:56] local.INFO: TCP Data received {"connection_id":152835,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12c2d00012d7f5c4005bc8a500009016631..."} 
[2026-08-11 19:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12c2d00012d7f5c4005bc8a500009016631..."} 
[2026-08-11 19:47:56] local.INFO: Processing buffer {"connection_id":152835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12c2d00012d7f5c4005bc8a500009016631..."} 
[2026-08-11 19:47:56] local.INFO: Packet analysis {"connection_id":152835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12c"} 
[2026-08-11 19:47:56] local.INFO: Extracted packet for processing {"connection_id":152835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12c"} 
[2026-08-11 19:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763321408,"raw_latitude":96242256,"longitude_deg":76.3321408,"latitude_deg":9.6242256,"altitude":9,"angle":358,"satellites":49,"speed":28,"hex_longitude":"2d7f5c40","hex_latitude":"05bc8a50","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333151488001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378018853612945408,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176154634147246080,"note":"Value kept but may cause issues"} 
[2026-08-11 19:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786457632000,"timestamp_ms":1786457632000,"timestamp_seconds":1786457632,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12c2d00"} 
[2026-08-11 19:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 19:47: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-08-11 19: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-08-11 19:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:47:56] 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-08-11 19:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333151488001,"66":26832,"121":206,"85":12544,"24":28,"16":378018853612945408,"45":9176154634147246080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-11 19:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333151488001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:47:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 19:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378018853612945408,"km_value":378018853612945.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176154634147246080,"description":"Unknown IO ID 45"} 
[2026-08-11 19:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333151488001,"power":26832,"unknown_121":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":9176154634147246080}} 
[2026-08-11 19:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":152835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:47:56] local.INFO: GPS data processed {"connection_id":152835,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:47:56] local.INFO: Acknowledgment sent {"connection_id":152835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:48:02] local.INFO: TCP Data received {"connection_id":153772,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:48:02] local.INFO: Processing buffer {"connection_id":153772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:48:02] local.INFO: IMEI packet received {"connection_id":153772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":153772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:48:06] local.INFO: TCP Data received {"connection_id":153773,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:48:06] local.INFO: Processing buffer {"connection_id":153773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:48:06] local.INFO: IMEI packet received {"connection_id":153773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":153773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:48:06] local.INFO: TCP Data received {"connection_id":153772,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:48:06] local.INFO: Processing buffer {"connection_id":153772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:48:06] local.INFO: IMEI packet received {"connection_id":153772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":153772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:48:08] local.INFO: TCP Data received {"connection_id":153772,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:48:08] local.INFO: Processing buffer {"connection_id":153772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:48:08] local.INFO: IMEI packet received {"connection_id":153772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":153772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:48:08] local.INFO: TCP Data received {"connection_id":153773,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:48:08] local.INFO: Processing buffer {"connection_id":153773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:48:08] local.INFO: IMEI packet received {"connection_id":153773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":153773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:48:09] local.INFO: TCP Data received {"connection_id":153772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12ee838012d1d8040071bf7d8003801261e..."} 
[2026-08-11 19:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12ee838012d1d8040071bf7d8003801261e..."} 
[2026-08-11 19:48:09] local.INFO: Processing buffer {"connection_id":153772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12ee838012d1d8040071bf7d8003801261e..."} 
[2026-08-11 19:48:09] local.INFO: Packet analysis {"connection_id":153772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12e"} 
[2026-08-11 19:48:09] local.INFO: Extracted packet for processing {"connection_id":153772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12e"} 
[2026-08-11 19:48:09] local.INFO: GPS Element Parsed {"raw_longitude":756908096,"raw_latitude":119273432,"longitude_deg":75.6908096,"latitude_deg":11.9273432,"altitude":56,"angle":294,"satellites":30,"speed":16,"hex_longitude":"2d1d8040","hex_latitude":"071bf7d8","is_valid_coordinates":true} 
[2026-08-11 19: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":795,"current_offset":40} 
[2026-08-11 19:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11851751799914496,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:09] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,83,24,16],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-11 19:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786457811000,"timestamp_ms":1786457811000,"timestamp_seconds":1786457811,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12ee838"} 
[2026-08-11 19:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:48:09] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19:48: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-11 19:48:09] 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-08-11 19:48: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-08-11 19:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13624,"83":41984,"24":16,"16":11851751799914496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16]} 
[2026-08-11 19:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-11 19:48:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11851751799914496,"km_value":11851751799914.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:48:09] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":0,"power":13624,"unknown_83":41984,"ignition":16,"odometer":null}} 
[2026-08-11 19:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":153772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:48:10] local.INFO: GPS data processed {"connection_id":153772,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:48:10] local.INFO: Acknowledgment sent {"connection_id":153772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:48:13] local.INFO: TCP Data received {"connection_id":153773,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:48:13] local.INFO: Processing buffer {"connection_id":153773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:48:13] local.INFO: IMEI packet received {"connection_id":153773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":153773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:48:14] local.INFO: TCP Data received {"connection_id":153773,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12f4dc8012d7d964005d578700004010428..."} 
[2026-08-11 19:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12f4dc8012d7d964005d578700004010428..."} 
[2026-08-11 19:48:14] local.INFO: Processing buffer {"connection_id":153773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12f4dc8012d7d964005d578700004010428..."} 
[2026-08-11 19:48:14] local.INFO: Packet analysis {"connection_id":153773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:48:14] local.INFO: Extracted packet for processing {"connection_id":153773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:48:14] local.INFO: GPS Element Parsed {"raw_longitude":763205184,"raw_latitude":97876080,"longitude_deg":76.3205184,"latitude_deg":9.787608,"altitude":4,"angle":260,"satellites":40,"speed":30,"hex_longitude":"2d7d9640","hex_latitude":"05d57870","is_valid_coordinates":true} 
[2026-08-11 19:48: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-08-11 19:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333205504001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117812937204170752,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9051953801094416384,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786457837000,"timestamp_ms":1786457837000,"timestamp_seconds":1786457837,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12f4dc8"} 
[2026-08-11 19:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:48:14] 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-08-11 19:48: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-11 19:48:14] 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-08-11 19:48: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-08-11 19:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333205504001,"66":12374,"29":206,"85":15104,"24":30,"16":117812937204170752,"45":9051953801094416384},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-11 19:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333205504001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:48:14] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 19:48:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117812937204170752,"km_value":117812937204170.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9051953801094416384,"description":"Unknown IO ID 45"} 
[2026-08-11 19:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333205504001,"power":12374,"unknown_29":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9051953801094416384}} 
[2026-08-11 19:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":153773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:48:14] local.INFO: GPS data processed {"connection_id":153773,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:48:14] local.INFO: Acknowledgment sent {"connection_id":153773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:48:15] local.INFO: TCP Data received {"connection_id":153772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12f1718012d1d6500071c0340003701171d..."} 
[2026-08-11 19:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12f1718012d1d6500071c0340003701171d..."} 
[2026-08-11 19:48:15] local.INFO: Processing buffer {"connection_id":153772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12f1718012d1d6500071c0340003701171d..."} 
[2026-08-11 19:48:15] local.INFO: Packet analysis {"connection_id":153772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:48:15] local.INFO: Extracted packet for processing {"connection_id":153772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:48:15] local.INFO: GPS Element Parsed {"raw_longitude":756901120,"raw_latitude":119276352,"longitude_deg":75.690112,"latitude_deg":11.9276352,"altitude":55,"angle":279,"satellites":29,"speed":26,"hex_longitude":"2d1d6500","hex_latitude":"071c0340","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333199616001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11852112577167360,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2125769423397050368,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 19:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786457823000,"timestamp_ms":1786457823000,"timestamp_seconds":1786457823,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12f1718"} 
[2026-08-11 19:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:48:15] 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-08-11 19: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-11 19:48:15] 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-08-11 19: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-08-11 19:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333199616001,"66":13613,"83":41984,"24":26,"16":11852112577167360,"45":2125769423397050368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-08-11 19:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333199616001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:48:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11852112577167360,"km_value":11852112577167.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2125769423397050368,"description":"Unknown IO ID 45"} 
[2026-08-11 19:48:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457333199616001,"power":13613,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":2125769423397050368}} 
[2026-08-11 19:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":153772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:48:15] local.INFO: GPS data processed {"connection_id":153772,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:48:15] local.INFO: Acknowledgment sent {"connection_id":153772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:48:18] local.INFO: TCP Data received {"connection_id":153774,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:48:18] local.INFO: Processing buffer {"connection_id":153774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:48:18] local.INFO: IMEI packet received {"connection_id":153774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":153774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:48:24] local.INFO: TCP Data received {"connection_id":153774,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:48:24] local.INFO: Processing buffer {"connection_id":153774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:48:24] local.INFO: IMEI packet received {"connection_id":153774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":153774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:48:25] local.INFO: TCP Data received {"connection_id":153774,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12c3ca0012d7f5c8005bc94900009000b2f..."} 
[2026-08-11 19:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12c3ca0012d7f5c8005bc94900009000b2f..."} 
[2026-08-11 19:48:25] local.INFO: Processing buffer {"connection_id":153774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12c3ca0012d7f5c8005bc94900009000b2f..."} 
[2026-08-11 19:48:25] local.INFO: Packet analysis {"connection_id":153774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12c"} 
[2026-08-11 19:48:25] local.INFO: Extracted packet for processing {"connection_id":153774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12c"} 
[2026-08-11 19:48:25] local.INFO: GPS Element Parsed {"raw_longitude":763321472,"raw_latitude":96244880,"longitude_deg":76.3321472,"latitude_deg":9.624488,"altitude":9,"angle":11,"satellites":47,"speed":25,"hex_longitude":"2d7f5c80","hex_latitude":"05bc9490","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333153792001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378018982461964288,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177280534056423424,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786457636000,"timestamp_ms":1786457636000,"timestamp_seconds":1786457636,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12c3ca0"} 
[2026-08-11 19:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-11 19:48:25] 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-08-11 19: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-08-11 19:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:48:25] 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-08-11 19:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333153792001,"66":27463,"121":206,"85":12544,"24":25,"16":378018982461964288,"45":9177280534056423424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-11 19:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333153792001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:48:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-11 19:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378018982461964288,"km_value":378018982461964.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177280534056423424,"description":"Unknown IO ID 45"} 
[2026-08-11 19:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333153792001,"power":27463,"unknown_121":206,"unknown_85":12544,"ignition":25,"odometer":null,"unknown_45":9177280534056423424}} 
[2026-08-11 19:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":153774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:48:25] local.INFO: GPS data processed {"connection_id":153774,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:48:25] local.INFO: Acknowledgment sent {"connection_id":153774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:48:45] local.INFO: TCP Data received {"connection_id":153773,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12f8478012d7d730005d572200002010927..."} 
[2026-08-11 19:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12f8478012d7d730005d572200002010927..."} 
[2026-08-11 19:48:45] local.INFO: Processing buffer {"connection_id":153773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12f8478012d7d730005d572200002010927..."} 
[2026-08-11 19:48:45] local.INFO: Packet analysis {"connection_id":153773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:48:45] local.INFO: Extracted packet for processing {"connection_id":153773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:48:45] local.INFO: GPS Element Parsed {"raw_longitude":763196160,"raw_latitude":97874464,"longitude_deg":76.319616,"latitude_deg":9.7874464,"altitude":2,"angle":265,"satellites":39,"speed":25,"hex_longitude":"2d7d7300","hex_latitude":"05d57220","is_valid_coordinates":true} 
[2026-08-11 19:48: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-08-11 19:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333206272001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117813375290834944,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9049490895048044544,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786457851000,"timestamp_ms":1786457851000,"timestamp_seconds":1786457851,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12f8478"} 
[2026-08-11 19:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:48:45] 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-08-11 19:48: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-11 19:48:45] 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-08-11 19:48: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-08-11 19:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333206272001,"66":12428,"253":206,"85":15104,"24":25,"16":117813375290834944,"45":9049490895048044544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-11 19:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333206272001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:48:45] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-11 19:48:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117813375290834944,"km_value":117813375290834.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9049490895048044544,"description":"Unknown IO ID 45"} 
[2026-08-11 19:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333206272001,"power":12428,"unknown_253":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9049490895048044544}} 
[2026-08-11 19:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":153773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:48:45] local.INFO: GPS data processed {"connection_id":153773,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:48:45] local.INFO: Acknowledgment sent {"connection_id":153773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:48:46] local.INFO: TCP Data received {"connection_id":153772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12f22d0012d1d5c80071c03680036010820..."} 
[2026-08-11 19:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12f22d0012d1d5c80071c03680036010820..."} 
[2026-08-11 19:48:46] local.INFO: Processing buffer {"connection_id":153772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12f22d0012d1d5c80071c03680036010820..."} 
[2026-08-11 19:48:46] local.INFO: Packet analysis {"connection_id":153772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:48:46] local.INFO: Extracted packet for processing {"connection_id":153772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756898944,"raw_latitude":119276392,"longitude_deg":75.6898944,"latitude_deg":11.9276392,"altitude":54,"angle":264,"satellites":32,"speed":29,"hex_longitude":"2d1d5c80","hex_latitude":"071c0368","is_valid_coordinates":true} 
[2026-08-11 19:48: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-08-11 19:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333202688001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11852215656382464,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2118099230282432512,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 19:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786457826000,"timestamp_ms":1786457826000,"timestamp_seconds":1786457826,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12f22d0"} 
[2026-08-11 19:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:48:46] 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-08-11 19:48: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":45,"data_length":795,"current_offset":136} 
[2026-08-11 19:48:46] 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-08-11 19:48: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-08-11 19:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333202688001,"66":13602,"83":41984,"24":29,"16":11852215656382464,"45":2118099230282432512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-08-11 19:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333202688001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11852215656382464,"km_value":11852215656382.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2118099230282432512,"description":"Unknown IO ID 45"} 
[2026-08-11 19:48:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457333202688001,"power":13602,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":2118099230282432512}} 
[2026-08-11 19:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":153772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:48:46] local.INFO: GPS data processed {"connection_id":153772,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:48:46] local.INFO: Acknowledgment sent {"connection_id":153772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:48:56] local.INFO: TCP Data received {"connection_id":153774,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12ffd90012d7f99c005bdd7a80009001c30..."} 
[2026-08-11 19:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12ffd90012d7f99c005bdd7a80009001c30..."} 
[2026-08-11 19:48:56] local.INFO: Processing buffer {"connection_id":153774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12ffd90012d7f99c005bdd7a80009001c30..."} 
[2026-08-11 19:48:56] local.INFO: Packet analysis {"connection_id":153774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:48:56] local.INFO: Extracted packet for processing {"connection_id":153774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763337152,"raw_latitude":96327592,"longitude_deg":76.3337152,"latitude_deg":9.6327592,"altitude":9,"angle":28,"satellites":48,"speed":24,"hex_longitude":"2d7f99c0","hex_latitude":"05bdd7a8","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333213696001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378023101335601152,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192902395283935232,"note":"Value kept but may cause issues"} 
[2026-08-11 19:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786457882000,"timestamp_ms":1786457882000,"timestamp_seconds":1786457882,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12ffd90"} 
[2026-08-11 19:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 19:48: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-08-11 19: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-08-11 19:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:48:56] 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-08-11 19:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333213696001,"66":27321,"119":206,"85":12544,"24":24,"16":378023101335601152,"45":9192902395283935232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-11 19:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333213696001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:48:56] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-11 19:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378023101335601152,"km_value":378023101335601.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192902395283935232,"description":"Unknown IO ID 45"} 
[2026-08-11 19:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333213696001,"power":27321,"unknown_119":206,"unknown_85":12544,"ignition":24,"odometer":null,"unknown_45":9192902395283935232}} 
[2026-08-11 19:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":153774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:48:56] local.INFO: GPS data processed {"connection_id":153774,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:48:56] local.INFO: Acknowledgment sent {"connection_id":153774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:49:13] local.INFO: TCP Data received {"connection_id":153775,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:49:13] local.INFO: Processing buffer {"connection_id":153775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:49:13] local.INFO: IMEI packet received {"connection_id":153775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":153775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:49:14] local.INFO: TCP Data received {"connection_id":153775,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:49:14] local.INFO: Processing buffer {"connection_id":153775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:49:14] local.INFO: IMEI packet received {"connection_id":153775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":153775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:49:18] local.INFO: TCP Data received {"connection_id":153775,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:49:18] local.INFO: Processing buffer {"connection_id":153775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:49:18] local.INFO: IMEI packet received {"connection_id":153775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":153775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:49:18] local.INFO: TCP Data received {"connection_id":152432,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:49:18] local.INFO: Processing buffer {"connection_id":152432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:49:18] local.INFO: IMEI packet received {"connection_id":152432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":152432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:49:19] local.INFO: TCP Data received {"connection_id":153775,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12fb740012d7d524005d572280000011525..."} 
[2026-08-11 19:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12fb740012d7d524005d572280000011525..."} 
[2026-08-11 19:49:19] local.INFO: Processing buffer {"connection_id":153775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12fb740012d7d524005d572280000011525..."} 
[2026-08-11 19:49:19] local.INFO: Packet analysis {"connection_id":153775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:49:19] local.INFO: Extracted packet for processing {"connection_id":153775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:49:19] local.INFO: GPS Element Parsed {"raw_longitude":763187776,"raw_latitude":97874472,"longitude_deg":76.3187776,"latitude_deg":9.7874472,"altitude":0,"angle":277,"satellites":37,"speed":25,"hex_longitude":"2d7d5240","hex_latitude":"05d57228","is_valid_coordinates":true} 
[2026-08-11 19:49: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-08-11 19:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333209856001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117813779017760768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9039568902118580224,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786457864000,"timestamp_ms":1786457864000,"timestamp_seconds":1786457864,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12fb740"} 
[2026-08-11 19:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:49: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-08-11 19:49: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 19:49:19] 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-08-11 19:49: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-08-11 19:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333209856001,"66":12504,"253":206,"85":15104,"24":25,"16":117813779017760768,"45":9039568902118580224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-11 19:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333209856001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:49:19] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-11 19:49:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117813779017760768,"km_value":117813779017760.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9039568902118580224,"description":"Unknown IO ID 45"} 
[2026-08-11 19:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333209856001,"power":12504,"unknown_253":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9039568902118580224}} 
[2026-08-11 19:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":153775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:49:19] local.INFO: GPS data processed {"connection_id":153775,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:49:19] local.INFO: Acknowledgment sent {"connection_id":153775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:49:20] local.INFO: TCP Data received {"connection_id":153772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff12f4dc8012d1d3a00071bfb500036010122..."} 
[2026-08-11 19:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff12f4dc8012d1d3a00071bfb500036010122..."} 
[2026-08-11 19:49:20] local.INFO: Processing buffer {"connection_id":153772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff12f4dc8012d1d3a00071bfb500036010122..."} 
[2026-08-11 19:49:20] local.INFO: Packet analysis {"connection_id":153772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:49:20] local.INFO: Extracted packet for processing {"connection_id":153772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff12f"} 
[2026-08-11 19:49:20] local.INFO: GPS Element Parsed {"raw_longitude":756890112,"raw_latitude":119274320,"longitude_deg":75.6890112,"latitude_deg":11.927432,"altitude":54,"angle":257,"satellites":34,"speed":34,"hex_longitude":"2d1d3a00","hex_latitude":"071bfb50","is_valid_coordinates":true} 
[2026-08-11 19:49: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-08-11 19:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333203456001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11852649448079360,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2115706692980402176,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 19:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786457837000,"timestamp_ms":1786457837000,"timestamp_seconds":1786457837,"priority":1,"record_length":96,"hex_timestamp":"0000019ff12f4dc8"} 
[2026-08-11 19:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:49:20] 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-08-11 19:49: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":34,"data_length":795,"current_offset":136} 
[2026-08-11 19:49:20] 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-08-11 19:49: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-08-11 19:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333203456001,"66":13559,"83":41984,"24":34,"16":11852649448079360,"45":2115706692980402176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-08-11 19:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333203456001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:49:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11852649448079360,"km_value":11852649448079.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2115706692980402176,"description":"Unknown IO ID 45"} 
[2026-08-11 19:49:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457333203456001,"power":13559,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":2115706692980402176}} 
[2026-08-11 19:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":153772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:49:20] local.INFO: GPS data processed {"connection_id":153772,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:49:20] local.INFO: Acknowledgment sent {"connection_id":153772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:49:24] local.INFO: TCP Data received {"connection_id":152432,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:49:24] local.INFO: Processing buffer {"connection_id":152432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:49:24] local.INFO: IMEI packet received {"connection_id":152432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":152432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:49:24] local.INFO: TCP Data received {"connection_id":152432,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1300d30012d7f9e0005bde1800009000d30..."} 
[2026-08-11 19:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1300d30012d7f9e0005bde1800009000d30..."} 
[2026-08-11 19:49:24] local.INFO: Processing buffer {"connection_id":152432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1300d30012d7f9e0005bde1800009000d30..."} 
[2026-08-11 19:49:24] local.INFO: Packet analysis {"connection_id":152432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff130"} 
[2026-08-11 19:49:24] local.INFO: Extracted packet for processing {"connection_id":152432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff130"} 
[2026-08-11 19:49:24] local.INFO: GPS Element Parsed {"raw_longitude":763338240,"raw_latitude":96330112,"longitude_deg":76.333824,"latitude_deg":9.6330112,"altitude":9,"angle":13,"satellites":48,"speed":31,"hex_longitude":"2d7f9e00","hex_latitude":"05bde180","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333217792001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378023234479587328,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194591245145974784,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786457886000,"timestamp_ms":1786457886000,"timestamp_seconds":1786457886,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1300d30"} 
[2026-08-11 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-08-11 19:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 19:49:24] 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-08-11 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-08-11 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-08-11 19:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:49:24] 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-08-11 19:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333217792001,"66":27267,"119":206,"85":12544,"24":31,"16":378023234479587328,"45":9194591245145974784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-11 19:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333217792001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:49:24] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-11 19:49:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-11 19:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378023234479587328,"km_value":378023234479587.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194591245145974784,"description":"Unknown IO ID 45"} 
[2026-08-11 19:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333217792001,"power":27267,"unknown_119":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9194591245145974784}} 
[2026-08-11 19:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":152432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:49:24] local.INFO: GPS data processed {"connection_id":152432,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:49:24] local.INFO: Acknowledgment sent {"connection_id":152432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:49:50] local.INFO: TCP Data received {"connection_id":153775,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1300948012d7d368005d576500002011429..."} 
[2026-08-11 19:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1300948012d7d368005d576500002011429..."} 
[2026-08-11 19:49:50] local.INFO: Processing buffer {"connection_id":153775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1300948012d7d368005d576500002011429..."} 
[2026-08-11 19:49:50] local.INFO: Packet analysis {"connection_id":153775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff130"} 
[2026-08-11 19:49:50] local.INFO: Extracted packet for processing {"connection_id":153775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff130"} 
[2026-08-11 19:49:50] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":97875536,"longitude_deg":76.3180672,"latitude_deg":9.7875536,"altitude":2,"angle":276,"satellites":41,"speed":14,"hex_longitude":"2d7d3680","hex_latitude":"05d57650","is_valid_coordinates":true} 
[2026-08-11 19:49: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-08-11 19:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333213184001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117814122615144448,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030350596631308288,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786457885000,"timestamp_ms":1786457885000,"timestamp_seconds":1786457885,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1300948"} 
[2026-08-11 19:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:49:50] 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-08-11 19:49: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 19:49:50] 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-08-11 19:49: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-08-11 19:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":153775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":153775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":153775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333213184001,"66":12461,"253":206,"85":15104,"24":14,"16":117814122615144448,"45":9030350596631308288},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-11 19:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333213184001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:49:50] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-11 19:49:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117814122615144448,"km_value":117814122615144.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030350596631308288,"description":"Unknown IO ID 45"} 
[2026-08-11 19:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333213184001,"power":12461,"unknown_253":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9030350596631308288}} 
[2026-08-11 19:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":153775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:49:50] local.INFO: GPS data processed {"connection_id":153775,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:49:50] local.INFO: Acknowledgment sent {"connection_id":153775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:49:52] local.INFO: TCP Data received {"connection_id":153772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff130e7f0012d1bf4c0071bcc280046011a22..."} 
[2026-08-11 19:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff130e7f0012d1bf4c0071bcc280046011a22..."} 
[2026-08-11 19:49:52] local.INFO: Processing buffer {"connection_id":153772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff130e7f0012d1bf4c0071bcc280046011a22..."} 
[2026-08-11 19:49:52] local.INFO: Packet analysis {"connection_id":153772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff130"} 
[2026-08-11 19:49:52] local.INFO: Extracted packet for processing {"connection_id":153772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff130"} 
[2026-08-11 19:49:52] local.INFO: GPS Element Parsed {"raw_longitude":756806848,"raw_latitude":119262248,"longitude_deg":75.6806848,"latitude_deg":11.9262248,"altitude":70,"angle":282,"satellites":34,"speed":28,"hex_longitude":"2d1bf4c0","hex_latitude":"071bcc28","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333231872001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11856746846879744,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2018527457267013632,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786457942000,"timestamp_ms":1786457942000,"timestamp_seconds":1786457942,"priority":1,"record_length":96,"hex_timestamp":"0000019ff130e7f0"} 
[2026-08-11 19:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:49: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-08-11 19: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 19:49:52] 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-08-11 19: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-08-11 19:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333231872001,"66":12526,"82":206,"83":41984,"24":28,"16":11856746846879744,"45":2018527457267013632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-11 19:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333231872001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:49:52] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-11 19:49:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11856746846879744,"km_value":11856746846879.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2018527457267013632,"description":"Unknown IO ID 45"} 
[2026-08-11 19:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333231872001,"power":12526,"unknown_82":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":2018527457267013632}} 
[2026-08-11 19:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":153772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:49:52] local.INFO: GPS data processed {"connection_id":153772,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:49:52] local.INFO: Acknowledgment sent {"connection_id":153772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:49:55] local.INFO: TCP Data received {"connection_id":152432,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1303440012d7fa2c005be04400008000b30..."} 
[2026-08-11 19:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1303440012d7fa2c005be04400008000b30..."} 
[2026-08-11 19:49:55] local.INFO: Processing buffer {"connection_id":152432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1303440012d7fa2c005be04400008000b30..."} 
[2026-08-11 19:49:55] local.INFO: Packet analysis {"connection_id":152432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff130"} 
[2026-08-11 19:49:55] local.INFO: Extracted packet for processing {"connection_id":152432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff130"} 
[2026-08-11 19:49:55] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":96339008,"longitude_deg":76.3339456,"latitude_deg":9.6339008,"altitude":8,"angle":11,"satellites":48,"speed":36,"hex_longitude":"2d7fa2c0","hex_latitude":"05be0440","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333218816001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378023672566251520,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195787513797640192,"note":"Value kept but may cause issues"} 
[2026-08-11 19:49:55] 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-08-11 19:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786457896000,"timestamp_ms":1786457896000,"timestamp_seconds":1786457896,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1303440"} 
[2026-08-11 19:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 19:49:55] 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-08-11 19: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-08-11 19:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:49:55] 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-08-11 19:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333218816001,"66":27365,"227":206,"85":12288,"24":36,"16":378023672566251520,"45":9195787513797640192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-11 19:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333218816001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:49:55] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-11 19:49:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378023672566251520,"km_value":378023672566251.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195787513797640192,"description":"Unknown IO ID 45"} 
[2026-08-11 19:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333218816001,"power":27365,"unknown_227":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9195787513797640192}} 
[2026-08-11 19:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":152432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:49:55] local.INFO: GPS data processed {"connection_id":152432,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:49:55] local.INFO: Acknowledgment sent {"connection_id":152432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:50:07] local.INFO: TCP Data received {"connection_id":153776,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:50:07] local.INFO: Processing buffer {"connection_id":153776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:50:07] local.INFO: IMEI packet received {"connection_id":153776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":153776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:50:08] local.INFO: TCP Data received {"connection_id":153776,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:50:08] local.INFO: Processing buffer {"connection_id":153776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:50:08] local.INFO: IMEI packet received {"connection_id":153776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":153776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:50:10] local.INFO: TCP Data received {"connection_id":153776,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:50:10] local.INFO: Processing buffer {"connection_id":153776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:50:10] local.INFO: IMEI packet received {"connection_id":153776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":153776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:50:11] local.INFO: TCP Data received {"connection_id":153776,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13193d0012d7d074005d62d98000301532a..."} 
[2026-08-11 19:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13193d0012d7d074005d62d98000301532a..."} 
[2026-08-11 19:50:11] local.INFO: Processing buffer {"connection_id":153776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13193d0012d7d074005d62d98000301532a..."} 
[2026-08-11 19:50:11] local.INFO: Packet analysis {"connection_id":153776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:50:11] local.INFO: Extracted packet for processing {"connection_id":153776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:50:11] local.INFO: GPS Element Parsed {"raw_longitude":763168576,"raw_latitude":97922456,"longitude_deg":76.3168576,"latitude_deg":9.7922456,"altitude":3,"angle":339,"satellites":42,"speed":14,"hex_longitude":"2d7d0740","hex_latitude":"05d62d98","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333243136001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117816557861601280,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009662185854885888,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786457986000,"timestamp_ms":1786457986000,"timestamp_seconds":1786457986,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13193d0"} 
[2026-08-11 19:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:50:11] 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-08-11 19: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-11 19:50:11] 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-08-11 19: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-08-11 19:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333243136001,"66":12298,"29":206,"85":15104,"24":14,"16":117816557861601280,"45":9009662185854885888},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-11 19:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333243136001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:50:11] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 19:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117816557861601280,"km_value":117816557861601.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009662185854885888,"description":"Unknown IO ID 45"} 
[2026-08-11 19:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333243136001,"power":12298,"unknown_29":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9009662185854885888}} 
[2026-08-11 19:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":153776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:50:11] local.INFO: GPS data processed {"connection_id":153776,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:50:11] local.INFO: Acknowledgment sent {"connection_id":153776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:50:18] local.INFO: TCP Data received {"connection_id":152433,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:50:18] local.INFO: Processing buffer {"connection_id":152433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:50:18] local.INFO: IMEI packet received {"connection_id":152433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":152433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:50:23] local.INFO: TCP Data received {"connection_id":153772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff130fb78012d1be540071bcd980048010e23..."} 
[2026-08-11 19:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff130fb78012d1be540071bcd980048010e23..."} 
[2026-08-11 19:50:23] local.INFO: Processing buffer {"connection_id":153772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff130fb78012d1be540071bcd980048010e23..."} 
[2026-08-11 19:50:23] local.INFO: Packet analysis {"connection_id":153772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff130"} 
[2026-08-11 19:50:23] local.INFO: Extracted packet for processing {"connection_id":153772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff130"} 
[2026-08-11 19:50:23] local.INFO: GPS Element Parsed {"raw_longitude":756802880,"raw_latitude":119262616,"longitude_deg":75.680288,"latitude_deg":11.9262616,"altitude":72,"angle":270,"satellites":35,"speed":34,"hex_longitude":"2d1be540","hex_latitude":"071bcd98","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333233152001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11856935825440768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2014446070105122816,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786457947000,"timestamp_ms":1786457947000,"timestamp_seconds":1786457947,"priority":1,"record_length":96,"hex_timestamp":"0000019ff130fb78"} 
[2026-08-11 19:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:50:23] 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-08-11 19: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 19:50:23] 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-08-11 19: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-08-11 19:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333233152001,"66":13396,"71":206,"83":41984,"24":34,"16":11856935825440768,"45":2014446070105122816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-08-11 19:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333233152001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:50:23] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 19:50:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11856935825440768,"km_value":11856935825440.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2014446070105122816,"description":"Unknown IO ID 45"} 
[2026-08-11 19:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333233152001,"power":13396,"unknown_71":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":2014446070105122816}} 
[2026-08-11 19:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":153772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:50:24] local.INFO: GPS data processed {"connection_id":153772,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:50:24] local.INFO: Acknowledgment sent {"connection_id":153772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:50:24] local.INFO: TCP Data received {"connection_id":152433,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:50:24] local.INFO: Processing buffer {"connection_id":152433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:50:24] local.INFO: IMEI packet received {"connection_id":152433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":152433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:50:25] local.INFO: TCP Data received {"connection_id":152433,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1305768012d7faa8005be29980008000a2f..."} 
[2026-08-11 19:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1305768012d7faa8005be29980008000a2f..."} 
[2026-08-11 19:50:25] local.INFO: Processing buffer {"connection_id":152433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1305768012d7faa8005be29980008000a2f..."} 
[2026-08-11 19:50:25] local.INFO: Packet analysis {"connection_id":152433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff130"} 
[2026-08-11 19:50:25] local.INFO: Extracted packet for processing {"connection_id":152433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff130"} 
[2026-08-11 19:50:25] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":96348568,"longitude_deg":76.334144,"latitude_deg":9.6348568,"altitude":8,"angle":10,"satellites":47,"speed":47,"hex_longitude":"2d7faa80","hex_latitude":"05be2998","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333221376001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378024145012654080,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519939293184,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:25] 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-08-11 19:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786457905000,"timestamp_ms":1786457905000,"timestamp_seconds":1786457905,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1305768"} 
[2026-08-11 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-08-11 19:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 19:50:25] 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-08-11 19: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-08-11 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-08-11 19:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:50:25] 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-08-11 19:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333221376001,"66":27343,"227":206,"85":12288,"24":47,"16":378024145012654080,"45":9197124519939293184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-11 19:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333221376001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:50:25] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-11 19:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378024145012654080,"km_value":378024145012654.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519939293184,"description":"Unknown IO ID 45"} 
[2026-08-11 19:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333221376001,"power":27343,"unknown_227":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9197124519939293184}} 
[2026-08-11 19:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":152433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:50:25] local.INFO: GPS data processed {"connection_id":152433,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:50:25] local.INFO: Acknowledgment sent {"connection_id":152433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:50:42] local.INFO: TCP Data received {"connection_id":153776,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff131d250012d7d000005d644780002015e26..."} 
[2026-08-11 19:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff131d250012d7d000005d644780002015e26..."} 
[2026-08-11 19:50:42] local.INFO: Processing buffer {"connection_id":153776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff131d250012d7d000005d644780002015e26..."} 
[2026-08-11 19:50:42] local.INFO: Packet analysis {"connection_id":153776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:50:42] local.INFO: Extracted packet for processing {"connection_id":153776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763166720,"raw_latitude":97928312,"longitude_deg":76.316672,"latitude_deg":9.7928312,"altitude":2,"angle":350,"satellites":38,"speed":14,"hex_longitude":"2d7d0000","hex_latitude":"05d64478","is_valid_coordinates":true} 
[2026-08-11 19:50: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-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333244416001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117816858509312000,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009239973390292992,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786458002000,"timestamp_ms":1786458002000,"timestamp_seconds":1786458002,"priority":1,"record_length":96,"hex_timestamp":"0000019ff131d250"} 
[2026-08-11 19:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:50:42] 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-08-11 19:50: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436902691328,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186018,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1067214057805873871,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2147866039,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3498171893863481550,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":144,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3708813316,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835153102,"corrected_to":0} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3355520381,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3439381928,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2418278400,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3583264768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":3,"raw_value":98278747723005952,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":143,"raw_value":-4899916394579099647,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":64,"raw_value":420393941553250304,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.WARNING: Large IO value detected {"io_id":42,"raw_value":5348024558157828,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:42] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,29,85,24,241,157,16,145,159,128,45,192,38,2,41,10,66,14,36,15,1,240,86,227,144,213,4,113,205,31,196,208,40,239,48,253,162,5,3,143,64,42],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2835153102,"validated":0}]} 
[2026-08-11 19:50:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216545696945143808,"timestamp_seconds":216545696945143.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 19:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333244416001,"66":12461,"29":206,"85":15104,"24":14,"16":117816858509312000,"45":9009239973390292992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-11 19:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333244416001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:50:42] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 19:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117816858509312000,"km_value":117816858509312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009239973390292992,"description":"Unknown IO ID 45"} 
[2026-08-11 19:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333244416001,"power":12461,"unknown_29":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9009239973390292992}} 
[2026-08-11 19:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":153776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:50:42] local.INFO: GPS data processed {"connection_id":153776,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:50:42] local.INFO: Acknowledgment sent {"connection_id":153776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:50:55] local.INFO: TCP Data received {"connection_id":153772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff131eda8012d1ba300071c1dd80032003722..."} 
[2026-08-11 19:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff131eda8012d1ba300071c1dd80032003722..."} 
[2026-08-11 19:50:55] local.INFO: Processing buffer {"connection_id":153772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff131eda8012d1ba300071c1dd80032003722..."} 
[2026-08-11 19:50:55] local.INFO: Packet analysis {"connection_id":153772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:50:55] local.INFO: Extracted packet for processing {"connection_id":153772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:50:55] local.INFO: GPS Element Parsed {"raw_longitude":756785920,"raw_latitude":119283160,"longitude_deg":75.678592,"latitude_deg":11.928316,"altitude":50,"angle":55,"satellites":34,"speed":34,"hex_longitude":"2d1ba300","hex_latitude":"071c1dd8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333248768001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11859439791374336,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1986228203694190592,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786458009000,"timestamp_ms":1786458009000,"timestamp_seconds":1786458009,"priority":1,"record_length":96,"hex_timestamp":"0000019ff131eda8"} 
[2026-08-11 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-08-11 19:50:55] 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-08-11 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-11 19:50:55] 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-08-11 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-08-11 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-08-11 19:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333248768001,"66":13515,"109":206,"83":41984,"24":34,"16":11859439791374336,"45":1986228203694190592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-11 19:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333248768001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:50:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 19:50:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11859439791374336,"km_value":11859439791374.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1986228203694190592,"description":"Unknown IO ID 45"} 
[2026-08-11 19:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333248768001,"power":13515,"unknown_109":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1986228203694190592}} 
[2026-08-11 19:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":153772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:50:55] local.INFO: GPS data processed {"connection_id":153772,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:50:55] local.INFO: Acknowledgment sent {"connection_id":153772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:50:56] local.INFO: TCP Data received {"connection_id":152433,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff131c698012d7ffec005c02db80008000b32..."} 
[2026-08-11 19:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff131c698012d7ffec005c02db80008000b32..."} 
[2026-08-11 19:50:56] local.INFO: Processing buffer {"connection_id":152433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff131c698012d7ffec005c02db80008000b32..."} 
[2026-08-11 19:50:56] local.INFO: Packet analysis {"connection_id":152433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:50:56] local.INFO: Extracted packet for processing {"connection_id":152433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763363008,"raw_latitude":96480696,"longitude_deg":76.3363008,"latitude_deg":9.6480696,"altitude":8,"angle":11,"satellites":50,"speed":56,"hex_longitude":"2d7ffec0","hex_latitude":"05c02db8","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333245952001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378030634708238336,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9221120261737584640,"note":"Value kept but may cause issues"} 
[2026-08-11 19:50: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-08-11 19:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786457999000,"timestamp_ms":1786457999000,"timestamp_seconds":1786457999,"priority":1,"record_length":96,"hex_timestamp":"0000019ff131c698"} 
[2026-08-11 19:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 19:50:56] 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-08-11 19: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-08-11 19:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:50:56] 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-08-11 19:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333245952001,"66":27332,"235":206,"85":12288,"24":56,"16":378030634708238336,"45":9221120261737584640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-11 19:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333245952001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:50:56] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 19:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378030634708238336,"km_value":378030634708238.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9221120261737584640,"description":"Unknown IO ID 45"} 
[2026-08-11 19:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333245952001,"power":27332,"unknown_235":206,"unknown_85":12288,"ignition":56,"odometer":null,"unknown_45":9221120261737584640}} 
[2026-08-11 19:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":152433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:50:56] local.INFO: GPS data processed {"connection_id":152433,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:50:56] local.INFO: Acknowledgment sent {"connection_id":152433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:51:08] local.INFO: TCP Data received {"connection_id":152836,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:51:08] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:51:08] local.INFO: IMEI packet received {"connection_id":152836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":152836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:51:13] local.INFO: TCP Data received {"connection_id":152836,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:51:13] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:51:13] local.INFO: IMEI packet received {"connection_id":152836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":152836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:51:14] local.INFO: TCP Data received {"connection_id":152836,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff131e1f0012d7cfe4005d649b80002015127..."} 
[2026-08-11 19:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff131e1f0012d7cfe4005d649b80002015127..."} 
[2026-08-11 19:51:14] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff131e1f0012d7cfe4005d649b80002015127..."} 
[2026-08-11 19:51:14] local.INFO: Packet analysis {"connection_id":152836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:51:14] local.INFO: Extracted packet for processing {"connection_id":152836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:51:14] local.INFO: GPS Element Parsed {"raw_longitude":763166272,"raw_latitude":97929656,"longitude_deg":76.3166272,"latitude_deg":9.7929656,"altitude":2,"angle":337,"satellites":39,"speed":12,"hex_longitude":"2d7cfe40","hex_latitude":"05d649b8","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333248512001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117816927228788736,"note":"Value kept but may cause issues"} 
[2026-08-11 19:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007199279810639872,"note":"Value kept but may cause issues"} 
[2026-08-11 19:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786458006000,"timestamp_ms":1786458006000,"timestamp_seconds":1786458006,"priority":1,"record_length":96,"hex_timestamp":"0000019ff131e1f0"} 
[2026-08-11 19:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:51:14] 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-08-11 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 19:51:14] 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-08-11 19: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-08-11 19:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333248512001,"66":12461,"29":206,"85":15104,"24":12,"16":117816927228788736,"45":9007199279810639872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-11 19:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333248512001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:51:14] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 19:51:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117816927228788736,"km_value":117816927228788.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007199279810639872,"description":"Unknown IO ID 45"} 
[2026-08-11 19:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333248512001,"power":12461,"unknown_29":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9007199279810639872}} 
[2026-08-11 19:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":152836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:51:14] local.INFO: GPS data processed {"connection_id":152836,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:51:14] local.INFO: Acknowledgment sent {"connection_id":152836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:51:24] local.INFO: TCP Data received {"connection_id":155150,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:51:24] local.INFO: Processing buffer {"connection_id":155150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:51:24] local.INFO: IMEI packet received {"connection_id":155150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":155150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:51:25] local.INFO: TCP Data received {"connection_id":155150,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:51:25] local.INFO: Processing buffer {"connection_id":155150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:51:25] local.INFO: IMEI packet received {"connection_id":155150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":155150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:51:26] local.INFO: TCP Data received {"connection_id":155150,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff131e1f0012d80060005c053680008000b32..."} 
[2026-08-11 19:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff131e1f0012d80060005c053680008000b32..."} 
[2026-08-11 19:51:26] local.INFO: Processing buffer {"connection_id":155150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff131e1f0012d80060005c053680008000b32..."} 
[2026-08-11 19:51:26] local.INFO: Packet analysis {"connection_id":155150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:51:26] local.INFO: Extracted packet for processing {"connection_id":155150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:51:26] local.INFO: GPS Element Parsed {"raw_longitude":763364864,"raw_latitude":96490344,"longitude_deg":76.3364864,"latitude_deg":9.6490344,"altitude":8,"angle":11,"satellites":50,"speed":54,"hex_longitude":"2d800600","hex_latitude":"05c05368","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333247744001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378031111449608192,"note":"Value kept but may cause issues"} 
[2026-08-11 19:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9223020217832945664,"note":"Value kept but may cause issues"} 
[2026-08-11 19:51:26] 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-08-11 19:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786458006000,"timestamp_ms":1786458006000,"timestamp_seconds":1786458006,"priority":1,"record_length":96,"hex_timestamp":"0000019ff131e1f0"} 
[2026-08-11 19:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 19:51:26] 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-08-11 19: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-08-11 19:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":155150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":155150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":155150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:51:26] 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-08-11 19:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333247744001,"66":27343,"235":206,"85":12288,"24":54,"16":378031111449608192,"45":9223020217832945664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-11 19:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333247744001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:51:26] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 19:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378031111449608192,"km_value":378031111449608.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9223020217832945664,"description":"Unknown IO ID 45"} 
[2026-08-11 19:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333247744001,"power":27343,"unknown_235":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":9223020217832945664}} 
[2026-08-11 19:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":155150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:51:26] local.INFO: GPS data processed {"connection_id":155150,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:51:26] local.INFO: Acknowledgment sent {"connection_id":155150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:51:27] local.INFO: TCP Data received {"connection_id":153772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff131f578012d1ba8c0071c20f80031004422..."} 
[2026-08-11 19:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff131f578012d1ba8c0071c20f80031004422..."} 
[2026-08-11 19:51:27] local.INFO: Processing buffer {"connection_id":153772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff131f578012d1ba8c0071c20f80031004422..."} 
[2026-08-11 19:51:27] local.INFO: Packet analysis {"connection_id":153772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:51:27] local.INFO: Extracted packet for processing {"connection_id":153772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:51:27] local.INFO: GPS Element Parsed {"raw_longitude":756787392,"raw_latitude":119283960,"longitude_deg":75.6787392,"latitude_deg":11.928396,"altitude":49,"angle":68,"satellites":34,"speed":32,"hex_longitude":"2d1ba8c0","hex_latitude":"071c20f8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333250304001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11859521395752960,"note":"Value kept but may cause issues"} 
[2026-08-11 19:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991435490764380160,"note":"Value kept but may cause issues"} 
[2026-08-11 19:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786458011000,"timestamp_ms":1786458011000,"timestamp_seconds":1786458011,"priority":1,"record_length":96,"hex_timestamp":"0000019ff131f578"} 
[2026-08-11 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-08-11 19:51: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-08-11 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-11 19:51: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-08-11 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-08-11 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-08-11 19:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333250304001,"66":13526,"109":206,"83":41984,"24":32,"16":11859521395752960,"45":1991435490764380160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-11 19:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333250304001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:51:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 19:51:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11859521395752960,"km_value":11859521395752.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991435490764380160,"description":"Unknown IO ID 45"} 
[2026-08-11 19:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333250304001,"power":13526,"unknown_109":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1991435490764380160}} 
[2026-08-11 19:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":153772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:51:27] local.INFO: GPS data processed {"connection_id":153772,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:51:27] local.INFO: Acknowledgment sent {"connection_id":153772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:51:29] local.INFO: TCP Data received {"connection_id":155150,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff131fd48012d800c8005c078300008000732..."} 
[2026-08-11 19:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff131fd48012d800c8005c078300008000732..."} 
[2026-08-11 19:51:29] local.INFO: Processing buffer {"connection_id":155150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff131fd48012d800c8005c078300008000732..."} 
[2026-08-11 19:51:29] local.INFO: Packet analysis {"connection_id":155150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:51:29] local.INFO: Extracted packet for processing {"connection_id":155150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:51:29] local.INFO: GPS Element Parsed {"raw_longitude":763366528,"raw_latitude":96499760,"longitude_deg":76.3366528,"latitude_deg":9.649976,"altitude":8,"angle":7,"satellites":50,"speed":54,"hex_longitude":"2d800c80","hex_latitude":"05c07830","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333249536001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378031571011108864,"note":"Value kept but may cause issues"} 
[2026-08-11 19:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9221683162292983808,"note":"Value kept but may cause issues"} 
[2026-08-11 19:51:29] 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-08-11 19:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786458013000,"timestamp_ms":1786458013000,"timestamp_seconds":1786458013,"priority":1,"record_length":96,"hex_timestamp":"0000019ff131fd48"} 
[2026-08-11 19:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 19:51: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-08-11 19: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-08-11 19:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:51:29] 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-08-11 19:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333249536001,"66":27267,"235":206,"85":12288,"24":54,"16":378031571011108864,"45":-9221683162292983808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-11 19:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333249536001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:51:29] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 19:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378031571011108864,"km_value":378031571011108.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9221683162292983808,"description":"Unknown IO ID 45"} 
[2026-08-11 19:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333249536001,"power":27267,"unknown_235":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":-9221683162292983808}} 
[2026-08-11 19:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":155150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:51:29] local.INFO: GPS data processed {"connection_id":155150,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:51:29] local.INFO: Acknowledgment sent {"connection_id":155150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:51:45] local.INFO: TCP Data received {"connection_id":152836,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff131eda8012d7cfd4005d64cf80003015c27..."} 
[2026-08-11 19:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff131eda8012d7cfd4005d64cf80003015c27..."} 
[2026-08-11 19:51:45] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff131eda8012d7cfd4005d64cf80003015c27..."} 
[2026-08-11 19:51:45] local.INFO: Packet analysis {"connection_id":152836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:51:45] local.INFO: Extracted packet for processing {"connection_id":152836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff131"} 
[2026-08-11 19:51:45] local.INFO: GPS Element Parsed {"raw_longitude":763166016,"raw_latitude":97930488,"longitude_deg":76.3166016,"latitude_deg":9.7930488,"altitude":3,"angle":348,"satellites":39,"speed":11,"hex_longitude":"2d7cfd40","hex_latitude":"05d64cf8","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333249536001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117816970178461696,"note":"Value kept but may cause issues"} 
[2026-08-11 19:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006706698601740288,"note":"Value kept but may cause issues"} 
[2026-08-11 19:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786458009000,"timestamp_ms":1786458009000,"timestamp_seconds":1786458009,"priority":1,"record_length":96,"hex_timestamp":"0000019ff131eda8"} 
[2026-08-11 19:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:51:45] 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-08-11 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 19:51:45] 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-08-11 19: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-08-11 19:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333249536001,"66":12428,"29":206,"85":15104,"24":11,"16":117816970178461696,"45":9006706698601740288},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-11 19:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333249536001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:51:45] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 19:51:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117816970178461696,"km_value":117816970178461.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006706698601740288,"description":"Unknown IO ID 45"} 
[2026-08-11 19:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333249536001,"power":12428,"unknown_29":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9006706698601740288}} 
[2026-08-11 19:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":152836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:51:45] local.INFO: GPS data processed {"connection_id":152836,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:51:45] local.INFO: Acknowledgment sent {"connection_id":152836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:52:00] local.INFO: TCP Data received {"connection_id":155150,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13218a0012d80124005c09da00008000732..."} 
[2026-08-11 19:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13218a0012d80124005c09da00008000732..."} 
[2026-08-11 19:52:00] local.INFO: Processing buffer {"connection_id":155150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13218a0012d80124005c09da00008000732..."} 
[2026-08-11 19:52:00] local.INFO: Packet analysis {"connection_id":155150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff132"} 
[2026-08-11 19:52:00] local.INFO: Extracted packet for processing {"connection_id":155150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff132"} 
[2026-08-11 19:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763368000,"raw_latitude":96509344,"longitude_deg":76.3368,"latitude_deg":9.6509344,"altitude":8,"angle":7,"satellites":50,"speed":55,"hex_longitude":"2d801240","hex_latitude":"05c09da0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333251328001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378032043457511424,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219853574941954048,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:00] 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-08-11 19:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786458020000,"timestamp_ms":1786458020000,"timestamp_seconds":1786458020,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13218a0"} 
[2026-08-11 19:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 19:52:00] 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-08-11 19: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-08-11 19:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":155150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":155150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":155150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:52:00] 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-08-11 19:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333251328001,"66":27213,"235":206,"85":12288,"24":55,"16":378032043457511424,"45":-9219853574941954048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-11 19:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333251328001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:52:00] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 19:52:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378032043457511424,"km_value":378032043457511.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219853574941954048,"description":"Unknown IO ID 45"} 
[2026-08-11 19:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333251328001,"power":27213,"unknown_235":206,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":-9219853574941954048}} 
[2026-08-11 19:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":155150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:52:00] local.INFO: GPS data processed {"connection_id":155150,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:52:00] local.INFO: Acknowledgment sent {"connection_id":155150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:52:01] local.INFO: TCP Data received {"connection_id":153772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff132eb90012d1c1800071cc4d00028000c1f..."} 
[2026-08-11 19:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff132eb90012d1c1800071cc4d00028000c1f..."} 
[2026-08-11 19:52:01] local.INFO: Processing buffer {"connection_id":153772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff132eb90012d1c1800071cc4d00028000c1f..."} 
[2026-08-11 19:52:01] local.INFO: Packet analysis {"connection_id":153772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff132"} 
[2026-08-11 19:52:01] local.INFO: Extracted packet for processing {"connection_id":153772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff132"} 
[2026-08-11 19:52:01] local.INFO: GPS Element Parsed {"raw_longitude":756815872,"raw_latitude":119325904,"longitude_deg":75.6815872,"latitude_deg":11.9325904,"altitude":40,"angle":12,"satellites":31,"speed":31,"hex_longitude":"2d1c1800","hex_latitude":"071cc4d0","is_valid_coordinates":true} 
[2026-08-11 19:52: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-08-11 19:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333266176001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11862072606326784,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2023453269375561728,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786458074000,"timestamp_ms":1786458074000,"timestamp_seconds":1786458074,"priority":1,"record_length":96,"hex_timestamp":"0000019ff132eb90"} 
[2026-08-11 19:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:52:01] 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-08-11 19:52: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-11 19:52:01] 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-08-11 19:52: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-08-11 19:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333266176001,"66":13439,"71":206,"83":41984,"24":31,"16":11862072606326784,"45":2023453269375561728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-08-11 19:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333266176001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:52:01] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 19:52:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11862072606326784,"km_value":11862072606326.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2023453269375561728,"description":"Unknown IO ID 45"} 
[2026-08-11 19:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333266176001,"power":13439,"unknown_71":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":2023453269375561728}} 
[2026-08-11 19:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":153772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:52:01] local.INFO: GPS data processed {"connection_id":153772,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:52:01] local.INFO: Acknowledgment sent {"connection_id":153772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:52:08] local.INFO: TCP Data received {"connection_id":153777,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:52:08] local.INFO: Processing buffer {"connection_id":153777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:52:08] local.INFO: IMEI packet received {"connection_id":153777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":153777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:52:09] local.INFO: TCP Data received {"connection_id":153777,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:52:09] local.INFO: Processing buffer {"connection_id":153777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:52:09] local.INFO: IMEI packet received {"connection_id":153777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":153777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:52:14] local.INFO: TCP Data received {"connection_id":153777,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:52:14] local.INFO: Processing buffer {"connection_id":153777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:52:14] local.INFO: IMEI packet received {"connection_id":153777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":153777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:52:14] local.INFO: TCP Data received {"connection_id":153777,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13383e8012d7cd60005d6e8d80007015622..."} 
[2026-08-11 19:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13383e8012d7cd60005d6e8d80007015622..."} 
[2026-08-11 19:52:14] local.INFO: Processing buffer {"connection_id":153777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13383e8012d7cd60005d6e8d80007015622..."} 
[2026-08-11 19:52:14] local.INFO: Packet analysis {"connection_id":153777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:52:14] local.INFO: Extracted packet for processing {"connection_id":153777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:52:14] local.INFO: GPS Element Parsed {"raw_longitude":763155968,"raw_latitude":97970392,"longitude_deg":76.3155968,"latitude_deg":9.7970392,"altitude":7,"angle":342,"satellites":34,"speed":49,"hex_longitude":"2d7cd600","hex_latitude":"05d6e8d8","is_valid_coordinates":true} 
[2026-08-11 19:52: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-08-11 19:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333274880001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117818993108058112,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998051343076018176,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:14] 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-08-11 19:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786458113000,"timestamp_ms":1786458113000,"timestamp_seconds":1786458113,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13383e8"} 
[2026-08-11 19:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:52:14] 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-08-11 19:52: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 19:52:14] 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-08-11 19:52: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-08-11 19:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333274880001,"66":12341,"30":206,"85":15104,"24":49,"16":117818993108058112,"45":8998051343076018176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-11 19:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333274880001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:52:14] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-11 19:52:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117818993108058112,"km_value":117818993108058.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998051343076018176,"description":"Unknown IO ID 45"} 
[2026-08-11 19:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333274880001,"power":12341,"unknown_30":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8998051343076018176}} 
[2026-08-11 19:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":153777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:52:14] local.INFO: GPS data processed {"connection_id":153777,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:52:14] local.INFO: Acknowledgment sent {"connection_id":153777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:52:18] local.INFO: TCP Data received {"connection_id":152434,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:52:18] local.INFO: Processing buffer {"connection_id":152434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:52:18] local.INFO: IMEI packet received {"connection_id":152434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":152434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:52:18] local.INFO: TCP Data received {"connection_id":152434,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:52:18] local.INFO: Processing buffer {"connection_id":152434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:52:18] local.INFO: IMEI packet received {"connection_id":152434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":152434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:52:24] local.INFO: TCP Data received {"connection_id":152434,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:52:24] local.INFO: Processing buffer {"connection_id":152434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:52:24] local.INFO: IMEI packet received {"connection_id":152434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":152434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:52:25] local.INFO: TCP Data received {"connection_id":152434,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13233f8012d80178005c0c3380008000932..."} 
[2026-08-11 19:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13233f8012d80178005c0c3380008000932..."} 
[2026-08-11 19:52:25] local.INFO: Processing buffer {"connection_id":152434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13233f8012d80178005c0c3380008000932..."} 
[2026-08-11 19:52:25] local.INFO: Packet analysis {"connection_id":152434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff132"} 
[2026-08-11 19:52:25] local.INFO: Extracted packet for processing {"connection_id":152434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff132"} 
[2026-08-11 19:52:25] local.INFO: GPS Element Parsed {"raw_longitude":763369344,"raw_latitude":96518968,"longitude_deg":76.3369344,"latitude_deg":9.6518968,"altitude":8,"angle":9,"satellites":50,"speed":55,"hex_longitude":"2d801780","hex_latitude":"05c0c338","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333253120001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378032511608946688,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9218235093823414272,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:25] 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-08-11 19:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786458027000,"timestamp_ms":1786458027000,"timestamp_seconds":1786458027,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13233f8"} 
[2026-08-11 19:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 19:52:25] 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-08-11 19: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-08-11 19:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:52:25] 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-08-11 19:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333253120001,"66":27365,"235":206,"85":12288,"24":55,"16":378032511608946688,"45":-9218235093823414272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-11 19:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333253120001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:52:25] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 19:52:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378032511608946688,"km_value":378032511608946.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9218235093823414272,"description":"Unknown IO ID 45"} 
[2026-08-11 19:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333253120001,"power":27365,"unknown_235":206,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":-9218235093823414272}} 
[2026-08-11 19:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":152434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:52:25] local.INFO: GPS data processed {"connection_id":152434,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:52:25] local.INFO: Acknowledgment sent {"connection_id":152434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:52:38] local.INFO: TCP Data received {"connection_id":152837,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:52:38] local.INFO: Processing buffer {"connection_id":152837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:52:38] local.INFO: IMEI packet received {"connection_id":152837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":152837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:52:38] local.INFO: TCP Data received {"connection_id":152837,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 19:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152837,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 19:52:38] local.INFO: Processing buffer {"connection_id":152837,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 19:52:38] local.INFO: IMEI packet received {"connection_id":152837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":152837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:52:41] local.INFO: TCP Data received {"connection_id":152837,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:52:41] local.INFO: Processing buffer {"connection_id":152837,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 19:52:41] local.INFO: IMEI packet received {"connection_id":152837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":152837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:52:43] local.INFO: TCP Data received {"connection_id":152837,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13339b0012d1c0a80071cda90002e013f23..."} 
[2026-08-11 19:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13339b0012d1c0a80071cda90002e013f23..."} 
[2026-08-11 19:52:43] local.INFO: Processing buffer {"connection_id":152837,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019ff1..."} 
[2026-08-11 19:52:43] local.INFO: IMEI packet received {"connection_id":152837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":152837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:52:45] local.INFO: TCP Data received {"connection_id":152837,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1334180012d1c0980071cdce8002f015823..."} 
[2026-08-11 19:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1334180012d1c0980071cdce8002f015823..."} 
[2026-08-11 19:52:45] local.INFO: Processing buffer {"connection_id":152837,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ff13339b0012d1c0a80071cda90002e013f23..."} 
[2026-08-11 19:52:45] local.INFO: Packet analysis {"connection_id":152837,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:52:45] local.INFO: Extracted packet for processing {"connection_id":152837,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:52:45] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119331472,"longitude_deg":75.6812416,"latitude_deg":11.9331472,"altitude":46,"angle":319,"satellites":35,"speed":15,"hex_longitude":"2d1c0a80","hex_latitude":"071cda90","is_valid_coordinates":true} 
[2026-08-11 19:52: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-08-11 19:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333271808001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11862441973514240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020919994587125760,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 19:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786458094000,"timestamp_ms":1786458094000,"timestamp_seconds":1786458094,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13339b0"} 
[2026-08-11 19:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:52:45] 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-08-11 19:52: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-11 19:52:45] 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-08-11 19:52: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-08-11 19:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333271808001,"66":13515,"83":41984,"24":15,"16":11862441973514240,"45":2020919994587125760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-08-11 19:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333271808001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:52:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11862441973514240,"km_value":11862441973514.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020919994587125760,"description":"Unknown IO ID 45"} 
[2026-08-11 19:52:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457333271808001,"power":13515,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":2020919994587125760}} 
[2026-08-11 19:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":152837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:52:45] local.INFO: GPS data processed {"connection_id":152837,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:52:45] local.INFO: Acknowledgment sent {"connection_id":152837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:52:45] local.INFO: Packet analysis {"connection_id":152837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:52:45] local.INFO: Extracted packet for processing {"connection_id":152837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:52:45] local.INFO: GPS Element Parsed {"raw_longitude":756812160,"raw_latitude":119332072,"longitude_deg":75.681216,"latitude_deg":11.9332072,"altitude":47,"angle":344,"satellites":35,"speed":12,"hex_longitude":"2d1c0980","hex_latitude":"071cdce8","is_valid_coordinates":true} 
[2026-08-11 19:52: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-08-11 19:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333272064001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11862476333252608,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150866300928,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-11 19:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786458096000,"timestamp_ms":1786458096000,"timestamp_seconds":1786458096,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1334180"} 
[2026-08-11 19:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:52:45] 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-08-11 19:52: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-11 19:52:45] 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-08-11 19:52: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-08-11 19:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333272064001,"66":13504,"83":41984,"24":12,"16":11862476333252608,"45":2020568150866300928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-08-11 19:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333272064001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:52:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11862476333252608,"km_value":11862476333252.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150866300928,"description":"Unknown IO ID 45"} 
[2026-08-11 19:52:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457333272064001,"power":13504,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":2020568150866300928}} 
[2026-08-11 19:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":152837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:52:45] local.INFO: GPS data processed {"connection_id":152837,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:52:45] local.INFO: Acknowledgment sent {"connection_id":152837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:52:45] local.INFO: TCP Data received {"connection_id":153777,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1339f40012d7ccb4005d70b60000801561d..."} 
[2026-08-11 19:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1339f40012d7ccb4005d70b60000801561d..."} 
[2026-08-11 19:52:45] local.INFO: Processing buffer {"connection_id":153777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1339f40012d7ccb4005d70b60000801561d..."} 
[2026-08-11 19:52:45] local.INFO: Packet analysis {"connection_id":153777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:52:45] local.INFO: Extracted packet for processing {"connection_id":153777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:52:45] local.INFO: GPS Element Parsed {"raw_longitude":763153216,"raw_latitude":97979232,"longitude_deg":76.3153216,"latitude_deg":9.7979232,"altitude":8,"angle":342,"satellites":29,"speed":54,"hex_longitude":"2d7ccb40","hex_latitude":"05d70b60","is_valid_coordinates":true} 
[2026-08-11 19:52: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-08-11 19:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333276928001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117819439784656896,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995377330799564800,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:45] 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-08-11 19:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786458120000,"timestamp_ms":1786458120000,"timestamp_seconds":1786458120,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1339f40"} 
[2026-08-11 19:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:52:45] 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-08-11 19:52: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-11 19:52:45] 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-08-11 19:52: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-08-11 19:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333276928001,"66":12363,"30":206,"85":15104,"24":54,"16":117819439784656896,"45":8995377330799564800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-11 19:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333276928001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:52:45] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-11 19:52:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117819439784656896,"km_value":117819439784656.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995377330799564800,"description":"Unknown IO ID 45"} 
[2026-08-11 19:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333276928001,"power":12363,"unknown_30":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8995377330799564800}} 
[2026-08-11 19:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":153777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:52:45] local.INFO: GPS data processed {"connection_id":153777,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:52:45] local.INFO: Acknowledgment sent {"connection_id":153777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:52:56] local.INFO: TCP Data received {"connection_id":152434,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff133a328012d805b4005c2a2a00009000633..."} 
[2026-08-11 19:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff133a328012d805b4005c2a2a00009000633..."} 
[2026-08-11 19:52:56] local.INFO: Processing buffer {"connection_id":152434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff133a328012d805b4005c2a2a00009000633..."} 
[2026-08-11 19:52:56] local.INFO: Packet analysis {"connection_id":152434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:52:56] local.INFO: Extracted packet for processing {"connection_id":152434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763386688,"raw_latitude":96641696,"longitude_deg":76.3386688,"latitude_deg":9.6641696,"altitude":9,"angle":6,"satellites":51,"speed":54,"hex_longitude":"2d805b40","hex_latitude":"05c2a2a0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333277184001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378038524563161088,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198954057887270912,"note":"Value kept but may cause issues"} 
[2026-08-11 19:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786458121000,"timestamp_ms":1786458121000,"timestamp_seconds":1786458121,"priority":1,"record_length":96,"hex_timestamp":"0000019ff133a328"} 
[2026-08-11 19:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 19:52:56] 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-08-11 19: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-08-11 19:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:52:56] 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-08-11 19:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333277184001,"66":27376,"234":206,"85":12288,"24":54,"16":378038524563161088,"45":-9198954057887270912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-11 19:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333277184001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:52:56] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-11 19:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378038524563161088,"km_value":378038524563161.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198954057887270912,"description":"Unknown IO ID 45"} 
[2026-08-11 19:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333277184001,"power":27376,"unknown_234":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":-9198954057887270912}} 
[2026-08-11 19:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":152434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:52:56] local.INFO: GPS data processed {"connection_id":152434,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:52:56] local.INFO: Acknowledgment sent {"connection_id":152434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:53:08] local.INFO: TCP Data received {"connection_id":155151,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:53:08] local.INFO: Processing buffer {"connection_id":155151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:53:08] local.INFO: IMEI packet received {"connection_id":155151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":155151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:53:12] local.INFO: TCP Data received {"connection_id":155151,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:53:12] local.INFO: Processing buffer {"connection_id":155151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:53:12] local.INFO: IMEI packet received {"connection_id":155151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":155151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:53:13] local.INFO: TCP Data received {"connection_id":155151,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:53:13] local.INFO: Processing buffer {"connection_id":155151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:53:13] local.INFO: IMEI packet received {"connection_id":155151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":155151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:53:13] local.INFO: TCP Data received {"connection_id":155151,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff133ba98012d7cbf8005d72ea0000901561a..."} 
[2026-08-11 19:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff133ba98012d7cbf8005d72ea0000901561a..."} 
[2026-08-11 19:53:13] local.INFO: Processing buffer {"connection_id":155151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff133ba98012d7cbf8005d72ea0000901561a..."} 
[2026-08-11 19:53:13] local.INFO: Packet analysis {"connection_id":155151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:53:13] local.INFO: Extracted packet for processing {"connection_id":155151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763150208,"raw_latitude":97988256,"longitude_deg":76.3150208,"latitude_deg":9.7988256,"altitude":9,"angle":342,"satellites":26,"speed":53,"hex_longitude":"2d7cbf80","hex_latitude":"05d72ea0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333278720001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117819899346157568,"note":"Value kept but may cause issues"} 
[2026-08-11 19:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992351474802188288,"note":"Value kept but may cause issues"} 
[2026-08-11 19:53:13] 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-08-11 19:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786458127000,"timestamp_ms":1786458127000,"timestamp_seconds":1786458127,"priority":1,"record_length":96,"hex_timestamp":"0000019ff133ba98"} 
[2026-08-11 19:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:53:13] 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-08-11 19: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-11 19:53:13] 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-08-11 19: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-08-11 19:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":155151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":155151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":155151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333278720001,"66":12428,"30":206,"85":15104,"24":53,"16":117819899346157568,"45":8992351474802188288},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-11 19:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333278720001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:53:13] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-11 19:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117819899346157568,"km_value":117819899346157.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992351474802188288,"description":"Unknown IO ID 45"} 
[2026-08-11 19:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333278720001,"power":12428,"unknown_30":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8992351474802188288}} 
[2026-08-11 19:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":155151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:53:13] local.INFO: GPS data processed {"connection_id":155151,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:53:13] local.INFO: Acknowledgment sent {"connection_id":155151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:53:18] local.INFO: TCP Data received {"connection_id":152838,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:53:18] local.INFO: Processing buffer {"connection_id":152838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:53:18] local.INFO: IMEI packet received {"connection_id":152838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":152838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:53:18] local.INFO: TCP Data received {"connection_id":155151,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff133d9d8012d7cb44005d752f8000901561b..."} 
[2026-08-11 19:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff133d9d8012d7cb44005d752f8000901561b..."} 
[2026-08-11 19:53:18] local.INFO: Processing buffer {"connection_id":155151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff133d9d8012d7cb44005d752f8000901561b..."} 
[2026-08-11 19:53:18] local.INFO: Packet analysis {"connection_id":155151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:53:18] local.INFO: Extracted packet for processing {"connection_id":155151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:53:18] local.INFO: GPS Element Parsed {"raw_longitude":763147328,"raw_latitude":97997560,"longitude_deg":76.3147328,"latitude_deg":9.799756,"altitude":9,"angle":342,"satellites":27,"speed":47,"hex_longitude":"2d7cb440","hex_latitude":"05d752f8","is_valid_coordinates":true} 
[2026-08-11 19:53: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-08-11 19:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333280512001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117820371792560128,"note":"Value kept but may cause issues"} 
[2026-08-11 19:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989044143828148224,"note":"Value kept but may cause issues"} 
[2026-08-11 19:53:18] 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-08-11 19:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786458135000,"timestamp_ms":1786458135000,"timestamp_seconds":1786458135,"priority":1,"record_length":96,"hex_timestamp":"0000019ff133d9d8"} 
[2026-08-11 19:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:53:18] 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-08-11 19:53: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-11 19:53:18] 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-08-11 19:53: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-08-11 19:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":155151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":155151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":155151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333280512001,"66":12298,"30":206,"85":15104,"24":47,"16":117820371792560128,"45":8989044143828148224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-11 19:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333280512001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:53:18] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-11 19:53:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117820371792560128,"km_value":117820371792560.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989044143828148224,"description":"Unknown IO ID 45"} 
[2026-08-11 19:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333280512001,"power":12298,"unknown_30":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8989044143828148224}} 
[2026-08-11 19:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":155151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:53:19] local.INFO: GPS data processed {"connection_id":155151,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:53:19] local.INFO: Acknowledgment sent {"connection_id":155151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:53:19] local.INFO: TCP Data received {"connection_id":152838,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:53:19] local.INFO: Processing buffer {"connection_id":152838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:53:19] local.INFO: IMEI packet received {"connection_id":152838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":152838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:53:24] local.INFO: TCP Data received {"connection_id":152838,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:53:24] local.INFO: Processing buffer {"connection_id":152838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:53:24] local.INFO: IMEI packet received {"connection_id":152838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":152838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:53:24] local.INFO: TCP Data received {"connection_id":152838,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff133be80012d80600005c2c7580009000733..."} 
[2026-08-11 19:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff133be80012d80600005c2c7580009000733..."} 
[2026-08-11 19:53:24] local.INFO: Processing buffer {"connection_id":152838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff133be80012d80600005c2c7580009000733..."} 
[2026-08-11 19:53:24] local.INFO: Packet analysis {"connection_id":152838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:53:24] local.INFO: Extracted packet for processing {"connection_id":152838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:53:24] local.INFO: GPS Element Parsed {"raw_longitude":763387904,"raw_latitude":96651096,"longitude_deg":76.3387904,"latitude_deg":9.6651096,"altitude":9,"angle":7,"satellites":51,"speed":53,"hex_longitude":"2d806000","hex_latitude":"05c2c758","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333278976001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378038984124661760,"note":"Value kept but may cause issues"} 
[2026-08-11 19:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197687420489654272,"note":"Value kept but may cause issues"} 
[2026-08-11 19:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786458128000,"timestamp_ms":1786458128000,"timestamp_seconds":1786458128,"priority":1,"record_length":96,"hex_timestamp":"0000019ff133be80"} 
[2026-08-11 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-08-11 19:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 19:53: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-08-11 19: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-08-11 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-08-11 19:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:53:24] 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-08-11 19:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333278976001,"66":27267,"234":206,"85":12288,"24":53,"16":378038984124661760,"45":-9197687420489654272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-11 19:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333278976001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:53:24] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-11 19:53:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378038984124661760,"km_value":378038984124661.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197687420489654272,"description":"Unknown IO ID 45"} 
[2026-08-11 19:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333278976001,"power":27267,"unknown_234":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":-9197687420489654272}} 
[2026-08-11 19:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":152838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:53:24] local.INFO: GPS data processed {"connection_id":152838,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:53:24] local.INFO: Acknowledgment sent {"connection_id":152838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:53:55] local.INFO: TCP Data received {"connection_id":152838,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff133d9d8012d8064c005c2ebf80008000833..."} 
[2026-08-11 19:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff133d9d8012d8064c005c2ebf80008000833..."} 
[2026-08-11 19:53:55] local.INFO: Processing buffer {"connection_id":152838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff133d9d8012d8064c005c2ebf80008000833..."} 
[2026-08-11 19:53:55] local.INFO: Packet analysis {"connection_id":152838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:53:55] local.INFO: Extracted packet for processing {"connection_id":152838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:53:55] local.INFO: GPS Element Parsed {"raw_longitude":763389120,"raw_latitude":96660472,"longitude_deg":76.338912,"latitude_deg":9.6660472,"altitude":8,"angle":8,"satellites":51,"speed":54,"hex_longitude":"2d8064c0","hex_latitude":"05c2ebf8","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333280768001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378039439391195136,"note":"Value kept but may cause issues"} 
[2026-08-11 19:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196350414347872256,"note":"Value kept but may cause issues"} 
[2026-08-11 19:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786458135000,"timestamp_ms":1786458135000,"timestamp_seconds":1786458135,"priority":1,"record_length":96,"hex_timestamp":"0000019ff133d9d8"} 
[2026-08-11 19:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 19:53:55] 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-08-11 19: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-08-11 19:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:53:55] 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-08-11 19:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333280768001,"66":27376,"234":206,"85":12288,"24":54,"16":378039439391195136,"45":-9196350414347872256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-11 19:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333280768001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:53:55] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-11 19:53:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378039439391195136,"km_value":378039439391195.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196350414347872256,"description":"Unknown IO ID 45"} 
[2026-08-11 19:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333280768001,"power":27376,"unknown_234":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":-9196350414347872256}} 
[2026-08-11 19:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":152838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:53:55] local.INFO: GPS data processed {"connection_id":152838,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:53:55] local.INFO: Acknowledgment sent {"connection_id":152838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:54:03] local.INFO: TCP Data received {"connection_id":155151,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff133f918012d7cabc005d775e00007015e1c..."} 
[2026-08-11 19:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff133f918012d7cabc005d775e00007015e1c..."} 
[2026-08-11 19:54:03] local.INFO: Processing buffer {"connection_id":155151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff133f918012d7cabc005d775e00007015e1c..."} 
[2026-08-11 19:54:03] local.INFO: Packet analysis {"connection_id":155151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:54:03] local.INFO: Extracted packet for processing {"connection_id":155151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:54:03] local.INFO: GPS Element Parsed {"raw_longitude":763145152,"raw_latitude":98006496,"longitude_deg":76.3145152,"latitude_deg":9.8006496,"altitude":7,"angle":350,"satellites":28,"speed":46,"hex_longitude":"2d7cabc0","hex_latitude":"05d775e0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333282560001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117820818469158912,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985877550342535168,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] 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-08-11 19:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786458143000,"timestamp_ms":1786458143000,"timestamp_seconds":1786458143,"priority":1,"record_length":96,"hex_timestamp":"0000019ff133f918"} 
[2026-08-11 19:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:54:03] 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-08-11 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":420688748108775750,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436768473600,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186018,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1066475323430961943,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3501268118575907022,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3221225472,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3318218759,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803761358,"corrected_to":0} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2952867196,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":230,"raw_value":3221608098,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495847,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2465136640,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3600308224,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":96309522263441408,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":146,"raw_value":-3386706919782612991,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2251799814340612,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:03] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,30,85,24,241,157,16,149,159,186,45,128,46,9,26,10,66,148,64,11,8,29,131,1,240,53,227,147,214,4,113,205,40,57,230,184,38,239,47,2,162,5,7,146,41],"length":534,"final_offset":664,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2803761358,"validated":0}]} 
[2026-08-11 19:54:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648894495285248000,"timestamp_seconds":648894495285248,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 19:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":155151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":155151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":155151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333282560001,"66":12439,"30":206,"85":15104,"24":46,"16":117820818469158912,"45":8985877550342535168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-11 19:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333282560001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:54:03] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-11 19:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117820818469158912,"km_value":117820818469158.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985877550342535168,"description":"Unknown IO ID 45"} 
[2026-08-11 19:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333282560001,"power":12439,"unknown_30":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8985877550342535168}} 
[2026-08-11 19:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":155151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:54:03] local.INFO: GPS data processed {"connection_id":155151,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:54:03] local.INFO: Acknowledgment sent {"connection_id":155151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:54:08] local.INFO: TCP Data received {"connection_id":152435,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:54:08] local.INFO: Processing buffer {"connection_id":152435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:54:08] local.INFO: IMEI packet received {"connection_id":152435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":152435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:54:10] local.INFO: TCP Data received {"connection_id":152435,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:54:10] local.INFO: Processing buffer {"connection_id":152435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:54:10] local.INFO: IMEI packet received {"connection_id":152435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":152435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:54:13] local.INFO: TCP Data received {"connection_id":152435,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:54:13] local.INFO: Processing buffer {"connection_id":152435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:54:13] local.INFO: IMEI packet received {"connection_id":152435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":152435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:54:13] local.INFO: TCP Data received {"connection_id":152435,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1341858012d7ca40005d79bb80006015d19..."} 
[2026-08-11 19:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1341858012d7ca40005d79bb80006015d19..."} 
[2026-08-11 19:54:13] local.INFO: Processing buffer {"connection_id":152435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1341858012d7ca40005d79bb80006015d19..."} 
[2026-08-11 19:54:13] local.INFO: Packet analysis {"connection_id":152435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff134"} 
[2026-08-11 19:54:13] local.INFO: Extracted packet for processing {"connection_id":152435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff134"} 
[2026-08-11 19:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763143168,"raw_latitude":98016184,"longitude_deg":76.3143168,"latitude_deg":9.8016184,"altitude":6,"angle":349,"satellites":25,"speed":48,"hex_longitude":"2d7ca400","hex_latitude":"05d79bb8","is_valid_coordinates":true} 
[2026-08-11 19:54: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-08-11 19:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333284608001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117821295210528768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983485013042782208,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786458151000,"timestamp_ms":1786458151000,"timestamp_seconds":1786458151,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1341858"} 
[2026-08-11 19:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:54:13] 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-08-11 19:54: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-11 19:54:13] 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-08-11 19:54: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-08-11 19:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333284608001,"66":12189,"195":206,"85":15104,"24":48,"16":117821295210528768,"45":8983485013042782208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-11 19:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333284608001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:54:13] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-11 19:54:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117821295210528768,"km_value":117821295210528.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983485013042782208,"description":"Unknown IO ID 45"} 
[2026-08-11 19:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333284608001,"power":12189,"unknown_195":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8983485013042782208}} 
[2026-08-11 19:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":152435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:54:14] local.INFO: GPS data processed {"connection_id":152435,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:54:14] local.INFO: Acknowledgment sent {"connection_id":152435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:54:22] local.INFO: TCP Data received {"connection_id":152839,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:54:22] local.INFO: Processing buffer {"connection_id":152839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:54:22] local.INFO: IMEI packet received {"connection_id":152839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":152839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:54:39] local.INFO: TCP Data received {"connection_id":152839,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:54:39] local.INFO: Processing buffer {"connection_id":152839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:54:39] local.INFO: IMEI packet received {"connection_id":152839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":152839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:54:43] local.INFO: TCP Data received {"connection_id":152840,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:54:43] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:54:43] local.INFO: IMEI packet received {"connection_id":152840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":152840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:54:44] local.INFO: TCP Data received {"connection_id":152435,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff135d1c0012d7c7f0005d97998000001621d..."} 
[2026-08-11 19:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff135d1c0012d7c7f0005d97998000001621d..."} 
[2026-08-11 19:54:44] local.INFO: Processing buffer {"connection_id":152435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff135d1c0012d7c7f0005d97998000001621d..."} 
[2026-08-11 19:54:44] local.INFO: Packet analysis {"connection_id":152435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff135"} 
[2026-08-11 19:54:44] local.INFO: Extracted packet for processing {"connection_id":152435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff135"} 
[2026-08-11 19:54:44] local.INFO: GPS Element Parsed {"raw_longitude":763133696,"raw_latitude":98138520,"longitude_deg":76.3133696,"latitude_deg":9.813852,"altitude":0,"angle":354,"satellites":29,"speed":46,"hex_longitude":"2d7c7f00","hex_latitude":"05d97998","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333313536001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117827252330168320,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971874170284781568,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:44] 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-08-11 19:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786458264000,"timestamp_ms":1786458264000,"timestamp_seconds":1786458264,"priority":1,"record_length":96,"hex_timestamp":"0000019ff135d1c0"} 
[2026-08-11 19:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:54:44] 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-08-11 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-11 19:54:44] 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-08-11 19: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-08-11 19:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333313536001,"66":12232,"197":206,"85":15104,"24":46,"16":117827252330168320,"45":8971874170284781568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-11 19:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333313536001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:54:44] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 19:54:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117827252330168320,"km_value":117827252330168.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971874170284781568,"description":"Unknown IO ID 45"} 
[2026-08-11 19:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333313536001,"power":12232,"unknown_197":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8971874170284781568}} 
[2026-08-11 19:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":152435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:54:44] local.INFO: GPS data processed {"connection_id":152435,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:54:44] local.INFO: Acknowledgment sent {"connection_id":152435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:54:48] local.INFO: TCP Data received {"connection_id":152840,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:54:48] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:54:48] local.INFO: IMEI packet received {"connection_id":152840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":152840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:54:50] local.INFO: TCP Data received {"connection_id":152840,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13481d0012d1c04c0071d8bc8003f011a18..."} 
[2026-08-11 19:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13481d0012d1c04c0071d8bc8003f011a18..."} 
[2026-08-11 19:54:50] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13481d0012d1c04c0071d8bc8003f011a18..."} 
[2026-08-11 19:54:50] local.INFO: Packet analysis {"connection_id":152840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff134"} 
[2026-08-11 19:54:50] local.INFO: Extracted packet for processing {"connection_id":152840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff134"} 
[2026-08-11 19:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756810944,"raw_latitude":119376840,"longitude_deg":75.6810944,"latitude_deg":11.937684,"altitude":63,"angle":282,"satellites":24,"speed":17,"hex_longitude":"2d1c04c0","hex_latitude":"071d8bc8","is_valid_coordinates":true} 
[2026-08-11 19:54: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-08-11 19:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333293312001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11864765550821376,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2019442250971045888,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786458178000,"timestamp_ms":1786458178000,"timestamp_seconds":1786458178,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13481d0"} 
[2026-08-11 19:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:54:50] 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-08-11 19:54: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-11 19:54:50] 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-08-11 19:54: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-08-11 19:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333293312001,"66":12743,"249":206,"187":32768,"24":17,"16":11864765550821376,"45":2019442250971045888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,187,24,16,45]} 
[2026-08-11 19:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333293312001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:54:50] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-11 19:54:50] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-08-11 19:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11864765550821376,"km_value":11864765550821.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2019442250971045888,"description":"Unknown IO ID 45"} 
[2026-08-11 19:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333293312001,"power":12743,"unknown_249":206,"unknown_187":32768,"ignition":17,"odometer":null,"unknown_45":2019442250971045888}} 
[2026-08-11 19:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":152840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:54:50] local.INFO: GPS data processed {"connection_id":152840,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:54:50] local.INFO: Acknowledgment sent {"connection_id":152840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:54:52] local.INFO: TCP Data received {"connection_id":152839,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff133f530012d806b0005c310200009000932..."} 
[2026-08-11 19:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff133f530012d806b0005c310200009000932..."} 
[2026-08-11 19:54:52] local.INFO: Processing buffer {"connection_id":152839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff133f530012d806b0005c310200009000932..."} 
[2026-08-11 19:54:52] local.INFO: Packet analysis {"connection_id":152839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:54:52] local.INFO: Extracted packet for processing {"connection_id":152839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff133"} 
[2026-08-11 19:54:52] local.INFO: GPS Element Parsed {"raw_longitude":763390720,"raw_latitude":96669728,"longitude_deg":76.339072,"latitude_deg":9.6669728,"altitude":9,"angle":9,"satellites":50,"speed":53,"hex_longitude":"2d806b00","hex_latitude":"05c31020","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333282560001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378039894657728512,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195013408206096384,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786458142000,"timestamp_ms":1786458142000,"timestamp_seconds":1786458142,"priority":1,"record_length":96,"hex_timestamp":"0000019ff133f530"} 
[2026-08-11 19:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 19:54:52] 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-08-11 19: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-08-11 19:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:54:52] 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-08-11 19:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333282560001,"66":27365,"234":206,"85":12288,"24":53,"16":378039894657728512,"45":-9195013408206096384},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-11 19:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333282560001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:54:52] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-11 19:54:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378039894657728512,"km_value":378039894657728.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195013408206096384,"description":"Unknown IO ID 45"} 
[2026-08-11 19:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333282560001,"power":27365,"unknown_234":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":-9195013408206096384}} 
[2026-08-11 19:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":152839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:54:52] local.INFO: GPS data processed {"connection_id":152839,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:54:52] local.INFO: Acknowledgment sent {"connection_id":152839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:54:54] local.INFO: TCP Data received {"connection_id":152839,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1341088012d80710005c334200008000732..."} 
[2026-08-11 19:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1341088012d80710005c334200008000732..."} 
[2026-08-11 19:54:54] local.INFO: Processing buffer {"connection_id":152839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1341088012d80710005c334200008000732..."} 
[2026-08-11 19:54:54] local.INFO: Packet analysis {"connection_id":152839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff134"} 
[2026-08-11 19:54:54] local.INFO: Extracted packet for processing {"connection_id":152839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff134"} 
[2026-08-11 19:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763392256,"raw_latitude":96678944,"longitude_deg":76.3392256,"latitude_deg":9.6678944,"altitude":8,"angle":7,"satellites":50,"speed":52,"hex_longitude":"2d807100","hex_latitude":"05c33420","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333284352001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378040349924261888,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193254189599285248,"note":"Value kept but may cause issues"} 
[2026-08-11 19:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786458149000,"timestamp_ms":1786458149000,"timestamp_seconds":1786458149,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1341088"} 
[2026-08-11 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-08-11 19:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 19:54:54] 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-08-11 19: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-08-11 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-08-11 19:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:54:54] 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-08-11 19:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333284352001,"66":27397,"234":206,"85":12288,"24":52,"16":378040349924261888,"45":-9193254189599285248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-11 19:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333284352001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:54:54] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-11 19:54:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378040349924261888,"km_value":378040349924261.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193254189599285248,"description":"Unknown IO ID 45"} 
[2026-08-11 19:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333284352001,"power":27397,"unknown_234":206,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":-9193254189599285248}} 
[2026-08-11 19:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":152839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:54:54] local.INFO: GPS data processed {"connection_id":152839,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:54:54] local.INFO: Acknowledgment sent {"connection_id":152839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:55:15] local.INFO: TCP Data received {"connection_id":152841,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:55:15] local.INFO: Processing buffer {"connection_id":152841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:55:15] local.INFO: IMEI packet received {"connection_id":152841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":152841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:55:16] local.INFO: TCP Data received {"connection_id":152841,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:55:16] local.INFO: Processing buffer {"connection_id":152841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:55:16] local.INFO: IMEI packet received {"connection_id":152841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":152841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:55:19] local.INFO: TCP Data received {"connection_id":155152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:55:19] local.INFO: Processing buffer {"connection_id":155152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:55:19] local.INFO: IMEI packet received {"connection_id":155152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":155152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:55:19] local.INFO: TCP Data received {"connection_id":152841,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff135f100012d7c7b8005d9a0480000016316..."} 
[2026-08-11 19:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff135f100012d7c7b8005d9a0480000016316..."} 
[2026-08-11 19:55:19] local.INFO: Processing buffer {"connection_id":152841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff135f100012d7c7b8005d9a0480000016316..."} 
[2026-08-11 19:55:19] local.INFO: Packet analysis {"connection_id":152841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff135"} 
[2026-08-11 19:55:19] local.INFO: Extracted packet for processing {"connection_id":152841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff135"} 
[2026-08-11 19:55:19] local.INFO: GPS Element Parsed {"raw_longitude":763132800,"raw_latitude":98148424,"longitude_deg":76.31328,"latitude_deg":9.8148424,"altitude":0,"angle":355,"satellites":22,"speed":50,"hex_longitude":"2d7c7b80","hex_latitude":"05d9a048","is_valid_coordinates":true} 
[2026-08-11 19:55: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-08-11 19:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333315584001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117827733366505472,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970889007868778496,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:19] 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-08-11 19:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786458272000,"timestamp_ms":1786458272000,"timestamp_seconds":1786458272,"priority":1,"record_length":96,"hex_timestamp":"0000019ff135f100"} 
[2026-08-11 19:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:55:19] 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-08-11 19:55: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 19:55:19] 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-08-11 19:55: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-08-11 19:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333315584001,"66":11917,"244":206,"85":15104,"24":50,"16":117827733366505472,"45":8970889007868778496},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-11 19:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333315584001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:55:19] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-11 19:55:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117827733366505472,"km_value":117827733366505.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970889007868778496,"description":"Unknown IO ID 45"} 
[2026-08-11 19:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333315584001,"power":11917,"unknown_244":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8970889007868778496}} 
[2026-08-11 19:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":152841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:55:19] local.INFO: GPS data processed {"connection_id":152841,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:55:19] local.INFO: Acknowledgment sent {"connection_id":152841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:55:20] local.INFO: TCP Data received {"connection_id":152841,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1360c58012d7c790005d9c3d80000016611..."} 
[2026-08-11 19:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1360c58012d7c790005d9c3d80000016611..."} 
[2026-08-11 19:55:20] local.INFO: Processing buffer {"connection_id":152841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1360c58012d7c790005d9c3d80000016611..."} 
[2026-08-11 19:55:20] local.INFO: Packet analysis {"connection_id":152841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:55:20] local.INFO: Extracted packet for processing {"connection_id":152841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:55:20] local.INFO: GPS Element Parsed {"raw_longitude":763132160,"raw_latitude":98157528,"longitude_deg":76.313216,"latitude_deg":9.8157528,"altitude":0,"angle":358,"satellites":17,"speed":51,"hex_longitude":"2d7c7900","hex_latitude":"05d9c3d8","is_valid_coordinates":true} 
[2026-08-11 19:55: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-08-11 19:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333317632001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117828175748136960,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969903845452826624,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:20] 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-08-11 19:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786458279000,"timestamp_ms":1786458279000,"timestamp_seconds":1786458279,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1360c58"} 
[2026-08-11 19:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:55:20] 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-08-11 19:55: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-11 19:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 19:55: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-08-11 19:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333317632001,"66":12178,"244":206,"85":15104,"24":51,"16":117828175748136960,"45":8969903845452826624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-11 19:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333317632001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:55:20] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-11 19:55:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117828175748136960,"km_value":117828175748136.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969903845452826624,"description":"Unknown IO ID 45"} 
[2026-08-11 19:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333317632001,"power":12178,"unknown_244":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8969903845452826624}} 
[2026-08-11 19:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":152841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:55:20] local.INFO: GPS data processed {"connection_id":152841,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:55:20] local.INFO: Acknowledgment sent {"connection_id":152841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:55:20] local.INFO: TCP Data received {"connection_id":155152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:55:20] local.INFO: Processing buffer {"connection_id":155152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:55:20] local.INFO: IMEI packet received {"connection_id":155152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":155152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:55:20] local.INFO: TCP Data received {"connection_id":152840,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1349558012d1bffc0071d8d50004101351e..."} 
[2026-08-11 19:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1349558012d1bffc0071d8d50004101351e..."} 
[2026-08-11 19:55:20] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1349558012d1bffc0071d8d50004101351e..."} 
[2026-08-11 19:55:20] local.INFO: Packet analysis {"connection_id":152840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff134"} 
[2026-08-11 19:55:20] local.INFO: Extracted packet for processing {"connection_id":152840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff134"} 
[2026-08-11 19:55:20] local.INFO: GPS Element Parsed {"raw_longitude":756809664,"raw_latitude":119377232,"longitude_deg":75.6809664,"latitude_deg":11.9377232,"altitude":65,"angle":309,"satellites":30,"speed":10,"hex_longitude":"2d1bffc0","hex_latitude":"071d8d50","is_valid_coordinates":true} 
[2026-08-11 19:55: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-08-11 19:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333293568001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11864825680363520,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2018949669761828864,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786458183000,"timestamp_ms":1786458183000,"timestamp_seconds":1786458183,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1349558"} 
[2026-08-11 19:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:55:20] 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-08-11 19:55: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-11 19:55:20] 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-08-11 19:55: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-08-11 19:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333293568001,"66":13504,"249":206,"187":32768,"24":10,"16":11864825680363520,"45":2018949669761828864},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,187,24,16,45]} 
[2026-08-11 19:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333293568001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:55:20] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-11 19:55:20] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-08-11 19:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11864825680363520,"km_value":11864825680363.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2018949669761828864,"description":"Unknown IO ID 45"} 
[2026-08-11 19:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333293568001,"power":13504,"unknown_249":206,"unknown_187":32768,"ignition":10,"odometer":null,"unknown_45":2018949669761828864}} 
[2026-08-11 19:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":152840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:55:21] local.INFO: GPS data processed {"connection_id":152840,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:55:21] local.INFO: Acknowledgment sent {"connection_id":152840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:55:24] local.INFO: TCP Data received {"connection_id":155152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:55:24] local.INFO: Processing buffer {"connection_id":155152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:55:24] local.INFO: IMEI packet received {"connection_id":155152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":155152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:55:25] local.INFO: TCP Data received {"connection_id":155152,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff135ae98012d806d8005c46ac80007014732..."} 
[2026-08-11 19:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff135ae98012d806d8005c46ac80007014732..."} 
[2026-08-11 19:55:25] local.INFO: Processing buffer {"connection_id":155152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff135ae98012d806d8005c46ac80007014732..."} 
[2026-08-11 19:55:25] local.INFO: Packet analysis {"connection_id":155152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff135"} 
[2026-08-11 19:55:25] local.INFO: Extracted packet for processing {"connection_id":155152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff135"} 
[2026-08-11 19:55:25] local.INFO: GPS Element Parsed {"raw_longitude":763391360,"raw_latitude":96758472,"longitude_deg":76.339136,"latitude_deg":9.6758472,"altitude":7,"angle":327,"satellites":50,"speed":35,"hex_longitude":"2d806d80","hex_latitude":"05c46ac8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 19:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333310464001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378044322769010688,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186780265114337280,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786458255000,"timestamp_ms":1786458255000,"timestamp_seconds":1786458255,"priority":1,"record_length":96,"hex_timestamp":"0000019ff135ae98"} 
[2026-08-11 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-08-11 19:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 19:55: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-08-11 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-08-11 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-08-11 19:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:55:25] 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-08-11 19:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333310464001,"66":27213,"234":206,"85":12288,"24":35,"16":378044322769010688,"45":-9186780265114337280},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-11 19:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333310464001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:55:25] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-11 19:55:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378044322769010688,"km_value":378044322769010.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186780265114337280,"description":"Unknown IO ID 45"} 
[2026-08-11 19:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333310464001,"power":27213,"unknown_234":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":-9186780265114337280}} 
[2026-08-11 19:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":155152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:55:25] local.INFO: GPS data processed {"connection_id":155152,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:55:25] local.INFO: Acknowledgment sent {"connection_id":155152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:55:38] local.INFO: TCP Data received {"connection_id":152436,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:55:38] local.INFO: Processing buffer {"connection_id":152436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:55:38] local.INFO: IMEI packet received {"connection_id":152436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":152436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:55:43] local.INFO: TCP Data received {"connection_id":152436,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:55:43] local.INFO: Processing buffer {"connection_id":152436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:55:43] local.INFO: IMEI packet received {"connection_id":152436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":152436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:55:44] local.INFO: TCP Data received {"connection_id":152436,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1349940012d1bff00071d8e50004101411e..."} 
[2026-08-11 19:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1349940012d1bff00071d8e50004101411e..."} 
[2026-08-11 19:55:44] local.INFO: Processing buffer {"connection_id":152436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1349940012d1bff00071d8e50004101411e..."} 
[2026-08-11 19:55:44] local.INFO: Packet analysis {"connection_id":152436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff134"} 
[2026-08-11 19:55:44] local.INFO: Extracted packet for processing {"connection_id":152436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff134"} 
[2026-08-11 19:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756809472,"raw_latitude":119377488,"longitude_deg":75.6809472,"latitude_deg":11.9377488,"altitude":65,"angle":321,"satellites":30,"speed":13,"hex_longitude":"2d1bff00","hex_latitude":"071d8e50","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333294848001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11864842860232704,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2017542294878375936,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786458184000,"timestamp_ms":1786458184000,"timestamp_seconds":1786458184,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1349940"} 
[2026-08-11 19:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:55:44] 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-08-11 19: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-11 19:55:44] 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-08-11 19: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-08-11 19:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333294848001,"66":13504,"249":206,"187":32768,"24":13,"16":11864842860232704,"45":2017542294878375936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,187,24,16,45]} 
[2026-08-11 19:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333294848001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:55:44] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-11 19:55:44] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-08-11 19:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11864842860232704,"km_value":11864842860232.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2017542294878375936,"description":"Unknown IO ID 45"} 
[2026-08-11 19:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333294848001,"power":13504,"unknown_249":206,"unknown_187":32768,"ignition":13,"odometer":null,"unknown_45":2017542294878375936}} 
[2026-08-11 19:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":152436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:55:44] local.INFO: GPS data processed {"connection_id":152436,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:55:44] local.INFO: Acknowledgment sent {"connection_id":152436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:55:51] local.INFO: TCP Data received {"connection_id":152841,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13627b0012d7c724005d9e8200000015e12..."} 
[2026-08-11 19:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13627b0012d7c724005d9e8200000015e12..."} 
[2026-08-11 19:55:51] local.INFO: Processing buffer {"connection_id":152841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13627b0012d7c724005d9e8200000015e12..."} 
[2026-08-11 19:55:51] local.INFO: Packet analysis {"connection_id":152841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:55:51] local.INFO: Extracted packet for processing {"connection_id":152841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:55:51] local.INFO: GPS Element Parsed {"raw_longitude":763130432,"raw_latitude":98166816,"longitude_deg":76.3130432,"latitude_deg":9.8166816,"altitude":0,"angle":350,"satellites":18,"speed":51,"hex_longitude":"2d7c7240","hex_latitude":"05d9e820","is_valid_coordinates":true} 
[2026-08-11 19:55: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-08-11 19:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333319424001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117828635309637632,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969200158013380608,"note":"Value kept but may cause issues"} 
[2026-08-11 19:55:51] 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-08-11 19:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786458286000,"timestamp_ms":1786458286000,"timestamp_seconds":1786458286,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13627b0"} 
[2026-08-11 19:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:55:51] 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-08-11 19:55: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 19:55:51] 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-08-11 19:55: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-08-11 19:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333319424001,"66":12232,"244":206,"85":15104,"24":51,"16":117828635309637632,"45":8969200158013380608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-11 19:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333319424001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:55:51] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-11 19:55:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117828635309637632,"km_value":117828635309637.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969200158013380608,"description":"Unknown IO ID 45"} 
[2026-08-11 19:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333319424001,"power":12232,"unknown_244":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8969200158013380608}} 
[2026-08-11 19:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":152841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:55:51] local.INFO: GPS data processed {"connection_id":152841,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:55:51] local.INFO: Acknowledgment sent {"connection_id":152841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:56:06] local.INFO: TCP Data received {"connection_id":155152,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff135d5a8012d80594005c489180005014630..."} 
[2026-08-11 19:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff135d5a8012d80594005c489180005014630..."} 
[2026-08-11 19:56:06] local.INFO: Processing buffer {"connection_id":155152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff135d5a8012d80594005c489180005014630..."} 
[2026-08-11 19:56:06] local.INFO: Packet analysis {"connection_id":155152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff135"} 
[2026-08-11 19:56:06] local.INFO: Extracted packet for processing {"connection_id":155152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff135"} 
[2026-08-11 19:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763386176,"raw_latitude":96766232,"longitude_deg":76.3386176,"latitude_deg":9.6766232,"altitude":5,"angle":326,"satellites":48,"speed":38,"hex_longitude":"2d805940","hex_latitude":"05c48918","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333313280001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378044773740576768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192550502134790144,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:06] 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-08-11 19:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786458265000,"timestamp_ms":1786458265000,"timestamp_seconds":1786458265,"priority":1,"record_length":96,"hex_timestamp":"0000019ff135d5a8"} 
[2026-08-11 19:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 19:56:06] 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-08-11 19: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-08-11 19:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":155152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":155152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":155152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:56: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-08-11 19:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333313280001,"66":27234,"235":206,"85":12288,"24":38,"16":378044773740576768,"45":-9192550502134790144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-11 19:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333313280001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:56:06] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 19:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378044773740576768,"km_value":378044773740576.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192550502134790144,"description":"Unknown IO ID 45"} 
[2026-08-11 19:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333313280001,"power":27234,"unknown_235":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":-9192550502134790144}} 
[2026-08-11 19:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":155152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:56:06] local.INFO: GPS data processed {"connection_id":155152,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:56:06] local.INFO: Acknowledgment sent {"connection_id":155152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:56:08] local.INFO: TCP Data received {"connection_id":153778,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:56:08] local.INFO: Processing buffer {"connection_id":153778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:56:08] local.INFO: IMEI packet received {"connection_id":153778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":153778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:56:09] local.INFO: TCP Data received {"connection_id":153778,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:56:09] local.INFO: Processing buffer {"connection_id":153778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:56:09] local.INFO: IMEI packet received {"connection_id":153778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":153778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:56:13] local.INFO: TCP Data received {"connection_id":153778,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:56:13] local.INFO: Processing buffer {"connection_id":153778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:56:13] local.INFO: IMEI packet received {"connection_id":153778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":153778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:56:14] local.INFO: TCP Data received {"connection_id":153778,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1364308012d7c6b0005da0a700000015b16..."} 
[2026-08-11 19:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1364308012d7c6b0005da0a700000015b16..."} 
[2026-08-11 19:56:14] local.INFO: Processing buffer {"connection_id":153778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1364308012d7c6b0005da0a700000015b16..."} 
[2026-08-11 19:56:14] local.INFO: Packet analysis {"connection_id":153778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:56:14] local.INFO: Extracted packet for processing {"connection_id":153778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:56:14] local.INFO: GPS Element Parsed {"raw_longitude":763128576,"raw_latitude":98175600,"longitude_deg":76.3128576,"latitude_deg":9.81756,"altitude":0,"angle":347,"satellites":22,"speed":53,"hex_longitude":"2d7c6b00","hex_latitude":"05da0a70","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333321216001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117829069101334528,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967300201922961408,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:14] 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-08-11 19:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786458293000,"timestamp_ms":1786458293000,"timestamp_seconds":1786458293,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1364308"} 
[2026-08-11 19:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:56:14] 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-08-11 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 19:56:14] 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-08-11 19: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-08-11 19:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333321216001,"66":12145,"245":206,"85":15104,"24":53,"16":117829069101334528,"45":8967300201922961408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-11 19:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333321216001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:56:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117829069101334528,"km_value":117829069101334.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967300201922961408,"description":"Unknown IO ID 45"} 
[2026-08-11 19:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333321216001,"power":12145,"geofence_id":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8967300201922961408}} 
[2026-08-11 19:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":153778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:56:14] local.INFO: GPS data processed {"connection_id":153778,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:56:14] local.INFO: Acknowledgment sent {"connection_id":153778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:56:15] local.INFO: TCP Data received {"connection_id":152436,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1349d28012d1bfe00071d8fb0004201501e..."} 
[2026-08-11 19:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1349d28012d1bfe00071d8fb0004201501e..."} 
[2026-08-11 19:56:15] local.INFO: Processing buffer {"connection_id":152436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1349d28012d1bfe00071d8fb0004201501e..."} 
[2026-08-11 19:56:15] local.INFO: Packet analysis {"connection_id":152436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff134"} 
[2026-08-11 19:56:15] local.INFO: Extracted packet for processing {"connection_id":152436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff134"} 
[2026-08-11 19:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756809216,"raw_latitude":119377840,"longitude_deg":75.6809216,"latitude_deg":11.937784,"altitude":66,"angle":336,"satellites":30,"speed":15,"hex_longitude":"2d1bfe00","hex_latitude":"071d8fb0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333295104001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11864864335069184,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2017331188645908480,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786458185000,"timestamp_ms":1786458185000,"timestamp_seconds":1786458185,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1349d28"} 
[2026-08-11 19:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:56:15] 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-08-11 19: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-11 19:56:15] 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-08-11 19: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-08-11 19:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333295104001,"66":13406,"249":206,"187":32768,"24":15,"16":11864864335069184,"45":2017331188645908480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,187,24,16,45]} 
[2026-08-11 19:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333295104001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:56:15] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-11 19:56:15] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-08-11 19:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11864864335069184,"km_value":11864864335069.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2017331188645908480,"description":"Unknown IO ID 45"} 
[2026-08-11 19:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333295104001,"power":13406,"unknown_249":206,"unknown_187":32768,"ignition":15,"odometer":null,"unknown_45":2017331188645908480}} 
[2026-08-11 19:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":152436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:56:15] local.INFO: GPS data processed {"connection_id":152436,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:56:15] local.INFO: Acknowledgment sent {"connection_id":152436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:56:18] local.INFO: TCP Data received {"connection_id":152842,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:56:18] local.INFO: Processing buffer {"connection_id":152842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:56:18] local.INFO: IMEI packet received {"connection_id":152842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":152842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:56:19] local.INFO: TCP Data received {"connection_id":153778,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1365e60012d7c630005da2e200000015817..."} 
[2026-08-11 19:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1365e60012d7c630005da2e200000015817..."} 
[2026-08-11 19:56:19] local.INFO: Processing buffer {"connection_id":153778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1365e60012d7c630005da2e200000015817..."} 
[2026-08-11 19:56:19] local.INFO: Packet analysis {"connection_id":153778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:56:19] local.INFO: Extracted packet for processing {"connection_id":153778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:56:19] local.INFO: GPS Element Parsed {"raw_longitude":763126528,"raw_latitude":98184736,"longitude_deg":76.3126528,"latitude_deg":9.8184736,"altitude":0,"angle":344,"satellites":23,"speed":54,"hex_longitude":"2d7c6300","hex_latitude":"05da2e20","is_valid_coordinates":true} 
[2026-08-11 19:56: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-08-11 19:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333323008001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117829524367867904,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965259508344057856,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:19] 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-08-11 19:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786458300000,"timestamp_ms":1786458300000,"timestamp_seconds":1786458300,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1365e60"} 
[2026-08-11 19:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:56:19] 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-08-11 19:56: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-11 19:56:19] 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-08-11 19:56: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-08-11 19:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333323008001,"66":12232,"245":206,"85":15104,"24":54,"16":117829524367867904,"45":8965259508344057856},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-11 19:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333323008001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:56:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117829524367867904,"km_value":117829524367867.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965259508344057856,"description":"Unknown IO ID 45"} 
[2026-08-11 19:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333323008001,"power":12232,"geofence_id":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8965259508344057856}} 
[2026-08-11 19:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":153778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:56:19] local.INFO: GPS data processed {"connection_id":153778,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:56:19] local.INFO: Acknowledgment sent {"connection_id":153778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:56:24] local.INFO: TCP Data received {"connection_id":152842,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:56:24] local.INFO: Processing buffer {"connection_id":152842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:56:24] local.INFO: IMEI packet received {"connection_id":152842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":152842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:56:24] local.INFO: TCP Data received {"connection_id":152842,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff135f8d0012d80454005c4a698000401452f..."} 
[2026-08-11 19:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff135f8d0012d80454005c4a698000401452f..."} 
[2026-08-11 19:56:24] local.INFO: Processing buffer {"connection_id":152842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff135f8d0012d80454005c4a698000401452f..."} 
[2026-08-11 19:56:24] local.INFO: Packet analysis {"connection_id":152842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff135"} 
[2026-08-11 19:56:24] local.INFO: Extracted packet for processing {"connection_id":152842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff135"} 
[2026-08-11 19:56:24] local.INFO: GPS Element Parsed {"raw_longitude":763381056,"raw_latitude":96773784,"longitude_deg":76.3381056,"latitude_deg":9.6773784,"altitude":4,"angle":325,"satellites":47,"speed":41,"hex_longitude":"2d804540","hex_latitude":"05c4a698","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333315840001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378045216122208256,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198250370411194368,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:24] 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-08-11 19:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786458274000,"timestamp_ms":1786458274000,"timestamp_seconds":1786458274,"priority":1,"record_length":96,"hex_timestamp":"0000019ff135f8d0"} 
[2026-08-11 19:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 19:56:24] 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-08-11 19: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-08-11 19:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:56:24] 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-08-11 19:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333315840001,"66":27343,"235":206,"85":12288,"24":41,"16":378045216122208256,"45":-9198250370411194368},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-11 19:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333315840001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:56:24] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 19:56:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378045216122208256,"km_value":378045216122208.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198250370411194368,"description":"Unknown IO ID 45"} 
[2026-08-11 19:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333315840001,"power":27343,"unknown_235":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":-9198250370411194368}} 
[2026-08-11 19:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":152842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:56:24] local.INFO: GPS data processed {"connection_id":152842,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:56:24] local.INFO: Acknowledgment sent {"connection_id":152842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:56:46] local.INFO: TCP Data received {"connection_id":152437,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:56:46] local.INFO: Processing buffer {"connection_id":152437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:56:46] local.INFO: IMEI packet received {"connection_id":152437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":152437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:56:50] local.INFO: TCP Data received {"connection_id":153778,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13679b8012d7c584005da51b8000001551a..."} 
[2026-08-11 19:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13679b8012d7c584005da51b8000001551a..."} 
[2026-08-11 19:56:50] local.INFO: Processing buffer {"connection_id":153778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13679b8012d7c584005da51b8000001551a..."} 
[2026-08-11 19:56:50] local.INFO: Packet analysis {"connection_id":153778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:56:50] local.INFO: Extracted packet for processing {"connection_id":153778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:56:50] local.INFO: GPS Element Parsed {"raw_longitude":763123776,"raw_latitude":98193848,"longitude_deg":76.3123776,"latitude_deg":9.8193848,"altitude":0,"angle":341,"satellites":26,"speed":51,"hex_longitude":"2d7c5840","hex_latitude":"05da51b8","is_valid_coordinates":true} 
[2026-08-11 19:56: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-08-11 19:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333324800001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117829983929368576,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963007708532711424,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:50] 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-08-11 19:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786458307000,"timestamp_ms":1786458307000,"timestamp_seconds":1786458307,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13679b8"} 
[2026-08-11 19:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:56:50] 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-08-11 19:56: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 19:56:50] 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-08-11 19:56: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-08-11 19:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":153778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":153778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":153778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333324800001,"66":12200,"245":206,"85":15104,"24":51,"16":117829983929368576,"45":8963007708532711424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-11 19:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333324800001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:56:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117829983929368576,"km_value":117829983929368.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963007708532711424,"description":"Unknown IO ID 45"} 
[2026-08-11 19:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333324800001,"power":12200,"geofence_id":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8963007708532711424}} 
[2026-08-11 19:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":153778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:56:50] local.INFO: GPS data processed {"connection_id":153778,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:56:50] local.INFO: Acknowledgment sent {"connection_id":153778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:56:52] local.INFO: TCP Data received {"connection_id":152437,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:56:52] local.INFO: Processing buffer {"connection_id":152437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:56:52] local.INFO: IMEI packet received {"connection_id":152437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":152437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:56:56] local.INFO: TCP Data received {"connection_id":152842,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1361bf8012d80310005c4c4300005014430..."} 
[2026-08-11 19:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1361bf8012d80310005c4c4300005014430..."} 
[2026-08-11 19:56:56] local.INFO: Processing buffer {"connection_id":152842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1361bf8012d80310005c4c4300005014430..."} 
[2026-08-11 19:56:56] local.INFO: Packet analysis {"connection_id":152842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:56:56] local.INFO: Extracted packet for processing {"connection_id":152842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763375872,"raw_latitude":96781360,"longitude_deg":76.3375872,"latitude_deg":9.678136,"altitude":5,"angle":324,"satellites":48,"speed":36,"hex_longitude":"2d803100","hex_latitude":"05c4c430","is_valid_coordinates":true} 
[2026-08-11 19:56: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-08-11 19:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333318144001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378045658503839744,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203879869943474176,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56: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-08-11 19:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786458283000,"timestamp_ms":1786458283000,"timestamp_seconds":1786458283,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1361bf8"} 
[2026-08-11 19:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19:56: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 19:56:56] 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-08-11 19:56: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-08-11 19:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:56:56] 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-08-11 19:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333318144001,"66":27050,"235":206,"85":12288,"24":36,"16":378045658503839744,"45":-9203879869943474176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-11 19:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333318144001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:56:56] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 19:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378045658503839744,"km_value":378045658503839.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203879869943474176,"description":"Unknown IO ID 45"} 
[2026-08-11 19:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333318144001,"power":27050,"unknown_235":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":-9203879869943474176}} 
[2026-08-11 19:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":152842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:56:56] local.INFO: GPS data processed {"connection_id":152842,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:56:56] local.INFO: Acknowledgment sent {"connection_id":152842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:56:59] local.INFO: TCP Data received {"connection_id":152437,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff134b498012d1bfb80071d98000046015d20..."} 
[2026-08-11 19:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff134b498012d1bfb80071d98000046015d20..."} 
[2026-08-11 19:56:59] local.INFO: Processing buffer {"connection_id":152437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff134b498012d1bfb80071d98000046015d20..."} 
[2026-08-11 19:56:59] local.INFO: Packet analysis {"connection_id":152437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff134"} 
[2026-08-11 19:56:59] local.INFO: Extracted packet for processing {"connection_id":152437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff134"} 
[2026-08-11 19:56:59] local.INFO: GPS Element Parsed {"raw_longitude":756808576,"raw_latitude":119379968,"longitude_deg":75.6808576,"latitude_deg":11.9379968,"altitude":70,"angle":349,"satellites":32,"speed":9,"hex_longitude":"2d1bfb80","hex_latitude":"071d9800","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333295360001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11864971709251584,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2017049713669287936,"note":"Value kept but may cause issues"} 
[2026-08-11 19:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786458191000,"timestamp_ms":1786458191000,"timestamp_seconds":1786458191,"priority":1,"record_length":96,"hex_timestamp":"0000019ff134b498"} 
[2026-08-11 19:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:56: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-08-11 19: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-11 19:56:59] 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-08-11 19: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-08-11 19:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333295360001,"66":13417,"249":206,"187":32768,"24":9,"16":11864971709251584,"45":2017049713669287936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,187,24,16,45]} 
[2026-08-11 19:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333295360001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:56:59] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-11 19:56:59] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-08-11 19:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11864971709251584,"km_value":11864971709251.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2017049713669287936,"description":"Unknown IO ID 45"} 
[2026-08-11 19:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333295360001,"power":13417,"unknown_249":206,"unknown_187":32768,"ignition":9,"odometer":null,"unknown_45":2017049713669287936}} 
[2026-08-11 19:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":152437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:56:59] local.INFO: GPS data processed {"connection_id":152437,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:56:59] local.INFO: Acknowledgment sent {"connection_id":152437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:57:06] local.INFO: TCP Data received {"connection_id":152437,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff134ef30012d1bf340071daf78004b015122..."} 
[2026-08-11 19:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff134ef30012d1bf340071daf78004b015122..."} 
[2026-08-11 19:57:06] local.INFO: Processing buffer {"connection_id":152437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff134ef30012d1bf340071daf78004b015122..."} 
[2026-08-11 19:57:06] local.INFO: Packet analysis {"connection_id":152437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff134"} 
[2026-08-11 19:57:06] local.INFO: Extracted packet for processing {"connection_id":152437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff134"} 
[2026-08-11 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756806464,"raw_latitude":119385976,"longitude_deg":75.6806464,"latitude_deg":11.9385976,"altitude":75,"angle":337,"satellites":34,"speed":19,"hex_longitude":"2d1bf340","hex_latitude":"071daf78","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333296896001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11865280946896896,"note":"Value kept but may cause issues"} 
[2026-08-11 19:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2016346026228056064,"note":"Value kept but may cause issues"} 
[2026-08-11 19:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786458206000,"timestamp_ms":1786458206000,"timestamp_seconds":1786458206,"priority":1,"record_length":96,"hex_timestamp":"0000019ff134ef30"} 
[2026-08-11 19:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:57:06] 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-08-11 19: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-11 19:57:06] 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-08-11 19: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-08-11 19:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333296896001,"66":12841,"249":206,"187":32768,"24":19,"16":11865280946896896,"45":2016346026228056064},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,187,24,16,45]} 
[2026-08-11 19:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333296896001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:57:06] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-11 19:57:06] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-08-11 19:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11865280946896896,"km_value":11865280946896.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2016346026228056064,"description":"Unknown IO ID 45"} 
[2026-08-11 19:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333296896001,"power":12841,"unknown_249":206,"unknown_187":32768,"ignition":19,"odometer":null,"unknown_45":2016346026228056064}} 
[2026-08-11 19:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":152437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:57:06] local.INFO: GPS data processed {"connection_id":152437,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:57:06] local.INFO: Acknowledgment sent {"connection_id":152437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:57:08] local.INFO: TCP Data received {"connection_id":155153,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:57:08] local.INFO: Processing buffer {"connection_id":155153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:57:08] local.INFO: IMEI packet received {"connection_id":155153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":155153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:57:09] local.INFO: TCP Data received {"connection_id":155153,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:57:09] local.INFO: Processing buffer {"connection_id":155153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:57:09] local.INFO: IMEI packet received {"connection_id":155153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":155153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:57:13] local.INFO: TCP Data received {"connection_id":155153,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:57:13] local.INFO: Processing buffer {"connection_id":155153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:57:13] local.INFO: IMEI packet received {"connection_id":155153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":155153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:57:13] local.INFO: TCP Data received {"connection_id":155153,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13698f8012d7c4c0005da7610000001551b..."} 
[2026-08-11 19:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13698f8012d7c4c0005da7610000001551b..."} 
[2026-08-11 19:57:13] local.INFO: Processing buffer {"connection_id":155153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13698f8012d7c4c0005da7610000001551b..."} 
[2026-08-11 19:57:13] local.INFO: Packet analysis {"connection_id":155153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:57:13] local.INFO: Extracted packet for processing {"connection_id":155153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763120640,"raw_latitude":98203152,"longitude_deg":76.312064,"latitude_deg":9.8203152,"altitude":0,"angle":341,"satellites":27,"speed":44,"hex_longitude":"2d7c4c00","hex_latitude":"05da7610","is_valid_coordinates":true} 
[2026-08-11 19:57: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-08-11 19:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333326592001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117830460670738432,"note":"Value kept but may cause issues"} 
[2026-08-11 19:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959981852535404544,"note":"Value kept but may cause issues"} 
[2026-08-11 19:57:13] 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-08-11 19:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786458315000,"timestamp_ms":1786458315000,"timestamp_seconds":1786458315,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13698f8"} 
[2026-08-11 19:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:57:13] 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-08-11 19:57: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-11 19:57:13] 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-08-11 19:57: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-08-11 19:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":155153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":155153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":155153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333326592001,"66":12058,"245":206,"85":15104,"24":44,"16":117830460670738432,"45":8959981852535404544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-11 19:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333326592001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117830460670738432,"km_value":117830460670738.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959981852535404544,"description":"Unknown IO ID 45"} 
[2026-08-11 19:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333326592001,"power":12058,"geofence_id":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8959981852535404544}} 
[2026-08-11 19:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":155153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:57:13] local.INFO: GPS data processed {"connection_id":155153,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:57:13] local.INFO: Acknowledgment sent {"connection_id":155153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:57:18] local.INFO: TCP Data received {"connection_id":155154,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:57:18] local.INFO: Processing buffer {"connection_id":155154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:57:18] local.INFO: IMEI packet received {"connection_id":155154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":155154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:57:24] local.INFO: TCP Data received {"connection_id":155154,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:57:24] local.INFO: Processing buffer {"connection_id":155154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:57:24] local.INFO: IMEI packet received {"connection_id":155154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":155154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:57:25] local.INFO: TCP Data received {"connection_id":155154,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1363f20012d801d8005c4dbb0000501352f..."} 
[2026-08-11 19:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1363f20012d801d8005c4dbb0000501352f..."} 
[2026-08-11 19:57:25] local.INFO: Processing buffer {"connection_id":155154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1363f20012d801d8005c4dbb0000501352f..."} 
[2026-08-11 19:57:25] local.INFO: Packet analysis {"connection_id":155154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:57:25] local.INFO: Extracted packet for processing {"connection_id":155154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:57:25] local.INFO: GPS Element Parsed {"raw_longitude":763370880,"raw_latitude":96787376,"longitude_deg":76.337088,"latitude_deg":9.6787376,"altitude":5,"angle":309,"satellites":47,"speed":24,"hex_longitude":"2d801d80","hex_latitude":"05c4dbb0","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333320448001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378046036460961792,"note":"Value kept but may cause issues"} 
[2026-08-11 19:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9209579738219925504,"note":"Value kept but may cause issues"} 
[2026-08-11 19:57:25] 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-08-11 19:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786458292000,"timestamp_ms":1786458292000,"timestamp_seconds":1786458292,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1363f20"} 
[2026-08-11 19:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-11 19:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 19: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-08-11 19:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:57:25] 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-08-11 19:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333320448001,"66":27365,"235":206,"85":12288,"24":24,"16":378046036460961792,"45":-9209579738219925504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-11 19:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333320448001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:57:25] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 19:57:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378046036460961792,"km_value":378046036460961.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9209579738219925504,"description":"Unknown IO ID 45"} 
[2026-08-11 19:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333320448001,"power":27365,"unknown_235":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":-9209579738219925504}} 
[2026-08-11 19:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":155154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:57:25] local.INFO: GPS data processed {"connection_id":155154,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:57:25] local.INFO: Acknowledgment sent {"connection_id":155154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:57:45] local.INFO: TCP Data received {"connection_id":155153,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1388910012d7be4c005dc46b8000001651d..."} 
[2026-08-11 19:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1388910012d7be4c005dc46b8000001651d..."} 
[2026-08-11 19:57:45] local.INFO: Processing buffer {"connection_id":155153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1388910012d7be4c005dc46b8000001651d..."} 
[2026-08-11 19:57:45] local.INFO: Packet analysis {"connection_id":155153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff138"} 
[2026-08-11 19:57:45] local.INFO: Extracted packet for processing {"connection_id":155153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff138"} 
[2026-08-11 19:57:45] local.INFO: GPS Element Parsed {"raw_longitude":763094208,"raw_latitude":98322104,"longitude_deg":76.3094208,"latitude_deg":9.8322104,"altitude":0,"angle":357,"satellites":29,"speed":51,"hex_longitude":"2d7be4c0","hex_latitude":"05dc46b8","is_valid_coordinates":true} 
[2026-08-11 19:57: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-08-11 19:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333359360001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117836392020574208,"note":"Value kept but may cause issues"} 
[2026-08-11 19:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927682598988341248,"note":"Value kept but may cause issues"} 
[2026-08-11 19:57:45] 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-08-11 19:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786458442000,"timestamp_ms":1786458442000,"timestamp_seconds":1786458442,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1388910"} 
[2026-08-11 19:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:57: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-08-11 19:57: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-11 19:57:45] 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-08-11 19:57: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-08-11 19:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333359360001,"66":11928,"168":206,"85":15104,"24":51,"16":117836392020574208,"45":8927682598988341248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 19:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333359360001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:57:45] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 19:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117836392020574208,"km_value":117836392020574.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927682598988341248,"description":"Unknown IO ID 45"} 
[2026-08-11 19:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333359360001,"power":11928,"unknown_168":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8927682598988341248}} 
[2026-08-11 19:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":155153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:57:45] local.INFO: GPS data processed {"connection_id":155153,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:57:45] local.INFO: Acknowledgment sent {"connection_id":155153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:57:56] local.INFO: TCP Data received {"connection_id":155154,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1368570012d800e0005c4e8d80003014331..."} 
[2026-08-11 19:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1368570012d800e0005c4e8d80003014331..."} 
[2026-08-11 19:57:56] local.INFO: Processing buffer {"connection_id":155154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1368570012d800e0005c4e8d80003014331..."} 
[2026-08-11 19:57:56] local.INFO: Packet analysis {"connection_id":155154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:57:56] local.INFO: Extracted packet for processing {"connection_id":155154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763366912,"raw_latitude":96790744,"longitude_deg":76.3366912,"latitude_deg":9.6790744,"altitude":3,"angle":323,"satellites":49,"speed":11,"hex_longitude":"2d800e00","hex_latitude":"05c4e8d8","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333322752001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378046285569064960,"note":"Value kept but may cause issues"} 
[2026-08-11 19:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215068500264243200,"note":"Value kept but may cause issues"} 
[2026-08-11 19:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786458310000,"timestamp_ms":1786458310000,"timestamp_seconds":1786458310,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1368570"} 
[2026-08-11 19:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 19:57:56] 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-08-11 19: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-08-11 19:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:57:56] 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-08-11 19:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333322752001,"66":27267,"98":206,"85":12288,"24":11,"16":378046285569064960,"45":-9215068500264243200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-11 19:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333322752001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:57:56] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 19:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378046285569064960,"km_value":378046285569064.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215068500264243200,"description":"Unknown IO ID 45"} 
[2026-08-11 19:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333322752001,"power":27267,"unknown_98":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":-9215068500264243200}} 
[2026-08-11 19:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":155154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:57:56] local.INFO: GPS data processed {"connection_id":155154,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:57:56] local.INFO: Acknowledgment sent {"connection_id":155154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:58:08] local.INFO: TCP Data received {"connection_id":155156,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:58:08] local.INFO: Processing buffer {"connection_id":155156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:58:08] local.INFO: IMEI packet received {"connection_id":155156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":155156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:58:08] local.INFO: TCP Data received {"connection_id":155155,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:58:08] local.INFO: Processing buffer {"connection_id":155155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:58:08] local.INFO: IMEI packet received {"connection_id":155155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":155155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:58:09] local.INFO: TCP Data received {"connection_id":155156,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:58:09] local.INFO: Processing buffer {"connection_id":155156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:58:09] local.INFO: IMEI packet received {"connection_id":155156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":155156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:58:09] local.INFO: TCP Data received {"connection_id":155155,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:58:09] local.INFO: Processing buffer {"connection_id":155155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:58:09] local.INFO: IMEI packet received {"connection_id":155155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":155155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:58:13] local.INFO: TCP Data received {"connection_id":155155,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:58:13] local.INFO: Processing buffer {"connection_id":155155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:58:13] local.INFO: IMEI packet received {"connection_id":155155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":155155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:58:13] local.INFO: TCP Data received {"connection_id":155156,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:58:13] local.INFO: Processing buffer {"connection_id":155156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:58:13] local.INFO: IMEI packet received {"connection_id":155156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":155156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:58:15] local.INFO: TCP Data received {"connection_id":155156,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff137d948012d1bd8c0071de5b80043015223..."} 
[2026-08-11 19:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff137d948012d1bd8c0071de5b80043015223..."} 
[2026-08-11 19:58:15] local.INFO: Processing buffer {"connection_id":155156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff137d948012d1bd8c0071de5b80043015223..."} 
[2026-08-11 19:58:15] local.INFO: Packet analysis {"connection_id":155156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff137"} 
[2026-08-11 19:58:15] local.INFO: Extracted packet for processing {"connection_id":155156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff137"} 
[2026-08-11 19:58:15] local.INFO: GPS Element Parsed {"raw_longitude":756799680,"raw_latitude":119399864,"longitude_deg":75.679968,"latitude_deg":11.9399864,"altitude":67,"angle":338,"satellites":35,"speed":13,"hex_longitude":"2d1bd8c0","hex_latitude":"071de5b8","is_valid_coordinates":true} 
[2026-08-11 19:58: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-08-11 19:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333349120001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11866096990683136,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2006986983257384960,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786458397000,"timestamp_ms":1786458397000,"timestamp_seconds":1786458397,"priority":1,"record_length":96,"hex_timestamp":"0000019ff137d948"} 
[2026-08-11 19:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:58:15] 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-08-11 19:58: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":203,"data_length":795,"current_offset":136} 
[2026-08-11 19:58:15] 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-08-11 19:58: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-08-11 19:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333349120001,"66":13515,"71":206,"83":41984,"24":13,"16":11866096990683136,"45":2006986983257384960},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-08-11 19:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333349120001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:58:15] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-11 19:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11866096990683136,"km_value":11866096990683.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2006986983257384960,"description":"Unknown IO ID 45"} 
[2026-08-11 19:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333349120001,"power":13515,"unknown_71":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":2006986983257384960}} 
[2026-08-11 19:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":155156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:58:15] local.INFO: GPS data processed {"connection_id":155156,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:58:15] local.INFO: Acknowledgment sent {"connection_id":155156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:58:15] local.INFO: TCP Data received {"connection_id":155155,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff138a468012d7be34005dc6bd8000001661b..."} 
[2026-08-11 19:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff138a468012d7be34005dc6bd8000001661b..."} 
[2026-08-11 19:58:15] local.INFO: Processing buffer {"connection_id":155155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff138a468012d7be34005dc6bd8000001661b..."} 
[2026-08-11 19:58:15] local.INFO: Packet analysis {"connection_id":155155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff138"} 
[2026-08-11 19:58:15] local.INFO: Extracted packet for processing {"connection_id":155155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff138"} 
[2026-08-11 19:58:15] local.INFO: GPS Element Parsed {"raw_longitude":763093824,"raw_latitude":98331608,"longitude_deg":76.3093824,"latitude_deg":9.8331608,"altitude":0,"angle":358,"satellites":27,"speed":54,"hex_longitude":"2d7be340","hex_latitude":"05dc6bd8","is_valid_coordinates":true} 
[2026-08-11 19:58: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-08-11 19:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333361152001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117836851582074880,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471492758157312,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:15] 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-08-11 19:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786458449000,"timestamp_ms":1786458449000,"timestamp_seconds":1786458449,"priority":1,"record_length":96,"hex_timestamp":"0000019ff138a468"} 
[2026-08-11 19:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:58:15] 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-08-11 19:58: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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-11 19:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 19:58: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-08-11 19:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333361152001,"66":12232,"168":206,"85":15104,"24":54,"16":117836851582074880,"45":8927471492758157312},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 19:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333361152001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:58:15] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 19:58:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117836851582074880,"km_value":117836851582074.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471492758157312,"description":"Unknown IO ID 45"} 
[2026-08-11 19:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333361152001,"power":12232,"unknown_168":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8927471492758157312}} 
[2026-08-11 19:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":155155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:58:15] local.INFO: GPS data processed {"connection_id":155155,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:58:15] local.INFO: Acknowledgment sent {"connection_id":155155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:58:24] local.INFO: TCP Data received {"connection_id":153779,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:58:24] local.INFO: Processing buffer {"connection_id":153779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:58:24] local.INFO: IMEI packet received {"connection_id":153779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":153779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:58:25] local.INFO: TCP Data received {"connection_id":153779,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:58:25] local.INFO: Processing buffer {"connection_id":153779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:58:25] local.INFO: IMEI packet received {"connection_id":153779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":153779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:58:26] local.INFO: TCP Data received {"connection_id":153779,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13698f8012d800b0005c4ee180004015231..."} 
[2026-08-11 19:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13698f8012d800b0005c4ee180004015231..."} 
[2026-08-11 19:58:26] local.INFO: Processing buffer {"connection_id":153779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13698f8012d800b0005c4ee180004015231..."} 
[2026-08-11 19:58:26] local.INFO: Packet analysis {"connection_id":153779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:58:26] local.INFO: Extracted packet for processing {"connection_id":153779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:58:26] local.INFO: GPS Element Parsed {"raw_longitude":763366144,"raw_latitude":96792088,"longitude_deg":76.3366144,"latitude_deg":9.6792088,"altitude":4,"angle":338,"satellites":49,"speed":11,"hex_longitude":"2d800b00","hex_latitude":"05c4ee18","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333327360001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378046362878476288,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219431362402396160,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786458315000,"timestamp_ms":1786458315000,"timestamp_seconds":1786458315,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13698f8"} 
[2026-08-11 19:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 19:58: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-08-11 19: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-08-11 19:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:58:26] 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-08-11 19:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333327360001,"66":27484,"98":206,"85":12288,"24":11,"16":378046362878476288,"45":-9219431362402396160},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-11 19:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333327360001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:58:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 19:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378046362878476288,"km_value":378046362878476.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219431362402396160,"description":"Unknown IO ID 45"} 
[2026-08-11 19:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333327360001,"power":27484,"unknown_98":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":-9219431362402396160}} 
[2026-08-11 19:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":153779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:58:26] local.INFO: GPS data processed {"connection_id":153779,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:58:26] local.INFO: Acknowledgment sent {"connection_id":153779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:58:29] local.INFO: TCP Data received {"connection_id":153779,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff136ac80012d80080005c4f478000401472f..."} 
[2026-08-11 19:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff136ac80012d80080005c4f478000401472f..."} 
[2026-08-11 19:58:29] local.INFO: Processing buffer {"connection_id":153779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff136ac80012d80080005c4f478000401472f..."} 
[2026-08-11 19:58:29] local.INFO: Packet analysis {"connection_id":153779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:58:29] local.INFO: Extracted packet for processing {"connection_id":153779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:58:29] local.INFO: GPS Element Parsed {"raw_longitude":763365376,"raw_latitude":96793720,"longitude_deg":76.3365376,"latitude_deg":9.679372,"altitude":4,"angle":327,"satellites":47,"speed":14,"hex_longitude":"2d800800","hex_latitude":"05c4f478","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333328640001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378046448777822208,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220275787332184064,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786458320000,"timestamp_ms":1786458320000,"timestamp_seconds":1786458320,"priority":1,"record_length":96,"hex_timestamp":"0000019ff136ac80"} 
[2026-08-11 19:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 19:58:29] 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-08-11 19: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-08-11 19:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:58:29] 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-08-11 19:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333328640001,"66":27213,"98":206,"85":12288,"24":14,"16":378046448777822208,"45":-9220275787332184064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-11 19:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333328640001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:58:29] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 19:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378046448777822208,"km_value":378046448777822.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220275787332184064,"description":"Unknown IO ID 45"} 
[2026-08-11 19:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333328640001,"power":27213,"unknown_98":206,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":-9220275787332184064}} 
[2026-08-11 19:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":153779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:58:29] local.INFO: GPS data processed {"connection_id":153779,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:58:29] local.INFO: Acknowledgment sent {"connection_id":153779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:58:46] local.INFO: TCP Data received {"connection_id":155155,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff138bfc0012d7be28005dc8e90000001661d..."} 
[2026-08-11 19:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff138bfc0012d7be28005dc8e90000001661d..."} 
[2026-08-11 19:58:46] local.INFO: Processing buffer {"connection_id":155155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff138bfc0012d7be28005dc8e90000001661d..."} 
[2026-08-11 19:58:46] local.INFO: Packet analysis {"connection_id":155155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff138"} 
[2026-08-11 19:58:46] local.INFO: Extracted packet for processing {"connection_id":155155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff138"} 
[2026-08-11 19:58:46] local.INFO: GPS Element Parsed {"raw_longitude":763093632,"raw_latitude":98340496,"longitude_deg":76.3093632,"latitude_deg":9.8340496,"altitude":0,"angle":358,"satellites":29,"speed":44,"hex_longitude":"2d7be280","hex_latitude":"05dc8e90","is_valid_coordinates":true} 
[2026-08-11 19:58: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-08-11 19:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333362944001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117837281078804480,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927049280295524352,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:46] 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-08-11 19:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786458456000,"timestamp_ms":1786458456000,"timestamp_seconds":1786458456,"priority":1,"record_length":96,"hex_timestamp":"0000019ff138bfc0"} 
[2026-08-11 19:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:58:46] 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-08-11 19:58: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":200,"data_length":795,"current_offset":136} 
[2026-08-11 19:58:46] 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-08-11 19:58: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-08-11 19:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":155155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":155155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":155155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333362944001,"66":11417,"168":206,"85":15104,"24":44,"16":117837281078804480,"45":8927049280295524352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 19:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333362944001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:58:46] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 19:58:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117837281078804480,"km_value":117837281078804.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927049280295524352,"description":"Unknown IO ID 45"} 
[2026-08-11 19:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333362944001,"power":11417,"unknown_168":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8927049280295524352}} 
[2026-08-11 19:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":155155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:58:46] local.INFO: GPS data processed {"connection_id":155155,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:58:46] local.INFO: Acknowledgment sent {"connection_id":155155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:58:52] local.INFO: TCP Data received {"connection_id":152438,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:58:52] local.INFO: Processing buffer {"connection_id":152438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:58:52] local.INFO: IMEI packet received {"connection_id":152438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":152438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:58:53] local.INFO: TCP Data received {"connection_id":152438,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:58:53] local.INFO: Processing buffer {"connection_id":152438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:58:53] local.INFO: IMEI packet received {"connection_id":152438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":152438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:58:53] local.INFO: TCP Data received {"connection_id":152438,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff138d730012d1be140071e5708004d000823..."} 
[2026-08-11 19:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff138d730012d1be140071e5708004d000823..."} 
[2026-08-11 19:58:53] local.INFO: Processing buffer {"connection_id":152438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff138d730012d1be140071e5708004d000823..."} 
[2026-08-11 19:58:53] local.INFO: Packet analysis {"connection_id":152438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff138"} 
[2026-08-11 19:58:53] local.INFO: Extracted packet for processing {"connection_id":152438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff138"} 
[2026-08-11 19:58:53] local.INFO: GPS Element Parsed {"raw_longitude":756801856,"raw_latitude":119428872,"longitude_deg":75.6801856,"latitude_deg":11.9428872,"altitude":77,"angle":8,"satellites":35,"speed":21,"hex_longitude":"2d1be140","hex_latitude":"071e5708","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333363456001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11867535804727296,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2008957308100270080,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786458462000,"timestamp_ms":1786458462000,"timestamp_seconds":1786458462,"priority":1,"record_length":96,"hex_timestamp":"0000019ff138d730"} 
[2026-08-11 19:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:58: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-08-11 19: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 19:58:53] 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-08-11 19: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-08-11 19:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333363456001,"66":13493,"109":206,"83":41984,"24":21,"16":11867535804727296,"45":2008957308100270080},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-11 19:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333363456001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:58:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 19:58:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11867535804727296,"km_value":11867535804727.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2008957308100270080,"description":"Unknown IO ID 45"} 
[2026-08-11 19:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333363456001,"power":13493,"unknown_109":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":2008957308100270080}} 
[2026-08-11 19:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":152438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:58:54] local.INFO: GPS data processed {"connection_id":152438,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:58:54] local.INFO: Acknowledgment sent {"connection_id":152438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:58:54] local.INFO: TCP Data received {"connection_id":152438,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff138eab8012d1be2c0071e5e580050016424..."} 
[2026-08-11 19:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff138eab8012d1be2c0071e5e580050016424..."} 
[2026-08-11 19:58:54] local.INFO: Processing buffer {"connection_id":152438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff138eab8012d1be2c0071e5e580050016424..."} 
[2026-08-11 19:58:54] local.INFO: Packet analysis {"connection_id":152438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff138"} 
[2026-08-11 19:58:54] local.INFO: Extracted packet for processing {"connection_id":152438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff138"} 
[2026-08-11 19:58:54] local.INFO: GPS Element Parsed {"raw_longitude":756802240,"raw_latitude":119430744,"longitude_deg":75.680224,"latitude_deg":11.9430744,"altitude":80,"angle":356,"satellites":36,"speed":5,"hex_longitude":"2d1be2c0","hex_latitude":"071e5e58","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333366272001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11867625999040512,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2008957308101920768,"note":"Value kept but may cause issues"} 
[2026-08-11 19:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786458467000,"timestamp_ms":1786458467000,"timestamp_seconds":1786458467,"priority":1,"record_length":96,"hex_timestamp":"0000019ff138eab8"} 
[2026-08-11 19:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:58: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-08-11 19: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-11 19:58:54] 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-08-11 19: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-08-11 19:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 19:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 19:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 19:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333366272001,"66":13559,"109":206,"83":41984,"24":5,"16":11867625999040512,"45":2008957308101920768},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-11 19:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 19:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 19:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333366272001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:58:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 19:58:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 19:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11867625999040512,"km_value":11867625999040.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2008957308101920768,"description":"Unknown IO ID 45"} 
[2026-08-11 19:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333366272001,"power":13559,"unknown_109":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":2008957308101920768}} 
[2026-08-11 19:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":152438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:58:54] local.INFO: GPS data processed {"connection_id":152438,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:58:54] local.INFO: Acknowledgment sent {"connection_id":152438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:59:00] local.INFO: TCP Data received {"connection_id":153779,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff136f6b8012d7ff24005c51228000301432d..."} 
[2026-08-11 19:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff136f6b8012d7ff24005c51228000301432d..."} 
[2026-08-11 19:59:00] local.INFO: Processing buffer {"connection_id":153779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff136f6b8012d7ff24005c51228000301432d..."} 
[2026-08-11 19:59:00] local.INFO: Packet analysis {"connection_id":153779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:59:00] local.INFO: Extracted packet for processing {"connection_id":153779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff136"} 
[2026-08-11 19:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763359808,"raw_latitude":96801320,"longitude_deg":76.3359808,"latitude_deg":9.680132,"altitude":3,"angle":323,"satellites":45,"speed":29,"hex_longitude":"2d7ff240","hex_latitude":"05c51228","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333329920001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378046904044355584,"note":"Value kept but may cause issues"} 
[2026-08-11 19:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9221120212261898240,"note":"Value kept but may cause issues"} 
[2026-08-11 19:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 19:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786458339000,"timestamp_ms":1786458339000,"timestamp_seconds":1786458339,"priority":1,"record_length":96,"hex_timestamp":"0000019ff136f6b8"} 
[2026-08-11 19:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 19:59:00] 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-08-11 19: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-08-11 19:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:59:00] 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-08-11 19:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333329920001,"66":27463,"98":206,"85":12288,"24":29,"16":378046904044355584,"45":-9221120212261898240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-11 19:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333329920001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:59:00] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-11 19:59:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378046904044355584,"km_value":378046904044355.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9221120212261898240,"description":"Unknown IO ID 45"} 
[2026-08-11 19:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333329920001,"power":27463,"unknown_98":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":-9221120212261898240}} 
[2026-08-11 19:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":153779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:59:00] local.INFO: GPS data processed {"connection_id":153779,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:59:00] local.INFO: Acknowledgment sent {"connection_id":153779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:59:08] local.INFO: TCP Data received {"connection_id":152843,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:59:08] local.INFO: Processing buffer {"connection_id":152843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:59:08] local.INFO: IMEI packet received {"connection_id":152843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 19:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":152843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:59:14] local.INFO: TCP Data received {"connection_id":153780,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:59:14] local.INFO: Processing buffer {"connection_id":153780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:59:14] local.INFO: IMEI packet received {"connection_id":153780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 19:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":153780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:59:20] local.INFO: TCP Data received {"connection_id":153780,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:59:20] local.INFO: Processing buffer {"connection_id":153780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:59:20] local.INFO: IMEI packet received {"connection_id":153780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":153780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:59:20] local.INFO: TCP Data received {"connection_id":152843,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:59:20] local.INFO: Processing buffer {"connection_id":152843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:59:20] local.INFO: IMEI packet received {"connection_id":152843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":152843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:59:20] local.INFO: TCP Data received {"connection_id":153780,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:59:20] local.INFO: Processing buffer {"connection_id":153780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:59:20] local.INFO: IMEI packet received {"connection_id":153780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":153780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:59:21] local.INFO: TCP Data received {"connection_id":152843,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:59:21] local.INFO: Processing buffer {"connection_id":152843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 19:59:21] local.INFO: IMEI packet received {"connection_id":152843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 19:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":152843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:59:22] local.INFO: TCP Data received {"connection_id":152843,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff138df00012d7be14005dcb198000001651e..."} 
[2026-08-11 19:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff138df00012d7be14005dcb198000001651e..."} 
[2026-08-11 19:59:22] local.INFO: Processing buffer {"connection_id":152843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff138df00012d7be14005dcb198000001651e..."} 
[2026-08-11 19:59:22] local.INFO: Packet analysis {"connection_id":152843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff138"} 
[2026-08-11 19:59:22] local.INFO: Extracted packet for processing {"connection_id":152843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff138"} 
[2026-08-11 19:59:22] local.INFO: GPS Element Parsed {"raw_longitude":763093312,"raw_latitude":98349464,"longitude_deg":76.3093312,"latitude_deg":9.8349464,"altitude":0,"angle":357,"satellites":30,"speed":48,"hex_longitude":"2d7be140","hex_latitude":"05dcb198","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333364736001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117837719165468672,"note":"Value kept but may cause issues"} 
[2026-08-11 19:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926838174065266688,"note":"Value kept but may cause issues"} 
[2026-08-11 19:59:22] 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-08-11 19:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786458464000,"timestamp_ms":1786458464000,"timestamp_seconds":1786458464,"priority":1,"record_length":96,"hex_timestamp":"0000019ff138df00"} 
[2026-08-11 19:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:59:22] 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-08-11 19: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":44,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-11 19:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1795,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 19:59: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-08-11 19:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333364736001,"66":12287,"168":206,"85":15104,"24":48,"16":117837719165468672,"45":8926838174065266688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 19:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333364736001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:59:22] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 19:59:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117837719165468672,"km_value":117837719165468.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926838174065266688,"description":"Unknown IO ID 45"} 
[2026-08-11 19:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333364736001,"power":12287,"unknown_168":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8926838174065266688}} 
[2026-08-11 19:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":152843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:59:22] local.INFO: GPS data processed {"connection_id":152843,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:59:22] local.INFO: Acknowledgment sent {"connection_id":152843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:59:23] local.INFO: TCP Data received {"connection_id":152843,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff138fa58012d7be08005dcd4a8000001661e..."} 
[2026-08-11 19:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff138fa58012d7be08005dcd4a8000001661e..."} 
[2026-08-11 19:59:23] local.INFO: Processing buffer {"connection_id":152843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff138fa58012d7be08005dcd4a8000001661e..."} 
[2026-08-11 19:59:23] local.INFO: Packet analysis {"connection_id":152843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff138"} 
[2026-08-11 19:59:23] local.INFO: Extracted packet for processing {"connection_id":152843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff138"} 
[2026-08-11 19:59:23] local.INFO: GPS Element Parsed {"raw_longitude":763093120,"raw_latitude":98358440,"longitude_deg":76.309312,"latitude_deg":9.835844,"altitude":0,"angle":358,"satellites":30,"speed":52,"hex_longitude":"2d7be080","hex_latitude":"05dcd4a8","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333366784001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117838152957165568,"note":"Value kept but may cause issues"} 
[2026-08-11 19:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926486330346674176,"note":"Value kept but may cause issues"} 
[2026-08-11 19:59:23] 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-08-11 19:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786458471000,"timestamp_ms":1786458471000,"timestamp_seconds":1786458471,"priority":1,"record_length":96,"hex_timestamp":"0000019ff138fa58"} 
[2026-08-11 19:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:59:23] 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-08-11 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 19:59:23] 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-08-11 19: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-08-11 19:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 19:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 19:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 19:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 19:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333366784001,"66":12232,"168":206,"85":15104,"24":52,"16":117838152957165568,"45":8926486330346674176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 19:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 19:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 19:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333366784001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:59:23] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 19:59:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 19:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117838152957165568,"km_value":117838152957165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926486330346674176,"description":"Unknown IO ID 45"} 
[2026-08-11 19:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333366784001,"power":12232,"unknown_168":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8926486330346674176}} 
[2026-08-11 19:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":152843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:59:24] local.INFO: GPS data processed {"connection_id":152843,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:59:24] local.INFO: Acknowledgment sent {"connection_id":152843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:59:24] local.INFO: TCP Data received {"connection_id":153780,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:59:24] local.INFO: Processing buffer {"connection_id":153780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 19:59:24] local.INFO: IMEI packet received {"connection_id":153780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 19:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":153780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:59:25] local.INFO: TCP Data received {"connection_id":153780,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1395818012d7f358005c61128000501422a..."} 
[2026-08-11 19:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1395818012d7f358005c61128000501422a..."} 
[2026-08-11 19:59:25] local.INFO: Processing buffer {"connection_id":153780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1395818012d7f358005c61128000501422a..."} 
[2026-08-11 19:59:25] local.INFO: Packet analysis {"connection_id":153780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff139"} 
[2026-08-11 19:59:25] local.INFO: Extracted packet for processing {"connection_id":153780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff139"} 
[2026-08-11 19:59:25] local.INFO: GPS Element Parsed {"raw_longitude":763311488,"raw_latitude":96866600,"longitude_deg":76.3311488,"latitude_deg":9.68666,"altitude":5,"angle":322,"satellites":42,"speed":19,"hex_longitude":"2d7f3580","hex_latitude":"05c61128","is_valid_coordinates":true} 
[2026-08-11 19: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-08-11 19:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333370880001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378050829644464128,"note":"Value kept but may cause issues"} 
[2026-08-11 19:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9172354722121949184,"note":"Value kept but may cause issues"} 
[2026-08-11 19:59:25] 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-08-11 19:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786458495000,"timestamp_ms":1786458495000,"timestamp_seconds":1786458495,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1395818"} 
[2026-08-11 19:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19: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":229,"data_length":795,"current_offset":136} 
[2026-08-11 19:59:25] 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-08-11 19: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-08-11 19:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:59:25] 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-08-11 19:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333370880001,"66":27343,"100":206,"85":12288,"24":19,"16":378050829644464128,"45":9172354722121949184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-11 19:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333370880001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:59:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 19:59:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378050829644464128,"km_value":378050829644464.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9172354722121949184,"description":"Unknown IO ID 45"} 
[2026-08-11 19:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333370880001,"power":27343,"unknown_100":206,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":9172354722121949184}} 
[2026-08-11 19:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":153780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:59:25] local.INFO: GPS data processed {"connection_id":153780,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:59:25] local.INFO: Acknowledgment sent {"connection_id":153780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:59:29] local.INFO: TCP Data received {"connection_id":153780,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff139aa20012d7f284005c62250000501402e..."} 
[2026-08-11 19:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff139aa20012d7f284005c62250000501402e..."} 
[2026-08-11 19:59:29] local.INFO: Processing buffer {"connection_id":153780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff139aa20012d7f284005c62250000501402e..."} 
[2026-08-11 19:59:29] local.INFO: Packet analysis {"connection_id":153780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff139"} 
[2026-08-11 19:59:29] local.INFO: Extracted packet for processing {"connection_id":153780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff139"} 
[2026-08-11 19:59:29] local.INFO: GPS Element Parsed {"raw_longitude":763308096,"raw_latitude":96870992,"longitude_deg":76.3308096,"latitude_deg":9.6870992,"altitude":5,"angle":320,"satellites":46,"speed":14,"hex_longitude":"2d7f2840","hex_latitude":"05c62250","is_valid_coordinates":true} 
[2026-08-11 19:59: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-08-11 19:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333374720001,"note":"Value kept but may cause issues"} 
[2026-08-11 19:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378051100227403776,"note":"Value kept but may cause issues"} 
[2026-08-11 19:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166373378868717568,"note":"Value kept but may cause issues"} 
[2026-08-11 19:59:29] 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-08-11 19:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786458516000,"timestamp_ms":1786458516000,"timestamp_seconds":1786458516,"priority":1,"record_length":96,"hex_timestamp":"0000019ff139aa20"} 
[2026-08-11 19:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 19:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 19:59: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-08-11 19:59: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-08-11 19:59: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-08-11 19:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 19:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 19:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 19:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 19:59:29] 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-08-11 19:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 19:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 19:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333374720001,"66":27365,"100":206,"85":12288,"24":14,"16":378051100227403776,"45":9166373378868717568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-11 19:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 19:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 19:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333374720001,"description":"Unknown IO ID 0"} 
[2026-08-11 19:59:29] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 19:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 19:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378051100227403776,"km_value":378051100227403.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 19:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166373378868717568,"description":"Unknown IO ID 45"} 
[2026-08-11 19:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333374720001,"power":27365,"unknown_100":206,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":9166373378868717568}} 
[2026-08-11 19:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":153780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 19:59:29] local.INFO: GPS data processed {"connection_id":153780,"processed":1,"errors":0,"total":1} 
[2026-08-11 19:59:29] local.INFO: Acknowledgment sent {"connection_id":153780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 19:59:48] local.INFO: TCP Data received {"connection_id":153781,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:59:48] local.INFO: Processing buffer {"connection_id":153781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:59:48] local.INFO: IMEI packet received {"connection_id":153781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 19:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":153781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 19:59:48] local.INFO: TCP Data received {"connection_id":153781,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:59:48] local.INFO: Processing buffer {"connection_id":153781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:59:48] local.INFO: IMEI packet received {"connection_id":153781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":153781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:59:49] local.INFO: TCP Data received {"connection_id":153781,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:59:49] local.INFO: Processing buffer {"connection_id":153781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:59:49] local.INFO: IMEI packet received {"connection_id":153781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":153781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 19:59:50] local.INFO: TCP Data received {"connection_id":153781,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:59:50] local.INFO: Processing buffer {"connection_id":153781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 19:59:50] local.INFO: IMEI packet received {"connection_id":153781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 19:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":153781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:00:00] local.INFO: TCP Data received {"connection_id":153780,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff139b5d8012d7f264005c625f00006014f30..."} 
[2026-08-11 20:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff139b5d8012d7f264005c625f00006014f30..."} 
[2026-08-11 20:00:00] local.INFO: Processing buffer {"connection_id":153780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff139b5d8012d7f264005c625f00006014f30..."} 
[2026-08-11 20:00:00] local.INFO: Packet analysis {"connection_id":153780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff139"} 
[2026-08-11 20:00:00] local.INFO: Extracted packet for processing {"connection_id":153780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff139"} 
[2026-08-11 20:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763307584,"raw_latitude":96871920,"longitude_deg":76.3307584,"latitude_deg":9.687192,"altitude":6,"angle":335,"satellites":48,"speed":15,"hex_longitude":"2d7f2640","hex_latitude":"05c625f0","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333380096001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378051151767011328,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162643835428425728,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:00] 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-08-11 20:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786458519000,"timestamp_ms":1786458519000,"timestamp_seconds":1786458519,"priority":1,"record_length":96,"hex_timestamp":"0000019ff139b5d8"} 
[2026-08-11 20:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:00:00] 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-08-11 20: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-08-11 20:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:00:00] 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-08-11 20:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333380096001,"66":27365,"100":206,"85":12288,"24":15,"16":378051151767011328,"45":9162643835428425728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-11 20:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333380096001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:00:00] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-11 20:00:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 20:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378051151767011328,"km_value":378051151767011.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162643835428425728,"description":"Unknown IO ID 45"} 
[2026-08-11 20:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333380096001,"power":27365,"unknown_100":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":9162643835428425728}} 
[2026-08-11 20:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":153780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:00:01] local.INFO: GPS data processed {"connection_id":153780,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:00:01] local.INFO: Acknowledgment sent {"connection_id":153780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:00:08] local.INFO: TCP Data received {"connection_id":152844,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:00:08] local.INFO: Processing buffer {"connection_id":152844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:00:08] local.INFO: IMEI packet received {"connection_id":152844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":152844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:00:14] local.INFO: TCP Data received {"connection_id":152844,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:00:14] local.INFO: Processing buffer {"connection_id":152844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:00:14] local.INFO: IMEI packet received {"connection_id":152844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":152844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:00:19] local.INFO: TCP Data received {"connection_id":155157,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:00:19] local.INFO: Processing buffer {"connection_id":155157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:00:19] local.INFO: IMEI packet received {"connection_id":155157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":155157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:00:19] local.INFO: TCP Data received {"connection_id":155157,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:00:19] local.INFO: Processing buffer {"connection_id":155157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:00:19] local.INFO: IMEI packet received {"connection_id":155157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":155157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:00:24] local.INFO: TCP Data received {"connection_id":155157,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:00:24] local.INFO: Processing buffer {"connection_id":155157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:00:24] local.INFO: IMEI packet received {"connection_id":155157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":155157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:00:24] local.INFO: TCP Data received {"connection_id":155157,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff139f070012d7f124005c645b80006014632..."} 
[2026-08-11 20:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff139f070012d7f124005c645b80006014632..."} 
[2026-08-11 20:00:24] local.INFO: Processing buffer {"connection_id":155157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff139f070012d7f124005c645b80006014632..."} 
[2026-08-11 20:00:24] local.INFO: Packet analysis {"connection_id":155157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff139"} 
[2026-08-11 20:00:24] local.INFO: Extracted packet for processing {"connection_id":155157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff139"} 
[2026-08-11 20:00:24] local.INFO: GPS Element Parsed {"raw_longitude":763302464,"raw_latitude":96880056,"longitude_deg":76.3302464,"latitude_deg":9.6880056,"altitude":6,"angle":326,"satellites":50,"speed":33,"hex_longitude":"2d7f1240","hex_latitude":"05c645b8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333380864001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-11 20:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378051615623479296,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162080885475241984,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:24] 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-08-11 20:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786458534000,"timestamp_ms":1786458534000,"timestamp_seconds":1786458534,"priority":1,"record_length":96,"hex_timestamp":"0000019ff139f070"} 
[2026-08-11 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-08-11 20:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:00:24] 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-08-11 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-08-11 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-08-11 20:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:00:24] 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-08-11 20:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333380864001,"66":27397,"200":0,"85":12288,"24":33,"16":378051615623479296,"45":9162080885475241984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-11 20:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333380864001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:00:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 20:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378051615623479296,"km_value":378051615623479.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162080885475241984,"description":"Unknown IO ID 45"} 
[2026-08-11 20:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333380864001,"power":27397,"gsm_signal":0,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9162080885475241984}} 
[2026-08-11 20:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":155157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:00:24] local.INFO: GPS data processed {"connection_id":155157,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:00:24] local.INFO: Acknowledgment sent {"connection_id":155157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:00:28] local.INFO: TCP Data received {"connection_id":155157,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13a2338012d7efd0005c663180005014231..."} 
[2026-08-11 20:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13a2338012d7efd0005c663180005014231..."} 
[2026-08-11 20:00:28] local.INFO: Processing buffer {"connection_id":155157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13a2338012d7efd0005c663180005014231..."} 
[2026-08-11 20:00:28] local.INFO: Packet analysis {"connection_id":155157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13a"} 
[2026-08-11 20:00:28] local.INFO: Extracted packet for processing {"connection_id":155157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13a"} 
[2026-08-11 20:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763297024,"raw_latitude":96887576,"longitude_deg":76.3297024,"latitude_deg":9.6887576,"altitude":5,"angle":322,"satellites":49,"speed":15,"hex_longitude":"2d7efd00","hex_latitude":"05c66318","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333384704001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-11 20:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378052066595045376,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156451385943111680,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:28] 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-08-11 20:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786458547000,"timestamp_ms":1786458547000,"timestamp_seconds":1786458547,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13a2338"} 
[2026-08-11 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-08-11 20:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 20:00:28] 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-08-11 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-08-11 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-08-11 20:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":155157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":155157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":155157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:00:28] 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-08-11 20:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333384704001,"66":27343,"200":0,"85":12288,"24":15,"16":378052066595045376,"45":9156451385943111680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-11 20:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333384704001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:00:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 20:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378052066595045376,"km_value":378052066595045.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156451385943111680,"description":"Unknown IO ID 45"} 
[2026-08-11 20:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333384704001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":9156451385943111680}} 
[2026-08-11 20:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":155157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:00:28] local.INFO: GPS data processed {"connection_id":155157,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:00:28] local.INFO: Acknowledgment sent {"connection_id":155157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:00:35] local.INFO: TCP Data received {"connection_id":152844,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13a7540012d7ba3c005de63f80000015d1a..."} 
[2026-08-11 20:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13a7540012d7ba3c005de63f80000015d1a..."} 
[2026-08-11 20:00:35] local.INFO: Processing buffer {"connection_id":152844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13a7540012d7ba3c005de63f80000015d1a..."} 
[2026-08-11 20:00:35] local.INFO: Packet analysis {"connection_id":152844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13a"} 
[2026-08-11 20:00:35] local.INFO: Extracted packet for processing {"connection_id":152844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13a"} 
[2026-08-11 20:00:35] local.INFO: GPS Element Parsed {"raw_longitude":763077568,"raw_latitude":98460664,"longitude_deg":76.3077568,"latitude_deg":9.8460664,"altitude":0,"angle":349,"satellites":26,"speed":42,"hex_longitude":"2d7ba3c0","hex_latitude":"05de63f8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333390848001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911216312886116352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117843173773934592,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] 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-08-11 20:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786458568000,"timestamp_ms":1786458568000,"timestamp_seconds":1786458568,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13a7540"} 
[2026-08-11 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-08-11 20:00: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-08-11 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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287286784,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4047075160,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6726568047152201728,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505397722546176,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2958032896,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629510854192809,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698628010606848,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-5861152553852796904,"corrected_to":0} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495854,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2147868042,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182169580077312,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2805792768,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2493366916354055906,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194847232,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.WARNING: Large IO value detected {"io_id":48,"raw_value":1516610007040,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,185,85,24,241,157,16,169,159,43,45,27,29,10,66,168,3,64,247,31,213,128,1,240,76,227,221,4,113,205,47,146,206,104,239,2,162,5,69,48],"length":583,"final_offset":713,"validated_count":40,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":205,"original":-5861152553852796904,"validated":0}]} 
[2026-08-11 20:00:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":382754602876928,"timestamp_seconds":382754602876.928,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 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-08-11 20:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333390848001,"66":12156,"45":8911216312886116352,"85":15104,"24":42,"16":117843173773934592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-11 20:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333390848001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911216312886116352,"description":"Unknown IO ID 45"} 
[2026-08-11 20:00:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117843173773934592,"km_value":117843173773934.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:00:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457333390848001,"power":12156,"unknown_45":8911216312886116352,"unknown_85":15104,"ignition":42,"odometer":null}} 
[2026-08-11 20:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":152844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:00:35] local.INFO: GPS data processed {"connection_id":152844,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:00:35] local.INFO: Acknowledgment sent {"connection_id":152844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:00:59] local.INFO: TCP Data received {"connection_id":155157,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13a5218012d7eed0005c673900006013731..."} 
[2026-08-11 20:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13a5218012d7eed0005c673900006013731..."} 
[2026-08-11 20:00:59] local.INFO: Processing buffer {"connection_id":155157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13a5218012d7eed0005c673900006013731..."} 
[2026-08-11 20:00:59] local.INFO: Packet analysis {"connection_id":155157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13a"} 
[2026-08-11 20:00:59] local.INFO: Extracted packet for processing {"connection_id":155157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13a"} 
[2026-08-11 20:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763292928,"raw_latitude":96891792,"longitude_deg":76.3292928,"latitude_deg":9.6891792,"altitude":6,"angle":311,"satellites":49,"speed":26,"hex_longitude":"2d7eed00","hex_latitude":"05c67390","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333388032001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-11 20:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378052350062886912,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150470042689935360,"note":"Value kept but may cause issues"} 
[2026-08-11 20:00:59] 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-08-11 20:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786458559000,"timestamp_ms":1786458559000,"timestamp_seconds":1786458559,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13a5218"} 
[2026-08-11 20:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 20:00:59] 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-08-11 20: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-08-11 20:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":155157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":155157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":155157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:00:59] 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-08-11 20:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333388032001,"66":27365,"200":0,"85":12288,"24":26,"16":378052350062886912,"45":9150470042689935360},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-11 20:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333388032001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:00:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 20:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378052350062886912,"km_value":378052350062886.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150470042689935360,"description":"Unknown IO ID 45"} 
[2026-08-11 20:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333388032001,"power":27365,"gsm_signal":0,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9150470042689935360}} 
[2026-08-11 20:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":155157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:00:59] local.INFO: GPS data processed {"connection_id":155157,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:00:59] local.INFO: Acknowledgment sent {"connection_id":155157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:01:08] local.INFO: TCP Data received {"connection_id":152845,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:01:08] local.INFO: Processing buffer {"connection_id":152845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:01:08] local.INFO: IMEI packet received {"connection_id":152845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":152845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:01:09] local.INFO: TCP Data received {"connection_id":152845,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:01:09] local.INFO: Processing buffer {"connection_id":152845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:01:09] local.INFO: IMEI packet received {"connection_id":152845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":152845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:01:13] local.INFO: TCP Data received {"connection_id":152845,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:01:13] local.INFO: Processing buffer {"connection_id":152845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:01:13] local.INFO: IMEI packet received {"connection_id":152845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":152845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:01:14] local.INFO: TCP Data received {"connection_id":152845,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13a9480012d7b9f0005de8650000001621d..."} 
[2026-08-11 20:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13a9480012d7b9f0005de8650000001621d..."} 
[2026-08-11 20:01:14] local.INFO: Processing buffer {"connection_id":152845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13a9480012d7b9f0005de8650000001621d..."} 
[2026-08-11 20:01:14] local.INFO: Packet analysis {"connection_id":152845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13a"} 
[2026-08-11 20:01:14] local.INFO: Extracted packet for processing {"connection_id":152845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13a"} 
[2026-08-11 20:01:14] local.INFO: GPS Element Parsed {"raw_longitude":763076352,"raw_latitude":98469456,"longitude_deg":76.3076352,"latitude_deg":9.8469456,"altitude":0,"angle":354,"satellites":29,"speed":45,"hex_longitude":"2d7b9f00","hex_latitude":"05de8650","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333393408001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909175619307436032,"note":"Value kept but may cause issues"} 
[2026-08-11 20:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117843603270664192,"note":"Value kept but may cause issues"} 
[2026-08-11 20:01:14] 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-08-11 20:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786458576000,"timestamp_ms":1786458576000,"timestamp_seconds":1786458576,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13a9480"} 
[2026-08-11 20:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:01:14] 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-08-11 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-11 20:01:14] 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-08-11 20: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-08-11 20:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333393408001,"66":12069,"45":8909175619307436032,"85":15104,"24":45,"16":117843603270664192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-11 20:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333393408001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909175619307436032,"description":"Unknown IO ID 45"} 
[2026-08-11 20:01:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117843603270664192,"km_value":117843603270664.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:01:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457333393408001,"power":12069,"unknown_45":8909175619307436032,"unknown_85":15104,"ignition":45,"odometer":null}} 
[2026-08-11 20:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":152845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:01:15] local.INFO: GPS data processed {"connection_id":152845,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:01:15] local.INFO: Acknowledgment sent {"connection_id":152845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:01:18] local.INFO: TCP Data received {"connection_id":155158,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:01:18] local.INFO: Processing buffer {"connection_id":155158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:01:18] local.INFO: IMEI packet received {"connection_id":155158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":155158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:01:23] local.INFO: TCP Data received {"connection_id":155158,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:01:23] local.INFO: Processing buffer {"connection_id":155158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:01:23] local.INFO: IMEI packet received {"connection_id":155158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":155158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:01:24] local.INFO: TCP Data received {"connection_id":155158,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13a80f8012d7ed14005c68a58000701322f..."} 
[2026-08-11 20:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13a80f8012d7ed14005c68a58000701322f..."} 
[2026-08-11 20:01:24] local.INFO: Processing buffer {"connection_id":155158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13a80f8012d7ed14005c68a58000701322f..."} 
[2026-08-11 20:01:24] local.INFO: Packet analysis {"connection_id":155158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13a"} 
[2026-08-11 20:01:24] local.INFO: Extracted packet for processing {"connection_id":155158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13a"} 
[2026-08-11 20:01:24] local.INFO: GPS Element Parsed {"raw_longitude":763285824,"raw_latitude":96897624,"longitude_deg":76.3285824,"latitude_deg":9.6897624,"altitude":7,"angle":306,"satellites":47,"speed":36,"hex_longitude":"2d7ed140","hex_latitude":"05c68a58","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333391104001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:01:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-11 20:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378052792444518400,"note":"Value kept but may cause issues"} 
[2026-08-11 20:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145966443063644160,"note":"Value kept but may cause issues"} 
[2026-08-11 20:01:24] 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-08-11 20:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786458571000,"timestamp_ms":1786458571000,"timestamp_seconds":1786458571,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13a80f8"} 
[2026-08-11 20:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:01:24] 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-08-11 20: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-08-11 20:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:01:24] 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-08-11 20:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333391104001,"66":27376,"200":0,"85":12288,"24":36,"16":378052792444518400,"45":9145966443063644160},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-11 20:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333391104001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:01:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 20:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378052792444518400,"km_value":378052792444518.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145966443063644160,"description":"Unknown IO ID 45"} 
[2026-08-11 20:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333391104001,"power":27376,"gsm_signal":0,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9145966443063644160}} 
[2026-08-11 20:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":155158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:01:24] local.INFO: GPS data processed {"connection_id":155158,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:01:24] local.INFO: Acknowledgment sent {"connection_id":155158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:01:47] local.INFO: TCP Data received {"connection_id":152845,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13ab3c0012d7b9c0005dea8e0000001651e..."} 
[2026-08-11 20:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13ab3c0012d7b9c0005dea8e0000001651e..."} 
[2026-08-11 20:01:47] local.INFO: Processing buffer {"connection_id":152845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13ab3c0012d7b9c0005dea8e0000001651e..."} 
[2026-08-11 20:01:47] local.INFO: Packet analysis {"connection_id":152845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13a"} 
[2026-08-11 20:01:47] local.INFO: Extracted packet for processing {"connection_id":152845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13a"} 
[2026-08-11 20:01:47] local.INFO: GPS Element Parsed {"raw_longitude":763075584,"raw_latitude":98478304,"longitude_deg":76.3075584,"latitude_deg":9.8478304,"altitude":0,"angle":357,"satellites":30,"speed":43,"hex_longitude":"2d7b9c00","hex_latitude":"05dea8e0","is_valid_coordinates":true} 
[2026-08-11 20:01: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-08-11 20:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333395456001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907838613170311168,"note":"Value kept but may cause issues"} 
[2026-08-11 20:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117844037062361088,"note":"Value kept but may cause issues"} 
[2026-08-11 20:01: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-08-11 20:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786458584000,"timestamp_ms":1786458584000,"timestamp_seconds":1786458584,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13ab3c0"} 
[2026-08-11 20:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:01:47] 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-08-11 20:01: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-11 20:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20:01: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-08-11 20:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333395456001,"66":12156,"45":8907838613170311168,"85":15104,"24":43,"16":117844037062361088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-11 20:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333395456001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907838613170311168,"description":"Unknown IO ID 45"} 
[2026-08-11 20:01:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117844037062361088,"km_value":117844037062361.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:01:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457333395456001,"power":12156,"unknown_45":8907838613170311168,"unknown_85":15104,"ignition":43,"odometer":null}} 
[2026-08-11 20:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":152845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:01:47] local.INFO: GPS data processed {"connection_id":152845,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:01:47] local.INFO: Acknowledgment sent {"connection_id":152845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:01:55] local.INFO: TCP Data received {"connection_id":155158,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13aa808012d7eb1c005c69f000006012f30..."} 
[2026-08-11 20:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13aa808012d7eb1c005c69f000006012f30..."} 
[2026-08-11 20:01:55] local.INFO: Processing buffer {"connection_id":155158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13aa808012d7eb1c005c69f000006012f30..."} 
[2026-08-11 20:01:55] local.INFO: Packet analysis {"connection_id":155158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13a"} 
[2026-08-11 20:01:55] local.INFO: Extracted packet for processing {"connection_id":155158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13a"} 
[2026-08-11 20:01:55] local.INFO: GPS Element Parsed {"raw_longitude":763277760,"raw_latitude":96902912,"longitude_deg":76.327776,"latitude_deg":9.6902912,"altitude":6,"angle":303,"satellites":48,"speed":38,"hex_longitude":"2d7eb1c0","hex_latitude":"05c69f00","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333394176001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:01:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-11 20:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378053256300986368,"note":"Value kept but may cause issues"} 
[2026-08-11 20:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138155512461416448,"note":"Value kept but may cause issues"} 
[2026-08-11 20:01:55] 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-08-11 20:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786458581000,"timestamp_ms":1786458581000,"timestamp_seconds":1786458581,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13aa808"} 
[2026-08-11 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-08-11 20:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 20:01:55] 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-08-11 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-08-11 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-08-11 20:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:01:55] 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-08-11 20:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333394176001,"66":27376,"200":0,"85":12288,"24":38,"16":378053256300986368,"45":9138155512461416448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-11 20:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333394176001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:01:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 20:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378053256300986368,"km_value":378053256300986.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138155512461416448,"description":"Unknown IO ID 45"} 
[2026-08-11 20:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333394176001,"power":27376,"gsm_signal":0,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":9138155512461416448}} 
[2026-08-11 20:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":155158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:01:55] local.INFO: GPS data processed {"connection_id":155158,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:01:55] local.INFO: Acknowledgment sent {"connection_id":155158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:02:08] local.INFO: TCP Data received {"connection_id":152846,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:02:08] local.INFO: Processing buffer {"connection_id":152846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:02:08] local.INFO: IMEI packet received {"connection_id":152846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":152846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:02:09] local.INFO: TCP Data received {"connection_id":152846,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:02:09] local.INFO: Processing buffer {"connection_id":152846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:02:09] local.INFO: IMEI packet received {"connection_id":152846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":152846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:02:13] local.INFO: TCP Data received {"connection_id":152846,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:02:13] local.INFO: Processing buffer {"connection_id":152846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:02:13] local.INFO: IMEI packet received {"connection_id":152846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":152846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:02:15] local.INFO: TCP Data received {"connection_id":152846,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13c6d28012d7b720005e036e8000701621f..."} 
[2026-08-11 20:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13c6d28012d7b720005e036e8000701621f..."} 
[2026-08-11 20:02:15] local.INFO: Processing buffer {"connection_id":152846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13c6d28012d7b720005e036e8000701621f..."} 
[2026-08-11 20:02:15] local.INFO: Packet analysis {"connection_id":152846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:02:15] local.INFO: Extracted packet for processing {"connection_id":152846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:02:15] local.INFO: GPS Element Parsed {"raw_longitude":763064832,"raw_latitude":98580200,"longitude_deg":76.3064832,"latitude_deg":9.85802,"altitude":7,"angle":354,"satellites":31,"speed":39,"hex_longitude":"2d7b7200","hex_latitude":"05e036e8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333424128001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117849006339522560,"note":"Value kept but may cause issues"} 
[2026-08-11 20:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368507895349248,"note":"Value kept but may cause issues"} 
[2026-08-11 20:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786458697000,"timestamp_ms":1786458697000,"timestamp_seconds":1786458697,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13c6d28"} 
[2026-08-11 20:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:02:15] 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-08-11 20: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-11 20:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20: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-08-11 20:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333424128001,"66":12189,"36":206,"85":15104,"24":39,"16":117849006339522560,"45":8896368507895349248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-08-11 20:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333424128001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:02:15] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 20:02:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117849006339522560,"km_value":117849006339522.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368507895349248,"description":"Unknown IO ID 45"} 
[2026-08-11 20:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333424128001,"power":12189,"unknown_36":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8896368507895349248}} 
[2026-08-11 20:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":152846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:02:15] local.INFO: GPS data processed {"connection_id":152846,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:02:15] local.INFO: Acknowledgment sent {"connection_id":152846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:02:19] local.INFO: TCP Data received {"connection_id":152847,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:02:19] local.INFO: Processing buffer {"connection_id":152847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:02:19] local.INFO: IMEI packet received {"connection_id":152847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":152847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:02:21] local.INFO: TCP Data received {"connection_id":152847,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:02:21] local.INFO: Processing buffer {"connection_id":152847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:02:21] local.INFO: IMEI packet received {"connection_id":152847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":152847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:02:24] local.INFO: TCP Data received {"connection_id":152847,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:02:24] local.INFO: Processing buffer {"connection_id":152847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:02:24] local.INFO: IMEI packet received {"connection_id":152847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":152847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:02:24] local.INFO: TCP Data received {"connection_id":152847,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13c1350012d7d65c005c78e28000c013d33..."} 
[2026-08-11 20:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13c1350012d7d65c005c78e28000c013d33..."} 
[2026-08-11 20:02:24] local.INFO: Processing buffer {"connection_id":152847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13c1350012d7d65c005c78e28000c013d33..."} 
[2026-08-11 20:02:24] local.INFO: Packet analysis {"connection_id":152847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:02:24] local.INFO: Extracted packet for processing {"connection_id":152847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:02:24] local.INFO: GPS Element Parsed {"raw_longitude":763192768,"raw_latitude":96964136,"longitude_deg":76.3192768,"latitude_deg":9.6964136,"altitude":12,"angle":317,"satellites":51,"speed":53,"hex_longitude":"2d7d65c0","hex_latitude":"05c78e28","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333418752001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:02:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-11 20:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378058298592591872,"note":"Value kept but may cause issues"} 
[2026-08-11 20:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9042946601604317184,"note":"Value kept but may cause issues"} 
[2026-08-11 20:02:24] 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-08-11 20:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786458674000,"timestamp_ms":1786458674000,"timestamp_seconds":1786458674,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13c1350"} 
[2026-08-11 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-08-11 20:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 20:02:24] 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-08-11 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-08-11 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-08-11 20:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:02:24] 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-08-11 20:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333418752001,"66":27321,"200":0,"85":12288,"24":53,"16":378058298592591872,"45":9042946601604317184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-11 20:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333418752001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:02:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 20:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378058298592591872,"km_value":378058298592591.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9042946601604317184,"description":"Unknown IO ID 45"} 
[2026-08-11 20:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333418752001,"power":27321,"gsm_signal":0,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":9042946601604317184}} 
[2026-08-11 20:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":152847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:02:24] local.INFO: GPS data processed {"connection_id":152847,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:02:24] local.INFO: Acknowledgment sent {"connection_id":152847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:02:27] local.INFO: TCP Data received {"connection_id":152847,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13c2ea8012d7d500005c7ab38000d014733..."} 
[2026-08-11 20:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13c2ea8012d7d500005c7ab38000d014733..."} 
[2026-08-11 20:02:27] local.INFO: Processing buffer {"connection_id":152847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13c2ea8012d7d500005c7ab38000d014733..."} 
[2026-08-11 20:02:27] local.INFO: Packet analysis {"connection_id":152847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:02:27] local.INFO: Extracted packet for processing {"connection_id":152847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763187200,"raw_latitude":96971576,"longitude_deg":76.31872,"latitude_deg":9.6971576,"altitude":13,"angle":327,"satellites":51,"speed":42,"hex_longitude":"2d7d5000","hex_latitude":"05c7ab38","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333420544001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:02:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-11 20:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378058749564157952,"note":"Value kept but may cause issues"} 
[2026-08-11 20:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9035839358444120064,"note":"Value kept but may cause issues"} 
[2026-08-11 20:02: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-08-11 20:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786458681000,"timestamp_ms":1786458681000,"timestamp_seconds":1786458681,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13c2ea8"} 
[2026-08-11 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-08-11 20:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 20:02:27] 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-08-11 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-08-11 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-08-11 20:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:02:27] 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-08-11 20:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333420544001,"66":27321,"200":0,"85":12288,"24":42,"16":378058749564157952,"45":9035839358444120064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-11 20:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333420544001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 20:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378058749564157952,"km_value":378058749564157.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9035839358444120064,"description":"Unknown IO ID 45"} 
[2026-08-11 20:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333420544001,"power":27321,"gsm_signal":0,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9035839358444120064}} 
[2026-08-11 20:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":152847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:02:27] local.INFO: GPS data processed {"connection_id":152847,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:02:27] local.INFO: Acknowledgment sent {"connection_id":152847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:02:47] local.INFO: TCP Data received {"connection_id":152846,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13c9438012d7b6d0005e05cb0000801611d..."} 
[2026-08-11 20:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13c9438012d7b6d0005e05cb0000801611d..."} 
[2026-08-11 20:02:47] local.INFO: Processing buffer {"connection_id":152846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13c9438012d7b6d0005e05cb0000801611d..."} 
[2026-08-11 20:02:47] local.INFO: Packet analysis {"connection_id":152846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:02:47] local.INFO: Extracted packet for processing {"connection_id":152846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:02:47] local.INFO: GPS Element Parsed {"raw_longitude":763063552,"raw_latitude":98589872,"longitude_deg":76.3063552,"latitude_deg":9.8589872,"altitude":8,"angle":353,"satellites":29,"speed":40,"hex_longitude":"2d7b6d00","hex_latitude":"05e05cb0","is_valid_coordinates":true} 
[2026-08-11 20:02: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-08-11 20:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333426432001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117849478785925120,"note":"Value kept but may cause issues"} 
[2026-08-11 20:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895172239246682112,"note":"Value kept but may cause issues"} 
[2026-08-11 20:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786458707000,"timestamp_ms":1786458707000,"timestamp_seconds":1786458707,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13c9438"} 
[2026-08-11 20:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:02:47] 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-08-11 20:02: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-11 20:02:47] 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-08-11 20:02: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-08-11 20:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333426432001,"66":12102,"36":206,"85":15104,"24":40,"16":117849478785925120,"45":8895172239246682112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-08-11 20:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333426432001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:02:47] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 20:02:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117849478785925120,"km_value":117849478785925.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895172239246682112,"description":"Unknown IO ID 45"} 
[2026-08-11 20:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333426432001,"power":12102,"unknown_36":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8895172239246682112}} 
[2026-08-11 20:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":152846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:02:47] local.INFO: GPS data processed {"connection_id":152846,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:02:47] local.INFO: Acknowledgment sent {"connection_id":152846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:02:58] local.INFO: TCP Data received {"connection_id":152847,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13c51d0012d7d3dc005c7caa8000e014c31..."} 
[2026-08-11 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13c51d0012d7d3dc005c7caa8000e014c31..."} 
[2026-08-11 20:02:58] local.INFO: Processing buffer {"connection_id":152847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13c51d0012d7d3dc005c7caa8000e014c31..."} 
[2026-08-11 20:02:58] local.INFO: Packet analysis {"connection_id":152847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:02:58] local.INFO: Extracted packet for processing {"connection_id":152847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":96979624,"longitude_deg":76.3182528,"latitude_deg":9.6979624,"altitude":14,"angle":332,"satellites":49,"speed":46,"hex_longitude":"2d7d3dc0","hex_latitude":"05c7caa8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333422336001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:02:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-11 20:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378059196240756736,"note":"Value kept but may cause issues"} 
[2026-08-11 20:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029717277702567936,"note":"Value kept but may cause issues"} 
[2026-08-11 20:02: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-08-11 20:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786458690000,"timestamp_ms":1786458690000,"timestamp_seconds":1786458690,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13c51d0"} 
[2026-08-11 20:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 20:02:58] 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-08-11 20: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-08-11 20:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:02:58] 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-08-11 20:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333422336001,"66":27321,"200":0,"85":12288,"24":46,"16":378059196240756736,"45":9029717277702567936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-11 20:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333422336001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:02:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 20:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378059196240756736,"km_value":378059196240756.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029717277702567936,"description":"Unknown IO ID 45"} 
[2026-08-11 20:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333422336001,"power":27321,"gsm_signal":0,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9029717277702567936}} 
[2026-08-11 20:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":152847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:02:58] local.INFO: GPS data processed {"connection_id":152847,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:02:58] local.INFO: Acknowledgment sent {"connection_id":152847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:03:13] local.INFO: TCP Data received {"connection_id":153784,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:03:13] local.INFO: Processing buffer {"connection_id":153784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:03:13] local.INFO: IMEI packet received {"connection_id":153784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":153784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:03:18] local.INFO: TCP Data received {"connection_id":153784,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:03:18] local.INFO: Processing buffer {"connection_id":153784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:03:18] local.INFO: IMEI packet received {"connection_id":153784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":153784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:03:19] local.INFO: TCP Data received {"connection_id":153784,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13cb760012d7b690005e080d0000801611e..."} 
[2026-08-11 20:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13cb760012d7b690005e080d0000801611e..."} 
[2026-08-11 20:03:19] local.INFO: Processing buffer {"connection_id":153784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13cb760012d7b690005e080d0000801611e..."} 
[2026-08-11 20:03:19] local.INFO: Packet analysis {"connection_id":153784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:03:19] local.INFO: Extracted packet for processing {"connection_id":153784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:03:19] local.INFO: GPS Element Parsed {"raw_longitude":763062528,"raw_latitude":98599120,"longitude_deg":76.3062528,"latitude_deg":9.859912,"altitude":8,"angle":353,"satellites":30,"speed":36,"hex_longitude":"2d7b6900","hex_latitude":"05e080d0","is_valid_coordinates":true} 
[2026-08-11 20:03: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-08-11 20:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333428992001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117849929757491200,"note":"Value kept but may cause issues"} 
[2026-08-11 20:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893764864365604864,"note":"Value kept but may cause issues"} 
[2026-08-11 20:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786458716000,"timestamp_ms":1786458716000,"timestamp_seconds":1786458716,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13cb760"} 
[2026-08-11 20:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:03:19] 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-08-11 20:03: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 20:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20:03: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-08-11 20:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333428992001,"66":11993,"36":206,"85":15104,"24":36,"16":117849929757491200,"45":8893764864365604864},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-08-11 20:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333428992001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:03:19] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 20:03:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117849929757491200,"km_value":117849929757491.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893764864365604864,"description":"Unknown IO ID 45"} 
[2026-08-11 20:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333428992001,"power":11993,"unknown_36":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8893764864365604864}} 
[2026-08-11 20:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":153784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:03:19] local.INFO: GPS data processed {"connection_id":153784,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:03:19] local.INFO: Acknowledgment sent {"connection_id":153784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:03:23] local.INFO: TCP Data received {"connection_id":153784,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13ce640012d7b640005e0a5180009015f1d..."} 
[2026-08-11 20:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13ce640012d7b640005e0a5180009015f1d..."} 
[2026-08-11 20:03:23] local.INFO: Processing buffer {"connection_id":153784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13ce640012d7b640005e0a5180009015f1d..."} 
[2026-08-11 20:03:23] local.INFO: Packet analysis {"connection_id":153784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:03:23] local.INFO: Extracted packet for processing {"connection_id":153784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:03:23] local.INFO: GPS Element Parsed {"raw_longitude":763061248,"raw_latitude":98608408,"longitude_deg":76.3061248,"latitude_deg":9.8608408,"altitude":9,"angle":351,"satellites":29,"speed":31,"hex_longitude":"2d7b6400","hex_latitude":"05e0a518","is_valid_coordinates":true} 
[2026-08-11 20:03: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-08-11 20:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333431296001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117850385024024576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892638964461129728,"note":"Value kept but may cause issues"} 
[2026-08-11 20:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786458728000,"timestamp_ms":1786458728000,"timestamp_seconds":1786458728,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13ce640"} 
[2026-08-11 20:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:03:23] 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-08-11 20:03: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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 20:03:23] 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-08-11 20:03: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-08-11 20:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333431296001,"66":12058,"35":206,"85":15104,"24":31,"16":117850385024024576,"45":8892638964461129728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-08-11 20:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333431296001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:03:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-11 20:03:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117850385024024576,"km_value":117850385024024.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892638964461129728,"description":"Unknown IO ID 45"} 
[2026-08-11 20:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333431296001,"power":12058,"unknown_35":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8892638964461129728}} 
[2026-08-11 20:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":153784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:03:23] local.INFO: GPS data processed {"connection_id":153784,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:03:23] local.INFO: Acknowledgment sent {"connection_id":153784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:03:24] local.INFO: TCP Data received {"connection_id":155159,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:03:24] local.INFO: Processing buffer {"connection_id":155159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:03:24] local.INFO: IMEI packet received {"connection_id":155159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":155159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:03:24] local.INFO: TCP Data received {"connection_id":155159,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:03:24] local.INFO: Processing buffer {"connection_id":155159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:03:24] local.INFO: IMEI packet received {"connection_id":155159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":155159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:03:29] local.INFO: TCP Data received {"connection_id":155159,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:03:29] local.INFO: Processing buffer {"connection_id":155159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:03:29] local.INFO: IMEI packet received {"connection_id":155159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":155159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:03:29] local.INFO: TCP Data received {"connection_id":155159,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13c6d28012d7d2f4005c7eb80000b015531..."} 
[2026-08-11 20:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13c6d28012d7d2f4005c7eb80000b015531..."} 
[2026-08-11 20:03:29] local.INFO: Processing buffer {"connection_id":155159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13c6d28012d7d2f4005c7eb80000b015531..."} 
[2026-08-11 20:03:29] local.INFO: Packet analysis {"connection_id":155159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:03:29] local.INFO: Extracted packet for processing {"connection_id":155159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:03:29] local.INFO: GPS Element Parsed {"raw_longitude":763178816,"raw_latitude":96988032,"longitude_deg":76.3178816,"latitude_deg":9.6988032,"altitude":11,"angle":341,"satellites":49,"speed":58,"hex_longitude":"2d7d2f40","hex_latitude":"05c7eb80","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333424640001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:03:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-11 20:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378059642917355520,"note":"Value kept but may cause issues"} 
[2026-08-11 20:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580359379658752,"note":"Value kept but may cause issues"} 
[2026-08-11 20:03:29] 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-08-11 20:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786458697000,"timestamp_ms":1786458697000,"timestamp_seconds":1786458697,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13c6d28"} 
[2026-08-11 20:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 20:03:29] 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-08-11 20: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-08-11 20:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:03:29] 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-08-11 20:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333424640001,"66":27343,"200":0,"85":12288,"24":58,"16":378059642917355520,"45":9024580359379658752},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-11 20:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333424640001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:03:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-11 20:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378059642917355520,"km_value":378059642917355.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580359379658752,"description":"Unknown IO ID 45"} 
[2026-08-11 20:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333424640001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":58,"odometer":null,"unknown_45":9024580359379658752}} 
[2026-08-11 20:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":155159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:03:29] local.INFO: GPS data processed {"connection_id":155159,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:03:29] local.INFO: Acknowledgment sent {"connection_id":155159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:04:00] local.INFO: TCP Data received {"connection_id":155159,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13dbd18012d7d070005c97e900007000131..."} 
[2026-08-11 20:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13dbd18012d7d070005c97e900007000131..."} 
[2026-08-11 20:04:00] local.INFO: Processing buffer {"connection_id":155159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13dbd18012d7d070005c97e900007000131..."} 
[2026-08-11 20:04:00] local.INFO: Packet analysis {"connection_id":155159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:04:00] local.INFO: Extracted packet for processing {"connection_id":155159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:04:00] local.INFO: GPS Element Parsed {"raw_longitude":763168512,"raw_latitude":97091216,"longitude_deg":76.3168512,"latitude_deg":9.7091216,"altitude":7,"angle":1,"satellites":49,"speed":47,"hex_longitude":"2d7d0700","hex_latitude":"05c97e90","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333446400001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378064680913993728,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009028866942681088,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:00] 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-08-11 20:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786458783000,"timestamp_ms":1786458783000,"timestamp_seconds":1786458783,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13dbd18"} 
[2026-08-11 20:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 20:04: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-08-11 20: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-08-11 20:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":155159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":155159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":155159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:04:00] 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-08-11 20:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333446400001,"66":27267,"131":206,"85":15104,"24":47,"16":378064680913993728,"45":9009028866942681088},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-11 20:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333446400001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:04:00] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-11 20:04:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378064680913993728,"km_value":378064680913993.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009028866942681088,"description":"Unknown IO ID 45"} 
[2026-08-11 20:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333446400001,"power":27267,"unknown_131":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9009028866942681088}} 
[2026-08-11 20:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":155159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:04:00] local.INFO: GPS data processed {"connection_id":155159,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:04:00] local.INFO: Acknowledgment sent {"connection_id":155159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:04:08] local.INFO: TCP Data received {"connection_id":152849,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:04:08] local.INFO: Processing buffer {"connection_id":152849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:04:08] local.INFO: IMEI packet received {"connection_id":152849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":152849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:04:12] local.INFO: TCP Data received {"connection_id":152849,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:04:12] local.INFO: Processing buffer {"connection_id":152849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:04:12] local.INFO: IMEI packet received {"connection_id":152849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":152849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:04:13] local.INFO: TCP Data received {"connection_id":152849,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13d1138012d7b5e0005e0c8e8000c015d1e..."} 
[2026-08-11 20:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13d1138012d7b5e0005e0c8e8000c015d1e..."} 
[2026-08-11 20:04:13] local.INFO: Processing buffer {"connection_id":152849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13d1138012d7b5e0005e0c8e8000c015d1e..."} 
[2026-08-11 20:04:13] local.INFO: Packet analysis {"connection_id":152849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:04:13] local.INFO: Extracted packet for processing {"connection_id":152849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763059712,"raw_latitude":98617576,"longitude_deg":76.3059712,"latitude_deg":9.8617576,"altitude":12,"angle":349,"satellites":30,"speed":36,"hex_longitude":"2d7b5e00","hex_latitude":"05e0c8e8","is_valid_coordinates":true} 
[2026-08-11 20:04: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-08-11 20:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333434368001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117850835995590656,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891231589579954176,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786458739000,"timestamp_ms":1786458739000,"timestamp_seconds":1786458739,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13d1138"} 
[2026-08-11 20:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:04:13] 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-08-11 20:04: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 20:04:13] 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-08-11 20:04: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-08-11 20:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333434368001,"66":12178,"217":206,"85":15104,"24":36,"16":117850835995590656,"45":8891231589579954176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-11 20:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333434368001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:04:13] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-11 20:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117850835995590656,"km_value":117850835995590.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891231589579954176,"description":"Unknown IO ID 45"} 
[2026-08-11 20:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333434368001,"power":12178,"unknown_217":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8891231589579954176}} 
[2026-08-11 20:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":152849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:04:13] local.INFO: GPS data processed {"connection_id":152849,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:04:13] local.INFO: Acknowledgment sent {"connection_id":152849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:04:17] local.INFO: TCP Data received {"connection_id":153785,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:04:17] local.INFO: Processing buffer {"connection_id":153785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:04:17] local.INFO: IMEI packet received {"connection_id":153785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":153785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:04:21] local.INFO: TCP Data received {"connection_id":153785,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:04:21] local.INFO: Processing buffer {"connection_id":153785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:04:21] local.INFO: IMEI packet received {"connection_id":153785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":153785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:04:24] local.INFO: TCP Data received {"connection_id":153785,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:04:24] local.INFO: Processing buffer {"connection_id":153785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:04:24] local.INFO: IMEI packet received {"connection_id":153785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":153785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:04:24] local.INFO: TCP Data received {"connection_id":153785,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13ddc58012d7d090005c9a4f00007000432..."} 
[2026-08-11 20:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13ddc58012d7d090005c9a4f00007000432..."} 
[2026-08-11 20:04:24] local.INFO: Processing buffer {"connection_id":153785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13ddc58012d7d090005c9a4f00007000432..."} 
[2026-08-11 20:04:24] local.INFO: Packet analysis {"connection_id":153785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:04:24] local.INFO: Extracted packet for processing {"connection_id":153785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:04:24] local.INFO: GPS Element Parsed {"raw_longitude":763169024,"raw_latitude":97101040,"longitude_deg":76.3169024,"latitude_deg":9.710104,"altitude":7,"angle":4,"satellites":50,"speed":50,"hex_longitude":"2d7d0900","hex_latitude":"05c9a4f0","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333448448001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378065161950330880,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009169604433317888,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:24] 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-08-11 20:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786458791000,"timestamp_ms":1786458791000,"timestamp_seconds":1786458791,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13ddc58"} 
[2026-08-11 20:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 20:04:24] 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-08-11 20: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-08-11 20:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:04:24] 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-08-11 20:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333448448001,"66":27332,"131":206,"85":15104,"24":50,"16":378065161950330880,"45":9009169604433317888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-11 20:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333448448001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:04:24] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-11 20:04:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378065161950330880,"km_value":378065161950330.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009169604433317888,"description":"Unknown IO ID 45"} 
[2026-08-11 20:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333448448001,"power":27332,"unknown_131":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9009169604433317888}} 
[2026-08-11 20:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":153785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:04:24] local.INFO: GPS data processed {"connection_id":153785,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:04:24] local.INFO: Acknowledgment sent {"connection_id":153785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:04:44] local.INFO: TCP Data received {"connection_id":152849,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13d3848012d7b56c005e0eec8000c015e1c..."} 
[2026-08-11 20:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13d3848012d7b56c005e0eec8000c015e1c..."} 
[2026-08-11 20:04:44] local.INFO: Processing buffer {"connection_id":152849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13d3848012d7b56c005e0eec8000c015e1c..."} 
[2026-08-11 20:04:44] local.INFO: Packet analysis {"connection_id":152849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:04:44] local.INFO: Extracted packet for processing {"connection_id":152849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:04:44] local.INFO: GPS Element Parsed {"raw_longitude":763057856,"raw_latitude":98627272,"longitude_deg":76.3057856,"latitude_deg":9.8627272,"altitude":12,"angle":350,"satellites":28,"speed":42,"hex_longitude":"2d7b56c0","hex_latitude":"05e0eec8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333437184001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117851317031927808,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889542739722037248,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786458749000,"timestamp_ms":1786458749000,"timestamp_seconds":1786458749,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13d3848"} 
[2026-08-11 20:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:04: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-08-11 20: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-11 20:04:44] 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-08-11 20: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-08-11 20:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333437184001,"66":11874,"217":206,"85":15104,"24":42,"16":117851317031927808,"45":8889542739722037248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-11 20:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333437184001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:04:44] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-11 20:04:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117851317031927808,"km_value":117851317031927.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889542739722037248,"description":"Unknown IO ID 45"} 
[2026-08-11 20:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333437184001,"power":11874,"unknown_217":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8889542739722037248}} 
[2026-08-11 20:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":152849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:04:44] local.INFO: GPS data processed {"connection_id":152849,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:04:44] local.INFO: Acknowledgment sent {"connection_id":152849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:04:53] local.INFO: TCP Data received {"connection_id":152850,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:04:53] local.INFO: Processing buffer {"connection_id":152850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:04:53] local.INFO: IMEI packet received {"connection_id":152850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":152850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:04:54] local.INFO: TCP Data received {"connection_id":152850,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13cfdb0012d19dec0072008f8002a012e26..."} 
[2026-08-11 20:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13cfdb0012d19dec0072008f8002a012e26..."} 
[2026-08-11 20:04:54] local.INFO: Processing buffer {"connection_id":152850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13cfdb0012d19dec0072008f8002a012e26..."} 
[2026-08-11 20:04:54] local.INFO: Packet analysis {"connection_id":152850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:04:54] local.INFO: Extracted packet for processing {"connection_id":152850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13c"} 
[2026-08-11 20:04:54] local.INFO: GPS Element Parsed {"raw_longitude":756670144,"raw_latitude":119539960,"longitude_deg":75.6670144,"latitude_deg":11.953996,"altitude":42,"angle":302,"satellites":38,"speed":30,"hex_longitude":"2d19dec0","hex_latitude":"072008f8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333435136001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11877409934540800,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865756913728372736,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04: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-08-11 20:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786458734000,"timestamp_ms":1786458734000,"timestamp_seconds":1786458734,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13cfdb0"} 
[2026-08-11 20:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:04: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-08-11 20: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 20:04:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:54] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4047284160,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:54] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-2400418408095800320,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-11 20:04:54] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3221692406,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:54] local.WARNING: Large IO value detected {"io_id":193,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:54] local.WARNING: Large IO value detected {"io_id":60,"raw_value":-8892356171016044537,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:54] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,50,159,238,45,255,42,37,10,66,234,253,41,230,1,240,77,227,31,4,113,205,199,11,96,35,239,55,2,7,46,193,60],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-11 20:04:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026772051741245440,"timestamp_seconds":3026772051741245.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 20:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333435136001,"66":14211,"101":206,"83":41984,"24":30,"16":11877409934540800,"45":1865756913728372736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 20:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333435136001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:04:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 20:04:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11877409934540800,"km_value":11877409934540.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865756913728372736,"description":"Unknown IO ID 45"} 
[2026-08-11 20:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333435136001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1865756913728372736}} 
[2026-08-11 20:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":152850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:04:54] local.INFO: GPS data processed {"connection_id":152850,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:04:54] local.INFO: Acknowledgment sent {"connection_id":152850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:04:55] local.INFO: TCP Data received {"connection_id":153785,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13df7b0012d7d0c4005c9c8000008000533..."} 
[2026-08-11 20:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13df7b0012d7d0c4005c9c8000008000533..."} 
[2026-08-11 20:04:55] local.INFO: Processing buffer {"connection_id":153785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13df7b0012d7d0c4005c9c8000008000533..."} 
[2026-08-11 20:04:55] local.INFO: Packet analysis {"connection_id":153785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:04:55] local.INFO: Extracted packet for processing {"connection_id":153785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763169856,"raw_latitude":97110016,"longitude_deg":76.3169856,"latitude_deg":9.7110016,"altitude":8,"angle":5,"satellites":51,"speed":51,"hex_longitude":"2d7d0c40","hex_latitude":"05c9c800","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333450496001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378065595742027776,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009732554389254144,"note":"Value kept but may cause issues"} 
[2026-08-11 20:04:55] 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-08-11 20:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786458798000,"timestamp_ms":1786458798000,"timestamp_seconds":1786458798,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13df7b0"} 
[2026-08-11 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-08-11 20:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 20:04:55] 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-08-11 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-08-11 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-08-11 20:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:04:55] 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-08-11 20:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333450496001,"66":27365,"131":206,"85":15104,"24":51,"16":378065595742027776,"45":9009732554389254144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-11 20:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333450496001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:04:55] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-11 20:04:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378065595742027776,"km_value":378065595742027.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009732554389254144,"description":"Unknown IO ID 45"} 
[2026-08-11 20:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333450496001,"power":27365,"unknown_131":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9009732554389254144}} 
[2026-08-11 20:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":153785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:04:55] local.INFO: GPS data processed {"connection_id":153785,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:04:55] local.INFO: Acknowledgment sent {"connection_id":153785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:05:08] local.INFO: TCP Data received {"connection_id":155160,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:05:08] local.INFO: Processing buffer {"connection_id":155160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:05:08] local.INFO: IMEI packet received {"connection_id":155160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":155160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:05:09] local.INFO: TCP Data received {"connection_id":155160,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:05:09] local.INFO: Processing buffer {"connection_id":155160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:05:09] local.INFO: IMEI packet received {"connection_id":155160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":155160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:05:13] local.INFO: TCP Data received {"connection_id":155160,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:05:13] local.INFO: Processing buffer {"connection_id":155160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:05:13] local.INFO: IMEI packet received {"connection_id":155160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":155160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:05:13] local.INFO: TCP Data received {"connection_id":155160,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13d6340012d7b518005e11298000b015d1e..."} 
[2026-08-11 20:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13d6340012d7b518005e11298000b015d1e..."} 
[2026-08-11 20:05:13] local.INFO: Processing buffer {"connection_id":155160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13d6340012d7b518005e11298000b015d1e..."} 
[2026-08-11 20:05:13] local.INFO: Packet analysis {"connection_id":155160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:05:13] local.INFO: Extracted packet for processing {"connection_id":155160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98636440,"longitude_deg":76.3056512,"latitude_deg":9.863644,"altitude":11,"angle":349,"satellites":30,"speed":34,"hex_longitude":"2d7b5180","hex_latitude":"05e11298","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333439744001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117851763708526592,"note":"Value kept but may cause issues"} 
[2026-08-11 20:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887502046143367168,"note":"Value kept but may cause issues"} 
[2026-08-11 20:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786458760000,"timestamp_ms":1786458760000,"timestamp_seconds":1786458760,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13d6340"} 
[2026-08-11 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-08-11 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-08-11 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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 20:05:13] 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-08-11 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-08-11 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-08-11 20:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":155160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":155160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":155160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333439744001,"66":11895,"217":206,"85":15104,"24":34,"16":117851763708526592,"45":8887502046143367168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-11 20:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333439744001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:05:13] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-11 20:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117851763708526592,"km_value":117851763708526.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887502046143367168,"description":"Unknown IO ID 45"} 
[2026-08-11 20:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333439744001,"power":11895,"unknown_217":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8887502046143367168}} 
[2026-08-11 20:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":155160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:05:14] local.INFO: GPS data processed {"connection_id":155160,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:05:14] local.INFO: Acknowledgment sent {"connection_id":155160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:05:18] local.INFO: TCP Data received {"connection_id":155161,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:05:18] local.INFO: Processing buffer {"connection_id":155161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:05:18] local.INFO: IMEI packet received {"connection_id":155161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":155161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:05:24] local.INFO: TCP Data received {"connection_id":155161,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:05:24] local.INFO: Processing buffer {"connection_id":155161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:05:24] local.INFO: IMEI packet received {"connection_id":155161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":155161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:05:25] local.INFO: TCP Data received {"connection_id":155161,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13e1308012d7d104005c9ebb00008000532..."} 
[2026-08-11 20:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13e1308012d7d104005c9ebb00008000532..."} 
[2026-08-11 20:05:25] local.INFO: Processing buffer {"connection_id":155161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13e1308012d7d104005c9ebb00008000532..."} 
[2026-08-11 20:05:25] local.INFO: Packet analysis {"connection_id":155161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13e"} 
[2026-08-11 20:05:25] local.INFO: Extracted packet for processing {"connection_id":155161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13e"} 
[2026-08-11 20:05:25] local.INFO: GPS Element Parsed {"raw_longitude":763170880,"raw_latitude":97119152,"longitude_deg":76.317088,"latitude_deg":9.7119152,"altitude":8,"angle":5,"satellites":50,"speed":53,"hex_longitude":"2d7d1040","hex_latitude":"05c9ebb0","is_valid_coordinates":true} 
[2026-08-11 20:05: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-08-11 20:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333452288001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378066042418626560,"note":"Value kept but may cause issues"} 
[2026-08-11 20:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010647348065861632,"note":"Value kept but may cause issues"} 
[2026-08-11 20:05:25] 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-08-11 20:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786458805000,"timestamp_ms":1786458805000,"timestamp_seconds":1786458805,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13e1308"} 
[2026-08-11 20:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:05: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":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:05:25] 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-08-11 20:05: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-08-11 20:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:05:25] 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-08-11 20:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333452288001,"66":27267,"131":206,"85":15104,"24":53,"16":378066042418626560,"45":9010647348065861632},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-11 20:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333452288001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:05:25] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-11 20:05:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378066042418626560,"km_value":378066042418626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010647348065861632,"description":"Unknown IO ID 45"} 
[2026-08-11 20:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333452288001,"power":27267,"unknown_131":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9010647348065861632}} 
[2026-08-11 20:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":155161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:05:25] local.INFO: GPS data processed {"connection_id":155161,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:05:25] local.INFO: Acknowledgment sent {"connection_id":155161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:05:38] local.INFO: TCP Data received {"connection_id":152440,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:05:38] local.INFO: Processing buffer {"connection_id":152440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:05:38] local.INFO: IMEI packet received {"connection_id":152440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":152440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:05:43] local.INFO: TCP Data received {"connection_id":152440,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:05:43] local.INFO: Processing buffer {"connection_id":152440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:05:43] local.INFO: IMEI packet received {"connection_id":152440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":152440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:05:44] local.INFO: TCP Data received {"connection_id":152440,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13d1520012d19d1c007201298002b013e26..."} 
[2026-08-11 20:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13d1520012d19d1c007201298002b013e26..."} 
[2026-08-11 20:05:44] local.INFO: Processing buffer {"connection_id":152440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13d1520012d19d1c007201298002b013e26..."} 
[2026-08-11 20:05:44] local.INFO: Packet analysis {"connection_id":152440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:05:44] local.INFO: Extracted packet for processing {"connection_id":152440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:05:44] local.INFO: GPS Element Parsed {"raw_longitude":756666816,"raw_latitude":119542424,"longitude_deg":75.6666816,"latitude_deg":11.9542424,"altitude":43,"angle":318,"satellites":38,"speed":21,"hex_longitude":"2d19d1c0","hex_latitude":"07201298","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333435904001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11877611798003712,"note":"Value kept but may cause issues"} 
[2026-08-11 20:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864138432612726784,"note":"Value kept but may cause issues"} 
[2026-08-11 20:05:44] 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-08-11 20:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786458740000,"timestamp_ms":1786458740000,"timestamp_seconds":1786458740,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13d1520"} 
[2026-08-11 20:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:05:44] 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-08-11 20: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 20:05:44] 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-08-11 20: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-08-11 20:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333435904001,"66":14135,"101":206,"83":41984,"24":21,"16":11877611798003712,"45":1864138432612726784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 20:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333435904001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:05:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 20:05:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11877611798003712,"km_value":11877611798003.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864138432612726784,"description":"Unknown IO ID 45"} 
[2026-08-11 20:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333435904001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1864138432612726784}} 
[2026-08-11 20:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":152440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:05:44] local.INFO: GPS data processed {"connection_id":152440,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:05:44] local.INFO: Acknowledgment sent {"connection_id":152440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:05:46] local.INFO: TCP Data received {"connection_id":155160,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13fcc70012d7b188005e2ba78000701601f..."} 
[2026-08-11 20:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13fcc70012d7b188005e2ba78000701601f..."} 
[2026-08-11 20:05:46] local.INFO: Processing buffer {"connection_id":155160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13fcc70012d7b188005e2ba78000701601f..."} 
[2026-08-11 20:05:46] local.INFO: Packet analysis {"connection_id":155160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13f"} 
[2026-08-11 20:05:46] local.INFO: Extracted packet for processing {"connection_id":155160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13f"} 
[2026-08-11 20:05:46] local.INFO: GPS Element Parsed {"raw_longitude":763041920,"raw_latitude":98744952,"longitude_deg":76.304192,"latitude_deg":9.8744952,"altitude":7,"angle":352,"satellites":31,"speed":40,"hex_longitude":"2d7b1880","hex_latitude":"05e2ba78","is_valid_coordinates":true} 
[2026-08-11 20:05: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-08-11 20:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333480448001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117857080878039040,"note":"Value kept but may cause issues"} 
[2026-08-11 20:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871598709986947072,"note":"Value kept but may cause issues"} 
[2026-08-11 20:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786458918000,"timestamp_ms":1786458918000,"timestamp_seconds":1786458918,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13fcc70"} 
[2026-08-11 20:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:05: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-11 20:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20:05: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-08-11 20:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":155160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":155160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":155160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333480448001,"66":12015,"96":206,"85":15104,"24":40,"16":117857080878039040,"45":8871598709986947072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 20:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333480448001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:05:46] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 20:05:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117857080878039040,"km_value":117857080878039.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871598709986947072,"description":"Unknown IO ID 45"} 
[2026-08-11 20:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333480448001,"power":12015,"unknown_96":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8871598709986947072}} 
[2026-08-11 20:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":155160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:05:46] local.INFO: GPS data processed {"connection_id":155160,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:05:46] local.INFO: Acknowledgment sent {"connection_id":155160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:05:56] local.INFO: TCP Data received {"connection_id":155161,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13f7680012d7d364005cbb318000c000733..."} 
[2026-08-11 20:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13f7680012d7d364005cbb318000c000733..."} 
[2026-08-11 20:05:56] local.INFO: Processing buffer {"connection_id":155161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13f7680012d7d364005cbb318000c000733..."} 
[2026-08-11 20:05:56] local.INFO: Packet analysis {"connection_id":155161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13f"} 
[2026-08-11 20:05:56] local.INFO: Extracted packet for processing {"connection_id":155161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13f"} 
[2026-08-11 20:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763180608,"raw_latitude":97235736,"longitude_deg":76.3180608,"latitude_deg":9.7235736,"altitude":12,"angle":7,"satellites":51,"speed":47,"hex_longitude":"2d7d3640","hex_latitude":"05cbb318","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333475328001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378071716070424576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021413765954787328,"note":"Value kept but may cause issues"} 
[2026-08-11 20:05:56] 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-08-11 20:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786458896000,"timestamp_ms":1786458896000,"timestamp_seconds":1786458896,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13f7680"} 
[2026-08-11 20:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:05:56] 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-08-11 20: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-08-11 20:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:05:56] 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-08-11 20:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333475328001,"66":27365,"129":206,"85":15104,"24":47,"16":378071716070424576,"45":9021413765954787328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-11 20:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333475328001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:05:56] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 20:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378071716070424576,"km_value":378071716070424.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021413765954787328,"description":"Unknown IO ID 45"} 
[2026-08-11 20:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333475328001,"power":27365,"unknown_129":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9021413765954787328}} 
[2026-08-11 20:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":155161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:05:56] local.INFO: GPS data processed {"connection_id":155161,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:05:56] local.INFO: Acknowledgment sent {"connection_id":155161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:06:08] local.INFO: TCP Data received {"connection_id":152851,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:06:08] local.INFO: Processing buffer {"connection_id":152851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:06:08] local.INFO: IMEI packet received {"connection_id":152851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":152851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:06:09] local.INFO: TCP Data received {"connection_id":152851,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:06:09] local.INFO: Processing buffer {"connection_id":152851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:06:09] local.INFO: IMEI packet received {"connection_id":152851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":152851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:06:13] local.INFO: TCP Data received {"connection_id":152851,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:06:13] local.INFO: Processing buffer {"connection_id":152851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:06:13] local.INFO: IMEI packet received {"connection_id":152851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":152851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:06:14] local.INFO: TCP Data received {"connection_id":152851,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13ff380012d7b140005e2df900006015f1d..."} 
[2026-08-11 20:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13ff380012d7b140005e2df900006015f1d..."} 
[2026-08-11 20:06:14] local.INFO: Processing buffer {"connection_id":152851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13ff380012d7b140005e2df900006015f1d..."} 
[2026-08-11 20:06:14] local.INFO: Packet analysis {"connection_id":152851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13f"} 
[2026-08-11 20:06:14] local.INFO: Extracted packet for processing {"connection_id":152851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13f"} 
[2026-08-11 20:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763040768,"raw_latitude":98754448,"longitude_deg":76.3040768,"latitude_deg":9.8754448,"altitude":6,"angle":351,"satellites":29,"speed":34,"hex_longitude":"2d7b1400","hex_latitude":"05e2df90","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333483008001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117857544734507008,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869980228873254912,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786458928000,"timestamp_ms":1786458928000,"timestamp_seconds":1786458928,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13ff380"} 
[2026-08-11 20:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20: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-08-11 20: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 20:06:14] 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-08-11 20: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-08-11 20:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333483008001,"66":12135,"96":206,"85":15104,"24":34,"16":117857544734507008,"45":8869980228873254912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 20:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333483008001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:06:14] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 20:06:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117857544734507008,"km_value":117857544734507.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869980228873254912,"description":"Unknown IO ID 45"} 
[2026-08-11 20:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333483008001,"power":12135,"unknown_96":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8869980228873254912}} 
[2026-08-11 20:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":152851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:06:15] local.INFO: GPS data processed {"connection_id":152851,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:06:15] local.INFO: Acknowledgment sent {"connection_id":152851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:06:15] local.INFO: TCP Data received {"connection_id":152440,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13d1cf0012d19d00007201550002b014926..."} 
[2026-08-11 20:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13d1cf0012d19d00007201550002b014926..."} 
[2026-08-11 20:06:15] local.INFO: Processing buffer {"connection_id":152440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13d1cf0012d19d00007201550002b014926..."} 
[2026-08-11 20:06:15] local.INFO: Packet analysis {"connection_id":152440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:06:15] local.INFO: Extracted packet for processing {"connection_id":152440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756666368,"raw_latitude":119543120,"longitude_deg":75.6666368,"latitude_deg":11.954312,"altitude":43,"angle":329,"satellites":38,"speed":12,"hex_longitude":"2d19d000","hex_latitude":"07201550","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333437440001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11877650452709376,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860479257916119040,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:15] 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-08-11 20:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786458742000,"timestamp_ms":1786458742000,"timestamp_seconds":1786458742,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13d1cf0"} 
[2026-08-11 20:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:06:15] 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-08-11 20: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-11 20:06:15] 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-08-11 20: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-08-11 20:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333437440001,"66":14135,"101":206,"83":41984,"24":12,"16":11877650452709376,"45":1860479257916119040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 20:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333437440001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:06:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 20:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11877650452709376,"km_value":11877650452709.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860479257916119040,"description":"Unknown IO ID 45"} 
[2026-08-11 20:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333437440001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1860479257916119040}} 
[2026-08-11 20:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":152440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:06:15] local.INFO: GPS data processed {"connection_id":152440,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:06:15] local.INFO: Acknowledgment sent {"connection_id":152440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:06:19] local.INFO: TCP Data received {"connection_id":152441,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:06:19] local.INFO: Processing buffer {"connection_id":152441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:06:19] local.INFO: IMEI packet received {"connection_id":152441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":152441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:06:24] local.INFO: TCP Data received {"connection_id":152441,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:06:24] local.INFO: Processing buffer {"connection_id":152441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:06:24] local.INFO: IMEI packet received {"connection_id":152441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":152441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:06:26] local.INFO: TCP Data received {"connection_id":152441,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:06:26] local.INFO: Processing buffer {"connection_id":152441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:06:26] local.INFO: IMEI packet received {"connection_id":152441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":152441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:06:27] local.INFO: TCP Data received {"connection_id":152441,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13f95c0012d7d3b0005cbd750000b000931..."} 
[2026-08-11 20:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13f95c0012d7d3b0005cbd750000b000931..."} 
[2026-08-11 20:06:27] local.INFO: Processing buffer {"connection_id":152441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13f95c0012d7d3b0005cbd750000b000931..."} 
[2026-08-11 20:06:27] local.INFO: Packet analysis {"connection_id":152441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13f"} 
[2026-08-11 20:06:27] local.INFO: Extracted packet for processing {"connection_id":152441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13f"} 
[2026-08-11 20:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":97245008,"longitude_deg":76.3181824,"latitude_deg":9.7245008,"altitude":11,"angle":9,"satellites":49,"speed":49,"hex_longitude":"2d7d3b00","hex_latitude":"05cbd750","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333477376001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378072167041990656,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022469297119893504,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:27] 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-08-11 20:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786458904000,"timestamp_ms":1786458904000,"timestamp_seconds":1786458904,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13f95c0"} 
[2026-08-11 20:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:06:27] 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-08-11 20: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-08-11 20:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:06:27] 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-08-11 20:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333477376001,"66":27365,"129":206,"85":15104,"24":49,"16":378072167041990656,"45":9022469297119893504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-11 20:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333477376001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:06:27] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 20:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378072167041990656,"km_value":378072167041990.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022469297119893504,"description":"Unknown IO ID 45"} 
[2026-08-11 20:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333477376001,"power":27365,"unknown_129":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9022469297119893504}} 
[2026-08-11 20:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":152441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:06:27] local.INFO: GPS data processed {"connection_id":152441,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:06:27] local.INFO: Acknowledgment sent {"connection_id":152441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:06:29] local.INFO: TCP Data received {"connection_id":152441,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13fb118012d7d40c005cbf9c80008000932..."} 
[2026-08-11 20:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13fb118012d7d40c005cbf9c80008000932..."} 
[2026-08-11 20:06:29] local.INFO: Processing buffer {"connection_id":152441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13fb118012d7d40c005cbf9c80008000932..."} 
[2026-08-11 20:06:29] local.INFO: Packet analysis {"connection_id":152441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13f"} 
[2026-08-11 20:06:29] local.INFO: Extracted packet for processing {"connection_id":152441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13f"} 
[2026-08-11 20:06:29] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":97253832,"longitude_deg":76.3183296,"latitude_deg":9.7253832,"altitude":8,"angle":9,"satellites":50,"speed":49,"hex_longitude":"2d7d40c0","hex_latitude":"05cbf9c8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333479424001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378072600833687552,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303261642752,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:29] 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-08-11 20:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786458911000,"timestamp_ms":1786458911000,"timestamp_seconds":1786458911,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13fb118"} 
[2026-08-11 20:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:06:29] 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-08-11 20: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-08-11 20:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:06:29] 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-08-11 20:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333479424001,"66":27397,"129":206,"85":15104,"24":49,"16":378072600833687552,"45":9023806303261642752},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-11 20:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333479424001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:06:29] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 20:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378072600833687552,"km_value":378072600833687.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303261642752,"description":"Unknown IO ID 45"} 
[2026-08-11 20:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333479424001,"power":27397,"unknown_129":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9023806303261642752}} 
[2026-08-11 20:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":152441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:06:29] local.INFO: GPS data processed {"connection_id":152441,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:06:29] local.INFO: Acknowledgment sent {"connection_id":152441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:06:38] local.INFO: TCP Data received {"connection_id":155162,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:06:38] local.INFO: Processing buffer {"connection_id":155162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:06:38] local.INFO: IMEI packet received {"connection_id":155162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":155162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:06:43] local.INFO: TCP Data received {"connection_id":155162,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:06:43] local.INFO: Processing buffer {"connection_id":155162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:06:43] local.INFO: IMEI packet received {"connection_id":155162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":155162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:06:44] local.INFO: TCP Data received {"connection_id":155162,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13d6ef8012d19ce8007201828002b014924..."} 
[2026-08-11 20:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13d6ef8012d19ce8007201828002b014924..."} 
[2026-08-11 20:06:44] local.INFO: Processing buffer {"connection_id":155162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13d6ef8012d19ce8007201828002b014924..."} 
[2026-08-11 20:06:44] local.INFO: Packet analysis {"connection_id":155162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:06:44] local.INFO: Extracted packet for processing {"connection_id":155162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543848,"longitude_deg":75.6665984,"latitude_deg":11.9543848,"altitude":43,"angle":329,"satellites":36,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201828","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333437952001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11877689107415040,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859986676707053568,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:44] 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-08-11 20:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786458763000,"timestamp_ms":1786458763000,"timestamp_seconds":1786458763,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13d6ef8"} 
[2026-08-11 20:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:06:44] 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-08-11 20: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-11 20:06:44] 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-08-11 20: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-08-11 20:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333437952001,"66":14135,"101":206,"83":41984,"24":0,"16":11877689107415040,"45":1859986676707053568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 20:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333437952001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:06:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 20:06:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11877689107415040,"km_value":11877689107415.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859986676707053568,"description":"Unknown IO ID 45"} 
[2026-08-11 20:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333437952001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859986676707053568}} 
[2026-08-11 20:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":155162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:06:44] local.INFO: GPS data processed {"connection_id":155162,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:06:44] local.INFO: Acknowledgment sent {"connection_id":155162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:06:46] local.INFO: TCP Data received {"connection_id":152851,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1401a90012d7b0fc005e302580004016118..."} 
[2026-08-11 20:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1401a90012d7b0fc005e302580004016118..."} 
[2026-08-11 20:06:46] local.INFO: Processing buffer {"connection_id":152851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1401a90012d7b0fc005e302580004016118..."} 
[2026-08-11 20:06:46] local.INFO: Packet analysis {"connection_id":152851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff140"} 
[2026-08-11 20:06:46] local.INFO: Extracted packet for processing {"connection_id":152851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff140"} 
[2026-08-11 20:06:46] local.INFO: GPS Element Parsed {"raw_longitude":763039680,"raw_latitude":98763352,"longitude_deg":76.303968,"latitude_deg":9.8763352,"altitude":4,"angle":353,"satellites":24,"speed":35,"hex_longitude":"2d7b0fc0","hex_latitude":"05e30258","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333485568001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117857982821171200,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591480487936,"note":"Value kept but may cause issues"} 
[2026-08-11 20:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786458938000,"timestamp_ms":1786458938000,"timestamp_seconds":1786458938,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1401a90"} 
[2026-08-11 20:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20: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-08-11 20: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 20:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20: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-08-11 20:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333485568001,"66":11852,"96":206,"85":15104,"24":35,"16":117857982821171200,"45":8868713591480487936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 20:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333485568001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:06:46] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 20:06:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117857982821171200,"km_value":117857982821171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591480487936,"description":"Unknown IO ID 45"} 
[2026-08-11 20:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333485568001,"power":11852,"unknown_96":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8868713591480487936}} 
[2026-08-11 20:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":152851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:06:46] local.INFO: GPS data processed {"connection_id":152851,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:06:46] local.INFO: Acknowledgment sent {"connection_id":152851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:07:03] local.INFO: TCP Data received {"connection_id":152441,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13fd058012d7d474005cc1f280006000a32..."} 
[2026-08-11 20:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13fd058012d7d474005cc1f280006000a32..."} 
[2026-08-11 20:07:03] local.INFO: Processing buffer {"connection_id":152441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13fd058012d7d474005cc1f280006000a32..."} 
[2026-08-11 20:07:03] local.INFO: Packet analysis {"connection_id":152441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13f"} 
[2026-08-11 20:07:03] local.INFO: Extracted packet for processing {"connection_id":152441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13f"} 
[2026-08-11 20:07:03] local.INFO: GPS Element Parsed {"raw_longitude":763184960,"raw_latitude":97263400,"longitude_deg":76.318496,"latitude_deg":9.72634,"altitude":6,"angle":10,"satellites":50,"speed":45,"hex_longitude":"2d7d4740","hex_latitude":"05cc1f28","is_valid_coordinates":true} 
[2026-08-11 20:07: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-08-11 20:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333481216001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378073073280090112,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784379987968,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:03] 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-08-11 20:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786458919000,"timestamp_ms":1786458919000,"timestamp_seconds":1786458919,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13fd058"} 
[2026-08-11 20:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:07: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 20:07:03] 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-08-11 20:07: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-08-11 20:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:07:03] 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-08-11 20:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333481216001,"66":27397,"129":206,"85":15104,"24":45,"16":378073073280090112,"45":9025424784379987968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-11 20:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333481216001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:07:03] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 20:07:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378073073280090112,"km_value":378073073280090.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784379987968,"description":"Unknown IO ID 45"} 
[2026-08-11 20:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333481216001,"power":27397,"unknown_129":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9025424784379987968}} 
[2026-08-11 20:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":152441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:07:03] local.INFO: GPS data processed {"connection_id":152441,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:07:03] local.INFO: Acknowledgment sent {"connection_id":152441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:07:08] local.INFO: TCP Data received {"connection_id":152852,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:07:08] local.INFO: Processing buffer {"connection_id":152852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:07:08] local.INFO: IMEI packet received {"connection_id":152852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":152852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:07:12] local.INFO: TCP Data received {"connection_id":152852,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:07:12] local.INFO: Processing buffer {"connection_id":152852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:07:12] local.INFO: IMEI packet received {"connection_id":152852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":152852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:07:13] local.INFO: TCP Data received {"connection_id":152852,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:07:13] local.INFO: Processing buffer {"connection_id":152852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:07:13] local.INFO: IMEI packet received {"connection_id":152852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":152852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:07:15] local.INFO: TCP Data received {"connection_id":155162,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13dc100012d19ce8007201828002b014923..."} 
[2026-08-11 20:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13dc100012d19ce8007201828002b014923..."} 
[2026-08-11 20:07:15] local.INFO: Processing buffer {"connection_id":155162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13dc100012d19ce8007201828002b014923..."} 
[2026-08-11 20:07:15] local.INFO: Packet analysis {"connection_id":155162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:07:15] local.INFO: Extracted packet for processing {"connection_id":155162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13d"} 
[2026-08-11 20:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543848,"longitude_deg":75.6665984,"latitude_deg":11.9543848,"altitude":43,"angle":329,"satellites":35,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201828","is_valid_coordinates":true} 
[2026-08-11 20:07: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-08-11 20:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333443328001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11877689107415040,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242173952,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:15] 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-08-11 20:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786458784000,"timestamp_ms":1786458784000,"timestamp_seconds":1786458784,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13dc100"} 
[2026-08-11 20:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:07:15] 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-08-11 20:07: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-11 20:07:15] 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-08-11 20:07: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-08-11 20:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333443328001,"66":13972,"101":206,"83":41984,"24":0,"16":11877689107415040,"45":1859564464242173952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 20:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333443328001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:07:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 20:07:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11877689107415040,"km_value":11877689107415.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242173952,"description":"Unknown IO ID 45"} 
[2026-08-11 20:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333443328001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242173952}} 
[2026-08-11 20:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":155162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:07:15] local.INFO: GPS data processed {"connection_id":155162,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:07:15] local.INFO: Acknowledgment sent {"connection_id":155162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:07:19] local.INFO: TCP Data received {"connection_id":153786,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:07:19] local.INFO: Processing buffer {"connection_id":153786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:07:19] local.INFO: IMEI packet received {"connection_id":153786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":153786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:07:19] local.INFO: TCP Data received {"connection_id":153786,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:07:19] local.INFO: Processing buffer {"connection_id":153786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:07:19] local.INFO: IMEI packet received {"connection_id":153786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":153786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:07:24] local.INFO: TCP Data received {"connection_id":153786,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:07:24] local.INFO: Processing buffer {"connection_id":153786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:07:24] local.INFO: IMEI packet received {"connection_id":153786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":153786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:07:24] local.INFO: TCP Data received {"connection_id":153786,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13ff380012d7d4f0005cc45780007000732..."} 
[2026-08-11 20:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13ff380012d7d4f0005cc45780007000732..."} 
[2026-08-11 20:07:24] local.INFO: Processing buffer {"connection_id":153786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13ff380012d7d4f0005cc45780007000732..."} 
[2026-08-11 20:07:24] local.INFO: Packet analysis {"connection_id":153786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13f"} 
[2026-08-11 20:07:24] local.INFO: Extracted packet for processing {"connection_id":153786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13f"} 
[2026-08-11 20:07:24] local.INFO: GPS Element Parsed {"raw_longitude":763186944,"raw_latitude":97273208,"longitude_deg":76.3186944,"latitude_deg":9.7273208,"altitude":7,"angle":7,"satellites":50,"speed":47,"hex_longitude":"2d7d4f00","hex_latitude":"05cc4578","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333483264001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378073558611394560,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027254371731056640,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:24] 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-08-11 20:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786458928000,"timestamp_ms":1786458928000,"timestamp_seconds":1786458928,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13ff380"} 
[2026-08-11 20:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 20:07: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-08-11 20: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-08-11 20:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:07:24] 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-08-11 20:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333483264001,"66":27332,"129":206,"85":15104,"24":47,"16":378073558611394560,"45":9027254371731056640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-11 20:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333483264001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:07:24] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 20:07:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378073558611394560,"km_value":378073558611394.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027254371731056640,"description":"Unknown IO ID 45"} 
[2026-08-11 20:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333483264001,"power":27332,"unknown_129":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9027254371731056640}} 
[2026-08-11 20:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":153786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:07:24] local.INFO: GPS data processed {"connection_id":153786,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:07:24] local.INFO: Acknowledgment sent {"connection_id":153786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:07:25] local.INFO: TCP Data received {"connection_id":152852,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1404d58012d7b08c005e32640000301601a..."} 
[2026-08-11 20:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1404d58012d7b08c005e32640000301601a..."} 
[2026-08-11 20:07:25] local.INFO: Processing buffer {"connection_id":152852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1404d58012d7b08c005e32640000301601a..."} 
[2026-08-11 20:07:25] local.INFO: Packet analysis {"connection_id":152852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff140"} 
[2026-08-11 20:07:25] local.INFO: Extracted packet for processing {"connection_id":152852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff140"} 
[2026-08-11 20:07:25] local.INFO: GPS Element Parsed {"raw_longitude":763037888,"raw_latitude":98772544,"longitude_deg":76.3037888,"latitude_deg":9.8772544,"altitude":3,"angle":352,"satellites":26,"speed":26,"hex_longitude":"2d7b08c0","hex_latitude":"05e32640","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333488128001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117858438087704576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867517322831747072,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786458951000,"timestamp_ms":1786458951000,"timestamp_seconds":1786458951,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1404d58"} 
[2026-08-11 20:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:07: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-08-11 20: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-11 20:07:25] 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-08-11 20: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-08-11 20:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333488128001,"66":12156,"96":206,"85":15104,"24":26,"16":117858438087704576,"45":8867517322831747072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 20:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333488128001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:07:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 20:07:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117858438087704576,"km_value":117858438087704.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867517322831747072,"description":"Unknown IO ID 45"} 
[2026-08-11 20:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333488128001,"power":12156,"unknown_96":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8867517322831747072}} 
[2026-08-11 20:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":152852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:07:25] local.INFO: GPS data processed {"connection_id":152852,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:07:25] local.INFO: Acknowledgment sent {"connection_id":152852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:07:27] local.INFO: TCP Data received {"connection_id":153786,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1400ed8012d7d528005cc68280008000533..."} 
[2026-08-11 20:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1400ed8012d7d528005cc68280008000533..."} 
[2026-08-11 20:07:27] local.INFO: Processing buffer {"connection_id":153786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1400ed8012d7d528005cc68280008000533..."} 
[2026-08-11 20:07:27] local.INFO: Packet analysis {"connection_id":153786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff140"} 
[2026-08-11 20:07:27] local.INFO: Extracted packet for processing {"connection_id":153786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff140"} 
[2026-08-11 20:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763187840,"raw_latitude":97282088,"longitude_deg":76.318784,"latitude_deg":9.7282088,"altitude":8,"angle":5,"satellites":51,"speed":53,"hex_longitude":"2d7d5280","hex_latitude":"05cc6828","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333485568001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378073992403091456,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029435802803075072,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:27] 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-08-11 20:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786458935000,"timestamp_ms":1786458935000,"timestamp_seconds":1786458935,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1400ed8"} 
[2026-08-11 20:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 20:07:27] 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-08-11 20: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-08-11 20:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":153786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":153786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":153786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:07:27] 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-08-11 20:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333485568001,"66":27300,"129":206,"85":15104,"24":53,"16":378073992403091456,"45":9029435802803075072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-11 20:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333485568001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:07:27] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 20:07:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378073992403091456,"km_value":378073992403091.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029435802803075072,"description":"Unknown IO ID 45"} 
[2026-08-11 20:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333485568001,"power":27300,"unknown_129":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9029435802803075072}} 
[2026-08-11 20:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":153786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:07:27] local.INFO: GPS data processed {"connection_id":153786,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:07:27] local.INFO: Acknowledgment sent {"connection_id":153786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:07:30] local.INFO: TCP Data received {"connection_id":152852,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1408020012d7b068005e349f80003015f1b..."} 
[2026-08-11 20:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1408020012d7b068005e349f80003015f1b..."} 
[2026-08-11 20:07:30] local.INFO: Processing buffer {"connection_id":152852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1408020012d7b068005e349f80003015f1b..."} 
[2026-08-11 20:07:30] local.INFO: Packet analysis {"connection_id":152852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff140"} 
[2026-08-11 20:07:30] local.INFO: Extracted packet for processing {"connection_id":152852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff140"} 
[2026-08-11 20:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763037312,"raw_latitude":98781688,"longitude_deg":76.3037312,"latitude_deg":9.8781688,"altitude":3,"angle":351,"satellites":27,"speed":20,"hex_longitude":"2d7b0680","hex_latitude":"05e349f8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333491456001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117858884764303360,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865546997997125632,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786458964000,"timestamp_ms":1786458964000,"timestamp_seconds":1786458964,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1408020"} 
[2026-08-11 20:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:07: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-08-11 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-11 20:07:30] 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-08-11 20:07: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-08-11 20:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333491456001,"66":12037,"97":206,"85":15104,"24":20,"16":117858884764303360,"45":8865546997997125632},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333491456001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:07:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117858884764303360,"km_value":117858884764303.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865546997997125632,"description":"Unknown IO ID 45"} 
[2026-08-11 20:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333491456001,"power":12037,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8865546997997125632}} 
[2026-08-11 20:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":152852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:07:30] local.INFO: GPS data processed {"connection_id":152852,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:07:30] local.INFO: Acknowledgment sent {"connection_id":152852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:07:38] local.INFO: TCP Data received {"connection_id":152442,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:07:38] local.INFO: Processing buffer {"connection_id":152442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:07:38] local.INFO: IMEI packet received {"connection_id":152442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":152442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:07:43] local.INFO: TCP Data received {"connection_id":152442,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:07:43] local.INFO: Processing buffer {"connection_id":152442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:07:43] local.INFO: IMEI packet received {"connection_id":152442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":152442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:07:44] local.INFO: TCP Data received {"connection_id":152442,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13e1308012d19ce8007201828002b014925..."} 
[2026-08-11 20:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13e1308012d19ce8007201828002b014925..."} 
[2026-08-11 20:07:44] local.INFO: Processing buffer {"connection_id":152442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13e1308012d19ce8007201828002b014925..."} 
[2026-08-11 20:07:44] local.INFO: Packet analysis {"connection_id":152442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13e"} 
[2026-08-11 20:07:44] local.INFO: Extracted packet for processing {"connection_id":152442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13e"} 
[2026-08-11 20:07:44] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543848,"longitude_deg":75.6665984,"latitude_deg":11.9543848,"altitude":43,"angle":329,"satellites":37,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201828","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333448704001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11877689107415040,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242173952,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:44] 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-08-11 20:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786458805000,"timestamp_ms":1786458805000,"timestamp_seconds":1786458805,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13e1308"} 
[2026-08-11 20:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:07:44] 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-08-11 20: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-11 20:07:44] 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-08-11 20: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-08-11 20:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333448704001,"66":14233,"101":206,"83":41984,"24":0,"16":11877689107415040,"45":1859564464242173952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 20:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333448704001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:07:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 20:07:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11877689107415040,"km_value":11877689107415.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242173952,"description":"Unknown IO ID 45"} 
[2026-08-11 20:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333448704001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242173952}} 
[2026-08-11 20:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":152442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:07:44] local.INFO: GPS data processed {"connection_id":152442,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:07:44] local.INFO: Acknowledgment sent {"connection_id":152442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:07:58] local.INFO: TCP Data received {"connection_id":153786,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1415310012d7d414005cdfc700009000231..."} 
[2026-08-11 20:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1415310012d7d414005cdfc700009000231..."} 
[2026-08-11 20:07:58] local.INFO: Processing buffer {"connection_id":153786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1415310012d7d414005cdfc700009000231..."} 
[2026-08-11 20:07:58] local.INFO: Packet analysis {"connection_id":153786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff141"} 
[2026-08-11 20:07:58] local.INFO: Extracted packet for processing {"connection_id":153786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff141"} 
[2026-08-11 20:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763183424,"raw_latitude":97385584,"longitude_deg":76.3183424,"latitude_deg":9.7385584,"altitude":9,"angle":2,"satellites":49,"speed":41,"hex_longitude":"2d7d4140","hex_latitude":"05cdfc70","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333506304001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378079021809795072,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309434570752,"note":"Value kept but may cause issues"} 
[2026-08-11 20:07:58] 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-08-11 20:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786459018000,"timestamp_ms":1786459018000,"timestamp_seconds":1786459018,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1415310"} 
[2026-08-11 20:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:07:58] 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-08-11 20: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-08-11 20:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":153786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":153786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":153786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:07:58] 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-08-11 20:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333506304001,"66":27376,"235":206,"85":15104,"24":41,"16":378079021809795072,"45":9025143309434570752},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-11 20:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333506304001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:07:58] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 20:07:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378079021809795072,"km_value":378079021809795.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309434570752,"description":"Unknown IO ID 45"} 
[2026-08-11 20:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333506304001,"power":27376,"unknown_235":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9025143309434570752}} 
[2026-08-11 20:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":153786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:07:58] local.INFO: GPS data processed {"connection_id":153786,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:07:58] local.INFO: Acknowledgment sent {"connection_id":153786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:08:08] local.INFO: TCP Data received {"connection_id":152853,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:08:08] local.INFO: Processing buffer {"connection_id":152853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:08:08] local.INFO: IMEI packet received {"connection_id":152853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":152853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:08:13] local.INFO: TCP Data received {"connection_id":152853,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:08:13] local.INFO: Processing buffer {"connection_id":152853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:08:13] local.INFO: IMEI packet received {"connection_id":152853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":152853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:08:15] local.INFO: TCP Data received {"connection_id":152853,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1408bd8012d7b04c005e34fc8000401541f..."} 
[2026-08-11 20:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1408bd8012d7b04c005e34fc8000401541f..."} 
[2026-08-11 20:08:15] local.INFO: Processing buffer {"connection_id":152853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1408bd8012d7b04c005e34fc8000401541f..."} 
[2026-08-11 20:08:15] local.INFO: Packet analysis {"connection_id":152853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff140"} 
[2026-08-11 20:08:15] local.INFO: Extracted packet for processing {"connection_id":152853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff140"} 
[2026-08-11 20:08:15] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98783176,"longitude_deg":76.3036864,"latitude_deg":9.8783176,"altitude":4,"angle":340,"satellites":31,"speed":20,"hex_longitude":"2d7b04c0","hex_latitude":"05e34fc8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333494784001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117858957778747392,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864913679301867520,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786458967000,"timestamp_ms":1786458967000,"timestamp_seconds":1786458967,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1408bd8"} 
[2026-08-11 20:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20: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-08-11 20: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 20:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2161727821305611264,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4047469160,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:15] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:15] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3128426503,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5633159595103551512,"corrected_to":0} 
[2026-08-11 20:08:15] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182182464979200,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:15] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2919288230,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:15] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3052994560,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2129349402555228134,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:15] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194833408,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:15] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,97,85,24,241,157,16,184,159,77,45,192,38,3,26,10,66,96,183,2,4,243,1,240,103,227,182,226,113,205,40,165,30,29,239,46,162,5,69],"length":484,"final_offset":614,"validated_count":39,"validation_warnings":[{"io_id":205,"original":5633159595103551512,"validated":0}]} 
[2026-08-11 20:08:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216558826660560896,"timestamp_seconds":216558826660560.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 20:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333494784001,"66":11721,"97":206,"85":15104,"24":20,"16":117858957778747392,"45":8864913679301867520},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333494784001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:08:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:08:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117858957778747392,"km_value":117858957778747.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864913679301867520,"description":"Unknown IO ID 45"} 
[2026-08-11 20:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333494784001,"power":11721,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8864913679301867520}} 
[2026-08-11 20:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":152853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:08:15] local.INFO: GPS data processed {"connection_id":152853,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:08:15] local.INFO: Acknowledgment sent {"connection_id":152853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:08:15] local.INFO: TCP Data received {"connection_id":152442,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13e6510012d19ce8007201828002b014921..."} 
[2026-08-11 20:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13e6510012d19ce8007201828002b014921..."} 
[2026-08-11 20:08:15] local.INFO: Processing buffer {"connection_id":152442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13e6510012d19ce8007201828002b014921..."} 
[2026-08-11 20:08:15] local.INFO: Packet analysis {"connection_id":152442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13e"} 
[2026-08-11 20:08:15] local.INFO: Extracted packet for processing {"connection_id":152442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13e"} 
[2026-08-11 20:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543848,"longitude_deg":75.6665984,"latitude_deg":11.9543848,"altitude":43,"angle":329,"satellites":33,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201828","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333454080001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11877689107415040,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242173952,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:15] 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-08-11 20:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786458826000,"timestamp_ms":1786458826000,"timestamp_seconds":1786458826,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13e6510"} 
[2026-08-11 20:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:08:15] 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-08-11 20: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-11 20:08:15] 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-08-11 20: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-08-11 20:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333454080001,"66":14265,"101":206,"83":41984,"24":0,"16":11877689107415040,"45":1859564464242173952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 20:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333454080001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:08:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 20:08:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11877689107415040,"km_value":11877689107415.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242173952,"description":"Unknown IO ID 45"} 
[2026-08-11 20:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333454080001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242173952}} 
[2026-08-11 20:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":152442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:08:15] local.INFO: GPS data processed {"connection_id":152442,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:08:15] local.INFO: Acknowledgment sent {"connection_id":152442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:08:18] local.INFO: TCP Data received {"connection_id":153787,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:08:18] local.INFO: Processing buffer {"connection_id":153787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:08:18] local.INFO: IMEI packet received {"connection_id":153787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":153787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:08:23] local.INFO: TCP Data received {"connection_id":153787,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:08:23] local.INFO: Processing buffer {"connection_id":153787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:08:23] local.INFO: IMEI packet received {"connection_id":153787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":153787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:08:24] local.INFO: TCP Data received {"connection_id":153787,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1417a20012d7d430005ce20400008000230..."} 
[2026-08-11 20:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1417a20012d7d430005ce20400008000230..."} 
[2026-08-11 20:08:24] local.INFO: Processing buffer {"connection_id":153787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1417a20012d7d430005ce20400008000230..."} 
[2026-08-11 20:08:24] local.INFO: Packet analysis {"connection_id":153787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff141"} 
[2026-08-11 20:08:24] local.INFO: Extracted packet for processing {"connection_id":153787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff141"} 
[2026-08-11 20:08:24] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97394752,"longitude_deg":76.3183872,"latitude_deg":9.7394752,"altitude":8,"angle":2,"satellites":48,"speed":26,"hex_longitude":"2d7d4300","hex_latitude":"05ce2040","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333508608001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378079468486393856,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565521902071808,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:24] 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-08-11 20:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786459028000,"timestamp_ms":1786459028000,"timestamp_seconds":1786459028,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1417a20"} 
[2026-08-11 20:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 20:08: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-08-11 20: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-08-11 20:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:08:24] 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-08-11 20:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333508608001,"66":27343,"235":206,"85":15104,"24":26,"16":378079468486393856,"45":9025565521902071808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-11 20:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333508608001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:08:24] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 20:08:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378079468486393856,"km_value":378079468486393.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565521902071808,"description":"Unknown IO ID 45"} 
[2026-08-11 20:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333508608001,"power":27343,"unknown_235":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9025565521902071808}} 
[2026-08-11 20:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":153787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:08:24] local.INFO: GPS data processed {"connection_id":153787,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:08:24] local.INFO: Acknowledgment sent {"connection_id":153787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:08:26] local.INFO: TCP Data received {"connection_id":153787,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff141a518012d7d450005ce43c80008000332..."} 
[2026-08-11 20:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff141a518012d7d450005ce43c80008000332..."} 
[2026-08-11 20:08:26] local.INFO: Processing buffer {"connection_id":153787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff141a518012d7d450005ce43c80008000332..."} 
[2026-08-11 20:08:26] local.INFO: Packet analysis {"connection_id":153787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff141"} 
[2026-08-11 20:08:26] local.INFO: Extracted packet for processing {"connection_id":153787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff141"} 
[2026-08-11 20:08:26] local.INFO: GPS Element Parsed {"raw_longitude":763184384,"raw_latitude":97403848,"longitude_deg":76.3184384,"latitude_deg":9.7403848,"altitude":8,"angle":3,"satellites":50,"speed":40,"hex_longitude":"2d7d4500","hex_latitude":"05ce43c8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333511168001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378079910868025344,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058103113662464,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:26] 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-08-11 20:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786459039000,"timestamp_ms":1786459039000,"timestamp_seconds":1786459039,"priority":1,"record_length":96,"hex_timestamp":"0000019ff141a518"} 
[2026-08-11 20:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 20:08:26] 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-08-11 20: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-08-11 20:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:08:26] 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-08-11 20:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333511168001,"66":27376,"235":206,"85":15104,"24":40,"16":378079910868025344,"45":9026058103113662464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-11 20:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333511168001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:08:26] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 20:08:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378079910868025344,"km_value":378079910868025.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058103113662464,"description":"Unknown IO ID 45"} 
[2026-08-11 20:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333511168001,"power":27376,"unknown_235":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9026058103113662464}} 
[2026-08-11 20:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":153787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:08:26] local.INFO: GPS data processed {"connection_id":153787,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:08:26] local.INFO: Acknowledgment sent {"connection_id":153787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:08:36] local.INFO: TCP Data received {"connection_id":155163,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:08:36] local.INFO: Processing buffer {"connection_id":155163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:08:36] local.INFO: IMEI packet received {"connection_id":155163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":155163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:08:38] local.INFO: TCP Data received {"connection_id":155163,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:08:38] local.INFO: Processing buffer {"connection_id":155163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:08:38] local.INFO: IMEI packet received {"connection_id":155163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":155163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:08:43] local.INFO: TCP Data received {"connection_id":155163,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:08:43] local.INFO: Processing buffer {"connection_id":155163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:08:43] local.INFO: IMEI packet received {"connection_id":155163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":155163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:08:44] local.INFO: TCP Data received {"connection_id":155163,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13eb718012d19ce8007201828002b014922..."} 
[2026-08-11 20:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13eb718012d19ce8007201828002b014922..."} 
[2026-08-11 20:08:44] local.INFO: Processing buffer {"connection_id":155163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13eb718012d19ce8007201828002b014922..."} 
[2026-08-11 20:08:44] local.INFO: Packet analysis {"connection_id":155163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13e"} 
[2026-08-11 20:08:44] local.INFO: Extracted packet for processing {"connection_id":155163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13e"} 
[2026-08-11 20:08:44] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543848,"longitude_deg":75.6665984,"latitude_deg":11.9543848,"altitude":43,"angle":329,"satellites":34,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201828","is_valid_coordinates":true} 
[2026-08-11 20:08: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-08-11 20:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333459456001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11877689107415040,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242173952,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:44] 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-08-11 20:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786458847000,"timestamp_ms":1786458847000,"timestamp_seconds":1786458847,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13eb718"} 
[2026-08-11 20:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:08:44] 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-08-11 20:08: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 20:08:44] 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-08-11 20:08: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-08-11 20:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333459456001,"66":14211,"101":206,"83":41984,"24":0,"16":11877689107415040,"45":1859564464242173952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 20:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333459456001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:08:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 20:08:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11877689107415040,"km_value":11877689107415.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242173952,"description":"Unknown IO ID 45"} 
[2026-08-11 20:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333459456001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242173952}} 
[2026-08-11 20:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":155163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:08:44] local.INFO: GPS data processed {"connection_id":155163,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:08:44] local.INFO: Acknowledgment sent {"connection_id":155163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:08:46] local.INFO: TCP Data received {"connection_id":152853,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:08:46] local.INFO: Processing buffer {"connection_id":152853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:08:46] local.INFO: Packet analysis {"connection_id":152853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:08:46] local.INFO: Extracted packet for processing {"connection_id":152853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:08:46] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98815592,"longitude_deg":76.3025024,"latitude_deg":9.8815592,"altitude":8,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d7ad680","hex_latitude":"05e3ce68","is_valid_coordinates":true} 
[2026-08-11 20:08: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-08-11 20:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333524480001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860684355600384,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880428435456,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786459101000,"timestamp_ms":1786459101000,"timestamp_seconds":1786459101,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1429748"} 
[2026-08-11 20:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:08:46] 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-08-11 20:08: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":7,"data_length":795,"current_offset":136} 
[2026-08-11 20:08:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:46] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4047617160,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788846,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-7363385360663041536,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-11 20:08:46] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3355520378,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:46] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4009807270,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:46] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3113746432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3820820480,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:46] local.WARNING: Large IO value detected {"io_id":54,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:46] local.WARNING: Large IO value detected {"io_id":65,"raw_value":8800034966729375749,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:46] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,97,85,24,241,157,16,185,159,243,45,192,206,8,40,10,66,235,128,207,231,1,240,27,227,4,113,205,7,219,220,39,239,46,2,162,5,9,28,54,65],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-11 20:08:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576726993031135232,"timestamp_seconds":576726993031135.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 20:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333524480001,"66":13189,"97":206,"85":15104,"24":0,"16":117860684355600384,"45":8851402880428435456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333524480001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:08:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860684355600384,"km_value":117860684355600.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880428435456,"description":"Unknown IO ID 45"} 
[2026-08-11 20:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333524480001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851402880428435456}} 
[2026-08-11 20:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":152853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:08:46] local.INFO: GPS data processed {"connection_id":152853,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:08:46] local.INFO: Acknowledgment sent {"connection_id":152853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:08:57] local.INFO: TCP Data received {"connection_id":153787,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff141c840012d7d470005ce67980009000231..."} 
[2026-08-11 20:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff141c840012d7d470005ce67980009000231..."} 
[2026-08-11 20:08:57] local.INFO: Processing buffer {"connection_id":153787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff141c840012d7d470005ce67980009000231..."} 
[2026-08-11 20:08:57] local.INFO: Packet analysis {"connection_id":153787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff141"} 
[2026-08-11 20:08:57] local.INFO: Extracted packet for processing {"connection_id":153787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff141"} 
[2026-08-11 20:08:57] local.INFO: GPS Element Parsed {"raw_longitude":763184896,"raw_latitude":97413016,"longitude_deg":76.3184896,"latitude_deg":9.7413016,"altitude":9,"angle":2,"satellites":49,"speed":41,"hex_longitude":"2d7d4700","hex_latitude":"05ce6798","is_valid_coordinates":true} 
[2026-08-11 20:08: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-08-11 20:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333513984001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378080353249656832,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026621053069412352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:08:57] 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-08-11 20:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786459048000,"timestamp_ms":1786459048000,"timestamp_seconds":1786459048,"priority":1,"record_length":96,"hex_timestamp":"0000019ff141c840"} 
[2026-08-11 20:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:08: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 20:08:57] 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-08-11 20:08: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-08-11 20:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:08:57] 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-08-11 20:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333513984001,"66":27376,"235":206,"85":15104,"24":41,"16":378080353249656832,"45":9026621053069412352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-11 20:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333513984001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:08:57] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 20:08:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378080353249656832,"km_value":378080353249656.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026621053069412352,"description":"Unknown IO ID 45"} 
[2026-08-11 20:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333513984001,"power":27376,"unknown_235":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9026621053069412352}} 
[2026-08-11 20:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":153787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:08:57] local.INFO: GPS data processed {"connection_id":153787,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:08:57] local.INFO: Acknowledgment sent {"connection_id":153787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:09:13] local.INFO: TCP Data received {"connection_id":152854,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:09:13] local.INFO: Processing buffer {"connection_id":152854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:09:13] local.INFO: IMEI packet received {"connection_id":152854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":152854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:09:15] local.INFO: TCP Data received {"connection_id":155163,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff13f0920012d19ce8007201828002b014924..."} 
[2026-08-11 20:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff13f0920012d19ce8007201828002b014924..."} 
[2026-08-11 20:09:15] local.INFO: Processing buffer {"connection_id":155163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff13f0920012d19ce8007201828002b014924..."} 
[2026-08-11 20:09:15] local.INFO: Packet analysis {"connection_id":155163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff13f"} 
[2026-08-11 20:09:15] local.INFO: Extracted packet for processing {"connection_id":155163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff13f"} 
[2026-08-11 20:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543848,"longitude_deg":75.6665984,"latitude_deg":11.9543848,"altitude":43,"angle":329,"satellites":36,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201828","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333464832001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11877689107415040,"note":"Value kept but may cause issues"} 
[2026-08-11 20:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242173952,"note":"Value kept but may cause issues"} 
[2026-08-11 20:09:15] 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-08-11 20:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786458868000,"timestamp_ms":1786458868000,"timestamp_seconds":1786458868,"priority":1,"record_length":96,"hex_timestamp":"0000019ff13f0920"} 
[2026-08-11 20:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:09:15] 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-08-11 20: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 20:09:15] 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-08-11 20: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-08-11 20:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333464832001,"66":14243,"101":206,"83":41984,"24":0,"16":11877689107415040,"45":1859564464242173952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 20:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333464832001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:09:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 20:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11877689107415040,"km_value":11877689107415.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242173952,"description":"Unknown IO ID 45"} 
[2026-08-11 20:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333464832001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242173952}} 
[2026-08-11 20:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":155163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:09:15] local.INFO: GPS data processed {"connection_id":155163,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:09:15] local.INFO: Acknowledgment sent {"connection_id":155163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:09:18] local.INFO: TCP Data received {"connection_id":152854,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:09:18] local.INFO: Processing buffer {"connection_id":152854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:09:18] local.INFO: IMEI packet received {"connection_id":152854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":152854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:09:19] local.INFO: TCP Data received {"connection_id":152855,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:09:19] local.INFO: Processing buffer {"connection_id":152855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:09:19] local.INFO: IMEI packet received {"connection_id":152855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":152855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:09:19] local.INFO: TCP Data received {"connection_id":152855,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:09:19] local.INFO: Processing buffer {"connection_id":152855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:09:19] local.INFO: IMEI packet received {"connection_id":152855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":152855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:09:20] local.INFO: TCP Data received {"connection_id":152854,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:09:20] local.INFO: Processing buffer {"connection_id":152854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:09:20] local.INFO: Packet analysis {"connection_id":152854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:09:20] local.INFO: Extracted packet for processing {"connection_id":152854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:09:20] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98815592,"longitude_deg":76.3025024,"latitude_deg":9.8815592,"altitude":8,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d7ad680","hex_latitude":"05e3ce68","is_valid_coordinates":true} 
[2026-08-11 20:09:20] 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-08-11 20:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333529856001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860684355600384,"note":"Value kept but may cause issues"} 
[2026-08-11 20:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880428435456,"note":"Value kept but may cause issues"} 
[2026-08-11 20:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786459101000,"timestamp_ms":1786459101000,"timestamp_seconds":1786459101,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1429748"} 
[2026-08-11 20:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:09: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-08-11 20:09: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 20:09:20] 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-08-11 20:09: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-08-11 20:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333529856001,"66":13189,"97":206,"85":15104,"24":0,"16":117860684355600384,"45":8851402880428435456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333529856001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:09:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:09:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860684355600384,"km_value":117860684355600.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880428435456,"description":"Unknown IO ID 45"} 
[2026-08-11 20:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333529856001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851402880428435456}} 
[2026-08-11 20:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":152854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:09:20] local.INFO: GPS data processed {"connection_id":152854,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:09:20] local.INFO: Acknowledgment sent {"connection_id":152854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:09:24] local.INFO: TCP Data received {"connection_id":152855,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:09:24] local.INFO: Processing buffer {"connection_id":152855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:09:24] local.INFO: IMEI packet received {"connection_id":152855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":152855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:09:24] local.INFO: TCP Data received {"connection_id":152855,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff141eb68012d7d494005ce8c98000b000432..."} 
[2026-08-11 20:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff141eb68012d7d494005ce8c98000b000432..."} 
[2026-08-11 20:09:24] local.INFO: Processing buffer {"connection_id":152855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff141eb68012d7d494005ce8c98000b000432..."} 
[2026-08-11 20:09:24] local.INFO: Packet analysis {"connection_id":152855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff141"} 
[2026-08-11 20:09:24] local.INFO: Extracted packet for processing {"connection_id":152855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff141"} 
[2026-08-11 20:09:24] local.INFO: GPS Element Parsed {"raw_longitude":763185472,"raw_latitude":97422488,"longitude_deg":76.3185472,"latitude_deg":9.7422488,"altitude":11,"angle":4,"satellites":50,"speed":41,"hex_longitude":"2d7d4940","hex_latitude":"05ce8c98","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333516288001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378080817106124800,"note":"Value kept but may cause issues"} 
[2026-08-11 20:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027184003025180672,"note":"Value kept but may cause issues"} 
[2026-08-11 20:09:24] 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-08-11 20:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786459057000,"timestamp_ms":1786459057000,"timestamp_seconds":1786459057,"priority":1,"record_length":96,"hex_timestamp":"0000019ff141eb68"} 
[2026-08-11 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-08-11 20:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 20:09: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-08-11 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-08-11 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-08-11 20:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:09:24] 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-08-11 20:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333516288001,"66":27397,"235":206,"85":15104,"24":41,"16":378080817106124800,"45":9027184003025180672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-11 20:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333516288001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:09:24] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 20:09:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378080817106124800,"km_value":378080817106124.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027184003025180672,"description":"Unknown IO ID 45"} 
[2026-08-11 20:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333516288001,"power":27397,"unknown_235":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9027184003025180672}} 
[2026-08-11 20:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":152855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:09:24] local.INFO: GPS data processed {"connection_id":152855,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:09:24] local.INFO: Acknowledgment sent {"connection_id":152855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:09:38] local.INFO: TCP Data received {"connection_id":155164,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:09:38] local.INFO: Processing buffer {"connection_id":155164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:09:38] local.INFO: IMEI packet received {"connection_id":155164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":155164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:09:39] local.INFO: TCP Data received {"connection_id":155164,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:09:39] local.INFO: Processing buffer {"connection_id":155164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:09:39] local.INFO: IMEI packet received {"connection_id":155164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":155164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:09:43] local.INFO: TCP Data received {"connection_id":155164,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:09:43] local.INFO: Processing buffer {"connection_id":155164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:09:43] local.INFO: IMEI packet received {"connection_id":155164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":155164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:09:44] local.INFO: TCP Data received {"connection_id":155164,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1428f78012d19ce8007201828002b01492a..."} 
[2026-08-11 20:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1428f78012d19ce8007201828002b01492a..."} 
[2026-08-11 20:09:44] local.INFO: Processing buffer {"connection_id":155164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1428f78012d19ce8007201828002b01492a..."} 
[2026-08-11 20:09:44] local.INFO: Packet analysis {"connection_id":155164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:09:44] local.INFO: Extracted packet for processing {"connection_id":155164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:09:44] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543848,"longitude_deg":75.6665984,"latitude_deg":11.9543848,"altitude":43,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201828","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333523968001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11877689107415040,"note":"Value kept but may cause issues"} 
[2026-08-11 20:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242173952,"note":"Value kept but may cause issues"} 
[2026-08-11 20:09:44] 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-08-11 20:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786459099000,"timestamp_ms":1786459099000,"timestamp_seconds":1786459099,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1428f78"} 
[2026-08-11 20:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:09:44] 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-08-11 20: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 20:09:44] 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-08-11 20: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-08-11 20:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333523968001,"66":14265,"101":206,"83":41984,"24":0,"16":11877689107415040,"45":1859564464242173952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 20:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333523968001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:09:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 20:09:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11877689107415040,"km_value":11877689107415.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242173952,"description":"Unknown IO ID 45"} 
[2026-08-11 20:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333523968001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242173952}} 
[2026-08-11 20:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":155164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:09:44] local.INFO: GPS data processed {"connection_id":155164,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:09:44] local.INFO: Acknowledgment sent {"connection_id":155164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:09:52] local.INFO: TCP Data received {"connection_id":152854,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:09:52] local.INFO: Processing buffer {"connection_id":152854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:09:52] local.INFO: Packet analysis {"connection_id":152854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:09:52] local.INFO: Extracted packet for processing {"connection_id":152854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:09:52] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98815592,"longitude_deg":76.3025024,"latitude_deg":9.8815592,"altitude":8,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d7ad680","hex_latitude":"05e3ce68","is_valid_coordinates":true} 
[2026-08-11 20:09:52] 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-08-11 20:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333529856001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860684355600384,"note":"Value kept but may cause issues"} 
[2026-08-11 20:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880428435456,"note":"Value kept but may cause issues"} 
[2026-08-11 20:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786459101000,"timestamp_ms":1786459101000,"timestamp_seconds":1786459101,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1429748"} 
[2026-08-11 20:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:09:52] 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-08-11 20: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 20:09:52] 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-08-11 20: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-08-11 20:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333529856001,"66":13189,"97":206,"85":15104,"24":0,"16":117860684355600384,"45":8851402880428435456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333529856001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:09:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:09:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860684355600384,"km_value":117860684355600.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880428435456,"description":"Unknown IO ID 45"} 
[2026-08-11 20:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333529856001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851402880428435456}} 
[2026-08-11 20:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":152854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:09:52] local.INFO: GPS data processed {"connection_id":152854,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:09:52] local.INFO: Acknowledgment sent {"connection_id":152854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:10:10] local.INFO: TCP Data received {"connection_id":155165,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:10:10] local.INFO: Processing buffer {"connection_id":155165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:10:10] local.INFO: IMEI packet received {"connection_id":155165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":155165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:10:13] local.INFO: TCP Data received {"connection_id":155165,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:10:13] local.INFO: Processing buffer {"connection_id":155165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:10:13] local.INFO: IMEI packet received {"connection_id":155165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":155165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:10:14] local.INFO: TCP Data received {"connection_id":155165,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:10:14] local.INFO: Processing buffer {"connection_id":155165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:10:14] local.INFO: Packet analysis {"connection_id":155165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:10:14] local.INFO: Extracted packet for processing {"connection_id":155165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:10:14] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98815592,"longitude_deg":76.3025024,"latitude_deg":9.8815592,"altitude":8,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d7ad680","hex_latitude":"05e3ce68","is_valid_coordinates":true} 
[2026-08-11 20:10:14] 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-08-11 20:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333529856001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860684355600384,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880428435456,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786459101000,"timestamp_ms":1786459101000,"timestamp_seconds":1786459101,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1429748"} 
[2026-08-11 20:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:10:14] 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-08-11 20:10: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 20:10:14] 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-08-11 20:10: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-08-11 20:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333529856001,"66":13189,"97":206,"85":15104,"24":0,"16":117860684355600384,"45":8851402880428435456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333529856001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:10:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:10:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860684355600384,"km_value":117860684355600.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880428435456,"description":"Unknown IO ID 45"} 
[2026-08-11 20:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333529856001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851402880428435456}} 
[2026-08-11 20:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":155165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:10:14] local.INFO: GPS data processed {"connection_id":155165,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:10:14] local.INFO: Acknowledgment sent {"connection_id":155165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:10:15] local.INFO: TCP Data received {"connection_id":155164,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff142e180012d19ce8007201828002b014929..."} 
[2026-08-11 20:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff142e180012d19ce8007201828002b014929..."} 
[2026-08-11 20:10:15] local.INFO: Processing buffer {"connection_id":155164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff142e180012d19ce8007201828002b014929..."} 
[2026-08-11 20:10:15] local.INFO: Packet analysis {"connection_id":155164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:10:15] local.INFO: Extracted packet for processing {"connection_id":155164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543848,"longitude_deg":75.6665984,"latitude_deg":11.9543848,"altitude":43,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201828","is_valid_coordinates":true} 
[2026-08-11 20:10: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-08-11 20:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333529344001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11877689107415040,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242173952,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:15] 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-08-11 20:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786459120000,"timestamp_ms":1786459120000,"timestamp_seconds":1786459120,"priority":1,"record_length":96,"hex_timestamp":"0000019ff142e180"} 
[2026-08-11 20:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:10:15] 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-08-11 20:10: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 20:10:15] 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-08-11 20:10: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-08-11 20:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333529344001,"66":14189,"101":206,"83":41984,"24":0,"16":11877689107415040,"45":1859564464242173952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 20:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333529344001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:10:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 20:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11877689107415040,"km_value":11877689107415.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242173952,"description":"Unknown IO ID 45"} 
[2026-08-11 20:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333529344001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242173952}} 
[2026-08-11 20:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":155164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:10:15] local.INFO: GPS data processed {"connection_id":155164,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:10:15] local.INFO: Acknowledgment sent {"connection_id":155164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:10:15] local.INFO: TCP Data received {"connection_id":152855,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1421278012d7d4ac005ceb130000c000032..."} 
[2026-08-11 20:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1421278012d7d4ac005ceb130000c000032..."} 
[2026-08-11 20:10:15] local.INFO: Processing buffer {"connection_id":152855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1421278012d7d4ac005ceb130000c000032..."} 
[2026-08-11 20:10:15] local.INFO: Packet analysis {"connection_id":152855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:10:15] local.INFO: Extracted packet for processing {"connection_id":152855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:10:15] local.INFO: GPS Element Parsed {"raw_longitude":763185856,"raw_latitude":97431856,"longitude_deg":76.3185856,"latitude_deg":9.7431856,"altitude":12,"angle":0,"satellites":50,"speed":28,"hex_longitude":"2d7d4ac0","hex_latitude":"05ceb130","is_valid_coordinates":true} 
[2026-08-11 20:10: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-08-11 20:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333518592001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378081272372658176,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027817321725204480,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:15] 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-08-11 20:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786459067000,"timestamp_ms":1786459067000,"timestamp_seconds":1786459067,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1421278"} 
[2026-08-11 20:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:10: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-08-11 20:10: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-08-11 20:10: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-08-11 20:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:10:15] 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-08-11 20:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333518592001,"66":27267,"235":206,"85":15104,"24":28,"16":378081272372658176,"45":9027817321725204480},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-11 20:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333518592001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:10:15] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-11 20:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378081272372658176,"km_value":378081272372658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027817321725204480,"description":"Unknown IO ID 45"} 
[2026-08-11 20:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333518592001,"power":27267,"unknown_235":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9027817321725204480}} 
[2026-08-11 20:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":152855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:10:15] local.INFO: GPS data processed {"connection_id":152855,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:10:15] local.INFO: Acknowledgment sent {"connection_id":152855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:10:18] local.INFO: TCP Data received {"connection_id":153788,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:10:18] local.INFO: Processing buffer {"connection_id":153788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:10:18] local.INFO: IMEI packet received {"connection_id":153788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":153788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:10:18] local.INFO: TCP Data received {"connection_id":155165,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:10:18] local.INFO: Processing buffer {"connection_id":155165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:10:18] local.INFO: Packet analysis {"connection_id":155165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:10:18] local.INFO: Extracted packet for processing {"connection_id":155165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:10:18] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98815592,"longitude_deg":76.3025024,"latitude_deg":9.8815592,"altitude":8,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d7ad680","hex_latitude":"05e3ce68","is_valid_coordinates":true} 
[2026-08-11 20:10:18] 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-08-11 20:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333529856001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860684355600384,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880428435456,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786459101000,"timestamp_ms":1786459101000,"timestamp_seconds":1786459101,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1429748"} 
[2026-08-11 20:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:10:18] 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-08-11 20:10: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 20:10:18] 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-08-11 20:10: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-08-11 20:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":155165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":155165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":155165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333529856001,"66":13189,"97":206,"85":15104,"24":0,"16":117860684355600384,"45":8851402880428435456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333529856001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:10:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:10:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860684355600384,"km_value":117860684355600.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880428435456,"description":"Unknown IO ID 45"} 
[2026-08-11 20:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333529856001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851402880428435456}} 
[2026-08-11 20:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":155165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:10:19] local.INFO: GPS data processed {"connection_id":155165,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:10:19] local.INFO: Acknowledgment sent {"connection_id":155165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:10:24] local.INFO: TCP Data received {"connection_id":153788,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:10:24] local.INFO: Processing buffer {"connection_id":153788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:10:24] local.INFO: IMEI packet received {"connection_id":153788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":153788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:10:24] local.INFO: TCP Data received {"connection_id":153788,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1437208012d7d494005d02dc80007000f32..."} 
[2026-08-11 20:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1437208012d7d494005d02dc80007000f32..."} 
[2026-08-11 20:10:24] local.INFO: Processing buffer {"connection_id":153788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1437208012d7d494005d02dc80007000f32..."} 
[2026-08-11 20:10:24] local.INFO: Packet analysis {"connection_id":153788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff143"} 
[2026-08-11 20:10:24] local.INFO: Extracted packet for processing {"connection_id":153788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff143"} 
[2026-08-11 20:10:24] local.INFO: GPS Element Parsed {"raw_longitude":763185472,"raw_latitude":97529288,"longitude_deg":76.3185472,"latitude_deg":9.7529288,"altitude":7,"angle":15,"satellites":50,"speed":10,"hex_longitude":"2d7d4940","hex_latitude":"05d02dc8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333543424001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378085996836683776,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027676584263911424,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:24] 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-08-11 20:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786459157000,"timestamp_ms":1786459157000,"timestamp_seconds":1786459157,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1437208"} 
[2026-08-11 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-08-11 20:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 20:10:24] 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-08-11 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-08-11 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-08-11 20:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:10:24] 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-08-11 20:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333543424001,"66":27365,"198":206,"85":15104,"24":10,"16":378085996836683776,"45":9027676584263911424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-11 20:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333543424001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:10:24] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 20:10:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378085996836683776,"km_value":378085996836683.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027676584263911424,"description":"Unknown IO ID 45"} 
[2026-08-11 20:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333543424001,"power":27365,"unknown_198":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9027676584263911424}} 
[2026-08-11 20:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":153788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:10:24] local.INFO: GPS data processed {"connection_id":153788,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:10:24] local.INFO: Acknowledgment sent {"connection_id":153788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:10:38] local.INFO: TCP Data received {"connection_id":153789,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:10:38] local.INFO: Processing buffer {"connection_id":153789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:10:38] local.INFO: IMEI packet received {"connection_id":153789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":153789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:10:38] local.INFO: TCP Data received {"connection_id":153789,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:10:38] local.INFO: Processing buffer {"connection_id":153789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:10:38] local.INFO: IMEI packet received {"connection_id":153789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":153789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:10:40] local.INFO: TCP Data received {"connection_id":153789,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:10:40] local.INFO: Processing buffer {"connection_id":153789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:10:40] local.INFO: IMEI packet received {"connection_id":153789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":153789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:10:43] local.INFO: TCP Data received {"connection_id":153789,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:10:43] local.INFO: Processing buffer {"connection_id":153789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:10:43] local.INFO: IMEI packet received {"connection_id":153789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":153789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:10:44] local.INFO: TCP Data received {"connection_id":153789,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1433388012d19ce8007201828002b01492b..."} 
[2026-08-11 20:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1433388012d19ce8007201828002b01492b..."} 
[2026-08-11 20:10:44] local.INFO: Processing buffer {"connection_id":153789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1433388012d19ce8007201828002b01492b..."} 
[2026-08-11 20:10:44] local.INFO: Packet analysis {"connection_id":153789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff143"} 
[2026-08-11 20:10:44] local.INFO: Extracted packet for processing {"connection_id":153789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff143"} 
[2026-08-11 20:10:44] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543848,"longitude_deg":75.6665984,"latitude_deg":11.9543848,"altitude":43,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"07201828","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333534720001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11877689107415040,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242173952,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:44] 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-08-11 20:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786459141000,"timestamp_ms":1786459141000,"timestamp_seconds":1786459141,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1433388"} 
[2026-08-11 20:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:10:44] 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-08-11 20: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 20:10:44] 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-08-11 20: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-08-11 20:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333534720001,"66":12526,"101":206,"83":41984,"24":0,"16":11877689107415040,"45":1859564464242173952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 20:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333534720001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:10:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 20:10:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11877689107415040,"km_value":11877689107415.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242173952,"description":"Unknown IO ID 45"} 
[2026-08-11 20:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333534720001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242173952}} 
[2026-08-11 20:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":153789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:10:44] local.INFO: GPS data processed {"connection_id":153789,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:10:44] local.INFO: Acknowledgment sent {"connection_id":153789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:10:50] local.INFO: TCP Data received {"connection_id":155165,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:10:50] local.INFO: Processing buffer {"connection_id":155165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:10:50] local.INFO: Packet analysis {"connection_id":155165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:10:50] local.INFO: Extracted packet for processing {"connection_id":155165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:10:50] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98815592,"longitude_deg":76.3025024,"latitude_deg":9.8815592,"altitude":8,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d7ad680","hex_latitude":"05e3ce68","is_valid_coordinates":true} 
[2026-08-11 20:10:50] 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-08-11 20:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333529856001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860684355600384,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880428435456,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786459101000,"timestamp_ms":1786459101000,"timestamp_seconds":1786459101,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1429748"} 
[2026-08-11 20:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:10:50] 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-08-11 20:10: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 20:10:50] 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-08-11 20:10: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-08-11 20:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":155165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":155165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":155165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333529856001,"66":13189,"97":206,"85":15104,"24":0,"16":117860684355600384,"45":8851402880428435456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333529856001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:10:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:10:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860684355600384,"km_value":117860684355600.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880428435456,"description":"Unknown IO ID 45"} 
[2026-08-11 20:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333529856001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851402880428435456}} 
[2026-08-11 20:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":155165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:10:50] local.INFO: GPS data processed {"connection_id":155165,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:10:50] local.INFO: Acknowledgment sent {"connection_id":155165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:10:56] local.INFO: TCP Data received {"connection_id":153788,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14381a8012d7d4ac005d033100007000332..."} 
[2026-08-11 20:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14381a8012d7d4ac005d033100007000332..."} 
[2026-08-11 20:10:56] local.INFO: Processing buffer {"connection_id":153788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14381a8012d7d4ac005d033100007000332..."} 
[2026-08-11 20:10:56] local.INFO: Packet analysis {"connection_id":153788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff143"} 
[2026-08-11 20:10:56] local.INFO: Extracted packet for processing {"connection_id":153788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff143"} 
[2026-08-11 20:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763185856,"raw_latitude":97530640,"longitude_deg":76.3185856,"latitude_deg":9.753064,"altitude":7,"angle":3,"satellites":50,"speed":19,"hex_longitude":"2d7d4ac0","hex_latitude":"05d03310","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333544192001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378086065556160512,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027817321752545280,"note":"Value kept but may cause issues"} 
[2026-08-11 20:10:56] 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-08-11 20:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786459161000,"timestamp_ms":1786459161000,"timestamp_seconds":1786459161,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14381a8"} 
[2026-08-11 20:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:10:56] 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-08-11 20: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-08-11 20:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:10:56] 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-08-11 20:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333544192001,"66":27343,"198":206,"85":15104,"24":19,"16":378086065556160512,"45":9027817321752545280},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-11 20:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333544192001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:10:56] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 20:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378086065556160512,"km_value":378086065556160.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027817321752545280,"description":"Unknown IO ID 45"} 
[2026-08-11 20:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333544192001,"power":27343,"unknown_198":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9027817321752545280}} 
[2026-08-11 20:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":153788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:10:56] local.INFO: GPS data processed {"connection_id":153788,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:10:56] local.INFO: Acknowledgment sent {"connection_id":153788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:11:08] local.INFO: TCP Data received {"connection_id":152856,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:11:08] local.INFO: Processing buffer {"connection_id":152856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:11:08] local.INFO: IMEI packet received {"connection_id":152856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":152856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:11:13] local.INFO: TCP Data received {"connection_id":152856,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:11:13] local.INFO: Processing buffer {"connection_id":152856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:11:13] local.INFO: IMEI packet received {"connection_id":152856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":152856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:11:15] local.INFO: TCP Data received {"connection_id":152856,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:11:15] local.INFO: Processing buffer {"connection_id":152856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:11:15] local.INFO: Packet analysis {"connection_id":152856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:11:15] local.INFO: Extracted packet for processing {"connection_id":152856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:11:15] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98815592,"longitude_deg":76.3025024,"latitude_deg":9.8815592,"altitude":8,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d7ad680","hex_latitude":"05e3ce68","is_valid_coordinates":true} 
[2026-08-11 20:11:15] 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-08-11 20:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333529856001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860684355600384,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880428435456,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786459101000,"timestamp_ms":1786459101000,"timestamp_seconds":1786459101,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1429748"} 
[2026-08-11 20:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:11:15] 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-08-11 20:11: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":133,"data_length":795,"current_offset":136} 
[2026-08-11 20:11:15] 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-08-11 20:11: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-08-11 20:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333529856001,"66":13189,"97":206,"85":15104,"24":0,"16":117860684355600384,"45":8851402880428435456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333529856001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:11:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:11:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860684355600384,"km_value":117860684355600.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880428435456,"description":"Unknown IO ID 45"} 
[2026-08-11 20:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333529856001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851402880428435456}} 
[2026-08-11 20:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":152856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:11:15] local.INFO: GPS data processed {"connection_id":152856,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:11:15] local.INFO: Acknowledgment sent {"connection_id":152856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:11:15] local.INFO: TCP Data received {"connection_id":153789,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1448f30012d19d440071ffd98002f00ee28..."} 
[2026-08-11 20:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1448f30012d19d440071ffd98002f00ee28..."} 
[2026-08-11 20:11:15] local.INFO: Processing buffer {"connection_id":153789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1448f30012d19d440071ffd98002f00ee28..."} 
[2026-08-11 20:11:15] local.INFO: Packet analysis {"connection_id":153789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff144"} 
[2026-08-11 20:11:15] local.INFO: Extracted packet for processing {"connection_id":153789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff144"} 
[2026-08-11 20:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119537048,"longitude_deg":75.6667456,"latitude_deg":11.9537048,"altitude":47,"angle":238,"satellites":40,"speed":16,"hex_longitude":"2d19d440","hex_latitude":"071ffd98","is_valid_coordinates":true} 
[2026-08-11 20:11: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-08-11 20:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333561344001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11878230273294336,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862731057728737280,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:15] 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-08-11 20:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786459230000,"timestamp_ms":1786459230000,"timestamp_seconds":1786459230,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1448f30"} 
[2026-08-11 20:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:11:15] 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-08-11 20:11: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-11 20:11:15] 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-08-11 20:11: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-08-11 20:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333561344001,"66":13580,"101":206,"83":41984,"24":16,"16":11878230273294336,"45":1862731057728737280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 20:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333561344001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:11:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 20:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11878230273294336,"km_value":11878230273294.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862731057728737280,"description":"Unknown IO ID 45"} 
[2026-08-11 20:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333561344001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1862731057728737280}} 
[2026-08-11 20:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":153789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:11:15] local.INFO: GPS data processed {"connection_id":153789,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:11:15] local.INFO: Acknowledgment sent {"connection_id":153789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:11:24] local.INFO: TCP Data received {"connection_id":155166,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:11:24] local.INFO: Processing buffer {"connection_id":155166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:11:24] local.INFO: IMEI packet received {"connection_id":155166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":155166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:11:25] local.INFO: TCP Data received {"connection_id":155166,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:11:25] local.INFO: Processing buffer {"connection_id":155166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:11:25] local.INFO: IMEI packet received {"connection_id":155166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":155166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:11:30] local.INFO: TCP Data received {"connection_id":155166,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1439530012d7d4a0005d03e580007016131..."} 
[2026-08-11 20:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1439530012d7d4a0005d03e580007016131..."} 
[2026-08-11 20:11:30] local.INFO: Processing buffer {"connection_id":155166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1439530012d7d4a0005d03e580007016131..."} 
[2026-08-11 20:11:30] local.INFO: Packet analysis {"connection_id":155166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff143"} 
[2026-08-11 20:11:30] local.INFO: Extracted packet for processing {"connection_id":155166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff143"} 
[2026-08-11 20:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":97533528,"longitude_deg":76.3185664,"latitude_deg":9.7533528,"altitude":7,"angle":353,"satellites":49,"speed":26,"hex_longitude":"2d7d4a00","hex_latitude":"05d03e58","is_valid_coordinates":true} 
[2026-08-11 20:11: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-08-11 20:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333545216001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378086207290081280,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028239534217957376,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:30] 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-08-11 20:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786459166000,"timestamp_ms":1786459166000,"timestamp_seconds":1786459166,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1439530"} 
[2026-08-11 20:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:11: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 20:11:30] 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-08-11 20:11: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-08-11 20:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":155166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":155166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":155166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:11:30] 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-08-11 20:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333545216001,"66":27071,"198":206,"85":15104,"24":26,"16":378086207290081280,"45":9028239534217957376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-11 20:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333545216001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:11:30] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 20:11:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378086207290081280,"km_value":378086207290081.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028239534217957376,"description":"Unknown IO ID 45"} 
[2026-08-11 20:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333545216001,"power":27071,"unknown_198":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9028239534217957376}} 
[2026-08-11 20:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":155166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:11:30] local.INFO: GPS data processed {"connection_id":155166,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:11:30] local.INFO: Acknowledgment sent {"connection_id":155166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:11:30] local.INFO: TCP Data received {"connection_id":155166,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff143c028012d7d46c005d063f00008016230..."} 
[2026-08-11 20:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff143c028012d7d46c005d063f00008016230..."} 
[2026-08-11 20:11:30] local.INFO: Processing buffer {"connection_id":155166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff143c028012d7d46c005d063f00008016230..."} 
[2026-08-11 20:11:30] local.INFO: Packet analysis {"connection_id":155166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff143"} 
[2026-08-11 20:11:30] local.INFO: Extracted packet for processing {"connection_id":155166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff143"} 
[2026-08-11 20:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763184832,"raw_latitude":97543152,"longitude_deg":76.3184832,"latitude_deg":9.7543152,"altitude":8,"angle":354,"satellites":48,"speed":40,"hex_longitude":"2d7d46c0","hex_latitude":"05d063f0","is_valid_coordinates":true} 
[2026-08-11 20:11: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-08-11 20:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333546496001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378086675441516544,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427986163712,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:30] 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-08-11 20:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786459177000,"timestamp_ms":1786459177000,"timestamp_seconds":1786459177,"priority":1,"record_length":96,"hex_timestamp":"0000019ff143c028"} 
[2026-08-11 20:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:11: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-11 20:11:30] 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-08-11 20:11: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-08-11 20:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":155166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":155166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":155166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:11:30] 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-08-11 20:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333546496001,"66":27343,"198":206,"85":15104,"24":40,"16":378086675441516544,"45":9028028427986163712},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-11 20:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333546496001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:11:30] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-11 20:11:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378086675441516544,"km_value":378086675441516.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427986163712,"description":"Unknown IO ID 45"} 
[2026-08-11 20:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333546496001,"power":27343,"unknown_198":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9028028427986163712}} 
[2026-08-11 20:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":155166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:11:30] local.INFO: GPS data processed {"connection_id":155166,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:11:30] local.INFO: Acknowledgment sent {"connection_id":155166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:11:41] local.INFO: TCP Data received {"connection_id":152857,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:11:41] local.INFO: Processing buffer {"connection_id":152857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:11:41] local.INFO: IMEI packet received {"connection_id":152857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":152857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:11:42] local.INFO: TCP Data received {"connection_id":152857,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:11:42] local.INFO: Processing buffer {"connection_id":152857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:11:42] local.INFO: IMEI packet received {"connection_id":152857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":152857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:11:43] local.INFO: TCP Data received {"connection_id":152857,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:11:43] local.INFO: Processing buffer {"connection_id":152857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:11:43] local.INFO: IMEI packet received {"connection_id":152857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":152857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:11:44] local.INFO: TCP Data received {"connection_id":152857,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:11:44] local.INFO: Processing buffer {"connection_id":152857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:11:44] local.INFO: IMEI packet received {"connection_id":152857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":152857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:11:44] local.INFO: TCP Data received {"connection_id":152857,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff144a2b8012d19cd80071ff8f0002d00d928..."} 
[2026-08-11 20:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff144a2b8012d19cd80071ff8f0002d00d928..."} 
[2026-08-11 20:11:44] local.INFO: Processing buffer {"connection_id":152857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff144a2b8012d19cd80071ff8f0002d00d928..."} 
[2026-08-11 20:11:44] local.INFO: Packet analysis {"connection_id":152857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff144"} 
[2026-08-11 20:11:44] local.INFO: Extracted packet for processing {"connection_id":152857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff144"} 
[2026-08-11 20:11:44] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119535856,"longitude_deg":75.6665728,"latitude_deg":11.9535856,"altitude":45,"angle":217,"satellites":40,"speed":17,"hex_longitude":"2d19cd80","hex_latitude":"071ff8f0","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333562880001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11878333352509440,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945356519424,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:44] 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-08-11 20:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786459235000,"timestamp_ms":1786459235000,"timestamp_seconds":1786459235,"priority":1,"record_length":96,"hex_timestamp":"0000019ff144a2b8"} 
[2026-08-11 20:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:11:44] 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-08-11 20: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-11 20:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751524402,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4047785160,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:44] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:44] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635300470093925,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-11 20:11:44] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:44] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3221692426,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:44] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292429367030189,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:44] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-2377892769026801618,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:44] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:44] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,51,159,119,45,192,2,47,41,10,66,108,4,40,96,128,1,240,78,227,32,113,205,8,80,223,248,239,52,42,7,46,6,25,164],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-11 20:11:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386968775349764096,"timestamp_seconds":3386968775349764.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 20:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333562880001,"66":13580,"101":206,"83":41984,"24":17,"16":11878333352509440,"45":1861182945356519424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 20:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333562880001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:11:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 20:11:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11878333352509440,"km_value":11878333352509.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945356519424,"description":"Unknown IO ID 45"} 
[2026-08-11 20:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333562880001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1861182945356519424}} 
[2026-08-11 20:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":152857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:11:45] local.INFO: GPS data processed {"connection_id":152857,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:11:45] local.INFO: Acknowledgment sent {"connection_id":152857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:11:45] local.INFO: TCP Data received {"connection_id":152857,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff144a6a0012d19cc80071ff760002c00c728..."} 
[2026-08-11 20:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff144a6a0012d19cc80071ff760002c00c728..."} 
[2026-08-11 20:11:45] local.INFO: Processing buffer {"connection_id":152857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff144a6a0012d19cc80071ff760002c00c728..."} 
[2026-08-11 20:11:45] local.INFO: Packet analysis {"connection_id":152857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff144"} 
[2026-08-11 20:11:45] local.INFO: Extracted packet for processing {"connection_id":152857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff144"} 
[2026-08-11 20:11:45] local.INFO: GPS Element Parsed {"raw_longitude":756665472,"raw_latitude":119535456,"longitude_deg":75.6665472,"latitude_deg":11.9535456,"altitude":44,"angle":199,"satellites":40,"speed":17,"hex_longitude":"2d19cc80","hex_latitude":"071ff760","is_valid_coordinates":true} 
[2026-08-11 20:11: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-08-11 20:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333564160001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11878354827345920,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989263417344,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:45] 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-08-11 20:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786459236000,"timestamp_ms":1786459236000,"timestamp_seconds":1786459236,"priority":1,"record_length":96,"hex_timestamp":"0000019ff144a6a0"} 
[2026-08-11 20:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:11:45] 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-08-11 20:11: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":12,"data_length":795,"current_offset":136} 
[2026-08-11 20:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751524402,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4047786160,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:45] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635300470093925,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-11 20:11:45] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:45] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093635870273965,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:45] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-2359878370527805394,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:45] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,51,159,143,45,64,253,47,40,10,66,119,192,2,41,108,1,240,198,227,32,4,113,205,11,88,223,144,39,239,52,42,7,46,5,25,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-11 20:11:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242830497529790464,"timestamp_seconds":3242830497529790.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 20:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333564160001,"66":13580,"101":206,"83":41984,"24":17,"16":11878354827345920,"45":1859282989263417344},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-11 20:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333564160001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:11:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-11 20:11:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11878354827345920,"km_value":11878354827345.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989263417344,"description":"Unknown IO ID 45"} 
[2026-08-11 20:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333564160001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1859282989263417344}} 
[2026-08-11 20:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":152857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:11:45] local.INFO: GPS data processed {"connection_id":152857,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:11:45] local.INFO: Acknowledgment sent {"connection_id":152857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:11:46] local.INFO: TCP Data received {"connection_id":152856,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:11:46] local.INFO: Processing buffer {"connection_id":152856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:11:46] local.INFO: Packet analysis {"connection_id":152856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:11:46] local.INFO: Extracted packet for processing {"connection_id":152856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:11:46] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98815592,"longitude_deg":76.3025024,"latitude_deg":9.8815592,"altitude":8,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d7ad680","hex_latitude":"05e3ce68","is_valid_coordinates":true} 
[2026-08-11 20:11:46] 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-08-11 20:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333529856001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860684355600384,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880428435456,"note":"Value kept but may cause issues"} 
[2026-08-11 20:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786459101000,"timestamp_ms":1786459101000,"timestamp_seconds":1786459101,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1429748"} 
[2026-08-11 20:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:11:46] 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-08-11 20:11: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 20:11:46] 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-08-11 20:11: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-08-11 20:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333529856001,"66":13189,"97":206,"85":15104,"24":0,"16":117860684355600384,"45":8851402880428435456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333529856001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:11:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860684355600384,"km_value":117860684355600.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880428435456,"description":"Unknown IO ID 45"} 
[2026-08-11 20:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333529856001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851402880428435456}} 
[2026-08-11 20:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":152856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:11:46] local.INFO: GPS data processed {"connection_id":152856,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:11:46] local.INFO: Acknowledgment sent {"connection_id":152856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:12:08] local.INFO: TCP Data received {"connection_id":152443,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:12:08] local.INFO: Processing buffer {"connection_id":152443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:12:08] local.INFO: IMEI packet received {"connection_id":152443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":152443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:12:09] local.INFO: TCP Data received {"connection_id":155166,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1450848012d7d284005d1ae900006015b31..."} 
[2026-08-11 20:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1450848012d7d284005d1ae900006015b31..."} 
[2026-08-11 20:12:09] local.INFO: Processing buffer {"connection_id":155166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1450848012d7d284005d1ae900006015b31..."} 
[2026-08-11 20:12:09] local.INFO: Packet analysis {"connection_id":155166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:12:09] local.INFO: Extracted packet for processing {"connection_id":155166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":97627792,"longitude_deg":76.3177024,"latitude_deg":9.7627792,"altitude":6,"angle":347,"satellites":49,"speed":25,"hex_longitude":"2d7d2840","hex_latitude":"05d1ae90","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333569792001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378090811495022592,"note":"Value kept but may cause issues"} 
[2026-08-11 20:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019724916196706304,"note":"Value kept but may cause issues"} 
[2026-08-11 20:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786459261000,"timestamp_ms":1786459261000,"timestamp_seconds":1786459261,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1450848"} 
[2026-08-11 20:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 20:12: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-08-11 20: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-08-11 20:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":155166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":155166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":155166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:12:09] 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-08-11 20:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333569792001,"66":27343,"23":206,"85":15104,"24":25,"16":378090811495022592,"45":9019724916196706304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-11 20:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333569792001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:12:09] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-11 20:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378090811495022592,"km_value":378090811495022.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019724916196706304,"description":"Unknown IO ID 45"} 
[2026-08-11 20:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333569792001,"power":27343,"unknown_23":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9019724916196706304}} 
[2026-08-11 20:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":155166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:12:09] local.INFO: GPS data processed {"connection_id":155166,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:12:09] local.INFO: Acknowledgment sent {"connection_id":155166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:12:13] local.INFO: TCP Data received {"connection_id":152443,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:12:13] local.INFO: Processing buffer {"connection_id":152443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:12:13] local.INFO: IMEI packet received {"connection_id":152443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":152443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:12:14] local.INFO: TCP Data received {"connection_id":152443,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:12:14] local.INFO: Processing buffer {"connection_id":152443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:12:14] local.INFO: Packet analysis {"connection_id":152443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:12:14] local.INFO: Extracted packet for processing {"connection_id":152443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:12:14] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98815592,"longitude_deg":76.3025024,"latitude_deg":9.8815592,"altitude":8,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d7ad680","hex_latitude":"05e3ce68","is_valid_coordinates":true} 
[2026-08-11 20:12:14] 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-08-11 20:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333529856001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860684355600384,"note":"Value kept but may cause issues"} 
[2026-08-11 20:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880428435456,"note":"Value kept but may cause issues"} 
[2026-08-11 20:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786459101000,"timestamp_ms":1786459101000,"timestamp_seconds":1786459101,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1429748"} 
[2026-08-11 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-08-11 20:12:14] 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-08-11 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 20:12:14] 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-08-11 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-08-11 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-08-11 20:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333529856001,"66":13189,"97":206,"85":15104,"24":0,"16":117860684355600384,"45":8851402880428435456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333529856001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:12:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:12:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860684355600384,"km_value":117860684355600.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880428435456,"description":"Unknown IO ID 45"} 
[2026-08-11 20:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333529856001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851402880428435456}} 
[2026-08-11 20:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":152443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:12:14] local.INFO: GPS data processed {"connection_id":152443,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:12:14] local.INFO: Acknowledgment sent {"connection_id":152443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:12:16] local.INFO: TCP Data received {"connection_id":152857,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14571c0012d198200071fee18003800e328..."} 
[2026-08-11 20:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14571c0012d198200071fee18003800e328..."} 
[2026-08-11 20:12:16] local.INFO: Processing buffer {"connection_id":152857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14571c0012d198200071fee18003800e328..."} 
[2026-08-11 20:12:16] local.INFO: Packet analysis {"connection_id":152857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:12:16] local.INFO: Extracted packet for processing {"connection_id":152857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:12:16] local.INFO: GPS Element Parsed {"raw_longitude":756646400,"raw_latitude":119533080,"longitude_deg":75.66464,"latitude_deg":11.953308,"altitude":56,"angle":227,"satellites":40,"speed":15,"hex_longitude":"2d198200","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333577216001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879325489954816,"note":"Value kept but may cause issues"} 
[2026-08-11 20:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838805684707131392,"note":"Value kept but may cause issues"} 
[2026-08-11 20:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786459288000,"timestamp_ms":1786459288000,"timestamp_seconds":1786459288,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14571c0"} 
[2026-08-11 20:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:12:16] 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-08-11 20: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 20:12:16] 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-08-11 20: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-08-11 20:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333577216001,"66":12798,"102":206,"83":41984,"24":15,"16":11879325489954816,"45":1838805684707131392},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333577216001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:12:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:12:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879325489954816,"km_value":11879325489954.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838805684707131392,"description":"Unknown IO ID 45"} 
[2026-08-11 20:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333577216001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1838805684707131392}} 
[2026-08-11 20:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":152857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:12:16] local.INFO: GPS data processed {"connection_id":152857,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:12:16] local.INFO: Acknowledgment sent {"connection_id":152857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:12:19] local.INFO: TCP Data received {"connection_id":152858,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:12:19] local.INFO: Processing buffer {"connection_id":152858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:12:19] local.INFO: IMEI packet received {"connection_id":152858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":152858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:12:19] local.INFO: TCP Data received {"connection_id":152858,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:12:19] local.INFO: Processing buffer {"connection_id":152858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:12:19] local.INFO: IMEI packet received {"connection_id":152858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":152858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:12:24] local.INFO: TCP Data received {"connection_id":152858,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:12:24] local.INFO: Processing buffer {"connection_id":152858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:12:24] local.INFO: IMEI packet received {"connection_id":152858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":152858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:12:33] local.INFO: TCP Data received {"connection_id":152858,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1451018012d7d27c005d1b3b8000601662f..."} 
[2026-08-11 20:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1451018012d7d27c005d1b3b8000601662f..."} 
[2026-08-11 20:12:33] local.INFO: Processing buffer {"connection_id":152858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1451018012d7d27c005d1b3b8000601662f..."} 
[2026-08-11 20:12:33] local.INFO: Packet analysis {"connection_id":152858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:12:33] local.INFO: Extracted packet for processing {"connection_id":152858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763176896,"raw_latitude":97629112,"longitude_deg":76.3176896,"latitude_deg":9.7629112,"altitude":6,"angle":358,"satellites":47,"speed":27,"hex_longitude":"2d7d27c0","hex_latitude":"05d1b3b8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333570816001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378090875919532032,"note":"Value kept but may cause issues"} 
[2026-08-11 20:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647546310656,"note":"Value kept but may cause issues"} 
[2026-08-11 20:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786459263000,"timestamp_ms":1786459263000,"timestamp_seconds":1786459263,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1451018"} 
[2026-08-11 20:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 20:12: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-08-11 20: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-08-11 20:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:12:33] 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-08-11 20:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333570816001,"66":27397,"23":206,"85":15104,"24":27,"16":378090875919532032,"45":9018528647546310656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-11 20:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333570816001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:12:33] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-11 20:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378090875919532032,"km_value":378090875919532.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647546310656,"description":"Unknown IO ID 45"} 
[2026-08-11 20:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333570816001,"power":27397,"unknown_23":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9018528647546310656}} 
[2026-08-11 20:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":152858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:12:33] local.INFO: GPS data processed {"connection_id":152858,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:12:33] local.INFO: Acknowledgment sent {"connection_id":152858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:12:35] local.INFO: TCP Data received {"connection_id":153790,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:12:35] local.INFO: Processing buffer {"connection_id":153790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:12:35] local.INFO: IMEI packet received {"connection_id":153790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":153790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:12:36] local.INFO: TCP Data received {"connection_id":153790,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 20:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153790,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 20:12:36] local.INFO: Processing buffer {"connection_id":153790,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 20:12:36] local.INFO: IMEI packet received {"connection_id":153790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":153790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:12:38] local.INFO: TCP Data received {"connection_id":153790,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:12:38] local.INFO: Processing buffer {"connection_id":153790,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 20:12:38] local.INFO: IMEI packet received {"connection_id":153790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":153790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:12:45] local.INFO: TCP Data received {"connection_id":152443,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:12:45] local.INFO: Processing buffer {"connection_id":152443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:12:45] local.INFO: Packet analysis {"connection_id":152443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:12:45] local.INFO: Extracted packet for processing {"connection_id":152443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:12:45] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98815592,"longitude_deg":76.3025024,"latitude_deg":9.8815592,"altitude":8,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d7ad680","hex_latitude":"05e3ce68","is_valid_coordinates":true} 
[2026-08-11 20:12:45] 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-08-11 20:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333529856001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860684355600384,"note":"Value kept but may cause issues"} 
[2026-08-11 20:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880428435456,"note":"Value kept but may cause issues"} 
[2026-08-11 20:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786459101000,"timestamp_ms":1786459101000,"timestamp_seconds":1786459101,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1429748"} 
[2026-08-11 20:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:12:45] 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-08-11 20:12: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 20:12:45] 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-08-11 20:12: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-08-11 20:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333529856001,"66":13189,"97":206,"85":15104,"24":0,"16":117860684355600384,"45":8851402880428435456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333529856001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:12:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:12:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860684355600384,"km_value":117860684355600.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880428435456,"description":"Unknown IO ID 45"} 
[2026-08-11 20:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333529856001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851402880428435456}} 
[2026-08-11 20:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":152443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:12:45] local.INFO: GPS data processed {"connection_id":152443,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:12:45] local.INFO: Acknowledgment sent {"connection_id":152443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:13:08] local.INFO: TCP Data received {"connection_id":155167,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:13:08] local.INFO: Processing buffer {"connection_id":155167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:13:08] local.INFO: IMEI packet received {"connection_id":155167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":155167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:13:13] local.INFO: TCP Data received {"connection_id":155167,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:13:13] local.INFO: Processing buffer {"connection_id":155167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:13:13] local.INFO: IMEI packet received {"connection_id":155167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":155167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:13:14] local.INFO: TCP Data received {"connection_id":155167,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:13:14] local.INFO: Processing buffer {"connection_id":155167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1429748012d7ad68005e3ce68000800f225..."} 
[2026-08-11 20:13:14] local.INFO: Packet analysis {"connection_id":155167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:13:14] local.INFO: Extracted packet for processing {"connection_id":155167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff142"} 
[2026-08-11 20:13:14] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98815592,"longitude_deg":76.3025024,"latitude_deg":9.8815592,"altitude":8,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d7ad680","hex_latitude":"05e3ce68","is_valid_coordinates":true} 
[2026-08-11 20:13:14] 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-08-11 20:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333529856001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860684355600384,"note":"Value kept but may cause issues"} 
[2026-08-11 20:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880428435456,"note":"Value kept but may cause issues"} 
[2026-08-11 20:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786459101000,"timestamp_ms":1786459101000,"timestamp_seconds":1786459101,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1429748"} 
[2026-08-11 20:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:13:14] 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-08-11 20:13: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 20:13:14] 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-08-11 20:13: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-08-11 20:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333529856001,"66":13189,"97":206,"85":15104,"24":0,"16":117860684355600384,"45":8851402880428435456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333529856001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:13:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:13:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860684355600384,"km_value":117860684355600.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880428435456,"description":"Unknown IO ID 45"} 
[2026-08-11 20:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333529856001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851402880428435456}} 
[2026-08-11 20:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":155167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:13:14] local.INFO: GPS data processed {"connection_id":155167,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:13:14] local.INFO: Acknowledgment sent {"connection_id":155167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:13:19] local.INFO: TCP Data received {"connection_id":155168,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:13:19] local.INFO: Processing buffer {"connection_id":155168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:13:19] local.INFO: IMEI packet received {"connection_id":155168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":155168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:13:23] local.INFO: TCP Data received {"connection_id":155168,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:13:23] local.INFO: Processing buffer {"connection_id":155168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:13:23] local.INFO: IMEI packet received {"connection_id":155168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":155168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:13:23] local.INFO: TCP Data received {"connection_id":155168,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1453ef8012d7d250005d1d9300006016330..."} 
[2026-08-11 20:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1453ef8012d7d250005d1d9300006016330..."} 
[2026-08-11 20:13:23] local.INFO: Processing buffer {"connection_id":155168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1453ef8012d7d250005d1d9300006016330..."} 
[2026-08-11 20:13:23] local.INFO: Packet analysis {"connection_id":155168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:13:23] local.INFO: Extracted packet for processing {"connection_id":155168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:13:23] local.INFO: GPS Element Parsed {"raw_longitude":763176192,"raw_latitude":97638704,"longitude_deg":76.3176192,"latitude_deg":9.7638704,"altitude":6,"angle":355,"satellites":48,"speed":33,"hex_longitude":"2d7d2500","hex_latitude":"05d1d930","is_valid_coordinates":true} 
[2026-08-11 20:13: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-08-11 20:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333571328001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378091339776000000,"note":"Value kept but may cause issues"} 
[2026-08-11 20:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387910058293248,"note":"Value kept but may cause issues"} 
[2026-08-11 20:13:23] 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-08-11 20:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786459275000,"timestamp_ms":1786459275000,"timestamp_seconds":1786459275,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1453ef8"} 
[2026-08-11 20:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:13: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 20:13:23] 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-08-11 20:13: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-08-11 20:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":155168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":155168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":155168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:13:23] 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-08-11 20:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333571328001,"66":27267,"197":206,"85":15104,"24":33,"16":378091339776000000,"45":9018387910058293248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-11 20:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333571328001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:13:23] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 20:13:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378091339776000000,"km_value":378091339776000,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387910058293248,"description":"Unknown IO ID 45"} 
[2026-08-11 20:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333571328001,"power":27267,"unknown_197":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9018387910058293248}} 
[2026-08-11 20:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":155168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:13:23] local.INFO: GPS data processed {"connection_id":155168,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:13:23] local.INFO: Acknowledgment sent {"connection_id":155168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:13:45] local.INFO: TCP Data received {"connection_id":155167,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14732f8012d7ad74005e3ce50000800f228..."} 
[2026-08-11 20:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14732f8012d7ad74005e3ce50000800f228..."} 
[2026-08-11 20:13:45] local.INFO: Processing buffer {"connection_id":155167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14732f8012d7ad74005e3ce50000800f228..."} 
[2026-08-11 20:13:45] local.INFO: Packet analysis {"connection_id":155167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff147"} 
[2026-08-11 20:13:45] local.INFO: Extracted packet for processing {"connection_id":155167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff147"} 
[2026-08-11 20:13:45] local.INFO: GPS Element Parsed {"raw_longitude":763025216,"raw_latitude":98815568,"longitude_deg":76.3025216,"latitude_deg":9.8815568,"altitude":8,"angle":242,"satellites":40,"speed":0,"hex_longitude":"2d7ad740","hex_latitude":"05e3ce50","is_valid_coordinates":true} 
[2026-08-11 20:13: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-08-11 20:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333529856001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860684355600384,"note":"Value kept but may cause issues"} 
[2026-08-11 20:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880428435456,"note":"Value kept but may cause issues"} 
[2026-08-11 20:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786459403000,"timestamp_ms":1786459403000,"timestamp_seconds":1786459403,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14732f8"} 
[2026-08-11 20:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:13:45] 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-08-11 20:13: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-11 20:13:45] 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-08-11 20:13: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-08-11 20:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333529856001,"66":12287,"97":206,"85":15104,"24":0,"16":117860684355600384,"45":8851402880428435456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333529856001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:13:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:13:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860684355600384,"km_value":117860684355600.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880428435456,"description":"Unknown IO ID 45"} 
[2026-08-11 20:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333529856001,"power":12287,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851402880428435456}} 
[2026-08-11 20:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":155167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:13:45] local.INFO: GPS data processed {"connection_id":155167,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:13:45] local.INFO: Acknowledgment sent {"connection_id":155167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:13:54] local.INFO: TCP Data received {"connection_id":155168,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1456dd8012d7d240005d1fce8000600012a..."} 
[2026-08-11 20:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1456dd8012d7d240005d1fce8000600012a..."} 
[2026-08-11 20:13:54] local.INFO: Processing buffer {"connection_id":155168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1456dd8012d7d240005d1fce8000600012a..."} 
[2026-08-11 20:13:54] local.INFO: Packet analysis {"connection_id":155168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:13:54] local.INFO: Extracted packet for processing {"connection_id":155168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763175936,"raw_latitude":97647848,"longitude_deg":76.3175936,"latitude_deg":9.7647848,"altitude":6,"angle":1,"satellites":42,"speed":29,"hex_longitude":"2d7d2400","hex_latitude":"05d1fce8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333574400001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378091786452598784,"note":"Value kept but may cause issues"} 
[2026-08-11 20:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017613853874794496,"note":"Value kept but may cause issues"} 
[2026-08-11 20:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786459287000,"timestamp_ms":1786459287000,"timestamp_seconds":1786459287,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1456dd8"} 
[2026-08-11 20:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 20:13:54] 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-08-11 20: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-08-11 20:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":155168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":155168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":155168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:13:54] 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-08-11 20:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333574400001,"66":27376,"23":206,"85":15104,"24":29,"16":378091786452598784,"45":9017613853874794496},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-11 20:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333574400001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:13:54] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-11 20:13:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378091786452598784,"km_value":378091786452598.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017613853874794496,"description":"Unknown IO ID 45"} 
[2026-08-11 20:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333574400001,"power":27376,"unknown_23":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9017613853874794496}} 
[2026-08-11 20:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":155168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:13:54] local.INFO: GPS data processed {"connection_id":155168,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:13:54] local.INFO: Acknowledgment sent {"connection_id":155168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:14:18] local.INFO: TCP Data received {"connection_id":152444,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:14:18] local.INFO: Processing buffer {"connection_id":152444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:14:18] local.INFO: IMEI packet received {"connection_id":152444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":152444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:14:27] local.INFO: TCP Data received {"connection_id":152444,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:14:27] local.INFO: Processing buffer {"connection_id":152444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:14:27] local.INFO: IMEI packet received {"connection_id":152444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":152444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:14:28] local.INFO: TCP Data received {"connection_id":152444,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:14:28] local.INFO: Processing buffer {"connection_id":152444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:14:28] local.INFO: IMEI packet received {"connection_id":152444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":152444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:14:29] local.INFO: TCP Data received {"connection_id":152444,"ip":"42.106.6.23","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ff1..."} 
[2026-08-11 20:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152444,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ff1..."} 
[2026-08-11 20:14:29] local.INFO: Processing buffer {"connection_id":152444,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ff1..."} 
[2026-08-11 20:14:29] local.INFO: IMEI packet received {"connection_id":152444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":152444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:14:34] local.INFO: TCP Data received {"connection_id":152444,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff145db38012d7d2e8005d248280005000a2e..."} 
[2026-08-11 20:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff145db38012d7d2e8005d248280005000a2e..."} 
[2026-08-11 20:14:34] local.INFO: Processing buffer {"connection_id":152444,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ff145a488012d7d288005d22488000500092c..."} 
[2026-08-11 20:14:34] local.INFO: Packet analysis {"connection_id":152444,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:14:34] local.INFO: Extracted packet for processing {"connection_id":152444,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":97657992,"longitude_deg":76.3177088,"latitude_deg":9.7657992,"altitude":5,"angle":9,"satellites":44,"speed":28,"hex_longitude":"2d7d2880","hex_latitude":"05d22488","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333577472001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378092280373837824,"note":"Value kept but may cause issues"} 
[2026-08-11 20:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017332378900424704,"note":"Value kept but may cause issues"} 
[2026-08-11 20:14:34] 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-08-11 20:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786459301000,"timestamp_ms":1786459301000,"timestamp_seconds":1786459301,"priority":1,"record_length":96,"hex_timestamp":"0000019ff145a488"} 
[2026-08-11 20:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 20:14: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-08-11 20: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-08-11 20:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:14:34] 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-08-11 20:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333577472001,"66":27213,"117":206,"85":15104,"24":28,"16":378092280373837824,"45":9017332378900424704},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-11 20:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333577472001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:14:34] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 20:14:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378092280373837824,"km_value":378092280373837.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017332378900424704,"description":"Unknown IO ID 45"} 
[2026-08-11 20:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333577472001,"power":27213,"unknown_117":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9017332378900424704}} 
[2026-08-11 20:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":152444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:14:34] local.INFO: GPS data processed {"connection_id":152444,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:14:34] local.INFO: Acknowledgment sent {"connection_id":152444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:14:34] local.INFO: Packet analysis {"connection_id":152444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:14:34] local.INFO: Extracted packet for processing {"connection_id":152444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763178624,"raw_latitude":97667112,"longitude_deg":76.3178624,"latitude_deg":9.7667112,"altitude":5,"angle":10,"satellites":46,"speed":24,"hex_longitude":"2d7d2e80","hex_latitude":"05d24828","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333581056001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378092731345403904,"note":"Value kept but may cause issues"} 
[2026-08-11 20:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016298219520,"note":"Value kept but may cause issues"} 
[2026-08-11 20:14:34] 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-08-11 20:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786459315000,"timestamp_ms":1786459315000,"timestamp_seconds":1786459315,"priority":1,"record_length":96,"hex_timestamp":"0000019ff145db38"} 
[2026-08-11 20:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 20:14:34] 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-08-11 20: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-08-11 20:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:14:34] 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-08-11 20:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333581056001,"66":27484,"117":206,"85":15104,"24":24,"16":378092731345403904,"45":9018599016298219520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-11 20:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333581056001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:14:34] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-11 20:14:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378092731345403904,"km_value":378092731345403.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016298219520,"description":"Unknown IO ID 45"} 
[2026-08-11 20:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333581056001,"power":27484,"unknown_117":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9018599016298219520}} 
[2026-08-11 20:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":152444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:14:34] local.INFO: GPS data processed {"connection_id":152444,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:14:34] local.INFO: Acknowledgment sent {"connection_id":152444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:15:24] local.INFO: TCP Data received {"connection_id":155169,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:15:24] local.INFO: Processing buffer {"connection_id":155169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:15:24] local.INFO: IMEI packet received {"connection_id":155169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":155169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:15:27] local.INFO: TCP Data received {"connection_id":155169,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:15:27] local.INFO: Processing buffer {"connection_id":155169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:15:27] local.INFO: IMEI packet received {"connection_id":155169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":155169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:15:28] local.INFO: TCP Data received {"connection_id":155169,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff147e6a8012d7d374005d348c0000301662b..."} 
[2026-08-11 20:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff147e6a8012d7d374005d348c0000301662b..."} 
[2026-08-11 20:15:28] local.INFO: Processing buffer {"connection_id":155169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff147e6a8012d7d374005d348c0000301662b..."} 
[2026-08-11 20:15:28] local.INFO: Packet analysis {"connection_id":155169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff147"} 
[2026-08-11 20:15:28] local.INFO: Extracted packet for processing {"connection_id":155169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff147"} 
[2026-08-11 20:15:28] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":97732800,"longitude_deg":76.3180864,"latitude_deg":9.77328,"altitude":3,"angle":358,"satellites":43,"speed":45,"hex_longitude":"2d7d3740","hex_latitude":"05d348c0","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333616384001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378095948275908608,"note":"Value kept but may cause issues"} 
[2026-08-11 20:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821140965646336,"note":"Value kept but may cause issues"} 
[2026-08-11 20:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786459449000,"timestamp_ms":1786459449000,"timestamp_seconds":1786459449,"priority":1,"record_length":96,"hex_timestamp":"0000019ff147e6a8"} 
[2026-08-11 20:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 20:15:28] 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-08-11 20: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-08-11 20:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":155169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":155169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":155169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:15:28] 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-08-11 20:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333616384001,"66":27104,"81":206,"85":15104,"24":45,"16":378095948275908608,"45":9022821140965646336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-11 20:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333616384001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:15:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-11 20:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378095948275908608,"km_value":378095948275908.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821140965646336,"description":"Unknown IO ID 45"} 
[2026-08-11 20:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333616384001,"power":27104,"unknown_81":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9022821140965646336}} 
[2026-08-11 20:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":155169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:15:28] local.INFO: GPS data processed {"connection_id":155169,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:15:28] local.INFO: Acknowledgment sent {"connection_id":155169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:15:29] local.INFO: TCP Data received {"connection_id":155169,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14805e8012d7d35c005d36dd0000101652a..."} 
[2026-08-11 20:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14805e8012d7d35c005d36dd0000101652a..."} 
[2026-08-11 20:15:29] local.INFO: Processing buffer {"connection_id":155169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14805e8012d7d35c005d36dd0000101652a..."} 
[2026-08-11 20:15:29] local.INFO: Packet analysis {"connection_id":155169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff148"} 
[2026-08-11 20:15:29] local.INFO: Extracted packet for processing {"connection_id":155169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff148"} 
[2026-08-11 20:15:29] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":97742288,"longitude_deg":76.318048,"latitude_deg":9.7742288,"altitude":1,"angle":357,"satellites":42,"speed":50,"hex_longitude":"2d7d35c0","hex_latitude":"05d36dd0","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333618944001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378096407837409280,"note":"Value kept but may cause issues"} 
[2026-08-11 20:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772223852544,"note":"Value kept but may cause issues"} 
[2026-08-11 20:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786459457000,"timestamp_ms":1786459457000,"timestamp_seconds":1786459457,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14805e8"} 
[2026-08-11 20:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-11 20:15:29] 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-08-11 20: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-08-11 20:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:15:29] 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-08-11 20:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333618944001,"66":27365,"81":206,"85":15104,"24":50,"16":378096407837409280,"45":9022750772223852544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-11 20:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333618944001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:15:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-11 20:15:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378096407837409280,"km_value":378096407837409.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772223852544,"description":"Unknown IO ID 45"} 
[2026-08-11 20:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333618944001,"power":27365,"unknown_81":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9022750772223852544}} 
[2026-08-11 20:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":155169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:15:29] local.INFO: GPS data processed {"connection_id":155169,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:15:29] local.INFO: Acknowledgment sent {"connection_id":155169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:16:00] local.INFO: TCP Data received {"connection_id":155169,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1482140012d7d34c005d391c8000000002a..."} 
[2026-08-11 20:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1482140012d7d34c005d391c8000000002a..."} 
[2026-08-11 20:16:00] local.INFO: Processing buffer {"connection_id":155169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1482140012d7d34c005d391c8000000002a..."} 
[2026-08-11 20:16:00] local.INFO: Packet analysis {"connection_id":155169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff148"} 
[2026-08-11 20:16:00] local.INFO: Extracted packet for processing {"connection_id":155169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff148"} 
[2026-08-11 20:16:00] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":97751496,"longitude_deg":76.3180224,"latitude_deg":9.7751496,"altitude":0,"angle":0,"satellites":42,"speed":52,"hex_longitude":"2d7d34c0","hex_latitude":"05d391c8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333620992001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378096854514008064,"note":"Value kept but may cause issues"} 
[2026-08-11 20:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328559761215488,"note":"Value kept but may cause issues"} 
[2026-08-11 20:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786459464000,"timestamp_ms":1786459464000,"timestamp_seconds":1786459464,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1482140"} 
[2026-08-11 20:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:16:00] 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-08-11 20: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-08-11 20:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":155169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":155169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":155169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:16:00] 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-08-11 20:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333620992001,"66":27365,"81":206,"85":15104,"24":52,"16":378096854514008064,"45":9022328559761215488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-11 20:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333620992001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:16:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-11 20:16:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378096854514008064,"km_value":378096854514008.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328559761215488,"description":"Unknown IO ID 45"} 
[2026-08-11 20:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333620992001,"power":27365,"unknown_81":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9022328559761215488}} 
[2026-08-11 20:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":155169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:16:00] local.INFO: GPS data processed {"connection_id":155169,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:16:00] local.INFO: Acknowledgment sent {"connection_id":155169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:16:23] local.INFO: TCP Data received {"connection_id":152861,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:16:23] local.INFO: Processing buffer {"connection_id":152861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:16:23] local.INFO: IMEI packet received {"connection_id":152861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":152861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:16:24] local.INFO: TCP Data received {"connection_id":152861,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:16:24] local.INFO: Processing buffer {"connection_id":152861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:16:24] local.INFO: IMEI packet received {"connection_id":152861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":152861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:16:34] local.INFO: TCP Data received {"connection_id":152861,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:16:34] local.INFO: Processing buffer {"connection_id":152861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:16:34] local.INFO: IMEI packet received {"connection_id":152861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":152861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:16:35] local.INFO: TCP Data received {"connection_id":152861,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1484080012d7d364005d3b680000000032b..."} 
[2026-08-11 20:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1484080012d7d364005d3b680000000032b..."} 
[2026-08-11 20:16:35] local.INFO: Processing buffer {"connection_id":152861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1484080012d7d364005d3b680000000032b..."} 
[2026-08-11 20:16:35] local.INFO: Packet analysis {"connection_id":152861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff148"} 
[2026-08-11 20:16:35] local.INFO: Extracted packet for processing {"connection_id":152861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff148"} 
[2026-08-11 20:16:35] local.INFO: GPS Element Parsed {"raw_longitude":763180608,"raw_latitude":97760896,"longitude_deg":76.3180608,"latitude_deg":9.7760896,"altitude":0,"angle":3,"satellites":43,"speed":39,"hex_longitude":"2d7d3640","hex_latitude":"05d3b680","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333622784001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378097309780541440,"note":"Value kept but may cause issues"} 
[2026-08-11 20:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047084786862080,"note":"Value kept but may cause issues"} 
[2026-08-11 20:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786459472000,"timestamp_ms":1786459472000,"timestamp_seconds":1786459472,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1484080"} 
[2026-08-11 20:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20: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-08-11 20: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-08-11 20:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:16: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-08-11 20:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333622784001,"66":27343,"81":206,"85":15104,"24":39,"16":378097309780541440,"45":9022047084786862080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-11 20:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333622784001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-11 20:16:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378097309780541440,"km_value":378097309780541.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047084786862080,"description":"Unknown IO ID 45"} 
[2026-08-11 20:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333622784001,"power":27343,"unknown_81":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9022047084786862080}} 
[2026-08-11 20:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":152861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:16:35] local.INFO: GPS data processed {"connection_id":152861,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:16:35] local.INFO: Acknowledgment sent {"connection_id":152861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:17:19] local.INFO: TCP Data received {"connection_id":155170,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:17:19] local.INFO: Processing buffer {"connection_id":155170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:17:19] local.INFO: IMEI packet received {"connection_id":155170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":155170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:17:23] local.INFO: TCP Data received {"connection_id":155170,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:17:23] local.INFO: Processing buffer {"connection_id":155170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:17:23] local.INFO: IMEI packet received {"connection_id":155170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":155170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:17:24] local.INFO: TCP Data received {"connection_id":155170,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff149a7e0012d7d23c005d578a80000015e27..."} 
[2026-08-11 20:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff149a7e0012d7d23c005d578a80000015e27..."} 
[2026-08-11 20:17:24] local.INFO: Processing buffer {"connection_id":155170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff149a7e0012d7d23c005d578a80000015e27..."} 
[2026-08-11 20:17:24] local.INFO: Packet analysis {"connection_id":155170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff149"} 
[2026-08-11 20:17:24] local.INFO: Extracted packet for processing {"connection_id":155170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff149"} 
[2026-08-11 20:17:24] local.INFO: GPS Element Parsed {"raw_longitude":763175872,"raw_latitude":97876136,"longitude_deg":76.3175872,"latitude_deg":9.7876136,"altitude":0,"angle":350,"satellites":39,"speed":45,"hex_longitude":"2d7d23c0","hex_latitude":"05d578a8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333646080001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378102927597764608,"note":"Value kept but may cause issues"} 
[2026-08-11 20:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387910118995968,"note":"Value kept but may cause issues"} 
[2026-08-11 20:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786459564000,"timestamp_ms":1786459564000,"timestamp_seconds":1786459564,"priority":1,"record_length":96,"hex_timestamp":"0000019ff149a7e0"} 
[2026-08-11 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-08-11 20:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 20:17:24] 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-08-11 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-08-11 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-08-11 20:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:17:24] 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-08-11 20:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333646080001,"66":27245,"29":206,"85":15104,"24":45,"16":378102927597764608,"45":9018387910118995968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-11 20:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333646080001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:17:24] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 20:17:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378102927597764608,"km_value":378102927597764.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387910118995968,"description":"Unknown IO ID 45"} 
[2026-08-11 20:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333646080001,"power":27245,"unknown_29":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9018387910118995968}} 
[2026-08-11 20:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":155170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:17:24] local.INFO: GPS data processed {"connection_id":155170,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:17:24] local.INFO: Acknowledgment sent {"connection_id":155170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:17:39] local.INFO: TCP Data received {"connection_id":152862,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:17:39] local.INFO: Processing buffer {"connection_id":152862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:17:39] local.INFO: IMEI packet received {"connection_id":152862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":152862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:17:43] local.INFO: TCP Data received {"connection_id":152862,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:17:43] local.INFO: Processing buffer {"connection_id":152862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:17:43] local.INFO: IMEI packet received {"connection_id":152862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":152862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:17:48] local.INFO: TCP Data received {"connection_id":152862,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:17:48] local.INFO: Processing buffer {"connection_id":152862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:17:48] local.INFO: IMEI packet received {"connection_id":152862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":152862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:17:49] local.INFO: TCP Data received {"connection_id":152862,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1457990012d197fc0071feca8003800f027..."} 
[2026-08-11 20:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1457990012d197fc0071feca8003800f027..."} 
[2026-08-11 20:17:49] local.INFO: Processing buffer {"connection_id":152862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1457990012d197fc0071feca8003800f027..."} 
[2026-08-11 20:17:49] local.INFO: Packet analysis {"connection_id":152862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:17:49] local.INFO: Extracted packet for processing {"connection_id":152862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:17:49] local.INFO: GPS Element Parsed {"raw_longitude":756645824,"raw_latitude":119532712,"longitude_deg":75.6645824,"latitude_deg":11.9532712,"altitude":56,"angle":240,"satellites":39,"speed":13,"hex_longitude":"2d197fc0","hex_latitude":"071feca8","is_valid_coordinates":true} 
[2026-08-11 20:17: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-08-11 20:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333577728001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879359849693184,"note":"Value kept but may cause issues"} 
[2026-08-11 20:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838031628521052160,"note":"Value kept but may cause issues"} 
[2026-08-11 20:17: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-08-11 20:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786459290000,"timestamp_ms":1786459290000,"timestamp_seconds":1786459290,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1457990"} 
[2026-08-11 20:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:17:49] 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-08-11 20:17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 20:17:49] 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-08-11 20:17: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-08-11 20:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333577728001,"66":12939,"102":206,"83":41984,"24":13,"16":11879359849693184,"45":1838031628521052160},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333577728001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:17:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:17:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879359849693184,"km_value":11879359849693.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838031628521052160,"description":"Unknown IO ID 45"} 
[2026-08-11 20:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333577728001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1838031628521052160}} 
[2026-08-11 20:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":152862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:17:49] local.INFO: GPS data processed {"connection_id":152862,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:17:49] local.INFO: Acknowledgment sent {"connection_id":152862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:17:53] local.INFO: TCP Data received {"connection_id":152862,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1458160012d197e00071febe0003800ff27..."} 
[2026-08-11 20:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1458160012d197e00071febe0003800ff27..."} 
[2026-08-11 20:17:53] local.INFO: Processing buffer {"connection_id":152862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1458160012d197e00071febe0003800ff27..."} 
[2026-08-11 20:17:53] local.INFO: Packet analysis {"connection_id":152862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:17:53] local.INFO: Extracted packet for processing {"connection_id":152862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:17:53] local.INFO: GPS Element Parsed {"raw_longitude":756645376,"raw_latitude":119532512,"longitude_deg":75.6645376,"latitude_deg":11.9532512,"altitude":56,"angle":255,"satellites":39,"speed":7,"hex_longitude":"2d197e00","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333578240001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879381324529664,"note":"Value kept but may cause issues"} 
[2026-08-11 20:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837398309823358976,"note":"Value kept but may cause issues"} 
[2026-08-11 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-08-11 20:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786459292000,"timestamp_ms":1786459292000,"timestamp_seconds":1786459292,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1458160"} 
[2026-08-11 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-08-11 20:17: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-08-11 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-11 20:17:53] 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-08-11 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-08-11 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-08-11 20:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333578240001,"66":12852,"102":206,"83":41984,"24":7,"16":11879381324529664,"45":1837398309823358976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333578240001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:17:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:17:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879381324529664,"km_value":11879381324529.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837398309823358976,"description":"Unknown IO ID 45"} 
[2026-08-11 20:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333578240001,"power":12852,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1837398309823358976}} 
[2026-08-11 20:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":152862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:17:53] local.INFO: GPS data processed {"connection_id":152862,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:17:53] local.INFO: Acknowledgment sent {"connection_id":152862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:17:55] local.INFO: TCP Data received {"connection_id":155170,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff149c720012d7d1a8005d59c980002015627..."} 
[2026-08-11 20:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff149c720012d7d1a8005d59c980002015627..."} 
[2026-08-11 20:17:55] local.INFO: Processing buffer {"connection_id":155170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff149c720012d7d1a8005d59c980002015627..."} 
[2026-08-11 20:17:55] local.INFO: Packet analysis {"connection_id":155170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff149"} 
[2026-08-11 20:17:55] local.INFO: Extracted packet for processing {"connection_id":155170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff149"} 
[2026-08-11 20:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763173504,"raw_latitude":97885336,"longitude_deg":76.3173504,"latitude_deg":9.7885336,"altitude":2,"angle":342,"satellites":39,"speed":46,"hex_longitude":"2d7d1a80","hex_latitude":"05d59c98","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333648384001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378103387159265280,"note":"Value kept but may cause issues"} 
[2026-08-11 20:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017262010214688768,"note":"Value kept but may cause issues"} 
[2026-08-11 20:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786459572000,"timestamp_ms":1786459572000,"timestamp_seconds":1786459572,"priority":1,"record_length":96,"hex_timestamp":"0000019ff149c720"} 
[2026-08-11 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-08-11 20:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 20:17:55] 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-08-11 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-08-11 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-08-11 20:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:17:55] 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-08-11 20:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333648384001,"66":27321,"29":206,"85":15104,"24":46,"16":378103387159265280,"45":9017262010214688768},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-11 20:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333648384001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:17:55] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-11 20:17:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378103387159265280,"km_value":378103387159265.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017262010214688768,"description":"Unknown IO ID 45"} 
[2026-08-11 20:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333648384001,"power":27321,"unknown_29":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9017262010214688768}} 
[2026-08-11 20:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":155170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:17:55] local.INFO: GPS data processed {"connection_id":155170,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:17:55] local.INFO: Acknowledgment sent {"connection_id":155170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:18:18] local.INFO: TCP Data received {"connection_id":152863,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:18:18] local.INFO: Processing buffer {"connection_id":152863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:18:18] local.INFO: IMEI packet received {"connection_id":152863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":152863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:18:19] local.INFO: TCP Data received {"connection_id":152863,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:18:19] local.INFO: Processing buffer {"connection_id":152863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:18:19] local.INFO: IMEI packet received {"connection_id":152863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":152863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:18:24] local.INFO: TCP Data received {"connection_id":152863,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:18:24] local.INFO: Processing buffer {"connection_id":152863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:18:24] local.INFO: IMEI packet received {"connection_id":152863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":152863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:18:24] local.INFO: TCP Data received {"connection_id":152863,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14af3e8012d7cc38005d72660000501552a..."} 
[2026-08-11 20:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14af3e8012d7cc38005d72660000501552a..."} 
[2026-08-11 20:18:24] local.INFO: Processing buffer {"connection_id":152863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14af3e8012d7cc38005d72660000501552a..."} 
[2026-08-11 20:18:24] local.INFO: Packet analysis {"connection_id":152863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14a"} 
[2026-08-11 20:18:24] local.INFO: Extracted packet for processing {"connection_id":152863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14a"} 
[2026-08-11 20:18:24] local.INFO: GPS Element Parsed {"raw_longitude":763151232,"raw_latitude":97986144,"longitude_deg":76.3151232,"latitude_deg":9.7986144,"altitude":5,"angle":341,"satellites":42,"speed":58,"hex_longitude":"2d7cc380","hex_latitude":"05d72660","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333668608001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378108416565968896,"note":"Value kept but may cause issues"} 
[2026-08-11 20:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993125530987728896,"note":"Value kept but may cause issues"} 
[2026-08-11 20:18:24] 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-08-11 20:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786459649000,"timestamp_ms":1786459649000,"timestamp_seconds":1786459649,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14af3e8"} 
[2026-08-11 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-08-11 20:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 20:18:24] 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-08-11 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-08-11 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-08-11 20:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:18:24] 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-08-11 20:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333668608001,"66":27365,"196":206,"85":15104,"24":58,"16":378108416565968896,"45":8993125530987728896},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-11 20:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333668608001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:18:24] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 20:18:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378108416565968896,"km_value":378108416565968.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993125530987728896,"description":"Unknown IO ID 45"} 
[2026-08-11 20:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333668608001,"power":27365,"unknown_196":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8993125530987728896}} 
[2026-08-11 20:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":152863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:18:24] local.INFO: GPS data processed {"connection_id":152863,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:18:24] local.INFO: Acknowledgment sent {"connection_id":152863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:18:38] local.INFO: TCP Data received {"connection_id":153791,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:18:38] local.INFO: Processing buffer {"connection_id":153791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:18:38] local.INFO: IMEI packet received {"connection_id":153791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":153791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:18:43] local.INFO: TCP Data received {"connection_id":153791,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:18:43] local.INFO: Processing buffer {"connection_id":153791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:18:43] local.INFO: IMEI packet received {"connection_id":153791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":153791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:18:44] local.INFO: TCP Data received {"connection_id":153791,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff145bbf8012d197ac0071feb800038010c29..."} 
[2026-08-11 20:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff145bbf8012d197ac0071feb800038010c29..."} 
[2026-08-11 20:18:44] local.INFO: Processing buffer {"connection_id":153791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff145bbf8012d197ac0071feb800038010c29..."} 
[2026-08-11 20:18:44] local.INFO: Packet analysis {"connection_id":153791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:18:44] local.INFO: Extracted packet for processing {"connection_id":153791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:18:44] local.INFO: GPS Element Parsed {"raw_longitude":756644544,"raw_latitude":119532416,"longitude_deg":75.6644544,"latitude_deg":11.9532416,"altitude":56,"angle":268,"satellites":41,"speed":8,"hex_longitude":"2d197ac0","hex_latitude":"071feb80","is_valid_coordinates":true} 
[2026-08-11 20:18: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-08-11 20:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333578752001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879424274202624,"note":"Value kept but may cause issues"} 
[2026-08-11 20:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836905728614064128,"note":"Value kept but may cause issues"} 
[2026-08-11 20:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786459307000,"timestamp_ms":1786459307000,"timestamp_seconds":1786459307,"priority":1,"record_length":96,"hex_timestamp":"0000019ff145bbf8"} 
[2026-08-11 20:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:18:44] 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-08-11 20:18: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-11 20:18:44] 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-08-11 20:18: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-08-11 20:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333578752001,"66":13352,"102":206,"83":41984,"24":8,"16":11879424274202624,"45":1836905728614064128},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333578752001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:18:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:18:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879424274202624,"km_value":11879424274202.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836905728614064128,"description":"Unknown IO ID 45"} 
[2026-08-11 20:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333578752001,"power":13352,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1836905728614064128}} 
[2026-08-11 20:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":153791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:18:44] local.INFO: GPS data processed {"connection_id":153791,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:18:44] local.INFO: Acknowledgment sent {"connection_id":153791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:18:55] local.INFO: TCP Data received {"connection_id":152863,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14b0b58012d7cb98005d74808000401592d..."} 
[2026-08-11 20:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14b0b58012d7cb98005d74808000401592d..."} 
[2026-08-11 20:18:55] local.INFO: Processing buffer {"connection_id":152863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14b0b58012d7cb98005d74808000401592d..."} 
[2026-08-11 20:18:55] local.INFO: Packet analysis {"connection_id":152863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14b"} 
[2026-08-11 20:18:55] local.INFO: Extracted packet for processing {"connection_id":152863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14b"} 
[2026-08-11 20:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763148672,"raw_latitude":97994760,"longitude_deg":76.3148672,"latitude_deg":9.799476,"altitude":4,"angle":345,"satellites":45,"speed":61,"hex_longitude":"2d7cb980","hex_latitude":"05d74808","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333670144001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378108850357665792,"note":"Value kept but may cause issues"} 
[2026-08-11 20:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990170043734450176,"note":"Value kept but may cause issues"} 
[2026-08-11 20:18:55] 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-08-11 20:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786459655000,"timestamp_ms":1786459655000,"timestamp_seconds":1786459655,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14b0b58"} 
[2026-08-11 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-08-11 20:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:18:55] 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-08-11 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-08-11 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-08-11 20:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:18:55] 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-08-11 20:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333670144001,"66":27332,"196":206,"85":15104,"24":61,"16":378108850357665792,"45":8990170043734450176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-11 20:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333670144001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:18:55] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 20:18:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378108850357665792,"km_value":378108850357665.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990170043734450176,"description":"Unknown IO ID 45"} 
[2026-08-11 20:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333670144001,"power":27332,"unknown_196":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":8990170043734450176}} 
[2026-08-11 20:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":152863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:18:55] local.INFO: GPS data processed {"connection_id":152863,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:18:55] local.INFO: Acknowledgment sent {"connection_id":152863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:19:15] local.INFO: TCP Data received {"connection_id":153791,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff145d368012d1971c0071fec180039011a29..."} 
[2026-08-11 20:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff145d368012d1971c0071fec180039011a29..."} 
[2026-08-11 20:19:15] local.INFO: Processing buffer {"connection_id":153791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff145d368012d1971c0071fec180039011a29..."} 
[2026-08-11 20:19:15] local.INFO: Packet analysis {"connection_id":153791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:19:15] local.INFO: Extracted packet for processing {"connection_id":153791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756642240,"raw_latitude":119532568,"longitude_deg":75.664224,"latitude_deg":11.9532568,"altitude":57,"angle":282,"satellites":41,"speed":15,"hex_longitude":"2d1971c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-08-11 20:19: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-08-11 20:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333582592001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879531648385024,"note":"Value kept but may cause issues"} 
[2026-08-11 20:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835990934939729920,"note":"Value kept but may cause issues"} 
[2026-08-11 20:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786459313000,"timestamp_ms":1786459313000,"timestamp_seconds":1786459313,"priority":1,"record_length":96,"hex_timestamp":"0000019ff145d368"} 
[2026-08-11 20:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:19:15] 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-08-11 20:19: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":40,"data_length":795,"current_offset":136} 
[2026-08-11 20:19:15] 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-08-11 20:19: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-08-11 20:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333582592001,"66":12993,"102":206,"83":41984,"24":15,"16":11879531648385024,"45":1835990934939729920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333582592001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:19:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879531648385024,"km_value":11879531648385.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835990934939729920,"description":"Unknown IO ID 45"} 
[2026-08-11 20:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333582592001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1835990934939729920}} 
[2026-08-11 20:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":153791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:19:15] local.INFO: GPS data processed {"connection_id":153791,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:19:15] local.INFO: Acknowledgment sent {"connection_id":153791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:19:18] local.INFO: TCP Data received {"connection_id":153792,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:19:18] local.INFO: Processing buffer {"connection_id":153792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:19:18] local.INFO: IMEI packet received {"connection_id":153792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":153792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:19:19] local.INFO: TCP Data received {"connection_id":153792,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:19:19] local.INFO: Processing buffer {"connection_id":153792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:19:19] local.INFO: IMEI packet received {"connection_id":153792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":153792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:19:23] local.INFO: TCP Data received {"connection_id":153792,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:19:23] local.INFO: Processing buffer {"connection_id":153792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:19:23] local.INFO: IMEI packet received {"connection_id":153792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":153792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:19:24] local.INFO: TCP Data received {"connection_id":153792,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14b22c8012d7cb08005d769b80004015a2b..."} 
[2026-08-11 20:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14b22c8012d7cb08005d769b80004015a2b..."} 
[2026-08-11 20:19:24] local.INFO: Processing buffer {"connection_id":153792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14b22c8012d7cb08005d769b80004015a2b..."} 
[2026-08-11 20:19:24] local.INFO: Packet analysis {"connection_id":153792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14b"} 
[2026-08-11 20:19:24] local.INFO: Extracted packet for processing {"connection_id":153792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14b"} 
[2026-08-11 20:19:24] local.INFO: GPS Element Parsed {"raw_longitude":763146368,"raw_latitude":98003384,"longitude_deg":76.3146368,"latitude_deg":9.8003384,"altitude":4,"angle":346,"satellites":43,"speed":58,"hex_longitude":"2d7cb080","hex_latitude":"05d769b8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333671680001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378109284149362688,"note":"Value kept but may cause issues"} 
[2026-08-11 20:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987355293969549312,"note":"Value kept but may cause issues"} 
[2026-08-11 20:19:24] 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-08-11 20:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786459661000,"timestamp_ms":1786459661000,"timestamp_seconds":1786459661,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14b22c8"} 
[2026-08-11 20:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 20:19:24] 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-08-11 20: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-08-11 20:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:19:24] 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-08-11 20:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333671680001,"66":27332,"196":206,"85":15104,"24":58,"16":378109284149362688,"45":8987355293969549312},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-11 20:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333671680001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:19:24] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 20:19:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378109284149362688,"km_value":378109284149362.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987355293969549312,"description":"Unknown IO ID 45"} 
[2026-08-11 20:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333671680001,"power":27332,"unknown_196":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8987355293969549312}} 
[2026-08-11 20:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":153792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:19:24] local.INFO: GPS data processed {"connection_id":153792,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:19:24] local.INFO: Acknowledgment sent {"connection_id":153792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:19:38] local.INFO: TCP Data received {"connection_id":152447,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:19:38] local.INFO: Processing buffer {"connection_id":152447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:19:38] local.INFO: IMEI packet received {"connection_id":152447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":152447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:19:43] local.INFO: TCP Data received {"connection_id":152447,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:19:43] local.INFO: Processing buffer {"connection_id":152447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:19:43] local.INFO: IMEI packet received {"connection_id":152447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":152447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:19:44] local.INFO: TCP Data received {"connection_id":152447,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff145e308012d196d80071feca80039010f29..."} 
[2026-08-11 20:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff145e308012d196d80071feca80039010f29..."} 
[2026-08-11 20:19:44] local.INFO: Processing buffer {"connection_id":152447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff145e308012d196d80071feca80039010f29..."} 
[2026-08-11 20:19:44] local.INFO: Packet analysis {"connection_id":152447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:19:44] local.INFO: Extracted packet for processing {"connection_id":152447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:19:44] local.INFO: GPS Element Parsed {"raw_longitude":756641152,"raw_latitude":119532712,"longitude_deg":75.6641152,"latitude_deg":11.9532712,"altitude":57,"angle":271,"satellites":41,"speed":9,"hex_longitude":"2d196d80","hex_latitude":"071feca8","is_valid_coordinates":true} 
[2026-08-11 20:19: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-08-11 20:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333584128001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833457660149372928,"note":"Value kept but may cause issues"} 
[2026-08-11 20:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786459317000,"timestamp_ms":1786459317000,"timestamp_seconds":1786459317,"priority":1,"record_length":96,"hex_timestamp":"0000019ff145e308"} 
[2026-08-11 20:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:19:44] 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-08-11 20: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-11 20:19:44] 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-08-11 20: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-08-11 20:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333584128001,"66":12613,"102":206,"83":41984,"24":9,"16":11879583187992576,"45":1833457660149372928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333584128001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:19:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:19:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833457660149372928,"description":"Unknown IO ID 45"} 
[2026-08-11 20:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333584128001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1833457660149372928}} 
[2026-08-11 20:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":152447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:19:44] local.INFO: GPS data processed {"connection_id":152447,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:19:44] local.INFO: Acknowledgment sent {"connection_id":152447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:20:08] local.INFO: TCP Data received {"connection_id":152864,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:20:08] local.INFO: Processing buffer {"connection_id":152864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:20:08] local.INFO: IMEI packet received {"connection_id":152864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":152864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:20:09] local.INFO: TCP Data received {"connection_id":153792,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14b3e20012d7ca84005d78f980004015c24..."} 
[2026-08-11 20:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14b3e20012d7ca84005d78f980004015c24..."} 
[2026-08-11 20:20:09] local.INFO: Processing buffer {"connection_id":153792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14b3e20012d7ca84005d78f980004015c24..."} 
[2026-08-11 20:20:09] local.INFO: Packet analysis {"connection_id":153792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14b"} 
[2026-08-11 20:20:09] local.INFO: Extracted packet for processing {"connection_id":153792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14b"} 
[2026-08-11 20:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763144256,"raw_latitude":98013080,"longitude_deg":76.3144256,"latitude_deg":9.801308,"altitude":4,"angle":348,"satellites":36,"speed":54,"hex_longitude":"2d7ca840","hex_latitude":"05d78f98","is_valid_coordinates":true} 
[2026-08-11 20:20: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-08-11 20:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333673216001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378109765185699840,"note":"Value kept but may cause issues"} 
[2026-08-11 20:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984822019181361152,"note":"Value kept but may cause issues"} 
[2026-08-11 20:20:09] 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-08-11 20:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786459668000,"timestamp_ms":1786459668000,"timestamp_seconds":1786459668,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14b3e20"} 
[2026-08-11 20:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:20: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-08-11 20:20: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-08-11 20:20: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-08-11 20:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:20:09] 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-08-11 20:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333673216001,"66":27245,"196":206,"85":15104,"24":54,"16":378109765185699840,"45":8984822019181361152},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-11 20:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333673216001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:20:09] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 20:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378109765185699840,"km_value":378109765185699.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984822019181361152,"description":"Unknown IO ID 45"} 
[2026-08-11 20:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333673216001,"power":27245,"unknown_196":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8984822019181361152}} 
[2026-08-11 20:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":153792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:20:09] local.INFO: GPS data processed {"connection_id":153792,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:20:09] local.INFO: Acknowledgment sent {"connection_id":153792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:20:15] local.INFO: TCP Data received {"connection_id":152447,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff145e308012d196d80071feca80039010f29..."} 
[2026-08-11 20:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff145e308012d196d80071feca80039010f29..."} 
[2026-08-11 20:20:15] local.INFO: Processing buffer {"connection_id":152447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff145e308012d196d80071feca80039010f29..."} 
[2026-08-11 20:20:15] local.INFO: Packet analysis {"connection_id":152447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:20:15] local.INFO: Extracted packet for processing {"connection_id":152447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756641152,"raw_latitude":119532712,"longitude_deg":75.6641152,"latitude_deg":11.9532712,"altitude":57,"angle":271,"satellites":41,"speed":9,"hex_longitude":"2d196d80","hex_latitude":"071feca8","is_valid_coordinates":true} 
[2026-08-11 20:20:15] 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-08-11 20:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333585152001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832261391498389504,"note":"Value kept but may cause issues"} 
[2026-08-11 20:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786459317000,"timestamp_ms":1786459317000,"timestamp_seconds":1786459317,"priority":1,"record_length":96,"hex_timestamp":"0000019ff145e308"} 
[2026-08-11 20:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:20:15] 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-08-11 20:20: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-11 20:20:15] 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-08-11 20:20: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-08-11 20:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333585152001,"66":12613,"102":206,"83":41984,"24":9,"16":11879583187992576,"45":1832261391498389504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333585152001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:20:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832261391498389504,"description":"Unknown IO ID 45"} 
[2026-08-11 20:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333585152001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1832261391498389504}} 
[2026-08-11 20:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":152447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:20:15] local.INFO: GPS data processed {"connection_id":152447,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:20:15] local.INFO: Acknowledgment sent {"connection_id":152447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:20:16] local.INFO: TCP Data received {"connection_id":152864,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:20:16] local.INFO: Processing buffer {"connection_id":152864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:20:16] local.INFO: IMEI packet received {"connection_id":152864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":152864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:20:17] local.INFO: TCP Data received {"connection_id":152864,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1487730012d7ad58005e3d2a8000d000329..."} 
[2026-08-11 20:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1487730012d7ad58005e3d2a8000d000329..."} 
[2026-08-11 20:20:17] local.INFO: Processing buffer {"connection_id":152864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1487730012d7ad58005e3d2a8000d000329..."} 
[2026-08-11 20:20:17] local.INFO: Packet analysis {"connection_id":152864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff148"} 
[2026-08-11 20:20:17] local.INFO: Extracted packet for processing {"connection_id":152864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff148"} 
[2026-08-11 20:20:17] local.INFO: GPS Element Parsed {"raw_longitude":763024768,"raw_latitude":98816680,"longitude_deg":76.3024768,"latitude_deg":9.881668,"altitude":13,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ad580","hex_latitude":"05e3d2a8","is_valid_coordinates":true} 
[2026-08-11 20:20:17] 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-08-11 20:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333623808001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860765959979008,"note":"Value kept but may cause issues"} 
[2026-08-11 20:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851051036707825664,"note":"Value kept but may cause issues"} 
[2026-08-11 20:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786459486000,"timestamp_ms":1786459486000,"timestamp_seconds":1786459486,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1487730"} 
[2026-08-11 20:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:20:17] 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-08-11 20: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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-08-11 20:20:17] 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-08-11 20: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-08-11 20:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333623808001,"66":12374,"97":206,"85":15104,"24":0,"16":117860765959979008,"45":8851051036707825664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333623808001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:20:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860765959979008,"km_value":117860765959979.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851051036707825664,"description":"Unknown IO ID 45"} 
[2026-08-11 20:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333623808001,"power":12374,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851051036707825664}} 
[2026-08-11 20:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":152864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:20:17] local.INFO: GPS data processed {"connection_id":152864,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:20:17] local.INFO: Acknowledgment sent {"connection_id":152864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:20:22] local.INFO: TCP Data received {"connection_id":155171,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:20:22] local.INFO: Processing buffer {"connection_id":155171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:20:22] local.INFO: IMEI packet received {"connection_id":155171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":155171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:20:23] local.INFO: TCP Data received {"connection_id":155171,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:20:23] local.INFO: Processing buffer {"connection_id":155171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:20:23] local.INFO: IMEI packet received {"connection_id":155171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":155171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:20:28] local.INFO: TCP Data received {"connection_id":155171,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:20:28] local.INFO: Processing buffer {"connection_id":155171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:20:28] local.INFO: IMEI packet received {"connection_id":155171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":155171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:20:39] local.INFO: TCP Data received {"connection_id":153793,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:20:39] local.INFO: Processing buffer {"connection_id":153793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:20:39] local.INFO: IMEI packet received {"connection_id":153793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":153793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:20:43] local.INFO: TCP Data received {"connection_id":153793,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:20:43] local.INFO: Processing buffer {"connection_id":153793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:20:43] local.INFO: IMEI packet received {"connection_id":153793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":153793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:20:44] local.INFO: TCP Data received {"connection_id":153793,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff145e308012d196d80071feca80039010f29..."} 
[2026-08-11 20:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff145e308012d196d80071feca80039010f29..."} 
[2026-08-11 20:20:44] local.INFO: Processing buffer {"connection_id":153793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff145e308012d196d80071feca80039010f29..."} 
[2026-08-11 20:20:44] local.INFO: Packet analysis {"connection_id":153793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:20:44] local.INFO: Extracted packet for processing {"connection_id":153793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff145"} 
[2026-08-11 20:20:44] local.INFO: GPS Element Parsed {"raw_longitude":756641152,"raw_latitude":119532712,"longitude_deg":75.6641152,"latitude_deg":11.9532712,"altitude":57,"angle":271,"satellites":41,"speed":9,"hex_longitude":"2d196d80","hex_latitude":"071feca8","is_valid_coordinates":true} 
[2026-08-11 20:20: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-08-11 20:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333585152001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832261391498389504,"note":"Value kept but may cause issues"} 
[2026-08-11 20:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786459317000,"timestamp_ms":1786459317000,"timestamp_seconds":1786459317,"priority":1,"record_length":96,"hex_timestamp":"0000019ff145e308"} 
[2026-08-11 20:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:20:44] 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-08-11 20: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-11 20:20:44] 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-08-11 20: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-08-11 20:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333585152001,"66":12613,"102":206,"83":41984,"24":9,"16":11879583187992576,"45":1832261391498389504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333585152001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:20:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:20:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832261391498389504,"description":"Unknown IO ID 45"} 
[2026-08-11 20:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333585152001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1832261391498389504}} 
[2026-08-11 20:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":153793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:20:44] local.INFO: GPS data processed {"connection_id":153793,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:20:44] local.INFO: Acknowledgment sent {"connection_id":153793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:20:48] local.INFO: TCP Data received {"connection_id":152864,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1487730012d7ad58005e3d2a8000d000329..."} 
[2026-08-11 20:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1487730012d7ad58005e3d2a8000d000329..."} 
[2026-08-11 20:20:48] local.INFO: Processing buffer {"connection_id":152864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1487730012d7ad58005e3d2a8000d000329..."} 
[2026-08-11 20:20:48] local.INFO: Packet analysis {"connection_id":152864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff148"} 
[2026-08-11 20:20:48] local.INFO: Extracted packet for processing {"connection_id":152864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff148"} 
[2026-08-11 20:20:48] local.INFO: GPS Element Parsed {"raw_longitude":763024768,"raw_latitude":98816680,"longitude_deg":76.3024768,"latitude_deg":9.881668,"altitude":13,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ad580","hex_latitude":"05e3d2a8","is_valid_coordinates":true} 
[2026-08-11 20:20:48] 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-08-11 20:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333628416001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860765959979008,"note":"Value kept but may cause issues"} 
[2026-08-11 20:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851121405452003328,"note":"Value kept but may cause issues"} 
[2026-08-11 20:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786459486000,"timestamp_ms":1786459486000,"timestamp_seconds":1786459486,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1487730"} 
[2026-08-11 20:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:20: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-08-11 20:20: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-11 20:20:48] 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-08-11 20:20: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-08-11 20:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333628416001,"66":12374,"97":206,"85":15104,"24":0,"16":117860765959979008,"45":8851121405452003328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333628416001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:20:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:20:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860765959979008,"km_value":117860765959979.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851121405452003328,"description":"Unknown IO ID 45"} 
[2026-08-11 20:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333628416001,"power":12374,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851121405452003328}} 
[2026-08-11 20:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":152864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:20:48] local.INFO: GPS data processed {"connection_id":152864,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:20:48] local.INFO: Acknowledgment sent {"connection_id":152864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:20:57] local.INFO: TCP Data received {"connection_id":155171,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:20:57] local.INFO: Processing buffer {"connection_id":155171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:20:57] local.INFO: IMEI packet received {"connection_id":155171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":155171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:21:10] local.INFO: TCP Data received {"connection_id":155171,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14cc4c0012d7c888005d924a80000016228..."} 
[2026-08-11 20:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14cc4c0012d7c888005d924a80000016228..."} 
[2026-08-11 20:21:10] local.INFO: Processing buffer {"connection_id":155171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14cc4c0012d7c888005d924a80000016228..."} 
[2026-08-11 20:21:10] local.INFO: Packet analysis {"connection_id":155171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14c"} 
[2026-08-11 20:21:10] local.INFO: Extracted packet for processing {"connection_id":155171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14c"} 
[2026-08-11 20:21:10] local.INFO: GPS Element Parsed {"raw_longitude":763136128,"raw_latitude":98116776,"longitude_deg":76.3136128,"latitude_deg":9.8116776,"altitude":0,"angle":354,"satellites":40,"speed":53,"hex_longitude":"2d7c8880","hex_latitude":"05d924a8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333698816001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378114811772272640,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974829657534750720,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:10] 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-08-11 20:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786459768000,"timestamp_ms":1786459768000,"timestamp_seconds":1786459768,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14cc4c0"} 
[2026-08-11 20:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 20:21: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-08-11 20: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-08-11 20:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":155171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":155171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":155171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:21:10] 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-08-11 20:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333698816001,"66":27310,"197":206,"85":15104,"24":53,"16":378114811772272640,"45":8974829657534750720},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-11 20:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333698816001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:21:10] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 20:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378114811772272640,"km_value":378114811772272.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974829657534750720,"description":"Unknown IO ID 45"} 
[2026-08-11 20:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333698816001,"power":27310,"unknown_197":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8974829657534750720}} 
[2026-08-11 20:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":155171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:21:10] local.INFO: GPS data processed {"connection_id":155171,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:21:10] local.INFO: Acknowledgment sent {"connection_id":155171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:21:13] local.INFO: TCP Data received {"connection_id":152448,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:21:13] local.INFO: Processing buffer {"connection_id":152448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:21:13] local.INFO: IMEI packet received {"connection_id":152448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":152448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:21:15] local.INFO: TCP Data received {"connection_id":153793,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14a8688012d196a00071fef68003b01182b..."} 
[2026-08-11 20:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14a8688012d196a00071fef68003b01182b..."} 
[2026-08-11 20:21:15] local.INFO: Processing buffer {"connection_id":153793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14a8688012d196a00071fef68003b01182b..."} 
[2026-08-11 20:21:15] local.INFO: Packet analysis {"connection_id":153793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14a"} 
[2026-08-11 20:21:15] local.INFO: Extracted packet for processing {"connection_id":153793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14a"} 
[2026-08-11 20:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333585152001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832261391498389504,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786459621000,"timestamp_ms":1786459621000,"timestamp_seconds":1786459621,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14a8688"} 
[2026-08-11 20:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:21:15] 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-08-11 20: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-11 20:21:15] 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-08-11 20: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-08-11 20:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333585152001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1832261391498389504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333585152001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:21:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:21:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832261391498389504,"description":"Unknown IO ID 45"} 
[2026-08-11 20:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333585152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832261391498389504}} 
[2026-08-11 20:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":153793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:21:15] local.INFO: GPS data processed {"connection_id":153793,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:21:15] local.INFO: Acknowledgment sent {"connection_id":153793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:21:16] local.INFO: TCP Data received {"connection_id":153794,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:21:16] local.INFO: Processing buffer {"connection_id":153794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:21:16] local.INFO: IMEI packet received {"connection_id":153794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":153794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:21:18] local.INFO: TCP Data received {"connection_id":152448,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:21:18] local.INFO: Processing buffer {"connection_id":152448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:21:18] local.INFO: IMEI packet received {"connection_id":152448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":152448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:21:19] local.INFO: TCP Data received {"connection_id":153794,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:21:19] local.INFO: Processing buffer {"connection_id":153794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:21:19] local.INFO: IMEI packet received {"connection_id":153794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":153794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:21:19] local.INFO: TCP Data received {"connection_id":152448,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff148b1c8012d7ad34005e3d4f8000a013d2a..."} 
[2026-08-11 20:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff148b1c8012d7ad34005e3d4f8000a013d2a..."} 
[2026-08-11 20:21:19] local.INFO: Processing buffer {"connection_id":152448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff148b1c8012d7ad34005e3d4f8000a013d2a..."} 
[2026-08-11 20:21:19] local.INFO: Packet analysis {"connection_id":152448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff148"} 
[2026-08-11 20:21:19] local.INFO: Extracted packet for processing {"connection_id":152448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff148"} 
[2026-08-11 20:21:19] local.INFO: GPS Element Parsed {"raw_longitude":763024192,"raw_latitude":98817272,"longitude_deg":76.3024192,"latitude_deg":9.8817272,"altitude":10,"angle":317,"satellites":42,"speed":2,"hex_longitude":"2d7ad340","hex_latitude":"05e3d4f8","is_valid_coordinates":true} 
[2026-08-11 20:21: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-08-11 20:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333628416001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860800319717376,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851121405452003328,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786459501000,"timestamp_ms":1786459501000,"timestamp_seconds":1786459501,"priority":1,"record_length":96,"hex_timestamp":"0000019ff148b1c8"} 
[2026-08-11 20:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:21:19] 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-08-11 20:21: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-11 20:21:19] 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-08-11 20:21: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-08-11 20:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333628416001,"66":12461,"97":206,"85":15104,"24":2,"16":117860800319717376,"45":8851121405452003328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333628416001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:21:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:21:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860800319717376,"km_value":117860800319717.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851121405452003328,"description":"Unknown IO ID 45"} 
[2026-08-11 20:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333628416001,"power":12461,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8851121405452003328}} 
[2026-08-11 20:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":152448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:21:19] local.INFO: GPS data processed {"connection_id":152448,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:21:19] local.INFO: Acknowledgment sent {"connection_id":152448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:21:24] local.INFO: TCP Data received {"connection_id":153794,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:21:24] local.INFO: Processing buffer {"connection_id":153794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:21:24] local.INFO: IMEI packet received {"connection_id":153794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":153794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:21:31] local.INFO: TCP Data received {"connection_id":153794,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14cff58012d7c818005d970100000016124..."} 
[2026-08-11 20:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14cff58012d7c818005d970100000016124..."} 
[2026-08-11 20:21:31] local.INFO: Processing buffer {"connection_id":153794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14cff58012d7c818005d970100000016124..."} 
[2026-08-11 20:21:31] local.INFO: Packet analysis {"connection_id":153794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14c"} 
[2026-08-11 20:21:31] local.INFO: Extracted packet for processing {"connection_id":153794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14c"} 
[2026-08-11 20:21:31] local.INFO: GPS Element Parsed {"raw_longitude":763134336,"raw_latitude":98136080,"longitude_deg":76.3134336,"latitude_deg":9.813608,"altitude":0,"angle":353,"satellites":36,"speed":48,"hex_longitude":"2d7c8180","hex_latitude":"05d97010","is_valid_coordinates":true} 
[2026-08-11 20:21: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-08-11 20:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333702400001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378115752370110464,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972577857725911040,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:31] 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-08-11 20:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786459783000,"timestamp_ms":1786459783000,"timestamp_seconds":1786459783,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14cff58"} 
[2026-08-11 20:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:21: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 20:21:31] 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-08-11 20:21: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-08-11 20:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:21:31] 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-08-11 20:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333702400001,"66":26310,"245":206,"85":15104,"24":48,"16":378115752370110464,"45":8972577857725911040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-11 20:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333702400001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:21:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378115752370110464,"km_value":378115752370110.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972577857725911040,"description":"Unknown IO ID 45"} 
[2026-08-11 20:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333702400001,"power":26310,"geofence_id":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8972577857725911040}} 
[2026-08-11 20:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":153794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:21:31] local.INFO: GPS data processed {"connection_id":153794,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:21:31] local.INFO: Acknowledgment sent {"connection_id":153794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:21:32] local.INFO: TCP Data received {"connection_id":153794,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14d1ab0012d7c7d8005d993600000016226..."} 
[2026-08-11 20:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14d1ab0012d7c7d8005d993600000016226..."} 
[2026-08-11 20:21:32] local.INFO: Processing buffer {"connection_id":153794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14d1ab0012d7c7d8005d993600000016226..."} 
[2026-08-11 20:21:32] local.INFO: Packet analysis {"connection_id":153794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14d"} 
[2026-08-11 20:21:32] local.INFO: Extracted packet for processing {"connection_id":153794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14d"} 
[2026-08-11 20:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763133312,"raw_latitude":98145120,"longitude_deg":76.3133312,"latitude_deg":9.814512,"altitude":0,"angle":354,"satellites":38,"speed":55,"hex_longitude":"2d7c7d80","hex_latitude":"05d99360","is_valid_coordinates":true} 
[2026-08-11 20:21: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-08-11 20:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333704448001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378116194751741952,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971592695309930496,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:32] 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-08-11 20:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786459790000,"timestamp_ms":1786459790000,"timestamp_seconds":1786459790,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14d1ab0"} 
[2026-08-11 20:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:21: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-11 20:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20:21: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-08-11 20:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":153794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":153794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":153794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:21:32] 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-08-11 20:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333704448001,"66":27332,"245":206,"85":15104,"24":55,"16":378116194751741952,"45":8971592695309930496},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-11 20:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333704448001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378116194751741952,"km_value":378116194751741.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971592695309930496,"description":"Unknown IO ID 45"} 
[2026-08-11 20:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333704448001,"power":27332,"geofence_id":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8971592695309930496}} 
[2026-08-11 20:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":153794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:21:32] local.INFO: GPS data processed {"connection_id":153794,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:21:32] local.INFO: Acknowledgment sent {"connection_id":153794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:21:38] local.INFO: TCP Data received {"connection_id":152865,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:21:38] local.INFO: Processing buffer {"connection_id":152865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:21:38] local.INFO: IMEI packet received {"connection_id":152865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":152865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:21:43] local.INFO: TCP Data received {"connection_id":152865,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:21:43] local.INFO: Processing buffer {"connection_id":152865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:21:43] local.INFO: IMEI packet received {"connection_id":152865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":152865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:21:44] local.INFO: TCP Data received {"connection_id":152865,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14a8688012d196a00071fef68003b01182b..."} 
[2026-08-11 20:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14a8688012d196a00071fef68003b01182b..."} 
[2026-08-11 20:21:44] local.INFO: Processing buffer {"connection_id":152865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14a8688012d196a00071fef68003b01182b..."} 
[2026-08-11 20:21:44] local.INFO: Packet analysis {"connection_id":152865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14a"} 
[2026-08-11 20:21:44] local.INFO: Extracted packet for processing {"connection_id":152865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14a"} 
[2026-08-11 20:21:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333585152001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832261391498389504,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786459621000,"timestamp_ms":1786459621000,"timestamp_seconds":1786459621,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14a8688"} 
[2026-08-11 20:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:21:44] 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-08-11 20: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-11 20:21:44] 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-08-11 20: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-08-11 20:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333585152001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1832261391498389504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333585152001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:21:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:21:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832261391498389504,"description":"Unknown IO ID 45"} 
[2026-08-11 20:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333585152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832261391498389504}} 
[2026-08-11 20:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":152865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:21:44] local.INFO: GPS data processed {"connection_id":152865,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:21:44] local.INFO: Acknowledgment sent {"connection_id":152865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:21:51] local.INFO: TCP Data received {"connection_id":152448,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff148c168012d7ad2c005e3d580000a01522b..."} 
[2026-08-11 20:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff148c168012d7ad2c005e3d580000a01522b..."} 
[2026-08-11 20:21:51] local.INFO: Processing buffer {"connection_id":152448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff148c168012d7ad2c005e3d580000a01522b..."} 
[2026-08-11 20:21:51] local.INFO: Packet analysis {"connection_id":152448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff148"} 
[2026-08-11 20:21:51] local.INFO: Extracted packet for processing {"connection_id":152448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff148"} 
[2026-08-11 20:21:51] local.INFO: GPS Element Parsed {"raw_longitude":763024064,"raw_latitude":98817408,"longitude_deg":76.3024064,"latitude_deg":9.8817408,"altitude":10,"angle":338,"satellites":43,"speed":1,"hex_longitude":"2d7ad2c0","hex_latitude":"05e3d580","is_valid_coordinates":true} 
[2026-08-11 20:21: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-08-11 20:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333632256001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860813204619264,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850488086754555904,"note":"Value kept but may cause issues"} 
[2026-08-11 20:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786459505000,"timestamp_ms":1786459505000,"timestamp_seconds":1786459505,"priority":1,"record_length":96,"hex_timestamp":"0000019ff148c168"} 
[2026-08-11 20:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:21:51] 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-08-11 20:21: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-11 20:21:51] 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-08-11 20:21: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-08-11 20:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333632256001,"66":12504,"97":206,"85":15104,"24":1,"16":117860813204619264,"45":8850488086754555904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333632256001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:21:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:21:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860813204619264,"km_value":117860813204619.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850488086754555904,"description":"Unknown IO ID 45"} 
[2026-08-11 20:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333632256001,"power":12504,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8850488086754555904}} 
[2026-08-11 20:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":152448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:21:51] local.INFO: GPS data processed {"connection_id":152448,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:21:51] local.INFO: Acknowledgment sent {"connection_id":152448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:22:03] local.INFO: TCP Data received {"connection_id":155172,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:22:03] local.INFO: Processing buffer {"connection_id":155172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:22:03] local.INFO: IMEI packet received {"connection_id":155172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":155172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:22:03] local.INFO: TCP Data received {"connection_id":153794,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14d3608012d7c7a0005d9b8a00000016221..."} 
[2026-08-11 20:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14d3608012d7c7a0005d9b8a00000016221..."} 
[2026-08-11 20:22:03] local.INFO: Processing buffer {"connection_id":153794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14d3608012d7c7a0005d9b8a00000016221..."} 
[2026-08-11 20:22:03] local.INFO: Packet analysis {"connection_id":153794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14d"} 
[2026-08-11 20:22:03] local.INFO: Extracted packet for processing {"connection_id":153794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14d"} 
[2026-08-11 20:22:03] local.INFO: GPS Element Parsed {"raw_longitude":763132416,"raw_latitude":98154656,"longitude_deg":76.3132416,"latitude_deg":9.8154656,"altitude":0,"angle":354,"satellites":33,"speed":53,"hex_longitude":"2d7c7a00","hex_latitude":"05d9b8a0","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333706240001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378116658608209920,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970466795405402112,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:03] 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-08-11 20:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786459797000,"timestamp_ms":1786459797000,"timestamp_seconds":1786459797,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14d3608"} 
[2026-08-11 20:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 20:22: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-08-11 20: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-08-11 20:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":153794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":153794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":153794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:22:03] 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-08-11 20:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333706240001,"66":27267,"245":206,"85":15104,"24":53,"16":378116658608209920,"45":8970466795405402112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-11 20:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333706240001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:22:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378116658608209920,"km_value":378116658608209.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970466795405402112,"description":"Unknown IO ID 45"} 
[2026-08-11 20:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333706240001,"power":27267,"geofence_id":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8970466795405402112}} 
[2026-08-11 20:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":153794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:22:03] local.INFO: GPS data processed {"connection_id":153794,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:22:03] local.INFO: Acknowledgment sent {"connection_id":153794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:22:08] local.INFO: TCP Data received {"connection_id":155172,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:22:08] local.INFO: Processing buffer {"connection_id":155172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:22:08] local.INFO: IMEI packet received {"connection_id":155172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":155172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:22:09] local.INFO: TCP Data received {"connection_id":155172,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1491370012d7ad28005e3d568000a015a2b..."} 
[2026-08-11 20:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1491370012d7ad28005e3d568000a015a2b..."} 
[2026-08-11 20:22:09] local.INFO: Processing buffer {"connection_id":155172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1491370012d7ad28005e3d568000a015a2b..."} 
[2026-08-11 20:22:09] local.INFO: Packet analysis {"connection_id":155172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff149"} 
[2026-08-11 20:22:09] local.INFO: Extracted packet for processing {"connection_id":155172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff149"} 
[2026-08-11 20:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763024000,"raw_latitude":98817384,"longitude_deg":76.3024,"latitude_deg":9.8817384,"altitude":10,"angle":346,"satellites":43,"speed":0,"hex_longitude":"2d7ad280","hex_latitude":"05e3d568","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333633280001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860817499586560,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850347349266235392,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786459526000,"timestamp_ms":1786459526000,"timestamp_seconds":1786459526,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1491370"} 
[2026-08-11 20:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:22: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-08-11 20: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-11 20:22:09] 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-08-11 20: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-08-11 20:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":155172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":155172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":155172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333633280001,"66":12972,"97":206,"85":15104,"24":0,"16":117860817499586560,"45":8850347349266235392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333633280001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860817499586560,"km_value":117860817499586.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850347349266235392,"description":"Unknown IO ID 45"} 
[2026-08-11 20:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333633280001,"power":12972,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8850347349266235392}} 
[2026-08-11 20:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":155172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:22:09] local.INFO: GPS data processed {"connection_id":155172,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:22:09] local.INFO: Acknowledgment sent {"connection_id":155172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:22:15] local.INFO: TCP Data received {"connection_id":152865,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14a8688012d196a00071fef68003b01182b..."} 
[2026-08-11 20:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14a8688012d196a00071fef68003b01182b..."} 
[2026-08-11 20:22:15] local.INFO: Processing buffer {"connection_id":152865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14a8688012d196a00071fef68003b01182b..."} 
[2026-08-11 20:22:15] local.INFO: Packet analysis {"connection_id":152865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14a"} 
[2026-08-11 20:22:15] local.INFO: Extracted packet for processing {"connection_id":152865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14a"} 
[2026-08-11 20:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333585152001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832261391498389504,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786459621000,"timestamp_ms":1786459621000,"timestamp_seconds":1786459621,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14a8688"} 
[2026-08-11 20:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:22:15] 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-08-11 20: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-11 20:22:15] 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-08-11 20: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-08-11 20:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333585152001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1832261391498389504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333585152001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:22:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832261391498389504,"description":"Unknown IO ID 45"} 
[2026-08-11 20:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333585152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832261391498389504}} 
[2026-08-11 20:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":152865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:22:15] local.INFO: GPS data processed {"connection_id":152865,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:22:15] local.INFO: Acknowledgment sent {"connection_id":152865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:22:18] local.INFO: TCP Data received {"connection_id":152449,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:22:18] local.INFO: Processing buffer {"connection_id":152449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:22:18] local.INFO: IMEI packet received {"connection_id":152449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":152449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:22:18] local.INFO: TCP Data received {"connection_id":152449,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:22:18] local.INFO: Processing buffer {"connection_id":152449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:22:18] local.INFO: IMEI packet received {"connection_id":152449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":152449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:22:24] local.INFO: TCP Data received {"connection_id":152449,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:22:24] local.INFO: Processing buffer {"connection_id":152449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:22:24] local.INFO: IMEI packet received {"connection_id":152449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":152449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:22:24] local.INFO: TCP Data received {"connection_id":152449,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14e7e28012d7c124005db41280001015a29..."} 
[2026-08-11 20:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14e7e28012d7c124005db41280001015a29..."} 
[2026-08-11 20:22:24] local.INFO: Processing buffer {"connection_id":152449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14e7e28012d7c124005db41280001015a29..."} 
[2026-08-11 20:22:24] local.INFO: Packet analysis {"connection_id":152449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14e"} 
[2026-08-11 20:22:24] local.INFO: Extracted packet for processing {"connection_id":152449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14e"} 
[2026-08-11 20:22:24] local.INFO: GPS Element Parsed {"raw_longitude":763105856,"raw_latitude":98255144,"longitude_deg":76.3105856,"latitude_deg":9.8255144,"altitude":1,"angle":346,"satellites":41,"speed":44,"hex_longitude":"2d7c1240","hex_latitude":"05db4128","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333727232001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378121705194782720,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942671141481017344,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:24] 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-08-11 20:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786459881000,"timestamp_ms":1786459881000,"timestamp_seconds":1786459881,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14e7e28"} 
[2026-08-11 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-08-11 20:22: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-08-11 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:22:24] 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-08-11 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-08-11 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-08-11 20:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:22:24] 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-08-11 20:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333727232001,"66":27343,"168":206,"85":15104,"24":44,"16":378121705194782720,"45":8942671141481017344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 20:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333727232001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:22:24] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 20:22:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378121705194782720,"km_value":378121705194782.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942671141481017344,"description":"Unknown IO ID 45"} 
[2026-08-11 20:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333727232001,"power":27343,"unknown_168":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8942671141481017344}} 
[2026-08-11 20:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":152449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:22:24] local.INFO: GPS data processed {"connection_id":152449,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:22:24] local.INFO: Acknowledgment sent {"connection_id":152449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:22:40] local.INFO: TCP Data received {"connection_id":155172,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1495da8012d7ad28005e3d568000a015a2b..."} 
[2026-08-11 20:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1495da8012d7ad28005e3d568000a015a2b..."} 
[2026-08-11 20:22:40] local.INFO: Processing buffer {"connection_id":155172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1495da8012d7ad28005e3d568000a015a2b..."} 
[2026-08-11 20:22:40] local.INFO: Packet analysis {"connection_id":155172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff149"} 
[2026-08-11 20:22:40] local.INFO: Extracted packet for processing {"connection_id":155172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff149"} 
[2026-08-11 20:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763024000,"raw_latitude":98817384,"longitude_deg":76.3024,"latitude_deg":9.8817384,"altitude":10,"angle":346,"satellites":43,"speed":0,"hex_longitude":"2d7ad280","hex_latitude":"05e3d568","is_valid_coordinates":true} 
[2026-08-11 20:22: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-08-11 20:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333638656001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860817499586560,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850276980522051584,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786459545000,"timestamp_ms":1786459545000,"timestamp_seconds":1786459545,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1495da8"} 
[2026-08-11 20:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:22: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-08-11 20:22: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-11 20:22:40] 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-08-11 20:22: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-08-11 20:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":155172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":155172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":155172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333638656001,"66":13048,"97":206,"85":15104,"24":0,"16":117860817499586560,"45":8850276980522051584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333638656001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:22:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860817499586560,"km_value":117860817499586.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850276980522051584,"description":"Unknown IO ID 45"} 
[2026-08-11 20:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333638656001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8850276980522051584}} 
[2026-08-11 20:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":155172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:22:40] local.INFO: GPS data processed {"connection_id":155172,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:22:40] local.INFO: Acknowledgment sent {"connection_id":155172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:22:41] local.INFO: TCP Data received {"connection_id":152450,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:22:41] local.INFO: Processing buffer {"connection_id":152450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:22:41] local.INFO: IMEI packet received {"connection_id":152450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":152450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:22:43] local.INFO: TCP Data received {"connection_id":152450,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:22:43] local.INFO: Processing buffer {"connection_id":152450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:22:43] local.INFO: IMEI packet received {"connection_id":152450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":152450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:22:48] local.INFO: TCP Data received {"connection_id":152450,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:22:48] local.INFO: Processing buffer {"connection_id":152450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:22:48] local.INFO: IMEI packet received {"connection_id":152450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":152450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:22:49] local.INFO: TCP Data received {"connection_id":152450,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:22:49] local.INFO: Processing buffer {"connection_id":152450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:22:49] local.INFO: Packet analysis {"connection_id":152450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:22:49] local.INFO: Extracted packet for processing {"connection_id":152450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:22: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-08-11 20:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333662976001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22: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-08-11 20:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786459922000,"timestamp_ms":1786459922000,"timestamp_seconds":1786459922,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14f1e50"} 
[2026-08-11 20:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 20:22: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:22:49] 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-08-11 20:22: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-08-11 20:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333662976001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333662976001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:22:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333662976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":152450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:22:49] local.INFO: GPS data processed {"connection_id":152450,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:22:49] local.INFO: Acknowledgment sent {"connection_id":152450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:22:53] local.INFO: TCP Data received {"connection_id":152450,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:22:53] local.INFO: Processing buffer {"connection_id":152450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:22:53] local.INFO: Packet analysis {"connection_id":152450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:22:53] local.INFO: Extracted packet for processing {"connection_id":152450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:22:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333662976001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 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-08-11 20:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786459922000,"timestamp_ms":1786459922000,"timestamp_seconds":1786459922,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14f1e50"} 
[2026-08-11 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-08-11 20:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:22: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-08-11 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-08-11 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-08-11 20:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333662976001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333662976001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:22:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:22:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333662976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":152450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:22:53] local.INFO: GPS data processed {"connection_id":152450,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:22:53] local.INFO: Acknowledgment sent {"connection_id":152450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:22:56] local.INFO: TCP Data received {"connection_id":152449,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14e9d68012d7c0a0005db63780002015b2a..."} 
[2026-08-11 20:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14e9d68012d7c0a0005db63780002015b2a..."} 
[2026-08-11 20:22:56] local.INFO: Processing buffer {"connection_id":152449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14e9d68012d7c0a0005db63780002015b2a..."} 
[2026-08-11 20:22:56] local.INFO: Packet analysis {"connection_id":152449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14e"} 
[2026-08-11 20:22:56] local.INFO: Extracted packet for processing {"connection_id":152449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14e"} 
[2026-08-11 20:22:56] local.INFO: GPS Element Parsed {"raw_longitude":763103744,"raw_latitude":98263928,"longitude_deg":76.3103744,"latitude_deg":9.8263928,"altitude":2,"angle":347,"satellites":42,"speed":39,"hex_longitude":"2d7c0a00","hex_latitude":"05db6378","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333729536001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378122143281446912,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940278604181350400,"note":"Value kept but may cause issues"} 
[2026-08-11 20:22:56] 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-08-11 20:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786459889000,"timestamp_ms":1786459889000,"timestamp_seconds":1786459889,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14e9d68"} 
[2026-08-11 20:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 20:22:56] 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-08-11 20: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-08-11 20:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:22:56] 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-08-11 20:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333729536001,"66":27365,"168":206,"85":15104,"24":39,"16":378122143281446912,"45":8940278604181350400},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 20:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333729536001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:22:56] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 20:22:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378122143281446912,"km_value":378122143281446.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940278604181350400,"description":"Unknown IO ID 45"} 
[2026-08-11 20:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333729536001,"power":27365,"unknown_168":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8940278604181350400}} 
[2026-08-11 20:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":152449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:22:56] local.INFO: GPS data processed {"connection_id":152449,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:22:56] local.INFO: Acknowledgment sent {"connection_id":152449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:23:08] local.INFO: TCP Data received {"connection_id":152451,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:23:08] local.INFO: Processing buffer {"connection_id":152451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:23:08] local.INFO: IMEI packet received {"connection_id":152451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":152451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:23:13] local.INFO: TCP Data received {"connection_id":152451,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:23:13] local.INFO: Processing buffer {"connection_id":152451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:23:13] local.INFO: IMEI packet received {"connection_id":152451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":152451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:23:19] local.INFO: TCP Data received {"connection_id":153795,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:23:19] local.INFO: Processing buffer {"connection_id":153795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:23:19] local.INFO: IMEI packet received {"connection_id":153795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":153795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:23:24] local.INFO: TCP Data received {"connection_id":153795,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:23:24] local.INFO: Processing buffer {"connection_id":153795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:23:24] local.INFO: IMEI packet received {"connection_id":153795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":153795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:23:24] local.INFO: TCP Data received {"connection_id":153795,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14ec478012d7c014005db87400003015c2a..."} 
[2026-08-11 20:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14ec478012d7c014005db87400003015c2a..."} 
[2026-08-11 20:23:24] local.INFO: Processing buffer {"connection_id":153795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14ec478012d7c014005db87400003015c2a..."} 
[2026-08-11 20:23:24] local.INFO: Packet analysis {"connection_id":153795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14e"} 
[2026-08-11 20:23:24] local.INFO: Extracted packet for processing {"connection_id":153795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14e"} 
[2026-08-11 20:23:24] local.INFO: GPS Element Parsed {"raw_longitude":763101504,"raw_latitude":98273088,"longitude_deg":76.3101504,"latitude_deg":9.8273088,"altitude":3,"angle":348,"satellites":42,"speed":39,"hex_longitude":"2d7c0140","hex_latitude":"05db8740","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333731584001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378122598547980288,"note":"Value kept but may cause issues"} 
[2026-08-11 20:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937956435625736192,"note":"Value kept but may cause issues"} 
[2026-08-11 20:23:24] 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-08-11 20:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786459899000,"timestamp_ms":1786459899000,"timestamp_seconds":1786459899,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14ec478"} 
[2026-08-11 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-08-11 20:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:23:24] 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-08-11 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-08-11 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-08-11 20:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:23:24] 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-08-11 20:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333731584001,"66":27343,"168":206,"85":15104,"24":39,"16":378122598547980288,"45":8937956435625736192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 20:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333731584001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:23:24] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 20:23:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378122598547980288,"km_value":378122598547980.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937956435625736192,"description":"Unknown IO ID 45"} 
[2026-08-11 20:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333731584001,"power":27343,"unknown_168":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8937956435625736192}} 
[2026-08-11 20:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":153795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:23:25] local.INFO: GPS data processed {"connection_id":153795,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:23:25] local.INFO: Acknowledgment sent {"connection_id":153795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:23:36] local.INFO: TCP Data received {"connection_id":152451,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1495da8012d7ad28005e3d568000a015a2b..."} 
[2026-08-11 20:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1495da8012d7ad28005e3d568000a015a2b..."} 
[2026-08-11 20:23:36] local.INFO: Processing buffer {"connection_id":152451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1495da8012d7ad28005e3d568000a015a2b..."} 
[2026-08-11 20:23:36] local.INFO: Packet analysis {"connection_id":152451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff149"} 
[2026-08-11 20:23:36] local.INFO: Extracted packet for processing {"connection_id":152451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff149"} 
[2026-08-11 20:23:36] local.INFO: GPS Element Parsed {"raw_longitude":763024000,"raw_latitude":98817384,"longitude_deg":76.3024,"latitude_deg":9.8817384,"altitude":10,"angle":346,"satellites":43,"speed":0,"hex_longitude":"2d7ad280","hex_latitude":"05e3d568","is_valid_coordinates":true} 
[2026-08-11 20:23:36] 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-08-11 20:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333643520001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860817499586560,"note":"Value kept but may cause issues"} 
[2026-08-11 20:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850276980522051584,"note":"Value kept but may cause issues"} 
[2026-08-11 20:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786459545000,"timestamp_ms":1786459545000,"timestamp_seconds":1786459545,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1495da8"} 
[2026-08-11 20:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:23: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-08-11 20: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 20:23:36] 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-08-11 20: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-08-11 20:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333643520001,"66":13048,"97":206,"85":15104,"24":0,"16":117860817499586560,"45":8850276980522051584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333643520001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:23:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860817499586560,"km_value":117860817499586.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850276980522051584,"description":"Unknown IO ID 45"} 
[2026-08-11 20:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333643520001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8850276980522051584}} 
[2026-08-11 20:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":152451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:23:36] local.INFO: GPS data processed {"connection_id":152451,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:23:36] local.INFO: Acknowledgment sent {"connection_id":152451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:23:38] local.INFO: TCP Data received {"connection_id":152866,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:23:38] local.INFO: Processing buffer {"connection_id":152866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:23:38] local.INFO: IMEI packet received {"connection_id":152866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":152866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:23:43] local.INFO: TCP Data received {"connection_id":152866,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:23:43] local.INFO: Processing buffer {"connection_id":152866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:23:43] local.INFO: IMEI packet received {"connection_id":152866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":152866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:23:44] local.INFO: TCP Data received {"connection_id":152866,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:23:44] local.INFO: Processing buffer {"connection_id":152866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:23:44] local.INFO: Packet analysis {"connection_id":152866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:23:44] local.INFO: Extracted packet for processing {"connection_id":152866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:23:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333662976001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786459922000,"timestamp_ms":1786459922000,"timestamp_seconds":1786459922,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14f1e50"} 
[2026-08-11 20:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:23:44] 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-08-11 20: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-08-11 20:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333662976001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333662976001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:23:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:23:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333662976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":152866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:23:44] local.INFO: GPS data processed {"connection_id":152866,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:23:44] local.INFO: Acknowledgment sent {"connection_id":152866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:23:56] local.INFO: TCP Data received {"connection_id":153795,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14ee7a0012d7bf90005dbad580002015a29..."} 
[2026-08-11 20:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14ee7a0012d7bf90005dbad580002015a29..."} 
[2026-08-11 20:23:56] local.INFO: Processing buffer {"connection_id":153795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14ee7a0012d7bf90005dbad580002015a29..."} 
[2026-08-11 20:23:56] local.INFO: Packet analysis {"connection_id":153795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14e"} 
[2026-08-11 20:23:56] local.INFO: Extracted packet for processing {"connection_id":153795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14e"} 
[2026-08-11 20:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763099392,"raw_latitude":98282840,"longitude_deg":76.3099392,"latitude_deg":9.828284,"altitude":2,"angle":346,"satellites":41,"speed":46,"hex_longitude":"2d7bf900","hex_latitude":"05dbad58","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333734144001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378123083879284736,"note":"Value kept but may cause issues"} 
[2026-08-11 20:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935493529581862912,"note":"Value kept but may cause issues"} 
[2026-08-11 20:23:56] 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-08-11 20:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786459908000,"timestamp_ms":1786459908000,"timestamp_seconds":1786459908,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14ee7a0"} 
[2026-08-11 20:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 20:23:56] 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-08-11 20: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-08-11 20:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:23:56] 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-08-11 20:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333734144001,"66":27397,"168":206,"85":15104,"24":46,"16":378123083879284736,"45":8935493529581862912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 20:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333734144001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:23:56] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 20:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378123083879284736,"km_value":378123083879284.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935493529581862912,"description":"Unknown IO ID 45"} 
[2026-08-11 20:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333734144001,"power":27397,"unknown_168":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8935493529581862912}} 
[2026-08-11 20:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":153795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:23:56] local.INFO: GPS data processed {"connection_id":153795,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:23:56] local.INFO: Acknowledgment sent {"connection_id":153795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:24:13] local.INFO: TCP Data received {"connection_id":152867,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:24:13] local.INFO: Processing buffer {"connection_id":152867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:24:13] local.INFO: IMEI packet received {"connection_id":152867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":152867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:24:15] local.INFO: TCP Data received {"connection_id":152866,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:24:15] local.INFO: Processing buffer {"connection_id":152866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:24:15] local.INFO: Packet analysis {"connection_id":152866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:24:15] local.INFO: Extracted packet for processing {"connection_id":152866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333662976001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786459922000,"timestamp_ms":1786459922000,"timestamp_seconds":1786459922,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14f1e50"} 
[2026-08-11 20:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:24:15] 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-08-11 20: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-08-11 20:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333662976001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333662976001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:24:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:24:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333662976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":152866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:24:15] local.INFO: GPS data processed {"connection_id":152866,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:24:15] local.INFO: Acknowledgment sent {"connection_id":152866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:24:18] local.INFO: TCP Data received {"connection_id":152868,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:24:18] local.INFO: Processing buffer {"connection_id":152868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:24:18] local.INFO: IMEI packet received {"connection_id":152868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":152868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:24:22] local.INFO: TCP Data received {"connection_id":152867,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:24:22] local.INFO: Processing buffer {"connection_id":152867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:24:22] local.INFO: IMEI packet received {"connection_id":152867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":152867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:24:22] local.INFO: TCP Data received {"connection_id":152867,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1496578012d7ad28005e3d568000a015a2b..."} 
[2026-08-11 20:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1496578012d7ad28005e3d568000a015a2b..."} 
[2026-08-11 20:24:23] local.INFO: Processing buffer {"connection_id":152867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1496578012d7ad28005e3d568000a015a2b..."} 
[2026-08-11 20:24:23] local.INFO: Packet analysis {"connection_id":152867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff149"} 
[2026-08-11 20:24:23] local.INFO: Extracted packet for processing {"connection_id":152867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff149"} 
[2026-08-11 20:24:23] local.INFO: GPS Element Parsed {"raw_longitude":763024000,"raw_latitude":98817384,"longitude_deg":76.3024,"latitude_deg":9.8817384,"altitude":10,"angle":346,"satellites":43,"speed":0,"hex_longitude":"2d7ad280","hex_latitude":"05e3d568","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333643520001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860817499586560,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850276980522051584,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786459547000,"timestamp_ms":1786459547000,"timestamp_seconds":1786459547,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1496578"} 
[2026-08-11 20:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:24:23] 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-08-11 20: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-11 20:24:23] 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-08-11 20: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-08-11 20:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333643520001,"66":13178,"97":206,"85":15104,"24":0,"16":117860817499586560,"45":8850276980522051584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333643520001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:24:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:24:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860817499586560,"km_value":117860817499586.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850276980522051584,"description":"Unknown IO ID 45"} 
[2026-08-11 20:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333643520001,"power":13178,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8850276980522051584}} 
[2026-08-11 20:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":152867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:24:23] local.INFO: GPS data processed {"connection_id":152867,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:24:23] local.INFO: Acknowledgment sent {"connection_id":152867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:24:23] local.INFO: TCP Data received {"connection_id":152867,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1505ab8012d7ad30005e3d568000a015a2b..."} 
[2026-08-11 20:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1505ab8012d7ad30005e3d568000a015a2b..."} 
[2026-08-11 20:24:23] local.INFO: Processing buffer {"connection_id":152867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1505ab8012d7ad30005e3d568000a015a2b..."} 
[2026-08-11 20:24:23] local.INFO: Packet analysis {"connection_id":152867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:24:23] local.INFO: Extracted packet for processing {"connection_id":152867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:24:23] local.INFO: GPS Element Parsed {"raw_longitude":763024128,"raw_latitude":98817384,"longitude_deg":76.3024128,"latitude_deg":9.8817384,"altitude":10,"angle":346,"satellites":43,"speed":0,"hex_longitude":"2d7ad300","hex_latitude":"05e3d568","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333644032001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860817499586560,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850276980522051584,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786460003000,"timestamp_ms":1786460003000,"timestamp_seconds":1786460003,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1505ab8"} 
[2026-08-11 20:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:24:23] 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-08-11 20: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 20:24:23] 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-08-11 20: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-08-11 20:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333644032001,"66":12667,"97":206,"85":15104,"24":0,"16":117860817499586560,"45":8850276980522051584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333644032001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:24:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:24:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860817499586560,"km_value":117860817499586.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850276980522051584,"description":"Unknown IO ID 45"} 
[2026-08-11 20:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333644032001,"power":12667,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8850276980522051584}} 
[2026-08-11 20:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":152867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:24:23] local.INFO: GPS data processed {"connection_id":152867,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:24:23] local.INFO: Acknowledgment sent {"connection_id":152867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:24:24] local.INFO: TCP Data received {"connection_id":152868,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:24:24] local.INFO: Processing buffer {"connection_id":152868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:24:24] local.INFO: IMEI packet received {"connection_id":152868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":152868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:24:25] local.INFO: TCP Data received {"connection_id":152868,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1505ab8012d7bda0005dd3e500000016027..."} 
[2026-08-11 20:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1505ab8012d7bda0005dd3e500000016027..."} 
[2026-08-11 20:24:25] local.INFO: Processing buffer {"connection_id":152868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1505ab8012d7bda0005dd3e500000016027..."} 
[2026-08-11 20:24:25] local.INFO: Packet analysis {"connection_id":152868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:24:25] local.INFO: Extracted packet for processing {"connection_id":152868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:24:25] local.INFO: GPS Element Parsed {"raw_longitude":763091456,"raw_latitude":98385488,"longitude_deg":76.3091456,"latitude_deg":9.8385488,"altitude":0,"angle":352,"satellites":39,"speed":46,"hex_longitude":"2d7bda00","hex_latitude":"05dd3e50","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333758464001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378128083221217280,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925571536679094272,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:25] 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-08-11 20:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786460003000,"timestamp_ms":1786460003000,"timestamp_seconds":1786460003,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1505ab8"} 
[2026-08-11 20:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 20:24:25] 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-08-11 20: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-08-11 20:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:24:25] 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-08-11 20:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333758464001,"66":27397,"169":206,"85":15104,"24":46,"16":378128083221217280,"45":8925571536679094272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-11 20:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333758464001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:24:25] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-11 20:24:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378128083221217280,"km_value":378128083221217.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925571536679094272,"description":"Unknown IO ID 45"} 
[2026-08-11 20:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333758464001,"power":27397,"unknown_169":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8925571536679094272}} 
[2026-08-11 20:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":152868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:24:25] local.INFO: GPS data processed {"connection_id":152868,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:24:25] local.INFO: Acknowledgment sent {"connection_id":152868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:24:38] local.INFO: TCP Data received {"connection_id":152452,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:24:38] local.INFO: Processing buffer {"connection_id":152452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:24:38] local.INFO: IMEI packet received {"connection_id":152452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":152452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:24:43] local.INFO: TCP Data received {"connection_id":152452,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:24:43] local.INFO: Processing buffer {"connection_id":152452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:24:43] local.INFO: IMEI packet received {"connection_id":152452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":152452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:24:44] local.INFO: TCP Data received {"connection_id":152452,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:24:44] local.INFO: Processing buffer {"connection_id":152452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:24:44] local.INFO: Packet analysis {"connection_id":152452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:24:44] local.INFO: Extracted packet for processing {"connection_id":152452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:24:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333662976001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786459922000,"timestamp_ms":1786459922000,"timestamp_seconds":1786459922,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14f1e50"} 
[2026-08-11 20:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:24:44] 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-08-11 20: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-08-11 20:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333662976001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333662976001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:24:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:24:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333662976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":152452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:24:44] local.INFO: GPS data processed {"connection_id":152452,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:24:44] local.INFO: Acknowledgment sent {"connection_id":152452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:24:57] local.INFO: TCP Data received {"connection_id":152868,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15079f8012d7bd54005dd62f00000016027..."} 
[2026-08-11 20:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15079f8012d7bd54005dd62f00000016027..."} 
[2026-08-11 20:24:57] local.INFO: Processing buffer {"connection_id":152868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15079f8012d7bd54005dd62f00000016027..."} 
[2026-08-11 20:24:57] local.INFO: Packet analysis {"connection_id":152868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:24:57] local.INFO: Extracted packet for processing {"connection_id":152868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763090240,"raw_latitude":98394864,"longitude_deg":76.309024,"latitude_deg":9.8394864,"altitude":0,"angle":352,"satellites":39,"speed":46,"hex_longitude":"2d7bd540","hex_latitude":"05dd62f0","is_valid_coordinates":true} 
[2026-08-11 20:24: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-08-11 20:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333760768001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378128542782717952,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924445636774744064,"note":"Value kept but may cause issues"} 
[2026-08-11 20:24:57] 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-08-11 20:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786460011000,"timestamp_ms":1786460011000,"timestamp_seconds":1786460011,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15079f8"} 
[2026-08-11 20:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:24: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":5,"data_length":795,"current_offset":136} 
[2026-08-11 20:24:57] 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-08-11 20:24: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-08-11 20:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:24:57] 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-08-11 20:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333760768001,"66":27321,"169":206,"85":15104,"24":46,"16":378128542782717952,"45":8924445636774744064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-11 20:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333760768001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:24:57] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-11 20:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378128542782717952,"km_value":378128542782717.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924445636774744064,"description":"Unknown IO ID 45"} 
[2026-08-11 20:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333760768001,"power":27321,"unknown_169":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8924445636774744064}} 
[2026-08-11 20:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":152868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:24:57] local.INFO: GPS data processed {"connection_id":152868,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:24:57] local.INFO: Acknowledgment sent {"connection_id":152868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:25:08] local.INFO: TCP Data received {"connection_id":152869,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:25:08] local.INFO: Processing buffer {"connection_id":152869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:25:08] local.INFO: IMEI packet received {"connection_id":152869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":152869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:25:18] local.INFO: TCP Data received {"connection_id":152452,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:25:18] local.INFO: Processing buffer {"connection_id":152452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:25:18] local.INFO: Packet analysis {"connection_id":152452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:25:18] local.INFO: Extracted packet for processing {"connection_id":152452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:25:18] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:25: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-08-11 20:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333662976001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25: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-08-11 20:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786459922000,"timestamp_ms":1786459922000,"timestamp_seconds":1786459922,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14f1e50"} 
[2026-08-11 20:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 20:25: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:25:18] 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-08-11 20:25: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-08-11 20:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333662976001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333662976001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:25:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333662976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":152452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:25:18] local.INFO: GPS data processed {"connection_id":152452,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:25:18] local.INFO: Acknowledgment sent {"connection_id":152452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:25:20] local.INFO: TCP Data received {"connection_id":152869,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:25:20] local.INFO: Processing buffer {"connection_id":152869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:25:20] local.INFO: IMEI packet received {"connection_id":152869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":152869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:25:20] local.INFO: TCP Data received {"connection_id":152869,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:25:20] local.INFO: Processing buffer {"connection_id":152869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:25:20] local.INFO: IMEI packet received {"connection_id":152869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":152869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:25:21] local.INFO: TCP Data received {"connection_id":155173,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:25:21] local.INFO: Processing buffer {"connection_id":155173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:25:21] local.INFO: IMEI packet received {"connection_id":155173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":155173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:25:23] local.INFO: TCP Data received {"connection_id":152869,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:25:23] local.INFO: Processing buffer {"connection_id":152869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:25:23] local.INFO: IMEI packet received {"connection_id":152869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":152869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:25:24] local.INFO: TCP Data received {"connection_id":155173,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:25:24] local.INFO: Processing buffer {"connection_id":155173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:25:24] local.INFO: IMEI packet received {"connection_id":155173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":155173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:25:24] local.INFO: TCP Data received {"connection_id":152869,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1505ab8012d7ad30005e3d568000a015a2b..."} 
[2026-08-11 20:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1505ab8012d7ad30005e3d568000a015a2b..."} 
[2026-08-11 20:25:24] local.INFO: Processing buffer {"connection_id":152869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1505ab8012d7ad30005e3d568000a015a2b..."} 
[2026-08-11 20:25:24] local.INFO: Packet analysis {"connection_id":152869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:25:24] local.INFO: Extracted packet for processing {"connection_id":152869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:25:24] local.INFO: GPS Element Parsed {"raw_longitude":763024128,"raw_latitude":98817384,"longitude_deg":76.3024128,"latitude_deg":9.8817384,"altitude":10,"angle":346,"satellites":43,"speed":0,"hex_longitude":"2d7ad300","hex_latitude":"05e3d568","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333644032001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860817499586560,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850276980522051584,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786460003000,"timestamp_ms":1786460003000,"timestamp_seconds":1786460003,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1505ab8"} 
[2026-08-11 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-08-11 20:25:24] 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-08-11 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 20:25:24] 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-08-11 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-08-11 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-08-11 20:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333644032001,"66":12667,"97":206,"85":15104,"24":0,"16":117860817499586560,"45":8850276980522051584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333644032001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:25:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:25:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860817499586560,"km_value":117860817499586.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850276980522051584,"description":"Unknown IO ID 45"} 
[2026-08-11 20:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333644032001,"power":12667,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8850276980522051584}} 
[2026-08-11 20:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":152869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:25:24] local.INFO: GPS data processed {"connection_id":152869,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:25:24] local.INFO: Acknowledgment sent {"connection_id":152869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:25:29] local.INFO: TCP Data received {"connection_id":152869,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1505ab8012d7ad30005e3d568000a015a2b..."} 
[2026-08-11 20:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1505ab8012d7ad30005e3d568000a015a2b..."} 
[2026-08-11 20:25:29] local.INFO: Processing buffer {"connection_id":152869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1505ab8012d7ad30005e3d568000a015a2b..."} 
[2026-08-11 20:25:29] local.INFO: Packet analysis {"connection_id":152869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:25:29] local.INFO: Extracted packet for processing {"connection_id":152869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:25:29] local.INFO: GPS Element Parsed {"raw_longitude":763024128,"raw_latitude":98817384,"longitude_deg":76.3024128,"latitude_deg":9.8817384,"altitude":10,"angle":346,"satellites":43,"speed":0,"hex_longitude":"2d7ad300","hex_latitude":"05e3d568","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333644032001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117860817499586560,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850276980522051584,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786460003000,"timestamp_ms":1786460003000,"timestamp_seconds":1786460003,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1505ab8"} 
[2026-08-11 20:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:25:29] 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-08-11 20: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 20:25:29] 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-08-11 20: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-08-11 20:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333644032001,"66":12667,"97":206,"85":15104,"24":0,"16":117860817499586560,"45":8850276980522051584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333644032001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:25:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117860817499586560,"km_value":117860817499586.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850276980522051584,"description":"Unknown IO ID 45"} 
[2026-08-11 20:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333644032001,"power":12667,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8850276980522051584}} 
[2026-08-11 20:25:29] local.INFO: TCP Data received {"connection_id":155173,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:25:29] local.INFO: Processing buffer {"connection_id":155173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:25:29] local.INFO: IMEI packet received {"connection_id":155173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":155173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":152869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:25:29] local.INFO: GPS data processed {"connection_id":152869,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:25:29] local.INFO: Acknowledgment sent {"connection_id":152869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:25:38] local.INFO: TCP Data received {"connection_id":152870,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:25:38] local.INFO: Processing buffer {"connection_id":152870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:25:38] local.INFO: IMEI packet received {"connection_id":152870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":152870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:25:43] local.INFO: TCP Data received {"connection_id":152870,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:25:43] local.INFO: Processing buffer {"connection_id":152870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:25:43] local.INFO: IMEI packet received {"connection_id":152870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":152870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:25:44] local.INFO: TCP Data received {"connection_id":152870,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:25:44] local.INFO: Processing buffer {"connection_id":152870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:25:44] local.INFO: Packet analysis {"connection_id":152870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:25:44] local.INFO: Extracted packet for processing {"connection_id":152870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:25:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:25: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-08-11 20:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333662976001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786459922000,"timestamp_ms":1786459922000,"timestamp_seconds":1786459922,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14f1e50"} 
[2026-08-11 20:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 20:25: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:25:44] 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-08-11 20:25: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-08-11 20:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333662976001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333662976001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:25:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:25:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333662976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":152870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:25:44] local.INFO: GPS data processed {"connection_id":152870,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:25:44] local.INFO: Acknowledgment sent {"connection_id":152870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:25:54] local.INFO: TCP Data received {"connection_id":155173,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1509938012d7bcf8005dd86e80000015e29..."} 
[2026-08-11 20:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1509938012d7bcf8005dd86e80000015e29..."} 
[2026-08-11 20:25:54] local.INFO: Processing buffer {"connection_id":155173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1509938012d7bcf8005dd86e80000015e29..."} 
[2026-08-11 20:25:54] local.INFO: Packet analysis {"connection_id":155173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:25:54] local.INFO: Extracted packet for processing {"connection_id":155173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763088768,"raw_latitude":98404072,"longitude_deg":76.3088768,"latitude_deg":9.8404072,"altitude":0,"angle":350,"satellites":41,"speed":45,"hex_longitude":"2d7bcf80","hex_latitude":"05dd86e8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333762816001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378128993754284032,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923108630637768704,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:54] 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-08-11 20:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786460019000,"timestamp_ms":1786460019000,"timestamp_seconds":1786460019,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1509938"} 
[2026-08-11 20:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 20:25:54] 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-08-11 20: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-08-11 20:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":155173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":155173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":155173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:25:54] 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-08-11 20:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333762816001,"66":27234,"169":206,"85":15104,"24":45,"16":378128993754284032,"45":8923108630637768704},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-11 20:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333762816001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:25:54] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-11 20:25:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378128993754284032,"km_value":378128993754284.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923108630637768704,"description":"Unknown IO ID 45"} 
[2026-08-11 20:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333762816001,"power":27234,"unknown_169":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8923108630637768704}} 
[2026-08-11 20:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":155173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:25:54] local.INFO: GPS data processed {"connection_id":155173,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:25:54] local.INFO: Acknowledgment sent {"connection_id":155173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:25:55] local.INFO: TCP Data received {"connection_id":155173,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff150b878012d7bc9c005ddaa080000015d23..."} 
[2026-08-11 20:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff150b878012d7bc9c005ddaa080000015d23..."} 
[2026-08-11 20:25:55] local.INFO: Processing buffer {"connection_id":155173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff150b878012d7bc9c005ddaa080000015d23..."} 
[2026-08-11 20:25:55] local.INFO: Packet analysis {"connection_id":155173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:25:55] local.INFO: Extracted packet for processing {"connection_id":155173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:25:55] local.INFO: GPS Element Parsed {"raw_longitude":763087296,"raw_latitude":98413064,"longitude_deg":76.3087296,"latitude_deg":9.8413064,"altitude":0,"angle":349,"satellites":35,"speed":44,"hex_longitude":"2d7bc9c0","hex_latitude":"05ddaa08","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333764864001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378129436135915520,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921490149524039680,"note":"Value kept but may cause issues"} 
[2026-08-11 20:25:55] 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-08-11 20:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786460027000,"timestamp_ms":1786460027000,"timestamp_seconds":1786460027,"priority":1,"record_length":96,"hex_timestamp":"0000019ff150b878"} 
[2026-08-11 20:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 20:25:55] 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-08-11 20: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-08-11 20:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:25:55] 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-08-11 20:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333764864001,"66":27343,"169":206,"85":15104,"24":44,"16":378129436135915520,"45":8921490149524039680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-11 20:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333764864001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:25:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-11 20:25:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378129436135915520,"km_value":378129436135915.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921490149524039680,"description":"Unknown IO ID 45"} 
[2026-08-11 20:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333764864001,"power":27343,"unknown_169":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8921490149524039680}} 
[2026-08-11 20:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":155173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:25:55] local.INFO: GPS data processed {"connection_id":155173,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:25:55] local.INFO: Acknowledgment sent {"connection_id":155173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:26:15] local.INFO: TCP Data received {"connection_id":152870,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:26:15] local.INFO: Processing buffer {"connection_id":152870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:26:15] local.INFO: Packet analysis {"connection_id":152870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:26:15] local.INFO: Extracted packet for processing {"connection_id":152870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333662976001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786459922000,"timestamp_ms":1786459922000,"timestamp_seconds":1786459922,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14f1e50"} 
[2026-08-11 20:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:26:15] 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-08-11 20: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-08-11 20:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333662976001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333662976001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:26:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333662976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":152870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:26:15] local.INFO: GPS data processed {"connection_id":152870,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:26:15] local.INFO: Acknowledgment sent {"connection_id":152870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:26:19] local.INFO: TCP Data received {"connection_id":155174,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:26:19] local.INFO: Processing buffer {"connection_id":155174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:26:19] local.INFO: IMEI packet received {"connection_id":155174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":155174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:26:19] local.INFO: TCP Data received {"connection_id":155174,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:26:19] local.INFO: Processing buffer {"connection_id":155174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:26:19] local.INFO: IMEI packet received {"connection_id":155174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":155174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:26:24] local.INFO: TCP Data received {"connection_id":155174,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:26:24] local.INFO: Processing buffer {"connection_id":155174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:26:24] local.INFO: IMEI packet received {"connection_id":155174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":155174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:26:24] local.INFO: TCP Data received {"connection_id":155174,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff150d7b8012d7bc38005ddcda80000015c27..."} 
[2026-08-11 20:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff150d7b8012d7bc38005ddcda80000015c27..."} 
[2026-08-11 20:26:24] local.INFO: Processing buffer {"connection_id":155174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff150d7b8012d7bc38005ddcda80000015c27..."} 
[2026-08-11 20:26:24] local.INFO: Packet analysis {"connection_id":155174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:26:24] local.INFO: Extracted packet for processing {"connection_id":155174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:26:24] local.INFO: GPS Element Parsed {"raw_longitude":763085696,"raw_latitude":98422184,"longitude_deg":76.3085696,"latitude_deg":9.8422184,"altitude":0,"angle":348,"satellites":39,"speed":44,"hex_longitude":"2d7bc380","hex_latitude":"05ddcda8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333766912001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919871668410255360,"note":"Value kept but may cause issues"} 
[2026-08-11 20:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378129882812514304,"note":"Value kept but may cause issues"} 
[2026-08-11 20:26:24] 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-08-11 20:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786460035000,"timestamp_ms":1786460035000,"timestamp_seconds":1786460035,"priority":1,"record_length":96,"hex_timestamp":"0000019ff150d7b8"} 
[2026-08-11 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-08-11 20:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 20:26:24] 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-08-11 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-08-11 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-08-11 20:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:26:24] 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-08-11 20:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333766912001,"66":27245,"45":8919871668410255360,"85":15104,"24":44,"16":378129882812514304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-11 20:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333766912001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919871668410255360,"description":"Unknown IO ID 45"} 
[2026-08-11 20:26:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378129882812514304,"km_value":378129882812514.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:26:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457333766912001,"power":27245,"unknown_45":8919871668410255360,"unknown_85":15104,"ignition":44,"odometer":null}} 
[2026-08-11 20:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":155174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:26:24] local.INFO: GPS data processed {"connection_id":155174,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:26:24] local.INFO: Acknowledgment sent {"connection_id":155174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:26:28] local.INFO: TCP Data received {"connection_id":155174,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff150fae0012d7bbbc005ddf0800000015d29..."} 
[2026-08-11 20:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff150fae0012d7bbbc005ddf0800000015d29..."} 
[2026-08-11 20:26:28] local.INFO: Processing buffer {"connection_id":155174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff150fae0012d7bbbc005ddf0800000015d29..."} 
[2026-08-11 20:26:28] local.INFO: Packet analysis {"connection_id":155174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:26:28] local.INFO: Extracted packet for processing {"connection_id":155174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff150"} 
[2026-08-11 20:26:28] local.INFO: GPS Element Parsed {"raw_longitude":763083712,"raw_latitude":98431104,"longitude_deg":76.3083712,"latitude_deg":9.8431104,"altitude":0,"angle":349,"satellites":41,"speed":39,"hex_longitude":"2d7bbbc0","hex_latitude":"05ddf080","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333768960001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918112449808148480,"note":"Value kept but may cause issues"} 
[2026-08-11 20:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378130325194145792,"note":"Value kept but may cause issues"} 
[2026-08-11 20:26:28] 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-08-11 20:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786460044000,"timestamp_ms":1786460044000,"timestamp_seconds":1786460044,"priority":1,"record_length":96,"hex_timestamp":"0000019ff150fae0"} 
[2026-08-11 20:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 20:26:28] 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-08-11 20: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-08-11 20:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":155174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":155174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":155174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:26:28] 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-08-11 20:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333768960001,"66":27365,"45":8918112449808148480,"85":15104,"24":39,"16":378130325194145792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-11 20:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333768960001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918112449808148480,"description":"Unknown IO ID 45"} 
[2026-08-11 20:26:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378130325194145792,"km_value":378130325194145.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:26:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457333768960001,"power":27365,"unknown_45":8918112449808148480,"unknown_85":15104,"ignition":39,"odometer":null}} 
[2026-08-11 20:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":155174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:26:28] local.INFO: GPS data processed {"connection_id":155174,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:26:28] local.INFO: Acknowledgment sent {"connection_id":155174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:26:38] local.INFO: TCP Data received {"connection_id":152453,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:26:38] local.INFO: Processing buffer {"connection_id":152453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:26:38] local.INFO: IMEI packet received {"connection_id":152453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":152453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:26:43] local.INFO: TCP Data received {"connection_id":152453,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:26:43] local.INFO: Processing buffer {"connection_id":152453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:26:43] local.INFO: IMEI packet received {"connection_id":152453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":152453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:26:44] local.INFO: TCP Data received {"connection_id":152453,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:26:44] local.INFO: Processing buffer {"connection_id":152453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:26:44] local.INFO: Packet analysis {"connection_id":152453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:26:44] local.INFO: Extracted packet for processing {"connection_id":152453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:26: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-08-11 20:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333662976001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786459922000,"timestamp_ms":1786459922000,"timestamp_seconds":1786459922,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14f1e50"} 
[2026-08-11 20:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 20:26: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:26:44] 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-08-11 20:26: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-08-11 20:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333662976001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333662976001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:26:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:26:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333662976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":152453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:26:44] local.INFO: GPS data processed {"connection_id":152453,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:26:44] local.INFO: Acknowledgment sent {"connection_id":152453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:26:59] local.INFO: TCP Data received {"connection_id":155174,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff152b830012d7b858005dfa4b80000015f2b..."} 
[2026-08-11 20:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff152b830012d7b858005dfa4b80000015f2b..."} 
[2026-08-11 20:26:59] local.INFO: Processing buffer {"connection_id":155174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff152b830012d7b858005dfa4b80000015f2b..."} 
[2026-08-11 20:26:59] local.INFO: Packet analysis {"connection_id":155174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff152"} 
[2026-08-11 20:26:59] local.INFO: Extracted packet for processing {"connection_id":155174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff152"} 
[2026-08-11 20:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763069824,"raw_latitude":98542776,"longitude_deg":76.3069824,"latitude_deg":9.8542776,"altitude":0,"angle":351,"satellites":43,"speed":45,"hex_longitude":"2d7b8580","hex_latitude":"05dfa4b8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333798400001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378135788392546304,"note":"Value kept but may cause issues"} 
[2026-08-11 20:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138744908417024,"note":"Value kept but may cause issues"} 
[2026-08-11 20:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786460158000,"timestamp_ms":1786460158000,"timestamp_seconds":1786460158,"priority":1,"record_length":96,"hex_timestamp":"0000019ff152b830"} 
[2026-08-11 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-08-11 20:26:59] 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-08-11 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 20:26:59] 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-08-11 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-08-11 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-08-11 20:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":155174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":155174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":155174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:26:59] 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-08-11 20:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333798400001,"66":27300,"36":206,"85":15104,"24":45,"16":378135788392546304,"45":8902138744908417024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-08-11 20:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333798400001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:26:59] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 20:26:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378135788392546304,"km_value":378135788392546.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138744908417024,"description":"Unknown IO ID 45"} 
[2026-08-11 20:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333798400001,"power":27300,"unknown_36":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8902138744908417024}} 
[2026-08-11 20:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":155174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:26:59] local.INFO: GPS data processed {"connection_id":155174,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:26:59] local.INFO: Acknowledgment sent {"connection_id":155174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:27:15] local.INFO: TCP Data received {"connection_id":152453,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:27:15] local.INFO: Processing buffer {"connection_id":152453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff14f1e50012d196a00071fef68003b011828..."} 
[2026-08-11 20:27:15] local.INFO: Packet analysis {"connection_id":152453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:27:15] local.INFO: Extracted packet for processing {"connection_id":152453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff14f"} 
[2026-08-11 20:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333662976001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786459922000,"timestamp_ms":1786459922000,"timestamp_seconds":1786459922,"priority":1,"record_length":96,"hex_timestamp":"0000019ff14f1e50"} 
[2026-08-11 20:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:27:15] 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-08-11 20: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-08-11 20:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333662976001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333662976001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:27:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333662976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":152453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:27:15] local.INFO: GPS data processed {"connection_id":152453,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:27:15] local.INFO: Acknowledgment sent {"connection_id":152453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:27:19] local.INFO: TCP Data received {"connection_id":153796,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:27:19] local.INFO: Processing buffer {"connection_id":153796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:27:19] local.INFO: IMEI packet received {"connection_id":153796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":153796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:27:22] local.INFO: TCP Data received {"connection_id":153796,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:27:22] local.INFO: Processing buffer {"connection_id":153796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:27:22] local.INFO: IMEI packet received {"connection_id":153796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":153796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:27:23] local.INFO: TCP Data received {"connection_id":153796,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff152db58012d7b80c005dfc8300000015e2b..."} 
[2026-08-11 20:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff152db58012d7b80c005dfc8300000015e2b..."} 
[2026-08-11 20:27:23] local.INFO: Processing buffer {"connection_id":153796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff152db58012d7b80c005dfc8300000015e2b..."} 
[2026-08-11 20:27:23] local.INFO: Packet analysis {"connection_id":153796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff152"} 
[2026-08-11 20:27:23] local.INFO: Extracted packet for processing {"connection_id":153796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff152"} 
[2026-08-11 20:27:23] local.INFO: GPS Element Parsed {"raw_longitude":763068608,"raw_latitude":98551856,"longitude_deg":76.3068608,"latitude_deg":9.8551856,"altitude":0,"angle":350,"satellites":43,"speed":34,"hex_longitude":"2d7b80c0","hex_latitude":"05dfc830","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333800448001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378136235069145088,"note":"Value kept but may cause issues"} 
[2026-08-11 20:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001282959360,"note":"Value kept but may cause issues"} 
[2026-08-11 20:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786460167000,"timestamp_ms":1786460167000,"timestamp_seconds":1786460167,"priority":1,"record_length":96,"hex_timestamp":"0000019ff152db58"} 
[2026-08-11 20:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:27: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-08-11 20: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":164,"data_length":795,"current_offset":136} 
[2026-08-11 20:27:23] 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-08-11 20: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-08-11 20:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:27:23] 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-08-11 20:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333800448001,"66":27365,"36":206,"85":15104,"24":34,"16":378136235069145088,"45":8900661001282959360},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-08-11 20:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333800448001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:27:23] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 20:27:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378136235069145088,"km_value":378136235069145.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001282959360,"description":"Unknown IO ID 45"} 
[2026-08-11 20:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333800448001,"power":27365,"unknown_36":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8900661001282959360}} 
[2026-08-11 20:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":153796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:27:23] local.INFO: GPS data processed {"connection_id":153796,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:27:23] local.INFO: Acknowledgment sent {"connection_id":153796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:27:41] local.INFO: TCP Data received {"connection_id":152454,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:27:41] local.INFO: Processing buffer {"connection_id":152454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:27:41] local.INFO: IMEI packet received {"connection_id":152454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":152454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:27:43] local.INFO: TCP Data received {"connection_id":152454,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:27:43] local.INFO: Processing buffer {"connection_id":152454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:27:43] local.INFO: IMEI packet received {"connection_id":152454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":152454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:27:48] local.INFO: TCP Data received {"connection_id":152454,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:27:48] local.INFO: Processing buffer {"connection_id":152454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:27:48] local.INFO: IMEI packet received {"connection_id":152454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":152454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:27:49] local.INFO: TCP Data received {"connection_id":152454,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:27:49] local.INFO: Processing buffer {"connection_id":152454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:27:49] local.INFO: Packet analysis {"connection_id":152454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:27:49] local.INFO: Extracted packet for processing {"connection_id":152454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:27: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-08-11 20:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333740032001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:27: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-08-11 20:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786460223000,"timestamp_ms":1786460223000,"timestamp_seconds":1786460223,"priority":1,"record_length":96,"hex_timestamp":"0000019ff153b618"} 
[2026-08-11 20:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:27:49] 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-08-11 20:27: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:27:49] 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-08-11 20:27: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-08-11 20:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333740032001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333740032001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:27:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:27:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333740032001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":152454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:27:49] local.INFO: GPS data processed {"connection_id":152454,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:27:49] local.INFO: Acknowledgment sent {"connection_id":152454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:27:54] local.INFO: TCP Data received {"connection_id":153796,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1530268012d7b7b8005dfeea80000015e26..."} 
[2026-08-11 20:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1530268012d7b7b8005dfeea80000015e26..."} 
[2026-08-11 20:27:54] local.INFO: Processing buffer {"connection_id":153796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1530268012d7b7b8005dfeea80000015e26..."} 
[2026-08-11 20:27:54] local.INFO: Packet analysis {"connection_id":153796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:27:54] local.INFO: Extracted packet for processing {"connection_id":153796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763067264,"raw_latitude":98561704,"longitude_deg":76.3067264,"latitude_deg":9.8561704,"altitude":0,"angle":350,"satellites":38,"speed":43,"hex_longitude":"2d7b7b80","hex_latitude":"05dfeea8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333802752001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378136716105482240,"note":"Value kept but may cause issues"} 
[2026-08-11 20:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899323995145908224,"note":"Value kept but may cause issues"} 
[2026-08-11 20:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786460177000,"timestamp_ms":1786460177000,"timestamp_seconds":1786460177,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1530268"} 
[2026-08-11 20:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:27: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-08-11 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:27:54] 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-08-11 20: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-08-11 20:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":153796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":153796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":153796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:27:54] 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-08-11 20:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333802752001,"66":27343,"35":206,"85":15104,"24":43,"16":378136716105482240,"45":8899323995145908224},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-08-11 20:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333802752001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:27:54] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-11 20:27:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378136716105482240,"km_value":378136716105482.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899323995145908224,"description":"Unknown IO ID 45"} 
[2026-08-11 20:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333802752001,"power":27343,"unknown_35":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8899323995145908224}} 
[2026-08-11 20:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":153796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:27:54] local.INFO: GPS data processed {"connection_id":153796,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:27:54] local.INFO: Acknowledgment sent {"connection_id":153796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:27:56] local.INFO: TCP Data received {"connection_id":152454,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:27:56] local.INFO: Processing buffer {"connection_id":152454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:27:56] local.INFO: Packet analysis {"connection_id":152454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:27:56] local.INFO: Extracted packet for processing {"connection_id":152454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:27:56] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333740032001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:27: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-08-11 20:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786460223000,"timestamp_ms":1786460223000,"timestamp_seconds":1786460223,"priority":1,"record_length":96,"hex_timestamp":"0000019ff153b618"} 
[2026-08-11 20:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:27:56] 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-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:27:56] 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-08-11 20: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-08-11 20:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333740032001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333740032001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:27:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:27:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333740032001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":152454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:27:56] local.INFO: GPS data processed {"connection_id":152454,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:27:56] local.INFO: Acknowledgment sent {"connection_id":152454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:28:08] local.INFO: TCP Data received {"connection_id":152455,"ip":"91.238.181.92","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-11 20:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152455,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-11 20:28:08] local.INFO: Processing buffer {"connection_id":152455,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-11 20:28:08] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":152455,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-08-11 20:28:19] local.INFO: TCP Data received {"connection_id":152456,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:28:19] local.INFO: Processing buffer {"connection_id":152456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:28:19] local.INFO: IMEI packet received {"connection_id":152456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":152456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:28:21] local.INFO: TCP Data received {"connection_id":152456,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:28:21] local.INFO: Processing buffer {"connection_id":152456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:28:21] local.INFO: IMEI packet received {"connection_id":152456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":152456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:28:24] local.INFO: TCP Data received {"connection_id":152456,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:28:24] local.INFO: Processing buffer {"connection_id":152456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:28:24] local.INFO: IMEI packet received {"connection_id":152456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":152456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:28:24] local.INFO: TCP Data received {"connection_id":152456,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15321a8012d7b770005e011500000015f26..."} 
[2026-08-11 20:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15321a8012d7b770005e011500000015f26..."} 
[2026-08-11 20:28:24] local.INFO: Processing buffer {"connection_id":152456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15321a8012d7b770005e011500000015f26..."} 
[2026-08-11 20:28:24] local.INFO: Packet analysis {"connection_id":152456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:28:24] local.INFO: Extracted packet for processing {"connection_id":152456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:28:24] local.INFO: GPS Element Parsed {"raw_longitude":763066112,"raw_latitude":98570576,"longitude_deg":76.3066112,"latitude_deg":9.8570576,"altitude":0,"angle":351,"satellites":38,"speed":44,"hex_longitude":"2d7b7700","hex_latitude":"05e01150","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333805312001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378137149897179136,"note":"Value kept but may cause issues"} 
[2026-08-11 20:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897846251520698368,"note":"Value kept but may cause issues"} 
[2026-08-11 20:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786460185000,"timestamp_ms":1786460185000,"timestamp_seconds":1786460185,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15321a8"} 
[2026-08-11 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-08-11 20:28: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-08-11 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 20:28:24] 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-08-11 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-08-11 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-08-11 20:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:28:24] 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-08-11 20:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333805312001,"66":27321,"35":206,"85":15104,"24":44,"16":378137149897179136,"45":8897846251520698368},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-08-11 20:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333805312001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:28:24] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-11 20:28:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378137149897179136,"km_value":378137149897179.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897846251520698368,"description":"Unknown IO ID 45"} 
[2026-08-11 20:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333805312001,"power":27321,"unknown_35":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8897846251520698368}} 
[2026-08-11 20:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":152456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:28:24] local.INFO: GPS data processed {"connection_id":152456,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:28:24] local.INFO: Acknowledgment sent {"connection_id":152456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:28:29] local.INFO: TCP Data received {"connection_id":152456,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15344d0012d7b724005e037a80000016128..."} 
[2026-08-11 20:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15344d0012d7b724005e037a80000016128..."} 
[2026-08-11 20:28:29] local.INFO: Processing buffer {"connection_id":152456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15344d0012d7b724005e037a80000016128..."} 
[2026-08-11 20:28:29] local.INFO: Packet analysis {"connection_id":152456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:28:29] local.INFO: Extracted packet for processing {"connection_id":152456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:28:29] local.INFO: GPS Element Parsed {"raw_longitude":763064896,"raw_latitude":98580392,"longitude_deg":76.3064896,"latitude_deg":9.8580392,"altitude":0,"angle":353,"satellites":40,"speed":44,"hex_longitude":"2d7b7240","hex_latitude":"05e037a8","is_valid_coordinates":true} 
[2026-08-11 20:28: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-08-11 20:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333807360001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378137630933516288,"note":"Value kept but may cause issues"} 
[2026-08-11 20:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896579614127771648,"note":"Value kept but may cause issues"} 
[2026-08-11 20:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786460194000,"timestamp_ms":1786460194000,"timestamp_seconds":1786460194,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15344d0"} 
[2026-08-11 20:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:28: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":185,"data_length":795,"current_offset":136} 
[2026-08-11 20:28:29] 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-08-11 20:28: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-08-11 20:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:28:29] 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-08-11 20:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333807360001,"66":27332,"35":206,"85":15104,"24":44,"16":378137630933516288,"45":8896579614127771648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-08-11 20:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333807360001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:28:29] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-11 20:28:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378137630933516288,"km_value":378137630933516.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896579614127771648,"description":"Unknown IO ID 45"} 
[2026-08-11 20:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333807360001,"power":27332,"unknown_35":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8896579614127771648}} 
[2026-08-11 20:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":152456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:28:29] local.INFO: GPS data processed {"connection_id":152456,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:28:29] local.INFO: Acknowledgment sent {"connection_id":152456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:28:38] local.INFO: TCP Data received {"connection_id":152457,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:28:38] local.INFO: Processing buffer {"connection_id":152457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:28:38] local.INFO: IMEI packet received {"connection_id":152457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":152457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:28:43] local.INFO: TCP Data received {"connection_id":152457,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:28:43] local.INFO: Processing buffer {"connection_id":152457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:28:43] local.INFO: IMEI packet received {"connection_id":152457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":152457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:28:44] local.INFO: TCP Data received {"connection_id":152457,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:28:44] local.INFO: Processing buffer {"connection_id":152457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:28:44] local.INFO: Packet analysis {"connection_id":152457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:28:44] local.INFO: Extracted packet for processing {"connection_id":152457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:28:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:28: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-08-11 20:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333740032001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786460223000,"timestamp_ms":1786460223000,"timestamp_seconds":1786460223,"priority":1,"record_length":96,"hex_timestamp":"0000019ff153b618"} 
[2026-08-11 20:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:28:44] 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-08-11 20:28: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:28:44] 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-08-11 20:28: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-08-11 20:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333740032001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333740032001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:28:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:28:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333740032001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":152457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:28:44] local.INFO: GPS data processed {"connection_id":152457,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:28:44] local.INFO: Acknowledgment sent {"connection_id":152457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:29:00] local.INFO: TCP Data received {"connection_id":152456,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15367f8012d7b6e0005e05bc80000016229..."} 
[2026-08-11 20:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15367f8012d7b6e0005e05bc80000016229..."} 
[2026-08-11 20:29:00] local.INFO: Processing buffer {"connection_id":152456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15367f8012d7b6e0005e05bc80000016229..."} 
[2026-08-11 20:29:00] local.INFO: Packet analysis {"connection_id":152456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:29:00] local.INFO: Extracted packet for processing {"connection_id":152456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763063808,"raw_latitude":98589640,"longitude_deg":76.3063808,"latitude_deg":9.858964,"altitude":0,"angle":354,"satellites":41,"speed":40,"hex_longitude":"2d7b6e00","hex_latitude":"05e05bc8","is_valid_coordinates":true} 
[2026-08-11 20:29: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-08-11 20:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333809664001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378138081905082368,"note":"Value kept but may cause issues"} 
[2026-08-11 20:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895242607990908928,"note":"Value kept but may cause issues"} 
[2026-08-11 20:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786460203000,"timestamp_ms":1786460203000,"timestamp_seconds":1786460203,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15367f8"} 
[2026-08-11 20:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:29: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-08-11 20:29: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-08-11 20:29: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-08-11 20:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:29:00] 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-08-11 20:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333809664001,"66":27267,"217":206,"85":15104,"24":40,"16":378138081905082368,"45":8895242607990908928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-11 20:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333809664001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:29:00] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-11 20:29:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378138081905082368,"km_value":378138081905082.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895242607990908928,"description":"Unknown IO ID 45"} 
[2026-08-11 20:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333809664001,"power":27267,"unknown_217":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8895242607990908928}} 
[2026-08-11 20:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":152456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:29:00] local.INFO: GPS data processed {"connection_id":152456,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:29:00] local.INFO: Acknowledgment sent {"connection_id":152456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:29:15] local.INFO: TCP Data received {"connection_id":152457,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:29:15] local.INFO: Processing buffer {"connection_id":152457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:29:15] local.INFO: Packet analysis {"connection_id":152457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:29:15] local.INFO: Extracted packet for processing {"connection_id":152457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:29:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333740032001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786460223000,"timestamp_ms":1786460223000,"timestamp_seconds":1786460223,"priority":1,"record_length":96,"hex_timestamp":"0000019ff153b618"} 
[2026-08-11 20:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:29:15] 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-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:29:15] 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-08-11 20: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-08-11 20:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333740032001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333740032001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:29:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:29:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333740032001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":152457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:29:15] local.INFO: GPS data processed {"connection_id":152457,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:29:15] local.INFO: Acknowledgment sent {"connection_id":152457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:29:19] local.INFO: TCP Data received {"connection_id":153797,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:29:19] local.INFO: Processing buffer {"connection_id":153797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:29:19] local.INFO: IMEI packet received {"connection_id":153797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":153797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:29:21] local.INFO: TCP Data received {"connection_id":153797,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:29:21] local.INFO: Processing buffer {"connection_id":153797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:29:21] local.INFO: IMEI packet received {"connection_id":153797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":153797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:29:23] local.INFO: TCP Data received {"connection_id":153797,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:29:23] local.INFO: Processing buffer {"connection_id":153797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:29:23] local.INFO: IMEI packet received {"connection_id":153797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":153797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:29:26] local.INFO: TCP Data received {"connection_id":153797,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1538f08012d7b69c005e082080000016129..."} 
[2026-08-11 20:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1538f08012d7b69c005e082080000016129..."} 
[2026-08-11 20:29:26] local.INFO: Processing buffer {"connection_id":153797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1538f08012d7b69c005e082080000016129..."} 
[2026-08-11 20:29:26] local.INFO: Packet analysis {"connection_id":153797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:29:26] local.INFO: Extracted packet for processing {"connection_id":153797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:29:26] local.INFO: GPS Element Parsed {"raw_longitude":763062720,"raw_latitude":98599432,"longitude_deg":76.306272,"latitude_deg":9.8599432,"altitude":0,"angle":353,"satellites":41,"speed":40,"hex_longitude":"2d7b69c0","hex_latitude":"05e08208","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333811968001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378138558646452224,"note":"Value kept but may cause issues"} 
[2026-08-11 20:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894046339342256128,"note":"Value kept but may cause issues"} 
[2026-08-11 20:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786460213000,"timestamp_ms":1786460213000,"timestamp_seconds":1786460213,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1538f08"} 
[2026-08-11 20:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 20:29: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-08-11 20: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-08-11 20:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:29:26] 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-08-11 20:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333811968001,"66":27332,"217":206,"85":15104,"24":40,"16":378138558646452224,"45":8894046339342256128},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-11 20:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333811968001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:29:26] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-11 20:29:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378138558646452224,"km_value":378138558646452.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894046339342256128,"description":"Unknown IO ID 45"} 
[2026-08-11 20:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333811968001,"power":27332,"unknown_217":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8894046339342256128}} 
[2026-08-11 20:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":153797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:29:26] local.INFO: GPS data processed {"connection_id":153797,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:29:26] local.INFO: Acknowledgment sent {"connection_id":153797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:29:38] local.INFO: TCP Data received {"connection_id":152871,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:29:38] local.INFO: Processing buffer {"connection_id":152871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:29:38] local.INFO: IMEI packet received {"connection_id":152871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":152871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:29:43] local.INFO: TCP Data received {"connection_id":152871,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:29:43] local.INFO: Processing buffer {"connection_id":152871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:29:43] local.INFO: IMEI packet received {"connection_id":152871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":152871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:29:44] local.INFO: TCP Data received {"connection_id":152871,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:29:44] local.INFO: Processing buffer {"connection_id":152871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:29:44] local.INFO: Packet analysis {"connection_id":152871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:29:44] local.INFO: Extracted packet for processing {"connection_id":152871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:29:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:29: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-08-11 20:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333740032001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786460223000,"timestamp_ms":1786460223000,"timestamp_seconds":1786460223,"priority":1,"record_length":96,"hex_timestamp":"0000019ff153b618"} 
[2026-08-11 20:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:29:44] 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-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:29:44] 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-08-11 20: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-08-11 20:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333740032001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333740032001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:29:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:29:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333740032001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":152871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:29:44] local.INFO: GPS data processed {"connection_id":152871,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:29:44] local.INFO: Acknowledgment sent {"connection_id":152871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:30:04] local.INFO: TCP Data received {"connection_id":153797,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff153b230012d7b64c005e0a8300000016028..."} 
[2026-08-11 20:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff153b230012d7b64c005e0a8300000016028..."} 
[2026-08-11 20:30:04] local.INFO: Processing buffer {"connection_id":153797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff153b230012d7b64c005e0a8300000016028..."} 
[2026-08-11 20:30:04] local.INFO: Packet analysis {"connection_id":153797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:30:04] local.INFO: Extracted packet for processing {"connection_id":153797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763061440,"raw_latitude":98609200,"longitude_deg":76.306144,"latitude_deg":9.86092,"altitude":0,"angle":352,"satellites":40,"speed":45,"hex_longitude":"2d7b64c0","hex_latitude":"05e0a830","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333814528001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378139035387822080,"note":"Value kept but may cause issues"} 
[2026-08-11 20:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892850070693742592,"note":"Value kept but may cause issues"} 
[2026-08-11 20:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786460222000,"timestamp_ms":1786460222000,"timestamp_seconds":1786460222,"priority":1,"record_length":96,"hex_timestamp":"0000019ff153b230"} 
[2026-08-11 20:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":196,"data_length":795,"current_offset":136} 
[2026-08-11 20:30: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-08-11 20: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-08-11 20:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":153797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":153797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":153797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:30: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-08-11 20:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333814528001,"66":27213,"217":206,"85":15104,"24":45,"16":378139035387822080,"45":8892850070693742592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-11 20:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333814528001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:30:04] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-11 20:30:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378139035387822080,"km_value":378139035387822.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892850070693742592,"description":"Unknown IO ID 45"} 
[2026-08-11 20:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333814528001,"power":27213,"unknown_217":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8892850070693742592}} 
[2026-08-11 20:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":153797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:30:04] local.INFO: GPS data processed {"connection_id":153797,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:30:04] local.INFO: Acknowledgment sent {"connection_id":153797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:30:15] local.INFO: TCP Data received {"connection_id":152871,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:30:15] local.INFO: Processing buffer {"connection_id":152871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:30:15] local.INFO: Packet analysis {"connection_id":152871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:30:15] local.INFO: Extracted packet for processing {"connection_id":152871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333740032001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786460223000,"timestamp_ms":1786460223000,"timestamp_seconds":1786460223,"priority":1,"record_length":96,"hex_timestamp":"0000019ff153b618"} 
[2026-08-11 20:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:30:15] 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-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:30:15] 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-08-11 20: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-08-11 20:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333740032001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333740032001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:30:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333740032001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":152871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:30:15] local.INFO: GPS data processed {"connection_id":152871,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:30:15] local.INFO: Acknowledgment sent {"connection_id":152871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:30:18] local.INFO: TCP Data received {"connection_id":152872,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:30:18] local.INFO: Processing buffer {"connection_id":152872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:30:18] local.INFO: IMEI packet received {"connection_id":152872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":152872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:30:24] local.INFO: TCP Data received {"connection_id":152872,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:30:24] local.INFO: Processing buffer {"connection_id":152872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:30:24] local.INFO: IMEI packet received {"connection_id":152872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":152872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:30:25] local.INFO: TCP Data received {"connection_id":152872,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:30:25] local.INFO: Processing buffer {"connection_id":152872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:30:25] local.INFO: IMEI packet received {"connection_id":152872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":152872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:30:30] local.INFO: TCP Data received {"connection_id":152872,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1559690012d7b2d0005e22d08000500052d..."} 
[2026-08-11 20:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1559690012d7b2d0005e22d08000500052d..."} 
[2026-08-11 20:30:30] local.INFO: Processing buffer {"connection_id":152872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1559690012d7b2d0005e22d08000500052d..."} 
[2026-08-11 20:30:30] local.INFO: Packet analysis {"connection_id":152872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff155"} 
[2026-08-11 20:30:30] local.INFO: Extracted packet for processing {"connection_id":152872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff155"} 
[2026-08-11 20:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763047168,"raw_latitude":98708744,"longitude_deg":76.3047168,"latitude_deg":9.8708744,"altitude":5,"angle":5,"satellites":45,"speed":13,"hex_longitude":"2d7b2d00","hex_latitude":"05e22d08","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333848064001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378143918765637632,"note":"Value kept but may cause issues"} 
[2026-08-11 20:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875750465886351360,"note":"Value kept but may cause issues"} 
[2026-08-11 20:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786460346000,"timestamp_ms":1786460346000,"timestamp_seconds":1786460346,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1559690"} 
[2026-08-11 20:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 20:30: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-08-11 20: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-08-11 20:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:30:30] 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-08-11 20:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333848064001,"66":27376,"96":206,"85":15104,"24":13,"16":378143918765637632,"45":8875750465886351360},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 20:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333848064001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:30:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 20:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378143918765637632,"km_value":378143918765637.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875750465886351360,"description":"Unknown IO ID 45"} 
[2026-08-11 20:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333848064001,"power":27376,"unknown_96":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8875750465886351360}} 
[2026-08-11 20:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":152872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:30:30] local.INFO: GPS data processed {"connection_id":152872,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:30:30] local.INFO: Acknowledgment sent {"connection_id":152872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:30:31] local.INFO: TCP Data received {"connection_id":152872,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1559e60012d7b2cc005e230400005015e2e..."} 
[2026-08-11 20:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1559e60012d7b2cc005e230400005015e2e..."} 
[2026-08-11 20:30:31] local.INFO: Processing buffer {"connection_id":152872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1559e60012d7b2cc005e230400005015e2e..."} 
[2026-08-11 20:30:31] local.INFO: Packet analysis {"connection_id":152872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff155"} 
[2026-08-11 20:30:31] local.INFO: Extracted packet for processing {"connection_id":152872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff155"} 
[2026-08-11 20:30:31] local.INFO: GPS Element Parsed {"raw_longitude":763047104,"raw_latitude":98709568,"longitude_deg":76.3047104,"latitude_deg":9.8709568,"altitude":5,"angle":350,"satellites":46,"speed":17,"hex_longitude":"2d7b2cc0","hex_latitude":"05e23040","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333848576001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378143957420343296,"note":"Value kept but may cause issues"} 
[2026-08-11 20:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875750465886554112,"note":"Value kept but may cause issues"} 
[2026-08-11 20:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786460348000,"timestamp_ms":1786460348000,"timestamp_seconds":1786460348,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1559e60"} 
[2026-08-11 20:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 20:30:31] 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-08-11 20: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-08-11 20:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:30:31] 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-08-11 20:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333848576001,"66":27397,"96":206,"85":15104,"24":17,"16":378143957420343296,"45":8875750465886554112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 20:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333848576001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:30:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 20:30:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378143957420343296,"km_value":378143957420343.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875750465886554112,"description":"Unknown IO ID 45"} 
[2026-08-11 20:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333848576001,"power":27397,"unknown_96":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8875750465886554112}} 
[2026-08-11 20:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":152872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:30:31] local.INFO: GPS data processed {"connection_id":152872,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:30:31] local.INFO: Acknowledgment sent {"connection_id":152872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:30:38] local.INFO: TCP Data received {"connection_id":152873,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:30:38] local.INFO: Processing buffer {"connection_id":152873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:30:38] local.INFO: IMEI packet received {"connection_id":152873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":152873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:30:43] local.INFO: TCP Data received {"connection_id":152873,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:30:43] local.INFO: Processing buffer {"connection_id":152873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:30:43] local.INFO: IMEI packet received {"connection_id":152873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":152873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:30:44] local.INFO: TCP Data received {"connection_id":152873,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:30:44] local.INFO: Processing buffer {"connection_id":152873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:30:44] local.INFO: Packet analysis {"connection_id":152873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:30:44] local.INFO: Extracted packet for processing {"connection_id":152873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:30:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333740032001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786460223000,"timestamp_ms":1786460223000,"timestamp_seconds":1786460223,"priority":1,"record_length":96,"hex_timestamp":"0000019ff153b618"} 
[2026-08-11 20:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:30:44] 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-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:30:44] 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-08-11 20: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-08-11 20:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333740032001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333740032001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:30:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:30:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333740032001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":152873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:30:44] local.INFO: GPS data processed {"connection_id":152873,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:30:44] local.INFO: Acknowledgment sent {"connection_id":152873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:31:02] local.INFO: TCP Data received {"connection_id":152872,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff155e0c8012d7b290005e25180000600012c..."} 
[2026-08-11 20:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff155e0c8012d7b290005e25180000600012c..."} 
[2026-08-11 20:31:02] local.INFO: Processing buffer {"connection_id":152872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff155e0c8012d7b290005e25180000600012c..."} 
[2026-08-11 20:31:02] local.INFO: Packet analysis {"connection_id":152872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff155"} 
[2026-08-11 20:31:02] local.INFO: Extracted packet for processing {"connection_id":152872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff155"} 
[2026-08-11 20:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763046144,"raw_latitude":98718080,"longitude_deg":76.3046144,"latitude_deg":9.871808,"altitude":6,"angle":1,"satellites":44,"speed":12,"hex_longitude":"2d7b2900","hex_latitude":"05e25180","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333849088001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378144374032171008,"note":"Value kept but may cause issues"} 
[2026-08-11 20:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875680097142587392,"note":"Value kept but may cause issues"} 
[2026-08-11 20:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786460365000,"timestamp_ms":1786460365000,"timestamp_seconds":1786460365,"priority":1,"record_length":96,"hex_timestamp":"0000019ff155e0c8"} 
[2026-08-11 20:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:31:02] 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-08-11 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 20:31: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-08-11 20: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-08-11 20:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":152872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":152872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":152872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:31:02] 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-08-11 20:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333849088001,"66":27397,"96":206,"85":15104,"24":12,"16":378144374032171008,"45":8875680097142587392},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 20:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333849088001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:31:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 20:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378144374032171008,"km_value":378144374032171.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875680097142587392,"description":"Unknown IO ID 45"} 
[2026-08-11 20:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333849088001,"power":27397,"unknown_96":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8875680097142587392}} 
[2026-08-11 20:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":152872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:31:02] local.INFO: GPS data processed {"connection_id":152872,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:31:02] local.INFO: Acknowledgment sent {"connection_id":152872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:31:15] local.INFO: TCP Data received {"connection_id":152873,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:31:15] local.INFO: Processing buffer {"connection_id":152873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:31:15] local.INFO: Packet analysis {"connection_id":152873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:31:15] local.INFO: Extracted packet for processing {"connection_id":152873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333740032001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786460223000,"timestamp_ms":1786460223000,"timestamp_seconds":1786460223,"priority":1,"record_length":96,"hex_timestamp":"0000019ff153b618"} 
[2026-08-11 20:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:31:15] 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-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:31:15] 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-08-11 20: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-08-11 20:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333740032001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333740032001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:31:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333740032001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":152873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:31:15] local.INFO: GPS data processed {"connection_id":152873,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:31:15] local.INFO: Acknowledgment sent {"connection_id":152873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:31:24] local.INFO: TCP Data received {"connection_id":152458,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:31:24] local.INFO: Processing buffer {"connection_id":152458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:31:24] local.INFO: IMEI packet received {"connection_id":152458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":152458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:31:27] local.INFO: TCP Data received {"connection_id":152458,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:31:27] local.INFO: Processing buffer {"connection_id":152458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:31:27] local.INFO: IMEI packet received {"connection_id":152458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":152458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:31:28] local.INFO: TCP Data received {"connection_id":152458,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff155f068012d7b288005e256200006015b2b..."} 
[2026-08-11 20:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff155f068012d7b288005e256200006015b2b..."} 
[2026-08-11 20:31:28] local.INFO: Processing buffer {"connection_id":152458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff155f068012d7b288005e256200006015b2b..."} 
[2026-08-11 20:31:28] local.INFO: Packet analysis {"connection_id":152458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff155"} 
[2026-08-11 20:31:28] local.INFO: Extracted packet for processing {"connection_id":152458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff155"} 
[2026-08-11 20:31:28] local.INFO: GPS Element Parsed {"raw_longitude":763046016,"raw_latitude":98719264,"longitude_deg":76.3046016,"latitude_deg":9.8719264,"altitude":6,"angle":347,"satellites":43,"speed":12,"hex_longitude":"2d7b2880","hex_latitude":"05e25620","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333853440001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378144434161713152,"note":"Value kept but may cause issues"} 
[2026-08-11 20:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874624565982101504,"note":"Value kept but may cause issues"} 
[2026-08-11 20:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786460369000,"timestamp_ms":1786460369000,"timestamp_seconds":1786460369,"priority":1,"record_length":96,"hex_timestamp":"0000019ff155f068"} 
[2026-08-11 20:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 20:31:28] 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-08-11 20: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-08-11 20:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:31:28] 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-08-11 20:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333853440001,"66":26234,"96":206,"85":15104,"24":12,"16":378144434161713152,"45":8874624565982101504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 20:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333853440001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:31:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 20:31:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378144434161713152,"km_value":378144434161713.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874624565982101504,"description":"Unknown IO ID 45"} 
[2026-08-11 20:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333853440001,"power":26234,"unknown_96":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8874624565982101504}} 
[2026-08-11 20:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":152458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:31:28] local.INFO: GPS data processed {"connection_id":152458,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:31:28] local.INFO: Acknowledgment sent {"connection_id":152458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:31:29] local.INFO: TCP Data received {"connection_id":152458,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1562718012d7b23c005e278780004016029..."} 
[2026-08-11 20:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1562718012d7b23c005e278780004016029..."} 
[2026-08-11 20:31:29] local.INFO: Processing buffer {"connection_id":152458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1562718012d7b23c005e278780004016029..."} 
[2026-08-11 20:31:29] local.INFO: Packet analysis {"connection_id":152458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff156"} 
[2026-08-11 20:31:29] local.INFO: Extracted packet for processing {"connection_id":152458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff156"} 
[2026-08-11 20:31:29] local.INFO: GPS Element Parsed {"raw_longitude":763044800,"raw_latitude":98728056,"longitude_deg":76.30448,"latitude_deg":9.8728056,"altitude":4,"angle":352,"satellites":41,"speed":31,"hex_longitude":"2d7b23c0","hex_latitude":"05e27878","is_valid_coordinates":true} 
[2026-08-11 20:31: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-08-11 20:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333854464001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378144863658442752,"note":"Value kept but may cause issues"} 
[2026-08-11 20:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874483828494049280,"note":"Value kept but may cause issues"} 
[2026-08-11 20:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786460383000,"timestamp_ms":1786460383000,"timestamp_seconds":1786460383,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1562718"} 
[2026-08-11 20:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:31: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-08-11 20:31: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 20:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20:31: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-08-11 20:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:31:29] 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-08-11 20:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333854464001,"66":27245,"96":206,"85":15104,"24":31,"16":378144863658442752,"45":8874483828494049280},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 20:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333854464001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:31:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 20:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378144863658442752,"km_value":378144863658442.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874483828494049280,"description":"Unknown IO ID 45"} 
[2026-08-11 20:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333854464001,"power":27245,"unknown_96":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8874483828494049280}} 
[2026-08-11 20:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":152458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:31:29] local.INFO: GPS data processed {"connection_id":152458,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:31:29] local.INFO: Acknowledgment sent {"connection_id":152458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:31:38] local.INFO: TCP Data received {"connection_id":153798,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:31:38] local.INFO: Processing buffer {"connection_id":153798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:31:38] local.INFO: IMEI packet received {"connection_id":153798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":153798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:31:43] local.INFO: TCP Data received {"connection_id":153798,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:31:43] local.INFO: Processing buffer {"connection_id":153798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:31:43] local.INFO: IMEI packet received {"connection_id":153798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":153798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:31:44] local.INFO: TCP Data received {"connection_id":153798,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:31:44] local.INFO: Processing buffer {"connection_id":153798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:31:44] local.INFO: Packet analysis {"connection_id":153798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:31:44] local.INFO: Extracted packet for processing {"connection_id":153798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:31:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333740032001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786460223000,"timestamp_ms":1786460223000,"timestamp_seconds":1786460223,"priority":1,"record_length":96,"hex_timestamp":"0000019ff153b618"} 
[2026-08-11 20:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:31:44] 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-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:31:44] 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-08-11 20: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-08-11 20:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333740032001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333740032001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:31:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:31:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333740032001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":153798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:31:44] local.INFO: GPS data processed {"connection_id":153798,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:31:44] local.INFO: Acknowledgment sent {"connection_id":153798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:32:01] local.INFO: TCP Data received {"connection_id":152458,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1564e28012d7b1f0005e29b080003015e27..."} 
[2026-08-11 20:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1564e28012d7b1f0005e29b080003015e27..."} 
[2026-08-11 20:32:01] local.INFO: Processing buffer {"connection_id":152458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1564e28012d7b1f0005e29b080003015e27..."} 
[2026-08-11 20:32:01] local.INFO: Packet analysis {"connection_id":152458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff156"} 
[2026-08-11 20:32:01] local.INFO: Extracted packet for processing {"connection_id":152458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff156"} 
[2026-08-11 20:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763043584,"raw_latitude":98736904,"longitude_deg":76.3043584,"latitude_deg":9.8736904,"altitude":3,"angle":350,"satellites":39,"speed":39,"hex_longitude":"2d7b1f00","hex_latitude":"05e29b08","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333858048001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378145297450139648,"note":"Value kept but may cause issues"} 
[2026-08-11 20:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873146822356924416,"note":"Value kept but may cause issues"} 
[2026-08-11 20:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786460393000,"timestamp_ms":1786460393000,"timestamp_seconds":1786460393,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1564e28"} 
[2026-08-11 20:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 20:32:01] 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-08-11 20: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-08-11 20:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:32:01] 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-08-11 20:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333858048001,"66":27245,"96":206,"85":15104,"24":39,"16":378145297450139648,"45":8873146822356924416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 20:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333858048001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:32:01] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 20:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378145297450139648,"km_value":378145297450139.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873146822356924416,"description":"Unknown IO ID 45"} 
[2026-08-11 20:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333858048001,"power":27245,"unknown_96":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8873146822356924416}} 
[2026-08-11 20:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":152458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:32:01] local.INFO: GPS data processed {"connection_id":152458,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:32:01] local.INFO: Acknowledgment sent {"connection_id":152458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:32:15] local.INFO: TCP Data received {"connection_id":153798,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:32:15] local.INFO: Processing buffer {"connection_id":153798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff153b618012d196a00071fef68003b01182a..."} 
[2026-08-11 20:32:15] local.INFO: Packet analysis {"connection_id":153798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:32:15] local.INFO: Extracted packet for processing {"connection_id":153798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff153"} 
[2026-08-11 20:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333740032001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786460223000,"timestamp_ms":1786460223000,"timestamp_seconds":1786460223,"priority":1,"record_length":96,"hex_timestamp":"0000019ff153b618"} 
[2026-08-11 20:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:32:15] 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-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:32:15] 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-08-11 20: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-08-11 20:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333740032001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333740032001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:32:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333740032001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":153798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:32:15] local.INFO: GPS data processed {"connection_id":153798,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:32:15] local.INFO: Acknowledgment sent {"connection_id":153798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:32:19] local.INFO: TCP Data received {"connection_id":153799,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:32:19] local.INFO: Processing buffer {"connection_id":153799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:32:19] local.INFO: IMEI packet received {"connection_id":153799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":153799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:32:19] local.INFO: TCP Data received {"connection_id":153799,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:32:19] local.INFO: Processing buffer {"connection_id":153799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:32:19] local.INFO: IMEI packet received {"connection_id":153799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":153799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:32:22] local.INFO: TCP Data received {"connection_id":153799,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:32:22] local.INFO: Processing buffer {"connection_id":153799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:32:22] local.INFO: IMEI packet received {"connection_id":153799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":153799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:32:23] local.INFO: TCP Data received {"connection_id":153799,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1567150012d7b198005e2bf200004016026..."} 
[2026-08-11 20:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1567150012d7b198005e2bf200004016026..."} 
[2026-08-11 20:32:23] local.INFO: Processing buffer {"connection_id":153799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1567150012d7b198005e2bf200004016026..."} 
[2026-08-11 20:32:23] local.INFO: Packet analysis {"connection_id":153799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff156"} 
[2026-08-11 20:32:23] local.INFO: Extracted packet for processing {"connection_id":153799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff156"} 
[2026-08-11 20:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763042176,"raw_latitude":98746144,"longitude_deg":76.3042176,"latitude_deg":9.8746144,"altitude":4,"angle":352,"satellites":38,"speed":42,"hex_longitude":"2d7b1980","hex_latitude":"05e2bf20","is_valid_coordinates":true} 
[2026-08-11 20:32: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-08-11 20:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333860608001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378145752716673024,"note":"Value kept but may cause issues"} 
[2026-08-11 20:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871809816219813888,"note":"Value kept but may cause issues"} 
[2026-08-11 20:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786460402000,"timestamp_ms":1786460402000,"timestamp_seconds":1786460402,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1567150"} 
[2026-08-11 20:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:32: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-08-11 20:32: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":109,"data_length":795,"current_offset":136} 
[2026-08-11 20:32:23] 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-08-11 20:32: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-08-11 20:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:32:23] 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-08-11 20:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333860608001,"66":27463,"97":206,"85":15104,"24":42,"16":378145752716673024,"45":8871809816219813888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333860608001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:32:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:32:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378145752716673024,"km_value":378145752716673.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871809816219813888,"description":"Unknown IO ID 45"} 
[2026-08-11 20:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333860608001,"power":27463,"unknown_97":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8871809816219813888}} 
[2026-08-11 20:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":153799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:32:23] local.INFO: GPS data processed {"connection_id":153799,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:32:23] local.INFO: Acknowledgment sent {"connection_id":153799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:32:25] local.INFO: TCP Data received {"connection_id":153799,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1569478012d7b144005e2e5480005016026..."} 
[2026-08-11 20:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1569478012d7b144005e2e5480005016026..."} 
[2026-08-11 20:32:25] local.INFO: Processing buffer {"connection_id":153799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1569478012d7b144005e2e5480005016026..."} 
[2026-08-11 20:32:25] local.INFO: Packet analysis {"connection_id":153799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff156"} 
[2026-08-11 20:32:25] local.INFO: Extracted packet for processing {"connection_id":153799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff156"} 
[2026-08-11 20:32:25] local.INFO: GPS Element Parsed {"raw_longitude":763040832,"raw_latitude":98755912,"longitude_deg":76.3040832,"latitude_deg":9.8755912,"altitude":5,"angle":352,"satellites":38,"speed":43,"hex_longitude":"2d7b1440","hex_latitude":"05e2e548","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333862912001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378146229458042880,"note":"Value kept but may cause issues"} 
[2026-08-11 20:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870261703850270720,"note":"Value kept but may cause issues"} 
[2026-08-11 20:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786460411000,"timestamp_ms":1786460411000,"timestamp_seconds":1786460411,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1569478"} 
[2026-08-11 20:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 20:32:25] 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-08-11 20: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-08-11 20:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:32:25] 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-08-11 20:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333862912001,"66":27213,"97":206,"85":15104,"24":43,"16":378146229458042880,"45":8870261703850270720},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333862912001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:32:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:32:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378146229458042880,"km_value":378146229458042.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870261703850270720,"description":"Unknown IO ID 45"} 
[2026-08-11 20:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333862912001,"power":27213,"unknown_97":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8870261703850270720}} 
[2026-08-11 20:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":153799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:32:25] local.INFO: GPS data processed {"connection_id":153799,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:32:25] local.INFO: Acknowledgment sent {"connection_id":153799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:32:38] local.INFO: TCP Data received {"connection_id":155175,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:32:38] local.INFO: Processing buffer {"connection_id":155175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:32:38] local.INFO: IMEI packet received {"connection_id":155175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":155175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:32:42] local.INFO: TCP Data received {"connection_id":155175,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:32:42] local.INFO: Processing buffer {"connection_id":155175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:32:42] local.INFO: IMEI packet received {"connection_id":155175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":155175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:32:43] local.INFO: TCP Data received {"connection_id":155175,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:32:43] local.INFO: Processing buffer {"connection_id":155175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:32:43] local.INFO: IMEI packet received {"connection_id":155175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":155175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:32:43] local.INFO: TCP Data received {"connection_id":155175,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:32:43] local.INFO: Processing buffer {"connection_id":155175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:32:43] local.INFO: Packet analysis {"connection_id":155175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:32:43] local.INFO: Extracted packet for processing {"connection_id":155175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:32:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333817088001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786460524000,"timestamp_ms":1786460524000,"timestamp_seconds":1786460524,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1584de0"} 
[2026-08-11 20:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:32:43] 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-08-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:32:43] 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-08-11 20: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-08-11 20:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":155175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":155175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":155175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333817088001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333817088001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:32:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:32:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333817088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":155175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:32:43] local.INFO: GPS data processed {"connection_id":155175,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:32:43] local.INFO: Acknowledgment sent {"connection_id":155175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:33:14] local.INFO: TCP Data received {"connection_id":153799,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff156b7a0012d7b0ec005e30a580005015b1f..."} 
[2026-08-11 20:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff156b7a0012d7b0ec005e30a580005015b1f..."} 
[2026-08-11 20:33:14] local.INFO: Processing buffer {"connection_id":153799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff156b7a0012d7b0ec005e30a580005015b1f..."} 
[2026-08-11 20:33:14] local.INFO: Packet analysis {"connection_id":153799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff156"} 
[2026-08-11 20:33:14] local.INFO: Extracted packet for processing {"connection_id":153799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff156"} 
[2026-08-11 20:33:14] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98765400,"longitude_deg":76.3039424,"latitude_deg":9.87654,"altitude":5,"angle":347,"satellites":31,"speed":38,"hex_longitude":"2d7b0ec0","hex_latitude":"05e30a58","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333865216001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378146693314510848,"note":"Value kept but may cause issues"} 
[2026-08-11 20:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868783960225040384,"note":"Value kept but may cause issues"} 
[2026-08-11 20:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786460420000,"timestamp_ms":1786460420000,"timestamp_seconds":1786460420,"priority":1,"record_length":96,"hex_timestamp":"0000019ff156b7a0"} 
[2026-08-11 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-08-11 20:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-11 20:33:14] 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-08-11 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-08-11 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-08-11 20:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:33:14] 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-08-11 20:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333865216001,"66":27332,"97":206,"85":15104,"24":38,"16":378146693314510848,"45":8868783960225040384},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333865216001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:33:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:33:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378146693314510848,"km_value":378146693314510.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868783960225040384,"description":"Unknown IO ID 45"} 
[2026-08-11 20:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333865216001,"power":27332,"unknown_97":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8868783960225040384}} 
[2026-08-11 20:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":153799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:33:14] local.INFO: GPS data processed {"connection_id":153799,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:33:14] local.INFO: Acknowledgment sent {"connection_id":153799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:33:14] local.INFO: TCP Data received {"connection_id":155175,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:33:14] local.INFO: Processing buffer {"connection_id":155175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:33:14] local.INFO: Packet analysis {"connection_id":155175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:33:14] local.INFO: Extracted packet for processing {"connection_id":155175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333817088001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786460524000,"timestamp_ms":1786460524000,"timestamp_seconds":1786460524,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1584de0"} 
[2026-08-11 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-08-11 20:33:14] 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-08-11 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:33:14] 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-08-11 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-08-11 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-08-11 20:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333817088001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333817088001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:33:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333817088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":155175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:33:14] local.INFO: GPS data processed {"connection_id":155175,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:33:14] local.INFO: Acknowledgment sent {"connection_id":155175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:33:18] local.INFO: TCP Data received {"connection_id":155176,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:33:18] local.INFO: Processing buffer {"connection_id":155176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:33:18] local.INFO: IMEI packet received {"connection_id":155176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":155176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:33:23] local.INFO: TCP Data received {"connection_id":155176,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:33:23] local.INFO: Processing buffer {"connection_id":155176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:33:23] local.INFO: IMEI packet received {"connection_id":155176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":155176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:33:27] local.INFO: TCP Data received {"connection_id":155176,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1589048012d7ad18005e40300000a015c2b..."} 
[2026-08-11 20:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1589048012d7ad18005e40300000a015c2b..."} 
[2026-08-11 20:33:27] local.INFO: Processing buffer {"connection_id":155176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1589048012d7ad18005e40300000a015c2b..."} 
[2026-08-11 20:33:27] local.INFO: Packet analysis {"connection_id":155176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:33:27] local.INFO: Extracted packet for processing {"connection_id":155176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763023744,"raw_latitude":98829056,"longitude_deg":76.3023744,"latitude_deg":9.8829056,"altitude":10,"angle":348,"satellites":43,"speed":38,"hex_longitude":"2d7ad180","hex_latitude":"05e40300","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333895936001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378149893065146368,"note":"Value kept but may cause issues"} 
[2026-08-11 20:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852176936615544832,"note":"Value kept but may cause issues"} 
[2026-08-11 20:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786460541000,"timestamp_ms":1786460541000,"timestamp_seconds":1786460541,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1589048"} 
[2026-08-11 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-08-11 20:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 20:33:27] 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-08-11 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-08-11 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-08-11 20:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":155176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":155176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":155176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:33:27] 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-08-11 20:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333895936001,"66":26430,"97":206,"85":15104,"24":38,"16":378149893065146368,"45":8852176936615544832},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333895936001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:33:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378149893065146368,"km_value":378149893065146.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852176936615544832,"description":"Unknown IO ID 45"} 
[2026-08-11 20:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333895936001,"power":26430,"unknown_97":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8852176936615544832}} 
[2026-08-11 20:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":155176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:33:27] local.INFO: GPS data processed {"connection_id":155176,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:33:27] local.INFO: Acknowledgment sent {"connection_id":155176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:33:38] local.INFO: TCP Data received {"connection_id":153800,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:33:38] local.INFO: Processing buffer {"connection_id":153800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:33:38] local.INFO: IMEI packet received {"connection_id":153800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":153800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:33:43] local.INFO: TCP Data received {"connection_id":153800,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:33:43] local.INFO: Processing buffer {"connection_id":153800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:33:43] local.INFO: IMEI packet received {"connection_id":153800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":153800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:33:44] local.INFO: TCP Data received {"connection_id":153800,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:33:44] local.INFO: Processing buffer {"connection_id":153800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:33:44] local.INFO: Packet analysis {"connection_id":153800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:33:44] local.INFO: Extracted packet for processing {"connection_id":153800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:33:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:33: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-08-11 20:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333817088001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786460524000,"timestamp_ms":1786460524000,"timestamp_seconds":1786460524,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1584de0"} 
[2026-08-11 20:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:33:44] 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-08-11 20:33: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:33:44] 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-08-11 20:33: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-08-11 20:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333817088001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333817088001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:33:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:33:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333817088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":153800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:33:44] local.INFO: GPS data processed {"connection_id":153800,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:33:44] local.INFO: Acknowledgment sent {"connection_id":153800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:33:59] local.INFO: TCP Data received {"connection_id":155176,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1589fe8012d7acd0005e410d0000a014a2c..."} 
[2026-08-11 20:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1589fe8012d7acd0005e410d0000a014a2c..."} 
[2026-08-11 20:33:59] local.INFO: Processing buffer {"connection_id":155176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1589fe8012d7acd0005e410d0000a014a2c..."} 
[2026-08-11 20:33:59] local.INFO: Packet analysis {"connection_id":155176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:33:59] local.INFO: Extracted packet for processing {"connection_id":155176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763022592,"raw_latitude":98832592,"longitude_deg":76.3022592,"latitude_deg":9.8832592,"altitude":10,"angle":330,"satellites":44,"speed":32,"hex_longitude":"2d7acd00","hex_latitude":"05e410d0","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333898496001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378150073453772800,"note":"Value kept but may cause issues"} 
[2026-08-11 20:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849995505548328960,"note":"Value kept but may cause issues"} 
[2026-08-11 20:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786460545000,"timestamp_ms":1786460545000,"timestamp_seconds":1786460545,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1589fe8"} 
[2026-08-11 20:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 20:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20: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-08-11 20:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":155176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":155176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":155176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:33:59] 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-08-11 20:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333898496001,"66":27267,"97":206,"85":15104,"24":32,"16":378150073453772800,"45":8849995505548328960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333898496001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:33:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:33:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378150073453772800,"km_value":378150073453772.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849995505548328960,"description":"Unknown IO ID 45"} 
[2026-08-11 20:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333898496001,"power":27267,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8849995505548328960}} 
[2026-08-11 20:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":155176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:33:59] local.INFO: GPS data processed {"connection_id":155176,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:33:59] local.INFO: Acknowledgment sent {"connection_id":155176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:34:15] local.INFO: TCP Data received {"connection_id":153800,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:34:15] local.INFO: Processing buffer {"connection_id":153800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:34:15] local.INFO: Packet analysis {"connection_id":153800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:34:15] local.INFO: Extracted packet for processing {"connection_id":153800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:34: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-08-11 20:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333817088001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786460524000,"timestamp_ms":1786460524000,"timestamp_seconds":1786460524,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1584de0"} 
[2026-08-11 20:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:34:15] 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-08-11 20:34: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:34:15] 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-08-11 20:34: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-08-11 20:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333817088001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333817088001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:34:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333817088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":153800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:34:15] local.INFO: GPS data processed {"connection_id":153800,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:34:15] local.INFO: Acknowledgment sent {"connection_id":153800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:34:18] local.INFO: TCP Data received {"connection_id":152874,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:34:18] local.INFO: Processing buffer {"connection_id":152874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:34:18] local.INFO: IMEI packet received {"connection_id":152874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":152874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:34:19] local.INFO: TCP Data received {"connection_id":152874,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:34:19] local.INFO: Processing buffer {"connection_id":152874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:34:19] local.INFO: IMEI packet received {"connection_id":152874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":152874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:34:24] local.INFO: TCP Data received {"connection_id":152874,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:34:24] local.INFO: Processing buffer {"connection_id":152874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:34:24] local.INFO: IMEI packet received {"connection_id":152874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":152874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:34:27] local.INFO: TCP Data received {"connection_id":152874,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff158a7b8012d7ac90005e415f8000a013d2c..."} 
[2026-08-11 20:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff158a7b8012d7ac90005e415f8000a013d2c..."} 
[2026-08-11 20:34:27] local.INFO: Processing buffer {"connection_id":152874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff158a7b8012d7ac90005e415f8000a013d2c..."} 
[2026-08-11 20:34:27] local.INFO: Packet analysis {"connection_id":152874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:34:27] local.INFO: Extracted packet for processing {"connection_id":152874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:34:27] local.INFO: GPS Element Parsed {"raw_longitude":763021568,"raw_latitude":98833912,"longitude_deg":76.3021568,"latitude_deg":9.8833912,"altitude":10,"angle":317,"satellites":44,"speed":35,"hex_longitude":"2d7ac900","hex_latitude":"05e415f8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333899520001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378150155058151424,"note":"Value kept but may cause issues"} 
[2026-08-11 20:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848728868154036224,"note":"Value kept but may cause issues"} 
[2026-08-11 20:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786460547000,"timestamp_ms":1786460547000,"timestamp_seconds":1786460547,"priority":1,"record_length":96,"hex_timestamp":"0000019ff158a7b8"} 
[2026-08-11 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-08-11 20:34: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-08-11 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 20:34:27] 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-08-11 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-08-11 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-08-11 20:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:34:27] 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-08-11 20:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333899520001,"66":27300,"97":206,"85":15104,"24":35,"16":378150155058151424,"45":8848728868154036224},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-11 20:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333899520001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:34:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-11 20:34:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378150155058151424,"km_value":378150155058151.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848728868154036224,"description":"Unknown IO ID 45"} 
[2026-08-11 20:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333899520001,"power":27300,"unknown_97":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8848728868154036224}} 
[2026-08-11 20:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":152874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:34:27] local.INFO: GPS data processed {"connection_id":152874,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:34:27] local.INFO: Acknowledgment sent {"connection_id":152874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:34:38] local.INFO: TCP Data received {"connection_id":153801,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:34:38] local.INFO: Processing buffer {"connection_id":153801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:34:38] local.INFO: IMEI packet received {"connection_id":153801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":153801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:34:43] local.INFO: TCP Data received {"connection_id":153801,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:34:43] local.INFO: Processing buffer {"connection_id":153801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:34:43] local.INFO: IMEI packet received {"connection_id":153801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":153801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:34:44] local.INFO: TCP Data received {"connection_id":153801,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:34:44] local.INFO: Processing buffer {"connection_id":153801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:34:44] local.INFO: Packet analysis {"connection_id":153801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:34:44] local.INFO: Extracted packet for processing {"connection_id":153801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:34:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333817088001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786460524000,"timestamp_ms":1786460524000,"timestamp_seconds":1786460524,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1584de0"} 
[2026-08-11 20:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:34:44] 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-08-11 20: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:34:44] 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-08-11 20: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-08-11 20:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333817088001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333817088001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:34:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:34:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333817088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":153801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:34:44] local.INFO: GPS data processed {"connection_id":153801,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:34:44] local.INFO: Acknowledgment sent {"connection_id":153801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:35:01] local.INFO: TCP Data received {"connection_id":152874,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff158cae0012d7aae0005e42fc00008013629..."} 
[2026-08-11 20:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff158cae0012d7aae0005e42fc00008013629..."} 
[2026-08-11 20:35:01] local.INFO: Processing buffer {"connection_id":152874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff158cae0012d7aae0005e42fc00008013629..."} 
[2026-08-11 20:35:01] local.INFO: Packet analysis {"connection_id":152874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:35:01] local.INFO: Extracted packet for processing {"connection_id":152874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763014656,"raw_latitude":98840512,"longitude_deg":76.3014656,"latitude_deg":9.8840512,"altitude":8,"angle":310,"satellites":41,"speed":44,"hex_longitude":"2d7aae00","hex_latitude":"05e42fc0","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333900032001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378150610324684800,"note":"Value kept but may cause issues"} 
[2026-08-11 20:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847602968247531520,"note":"Value kept but may cause issues"} 
[2026-08-11 20:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786460556000,"timestamp_ms":1786460556000,"timestamp_seconds":1786460556,"priority":1,"record_length":96,"hex_timestamp":"0000019ff158cae0"} 
[2026-08-11 20:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:35: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-08-11 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 20:35:01] 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-08-11 20: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-08-11 20:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:35:01] 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-08-11 20:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333900032001,"66":27463,"39":206,"87":13824,"24":44,"16":378150610324684800,"45":8847602968247531520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-11 20:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333900032001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:35:01] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-11 20:35:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378150610324684800,"km_value":378150610324684.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847602968247531520,"description":"Unknown IO ID 45"} 
[2026-08-11 20:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333900032001,"power":27463,"unknown_39":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8847602968247531520}} 
[2026-08-11 20:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":152874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:35:01] local.INFO: GPS data processed {"connection_id":152874,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:35:01] local.INFO: Acknowledgment sent {"connection_id":152874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:35:15] local.INFO: TCP Data received {"connection_id":153801,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:35:15] local.INFO: Processing buffer {"connection_id":153801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:35:15] local.INFO: Packet analysis {"connection_id":153801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:35:15] local.INFO: Extracted packet for processing {"connection_id":153801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333817088001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786460524000,"timestamp_ms":1786460524000,"timestamp_seconds":1786460524,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1584de0"} 
[2026-08-11 20:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:35:15] 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-08-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:35:15] 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-08-11 20: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-08-11 20:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333817088001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333817088001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:35:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333817088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":153801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:35:15] local.INFO: GPS data processed {"connection_id":153801,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:35:15] local.INFO: Acknowledgment sent {"connection_id":153801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:35:18] local.INFO: TCP Data received {"connection_id":152875,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:35:18] local.INFO: Processing buffer {"connection_id":152875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:35:18] local.INFO: IMEI packet received {"connection_id":152875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":152875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:35:21] local.INFO: TCP Data received {"connection_id":152875,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:35:21] local.INFO: Processing buffer {"connection_id":152875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:35:21] local.INFO: IMEI packet received {"connection_id":152875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":152875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:35:24] local.INFO: TCP Data received {"connection_id":152875,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:35:24] local.INFO: Processing buffer {"connection_id":152875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:35:24] local.INFO: IMEI packet received {"connection_id":152875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":152875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:35:24] local.INFO: TCP Data received {"connection_id":152875,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15a5d38012d79e84005e54e980008015b2e..."} 
[2026-08-11 20:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15a5d38012d79e84005e54e980008015b2e..."} 
[2026-08-11 20:35:24] local.INFO: Processing buffer {"connection_id":152875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15a5d38012d79e84005e54e980008015b2e..."} 
[2026-08-11 20:35:24] local.INFO: Packet analysis {"connection_id":152875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15a"} 
[2026-08-11 20:35:24] local.INFO: Extracted packet for processing {"connection_id":152875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15a"} 
[2026-08-11 20:35:24] local.INFO: GPS Element Parsed {"raw_longitude":762964032,"raw_latitude":98913944,"longitude_deg":76.2964032,"latitude_deg":9.8913944,"altitude":8,"angle":347,"satellites":46,"speed":33,"hex_longitude":"2d79e840","hex_latitude":"05e54e98","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333925632001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378155055615836160,"note":"Value kept but may cause issues"} 
[2026-08-11 20:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786452529575391232,"note":"Value kept but may cause issues"} 
[2026-08-11 20:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786460659000,"timestamp_ms":1786460659000,"timestamp_seconds":1786460659,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15a5d38"} 
[2026-08-11 20:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 20:35:24] 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-08-11 20: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-08-11 20:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:35:24] 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-08-11 20:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333925632001,"66":27484,"182":206,"87":13824,"24":33,"16":378155055615836160,"45":8786452529575391232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-11 20:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333925632001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:35:24] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-11 20:35:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378155055615836160,"km_value":378155055615836.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786452529575391232,"description":"Unknown IO ID 45"} 
[2026-08-11 20:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333925632001,"power":27484,"unknown_182":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8786452529575391232}} 
[2026-08-11 20:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":152875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:35:24] local.INFO: GPS data processed {"connection_id":152875,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:35:24] local.INFO: Acknowledgment sent {"connection_id":152875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:35:38] local.INFO: TCP Data received {"connection_id":155177,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:35:38] local.INFO: Processing buffer {"connection_id":155177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:35:38] local.INFO: IMEI packet received {"connection_id":155177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":155177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:35:43] local.INFO: TCP Data received {"connection_id":155177,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:35:43] local.INFO: Processing buffer {"connection_id":155177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:35:43] local.INFO: IMEI packet received {"connection_id":155177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":155177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:35:44] local.INFO: TCP Data received {"connection_id":155177,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:35:44] local.INFO: Processing buffer {"connection_id":155177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:35:44] local.INFO: Packet analysis {"connection_id":155177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:35:44] local.INFO: Extracted packet for processing {"connection_id":155177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:35:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:35: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-08-11 20:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333817088001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786460524000,"timestamp_ms":1786460524000,"timestamp_seconds":1786460524,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1584de0"} 
[2026-08-11 20:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:35:44] 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-08-11 20:35: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:35:44] 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-08-11 20:35: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-08-11 20:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333817088001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333817088001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:35:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:35:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333817088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":155177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:35:44] local.INFO: GPS data processed {"connection_id":155177,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:35:44] local.INFO: Acknowledgment sent {"connection_id":155177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:35:55] local.INFO: TCP Data received {"connection_id":152875,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15a8c18012d79e0c005e572e00008015b2d..."} 
[2026-08-11 20:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15a8c18012d79e0c005e572e00008015b2d..."} 
[2026-08-11 20:35:55] local.INFO: Processing buffer {"connection_id":152875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15a8c18012d79e0c005e572e00008015b2d..."} 
[2026-08-11 20:35:55] local.INFO: Packet analysis {"connection_id":152875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15a"} 
[2026-08-11 20:35:55] local.INFO: Extracted packet for processing {"connection_id":152875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15a"} 
[2026-08-11 20:35:55] local.INFO: GPS Element Parsed {"raw_longitude":762962112,"raw_latitude":98923232,"longitude_deg":76.2962112,"latitude_deg":9.8923232,"altitude":8,"angle":347,"satellites":45,"speed":30,"hex_longitude":"2d79e0c0","hex_latitude":"05e572e0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333928704001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378155515177336832,"note":"Value kept but may cause issues"} 
[2026-08-11 20:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784341467252299776,"note":"Value kept but may cause issues"} 
[2026-08-11 20:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786460671000,"timestamp_ms":1786460671000,"timestamp_seconds":1786460671,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15a8c18"} 
[2026-08-11 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-08-11 20:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 20:35:55] 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-08-11 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-08-11 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-08-11 20:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:35:55] 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-08-11 20:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333928704001,"66":27365,"182":206,"87":13824,"24":30,"16":378155515177336832,"45":8784341467252299776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-11 20:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333928704001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:35:55] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-11 20:35:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378155515177336832,"km_value":378155515177336.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784341467252299776,"description":"Unknown IO ID 45"} 
[2026-08-11 20:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333928704001,"power":27365,"unknown_182":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8784341467252299776}} 
[2026-08-11 20:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":152875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:35:55] local.INFO: GPS data processed {"connection_id":152875,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:35:55] local.INFO: Acknowledgment sent {"connection_id":152875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:36:15] local.INFO: TCP Data received {"connection_id":155177,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:36:15] local.INFO: Processing buffer {"connection_id":155177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:36:15] local.INFO: Packet analysis {"connection_id":155177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:36:15] local.INFO: Extracted packet for processing {"connection_id":155177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333817088001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786460524000,"timestamp_ms":1786460524000,"timestamp_seconds":1786460524,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1584de0"} 
[2026-08-11 20:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:36:15] 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-08-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:36:15] 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-08-11 20: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-08-11 20:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333817088001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333817088001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:36:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333817088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":155177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:36:15] local.INFO: GPS data processed {"connection_id":155177,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:36:15] local.INFO: Acknowledgment sent {"connection_id":155177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:36:24] local.INFO: TCP Data received {"connection_id":153802,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:36:24] local.INFO: Processing buffer {"connection_id":153802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:36:24] local.INFO: IMEI packet received {"connection_id":153802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":153802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:36:24] local.INFO: TCP Data received {"connection_id":153802,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:36:24] local.INFO: Processing buffer {"connection_id":153802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:36:24] local.INFO: IMEI packet received {"connection_id":153802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":153802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:36:29] local.INFO: TCP Data received {"connection_id":153802,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:36:29] local.INFO: Processing buffer {"connection_id":153802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:36:29] local.INFO: IMEI packet received {"connection_id":153802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":153802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:36:29] local.INFO: TCP Data received {"connection_id":153802,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15ab710012d79d98005e594c00005015c2b..."} 
[2026-08-11 20:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15ab710012d79d98005e594c00005015c2b..."} 
[2026-08-11 20:36:29] local.INFO: Processing buffer {"connection_id":153802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15ab710012d79d98005e594c00005015c2b..."} 
[2026-08-11 20:36:29] local.INFO: Packet analysis {"connection_id":153802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15a"} 
[2026-08-11 20:36:29] local.INFO: Extracted packet for processing {"connection_id":153802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15a"} 
[2026-08-11 20:36:29] local.INFO: GPS Element Parsed {"raw_longitude":762960256,"raw_latitude":98931904,"longitude_deg":76.2960256,"latitude_deg":9.8931904,"altitude":5,"angle":348,"satellites":43,"speed":35,"hex_longitude":"2d79d980","hex_latitude":"05e594c0","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333931776001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378155944674066432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782230404929347584,"note":"Value kept but may cause issues"} 
[2026-08-11 20:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786460682000,"timestamp_ms":1786460682000,"timestamp_seconds":1786460682,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15ab710"} 
[2026-08-11 20:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:36:29] 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-08-11 20: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-08-11 20:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:36:29] 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-08-11 20:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333931776001,"66":27267,"182":206,"87":13824,"24":35,"16":378155944674066432,"45":8782230404929347584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-11 20:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333931776001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:36:29] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-11 20:36:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378155944674066432,"km_value":378155944674066.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782230404929347584,"description":"Unknown IO ID 45"} 
[2026-08-11 20:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333931776001,"power":27267,"unknown_182":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8782230404929347584}} 
[2026-08-11 20:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":153802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:36:29] local.INFO: GPS data processed {"connection_id":153802,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:36:29] local.INFO: Acknowledgment sent {"connection_id":153802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:36:38] local.INFO: TCP Data received {"connection_id":153803,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:36:38] local.INFO: Processing buffer {"connection_id":153803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:36:38] local.INFO: IMEI packet received {"connection_id":153803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":153803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:36:43] local.INFO: TCP Data received {"connection_id":153803,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:36:43] local.INFO: Processing buffer {"connection_id":153803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:36:43] local.INFO: IMEI packet received {"connection_id":153803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":153803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:36:44] local.INFO: TCP Data received {"connection_id":153803,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:36:44] local.INFO: Processing buffer {"connection_id":153803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:36:44] local.INFO: Packet analysis {"connection_id":153803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:36:44] local.INFO: Extracted packet for processing {"connection_id":153803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:36:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:36: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-08-11 20:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333817088001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786460524000,"timestamp_ms":1786460524000,"timestamp_seconds":1786460524,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1584de0"} 
[2026-08-11 20:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:36:44] 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-08-11 20:36: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:36:44] 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-08-11 20:36: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-08-11 20:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333817088001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333817088001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:36:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:36:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333817088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":153803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:36:44] local.INFO: GPS data processed {"connection_id":153803,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:36:44] local.INFO: Acknowledgment sent {"connection_id":153803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:37:00] local.INFO: TCP Data received {"connection_id":153802,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15ad650012d79d58005e5b100000400032c..."} 
[2026-08-11 20:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15ad650012d79d58005e5b100000400032c..."} 
[2026-08-11 20:37:00] local.INFO: Processing buffer {"connection_id":153802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15ad650012d79d58005e5b100000400032c..."} 
[2026-08-11 20:37:00] local.INFO: Packet analysis {"connection_id":153802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15a"} 
[2026-08-11 20:37:00] local.INFO: Extracted packet for processing {"connection_id":153802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15a"} 
[2026-08-11 20:37:00] local.INFO: GPS Element Parsed {"raw_longitude":762959232,"raw_latitude":98939136,"longitude_deg":76.2959232,"latitude_deg":9.8939136,"altitude":4,"angle":3,"satellites":44,"speed":39,"hex_longitude":"2d79d580","hex_latitude":"05e5b100","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333934592001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378156301156352000,"note":"Value kept but may cause issues"} 
[2026-08-11 20:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780189711350415360,"note":"Value kept but may cause issues"} 
[2026-08-11 20:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786460690000,"timestamp_ms":1786460690000,"timestamp_seconds":1786460690,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15ad650"} 
[2026-08-11 20:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 20:37:00] 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-08-11 20: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-08-11 20:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:37:00] 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-08-11 20:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333934592001,"66":27484,"182":206,"87":13824,"24":39,"16":378156301156352000,"45":8780189711350415360},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-11 20:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333934592001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:37:00] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-11 20:37:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378156301156352000,"km_value":378156301156352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780189711350415360,"description":"Unknown IO ID 45"} 
[2026-08-11 20:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333934592001,"power":27484,"unknown_182":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8780189711350415360}} 
[2026-08-11 20:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":153802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:37:00] local.INFO: GPS data processed {"connection_id":153802,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:37:00] local.INFO: Acknowledgment sent {"connection_id":153802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:37:15] local.INFO: TCP Data received {"connection_id":153803,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:37:15] local.INFO: Processing buffer {"connection_id":153803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1584de0012d196a00071fef68003b01182a..."} 
[2026-08-11 20:37:15] local.INFO: Packet analysis {"connection_id":153803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:37:15] local.INFO: Extracted packet for processing {"connection_id":153803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff158"} 
[2026-08-11 20:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333817088001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786460524000,"timestamp_ms":1786460524000,"timestamp_seconds":1786460524,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1584de0"} 
[2026-08-11 20:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:37:15] 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-08-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:37:15] 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-08-11 20: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-08-11 20:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333817088001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333817088001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:37:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333817088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":153803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:37:15] local.INFO: GPS data processed {"connection_id":153803,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:37:15] local.INFO: Acknowledgment sent {"connection_id":153803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:37:18] local.INFO: TCP Data received {"connection_id":155178,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:37:18] local.INFO: Processing buffer {"connection_id":155178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:37:18] local.INFO: IMEI packet received {"connection_id":155178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":155178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:37:22] local.INFO: TCP Data received {"connection_id":155178,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:37:22] local.INFO: Processing buffer {"connection_id":155178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:37:22] local.INFO: IMEI packet received {"connection_id":155178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":155178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:37:23] local.INFO: TCP Data received {"connection_id":155178,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:37:23] local.INFO: Processing buffer {"connection_id":155178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:37:23] local.INFO: IMEI packet received {"connection_id":155178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":155178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:37:30] local.INFO: TCP Data received {"connection_id":155178,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15ae5f0012d79d78005e5bfe00005000e2b..."} 
[2026-08-11 20:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15ae5f0012d79d78005e5bfe00005000e2b..."} 
[2026-08-11 20:37:30] local.INFO: Processing buffer {"connection_id":155178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15ae5f0012d79d78005e5bfe00005000e2b..."} 
[2026-08-11 20:37:30] local.INFO: Packet analysis {"connection_id":155178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15a"} 
[2026-08-11 20:37:30] local.INFO: Extracted packet for processing {"connection_id":155178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15a"} 
[2026-08-11 20:37:30] local.INFO: GPS Element Parsed {"raw_longitude":762959744,"raw_latitude":98942944,"longitude_deg":76.2959744,"latitude_deg":9.8942944,"altitude":5,"angle":14,"satellites":43,"speed":37,"hex_longitude":"2d79d780","hex_latitude":"05e5bfe0","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333936640001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378156490134913024,"note":"Value kept but may cause issues"} 
[2026-08-11 20:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779063811445424128,"note":"Value kept but may cause issues"} 
[2026-08-11 20:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786460694000,"timestamp_ms":1786460694000,"timestamp_seconds":1786460694,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15ae5f0"} 
[2026-08-11 20:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-11 20:37:30] 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-08-11 20: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-08-11 20:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":155178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":155178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":155178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:37:30] 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-08-11 20:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333936640001,"66":27463,"182":206,"87":13824,"24":37,"16":378156490134913024,"45":8779063811445424128},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-11 20:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333936640001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:37:30] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-11 20:37:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378156490134913024,"km_value":378156490134913.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779063811445424128,"description":"Unknown IO ID 45"} 
[2026-08-11 20:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333936640001,"power":27463,"unknown_182":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8779063811445424128}} 
[2026-08-11 20:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":155178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:37:30] local.INFO: GPS data processed {"connection_id":155178,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:37:30] local.INFO: Acknowledgment sent {"connection_id":155178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:37:38] local.INFO: TCP Data received {"connection_id":152459,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:37:38] local.INFO: Processing buffer {"connection_id":152459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:37:38] local.INFO: IMEI packet received {"connection_id":152459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":152459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:37:43] local.INFO: TCP Data received {"connection_id":152459,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:37:43] local.INFO: Processing buffer {"connection_id":152459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:37:43] local.INFO: IMEI packet received {"connection_id":152459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":152459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:37:44] local.INFO: TCP Data received {"connection_id":152459,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:37:44] local.INFO: Processing buffer {"connection_id":152459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:37:44] local.INFO: Packet analysis {"connection_id":152459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:37:44] local.INFO: Extracted packet for processing {"connection_id":152459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:37:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333894144001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786460825000,"timestamp_ms":1786460825000,"timestamp_seconds":1786460825,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15ce5a8"} 
[2026-08-11 20:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:37:44] 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-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:37:44] 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-08-11 20: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-08-11 20:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333894144001,"66":2177,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333894144001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:37:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:37:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333894144001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":152459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:37:44] local.INFO: GPS data processed {"connection_id":152459,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:37:44] local.INFO: Acknowledgment sent {"connection_id":152459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:38:15] local.INFO: TCP Data received {"connection_id":152459,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:38:15] local.INFO: Processing buffer {"connection_id":152459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:38:15] local.INFO: Packet analysis {"connection_id":152459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:38:15] local.INFO: Extracted packet for processing {"connection_id":152459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:38: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-08-11 20:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333894144001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786460825000,"timestamp_ms":1786460825000,"timestamp_seconds":1786460825,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15ce5a8"} 
[2026-08-11 20:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:38:15] 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-08-11 20:38: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:38:15] 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-08-11 20:38: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-08-11 20:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333894144001,"66":2177,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333894144001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:38:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333894144001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":152459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:38:15] local.INFO: GPS data processed {"connection_id":152459,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:38:15] local.INFO: Acknowledgment sent {"connection_id":152459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:38:24] local.INFO: TCP Data received {"connection_id":153804,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:38:24] local.INFO: Processing buffer {"connection_id":153804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:38:24] local.INFO: IMEI packet received {"connection_id":153804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":153804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:38:29] local.INFO: TCP Data received {"connection_id":153804,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:38:29] local.INFO: Processing buffer {"connection_id":153804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:38:29] local.INFO: IMEI packet received {"connection_id":153804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":153804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:38:29] local.INFO: TCP Data received {"connection_id":153804,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15b0530012d79dc4005e5d8a8000700022c..."} 
[2026-08-11 20:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15b0530012d79dc4005e5d8a8000700022c..."} 
[2026-08-11 20:38:29] local.INFO: Processing buffer {"connection_id":153804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15b0530012d79dc4005e5d8a8000700022c..."} 
[2026-08-11 20:38:29] local.INFO: Packet analysis {"connection_id":153804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15b"} 
[2026-08-11 20:38:29] local.INFO: Extracted packet for processing {"connection_id":153804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15b"} 
[2026-08-11 20:38:29] local.INFO: GPS Element Parsed {"raw_longitude":762960960,"raw_latitude":98949288,"longitude_deg":76.296096,"latitude_deg":9.8949288,"altitude":7,"angle":2,"satellites":44,"speed":31,"hex_longitude":"2d79dc40","hex_latitude":"05e5d8a8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333937664001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378156803667525632,"note":"Value kept but may cause issues"} 
[2026-08-11 20:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779626761399820288,"note":"Value kept but may cause issues"} 
[2026-08-11 20:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786460702000,"timestamp_ms":1786460702000,"timestamp_seconds":1786460702,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15b0530"} 
[2026-08-11 20:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 20:38:29] 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-08-11 20: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-08-11 20:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:38:29] 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-08-11 20:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333937664001,"66":27332,"182":206,"87":13824,"24":31,"16":378156803667525632,"45":8779626761399820288},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-11 20:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333937664001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:38:29] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-11 20:38:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378156803667525632,"km_value":378156803667525.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779626761399820288,"description":"Unknown IO ID 45"} 
[2026-08-11 20:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333937664001,"power":27332,"unknown_182":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8779626761399820288}} 
[2026-08-11 20:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":153804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:38:29] local.INFO: GPS data processed {"connection_id":153804,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:38:29] local.INFO: Acknowledgment sent {"connection_id":153804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:38:31] local.INFO: TCP Data received {"connection_id":153804,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15b1ca0012d79dac005e5ec900006015f28..."} 
[2026-08-11 20:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15b1ca0012d79dac005e5ec900006015f28..."} 
[2026-08-11 20:38:31] local.INFO: Processing buffer {"connection_id":153804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15b1ca0012d79dac005e5ec900006015f28..."} 
[2026-08-11 20:38:31] local.INFO: Packet analysis {"connection_id":153804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15b"} 
[2026-08-11 20:38:31] local.INFO: Extracted packet for processing {"connection_id":153804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15b"} 
[2026-08-11 20:38:31] local.INFO: GPS Element Parsed {"raw_longitude":762960576,"raw_latitude":98954384,"longitude_deg":76.2960576,"latitude_deg":9.8954384,"altitude":6,"angle":351,"satellites":40,"speed":34,"hex_longitude":"2d79dac0","hex_latitude":"05e5ec90","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333939712001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378157052775628800,"note":"Value kept but may cause issues"} 
[2026-08-11 20:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780963767540819968,"note":"Value kept but may cause issues"} 
[2026-08-11 20:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786460708000,"timestamp_ms":1786460708000,"timestamp_seconds":1786460708,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15b1ca0"} 
[2026-08-11 20:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 20:38:31] 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-08-11 20: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-08-11 20:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:38:31] 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-08-11 20:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333939712001,"66":27376,"182":206,"87":13824,"24":34,"16":378157052775628800,"45":8780963767540819968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-11 20:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333939712001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:38:31] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-11 20:38:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378157052775628800,"km_value":378157052775628.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780963767540819968,"description":"Unknown IO ID 45"} 
[2026-08-11 20:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333939712001,"power":27376,"unknown_182":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8780963767540819968}} 
[2026-08-11 20:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":153804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:38:31] local.INFO: GPS data processed {"connection_id":153804,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:38:31] local.INFO: Acknowledgment sent {"connection_id":153804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:38:38] local.INFO: TCP Data received {"connection_id":155179,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:38:38] local.INFO: Processing buffer {"connection_id":155179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:38:38] local.INFO: IMEI packet received {"connection_id":155179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":155179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:38:43] local.INFO: TCP Data received {"connection_id":155179,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:38:43] local.INFO: Processing buffer {"connection_id":155179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:38:43] local.INFO: IMEI packet received {"connection_id":155179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":155179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:38:44] local.INFO: TCP Data received {"connection_id":155179,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:38:44] local.INFO: Processing buffer {"connection_id":155179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:38:44] local.INFO: Packet analysis {"connection_id":155179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:38:44] local.INFO: Extracted packet for processing {"connection_id":155179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:38:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:38: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-08-11 20:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333894144001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786460825000,"timestamp_ms":1786460825000,"timestamp_seconds":1786460825,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15ce5a8"} 
[2026-08-11 20:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:38:44] 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-08-11 20:38: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:38:44] 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-08-11 20:38: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-08-11 20:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333894144001,"66":2177,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333894144001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:38:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:38:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333894144001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":155179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:38:44] local.INFO: GPS data processed {"connection_id":155179,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:38:44] local.INFO: Acknowledgment sent {"connection_id":155179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:39:02] local.INFO: TCP Data received {"connection_id":153804,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15d9570012d79b38005e755e80007000128..."} 
[2026-08-11 20:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15d9570012d79b38005e755e80007000128..."} 
[2026-08-11 20:39:02] local.INFO: Processing buffer {"connection_id":153804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15d9570012d79b38005e755e80007000128..."} 
[2026-08-11 20:39:02] local.INFO: Packet analysis {"connection_id":153804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15d"} 
[2026-08-11 20:39:02] local.INFO: Extracted packet for processing {"connection_id":153804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15d"} 
[2026-08-11 20:39:02] local.INFO: GPS Element Parsed {"raw_longitude":762950528,"raw_latitude":99046888,"longitude_deg":76.2950528,"latitude_deg":9.9046888,"altitude":7,"angle":1,"satellites":40,"speed":25,"hex_longitude":"2d79b380","hex_latitude":"05e755e8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333979392001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378161588261093376,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769212187285843968,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786460870000,"timestamp_ms":1786460870000,"timestamp_seconds":1786460870,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15d9570"} 
[2026-08-11 20:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 20:39:02] 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-08-11 20: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-08-11 20:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":153804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":153804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":153804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:39:02] 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-08-11 20:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333979392001,"66":27463,"31":206,"87":13824,"24":25,"16":378161588261093376,"45":8769212187285843968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-11 20:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333979392001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:39:02] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-11 20:39:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378161588261093376,"km_value":378161588261093.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769212187285843968,"description":"Unknown IO ID 45"} 
[2026-08-11 20:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333979392001,"power":27463,"unknown_31":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8769212187285843968}} 
[2026-08-11 20:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":153804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:39:02] local.INFO: GPS data processed {"connection_id":153804,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:39:02] local.INFO: Acknowledgment sent {"connection_id":153804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:39:03] local.INFO: TCP Data received {"connection_id":152460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:39:03] local.INFO: Processing buffer {"connection_id":152460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:39:03] local.INFO: IMEI packet received {"connection_id":152460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":152460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:39:03] local.INFO: TCP Data received {"connection_id":152460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:39:03] local.INFO: Processing buffer {"connection_id":152460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:39:03] local.INFO: IMEI packet received {"connection_id":152460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":152460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:39:08] local.INFO: TCP Data received {"connection_id":152460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:39:08] local.INFO: Processing buffer {"connection_id":152460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:39:08] local.INFO: IMEI packet received {"connection_id":152460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":152460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:39:10] local.INFO: TCP Data received {"connection_id":152460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15d33c8012d7af20005e39018000a00922c..."} 
[2026-08-11 20:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15d33c8012d7af20005e39018000a00922c..."} 
[2026-08-11 20:39:10] local.INFO: Processing buffer {"connection_id":152460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15d33c8012d7af20005e39018000a00922c..."} 
[2026-08-11 20:39:10] local.INFO: Packet analysis {"connection_id":152460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15d"} 
[2026-08-11 20:39:10] local.INFO: Extracted packet for processing {"connection_id":152460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15d"} 
[2026-08-11 20:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763032064,"raw_latitude":98799640,"longitude_deg":76.3032064,"latitude_deg":9.879964,"altitude":10,"angle":146,"satellites":44,"speed":9,"hex_longitude":"2d7af200","hex_latitude":"05e39018","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333975040001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117861839701803008,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858580492330719232,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:10] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-11 20:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786460845000,"timestamp_ms":1786460845000,"timestamp_seconds":1786460845,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15d33c8"} 
[2026-08-11 20:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:39:10] 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-08-11 20: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-11 20:39:10] 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-08-11 20: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-08-11 20:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333975040001,"66":12102,"24":9,"16":117861839701803008,"45":8858580492330719232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-11 20:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333975040001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117861839701803008,"km_value":117861839701803.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858580492330719232,"description":"Unknown IO ID 45"} 
[2026-08-11 20:39:10] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457333975040001,"power":12102,"ignition":9,"odometer":null,"unknown_45":8858580492330719232}} 
[2026-08-11 20:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":152460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:39:10] local.INFO: GPS data processed {"connection_id":152460,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:39:10] local.INFO: Acknowledgment sent {"connection_id":152460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:39:15] local.INFO: TCP Data received {"connection_id":155179,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:39:15] local.INFO: Processing buffer {"connection_id":155179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:39:15] local.INFO: Packet analysis {"connection_id":155179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:39:15] local.INFO: Extracted packet for processing {"connection_id":155179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333894144001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786460825000,"timestamp_ms":1786460825000,"timestamp_seconds":1786460825,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15ce5a8"} 
[2026-08-11 20:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:39:15] 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-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:39:15] 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-08-11 20: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-08-11 20:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333894144001,"66":2177,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333894144001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:39:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333894144001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":155179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:39:15] local.INFO: GPS data processed {"connection_id":155179,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:39:15] local.INFO: Acknowledgment sent {"connection_id":155179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:39:19] local.INFO: TCP Data received {"connection_id":152461,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:39:19] local.INFO: Processing buffer {"connection_id":152461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:39:19] local.INFO: IMEI packet received {"connection_id":152461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":152461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:39:23] local.INFO: TCP Data received {"connection_id":152461,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:39:23] local.INFO: Processing buffer {"connection_id":152461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:39:23] local.INFO: IMEI packet received {"connection_id":152461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":152461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:39:23] local.INFO: TCP Data received {"connection_id":152461,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15dcc20012d79b68005e77970000700032d..."} 
[2026-08-11 20:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15dcc20012d79b68005e77970000700032d..."} 
[2026-08-11 20:39:23] local.INFO: Processing buffer {"connection_id":152461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15dcc20012d79b68005e77970000700032d..."} 
[2026-08-11 20:39:23] local.INFO: Packet analysis {"connection_id":152461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15d"} 
[2026-08-11 20:39:23] local.INFO: Extracted packet for processing {"connection_id":152461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15d"} 
[2026-08-11 20:39:23] local.INFO: GPS Element Parsed {"raw_longitude":762951296,"raw_latitude":99055984,"longitude_deg":76.2951296,"latitude_deg":9.9055984,"altitude":7,"angle":3,"satellites":45,"speed":27,"hex_longitude":"2d79b680","hex_latitude":"05e77970","is_valid_coordinates":true} 
[2026-08-11 20:39: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-08-11 20:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333982720001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378162030642724864,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769493662264846336,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786460884000,"timestamp_ms":1786460884000,"timestamp_seconds":1786460884,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15dcc20"} 
[2026-08-11 20:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:39: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 20:39:23] 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-08-11 20:39: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-08-11 20:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:39:23] 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-08-11 20:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333982720001,"66":27300,"31":206,"87":13824,"24":27,"16":378162030642724864,"45":8769493662264846336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-11 20:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333982720001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:39:23] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-11 20:39:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378162030642724864,"km_value":378162030642724.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769493662264846336,"description":"Unknown IO ID 45"} 
[2026-08-11 20:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333982720001,"power":27300,"unknown_31":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8769493662264846336}} 
[2026-08-11 20:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":152461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:39:24] local.INFO: GPS data processed {"connection_id":152461,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:39:24] local.INFO: Acknowledgment sent {"connection_id":152461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:39:38] local.INFO: TCP Data received {"connection_id":155180,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:39:38] local.INFO: Processing buffer {"connection_id":155180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:39:38] local.INFO: IMEI packet received {"connection_id":155180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":155180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:39:41] local.INFO: TCP Data received {"connection_id":152460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15d4750012d7af44005e38ca8000900a32c..."} 
[2026-08-11 20:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15d4750012d7af44005e38ca8000900a32c..."} 
[2026-08-11 20:39:41] local.INFO: Processing buffer {"connection_id":152460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15d4750012d7af44005e38ca8000900a32c..."} 
[2026-08-11 20:39:41] local.INFO: Packet analysis {"connection_id":152460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15d"} 
[2026-08-11 20:39:41] local.INFO: Extracted packet for processing {"connection_id":152460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15d"} 
[2026-08-11 20:39:41] local.INFO: GPS Element Parsed {"raw_longitude":763032640,"raw_latitude":98798760,"longitude_deg":76.303264,"latitude_deg":9.879876,"altitude":9,"angle":163,"satellites":44,"speed":8,"hex_longitude":"2d7af440","hex_latitude":"05e38ca8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333976320001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117861891241410560,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859143442283894784,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:41] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-11 20:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786460850000,"timestamp_ms":1786460850000,"timestamp_seconds":1786460850,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15d4750"} 
[2026-08-11 20:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:39:41] 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-08-11 20: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-11 20:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20: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-08-11 20:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333976320001,"66":12156,"24":8,"16":117861891241410560,"45":8859143442283894784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-11 20:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333976320001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117861891241410560,"km_value":117861891241410.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859143442283894784,"description":"Unknown IO ID 45"} 
[2026-08-11 20:39:41] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457333976320001,"power":12156,"ignition":8,"odometer":null,"unknown_45":8859143442283894784}} 
[2026-08-11 20:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":152460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:39:41] local.INFO: GPS data processed {"connection_id":152460,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:39:41] local.INFO: Acknowledgment sent {"connection_id":152460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:39:43] local.INFO: TCP Data received {"connection_id":155180,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:39:43] local.INFO: Processing buffer {"connection_id":155180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:39:43] local.INFO: IMEI packet received {"connection_id":155180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":155180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:39:44] local.INFO: TCP Data received {"connection_id":155180,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:39:44] local.INFO: Processing buffer {"connection_id":155180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:39:44] local.INFO: Packet analysis {"connection_id":155180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:39:44] local.INFO: Extracted packet for processing {"connection_id":155180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:39:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:39: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-08-11 20:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333894144001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786460825000,"timestamp_ms":1786460825000,"timestamp_seconds":1786460825,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15ce5a8"} 
[2026-08-11 20:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:39:44] 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-08-11 20:39: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:39:44] 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-08-11 20:39: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-08-11 20:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333894144001,"66":2177,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333894144001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:39:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:39:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333894144001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":155180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:39:44] local.INFO: GPS data processed {"connection_id":155180,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:39:44] local.INFO: Acknowledgment sent {"connection_id":155180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:39:54] local.INFO: TCP Data received {"connection_id":152461,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15dfee8012d79b8c005e79c48000800002b..."} 
[2026-08-11 20:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15dfee8012d79b8c005e79c48000800002b..."} 
[2026-08-11 20:39:54] local.INFO: Processing buffer {"connection_id":152461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15dfee8012d79b8c005e79c48000800002b..."} 
[2026-08-11 20:39:54] local.INFO: Packet analysis {"connection_id":152461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15d"} 
[2026-08-11 20:39:54] local.INFO: Extracted packet for processing {"connection_id":152461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15d"} 
[2026-08-11 20:39:54] local.INFO: GPS Element Parsed {"raw_longitude":762951872,"raw_latitude":99064904,"longitude_deg":76.2951872,"latitude_deg":9.9064904,"altitude":8,"angle":0,"satellites":43,"speed":29,"hex_longitude":"2d79b8c0","hex_latitude":"05e79c48","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333986304001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378162464434421760,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770338087197306880,"note":"Value kept but may cause issues"} 
[2026-08-11 20:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786460897000,"timestamp_ms":1786460897000,"timestamp_seconds":1786460897,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15dfee8"} 
[2026-08-11 20:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 20:39:54] 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-08-11 20: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-08-11 20:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:39:54] 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-08-11 20:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333986304001,"66":27376,"31":206,"87":13824,"24":29,"16":378162464434421760,"45":8770338087197306880},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-11 20:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333986304001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:39:54] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-11 20:39:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378162464434421760,"km_value":378162464434421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770338087197306880,"description":"Unknown IO ID 45"} 
[2026-08-11 20:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333986304001,"power":27376,"unknown_31":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8770338087197306880}} 
[2026-08-11 20:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":152461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:39:54] local.INFO: GPS data processed {"connection_id":152461,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:39:54] local.INFO: Acknowledgment sent {"connection_id":152461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:40:08] local.INFO: TCP Data received {"connection_id":153805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:40:08] local.INFO: Processing buffer {"connection_id":153805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:40:08] local.INFO: IMEI packet received {"connection_id":153805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":153805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:40:13] local.INFO: TCP Data received {"connection_id":153805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:40:13] local.INFO: Processing buffer {"connection_id":153805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:40:13] local.INFO: IMEI packet received {"connection_id":153805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":153805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:40:14] local.INFO: TCP Data received {"connection_id":153805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15f3f38012d7b21c005e2abb0000000ac1f..."} 
[2026-08-11 20:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15f3f38012d7b21c005e2abb0000000ac1f..."} 
[2026-08-11 20:40:14] local.INFO: Processing buffer {"connection_id":153805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15f3f38012d7b21c005e2abb0000000ac1f..."} 
[2026-08-11 20:40:14] local.INFO: Packet analysis {"connection_id":153805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:40:14] local.INFO: Extracted packet for processing {"connection_id":153805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:40:14] local.INFO: GPS Element Parsed {"raw_longitude":763044288,"raw_latitude":98741168,"longitude_deg":76.3044288,"latitude_deg":9.8741168,"altitude":0,"angle":172,"satellites":31,"speed":35,"hex_longitude":"2d7b21c0","hex_latitude":"05e2abb0","is_valid_coordinates":true} 
[2026-08-11 20:40: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-08-11 20:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334007808001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117864768869498880,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871176497525338112,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786460979000,"timestamp_ms":1786460979000,"timestamp_seconds":1786460979,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15f3f38"} 
[2026-08-11 20:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:40:14] 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-08-11 20:40: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-11 20:40:14] 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-08-11 20:40: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-08-11 20:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334007808001,"66":12156,"96":206,"85":15104,"24":35,"16":117864768869498880,"45":8871176497525338112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 20:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334007808001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:40:15] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 20:40:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117864768869498880,"km_value":117864768869498.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871176497525338112,"description":"Unknown IO ID 45"} 
[2026-08-11 20:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334007808001,"power":12156,"unknown_96":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8871176497525338112}} 
[2026-08-11 20:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":153805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:40:15] local.INFO: GPS data processed {"connection_id":153805,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:40:15] local.INFO: Acknowledgment sent {"connection_id":153805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:40:15] local.INFO: TCP Data received {"connection_id":155180,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:40:15] local.INFO: Processing buffer {"connection_id":155180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:40:15] local.INFO: Packet analysis {"connection_id":155180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:40:15] local.INFO: Extracted packet for processing {"connection_id":155180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333894144001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786460825000,"timestamp_ms":1786460825000,"timestamp_seconds":1786460825,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15ce5a8"} 
[2026-08-11 20:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:40:15] 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-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:40:15] 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-08-11 20: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-08-11 20:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333894144001,"66":2177,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333894144001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:40:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333894144001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":155180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:40:15] local.INFO: GPS data processed {"connection_id":155180,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:40:15] local.INFO: Acknowledgment sent {"connection_id":155180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:40:38] local.INFO: TCP Data received {"connection_id":152876,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:40:38] local.INFO: Processing buffer {"connection_id":152876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:40:38] local.INFO: IMEI packet received {"connection_id":152876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":152876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:40:43] local.INFO: TCP Data received {"connection_id":152876,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:40:43] local.INFO: Processing buffer {"connection_id":152876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:40:43] local.INFO: IMEI packet received {"connection_id":152876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":152876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:40:44] local.INFO: TCP Data received {"connection_id":152876,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:40:44] local.INFO: Processing buffer {"connection_id":152876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:40:44] local.INFO: Packet analysis {"connection_id":152876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:40:44] local.INFO: Extracted packet for processing {"connection_id":152876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:40:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:40: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-08-11 20:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333894144001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786460825000,"timestamp_ms":1786460825000,"timestamp_seconds":1786460825,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15ce5a8"} 
[2026-08-11 20:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:40:44] 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-08-11 20:40: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:40:44] 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-08-11 20:40: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-08-11 20:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333894144001,"66":2177,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333894144001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:40:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:40:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333894144001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":152876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:40:44] local.INFO: GPS data processed {"connection_id":152876,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:40:44] local.INFO: Acknowledgment sent {"connection_id":152876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:40:45] local.INFO: TCP Data received {"connection_id":153805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15f6a30012d7b26c005e28788000000b022..."} 
[2026-08-11 20:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15f6a30012d7b26c005e28788000000b022..."} 
[2026-08-11 20:40:45] local.INFO: Processing buffer {"connection_id":153805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15f6a30012d7b26c005e28788000000b022..."} 
[2026-08-11 20:40:45] local.INFO: Packet analysis {"connection_id":153805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:40:45] local.INFO: Extracted packet for processing {"connection_id":153805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:40:45] local.INFO: GPS Element Parsed {"raw_longitude":763045568,"raw_latitude":98731912,"longitude_deg":76.3045568,"latitude_deg":9.8731912,"altitude":0,"angle":176,"satellites":34,"speed":32,"hex_longitude":"2d7b26c0","hex_latitude":"05e28788","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334010624001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117865219841064960,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872583872406859776,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786460990000,"timestamp_ms":1786460990000,"timestamp_seconds":1786460990,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15f6a30"} 
[2026-08-11 20:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:40:45] 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-08-11 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-11 20:40:45] 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-08-11 20: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-08-11 20:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334010624001,"66":12341,"96":206,"85":15104,"24":32,"16":117865219841064960,"45":8872583872406859776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 20:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334010624001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:40:45] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 20:40:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117865219841064960,"km_value":117865219841064.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872583872406859776,"description":"Unknown IO ID 45"} 
[2026-08-11 20:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334010624001,"power":12341,"unknown_96":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8872583872406859776}} 
[2026-08-11 20:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":153805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:40:45] local.INFO: GPS data processed {"connection_id":153805,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:40:45] local.INFO: Acknowledgment sent {"connection_id":153805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:40:48] local.INFO: TCP Data received {"connection_id":152462,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:40:48] local.INFO: Processing buffer {"connection_id":152462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:40:48] local.INFO: IMEI packet received {"connection_id":152462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":152462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:40:53] local.INFO: TCP Data received {"connection_id":152462,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:40:53] local.INFO: Processing buffer {"connection_id":152462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:40:53] local.INFO: IMEI packet received {"connection_id":152462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":152462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:40:53] local.INFO: TCP Data received {"connection_id":152462,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:40:53] local.INFO: Processing buffer {"connection_id":152462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:40:53] local.INFO: IMEI packet received {"connection_id":152462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":152462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:40:54] local.INFO: TCP Data received {"connection_id":152462,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15f81a0012d79774005e87dc8000601302a..."} 
[2026-08-11 20:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15f81a0012d79774005e87dc8000601302a..."} 
[2026-08-11 20:40:54] local.INFO: Processing buffer {"connection_id":152462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15f81a0012d79774005e87dc8000601302a..."} 
[2026-08-11 20:40:54] local.INFO: Packet analysis {"connection_id":152462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:40:54] local.INFO: Extracted packet for processing {"connection_id":152462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:40:54] local.INFO: GPS Element Parsed {"raw_longitude":762935104,"raw_latitude":99122632,"longitude_deg":76.2935104,"latitude_deg":9.9122632,"altitude":6,"angle":304,"satellites":42,"speed":26,"hex_longitude":"2d797740","hex_latitude":"05e87dc8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334014208001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378165436551790592,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8754434751029827584,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786460996000,"timestamp_ms":1786460996000,"timestamp_seconds":1786460996,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15f81a0"} 
[2026-08-11 20:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 20:40:54] 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-08-11 20: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-08-11 20:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:40:54] 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-08-11 20:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334014208001,"66":27365,"203":206,"87":13824,"24":26,"16":378165436551790592,"45":8754434751029827584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-11 20:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334014208001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:40:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378165436551790592,"km_value":378165436551790.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8754434751029827584,"description":"Unknown IO ID 45"} 
[2026-08-11 20:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334014208001,"power":27365,"mnc":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8754434751029827584}} 
[2026-08-11 20:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":152462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:40:54] local.INFO: GPS data processed {"connection_id":152462,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:40:54] local.INFO: Acknowledgment sent {"connection_id":152462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:40:59] local.INFO: TCP Data received {"connection_id":152462,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15f8d58012d79720005e88080000601232a..."} 
[2026-08-11 20:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15f8d58012d79720005e88080000601232a..."} 
[2026-08-11 20:40:59] local.INFO: Processing buffer {"connection_id":152462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15f8d58012d79720005e88080000601232a..."} 
[2026-08-11 20:40:59] local.INFO: Packet analysis {"connection_id":152462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:40:59] local.INFO: Extracted packet for processing {"connection_id":152462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:40:59] local.INFO: GPS Element Parsed {"raw_longitude":762933760,"raw_latitude":99123328,"longitude_deg":76.293376,"latitude_deg":9.9123328,"altitude":6,"angle":291,"satellites":42,"speed":16,"hex_longitude":"2d797200","hex_latitude":"05e88080","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334014976001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378165509566234624,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8752534794937419776,"note":"Value kept but may cause issues"} 
[2026-08-11 20:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786460999000,"timestamp_ms":1786460999000,"timestamp_seconds":1786460999,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15f8d58"} 
[2026-08-11 20:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:40:59] 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-08-11 20: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-08-11 20:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:40:59] 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-08-11 20:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334014976001,"66":27343,"203":206,"87":13824,"24":16,"16":378165509566234624,"45":8752534794937419776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-11 20:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334014976001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:40:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378165509566234624,"km_value":378165509566234.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8752534794937419776,"description":"Unknown IO ID 45"} 
[2026-08-11 20:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334014976001,"power":27343,"mnc":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8752534794937419776}} 
[2026-08-11 20:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":152462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:40:59] local.INFO: GPS data processed {"connection_id":152462,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:40:59] local.INFO: Acknowledgment sent {"connection_id":152462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:41:13] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:41:13] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:41:13] local.INFO: IMEI packet received {"connection_id":152877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":152877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:41:13] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:41:13] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:41:13] local.INFO: IMEI packet received {"connection_id":152877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":152877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:41:15] local.INFO: TCP Data received {"connection_id":152876,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:41:15] local.INFO: Processing buffer {"connection_id":152876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:41:15] local.INFO: Packet analysis {"connection_id":152876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:41:15] local.INFO: Extracted packet for processing {"connection_id":152876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333894144001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786460825000,"timestamp_ms":1786460825000,"timestamp_seconds":1786460825,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15ce5a8"} 
[2026-08-11 20:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:41:15] 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-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:41:15] 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-08-11 20: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-08-11 20:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333894144001,"66":2177,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333894144001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:41:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333894144001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":152876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:41:15] local.INFO: GPS data processed {"connection_id":152876,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:41:15] local.INFO: Acknowledgment sent {"connection_id":152876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:41:18] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:41:18] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:41:18] local.INFO: IMEI packet received {"connection_id":152877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":152877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:41:18] local.INFO: TCP Data received {"connection_id":155181,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:41:18] local.INFO: Processing buffer {"connection_id":155181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:41:18] local.INFO: IMEI packet received {"connection_id":155181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":155181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:41:19] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15fa0e0012d7b2d0005e263b0000000a722..."} 
[2026-08-11 20:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15fa0e0012d7b2d0005e263b0000000a722..."} 
[2026-08-11 20:41:19] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15fa0e0012d7b2d0005e263b0000000a722..."} 
[2026-08-11 20:41:19] local.INFO: Packet analysis {"connection_id":152877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:41:19] local.INFO: Extracted packet for processing {"connection_id":152877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:41:19] local.INFO: GPS Element Parsed {"raw_longitude":763047168,"raw_latitude":98722736,"longitude_deg":76.3047168,"latitude_deg":9.8722736,"altitude":0,"angle":167,"satellites":34,"speed":28,"hex_longitude":"2d7b2d00","hex_latitude":"05e263b0","is_valid_coordinates":true} 
[2026-08-11 20:41: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-08-11 20:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334013440001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117865675107598336,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873991247288043520,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786461004000,"timestamp_ms":1786461004000,"timestamp_seconds":1786461004,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15fa0e0"} 
[2026-08-11 20:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:41:19] 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-08-11 20:41: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-11 20:41:19] 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-08-11 20:41: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-08-11 20:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334013440001,"66":12298,"96":206,"85":15104,"24":28,"16":117865675107598336,"45":8873991247288043520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 20:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334013440001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:41:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 20:41:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117865675107598336,"km_value":117865675107598.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873991247288043520,"description":"Unknown IO ID 45"} 
[2026-08-11 20:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334013440001,"power":12298,"unknown_96":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8873991247288043520}} 
[2026-08-11 20:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":152877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:41:19] local.INFO: GPS data processed {"connection_id":152877,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:41:19] local.INFO: Acknowledgment sent {"connection_id":152877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:41:24] local.INFO: TCP Data received {"connection_id":155181,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:41:24] local.INFO: Processing buffer {"connection_id":155181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:41:24] local.INFO: IMEI packet received {"connection_id":155181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":155181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:41:24] local.INFO: TCP Data received {"connection_id":152877,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15fbc38012d7b2f8005e25148000000b222..."} 
[2026-08-11 20:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15fbc38012d7b2f8005e25148000000b222..."} 
[2026-08-11 20:41:24] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15fbc38012d7b2f8005e25148000000b222..."} 
[2026-08-11 20:41:24] local.INFO: Packet analysis {"connection_id":152877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:41:24] local.INFO: Extracted packet for processing {"connection_id":152877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763047808,"raw_latitude":98718024,"longitude_deg":76.3047808,"latitude_deg":9.8718024,"altitude":0,"angle":178,"satellites":34,"speed":29,"hex_longitude":"2d7b2f80","hex_latitude":"05e25148","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334017024001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117865907035832320,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875750465890136064,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786461011000,"timestamp_ms":1786461011000,"timestamp_seconds":1786461011,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15fbc38"} 
[2026-08-11 20:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:41:24] 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-08-11 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436852359680,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1054324860950578422,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3430899374385856718,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":188,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":226,"raw_value":4060086277,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":170,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3156803584,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812149248,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":11,"raw_value":50429101143490560,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":187,"raw_value":-4323455642275676159,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":64,"raw_value":424264256843350183,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.WARNING: Large IO value detected {"io_id":43,"raw_value":4785074604736516,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:24] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,96,85,24,241,157,16,190,159,106,45,192,135,34,10,66,189,63,171,31,20,1,240,124,227,188,226,4,113,205,28,170,32,42,239,47,97,2,162,5,11,187,64,43],"length":534,"final_offset":664,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-11 20:41:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":183764472561664,"timestamp_seconds":183764472561.664,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 20:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334017024001,"66":12298,"96":206,"85":15104,"24":29,"16":117865907035832320,"45":8875750465890136064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 20:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334017024001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:41:24] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 20:41:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117865907035832320,"km_value":117865907035832.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875750465890136064,"description":"Unknown IO ID 45"} 
[2026-08-11 20:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334017024001,"power":12298,"unknown_96":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8875750465890136064}} 
[2026-08-11 20:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":152877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:41:24] local.INFO: GPS data processed {"connection_id":152877,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:41:24] local.INFO: Acknowledgment sent {"connection_id":152877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:41:33] local.INFO: TCP Data received {"connection_id":155181,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15fc7f0012d79504005e88bd80003012129..."} 
[2026-08-11 20:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15fc7f0012d79504005e88bd80003012129..."} 
[2026-08-11 20:41:33] local.INFO: Processing buffer {"connection_id":155181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15fc7f0012d79504005e88bd80003012129..."} 
[2026-08-11 20:41:33] local.INFO: Packet analysis {"connection_id":155181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:41:33] local.INFO: Extracted packet for processing {"connection_id":155181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:41:33] local.INFO: GPS Element Parsed {"raw_longitude":762925120,"raw_latitude":99126232,"longitude_deg":76.292512,"latitude_deg":9.9126232,"altitude":3,"angle":289,"satellites":41,"speed":33,"hex_longitude":"2d795040","hex_latitude":"05e88bd8","is_valid_coordinates":true} 
[2026-08-11 20:41: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-08-11 20:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334015744001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378165947652898816,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8751057051309867008,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786461014000,"timestamp_ms":1786461014000,"timestamp_seconds":1786461014,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15fc7f0"} 
[2026-08-11 20:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:41: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-08-11 20:41: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-08-11 20:41: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-08-11 20:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":155181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":155181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":155181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:41:33] 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-08-11 20:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334015744001,"66":27213,"203":206,"87":13824,"24":33,"16":378165947652898816,"45":8751057051309867008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-11 20:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334015744001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:41:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378165947652898816,"km_value":378165947652898.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8751057051309867008,"description":"Unknown IO ID 45"} 
[2026-08-11 20:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334015744001,"power":27213,"mnc":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8751057051309867008}} 
[2026-08-11 20:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":155181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:41:33] local.INFO: GPS data processed {"connection_id":155181,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:41:33] local.INFO: Acknowledgment sent {"connection_id":155181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:41:38] local.INFO: TCP Data received {"connection_id":153806,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:41:38] local.INFO: Processing buffer {"connection_id":153806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:41:38] local.INFO: IMEI packet received {"connection_id":153806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":153806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:41:43] local.INFO: TCP Data received {"connection_id":153806,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:41:43] local.INFO: Processing buffer {"connection_id":153806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:41:43] local.INFO: IMEI packet received {"connection_id":153806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":153806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:41:44] local.INFO: TCP Data received {"connection_id":153806,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:41:44] local.INFO: Processing buffer {"connection_id":153806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:41:44] local.INFO: Packet analysis {"connection_id":153806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:41:44] local.INFO: Extracted packet for processing {"connection_id":153806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:41:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:41: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-08-11 20:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333894144001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786460825000,"timestamp_ms":1786460825000,"timestamp_seconds":1786460825,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15ce5a8"} 
[2026-08-11 20:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:41:44] 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-08-11 20:41: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:41:44] 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-08-11 20:41: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-08-11 20:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333894144001,"66":2177,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333894144001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:41:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:41:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333894144001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":153806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:41:44] local.INFO: GPS data processed {"connection_id":153806,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:41:44] local.INFO: Acknowledgment sent {"connection_id":153806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:42:08] local.INFO: TCP Data received {"connection_id":155182,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:42:08] local.INFO: Processing buffer {"connection_id":155182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:42:08] local.INFO: IMEI packet received {"connection_id":155182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":155182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:42:13] local.INFO: TCP Data received {"connection_id":155182,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:42:13] local.INFO: Processing buffer {"connection_id":155182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:42:13] local.INFO: IMEI packet received {"connection_id":155182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":155182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:42:14] local.INFO: TCP Data received {"connection_id":155182,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15fef00012d7b330005e22e68000000ab27..."} 
[2026-08-11 20:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15fef00012d7b330005e22e68000000ab27..."} 
[2026-08-11 20:42:14] local.INFO: Processing buffer {"connection_id":155182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15fef00012d7b330005e22e68000000ab27..."} 
[2026-08-11 20:42:14] local.INFO: Packet analysis {"connection_id":155182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:42:14] local.INFO: Extracted packet for processing {"connection_id":155182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:42:14] local.INFO: GPS Element Parsed {"raw_longitude":763048704,"raw_latitude":98709096,"longitude_deg":76.3048704,"latitude_deg":9.8709096,"altitude":0,"angle":171,"satellites":39,"speed":18,"hex_longitude":"2d7b3300","hex_latitude":"05e22e68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334018816001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117866340827529216,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876454153330706432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786461024000,"timestamp_ms":1786461024000,"timestamp_seconds":1786461024,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15fef00"} 
[2026-08-11 20:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:42:14] 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-08-11 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436902691328,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186018,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1054281911277618420,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3421610700154405070,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3400531968,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2147869426,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3163750400,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3809878016,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":8,"raw_value":48741350845186048,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2954361355555045377,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":128,"raw_value":424245221548294323,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.WARNING: Large IO value detected {"io_id":41,"raw_value":5629499534868484,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:14] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,96,85,24,241,157,16,190,159,160,45,99,34,10,66,106,192,135,189,63,1,240,124,227,226,4,113,205,30,225,22,33,239,48,97,2,162,5,8,188,128,41],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-11 20:42:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":195859100532736,"timestamp_seconds":195859100532.736,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 20:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334018816001,"66":12189,"96":206,"85":15104,"24":18,"16":117866340827529216,"45":8876454153330706432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-11 20:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334018816001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:42:14] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 20:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117866340827529216,"km_value":117866340827529.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876454153330706432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334018816001,"power":12189,"unknown_96":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8876454153330706432}} 
[2026-08-11 20:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":155182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:42:14] local.INFO: GPS data processed {"connection_id":155182,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:42:14] local.INFO: Acknowledgment sent {"connection_id":155182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:42:15] local.INFO: TCP Data received {"connection_id":153806,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:42:15] local.INFO: Processing buffer {"connection_id":153806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff15ce5a8012d196a00071fef68003b011828..."} 
[2026-08-11 20:42:15] local.INFO: Packet analysis {"connection_id":153806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:42:15] local.INFO: Extracted packet for processing {"connection_id":153806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff15c"} 
[2026-08-11 20:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333894144001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786460825000,"timestamp_ms":1786460825000,"timestamp_seconds":1786460825,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15ce5a8"} 
[2026-08-11 20:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:42:15] 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-08-11 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 20:42:15] 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-08-11 20: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-08-11 20:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333894144001,"66":2177,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333894144001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:42:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333894144001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":153806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:42:15] local.INFO: GPS data processed {"connection_id":153806,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:42:15] local.INFO: Acknowledgment sent {"connection_id":153806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:42:29] local.INFO: TCP Data received {"connection_id":152463,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:42:29] local.INFO: Processing buffer {"connection_id":152463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:42:29] local.INFO: IMEI packet received {"connection_id":152463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":152463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:42:30] local.INFO: TCP Data received {"connection_id":152463,"ip":"42.106.6.23","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 20:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152463,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 20:42:30] local.INFO: Processing buffer {"connection_id":152463,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 20:42:30] local.INFO: IMEI packet received {"connection_id":152463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":152463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:42:34] local.INFO: TCP Data received {"connection_id":152463,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:42:34] local.INFO: Processing buffer {"connection_id":152463,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 20:42:34] local.INFO: IMEI packet received {"connection_id":152463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":152463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:42:34] local.INFO: TCP Data received {"connection_id":152463,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff15ff6d0012d792e4005e895500003011c2b..."} 
[2026-08-11 20:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff15ff6d0012d792e4005e895500003011c2b..."} 
[2026-08-11 20:42:34] local.INFO: Processing buffer {"connection_id":152463,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ff1..."} 
[2026-08-11 20:42:34] local.INFO: IMEI packet received {"connection_id":152463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":152463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:42:37] local.INFO: TCP Data received {"connection_id":152463,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1601de0012d790d4005e8a2900004011b2a..."} 
[2026-08-11 20:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1601de0012d790d4005e8a2900004011b2a..."} 
[2026-08-11 20:42:37] local.INFO: Processing buffer {"connection_id":152463,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ff15ff6d0012d792e4005e895500003011c2b..."} 
[2026-08-11 20:42:37] local.INFO: Packet analysis {"connection_id":152463,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:42:37] local.INFO: Extracted packet for processing {"connection_id":152463,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff15f"} 
[2026-08-11 20:42:37] local.INFO: GPS Element Parsed {"raw_longitude":762916416,"raw_latitude":99128656,"longitude_deg":76.2916416,"latitude_deg":9.9128656,"altitude":3,"angle":284,"satellites":43,"speed":28,"hex_longitude":"2d792e40","hex_latitude":"05e89550","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334019584001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378166377149628416,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8741557270846625792,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786461026000,"timestamp_ms":1786461026000,"timestamp_seconds":1786461026,"priority":1,"record_length":96,"hex_timestamp":"0000019ff15ff6d0"} 
[2026-08-11 20:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":77,"data_length":795,"current_offset":136} 
[2026-08-11 20:42: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-08-11 20: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-08-11 20:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:42: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-08-11 20:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334019584001,"66":27376,"203":206,"87":13824,"24":28,"16":378166377149628416,"45":8741557270846625792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-11 20:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334019584001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:42:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378166377149628416,"km_value":378166377149628.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8741557270846625792,"description":"Unknown IO ID 45"} 
[2026-08-11 20:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334019584001,"power":27376,"mnc":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8741557270846625792}} 
[2026-08-11 20:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":152463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:42:37] local.INFO: GPS data processed {"connection_id":152463,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:42:37] local.INFO: Acknowledgment sent {"connection_id":152463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:42:37] local.INFO: Packet analysis {"connection_id":152463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff160"} 
[2026-08-11 20:42:37] local.INFO: Extracted packet for processing {"connection_id":152463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff160"} 
[2026-08-11 20:42:37] local.INFO: GPS Element Parsed {"raw_longitude":762907968,"raw_latitude":99132048,"longitude_deg":76.2907968,"latitude_deg":9.9132048,"altitude":4,"angle":283,"satellites":42,"speed":39,"hex_longitude":"2d790d40","hex_latitude":"05e8a290","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334022656001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378166815236292608,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8731987121639084032,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786461036000,"timestamp_ms":1786461036000,"timestamp_seconds":1786461036,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1601de0"} 
[2026-08-11 20:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":240,"data_length":795,"current_offset":136} 
[2026-08-11 20:42:37] 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-08-11 20: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-08-11 20:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:42: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-08-11 20:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334022656001,"66":27343,"203":206,"87":13824,"24":39,"16":378166815236292608,"45":8731987121639084032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-11 20:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334022656001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:42:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378166815236292608,"km_value":378166815236292.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8731987121639084032,"description":"Unknown IO ID 45"} 
[2026-08-11 20:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334022656001,"power":27343,"mnc":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8731987121639084032}} 
[2026-08-11 20:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":152463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:42:37] local.INFO: GPS data processed {"connection_id":152463,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:42:37] local.INFO: Acknowledgment sent {"connection_id":152463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:42:43] local.INFO: TCP Data received {"connection_id":153807,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:42:43] local.INFO: Processing buffer {"connection_id":153807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:42:43] local.INFO: IMEI packet received {"connection_id":153807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":153807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:42:44] local.INFO: TCP Data received {"connection_id":153807,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:42:44] local.INFO: Processing buffer {"connection_id":153807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:42:44] local.INFO: IMEI packet received {"connection_id":153807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":153807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:42:44] local.INFO: TCP Data received {"connection_id":153807,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:42:44] local.INFO: Processing buffer {"connection_id":153807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:42:44] local.INFO: Packet analysis {"connection_id":153807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:42:44] local.INFO: Extracted packet for processing {"connection_id":153807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:42:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333971200001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786461126000,"timestamp_ms":1786461126000,"timestamp_seconds":1786461126,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1617d70"} 
[2026-08-11 20:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:42:44] 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-08-11 20: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":129,"data_length":795,"current_offset":136} 
[2026-08-11 20:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20: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-08-11 20:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333971200001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333971200001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:42:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:42:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333971200001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":153807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:42:45] local.INFO: GPS data processed {"connection_id":153807,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:42:45] local.INFO: Acknowledgment sent {"connection_id":153807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:42:48] local.INFO: TCP Data received {"connection_id":155182,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff161bfd8012d7b580005e10e60000000aa22..."} 
[2026-08-11 20:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff161bfd8012d7b580005e10e60000000aa22..."} 
[2026-08-11 20:42:48] local.INFO: Processing buffer {"connection_id":155182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff161bfd8012d7b580005e10e60000000aa22..."} 
[2026-08-11 20:42:48] local.INFO: Packet analysis {"connection_id":155182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:42:48] local.INFO: Extracted packet for processing {"connection_id":155182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:42:48] local.INFO: GPS Element Parsed {"raw_longitude":763058176,"raw_latitude":98635360,"longitude_deg":76.3058176,"latitude_deg":9.863536,"altitude":0,"angle":170,"satellites":34,"speed":45,"hex_longitude":"2d7b5800","hex_latitude":"05e10e60","is_valid_coordinates":true} 
[2026-08-11 20:42: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-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334050304001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117869952895025152,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885813196287651840,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786461143000,"timestamp_ms":1786461143000,"timestamp_seconds":1786461143,"priority":1,"record_length":96,"hex_timestamp":"0000019ff161bfd8"} 
[2026-08-11 20:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:42:48] 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-08-11 20:42: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437036909056,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186018,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1053706385659954374,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146847252686,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607991502,"corrected_to":0} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2147869090,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3228041216,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3787763712,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":216172782113783809,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":64,"raw_value":423874205092806831,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":34,"raw_value":9570149208817668,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,85,24,241,157,16,193,159,105,45,128,89,40,10,66,90,95,39,1,240,53,227,225,4,113,205,27,221,63,56,32,239,47,2,162,5,192,64,34],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1607991502,"validated":0}]} 
[2026-08-11 20:42:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":187080188035072,"timestamp_seconds":187080188035.072,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 20:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":155182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":155182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":155182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334050304001,"66":12298,"216":206,"85":15104,"24":45,"16":117869952895025152,"45":8885813196287651840},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-11 20:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334050304001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:42:48] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-11 20:42:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117869952895025152,"km_value":117869952895025.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885813196287651840,"description":"Unknown IO ID 45"} 
[2026-08-11 20:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334050304001,"power":12298,"unknown_216":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8885813196287651840}} 
[2026-08-11 20:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":155182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:42:48] local.INFO: GPS data processed {"connection_id":155182,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:42:48] local.INFO: Acknowledgment sent {"connection_id":155182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:42:48] local.INFO: TCP Data received {"connection_id":153807,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:42:48] local.INFO: Processing buffer {"connection_id":153807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:42:48] local.INFO: Packet analysis {"connection_id":153807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:42:48] local.INFO: Extracted packet for processing {"connection_id":153807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:42:48] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:42: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-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333971200001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:42: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-08-11 20:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786461126000,"timestamp_ms":1786461126000,"timestamp_seconds":1786461126,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1617d70"} 
[2026-08-11 20:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:42:48] 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-08-11 20:42: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":129,"data_length":795,"current_offset":136} 
[2026-08-11 20:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20:42: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-08-11 20:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333971200001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333971200001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:42:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:42:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333971200001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":153807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:42:48] local.INFO: GPS data processed {"connection_id":153807,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:42:48] local.INFO: Acknowledgment sent {"connection_id":153807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:43:05] local.INFO: TCP Data received {"connection_id":155183,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:43:05] local.INFO: Processing buffer {"connection_id":155183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:43:05] local.INFO: IMEI packet received {"connection_id":155183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":155183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:43:08] local.INFO: TCP Data received {"connection_id":155183,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:43:08] local.INFO: Processing buffer {"connection_id":155183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:43:08] local.INFO: IMEI packet received {"connection_id":155183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":155183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:43:13] local.INFO: TCP Data received {"connection_id":155183,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:43:13] local.INFO: Processing buffer {"connection_id":155183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:43:13] local.INFO: IMEI packet received {"connection_id":155183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":155183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:43:14] local.INFO: TCP Data received {"connection_id":155183,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff161df18012d7b5e0005e0e918000000ac1f..."} 
[2026-08-11 20:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff161df18012d7b5e0005e0e918000000ac1f..."} 
[2026-08-11 20:43:14] local.INFO: Processing buffer {"connection_id":155183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff161df18012d7b5e0005e0e918000000ac1f..."} 
[2026-08-11 20:43:14] local.INFO: Packet analysis {"connection_id":155183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:43:14] local.INFO: Extracted packet for processing {"connection_id":155183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:43:14] local.INFO: GPS Element Parsed {"raw_longitude":763059712,"raw_latitude":98625816,"longitude_deg":76.3059712,"latitude_deg":9.8625816,"altitude":0,"angle":172,"satellites":31,"speed":50,"hex_longitude":"2d7b5e00","hex_latitude":"05e0e918","is_valid_coordinates":true} 
[2026-08-11 20:43: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-08-11 20:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334052608001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117870421046460416,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887853889866326016,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786461151000,"timestamp_ms":1786461151000,"timestamp_seconds":1786461151,"priority":1,"record_length":96,"hex_timestamp":"0000019ff161df18"} 
[2026-08-11 20:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:43:14] 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-08-11 20:43: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 20:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:14] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437003354624,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:14] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186018,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1053659141019698372,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:14] local.WARNING: Large IO value detected {"io_id":192,"raw_value":423836100142825648,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:14] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:14] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3397122375997194446,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607991502,"corrected_to":0} 
[2026-08-11 20:43:14] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3234725888,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3785504768,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":8725724278685700,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:14] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,85,24,241,157,16,194,159,156,45,192,52,38,10,66,193,105,128,89,40,90,1,240,53,227,225,4,113,205,7,8,67,35,239,48,2,162,5,33],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1607991502,"validated":0}]} 
[2026-08-11 20:43:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":187063008559104,"timestamp_seconds":187063008559.104,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 20:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334052608001,"66":12069,"217":206,"85":15104,"24":50,"16":117870421046460416,"45":8887853889866326016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-11 20:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334052608001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:43:14] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-11 20:43:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117870421046460416,"km_value":117870421046460.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887853889866326016,"description":"Unknown IO ID 45"} 
[2026-08-11 20:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334052608001,"power":12069,"unknown_217":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8887853889866326016}} 
[2026-08-11 20:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":155183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:43:14] local.INFO: GPS data processed {"connection_id":155183,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:43:14] local.INFO: Acknowledgment sent {"connection_id":155183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:43:18] local.INFO: TCP Data received {"connection_id":152878,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:43:18] local.INFO: Processing buffer {"connection_id":152878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:43:18] local.INFO: IMEI packet received {"connection_id":152878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":152878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:43:19] local.INFO: TCP Data received {"connection_id":153807,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:43:19] local.INFO: Processing buffer {"connection_id":153807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:43:19] local.INFO: Packet analysis {"connection_id":153807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:43:19] local.INFO: Extracted packet for processing {"connection_id":153807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:43: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-08-11 20:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333971200001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43: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-08-11 20:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786461126000,"timestamp_ms":1786461126000,"timestamp_seconds":1786461126,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1617d70"} 
[2026-08-11 20:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:43:19] 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-08-11 20:43: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":129,"data_length":795,"current_offset":136} 
[2026-08-11 20:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20:43: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-08-11 20:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333971200001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333971200001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:43:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:43:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333971200001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":153807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:43:19] local.INFO: GPS data processed {"connection_id":153807,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:43:19] local.INFO: Acknowledgment sent {"connection_id":153807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:43:24] local.INFO: TCP Data received {"connection_id":152878,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:43:24] local.INFO: Processing buffer {"connection_id":152878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:43:24] local.INFO: IMEI packet received {"connection_id":152878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":152878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:43:24] local.INFO: TCP Data received {"connection_id":152878,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1604108012d78ec4005e8a7780003010e2b..."} 
[2026-08-11 20:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1604108012d78ec4005e8a7780003010e2b..."} 
[2026-08-11 20:43:24] local.INFO: Processing buffer {"connection_id":152878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1604108012d78ec4005e8a7780003010e2b..."} 
[2026-08-11 20:43:24] local.INFO: Packet analysis {"connection_id":152878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff160"} 
[2026-08-11 20:43:24] local.INFO: Extracted packet for processing {"connection_id":152878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff160"} 
[2026-08-11 20:43:24] local.INFO: GPS Element Parsed {"raw_longitude":762899520,"raw_latitude":99133304,"longitude_deg":76.289952,"latitude_deg":9.9133304,"altitude":3,"angle":270,"satellites":43,"speed":35,"hex_longitude":"2d78ec40","hex_latitude":"05e8a778","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334025216001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378167223258185728,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8722698447408500736,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786461045000,"timestamp_ms":1786461045000,"timestamp_seconds":1786461045,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1604108"} 
[2026-08-11 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-08-11 20:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 20:43:24] 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-08-11 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-08-11 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-08-11 20:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:43:24] 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-08-11 20:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334025216001,"66":27365,"131":206,"87":13824,"24":35,"16":378167223258185728,"45":8722698447408500736},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-08-11 20:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334025216001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:43:24] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-11 20:43:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378167223258185728,"km_value":378167223258185.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8722698447408500736,"description":"Unknown IO ID 45"} 
[2026-08-11 20:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334025216001,"power":27365,"unknown_131":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8722698447408500736}} 
[2026-08-11 20:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":152878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:43:24] local.INFO: GPS data processed {"connection_id":152878,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:43:24] local.INFO: Acknowledgment sent {"connection_id":152878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:43:39] local.INFO: TCP Data received {"connection_id":152879,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:43:39] local.INFO: Processing buffer {"connection_id":152879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:43:39] local.INFO: IMEI packet received {"connection_id":152879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":152879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:43:43] local.INFO: TCP Data received {"connection_id":152879,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:43:43] local.INFO: Processing buffer {"connection_id":152879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:43:43] local.INFO: IMEI packet received {"connection_id":152879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":152879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:43:44] local.INFO: TCP Data received {"connection_id":152879,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:43:44] local.INFO: Processing buffer {"connection_id":152879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:43:44] local.INFO: Packet analysis {"connection_id":152879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:43:44] local.INFO: Extracted packet for processing {"connection_id":152879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:43:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333971200001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786461126000,"timestamp_ms":1786461126000,"timestamp_seconds":1786461126,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1617d70"} 
[2026-08-11 20:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:43:44] 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-08-11 20: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":129,"data_length":795,"current_offset":136} 
[2026-08-11 20:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20: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-08-11 20:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333971200001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333971200001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:43:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:43:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333971200001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":152879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:43:44] local.INFO: GPS data processed {"connection_id":152879,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:43:44] local.INFO: Acknowledgment sent {"connection_id":152879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:43:45] local.INFO: TCP Data received {"connection_id":155183,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff161fe58012d7b644005e0c250000000a822..."} 
[2026-08-11 20:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff161fe58012d7b644005e0c250000000a822..."} 
[2026-08-11 20:43:45] local.INFO: Processing buffer {"connection_id":155183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff161fe58012d7b644005e0c250000000a822..."} 
[2026-08-11 20:43:45] local.INFO: Packet analysis {"connection_id":155183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:43:45] local.INFO: Extracted packet for processing {"connection_id":155183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:43:45] local.INFO: GPS Element Parsed {"raw_longitude":763061312,"raw_latitude":98615888,"longitude_deg":76.3061312,"latitude_deg":9.8615888,"altitude":0,"angle":168,"satellites":34,"speed":48,"hex_longitude":"2d7b6440","hex_latitude":"05e0c250","is_valid_coordinates":true} 
[2026-08-11 20:43: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-08-11 20:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334054656001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117870906377764864,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889542739724146688,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786461159000,"timestamp_ms":1786461159000,"timestamp_seconds":1786461159,"priority":1,"record_length":96,"hex_timestamp":"0000019ff161fe58"} 
[2026-08-11 20:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:43:45] 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-08-11 20:43: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-11 20:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20:43: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-08-11 20:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334054656001,"66":12069,"217":206,"85":15104,"24":48,"16":117870906377764864,"45":8889542739724146688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-11 20:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334054656001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:43:45] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-11 20:43:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117870906377764864,"km_value":117870906377764.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889542739724146688,"description":"Unknown IO ID 45"} 
[2026-08-11 20:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334054656001,"power":12069,"unknown_217":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8889542739724146688}} 
[2026-08-11 20:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":155183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:43:45] local.INFO: GPS data processed {"connection_id":155183,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:43:45] local.INFO: Acknowledgment sent {"connection_id":155183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:43:56] local.INFO: TCP Data received {"connection_id":152878,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16073d0012d78c6c005e8a4a80004010828..."} 
[2026-08-11 20:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16073d0012d78c6c005e8a4a80004010828..."} 
[2026-08-11 20:43:56] local.INFO: Processing buffer {"connection_id":152878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16073d0012d78c6c005e8a4a80004010828..."} 
[2026-08-11 20:43:56] local.INFO: Packet analysis {"connection_id":152878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff160"} 
[2026-08-11 20:43:56] local.INFO: Extracted packet for processing {"connection_id":152878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff160"} 
[2026-08-11 20:43:56] local.INFO: GPS Element Parsed {"raw_longitude":762889920,"raw_latitude":99132584,"longitude_deg":76.288992,"latitude_deg":9.9132584,"altitude":4,"angle":264,"satellites":40,"speed":26,"hex_longitude":"2d78c6c0","hex_latitude":"05e8a4a8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334027520001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378167682819686400,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8713409773177370624,"note":"Value kept but may cause issues"} 
[2026-08-11 20:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786461058000,"timestamp_ms":1786461058000,"timestamp_seconds":1786461058,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16073d0"} 
[2026-08-11 20:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 20:43:56] 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-08-11 20: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-08-11 20:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:43:56] 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-08-11 20:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334027520001,"66":27376,"131":206,"87":13824,"24":26,"16":378167682819686400,"45":8713409773177370624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-08-11 20:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334027520001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:43:56] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-11 20:43:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378167682819686400,"km_value":378167682819686.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8713409773177370624,"description":"Unknown IO ID 45"} 
[2026-08-11 20:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334027520001,"power":27376,"unknown_131":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8713409773177370624}} 
[2026-08-11 20:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":152878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:43:56] local.INFO: GPS data processed {"connection_id":152878,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:43:56] local.INFO: Acknowledgment sent {"connection_id":152878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:44:08] local.INFO: TCP Data received {"connection_id":153808,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:44:08] local.INFO: Processing buffer {"connection_id":153808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:44:08] local.INFO: IMEI packet received {"connection_id":153808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":153808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:44:09] local.INFO: TCP Data received {"connection_id":153808,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:44:09] local.INFO: Processing buffer {"connection_id":153808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:44:09] local.INFO: IMEI packet received {"connection_id":153808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":153808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:44:13] local.INFO: TCP Data received {"connection_id":153808,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:44:13] local.INFO: Processing buffer {"connection_id":153808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:44:13] local.INFO: IMEI packet received {"connection_id":153808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":153808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:44:14] local.INFO: TCP Data received {"connection_id":153808,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1621d98012d7b6ac005e09d30000000ab22..."} 
[2026-08-11 20:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1621d98012d7b6ac005e09d30000000ab22..."} 
[2026-08-11 20:44:14] local.INFO: Processing buffer {"connection_id":153808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1621d98012d7b6ac005e09d30000000ab22..."} 
[2026-08-11 20:44:14] local.INFO: Packet analysis {"connection_id":153808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff162"} 
[2026-08-11 20:44:14] local.INFO: Extracted packet for processing {"connection_id":153808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff162"} 
[2026-08-11 20:44:14] local.INFO: GPS Element Parsed {"raw_longitude":763062976,"raw_latitude":98606384,"longitude_deg":76.3062976,"latitude_deg":9.8606384,"altitude":0,"angle":171,"satellites":34,"speed":47,"hex_longitude":"2d7b6ac0","hex_latitude":"05e09d30","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334056704001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117871374529200128,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891301958326046720,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786461167000,"timestamp_ms":1786461167000,"timestamp_seconds":1786461167,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1621d98"} 
[2026-08-11 20:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:44:14] 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-08-11 20: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-11 20:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20: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-08-11 20:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334056704001,"66":12135,"217":206,"85":15104,"24":47,"16":117871374529200128,"45":8891301958326046720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-11 20:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334056704001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:44:14] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-11 20:44:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117871374529200128,"km_value":117871374529200.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891301958326046720,"description":"Unknown IO ID 45"} 
[2026-08-11 20:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334056704001,"power":12135,"unknown_217":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8891301958326046720}} 
[2026-08-11 20:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":153808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:44:14] local.INFO: GPS data processed {"connection_id":153808,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:44:14] local.INFO: Acknowledgment sent {"connection_id":153808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:44:15] local.INFO: TCP Data received {"connection_id":152879,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:44:15] local.INFO: Processing buffer {"connection_id":152879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:44:15] local.INFO: Packet analysis {"connection_id":152879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:44:15] local.INFO: Extracted packet for processing {"connection_id":152879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:44: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-08-11 20:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333971200001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786461126000,"timestamp_ms":1786461126000,"timestamp_seconds":1786461126,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1617d70"} 
[2026-08-11 20:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:44:15] 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-08-11 20:44: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":129,"data_length":795,"current_offset":136} 
[2026-08-11 20:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20:44: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-08-11 20:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333971200001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333971200001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:44:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333971200001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":152879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:44:15] local.INFO: GPS data processed {"connection_id":152879,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:44:15] local.INFO: Acknowledgment sent {"connection_id":152879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:44:18] local.INFO: TCP Data received {"connection_id":152464,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:44:18] local.INFO: Processing buffer {"connection_id":152464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:44:18] local.INFO: IMEI packet received {"connection_id":152464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":152464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:44:23] local.INFO: TCP Data received {"connection_id":152464,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:44:23] local.INFO: Processing buffer {"connection_id":152464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:44:23] local.INFO: IMEI packet received {"connection_id":152464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":152464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:44:24] local.INFO: TCP Data received {"connection_id":152464,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1625448012d77608005e8bfe8000401092a..."} 
[2026-08-11 20:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1625448012d77608005e8bfe8000401092a..."} 
[2026-08-11 20:44:24] local.INFO: Processing buffer {"connection_id":152464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1625448012d77608005e8bfe8000401092a..."} 
[2026-08-11 20:44:24] local.INFO: Packet analysis {"connection_id":152464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff162"} 
[2026-08-11 20:44:24] local.INFO: Extracted packet for processing {"connection_id":152464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff162"} 
[2026-08-11 20:44:24] local.INFO: GPS Element Parsed {"raw_longitude":762798208,"raw_latitude":99139560,"longitude_deg":76.2798208,"latitude_deg":9.913956,"altitude":4,"angle":265,"satellites":42,"speed":32,"hex_longitude":"2d776080","hex_latitude":"05e8bfe8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334058752001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378172153880641536,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8612219519051368448,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786461181000,"timestamp_ms":1786461181000,"timestamp_seconds":1786461181,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1625448"} 
[2026-08-11 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-08-11 20:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 20:44:24] 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-08-11 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-08-11 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-08-11 20:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:44:24] 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-08-11 20:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334058752001,"66":27321,"129":206,"87":12288,"24":32,"16":378172153880641536,"45":8612219519051368448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-11 20:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334058752001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:44:24] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 20:44:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 20:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378172153880641536,"km_value":378172153880641.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8612219519051368448,"description":"Unknown IO ID 45"} 
[2026-08-11 20:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334058752001,"power":27321,"unknown_129":206,"unknown_87":12288,"ignition":32,"odometer":null,"unknown_45":8612219519051368448}} 
[2026-08-11 20:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":152464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:44:24] local.INFO: GPS data processed {"connection_id":152464,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:44:24] local.INFO: Acknowledgment sent {"connection_id":152464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:44:38] local.INFO: TCP Data received {"connection_id":152880,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:44:38] local.INFO: Processing buffer {"connection_id":152880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:44:38] local.INFO: IMEI packet received {"connection_id":152880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":152880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:44:43] local.INFO: TCP Data received {"connection_id":152880,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:44:43] local.INFO: Processing buffer {"connection_id":152880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:44:43] local.INFO: IMEI packet received {"connection_id":152880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":152880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:44:44] local.INFO: TCP Data received {"connection_id":152880,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:44:44] local.INFO: Processing buffer {"connection_id":152880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:44:44] local.INFO: Packet analysis {"connection_id":152880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:44:44] local.INFO: Extracted packet for processing {"connection_id":152880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:44:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333971200001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786461126000,"timestamp_ms":1786461126000,"timestamp_seconds":1786461126,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1617d70"} 
[2026-08-11 20:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:44:44] 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-08-11 20: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":129,"data_length":795,"current_offset":136} 
[2026-08-11 20:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20: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-08-11 20:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333971200001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333971200001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:44:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:44:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333971200001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":152880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:44:44] local.INFO: GPS data processed {"connection_id":152880,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:44:44] local.INFO: Acknowledgment sent {"connection_id":152880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:44:45] local.INFO: TCP Data received {"connection_id":153808,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1639498012d7b9e0005dee980000000b121..."} 
[2026-08-11 20:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1639498012d7b9e0005dee980000000b121..."} 
[2026-08-11 20:44:45] local.INFO: Processing buffer {"connection_id":153808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1639498012d7b9e0005dee980000000b121..."} 
[2026-08-11 20:44:45] local.INFO: Packet analysis {"connection_id":153808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff163"} 
[2026-08-11 20:44:45] local.INFO: Extracted packet for processing {"connection_id":153808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff163"} 
[2026-08-11 20:44:45] local.INFO: GPS Element Parsed {"raw_longitude":763076096,"raw_latitude":98494848,"longitude_deg":76.3076096,"latitude_deg":9.8494848,"altitude":0,"angle":177,"satellites":33,"speed":47,"hex_longitude":"2d7b9e00","hex_latitude":"05dee980","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334081280001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117876824842698752,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906642344528248832,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786461263000,"timestamp_ms":1786461263000,"timestamp_seconds":1786461263,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1639498"} 
[2026-08-11 20:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:44:45] 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-08-11 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-11 20:44:45] 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-08-11 20: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-08-11 20:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334081280001,"66":12200,"36":206,"85":15104,"24":47,"16":117876824842698752,"45":8906642344528248832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-08-11 20:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334081280001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:44:45] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-11 20:44:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117876824842698752,"km_value":117876824842698.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906642344528248832,"description":"Unknown IO ID 45"} 
[2026-08-11 20:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334081280001,"power":12200,"unknown_36":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8906642344528248832}} 
[2026-08-11 20:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":153808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:44:45] local.INFO: GPS data processed {"connection_id":153808,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:44:45] local.INFO: Acknowledgment sent {"connection_id":153808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:44:55] local.INFO: TCP Data received {"connection_id":152464,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16292c8012d773c0005e8be580005010a2a..."} 
[2026-08-11 20:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16292c8012d773c0005e8be580005010a2a..."} 
[2026-08-11 20:44:55] local.INFO: Processing buffer {"connection_id":152464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16292c8012d773c0005e8be580005010a2a..."} 
[2026-08-11 20:44:55] local.INFO: Packet analysis {"connection_id":152464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff162"} 
[2026-08-11 20:44:55] local.INFO: Extracted packet for processing {"connection_id":152464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff162"} 
[2026-08-11 20:44:55] local.INFO: GPS Element Parsed {"raw_longitude":762788864,"raw_latitude":99139160,"longitude_deg":76.2788864,"latitude_deg":9.913916,"altitude":5,"angle":266,"satellites":42,"speed":16,"hex_longitude":"2d773c00","hex_latitude":"05e8be58","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334062336001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378172600557240320,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8602016051145730048,"note":"Value kept but may cause issues"} 
[2026-08-11 20:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786461197000,"timestamp_ms":1786461197000,"timestamp_seconds":1786461197,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16292c8"} 
[2026-08-11 20:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 20:44:55] 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-08-11 20: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-08-11 20:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:44:55] 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-08-11 20:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334062336001,"66":27463,"129":206,"87":12288,"24":16,"16":378172600557240320,"45":8602016051145730048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-11 20:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334062336001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:44:55] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 20:44:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 20:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378172600557240320,"km_value":378172600557240.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8602016051145730048,"description":"Unknown IO ID 45"} 
[2026-08-11 20:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334062336001,"power":27463,"unknown_129":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8602016051145730048}} 
[2026-08-11 20:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":152464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:44:55] local.INFO: GPS data processed {"connection_id":152464,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:44:55] local.INFO: Acknowledgment sent {"connection_id":152464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:45:08] local.INFO: TCP Data received {"connection_id":152881,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:45:08] local.INFO: Processing buffer {"connection_id":152881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:45:08] local.INFO: IMEI packet received {"connection_id":152881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":152881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:45:10] local.INFO: TCP Data received {"connection_id":152881,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:45:10] local.INFO: Processing buffer {"connection_id":152881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:45:10] local.INFO: IMEI packet received {"connection_id":152881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":152881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:45:13] local.INFO: TCP Data received {"connection_id":152881,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:45:13] local.INFO: Processing buffer {"connection_id":152881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:45:13] local.INFO: IMEI packet received {"connection_id":152881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":152881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:45:14] local.INFO: TCP Data received {"connection_id":152881,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff163b3d8012d7ba00005dec4c8000000b023..."} 
[2026-08-11 20:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff163b3d8012d7ba00005dec4c8000000b023..."} 
[2026-08-11 20:45:14] local.INFO: Processing buffer {"connection_id":152881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff163b3d8012d7ba00005dec4c8000000b023..."} 
[2026-08-11 20:45:14] local.INFO: Packet analysis {"connection_id":152881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff163"} 
[2026-08-11 20:45:14] local.INFO: Extracted packet for processing {"connection_id":152881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff163"} 
[2026-08-11 20:45:14] local.INFO: GPS Element Parsed {"raw_longitude":763076608,"raw_latitude":98485448,"longitude_deg":76.3076608,"latitude_deg":9.8485448,"altitude":0,"angle":176,"satellites":35,"speed":44,"hex_longitude":"2d7ba000","hex_latitude":"05dec4c8","is_valid_coordinates":true} 
[2026-08-11 20:45: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-08-11 20:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334083328001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117877280109232128,"note":"Value kept but may cause issues"} 
[2026-08-11 20:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907557138200100864,"note":"Value kept but may cause issues"} 
[2026-08-11 20:45:14] 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-08-11 20:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786461271000,"timestamp_ms":1786461271000,"timestamp_seconds":1786461271,"priority":1,"record_length":96,"hex_timestamp":"0000019ff163b3d8"} 
[2026-08-11 20:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:45:14] 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-08-11 20:45: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-11 20:45:14] 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-08-11 20:45: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-08-11 20:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334083328001,"66":12058,"44":206,"85":15104,"24":44,"16":117877280109232128,"45":8907557138200100864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-11 20:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334083328001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:45:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 20:45:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117877280109232128,"km_value":117877280109232.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907557138200100864,"description":"Unknown IO ID 45"} 
[2026-08-11 20:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334083328001,"power":12058,"unknown_44":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8907557138200100864}} 
[2026-08-11 20:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":152881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:45:14] local.INFO: GPS data processed {"connection_id":152881,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:45:14] local.INFO: Acknowledgment sent {"connection_id":152881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:45:15] local.INFO: TCP Data received {"connection_id":152880,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:45:15] local.INFO: Processing buffer {"connection_id":152880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:45:15] local.INFO: Packet analysis {"connection_id":152880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:45:15] local.INFO: Extracted packet for processing {"connection_id":152880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333971200001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786461126000,"timestamp_ms":1786461126000,"timestamp_seconds":1786461126,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1617d70"} 
[2026-08-11 20:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:45:15] 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-08-11 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-11 20:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20: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-08-11 20:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333971200001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333971200001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:45:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333971200001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":152880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:45:15] local.INFO: GPS data processed {"connection_id":152880,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:45:15] local.INFO: Acknowledgment sent {"connection_id":152880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:45:20] local.INFO: TCP Data received {"connection_id":152465,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:45:20] local.INFO: Processing buffer {"connection_id":152465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:45:20] local.INFO: IMEI packet received {"connection_id":152465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":152465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:45:35] local.INFO: TCP Data received {"connection_id":152465,"ip":"42.106.6.23","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 20:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152465,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 20:45:35] local.INFO: Processing buffer {"connection_id":152465,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 20:45:35] local.INFO: IMEI packet received {"connection_id":152465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":152465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:45:43] local.INFO: TCP Data received {"connection_id":152882,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:45:43] local.INFO: Processing buffer {"connection_id":152882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:45:43] local.INFO: IMEI packet received {"connection_id":152882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":152882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:45:45] local.INFO: TCP Data received {"connection_id":152881,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff163d700012d7ba28005de9f38000000b123..."} 
[2026-08-11 20:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff163d700012d7ba28005de9f38000000b123..."} 
[2026-08-11 20:45:45] local.INFO: Processing buffer {"connection_id":152881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff163d700012d7ba28005de9f38000000b123..."} 
[2026-08-11 20:45:45] local.INFO: Packet analysis {"connection_id":152881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff163"} 
[2026-08-11 20:45:45] local.INFO: Extracted packet for processing {"connection_id":152881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff163"} 
[2026-08-11 20:45:45] local.INFO: GPS Element Parsed {"raw_longitude":763077248,"raw_latitude":98475832,"longitude_deg":76.3077248,"latitude_deg":9.8475832,"altitude":0,"angle":177,"satellites":35,"speed":42,"hex_longitude":"2d7ba280","hex_latitude":"05de9f38","is_valid_coordinates":true} 
[2026-08-11 20:45: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-08-11 20:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334085376001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117877748260667392,"note":"Value kept but may cause issues"} 
[2026-08-11 20:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908120088151115776,"note":"Value kept but may cause issues"} 
[2026-08-11 20:45:45] 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-08-11 20:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786461280000,"timestamp_ms":1786461280000,"timestamp_seconds":1786461280,"priority":1,"record_length":96,"hex_timestamp":"0000019ff163d700"} 
[2026-08-11 20:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:45:45] 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-08-11 20:45: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 20:45:45] 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-08-11 20:45: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-08-11 20:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334085376001,"66":11950,"44":206,"85":15104,"24":42,"16":117877748260667392,"45":8908120088151115776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-11 20:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334085376001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:45:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 20:45:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117877748260667392,"km_value":117877748260667.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908120088151115776,"description":"Unknown IO ID 45"} 
[2026-08-11 20:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334085376001,"power":11950,"unknown_44":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8908120088151115776}} 
[2026-08-11 20:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":152881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:45:45] local.INFO: GPS data processed {"connection_id":152881,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:45:45] local.INFO: Acknowledgment sent {"connection_id":152881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:45:48] local.INFO: TCP Data received {"connection_id":152882,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:45:48] local.INFO: Processing buffer {"connection_id":152882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:45:48] local.INFO: IMEI packet received {"connection_id":152882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":152882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:45:49] local.INFO: TCP Data received {"connection_id":152882,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:45:49] local.INFO: Processing buffer {"connection_id":152882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:45:49] local.INFO: Packet analysis {"connection_id":152882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:45:49] local.INFO: Extracted packet for processing {"connection_id":152882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:45: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-08-11 20:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333971200001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:45: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-08-11 20:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786461126000,"timestamp_ms":1786461126000,"timestamp_seconds":1786461126,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1617d70"} 
[2026-08-11 20:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:45:49] 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-08-11 20:45: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":129,"data_length":795,"current_offset":136} 
[2026-08-11 20:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20:45: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-08-11 20:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333971200001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333971200001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:45:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:45:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333971200001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":152882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:45:49] local.INFO: GPS data processed {"connection_id":152882,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:45:49] local.INFO: Acknowledgment sent {"connection_id":152882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:45:53] local.INFO: TCP Data received {"connection_id":152882,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:45:53] local.INFO: Processing buffer {"connection_id":152882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:45:53] local.INFO: Packet analysis {"connection_id":152882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:45:53] local.INFO: Extracted packet for processing {"connection_id":152882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:45:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333971200001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 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-08-11 20:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786461126000,"timestamp_ms":1786461126000,"timestamp_seconds":1786461126,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1617d70"} 
[2026-08-11 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-08-11 20:45: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-08-11 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":129,"data_length":795,"current_offset":136} 
[2026-08-11 20:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 20:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333971200001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333971200001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:45:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:45:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333971200001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":152882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:45:53] local.INFO: GPS data processed {"connection_id":152882,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:45:53] local.INFO: Acknowledgment sent {"connection_id":152882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:46:08] local.INFO: TCP Data received {"connection_id":153809,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:46:08] local.INFO: Processing buffer {"connection_id":153809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:46:08] local.INFO: IMEI packet received {"connection_id":153809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":153809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:46:13] local.INFO: TCP Data received {"connection_id":153809,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:46:13] local.INFO: Processing buffer {"connection_id":153809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:46:13] local.INFO: IMEI packet received {"connection_id":153809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":153809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:46:14] local.INFO: TCP Data received {"connection_id":153809,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff163f640012d7ba5c005de7c28000000ab22..."} 
[2026-08-11 20:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff163f640012d7ba5c005de7c28000000ab22..."} 
[2026-08-11 20:46:14] local.INFO: Processing buffer {"connection_id":153809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff163f640012d7ba5c005de7c28000000ab22..."} 
[2026-08-11 20:46:14] local.INFO: Packet analysis {"connection_id":153809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff163"} 
[2026-08-11 20:46:14] local.INFO: Extracted packet for processing {"connection_id":153809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff163"} 
[2026-08-11 20:46:14] local.INFO: GPS Element Parsed {"raw_longitude":763078080,"raw_latitude":98466856,"longitude_deg":76.307808,"latitude_deg":9.8466856,"altitude":0,"angle":171,"satellites":34,"speed":47,"hex_longitude":"2d7ba5c0","hex_latitude":"05de7c28","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334087680001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117878182052364288,"note":"Value kept but may cause issues"} 
[2026-08-11 20:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908823775590430720,"note":"Value kept but may cause issues"} 
[2026-08-11 20:46:14] 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-08-11 20:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786461288000,"timestamp_ms":1786461288000,"timestamp_seconds":1786461288,"priority":1,"record_length":96,"hex_timestamp":"0000019ff163f640"} 
[2026-08-11 20:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20: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-08-11 20: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-11 20:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20: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-08-11 20:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334087680001,"66":12232,"44":206,"85":15104,"24":47,"16":117878182052364288,"45":8908823775590430720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-11 20:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334087680001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:46:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-11 20:46:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117878182052364288,"km_value":117878182052364.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908823775590430720,"description":"Unknown IO ID 45"} 
[2026-08-11 20:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334087680001,"power":12232,"unknown_44":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8908823775590430720}} 
[2026-08-11 20:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":153809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:46:14] local.INFO: GPS data processed {"connection_id":153809,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:46:14] local.INFO: Acknowledgment sent {"connection_id":153809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:46:38] local.INFO: TCP Data received {"connection_id":152467,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:46:38] local.INFO: Processing buffer {"connection_id":152467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:46:38] local.INFO: IMEI packet received {"connection_id":152467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":152467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:46:43] local.INFO: TCP Data received {"connection_id":152467,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:46:43] local.INFO: Processing buffer {"connection_id":152467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:46:43] local.INFO: IMEI packet received {"connection_id":152467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":152467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:46:44] local.INFO: TCP Data received {"connection_id":152467,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:46:44] local.INFO: Processing buffer {"connection_id":152467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:46:44] local.INFO: Packet analysis {"connection_id":152467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:46:44] local.INFO: Extracted packet for processing {"connection_id":152467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:46:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:46: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-08-11 20:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333971200001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786461126000,"timestamp_ms":1786461126000,"timestamp_seconds":1786461126,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1617d70"} 
[2026-08-11 20:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:46:44] 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-08-11 20:46: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":129,"data_length":795,"current_offset":136} 
[2026-08-11 20:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20:46: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-08-11 20:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333971200001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333971200001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:46:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:46:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333971200001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":152467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:46:44] local.INFO: GPS data processed {"connection_id":152467,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:46:44] local.INFO: Acknowledgment sent {"connection_id":152467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:46:45] local.INFO: TCP Data received {"connection_id":153809,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1641968012d7bab8005de5910000000aa25..."} 
[2026-08-11 20:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1641968012d7bab8005de5910000000aa25..."} 
[2026-08-11 20:46:45] local.INFO: Processing buffer {"connection_id":153809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1641968012d7bab8005de5910000000aa25..."} 
[2026-08-11 20:46:45] local.INFO: Packet analysis {"connection_id":153809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff164"} 
[2026-08-11 20:46:45] local.INFO: Extracted packet for processing {"connection_id":153809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff164"} 
[2026-08-11 20:46:45] local.INFO: GPS Element Parsed {"raw_longitude":763079552,"raw_latitude":98457872,"longitude_deg":76.3079552,"latitude_deg":9.8457872,"altitude":0,"angle":170,"satellites":37,"speed":35,"hex_longitude":"2d7bab80","hex_latitude":"05de5910","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334089728001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909738569262442496,"note":"Value kept but may cause issues"} 
[2026-08-11 20:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117878624433995776,"note":"Value kept but may cause issues"} 
[2026-08-11 20:46:45] 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-08-11 20:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786461297000,"timestamp_ms":1786461297000,"timestamp_seconds":1786461297,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1641968"} 
[2026-08-11 20:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:46:45] 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-08-11 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 20:46:45] 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-08-11 20: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-08-11 20:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334089728001,"66":12178,"45":8909738569262442496,"85":15104,"24":35,"16":117878624433995776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-11 20:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334089728001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909738569262442496,"description":"Unknown IO ID 45"} 
[2026-08-11 20:46:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117878624433995776,"km_value":117878624433995.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:46:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457334089728001,"power":12178,"unknown_45":8909738569262442496,"unknown_85":15104,"ignition":35,"odometer":null}} 
[2026-08-11 20:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":153809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:46:45] local.INFO: GPS data processed {"connection_id":153809,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:46:45] local.INFO: Acknowledgment sent {"connection_id":153809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:47:08] local.INFO: TCP Data received {"connection_id":155184,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:47:08] local.INFO: Processing buffer {"connection_id":155184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:47:08] local.INFO: IMEI packet received {"connection_id":155184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":155184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:47:09] local.INFO: TCP Data received {"connection_id":155184,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:47:09] local.INFO: Processing buffer {"connection_id":155184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:47:09] local.INFO: IMEI packet received {"connection_id":155184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":155184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:47:13] local.INFO: TCP Data received {"connection_id":155184,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:47:13] local.INFO: Processing buffer {"connection_id":155184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:47:13] local.INFO: IMEI packet received {"connection_id":155184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":155184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:47:15] local.INFO: TCP Data received {"connection_id":152467,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:47:15] local.INFO: Processing buffer {"connection_id":152467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:47:15] local.INFO: Packet analysis {"connection_id":152467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:47:15] local.INFO: Extracted packet for processing {"connection_id":152467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333971200001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786461126000,"timestamp_ms":1786461126000,"timestamp_seconds":1786461126,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1617d70"} 
[2026-08-11 20:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:47:15] 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-08-11 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-11 20:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20: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-08-11 20:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333971200001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333971200001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:47:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333971200001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:47:15] local.INFO: TCP Data received {"connection_id":155184,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff165afa8012d7be6c005dccc78000000b120..."} 
[2026-08-11 20:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff165afa8012d7be6c005dccc78000000b120..."} 
[2026-08-11 20:47:15] local.INFO: Processing buffer {"connection_id":155184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff165afa8012d7be6c005dccc78000000b120..."} 
[2026-08-11 20:47:15] local.INFO: Packet analysis {"connection_id":155184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff165"} 
[2026-08-11 20:47:15] local.INFO: Extracted packet for processing {"connection_id":155184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff165"} 
[2026-08-11 20:47:15] local.INFO: GPS Element Parsed {"raw_longitude":763094720,"raw_latitude":98356344,"longitude_deg":76.309472,"latitude_deg":9.8356344,"altitude":0,"angle":177,"satellites":32,"speed":40,"hex_longitude":"2d7be6c0","hex_latitude":"05dccc78","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334116352001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117883610891026432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927752967745959936,"note":"Value kept but may cause issues"} 
[2026-08-11 20:47:15] 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-08-11 20:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786461401000,"timestamp_ms":1786461401000,"timestamp_seconds":1786461401,"priority":1,"record_length":96,"hex_timestamp":"0000019ff165afa8"} 
[2026-08-11 20:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:47: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-08-11 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 20:47:15] 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-08-11 20: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-08-11 20:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334116352001,"66":12287,"169":206,"85":15104,"24":40,"16":117883610891026432,"45":8927752967745959936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-11 20:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334116352001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:47:15] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-11 20:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117883610891026432,"km_value":117883610891026.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927752967745959936,"description":"Unknown IO ID 45"} 
[2026-08-11 20:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334116352001,"power":12287,"unknown_169":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8927752967745959936}} 
[2026-08-11 20:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":152467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:47:15] local.INFO: GPS data processed {"connection_id":152467,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:47:15] local.INFO: Acknowledgment sent {"connection_id":152467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":155184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:47:15] local.INFO: GPS data processed {"connection_id":155184,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:47:15] local.INFO: Acknowledgment sent {"connection_id":155184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:47:38] local.INFO: TCP Data received {"connection_id":155185,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:47:38] local.INFO: Processing buffer {"connection_id":155185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:47:38] local.INFO: IMEI packet received {"connection_id":155185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":155185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:47:43] local.INFO: TCP Data received {"connection_id":155185,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:47:43] local.INFO: Processing buffer {"connection_id":155185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:47:43] local.INFO: IMEI packet received {"connection_id":155185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":155185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:47:44] local.INFO: TCP Data received {"connection_id":155185,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:47:44] local.INFO: Processing buffer {"connection_id":155185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1617d70012d196a00071fef68003b011829..."} 
[2026-08-11 20:47:44] local.INFO: Packet analysis {"connection_id":155185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:47:44] local.INFO: Extracted packet for processing {"connection_id":155185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff161"} 
[2026-08-11 20:47:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457333971200001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786461126000,"timestamp_ms":1786461126000,"timestamp_seconds":1786461126,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1617d70"} 
[2026-08-11 20:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:47:44] 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-08-11 20: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":129,"data_length":795,"current_offset":136} 
[2026-08-11 20:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20: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-08-11 20:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457333971200001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457333971200001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:47:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:47:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457333971200001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":155185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:47:44] local.INFO: GPS data processed {"connection_id":155185,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:47:44] local.INFO: Acknowledgment sent {"connection_id":155185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:47:46] local.INFO: TCP Data received {"connection_id":155184,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff165d2d0012d7be84005dca7b0000100b223..."} 
[2026-08-11 20:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff165d2d0012d7be84005dca7b0000100b223..."} 
[2026-08-11 20:47:46] local.INFO: Processing buffer {"connection_id":155184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff165d2d0012d7be84005dca7b0000100b223..."} 
[2026-08-11 20:47:46] local.INFO: Packet analysis {"connection_id":155184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff165"} 
[2026-08-11 20:47:46] local.INFO: Extracted packet for processing {"connection_id":155184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff165"} 
[2026-08-11 20:47:46] local.INFO: GPS Element Parsed {"raw_longitude":763095104,"raw_latitude":98346928,"longitude_deg":76.3095104,"latitude_deg":9.8346928,"altitude":1,"angle":178,"satellites":35,"speed":43,"hex_longitude":"2d7be840","hex_latitude":"05dca7b0","is_valid_coordinates":true} 
[2026-08-11 20:47: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-08-11 20:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334118656001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117884066157559808,"note":"Value kept but may cause issues"} 
[2026-08-11 20:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928034442720344064,"note":"Value kept but may cause issues"} 
[2026-08-11 20:47:46] 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-08-11 20:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786461410000,"timestamp_ms":1786461410000,"timestamp_seconds":1786461410,"priority":1,"record_length":96,"hex_timestamp":"0000019ff165d2d0"} 
[2026-08-11 20:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:47: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-08-11 20:47: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":255,"data_length":795,"current_offset":136} 
[2026-08-11 20:47:46] 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-08-11 20:47: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-08-11 20:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":155184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":155184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":155184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334118656001,"66":12298,"169":206,"85":15104,"24":43,"16":117884066157559808,"45":8928034442720344064},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-11 20:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334118656001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:47:46] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-11 20:47:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117884066157559808,"km_value":117884066157559.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928034442720344064,"description":"Unknown IO ID 45"} 
[2026-08-11 20:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334118656001,"power":12298,"unknown_169":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8928034442720344064}} 
[2026-08-11 20:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":155184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:47:46] local.INFO: GPS data processed {"connection_id":155184,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:47:46] local.INFO: Acknowledgment sent {"connection_id":155184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:48:08] local.INFO: TCP Data received {"connection_id":155186,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:48:08] local.INFO: Processing buffer {"connection_id":155186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:48:08] local.INFO: IMEI packet received {"connection_id":155186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":155186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:48:13] local.INFO: TCP Data received {"connection_id":155186,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:48:13] local.INFO: Processing buffer {"connection_id":155186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:48:13] local.INFO: IMEI packet received {"connection_id":155186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":155186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:48:14] local.INFO: TCP Data received {"connection_id":155186,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff165f210012d7be8c005dc8408000200b225..."} 
[2026-08-11 20:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff165f210012d7be8c005dc8408000200b225..."} 
[2026-08-11 20:48:14] local.INFO: Processing buffer {"connection_id":155186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff165f210012d7be8c005dc8408000200b225..."} 
[2026-08-11 20:48:14] local.INFO: Packet analysis {"connection_id":155186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff165"} 
[2026-08-11 20:48:14] local.INFO: Extracted packet for processing {"connection_id":155186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff165"} 
[2026-08-11 20:48:14] local.INFO: GPS Element Parsed {"raw_longitude":763095232,"raw_latitude":98337800,"longitude_deg":76.3095232,"latitude_deg":9.83378,"altitude":2,"angle":178,"satellites":37,"speed":47,"hex_longitude":"2d7be8c0","hex_latitude":"05dc8408","is_valid_coordinates":true} 
[2026-08-11 20:48: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-08-11 20:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334120960001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117884508539191296,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928456655182999552,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:14] 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-08-11 20:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786461418000,"timestamp_ms":1786461418000,"timestamp_seconds":1786461418,"priority":1,"record_length":96,"hex_timestamp":"0000019ff165f210"} 
[2026-08-11 20:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:48: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-08-11 20:48: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 20:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:14] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437305344512,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:14] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186018,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1052478025013298224,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:14] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":8863084066665136129,"corrected_to":0} 
[2026-08-11 20:48:14] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:14] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876019675791566,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-08-11 20:48:14] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495854,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:14] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3437821952,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3716143104,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:14] local.WARNING: Large IO value detected {"io_id":64,"raw_value":422672645041946794,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:14] local.WARNING: Large IO value detected {"io_id":36,"raw_value":12103423999213572,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:14] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,169,85,24,241,157,16,206,159,175,45,192,204,32,10,66,140,239,34,93,1,240,255,227,205,221,4,113,38,23,218,72,30,47,2,162,5,64,36],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":204,"original":8863084066665136129,"validated":0},{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-08-11 20:48:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72253457434345472,"timestamp_seconds":72253457434345.47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 20:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334120960001,"66":12374,"169":206,"85":15104,"24":47,"16":117884508539191296,"45":8928456655182999552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-11 20:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334120960001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:48:14] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-11 20:48:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117884508539191296,"km_value":117884508539191.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928456655182999552,"description":"Unknown IO ID 45"} 
[2026-08-11 20:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334120960001,"power":12374,"unknown_169":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8928456655182999552}} 
[2026-08-11 20:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":155186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:48:14] local.INFO: GPS data processed {"connection_id":155186,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:48:14] local.INFO: Acknowledgment sent {"connection_id":155186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:48:15] local.INFO: TCP Data received {"connection_id":155185,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:48:15] local.INFO: Processing buffer {"connection_id":155185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:48:15] local.INFO: Packet analysis {"connection_id":155185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:48:15] local.INFO: Extracted packet for processing {"connection_id":155185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:48:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334048256001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786461427000,"timestamp_ms":1786461427000,"timestamp_seconds":1786461427,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1661538"} 
[2026-08-11 20:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:48: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-08-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:48:15] 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-08-11 20: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-08-11 20:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334048256001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334048256001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:48:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:48:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334048256001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":155185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:48:15] local.INFO: GPS data processed {"connection_id":155185,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:48:15] local.INFO: Acknowledgment sent {"connection_id":155185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:48:38] local.INFO: TCP Data received {"connection_id":152884,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:48:38] local.INFO: Processing buffer {"connection_id":152884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:48:38] local.INFO: IMEI packet received {"connection_id":152884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":152884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:48:43] local.INFO: TCP Data received {"connection_id":152884,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:48:43] local.INFO: Processing buffer {"connection_id":152884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:48:43] local.INFO: IMEI packet received {"connection_id":152884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":152884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:48:44] local.INFO: TCP Data received {"connection_id":152884,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:48:44] local.INFO: Processing buffer {"connection_id":152884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:48:44] local.INFO: Packet analysis {"connection_id":152884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:48:44] local.INFO: Extracted packet for processing {"connection_id":152884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334048256001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786461427000,"timestamp_ms":1786461427000,"timestamp_seconds":1786461427,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1661538"} 
[2026-08-11 20:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:48: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-08-11 20: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:48:44] 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-08-11 20: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-08-11 20:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334048256001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334048256001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:48:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:48:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334048256001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":152884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:48:44] local.INFO: GPS data processed {"connection_id":152884,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:48:44] local.INFO: Acknowledgment sent {"connection_id":152884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:48:46] local.INFO: TCP Data received {"connection_id":155186,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1661150012d7be98005dc5fc8000100b226..."} 
[2026-08-11 20:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1661150012d7be98005dc5fc8000100b226..."} 
[2026-08-11 20:48:46] local.INFO: Processing buffer {"connection_id":155186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1661150012d7be98005dc5fc8000100b226..."} 
[2026-08-11 20:48:46] local.INFO: Packet analysis {"connection_id":155186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:48:46] local.INFO: Extracted packet for processing {"connection_id":155186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:48:46] local.INFO: GPS Element Parsed {"raw_longitude":763095424,"raw_latitude":98328520,"longitude_deg":76.3095424,"latitude_deg":9.832852,"altitude":1,"angle":178,"satellites":38,"speed":43,"hex_longitude":"2d7be980","hex_latitude":"05dc5fc8","is_valid_coordinates":true} 
[2026-08-11 20:48: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-08-11 20:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334123008001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117884959510757376,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928597392669018112,"note":"Value kept but may cause issues"} 
[2026-08-11 20:48:46] 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-08-11 20:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786461426000,"timestamp_ms":1786461426000,"timestamp_seconds":1786461426,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1661150"} 
[2026-08-11 20:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:48: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-08-11 20:48: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-11 20:48:46] 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-08-11 20:48: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-08-11 20:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":155186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":155186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":155186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334123008001,"66":11743,"169":206,"85":15104,"24":43,"16":117884959510757376,"45":8928597392669018112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-11 20:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334123008001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:48:46] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-11 20:48:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117884959510757376,"km_value":117884959510757.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928597392669018112,"description":"Unknown IO ID 45"} 
[2026-08-11 20:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334123008001,"power":11743,"unknown_169":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8928597392669018112}} 
[2026-08-11 20:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":155186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:48:46] local.INFO: GPS data processed {"connection_id":155186,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:48:46] local.INFO: Acknowledgment sent {"connection_id":155186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:49:13] local.INFO: TCP Data received {"connection_id":153810,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:49:13] local.INFO: Processing buffer {"connection_id":153810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:49:13] local.INFO: IMEI packet received {"connection_id":153810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":153810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:49:15] local.INFO: TCP Data received {"connection_id":152884,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:49:15] local.INFO: Processing buffer {"connection_id":152884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:49:15] local.INFO: Packet analysis {"connection_id":152884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:49:15] local.INFO: Extracted packet for processing {"connection_id":152884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:49: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-08-11 20:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334048256001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786461427000,"timestamp_ms":1786461427000,"timestamp_seconds":1786461427,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1661538"} 
[2026-08-11 20:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:49: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-08-11 20:49: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:49:15] 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-08-11 20:49: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-08-11 20:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334048256001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334048256001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:49:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334048256001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":152884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:49:15] local.INFO: GPS data processed {"connection_id":152884,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:49:15] local.INFO: Acknowledgment sent {"connection_id":152884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:49:18] local.INFO: TCP Data received {"connection_id":153810,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:49:18] local.INFO: Processing buffer {"connection_id":153810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:49:18] local.INFO: IMEI packet received {"connection_id":153810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":153810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:49:19] local.INFO: TCP Data received {"connection_id":153810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1663478012d7bea8005dc3948000200b125..."} 
[2026-08-11 20:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1663478012d7bea8005dc3948000200b125..."} 
[2026-08-11 20:49:19] local.INFO: Processing buffer {"connection_id":153810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1663478012d7bea8005dc3948000200b125..."} 
[2026-08-11 20:49:19] local.INFO: Packet analysis {"connection_id":153810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:49:19] local.INFO: Extracted packet for processing {"connection_id":153810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:49:19] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98318664,"longitude_deg":76.309568,"latitude_deg":9.8318664,"altitude":2,"angle":177,"satellites":37,"speed":47,"hex_longitude":"2d7bea80","hex_latitude":"05dc3948","is_valid_coordinates":true} 
[2026-08-11 20:49: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-08-11 20:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334125056001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117885440547094528,"note":"Value kept but may cause issues"} 
[2026-08-11 20:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928808498899175424,"note":"Value kept but may cause issues"} 
[2026-08-11 20:49:19] 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-08-11 20:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786461435000,"timestamp_ms":1786461435000,"timestamp_seconds":1786461435,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1663478"} 
[2026-08-11 20:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:49: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-08-11 20:49: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-11 20:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 20:49: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-08-11 20:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334125056001,"66":12232,"168":206,"85":15104,"24":47,"16":117885440547094528,"45":8928808498899175424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 20:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334125056001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:49:19] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 20:49:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117885440547094528,"km_value":117885440547094.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928808498899175424,"description":"Unknown IO ID 45"} 
[2026-08-11 20:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334125056001,"power":12232,"unknown_168":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8928808498899175424}} 
[2026-08-11 20:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":153810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:49:19] local.INFO: GPS data processed {"connection_id":153810,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:49:19] local.INFO: Acknowledgment sent {"connection_id":153810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:49:40] local.INFO: TCP Data received {"connection_id":152470,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:49:40] local.INFO: Processing buffer {"connection_id":152470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:49:40] local.INFO: IMEI packet received {"connection_id":152470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":152470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:49:43] local.INFO: TCP Data received {"connection_id":152470,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:49:43] local.INFO: Processing buffer {"connection_id":152470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:49:43] local.INFO: IMEI packet received {"connection_id":152470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":152470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:49:50] local.INFO: TCP Data received {"connection_id":153810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16653b8012d7bec8005dc14f8000200b023..."} 
[2026-08-11 20:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16653b8012d7bec8005dc14f8000200b023..."} 
[2026-08-11 20:49:50] local.INFO: Processing buffer {"connection_id":153810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16653b8012d7bec8005dc14f8000200b023..."} 
[2026-08-11 20:49:50] local.INFO: Packet analysis {"connection_id":153810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:49:50] local.INFO: Extracted packet for processing {"connection_id":153810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:49:50] local.INFO: GPS Element Parsed {"raw_longitude":763096192,"raw_latitude":98309368,"longitude_deg":76.3096192,"latitude_deg":9.8309368,"altitude":2,"angle":176,"satellites":35,"speed":44,"hex_longitude":"2d7bec80","hex_latitude":"05dc14f8","is_valid_coordinates":true} 
[2026-08-11 20:49: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-08-11 20:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334127360001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117885891518660608,"note":"Value kept but may cause issues"} 
[2026-08-11 20:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973873362944,"note":"Value kept but may cause issues"} 
[2026-08-11 20:49:50] 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-08-11 20:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786461443000,"timestamp_ms":1786461443000,"timestamp_seconds":1786461443,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16653b8"} 
[2026-08-11 20:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:49: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-11 20:49:50] 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-08-11 20:49: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-08-11 20:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":153810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":153810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":153810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334127360001,"66":12341,"168":206,"85":15104,"24":44,"16":117885891518660608,"45":8929089973873362944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 20:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334127360001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:49:50] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 20:49:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117885891518660608,"km_value":117885891518660.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973873362944,"description":"Unknown IO ID 45"} 
[2026-08-11 20:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334127360001,"power":12341,"unknown_168":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8929089973873362944}} 
[2026-08-11 20:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":153810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:49:50] local.INFO: GPS data processed {"connection_id":153810,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:49:50] local.INFO: Acknowledgment sent {"connection_id":153810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:50:08] local.INFO: TCP Data received {"connection_id":152471,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:50:08] local.INFO: Processing buffer {"connection_id":152471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:50:08] local.INFO: IMEI packet received {"connection_id":152471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":152471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:50:13] local.INFO: TCP Data received {"connection_id":152471,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:50:13] local.INFO: Processing buffer {"connection_id":152471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:50:13] local.INFO: IMEI packet received {"connection_id":152471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":152471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:50:14] local.INFO: TCP Data received {"connection_id":152471,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16676e0012d7bf08005dbef60000100ac25..."} 
[2026-08-11 20:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16676e0012d7bf08005dbef60000100ac25..."} 
[2026-08-11 20:50:14] local.INFO: Processing buffer {"connection_id":152471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16676e0012d7bf08005dbef60000100ac25..."} 
[2026-08-11 20:50:14] local.INFO: Packet analysis {"connection_id":152471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:50:14] local.INFO: Extracted packet for processing {"connection_id":152471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:50:14] local.INFO: GPS Element Parsed {"raw_longitude":763097216,"raw_latitude":98299744,"longitude_deg":76.3097216,"latitude_deg":9.8299744,"altitude":1,"angle":172,"satellites":37,"speed":43,"hex_longitude":"2d7bf080","hex_latitude":"05dbef60","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334129408001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117886359670095872,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929652923824404480,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:14] 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-08-11 20:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786461452000,"timestamp_ms":1786461452000,"timestamp_seconds":1786461452,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16676e0"} 
[2026-08-11 20:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:50: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-08-11 20: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-11 20:50:14] 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-08-11 20: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-08-11 20:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334129408001,"66":12341,"168":206,"85":15104,"24":43,"16":117886359670095872,"45":8929652923824404480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 20:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334129408001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:50:14] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 20:50:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117886359670095872,"km_value":117886359670095.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929652923824404480,"description":"Unknown IO ID 45"} 
[2026-08-11 20:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334129408001,"power":12341,"unknown_168":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8929652923824404480}} 
[2026-08-11 20:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":152471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:50:14] local.INFO: GPS data processed {"connection_id":152471,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:50:14] local.INFO: Acknowledgment sent {"connection_id":152471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:50:22] local.INFO: TCP Data received {"connection_id":152470,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:50:22] local.INFO: Processing buffer {"connection_id":152470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:50:22] local.INFO: Packet analysis {"connection_id":152470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:50:22] local.INFO: Extracted packet for processing {"connection_id":152470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:50: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-08-11 20:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334048256001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50: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-08-11 20:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786461427000,"timestamp_ms":1786461427000,"timestamp_seconds":1786461427,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1661538"} 
[2026-08-11 20:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:50:22] 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-08-11 20:50: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:50:22] 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-08-11 20:50: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-08-11 20:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334048256001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334048256001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:50:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334048256001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":152470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:50:22] local.INFO: GPS data processed {"connection_id":152470,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:50:22] local.INFO: Acknowledgment sent {"connection_id":152470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:50:22] local.INFO: TCP Data received {"connection_id":152470,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:50:22] local.INFO: Processing buffer {"connection_id":152470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:50:22] local.INFO: Packet analysis {"connection_id":152470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:50:22] local.INFO: Extracted packet for processing {"connection_id":152470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:50: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-08-11 20:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334048256001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50: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-08-11 20:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786461427000,"timestamp_ms":1786461427000,"timestamp_seconds":1786461427,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1661538"} 
[2026-08-11 20:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:50:22] 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-08-11 20:50: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:50:22] 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-08-11 20:50: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-08-11 20:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334048256001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334048256001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:50:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334048256001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":152470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:50:22] local.INFO: GPS data processed {"connection_id":152470,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:50:22] local.INFO: Acknowledgment sent {"connection_id":152470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:50:39] local.INFO: TCP Data received {"connection_id":152885,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:50:39] local.INFO: Processing buffer {"connection_id":152885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:50:39] local.INFO: IMEI packet received {"connection_id":152885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":152885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:50:40] local.INFO: TCP Data received {"connection_id":152885,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff167cea0012d75d00005eb27f0000801412a..."} 
[2026-08-11 20:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff167cea0012d75d00005eb27f0000801412a..."} 
[2026-08-11 20:50:40] local.INFO: Processing buffer {"connection_id":152885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff167cea0012d75d00005eb27f0000801412a..."} 
[2026-08-11 20:50:40] local.INFO: Packet analysis {"connection_id":152885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff167"} 
[2026-08-11 20:50:40] local.INFO: Extracted packet for processing {"connection_id":152885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff167"} 
[2026-08-11 20:50:40] local.INFO: GPS Element Parsed {"raw_longitude":762695680,"raw_latitude":99297264,"longitude_deg":76.269568,"latitude_deg":9.9297264,"altitude":8,"angle":321,"satellites":42,"speed":29,"hex_longitude":"2d75d000","hex_latitude":"05eb27f0","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334153472001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378182204104114176,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8490481591664019456,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786461540000,"timestamp_ms":1786461540000,"timestamp_seconds":1786461540,"priority":1,"record_length":96,"hex_timestamp":"0000019ff167cea0"} 
[2026-08-11 20:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 20:50: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-08-11 20: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-08-11 20:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:50:40] 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-08-11 20:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334153472001,"66":27376,"186":206,"87":12288,"24":29,"16":378182204104114176,"45":8490481591664019456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-11 20:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334153472001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:50:40] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-11 20:50:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 20:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378182204104114176,"km_value":378182204104114.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8490481591664019456,"description":"Unknown IO ID 45"} 
[2026-08-11 20:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334153472001,"power":27376,"unknown_186":206,"unknown_87":12288,"ignition":29,"odometer":null,"unknown_45":8490481591664019456}} 
[2026-08-11 20:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":152885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:50:40] local.INFO: GPS data processed {"connection_id":152885,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:50:40] local.INFO: Acknowledgment sent {"connection_id":152885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:50:43] local.INFO: TCP Data received {"connection_id":153811,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:50:43] local.INFO: Processing buffer {"connection_id":153811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:50:43] local.INFO: IMEI packet received {"connection_id":153811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":153811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:50:45] local.INFO: TCP Data received {"connection_id":152471,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1669a08012d7bf68005dbc930000000aa24..."} 
[2026-08-11 20:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1669a08012d7bf68005dbc930000000aa24..."} 
[2026-08-11 20:50:45] local.INFO: Processing buffer {"connection_id":152471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1669a08012d7bf68005dbc930000000aa24..."} 
[2026-08-11 20:50:45] local.INFO: Packet analysis {"connection_id":152471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:50:45] local.INFO: Extracted packet for processing {"connection_id":152471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:50:45] local.INFO: GPS Element Parsed {"raw_longitude":763098752,"raw_latitude":98289968,"longitude_deg":76.3098752,"latitude_deg":9.8289968,"altitude":0,"angle":170,"satellites":36,"speed":43,"hex_longitude":"2d7bf680","hex_latitude":"05dbc930","is_valid_coordinates":true} 
[2026-08-11 20:50: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-08-11 20:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334131712001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117886840706433024,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930778823728783360,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:45] 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-08-11 20:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786461461000,"timestamp_ms":1786461461000,"timestamp_seconds":1786461461,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1669a08"} 
[2026-08-11 20:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:50:45] 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-08-11 20:50: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-11 20:50:45] 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-08-11 20:50: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-08-11 20:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334131712001,"66":12341,"168":206,"85":15104,"24":43,"16":117886840706433024,"45":8930778823728783360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 20:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334131712001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:50:45] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 20:50:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117886840706433024,"km_value":117886840706433.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930778823728783360,"description":"Unknown IO ID 45"} 
[2026-08-11 20:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334131712001,"power":12341,"unknown_168":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8930778823728783360}} 
[2026-08-11 20:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":152471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:50:45] local.INFO: GPS data processed {"connection_id":152471,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:50:45] local.INFO: Acknowledgment sent {"connection_id":152471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:50:48] local.INFO: TCP Data received {"connection_id":153811,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:50:48] local.INFO: Processing buffer {"connection_id":153811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:50:48] local.INFO: IMEI packet received {"connection_id":153811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":153811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:50:49] local.INFO: TCP Data received {"connection_id":153811,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:50:49] local.INFO: Processing buffer {"connection_id":153811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:50:49] local.INFO: Packet analysis {"connection_id":153811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:50:49] local.INFO: Extracted packet for processing {"connection_id":153811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:50:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:50: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-08-11 20:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334048256001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50: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-08-11 20:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786461427000,"timestamp_ms":1786461427000,"timestamp_seconds":1786461427,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1661538"} 
[2026-08-11 20:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:50:49] 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-08-11 20:50: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:50:49] 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-08-11 20:50: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-08-11 20:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334048256001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334048256001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:50:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:50:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334048256001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":153811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:50:49] local.INFO: GPS data processed {"connection_id":153811,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:50:49] local.INFO: Acknowledgment sent {"connection_id":153811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:50:53] local.INFO: TCP Data received {"connection_id":153811,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:50:53] local.INFO: Processing buffer {"connection_id":153811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:50:53] local.INFO: Packet analysis {"connection_id":153811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:50:53] local.INFO: Extracted packet for processing {"connection_id":153811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:50:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334048256001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 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-08-11 20:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786461427000,"timestamp_ms":1786461427000,"timestamp_seconds":1786461427,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1661538"} 
[2026-08-11 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-08-11 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-08-11 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":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:50: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-08-11 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-08-11 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-08-11 20:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":153811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":153811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":153811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334048256001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334048256001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:50:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:50:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334048256001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":153811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:50:54] local.INFO: GPS data processed {"connection_id":153811,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:50:54] local.INFO: Acknowledgment sent {"connection_id":153811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:51:10] local.INFO: TCP Data received {"connection_id":155187,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:51:10] local.INFO: Processing buffer {"connection_id":155187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:51:10] local.INFO: IMEI packet received {"connection_id":155187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":155187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:51:13] local.INFO: TCP Data received {"connection_id":155187,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:51:13] local.INFO: Processing buffer {"connection_id":155187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:51:13] local.INFO: IMEI packet received {"connection_id":155187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":155187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:51:14] local.INFO: TCP Data received {"connection_id":155187,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff166c118012d7bff4005dba4c0000000a520..."} 
[2026-08-11 20:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff166c118012d7bff4005dba4c0000000a520..."} 
[2026-08-11 20:51:14] local.INFO: Processing buffer {"connection_id":155187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff166c118012d7bff4005dba4c0000000a520..."} 
[2026-08-11 20:51:14] local.INFO: Packet analysis {"connection_id":155187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:51:14] local.INFO: Extracted packet for processing {"connection_id":155187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":763100992,"raw_latitude":98280640,"longitude_deg":76.3100992,"latitude_deg":9.828064,"altitude":0,"angle":165,"satellites":32,"speed":29,"hex_longitude":"2d7bff40","hex_latitude":"05dba4c0","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334134016001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887304562900992,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932467673586544640,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:14] 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-08-11 20:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786461471000,"timestamp_ms":1786461471000,"timestamp_seconds":1786461471,"priority":1,"record_length":96,"hex_timestamp":"0000019ff166c118"} 
[2026-08-11 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-08-11 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-08-11 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-11 20:51:14] 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-08-11 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-08-11 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-08-11 20:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334134016001,"66":11798,"168":206,"85":15104,"24":29,"16":117887304562900992,"45":8932467673586544640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 20:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334134016001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:51:14] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 20:51:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887304562900992,"km_value":117887304562900.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932467673586544640,"description":"Unknown IO ID 45"} 
[2026-08-11 20:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334134016001,"power":11798,"unknown_168":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8932467673586544640}} 
[2026-08-11 20:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":155187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:51:14] local.INFO: GPS data processed {"connection_id":155187,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:51:14] local.INFO: Acknowledgment sent {"connection_id":155187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:51:19] local.INFO: TCP Data received {"connection_id":152886,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:51:19] local.INFO: Processing buffer {"connection_id":152886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:51:19] local.INFO: IMEI packet received {"connection_id":152886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":152886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:51:22] local.INFO: TCP Data received {"connection_id":152886,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:51:22] local.INFO: Processing buffer {"connection_id":152886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:51:22] local.INFO: IMEI packet received {"connection_id":152886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":152886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:51:23] local.INFO: TCP Data received {"connection_id":152886,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff168d458012d757bc005eb69080008002b2b..."} 
[2026-08-11 20:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff168d458012d757bc005eb69080008002b2b..."} 
[2026-08-11 20:51:23] local.INFO: Processing buffer {"connection_id":152886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff168d458012d757bc005eb69080008002b2b..."} 
[2026-08-11 20:51:23] local.INFO: Packet analysis {"connection_id":152886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff168"} 
[2026-08-11 20:51:23] local.INFO: Extracted packet for processing {"connection_id":152886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff168"} 
[2026-08-11 20:51:23] local.INFO: GPS Element Parsed {"raw_longitude":762674112,"raw_latitude":99313928,"longitude_deg":76.2674112,"latitude_deg":9.9313928,"altitude":8,"angle":43,"satellites":43,"speed":16,"hex_longitude":"2d757bc0","hex_latitude":"05eb6908","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334171136001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378183612853387264,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465289581253089280,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786461607000,"timestamp_ms":1786461607000,"timestamp_seconds":1786461607,"priority":1,"record_length":96,"hex_timestamp":"0000019ff168d458"} 
[2026-08-11 20:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 20:51:23] 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-08-11 20: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-08-11 20:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:51:23] 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-08-11 20:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334171136001,"66":27267,"186":206,"87":12288,"24":16,"16":378183612853387264,"45":8465289581253089280},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-11 20:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334171136001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:51:23] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-11 20:51:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 20:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378183612853387264,"km_value":378183612853387.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465289581253089280,"description":"Unknown IO ID 45"} 
[2026-08-11 20:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334171136001,"power":27267,"unknown_186":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8465289581253089280}} 
[2026-08-11 20:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":152886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:51:23] local.INFO: GPS data processed {"connection_id":152886,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:51:23] local.INFO: Acknowledgment sent {"connection_id":152886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:51:38] local.INFO: TCP Data received {"connection_id":155188,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:51:38] local.INFO: Processing buffer {"connection_id":155188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:51:38] local.INFO: IMEI packet received {"connection_id":155188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":155188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:51:43] local.INFO: TCP Data received {"connection_id":155188,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:51:43] local.INFO: Processing buffer {"connection_id":155188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:51:43] local.INFO: IMEI packet received {"connection_id":155188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":155188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:51:44] local.INFO: TCP Data received {"connection_id":155188,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:51:44] local.INFO: Processing buffer {"connection_id":155188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:51:44] local.INFO: Packet analysis {"connection_id":155188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:51:44] local.INFO: Extracted packet for processing {"connection_id":155188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:51:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334048256001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786461427000,"timestamp_ms":1786461427000,"timestamp_seconds":1786461427,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1661538"} 
[2026-08-11 20:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:51: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-08-11 20: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:51:44] 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-08-11 20: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-08-11 20:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334048256001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334048256001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:51:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:51:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334048256001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":155188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:51:44] local.INFO: GPS data processed {"connection_id":155188,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:51:44] local.INFO: Acknowledgment sent {"connection_id":155188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:51:47] local.INFO: TCP Data received {"connection_id":155187,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff166d0b8012d7c024005db9d880002009720..."} 
[2026-08-11 20:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff166d0b8012d7c024005db9d880002009720..."} 
[2026-08-11 20:51:47] local.INFO: Processing buffer {"connection_id":155187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff166d0b8012d7c024005db9d880002009720..."} 
[2026-08-11 20:51:47] local.INFO: Packet analysis {"connection_id":155187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:51:47] local.INFO: Extracted packet for processing {"connection_id":155187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:51:47] local.INFO: GPS Element Parsed {"raw_longitude":763101760,"raw_latitude":98278792,"longitude_deg":76.310176,"latitude_deg":9.8278792,"altitude":2,"angle":151,"satellites":32,"speed":13,"hex_longitude":"2d7c0240","hex_latitude":"05db9d88","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334136576001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887403347148800,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934930579630374912,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] 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-08-11 20:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786461475000,"timestamp_ms":1786461475000,"timestamp_seconds":1786461475,"priority":1,"record_length":96,"hex_timestamp":"0000019ff166d0b8"} 
[2026-08-11 20:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:51:47] 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-08-11 20: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4049990160,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3741371822,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":57894411111912763,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184179925197,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-3713217892755365888,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846608624,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2147867743,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":65714,"corrected_to":0} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":162,"raw_value":-3506615259861352448,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619932098562,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":232,"raw_value":4613336006081380608,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2522063070327474688,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":101,"raw_value":-5789376026120896507,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.WARNING: Large IO value detected {"io_id":40,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:47] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,168,85,24,241,157,16,209,159,154,45,128,201,36,10,66,118,239,1,37,83,240,53,227,208,220,4,113,205,47,17,233,200,38,169,2,162,81,206,232,178,101,40],"length":632,"final_offset":762,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0},{"io_id":200,"original":65714,"validated":0}]} 
[2026-08-11 20:51:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":181556859437056,"timestamp_seconds":181556859437.056,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 20:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334136576001,"66":12200,"168":206,"85":15104,"24":13,"16":117887403347148800,"45":8934930579630374912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 20:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334136576001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:51:47] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 20:51:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887403347148800,"km_value":117887403347148.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934930579630374912,"description":"Unknown IO ID 45"} 
[2026-08-11 20:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334136576001,"power":12200,"unknown_168":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8934930579630374912}} 
[2026-08-11 20:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":155187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:51:47] local.INFO: GPS data processed {"connection_id":155187,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:51:47] local.INFO: Acknowledgment sent {"connection_id":155187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:51:54] local.INFO: TCP Data received {"connection_id":152886,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff168dc28012d757ec005eb6b100008003c2a..."} 
[2026-08-11 20:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff168dc28012d757ec005eb6b100008003c2a..."} 
[2026-08-11 20:51:54] local.INFO: Processing buffer {"connection_id":152886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff168dc28012d757ec005eb6b100008003c2a..."} 
[2026-08-11 20:51:54] local.INFO: Packet analysis {"connection_id":152886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff168"} 
[2026-08-11 20:51:54] local.INFO: Extracted packet for processing {"connection_id":152886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff168"} 
[2026-08-11 20:51:54] local.INFO: GPS Element Parsed {"raw_longitude":762674880,"raw_latitude":99314448,"longitude_deg":76.267488,"latitude_deg":9.9314448,"altitude":8,"angle":60,"satellites":42,"speed":18,"hex_longitude":"2d757ec0","hex_latitude":"05eb6b10","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334171392001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378183655803060224,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465571056229877760,"note":"Value kept but may cause issues"} 
[2026-08-11 20:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786461609000,"timestamp_ms":1786461609000,"timestamp_seconds":1786461609,"priority":1,"record_length":96,"hex_timestamp":"0000019ff168dc28"} 
[2026-08-11 20:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-11 20:51:54] 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-08-11 20: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-08-11 20:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:51:54] 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-08-11 20:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334171392001,"66":27343,"186":206,"87":12288,"24":18,"16":378183655803060224,"45":8465571056229877760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-11 20:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334171392001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:51:54] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-11 20:51:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 20:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378183655803060224,"km_value":378183655803060.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465571056229877760,"description":"Unknown IO ID 45"} 
[2026-08-11 20:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334171392001,"power":27343,"unknown_186":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8465571056229877760}} 
[2026-08-11 20:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":152886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:51:54] local.INFO: GPS data processed {"connection_id":152886,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:51:54] local.INFO: Acknowledgment sent {"connection_id":152886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:52:08] local.INFO: TCP Data received {"connection_id":152887,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:52:08] local.INFO: Processing buffer {"connection_id":152887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:52:08] local.INFO: IMEI packet received {"connection_id":152887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":152887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:52:13] local.INFO: TCP Data received {"connection_id":152887,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:52:13] local.INFO: Processing buffer {"connection_id":152887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:52:13] local.INFO: IMEI packet received {"connection_id":152887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":152887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:52:15] local.INFO: TCP Data received {"connection_id":152887,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff166e058012d7c038005db9a80000400a720..."} 
[2026-08-11 20:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff166e058012d7c038005db9a80000400a720..."} 
[2026-08-11 20:52:15] local.INFO: Processing buffer {"connection_id":152887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff166e058012d7c038005db9a80000400a720..."} 
[2026-08-11 20:52:15] local.INFO: Packet analysis {"connection_id":152887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:52:15] local.INFO: Extracted packet for processing {"connection_id":152887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:52:15] local.INFO: GPS Element Parsed {"raw_longitude":763102080,"raw_latitude":98278016,"longitude_deg":76.310208,"latitude_deg":9.8278016,"altitude":4,"angle":167,"satellites":32,"speed":5,"hex_longitude":"2d7c0380","hex_latitude":"05db9a80","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334137600001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887442001854464,"note":"Value kept but may cause issues"} 
[2026-08-11 20:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935775004560033792,"note":"Value kept but may cause issues"} 
[2026-08-11 20:52:15] 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-08-11 20:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786461479000,"timestamp_ms":1786461479000,"timestamp_seconds":1786461479,"priority":1,"record_length":96,"hex_timestamp":"0000019ff166e058"} 
[2026-08-11 20:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:52: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-08-11 20: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-11 20:52:15] 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-08-11 20: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-08-11 20:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334137600001,"66":12189,"168":206,"85":15104,"24":5,"16":117887442001854464,"45":8935775004560033792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 20:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334137600001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:52:15] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 20:52:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887442001854464,"km_value":117887442001854.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935775004560033792,"description":"Unknown IO ID 45"} 
[2026-08-11 20:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334137600001,"power":12189,"unknown_168":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8935775004560033792}} 
[2026-08-11 20:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":152887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:52:15] local.INFO: GPS data processed {"connection_id":152887,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:52:15] local.INFO: Acknowledgment sent {"connection_id":152887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:52:15] local.INFO: TCP Data received {"connection_id":155188,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:52:15] local.INFO: Processing buffer {"connection_id":155188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:52:15] local.INFO: Packet analysis {"connection_id":155188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:52:15] local.INFO: Extracted packet for processing {"connection_id":155188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334048256001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786461427000,"timestamp_ms":1786461427000,"timestamp_seconds":1786461427,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1661538"} 
[2026-08-11 20:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:52: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-08-11 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:52:15] 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-08-11 20: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-08-11 20:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334048256001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334048256001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:52:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334048256001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":155188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:52:16] local.INFO: GPS data processed {"connection_id":155188,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:52:16] local.INFO: Acknowledgment sent {"connection_id":155188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:52:18] local.INFO: TCP Data received {"connection_id":155189,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:52:18] local.INFO: Processing buffer {"connection_id":155189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:52:18] local.INFO: IMEI packet received {"connection_id":155189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":155189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:52:28] local.INFO: TCP Data received {"connection_id":155189,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:52:28] local.INFO: Processing buffer {"connection_id":155189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:52:28] local.INFO: IMEI packet received {"connection_id":155189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":155189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:52:29] local.INFO: TCP Data received {"connection_id":155189,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1692660012d759e0005eb7b40000800382a..."} 
[2026-08-11 20:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1692660012d759e0005eb7b40000800382a..."} 
[2026-08-11 20:52:29] local.INFO: Processing buffer {"connection_id":155189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1692660012d759e0005eb7b40000800382a..."} 
[2026-08-11 20:52:29] local.INFO: Packet analysis {"connection_id":155189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff169"} 
[2026-08-11 20:52:29] local.INFO: Extracted packet for processing {"connection_id":155189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff169"} 
[2026-08-11 20:52:29] local.INFO: GPS Element Parsed {"raw_longitude":762682880,"raw_latitude":99318592,"longitude_deg":76.268288,"latitude_deg":9.9318592,"altitude":8,"angle":56,"satellites":42,"speed":17,"hex_longitude":"2d759e00","hex_latitude":"05eb7b40","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334171904001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378184089594757120,"note":"Value kept but may cause issues"} 
[2026-08-11 20:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8466415481160142848,"note":"Value kept but may cause issues"} 
[2026-08-11 20:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786461628000,"timestamp_ms":1786461628000,"timestamp_seconds":1786461628,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1692660"} 
[2026-08-11 20:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 20:52: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-08-11 20: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-08-11 20:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:52:29] 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-08-11 20:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334171904001,"66":27234,"186":206,"87":12288,"24":17,"16":378184089594757120,"45":8466415481160142848},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-11 20:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334171904001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:52:29] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-11 20:52:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 20:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378184089594757120,"km_value":378184089594757.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8466415481160142848,"description":"Unknown IO ID 45"} 
[2026-08-11 20:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334171904001,"power":27234,"unknown_186":206,"unknown_87":12288,"ignition":17,"odometer":null,"unknown_45":8466415481160142848}} 
[2026-08-11 20:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":155189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:52:29] local.INFO: GPS data processed {"connection_id":155189,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:52:29] local.INFO: Acknowledgment sent {"connection_id":155189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:52:38] local.INFO: TCP Data received {"connection_id":155190,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:52:38] local.INFO: Processing buffer {"connection_id":155190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:52:38] local.INFO: IMEI packet received {"connection_id":155190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":155190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:52:43] local.INFO: TCP Data received {"connection_id":155190,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:52:43] local.INFO: Processing buffer {"connection_id":155190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:52:43] local.INFO: IMEI packet received {"connection_id":155190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":155190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:52:44] local.INFO: TCP Data received {"connection_id":155190,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:52:44] local.INFO: Processing buffer {"connection_id":155190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1661538012d196a00071fef68003b011827..."} 
[2026-08-11 20:52:44] local.INFO: Packet analysis {"connection_id":155190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:52:44] local.INFO: Extracted packet for processing {"connection_id":155190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff166"} 
[2026-08-11 20:52:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334048256001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786461427000,"timestamp_ms":1786461427000,"timestamp_seconds":1786461427,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1661538"} 
[2026-08-11 20:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:52: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-08-11 20: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 20:52:44] 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-08-11 20: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-08-11 20:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334048256001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334048256001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:52:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:52:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334048256001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":155190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:52:44] local.INFO: GPS data processed {"connection_id":155190,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:52:44] local.INFO: Acknowledgment sent {"connection_id":155190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:52:45] local.INFO: TCP Data received {"connection_id":152887,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1672e78012d7c040005db99c0000600a722..."} 
[2026-08-11 20:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1672e78012d7c040005db99c0000600a722..."} 
[2026-08-11 20:52:45] local.INFO: Processing buffer {"connection_id":152887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1672e78012d7c040005db99c0000600a722..."} 
[2026-08-11 20:52:45] local.INFO: Packet analysis {"connection_id":152887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff167"} 
[2026-08-11 20:52:45] local.INFO: Extracted packet for processing {"connection_id":152887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff167"} 
[2026-08-11 20:52:45] local.INFO: GPS Element Parsed {"raw_longitude":763102208,"raw_latitude":98277824,"longitude_deg":76.3102208,"latitude_deg":9.8277824,"altitude":6,"angle":167,"satellites":34,"speed":0,"hex_longitude":"2d7c0400","hex_latitude":"05db99c0","is_valid_coordinates":true} 
[2026-08-11 20:52:45] 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-08-11 20:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334138624001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936126848280723456,"note":"Value kept but may cause issues"} 
[2026-08-11 20:52:45] 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-08-11 20:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786461499000,"timestamp_ms":1786461499000,"timestamp_seconds":1786461499,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1672e78"} 
[2026-08-11 20:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:52: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-08-11 20:52: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-11 20:52:45] 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-08-11 20:52: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-08-11 20:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334138624001,"66":13428,"168":206,"85":15104,"24":0,"16":117887454886756352,"45":8936126848280723456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 20:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334138624001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:52:45] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 20:52:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936126848280723456,"description":"Unknown IO ID 45"} 
[2026-08-11 20:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334138624001,"power":13428,"unknown_168":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936126848280723456}} 
[2026-08-11 20:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":152887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:52:46] local.INFO: GPS data processed {"connection_id":152887,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:52:46] local.INFO: Acknowledgment sent {"connection_id":152887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:53:08] local.INFO: TCP Data received {"connection_id":152888,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:53:08] local.INFO: Processing buffer {"connection_id":152888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:53:08] local.INFO: IMEI packet received {"connection_id":152888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":152888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:53:13] local.INFO: TCP Data received {"connection_id":152888,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:53:13] local.INFO: Processing buffer {"connection_id":152888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:53:13] local.INFO: IMEI packet received {"connection_id":152888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":152888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:53:13] local.INFO: TCP Data received {"connection_id":155189,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1692e30012d75a14005eb7df0000900292a..."} 
[2026-08-11 20:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1692e30012d75a14005eb7df0000900292a..."} 
[2026-08-11 20:53:13] local.INFO: Processing buffer {"connection_id":155189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1692e30012d75a14005eb7df0000900292a..."} 
[2026-08-11 20:53:13] local.INFO: Packet analysis {"connection_id":155189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff169"} 
[2026-08-11 20:53:13] local.INFO: Extracted packet for processing {"connection_id":155189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff169"} 
[2026-08-11 20:53:13] local.INFO: GPS Element Parsed {"raw_longitude":762683712,"raw_latitude":99319280,"longitude_deg":76.2683712,"latitude_deg":9.931928,"altitude":9,"angle":41,"satellites":42,"speed":22,"hex_longitude":"2d75a140","hex_latitude":"05eb7df0","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334176768001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378184141134364672,"note":"Value kept but may cause issues"} 
[2026-08-11 20:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8475211574183411712,"note":"Value kept but may cause issues"} 
[2026-08-11 20:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786461630000,"timestamp_ms":1786461630000,"timestamp_seconds":1786461630,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1692e30"} 
[2026-08-11 20:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 20:53: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-08-11 20: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-08-11 20:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":155189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":155189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":155189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:53:13] 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-08-11 20:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334176768001,"66":27332,"186":206,"87":12288,"24":22,"16":378184141134364672,"45":8475211574183411712},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-11 20:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334176768001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:53:13] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-11 20:53:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-11 20:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378184141134364672,"km_value":378184141134364.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8475211574183411712,"description":"Unknown IO ID 45"} 
[2026-08-11 20:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334176768001,"power":27332,"unknown_186":206,"unknown_87":12288,"ignition":22,"odometer":null,"unknown_45":8475211574183411712}} 
[2026-08-11 20:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":155189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:53:13] local.INFO: GPS data processed {"connection_id":155189,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:53:13] local.INFO: Acknowledgment sent {"connection_id":155189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:53:14] local.INFO: TCP Data received {"connection_id":152888,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1672e78012d7c040005db99c0000600a722..."} 
[2026-08-11 20:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1672e78012d7c040005db99c0000600a722..."} 
[2026-08-11 20:53:14] local.INFO: Processing buffer {"connection_id":152888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1672e78012d7c040005db99c0000600a722..."} 
[2026-08-11 20:53:14] local.INFO: Packet analysis {"connection_id":152888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff167"} 
[2026-08-11 20:53:14] local.INFO: Extracted packet for processing {"connection_id":152888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff167"} 
[2026-08-11 20:53:14] local.INFO: GPS Element Parsed {"raw_longitude":763102208,"raw_latitude":98277824,"longitude_deg":76.3102208,"latitude_deg":9.8277824,"altitude":6,"angle":167,"satellites":34,"speed":0,"hex_longitude":"2d7c0400","hex_latitude":"05db99c0","is_valid_coordinates":true} 
[2026-08-11 20:53:14] 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-08-11 20:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334143744001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936267585769029632,"note":"Value kept but may cause issues"} 
[2026-08-11 20:53:14] 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-08-11 20:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786461499000,"timestamp_ms":1786461499000,"timestamp_seconds":1786461499,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1672e78"} 
[2026-08-11 20:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:53:14] 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-08-11 20: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 20:53:14] 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-08-11 20: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-08-11 20:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334143744001,"66":13428,"168":206,"85":15104,"24":0,"16":117887454886756352,"45":8936267585769029632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 20:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334143744001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:53:14] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 20:53:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936267585769029632,"description":"Unknown IO ID 45"} 
[2026-08-11 20:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334143744001,"power":13428,"unknown_168":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936267585769029632}} 
[2026-08-11 20:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":152888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:53:14] local.INFO: GPS data processed {"connection_id":152888,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:53:14] local.INFO: Acknowledgment sent {"connection_id":152888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:53:15] local.INFO: TCP Data received {"connection_id":155190,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:53:15] local.INFO: Processing buffer {"connection_id":155190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:53:15] local.INFO: Packet analysis {"connection_id":155190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:53:15] local.INFO: Extracted packet for processing {"connection_id":155190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334125312001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786461728000,"timestamp_ms":1786461728000,"timestamp_seconds":1786461728,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16aad00"} 
[2026-08-11 20:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:53:15] 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-08-11 20: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 20:53:15] 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-08-11 20: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-08-11 20:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334125312001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334125312001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:53:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334125312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":155190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:53:15] local.INFO: GPS data processed {"connection_id":155190,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:53:15] local.INFO: Acknowledgment sent {"connection_id":155190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:53:18] local.INFO: TCP Data received {"connection_id":152472,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:53:18] local.INFO: Processing buffer {"connection_id":152472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:53:18] local.INFO: IMEI packet received {"connection_id":152472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":152472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:53:19] local.INFO: TCP Data received {"connection_id":152472,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:53:19] local.INFO: Processing buffer {"connection_id":152472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:53:19] local.INFO: IMEI packet received {"connection_id":152472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":152472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:53:38] local.INFO: TCP Data received {"connection_id":155191,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:53:38] local.INFO: Processing buffer {"connection_id":155191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:53:38] local.INFO: IMEI packet received {"connection_id":155191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":155191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:53:38] local.INFO: TCP Data received {"connection_id":152472,"ip":"42.106.6.23","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 20:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152472,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 20:53:38] local.INFO: Processing buffer {"connection_id":152472,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 20:53:38] local.INFO: IMEI packet received {"connection_id":152472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":152472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:53:43] local.INFO: TCP Data received {"connection_id":155191,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:53:43] local.INFO: Processing buffer {"connection_id":155191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:53:43] local.INFO: IMEI packet received {"connection_id":155191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":155191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:53:44] local.INFO: TCP Data received {"connection_id":155191,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:53:44] local.INFO: Processing buffer {"connection_id":155191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:53:44] local.INFO: Packet analysis {"connection_id":155191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:53:44] local.INFO: Extracted packet for processing {"connection_id":155191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:53:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:53: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-08-11 20:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334125312001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786461728000,"timestamp_ms":1786461728000,"timestamp_seconds":1786461728,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16aad00"} 
[2026-08-11 20:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:53:44] 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-08-11 20:53: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 20:53:44] 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-08-11 20:53: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-08-11 20:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334125312001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334125312001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:53:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:53:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334125312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":155191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:53:44] local.INFO: GPS data processed {"connection_id":155191,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:53:44] local.INFO: Acknowledgment sent {"connection_id":155191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:53:45] local.INFO: TCP Data received {"connection_id":152888,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1673260012d7c040005db99c0000600a723..."} 
[2026-08-11 20:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1673260012d7c040005db99c0000600a723..."} 
[2026-08-11 20:53:45] local.INFO: Processing buffer {"connection_id":152888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1673260012d7c040005db99c0000600a723..."} 
[2026-08-11 20:53:45] local.INFO: Packet analysis {"connection_id":152888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff167"} 
[2026-08-11 20:53:45] local.INFO: Extracted packet for processing {"connection_id":152888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff167"} 
[2026-08-11 20:53:45] local.INFO: GPS Element Parsed {"raw_longitude":763102208,"raw_latitude":98277824,"longitude_deg":76.3102208,"latitude_deg":9.8277824,"altitude":6,"angle":167,"satellites":35,"speed":0,"hex_longitude":"2d7c0400","hex_latitude":"05db99c0","is_valid_coordinates":true} 
[2026-08-11 20:53: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-08-11 20:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334143744001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936267585769029632,"note":"Value kept but may cause issues"} 
[2026-08-11 20:53:45] 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-08-11 20:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786461500000,"timestamp_ms":1786461500000,"timestamp_seconds":1786461500,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1673260"} 
[2026-08-11 20:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:53:45] 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-08-11 20:53: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 20:53:45] 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-08-11 20:53: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-08-11 20:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334143744001,"66":13428,"168":206,"85":15104,"24":0,"16":117887454886756352,"45":8936267585769029632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-11 20:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334143744001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:53:45] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-11 20:53:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936267585769029632,"description":"Unknown IO ID 45"} 
[2026-08-11 20:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334143744001,"power":13428,"unknown_168":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936267585769029632}} 
[2026-08-11 20:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":152888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:53:45] local.INFO: GPS data processed {"connection_id":152888,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:53:45] local.INFO: Acknowledgment sent {"connection_id":152888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:54:08] local.INFO: TCP Data received {"connection_id":152889,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:54:08] local.INFO: Processing buffer {"connection_id":152889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:54:08] local.INFO: IMEI packet received {"connection_id":152889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":152889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:54:13] local.INFO: TCP Data received {"connection_id":152889,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:54:13] local.INFO: Processing buffer {"connection_id":152889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:54:13] local.INFO: IMEI packet received {"connection_id":152889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":152889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:54:14] local.INFO: TCP Data received {"connection_id":152889,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:54:14] local.INFO: Processing buffer {"connection_id":152889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:54:14] local.INFO: Packet analysis {"connection_id":152889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:54:14] local.INFO: Extracted packet for processing {"connection_id":152889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:54:14] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 20:54: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-08-11 20:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334144000001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936267585769029632,"note":"Value kept but may cause issues"} 
[2026-08-11 20:54:14] 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-08-11 20:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786461802000,"timestamp_ms":1786461802000,"timestamp_seconds":1786461802,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16bce10"} 
[2026-08-11 20:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:54:14] 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-08-11 20:54: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":116,"data_length":795,"current_offset":136} 
[2026-08-11 20:54:14] 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-08-11 20:54: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-08-11 20:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334144000001,"66":12885,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936267585769029632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 20:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334144000001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:54:14] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 20:54:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936267585769029632,"description":"Unknown IO ID 45"} 
[2026-08-11 20:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334144000001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936267585769029632}} 
[2026-08-11 20:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":152889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:54:14] local.INFO: GPS data processed {"connection_id":152889,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:54:14] local.INFO: Acknowledgment sent {"connection_id":152889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:54:15] local.INFO: TCP Data received {"connection_id":155191,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:54:15] local.INFO: Processing buffer {"connection_id":155191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:54:15] local.INFO: Packet analysis {"connection_id":155191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:54:15] local.INFO: Extracted packet for processing {"connection_id":155191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334125312001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786461728000,"timestamp_ms":1786461728000,"timestamp_seconds":1786461728,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16aad00"} 
[2026-08-11 20:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:54:15] 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-08-11 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 20:54:15] 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-08-11 20: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-08-11 20:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334125312001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334125312001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:54:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:54:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334125312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":155191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:54:15] local.INFO: GPS data processed {"connection_id":155191,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:54:15] local.INFO: Acknowledgment sent {"connection_id":155191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:54:43] local.INFO: TCP Data received {"connection_id":152891,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:54:43] local.INFO: Processing buffer {"connection_id":152891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:54:43] local.INFO: IMEI packet received {"connection_id":152891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":152891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:54:45] local.INFO: TCP Data received {"connection_id":152889,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:54:45] local.INFO: Processing buffer {"connection_id":152889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:54:45] local.INFO: Packet analysis {"connection_id":152889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:54:45] local.INFO: Extracted packet for processing {"connection_id":152889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:54:45] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 20:54: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-08-11 20:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334144000001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936267585769029632,"note":"Value kept but may cause issues"} 
[2026-08-11 20:54:45] 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-08-11 20:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786461802000,"timestamp_ms":1786461802000,"timestamp_seconds":1786461802,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16bce10"} 
[2026-08-11 20:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:54:45] 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-08-11 20:54: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 20:54:45] 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-08-11 20:54: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-08-11 20:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334144000001,"66":12885,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936267585769029632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 20:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334144000001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:54:45] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 20:54:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936267585769029632,"description":"Unknown IO ID 45"} 
[2026-08-11 20:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334144000001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936267585769029632}} 
[2026-08-11 20:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":152889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:54:45] local.INFO: GPS data processed {"connection_id":152889,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:54:45] local.INFO: Acknowledgment sent {"connection_id":152889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:54:48] local.INFO: TCP Data received {"connection_id":152891,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:54:48] local.INFO: Processing buffer {"connection_id":152891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:54:48] local.INFO: IMEI packet received {"connection_id":152891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":152891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:54:49] local.INFO: TCP Data received {"connection_id":152891,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:54:49] local.INFO: Processing buffer {"connection_id":152891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:54:49] local.INFO: Packet analysis {"connection_id":152891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:54:49] local.INFO: Extracted packet for processing {"connection_id":152891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:54:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:54: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-08-11 20:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334125312001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:54: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-08-11 20:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786461728000,"timestamp_ms":1786461728000,"timestamp_seconds":1786461728,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16aad00"} 
[2026-08-11 20:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:54:49] 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-08-11 20:54: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 20:54:49] 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-08-11 20:54: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-08-11 20:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334125312001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334125312001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:54:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:54:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334125312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":152891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:54:49] local.INFO: GPS data processed {"connection_id":152891,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:54:49] local.INFO: Acknowledgment sent {"connection_id":152891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:54:54] local.INFO: TCP Data received {"connection_id":152891,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:54:54] local.INFO: Processing buffer {"connection_id":152891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:54:54] local.INFO: Packet analysis {"connection_id":152891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:54:54] local.INFO: Extracted packet for processing {"connection_id":152891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:54:54] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334125312001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:54: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-08-11 20:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786461728000,"timestamp_ms":1786461728000,"timestamp_seconds":1786461728,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16aad00"} 
[2026-08-11 20:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:54:54] 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-08-11 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 20:54:54] 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-08-11 20: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-08-11 20:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334125312001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334125312001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:54:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:54:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334125312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":152891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:54:54] local.INFO: GPS data processed {"connection_id":152891,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:54:54] local.INFO: Acknowledgment sent {"connection_id":152891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:55:13] local.INFO: TCP Data received {"connection_id":152473,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:55:13] local.INFO: Processing buffer {"connection_id":152473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:55:13] local.INFO: IMEI packet received {"connection_id":152473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":152473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:55:18] local.INFO: TCP Data received {"connection_id":152473,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:55:18] local.INFO: Processing buffer {"connection_id":152473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:55:18] local.INFO: IMEI packet received {"connection_id":152473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":152473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:55:19] local.INFO: TCP Data received {"connection_id":152473,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:55:19] local.INFO: Processing buffer {"connection_id":152473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:55:19] local.INFO: Packet analysis {"connection_id":152473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:55:19] local.INFO: Extracted packet for processing {"connection_id":152473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:55:19] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 20:55: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-08-11 20:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334144000001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936267585769029632,"note":"Value kept but may cause issues"} 
[2026-08-11 20:55:19] 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-08-11 20:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786461802000,"timestamp_ms":1786461802000,"timestamp_seconds":1786461802,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16bce10"} 
[2026-08-11 20:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:55:19] 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-08-11 20:55: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 20:55:19] 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-08-11 20:55: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-08-11 20:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334144000001,"66":12885,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936267585769029632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 20:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334144000001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:55:19] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 20:55:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936267585769029632,"description":"Unknown IO ID 45"} 
[2026-08-11 20:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334144000001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936267585769029632}} 
[2026-08-11 20:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":152473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:55:19] local.INFO: GPS data processed {"connection_id":152473,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:55:19] local.INFO: Acknowledgment sent {"connection_id":152473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:55:23] local.INFO: TCP Data received {"connection_id":152473,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:55:23] local.INFO: Processing buffer {"connection_id":152473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:55:23] local.INFO: Packet analysis {"connection_id":152473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:55:23] local.INFO: Extracted packet for processing {"connection_id":152473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:55:23] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334144000001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936267585769029632,"note":"Value kept but may cause issues"} 
[2026-08-11 20:55:23] 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-08-11 20:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786461802000,"timestamp_ms":1786461802000,"timestamp_seconds":1786461802,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16bce10"} 
[2026-08-11 20:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:55:23] 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-08-11 20: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 20:55: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-08-11 20: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-08-11 20:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334144000001,"66":12885,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936267585769029632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 20:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334144000001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:55:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 20:55:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936267585769029632,"description":"Unknown IO ID 45"} 
[2026-08-11 20:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334144000001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936267585769029632}} 
[2026-08-11 20:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":152473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:55:23] local.INFO: GPS data processed {"connection_id":152473,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:55:23] local.INFO: Acknowledgment sent {"connection_id":152473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:55:38] local.INFO: TCP Data received {"connection_id":152892,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:55:38] local.INFO: Processing buffer {"connection_id":152892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:55:38] local.INFO: IMEI packet received {"connection_id":152892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":152892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:55:43] local.INFO: TCP Data received {"connection_id":152892,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:55:43] local.INFO: Processing buffer {"connection_id":152892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:55:43] local.INFO: IMEI packet received {"connection_id":152892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":152892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:55:44] local.INFO: TCP Data received {"connection_id":152892,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:55:44] local.INFO: Processing buffer {"connection_id":152892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:55:44] local.INFO: Packet analysis {"connection_id":152892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:55:44] local.INFO: Extracted packet for processing {"connection_id":152892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334125312001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786461728000,"timestamp_ms":1786461728000,"timestamp_seconds":1786461728,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16aad00"} 
[2026-08-11 20:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:55:44] 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-08-11 20: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 20:55:44] 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-08-11 20: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-08-11 20:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334125312001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334125312001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:55:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:55:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334125312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":152892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:55:44] local.INFO: GPS data processed {"connection_id":152892,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:55:44] local.INFO: Acknowledgment sent {"connection_id":152892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:56:08] local.INFO: TCP Data received {"connection_id":152893,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:56:08] local.INFO: Processing buffer {"connection_id":152893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:56:08] local.INFO: IMEI packet received {"connection_id":152893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":152893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:56:13] local.INFO: TCP Data received {"connection_id":152893,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:56:13] local.INFO: Processing buffer {"connection_id":152893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:56:13] local.INFO: IMEI packet received {"connection_id":152893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":152893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:56:14] local.INFO: TCP Data received {"connection_id":152893,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:56:14] local.INFO: Processing buffer {"connection_id":152893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:56:14] local.INFO: Packet analysis {"connection_id":152893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:56:14] local.INFO: Extracted packet for processing {"connection_id":152893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:56:14] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334144000001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936267585769029632,"note":"Value kept but may cause issues"} 
[2026-08-11 20:56:14] 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-08-11 20:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786461802000,"timestamp_ms":1786461802000,"timestamp_seconds":1786461802,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16bce10"} 
[2026-08-11 20:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:56:14] 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-08-11 20: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 20:56:14] 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-08-11 20: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-08-11 20:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334144000001,"66":12885,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936267585769029632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 20:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334144000001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:56:14] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 20:56:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936267585769029632,"description":"Unknown IO ID 45"} 
[2026-08-11 20:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334144000001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936267585769029632}} 
[2026-08-11 20:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":152893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:56:14] local.INFO: GPS data processed {"connection_id":152893,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:56:14] local.INFO: Acknowledgment sent {"connection_id":152893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:56:15] local.INFO: TCP Data received {"connection_id":152892,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:56:15] local.INFO: Processing buffer {"connection_id":152892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:56:15] local.INFO: Packet analysis {"connection_id":152892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:56:15] local.INFO: Extracted packet for processing {"connection_id":152892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334125312001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786461728000,"timestamp_ms":1786461728000,"timestamp_seconds":1786461728,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16aad00"} 
[2026-08-11 20:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:56:15] 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-08-11 20: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 20:56:15] 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-08-11 20: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-08-11 20:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334125312001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334125312001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:56:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334125312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":152892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:56:15] local.INFO: GPS data processed {"connection_id":152892,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:56:15] local.INFO: Acknowledgment sent {"connection_id":152892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:56:38] local.INFO: TCP Data received {"connection_id":152475,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:56:38] local.INFO: Processing buffer {"connection_id":152475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:56:38] local.INFO: IMEI packet received {"connection_id":152475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":152475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:56:43] local.INFO: TCP Data received {"connection_id":152475,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:56:43] local.INFO: Processing buffer {"connection_id":152475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:56:43] local.INFO: IMEI packet received {"connection_id":152475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":152475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:56:44] local.INFO: TCP Data received {"connection_id":152475,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:56:44] local.INFO: Processing buffer {"connection_id":152475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:56:44] local.INFO: Packet analysis {"connection_id":152475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:56:44] local.INFO: Extracted packet for processing {"connection_id":152475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:56:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:56: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-08-11 20:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334125312001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786461728000,"timestamp_ms":1786461728000,"timestamp_seconds":1786461728,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16aad00"} 
[2026-08-11 20:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:56:44] 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-08-11 20:56: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 20:56:44] 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-08-11 20:56: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-08-11 20:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334125312001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334125312001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:56:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:56:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334125312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":152475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:56:44] local.INFO: GPS data processed {"connection_id":152475,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:56:44] local.INFO: Acknowledgment sent {"connection_id":152475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:56:45] local.INFO: TCP Data received {"connection_id":152893,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:56:45] local.INFO: Processing buffer {"connection_id":152893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:56:45] local.INFO: Packet analysis {"connection_id":152893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:56:45] local.INFO: Extracted packet for processing {"connection_id":152893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:56:45] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334144000001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936267585769029632,"note":"Value kept but may cause issues"} 
[2026-08-11 20:56:45] 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-08-11 20:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786461802000,"timestamp_ms":1786461802000,"timestamp_seconds":1786461802,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16bce10"} 
[2026-08-11 20:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:56:45] 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-08-11 20: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 20:56:45] 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-08-11 20: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-08-11 20:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334144000001,"66":12885,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936267585769029632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 20:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334144000001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:56:45] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 20:56:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936267585769029632,"description":"Unknown IO ID 45"} 
[2026-08-11 20:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334144000001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936267585769029632}} 
[2026-08-11 20:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":152893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:56:45] local.INFO: GPS data processed {"connection_id":152893,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:56:45] local.INFO: Acknowledgment sent {"connection_id":152893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:57:08] local.INFO: TCP Data received {"connection_id":152895,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:57:08] local.INFO: Processing buffer {"connection_id":152895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:57:08] local.INFO: IMEI packet received {"connection_id":152895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":152895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:57:13] local.INFO: TCP Data received {"connection_id":152895,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:57:13] local.INFO: Processing buffer {"connection_id":152895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:57:13] local.INFO: IMEI packet received {"connection_id":152895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":152895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:57:14] local.INFO: TCP Data received {"connection_id":152895,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:57:14] local.INFO: Processing buffer {"connection_id":152895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:57:14] local.INFO: Packet analysis {"connection_id":152895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:57:14] local.INFO: Extracted packet for processing {"connection_id":152895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:57:14] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334144000001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936267585769029632,"note":"Value kept but may cause issues"} 
[2026-08-11 20:57:14] 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-08-11 20:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786461802000,"timestamp_ms":1786461802000,"timestamp_seconds":1786461802,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16bce10"} 
[2026-08-11 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-08-11 20:57:14] 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-08-11 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 20:57:14] 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-08-11 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-08-11 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-08-11 20:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334144000001,"66":12885,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936267585769029632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 20:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334144000001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:57:14] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 20:57:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936267585769029632,"description":"Unknown IO ID 45"} 
[2026-08-11 20:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334144000001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936267585769029632}} 
[2026-08-11 20:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":152895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:57:14] local.INFO: GPS data processed {"connection_id":152895,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:57:14] local.INFO: Acknowledgment sent {"connection_id":152895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:57:15] local.INFO: TCP Data received {"connection_id":152475,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:57:15] local.INFO: Processing buffer {"connection_id":152475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:57:15] local.INFO: Packet analysis {"connection_id":152475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:57:15] local.INFO: Extracted packet for processing {"connection_id":152475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334125312001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786461728000,"timestamp_ms":1786461728000,"timestamp_seconds":1786461728,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16aad00"} 
[2026-08-11 20:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:57:15] 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-08-11 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 20:57:15] 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-08-11 20: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-08-11 20:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334125312001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334125312001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:57:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334125312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":152475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:57:15] local.INFO: GPS data processed {"connection_id":152475,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:57:15] local.INFO: Acknowledgment sent {"connection_id":152475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:57:38] local.INFO: TCP Data received {"connection_id":155192,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:57:38] local.INFO: Processing buffer {"connection_id":155192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:57:38] local.INFO: IMEI packet received {"connection_id":155192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":155192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:57:43] local.INFO: TCP Data received {"connection_id":155192,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:57:43] local.INFO: Processing buffer {"connection_id":155192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:57:43] local.INFO: IMEI packet received {"connection_id":155192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":155192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:57:44] local.INFO: TCP Data received {"connection_id":155192,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:57:44] local.INFO: Processing buffer {"connection_id":155192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16aad00012d196a00071fef68003b011827..."} 
[2026-08-11 20:57:44] local.INFO: Packet analysis {"connection_id":155192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:57:44] local.INFO: Extracted packet for processing {"connection_id":155192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16a"} 
[2026-08-11 20:57:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334125312001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786461728000,"timestamp_ms":1786461728000,"timestamp_seconds":1786461728,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16aad00"} 
[2026-08-11 20:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:57:44] 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-08-11 20: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 20:57:44] 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-08-11 20: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-08-11 20:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334125312001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334125312001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:57:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:57:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334125312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":155192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:57:44] local.INFO: GPS data processed {"connection_id":155192,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:57:44] local.INFO: Acknowledgment sent {"connection_id":155192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:57:45] local.INFO: TCP Data received {"connection_id":152895,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:57:45] local.INFO: Processing buffer {"connection_id":152895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:57:45] local.INFO: Packet analysis {"connection_id":152895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:57:45] local.INFO: Extracted packet for processing {"connection_id":152895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:57:45] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 20:57: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-08-11 20:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334144000001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936267585769029632,"note":"Value kept but may cause issues"} 
[2026-08-11 20:57:45] 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-08-11 20:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786461802000,"timestamp_ms":1786461802000,"timestamp_seconds":1786461802,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16bce10"} 
[2026-08-11 20:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:57:45] 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-08-11 20:57: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-11 20:57:45] 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-08-11 20:57: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-08-11 20:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334144000001,"66":12885,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936267585769029632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 20:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334144000001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:57:45] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 20:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936267585769029632,"description":"Unknown IO ID 45"} 
[2026-08-11 20:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334144000001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936267585769029632}} 
[2026-08-11 20:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":152895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:57:45] local.INFO: GPS data processed {"connection_id":152895,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:57:45] local.INFO: Acknowledgment sent {"connection_id":152895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:58:08] local.INFO: TCP Data received {"connection_id":155193,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:58:08] local.INFO: Processing buffer {"connection_id":155193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:58:08] local.INFO: IMEI packet received {"connection_id":155193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":155193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:58:13] local.INFO: TCP Data received {"connection_id":155193,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:58:13] local.INFO: Processing buffer {"connection_id":155193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:58:13] local.INFO: IMEI packet received {"connection_id":155193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":155193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:58:14] local.INFO: TCP Data received {"connection_id":155193,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:58:14] local.INFO: Processing buffer {"connection_id":155193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16bce10012d7c044005db99d8000600a726..."} 
[2026-08-11 20:58:14] local.INFO: Packet analysis {"connection_id":155193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:58:14] local.INFO: Extracted packet for processing {"connection_id":155193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16b"} 
[2026-08-11 20:58:14] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 20:58: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-08-11 20:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334144000001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936267585769029632,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:14] 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-08-11 20:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786461802000,"timestamp_ms":1786461802000,"timestamp_seconds":1786461802,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16bce10"} 
[2026-08-11 20:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:58:14] 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-08-11 20:58: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":116,"data_length":795,"current_offset":136} 
[2026-08-11 20:58:14] 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-08-11 20:58: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-08-11 20:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334144000001,"66":12885,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936267585769029632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 20:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334144000001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:58:14] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 20:58:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936267585769029632,"description":"Unknown IO ID 45"} 
[2026-08-11 20:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334144000001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936267585769029632}} 
[2026-08-11 20:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":155193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:58:14] local.INFO: GPS data processed {"connection_id":155193,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:58:14] local.INFO: Acknowledgment sent {"connection_id":155193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:58:15] local.INFO: TCP Data received {"connection_id":155192,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 20:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 20:58:15] local.INFO: Processing buffer {"connection_id":155192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 20:58:15] local.INFO: Packet analysis {"connection_id":155192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 20:58:15] local.INFO: Extracted packet for processing {"connection_id":155192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 20:58:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:58: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-08-11 20:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334202368001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786462029000,"timestamp_ms":1786462029000,"timestamp_seconds":1786462029,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16f44c8"} 
[2026-08-11 20:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:58: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-08-11 20:58: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 20:58:15] 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-08-11 20:58: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-08-11 20:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334202368001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334202368001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:58:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334202368001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":155192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:58:15] local.INFO: GPS data processed {"connection_id":155192,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:58:15] local.INFO: Acknowledgment sent {"connection_id":155192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:58:24] local.INFO: TCP Data received {"connection_id":153813,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:58:24] local.INFO: Processing buffer {"connection_id":153813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:58:24] local.INFO: IMEI packet received {"connection_id":153813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":153813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:58:24] local.INFO: TCP Data received {"connection_id":153813,"ip":"42.106.6.23","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 20:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153813,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 20:58:24] local.INFO: Processing buffer {"connection_id":153813,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 20:58:24] local.INFO: IMEI packet received {"connection_id":153813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":153813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:58:29] local.INFO: TCP Data received {"connection_id":153813,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:58:29] local.INFO: Processing buffer {"connection_id":153813,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-11 20:58:29] local.INFO: IMEI packet received {"connection_id":153813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":153813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:58:29] local.INFO: TCP Data received {"connection_id":153813,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16f7f60012d78574005ed9678000a003e31..."} 
[2026-08-11 20:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16f7f60012d78574005ed9678000a003e31..."} 
[2026-08-11 20:58:29] local.INFO: Processing buffer {"connection_id":153813,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ff1..."} 
[2026-08-11 20:58:29] local.INFO: IMEI packet received {"connection_id":153813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":153813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:58:34] local.INFO: TCP Data received {"connection_id":153813,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16fd168012d7877c005eda710000c003e31..."} 
[2026-08-11 20:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16fd168012d7877c005eda710000c003e31..."} 
[2026-08-11 20:58:34] local.INFO: Processing buffer {"connection_id":153813,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ff16f7f60012d78574005ed9678000a003e31..."} 
[2026-08-11 20:58:34] local.INFO: Packet analysis {"connection_id":153813,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 20:58:34] local.INFO: Extracted packet for processing {"connection_id":153813,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 20:58:34] local.INFO: GPS Element Parsed {"raw_longitude":762861376,"raw_latitude":99456632,"longitude_deg":76.2861376,"latitude_deg":9.9456632,"altitude":10,"angle":62,"satellites":49,"speed":21,"hex_longitude":"2d785740","hex_latitude":"05ed9678","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334277888001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378196222877368320,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8665066446009344000,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786462044000,"timestamp_ms":1786462044000,"timestamp_seconds":1786462044,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16f7f60"} 
[2026-08-11 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-08-11 20:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-11 20:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 20:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:58:34] 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-08-11 20:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334277888001,"66":27397,"129":206,"87":13824,"24":21,"16":378196222877368320,"45":8665066446009344000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-11 20:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334277888001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:58:34] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 20:58:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378196222877368320,"km_value":378196222877368.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8665066446009344000,"description":"Unknown IO ID 45"} 
[2026-08-11 20:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334277888001,"power":27397,"unknown_129":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8665066446009344000}} 
[2026-08-11 20:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":153813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:58:34] local.INFO: GPS data processed {"connection_id":153813,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:58:34] local.INFO: Acknowledgment sent {"connection_id":153813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:58:34] local.INFO: Packet analysis {"connection_id":153813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 20:58:34] local.INFO: Extracted packet for processing {"connection_id":153813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 20:58:34] local.INFO: GPS Element Parsed {"raw_longitude":762869696,"raw_latitude":99460880,"longitude_deg":76.2869696,"latitude_deg":9.946088,"altitude":12,"angle":62,"satellites":49,"speed":15,"hex_longitude":"2d7877c0","hex_latitude":"05eda710","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334283264001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378196669553967104,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8671470001730254848,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786462065000,"timestamp_ms":1786462065000,"timestamp_seconds":1786462065,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16fd168"} 
[2026-08-11 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-08-11 20:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 20:58: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-08-11 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-08-11 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-08-11 20:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:58:34] 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-08-11 20:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334283264001,"66":27234,"129":206,"87":13824,"24":15,"16":378196669553967104,"45":8671470001730254848},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-11 20:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334283264001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:58:34] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 20:58:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378196669553967104,"km_value":378196669553967.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8671470001730254848,"description":"Unknown IO ID 45"} 
[2026-08-11 20:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334283264001,"power":27234,"unknown_129":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8671470001730254848}} 
[2026-08-11 20:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":153813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:58:34] local.INFO: GPS data processed {"connection_id":153813,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:58:34] local.INFO: Acknowledgment sent {"connection_id":153813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:58:38] local.INFO: TCP Data received {"connection_id":153814,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:58:38] local.INFO: Processing buffer {"connection_id":153814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:58:38] local.INFO: IMEI packet received {"connection_id":153814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":153814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:58:41] local.INFO: TCP Data received {"connection_id":153813,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16fd168012d7877c005eda710000c003e31..."} 
[2026-08-11 20:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16fd168012d7877c005eda710000c003e31..."} 
[2026-08-11 20:58:41] local.INFO: Processing buffer {"connection_id":153813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16fd168012d7877c005eda710000c003e31..."} 
[2026-08-11 20:58:41] local.INFO: Packet analysis {"connection_id":153813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 20:58:41] local.INFO: Extracted packet for processing {"connection_id":153813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 20:58:41] local.INFO: GPS Element Parsed {"raw_longitude":762869696,"raw_latitude":99460880,"longitude_deg":76.2869696,"latitude_deg":9.946088,"altitude":12,"angle":62,"satellites":49,"speed":15,"hex_longitude":"2d7877c0","hex_latitude":"05eda710","is_valid_coordinates":true} 
[2026-08-11 20:58: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-08-11 20:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334288640001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378196669553967104,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8680617938474438656,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786462065000,"timestamp_ms":1786462065000,"timestamp_seconds":1786462065,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16fd168"} 
[2026-08-11 20:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20:58: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":98,"data_length":795,"current_offset":136} 
[2026-08-11 20:58:41] 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-08-11 20:58: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-08-11 20:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:58:41] 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-08-11 20:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334288640001,"66":27234,"129":206,"87":13824,"24":15,"16":378196669553967104,"45":8680617938474438656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-11 20:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334288640001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:58:41] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 20:58:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378196669553967104,"km_value":378196669553967.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8680617938474438656,"description":"Unknown IO ID 45"} 
[2026-08-11 20:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334288640001,"power":27234,"unknown_129":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8680617938474438656}} 
[2026-08-11 20:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":153813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:58:41] local.INFO: GPS data processed {"connection_id":153813,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:58:41] local.INFO: Acknowledgment sent {"connection_id":153813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:58:43] local.INFO: TCP Data received {"connection_id":153814,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:58:43] local.INFO: Processing buffer {"connection_id":153814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:58:43] local.INFO: IMEI packet received {"connection_id":153814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":153814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:58:44] local.INFO: TCP Data received {"connection_id":153814,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 20:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 20:58:44] local.INFO: Processing buffer {"connection_id":153814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 20:58:44] local.INFO: Packet analysis {"connection_id":153814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 20:58:44] local.INFO: Extracted packet for processing {"connection_id":153814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 20:58:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334202368001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786462029000,"timestamp_ms":1786462029000,"timestamp_seconds":1786462029,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16f44c8"} 
[2026-08-11 20:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:58: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-08-11 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 20:58:44] 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-08-11 20: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-08-11 20:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334202368001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334202368001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:58:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:58:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334202368001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":153814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:58:44] local.INFO: GPS data processed {"connection_id":153814,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:58:44] local.INFO: Acknowledgment sent {"connection_id":153814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:58:45] local.INFO: TCP Data received {"connection_id":155193,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1705250012d7c044005db99d8000600a723..."} 
[2026-08-11 20:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1705250012d7c044005db99d8000600a723..."} 
[2026-08-11 20:58:45] local.INFO: Processing buffer {"connection_id":155193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1705250012d7c044005db99d8000600a723..."} 
[2026-08-11 20:58:45] local.INFO: Packet analysis {"connection_id":155193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 20:58:45] local.INFO: Extracted packet for processing {"connection_id":155193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 20:58:45] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":35,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 20:58:45] 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-08-11 20:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334221312001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 20:58:45] 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-08-11 20:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786462098000,"timestamp_ms":1786462098000,"timestamp_seconds":1786462098,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1705250"} 
[2026-08-11 20:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:58:45] 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-08-11 20: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":85,"data_length":795,"current_offset":136} 
[2026-08-11 20:58:45] 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-08-11 20: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-08-11 20:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334221312001,"66":12526,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 20:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334221312001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:58:45] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 20:58:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 20:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334221312001,"power":12526,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 20:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":155193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:58:45] local.INFO: GPS data processed {"connection_id":155193,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:58:45] local.INFO: Acknowledgment sent {"connection_id":155193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:59:08] local.INFO: TCP Data received {"connection_id":152896,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:59:08] local.INFO: Processing buffer {"connection_id":152896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:59:08] local.INFO: IMEI packet received {"connection_id":152896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 20:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":152896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:59:13] local.INFO: TCP Data received {"connection_id":152896,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:59:13] local.INFO: Processing buffer {"connection_id":152896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 20:59:13] local.INFO: IMEI packet received {"connection_id":152896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 20:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":152896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:59:14] local.INFO: TCP Data received {"connection_id":152896,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1705250012d7c044005db99d8000600a723..."} 
[2026-08-11 20:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1705250012d7c044005db99d8000600a723..."} 
[2026-08-11 20:59:14] local.INFO: Processing buffer {"connection_id":152896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1705250012d7c044005db99d8000600a723..."} 
[2026-08-11 20:59:14] local.INFO: Packet analysis {"connection_id":152896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 20:59:14] local.INFO: Extracted packet for processing {"connection_id":152896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 20:59:14] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":35,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 20:59:14] 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-08-11 20:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334297088001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:14] 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-08-11 20:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786462098000,"timestamp_ms":1786462098000,"timestamp_seconds":1786462098,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1705250"} 
[2026-08-11 20:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:59:14] 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-08-11 20:59: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 20:59:14] 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-08-11 20:59: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-08-11 20:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334297088001,"66":12526,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 20:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334297088001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:59:14] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 20:59:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 20:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334297088001,"power":12526,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 20:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":152896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:59:14] local.INFO: GPS data processed {"connection_id":152896,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:59:14] local.INFO: Acknowledgment sent {"connection_id":152896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:59:15] local.INFO: TCP Data received {"connection_id":153814,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 20:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 20:59:15] local.INFO: Processing buffer {"connection_id":153814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 20:59:15] local.INFO: Packet analysis {"connection_id":153814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 20:59:15] local.INFO: Extracted packet for processing {"connection_id":153814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 20:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334202368001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786462029000,"timestamp_ms":1786462029000,"timestamp_seconds":1786462029,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16f44c8"} 
[2026-08-11 20:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:59: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-08-11 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 20:59:15] 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-08-11 20: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-08-11 20:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334202368001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334202368001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:59:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334202368001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":153814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:59:15] local.INFO: GPS data processed {"connection_id":153814,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:59:15] local.INFO: Acknowledgment sent {"connection_id":153814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:59:19] local.INFO: TCP Data received {"connection_id":152897,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:59:19] local.INFO: Processing buffer {"connection_id":152897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:59:19] local.INFO: IMEI packet received {"connection_id":152897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 20:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":152897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:59:24] local.INFO: TCP Data received {"connection_id":152897,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:59:24] local.INFO: Processing buffer {"connection_id":152897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 20:59:24] local.INFO: IMEI packet received {"connection_id":152897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 20:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":152897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:59:25] local.INFO: TCP Data received {"connection_id":152897,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1702370012d78968005edb670000d004031..."} 
[2026-08-11 20:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1702370012d78968005edb670000d004031..."} 
[2026-08-11 20:59:25] local.INFO: Processing buffer {"connection_id":152897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1702370012d78968005edb670000d004031..."} 
[2026-08-11 20:59:25] local.INFO: Packet analysis {"connection_id":152897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 20:59:25] local.INFO: Extracted packet for processing {"connection_id":152897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 20:59:25] local.INFO: GPS Element Parsed {"raw_longitude":762877568,"raw_latitude":99464816,"longitude_deg":76.2877568,"latitude_deg":9.9464816,"altitude":13,"angle":64,"satellites":49,"speed":19,"hex_longitude":"2d789680","hex_latitude":"05edb670","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334288640001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378197090460762112,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8680617938474438656,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786462086000,"timestamp_ms":1786462086000,"timestamp_seconds":1786462086,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1702370"} 
[2026-08-11 20:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":98,"data_length":795,"current_offset":136} 
[2026-08-11 20:59:25] 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-08-11 20: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-08-11 20:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:59:25] 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-08-11 20:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334288640001,"66":27343,"129":206,"87":13824,"24":19,"16":378197090460762112,"45":8680617938474438656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-11 20:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334288640001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:59:25] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 20:59:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378197090460762112,"km_value":378197090460762.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8680617938474438656,"description":"Unknown IO ID 45"} 
[2026-08-11 20:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334288640001,"power":27343,"unknown_129":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8680617938474438656}} 
[2026-08-11 20:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":152897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:59:25] local.INFO: GPS data processed {"connection_id":152897,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:59:25] local.INFO: Acknowledgment sent {"connection_id":152897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:59:43] local.INFO: TCP Data received {"connection_id":152476,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:59:43] local.INFO: Processing buffer {"connection_id":152476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:59:43] local.INFO: IMEI packet received {"connection_id":152476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 20:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":152476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 20:59:45] local.INFO: TCP Data received {"connection_id":152896,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 20:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 20:59:45] local.INFO: Processing buffer {"connection_id":152896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 20:59:45] local.INFO: Packet analysis {"connection_id":152896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 20:59:45] local.INFO: Extracted packet for processing {"connection_id":152896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 20:59:45] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":35,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 20:59: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-08-11 20:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334297088001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:45] 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-08-11 20:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786462103000,"timestamp_ms":1786462103000,"timestamp_seconds":1786462103,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17065d8"} 
[2026-08-11 20:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:59:45] 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-08-11 20:59: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 20:59:45] 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-08-11 20:59: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-08-11 20:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 20:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 20:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 20:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334297088001,"66":3340,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 20:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 20:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 20:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334297088001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:59:45] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 20:59:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 20:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 20:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334297088001,"power":3340,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 20:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":152896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:59:45] local.INFO: GPS data processed {"connection_id":152896,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:59:45] local.INFO: Acknowledgment sent {"connection_id":152896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:59:48] local.INFO: TCP Data received {"connection_id":152476,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:59:48] local.INFO: Processing buffer {"connection_id":152476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 20:59:48] local.INFO: IMEI packet received {"connection_id":152476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 20:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":152476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 20:59:49] local.INFO: TCP Data received {"connection_id":152476,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 20:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 20:59:49] local.INFO: Processing buffer {"connection_id":152476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 20:59:49] local.INFO: Packet analysis {"connection_id":152476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 20:59:49] local.INFO: Extracted packet for processing {"connection_id":152476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 20:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 20:59: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-08-11 20:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334202368001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59: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-08-11 20:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786462029000,"timestamp_ms":1786462029000,"timestamp_seconds":1786462029,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16f44c8"} 
[2026-08-11 20:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:59:49] 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-08-11 20:59: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 20:59:49] 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-08-11 20:59: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-08-11 20:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334202368001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334202368001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:59:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:59:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334202368001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":152476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:59:49] local.INFO: GPS data processed {"connection_id":152476,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:59:49] local.INFO: Acknowledgment sent {"connection_id":152476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:59:53] local.INFO: TCP Data received {"connection_id":152476,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 20:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 20:59:53] local.INFO: Processing buffer {"connection_id":152476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 20:59:53] local.INFO: Packet analysis {"connection_id":152476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 20:59:53] local.INFO: Extracted packet for processing {"connection_id":152476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 20:59:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 20:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334202368001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 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-08-11 20:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786462029000,"timestamp_ms":1786462029000,"timestamp_seconds":1786462029,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16f44c8"} 
[2026-08-11 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-08-11 20:59: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-08-11 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":96,"data_length":795,"current_offset":136} 
[2026-08-11 20:59: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-08-11 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-08-11 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-08-11 20:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 20:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 20:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 20:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 20:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334202368001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 20:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 20:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 20:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334202368001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:59:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 20:59:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 20:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 20:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334202368001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 20:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":152476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:59:53] local.INFO: GPS data processed {"connection_id":152476,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:59:53] local.INFO: Acknowledgment sent {"connection_id":152476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 20:59:56] local.INFO: TCP Data received {"connection_id":152897,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1707578012d78b50005edc598000c003f31..."} 
[2026-08-11 20:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1707578012d78b50005edc598000c003f31..."} 
[2026-08-11 20:59:56] local.INFO: Processing buffer {"connection_id":152897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1707578012d78b50005edc598000c003f31..."} 
[2026-08-11 20:59:56] local.INFO: Packet analysis {"connection_id":152897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 20:59:56] local.INFO: Extracted packet for processing {"connection_id":152897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 20:59:56] local.INFO: GPS Element Parsed {"raw_longitude":762885376,"raw_latitude":99468696,"longitude_deg":76.2885376,"latitude_deg":9.9468696,"altitude":12,"angle":63,"satellites":49,"speed":14,"hex_longitude":"2d78b500","hex_latitude":"05edc598","is_valid_coordinates":true} 
[2026-08-11 20: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-08-11 20:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334294016001,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378197507072589824,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8689273294009298944,"note":"Value kept but may cause issues"} 
[2026-08-11 20:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 20:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786462107000,"timestamp_ms":1786462107000,"timestamp_seconds":1786462107,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1707578"} 
[2026-08-11 20:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 20:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 20:59:56] 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-08-11 20: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-08-11 20:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 20:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 20:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 20:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 20:59:56] 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-08-11 20:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 20:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 20:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334294016001,"66":27245,"129":206,"87":13824,"24":14,"16":378197507072589824,"45":8689273294009298944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-11 20:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 20:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 20:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334294016001,"description":"Unknown IO ID 0"} 
[2026-08-11 20:59:56] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 20:59:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 20:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378197507072589824,"km_value":378197507072589.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 20:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8689273294009298944,"description":"Unknown IO ID 45"} 
[2026-08-11 20:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334294016001,"power":27245,"unknown_129":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8689273294009298944}} 
[2026-08-11 20:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":152897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 20:59:56] local.INFO: GPS data processed {"connection_id":152897,"processed":1,"errors":0,"total":1} 
[2026-08-11 20:59:56] local.INFO: Acknowledgment sent {"connection_id":152897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:00:08] local.INFO: TCP Data received {"connection_id":152477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:00:08] local.INFO: Processing buffer {"connection_id":152477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:00:08] local.INFO: IMEI packet received {"connection_id":152477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":152477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:00:13] local.INFO: TCP Data received {"connection_id":152477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:00:13] local.INFO: Processing buffer {"connection_id":152477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:00:13] local.INFO: IMEI packet received {"connection_id":152477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":152477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:00:14] local.INFO: TCP Data received {"connection_id":152477,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:00:14] local.INFO: Processing buffer {"connection_id":152477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:00:14] local.INFO: Packet analysis {"connection_id":152477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 21:00:14] local.INFO: Extracted packet for processing {"connection_id":152477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 21:00:14] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":35,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 21:00: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-08-11 21:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334297088001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 21:00:14] 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-08-11 21:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786462103000,"timestamp_ms":1786462103000,"timestamp_seconds":1786462103,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17065d8"} 
[2026-08-11 21:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:00:14] 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-08-11 21:00: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 21:00:14] 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-08-11 21:00: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-08-11 21:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334297088001,"66":3340,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 21:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334297088001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:00:14] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 21:00:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 21:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334297088001,"power":3340,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 21:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":152477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:00:14] local.INFO: GPS data processed {"connection_id":152477,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:00:14] local.INFO: Acknowledgment sent {"connection_id":152477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:00:18] local.INFO: TCP Data received {"connection_id":153815,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:00:18] local.INFO: Processing buffer {"connection_id":153815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:00:18] local.INFO: IMEI packet received {"connection_id":153815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":153815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:00:24] local.INFO: TCP Data received {"connection_id":153815,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:00:24] local.INFO: Processing buffer {"connection_id":153815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:00:24] local.INFO: IMEI packet received {"connection_id":153815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":153815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:00:25] local.INFO: TCP Data received {"connection_id":153815,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff170c780012d78d3c005edd4d00009003e31..."} 
[2026-08-11 21:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff170c780012d78d3c005edd4d00009003e31..."} 
[2026-08-11 21:00:25] local.INFO: Processing buffer {"connection_id":153815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff170c780012d78d3c005edd4d00009003e31..."} 
[2026-08-11 21:00:25] local.INFO: Packet analysis {"connection_id":153815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 21:00:25] local.INFO: Extracted packet for processing {"connection_id":153815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 21:00:25] local.INFO: GPS Element Parsed {"raw_longitude":762893248,"raw_latitude":99472592,"longitude_deg":76.2893248,"latitude_deg":9.9472592,"altitude":9,"angle":62,"satellites":49,"speed":15,"hex_longitude":"2d78d3c0","hex_latitude":"05edd4d0","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334299392001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378197927979384832,"note":"Value kept but may cause issues"} 
[2026-08-11 21:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8697858280799967232,"note":"Value kept but may cause issues"} 
[2026-08-11 21:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786462128000,"timestamp_ms":1786462128000,"timestamp_seconds":1786462128,"priority":1,"record_length":96,"hex_timestamp":"0000019ff170c780"} 
[2026-08-11 21:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-11 21:00:25] 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-08-11 21: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-08-11 21:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:00:25] 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-08-11 21:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334299392001,"66":27376,"38":206,"87":13824,"24":15,"16":378197927979384832,"45":8697858280799967232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-11 21:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334299392001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:00:25] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-11 21:00:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 21:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378197927979384832,"km_value":378197927979384.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8697858280799967232,"description":"Unknown IO ID 45"} 
[2026-08-11 21:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334299392001,"power":27376,"unknown_38":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8697858280799967232}} 
[2026-08-11 21:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":153815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:00:25] local.INFO: GPS data processed {"connection_id":153815,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:00:25] local.INFO: Acknowledgment sent {"connection_id":153815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:00:38] local.INFO: TCP Data received {"connection_id":152478,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:00:38] local.INFO: Processing buffer {"connection_id":152478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:00:38] local.INFO: IMEI packet received {"connection_id":152478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":152478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:00:43] local.INFO: TCP Data received {"connection_id":152478,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:00:43] local.INFO: Processing buffer {"connection_id":152478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:00:43] local.INFO: IMEI packet received {"connection_id":152478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":152478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:00:44] local.INFO: TCP Data received {"connection_id":152478,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 21:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 21:00:44] local.INFO: Processing buffer {"connection_id":152478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 21:00:44] local.INFO: Packet analysis {"connection_id":152478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 21:00:44] local.INFO: Extracted packet for processing {"connection_id":152478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 21:00:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334202368001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786462029000,"timestamp_ms":1786462029000,"timestamp_seconds":1786462029,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16f44c8"} 
[2026-08-11 21:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:00: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-08-11 21:00: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 21:00:44] 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-08-11 21:00: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-08-11 21:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:00:44] 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-08-11 21:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334202368001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334202368001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:00:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:00:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334202368001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":152478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:00:44] local.INFO: GPS data processed {"connection_id":152478,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:00:44] local.INFO: Acknowledgment sent {"connection_id":152478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:00:45] local.INFO: TCP Data received {"connection_id":152477,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:00:45] local.INFO: Processing buffer {"connection_id":152477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:00:45] local.INFO: Packet analysis {"connection_id":152477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 21:00:45] local.INFO: Extracted packet for processing {"connection_id":152477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 21:00:45] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":35,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334297088001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 21:00:45] 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-08-11 21:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786462103000,"timestamp_ms":1786462103000,"timestamp_seconds":1786462103,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17065d8"} 
[2026-08-11 21:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:00:45] 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-08-11 21: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 21:00:45] 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-08-11 21: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-08-11 21:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334297088001,"66":3340,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 21:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334297088001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:00:45] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 21:00:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 21:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334297088001,"power":3340,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 21:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":152477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:00:45] local.INFO: GPS data processed {"connection_id":152477,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:00:45] local.INFO: Acknowledgment sent {"connection_id":152477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:01:01] local.INFO: TCP Data received {"connection_id":153815,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1711988012d78ed4005ede1a80007003d31..."} 
[2026-08-11 21:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1711988012d78ed4005ede1a80007003d31..."} 
[2026-08-11 21:01:01] local.INFO: Processing buffer {"connection_id":153815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1711988012d78ed4005ede1a80007003d31..."} 
[2026-08-11 21:01:01] local.INFO: Packet analysis {"connection_id":153815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff171"} 
[2026-08-11 21:01:01] local.INFO: Extracted packet for processing {"connection_id":153815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff171"} 
[2026-08-11 21:01:01] local.INFO: GPS Element Parsed {"raw_longitude":762899776,"raw_latitude":99475880,"longitude_deg":76.2899776,"latitude_deg":9.947588,"altitude":7,"angle":61,"satellites":49,"speed":11,"hex_longitude":"2d78ed40","hex_latitude":"05ede1a8","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334304768001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378198280166703104,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8706513636334817280,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786462149000,"timestamp_ms":1786462149000,"timestamp_seconds":1786462149,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1711988"} 
[2026-08-11 21:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 21:01:01] 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-08-11 21: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-08-11 21:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:01:01] 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-08-11 21:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334304768001,"66":27397,"129":206,"87":13824,"24":11,"16":378198280166703104,"45":8706513636334817280},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-11 21:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334304768001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:01:01] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 21:01:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 21:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378198280166703104,"km_value":378198280166703.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8706513636334817280,"description":"Unknown IO ID 45"} 
[2026-08-11 21:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334304768001,"power":27397,"unknown_129":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8706513636334817280}} 
[2026-08-11 21:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":153815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:01:01] local.INFO: GPS data processed {"connection_id":153815,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:01:01] local.INFO: Acknowledgment sent {"connection_id":153815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:01:13] local.INFO: TCP Data received {"connection_id":155194,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:01:13] local.INFO: Processing buffer {"connection_id":155194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:01:13] local.INFO: IMEI packet received {"connection_id":155194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":155194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:01:15] local.INFO: TCP Data received {"connection_id":152478,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 21:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 21:01:15] local.INFO: Processing buffer {"connection_id":152478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 21:01:15] local.INFO: Packet analysis {"connection_id":152478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 21:01:15] local.INFO: Extracted packet for processing {"connection_id":152478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 21:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334202368001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786462029000,"timestamp_ms":1786462029000,"timestamp_seconds":1786462029,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16f44c8"} 
[2026-08-11 21:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:01: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-08-11 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 21:01:15] 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-08-11 21: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-08-11 21:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:01:15] 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-08-11 21:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334202368001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334202368001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:01:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334202368001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":152478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:01:15] local.INFO: GPS data processed {"connection_id":152478,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:01:15] local.INFO: Acknowledgment sent {"connection_id":152478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:01:18] local.INFO: TCP Data received {"connection_id":155194,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:01:18] local.INFO: Processing buffer {"connection_id":155194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:01:18] local.INFO: IMEI packet received {"connection_id":155194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":155194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:01:19] local.INFO: TCP Data received {"connection_id":152898,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:01:19] local.INFO: Processing buffer {"connection_id":152898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:01:19] local.INFO: IMEI packet received {"connection_id":152898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":152898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:01:19] local.INFO: TCP Data received {"connection_id":155194,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:01:19] local.INFO: Processing buffer {"connection_id":155194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:01:19] local.INFO: Packet analysis {"connection_id":155194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 21:01:19] local.INFO: Extracted packet for processing {"connection_id":155194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 21:01:19] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":35,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 21:01: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-08-11 21:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334297088001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:19] 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-08-11 21:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786462103000,"timestamp_ms":1786462103000,"timestamp_seconds":1786462103,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17065d8"} 
[2026-08-11 21:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:01:19] 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-08-11 21:01: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 21:01:19] 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-08-11 21:01: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-08-11 21:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":155194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":155194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":155194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334297088001,"66":3340,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 21:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334297088001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:01:19] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 21:01:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 21:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334297088001,"power":3340,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 21:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":155194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:01:19] local.INFO: GPS data processed {"connection_id":155194,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:01:19] local.INFO: Acknowledgment sent {"connection_id":155194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:01:21] local.INFO: TCP Data received {"connection_id":152898,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:01:21] local.INFO: Processing buffer {"connection_id":152898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:01:21] local.INFO: IMEI packet received {"connection_id":152898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":152898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:01:23] local.INFO: TCP Data received {"connection_id":152898,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:01:23] local.INFO: Processing buffer {"connection_id":152898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:01:23] local.INFO: IMEI packet received {"connection_id":152898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":152898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:01:24] local.INFO: TCP Data received {"connection_id":152898,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1715fd8012d790cc005edf3400004003131..."} 
[2026-08-11 21:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1715fd8012d790cc005edf3400004003131..."} 
[2026-08-11 21:01:24] local.INFO: Processing buffer {"connection_id":152898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1715fd8012d790cc005edf3400004003131..."} 
[2026-08-11 21:01:24] local.INFO: Packet analysis {"connection_id":152898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff171"} 
[2026-08-11 21:01:24] local.INFO: Extracted packet for processing {"connection_id":152898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff171"} 
[2026-08-11 21:01:24] local.INFO: GPS Element Parsed {"raw_longitude":762907840,"raw_latitude":99480384,"longitude_deg":76.290784,"latitude_deg":9.9480384,"altitude":4,"angle":49,"satellites":49,"speed":18,"hex_longitude":"2d790cc0","hex_latitude":"05edf340","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334310144001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378198726843301888,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8713691248241780736,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786462167000,"timestamp_ms":1786462167000,"timestamp_seconds":1786462167,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1715fd8"} 
[2026-08-11 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-08-11 21:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 21:01: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-08-11 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-08-11 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-08-11 21:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:01:24] 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-08-11 21:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334310144001,"66":27332,"129":206,"87":13824,"24":18,"16":378198726843301888,"45":8713691248241780736},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-11 21:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334310144001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:01:24] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 21:01:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 21:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378198726843301888,"km_value":378198726843301.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8713691248241780736,"description":"Unknown IO ID 45"} 
[2026-08-11 21:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334310144001,"power":27332,"unknown_129":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8713691248241780736}} 
[2026-08-11 21:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":152898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:01:24] local.INFO: GPS data processed {"connection_id":152898,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:01:24] local.INFO: Acknowledgment sent {"connection_id":152898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:01:26] local.INFO: TCP Data received {"connection_id":155194,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:01:26] local.INFO: Processing buffer {"connection_id":155194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:01:26] local.INFO: Packet analysis {"connection_id":155194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 21:01:26] local.INFO: Extracted packet for processing {"connection_id":155194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 21:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":35,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334297088001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:26] 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-08-11 21:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786462103000,"timestamp_ms":1786462103000,"timestamp_seconds":1786462103,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17065d8"} 
[2026-08-11 21:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:01:26] 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-08-11 21: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":238,"data_length":795,"current_offset":136} 
[2026-08-11 21:01:26] 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-08-11 21: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-08-11 21:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":155194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":155194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":155194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334297088001,"66":3340,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 21:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334297088001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:01:26] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 21:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 21:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334297088001,"power":3340,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 21:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":155194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:01:26] local.INFO: GPS data processed {"connection_id":155194,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:01:26] local.INFO: Acknowledgment sent {"connection_id":155194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:01:29] local.INFO: TCP Data received {"connection_id":152898,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1715fd8012d790cc005edf3400004003131..."} 
[2026-08-11 21:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1715fd8012d790cc005edf3400004003131..."} 
[2026-08-11 21:01:29] local.INFO: Processing buffer {"connection_id":152898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1715fd8012d790cc005edf3400004003131..."} 
[2026-08-11 21:01:29] local.INFO: Packet analysis {"connection_id":152898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff171"} 
[2026-08-11 21:01:29] local.INFO: Extracted packet for processing {"connection_id":152898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff171"} 
[2026-08-11 21:01:29] local.INFO: GPS Element Parsed {"raw_longitude":762907840,"raw_latitude":99480384,"longitude_deg":76.290784,"latitude_deg":9.9480384,"altitude":4,"angle":49,"satellites":49,"speed":18,"hex_longitude":"2d790cc0","hex_latitude":"05edf340","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334314752001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378198726843301888,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8722557710009319424,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786462167000,"timestamp_ms":1786462167000,"timestamp_seconds":1786462167,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1715fd8"} 
[2026-08-11 21:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-11 21:01:29] 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-08-11 21: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-08-11 21:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:01:29] 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-08-11 21:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334314752001,"66":27332,"129":206,"87":13824,"24":18,"16":378198726843301888,"45":8722557710009319424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-11 21:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334314752001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:01:29] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-11 21:01:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-11 21:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378198726843301888,"km_value":378198726843301.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8722557710009319424,"description":"Unknown IO ID 45"} 
[2026-08-11 21:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334314752001,"power":27332,"unknown_129":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8722557710009319424}} 
[2026-08-11 21:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":152898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:01:29] local.INFO: GPS data processed {"connection_id":152898,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:01:29] local.INFO: Acknowledgment sent {"connection_id":152898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:01:38] local.INFO: TCP Data received {"connection_id":153816,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:01:38] local.INFO: Processing buffer {"connection_id":153816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:01:38] local.INFO: IMEI packet received {"connection_id":153816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":153816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:01:43] local.INFO: TCP Data received {"connection_id":153816,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:01:43] local.INFO: Processing buffer {"connection_id":153816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:01:43] local.INFO: IMEI packet received {"connection_id":153816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":153816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:01:44] local.INFO: TCP Data received {"connection_id":153816,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 21:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 21:01:44] local.INFO: Processing buffer {"connection_id":153816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 21:01:44] local.INFO: Packet analysis {"connection_id":153816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 21:01:44] local.INFO: Extracted packet for processing {"connection_id":153816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 21:01:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334202368001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786462029000,"timestamp_ms":1786462029000,"timestamp_seconds":1786462029,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16f44c8"} 
[2026-08-11 21:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:01: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-08-11 21: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 21:01:44] 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-08-11 21:01: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-08-11 21:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334202368001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334202368001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:01:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:01:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334202368001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":153816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:01:44] local.INFO: GPS data processed {"connection_id":153816,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:01:44] local.INFO: Acknowledgment sent {"connection_id":153816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:02:01] local.INFO: TCP Data received {"connection_id":152898,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff172d6d8012d794f4005ef04700009015a2b..."} 
[2026-08-11 21:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff172d6d8012d794f4005ef04700009015a2b..."} 
[2026-08-11 21:02:01] local.INFO: Processing buffer {"connection_id":152898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff172d6d8012d794f4005ef04700009015a2b..."} 
[2026-08-11 21:02:01] local.INFO: Packet analysis {"connection_id":152898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff172"} 
[2026-08-11 21:02:01] local.INFO: Extracted packet for processing {"connection_id":152898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff172"} 
[2026-08-11 21:02:01] local.INFO: GPS Element Parsed {"raw_longitude":762924864,"raw_latitude":99550320,"longitude_deg":76.2924864,"latitude_deg":9.955032,"altitude":9,"angle":346,"satellites":43,"speed":36,"hex_longitude":"2d794f40","hex_latitude":"05ef0470","is_valid_coordinates":true} 
[2026-08-11 21:02: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-08-11 21:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334336768001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378202502119555072,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8743738702022463488,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786462263000,"timestamp_ms":1786462263000,"timestamp_seconds":1786462263,"priority":1,"record_length":96,"hex_timestamp":"0000019ff172d6d8"} 
[2026-08-11 21:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21:02: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":240,"data_length":795,"current_offset":136} 
[2026-08-11 21:02:01] 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-08-11 21:02: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-08-11 21:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:02:01] 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-08-11 21:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334336768001,"66":27234,"49":206,"87":11776,"24":36,"16":378202502119555072,"45":8743738702022463488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,87,24,16,45]} 
[2026-08-11 21:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334336768001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:02:01] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-11 21:02:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-11 21:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378202502119555072,"km_value":378202502119555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8743738702022463488,"description":"Unknown IO ID 45"} 
[2026-08-11 21:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334336768001,"power":27234,"unknown_49":206,"unknown_87":11776,"ignition":36,"odometer":null,"unknown_45":8743738702022463488}} 
[2026-08-11 21:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":152898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:02:01] local.INFO: GPS data processed {"connection_id":152898,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:02:01] local.INFO: Acknowledgment sent {"connection_id":152898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:02:08] local.INFO: TCP Data received {"connection_id":152899,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:02:08] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:02:08] local.INFO: IMEI packet received {"connection_id":152899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":152899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:02:13] local.INFO: TCP Data received {"connection_id":152899,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:02:13] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:02:13] local.INFO: IMEI packet received {"connection_id":152899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":152899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:02:15] local.INFO: TCP Data received {"connection_id":153816,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 21:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 21:02:15] local.INFO: Processing buffer {"connection_id":153816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 21:02:15] local.INFO: Packet analysis {"connection_id":153816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 21:02:15] local.INFO: Extracted packet for processing {"connection_id":153816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 21:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334202368001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786462029000,"timestamp_ms":1786462029000,"timestamp_seconds":1786462029,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16f44c8"} 
[2026-08-11 21:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:02: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-08-11 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 21:02:15] 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-08-11 21: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-08-11 21:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334202368001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334202368001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:02:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334202368001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":153816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:02:15] local.INFO: GPS data processed {"connection_id":153816,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:02:15] local.INFO: Acknowledgment sent {"connection_id":153816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:02:18] local.INFO: TCP Data received {"connection_id":152479,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:02:18] local.INFO: Processing buffer {"connection_id":152479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:02:18] local.INFO: IMEI packet received {"connection_id":152479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":152479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:02:20] local.INFO: TCP Data received {"connection_id":152479,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:02:20] local.INFO: Processing buffer {"connection_id":152479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:02:20] local.INFO: IMEI packet received {"connection_id":152479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":152479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:02:23] local.INFO: TCP Data received {"connection_id":152479,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:02:23] local.INFO: Processing buffer {"connection_id":152479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:02:23] local.INFO: IMEI packet received {"connection_id":152479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":152479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:02:24] local.INFO: TCP Data received {"connection_id":152479,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff172ee48012d7949c005ef16980009014f2e..."} 
[2026-08-11 21:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff172ee48012d7949c005ef16980009014f2e..."} 
[2026-08-11 21:02:24] local.INFO: Processing buffer {"connection_id":152479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff172ee48012d7949c005ef16980009014f2e..."} 
[2026-08-11 21:02:24] local.INFO: Packet analysis {"connection_id":152479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff172"} 
[2026-08-11 21:02:24] local.INFO: Extracted packet for processing {"connection_id":152479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff172"} 
[2026-08-11 21:02:24] local.INFO: GPS Element Parsed {"raw_longitude":762923456,"raw_latitude":99554968,"longitude_deg":76.2923456,"latitude_deg":9.9554968,"altitude":9,"angle":335,"satellites":46,"speed":31,"hex_longitude":"2d7949c0","hex_latitude":"05ef1698","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334339328001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378202738342756352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8741275795978481664,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786462269000,"timestamp_ms":1786462269000,"timestamp_seconds":1786462269,"priority":1,"record_length":96,"hex_timestamp":"0000019ff172ee48"} 
[2026-08-11 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-08-11 21:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 21:02:24] 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-08-11 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-08-11 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-08-11 21:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:02:24] 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-08-11 21:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334339328001,"66":27397,"204":206,"87":11776,"24":31,"16":378202738342756352,"45":8741275795978481664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,87,24,16,45]} 
[2026-08-11 21:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334339328001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:02:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-11 21:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378202738342756352,"km_value":378202738342756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8741275795978481664,"description":"Unknown IO ID 45"} 
[2026-08-11 21:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334339328001,"power":27397,"lac":206,"unknown_87":11776,"ignition":31,"odometer":null,"unknown_45":8741275795978481664}} 
[2026-08-11 21:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":152479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:02:24] local.INFO: GPS data processed {"connection_id":152479,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:02:24] local.INFO: Acknowledgment sent {"connection_id":152479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:02:35] local.INFO: TCP Data received {"connection_id":152899,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:02:35] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:02:35] local.INFO: Packet analysis {"connection_id":152899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 21:02:35] local.INFO: Extracted packet for processing {"connection_id":152899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 21:02:35] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":35,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334297088001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:35] 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-08-11 21:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786462103000,"timestamp_ms":1786462103000,"timestamp_seconds":1786462103,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17065d8"} 
[2026-08-11 21:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:02:35] 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-08-11 21: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 21:02:35] 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-08-11 21: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-08-11 21:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334297088001,"66":3340,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 21:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334297088001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:02:35] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 21:02:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 21:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334297088001,"power":3340,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 21:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":152899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:02:35] local.INFO: GPS data processed {"connection_id":152899,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:02:35] local.INFO: Acknowledgment sent {"connection_id":152899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:02:38] local.INFO: TCP Data received {"connection_id":155195,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:02:38] local.INFO: Processing buffer {"connection_id":155195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:02:38] local.INFO: IMEI packet received {"connection_id":155195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":155195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:02:43] local.INFO: TCP Data received {"connection_id":155195,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:02:43] local.INFO: Processing buffer {"connection_id":155195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:02:43] local.INFO: IMEI packet received {"connection_id":155195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":155195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:02:46] local.INFO: TCP Data received {"connection_id":155195,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 21:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 21:02:46] local.INFO: Processing buffer {"connection_id":155195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff16f44c8012d196a00071fef68003b011829..."} 
[2026-08-11 21:02:46] local.INFO: Packet analysis {"connection_id":155195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 21:02:46] local.INFO: Extracted packet for processing {"connection_id":155195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff16f"} 
[2026-08-11 21:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334202368001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02: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-08-11 21:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786462029000,"timestamp_ms":1786462029000,"timestamp_seconds":1786462029,"priority":1,"record_length":96,"hex_timestamp":"0000019ff16f44c8"} 
[2026-08-11 21:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:02: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-08-11 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 21:02:46] 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-08-11 21: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-08-11 21:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":155195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":155195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":155195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334202368001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334202368001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:02:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334202368001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":155195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:02:46] local.INFO: GPS data processed {"connection_id":155195,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:02:46] local.INFO: Acknowledgment sent {"connection_id":155195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:02:55] local.INFO: TCP Data received {"connection_id":152479,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff172fa00012d79444005ef1e98000901402d..."} 
[2026-08-11 21:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff172fa00012d79444005ef1e98000901402d..."} 
[2026-08-11 21:02:55] local.INFO: Processing buffer {"connection_id":152479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff172fa00012d79444005ef1e98000901402d..."} 
[2026-08-11 21:02:55] local.INFO: Packet analysis {"connection_id":152479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff172"} 
[2026-08-11 21:02:55] local.INFO: Extracted packet for processing {"connection_id":152479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff172"} 
[2026-08-11 21:02:55] local.INFO: GPS Element Parsed {"raw_longitude":762922048,"raw_latitude":99557016,"longitude_deg":76.2922048,"latitude_deg":9.9557016,"altitude":9,"angle":320,"satellites":45,"speed":33,"hex_longitude":"2d794440","hex_latitude":"05ef1e98","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334340864001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378202858601840640,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8739727683607762944,"note":"Value kept but may cause issues"} 
[2026-08-11 21:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786462272000,"timestamp_ms":1786462272000,"timestamp_seconds":1786462272,"priority":1,"record_length":96,"hex_timestamp":"0000019ff172fa00"} 
[2026-08-11 21:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-11 21:02:55] 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-08-11 21: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-08-11 21:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:02:55] 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-08-11 21:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334340864001,"66":27321,"204":206,"87":11776,"24":33,"16":378202858601840640,"45":8739727683607762944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,87,24,16,45]} 
[2026-08-11 21:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334340864001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:02:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-11 21:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378202858601840640,"km_value":378202858601840.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8739727683607762944,"description":"Unknown IO ID 45"} 
[2026-08-11 21:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334340864001,"power":27321,"lac":206,"unknown_87":11776,"ignition":33,"odometer":null,"unknown_45":8739727683607762944}} 
[2026-08-11 21:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":152479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:02:55] local.INFO: GPS data processed {"connection_id":152479,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:02:55] local.INFO: Acknowledgment sent {"connection_id":152479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:03:08] local.INFO: TCP Data received {"connection_id":155196,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:03:08] local.INFO: Processing buffer {"connection_id":155196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:03:08] local.INFO: IMEI packet received {"connection_id":155196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":155196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:03:13] local.INFO: TCP Data received {"connection_id":155196,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:03:13] local.INFO: Processing buffer {"connection_id":155196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:03:13] local.INFO: IMEI packet received {"connection_id":155196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":155196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:03:14] local.INFO: TCP Data received {"connection_id":155196,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:03:14] local.INFO: Processing buffer {"connection_id":155196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17065d8012d7c044005db99d8000600a723..."} 
[2026-08-11 21:03:14] local.INFO: Packet analysis {"connection_id":155196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 21:03:14] local.INFO: Extracted packet for processing {"connection_id":155196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff170"} 
[2026-08-11 21:03:14] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":6,"angle":167,"satellites":35,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 21:03: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-08-11 21:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334297088001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:14] 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-08-11 21:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786462103000,"timestamp_ms":1786462103000,"timestamp_seconds":1786462103,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17065d8"} 
[2026-08-11 21:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:03:14] 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-08-11 21:03: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 21:03:14] 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-08-11 21:03: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-08-11 21:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334297088001,"66":3340,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 21:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334297088001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:03:14] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 21:03:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 21:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334297088001,"power":3340,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 21:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":155196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:03:14] local.INFO: GPS data processed {"connection_id":155196,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:03:14] local.INFO: Acknowledgment sent {"connection_id":155196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:03:17] local.INFO: TCP Data received {"connection_id":155195,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:03:17] local.INFO: Processing buffer {"connection_id":155195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:03:17] local.INFO: Packet analysis {"connection_id":155195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:03:17] local.INFO: Extracted packet for processing {"connection_id":155195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:03:17] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:03: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-08-11 21:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334279424001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786462330000,"timestamp_ms":1786462330000,"timestamp_seconds":1786462330,"priority":1,"record_length":96,"hex_timestamp":"0000019ff173dc90"} 
[2026-08-11 21:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:03:17] 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-08-11 21:03: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 21:03:17] 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-08-11 21:03: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-08-11 21:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":155195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":155195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":155195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334279424001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334279424001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:03:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:03:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334279424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":155195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:03:17] local.INFO: GPS data processed {"connection_id":155195,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:03:17] local.INFO: Acknowledgment sent {"connection_id":155195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:03:24] local.INFO: TCP Data received {"connection_id":152480,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:03:24] local.INFO: Processing buffer {"connection_id":152480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:03:24] local.INFO: IMEI packet received {"connection_id":152480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":152480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:03:35] local.INFO: TCP Data received {"connection_id":152480,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:03:35] local.INFO: Processing buffer {"connection_id":152480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:03:35] local.INFO: IMEI packet received {"connection_id":152480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":152480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:03:36] local.INFO: TCP Data received {"connection_id":152480,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1732110012d792bc005ef3898000a01382a..."} 
[2026-08-11 21:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1732110012d792bc005ef3898000a01382a..."} 
[2026-08-11 21:03:36] local.INFO: Processing buffer {"connection_id":152480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1732110012d792bc005ef3898000a01382a..."} 
[2026-08-11 21:03:36] local.INFO: Packet analysis {"connection_id":152480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:03:36] local.INFO: Extracted packet for processing {"connection_id":152480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:03:36] local.INFO: GPS Element Parsed {"raw_longitude":762915776,"raw_latitude":99563672,"longitude_deg":76.2915776,"latitude_deg":9.9563672,"altitude":10,"angle":312,"satellites":42,"speed":36,"hex_longitude":"2d792bc0","hex_latitude":"05ef3898","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334341632001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378203296688504832,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8738179571236378624,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786462282000,"timestamp_ms":1786462282000,"timestamp_seconds":1786462282,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1732110"} 
[2026-08-11 21:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21: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":185,"data_length":795,"current_offset":136} 
[2026-08-11 21:03: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-08-11 21: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-08-11 21:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:03:36] 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-08-11 21:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334341632001,"66":27321,"204":206,"87":11776,"24":36,"16":378203296688504832,"45":8738179571236378624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,87,24,16,45]} 
[2026-08-11 21:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334341632001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:03:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-11 21:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378203296688504832,"km_value":378203296688504.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8738179571236378624,"description":"Unknown IO ID 45"} 
[2026-08-11 21:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334341632001,"power":27321,"lac":206,"unknown_87":11776,"ignition":36,"odometer":null,"unknown_45":8738179571236378624}} 
[2026-08-11 21:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":152480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:03:36] local.INFO: GPS data processed {"connection_id":152480,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:03:36] local.INFO: Acknowledgment sent {"connection_id":152480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:03:37] local.INFO: TCP Data received {"connection_id":152480,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1732cc8012d79228005ef3ed0000a01282b..."} 
[2026-08-11 21:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1732cc8012d79228005ef3ed0000a01282b..."} 
[2026-08-11 21:03:37] local.INFO: Processing buffer {"connection_id":152480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1732cc8012d79228005ef3ed0000a01282b..."} 
[2026-08-11 21:03:37] local.INFO: Packet analysis {"connection_id":152480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:03:37] local.INFO: Extracted packet for processing {"connection_id":152480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:03:37] local.INFO: GPS Element Parsed {"raw_longitude":762913408,"raw_latitude":99565264,"longitude_deg":76.2913408,"latitude_deg":9.9565264,"altitude":10,"angle":296,"satellites":43,"speed":37,"hex_longitude":"2d792280","hex_latitude":"05ef3ed0","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334344192001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378203434127458304,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8731283434308671488,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786462285000,"timestamp_ms":1786462285000,"timestamp_seconds":1786462285,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1732cc8"} 
[2026-08-11 21:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-11 21:03: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-08-11 21: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-08-11 21:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21: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-08-11 21:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334344192001,"66":27180,"204":206,"87":11776,"24":37,"16":378203434127458304,"45":8731283434308671488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,87,24,16,45]} 
[2026-08-11 21:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334344192001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:03:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-11 21:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378203434127458304,"km_value":378203434127458.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8731283434308671488,"description":"Unknown IO ID 45"} 
[2026-08-11 21:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334344192001,"power":27180,"lac":206,"unknown_87":11776,"ignition":37,"odometer":null,"unknown_45":8731283434308671488}} 
[2026-08-11 21:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":152480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:03:37] local.INFO: GPS data processed {"connection_id":152480,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:03:37] local.INFO: Acknowledgment sent {"connection_id":152480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:03:43] local.INFO: TCP Data received {"connection_id":152900,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:03:43] local.INFO: Processing buffer {"connection_id":152900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:03:43] local.INFO: IMEI packet received {"connection_id":152900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":152900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:03:45] local.INFO: TCP Data received {"connection_id":155196,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff174fda0012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff174fda0012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:03:45] local.INFO: Processing buffer {"connection_id":155196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff174fda0012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:03:45] local.INFO: Packet analysis {"connection_id":155196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff174"} 
[2026-08-11 21:03:45] local.INFO: Extracted packet for processing {"connection_id":155196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff174"} 
[2026-08-11 21:03:45] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":11,"angle":167,"satellites":40,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 21:03: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-08-11 21:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334298368001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:45] 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-08-11 21:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786462404000,"timestamp_ms":1786462404000,"timestamp_seconds":1786462404,"priority":1,"record_length":96,"hex_timestamp":"0000019ff174fda0"} 
[2026-08-11 21:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:03:45] 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-08-11 21:03: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":13,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-11 21:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:45] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929018370,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6921637703012242052,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:45] local.WARNING: Large IO value detected {"io_id":162,"raw_value":-3313523425837842432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":1648828281259520,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:45] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2449958201316084224,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:45] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,185,85,24,241,157,16,210,159,82,45,64,153,6,35,10,66,206,240,227,1,162,4,167],"length":377,"final_offset":507,"validated_count":24,"validation_warnings":[]} 
[2026-08-11 21:03:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432529332993261568,"timestamp_seconds":432529332993261.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 21:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334298368001,"66":2253,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 21:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334298368001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:03:45] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 21:03:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 21:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334298368001,"power":2253,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 21:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":155196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:03:45] local.INFO: GPS data processed {"connection_id":155196,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:03:45] local.INFO: Acknowledgment sent {"connection_id":155196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:03:48] local.INFO: TCP Data received {"connection_id":152900,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:03:48] local.INFO: Processing buffer {"connection_id":152900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:03:48] local.INFO: IMEI packet received {"connection_id":152900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":152900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:03:49] local.INFO: TCP Data received {"connection_id":152900,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:03:49] local.INFO: Processing buffer {"connection_id":152900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:03:49] local.INFO: Packet analysis {"connection_id":152900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:03:49] local.INFO: Extracted packet for processing {"connection_id":152900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:03: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-08-11 21:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334279424001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03: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-08-11 21:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786462330000,"timestamp_ms":1786462330000,"timestamp_seconds":1786462330,"priority":1,"record_length":96,"hex_timestamp":"0000019ff173dc90"} 
[2026-08-11 21:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:03:49] 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-08-11 21:03: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 21:03:49] 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-08-11 21:03: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-08-11 21:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:03:49] 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-08-11 21:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334279424001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334279424001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:03:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334279424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":152900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:03:49] local.INFO: GPS data processed {"connection_id":152900,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:03:49] local.INFO: Acknowledgment sent {"connection_id":152900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:03:53] local.INFO: TCP Data received {"connection_id":152900,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:03:53] local.INFO: Processing buffer {"connection_id":152900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:03:53] local.INFO: Packet analysis {"connection_id":152900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:03:53] local.INFO: Extracted packet for processing {"connection_id":152900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:03:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334279424001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 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-08-11 21:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786462330000,"timestamp_ms":1786462330000,"timestamp_seconds":1786462330,"priority":1,"record_length":96,"hex_timestamp":"0000019ff173dc90"} 
[2026-08-11 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-08-11 21:03: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-08-11 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":96,"data_length":795,"current_offset":136} 
[2026-08-11 21:03: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-08-11 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-08-11 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-08-11 21:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:03: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-08-11 21:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334279424001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334279424001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:03:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:03:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334279424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":152900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:03:53] local.INFO: GPS data processed {"connection_id":152900,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:03:53] local.INFO: Acknowledgment sent {"connection_id":152900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:04:08] local.INFO: TCP Data received {"connection_id":152481,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:04:08] local.INFO: Processing buffer {"connection_id":152481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:04:08] local.INFO: IMEI packet received {"connection_id":152481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":152481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:04:13] local.INFO: TCP Data received {"connection_id":152481,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:04:13] local.INFO: Processing buffer {"connection_id":152481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:04:13] local.INFO: IMEI packet received {"connection_id":152481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":152481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:04:14] local.INFO: TCP Data received {"connection_id":152481,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff174fda0012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff174fda0012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:04:14] local.INFO: Processing buffer {"connection_id":152481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff174fda0012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:04:14] local.INFO: Packet analysis {"connection_id":152481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff174"} 
[2026-08-11 21:04:14] local.INFO: Extracted packet for processing {"connection_id":152481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff174"} 
[2026-08-11 21:04:14] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":11,"angle":167,"satellites":40,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334298368001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:14] 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-08-11 21:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786462404000,"timestamp_ms":1786462404000,"timestamp_seconds":1786462404,"priority":1,"record_length":96,"hex_timestamp":"0000019ff174fda0"} 
[2026-08-11 21:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:04:14] 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-08-11 21: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":13,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-11 21:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:14] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:14] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929018370,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6921637703012242052,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:14] local.WARNING: Large IO value detected {"io_id":162,"raw_value":-3313523425837842432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":1648828281259520,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:14] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2449958201316084224,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:14] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,185,85,24,241,157,16,210,159,82,45,64,153,6,35,10,66,206,240,227,1,162,4,167],"length":377,"final_offset":507,"validated_count":24,"validation_warnings":[]} 
[2026-08-11 21:04:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432529332993261568,"timestamp_seconds":432529332993261.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 21:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334298368001,"66":2253,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 21:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334298368001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:04:14] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 21:04:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 21:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334298368001,"power":2253,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 21:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":152481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:04:14] local.INFO: GPS data processed {"connection_id":152481,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:04:14] local.INFO: Acknowledgment sent {"connection_id":152481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:04:19] local.INFO: TCP Data received {"connection_id":153817,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:04:19] local.INFO: Processing buffer {"connection_id":153817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:04:19] local.INFO: IMEI packet received {"connection_id":153817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":153817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:04:24] local.INFO: TCP Data received {"connection_id":153817,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:04:24] local.INFO: Processing buffer {"connection_id":153817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:04:24] local.INFO: IMEI packet received {"connection_id":153817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":153817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:04:25] local.INFO: TCP Data received {"connection_id":153817,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1748870012d78ad8005f031c0000c014f2b..."} 
[2026-08-11 21:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1748870012d78ad8005f031c0000c014f2b..."} 
[2026-08-11 21:04:25] local.INFO: Processing buffer {"connection_id":153817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1748870012d78ad8005f031c0000c014f2b..."} 
[2026-08-11 21:04:25] local.INFO: Packet analysis {"connection_id":153817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff174"} 
[2026-08-11 21:04:25] local.INFO: Extracted packet for processing {"connection_id":153817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff174"} 
[2026-08-11 21:04:25] local.INFO: GPS Element Parsed {"raw_longitude":762883456,"raw_latitude":99627456,"longitude_deg":76.2883456,"latitude_deg":9.9627456,"altitude":12,"angle":335,"satellites":43,"speed":30,"hex_longitude":"2d78ad80","hex_latitude":"05f031c0","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334366464001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378207011835215872,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8696662012188657664,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786462374000,"timestamp_ms":1786462374000,"timestamp_seconds":1786462374,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1748870"} 
[2026-08-11 21:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-11 21:04:25] 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-08-11 21: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-08-11 21:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:04:25] 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-08-11 21:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334366464001,"66":27343,"59":206,"87":11776,"24":30,"16":378207011835215872,"45":8696662012188657664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-08-11 21:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334366464001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:04:25] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-11 21:04:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-11 21:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378207011835215872,"km_value":378207011835215.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8696662012188657664,"description":"Unknown IO ID 45"} 
[2026-08-11 21:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334366464001,"power":27343,"unknown_59":206,"unknown_87":11776,"ignition":30,"odometer":null,"unknown_45":8696662012188657664}} 
[2026-08-11 21:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":153817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:04:25] local.INFO: GPS data processed {"connection_id":153817,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:04:25] local.INFO: Acknowledgment sent {"connection_id":153817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:04:28] local.INFO: TCP Data received {"connection_id":153817,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff174b368012d789a0005f04fd8000b01482a..."} 
[2026-08-11 21:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff174b368012d789a0005f04fd8000b01482a..."} 
[2026-08-11 21:04:28] local.INFO: Processing buffer {"connection_id":153817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff174b368012d789a0005f04fd8000b01482a..."} 
[2026-08-11 21:04:28] local.INFO: Packet analysis {"connection_id":153817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff174"} 
[2026-08-11 21:04:28] local.INFO: Extracted packet for processing {"connection_id":153817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff174"} 
[2026-08-11 21:04:28] local.INFO: GPS Element Parsed {"raw_longitude":762878464,"raw_latitude":99635160,"longitude_deg":76.2878464,"latitude_deg":9.963516,"altitude":11,"angle":328,"satellites":42,"speed":33,"hex_longitude":"2d789a00","hex_latitude":"05f04fd8","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334367744001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378207454216847360,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8695747218515279872,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786462385000,"timestamp_ms":1786462385000,"timestamp_seconds":1786462385,"priority":1,"record_length":96,"hex_timestamp":"0000019ff174b368"} 
[2026-08-11 21:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-11 21:04:28] 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-08-11 21: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-08-11 21:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:04:28] 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-08-11 21:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334367744001,"66":27300,"59":206,"87":11776,"24":33,"16":378207454216847360,"45":8695747218515279872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-08-11 21:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334367744001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:04:28] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-11 21:04:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-11 21:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378207454216847360,"km_value":378207454216847.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8695747218515279872,"description":"Unknown IO ID 45"} 
[2026-08-11 21:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334367744001,"power":27300,"unknown_59":206,"unknown_87":11776,"ignition":33,"odometer":null,"unknown_45":8695747218515279872}} 
[2026-08-11 21:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":153817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:04:28] local.INFO: GPS data processed {"connection_id":153817,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:04:28] local.INFO: Acknowledgment sent {"connection_id":153817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:04:38] local.INFO: TCP Data received {"connection_id":153818,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:04:38] local.INFO: Processing buffer {"connection_id":153818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:04:38] local.INFO: IMEI packet received {"connection_id":153818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":153818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:04:43] local.INFO: TCP Data received {"connection_id":153818,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:04:43] local.INFO: Processing buffer {"connection_id":153818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:04:43] local.INFO: IMEI packet received {"connection_id":153818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":153818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:04:44] local.INFO: TCP Data received {"connection_id":153818,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:04:44] local.INFO: Processing buffer {"connection_id":153818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:04:44] local.INFO: Packet analysis {"connection_id":153818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:04:44] local.INFO: Extracted packet for processing {"connection_id":153818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334279424001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786462330000,"timestamp_ms":1786462330000,"timestamp_seconds":1786462330,"priority":1,"record_length":96,"hex_timestamp":"0000019ff173dc90"} 
[2026-08-11 21:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:04:44] 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-08-11 21: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 21:04:44] 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-08-11 21: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-08-11 21:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334279424001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334279424001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:04:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:04:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334279424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":153818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:04:44] local.INFO: GPS data processed {"connection_id":153818,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:04:44] local.INFO: Acknowledgment sent {"connection_id":153818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:04:45] local.INFO: TCP Data received {"connection_id":152481,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff174fda0012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff174fda0012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:04:45] local.INFO: Processing buffer {"connection_id":152481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff174fda0012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:04:45] local.INFO: Packet analysis {"connection_id":152481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff174"} 
[2026-08-11 21:04:45] local.INFO: Extracted packet for processing {"connection_id":152481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff174"} 
[2026-08-11 21:04:45] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":11,"angle":167,"satellites":40,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 21:04: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-08-11 21:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334298368001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:45] 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-08-11 21:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786462404000,"timestamp_ms":1786462404000,"timestamp_seconds":1786462404,"priority":1,"record_length":96,"hex_timestamp":"0000019ff174fda0"} 
[2026-08-11 21:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:04:45] 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-08-11 21:04: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":13,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-11 21:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:45] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929018370,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6921637703012242052,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:45] local.WARNING: Large IO value detected {"io_id":162,"raw_value":-3313523425837842432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":1648828281259520,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:45] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2449958201316084224,"note":"Value kept but may cause issues"} 
[2026-08-11 21:04:45] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,185,85,24,241,157,16,210,159,82,45,64,153,6,35,10,66,206,240,227,1,162,4,167],"length":377,"final_offset":507,"validated_count":24,"validation_warnings":[]} 
[2026-08-11 21:04:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432529332993261568,"timestamp_seconds":432529332993261.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 21:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334298368001,"66":2253,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 21:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334298368001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:04:45] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 21:04:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 21:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334298368001,"power":2253,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 21:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":152481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:04:45] local.INFO: GPS data processed {"connection_id":152481,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:04:45] local.INFO: Acknowledgment sent {"connection_id":152481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:05:00] local.INFO: TCP Data received {"connection_id":153817,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff174de60012d78888005f06dd8000b01492c..."} 
[2026-08-11 21:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff174de60012d78888005f06dd8000b01492c..."} 
[2026-08-11 21:05:00] local.INFO: Processing buffer {"connection_id":153817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff174de60012d78888005f06dd8000b01492c..."} 
[2026-08-11 21:05:00] local.INFO: Packet analysis {"connection_id":153817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff174"} 
[2026-08-11 21:05:00] local.INFO: Extracted packet for processing {"connection_id":153817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff174"} 
[2026-08-11 21:05:00] local.INFO: GPS Element Parsed {"raw_longitude":762873984,"raw_latitude":99642840,"longitude_deg":76.2873984,"latitude_deg":9.964284,"altitude":11,"angle":329,"satellites":44,"speed":30,"hex_longitude":"2d788880","hex_latitude":"05f06dd8","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334370560001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378207883713576960,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8690258456471394304,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786462396000,"timestamp_ms":1786462396000,"timestamp_seconds":1786462396,"priority":1,"record_length":96,"hex_timestamp":"0000019ff174de60"} 
[2026-08-11 21:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-11 21:05:00] 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-08-11 21: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-08-11 21:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:05:00] 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-08-11 21:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334370560001,"66":27267,"60":206,"87":11776,"24":30,"16":378207883713576960,"45":8690258456471394304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-08-11 21:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334370560001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:05:00] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-11 21:05:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-11 21:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378207883713576960,"km_value":378207883713576.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8690258456471394304,"description":"Unknown IO ID 45"} 
[2026-08-11 21:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334370560001,"power":27267,"unknown_60":206,"unknown_87":11776,"ignition":30,"odometer":null,"unknown_45":8690258456471394304}} 
[2026-08-11 21:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":153817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:05:00] local.INFO: GPS data processed {"connection_id":153817,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:05:00] local.INFO: Acknowledgment sent {"connection_id":153817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:05:08] local.INFO: TCP Data received {"connection_id":155197,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:05:08] local.INFO: Processing buffer {"connection_id":155197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:05:08] local.INFO: IMEI packet received {"connection_id":155197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":155197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:05:13] local.INFO: TCP Data received {"connection_id":155197,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:05:13] local.INFO: Processing buffer {"connection_id":155197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:05:13] local.INFO: IMEI packet received {"connection_id":155197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":155197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:05:14] local.INFO: TCP Data received {"connection_id":155197,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff174fda0012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff174fda0012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:05:14] local.INFO: Processing buffer {"connection_id":155197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff174fda0012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:05:14] local.INFO: Packet analysis {"connection_id":155197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff174"} 
[2026-08-11 21:05:14] local.INFO: Extracted packet for processing {"connection_id":155197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff174"} 
[2026-08-11 21:05:14] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":11,"angle":167,"satellites":40,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 21:05: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-08-11 21:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334298368001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:14] 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-08-11 21:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786462404000,"timestamp_ms":1786462404000,"timestamp_seconds":1786462404,"priority":1,"record_length":96,"hex_timestamp":"0000019ff174fda0"} 
[2026-08-11 21:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:05:14] 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-08-11 21:05: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":13,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-11 21:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:14] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:14] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929018370,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6921637703012242052,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:14] local.WARNING: Large IO value detected {"io_id":162,"raw_value":-3313523425837842432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":1648828281259520,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:14] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2449958201316084224,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:14] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,185,85,24,241,157,16,210,159,82,45,64,153,6,35,10,66,206,240,227,1,162,4,167],"length":377,"final_offset":507,"validated_count":24,"validation_warnings":[]} 
[2026-08-11 21:05:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432529332993261568,"timestamp_seconds":432529332993261.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 21:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334298368001,"66":2253,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 21:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334298368001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:05:14] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 21:05:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 21:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334298368001,"power":2253,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 21:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":155197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:05:14] local.INFO: GPS data processed {"connection_id":155197,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:05:14] local.INFO: Acknowledgment sent {"connection_id":155197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:05:15] local.INFO: TCP Data received {"connection_id":153818,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:05:15] local.INFO: Processing buffer {"connection_id":153818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:05:15] local.INFO: Packet analysis {"connection_id":153818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:05:15] local.INFO: Extracted packet for processing {"connection_id":153818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334279424001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786462330000,"timestamp_ms":1786462330000,"timestamp_seconds":1786462330,"priority":1,"record_length":96,"hex_timestamp":"0000019ff173dc90"} 
[2026-08-11 21:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:05:15] 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-08-11 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 21:05:15] 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-08-11 21: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-08-11 21:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334279424001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334279424001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:05:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334279424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":153818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:05:15] local.INFO: GPS data processed {"connection_id":153818,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:05:15] local.INFO: Acknowledgment sent {"connection_id":153818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:05:18] local.INFO: TCP Data received {"connection_id":152901,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:05:18] local.INFO: Processing buffer {"connection_id":152901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:05:18] local.INFO: IMEI packet received {"connection_id":152901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":152901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:05:20] local.INFO: TCP Data received {"connection_id":152901,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:05:20] local.INFO: Processing buffer {"connection_id":152901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:05:20] local.INFO: IMEI packet received {"connection_id":152901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":152901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:05:22] local.INFO: TCP Data received {"connection_id":152901,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1750570012d78740005f08a60000b014226..."} 
[2026-08-11 21:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1750570012d78740005f08a60000b014226..."} 
[2026-08-11 21:05:22] local.INFO: Processing buffer {"connection_id":152901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1750570012d78740005f08a60000b014226..."} 
[2026-08-11 21:05:22] local.INFO: Packet analysis {"connection_id":152901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff175"} 
[2026-08-11 21:05:22] local.INFO: Extracted packet for processing {"connection_id":152901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff175"} 
[2026-08-11 21:05:22] local.INFO: GPS Element Parsed {"raw_longitude":762868736,"raw_latitude":99650144,"longitude_deg":76.2868736,"latitude_deg":9.9650144,"altitude":11,"angle":322,"satellites":38,"speed":38,"hex_longitude":"2d787400","hex_latitude":"05f08a60","is_valid_coordinates":true} 
[2026-08-11 21:05: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-08-11 21:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334373376001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378208321800241152,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8685332644380923904,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786462406000,"timestamp_ms":1786462406000,"timestamp_seconds":1786462406,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1750570"} 
[2026-08-11 21:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21:05: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":131,"data_length":795,"current_offset":136} 
[2026-08-11 21:05:22] 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-08-11 21:05: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-08-11 21:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:05:22] 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-08-11 21:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334373376001,"66":27365,"60":206,"87":11776,"24":38,"16":378208321800241152,"45":8685332644380923904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-08-11 21:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334373376001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:05:22] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-11 21:05:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-11 21:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378208321800241152,"km_value":378208321800241.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8685332644380923904,"description":"Unknown IO ID 45"} 
[2026-08-11 21:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334373376001,"power":27365,"unknown_60":206,"unknown_87":11776,"ignition":38,"odometer":null,"unknown_45":8685332644380923904}} 
[2026-08-11 21:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":152901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:05:22] local.INFO: GPS data processed {"connection_id":152901,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:05:22] local.INFO: Acknowledgment sent {"connection_id":152901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:05:38] local.INFO: TCP Data received {"connection_id":152902,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:05:38] local.INFO: Processing buffer {"connection_id":152902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:05:38] local.INFO: IMEI packet received {"connection_id":152902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":152902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:05:43] local.INFO: TCP Data received {"connection_id":152902,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:05:43] local.INFO: Processing buffer {"connection_id":152902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:05:43] local.INFO: IMEI packet received {"connection_id":152902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":152902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:05:44] local.INFO: TCP Data received {"connection_id":152902,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:05:44] local.INFO: Processing buffer {"connection_id":152902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:05:44] local.INFO: Packet analysis {"connection_id":152902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:05:44] local.INFO: Extracted packet for processing {"connection_id":152902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:05:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334279424001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786462330000,"timestamp_ms":1786462330000,"timestamp_seconds":1786462330,"priority":1,"record_length":96,"hex_timestamp":"0000019ff173dc90"} 
[2026-08-11 21:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:05:44] 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-08-11 21: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 21:05:44] 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-08-11 21: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-08-11 21:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334279424001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334279424001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:05:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:05:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334279424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":152902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:05:44] local.INFO: GPS data processed {"connection_id":152902,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:05:44] local.INFO: Acknowledgment sent {"connection_id":152902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:05:45] local.INFO: TCP Data received {"connection_id":155197,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff174fda0012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff174fda0012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:05:45] local.INFO: Processing buffer {"connection_id":155197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff174fda0012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:05:45] local.INFO: Packet analysis {"connection_id":155197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff174"} 
[2026-08-11 21:05:45] local.INFO: Extracted packet for processing {"connection_id":155197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff174"} 
[2026-08-11 21:05:45] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":11,"angle":167,"satellites":40,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 21:05: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-08-11 21:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334298368001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:45] 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-08-11 21:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786462404000,"timestamp_ms":1786462404000,"timestamp_seconds":1786462404,"priority":1,"record_length":96,"hex_timestamp":"0000019ff174fda0"} 
[2026-08-11 21:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:05:45] 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-08-11 21:05: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":13,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-11 21:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:45] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929018370,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6921637703012242052,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:45] local.WARNING: Large IO value detected {"io_id":162,"raw_value":-3313523425837842432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":1648828281259520,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:45] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2449958201316084224,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:45] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,185,85,24,241,157,16,210,159,82,45,64,153,6,35,10,66,206,240,227,1,162,4,167],"length":377,"final_offset":507,"validated_count":24,"validation_warnings":[]} 
[2026-08-11 21:05:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432529332993261568,"timestamp_seconds":432529332993261.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 21:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334298368001,"66":2253,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 21:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334298368001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:05:45] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 21:05:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 21:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334298368001,"power":2253,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 21:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":155197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:05:45] local.INFO: GPS data processed {"connection_id":155197,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:05:45] local.INFO: Acknowledgment sent {"connection_id":155197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:05:53] local.INFO: TCP Data received {"connection_id":152901,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1751ce0012d78690005f09a78000b015426..."} 
[2026-08-11 21:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1751ce0012d78690005f09a78000b015426..."} 
[2026-08-11 21:05:53] local.INFO: Processing buffer {"connection_id":152901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1751ce0012d78690005f09a78000b015426..."} 
[2026-08-11 21:05:53] local.INFO: Packet analysis {"connection_id":152901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff175"} 
[2026-08-11 21:05:53] local.INFO: Extracted packet for processing {"connection_id":152901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff175"} 
[2026-08-11 21:05:53] local.INFO: GPS Element Parsed {"raw_longitude":762865920,"raw_latitude":99654264,"longitude_deg":76.286592,"latitude_deg":9.9654264,"altitude":11,"angle":340,"satellites":38,"speed":28,"hex_longitude":"2d786900","hex_latitude":"05f09a78","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334375936001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378208562318409728,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8679562407360225280,"note":"Value kept but may cause issues"} 
[2026-08-11 21:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786462412000,"timestamp_ms":1786462412000,"timestamp_seconds":1786462412,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1751ce0"} 
[2026-08-11 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-08-11 21:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-11 21:05: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-08-11 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-08-11 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-08-11 21:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:05:53] 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-08-11 21:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334375936001,"66":27376,"60":206,"87":11776,"24":28,"16":378208562318409728,"45":8679562407360225280},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-08-11 21:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334375936001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:05:53] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-11 21:05:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-11 21:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378208562318409728,"km_value":378208562318409.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8679562407360225280,"description":"Unknown IO ID 45"} 
[2026-08-11 21:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334375936001,"power":27376,"unknown_60":206,"unknown_87":11776,"ignition":28,"odometer":null,"unknown_45":8679562407360225280}} 
[2026-08-11 21:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":152901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:05:53] local.INFO: GPS data processed {"connection_id":152901,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:05:53] local.INFO: Acknowledgment sent {"connection_id":152901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:06:15] local.INFO: TCP Data received {"connection_id":152902,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:06:15] local.INFO: Processing buffer {"connection_id":152902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:06:15] local.INFO: Packet analysis {"connection_id":152902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:06:15] local.INFO: Extracted packet for processing {"connection_id":152902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334279424001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786462330000,"timestamp_ms":1786462330000,"timestamp_seconds":1786462330,"priority":1,"record_length":96,"hex_timestamp":"0000019ff173dc90"} 
[2026-08-11 21:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:06:15] 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-08-11 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 21:06:15] 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-08-11 21: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-08-11 21:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334279424001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334279424001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:06:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334279424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":152902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:06:15] local.INFO: GPS data processed {"connection_id":152902,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:06:15] local.INFO: Acknowledgment sent {"connection_id":152902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:06:23] local.INFO: TCP Data received {"connection_id":155198,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:06:23] local.INFO: Processing buffer {"connection_id":155198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:06:23] local.INFO: IMEI packet received {"connection_id":155198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":155198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:06:24] local.INFO: TCP Data received {"connection_id":155198,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:06:24] local.INFO: Processing buffer {"connection_id":155198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:06:24] local.INFO: IMEI packet received {"connection_id":155198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":155198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:06:28] local.INFO: TCP Data received {"connection_id":155198,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:06:28] local.INFO: Processing buffer {"connection_id":155198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:06:28] local.INFO: IMEI packet received {"connection_id":155198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":155198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:06:29] local.INFO: TCP Data received {"connection_id":155198,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17524b0012d78678005f09fb8000b016129..."} 
[2026-08-11 21:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17524b0012d78678005f09fb8000b016129..."} 
[2026-08-11 21:06:29] local.INFO: Processing buffer {"connection_id":155198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17524b0012d78678005f09fb8000b016129..."} 
[2026-08-11 21:06:29] local.INFO: Packet analysis {"connection_id":155198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff175"} 
[2026-08-11 21:06:29] local.INFO: Extracted packet for processing {"connection_id":155198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff175"} 
[2026-08-11 21:06:29] local.INFO: GPS Element Parsed {"raw_longitude":762865536,"raw_latitude":99655608,"longitude_deg":76.2865536,"latitude_deg":9.9655608,"altitude":11,"angle":353,"satellites":41,"speed":27,"hex_longitude":"2d786780","hex_latitude":"05f09fb8","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334377472001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378208631037886464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8676466182617462784,"note":"Value kept but may cause issues"} 
[2026-08-11 21:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786462414000,"timestamp_ms":1786462414000,"timestamp_seconds":1786462414,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17524b0"} 
[2026-08-11 21:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-11 21:06:29] 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-08-11 21: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-08-11 21:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:06:29] 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-08-11 21:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334377472001,"66":27234,"60":206,"87":11776,"24":27,"16":378208631037886464,"45":8676466182617462784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-08-11 21:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334377472001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:06:29] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-11 21:06:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-11 21:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378208631037886464,"km_value":378208631037886.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8676466182617462784,"description":"Unknown IO ID 45"} 
[2026-08-11 21:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334377472001,"power":27234,"unknown_60":206,"unknown_87":11776,"ignition":27,"odometer":null,"unknown_45":8676466182617462784}} 
[2026-08-11 21:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":155198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:06:29] local.INFO: GPS data processed {"connection_id":155198,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:06:29] local.INFO: Acknowledgment sent {"connection_id":155198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:06:38] local.INFO: TCP Data received {"connection_id":152903,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:06:38] local.INFO: Processing buffer {"connection_id":152903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:06:38] local.INFO: IMEI packet received {"connection_id":152903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":152903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:06:43] local.INFO: TCP Data received {"connection_id":152903,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:06:43] local.INFO: Processing buffer {"connection_id":152903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:06:43] local.INFO: IMEI packet received {"connection_id":152903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":152903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:06:44] local.INFO: TCP Data received {"connection_id":152903,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:06:44] local.INFO: Processing buffer {"connection_id":152903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:06:44] local.INFO: Packet analysis {"connection_id":152903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:06:44] local.INFO: Extracted packet for processing {"connection_id":152903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334279424001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786462330000,"timestamp_ms":1786462330000,"timestamp_seconds":1786462330,"priority":1,"record_length":96,"hex_timestamp":"0000019ff173dc90"} 
[2026-08-11 21:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:06:44] 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-08-11 21: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 21:06:44] 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-08-11 21: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-08-11 21:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334279424001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334279424001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:06:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:06:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334279424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":152903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:06:44] local.INFO: GPS data processed {"connection_id":152903,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:06:44] local.INFO: Acknowledgment sent {"connection_id":152903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:07:02] local.INFO: TCP Data received {"connection_id":155198,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1755f48012d78640005f0c3d0000b01602b..."} 
[2026-08-11 21:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1755f48012d78640005f0c3d0000b01602b..."} 
[2026-08-11 21:07:02] local.INFO: Processing buffer {"connection_id":155198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1755f48012d78640005f0c3d0000b01602b..."} 
[2026-08-11 21:07:02] local.INFO: Packet analysis {"connection_id":155198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff175"} 
[2026-08-11 21:07:02] local.INFO: Extracted packet for processing {"connection_id":155198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff175"} 
[2026-08-11 21:07:02] local.INFO: GPS Element Parsed {"raw_longitude":762864640,"raw_latitude":99664848,"longitude_deg":76.286464,"latitude_deg":9.9664848,"altitude":11,"angle":352,"satellites":43,"speed":25,"hex_longitude":"2d786400","hex_latitude":"05f0c3d0","is_valid_coordinates":true} 
[2026-08-11 21:07: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-08-11 21:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334377984001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378209082009452544,"note":"Value kept but may cause issues"} 
[2026-08-11 21:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8676043970152740864,"note":"Value kept but may cause issues"} 
[2026-08-11 21:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786462429000,"timestamp_ms":1786462429000,"timestamp_seconds":1786462429,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1755f48"} 
[2026-08-11 21:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21:07: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-08-11 21:07: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-08-11 21:07: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-08-11 21:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":155198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":155198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":155198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:07:02] 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-08-11 21:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334377984001,"66":27463,"60":206,"87":11776,"24":25,"16":378209082009452544,"45":8676043970152740864},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-08-11 21:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334377984001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:07:02] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-11 21:07:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-11 21:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378209082009452544,"km_value":378209082009452.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8676043970152740864,"description":"Unknown IO ID 45"} 
[2026-08-11 21:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334377984001,"power":27463,"unknown_60":206,"unknown_87":11776,"ignition":25,"odometer":null,"unknown_45":8676043970152740864}} 
[2026-08-11 21:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":155198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:07:02] local.INFO: GPS data processed {"connection_id":155198,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:07:02] local.INFO: Acknowledgment sent {"connection_id":155198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:07:15] local.INFO: TCP Data received {"connection_id":152903,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:07:15] local.INFO: Processing buffer {"connection_id":152903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:07:15] local.INFO: Packet analysis {"connection_id":152903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:07:15] local.INFO: Extracted packet for processing {"connection_id":152903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:07: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-08-11 21:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334279424001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786462330000,"timestamp_ms":1786462330000,"timestamp_seconds":1786462330,"priority":1,"record_length":96,"hex_timestamp":"0000019ff173dc90"} 
[2026-08-11 21:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:07:15] 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-08-11 21:07: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 21:07:15] 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-08-11 21:07: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-08-11 21:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334279424001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334279424001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:07:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:07:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334279424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":152903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:07:15] local.INFO: GPS data processed {"connection_id":152903,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:07:15] local.INFO: Acknowledgment sent {"connection_id":152903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:07:17] local.INFO: TCP Data received {"connection_id":152904,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:07:17] local.INFO: Processing buffer {"connection_id":152904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:07:17] local.INFO: IMEI packet received {"connection_id":152904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":152904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:07:18] local.INFO: TCP Data received {"connection_id":152904,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:07:18] local.INFO: Processing buffer {"connection_id":152904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:07:18] local.INFO: IMEI packet received {"connection_id":152904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":152904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:07:24] local.INFO: TCP Data received {"connection_id":152904,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:07:24] local.INFO: Processing buffer {"connection_id":152904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:07:24] local.INFO: IMEI packet received {"connection_id":152904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":152904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:07:25] local.INFO: TCP Data received {"connection_id":152904,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1759dc8012d785e4005f0e740000d015e2d..."} 
[2026-08-11 21:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1759dc8012d785e4005f0e740000d015e2d..."} 
[2026-08-11 21:07:25] local.INFO: Processing buffer {"connection_id":152904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1759dc8012d785e4005f0e740000d015e2d..."} 
[2026-08-11 21:07:25] local.INFO: Packet analysis {"connection_id":152904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff175"} 
[2026-08-11 21:07:25] local.INFO: Extracted packet for processing {"connection_id":152904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff175"} 
[2026-08-11 21:07:25] local.INFO: GPS Element Parsed {"raw_longitude":762863168,"raw_latitude":99673920,"longitude_deg":76.2863168,"latitude_deg":9.967392,"altitude":13,"angle":350,"satellites":45,"speed":26,"hex_longitude":"2d785e40","hex_latitude":"05f0e740","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334381824001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378209524391084032,"note":"Value kept but may cause issues"} 
[2026-08-11 21:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8675058807736619008,"note":"Value kept but may cause issues"} 
[2026-08-11 21:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786462445000,"timestamp_ms":1786462445000,"timestamp_seconds":1786462445,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1759dc8"} 
[2026-08-11 21:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-11 21:07:25] 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-08-11 21: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-08-11 21:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:07:25] 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-08-11 21:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334381824001,"66":27267,"196":206,"87":11776,"24":26,"16":378209524391084032,"45":8675058807736619008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-08-11 21:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334381824001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:07:25] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-11 21:07:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-11 21:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378209524391084032,"km_value":378209524391084.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8675058807736619008,"description":"Unknown IO ID 45"} 
[2026-08-11 21:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334381824001,"power":27267,"unknown_196":206,"unknown_87":11776,"ignition":26,"odometer":null,"unknown_45":8675058807736619008}} 
[2026-08-11 21:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":152904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:07:25] local.INFO: GPS data processed {"connection_id":152904,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:07:25] local.INFO: Acknowledgment sent {"connection_id":152904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:07:38] local.INFO: TCP Data received {"connection_id":152905,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:07:38] local.INFO: Processing buffer {"connection_id":152905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:07:38] local.INFO: IMEI packet received {"connection_id":152905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":152905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:07:43] local.INFO: TCP Data received {"connection_id":152905,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:07:43] local.INFO: Processing buffer {"connection_id":152905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:07:43] local.INFO: IMEI packet received {"connection_id":152905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":152905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:07:44] local.INFO: TCP Data received {"connection_id":152905,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:07:44] local.INFO: Processing buffer {"connection_id":152905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff173dc90012d196a00071fef68003b01182b..."} 
[2026-08-11 21:07:44] local.INFO: Packet analysis {"connection_id":152905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:07:44] local.INFO: Extracted packet for processing {"connection_id":152905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff173"} 
[2026-08-11 21:07:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334279424001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786462330000,"timestamp_ms":1786462330000,"timestamp_seconds":1786462330,"priority":1,"record_length":96,"hex_timestamp":"0000019ff173dc90"} 
[2026-08-11 21:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:07:44] 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-08-11 21: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 21:07:44] 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-08-11 21: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-08-11 21:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334279424001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334279424001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:07:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:07:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334279424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":152905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:07:44] local.INFO: GPS data processed {"connection_id":152905,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:07:44] local.INFO: Acknowledgment sent {"connection_id":152905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:08:05] local.INFO: TCP Data received {"connection_id":152904,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17839c0012d78328005f1a2c00004011b2e..."} 
[2026-08-11 21:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17839c0012d78328005f1a2c00004011b2e..."} 
[2026-08-11 21:08:05] local.INFO: Processing buffer {"connection_id":152904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17839c0012d78328005f1a2c00004011b2e..."} 
[2026-08-11 21:08:05] local.INFO: Packet analysis {"connection_id":152904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:08:05] local.INFO: Extracted packet for processing {"connection_id":152904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:08:05] local.INFO: GPS Element Parsed {"raw_longitude":762851968,"raw_latitude":99721920,"longitude_deg":76.2851968,"latitude_deg":9.972192,"altitude":4,"angle":283,"satellites":46,"speed":10,"hex_longitude":"2d783280","hex_latitude":"05f1a2c0","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334429440001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378211946752638976,"note":"Value kept but may cause issues"} 
[2026-08-11 21:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8661336902636552192,"note":"Value kept but may cause issues"} 
[2026-08-11 21:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786462616000,"timestamp_ms":1786462616000,"timestamp_seconds":1786462616,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17839c0"} 
[2026-08-11 21:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21: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":44,"data_length":795,"current_offset":136} 
[2026-08-11 21:08:05] 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-08-11 21: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-08-11 21:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:08:05] 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-08-11 21:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334429440001,"66":27180,"75":206,"87":11776,"24":10,"16":378211946752638976,"45":8661336902636552192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-08-11 21:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334429440001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:08:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-11 21:08:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-11 21:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378211946752638976,"km_value":378211946752639.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8661336902636552192,"description":"Unknown IO ID 45"} 
[2026-08-11 21:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334429440001,"power":27180,"unknown_75":206,"unknown_87":11776,"ignition":10,"odometer":null,"unknown_45":8661336902636552192}} 
[2026-08-11 21:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":152904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:08:05] local.INFO: GPS data processed {"connection_id":152904,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:08:05] local.INFO: Acknowledgment sent {"connection_id":152904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:08:15] local.INFO: TCP Data received {"connection_id":152905,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:08:15] local.INFO: Processing buffer {"connection_id":152905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:08:15] local.INFO: Packet analysis {"connection_id":152905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:08:15] local.INFO: Extracted packet for processing {"connection_id":152905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334356480001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786462631000,"timestamp_ms":1786462631000,"timestamp_seconds":1786462631,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1787458"} 
[2026-08-11 21:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:08:15] 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-08-11 21: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-08-11 21:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334356480001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334356480001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:08:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:08:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334356480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":152905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:08:15] local.INFO: GPS data processed {"connection_id":152905,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:08:15] local.INFO: Acknowledgment sent {"connection_id":152905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:08:43] local.INFO: TCP Data received {"connection_id":153819,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:08:43] local.INFO: Processing buffer {"connection_id":153819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:08:43] local.INFO: IMEI packet received {"connection_id":153819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":153819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:08:48] local.INFO: TCP Data received {"connection_id":153819,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:08:48] local.INFO: Processing buffer {"connection_id":153819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:08:48] local.INFO: IMEI packet received {"connection_id":153819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":153819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:08:49] local.INFO: TCP Data received {"connection_id":153819,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:08:49] local.INFO: Processing buffer {"connection_id":153819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:08:49] local.INFO: Packet analysis {"connection_id":153819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:08:49] local.INFO: Extracted packet for processing {"connection_id":153819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:08:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:08: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-08-11 21:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334356480001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:08: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-08-11 21:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786462631000,"timestamp_ms":1786462631000,"timestamp_seconds":1786462631,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1787458"} 
[2026-08-11 21:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:08: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:08:49] 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-08-11 21:08: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-08-11 21:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334356480001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334356480001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:08:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:08:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334356480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":153819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:08:49] local.INFO: GPS data processed {"connection_id":153819,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:08:49] local.INFO: Acknowledgment sent {"connection_id":153819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:08:53] local.INFO: TCP Data received {"connection_id":153819,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:08:53] local.INFO: Processing buffer {"connection_id":153819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:08:53] local.INFO: Packet analysis {"connection_id":153819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:08:53] local.INFO: Extracted packet for processing {"connection_id":153819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334356480001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 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-08-11 21:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786462631000,"timestamp_ms":1786462631000,"timestamp_seconds":1786462631,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1787458"} 
[2026-08-11 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-08-11 21:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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-08-11 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-08-11 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-08-11 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-08-11 21:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":153819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":153819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":153819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334356480001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334356480001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:08:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:08:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334356480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":153819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:08:53] local.INFO: GPS data processed {"connection_id":153819,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:08:53] local.INFO: Acknowledgment sent {"connection_id":153819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:09:38] local.INFO: TCP Data received {"connection_id":152906,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:09:38] local.INFO: Processing buffer {"connection_id":152906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:09:38] local.INFO: IMEI packet received {"connection_id":152906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":152906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:09:43] local.INFO: TCP Data received {"connection_id":152906,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:09:43] local.INFO: Processing buffer {"connection_id":152906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:09:43] local.INFO: IMEI packet received {"connection_id":152906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":152906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:09:44] local.INFO: TCP Data received {"connection_id":152906,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:09:44] local.INFO: Processing buffer {"connection_id":152906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:09:44] local.INFO: Packet analysis {"connection_id":152906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:09:44] local.INFO: Extracted packet for processing {"connection_id":152906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:09:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334356480001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786462631000,"timestamp_ms":1786462631000,"timestamp_seconds":1786462631,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1787458"} 
[2026-08-11 21:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:09:44] 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-08-11 21: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-08-11 21:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334356480001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334356480001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:09:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:09:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334356480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":152906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:09:44] local.INFO: GPS data processed {"connection_id":152906,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:09:44] local.INFO: Acknowledgment sent {"connection_id":152906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:10:15] local.INFO: TCP Data received {"connection_id":152906,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:10:15] local.INFO: Processing buffer {"connection_id":152906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:10:15] local.INFO: Packet analysis {"connection_id":152906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:10:15] local.INFO: Extracted packet for processing {"connection_id":152906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:10: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-08-11 21:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334356480001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786462631000,"timestamp_ms":1786462631000,"timestamp_seconds":1786462631,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1787458"} 
[2026-08-11 21:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:10: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:10:15] 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-08-11 21:10: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-08-11 21:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334356480001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334356480001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:10:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334356480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":152906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:10:15] local.INFO: GPS data processed {"connection_id":152906,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:10:15] local.INFO: Acknowledgment sent {"connection_id":152906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:10:38] local.INFO: TCP Data received {"connection_id":152482,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:10:38] local.INFO: Processing buffer {"connection_id":152482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:10:38] local.INFO: IMEI packet received {"connection_id":152482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":152482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:10:43] local.INFO: TCP Data received {"connection_id":152482,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:10:43] local.INFO: Processing buffer {"connection_id":152482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:10:43] local.INFO: IMEI packet received {"connection_id":152482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":152482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:10:44] local.INFO: TCP Data received {"connection_id":152482,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:10:44] local.INFO: Processing buffer {"connection_id":152482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:10:44] local.INFO: Packet analysis {"connection_id":152482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:10:44] local.INFO: Extracted packet for processing {"connection_id":152482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:10:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334356480001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786462631000,"timestamp_ms":1786462631000,"timestamp_seconds":1786462631,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1787458"} 
[2026-08-11 21:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:10:44] 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-08-11 21: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-08-11 21:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334356480001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334356480001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:10:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:10:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334356480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":152482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:10:44] local.INFO: GPS data processed {"connection_id":152482,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:10:44] local.INFO: Acknowledgment sent {"connection_id":152482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:11:15] local.INFO: TCP Data received {"connection_id":152482,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:11:15] local.INFO: Processing buffer {"connection_id":152482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:11:15] local.INFO: Packet analysis {"connection_id":152482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:11:15] local.INFO: Extracted packet for processing {"connection_id":152482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:11: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-08-11 21:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334356480001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786462631000,"timestamp_ms":1786462631000,"timestamp_seconds":1786462631,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1787458"} 
[2026-08-11 21:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:11: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:11:15] 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-08-11 21:11: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-08-11 21:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334356480001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334356480001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:11:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334356480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":152482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:11:15] local.INFO: GPS data processed {"connection_id":152482,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:11:15] local.INFO: Acknowledgment sent {"connection_id":152482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:11:38] local.INFO: TCP Data received {"connection_id":152483,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:11:38] local.INFO: Processing buffer {"connection_id":152483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:11:38] local.INFO: IMEI packet received {"connection_id":152483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":152483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:11:43] local.INFO: TCP Data received {"connection_id":152483,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:11:43] local.INFO: Processing buffer {"connection_id":152483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:11:43] local.INFO: IMEI packet received {"connection_id":152483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":152483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:11:44] local.INFO: TCP Data received {"connection_id":152483,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:11:44] local.INFO: Processing buffer {"connection_id":152483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:11:44] local.INFO: Packet analysis {"connection_id":152483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:11:44] local.INFO: Extracted packet for processing {"connection_id":152483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:11:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334356480001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786462631000,"timestamp_ms":1786462631000,"timestamp_seconds":1786462631,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1787458"} 
[2026-08-11 21:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:11:44] 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-08-11 21: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-08-11 21:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334356480001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334356480001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:11:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:11:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334356480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":152483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:11:44] local.INFO: GPS data processed {"connection_id":152483,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:11:44] local.INFO: Acknowledgment sent {"connection_id":152483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:12:15] local.INFO: TCP Data received {"connection_id":152483,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:12:15] local.INFO: Processing buffer {"connection_id":152483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:12:15] local.INFO: Packet analysis {"connection_id":152483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:12:15] local.INFO: Extracted packet for processing {"connection_id":152483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334356480001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786462631000,"timestamp_ms":1786462631000,"timestamp_seconds":1786462631,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1787458"} 
[2026-08-11 21:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:12:15] 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-08-11 21: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-08-11 21:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334356480001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334356480001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:12:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334356480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":152483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:12:15] local.INFO: GPS data processed {"connection_id":152483,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:12:15] local.INFO: Acknowledgment sent {"connection_id":152483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:12:33] local.INFO: TCP Data received {"connection_id":152484,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:12:33] local.INFO: Processing buffer {"connection_id":152484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:12:33] local.INFO: IMEI packet received {"connection_id":152484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":152484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:12:38] local.INFO: TCP Data received {"connection_id":152484,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:12:38] local.INFO: Processing buffer {"connection_id":152484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:12:38] local.INFO: IMEI packet received {"connection_id":152484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":152484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:12:39] local.INFO: TCP Data received {"connection_id":152484,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17ae170012d77a4c005f2a5a0000a002728..."} 
[2026-08-11 21:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17ae170012d77a4c005f2a5a0000a002728..."} 
[2026-08-11 21:12:39] local.INFO: Processing buffer {"connection_id":152484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17ae170012d77a4c005f2a5a0000a002728..."} 
[2026-08-11 21:12:39] local.INFO: Packet analysis {"connection_id":152484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17a"} 
[2026-08-11 21:12:39] local.INFO: Extracted packet for processing {"connection_id":152484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17a"} 
[2026-08-11 21:12:39] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99788192,"longitude_deg":76.281568,"latitude_deg":9.9788192,"altitude":10,"angle":39,"satellites":40,"speed":9,"hex_longitude":"2d77a4c0","hex_latitude":"05f2a5a0","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334473984001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216520892809216,"note":"Value kept but may cause issues"} 
[2026-08-11 21:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983869440,"note":"Value kept but may cause issues"} 
[2026-08-11 21:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786462790000,"timestamp_ms":1786462790000,"timestamp_seconds":1786462790,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17ae170"} 
[2026-08-11 21:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-11 21:12:39] 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-08-11 21: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-08-11 21:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334473984001,"66":27180,"133":206,"87":13568,"24":9,"16":378216520892809216,"45":8621085980983869440},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,87,24,16,45]} 
[2026-08-11 21:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334473984001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:12:39] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:12:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-11 21:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216520892809216,"km_value":378216520892809.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983869440,"description":"Unknown IO ID 45"} 
[2026-08-11 21:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334473984001,"power":27180,"unknown_133":206,"unknown_87":13568,"ignition":9,"odometer":null,"unknown_45":8621085980983869440}} 
[2026-08-11 21:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":152484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:12:39] local.INFO: GPS data processed {"connection_id":152484,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:12:39] local.INFO: Acknowledgment sent {"connection_id":152484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:12:40] local.INFO: TCP Data received {"connection_id":153820,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:12:40] local.INFO: Processing buffer {"connection_id":153820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:12:40] local.INFO: IMEI packet received {"connection_id":153820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":153820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:12:43] local.INFO: TCP Data received {"connection_id":153820,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:12:43] local.INFO: Processing buffer {"connection_id":153820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:12:43] local.INFO: IMEI packet received {"connection_id":153820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":153820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:12:44] local.INFO: TCP Data received {"connection_id":153820,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:12:44] local.INFO: Processing buffer {"connection_id":153820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1787458012d196a00071fef68003b01182b..."} 
[2026-08-11 21:12:44] local.INFO: Packet analysis {"connection_id":153820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:12:44] local.INFO: Extracted packet for processing {"connection_id":153820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff178"} 
[2026-08-11 21:12:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:12: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-08-11 21:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334356480001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786462631000,"timestamp_ms":1786462631000,"timestamp_seconds":1786462631,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1787458"} 
[2026-08-11 21:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:12: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:12:44] 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-08-11 21:12: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-08-11 21:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334356480001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334356480001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:12:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:12:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334356480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":153820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:12:44] local.INFO: GPS data processed {"connection_id":153820,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:12:44] local.INFO: Acknowledgment sent {"connection_id":153820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:13:18] local.INFO: TCP Data received {"connection_id":153820,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:13:18] local.INFO: Processing buffer {"connection_id":153820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:13:18] local.INFO: Packet analysis {"connection_id":153820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:13:18] local.INFO: Extracted packet for processing {"connection_id":153820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:13: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-08-11 21:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334433536001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:13: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-08-11 21:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786462932000,"timestamp_ms":1786462932000,"timestamp_seconds":1786462932,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17d0c20"} 
[2026-08-11 21:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:13:18] 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-08-11 21:13: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:13:18] 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-08-11 21:13: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-08-11 21:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334433536001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334433536001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:13:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:13:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334433536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":153820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:13:18] local.INFO: GPS data processed {"connection_id":153820,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:13:18] local.INFO: Acknowledgment sent {"connection_id":153820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:13:18] local.INFO: TCP Data received {"connection_id":155199,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:13:18] local.INFO: Processing buffer {"connection_id":155199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:13:18] local.INFO: IMEI packet received {"connection_id":155199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":155199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:13:24] local.INFO: TCP Data received {"connection_id":155199,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:13:24] local.INFO: Processing buffer {"connection_id":155199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:13:24] local.INFO: IMEI packet received {"connection_id":155199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":155199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:13:24] local.INFO: TCP Data received {"connection_id":155199,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17ae558012d77a58005f2a640000a003b2b..."} 
[2026-08-11 21:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17ae558012d77a58005f2a640000a003b2b..."} 
[2026-08-11 21:13:24] local.INFO: Processing buffer {"connection_id":155199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17ae558012d77a58005f2a640000a003b2b..."} 
[2026-08-11 21:13:24] local.INFO: Packet analysis {"connection_id":155199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17a"} 
[2026-08-11 21:13:24] local.INFO: Extracted packet for processing {"connection_id":155199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17a"} 
[2026-08-11 21:13:24] local.INFO: GPS Element Parsed {"raw_longitude":762815872,"raw_latitude":99788352,"longitude_deg":76.2815872,"latitude_deg":9.9788352,"altitude":10,"angle":59,"satellites":43,"speed":10,"hex_longitude":"2d77a580","hex_latitude":"05f2a640","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334474240001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216529482743808,"note":"Value kept but may cause issues"} 
[2026-08-11 21:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621226718472282112,"note":"Value kept but may cause issues"} 
[2026-08-11 21:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786462791000,"timestamp_ms":1786462791000,"timestamp_seconds":1786462791,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17ae558"} 
[2026-08-11 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-08-11 21:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-11 21:13:24] 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-08-11 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-08-11 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-08-11 21:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334474240001,"66":27234,"133":206,"87":13568,"24":10,"16":378216529482743808,"45":8621226718472282112},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,87,24,16,45]} 
[2026-08-11 21:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334474240001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:13:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:13:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-11 21:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216529482743808,"km_value":378216529482743.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621226718472282112,"description":"Unknown IO ID 45"} 
[2026-08-11 21:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334474240001,"power":27234,"unknown_133":206,"unknown_87":13568,"ignition":10,"odometer":null,"unknown_45":8621226718472282112}} 
[2026-08-11 21:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":155199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:13:24] local.INFO: GPS data processed {"connection_id":155199,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:13:24] local.INFO: Acknowledgment sent {"connection_id":155199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:13:38] local.INFO: TCP Data received {"connection_id":152485,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:13:38] local.INFO: Processing buffer {"connection_id":152485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:13:38] local.INFO: IMEI packet received {"connection_id":152485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":152485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:13:43] local.INFO: TCP Data received {"connection_id":152485,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:13:43] local.INFO: Processing buffer {"connection_id":152485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:13:43] local.INFO: IMEI packet received {"connection_id":152485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":152485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:13:44] local.INFO: TCP Data received {"connection_id":152485,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:13:44] local.INFO: Processing buffer {"connection_id":152485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:13:44] local.INFO: Packet analysis {"connection_id":152485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:13:44] local.INFO: Extracted packet for processing {"connection_id":152485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:13:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334433536001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786462932000,"timestamp_ms":1786462932000,"timestamp_seconds":1786462932,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17d0c20"} 
[2026-08-11 21:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:13:44] 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-08-11 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:13:44] 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-08-11 21: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-08-11 21:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:13:44] 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-08-11 21:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334433536001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334433536001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:13:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:13:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334433536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":152485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:13:44] local.INFO: GPS data processed {"connection_id":152485,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:13:44] local.INFO: Acknowledgment sent {"connection_id":152485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:13:55] local.INFO: TCP Data received {"connection_id":155199,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17ae940012d77a64005f2a688000900472b..."} 
[2026-08-11 21:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17ae940012d77a64005f2a688000900472b..."} 
[2026-08-11 21:13:55] local.INFO: Processing buffer {"connection_id":155199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17ae940012d77a64005f2a688000900472b..."} 
[2026-08-11 21:13:55] local.INFO: Packet analysis {"connection_id":155199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17a"} 
[2026-08-11 21:13:55] local.INFO: Extracted packet for processing {"connection_id":155199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17a"} 
[2026-08-11 21:13:55] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99788424,"longitude_deg":76.2816064,"latitude_deg":9.9788424,"altitude":9,"angle":71,"satellites":43,"speed":9,"hex_longitude":"2d77a640","hex_latitude":"05f2a688","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334474496001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216542367645696,"note":"Value kept but may cause issues"} 
[2026-08-11 21:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621437824704856064,"note":"Value kept but may cause issues"} 
[2026-08-11 21:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786462792000,"timestamp_ms":1786462792000,"timestamp_seconds":1786462792,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17ae940"} 
[2026-08-11 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-08-11 21:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-11 21:13:55] 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-08-11 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-08-11 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-08-11 21:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334474496001,"66":27234,"133":206,"87":13568,"24":9,"16":378216542367645696,"45":8621437824704856064},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,87,24,16,45]} 
[2026-08-11 21:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334474496001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:13:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:13:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-11 21:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216542367645696,"km_value":378216542367645.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621437824704856064,"description":"Unknown IO ID 45"} 
[2026-08-11 21:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334474496001,"power":27234,"unknown_133":206,"unknown_87":13568,"ignition":9,"odometer":null,"unknown_45":8621437824704856064}} 
[2026-08-11 21:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":155199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:13:55] local.INFO: GPS data processed {"connection_id":155199,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:13:55] local.INFO: Acknowledgment sent {"connection_id":155199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:14:15] local.INFO: TCP Data received {"connection_id":152485,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:14:15] local.INFO: Processing buffer {"connection_id":152485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:14:15] local.INFO: Packet analysis {"connection_id":152485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:14:15] local.INFO: Extracted packet for processing {"connection_id":152485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334433536001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786462932000,"timestamp_ms":1786462932000,"timestamp_seconds":1786462932,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17d0c20"} 
[2026-08-11 21:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:14:15] 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-08-11 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:14:15] 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-08-11 21: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-08-11 21:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:14:15] 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-08-11 21:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334433536001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334433536001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:14:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334433536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":152485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:14:15] local.INFO: GPS data processed {"connection_id":152485,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:14:15] local.INFO: Acknowledgment sent {"connection_id":152485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:14:24] local.INFO: TCP Data received {"connection_id":155200,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:14:24] local.INFO: Processing buffer {"connection_id":155200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:14:24] local.INFO: IMEI packet received {"connection_id":155200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":155200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:14:29] local.INFO: TCP Data received {"connection_id":155200,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:14:29] local.INFO: Processing buffer {"connection_id":155200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:14:29] local.INFO: IMEI packet received {"connection_id":155200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":155200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:14:29] local.INFO: TCP Data received {"connection_id":155200,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17af8e0012d77a8c005f2a6f80009005f2d..."} 
[2026-08-11 21:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17af8e0012d77a8c005f2a6f80009005f2d..."} 
[2026-08-11 21:14:29] local.INFO: Processing buffer {"connection_id":155200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17af8e0012d77a8c005f2a6f80009005f2d..."} 
[2026-08-11 21:14:29] local.INFO: Packet analysis {"connection_id":155200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17a"} 
[2026-08-11 21:14:29] local.INFO: Extracted packet for processing {"connection_id":155200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17a"} 
[2026-08-11 21:14:29] local.INFO: GPS Element Parsed {"raw_longitude":762816704,"raw_latitude":99788536,"longitude_deg":76.2816704,"latitude_deg":9.9788536,"altitude":9,"angle":95,"satellites":45,"speed":6,"hex_longitude":"2d77a8c0","hex_latitude":"05f2a6f8","is_valid_coordinates":true} 
[2026-08-11 21:14: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-08-11 21:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334474752001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216572432416768,"note":"Value kept but may cause issues"} 
[2026-08-11 21:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930937407488,"note":"Value kept but may cause issues"} 
[2026-08-11 21:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786462796000,"timestamp_ms":1786462796000,"timestamp_seconds":1786462796,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17af8e0"} 
[2026-08-11 21:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21:14: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":98,"data_length":795,"current_offset":136} 
[2026-08-11 21:14:29] 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-08-11 21:14: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-08-11 21:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334474752001,"66":27745,"133":206,"87":13568,"24":6,"16":378216572432416768,"45":8621648930937407488},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,87,24,16,45]} 
[2026-08-11 21:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334474752001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:14:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:14:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-11 21:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216572432416768,"km_value":378216572432416.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930937407488,"description":"Unknown IO ID 45"} 
[2026-08-11 21:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334474752001,"power":27745,"unknown_133":206,"unknown_87":13568,"ignition":6,"odometer":null,"unknown_45":8621648930937407488}} 
[2026-08-11 21:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":155200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:14:29] local.INFO: GPS data processed {"connection_id":155200,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:14:29] local.INFO: Acknowledgment sent {"connection_id":155200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:14:34] local.INFO: TCP Data received {"connection_id":155200,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17b0498012d77aa4005f2a740000900472d..."} 
[2026-08-11 21:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17b0498012d77aa4005f2a740000900472d..."} 
[2026-08-11 21:14:34] local.INFO: Processing buffer {"connection_id":155200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17b0498012d77aa4005f2a740000900472d..."} 
[2026-08-11 21:14:34] local.INFO: Packet analysis {"connection_id":155200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17b"} 
[2026-08-11 21:14:34] local.INFO: Extracted packet for processing {"connection_id":155200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17b"} 
[2026-08-11 21:14:34] local.INFO: GPS Element Parsed {"raw_longitude":762817088,"raw_latitude":99788608,"longitude_deg":76.2817088,"latitude_deg":9.9788608,"altitude":9,"angle":71,"satellites":45,"speed":5,"hex_longitude":"2d77aa40","hex_latitude":"05f2a740","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334475776001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216589612285952,"note":"Value kept but may cause issues"} 
[2026-08-11 21:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622352618379212800,"note":"Value kept but may cause issues"} 
[2026-08-11 21:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786462799000,"timestamp_ms":1786462799000,"timestamp_seconds":1786462799,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17b0498"} 
[2026-08-11 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-08-11 21:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 21:14: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-08-11 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-08-11 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-08-11 21:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":155200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":155200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":155200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334475776001,"66":27865,"96":206,"87":13568,"24":5,"16":378216589612285952,"45":8622352618379212800},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-11 21:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334475776001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:14:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 21:14:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-11 21:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216589612285952,"km_value":378216589612285.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622352618379212800,"description":"Unknown IO ID 45"} 
[2026-08-11 21:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334475776001,"power":27865,"unknown_96":206,"unknown_87":13568,"ignition":5,"odometer":null,"unknown_45":8622352618379212800}} 
[2026-08-11 21:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":155200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:14:34] local.INFO: GPS data processed {"connection_id":155200,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:14:34] local.INFO: Acknowledgment sent {"connection_id":155200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:14:38] local.INFO: TCP Data received {"connection_id":152486,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:14:38] local.INFO: Processing buffer {"connection_id":152486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:14:38] local.INFO: IMEI packet received {"connection_id":152486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":152486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:14:43] local.INFO: TCP Data received {"connection_id":152486,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:14:43] local.INFO: Processing buffer {"connection_id":152486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:14:43] local.INFO: IMEI packet received {"connection_id":152486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":152486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:14:47] local.INFO: TCP Data received {"connection_id":152486,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:14:47] local.INFO: Processing buffer {"connection_id":152486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:14:47] local.INFO: Packet analysis {"connection_id":152486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:14:47] local.INFO: Extracted packet for processing {"connection_id":152486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:14:47] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334433536001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786462932000,"timestamp_ms":1786462932000,"timestamp_seconds":1786462932,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17d0c20"} 
[2026-08-11 21:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:14:47] 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-08-11 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:14:47] 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-08-11 21: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-08-11 21:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334433536001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334433536001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:14:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:14:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334433536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":152486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:14:47] local.INFO: GPS data processed {"connection_id":152486,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:14:47] local.INFO: Acknowledgment sent {"connection_id":152486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:15:18] local.INFO: TCP Data received {"connection_id":155201,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:15:18] local.INFO: Processing buffer {"connection_id":155201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:15:18] local.INFO: IMEI packet received {"connection_id":155201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":155201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:15:18] local.INFO: TCP Data received {"connection_id":152486,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:15:18] local.INFO: Processing buffer {"connection_id":152486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:15:18] local.INFO: Packet analysis {"connection_id":152486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:15:18] local.INFO: Extracted packet for processing {"connection_id":152486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:15: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-08-11 21:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334433536001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:15: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-08-11 21:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786462932000,"timestamp_ms":1786462932000,"timestamp_seconds":1786462932,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17d0c20"} 
[2026-08-11 21:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:15:18] 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-08-11 21:15: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:15:18] 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-08-11 21:15: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-08-11 21:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334433536001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334433536001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:15:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:15:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334433536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":152486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:15:19] local.INFO: GPS data processed {"connection_id":152486,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:15:19] local.INFO: Acknowledgment sent {"connection_id":152486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:15:23] local.INFO: TCP Data received {"connection_id":155201,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:15:23] local.INFO: Processing buffer {"connection_id":155201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:15:23] local.INFO: IMEI packet received {"connection_id":155201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":155201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:15:25] local.INFO: TCP Data received {"connection_id":155201,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17b3378012d77ac4005f2a7b00009004b2a..."} 
[2026-08-11 21:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17b3378012d77ac4005f2a7b00009004b2a..."} 
[2026-08-11 21:15:25] local.INFO: Processing buffer {"connection_id":155201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17b3378012d77ac4005f2a7b00009004b2a..."} 
[2026-08-11 21:15:25] local.INFO: Packet analysis {"connection_id":155201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17b"} 
[2026-08-11 21:15:25] local.INFO: Extracted packet for processing {"connection_id":155201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17b"} 
[2026-08-11 21:15:25] local.INFO: GPS Element Parsed {"raw_longitude":762817600,"raw_latitude":99788720,"longitude_deg":76.28176,"latitude_deg":9.978872,"altitude":9,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d77ac40","hex_latitude":"05f2a7b0","is_valid_coordinates":true} 
[2026-08-11 21:15:25] 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-08-11 21:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334476544001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830844297216,"note":"Value kept but may cause issues"} 
[2026-08-11 21:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786462811000,"timestamp_ms":1786462811000,"timestamp_seconds":1786462811,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17b3378"} 
[2026-08-11 21:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-11 21:15:25] 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-08-11 21: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-08-11 21:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334476544001,"66":27843,"96":206,"87":13568,"24":0,"16":378216628266991616,"45":8622774830844297216},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-11 21:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334476544001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:15:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 21:15:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-11 21:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830844297216,"description":"Unknown IO ID 45"} 
[2026-08-11 21:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334476544001,"power":27843,"unknown_96":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622774830844297216}} 
[2026-08-11 21:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":155201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:15:25] local.INFO: GPS data processed {"connection_id":155201,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:15:25] local.INFO: Acknowledgment sent {"connection_id":155201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:15:38] local.INFO: TCP Data received {"connection_id":153821,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:15:38] local.INFO: Processing buffer {"connection_id":153821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:15:38] local.INFO: IMEI packet received {"connection_id":153821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":153821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:15:43] local.INFO: TCP Data received {"connection_id":153821,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:15:43] local.INFO: Processing buffer {"connection_id":153821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:15:43] local.INFO: IMEI packet received {"connection_id":153821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":153821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:15:44] local.INFO: TCP Data received {"connection_id":153821,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:15:44] local.INFO: Processing buffer {"connection_id":153821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:15:44] local.INFO: Packet analysis {"connection_id":153821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:15:44] local.INFO: Extracted packet for processing {"connection_id":153821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:15:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334433536001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786462932000,"timestamp_ms":1786462932000,"timestamp_seconds":1786462932,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17d0c20"} 
[2026-08-11 21:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:15:44] 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-08-11 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:15:44] 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-08-11 21: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-08-11 21:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334433536001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334433536001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:15:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:15:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334433536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":153821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:15:44] local.INFO: GPS data processed {"connection_id":153821,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:15:44] local.INFO: Acknowledgment sent {"connection_id":153821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:16:00] local.INFO: TCP Data received {"connection_id":155201,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17b3b48012d77ac0005f2a798000900f429..."} 
[2026-08-11 21:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17b3b48012d77ac0005f2a798000900f429..."} 
[2026-08-11 21:16:00] local.INFO: Processing buffer {"connection_id":155201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17b3b48012d77ac0005f2a798000900f429..."} 
[2026-08-11 21:16:00] local.INFO: Packet analysis {"connection_id":155201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17b"} 
[2026-08-11 21:16:00] local.INFO: Extracted packet for processing {"connection_id":155201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17b"} 
[2026-08-11 21:16:00] local.INFO: GPS Element Parsed {"raw_longitude":762817536,"raw_latitude":99788696,"longitude_deg":76.2817536,"latitude_deg":9.9788696,"altitude":9,"angle":244,"satellites":41,"speed":1,"hex_longitude":"2d77ac00","hex_latitude":"05f2a798","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334479616001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623337780797747200,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786462813000,"timestamp_ms":1786462813000,"timestamp_seconds":1786462813,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17b3b48"} 
[2026-08-11 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-08-11 21:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 21:16:00] 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-08-11 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-08-11 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-08-11 21:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":155201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":155201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":155201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334479616001,"66":27995,"96":206,"87":13568,"24":1,"16":378216628266991616,"45":8623337780797747200},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-11 21:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334479616001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:16:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 21:16:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-11 21:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623337780797747200,"description":"Unknown IO ID 45"} 
[2026-08-11 21:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334479616001,"power":27995,"unknown_96":206,"unknown_87":13568,"ignition":1,"odometer":null,"unknown_45":8623337780797747200}} 
[2026-08-11 21:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":155201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:16:00] local.INFO: GPS data processed {"connection_id":155201,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:16:00] local.INFO: Acknowledgment sent {"connection_id":155201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:16:15] local.INFO: TCP Data received {"connection_id":153821,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:16:15] local.INFO: Processing buffer {"connection_id":153821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:16:15] local.INFO: Packet analysis {"connection_id":153821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:16:15] local.INFO: Extracted packet for processing {"connection_id":153821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:16: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-08-11 21:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334433536001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786462932000,"timestamp_ms":1786462932000,"timestamp_seconds":1786462932,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17d0c20"} 
[2026-08-11 21:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:16:15] 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-08-11 21:16: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:16:15] 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-08-11 21:16: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-08-11 21:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334433536001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334433536001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:16:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:16:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334433536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":153821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:16:15] local.INFO: GPS data processed {"connection_id":153821,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:16:15] local.INFO: Acknowledgment sent {"connection_id":153821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:16:18] local.INFO: TCP Data received {"connection_id":152908,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:16:18] local.INFO: Processing buffer {"connection_id":152908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:16:18] local.INFO: IMEI packet received {"connection_id":152908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":152908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:16:24] local.INFO: TCP Data received {"connection_id":152908,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:16:24] local.INFO: Processing buffer {"connection_id":152908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:16:24] local.INFO: IMEI packet received {"connection_id":152908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":152908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:16:25] local.INFO: TCP Data received {"connection_id":152908,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17b3b48012d77ac0005f2a798000900f429..."} 
[2026-08-11 21:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17b3b48012d77ac0005f2a798000900f429..."} 
[2026-08-11 21:16:25] local.INFO: Processing buffer {"connection_id":152908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17b3b48012d77ac0005f2a798000900f429..."} 
[2026-08-11 21:16:25] local.INFO: Packet analysis {"connection_id":152908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17b"} 
[2026-08-11 21:16:25] local.INFO: Extracted packet for processing {"connection_id":152908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17b"} 
[2026-08-11 21:16:25] local.INFO: GPS Element Parsed {"raw_longitude":762817536,"raw_latitude":99788696,"longitude_deg":76.2817536,"latitude_deg":9.9788696,"altitude":9,"angle":244,"satellites":41,"speed":1,"hex_longitude":"2d77ac00","hex_latitude":"05f2a798","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334479616001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623337780797747200,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786462813000,"timestamp_ms":1786462813000,"timestamp_seconds":1786462813,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17b3b48"} 
[2026-08-11 21:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-11 21:16:25] 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-08-11 21: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-08-11 21:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334479616001,"66":27995,"96":206,"87":13568,"24":1,"16":378216628266991616,"45":8623337780797747200},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-11 21:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334479616001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:16:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-11 21:16:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-11 21:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623337780797747200,"description":"Unknown IO ID 45"} 
[2026-08-11 21:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334479616001,"power":27995,"unknown_96":206,"unknown_87":13568,"ignition":1,"odometer":null,"unknown_45":8623337780797747200}} 
[2026-08-11 21:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":152908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:16:25] local.INFO: GPS data processed {"connection_id":152908,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:16:25] local.INFO: Acknowledgment sent {"connection_id":152908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:16:38] local.INFO: TCP Data received {"connection_id":153823,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:16:38] local.INFO: Processing buffer {"connection_id":153823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:16:38] local.INFO: IMEI packet received {"connection_id":153823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":153823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:16:38] local.INFO: TCP Data received {"connection_id":153822,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:16:38] local.INFO: Processing buffer {"connection_id":153822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:16:38] local.INFO: IMEI packet received {"connection_id":153822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":153822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:16:39] local.INFO: TCP Data received {"connection_id":153822,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:16:39] local.INFO: Processing buffer {"connection_id":153822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:16:39] local.INFO: IMEI packet received {"connection_id":153822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":153822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:16:40] local.INFO: TCP Data received {"connection_id":153822,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1799568012d7c044005db99d8000b00a727..."} 
[2026-08-11 21:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1799568012d7c044005db99d8000b00a727..."} 
[2026-08-11 21:16:40] local.INFO: Processing buffer {"connection_id":153822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1799568012d7c044005db99d8000b00a727..."} 
[2026-08-11 21:16:40] local.INFO: Packet analysis {"connection_id":153822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff179"} 
[2026-08-11 21:16:40] local.INFO: Extracted packet for processing {"connection_id":153822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff179"} 
[2026-08-11 21:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":11,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334375424001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:40] 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-08-11 21:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786462705000,"timestamp_ms":1786462705000,"timestamp_seconds":1786462705,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1799568"} 
[2026-08-11 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-08-11 21:16:40] 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-08-11 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-11 21:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 21:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334375424001,"66":2242,"185":206,"85":15104,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-11 21:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334375424001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:16:40] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-11 21:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 21:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334375424001,"power":2242,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 21:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":153822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:16:40] local.INFO: GPS data processed {"connection_id":153822,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:16:40] local.INFO: Acknowledgment sent {"connection_id":153822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:16:43] local.INFO: TCP Data received {"connection_id":153823,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:16:43] local.INFO: Processing buffer {"connection_id":153823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:16:43] local.INFO: IMEI packet received {"connection_id":153823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":153823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:16:43] local.INFO: TCP Data received {"connection_id":153822,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17fdec8012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17fdec8012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:16:43] local.INFO: Processing buffer {"connection_id":153822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17fdec8012d7c044005db99d8000b00a728..."} 
[2026-08-11 21:16:43] local.INFO: Packet analysis {"connection_id":153822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17f"} 
[2026-08-11 21:16:43] local.INFO: Extracted packet for processing {"connection_id":153822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17f"} 
[2026-08-11 21:16:43] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":11,"angle":167,"satellites":40,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 21:16: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-08-11 21:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334452480001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:43] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-11 21:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786463117000,"timestamp_ms":1786463117000,"timestamp_seconds":1786463117,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17fdec8"} 
[2026-08-11 21:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:16:43] 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-08-11 21:16: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-11 21:16:43] 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-08-11 21:16: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-08-11 21:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334452480001,"66":2253,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-11 21:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334452480001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 21:16:43] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457334452480001,"power":2253,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 21:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":153822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:16:43] local.INFO: GPS data processed {"connection_id":153822,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:16:43] local.INFO: Acknowledgment sent {"connection_id":153822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:16:44] local.INFO: TCP Data received {"connection_id":153823,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:16:44] local.INFO: Processing buffer {"connection_id":153823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:16:44] local.INFO: Packet analysis {"connection_id":153823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:16:44] local.INFO: Extracted packet for processing {"connection_id":153823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:16:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334433536001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786462932000,"timestamp_ms":1786462932000,"timestamp_seconds":1786462932,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17d0c20"} 
[2026-08-11 21:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:16:44] 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-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:16:44] 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-08-11 21: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-08-11 21:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:16:44] 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-08-11 21:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334433536001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334433536001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:16:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:16:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334433536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":153823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:16:44] local.INFO: GPS data processed {"connection_id":153823,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:16:44] local.INFO: Acknowledgment sent {"connection_id":153823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:16:56] local.INFO: TCP Data received {"connection_id":152908,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:16:56] local.INFO: Processing buffer {"connection_id":152908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:16:56] local.INFO: Packet analysis {"connection_id":152908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:16:56] local.INFO: Extracted packet for processing {"connection_id":152908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:16:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":22,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334480128001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623267412053563392,"note":"Value kept but may cause issues"} 
[2026-08-11 21:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786463166000,"timestamp_ms":1786463166000,"timestamp_seconds":1786463166,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1809e30"} 
[2026-08-11 21:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 21:16:56] 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-08-11 21: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-08-11 21:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334480128001,"66":26430,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623267412053563392},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334480128001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:16:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:16:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623267412053563392,"description":"Unknown IO ID 45"} 
[2026-08-11 21:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334480128001,"power":26430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623267412053563392}} 
[2026-08-11 21:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":152908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:16:56] local.INFO: GPS data processed {"connection_id":152908,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:16:56] local.INFO: Acknowledgment sent {"connection_id":152908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:17:08] local.INFO: TCP Data received {"connection_id":155202,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:17:08] local.INFO: Processing buffer {"connection_id":155202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:17:08] local.INFO: IMEI packet received {"connection_id":155202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":155202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:17:13] local.INFO: TCP Data received {"connection_id":155202,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:17:13] local.INFO: Processing buffer {"connection_id":155202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:17:13] local.INFO: IMEI packet received {"connection_id":155202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":155202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:17:14] local.INFO: TCP Data received {"connection_id":155202,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1809660012d7c044005db99d8000b00a725..."} 
[2026-08-11 21:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1809660012d7c044005db99d8000b00a725..."} 
[2026-08-11 21:17:14] local.INFO: Processing buffer {"connection_id":155202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1809660012d7c044005db99d8000b00a725..."} 
[2026-08-11 21:17:14] local.INFO: Packet analysis {"connection_id":155202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:17:14] local.INFO: Extracted packet for processing {"connection_id":155202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:17:14] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":11,"angle":167,"satellites":37,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 21:17:14] 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-08-11 21:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334557952001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:14] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-11 21:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786463164000,"timestamp_ms":1786463164000,"timestamp_seconds":1786463164,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1809660"} 
[2026-08-11 21:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:17:14] 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-08-11 21:17: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-11 21:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21:17: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-08-11 21:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334557952001,"66":2220,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-11 21:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334557952001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 21:17:14] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457334557952001,"power":2220,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 21:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":155202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:17:14] local.INFO: GPS data processed {"connection_id":155202,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:17:14] local.INFO: Acknowledgment sent {"connection_id":155202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:17:15] local.INFO: TCP Data received {"connection_id":153823,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:17:15] local.INFO: Processing buffer {"connection_id":153823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:17:15] local.INFO: Packet analysis {"connection_id":153823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:17:15] local.INFO: Extracted packet for processing {"connection_id":153823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334433536001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786462932000,"timestamp_ms":1786462932000,"timestamp_seconds":1786462932,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17d0c20"} 
[2026-08-11 21:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:17:15] 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-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:17:15] 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-08-11 21: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-08-11 21:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:17:15] 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-08-11 21:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334433536001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334433536001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:17:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:17:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334433536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":153823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:17:15] local.INFO: GPS data processed {"connection_id":153823,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:17:15] local.INFO: Acknowledgment sent {"connection_id":153823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:17:19] local.INFO: TCP Data received {"connection_id":152487,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:17:19] local.INFO: Processing buffer {"connection_id":152487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:17:19] local.INFO: IMEI packet received {"connection_id":152487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":152487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:17:24] local.INFO: TCP Data received {"connection_id":152487,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:17:24] local.INFO: Processing buffer {"connection_id":152487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:17:24] local.INFO: IMEI packet received {"connection_id":152487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":152487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:17:24] local.INFO: TCP Data received {"connection_id":152487,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:17:24] local.INFO: Processing buffer {"connection_id":152487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:17:24] local.INFO: Packet analysis {"connection_id":152487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:17:24] local.INFO: Extracted packet for processing {"connection_id":152487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:17:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":22,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334480128001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623267412053563392,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786463166000,"timestamp_ms":1786463166000,"timestamp_seconds":1786463166,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1809e30"} 
[2026-08-11 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-08-11 21:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 21:17:24] 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-08-11 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-08-11 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-08-11 21:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334480128001,"66":26430,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623267412053563392},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334480128001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:17:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:17:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623267412053563392,"description":"Unknown IO ID 45"} 
[2026-08-11 21:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334480128001,"power":26430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623267412053563392}} 
[2026-08-11 21:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":152487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:17:25] local.INFO: GPS data processed {"connection_id":152487,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:17:25] local.INFO: Acknowledgment sent {"connection_id":152487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:17:38] local.INFO: TCP Data received {"connection_id":155203,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:17:38] local.INFO: Processing buffer {"connection_id":155203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:17:38] local.INFO: IMEI packet received {"connection_id":155203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":155203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:17:43] local.INFO: TCP Data received {"connection_id":155203,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:17:43] local.INFO: Processing buffer {"connection_id":155203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:17:43] local.INFO: IMEI packet received {"connection_id":155203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":155203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:17:44] local.INFO: TCP Data received {"connection_id":155203,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:17:44] local.INFO: Processing buffer {"connection_id":155203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff17d0c20012d196a00071fef68003b01182b..."} 
[2026-08-11 21:17:44] local.INFO: Packet analysis {"connection_id":155203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:17:44] local.INFO: Extracted packet for processing {"connection_id":155203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff17d"} 
[2026-08-11 21:17:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:17: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-08-11 21:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334433536001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786462932000,"timestamp_ms":1786462932000,"timestamp_seconds":1786462932,"priority":1,"record_length":96,"hex_timestamp":"0000019ff17d0c20"} 
[2026-08-11 21:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:17:44] 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-08-11 21:17: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:17:44] 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-08-11 21:17: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-08-11 21:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334433536001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334433536001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:17:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:17:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334433536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":155203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:17:44] local.INFO: GPS data processed {"connection_id":155203,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:17:44] local.INFO: Acknowledgment sent {"connection_id":155203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:17:45] local.INFO: TCP Data received {"connection_id":155202,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1809660012d7c044005db99d8000b00a725..."} 
[2026-08-11 21:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1809660012d7c044005db99d8000b00a725..."} 
[2026-08-11 21:17:45] local.INFO: Processing buffer {"connection_id":155202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1809660012d7c044005db99d8000b00a725..."} 
[2026-08-11 21:17:45] local.INFO: Packet analysis {"connection_id":155202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:17:45] local.INFO: Extracted packet for processing {"connection_id":155202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:17:45] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98277848,"longitude_deg":76.3102272,"latitude_deg":9.8277848,"altitude":11,"angle":167,"satellites":37,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db99d8","is_valid_coordinates":true} 
[2026-08-11 21:17:45] 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-08-11 21:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334569984001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117887454886756352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954513213440,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:45] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-11 21:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786463164000,"timestamp_ms":1786463164000,"timestamp_seconds":1786463164,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1809660"} 
[2026-08-11 21:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:17:45] 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-08-11 21: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-11 21:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334569984001,"66":2220,"24":0,"16":117887454886756352,"45":8936337954513213440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-11 21:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334569984001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117887454886756352,"km_value":117887454886756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954513213440,"description":"Unknown IO ID 45"} 
[2026-08-11 21:17:45] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457334569984001,"power":2220,"ignition":0,"odometer":null,"unknown_45":8936337954513213440}} 
[2026-08-11 21:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":155202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:17:45] local.INFO: GPS data processed {"connection_id":155202,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:17:45] local.INFO: Acknowledgment sent {"connection_id":155202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:17:56] local.INFO: TCP Data received {"connection_id":152487,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:17:56] local.INFO: Processing buffer {"connection_id":152487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:17:56] local.INFO: Packet analysis {"connection_id":152487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:17:56] local.INFO: Extracted packet for processing {"connection_id":152487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:17:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":22,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334480128001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623267412053563392,"note":"Value kept but may cause issues"} 
[2026-08-11 21:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786463166000,"timestamp_ms":1786463166000,"timestamp_seconds":1786463166,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1809e30"} 
[2026-08-11 21:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 21:17:56] 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-08-11 21: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-08-11 21:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334480128001,"66":26430,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623267412053563392},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334480128001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:17:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:17:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623267412053563392,"description":"Unknown IO ID 45"} 
[2026-08-11 21:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334480128001,"power":26430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623267412053563392}} 
[2026-08-11 21:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":152487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:17:56] local.INFO: GPS data processed {"connection_id":152487,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:17:56] local.INFO: Acknowledgment sent {"connection_id":152487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:18:06] local.INFO: TCP Data received {"connection_id":155204,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:18:06] local.INFO: Processing buffer {"connection_id":155204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:18:06] local.INFO: IMEI packet received {"connection_id":155204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":155204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:18:08] local.INFO: TCP Data received {"connection_id":155204,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:18:08] local.INFO: Processing buffer {"connection_id":155204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:18:08] local.INFO: IMEI packet received {"connection_id":155204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":155204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:18:13] local.INFO: TCP Data received {"connection_id":155204,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:18:13] local.INFO: Processing buffer {"connection_id":155204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:18:13] local.INFO: IMEI packet received {"connection_id":155204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":155204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:18:14] local.INFO: TCP Data received {"connection_id":155203,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:18:14] local.INFO: Processing buffer {"connection_id":155203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:18:14] local.INFO: Packet analysis {"connection_id":155203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:18:14] local.INFO: Extracted packet for processing {"connection_id":155203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334510592001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786463233000,"timestamp_ms":1786463233000,"timestamp_seconds":1786463233,"priority":1,"record_length":96,"hex_timestamp":"0000019ff181a3e8"} 
[2026-08-11 21:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:18:14] 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-08-11 21: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-08-11 21:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334510592001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334510592001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:18:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:18:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334510592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":155203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:18:15] local.INFO: GPS data processed {"connection_id":155203,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:18:15] local.INFO: Acknowledgment sent {"connection_id":155203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:18:19] local.INFO: TCP Data received {"connection_id":153824,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:18:19] local.INFO: Processing buffer {"connection_id":153824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:18:19] local.INFO: IMEI packet received {"connection_id":153824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":153824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:18:19] local.INFO: TCP Data received {"connection_id":155204,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18224d0012d7c2e0005dae2a8000000a71e..."} 
[2026-08-11 21:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18224d0012d7c2e0005dae2a8000000a71e..."} 
[2026-08-11 21:18:19] local.INFO: Processing buffer {"connection_id":155204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18224d0012d7c2e0005dae2a8000000a71e..."} 
[2026-08-11 21:18:19] local.INFO: Packet analysis {"connection_id":155204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff182"} 
[2026-08-11 21:18:19] local.INFO: Extracted packet for processing {"connection_id":155204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff182"} 
[2026-08-11 21:18:19] local.INFO: GPS Element Parsed {"raw_longitude":763112960,"raw_latitude":98230952,"longitude_deg":76.311296,"latitude_deg":9.8230952,"altitude":0,"angle":167,"satellites":30,"speed":32,"hex_longitude":"2d7c2e00","hex_latitude":"05dae2a8","is_valid_coordinates":true} 
[2026-08-11 21:18: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-08-11 21:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334592768001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117889830003671040,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945415522502477824,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786463266000,"timestamp_ms":1786463266000,"timestamp_seconds":1786463266,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18224d0"} 
[2026-08-11 21:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:18:19] 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-08-11 21:18: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-11 21:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21:18: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-08-11 21:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":155204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":155204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":155204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334592768001,"66":12004,"186":206,"85":15104,"24":32,"16":117889830003671040,"45":8945415522502477824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-08-11 21:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334592768001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:18:19] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-11 21:18:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117889830003671040,"km_value":117889830003671.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945415522502477824,"description":"Unknown IO ID 45"} 
[2026-08-11 21:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334592768001,"power":12004,"unknown_186":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8945415522502477824}} 
[2026-08-11 21:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":155204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:18:19] local.INFO: GPS data processed {"connection_id":155204,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:18:19] local.INFO: Acknowledgment sent {"connection_id":155204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:18:24] local.INFO: TCP Data received {"connection_id":153824,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:18:24] local.INFO: Processing buffer {"connection_id":153824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:18:24] local.INFO: IMEI packet received {"connection_id":153824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":153824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:18:24] local.INFO: TCP Data received {"connection_id":153824,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:18:25] local.INFO: Processing buffer {"connection_id":153824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:18:25] local.INFO: Packet analysis {"connection_id":153824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:18:25] local.INFO: Extracted packet for processing {"connection_id":153824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:18:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":22,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334480128001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623267412053563392,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786463166000,"timestamp_ms":1786463166000,"timestamp_seconds":1786463166,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1809e30"} 
[2026-08-11 21:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 21:18:25] 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-08-11 21: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-08-11 21:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334480128001,"66":26430,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623267412053563392},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334480128001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:18:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:18:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623267412053563392,"description":"Unknown IO ID 45"} 
[2026-08-11 21:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334480128001,"power":26430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623267412053563392}} 
[2026-08-11 21:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":153824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:18:25] local.INFO: GPS data processed {"connection_id":153824,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:18:25] local.INFO: Acknowledgment sent {"connection_id":153824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:18:38] local.INFO: TCP Data received {"connection_id":155205,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:18:38] local.INFO: Processing buffer {"connection_id":155205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:18:38] local.INFO: IMEI packet received {"connection_id":155205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":155205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:18:43] local.INFO: TCP Data received {"connection_id":155205,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:18:43] local.INFO: Processing buffer {"connection_id":155205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:18:43] local.INFO: IMEI packet received {"connection_id":155205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":155205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:18:44] local.INFO: TCP Data received {"connection_id":155205,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:18:44] local.INFO: Processing buffer {"connection_id":155205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:18:44] local.INFO: Packet analysis {"connection_id":155205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:18:44] local.INFO: Extracted packet for processing {"connection_id":155205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:18:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:18: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-08-11 21:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334510592001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786463233000,"timestamp_ms":1786463233000,"timestamp_seconds":1786463233,"priority":1,"record_length":96,"hex_timestamp":"0000019ff181a3e8"} 
[2026-08-11 21:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:18: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:18:44] 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-08-11 21:18: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-08-11 21:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334510592001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334510592001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:18:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:18:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334510592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":155205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:18:44] local.INFO: GPS data processed {"connection_id":155205,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:18:44] local.INFO: Acknowledgment sent {"connection_id":155205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:18:53] local.INFO: TCP Data received {"connection_id":155204,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1824be0012d7c398005dabe28000000a121..."} 
[2026-08-11 21:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1824be0012d7c398005dabe28000000a121..."} 
[2026-08-11 21:18:53] local.INFO: Processing buffer {"connection_id":155204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1824be0012d7c398005dabe28000000a121..."} 
[2026-08-11 21:18:53] local.INFO: Packet analysis {"connection_id":155204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff182"} 
[2026-08-11 21:18:53] local.INFO: Extracted packet for processing {"connection_id":155204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff182"} 
[2026-08-11 21:18:53] local.INFO: GPS Element Parsed {"raw_longitude":763115904,"raw_latitude":98221608,"longitude_deg":76.3115904,"latitude_deg":9.8221608,"altitude":0,"angle":161,"satellites":33,"speed":44,"hex_longitude":"2d7c3980","hex_latitude":"05dabe28","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334596096001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117890306745040896,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948089534778877952,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786463276000,"timestamp_ms":1786463276000,"timestamp_seconds":1786463276,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1824be0"} 
[2026-08-11 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-08-11 21:18:53] 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-08-11 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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 21:18:53] 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-08-11 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-08-11 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-08-11 21:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":155204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":155204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":155204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334596096001,"66":12189,"186":206,"85":15104,"24":44,"16":117890306745040896,"45":8948089534778877952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-08-11 21:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334596096001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:18:53] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-11 21:18:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117890306745040896,"km_value":117890306745040.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948089534778877952,"description":"Unknown IO ID 45"} 
[2026-08-11 21:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334596096001,"power":12189,"unknown_186":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8948089534778877952}} 
[2026-08-11 21:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":155204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:18:53] local.INFO: GPS data processed {"connection_id":155204,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:18:53] local.INFO: Acknowledgment sent {"connection_id":155204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:18:55] local.INFO: TCP Data received {"connection_id":153824,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:18:55] local.INFO: Processing buffer {"connection_id":153824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:18:55] local.INFO: Packet analysis {"connection_id":153824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:18:55] local.INFO: Extracted packet for processing {"connection_id":153824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:18:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":22,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334480128001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623267412053563392,"note":"Value kept but may cause issues"} 
[2026-08-11 21:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786463166000,"timestamp_ms":1786463166000,"timestamp_seconds":1786463166,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1809e30"} 
[2026-08-11 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-08-11 21:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 21:18:55] 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-08-11 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-08-11 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-08-11 21:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334480128001,"66":26430,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623267412053563392},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334480128001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:18:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:18:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623267412053563392,"description":"Unknown IO ID 45"} 
[2026-08-11 21:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334480128001,"power":26430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623267412053563392}} 
[2026-08-11 21:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":153824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:18:55] local.INFO: GPS data processed {"connection_id":153824,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:18:55] local.INFO: Acknowledgment sent {"connection_id":153824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:19:08] local.INFO: TCP Data received {"connection_id":152488,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:19:08] local.INFO: Processing buffer {"connection_id":152488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:19:08] local.INFO: IMEI packet received {"connection_id":152488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":152488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:19:11] local.INFO: TCP Data received {"connection_id":152488,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:19:11] local.INFO: Processing buffer {"connection_id":152488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:19:11] local.INFO: IMEI packet received {"connection_id":152488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":152488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:19:13] local.INFO: TCP Data received {"connection_id":152488,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:19:13] local.INFO: Processing buffer {"connection_id":152488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:19:13] local.INFO: IMEI packet received {"connection_id":152488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":152488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:19:14] local.INFO: TCP Data received {"connection_id":152488,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1826b20012d7c458005da9c90000000a020..."} 
[2026-08-11 21:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1826b20012d7c458005da9c90000000a020..."} 
[2026-08-11 21:19:14] local.INFO: Processing buffer {"connection_id":152488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1826b20012d7c458005da9c90000000a020..."} 
[2026-08-11 21:19:14] local.INFO: Packet analysis {"connection_id":152488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff182"} 
[2026-08-11 21:19:14] local.INFO: Extracted packet for processing {"connection_id":152488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff182"} 
[2026-08-11 21:19:14] local.INFO: GPS Element Parsed {"raw_longitude":763118976,"raw_latitude":98213008,"longitude_deg":76.3118976,"latitude_deg":9.8213008,"altitude":0,"angle":160,"satellites":32,"speed":44,"hex_longitude":"2d7c4580","hex_latitude":"05da9c90","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334598656001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117890749126672384,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951326497008658432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:14] 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-08-11 21:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786463284000,"timestamp_ms":1786463284000,"timestamp_seconds":1786463284,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1826b20"} 
[2026-08-11 21:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:19:14] 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-08-11 21: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-11 21:19:14] 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-08-11 21: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-08-11 21:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334598656001,"66":12287,"187":206,"85":15104,"24":44,"16":117890749126672384,"45":8951326497008658432},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-11 21:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334598656001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:19:14] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-11 21:19:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117890749126672384,"km_value":117890749126672.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951326497008658432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334598656001,"power":12287,"unknown_187":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8951326497008658432}} 
[2026-08-11 21:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":152488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:19:14] local.INFO: GPS data processed {"connection_id":152488,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:19:14] local.INFO: Acknowledgment sent {"connection_id":152488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:19:15] local.INFO: TCP Data received {"connection_id":155205,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:19:15] local.INFO: Processing buffer {"connection_id":155205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:19:15] local.INFO: Packet analysis {"connection_id":155205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:19:15] local.INFO: Extracted packet for processing {"connection_id":155205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:19: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-08-11 21:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334510592001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786463233000,"timestamp_ms":1786463233000,"timestamp_seconds":1786463233,"priority":1,"record_length":96,"hex_timestamp":"0000019ff181a3e8"} 
[2026-08-11 21:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:19: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:19:15] 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-08-11 21:19: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-08-11 21:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334510592001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334510592001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:19:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334510592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":155205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:19:15] local.INFO: GPS data processed {"connection_id":155205,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:19:15] local.INFO: Acknowledgment sent {"connection_id":155205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:19:18] local.INFO: TCP Data received {"connection_id":152489,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:19:18] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:19:18] local.INFO: IMEI packet received {"connection_id":152489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":152489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:19:18] local.INFO: TCP Data received {"connection_id":152488,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1829230012d7c510005da7b30000000a322..."} 
[2026-08-11 21:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1829230012d7c510005da7b30000000a322..."} 
[2026-08-11 21:19:18] local.INFO: Processing buffer {"connection_id":152488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1829230012d7c510005da7b30000000a322..."} 
[2026-08-11 21:19:18] local.INFO: Packet analysis {"connection_id":152488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff182"} 
[2026-08-11 21:19:18] local.INFO: Extracted packet for processing {"connection_id":152488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff182"} 
[2026-08-11 21:19:18] local.INFO: GPS Element Parsed {"raw_longitude":763121920,"raw_latitude":98204464,"longitude_deg":76.312192,"latitude_deg":9.8204464,"altitude":0,"angle":163,"satellites":34,"speed":33,"hex_longitude":"2d7c5100","hex_latitude":"05da7b30","is_valid_coordinates":true} 
[2026-08-11 21:19: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-08-11 21:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334600704001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117891187213336576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954704196726984704,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:18] 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-08-11 21:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786463294000,"timestamp_ms":1786463294000,"timestamp_seconds":1786463294,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1829230"} 
[2026-08-11 21:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:19:18] 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-08-11 21:19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 21:19:18] 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-08-11 21:19: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-08-11 21:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334600704001,"66":12211,"187":206,"85":15104,"24":33,"16":117891187213336576,"45":8954704196726984704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-11 21:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334600704001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:19:18] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-11 21:19:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117891187213336576,"km_value":117891187213336.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954704196726984704,"description":"Unknown IO ID 45"} 
[2026-08-11 21:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334600704001,"power":12211,"unknown_187":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8954704196726984704}} 
[2026-08-11 21:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":152488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:19:19] local.INFO: GPS data processed {"connection_id":152488,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:19:19] local.INFO: Acknowledgment sent {"connection_id":152488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:19:24] local.INFO: TCP Data received {"connection_id":152489,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:19:24] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:19:24] local.INFO: IMEI packet received {"connection_id":152489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":152489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:19:25] local.INFO: TCP Data received {"connection_id":152489,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:19:25] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:19:25] local.INFO: Packet analysis {"connection_id":152489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:19:25] local.INFO: Extracted packet for processing {"connection_id":152489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:19:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":22,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334480128001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623267412053563392,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786463166000,"timestamp_ms":1786463166000,"timestamp_seconds":1786463166,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1809e30"} 
[2026-08-11 21:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 21:19:25] 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-08-11 21: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-08-11 21:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334480128001,"66":26430,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623267412053563392},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334480128001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:19:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:19:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623267412053563392,"description":"Unknown IO ID 45"} 
[2026-08-11 21:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334480128001,"power":26430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623267412053563392}} 
[2026-08-11 21:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":152489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:19:25] local.INFO: GPS data processed {"connection_id":152489,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:19:25] local.INFO: Acknowledgment sent {"connection_id":152489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:19:38] local.INFO: TCP Data received {"connection_id":152909,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:19:38] local.INFO: Processing buffer {"connection_id":152909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:19:38] local.INFO: IMEI packet received {"connection_id":152909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":152909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:19:43] local.INFO: TCP Data received {"connection_id":152909,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:19:43] local.INFO: Processing buffer {"connection_id":152909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:19:43] local.INFO: IMEI packet received {"connection_id":152909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":152909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:19:44] local.INFO: TCP Data received {"connection_id":152909,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:19:44] local.INFO: Processing buffer {"connection_id":152909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:19:44] local.INFO: Packet analysis {"connection_id":152909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:19:44] local.INFO: Extracted packet for processing {"connection_id":152909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:19:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334510592001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786463233000,"timestamp_ms":1786463233000,"timestamp_seconds":1786463233,"priority":1,"record_length":96,"hex_timestamp":"0000019ff181a3e8"} 
[2026-08-11 21:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:19:44] 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-08-11 21: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-08-11 21:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334510592001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334510592001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:19:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:19:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334510592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":152909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:19:44] local.INFO: GPS data processed {"connection_id":152909,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:19:44] local.INFO: Acknowledgment sent {"connection_id":152909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:19:49] local.INFO: TCP Data received {"connection_id":152488,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff182b940012d7c5c8005da5910000000a220..."} 
[2026-08-11 21:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff182b940012d7c5c8005da5910000000a220..."} 
[2026-08-11 21:19:49] local.INFO: Processing buffer {"connection_id":152488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff182b940012d7c5c8005da5910000000a220..."} 
[2026-08-11 21:19:49] local.INFO: Packet analysis {"connection_id":152488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff182"} 
[2026-08-11 21:19:49] local.INFO: Extracted packet for processing {"connection_id":152488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff182"} 
[2026-08-11 21:19:49] local.INFO: GPS Element Parsed {"raw_longitude":763124864,"raw_latitude":98195728,"longitude_deg":76.3124864,"latitude_deg":9.8195728,"altitude":0,"angle":162,"satellites":32,"speed":38,"hex_longitude":"2d7c5c80","hex_latitude":"05da5910","is_valid_coordinates":true} 
[2026-08-11 21:19: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-08-11 21:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334603264001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117891633889935360,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957941158956969984,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:49] 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-08-11 21:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786463304000,"timestamp_ms":1786463304000,"timestamp_seconds":1786463304,"priority":1,"record_length":96,"hex_timestamp":"0000019ff182b940"} 
[2026-08-11 21:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:19:49] 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-08-11 21:19: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-11 21:19:49] 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-08-11 21:19: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-08-11 21:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334603264001,"66":12211,"187":206,"85":15104,"24":38,"16":117891633889935360,"45":8957941158956969984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-11 21:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334603264001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:19:49] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-11 21:19:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117891633889935360,"km_value":117891633889935.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957941158956969984,"description":"Unknown IO ID 45"} 
[2026-08-11 21:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334603264001,"power":12211,"unknown_187":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8957941158956969984}} 
[2026-08-11 21:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":152488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:19:49] local.INFO: GPS data processed {"connection_id":152488,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:19:49] local.INFO: Acknowledgment sent {"connection_id":152488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:19:56] local.INFO: TCP Data received {"connection_id":152489,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:19:56] local.INFO: Processing buffer {"connection_id":152489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:19:56] local.INFO: Packet analysis {"connection_id":152489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:19:56] local.INFO: Extracted packet for processing {"connection_id":152489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:19:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":22,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21:19: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-08-11 21:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334480128001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623267412053563392,"note":"Value kept but may cause issues"} 
[2026-08-11 21:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786463166000,"timestamp_ms":1786463166000,"timestamp_seconds":1786463166,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1809e30"} 
[2026-08-11 21:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:19: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 21:19:56] 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-08-11 21:19: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-08-11 21:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334480128001,"66":26430,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623267412053563392},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334480128001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:19:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:19:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623267412053563392,"description":"Unknown IO ID 45"} 
[2026-08-11 21:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334480128001,"power":26430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623267412053563392}} 
[2026-08-11 21:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":152489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:19:56] local.INFO: GPS data processed {"connection_id":152489,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:19:56] local.INFO: Acknowledgment sent {"connection_id":152489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:20:08] local.INFO: TCP Data received {"connection_id":152910,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:20:08] local.INFO: Processing buffer {"connection_id":152910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:20:08] local.INFO: IMEI packet received {"connection_id":152910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":152910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:20:10] local.INFO: TCP Data received {"connection_id":152910,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:20:10] local.INFO: Processing buffer {"connection_id":152910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:20:10] local.INFO: IMEI packet received {"connection_id":152910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":152910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:20:13] local.INFO: TCP Data received {"connection_id":152910,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:20:13] local.INFO: Processing buffer {"connection_id":152910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:20:13] local.INFO: IMEI packet received {"connection_id":152910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":152910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:20:15] local.INFO: TCP Data received {"connection_id":152909,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:20:15] local.INFO: Processing buffer {"connection_id":152909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:20:15] local.INFO: Packet analysis {"connection_id":152909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:20:15] local.INFO: Extracted packet for processing {"connection_id":152909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:20: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-08-11 21:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334510592001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786463233000,"timestamp_ms":1786463233000,"timestamp_seconds":1786463233,"priority":1,"record_length":96,"hex_timestamp":"0000019ff181a3e8"} 
[2026-08-11 21:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:20: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:20:15] 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-08-11 21:20: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-08-11 21:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334510592001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334510592001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:20:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334510592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":152909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:20:15] local.INFO: GPS data processed {"connection_id":152909,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:20:15] local.INFO: Acknowledgment sent {"connection_id":152909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:20:18] local.INFO: TCP Data received {"connection_id":155206,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:20:18] local.INFO: Processing buffer {"connection_id":155206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:20:18] local.INFO: IMEI packet received {"connection_id":155206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":155206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:20:18] local.INFO: TCP Data received {"connection_id":152910,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18414e8012d7c968005d8ccc0000100b021..."} 
[2026-08-11 21:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18414e8012d7c968005d8ccc0000100b021..."} 
[2026-08-11 21:20:18] local.INFO: Processing buffer {"connection_id":152910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18414e8012d7c968005d8ccc0000100b021..."} 
[2026-08-11 21:20:18] local.INFO: Packet analysis {"connection_id":152910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff184"} 
[2026-08-11 21:20:18] local.INFO: Extracted packet for processing {"connection_id":152910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff184"} 
[2026-08-11 21:20:18] local.INFO: GPS Element Parsed {"raw_longitude":763139712,"raw_latitude":98094272,"longitude_deg":76.3139712,"latitude_deg":9.8094272,"altitude":1,"angle":176,"satellites":33,"speed":54,"hex_longitude":"2d7c9680","hex_latitude":"05d8ccc0","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334626816001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117896620346966016,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976588876138246144,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:18] 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-08-11 21:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786463393000,"timestamp_ms":1786463393000,"timestamp_seconds":1786463393,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18414e8"} 
[2026-08-11 21:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:20:18] 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-08-11 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 21:20:18] 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-08-11 21: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-08-11 21:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334626816001,"66":12156,"244":206,"85":15104,"24":54,"16":117896620346966016,"45":8976588876138246144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-11 21:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334626816001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:20:18] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-11 21:20:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117896620346966016,"km_value":117896620346966.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976588876138246144,"description":"Unknown IO ID 45"} 
[2026-08-11 21:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334626816001,"power":12156,"unknown_244":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8976588876138246144}} 
[2026-08-11 21:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":152910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:20:18] local.INFO: GPS data processed {"connection_id":152910,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:20:18] local.INFO: Acknowledgment sent {"connection_id":152910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:20:24] local.INFO: TCP Data received {"connection_id":155206,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:20:24] local.INFO: Processing buffer {"connection_id":155206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:20:24] local.INFO: IMEI packet received {"connection_id":155206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":155206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:20:24] local.INFO: TCP Data received {"connection_id":155206,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:20:24] local.INFO: Processing buffer {"connection_id":155206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:20:24] local.INFO: Packet analysis {"connection_id":155206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:20:24] local.INFO: Extracted packet for processing {"connection_id":155206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:20:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":22,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334480128001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623267412053563392,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786463166000,"timestamp_ms":1786463166000,"timestamp_seconds":1786463166,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1809e30"} 
[2026-08-11 21:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 21:20:24] 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-08-11 21: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-08-11 21:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334480128001,"66":26430,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623267412053563392},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334480128001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:20:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:20:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623267412053563392,"description":"Unknown IO ID 45"} 
[2026-08-11 21:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334480128001,"power":26430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623267412053563392}} 
[2026-08-11 21:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":155206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:20:25] local.INFO: GPS data processed {"connection_id":155206,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:20:25] local.INFO: Acknowledgment sent {"connection_id":155206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:20:38] local.INFO: TCP Data received {"connection_id":152490,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:20:38] local.INFO: Processing buffer {"connection_id":152490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:20:38] local.INFO: IMEI packet received {"connection_id":152490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":152490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:20:43] local.INFO: TCP Data received {"connection_id":152490,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:20:43] local.INFO: Processing buffer {"connection_id":152490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:20:43] local.INFO: IMEI packet received {"connection_id":152490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":152490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:20:44] local.INFO: TCP Data received {"connection_id":152490,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:20:44] local.INFO: Processing buffer {"connection_id":152490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:20:44] local.INFO: Packet analysis {"connection_id":152490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:20:44] local.INFO: Extracted packet for processing {"connection_id":152490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:20:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334510592001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786463233000,"timestamp_ms":1786463233000,"timestamp_seconds":1786463233,"priority":1,"record_length":96,"hex_timestamp":"0000019ff181a3e8"} 
[2026-08-11 21:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:20:44] 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-08-11 21: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-08-11 21:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334510592001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334510592001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:20:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:20:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334510592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":152490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:20:44] local.INFO: GPS data processed {"connection_id":152490,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:20:44] local.INFO: Acknowledgment sent {"connection_id":152490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:20:50] local.INFO: TCP Data received {"connection_id":152910,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1843040012d7c998005d8a8e0000000b021..."} 
[2026-08-11 21:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1843040012d7c998005d8a8e0000000b021..."} 
[2026-08-11 21:20:50] local.INFO: Processing buffer {"connection_id":152910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1843040012d7c998005d8a8e0000000b021..."} 
[2026-08-11 21:20:50] local.INFO: Packet analysis {"connection_id":152910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff184"} 
[2026-08-11 21:20:50] local.INFO: Extracted packet for processing {"connection_id":152910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff184"} 
[2026-08-11 21:20:50] local.INFO: GPS Element Parsed {"raw_longitude":763140480,"raw_latitude":98085088,"longitude_deg":76.314048,"latitude_deg":9.8085088,"altitude":0,"angle":176,"satellites":33,"speed":52,"hex_longitude":"2d7c9980","hex_latitude":"05d8a8e0","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334628608001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117897067023564800,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977503669810151424,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:50] 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-08-11 21:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786463400000,"timestamp_ms":1786463400000,"timestamp_seconds":1786463400,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1843040"} 
[2026-08-11 21:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:20:50] 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-08-11 21: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-11 21:20:50] 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-08-11 21: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-08-11 21:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334628608001,"66":12385,"197":206,"85":15104,"24":52,"16":117897067023564800,"45":8977503669810151424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-11 21:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334628608001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:20:50] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 21:20:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117897067023564800,"km_value":117897067023564.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977503669810151424,"description":"Unknown IO ID 45"} 
[2026-08-11 21:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334628608001,"power":12385,"unknown_197":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8977503669810151424}} 
[2026-08-11 21:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":152910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:20:50] local.INFO: GPS data processed {"connection_id":152910,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:20:50] local.INFO: Acknowledgment sent {"connection_id":152910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:20:55] local.INFO: TCP Data received {"connection_id":155206,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:20:55] local.INFO: Processing buffer {"connection_id":155206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:20:55] local.INFO: Packet analysis {"connection_id":155206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:20:55] local.INFO: Extracted packet for processing {"connection_id":155206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:20:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":22,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334480128001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623267412053563392,"note":"Value kept but may cause issues"} 
[2026-08-11 21:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786463166000,"timestamp_ms":1786463166000,"timestamp_seconds":1786463166,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1809e30"} 
[2026-08-11 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-08-11 21:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 21:20:55] 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-08-11 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-08-11 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-08-11 21:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334480128001,"66":26430,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623267412053563392},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334480128001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:20:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:20:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623267412053563392,"description":"Unknown IO ID 45"} 
[2026-08-11 21:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334480128001,"power":26430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623267412053563392}} 
[2026-08-11 21:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":155206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:20:55] local.INFO: GPS data processed {"connection_id":155206,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:20:55] local.INFO: Acknowledgment sent {"connection_id":155206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:21:08] local.INFO: TCP Data received {"connection_id":155207,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:21:08] local.INFO: Processing buffer {"connection_id":155207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:21:08] local.INFO: IMEI packet received {"connection_id":155207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":155207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:21:09] local.INFO: TCP Data received {"connection_id":155207,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:21:09] local.INFO: Processing buffer {"connection_id":155207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:21:09] local.INFO: IMEI packet received {"connection_id":155207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":155207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:21:13] local.INFO: TCP Data received {"connection_id":155207,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:21:13] local.INFO: Processing buffer {"connection_id":155207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:21:13] local.INFO: IMEI packet received {"connection_id":155207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":155207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:21:13] local.INFO: TCP Data received {"connection_id":155207,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1844b98012d7c9c4005d88498000000b321..."} 
[2026-08-11 21:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1844b98012d7c9c4005d88498000000b321..."} 
[2026-08-11 21:21:13] local.INFO: Processing buffer {"connection_id":155207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1844b98012d7c9c4005d88498000000b321..."} 
[2026-08-11 21:21:13] local.INFO: Packet analysis {"connection_id":155207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff184"} 
[2026-08-11 21:21:13] local.INFO: Extracted packet for processing {"connection_id":155207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff184"} 
[2026-08-11 21:21:13] local.INFO: GPS Element Parsed {"raw_longitude":763141184,"raw_latitude":98075800,"longitude_deg":76.3141184,"latitude_deg":9.80758,"altitude":0,"angle":179,"satellites":33,"speed":52,"hex_longitude":"2d7c9c40","hex_latitude":"05d88498","is_valid_coordinates":true} 
[2026-08-11 21:21: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-08-11 21:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334630400001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117897517995130880,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978348094737932288,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:13] 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-08-11 21:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786463407000,"timestamp_ms":1786463407000,"timestamp_seconds":1786463407,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1844b98"} 
[2026-08-11 21:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:21:13] 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-08-11 21:21: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-11 21:21:13] 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-08-11 21:21: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-08-11 21:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":155207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":155207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":155207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334630400001,"66":12135,"197":206,"85":15104,"24":52,"16":117897517995130880,"45":8978348094737932288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-11 21:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334630400001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:21:13] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 21:21:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117897517995130880,"km_value":117897517995130.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978348094737932288,"description":"Unknown IO ID 45"} 
[2026-08-11 21:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334630400001,"power":12135,"unknown_197":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8978348094737932288}} 
[2026-08-11 21:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":155207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:21:14] local.INFO: GPS data processed {"connection_id":155207,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:21:14] local.INFO: Acknowledgment sent {"connection_id":155207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:21:15] local.INFO: TCP Data received {"connection_id":152490,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:21:15] local.INFO: Processing buffer {"connection_id":152490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:21:15] local.INFO: Packet analysis {"connection_id":152490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:21:15] local.INFO: Extracted packet for processing {"connection_id":152490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334510592001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786463233000,"timestamp_ms":1786463233000,"timestamp_seconds":1786463233,"priority":1,"record_length":96,"hex_timestamp":"0000019ff181a3e8"} 
[2026-08-11 21:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:21:15] 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-08-11 21: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-08-11 21:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334510592001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334510592001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:21:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:21:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334510592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":152490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:21:15] local.INFO: GPS data processed {"connection_id":152490,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:21:15] local.INFO: Acknowledgment sent {"connection_id":152490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:21:24] local.INFO: TCP Data received {"connection_id":152911,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:21:24] local.INFO: Processing buffer {"connection_id":152911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:21:24] local.INFO: IMEI packet received {"connection_id":152911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":152911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:21:29] local.INFO: TCP Data received {"connection_id":152911,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:21:29] local.INFO: Processing buffer {"connection_id":152911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:21:29] local.INFO: IMEI packet received {"connection_id":152911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":152911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:21:30] local.INFO: TCP Data received {"connection_id":152911,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:21:30] local.INFO: Processing buffer {"connection_id":152911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:21:30] local.INFO: Packet analysis {"connection_id":152911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:21:30] local.INFO: Extracted packet for processing {"connection_id":152911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:21:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":22,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334480128001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623267412053563392,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786463166000,"timestamp_ms":1786463166000,"timestamp_seconds":1786463166,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1809e30"} 
[2026-08-11 21:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 21:21:30] 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-08-11 21: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-08-11 21:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334480128001,"66":26430,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623267412053563392},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334480128001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:21:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:21:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623267412053563392,"description":"Unknown IO ID 45"} 
[2026-08-11 21:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334480128001,"power":26430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623267412053563392}} 
[2026-08-11 21:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":152911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:21:30] local.INFO: GPS data processed {"connection_id":152911,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:21:30] local.INFO: Acknowledgment sent {"connection_id":152911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:21:35] local.INFO: TCP Data received {"connection_id":152911,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:21:35] local.INFO: Processing buffer {"connection_id":152911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1809e30012d77ab8005f2a748001600fd28..."} 
[2026-08-11 21:21:35] local.INFO: Packet analysis {"connection_id":152911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:21:35] local.INFO: Extracted packet for processing {"connection_id":152911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff180"} 
[2026-08-11 21:21:35] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":22,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334480128001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623267412053563392,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786463166000,"timestamp_ms":1786463166000,"timestamp_seconds":1786463166,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1809e30"} 
[2026-08-11 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-08-11 21:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 21:21:35] 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-08-11 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-08-11 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-08-11 21:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334480128001,"66":26430,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623267412053563392},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334480128001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:21:35] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:21:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623267412053563392,"description":"Unknown IO ID 45"} 
[2026-08-11 21:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334480128001,"power":26430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623267412053563392}} 
[2026-08-11 21:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":152911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:21:35] local.INFO: GPS data processed {"connection_id":152911,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:21:35] local.INFO: Acknowledgment sent {"connection_id":152911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:21:38] local.INFO: TCP Data received {"connection_id":155208,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:21:38] local.INFO: Processing buffer {"connection_id":155208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:21:38] local.INFO: IMEI packet received {"connection_id":155208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":155208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:21:43] local.INFO: TCP Data received {"connection_id":155208,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:21:43] local.INFO: Processing buffer {"connection_id":155208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:21:43] local.INFO: IMEI packet received {"connection_id":155208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":155208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:21:44] local.INFO: TCP Data received {"connection_id":155208,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:21:44] local.INFO: Processing buffer {"connection_id":155208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:21:44] local.INFO: Packet analysis {"connection_id":155208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:21:44] local.INFO: Extracted packet for processing {"connection_id":155208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:21:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334510592001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786463233000,"timestamp_ms":1786463233000,"timestamp_seconds":1786463233,"priority":1,"record_length":96,"hex_timestamp":"0000019ff181a3e8"} 
[2026-08-11 21:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:21:44] 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-08-11 21: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-08-11 21:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334510592001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334510592001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:21:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:21:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334510592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":155208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:21:44] local.INFO: GPS data processed {"connection_id":155208,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:21:44] local.INFO: Acknowledgment sent {"connection_id":155208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:21:45] local.INFO: TCP Data received {"connection_id":155207,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18466f0012d7c9dc005d860b8000000b124..."} 
[2026-08-11 21:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18466f0012d7c9dc005d860b8000000b124..."} 
[2026-08-11 21:21:45] local.INFO: Processing buffer {"connection_id":155207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18466f0012d7c9dc005d860b8000000b124..."} 
[2026-08-11 21:21:45] local.INFO: Packet analysis {"connection_id":155207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff184"} 
[2026-08-11 21:21:45] local.INFO: Extracted packet for processing {"connection_id":155207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff184"} 
[2026-08-11 21:21:45] local.INFO: GPS Element Parsed {"raw_longitude":763141568,"raw_latitude":98066616,"longitude_deg":76.3141568,"latitude_deg":9.8066616,"altitude":0,"angle":177,"satellites":36,"speed":51,"hex_longitude":"2d7c9dc0","hex_latitude":"05d860b8","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334632192001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117897964671729664,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979122150921508864,"note":"Value kept but may cause issues"} 
[2026-08-11 21:21:45] 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-08-11 21:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786463414000,"timestamp_ms":1786463414000,"timestamp_seconds":1786463414,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18466f0"} 
[2026-08-11 21:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:21:45] 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-08-11 21: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 21:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334632192001,"66":12135,"197":206,"85":15104,"24":51,"16":117897964671729664,"45":8979122150921508864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-11 21:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334632192001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:21:45] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 21:21:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117897964671729664,"km_value":117897964671729.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979122150921508864,"description":"Unknown IO ID 45"} 
[2026-08-11 21:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334632192001,"power":12135,"unknown_197":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8979122150921508864}} 
[2026-08-11 21:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":155207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:21:45] local.INFO: GPS data processed {"connection_id":155207,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:21:45] local.INFO: Acknowledgment sent {"connection_id":155207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:22:08] local.INFO: TCP Data received {"connection_id":152491,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:22:08] local.INFO: Processing buffer {"connection_id":152491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:22:08] local.INFO: IMEI packet received {"connection_id":152491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":152491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:22:09] local.INFO: TCP Data received {"connection_id":152491,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:22:09] local.INFO: Processing buffer {"connection_id":152491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:22:09] local.INFO: IMEI packet received {"connection_id":152491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":152491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:22:13] local.INFO: TCP Data received {"connection_id":152491,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:22:13] local.INFO: Processing buffer {"connection_id":152491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:22:13] local.INFO: IMEI packet received {"connection_id":152491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":152491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:22:14] local.INFO: TCP Data received {"connection_id":152491,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1848630012d7c9f0005d83c20000000b121..."} 
[2026-08-11 21:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1848630012d7c9f0005d83c20000000b121..."} 
[2026-08-11 21:22:14] local.INFO: Processing buffer {"connection_id":152491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1848630012d7c9f0005d83c20000000b121..."} 
[2026-08-11 21:22:14] local.INFO: Packet analysis {"connection_id":152491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff184"} 
[2026-08-11 21:22:14] local.INFO: Extracted packet for processing {"connection_id":152491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff184"} 
[2026-08-11 21:22:14] local.INFO: GPS Element Parsed {"raw_longitude":763141888,"raw_latitude":98057248,"longitude_deg":76.3141888,"latitude_deg":9.8057248,"altitude":0,"angle":177,"satellites":33,"speed":45,"hex_longitude":"2d7c9f00","hex_latitude":"05d83c20","is_valid_coordinates":true} 
[2026-08-11 21:22: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-08-11 21:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334633984001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117898419938263040,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979544363384223744,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:14] 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-08-11 21:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786463422000,"timestamp_ms":1786463422000,"timestamp_seconds":1786463422,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1848630"} 
[2026-08-11 21:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:22:14] 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-08-11 21:22: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 21:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21:22: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-08-11 21:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334633984001,"66":12102,"197":206,"85":15104,"24":45,"16":117898419938263040,"45":8979544363384223744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-11 21:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334633984001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:22:14] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-11 21:22:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117898419938263040,"km_value":117898419938263.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979544363384223744,"description":"Unknown IO ID 45"} 
[2026-08-11 21:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334633984001,"power":12102,"unknown_197":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8979544363384223744}} 
[2026-08-11 21:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":152491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:22:14] local.INFO: GPS data processed {"connection_id":152491,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:22:14] local.INFO: Acknowledgment sent {"connection_id":152491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:22:15] local.INFO: TCP Data received {"connection_id":155208,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:22:15] local.INFO: Processing buffer {"connection_id":155208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:22:15] local.INFO: Packet analysis {"connection_id":155208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:22:15] local.INFO: Extracted packet for processing {"connection_id":155208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334510592001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786463233000,"timestamp_ms":1786463233000,"timestamp_seconds":1786463233,"priority":1,"record_length":96,"hex_timestamp":"0000019ff181a3e8"} 
[2026-08-11 21:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:22:15] 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-08-11 21: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-08-11 21:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334510592001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334510592001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:22:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334510592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":155208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:22:15] local.INFO: GPS data processed {"connection_id":155208,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:22:15] local.INFO: Acknowledgment sent {"connection_id":155208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:22:18] local.INFO: TCP Data received {"connection_id":153825,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:22:18] local.INFO: Processing buffer {"connection_id":153825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:22:18] local.INFO: IMEI packet received {"connection_id":153825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":153825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:22:24] local.INFO: TCP Data received {"connection_id":153825,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:22:24] local.INFO: Processing buffer {"connection_id":153825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:22:24] local.INFO: IMEI packet received {"connection_id":153825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":153825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:22:25] local.INFO: TCP Data received {"connection_id":153825,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:22:25] local.INFO: Processing buffer {"connection_id":153825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:22:25] local.INFO: Packet analysis {"connection_id":153825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:22:25] local.INFO: Extracted packet for processing {"connection_id":153825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:22:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":23,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334570496001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786463467000,"timestamp_ms":1786463467000,"timestamp_seconds":1786463467,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18535f8"} 
[2026-08-11 21:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 21:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334570496001,"66":26115,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334570496001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:22:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:22:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334570496001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":153825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:22:25] local.INFO: GPS data processed {"connection_id":153825,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:22:25] local.INFO: Acknowledgment sent {"connection_id":153825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:22:38] local.INFO: TCP Data received {"connection_id":153826,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:22:38] local.INFO: Processing buffer {"connection_id":153826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:22:38] local.INFO: IMEI packet received {"connection_id":153826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":153826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:22:43] local.INFO: TCP Data received {"connection_id":153826,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:22:43] local.INFO: Processing buffer {"connection_id":153826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:22:43] local.INFO: IMEI packet received {"connection_id":153826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":153826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:22:44] local.INFO: TCP Data received {"connection_id":153826,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:22:44] local.INFO: Processing buffer {"connection_id":153826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff181a3e8012d196a00071fef68003b01182b..."} 
[2026-08-11 21:22:44] local.INFO: Packet analysis {"connection_id":153826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:22:44] local.INFO: Extracted packet for processing {"connection_id":153826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff181"} 
[2026-08-11 21:22:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:22: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-08-11 21:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334510592001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786463233000,"timestamp_ms":1786463233000,"timestamp_seconds":1786463233,"priority":1,"record_length":96,"hex_timestamp":"0000019ff181a3e8"} 
[2026-08-11 21:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:22: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:22:44] 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-08-11 21:22: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-08-11 21:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334510592001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334510592001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:22:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:22:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334510592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":153826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:22:44] local.INFO: GPS data processed {"connection_id":153826,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:22:44] local.INFO: Acknowledgment sent {"connection_id":153826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:22:45] local.INFO: TCP Data received {"connection_id":152491,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1864b50012d7ced8005d69728000400ae1e..."} 
[2026-08-11 21:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1864b50012d7ced8005d69728000400ae1e..."} 
[2026-08-11 21:22:45] local.INFO: Processing buffer {"connection_id":152491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1864b50012d7ced8005d69728000400ae1e..."} 
[2026-08-11 21:22:45] local.INFO: Packet analysis {"connection_id":152491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:22:45] local.INFO: Extracted packet for processing {"connection_id":152491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:22:45] local.INFO: GPS Element Parsed {"raw_longitude":763161984,"raw_latitude":97949480,"longitude_deg":76.3161984,"latitude_deg":9.794948,"altitude":4,"angle":174,"satellites":30,"speed":26,"hex_longitude":"2d7ced80","hex_latitude":"05d69728","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334662912001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117903762877579264,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000584617865660416,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:45] 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-08-11 21:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786463538000,"timestamp_ms":1786463538000,"timestamp_seconds":1786463538,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1864b50"} 
[2026-08-11 21:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:22:45] 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-08-11 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 21:22:45] 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-08-11 21: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-08-11 21:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334662912001,"66":11917,"30":206,"85":15104,"24":26,"16":117903762877579264,"45":9000584617865660416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-11 21:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334662912001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:22:45] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-11 21:22:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117903762877579264,"km_value":117903762877579.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000584617865660416,"description":"Unknown IO ID 45"} 
[2026-08-11 21:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334662912001,"power":11917,"unknown_30":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9000584617865660416}} 
[2026-08-11 21:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":152491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:22:45] local.INFO: GPS data processed {"connection_id":152491,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:22:45] local.INFO: Acknowledgment sent {"connection_id":152491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:22:55] local.INFO: TCP Data received {"connection_id":153825,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:22:55] local.INFO: Processing buffer {"connection_id":153825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:22:55] local.INFO: Packet analysis {"connection_id":153825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:22:55] local.INFO: Extracted packet for processing {"connection_id":153825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:22:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":23,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334570496001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786463467000,"timestamp_ms":1786463467000,"timestamp_seconds":1786463467,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18535f8"} 
[2026-08-11 21:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 21:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334570496001,"66":26115,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334570496001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:22:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:22:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334570496001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":153825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:22:55] local.INFO: GPS data processed {"connection_id":153825,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:22:55] local.INFO: Acknowledgment sent {"connection_id":153825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:23:13] local.INFO: TCP Data received {"connection_id":152492,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:23:13] local.INFO: Processing buffer {"connection_id":152492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:23:13] local.INFO: IMEI packet received {"connection_id":152492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":152492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:23:14] local.INFO: TCP Data received {"connection_id":153826,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:23:14] local.INFO: Processing buffer {"connection_id":153826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:23:14] local.INFO: Packet analysis {"connection_id":153826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:23:14] local.INFO: Extracted packet for processing {"connection_id":153826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:23:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334587648001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786463534000,"timestamp_ms":1786463534000,"timestamp_seconds":1786463534,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1863bb0"} 
[2026-08-11 21:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:23:14] 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-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:23:14] 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-08-11 21: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-08-11 21:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334587648001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334587648001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:23:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:23:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334587648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":153826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:23:15] local.INFO: GPS data processed {"connection_id":153826,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:23:15] local.INFO: Acknowledgment sent {"connection_id":153826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:23:15] local.INFO: TCP Data received {"connection_id":152492,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:23:15] local.INFO: Processing buffer {"connection_id":152492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:23:15] local.INFO: IMEI packet received {"connection_id":152492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":152492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:23:18] local.INFO: TCP Data received {"connection_id":152912,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:23:18] local.INFO: Processing buffer {"connection_id":152912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:23:18] local.INFO: IMEI packet received {"connection_id":152912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":152912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:23:22] local.INFO: TCP Data received {"connection_id":152492,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1867648012d7cf1c005d67228000400ac22..."} 
[2026-08-11 21:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1867648012d7cf1c005d67228000400ac22..."} 
[2026-08-11 21:23:22] local.INFO: Processing buffer {"connection_id":152492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1867648012d7cf1c005d67228000400ac22..."} 
[2026-08-11 21:23:22] local.INFO: Packet analysis {"connection_id":152492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:23:22] local.INFO: Extracted packet for processing {"connection_id":152492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:23:22] local.INFO: GPS Element Parsed {"raw_longitude":763163072,"raw_latitude":97940008,"longitude_deg":76.3163072,"latitude_deg":9.7940008,"altitude":4,"angle":172,"satellites":34,"speed":38,"hex_longitude":"2d7cf1c0","hex_latitude":"05d67228","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334665728001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117904226734047232,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001991992746911744,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:22] 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-08-11 21:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786463549000,"timestamp_ms":1786463549000,"timestamp_seconds":1786463549,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1867648"} 
[2026-08-11 21:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:23:22] 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-08-11 21: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-11 21:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334665728001,"66":11721,"30":206,"85":15104,"24":38,"16":117904226734047232,"45":9001991992746911744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-11 21:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334665728001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:23:22] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-11 21:23:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117904226734047232,"km_value":117904226734047.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001991992746911744,"description":"Unknown IO ID 45"} 
[2026-08-11 21:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334665728001,"power":11721,"unknown_30":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9001991992746911744}} 
[2026-08-11 21:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":152492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:23:23] local.INFO: GPS data processed {"connection_id":152492,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:23:23] local.INFO: Acknowledgment sent {"connection_id":152492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:23:23] local.INFO: TCP Data received {"connection_id":152492,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1869970012d7cf64005d64de0000500ac22..."} 
[2026-08-11 21:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1869970012d7cf64005d64de0000500ac22..."} 
[2026-08-11 21:23:23] local.INFO: Processing buffer {"connection_id":152492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1869970012d7cf64005d64de0000500ac22..."} 
[2026-08-11 21:23:23] local.INFO: Packet analysis {"connection_id":152492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:23:23] local.INFO: Extracted packet for processing {"connection_id":152492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:23:23] local.INFO: GPS Element Parsed {"raw_longitude":763164224,"raw_latitude":97930720,"longitude_deg":76.3164224,"latitude_deg":9.793072,"altitude":5,"angle":172,"satellites":34,"speed":43,"hex_longitude":"2d7cf640","hex_latitude":"05d64de0","is_valid_coordinates":true} 
[2026-08-11 21:23: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-08-11 21:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334668544001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117904677705613312,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003188261395507200,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:23] 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-08-11 21:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786463558000,"timestamp_ms":1786463558000,"timestamp_seconds":1786463558,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1869970"} 
[2026-08-11 21:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:23:23] 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-08-11 21:23: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-11 21:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21:23: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-08-11 21:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334668544001,"66":12298,"30":206,"85":15104,"24":43,"16":117904677705613312,"45":9003188261395507200},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-11 21:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334668544001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:23:23] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-11 21:23:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117904677705613312,"km_value":117904677705613.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003188261395507200,"description":"Unknown IO ID 45"} 
[2026-08-11 21:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334668544001,"power":12298,"unknown_30":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9003188261395507200}} 
[2026-08-11 21:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":152492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:23:23] local.INFO: GPS data processed {"connection_id":152492,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:23:23] local.INFO: Acknowledgment sent {"connection_id":152492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:23:24] local.INFO: TCP Data received {"connection_id":152912,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:23:24] local.INFO: Processing buffer {"connection_id":152912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:23:24] local.INFO: IMEI packet received {"connection_id":152912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":152912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:23:25] local.INFO: TCP Data received {"connection_id":152912,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:23:25] local.INFO: Processing buffer {"connection_id":152912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:23:25] local.INFO: Packet analysis {"connection_id":152912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:23:25] local.INFO: Extracted packet for processing {"connection_id":152912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:23:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":23,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334570496001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786463467000,"timestamp_ms":1786463467000,"timestamp_seconds":1786463467,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18535f8"} 
[2026-08-11 21:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 21:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334570496001,"66":26115,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334570496001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:23:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:23:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334570496001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":152912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:23:25] local.INFO: GPS data processed {"connection_id":152912,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:23:25] local.INFO: Acknowledgment sent {"connection_id":152912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:23:38] local.INFO: TCP Data received {"connection_id":152493,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:23:38] local.INFO: Processing buffer {"connection_id":152493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:23:38] local.INFO: IMEI packet received {"connection_id":152493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":152493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:23:43] local.INFO: TCP Data received {"connection_id":152493,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:23:43] local.INFO: Processing buffer {"connection_id":152493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:23:43] local.INFO: IMEI packet received {"connection_id":152493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":152493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:23:44] local.INFO: TCP Data received {"connection_id":152493,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:23:44] local.INFO: Processing buffer {"connection_id":152493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:23:44] local.INFO: Packet analysis {"connection_id":152493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:23:44] local.INFO: Extracted packet for processing {"connection_id":152493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:23:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334587648001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786463534000,"timestamp_ms":1786463534000,"timestamp_seconds":1786463534,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1863bb0"} 
[2026-08-11 21:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:23:44] 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-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:23:44] 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-08-11 21: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-08-11 21:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334587648001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334587648001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:23:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:23:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334587648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":152493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:23:44] local.INFO: GPS data processed {"connection_id":152493,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:23:44] local.INFO: Acknowledgment sent {"connection_id":152493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:23:56] local.INFO: TCP Data received {"connection_id":152912,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:23:56] local.INFO: Processing buffer {"connection_id":152912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:23:56] local.INFO: Packet analysis {"connection_id":152912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:23:56] local.INFO: Extracted packet for processing {"connection_id":152912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:23:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":23,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334570496001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786463467000,"timestamp_ms":1786463467000,"timestamp_seconds":1786463467,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18535f8"} 
[2026-08-11 21:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 21:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334570496001,"66":26115,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334570496001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:23:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:23:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334570496001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":152912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:23:56] local.INFO: GPS data processed {"connection_id":152912,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:23:56] local.INFO: Acknowledgment sent {"connection_id":152912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:24:08] local.INFO: TCP Data received {"connection_id":153827,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:24:08] local.INFO: Processing buffer {"connection_id":153827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:24:08] local.INFO: IMEI packet received {"connection_id":153827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":153827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:24:12] local.INFO: TCP Data received {"connection_id":153827,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:24:12] local.INFO: Processing buffer {"connection_id":153827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:24:12] local.INFO: IMEI packet received {"connection_id":153827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":153827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:24:13] local.INFO: TCP Data received {"connection_id":153827,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff186c080012d7cfa0005d62a30000600b021..."} 
[2026-08-11 21:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff186c080012d7cfa0005d62a30000600b021..."} 
[2026-08-11 21:24:13] local.INFO: Processing buffer {"connection_id":153827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff186c080012d7cfa0005d62a30000600b021..."} 
[2026-08-11 21:24:13] local.INFO: Packet analysis {"connection_id":153827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:24:13] local.INFO: Extracted packet for processing {"connection_id":153827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763165184,"raw_latitude":97921584,"longitude_deg":76.3165184,"latitude_deg":9.7921584,"altitude":6,"angle":176,"satellites":33,"speed":29,"hex_longitude":"2d7cfa00","hex_latitude":"05d62a30","is_valid_coordinates":true} 
[2026-08-11 21:24: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-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334670848001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117905124382212096,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004454898788327424,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] 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-08-11 21:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786463568000,"timestamp_ms":1786463568000,"timestamp_seconds":1786463568,"priority":1,"record_length":96,"hex_timestamp":"0000019ff186c080"} 
[2026-08-11 21:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:24:13] 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-08-11 21:24: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":420880887765532837,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437372453376,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186018,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3623955836,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1043239550359601985,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3293258109438591182,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3717201924,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803826894,"corrected_to":0} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2147866369,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3751608320,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3609427968,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":3,"raw_value":45913407408308224,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3819052484010180609,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.WARNING: Large IO value detected {"io_id":28,"raw_value":13792273859477508,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:13] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,30,85,24,241,157,16,225,159,118,45,192,114,4,34,10,66,75,128,151,224,32,1,240,255,227,214,113,205,43,212,33,239,48,31,2,162,5,3,223,28],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2803826894,"validated":0}]} 
[2026-08-11 21:24:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360477232221323264,"timestamp_seconds":360477232221323.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 21:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334670848001,"66":12341,"30":206,"85":15104,"24":29,"16":117905124382212096,"45":9004454898788327424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-11 21:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334670848001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:24:13] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-11 21:24:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117905124382212096,"km_value":117905124382212.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004454898788327424,"description":"Unknown IO ID 45"} 
[2026-08-11 21:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334670848001,"power":12341,"unknown_30":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9004454898788327424}} 
[2026-08-11 21:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":153827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:24:13] local.INFO: GPS data processed {"connection_id":153827,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:24:13] local.INFO: Acknowledgment sent {"connection_id":153827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:24:15] local.INFO: TCP Data received {"connection_id":152493,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:24:15] local.INFO: Processing buffer {"connection_id":152493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:24:15] local.INFO: Packet analysis {"connection_id":152493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:24:15] local.INFO: Extracted packet for processing {"connection_id":152493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334587648001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786463534000,"timestamp_ms":1786463534000,"timestamp_seconds":1786463534,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1863bb0"} 
[2026-08-11 21:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:24:15] 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-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:24:15] 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-08-11 21: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-08-11 21:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334587648001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334587648001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:24:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:24:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334587648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":152493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:24:15] local.INFO: GPS data processed {"connection_id":152493,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:24:15] local.INFO: Acknowledgment sent {"connection_id":152493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:24:18] local.INFO: TCP Data received {"connection_id":153828,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:24:18] local.INFO: Processing buffer {"connection_id":153828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:24:18] local.INFO: IMEI packet received {"connection_id":153828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":153828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:24:24] local.INFO: TCP Data received {"connection_id":153828,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:24:24] local.INFO: Processing buffer {"connection_id":153828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:24:24] local.INFO: IMEI packet received {"connection_id":153828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":153828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:24:24] local.INFO: TCP Data received {"connection_id":153828,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:24:24] local.INFO: Processing buffer {"connection_id":153828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:24:24] local.INFO: Packet analysis {"connection_id":153828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:24:24] local.INFO: Extracted packet for processing {"connection_id":153828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:24:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":23,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334570496001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786463467000,"timestamp_ms":1786463467000,"timestamp_seconds":1786463467,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18535f8"} 
[2026-08-11 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-08-11 21:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 21:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 21:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334570496001,"66":26115,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334570496001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:24:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:24:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334570496001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":153828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:24:25] local.INFO: GPS data processed {"connection_id":153828,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:24:25] local.INFO: Acknowledgment sent {"connection_id":153828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:24:38] local.INFO: TCP Data received {"connection_id":155209,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:24:38] local.INFO: Processing buffer {"connection_id":155209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:24:38] local.INFO: IMEI packet received {"connection_id":155209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":155209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:24:43] local.INFO: TCP Data received {"connection_id":155209,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:24:43] local.INFO: Processing buffer {"connection_id":155209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:24:43] local.INFO: IMEI packet received {"connection_id":155209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":155209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:24:44] local.INFO: TCP Data received {"connection_id":155209,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:24:44] local.INFO: Processing buffer {"connection_id":155209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:24:44] local.INFO: Packet analysis {"connection_id":155209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:24:44] local.INFO: Extracted packet for processing {"connection_id":155209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:24:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334587648001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786463534000,"timestamp_ms":1786463534000,"timestamp_seconds":1786463534,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1863bb0"} 
[2026-08-11 21:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:24:44] 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-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:24:44] 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-08-11 21: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-08-11 21:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334587648001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334587648001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:24:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:24:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334587648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":155209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:24:44] local.INFO: GPS data processed {"connection_id":155209,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:24:44] local.INFO: Acknowledgment sent {"connection_id":155209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:24:45] local.INFO: TCP Data received {"connection_id":153827,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1886660012d7d9d8005d57ac0000700442a..."} 
[2026-08-11 21:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1886660012d7d9d8005d57ac0000700442a..."} 
[2026-08-11 21:24:45] local.INFO: Processing buffer {"connection_id":153827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1886660012d7d9d8005d57ac0000700442a..."} 
[2026-08-11 21:24:45] local.INFO: Packet analysis {"connection_id":153827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff188"} 
[2026-08-11 21:24:45] local.INFO: Extracted packet for processing {"connection_id":153827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff188"} 
[2026-08-11 21:24:45] local.INFO: GPS Element Parsed {"raw_longitude":763207040,"raw_latitude":97876672,"longitude_deg":76.320704,"latitude_deg":9.7876672,"altitude":7,"angle":68,"satellites":42,"speed":25,"hex_longitude":"2d7d9d80","hex_latitude":"05d57ac0","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334701056001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117908912543367168,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9051531588629348352,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786463676000,"timestamp_ms":1786463676000,"timestamp_seconds":1786463676,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1886660"} 
[2026-08-11 21:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:24:45] 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-08-11 21: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-11 21:24:45] 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-08-11 21: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-08-11 21:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334701056001,"66":12200,"253":206,"85":15104,"24":25,"16":117908912543367168,"45":9051531588629348352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-11 21:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334701056001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:24:45] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-11 21:24:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117908912543367168,"km_value":117908912543367.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9051531588629348352,"description":"Unknown IO ID 45"} 
[2026-08-11 21:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334701056001,"power":12200,"unknown_253":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9051531588629348352}} 
[2026-08-11 21:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":153827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:24:45] local.INFO: GPS data processed {"connection_id":153827,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:24:45] local.INFO: Acknowledgment sent {"connection_id":153827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:24:56] local.INFO: TCP Data received {"connection_id":153828,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:24:56] local.INFO: Processing buffer {"connection_id":153828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:24:56] local.INFO: Packet analysis {"connection_id":153828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:24:56] local.INFO: Extracted packet for processing {"connection_id":153828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:24:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":23,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334570496001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786463467000,"timestamp_ms":1786463467000,"timestamp_seconds":1786463467,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18535f8"} 
[2026-08-11 21:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 21:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334570496001,"66":26115,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334570496001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:24:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:24:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334570496001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":153828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:24:56] local.INFO: GPS data processed {"connection_id":153828,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:24:56] local.INFO: Acknowledgment sent {"connection_id":153828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:25:06] local.INFO: TCP Data received {"connection_id":155210,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:25:06] local.INFO: Processing buffer {"connection_id":155210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:25:06] local.INFO: IMEI packet received {"connection_id":155210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":155210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:25:07] local.INFO: TCP Data received {"connection_id":155210,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:25:07] local.INFO: Processing buffer {"connection_id":155210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:25:07] local.INFO: IMEI packet received {"connection_id":155210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":155210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:25:10] local.INFO: TCP Data received {"connection_id":155210,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 21:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155210,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 21:25:10] local.INFO: Processing buffer {"connection_id":155210,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-11 21:25:10] local.INFO: IMEI packet received {"connection_id":155210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":155210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:25:15] local.INFO: TCP Data received {"connection_id":155209,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:25:15] local.INFO: Processing buffer {"connection_id":155209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:25:15] local.INFO: Packet analysis {"connection_id":155209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:25:15] local.INFO: Extracted packet for processing {"connection_id":155209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334587648001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786463534000,"timestamp_ms":1786463534000,"timestamp_seconds":1786463534,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1863bb0"} 
[2026-08-11 21:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:25:15] 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-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:25:15] 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-08-11 21: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-08-11 21:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334587648001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334587648001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:25:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334587648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":155209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:25:15] local.INFO: GPS data processed {"connection_id":155209,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:25:15] local.INFO: Acknowledgment sent {"connection_id":155209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:25:24] local.INFO: TCP Data received {"connection_id":152913,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:25:24] local.INFO: Processing buffer {"connection_id":152913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:25:24] local.INFO: IMEI packet received {"connection_id":152913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":152913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:25:29] local.INFO: TCP Data received {"connection_id":152913,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:25:29] local.INFO: Processing buffer {"connection_id":152913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:25:29] local.INFO: IMEI packet received {"connection_id":152913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":152913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:25:30] local.INFO: TCP Data received {"connection_id":152913,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:25:30] local.INFO: Processing buffer {"connection_id":152913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:25:30] local.INFO: Packet analysis {"connection_id":152913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:25:30] local.INFO: Extracted packet for processing {"connection_id":152913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:25:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":23,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21:25: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-08-11 21:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334570496001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786463467000,"timestamp_ms":1786463467000,"timestamp_seconds":1786463467,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18535f8"} 
[2026-08-11 21:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:25: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":62,"data_length":795,"current_offset":136} 
[2026-08-11 21:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21:25: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-08-11 21:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334570496001,"66":26115,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334570496001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:25:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:25:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334570496001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":152913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:25:30] local.INFO: GPS data processed {"connection_id":152913,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:25:30] local.INFO: Acknowledgment sent {"connection_id":152913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:25:35] local.INFO: TCP Data received {"connection_id":152913,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:25:35] local.INFO: Processing buffer {"connection_id":152913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:25:35] local.INFO: Packet analysis {"connection_id":152913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:25:35] local.INFO: Extracted packet for processing {"connection_id":152913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:25:35] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":23,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334570496001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786463467000,"timestamp_ms":1786463467000,"timestamp_seconds":1786463467,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18535f8"} 
[2026-08-11 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-08-11 21:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 21:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 21:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334570496001,"66":26115,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334570496001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:25:35] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:25:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334570496001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":152913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:25:35] local.INFO: GPS data processed {"connection_id":152913,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:25:35] local.INFO: Acknowledgment sent {"connection_id":152913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:25:38] local.INFO: TCP Data received {"connection_id":152494,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:25:38] local.INFO: Processing buffer {"connection_id":152494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:25:38] local.INFO: IMEI packet received {"connection_id":152494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":152494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:25:43] local.INFO: TCP Data received {"connection_id":152494,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:25:43] local.INFO: Processing buffer {"connection_id":152494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:25:43] local.INFO: IMEI packet received {"connection_id":152494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":152494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:25:44] local.INFO: TCP Data received {"connection_id":152494,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:25:44] local.INFO: Processing buffer {"connection_id":152494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:25:44] local.INFO: Packet analysis {"connection_id":152494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:25:44] local.INFO: Extracted packet for processing {"connection_id":152494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:25:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:25: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-08-11 21:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334587648001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786463534000,"timestamp_ms":1786463534000,"timestamp_seconds":1786463534,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1863bb0"} 
[2026-08-11 21:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:25:44] 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-08-11 21:25: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:25:44] 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-08-11 21:25: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-08-11 21:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334587648001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334587648001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:25:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:25:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334587648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":152494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:25:44] local.INFO: GPS data processed {"connection_id":152494,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:25:44] local.INFO: Acknowledgment sent {"connection_id":152494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:26:15] local.INFO: TCP Data received {"connection_id":152494,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:26:15] local.INFO: Processing buffer {"connection_id":152494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:26:15] local.INFO: Packet analysis {"connection_id":152494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:26:15] local.INFO: Extracted packet for processing {"connection_id":152494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334587648001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786463534000,"timestamp_ms":1786463534000,"timestamp_seconds":1786463534,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1863bb0"} 
[2026-08-11 21:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:26:15] 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-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:26:15] 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-08-11 21: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-08-11 21:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334587648001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334587648001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:26:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334587648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":152494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:26:15] local.INFO: GPS data processed {"connection_id":152494,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:26:15] local.INFO: Acknowledgment sent {"connection_id":152494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:26:19] local.INFO: TCP Data received {"connection_id":155211,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:26:19] local.INFO: Processing buffer {"connection_id":155211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:26:19] local.INFO: IMEI packet received {"connection_id":155211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":155211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:26:24] local.INFO: TCP Data received {"connection_id":155211,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:26:24] local.INFO: Processing buffer {"connection_id":155211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:26:24] local.INFO: IMEI packet received {"connection_id":155211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":155211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:26:25] local.INFO: TCP Data received {"connection_id":155211,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:26:25] local.INFO: Processing buffer {"connection_id":155211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18535f8012d77ab8005f2a748001700fd2b..."} 
[2026-08-11 21:26:25] local.INFO: Packet analysis {"connection_id":155211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:26:25] local.INFO: Extracted packet for processing {"connection_id":155211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff185"} 
[2026-08-11 21:26:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":23,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334570496001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786463467000,"timestamp_ms":1786463467000,"timestamp_seconds":1786463467,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18535f8"} 
[2026-08-11 21:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-11 21:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334570496001,"66":26115,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334570496001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:26:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:26:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334570496001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":155211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:26:25] local.INFO: GPS data processed {"connection_id":155211,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:26:25] local.INFO: Acknowledgment sent {"connection_id":155211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:26:38] local.INFO: TCP Data received {"connection_id":152495,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:26:38] local.INFO: Processing buffer {"connection_id":152495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:26:38] local.INFO: IMEI packet received {"connection_id":152495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":152495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:26:43] local.INFO: TCP Data received {"connection_id":152495,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:26:43] local.INFO: Processing buffer {"connection_id":152495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:26:43] local.INFO: IMEI packet received {"connection_id":152495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":152495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:26:44] local.INFO: TCP Data received {"connection_id":152495,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:26:44] local.INFO: Processing buffer {"connection_id":152495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:26:44] local.INFO: Packet analysis {"connection_id":152495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:26:44] local.INFO: Extracted packet for processing {"connection_id":152495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:26: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-08-11 21:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334587648001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786463534000,"timestamp_ms":1786463534000,"timestamp_seconds":1786463534,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1863bb0"} 
[2026-08-11 21:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:26:44] 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-08-11 21:26: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:26:44] 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-08-11 21:26: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-08-11 21:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334587648001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334587648001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:26:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:26:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334587648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":152495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:26:44] local.INFO: GPS data processed {"connection_id":152495,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:26:44] local.INFO: Acknowledgment sent {"connection_id":152495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:26:56] local.INFO: TCP Data received {"connection_id":155211,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:26:56] local.INFO: Processing buffer {"connection_id":155211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:26:56] local.INFO: Packet analysis {"connection_id":155211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:26:56] local.INFO: Extracted packet for processing {"connection_id":155211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:26:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334647552001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786463768000,"timestamp_ms":1786463768000,"timestamp_seconds":1786463768,"priority":1,"record_length":96,"hex_timestamp":"0000019ff189cdc0"} 
[2026-08-11 21:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 21:26:56] 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-08-11 21: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-08-11 21:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334647552001,"66":25973,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334647552001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:26:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:26:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334647552001,"power":25973,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":155211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:26:56] local.INFO: GPS data processed {"connection_id":155211,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:26:56] local.INFO: Acknowledgment sent {"connection_id":155211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:27:15] local.INFO: TCP Data received {"connection_id":152495,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:27:15] local.INFO: Processing buffer {"connection_id":152495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:27:15] local.INFO: Packet analysis {"connection_id":152495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:27:15] local.INFO: Extracted packet for processing {"connection_id":152495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334587648001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786463534000,"timestamp_ms":1786463534000,"timestamp_seconds":1786463534,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1863bb0"} 
[2026-08-11 21:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:27:15] 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-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:27:15] 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-08-11 21: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-08-11 21:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334587648001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334587648001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:27:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334587648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":152495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:27:15] local.INFO: GPS data processed {"connection_id":152495,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:27:15] local.INFO: Acknowledgment sent {"connection_id":152495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:27:24] local.INFO: TCP Data received {"connection_id":153830,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:27:24] local.INFO: Processing buffer {"connection_id":153830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:27:24] local.INFO: IMEI packet received {"connection_id":153830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":153830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:27:29] local.INFO: TCP Data received {"connection_id":153830,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:27:29] local.INFO: Processing buffer {"connection_id":153830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:27:29] local.INFO: IMEI packet received {"connection_id":153830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":153830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:27:30] local.INFO: TCP Data received {"connection_id":153830,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:27:30] local.INFO: Processing buffer {"connection_id":153830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:27:30] local.INFO: Packet analysis {"connection_id":153830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:27:30] local.INFO: Extracted packet for processing {"connection_id":153830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:27:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21:27: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-08-11 21:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334647552001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786463768000,"timestamp_ms":1786463768000,"timestamp_seconds":1786463768,"priority":1,"record_length":96,"hex_timestamp":"0000019ff189cdc0"} 
[2026-08-11 21:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:27: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 21:27:30] 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-08-11 21:27: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-08-11 21:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334647552001,"66":25973,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334647552001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:27:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:27:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334647552001,"power":25973,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":153830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:27:30] local.INFO: GPS data processed {"connection_id":153830,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:27:30] local.INFO: Acknowledgment sent {"connection_id":153830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:27:43] local.INFO: TCP Data received {"connection_id":152496,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:27:43] local.INFO: Processing buffer {"connection_id":152496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:27:43] local.INFO: IMEI packet received {"connection_id":152496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":152496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:27:48] local.INFO: TCP Data received {"connection_id":152496,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:27:48] local.INFO: Processing buffer {"connection_id":152496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:27:48] local.INFO: IMEI packet received {"connection_id":152496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":152496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:27:49] local.INFO: TCP Data received {"connection_id":152496,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:27:49] local.INFO: Processing buffer {"connection_id":152496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:27:49] local.INFO: Packet analysis {"connection_id":152496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:27:49] local.INFO: Extracted packet for processing {"connection_id":152496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:27: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-08-11 21:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334587648001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:27: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-08-11 21:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786463534000,"timestamp_ms":1786463534000,"timestamp_seconds":1786463534,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1863bb0"} 
[2026-08-11 21:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:27:49] 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-08-11 21:27: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:27:49] 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-08-11 21:27: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-08-11 21:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:27:49] 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-08-11 21:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334587648001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334587648001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:27:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:27:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334587648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":152496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:27:49] local.INFO: GPS data processed {"connection_id":152496,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:27:49] local.INFO: Acknowledgment sent {"connection_id":152496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:27:53] local.INFO: TCP Data received {"connection_id":152496,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:27:53] local.INFO: Processing buffer {"connection_id":152496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1863bb0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:27:53] local.INFO: Packet analysis {"connection_id":152496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:27:53] local.INFO: Extracted packet for processing {"connection_id":152496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff186"} 
[2026-08-11 21:27:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334587648001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 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-08-11 21:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786463534000,"timestamp_ms":1786463534000,"timestamp_seconds":1786463534,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1863bb0"} 
[2026-08-11 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-08-11 21:27: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-08-11 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-08-11 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-08-11 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-08-11 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-08-11 21:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:27:53] 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-08-11 21:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334587648001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334587648001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:27:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:27:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334587648001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":152496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:27:53] local.INFO: GPS data processed {"connection_id":152496,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:27:53] local.INFO: Acknowledgment sent {"connection_id":152496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:28:01] local.INFO: TCP Data received {"connection_id":153830,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:28:01] local.INFO: Processing buffer {"connection_id":153830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:28:01] local.INFO: Packet analysis {"connection_id":153830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:28:01] local.INFO: Extracted packet for processing {"connection_id":153830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:28:01] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334647552001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786463768000,"timestamp_ms":1786463768000,"timestamp_seconds":1786463768,"priority":1,"record_length":96,"hex_timestamp":"0000019ff189cdc0"} 
[2026-08-11 21:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 21:28:01] 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-08-11 21: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-08-11 21:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334647552001,"66":25973,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334647552001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:28:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:28:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334647552001,"power":25973,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":153830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:28:01] local.INFO: GPS data processed {"connection_id":153830,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:28:01] local.INFO: Acknowledgment sent {"connection_id":153830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:28:18] local.INFO: TCP Data received {"connection_id":155214,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:28:18] local.INFO: Processing buffer {"connection_id":155214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:28:18] local.INFO: IMEI packet received {"connection_id":155214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":155214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:28:24] local.INFO: TCP Data received {"connection_id":155214,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:28:24] local.INFO: Processing buffer {"connection_id":155214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:28:24] local.INFO: IMEI packet received {"connection_id":155214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":155214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:28:25] local.INFO: TCP Data received {"connection_id":155214,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:28:25] local.INFO: Processing buffer {"connection_id":155214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:28:25] local.INFO: Packet analysis {"connection_id":155214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:28:25] local.INFO: Extracted packet for processing {"connection_id":155214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:28:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334647552001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786463768000,"timestamp_ms":1786463768000,"timestamp_seconds":1786463768,"priority":1,"record_length":96,"hex_timestamp":"0000019ff189cdc0"} 
[2026-08-11 21:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 21:28:25] 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-08-11 21: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-08-11 21:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334647552001,"66":25973,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334647552001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:28:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:28:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334647552001,"power":25973,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":155214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:28:25] local.INFO: GPS data processed {"connection_id":155214,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:28:25] local.INFO: Acknowledgment sent {"connection_id":155214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:28:38] local.INFO: TCP Data received {"connection_id":153831,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:28:38] local.INFO: Processing buffer {"connection_id":153831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:28:38] local.INFO: IMEI packet received {"connection_id":153831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":153831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:28:43] local.INFO: TCP Data received {"connection_id":153831,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:28:43] local.INFO: Processing buffer {"connection_id":153831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:28:43] local.INFO: IMEI packet received {"connection_id":153831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":153831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:28:44] local.INFO: TCP Data received {"connection_id":153831,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:28:44] local.INFO: Processing buffer {"connection_id":153831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:28:44] local.INFO: Packet analysis {"connection_id":153831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:28:44] local.INFO: Extracted packet for processing {"connection_id":153831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:28:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:28: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-08-11 21:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334664704001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786463835000,"timestamp_ms":1786463835000,"timestamp_seconds":1786463835,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18ad378"} 
[2026-08-11 21:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:28: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:28:44] 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-08-11 21:28: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-08-11 21:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:28:44] 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-08-11 21:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334664704001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334664704001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:28:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:28:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334664704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":153831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:28:44] local.INFO: GPS data processed {"connection_id":153831,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:28:44] local.INFO: Acknowledgment sent {"connection_id":153831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:28:56] local.INFO: TCP Data received {"connection_id":155214,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:28:56] local.INFO: Processing buffer {"connection_id":155214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:28:56] local.INFO: Packet analysis {"connection_id":155214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:28:56] local.INFO: Extracted packet for processing {"connection_id":155214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:28:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334647552001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786463768000,"timestamp_ms":1786463768000,"timestamp_seconds":1786463768,"priority":1,"record_length":96,"hex_timestamp":"0000019ff189cdc0"} 
[2026-08-11 21:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 21:28:56] 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-08-11 21: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-08-11 21:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334647552001,"66":25973,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334647552001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:28:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:28:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334647552001,"power":25973,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":155214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:28:56] local.INFO: GPS data processed {"connection_id":155214,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:28:56] local.INFO: Acknowledgment sent {"connection_id":155214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:29:18] local.INFO: TCP Data received {"connection_id":153831,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:29:18] local.INFO: Processing buffer {"connection_id":153831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:29:18] local.INFO: Packet analysis {"connection_id":153831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:29:18] local.INFO: Extracted packet for processing {"connection_id":153831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:29:18] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334664704001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:29: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-08-11 21:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786463835000,"timestamp_ms":1786463835000,"timestamp_seconds":1786463835,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18ad378"} 
[2026-08-11 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-08-11 21:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:29:18] 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-08-11 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-08-11 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-08-11 21:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:29:18] 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-08-11 21:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334664704001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334664704001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:29:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:29:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334664704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":153831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:29:18] local.INFO: GPS data processed {"connection_id":153831,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:29:18] local.INFO: Acknowledgment sent {"connection_id":153831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:29:18] local.INFO: TCP Data received {"connection_id":155216,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:29:18] local.INFO: Processing buffer {"connection_id":155216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:29:18] local.INFO: IMEI packet received {"connection_id":155216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":155216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:29:24] local.INFO: TCP Data received {"connection_id":155216,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:29:24] local.INFO: Processing buffer {"connection_id":155216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:29:24] local.INFO: IMEI packet received {"connection_id":155216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":155216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:29:24] local.INFO: TCP Data received {"connection_id":155216,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:29:24] local.INFO: Processing buffer {"connection_id":155216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:29:24] local.INFO: Packet analysis {"connection_id":155216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:29:24] local.INFO: Extracted packet for processing {"connection_id":155216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:29:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334647552001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786463768000,"timestamp_ms":1786463768000,"timestamp_seconds":1786463768,"priority":1,"record_length":96,"hex_timestamp":"0000019ff189cdc0"} 
[2026-08-11 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-08-11 21:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 21:29:24] 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-08-11 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-08-11 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-08-11 21:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334647552001,"66":25973,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334647552001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:29:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:29:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334647552001,"power":25973,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":155216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:29:24] local.INFO: GPS data processed {"connection_id":155216,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:29:24] local.INFO: Acknowledgment sent {"connection_id":155216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:29:38] local.INFO: TCP Data received {"connection_id":153832,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:29:38] local.INFO: Processing buffer {"connection_id":153832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:29:38] local.INFO: IMEI packet received {"connection_id":153832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":153832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:29:43] local.INFO: TCP Data received {"connection_id":153832,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:29:43] local.INFO: Processing buffer {"connection_id":153832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:29:43] local.INFO: IMEI packet received {"connection_id":153832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":153832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:29:44] local.INFO: TCP Data received {"connection_id":153832,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:29:44] local.INFO: Processing buffer {"connection_id":153832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:29:44] local.INFO: Packet analysis {"connection_id":153832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:29:44] local.INFO: Extracted packet for processing {"connection_id":153832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:29:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:29: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-08-11 21:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334664704001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786463835000,"timestamp_ms":1786463835000,"timestamp_seconds":1786463835,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18ad378"} 
[2026-08-11 21:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:29:44] 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-08-11 21: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-08-11 21:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334664704001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334664704001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:29:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:29:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334664704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":153832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:29:44] local.INFO: GPS data processed {"connection_id":153832,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:29:44] local.INFO: Acknowledgment sent {"connection_id":153832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:29:56] local.INFO: TCP Data received {"connection_id":155216,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:29:56] local.INFO: Processing buffer {"connection_id":155216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:29:56] local.INFO: Packet analysis {"connection_id":155216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:29:56] local.INFO: Extracted packet for processing {"connection_id":155216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:29:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334647552001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786463768000,"timestamp_ms":1786463768000,"timestamp_seconds":1786463768,"priority":1,"record_length":96,"hex_timestamp":"0000019ff189cdc0"} 
[2026-08-11 21:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 21:29:56] 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-08-11 21: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-08-11 21:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334647552001,"66":25973,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334647552001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:29:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:29:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334647552001,"power":25973,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":155216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:29:56] local.INFO: GPS data processed {"connection_id":155216,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:29:56] local.INFO: Acknowledgment sent {"connection_id":155216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:30:11] local.INFO: TCP Data received {"connection_id":155217,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:30:11] local.INFO: Processing buffer {"connection_id":155217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:30:11] local.INFO: IMEI packet received {"connection_id":155217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":155217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:30:12] local.INFO: TCP Data received {"connection_id":155217,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18ca068012d7e518005d37cc0000500b32b..."} 
[2026-08-11 21:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18ca068012d7e518005d37cc0000500b32b..."} 
[2026-08-11 21:30:12] local.INFO: Processing buffer {"connection_id":155217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18ca068012d7e518005d37cc0000500b32b..."} 
[2026-08-11 21:30:12] local.INFO: Packet analysis {"connection_id":155217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18c"} 
[2026-08-11 21:30:12] local.INFO: Extracted packet for processing {"connection_id":155217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18c"} 
[2026-08-11 21:30:12] local.INFO: GPS Element Parsed {"raw_longitude":763253120,"raw_latitude":97746112,"longitude_deg":76.325312,"latitude_deg":9.7746112,"altitude":5,"angle":179,"satellites":43,"speed":20,"hex_longitude":"2d7e5180","hex_latitude":"05d37cc0","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334769920001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117916755153649664,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102619296869758976,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:12] 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-08-11 21:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786463953000,"timestamp_ms":1786463953000,"timestamp_seconds":1786463953,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18ca068"} 
[2026-08-11 21:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:30:12] 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-08-11 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 21:30:12] 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-08-11 21: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-08-11 21:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":155217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":155217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":155217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334769920001,"66":12069,"109":206,"85":15104,"24":20,"16":117916755153649664,"45":9102619296869758976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334769920001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:30:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117916755153649664,"km_value":117916755153649.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102619296869758976,"description":"Unknown IO ID 45"} 
[2026-08-11 21:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334769920001,"power":12069,"unknown_109":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9102619296869758976}} 
[2026-08-11 21:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":155217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:30:12] local.INFO: GPS data processed {"connection_id":155217,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:30:12] local.INFO: Acknowledgment sent {"connection_id":155217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:30:15] local.INFO: TCP Data received {"connection_id":153832,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:30:15] local.INFO: Processing buffer {"connection_id":153832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:30:15] local.INFO: Packet analysis {"connection_id":153832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:30:15] local.INFO: Extracted packet for processing {"connection_id":153832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334664704001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786463835000,"timestamp_ms":1786463835000,"timestamp_seconds":1786463835,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18ad378"} 
[2026-08-11 21:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:30:15] 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-08-11 21: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-08-11 21:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334664704001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334664704001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:30:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334664704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":153832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:30:16] local.INFO: GPS data processed {"connection_id":153832,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:30:16] local.INFO: Acknowledgment sent {"connection_id":153832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:30:18] local.INFO: TCP Data received {"connection_id":152497,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:30:18] local.INFO: Processing buffer {"connection_id":152497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:30:18] local.INFO: IMEI packet received {"connection_id":152497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":152497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:30:24] local.INFO: TCP Data received {"connection_id":152497,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:30:24] local.INFO: Processing buffer {"connection_id":152497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:30:24] local.INFO: IMEI packet received {"connection_id":152497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":152497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:30:24] local.INFO: TCP Data received {"connection_id":152497,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:30:24] local.INFO: Processing buffer {"connection_id":152497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:30:24] local.INFO: Packet analysis {"connection_id":152497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:30:24] local.INFO: Extracted packet for processing {"connection_id":152497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:30:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334647552001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786463768000,"timestamp_ms":1786463768000,"timestamp_seconds":1786463768,"priority":1,"record_length":96,"hex_timestamp":"0000019ff189cdc0"} 
[2026-08-11 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-08-11 21:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 21:30:24] 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-08-11 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-08-11 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-08-11 21:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334647552001,"66":25973,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334647552001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:30:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:30:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334647552001,"power":25973,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":152497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:30:24] local.INFO: GPS data processed {"connection_id":152497,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:30:24] local.INFO: Acknowledgment sent {"connection_id":152497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:30:38] local.INFO: TCP Data received {"connection_id":153833,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:30:38] local.INFO: Processing buffer {"connection_id":153833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:30:38] local.INFO: IMEI packet received {"connection_id":153833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":153833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:30:43] local.INFO: TCP Data received {"connection_id":155217,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18cd330012d7e53c005d35c80000500a22d..."} 
[2026-08-11 21:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18cd330012d7e53c005d35c80000500a22d..."} 
[2026-08-11 21:30:43] local.INFO: Processing buffer {"connection_id":155217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18cd330012d7e53c005d35c80000500a22d..."} 
[2026-08-11 21:30:43] local.INFO: Packet analysis {"connection_id":155217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18c"} 
[2026-08-11 21:30:43] local.INFO: Extracted packet for processing {"connection_id":155217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18c"} 
[2026-08-11 21:30:43] local.INFO: GPS Element Parsed {"raw_longitude":763253696,"raw_latitude":97737856,"longitude_deg":76.3253696,"latitude_deg":9.7737856,"altitude":5,"angle":162,"satellites":45,"speed":13,"hex_longitude":"2d7e53c0","hex_latitude":"05d35c80","is_valid_coordinates":true} 
[2026-08-11 21:30: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-08-11 21:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334771968001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917158880575488,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102197084403843072,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:43] 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-08-11 21:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786463966000,"timestamp_ms":1786463966000,"timestamp_seconds":1786463966,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18cd330"} 
[2026-08-11 21:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:30:43] 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-08-11 21:30: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-11 21:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21:30: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-08-11 21:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":155217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":155217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":155217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334771968001,"66":11798,"109":206,"85":15104,"24":13,"16":117917158880575488,"45":9102197084403843072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334771968001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:30:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:30:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917158880575488,"km_value":117917158880575.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102197084403843072,"description":"Unknown IO ID 45"} 
[2026-08-11 21:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334771968001,"power":11798,"unknown_109":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9102197084403843072}} 
[2026-08-11 21:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":155217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:30:43] local.INFO: GPS data processed {"connection_id":155217,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:30:43] local.INFO: Acknowledgment sent {"connection_id":155217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:30:43] local.INFO: TCP Data received {"connection_id":153833,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:30:43] local.INFO: Processing buffer {"connection_id":153833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:30:43] local.INFO: IMEI packet received {"connection_id":153833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":153833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:30:44] local.INFO: TCP Data received {"connection_id":153833,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:30:44] local.INFO: Processing buffer {"connection_id":153833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:30:44] local.INFO: Packet analysis {"connection_id":153833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:30:44] local.INFO: Extracted packet for processing {"connection_id":153833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:30:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334664704001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786463835000,"timestamp_ms":1786463835000,"timestamp_seconds":1786463835,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18ad378"} 
[2026-08-11 21:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:30:44] 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-08-11 21: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-08-11 21:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334664704001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334664704001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:30:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:30:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334664704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":153833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:30:44] local.INFO: GPS data processed {"connection_id":153833,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:30:44] local.INFO: Acknowledgment sent {"connection_id":153833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:30:55] local.INFO: TCP Data received {"connection_id":152497,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:30:55] local.INFO: Processing buffer {"connection_id":152497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:30:55] local.INFO: Packet analysis {"connection_id":152497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:30:55] local.INFO: Extracted packet for processing {"connection_id":152497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:30:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334647552001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786463768000,"timestamp_ms":1786463768000,"timestamp_seconds":1786463768,"priority":1,"record_length":96,"hex_timestamp":"0000019ff189cdc0"} 
[2026-08-11 21:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 21:30:55] 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-08-11 21: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-08-11 21:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334647552001,"66":25973,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334647552001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:30:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:30:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334647552001,"power":25973,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":152497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:30:55] local.INFO: GPS data processed {"connection_id":152497,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:30:55] local.INFO: Acknowledgment sent {"connection_id":152497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:31:08] local.INFO: TCP Data received {"connection_id":152498,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:31:08] local.INFO: Processing buffer {"connection_id":152498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:31:08] local.INFO: IMEI packet received {"connection_id":152498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":152498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:31:13] local.INFO: TCP Data received {"connection_id":152498,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:31:13] local.INFO: Processing buffer {"connection_id":152498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:31:13] local.INFO: IMEI packet received {"connection_id":152498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":152498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:31:13] local.INFO: TCP Data received {"connection_id":152498,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18cdb00012d7e550005d35a58000500922d..."} 
[2026-08-11 21:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18cdb00012d7e550005d35a58000500922d..."} 
[2026-08-11 21:31:13] local.INFO: Processing buffer {"connection_id":152498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18cdb00012d7e550005d35a58000500922d..."} 
[2026-08-11 21:31:13] local.INFO: Packet analysis {"connection_id":152498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18c"} 
[2026-08-11 21:31:13] local.INFO: Extracted packet for processing {"connection_id":152498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18c"} 
[2026-08-11 21:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763254016,"raw_latitude":97737304,"longitude_deg":76.3254016,"latitude_deg":9.7737304,"altitude":5,"angle":146,"satellites":45,"speed":10,"hex_longitude":"2d7e5500","hex_latitude":"05d35a58","is_valid_coordinates":true} 
[2026-08-11 21:31: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-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334775296001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917188945346560,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102830403099328512,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] 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-08-11 21:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786463968000,"timestamp_ms":1786463968000,"timestamp_seconds":1786463968,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18cdb00"} 
[2026-08-11 21:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:31:13] 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-08-11 21:31: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":241,"raw_value":2354714625,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4052487160,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":124,"raw_value":57787505080948027,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184183464141,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-168884947360404992,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846346480,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3623955838,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495757,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":162,"raw_value":-1470425278336466944,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619930329090,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":71,"raw_value":4613326326969928192,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3170556127901387264,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":139,"raw_value":-5048533887378685947,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.WARNING: Large IO value detected {"io_id":33,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:13] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,109,85,24,241,157,16,237,159,160,45,128,124,5,43,10,66,236,129,137,7,117,1,240,37,227,211,4,113,205,28,58,73,136,42,239,47,2,162,77,206,71,177,139,33],"length":632,"final_offset":762,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-11 21:31:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360466284347719680,"timestamp_seconds":360466284347719.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 21:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334775296001,"66":11917,"109":206,"85":15104,"24":10,"16":117917188945346560,"45":9102830403099328512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334775296001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:31:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917188945346560,"km_value":117917188945346.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102830403099328512,"description":"Unknown IO ID 45"} 
[2026-08-11 21:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334775296001,"power":11917,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9102830403099328512}} 
[2026-08-11 21:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":152498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:31:13] local.INFO: GPS data processed {"connection_id":152498,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:31:13] local.INFO: Acknowledgment sent {"connection_id":152498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:31:15] local.INFO: TCP Data received {"connection_id":153833,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:31:15] local.INFO: Processing buffer {"connection_id":153833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:31:15] local.INFO: Packet analysis {"connection_id":153833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:31:15] local.INFO: Extracted packet for processing {"connection_id":153833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334664704001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786463835000,"timestamp_ms":1786463835000,"timestamp_seconds":1786463835,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18ad378"} 
[2026-08-11 21:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:31:15] 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-08-11 21: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-08-11 21:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334664704001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334664704001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:31:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334664704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":153833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:31:15] local.INFO: GPS data processed {"connection_id":153833,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:31:15] local.INFO: Acknowledgment sent {"connection_id":153833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:31:24] local.INFO: TCP Data received {"connection_id":152499,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:31:24] local.INFO: Processing buffer {"connection_id":152499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:31:24] local.INFO: IMEI packet received {"connection_id":152499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":152499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:31:29] local.INFO: TCP Data received {"connection_id":152499,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:31:29] local.INFO: Processing buffer {"connection_id":152499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:31:29] local.INFO: IMEI packet received {"connection_id":152499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":152499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:31:30] local.INFO: TCP Data received {"connection_id":152499,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:31:30] local.INFO: Processing buffer {"connection_id":152499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:31:30] local.INFO: Packet analysis {"connection_id":152499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:31:30] local.INFO: Extracted packet for processing {"connection_id":152499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:31:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21:31: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-08-11 21:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334647552001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786463768000,"timestamp_ms":1786463768000,"timestamp_seconds":1786463768,"priority":1,"record_length":96,"hex_timestamp":"0000019ff189cdc0"} 
[2026-08-11 21:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:31: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 21:31:30] 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-08-11 21:31: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-08-11 21:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334647552001,"66":25973,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334647552001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:31:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:31:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334647552001,"power":25973,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":152499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:31:30] local.INFO: GPS data processed {"connection_id":152499,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:31:30] local.INFO: Acknowledgment sent {"connection_id":152499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:31:34] local.INFO: TCP Data received {"connection_id":152499,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:31:34] local.INFO: Processing buffer {"connection_id":152499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff189cdc0012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:31:34] local.INFO: Packet analysis {"connection_id":152499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:31:34] local.INFO: Extracted packet for processing {"connection_id":152499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff189"} 
[2026-08-11 21:31:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21:31: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-08-11 21:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334647552001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786463768000,"timestamp_ms":1786463768000,"timestamp_seconds":1786463768,"priority":1,"record_length":96,"hex_timestamp":"0000019ff189cdc0"} 
[2026-08-11 21:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:31: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-11 21:31:34] 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-08-11 21:31: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-08-11 21:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334647552001,"66":25973,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334647552001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:31:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:31:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334647552001,"power":25973,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":152499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:31:34] local.INFO: GPS data processed {"connection_id":152499,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:31:34] local.INFO: Acknowledgment sent {"connection_id":152499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:31:38] local.INFO: TCP Data received {"connection_id":152500,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:31:38] local.INFO: Processing buffer {"connection_id":152500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:31:38] local.INFO: IMEI packet received {"connection_id":152500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":152500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:31:43] local.INFO: TCP Data received {"connection_id":152500,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:31:43] local.INFO: Processing buffer {"connection_id":152500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:31:43] local.INFO: IMEI packet received {"connection_id":152500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":152500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:31:44] local.INFO: TCP Data received {"connection_id":152500,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:31:44] local.INFO: Processing buffer {"connection_id":152500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:31:44] local.INFO: Packet analysis {"connection_id":152500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:31:44] local.INFO: Extracted packet for processing {"connection_id":152500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:31:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334664704001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786463835000,"timestamp_ms":1786463835000,"timestamp_seconds":1786463835,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18ad378"} 
[2026-08-11 21:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:31:44] 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-08-11 21: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-08-11 21:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:31:44] 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-08-11 21:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334664704001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334664704001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:31:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:31:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334664704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":152500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:31:44] local.INFO: GPS data processed {"connection_id":152500,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:31:44] local.INFO: Acknowledgment sent {"connection_id":152500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:31:44] local.INFO: TCP Data received {"connection_id":152498,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18d2d08012d7e564005d356080006008b2d..."} 
[2026-08-11 21:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18d2d08012d7e564005d356080006008b2d..."} 
[2026-08-11 21:31:44] local.INFO: Processing buffer {"connection_id":152498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18d2d08012d7e564005d356080006008b2d..."} 
[2026-08-11 21:31:44] local.INFO: Packet analysis {"connection_id":152498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18d"} 
[2026-08-11 21:31:44] local.INFO: Extracted packet for processing {"connection_id":152498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18d"} 
[2026-08-11 21:31:44] local.INFO: GPS Element Parsed {"raw_longitude":763254336,"raw_latitude":97736200,"longitude_deg":76.3254336,"latitude_deg":9.77362,"altitude":6,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2d7e5640","hex_latitude":"05d35608","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334775808001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917261959790592,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103182246820075520,"note":"Value kept but may cause issues"} 
[2026-08-11 21:31:44] 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-08-11 21:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786463989000,"timestamp_ms":1786463989000,"timestamp_seconds":1786463989,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18d2d08"} 
[2026-08-11 21:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:31: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-08-11 21: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-11 21:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334775808001,"66":12156,"109":206,"85":15104,"24":0,"16":117917261959790592,"45":9103182246820075520},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334775808001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:31:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917261959790592,"km_value":117917261959790.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103182246820075520,"description":"Unknown IO ID 45"} 
[2026-08-11 21:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334775808001,"power":12156,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9103182246820075520}} 
[2026-08-11 21:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":152498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:31:44] local.INFO: GPS data processed {"connection_id":152498,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:31:44] local.INFO: Acknowledgment sent {"connection_id":152498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:32:05] local.INFO: TCP Data received {"connection_id":152501,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:32:05] local.INFO: Processing buffer {"connection_id":152501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:32:05] local.INFO: IMEI packet received {"connection_id":152501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":152501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:32:08] local.INFO: TCP Data received {"connection_id":152501,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:32:08] local.INFO: Processing buffer {"connection_id":152501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:32:08] local.INFO: IMEI packet received {"connection_id":152501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":152501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:32:12] local.INFO: TCP Data received {"connection_id":152501,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:32:12] local.INFO: Processing buffer {"connection_id":152501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:32:12] local.INFO: IMEI packet received {"connection_id":152501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":152501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:32:13] local.INFO: TCP Data received {"connection_id":152501,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18d5be8012d7e568005d35628000700292d..."} 
[2026-08-11 21:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18d5be8012d7e568005d35628000700292d..."} 
[2026-08-11 21:32:13] local.INFO: Processing buffer {"connection_id":152501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18d5be8012d7e568005d35628000700292d..."} 
[2026-08-11 21:32:13] local.INFO: Packet analysis {"connection_id":152501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18d"} 
[2026-08-11 21:32:13] local.INFO: Extracted packet for processing {"connection_id":152501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18d"} 
[2026-08-11 21:32:13] local.INFO: GPS Element Parsed {"raw_longitude":763254400,"raw_latitude":97736232,"longitude_deg":76.32544,"latitude_deg":9.7736232,"altitude":7,"angle":41,"satellites":45,"speed":2,"hex_longitude":"2d7e5680","hex_latitude":"05d35628","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334781184001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917266254757888,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103534090540681216,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32:13] 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-08-11 21:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786464001000,"timestamp_ms":1786464001000,"timestamp_seconds":1786464001,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18d5be8"} 
[2026-08-11 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-08-11 21:32:13] 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-08-11 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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-11 21:32:13] 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-08-11 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-08-11 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-08-11 21:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334781184001,"66":12069,"109":206,"85":15104,"24":2,"16":117917266254757888,"45":9103534090540681216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334781184001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:32:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:32:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917266254757888,"km_value":117917266254757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103534090540681216,"description":"Unknown IO ID 45"} 
[2026-08-11 21:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334781184001,"power":12069,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9103534090540681216}} 
[2026-08-11 21:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":152501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:32:13] local.INFO: GPS data processed {"connection_id":152501,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:32:13] local.INFO: Acknowledgment sent {"connection_id":152501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:32:18] local.INFO: TCP Data received {"connection_id":155218,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:32:18] local.INFO: Processing buffer {"connection_id":155218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:32:18] local.INFO: IMEI packet received {"connection_id":155218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":155218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:32:19] local.INFO: TCP Data received {"connection_id":152500,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:32:19] local.INFO: Processing buffer {"connection_id":152500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:32:19] local.INFO: Packet analysis {"connection_id":152500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:32:19] local.INFO: Extracted packet for processing {"connection_id":152500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:32:19] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:32: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-08-11 21:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334664704001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32: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-08-11 21:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786463835000,"timestamp_ms":1786463835000,"timestamp_seconds":1786463835,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18ad378"} 
[2026-08-11 21:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:32: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:32:19] 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-08-11 21:32: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-08-11 21:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:32:19] 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-08-11 21:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334664704001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334664704001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:32:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:32:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334664704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":152500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:32:19] local.INFO: GPS data processed {"connection_id":152500,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:32:19] local.INFO: Acknowledgment sent {"connection_id":152500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:32:24] local.INFO: TCP Data received {"connection_id":155218,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:32:24] local.INFO: Processing buffer {"connection_id":155218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:32:24] local.INFO: IMEI packet received {"connection_id":155218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":155218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:32:25] local.INFO: TCP Data received {"connection_id":155218,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:32:25] local.INFO: Processing buffer {"connection_id":155218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:32:25] local.INFO: Packet analysis {"connection_id":155218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:32:25] local.INFO: Extracted packet for processing {"connection_id":155218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:32:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334724608001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786464069000,"timestamp_ms":1786464069000,"timestamp_seconds":1786464069,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18e6588"} 
[2026-08-11 21:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 21:32:25] 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-08-11 21: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-08-11 21:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334724608001,"66":25897,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334724608001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:32:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:32:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334724608001,"power":25897,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":155218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:32:25] local.INFO: GPS data processed {"connection_id":155218,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:32:25] local.INFO: Acknowledgment sent {"connection_id":155218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:32:43] local.INFO: TCP Data received {"connection_id":152502,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:32:43] local.INFO: Processing buffer {"connection_id":152502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:32:43] local.INFO: IMEI packet received {"connection_id":152502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":152502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:32:44] local.INFO: TCP Data received {"connection_id":152501,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18d7b28012d7e538005d356f0000701252d..."} 
[2026-08-11 21:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18d7b28012d7e538005d356f0000701252d..."} 
[2026-08-11 21:32:44] local.INFO: Processing buffer {"connection_id":152501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18d7b28012d7e538005d356f0000701252d..."} 
[2026-08-11 21:32:44] local.INFO: Packet analysis {"connection_id":152501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18d"} 
[2026-08-11 21:32:44] local.INFO: Extracted packet for processing {"connection_id":152501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18d"} 
[2026-08-11 21:32:44] local.INFO: GPS Element Parsed {"raw_longitude":763253632,"raw_latitude":97736432,"longitude_deg":76.3253632,"latitude_deg":9.7736432,"altitude":7,"angle":293,"satellites":45,"speed":8,"hex_longitude":"2d7e5380","hex_latitude":"05d356f0","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334784256001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917304909463552,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103604459284867072,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32:44] 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-08-11 21:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464009000,"timestamp_ms":1786464009000,"timestamp_seconds":1786464009,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18d7b28"} 
[2026-08-11 21:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:32: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-08-11 21: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-11 21:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334784256001,"66":12200,"109":206,"85":15104,"24":8,"16":117917304909463552,"45":9103604459284867072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334784256001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:32:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:32:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917304909463552,"km_value":117917304909463.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103604459284867072,"description":"Unknown IO ID 45"} 
[2026-08-11 21:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334784256001,"power":12200,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9103604459284867072}} 
[2026-08-11 21:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":152501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:32:44] local.INFO: GPS data processed {"connection_id":152501,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:32:44] local.INFO: Acknowledgment sent {"connection_id":152501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:32:48] local.INFO: TCP Data received {"connection_id":152502,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:32:48] local.INFO: Processing buffer {"connection_id":152502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:32:48] local.INFO: IMEI packet received {"connection_id":152502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":152502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:32:49] local.INFO: TCP Data received {"connection_id":152502,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:32:49] local.INFO: Processing buffer {"connection_id":152502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:32:49] local.INFO: Packet analysis {"connection_id":152502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:32:49] local.INFO: Extracted packet for processing {"connection_id":152502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:32: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-08-11 21:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334664704001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32: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-08-11 21:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786463835000,"timestamp_ms":1786463835000,"timestamp_seconds":1786463835,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18ad378"} 
[2026-08-11 21:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:32: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:32:49] 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-08-11 21:32: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-08-11 21:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334664704001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334664704001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:32:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:32:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334664704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":152502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:32:49] local.INFO: GPS data processed {"connection_id":152502,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:32:49] local.INFO: Acknowledgment sent {"connection_id":152502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:32:53] local.INFO: TCP Data received {"connection_id":152502,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:32:53] local.INFO: Processing buffer {"connection_id":152502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18ad378012d196a00071fef68003b01182d..."} 
[2026-08-11 21:32:53] local.INFO: Packet analysis {"connection_id":152502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:32:53] local.INFO: Extracted packet for processing {"connection_id":152502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18a"} 
[2026-08-11 21:32:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334664704001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 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-08-11 21:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786463835000,"timestamp_ms":1786463835000,"timestamp_seconds":1786463835,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18ad378"} 
[2026-08-11 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-08-11 21:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21: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-08-11 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-08-11 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-08-11 21:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334664704001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334664704001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:32:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:32:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334664704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":152502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:32:53] local.INFO: GPS data processed {"connection_id":152502,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:32:53] local.INFO: Acknowledgment sent {"connection_id":152502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:33:00] local.INFO: TCP Data received {"connection_id":155218,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:33:00] local.INFO: Processing buffer {"connection_id":155218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:33:00] local.INFO: Packet analysis {"connection_id":155218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:33:00] local.INFO: Extracted packet for processing {"connection_id":155218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:33:00] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334724608001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786464069000,"timestamp_ms":1786464069000,"timestamp_seconds":1786464069,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18e6588"} 
[2026-08-11 21:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 21:33:00] 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-08-11 21: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-08-11 21:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":155218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":155218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":155218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334724608001,"66":25897,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334724608001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:33:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:33:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334724608001,"power":25897,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":155218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:33:00] local.INFO: GPS data processed {"connection_id":155218,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:33:00] local.INFO: Acknowledgment sent {"connection_id":155218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:33:08] local.INFO: TCP Data received {"connection_id":153834,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:33:08] local.INFO: Processing buffer {"connection_id":153834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:33:08] local.INFO: IMEI packet received {"connection_id":153834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":153834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:33:13] local.INFO: TCP Data received {"connection_id":153834,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:33:13] local.INFO: Processing buffer {"connection_id":153834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:33:13] local.INFO: IMEI packet received {"connection_id":153834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":153834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:33:13] local.INFO: TCP Data received {"connection_id":153834,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18d8eb0012d7e4e8005d358380006011a2c..."} 
[2026-08-11 21:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18d8eb0012d7e4e8005d358380006011a2c..."} 
[2026-08-11 21:33:13] local.INFO: Processing buffer {"connection_id":153834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18d8eb0012d7e4e8005d358380006011a2c..."} 
[2026-08-11 21:33:13] local.INFO: Packet analysis {"connection_id":153834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18d"} 
[2026-08-11 21:33:13] local.INFO: Extracted packet for processing {"connection_id":153834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18d"} 
[2026-08-11 21:33:13] local.INFO: GPS Element Parsed {"raw_longitude":763252352,"raw_latitude":97736760,"longitude_deg":76.3252352,"latitude_deg":9.773676,"altitude":6,"angle":282,"satellites":44,"speed":10,"hex_longitude":"2d7e4e80","hex_latitude":"05d35838","is_valid_coordinates":true} 
[2026-08-11 21:33: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-08-11 21:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334786304001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917369333972992,"note":"Value kept but may cause issues"} 
[2026-08-11 21:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102760034354786304,"note":"Value kept but may cause issues"} 
[2026-08-11 21:33:13] 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-08-11 21:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786464014000,"timestamp_ms":1786464014000,"timestamp_seconds":1786464014,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18d8eb0"} 
[2026-08-11 21:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:33:13] 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-08-11 21:33: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-11 21:33:13] 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-08-11 21:33: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-08-11 21:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334786304001,"66":12287,"109":206,"85":15104,"24":10,"16":117917369333972992,"45":9102760034354786304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334786304001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:33:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917369333972992,"km_value":117917369333972.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102760034354786304,"description":"Unknown IO ID 45"} 
[2026-08-11 21:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334786304001,"power":12287,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9102760034354786304}} 
[2026-08-11 21:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":153834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:33:14] local.INFO: GPS data processed {"connection_id":153834,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:33:14] local.INFO: Acknowledgment sent {"connection_id":153834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:33:18] local.INFO: TCP Data received {"connection_id":155219,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:33:18] local.INFO: Processing buffer {"connection_id":155219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:33:18] local.INFO: IMEI packet received {"connection_id":155219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":155219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:33:24] local.INFO: TCP Data received {"connection_id":155219,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:33:24] local.INFO: Processing buffer {"connection_id":155219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:33:24] local.INFO: IMEI packet received {"connection_id":155219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":155219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:33:31] local.INFO: TCP Data received {"connection_id":155219,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:33:31] local.INFO: Processing buffer {"connection_id":155219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:33:31] local.INFO: Packet analysis {"connection_id":155219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:33:31] local.INFO: Extracted packet for processing {"connection_id":155219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:33:31] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21:33: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-08-11 21:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334724608001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786464069000,"timestamp_ms":1786464069000,"timestamp_seconds":1786464069,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18e6588"} 
[2026-08-11 21:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:33: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":117,"data_length":795,"current_offset":136} 
[2026-08-11 21:33:31] 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-08-11 21:33: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-08-11 21:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":155219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":155219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":155219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334724608001,"66":25897,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334724608001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:33:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:33:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334724608001,"power":25897,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":155219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:33:31] local.INFO: GPS data processed {"connection_id":155219,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:33:31] local.INFO: Acknowledgment sent {"connection_id":155219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:33:38] local.INFO: TCP Data received {"connection_id":155220,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:33:38] local.INFO: Processing buffer {"connection_id":155220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:33:38] local.INFO: IMEI packet received {"connection_id":155220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":155220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:33:43] local.INFO: TCP Data received {"connection_id":155220,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:33:43] local.INFO: Processing buffer {"connection_id":155220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:33:43] local.INFO: IMEI packet received {"connection_id":155220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":155220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:33:44] local.INFO: TCP Data received {"connection_id":155220,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:33:44] local.INFO: Processing buffer {"connection_id":155220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:33:44] local.INFO: Packet analysis {"connection_id":155220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:33:44] local.INFO: Extracted packet for processing {"connection_id":155220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:33:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:33: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-08-11 21:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334741760001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464136000,"timestamp_ms":1786464136000,"timestamp_seconds":1786464136,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18f6b40"} 
[2026-08-11 21:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:33: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-08-11 21:33: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:33:44] 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-08-11 21:33: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-08-11 21:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334741760001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334741760001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:33:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:33:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334741760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":155220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:33:44] local.INFO: GPS data processed {"connection_id":155220,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:33:44] local.INFO: Acknowledgment sent {"connection_id":155220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:33:44] local.INFO: TCP Data received {"connection_id":153834,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18da238012d7e49c005d358980006010d2c..."} 
[2026-08-11 21:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18da238012d7e49c005d358980006010d2c..."} 
[2026-08-11 21:33:44] local.INFO: Processing buffer {"connection_id":153834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18da238012d7e49c005d358980006010d2c..."} 
[2026-08-11 21:33:44] local.INFO: Packet analysis {"connection_id":153834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18d"} 
[2026-08-11 21:33:44] local.INFO: Extracted packet for processing {"connection_id":153834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18d"} 
[2026-08-11 21:33:44] local.INFO: GPS Element Parsed {"raw_longitude":763251136,"raw_latitude":97736856,"longitude_deg":76.3251136,"latitude_deg":9.7736856,"altitude":6,"angle":269,"satellites":44,"speed":8,"hex_longitude":"2d7e49c0","hex_latitude":"05d35898","is_valid_coordinates":true} 
[2026-08-11 21:33: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-08-11 21:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334787584001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917429463515136,"note":"Value kept but may cause issues"} 
[2026-08-11 21:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101352659471316992,"note":"Value kept but may cause issues"} 
[2026-08-11 21:33:44] 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-08-11 21:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464019000,"timestamp_ms":1786464019000,"timestamp_seconds":1786464019,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18da238"} 
[2026-08-11 21:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:33:44] 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-08-11 21:33: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-11 21:33:44] 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-08-11 21:33: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-08-11 21:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334787584001,"66":11950,"109":206,"85":15104,"24":8,"16":117917429463515136,"45":9101352659471316992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334787584001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:33:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:33:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917429463515136,"km_value":117917429463515.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101352659471316992,"description":"Unknown IO ID 45"} 
[2026-08-11 21:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334787584001,"power":11950,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9101352659471316992}} 
[2026-08-11 21:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":153834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:33:44] local.INFO: GPS data processed {"connection_id":153834,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:33:44] local.INFO: Acknowledgment sent {"connection_id":153834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:34:04] local.INFO: TCP Data received {"connection_id":155219,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:34:04] local.INFO: Processing buffer {"connection_id":155219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:34:04] local.INFO: Packet analysis {"connection_id":155219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:34:04] local.INFO: Extracted packet for processing {"connection_id":155219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:34:04] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334724608001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786464069000,"timestamp_ms":1786464069000,"timestamp_seconds":1786464069,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18e6588"} 
[2026-08-11 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-08-11 21:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 21:34:04] 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-08-11 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-08-11 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-08-11 21:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":155219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":155219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":155219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334724608001,"66":25897,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334724608001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:34:04] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:34:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334724608001,"power":25897,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":155219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:34:04] local.INFO: GPS data processed {"connection_id":155219,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:34:04] local.INFO: Acknowledgment sent {"connection_id":155219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:34:08] local.INFO: TCP Data received {"connection_id":152914,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:34:08] local.INFO: Processing buffer {"connection_id":152914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:34:08] local.INFO: IMEI packet received {"connection_id":152914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":152914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:34:13] local.INFO: TCP Data received {"connection_id":152914,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:34:13] local.INFO: Processing buffer {"connection_id":152914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:34:13] local.INFO: IMEI packet received {"connection_id":152914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":152914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:34:14] local.INFO: TCP Data received {"connection_id":152914,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18df440012d7e484005d35848000501072d..."} 
[2026-08-11 21:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18df440012d7e484005d35848000501072d..."} 
[2026-08-11 21:34:14] local.INFO: Processing buffer {"connection_id":152914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18df440012d7e484005d35848000501072d..."} 
[2026-08-11 21:34:14] local.INFO: Packet analysis {"connection_id":152914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18d"} 
[2026-08-11 21:34:14] local.INFO: Extracted packet for processing {"connection_id":152914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18d"} 
[2026-08-11 21:34:14] local.INFO: GPS Element Parsed {"raw_longitude":763250752,"raw_latitude":97736776,"longitude_deg":76.3250752,"latitude_deg":9.7736776,"altitude":5,"angle":263,"satellites":45,"speed":0,"hex_longitude":"2d7e4840","hex_latitude":"05d35848","is_valid_coordinates":true} 
[2026-08-11 21:34: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-08-11 21:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334788864001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917455233318912,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100015653331965952,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:14] 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-08-11 21:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786464040000,"timestamp_ms":1786464040000,"timestamp_seconds":1786464040,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18df440"} 
[2026-08-11 21:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:34:14] 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-08-11 21:34: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-11 21:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21:34: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-08-11 21:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334788864001,"66":12069,"109":206,"85":15104,"24":0,"16":117917455233318912,"45":9100015653331965952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334788864001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:34:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:34:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917455233318912,"km_value":117917455233318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100015653331965952,"description":"Unknown IO ID 45"} 
[2026-08-11 21:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334788864001,"power":12069,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9100015653331965952}} 
[2026-08-11 21:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":152914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:34:14] local.INFO: GPS data processed {"connection_id":152914,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:34:14] local.INFO: Acknowledgment sent {"connection_id":152914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:34:15] local.INFO: TCP Data received {"connection_id":155220,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:34:15] local.INFO: Processing buffer {"connection_id":155220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:34:15] local.INFO: Packet analysis {"connection_id":155220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:34:15] local.INFO: Extracted packet for processing {"connection_id":155220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:34: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-08-11 21:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334741760001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786464136000,"timestamp_ms":1786464136000,"timestamp_seconds":1786464136,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18f6b40"} 
[2026-08-11 21:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:34:15] 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-08-11 21:34: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:34:15] 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-08-11 21:34: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-08-11 21:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334741760001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334741760001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:34:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334741760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":155220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:34:15] local.INFO: GPS data processed {"connection_id":155220,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:34:15] local.INFO: Acknowledgment sent {"connection_id":155220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:34:24] local.INFO: TCP Data received {"connection_id":152915,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:34:24] local.INFO: Processing buffer {"connection_id":152915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:34:24] local.INFO: IMEI packet received {"connection_id":152915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":152915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:34:29] local.INFO: TCP Data received {"connection_id":152915,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:34:29] local.INFO: Processing buffer {"connection_id":152915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:34:29] local.INFO: IMEI packet received {"connection_id":152915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":152915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:34:30] local.INFO: TCP Data received {"connection_id":152915,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:34:30] local.INFO: Processing buffer {"connection_id":152915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:34:30] local.INFO: Packet analysis {"connection_id":152915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:34:30] local.INFO: Extracted packet for processing {"connection_id":152915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:34:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334724608001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786464069000,"timestamp_ms":1786464069000,"timestamp_seconds":1786464069,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18e6588"} 
[2026-08-11 21:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 21:34:30] 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-08-11 21: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-08-11 21:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334724608001,"66":25897,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334724608001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:34:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:34:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334724608001,"power":25897,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":152915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:34:30] local.INFO: GPS data processed {"connection_id":152915,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:34:30] local.INFO: Acknowledgment sent {"connection_id":152915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:34:34] local.INFO: TCP Data received {"connection_id":152915,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:34:34] local.INFO: Processing buffer {"connection_id":152915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:34:34] local.INFO: Packet analysis {"connection_id":152915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:34:34] local.INFO: Extracted packet for processing {"connection_id":152915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:34:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21:34: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-08-11 21:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334724608001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786464069000,"timestamp_ms":1786464069000,"timestamp_seconds":1786464069,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18e6588"} 
[2026-08-11 21:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:34: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 21:34:34] 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-08-11 21:34: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-08-11 21:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334724608001,"66":25897,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334724608001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:34:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:34:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334724608001,"power":25897,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":152915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:34:34] local.INFO: GPS data processed {"connection_id":152915,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:34:34] local.INFO: Acknowledgment sent {"connection_id":152915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:34:38] local.INFO: TCP Data received {"connection_id":153835,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:34:38] local.INFO: Processing buffer {"connection_id":153835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:34:38] local.INFO: IMEI packet received {"connection_id":153835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":153835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:34:43] local.INFO: TCP Data received {"connection_id":153835,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:34:43] local.INFO: Processing buffer {"connection_id":153835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:34:43] local.INFO: IMEI packet received {"connection_id":153835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":153835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:34:44] local.INFO: TCP Data received {"connection_id":153835,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:34:44] local.INFO: Processing buffer {"connection_id":153835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:34:44] local.INFO: Packet analysis {"connection_id":153835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:34:44] local.INFO: Extracted packet for processing {"connection_id":153835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:34:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334741760001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464136000,"timestamp_ms":1786464136000,"timestamp_seconds":1786464136,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18f6b40"} 
[2026-08-11 21:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21: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-08-11 21: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:34:44] 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-08-11 21: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-08-11 21:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334741760001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334741760001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:34:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:34:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334741760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":153835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:34:44] local.INFO: GPS data processed {"connection_id":153835,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:34:44] local.INFO: Acknowledgment sent {"connection_id":153835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:34:44] local.INFO: TCP Data received {"connection_id":152914,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18e4648012d7e484005d35848000501072a..."} 
[2026-08-11 21:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18e4648012d7e484005d35848000501072a..."} 
[2026-08-11 21:34:44] local.INFO: Processing buffer {"connection_id":152914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18e4648012d7e484005d35848000501072a..."} 
[2026-08-11 21:34:44] local.INFO: Packet analysis {"connection_id":152914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:34:44] local.INFO: Extracted packet for processing {"connection_id":152914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:34:44] local.INFO: GPS Element Parsed {"raw_longitude":763250752,"raw_latitude":97736776,"longitude_deg":76.3250752,"latitude_deg":9.7736776,"altitude":5,"angle":263,"satellites":42,"speed":0,"hex_longitude":"2d7e4840","hex_latitude":"05d35848","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334794240001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917455233318912,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099593440866879488,"note":"Value kept but may cause issues"} 
[2026-08-11 21:34:44] 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-08-11 21:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464061000,"timestamp_ms":1786464061000,"timestamp_seconds":1786464061,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18e4648"} 
[2026-08-11 21:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:34: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-08-11 21: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-11 21:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334794240001,"66":12058,"109":206,"85":15104,"24":0,"16":117917455233318912,"45":9099593440866879488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334794240001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:34:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:34:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917455233318912,"km_value":117917455233318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099593440866879488,"description":"Unknown IO ID 45"} 
[2026-08-11 21:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334794240001,"power":12058,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9099593440866879488}} 
[2026-08-11 21:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":152914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:34:45] local.INFO: GPS data processed {"connection_id":152914,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:34:45] local.INFO: Acknowledgment sent {"connection_id":152914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:35:08] local.INFO: TCP Data received {"connection_id":152503,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:35:08] local.INFO: Processing buffer {"connection_id":152503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:35:08] local.INFO: IMEI packet received {"connection_id":152503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":152503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:35:13] local.INFO: TCP Data received {"connection_id":152503,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:35:13] local.INFO: Processing buffer {"connection_id":152503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:35:13] local.INFO: IMEI packet received {"connection_id":152503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":152503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:35:15] local.INFO: TCP Data received {"connection_id":153835,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:35:15] local.INFO: Processing buffer {"connection_id":153835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:35:15] local.INFO: Packet analysis {"connection_id":153835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:35:15] local.INFO: Extracted packet for processing {"connection_id":153835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334741760001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786464136000,"timestamp_ms":1786464136000,"timestamp_seconds":1786464136,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18f6b40"} 
[2026-08-11 21:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:35:15] 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-08-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:35:15] 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-08-11 21: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-08-11 21:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334741760001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334741760001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:35:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334741760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":153835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:35:15] local.INFO: GPS data processed {"connection_id":153835,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:35:15] local.INFO: Acknowledgment sent {"connection_id":153835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:35:16] local.INFO: TCP Data received {"connection_id":152503,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18e9850012d7e484005d35848000501072d..."} 
[2026-08-11 21:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18e9850012d7e484005d35848000501072d..."} 
[2026-08-11 21:35:16] local.INFO: Processing buffer {"connection_id":152503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18e9850012d7e484005d35848000501072d..."} 
[2026-08-11 21:35:16] local.INFO: Packet analysis {"connection_id":152503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:35:16] local.INFO: Extracted packet for processing {"connection_id":152503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:35:16] local.INFO: GPS Element Parsed {"raw_longitude":763250752,"raw_latitude":97736776,"longitude_deg":76.3250752,"latitude_deg":9.7736776,"altitude":5,"angle":263,"satellites":45,"speed":0,"hex_longitude":"2d7e4840","hex_latitude":"05d35848","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334799616001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917455233318912,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099593440866879488,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:16] 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-08-11 21:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786464082000,"timestamp_ms":1786464082000,"timestamp_seconds":1786464082,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18e9850"} 
[2026-08-11 21:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:35: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-08-11 21: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-11 21:35: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-08-11 21: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-08-11 21:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334799616001,"66":12189,"109":206,"85":15104,"24":0,"16":117917455233318912,"45":9099593440866879488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334799616001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:35:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:35:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917455233318912,"km_value":117917455233318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099593440866879488,"description":"Unknown IO ID 45"} 
[2026-08-11 21:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334799616001,"power":12189,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9099593440866879488}} 
[2026-08-11 21:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":152503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:35:16] local.INFO: GPS data processed {"connection_id":152503,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:35:16] local.INFO: Acknowledgment sent {"connection_id":152503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:35:19] local.INFO: TCP Data received {"connection_id":152504,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:35:19] local.INFO: Processing buffer {"connection_id":152504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:35:19] local.INFO: IMEI packet received {"connection_id":152504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":152504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:35:24] local.INFO: TCP Data received {"connection_id":152504,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:35:24] local.INFO: Processing buffer {"connection_id":152504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:35:24] local.INFO: IMEI packet received {"connection_id":152504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":152504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:35:25] local.INFO: TCP Data received {"connection_id":152504,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:35:25] local.INFO: Processing buffer {"connection_id":152504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:35:25] local.INFO: Packet analysis {"connection_id":152504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:35:25] local.INFO: Extracted packet for processing {"connection_id":152504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:35:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334724608001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786464069000,"timestamp_ms":1786464069000,"timestamp_seconds":1786464069,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18e6588"} 
[2026-08-11 21:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 21:35:25] 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-08-11 21: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-08-11 21:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334724608001,"66":25897,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334724608001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:35:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:35:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334724608001,"power":25897,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":152504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:35:25] local.INFO: GPS data processed {"connection_id":152504,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:35:25] local.INFO: Acknowledgment sent {"connection_id":152504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:35:38] local.INFO: TCP Data received {"connection_id":152916,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:35:38] local.INFO: Processing buffer {"connection_id":152916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:35:38] local.INFO: IMEI packet received {"connection_id":152916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":152916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:35:43] local.INFO: TCP Data received {"connection_id":152916,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:35:43] local.INFO: Processing buffer {"connection_id":152916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:35:43] local.INFO: IMEI packet received {"connection_id":152916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":152916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:35:44] local.INFO: TCP Data received {"connection_id":152916,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:35:44] local.INFO: Processing buffer {"connection_id":152916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:35:44] local.INFO: Packet analysis {"connection_id":152916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:35:44] local.INFO: Extracted packet for processing {"connection_id":152916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:35:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:35: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-08-11 21:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334741760001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464136000,"timestamp_ms":1786464136000,"timestamp_seconds":1786464136,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18f6b40"} 
[2026-08-11 21:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:35: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-08-11 21:35: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:35:44] 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-08-11 21:35: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-08-11 21:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334741760001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334741760001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:35:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:35:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334741760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":152916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:35:44] local.INFO: GPS data processed {"connection_id":152916,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:35:44] local.INFO: Acknowledgment sent {"connection_id":152916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:35:47] local.INFO: TCP Data received {"connection_id":152503,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18ecf00012d7e46c005d35738000500fb2e..."} 
[2026-08-11 21:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18ecf00012d7e46c005d35738000500fb2e..."} 
[2026-08-11 21:35:47] local.INFO: Processing buffer {"connection_id":152503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18ecf00012d7e46c005d35738000500fb2e..."} 
[2026-08-11 21:35:47] local.INFO: Packet analysis {"connection_id":152503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:35:47] local.INFO: Extracted packet for processing {"connection_id":152503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:35:47] local.INFO: GPS Element Parsed {"raw_longitude":763250368,"raw_latitude":97736504,"longitude_deg":76.3250368,"latitude_deg":9.7736504,"altitude":5,"angle":251,"satellites":46,"speed":4,"hex_longitude":"2d7e46c0","hex_latitude":"05d35738","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334804992001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917476708155392,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099593440866879488,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:47] 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-08-11 21:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786464096000,"timestamp_ms":1786464096000,"timestamp_seconds":1786464096,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18ecf00"} 
[2026-08-11 21:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:35:47] 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-08-11 21: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-11 21:35:47] 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-08-11 21: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-08-11 21:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334804992001,"66":12026,"109":206,"85":15104,"24":4,"16":117917476708155392,"45":9099593440866879488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334804992001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:35:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:35:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917476708155392,"km_value":117917476708155.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099593440866879488,"description":"Unknown IO ID 45"} 
[2026-08-11 21:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334804992001,"power":12026,"unknown_109":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9099593440866879488}} 
[2026-08-11 21:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":152503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:35:47] local.INFO: GPS data processed {"connection_id":152503,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:35:47] local.INFO: Acknowledgment sent {"connection_id":152503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:35:56] local.INFO: TCP Data received {"connection_id":152504,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:35:56] local.INFO: Processing buffer {"connection_id":152504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:35:56] local.INFO: Packet analysis {"connection_id":152504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:35:56] local.INFO: Extracted packet for processing {"connection_id":152504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:35:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21:35: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-08-11 21:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334724608001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786464069000,"timestamp_ms":1786464069000,"timestamp_seconds":1786464069,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18e6588"} 
[2026-08-11 21:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:35: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":117,"data_length":795,"current_offset":136} 
[2026-08-11 21:35:56] 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-08-11 21:35: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-08-11 21:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334724608001,"66":25897,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334724608001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:35:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:35:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334724608001,"power":25897,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":152504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:35:56] local.INFO: GPS data processed {"connection_id":152504,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:35:56] local.INFO: Acknowledgment sent {"connection_id":152504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:36:08] local.INFO: TCP Data received {"connection_id":152917,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:36:08] local.INFO: Processing buffer {"connection_id":152917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:36:08] local.INFO: IMEI packet received {"connection_id":152917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":152917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:36:13] local.INFO: TCP Data received {"connection_id":152917,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:36:13] local.INFO: Processing buffer {"connection_id":152917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:36:13] local.INFO: IMEI packet received {"connection_id":152917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":152917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:36:14] local.INFO: TCP Data received {"connection_id":152917,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18ee288012d7e450005d356b00004010f2e..."} 
[2026-08-11 21:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18ee288012d7e450005d356b00004010f2e..."} 
[2026-08-11 21:36:14] local.INFO: Processing buffer {"connection_id":152917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18ee288012d7e450005d356b00004010f2e..."} 
[2026-08-11 21:36:14] local.INFO: Packet analysis {"connection_id":152917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:36:14] local.INFO: Extracted packet for processing {"connection_id":152917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:36:14] local.INFO: GPS Element Parsed {"raw_longitude":763249920,"raw_latitude":97736368,"longitude_deg":76.324992,"latitude_deg":9.7736368,"altitude":4,"angle":271,"satellites":46,"speed":2,"hex_longitude":"2d7e4500","hex_latitude":"05d356b0","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334808576001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917502477959168,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099171228401743872,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36:14] 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-08-11 21:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786464101000,"timestamp_ms":1786464101000,"timestamp_seconds":1786464101,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18ee288"} 
[2026-08-11 21:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:36: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-08-11 21: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-11 21:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334808576001,"66":11145,"109":206,"85":15104,"24":2,"16":117917502477959168,"45":9099171228401743872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334808576001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:36:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:36:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917502477959168,"km_value":117917502477959.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099171228401743872,"description":"Unknown IO ID 45"} 
[2026-08-11 21:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334808576001,"power":11145,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9099171228401743872}} 
[2026-08-11 21:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":152917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:36:14] local.INFO: GPS data processed {"connection_id":152917,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:36:14] local.INFO: Acknowledgment sent {"connection_id":152917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:36:15] local.INFO: TCP Data received {"connection_id":152916,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:36:15] local.INFO: Processing buffer {"connection_id":152916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:36:15] local.INFO: Packet analysis {"connection_id":152916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:36:15] local.INFO: Extracted packet for processing {"connection_id":152916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334741760001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786464136000,"timestamp_ms":1786464136000,"timestamp_seconds":1786464136,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18f6b40"} 
[2026-08-11 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-08-11 21:36:15] 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-08-11 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:36:15] 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-08-11 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-08-11 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-08-11 21:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334741760001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334741760001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:36:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334741760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":152916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:36:15] local.INFO: GPS data processed {"connection_id":152916,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:36:15] local.INFO: Acknowledgment sent {"connection_id":152916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:36:18] local.INFO: TCP Data received {"connection_id":152918,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:36:18] local.INFO: Processing buffer {"connection_id":152918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:36:18] local.INFO: IMEI packet received {"connection_id":152918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":152918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:36:23] local.INFO: TCP Data received {"connection_id":152918,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:36:23] local.INFO: Processing buffer {"connection_id":152918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:36:23] local.INFO: IMEI packet received {"connection_id":152918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":152918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:36:25] local.INFO: TCP Data received {"connection_id":152918,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:36:25] local.INFO: Processing buffer {"connection_id":152918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18e6588012d77ab8005f2a748001800fd2a..."} 
[2026-08-11 21:36:25] local.INFO: Packet analysis {"connection_id":152918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:36:25] local.INFO: Extracted packet for processing {"connection_id":152918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:36:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":24,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334724608001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786464069000,"timestamp_ms":1786464069000,"timestamp_seconds":1786464069,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18e6588"} 
[2026-08-11 21:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-11 21:36:25] 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-08-11 21: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-08-11 21:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334724608001,"66":25897,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334724608001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:36:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:36:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334724608001,"power":25897,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":152918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:36:25] local.INFO: GPS data processed {"connection_id":152918,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:36:25] local.INFO: Acknowledgment sent {"connection_id":152918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:36:43] local.INFO: TCP Data received {"connection_id":155221,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:36:43] local.INFO: Processing buffer {"connection_id":155221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:36:43] local.INFO: IMEI packet received {"connection_id":155221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":155221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:36:46] local.INFO: TCP Data received {"connection_id":152917,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18ee670012d7e450005d356c0000401212e..."} 
[2026-08-11 21:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18ee670012d7e450005d356c0000401212e..."} 
[2026-08-11 21:36:46] local.INFO: Processing buffer {"connection_id":152917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18ee670012d7e450005d356c0000401212e..."} 
[2026-08-11 21:36:46] local.INFO: Packet analysis {"connection_id":152917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:36:46] local.INFO: Extracted packet for processing {"connection_id":152917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18e"} 
[2026-08-11 21:36:46] local.INFO: GPS Element Parsed {"raw_longitude":763249920,"raw_latitude":97736384,"longitude_deg":76.324992,"latitude_deg":9.7736384,"altitude":4,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7e4500","hex_latitude":"05d356c0","is_valid_coordinates":true} 
[2026-08-11 21:36: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-08-11 21:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334809856001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917502477959168,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098678647192465408,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36: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-08-11 21:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786464102000,"timestamp_ms":1786464102000,"timestamp_seconds":1786464102,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18ee670"} 
[2026-08-11 21:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-11 21:36: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":43,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-11 21:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1646,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21:36: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-08-11 21:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334809856001,"66":11145,"109":206,"85":15104,"24":0,"16":117917502477959168,"45":9098678647192465408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334809856001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:36:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:36:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917502477959168,"km_value":117917502477959.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098678647192465408,"description":"Unknown IO ID 45"} 
[2026-08-11 21:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334809856001,"power":11145,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098678647192465408}} 
[2026-08-11 21:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":152917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:36:46] local.INFO: GPS data processed {"connection_id":152917,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:36:46] local.INFO: Acknowledgment sent {"connection_id":152917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:36:48] local.INFO: TCP Data received {"connection_id":155221,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:36:48] local.INFO: Processing buffer {"connection_id":155221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:36:48] local.INFO: IMEI packet received {"connection_id":155221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":155221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:36:49] local.INFO: TCP Data received {"connection_id":155221,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:36:49] local.INFO: Processing buffer {"connection_id":155221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:36:49] local.INFO: Packet analysis {"connection_id":155221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:36:49] local.INFO: Extracted packet for processing {"connection_id":155221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:36:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:36: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-08-11 21:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334741760001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36: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-08-11 21:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786464136000,"timestamp_ms":1786464136000,"timestamp_seconds":1786464136,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18f6b40"} 
[2026-08-11 21:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:36: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-08-11 21:36: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:36:49] 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-08-11 21:36: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-08-11 21:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":155221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":155221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":155221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334741760001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334741760001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:36:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:36:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334741760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":155221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:36:49] local.INFO: GPS data processed {"connection_id":155221,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:36:49] local.INFO: Acknowledgment sent {"connection_id":155221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:36:53] local.INFO: TCP Data received {"connection_id":155221,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:36:53] local.INFO: Processing buffer {"connection_id":155221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:36:53] local.INFO: Packet analysis {"connection_id":155221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:36:53] local.INFO: Extracted packet for processing {"connection_id":155221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:36:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334741760001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21: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-08-11 21:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786464136000,"timestamp_ms":1786464136000,"timestamp_seconds":1786464136,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18f6b40"} 
[2026-08-11 21:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21: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-08-11 21: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:36: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-08-11 21: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-08-11 21:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":155221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":155221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":155221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334741760001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334741760001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:36:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:36:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334741760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":155221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:36:53] local.INFO: GPS data processed {"connection_id":155221,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:36:53] local.INFO: Acknowledgment sent {"connection_id":155221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:37:01] local.INFO: TCP Data received {"connection_id":152918,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:37:01] local.INFO: Processing buffer {"connection_id":152918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:37:01] local.INFO: Packet analysis {"connection_id":152918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:37:01] local.INFO: Extracted packet for processing {"connection_id":152918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:37:01] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334801664001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786464370000,"timestamp_ms":1786464370000,"timestamp_seconds":1786464370,"priority":1,"record_length":96,"hex_timestamp":"0000019ff192fd50"} 
[2026-08-11 21:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 21:37: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-08-11 21: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-08-11 21:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334801664001,"66":25875,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334801664001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:37:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:37:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334801664001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":152918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:37:01] local.INFO: GPS data processed {"connection_id":152918,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:37:01] local.INFO: Acknowledgment sent {"connection_id":152918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:37:08] local.INFO: TCP Data received {"connection_id":152505,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:37:08] local.INFO: Processing buffer {"connection_id":152505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:37:08] local.INFO: IMEI packet received {"connection_id":152505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":152505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:37:13] local.INFO: TCP Data received {"connection_id":152505,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:37:13] local.INFO: Processing buffer {"connection_id":152505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:37:13] local.INFO: IMEI packet received {"connection_id":152505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":152505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:37:13] local.INFO: TCP Data received {"connection_id":152505,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18f3878012d7e448005d356d0000401212d..."} 
[2026-08-11 21:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18f3878012d7e448005d356d0000401212d..."} 
[2026-08-11 21:37:13] local.INFO: Processing buffer {"connection_id":152505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18f3878012d7e448005d356d0000401212d..."} 
[2026-08-11 21:37:13] local.INFO: Packet analysis {"connection_id":152505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:37:13] local.INFO: Extracted packet for processing {"connection_id":152505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736400,"longitude_deg":76.3249792,"latitude_deg":9.77364,"altitude":4,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d0","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334810112001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098678647192469504,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:13] 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-08-11 21:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786464123000,"timestamp_ms":1786464123000,"timestamp_seconds":1786464123,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18f3878"} 
[2026-08-11 21:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:37: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-08-11 21: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":43,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-11 21:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1646,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334810112001,"66":13319,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098678647192469504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334810112001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:37:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098678647192469504,"description":"Unknown IO ID 45"} 
[2026-08-11 21:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334810112001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098678647192469504}} 
[2026-08-11 21:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":152505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:37:13] local.INFO: GPS data processed {"connection_id":152505,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:37:13] local.INFO: Acknowledgment sent {"connection_id":152505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:37:24] local.INFO: TCP Data received {"connection_id":152506,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:37:24] local.INFO: Processing buffer {"connection_id":152506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:37:24] local.INFO: IMEI packet received {"connection_id":152506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":152506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:37:29] local.INFO: TCP Data received {"connection_id":152506,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:37:29] local.INFO: Processing buffer {"connection_id":152506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:37:29] local.INFO: IMEI packet received {"connection_id":152506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":152506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:37:30] local.INFO: TCP Data received {"connection_id":152506,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:37:30] local.INFO: Processing buffer {"connection_id":152506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:37:30] local.INFO: Packet analysis {"connection_id":152506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:37:30] local.INFO: Extracted packet for processing {"connection_id":152506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:37:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334801664001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786464370000,"timestamp_ms":1786464370000,"timestamp_seconds":1786464370,"priority":1,"record_length":96,"hex_timestamp":"0000019ff192fd50"} 
[2026-08-11 21:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":41,"data_length":795,"current_offset":136} 
[2026-08-11 21:37:30] 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-08-11 21: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-08-11 21:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334801664001,"66":25875,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334801664001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:37:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:37:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334801664001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":152506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:37:30] local.INFO: GPS data processed {"connection_id":152506,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:37:30] local.INFO: Acknowledgment sent {"connection_id":152506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:37:38] local.INFO: TCP Data received {"connection_id":153836,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:37:38] local.INFO: Processing buffer {"connection_id":153836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:37:38] local.INFO: IMEI packet received {"connection_id":153836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":153836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:37:43] local.INFO: TCP Data received {"connection_id":153836,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:37:43] local.INFO: Processing buffer {"connection_id":153836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:37:43] local.INFO: IMEI packet received {"connection_id":153836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":153836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:37:44] local.INFO: TCP Data received {"connection_id":153836,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:37:44] local.INFO: Processing buffer {"connection_id":153836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18f6b40012d196a00071fef68003b01182a..."} 
[2026-08-11 21:37:44] local.INFO: Packet analysis {"connection_id":153836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:37:44] local.INFO: Extracted packet for processing {"connection_id":153836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:37:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334741760001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464136000,"timestamp_ms":1786464136000,"timestamp_seconds":1786464136,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18f6b40"} 
[2026-08-11 21:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:37: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-08-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:37:44] 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-08-11 21: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-08-11 21:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:37:44] 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-08-11 21:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334741760001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334741760001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:37:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:37:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334741760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":153836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:37:44] local.INFO: GPS data processed {"connection_id":153836,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:37:44] local.INFO: Acknowledgment sent {"connection_id":153836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:37:44] local.INFO: TCP Data received {"connection_id":152505,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18f53d0012d7e448005d356d0000401212c..."} 
[2026-08-11 21:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18f53d0012d7e448005d356d0000401212c..."} 
[2026-08-11 21:37:44] local.INFO: Processing buffer {"connection_id":152505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18f53d0012d7e448005d356d0000401212c..."} 
[2026-08-11 21:37:44] local.INFO: Packet analysis {"connection_id":152505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:37:44] local.INFO: Extracted packet for processing {"connection_id":152505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:37:44] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736400,"longitude_deg":76.3249792,"latitude_deg":9.77364,"altitude":4,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d0","is_valid_coordinates":true} 
[2026-08-11 21:37: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-08-11 21:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334815488001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704118272,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:44] 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-08-11 21:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464130000,"timestamp_ms":1786464130000,"timestamp_seconds":1786464130,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18f53d0"} 
[2026-08-11 21:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:37: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-08-11 21: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-11 21:37:44] local.WARNING: Large IO value detected {"io_id":241,"raw_value":2392346625,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4052612160,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788847,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:44] local.WARNING: Large IO value detected {"io_id":211,"raw_value":6383852497585122304,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-11 21:37:44] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3981246464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:44] local.WARNING: Large IO value detected {"io_id":37,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:44] local.WARNING: Large IO value detected {"io_id":141,"raw_value":-6757649945965510651,"note":"Value kept but may cause issues"} 
[2026-08-11 21:37:44] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,237,159,230,45,86,4,46,10,66,226,207,192,1,240,250,227,211,113,205,70,72,42,239,47,2,162,5,37,141],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-11 21:37:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288548328285667328,"timestamp_seconds":288548328285667.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-11 21:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334815488001,"66":13363,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704118272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334815488001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:37:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:37:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704118272,"description":"Unknown IO ID 45"} 
[2026-08-11 21:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334815488001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704118272}} 
[2026-08-11 21:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":152505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:37:44] local.INFO: GPS data processed {"connection_id":152505,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:37:44] local.INFO: Acknowledgment sent {"connection_id":152505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:38:01] local.INFO: TCP Data received {"connection_id":152506,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:38:01] local.INFO: Processing buffer {"connection_id":152506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:38:01] local.INFO: Packet analysis {"connection_id":152506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:38:01] local.INFO: Extracted packet for processing {"connection_id":152506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:38:01] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334801664001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786464370000,"timestamp_ms":1786464370000,"timestamp_seconds":1786464370,"priority":1,"record_length":96,"hex_timestamp":"0000019ff192fd50"} 
[2026-08-11 21:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 21:38: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-08-11 21: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-08-11 21:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334801664001,"66":25875,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334801664001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:38:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:38:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334801664001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":152506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:38:01] local.INFO: GPS data processed {"connection_id":152506,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:38:01] local.INFO: Acknowledgment sent {"connection_id":152506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:38:08] local.INFO: TCP Data received {"connection_id":155222,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:38:08] local.INFO: Processing buffer {"connection_id":155222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:38:08] local.INFO: IMEI packet received {"connection_id":155222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":155222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:38:13] local.INFO: TCP Data received {"connection_id":155222,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:38:13] local.INFO: Processing buffer {"connection_id":155222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:38:13] local.INFO: IMEI packet received {"connection_id":155222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":155222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:38:13] local.INFO: TCP Data received {"connection_id":155222,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff18f53d0012d7e448005d356d0000401212c..."} 
[2026-08-11 21:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff18f53d0012d7e448005d356d0000401212c..."} 
[2026-08-11 21:38:13] local.INFO: Processing buffer {"connection_id":155222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff18f53d0012d7e448005d356d0000401212c..."} 
[2026-08-11 21:38:13] local.INFO: Packet analysis {"connection_id":155222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:38:13] local.INFO: Extracted packet for processing {"connection_id":155222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff18f"} 
[2026-08-11 21:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736400,"longitude_deg":76.3249792,"latitude_deg":9.77364,"altitude":4,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d0","is_valid_coordinates":true} 
[2026-08-11 21:38:13] 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-08-11 21:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334817280001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704118272,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:13] 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-08-11 21:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786464130000,"timestamp_ms":1786464130000,"timestamp_seconds":1786464130,"priority":1,"record_length":96,"hex_timestamp":"0000019ff18f53d0"} 
[2026-08-11 21:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:38:13] 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-08-11 21:38: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-08-11 21:38: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-08-11 21:38: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-08-11 21:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":155222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":155222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":155222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334817280001,"66":13363,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704118272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334817280001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:38:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704118272,"description":"Unknown IO ID 45"} 
[2026-08-11 21:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334817280001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704118272}} 
[2026-08-11 21:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":155222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:38:13] local.INFO: GPS data processed {"connection_id":155222,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:38:13] local.INFO: Acknowledgment sent {"connection_id":155222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:38:15] local.INFO: TCP Data received {"connection_id":153836,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:38:15] local.INFO: Processing buffer {"connection_id":153836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:38:15] local.INFO: Packet analysis {"connection_id":153836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:38:15] local.INFO: Extracted packet for processing {"connection_id":153836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:38: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-08-11 21:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334818816001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786464437000,"timestamp_ms":1786464437000,"timestamp_seconds":1786464437,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1940308"} 
[2026-08-11 21:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:38: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:38:15] 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-08-11 21:38: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-08-11 21:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:38:15] 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-08-11 21:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334818816001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334818816001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:38:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334818816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":153836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:38:15] local.INFO: GPS data processed {"connection_id":153836,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:38:15] local.INFO: Acknowledgment sent {"connection_id":153836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:38:18] local.INFO: TCP Data received {"connection_id":152507,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:38:18] local.INFO: Processing buffer {"connection_id":152507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:38:18] local.INFO: IMEI packet received {"connection_id":152507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":152507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:38:24] local.INFO: TCP Data received {"connection_id":152507,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:38:24] local.INFO: Processing buffer {"connection_id":152507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:38:24] local.INFO: IMEI packet received {"connection_id":152507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":152507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:38:25] local.INFO: TCP Data received {"connection_id":152507,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:38:25] local.INFO: Processing buffer {"connection_id":152507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:38:25] local.INFO: Packet analysis {"connection_id":152507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:38:25] local.INFO: Extracted packet for processing {"connection_id":152507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:38:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334801664001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786464370000,"timestamp_ms":1786464370000,"timestamp_seconds":1786464370,"priority":1,"record_length":96,"hex_timestamp":"0000019ff192fd50"} 
[2026-08-11 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-08-11 21:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 21:38:25] 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-08-11 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-08-11 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-08-11 21:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334801664001,"66":25875,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334801664001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:38:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:38:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334801664001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":152507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:38:25] local.INFO: GPS data processed {"connection_id":152507,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:38:25] local.INFO: Acknowledgment sent {"connection_id":152507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:38:38] local.INFO: TCP Data received {"connection_id":152508,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:38:38] local.INFO: Processing buffer {"connection_id":152508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:38:38] local.INFO: IMEI packet received {"connection_id":152508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":152508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:38:43] local.INFO: TCP Data received {"connection_id":152508,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:38:43] local.INFO: Processing buffer {"connection_id":152508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:38:43] local.INFO: IMEI packet received {"connection_id":152508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":152508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:38:44] local.INFO: TCP Data received {"connection_id":152508,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:38:44] local.INFO: Processing buffer {"connection_id":152508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:38:44] local.INFO: Packet analysis {"connection_id":152508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:38:44] local.INFO: Extracted packet for processing {"connection_id":152508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:38:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:38: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-08-11 21:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334818816001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464437000,"timestamp_ms":1786464437000,"timestamp_seconds":1786464437,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1940308"} 
[2026-08-11 21:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:38: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:38:44] 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-08-11 21:38: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-08-11 21:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334818816001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334818816001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:38:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:38:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334818816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":152508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:38:44] local.INFO: GPS data processed {"connection_id":152508,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:38:44] local.INFO: Acknowledgment sent {"connection_id":152508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:38:44] local.INFO: TCP Data received {"connection_id":155222,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:38:44] local.INFO: Processing buffer {"connection_id":155222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:38:44] local.INFO: Packet analysis {"connection_id":155222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff193"} 
[2026-08-11 21:38:44] local.INFO: Extracted packet for processing {"connection_id":155222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff193"} 
[2026-08-11 21:38:44] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21:38: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-08-11 21:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334817280001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704118272,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:44] 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-08-11 21:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464432000,"timestamp_ms":1786464432000,"timestamp_seconds":1786464432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff193ef80"} 
[2026-08-11 21:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:38:44] 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-08-11 21:38: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 21:38:44] 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-08-11 21:38: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-08-11 21:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334817280001,"66":12798,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704118272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334817280001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:38:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:38:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704118272,"description":"Unknown IO ID 45"} 
[2026-08-11 21:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334817280001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704118272}} 
[2026-08-11 21:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":155222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:38:44] local.INFO: GPS data processed {"connection_id":155222,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:38:44] local.INFO: Acknowledgment sent {"connection_id":155222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:38:55] local.INFO: TCP Data received {"connection_id":152507,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:38:55] local.INFO: Processing buffer {"connection_id":152507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:38:55] local.INFO: Packet analysis {"connection_id":152507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:38:55] local.INFO: Extracted packet for processing {"connection_id":152507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:38:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334801664001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786464370000,"timestamp_ms":1786464370000,"timestamp_seconds":1786464370,"priority":1,"record_length":96,"hex_timestamp":"0000019ff192fd50"} 
[2026-08-11 21:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":41,"data_length":795,"current_offset":136} 
[2026-08-11 21:38:55] 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-08-11 21: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-08-11 21:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334801664001,"66":25875,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334801664001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:38:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:38:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334801664001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":152507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:38:56] local.INFO: GPS data processed {"connection_id":152507,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:38:56] local.INFO: Acknowledgment sent {"connection_id":152507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:39:08] local.INFO: TCP Data received {"connection_id":153837,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:39:08] local.INFO: Processing buffer {"connection_id":153837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:39:08] local.INFO: IMEI packet received {"connection_id":153837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":153837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:39:13] local.INFO: TCP Data received {"connection_id":153837,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:39:13] local.INFO: Processing buffer {"connection_id":153837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:39:13] local.INFO: IMEI packet received {"connection_id":153837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":153837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:39:15] local.INFO: TCP Data received {"connection_id":152508,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:39:15] local.INFO: Processing buffer {"connection_id":152508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:39:15] local.INFO: Packet analysis {"connection_id":152508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:39:15] local.INFO: Extracted packet for processing {"connection_id":152508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334818816001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786464437000,"timestamp_ms":1786464437000,"timestamp_seconds":1786464437,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1940308"} 
[2026-08-11 21:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:39:15] 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-08-11 21: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-08-11 21:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334818816001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334818816001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:39:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334818816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":152508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:39:15] local.INFO: GPS data processed {"connection_id":152508,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:39:15] local.INFO: Acknowledgment sent {"connection_id":152508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:39:16] local.INFO: TCP Data received {"connection_id":153837,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:39:16] local.INFO: Processing buffer {"connection_id":153837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:39:16] local.INFO: Packet analysis {"connection_id":153837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff193"} 
[2026-08-11 21:39:16] local.INFO: Extracted packet for processing {"connection_id":153837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff193"} 
[2026-08-11 21:39:16] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21:39: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-08-11 21:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334817280001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704118272,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:16] 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-08-11 21:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786464432000,"timestamp_ms":1786464432000,"timestamp_seconds":1786464432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff193ef80"} 
[2026-08-11 21:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:39:16] 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-08-11 21:39: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-08-11 21:39: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-08-11 21:39: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-08-11 21:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334817280001,"66":12798,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704118272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334817280001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:39:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:39:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704118272,"description":"Unknown IO ID 45"} 
[2026-08-11 21:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334817280001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704118272}} 
[2026-08-11 21:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":153837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:39:16] local.INFO: GPS data processed {"connection_id":153837,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:39:16] local.INFO: Acknowledgment sent {"connection_id":153837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:39:18] local.INFO: TCP Data received {"connection_id":152919,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:39:18] local.INFO: Processing buffer {"connection_id":152919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:39:18] local.INFO: IMEI packet received {"connection_id":152919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":152919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:39:24] local.INFO: TCP Data received {"connection_id":152919,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:39:24] local.INFO: Processing buffer {"connection_id":152919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:39:24] local.INFO: IMEI packet received {"connection_id":152919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":152919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:39:25] local.INFO: TCP Data received {"connection_id":152919,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:39:25] local.INFO: Processing buffer {"connection_id":152919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:39:25] local.INFO: Packet analysis {"connection_id":152919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:39:25] local.INFO: Extracted packet for processing {"connection_id":152919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:39:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334801664001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786464370000,"timestamp_ms":1786464370000,"timestamp_seconds":1786464370,"priority":1,"record_length":96,"hex_timestamp":"0000019ff192fd50"} 
[2026-08-11 21:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 21:39:25] 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-08-11 21: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-08-11 21:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334801664001,"66":25875,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334801664001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:39:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:39:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334801664001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":152919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:39:25] local.INFO: GPS data processed {"connection_id":152919,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:39:25] local.INFO: Acknowledgment sent {"connection_id":152919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:39:43] local.INFO: TCP Data received {"connection_id":152920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:39:43] local.INFO: Processing buffer {"connection_id":152920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:39:43] local.INFO: IMEI packet received {"connection_id":152920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":152920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:39:48] local.INFO: TCP Data received {"connection_id":152920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:39:48] local.INFO: Processing buffer {"connection_id":152920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:39:48] local.INFO: IMEI packet received {"connection_id":152920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":152920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:39:49] local.INFO: TCP Data received {"connection_id":152920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:39:49] local.INFO: Processing buffer {"connection_id":152920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:39:49] local.INFO: Packet analysis {"connection_id":152920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:39:49] local.INFO: Extracted packet for processing {"connection_id":152920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334818816001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39: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-08-11 21:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786464437000,"timestamp_ms":1786464437000,"timestamp_seconds":1786464437,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1940308"} 
[2026-08-11 21:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:39:49] 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-08-11 21: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-08-11 21:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334818816001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334818816001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:39:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334818816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":152920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:39:49] local.INFO: GPS data processed {"connection_id":152920,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:39:49] local.INFO: Acknowledgment sent {"connection_id":152920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:39:50] local.INFO: TCP Data received {"connection_id":153837,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:39:50] local.INFO: Processing buffer {"connection_id":153837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:39:50] local.INFO: Packet analysis {"connection_id":153837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff193"} 
[2026-08-11 21:39:50] local.INFO: Extracted packet for processing {"connection_id":153837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff193"} 
[2026-08-11 21:39:50] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334817280001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704118272,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:50] 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-08-11 21:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786464432000,"timestamp_ms":1786464432000,"timestamp_seconds":1786464432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff193ef80"} 
[2026-08-11 21:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:39:50] 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-08-11 21: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 21:39:50] 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-08-11 21: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-08-11 21:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":153837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":153837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":153837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334817280001,"66":12798,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704118272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334817280001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:39:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:39:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704118272,"description":"Unknown IO ID 45"} 
[2026-08-11 21:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334817280001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704118272}} 
[2026-08-11 21:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":153837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:39:50] local.INFO: GPS data processed {"connection_id":153837,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:39:50] local.INFO: Acknowledgment sent {"connection_id":153837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:39:53] local.INFO: TCP Data received {"connection_id":152920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:39:53] local.INFO: Processing buffer {"connection_id":152920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:39:53] local.INFO: Packet analysis {"connection_id":152920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:39:53] local.INFO: Extracted packet for processing {"connection_id":152920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:39:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334818816001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 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-08-11 21:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786464437000,"timestamp_ms":1786464437000,"timestamp_seconds":1786464437,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1940308"} 
[2026-08-11 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-08-11 21:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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-08-11 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-08-11 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-08-11 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-08-11 21:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 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-08-11 21:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334818816001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334818816001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:39:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:39:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334818816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":152920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:39:53] local.INFO: GPS data processed {"connection_id":152920,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:39:53] local.INFO: Acknowledgment sent {"connection_id":152920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:39:56] local.INFO: TCP Data received {"connection_id":152919,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:39:56] local.INFO: Processing buffer {"connection_id":152919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:39:56] local.INFO: Packet analysis {"connection_id":152919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:39:56] local.INFO: Extracted packet for processing {"connection_id":152919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:39:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334801664001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786464370000,"timestamp_ms":1786464370000,"timestamp_seconds":1786464370,"priority":1,"record_length":96,"hex_timestamp":"0000019ff192fd50"} 
[2026-08-11 21:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 21:39: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-08-11 21: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-08-11 21:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334801664001,"66":25875,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334801664001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:39:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:39:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334801664001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":152919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:39:56] local.INFO: GPS data processed {"connection_id":152919,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:39:56] local.INFO: Acknowledgment sent {"connection_id":152919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:40:08] local.INFO: TCP Data received {"connection_id":152921,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:40:08] local.INFO: Processing buffer {"connection_id":152921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:40:08] local.INFO: IMEI packet received {"connection_id":152921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":152921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:40:13] local.INFO: TCP Data received {"connection_id":152921,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:40:13] local.INFO: Processing buffer {"connection_id":152921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:40:13] local.INFO: IMEI packet received {"connection_id":152921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":152921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:40:13] local.INFO: TCP Data received {"connection_id":152921,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:40:13] local.INFO: Processing buffer {"connection_id":152921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:40:13] local.INFO: Packet analysis {"connection_id":152921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff193"} 
[2026-08-11 21:40:13] local.INFO: Extracted packet for processing {"connection_id":152921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff193"} 
[2026-08-11 21:40:13] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21:40: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-08-11 21:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334817280001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704118272,"note":"Value kept but may cause issues"} 
[2026-08-11 21:40:13] 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-08-11 21:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786464432000,"timestamp_ms":1786464432000,"timestamp_seconds":1786464432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff193ef80"} 
[2026-08-11 21:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:40:13] 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-08-11 21:40: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-08-11 21:40: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-08-11 21:40: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-08-11 21:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334817280001,"66":12798,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704118272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334817280001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:40:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:40:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704118272,"description":"Unknown IO ID 45"} 
[2026-08-11 21:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334817280001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704118272}} 
[2026-08-11 21:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":152921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:40:13] local.INFO: GPS data processed {"connection_id":152921,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:40:13] local.INFO: Acknowledgment sent {"connection_id":152921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:40:18] local.INFO: TCP Data received {"connection_id":155223,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:40:18] local.INFO: Processing buffer {"connection_id":155223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:40:18] local.INFO: IMEI packet received {"connection_id":155223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":155223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:40:24] local.INFO: TCP Data received {"connection_id":155223,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:40:24] local.INFO: Processing buffer {"connection_id":155223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:40:24] local.INFO: IMEI packet received {"connection_id":155223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":155223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:40:30] local.INFO: TCP Data received {"connection_id":155223,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:40:30] local.INFO: Processing buffer {"connection_id":155223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:40:30] local.INFO: Packet analysis {"connection_id":155223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:40:30] local.INFO: Extracted packet for processing {"connection_id":155223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:40:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21:40: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-08-11 21:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334801664001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786464370000,"timestamp_ms":1786464370000,"timestamp_seconds":1786464370,"priority":1,"record_length":96,"hex_timestamp":"0000019ff192fd50"} 
[2026-08-11 21:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:40: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":41,"data_length":795,"current_offset":136} 
[2026-08-11 21:40:30] 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-08-11 21:40: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-08-11 21:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":155223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":155223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":155223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334801664001,"66":25875,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334801664001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:40:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:40:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334801664001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":155223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:40:30] local.INFO: GPS data processed {"connection_id":155223,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:40:30] local.INFO: Acknowledgment sent {"connection_id":155223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:40:38] local.INFO: TCP Data received {"connection_id":153838,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:40:38] local.INFO: Processing buffer {"connection_id":153838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:40:38] local.INFO: IMEI packet received {"connection_id":153838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":153838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:40:43] local.INFO: TCP Data received {"connection_id":153838,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:40:43] local.INFO: Processing buffer {"connection_id":153838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:40:43] local.INFO: IMEI packet received {"connection_id":153838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":153838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:40:44] local.INFO: TCP Data received {"connection_id":153838,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:40:44] local.INFO: Processing buffer {"connection_id":153838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:40:44] local.INFO: Packet analysis {"connection_id":153838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:40:44] local.INFO: Extracted packet for processing {"connection_id":153838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:40:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:40: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-08-11 21:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334818816001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464437000,"timestamp_ms":1786464437000,"timestamp_seconds":1786464437,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1940308"} 
[2026-08-11 21:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:40: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:40:44] 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-08-11 21:40: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-08-11 21:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334818816001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334818816001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:40:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:40:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334818816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":153838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:40:44] local.INFO: GPS data processed {"connection_id":153838,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:40:44] local.INFO: Acknowledgment sent {"connection_id":153838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:40:44] local.INFO: TCP Data received {"connection_id":152921,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:40:44] local.INFO: Processing buffer {"connection_id":152921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:40:44] local.INFO: Packet analysis {"connection_id":152921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff193"} 
[2026-08-11 21:40:44] local.INFO: Extracted packet for processing {"connection_id":152921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff193"} 
[2026-08-11 21:40:44] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21:40: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-08-11 21:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334817280001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704118272,"note":"Value kept but may cause issues"} 
[2026-08-11 21:40:44] 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-08-11 21:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464432000,"timestamp_ms":1786464432000,"timestamp_seconds":1786464432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff193ef80"} 
[2026-08-11 21:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:40:44] 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-08-11 21:40: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 21:40:44] 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-08-11 21:40: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-08-11 21:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334817280001,"66":12798,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704118272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334817280001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:40:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:40:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704118272,"description":"Unknown IO ID 45"} 
[2026-08-11 21:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334817280001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704118272}} 
[2026-08-11 21:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":152921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:40:44] local.INFO: GPS data processed {"connection_id":152921,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:40:44] local.INFO: Acknowledgment sent {"connection_id":152921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:41:01] local.INFO: TCP Data received {"connection_id":155223,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:41:01] local.INFO: Processing buffer {"connection_id":155223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:41:01] local.INFO: Packet analysis {"connection_id":155223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:41:01] local.INFO: Extracted packet for processing {"connection_id":155223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:41:01] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21:41: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-08-11 21:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334801664001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786464370000,"timestamp_ms":1786464370000,"timestamp_seconds":1786464370,"priority":1,"record_length":96,"hex_timestamp":"0000019ff192fd50"} 
[2026-08-11 21:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:41: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-08-11 21:41: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-08-11 21:41: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-08-11 21:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":155223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":155223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":155223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334801664001,"66":25875,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334801664001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:41:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:41:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334801664001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":155223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:41:01] local.INFO: GPS data processed {"connection_id":155223,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:41:01] local.INFO: Acknowledgment sent {"connection_id":155223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:41:08] local.INFO: TCP Data received {"connection_id":152922,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:41:08] local.INFO: Processing buffer {"connection_id":152922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:41:08] local.INFO: IMEI packet received {"connection_id":152922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":152922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:41:13] local.INFO: TCP Data received {"connection_id":152922,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:41:13] local.INFO: Processing buffer {"connection_id":152922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:41:13] local.INFO: IMEI packet received {"connection_id":152922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":152922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:41:13] local.INFO: TCP Data received {"connection_id":152922,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:41:13] local.INFO: Processing buffer {"connection_id":152922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:41:13] local.INFO: Packet analysis {"connection_id":152922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff193"} 
[2026-08-11 21:41:13] local.INFO: Extracted packet for processing {"connection_id":152922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff193"} 
[2026-08-11 21:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21:41: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-08-11 21:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334817280001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704118272,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:13] 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-08-11 21:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786464432000,"timestamp_ms":1786464432000,"timestamp_seconds":1786464432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff193ef80"} 
[2026-08-11 21:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:41:13] 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-08-11 21:41: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-08-11 21:41: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-08-11 21:41: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-08-11 21:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334817280001,"66":12798,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704118272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334817280001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:41:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704118272,"description":"Unknown IO ID 45"} 
[2026-08-11 21:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334817280001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704118272}} 
[2026-08-11 21:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":152922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:41:14] local.INFO: GPS data processed {"connection_id":152922,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:41:14] local.INFO: Acknowledgment sent {"connection_id":152922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:41:15] local.INFO: TCP Data received {"connection_id":153838,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:41:15] local.INFO: Processing buffer {"connection_id":153838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:41:15] local.INFO: Packet analysis {"connection_id":153838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:41:15] local.INFO: Extracted packet for processing {"connection_id":153838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334818816001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786464437000,"timestamp_ms":1786464437000,"timestamp_seconds":1786464437,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1940308"} 
[2026-08-11 21:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:41:15] 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-08-11 21: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-08-11 21:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334818816001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334818816001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:41:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334818816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":153838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:41:15] local.INFO: GPS data processed {"connection_id":153838,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:41:15] local.INFO: Acknowledgment sent {"connection_id":153838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:41:24] local.INFO: TCP Data received {"connection_id":153839,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:41:24] local.INFO: Processing buffer {"connection_id":153839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:41:24] local.INFO: IMEI packet received {"connection_id":153839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":153839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:41:29] local.INFO: TCP Data received {"connection_id":153839,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:41:29] local.INFO: Processing buffer {"connection_id":153839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:41:29] local.INFO: IMEI packet received {"connection_id":153839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":153839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:41:29] local.INFO: TCP Data received {"connection_id":153839,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:41:29] local.INFO: Processing buffer {"connection_id":153839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:41:29] local.INFO: Packet analysis {"connection_id":153839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:41:29] local.INFO: Extracted packet for processing {"connection_id":153839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:41:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21:41: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-08-11 21:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334801664001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786464370000,"timestamp_ms":1786464370000,"timestamp_seconds":1786464370,"priority":1,"record_length":96,"hex_timestamp":"0000019ff192fd50"} 
[2026-08-11 21:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:41: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 21:41:29] 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-08-11 21:41: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-08-11 21:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334801664001,"66":25875,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334801664001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:41:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:41:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334801664001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":153839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:41:29] local.INFO: GPS data processed {"connection_id":153839,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:41:29] local.INFO: Acknowledgment sent {"connection_id":153839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:41:34] local.INFO: TCP Data received {"connection_id":153839,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:41:34] local.INFO: Processing buffer {"connection_id":153839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff192fd50012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:41:34] local.INFO: Packet analysis {"connection_id":153839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:41:34] local.INFO: Extracted packet for processing {"connection_id":153839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff192"} 
[2026-08-11 21:41:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334801664001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786464370000,"timestamp_ms":1786464370000,"timestamp_seconds":1786464370,"priority":1,"record_length":96,"hex_timestamp":"0000019ff192fd50"} 
[2026-08-11 21:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-11 21:41:34] 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-08-11 21: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-08-11 21:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334801664001,"66":25875,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334801664001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:41:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:41:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334801664001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":153839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:41:34] local.INFO: GPS data processed {"connection_id":153839,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:41:34] local.INFO: Acknowledgment sent {"connection_id":153839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:41:38] local.INFO: TCP Data received {"connection_id":155224,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:41:38] local.INFO: Processing buffer {"connection_id":155224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:41:38] local.INFO: IMEI packet received {"connection_id":155224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":155224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:41:43] local.INFO: TCP Data received {"connection_id":155224,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:41:43] local.INFO: Processing buffer {"connection_id":155224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:41:43] local.INFO: IMEI packet received {"connection_id":155224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":155224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:41:44] local.INFO: TCP Data received {"connection_id":155224,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:41:44] local.INFO: Processing buffer {"connection_id":155224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:41:44] local.INFO: Packet analysis {"connection_id":155224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:41:44] local.INFO: Extracted packet for processing {"connection_id":155224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:41:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:41: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-08-11 21:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334818816001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464437000,"timestamp_ms":1786464437000,"timestamp_seconds":1786464437,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1940308"} 
[2026-08-11 21:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:41: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:41:44] 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-08-11 21:41: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-08-11 21:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334818816001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334818816001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:41:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:41:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334818816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":155224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:41:44] local.INFO: GPS data processed {"connection_id":155224,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:41:44] local.INFO: Acknowledgment sent {"connection_id":155224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:41:45] local.INFO: TCP Data received {"connection_id":152922,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:41:45] local.INFO: Processing buffer {"connection_id":152922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff193ef80012d7e448005d356d8000401212d..."} 
[2026-08-11 21:41:45] local.INFO: Packet analysis {"connection_id":152922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff193"} 
[2026-08-11 21:41:45] local.INFO: Extracted packet for processing {"connection_id":152922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff193"} 
[2026-08-11 21:41:45] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21:41: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-08-11 21:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334817280001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704118272,"note":"Value kept but may cause issues"} 
[2026-08-11 21:41:45] 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-08-11 21:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786464432000,"timestamp_ms":1786464432000,"timestamp_seconds":1786464432,"priority":1,"record_length":96,"hex_timestamp":"0000019ff193ef80"} 
[2026-08-11 21:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:41:45] 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-08-11 21:41: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-11 21:41:45] 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-08-11 21:41: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-08-11 21:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334817280001,"66":12798,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704118272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334817280001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:41:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:41:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704118272,"description":"Unknown IO ID 45"} 
[2026-08-11 21:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334817280001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704118272}} 
[2026-08-11 21:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":152922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:41:45] local.INFO: GPS data processed {"connection_id":152922,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:41:45] local.INFO: Acknowledgment sent {"connection_id":152922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:42:15] local.INFO: TCP Data received {"connection_id":155224,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:42:15] local.INFO: Processing buffer {"connection_id":155224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:42:15] local.INFO: Packet analysis {"connection_id":155224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:42:15] local.INFO: Extracted packet for processing {"connection_id":155224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334818816001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786464437000,"timestamp_ms":1786464437000,"timestamp_seconds":1786464437,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1940308"} 
[2026-08-11 21:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:42:15] 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-08-11 21: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-08-11 21:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334818816001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334818816001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:42:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334818816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":155224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:42:15] local.INFO: GPS data processed {"connection_id":155224,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:42:15] local.INFO: Acknowledgment sent {"connection_id":155224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:42:18] local.INFO: TCP Data received {"connection_id":152509,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:42:18] local.INFO: Processing buffer {"connection_id":152509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:42:18] local.INFO: IMEI packet received {"connection_id":152509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":152509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:42:24] local.INFO: TCP Data received {"connection_id":152509,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:42:24] local.INFO: Processing buffer {"connection_id":152509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:42:24] local.INFO: IMEI packet received {"connection_id":152509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":152509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:42:25] local.INFO: TCP Data received {"connection_id":152509,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:42:25] local.INFO: Processing buffer {"connection_id":152509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:42:25] local.INFO: Packet analysis {"connection_id":152509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:42:25] local.INFO: Extracted packet for processing {"connection_id":152509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:42:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334878720001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786464671000,"timestamp_ms":1786464671000,"timestamp_seconds":1786464671,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1979518"} 
[2026-08-11 21:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 21:42:25] 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-08-11 21: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-08-11 21:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334878720001,"66":25778,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334878720001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:42:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:42:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334878720001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":152509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:42:25] local.INFO: GPS data processed {"connection_id":152509,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:42:25] local.INFO: Acknowledgment sent {"connection_id":152509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:42:38] local.INFO: TCP Data received {"connection_id":153841,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:42:38] local.INFO: Processing buffer {"connection_id":153841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:42:38] local.INFO: IMEI packet received {"connection_id":153841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":153841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:42:43] local.INFO: TCP Data received {"connection_id":153841,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:42:43] local.INFO: Processing buffer {"connection_id":153841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:42:43] local.INFO: IMEI packet received {"connection_id":153841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":153841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:42:44] local.INFO: TCP Data received {"connection_id":153841,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:42:44] local.INFO: Processing buffer {"connection_id":153841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1940308012d196a00071fef68003b01182c..."} 
[2026-08-11 21:42:44] local.INFO: Packet analysis {"connection_id":153841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:42:44] local.INFO: Extracted packet for processing {"connection_id":153841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff194"} 
[2026-08-11 21:42:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334818816001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464437000,"timestamp_ms":1786464437000,"timestamp_seconds":1786464437,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1940308"} 
[2026-08-11 21:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:42:44] 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-08-11 21: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-08-11 21:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334818816001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334818816001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:42:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:42:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334818816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":153841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:42:44] local.INFO: GPS data processed {"connection_id":153841,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:42:44] local.INFO: Acknowledgment sent {"connection_id":153841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:42:55] local.INFO: TCP Data received {"connection_id":152509,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:42:55] local.INFO: Processing buffer {"connection_id":152509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:42:55] local.INFO: Packet analysis {"connection_id":152509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:42:55] local.INFO: Extracted packet for processing {"connection_id":152509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:42:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334878720001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786464671000,"timestamp_ms":1786464671000,"timestamp_seconds":1786464671,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1979518"} 
[2026-08-11 21:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 21:42:55] 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-08-11 21: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-08-11 21:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334878720001,"66":25778,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334878720001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:42:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:42:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334878720001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":152509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:42:55] local.INFO: GPS data processed {"connection_id":152509,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:42:55] local.INFO: Acknowledgment sent {"connection_id":152509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:43:18] local.INFO: TCP Data received {"connection_id":153841,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:43:18] local.INFO: Processing buffer {"connection_id":153841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:43:18] local.INFO: Packet analysis {"connection_id":153841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:43:18] local.INFO: Extracted packet for processing {"connection_id":153841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:43: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-08-11 21:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334895872001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:43: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-08-11 21:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786464738000,"timestamp_ms":1786464738000,"timestamp_seconds":1786464738,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1989ad0"} 
[2026-08-11 21:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:43: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:43:18] 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-08-11 21:43: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-08-11 21:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334895872001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334895872001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:43:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334895872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":153841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:43:18] local.INFO: GPS data processed {"connection_id":153841,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:43:18] local.INFO: Acknowledgment sent {"connection_id":153841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:43:18] local.INFO: TCP Data received {"connection_id":153842,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:43:18] local.INFO: Processing buffer {"connection_id":153842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:43:18] local.INFO: IMEI packet received {"connection_id":153842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":153842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:43:24] local.INFO: TCP Data received {"connection_id":153842,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:43:24] local.INFO: Processing buffer {"connection_id":153842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:43:24] local.INFO: IMEI packet received {"connection_id":153842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":153842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:43:30] local.INFO: TCP Data received {"connection_id":153842,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:43:30] local.INFO: Processing buffer {"connection_id":153842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:43:30] local.INFO: Packet analysis {"connection_id":153842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:43:30] local.INFO: Extracted packet for processing {"connection_id":153842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:43:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334878720001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786464671000,"timestamp_ms":1786464671000,"timestamp_seconds":1786464671,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1979518"} 
[2026-08-11 21:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 21:43:30] 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-08-11 21: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-08-11 21:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334878720001,"66":25778,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334878720001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:43:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:43:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334878720001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":153842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:43:30] local.INFO: GPS data processed {"connection_id":153842,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:43:30] local.INFO: Acknowledgment sent {"connection_id":153842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:43:43] local.INFO: TCP Data received {"connection_id":152923,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:43:43] local.INFO: Processing buffer {"connection_id":152923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:43:43] local.INFO: IMEI packet received {"connection_id":152923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":152923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:43:48] local.INFO: TCP Data received {"connection_id":152923,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:43:48] local.INFO: Processing buffer {"connection_id":152923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:43:48] local.INFO: IMEI packet received {"connection_id":152923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":152923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:43:49] local.INFO: TCP Data received {"connection_id":152923,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:43:49] local.INFO: Processing buffer {"connection_id":152923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:43:49] local.INFO: Packet analysis {"connection_id":152923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:43:49] local.INFO: Extracted packet for processing {"connection_id":152923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:43: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-08-11 21:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334895872001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:43: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-08-11 21:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786464738000,"timestamp_ms":1786464738000,"timestamp_seconds":1786464738,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1989ad0"} 
[2026-08-11 21:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:43: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:43:49] 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-08-11 21:43: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-08-11 21:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334895872001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334895872001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:43:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334895872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":152923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:43:49] local.INFO: GPS data processed {"connection_id":152923,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:43:49] local.INFO: Acknowledgment sent {"connection_id":152923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:43:53] local.INFO: TCP Data received {"connection_id":152923,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:43:53] local.INFO: Processing buffer {"connection_id":152923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:43:53] local.INFO: Packet analysis {"connection_id":152923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:43:53] local.INFO: Extracted packet for processing {"connection_id":152923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:43:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334895872001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21: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-08-11 21:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786464738000,"timestamp_ms":1786464738000,"timestamp_seconds":1786464738,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1989ad0"} 
[2026-08-11 21:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21: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-08-11 21: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-08-11 21:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334895872001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334895872001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:43:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:43:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334895872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":152923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:43:53] local.INFO: GPS data processed {"connection_id":152923,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:43:53] local.INFO: Acknowledgment sent {"connection_id":152923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:44:01] local.INFO: TCP Data received {"connection_id":153842,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:44:01] local.INFO: Processing buffer {"connection_id":153842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:44:01] local.INFO: Packet analysis {"connection_id":153842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:44:01] local.INFO: Extracted packet for processing {"connection_id":153842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:44:01] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334878720001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786464671000,"timestamp_ms":1786464671000,"timestamp_seconds":1786464671,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1979518"} 
[2026-08-11 21:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 21:44:01] 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-08-11 21: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-08-11 21:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334878720001,"66":25778,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334878720001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:44:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:44:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334878720001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":153842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:44:01] local.INFO: GPS data processed {"connection_id":153842,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:44:01] local.INFO: Acknowledgment sent {"connection_id":153842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:44:18] local.INFO: TCP Data received {"connection_id":152510,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:44:18] local.INFO: Processing buffer {"connection_id":152510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:44:18] local.INFO: IMEI packet received {"connection_id":152510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":152510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:44:23] local.INFO: TCP Data received {"connection_id":152510,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:44:23] local.INFO: Processing buffer {"connection_id":152510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:44:23] local.INFO: IMEI packet received {"connection_id":152510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":152510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:44:24] local.INFO: TCP Data received {"connection_id":152510,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:44:24] local.INFO: Processing buffer {"connection_id":152510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:44:24] local.INFO: Packet analysis {"connection_id":152510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:44:24] local.INFO: Extracted packet for processing {"connection_id":152510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:44:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334878720001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786464671000,"timestamp_ms":1786464671000,"timestamp_seconds":1786464671,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1979518"} 
[2026-08-11 21:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 21:44:24] 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-08-11 21: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-08-11 21:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334878720001,"66":25778,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334878720001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:44:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:44:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334878720001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":152510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:44:24] local.INFO: GPS data processed {"connection_id":152510,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:44:24] local.INFO: Acknowledgment sent {"connection_id":152510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:44:38] local.INFO: TCP Data received {"connection_id":153843,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:44:38] local.INFO: Processing buffer {"connection_id":153843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:44:38] local.INFO: IMEI packet received {"connection_id":153843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":153843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:44:43] local.INFO: TCP Data received {"connection_id":153843,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:44:43] local.INFO: Processing buffer {"connection_id":153843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:44:43] local.INFO: IMEI packet received {"connection_id":153843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":153843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:44:44] local.INFO: TCP Data received {"connection_id":153843,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:44:44] local.INFO: Processing buffer {"connection_id":153843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:44:44] local.INFO: Packet analysis {"connection_id":153843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:44:44] local.INFO: Extracted packet for processing {"connection_id":153843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:44:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334895872001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464738000,"timestamp_ms":1786464738000,"timestamp_seconds":1786464738,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1989ad0"} 
[2026-08-11 21:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:44:44] 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-08-11 21: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-08-11 21:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334895872001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334895872001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:44:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:44:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334895872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":153843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:44:44] local.INFO: GPS data processed {"connection_id":153843,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:44:44] local.INFO: Acknowledgment sent {"connection_id":153843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:44:55] local.INFO: TCP Data received {"connection_id":152510,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:44:55] local.INFO: Processing buffer {"connection_id":152510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:44:55] local.INFO: Packet analysis {"connection_id":152510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:44:55] local.INFO: Extracted packet for processing {"connection_id":152510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:44:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334878720001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786464671000,"timestamp_ms":1786464671000,"timestamp_seconds":1786464671,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1979518"} 
[2026-08-11 21:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 21:44:55] 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-08-11 21: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-08-11 21:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334878720001,"66":25778,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334878720001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:44:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:44:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334878720001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":152510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:44:55] local.INFO: GPS data processed {"connection_id":152510,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:44:55] local.INFO: Acknowledgment sent {"connection_id":152510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:45:15] local.INFO: TCP Data received {"connection_id":153843,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:45:15] local.INFO: Processing buffer {"connection_id":153843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:45:15] local.INFO: Packet analysis {"connection_id":153843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:45:15] local.INFO: Extracted packet for processing {"connection_id":153843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334895872001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786464738000,"timestamp_ms":1786464738000,"timestamp_seconds":1786464738,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1989ad0"} 
[2026-08-11 21:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:45:15] 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-08-11 21: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-08-11 21:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334895872001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334895872001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:45:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334895872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":153843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:45:15] local.INFO: GPS data processed {"connection_id":153843,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:45:15] local.INFO: Acknowledgment sent {"connection_id":153843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:45:24] local.INFO: TCP Data received {"connection_id":152511,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:45:24] local.INFO: Processing buffer {"connection_id":152511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:45:24] local.INFO: IMEI packet received {"connection_id":152511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":152511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:45:29] local.INFO: TCP Data received {"connection_id":152511,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:45:29] local.INFO: Processing buffer {"connection_id":152511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:45:29] local.INFO: IMEI packet received {"connection_id":152511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":152511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:45:29] local.INFO: TCP Data received {"connection_id":152511,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:45:29] local.INFO: Processing buffer {"connection_id":152511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:45:29] local.INFO: Packet analysis {"connection_id":152511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:45:29] local.INFO: Extracted packet for processing {"connection_id":152511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:45:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21:45: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-08-11 21:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334878720001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786464671000,"timestamp_ms":1786464671000,"timestamp_seconds":1786464671,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1979518"} 
[2026-08-11 21:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:45: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 21:45:29] 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-08-11 21:45: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-08-11 21:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334878720001,"66":25778,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334878720001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:45:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:45:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334878720001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":152511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:45:29] local.INFO: GPS data processed {"connection_id":152511,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:45:29] local.INFO: Acknowledgment sent {"connection_id":152511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:45:34] local.INFO: TCP Data received {"connection_id":152511,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:45:34] local.INFO: Processing buffer {"connection_id":152511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:45:34] local.INFO: Packet analysis {"connection_id":152511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:45:34] local.INFO: Extracted packet for processing {"connection_id":152511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:45:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21:45: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-08-11 21:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334878720001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786464671000,"timestamp_ms":1786464671000,"timestamp_seconds":1786464671,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1979518"} 
[2026-08-11 21:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:45: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 21:45:34] 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-08-11 21:45: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-08-11 21:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334878720001,"66":25778,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334878720001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:45:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:45:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334878720001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":152511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:45:34] local.INFO: GPS data processed {"connection_id":152511,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:45:34] local.INFO: Acknowledgment sent {"connection_id":152511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:45:38] local.INFO: TCP Data received {"connection_id":152924,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:45:38] local.INFO: Processing buffer {"connection_id":152924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:45:38] local.INFO: IMEI packet received {"connection_id":152924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":152924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:45:43] local.INFO: TCP Data received {"connection_id":152924,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:45:43] local.INFO: Processing buffer {"connection_id":152924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:45:43] local.INFO: IMEI packet received {"connection_id":152924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":152924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:45:44] local.INFO: TCP Data received {"connection_id":152924,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:45:44] local.INFO: Processing buffer {"connection_id":152924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:45:44] local.INFO: Packet analysis {"connection_id":152924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:45:44] local.INFO: Extracted packet for processing {"connection_id":152924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:45:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:45: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-08-11 21:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334895872001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464738000,"timestamp_ms":1786464738000,"timestamp_seconds":1786464738,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1989ad0"} 
[2026-08-11 21:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:45: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:45:44] 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-08-11 21:45: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-08-11 21:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334895872001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334895872001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:45:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:45:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334895872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":152924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:45:44] local.INFO: GPS data processed {"connection_id":152924,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:45:44] local.INFO: Acknowledgment sent {"connection_id":152924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:46:15] local.INFO: TCP Data received {"connection_id":152924,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:46:15] local.INFO: Processing buffer {"connection_id":152924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:46:15] local.INFO: Packet analysis {"connection_id":152924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:46:15] local.INFO: Extracted packet for processing {"connection_id":152924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:46: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-08-11 21:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334895872001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786464738000,"timestamp_ms":1786464738000,"timestamp_seconds":1786464738,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1989ad0"} 
[2026-08-11 21:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:46: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:46:15] 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-08-11 21:46: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-08-11 21:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334895872001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334895872001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:46:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334895872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":152924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:46:15] local.INFO: GPS data processed {"connection_id":152924,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:46:15] local.INFO: Acknowledgment sent {"connection_id":152924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:46:19] local.INFO: TCP Data received {"connection_id":152925,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:46:19] local.INFO: Processing buffer {"connection_id":152925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:46:19] local.INFO: IMEI packet received {"connection_id":152925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":152925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:46:24] local.INFO: TCP Data received {"connection_id":152925,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:46:24] local.INFO: Processing buffer {"connection_id":152925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:46:24] local.INFO: IMEI packet received {"connection_id":152925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":152925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:46:25] local.INFO: TCP Data received {"connection_id":152925,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:46:25] local.INFO: Processing buffer {"connection_id":152925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1979518012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:46:25] local.INFO: Packet analysis {"connection_id":152925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:46:25] local.INFO: Extracted packet for processing {"connection_id":152925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff197"} 
[2026-08-11 21:46:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334878720001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786464671000,"timestamp_ms":1786464671000,"timestamp_seconds":1786464671,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1979518"} 
[2026-08-11 21:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-11 21:46:25] 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-08-11 21: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-08-11 21:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334878720001,"66":25778,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334878720001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:46:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:46:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334878720001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":152925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:46:25] local.INFO: GPS data processed {"connection_id":152925,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:46:25] local.INFO: Acknowledgment sent {"connection_id":152925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:46:38] local.INFO: TCP Data received {"connection_id":153844,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:46:38] local.INFO: Processing buffer {"connection_id":153844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:46:38] local.INFO: IMEI packet received {"connection_id":153844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":153844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:46:43] local.INFO: TCP Data received {"connection_id":153844,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:46:43] local.INFO: Processing buffer {"connection_id":153844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:46:43] local.INFO: IMEI packet received {"connection_id":153844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":153844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:46:44] local.INFO: TCP Data received {"connection_id":153844,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:46:44] local.INFO: Processing buffer {"connection_id":153844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:46:44] local.INFO: Packet analysis {"connection_id":153844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:46:44] local.INFO: Extracted packet for processing {"connection_id":153844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:46:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:46: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-08-11 21:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334895872001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464738000,"timestamp_ms":1786464738000,"timestamp_seconds":1786464738,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1989ad0"} 
[2026-08-11 21:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:46: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:46:44] 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-08-11 21:46: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-08-11 21:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:46:44] 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-08-11 21:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334895872001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334895872001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:46:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:46:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334895872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":153844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:46:44] local.INFO: GPS data processed {"connection_id":153844,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:46:44] local.INFO: Acknowledgment sent {"connection_id":153844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:46:56] local.INFO: TCP Data received {"connection_id":152925,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:46:56] local.INFO: Processing buffer {"connection_id":152925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:46:56] local.INFO: Packet analysis {"connection_id":152925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:46:56] local.INFO: Extracted packet for processing {"connection_id":152925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:46:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334955776001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786464972000,"timestamp_ms":1786464972000,"timestamp_seconds":1786464972,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19c2ce0"} 
[2026-08-11 21:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 21:46:56] 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-08-11 21: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-08-11 21:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334955776001,"66":25756,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334955776001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:46:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:46:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334955776001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":152925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:46:56] local.INFO: GPS data processed {"connection_id":152925,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:46:56] local.INFO: Acknowledgment sent {"connection_id":152925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:47:15] local.INFO: TCP Data received {"connection_id":153844,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:47:15] local.INFO: Processing buffer {"connection_id":153844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:47:15] local.INFO: Packet analysis {"connection_id":153844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:47:15] local.INFO: Extracted packet for processing {"connection_id":153844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334895872001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786464738000,"timestamp_ms":1786464738000,"timestamp_seconds":1786464738,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1989ad0"} 
[2026-08-11 21:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:47:15] 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-08-11 21: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-08-11 21:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:47:15] 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-08-11 21:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334895872001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334895872001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:47:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334895872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":153844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:47:15] local.INFO: GPS data processed {"connection_id":153844,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:47:15] local.INFO: Acknowledgment sent {"connection_id":153844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:47:18] local.INFO: TCP Data received {"connection_id":152513,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:47:18] local.INFO: Processing buffer {"connection_id":152513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:47:18] local.INFO: IMEI packet received {"connection_id":152513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":152513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:47:24] local.INFO: TCP Data received {"connection_id":152513,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:47:24] local.INFO: Processing buffer {"connection_id":152513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:47:24] local.INFO: IMEI packet received {"connection_id":152513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":152513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:47:24] local.INFO: TCP Data received {"connection_id":152513,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:47:24] local.INFO: Processing buffer {"connection_id":152513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:47:24] local.INFO: Packet analysis {"connection_id":152513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:47:24] local.INFO: Extracted packet for processing {"connection_id":152513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:47:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334955776001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786464972000,"timestamp_ms":1786464972000,"timestamp_seconds":1786464972,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19c2ce0"} 
[2026-08-11 21:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 21:47:24] 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-08-11 21: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-08-11 21:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334955776001,"66":25756,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334955776001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:47:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:47:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334955776001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":152513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:47:24] local.INFO: GPS data processed {"connection_id":152513,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:47:24] local.INFO: Acknowledgment sent {"connection_id":152513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:47:38] local.INFO: TCP Data received {"connection_id":153845,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:47:38] local.INFO: Processing buffer {"connection_id":153845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:47:38] local.INFO: IMEI packet received {"connection_id":153845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":153845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:47:43] local.INFO: TCP Data received {"connection_id":153845,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:47:43] local.INFO: Processing buffer {"connection_id":153845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:47:43] local.INFO: IMEI packet received {"connection_id":153845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":153845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:47:44] local.INFO: TCP Data received {"connection_id":153845,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:47:44] local.INFO: Processing buffer {"connection_id":153845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1989ad0012d196a00071fef68003b01182d..."} 
[2026-08-11 21:47:44] local.INFO: Packet analysis {"connection_id":153845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:47:44] local.INFO: Extracted packet for processing {"connection_id":153845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:47:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334895872001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464738000,"timestamp_ms":1786464738000,"timestamp_seconds":1786464738,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1989ad0"} 
[2026-08-11 21:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:47:44] 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-08-11 21: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-08-11 21:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334895872001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334895872001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:47:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:47:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334895872001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":153845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:47:44] local.INFO: GPS data processed {"connection_id":153845,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:47:44] local.INFO: Acknowledgment sent {"connection_id":153845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:47:48] local.INFO: TCP Data received {"connection_id":152512,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:47:48] local.INFO: Processing buffer {"connection_id":152512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:47:48] local.INFO: IMEI packet received {"connection_id":152512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":152512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:47:49] local.INFO: TCP Data received {"connection_id":152512,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19877a8012d7e448005d356d8000401212c..."} 
[2026-08-11 21:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19877a8012d7e448005d356d8000401212c..."} 
[2026-08-11 21:47:49] local.INFO: Processing buffer {"connection_id":152512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19877a8012d7e448005d356d8000401212c..."} 
[2026-08-11 21:47:49] local.INFO: Packet analysis {"connection_id":152512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:47:49] local.INFO: Extracted packet for processing {"connection_id":152512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:47:49] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21:47:49] 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-08-11 21:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334894592001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704120320,"note":"Value kept but may cause issues"} 
[2026-08-11 21:47:49] 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-08-11 21:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786464729000,"timestamp_ms":1786464729000,"timestamp_seconds":1786464729,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19877a8"} 
[2026-08-11 21:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:47: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-11 21:47:49] 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-08-11 21:47: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-08-11 21:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334894592001,"66":5242,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704120320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334894592001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:47:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:47:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704120320,"description":"Unknown IO ID 45"} 
[2026-08-11 21:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334894592001,"power":5242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704120320}} 
[2026-08-11 21:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":152512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:47:49] local.INFO: GPS data processed {"connection_id":152512,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:47:49] local.INFO: Acknowledgment sent {"connection_id":152512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:47:56] local.INFO: TCP Data received {"connection_id":152513,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:47:56] local.INFO: Processing buffer {"connection_id":152513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:47:56] local.INFO: Packet analysis {"connection_id":152513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:47:56] local.INFO: Extracted packet for processing {"connection_id":152513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:47:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334955776001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786464972000,"timestamp_ms":1786464972000,"timestamp_seconds":1786464972,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19c2ce0"} 
[2026-08-11 21:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 21:47:56] 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-08-11 21: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-08-11 21:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334955776001,"66":25756,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334955776001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:47:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:47:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334955776001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":152513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:47:56] local.INFO: GPS data processed {"connection_id":152513,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:47:56] local.INFO: Acknowledgment sent {"connection_id":152513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:48:03] local.INFO: TCP Data received {"connection_id":152514,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:48:03] local.INFO: Processing buffer {"connection_id":152514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:48:03] local.INFO: IMEI packet received {"connection_id":152514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":152514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:48:09] local.INFO: TCP Data received {"connection_id":152514,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:48:09] local.INFO: Processing buffer {"connection_id":152514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:48:09] local.INFO: IMEI packet received {"connection_id":152514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":152514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:48:09] local.INFO: TCP Data received {"connection_id":152514,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19877a8012d7e448005d356d8000401212c..."} 
[2026-08-11 21:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19877a8012d7e448005d356d8000401212c..."} 
[2026-08-11 21:48:09] local.INFO: Processing buffer {"connection_id":152514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19877a8012d7e448005d356d8000401212c..."} 
[2026-08-11 21:48:09] local.INFO: Packet analysis {"connection_id":152514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:48:09] local.INFO: Extracted packet for processing {"connection_id":152514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21:48:09] 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-08-11 21:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334970624001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704120320,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:09] 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-08-11 21:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786464729000,"timestamp_ms":1786464729000,"timestamp_seconds":1786464729,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19877a8"} 
[2026-08-11 21:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:48:09] 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-08-11 21:48: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 21:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21:48: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-08-11 21:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334970624001,"66":5242,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704120320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334970624001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:48:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704120320,"description":"Unknown IO ID 45"} 
[2026-08-11 21:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334970624001,"power":5242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704120320}} 
[2026-08-11 21:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":152514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:48:09] local.INFO: GPS data processed {"connection_id":152514,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:48:09] local.INFO: Acknowledgment sent {"connection_id":152514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:48:15] local.INFO: TCP Data received {"connection_id":153845,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:48:15] local.INFO: Processing buffer {"connection_id":153845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:48:15] local.INFO: Packet analysis {"connection_id":153845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:48:15] local.INFO: Extracted packet for processing {"connection_id":153845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:48:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334972928001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786465039000,"timestamp_ms":1786465039000,"timestamp_seconds":1786465039,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19d3298"} 
[2026-08-11 21:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:48:15] 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-08-11 21: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-08-11 21:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334972928001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334972928001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:48:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:48:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334972928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":153845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:48:15] local.INFO: GPS data processed {"connection_id":153845,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:48:15] local.INFO: Acknowledgment sent {"connection_id":153845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:48:18] local.INFO: TCP Data received {"connection_id":152515,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:48:18] local.INFO: Processing buffer {"connection_id":152515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:48:18] local.INFO: IMEI packet received {"connection_id":152515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":152515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:48:24] local.INFO: TCP Data received {"connection_id":152515,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:48:24] local.INFO: Processing buffer {"connection_id":152515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:48:24] local.INFO: IMEI packet received {"connection_id":152515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":152515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:48:24] local.INFO: TCP Data received {"connection_id":152515,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:48:24] local.INFO: Processing buffer {"connection_id":152515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:48:24] local.INFO: Packet analysis {"connection_id":152515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:48:24] local.INFO: Extracted packet for processing {"connection_id":152515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:48:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334955776001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786464972000,"timestamp_ms":1786464972000,"timestamp_seconds":1786464972,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19c2ce0"} 
[2026-08-11 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-08-11 21:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 21:48:24] 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-08-11 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-08-11 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-08-11 21:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334955776001,"66":25756,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334955776001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:48:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:48:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334955776001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":152515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:48:25] local.INFO: GPS data processed {"connection_id":152515,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:48:25] local.INFO: Acknowledgment sent {"connection_id":152515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:48:38] local.INFO: TCP Data received {"connection_id":153846,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:48:38] local.INFO: Processing buffer {"connection_id":153846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:48:38] local.INFO: IMEI packet received {"connection_id":153846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":153846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:48:40] local.INFO: TCP Data received {"connection_id":152514,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:48:40] local.INFO: Processing buffer {"connection_id":152514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:48:40] local.INFO: Packet analysis {"connection_id":152514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:48:40] local.INFO: Extracted packet for processing {"connection_id":152514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334970624001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704120320,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:40] 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-08-11 21:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786464733000,"timestamp_ms":1786464733000,"timestamp_seconds":1786464733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1988748"} 
[2026-08-11 21:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:48:40] 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-08-11 21: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 21:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334970624001,"66":3525,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704120320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334970624001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:48:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704120320,"description":"Unknown IO ID 45"} 
[2026-08-11 21:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334970624001,"power":3525,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704120320}} 
[2026-08-11 21:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":152514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:48:40] local.INFO: GPS data processed {"connection_id":152514,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:48:40] local.INFO: Acknowledgment sent {"connection_id":152514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:48:43] local.INFO: TCP Data received {"connection_id":153846,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:48:43] local.INFO: Processing buffer {"connection_id":153846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:48:43] local.INFO: IMEI packet received {"connection_id":153846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":153846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:48:44] local.INFO: TCP Data received {"connection_id":153846,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:48:44] local.INFO: Processing buffer {"connection_id":153846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:48:44] local.INFO: Packet analysis {"connection_id":153846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:48:44] local.INFO: Extracted packet for processing {"connection_id":153846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334972928001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465039000,"timestamp_ms":1786465039000,"timestamp_seconds":1786465039,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19d3298"} 
[2026-08-11 21:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:48:44] 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-08-11 21: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-08-11 21:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334972928001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334972928001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:48:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:48:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334972928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":153846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:48:44] local.INFO: GPS data processed {"connection_id":153846,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:48:44] local.INFO: Acknowledgment sent {"connection_id":153846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:48:55] local.INFO: TCP Data received {"connection_id":152515,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:48:55] local.INFO: Processing buffer {"connection_id":152515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:48:55] local.INFO: Packet analysis {"connection_id":152515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:48:55] local.INFO: Extracted packet for processing {"connection_id":152515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:48:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334955776001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786464972000,"timestamp_ms":1786464972000,"timestamp_seconds":1786464972,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19c2ce0"} 
[2026-08-11 21:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":178,"data_length":795,"current_offset":136} 
[2026-08-11 21:48:55] 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-08-11 21: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-08-11 21:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334955776001,"66":25756,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334955776001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:48:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:48:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334955776001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":152515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:48:55] local.INFO: GPS data processed {"connection_id":152515,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:48:55] local.INFO: Acknowledgment sent {"connection_id":152515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:49:03] local.INFO: TCP Data received {"connection_id":152926,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:49:03] local.INFO: Processing buffer {"connection_id":152926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:49:03] local.INFO: IMEI packet received {"connection_id":152926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":152926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:49:08] local.INFO: TCP Data received {"connection_id":152926,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:49:08] local.INFO: Processing buffer {"connection_id":152926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:49:08] local.INFO: IMEI packet received {"connection_id":152926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":152926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:49:13] local.INFO: TCP Data received {"connection_id":152926,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:49:13] local.INFO: Processing buffer {"connection_id":152926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:49:13] local.INFO: IMEI packet received {"connection_id":152926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":152926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:49:13] local.INFO: TCP Data received {"connection_id":152926,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:49:13] local.INFO: Processing buffer {"connection_id":152926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:49:13] local.INFO: Packet analysis {"connection_id":152926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:49:13] local.INFO: Extracted packet for processing {"connection_id":152926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21:49: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-08-11 21:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334970624001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704120320,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:13] 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-08-11 21:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786464733000,"timestamp_ms":1786464733000,"timestamp_seconds":1786464733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1988748"} 
[2026-08-11 21:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:49:13] 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-08-11 21:49: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 21:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21:49: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-08-11 21:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334970624001,"66":3525,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704120320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334970624001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:49:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704120320,"description":"Unknown IO ID 45"} 
[2026-08-11 21:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334970624001,"power":3525,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704120320}} 
[2026-08-11 21:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":152926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:49:13] local.INFO: GPS data processed {"connection_id":152926,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:49:13] local.INFO: Acknowledgment sent {"connection_id":152926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:49:15] local.INFO: TCP Data received {"connection_id":153846,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:49:15] local.INFO: Processing buffer {"connection_id":153846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:49:15] local.INFO: Packet analysis {"connection_id":153846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:49:15] local.INFO: Extracted packet for processing {"connection_id":153846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:49: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-08-11 21:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334972928001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786465039000,"timestamp_ms":1786465039000,"timestamp_seconds":1786465039,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19d3298"} 
[2026-08-11 21:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:49: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:49:15] 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-08-11 21:49: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-08-11 21:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334972928001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334972928001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:49:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334972928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":153846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:49:15] local.INFO: GPS data processed {"connection_id":153846,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:49:15] local.INFO: Acknowledgment sent {"connection_id":153846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:49:18] local.INFO: TCP Data received {"connection_id":152926,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:49:18] local.INFO: Processing buffer {"connection_id":152926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:49:18] local.INFO: Packet analysis {"connection_id":152926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:49:18] local.INFO: Extracted packet for processing {"connection_id":152926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:49:18] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21:49: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-08-11 21:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334970624001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704120320,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:18] 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-08-11 21:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786464733000,"timestamp_ms":1786464733000,"timestamp_seconds":1786464733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1988748"} 
[2026-08-11 21:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:49:18] 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-08-11 21:49: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 21:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21:49: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-08-11 21:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334970624001,"66":3525,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704120320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334970624001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:49:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:49:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704120320,"description":"Unknown IO ID 45"} 
[2026-08-11 21:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334970624001,"power":3525,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704120320}} 
[2026-08-11 21:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":152926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:49:18] local.INFO: GPS data processed {"connection_id":152926,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:49:18] local.INFO: Acknowledgment sent {"connection_id":152926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:49:24] local.INFO: TCP Data received {"connection_id":153847,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:49:24] local.INFO: Processing buffer {"connection_id":153847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:49:24] local.INFO: IMEI packet received {"connection_id":153847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":153847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:49:29] local.INFO: TCP Data received {"connection_id":153847,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:49:29] local.INFO: Processing buffer {"connection_id":153847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:49:29] local.INFO: IMEI packet received {"connection_id":153847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":153847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:49:30] local.INFO: TCP Data received {"connection_id":153847,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:49:30] local.INFO: Processing buffer {"connection_id":153847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:49:30] local.INFO: Packet analysis {"connection_id":153847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:49:30] local.INFO: Extracted packet for processing {"connection_id":153847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:49:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21:49: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-08-11 21:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334955776001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786464972000,"timestamp_ms":1786464972000,"timestamp_seconds":1786464972,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19c2ce0"} 
[2026-08-11 21:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:49: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":178,"data_length":795,"current_offset":136} 
[2026-08-11 21:49:30] 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-08-11 21:49: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-08-11 21:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334955776001,"66":25756,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334955776001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:49:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:49:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334955776001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":153847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:49:30] local.INFO: GPS data processed {"connection_id":153847,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:49:30] local.INFO: Acknowledgment sent {"connection_id":153847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:49:34] local.INFO: TCP Data received {"connection_id":153847,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:49:34] local.INFO: Processing buffer {"connection_id":153847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:49:34] local.INFO: Packet analysis {"connection_id":153847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:49:34] local.INFO: Extracted packet for processing {"connection_id":153847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:49:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21:49: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-08-11 21:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334955776001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786464972000,"timestamp_ms":1786464972000,"timestamp_seconds":1786464972,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19c2ce0"} 
[2026-08-11 21:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:49: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":178,"data_length":795,"current_offset":136} 
[2026-08-11 21:49:34] 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-08-11 21:49: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-08-11 21:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334955776001,"66":25756,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334955776001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:49:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:49:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334955776001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":153847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:49:34] local.INFO: GPS data processed {"connection_id":153847,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:49:34] local.INFO: Acknowledgment sent {"connection_id":153847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:49:38] local.INFO: TCP Data received {"connection_id":152927,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:49:38] local.INFO: Processing buffer {"connection_id":152927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:49:38] local.INFO: IMEI packet received {"connection_id":152927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":152927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:49:43] local.INFO: TCP Data received {"connection_id":152927,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:49:43] local.INFO: Processing buffer {"connection_id":152927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:49:43] local.INFO: IMEI packet received {"connection_id":152927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":152927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:49:44] local.INFO: TCP Data received {"connection_id":152927,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:49:44] local.INFO: Processing buffer {"connection_id":152927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:49:44] local.INFO: Packet analysis {"connection_id":152927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:49:44] local.INFO: Extracted packet for processing {"connection_id":152927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:49:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:49: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-08-11 21:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334972928001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465039000,"timestamp_ms":1786465039000,"timestamp_seconds":1786465039,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19d3298"} 
[2026-08-11 21:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:49: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:49:44] 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-08-11 21:49: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-08-11 21:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334972928001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334972928001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:49:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:49:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334972928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":152927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:49:44] local.INFO: GPS data processed {"connection_id":152927,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:49:44] local.INFO: Acknowledgment sent {"connection_id":152927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:49:49] local.INFO: TCP Data received {"connection_id":152926,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:49:49] local.INFO: Processing buffer {"connection_id":152926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:49:49] local.INFO: Packet analysis {"connection_id":152926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:49:49] local.INFO: Extracted packet for processing {"connection_id":152926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:49:49] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334970624001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704120320,"note":"Value kept but may cause issues"} 
[2026-08-11 21:49:49] 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-08-11 21:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786464733000,"timestamp_ms":1786464733000,"timestamp_seconds":1786464733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1988748"} 
[2026-08-11 21:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:49:49] 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-08-11 21: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 21:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334970624001,"66":3525,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704120320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334970624001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:49:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:49:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704120320,"description":"Unknown IO ID 45"} 
[2026-08-11 21:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334970624001,"power":3525,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704120320}} 
[2026-08-11 21:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":152926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:49:49] local.INFO: GPS data processed {"connection_id":152926,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:49:49] local.INFO: Acknowledgment sent {"connection_id":152926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:50:08] local.INFO: TCP Data received {"connection_id":155225,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:50:08] local.INFO: Processing buffer {"connection_id":155225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:50:08] local.INFO: IMEI packet received {"connection_id":155225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":155225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:50:13] local.INFO: TCP Data received {"connection_id":155225,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:50:13] local.INFO: Processing buffer {"connection_id":155225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:50:13] local.INFO: IMEI packet received {"connection_id":155225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":155225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:50:13] local.INFO: TCP Data received {"connection_id":155225,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:50:13] local.INFO: Processing buffer {"connection_id":155225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:50:13] local.INFO: Packet analysis {"connection_id":155225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:50:13] local.INFO: Extracted packet for processing {"connection_id":155225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:50:13] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21:50: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-08-11 21:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334970624001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704120320,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:13] 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-08-11 21:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786464733000,"timestamp_ms":1786464733000,"timestamp_seconds":1786464733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1988748"} 
[2026-08-11 21:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:50:13] 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-08-11 21:50: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 21:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21:50: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-08-11 21:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":155225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":155225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":155225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334970624001,"66":3525,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704120320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334970624001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:50:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:50:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704120320,"description":"Unknown IO ID 45"} 
[2026-08-11 21:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334970624001,"power":3525,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704120320}} 
[2026-08-11 21:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":155225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:50:13] local.INFO: GPS data processed {"connection_id":155225,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:50:13] local.INFO: Acknowledgment sent {"connection_id":155225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:50:15] local.INFO: TCP Data received {"connection_id":152927,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:50:15] local.INFO: Processing buffer {"connection_id":152927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:50:15] local.INFO: Packet analysis {"connection_id":152927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:50:15] local.INFO: Extracted packet for processing {"connection_id":152927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334972928001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786465039000,"timestamp_ms":1786465039000,"timestamp_seconds":1786465039,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19d3298"} 
[2026-08-11 21:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:50:15] 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-08-11 21: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-08-11 21:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334972928001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334972928001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:50:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334972928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":152927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:50:15] local.INFO: GPS data processed {"connection_id":152927,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:50:15] local.INFO: Acknowledgment sent {"connection_id":152927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:50:19] local.INFO: TCP Data received {"connection_id":152516,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:50:19] local.INFO: Processing buffer {"connection_id":152516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:50:19] local.INFO: IMEI packet received {"connection_id":152516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":152516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:50:24] local.INFO: TCP Data received {"connection_id":152516,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:50:24] local.INFO: Processing buffer {"connection_id":152516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:50:24] local.INFO: IMEI packet received {"connection_id":152516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":152516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:50:25] local.INFO: TCP Data received {"connection_id":152516,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:50:25] local.INFO: Processing buffer {"connection_id":152516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:50:25] local.INFO: Packet analysis {"connection_id":152516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:50:25] local.INFO: Extracted packet for processing {"connection_id":152516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:50:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334955776001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786464972000,"timestamp_ms":1786464972000,"timestamp_seconds":1786464972,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19c2ce0"} 
[2026-08-11 21:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 21:50:25] 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-08-11 21: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-08-11 21:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334955776001,"66":25756,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334955776001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:50:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:50:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334955776001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":152516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:50:25] local.INFO: GPS data processed {"connection_id":152516,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:50:25] local.INFO: Acknowledgment sent {"connection_id":152516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:50:38] local.INFO: TCP Data received {"connection_id":152928,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:50:38] local.INFO: Processing buffer {"connection_id":152928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:50:38] local.INFO: IMEI packet received {"connection_id":152928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":152928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:50:43] local.INFO: TCP Data received {"connection_id":152928,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:50:43] local.INFO: Processing buffer {"connection_id":152928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:50:43] local.INFO: IMEI packet received {"connection_id":152928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":152928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:50:44] local.INFO: TCP Data received {"connection_id":155225,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:50:44] local.INFO: Processing buffer {"connection_id":155225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:50:44] local.INFO: Packet analysis {"connection_id":155225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:50:44] local.INFO: Extracted packet for processing {"connection_id":155225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:50:44] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21:50: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-08-11 21:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334970624001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704120320,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:44] 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-08-11 21:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786464733000,"timestamp_ms":1786464733000,"timestamp_seconds":1786464733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1988748"} 
[2026-08-11 21:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:50:44] 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-08-11 21:50: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 21:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21:50: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-08-11 21:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334970624001,"66":3525,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704120320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334970624001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:50:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:50:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704120320,"description":"Unknown IO ID 45"} 
[2026-08-11 21:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334970624001,"power":3525,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704120320}} 
[2026-08-11 21:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":155225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:50:44] local.INFO: GPS data processed {"connection_id":155225,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:50:44] local.INFO: Acknowledgment sent {"connection_id":155225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:50:48] local.INFO: TCP Data received {"connection_id":152928,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:50:48] local.INFO: Processing buffer {"connection_id":152928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:50:48] local.INFO: Packet analysis {"connection_id":152928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:50:48] local.INFO: Extracted packet for processing {"connection_id":152928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:50:48] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334972928001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50: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-08-11 21:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786465039000,"timestamp_ms":1786465039000,"timestamp_seconds":1786465039,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19d3298"} 
[2026-08-11 21:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:50:48] 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-08-11 21: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-08-11 21:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334972928001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334972928001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:50:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:50:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334972928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":152928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:50:48] local.INFO: GPS data processed {"connection_id":152928,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:50:48] local.INFO: Acknowledgment sent {"connection_id":152928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:50:56] local.INFO: TCP Data received {"connection_id":152516,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:50:56] local.INFO: Processing buffer {"connection_id":152516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:50:56] local.INFO: Packet analysis {"connection_id":152516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:50:56] local.INFO: Extracted packet for processing {"connection_id":152516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:50:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334955776001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786464972000,"timestamp_ms":1786464972000,"timestamp_seconds":1786464972,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19c2ce0"} 
[2026-08-11 21:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 21:50:56] 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-08-11 21: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-08-11 21:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334955776001,"66":25756,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334955776001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:50:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:50:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334955776001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":152516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:50:56] local.INFO: GPS data processed {"connection_id":152516,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:50:56] local.INFO: Acknowledgment sent {"connection_id":152516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:51:08] local.INFO: TCP Data received {"connection_id":155226,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:51:08] local.INFO: Processing buffer {"connection_id":155226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:51:08] local.INFO: IMEI packet received {"connection_id":155226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":155226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:51:13] local.INFO: TCP Data received {"connection_id":155226,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:51:13] local.INFO: Processing buffer {"connection_id":155226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:51:13] local.INFO: IMEI packet received {"connection_id":155226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":155226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:51:14] local.INFO: TCP Data received {"connection_id":155226,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:51:14] local.INFO: Processing buffer {"connection_id":155226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1988748012d7e448005d356d8000401212c..."} 
[2026-08-11 21:51:14] local.INFO: Packet analysis {"connection_id":155226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:51:14] local.INFO: Extracted packet for processing {"connection_id":155226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff198"} 
[2026-08-11 21:51:14] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334970624001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704120320,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:14] 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-08-11 21:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786464733000,"timestamp_ms":1786464733000,"timestamp_seconds":1786464733,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1988748"} 
[2026-08-11 21:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:51:14] 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-08-11 21: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-11 21:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334970624001,"66":3525,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704120320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334970624001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:51:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:51:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704120320,"description":"Unknown IO ID 45"} 
[2026-08-11 21:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334970624001,"power":3525,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704120320}} 
[2026-08-11 21:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":155226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:51:14] local.INFO: GPS data processed {"connection_id":155226,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:51:14] local.INFO: Acknowledgment sent {"connection_id":155226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:51:18] local.INFO: TCP Data received {"connection_id":153848,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:51:18] local.INFO: Processing buffer {"connection_id":153848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:51:18] local.INFO: IMEI packet received {"connection_id":153848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":153848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:51:19] local.INFO: TCP Data received {"connection_id":152928,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:51:19] local.INFO: Processing buffer {"connection_id":152928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:51:19] local.INFO: Packet analysis {"connection_id":152928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:51:19] local.INFO: Extracted packet for processing {"connection_id":152928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:51:19] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:51: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-08-11 21:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334972928001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51: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-08-11 21:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786465039000,"timestamp_ms":1786465039000,"timestamp_seconds":1786465039,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19d3298"} 
[2026-08-11 21:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:51: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:51:19] 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-08-11 21:51: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-08-11 21:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334972928001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334972928001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:51:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:51:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334972928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":152928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:51:19] local.INFO: GPS data processed {"connection_id":152928,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:51:19] local.INFO: Acknowledgment sent {"connection_id":152928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:51:24] local.INFO: TCP Data received {"connection_id":153848,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:51:24] local.INFO: Processing buffer {"connection_id":153848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:51:24] local.INFO: IMEI packet received {"connection_id":153848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":153848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:51:24] local.INFO: TCP Data received {"connection_id":153848,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:51:24] local.INFO: Processing buffer {"connection_id":153848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19c2ce0012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 21:51:24] local.INFO: Packet analysis {"connection_id":153848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:51:24] local.INFO: Extracted packet for processing {"connection_id":153848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19c"} 
[2026-08-11 21:51:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334955776001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786464972000,"timestamp_ms":1786464972000,"timestamp_seconds":1786464972,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19c2ce0"} 
[2026-08-11 21:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-11 21:51:24] 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-08-11 21: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-08-11 21:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334955776001,"66":25756,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334955776001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:51:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:51:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334955776001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":153848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:51:24] local.INFO: GPS data processed {"connection_id":153848,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:51:24] local.INFO: Acknowledgment sent {"connection_id":153848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:51:38] local.INFO: TCP Data received {"connection_id":155227,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:51:38] local.INFO: Processing buffer {"connection_id":155227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:51:38] local.INFO: IMEI packet received {"connection_id":155227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":155227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:51:43] local.INFO: TCP Data received {"connection_id":155227,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:51:43] local.INFO: Processing buffer {"connection_id":155227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:51:43] local.INFO: IMEI packet received {"connection_id":155227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":155227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:51:44] local.INFO: TCP Data received {"connection_id":155227,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:51:44] local.INFO: Processing buffer {"connection_id":155227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:51:44] local.INFO: Packet analysis {"connection_id":155227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:51:44] local.INFO: Extracted packet for processing {"connection_id":155227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:51:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334972928001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465039000,"timestamp_ms":1786465039000,"timestamp_seconds":1786465039,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19d3298"} 
[2026-08-11 21:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:51:44] 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-08-11 21: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-08-11 21:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334972928001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334972928001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:51:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:51:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334972928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":155227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:51:44] local.INFO: GPS data processed {"connection_id":155227,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:51:44] local.INFO: Acknowledgment sent {"connection_id":155227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:51:45] local.INFO: TCP Data received {"connection_id":155226,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a0c0c0012d7e448005d356d8000401212a..."} 
[2026-08-11 21:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a0c0c0012d7e448005d356d8000401212a..."} 
[2026-08-11 21:51:45] local.INFO: Processing buffer {"connection_id":155226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a0c0c0012d7e448005d356d8000401212a..."} 
[2026-08-11 21:51:45] local.INFO: Packet analysis {"connection_id":155226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:51:45] local.INFO: Extracted packet for processing {"connection_id":155226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:51:45] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21:51:45] 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-08-11 21:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334971648001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704120320,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:45] 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-08-11 21:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786465272000,"timestamp_ms":1786465272000,"timestamp_seconds":1786465272,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a0c0c0"} 
[2026-08-11 21:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:51:45] 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-08-11 21: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":13,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-08-11 21:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2036,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334971648001,"66":2231,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704120320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334971648001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:51:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:51:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704120320,"description":"Unknown IO ID 45"} 
[2026-08-11 21:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334971648001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704120320}} 
[2026-08-11 21:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":155226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:51:45] local.INFO: GPS data processed {"connection_id":155226,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:51:45] local.INFO: Acknowledgment sent {"connection_id":155226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:51:56] local.INFO: TCP Data received {"connection_id":153848,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:51:56] local.INFO: Processing buffer {"connection_id":153848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:51:56] local.INFO: Packet analysis {"connection_id":153848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:51:56] local.INFO: Extracted packet for processing {"connection_id":153848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:51:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335032832001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786465273000,"timestamp_ms":1786465273000,"timestamp_seconds":1786465273,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a0c4a8"} 
[2026-08-11 21:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 21:51: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-08-11 21: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-08-11 21:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335032832001,"66":25734,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335032832001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:51:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:51:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335032832001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":153848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:51:56] local.INFO: GPS data processed {"connection_id":153848,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:51:56] local.INFO: Acknowledgment sent {"connection_id":153848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:52:08] local.INFO: TCP Data received {"connection_id":152929,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:52:08] local.INFO: Processing buffer {"connection_id":152929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:52:08] local.INFO: IMEI packet received {"connection_id":152929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":152929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:52:12] local.INFO: TCP Data received {"connection_id":152929,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:52:12] local.INFO: Processing buffer {"connection_id":152929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:52:12] local.INFO: IMEI packet received {"connection_id":152929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":152929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:52:13] local.INFO: TCP Data received {"connection_id":152929,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a0c0c0012d7e448005d356d8000401212a..."} 
[2026-08-11 21:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a0c0c0012d7e448005d356d8000401212a..."} 
[2026-08-11 21:52:13] local.INFO: Processing buffer {"connection_id":152929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a0c0c0012d7e448005d356d8000401212a..."} 
[2026-08-11 21:52:13] local.INFO: Packet analysis {"connection_id":152929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:52:13] local.INFO: Extracted packet for processing {"connection_id":152929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:52:13] local.INFO: GPS Element Parsed {"raw_longitude":763249792,"raw_latitude":97736408,"longitude_deg":76.3249792,"latitude_deg":9.7736408,"altitude":4,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7e4480","hex_latitude":"05d356d8","is_valid_coordinates":true} 
[2026-08-11 21:52:13] 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-08-11 21:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335109632001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917506772926464,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098537909704120320,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:13] 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-08-11 21:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786465272000,"timestamp_ms":1786465272000,"timestamp_seconds":1786465272,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a0c0c0"} 
[2026-08-11 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-08-11 21:52:13] 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-08-11 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-11 21:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 21:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335109632001,"66":2231,"109":206,"85":15104,"24":0,"16":117917506772926464,"45":9098537909704120320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335109632001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:52:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:52:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917506772926464,"km_value":117917506772926.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098537909704120320,"description":"Unknown IO ID 45"} 
[2026-08-11 21:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335109632001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098537909704120320}} 
[2026-08-11 21:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":152929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:52:13] local.INFO: GPS data processed {"connection_id":152929,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:52:13] local.INFO: Acknowledgment sent {"connection_id":152929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:52:15] local.INFO: TCP Data received {"connection_id":155227,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:52:15] local.INFO: Processing buffer {"connection_id":155227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:52:15] local.INFO: Packet analysis {"connection_id":155227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:52:15] local.INFO: Extracted packet for processing {"connection_id":155227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334972928001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786465039000,"timestamp_ms":1786465039000,"timestamp_seconds":1786465039,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19d3298"} 
[2026-08-11 21:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:52:15] 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-08-11 21: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-08-11 21:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334972928001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334972928001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:52:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334972928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":155227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:52:15] local.INFO: GPS data processed {"connection_id":155227,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:52:15] local.INFO: Acknowledgment sent {"connection_id":155227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:52:18] local.INFO: TCP Data received {"connection_id":155228,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:52:18] local.INFO: Processing buffer {"connection_id":155228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:52:18] local.INFO: IMEI packet received {"connection_id":155228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":155228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:52:24] local.INFO: TCP Data received {"connection_id":155228,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:52:24] local.INFO: Processing buffer {"connection_id":155228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:52:24] local.INFO: IMEI packet received {"connection_id":155228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":155228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:52:24] local.INFO: TCP Data received {"connection_id":155228,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:52:24] local.INFO: Processing buffer {"connection_id":155228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:52:24] local.INFO: Packet analysis {"connection_id":155228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:52:24] local.INFO: Extracted packet for processing {"connection_id":155228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:52:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335032832001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786465273000,"timestamp_ms":1786465273000,"timestamp_seconds":1786465273,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a0c4a8"} 
[2026-08-11 21:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 21:52:24] 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-08-11 21: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-08-11 21:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335032832001,"66":25734,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335032832001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:52:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:52:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335032832001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":155228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:52:24] local.INFO: GPS data processed {"connection_id":155228,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:52:24] local.INFO: Acknowledgment sent {"connection_id":155228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:52:38] local.INFO: TCP Data received {"connection_id":152930,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:52:38] local.INFO: Processing buffer {"connection_id":152930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:52:38] local.INFO: IMEI packet received {"connection_id":152930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":152930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:52:43] local.INFO: TCP Data received {"connection_id":152930,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:52:43] local.INFO: Processing buffer {"connection_id":152930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:52:43] local.INFO: IMEI packet received {"connection_id":152930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":152930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:52:44] local.INFO: TCP Data received {"connection_id":152930,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:52:44] local.INFO: Processing buffer {"connection_id":152930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff19d3298012d196a00071fef68003b01182d..."} 
[2026-08-11 21:52:44] local.INFO: Packet analysis {"connection_id":152930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:52:44] local.INFO: Extracted packet for processing {"connection_id":152930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff19d"} 
[2026-08-11 21:52:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457334972928001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465039000,"timestamp_ms":1786465039000,"timestamp_seconds":1786465039,"priority":1,"record_length":96,"hex_timestamp":"0000019ff19d3298"} 
[2026-08-11 21:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:52:44] 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-08-11 21: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-08-11 21:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:52:44] 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-08-11 21:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457334972928001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457334972928001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:52:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:52:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457334972928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":152930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:52:44] local.INFO: GPS data processed {"connection_id":152930,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:52:44] local.INFO: Acknowledgment sent {"connection_id":152930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:52:44] local.INFO: TCP Data received {"connection_id":152929,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a208e0012d7e360005d34e38000300692e..."} 
[2026-08-11 21:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a208e0012d7e360005d34e38000300692e..."} 
[2026-08-11 21:52:44] local.INFO: Processing buffer {"connection_id":152929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a208e0012d7e360005d34e38000300692e..."} 
[2026-08-11 21:52:44] local.INFO: Packet analysis {"connection_id":152929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a2"} 
[2026-08-11 21:52:44] local.INFO: Extracted packet for processing {"connection_id":152929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a2"} 
[2026-08-11 21:52:44] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734200,"longitude_deg":76.324608,"latitude_deg":9.77342,"altitude":3,"angle":105,"satellites":46,"speed":4,"hex_longitude":"2d7e3600","hex_latitude":"05d34e38","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335130624001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917910499852288,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820390912,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:44] 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-08-11 21:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465356000,"timestamp_ms":1786465356000,"timestamp_seconds":1786465356,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a208e0"} 
[2026-08-11 21:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:52:44] 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-08-11 21: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-11 21:52:44] 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-08-11 21: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-08-11 21:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335130624001,"66":12015,"109":206,"85":15104,"24":4,"16":117917910499852288,"45":9094104678820390912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335130624001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:52:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:52:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917910499852288,"km_value":117917910499852.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820390912,"description":"Unknown IO ID 45"} 
[2026-08-11 21:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335130624001,"power":12015,"unknown_109":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9094104678820390912}} 
[2026-08-11 21:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":152929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:52:44] local.INFO: GPS data processed {"connection_id":152929,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:52:44] local.INFO: Acknowledgment sent {"connection_id":152929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:52:55] local.INFO: TCP Data received {"connection_id":155228,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:52:55] local.INFO: Processing buffer {"connection_id":155228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:52:55] local.INFO: Packet analysis {"connection_id":155228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:52:55] local.INFO: Extracted packet for processing {"connection_id":155228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:52:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335032832001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786465273000,"timestamp_ms":1786465273000,"timestamp_seconds":1786465273,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a0c4a8"} 
[2026-08-11 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-08-11 21:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 21:52: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-08-11 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-08-11 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-08-11 21:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335032832001,"66":25734,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335032832001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:52:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:52:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335032832001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":155228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:52:55] local.INFO: GPS data processed {"connection_id":155228,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:52:55] local.INFO: Acknowledgment sent {"connection_id":155228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:53:08] local.INFO: TCP Data received {"connection_id":153849,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:53:08] local.INFO: Processing buffer {"connection_id":153849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:53:08] local.INFO: IMEI packet received {"connection_id":153849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":153849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:53:13] local.INFO: TCP Data received {"connection_id":153849,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:53:13] local.INFO: Processing buffer {"connection_id":153849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:53:13] local.INFO: IMEI packet received {"connection_id":153849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":153849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:53:13] local.INFO: TCP Data received {"connection_id":153849,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a20cc8012d7e364005d34e380003005d2e..."} 
[2026-08-11 21:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a20cc8012d7e364005d34e380003005d2e..."} 
[2026-08-11 21:53:13] local.INFO: Processing buffer {"connection_id":153849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a20cc8012d7e364005d34e380003005d2e..."} 
[2026-08-11 21:53:13] local.INFO: Packet analysis {"connection_id":153849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a2"} 
[2026-08-11 21:53:13] local.INFO: Extracted packet for processing {"connection_id":153849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a2"} 
[2026-08-11 21:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734200,"longitude_deg":76.3246144,"latitude_deg":9.77342,"altitude":3,"angle":93,"satellites":46,"speed":4,"hex_longitude":"2d7e3640","hex_latitude":"05d34e38","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335131136001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917914794819584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541250560,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:13] 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-08-11 21:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786465357000,"timestamp_ms":1786465357000,"timestamp_seconds":1786465357,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a20cc8"} 
[2026-08-11 21:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:53:13] 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-08-11 21: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-11 21:53:13] 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-08-11 21: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-08-11 21:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335131136001,"66":12135,"109":206,"85":15104,"24":4,"16":117917914794819584,"45":9094456522541250560},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335131136001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:53:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917914794819584,"km_value":117917914794819.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541250560,"description":"Unknown IO ID 45"} 
[2026-08-11 21:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335131136001,"power":12135,"unknown_109":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9094456522541250560}} 
[2026-08-11 21:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":153849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:53:14] local.INFO: GPS data processed {"connection_id":153849,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:53:14] local.INFO: Acknowledgment sent {"connection_id":153849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:53:15] local.INFO: TCP Data received {"connection_id":152930,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:53:15] local.INFO: Processing buffer {"connection_id":152930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:53:15] local.INFO: Packet analysis {"connection_id":152930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:53:15] local.INFO: Extracted packet for processing {"connection_id":152930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335049984001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786465340000,"timestamp_ms":1786465340000,"timestamp_seconds":1786465340,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a1ca60"} 
[2026-08-11 21:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:53:15] 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-08-11 21: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-08-11 21:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:53:15] 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-08-11 21:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335049984001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335049984001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:53:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335049984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":152930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:53:15] local.INFO: GPS data processed {"connection_id":152930,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:53:15] local.INFO: Acknowledgment sent {"connection_id":152930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:53:18] local.INFO: TCP Data received {"connection_id":155229,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:53:18] local.INFO: Processing buffer {"connection_id":155229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:53:18] local.INFO: IMEI packet received {"connection_id":155229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":155229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:53:24] local.INFO: TCP Data received {"connection_id":155229,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:53:24] local.INFO: Processing buffer {"connection_id":155229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:53:24] local.INFO: IMEI packet received {"connection_id":155229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":155229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:53:24] local.INFO: TCP Data received {"connection_id":155229,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:53:24] local.INFO: Processing buffer {"connection_id":155229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:53:24] local.INFO: Packet analysis {"connection_id":155229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:53:24] local.INFO: Extracted packet for processing {"connection_id":155229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:53:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335032832001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786465273000,"timestamp_ms":1786465273000,"timestamp_seconds":1786465273,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a0c4a8"} 
[2026-08-11 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-08-11 21:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 21:53:24] 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-08-11 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-08-11 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-08-11 21:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335032832001,"66":25734,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335032832001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:53:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:53:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335032832001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":155229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:53:24] local.INFO: GPS data processed {"connection_id":155229,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:53:24] local.INFO: Acknowledgment sent {"connection_id":155229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:53:38] local.INFO: TCP Data received {"connection_id":155230,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:53:38] local.INFO: Processing buffer {"connection_id":155230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:53:38] local.INFO: IMEI packet received {"connection_id":155230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":155230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:53:43] local.INFO: TCP Data received {"connection_id":155230,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:53:43] local.INFO: Processing buffer {"connection_id":155230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:53:43] local.INFO: IMEI packet received {"connection_id":155230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":155230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:53:44] local.INFO: TCP Data received {"connection_id":155230,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:53:44] local.INFO: Processing buffer {"connection_id":155230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:53:44] local.INFO: Packet analysis {"connection_id":155230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:53:44] local.INFO: Extracted packet for processing {"connection_id":155230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:53:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:53: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-08-11 21:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335049984001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465340000,"timestamp_ms":1786465340000,"timestamp_seconds":1786465340,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a1ca60"} 
[2026-08-11 21:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:53: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:53:44] 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-08-11 21:53: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-08-11 21:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:53:44] 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-08-11 21:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335049984001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335049984001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:53:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:53:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335049984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":155230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:53:44] local.INFO: GPS data processed {"connection_id":155230,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:53:44] local.INFO: Acknowledgment sent {"connection_id":155230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:53:47] local.INFO: TCP Data received {"connection_id":153849,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a21498012d7e374005d34e680003004e2e..."} 
[2026-08-11 21:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a21498012d7e374005d34e680003004e2e..."} 
[2026-08-11 21:53:47] local.INFO: Processing buffer {"connection_id":153849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a21498012d7e374005d34e680003004e2e..."} 
[2026-08-11 21:53:47] local.INFO: Packet analysis {"connection_id":153849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a2"} 
[2026-08-11 21:53:47] local.INFO: Extracted packet for processing {"connection_id":153849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a2"} 
[2026-08-11 21:53:47] local.INFO: GPS Element Parsed {"raw_longitude":763246400,"raw_latitude":97734248,"longitude_deg":76.32464,"latitude_deg":9.7734248,"altitude":3,"angle":78,"satellites":46,"speed":4,"hex_longitude":"2d7e3740","hex_latitude":"05d34e68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335131392001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917927679721472,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285428224,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:47] 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-08-11 21:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786465359000,"timestamp_ms":1786465359000,"timestamp_seconds":1786465359,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a21498"} 
[2026-08-11 21:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:53:47] 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-08-11 21: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 21:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335131392001,"66":11917,"109":206,"85":15104,"24":4,"16":117917927679721472,"45":9094526891285428224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335131392001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:53:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:53:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917927679721472,"km_value":117917927679721.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285428224,"description":"Unknown IO ID 45"} 
[2026-08-11 21:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335131392001,"power":11917,"unknown_109":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9094526891285428224}} 
[2026-08-11 21:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":153849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:53:47] local.INFO: GPS data processed {"connection_id":153849,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:53:47] local.INFO: Acknowledgment sent {"connection_id":153849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:53:56] local.INFO: TCP Data received {"connection_id":155229,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:53:56] local.INFO: Processing buffer {"connection_id":155229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:53:56] local.INFO: Packet analysis {"connection_id":155229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:53:56] local.INFO: Extracted packet for processing {"connection_id":155229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:53:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335032832001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786465273000,"timestamp_ms":1786465273000,"timestamp_seconds":1786465273,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a0c4a8"} 
[2026-08-11 21:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":156,"data_length":795,"current_offset":136} 
[2026-08-11 21:53: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-08-11 21: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-08-11 21:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335032832001,"66":25734,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335032832001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:53:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:53:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335032832001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":155229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:53:56] local.INFO: GPS data processed {"connection_id":155229,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:53:56] local.INFO: Acknowledgment sent {"connection_id":155229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:54:08] local.INFO: TCP Data received {"connection_id":152931,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:54:08] local.INFO: Processing buffer {"connection_id":152931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:54:08] local.INFO: IMEI packet received {"connection_id":152931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":152931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:54:13] local.INFO: TCP Data received {"connection_id":152931,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:54:13] local.INFO: Processing buffer {"connection_id":152931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:54:13] local.INFO: IMEI packet received {"connection_id":152931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":152931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:54:14] local.INFO: TCP Data received {"connection_id":152931,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a24760012d7e374005d34f800003010e2e..."} 
[2026-08-11 21:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a24760012d7e374005d34f800003010e2e..."} 
[2026-08-11 21:54:14] local.INFO: Processing buffer {"connection_id":152931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a24760012d7e374005d34f800003010e2e..."} 
[2026-08-11 21:54:14] local.INFO: Packet analysis {"connection_id":152931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a2"} 
[2026-08-11 21:54:14] local.INFO: Extracted packet for processing {"connection_id":152931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a2"} 
[2026-08-11 21:54:14] local.INFO: GPS Element Parsed {"raw_longitude":763246400,"raw_latitude":97734528,"longitude_deg":76.32464,"latitude_deg":9.7734528,"altitude":3,"angle":270,"satellites":46,"speed":1,"hex_longitude":"2d7e3740","hex_latitude":"05d34f80","is_valid_coordinates":true} 
[2026-08-11 21:54: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-08-11 21:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335131904001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917949154557952,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094808366262151168,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:14] 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-08-11 21:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786465372000,"timestamp_ms":1786465372000,"timestamp_seconds":1786465372,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a24760"} 
[2026-08-11 21:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:54:14] 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-08-11 21:54: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-11 21:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21:54: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-08-11 21:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335131904001,"66":11917,"109":206,"85":15104,"24":1,"16":117917949154557952,"45":9094808366262151168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335131904001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:54:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:54:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917949154557952,"km_value":117917949154557.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094808366262151168,"description":"Unknown IO ID 45"} 
[2026-08-11 21:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335131904001,"power":11917,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9094808366262151168}} 
[2026-08-11 21:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":152931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:54:14] local.INFO: GPS data processed {"connection_id":152931,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:54:14] local.INFO: Acknowledgment sent {"connection_id":152931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:54:15] local.INFO: TCP Data received {"connection_id":155230,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:54:15] local.INFO: Processing buffer {"connection_id":155230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:54:15] local.INFO: Packet analysis {"connection_id":155230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:54:15] local.INFO: Extracted packet for processing {"connection_id":155230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335049984001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786465340000,"timestamp_ms":1786465340000,"timestamp_seconds":1786465340,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a1ca60"} 
[2026-08-11 21:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:54:15] 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-08-11 21: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-08-11 21:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:54:15] 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-08-11 21:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335049984001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335049984001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:54:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:54:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335049984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":155230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:54:15] local.INFO: GPS data processed {"connection_id":155230,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:54:15] local.INFO: Acknowledgment sent {"connection_id":155230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:54:24] local.INFO: TCP Data received {"connection_id":155231,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:54:24] local.INFO: Processing buffer {"connection_id":155231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:54:24] local.INFO: IMEI packet received {"connection_id":155231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":155231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:54:29] local.INFO: TCP Data received {"connection_id":155231,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:54:29] local.INFO: Processing buffer {"connection_id":155231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:54:29] local.INFO: IMEI packet received {"connection_id":155231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":155231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:54:29] local.INFO: TCP Data received {"connection_id":155231,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:54:29] local.INFO: Processing buffer {"connection_id":155231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:54:29] local.INFO: Packet analysis {"connection_id":155231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:54:29] local.INFO: Extracted packet for processing {"connection_id":155231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:54:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21:54: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-08-11 21:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335032832001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786465273000,"timestamp_ms":1786465273000,"timestamp_seconds":1786465273,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a0c4a8"} 
[2026-08-11 21:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:54: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-08-11 21:54: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-08-11 21:54: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-08-11 21:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335032832001,"66":25734,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335032832001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:54:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:54:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335032832001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":155231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:54:29] local.INFO: GPS data processed {"connection_id":155231,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:54:29] local.INFO: Acknowledgment sent {"connection_id":155231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:54:36] local.INFO: TCP Data received {"connection_id":155231,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:54:36] local.INFO: Processing buffer {"connection_id":155231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:54:36] local.INFO: Packet analysis {"connection_id":155231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:54:36] local.INFO: Extracted packet for processing {"connection_id":155231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:54:36] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335032832001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786465273000,"timestamp_ms":1786465273000,"timestamp_seconds":1786465273,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a0c4a8"} 
[2026-08-11 21:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":156,"data_length":795,"current_offset":136} 
[2026-08-11 21:54: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-08-11 21: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-08-11 21:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":155231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":155231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":155231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335032832001,"66":25734,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335032832001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:54:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:54:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335032832001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":155231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:54:36] local.INFO: GPS data processed {"connection_id":155231,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:54:36] local.INFO: Acknowledgment sent {"connection_id":155231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:54:38] local.INFO: TCP Data received {"connection_id":153850,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:54:38] local.INFO: Processing buffer {"connection_id":153850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:54:38] local.INFO: IMEI packet received {"connection_id":153850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":153850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:54:43] local.INFO: TCP Data received {"connection_id":153850,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:54:43] local.INFO: Processing buffer {"connection_id":153850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:54:43] local.INFO: IMEI packet received {"connection_id":153850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":153850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:54:44] local.INFO: TCP Data received {"connection_id":153850,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:54:44] local.INFO: Processing buffer {"connection_id":153850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:54:44] local.INFO: Packet analysis {"connection_id":153850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:54:44] local.INFO: Extracted packet for processing {"connection_id":153850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:54:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335049984001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465340000,"timestamp_ms":1786465340000,"timestamp_seconds":1786465340,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a1ca60"} 
[2026-08-11 21:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:54:44] 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-08-11 21: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-08-11 21:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:54:44] 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-08-11 21:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335049984001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335049984001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:54:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:54:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335049984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":153850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:54:44] local.INFO: GPS data processed {"connection_id":153850,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:54:44] local.INFO: Acknowledgment sent {"connection_id":153850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:54:44] local.INFO: TCP Data received {"connection_id":152931,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a25318012d7e364005d34f80000401002e..."} 
[2026-08-11 21:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a25318012d7e364005d34f80000401002e..."} 
[2026-08-11 21:54:44] local.INFO: Processing buffer {"connection_id":152931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a25318012d7e364005d34f80000401002e..."} 
[2026-08-11 21:54:44] local.INFO: Packet analysis {"connection_id":152931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a2"} 
[2026-08-11 21:54:44] local.INFO: Extracted packet for processing {"connection_id":152931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a2"} 
[2026-08-11 21:54:44] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734528,"longitude_deg":76.3246144,"latitude_deg":9.7734528,"altitude":4,"angle":256,"satellites":46,"speed":2,"hex_longitude":"2d7e3640","hex_latitude":"05d34f80","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335135232001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917957744492544,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094808366262222848,"note":"Value kept but may cause issues"} 
[2026-08-11 21:54:44] 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-08-11 21:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465375000,"timestamp_ms":1786465375000,"timestamp_seconds":1786465375,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a25318"} 
[2026-08-11 21:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:54:44] 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-08-11 21: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-11 21:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 21: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-08-11 21:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335135232001,"66":12004,"109":206,"85":15104,"24":2,"16":117917957744492544,"45":9094808366262222848},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335135232001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:54:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:54:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917957744492544,"km_value":117917957744492.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094808366262222848,"description":"Unknown IO ID 45"} 
[2026-08-11 21:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335135232001,"power":12004,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9094808366262222848}} 
[2026-08-11 21:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":152931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:54:44] local.INFO: GPS data processed {"connection_id":152931,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:54:44] local.INFO: Acknowledgment sent {"connection_id":152931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:55:08] local.INFO: TCP Data received {"connection_id":152932,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:55:08] local.INFO: Processing buffer {"connection_id":152932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:55:08] local.INFO: IMEI packet received {"connection_id":152932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":152932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:55:13] local.INFO: TCP Data received {"connection_id":152932,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:55:13] local.INFO: Processing buffer {"connection_id":152932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:55:13] local.INFO: IMEI packet received {"connection_id":152932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":152932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:55:14] local.INFO: TCP Data received {"connection_id":152932,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a25ae8012d7e35c005d34f50000300f32e..."} 
[2026-08-11 21:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a25ae8012d7e35c005d34f50000300f32e..."} 
[2026-08-11 21:55:14] local.INFO: Processing buffer {"connection_id":152932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a25ae8012d7e35c005d34f50000300f32e..."} 
[2026-08-11 21:55:14] local.INFO: Packet analysis {"connection_id":152932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a2"} 
[2026-08-11 21:55:14] local.INFO: Extracted packet for processing {"connection_id":152932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a2"} 
[2026-08-11 21:55:14] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734480,"longitude_deg":76.3246016,"latitude_deg":9.773448,"altitude":3,"angle":243,"satellites":46,"speed":3,"hex_longitude":"2d7e35c0","hex_latitude":"05d34f50","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335136000001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917966334427136,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285512192,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:14] 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-08-11 21:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786465377000,"timestamp_ms":1786465377000,"timestamp_seconds":1786465377,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a25ae8"} 
[2026-08-11 21:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:55:14] 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-08-11 21: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-11 21:55:14] 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-08-11 21: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-08-11 21:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335136000001,"66":11830,"109":206,"85":15104,"24":3,"16":117917966334427136,"45":9094526891285512192},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335136000001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:55:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:55:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917966334427136,"km_value":117917966334427.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285512192,"description":"Unknown IO ID 45"} 
[2026-08-11 21:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335136000001,"power":11830,"unknown_109":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9094526891285512192}} 
[2026-08-11 21:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":152932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:55:14] local.INFO: GPS data processed {"connection_id":152932,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:55:14] local.INFO: Acknowledgment sent {"connection_id":152932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:55:19] local.INFO: TCP Data received {"connection_id":152517,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:55:19] local.INFO: Processing buffer {"connection_id":152517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:55:19] local.INFO: IMEI packet received {"connection_id":152517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":152517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:55:23] local.INFO: TCP Data received {"connection_id":153850,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:55:23] local.INFO: Processing buffer {"connection_id":153850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:55:23] local.INFO: Packet analysis {"connection_id":153850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:55:23] local.INFO: Extracted packet for processing {"connection_id":153850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335049984001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21: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-08-11 21:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786465340000,"timestamp_ms":1786465340000,"timestamp_seconds":1786465340,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a1ca60"} 
[2026-08-11 21:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21: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-08-11 21: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-08-11 21:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:55:23] 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-08-11 21:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335049984001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335049984001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:55:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335049984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":153850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:55:23] local.INFO: GPS data processed {"connection_id":153850,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:55:23] local.INFO: Acknowledgment sent {"connection_id":153850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:55:24] local.INFO: TCP Data received {"connection_id":152517,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:55:24] local.INFO: Processing buffer {"connection_id":152517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:55:24] local.INFO: IMEI packet received {"connection_id":152517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":152517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:55:24] local.INFO: TCP Data received {"connection_id":152517,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:55:24] local.INFO: Processing buffer {"connection_id":152517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:55:24] local.INFO: Packet analysis {"connection_id":152517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:55:24] local.INFO: Extracted packet for processing {"connection_id":152517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:55:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335032832001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786465273000,"timestamp_ms":1786465273000,"timestamp_seconds":1786465273,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a0c4a8"} 
[2026-08-11 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-08-11 21:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 21:55:24] 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-08-11 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-08-11 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-08-11 21:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335032832001,"66":25734,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335032832001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:55:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:55:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335032832001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":152517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:55:24] local.INFO: GPS data processed {"connection_id":152517,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:55:24] local.INFO: Acknowledgment sent {"connection_id":152517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:55:38] local.INFO: TCP Data received {"connection_id":153851,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:55:38] local.INFO: Processing buffer {"connection_id":153851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:55:38] local.INFO: IMEI packet received {"connection_id":153851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":153851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:55:44] local.INFO: TCP Data received {"connection_id":153851,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:55:44] local.INFO: Processing buffer {"connection_id":153851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:55:44] local.INFO: IMEI packet received {"connection_id":153851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":153851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:55:45] local.INFO: TCP Data received {"connection_id":153851,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:55:45] local.INFO: Processing buffer {"connection_id":153851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:55:45] local.INFO: Packet analysis {"connection_id":153851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:55:45] local.INFO: Extracted packet for processing {"connection_id":153851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:55:45] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:55: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-08-11 21:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335049984001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786465340000,"timestamp_ms":1786465340000,"timestamp_seconds":1786465340,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a1ca60"} 
[2026-08-11 21:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:55: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:55:45] 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-08-11 21:55: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-08-11 21:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335049984001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335049984001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:55:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:55:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335049984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":153851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:55:45] local.INFO: GPS data processed {"connection_id":153851,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:55:45] local.INFO: Acknowledgment sent {"connection_id":153851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:55:47] local.INFO: TCP Data received {"connection_id":152932,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a25ed0012d7e35c005d34f28000300e72e..."} 
[2026-08-11 21:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a25ed0012d7e35c005d34f28000300e72e..."} 
[2026-08-11 21:55:47] local.INFO: Processing buffer {"connection_id":152932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a25ed0012d7e35c005d34f28000300e72e..."} 
[2026-08-11 21:55:47] local.INFO: Packet analysis {"connection_id":152932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a2"} 
[2026-08-11 21:55:47] local.INFO: Extracted packet for processing {"connection_id":152932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a2"} 
[2026-08-11 21:55:47] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734440,"longitude_deg":76.3246016,"latitude_deg":9.773444,"altitude":3,"angle":231,"satellites":46,"speed":2,"hex_longitude":"2d7e35c0","hex_latitude":"05d34f28","is_valid_coordinates":true} 
[2026-08-11 21:55: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-08-11 21:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335136512001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917966334427136,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797144576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:47] 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-08-11 21:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786465378000,"timestamp_ms":1786465378000,"timestamp_seconds":1786465378,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a25ed0"} 
[2026-08-11 21:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:55:47] 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-08-11 21: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-11 21:55:47] 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-08-11 21: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-08-11 21:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335136512001,"66":11830,"109":206,"85":15104,"24":2,"16":117917966334427136,"45":9094386153797144576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335136512001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:55:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:55:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917966334427136,"km_value":117917966334427.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797144576,"description":"Unknown IO ID 45"} 
[2026-08-11 21:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335136512001,"power":11830,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9094386153797144576}} 
[2026-08-11 21:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":152932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:55:47] local.INFO: GPS data processed {"connection_id":152932,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:55:47] local.INFO: Acknowledgment sent {"connection_id":152932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:55:56] local.INFO: TCP Data received {"connection_id":152517,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:55:56] local.INFO: Processing buffer {"connection_id":152517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:55:56] local.INFO: Packet analysis {"connection_id":152517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:55:56] local.INFO: Extracted packet for processing {"connection_id":152517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:55:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335032832001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786465273000,"timestamp_ms":1786465273000,"timestamp_seconds":1786465273,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a0c4a8"} 
[2026-08-11 21:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 21:55: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-08-11 21: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-08-11 21:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335032832001,"66":25734,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335032832001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:55:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:55:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335032832001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":152517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:55:56] local.INFO: GPS data processed {"connection_id":152517,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:55:56] local.INFO: Acknowledgment sent {"connection_id":152517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:56:08] local.INFO: TCP Data received {"connection_id":153852,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:56:08] local.INFO: Processing buffer {"connection_id":153852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:56:08] local.INFO: IMEI packet received {"connection_id":153852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-11 21:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":153852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:56:13] local.INFO: TCP Data received {"connection_id":153852,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:56:13] local.INFO: Processing buffer {"connection_id":153852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-11 21:56:13] local.INFO: IMEI packet received {"connection_id":153852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-11 21:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":153852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:56:14] local.INFO: TCP Data received {"connection_id":153852,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a2b0d8012d7e35c005d34ef8000300e72d..."} 
[2026-08-11 21:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a2b0d8012d7e35c005d34ef8000300e72d..."} 
[2026-08-11 21:56:14] local.INFO: Processing buffer {"connection_id":153852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a2b0d8012d7e35c005d34ef8000300e72d..."} 
[2026-08-11 21:56:14] local.INFO: Packet analysis {"connection_id":153852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a2"} 
[2026-08-11 21:56:14] local.INFO: Extracted packet for processing {"connection_id":153852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a2"} 
[2026-08-11 21:56:14] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734392,"longitude_deg":76.3246016,"latitude_deg":9.7734392,"altitude":3,"angle":231,"satellites":45,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34ef8","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335136768001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":117917974924361728,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797134336,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56:14] 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-08-11 21:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786465399000,"timestamp_ms":1786465399000,"timestamp_seconds":1786465399,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a2b0d8"} 
[2026-08-11 21:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:56:14] 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-08-11 21: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-11 21:56:14] 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-08-11 21: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-08-11 21:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-11 21:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-11 21:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-11 21:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335136768001,"66":12004,"109":206,"85":15104,"24":0,"16":117917974924361728,"45":9094386153797134336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-11 21:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-11 21:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-11 21:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335136768001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:56:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-11 21:56:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-11 21:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":117917974924361728,"km_value":117917974924361.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797134336,"description":"Unknown IO ID 45"} 
[2026-08-11 21:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335136768001,"power":12004,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797134336}} 
[2026-08-11 21:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":153852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:56:14] local.INFO: GPS data processed {"connection_id":153852,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:56:14] local.INFO: Acknowledgment sent {"connection_id":153852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:56:16] local.INFO: TCP Data received {"connection_id":153851,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:56:16] local.INFO: Processing buffer {"connection_id":153851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:56:16] local.INFO: Packet analysis {"connection_id":153851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:56:16] local.INFO: Extracted packet for processing {"connection_id":153851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335049984001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786465340000,"timestamp_ms":1786465340000,"timestamp_seconds":1786465340,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a1ca60"} 
[2026-08-11 21:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:56:16] 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-08-11 21: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-08-11 21:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335049984001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335049984001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:56:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:56:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335049984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":153851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:56:16] local.INFO: GPS data processed {"connection_id":153851,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:56:16] local.INFO: Acknowledgment sent {"connection_id":153851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:56:18] local.INFO: TCP Data received {"connection_id":152518,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:56:18] local.INFO: Processing buffer {"connection_id":152518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:56:18] local.INFO: IMEI packet received {"connection_id":152518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":152518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:56:24] local.INFO: TCP Data received {"connection_id":152518,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:56:24] local.INFO: Processing buffer {"connection_id":152518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:56:24] local.INFO: IMEI packet received {"connection_id":152518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":152518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:56:24] local.INFO: TCP Data received {"connection_id":152518,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:56:24] local.INFO: Processing buffer {"connection_id":152518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a0c4a8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 21:56:24] local.INFO: Packet analysis {"connection_id":152518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:56:24] local.INFO: Extracted packet for processing {"connection_id":152518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a0"} 
[2026-08-11 21:56:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335032832001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786465273000,"timestamp_ms":1786465273000,"timestamp_seconds":1786465273,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a0c4a8"} 
[2026-08-11 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-08-11 21:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-11 21:56:24] 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-08-11 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-08-11 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-08-11 21:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335032832001,"66":25734,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335032832001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:56:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:56:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335032832001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":152518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:56:24] local.INFO: GPS data processed {"connection_id":152518,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:56:24] local.INFO: Acknowledgment sent {"connection_id":152518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:56:43] local.INFO: TCP Data received {"connection_id":155232,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:56:43] local.INFO: Processing buffer {"connection_id":155232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:56:43] local.INFO: IMEI packet received {"connection_id":155232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":155232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:56:48] local.INFO: TCP Data received {"connection_id":155232,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:56:48] local.INFO: Processing buffer {"connection_id":155232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:56:48] local.INFO: IMEI packet received {"connection_id":155232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":155232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:56:49] local.INFO: TCP Data received {"connection_id":155232,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:56:49] local.INFO: Processing buffer {"connection_id":155232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:56:49] local.INFO: Packet analysis {"connection_id":155232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:56:49] local.INFO: Extracted packet for processing {"connection_id":155232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:56:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:56: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-08-11 21:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335049984001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56: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-08-11 21:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786465340000,"timestamp_ms":1786465340000,"timestamp_seconds":1786465340,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a1ca60"} 
[2026-08-11 21:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:56: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:56:49] 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-08-11 21:56: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-08-11 21:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":155232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":155232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":155232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335049984001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335049984001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:56:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:56:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335049984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":155232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:56:49] local.INFO: GPS data processed {"connection_id":155232,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:56:49] local.INFO: Acknowledgment sent {"connection_id":155232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:56:53] local.INFO: TCP Data received {"connection_id":155232,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:56:53] local.INFO: Processing buffer {"connection_id":155232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:56:53] local.INFO: Packet analysis {"connection_id":155232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:56:53] local.INFO: Extracted packet for processing {"connection_id":155232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:56:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335049984001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21: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-08-11 21:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786465340000,"timestamp_ms":1786465340000,"timestamp_seconds":1786465340,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a1ca60"} 
[2026-08-11 21:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:56: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-08-11 21: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-08-11 21:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":155232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":155232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":155232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335049984001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335049984001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:56:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:56:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335049984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":155232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:56:53] local.INFO: GPS data processed {"connection_id":155232,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:56:53] local.INFO: Acknowledgment sent {"connection_id":155232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:56:55] local.INFO: TCP Data received {"connection_id":152518,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:56:55] local.INFO: Processing buffer {"connection_id":152518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:56:55] local.INFO: Packet analysis {"connection_id":152518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 21:56:55] local.INFO: Extracted packet for processing {"connection_id":152518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 21:56:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 21:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335109888001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786465574000,"timestamp_ms":1786465574000,"timestamp_seconds":1786465574,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a55c70"} 
[2026-08-11 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-08-11 21:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 21:56:55] 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-08-11 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-08-11 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-08-11 21:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335109888001,"66":25712,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335109888001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:56:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:56:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335109888001,"power":25712,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":152518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:56:55] local.INFO: GPS data processed {"connection_id":152518,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:56:55] local.INFO: Acknowledgment sent {"connection_id":152518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:57:18] local.INFO: TCP Data received {"connection_id":153853,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:57:18] local.INFO: Processing buffer {"connection_id":153853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:57:18] local.INFO: IMEI packet received {"connection_id":153853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":153853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:57:24] local.INFO: TCP Data received {"connection_id":153853,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:57:24] local.INFO: Processing buffer {"connection_id":153853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:57:24] local.INFO: IMEI packet received {"connection_id":153853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":153853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:57:25] local.INFO: TCP Data received {"connection_id":153853,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:57:25] local.INFO: Processing buffer {"connection_id":153853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:57:25] local.INFO: Packet analysis {"connection_id":153853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 21:57:25] local.INFO: Extracted packet for processing {"connection_id":153853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 21:57:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335109888001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786465574000,"timestamp_ms":1786465574000,"timestamp_seconds":1786465574,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a55c70"} 
[2026-08-11 21:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 21:57:25] 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-08-11 21: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-08-11 21:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335109888001,"66":25712,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335109888001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:57:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:57:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335109888001,"power":25712,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":153853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:57:25] local.INFO: GPS data processed {"connection_id":153853,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:57:25] local.INFO: Acknowledgment sent {"connection_id":153853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:57:38] local.INFO: TCP Data received {"connection_id":152519,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:57:38] local.INFO: Processing buffer {"connection_id":152519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:57:38] local.INFO: IMEI packet received {"connection_id":152519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":152519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:57:43] local.INFO: TCP Data received {"connection_id":152519,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:57:43] local.INFO: Processing buffer {"connection_id":152519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:57:43] local.INFO: IMEI packet received {"connection_id":152519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":152519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:57:44] local.INFO: TCP Data received {"connection_id":152519,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:57:44] local.INFO: Processing buffer {"connection_id":152519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a1ca60012d196a00071fef68003b01182c..."} 
[2026-08-11 21:57:44] local.INFO: Packet analysis {"connection_id":152519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:57:44] local.INFO: Extracted packet for processing {"connection_id":152519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a1"} 
[2026-08-11 21:57:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335049984001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465340000,"timestamp_ms":1786465340000,"timestamp_seconds":1786465340,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a1ca60"} 
[2026-08-11 21:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 21:57:44] 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-08-11 21: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-08-11 21:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:57:44] 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-08-11 21:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335049984001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335049984001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:57:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:57:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335049984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":152519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:57:44] local.INFO: GPS data processed {"connection_id":152519,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:57:44] local.INFO: Acknowledgment sent {"connection_id":152519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:57:56] local.INFO: TCP Data received {"connection_id":153853,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:57:56] local.INFO: Processing buffer {"connection_id":153853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:57:56] local.INFO: Packet analysis {"connection_id":153853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 21:57:56] local.INFO: Extracted packet for processing {"connection_id":153853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 21:57:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335109888001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786465574000,"timestamp_ms":1786465574000,"timestamp_seconds":1786465574,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a55c70"} 
[2026-08-11 21:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 21:57: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-08-11 21: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-08-11 21:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335109888001,"66":25712,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335109888001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:57:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:57:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335109888001,"power":25712,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":153853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:57:56] local.INFO: GPS data processed {"connection_id":153853,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:57:56] local.INFO: Acknowledgment sent {"connection_id":153853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:58:15] local.INFO: TCP Data received {"connection_id":152519,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 21:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 21:58:15] local.INFO: Processing buffer {"connection_id":152519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 21:58:15] local.INFO: Packet analysis {"connection_id":152519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 21:58:15] local.INFO: Extracted packet for processing {"connection_id":152519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 21:58:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:58: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-08-11 21:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335127040001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786465641000,"timestamp_ms":1786465641000,"timestamp_seconds":1786465641,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a66228"} 
[2026-08-11 21:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:58: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:58:15] 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-08-11 21:58: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-08-11 21:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:58:15] 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-08-11 21:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335127040001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 21:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335127040001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:58:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335127040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":152519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:58:15] local.INFO: GPS data processed {"connection_id":152519,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:58:15] local.INFO: Acknowledgment sent {"connection_id":152519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:58:24] local.INFO: TCP Data received {"connection_id":155233,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:58:24] local.INFO: Processing buffer {"connection_id":155233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:58:24] local.INFO: IMEI packet received {"connection_id":155233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":155233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:58:29] local.INFO: TCP Data received {"connection_id":155233,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:58:29] local.INFO: Processing buffer {"connection_id":155233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:58:29] local.INFO: IMEI packet received {"connection_id":155233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":155233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:58:29] local.INFO: TCP Data received {"connection_id":155233,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:58:29] local.INFO: Processing buffer {"connection_id":155233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:58:29] local.INFO: Packet analysis {"connection_id":155233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 21:58:29] local.INFO: Extracted packet for processing {"connection_id":155233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 21:58:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335109888001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786465574000,"timestamp_ms":1786465574000,"timestamp_seconds":1786465574,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a55c70"} 
[2026-08-11 21:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 21:58:29] 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-08-11 21: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-08-11 21:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335109888001,"66":25712,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335109888001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:58:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:58:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335109888001,"power":25712,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":155233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:58:29] local.INFO: GPS data processed {"connection_id":155233,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:58:29] local.INFO: Acknowledgment sent {"connection_id":155233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:58:34] local.INFO: TCP Data received {"connection_id":155233,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:58:34] local.INFO: Processing buffer {"connection_id":155233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:58:34] local.INFO: Packet analysis {"connection_id":155233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 21:58:34] local.INFO: Extracted packet for processing {"connection_id":155233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 21:58:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335109888001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786465574000,"timestamp_ms":1786465574000,"timestamp_seconds":1786465574,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a55c70"} 
[2026-08-11 21:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 21:58:34] 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-08-11 21: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-08-11 21:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":155233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":155233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":155233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335109888001,"66":25712,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335109888001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:58:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:58:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335109888001,"power":25712,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":155233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:58:34] local.INFO: GPS data processed {"connection_id":155233,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:58:34] local.INFO: Acknowledgment sent {"connection_id":155233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:58:38] local.INFO: TCP Data received {"connection_id":153854,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:58:38] local.INFO: Processing buffer {"connection_id":153854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:58:38] local.INFO: IMEI packet received {"connection_id":153854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":153854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:58:43] local.INFO: TCP Data received {"connection_id":153854,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:58:43] local.INFO: Processing buffer {"connection_id":153854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:58:43] local.INFO: IMEI packet received {"connection_id":153854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":153854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:58:44] local.INFO: TCP Data received {"connection_id":153854,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 21:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 21:58:44] local.INFO: Processing buffer {"connection_id":153854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 21:58:44] local.INFO: Packet analysis {"connection_id":153854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 21:58:44] local.INFO: Extracted packet for processing {"connection_id":153854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 21:58:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335127040001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465641000,"timestamp_ms":1786465641000,"timestamp_seconds":1786465641,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a66228"} 
[2026-08-11 21:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:58:44] 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-08-11 21: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-08-11 21:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335127040001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335127040001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:58:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:58:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335127040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":153854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:58:44] local.INFO: GPS data processed {"connection_id":153854,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:58:44] local.INFO: Acknowledgment sent {"connection_id":153854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:59:15] local.INFO: TCP Data received {"connection_id":153854,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 21:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 21:59:15] local.INFO: Processing buffer {"connection_id":153854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 21:59:15] local.INFO: Packet analysis {"connection_id":153854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 21:59:15] local.INFO: Extracted packet for processing {"connection_id":153854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 21:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335127040001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786465641000,"timestamp_ms":1786465641000,"timestamp_seconds":1786465641,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a66228"} 
[2026-08-11 21:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:59:15] 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-08-11 21: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-08-11 21:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335127040001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335127040001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:59:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335127040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":153854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:59:15] local.INFO: GPS data processed {"connection_id":153854,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:59:15] local.INFO: Acknowledgment sent {"connection_id":153854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:59:19] local.INFO: TCP Data received {"connection_id":152520,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:59:19] local.INFO: Processing buffer {"connection_id":152520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:59:19] local.INFO: IMEI packet received {"connection_id":152520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 21:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":152520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:59:24] local.INFO: TCP Data received {"connection_id":152520,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:59:24] local.INFO: Processing buffer {"connection_id":152520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 21:59:24] local.INFO: IMEI packet received {"connection_id":152520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 21:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":152520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:59:24] local.INFO: TCP Data received {"connection_id":152520,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:59:24] local.INFO: Processing buffer {"connection_id":152520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:59:24] local.INFO: Packet analysis {"connection_id":152520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 21:59:24] local.INFO: Extracted packet for processing {"connection_id":152520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 21:59:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335109888001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786465574000,"timestamp_ms":1786465574000,"timestamp_seconds":1786465574,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a55c70"} 
[2026-08-11 21:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 21:59:24] 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-08-11 21: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-08-11 21:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335109888001,"66":25712,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335109888001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:59:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:59:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335109888001,"power":25712,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":152520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:59:24] local.INFO: GPS data processed {"connection_id":152520,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:59:24] local.INFO: Acknowledgment sent {"connection_id":152520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:59:43] local.INFO: TCP Data received {"connection_id":155234,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:59:43] local.INFO: Processing buffer {"connection_id":155234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:59:43] local.INFO: IMEI packet received {"connection_id":155234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 21:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":155234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 21:59:48] local.INFO: TCP Data received {"connection_id":155234,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:59:48] local.INFO: Processing buffer {"connection_id":155234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 21:59:48] local.INFO: IMEI packet received {"connection_id":155234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 21:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":155234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 21:59:49] local.INFO: TCP Data received {"connection_id":155234,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 21:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 21:59:49] local.INFO: Processing buffer {"connection_id":155234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 21:59:49] local.INFO: Packet analysis {"connection_id":155234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 21:59:49] local.INFO: Extracted packet for processing {"connection_id":155234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 21:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21:59: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-08-11 21:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335127040001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:59: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-08-11 21:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786465641000,"timestamp_ms":1786465641000,"timestamp_seconds":1786465641,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a66228"} 
[2026-08-11 21:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21:59: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:59:49] 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-08-11 21:59: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-08-11 21:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":155234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":155234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":155234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335127040001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335127040001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:59:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:59:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335127040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":155234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:59:49] local.INFO: GPS data processed {"connection_id":155234,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:59:49] local.INFO: Acknowledgment sent {"connection_id":155234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:59:56] local.INFO: TCP Data received {"connection_id":152520,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:59:56] local.INFO: Processing buffer {"connection_id":152520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 21:59:56] local.INFO: Packet analysis {"connection_id":152520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 21:59:56] local.INFO: Extracted packet for processing {"connection_id":152520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 21:59:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335109888001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 21:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 21:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 21:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786465574000,"timestamp_ms":1786465574000,"timestamp_seconds":1786465574,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a55c70"} 
[2026-08-11 21:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":134,"data_length":795,"current_offset":136} 
[2026-08-11 21:59: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-08-11 21: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-08-11 21:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 21:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 21:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 21:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335109888001,"66":25712,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 21:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 21:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 21:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335109888001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:59:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 21:59:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 21:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 21:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335109888001,"power":25712,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 21:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":152520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:59:56] local.INFO: GPS data processed {"connection_id":152520,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:59:56] local.INFO: Acknowledgment sent {"connection_id":152520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 21:59:57] local.INFO: TCP Data received {"connection_id":155234,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 21:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 21:59:57] local.INFO: Processing buffer {"connection_id":155234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 21:59:57] local.INFO: Packet analysis {"connection_id":155234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 21:59:57] local.INFO: Extracted packet for processing {"connection_id":155234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 21:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 21: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-08-11 21:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335127040001,"note":"Value kept but may cause issues"} 
[2026-08-11 21:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 21:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 21:59: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-08-11 21:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786465641000,"timestamp_ms":1786465641000,"timestamp_seconds":1786465641,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a66228"} 
[2026-08-11 21:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 21:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 21:59: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-08-11 21: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-08-11 21:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 21:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 21:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":155234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 21:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":155234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":155234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 21:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 21:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 21:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 21:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335127040001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 21:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 21:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 21:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335127040001,"description":"Unknown IO ID 0"} 
[2026-08-11 21:59:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 21:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 21:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 21:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 21:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335127040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 21:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":155234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 21:59:57] local.INFO: GPS data processed {"connection_id":155234,"processed":1,"errors":0,"total":1} 
[2026-08-11 21:59:57] local.INFO: Acknowledgment sent {"connection_id":155234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:00:19] local.INFO: TCP Data received {"connection_id":153855,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:00:19] local.INFO: Processing buffer {"connection_id":153855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:00:19] local.INFO: IMEI packet received {"connection_id":153855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":153855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:00:24] local.INFO: TCP Data received {"connection_id":153855,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:00:24] local.INFO: Processing buffer {"connection_id":153855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:00:24] local.INFO: IMEI packet received {"connection_id":153855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":153855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:00:29] local.INFO: TCP Data received {"connection_id":153855,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 22:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 22:00:29] local.INFO: Processing buffer {"connection_id":153855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 22:00:29] local.INFO: Packet analysis {"connection_id":153855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 22:00:29] local.INFO: Extracted packet for processing {"connection_id":153855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 22:00:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335109888001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786465574000,"timestamp_ms":1786465574000,"timestamp_seconds":1786465574,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a55c70"} 
[2026-08-11 22:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 22:00:29] 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-08-11 22: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-08-11 22:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335109888001,"66":25712,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335109888001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:00:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:00:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335109888001,"power":25712,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":153855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:00:29] local.INFO: GPS data processed {"connection_id":153855,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:00:29] local.INFO: Acknowledgment sent {"connection_id":153855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:00:38] local.INFO: TCP Data received {"connection_id":155235,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:00:38] local.INFO: Processing buffer {"connection_id":155235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:00:38] local.INFO: IMEI packet received {"connection_id":155235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":155235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:00:43] local.INFO: TCP Data received {"connection_id":155235,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:00:43] local.INFO: Processing buffer {"connection_id":155235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:00:43] local.INFO: IMEI packet received {"connection_id":155235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":155235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:00:44] local.INFO: TCP Data received {"connection_id":155235,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 22:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 22:00:44] local.INFO: Processing buffer {"connection_id":155235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 22:00:44] local.INFO: Packet analysis {"connection_id":155235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 22:00:44] local.INFO: Extracted packet for processing {"connection_id":155235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 22:00:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335127040001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465641000,"timestamp_ms":1786465641000,"timestamp_seconds":1786465641,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a66228"} 
[2026-08-11 22:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:00: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:00:44] 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-08-11 22:00: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-08-11 22:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335127040001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335127040001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:00:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:00:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335127040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":155235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:00:44] local.INFO: GPS data processed {"connection_id":155235,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:00:44] local.INFO: Acknowledgment sent {"connection_id":155235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:01:05] local.INFO: TCP Data received {"connection_id":153855,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 22:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 22:01:05] local.INFO: Processing buffer {"connection_id":153855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 22:01:05] local.INFO: Packet analysis {"connection_id":153855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 22:01:05] local.INFO: Extracted packet for processing {"connection_id":153855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 22:01:05] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335109888001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786465574000,"timestamp_ms":1786465574000,"timestamp_seconds":1786465574,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a55c70"} 
[2026-08-11 22:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22: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-08-11 22: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-08-11 22:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335109888001,"66":25712,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335109888001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:01:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:01:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335109888001,"power":25712,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":153855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:01:05] local.INFO: GPS data processed {"connection_id":153855,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:01:05] local.INFO: Acknowledgment sent {"connection_id":153855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:01:15] local.INFO: TCP Data received {"connection_id":155235,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 22:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 22:01:15] local.INFO: Processing buffer {"connection_id":155235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 22:01:15] local.INFO: Packet analysis {"connection_id":155235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 22:01:15] local.INFO: Extracted packet for processing {"connection_id":155235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 22:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335127040001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786465641000,"timestamp_ms":1786465641000,"timestamp_seconds":1786465641,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a66228"} 
[2026-08-11 22:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:01:15] 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-08-11 22: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-08-11 22:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335127040001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335127040001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:01:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335127040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":155235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:01:15] local.INFO: GPS data processed {"connection_id":155235,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:01:15] local.INFO: Acknowledgment sent {"connection_id":155235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:01:18] local.INFO: TCP Data received {"connection_id":153856,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:01:18] local.INFO: Processing buffer {"connection_id":153856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:01:18] local.INFO: IMEI packet received {"connection_id":153856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":153856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:01:25] local.INFO: TCP Data received {"connection_id":153856,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:01:25] local.INFO: Processing buffer {"connection_id":153856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:01:25] local.INFO: IMEI packet received {"connection_id":153856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":153856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:01:26] local.INFO: TCP Data received {"connection_id":153856,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 22:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 22:01:26] local.INFO: Processing buffer {"connection_id":153856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a55c70012d77ab8005f2a748001300fd27..."} 
[2026-08-11 22:01:26] local.INFO: Packet analysis {"connection_id":153856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 22:01:26] local.INFO: Extracted packet for processing {"connection_id":153856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a5"} 
[2026-08-11 22:01:26] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335109888001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786465574000,"timestamp_ms":1786465574000,"timestamp_seconds":1786465574,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a55c70"} 
[2026-08-11 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-08-11 22:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-11 22:01:26] 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-08-11 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-08-11 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-08-11 22:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":153856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":153856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":153856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335109888001,"66":25712,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335109888001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:01:26] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:01:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335109888001,"power":25712,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":153856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:01:26] local.INFO: GPS data processed {"connection_id":153856,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:01:26] local.INFO: Acknowledgment sent {"connection_id":153856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:01:38] local.INFO: TCP Data received {"connection_id":155236,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:01:38] local.INFO: Processing buffer {"connection_id":155236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:01:38] local.INFO: IMEI packet received {"connection_id":155236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":155236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:01:43] local.INFO: TCP Data received {"connection_id":155236,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:01:43] local.INFO: Processing buffer {"connection_id":155236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:01:43] local.INFO: IMEI packet received {"connection_id":155236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":155236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:01:44] local.INFO: TCP Data received {"connection_id":155236,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 22:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 22:01:44] local.INFO: Processing buffer {"connection_id":155236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 22:01:44] local.INFO: Packet analysis {"connection_id":155236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 22:01:44] local.INFO: Extracted packet for processing {"connection_id":155236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 22:01:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335127040001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465641000,"timestamp_ms":1786465641000,"timestamp_seconds":1786465641,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a66228"} 
[2026-08-11 22:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:01:44] 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-08-11 22:01: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-08-11 22:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:01:44] 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-08-11 22:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335127040001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335127040001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:01:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:01:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335127040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":155236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:01:44] local.INFO: GPS data processed {"connection_id":155236,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:01:44] local.INFO: Acknowledgment sent {"connection_id":155236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:01:59] local.INFO: TCP Data received {"connection_id":153856,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:01:59] local.INFO: Processing buffer {"connection_id":153856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:01:59] local.INFO: Packet analysis {"connection_id":153856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:01:59] local.INFO: Extracted packet for processing {"connection_id":153856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:01:59] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335186944001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786465875000,"timestamp_ms":1786465875000,"timestamp_seconds":1786465875,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a9f438"} 
[2026-08-11 22:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 22:01:59] 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-08-11 22: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-08-11 22:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":153856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":153856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":153856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335186944001,"66":25702,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335186944001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:01:59] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:01:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335186944001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":153856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:01:59] local.INFO: GPS data processed {"connection_id":153856,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:01:59] local.INFO: Acknowledgment sent {"connection_id":153856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:02:15] local.INFO: TCP Data received {"connection_id":155236,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 22:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 22:02:15] local.INFO: Processing buffer {"connection_id":155236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 22:02:15] local.INFO: Packet analysis {"connection_id":155236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 22:02:15] local.INFO: Extracted packet for processing {"connection_id":155236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 22:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335127040001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786465641000,"timestamp_ms":1786465641000,"timestamp_seconds":1786465641,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a66228"} 
[2026-08-11 22:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:02:15] 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-08-11 22: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-08-11 22:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:02:15] 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-08-11 22:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335127040001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335127040001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:02:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335127040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":155236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:02:15] local.INFO: GPS data processed {"connection_id":155236,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:02:15] local.INFO: Acknowledgment sent {"connection_id":155236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:02:23] local.INFO: TCP Data received {"connection_id":155237,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:02:23] local.INFO: Processing buffer {"connection_id":155237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:02:23] local.INFO: IMEI packet received {"connection_id":155237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":155237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:02:29] local.INFO: TCP Data received {"connection_id":155237,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:02:29] local.INFO: Processing buffer {"connection_id":155237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:02:29] local.INFO: IMEI packet received {"connection_id":155237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":155237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:02:29] local.INFO: TCP Data received {"connection_id":155237,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:02:29] local.INFO: Processing buffer {"connection_id":155237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:02:29] local.INFO: Packet analysis {"connection_id":155237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:02:29] local.INFO: Extracted packet for processing {"connection_id":155237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:02:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:02: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-08-11 22:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335186944001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786465875000,"timestamp_ms":1786465875000,"timestamp_seconds":1786465875,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a9f438"} 
[2026-08-11 22:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:02: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":112,"data_length":795,"current_offset":136} 
[2026-08-11 22:02:29] 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-08-11 22:02: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-08-11 22:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335186944001,"66":25702,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335186944001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:02:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:02:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335186944001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":155237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:02:29] local.INFO: GPS data processed {"connection_id":155237,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:02:29] local.INFO: Acknowledgment sent {"connection_id":155237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:02:38] local.INFO: TCP Data received {"connection_id":152521,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:02:38] local.INFO: Processing buffer {"connection_id":152521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:02:38] local.INFO: IMEI packet received {"connection_id":152521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":152521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:02:43] local.INFO: TCP Data received {"connection_id":152521,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:02:43] local.INFO: Processing buffer {"connection_id":152521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:02:43] local.INFO: IMEI packet received {"connection_id":152521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":152521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:02:44] local.INFO: TCP Data received {"connection_id":152521,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 22:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 22:02:44] local.INFO: Processing buffer {"connection_id":152521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a66228012d196a00071fef68003b01182a..."} 
[2026-08-11 22:02:44] local.INFO: Packet analysis {"connection_id":152521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 22:02:44] local.INFO: Extracted packet for processing {"connection_id":152521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a6"} 
[2026-08-11 22:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335127040001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465641000,"timestamp_ms":1786465641000,"timestamp_seconds":1786465641,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a66228"} 
[2026-08-11 22:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:02:44] 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-08-11 22:02: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-08-11 22:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:02:44] 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-08-11 22:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335127040001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335127040001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:02:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:02:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335127040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":152521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:02:44] local.INFO: GPS data processed {"connection_id":152521,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:02:44] local.INFO: Acknowledgment sent {"connection_id":152521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:03:01] local.INFO: TCP Data received {"connection_id":155237,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:03:01] local.INFO: Processing buffer {"connection_id":155237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:03:01] local.INFO: Packet analysis {"connection_id":155237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:03:01] local.INFO: Extracted packet for processing {"connection_id":155237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:03:01] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:03: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-08-11 22:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335186944001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786465875000,"timestamp_ms":1786465875000,"timestamp_seconds":1786465875,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a9f438"} 
[2026-08-11 22:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:03: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":112,"data_length":795,"current_offset":136} 
[2026-08-11 22:03:01] 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-08-11 22:03: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-08-11 22:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":155237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":155237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":155237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335186944001,"66":25702,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335186944001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:03:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:03:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335186944001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":155237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:03:01] local.INFO: GPS data processed {"connection_id":155237,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:03:01] local.INFO: Acknowledgment sent {"connection_id":155237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:03:15] local.INFO: TCP Data received {"connection_id":152521,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:03:15] local.INFO: Processing buffer {"connection_id":152521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:03:15] local.INFO: Packet analysis {"connection_id":152521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:03:15] local.INFO: Extracted packet for processing {"connection_id":152521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:03: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-08-11 22:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335204096001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786465942000,"timestamp_ms":1786465942000,"timestamp_seconds":1786465942,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1aaf9f0"} 
[2026-08-11 22:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:03: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:03:15] 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-08-11 22:03: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-08-11 22:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:03:15] 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-08-11 22:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335204096001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335204096001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:03:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335204096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":152521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:03:15] local.INFO: GPS data processed {"connection_id":152521,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:03:15] local.INFO: Acknowledgment sent {"connection_id":152521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:03:18] local.INFO: TCP Data received {"connection_id":153857,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:03:18] local.INFO: Processing buffer {"connection_id":153857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:03:18] local.INFO: IMEI packet received {"connection_id":153857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":153857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:03:24] local.INFO: TCP Data received {"connection_id":153857,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:03:24] local.INFO: Processing buffer {"connection_id":153857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:03:24] local.INFO: IMEI packet received {"connection_id":153857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":153857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:03:24] local.INFO: TCP Data received {"connection_id":153857,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:03:24] local.INFO: Processing buffer {"connection_id":153857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:03:24] local.INFO: Packet analysis {"connection_id":153857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:03:24] local.INFO: Extracted packet for processing {"connection_id":153857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:03:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335186944001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786465875000,"timestamp_ms":1786465875000,"timestamp_seconds":1786465875,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a9f438"} 
[2026-08-11 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-08-11 22:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 22:03:24] 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-08-11 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-08-11 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-08-11 22:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335186944001,"66":25702,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335186944001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:03:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:03:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335186944001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":153857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:03:24] local.INFO: GPS data processed {"connection_id":153857,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:03:24] local.INFO: Acknowledgment sent {"connection_id":153857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:03:38] local.INFO: TCP Data received {"connection_id":152522,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:03:38] local.INFO: Processing buffer {"connection_id":152522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:03:38] local.INFO: IMEI packet received {"connection_id":152522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":152522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:03:43] local.INFO: TCP Data received {"connection_id":152522,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:03:43] local.INFO: Processing buffer {"connection_id":152522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:03:43] local.INFO: IMEI packet received {"connection_id":152522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":152522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:03:44] local.INFO: TCP Data received {"connection_id":152522,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:03:44] local.INFO: Processing buffer {"connection_id":152522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:03:44] local.INFO: Packet analysis {"connection_id":152522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:03:44] local.INFO: Extracted packet for processing {"connection_id":152522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:03:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335204096001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465942000,"timestamp_ms":1786465942000,"timestamp_seconds":1786465942,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1aaf9f0"} 
[2026-08-11 22:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:03:44] 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-08-11 22:03: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-08-11 22:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335204096001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335204096001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:03:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:03:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335204096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":152522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:03:44] local.INFO: GPS data processed {"connection_id":152522,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:03:44] local.INFO: Acknowledgment sent {"connection_id":152522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:03:56] local.INFO: TCP Data received {"connection_id":153857,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:03:56] local.INFO: Processing buffer {"connection_id":153857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:03:56] local.INFO: Packet analysis {"connection_id":153857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:03:56] local.INFO: Extracted packet for processing {"connection_id":153857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:03:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335186944001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786465875000,"timestamp_ms":1786465875000,"timestamp_seconds":1786465875,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a9f438"} 
[2026-08-11 22:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 22:03:56] 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-08-11 22: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-08-11 22:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335186944001,"66":25702,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335186944001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:03:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:03:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335186944001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":153857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:03:56] local.INFO: GPS data processed {"connection_id":153857,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:03:56] local.INFO: Acknowledgment sent {"connection_id":153857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:04:15] local.INFO: TCP Data received {"connection_id":152522,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:04:15] local.INFO: Processing buffer {"connection_id":152522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:04:15] local.INFO: Packet analysis {"connection_id":152522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:04:15] local.INFO: Extracted packet for processing {"connection_id":152522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335204096001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786465942000,"timestamp_ms":1786465942000,"timestamp_seconds":1786465942,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1aaf9f0"} 
[2026-08-11 22:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:04:15] 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-08-11 22: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-08-11 22:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335204096001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335204096001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:04:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335204096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":152522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:04:15] local.INFO: GPS data processed {"connection_id":152522,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:04:15] local.INFO: Acknowledgment sent {"connection_id":152522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:04:18] local.INFO: TCP Data received {"connection_id":155238,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:04:18] local.INFO: Processing buffer {"connection_id":155238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:04:18] local.INFO: IMEI packet received {"connection_id":155238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":155238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:04:24] local.INFO: TCP Data received {"connection_id":155238,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:04:24] local.INFO: Processing buffer {"connection_id":155238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:04:24] local.INFO: IMEI packet received {"connection_id":155238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":155238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:04:42] local.INFO: TCP Data received {"connection_id":155238,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:04:42] local.INFO: Processing buffer {"connection_id":155238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:04:42] local.INFO: Packet analysis {"connection_id":155238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:04:42] local.INFO: Extracted packet for processing {"connection_id":155238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:04:42] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335186944001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786465875000,"timestamp_ms":1786465875000,"timestamp_seconds":1786465875,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a9f438"} 
[2026-08-11 22:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 22:04:42] 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-08-11 22: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-08-11 22:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":155238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":155238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":155238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335186944001,"66":25702,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335186944001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:04:42] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:04:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335186944001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":155238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:04:42] local.INFO: GPS data processed {"connection_id":155238,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:04:42] local.INFO: Acknowledgment sent {"connection_id":155238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:04:43] local.INFO: TCP Data received {"connection_id":153858,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:04:43] local.INFO: Processing buffer {"connection_id":153858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:04:43] local.INFO: IMEI packet received {"connection_id":153858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":153858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:04:48] local.INFO: TCP Data received {"connection_id":153858,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:04:48] local.INFO: Processing buffer {"connection_id":153858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:04:48] local.INFO: IMEI packet received {"connection_id":153858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":153858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:04:49] local.INFO: TCP Data received {"connection_id":153858,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:04:49] local.INFO: Processing buffer {"connection_id":153858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:04:49] local.INFO: Packet analysis {"connection_id":153858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:04:49] local.INFO: Extracted packet for processing {"connection_id":153858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:04: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-08-11 22:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335204096001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:04: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-08-11 22:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786465942000,"timestamp_ms":1786465942000,"timestamp_seconds":1786465942,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1aaf9f0"} 
[2026-08-11 22:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:04: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:04:49] 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-08-11 22:04: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-08-11 22:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335204096001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335204096001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:04:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335204096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":153858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:04:49] local.INFO: GPS data processed {"connection_id":153858,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:04:49] local.INFO: Acknowledgment sent {"connection_id":153858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:04:53] local.INFO: TCP Data received {"connection_id":153858,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:04:53] local.INFO: Processing buffer {"connection_id":153858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:04:53] local.INFO: Packet analysis {"connection_id":153858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:04:53] local.INFO: Extracted packet for processing {"connection_id":153858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:04:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335204096001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 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-08-11 22:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786465942000,"timestamp_ms":1786465942000,"timestamp_seconds":1786465942,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1aaf9f0"} 
[2026-08-11 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-08-11 22:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:04: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-08-11 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-08-11 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-08-11 22:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":153858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":153858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":153858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335204096001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335204096001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:04:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:04:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335204096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":153858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:04:53] local.INFO: GPS data processed {"connection_id":153858,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:04:53] local.INFO: Acknowledgment sent {"connection_id":153858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:05:24] local.INFO: TCP Data received {"connection_id":155239,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:05:24] local.INFO: Processing buffer {"connection_id":155239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:05:24] local.INFO: IMEI packet received {"connection_id":155239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":155239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:05:29] local.INFO: TCP Data received {"connection_id":155239,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:05:29] local.INFO: Processing buffer {"connection_id":155239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:05:29] local.INFO: IMEI packet received {"connection_id":155239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":155239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:05:29] local.INFO: TCP Data received {"connection_id":155239,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:05:29] local.INFO: Processing buffer {"connection_id":155239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:05:29] local.INFO: Packet analysis {"connection_id":155239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:05:29] local.INFO: Extracted packet for processing {"connection_id":155239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:05:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335186944001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786465875000,"timestamp_ms":1786465875000,"timestamp_seconds":1786465875,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a9f438"} 
[2026-08-11 22:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 22:05:29] 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-08-11 22: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-08-11 22:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335186944001,"66":25702,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335186944001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:05:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:05:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335186944001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":155239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:05:29] local.INFO: GPS data processed {"connection_id":155239,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:05:29] local.INFO: Acknowledgment sent {"connection_id":155239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:05:34] local.INFO: TCP Data received {"connection_id":155239,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:05:34] local.INFO: Processing buffer {"connection_id":155239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:05:34] local.INFO: Packet analysis {"connection_id":155239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:05:34] local.INFO: Extracted packet for processing {"connection_id":155239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:05:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:05: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-08-11 22:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335186944001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786465875000,"timestamp_ms":1786465875000,"timestamp_seconds":1786465875,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a9f438"} 
[2026-08-11 22:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:05: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":112,"data_length":795,"current_offset":136} 
[2026-08-11 22:05:34] 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-08-11 22:05: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-08-11 22:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":155239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":155239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":155239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335186944001,"66":25702,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335186944001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:05:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:05:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335186944001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":155239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:05:34] local.INFO: GPS data processed {"connection_id":155239,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:05:34] local.INFO: Acknowledgment sent {"connection_id":155239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:05:38] local.INFO: TCP Data received {"connection_id":152523,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:05:38] local.INFO: Processing buffer {"connection_id":152523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:05:38] local.INFO: IMEI packet received {"connection_id":152523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":152523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:05:43] local.INFO: TCP Data received {"connection_id":152523,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:05:43] local.INFO: Processing buffer {"connection_id":152523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:05:43] local.INFO: IMEI packet received {"connection_id":152523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":152523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:05:44] local.INFO: TCP Data received {"connection_id":152523,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:05:44] local.INFO: Processing buffer {"connection_id":152523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:05:44] local.INFO: Packet analysis {"connection_id":152523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:05:44] local.INFO: Extracted packet for processing {"connection_id":152523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:05:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335204096001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465942000,"timestamp_ms":1786465942000,"timestamp_seconds":1786465942,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1aaf9f0"} 
[2026-08-11 22:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:05:44] 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-08-11 22: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-08-11 22:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335204096001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335204096001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:05:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:05:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335204096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":152523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:05:44] local.INFO: GPS data processed {"connection_id":152523,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:05:44] local.INFO: Acknowledgment sent {"connection_id":152523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:06:15] local.INFO: TCP Data received {"connection_id":152523,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:06:15] local.INFO: Processing buffer {"connection_id":152523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:06:15] local.INFO: Packet analysis {"connection_id":152523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:06:15] local.INFO: Extracted packet for processing {"connection_id":152523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335204096001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786465942000,"timestamp_ms":1786465942000,"timestamp_seconds":1786465942,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1aaf9f0"} 
[2026-08-11 22:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:06:15] 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-08-11 22: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-08-11 22:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335204096001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335204096001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:06:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335204096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":152523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:06:15] local.INFO: GPS data processed {"connection_id":152523,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:06:15] local.INFO: Acknowledgment sent {"connection_id":152523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:06:19] local.INFO: TCP Data received {"connection_id":153859,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:06:19] local.INFO: Processing buffer {"connection_id":153859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:06:19] local.INFO: IMEI packet received {"connection_id":153859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":153859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:06:24] local.INFO: TCP Data received {"connection_id":153859,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:06:24] local.INFO: Processing buffer {"connection_id":153859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:06:24] local.INFO: IMEI packet received {"connection_id":153859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":153859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:06:24] local.INFO: TCP Data received {"connection_id":153859,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:06:24] local.INFO: Processing buffer {"connection_id":153859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1a9f438012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:06:24] local.INFO: Packet analysis {"connection_id":153859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:06:24] local.INFO: Extracted packet for processing {"connection_id":153859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1a9"} 
[2026-08-11 22:06:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335186944001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786465875000,"timestamp_ms":1786465875000,"timestamp_seconds":1786465875,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1a9f438"} 
[2026-08-11 22:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-11 22:06:24] 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-08-11 22: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-08-11 22:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335186944001,"66":25702,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335186944001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:06:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:06:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335186944001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":153859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:06:25] local.INFO: GPS data processed {"connection_id":153859,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:06:25] local.INFO: Acknowledgment sent {"connection_id":153859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:06:38] local.INFO: TCP Data received {"connection_id":152524,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:06:38] local.INFO: Processing buffer {"connection_id":152524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:06:38] local.INFO: IMEI packet received {"connection_id":152524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":152524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:06:43] local.INFO: TCP Data received {"connection_id":152524,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:06:43] local.INFO: Processing buffer {"connection_id":152524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:06:43] local.INFO: IMEI packet received {"connection_id":152524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":152524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:06:44] local.INFO: TCP Data received {"connection_id":152524,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:06:44] local.INFO: Processing buffer {"connection_id":152524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:06:44] local.INFO: Packet analysis {"connection_id":152524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:06:44] local.INFO: Extracted packet for processing {"connection_id":152524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335204096001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465942000,"timestamp_ms":1786465942000,"timestamp_seconds":1786465942,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1aaf9f0"} 
[2026-08-11 22:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:06:44] 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-08-11 22: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-08-11 22:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335204096001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335204096001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:06:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:06:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335204096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":152524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:06:44] local.INFO: GPS data processed {"connection_id":152524,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:06:44] local.INFO: Acknowledgment sent {"connection_id":152524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:06:55] local.INFO: TCP Data received {"connection_id":153859,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:06:55] local.INFO: Processing buffer {"connection_id":153859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:06:55] local.INFO: Packet analysis {"connection_id":153859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:06:55] local.INFO: Extracted packet for processing {"connection_id":153859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:06:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":47,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335264000001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786466176000,"timestamp_ms":1786466176000,"timestamp_seconds":1786466176,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ae8c00"} 
[2026-08-11 22:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 22:06:55] 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-08-11 22: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-08-11 22:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335264000001,"66":25691,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335264000001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:06:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:06:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335264000001,"power":25691,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":153859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:06:55] local.INFO: GPS data processed {"connection_id":153859,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:06:55] local.INFO: Acknowledgment sent {"connection_id":153859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:07:15] local.INFO: TCP Data received {"connection_id":152524,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:07:15] local.INFO: Processing buffer {"connection_id":152524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:07:15] local.INFO: Packet analysis {"connection_id":152524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:07:15] local.INFO: Extracted packet for processing {"connection_id":152524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:07: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-08-11 22:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335204096001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786465942000,"timestamp_ms":1786465942000,"timestamp_seconds":1786465942,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1aaf9f0"} 
[2026-08-11 22:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:07: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:07:15] 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-08-11 22:07: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-08-11 22:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335204096001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335204096001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:07:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:07:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335204096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":152524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:07:15] local.INFO: GPS data processed {"connection_id":152524,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:07:15] local.INFO: Acknowledgment sent {"connection_id":152524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:07:24] local.INFO: TCP Data received {"connection_id":155240,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:07:24] local.INFO: Processing buffer {"connection_id":155240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:07:24] local.INFO: IMEI packet received {"connection_id":155240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":155240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:07:29] local.INFO: TCP Data received {"connection_id":155240,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:07:29] local.INFO: Processing buffer {"connection_id":155240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:07:29] local.INFO: IMEI packet received {"connection_id":155240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":155240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:07:29] local.INFO: TCP Data received {"connection_id":155240,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:07:29] local.INFO: Processing buffer {"connection_id":155240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:07:29] local.INFO: Packet analysis {"connection_id":155240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:07:29] local.INFO: Extracted packet for processing {"connection_id":155240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:07:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":47,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:07: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-08-11 22:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335264000001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786466176000,"timestamp_ms":1786466176000,"timestamp_seconds":1786466176,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ae8c00"} 
[2026-08-11 22:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:07: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":102,"data_length":795,"current_offset":136} 
[2026-08-11 22:07:29] 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-08-11 22:07: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-08-11 22:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335264000001,"66":25691,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335264000001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:07:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:07:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335264000001,"power":25691,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":155240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:07:29] local.INFO: GPS data processed {"connection_id":155240,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:07:29] local.INFO: Acknowledgment sent {"connection_id":155240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:07:34] local.INFO: TCP Data received {"connection_id":155240,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:07:34] local.INFO: Processing buffer {"connection_id":155240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:07:34] local.INFO: Packet analysis {"connection_id":155240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:07:34] local.INFO: Extracted packet for processing {"connection_id":155240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:07:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":47,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335264000001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786466176000,"timestamp_ms":1786466176000,"timestamp_seconds":1786466176,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ae8c00"} 
[2026-08-11 22:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 22:07:34] 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-08-11 22: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-08-11 22:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":155240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":155240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":155240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335264000001,"66":25691,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335264000001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:07:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:07:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335264000001,"power":25691,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":155240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:07:34] local.INFO: GPS data processed {"connection_id":155240,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:07:34] local.INFO: Acknowledgment sent {"connection_id":155240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:07:38] local.INFO: TCP Data received {"connection_id":155241,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:07:38] local.INFO: Processing buffer {"connection_id":155241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:07:38] local.INFO: IMEI packet received {"connection_id":155241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":155241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:07:43] local.INFO: TCP Data received {"connection_id":155241,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:07:43] local.INFO: Processing buffer {"connection_id":155241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:07:43] local.INFO: IMEI packet received {"connection_id":155241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":155241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:07:44] local.INFO: TCP Data received {"connection_id":155241,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:07:44] local.INFO: Processing buffer {"connection_id":155241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1aaf9f0012d196a00071fef68003b011827..."} 
[2026-08-11 22:07:44] local.INFO: Packet analysis {"connection_id":155241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:07:44] local.INFO: Extracted packet for processing {"connection_id":155241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1aa"} 
[2026-08-11 22:07:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335204096001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786465942000,"timestamp_ms":1786465942000,"timestamp_seconds":1786465942,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1aaf9f0"} 
[2026-08-11 22:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:07:44] 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-08-11 22: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-08-11 22:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335204096001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335204096001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:07:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:07:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335204096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":155241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:07:44] local.INFO: GPS data processed {"connection_id":155241,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:07:44] local.INFO: Acknowledgment sent {"connection_id":155241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:08:15] local.INFO: TCP Data received {"connection_id":155241,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:08:15] local.INFO: Processing buffer {"connection_id":155241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:08:15] local.INFO: Packet analysis {"connection_id":155241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:08:15] local.INFO: Extracted packet for processing {"connection_id":155241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335281152001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786466243000,"timestamp_ms":1786466243000,"timestamp_seconds":1786466243,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1af91b8"} 
[2026-08-11 22:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:08:15] 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-08-11 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:08:15] 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-08-11 22: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-08-11 22:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335281152001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335281152001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:08:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:08:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335281152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":155241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:08:15] local.INFO: GPS data processed {"connection_id":155241,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:08:15] local.INFO: Acknowledgment sent {"connection_id":155241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:08:19] local.INFO: TCP Data received {"connection_id":153860,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:08:19] local.INFO: Processing buffer {"connection_id":153860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:08:19] local.INFO: IMEI packet received {"connection_id":153860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":153860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:08:24] local.INFO: TCP Data received {"connection_id":153860,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:08:24] local.INFO: Processing buffer {"connection_id":153860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:08:24] local.INFO: IMEI packet received {"connection_id":153860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":153860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:08:30] local.INFO: TCP Data received {"connection_id":153860,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:08:30] local.INFO: Processing buffer {"connection_id":153860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:08:30] local.INFO: Packet analysis {"connection_id":153860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:08:30] local.INFO: Extracted packet for processing {"connection_id":153860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:08:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":47,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335264000001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786466176000,"timestamp_ms":1786466176000,"timestamp_seconds":1786466176,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ae8c00"} 
[2026-08-11 22:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 22:08:30] 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-08-11 22:08: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-08-11 22:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335264000001,"66":25691,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335264000001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:08:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:08:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335264000001,"power":25691,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":153860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:08:30] local.INFO: GPS data processed {"connection_id":153860,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:08:30] local.INFO: Acknowledgment sent {"connection_id":153860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:08:37] local.INFO: TCP Data received {"connection_id":153861,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:08:37] local.INFO: Processing buffer {"connection_id":153861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:08:37] local.INFO: IMEI packet received {"connection_id":153861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":153861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:08:43] local.INFO: TCP Data received {"connection_id":153861,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:08:43] local.INFO: Processing buffer {"connection_id":153861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:08:43] local.INFO: IMEI packet received {"connection_id":153861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":153861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:08:44] local.INFO: TCP Data received {"connection_id":153861,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:08:44] local.INFO: Processing buffer {"connection_id":153861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:08:44] local.INFO: Packet analysis {"connection_id":153861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:08:44] local.INFO: Extracted packet for processing {"connection_id":153861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:08:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:08: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-08-11 22:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335281152001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786466243000,"timestamp_ms":1786466243000,"timestamp_seconds":1786466243,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1af91b8"} 
[2026-08-11 22:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:08:44] 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-08-11 22:08: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:08:44] 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-08-11 22:08: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-08-11 22:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335281152001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335281152001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:08:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:08:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335281152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":153861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:08:44] local.INFO: GPS data processed {"connection_id":153861,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:08:44] local.INFO: Acknowledgment sent {"connection_id":153861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:09:01] local.INFO: TCP Data received {"connection_id":153860,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:09:01] local.INFO: Processing buffer {"connection_id":153860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:09:01] local.INFO: Packet analysis {"connection_id":153860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:09:01] local.INFO: Extracted packet for processing {"connection_id":153860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:09:01] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":47,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335264000001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786466176000,"timestamp_ms":1786466176000,"timestamp_seconds":1786466176,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ae8c00"} 
[2026-08-11 22:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 22:09:01] 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-08-11 22: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-08-11 22:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335264000001,"66":25691,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335264000001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:09:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:09:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335264000001,"power":25691,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":153860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:09:01] local.INFO: GPS data processed {"connection_id":153860,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:09:01] local.INFO: Acknowledgment sent {"connection_id":153860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:09:15] local.INFO: TCP Data received {"connection_id":153861,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:09:15] local.INFO: Processing buffer {"connection_id":153861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:09:15] local.INFO: Packet analysis {"connection_id":153861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:09:15] local.INFO: Extracted packet for processing {"connection_id":153861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335281152001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786466243000,"timestamp_ms":1786466243000,"timestamp_seconds":1786466243,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1af91b8"} 
[2026-08-11 22:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:09:15] 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-08-11 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:09:15] 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-08-11 22: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-08-11 22:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335281152001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335281152001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:09:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335281152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":153861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:09:15] local.INFO: GPS data processed {"connection_id":153861,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:09:15] local.INFO: Acknowledgment sent {"connection_id":153861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:09:18] local.INFO: TCP Data received {"connection_id":152933,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:09:18] local.INFO: Processing buffer {"connection_id":152933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:09:18] local.INFO: IMEI packet received {"connection_id":152933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":152933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:09:24] local.INFO: TCP Data received {"connection_id":152933,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:09:24] local.INFO: Processing buffer {"connection_id":152933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:09:24] local.INFO: IMEI packet received {"connection_id":152933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":152933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:09:24] local.INFO: TCP Data received {"connection_id":152933,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:09:24] local.INFO: Processing buffer {"connection_id":152933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:09:24] local.INFO: Packet analysis {"connection_id":152933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:09:24] local.INFO: Extracted packet for processing {"connection_id":152933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:09:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":47,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335264000001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786466176000,"timestamp_ms":1786466176000,"timestamp_seconds":1786466176,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ae8c00"} 
[2026-08-11 22:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 22:09:24] 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-08-11 22: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-08-11 22:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335264000001,"66":25691,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335264000001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:09:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:09:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335264000001,"power":25691,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":152933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:09:24] local.INFO: GPS data processed {"connection_id":152933,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:09:24] local.INFO: Acknowledgment sent {"connection_id":152933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:09:43] local.INFO: TCP Data received {"connection_id":153862,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:09:43] local.INFO: Processing buffer {"connection_id":153862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:09:43] local.INFO: IMEI packet received {"connection_id":153862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":153862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:09:44] local.INFO: TCP Data received {"connection_id":153862,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:09:44] local.INFO: Processing buffer {"connection_id":153862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:09:44] local.INFO: Packet analysis {"connection_id":153862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:09:44] local.INFO: Extracted packet for processing {"connection_id":153862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:09:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335281152001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786466243000,"timestamp_ms":1786466243000,"timestamp_seconds":1786466243,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1af91b8"} 
[2026-08-11 22:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:09:44] 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-08-11 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:09:44] 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-08-11 22: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-08-11 22:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335281152001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335281152001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:09:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:09:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335281152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":153862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:09:44] local.INFO: GPS data processed {"connection_id":153862,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:09:44] local.INFO: Acknowledgment sent {"connection_id":153862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:09:56] local.INFO: TCP Data received {"connection_id":152933,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:09:56] local.INFO: Processing buffer {"connection_id":152933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:09:56] local.INFO: Packet analysis {"connection_id":152933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:09:56] local.INFO: Extracted packet for processing {"connection_id":152933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:09:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":47,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335264000001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786466176000,"timestamp_ms":1786466176000,"timestamp_seconds":1786466176,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ae8c00"} 
[2026-08-11 22:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 22:09:56] 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-08-11 22: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-08-11 22:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335264000001,"66":25691,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335264000001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:09:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:09:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335264000001,"power":25691,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":152933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:09:56] local.INFO: GPS data processed {"connection_id":152933,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:09:56] local.INFO: Acknowledgment sent {"connection_id":152933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:10:15] local.INFO: TCP Data received {"connection_id":153862,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:10:15] local.INFO: Processing buffer {"connection_id":153862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:10:15] local.INFO: Packet analysis {"connection_id":153862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:10:15] local.INFO: Extracted packet for processing {"connection_id":153862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:10: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-08-11 22:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335281152001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786466243000,"timestamp_ms":1786466243000,"timestamp_seconds":1786466243,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1af91b8"} 
[2026-08-11 22:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:10:15] 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-08-11 22:10: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:10:15] 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-08-11 22:10: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-08-11 22:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335281152001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335281152001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:10:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335281152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":153862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:10:15] local.INFO: GPS data processed {"connection_id":153862,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:10:15] local.INFO: Acknowledgment sent {"connection_id":153862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:10:18] local.INFO: TCP Data received {"connection_id":153863,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:10:18] local.INFO: Processing buffer {"connection_id":153863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:10:18] local.INFO: IMEI packet received {"connection_id":153863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":153863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:10:24] local.INFO: TCP Data received {"connection_id":153863,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:10:24] local.INFO: Processing buffer {"connection_id":153863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:10:24] local.INFO: IMEI packet received {"connection_id":153863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":153863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:10:24] local.INFO: TCP Data received {"connection_id":153863,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:10:24] local.INFO: Processing buffer {"connection_id":153863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:10:24] local.INFO: Packet analysis {"connection_id":153863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:10:24] local.INFO: Extracted packet for processing {"connection_id":153863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:10:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":47,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335264000001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786466176000,"timestamp_ms":1786466176000,"timestamp_seconds":1786466176,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ae8c00"} 
[2026-08-11 22:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 22:10:24] 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-08-11 22: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-08-11 22:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335264000001,"66":25691,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335264000001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:10:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:10:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335264000001,"power":25691,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":153863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:10:24] local.INFO: GPS data processed {"connection_id":153863,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:10:24] local.INFO: Acknowledgment sent {"connection_id":153863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:10:43] local.INFO: TCP Data received {"connection_id":153864,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:10:43] local.INFO: Processing buffer {"connection_id":153864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:10:43] local.INFO: IMEI packet received {"connection_id":153864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":153864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:10:48] local.INFO: TCP Data received {"connection_id":153864,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:10:48] local.INFO: Processing buffer {"connection_id":153864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:10:48] local.INFO: IMEI packet received {"connection_id":153864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":153864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:10:49] local.INFO: TCP Data received {"connection_id":153864,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:10:49] local.INFO: Processing buffer {"connection_id":153864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:10:49] local.INFO: Packet analysis {"connection_id":153864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:10:49] local.INFO: Extracted packet for processing {"connection_id":153864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:10:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:10: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-08-11 22:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335281152001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:10: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-08-11 22:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786466243000,"timestamp_ms":1786466243000,"timestamp_seconds":1786466243,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1af91b8"} 
[2026-08-11 22:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:10:49] 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-08-11 22:10: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:10:49] 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-08-11 22:10: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-08-11 22:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335281152001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335281152001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:10:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335281152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":153864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:10:49] local.INFO: GPS data processed {"connection_id":153864,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:10:49] local.INFO: Acknowledgment sent {"connection_id":153864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:10:53] local.INFO: TCP Data received {"connection_id":153864,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:10:53] local.INFO: Processing buffer {"connection_id":153864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:10:53] local.INFO: Packet analysis {"connection_id":153864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:10:53] local.INFO: Extracted packet for processing {"connection_id":153864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:10:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335281152001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22: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-08-11 22:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786466243000,"timestamp_ms":1786466243000,"timestamp_seconds":1786466243,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1af91b8"} 
[2026-08-11 22:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:10: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-08-11 22: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:10: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-08-11 22: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-08-11 22:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":153864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":153864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":153864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335281152001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335281152001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:10:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:10:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335281152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":153864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:10:53] local.INFO: GPS data processed {"connection_id":153864,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:10:53] local.INFO: Acknowledgment sent {"connection_id":153864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:10:55] local.INFO: TCP Data received {"connection_id":153863,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:10:55] local.INFO: Processing buffer {"connection_id":153863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:10:55] local.INFO: Packet analysis {"connection_id":153863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:10:55] local.INFO: Extracted packet for processing {"connection_id":153863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:10:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":47,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335264000001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786466176000,"timestamp_ms":1786466176000,"timestamp_seconds":1786466176,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ae8c00"} 
[2026-08-11 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-08-11 22:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 22:10:55] 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-08-11 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-08-11 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-08-11 22:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335264000001,"66":25691,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335264000001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:10:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:10:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335264000001,"power":25691,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":153863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:10:55] local.INFO: GPS data processed {"connection_id":153863,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:10:55] local.INFO: Acknowledgment sent {"connection_id":153863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:11:18] local.INFO: TCP Data received {"connection_id":152934,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:11:18] local.INFO: Processing buffer {"connection_id":152934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:11:18] local.INFO: IMEI packet received {"connection_id":152934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":152934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:11:24] local.INFO: TCP Data received {"connection_id":152934,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:11:24] local.INFO: Processing buffer {"connection_id":152934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:11:24] local.INFO: IMEI packet received {"connection_id":152934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":152934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:11:24] local.INFO: TCP Data received {"connection_id":152934,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:11:24] local.INFO: Processing buffer {"connection_id":152934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ae8c00012d77ab8005f2a748001300fd2f..."} 
[2026-08-11 22:11:24] local.INFO: Packet analysis {"connection_id":152934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:11:24] local.INFO: Extracted packet for processing {"connection_id":152934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ae"} 
[2026-08-11 22:11:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":47,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335264000001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786466176000,"timestamp_ms":1786466176000,"timestamp_seconds":1786466176,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ae8c00"} 
[2026-08-11 22:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-11 22:11:24] 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-08-11 22: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-08-11 22:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335264000001,"66":25691,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335264000001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:11:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:11:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335264000001,"power":25691,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":152934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:11:24] local.INFO: GPS data processed {"connection_id":152934,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:11:24] local.INFO: Acknowledgment sent {"connection_id":152934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:11:38] local.INFO: TCP Data received {"connection_id":155242,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:11:38] local.INFO: Processing buffer {"connection_id":155242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:11:38] local.INFO: IMEI packet received {"connection_id":155242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":155242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:11:43] local.INFO: TCP Data received {"connection_id":155242,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:11:43] local.INFO: Processing buffer {"connection_id":155242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:11:43] local.INFO: IMEI packet received {"connection_id":155242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":155242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:11:47] local.INFO: TCP Data received {"connection_id":155242,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:11:47] local.INFO: Processing buffer {"connection_id":155242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:11:47] local.INFO: Packet analysis {"connection_id":155242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:11:47] local.INFO: Extracted packet for processing {"connection_id":155242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335281152001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786466243000,"timestamp_ms":1786466243000,"timestamp_seconds":1786466243,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1af91b8"} 
[2026-08-11 22:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:11:47] 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-08-11 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:11:47] 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-08-11 22: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-08-11 22:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335281152001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335281152001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:11:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335281152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":155242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:11:47] local.INFO: GPS data processed {"connection_id":155242,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:11:47] local.INFO: Acknowledgment sent {"connection_id":155242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:11:56] local.INFO: TCP Data received {"connection_id":152934,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:11:56] local.INFO: Processing buffer {"connection_id":152934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:11:56] local.INFO: Packet analysis {"connection_id":152934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:11:56] local.INFO: Extracted packet for processing {"connection_id":152934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:11:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335341056001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786466477000,"timestamp_ms":1786466477000,"timestamp_seconds":1786466477,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b323c8"} 
[2026-08-11 22:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 22:11:56] 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-08-11 22: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-08-11 22:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335341056001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335341056001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:11:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:11:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335341056001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":152934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:11:56] local.INFO: GPS data processed {"connection_id":152934,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:11:56] local.INFO: Acknowledgment sent {"connection_id":152934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:12:23] local.INFO: TCP Data received {"connection_id":155242,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:12:23] local.INFO: Processing buffer {"connection_id":155242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:12:23] local.INFO: Packet analysis {"connection_id":155242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:12:23] local.INFO: Extracted packet for processing {"connection_id":155242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:12:23] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335281152001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22: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-08-11 22:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786466243000,"timestamp_ms":1786466243000,"timestamp_seconds":1786466243,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1af91b8"} 
[2026-08-11 22:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:12: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-08-11 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:12: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-08-11 22: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-08-11 22:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":155242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":155242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":155242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335281152001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335281152001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:12:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:12:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335281152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":155242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:12:23] local.INFO: GPS data processed {"connection_id":155242,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:12:23] local.INFO: Acknowledgment sent {"connection_id":155242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:12:24] local.INFO: TCP Data received {"connection_id":152525,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:12:24] local.INFO: Processing buffer {"connection_id":152525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:12:24] local.INFO: IMEI packet received {"connection_id":152525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":152525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:12:29] local.INFO: TCP Data received {"connection_id":152525,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:12:29] local.INFO: Processing buffer {"connection_id":152525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:12:29] local.INFO: IMEI packet received {"connection_id":152525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":152525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:12:29] local.INFO: TCP Data received {"connection_id":152525,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:12:29] local.INFO: Processing buffer {"connection_id":152525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:12:29] local.INFO: Packet analysis {"connection_id":152525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:12:29] local.INFO: Extracted packet for processing {"connection_id":152525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:12:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335341056001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786466477000,"timestamp_ms":1786466477000,"timestamp_seconds":1786466477,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b323c8"} 
[2026-08-11 22:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 22:12:29] 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-08-11 22: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-08-11 22:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335341056001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335341056001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:12:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:12:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335341056001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":152525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:12:29] local.INFO: GPS data processed {"connection_id":152525,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:12:29] local.INFO: Acknowledgment sent {"connection_id":152525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:12:38] local.INFO: TCP Data received {"connection_id":155243,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:12:38] local.INFO: Processing buffer {"connection_id":155243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:12:38] local.INFO: IMEI packet received {"connection_id":155243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":155243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:12:43] local.INFO: TCP Data received {"connection_id":155243,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:12:43] local.INFO: Processing buffer {"connection_id":155243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:12:43] local.INFO: IMEI packet received {"connection_id":155243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":155243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:12:44] local.INFO: TCP Data received {"connection_id":155243,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:12:44] local.INFO: Processing buffer {"connection_id":155243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1af91b8012d196a00071fef68003b01182b..."} 
[2026-08-11 22:12:44] local.INFO: Packet analysis {"connection_id":155243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:12:44] local.INFO: Extracted packet for processing {"connection_id":155243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1af"} 
[2026-08-11 22:12:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:12: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-08-11 22:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335281152001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786466243000,"timestamp_ms":1786466243000,"timestamp_seconds":1786466243,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1af91b8"} 
[2026-08-11 22:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:12:44] 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-08-11 22:12: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:12:44] 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-08-11 22:12: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-08-11 22:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:12:44] 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-08-11 22:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335281152001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335281152001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:12:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:12:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335281152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":155243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:12:44] local.INFO: GPS data processed {"connection_id":155243,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:12:44] local.INFO: Acknowledgment sent {"connection_id":155243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:13:15] local.INFO: TCP Data received {"connection_id":155243,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:13:15] local.INFO: Processing buffer {"connection_id":155243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:13:15] local.INFO: Packet analysis {"connection_id":155243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:13:15] local.INFO: Extracted packet for processing {"connection_id":155243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:13: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-08-11 22:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335358208001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786466544000,"timestamp_ms":1786466544000,"timestamp_seconds":1786466544,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b42980"} 
[2026-08-11 22:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:13:15] 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-08-11 22:13: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:13:15] 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-08-11 22:13: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-08-11 22:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:13:15] 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-08-11 22:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335358208001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335358208001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:13:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335358208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":155243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:13:15] local.INFO: GPS data processed {"connection_id":155243,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:13:15] local.INFO: Acknowledgment sent {"connection_id":155243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:13:18] local.INFO: TCP Data received {"connection_id":152935,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:13:18] local.INFO: Processing buffer {"connection_id":152935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:13:18] local.INFO: IMEI packet received {"connection_id":152935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":152935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:13:24] local.INFO: TCP Data received {"connection_id":152935,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:13:24] local.INFO: Processing buffer {"connection_id":152935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:13:24] local.INFO: IMEI packet received {"connection_id":152935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":152935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:13:24] local.INFO: TCP Data received {"connection_id":152935,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:13:24] local.INFO: Processing buffer {"connection_id":152935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:13:24] local.INFO: Packet analysis {"connection_id":152935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:13:24] local.INFO: Extracted packet for processing {"connection_id":152935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:13:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335341056001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786466477000,"timestamp_ms":1786466477000,"timestamp_seconds":1786466477,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b323c8"} 
[2026-08-11 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-08-11 22:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 22:13:24] 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-08-11 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-08-11 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-08-11 22:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335341056001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335341056001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:13:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:13:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335341056001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":152935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:13:24] local.INFO: GPS data processed {"connection_id":152935,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:13:24] local.INFO: Acknowledgment sent {"connection_id":152935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:13:37] local.INFO: TCP Data received {"connection_id":153865,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:13:37] local.INFO: Processing buffer {"connection_id":153865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:13:37] local.INFO: IMEI packet received {"connection_id":153865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":153865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:13:43] local.INFO: TCP Data received {"connection_id":153865,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:13:43] local.INFO: Processing buffer {"connection_id":153865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:13:43] local.INFO: IMEI packet received {"connection_id":153865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":153865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:13:44] local.INFO: TCP Data received {"connection_id":153865,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:13:44] local.INFO: Processing buffer {"connection_id":153865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:13:44] local.INFO: Packet analysis {"connection_id":153865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:13:44] local.INFO: Extracted packet for processing {"connection_id":153865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:13:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335358208001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786466544000,"timestamp_ms":1786466544000,"timestamp_seconds":1786466544,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b42980"} 
[2026-08-11 22:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:13:44] 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-08-11 22: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:13:44] 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-08-11 22: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-08-11 22:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335358208001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335358208001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:13:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:13:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335358208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":153865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:13:44] local.INFO: GPS data processed {"connection_id":153865,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:13:44] local.INFO: Acknowledgment sent {"connection_id":153865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:13:56] local.INFO: TCP Data received {"connection_id":152935,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:13:56] local.INFO: Processing buffer {"connection_id":152935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:13:56] local.INFO: Packet analysis {"connection_id":152935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:13:56] local.INFO: Extracted packet for processing {"connection_id":152935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:13:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335341056001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786466477000,"timestamp_ms":1786466477000,"timestamp_seconds":1786466477,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b323c8"} 
[2026-08-11 22:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 22:13:56] 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-08-11 22: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-08-11 22:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335341056001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335341056001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:13:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:13:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335341056001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":152935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:13:56] local.INFO: GPS data processed {"connection_id":152935,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:13:56] local.INFO: Acknowledgment sent {"connection_id":152935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:14:15] local.INFO: TCP Data received {"connection_id":153865,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:14:15] local.INFO: Processing buffer {"connection_id":153865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:14:15] local.INFO: Packet analysis {"connection_id":153865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:14:15] local.INFO: Extracted packet for processing {"connection_id":153865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335358208001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786466544000,"timestamp_ms":1786466544000,"timestamp_seconds":1786466544,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b42980"} 
[2026-08-11 22:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:14:15] 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-08-11 22: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:14:15] 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-08-11 22: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-08-11 22:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335358208001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335358208001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:14:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335358208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":153865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:14:15] local.INFO: GPS data processed {"connection_id":153865,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:14:15] local.INFO: Acknowledgment sent {"connection_id":153865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:14:18] local.INFO: TCP Data received {"connection_id":155244,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:14:18] local.INFO: Processing buffer {"connection_id":155244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:14:18] local.INFO: IMEI packet received {"connection_id":155244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":155244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:14:24] local.INFO: TCP Data received {"connection_id":155244,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:14:24] local.INFO: Processing buffer {"connection_id":155244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:14:24] local.INFO: IMEI packet received {"connection_id":155244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":155244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:14:24] local.INFO: TCP Data received {"connection_id":155244,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:14:24] local.INFO: Processing buffer {"connection_id":155244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:14:24] local.INFO: Packet analysis {"connection_id":155244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:14:24] local.INFO: Extracted packet for processing {"connection_id":155244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:14:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335341056001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786466477000,"timestamp_ms":1786466477000,"timestamp_seconds":1786466477,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b323c8"} 
[2026-08-11 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-08-11 22:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 22:14:24] 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-08-11 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-08-11 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-08-11 22:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335341056001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335341056001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:14:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:14:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335341056001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":155244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:14:24] local.INFO: GPS data processed {"connection_id":155244,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:14:24] local.INFO: Acknowledgment sent {"connection_id":155244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:14:43] local.INFO: TCP Data received {"connection_id":152526,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:14:43] local.INFO: Processing buffer {"connection_id":152526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:14:43] local.INFO: IMEI packet received {"connection_id":152526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":152526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:14:48] local.INFO: TCP Data received {"connection_id":152526,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:14:48] local.INFO: Processing buffer {"connection_id":152526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:14:48] local.INFO: IMEI packet received {"connection_id":152526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":152526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:14:49] local.INFO: TCP Data received {"connection_id":152526,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:14:49] local.INFO: Processing buffer {"connection_id":152526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:14:49] local.INFO: Packet analysis {"connection_id":152526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:14:49] local.INFO: Extracted packet for processing {"connection_id":152526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:14: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-08-11 22:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335358208001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:14: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-08-11 22:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786466544000,"timestamp_ms":1786466544000,"timestamp_seconds":1786466544,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b42980"} 
[2026-08-11 22:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:14:49] 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-08-11 22:14: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:14:49] 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-08-11 22:14: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-08-11 22:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335358208001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335358208001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:14:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335358208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":152526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:14:49] local.INFO: GPS data processed {"connection_id":152526,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:14:49] local.INFO: Acknowledgment sent {"connection_id":152526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:14:53] local.INFO: TCP Data received {"connection_id":152526,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:14:53] local.INFO: Processing buffer {"connection_id":152526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:14:53] local.INFO: Packet analysis {"connection_id":152526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:14:53] local.INFO: Extracted packet for processing {"connection_id":152526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:14:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335358208001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 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-08-11 22:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786466544000,"timestamp_ms":1786466544000,"timestamp_seconds":1786466544,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b42980"} 
[2026-08-11 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-08-11 22:14: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-08-11 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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:14: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-08-11 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-08-11 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-08-11 22:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335358208001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335358208001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:14:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:14:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335358208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":152526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:14:53] local.INFO: GPS data processed {"connection_id":152526,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:14:53] local.INFO: Acknowledgment sent {"connection_id":152526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:14:56] local.INFO: TCP Data received {"connection_id":155244,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:14:56] local.INFO: Processing buffer {"connection_id":155244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:14:56] local.INFO: Packet analysis {"connection_id":155244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:14:56] local.INFO: Extracted packet for processing {"connection_id":155244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:14:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335341056001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786466477000,"timestamp_ms":1786466477000,"timestamp_seconds":1786466477,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b323c8"} 
[2026-08-11 22:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 22:14:56] 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-08-11 22: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-08-11 22:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335341056001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335341056001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:14:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:14:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335341056001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":155244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:14:56] local.INFO: GPS data processed {"connection_id":155244,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:14:56] local.INFO: Acknowledgment sent {"connection_id":155244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:15:18] local.INFO: TCP Data received {"connection_id":153866,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:15:18] local.INFO: Processing buffer {"connection_id":153866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:15:18] local.INFO: IMEI packet received {"connection_id":153866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":153866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:15:24] local.INFO: TCP Data received {"connection_id":153866,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:15:24] local.INFO: Processing buffer {"connection_id":153866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:15:24] local.INFO: IMEI packet received {"connection_id":153866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":153866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:15:24] local.INFO: TCP Data received {"connection_id":153866,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:15:24] local.INFO: Processing buffer {"connection_id":153866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:15:24] local.INFO: Packet analysis {"connection_id":153866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:15:24] local.INFO: Extracted packet for processing {"connection_id":153866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:15:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335341056001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786466477000,"timestamp_ms":1786466477000,"timestamp_seconds":1786466477,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b323c8"} 
[2026-08-11 22:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 22:15:24] 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-08-11 22: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-08-11 22:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335341056001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335341056001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:15:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:15:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335341056001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":153866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:15:24] local.INFO: GPS data processed {"connection_id":153866,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:15:24] local.INFO: Acknowledgment sent {"connection_id":153866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:15:38] local.INFO: TCP Data received {"connection_id":153867,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:15:38] local.INFO: Processing buffer {"connection_id":153867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:15:38] local.INFO: IMEI packet received {"connection_id":153867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":153867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:15:43] local.INFO: TCP Data received {"connection_id":153867,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:15:43] local.INFO: Processing buffer {"connection_id":153867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:15:43] local.INFO: IMEI packet received {"connection_id":153867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":153867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:15:44] local.INFO: TCP Data received {"connection_id":153867,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:15:44] local.INFO: Processing buffer {"connection_id":153867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:15:44] local.INFO: Packet analysis {"connection_id":153867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:15:44] local.INFO: Extracted packet for processing {"connection_id":153867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:15:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335358208001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786466544000,"timestamp_ms":1786466544000,"timestamp_seconds":1786466544,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b42980"} 
[2026-08-11 22:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:15:44] 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-08-11 22: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:15:44] 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-08-11 22: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-08-11 22:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335358208001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335358208001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:15:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:15:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335358208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":153867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:15:44] local.INFO: GPS data processed {"connection_id":153867,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:15:44] local.INFO: Acknowledgment sent {"connection_id":153867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:15:56] local.INFO: TCP Data received {"connection_id":153866,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:15:56] local.INFO: Processing buffer {"connection_id":153866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:15:56] local.INFO: Packet analysis {"connection_id":153866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:15:56] local.INFO: Extracted packet for processing {"connection_id":153866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:15:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335341056001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786466477000,"timestamp_ms":1786466477000,"timestamp_seconds":1786466477,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b323c8"} 
[2026-08-11 22:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 22:15:56] 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-08-11 22: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-08-11 22:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335341056001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335341056001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:15:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:15:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335341056001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":153866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:15:56] local.INFO: GPS data processed {"connection_id":153866,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:15:56] local.INFO: Acknowledgment sent {"connection_id":153866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:16:15] local.INFO: TCP Data received {"connection_id":153867,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:16:15] local.INFO: Processing buffer {"connection_id":153867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:16:15] local.INFO: Packet analysis {"connection_id":153867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:16:15] local.INFO: Extracted packet for processing {"connection_id":153867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:16: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-08-11 22:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335358208001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786466544000,"timestamp_ms":1786466544000,"timestamp_seconds":1786466544,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b42980"} 
[2026-08-11 22:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:16:15] 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-08-11 22:16: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:16:15] 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-08-11 22:16: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-08-11 22:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335358208001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335358208001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:16:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:16:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335358208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":153867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:16:15] local.INFO: GPS data processed {"connection_id":153867,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:16:15] local.INFO: Acknowledgment sent {"connection_id":153867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:16:24] local.INFO: TCP Data received {"connection_id":152527,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:16:24] local.INFO: Processing buffer {"connection_id":152527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:16:24] local.INFO: IMEI packet received {"connection_id":152527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":152527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:16:29] local.INFO: TCP Data received {"connection_id":152527,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:16:29] local.INFO: Processing buffer {"connection_id":152527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:16:29] local.INFO: IMEI packet received {"connection_id":152527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":152527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:16:29] local.INFO: TCP Data received {"connection_id":152527,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:16:29] local.INFO: Processing buffer {"connection_id":152527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:16:29] local.INFO: Packet analysis {"connection_id":152527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:16:29] local.INFO: Extracted packet for processing {"connection_id":152527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:16:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:16: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-08-11 22:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335341056001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786466477000,"timestamp_ms":1786466477000,"timestamp_seconds":1786466477,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b323c8"} 
[2026-08-11 22:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:16: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":91,"data_length":795,"current_offset":136} 
[2026-08-11 22:16:29] 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-08-11 22:16: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-08-11 22:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335341056001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335341056001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:16:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:16:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335341056001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":152527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:16:29] local.INFO: GPS data processed {"connection_id":152527,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:16:29] local.INFO: Acknowledgment sent {"connection_id":152527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:16:34] local.INFO: TCP Data received {"connection_id":152527,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:16:34] local.INFO: Processing buffer {"connection_id":152527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b323c8012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:16:34] local.INFO: Packet analysis {"connection_id":152527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:16:34] local.INFO: Extracted packet for processing {"connection_id":152527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b3"} 
[2026-08-11 22:16:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335341056001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786466477000,"timestamp_ms":1786466477000,"timestamp_seconds":1786466477,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b323c8"} 
[2026-08-11 22:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-11 22:16:34] 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-08-11 22: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-08-11 22:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335341056001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335341056001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:16:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:16:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335341056001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":152527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:16:34] local.INFO: GPS data processed {"connection_id":152527,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:16:34] local.INFO: Acknowledgment sent {"connection_id":152527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:16:38] local.INFO: TCP Data received {"connection_id":155245,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:16:38] local.INFO: Processing buffer {"connection_id":155245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:16:38] local.INFO: IMEI packet received {"connection_id":155245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":155245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:16:43] local.INFO: TCP Data received {"connection_id":155245,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:16:43] local.INFO: Processing buffer {"connection_id":155245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:16:43] local.INFO: IMEI packet received {"connection_id":155245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":155245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:16:44] local.INFO: TCP Data received {"connection_id":155245,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:16:44] local.INFO: Processing buffer {"connection_id":155245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:16:44] local.INFO: Packet analysis {"connection_id":155245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:16:44] local.INFO: Extracted packet for processing {"connection_id":155245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:16:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335358208001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786466544000,"timestamp_ms":1786466544000,"timestamp_seconds":1786466544,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b42980"} 
[2026-08-11 22:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:16:44] 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-08-11 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:16:44] 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-08-11 22: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-08-11 22:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335358208001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335358208001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:16:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:16:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335358208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":155245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:16:44] local.INFO: GPS data processed {"connection_id":155245,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:16:44] local.INFO: Acknowledgment sent {"connection_id":155245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:17:15] local.INFO: TCP Data received {"connection_id":155245,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:17:15] local.INFO: Processing buffer {"connection_id":155245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:17:15] local.INFO: Packet analysis {"connection_id":155245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:17:15] local.INFO: Extracted packet for processing {"connection_id":155245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335358208001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786466544000,"timestamp_ms":1786466544000,"timestamp_seconds":1786466544,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b42980"} 
[2026-08-11 22:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:17:15] 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-08-11 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:17:15] 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-08-11 22: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-08-11 22:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335358208001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335358208001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:17:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:17:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335358208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":155245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:17:15] local.INFO: GPS data processed {"connection_id":155245,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:17:15] local.INFO: Acknowledgment sent {"connection_id":155245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:17:18] local.INFO: TCP Data received {"connection_id":152936,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:17:18] local.INFO: Processing buffer {"connection_id":152936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:17:18] local.INFO: IMEI packet received {"connection_id":152936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":152936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:17:24] local.INFO: TCP Data received {"connection_id":152936,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:17:24] local.INFO: Processing buffer {"connection_id":152936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:17:24] local.INFO: IMEI packet received {"connection_id":152936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":152936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:17:24] local.INFO: TCP Data received {"connection_id":152936,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:17:24] local.INFO: Processing buffer {"connection_id":152936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:17:24] local.INFO: Packet analysis {"connection_id":152936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:17:24] local.INFO: Extracted packet for processing {"connection_id":152936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:17:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335418112001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786466778000,"timestamp_ms":1786466778000,"timestamp_seconds":1786466778,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b7bb90"} 
[2026-08-11 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-08-11 22:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:17:24] 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-08-11 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-08-11 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-08-11 22:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335418112001,"66":25615,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335418112001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:17:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:17:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335418112001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":152936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:17:24] local.INFO: GPS data processed {"connection_id":152936,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:17:24] local.INFO: Acknowledgment sent {"connection_id":152936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:17:38] local.INFO: TCP Data received {"connection_id":152528,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:17:38] local.INFO: Processing buffer {"connection_id":152528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:17:38] local.INFO: IMEI packet received {"connection_id":152528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":152528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:17:43] local.INFO: TCP Data received {"connection_id":152528,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:17:43] local.INFO: Processing buffer {"connection_id":152528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:17:43] local.INFO: IMEI packet received {"connection_id":152528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":152528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:17:44] local.INFO: TCP Data received {"connection_id":152528,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:17:44] local.INFO: Processing buffer {"connection_id":152528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b42980012d196a00071fef68003b01182b..."} 
[2026-08-11 22:17:44] local.INFO: Packet analysis {"connection_id":152528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:17:44] local.INFO: Extracted packet for processing {"connection_id":152528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b4"} 
[2026-08-11 22:17:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:17: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-08-11 22:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335358208001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786466544000,"timestamp_ms":1786466544000,"timestamp_seconds":1786466544,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b42980"} 
[2026-08-11 22:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:17:44] 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-08-11 22:17: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:17:44] 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-08-11 22:17: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-08-11 22:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335358208001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335358208001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:17:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:17:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335358208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":152528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:17:44] local.INFO: GPS data processed {"connection_id":152528,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:17:44] local.INFO: Acknowledgment sent {"connection_id":152528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:17:56] local.INFO: TCP Data received {"connection_id":152936,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:17:56] local.INFO: Processing buffer {"connection_id":152936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:17:56] local.INFO: Packet analysis {"connection_id":152936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:17:56] local.INFO: Extracted packet for processing {"connection_id":152936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:17:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335418112001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786466778000,"timestamp_ms":1786466778000,"timestamp_seconds":1786466778,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b7bb90"} 
[2026-08-11 22:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:17:56] 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-08-11 22: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-08-11 22:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335418112001,"66":25615,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335418112001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:17:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:17:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335418112001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":152936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:17:56] local.INFO: GPS data processed {"connection_id":152936,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:17:56] local.INFO: Acknowledgment sent {"connection_id":152936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:18:15] local.INFO: TCP Data received {"connection_id":152528,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:18:15] local.INFO: Processing buffer {"connection_id":152528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:18:15] local.INFO: Packet analysis {"connection_id":152528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:18:15] local.INFO: Extracted packet for processing {"connection_id":152528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335435264001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786466845000,"timestamp_ms":1786466845000,"timestamp_seconds":1786466845,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b8c148"} 
[2026-08-11 22:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:18:15] 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-08-11 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:18:15] 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-08-11 22: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-08-11 22:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335435264001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335435264001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:18:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:18:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335435264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":152528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:18:15] local.INFO: GPS data processed {"connection_id":152528,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:18:15] local.INFO: Acknowledgment sent {"connection_id":152528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:18:18] local.INFO: TCP Data received {"connection_id":155246,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:18:18] local.INFO: Processing buffer {"connection_id":155246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:18:18] local.INFO: IMEI packet received {"connection_id":155246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":155246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:18:24] local.INFO: TCP Data received {"connection_id":155246,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:18:24] local.INFO: Processing buffer {"connection_id":155246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:18:24] local.INFO: IMEI packet received {"connection_id":155246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":155246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:18:24] local.INFO: TCP Data received {"connection_id":155246,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:18:24] local.INFO: Processing buffer {"connection_id":155246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:18:24] local.INFO: Packet analysis {"connection_id":155246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:18:24] local.INFO: Extracted packet for processing {"connection_id":155246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:18:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335418112001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786466778000,"timestamp_ms":1786466778000,"timestamp_seconds":1786466778,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b7bb90"} 
[2026-08-11 22:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:18:24] 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-08-11 22: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-08-11 22:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335418112001,"66":25615,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335418112001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:18:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:18:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335418112001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":155246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:18:25] local.INFO: GPS data processed {"connection_id":155246,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:18:25] local.INFO: Acknowledgment sent {"connection_id":155246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:18:37] local.INFO: TCP Data received {"connection_id":155247,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:18:37] local.INFO: Processing buffer {"connection_id":155247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:18:37] local.INFO: IMEI packet received {"connection_id":155247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":155247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:18:43] local.INFO: TCP Data received {"connection_id":155247,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:18:43] local.INFO: Processing buffer {"connection_id":155247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:18:43] local.INFO: IMEI packet received {"connection_id":155247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":155247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:18:44] local.INFO: TCP Data received {"connection_id":155247,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:18:44] local.INFO: Processing buffer {"connection_id":155247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:18:44] local.INFO: Packet analysis {"connection_id":155247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:18:44] local.INFO: Extracted packet for processing {"connection_id":155247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:18:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:18: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-08-11 22:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335435264001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786466845000,"timestamp_ms":1786466845000,"timestamp_seconds":1786466845,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b8c148"} 
[2026-08-11 22:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:18:44] 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-08-11 22:18: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:18:44] 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-08-11 22:18: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-08-11 22:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335435264001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335435264001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:18:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:18:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335435264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":155247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:18:44] local.INFO: GPS data processed {"connection_id":155247,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:18:44] local.INFO: Acknowledgment sent {"connection_id":155247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:19:01] local.INFO: TCP Data received {"connection_id":155246,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:19:01] local.INFO: Processing buffer {"connection_id":155246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:19:01] local.INFO: Packet analysis {"connection_id":155246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:19:01] local.INFO: Extracted packet for processing {"connection_id":155246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:19:01] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:19: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-08-11 22:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335418112001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786466778000,"timestamp_ms":1786466778000,"timestamp_seconds":1786466778,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b7bb90"} 
[2026-08-11 22:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:19: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:19:01] 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-08-11 22:19: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-08-11 22:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":155246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":155246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":155246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335418112001,"66":25615,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335418112001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:19:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:19:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335418112001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":155246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:19:01] local.INFO: GPS data processed {"connection_id":155246,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:19:01] local.INFO: Acknowledgment sent {"connection_id":155246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:19:15] local.INFO: TCP Data received {"connection_id":155247,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:19:15] local.INFO: Processing buffer {"connection_id":155247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:19:15] local.INFO: Packet analysis {"connection_id":155247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:19:15] local.INFO: Extracted packet for processing {"connection_id":155247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:19: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-08-11 22:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335435264001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786466845000,"timestamp_ms":1786466845000,"timestamp_seconds":1786466845,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b8c148"} 
[2026-08-11 22:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:19:15] 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-08-11 22:19: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:19:15] 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-08-11 22:19: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-08-11 22:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335435264001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335435264001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:19:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335435264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":155247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:19:15] local.INFO: GPS data processed {"connection_id":155247,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:19:15] local.INFO: Acknowledgment sent {"connection_id":155247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:19:18] local.INFO: TCP Data received {"connection_id":152937,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:19:18] local.INFO: Processing buffer {"connection_id":152937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:19:18] local.INFO: IMEI packet received {"connection_id":152937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":152937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:19:24] local.INFO: TCP Data received {"connection_id":152937,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:19:24] local.INFO: Processing buffer {"connection_id":152937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:19:24] local.INFO: IMEI packet received {"connection_id":152937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":152937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:19:24] local.INFO: TCP Data received {"connection_id":152937,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:19:24] local.INFO: Processing buffer {"connection_id":152937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:19:24] local.INFO: Packet analysis {"connection_id":152937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:19:24] local.INFO: Extracted packet for processing {"connection_id":152937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:19:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335418112001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786466778000,"timestamp_ms":1786466778000,"timestamp_seconds":1786466778,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b7bb90"} 
[2026-08-11 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-08-11 22:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:19:24] 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-08-11 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-08-11 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-08-11 22:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335418112001,"66":25615,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335418112001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:19:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:19:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335418112001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":152937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:19:24] local.INFO: GPS data processed {"connection_id":152937,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:19:24] local.INFO: Acknowledgment sent {"connection_id":152937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:19:43] local.INFO: TCP Data received {"connection_id":152529,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:19:43] local.INFO: Processing buffer {"connection_id":152529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:19:43] local.INFO: IMEI packet received {"connection_id":152529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":152529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:19:48] local.INFO: TCP Data received {"connection_id":152529,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:19:48] local.INFO: Processing buffer {"connection_id":152529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:19:48] local.INFO: IMEI packet received {"connection_id":152529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":152529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:19:49] local.INFO: TCP Data received {"connection_id":152529,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:19:49] local.INFO: Processing buffer {"connection_id":152529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:19:49] local.INFO: Packet analysis {"connection_id":152529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:19:49] local.INFO: Extracted packet for processing {"connection_id":152529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:19: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-08-11 22:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335435264001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19: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-08-11 22:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786466845000,"timestamp_ms":1786466845000,"timestamp_seconds":1786466845,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b8c148"} 
[2026-08-11 22:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:19:49] 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-08-11 22:19: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:19:49] 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-08-11 22:19: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-08-11 22:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:19:49] 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-08-11 22:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335435264001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335435264001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:19:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335435264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":152529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:19:49] local.INFO: GPS data processed {"connection_id":152529,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:19:49] local.INFO: Acknowledgment sent {"connection_id":152529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:19:53] local.INFO: TCP Data received {"connection_id":152529,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:19:53] local.INFO: Processing buffer {"connection_id":152529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:19:53] local.INFO: Packet analysis {"connection_id":152529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:19:53] local.INFO: Extracted packet for processing {"connection_id":152529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:19:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335435264001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22: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-08-11 22:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786466845000,"timestamp_ms":1786466845000,"timestamp_seconds":1786466845,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b8c148"} 
[2026-08-11 22:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:19: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-08-11 22: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:19: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-08-11 22: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-08-11 22:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:19: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-08-11 22:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335435264001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335435264001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:19:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:19:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335435264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":152529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:19:53] local.INFO: GPS data processed {"connection_id":152529,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:19:53] local.INFO: Acknowledgment sent {"connection_id":152529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:19:56] local.INFO: TCP Data received {"connection_id":152937,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:19:56] local.INFO: Processing buffer {"connection_id":152937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:19:56] local.INFO: Packet analysis {"connection_id":152937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:19:56] local.INFO: Extracted packet for processing {"connection_id":152937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:19:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:19: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-08-11 22:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335418112001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786466778000,"timestamp_ms":1786466778000,"timestamp_seconds":1786466778,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b7bb90"} 
[2026-08-11 22:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:19: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:19:56] 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-08-11 22:19: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-08-11 22:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335418112001,"66":25615,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335418112001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:19:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:19:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335418112001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":152937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:19:56] local.INFO: GPS data processed {"connection_id":152937,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:19:56] local.INFO: Acknowledgment sent {"connection_id":152937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:20:24] local.INFO: TCP Data received {"connection_id":153868,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:20:24] local.INFO: Processing buffer {"connection_id":153868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:20:24] local.INFO: IMEI packet received {"connection_id":153868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":153868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:20:29] local.INFO: TCP Data received {"connection_id":153868,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:20:29] local.INFO: Processing buffer {"connection_id":153868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:20:29] local.INFO: IMEI packet received {"connection_id":153868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":153868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:20:29] local.INFO: TCP Data received {"connection_id":153868,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:20:29] local.INFO: Processing buffer {"connection_id":153868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:20:29] local.INFO: Packet analysis {"connection_id":153868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:20:29] local.INFO: Extracted packet for processing {"connection_id":153868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:20:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335418112001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786466778000,"timestamp_ms":1786466778000,"timestamp_seconds":1786466778,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b7bb90"} 
[2026-08-11 22:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:20:29] 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-08-11 22: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-08-11 22:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335418112001,"66":25615,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335418112001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:20:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:20:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335418112001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":153868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:20:29] local.INFO: GPS data processed {"connection_id":153868,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:20:29] local.INFO: Acknowledgment sent {"connection_id":153868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:20:34] local.INFO: TCP Data received {"connection_id":153868,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:20:34] local.INFO: Processing buffer {"connection_id":153868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:20:34] local.INFO: Packet analysis {"connection_id":153868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:20:34] local.INFO: Extracted packet for processing {"connection_id":153868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:20:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335418112001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786466778000,"timestamp_ms":1786466778000,"timestamp_seconds":1786466778,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b7bb90"} 
[2026-08-11 22:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:20:34] 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-08-11 22: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-08-11 22:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335418112001,"66":25615,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335418112001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:20:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:20:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335418112001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":153868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:20:34] local.INFO: GPS data processed {"connection_id":153868,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:20:34] local.INFO: Acknowledgment sent {"connection_id":153868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:20:38] local.INFO: TCP Data received {"connection_id":152938,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:20:38] local.INFO: Processing buffer {"connection_id":152938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:20:38] local.INFO: IMEI packet received {"connection_id":152938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":152938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:20:43] local.INFO: TCP Data received {"connection_id":152938,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:20:43] local.INFO: Processing buffer {"connection_id":152938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:20:43] local.INFO: IMEI packet received {"connection_id":152938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":152938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:20:44] local.INFO: TCP Data received {"connection_id":152938,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:20:44] local.INFO: Processing buffer {"connection_id":152938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:20:44] local.INFO: Packet analysis {"connection_id":152938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:20:44] local.INFO: Extracted packet for processing {"connection_id":152938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:20:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335435264001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786466845000,"timestamp_ms":1786466845000,"timestamp_seconds":1786466845,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b8c148"} 
[2026-08-11 22:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:20:44] 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-08-11 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:20:44] 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-08-11 22: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-08-11 22:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:20:44] 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-08-11 22:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335435264001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335435264001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:20:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:20:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335435264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":152938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:20:44] local.INFO: GPS data processed {"connection_id":152938,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:20:44] local.INFO: Acknowledgment sent {"connection_id":152938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:21:15] local.INFO: TCP Data received {"connection_id":152938,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:21:15] local.INFO: Processing buffer {"connection_id":152938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:21:15] local.INFO: Packet analysis {"connection_id":152938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:21:15] local.INFO: Extracted packet for processing {"connection_id":152938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335435264001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786466845000,"timestamp_ms":1786466845000,"timestamp_seconds":1786466845,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b8c148"} 
[2026-08-11 22:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:21:15] 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-08-11 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:21:15] 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-08-11 22: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-08-11 22:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:21:15] 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-08-11 22:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335435264001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335435264001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:21:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:21:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335435264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":152938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:21:15] local.INFO: GPS data processed {"connection_id":152938,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:21:15] local.INFO: Acknowledgment sent {"connection_id":152938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:21:19] local.INFO: TCP Data received {"connection_id":152939,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:21:19] local.INFO: Processing buffer {"connection_id":152939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:21:19] local.INFO: IMEI packet received {"connection_id":152939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":152939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:21:24] local.INFO: TCP Data received {"connection_id":152939,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:21:24] local.INFO: Processing buffer {"connection_id":152939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:21:24] local.INFO: IMEI packet received {"connection_id":152939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":152939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:21:24] local.INFO: TCP Data received {"connection_id":152939,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:21:24] local.INFO: Processing buffer {"connection_id":152939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:21:24] local.INFO: Packet analysis {"connection_id":152939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:21:24] local.INFO: Extracted packet for processing {"connection_id":152939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:21:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335418112001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786466778000,"timestamp_ms":1786466778000,"timestamp_seconds":1786466778,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b7bb90"} 
[2026-08-11 22:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:21:24] 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-08-11 22: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-08-11 22:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335418112001,"66":25615,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335418112001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:21:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:21:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335418112001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":152939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:21:24] local.INFO: GPS data processed {"connection_id":152939,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:21:24] local.INFO: Acknowledgment sent {"connection_id":152939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:21:38] local.INFO: TCP Data received {"connection_id":152940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:21:38] local.INFO: Processing buffer {"connection_id":152940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:21:38] local.INFO: IMEI packet received {"connection_id":152940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":152940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:21:43] local.INFO: TCP Data received {"connection_id":152940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:21:43] local.INFO: Processing buffer {"connection_id":152940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:21:43] local.INFO: IMEI packet received {"connection_id":152940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":152940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:21:44] local.INFO: TCP Data received {"connection_id":152940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:21:44] local.INFO: Processing buffer {"connection_id":152940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:21:44] local.INFO: Packet analysis {"connection_id":152940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:21:44] local.INFO: Extracted packet for processing {"connection_id":152940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:21:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335435264001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786466845000,"timestamp_ms":1786466845000,"timestamp_seconds":1786466845,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b8c148"} 
[2026-08-11 22:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:21:44] 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-08-11 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:21:44] 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-08-11 22: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-08-11 22:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335435264001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335435264001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:21:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:21:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335435264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":152940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:21:44] local.INFO: GPS data processed {"connection_id":152940,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:21:44] local.INFO: Acknowledgment sent {"connection_id":152940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:21:56] local.INFO: TCP Data received {"connection_id":152939,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:21:56] local.INFO: Processing buffer {"connection_id":152939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b7bb90012d77ab8005f2a748001300fd2d..."} 
[2026-08-11 22:21:56] local.INFO: Packet analysis {"connection_id":152939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:21:56] local.INFO: Extracted packet for processing {"connection_id":152939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b7"} 
[2026-08-11 22:21:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":45,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335418112001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786466778000,"timestamp_ms":1786466778000,"timestamp_seconds":1786466778,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b7bb90"} 
[2026-08-11 22:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:21:56] 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-08-11 22: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-08-11 22:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335418112001,"66":25615,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335418112001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:21:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:21:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335418112001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":152939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:21:56] local.INFO: GPS data processed {"connection_id":152939,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:21:56] local.INFO: Acknowledgment sent {"connection_id":152939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:22:15] local.INFO: TCP Data received {"connection_id":152940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:22:15] local.INFO: Processing buffer {"connection_id":152940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:22:15] local.INFO: Packet analysis {"connection_id":152940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:22:15] local.INFO: Extracted packet for processing {"connection_id":152940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335435264001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786466845000,"timestamp_ms":1786466845000,"timestamp_seconds":1786466845,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b8c148"} 
[2026-08-11 22:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:22:15] 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-08-11 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:22:15] 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-08-11 22: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-08-11 22:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335435264001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335435264001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:22:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335435264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":152940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:22:15] local.INFO: GPS data processed {"connection_id":152940,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:22:15] local.INFO: Acknowledgment sent {"connection_id":152940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:22:18] local.INFO: TCP Data received {"connection_id":155248,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:22:18] local.INFO: Processing buffer {"connection_id":155248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:22:18] local.INFO: IMEI packet received {"connection_id":155248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":155248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:22:24] local.INFO: TCP Data received {"connection_id":155248,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:22:24] local.INFO: Processing buffer {"connection_id":155248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:22:24] local.INFO: IMEI packet received {"connection_id":155248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":155248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:22:24] local.INFO: TCP Data received {"connection_id":155248,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:22:24] local.INFO: Processing buffer {"connection_id":155248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:22:24] local.INFO: Packet analysis {"connection_id":155248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:22:24] local.INFO: Extracted packet for processing {"connection_id":155248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:22:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335495168001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786467079000,"timestamp_ms":1786467079000,"timestamp_seconds":1786467079,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bc5358"} 
[2026-08-11 22:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 22:22:24] 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-08-11 22: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-08-11 22:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335495168001,"66":25582,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335495168001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:22:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:22:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335495168001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":155248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:22:24] local.INFO: GPS data processed {"connection_id":155248,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:22:24] local.INFO: Acknowledgment sent {"connection_id":155248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:22:38] local.INFO: TCP Data received {"connection_id":152530,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:22:38] local.INFO: Processing buffer {"connection_id":152530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:22:38] local.INFO: IMEI packet received {"connection_id":152530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":152530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:22:43] local.INFO: TCP Data received {"connection_id":152530,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:22:43] local.INFO: Processing buffer {"connection_id":152530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:22:43] local.INFO: IMEI packet received {"connection_id":152530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":152530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:22:44] local.INFO: TCP Data received {"connection_id":152530,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:22:44] local.INFO: Processing buffer {"connection_id":152530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1b8c148012d196a00071fef68003b011827..."} 
[2026-08-11 22:22:44] local.INFO: Packet analysis {"connection_id":152530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:22:44] local.INFO: Extracted packet for processing {"connection_id":152530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1b8"} 
[2026-08-11 22:22:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:22: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-08-11 22:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335435264001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786466845000,"timestamp_ms":1786466845000,"timestamp_seconds":1786466845,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1b8c148"} 
[2026-08-11 22:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:22:44] 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-08-11 22:22: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:22:44] 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-08-11 22:22: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-08-11 22:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335435264001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335435264001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:22:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:22:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335435264001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":152530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:22:44] local.INFO: GPS data processed {"connection_id":152530,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:22:44] local.INFO: Acknowledgment sent {"connection_id":152530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:22:55] local.INFO: TCP Data received {"connection_id":155248,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:22:55] local.INFO: Processing buffer {"connection_id":155248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:22:55] local.INFO: Packet analysis {"connection_id":155248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:22:55] local.INFO: Extracted packet for processing {"connection_id":155248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:22:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335495168001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786467079000,"timestamp_ms":1786467079000,"timestamp_seconds":1786467079,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bc5358"} 
[2026-08-11 22:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 22:22:55] 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-08-11 22: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-08-11 22:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335495168001,"66":25582,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335495168001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:22:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:22:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335495168001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":155248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:22:55] local.INFO: GPS data processed {"connection_id":155248,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:22:55] local.INFO: Acknowledgment sent {"connection_id":155248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:23:15] local.INFO: TCP Data received {"connection_id":152530,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:23:15] local.INFO: Processing buffer {"connection_id":152530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:23:15] local.INFO: Packet analysis {"connection_id":152530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:23:15] local.INFO: Extracted packet for processing {"connection_id":152530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:23: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-08-11 22:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335512320001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786467146000,"timestamp_ms":1786467146000,"timestamp_seconds":1786467146,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bd5910"} 
[2026-08-11 22:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:23: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:23:15] 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-08-11 22:23: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-08-11 22:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335512320001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335512320001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:23:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335512320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":152530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:23:15] local.INFO: GPS data processed {"connection_id":152530,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:23:15] local.INFO: Acknowledgment sent {"connection_id":152530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:23:18] local.INFO: TCP Data received {"connection_id":152531,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:23:18] local.INFO: Processing buffer {"connection_id":152531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:23:18] local.INFO: IMEI packet received {"connection_id":152531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":152531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:23:24] local.INFO: TCP Data received {"connection_id":152531,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:23:24] local.INFO: Processing buffer {"connection_id":152531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:23:24] local.INFO: IMEI packet received {"connection_id":152531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":152531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:23:24] local.INFO: TCP Data received {"connection_id":152531,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:23:24] local.INFO: Processing buffer {"connection_id":152531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:23:24] local.INFO: Packet analysis {"connection_id":152531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:23:24] local.INFO: Extracted packet for processing {"connection_id":152531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:23:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335495168001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786467079000,"timestamp_ms":1786467079000,"timestamp_seconds":1786467079,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bc5358"} 
[2026-08-11 22:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 22:23:24] 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-08-11 22: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-08-11 22:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335495168001,"66":25582,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335495168001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:23:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:23:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335495168001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":152531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:23:24] local.INFO: GPS data processed {"connection_id":152531,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:23:24] local.INFO: Acknowledgment sent {"connection_id":152531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:23:43] local.INFO: TCP Data received {"connection_id":152941,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:23:43] local.INFO: Processing buffer {"connection_id":152941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:23:43] local.INFO: IMEI packet received {"connection_id":152941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":152941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:23:48] local.INFO: TCP Data received {"connection_id":152941,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:23:48] local.INFO: Processing buffer {"connection_id":152941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:23:48] local.INFO: IMEI packet received {"connection_id":152941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":152941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:23:49] local.INFO: TCP Data received {"connection_id":152941,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:23:49] local.INFO: Processing buffer {"connection_id":152941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:23:49] local.INFO: Packet analysis {"connection_id":152941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:23:49] local.INFO: Extracted packet for processing {"connection_id":152941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:23:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:23: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-08-11 22:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335512320001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:23: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-08-11 22:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786467146000,"timestamp_ms":1786467146000,"timestamp_seconds":1786467146,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bd5910"} 
[2026-08-11 22:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:23: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:23:49] 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-08-11 22:23: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-08-11 22:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335512320001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335512320001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:23:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:23:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335512320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":152941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:23:49] local.INFO: GPS data processed {"connection_id":152941,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:23:49] local.INFO: Acknowledgment sent {"connection_id":152941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:23:53] local.INFO: TCP Data received {"connection_id":152941,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:23:53] local.INFO: Processing buffer {"connection_id":152941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:23:53] local.INFO: Packet analysis {"connection_id":152941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:23:53] local.INFO: Extracted packet for processing {"connection_id":152941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:23:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335512320001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22: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-08-11 22:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786467146000,"timestamp_ms":1786467146000,"timestamp_seconds":1786467146,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bd5910"} 
[2026-08-11 22:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:23: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-08-11 22: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-08-11 22:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335512320001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335512320001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:23:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:23:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335512320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":152941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:23:53] local.INFO: GPS data processed {"connection_id":152941,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:23:53] local.INFO: Acknowledgment sent {"connection_id":152941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:23:56] local.INFO: TCP Data received {"connection_id":152531,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:23:56] local.INFO: Processing buffer {"connection_id":152531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:23:56] local.INFO: Packet analysis {"connection_id":152531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:23:56] local.INFO: Extracted packet for processing {"connection_id":152531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:23:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335495168001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786467079000,"timestamp_ms":1786467079000,"timestamp_seconds":1786467079,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bc5358"} 
[2026-08-11 22:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 22:23:56] 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-08-11 22: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-08-11 22:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335495168001,"66":25582,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335495168001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:23:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:23:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335495168001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":152531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:23:56] local.INFO: GPS data processed {"connection_id":152531,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:23:56] local.INFO: Acknowledgment sent {"connection_id":152531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:24:23] local.INFO: TCP Data received {"connection_id":152942,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:24:23] local.INFO: Processing buffer {"connection_id":152942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:24:23] local.INFO: IMEI packet received {"connection_id":152942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":152942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:24:29] local.INFO: TCP Data received {"connection_id":152942,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:24:29] local.INFO: Processing buffer {"connection_id":152942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:24:29] local.INFO: IMEI packet received {"connection_id":152942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":152942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:24:29] local.INFO: TCP Data received {"connection_id":152942,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:24:29] local.INFO: Processing buffer {"connection_id":152942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:24:29] local.INFO: Packet analysis {"connection_id":152942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:24:29] local.INFO: Extracted packet for processing {"connection_id":152942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:24:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335495168001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786467079000,"timestamp_ms":1786467079000,"timestamp_seconds":1786467079,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bc5358"} 
[2026-08-11 22:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":15,"data_length":795,"current_offset":136} 
[2026-08-11 22:24:29] 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-08-11 22: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-08-11 22:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335495168001,"66":25582,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335495168001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:24:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:24:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335495168001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":152942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:24:29] local.INFO: GPS data processed {"connection_id":152942,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:24:29] local.INFO: Acknowledgment sent {"connection_id":152942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:24:34] local.INFO: TCP Data received {"connection_id":152942,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:24:34] local.INFO: Processing buffer {"connection_id":152942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:24:34] local.INFO: Packet analysis {"connection_id":152942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:24:34] local.INFO: Extracted packet for processing {"connection_id":152942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:24:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:24: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-08-11 22:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335495168001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786467079000,"timestamp_ms":1786467079000,"timestamp_seconds":1786467079,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bc5358"} 
[2026-08-11 22:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:24: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":15,"data_length":795,"current_offset":136} 
[2026-08-11 22:24:34] 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-08-11 22:24: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-08-11 22:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335495168001,"66":25582,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335495168001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:24:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:24:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335495168001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":152942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:24:34] local.INFO: GPS data processed {"connection_id":152942,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:24:34] local.INFO: Acknowledgment sent {"connection_id":152942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:24:38] local.INFO: TCP Data received {"connection_id":152532,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:24:38] local.INFO: Processing buffer {"connection_id":152532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:24:38] local.INFO: IMEI packet received {"connection_id":152532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":152532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:24:43] local.INFO: TCP Data received {"connection_id":152532,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:24:43] local.INFO: Processing buffer {"connection_id":152532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:24:43] local.INFO: IMEI packet received {"connection_id":152532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":152532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:24:44] local.INFO: TCP Data received {"connection_id":152532,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:24:44] local.INFO: Processing buffer {"connection_id":152532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:24:44] local.INFO: Packet analysis {"connection_id":152532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:24:44] local.INFO: Extracted packet for processing {"connection_id":152532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:24:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335512320001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786467146000,"timestamp_ms":1786467146000,"timestamp_seconds":1786467146,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bd5910"} 
[2026-08-11 22:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:24:44] 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-08-11 22: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-08-11 22:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335512320001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335512320001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:24:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:24:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335512320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":152532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:24:44] local.INFO: GPS data processed {"connection_id":152532,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:24:44] local.INFO: Acknowledgment sent {"connection_id":152532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:25:15] local.INFO: TCP Data received {"connection_id":152532,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:25:15] local.INFO: Processing buffer {"connection_id":152532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:25:15] local.INFO: Packet analysis {"connection_id":152532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:25:15] local.INFO: Extracted packet for processing {"connection_id":152532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335512320001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786467146000,"timestamp_ms":1786467146000,"timestamp_seconds":1786467146,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bd5910"} 
[2026-08-11 22:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:25:15] 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-08-11 22: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-08-11 22:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335512320001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335512320001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:25:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335512320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":152532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:25:15] local.INFO: GPS data processed {"connection_id":152532,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:25:15] local.INFO: Acknowledgment sent {"connection_id":152532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:25:18] local.INFO: TCP Data received {"connection_id":152943,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:25:18] local.INFO: Processing buffer {"connection_id":152943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:25:18] local.INFO: IMEI packet received {"connection_id":152943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":152943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:25:23] local.INFO: TCP Data received {"connection_id":152943,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:25:23] local.INFO: Processing buffer {"connection_id":152943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:25:23] local.INFO: IMEI packet received {"connection_id":152943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":152943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:25:24] local.INFO: TCP Data received {"connection_id":152943,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:25:24] local.INFO: Processing buffer {"connection_id":152943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:25:24] local.INFO: Packet analysis {"connection_id":152943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:25:24] local.INFO: Extracted packet for processing {"connection_id":152943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:25:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335495168001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786467079000,"timestamp_ms":1786467079000,"timestamp_seconds":1786467079,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bc5358"} 
[2026-08-11 22:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 22:25:24] 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-08-11 22: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-08-11 22:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335495168001,"66":25582,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335495168001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:25:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:25:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335495168001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":152943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:25:24] local.INFO: GPS data processed {"connection_id":152943,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:25:24] local.INFO: Acknowledgment sent {"connection_id":152943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:25:38] local.INFO: TCP Data received {"connection_id":155249,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:25:38] local.INFO: Processing buffer {"connection_id":155249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:25:38] local.INFO: IMEI packet received {"connection_id":155249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":155249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:25:43] local.INFO: TCP Data received {"connection_id":155249,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:25:43] local.INFO: Processing buffer {"connection_id":155249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:25:43] local.INFO: IMEI packet received {"connection_id":155249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":155249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:25:44] local.INFO: TCP Data received {"connection_id":155249,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:25:44] local.INFO: Processing buffer {"connection_id":155249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:25:44] local.INFO: Packet analysis {"connection_id":155249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:25:44] local.INFO: Extracted packet for processing {"connection_id":155249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:25:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:25: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-08-11 22:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335512320001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786467146000,"timestamp_ms":1786467146000,"timestamp_seconds":1786467146,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bd5910"} 
[2026-08-11 22:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:25: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:25:44] 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-08-11 22:25: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-08-11 22:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335512320001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335512320001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:25:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:25:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335512320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":155249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:25:44] local.INFO: GPS data processed {"connection_id":155249,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:25:44] local.INFO: Acknowledgment sent {"connection_id":155249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:25:56] local.INFO: TCP Data received {"connection_id":152943,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:25:56] local.INFO: Processing buffer {"connection_id":152943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:25:56] local.INFO: Packet analysis {"connection_id":152943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:25:56] local.INFO: Extracted packet for processing {"connection_id":152943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:25:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335495168001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786467079000,"timestamp_ms":1786467079000,"timestamp_seconds":1786467079,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bc5358"} 
[2026-08-11 22:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":15,"data_length":795,"current_offset":136} 
[2026-08-11 22:25:56] 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-08-11 22: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-08-11 22:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335495168001,"66":25582,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335495168001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:25:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:25:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335495168001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":152943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:25:56] local.INFO: GPS data processed {"connection_id":152943,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:25:56] local.INFO: Acknowledgment sent {"connection_id":152943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:26:15] local.INFO: TCP Data received {"connection_id":155249,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:26:15] local.INFO: Processing buffer {"connection_id":155249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:26:15] local.INFO: Packet analysis {"connection_id":155249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:26:15] local.INFO: Extracted packet for processing {"connection_id":155249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335512320001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786467146000,"timestamp_ms":1786467146000,"timestamp_seconds":1786467146,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bd5910"} 
[2026-08-11 22:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:26:15] 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-08-11 22: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-08-11 22:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335512320001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335512320001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:26:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335512320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":155249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:26:15] local.INFO: GPS data processed {"connection_id":155249,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:26:15] local.INFO: Acknowledgment sent {"connection_id":155249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:26:19] local.INFO: TCP Data received {"connection_id":152533,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:26:19] local.INFO: Processing buffer {"connection_id":152533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:26:19] local.INFO: IMEI packet received {"connection_id":152533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":152533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:26:24] local.INFO: TCP Data received {"connection_id":152533,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:26:24] local.INFO: Processing buffer {"connection_id":152533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:26:24] local.INFO: IMEI packet received {"connection_id":152533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":152533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:26:25] local.INFO: TCP Data received {"connection_id":152533,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:26:25] local.INFO: Processing buffer {"connection_id":152533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:26:25] local.INFO: Packet analysis {"connection_id":152533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:26:25] local.INFO: Extracted packet for processing {"connection_id":152533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:26:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335495168001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786467079000,"timestamp_ms":1786467079000,"timestamp_seconds":1786467079,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bc5358"} 
[2026-08-11 22:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-11 22:26:25] 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-08-11 22: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-08-11 22:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335495168001,"66":25582,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335495168001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:26:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:26:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335495168001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":152533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:26:25] local.INFO: GPS data processed {"connection_id":152533,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:26:25] local.INFO: Acknowledgment sent {"connection_id":152533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:26:38] local.INFO: TCP Data received {"connection_id":155250,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:26:38] local.INFO: Processing buffer {"connection_id":155250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:26:38] local.INFO: IMEI packet received {"connection_id":155250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":155250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:26:43] local.INFO: TCP Data received {"connection_id":155250,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:26:43] local.INFO: Processing buffer {"connection_id":155250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:26:43] local.INFO: IMEI packet received {"connection_id":155250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":155250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:26:44] local.INFO: TCP Data received {"connection_id":155250,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:26:44] local.INFO: Processing buffer {"connection_id":155250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:26:44] local.INFO: Packet analysis {"connection_id":155250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:26:44] local.INFO: Extracted packet for processing {"connection_id":155250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:26: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-08-11 22:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335512320001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786467146000,"timestamp_ms":1786467146000,"timestamp_seconds":1786467146,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bd5910"} 
[2026-08-11 22:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:26: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:26:44] 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-08-11 22:26: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-08-11 22:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:26:44] 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-08-11 22:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335512320001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335512320001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:26:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:26:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335512320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":155250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:26:44] local.INFO: GPS data processed {"connection_id":155250,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:26:44] local.INFO: Acknowledgment sent {"connection_id":155250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:26:56] local.INFO: TCP Data received {"connection_id":152533,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:26:56] local.INFO: Processing buffer {"connection_id":152533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bc5358012d77ab8005f2a748001300fd2a..."} 
[2026-08-11 22:26:56] local.INFO: Packet analysis {"connection_id":152533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:26:56] local.INFO: Extracted packet for processing {"connection_id":152533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bc"} 
[2026-08-11 22:26:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335495168001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786467079000,"timestamp_ms":1786467079000,"timestamp_seconds":1786467079,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bc5358"} 
[2026-08-11 22:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":15,"data_length":795,"current_offset":136} 
[2026-08-11 22:26:56] 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-08-11 22: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-08-11 22:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335495168001,"66":25582,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335495168001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:26:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:26:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335495168001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":152533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:26:56] local.INFO: GPS data processed {"connection_id":152533,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:26:56] local.INFO: Acknowledgment sent {"connection_id":152533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:27:15] local.INFO: TCP Data received {"connection_id":155250,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:27:15] local.INFO: Processing buffer {"connection_id":155250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:27:15] local.INFO: Packet analysis {"connection_id":155250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:27:15] local.INFO: Extracted packet for processing {"connection_id":155250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335512320001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786467146000,"timestamp_ms":1786467146000,"timestamp_seconds":1786467146,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bd5910"} 
[2026-08-11 22:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:27:15] 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-08-11 22: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-08-11 22:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:27:15] 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-08-11 22:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335512320001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335512320001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:27:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335512320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":155250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:27:15] local.INFO: GPS data processed {"connection_id":155250,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:27:15] local.INFO: Acknowledgment sent {"connection_id":155250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:27:18] local.INFO: TCP Data received {"connection_id":152534,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:27:18] local.INFO: Processing buffer {"connection_id":152534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:27:18] local.INFO: IMEI packet received {"connection_id":152534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":152534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:27:23] local.INFO: TCP Data received {"connection_id":152534,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:27:23] local.INFO: Processing buffer {"connection_id":152534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:27:23] local.INFO: IMEI packet received {"connection_id":152534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":152534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:27:24] local.INFO: TCP Data received {"connection_id":152534,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:27:24] local.INFO: Processing buffer {"connection_id":152534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:27:24] local.INFO: Packet analysis {"connection_id":152534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:27:24] local.INFO: Extracted packet for processing {"connection_id":152534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:27:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335572224001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786467380000,"timestamp_ms":1786467380000,"timestamp_seconds":1786467380,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c0eb20"} 
[2026-08-11 22:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 22:27:24] 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-08-11 22: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-08-11 22:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335572224001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335572224001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:27:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:27:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335572224001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":152534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:27:24] local.INFO: GPS data processed {"connection_id":152534,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:27:24] local.INFO: Acknowledgment sent {"connection_id":152534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:27:38] local.INFO: TCP Data received {"connection_id":155251,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:27:38] local.INFO: Processing buffer {"connection_id":155251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:27:38] local.INFO: IMEI packet received {"connection_id":155251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":155251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:27:43] local.INFO: TCP Data received {"connection_id":155251,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:27:43] local.INFO: Processing buffer {"connection_id":155251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:27:43] local.INFO: IMEI packet received {"connection_id":155251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":155251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:27:44] local.INFO: TCP Data received {"connection_id":155251,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:27:44] local.INFO: Processing buffer {"connection_id":155251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1bd5910012d196a00071fef68003b01182a..."} 
[2026-08-11 22:27:44] local.INFO: Packet analysis {"connection_id":155251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:27:44] local.INFO: Extracted packet for processing {"connection_id":155251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1bd"} 
[2026-08-11 22:27:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:27: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-08-11 22:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335512320001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786467146000,"timestamp_ms":1786467146000,"timestamp_seconds":1786467146,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1bd5910"} 
[2026-08-11 22:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:27: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:27:44] 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-08-11 22:27: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-08-11 22:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335512320001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335512320001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:27:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:27:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335512320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":155251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:27:44] local.INFO: GPS data processed {"connection_id":155251,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:27:44] local.INFO: Acknowledgment sent {"connection_id":155251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:27:55] local.INFO: TCP Data received {"connection_id":152534,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:27:55] local.INFO: Processing buffer {"connection_id":152534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:27:55] local.INFO: Packet analysis {"connection_id":152534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:27:55] local.INFO: Extracted packet for processing {"connection_id":152534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:27:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335572224001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786467380000,"timestamp_ms":1786467380000,"timestamp_seconds":1786467380,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c0eb20"} 
[2026-08-11 22:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":238,"data_length":795,"current_offset":136} 
[2026-08-11 22:27:55] 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-08-11 22: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-08-11 22:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335572224001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335572224001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:27:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:27:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335572224001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":152534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:27:55] local.INFO: GPS data processed {"connection_id":152534,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:27:55] local.INFO: Acknowledgment sent {"connection_id":152534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:28:15] local.INFO: TCP Data received {"connection_id":155251,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:28:15] local.INFO: Processing buffer {"connection_id":155251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:28:15] local.INFO: Packet analysis {"connection_id":155251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:28:15] local.INFO: Extracted packet for processing {"connection_id":155251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:28: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-08-11 22:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335589376001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786467447000,"timestamp_ms":1786467447000,"timestamp_seconds":1786467447,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c1f0d8"} 
[2026-08-11 22:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:28:15] 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-08-11 22:28: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:28:15] 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-08-11 22:28: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-08-11 22:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335589376001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335589376001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:28:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335589376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":155251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:28:15] local.INFO: GPS data processed {"connection_id":155251,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:28:15] local.INFO: Acknowledgment sent {"connection_id":155251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:28:18] local.INFO: TCP Data received {"connection_id":152944,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:28:18] local.INFO: Processing buffer {"connection_id":152944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:28:18] local.INFO: IMEI packet received {"connection_id":152944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":152944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:28:23] local.INFO: TCP Data received {"connection_id":152944,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:28:23] local.INFO: Processing buffer {"connection_id":152944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:28:23] local.INFO: IMEI packet received {"connection_id":152944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":152944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:28:24] local.INFO: TCP Data received {"connection_id":152944,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:28:24] local.INFO: Processing buffer {"connection_id":152944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:28:24] local.INFO: Packet analysis {"connection_id":152944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:28:24] local.INFO: Extracted packet for processing {"connection_id":152944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:28:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335572224001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786467380000,"timestamp_ms":1786467380000,"timestamp_seconds":1786467380,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c0eb20"} 
[2026-08-11 22:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 22:28:24] 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-08-11 22: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-08-11 22:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335572224001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335572224001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:28:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:28:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335572224001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":152944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:28:24] local.INFO: GPS data processed {"connection_id":152944,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:28:24] local.INFO: Acknowledgment sent {"connection_id":152944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:28:43] local.INFO: TCP Data received {"connection_id":153869,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:28:43] local.INFO: Processing buffer {"connection_id":153869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:28:43] local.INFO: IMEI packet received {"connection_id":153869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":153869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:28:48] local.INFO: TCP Data received {"connection_id":153869,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:28:48] local.INFO: Processing buffer {"connection_id":153869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:28:48] local.INFO: IMEI packet received {"connection_id":153869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":153869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:28:49] local.INFO: TCP Data received {"connection_id":153869,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:28:49] local.INFO: Processing buffer {"connection_id":153869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:28:49] local.INFO: Packet analysis {"connection_id":153869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:28:49] local.INFO: Extracted packet for processing {"connection_id":153869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:28: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-08-11 22:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335589376001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:28: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-08-11 22:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786467447000,"timestamp_ms":1786467447000,"timestamp_seconds":1786467447,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c1f0d8"} 
[2026-08-11 22:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:28:49] 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-08-11 22:28: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:28:49] 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-08-11 22:28: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-08-11 22:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335589376001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335589376001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:28:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335589376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":153869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:28:49] local.INFO: GPS data processed {"connection_id":153869,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:28:49] local.INFO: Acknowledgment sent {"connection_id":153869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:28:53] local.INFO: TCP Data received {"connection_id":153869,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:28:53] local.INFO: Processing buffer {"connection_id":153869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:28:53] local.INFO: Packet analysis {"connection_id":153869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:28:53] local.INFO: Extracted packet for processing {"connection_id":153869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:28:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335589376001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 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-08-11 22:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786467447000,"timestamp_ms":1786467447000,"timestamp_seconds":1786467447,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c1f0d8"} 
[2026-08-11 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-08-11 22:28: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-08-11 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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22: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-08-11 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-08-11 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-08-11 22:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":153869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":153869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":153869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335589376001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335589376001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:28:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:28:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335589376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":153869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:28:53] local.INFO: GPS data processed {"connection_id":153869,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:28:53] local.INFO: Acknowledgment sent {"connection_id":153869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:29:00] local.INFO: TCP Data received {"connection_id":152944,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:29:00] local.INFO: Processing buffer {"connection_id":152944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:29:00] local.INFO: Packet analysis {"connection_id":152944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:29:00] local.INFO: Extracted packet for processing {"connection_id":152944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:29:00] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:29: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-08-11 22:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335572224001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786467380000,"timestamp_ms":1786467380000,"timestamp_seconds":1786467380,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c0eb20"} 
[2026-08-11 22:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:29: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":238,"data_length":795,"current_offset":136} 
[2026-08-11 22:29:00] 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-08-11 22:29: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-08-11 22:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335572224001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335572224001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:29:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:29:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335572224001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":152944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:29:00] local.INFO: GPS data processed {"connection_id":152944,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:29:00] local.INFO: Acknowledgment sent {"connection_id":152944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:29:19] local.INFO: TCP Data received {"connection_id":152535,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:29:19] local.INFO: Processing buffer {"connection_id":152535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:29:19] local.INFO: IMEI packet received {"connection_id":152535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":152535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:29:23] local.INFO: TCP Data received {"connection_id":152535,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:29:23] local.INFO: Processing buffer {"connection_id":152535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:29:23] local.INFO: IMEI packet received {"connection_id":152535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":152535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:29:24] local.INFO: TCP Data received {"connection_id":152535,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:29:24] local.INFO: Processing buffer {"connection_id":152535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:29:24] local.INFO: Packet analysis {"connection_id":152535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:29:24] local.INFO: Extracted packet for processing {"connection_id":152535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:29:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335572224001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786467380000,"timestamp_ms":1786467380000,"timestamp_seconds":1786467380,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c0eb20"} 
[2026-08-11 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-08-11 22:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 22:29:24] 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-08-11 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-08-11 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-08-11 22:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335572224001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335572224001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:29:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:29:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335572224001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":152535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:29:24] local.INFO: GPS data processed {"connection_id":152535,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:29:24] local.INFO: Acknowledgment sent {"connection_id":152535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:29:29] local.INFO: TCP Data received {"connection_id":152535,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:29:29] local.INFO: Processing buffer {"connection_id":152535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:29:29] local.INFO: Packet analysis {"connection_id":152535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:29:29] local.INFO: Extracted packet for processing {"connection_id":152535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:29:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:29: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-08-11 22:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335572224001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786467380000,"timestamp_ms":1786467380000,"timestamp_seconds":1786467380,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c0eb20"} 
[2026-08-11 22:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:29: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":238,"data_length":795,"current_offset":136} 
[2026-08-11 22:29:29] 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-08-11 22:29: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-08-11 22:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335572224001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335572224001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:29:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:29:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335572224001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":152535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:29:29] local.INFO: GPS data processed {"connection_id":152535,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:29:29] local.INFO: Acknowledgment sent {"connection_id":152535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:29:38] local.INFO: TCP Data received {"connection_id":152945,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:29:38] local.INFO: Processing buffer {"connection_id":152945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:29:38] local.INFO: IMEI packet received {"connection_id":152945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":152945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:29:43] local.INFO: TCP Data received {"connection_id":152945,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:29:43] local.INFO: Processing buffer {"connection_id":152945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:29:43] local.INFO: IMEI packet received {"connection_id":152945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":152945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:29:44] local.INFO: TCP Data received {"connection_id":152945,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:29:44] local.INFO: Processing buffer {"connection_id":152945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:29:44] local.INFO: Packet analysis {"connection_id":152945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:29:44] local.INFO: Extracted packet for processing {"connection_id":152945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:29:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:29: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-08-11 22:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335589376001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786467447000,"timestamp_ms":1786467447000,"timestamp_seconds":1786467447,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c1f0d8"} 
[2026-08-11 22:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:29: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-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:29:44] 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-08-11 22: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-08-11 22:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335589376001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335589376001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:29:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:29:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335589376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":152945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:29:44] local.INFO: GPS data processed {"connection_id":152945,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:29:44] local.INFO: Acknowledgment sent {"connection_id":152945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:30:00] local.INFO: TCP Data received {"connection_id":152535,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:30:00] local.INFO: Processing buffer {"connection_id":152535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:30:00] local.INFO: Packet analysis {"connection_id":152535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:30:00] local.INFO: Extracted packet for processing {"connection_id":152535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:30:00] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335572224001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786467380000,"timestamp_ms":1786467380000,"timestamp_seconds":1786467380,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c0eb20"} 
[2026-08-11 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-08-11 22:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 22:30:00] 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-08-11 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-08-11 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-08-11 22:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335572224001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335572224001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:30:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:30:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335572224001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":152535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:30:01] local.INFO: GPS data processed {"connection_id":152535,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:30:01] local.INFO: Acknowledgment sent {"connection_id":152535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:30:15] local.INFO: TCP Data received {"connection_id":152945,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:30:15] local.INFO: Processing buffer {"connection_id":152945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:30:15] local.INFO: Packet analysis {"connection_id":152945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:30:15] local.INFO: Extracted packet for processing {"connection_id":152945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335589376001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786467447000,"timestamp_ms":1786467447000,"timestamp_seconds":1786467447,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c1f0d8"} 
[2026-08-11 22:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:30:15] 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-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:30:15] 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-08-11 22: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-08-11 22:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335589376001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335589376001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:30:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335589376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":152945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:30:15] local.INFO: GPS data processed {"connection_id":152945,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:30:15] local.INFO: Acknowledgment sent {"connection_id":152945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:30:19] local.INFO: TCP Data received {"connection_id":153870,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:30:19] local.INFO: Processing buffer {"connection_id":153870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:30:19] local.INFO: IMEI packet received {"connection_id":153870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":153870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:30:24] local.INFO: TCP Data received {"connection_id":153870,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:30:24] local.INFO: Processing buffer {"connection_id":153870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:30:24] local.INFO: IMEI packet received {"connection_id":153870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":153870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:30:25] local.INFO: TCP Data received {"connection_id":153870,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:30:25] local.INFO: Processing buffer {"connection_id":153870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:30:25] local.INFO: Packet analysis {"connection_id":153870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:30:25] local.INFO: Extracted packet for processing {"connection_id":153870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:30:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:30: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-08-11 22:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335572224001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786467380000,"timestamp_ms":1786467380000,"timestamp_seconds":1786467380,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c0eb20"} 
[2026-08-11 22:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:30: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":238,"data_length":795,"current_offset":136} 
[2026-08-11 22:30:25] 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-08-11 22:30: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-08-11 22:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335572224001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335572224001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:30:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:30:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335572224001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":153870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:30:25] local.INFO: GPS data processed {"connection_id":153870,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:30:25] local.INFO: Acknowledgment sent {"connection_id":153870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:30:38] local.INFO: TCP Data received {"connection_id":152946,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:30:38] local.INFO: Processing buffer {"connection_id":152946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:30:38] local.INFO: IMEI packet received {"connection_id":152946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":152946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:30:43] local.INFO: TCP Data received {"connection_id":152946,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:30:43] local.INFO: Processing buffer {"connection_id":152946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:30:43] local.INFO: IMEI packet received {"connection_id":152946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":152946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:30:44] local.INFO: TCP Data received {"connection_id":152946,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:30:44] local.INFO: Processing buffer {"connection_id":152946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:30:44] local.INFO: Packet analysis {"connection_id":152946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:30:44] local.INFO: Extracted packet for processing {"connection_id":152946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:30:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335589376001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786467447000,"timestamp_ms":1786467447000,"timestamp_seconds":1786467447,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c1f0d8"} 
[2026-08-11 22:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:30: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-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:30:44] 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-08-11 22: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-08-11 22:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335589376001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335589376001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:30:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:30:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335589376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":152946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:30:44] local.INFO: GPS data processed {"connection_id":152946,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:30:44] local.INFO: Acknowledgment sent {"connection_id":152946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:30:55] local.INFO: TCP Data received {"connection_id":153870,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:30:55] local.INFO: Processing buffer {"connection_id":153870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:30:55] local.INFO: Packet analysis {"connection_id":153870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:30:55] local.INFO: Extracted packet for processing {"connection_id":153870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:30:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335572224001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786467380000,"timestamp_ms":1786467380000,"timestamp_seconds":1786467380,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c0eb20"} 
[2026-08-11 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-08-11 22:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 22:30:55] 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-08-11 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-08-11 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-08-11 22:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335572224001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335572224001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:30:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:30:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335572224001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":153870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:30:56] local.INFO: GPS data processed {"connection_id":153870,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:30:56] local.INFO: Acknowledgment sent {"connection_id":153870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:31:15] local.INFO: TCP Data received {"connection_id":152946,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:31:15] local.INFO: Processing buffer {"connection_id":152946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:31:15] local.INFO: Packet analysis {"connection_id":152946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:31:15] local.INFO: Extracted packet for processing {"connection_id":152946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335589376001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786467447000,"timestamp_ms":1786467447000,"timestamp_seconds":1786467447,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c1f0d8"} 
[2026-08-11 22:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:31:15] 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-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:31:15] 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-08-11 22: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-08-11 22:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335589376001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335589376001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:31:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335589376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":152946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:31:15] local.INFO: GPS data processed {"connection_id":152946,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:31:15] local.INFO: Acknowledgment sent {"connection_id":152946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:31:18] local.INFO: TCP Data received {"connection_id":152947,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:31:18] local.INFO: Processing buffer {"connection_id":152947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:31:18] local.INFO: IMEI packet received {"connection_id":152947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":152947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:31:24] local.INFO: TCP Data received {"connection_id":152947,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:31:24] local.INFO: Processing buffer {"connection_id":152947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:31:24] local.INFO: IMEI packet received {"connection_id":152947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":152947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:31:24] local.INFO: TCP Data received {"connection_id":152947,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:31:24] local.INFO: Processing buffer {"connection_id":152947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:31:24] local.INFO: Packet analysis {"connection_id":152947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:31:24] local.INFO: Extracted packet for processing {"connection_id":152947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:31:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335572224001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786467380000,"timestamp_ms":1786467380000,"timestamp_seconds":1786467380,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c0eb20"} 
[2026-08-11 22:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 22:31:24] 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-08-11 22: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-08-11 22:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335572224001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335572224001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:31:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:31:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335572224001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":152947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:31:24] local.INFO: GPS data processed {"connection_id":152947,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:31:24] local.INFO: Acknowledgment sent {"connection_id":152947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:31:38] local.INFO: TCP Data received {"connection_id":155252,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:31:38] local.INFO: Processing buffer {"connection_id":155252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:31:38] local.INFO: IMEI packet received {"connection_id":155252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":155252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:31:43] local.INFO: TCP Data received {"connection_id":155252,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:31:43] local.INFO: Processing buffer {"connection_id":155252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:31:43] local.INFO: IMEI packet received {"connection_id":155252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":155252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:31:44] local.INFO: TCP Data received {"connection_id":155252,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:31:44] local.INFO: Processing buffer {"connection_id":155252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:31:44] local.INFO: Packet analysis {"connection_id":155252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:31:44] local.INFO: Extracted packet for processing {"connection_id":155252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:31:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335589376001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786467447000,"timestamp_ms":1786467447000,"timestamp_seconds":1786467447,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c1f0d8"} 
[2026-08-11 22:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:31: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-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:31:44] 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-08-11 22: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-08-11 22:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335589376001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335589376001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:31:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:31:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335589376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":155252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:31:44] local.INFO: GPS data processed {"connection_id":155252,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:31:44] local.INFO: Acknowledgment sent {"connection_id":155252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:31:55] local.INFO: TCP Data received {"connection_id":152947,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:31:55] local.INFO: Processing buffer {"connection_id":152947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c0eb20012d77ab8005f2a748001300fd2b..."} 
[2026-08-11 22:31:55] local.INFO: Packet analysis {"connection_id":152947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:31:55] local.INFO: Extracted packet for processing {"connection_id":152947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c0"} 
[2026-08-11 22:31:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335572224001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786467380000,"timestamp_ms":1786467380000,"timestamp_seconds":1786467380,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c0eb20"} 
[2026-08-11 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-08-11 22:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-11 22:31:55] 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-08-11 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-08-11 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-08-11 22:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335572224001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335572224001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:31:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:31:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335572224001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":152947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:31:55] local.INFO: GPS data processed {"connection_id":152947,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:31:55] local.INFO: Acknowledgment sent {"connection_id":152947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:32:15] local.INFO: TCP Data received {"connection_id":155252,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:32:15] local.INFO: Processing buffer {"connection_id":155252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:32:15] local.INFO: Packet analysis {"connection_id":155252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:32:15] local.INFO: Extracted packet for processing {"connection_id":155252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335589376001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786467447000,"timestamp_ms":1786467447000,"timestamp_seconds":1786467447,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c1f0d8"} 
[2026-08-11 22:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:32:15] 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-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:32:15] 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-08-11 22: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-08-11 22:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335589376001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335589376001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:32:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335589376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":155252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:32:15] local.INFO: GPS data processed {"connection_id":155252,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:32:15] local.INFO: Acknowledgment sent {"connection_id":155252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:32:18] local.INFO: TCP Data received {"connection_id":153871,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:32:18] local.INFO: Processing buffer {"connection_id":153871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:32:18] local.INFO: IMEI packet received {"connection_id":153871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":153871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:32:23] local.INFO: TCP Data received {"connection_id":153871,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:32:23] local.INFO: Processing buffer {"connection_id":153871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:32:23] local.INFO: IMEI packet received {"connection_id":153871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":153871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:32:24] local.INFO: TCP Data received {"connection_id":153871,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:32:24] local.INFO: Processing buffer {"connection_id":153871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:32:24] local.INFO: Packet analysis {"connection_id":153871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:32:24] local.INFO: Extracted packet for processing {"connection_id":153871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:32:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335649280001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786467681000,"timestamp_ms":1786467681000,"timestamp_seconds":1786467681,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c582e8"} 
[2026-08-11 22:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:32: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-08-11 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:32:24] 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-08-11 22: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-08-11 22:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335649280001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335649280001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:32:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:32:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335649280001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":153871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:32:24] local.INFO: GPS data processed {"connection_id":153871,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:32:24] local.INFO: Acknowledgment sent {"connection_id":153871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:32:37] local.INFO: TCP Data received {"connection_id":152948,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:32:37] local.INFO: Processing buffer {"connection_id":152948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:32:37] local.INFO: IMEI packet received {"connection_id":152948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":152948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:32:43] local.INFO: TCP Data received {"connection_id":152948,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:32:43] local.INFO: Processing buffer {"connection_id":152948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:32:43] local.INFO: IMEI packet received {"connection_id":152948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":152948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:32:44] local.INFO: TCP Data received {"connection_id":152948,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:32:44] local.INFO: Processing buffer {"connection_id":152948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c1f0d8012d196a00071fef68003b01182a..."} 
[2026-08-11 22:32:44] local.INFO: Packet analysis {"connection_id":152948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:32:44] local.INFO: Extracted packet for processing {"connection_id":152948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c1"} 
[2026-08-11 22:32:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335589376001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786467447000,"timestamp_ms":1786467447000,"timestamp_seconds":1786467447,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c1f0d8"} 
[2026-08-11 22:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:32: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-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:32:44] 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-08-11 22: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-08-11 22:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335589376001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335589376001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:32:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:32:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335589376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":152948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:32:44] local.INFO: GPS data processed {"connection_id":152948,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:32:44] local.INFO: Acknowledgment sent {"connection_id":152948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:32:55] local.INFO: TCP Data received {"connection_id":153871,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:32:55] local.INFO: Processing buffer {"connection_id":153871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:32:55] local.INFO: Packet analysis {"connection_id":153871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:32:55] local.INFO: Extracted packet for processing {"connection_id":153871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:32:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335649280001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786467681000,"timestamp_ms":1786467681000,"timestamp_seconds":1786467681,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c582e8"} 
[2026-08-11 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-08-11 22:32:55] 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-08-11 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:32: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-08-11 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-08-11 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-08-11 22:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335649280001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335649280001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:32:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:32:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335649280001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":153871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:32:55] local.INFO: GPS data processed {"connection_id":153871,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:32:55] local.INFO: Acknowledgment sent {"connection_id":153871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:33:15] local.INFO: TCP Data received {"connection_id":152948,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:33:15] local.INFO: Processing buffer {"connection_id":152948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:33:15] local.INFO: Packet analysis {"connection_id":152948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:33:15] local.INFO: Extracted packet for processing {"connection_id":152948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335666432001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786467748000,"timestamp_ms":1786467748000,"timestamp_seconds":1786467748,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c688a0"} 
[2026-08-11 22:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:33:15] 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-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:33:15] 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-08-11 22: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-08-11 22:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335666432001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335666432001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:33:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335666432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":152948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:33:15] local.INFO: GPS data processed {"connection_id":152948,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:33:15] local.INFO: Acknowledgment sent {"connection_id":152948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:33:18] local.INFO: TCP Data received {"connection_id":153872,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:33:18] local.INFO: Processing buffer {"connection_id":153872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:33:18] local.INFO: IMEI packet received {"connection_id":153872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":153872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:33:23] local.INFO: TCP Data received {"connection_id":153872,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:33:23] local.INFO: Processing buffer {"connection_id":153872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:33:23] local.INFO: IMEI packet received {"connection_id":153872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":153872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:33:24] local.INFO: TCP Data received {"connection_id":153872,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:33:24] local.INFO: Processing buffer {"connection_id":153872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:33:24] local.INFO: Packet analysis {"connection_id":153872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:33:24] local.INFO: Extracted packet for processing {"connection_id":153872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:33:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335649280001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786467681000,"timestamp_ms":1786467681000,"timestamp_seconds":1786467681,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c582e8"} 
[2026-08-11 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-08-11 22:33: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-08-11 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:33:24] 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-08-11 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-08-11 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-08-11 22:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335649280001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335649280001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:33:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:33:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335649280001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":153872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:33:24] local.INFO: GPS data processed {"connection_id":153872,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:33:24] local.INFO: Acknowledgment sent {"connection_id":153872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:33:38] local.INFO: TCP Data received {"connection_id":152536,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:33:38] local.INFO: Processing buffer {"connection_id":152536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:33:38] local.INFO: IMEI packet received {"connection_id":152536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":152536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:33:43] local.INFO: TCP Data received {"connection_id":152536,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:33:43] local.INFO: Processing buffer {"connection_id":152536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:33:43] local.INFO: IMEI packet received {"connection_id":152536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":152536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:33:44] local.INFO: TCP Data received {"connection_id":152536,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:33:44] local.INFO: Processing buffer {"connection_id":152536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:33:44] local.INFO: Packet analysis {"connection_id":152536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:33:44] local.INFO: Extracted packet for processing {"connection_id":152536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:33:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:33: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-08-11 22:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335666432001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786467748000,"timestamp_ms":1786467748000,"timestamp_seconds":1786467748,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c688a0"} 
[2026-08-11 22:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:33: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-08-11 22:33: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:33:44] 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-08-11 22:33: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-08-11 22:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335666432001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335666432001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:33:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:33:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335666432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":152536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:33:44] local.INFO: GPS data processed {"connection_id":152536,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:33:44] local.INFO: Acknowledgment sent {"connection_id":152536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:33:56] local.INFO: TCP Data received {"connection_id":153872,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:33:56] local.INFO: Processing buffer {"connection_id":153872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:33:56] local.INFO: Packet analysis {"connection_id":153872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:33:56] local.INFO: Extracted packet for processing {"connection_id":153872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:33:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335649280001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786467681000,"timestamp_ms":1786467681000,"timestamp_seconds":1786467681,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c582e8"} 
[2026-08-11 22:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:33:56] 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-08-11 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:33: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-08-11 22: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-08-11 22:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335649280001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335649280001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:33:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:33:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335649280001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":153872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:33:56] local.INFO: GPS data processed {"connection_id":153872,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:33:56] local.INFO: Acknowledgment sent {"connection_id":153872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:34:15] local.INFO: TCP Data received {"connection_id":152536,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:34:15] local.INFO: Processing buffer {"connection_id":152536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:34:15] local.INFO: Packet analysis {"connection_id":152536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:34:15] local.INFO: Extracted packet for processing {"connection_id":152536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:34: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-08-11 22:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335666432001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786467748000,"timestamp_ms":1786467748000,"timestamp_seconds":1786467748,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c688a0"} 
[2026-08-11 22:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:34:15] 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-08-11 22:34: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:34:15] 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-08-11 22:34: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-08-11 22:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335666432001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335666432001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:34:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335666432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":152536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:34:15] local.INFO: GPS data processed {"connection_id":152536,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:34:15] local.INFO: Acknowledgment sent {"connection_id":152536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:34:23] local.INFO: TCP Data received {"connection_id":152949,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:34:23] local.INFO: Processing buffer {"connection_id":152949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:34:23] local.INFO: IMEI packet received {"connection_id":152949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":152949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:34:28] local.INFO: TCP Data received {"connection_id":152949,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:34:28] local.INFO: Processing buffer {"connection_id":152949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:34:28] local.INFO: IMEI packet received {"connection_id":152949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":152949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:34:29] local.INFO: TCP Data received {"connection_id":152949,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:34:29] local.INFO: Processing buffer {"connection_id":152949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:34:29] local.INFO: Packet analysis {"connection_id":152949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:34:29] local.INFO: Extracted packet for processing {"connection_id":152949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:34:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:34: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-08-11 22:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335649280001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786467681000,"timestamp_ms":1786467681000,"timestamp_seconds":1786467681,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c582e8"} 
[2026-08-11 22:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:34:29] 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-08-11 22:34: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":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:34:29] 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-08-11 22:34: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-08-11 22:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335649280001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335649280001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:34:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:34:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335649280001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":152949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:34:29] local.INFO: GPS data processed {"connection_id":152949,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:34:29] local.INFO: Acknowledgment sent {"connection_id":152949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:34:36] local.INFO: TCP Data received {"connection_id":152949,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:34:36] local.INFO: Processing buffer {"connection_id":152949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:34:36] local.INFO: Packet analysis {"connection_id":152949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:34:36] local.INFO: Extracted packet for processing {"connection_id":152949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:34:36] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335649280001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786467681000,"timestamp_ms":1786467681000,"timestamp_seconds":1786467681,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c582e8"} 
[2026-08-11 22:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:34:36] 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-08-11 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:34:36] 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-08-11 22: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-08-11 22:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335649280001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335649280001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:34:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:34:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335649280001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":152949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:34:36] local.INFO: GPS data processed {"connection_id":152949,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:34:36] local.INFO: Acknowledgment sent {"connection_id":152949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:34:38] local.INFO: TCP Data received {"connection_id":152950,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:34:38] local.INFO: Processing buffer {"connection_id":152950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:34:38] local.INFO: IMEI packet received {"connection_id":152950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":152950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:34:43] local.INFO: TCP Data received {"connection_id":152950,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:34:43] local.INFO: Processing buffer {"connection_id":152950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:34:43] local.INFO: IMEI packet received {"connection_id":152950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":152950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:34:44] local.INFO: TCP Data received {"connection_id":152950,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:34:44] local.INFO: Processing buffer {"connection_id":152950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:34:44] local.INFO: Packet analysis {"connection_id":152950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:34:44] local.INFO: Extracted packet for processing {"connection_id":152950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:34:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335666432001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786467748000,"timestamp_ms":1786467748000,"timestamp_seconds":1786467748,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c688a0"} 
[2026-08-11 22:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:34: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-08-11 22: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:34:44] 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-08-11 22: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-08-11 22:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335666432001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335666432001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:34:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:34:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335666432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":152950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:34:44] local.INFO: GPS data processed {"connection_id":152950,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:34:44] local.INFO: Acknowledgment sent {"connection_id":152950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:35:15] local.INFO: TCP Data received {"connection_id":152950,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:35:15] local.INFO: Processing buffer {"connection_id":152950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:35:15] local.INFO: Packet analysis {"connection_id":152950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:35:15] local.INFO: Extracted packet for processing {"connection_id":152950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335666432001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786467748000,"timestamp_ms":1786467748000,"timestamp_seconds":1786467748,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c688a0"} 
[2026-08-11 22:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:35:15] 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-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:35:15] 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-08-11 22: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-08-11 22:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335666432001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335666432001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:35:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335666432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":152950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:35:15] local.INFO: GPS data processed {"connection_id":152950,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:35:15] local.INFO: Acknowledgment sent {"connection_id":152950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:35:19] local.INFO: TCP Data received {"connection_id":152537,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:35:19] local.INFO: Processing buffer {"connection_id":152537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:35:19] local.INFO: IMEI packet received {"connection_id":152537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":152537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:35:23] local.INFO: TCP Data received {"connection_id":152537,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:35:23] local.INFO: Processing buffer {"connection_id":152537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:35:23] local.INFO: IMEI packet received {"connection_id":152537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":152537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:35:24] local.INFO: TCP Data received {"connection_id":152537,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:35:24] local.INFO: Processing buffer {"connection_id":152537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:35:24] local.INFO: Packet analysis {"connection_id":152537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:35:24] local.INFO: Extracted packet for processing {"connection_id":152537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:35:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335649280001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786467681000,"timestamp_ms":1786467681000,"timestamp_seconds":1786467681,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c582e8"} 
[2026-08-11 22:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:35: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-08-11 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:35:24] 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-08-11 22: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-08-11 22:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335649280001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335649280001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:35:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:35:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335649280001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":152537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:35:24] local.INFO: GPS data processed {"connection_id":152537,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:35:24] local.INFO: Acknowledgment sent {"connection_id":152537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:35:38] local.INFO: TCP Data received {"connection_id":152951,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:35:38] local.INFO: Processing buffer {"connection_id":152951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:35:38] local.INFO: IMEI packet received {"connection_id":152951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":152951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:35:43] local.INFO: TCP Data received {"connection_id":152951,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:35:43] local.INFO: Processing buffer {"connection_id":152951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:35:43] local.INFO: IMEI packet received {"connection_id":152951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":152951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:35:44] local.INFO: TCP Data received {"connection_id":152951,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:35:44] local.INFO: Processing buffer {"connection_id":152951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:35:44] local.INFO: Packet analysis {"connection_id":152951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:35:44] local.INFO: Extracted packet for processing {"connection_id":152951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:35:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:35: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-08-11 22:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335666432001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786467748000,"timestamp_ms":1786467748000,"timestamp_seconds":1786467748,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c688a0"} 
[2026-08-11 22:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:35: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-08-11 22:35: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:35:44] 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-08-11 22:35: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-08-11 22:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335666432001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335666432001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:35:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:35:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335666432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":152951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:35:44] local.INFO: GPS data processed {"connection_id":152951,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:35:44] local.INFO: Acknowledgment sent {"connection_id":152951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:35:56] local.INFO: TCP Data received {"connection_id":152537,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:35:56] local.INFO: Processing buffer {"connection_id":152537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:35:56] local.INFO: Packet analysis {"connection_id":152537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:35:56] local.INFO: Extracted packet for processing {"connection_id":152537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:35:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:35: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-08-11 22:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335649280001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786467681000,"timestamp_ms":1786467681000,"timestamp_seconds":1786467681,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c582e8"} 
[2026-08-11 22:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:35:56] 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-08-11 22:35: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-08-11 22:35: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-08-11 22:35: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-08-11 22:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335649280001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335649280001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:35:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:35:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335649280001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":152537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:35:56] local.INFO: GPS data processed {"connection_id":152537,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:35:56] local.INFO: Acknowledgment sent {"connection_id":152537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:36:15] local.INFO: TCP Data received {"connection_id":152951,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:36:15] local.INFO: Processing buffer {"connection_id":152951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:36:15] local.INFO: Packet analysis {"connection_id":152951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:36:15] local.INFO: Extracted packet for processing {"connection_id":152951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335666432001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786467748000,"timestamp_ms":1786467748000,"timestamp_seconds":1786467748,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c688a0"} 
[2026-08-11 22:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:36:15] 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-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:36:15] 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-08-11 22: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-08-11 22:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335666432001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335666432001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:36:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335666432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":152951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:36:15] local.INFO: GPS data processed {"connection_id":152951,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:36:15] local.INFO: Acknowledgment sent {"connection_id":152951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:36:18] local.INFO: TCP Data received {"connection_id":155253,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:36:18] local.INFO: Processing buffer {"connection_id":155253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:36:18] local.INFO: IMEI packet received {"connection_id":155253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":155253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:36:23] local.INFO: TCP Data received {"connection_id":155253,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:36:23] local.INFO: Processing buffer {"connection_id":155253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:36:23] local.INFO: IMEI packet received {"connection_id":155253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":155253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:36:24] local.INFO: TCP Data received {"connection_id":155253,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:36:24] local.INFO: Processing buffer {"connection_id":155253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:36:24] local.INFO: Packet analysis {"connection_id":155253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:36:24] local.INFO: Extracted packet for processing {"connection_id":155253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:36:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335649280001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786467681000,"timestamp_ms":1786467681000,"timestamp_seconds":1786467681,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c582e8"} 
[2026-08-11 22:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:36: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-08-11 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:36:24] 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-08-11 22: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-08-11 22:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335649280001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335649280001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:36:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:36:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335649280001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":155253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:36:24] local.INFO: GPS data processed {"connection_id":155253,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:36:24] local.INFO: Acknowledgment sent {"connection_id":155253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:36:37] local.INFO: TCP Data received {"connection_id":152538,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:36:37] local.INFO: Processing buffer {"connection_id":152538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:36:37] local.INFO: IMEI packet received {"connection_id":152538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":152538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:36:43] local.INFO: TCP Data received {"connection_id":152538,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:36:43] local.INFO: Processing buffer {"connection_id":152538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:36:43] local.INFO: IMEI packet received {"connection_id":152538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":152538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:36:44] local.INFO: TCP Data received {"connection_id":152538,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:36:44] local.INFO: Processing buffer {"connection_id":152538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:36:44] local.INFO: Packet analysis {"connection_id":152538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:36:44] local.INFO: Extracted packet for processing {"connection_id":152538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:36:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:36: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-08-11 22:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335666432001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786467748000,"timestamp_ms":1786467748000,"timestamp_seconds":1786467748,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c688a0"} 
[2026-08-11 22:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:36: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-08-11 22:36: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:36:44] 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-08-11 22:36: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-08-11 22:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335666432001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335666432001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:36:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:36:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335666432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":152538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:36:44] local.INFO: GPS data processed {"connection_id":152538,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:36:44] local.INFO: Acknowledgment sent {"connection_id":152538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:36:55] local.INFO: TCP Data received {"connection_id":155253,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:36:55] local.INFO: Processing buffer {"connection_id":155253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c582e8012d77ab8005f2a748001300fd28..."} 
[2026-08-11 22:36:55] local.INFO: Packet analysis {"connection_id":155253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:36:55] local.INFO: Extracted packet for processing {"connection_id":155253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c5"} 
[2026-08-11 22:36:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335649280001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786467681000,"timestamp_ms":1786467681000,"timestamp_seconds":1786467681,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c582e8"} 
[2026-08-11 22:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:36:55] 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-08-11 22: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":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:36: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-08-11 22: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-08-11 22:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335649280001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335649280001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:36:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:36:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335649280001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":155253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:36:55] local.INFO: GPS data processed {"connection_id":155253,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:36:55] local.INFO: Acknowledgment sent {"connection_id":155253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:37:15] local.INFO: TCP Data received {"connection_id":152538,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:37:15] local.INFO: Processing buffer {"connection_id":152538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:37:15] local.INFO: Packet analysis {"connection_id":152538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:37:15] local.INFO: Extracted packet for processing {"connection_id":152538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335666432001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786467748000,"timestamp_ms":1786467748000,"timestamp_seconds":1786467748,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c688a0"} 
[2026-08-11 22:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:37:15] 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-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:37:15] 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-08-11 22: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-08-11 22:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335666432001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335666432001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:37:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335666432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":152538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:37:15] local.INFO: GPS data processed {"connection_id":152538,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:37:15] local.INFO: Acknowledgment sent {"connection_id":152538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:37:18] local.INFO: TCP Data received {"connection_id":152952,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:37:18] local.INFO: Processing buffer {"connection_id":152952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:37:18] local.INFO: IMEI packet received {"connection_id":152952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":152952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:37:23] local.INFO: TCP Data received {"connection_id":152952,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:37:23] local.INFO: Processing buffer {"connection_id":152952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:37:23] local.INFO: IMEI packet received {"connection_id":152952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":152952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:37:30] local.INFO: TCP Data received {"connection_id":152952,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:37:30] local.INFO: Processing buffer {"connection_id":152952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:37:30] local.INFO: Packet analysis {"connection_id":152952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:37:30] local.INFO: Extracted packet for processing {"connection_id":152952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:37:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335726336001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786467982000,"timestamp_ms":1786467982000,"timestamp_seconds":1786467982,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ca1ab0"} 
[2026-08-11 22:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:37: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-08-11 22: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-08-11 22:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":152952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":152952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":152952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335726336001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335726336001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:37:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:37:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335726336001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":152952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:37:30] local.INFO: GPS data processed {"connection_id":152952,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:37:30] local.INFO: Acknowledgment sent {"connection_id":152952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:37:37] local.INFO: TCP Data received {"connection_id":152539,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:37:37] local.INFO: Processing buffer {"connection_id":152539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:37:37] local.INFO: IMEI packet received {"connection_id":152539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":152539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:37:43] local.INFO: TCP Data received {"connection_id":152539,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:37:43] local.INFO: Processing buffer {"connection_id":152539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:37:43] local.INFO: IMEI packet received {"connection_id":152539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":152539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:37:44] local.INFO: TCP Data received {"connection_id":152539,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:37:44] local.INFO: Processing buffer {"connection_id":152539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1c688a0012d196a00071fef68003b011825..."} 
[2026-08-11 22:37:44] local.INFO: Packet analysis {"connection_id":152539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:37:44] local.INFO: Extracted packet for processing {"connection_id":152539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1c6"} 
[2026-08-11 22:37:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335666432001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786467748000,"timestamp_ms":1786467748000,"timestamp_seconds":1786467748,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1c688a0"} 
[2026-08-11 22:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:37: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-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:37:44] 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-08-11 22: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-08-11 22:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:37:44] 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-08-11 22:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335666432001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335666432001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:37:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:37:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335666432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":152539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:37:44] local.INFO: GPS data processed {"connection_id":152539,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:37:44] local.INFO: Acknowledgment sent {"connection_id":152539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:38:01] local.INFO: TCP Data received {"connection_id":152952,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:38:01] local.INFO: Processing buffer {"connection_id":152952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:38:01] local.INFO: Packet analysis {"connection_id":152952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:38:01] local.INFO: Extracted packet for processing {"connection_id":152952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:38:01] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335726336001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786467982000,"timestamp_ms":1786467982000,"timestamp_seconds":1786467982,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ca1ab0"} 
[2026-08-11 22:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22: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-08-11 22: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-08-11 22:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335726336001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335726336001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:38:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:38:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335726336001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":152952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:38:01] local.INFO: GPS data processed {"connection_id":152952,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:38:01] local.INFO: Acknowledgment sent {"connection_id":152952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:38:15] local.INFO: TCP Data received {"connection_id":152539,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:38:15] local.INFO: Processing buffer {"connection_id":152539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:38:15] local.INFO: Packet analysis {"connection_id":152539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:38:15] local.INFO: Extracted packet for processing {"connection_id":152539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:38: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-08-11 22:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335743488001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786468049000,"timestamp_ms":1786468049000,"timestamp_seconds":1786468049,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cb2068"} 
[2026-08-11 22:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:38: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:38:15] 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-08-11 22:38: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-08-11 22:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:38:15] 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-08-11 22:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335743488001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335743488001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:38:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335743488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":152539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:38:15] local.INFO: GPS data processed {"connection_id":152539,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:38:15] local.INFO: Acknowledgment sent {"connection_id":152539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:38:23] local.INFO: TCP Data received {"connection_id":153873,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:38:23] local.INFO: Processing buffer {"connection_id":153873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:38:23] local.INFO: IMEI packet received {"connection_id":153873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":153873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:38:28] local.INFO: TCP Data received {"connection_id":153873,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:38:28] local.INFO: Processing buffer {"connection_id":153873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:38:28] local.INFO: IMEI packet received {"connection_id":153873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":153873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:38:29] local.INFO: TCP Data received {"connection_id":153873,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:38:29] local.INFO: Processing buffer {"connection_id":153873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:38:29] local.INFO: Packet analysis {"connection_id":153873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:38:29] local.INFO: Extracted packet for processing {"connection_id":153873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:38:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335726336001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786467982000,"timestamp_ms":1786467982000,"timestamp_seconds":1786467982,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ca1ab0"} 
[2026-08-11 22:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:38:29] 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-08-11 22: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-08-11 22:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335726336001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335726336001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:38:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:38:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335726336001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":153873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:38:29] local.INFO: GPS data processed {"connection_id":153873,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:38:29] local.INFO: Acknowledgment sent {"connection_id":153873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:38:34] local.INFO: TCP Data received {"connection_id":153873,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:38:34] local.INFO: Processing buffer {"connection_id":153873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:38:34] local.INFO: Packet analysis {"connection_id":153873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:38:34] local.INFO: Extracted packet for processing {"connection_id":153873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:38:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:38: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-08-11 22:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335726336001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786467982000,"timestamp_ms":1786467982000,"timestamp_seconds":1786467982,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ca1ab0"} 
[2026-08-11 22:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:38: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-08-11 22:38: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-08-11 22:38: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-08-11 22:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335726336001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335726336001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:38:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:38:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335726336001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":153873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:38:34] local.INFO: GPS data processed {"connection_id":153873,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:38:34] local.INFO: Acknowledgment sent {"connection_id":153873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:38:38] local.INFO: TCP Data received {"connection_id":155254,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:38:38] local.INFO: Processing buffer {"connection_id":155254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:38:38] local.INFO: IMEI packet received {"connection_id":155254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":155254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:38:43] local.INFO: TCP Data received {"connection_id":155254,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:38:43] local.INFO: Processing buffer {"connection_id":155254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:38:43] local.INFO: IMEI packet received {"connection_id":155254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":155254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:38:44] local.INFO: TCP Data received {"connection_id":155254,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:38:44] local.INFO: Processing buffer {"connection_id":155254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:38:44] local.INFO: Packet analysis {"connection_id":155254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:38:44] local.INFO: Extracted packet for processing {"connection_id":155254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:38:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:38: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-08-11 22:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335743488001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786468049000,"timestamp_ms":1786468049000,"timestamp_seconds":1786468049,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cb2068"} 
[2026-08-11 22:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:38: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:38:44] 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-08-11 22:38: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-08-11 22:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:38:44] 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-08-11 22:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335743488001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335743488001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:38:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:38:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335743488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":155254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:38:44] local.INFO: GPS data processed {"connection_id":155254,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:38:44] local.INFO: Acknowledgment sent {"connection_id":155254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:39:15] local.INFO: TCP Data received {"connection_id":155254,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:39:15] local.INFO: Processing buffer {"connection_id":155254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:39:15] local.INFO: Packet analysis {"connection_id":155254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:39:15] local.INFO: Extracted packet for processing {"connection_id":155254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335743488001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786468049000,"timestamp_ms":1786468049000,"timestamp_seconds":1786468049,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cb2068"} 
[2026-08-11 22:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:39:15] 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-08-11 22: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-08-11 22:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:39:15] 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-08-11 22:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335743488001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335743488001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:39:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335743488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":155254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:39:15] local.INFO: GPS data processed {"connection_id":155254,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:39:15] local.INFO: Acknowledgment sent {"connection_id":155254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:39:19] local.INFO: TCP Data received {"connection_id":155255,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:39:19] local.INFO: Processing buffer {"connection_id":155255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:39:19] local.INFO: IMEI packet received {"connection_id":155255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":155255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:39:23] local.INFO: TCP Data received {"connection_id":155255,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:39:23] local.INFO: Processing buffer {"connection_id":155255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:39:23] local.INFO: IMEI packet received {"connection_id":155255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":155255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:39:30] local.INFO: TCP Data received {"connection_id":155255,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:39:30] local.INFO: Processing buffer {"connection_id":155255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:39:30] local.INFO: Packet analysis {"connection_id":155255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:39:30] local.INFO: Extracted packet for processing {"connection_id":155255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:39:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:39: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-08-11 22:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335726336001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786467982000,"timestamp_ms":1786467982000,"timestamp_seconds":1786467982,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ca1ab0"} 
[2026-08-11 22:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:39: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-08-11 22:39: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-08-11 22:39: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-08-11 22:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":155255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":155255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":155255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335726336001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335726336001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:39:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:39:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335726336001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":155255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:39:30] local.INFO: GPS data processed {"connection_id":155255,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:39:30] local.INFO: Acknowledgment sent {"connection_id":155255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:39:31] local.INFO: TCP Data received {"connection_id":155255,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:39:31] local.INFO: Processing buffer {"connection_id":155255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:39:31] local.INFO: Packet analysis {"connection_id":155255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:39:31] local.INFO: Extracted packet for processing {"connection_id":155255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:39:31] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:39: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-08-11 22:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335726336001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786467982000,"timestamp_ms":1786467982000,"timestamp_seconds":1786467982,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ca1ab0"} 
[2026-08-11 22:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:39: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":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:39:31] 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-08-11 22:39: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-08-11 22:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":155255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":155255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":155255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335726336001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335726336001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:39:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:39:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335726336001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":155255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:39:31] local.INFO: GPS data processed {"connection_id":155255,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:39:31] local.INFO: Acknowledgment sent {"connection_id":155255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:39:38] local.INFO: TCP Data received {"connection_id":152955,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:39:38] local.INFO: Processing buffer {"connection_id":152955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:39:38] local.INFO: IMEI packet received {"connection_id":152955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":152955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:39:43] local.INFO: TCP Data received {"connection_id":152955,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:39:43] local.INFO: Processing buffer {"connection_id":152955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:39:43] local.INFO: IMEI packet received {"connection_id":152955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":152955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:39:44] local.INFO: TCP Data received {"connection_id":152955,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:39:44] local.INFO: Processing buffer {"connection_id":152955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:39:44] local.INFO: Packet analysis {"connection_id":152955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:39:44] local.INFO: Extracted packet for processing {"connection_id":152955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:39:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:39: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-08-11 22:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335743488001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786468049000,"timestamp_ms":1786468049000,"timestamp_seconds":1786468049,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cb2068"} 
[2026-08-11 22:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:39: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:39:44] 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-08-11 22:39: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-08-11 22:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335743488001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335743488001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:39:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:39:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335743488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":152955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:39:44] local.INFO: GPS data processed {"connection_id":152955,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:39:44] local.INFO: Acknowledgment sent {"connection_id":152955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:40:01] local.INFO: TCP Data received {"connection_id":155255,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:40:01] local.INFO: Processing buffer {"connection_id":155255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:40:01] local.INFO: Packet analysis {"connection_id":155255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:40:01] local.INFO: Extracted packet for processing {"connection_id":155255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:40:01] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335726336001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786467982000,"timestamp_ms":1786467982000,"timestamp_seconds":1786467982,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ca1ab0"} 
[2026-08-11 22:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:40: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-08-11 22: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-08-11 22:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":155255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":155255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":155255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335726336001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335726336001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:40:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:40:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335726336001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":155255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:40:02] local.INFO: GPS data processed {"connection_id":155255,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:40:02] local.INFO: Acknowledgment sent {"connection_id":155255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:40:15] local.INFO: TCP Data received {"connection_id":152955,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:40:15] local.INFO: Processing buffer {"connection_id":152955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:40:15] local.INFO: Packet analysis {"connection_id":152955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:40:15] local.INFO: Extracted packet for processing {"connection_id":152955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335743488001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786468049000,"timestamp_ms":1786468049000,"timestamp_seconds":1786468049,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cb2068"} 
[2026-08-11 22:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:40:15] 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-08-11 22: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-08-11 22:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335743488001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335743488001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:40:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335743488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":152955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:40:15] local.INFO: GPS data processed {"connection_id":152955,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:40:15] local.INFO: Acknowledgment sent {"connection_id":152955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:40:18] local.INFO: TCP Data received {"connection_id":153874,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:40:19] local.INFO: Processing buffer {"connection_id":153874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:40:19] local.INFO: IMEI packet received {"connection_id":153874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":153874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:40:23] local.INFO: TCP Data received {"connection_id":153874,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:40:23] local.INFO: Processing buffer {"connection_id":153874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:40:23] local.INFO: IMEI packet received {"connection_id":153874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":153874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:40:24] local.INFO: TCP Data received {"connection_id":153874,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:40:24] local.INFO: Processing buffer {"connection_id":153874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:40:24] local.INFO: Packet analysis {"connection_id":153874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:40:24] local.INFO: Extracted packet for processing {"connection_id":153874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:40:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335726336001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786467982000,"timestamp_ms":1786467982000,"timestamp_seconds":1786467982,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ca1ab0"} 
[2026-08-11 22:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:40:24] 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-08-11 22: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-08-11 22:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335726336001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335726336001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:40:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:40:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335726336001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":153874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:40:24] local.INFO: GPS data processed {"connection_id":153874,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:40:24] local.INFO: Acknowledgment sent {"connection_id":153874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:40:38] local.INFO: TCP Data received {"connection_id":152956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:40:38] local.INFO: Processing buffer {"connection_id":152956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:40:38] local.INFO: IMEI packet received {"connection_id":152956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":152956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:40:43] local.INFO: TCP Data received {"connection_id":152956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:40:43] local.INFO: Processing buffer {"connection_id":152956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:40:43] local.INFO: IMEI packet received {"connection_id":152956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":152956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:40:44] local.INFO: TCP Data received {"connection_id":152956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:40:44] local.INFO: Processing buffer {"connection_id":152956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:40:44] local.INFO: Packet analysis {"connection_id":152956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:40:44] local.INFO: Extracted packet for processing {"connection_id":152956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:40:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:40: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-08-11 22:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335743488001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786468049000,"timestamp_ms":1786468049000,"timestamp_seconds":1786468049,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cb2068"} 
[2026-08-11 22:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:40: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:40:44] 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-08-11 22:40: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-08-11 22:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335743488001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335743488001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:40:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:40:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335743488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":152956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:40:44] local.INFO: GPS data processed {"connection_id":152956,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:40:44] local.INFO: Acknowledgment sent {"connection_id":152956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:40:55] local.INFO: TCP Data received {"connection_id":153874,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:40:55] local.INFO: Processing buffer {"connection_id":153874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:40:55] local.INFO: Packet analysis {"connection_id":153874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:40:55] local.INFO: Extracted packet for processing {"connection_id":153874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:40:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335726336001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786467982000,"timestamp_ms":1786467982000,"timestamp_seconds":1786467982,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ca1ab0"} 
[2026-08-11 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-08-11 22:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:40: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-08-11 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-08-11 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-08-11 22:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335726336001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335726336001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:40:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:40:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335726336001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":153874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:40:55] local.INFO: GPS data processed {"connection_id":153874,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:40:55] local.INFO: Acknowledgment sent {"connection_id":153874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:41:14] local.INFO: TCP Data received {"connection_id":152956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:41:14] local.INFO: Processing buffer {"connection_id":152956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:41:14] local.INFO: Packet analysis {"connection_id":152956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:41:14] local.INFO: Extracted packet for processing {"connection_id":152956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335743488001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786468049000,"timestamp_ms":1786468049000,"timestamp_seconds":1786468049,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cb2068"} 
[2026-08-11 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-08-11 22:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:41:14] 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-08-11 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-08-11 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-08-11 22:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335743488001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335743488001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:41:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:41:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335743488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":152956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:41:15] local.INFO: GPS data processed {"connection_id":152956,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:41:15] local.INFO: Acknowledgment sent {"connection_id":152956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:41:18] local.INFO: TCP Data received {"connection_id":152540,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:41:18] local.INFO: Processing buffer {"connection_id":152540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:41:18] local.INFO: IMEI packet received {"connection_id":152540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":152540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:41:23] local.INFO: TCP Data received {"connection_id":152540,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:41:24] local.INFO: Processing buffer {"connection_id":152540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:41:24] local.INFO: IMEI packet received {"connection_id":152540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":152540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:41:24] local.INFO: TCP Data received {"connection_id":152540,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:41:24] local.INFO: Processing buffer {"connection_id":152540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:41:24] local.INFO: Packet analysis {"connection_id":152540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:41:24] local.INFO: Extracted packet for processing {"connection_id":152540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:41:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335726336001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786467982000,"timestamp_ms":1786467982000,"timestamp_seconds":1786467982,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ca1ab0"} 
[2026-08-11 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-08-11 22:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:41:24] 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-08-11 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-08-11 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-08-11 22:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335726336001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335726336001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:41:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:41:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335726336001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":152540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:41:24] local.INFO: GPS data processed {"connection_id":152540,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:41:24] local.INFO: Acknowledgment sent {"connection_id":152540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:41:37] local.INFO: TCP Data received {"connection_id":155256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:41:37] local.INFO: Processing buffer {"connection_id":155256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:41:37] local.INFO: IMEI packet received {"connection_id":155256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":155256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:41:43] local.INFO: TCP Data received {"connection_id":155256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:41:43] local.INFO: Processing buffer {"connection_id":155256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:41:43] local.INFO: IMEI packet received {"connection_id":155256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":155256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:41:43] local.INFO: TCP Data received {"connection_id":155256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:41:43] local.INFO: Processing buffer {"connection_id":155256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:41:43] local.INFO: Packet analysis {"connection_id":155256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:41:43] local.INFO: Extracted packet for processing {"connection_id":155256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:41:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:41: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-08-11 22:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335743488001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786468049000,"timestamp_ms":1786468049000,"timestamp_seconds":1786468049,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cb2068"} 
[2026-08-11 22:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:41: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:41:43] 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-08-11 22:41: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-08-11 22:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":155256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":155256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":155256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335743488001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335743488001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:41:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:41:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335743488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":155256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:41:44] local.INFO: GPS data processed {"connection_id":155256,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:41:44] local.INFO: Acknowledgment sent {"connection_id":155256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:41:56] local.INFO: TCP Data received {"connection_id":152540,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:41:56] local.INFO: Processing buffer {"connection_id":152540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ca1ab0012d77ab8005f2a748001300fd26..."} 
[2026-08-11 22:41:56] local.INFO: Packet analysis {"connection_id":152540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:41:56] local.INFO: Extracted packet for processing {"connection_id":152540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ca"} 
[2026-08-11 22:41:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335726336001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786467982000,"timestamp_ms":1786467982000,"timestamp_seconds":1786467982,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ca1ab0"} 
[2026-08-11 22:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-11 22:41: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-08-11 22: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-08-11 22:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335726336001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335726336001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:41:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:41:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335726336001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":152540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:41:56] local.INFO: GPS data processed {"connection_id":152540,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:41:56] local.INFO: Acknowledgment sent {"connection_id":152540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:42:15] local.INFO: TCP Data received {"connection_id":155256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:42:15] local.INFO: Processing buffer {"connection_id":155256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:42:15] local.INFO: Packet analysis {"connection_id":155256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:42:15] local.INFO: Extracted packet for processing {"connection_id":155256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335743488001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786468049000,"timestamp_ms":1786468049000,"timestamp_seconds":1786468049,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cb2068"} 
[2026-08-11 22:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:42:15] 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-08-11 22: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-08-11 22:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335743488001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335743488001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:42:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335743488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":155256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:42:15] local.INFO: GPS data processed {"connection_id":155256,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:42:15] local.INFO: Acknowledgment sent {"connection_id":155256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:42:18] local.INFO: TCP Data received {"connection_id":152541,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:42:18] local.INFO: Processing buffer {"connection_id":152541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:42:18] local.INFO: IMEI packet received {"connection_id":152541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":152541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:42:23] local.INFO: TCP Data received {"connection_id":152541,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:42:23] local.INFO: Processing buffer {"connection_id":152541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:42:23] local.INFO: IMEI packet received {"connection_id":152541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":152541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:42:24] local.INFO: TCP Data received {"connection_id":152541,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:42:24] local.INFO: Processing buffer {"connection_id":152541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:42:24] local.INFO: Packet analysis {"connection_id":152541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:42:24] local.INFO: Extracted packet for processing {"connection_id":152541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:42:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335803392001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786468283000,"timestamp_ms":1786468283000,"timestamp_seconds":1786468283,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ceb278"} 
[2026-08-11 22:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:42:24] 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-08-11 22: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-08-11 22:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335803392001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335803392001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:42:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:42:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335803392001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":152541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:42:24] local.INFO: GPS data processed {"connection_id":152541,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:42:24] local.INFO: Acknowledgment sent {"connection_id":152541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:42:37] local.INFO: TCP Data received {"connection_id":152957,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:42:37] local.INFO: Processing buffer {"connection_id":152957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:42:37] local.INFO: IMEI packet received {"connection_id":152957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":152957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:42:43] local.INFO: TCP Data received {"connection_id":152957,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:42:43] local.INFO: Processing buffer {"connection_id":152957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:42:43] local.INFO: IMEI packet received {"connection_id":152957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":152957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:42:44] local.INFO: TCP Data received {"connection_id":152957,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:42:44] local.INFO: Processing buffer {"connection_id":152957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cb2068012d196a00071fef680043011827..."} 
[2026-08-11 22:42:44] local.INFO: Packet analysis {"connection_id":152957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:42:44] local.INFO: Extracted packet for processing {"connection_id":152957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cb"} 
[2026-08-11 22:42:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335743488001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786468049000,"timestamp_ms":1786468049000,"timestamp_seconds":1786468049,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cb2068"} 
[2026-08-11 22:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:42:44] 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-08-11 22: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-08-11 22:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:42:44] 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-08-11 22:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335743488001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335743488001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:42:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:42:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335743488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":152957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:42:44] local.INFO: GPS data processed {"connection_id":152957,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:42:44] local.INFO: Acknowledgment sent {"connection_id":152957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:42:56] local.INFO: TCP Data received {"connection_id":152541,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:42:56] local.INFO: Processing buffer {"connection_id":152541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:42:56] local.INFO: Packet analysis {"connection_id":152541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:42:56] local.INFO: Extracted packet for processing {"connection_id":152541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:42:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335803392001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786468283000,"timestamp_ms":1786468283000,"timestamp_seconds":1786468283,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ceb278"} 
[2026-08-11 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-08-11 22:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:42:56] 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-08-11 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-08-11 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-08-11 22:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335803392001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335803392001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:42:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:42:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335803392001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":152541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:42:56] local.INFO: GPS data processed {"connection_id":152541,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:42:56] local.INFO: Acknowledgment sent {"connection_id":152541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:43:15] local.INFO: TCP Data received {"connection_id":152957,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:43:15] local.INFO: Processing buffer {"connection_id":152957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:43:15] local.INFO: Packet analysis {"connection_id":152957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:43:15] local.INFO: Extracted packet for processing {"connection_id":152957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335820544001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786468350000,"timestamp_ms":1786468350000,"timestamp_seconds":1786468350,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cfb830"} 
[2026-08-11 22:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:43:15] 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-08-11 22: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-08-11 22:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:43:15] 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-08-11 22:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335820544001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335820544001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:43:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335820544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":152957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:43:15] local.INFO: GPS data processed {"connection_id":152957,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:43:15] local.INFO: Acknowledgment sent {"connection_id":152957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:43:23] local.INFO: TCP Data received {"connection_id":152958,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:43:23] local.INFO: Processing buffer {"connection_id":152958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:43:23] local.INFO: IMEI packet received {"connection_id":152958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":152958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:43:28] local.INFO: TCP Data received {"connection_id":152958,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:43:28] local.INFO: Processing buffer {"connection_id":152958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:43:28] local.INFO: IMEI packet received {"connection_id":152958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":152958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:43:29] local.INFO: TCP Data received {"connection_id":152958,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:43:29] local.INFO: Processing buffer {"connection_id":152958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:43:29] local.INFO: Packet analysis {"connection_id":152958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:43:29] local.INFO: Extracted packet for processing {"connection_id":152958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:43:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335803392001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786468283000,"timestamp_ms":1786468283000,"timestamp_seconds":1786468283,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ceb278"} 
[2026-08-11 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-08-11 22:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:43:29] 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-08-11 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-08-11 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-08-11 22:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335803392001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335803392001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:43:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:43:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335803392001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":152958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:43:29] local.INFO: GPS data processed {"connection_id":152958,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:43:29] local.INFO: Acknowledgment sent {"connection_id":152958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:43:34] local.INFO: TCP Data received {"connection_id":152958,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:43:34] local.INFO: Processing buffer {"connection_id":152958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:43:34] local.INFO: Packet analysis {"connection_id":152958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:43:34] local.INFO: Extracted packet for processing {"connection_id":152958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:43:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335803392001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786468283000,"timestamp_ms":1786468283000,"timestamp_seconds":1786468283,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ceb278"} 
[2026-08-11 22:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:43:34] 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-08-11 22: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-08-11 22:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335803392001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335803392001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:43:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:43:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335803392001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":152958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:43:34] local.INFO: GPS data processed {"connection_id":152958,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:43:34] local.INFO: Acknowledgment sent {"connection_id":152958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:43:43] local.INFO: TCP Data received {"connection_id":155257,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:43:43] local.INFO: Processing buffer {"connection_id":155257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:43:43] local.INFO: IMEI packet received {"connection_id":155257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":155257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:43:48] local.INFO: TCP Data received {"connection_id":155257,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:43:48] local.INFO: Processing buffer {"connection_id":155257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:43:48] local.INFO: IMEI packet received {"connection_id":155257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":155257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:43:49] local.INFO: TCP Data received {"connection_id":155257,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:43:49] local.INFO: Processing buffer {"connection_id":155257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:43:49] local.INFO: Packet analysis {"connection_id":155257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:43:49] local.INFO: Extracted packet for processing {"connection_id":155257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:43: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-08-11 22:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335820544001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:43: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-08-11 22:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786468350000,"timestamp_ms":1786468350000,"timestamp_seconds":1786468350,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cfb830"} 
[2026-08-11 22:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:43: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:43:49] 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-08-11 22:43: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-08-11 22:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":155257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":155257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":155257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335820544001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335820544001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:43:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335820544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":155257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:43:49] local.INFO: GPS data processed {"connection_id":155257,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:43:49] local.INFO: Acknowledgment sent {"connection_id":155257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:44:19] local.INFO: TCP Data received {"connection_id":152959,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:44:19] local.INFO: Processing buffer {"connection_id":152959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:44:19] local.INFO: IMEI packet received {"connection_id":152959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":152959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:44:23] local.INFO: TCP Data received {"connection_id":152959,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:44:23] local.INFO: Processing buffer {"connection_id":152959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:44:23] local.INFO: IMEI packet received {"connection_id":152959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":152959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:44:24] local.INFO: TCP Data received {"connection_id":152959,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:44:24] local.INFO: Processing buffer {"connection_id":152959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:44:24] local.INFO: Packet analysis {"connection_id":152959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:44:24] local.INFO: Extracted packet for processing {"connection_id":152959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:44:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335803392001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786468283000,"timestamp_ms":1786468283000,"timestamp_seconds":1786468283,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ceb278"} 
[2026-08-11 22:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:44:24] 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-08-11 22: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-08-11 22:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335803392001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335803392001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:44:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:44:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335803392001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":152959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:44:24] local.INFO: GPS data processed {"connection_id":152959,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:44:24] local.INFO: Acknowledgment sent {"connection_id":152959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:44:38] local.INFO: TCP Data received {"connection_id":152542,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:44:38] local.INFO: Processing buffer {"connection_id":152542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:44:38] local.INFO: IMEI packet received {"connection_id":152542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":152542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:44:43] local.INFO: TCP Data received {"connection_id":152542,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:44:43] local.INFO: Processing buffer {"connection_id":152542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:44:43] local.INFO: IMEI packet received {"connection_id":152542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":152542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:44:44] local.INFO: TCP Data received {"connection_id":152542,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:44:44] local.INFO: Processing buffer {"connection_id":152542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:44:44] local.INFO: Packet analysis {"connection_id":152542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:44:44] local.INFO: Extracted packet for processing {"connection_id":152542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:44:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335820544001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786468350000,"timestamp_ms":1786468350000,"timestamp_seconds":1786468350,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cfb830"} 
[2026-08-11 22:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:44:44] 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-08-11 22: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-08-11 22:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335820544001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335820544001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:44:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:44:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335820544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":152542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:44:44] local.INFO: GPS data processed {"connection_id":152542,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:44:44] local.INFO: Acknowledgment sent {"connection_id":152542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:44:45] local.INFO: TCP Data received {"connection_id":155257,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:44:45] local.INFO: Processing buffer {"connection_id":155257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:44:45] local.INFO: Packet analysis {"connection_id":155257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:44:45] local.INFO: Extracted packet for processing {"connection_id":155257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:44:45] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335820544001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786468350000,"timestamp_ms":1786468350000,"timestamp_seconds":1786468350,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cfb830"} 
[2026-08-11 22:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:44:45] 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-08-11 22: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-08-11 22:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":155257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":155257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":155257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335820544001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335820544001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:44:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:44:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335820544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":155257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:44:45] local.INFO: GPS data processed {"connection_id":155257,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:44:45] local.INFO: Acknowledgment sent {"connection_id":155257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:44:55] local.INFO: TCP Data received {"connection_id":152959,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:44:55] local.INFO: Processing buffer {"connection_id":152959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:44:55] local.INFO: Packet analysis {"connection_id":152959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:44:55] local.INFO: Extracted packet for processing {"connection_id":152959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:44:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335803392001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786468283000,"timestamp_ms":1786468283000,"timestamp_seconds":1786468283,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ceb278"} 
[2026-08-11 22:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:44: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-08-11 22: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-08-11 22:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335803392001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335803392001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:44:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:44:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335803392001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":152959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:44:55] local.INFO: GPS data processed {"connection_id":152959,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:44:55] local.INFO: Acknowledgment sent {"connection_id":152959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:45:15] local.INFO: TCP Data received {"connection_id":152542,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:45:15] local.INFO: Processing buffer {"connection_id":152542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:45:15] local.INFO: Packet analysis {"connection_id":152542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:45:15] local.INFO: Extracted packet for processing {"connection_id":152542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335820544001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786468350000,"timestamp_ms":1786468350000,"timestamp_seconds":1786468350,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cfb830"} 
[2026-08-11 22:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:45:15] 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-08-11 22: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-08-11 22:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335820544001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335820544001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:45:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335820544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":152542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:45:15] local.INFO: GPS data processed {"connection_id":152542,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:45:15] local.INFO: Acknowledgment sent {"connection_id":152542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:45:18] local.INFO: TCP Data received {"connection_id":153875,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:45:18] local.INFO: Processing buffer {"connection_id":153875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:45:18] local.INFO: IMEI packet received {"connection_id":153875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":153875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:45:23] local.INFO: TCP Data received {"connection_id":153875,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:45:23] local.INFO: Processing buffer {"connection_id":153875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:45:23] local.INFO: IMEI packet received {"connection_id":153875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":153875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:45:24] local.INFO: TCP Data received {"connection_id":153875,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:45:24] local.INFO: Processing buffer {"connection_id":153875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:45:24] local.INFO: Packet analysis {"connection_id":153875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:45:24] local.INFO: Extracted packet for processing {"connection_id":153875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:45:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335803392001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786468283000,"timestamp_ms":1786468283000,"timestamp_seconds":1786468283,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ceb278"} 
[2026-08-11 22:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:45:24] 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-08-11 22: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-08-11 22:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335803392001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335803392001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:45:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:45:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335803392001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":153875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:45:24] local.INFO: GPS data processed {"connection_id":153875,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:45:24] local.INFO: Acknowledgment sent {"connection_id":153875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:45:37] local.INFO: TCP Data received {"connection_id":152543,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:45:37] local.INFO: Processing buffer {"connection_id":152543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:45:37] local.INFO: IMEI packet received {"connection_id":152543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":152543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:45:43] local.INFO: TCP Data received {"connection_id":152543,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:45:43] local.INFO: Processing buffer {"connection_id":152543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:45:43] local.INFO: IMEI packet received {"connection_id":152543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":152543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:45:44] local.INFO: TCP Data received {"connection_id":152543,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:45:44] local.INFO: Processing buffer {"connection_id":152543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:45:44] local.INFO: Packet analysis {"connection_id":152543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:45:44] local.INFO: Extracted packet for processing {"connection_id":152543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:45:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:45: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-08-11 22:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335820544001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786468350000,"timestamp_ms":1786468350000,"timestamp_seconds":1786468350,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cfb830"} 
[2026-08-11 22:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:45: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:45:44] 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-08-11 22:45: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-08-11 22:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335820544001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335820544001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:45:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:45:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335820544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":152543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:45:44] local.INFO: GPS data processed {"connection_id":152543,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:45:44] local.INFO: Acknowledgment sent {"connection_id":152543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:45:56] local.INFO: TCP Data received {"connection_id":153875,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:45:56] local.INFO: Processing buffer {"connection_id":153875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:45:56] local.INFO: Packet analysis {"connection_id":153875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:45:56] local.INFO: Extracted packet for processing {"connection_id":153875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:45:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335803392001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786468283000,"timestamp_ms":1786468283000,"timestamp_seconds":1786468283,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ceb278"} 
[2026-08-11 22:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:45:56] 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-08-11 22: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-08-11 22:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335803392001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335803392001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:45:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:45:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335803392001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":153875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:45:56] local.INFO: GPS data processed {"connection_id":153875,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:45:56] local.INFO: Acknowledgment sent {"connection_id":153875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:46:15] local.INFO: TCP Data received {"connection_id":152543,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:46:15] local.INFO: Processing buffer {"connection_id":152543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:46:15] local.INFO: Packet analysis {"connection_id":152543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:46:15] local.INFO: Extracted packet for processing {"connection_id":152543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:46: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-08-11 22:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335820544001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786468350000,"timestamp_ms":1786468350000,"timestamp_seconds":1786468350,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cfb830"} 
[2026-08-11 22:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:46: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:46:15] 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-08-11 22:46: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-08-11 22:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335820544001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335820544001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:46:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335820544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":152543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:46:15] local.INFO: GPS data processed {"connection_id":152543,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:46:15] local.INFO: Acknowledgment sent {"connection_id":152543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:46:18] local.INFO: TCP Data received {"connection_id":155258,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:46:18] local.INFO: Processing buffer {"connection_id":155258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:46:18] local.INFO: IMEI packet received {"connection_id":155258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":155258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:46:24] local.INFO: TCP Data received {"connection_id":155258,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:46:24] local.INFO: Processing buffer {"connection_id":155258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:46:24] local.INFO: IMEI packet received {"connection_id":155258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":155258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:46:30] local.INFO: TCP Data received {"connection_id":155258,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:46:30] local.INFO: Processing buffer {"connection_id":155258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:46:30] local.INFO: Packet analysis {"connection_id":155258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:46:30] local.INFO: Extracted packet for processing {"connection_id":155258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:46:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335803392001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786468283000,"timestamp_ms":1786468283000,"timestamp_seconds":1786468283,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ceb278"} 
[2026-08-11 22:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:46:30] 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-08-11 22: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-08-11 22:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":155258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":155258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":155258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335803392001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335803392001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:46:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:46:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335803392001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":155258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:46:30] local.INFO: GPS data processed {"connection_id":155258,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:46:30] local.INFO: Acknowledgment sent {"connection_id":155258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:46:37] local.INFO: TCP Data received {"connection_id":153876,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:46:37] local.INFO: Processing buffer {"connection_id":153876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:46:37] local.INFO: IMEI packet received {"connection_id":153876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":153876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:46:43] local.INFO: TCP Data received {"connection_id":153876,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:46:43] local.INFO: Processing buffer {"connection_id":153876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:46:43] local.INFO: IMEI packet received {"connection_id":153876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":153876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:46:44] local.INFO: TCP Data received {"connection_id":153876,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:46:44] local.INFO: Processing buffer {"connection_id":153876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:46:44] local.INFO: Packet analysis {"connection_id":153876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:46:44] local.INFO: Extracted packet for processing {"connection_id":153876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:46:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:46: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-08-11 22:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335820544001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786468350000,"timestamp_ms":1786468350000,"timestamp_seconds":1786468350,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cfb830"} 
[2026-08-11 22:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:46: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:46:44] 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-08-11 22:46: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-08-11 22:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335820544001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335820544001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:46:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:46:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335820544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":153876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:46:44] local.INFO: GPS data processed {"connection_id":153876,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:46:44] local.INFO: Acknowledgment sent {"connection_id":153876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:47:01] local.INFO: TCP Data received {"connection_id":155258,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:47:01] local.INFO: Processing buffer {"connection_id":155258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ceb278012d77ab8005f2a748001300fd2c..."} 
[2026-08-11 22:47:01] local.INFO: Packet analysis {"connection_id":155258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:47:01] local.INFO: Extracted packet for processing {"connection_id":155258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ce"} 
[2026-08-11 22:47:01] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335803392001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786468283000,"timestamp_ms":1786468283000,"timestamp_seconds":1786468283,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ceb278"} 
[2026-08-11 22:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:47:01] 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-08-11 22: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-08-11 22:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":155258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":155258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":155258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335803392001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335803392001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:47:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:47:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335803392001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":155258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:47:01] local.INFO: GPS data processed {"connection_id":155258,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:47:01] local.INFO: Acknowledgment sent {"connection_id":155258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:47:15] local.INFO: TCP Data received {"connection_id":153876,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:47:15] local.INFO: Processing buffer {"connection_id":153876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:47:15] local.INFO: Packet analysis {"connection_id":153876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:47:15] local.INFO: Extracted packet for processing {"connection_id":153876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335820544001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786468350000,"timestamp_ms":1786468350000,"timestamp_seconds":1786468350,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cfb830"} 
[2026-08-11 22:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:47:15] 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-08-11 22: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-08-11 22:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335820544001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335820544001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:47:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335820544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":153876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:47:15] local.INFO: GPS data processed {"connection_id":153876,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:47:15] local.INFO: Acknowledgment sent {"connection_id":153876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:47:24] local.INFO: TCP Data received {"connection_id":152544,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:47:24] local.INFO: Processing buffer {"connection_id":152544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:47:24] local.INFO: IMEI packet received {"connection_id":152544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":152544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:47:28] local.INFO: TCP Data received {"connection_id":152544,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:47:28] local.INFO: Processing buffer {"connection_id":152544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:47:28] local.INFO: IMEI packet received {"connection_id":152544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":152544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:47:29] local.INFO: TCP Data received {"connection_id":152544,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:47:29] local.INFO: Processing buffer {"connection_id":152544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:47:29] local.INFO: Packet analysis {"connection_id":152544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:47:29] local.INFO: Extracted packet for processing {"connection_id":152544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:47:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:47: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-08-11 22:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335880448001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786468584000,"timestamp_ms":1786468584000,"timestamp_seconds":1786468584,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d34a40"} 
[2026-08-11 22:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:47: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 22:47:29] 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-08-11 22:47: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-08-11 22:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335880448001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335880448001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:47:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:47:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335880448001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":152544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:47:29] local.INFO: GPS data processed {"connection_id":152544,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:47:29] local.INFO: Acknowledgment sent {"connection_id":152544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:47:34] local.INFO: TCP Data received {"connection_id":152544,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:47:34] local.INFO: Processing buffer {"connection_id":152544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:47:34] local.INFO: Packet analysis {"connection_id":152544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:47:34] local.INFO: Extracted packet for processing {"connection_id":152544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:47:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22:47: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-08-11 22:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335880448001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786468584000,"timestamp_ms":1786468584000,"timestamp_seconds":1786468584,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d34a40"} 
[2026-08-11 22:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:47: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 22:47:34] 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-08-11 22:47: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-08-11 22:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335880448001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335880448001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:47:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:47:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335880448001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":152544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:47:34] local.INFO: GPS data processed {"connection_id":152544,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:47:34] local.INFO: Acknowledgment sent {"connection_id":152544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:47:43] local.INFO: TCP Data received {"connection_id":152960,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:47:43] local.INFO: Processing buffer {"connection_id":152960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:47:43] local.INFO: IMEI packet received {"connection_id":152960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":152960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:47:48] local.INFO: TCP Data received {"connection_id":152960,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:47:48] local.INFO: Processing buffer {"connection_id":152960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:47:48] local.INFO: IMEI packet received {"connection_id":152960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":152960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:47:49] local.INFO: TCP Data received {"connection_id":152960,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:47:49] local.INFO: Processing buffer {"connection_id":152960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:47:49] local.INFO: Packet analysis {"connection_id":152960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:47:49] local.INFO: Extracted packet for processing {"connection_id":152960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:47:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:47: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-08-11 22:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335820544001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47: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-08-11 22:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786468350000,"timestamp_ms":1786468350000,"timestamp_seconds":1786468350,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cfb830"} 
[2026-08-11 22:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:47: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:47:49] 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-08-11 22:47: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-08-11 22:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335820544001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335820544001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:47:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:47:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335820544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":152960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:47:49] local.INFO: GPS data processed {"connection_id":152960,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:47:49] local.INFO: Acknowledgment sent {"connection_id":152960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:47:53] local.INFO: TCP Data received {"connection_id":152960,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:47:53] local.INFO: Processing buffer {"connection_id":152960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1cfb830012d196a00071fef68004301182a..."} 
[2026-08-11 22:47:53] local.INFO: Packet analysis {"connection_id":152960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:47:53] local.INFO: Extracted packet for processing {"connection_id":152960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1cf"} 
[2026-08-11 22:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335820544001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 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-08-11 22:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786468350000,"timestamp_ms":1786468350000,"timestamp_seconds":1786468350,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1cfb830"} 
[2026-08-11 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-08-11 22:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":96,"data_length":795,"current_offset":136} 
[2026-08-11 22:47: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-08-11 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-08-11 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-08-11 22:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335820544001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335820544001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:47:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:47:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335820544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":152960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:47:53] local.INFO: GPS data processed {"connection_id":152960,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:47:53] local.INFO: Acknowledgment sent {"connection_id":152960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:48:18] local.INFO: TCP Data received {"connection_id":153877,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:48:18] local.INFO: Processing buffer {"connection_id":153877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:48:18] local.INFO: IMEI packet received {"connection_id":153877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":153877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:48:23] local.INFO: TCP Data received {"connection_id":153877,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:48:23] local.INFO: Processing buffer {"connection_id":153877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:48:23] local.INFO: IMEI packet received {"connection_id":153877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":153877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:48:24] local.INFO: TCP Data received {"connection_id":153877,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:48:24] local.INFO: Processing buffer {"connection_id":153877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:48:24] local.INFO: Packet analysis {"connection_id":153877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:48:24] local.INFO: Extracted packet for processing {"connection_id":153877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:48:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335880448001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786468584000,"timestamp_ms":1786468584000,"timestamp_seconds":1786468584,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d34a40"} 
[2026-08-11 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-08-11 22:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 22:48:24] 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-08-11 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-08-11 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-08-11 22:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335880448001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335880448001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:48:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:48:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335880448001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":153877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:48:24] local.INFO: GPS data processed {"connection_id":153877,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:48:24] local.INFO: Acknowledgment sent {"connection_id":153877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:48:38] local.INFO: TCP Data received {"connection_id":152545,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:48:38] local.INFO: Processing buffer {"connection_id":152545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:48:38] local.INFO: IMEI packet received {"connection_id":152545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":152545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:48:43] local.INFO: TCP Data received {"connection_id":152545,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:48:43] local.INFO: Processing buffer {"connection_id":152545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:48:43] local.INFO: IMEI packet received {"connection_id":152545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":152545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:48:44] local.INFO: TCP Data received {"connection_id":152545,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d44ff8012d196a00071fef680043011825..."} 
[2026-08-11 22:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d44ff8012d196a00071fef680043011825..."} 
[2026-08-11 22:48:44] local.INFO: Processing buffer {"connection_id":152545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d44ff8012d196a00071fef680043011825..."} 
[2026-08-11 22:48:44] local.INFO: Packet analysis {"connection_id":152545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d4"} 
[2026-08-11 22:48:44] local.INFO: Extracted packet for processing {"connection_id":152545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d4"} 
[2026-08-11 22:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335897600001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786468651000,"timestamp_ms":1786468651000,"timestamp_seconds":1786468651,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d44ff8"} 
[2026-08-11 22:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:48:44] 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-08-11 22: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:48:44] 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-08-11 22: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-08-11 22:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335897600001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335897600001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:48:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:48:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335897600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":152545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:48:44] local.INFO: GPS data processed {"connection_id":152545,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:48:44] local.INFO: Acknowledgment sent {"connection_id":152545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:48:55] local.INFO: TCP Data received {"connection_id":153877,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:48:55] local.INFO: Processing buffer {"connection_id":153877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:48:55] local.INFO: Packet analysis {"connection_id":153877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:48:55] local.INFO: Extracted packet for processing {"connection_id":153877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:48:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335880448001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786468584000,"timestamp_ms":1786468584000,"timestamp_seconds":1786468584,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d34a40"} 
[2026-08-11 22:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 22:48: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-08-11 22: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-08-11 22:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335880448001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335880448001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:48:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:48:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335880448001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":153877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:48:55] local.INFO: GPS data processed {"connection_id":153877,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:48:55] local.INFO: Acknowledgment sent {"connection_id":153877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:49:15] local.INFO: TCP Data received {"connection_id":152545,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d44ff8012d196a00071fef680043011825..."} 
[2026-08-11 22:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d44ff8012d196a00071fef680043011825..."} 
[2026-08-11 22:49:15] local.INFO: Processing buffer {"connection_id":152545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d44ff8012d196a00071fef680043011825..."} 
[2026-08-11 22:49:15] local.INFO: Packet analysis {"connection_id":152545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d4"} 
[2026-08-11 22:49:15] local.INFO: Extracted packet for processing {"connection_id":152545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d4"} 
[2026-08-11 22:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:49: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-08-11 22:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335897600001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786468651000,"timestamp_ms":1786468651000,"timestamp_seconds":1786468651,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d44ff8"} 
[2026-08-11 22:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:49:15] 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-08-11 22:49: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:49:15] 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-08-11 22:49: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-08-11 22:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335897600001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335897600001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:49:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335897600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":152545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:49:15] local.INFO: GPS data processed {"connection_id":152545,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:49:15] local.INFO: Acknowledgment sent {"connection_id":152545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:49:18] local.INFO: TCP Data received {"connection_id":153878,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:49:18] local.INFO: Processing buffer {"connection_id":153878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:49:18] local.INFO: IMEI packet received {"connection_id":153878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":153878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:49:23] local.INFO: TCP Data received {"connection_id":153878,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:49:23] local.INFO: Processing buffer {"connection_id":153878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:49:23] local.INFO: IMEI packet received {"connection_id":153878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":153878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:49:24] local.INFO: TCP Data received {"connection_id":153878,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:49:24] local.INFO: Processing buffer {"connection_id":153878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:49:24] local.INFO: Packet analysis {"connection_id":153878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:49:24] local.INFO: Extracted packet for processing {"connection_id":153878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:49:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335880448001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786468584000,"timestamp_ms":1786468584000,"timestamp_seconds":1786468584,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d34a40"} 
[2026-08-11 22:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 22:49:24] 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-08-11 22: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-08-11 22:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335880448001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335880448001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:49:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:49:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335880448001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":153878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:49:24] local.INFO: GPS data processed {"connection_id":153878,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:49:24] local.INFO: Acknowledgment sent {"connection_id":153878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:49:38] local.INFO: TCP Data received {"connection_id":155259,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:49:38] local.INFO: Processing buffer {"connection_id":155259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:49:38] local.INFO: IMEI packet received {"connection_id":155259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":155259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:49:43] local.INFO: TCP Data received {"connection_id":155259,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:49:43] local.INFO: Processing buffer {"connection_id":155259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:49:43] local.INFO: IMEI packet received {"connection_id":155259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":155259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:49:44] local.INFO: TCP Data received {"connection_id":155259,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d44ff8012d196a00071fef680043011825..."} 
[2026-08-11 22:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d44ff8012d196a00071fef680043011825..."} 
[2026-08-11 22:49:44] local.INFO: Processing buffer {"connection_id":155259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d44ff8012d196a00071fef680043011825..."} 
[2026-08-11 22:49:44] local.INFO: Packet analysis {"connection_id":155259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d4"} 
[2026-08-11 22:49:44] local.INFO: Extracted packet for processing {"connection_id":155259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d4"} 
[2026-08-11 22:49:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:49: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-08-11 22:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335897600001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786468651000,"timestamp_ms":1786468651000,"timestamp_seconds":1786468651,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d44ff8"} 
[2026-08-11 22:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:49:44] 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-08-11 22:49: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:49:44] 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-08-11 22:49: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-08-11 22:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335897600001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335897600001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:49:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:49:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335897600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":155259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:49:44] local.INFO: GPS data processed {"connection_id":155259,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:49:44] local.INFO: Acknowledgment sent {"connection_id":155259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:49:56] local.INFO: TCP Data received {"connection_id":153878,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:49:56] local.INFO: Processing buffer {"connection_id":153878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:49:56] local.INFO: Packet analysis {"connection_id":153878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:49:56] local.INFO: Extracted packet for processing {"connection_id":153878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:49:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335880448001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786468584000,"timestamp_ms":1786468584000,"timestamp_seconds":1786468584,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d34a40"} 
[2026-08-11 22:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 22:49: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-08-11 22: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-08-11 22:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335880448001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335880448001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:49:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:49:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335880448001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":153878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:49:56] local.INFO: GPS data processed {"connection_id":153878,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:49:56] local.INFO: Acknowledgment sent {"connection_id":153878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:50:15] local.INFO: TCP Data received {"connection_id":155259,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d44ff8012d196a00071fef680043011825..."} 
[2026-08-11 22:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d44ff8012d196a00071fef680043011825..."} 
[2026-08-11 22:50:15] local.INFO: Processing buffer {"connection_id":155259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d44ff8012d196a00071fef680043011825..."} 
[2026-08-11 22:50:15] local.INFO: Packet analysis {"connection_id":155259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d4"} 
[2026-08-11 22:50:15] local.INFO: Extracted packet for processing {"connection_id":155259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d4"} 
[2026-08-11 22:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":67,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335897600001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786468651000,"timestamp_ms":1786468651000,"timestamp_seconds":1786468651,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d44ff8"} 
[2026-08-11 22:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:50:15] 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-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:50:15] 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-08-11 22: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-08-11 22:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335897600001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335897600001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:50:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335897600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":155259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:50:15] local.INFO: GPS data processed {"connection_id":155259,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:50:15] local.INFO: Acknowledgment sent {"connection_id":155259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:50:18] local.INFO: TCP Data received {"connection_id":152961,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:50:18] local.INFO: Processing buffer {"connection_id":152961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:50:18] local.INFO: IMEI packet received {"connection_id":152961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":152961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:50:23] local.INFO: TCP Data received {"connection_id":152961,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:50:23] local.INFO: Processing buffer {"connection_id":152961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:50:23] local.INFO: IMEI packet received {"connection_id":152961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":152961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:50:24] local.INFO: TCP Data received {"connection_id":152961,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:50:24] local.INFO: Processing buffer {"connection_id":152961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:50:24] local.INFO: Packet analysis {"connection_id":152961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:50:24] local.INFO: Extracted packet for processing {"connection_id":152961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:50:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335880448001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786468584000,"timestamp_ms":1786468584000,"timestamp_seconds":1786468584,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d34a40"} 
[2026-08-11 22:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 22:50:24] 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-08-11 22: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-08-11 22:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335880448001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335880448001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:50:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:50:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335880448001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":152961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:50:24] local.INFO: GPS data processed {"connection_id":152961,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:50:24] local.INFO: Acknowledgment sent {"connection_id":152961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:50:37] local.INFO: TCP Data received {"connection_id":155260,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:50:37] local.INFO: Processing buffer {"connection_id":155260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:50:37] local.INFO: IMEI packet received {"connection_id":155260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":155260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:50:52] local.INFO: TCP Data received {"connection_id":155260,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:50:53] local.INFO: Processing buffer {"connection_id":155260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:50:53] local.INFO: IMEI packet received {"connection_id":155260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":155260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:50:53] local.INFO: TCP Data received {"connection_id":155260,"ip":"42.106.6.33","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 22:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155260,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 22:50:53] local.INFO: Processing buffer {"connection_id":155260,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-11 22:50:53] local.INFO: IMEI packet received {"connection_id":155260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":155260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:50:55] local.INFO: TCP Data received {"connection_id":152961,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:50:55] local.INFO: Processing buffer {"connection_id":152961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:50:55] local.INFO: Packet analysis {"connection_id":152961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:50:55] local.INFO: Extracted packet for processing {"connection_id":152961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:50:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335880448001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786468584000,"timestamp_ms":1786468584000,"timestamp_seconds":1786468584,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d34a40"} 
[2026-08-11 22:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 22:50: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-08-11 22: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-08-11 22:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335880448001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335880448001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:50:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:50:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335880448001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":152961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:50:55] local.INFO: GPS data processed {"connection_id":152961,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:50:55] local.INFO: Acknowledgment sent {"connection_id":152961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:51:18] local.INFO: TCP Data received {"connection_id":152962,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:51:18] local.INFO: Processing buffer {"connection_id":152962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:51:18] local.INFO: IMEI packet received {"connection_id":152962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":152962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:51:23] local.INFO: TCP Data received {"connection_id":152962,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:51:23] local.INFO: Processing buffer {"connection_id":152962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:51:23] local.INFO: IMEI packet received {"connection_id":152962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":152962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:51:24] local.INFO: TCP Data received {"connection_id":152962,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:51:24] local.INFO: Processing buffer {"connection_id":152962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:51:24] local.INFO: Packet analysis {"connection_id":152962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:51:24] local.INFO: Extracted packet for processing {"connection_id":152962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:51:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335880448001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786468584000,"timestamp_ms":1786468584000,"timestamp_seconds":1786468584,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d34a40"} 
[2026-08-11 22:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 22:51:24] 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-08-11 22: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-08-11 22:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335880448001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335880448001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:51:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:51:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335880448001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":152962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:51:24] local.INFO: GPS data processed {"connection_id":152962,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:51:24] local.INFO: Acknowledgment sent {"connection_id":152962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:51:56] local.INFO: TCP Data received {"connection_id":152962,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:51:56] local.INFO: Processing buffer {"connection_id":152962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d34a40012d77ab8005f2a748001300fd25..."} 
[2026-08-11 22:51:56] local.INFO: Packet analysis {"connection_id":152962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:51:56] local.INFO: Extracted packet for processing {"connection_id":152962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d3"} 
[2026-08-11 22:51:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335880448001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786468584000,"timestamp_ms":1786468584000,"timestamp_seconds":1786468584,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d34a40"} 
[2026-08-11 22:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 22:51: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-08-11 22: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-08-11 22:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335880448001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335880448001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:51:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:51:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335880448001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":152962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:51:56] local.INFO: GPS data processed {"connection_id":152962,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:51:56] local.INFO: Acknowledgment sent {"connection_id":152962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:52:23] local.INFO: TCP Data received {"connection_id":153879,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:52:23] local.INFO: Processing buffer {"connection_id":153879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:52:23] local.INFO: IMEI packet received {"connection_id":153879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":153879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:52:28] local.INFO: TCP Data received {"connection_id":153879,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:52:28] local.INFO: Processing buffer {"connection_id":153879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:52:28] local.INFO: IMEI packet received {"connection_id":153879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":153879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:52:29] local.INFO: TCP Data received {"connection_id":153879,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:52:29] local.INFO: Processing buffer {"connection_id":153879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:52:29] local.INFO: Packet analysis {"connection_id":153879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:52:29] local.INFO: Extracted packet for processing {"connection_id":153879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:52:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335957504001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786468885000,"timestamp_ms":1786468885000,"timestamp_seconds":1786468885,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d7e208"} 
[2026-08-11 22:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 22:52:29] 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-08-11 22: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-08-11 22:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335957504001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335957504001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:52:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:52:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335957504001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":153879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:52:29] local.INFO: GPS data processed {"connection_id":153879,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:52:29] local.INFO: Acknowledgment sent {"connection_id":153879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:53:01] local.INFO: TCP Data received {"connection_id":153879,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:53:01] local.INFO: Processing buffer {"connection_id":153879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:53:01] local.INFO: Packet analysis {"connection_id":153879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:53:01] local.INFO: Extracted packet for processing {"connection_id":153879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:53:01] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335957504001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786468885000,"timestamp_ms":1786468885000,"timestamp_seconds":1786468885,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d7e208"} 
[2026-08-11 22:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 22:53:01] 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-08-11 22: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-08-11 22:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335957504001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335957504001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:53:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:53:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335957504001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":153879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:53:01] local.INFO: GPS data processed {"connection_id":153879,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:53:01] local.INFO: Acknowledgment sent {"connection_id":153879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:53:18] local.INFO: TCP Data received {"connection_id":155262,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:53:18] local.INFO: Processing buffer {"connection_id":155262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:53:18] local.INFO: IMEI packet received {"connection_id":155262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":155262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:53:23] local.INFO: TCP Data received {"connection_id":155262,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:53:23] local.INFO: Processing buffer {"connection_id":155262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:53:23] local.INFO: IMEI packet received {"connection_id":155262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":155262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:53:24] local.INFO: TCP Data received {"connection_id":155262,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:53:24] local.INFO: Processing buffer {"connection_id":155262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:53:24] local.INFO: Packet analysis {"connection_id":155262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:53:24] local.INFO: Extracted packet for processing {"connection_id":155262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:53:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335957504001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786468885000,"timestamp_ms":1786468885000,"timestamp_seconds":1786468885,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d7e208"} 
[2026-08-11 22:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 22:53:24] 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-08-11 22: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-08-11 22:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335957504001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335957504001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:53:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:53:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335957504001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":155262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:53:24] local.INFO: GPS data processed {"connection_id":155262,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:53:24] local.INFO: Acknowledgment sent {"connection_id":155262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:54:18] local.INFO: TCP Data received {"connection_id":152547,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:54:18] local.INFO: Processing buffer {"connection_id":152547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:54:18] local.INFO: IMEI packet received {"connection_id":152547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":152547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:54:23] local.INFO: TCP Data received {"connection_id":152547,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:54:23] local.INFO: Processing buffer {"connection_id":152547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:54:23] local.INFO: IMEI packet received {"connection_id":152547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":152547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:54:24] local.INFO: TCP Data received {"connection_id":152547,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:54:24] local.INFO: Processing buffer {"connection_id":152547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:54:24] local.INFO: Packet analysis {"connection_id":152547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:54:24] local.INFO: Extracted packet for processing {"connection_id":152547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:54:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335957504001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786468885000,"timestamp_ms":1786468885000,"timestamp_seconds":1786468885,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d7e208"} 
[2026-08-11 22:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 22:54:24] 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-08-11 22: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-08-11 22:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335957504001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335957504001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:54:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:54:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335957504001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":152547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:54:24] local.INFO: GPS data processed {"connection_id":152547,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:54:24] local.INFO: Acknowledgment sent {"connection_id":152547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:54:55] local.INFO: TCP Data received {"connection_id":152547,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:54:55] local.INFO: Processing buffer {"connection_id":152547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:54:55] local.INFO: Packet analysis {"connection_id":152547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:54:55] local.INFO: Extracted packet for processing {"connection_id":152547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:54:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335957504001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786468885000,"timestamp_ms":1786468885000,"timestamp_seconds":1786468885,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d7e208"} 
[2026-08-11 22:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":4,"data_length":795,"current_offset":136} 
[2026-08-11 22:54:55] 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-08-11 22: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-08-11 22:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335957504001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335957504001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:54:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:54:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335957504001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":152547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:54:55] local.INFO: GPS data processed {"connection_id":152547,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:54:55] local.INFO: Acknowledgment sent {"connection_id":152547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:55:18] local.INFO: TCP Data received {"connection_id":155263,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:55:18] local.INFO: Processing buffer {"connection_id":155263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:55:18] local.INFO: IMEI packet received {"connection_id":155263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":155263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:55:23] local.INFO: TCP Data received {"connection_id":155263,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:55:23] local.INFO: Processing buffer {"connection_id":155263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:55:23] local.INFO: IMEI packet received {"connection_id":155263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":155263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:55:24] local.INFO: TCP Data received {"connection_id":155263,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:55:24] local.INFO: Processing buffer {"connection_id":155263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:55:24] local.INFO: Packet analysis {"connection_id":155263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:55:24] local.INFO: Extracted packet for processing {"connection_id":155263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:55:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335957504001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786468885000,"timestamp_ms":1786468885000,"timestamp_seconds":1786468885,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d7e208"} 
[2026-08-11 22:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 22:55:24] 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-08-11 22: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-08-11 22:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335957504001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335957504001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:55:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:55:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335957504001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":155263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:55:24] local.INFO: GPS data processed {"connection_id":155263,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:55:24] local.INFO: Acknowledgment sent {"connection_id":155263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:55:56] local.INFO: TCP Data received {"connection_id":155263,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:55:56] local.INFO: Processing buffer {"connection_id":155263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:55:56] local.INFO: Packet analysis {"connection_id":155263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:55:56] local.INFO: Extracted packet for processing {"connection_id":155263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:55:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335957504001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786468885000,"timestamp_ms":1786468885000,"timestamp_seconds":1786468885,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d7e208"} 
[2026-08-11 22:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 22:55:56] 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-08-11 22: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-08-11 22:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335957504001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335957504001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:55:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:55:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335957504001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":155263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:55:56] local.INFO: GPS data processed {"connection_id":155263,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:55:56] local.INFO: Acknowledgment sent {"connection_id":155263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:55:57] local.INFO: TCP Data received {"connection_id":152548,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:55:57] local.INFO: Processing buffer {"connection_id":152548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:55:57] local.INFO: IMEI packet received {"connection_id":152548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":152548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:55:59] local.INFO: TCP Data received {"connection_id":152548,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d8e7c0012d196a00071fef68003b01182a..."} 
[2026-08-11 22:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d8e7c0012d196a00071fef68003b01182a..."} 
[2026-08-11 22:55:59] local.INFO: Processing buffer {"connection_id":152548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d8e7c0012d196a00071fef68003b01182a..."} 
[2026-08-11 22:55:59] local.INFO: Packet analysis {"connection_id":152548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d8"} 
[2026-08-11 22:55:59] local.INFO: Extracted packet for processing {"connection_id":152548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d8"} 
[2026-08-11 22:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335974656001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786468952000,"timestamp_ms":1786468952000,"timestamp_seconds":1786468952,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d8e7c0"} 
[2026-08-11 22:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:55:59] 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-08-11 22: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-08-11 22:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335974656001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335974656001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:55:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335974656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":152548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:55:59] local.INFO: GPS data processed {"connection_id":152548,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:55:59] local.INFO: Acknowledgment sent {"connection_id":152548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:56:23] local.INFO: TCP Data received {"connection_id":153882,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:56:23] local.INFO: Processing buffer {"connection_id":153882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:56:23] local.INFO: IMEI packet received {"connection_id":153882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":153882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:56:28] local.INFO: TCP Data received {"connection_id":153882,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:56:28] local.INFO: Processing buffer {"connection_id":153882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:56:28] local.INFO: IMEI packet received {"connection_id":153882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":153882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:56:29] local.INFO: TCP Data received {"connection_id":153882,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:56:29] local.INFO: Processing buffer {"connection_id":153882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:56:29] local.INFO: Packet analysis {"connection_id":153882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:56:29] local.INFO: Extracted packet for processing {"connection_id":153882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:56:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335957504001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786468885000,"timestamp_ms":1786468885000,"timestamp_seconds":1786468885,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d7e208"} 
[2026-08-11 22:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 22:56:29] 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-08-11 22: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-08-11 22:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335957504001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335957504001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:56:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:56:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335957504001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":153882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:56:29] local.INFO: GPS data processed {"connection_id":153882,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:56:29] local.INFO: Acknowledgment sent {"connection_id":153882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:56:34] local.INFO: TCP Data received {"connection_id":153882,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:56:34] local.INFO: Processing buffer {"connection_id":153882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d7e208012d77ab8005f2a748001300fd24..."} 
[2026-08-11 22:56:34] local.INFO: Packet analysis {"connection_id":153882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:56:34] local.INFO: Extracted packet for processing {"connection_id":153882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d7"} 
[2026-08-11 22:56:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335957504001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786468885000,"timestamp_ms":1786468885000,"timestamp_seconds":1786468885,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d7e208"} 
[2026-08-11 22:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":4,"data_length":795,"current_offset":136} 
[2026-08-11 22:56:34] 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-08-11 22: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-08-11 22:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335957504001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335957504001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:56:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:56:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335957504001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":153882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:56:34] local.INFO: GPS data processed {"connection_id":153882,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:56:34] local.INFO: Acknowledgment sent {"connection_id":153882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:56:43] local.INFO: TCP Data received {"connection_id":155264,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:56:43] local.INFO: Processing buffer {"connection_id":155264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:56:43] local.INFO: IMEI packet received {"connection_id":155264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":155264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:56:48] local.INFO: TCP Data received {"connection_id":155264,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:56:48] local.INFO: Processing buffer {"connection_id":155264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:56:48] local.INFO: IMEI packet received {"connection_id":155264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":155264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:56:49] local.INFO: TCP Data received {"connection_id":155264,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d8e7c0012d196a00071fef68003b01182a..."} 
[2026-08-11 22:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d8e7c0012d196a00071fef68003b01182a..."} 
[2026-08-11 22:56:49] local.INFO: Processing buffer {"connection_id":155264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d8e7c0012d196a00071fef68003b01182a..."} 
[2026-08-11 22:56:49] local.INFO: Packet analysis {"connection_id":155264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d8"} 
[2026-08-11 22:56:49] local.INFO: Extracted packet for processing {"connection_id":155264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d8"} 
[2026-08-11 22:56:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:56: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-08-11 22:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335974656001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:56: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-08-11 22:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786468952000,"timestamp_ms":1786468952000,"timestamp_seconds":1786468952,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d8e7c0"} 
[2026-08-11 22:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22:56: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:56:49] 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-08-11 22:56: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-08-11 22:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":155264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":155264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":155264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335974656001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335974656001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:56:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:56:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335974656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":155264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:56:49] local.INFO: GPS data processed {"connection_id":155264,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:56:49] local.INFO: Acknowledgment sent {"connection_id":155264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:56:53] local.INFO: TCP Data received {"connection_id":155264,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d8e7c0012d196a00071fef68003b01182a..."} 
[2026-08-11 22:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d8e7c0012d196a00071fef68003b01182a..."} 
[2026-08-11 22:56:53] local.INFO: Processing buffer {"connection_id":155264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d8e7c0012d196a00071fef68003b01182a..."} 
[2026-08-11 22:56:53] local.INFO: Packet analysis {"connection_id":155264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d8"} 
[2026-08-11 22:56:53] local.INFO: Extracted packet for processing {"connection_id":155264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d8"} 
[2026-08-11 22:56:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 22:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335974656001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 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-08-11 22:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786468952000,"timestamp_ms":1786468952000,"timestamp_seconds":1786468952,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d8e7c0"} 
[2026-08-11 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-08-11 22:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:56: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-08-11 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-08-11 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-08-11 22:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":155264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":155264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":155264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335974656001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335974656001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:56:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:56:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335974656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":155264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:56:53] local.INFO: GPS data processed {"connection_id":155264,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:56:53] local.INFO: Acknowledgment sent {"connection_id":155264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:57:18] local.INFO: TCP Data received {"connection_id":152549,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:57:18] local.INFO: Processing buffer {"connection_id":152549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:57:18] local.INFO: IMEI packet received {"connection_id":152549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":152549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:57:23] local.INFO: TCP Data received {"connection_id":152549,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:57:23] local.INFO: Processing buffer {"connection_id":152549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:57:23] local.INFO: IMEI packet received {"connection_id":152549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":152549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:57:24] local.INFO: TCP Data received {"connection_id":152549,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:57:24] local.INFO: Processing buffer {"connection_id":152549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:57:24] local.INFO: Packet analysis {"connection_id":152549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 22:57:24] local.INFO: Extracted packet for processing {"connection_id":152549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 22:57:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336034560001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786469186000,"timestamp_ms":1786469186000,"timestamp_seconds":1786469186,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dc79d0"} 
[2026-08-11 22:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:57: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-08-11 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:57:24] 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-08-11 22: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-08-11 22:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336034560001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336034560001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:57:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:57:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336034560001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":152549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:57:24] local.INFO: GPS data processed {"connection_id":152549,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:57:24] local.INFO: Acknowledgment sent {"connection_id":152549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:57:38] local.INFO: TCP Data received {"connection_id":152963,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:57:38] local.INFO: Processing buffer {"connection_id":152963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:57:38] local.INFO: IMEI packet received {"connection_id":152963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":152963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:57:43] local.INFO: TCP Data received {"connection_id":152963,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:57:43] local.INFO: Processing buffer {"connection_id":152963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:57:43] local.INFO: IMEI packet received {"connection_id":152963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":152963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:57:44] local.INFO: TCP Data received {"connection_id":152963,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1d8e7c0012d196a00071fef68003b01182a..."} 
[2026-08-11 22:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1d8e7c0012d196a00071fef68003b01182a..."} 
[2026-08-11 22:57:44] local.INFO: Processing buffer {"connection_id":152963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1d8e7c0012d196a00071fef68003b01182a..."} 
[2026-08-11 22:57:44] local.INFO: Packet analysis {"connection_id":152963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1d8"} 
[2026-08-11 22:57:44] local.INFO: Extracted packet for processing {"connection_id":152963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1d8"} 
[2026-08-11 22:57:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457335974656001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786468952000,"timestamp_ms":1786468952000,"timestamp_seconds":1786468952,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1d8e7c0"} 
[2026-08-11 22:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 22: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":107,"data_length":795,"current_offset":136} 
[2026-08-11 22:57:44] 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-08-11 22: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-08-11 22:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457335974656001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457335974656001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:57:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:57:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457335974656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":152963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:57:44] local.INFO: GPS data processed {"connection_id":152963,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:57:44] local.INFO: Acknowledgment sent {"connection_id":152963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:57:56] local.INFO: TCP Data received {"connection_id":152549,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:57:56] local.INFO: Processing buffer {"connection_id":152549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:57:56] local.INFO: Packet analysis {"connection_id":152549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 22:57:56] local.INFO: Extracted packet for processing {"connection_id":152549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 22:57:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336034560001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786469186000,"timestamp_ms":1786469186000,"timestamp_seconds":1786469186,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dc79d0"} 
[2026-08-11 22:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:57:56] 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-08-11 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:57:56] 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-08-11 22: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-08-11 22:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336034560001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336034560001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:57:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:57:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336034560001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":152549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:57:56] local.INFO: GPS data processed {"connection_id":152549,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:57:56] local.INFO: Acknowledgment sent {"connection_id":152549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:58:15] local.INFO: TCP Data received {"connection_id":152963,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 22:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 22:58:15] local.INFO: Processing buffer {"connection_id":152963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 22:58:15] local.INFO: Packet analysis {"connection_id":152963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 22:58:15] local.INFO: Extracted packet for processing {"connection_id":152963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 22:58:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:58: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-08-11 22:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336051712001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786469253000,"timestamp_ms":1786469253000,"timestamp_seconds":1786469253,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dd7f88"} 
[2026-08-11 22:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:58:15] 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-08-11 22:58: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:58:15] 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-08-11 22:58: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-08-11 22:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336051712001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336051712001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:58:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336051712001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":152963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:58:15] local.INFO: GPS data processed {"connection_id":152963,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:58:15] local.INFO: Acknowledgment sent {"connection_id":152963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:58:18] local.INFO: TCP Data received {"connection_id":152964,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:58:18] local.INFO: Processing buffer {"connection_id":152964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:58:18] local.INFO: IMEI packet received {"connection_id":152964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":152964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:58:23] local.INFO: TCP Data received {"connection_id":152964,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:58:23] local.INFO: Processing buffer {"connection_id":152964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:58:23] local.INFO: IMEI packet received {"connection_id":152964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":152964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:58:24] local.INFO: TCP Data received {"connection_id":152964,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:58:24] local.INFO: Processing buffer {"connection_id":152964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:58:24] local.INFO: Packet analysis {"connection_id":152964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 22:58:24] local.INFO: Extracted packet for processing {"connection_id":152964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 22:58:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336034560001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786469186000,"timestamp_ms":1786469186000,"timestamp_seconds":1786469186,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dc79d0"} 
[2026-08-11 22:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:58: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-08-11 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:58:24] 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-08-11 22: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-08-11 22:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336034560001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336034560001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:58:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:58:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336034560001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":152964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:58:24] local.INFO: GPS data processed {"connection_id":152964,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:58:24] local.INFO: Acknowledgment sent {"connection_id":152964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:58:38] local.INFO: TCP Data received {"connection_id":155265,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:58:38] local.INFO: Processing buffer {"connection_id":155265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:58:38] local.INFO: IMEI packet received {"connection_id":155265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":155265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:58:43] local.INFO: TCP Data received {"connection_id":155265,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:58:43] local.INFO: Processing buffer {"connection_id":155265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:58:43] local.INFO: IMEI packet received {"connection_id":155265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":155265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:58:44] local.INFO: TCP Data received {"connection_id":155265,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 22:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 22:58:44] local.INFO: Processing buffer {"connection_id":155265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 22:58:44] local.INFO: Packet analysis {"connection_id":155265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 22:58:44] local.INFO: Extracted packet for processing {"connection_id":155265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 22:58:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336051712001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786469253000,"timestamp_ms":1786469253000,"timestamp_seconds":1786469253,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dd7f88"} 
[2026-08-11 22:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:58:44] 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-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:58:44] 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-08-11 22: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-08-11 22:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:58:44] 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-08-11 22:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336051712001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336051712001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:58:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:58:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336051712001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":155265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:58:44] local.INFO: GPS data processed {"connection_id":155265,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:58:44] local.INFO: Acknowledgment sent {"connection_id":155265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:58:55] local.INFO: TCP Data received {"connection_id":152964,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:58:55] local.INFO: Processing buffer {"connection_id":152964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:58:55] local.INFO: Packet analysis {"connection_id":152964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 22:58:55] local.INFO: Extracted packet for processing {"connection_id":152964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 22:58:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336034560001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786469186000,"timestamp_ms":1786469186000,"timestamp_seconds":1786469186,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dc79d0"} 
[2026-08-11 22:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:58:55] 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-08-11 22: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:58: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-08-11 22: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-08-11 22:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336034560001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336034560001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:58:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:58:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336034560001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":152964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:58:55] local.INFO: GPS data processed {"connection_id":152964,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:58:55] local.INFO: Acknowledgment sent {"connection_id":152964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:59:15] local.INFO: TCP Data received {"connection_id":155265,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 22:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 22:59:15] local.INFO: Processing buffer {"connection_id":155265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 22:59:15] local.INFO: Packet analysis {"connection_id":155265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 22:59:15] local.INFO: Extracted packet for processing {"connection_id":155265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 22:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336051712001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786469253000,"timestamp_ms":1786469253000,"timestamp_seconds":1786469253,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dd7f88"} 
[2026-08-11 22:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:59:15] 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-08-11 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:59:15] 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-08-11 22: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-08-11 22:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:59:15] 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-08-11 22:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336051712001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"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-08-11 22:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336051712001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:59:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336051712001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":155265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:59:15] local.INFO: GPS data processed {"connection_id":155265,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:59:15] local.INFO: Acknowledgment sent {"connection_id":155265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:59:18] local.INFO: TCP Data received {"connection_id":152965,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:59:18] local.INFO: Processing buffer {"connection_id":152965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:59:18] local.INFO: IMEI packet received {"connection_id":152965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 22:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":152965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:59:23] local.INFO: TCP Data received {"connection_id":152965,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:59:23] local.INFO: Processing buffer {"connection_id":152965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 22:59:23] local.INFO: IMEI packet received {"connection_id":152965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 22:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":152965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:59:24] local.INFO: TCP Data received {"connection_id":152965,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:59:24] local.INFO: Processing buffer {"connection_id":152965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:59:24] local.INFO: Packet analysis {"connection_id":152965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 22:59:24] local.INFO: Extracted packet for processing {"connection_id":152965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 22:59:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336034560001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786469186000,"timestamp_ms":1786469186000,"timestamp_seconds":1786469186,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dc79d0"} 
[2026-08-11 22:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:59: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-08-11 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:59:24] 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-08-11 22: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-08-11 22:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336034560001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336034560001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:59:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:59:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336034560001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":152965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:59:24] local.INFO: GPS data processed {"connection_id":152965,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:59:24] local.INFO: Acknowledgment sent {"connection_id":152965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:59:38] local.INFO: TCP Data received {"connection_id":152550,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:59:38] local.INFO: Processing buffer {"connection_id":152550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:59:38] local.INFO: IMEI packet received {"connection_id":152550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 22:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":152550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 22:59:43] local.INFO: TCP Data received {"connection_id":152550,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:59:43] local.INFO: Processing buffer {"connection_id":152550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 22:59:43] local.INFO: IMEI packet received {"connection_id":152550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 22:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":152550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 22:59:43] local.INFO: TCP Data received {"connection_id":152550,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 22:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 22:59:43] local.INFO: Processing buffer {"connection_id":152550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 22:59:43] local.INFO: Packet analysis {"connection_id":152550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 22:59:43] local.INFO: Extracted packet for processing {"connection_id":152550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 22:59:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 22:59: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-08-11 22:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336051712001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 22:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 22:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786469253000,"timestamp_ms":1786469253000,"timestamp_seconds":1786469253,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dd7f88"} 
[2026-08-11 22:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:59:43] 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-08-11 22:59: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 22:59:43] 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-08-11 22:59: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-08-11 22:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 22:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 22:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 22:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336051712001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 22:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 22:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 22:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336051712001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:59:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 22:59:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 22:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 22:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336051712001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 22:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":152550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:59:44] local.INFO: GPS data processed {"connection_id":152550,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:59:44] local.INFO: Acknowledgment sent {"connection_id":152550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 22:59:56] local.INFO: TCP Data received {"connection_id":152965,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:59:56] local.INFO: Processing buffer {"connection_id":152965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 22:59:56] local.INFO: Packet analysis {"connection_id":152965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 22:59:56] local.INFO: Extracted packet for processing {"connection_id":152965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 22:59:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 22: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-08-11 22:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336034560001,"note":"Value kept but may cause issues"} 
[2026-08-11 22:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 22:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 22:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 22:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786469186000,"timestamp_ms":1786469186000,"timestamp_seconds":1786469186,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dc79d0"} 
[2026-08-11 22:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 22:59:56] 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-08-11 22: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 22:59:56] 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-08-11 22: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-08-11 22:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 22:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 22:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 22:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 22:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 22:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 22:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 22:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336034560001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 22:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 22:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 22:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336034560001,"description":"Unknown IO ID 0"} 
[2026-08-11 22:59:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 22:59:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 22:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 22:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 22:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336034560001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 22:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":152965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 22:59:56] local.INFO: GPS data processed {"connection_id":152965,"processed":1,"errors":0,"total":1} 
[2026-08-11 22:59:56] local.INFO: Acknowledgment sent {"connection_id":152965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:00:15] local.INFO: TCP Data received {"connection_id":152550,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:00:15] local.INFO: Processing buffer {"connection_id":152550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:00:15] local.INFO: Packet analysis {"connection_id":152550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 23:00:15] local.INFO: Extracted packet for processing {"connection_id":152550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 23:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336051712001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786469253000,"timestamp_ms":1786469253000,"timestamp_seconds":1786469253,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dd7f88"} 
[2026-08-11 23:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:00:15] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:00:15] 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-08-11 23: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-08-11 23:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336051712001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336051712001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:00:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336051712001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":152550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:00:15] local.INFO: GPS data processed {"connection_id":152550,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:00:15] local.INFO: Acknowledgment sent {"connection_id":152550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:00:23] local.INFO: TCP Data received {"connection_id":155266,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:00:23] local.INFO: Processing buffer {"connection_id":155266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:00:23] local.INFO: IMEI packet received {"connection_id":155266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":155266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:00:28] local.INFO: TCP Data received {"connection_id":155266,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:00:28] local.INFO: Processing buffer {"connection_id":155266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:00:28] local.INFO: IMEI packet received {"connection_id":155266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":155266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:00:29] local.INFO: TCP Data received {"connection_id":155266,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 23:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 23:00:29] local.INFO: Processing buffer {"connection_id":155266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 23:00:29] local.INFO: Packet analysis {"connection_id":155266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 23:00:29] local.INFO: Extracted packet for processing {"connection_id":155266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 23:00:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336034560001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786469186000,"timestamp_ms":1786469186000,"timestamp_seconds":1786469186,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dc79d0"} 
[2026-08-11 23:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:00:29] 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-08-11 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 23:00:29] 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-08-11 23: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-08-11 23:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336034560001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336034560001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:00:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:00:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336034560001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":155266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:00:29] local.INFO: GPS data processed {"connection_id":155266,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:00:29] local.INFO: Acknowledgment sent {"connection_id":155266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:00:34] local.INFO: TCP Data received {"connection_id":155266,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 23:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 23:00:34] local.INFO: Processing buffer {"connection_id":155266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 23:00:34] local.INFO: Packet analysis {"connection_id":155266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 23:00:34] local.INFO: Extracted packet for processing {"connection_id":155266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 23:00:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23:00: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-08-11 23:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336034560001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786469186000,"timestamp_ms":1786469186000,"timestamp_seconds":1786469186,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dc79d0"} 
[2026-08-11 23:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:00:34] 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-08-11 23:00: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 23:00:34] 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-08-11 23:00: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-08-11 23:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":155266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":155266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":155266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336034560001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336034560001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:00:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:00:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336034560001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":155266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:00:34] local.INFO: GPS data processed {"connection_id":155266,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:00:34] local.INFO: Acknowledgment sent {"connection_id":155266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:00:37] local.INFO: TCP Data received {"connection_id":155267,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:00:37] local.INFO: Processing buffer {"connection_id":155267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:00:37] local.INFO: IMEI packet received {"connection_id":155267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":155267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:00:43] local.INFO: TCP Data received {"connection_id":155267,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:00:43] local.INFO: Processing buffer {"connection_id":155267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:00:43] local.INFO: IMEI packet received {"connection_id":155267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":155267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:00:44] local.INFO: TCP Data received {"connection_id":155267,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:00:44] local.INFO: Processing buffer {"connection_id":155267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:00:44] local.INFO: Packet analysis {"connection_id":155267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 23:00:44] local.INFO: Extracted packet for processing {"connection_id":155267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 23:00:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336051712001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786469253000,"timestamp_ms":1786469253000,"timestamp_seconds":1786469253,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dd7f88"} 
[2026-08-11 23:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:00:44] 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-08-11 23:00: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:00:44] 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-08-11 23:00: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-08-11 23:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336051712001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336051712001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:00:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:00:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336051712001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":155267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:00:44] local.INFO: GPS data processed {"connection_id":155267,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:00:44] local.INFO: Acknowledgment sent {"connection_id":155267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:01:15] local.INFO: TCP Data received {"connection_id":155267,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:01:15] local.INFO: Processing buffer {"connection_id":155267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:01:15] local.INFO: Packet analysis {"connection_id":155267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 23:01:15] local.INFO: Extracted packet for processing {"connection_id":155267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 23:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336051712001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786469253000,"timestamp_ms":1786469253000,"timestamp_seconds":1786469253,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dd7f88"} 
[2026-08-11 23:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:01:15] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:01:15] 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-08-11 23: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-08-11 23:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336051712001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336051712001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:01:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336051712001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":155267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:01:15] local.INFO: GPS data processed {"connection_id":155267,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:01:15] local.INFO: Acknowledgment sent {"connection_id":155267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:01:18] local.INFO: TCP Data received {"connection_id":152966,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:01:18] local.INFO: Processing buffer {"connection_id":152966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:01:18] local.INFO: IMEI packet received {"connection_id":152966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":152966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:01:23] local.INFO: TCP Data received {"connection_id":152966,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:01:23] local.INFO: Processing buffer {"connection_id":152966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:01:23] local.INFO: IMEI packet received {"connection_id":152966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":152966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:01:24] local.INFO: TCP Data received {"connection_id":152966,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 23:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 23:01:24] local.INFO: Processing buffer {"connection_id":152966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 23:01:24] local.INFO: Packet analysis {"connection_id":152966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 23:01:24] local.INFO: Extracted packet for processing {"connection_id":152966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 23:01:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336034560001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786469186000,"timestamp_ms":1786469186000,"timestamp_seconds":1786469186,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dc79d0"} 
[2026-08-11 23:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:01: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-08-11 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 23:01:24] 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-08-11 23: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-08-11 23:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336034560001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336034560001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:01:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:01:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336034560001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":152966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:01:24] local.INFO: GPS data processed {"connection_id":152966,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:01:24] local.INFO: Acknowledgment sent {"connection_id":152966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:01:43] local.INFO: TCP Data received {"connection_id":155268,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:01:43] local.INFO: Processing buffer {"connection_id":155268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:01:43] local.INFO: IMEI packet received {"connection_id":155268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":155268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:01:48] local.INFO: TCP Data received {"connection_id":155268,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:01:48] local.INFO: Processing buffer {"connection_id":155268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:01:48] local.INFO: IMEI packet received {"connection_id":155268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":155268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:01:49] local.INFO: TCP Data received {"connection_id":155268,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:01:49] local.INFO: Processing buffer {"connection_id":155268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:01:49] local.INFO: Packet analysis {"connection_id":155268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 23:01:49] local.INFO: Extracted packet for processing {"connection_id":155268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 23:01:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336051712001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:01: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-08-11 23:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786469253000,"timestamp_ms":1786469253000,"timestamp_seconds":1786469253,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dd7f88"} 
[2026-08-11 23:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:01:49] 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-08-11 23: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:01:49] 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-08-11 23:01: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-08-11 23:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":155268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":155268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":155268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336051712001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336051712001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:01:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:01:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336051712001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":155268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:01:49] local.INFO: GPS data processed {"connection_id":155268,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:01:49] local.INFO: Acknowledgment sent {"connection_id":155268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:01:53] local.INFO: TCP Data received {"connection_id":155268,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:01:53] local.INFO: Processing buffer {"connection_id":155268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:01:53] local.INFO: Packet analysis {"connection_id":155268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 23:01:53] local.INFO: Extracted packet for processing {"connection_id":155268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 23:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336051712001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23: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-08-11 23:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786469253000,"timestamp_ms":1786469253000,"timestamp_seconds":1786469253,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dd7f88"} 
[2026-08-11 23:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:01: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-08-11 23: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:01: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-08-11 23: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-08-11 23:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":155268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":155268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":155268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336051712001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336051712001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:01:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336051712001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":155268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:01:53] local.INFO: GPS data processed {"connection_id":155268,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:01:53] local.INFO: Acknowledgment sent {"connection_id":155268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:01:56] local.INFO: TCP Data received {"connection_id":152966,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 23:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 23:01:56] local.INFO: Processing buffer {"connection_id":152966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dc79d0012d77ab8005f2a748001300fd29..."} 
[2026-08-11 23:01:56] local.INFO: Packet analysis {"connection_id":152966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 23:01:56] local.INFO: Extracted packet for processing {"connection_id":152966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dc"} 
[2026-08-11 23:01:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23:01: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-08-11 23:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336034560001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786469186000,"timestamp_ms":1786469186000,"timestamp_seconds":1786469186,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dc79d0"} 
[2026-08-11 23:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:01:56] 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-08-11 23:01: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 23:01:56] 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-08-11 23:01: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-08-11 23:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336034560001,"66":25680,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336034560001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:01:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:01:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336034560001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":152966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:01:56] local.INFO: GPS data processed {"connection_id":152966,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:01:56] local.INFO: Acknowledgment sent {"connection_id":152966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:02:18] local.INFO: TCP Data received {"connection_id":153883,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:02:18] local.INFO: Processing buffer {"connection_id":153883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:02:18] local.INFO: IMEI packet received {"connection_id":153883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":153883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:02:23] local.INFO: TCP Data received {"connection_id":153883,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:02:23] local.INFO: Processing buffer {"connection_id":153883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:02:23] local.INFO: IMEI packet received {"connection_id":153883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":153883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:02:24] local.INFO: TCP Data received {"connection_id":153883,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:02:24] local.INFO: Processing buffer {"connection_id":153883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:02:24] local.INFO: Packet analysis {"connection_id":153883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:02:24] local.INFO: Extracted packet for processing {"connection_id":153883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:02:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336111616001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786469487000,"timestamp_ms":1786469487000,"timestamp_seconds":1786469487,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e11198"} 
[2026-08-11 23:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 23:02:24] 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-08-11 23: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-08-11 23:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336111616001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336111616001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:02:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:02:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336111616001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":153883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:02:24] local.INFO: GPS data processed {"connection_id":153883,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:02:24] local.INFO: Acknowledgment sent {"connection_id":153883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:02:38] local.INFO: TCP Data received {"connection_id":152551,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:02:38] local.INFO: Processing buffer {"connection_id":152551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:02:38] local.INFO: IMEI packet received {"connection_id":152551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":152551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:02:43] local.INFO: TCP Data received {"connection_id":152551,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:02:43] local.INFO: Processing buffer {"connection_id":152551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:02:43] local.INFO: IMEI packet received {"connection_id":152551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":152551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:02:44] local.INFO: TCP Data received {"connection_id":152551,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:02:44] local.INFO: Processing buffer {"connection_id":152551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1dd7f88012d196a00071fef68003b01182a..."} 
[2026-08-11 23:02:44] local.INFO: Packet analysis {"connection_id":152551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 23:02:44] local.INFO: Extracted packet for processing {"connection_id":152551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1dd"} 
[2026-08-11 23:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336051712001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786469253000,"timestamp_ms":1786469253000,"timestamp_seconds":1786469253,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1dd7f88"} 
[2026-08-11 23:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:02:44] 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-08-11 23: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:02:44] 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-08-11 23:02: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-08-11 23:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336051712001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336051712001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:02:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:02:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336051712001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":152551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:02:44] local.INFO: GPS data processed {"connection_id":152551,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:02:44] local.INFO: Acknowledgment sent {"connection_id":152551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:02:55] local.INFO: TCP Data received {"connection_id":153883,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:02:55] local.INFO: Processing buffer {"connection_id":153883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:02:55] local.INFO: Packet analysis {"connection_id":153883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:02:55] local.INFO: Extracted packet for processing {"connection_id":153883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:02:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 23:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336111616001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786469487000,"timestamp_ms":1786469487000,"timestamp_seconds":1786469487,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e11198"} 
[2026-08-11 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-08-11 23:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 23:02: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-08-11 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-08-11 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-08-11 23:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336111616001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336111616001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:02:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:02:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336111616001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":153883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:02:55] local.INFO: GPS data processed {"connection_id":153883,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:02:55] local.INFO: Acknowledgment sent {"connection_id":153883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:03:15] local.INFO: TCP Data received {"connection_id":152551,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:03:15] local.INFO: Processing buffer {"connection_id":152551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:03:15] local.INFO: Packet analysis {"connection_id":152551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:03:15] local.INFO: Extracted packet for processing {"connection_id":152551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:03: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-08-11 23:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336128768001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786469554000,"timestamp_ms":1786469554000,"timestamp_seconds":1786469554,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e21750"} 
[2026-08-11 23:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:03:15] 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-08-11 23:03: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:03:15] 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-08-11 23:03: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-08-11 23:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336128768001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336128768001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:03:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336128768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":152551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:03:15] local.INFO: GPS data processed {"connection_id":152551,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:03:15] local.INFO: Acknowledgment sent {"connection_id":152551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:03:18] local.INFO: TCP Data received {"connection_id":155269,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:03:18] local.INFO: Processing buffer {"connection_id":155269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:03:18] local.INFO: IMEI packet received {"connection_id":155269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":155269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:03:23] local.INFO: TCP Data received {"connection_id":155269,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:03:23] local.INFO: Processing buffer {"connection_id":155269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:03:23] local.INFO: IMEI packet received {"connection_id":155269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":155269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:03:24] local.INFO: TCP Data received {"connection_id":155269,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:03:24] local.INFO: Processing buffer {"connection_id":155269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:03:24] local.INFO: Packet analysis {"connection_id":155269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:03:24] local.INFO: Extracted packet for processing {"connection_id":155269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:03:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336111616001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786469487000,"timestamp_ms":1786469487000,"timestamp_seconds":1786469487,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e11198"} 
[2026-08-11 23:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 23:03:24] 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-08-11 23: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-08-11 23:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336111616001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336111616001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:03:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:03:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336111616001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":155269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:03:24] local.INFO: GPS data processed {"connection_id":155269,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:03:24] local.INFO: Acknowledgment sent {"connection_id":155269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:03:38] local.INFO: TCP Data received {"connection_id":155270,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:03:38] local.INFO: Processing buffer {"connection_id":155270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:03:38] local.INFO: IMEI packet received {"connection_id":155270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":155270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:03:43] local.INFO: TCP Data received {"connection_id":155270,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:03:43] local.INFO: Processing buffer {"connection_id":155270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:03:43] local.INFO: IMEI packet received {"connection_id":155270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":155270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:03:43] local.INFO: TCP Data received {"connection_id":155270,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:03:43] local.INFO: Processing buffer {"connection_id":155270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:03:43] local.INFO: Packet analysis {"connection_id":155270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:03:43] local.INFO: Extracted packet for processing {"connection_id":155270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:03:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:03: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-08-11 23:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336128768001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786469554000,"timestamp_ms":1786469554000,"timestamp_seconds":1786469554,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e21750"} 
[2026-08-11 23:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:03:43] 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-08-11 23:03: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:03:43] 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-08-11 23:03: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-08-11 23:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":155270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":155270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":155270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336128768001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336128768001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:03:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:03:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336128768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":155270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:03:44] local.INFO: GPS data processed {"connection_id":155270,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:03:44] local.INFO: Acknowledgment sent {"connection_id":155270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:03:56] local.INFO: TCP Data received {"connection_id":155269,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:03:56] local.INFO: Processing buffer {"connection_id":155269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:03:56] local.INFO: Packet analysis {"connection_id":155269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:03:56] local.INFO: Extracted packet for processing {"connection_id":155269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:03:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 23:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336111616001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786469487000,"timestamp_ms":1786469487000,"timestamp_seconds":1786469487,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e11198"} 
[2026-08-11 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-08-11 23:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 23:03:56] 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-08-11 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-08-11 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-08-11 23:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336111616001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336111616001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:03:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:03:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336111616001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":155269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:03:56] local.INFO: GPS data processed {"connection_id":155269,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:03:56] local.INFO: Acknowledgment sent {"connection_id":155269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:04:15] local.INFO: TCP Data received {"connection_id":155270,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:04:15] local.INFO: Processing buffer {"connection_id":155270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:04:15] local.INFO: Packet analysis {"connection_id":155270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:04:15] local.INFO: Extracted packet for processing {"connection_id":155270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336128768001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786469554000,"timestamp_ms":1786469554000,"timestamp_seconds":1786469554,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e21750"} 
[2026-08-11 23:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:04:15] 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-08-11 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:04:15] 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-08-11 23: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-08-11 23:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336128768001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336128768001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:04:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336128768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":155270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:04:15] local.INFO: GPS data processed {"connection_id":155270,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:04:15] local.INFO: Acknowledgment sent {"connection_id":155270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:04:18] local.INFO: TCP Data received {"connection_id":155271,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:04:18] local.INFO: Processing buffer {"connection_id":155271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:04:18] local.INFO: IMEI packet received {"connection_id":155271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":155271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:04:23] local.INFO: TCP Data received {"connection_id":155271,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:04:23] local.INFO: Processing buffer {"connection_id":155271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:04:23] local.INFO: IMEI packet received {"connection_id":155271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":155271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:04:24] local.INFO: TCP Data received {"connection_id":155271,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:04:24] local.INFO: Processing buffer {"connection_id":155271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:04:24] local.INFO: Packet analysis {"connection_id":155271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:04:24] local.INFO: Extracted packet for processing {"connection_id":155271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:04:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336111616001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786469487000,"timestamp_ms":1786469487000,"timestamp_seconds":1786469487,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e11198"} 
[2026-08-11 23:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 23:04:24] 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-08-11 23: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-08-11 23:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336111616001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336111616001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:04:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:04:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336111616001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":155271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:04:24] local.INFO: GPS data processed {"connection_id":155271,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:04:24] local.INFO: Acknowledgment sent {"connection_id":155271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:04:37] local.INFO: TCP Data received {"connection_id":155272,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:04:37] local.INFO: Processing buffer {"connection_id":155272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:04:37] local.INFO: IMEI packet received {"connection_id":155272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":155272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:04:43] local.INFO: TCP Data received {"connection_id":155272,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:04:43] local.INFO: Processing buffer {"connection_id":155272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:04:43] local.INFO: IMEI packet received {"connection_id":155272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":155272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:04:43] local.INFO: TCP Data received {"connection_id":155272,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:04:44] local.INFO: Processing buffer {"connection_id":155272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:04:44] local.INFO: Packet analysis {"connection_id":155272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:04:44] local.INFO: Extracted packet for processing {"connection_id":155272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336128768001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786469554000,"timestamp_ms":1786469554000,"timestamp_seconds":1786469554,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e21750"} 
[2026-08-11 23:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:04:44] 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-08-11 23: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:04:44] 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-08-11 23: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-08-11 23:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336128768001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336128768001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:04:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:04:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336128768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":155272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:04:44] local.INFO: GPS data processed {"connection_id":155272,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:04:44] local.INFO: Acknowledgment sent {"connection_id":155272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:04:55] local.INFO: TCP Data received {"connection_id":155271,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:04:55] local.INFO: Processing buffer {"connection_id":155271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:04:55] local.INFO: Packet analysis {"connection_id":155271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:04:55] local.INFO: Extracted packet for processing {"connection_id":155271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:04:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336111616001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786469487000,"timestamp_ms":1786469487000,"timestamp_seconds":1786469487,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e11198"} 
[2026-08-11 23:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 23:04: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-08-11 23: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-08-11 23:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336111616001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336111616001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:04:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:04:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336111616001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":155271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:04:55] local.INFO: GPS data processed {"connection_id":155271,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:04:55] local.INFO: Acknowledgment sent {"connection_id":155271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:05:15] local.INFO: TCP Data received {"connection_id":155272,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:05:15] local.INFO: Processing buffer {"connection_id":155272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:05:15] local.INFO: Packet analysis {"connection_id":155272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:05:15] local.INFO: Extracted packet for processing {"connection_id":155272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336128768001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786469554000,"timestamp_ms":1786469554000,"timestamp_seconds":1786469554,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e21750"} 
[2026-08-11 23:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:05:15] 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-08-11 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:05:15] 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-08-11 23: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-08-11 23:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336128768001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336128768001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:05:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336128768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":155272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:05:15] local.INFO: GPS data processed {"connection_id":155272,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:05:15] local.INFO: Acknowledgment sent {"connection_id":155272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:05:23] local.INFO: TCP Data received {"connection_id":155273,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:05:23] local.INFO: Processing buffer {"connection_id":155273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:05:23] local.INFO: IMEI packet received {"connection_id":155273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":155273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:05:28] local.INFO: TCP Data received {"connection_id":155273,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:05:28] local.INFO: Processing buffer {"connection_id":155273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:05:28] local.INFO: IMEI packet received {"connection_id":155273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":155273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:05:29] local.INFO: TCP Data received {"connection_id":155273,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:05:29] local.INFO: Processing buffer {"connection_id":155273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:05:29] local.INFO: Packet analysis {"connection_id":155273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:05:29] local.INFO: Extracted packet for processing {"connection_id":155273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:05:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336111616001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786469487000,"timestamp_ms":1786469487000,"timestamp_seconds":1786469487,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e11198"} 
[2026-08-11 23:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 23:05:29] 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-08-11 23: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-08-11 23:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336111616001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336111616001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:05:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:05:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336111616001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":155273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:05:29] local.INFO: GPS data processed {"connection_id":155273,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:05:29] local.INFO: Acknowledgment sent {"connection_id":155273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:05:34] local.INFO: TCP Data received {"connection_id":155273,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:05:34] local.INFO: Processing buffer {"connection_id":155273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:05:34] local.INFO: Packet analysis {"connection_id":155273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:05:34] local.INFO: Extracted packet for processing {"connection_id":155273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:05:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23:05: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-08-11 23:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336111616001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786469487000,"timestamp_ms":1786469487000,"timestamp_seconds":1786469487,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e11198"} 
[2026-08-11 23:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23:05: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":80,"data_length":795,"current_offset":136} 
[2026-08-11 23:05:34] 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-08-11 23:05: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-08-11 23:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":155273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":155273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":155273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336111616001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336111616001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:05:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:05:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336111616001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":155273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:05:34] local.INFO: GPS data processed {"connection_id":155273,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:05:34] local.INFO: Acknowledgment sent {"connection_id":155273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:05:37] local.INFO: TCP Data received {"connection_id":153884,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:05:37] local.INFO: Processing buffer {"connection_id":153884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:05:37] local.INFO: IMEI packet received {"connection_id":153884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":153884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:05:43] local.INFO: TCP Data received {"connection_id":153884,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:05:43] local.INFO: Processing buffer {"connection_id":153884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:05:43] local.INFO: IMEI packet received {"connection_id":153884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":153884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:05:44] local.INFO: TCP Data received {"connection_id":153884,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:05:44] local.INFO: Processing buffer {"connection_id":153884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:05:44] local.INFO: Packet analysis {"connection_id":153884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:05:44] local.INFO: Extracted packet for processing {"connection_id":153884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:05:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336128768001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786469554000,"timestamp_ms":1786469554000,"timestamp_seconds":1786469554,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e21750"} 
[2026-08-11 23:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:05:44] 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-08-11 23: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:05:44] 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-08-11 23: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-08-11 23:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336128768001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336128768001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:05:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:05:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336128768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":153884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:05:44] local.INFO: GPS data processed {"connection_id":153884,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:05:44] local.INFO: Acknowledgment sent {"connection_id":153884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:06:15] local.INFO: TCP Data received {"connection_id":153884,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:06:15] local.INFO: Processing buffer {"connection_id":153884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:06:15] local.INFO: Packet analysis {"connection_id":153884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:06:15] local.INFO: Extracted packet for processing {"connection_id":153884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336128768001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786469554000,"timestamp_ms":1786469554000,"timestamp_seconds":1786469554,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e21750"} 
[2026-08-11 23:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:06:15] 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-08-11 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:06:15] 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-08-11 23: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-08-11 23:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336128768001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336128768001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:06:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336128768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":153884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:06:15] local.INFO: GPS data processed {"connection_id":153884,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:06:15] local.INFO: Acknowledgment sent {"connection_id":153884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:06:19] local.INFO: TCP Data received {"connection_id":153885,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:06:19] local.INFO: Processing buffer {"connection_id":153885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:06:19] local.INFO: IMEI packet received {"connection_id":153885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":153885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:06:24] local.INFO: TCP Data received {"connection_id":153885,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:06:24] local.INFO: Processing buffer {"connection_id":153885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:06:24] local.INFO: IMEI packet received {"connection_id":153885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":153885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:06:24] local.INFO: TCP Data received {"connection_id":153885,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:06:24] local.INFO: Processing buffer {"connection_id":153885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:06:24] local.INFO: Packet analysis {"connection_id":153885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:06:24] local.INFO: Extracted packet for processing {"connection_id":153885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:06:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336111616001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786469487000,"timestamp_ms":1786469487000,"timestamp_seconds":1786469487,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e11198"} 
[2026-08-11 23:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 23:06:24] 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-08-11 23: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-08-11 23:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336111616001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336111616001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:06:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:06:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336111616001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":153885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:06:24] local.INFO: GPS data processed {"connection_id":153885,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:06:24] local.INFO: Acknowledgment sent {"connection_id":153885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:06:43] local.INFO: TCP Data received {"connection_id":152552,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:06:43] local.INFO: Processing buffer {"connection_id":152552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:06:43] local.INFO: IMEI packet received {"connection_id":152552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":152552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:06:48] local.INFO: TCP Data received {"connection_id":152552,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:06:48] local.INFO: Processing buffer {"connection_id":152552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:06:48] local.INFO: IMEI packet received {"connection_id":152552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":152552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:06:52] local.INFO: TCP Data received {"connection_id":152552,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:06:52] local.INFO: Processing buffer {"connection_id":152552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:06:52] local.INFO: Packet analysis {"connection_id":152552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:06:52] local.INFO: Extracted packet for processing {"connection_id":152552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:06:52] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336128768001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:06: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-08-11 23:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786469554000,"timestamp_ms":1786469554000,"timestamp_seconds":1786469554,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e21750"} 
[2026-08-11 23:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:06:52] 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-08-11 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:06: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-08-11 23: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-08-11 23:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:06: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-08-11 23:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336128768001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336128768001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:06:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:06:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336128768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":152552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:06:52] local.INFO: GPS data processed {"connection_id":152552,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:06:52] local.INFO: Acknowledgment sent {"connection_id":152552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:06:53] local.INFO: TCP Data received {"connection_id":152552,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:06:53] local.INFO: Processing buffer {"connection_id":152552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:06:53] local.INFO: Packet analysis {"connection_id":152552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:06:53] local.INFO: Extracted packet for processing {"connection_id":152552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336128768001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23: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-08-11 23:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786469554000,"timestamp_ms":1786469554000,"timestamp_seconds":1786469554,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e21750"} 
[2026-08-11 23:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23: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-08-11 23: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:06: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-08-11 23: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-08-11 23:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23: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-08-11 23:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336128768001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336128768001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:06:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:06:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336128768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":152552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:06:53] local.INFO: GPS data processed {"connection_id":152552,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:06:53] local.INFO: Acknowledgment sent {"connection_id":152552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:06:55] local.INFO: TCP Data received {"connection_id":153885,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:06:55] local.INFO: Processing buffer {"connection_id":153885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e11198012d77ab8005f2a748001300fd24..."} 
[2026-08-11 23:06:55] local.INFO: Packet analysis {"connection_id":153885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:06:55] local.INFO: Extracted packet for processing {"connection_id":153885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e1"} 
[2026-08-11 23:06:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":19,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 23:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336111616001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786469487000,"timestamp_ms":1786469487000,"timestamp_seconds":1786469487,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e11198"} 
[2026-08-11 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-08-11 23:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-11 23:06: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-08-11 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-08-11 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-08-11 23:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336111616001,"66":25604,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336111616001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:06:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:06:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336111616001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":153885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:06:55] local.INFO: GPS data processed {"connection_id":153885,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:06:55] local.INFO: Acknowledgment sent {"connection_id":153885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:07:18] local.INFO: TCP Data received {"connection_id":152553,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:07:18] local.INFO: Processing buffer {"connection_id":152553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:07:18] local.INFO: IMEI packet received {"connection_id":152553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":152553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:07:23] local.INFO: TCP Data received {"connection_id":152553,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:07:23] local.INFO: Processing buffer {"connection_id":152553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:07:23] local.INFO: IMEI packet received {"connection_id":152553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":152553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:07:24] local.INFO: TCP Data received {"connection_id":152553,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:07:24] local.INFO: Processing buffer {"connection_id":152553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:07:24] local.INFO: Packet analysis {"connection_id":152553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:07:24] local.INFO: Extracted packet for processing {"connection_id":152553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:07:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":9,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336188672001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786469788000,"timestamp_ms":1786469788000,"timestamp_seconds":1786469788,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e5a960"} 
[2026-08-11 23:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:07: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-08-11 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 23:07:24] 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-08-11 23: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-08-11 23:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336188672001,"66":25191,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336188672001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:07:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:07:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336188672001,"power":25191,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":152553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:07:24] local.INFO: GPS data processed {"connection_id":152553,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:07:24] local.INFO: Acknowledgment sent {"connection_id":152553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:07:37] local.INFO: TCP Data received {"connection_id":155274,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:07:37] local.INFO: Processing buffer {"connection_id":155274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:07:37] local.INFO: IMEI packet received {"connection_id":155274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":155274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:07:43] local.INFO: TCP Data received {"connection_id":155274,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:07:43] local.INFO: Processing buffer {"connection_id":155274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:07:43] local.INFO: IMEI packet received {"connection_id":155274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":155274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:07:43] local.INFO: TCP Data received {"connection_id":155274,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:07:43] local.INFO: Processing buffer {"connection_id":155274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e21750012d196a00071fef68003b011829..."} 
[2026-08-11 23:07:43] local.INFO: Packet analysis {"connection_id":155274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:07:43] local.INFO: Extracted packet for processing {"connection_id":155274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e2"} 
[2026-08-11 23:07:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:07: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-08-11 23:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336128768001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786469554000,"timestamp_ms":1786469554000,"timestamp_seconds":1786469554,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e21750"} 
[2026-08-11 23:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:07:43] 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-08-11 23:07: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:07:43] 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-08-11 23:07: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-08-11 23:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":155274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":155274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":155274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336128768001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336128768001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:07:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:07:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336128768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":155274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:07:43] local.INFO: GPS data processed {"connection_id":155274,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:07:43] local.INFO: Acknowledgment sent {"connection_id":155274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:07:55] local.INFO: TCP Data received {"connection_id":152553,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:07:55] local.INFO: Processing buffer {"connection_id":152553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:07:55] local.INFO: Packet analysis {"connection_id":152553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:07:55] local.INFO: Extracted packet for processing {"connection_id":152553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:07:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":9,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336188672001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786469788000,"timestamp_ms":1786469788000,"timestamp_seconds":1786469788,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e5a960"} 
[2026-08-11 23:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:07:55] 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-08-11 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 23:07:55] 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-08-11 23: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-08-11 23:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336188672001,"66":25191,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336188672001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:07:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:07:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336188672001,"power":25191,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":152553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:07:55] local.INFO: GPS data processed {"connection_id":152553,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:07:55] local.INFO: Acknowledgment sent {"connection_id":152553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:08:14] local.INFO: TCP Data received {"connection_id":155274,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:08:14] local.INFO: Processing buffer {"connection_id":155274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:08:14] local.INFO: Packet analysis {"connection_id":155274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:08:14] local.INFO: Extracted packet for processing {"connection_id":155274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:08:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:08: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-08-11 23:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336205824001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786469855000,"timestamp_ms":1786469855000,"timestamp_seconds":1786469855,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e6af18"} 
[2026-08-11 23:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:08:14] 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-08-11 23:08: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:08:14] 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-08-11 23:08: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-08-11 23:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":155274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":155274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":155274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336205824001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336205824001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:08:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:08:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336205824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":155274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:08:14] local.INFO: GPS data processed {"connection_id":155274,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:08:14] local.INFO: Acknowledgment sent {"connection_id":155274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:08:18] local.INFO: TCP Data received {"connection_id":153886,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:08:18] local.INFO: Processing buffer {"connection_id":153886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:08:18] local.INFO: IMEI packet received {"connection_id":153886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":153886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:08:23] local.INFO: TCP Data received {"connection_id":153886,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:08:23] local.INFO: Processing buffer {"connection_id":153886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:08:23] local.INFO: IMEI packet received {"connection_id":153886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":153886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:08:24] local.INFO: TCP Data received {"connection_id":153886,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:08:24] local.INFO: Processing buffer {"connection_id":153886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:08:24] local.INFO: Packet analysis {"connection_id":153886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:08:24] local.INFO: Extracted packet for processing {"connection_id":153886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:08:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":9,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336188672001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786469788000,"timestamp_ms":1786469788000,"timestamp_seconds":1786469788,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e5a960"} 
[2026-08-11 23:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:08: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-08-11 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 23:08:24] 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-08-11 23: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-08-11 23:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336188672001,"66":25191,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336188672001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:08:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:08:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336188672001,"power":25191,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":153886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:08:24] local.INFO: GPS data processed {"connection_id":153886,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:08:24] local.INFO: Acknowledgment sent {"connection_id":153886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:08:38] local.INFO: TCP Data received {"connection_id":155275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:08:38] local.INFO: Processing buffer {"connection_id":155275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:08:38] local.INFO: IMEI packet received {"connection_id":155275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":155275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:08:43] local.INFO: TCP Data received {"connection_id":155275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:08:43] local.INFO: Processing buffer {"connection_id":155275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:08:43] local.INFO: IMEI packet received {"connection_id":155275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":155275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:08:43] local.INFO: TCP Data received {"connection_id":155275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:08:43] local.INFO: Processing buffer {"connection_id":155275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:08:43] local.INFO: Packet analysis {"connection_id":155275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:08:43] local.INFO: Extracted packet for processing {"connection_id":155275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:08:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:08: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-08-11 23:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336205824001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786469855000,"timestamp_ms":1786469855000,"timestamp_seconds":1786469855,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e6af18"} 
[2026-08-11 23:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:08:43] 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-08-11 23:08: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:08:43] 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-08-11 23:08: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-08-11 23:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":155275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":155275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":155275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336205824001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336205824001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:08:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:08:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336205824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":155275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:08:44] local.INFO: GPS data processed {"connection_id":155275,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:08:44] local.INFO: Acknowledgment sent {"connection_id":155275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:08:55] local.INFO: TCP Data received {"connection_id":153886,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:08:55] local.INFO: Processing buffer {"connection_id":153886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:08:55] local.INFO: Packet analysis {"connection_id":153886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:08:55] local.INFO: Extracted packet for processing {"connection_id":153886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:08:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":9,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 23:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336188672001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786469788000,"timestamp_ms":1786469788000,"timestamp_seconds":1786469788,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e5a960"} 
[2026-08-11 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-08-11 23:08:55] 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-08-11 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 23:08:55] 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-08-11 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-08-11 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-08-11 23:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336188672001,"66":25191,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336188672001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:08:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:08:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336188672001,"power":25191,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":153886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:08:55] local.INFO: GPS data processed {"connection_id":153886,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:08:55] local.INFO: Acknowledgment sent {"connection_id":153886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:09:17] local.INFO: TCP Data received {"connection_id":155275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:09:17] local.INFO: Processing buffer {"connection_id":155275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:09:17] local.INFO: Packet analysis {"connection_id":155275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:09:17] local.INFO: Extracted packet for processing {"connection_id":155275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:09:17] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:09: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-08-11 23:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336205824001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786469855000,"timestamp_ms":1786469855000,"timestamp_seconds":1786469855,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e6af18"} 
[2026-08-11 23:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:09:17] 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-08-11 23:09: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:09:17] 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-08-11 23:09: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-08-11 23:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":155275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":155275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":155275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336205824001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336205824001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:09:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:09:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336205824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":155275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:09:18] local.INFO: GPS data processed {"connection_id":155275,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:09:18] local.INFO: Acknowledgment sent {"connection_id":155275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:09:19] local.INFO: TCP Data received {"connection_id":155276,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:09:19] local.INFO: Processing buffer {"connection_id":155276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:09:19] local.INFO: IMEI packet received {"connection_id":155276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":155276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:09:24] local.INFO: TCP Data received {"connection_id":155276,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:09:24] local.INFO: Processing buffer {"connection_id":155276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:09:24] local.INFO: IMEI packet received {"connection_id":155276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":155276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:09:25] local.INFO: TCP Data received {"connection_id":155276,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:09:25] local.INFO: Processing buffer {"connection_id":155276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:09:25] local.INFO: Packet analysis {"connection_id":155276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:09:25] local.INFO: Extracted packet for processing {"connection_id":155276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:09:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":9,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336188672001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786469788000,"timestamp_ms":1786469788000,"timestamp_seconds":1786469788,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e5a960"} 
[2026-08-11 23:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:09:25] 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-08-11 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 23:09:25] 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-08-11 23: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-08-11 23:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336188672001,"66":25191,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336188672001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:09:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:09:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336188672001,"power":25191,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":155276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:09:25] local.INFO: GPS data processed {"connection_id":155276,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:09:25] local.INFO: Acknowledgment sent {"connection_id":155276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:09:38] local.INFO: TCP Data received {"connection_id":152967,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:09:38] local.INFO: Processing buffer {"connection_id":152967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:09:38] local.INFO: IMEI packet received {"connection_id":152967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":152967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:09:43] local.INFO: TCP Data received {"connection_id":152967,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:09:43] local.INFO: Processing buffer {"connection_id":152967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:09:43] local.INFO: IMEI packet received {"connection_id":152967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":152967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:09:44] local.INFO: TCP Data received {"connection_id":152967,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:09:44] local.INFO: Processing buffer {"connection_id":152967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:09:44] local.INFO: Packet analysis {"connection_id":152967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:09:44] local.INFO: Extracted packet for processing {"connection_id":152967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:09:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336205824001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786469855000,"timestamp_ms":1786469855000,"timestamp_seconds":1786469855,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e6af18"} 
[2026-08-11 23:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:09:44] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:09:44] 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-08-11 23: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-08-11 23:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336205824001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336205824001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:09:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:09:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336205824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":152967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:09:44] local.INFO: GPS data processed {"connection_id":152967,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:09:44] local.INFO: Acknowledgment sent {"connection_id":152967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:09:56] local.INFO: TCP Data received {"connection_id":155276,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:09:56] local.INFO: Processing buffer {"connection_id":155276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:09:56] local.INFO: Packet analysis {"connection_id":155276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:09:56] local.INFO: Extracted packet for processing {"connection_id":155276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:09:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":9,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336188672001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786469788000,"timestamp_ms":1786469788000,"timestamp_seconds":1786469788,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e5a960"} 
[2026-08-11 23:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:09:56] 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-08-11 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 23:09:56] 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-08-11 23: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-08-11 23:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336188672001,"66":25191,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336188672001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:09:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:09:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336188672001,"power":25191,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":155276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:09:56] local.INFO: GPS data processed {"connection_id":155276,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:09:56] local.INFO: Acknowledgment sent {"connection_id":155276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:10:15] local.INFO: TCP Data received {"connection_id":152967,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:10:15] local.INFO: Processing buffer {"connection_id":152967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:10:15] local.INFO: Packet analysis {"connection_id":152967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:10:15] local.INFO: Extracted packet for processing {"connection_id":152967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:10: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-08-11 23:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336205824001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786469855000,"timestamp_ms":1786469855000,"timestamp_seconds":1786469855,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e6af18"} 
[2026-08-11 23:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:10:15] 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-08-11 23:10: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:10:15] 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-08-11 23:10: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-08-11 23:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336205824001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336205824001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:10:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336205824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":152967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:10:15] local.INFO: GPS data processed {"connection_id":152967,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:10:15] local.INFO: Acknowledgment sent {"connection_id":152967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:10:18] local.INFO: TCP Data received {"connection_id":152554,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:10:18] local.INFO: Processing buffer {"connection_id":152554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:10:18] local.INFO: IMEI packet received {"connection_id":152554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":152554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:10:24] local.INFO: TCP Data received {"connection_id":152554,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:10:24] local.INFO: Processing buffer {"connection_id":152554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:10:24] local.INFO: IMEI packet received {"connection_id":152554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":152554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:10:25] local.INFO: TCP Data received {"connection_id":152554,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:10:25] local.INFO: Processing buffer {"connection_id":152554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:10:25] local.INFO: Packet analysis {"connection_id":152554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:10:25] local.INFO: Extracted packet for processing {"connection_id":152554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:10:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":9,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336188672001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786469788000,"timestamp_ms":1786469788000,"timestamp_seconds":1786469788,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e5a960"} 
[2026-08-11 23:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:10:25] 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-08-11 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 23:10:25] 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-08-11 23: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-08-11 23:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336188672001,"66":25191,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336188672001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:10:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:10:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336188672001,"power":25191,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":152554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:10:25] local.INFO: GPS data processed {"connection_id":152554,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:10:25] local.INFO: Acknowledgment sent {"connection_id":152554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:10:37] local.INFO: TCP Data received {"connection_id":152555,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:10:37] local.INFO: Processing buffer {"connection_id":152555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:10:37] local.INFO: IMEI packet received {"connection_id":152555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":152555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:10:43] local.INFO: TCP Data received {"connection_id":152555,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:10:43] local.INFO: Processing buffer {"connection_id":152555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:10:43] local.INFO: IMEI packet received {"connection_id":152555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":152555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:10:43] local.INFO: TCP Data received {"connection_id":152555,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:10:43] local.INFO: Processing buffer {"connection_id":152555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:10:43] local.INFO: Packet analysis {"connection_id":152555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:10:43] local.INFO: Extracted packet for processing {"connection_id":152555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:10:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336205824001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786469855000,"timestamp_ms":1786469855000,"timestamp_seconds":1786469855,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e6af18"} 
[2026-08-11 23:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:10:43] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:10:43] 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-08-11 23: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-08-11 23:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336205824001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336205824001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:10:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:10:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336205824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":152555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:10:44] local.INFO: GPS data processed {"connection_id":152555,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:10:44] local.INFO: Acknowledgment sent {"connection_id":152555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:10:56] local.INFO: TCP Data received {"connection_id":152554,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:10:56] local.INFO: Processing buffer {"connection_id":152554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:10:56] local.INFO: Packet analysis {"connection_id":152554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:10:56] local.INFO: Extracted packet for processing {"connection_id":152554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:10:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":9,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336188672001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786469788000,"timestamp_ms":1786469788000,"timestamp_seconds":1786469788,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e5a960"} 
[2026-08-11 23:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:10:56] 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-08-11 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 23:10:56] 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-08-11 23: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-08-11 23:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336188672001,"66":25191,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336188672001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:10:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:10:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336188672001,"power":25191,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":152554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:10:56] local.INFO: GPS data processed {"connection_id":152554,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:10:56] local.INFO: Acknowledgment sent {"connection_id":152554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:11:15] local.INFO: TCP Data received {"connection_id":152555,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:11:15] local.INFO: Processing buffer {"connection_id":152555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:11:15] local.INFO: Packet analysis {"connection_id":152555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:11:15] local.INFO: Extracted packet for processing {"connection_id":152555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:11: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-08-11 23:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336205824001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786469855000,"timestamp_ms":1786469855000,"timestamp_seconds":1786469855,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e6af18"} 
[2026-08-11 23:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:11:15] 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-08-11 23:11: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:11:15] 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-08-11 23:11: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-08-11 23:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336205824001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336205824001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:11:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336205824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":152555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:11:15] local.INFO: GPS data processed {"connection_id":152555,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:11:15] local.INFO: Acknowledgment sent {"connection_id":152555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:11:18] local.INFO: TCP Data received {"connection_id":153887,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:11:18] local.INFO: Processing buffer {"connection_id":153887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:11:18] local.INFO: IMEI packet received {"connection_id":153887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":153887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:11:23] local.INFO: TCP Data received {"connection_id":153887,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:11:23] local.INFO: Processing buffer {"connection_id":153887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:11:23] local.INFO: IMEI packet received {"connection_id":153887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":153887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:11:24] local.INFO: TCP Data received {"connection_id":153887,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:11:24] local.INFO: Processing buffer {"connection_id":153887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:11:24] local.INFO: Packet analysis {"connection_id":153887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:11:24] local.INFO: Extracted packet for processing {"connection_id":153887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:11:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":9,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336188672001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786469788000,"timestamp_ms":1786469788000,"timestamp_seconds":1786469788,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e5a960"} 
[2026-08-11 23:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23: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-08-11 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 23:11:24] 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-08-11 23: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-08-11 23:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336188672001,"66":25191,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336188672001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:11:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:11:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336188672001,"power":25191,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":153887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:11:24] local.INFO: GPS data processed {"connection_id":153887,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:11:24] local.INFO: Acknowledgment sent {"connection_id":153887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:11:43] local.INFO: TCP Data received {"connection_id":155277,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:11:43] local.INFO: Processing buffer {"connection_id":155277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:11:43] local.INFO: IMEI packet received {"connection_id":155277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":155277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:11:48] local.INFO: TCP Data received {"connection_id":155277,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:11:48] local.INFO: Processing buffer {"connection_id":155277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:11:48] local.INFO: IMEI packet received {"connection_id":155277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":155277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:11:48] local.INFO: TCP Data received {"connection_id":155277,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:11:48] local.INFO: Processing buffer {"connection_id":155277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:11:48] local.INFO: Packet analysis {"connection_id":155277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:11:48] local.INFO: Extracted packet for processing {"connection_id":155277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:11: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-08-11 23:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336205824001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:11: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-08-11 23:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786469855000,"timestamp_ms":1786469855000,"timestamp_seconds":1786469855,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e6af18"} 
[2026-08-11 23:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:11:48] 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-08-11 23:11: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:11:48] 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-08-11 23:11: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-08-11 23:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":155277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":155277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":155277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336205824001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336205824001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:11:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:11:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336205824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":155277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:11:49] local.INFO: GPS data processed {"connection_id":155277,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:11:49] local.INFO: Acknowledgment sent {"connection_id":155277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:11:53] local.INFO: TCP Data received {"connection_id":155277,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:11:53] local.INFO: Processing buffer {"connection_id":155277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:11:53] local.INFO: Packet analysis {"connection_id":155277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:11:53] local.INFO: Extracted packet for processing {"connection_id":155277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336205824001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23: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-08-11 23:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786469855000,"timestamp_ms":1786469855000,"timestamp_seconds":1786469855,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e6af18"} 
[2026-08-11 23:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:11: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-08-11 23: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-08-11 23: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-08-11 23: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-08-11 23:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":155277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":155277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":155277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336205824001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336205824001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:11:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:11:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336205824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":155277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:11:53] local.INFO: GPS data processed {"connection_id":155277,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:11:53] local.INFO: Acknowledgment sent {"connection_id":155277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:11:56] local.INFO: TCP Data received {"connection_id":153887,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:11:56] local.INFO: Processing buffer {"connection_id":153887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e5a960012d77ab8005f2a748000900fd29..."} 
[2026-08-11 23:11:56] local.INFO: Packet analysis {"connection_id":153887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:11:56] local.INFO: Extracted packet for processing {"connection_id":153887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e5"} 
[2026-08-11 23:11:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":9,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336188672001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786469788000,"timestamp_ms":1786469788000,"timestamp_seconds":1786469788,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e5a960"} 
[2026-08-11 23:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:11:56] 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-08-11 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-11 23:11:56] 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-08-11 23: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-08-11 23:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336188672001,"66":25191,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336188672001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:11:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:11:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336188672001,"power":25191,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":153887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:11:56] local.INFO: GPS data processed {"connection_id":153887,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:11:56] local.INFO: Acknowledgment sent {"connection_id":153887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:12:18] local.INFO: TCP Data received {"connection_id":153888,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:12:18] local.INFO: Processing buffer {"connection_id":153888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:12:18] local.INFO: IMEI packet received {"connection_id":153888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":153888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:12:23] local.INFO: TCP Data received {"connection_id":153888,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:12:23] local.INFO: Processing buffer {"connection_id":153888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:12:23] local.INFO: IMEI packet received {"connection_id":153888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":153888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:12:24] local.INFO: TCP Data received {"connection_id":153888,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:12:24] local.INFO: Processing buffer {"connection_id":153888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:12:24] local.INFO: Packet analysis {"connection_id":153888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:12:24] local.INFO: Extracted packet for processing {"connection_id":153888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:12:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336265728001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786470089000,"timestamp_ms":1786470089000,"timestamp_seconds":1786470089,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ea4128"} 
[2026-08-11 23:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:12: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-08-11 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 23:12:24] 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-08-11 23: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-08-11 23:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336265728001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336265728001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:12:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:12:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336265728001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":153888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:12:24] local.INFO: GPS data processed {"connection_id":153888,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:12:24] local.INFO: Acknowledgment sent {"connection_id":153888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:12:38] local.INFO: TCP Data received {"connection_id":152556,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:12:38] local.INFO: Processing buffer {"connection_id":152556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:12:38] local.INFO: IMEI packet received {"connection_id":152556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":152556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:12:43] local.INFO: TCP Data received {"connection_id":152556,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:12:43] local.INFO: Processing buffer {"connection_id":152556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:12:43] local.INFO: IMEI packet received {"connection_id":152556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":152556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:12:44] local.INFO: TCP Data received {"connection_id":152556,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:12:44] local.INFO: Processing buffer {"connection_id":152556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:12:44] local.INFO: Packet analysis {"connection_id":152556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:12:44] local.INFO: Extracted packet for processing {"connection_id":152556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:12:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:12: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-08-11 23:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336205824001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786469855000,"timestamp_ms":1786469855000,"timestamp_seconds":1786469855,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e6af18"} 
[2026-08-11 23:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:12:44] 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-08-11 23:12: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:12:44] 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-08-11 23:12: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-08-11 23:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336205824001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336205824001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:12:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:12:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336205824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":152556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:12:44] local.INFO: GPS data processed {"connection_id":152556,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:12:44] local.INFO: Acknowledgment sent {"connection_id":152556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:12:48] local.INFO: TCP Data received {"connection_id":152556,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:12:48] local.INFO: Processing buffer {"connection_id":152556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1e6af18012d196a00071fef68003b011828..."} 
[2026-08-11 23:12:48] local.INFO: Packet analysis {"connection_id":152556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:12:48] local.INFO: Extracted packet for processing {"connection_id":152556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1e6"} 
[2026-08-11 23:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336205824001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23: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-08-11 23:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786469855000,"timestamp_ms":1786469855000,"timestamp_seconds":1786469855,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1e6af18"} 
[2026-08-11 23:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:12:48] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:12:48] 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-08-11 23: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-08-11 23:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336205824001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336205824001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:12:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336205824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":152556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:12:48] local.INFO: GPS data processed {"connection_id":152556,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:12:48] local.INFO: Acknowledgment sent {"connection_id":152556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:12:55] local.INFO: TCP Data received {"connection_id":153888,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:12:55] local.INFO: Processing buffer {"connection_id":153888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:12:55] local.INFO: Packet analysis {"connection_id":153888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:12:55] local.INFO: Extracted packet for processing {"connection_id":153888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:12:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 23:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336265728001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786470089000,"timestamp_ms":1786470089000,"timestamp_seconds":1786470089,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ea4128"} 
[2026-08-11 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-08-11 23:12:55] 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-08-11 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":103,"data_length":795,"current_offset":136} 
[2026-08-11 23:12: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-08-11 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-08-11 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-08-11 23:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336265728001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336265728001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:12:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:12:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336265728001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":153888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:12:55] local.INFO: GPS data processed {"connection_id":153888,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:12:55] local.INFO: Acknowledgment sent {"connection_id":153888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:13:18] local.INFO: TCP Data received {"connection_id":152557,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:13:18] local.INFO: Processing buffer {"connection_id":152557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:13:18] local.INFO: IMEI packet received {"connection_id":152557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":152557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:13:19] local.INFO: TCP Data received {"connection_id":152556,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:13:19] local.INFO: Processing buffer {"connection_id":152556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:13:19] local.INFO: Packet analysis {"connection_id":152556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:13:19] local.INFO: Extracted packet for processing {"connection_id":152556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 23:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336282880001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23: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-08-11 23:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786470156000,"timestamp_ms":1786470156000,"timestamp_seconds":1786470156,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eb46e0"} 
[2026-08-11 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-08-11 23:13:19] 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-08-11 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:13:19] 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-08-11 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-08-11 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-08-11 23:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336282880001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336282880001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:13:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:13:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336282880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":152556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:13:19] local.INFO: GPS data processed {"connection_id":152556,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:13:19] local.INFO: Acknowledgment sent {"connection_id":152556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:13:23] local.INFO: TCP Data received {"connection_id":152557,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:13:23] local.INFO: Processing buffer {"connection_id":152557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:13:23] local.INFO: IMEI packet received {"connection_id":152557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":152557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:13:24] local.INFO: TCP Data received {"connection_id":152557,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:13:24] local.INFO: Processing buffer {"connection_id":152557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:13:24] local.INFO: Packet analysis {"connection_id":152557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:13:24] local.INFO: Extracted packet for processing {"connection_id":152557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:13:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336265728001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786470089000,"timestamp_ms":1786470089000,"timestamp_seconds":1786470089,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ea4128"} 
[2026-08-11 23:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:13: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-08-11 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 23:13:24] 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-08-11 23: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-08-11 23:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336265728001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336265728001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:13:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:13:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336265728001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":152557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:13:24] local.INFO: GPS data processed {"connection_id":152557,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:13:24] local.INFO: Acknowledgment sent {"connection_id":152557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:13:38] local.INFO: TCP Data received {"connection_id":153889,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:13:38] local.INFO: Processing buffer {"connection_id":153889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:13:38] local.INFO: IMEI packet received {"connection_id":153889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":153889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:13:43] local.INFO: TCP Data received {"connection_id":153889,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:13:43] local.INFO: Processing buffer {"connection_id":153889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:13:43] local.INFO: IMEI packet received {"connection_id":153889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":153889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:13:44] local.INFO: TCP Data received {"connection_id":153889,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:13:44] local.INFO: Processing buffer {"connection_id":153889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:13:44] local.INFO: Packet analysis {"connection_id":153889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:13:44] local.INFO: Extracted packet for processing {"connection_id":153889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:13:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336282880001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786470156000,"timestamp_ms":1786470156000,"timestamp_seconds":1786470156,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eb46e0"} 
[2026-08-11 23:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:13: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-08-11 23: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:13:44] 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-08-11 23: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-08-11 23:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336282880001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336282880001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:13:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:13:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336282880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":153889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:13:44] local.INFO: GPS data processed {"connection_id":153889,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:13:44] local.INFO: Acknowledgment sent {"connection_id":153889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:13:56] local.INFO: TCP Data received {"connection_id":152557,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:13:56] local.INFO: Processing buffer {"connection_id":152557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:13:56] local.INFO: Packet analysis {"connection_id":152557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:13:56] local.INFO: Extracted packet for processing {"connection_id":152557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:13:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336265728001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786470089000,"timestamp_ms":1786470089000,"timestamp_seconds":1786470089,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ea4128"} 
[2026-08-11 23:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:13:56] 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-08-11 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 23:13:56] 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-08-11 23: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-08-11 23:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336265728001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336265728001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:13:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:13:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336265728001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":152557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:13:56] local.INFO: GPS data processed {"connection_id":152557,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:13:56] local.INFO: Acknowledgment sent {"connection_id":152557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:14:15] local.INFO: TCP Data received {"connection_id":153889,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:14:15] local.INFO: Processing buffer {"connection_id":153889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:14:15] local.INFO: Packet analysis {"connection_id":153889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:14:15] local.INFO: Extracted packet for processing {"connection_id":153889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336282880001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786470156000,"timestamp_ms":1786470156000,"timestamp_seconds":1786470156,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eb46e0"} 
[2026-08-11 23:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:14:15] 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-08-11 23: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:14:15] 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-08-11 23: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-08-11 23:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336282880001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336282880001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:14:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336282880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":153889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:14:15] local.INFO: GPS data processed {"connection_id":153889,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:14:15] local.INFO: Acknowledgment sent {"connection_id":153889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:14:18] local.INFO: TCP Data received {"connection_id":155278,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:14:18] local.INFO: Processing buffer {"connection_id":155278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:14:18] local.INFO: IMEI packet received {"connection_id":155278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":155278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:14:23] local.INFO: TCP Data received {"connection_id":155278,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:14:23] local.INFO: Processing buffer {"connection_id":155278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:14:23] local.INFO: IMEI packet received {"connection_id":155278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":155278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:14:24] local.INFO: TCP Data received {"connection_id":155278,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:14:24] local.INFO: Processing buffer {"connection_id":155278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:14:24] local.INFO: Packet analysis {"connection_id":155278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:14:24] local.INFO: Extracted packet for processing {"connection_id":155278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:14:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336265728001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786470089000,"timestamp_ms":1786470089000,"timestamp_seconds":1786470089,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ea4128"} 
[2026-08-11 23:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23: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-08-11 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 23:14:24] 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-08-11 23: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-08-11 23:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336265728001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336265728001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:14:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:14:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336265728001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":155278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:14:24] local.INFO: GPS data processed {"connection_id":155278,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:14:24] local.INFO: Acknowledgment sent {"connection_id":155278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:14:37] local.INFO: TCP Data received {"connection_id":152968,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:14:37] local.INFO: Processing buffer {"connection_id":152968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:14:37] local.INFO: IMEI packet received {"connection_id":152968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":152968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:14:43] local.INFO: TCP Data received {"connection_id":152968,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:14:43] local.INFO: Processing buffer {"connection_id":152968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:14:43] local.INFO: IMEI packet received {"connection_id":152968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":152968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:14:44] local.INFO: TCP Data received {"connection_id":152968,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:14:44] local.INFO: Processing buffer {"connection_id":152968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:14:44] local.INFO: Packet analysis {"connection_id":152968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:14:44] local.INFO: Extracted packet for processing {"connection_id":152968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:14:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336282880001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786470156000,"timestamp_ms":1786470156000,"timestamp_seconds":1786470156,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eb46e0"} 
[2026-08-11 23:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:14: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-08-11 23: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:14:44] 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-08-11 23: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-08-11 23:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336282880001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336282880001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:14:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:14:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336282880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":152968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:14:44] local.INFO: GPS data processed {"connection_id":152968,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:14:44] local.INFO: Acknowledgment sent {"connection_id":152968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:14:55] local.INFO: TCP Data received {"connection_id":155278,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:14:55] local.INFO: Processing buffer {"connection_id":155278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:14:55] local.INFO: Packet analysis {"connection_id":155278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:14:55] local.INFO: Extracted packet for processing {"connection_id":155278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:14:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336265728001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786470089000,"timestamp_ms":1786470089000,"timestamp_seconds":1786470089,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ea4128"} 
[2026-08-11 23:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:14:55] 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-08-11 23: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":103,"data_length":795,"current_offset":136} 
[2026-08-11 23:14: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-08-11 23: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-08-11 23:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336265728001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336265728001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:14:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:14:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336265728001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":155278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:14:55] local.INFO: GPS data processed {"connection_id":155278,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:14:55] local.INFO: Acknowledgment sent {"connection_id":155278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:15:15] local.INFO: TCP Data received {"connection_id":152968,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:15:15] local.INFO: Processing buffer {"connection_id":152968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:15:15] local.INFO: Packet analysis {"connection_id":152968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:15:15] local.INFO: Extracted packet for processing {"connection_id":152968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:15: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-08-11 23:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336282880001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786470156000,"timestamp_ms":1786470156000,"timestamp_seconds":1786470156,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eb46e0"} 
[2026-08-11 23:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:15:15] 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-08-11 23:15: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:15:15] 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-08-11 23:15: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-08-11 23:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336282880001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336282880001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:15:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336282880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":152968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:15:15] local.INFO: GPS data processed {"connection_id":152968,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:15:15] local.INFO: Acknowledgment sent {"connection_id":152968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:15:23] local.INFO: TCP Data received {"connection_id":152969,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:15:23] local.INFO: Processing buffer {"connection_id":152969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:15:23] local.INFO: IMEI packet received {"connection_id":152969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":152969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:15:28] local.INFO: TCP Data received {"connection_id":152969,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:15:28] local.INFO: Processing buffer {"connection_id":152969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:15:28] local.INFO: IMEI packet received {"connection_id":152969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":152969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:15:29] local.INFO: TCP Data received {"connection_id":152969,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:15:29] local.INFO: Processing buffer {"connection_id":152969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:15:29] local.INFO: Packet analysis {"connection_id":152969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:15:29] local.INFO: Extracted packet for processing {"connection_id":152969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:15:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336265728001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786470089000,"timestamp_ms":1786470089000,"timestamp_seconds":1786470089,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ea4128"} 
[2026-08-11 23:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:15:29] 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-08-11 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 23:15:29] 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-08-11 23: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-08-11 23:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336265728001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336265728001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:15:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:15:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336265728001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":152969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:15:29] local.INFO: GPS data processed {"connection_id":152969,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:15:29] local.INFO: Acknowledgment sent {"connection_id":152969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:15:34] local.INFO: TCP Data received {"connection_id":152969,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:15:34] local.INFO: Processing buffer {"connection_id":152969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:15:34] local.INFO: Packet analysis {"connection_id":152969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:15:34] local.INFO: Extracted packet for processing {"connection_id":152969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:15:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336265728001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786470089000,"timestamp_ms":1786470089000,"timestamp_seconds":1786470089,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ea4128"} 
[2026-08-11 23:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:15:34] 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-08-11 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 23:15:34] 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-08-11 23: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-08-11 23:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336265728001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336265728001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:15:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:15:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336265728001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":152969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:15:34] local.INFO: GPS data processed {"connection_id":152969,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:15:34] local.INFO: Acknowledgment sent {"connection_id":152969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:15:43] local.INFO: TCP Data received {"connection_id":152558,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:15:43] local.INFO: Processing buffer {"connection_id":152558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:15:43] local.INFO: IMEI packet received {"connection_id":152558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":152558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:15:48] local.INFO: TCP Data received {"connection_id":152558,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:15:48] local.INFO: Processing buffer {"connection_id":152558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:15:48] local.INFO: IMEI packet received {"connection_id":152558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":152558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:15:48] local.INFO: TCP Data received {"connection_id":152558,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:15:48] local.INFO: Processing buffer {"connection_id":152558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:15:48] local.INFO: Packet analysis {"connection_id":152558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:15:48] local.INFO: Extracted packet for processing {"connection_id":152558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:15:48] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:15: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-08-11 23:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336282880001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:15: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-08-11 23:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786470156000,"timestamp_ms":1786470156000,"timestamp_seconds":1786470156,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eb46e0"} 
[2026-08-11 23:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:15:48] 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-08-11 23:15: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:15:48] 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-08-11 23:15: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-08-11 23:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336282880001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336282880001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:15:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:15:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336282880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":152558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:15:49] local.INFO: GPS data processed {"connection_id":152558,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:15:49] local.INFO: Acknowledgment sent {"connection_id":152558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:15:53] local.INFO: TCP Data received {"connection_id":152558,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:15:53] local.INFO: Processing buffer {"connection_id":152558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:15:53] local.INFO: Packet analysis {"connection_id":152558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:15:53] local.INFO: Extracted packet for processing {"connection_id":152558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:15:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336282880001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23: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-08-11 23:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786470156000,"timestamp_ms":1786470156000,"timestamp_seconds":1786470156,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eb46e0"} 
[2026-08-11 23:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:15: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-08-11 23: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-08-11 23: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-08-11 23: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-08-11 23:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336282880001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336282880001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:15:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:15:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336282880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":152558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:15:53] local.INFO: GPS data processed {"connection_id":152558,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:15:53] local.INFO: Acknowledgment sent {"connection_id":152558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:16:18] local.INFO: TCP Data received {"connection_id":155279,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:16:18] local.INFO: Processing buffer {"connection_id":155279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:16:18] local.INFO: IMEI packet received {"connection_id":155279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":155279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:16:23] local.INFO: TCP Data received {"connection_id":155279,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:16:23] local.INFO: Processing buffer {"connection_id":155279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:16:23] local.INFO: IMEI packet received {"connection_id":155279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":155279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:16:24] local.INFO: TCP Data received {"connection_id":155279,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:16:24] local.INFO: Processing buffer {"connection_id":155279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:16:24] local.INFO: Packet analysis {"connection_id":155279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:16:24] local.INFO: Extracted packet for processing {"connection_id":155279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:16:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336265728001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786470089000,"timestamp_ms":1786470089000,"timestamp_seconds":1786470089,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ea4128"} 
[2026-08-11 23:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:16: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-08-11 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-11 23:16:24] 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-08-11 23: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-08-11 23:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336265728001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336265728001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:16:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:16:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336265728001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":155279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:16:24] local.INFO: GPS data processed {"connection_id":155279,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:16:24] local.INFO: Acknowledgment sent {"connection_id":155279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:16:38] local.INFO: TCP Data received {"connection_id":152559,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:16:38] local.INFO: Processing buffer {"connection_id":152559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:16:38] local.INFO: IMEI packet received {"connection_id":152559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":152559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:16:43] local.INFO: TCP Data received {"connection_id":152559,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:16:43] local.INFO: Processing buffer {"connection_id":152559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:16:43] local.INFO: IMEI packet received {"connection_id":152559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":152559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:16:44] local.INFO: TCP Data received {"connection_id":152559,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:16:44] local.INFO: Processing buffer {"connection_id":152559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:16:44] local.INFO: Packet analysis {"connection_id":152559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:16:44] local.INFO: Extracted packet for processing {"connection_id":152559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:16:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336282880001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786470156000,"timestamp_ms":1786470156000,"timestamp_seconds":1786470156,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eb46e0"} 
[2026-08-11 23:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:16: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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:16:44] 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-08-11 23: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-08-11 23:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336282880001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336282880001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:16:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:16:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336282880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":152559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:16:44] local.INFO: GPS data processed {"connection_id":152559,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:16:44] local.INFO: Acknowledgment sent {"connection_id":152559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:16:55] local.INFO: TCP Data received {"connection_id":155279,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:16:55] local.INFO: Processing buffer {"connection_id":155279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1ea4128012d77ab8005f2a748000600fd22..."} 
[2026-08-11 23:16:55] local.INFO: Packet analysis {"connection_id":155279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:16:55] local.INFO: Extracted packet for processing {"connection_id":155279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ea"} 
[2026-08-11 23:16:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336265728001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786470089000,"timestamp_ms":1786470089000,"timestamp_seconds":1786470089,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1ea4128"} 
[2026-08-11 23:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:16:55] 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-08-11 23: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":103,"data_length":795,"current_offset":136} 
[2026-08-11 23:16: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-08-11 23: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-08-11 23:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336265728001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336265728001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:16:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:16:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336265728001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":155279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:16:55] local.INFO: GPS data processed {"connection_id":155279,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:16:55] local.INFO: Acknowledgment sent {"connection_id":155279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:17:15] local.INFO: TCP Data received {"connection_id":152559,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:17:15] local.INFO: Processing buffer {"connection_id":152559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:17:15] local.INFO: Packet analysis {"connection_id":152559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:17:15] local.INFO: Extracted packet for processing {"connection_id":152559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336282880001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786470156000,"timestamp_ms":1786470156000,"timestamp_seconds":1786470156,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eb46e0"} 
[2026-08-11 23:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:17:15] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:17:15] 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-08-11 23: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-08-11 23:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336282880001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336282880001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:17:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:17:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336282880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":152559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:17:15] local.INFO: GPS data processed {"connection_id":152559,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:17:15] local.INFO: Acknowledgment sent {"connection_id":152559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:17:18] local.INFO: TCP Data received {"connection_id":152560,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:17:18] local.INFO: Processing buffer {"connection_id":152560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:17:18] local.INFO: IMEI packet received {"connection_id":152560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":152560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:17:23] local.INFO: TCP Data received {"connection_id":152560,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:17:23] local.INFO: Processing buffer {"connection_id":152560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:17:23] local.INFO: IMEI packet received {"connection_id":152560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":152560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:17:24] local.INFO: TCP Data received {"connection_id":152560,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:17:24] local.INFO: Processing buffer {"connection_id":152560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:17:24] local.INFO: Packet analysis {"connection_id":152560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:17:24] local.INFO: Extracted packet for processing {"connection_id":152560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:17:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336342784001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786470390000,"timestamp_ms":1786470390000,"timestamp_seconds":1786470390,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eed8f0"} 
[2026-08-11 23:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:17: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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:17:24] 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-08-11 23: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-08-11 23:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336342784001,"66":25593,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336342784001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:17:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:17:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336342784001,"power":25593,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":152560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:17:24] local.INFO: GPS data processed {"connection_id":152560,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:17:24] local.INFO: Acknowledgment sent {"connection_id":152560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:17:38] local.INFO: TCP Data received {"connection_id":152561,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:17:38] local.INFO: Processing buffer {"connection_id":152561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:17:38] local.INFO: IMEI packet received {"connection_id":152561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":152561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:17:43] local.INFO: TCP Data received {"connection_id":152561,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:17:43] local.INFO: Processing buffer {"connection_id":152561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:17:43] local.INFO: IMEI packet received {"connection_id":152561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":152561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:17:43] local.INFO: TCP Data received {"connection_id":152561,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:17:43] local.INFO: Processing buffer {"connection_id":152561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:17:43] local.INFO: Packet analysis {"connection_id":152561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:17:43] local.INFO: Extracted packet for processing {"connection_id":152561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:17:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336282880001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786470156000,"timestamp_ms":1786470156000,"timestamp_seconds":1786470156,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eb46e0"} 
[2026-08-11 23:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:17:43] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:17:43] 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-08-11 23: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-08-11 23:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336282880001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336282880001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:17:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:17:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336282880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":152561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:17:44] local.INFO: GPS data processed {"connection_id":152561,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:17:44] local.INFO: Acknowledgment sent {"connection_id":152561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:17:56] local.INFO: TCP Data received {"connection_id":152560,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:17:56] local.INFO: Processing buffer {"connection_id":152560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:17:56] local.INFO: Packet analysis {"connection_id":152560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:17:56] local.INFO: Extracted packet for processing {"connection_id":152560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:17:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336342784001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786470390000,"timestamp_ms":1786470390000,"timestamp_seconds":1786470390,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eed8f0"} 
[2026-08-11 23:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:17:56] 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-08-11 23: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:17: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-08-11 23: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-08-11 23:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336342784001,"66":25593,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336342784001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:17:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:17:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336342784001,"power":25593,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":152560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:17:56] local.INFO: GPS data processed {"connection_id":152560,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:17:56] local.INFO: Acknowledgment sent {"connection_id":152560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:18:15] local.INFO: TCP Data received {"connection_id":152561,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:18:15] local.INFO: Processing buffer {"connection_id":152561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eb46e0012d196a00071fef68003b01182a..."} 
[2026-08-11 23:18:15] local.INFO: Packet analysis {"connection_id":152561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:18:15] local.INFO: Extracted packet for processing {"connection_id":152561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1eb"} 
[2026-08-11 23:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336282880001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786470156000,"timestamp_ms":1786470156000,"timestamp_seconds":1786470156,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eb46e0"} 
[2026-08-11 23:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:18:15] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:18:15] 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-08-11 23: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-08-11 23:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336282880001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336282880001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:18:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:18:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336282880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":152561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:18:15] local.INFO: GPS data processed {"connection_id":152561,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:18:15] local.INFO: Acknowledgment sent {"connection_id":152561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:18:18] local.INFO: TCP Data received {"connection_id":152970,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:18:18] local.INFO: Processing buffer {"connection_id":152970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:18:18] local.INFO: IMEI packet received {"connection_id":152970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":152970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:18:23] local.INFO: TCP Data received {"connection_id":152970,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:18:23] local.INFO: Processing buffer {"connection_id":152970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:18:23] local.INFO: IMEI packet received {"connection_id":152970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":152970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:18:24] local.INFO: TCP Data received {"connection_id":152970,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:18:24] local.INFO: Processing buffer {"connection_id":152970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:18:24] local.INFO: Packet analysis {"connection_id":152970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:18:24] local.INFO: Extracted packet for processing {"connection_id":152970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:18:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336342784001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786470390000,"timestamp_ms":1786470390000,"timestamp_seconds":1786470390,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eed8f0"} 
[2026-08-11 23:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:18: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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:18:24] 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-08-11 23: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-08-11 23:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336342784001,"66":25593,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336342784001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:18:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:18:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336342784001,"power":25593,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":152970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:18:24] local.INFO: GPS data processed {"connection_id":152970,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:18:24] local.INFO: Acknowledgment sent {"connection_id":152970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:18:37] local.INFO: TCP Data received {"connection_id":155280,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:18:37] local.INFO: Processing buffer {"connection_id":155280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:18:37] local.INFO: IMEI packet received {"connection_id":155280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":155280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:18:43] local.INFO: TCP Data received {"connection_id":155280,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:18:43] local.INFO: Processing buffer {"connection_id":155280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:18:43] local.INFO: IMEI packet received {"connection_id":155280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":155280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:18:52] local.INFO: TCP Data received {"connection_id":155280,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:18:52] local.INFO: Processing buffer {"connection_id":155280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:18:52] local.INFO: Packet analysis {"connection_id":155280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:18:52] local.INFO: Extracted packet for processing {"connection_id":155280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:18:52] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336359936001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23: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-08-11 23:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786470457000,"timestamp_ms":1786470457000,"timestamp_seconds":1786470457,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1efdea8"} 
[2026-08-11 23:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:18: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-08-11 23: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-08-11 23: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-08-11 23: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-08-11 23:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":155280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":155280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":155280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336359936001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336359936001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:18:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:18:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336359936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":155280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:18:52] local.INFO: GPS data processed {"connection_id":155280,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:18:52] local.INFO: Acknowledgment sent {"connection_id":155280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:18:55] local.INFO: TCP Data received {"connection_id":152970,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:18:55] local.INFO: Processing buffer {"connection_id":152970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:18:55] local.INFO: Packet analysis {"connection_id":152970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:18:55] local.INFO: Extracted packet for processing {"connection_id":152970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:18:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336342784001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786470390000,"timestamp_ms":1786470390000,"timestamp_seconds":1786470390,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eed8f0"} 
[2026-08-11 23:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:18:55] 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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:18: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-08-11 23: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-08-11 23:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336342784001,"66":25593,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336342784001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:18:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:18:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336342784001,"power":25593,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":152970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:18:55] local.INFO: GPS data processed {"connection_id":152970,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:18:55] local.INFO: Acknowledgment sent {"connection_id":152970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:19:23] local.INFO: TCP Data received {"connection_id":152562,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:19:23] local.INFO: Processing buffer {"connection_id":152562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:19:23] local.INFO: IMEI packet received {"connection_id":152562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":152562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:19:28] local.INFO: TCP Data received {"connection_id":152562,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:19:28] local.INFO: Processing buffer {"connection_id":152562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:19:28] local.INFO: IMEI packet received {"connection_id":152562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":152562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:19:29] local.INFO: TCP Data received {"connection_id":152562,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:19:29] local.INFO: Processing buffer {"connection_id":152562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:19:29] local.INFO: Packet analysis {"connection_id":152562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:19:29] local.INFO: Extracted packet for processing {"connection_id":152562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:19:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336342784001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786470390000,"timestamp_ms":1786470390000,"timestamp_seconds":1786470390,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eed8f0"} 
[2026-08-11 23:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:19:29] 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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:19:29] 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-08-11 23: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-08-11 23:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336342784001,"66":25593,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336342784001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:19:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:19:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336342784001,"power":25593,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":152562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:19:29] local.INFO: GPS data processed {"connection_id":152562,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:19:29] local.INFO: Acknowledgment sent {"connection_id":152562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:19:34] local.INFO: TCP Data received {"connection_id":152562,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:19:34] local.INFO: Processing buffer {"connection_id":152562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:19:34] local.INFO: Packet analysis {"connection_id":152562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:19:34] local.INFO: Extracted packet for processing {"connection_id":152562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:19:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336342784001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786470390000,"timestamp_ms":1786470390000,"timestamp_seconds":1786470390,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eed8f0"} 
[2026-08-11 23:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:19:34] 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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:19:34] 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-08-11 23: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-08-11 23:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336342784001,"66":25593,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336342784001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:19:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:19:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336342784001,"power":25593,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":152562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:19:34] local.INFO: GPS data processed {"connection_id":152562,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:19:34] local.INFO: Acknowledgment sent {"connection_id":152562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:19:43] local.INFO: TCP Data received {"connection_id":152563,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:19:43] local.INFO: Processing buffer {"connection_id":152563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:19:43] local.INFO: IMEI packet received {"connection_id":152563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":152563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:19:48] local.INFO: TCP Data received {"connection_id":152563,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:19:48] local.INFO: Processing buffer {"connection_id":152563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:19:48] local.INFO: IMEI packet received {"connection_id":152563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":152563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:19:48] local.INFO: TCP Data received {"connection_id":152563,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:19:48] local.INFO: Processing buffer {"connection_id":152563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:19:48] local.INFO: Packet analysis {"connection_id":152563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:19:48] local.INFO: Extracted packet for processing {"connection_id":152563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:19:48] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:19: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-08-11 23:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336359936001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:19: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-08-11 23:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786470457000,"timestamp_ms":1786470457000,"timestamp_seconds":1786470457,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1efdea8"} 
[2026-08-11 23:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:19:48] 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-08-11 23:19: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:19:48] 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-08-11 23:19: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-08-11 23:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336359936001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336359936001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:19:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:19:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336359936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":152563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:19:49] local.INFO: GPS data processed {"connection_id":152563,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:19:49] local.INFO: Acknowledgment sent {"connection_id":152563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:19:53] local.INFO: TCP Data received {"connection_id":152563,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:19:53] local.INFO: Processing buffer {"connection_id":152563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:19:53] local.INFO: Packet analysis {"connection_id":152563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:19:53] local.INFO: Extracted packet for processing {"connection_id":152563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:19:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336359936001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23: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-08-11 23:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786470457000,"timestamp_ms":1786470457000,"timestamp_seconds":1786470457,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1efdea8"} 
[2026-08-11 23:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:19: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-08-11 23: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-08-11 23: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-08-11 23: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-08-11 23:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336359936001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336359936001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:19:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:19:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336359936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":152563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:19:53] local.INFO: GPS data processed {"connection_id":152563,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:19:53] local.INFO: Acknowledgment sent {"connection_id":152563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:20:18] local.INFO: TCP Data received {"connection_id":153890,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:20:18] local.INFO: Processing buffer {"connection_id":153890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:20:18] local.INFO: IMEI packet received {"connection_id":153890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":153890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:20:23] local.INFO: TCP Data received {"connection_id":153890,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:20:23] local.INFO: Processing buffer {"connection_id":153890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:20:23] local.INFO: IMEI packet received {"connection_id":153890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":153890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:20:24] local.INFO: TCP Data received {"connection_id":153890,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:20:24] local.INFO: Processing buffer {"connection_id":153890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:20:24] local.INFO: Packet analysis {"connection_id":153890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:20:24] local.INFO: Extracted packet for processing {"connection_id":153890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:20:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336342784001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786470390000,"timestamp_ms":1786470390000,"timestamp_seconds":1786470390,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eed8f0"} 
[2026-08-11 23:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:20: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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:20:24] 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-08-11 23: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-08-11 23:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336342784001,"66":25593,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336342784001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:20:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:20:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336342784001,"power":25593,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":153890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:20:24] local.INFO: GPS data processed {"connection_id":153890,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:20:24] local.INFO: Acknowledgment sent {"connection_id":153890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:20:29] local.INFO: TCP Data received {"connection_id":153890,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:20:29] local.INFO: Processing buffer {"connection_id":153890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:20:29] local.INFO: Packet analysis {"connection_id":153890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:20:29] local.INFO: Extracted packet for processing {"connection_id":153890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:20:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336342784001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786470390000,"timestamp_ms":1786470390000,"timestamp_seconds":1786470390,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eed8f0"} 
[2026-08-11 23:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:20:29] 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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:20:29] 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-08-11 23: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-08-11 23:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336342784001,"66":25593,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336342784001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:20:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:20:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336342784001,"power":25593,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":153890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:20:29] local.INFO: GPS data processed {"connection_id":153890,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:20:29] local.INFO: Acknowledgment sent {"connection_id":153890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:20:38] local.INFO: TCP Data received {"connection_id":152971,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:20:38] local.INFO: Processing buffer {"connection_id":152971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:20:38] local.INFO: IMEI packet received {"connection_id":152971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":152971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:20:43] local.INFO: TCP Data received {"connection_id":152971,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:20:43] local.INFO: Processing buffer {"connection_id":152971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:20:43] local.INFO: IMEI packet received {"connection_id":152971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":152971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:20:44] local.INFO: TCP Data received {"connection_id":152971,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:20:44] local.INFO: Processing buffer {"connection_id":152971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:20:44] local.INFO: Packet analysis {"connection_id":152971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:20:44] local.INFO: Extracted packet for processing {"connection_id":152971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:20:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336359936001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786470457000,"timestamp_ms":1786470457000,"timestamp_seconds":1786470457,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1efdea8"} 
[2026-08-11 23:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:20:44] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:20:44] 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-08-11 23: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-08-11 23:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336359936001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336359936001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:20:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:20:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336359936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":152971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:20:44] local.INFO: GPS data processed {"connection_id":152971,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:20:44] local.INFO: Acknowledgment sent {"connection_id":152971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:21:00] local.INFO: TCP Data received {"connection_id":153890,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:21:00] local.INFO: Processing buffer {"connection_id":153890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:21:00] local.INFO: Packet analysis {"connection_id":153890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:21:00] local.INFO: Extracted packet for processing {"connection_id":153890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:21:00] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336342784001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786470390000,"timestamp_ms":1786470390000,"timestamp_seconds":1786470390,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eed8f0"} 
[2026-08-11 23:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:21:00] 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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:21: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-08-11 23: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-08-11 23:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336342784001,"66":25593,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336342784001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:21:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:21:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336342784001,"power":25593,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":153890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:21:00] local.INFO: GPS data processed {"connection_id":153890,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:21:00] local.INFO: Acknowledgment sent {"connection_id":153890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:21:15] local.INFO: TCP Data received {"connection_id":152971,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:21:15] local.INFO: Processing buffer {"connection_id":152971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:21:15] local.INFO: Packet analysis {"connection_id":152971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:21:15] local.INFO: Extracted packet for processing {"connection_id":152971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336359936001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786470457000,"timestamp_ms":1786470457000,"timestamp_seconds":1786470457,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1efdea8"} 
[2026-08-11 23:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:21:15] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:21:15] 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-08-11 23: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-08-11 23:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336359936001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336359936001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:21:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:21:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336359936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":152971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:21:15] local.INFO: GPS data processed {"connection_id":152971,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:21:15] local.INFO: Acknowledgment sent {"connection_id":152971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:21:18] local.INFO: TCP Data received {"connection_id":155281,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:21:18] local.INFO: Processing buffer {"connection_id":155281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:21:18] local.INFO: IMEI packet received {"connection_id":155281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":155281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:21:23] local.INFO: TCP Data received {"connection_id":155281,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:21:23] local.INFO: Processing buffer {"connection_id":155281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:21:23] local.INFO: IMEI packet received {"connection_id":155281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":155281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:21:24] local.INFO: TCP Data received {"connection_id":155281,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:21:24] local.INFO: Processing buffer {"connection_id":155281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:21:24] local.INFO: Packet analysis {"connection_id":155281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:21:24] local.INFO: Extracted packet for processing {"connection_id":155281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:21:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336342784001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786470390000,"timestamp_ms":1786470390000,"timestamp_seconds":1786470390,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eed8f0"} 
[2026-08-11 23:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:21: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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:21:24] 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-08-11 23: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-08-11 23:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336342784001,"66":25593,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336342784001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:21:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:21:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336342784001,"power":25593,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":155281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:21:24] local.INFO: GPS data processed {"connection_id":155281,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:21:24] local.INFO: Acknowledgment sent {"connection_id":155281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:21:38] local.INFO: TCP Data received {"connection_id":155282,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:21:38] local.INFO: Processing buffer {"connection_id":155282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:21:38] local.INFO: IMEI packet received {"connection_id":155282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":155282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:21:43] local.INFO: TCP Data received {"connection_id":155282,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:21:43] local.INFO: Processing buffer {"connection_id":155282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:21:43] local.INFO: IMEI packet received {"connection_id":155282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":155282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:21:44] local.INFO: TCP Data received {"connection_id":155282,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:21:44] local.INFO: Processing buffer {"connection_id":155282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:21:44] local.INFO: Packet analysis {"connection_id":155282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:21:44] local.INFO: Extracted packet for processing {"connection_id":155282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:21:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336359936001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786470457000,"timestamp_ms":1786470457000,"timestamp_seconds":1786470457,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1efdea8"} 
[2026-08-11 23:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:21:44] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:21:44] 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-08-11 23: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-08-11 23:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336359936001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336359936001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:21:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:21:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336359936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":155282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:21:44] local.INFO: GPS data processed {"connection_id":155282,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:21:44] local.INFO: Acknowledgment sent {"connection_id":155282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:21:55] local.INFO: TCP Data received {"connection_id":155281,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:21:55] local.INFO: Processing buffer {"connection_id":155281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1eed8f0012d77ab8005f2a748000600fd26..."} 
[2026-08-11 23:21:55] local.INFO: Packet analysis {"connection_id":155281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:21:55] local.INFO: Extracted packet for processing {"connection_id":155281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ee"} 
[2026-08-11 23:21:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 23:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336342784001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786470390000,"timestamp_ms":1786470390000,"timestamp_seconds":1786470390,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1eed8f0"} 
[2026-08-11 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-08-11 23:21:55] 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-08-11 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:21: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-08-11 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-08-11 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-08-11 23:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336342784001,"66":25593,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336342784001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:21:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:21:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336342784001,"power":25593,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":155281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:21:55] local.INFO: GPS data processed {"connection_id":155281,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:21:55] local.INFO: Acknowledgment sent {"connection_id":155281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:22:15] local.INFO: TCP Data received {"connection_id":155282,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:22:15] local.INFO: Processing buffer {"connection_id":155282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:22:15] local.INFO: Packet analysis {"connection_id":155282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:22:15] local.INFO: Extracted packet for processing {"connection_id":155282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336359936001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786470457000,"timestamp_ms":1786470457000,"timestamp_seconds":1786470457,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1efdea8"} 
[2026-08-11 23:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:22:15] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:22:15] 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-08-11 23: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-08-11 23:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336359936001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336359936001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:22:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336359936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":155282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:22:15] local.INFO: GPS data processed {"connection_id":155282,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:22:15] local.INFO: Acknowledgment sent {"connection_id":155282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:22:18] local.INFO: TCP Data received {"connection_id":153891,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:22:18] local.INFO: Processing buffer {"connection_id":153891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:22:18] local.INFO: IMEI packet received {"connection_id":153891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":153891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:22:23] local.INFO: TCP Data received {"connection_id":153891,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:22:23] local.INFO: Processing buffer {"connection_id":153891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:22:23] local.INFO: IMEI packet received {"connection_id":153891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":153891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:22:24] local.INFO: TCP Data received {"connection_id":153891,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:22:24] local.INFO: Processing buffer {"connection_id":153891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:22:24] local.INFO: Packet analysis {"connection_id":153891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:22:24] local.INFO: Extracted packet for processing {"connection_id":153891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:22:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336419840001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786470691000,"timestamp_ms":1786470691000,"timestamp_seconds":1786470691,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f370b8"} 
[2026-08-11 23:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-11 23:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 23: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-08-11 23:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336419840001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336419840001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:22:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:22:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336419840001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":153891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:22:24] local.INFO: GPS data processed {"connection_id":153891,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:22:24] local.INFO: Acknowledgment sent {"connection_id":153891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:22:37] local.INFO: TCP Data received {"connection_id":153892,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:22:37] local.INFO: Processing buffer {"connection_id":153892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:22:37] local.INFO: IMEI packet received {"connection_id":153892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":153892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:22:43] local.INFO: TCP Data received {"connection_id":153892,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:22:43] local.INFO: Processing buffer {"connection_id":153892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:22:43] local.INFO: IMEI packet received {"connection_id":153892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":153892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:22:44] local.INFO: TCP Data received {"connection_id":153892,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:22:44] local.INFO: Processing buffer {"connection_id":153892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:22:44] local.INFO: Packet analysis {"connection_id":153892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:22:44] local.INFO: Extracted packet for processing {"connection_id":153892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:22:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:22: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-08-11 23:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336359936001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786470457000,"timestamp_ms":1786470457000,"timestamp_seconds":1786470457,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1efdea8"} 
[2026-08-11 23:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:22:44] 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-08-11 23:22: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:22:44] 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-08-11 23:22: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-08-11 23:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336359936001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336359936001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:22:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:22:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336359936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":153892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:22:44] local.INFO: GPS data processed {"connection_id":153892,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:22:44] local.INFO: Acknowledgment sent {"connection_id":153892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:22:55] local.INFO: TCP Data received {"connection_id":153891,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:22:55] local.INFO: Processing buffer {"connection_id":153891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:22:55] local.INFO: Packet analysis {"connection_id":153891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:22:55] local.INFO: Extracted packet for processing {"connection_id":153891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:22:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336419840001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786470691000,"timestamp_ms":1786470691000,"timestamp_seconds":1786470691,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f370b8"} 
[2026-08-11 23:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-11 23:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 23: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-08-11 23:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336419840001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336419840001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:22:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:22:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336419840001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":153891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:22:55] local.INFO: GPS data processed {"connection_id":153891,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:22:55] local.INFO: Acknowledgment sent {"connection_id":153891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:23:15] local.INFO: TCP Data received {"connection_id":153892,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:23:15] local.INFO: Processing buffer {"connection_id":153892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1efdea8012d196a00071fef68003b011829..."} 
[2026-08-11 23:23:15] local.INFO: Packet analysis {"connection_id":153892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:23:15] local.INFO: Extracted packet for processing {"connection_id":153892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1ef"} 
[2026-08-11 23:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:23: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-08-11 23:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336359936001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786470457000,"timestamp_ms":1786470457000,"timestamp_seconds":1786470457,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1efdea8"} 
[2026-08-11 23:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:23:15] 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-08-11 23:23: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:23:15] 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-08-11 23:23: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-08-11 23:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336359936001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336359936001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:23:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336359936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":153892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:23:15] local.INFO: GPS data processed {"connection_id":153892,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:23:15] local.INFO: Acknowledgment sent {"connection_id":153892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:23:18] local.INFO: TCP Data received {"connection_id":152972,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:23:18] local.INFO: Processing buffer {"connection_id":152972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:23:18] local.INFO: IMEI packet received {"connection_id":152972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":152972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:23:23] local.INFO: TCP Data received {"connection_id":152972,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:23:23] local.INFO: Processing buffer {"connection_id":152972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:23:23] local.INFO: IMEI packet received {"connection_id":152972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":152972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:23:24] local.INFO: TCP Data received {"connection_id":152972,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:23:24] local.INFO: Processing buffer {"connection_id":152972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:23:24] local.INFO: Packet analysis {"connection_id":152972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:23:24] local.INFO: Extracted packet for processing {"connection_id":152972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:23:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336419840001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786470691000,"timestamp_ms":1786470691000,"timestamp_seconds":1786470691,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f370b8"} 
[2026-08-11 23:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-11 23:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 23: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-08-11 23:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336419840001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336419840001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:23:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:23:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336419840001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":152972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:23:24] local.INFO: GPS data processed {"connection_id":152972,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:23:24] local.INFO: Acknowledgment sent {"connection_id":152972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:23:43] local.INFO: TCP Data received {"connection_id":155283,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:23:43] local.INFO: Processing buffer {"connection_id":155283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:23:43] local.INFO: IMEI packet received {"connection_id":155283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":155283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:23:48] local.INFO: TCP Data received {"connection_id":155283,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:23:48] local.INFO: Processing buffer {"connection_id":155283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:23:48] local.INFO: IMEI packet received {"connection_id":155283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":155283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:23:48] local.INFO: TCP Data received {"connection_id":155283,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:23:48] local.INFO: Processing buffer {"connection_id":155283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:23:48] local.INFO: Packet analysis {"connection_id":155283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:23:48] local.INFO: Extracted packet for processing {"connection_id":155283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:23:48] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:23: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-08-11 23:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336436992001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:23: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-08-11 23:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786470758000,"timestamp_ms":1786470758000,"timestamp_seconds":1786470758,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f47670"} 
[2026-08-11 23:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:23:48] 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-08-11 23:23: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:23:48] 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-08-11 23:23: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-08-11 23:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":155283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":155283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":155283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336436992001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336436992001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:23:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:23:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336436992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":155283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:23:49] local.INFO: GPS data processed {"connection_id":155283,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:23:49] local.INFO: Acknowledgment sent {"connection_id":155283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:23:55] local.INFO: TCP Data received {"connection_id":152972,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:23:55] local.INFO: Processing buffer {"connection_id":152972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:23:55] local.INFO: Packet analysis {"connection_id":152972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:23:55] local.INFO: Extracted packet for processing {"connection_id":152972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:23:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336419840001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786470691000,"timestamp_ms":1786470691000,"timestamp_seconds":1786470691,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f370b8"} 
[2026-08-11 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-08-11 23:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-11 23:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 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-08-11 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-08-11 23:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336419840001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336419840001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:23:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:23:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336419840001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":152972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:23:55] local.INFO: GPS data processed {"connection_id":152972,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:23:55] local.INFO: Acknowledgment sent {"connection_id":152972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:23:57] local.INFO: TCP Data received {"connection_id":155283,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:23:57] local.INFO: Processing buffer {"connection_id":155283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:23:57] local.INFO: Packet analysis {"connection_id":155283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:23:57] local.INFO: Extracted packet for processing {"connection_id":155283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:23:57] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:23: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-08-11 23:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336436992001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:23: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-08-11 23:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786470758000,"timestamp_ms":1786470758000,"timestamp_seconds":1786470758,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f47670"} 
[2026-08-11 23:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:23:57] 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-08-11 23:23: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-08-11 23:23: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-08-11 23:23: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-08-11 23:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":155283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":155283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":155283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336436992001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336436992001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:23:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:23:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336436992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":155283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:23:57] local.INFO: GPS data processed {"connection_id":155283,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:23:57] local.INFO: Acknowledgment sent {"connection_id":155283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:24:23] local.INFO: TCP Data received {"connection_id":153893,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:24:23] local.INFO: Processing buffer {"connection_id":153893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:24:23] local.INFO: IMEI packet received {"connection_id":153893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":153893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:24:28] local.INFO: TCP Data received {"connection_id":153893,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:24:28] local.INFO: Processing buffer {"connection_id":153893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:24:28] local.INFO: IMEI packet received {"connection_id":153893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":153893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:24:29] local.INFO: TCP Data received {"connection_id":153893,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:24:29] local.INFO: Processing buffer {"connection_id":153893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:24:29] local.INFO: Packet analysis {"connection_id":153893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:24:29] local.INFO: Extracted packet for processing {"connection_id":153893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:24:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336419840001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786470691000,"timestamp_ms":1786470691000,"timestamp_seconds":1786470691,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f370b8"} 
[2026-08-11 23:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-11 23:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 23: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-08-11 23:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336419840001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336419840001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:24:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:24:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336419840001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":153893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:24:29] local.INFO: GPS data processed {"connection_id":153893,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:24:29] local.INFO: Acknowledgment sent {"connection_id":153893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:24:34] local.INFO: TCP Data received {"connection_id":153893,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:24:34] local.INFO: Processing buffer {"connection_id":153893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:24:34] local.INFO: Packet analysis {"connection_id":153893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:24:34] local.INFO: Extracted packet for processing {"connection_id":153893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:24:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23:24: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-08-11 23:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336419840001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786470691000,"timestamp_ms":1786470691000,"timestamp_seconds":1786470691,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f370b8"} 
[2026-08-11 23:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23:24: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":249,"data_length":795,"current_offset":136} 
[2026-08-11 23:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 23:24: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-08-11 23:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336419840001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336419840001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:24:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:24:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336419840001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":153893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:24:34] local.INFO: GPS data processed {"connection_id":153893,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:24:34] local.INFO: Acknowledgment sent {"connection_id":153893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:24:38] local.INFO: TCP Data received {"connection_id":155284,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:24:38] local.INFO: Processing buffer {"connection_id":155284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:24:38] local.INFO: IMEI packet received {"connection_id":155284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":155284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:24:43] local.INFO: TCP Data received {"connection_id":155284,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:24:43] local.INFO: Processing buffer {"connection_id":155284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:24:43] local.INFO: IMEI packet received {"connection_id":155284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":155284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:24:44] local.INFO: TCP Data received {"connection_id":155284,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:24:44] local.INFO: Processing buffer {"connection_id":155284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:24:44] local.INFO: Packet analysis {"connection_id":155284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:24:44] local.INFO: Extracted packet for processing {"connection_id":155284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:24:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336436992001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786470758000,"timestamp_ms":1786470758000,"timestamp_seconds":1786470758,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f47670"} 
[2026-08-11 23:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:24: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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:24:44] 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-08-11 23: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-08-11 23:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336436992001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336436992001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:24:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:24:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336436992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":155284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:24:44] local.INFO: GPS data processed {"connection_id":155284,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:24:44] local.INFO: Acknowledgment sent {"connection_id":155284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:25:15] local.INFO: TCP Data received {"connection_id":155284,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:25:15] local.INFO: Processing buffer {"connection_id":155284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:25:15] local.INFO: Packet analysis {"connection_id":155284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:25:15] local.INFO: Extracted packet for processing {"connection_id":155284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336436992001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786470758000,"timestamp_ms":1786470758000,"timestamp_seconds":1786470758,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f47670"} 
[2026-08-11 23:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:25: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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:25:15] 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-08-11 23: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-08-11 23:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336436992001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336436992001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:25:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336436992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":155284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:25:15] local.INFO: GPS data processed {"connection_id":155284,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:25:15] local.INFO: Acknowledgment sent {"connection_id":155284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:25:18] local.INFO: TCP Data received {"connection_id":152973,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:25:18] local.INFO: Processing buffer {"connection_id":152973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:25:18] local.INFO: IMEI packet received {"connection_id":152973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":152973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:25:23] local.INFO: TCP Data received {"connection_id":152973,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:25:23] local.INFO: Processing buffer {"connection_id":152973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:25:23] local.INFO: IMEI packet received {"connection_id":152973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":152973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:25:24] local.INFO: TCP Data received {"connection_id":152973,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:25:24] local.INFO: Processing buffer {"connection_id":152973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:25:24] local.INFO: Packet analysis {"connection_id":152973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:25:24] local.INFO: Extracted packet for processing {"connection_id":152973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:25:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336419840001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786470691000,"timestamp_ms":1786470691000,"timestamp_seconds":1786470691,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f370b8"} 
[2026-08-11 23:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-11 23:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 23: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-08-11 23:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336419840001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336419840001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:25:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:25:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336419840001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":152973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:25:24] local.INFO: GPS data processed {"connection_id":152973,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:25:24] local.INFO: Acknowledgment sent {"connection_id":152973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:25:38] local.INFO: TCP Data received {"connection_id":152564,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:25:38] local.INFO: Processing buffer {"connection_id":152564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:25:38] local.INFO: IMEI packet received {"connection_id":152564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":152564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:25:43] local.INFO: TCP Data received {"connection_id":152564,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:25:43] local.INFO: Processing buffer {"connection_id":152564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:25:43] local.INFO: IMEI packet received {"connection_id":152564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":152564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:25:43] local.INFO: TCP Data received {"connection_id":152564,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:25:43] local.INFO: Processing buffer {"connection_id":152564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:25:43] local.INFO: Packet analysis {"connection_id":152564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:25:43] local.INFO: Extracted packet for processing {"connection_id":152564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:25:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336436992001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786470758000,"timestamp_ms":1786470758000,"timestamp_seconds":1786470758,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f47670"} 
[2026-08-11 23:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:25:43] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:25:43] 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-08-11 23: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-08-11 23:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336436992001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336436992001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:25:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:25:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336436992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":152564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:25:44] local.INFO: GPS data processed {"connection_id":152564,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:25:44] local.INFO: Acknowledgment sent {"connection_id":152564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:25:56] local.INFO: TCP Data received {"connection_id":152973,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:25:56] local.INFO: Processing buffer {"connection_id":152973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:25:56] local.INFO: Packet analysis {"connection_id":152973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:25:56] local.INFO: Extracted packet for processing {"connection_id":152973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:25:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336419840001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786470691000,"timestamp_ms":1786470691000,"timestamp_seconds":1786470691,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f370b8"} 
[2026-08-11 23:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-11 23:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 23: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-08-11 23:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336419840001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336419840001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:25:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:25:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336419840001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":152973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:25:56] local.INFO: GPS data processed {"connection_id":152973,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:25:56] local.INFO: Acknowledgment sent {"connection_id":152973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:26:15] local.INFO: TCP Data received {"connection_id":152564,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:26:15] local.INFO: Processing buffer {"connection_id":152564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:26:15] local.INFO: Packet analysis {"connection_id":152564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:26:15] local.INFO: Extracted packet for processing {"connection_id":152564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336436992001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786470758000,"timestamp_ms":1786470758000,"timestamp_seconds":1786470758,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f47670"} 
[2026-08-11 23:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:26: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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:26:15] 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-08-11 23: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-08-11 23:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336436992001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336436992001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:26:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336436992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":152564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:26:15] local.INFO: GPS data processed {"connection_id":152564,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:26:15] local.INFO: Acknowledgment sent {"connection_id":152564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:26:18] local.INFO: TCP Data received {"connection_id":153894,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:26:18] local.INFO: Processing buffer {"connection_id":153894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:26:18] local.INFO: IMEI packet received {"connection_id":153894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":153894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:26:23] local.INFO: TCP Data received {"connection_id":153894,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:26:23] local.INFO: Processing buffer {"connection_id":153894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:26:23] local.INFO: IMEI packet received {"connection_id":153894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":153894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:26:24] local.INFO: TCP Data received {"connection_id":153894,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:26:24] local.INFO: Processing buffer {"connection_id":153894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:26:24] local.INFO: Packet analysis {"connection_id":153894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:26:24] local.INFO: Extracted packet for processing {"connection_id":153894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:26:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336419840001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786470691000,"timestamp_ms":1786470691000,"timestamp_seconds":1786470691,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f370b8"} 
[2026-08-11 23:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-11 23:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 23: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-08-11 23:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336419840001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336419840001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:26:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:26:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336419840001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":153894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:26:24] local.INFO: GPS data processed {"connection_id":153894,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:26:24] local.INFO: Acknowledgment sent {"connection_id":153894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:26:37] local.INFO: TCP Data received {"connection_id":153895,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:26:37] local.INFO: Processing buffer {"connection_id":153895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:26:37] local.INFO: IMEI packet received {"connection_id":153895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":153895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:26:43] local.INFO: TCP Data received {"connection_id":153895,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:26:43] local.INFO: Processing buffer {"connection_id":153895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:26:43] local.INFO: IMEI packet received {"connection_id":153895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":153895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:26:44] local.INFO: TCP Data received {"connection_id":153895,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:26:44] local.INFO: Processing buffer {"connection_id":153895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:26:44] local.INFO: Packet analysis {"connection_id":153895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:26:44] local.INFO: Extracted packet for processing {"connection_id":153895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:26: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-08-11 23:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336436992001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786470758000,"timestamp_ms":1786470758000,"timestamp_seconds":1786470758,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f47670"} 
[2026-08-11 23:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:26: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-08-11 23:26: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:26:44] 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-08-11 23:26: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-08-11 23:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336436992001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336436992001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:26:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:26:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336436992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":153895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:26:44] local.INFO: GPS data processed {"connection_id":153895,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:26:44] local.INFO: Acknowledgment sent {"connection_id":153895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:26:55] local.INFO: TCP Data received {"connection_id":153894,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:26:55] local.INFO: Processing buffer {"connection_id":153894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f370b8012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:26:55] local.INFO: Packet analysis {"connection_id":153894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:26:55] local.INFO: Extracted packet for processing {"connection_id":153894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f3"} 
[2026-08-11 23:26:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336419840001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786470691000,"timestamp_ms":1786470691000,"timestamp_seconds":1786470691,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f370b8"} 
[2026-08-11 23:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":249,"data_length":795,"current_offset":136} 
[2026-08-11 23:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-11 23: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-08-11 23:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336419840001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336419840001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:26:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:26:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336419840001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":153894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:26:55] local.INFO: GPS data processed {"connection_id":153894,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:26:55] local.INFO: Acknowledgment sent {"connection_id":153894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:27:15] local.INFO: TCP Data received {"connection_id":153895,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:27:15] local.INFO: Processing buffer {"connection_id":153895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:27:15] local.INFO: Packet analysis {"connection_id":153895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:27:15] local.INFO: Extracted packet for processing {"connection_id":153895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336436992001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786470758000,"timestamp_ms":1786470758000,"timestamp_seconds":1786470758,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f47670"} 
[2026-08-11 23:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:27: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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:27:15] 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-08-11 23: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-08-11 23:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336436992001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336436992001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:27:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336436992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":153895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:27:15] local.INFO: GPS data processed {"connection_id":153895,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:27:15] local.INFO: Acknowledgment sent {"connection_id":153895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:27:18] local.INFO: TCP Data received {"connection_id":152974,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:27:18] local.INFO: Processing buffer {"connection_id":152974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:27:18] local.INFO: IMEI packet received {"connection_id":152974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":152974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:27:23] local.INFO: TCP Data received {"connection_id":152974,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:27:23] local.INFO: Processing buffer {"connection_id":152974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:27:23] local.INFO: IMEI packet received {"connection_id":152974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":152974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:27:24] local.INFO: TCP Data received {"connection_id":152974,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:27:24] local.INFO: Processing buffer {"connection_id":152974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:27:24] local.INFO: Packet analysis {"connection_id":152974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:27:24] local.INFO: Extracted packet for processing {"connection_id":152974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:27:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336496896001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786470992000,"timestamp_ms":1786470992000,"timestamp_seconds":1786470992,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f80880"} 
[2026-08-11 23:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:27:24] 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-08-11 23: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-08-11 23:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336496896001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336496896001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:27:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:27:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336496896001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":152974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:27:24] local.INFO: GPS data processed {"connection_id":152974,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:27:24] local.INFO: Acknowledgment sent {"connection_id":152974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:27:37] local.INFO: TCP Data received {"connection_id":152975,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:27:37] local.INFO: Processing buffer {"connection_id":152975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:27:37] local.INFO: IMEI packet received {"connection_id":152975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":152975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:27:43] local.INFO: TCP Data received {"connection_id":152975,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:27:43] local.INFO: Processing buffer {"connection_id":152975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:27:43] local.INFO: IMEI packet received {"connection_id":152975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":152975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:27:43] local.INFO: TCP Data received {"connection_id":152975,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:27:43] local.INFO: Processing buffer {"connection_id":152975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:27:43] local.INFO: Packet analysis {"connection_id":152975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:27:43] local.INFO: Extracted packet for processing {"connection_id":152975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:27:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336436992001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786470758000,"timestamp_ms":1786470758000,"timestamp_seconds":1786470758,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f47670"} 
[2026-08-11 23:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:27:43] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:27:43] 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-08-11 23: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-08-11 23:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336436992001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336436992001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:27:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:27:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336436992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":152975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:27:44] local.INFO: GPS data processed {"connection_id":152975,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:27:44] local.INFO: Acknowledgment sent {"connection_id":152975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:27:56] local.INFO: TCP Data received {"connection_id":152974,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:27:56] local.INFO: Processing buffer {"connection_id":152974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:27:56] local.INFO: Packet analysis {"connection_id":152974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:27:56] local.INFO: Extracted packet for processing {"connection_id":152974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:27:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336496896001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786470992000,"timestamp_ms":1786470992000,"timestamp_seconds":1786470992,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f80880"} 
[2026-08-11 23:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:27: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-08-11 23: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-08-11 23:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336496896001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336496896001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:27:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:27:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336496896001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":152974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:27:56] local.INFO: GPS data processed {"connection_id":152974,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:27:56] local.INFO: Acknowledgment sent {"connection_id":152974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:28:15] local.INFO: TCP Data received {"connection_id":152975,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:28:15] local.INFO: Processing buffer {"connection_id":152975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f47670012d196a00071fef68003b011827..."} 
[2026-08-11 23:28:15] local.INFO: Packet analysis {"connection_id":152975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:28:15] local.INFO: Extracted packet for processing {"connection_id":152975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f4"} 
[2026-08-11 23:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:28: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-08-11 23:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336436992001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786470758000,"timestamp_ms":1786470758000,"timestamp_seconds":1786470758,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f47670"} 
[2026-08-11 23:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:28: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-08-11 23:28: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:28:15] 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-08-11 23:28: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-08-11 23:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336436992001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336436992001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:28:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336436992001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":152975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:28:15] local.INFO: GPS data processed {"connection_id":152975,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:28:15] local.INFO: Acknowledgment sent {"connection_id":152975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:28:23] local.INFO: TCP Data received {"connection_id":153896,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:28:23] local.INFO: Processing buffer {"connection_id":153896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:28:23] local.INFO: IMEI packet received {"connection_id":153896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":153896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:28:28] local.INFO: TCP Data received {"connection_id":153896,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:28:28] local.INFO: Processing buffer {"connection_id":153896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:28:28] local.INFO: IMEI packet received {"connection_id":153896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":153896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:28:29] local.INFO: TCP Data received {"connection_id":153896,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:28:29] local.INFO: Processing buffer {"connection_id":153896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:28:29] local.INFO: Packet analysis {"connection_id":153896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:28:29] local.INFO: Extracted packet for processing {"connection_id":153896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:28:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23:28: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-08-11 23:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336496896001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786470992000,"timestamp_ms":1786470992000,"timestamp_seconds":1786470992,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f80880"} 
[2026-08-11 23:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23:28: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:28:29] 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-08-11 23:28: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-08-11 23:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336496896001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336496896001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:28:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:28:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336496896001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":153896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:28:29] local.INFO: GPS data processed {"connection_id":153896,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:28:29] local.INFO: Acknowledgment sent {"connection_id":153896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:28:34] local.INFO: TCP Data received {"connection_id":153896,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:28:34] local.INFO: Processing buffer {"connection_id":153896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:28:34] local.INFO: Packet analysis {"connection_id":153896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:28:34] local.INFO: Extracted packet for processing {"connection_id":153896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:28:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23:28: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-08-11 23:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336496896001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786470992000,"timestamp_ms":1786470992000,"timestamp_seconds":1786470992,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f80880"} 
[2026-08-11 23:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23:28: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:28:34] 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-08-11 23:28: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-08-11 23:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336496896001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336496896001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:28:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:28:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336496896001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":153896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:28:34] local.INFO: GPS data processed {"connection_id":153896,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:28:34] local.INFO: Acknowledgment sent {"connection_id":153896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:28:43] local.INFO: TCP Data received {"connection_id":152976,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:28:43] local.INFO: Processing buffer {"connection_id":152976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:28:43] local.INFO: IMEI packet received {"connection_id":152976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":152976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:28:48] local.INFO: TCP Data received {"connection_id":152976,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:28:48] local.INFO: Processing buffer {"connection_id":152976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:28:48] local.INFO: IMEI packet received {"connection_id":152976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":152976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:28:48] local.INFO: TCP Data received {"connection_id":152976,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:28:48] local.INFO: Processing buffer {"connection_id":152976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:28:48] local.INFO: Packet analysis {"connection_id":152976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:28:48] local.INFO: Extracted packet for processing {"connection_id":152976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:28:48] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:28: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-08-11 23:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336514048001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:28: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-08-11 23:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786471059000,"timestamp_ms":1786471059000,"timestamp_seconds":1786471059,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f90e38"} 
[2026-08-11 23:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:28:48] 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-08-11 23:28: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:28:48] 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-08-11 23:28: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-08-11 23:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336514048001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336514048001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:28:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:28:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336514048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":152976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:28:49] local.INFO: GPS data processed {"connection_id":152976,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:28:49] local.INFO: Acknowledgment sent {"connection_id":152976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:29:18] local.INFO: TCP Data received {"connection_id":152977,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:29:18] local.INFO: Processing buffer {"connection_id":152977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:29:18] local.INFO: IMEI packet received {"connection_id":152977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":152977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:29:20] local.INFO: TCP Data received {"connection_id":152976,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:29:20] local.INFO: Processing buffer {"connection_id":152976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:29:20] local.INFO: Packet analysis {"connection_id":152976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:29:20] local.INFO: Extracted packet for processing {"connection_id":152976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:29:20] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:29: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-08-11 23:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336514048001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:29: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-08-11 23:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786471059000,"timestamp_ms":1786471059000,"timestamp_seconds":1786471059,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f90e38"} 
[2026-08-11 23:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:29:20] 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-08-11 23:29: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:29:20] 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-08-11 23:29: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-08-11 23:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336514048001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336514048001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:29:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:29:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336514048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":152976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:29:20] local.INFO: GPS data processed {"connection_id":152976,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:29:20] local.INFO: Acknowledgment sent {"connection_id":152976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:29:23] local.INFO: TCP Data received {"connection_id":152977,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:29:23] local.INFO: Processing buffer {"connection_id":152977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:29:23] local.INFO: IMEI packet received {"connection_id":152977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":152977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:29:24] local.INFO: TCP Data received {"connection_id":152977,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:29:24] local.INFO: Processing buffer {"connection_id":152977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:29:24] local.INFO: Packet analysis {"connection_id":152977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:29:24] local.INFO: Extracted packet for processing {"connection_id":152977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:29:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336496896001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786470992000,"timestamp_ms":1786470992000,"timestamp_seconds":1786470992,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f80880"} 
[2026-08-11 23:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:29:24] 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-08-11 23: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-08-11 23:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336496896001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336496896001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:29:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:29:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336496896001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":152977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:29:24] local.INFO: GPS data processed {"connection_id":152977,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:29:24] local.INFO: Acknowledgment sent {"connection_id":152977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:29:38] local.INFO: TCP Data received {"connection_id":152565,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:29:38] local.INFO: Processing buffer {"connection_id":152565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:29:38] local.INFO: IMEI packet received {"connection_id":152565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":152565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:29:43] local.INFO: TCP Data received {"connection_id":152565,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:29:43] local.INFO: Processing buffer {"connection_id":152565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:29:43] local.INFO: IMEI packet received {"connection_id":152565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":152565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:29:54] local.INFO: TCP Data received {"connection_id":152565,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:29:54] local.INFO: Processing buffer {"connection_id":152565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:29:54] local.INFO: Packet analysis {"connection_id":152565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:29:54] local.INFO: Extracted packet for processing {"connection_id":152565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:29:54] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 23:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336514048001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:29: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-08-11 23:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786471059000,"timestamp_ms":1786471059000,"timestamp_seconds":1786471059,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f90e38"} 
[2026-08-11 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-08-11 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-08-11 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:29:54] 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-08-11 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-08-11 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-08-11 23:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336514048001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336514048001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:29:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:29:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336514048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":152565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:29:54] local.INFO: GPS data processed {"connection_id":152565,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:29:54] local.INFO: Acknowledgment sent {"connection_id":152565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:29:56] local.INFO: TCP Data received {"connection_id":152977,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:29:56] local.INFO: Processing buffer {"connection_id":152977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:29:56] local.INFO: Packet analysis {"connection_id":152977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:29:56] local.INFO: Extracted packet for processing {"connection_id":152977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:29:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336496896001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786470992000,"timestamp_ms":1786470992000,"timestamp_seconds":1786470992,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f80880"} 
[2026-08-11 23:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:29: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-08-11 23: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-08-11 23:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336496896001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336496896001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:29:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:29:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336496896001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":152977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:29:56] local.INFO: GPS data processed {"connection_id":152977,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:29:56] local.INFO: Acknowledgment sent {"connection_id":152977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:30:18] local.INFO: TCP Data received {"connection_id":152566,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:30:18] local.INFO: Processing buffer {"connection_id":152566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:30:18] local.INFO: IMEI packet received {"connection_id":152566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":152566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:30:23] local.INFO: TCP Data received {"connection_id":152566,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:30:23] local.INFO: Processing buffer {"connection_id":152566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:30:23] local.INFO: IMEI packet received {"connection_id":152566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":152566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:30:24] local.INFO: TCP Data received {"connection_id":152566,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:30:24] local.INFO: Processing buffer {"connection_id":152566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:30:24] local.INFO: Packet analysis {"connection_id":152566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:30:24] local.INFO: Extracted packet for processing {"connection_id":152566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:30:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336496896001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786470992000,"timestamp_ms":1786470992000,"timestamp_seconds":1786470992,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f80880"} 
[2026-08-11 23:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:30:24] 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-08-11 23: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-08-11 23:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336496896001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336496896001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:30:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:30:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336496896001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":152566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:30:24] local.INFO: GPS data processed {"connection_id":152566,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:30:24] local.INFO: Acknowledgment sent {"connection_id":152566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:30:38] local.INFO: TCP Data received {"connection_id":155285,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:30:38] local.INFO: Processing buffer {"connection_id":155285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:30:38] local.INFO: IMEI packet received {"connection_id":155285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":155285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:30:43] local.INFO: TCP Data received {"connection_id":155285,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:30:43] local.INFO: Processing buffer {"connection_id":155285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:30:43] local.INFO: IMEI packet received {"connection_id":155285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":155285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:30:44] local.INFO: TCP Data received {"connection_id":155285,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:30:44] local.INFO: Processing buffer {"connection_id":155285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:30:44] local.INFO: Packet analysis {"connection_id":155285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:30:44] local.INFO: Extracted packet for processing {"connection_id":155285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:30:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336514048001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786471059000,"timestamp_ms":1786471059000,"timestamp_seconds":1786471059,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f90e38"} 
[2026-08-11 23:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:30:44] 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-08-11 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:30:44] 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-08-11 23: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-08-11 23:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":155285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":155285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":155285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336514048001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336514048001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:30:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:30:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336514048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":155285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:30:44] local.INFO: GPS data processed {"connection_id":155285,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:30:44] local.INFO: Acknowledgment sent {"connection_id":155285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:30:55] local.INFO: TCP Data received {"connection_id":152566,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:30:55] local.INFO: Processing buffer {"connection_id":152566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:30:55] local.INFO: Packet analysis {"connection_id":152566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:30:55] local.INFO: Extracted packet for processing {"connection_id":152566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:30:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336496896001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786470992000,"timestamp_ms":1786470992000,"timestamp_seconds":1786470992,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f80880"} 
[2026-08-11 23:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:30: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-08-11 23: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-08-11 23:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336496896001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336496896001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:30:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:30:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336496896001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":152566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:30:55] local.INFO: GPS data processed {"connection_id":152566,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:30:55] local.INFO: Acknowledgment sent {"connection_id":152566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:31:15] local.INFO: TCP Data received {"connection_id":155285,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:31:15] local.INFO: Processing buffer {"connection_id":155285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:31:15] local.INFO: Packet analysis {"connection_id":155285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:31:15] local.INFO: Extracted packet for processing {"connection_id":155285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336514048001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786471059000,"timestamp_ms":1786471059000,"timestamp_seconds":1786471059,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f90e38"} 
[2026-08-11 23:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:31:15] 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-08-11 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:31:15] 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-08-11 23: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-08-11 23:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":155285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":155285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":155285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336514048001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336514048001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:31:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336514048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":155285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:31:15] local.INFO: GPS data processed {"connection_id":155285,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:31:15] local.INFO: Acknowledgment sent {"connection_id":155285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:31:18] local.INFO: TCP Data received {"connection_id":152567,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:31:18] local.INFO: Processing buffer {"connection_id":152567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:31:18] local.INFO: IMEI packet received {"connection_id":152567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":152567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:31:23] local.INFO: TCP Data received {"connection_id":152567,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:31:23] local.INFO: Processing buffer {"connection_id":152567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:31:23] local.INFO: IMEI packet received {"connection_id":152567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":152567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:31:24] local.INFO: TCP Data received {"connection_id":152567,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:31:24] local.INFO: Processing buffer {"connection_id":152567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:31:24] local.INFO: Packet analysis {"connection_id":152567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:31:24] local.INFO: Extracted packet for processing {"connection_id":152567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:31:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336496896001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786470992000,"timestamp_ms":1786470992000,"timestamp_seconds":1786470992,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f80880"} 
[2026-08-11 23:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:31:24] 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-08-11 23: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-08-11 23:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336496896001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336496896001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:31:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:31:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336496896001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":152567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:31:24] local.INFO: GPS data processed {"connection_id":152567,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:31:24] local.INFO: Acknowledgment sent {"connection_id":152567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:31:37] local.INFO: TCP Data received {"connection_id":152568,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:31:37] local.INFO: Processing buffer {"connection_id":152568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:31:37] local.INFO: IMEI packet received {"connection_id":152568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":152568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:31:43] local.INFO: TCP Data received {"connection_id":152568,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:31:43] local.INFO: Processing buffer {"connection_id":152568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:31:43] local.INFO: IMEI packet received {"connection_id":152568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":152568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:31:44] local.INFO: TCP Data received {"connection_id":152568,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:31:44] local.INFO: Processing buffer {"connection_id":152568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:31:44] local.INFO: Packet analysis {"connection_id":152568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:31:44] local.INFO: Extracted packet for processing {"connection_id":152568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:31:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336514048001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786471059000,"timestamp_ms":1786471059000,"timestamp_seconds":1786471059,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f90e38"} 
[2026-08-11 23:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:31:44] 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-08-11 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:31:44] 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-08-11 23: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-08-11 23:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336514048001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336514048001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:31:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:31:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336514048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":152568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:31:44] local.INFO: GPS data processed {"connection_id":152568,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:31:44] local.INFO: Acknowledgment sent {"connection_id":152568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:31:56] local.INFO: TCP Data received {"connection_id":152567,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:31:56] local.INFO: Processing buffer {"connection_id":152567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f80880012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:31:56] local.INFO: Packet analysis {"connection_id":152567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:31:56] local.INFO: Extracted packet for processing {"connection_id":152567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f8"} 
[2026-08-11 23:31:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336496896001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786470992000,"timestamp_ms":1786470992000,"timestamp_seconds":1786470992,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f80880"} 
[2026-08-11 23:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:31: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-08-11 23: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-08-11 23:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336496896001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336496896001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:31:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:31:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336496896001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":152567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:31:56] local.INFO: GPS data processed {"connection_id":152567,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:31:56] local.INFO: Acknowledgment sent {"connection_id":152567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:32:14] local.INFO: TCP Data received {"connection_id":152568,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:32:14] local.INFO: Processing buffer {"connection_id":152568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:32:14] local.INFO: Packet analysis {"connection_id":152568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:32:14] local.INFO: Extracted packet for processing {"connection_id":152568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336514048001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786471059000,"timestamp_ms":1786471059000,"timestamp_seconds":1786471059,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f90e38"} 
[2026-08-11 23:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:32:14] 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-08-11 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:32:14] 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-08-11 23: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-08-11 23:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336514048001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336514048001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:32:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336514048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":152568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:32:15] local.INFO: GPS data processed {"connection_id":152568,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:32:15] local.INFO: Acknowledgment sent {"connection_id":152568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:32:18] local.INFO: TCP Data received {"connection_id":152569,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:32:18] local.INFO: Processing buffer {"connection_id":152569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:32:18] local.INFO: IMEI packet received {"connection_id":152569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":152569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:32:23] local.INFO: TCP Data received {"connection_id":152569,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:32:23] local.INFO: Processing buffer {"connection_id":152569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:32:23] local.INFO: IMEI packet received {"connection_id":152569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":152569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:32:24] local.INFO: TCP Data received {"connection_id":152569,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:32:24] local.INFO: Processing buffer {"connection_id":152569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:32:24] local.INFO: Packet analysis {"connection_id":152569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:32:24] local.INFO: Extracted packet for processing {"connection_id":152569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:32:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336573952001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786471293000,"timestamp_ms":1786471293000,"timestamp_seconds":1786471293,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fca048"} 
[2026-08-11 23:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:32:24] 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-08-11 23: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-08-11 23:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336573952001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336573952001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:32:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:32:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336573952001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":152569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:32:24] local.INFO: GPS data processed {"connection_id":152569,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:32:24] local.INFO: Acknowledgment sent {"connection_id":152569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:32:37] local.INFO: TCP Data received {"connection_id":152570,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:32:37] local.INFO: Processing buffer {"connection_id":152570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:32:37] local.INFO: IMEI packet received {"connection_id":152570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":152570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:32:43] local.INFO: TCP Data received {"connection_id":152570,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:32:43] local.INFO: Processing buffer {"connection_id":152570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:32:43] local.INFO: IMEI packet received {"connection_id":152570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":152570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:32:43] local.INFO: TCP Data received {"connection_id":152570,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:32:43] local.INFO: Processing buffer {"connection_id":152570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:32:43] local.INFO: Packet analysis {"connection_id":152570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:32:43] local.INFO: Extracted packet for processing {"connection_id":152570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:32:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336514048001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786471059000,"timestamp_ms":1786471059000,"timestamp_seconds":1786471059,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f90e38"} 
[2026-08-11 23:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:32:43] 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-08-11 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:32:43] 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-08-11 23: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-08-11 23:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336514048001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336514048001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:32:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:32:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336514048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":152570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:32:44] local.INFO: GPS data processed {"connection_id":152570,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:32:44] local.INFO: Acknowledgment sent {"connection_id":152570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:32:55] local.INFO: TCP Data received {"connection_id":152569,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:32:55] local.INFO: Processing buffer {"connection_id":152569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:32:55] local.INFO: Packet analysis {"connection_id":152569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:32:55] local.INFO: Extracted packet for processing {"connection_id":152569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:32:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336573952001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786471293000,"timestamp_ms":1786471293000,"timestamp_seconds":1786471293,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fca048"} 
[2026-08-11 23:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:32: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-08-11 23: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-08-11 23:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336573952001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336573952001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:32:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:32:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336573952001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":152569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:32:55] local.INFO: GPS data processed {"connection_id":152569,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:32:55] local.INFO: Acknowledgment sent {"connection_id":152569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:33:14] local.INFO: TCP Data received {"connection_id":152570,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:33:14] local.INFO: Processing buffer {"connection_id":152570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1f90e38012d196a00071fef68003b011828..."} 
[2026-08-11 23:33:14] local.INFO: Packet analysis {"connection_id":152570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:33:14] local.INFO: Extracted packet for processing {"connection_id":152570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1f9"} 
[2026-08-11 23:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336514048001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786471059000,"timestamp_ms":1786471059000,"timestamp_seconds":1786471059,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1f90e38"} 
[2026-08-11 23:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:33:14] 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-08-11 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:33:14] 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-08-11 23: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-08-11 23:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336514048001,"66":2144,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336514048001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:33:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336514048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":152570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:33:14] local.INFO: GPS data processed {"connection_id":152570,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:33:14] local.INFO: Acknowledgment sent {"connection_id":152570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:33:19] local.INFO: TCP Data received {"connection_id":153897,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:33:19] local.INFO: Processing buffer {"connection_id":153897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:33:19] local.INFO: IMEI packet received {"connection_id":153897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":153897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:33:24] local.INFO: TCP Data received {"connection_id":153897,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:33:24] local.INFO: Processing buffer {"connection_id":153897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:33:24] local.INFO: IMEI packet received {"connection_id":153897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":153897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:33:24] local.INFO: TCP Data received {"connection_id":153897,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:33:24] local.INFO: Processing buffer {"connection_id":153897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:33:24] local.INFO: Packet analysis {"connection_id":153897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:33:24] local.INFO: Extracted packet for processing {"connection_id":153897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:33:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336573952001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786471293000,"timestamp_ms":1786471293000,"timestamp_seconds":1786471293,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fca048"} 
[2026-08-11 23:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:33:24] 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-08-11 23: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-08-11 23:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336573952001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336573952001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:33:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:33:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336573952001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":153897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:33:24] local.INFO: GPS data processed {"connection_id":153897,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:33:24] local.INFO: Acknowledgment sent {"connection_id":153897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:33:43] local.INFO: TCP Data received {"connection_id":152978,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:33:43] local.INFO: Processing buffer {"connection_id":152978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:33:43] local.INFO: IMEI packet received {"connection_id":152978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":152978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:33:48] local.INFO: TCP Data received {"connection_id":152978,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:33:48] local.INFO: Processing buffer {"connection_id":152978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:33:48] local.INFO: IMEI packet received {"connection_id":152978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":152978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:33:49] local.INFO: TCP Data received {"connection_id":152978,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:33:49] local.INFO: Processing buffer {"connection_id":152978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:33:49] local.INFO: Packet analysis {"connection_id":152978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:33:49] local.INFO: Extracted packet for processing {"connection_id":152978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:33: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-08-11 23:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336591104001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:33: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-08-11 23:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786471360000,"timestamp_ms":1786471360000,"timestamp_seconds":1786471360,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fda600"} 
[2026-08-11 23:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:33:49] 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-08-11 23:33: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:33:49] 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-08-11 23:33: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-08-11 23:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336591104001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336591104001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:33:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336591104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":152978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:33:49] local.INFO: GPS data processed {"connection_id":152978,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:33:49] local.INFO: Acknowledgment sent {"connection_id":152978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:33:56] local.INFO: TCP Data received {"connection_id":153897,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:33:56] local.INFO: Processing buffer {"connection_id":153897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:33:56] local.INFO: Packet analysis {"connection_id":153897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:33:56] local.INFO: Extracted packet for processing {"connection_id":153897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:33:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336573952001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786471293000,"timestamp_ms":1786471293000,"timestamp_seconds":1786471293,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fca048"} 
[2026-08-11 23:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:33: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-08-11 23: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-08-11 23:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336573952001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336573952001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:33:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:33:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336573952001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":153897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:33:56] local.INFO: GPS data processed {"connection_id":153897,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:33:56] local.INFO: Acknowledgment sent {"connection_id":153897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:34:18] local.INFO: TCP Data received {"connection_id":155286,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:34:18] local.INFO: Processing buffer {"connection_id":155286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:34:18] local.INFO: IMEI packet received {"connection_id":155286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":155286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:34:20] local.INFO: TCP Data received {"connection_id":152978,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:34:20] local.INFO: Processing buffer {"connection_id":152978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:34:20] local.INFO: Packet analysis {"connection_id":152978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:34:20] local.INFO: Extracted packet for processing {"connection_id":152978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:34:20] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:34: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-08-11 23:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336591104001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:34: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-08-11 23:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786471360000,"timestamp_ms":1786471360000,"timestamp_seconds":1786471360,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fda600"} 
[2026-08-11 23:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:34:20] 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-08-11 23:34: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:34:20] 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-08-11 23:34: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-08-11 23:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336591104001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336591104001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:34:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:34:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336591104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":152978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:34:20] local.INFO: GPS data processed {"connection_id":152978,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:34:20] local.INFO: Acknowledgment sent {"connection_id":152978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:34:23] local.INFO: TCP Data received {"connection_id":155286,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:34:23] local.INFO: Processing buffer {"connection_id":155286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:34:23] local.INFO: IMEI packet received {"connection_id":155286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":155286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:34:24] local.INFO: TCP Data received {"connection_id":155286,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:34:24] local.INFO: Processing buffer {"connection_id":155286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:34:24] local.INFO: Packet analysis {"connection_id":155286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:34:24] local.INFO: Extracted packet for processing {"connection_id":155286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:34:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336573952001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786471293000,"timestamp_ms":1786471293000,"timestamp_seconds":1786471293,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fca048"} 
[2026-08-11 23:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:34:24] 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-08-11 23: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-08-11 23:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336573952001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336573952001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:34:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:34:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336573952001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":155286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:34:24] local.INFO: GPS data processed {"connection_id":155286,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:34:24] local.INFO: Acknowledgment sent {"connection_id":155286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:34:38] local.INFO: TCP Data received {"connection_id":152571,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:34:38] local.INFO: Processing buffer {"connection_id":152571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:34:38] local.INFO: IMEI packet received {"connection_id":152571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":152571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:34:43] local.INFO: TCP Data received {"connection_id":152571,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:34:43] local.INFO: Processing buffer {"connection_id":152571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:34:43] local.INFO: IMEI packet received {"connection_id":152571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":152571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:34:43] local.INFO: TCP Data received {"connection_id":152571,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:34:43] local.INFO: Processing buffer {"connection_id":152571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:34:43] local.INFO: Packet analysis {"connection_id":152571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:34:43] local.INFO: Extracted packet for processing {"connection_id":152571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:34:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:34: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-08-11 23:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336591104001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786471360000,"timestamp_ms":1786471360000,"timestamp_seconds":1786471360,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fda600"} 
[2026-08-11 23:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:34:44] 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-08-11 23: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:34:44] 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-08-11 23: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-08-11 23:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336591104001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336591104001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:34:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:34:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336591104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":152571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:34:44] local.INFO: GPS data processed {"connection_id":152571,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:34:44] local.INFO: Acknowledgment sent {"connection_id":152571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:34:55] local.INFO: TCP Data received {"connection_id":155286,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:34:55] local.INFO: Processing buffer {"connection_id":155286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:34:55] local.INFO: Packet analysis {"connection_id":155286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:34:55] local.INFO: Extracted packet for processing {"connection_id":155286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:34:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 23:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336573952001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786471293000,"timestamp_ms":1786471293000,"timestamp_seconds":1786471293,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fca048"} 
[2026-08-11 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-08-11 23:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:34: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-08-11 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-08-11 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-08-11 23:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336573952001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336573952001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:34:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:34:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336573952001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":155286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:34:55] local.INFO: GPS data processed {"connection_id":155286,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:34:55] local.INFO: Acknowledgment sent {"connection_id":155286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:35:14] local.INFO: TCP Data received {"connection_id":152571,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:35:14] local.INFO: Processing buffer {"connection_id":152571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:35:14] local.INFO: Packet analysis {"connection_id":152571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:35:14] local.INFO: Extracted packet for processing {"connection_id":152571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 23:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336591104001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786471360000,"timestamp_ms":1786471360000,"timestamp_seconds":1786471360,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fda600"} 
[2026-08-11 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-08-11 23:35:14] 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-08-11 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:35:14] 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-08-11 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-08-11 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-08-11 23:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336591104001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336591104001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:35:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336591104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":152571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:35:14] local.INFO: GPS data processed {"connection_id":152571,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:35:14] local.INFO: Acknowledgment sent {"connection_id":152571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:35:18] local.INFO: TCP Data received {"connection_id":152979,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:35:18] local.INFO: Processing buffer {"connection_id":152979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:35:18] local.INFO: IMEI packet received {"connection_id":152979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":152979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:35:23] local.INFO: TCP Data received {"connection_id":152979,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:35:23] local.INFO: Processing buffer {"connection_id":152979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:35:23] local.INFO: IMEI packet received {"connection_id":152979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":152979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:35:24] local.INFO: TCP Data received {"connection_id":152979,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:35:24] local.INFO: Processing buffer {"connection_id":152979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:35:24] local.INFO: Packet analysis {"connection_id":152979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:35:24] local.INFO: Extracted packet for processing {"connection_id":152979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:35:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336573952001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786471293000,"timestamp_ms":1786471293000,"timestamp_seconds":1786471293,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fca048"} 
[2026-08-11 23:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:35:24] 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-08-11 23: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-08-11 23:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336573952001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336573952001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:35:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:35:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336573952001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":152979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:35:24] local.INFO: GPS data processed {"connection_id":152979,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:35:24] local.INFO: Acknowledgment sent {"connection_id":152979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:35:37] local.INFO: TCP Data received {"connection_id":153898,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:35:37] local.INFO: Processing buffer {"connection_id":153898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:35:37] local.INFO: IMEI packet received {"connection_id":153898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":153898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:35:43] local.INFO: TCP Data received {"connection_id":153898,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:35:43] local.INFO: Processing buffer {"connection_id":153898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:35:43] local.INFO: IMEI packet received {"connection_id":153898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":153898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:35:44] local.INFO: TCP Data received {"connection_id":153898,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:35:44] local.INFO: Processing buffer {"connection_id":153898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:35:44] local.INFO: Packet analysis {"connection_id":153898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:35:44] local.INFO: Extracted packet for processing {"connection_id":153898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:35:44] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:35: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-08-11 23:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336591104001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786471360000,"timestamp_ms":1786471360000,"timestamp_seconds":1786471360,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fda600"} 
[2026-08-11 23:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:35:44] 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-08-11 23:35: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:35:44] 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-08-11 23:35: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-08-11 23:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336591104001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336591104001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:35:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:35:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336591104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":153898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:35:44] local.INFO: GPS data processed {"connection_id":153898,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:35:44] local.INFO: Acknowledgment sent {"connection_id":153898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:35:56] local.INFO: TCP Data received {"connection_id":152979,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:35:56] local.INFO: Processing buffer {"connection_id":152979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:35:56] local.INFO: Packet analysis {"connection_id":152979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:35:56] local.INFO: Extracted packet for processing {"connection_id":152979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:35:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23:35: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-08-11 23:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336573952001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786471293000,"timestamp_ms":1786471293000,"timestamp_seconds":1786471293,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fca048"} 
[2026-08-11 23:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23:35: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-08-11 23:35: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-08-11 23:35: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-08-11 23:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336573952001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336573952001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:35:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:35:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336573952001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":152979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:35:56] local.INFO: GPS data processed {"connection_id":152979,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:35:56] local.INFO: Acknowledgment sent {"connection_id":152979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:36:14] local.INFO: TCP Data received {"connection_id":153898,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:36:14] local.INFO: Processing buffer {"connection_id":153898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:36:14] local.INFO: Packet analysis {"connection_id":153898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:36:14] local.INFO: Extracted packet for processing {"connection_id":153898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:36:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336591104001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786471360000,"timestamp_ms":1786471360000,"timestamp_seconds":1786471360,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fda600"} 
[2026-08-11 23:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:36:14] 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-08-11 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:36:14] 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-08-11 23: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-08-11 23:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336591104001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336591104001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:36:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:36:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336591104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":153898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:36:15] local.INFO: GPS data processed {"connection_id":153898,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:36:15] local.INFO: Acknowledgment sent {"connection_id":153898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:36:23] local.INFO: TCP Data received {"connection_id":152980,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:36:23] local.INFO: Processing buffer {"connection_id":152980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:36:23] local.INFO: IMEI packet received {"connection_id":152980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":152980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:36:28] local.INFO: TCP Data received {"connection_id":152980,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:36:28] local.INFO: Processing buffer {"connection_id":152980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:36:28] local.INFO: IMEI packet received {"connection_id":152980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":152980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:36:29] local.INFO: TCP Data received {"connection_id":152980,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:36:29] local.INFO: Processing buffer {"connection_id":152980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:36:29] local.INFO: Packet analysis {"connection_id":152980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:36:29] local.INFO: Extracted packet for processing {"connection_id":152980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:36:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336573952001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786471293000,"timestamp_ms":1786471293000,"timestamp_seconds":1786471293,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fca048"} 
[2026-08-11 23:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:36:29] 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-08-11 23: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-08-11 23:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336573952001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336573952001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:36:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:36:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336573952001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":152980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:36:29] local.INFO: GPS data processed {"connection_id":152980,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:36:29] local.INFO: Acknowledgment sent {"connection_id":152980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:36:34] local.INFO: TCP Data received {"connection_id":152980,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:36:34] local.INFO: Processing buffer {"connection_id":152980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fca048012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:36:34] local.INFO: Packet analysis {"connection_id":152980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:36:34] local.INFO: Extracted packet for processing {"connection_id":152980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fc"} 
[2026-08-11 23:36:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23:36: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-08-11 23:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336573952001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786471293000,"timestamp_ms":1786471293000,"timestamp_seconds":1786471293,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fca048"} 
[2026-08-11 23:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23:36: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:36:34] 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-08-11 23:36: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-08-11 23:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336573952001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336573952001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:36:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:36:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336573952001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":152980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:36:34] local.INFO: GPS data processed {"connection_id":152980,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:36:34] local.INFO: Acknowledgment sent {"connection_id":152980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:36:43] local.INFO: TCP Data received {"connection_id":152981,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:36:43] local.INFO: Processing buffer {"connection_id":152981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:36:43] local.INFO: IMEI packet received {"connection_id":152981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":152981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:36:48] local.INFO: TCP Data received {"connection_id":152981,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:36:48] local.INFO: Processing buffer {"connection_id":152981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:36:48] local.INFO: IMEI packet received {"connection_id":152981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":152981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:36:49] local.INFO: TCP Data received {"connection_id":152981,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:36:49] local.INFO: Processing buffer {"connection_id":152981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:36:49] local.INFO: Packet analysis {"connection_id":152981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:36:49] local.INFO: Extracted packet for processing {"connection_id":152981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:36:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:36: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-08-11 23:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336591104001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:36: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-08-11 23:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786471360000,"timestamp_ms":1786471360000,"timestamp_seconds":1786471360,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fda600"} 
[2026-08-11 23:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:36:49] 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-08-11 23:36: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":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:36:49] 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-08-11 23:36: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-08-11 23:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336591104001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336591104001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:36:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:36:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336591104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":152981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:36:49] local.INFO: GPS data processed {"connection_id":152981,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:36:49] local.INFO: Acknowledgment sent {"connection_id":152981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:36:53] local.INFO: TCP Data received {"connection_id":152981,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:36:53] local.INFO: Processing buffer {"connection_id":152981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:36:53] local.INFO: Packet analysis {"connection_id":152981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:36:53] local.INFO: Extracted packet for processing {"connection_id":152981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:36:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336591104001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23: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-08-11 23:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786471360000,"timestamp_ms":1786471360000,"timestamp_seconds":1786471360,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fda600"} 
[2026-08-11 23:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:36: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-08-11 23: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-08-11 23: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-08-11 23: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-08-11 23:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336591104001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336591104001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:36:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:36:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336591104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":152981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:36:53] local.INFO: GPS data processed {"connection_id":152981,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:36:53] local.INFO: Acknowledgment sent {"connection_id":152981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:37:19] local.INFO: TCP Data received {"connection_id":155287,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:37:19] local.INFO: Processing buffer {"connection_id":155287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:37:19] local.INFO: IMEI packet received {"connection_id":155287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":155287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:37:25] local.INFO: TCP Data received {"connection_id":155287,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:37:25] local.INFO: Processing buffer {"connection_id":155287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:37:25] local.INFO: IMEI packet received {"connection_id":155287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":155287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:37:25] local.INFO: TCP Data received {"connection_id":155287,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:37:25] local.INFO: Processing buffer {"connection_id":155287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:37:25] local.INFO: Packet analysis {"connection_id":155287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:37:25] local.INFO: Extracted packet for processing {"connection_id":155287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:37:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336651008001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786471594000,"timestamp_ms":1786471594000,"timestamp_seconds":1786471594,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2013810"} 
[2026-08-11 23:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:37:25] 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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:37:25] 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-08-11 23: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-08-11 23:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":155287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":155287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":155287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336651008001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336651008001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:37:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:37:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336651008001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":155287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:37:25] local.INFO: GPS data processed {"connection_id":155287,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:37:25] local.INFO: Acknowledgment sent {"connection_id":155287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:37:37] local.INFO: TCP Data received {"connection_id":152572,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:37:37] local.INFO: Processing buffer {"connection_id":152572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:37:37] local.INFO: IMEI packet received {"connection_id":152572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":152572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:37:43] local.INFO: TCP Data received {"connection_id":152572,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:37:43] local.INFO: Processing buffer {"connection_id":152572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:37:43] local.INFO: IMEI packet received {"connection_id":152572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":152572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:37:43] local.INFO: TCP Data received {"connection_id":152572,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:37:43] local.INFO: Processing buffer {"connection_id":152572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:37:43] local.INFO: Packet analysis {"connection_id":152572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:37:43] local.INFO: Extracted packet for processing {"connection_id":152572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:37:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:37: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-08-11 23:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336591104001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786471360000,"timestamp_ms":1786471360000,"timestamp_seconds":1786471360,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fda600"} 
[2026-08-11 23:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:37:43] 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-08-11 23:37: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:37:43] 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-08-11 23:37: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-08-11 23:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336591104001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336591104001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:37:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:37:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336591104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":152572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:37:44] local.INFO: GPS data processed {"connection_id":152572,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:37:44] local.INFO: Acknowledgment sent {"connection_id":152572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:37:57] local.INFO: TCP Data received {"connection_id":155287,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:37:57] local.INFO: Processing buffer {"connection_id":155287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:37:57] local.INFO: Packet analysis {"connection_id":155287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:37:57] local.INFO: Extracted packet for processing {"connection_id":155287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:37:57] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336651008001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786471594000,"timestamp_ms":1786471594000,"timestamp_seconds":1786471594,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2013810"} 
[2026-08-11 23:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:37:57] 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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:37:57] 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-08-11 23: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-08-11 23:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":155287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":155287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":155287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336651008001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336651008001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:37:57] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:37:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336651008001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":155287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:37:57] local.INFO: GPS data processed {"connection_id":155287,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:37:57] local.INFO: Acknowledgment sent {"connection_id":155287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:38:14] local.INFO: TCP Data received {"connection_id":152572,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:38:14] local.INFO: Processing buffer {"connection_id":152572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff1fda600012d196a00071fef68003b011826..."} 
[2026-08-11 23:38:14] local.INFO: Packet analysis {"connection_id":152572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:38:14] local.INFO: Extracted packet for processing {"connection_id":152572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff1fd"} 
[2026-08-11 23:38:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336591104001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786471360000,"timestamp_ms":1786471360000,"timestamp_seconds":1786471360,"priority":1,"record_length":96,"hex_timestamp":"0000019ff1fda600"} 
[2026-08-11 23:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:38:14] 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-08-11 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-11 23:38:14] 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-08-11 23: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-08-11 23:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336591104001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336591104001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:38:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:38:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336591104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":152572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:38:14] local.INFO: GPS data processed {"connection_id":152572,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:38:14] local.INFO: Acknowledgment sent {"connection_id":152572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:38:18] local.INFO: TCP Data received {"connection_id":152982,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:38:18] local.INFO: Processing buffer {"connection_id":152982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:38:18] local.INFO: IMEI packet received {"connection_id":152982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":152982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:38:23] local.INFO: TCP Data received {"connection_id":152982,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:38:23] local.INFO: Processing buffer {"connection_id":152982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:38:23] local.INFO: IMEI packet received {"connection_id":152982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":152982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:38:24] local.INFO: TCP Data received {"connection_id":152982,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:38:24] local.INFO: Processing buffer {"connection_id":152982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:38:24] local.INFO: Packet analysis {"connection_id":152982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:38:24] local.INFO: Extracted packet for processing {"connection_id":152982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:38:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336651008001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786471594000,"timestamp_ms":1786471594000,"timestamp_seconds":1786471594,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2013810"} 
[2026-08-11 23:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:38: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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:38:24] 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-08-11 23: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-08-11 23:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336651008001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336651008001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:38:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:38:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336651008001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":152982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:38:24] local.INFO: GPS data processed {"connection_id":152982,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:38:24] local.INFO: Acknowledgment sent {"connection_id":152982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:38:38] local.INFO: TCP Data received {"connection_id":152573,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:38:38] local.INFO: Processing buffer {"connection_id":152573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:38:38] local.INFO: IMEI packet received {"connection_id":152573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":152573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:38:43] local.INFO: TCP Data received {"connection_id":152573,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:38:43] local.INFO: Processing buffer {"connection_id":152573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:38:43] local.INFO: IMEI packet received {"connection_id":152573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":152573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:38:43] local.INFO: TCP Data received {"connection_id":152573,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:38:43] local.INFO: Processing buffer {"connection_id":152573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:38:43] local.INFO: Packet analysis {"connection_id":152573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:38:43] local.INFO: Extracted packet for processing {"connection_id":152573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:38:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:38: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-08-11 23:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336668160001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786471661000,"timestamp_ms":1786471661000,"timestamp_seconds":1786471661,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2023dc8"} 
[2026-08-11 23:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:38:43] 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-08-11 23:38: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:38:43] 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-08-11 23:38: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-08-11 23:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336668160001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336668160001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:38:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:38:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336668160001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":152573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:38:44] local.INFO: GPS data processed {"connection_id":152573,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:38:44] local.INFO: Acknowledgment sent {"connection_id":152573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:38:55] local.INFO: TCP Data received {"connection_id":152982,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:38:55] local.INFO: Processing buffer {"connection_id":152982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:38:55] local.INFO: Packet analysis {"connection_id":152982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:38:55] local.INFO: Extracted packet for processing {"connection_id":152982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:38:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 23:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336651008001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786471594000,"timestamp_ms":1786471594000,"timestamp_seconds":1786471594,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2013810"} 
[2026-08-11 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-08-11 23:38:55] 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-08-11 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:38: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-08-11 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-08-11 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-08-11 23:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336651008001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336651008001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:38:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:38:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336651008001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":152982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:38:55] local.INFO: GPS data processed {"connection_id":152982,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:38:55] local.INFO: Acknowledgment sent {"connection_id":152982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:39:14] local.INFO: TCP Data received {"connection_id":152573,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:39:14] local.INFO: Processing buffer {"connection_id":152573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:39:14] local.INFO: Packet analysis {"connection_id":152573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:39:14] local.INFO: Extracted packet for processing {"connection_id":152573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:39: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-08-11 23:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336668160001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786471661000,"timestamp_ms":1786471661000,"timestamp_seconds":1786471661,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2023dc8"} 
[2026-08-11 23:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:39:14] 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-08-11 23:39: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:39:14] 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-08-11 23:39: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-08-11 23:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336668160001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336668160001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:39:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:39:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336668160001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":152573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:39:14] local.INFO: GPS data processed {"connection_id":152573,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:39:14] local.INFO: Acknowledgment sent {"connection_id":152573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:39:18] local.INFO: TCP Data received {"connection_id":152983,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:39:18] local.INFO: Processing buffer {"connection_id":152983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:39:18] local.INFO: IMEI packet received {"connection_id":152983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":152983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:39:23] local.INFO: TCP Data received {"connection_id":152983,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:39:23] local.INFO: Processing buffer {"connection_id":152983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:39:23] local.INFO: IMEI packet received {"connection_id":152983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":152983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:39:24] local.INFO: TCP Data received {"connection_id":152983,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:39:24] local.INFO: Processing buffer {"connection_id":152983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:39:24] local.INFO: Packet analysis {"connection_id":152983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:39:24] local.INFO: Extracted packet for processing {"connection_id":152983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:39:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336651008001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786471594000,"timestamp_ms":1786471594000,"timestamp_seconds":1786471594,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2013810"} 
[2026-08-11 23:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:39: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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:39:24] 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-08-11 23: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-08-11 23:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336651008001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336651008001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:39:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:39:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336651008001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":152983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:39:24] local.INFO: GPS data processed {"connection_id":152983,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:39:24] local.INFO: Acknowledgment sent {"connection_id":152983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:39:38] local.INFO: TCP Data received {"connection_id":155288,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:39:38] local.INFO: Processing buffer {"connection_id":155288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:39:38] local.INFO: IMEI packet received {"connection_id":155288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":155288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:39:43] local.INFO: TCP Data received {"connection_id":155288,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:39:43] local.INFO: Processing buffer {"connection_id":155288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:39:43] local.INFO: IMEI packet received {"connection_id":155288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":155288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:39:47] local.INFO: TCP Data received {"connection_id":155288,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:39:47] local.INFO: Processing buffer {"connection_id":155288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:39:47] local.INFO: Packet analysis {"connection_id":155288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:39:47] local.INFO: Extracted packet for processing {"connection_id":155288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:39: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-08-11 23:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336668160001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786471661000,"timestamp_ms":1786471661000,"timestamp_seconds":1786471661,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2023dc8"} 
[2026-08-11 23:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:39:47] 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-08-11 23:39: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:39:47] 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-08-11 23:39: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-08-11 23:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":155288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":155288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":155288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336668160001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336668160001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:39:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:39:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336668160001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":155288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:39:47] local.INFO: GPS data processed {"connection_id":155288,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:39:47] local.INFO: Acknowledgment sent {"connection_id":155288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:39:56] local.INFO: TCP Data received {"connection_id":152983,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:39:56] local.INFO: Processing buffer {"connection_id":152983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:39:56] local.INFO: Packet analysis {"connection_id":152983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:39:56] local.INFO: Extracted packet for processing {"connection_id":152983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:39:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336651008001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786471594000,"timestamp_ms":1786471594000,"timestamp_seconds":1786471594,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2013810"} 
[2026-08-11 23:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:39:56] 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-08-11 23: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:39: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-08-11 23: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-08-11 23:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336651008001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336651008001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:39:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:39:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336651008001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":152983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:39:56] local.INFO: GPS data processed {"connection_id":152983,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:39:56] local.INFO: Acknowledgment sent {"connection_id":152983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:40:18] local.INFO: TCP Data received {"connection_id":155288,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:40:18] local.INFO: Processing buffer {"connection_id":155288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:40:18] local.INFO: Packet analysis {"connection_id":155288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:40:18] local.INFO: Extracted packet for processing {"connection_id":155288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:40: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-08-11 23:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336668160001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:40: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-08-11 23:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786471661000,"timestamp_ms":1786471661000,"timestamp_seconds":1786471661,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2023dc8"} 
[2026-08-11 23:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:40:18] 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-08-11 23:40: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:40:18] 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-08-11 23:40: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-08-11 23:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":155288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":155288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":155288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336668160001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336668160001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:40:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336668160001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":155288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:40:18] local.INFO: GPS data processed {"connection_id":155288,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:40:18] local.INFO: Acknowledgment sent {"connection_id":155288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:40:23] local.INFO: TCP Data received {"connection_id":152574,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:40:23] local.INFO: Processing buffer {"connection_id":152574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:40:23] local.INFO: IMEI packet received {"connection_id":152574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":152574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:40:28] local.INFO: TCP Data received {"connection_id":152574,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:40:28] local.INFO: Processing buffer {"connection_id":152574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:40:28] local.INFO: IMEI packet received {"connection_id":152574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":152574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:40:29] local.INFO: TCP Data received {"connection_id":152574,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:40:29] local.INFO: Processing buffer {"connection_id":152574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:40:29] local.INFO: Packet analysis {"connection_id":152574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:40:29] local.INFO: Extracted packet for processing {"connection_id":152574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:40:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23:40: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-08-11 23:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336651008001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786471594000,"timestamp_ms":1786471594000,"timestamp_seconds":1786471594,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2013810"} 
[2026-08-11 23:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:40:29] 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-08-11 23:40: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:40:29] 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-08-11 23:40: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-08-11 23:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336651008001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336651008001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:40:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:40:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336651008001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":152574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:40:29] local.INFO: GPS data processed {"connection_id":152574,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:40:29] local.INFO: Acknowledgment sent {"connection_id":152574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:40:34] local.INFO: TCP Data received {"connection_id":152574,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:40:34] local.INFO: Processing buffer {"connection_id":152574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:40:34] local.INFO: Packet analysis {"connection_id":152574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:40:34] local.INFO: Extracted packet for processing {"connection_id":152574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:40:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 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-08-11 23:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336651008001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786471594000,"timestamp_ms":1786471594000,"timestamp_seconds":1786471594,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2013810"} 
[2026-08-11 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-08-11 23:40:34] 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-08-11 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:40:34] 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-08-11 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-08-11 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-08-11 23:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336651008001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336651008001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:40:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:40:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336651008001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":152574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:40:34] local.INFO: GPS data processed {"connection_id":152574,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:40:34] local.INFO: Acknowledgment sent {"connection_id":152574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:40:38] local.INFO: TCP Data received {"connection_id":152984,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:40:38] local.INFO: Processing buffer {"connection_id":152984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:40:38] local.INFO: IMEI packet received {"connection_id":152984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":152984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:40:43] local.INFO: TCP Data received {"connection_id":152984,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:40:43] local.INFO: Processing buffer {"connection_id":152984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:40:43] local.INFO: IMEI packet received {"connection_id":152984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":152984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:40:43] local.INFO: TCP Data received {"connection_id":152984,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:40:43] local.INFO: Processing buffer {"connection_id":152984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:40:43] local.INFO: Packet analysis {"connection_id":152984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:40:43] local.INFO: Extracted packet for processing {"connection_id":152984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:40:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:40: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-08-11 23:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336668160001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786471661000,"timestamp_ms":1786471661000,"timestamp_seconds":1786471661,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2023dc8"} 
[2026-08-11 23:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:40:43] 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-08-11 23:40: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:40:43] 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-08-11 23:40: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-08-11 23:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336668160001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336668160001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:40:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:40:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336668160001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":152984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:40:44] local.INFO: GPS data processed {"connection_id":152984,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:40:44] local.INFO: Acknowledgment sent {"connection_id":152984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:41:14] local.INFO: TCP Data received {"connection_id":152984,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:41:14] local.INFO: Processing buffer {"connection_id":152984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:41:14] local.INFO: Packet analysis {"connection_id":152984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:41:14] local.INFO: Extracted packet for processing {"connection_id":152984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336668160001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786471661000,"timestamp_ms":1786471661000,"timestamp_seconds":1786471661,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2023dc8"} 
[2026-08-11 23:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:41:14] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:41:14] 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-08-11 23: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-08-11 23:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336668160001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336668160001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:41:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:41:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336668160001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":152984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:41:14] local.INFO: GPS data processed {"connection_id":152984,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:41:14] local.INFO: Acknowledgment sent {"connection_id":152984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:41:18] local.INFO: TCP Data received {"connection_id":152575,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:41:18] local.INFO: Processing buffer {"connection_id":152575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:41:18] local.INFO: IMEI packet received {"connection_id":152575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":152575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:41:23] local.INFO: TCP Data received {"connection_id":152575,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:41:23] local.INFO: Processing buffer {"connection_id":152575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:41:23] local.INFO: IMEI packet received {"connection_id":152575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":152575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:41:24] local.INFO: TCP Data received {"connection_id":152575,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:41:24] local.INFO: Processing buffer {"connection_id":152575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:41:24] local.INFO: Packet analysis {"connection_id":152575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:41:24] local.INFO: Extracted packet for processing {"connection_id":152575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:41:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336651008001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786471594000,"timestamp_ms":1786471594000,"timestamp_seconds":1786471594,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2013810"} 
[2026-08-11 23:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:41: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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:41:24] 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-08-11 23: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-08-11 23:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336651008001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336651008001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:41:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:41:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336651008001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":152575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:41:24] local.INFO: GPS data processed {"connection_id":152575,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:41:24] local.INFO: Acknowledgment sent {"connection_id":152575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:41:37] local.INFO: TCP Data received {"connection_id":152985,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:41:37] local.INFO: Processing buffer {"connection_id":152985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:41:37] local.INFO: IMEI packet received {"connection_id":152985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":152985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:41:43] local.INFO: TCP Data received {"connection_id":152985,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:41:43] local.INFO: Processing buffer {"connection_id":152985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:41:43] local.INFO: IMEI packet received {"connection_id":152985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":152985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:41:43] local.INFO: TCP Data received {"connection_id":152985,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:41:43] local.INFO: Processing buffer {"connection_id":152985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:41:43] local.INFO: Packet analysis {"connection_id":152985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:41:43] local.INFO: Extracted packet for processing {"connection_id":152985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:41:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:41: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-08-11 23:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336668160001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786471661000,"timestamp_ms":1786471661000,"timestamp_seconds":1786471661,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2023dc8"} 
[2026-08-11 23:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:41:43] 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-08-11 23:41: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:41:43] 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-08-11 23:41: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-08-11 23:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336668160001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336668160001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:41:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:41:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336668160001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":152985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:41:44] local.INFO: GPS data processed {"connection_id":152985,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:41:44] local.INFO: Acknowledgment sent {"connection_id":152985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:41:56] local.INFO: TCP Data received {"connection_id":152575,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:41:56] local.INFO: Processing buffer {"connection_id":152575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2013810012d77ab8005f2a748000600fd27..."} 
[2026-08-11 23:41:56] local.INFO: Packet analysis {"connection_id":152575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:41:56] local.INFO: Extracted packet for processing {"connection_id":152575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff201"} 
[2026-08-11 23:41:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336651008001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786471594000,"timestamp_ms":1786471594000,"timestamp_seconds":1786471594,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2013810"} 
[2026-08-11 23:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:41:56] 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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:41: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-08-11 23: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-08-11 23:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336651008001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336651008001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:41:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:41:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336651008001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":152575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:41:56] local.INFO: GPS data processed {"connection_id":152575,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:41:56] local.INFO: Acknowledgment sent {"connection_id":152575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:42:14] local.INFO: TCP Data received {"connection_id":152985,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:42:14] local.INFO: Processing buffer {"connection_id":152985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:42:14] local.INFO: Packet analysis {"connection_id":152985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:42:14] local.INFO: Extracted packet for processing {"connection_id":152985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336668160001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786471661000,"timestamp_ms":1786471661000,"timestamp_seconds":1786471661,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2023dc8"} 
[2026-08-11 23:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:42:14] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:42:14] 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-08-11 23: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-08-11 23:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336668160001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336668160001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:42:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:42:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336668160001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":152985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:42:14] local.INFO: GPS data processed {"connection_id":152985,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:42:14] local.INFO: Acknowledgment sent {"connection_id":152985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:42:18] local.INFO: TCP Data received {"connection_id":155289,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:42:18] local.INFO: Processing buffer {"connection_id":155289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:42:18] local.INFO: IMEI packet received {"connection_id":155289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":155289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:42:23] local.INFO: TCP Data received {"connection_id":155289,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:42:23] local.INFO: Processing buffer {"connection_id":155289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:42:23] local.INFO: IMEI packet received {"connection_id":155289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":155289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:42:24] local.INFO: TCP Data received {"connection_id":155289,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:42:24] local.INFO: Processing buffer {"connection_id":155289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:42:24] local.INFO: Packet analysis {"connection_id":155289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:42:24] local.INFO: Extracted packet for processing {"connection_id":155289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:42:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336728064001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786471895000,"timestamp_ms":1786471895000,"timestamp_seconds":1786471895,"priority":1,"record_length":96,"hex_timestamp":"0000019ff205cfd8"} 
[2026-08-11 23:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:42: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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:42:24] 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-08-11 23: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-08-11 23:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336728064001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336728064001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:42:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:42:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336728064001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":155289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:42:24] local.INFO: GPS data processed {"connection_id":155289,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:42:24] local.INFO: Acknowledgment sent {"connection_id":155289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:42:43] local.INFO: TCP Data received {"connection_id":155290,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:42:43] local.INFO: Processing buffer {"connection_id":155290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:42:43] local.INFO: IMEI packet received {"connection_id":155290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":155290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:42:48] local.INFO: TCP Data received {"connection_id":155290,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:42:48] local.INFO: Processing buffer {"connection_id":155290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:42:48] local.INFO: IMEI packet received {"connection_id":155290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":155290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:42:48] local.INFO: TCP Data received {"connection_id":155290,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:42:48] local.INFO: Processing buffer {"connection_id":155290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:42:48] local.INFO: Packet analysis {"connection_id":155290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:42:48] local.INFO: Extracted packet for processing {"connection_id":155290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:42:48] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:42: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-08-11 23:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336668160001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:42: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-08-11 23:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786471661000,"timestamp_ms":1786471661000,"timestamp_seconds":1786471661,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2023dc8"} 
[2026-08-11 23:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:42:48] 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-08-11 23:42: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":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:42:48] 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-08-11 23:42: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-08-11 23:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":155290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":155290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":155290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336668160001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336668160001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:42:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:42:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336668160001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":155290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:42:49] local.INFO: GPS data processed {"connection_id":155290,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:42:49] local.INFO: Acknowledgment sent {"connection_id":155290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:42:53] local.INFO: TCP Data received {"connection_id":155290,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:42:53] local.INFO: Processing buffer {"connection_id":155290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2023dc8012d196a00071fef68003b011826..."} 
[2026-08-11 23:42:53] local.INFO: Packet analysis {"connection_id":155290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:42:53] local.INFO: Extracted packet for processing {"connection_id":155290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff202"} 
[2026-08-11 23:42:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336668160001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23: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-08-11 23:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786471661000,"timestamp_ms":1786471661000,"timestamp_seconds":1786471661,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2023dc8"} 
[2026-08-11 23:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:42: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-08-11 23: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-08-11 23: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-08-11 23: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-08-11 23:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":155290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":155290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":155290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23: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-08-11 23:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336668160001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336668160001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:42:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:42:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336668160001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":155290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:42:53] local.INFO: GPS data processed {"connection_id":155290,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:42:53] local.INFO: Acknowledgment sent {"connection_id":155290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:42:55] local.INFO: TCP Data received {"connection_id":155289,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:42:55] local.INFO: Processing buffer {"connection_id":155289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:42:55] local.INFO: Packet analysis {"connection_id":155289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:42:55] local.INFO: Extracted packet for processing {"connection_id":155289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:42:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336728064001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786471895000,"timestamp_ms":1786471895000,"timestamp_seconds":1786471895,"priority":1,"record_length":96,"hex_timestamp":"0000019ff205cfd8"} 
[2026-08-11 23:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:42:55] 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-08-11 23: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:42: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-08-11 23: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-08-11 23:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336728064001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336728064001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:42:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:42:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336728064001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":155289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:42:55] local.INFO: GPS data processed {"connection_id":155289,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:42:55] local.INFO: Acknowledgment sent {"connection_id":155289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:43:18] local.INFO: TCP Data received {"connection_id":152576,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:43:18] local.INFO: Processing buffer {"connection_id":152576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:43:18] local.INFO: IMEI packet received {"connection_id":152576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":152576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:43:23] local.INFO: TCP Data received {"connection_id":152576,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:43:23] local.INFO: Processing buffer {"connection_id":152576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:43:23] local.INFO: IMEI packet received {"connection_id":152576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":152576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:43:24] local.INFO: TCP Data received {"connection_id":152576,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:43:24] local.INFO: Processing buffer {"connection_id":152576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:43:24] local.INFO: Packet analysis {"connection_id":152576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:43:24] local.INFO: Extracted packet for processing {"connection_id":152576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:43:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336728064001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786471895000,"timestamp_ms":1786471895000,"timestamp_seconds":1786471895,"priority":1,"record_length":96,"hex_timestamp":"0000019ff205cfd8"} 
[2026-08-11 23:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:43: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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:43:24] 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-08-11 23: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-08-11 23:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336728064001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336728064001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:43:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:43:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336728064001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":152576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:43:24] local.INFO: GPS data processed {"connection_id":152576,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:43:24] local.INFO: Acknowledgment sent {"connection_id":152576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:43:37] local.INFO: TCP Data received {"connection_id":152986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:43:37] local.INFO: Processing buffer {"connection_id":152986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:43:37] local.INFO: IMEI packet received {"connection_id":152986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":152986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:43:42] local.INFO: TCP Data received {"connection_id":152986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:43:42] local.INFO: Processing buffer {"connection_id":152986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:43:42] local.INFO: IMEI packet received {"connection_id":152986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":152986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:43:43] local.INFO: TCP Data received {"connection_id":152986,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:43:43] local.INFO: Processing buffer {"connection_id":152986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:43:43] local.INFO: Packet analysis {"connection_id":152986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:43:43] local.INFO: Extracted packet for processing {"connection_id":152986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:43:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:43: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-08-11 23:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336745216001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786471962000,"timestamp_ms":1786471962000,"timestamp_seconds":1786471962,"priority":1,"record_length":96,"hex_timestamp":"0000019ff206d590"} 
[2026-08-11 23:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:43:43] 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-08-11 23:43: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:43:43] 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-08-11 23:43: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-08-11 23:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336745216001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336745216001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:43:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:43:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336745216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":152986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:43:43] local.INFO: GPS data processed {"connection_id":152986,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:43:43] local.INFO: Acknowledgment sent {"connection_id":152986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:43:56] local.INFO: TCP Data received {"connection_id":152576,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:43:56] local.INFO: Processing buffer {"connection_id":152576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:43:56] local.INFO: Packet analysis {"connection_id":152576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:43:56] local.INFO: Extracted packet for processing {"connection_id":152576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:43:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336728064001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786471895000,"timestamp_ms":1786471895000,"timestamp_seconds":1786471895,"priority":1,"record_length":96,"hex_timestamp":"0000019ff205cfd8"} 
[2026-08-11 23:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:43:56] 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-08-11 23: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-08-11 23: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-08-11 23: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-08-11 23:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336728064001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336728064001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:43:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:43:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336728064001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":152576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:43:56] local.INFO: GPS data processed {"connection_id":152576,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:43:56] local.INFO: Acknowledgment sent {"connection_id":152576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:44:14] local.INFO: TCP Data received {"connection_id":152986,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:44:14] local.INFO: Processing buffer {"connection_id":152986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:44:14] local.INFO: Packet analysis {"connection_id":152986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:44:14] local.INFO: Extracted packet for processing {"connection_id":152986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336745216001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786471962000,"timestamp_ms":1786471962000,"timestamp_seconds":1786471962,"priority":1,"record_length":96,"hex_timestamp":"0000019ff206d590"} 
[2026-08-11 23:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:44:14] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:44:14] 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-08-11 23: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-08-11 23:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336745216001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336745216001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:44:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:44:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336745216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":152986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:44:14] local.INFO: GPS data processed {"connection_id":152986,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:44:14] local.INFO: Acknowledgment sent {"connection_id":152986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:44:23] local.INFO: TCP Data received {"connection_id":155291,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:44:23] local.INFO: Processing buffer {"connection_id":155291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:44:23] local.INFO: IMEI packet received {"connection_id":155291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":155291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:44:28] local.INFO: TCP Data received {"connection_id":155291,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:44:28] local.INFO: Processing buffer {"connection_id":155291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:44:28] local.INFO: IMEI packet received {"connection_id":155291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":155291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:44:29] local.INFO: TCP Data received {"connection_id":155291,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:44:29] local.INFO: Processing buffer {"connection_id":155291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:44:29] local.INFO: Packet analysis {"connection_id":155291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:44:29] local.INFO: Extracted packet for processing {"connection_id":155291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:44:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336728064001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786471895000,"timestamp_ms":1786471895000,"timestamp_seconds":1786471895,"priority":1,"record_length":96,"hex_timestamp":"0000019ff205cfd8"} 
[2026-08-11 23:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:44:29] 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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:44:29] 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-08-11 23: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-08-11 23:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336728064001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336728064001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:44:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:44:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336728064001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":155291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:44:29] local.INFO: GPS data processed {"connection_id":155291,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:44:29] local.INFO: Acknowledgment sent {"connection_id":155291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:44:34] local.INFO: TCP Data received {"connection_id":155291,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:44:34] local.INFO: Processing buffer {"connection_id":155291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:44:34] local.INFO: Packet analysis {"connection_id":155291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:44:34] local.INFO: Extracted packet for processing {"connection_id":155291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:44:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336728064001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786471895000,"timestamp_ms":1786471895000,"timestamp_seconds":1786471895,"priority":1,"record_length":96,"hex_timestamp":"0000019ff205cfd8"} 
[2026-08-11 23:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:44:34] 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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:44:34] 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-08-11 23: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-08-11 23:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":155291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":155291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":155291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336728064001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336728064001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:44:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:44:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336728064001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":155291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:44:34] local.INFO: GPS data processed {"connection_id":155291,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:44:34] local.INFO: Acknowledgment sent {"connection_id":155291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:44:37] local.INFO: TCP Data received {"connection_id":152987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:44:37] local.INFO: Processing buffer {"connection_id":152987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:44:37] local.INFO: IMEI packet received {"connection_id":152987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":152987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:44:42] local.INFO: TCP Data received {"connection_id":152987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:44:42] local.INFO: Processing buffer {"connection_id":152987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:44:42] local.INFO: IMEI packet received {"connection_id":152987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":152987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:44:43] local.INFO: TCP Data received {"connection_id":152987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:44:43] local.INFO: Processing buffer {"connection_id":152987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:44:43] local.INFO: Packet analysis {"connection_id":152987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:44:43] local.INFO: Extracted packet for processing {"connection_id":152987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:44:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336745216001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786471962000,"timestamp_ms":1786471962000,"timestamp_seconds":1786471962,"priority":1,"record_length":96,"hex_timestamp":"0000019ff206d590"} 
[2026-08-11 23:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:44:43] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:44:43] 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-08-11 23: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-08-11 23:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336745216001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336745216001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:44:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:44:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336745216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":152987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:44:43] local.INFO: GPS data processed {"connection_id":152987,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:44:43] local.INFO: Acknowledgment sent {"connection_id":152987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:45:14] local.INFO: TCP Data received {"connection_id":152987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:45:14] local.INFO: Processing buffer {"connection_id":152987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:45:14] local.INFO: Packet analysis {"connection_id":152987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:45:14] local.INFO: Extracted packet for processing {"connection_id":152987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:45: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-08-11 23:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336745216001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786471962000,"timestamp_ms":1786471962000,"timestamp_seconds":1786471962,"priority":1,"record_length":96,"hex_timestamp":"0000019ff206d590"} 
[2026-08-11 23:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:45:14] 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-08-11 23:45: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:45:14] 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-08-11 23:45: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-08-11 23:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336745216001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336745216001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:45:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:45:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336745216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":152987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:45:14] local.INFO: GPS data processed {"connection_id":152987,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:45:14] local.INFO: Acknowledgment sent {"connection_id":152987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:45:18] local.INFO: TCP Data received {"connection_id":155292,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:45:18] local.INFO: Processing buffer {"connection_id":155292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:45:18] local.INFO: IMEI packet received {"connection_id":155292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":155292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:45:23] local.INFO: TCP Data received {"connection_id":155292,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:45:23] local.INFO: Processing buffer {"connection_id":155292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:45:23] local.INFO: IMEI packet received {"connection_id":155292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":155292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:45:24] local.INFO: TCP Data received {"connection_id":155292,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:45:24] local.INFO: Processing buffer {"connection_id":155292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:45:24] local.INFO: Packet analysis {"connection_id":155292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:45:24] local.INFO: Extracted packet for processing {"connection_id":155292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:45:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336728064001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786471895000,"timestamp_ms":1786471895000,"timestamp_seconds":1786471895,"priority":1,"record_length":96,"hex_timestamp":"0000019ff205cfd8"} 
[2026-08-11 23:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:45: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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:45:24] 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-08-11 23: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-08-11 23:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336728064001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336728064001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:45:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:45:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336728064001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":155292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:45:24] local.INFO: GPS data processed {"connection_id":155292,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:45:24] local.INFO: Acknowledgment sent {"connection_id":155292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:45:37] local.INFO: TCP Data received {"connection_id":152577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:45:37] local.INFO: Processing buffer {"connection_id":152577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:45:37] local.INFO: IMEI packet received {"connection_id":152577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":152577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:45:42] local.INFO: TCP Data received {"connection_id":152577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:45:42] local.INFO: Processing buffer {"connection_id":152577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:45:42] local.INFO: IMEI packet received {"connection_id":152577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":152577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:45:43] local.INFO: TCP Data received {"connection_id":152577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:45:43] local.INFO: Processing buffer {"connection_id":152577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:45:43] local.INFO: Packet analysis {"connection_id":152577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:45:43] local.INFO: Extracted packet for processing {"connection_id":152577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:45:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336745216001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786471962000,"timestamp_ms":1786471962000,"timestamp_seconds":1786471962,"priority":1,"record_length":96,"hex_timestamp":"0000019ff206d590"} 
[2026-08-11 23:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:45:43] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:45:43] 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-08-11 23: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-08-11 23:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336745216001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336745216001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:45:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:45:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336745216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":152577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:45:43] local.INFO: GPS data processed {"connection_id":152577,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:45:43] local.INFO: Acknowledgment sent {"connection_id":152577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:45:56] local.INFO: TCP Data received {"connection_id":155292,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:45:56] local.INFO: Processing buffer {"connection_id":155292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:45:56] local.INFO: Packet analysis {"connection_id":155292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:45:56] local.INFO: Extracted packet for processing {"connection_id":155292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:45:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336728064001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786471895000,"timestamp_ms":1786471895000,"timestamp_seconds":1786471895,"priority":1,"record_length":96,"hex_timestamp":"0000019ff205cfd8"} 
[2026-08-11 23:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:45:56] 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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:45: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-08-11 23: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-08-11 23:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":155292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":155292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":155292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336728064001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336728064001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:45:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:45:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336728064001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":155292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:45:56] local.INFO: GPS data processed {"connection_id":155292,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:45:56] local.INFO: Acknowledgment sent {"connection_id":155292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:46:14] local.INFO: TCP Data received {"connection_id":152577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:46:14] local.INFO: Processing buffer {"connection_id":152577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:46:14] local.INFO: Packet analysis {"connection_id":152577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:46:14] local.INFO: Extracted packet for processing {"connection_id":152577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:46:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336745216001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786471962000,"timestamp_ms":1786471962000,"timestamp_seconds":1786471962,"priority":1,"record_length":96,"hex_timestamp":"0000019ff206d590"} 
[2026-08-11 23:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:46:14] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:46:14] 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-08-11 23: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-08-11 23:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336745216001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336745216001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:46:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:46:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336745216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":152577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:46:14] local.INFO: GPS data processed {"connection_id":152577,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:46:14] local.INFO: Acknowledgment sent {"connection_id":152577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:46:19] local.INFO: TCP Data received {"connection_id":152988,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:46:19] local.INFO: Processing buffer {"connection_id":152988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:46:19] local.INFO: IMEI packet received {"connection_id":152988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":152988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:46:24] local.INFO: TCP Data received {"connection_id":152988,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:46:24] local.INFO: Processing buffer {"connection_id":152988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:46:24] local.INFO: IMEI packet received {"connection_id":152988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":152988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:46:24] local.INFO: TCP Data received {"connection_id":152988,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:46:24] local.INFO: Processing buffer {"connection_id":152988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:46:24] local.INFO: Packet analysis {"connection_id":152988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:46:24] local.INFO: Extracted packet for processing {"connection_id":152988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:46:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336728064001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786471895000,"timestamp_ms":1786471895000,"timestamp_seconds":1786471895,"priority":1,"record_length":96,"hex_timestamp":"0000019ff205cfd8"} 
[2026-08-11 23:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:46: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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:46:24] 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-08-11 23: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-08-11 23:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336728064001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336728064001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:46:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:46:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336728064001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":152988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:46:25] local.INFO: GPS data processed {"connection_id":152988,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:46:25] local.INFO: Acknowledgment sent {"connection_id":152988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:46:37] local.INFO: TCP Data received {"connection_id":152989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:46:37] local.INFO: Processing buffer {"connection_id":152989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:46:37] local.INFO: IMEI packet received {"connection_id":152989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":152989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:46:42] local.INFO: TCP Data received {"connection_id":152989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:46:42] local.INFO: Processing buffer {"connection_id":152989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:46:42] local.INFO: IMEI packet received {"connection_id":152989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":152989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:46:43] local.INFO: TCP Data received {"connection_id":152989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:46:43] local.INFO: Processing buffer {"connection_id":152989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:46:43] local.INFO: Packet analysis {"connection_id":152989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:46:43] local.INFO: Extracted packet for processing {"connection_id":152989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:46:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:46: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-08-11 23:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336745216001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786471962000,"timestamp_ms":1786471962000,"timestamp_seconds":1786471962,"priority":1,"record_length":96,"hex_timestamp":"0000019ff206d590"} 
[2026-08-11 23:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:46:43] 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-08-11 23:46: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:46:43] 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-08-11 23:46: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-08-11 23:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336745216001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336745216001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:46:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:46:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336745216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":152989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:46:43] local.INFO: GPS data processed {"connection_id":152989,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:46:43] local.INFO: Acknowledgment sent {"connection_id":152989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:46:55] local.INFO: TCP Data received {"connection_id":152988,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:46:55] local.INFO: Processing buffer {"connection_id":152988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff205cfd8012d77ab8005f2a748000600fd24..."} 
[2026-08-11 23:46:55] local.INFO: Packet analysis {"connection_id":152988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:46:55] local.INFO: Extracted packet for processing {"connection_id":152988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff205"} 
[2026-08-11 23:46:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336728064001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786471895000,"timestamp_ms":1786471895000,"timestamp_seconds":1786471895,"priority":1,"record_length":96,"hex_timestamp":"0000019ff205cfd8"} 
[2026-08-11 23:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:46:55] 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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:46: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-08-11 23: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-08-11 23:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336728064001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336728064001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:46:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:46:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336728064001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":152988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:46:55] local.INFO: GPS data processed {"connection_id":152988,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:46:55] local.INFO: Acknowledgment sent {"connection_id":152988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:47:14] local.INFO: TCP Data received {"connection_id":152989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:47:14] local.INFO: Processing buffer {"connection_id":152989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:47:14] local.INFO: Packet analysis {"connection_id":152989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:47:14] local.INFO: Extracted packet for processing {"connection_id":152989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:47:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336745216001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786471962000,"timestamp_ms":1786471962000,"timestamp_seconds":1786471962,"priority":1,"record_length":96,"hex_timestamp":"0000019ff206d590"} 
[2026-08-11 23:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:47:14] 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-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:47:14] 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-08-11 23: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-08-11 23:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336745216001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336745216001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:47:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:47:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336745216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":152989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:47:14] local.INFO: GPS data processed {"connection_id":152989,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:47:14] local.INFO: Acknowledgment sent {"connection_id":152989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:47:18] local.INFO: TCP Data received {"connection_id":155293,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:47:18] local.INFO: Processing buffer {"connection_id":155293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:47:18] local.INFO: IMEI packet received {"connection_id":155293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":155293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:47:23] local.INFO: TCP Data received {"connection_id":155293,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:47:23] local.INFO: Processing buffer {"connection_id":155293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:47:23] local.INFO: IMEI packet received {"connection_id":155293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":155293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:47:24] local.INFO: TCP Data received {"connection_id":155293,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:47:24] local.INFO: Processing buffer {"connection_id":155293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:47:24] local.INFO: Packet analysis {"connection_id":155293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:47:24] local.INFO: Extracted packet for processing {"connection_id":155293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:47:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336805120001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786472196000,"timestamp_ms":1786472196000,"timestamp_seconds":1786472196,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20a67a0"} 
[2026-08-11 23:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:47: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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:47:24] 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-08-11 23: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-08-11 23:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":155293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":155293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":155293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336805120001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336805120001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:47:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:47:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336805120001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":155293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:47:24] local.INFO: GPS data processed {"connection_id":155293,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:47:24] local.INFO: Acknowledgment sent {"connection_id":155293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:47:37] local.INFO: TCP Data received {"connection_id":152578,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:47:37] local.INFO: Processing buffer {"connection_id":152578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:47:37] local.INFO: IMEI packet received {"connection_id":152578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":152578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:47:42] local.INFO: TCP Data received {"connection_id":152578,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:47:42] local.INFO: Processing buffer {"connection_id":152578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:47:42] local.INFO: IMEI packet received {"connection_id":152578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":152578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:47:43] local.INFO: TCP Data received {"connection_id":152578,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:47:43] local.INFO: Processing buffer {"connection_id":152578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:47:43] local.INFO: Packet analysis {"connection_id":152578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:47:43] local.INFO: Extracted packet for processing {"connection_id":152578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:47:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:47: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-08-11 23:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336745216001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786471962000,"timestamp_ms":1786471962000,"timestamp_seconds":1786471962,"priority":1,"record_length":96,"hex_timestamp":"0000019ff206d590"} 
[2026-08-11 23:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:47:43] 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-08-11 23:47: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:47:43] 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-08-11 23:47: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-08-11 23:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336745216001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336745216001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:47:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:47:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336745216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":152578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:47:43] local.INFO: GPS data processed {"connection_id":152578,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:47:43] local.INFO: Acknowledgment sent {"connection_id":152578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:47:55] local.INFO: TCP Data received {"connection_id":155293,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:47:55] local.INFO: Processing buffer {"connection_id":155293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:47:55] local.INFO: Packet analysis {"connection_id":155293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:47:55] local.INFO: Extracted packet for processing {"connection_id":155293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:47:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336805120001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786472196000,"timestamp_ms":1786472196000,"timestamp_seconds":1786472196,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20a67a0"} 
[2026-08-11 23:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:47:55] 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-08-11 23: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:47: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-08-11 23: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-08-11 23:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":155293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":155293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":155293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336805120001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336805120001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:47:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:47:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336805120001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":155293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:47:55] local.INFO: GPS data processed {"connection_id":155293,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:47:55] local.INFO: Acknowledgment sent {"connection_id":155293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:48:14] local.INFO: TCP Data received {"connection_id":152578,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:48:14] local.INFO: Processing buffer {"connection_id":152578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff206d590012d196a00071fef68003b011825..."} 
[2026-08-11 23:48:14] local.INFO: Packet analysis {"connection_id":152578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:48:14] local.INFO: Extracted packet for processing {"connection_id":152578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff206"} 
[2026-08-11 23:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:48: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-08-11 23:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336745216001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786471962000,"timestamp_ms":1786471962000,"timestamp_seconds":1786471962,"priority":1,"record_length":96,"hex_timestamp":"0000019ff206d590"} 
[2026-08-11 23:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:48:14] 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-08-11 23:48: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:48:14] 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-08-11 23:48: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-08-11 23:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336745216001,"66":2166,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336745216001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:48:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:48:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336745216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":152578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:48:15] local.INFO: GPS data processed {"connection_id":152578,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:48:15] local.INFO: Acknowledgment sent {"connection_id":152578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:48:23] local.INFO: TCP Data received {"connection_id":155294,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:48:23] local.INFO: Processing buffer {"connection_id":155294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:48:23] local.INFO: IMEI packet received {"connection_id":155294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":155294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:48:28] local.INFO: TCP Data received {"connection_id":155294,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:48:28] local.INFO: Processing buffer {"connection_id":155294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:48:28] local.INFO: IMEI packet received {"connection_id":155294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":155294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:48:29] local.INFO: TCP Data received {"connection_id":155294,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:48:29] local.INFO: Processing buffer {"connection_id":155294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:48:29] local.INFO: Packet analysis {"connection_id":155294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:48:29] local.INFO: Extracted packet for processing {"connection_id":155294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:48:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23:48: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-08-11 23:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336805120001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786472196000,"timestamp_ms":1786472196000,"timestamp_seconds":1786472196,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20a67a0"} 
[2026-08-11 23:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:48:29] 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-08-11 23:48: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:48:29] 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-08-11 23:48: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-08-11 23:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336805120001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336805120001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:48:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:48:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336805120001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":155294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:48:29] local.INFO: GPS data processed {"connection_id":155294,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:48:29] local.INFO: Acknowledgment sent {"connection_id":155294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:48:34] local.INFO: TCP Data received {"connection_id":155294,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:48:34] local.INFO: Processing buffer {"connection_id":155294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:48:34] local.INFO: Packet analysis {"connection_id":155294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:48:34] local.INFO: Extracted packet for processing {"connection_id":155294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:48:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23:48: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-08-11 23:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336805120001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786472196000,"timestamp_ms":1786472196000,"timestamp_seconds":1786472196,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20a67a0"} 
[2026-08-11 23:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:48:34] 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-08-11 23:48: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:48:34] 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-08-11 23:48: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-08-11 23:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":155294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":155294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":155294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336805120001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336805120001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:48:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:48:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336805120001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":155294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:48:34] local.INFO: GPS data processed {"connection_id":155294,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:48:34] local.INFO: Acknowledgment sent {"connection_id":155294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:48:37] local.INFO: TCP Data received {"connection_id":152579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:48:37] local.INFO: Processing buffer {"connection_id":152579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:48:37] local.INFO: IMEI packet received {"connection_id":152579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":152579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:48:42] local.INFO: TCP Data received {"connection_id":152579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:48:42] local.INFO: Processing buffer {"connection_id":152579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:48:42] local.INFO: IMEI packet received {"connection_id":152579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":152579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:48:43] local.INFO: TCP Data received {"connection_id":152579,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:48:43] local.INFO: Processing buffer {"connection_id":152579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:48:43] local.INFO: Packet analysis {"connection_id":152579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20b"} 
[2026-08-11 23:48:43] local.INFO: Extracted packet for processing {"connection_id":152579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20b"} 
[2026-08-11 23:48:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:48: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-08-11 23:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336822272001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786472263000,"timestamp_ms":1786472263000,"timestamp_seconds":1786472263,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20b6d58"} 
[2026-08-11 23:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23:48: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:48:43] 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-08-11 23:48: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-08-11 23:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336822272001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336822272001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:48:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:48:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336822272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":152579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:48:43] local.INFO: GPS data processed {"connection_id":152579,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:48:43] local.INFO: Acknowledgment sent {"connection_id":152579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:49:14] local.INFO: TCP Data received {"connection_id":152579,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:49:14] local.INFO: Processing buffer {"connection_id":152579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:49:14] local.INFO: Packet analysis {"connection_id":152579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20b"} 
[2026-08-11 23:49:14] local.INFO: Extracted packet for processing {"connection_id":152579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20b"} 
[2026-08-11 23:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:49: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-08-11 23:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336822272001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786472263000,"timestamp_ms":1786472263000,"timestamp_seconds":1786472263,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20b6d58"} 
[2026-08-11 23:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23:49: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:49:14] 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-08-11 23:49: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-08-11 23:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336822272001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336822272001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:49:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:49:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336822272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":152579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:49:14] local.INFO: GPS data processed {"connection_id":152579,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:49:14] local.INFO: Acknowledgment sent {"connection_id":152579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:49:18] local.INFO: TCP Data received {"connection_id":152580,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:49:18] local.INFO: Processing buffer {"connection_id":152580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:49:18] local.INFO: IMEI packet received {"connection_id":152580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":152580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:49:23] local.INFO: TCP Data received {"connection_id":152580,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:49:23] local.INFO: Processing buffer {"connection_id":152580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:49:23] local.INFO: IMEI packet received {"connection_id":152580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":152580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:49:24] local.INFO: TCP Data received {"connection_id":152580,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:49:24] local.INFO: Processing buffer {"connection_id":152580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:49:24] local.INFO: Packet analysis {"connection_id":152580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:49:24] local.INFO: Extracted packet for processing {"connection_id":152580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:49:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336805120001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786472196000,"timestamp_ms":1786472196000,"timestamp_seconds":1786472196,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20a67a0"} 
[2026-08-11 23:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:49: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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:49:24] 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-08-11 23: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-08-11 23:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336805120001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336805120001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:49:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:49:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336805120001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":152580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:49:24] local.INFO: GPS data processed {"connection_id":152580,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:49:24] local.INFO: Acknowledgment sent {"connection_id":152580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:49:37] local.INFO: TCP Data received {"connection_id":153899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:49:37] local.INFO: Processing buffer {"connection_id":153899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:49:37] local.INFO: IMEI packet received {"connection_id":153899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":153899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:49:42] local.INFO: TCP Data received {"connection_id":153899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:49:42] local.INFO: Processing buffer {"connection_id":153899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:49:42] local.INFO: IMEI packet received {"connection_id":153899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":153899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:49:43] local.INFO: TCP Data received {"connection_id":153899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:49:43] local.INFO: Processing buffer {"connection_id":153899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:49:43] local.INFO: Packet analysis {"connection_id":153899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20b"} 
[2026-08-11 23:49:43] local.INFO: Extracted packet for processing {"connection_id":153899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20b"} 
[2026-08-11 23:49:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336822272001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786472263000,"timestamp_ms":1786472263000,"timestamp_seconds":1786472263,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20b6d58"} 
[2026-08-11 23:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:49:43] 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-08-11 23: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-08-11 23:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336822272001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336822272001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:49:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:49:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336822272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":153899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:49:43] local.INFO: GPS data processed {"connection_id":153899,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:49:43] local.INFO: Acknowledgment sent {"connection_id":153899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:49:56] local.INFO: TCP Data received {"connection_id":152580,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:49:56] local.INFO: Processing buffer {"connection_id":152580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:49:56] local.INFO: Packet analysis {"connection_id":152580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:49:56] local.INFO: Extracted packet for processing {"connection_id":152580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:49:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336805120001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786472196000,"timestamp_ms":1786472196000,"timestamp_seconds":1786472196,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20a67a0"} 
[2026-08-11 23:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:49:56] 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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:49: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-08-11 23: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-08-11 23:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336805120001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336805120001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:49:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:49:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336805120001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":152580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:49:56] local.INFO: GPS data processed {"connection_id":152580,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:49:56] local.INFO: Acknowledgment sent {"connection_id":152580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:50:14] local.INFO: TCP Data received {"connection_id":153899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:50:14] local.INFO: Processing buffer {"connection_id":153899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:50:14] local.INFO: Packet analysis {"connection_id":153899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20b"} 
[2026-08-11 23:50:14] local.INFO: Extracted packet for processing {"connection_id":153899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20b"} 
[2026-08-11 23:50:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 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-08-11 23:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336822272001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786472263000,"timestamp_ms":1786472263000,"timestamp_seconds":1786472263,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20b6d58"} 
[2026-08-11 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-08-11 23:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:50:14] 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-08-11 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-08-11 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-08-11 23:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336822272001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336822272001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:50:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:50:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336822272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":153899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:50:14] local.INFO: GPS data processed {"connection_id":153899,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:50:14] local.INFO: Acknowledgment sent {"connection_id":153899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:50:18] local.INFO: TCP Data received {"connection_id":152990,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:50:18] local.INFO: Processing buffer {"connection_id":152990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:50:18] local.INFO: IMEI packet received {"connection_id":152990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":152990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:50:23] local.INFO: TCP Data received {"connection_id":152990,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:50:23] local.INFO: Processing buffer {"connection_id":152990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:50:23] local.INFO: IMEI packet received {"connection_id":152990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":152990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:50:24] local.INFO: TCP Data received {"connection_id":152990,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:50:24] local.INFO: Processing buffer {"connection_id":152990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:50:24] local.INFO: Packet analysis {"connection_id":152990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:50:24] local.INFO: Extracted packet for processing {"connection_id":152990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:50:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336805120001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786472196000,"timestamp_ms":1786472196000,"timestamp_seconds":1786472196,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20a67a0"} 
[2026-08-11 23:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:50: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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:50:24] 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-08-11 23: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-08-11 23:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336805120001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336805120001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:50:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:50:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336805120001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":152990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:50:24] local.INFO: GPS data processed {"connection_id":152990,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:50:24] local.INFO: Acknowledgment sent {"connection_id":152990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:50:38] local.INFO: TCP Data received {"connection_id":153900,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:50:38] local.INFO: Processing buffer {"connection_id":153900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:50:38] local.INFO: IMEI packet received {"connection_id":153900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":153900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:50:42] local.INFO: TCP Data received {"connection_id":153900,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:50:42] local.INFO: Processing buffer {"connection_id":153900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:50:42] local.INFO: IMEI packet received {"connection_id":153900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":153900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:50:43] local.INFO: TCP Data received {"connection_id":153900,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:50:43] local.INFO: Processing buffer {"connection_id":153900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:50:43] local.INFO: Packet analysis {"connection_id":153900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20b"} 
[2026-08-11 23:50:43] local.INFO: Extracted packet for processing {"connection_id":153900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20b"} 
[2026-08-11 23:50:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:50: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-08-11 23:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336822272001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786472263000,"timestamp_ms":1786472263000,"timestamp_seconds":1786472263,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20b6d58"} 
[2026-08-11 23:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23:50: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:50:43] 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-08-11 23:50: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-08-11 23:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336822272001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336822272001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:50:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:50:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336822272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":153900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:50:43] local.INFO: GPS data processed {"connection_id":153900,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:50:43] local.INFO: Acknowledgment sent {"connection_id":153900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:50:55] local.INFO: TCP Data received {"connection_id":152990,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:50:55] local.INFO: Processing buffer {"connection_id":152990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:50:55] local.INFO: Packet analysis {"connection_id":152990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:50:55] local.INFO: Extracted packet for processing {"connection_id":152990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:50:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336805120001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786472196000,"timestamp_ms":1786472196000,"timestamp_seconds":1786472196,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20a67a0"} 
[2026-08-11 23:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:50:55] 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-08-11 23: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:50: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-08-11 23: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-08-11 23:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336805120001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336805120001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:50:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:50:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336805120001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":152990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:50:55] local.INFO: GPS data processed {"connection_id":152990,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:50:55] local.INFO: Acknowledgment sent {"connection_id":152990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:51:14] local.INFO: TCP Data received {"connection_id":153900,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:51:14] local.INFO: Processing buffer {"connection_id":153900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:51:14] local.INFO: Packet analysis {"connection_id":153900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20b"} 
[2026-08-11 23:51:14] local.INFO: Extracted packet for processing {"connection_id":153900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20b"} 
[2026-08-11 23:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336822272001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786472263000,"timestamp_ms":1786472263000,"timestamp_seconds":1786472263,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20b6d58"} 
[2026-08-11 23:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:51:14] 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-08-11 23: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-08-11 23:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336822272001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336822272001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:51:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336822272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":153900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:51:14] local.INFO: GPS data processed {"connection_id":153900,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:51:14] local.INFO: Acknowledgment sent {"connection_id":153900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:51:18] local.INFO: TCP Data received {"connection_id":152991,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:51:18] local.INFO: Processing buffer {"connection_id":152991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:51:18] local.INFO: IMEI packet received {"connection_id":152991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":152991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:51:23] local.INFO: TCP Data received {"connection_id":152991,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:51:23] local.INFO: Processing buffer {"connection_id":152991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:51:23] local.INFO: IMEI packet received {"connection_id":152991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":152991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:51:24] local.INFO: TCP Data received {"connection_id":152991,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:51:24] local.INFO: Processing buffer {"connection_id":152991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:51:24] local.INFO: Packet analysis {"connection_id":152991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:51:24] local.INFO: Extracted packet for processing {"connection_id":152991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:51:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336805120001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786472196000,"timestamp_ms":1786472196000,"timestamp_seconds":1786472196,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20a67a0"} 
[2026-08-11 23:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:51: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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:51:24] 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-08-11 23: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-08-11 23:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336805120001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336805120001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:51:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:51:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336805120001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":152991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:51:24] local.INFO: GPS data processed {"connection_id":152991,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:51:24] local.INFO: Acknowledgment sent {"connection_id":152991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:51:37] local.INFO: TCP Data received {"connection_id":152581,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:51:37] local.INFO: Processing buffer {"connection_id":152581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:51:37] local.INFO: IMEI packet received {"connection_id":152581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-11 23:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":152581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:51:43] local.INFO: TCP Data received {"connection_id":152581,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:51:43] local.INFO: Processing buffer {"connection_id":152581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-11 23:51:43] local.INFO: IMEI packet received {"connection_id":152581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-11 23:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":152581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:51:43] local.INFO: TCP Data received {"connection_id":152581,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:51:43] local.INFO: Processing buffer {"connection_id":152581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20b6d58012d196a00071fef68003b011827..."} 
[2026-08-11 23:51:43] local.INFO: Packet analysis {"connection_id":152581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20b"} 
[2026-08-11 23:51:43] local.INFO: Extracted packet for processing {"connection_id":152581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20b"} 
[2026-08-11 23:51:43] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119533416,"longitude_deg":75.6640256,"latitude_deg":11.9533416,"altitude":59,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-11 23:51: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-08-11 23:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336822272001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11879583187992576,"note":"Value kept but may cause issues"} 
[2026-08-11 23:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229080082432,"note":"Value kept but may cause issues"} 
[2026-08-11 23:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786472263000,"timestamp_ms":1786472263000,"timestamp_seconds":1786472263,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20b6d58"} 
[2026-08-11 23:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23:51: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-11 23:51:43] 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-08-11 23:51: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-08-11 23:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-11 23:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-11 23:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-11 23:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336822272001,"66":2155,"102":206,"83":41984,"24":0,"16":11879583187992576,"45":1831276229080082432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-11 23:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-11 23:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-11 23:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336822272001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:51:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-11 23:51:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-11 23:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11879583187992576,"km_value":11879583187992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229080082432,"description":"Unknown IO ID 45"} 
[2026-08-11 23:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336822272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229080082432}} 
[2026-08-11 23:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":152581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:51:43] local.INFO: GPS data processed {"connection_id":152581,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:51:43] local.INFO: Acknowledgment sent {"connection_id":152581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:51:56] local.INFO: TCP Data received {"connection_id":152991,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:51:56] local.INFO: Processing buffer {"connection_id":152991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20a67a0012d77ab8005f2a748000600fd23..."} 
[2026-08-11 23:51:56] local.INFO: Packet analysis {"connection_id":152991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:51:56] local.INFO: Extracted packet for processing {"connection_id":152991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20a"} 
[2026-08-11 23:51:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336805120001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786472196000,"timestamp_ms":1786472196000,"timestamp_seconds":1786472196,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20a67a0"} 
[2026-08-11 23:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:51:56] 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-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:51: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-08-11 23: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-08-11 23:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336805120001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336805120001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:51:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:51:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336805120001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":152991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:51:56] local.INFO: GPS data processed {"connection_id":152991,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:51:56] local.INFO: Acknowledgment sent {"connection_id":152991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:52:18] local.INFO: TCP Data received {"connection_id":152992,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:52:18] local.INFO: Processing buffer {"connection_id":152992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:52:18] local.INFO: IMEI packet received {"connection_id":152992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":152992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:52:23] local.INFO: TCP Data received {"connection_id":152992,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:52:23] local.INFO: Processing buffer {"connection_id":152992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:52:23] local.INFO: IMEI packet received {"connection_id":152992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":152992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:52:24] local.INFO: TCP Data received {"connection_id":152992,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:52:24] local.INFO: Processing buffer {"connection_id":152992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:52:24] local.INFO: Packet analysis {"connection_id":152992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:52:24] local.INFO: Extracted packet for processing {"connection_id":152992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:52:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336882176001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786472497000,"timestamp_ms":1786472497000,"timestamp_seconds":1786472497,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20eff68"} 
[2026-08-11 23:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:52:24] 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-08-11 23: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-08-11 23:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336882176001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336882176001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:52:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:52:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336882176001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":152992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:52:24] local.INFO: GPS data processed {"connection_id":152992,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:52:24] local.INFO: Acknowledgment sent {"connection_id":152992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:53:00] local.INFO: TCP Data received {"connection_id":152992,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:53:00] local.INFO: Processing buffer {"connection_id":152992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:53:00] local.INFO: Packet analysis {"connection_id":152992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:53:00] local.INFO: Extracted packet for processing {"connection_id":152992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:53:00] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336882176001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786472497000,"timestamp_ms":1786472497000,"timestamp_seconds":1786472497,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20eff68"} 
[2026-08-11 23:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:53: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-08-11 23: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-08-11 23:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336882176001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336882176001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:53:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:53:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336882176001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":152992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:53:00] local.INFO: GPS data processed {"connection_id":152992,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:53:00] local.INFO: Acknowledgment sent {"connection_id":152992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:53:18] local.INFO: TCP Data received {"connection_id":152993,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:53:18] local.INFO: Processing buffer {"connection_id":152993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:53:18] local.INFO: IMEI packet received {"connection_id":152993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":152993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:53:23] local.INFO: TCP Data received {"connection_id":152993,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:53:23] local.INFO: Processing buffer {"connection_id":152993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:53:23] local.INFO: IMEI packet received {"connection_id":152993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":152993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:53:24] local.INFO: TCP Data received {"connection_id":152993,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:53:24] local.INFO: Processing buffer {"connection_id":152993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:53:24] local.INFO: Packet analysis {"connection_id":152993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:53:24] local.INFO: Extracted packet for processing {"connection_id":152993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:53:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336882176001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786472497000,"timestamp_ms":1786472497000,"timestamp_seconds":1786472497,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20eff68"} 
[2026-08-11 23:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:53:24] 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-08-11 23: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-08-11 23:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336882176001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336882176001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:53:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:53:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336882176001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":152993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:53:24] local.INFO: GPS data processed {"connection_id":152993,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:53:24] local.INFO: Acknowledgment sent {"connection_id":152993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:53:56] local.INFO: TCP Data received {"connection_id":152993,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:53:56] local.INFO: Processing buffer {"connection_id":152993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:53:56] local.INFO: Packet analysis {"connection_id":152993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:53:56] local.INFO: Extracted packet for processing {"connection_id":152993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:53:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336882176001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786472497000,"timestamp_ms":1786472497000,"timestamp_seconds":1786472497,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20eff68"} 
[2026-08-11 23:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:53: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-08-11 23: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-08-11 23:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":152993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":152993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":152993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336882176001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336882176001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:53:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:53:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336882176001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":152993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:53:56] local.INFO: GPS data processed {"connection_id":152993,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:53:56] local.INFO: Acknowledgment sent {"connection_id":152993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:54:18] local.INFO: TCP Data received {"connection_id":152582,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:54:18] local.INFO: Processing buffer {"connection_id":152582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:54:18] local.INFO: IMEI packet received {"connection_id":152582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":152582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:54:23] local.INFO: TCP Data received {"connection_id":152582,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:54:23] local.INFO: Processing buffer {"connection_id":152582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:54:23] local.INFO: IMEI packet received {"connection_id":152582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":152582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:54:24] local.INFO: TCP Data received {"connection_id":152582,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:54:24] local.INFO: Processing buffer {"connection_id":152582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:54:24] local.INFO: Packet analysis {"connection_id":152582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:54:24] local.INFO: Extracted packet for processing {"connection_id":152582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:54:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336882176001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786472497000,"timestamp_ms":1786472497000,"timestamp_seconds":1786472497,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20eff68"} 
[2026-08-11 23:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:54:24] 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-08-11 23: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-08-11 23:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336882176001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336882176001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:54:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:54:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336882176001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":152582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:54:24] local.INFO: GPS data processed {"connection_id":152582,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:54:24] local.INFO: Acknowledgment sent {"connection_id":152582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:54:55] local.INFO: TCP Data received {"connection_id":152582,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:54:55] local.INFO: Processing buffer {"connection_id":152582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:54:55] local.INFO: Packet analysis {"connection_id":152582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:54:55] local.INFO: Extracted packet for processing {"connection_id":152582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:54:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336882176001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786472497000,"timestamp_ms":1786472497000,"timestamp_seconds":1786472497,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20eff68"} 
[2026-08-11 23:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:54: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-08-11 23: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-08-11 23:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336882176001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336882176001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:54:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:54:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336882176001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":152582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:54:55] local.INFO: GPS data processed {"connection_id":152582,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:54:55] local.INFO: Acknowledgment sent {"connection_id":152582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:55:18] local.INFO: TCP Data received {"connection_id":153901,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:55:18] local.INFO: Processing buffer {"connection_id":153901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:55:18] local.INFO: IMEI packet received {"connection_id":153901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":153901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:55:23] local.INFO: TCP Data received {"connection_id":153901,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:55:23] local.INFO: Processing buffer {"connection_id":153901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:55:23] local.INFO: IMEI packet received {"connection_id":153901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":153901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:55:24] local.INFO: TCP Data received {"connection_id":153901,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:55:24] local.INFO: Processing buffer {"connection_id":153901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:55:24] local.INFO: Packet analysis {"connection_id":153901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:55:24] local.INFO: Extracted packet for processing {"connection_id":153901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:55:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336882176001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786472497000,"timestamp_ms":1786472497000,"timestamp_seconds":1786472497,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20eff68"} 
[2026-08-11 23:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:55:24] 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-08-11 23: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-08-11 23:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336882176001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336882176001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:55:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:55:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336882176001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":153901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:55:24] local.INFO: GPS data processed {"connection_id":153901,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:55:24] local.INFO: Acknowledgment sent {"connection_id":153901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:56:02] local.INFO: TCP Data received {"connection_id":153901,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:56:02] local.INFO: Processing buffer {"connection_id":153901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:56:02] local.INFO: Packet analysis {"connection_id":153901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:56:02] local.INFO: Extracted packet for processing {"connection_id":153901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:56:02] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23:56: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-08-11 23:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336882176001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786472497000,"timestamp_ms":1786472497000,"timestamp_seconds":1786472497,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20eff68"} 
[2026-08-11 23:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23:56: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:56:02] 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-08-11 23:56: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-08-11 23:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":153901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":153901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":153901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336882176001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336882176001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:56:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:56:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336882176001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":153901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:56:02] local.INFO: GPS data processed {"connection_id":153901,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:56:02] local.INFO: Acknowledgment sent {"connection_id":153901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:56:18] local.INFO: TCP Data received {"connection_id":152994,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:56:18] local.INFO: Processing buffer {"connection_id":152994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:56:18] local.INFO: IMEI packet received {"connection_id":152994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":152994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:56:23] local.INFO: TCP Data received {"connection_id":152994,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:56:23] local.INFO: Processing buffer {"connection_id":152994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:56:23] local.INFO: IMEI packet received {"connection_id":152994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":152994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:56:24] local.INFO: TCP Data received {"connection_id":152994,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:56:24] local.INFO: Processing buffer {"connection_id":152994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:56:24] local.INFO: Packet analysis {"connection_id":152994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:56:24] local.INFO: Extracted packet for processing {"connection_id":152994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:56:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336882176001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786472497000,"timestamp_ms":1786472497000,"timestamp_seconds":1786472497,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20eff68"} 
[2026-08-11 23:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:56:24] 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-08-11 23: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-08-11 23:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336882176001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336882176001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:56:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:56:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336882176001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":152994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:56:24] local.INFO: GPS data processed {"connection_id":152994,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:56:24] local.INFO: Acknowledgment sent {"connection_id":152994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:56:55] local.INFO: TCP Data received {"connection_id":152994,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:56:55] local.INFO: Processing buffer {"connection_id":152994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff20eff68012d77ab8005f2a748000600fd28..."} 
[2026-08-11 23:56:55] local.INFO: Packet analysis {"connection_id":152994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:56:55] local.INFO: Extracted packet for processing {"connection_id":152994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff20e"} 
[2026-08-11 23:56:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336882176001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786472497000,"timestamp_ms":1786472497000,"timestamp_seconds":1786472497,"priority":1,"record_length":96,"hex_timestamp":"0000019ff20eff68"} 
[2026-08-11 23:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:56: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-08-11 23: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-08-11 23:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336882176001,"66":25647,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336882176001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:56:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:56:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336882176001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":152994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:56:55] local.INFO: GPS data processed {"connection_id":152994,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:56:55] local.INFO: Acknowledgment sent {"connection_id":152994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:57:23] local.INFO: TCP Data received {"connection_id":155295,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:57:23] local.INFO: Processing buffer {"connection_id":155295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:57:23] local.INFO: IMEI packet received {"connection_id":155295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":155295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:57:28] local.INFO: TCP Data received {"connection_id":155295,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:57:28] local.INFO: Processing buffer {"connection_id":155295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:57:28] local.INFO: IMEI packet received {"connection_id":155295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":155295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:57:29] local.INFO: TCP Data received {"connection_id":155295,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:57:29] local.INFO: Processing buffer {"connection_id":155295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:57:29] local.INFO: Packet analysis {"connection_id":155295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff213"} 
[2026-08-11 23:57:29] local.INFO: Extracted packet for processing {"connection_id":155295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff213"} 
[2026-08-11 23:57:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23:57: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-08-11 23:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336959232001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786472798000,"timestamp_ms":1786472798000,"timestamp_seconds":1786472798,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2139730"} 
[2026-08-11 23:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23:57: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":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:57:29] 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-08-11 23:57: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-08-11 23:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":155295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":155295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":155295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336959232001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336959232001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:57:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:57:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336959232001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":155295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:57:29] local.INFO: GPS data processed {"connection_id":155295,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:57:29] local.INFO: Acknowledgment sent {"connection_id":155295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:57:33] local.INFO: TCP Data received {"connection_id":155295,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":155295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:57:33] local.INFO: Processing buffer {"connection_id":155295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:57:33] local.INFO: Packet analysis {"connection_id":155295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff213"} 
[2026-08-11 23:57:33] local.INFO: Extracted packet for processing {"connection_id":155295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff213"} 
[2026-08-11 23:57:33] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23:57: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-08-11 23:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336959232001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786472798000,"timestamp_ms":1786472798000,"timestamp_seconds":1786472798,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2139730"} 
[2026-08-11 23:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23:57: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:57:33] 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-08-11 23:57: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-08-11 23:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":155295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":155295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":155295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336959232001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336959232001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:57:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:57:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336959232001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":155295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:57:34] local.INFO: GPS data processed {"connection_id":155295,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:57:34] local.INFO: Acknowledgment sent {"connection_id":155295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:58:18] local.INFO: TCP Data received {"connection_id":152995,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:58:18] local.INFO: Processing buffer {"connection_id":152995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:58:18] local.INFO: IMEI packet received {"connection_id":152995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":152995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:58:23] local.INFO: TCP Data received {"connection_id":152995,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:58:23] local.INFO: Processing buffer {"connection_id":152995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:58:23] local.INFO: IMEI packet received {"connection_id":152995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":152995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:58:24] local.INFO: TCP Data received {"connection_id":152995,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:58:24] local.INFO: Processing buffer {"connection_id":152995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:58:24] local.INFO: Packet analysis {"connection_id":152995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff213"} 
[2026-08-11 23:58:24] local.INFO: Extracted packet for processing {"connection_id":152995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff213"} 
[2026-08-11 23:58:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336959232001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786472798000,"timestamp_ms":1786472798000,"timestamp_seconds":1786472798,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2139730"} 
[2026-08-11 23:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:58:24] 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-08-11 23: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-08-11 23:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336959232001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336959232001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:58:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:58:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336959232001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":152995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:58:24] local.INFO: GPS data processed {"connection_id":152995,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:58:24] local.INFO: Acknowledgment sent {"connection_id":152995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:58:55] local.INFO: TCP Data received {"connection_id":152995,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:58:55] local.INFO: Processing buffer {"connection_id":152995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:58:55] local.INFO: Packet analysis {"connection_id":152995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff213"} 
[2026-08-11 23:58:55] local.INFO: Extracted packet for processing {"connection_id":152995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff213"} 
[2026-08-11 23:58:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336959232001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786472798000,"timestamp_ms":1786472798000,"timestamp_seconds":1786472798,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2139730"} 
[2026-08-11 23:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23: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-08-11 23: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-08-11 23:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":152995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":152995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":152995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336959232001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336959232001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:58:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:58:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336959232001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":152995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:58:55] local.INFO: GPS data processed {"connection_id":152995,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:58:55] local.INFO: Acknowledgment sent {"connection_id":152995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:59:18] local.INFO: TCP Data received {"connection_id":153902,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:59:18] local.INFO: Processing buffer {"connection_id":153902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:59:18] local.INFO: IMEI packet received {"connection_id":153902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-11 23:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":153902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-11 23:59:23] local.INFO: TCP Data received {"connection_id":153902,"ip":"117.225.221.84","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:59:23] local.INFO: Processing buffer {"connection_id":153902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-11 23:59:23] local.INFO: IMEI packet received {"connection_id":153902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-11 23:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":153902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-11 23:59:24] local.INFO: TCP Data received {"connection_id":153902,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:59:24] local.INFO: Processing buffer {"connection_id":153902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:59:24] local.INFO: Packet analysis {"connection_id":153902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff213"} 
[2026-08-11 23:59:24] local.INFO: Extracted packet for processing {"connection_id":153902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff213"} 
[2026-08-11 23:59:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336959232001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786472798000,"timestamp_ms":1786472798000,"timestamp_seconds":1786472798,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2139730"} 
[2026-08-11 23:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-11 23:59:24] 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-08-11 23: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-08-11 23:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":153902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":153902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":153902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336959232001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336959232001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:59:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:59:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336959232001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":153902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:59:24] local.INFO: GPS data processed {"connection_id":153902,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:59:24] local.INFO: Acknowledgment sent {"connection_id":153902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-11 23:59:56] local.INFO: TCP Data received {"connection_id":153902,"ip":"117.225.221.84","data_length":795,"data_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:59:56] local.INFO: Processing buffer {"connection_id":153902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ff2139730012d77ab8005f2a748000600fd25..."} 
[2026-08-11 23:59:56] local.INFO: Packet analysis {"connection_id":153902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ff213"} 
[2026-08-11 23:59:56] local.INFO: Extracted packet for processing {"connection_id":153902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ff213"} 
[2026-08-11 23:59:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788616,"longitude_deg":76.2817408,"latitude_deg":9.9788616,"altitude":6,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457336959232001,"note":"Value kept but may cause issues"} 
[2026-08-11 23:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378216628266991616,"note":"Value kept but may cause issues"} 
[2026-08-11 23:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565187584,"note":"Value kept but may cause issues"} 
[2026-08-11 23:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-11 23:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786472798000,"timestamp_ms":1786472798000,"timestamp_seconds":1786472798,"priority":1,"record_length":96,"hex_timestamp":"0000019ff2139730"} 
[2026-08-11 23:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-11 23:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-11 23: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-08-11 23: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-08-11 23: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-08-11 23:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-11 23:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-11 23:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-11 23:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-11 23:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.221.84","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-11 23:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-11 23:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-11 23:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457336959232001,"66":25625,"133":206,"9":24832,"24":0,"16":378216628266991616,"45":8623126674565187584},"client_ip":"117.225.221.84","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-08-11 23:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-11 23:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-11 23:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457336959232001,"description":"Unknown IO ID 0"} 
[2026-08-11 23:59:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-11 23:59:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-11 23:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378216628266991616,"km_value":378216628266991.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-11 23:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565187584,"description":"Unknown IO ID 45"} 
[2026-08-11 23:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457336959232001,"power":25625,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565187584}} 
[2026-08-11 23:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":153902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-11 23:59:56] local.INFO: GPS data processed {"connection_id":153902,"processed":1,"errors":0,"total":1} 
[2026-08-11 23:59:56] local.INFO: Acknowledgment sent {"connection_id":153902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
